(self["webpackChunkGPM"]=self["webpackChunkGPM"]||[]).push([[504],{81656:function(e,t,i){"use strict";function n(e,t,i,n,r,o,s,a){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}i.d(t,{A:function(){return n}})},7609:function(e,t,i){var n=i(89231);(function(){for(var e in n){if(null==n||!n.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=n[e]}})();var r=i(93607);(function(){for(var e in r){if(null==r||!r.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=r[e]}})(),i(613),i(1906),i(53571),i(26804),i(15980),i(47342),i(25120),i(75868),i(12268),i(29202),i(34853),i(83296),i(19771),i(83761),i(46848),i(41913),i(86795),i(44561),i(39982),i(89878),i(77249),i(17164),i(16983),i(61029),i(63389),i(61232),i(27220),i(14102),i(36275),i(21393),i(63886),i(67770),i(76683),i(98733),i(56315),i(47226),i(87976),i(47106),i(54281),i(84069),i(59608),i(39554),i(95978),i(42623),i(24823),i(43416),i(84845),i(80630),i(39590)},50294:function(e,t,i){var n=i(95289),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(e,t){var i=[];n.each(r,(function(n,r){var o=n.create(e,t);i=i.concat(o||[])})),this._coordinateSystems=i},update:function(e,t){n.each(this._coordinateSystems,(function(i){i.update&&i.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(e,t){r[e]=t},o.get=function(e){return r[e]};var s=o;e.exports=s},69498:function(e,t,i){var n=i(95289),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){n.each(r,(function(t){this[t]=n.bind(e[t],e)}),this)}var s=o;e.exports=s},40428:function(e,t,i){var n=i(89231),r=i(95289);function o(e,t){r.each(t,(function(t){t.update="updateView",n.registerAction(t,(function(i,n){var r={};return n.eachComponent({mainType:"series",subType:e,query:i},(function(e){e[t.method]&&e[t.method](i.name,i.dataIndex);var n=e.getData();n.each((function(t){var i=n.getName(t);r[i]=e.isSelected(i)||!1}))})),{name:i.name,selected:r,seriesId:i.seriesId}}))}))}e.exports=o},50704:function(e,t,i){var n=i(89231),r=i(95289),o=i(54407),s=o.updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},(function(t){var n=t.coordinateSystem;if("geo"===n.type){var o=s(n,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===i&&r.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},54407:function(e,t){function i(e,t,i){var n=e.getZoom(),r=e.getCenter(),o=t.zoom,s=e.dataToPoint(r);if(null!=t.dx&&null!=t.dy){s[0]-=t.dx,s[1]-=t.dy;r=e.pointToData(s);e.setCenter(r)}if(null!=o){if(i){var a=i.min||0,l=i.max||1/0;o=Math.max(Math.min(n*o,l),a)/n}e.scale[0]*=o,e.scale[1]*=o;var c=e.position,u=(t.originX-c[0])*(o-1),h=(t.originY-c[1])*(o-1);c[0]-=u,c[1]-=h,e.updateTransform();r=e.pointToData(s);e.setCenter(r),e.setZoom(o*n)}return{center:e.getCenter(),zoom:e.getZoom()}}t.updateCenterAndZoom=i},53571:function(e,t,i){var n=i(89231),r=i(95289),o=i(11041),s=o.layout,a=o.largeLayout;i(31020),i(88004),i(35572),i(48807),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,r.curry(s,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,a),n.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},88004:function(e,t,i){var n=i(29299),r=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},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}}});e.exports=r},35572:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(76442),a=i(26746),l=a.setLabel,c=i(40590),u=i(3425),h=i(66343),d=i(75738),f=i(88336),p=f.throttle,g=i(99988),v=g.createClipPath,m=i(83759),y=["itemStyle","barBorderWidth"],_=[0,0];function x(e,t){var i=e.getArea&&e.getArea();if("cartesian2d"===e.type){var n=e.getBaseAxis();if("category"!==n.type||!n.onBand){var r=t.getLayout("bandWidth");n.isHorizontal()?(i.x-=r,i.width+=2*r):(i.y-=r,i.height+=2*r)}}return i}o.extend(c.prototype,u);var b=r.extendChartView({type:"bar",render:function(e,t,i){this._updateDrawMode(e);var n=e.get("coordinateSystem");return"cartesian2d"!==n&&"polar"!==n||(this._isLargeDraw?this._renderLarge(e,t,i):this._renderNormal(e,t,i)),this.group},incrementalPrepareRender:function(e,t,i){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,i,n){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,i){var n,r=this.group,o=e.getData(),a=this._data,l=e.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?n=c.isHorizontal():"polar"===l.type&&(n="angle"===c.dim);var u=e.isAnimationEnabled()?e:null,h=e.get("clip",!0),f=x(l,o);r.removeClipPath();var p=e.get("roundCap",!0),g=e.get("showBackground",!0),v=e.getModel("backgroundStyle"),m=v.get("barBorderRadius")||0,y=[],_=this._backgroundEls||[],b=function(e){var t=T[l.type](o,e),i=H(l,n,t);return i.useStyle(v.getBarItemStyle()),"cartesian2d"===l.type&&i.setShape("r",m),y[e]=i,i};o.diff(a).add((function(t){var i=o.getItemModel(t),s=T[l.type](o,t,i);if(g&&b(t),o.hasValue(t)){if(h){var a=C[l.type](f,s);if(a)return void r.remove(c)}var c=A[l.type](t,s,n,u,!1,p);o.setItemGraphicEl(t,c),r.add(c),L(c,o,t,i,s,e,n,"polar"===l.type)}})).update((function(t,i){var c=o.getItemModel(t),d=T[l.type](o,t,c);if(g){var x;0===_.length?x=b(i):(x=_[i],x.useStyle(v.getBarItemStyle()),"cartesian2d"===l.type&&x.setShape("r",m),y[t]=x);var w=T[l.type](o,t),S=z(n,w,l);s.updateProps(x,{shape:S},u,t)}var M=a.getItemGraphicEl(i);if(o.hasValue(t)){if(h){var k=C[l.type](f,d);if(k)return void r.remove(M)}M?s.updateProps(M,{shape:d},u,t):M=A[l.type](t,d,n,u,!0,p),o.setItemGraphicEl(t,M),r.add(M),L(M,o,t,c,d,e,n,"polar"===l.type)}else r.remove(M)})).remove((function(e){var t=a.getItemGraphicEl(e);"cartesian2d"===l.type?t&&M(e,u,t):t&&k(e,u,t)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new d);w.removeAll();for(var S=0;S0?1:-1,s=n.height>0?1:-1;return{x:n.x+o*r/2,y:n.y+s*r/2,width:n.width-o*r,height:n.height-s*r}},polar:function(e,t,i){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function I(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function L(e,t,i,n,r,a,c,u){var h=t.getItemVisual(i,"color"),d=t.getItemVisual(i,"opacity"),f=t.getVisual("borderColor"),p=n.getModel("itemStyle"),g=n.getModel("emphasis.itemStyle").getBarItemStyle();u||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:I(r)?"none":f,fill:I(r)?"none":h,opacity:d},p.getBarItemStyle()));var v=n.getShallow("cursor");v&&e.attr("cursor",v);var m=c?r.height>0?"bottom":"top":r.width>0?"left":"right";u||l(e.style,g,n,h,a,i,m),I(r)&&(g.fill=g.stroke="none"),s.setHoverStyle(e,g)}function E(e,t){var i=e.get(y)||0,n=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),r=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(i,n,r)}var D=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var i=t.points,n=this.__startPoint,r=this.__baseDimIdx,o=0;o=0?i:null}),30,!1);function R(e,t,i){var n=e.__baseDimIdx,r=1-n,o=e.shape.points,s=e.__largeDataIndices,a=Math.abs(e.__barWidth/2),l=e.__startPoint[r];_[0]=t,_[1]=i;for(var c=_[n],u=_[1-n],h=c-a,d=c+a,f=0,p=o.length/2;f=h&&v<=d&&(l<=m?u>=l&&u<=m:u>=m&&u<=l))return s[f]}return-1}function B(e,t,i){var n=i.getVisual("borderColor")||i.getVisual("color"),r=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(r),e.style.fill=null,e.style.stroke=n,e.style.lineWidth=i.getLayout("barWidth")}function N(e,t,i){var n=t.get("borderColor")||t.get("color"),r=t.getItemStyle(["color","borderColor"]);e.useStyle(r),e.style.fill=null,e.style.stroke=n,e.style.lineWidth=i.getLayout("barWidth")}function z(e,t,i){var n,r="polar"===i.type;return n=r?i.getArea():i.grid.getRect(),r?{cx:n.cx,cy:n.cy,r0:e?n.r0:t.r0,r:e?n.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:n.x,y:e?n.y:t.y,width:e?t.width:n.width,height:e?n.height:t.height}}function H(e,t,i){var n="polar"===e.type?s.Sector:s.Rect;return new n({shape:z(t,i,e),silent:!0,z2:0})}e.exports=b},29299:function(e,t,i){var n=i(33358),r=i(19554),o=n.extend({type:"series.__base_bar__",getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var i=t.dataToPoint(t.clampData(e)),n=this.getData(),r=n.getLayout("offset"),o=n.getLayout("size"),s=t.getBaseAxis().isHorizontal()?0:1;return i[s]+=r+o/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=o},92865:function(e,t,i){var n=i(29299),r=n.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,r.superApply(this,"getInitialData",arguments)}}),o=r;e.exports=o},82917:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442),s=i(22864),a=s.createSymbol,l=i(44261),c=l.parsePercent,u=l.isNumeric,h=i(26746),d=h.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,v=n.extendChartView({type:"pictorialBar",render:function(e,t,i){var n=this.group,r=e.getData(),o=this._data,s=e.coordinateSystem,a=s.getBaseAxis(),l=!!a.isHorizontal(),c=s.grid.getRect(),u={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return r.diff(o).add((function(e){if(r.hasValue(e)){var t=T(r,e),i=m(r,e,t,u),o=D(r,u,i);r.setItemGraphicEl(e,o),n.add(o),z(o,u,i)}})).update((function(e,t){var i=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=T(r,e),a=m(r,e,s,u),l=R(r,a);i&&l!==i.__pictorialShapeStr&&(n.remove(i),r.setItemGraphicEl(e,null),i=null),i?O(i,u,a):i=D(r,u,a,!0),r.setItemGraphicEl(e,i),i.__pictorialSymbolMeta=a,n.add(i),z(i,u,a)}else n.remove(i)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&P(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=r,this.group},dispose:r.noop,remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl((function(t){P(n,t.dataIndex,e,t)})):i.removeAll()}});function m(e,t,i,n){var o=e.getItemLayout(t),s=i.get("symbolRepeat"),a=i.get("symbolClip"),l=i.get("symbolPosition")||"start",u=i.get("symbolRotate"),h=(u||0)*Math.PI/180||0,d=i.get("symbolPatternSize")||2,f=i.isAnimationEnabled(),p={dataIndex:t,layout:o,itemModel:i,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:a,symbolRepeat:s,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:h,animationModel:f?i:null,hoverAnimation:f&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};y(i,s,o,n,p),x(e,t,o,s,a,p.boundingLength,p.pxSign,d,n,p),b(i,p.symbolScale,h,n,p);var g=p.symbolSize,v=i.get("symbolOffset");return r.isArray(v)&&(v=[c(v[0],g[0]),c(v[1],g[1])]),w(i,g,o,s,a,v,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,n,p),p}function y(e,t,i,n,o){var s,a=n.valueDim,l=e.get("symbolBoundingData"),c=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=c.toGlobalCoord(c.dataToCoord(0)),h=1-+(i[a.wh]<=0);if(r.isArray(l)){var d=[_(c,l[0])-u,_(c,l[1])-u];d[1]0?1:s<0?-1:0}function _(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function x(e,t,i,n,o,s,a,l,u,h){var d=u.valueDim,f=u.categoryDim,p=Math.abs(i[f.wh]),g=e.getItemVisual(t,"symbolSize");r.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=c(g[f.index],p),g[d.index]=c(g[d.index],n?p:Math.abs(s)),h.symbolSize=g;var v=h.symbolScale=[g[0]/l,g[1]/l];v[d.index]*=(u.isHorizontal?-1:1)*a}function b(e,t,i,n,r){var o=e.get(f)||0;o&&(g.attr({scale:t.slice(),rotation:i}),g.updateTransform(),o/=g.getLineScale(),o*=t[n.valueDim.index]),r.valueLineWidth=o}function w(e,t,i,n,o,s,a,l,h,d,f,p){var g=f.categoryDim,v=f.valueDim,m=p.pxSign,y=Math.max(t[v.index]+l,0),_=y;if(n){var x=Math.abs(h),b=r.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=c(b,t[v.index]);var S=Math.max(y+2*b,0),C=w?0:2*b,A=u(n),M=A?n:H((x+C)/S),k=x-M*y;b=k/2/(w?M:M-1),S=y+2*b,C=w?0:2*b,A||"fixed"===n||(M=d?H((Math.abs(d)+C)/S):0),_=M*S-C,p.repeatTimes=M,p.symbolMargin=b}var T=m*(_/2),I=p.pathPosition=[];I[g.index]=i[g.wh]/2,I[v.index]="start"===a?T:"end"===a?h-T:h/2,s&&(I[0]+=s[0],I[1]+=s[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[v.index]=i[v.xy];var E=p.barRectShape=r.extend({},i);E[v.wh]=m*Math.max(Math.abs(i[v.wh]),Math.abs(I[v.index]+T)),E[g.wh]=i[g.wh];var D=p.clipShape={};D[g.xy]=-i[g.xy],D[g.wh]=f.ecSize[g.wh],D[v.xy]=0,D[v.wh]=i[v.wh]}function S(e){var t=e.symbolPatternSize,i=a(e.symbolType,-t/2,-t/2,t,t,e.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function C(e,t,i,n){var r=e.__pictorialBundle,o=i.symbolSize,s=i.valueLineWidth,a=i.pathPosition,l=t.valueDim,c=i.repeatTimes||0,u=0,h=o[t.valueDim.index]+s+2*i.symbolMargin;for(B(e,(function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u0:n<0)&&(r=c-1-e),t[l.index]=h*(r-c/2+.5)+a[l.index],{position:t,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){B(e,(function(e){e.trigger("emphasis")}))}function v(){B(e,(function(e){e.trigger("normal")}))}}function A(e,t,i,n){var r=e.__pictorialBundle,o=e.__pictorialMainPath;function s(){this.trigger("emphasis")}function a(){this.trigger("normal")}o?N(o,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(o=e.__pictorialMainPath=S(i),r.add(o),N(o,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),o.on("mouseover",s).on("mouseout",a)),E(o,i)}function M(e,t,i){var n=r.extend({},t.barRectShape),s=e.__pictorialBarRect;s?N(s,null,{shape:n},t,i):(s=e.__pictorialBarRect=new o.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(s))}function k(e,t,i,n){if(i.symbolClip){var s=e.__pictorialClipPath,a=r.extend({},i.clipShape),l=t.valueDim,c=i.animationModel,u=i.dataIndex;if(s)o.updateProps(s,{shape:a},c,u);else{a[l.wh]=0,s=new o.Rect({shape:a}),e.__pictorialBundle.setClipPath(s),e.__pictorialClipPath=s;var h={};h[l.wh]=i.clipShape[l.wh],o[n?"updateProps":"initProps"](s,{shape:h},c,u)}}}function T(e,t){var i=e.getItemModel(t);return i.getAnimationDelayParams=I,i.isAnimationEnabled=L,i}function I(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function E(e,t){e.off("emphasis").off("normal");var i=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function D(e,t,i,n){var r=new o.Group,s=new o.Group;return r.add(s),r.__pictorialBundle=s,s.attr("position",i.bundlePosition.slice()),i.symbolRepeat?C(r,t,i):A(r,t,i),M(r,i,n),k(r,t,i,n),r.__pictorialShapeStr=R(e,i),r.__pictorialSymbolMeta=i,r}function O(e,t,i){var n=i.animationModel,r=i.dataIndex,s=e.__pictorialBundle;o.updateProps(s,{position:i.bundlePosition.slice()},n,r),i.symbolRepeat?C(e,t,i,!0):A(e,t,i,!0),M(e,i,!0),k(e,t,i,!0)}function P(e,t,i,n){var s=n.__pictorialBarRect;s&&(s.style.text=null);var a=[];B(n,(function(e){a.push(e)})),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),r.each(a,(function(e){o.updateProps(e,{scale:[0,0]},i,t,(function(){n.parent&&n.parent.remove(n)}))})),e.setItemGraphicEl(t,null)}function R(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function B(e,t,i){r.each(e.__pictorialBundle.children(),(function(n){n!==e.__pictorialBarRect&&t.call(i,n)}))}function N(e,t,i,n,r,s){t&&e.attr(t),n.symbolClip&&!r?i&&e.attr(i):i&&o[r?"updateProps":"initProps"](e,i,n.animationModel,n.dataIndex,s)}function z(e,t,i){var n=i.color,s=i.dataIndex,a=i.itemModel,l=a.getModel("itemStyle").getItemStyle(["color"]),c=a.getModel("emphasis.itemStyle").getItemStyle(),u=a.getShallow("cursor");B(e,(function(e){e.setColor(n),e.setStyle(r.defaults({fill:n,opacity:i.opacity},l)),o.setHoverStyle(e,c),u&&(e.cursor=u),e.z2=i.z2}));var h={},f=t.valueDim.posDesc[+(i.boundingLength>0)],p=e.__pictorialBarRect;d(p.style,h,a,n,t.seriesModel,s,f),o.setHoverStyle(p,h)}function H(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var F=v;e.exports=F},3425:function(e,t,i){var n=i(81935),r=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=r(this,e);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(t.lineDash=i)}return t}};e.exports=o},26746:function(e,t,i){var n=i(76442),r=i(10589),o=r.getDefaultLabel;function s(e,t,i,r,s,l,c){var u=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(e,t,u,h,{labelFetcher:s,labelDataIndex:l,defaultText:o(s.getData(),l),isRectText:!0,autoColor:r}),a(e),a(t)}function a(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=s},46848:function(e,t,i){var n=i(89231);i(2568),i(89056);var r=i(61913),o=i(94843);n.registerVisual(r),n.registerLayout(o)},2568:function(e,t,i){var n=i(95289),r=i(33358),o=i(74370),s=o.seriesModelMixin,a=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(a,s,!0);var l=a;e.exports=l},89056:function(e,t,i){var n=i(95289),r=i(67955),o=i(76442),s=i(66343),a=["itemStyle"],l=["emphasis","itemStyle"],c=r.extend({type:"boxplot",render:function(e,t,i){var n=e.getData(),r=this.group,o=this._data;this._data||r.removeAll();var s="horizontal"===e.get("layout")?1:0;n.diff(o).add((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),i=h(t,n,e,s,!0);n.setItemGraphicEl(e,i),r.add(i)}})).update((function(e,t){var i=o.getItemGraphicEl(t);if(n.hasValue(e)){var a=n.getItemLayout(e);i?d(a,i,n,e):i=h(a,n,e,s),r.add(i),n.setItemGraphicEl(e,i)}else r.remove(i)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=n},remove:function(e){var t=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:n.noop}),u=s.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var i=t.points,n=0;for(e.moveTo(i[n][0],i[n][1]),n++;n<4;n++)e.lineTo(i[n][0],i[n][1]);for(e.closePath();n0?"P":"N",o=n.getVisual("borderColor"+r)||n.getVisual("color"+r),s=i.getModel(c).getItemStyle(h);t.useStyle(s),t.style.fill=null,t.style.stroke=o}var b=d;e.exports=b},28719:function(e,t,i){var n=i(76442),r=n.subPixelOptimize,o=i(59039),s=i(44261),a=s.parsePercent,l=i(95289),c=l.retrieve2,u="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,i=e.getData(),n=f(e,i),o=0,s=1,a=["x","y"],l=i.mapDimension(a[o]),c=i.mapDimension(a[s],!0),h=c[0],p=c[1],g=c[2],v=c[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||c.length<4))return{progress:e.pipelineContext.large?y:m};function m(e,i){var a;while(null!=(a=e.next())){var c=i.get(l,a),u=i.get(h,a),f=i.get(p,a),m=i.get(g,a),y=i.get(v,a),_=Math.min(u,f),x=Math.max(u,f),b=M(_,c),w=M(x,c),S=M(m,c),C=M(y,c),A=[];k(A,w,0),k(A,b,1),A.push(I(C),I(w),I(S),I(b)),i.setItemLayout(a,{sign:d(i,a,u,f,p),initBaseline:u>f?w[s]:b[s],ends:A,brushRect:T(m,y,c)})}function M(e,i){var n=[];return n[o]=i,n[s]=e,isNaN(i)||isNaN(e)?[NaN,NaN]:t.dataToPoint(n)}function k(e,t,i){var s=t.slice(),a=t.slice();s[o]=r(s[o]+n/2,1,!1),a[o]=r(a[o]-n/2,1,!0),i?e.push(s,a):e.push(a,s)}function T(e,t,i){var r=M(e,i),a=M(t,i);return r[o]-=n/2,a[o]-=n/2,{x:r[0],y:r[1],width:s?n:a[0]-r[0],height:s?a[1]-r[1]:n}}function I(e){return e[o]=r(e[o],1),e}}function y(e,i){var n,r,a=new u(4*e.count),c=0,f=[],m=[];while(null!=(r=e.next())){var y=i.get(l,r),_=i.get(h,r),x=i.get(p,r),b=i.get(g,r),w=i.get(v,r);isNaN(y)||isNaN(b)||isNaN(w)?(a[c++]=NaN,c+=3):(a[c++]=d(i,r,_,x,p),f[o]=y,f[s]=b,n=t.dataToPoint(f,null,m),a[c++]=n?n[0]:NaN,a[c++]=n?n[1]:NaN,f[s]=w,n=t.dataToPoint(f,null,m),a[c++]=n?n[1]:NaN)}i.setLayout("largePoints",a)}}};function d(e,t,i,n,r){var o;return o=i>n?-1:i0?e.get(r,t-1)<=n?1:-1:1,o}function f(e,t){var i,n=e.getBaseAxis(),r="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/t.count()),o=a(c(e.get("barMaxWidth"),r),r),s=a(c(e.get("barMinWidth"),1),r),l=e.get("barWidth");return null!=l?a(l,r):Math.max(Math.min(r/2,o),s)}e.exports=h},33957:function(e,t,i){var n=i(59039),r=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],s=["itemStyle","color"],a=["itemStyle","color0"],l={seriesType:"candlestick",plan:n(),performRawSeries:!0,reset:function(e,t){var i=e.getData();if(i.setVisual({legendSymbol:"roundRect",colorP:c(1,e),colorN:c(-1,e),borderColorP:u(1,e),borderColorN:u(-1,e)}),!t.isSeriesFiltered(e)){var n=e.pipelineContext.large;return!n&&{progress:l}}function l(e,t){var i;while(null!=(i=e.next())){var n=t.getItemModel(i),r=t.getItemLayout(i).sign;t.setItemVisual(i,{color:c(r,n),borderColor:u(r,n)})}}function c(e,t){return t.get(e>0?s:a)}function u(e,t){return t.get(e>0?r:o)}}};e.exports=l},50871:function(e,t,i){var n=i(95289);function r(e){e&&n.isArray(e.series)&&n.each(e.series,(function(e){n.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=r},16983:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(76442),s=i(10589),a=s.getDefaultLabel,l=i(19554),c=i(11041),u=c.getLayoutOnAxis,h=i(1032),d=i(33358),f=i(40590),p=i(67955),g=i(99988),v=g.createClipPath,m=i(88190),y=i(89993),_=i(58568),x=i(12976),b=i(14774),w=o.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],C=["emphasis","itemStyle"],A=["label"],M=["emphasis","label"],k="e\0\0",T={cartesian2d:m,geo:y,singleAxis:_,polar:x,calendar:b};function I(e){var t,i=e.type;if("path"===i){var n=e.shape,r=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,s=$(n);t=o.makePath(s,null,r,n.layout||"center"),t.__customPathData=s}else if("image"===i)t=new o.Image({}),t.__customImagePath=e.style.image;else if("text"===i)t=new o.Text({}),t.__customText=e.style.text;else if("group"===i)t=new o.Group;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');var a=o.getShapeClass(i);t=new a}return t.__customGraphicType=i,t.name=e.name,t}function L(e,t,i,n,s,a,l){var c={},u=i.style||{};if(i.shape&&(c.shape=r.clone(i.shape)),i.position&&(c.position=i.position.slice()),i.scale&&(c.scale=i.scale.slice()),i.origin&&(c.origin=i.origin.slice()),i.rotation&&(c.rotation=i.rotation),"image"===e.type&&i.style){var h=c.style={};r.each(["x","y","width","height"],(function(t){E(t,h,u,e.style,a)}))}if("text"===e.type&&i.style){h=c.style={};r.each(["x","y"],(function(t){E(t,h,u,e.style,a)})),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke)}if("group"!==e.type&&(e.useStyle(u),a)){e.style.opacity=0;var d=u.opacity;null==d&&(d=1),o.initProps(e,{style:{opacity:d}},n,t)}a?e.attr(c):o.updateProps(e,c,n,t),i.hasOwnProperty("z2")&&e.attr("z2",i.z2||0),i.hasOwnProperty("silent")&&e.attr("silent",i.silent),i.hasOwnProperty("invisible")&&e.attr("invisible",i.invisible),i.hasOwnProperty("ignore")&&e.attr("ignore",i.ignore),i.hasOwnProperty("info")&&e.attr("info",i.info);var f=i.styleEmphasis;o.setElementHoverStyle(e,f),l&&o.setAsHighDownDispatcher(e,!1!==f)}function E(e,t,i,n,r){null==i[e]||r||(t[e]=i[e],i[e]=n[e])}function D(e,t,i,n){var s=e.get("renderItem"),l=e.coordinateSystem,c={};l&&(c=l.prepareCustoms?l.prepareCustoms():T[l.type](l));var h,d,f,p,g,v=r.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:x,style:b,styleEmphasis:w,visual:k,barLayout:I,currentSeriesIndices:L,font:E},c.api||{}),m={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:c.coordSys,dataInsideLength:t.count(),encode:O(e.getData())},y=!0;return function(e,i){return h=e,y=!0,s&&s(r.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:i?i.type:null},m),v)};function _(e){null==e&&(e=h),y&&(d=t.getItemModel(e),f=d.getModel(A),p=d.getModel(M),g=t.getItemVisual(e,"color"),y=!1)}function x(e,i){return null==i&&(i=h),t.get(t.getDimension(e||0),i)}function b(i,n){null==n&&(n=h),_(n);var s=d.getModel(S).getItemStyle();null!=g&&(s.fill=g);var l=t.getItemVisual(n,"opacity");null!=l&&(s.opacity=l);var c=i?F(i,f):f;return o.setTextStyle(s,c,null,{autoColor:g,isRectText:!0}),s.text=c.getShallow("show")?r.retrieve2(e.getFormattedLabel(n,"normal"),a(t,n)):null,i&&V(s,i),s}function w(i,n){null==n&&(n=h),_(n);var s=d.getModel(C).getItemStyle(),l=i?F(i,p):p;return o.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?r.retrieve3(e.getFormattedLabel(n,"emphasis"),e.getFormattedLabel(n,"normal"),a(t,n)):null,i&&V(s,i),s}function k(e,i){return null==i&&(i=h),t.getItemVisual(i,e)}function I(e){if(l.getBaseAxis){var t=l.getBaseAxis();return u(r.defaults({axis:t},e),n)}}function L(){return i.getCurrentSeriesIndices()}function E(e){return o.getFont(e,i)}}function O(e){var t={};return r.each(e.dimensions,(function(i,n){var r=e.getDimensionInfo(i);if(!r.isExtraCoord){var o=r.coordDim,s=t[o]=t[o]||[];s[r.coordDimIndex]=n}})),t}function P(e,t,i,n,r,o){return e=R(e,t,i,n,r,o,!0),e&&o.setItemGraphicEl(t,e),e}function R(e,t,i,n,r,o,s){var a=!i;i=i||{};var l=i.type,c=i.shape,u=i.style;if(e&&(a||null!=l&&l!==e.__customGraphicType||"path"===l&&W(c)&&$(c)!==e.__customPathData||"image"===l&&G(u,"image")&&u.image!==e.__customImagePath||"text"===l&&G(c,"text")&&u.text!==e.__customText)&&(r.remove(e),e=null),!a){var h=!e;return!e&&(e=I(i)),L(e,t,i,n,o,h,s),"group"===l&&B(e,t,i,n,o),r.add(e),e}}function B(e,t,i,n,r){var o=i.children,s=o?o.length:0,a=i.$mergeChildren,l="byName"===a||i.diffChildrenByName,c=!1===a;if(s||l||c)if(l)N({oldChildren:e.children()||[],newChildren:o||[],dataIndex:t,animatableModel:n,group:e,data:r});else{c&&e.removeAll();for(var u=0;u=e&&(0===t?0:n[t-1][0]).4?"bottom":"middle",textAlign:E<-.4?"left":E>.4?"right":"center"},{autoColor:B}),silent:!0}))}if(_.get("show")&&L!==b){for(var N=0;N<=w;N++){E=Math.cos(A),D=Math.sin(A);var z=new r.Line({shape:{x1:E*g+f,y1:D*g+p,x2:E*(g-C)+f,y2:D*(g-C)+p},silent:!0,style:I});"auto"===I.stroke&&z.setStyle({stroke:n((L+N/w)/b)}),d.add(z),A+=k}A-=k}else A+=M}},_renderPointer:function(e,t,i,o,s,l,u,h){var d=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],g=[l,u],v=e.getData(),m=v.mapDimension("value");v.diff(f).add((function(t){var i=new n({shape:{angle:l}});r.initProps(i,{shape:{angle:c(v.get(m,t),p,g,!0)}},e),d.add(i),v.setItemGraphicEl(t,i)})).update((function(t,i){var n=f.getItemGraphicEl(i);r.updateProps(n,{shape:{angle:c(v.get(m,t),p,g,!0)}},e),d.add(n),v.setItemGraphicEl(t,n)})).remove((function(e){var t=f.getItemGraphicEl(e);d.remove(t)})).execute(),v.eachItemGraphicEl((function(e,t){var i=v.getItemModel(t),n=i.getModel("pointer");e.setShape({x:s.cx,y:s.cy,width:a(n.get("width"),s.r),r:a(n.get("length"),s.r)}),e.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(c(v.get(m,t),p,[0,1],!0))),r.setHoverStyle(e,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else f&&f.eachItemGraphicEl((function(e){d.remove(e)}))},_renderTitle:function(e,t,i,n,o){var s=e.getData(),l=s.mapDimension("value"),u=e.getModel("title");if(u.get("show")){var h=u.get("offsetCenter"),d=o.cx+a(h[0],o.r),f=o.cy+a(h[1],o.r),p=+e.get("min"),g=+e.get("max"),v=e.getData().get(l,0),m=n(c(v,[p,g],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},u,{x:d,y:f,text:s.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(e,t,i,n,o){var s=e.getModel("detail"),l=+e.get("min"),u=+e.get("max");if(s.get("show")){var d=s.get("offsetCenter"),f=o.cx+a(d[0],o.r),p=o.cy+a(d[1],o.r),g=a(s.get("width"),o.r),v=a(s.get("height"),o.r),m=e.getData(),y=m.get(m.mapDimension("value"),0),_=n(c(y,[l,u],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},s,{x:f,y:p,text:h(y,s.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}}),p=f;e.exports=p},92184:function(e,t,i){var n=i(66343),r=n.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var i=Math.cos,n=Math.sin,r=t.r,o=t.width,s=t.angle,a=t.x-i(s)*o*(o>=r/3?1:2),l=t.y-n(s)*o*(o>=r/3?1:2);s=t.angle-Math.PI/2,e.moveTo(a,l),e.lineTo(t.x+i(s)*o,t.y+n(s)*o),e.lineTo(t.x+i(t.angle)*r,t.y+n(t.angle)*r),e.lineTo(t.x-i(s)*o,t.y-n(s)*o),e.lineTo(a,l)}});e.exports=r},29202:function(e,t,i){var n=i(89231);i(70216),i(83552),i(33695);var r=i(22443),o=i(39784),s=i(39433),a=i(26140),l=i(25529),c=i(73630),u=i(71336),h=i(56724);n.registerProcessor(r),n.registerVisual(o("graph","circle",null)),n.registerVisual(s),n.registerVisual(a),n.registerLayout(l),n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),n.registerLayout(u),n.registerCoordinateSystem("graphView",{create:h})},70216:function(e,t,i){var n=i(89231),r=i(5628),o=i(95289),s=i(63199),a=s.defaultEmphasis,l=i(40590),c=i(8595),u=c.encodeHTML,h=i(65354),d=i(65840),f=i(35238),p=f.initCurvenessList,g=f.createEdgeMapForCurveness,v=n.extendSeriesModel({type:"series.graph",init:function(e){v.superApply(this,"init",arguments);var t=this;function i(){return t._categoriesData}this.legendVisualProvider=new d(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){v.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){v.superApply(this,"mergeDefaultAndTheme",arguments),a(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var i=e.edges||e.links||[],n=e.data||e.nodes||[],r=this;if(n&&i){p(this);var s=h(n,i,this,!0,a);return o.each(s.edges,(function(e){g(e.node1,e.node2,this,e.dataIndex)}),this),s.data}function a(e,i){e.wrapMethod("getItemModel",(function(e){var t=r._categoriesModels,i=e.getShallow("category"),n=t[i];return n&&(n.parentModel=e.parentModel,e.parentModel=n),e}));var n=r.getModel("edgeLabel"),o=new l({label:n.option},n.parentModel,t),s=r.getModel("emphasis.edgeLabel"),a=new l({emphasis:{label:s.option}},s.parentModel,t);function c(e){return e=this.parsePath(e),e&&"label"===e[0]?o:e&&"emphasis"===e[0]&&"label"===e[1]?a:this.parentModel}i.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(c),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getData(),r=this.getDataParams(e,i),o=n.graph.getEdgeByIndex(e),s=n.getName(o.node1.dataIndex),a=n.getName(o.node2.dataIndex),l=[];return null!=s&&l.push(s),null!=a&&l.push(a),l=u(l.join(" > ")),r.value&&(l+=" : "+u(r.value)),l}return v.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new r(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return v.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),m=v;e.exports=m},83552:function(e,t,i){var n=i(89231),r=i(95289),o=i(52033),s=i(73643),a=i(95441),l=i(43173),c=i(47114),u=c.onIrrelevantElement,h=i(76442),d=i(97615),f=i(62129),p=f.getNodeGlobalScale,g="__focusNodeAdjacency",v="__unfocusNodeAdjacency",m=["itemStyle","opacity"],y=["lineStyle","opacity"];function _(e,t){var i=e.getVisual("opacity");return null!=i?i:e.getModel().get(t)}function x(e,t,i){var n=e.getGraphicEl(),r=_(e,t);null!=i&&(null==r&&(r=1),r*=i),n.downplay&&n.downplay(),n.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==i||(t=r),e.setStyle("opacity",t)}}))}function b(e,t){var i=_(e,t),n=e.getGraphicEl();n.traverse((function(e){!e.isGroup&&e.setStyle("opacity",i)})),n.highlight&&n.highlight()}var w=n.extendChartView({type:"graph",init:function(e,t){var i=new o,n=new s,r=this.group;this._controller=new a(t.getZr()),this._controllerHost={target:r},r.add(i.group),r.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},render:function(e,t,i){var n=this,r=e.coordinateSystem;this._model=e;var o=this._symbolDraw,s=this._lineDraw,a=this.group;if("view"===r.type){var l={position:r.position,scale:r.scale};this._firstRender?a.attr(l):h.updateProps(a,l,e)}d(e.getGraph(),p(e));var c=e.getData();o.updateData(c);var u=e.getEdgeData();s.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,i),clearTimeout(this._layoutTimeout);var f=e.forceLayout,m=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,m),c.eachItemGraphicEl((function(t,r){var o=c.getItemModel(r);t.off("drag").off("dragend");var s=o.get("draggable");s&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,m),f.setFixed(r),c.setItemLayout(r,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(r)}),this),t.setDraggable(s&&f),t[g]&&t.off("mouseover",t[g]),t[v]&&t.off("mouseout",t[v]),o.get("focusNodeAdjacency")&&(t.on("mouseover",t[g]=function(){n._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[v]=function(){n._dispatchUnfocus(i)}))}),this),c.graph.eachEdge((function(t){var r=t.getGraphicEl();r[g]&&r.off("mouseover",r[g]),r[v]&&r.off("mouseout",r[v]),t.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[g]=function(){n._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),r.on("mouseout",r[v]=function(){n._dispatchUnfocus(i)}))}));var y="circular"===e.get("layout")&&e.get("circular.rotateLabel"),_=c.getLayout("cx"),x=c.getLayout("cy");c.eachItemGraphicEl((function(e,t){var i=c.getItemModel(t),n=i.get("label.rotate")||0,r=e.getSymbolPath();if(y){var o=c.getItemLayout(t),s=Math.atan2(o[1]-x,o[0]-_);s<0&&(s=2*Math.PI+s);var a=o[0]<_;a&&(s-=Math.PI);var l=a?"left":"right";h.modifyLabelStyle(r,{textRotation:-s,textPosition:l,textOrigin:"center"},{textPosition:l})}else h.modifyLabelStyle(r,{textRotation:n*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(e,t){var i=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){i._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:i._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,i,n){var o=e.getData(),s=o.graph,a=n.dataIndex,l=n.edgeDataIndex,c=s.getNodeByIndex(a),u=s.getEdgeByIndex(l);(c||u)&&(s.eachNode((function(e){x(e,m,.1)})),s.eachEdge((function(e){x(e,y,.1)})),c&&(b(c,m),r.each(c.edges,(function(e){e.dataIndex<0||(b(e,y),b(e.node1,m),b(e.node2,m))}))),u&&(b(u,y),b(u.node1,m),b(u.node2,m)))},unfocusNodeAdjacency:function(e,t,i,n){var r=e.getData().graph;r.eachNode((function(e){x(e,m)})),r.eachEdge((function(e){x(e,y)}))},_startForceLayoutIteration:function(e,t){var i=this;(function n(){e.step((function(e){i.updateLayout(i._model),(i._layouting=!e)&&(t?i._layoutTimeout=setTimeout(n,16):n())}))})()},_updateController:function(e,t,i){var n=this._controller,r=this._controllerHost,o=this.group;n.setPointerChecker((function(t,n,r){var s=o.getBoundingRect();return s.applyTransform(o.transform),s.contain(n,r)&&!u(t,i,e)})),"view"===e.coordinateSystem.type?(n.enable(e.get("roam")),r.zoomLimit=e.get("scaleLimit"),r.zoom=e.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(r,t.dx,t.dy),i.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(r,t.scale,t.originX,t.originY),i.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),d(e.getGraph(),p(e)),this._lineDraw.updateLayout()}),this)):n.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),i=p(e),n=[i,i];t.eachItemGraphicEl((function(e,t){e.attr("scale",n)}))},updateLayout:function(e){d(e.getGraph(),p(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=w},97615:function(e,t,i){var n=i(35574),r=i(31138),o=i(62129),s=o.getSymbolSize,a=[],l=[],c=[],u=n.quadraticAt,h=r.distSquare,d=Math.abs;function f(e,t,i){for(var n,r=e[0],o=e[1],s=e[2],f=1/0,p=i*i,g=.1,v=.1;v<=.9;v+=.1){a[0]=u(r[0],o[0],s[0],v),a[1]=u(r[1],o[1],s[1],v);var m=d(h(a,t)-p);m=0?n+=g:n-=g:x>=0?n-=g:n+=g}return n}function p(e,t){var i=[],o=n.quadraticSubdivide,a=[[],[],[]],l=[[],[]],c=[];t/=2,e.eachEdge((function(e,n){var u=e.getLayout(),h=e.getVisual("fromSymbol"),d=e.getVisual("toSymbol");u.__original||(u.__original=[r.clone(u[0]),r.clone(u[1])],u[2]&&u.__original.push(r.clone(u[2])));var p=u.__original;if(null!=u[2]){if(r.copy(a[0],p[0]),r.copy(a[1],p[2]),r.copy(a[2],p[1]),h&&"none"!==h){var g=s(e.node1),v=f(a,p[0],g*t);o(a[0][0],a[1][0],a[2][0],v,i),a[0][0]=i[3],a[1][0]=i[4],o(a[0][1],a[1][1],a[2][1],v,i),a[0][1]=i[3],a[1][1]=i[4]}if(d&&"none"!==d){g=s(e.node2),v=f(a,p[1],g*t);o(a[0][0],a[1][0],a[2][0],v,i),a[1][0]=i[1],a[2][0]=i[2],o(a[0][1],a[1][1],a[2][1],v,i),a[1][1]=i[1],a[2][1]=i[2]}r.copy(u[0],a[0]),r.copy(u[1],a[2]),r.copy(u[2],a[1])}else{if(r.copy(l[0],p[0]),r.copy(l[1],p[1]),r.sub(c,l[1],l[0]),r.normalize(c,c),h&&"none"!==h){g=s(e.node1);r.scaleAndAdd(l[0],l[0],c,g*t)}if(d&&"none"!==d){g=s(e.node2);r.scaleAndAdd(l[1],l[1],c,-g*t)}r.copy(u[0],l[0]),r.copy(u[1],l[1])}}))}e.exports=p},22443:function(e){function t(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var i=e.getCategoriesData(),n=e.getGraph(),r=n.data,o=i.mapArray(i.getName);r.filterSelf((function(e){var i=r.getItemModel(e),n=i.getShallow("category");if(null!=n){"number"===typeof n&&(n=o[n]);for(var s=0;s0){var T=s(_)?l:c;_>0&&(_=_*M+C),b[w++]=T[k],b[w++]=T[k+1],b[w++]=T[k+2],b[w++]=T[k+3]*_*256}else w+=4}return d.putImageData(x,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=n.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var r=e.getContext("2d");return r.clearRect(0,0,i,i),r.shadowOffsetX=i,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(e,t,i){for(var n=this._gradientPixels,r=n[i]||(n[i]=new Uint8ClampedArray(1024)),o=[0,0,0,0],s=0,a=0;a<256;a++)t[i](a/255,!0,o),r[s++]=o[0],r[s++]=o[1],r[s++]=o[2],r[s++]=o[3];return r}};var s=o;e.exports=s},71724:function(e,t,i){var n=i(33358),r=i(19554),o=i(50294),s=n.extend({type:"series.heatmap",getInitialData:function(e,t){return r(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=o.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=s},3196:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(76442),s=i(27016),a=i(95289);function l(e,t,i){var n=e[1]-e[0];t=a.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/n,(t.interval[1]-e[0])/n]}}));var r=t.length,o=0;return function(e){for(var n=o;n=0;n--){s=t[n].interval;if(s[0]<=e&&e<=s[1]){o=n;break}}return n>=0&&n=t[0]&&e<=t[1]}}function u(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var h=r.extendChartView({type:"heatmap",render:function(e,t,i){var n;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(i){i===e&&(n=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):u(r)&&this._renderOnGeo(r,e,n,i)},incrementalPrepareRender:function(e,t,i){this.group.removeAll()},incrementalRender:function(e,t,i,n){var r=t.coordinateSystem;r&&this._renderOnCartesianAndCalendar(t,n,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,i,n,r){var s,l,c=e.coordinateSystem;if("cartesian2d"===c.type){var u=c.getAxis("x"),h=c.getAxis("y");s=u.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=e.getData(),p="itemStyle",g="emphasis.itemStyle",v="label",m="emphasis.label",y=e.getModel(p).getItemStyle(["color"]),_=e.getModel(g).getItemStyle(),x=e.getModel(v),b=e.getModel(m),w=c.type,S="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],C=i;C0&&(a=this.getLineLength(n)/c*1e3),a!==this._period||l!==this._loop){n.stopAnimation();var d=u;h&&(d=u(i)),n.__t>0&&(d=-a*n.__t),n.__t=0;var f=n.animate("",l).when(a,{__t:1}).delay(d).during((function(){r.updateSymbolPosition(n)}));l||f.done((function(){r.remove(n)})),f.start()}this._period=a,this._loop=l}},h.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},h.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},h.updateData=function(e,t,i){this.childAt(0).updateData(e,t,i),this._updateEffectSymbol(e,t)},h.updateSymbolPosition=function(e){var t=e.__p1,i=e.__p2,n=e.__cp1,r=e.__t,o=e.position,s=[o[0],o[1]],a=c.quadraticAt,u=c.quadraticDerivativeAt;o[0]=a(t[0],n[0],i[0],r),o[1]=a(t[1],n[1],i[1],r);var h=u(t[0],n[0],i[0],r),d=u(t[1],n[1],i[1],r);if(e.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT=0;l--)if(n[l]<=t)break;l=Math.min(l,r-2)}else{for(var l=o;lt)break;l=Math.min(l-1,r-2)}s.lerp(e.position,i[l],i[l+1],(t-n[l])/(n[l+1]-n[l]));var c=i[l+1][0]-i[l][0],u=i[l+1][1]-i[l][1];e.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},r.inherits(a,o);var c=a;e.exports=c},78766:function(e,t,i){var n=i(95289),r=i(22864),o=r.createSymbol,s=i(76442),a=s.Group,l=i(44261),c=l.parsePercent,u=i(88747),h=3;function d(e){return n.isArray(e)||(e=[+e,+e]),e}function f(e,t){var i=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?i:null,fill:"fill"===t.brushType?i:null}})}))}function p(e,t){a.call(this);var i=new u(e,t),n=new a;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(e,t)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(e){for(var t=e.symbolType,i=e.color,n=this.childAt(1),r=0;r0){e.moveTo(i[r++],i[r++]);for(var s=1;s0){var h=(a+c)/2-(l-u)*n,d=(l+u)/2-(c-a)*n;e.quadraticCurveTo(h,d,c,u)}else e.lineTo(c,u)}},findDataIndex:function(e,t){var i=this.shape,n=i.segs,r=i.curveness;if(i.polyline)for(var a=0,l=0;l0)for(var u=n[l++],h=n[l++],d=1;d0){var g=(u+f)/2-(h-p)*r,v=(h+p)/2-(f-u)*r;if(s.containStroke(u,h,g,v,f,p))return a}else if(o.containStroke(u,h,f,p))return a;a++}return-1}});function l(){this.group=new n.Group}var c=l.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e){this.group.removeAll();var t=new a({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t){var i=new a;i.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(i,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=e.start,this.group.add(i))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(e,t,i){var n=t.hostModel;e.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),e.useStyle(n.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var r=t.getVisual("color");r&&e.setStyle("stroke",r),e.setStyle("fill"),i||(e.seriesIndex=n.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>0&&(e.dataIndex=i+e.__startIndex)})))},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var u=l;e.exports=u},18790:function(e,t,i){var n=i(76442),r=i(22864),o=r.createSymbol,s=i(48458),a=4,l=n.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var i=t.points,n=t.size,r=this.symbolProxy,o=r.shape,s=e.getContext?e.getContext():e,l=s&&n[0]=0;a--){var l=2*a,c=n[l]-o/2,u=n[l+1]-s/2;if(e>=c&&t>=u&&e<=c+o&&t<=u+s)return a}return-1}});function c(){this.group=new n.Group}var u=c.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e,t){this.group.removeAll();var i=new l({rectHover:!0,cursor:"default"});i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!1,t),this.group.add(i),this._incremental=null},u.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var i=2*(e.endIndex-e.startIndex),n=4*e.startIndex*2;t=new Float32Array(t.buffer,n,i)}e.setShape("points",t)}))}},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new s({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t,i){var n;this._incremental?(n=new l,this._incremental.addDisplayable(n,!0)):(n=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!!this._incremental,i)},u._setCommon=function(e,t,i,n){var r=t.hostModel;n=n||{};var s=t.getVisual("symbolSize");e.setShape("size",s instanceof Array?s:[s,s]),e.softClipShape=n.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]=0&&(e.dataIndex=i+(e.startIndex||0))})))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var h=c;e.exports=h},51261:function(e,t,i){var n=i(95289),r=i(31138),o=i(22864),s=i(4154),a=i(76442),l=i(44261),c=l.round,u=["fromSymbol","toSymbol"];function h(e){return"_"+e+"Type"}function d(e,t,i){var r=t.getItemVisual(i,e);if(r&&"none"!==r){var s=t.getItemVisual(i,"color"),a=t.getItemVisual(i,e+"Size"),l=t.getItemVisual(i,e+"Rotate");n.isArray(a)||(a=[a,a]);var c=o.createSymbol(r,-a[0]/2,-a[1]/2,a[0],a[1],s);return c.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,c.name=e,c}}function f(e){var t=new s({name:"line",subPixelOptimize:!0});return p(t.shape,e),t}function p(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var i=t[2];i?(e.cpx1=i[0],e.cpy1=i[1]):(e.cpx1=NaN,e.cpy1=NaN)}function g(){var e=this,t=e.childOfName("fromSymbol"),i=e.childOfName("toSymbol"),n=e.childOfName("label");if(t||i||!n.ignore){var o=1,s=this.parent;while(s)s.scale&&(o/=s.scale[0]),s=s.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var l=a.shape.percent,c=a.pointAt(0),u=a.pointAt(l),h=r.sub([],u,c);if(r.normalize(h,h),t){t.attr("position",c);var d=t.__specifiedRotation;if(null==d){var f=a.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(f[1],f[0]))}else t.attr("rotation",d);t.attr("scale",[o*l,o*l])}if(i){i.attr("position",u);d=i.__specifiedRotation;if(null==d){f=a.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(f[1],f[0]))}else i.attr("rotation",d);i.attr("scale",[o*l,o*l])}if(!n.ignore){var p,g,v,m;n.attr("position",u);var y=n.__labelDistance,_=y[0]*o,x=y[1]*o,b=l/2,w=(f=a.tangentAt(b),[f[1],-f[0]]),S=a.pointAt(b);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var C,A=f[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var M=-Math.atan2(f[1],f[0]);u[0].8?"left":h[0]<-.8?"right":"center",v=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*_+c[0],-h[1]*x+c[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",v=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[_*A+c[0],c[1]+C],g=f[0]<0?"right":"left",m=[-_*A,-C];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+C],g="center",m=[0,-C];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-_*A+u[0],u[1]+C],g=f[0]>=0?"right":"left",m=[_*A,-C];break}n.attr({style:{textVerticalAlign:n.__verticalAlign||v,textAlign:n.__textAlign||g},position:p,scale:[o,o],origin:m})}}}}function v(e,t,i){a.Group.call(this),this._createLine(e,t,i)}var m=v.prototype;m.beforeUpdate=g,m._createLine=function(e,t,i){var r=e.hostModel,o=e.getItemLayout(t),s=f(o);s.shape.percent=0,a.initProps(s,{shape:{percent:1}},r,t),this.add(s);var l=new a.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(u,(function(i){var n=d(i,e,t);this.add(n),this[h(i)]=e.getItemVisual(t,i)}),this),this._updateCommonStl(e,t,i)},m.updateData=function(e,t,i){var r=e.hostModel,o=this.childOfName("line"),s=e.getItemLayout(t),l={shape:{}};p(l.shape,s),a.updateProps(o,l,r,t),n.each(u,(function(i){var n=e.getItemVisual(t,i),r=h(i);if(this[r]!==n){this.remove(this.childOfName(i));var o=d(i,e,t);this.add(o)}this[r]=n}),this),this._updateCommonStl(e,t,i)},m._updateCommonStl=function(e,t,i){var r=e.hostModel,o=this.childOfName("line"),s=i&&i.lineStyle,l=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var f=e.getItemModel(t);s=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=n.retrieve3(e.getItemVisual(t,"opacity"),s.opacity,1);o.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},s)),o.hoverStyle=l,n.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var v,m,y=h.getShallow("show"),_=d.getShallow("show"),x=this.childOfName("label");if((y||_)&&(v=p||"#000",m=r.getFormattedLabel(t,"normal",e.dataType),null==m)){var b=r.getRawValue(t);m=null==b?e.getName(t):isFinite(b)?c(b):b}var w=y?m:null,S=_?n.retrieve2(r.getFormattedLabel(t,"emphasis",e.dataType),m):null,C=x.style;if(null!=w||null!=S){a.setTextStyle(x.style,h,{text:w},{autoColor:v}),x.__textAlign=C.textAlign,x.__verticalAlign=C.textVerticalAlign,x.__position=h.get("position")||"middle";var A=h.get("distance");n.isArray(A)||(A=[A,A]),x.__labelDistance=A}x.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},x.ignore=!y&&!_,a.setHoverStyle(this)},m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},n.inherits(v,a.Group);var y=v;e.exports=y},73643:function(e,t,i){var n=i(76442),r=i(51261);function o(e){this._ctor=e||r,this.group=new n.Group}var s=o.prototype;function a(e,t,i,n){var r=t.getItemLayout(i);if(d(r)){var o=new e._ctor(t,i,n);t.setItemGraphicEl(i,o),e.group.add(o)}}function l(e,t,i,n,r,o){var s=t.getItemGraphicEl(n);d(i.getItemLayout(r))?(s?s.updateData(i,r,o):s=new e._ctor(i,r,o),i.setItemGraphicEl(r,s),e.group.add(s)):e.group.remove(s)}function c(e){return e.animators&&e.animators.length>0}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function h(e){return isNaN(e[0])||isNaN(e[1])}function d(e){return!h(e[0])&&!h(e[1])}s.isPersistent=function(){return!0},s.updateData=function(e){var t=this,i=t.group,n=t._lineData;t._lineData=e,n||i.removeAll();var r=u(e);e.diff(n).add((function(i){a(t,e,i,r)})).update((function(i,o){l(t,n,e,o,i,r)})).remove((function(e){i.remove(n.getItemGraphicEl(e))})).execute()},s.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,i){t.updateLayout(e,i)}),this)},s.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},s.incrementalUpdate=function(e,t){function i(e){e.isGroup||c(e)||(e.incremental=e.useHoverLayer=!0)}for(var n=e.start;n "+_)),v++)}var x,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)x=c(e,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var C=a(e,{coordDimensions:S});x=new r(C,i),x.initData(e)}var A=new r(["value"],i);return A.initData(g,p),h&&h(x,A),s({mainData:x,struct:d,structAttr:"graph",datas:{node:x,edge:A},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}e.exports=u},19554:function(e,t,i){var n=i(95289),r=i(5628),o=i(29966),s=i(90642),a=s.SOURCE_FORMAT_ORIGINAL,l=i(99535),c=l.getDimensionTypeByAxis,u=i(63199),h=u.getDataItemValue,d=i(50294),f=i(87749),p=f.getCoordSysInfoBySeries,g=i(3325),v=i(74051),m=v.enableDataStack,y=i(49442),_=y.makeSeriesEncodeForAxisCoordSys;function x(e,t,i){i=i||{},g.isInstance(e)||(e=g.seriesDataToSource(e));var s,a=t.get("coordinateSystem"),l=d.get(a),u=p(t);u&&(s=n.map(u.coordSysDims,(function(e){var t={name:e},i=u.axisMap.get(e);if(i){var n=i.get("type");t.type=c(n)}return t}))),s||(s=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,v=o(e,{coordDimensions:s,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?n.curry(_,s,t):null});u&&n.each(v,(function(e,t){var i=e.coordDim,n=u.categoryAxisMap.get(i);n&&(null==h&&(h=t),e.ordinalMeta=n.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==h||(v[h].otherDims.itemName=0);var y=m(t,v),x=new r(v,t);x.setCalculationInfo(y);var w=null!=h&&b(e)?function(e,t,i,n){return n===h?i:this.defaultDimValueGetter(e,t,i,n)}:null;return x.hasItemOption=!1,x.initData(e,null,w),x}function b(e){if(e.sourceFormat===a){var t=w(e.data||[]);return null!=t&&!n.isArray(h(t))}}function w(e){var t=0;while(tr&&(r=t);var a=r%2?r+2:r+3;s=[];for(var l=0;l=0){var r=i.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var s=e.targetNodeId;if(null!=s&&(o=r.getNodeById(s)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function s(e,t){var i=o(e);return n.indexOf(i,t)>=0}function a(e,t){var i=[];while(e){var n=e.dataIndex;i.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return i.reverse(),i}t.retrieveTargetInfo=r,t.getPathToRoot=o,t.aboveViewRoot=s,t.wrapTreePathInfo=a},74370:function(e,t,i){var n=i(80565),r=i(95289),o=i(99535),s=o.getDimensionTypeByAxis,a=i(49442),l=a.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(e,t){var i,o,a=t.getComponent("xAxis",this.get("xAxisIndex")),c=t.getComponent("yAxis",this.get("yAxisIndex")),u=a.get("type"),h=c.get("type");"category"===u?(e.layout="horizontal",i=a.getOrdinalMeta(),o=!0):"category"===h?(e.layout="vertical",i=c.getOrdinalMeta(),o=!0):e.layout=e.layout||"horizontal";var d=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=d[f],g=d[1-f],v=[a,c],m=v[f].get("type"),y=v[1-f].get("type"),_=e.data;if(_&&o){var x=[];r.each(_,(function(e,t){var i;e.value&&r.isArray(e.value)?(i=e.value.slice(),e.value.unshift(t)):r.isArray(e)?(i=e.slice(),e.unshift(t)):i=e,x.push(i)})),e.data=x}var b=this.defaultValueDimensions,w=[{name:p,type:s(m),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:s(y),dimsDef:b.slice()}];return n(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:r.curry(l,w,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=c},1906:function(e,t,i){var n=i(89231);i(59350),i(44026);var r=i(39784),o=i(32493),s=i(99610);i(48807),n.registerVisual(r("line","circle","line")),n.registerLayout(o("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,s("line"))},59350:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(19554)),o=i(33358),s=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},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}});e.exports=s},44026:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(66346),s=o.fromPoints,a=i(52033),l=i(88747),c=i(64158),u=i(76442),h=i(63199),d=i(6667),f=d.Polyline,p=d.Polygon,g=i(67955),v=i(81961),m=v.prepareDataCoordInfo,y=v.getStackedOnPoint,_=i(99988),x=_.createGridClipPath,b=_.createPolarClipPath;function w(e,t){if(e.length===t.length){for(var i=0;i=0;s--){var a=i[s].dimension,l=e.dimensions[a],c=e.getDimensionInfo(l);if(n=c&&c.coordDim,"x"===n||"y"===n){o=i[s];break}}if(o){var h=t.getAxis(n),d=r.map(o.stops,(function(e){return{coord:h.toGlobalCoord(h.dataToCoord(e.value)),color:e.color}})),f=d.length,p=o.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,v=d[0].coord-g,m=d[f-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(d,(function(e){e.offset=(e.coord-v)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var _=new u.LinearGradient(0,0,0,0,d,!0);return _[n]=v,_[n+"2"]=m,_}}}function T(e,t,i){var n=e.get("showAllSymbol"),o="auto"===n;if(!n||o){var s=i.getAxesByScale("ordinal")[0];if(s&&(!o||!I(s,t))){var a=t.mapDimension(s.dim),l={};return r.each(s.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(a,e))}}}}function I(e,t){var i=e.getExtent(),n=Math.abs(i[1]-i[0])/e.scale.count();isNaN(n)&&(n=0);for(var r=t.count(),o=Math.max(1,Math.round(r/5)),s=0;sn)return!1;return!0}function L(e,t,i){if("cartesian2d"===e.type){var n=e.getBaseAxis().isHorizontal(),r=x(e,t,i);if(!i.get("clip",!0)){var o=r.shape,s=Math.max(o.width,o.height);n?(o.y-=s,o.height+=2*s):(o.x-=s,o.width+=2*s)}return r}return b(e,t,i)}var E=g.extend({type:"line",init:function(){var e=new u.Group,t=new a;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,i){var n=e.coordinateSystem,o=this.group,s=e.getData(),a=e.getModel("lineStyle"),l=e.getModel("areaStyle"),c=s.mapArray(s.getItemLayout),u="polar"===n.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,v=e.get("animation"),y=!l.isEmpty(),_=l.get("origin"),x=m(n,s,_),b=A(n,s,x),S=e.get("showSymbol"),I=S&&!u&&T(e,s,n),E=this._data;E&&E.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),E.setItemGraphicEl(t,null))})),S||d.remove(),o.add(g);var D,O=!u&&e.get("step");n&&n.getArea&&e.get("clip",!0)&&(D=n.getArea(),null!=D.width?(D.x-=.1,D.y-=.1,D.width+=.2,D.height+=.2):D.r0&&(D.r0-=.5,D.r1+=.5)),this._clipShapeForSymbol=D,f&&h.type===n.type&&O===this._step?(y&&!p?p=this._newPolygon(c,b,n,v):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(L(n,!1,e)),S&&d.updateData(s,{isIgnore:I,clipShape:D}),s.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,c)||(v?this._updateAnimation(s,b,n,i,O,_):(O&&(c=M(c,n,O),b=M(b,n,O)),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:b})))):(S&&d.updateData(s,{isIgnore:I,clipShape:D}),O&&(c=M(c,n,O),b=M(b,n,O)),f=this._newPolyline(c,n,v),y&&(p=this._newPolygon(c,b,n,v)),g.setClipPath(L(n,!0,e)));var P=k(s,n)||s.getVisual("color");f.useStyle(r.defaults(a.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var R=e.get("smooth");if(R=C(e.get("smooth")),f.setShape({smooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var B=s.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),B&&(N=C(B.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:N,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=s,this._coordSys=n,this._stackedOnPoints=b,this._points=c,this._step=O,this._valueOrigin=_},dispose:function(){},highlight:function(e,t,i,n){var r=e.getData(),o=h.queryDataIndex(r,n);if(!(o instanceof Array)&&null!=o&&o>=0){var s=r.getItemGraphicEl(o);if(!s){var a=r.getItemLayout(o);if(!a)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(a[0],a[1]))return;s=new l(r,o),s.position=a,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(a[0])||isNaN(a[1]),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else g.prototype.highlight.call(this,e,t,i,n)},downplay:function(e,t,i,n){var r=e.getData(),o=h.queryDataIndex(r,n);if(null!=o&&o>=0){var s=r.getItemGraphicEl(o);s&&(s.__temp?(r.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else g.prototype.downplay.call(this,e,t,i,n)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new f({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(e,t,i,n,r,o){var s=this._polyline,a=this._polygon,l=e.hostModel,h=c(this._data,e,this._stackedOnPoints,t,this._coordSys,i,this._valueOrigin,o),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(r&&(d=M(h.current,i,r),f=M(h.stackedOnCurrent,i,r),p=M(h.next,i,r),g=M(h.stackedOnNext,i,r)),S(d,p)>3e3||a&&S(f,g)>3e3)return s.setShape({points:p}),void(a&&a.setShape({points:p,stackedOnPoints:g}));s.shape.__points=h.current,s.shape.points=d,u.updateProps(s,{shape:{points:p}},l),a&&(a.setShape({points:d,stackedOnPoints:f}),u.updateProps(a,{shape:{points:p,stackedOnPoints:g}},l));for(var v=[],m=h.status,y=0;y0?i=n[0]:n[1]<0&&(i=n[1]),i}function c(e,t,i,n){var r=NaN;e.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=e.valueStart);var o=e.baseDataOffset,s=[];return s[o]=i.get(e.baseDim,n),s[1-o]=r,t.dataToPoint(s)}t.prepareDataCoordInfo=a,t.getStackedOnPoint=c},64158:function(e,t,i){var n=i(81961),r=n.prepareDataCoordInfo,o=n.getStackedOnPoint;function s(e,t){var i=[];return t.diff(e).add((function(e){i.push({cmd:"+",idx:e})})).update((function(e,t){i.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){i.push({cmd:"-",idx:e})})).execute(),i}function a(e,t,i,n,a,l,c,u){for(var h=s(e,t),d=[],f=[],p=[],g=[],v=[],m=[],y=[],_=r(a,t,c),x=r(l,e,u),b=0;b=r||v<0)break;if(f(y)){if(p){v+=o;continue}break}if(v===i)e[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var _=t[g],x="y"===u?1:0,b=(y[x]-_[x])*l;c(h,_),h[x]=_[x]+b,c(d,y),d[x]=y[x]-b,e.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=v,v+=o}return m}function v(e,t,i,n,o,p,g,v,m,y,_){for(var x=0,b=i,w=0;w=o||b<0)break;if(f(S)){if(_){b+=p;continue}break}if(b===i)e[p>0?"moveTo":"lineTo"](S[0],S[1]),c(h,S);else if(m>0){var C=b+p,A=t[C];if(_)while(A&&f(t[C]))C+=p,A=t[C];var M=.5,k=t[x];A=t[C];if(!A||f(A))c(d,S);else{var T,I;if(f(A)&&!_&&(A=S),r.sub(u,A,k),"x"===y||"y"===y){var L="x"===y?0:1;T=Math.abs(S[L]-k[L]),I=Math.abs(S[L]-A[L])}else T=r.dist(S,k),I=r.dist(S,A);M=I/(I+T),l(d,S,u,-m*(1-M))}s(h,h,v),a(h,h,g),s(d,d,v),a(d,d,g),e.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,u,m*M)}else e.lineTo(S[0],S[1]);x=b,b+=p}return w}function m(e,t){var i=[1/0,1/0],n=[-1/0,-1/0];if(t)for(var r=0;rn[0]&&(n[0]=o[0]),o[1]>n[1]&&(n[1]=o[1])}return{min:t?i:n,max:t?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(n.prototype.brush),buildPath:function(e,t){var i=t.points,n=0,r=i.length,o=m(i,t.smoothConstraint);if(t.connectNulls){for(;r>0;r--)if(!f(i[r-1]))break;for(;n0;o--)if(!f(i[o-1]))break;for(;r "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),v=g;e.exports=v},94156:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(73643),s=i(99768),a=i(51261),l=i(80171),c=i(83994),u=i(90176),h=i(76623),d=i(99988),f=d.createClipPath,p=r.extendChartView({type:"lines",init:function(){},render:function(e,t,i){var n=e.getData(),r=this._updateLineDraw(n,e),o=e.get("zlevel"),s=e.get("effect.trailLength"),a=i.getZr(),l="svg"===a.painter.getType();l||a.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||a.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&s&&(l||a.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(s/10+.9,1),0)})),r.updateData(n);var c=e.get("clip",!0)&&f(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(e,t,i){var n=e.getData(),r=this._updateLineDraw(n,e);r.incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},incrementalRender:function(e,t,i){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,i){var n=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=h.reset(e);o.progress&&o.progress({start:0,end:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},_updateLineDraw:function(e,t){var i=this._lineDraw,n=this._showEffect(t),r=!!t.get("polyline"),h=t.pipelineContext,d=h.large;return i&&n===this._hasEffet&&r===this._isPolyline&&d===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=d?new u:new o(r?n?c:l:n?s:a),this._hasEffet=n,this._isPolyline=r,this._isLargeDraw=d,this.group.removeAll()),this.group.add(i.group),i},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),i="svg"===t.painter.getType();i||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=p},76623:function(e,t,i){var n=i(59039),r={seriesType:"lines",plan:n(),reset:function(e){var t=e.coordinateSystem,i=e.get("polyline"),n=e.pipelineContext.large;function r(r,o){var s=[];if(n){var a,l=r.end-r.start;if(i){for(var c=0,u=r.start;u":"\n";return u.join(", ")+p+a(s+" : "+o)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),i=this.coordinateSystem,n=i.getRegion(t);return n&&i.dataToPoint(n.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});n.mixin(g,c);var v=g;e.exports=v},35784:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442),s=i(75730),a="__seriesMapHighDown",l="__seriesMapCallKey",c=n.extendChartView({type:"map",render:function(e,t,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){o=this._mapDraw;o&&r.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new s(i,!0);r.add(o.group),o.draw(e,t,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,i){var n=e.originalData,s=this.group;n.each(n.mapDimension("value"),(function(t,i){if(!isNaN(t)){var c=n.getItemLayout(i);if(c&&c.point){var d=c.point,f=c.offset,p=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:o.Z2_EMPHASIS_LIFT+1)});if(!f){var g=e.mainSeries.getData(),v=n.getName(i),m=g.indexOfName(v),y=n.getItemModel(i),_=y.getModel("label"),x=y.getModel("emphasis.label"),b=g.getItemGraphicEl(m),w=r.retrieve2(e.getFormattedLabel(m,"normal"),v),S=r.retrieve2(e.getFormattedLabel(m,"emphasis"),w),C=b[a],A=Math.random();if(!C){C=b[a]={};var M=r.curry(u,!0),k=r.curry(u,!1);b.on("mouseover",M).on("mouseout",k).on("emphasis",M).on("normal",k)}b[l]=A,r.extend(C,{recordVersion:A,circle:p,labelModel:_,hoverLabelModel:x,emphasisText:S,normalText:w}),h(C,!1)}s.add(p)}}}))}});function u(e){var t=this[a];t&&t.recordVersion===this[l]&&h(t,e)}function h(e,t){var i=e.circle,n=e.labelModel,r=e.hoverLabelModel,s=e.emphasisText,a=e.normalText;t?(i.style.extendFrom(o.setTextStyle({},r,{text:r.get("show")?s:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(i.style,n,{text:n.get("show")?a:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}e.exports=c},15492:function(e,t,i){var n=i(95289);function r(e){var t=[];n.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,n.defaults(e,e.mapLocation))}))}e.exports=r},55547:function(e,t,i){var n=i(95289);function r(e,t){var i={};return n.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,n){var r="ec-"+e.getName(n);i[r]=i[r]||[],isNaN(t)||i[r].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(n,r){for(var o,s="ec-"+e[0].getName(r),a=0,l=1/0,c=-1/0,u=i[s].length,h=0;h0&&(h?"scale"!==d:"transition"!==f)){for(var v=o.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=n.r0}}}),h=u;e.exports=h},69503:function(e,t,i){var n=i(43407),r=i(44261),o=r.parsePercent,s=Math.PI/180;function a(e,t,i,n,r,o,s,a,l,c){function u(t,i,n,r){for(var o=t;ol+s)break;if(e[o].y+=n,o>t&&o+1e[o].y+e[o].height)return void h(o,n/2)}h(i-1,n/2)}function h(t,i){for(var n=t;n>=0;n--){if(e[n].y-i0&&e[n].y>e[n-1].y+e[n-1].height)break}}function d(e,t,i,n,r,o){for(var s=t?Number.MAX_VALUE:0,a=0,l=e.length;a=s&&(d=s-10),!t&&d<=s&&(d=s+10),e[a].x=i+d*o,s=d}}e.sort((function(e,t){return e.y-t.y}));for(var f,p=0,g=e.length,v=[],m=[],y=0;y=i?m.push(e[y]):v.push(e[y]);d(v,!1,t,i,n,r),d(m,!0,t,i,n,r)}function l(e,t,i,r,o,s,l,u){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":L>0?"left":"right"}var j=c.get("rotate");D="number"===typeof j?j*(Math.PI/180):j?L<0?-I+Math.PI:-I:0,p=!!D,s.label={x:A,y:M,position:v,height:P.height,len:S,len2:C,linePoints:k,textAlign:T,verticalAlign:"middle",rotation:D,inside:R,labelDistance:m,labelAlignTo:y,labelMargin:_,bleedMargin:x,textRect:P,text:O,font:b},R||f.push(s.label)}})),!p&&e.get("avoidLabelOverlap")&&l(f,u,h,t,i,r,a,c)}e.exports=u},23219:function(e,t,i){var n=i(44261),r=n.parsePercent,o=n.linearMap,s=i(61570),a=i(69503),l=i(95289),c=2*Math.PI,u=Math.PI/180;function h(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function d(e,t,i,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),n=t.mapDimension("value"),s=h(e,i),d=e.get("center"),f=e.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=r(s.width,i.getWidth()),g=r(s.height,i.getHeight()),v=Math.min(p,g),m=r(d[0],p)+s.x,y=r(d[1],g)+s.y,_=r(f[0],v/2),x=r(f[1],v/2),b=-e.get("startAngle")*u,w=e.get("minAngle")*u,S=0;t.each(n,(function(e){!isNaN(e)&&S++}));var C=t.getSum(n),A=Math.PI/(C||S)*2,M=e.get("clockwise"),k=e.get("roseType"),T=e.get("stillShowZeroSum"),I=t.getDataExtent(n);I[0]=0;var L=c,E=0,D=b,O=M?1:-1;if(t.each(n,(function(e,i){var n;if(isNaN(e))t.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:m,cy:y,r0:_,r:k?NaN:x,viewRect:s});else{n="area"!==k?0===C&&T?A:e*A:c/S,n":"\n";return a(""===c?this.name:c)+u+o.map(l,(function(t,i){var n=r.get(r.mapDimension(t.dim),e);return a(t.name+" : "+n)})).join(u)},getTooltipPosition:function(e){if(null!=e)for(var t=this.getData(),i=this.coordinateSystem,n=t.getValues(o.map(i.dimensions,(function(e){return t.mapDimension(e)})),e,!0),r=0,s=n.length;r=0&&(s[o[l].depth]=new a(o[l],this,t));if(n&&i){var c=r(n,i,this,!0,u);return c.data}function u(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var i=this.parentModel,n=i.getData().getItemLayout(t).depth,r=i.levelModels[n];return r||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var i=this.parentModel,n=i.getGraph().getEdgeByIndex(t),r=n.node1.getLayout().depth,o=i.levelModels[r];return o||this.parentModel})),e}))}},setNodePosition:function(e,t){var i=this.option.data[e];i.localX=t[0],i.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getDataParams(e,i),r=n.data,o=r.source+" -- "+r.target;return n.value&&(o+=" : "+n.value),s(o)}if("node"===i){var a=this.getGraph().getNodeByIndex(e),l=a.getLayout().value,u=this.getDataParams(e,i).data.name;if(l)o=u+" : "+l;return s(o)}return c.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var i=c.superCall(this,"getDataParams",e,t);if(null==i.value&&"node"===t){var n=this.getGraph().getNodeByIndex(e),r=n.getLayout().value;i.value=r}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),u=c;e.exports=u},21932:function(e,t,i){var n=i(76442),r=i(89231),o=i(95289),s=["itemStyle","opacity"],a=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function u(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function h(e,t,i){var n=e.getGraphicEl(),r=u(e,t);null!=i&&(null==r&&(r=1),r*=i),n.downplay&&n.downplay(),n.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",r)}))}function d(e,t){var i=u(e,t),n=e.getGraphicEl();n.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",i)})),n.highlight&&n.highlight()}var f=n.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var i=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+i,t.y2),e.bezierCurveTo(t.cpx2+i,t.cpy2,t.cpx1+i,t.cpy1,t.x1+i,t.y1)):(e.lineTo(t.x2,t.y2+i),e.bezierCurveTo(t.cpx2,t.cpy2+i,t.cpx1,t.cpy1+i,t.x1,t.y1+i)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=r.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,i){var r=this,o=e.getGraph(),s=this.group,a=e.layoutInfo,l=a.width,c=a.height,u=e.getData(),h=e.getData("edge"),d=e.get("orient");this._model=e,s.removeAll(),s.attr("position",[a.x,a.y]),o.eachEdge((function(t){var i=new f;i.dataIndex=t.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var r,o,a,u,p,g,v,m,y=t.getModel("lineStyle"),_=y.get("curveness"),x=t.node1.getLayout(),b=t.node1.getModel(),w=b.get("localX"),S=b.get("localY"),C=t.node2.getLayout(),A=t.node2.getModel(),M=A.get("localX"),k=A.get("localY"),T=t.getLayout();switch(i.shape.extent=Math.max(1,T.dy),i.shape.orient=d,"vertical"===d?(r=(null!=w?w*l:x.x)+T.sy,o=(null!=S?S*c:x.y)+x.dy,a=(null!=M?M*l:C.x)+T.ty,u=null!=k?k*c:C.y,p=r,g=o*(1-_)+u*_,v=a,m=o*_+u*(1-_)):(r=(null!=w?w*l:x.x)+x.dx,o=(null!=S?S*c:x.y)+T.sy,a=null!=M?M*l:C.x,u=(null!=k?k*c:C.y)+T.ty,p=r*(1-_)+a*_,g=o,v=r*_+a*(1-_),m=u),i.setShape({x1:r,y1:o,x2:a,y2:u,cpx1:p,cpy1:g,cpx2:v,cpy2:m}),i.setStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=t.node1.getVisual("color");break;case"target":i.style.fill=t.node2.getVisual("color");break}n.setHoverStyle(i,t.getModel("emphasis.lineStyle").getItemStyle()),s.add(i),h.setItemGraphicEl(t.dataIndex,i)})),o.eachNode((function(t){var i=t.getLayout(),r=t.getModel(),o=r.get("localX"),a=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),f=new n.Rect({shape:{x:null!=o?o*l:i.x,y:null!=a?a*c:i.y,width:i.dx,height:i.dy},style:r.getModel("itemStyle").getItemStyle()}),p=t.getModel("emphasis.itemStyle").getItemStyle();n.setLabelStyle(f.style,p,h,d,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),n.setHoverStyle(f,p),s.add(f),u.setItemGraphicEl(t.dataIndex,f),f.dataType="node"})),u.eachItemGraphicEl((function(t,n){var o=u.getItemModel(n);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:u.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/c})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),h.eachItemGraphicEl((function(t,n){var o=h.getItemModel(n);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),!this._data&&e.get("animation")&&s.setClipPath(g(s.getBoundingRect(),e,(function(){s.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,i,n){var r=e.getData(),u=r.graph,f=n.dataIndex,p=r.getItemModel(f),g=n.edgeDataIndex;if(null!=f||null!=g){var v=u.getNodeByIndex(f),m=u.getEdgeByIndex(g);if(u.eachNode((function(e){h(e,s,.1)})),u.eachEdge((function(e){h(e,l,.1)})),v){d(v,a);var y=p.get("focusNodeAdjacency");"outEdges"===y?o.each(v.outEdges,(function(e){e.dataIndex<0||(d(e,c),d(e.node2,a))})):"inEdges"===y?o.each(v.inEdges,(function(e){e.dataIndex<0||(d(e,c),d(e.node1,a))})):"allEdges"===y&&o.each(v.edges,(function(e){e.dataIndex<0||(d(e,c),e.node1!==v&&d(e.node1,a),e.node2!==v&&d(e.node2,a))}))}m&&(d(m,c),d(m.node1,a),d(m.node2,a))}},unfocusNodeAdjacency:function(e,t,i,n){var r=e.getGraph();r.eachNode((function(e){h(e,s)})),r.eachEdge((function(e){h(e,l)}))}});function g(e,t,i){var r=new n.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return n.initProps(r,{shape:{width:e.width+20}},t,i),r}e.exports=p},56267:function(e,t,i){var n=i(89231);i(38615),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},42639:function(e,t,i){var n=i(61570),r=i(95289),o=i(63199),s=o.groupData;function a(e,t,i){e.eachSeriesByType("sankey",(function(e){var i=e.get("nodeWidth"),n=e.get("nodeGap"),o=l(e,t);e.layoutInfo=o;var s=o.width,a=o.height,h=e.getGraph(),d=h.nodes,f=h.edges;u(d);var p=r.filter(d,(function(e){return 0===e.getLayout().value})),g=0!==p.length?0:e.get("layoutIterations"),v=e.get("orient"),m=e.get("nodeAlign");c(d,f,i,n,s,a,g,v,m)}))}function l(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t,i,n,r,o,s,a,l){h(e,t,i,r,o,a,l),v(e,t,o,r,n,s,a),I(e,a)}function u(e){r.each(e,(function(e){var t=k(e.outEdges,M),i=k(e.inEdges,M),n=e.getValue()||0,r=Math.max(t,i,n);e.setLayout({value:r},!0)}))}function h(e,t,i,n,r,o,s){for(var a=[],l=[],c=[],u=[],h=0,d=0,p=0;p=0;x&&_.depth>v&&(v=_.depth),y.setLayout({depth:x?_.depth:h},!0),"vertical"===o?y.setLayout({dy:i},!0):y.setLayout({dx:i},!0);for(var b=0;bh-1?v:h-1;s&&"left"!==s&&f(e,s,o,M);d="vertical"===o?(r-i)/M:(n-i)/M;g(e,d,o)}function d(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,i,n){if("right"===t){var o=[],s=e,a=0;while(s.length){for(var l=0;l0;o--)l*=.99,x(a,l,s),_(a,r,i,n,s),T(a,l,s),_(a,r,i,n,s)}function m(e,t){var i=[],n="vertical"===t?"y":"x",o=s(e,(function(e){return e.getLayout()[n]}));return o.keys.sort((function(e,t){return e-t})),r.each(o.keys,(function(e){i.push(o.buckets.get(e))})),i}function y(e,t,i,n,o,s){var a=1/0;r.each(e,(function(e){var t=e.length,l=0;r.each(e,(function(e){l+=e.getLayout().value}));var c="vertical"===s?(n-(t-1)*o)/l:(i-(t-1)*o)/l;c0&&(r=a.getLayout()[s]+l,"vertical"===o?a.setLayout({x:r},!0):a.setLayout({y:r},!0)),c=a.getLayout()[s]+a.getLayout()[h]+t;var f="vertical"===o?n:i;if(l=c-t-f,l>0)for(r=a.getLayout()[s]-l,"vertical"===o?a.setLayout({x:r},!0):a.setLayout({y:r},!0),c=r,d=u-2;d>=0;--d)a=e[d],l=a.getLayout()[s]+a.getLayout()[h]+t-c,l>0&&(r=a.getLayout()[s]-l,"vertical"===o?a.setLayout({x:r},!0):a.setLayout({y:r},!0)),c=a.getLayout()[s]}))}function x(e,t,i){r.each(e.slice().reverse(),(function(e){r.each(e,(function(e){if(e.outEdges.length){var n=k(e.outEdges,b,i)/k(e.outEdges,M,i);if(isNaN(n)){var r=e.outEdges.length;n=r?k(e.outEdges,w,i)/r:0}if("vertical"===i){var o=e.getLayout().x+(n-A(e,i))*t;e.setLayout({x:o},!0)}else{var s=e.getLayout().y+(n-A(e,i))*t;e.setLayout({y:s},!0)}}}))}))}function b(e,t){return A(e.node2,t)*e.getValue()}function w(e,t){return A(e.node2,t)}function S(e,t){return A(e.node1,t)*e.getValue()}function C(e,t){return A(e.node1,t)}function A(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function M(e){return e.getValue()}function k(e,t,i){var n=0,r=e.length,o=-1;while(++os&&(s=t)})),r.each(i,(function(t){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[o,s],visual:e.get("color")}),r=i.mapValueToVisual(t.getLayout().value),a=t.getModel().get("itemStyle.color");null!=a?t.setVisual("color",a):t.setVisual("color",r)}))}}))}e.exports=o},15980:function(e,t,i){var n=i(89231);i(21620),i(8452);var r=i(39784),o=i(32493);i(48807),n.registerVisual(r("scatter","circle")),n.registerLayout(o("scatter"))},21620:function(e,t,i){var n=i(19554),r=i(33358),o=r.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return n(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},8452:function(e,t,i){var n=i(89231),r=i(52033),o=i(18790),s=i(32493);n.extendChartView({type:"scatter",render:function(e,t,i){var n=e.getData(),r=this._updateSymbolDraw(n,e);r.updateData(n,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,i){var n=e.getData(),r=this._updateSymbolDraw(n,e);r.incrementalPrepareUpdate(n),this._finished=!1},incrementalRender:function(e,t,i){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,i){var n=e.getData();if(this.group.dirty(),!this._finished||n.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=s().reset(e);r.progress&&r.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_getClipShape:function(e){var t=e.coordinateSystem,i=t&&t.getArea&&t.getArea();return e.get("clip",!0)?i:null},_updateSymbolDraw:function(e,t){var i=this._symbolDraw,n=t.pipelineContext,s=n.large;return i&&s===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=s?new o:new r,this._isLargeDraw=s,this.group.removeAll()),this.group.add(i.group),i},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},17164:function(e,t,i){var n=i(89231),r=i(95289);i(13762),i(93102),i(21665);var o=i(5045),s=i(56437),a=i(18014);n.registerVisual(r.curry(o,"sunburst")),n.registerLayout(r.curry(s,"sunburst")),n.registerProcessor(r.curry(a,"sunburst"))},86129:function(e,t,i){var n=i(95289),r=i(76442),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},s=2,a=4;function l(e,t,i){r.Group.call(this);var n=new r.Sector({z2:s});n.seriesIndex=t.seriesIndex;var o=new r.Text({z2:a,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function c(){o.ignore=o.normalIgnore}this.add(n),this.add(o),this.updateData(!0,e,"normal",t,i),this.on("emphasis",l).on("normal",c).on("mouseover",l).on("mouseout",c)}var c=l.prototype;c.updateData=function(e,t,i,o,s){this.node=t,t.piece=this,o=o||this._seriesModel,s=s||this._ecModel;var a=this.childAt(0);a.dataIndex=t.dataIndex;var l=t.getModel(),c=t.getLayout(),u=n.extend({},c);u.label=null;var d=h(t,o,s);p(t,o,d);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===i)f=g;else{var v=l.getModel(i+".itemStyle").getItemStyle();f=n.merge(v,g)}f=n.defaults({lineJoin:"bevel",fill:f.fill||d},f),e?(a.setShape(u),a.shape.r=c.r0,r.updateProps(a,{shape:{r:c.r}},o,t.dataIndex),a.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof a.style.fill&&a.style.fill.type?(r.updateProps(a,{shape:u},o),a.useStyle(f)):r.updateProps(a,{shape:u,style:f},o),this._updateLabel(o,d,i);var m=l.getShallow("cursor");if(m&&a.attr("cursor",m),e){var y=o.getShallow("highlightPolicy");this._initEvents(a,t,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=s||this._ecModel,r.setHoverStyle(this)},c.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(t.node===i?i.piece.updateData(!1,i,"emphasis"):f(i,t.node,e)?i.piece.childAt(0).trigger("highlight"):e!==o.NONE&&i.piece.childAt(0).trigger("downplay"))}))},c.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(e,t,i){var o=this.node.getModel(),s=o.getModel("label"),a="normal"===i||"emphasis"===i?s:o.getModel(i+".label"),l=o.getModel("emphasis.label"),c=a.get("formatter"),u=c?i:"normal",h=n.retrieve(e.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===k("show")&&(h="");var d=this.node.getLayout(),f=a.get("minAngle");null==f&&(f=s.get("minAngle")),f=f/180*Math.PI;var p=d.endAngle-d.startAngle;null!=f&&Math.abs(p)Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(v=d.r0+b,m>Math.PI/2&&(w="right")):"right"===w&&(v=d.r-b,m>Math.PI/2&&(w="left")):(v=(d.r+d.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:k("verticalAlign")||"middle",opacity:k("opacity")});var S=v*y+d.cx,C=v*_+d.cy;g.attr("position",[S,C]);var A=k("rotate"),M=0;function k(e){var t=a.get(e);return null==t?s.get(e):t}"radial"===A?(M=-m,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===A?(M=Math.PI/2-m,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"===typeof A&&(M=A*Math.PI/180),g.attr("rotation",M)},c._initEvents=function(e,t,i,n){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(n)},s=function(){r.onNormal()},a=function(){r.onDownplay()},l=function(){r.onHighlight()};i.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",s).on("emphasis",o).on("normal",s).on("downplay",a).on("highlight",l)},n.inherits(l,r.Group);var u=l;function h(e,t,i){var n=e.getVisual("color"),r=e.getVisual("visualMeta");r&&0!==r.length||(n=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(n)return n;if(0===e.depth)return i.option.color[0];var s=i.option.color.length;return o=i.option.color[d(e)%s],o}function d(e){var t=e;while(t.depth>1)t=t.parentNode;var i=e.getAncestors()[0];return n.indexOf(i.children,t)}function f(e,t,i){return i!==o.NONE&&(i===o.SELF?e===t:i===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,i){var n=t.getData();n.setItemVisual(e.dataIndex,"color",i)}e.exports=u},13762:function(e,t,i){var n=i(95289),r=i(33358),o=i(35288),s=i(40590),a=i(80047),l=a.wrapTreePathInfo,c=r.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var i={name:e.name,children:e.data};u(i);var r=n.map(e.levels||[],(function(e){return new s(e,this,t)}),this),a=o.createTree(i,this,l);function l(e){e.wrapMethod("getItemModel",(function(e,t){var i=a.getNodeByDataIndex(t),n=r[i.depth];return n&&(e.parentModel=n),e}))}return a.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=l(i,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function u(e){var t=0;n.each(e.children,(function(e){u(e);var i=e.value;n.isArray(i)&&(i=i[0]),t+=i}));var i=e.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),n.isArray(e.value)?e.value[0]=i:e.value=i}e.exports=c},93102:function(e,t,i){var n=i(95289),r=i(67955),o=i(86129),s=i(1032),a=i(8595),l=a.windowOpen,c="sunburstRootToNode",u=r.extend({type:"sunburst",init:function(){},render:function(e,t,i,r){var a=this;this.seriesModel=e,this.api=i,this.ecModel=t;var l=e.getData(),c=l.tree.root,u=e.getViewRoot(),h=this.group,d=e.get("renderLabelForZeroData"),f=[];u.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(m(f,p),x(c,u),r&&r.highlight&&r.highlight.piece){var g=e.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(g)}else if(r&&r.unhighlight){var v=this.virtualPiece;!v&&c.children.length&&(v=c.children[0].piece),v&&v.onNormal()}function m(e,t){function i(e){return e.getId()}function r(i,n){var r=null==i?null:e[i],o=null==n?null:t[n];y(r,o)}0===e.length&&0===t.length||new s(t,e,i,i).add(r).update(r).remove(n.curry(r,null)).execute()}function y(i,n){if(d||!i||i.getValue()||(i=null),i!==c&&n!==c)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",e,t),l.setItemGraphicEl(i.dataIndex,n.piece)):_(n);else if(i){var r=new o(i,e,t);h.add(r),l.setItemGraphicEl(i.dataIndex,r)}}function _(e){e&&e.piece&&(h.remove(e.piece),e.piece=null)}function x(i,n){if(n.depth>0){a.virtualPiece?a.virtualPiece.updateData(!1,i,"normal",e,t):(a.virtualPiece=new o(i,e,t),h.add(a.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var r=function(e){a._rootToNode(n.parentNode)};n.piece._onclickEvent=r,a.virtualPiece.on("click",r)}else a.virtualPiece&&(h.remove(a.virtualPiece),a.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var i=!1,n=e.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===t.target){var r=n.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(n);else if("link"===r){var o=n.getModel(),s=o.get("link");if(s){var a=o.get("target",!0)||"_blank";l(s,a)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var r=e[0]-n.cx,o=e[1]-n.cy,s=Math.sqrt(r*r+o*o);return s<=n.r&&s>=n.r0}}}),h=u;e.exports=h},21665:function(e,t,i){var n=i(89231),r=i(80047),o="sunburstRootToNode";n.registerAction({type:o,update:"updateView"},(function(e,t){function i(t,i){var n=r.retrieveTargetInfo(e,[o],t);if(n){var s=t.getViewRoot();s&&(e.direction=r.aboveViewRoot(s,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},i)}));var s="sunburstHighlight";n.registerAction({type:s,update:"updateView"},(function(e,t){function i(t,i){var n=r.retrieveTargetInfo(e,[s],t);n&&(e.highlight=n.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},i)}));var a="sunburstUnhighlight";n.registerAction({type:a,update:"updateView"},(function(e,t){function i(t,i){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},i)}))},56437:function(e,t,i){var n=i(44261),r=n.parsePercent,o=i(95289),s=Math.PI/180;function a(e,t,i,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),n=e.get("radius");o.isArray(n)||(n=[0,n]),o.isArray(t)||(t=[t,t]);var a=i.getWidth(),c=i.getHeight(),u=Math.min(a,c),h=r(t[0],a),d=r(t[1],c),f=r(n[0],u/2),p=r(n[1],u/2),g=-e.get("startAngle")*s,v=e.get("minAngle")*s,m=e.getData().tree.root,y=e.getViewRoot(),_=y.depth,x=e.get("sort");null!=x&&l(y,x);var b=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&b++}));var w=y.getValue(),S=Math.PI/(w||b)*2,C=y.depth>0,A=y.height-(C?-1:1),M=(p-f)/(A||1),k=e.get("clockwise"),T=e.get("stillShowZeroSum"),I=k?1:-1,L=function(e,t){if(e){var i=t;if(e!==m){var n=e.getValue(),s=0===w&&T?S:n*S;so&&(o=c),n.push(c)}for(var u=0;uo&&(o=d)}return s.y0=r,s.max=o,s}e.exports=o},50501:function(e,t,i){var n=i(95289),r=n.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),i=e.getRawData(),n=e.get("color"),o=r();t.each((function(e){o.set(t.getRawIndex(e),e)})),i.each((function(r){var s=i.getName(r),a=n[(e.nameMap.get(s)-1)%n.length];i.setItemVisual(r,"color",a);var l=o.get(r);null!=l&&t.setItemVisual(l,"color",a)}))}))}e.exports=o},75868:function(e,t,i){var n=i(89231);i(46526),i(80898),i(68309);var r=i(39784),o=i(3153);n.registerVisual(r("tree","circle")),n.registerLayout(o)},46526:function(e,t,i){var n=i(33358),r=i(35288),o=i(8595),s=o.encodeHTML,a=i(40590),l=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},i=e.leaves||{},n=new a(i,this,this.ecModel),o=r.createTree(t,this,s);function s(e){e.wrapMethod("getItemModel",(function(e,t){var i=o.getNodeByDataIndex(t);return i.children.length&&i.isExpand||(e.parentModel=n),e}))}var l=0;o.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var c=e.expandAndCollapse,u=c&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=u})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,i=t.root.children[0],n=t.getNodeByDataIndex(e),r=n.getValue(),o=n.name;while(n&&n!==i)o=n.parentNode.name+"."+o,n=n.parentNode;return s(o+(isNaN(r)||null==r?"":" : "+r))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},80898:function(e,t,i){var n=i(95289),r=i(76442),o=i(88747),s=i(73917),a=s.radialCoordinate,l=i(89231),c=i(66346),u=i(92394),h=i(43173),d=i(95441),f=i(47114),p=f.onIrrelevantElement,g=i(65523),v=(g.__DEV__,i(44261)),m=v.parsePercent,y=r.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.childPoints,n=i.length,r=t.parentPoint,o=i[0],s=i[n-1];if(1===n)return e.moveTo(r[0],r[1]),void e.lineTo(o[0],o[1]);var a=t.orient,l="TB"===a||"BT"===a?0:1,c=1-l,u=m(t.forkPosition,1),h=[];h[l]=r[l],h[c]=r[c]+(s[c]-r[c])*u,e.moveTo(r[0],r[1]),e.lineTo(h[0],h[1]),e.moveTo(o[0],o[1]),h[l]=o[l],e.lineTo(h[0],h[1]),h[l]=s[l],e.lineTo(h[0],h[1]),e.lineTo(s[0],s[1]);for(var d=1;dw.x,_||(y-=Math.PI));var M=_?"left":"right",k=a.labelModel.get("rotate"),T=k*(Math.PI/180);m.setStyle({textPosition:a.labelModel.get("position")||M,textRotation:null==k?-y:T,textOrigin:"center",verticalAlign:"middle"})}S(s,c,h,i,g,p,v,n,a)}function S(e,t,i,o,s,a,l,c,u){var h=u.edgeShape,d=o.__edge;if("curve"===h)t.parentNode&&t.parentNode!==i&&(d||(d=o.__edge=new r.BezierCurve({shape:A(u,s,s),style:n.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),r.updateProps(d,{shape:A(u,a,l),style:n.defaults({opacity:1},u.lineStyle)},e));else if("polyline"===h&&"orthogonal"===u.layout&&t!==i&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var f=t.children,p=[],g=0;g=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},n.push(s)}}function o(e,t){var i=e.isExpand?e.children:[],n=e.parentNode.children,r=e.hierNode.i?n[e.hierNode.i-1]:null;if(i.length){u(e);var o=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=h(e,r,e.parentNode.hierNode.defaultAncestor||n[0],t)}function s(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function a(e){return arguments.length?e:v}function l(e,t){var i={};return e-=Math.PI/2,i.x=t*Math.cos(e),i.y=t*Math.sin(e),i}function c(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e){var t=e.children,i=t.length,n=0,r=0;while(--i>=0){var o=t[i];o.hierNode.prelim+=n,o.hierNode.modifier+=n,r+=o.hierNode.change,n+=o.hierNode.shift+r}}function h(e,t,i,n){if(t){var r=e,o=e,s=o.parentNode.children[0],a=t,l=r.hierNode.modifier,c=o.hierNode.modifier,u=s.hierNode.modifier,h=a.hierNode.modifier;while(a=d(a),o=f(o),a&&o){r=d(r),s=f(s),r.hierNode.ancestor=e;var v=a.hierNode.prelim+h-o.hierNode.prelim-c+n(a,o);v>0&&(g(p(a,e,i),e,v),c+=v,l+=v),h+=a.hierNode.modifier,c+=o.hierNode.modifier,l+=r.hierNode.modifier,u+=s.hierNode.modifier}a&&!d(r)&&(r.hierNode.thread=a,r.hierNode.modifier+=h-l),o&&!f(s)&&(s.hierNode.thread=o,s.hierNode.modifier+=c-u,i=e)}return i}function d(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,i){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:i}function g(e,t,i){var n=i/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=i,t.hierNode.modifier+=i,t.hierNode.prelim+=i,e.hierNode.change+=n}function v(e,t){return e.parentNode===t.parentNode?1:2}t.init=r,t.firstWalk=o,t.secondWalk=s,t.separation=a,t.radialCoordinate=l,t.getViewRect=c},19969:function(e,t){function i(e,t,i){var n,r=[e],o=[];while(n=r.pop())if(o.push(n),n.isExpand){var s=n.children;if(s.length)for(var a=0;a=0;o--)n.push(r[o])}}t.eachAfter=i,t.eachBefore=n},68309:function(e,t,i){var n=i(89231),r=i(54407),o=r.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=e.dataIndex,n=t.getData().tree,r=n.getNodeByDataIndex(i);r.isExpand=!r.isExpand}))})),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=t.coordinateSystem,n=o(i,e);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)}))}))},3153:function(e,t,i){var n=i(19969),r=n.eachAfter,o=n.eachBefore,s=i(73917),a=s.init,l=s.firstWalk,c=s.secondWalk,u=s.separation,h=s.radialCoordinate,d=s.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var i=d(e,t);e.layoutInfo=i;var n=e.get("layout"),s=0,f=0,p=null;"radial"===n?(s=2*Math.PI,f=Math.min(i.height,i.width)/2,p=u((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(s=i.width,f=i.height,p=u());var g=e.getData().tree.root,v=g.children[0];if(v){a(g),r(v,l,p),g.hierNode.modifier=-v.hierNode.prelim,o(v,c);var m=v,y=v,_=v;o(v,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>_.depth&&(_=e)}));var x=m===y?1:p(m,y)/2,b=x-m.getLayout().x,w=0,S=0,C=0,A=0;if("radial"===n)w=s/(y.getLayout().x+x+b),S=f/(_.depth-1||1),o(v,(function(e){C=(e.getLayout().x+b)*w,A=(e.depth-1)*S;var t=h(C,A);e.setLayout({x:t.x,y:t.y,rawX:C,rawY:A},!0)}));else{var M=e.getOrient();"RL"===M||"LR"===M?(S=f/(y.getLayout().x+x+b),w=s/(_.depth-1||1),o(v,(function(e){A=(e.getLayout().x+b)*S,C="LR"===M?(e.depth-1)*w:s-(e.depth-1)*w,e.setLayout({x:C,y:A},!0)}))):"TB"!==M&&"BT"!==M||(w=s/(y.getLayout().x+x+b),S=f/(_.depth-1||1),o(v,(function(e){C=(e.getLayout().x+b)*w,A="TB"===M?(e.depth-1)*S:f-(e.depth-1)*S,e.setLayout({x:C,y:A},!0)})))}}}e.exports=f},12268:function(e,t,i){var n=i(89231);i(59772),i(90060),i(54155);var r=i(3109),o=i(40527);n.registerVisual(r),n.registerLayout(o)},8858:function(e,t,i){var n=i(76442),r=i(61570),o=i(95289),s=i(80047),a=s.wrapTreePathInfo,l=8,c=8,u=5;function h(e){this.group=new n.Group,e.add(this.group)}function d(e,t,i,n,r,o){var s=[[r?e:e-u,t],[e+i,t],[e+i,t+n],[r?e:e-u,t+n]];return!o&&s.splice(2,0,[e+i+u,t+n/2]),!r&&s.push([e,t+n/2]),s}function f(e,t,i){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&a(i,t)}}h.prototype={constructor:h,render:function(e,t,i,n){var o=e.getModel("breadcrumb"),s=this.group;if(s.removeAll(),o.get("show")&&i){var a=o.getModel("itemStyle"),l=a.getModel("textStyle"),c={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,c,l),this._renderContent(e,c,a,l,n),r.positionElement(s,c.pos,c.box)}},_prepare:function(e,t,i){for(var n=e;n;n=n.parentNode){var r=n.getModel().get("name"),o=i.getTextRect(r),s=Math.max(o.width+2*l,t.emptyItemWidth);t.totalWidth+=s+c,t.renderList.push({node:n,text:r,width:s})}},_renderContent:function(e,t,i,s,a){for(var l=0,u=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=r.getAvailableSize(t.pos,t.box),g=t.totalWidth,v=t.renderList,m=v.length-1;m>=0;m--){var y=v[m],_=y.node,x=y.width,b=y.text;g>p.width&&(g-=x-u,x=u,b=null);var w=new n.Polygon({shape:{points:d(l,0,x,h,m===v.length-1,0===m)},style:o.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:o.curry(a,_)});this.group.add(w),f(w,e,_),l+=x+c}},remove:function(){this.group.removeAll()}};var p=h;e.exports=p},59772:function(e,t,i){var n=i(95289),r=i(33358),o=i(35288),s=i(40590),a=i(8595),l=a.encodeHTML,c=a.addCommas,u=i(80047),h=u.wrapTreePathInfo,d=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var i={name:e.name,children:e.data};f(i);var r=e.levels||[],a=this.designatedVisualItemStyle={},l=new s({itemStyle:a},this,t);r=e.levels=p(r,t);var c=n.map(r||[],(function(e){return new s(e,l,t)}),this),u=o.createTree(i,this,h);function h(e){e.wrapMethod("getItemModel",(function(e,t){var i=u.getNodeByDataIndex(t),n=c[i.depth];return e.parentModel=n||l,e}))}return u.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),r=n.isArray(i)?c(i[0]):c(i),o=t.getName(e);return l(o+": "+r)},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=h(i,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},n.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=n.createHashMap(),this._idIndexMapCount=0);var i=t.get(e);return null==i&&t.set(e,i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function f(e){var t=0;n.each(e.children,(function(e){f(e);var i=e.value;n.isArray(i)&&(i=i[0]),t+=i}));var i=e.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),n.isArray(e.value)?e.value[0]=i:e.value=i}function p(e,t){var i=t.get("color");if(i){var r;if(e=e||[],n.each(e,(function(e){var t=new s(e),i=t.get("color");(t.get("itemStyle.color")||i&&"none"!==i)&&(r=!0)})),!r){var o=e[0]||(e[0]={});o.color=i.slice()}return e}}e.exports=d},90060:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442),s=i(1032),a=i(80047),l=i(8858),c=i(95441),u=i(39587),h=i(13388),d=i(3568),f=i(81935),p=i(8595),g=p.windowOpen,v=r.bind,m=o.Group,y=o.Rect,_=r.each,x=3,b=["label"],w=["emphasis","label"],S=["upperLabel"],C=["emphasis","upperLabel"],A=10,M=1,k=2,T=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),I=function(e){var t=T(e);return t.stroke=t.fill=t.lineWidth=null,t},L=n.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=E(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,i,n){var o=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(r.indexOf(o,e)<0)){this.seriesModel=e,this.api=i,this.ecModel=t;var s=["treemapZoomToNode","treemapRootToNode"],l=a.retrieveTargetInfo(n,s,e),c=n&&n.type,u=e.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===c&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(u),g=this._doRender(p,e,f);h||c&&"treemapZoomToNode"!==c&&"treemapRootToNode"!==c?g.renderFinally():this._doAnimation(p,g,e,f),this._resetController(i),this._renderBreadcrumb(e,i,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,i){var n=t.getData().tree,o=this._oldTree,a=E(),l=E(),c=this._storage,u=[],h=r.curry(D,t,l,c,i,a,u);f(n.root?[n.root]:[],o&&o.root?[o.root]:[],e,n===o||!o,0);var d=p(c);return this._oldTree=n,this._storage=l,{lastsForAnimation:a,willDeleteEls:d,renderFinally:g};function f(e,t,i,n,o){function a(e){return e.getId()}function l(r,s){var a=null!=r?e[r]:null,l=null!=s?t[s]:null,c=h(a,l,i,o);c&&f(a&&a.viewChildren||[],l&&l.viewChildren||[],c,n,o+1)}n?(t=e,_(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new s(t,e,a,a).add(l).update(l).remove(r.curry(l,null)).execute()}function p(e){var t=E();return e&&_(e,(function(e,i){var n=t[i];_(e,(function(e){e&&(n.push(e),e.__tmWillDelete=1)}))})),t}function g(){_(d,(function(e){_(e,(function(e){e.parent&&e.parent.remove(e)}))})),_(u,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,i,n){if(i.get("animation")){var o=i.get("animationDurationUpdate"),s=i.get("animationEasing"),a=d.createWrap();_(t.willDeleteEls,(function(e,t){_(e,(function(e,i){if(!e.invisible){var r,l=e.parent;if(n&&"drillDown"===n.direction)r=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,u=0;l.__tmWillDelete||(c=l.__tmNodeWidth/2,u=l.__tmNodeHeight/2),r="nodeGroup"===t?{position:[c,u],style:{opacity:0}}:{shape:{x:c,y:u,width:0,height:0},style:{opacity:0}}}r&&a.add(e,r,o,s)}}))})),_(this._storage,(function(e,i){_(e,(function(e,n){var l=t.lastsForAnimation[i][n],c={};l&&("nodeGroup"===i?l.old&&(c.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(c.shape=r.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),c.style={opacity:1}):1!==e.style.opacity&&(c.style={opacity:1})),a.add(e,c,o,s))}))}),this),this._state="animating",a.done(v((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new c(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",v(this._onPan,this)),t.on("zoom",v(this._onZoom,this)));var i=new u(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return i.contain(t,n)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>x||Math.abs(e.dy)>x)){var t=this.seriesModel.getData().tree.root;if(!t)return;var i=t.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},_onZoom:function(e){var t=e.originX,i=e.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;var o=new u(r.x,r.y,r.width,r.height),s=this.seriesModel.layoutInfo;t-=s.x,i-=s.y;var a=h.create();h.translate(a,a,[-t,-i]),h.scale(a,a,[e.scale,e.scale]),h.translate(a,a,[t,i]),o.applyTransform(a),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var i=this.findTarget(e.offsetX,e.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===t)this._zoomToNode(i);else if("link"===t){var r=n.hostTree.data.getItemModel(n.dataIndex),o=r.get("link",!0),s=r.get("target",!0)||"blank";o&&g(o,s)}}}}}),this)},_renderBreadcrumb:function(e,t,i){function n(t){"animating"!==this._state&&(a.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}i||(i=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,i.node,v(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=E(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var r=this._storage.background[n.getRawIndex()];if(r){var o=r.transformCoordToLocal(e,t),s=r.shape;if(!(s.x<=o[0]&&o[0]<=s.x+s.width&&s.y<=o[1]&&o[1]<=s.y+s.height))return!1;i={node:n,offsetX:o[0],offsetY:o[1]}}}),this),i}});function E(){return{nodeGroup:[],background:[],content:[]}}function D(e,t,i,n,s,a,l,c,u,h){if(l){var d=l.getLayout(),f=e.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,v=d.borderWidth,_=d.invisible,x=l.getRawIndex(),A=c&&c.getRawIndex(),L=l.viewChildren,E=d.upperHeight,D=L&&L.length,P=l.getModel("itemStyle"),R=l.getModel("emphasis.itemStyle"),B=G("nodeGroup",m);if(B){if(u.add(B),B.attr("position",[d.x||0,d.y||0]),B.__tmNodeWidth=p,B.__tmNodeHeight=g,d.isAboveViewRoot)return B;var N=l.getModel(),z=G("background",y,h,M);if(z&&F(B,z,D&&d.upperLabelHeight),D)o.isHighDownDispatcher(B)&&o.setAsHighDownDispatcher(B,!1),z&&(o.setAsHighDownDispatcher(z,!0),f.setItemGraphicEl(l.dataIndex,z));else{var H=G("content",y,h,k);H&&V(B,H),z&&o.isHighDownDispatcher(z)&&o.setAsHighDownDispatcher(z,!1),o.setAsHighDownDispatcher(B,!0),f.setItemGraphicEl(l.dataIndex,B)}return B}}}function F(t,i,n){if(i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex,i.setShape({x:0,y:0,width:p,height:g}),_)j(i);else{i.invisible=!1;var r=l.getVisual("borderColor",!0),s=R.get("borderColor"),a=I(P);a.fill=r;var c=T(R);if(c.fill=s,n){var u=p-2*v;$(a,c,r,u,E,{x:v,y:0,width:u,height:E})}else a.text=c.text=null;i.setStyle(a),o.setElementHoverStyle(i,c)}t.add(i)}function V(t,i){i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex;var n=Math.max(p-2*v,0),r=Math.max(g-2*v,0);if(i.culling=!0,i.setShape({x:v,y:v,width:n,height:r}),_)j(i);else{i.invisible=!1;var s=l.getVisual("color",!0),a=I(P);a.fill=s;var c=T(R);$(a,c,s,n,r),i.setStyle(a),o.setElementHoverStyle(i,c)}t.add(i)}function j(e){!e.invisible&&a.push(e)}function $(t,i,n,s,a,c){var u=N.get("name"),h=N.getModel(c?S:b),f=N.getModel(c?C:w),p=h.getShallow("show");o.setLabelStyle(t,i,h,f,{defaultText:p?u:null,autoColor:n,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:c?"upperLabel":"label"}),W(t,c,d),W(i,c,d),c&&(t.textRect=r.clone(c)),t.truncate=p&&h.get("ellipsis")?{outerWidth:s,outerHeight:a,minChar:2}:null}function W(t,i,n){var r=t.text;if(!i&&n.isLeafRoot&&null!=r){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+r:r}}function G(e,n,r,o){var a=null!=A&&i[e][A],l=s[e];return a?(i[e][A]=null,U(l,a,e)):_||(a=new n({z:O(r,o)}),a.__tmDepth=r,a.__tmStorageName=e,q(l,a,e)),t[e][x]=a}function U(e,t,i){var n=e[x]={};n.old="nodeGroup"===i?t.position.slice():r.extend({},t.shape)}function q(e,t,i){var r=e[x]={},o=l.parentNode;if(o&&(!n||"drillDown"===n.direction)){var a=0,c=0,u=s.background[o.getRawIndex()];!n&&u&&u.old&&(a=u.old.width,c=u.old.height),r.old="nodeGroup"===i?[0,c]:{x:a,y:c,width:0,height:0}}r.fadein="nodeGroup"!==i}}function O(e,t){var i=e*A+t;return(i-1)/i}e.exports=L},54155:function(e,t,i){for(var n=i(89231),r=i(80047),o=function(){},s=["treemapZoomToNode","treemapRender","treemapMove"],a=0;a=0;l--){var c=r["asc"===n?s-l-1:l].getValue();c/i*ta[1]&&(a[1]=t)}))}else a=[NaN,NaN];return{sum:n,dataExtent:a}}function C(e,t,i){for(var n,r=0,o=1/0,s=0,a=e.length;sr&&(r=n));var l=e.area*e.area,c=t*t*i;return l?u(c*r/l,l/(c*o)):1/0}function A(e,t,i,n,r){var o=t===i.width?0:1,s=1-o,a=["x","y"],l=["width","height"],c=i[a[o]],d=t?e.area/t:0;(r||d>i[l[s]])&&(d=i[l[s]]);for(var f=0,p=e.length;fa&&(u=a),s=o}u=i.length||e===i[e.depth]){var o=v(r,g,e,t,x,n);c(e,o,i,n)}}))}else l=h(g,e),e.setVisual("color",l)}}function u(e,t,i){var n=o.extend({},t),r=i.designatedVisualItemStyle;return o.each(["color","colorAlpha","colorSaturation"],(function(i){r[i]=t[i];var o=e.get(i);r[i]=null,null!=o&&(n[i]=o)})),n}function h(e){var t=f(e,"color");if(t){var i=f(e,"colorAlpha"),n=f(e,"colorSaturation");return n&&(t=r.modifyHSL(t,null,null,n)),i&&(t=r.modifyAlpha(t,i)),t}}function d(e,t){return null!=t?r.modifyHSL(t,null,null,e):null}function f(e,t){var i=e[t];if(null!=i&&"none"!==i)return i}function p(e,t,i,r,o,s){if(s&&s.length){var a=g(t,"color")||null!=o.color&&"none"!==o.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(a){var l=t.get("visualMin"),c=t.get("visualMax"),u=i.dataExtent.slice();null!=l&&lu[1]&&(u[1]=c);var h=t.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new n(d);return f.__drColorMappingBy=h,f}}}function g(e,t){var i=e.get(t);return s(i)&&i.length?{name:t,range:i}:null}function v(e,t,i,n,r,s){var a=o.extend({},t);if(r){var l=r.type,c="color"===l&&r.__drColorMappingBy,u="index"===c?n:"id"===c?s.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));a[l]=r.mapValueToVisual(u)}return a}e.exports=l},87759:function(e,t,i){i(35866),i(23212)},49548:function(e,t,i){i(67384),i(83657)},76683:function(e,t,i){var n=i(89231),r=i(95289),o=i(47181),s=i(38363);i(7401),i(74067),i(25178),n.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!r.isArray(t)&&(e.axisPointer.link=[t])}})),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)})),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},s)},7401:function(e,t,i){var n=i(89231),r=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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}}}),o=r;e.exports=o},74067:function(e,t,i){var n=i(89231),r=i(22921),o=n.extendComponentView({type:"axisPointer",render:function(e,t,i){var n=t.getComponent("tooltip"),o=e.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";r.register("axisPointer",i,(function(e,t,i){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){r.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){r.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),s=o;e.exports=s},42533:function(e,t,i){var n=i(95289),r=i(11724),o=i(76442),s=i(47181),a=i(88665),l=i(88336),c=i(63199),u=c.makeInner,h=u(),d=n.clone,f=n.bind;function p(){}function g(e,t,i,n){v(h(i).lastProp,n)||(h(i).lastProp=n,t?o.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function v(e,t){if(n.isObject(e)&&n.isObject(t)){var i=!0;return n.each(t,(function(t,n){i=i&&v(e[n],t)})),!!i}return e===t}function m(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function _(e,t,i){var n=t.get("z"),r=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r),e.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,r){var s=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,r||this._lastValue!==s||this._lastStatus!==a){this._lastValue=s,this._lastStatus=a;var l=this._group,c=this._handle;if(!a||"hide"===a)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,s,e,t,i);var h=u.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=n.curry(g,t,d);this.updatePointerEl(l,u,f,t),this.updateLabelEl(l,u,f,t)}else l=this._group=new o.Group,this.createPointerEl(l,u,e,t),this.createLabelEl(l,u,e,t),i.getZr().add(l);_(l,t,!0),this._renderHandle(s)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,r="category"===n.type,o=t.get("snap");if(!o&&!r)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(r&&n.getBandWidth()>a)return!0;if(o){var l=s.getAxisInfo(e).seriesDataCount,c=n.getExtent();return Math.abs(c[0]-c[1])/l>a}return!1}return!0===i},makeElOption:function(e,t,i,n,r){},createPointerEl:function(e,t,i,n){var r=t.pointer;if(r){var s=h(e).pointerEl=new o[r.type](d(t.pointer));e.add(s)}},createLabelEl:function(e,t,i,n){if(t.label){var r=h(e).labelEl=new o.Rect(d(t.label));e.add(r),m(r,n)}},updatePointerEl:function(e,t,i){var n=h(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var r=h(e).labelEl;r&&(r.setStyle(t.label.style),i(r,{shape:t.label.shape,position:t.label.position}),m(r,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,i=this._axisPointerModel,r=this._api.getZr(),s=this._handle,c=i.getModel("handle"),u=i.get("status");if(!c.get("show")||!u||"hide"===u)return s&&r.remove(s),void(this._handle=null);this._handle||(t=!0,s=this._handle=o.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){a.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(s)),_(s,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];s.setStyle(c.getItemStyle(null,h));var d=c.get("size");n.isArray(d)||(d=[d,d]),s.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},p.prototype.constructor=p,r.enableClassExtend(p);var x=p;e.exports=x},25178:function(e,t,i){var n=i(42533),r=i(67419),o=i(30625),s=i(27963),a=n.extend({makeElOption:function(e,t,i,n,s){var a=i.axis,u=a.grid,h=n.get("type"),d=l(u,a).getOtherAxis(a).getGlobalExtent(),f=a.toGlobalCoord(a.dataToCoord(t,!0));if(h&&"none"!==h){var p=r.buildElStyle(n),g=c[h](a,f,d);g.style=p,e.graphicKey=g.type,e.pointer=g}var v=o.layout(u.model,i);r.buildCartesianSingleLabelElOption(t,e,v,i,n,s)},getHandleTransform:function(e,t,i){var n=o.layout(t.axis.grid.model,t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:r.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,n){var r=i.axis,o=r.grid,s=r.getGlobalExtent(!0),a=l(o,r).getOtherAxis(r).getGlobalExtent(),c="x"===r.dim?0:1,u=e.position;u[c]+=t[c],u[c]=Math.min(s[1],u[c]),u[c]=Math.max(s[0],u[c]);var h=(a[1]+a[0])/2,d=[h,h];d[c]=u[c];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:e.rotation,cursorPoint:d,tooltipOption:f[c]}}});function l(e,t){var i={};return i[t.dim+"AxisIndex"]=t.index,e.getCartesian(i)}var c={line:function(e,t,i){var n=r.makeLineShape([t,i[0]],[t,i[1]],u(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,i){var n=Math.max(1,e.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:r.makeRectShape([t-n/2,i[0]],[n,o],u(e))}}};function u(e){return"x"===e.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",a);var h=a;e.exports=h},26012:function(e,t,i){var n=i(8595),r=i(42533),o=i(76442),s=i(67419),a=i(13388),l=i(11011),c=i(27963),u=r.extend({makeElOption:function(e,t,i,r,o){var a=i.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var l,c=a.polar,u=c.getOtherAxis(a),f=u.getExtent();l=a["dataTo"+n.capitalFirst(a.dim)](t);var p=r.get("type");if(p&&"none"!==p){var g=s.buildElStyle(r),v=d[p](a,c,l,f,g);v.style=g,e.graphicKey=v.type,e.pointer=v}var m=r.get("label.margin"),y=h(t,i,r,c,m);s.buildLabelElOption(e,i,r,o,y)}});function h(e,t,i,n,r){var s=t.axis,c=s.dataToCoord(e),u=n.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,f,p=n.getRadiusAxis().getExtent();if("radius"===s.dim){var g=a.create();a.rotate(g,g,u),a.translate(g,g,[n.cx,n.cy]),h=o.applyTransform([c,-r],g);var v=t.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(u,v*Math.PI/180,-1);d=m.textAlign,f=m.textVerticalAlign}else{var y=p[1];h=n.coordToPoint([y+r,c]);var _=n.cx,x=n.cy;d=Math.abs(h[0]-_)/y<.3?"center":h[0]>_?"left":"right",f=Math.abs(h[1]-x)/y<.3?"middle":h[1]>x?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(e,t,i,n,r){return"angle"===e.dim?{type:"Line",shape:s.makeLineShape(t.coordToPoint([n[0],i]),t.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:i}}},shadow:function(e,t,i,n,r){var o=Math.max(1,e.getBandWidth()),a=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,n[0],n[1],(-i-o/2)*a,(o/2-i)*a)}:{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,i-o/2,i+o/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u);var f=u;e.exports=f},86022:function(e,t,i){var n=i(42533),r=i(67419),o=i(71099),s=i(27963),a=["x","y"],l=["width","height"],c=n.extend({makeElOption:function(e,t,i,n,s){var a=i.axis,l=a.coordinateSystem,c=d(l,1-h(a)),f=l.dataToPoint(t)[0],p=n.get("type");if(p&&"none"!==p){var g=r.buildElStyle(n),v=u[p](a,f,c);v.style=g,e.graphicKey=v.type,e.pointer=v}var m=o.layout(i);r.buildCartesianSingleLabelElOption(t,e,m,i,n,s)},getHandleTransform:function(e,t,i){var n=o.layout(t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:r.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,n){var r=i.axis,o=r.coordinateSystem,s=h(r),a=d(o,s),l=e.position;l[s]+=t[s],l[s]=Math.min(a[1],l[s]),l[s]=Math.max(a[0],l[s]);var c=d(o,1-s),u=(c[1]+c[0])/2,f=[u,u];return f[s]=l[s],{position:l,rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),u={line:function(e,t,i){var n=r.makeLineShape([t,i[0]],[t,i[1]],h(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,i){var n=e.getBandWidth(),o=i[1]-i[0];return{type:"Rect",shape:r.makeRectShape([t-n/2,i[0]],[n,o],h(e))}}};function h(e){return e.isHorizontal()?0:1}function d(e,t){var i=e.getRect();return[i[a[t]],i[a[t]]+i[l[t]]]}s.registerAxisPointerClass("SingleAxisPointer",c);var f=c;e.exports=f},38363:function(e,t,i){var n=i(95289),r=i(63199),o=r.makeInner,s=i(47181),a=i(13390),l=n.each,c=n.curry,u=o();function h(e,t,i){var r=e.currTrigger,o=[e.x,e.y],s=e,u=e.dispatchAction||n.bind(i.dispatchAction,i),h=t.getComponent("axisPointer").coordSysAxesInfo;if(h){b(o)&&(o=a({seriesIndex:s.seriesIndex,dataIndex:s.dataIndex},t).point);var f=b(o),w=s.axesInfo,S=h.axesInfo,C="leave"===r||b(o),A={},M={},k={list:[],map:{}},T={showPointer:c(p,M),showTooltip:c(g,k)};l(h.coordSysMap,(function(e,t){var i=f||e.containPoint(o);l(h.coordSysAxesInfo[t],(function(e,t){var n=e.axis,r=_(w,e);if(!C&&i&&(!w||r)){var s=r&&r.value;null!=s||f||(s=n.pointToData(o)),null!=s&&d(e,s,T,!1,A)}}))}));var I={};return l(S,(function(e,t){var i=e.linkGroup;i&&!M[t]&&l(i.axesInfo,(function(t,n){var r=M[n];if(t!==e&&r){var o=r.value;i.mapper&&(o=e.axis.scale.parse(i.mapper(o,x(t),x(e)))),I[e.key]=o}}))})),l(I,(function(e,t){d(S[t],e,T,!0,A)})),v(M,S,A),m(k,o,e,u),y(S,u,i),A}}function d(e,t,i,r,o){var s=e.axis;if(!s.scale.isBlank()&&s.containData(t))if(e.involveSeries){var a=f(t,e),l=a.payloadBatch,c=a.snapToValue;l[0]&&null==o.seriesIndex&&n.extend(o,l[0]),!r&&e.snap&&s.containData(c)&&null!=c&&(t=c),i.showPointer(e,t,l,o),i.showTooltip(e,a,c)}else i.showPointer(e,t)}function f(e,t){var i=t.axis,n=i.dim,r=e,o=[],s=Number.MAX_VALUE,a=-1;return l(t.seriesModels,(function(t,c){var u,h,d=t.getData().mapDimension(n,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(d,e,i);h=f.dataIndices,u=f.nestestValue}else{if(h=t.getData().indicesOfNearest(d[0],e,"category"===i.type?.5:null),!h.length)return;u=t.getData().get(d[0],h[0])}if(null!=u&&isFinite(u)){var p=e-u,g=Math.abs(p);g<=s&&((g=0&&a<0)&&(s=g,a=p,r=u,o.length=0),l(h,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:r}}function p(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function g(e,t,i,n){var r=i.payloadBatch,o=t.axis,a=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&r.length){var c=t.coordSys.model,u=s.makeKey(c),h=e.map[u];h||(h=e.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},e.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(e,t,i){var n=i.axesInfo=[];l(t,(function(t,i){var r=t.axisPointerModel.option,o=e[i];o?(!t.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}))}function m(e,t,i,n){if(!b(t)&&e.list.length){var r=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:e.list})}else n({type:"hideTip"})}function y(e,t,i){var r=i.getZr(),o="axisPointerLastHighlights",s=u(r)[o]||{},a=u(r)[o]={};l(e,(function(e,t){var i=e.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var c=[],h=[];n.each(s,(function(e,t){!a[t]&&h.push(e)})),n.each(a,(function(e,t){!s[t]&&c.push(e)})),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),c.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:c})}function _(e,t){for(var i=0;i<(e||[]).length;i++){var n=e[i];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function x(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function b(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=h},13390:function(e,t,i){var n=i(95289),r=i(63199);function o(e,t){var i,o=[],s=e.seriesIndex;if(null==s||!(i=t.getSeriesByIndex(s)))return{point:[]};var a=i.getData(),l=r.queryDataIndex(a,e);if(null==l||l<0||n.isArray(l))return{point:[]};var c=a.getItemGraphicEl(l),u=i.coordinateSystem;if(i.getTooltipPosition)o=i.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)o=u.dataToPoint(a.getValues(n.map(u.dimensions,(function(e){return a.mapDimension(e)})),l,!0))||[];else if(c){var h=c.getBoundingRect().clone();h.applyTransform(c.transform),o=[h.x+h.width/2,h.y+h.height/2]}return{point:o,el:c}}e.exports=o},22921:function(e,t,i){var n=i(95289),r=i(87190),o=i(63199),s=o.makeInner,a=s(),l=n.each;function c(e,t,i){if(!r.node){var n=t.getZr();a(n).records||(a(n).records={}),u(n,t);var o=a(n).records[e]||(a(n).records[e]={});o.handler=i}}function u(e,t){function i(i,n){e.on(i,(function(i){var r=p(t);l(a(e).records,(function(e){e&&n(e,i,r.dispatchAction)})),h(r.pendings,t)}))}a(e).initialized||(a(e).initialized=!0,i("click",n.curry(f,"click")),i("mousemove",n.curry(f,"mousemove")),i("globalout",d))}function h(e,t){var i,n=e.showTip.length,r=e.hideTip.length;n?i=e.showTip[n-1]:r&&(i=e.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function d(e,t,i){e.handler("leave",null,i)}function f(e,t,i,n){t.handler(e,i,n)}function p(e){var t={showTip:[],hideTip:[]},i=function(n){var r=t[n.type];r?r.push(n):(n.dispatchAction=i,e.dispatchAction(n))};return{dispatchAction:i,pendings:t}}function g(e,t){if(!r.node){var i=t.getZr(),n=(a(i).records||{})[e];n&&(a(i).records[e]=null)}}t.register=c,t.unregister=g},47181:function(e,t,i){var n=i(95289),r=i(40590),o=n.each,s=n.curry;function a(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,e,t),i.seriesInvolved&&u(i,e),i}function l(e,t,i){var n=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),a=r.get("link",!0)||[],l=[];o(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var u=m(i.model),d=e.coordSysAxesInfo[u]={};e.coordSysMap[u]=i;var f=i.model,p=f.getModel("tooltip",n);if(o(i.getAxes(),s(x,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),_=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&o(_.baseAxes,s(x,!y||"cross",g)),y&&o(_.otherAxes,s(x,"cross",!1))}}function x(n,o,s){var u=s.model.getModel("axisPointer",r),f=u.get("show");if(f&&("auto"!==f||n||v(u))){null==o&&(o=u.get("triggerTooltip")),u=n?c(s,p,r,t,n,o):u;var g=u.get("snap"),y=m(s.model),_=o||g||"category"===s.type,x=e.axesInfo[y]={key:y,axis:s,coordSys:i,axisPointerModel:u,triggerTooltip:o,involveSeries:_,snap:g,useHandle:v(u),seriesModels:[]};d[y]=x,e.seriesInvolved|=_;var b=h(a,s);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=x,w.mapper=a[b].mapper,x.linkGroup=w}}}}))}function c(e,t,i,s,a,l){var c=t.getModel("axisPointer"),u={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){u[e]=n.clone(c.get(e))})),u.snap="category"!==e.type&&!!l,"cross"===c.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var d=c.get("label.show");if(h.show=null==d||d,!l){var f=u.lineStyle=c.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return e.model.getModel("axisPointer",new r(u,i,s))}function u(e,t){t.eachSeries((function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0),r=t.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[m(i.model)],(function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function h(e,t){for(var i=t.model,n=t.dim,r=0;r=0||e===t}function f(e){var t=p(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,r=i.option,o=i.get("status"),s=i.get("value");null!=s&&(s=n.parse(s));var a=v(i);null==o&&(r.status=a?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==s||s>l[1])&&(s=l[1]),st[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],i]),r=e.coordToPoint([t[1],i]);return{x1:n[0],y1:n[1],x2:r[0],y2:r[1]}}function u(e){var t=e.getRadiusAxis();return t.inverse?0:1}function h(e){var t=e[0],i=e[e.length-1];t&&i&&Math.abs(Math.abs(t.coord-i.coord)-360)<1e-4&&e.pop()}var d=s.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,o=r.getRadiusAxis().getExtent(),s=i.getTicksCoords(),a=i.getMinorTicksCoords(),c=n.map(i.getViewLabels(),(function(e){e=n.clone(e);return e.coord=i.dataToCoord(e.tickValue),e}));h(c),h(s),n.each(l,(function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,s,a,o,c)}),this)}},_axisLine:function(e,t,i,n,o){var s,a=e.getModel("axisLine.lineStyle"),l=u(t),c=l?0:1;s=0===o[c]?new r.Circle({shape:{cx:t.cx,cy:t.cy,r:o[l]},style:a.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:t.cx,cy:t.cy,r:o[l],r0:o[c]},style:a.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,this.group.add(s)},_axisTick:function(e,t,i,o,s){var a=e.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),h=s[u(t)],d=n.map(i,(function(e){return new r.Line({shape:c(t,[h,h+l],e.coord)})}));this.group.add(r.mergePath(d,{style:n.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,i,o,s){if(o.length){for(var a=e.getModel("axisTick"),l=e.getModel("minorTick"),h=(a.get("inside")?-1:1)*l.get("length"),d=s[u(t)],f=[],p=0;pm?"left":"right",x=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";h&&h[c]&&h[c].textStyle&&(s=new o(h[c].textStyle,d,d.ecModel));var b=new r.Text({silent:a.isLabelSilent(e)});this.group.add(b),r.setTextStyle(b.style,s,{x:v[0],y:v[1],textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:_,textVerticalAlign:x}),p&&(b.eventData=a.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=i.rawLabel)}),this)},_splitLine:function(e,t,i,o,s){var a=e.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var d=[],f=0;ff[1]?-1:1,g=["start"===a?f[0]-p*d:"end"===a?f[1]+p*d:(f[0]+f[1])/2,E(a)?e.labelOffset+u*d:0],v=t.get("nameRotate");null!=v&&(v=v*b/180),E(a)?n=A(e.rotation,null!=v?v:e.rotation,u):(n=M(e,a,v||0,f),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(n.rotation)),!isFinite(o)&&(o=null)));var m=h.getFont(),y=t.get("nameTruncate",!0)||{},_=y.ellipsis,x=r(e.nameTruncateMaxWidth,y.maxWidth,o),w=null!=_&&null!=x?l.truncateText(i,x,m,_,{minChar:2,placeholder:y.placeholder}):i,S=t.get("tooltip",!0),T=t.mainType,I={componentType:T,name:i,$vars:["name"]};I[T+"Index"]=t.componentIndex;var L=new c.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:k(t),z2:1,tooltip:S&&S.show?s({content:i,formatter:function(){return i},formatterParams:I},S):null});c.setTextStyle(L.style,h,{text:w,textFont:m,textFill:h.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:h.get("align")||n.textAlign,textVerticalAlign:h.get("verticalAlign")||n.textVerticalAlign}),t.get("triggerEvent")&&(L.eventData=C(t),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},C=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},A=w.innerTextLayout=function(e,t,i){var n,r,o=f(t-e);return d(o)?(r=i>0?"top":"bottom",n="center"):d(o-b)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=o>0&&o0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:r}};function M(e,t,i,n){var r,o,s=f(i-e.rotation),a=n[0]>n[1],l="start"===t&&!a||"start"!==t&&a;return d(s-b/2)?(o=l?"bottom":"top",r="center"):d(s-1.5*b)?(o=l?"top":"bottom",r="center"):(o="middle",r=s<1.5*b&&s>b/2?l?"left":"right":l?"right":"left"),{rotation:s,textAlign:r,textVerticalAlign:o}}var k=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function T(e,t,i){if(!x(e.axis)){var n=e.get("axisLabel.showMinLabel"),r=e.get("axisLabel.showMaxLabel");t=t||[],i=i||[];var o=t[0],s=t[1],a=t[t.length-1],l=t[t.length-2],c=i[0],u=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(I(o),I(c)):L(o,s)&&(n?(I(s),I(u)):(I(o),I(c))),!1===r?(I(a),I(h)):L(l,a)&&(r?(I(l),I(d)):(I(a),I(h)))}}function I(e){e&&(e.ignore=!0)}function L(e,t,i){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var o=v.identity([]);return v.rotate(o,o,-e.rotation),n.applyTransform(v.mul([],o,e.getLocalTransform())),r.applyTransform(v.mul([],o,t.getLocalTransform())),n.intersect(r)}}function E(e){return"middle"===e||"center"===e}function D(e,t,i,n,r){for(var o=[],s=[],a=[],l=0;lt[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&w(t)}};function w(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=p},36275:function(e,t,i){i(17354),i(89025),i(67209)},67209:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442),s=i(8595),a=i(44261),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},c={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},u=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,i){var n=this.group;n.removeAll();var r=e.coordinateSystem,o=r.getRangeInfo(),s=r.getOrient();this._renderDayRect(e,o,n),this._renderLines(e,o,s,n),this._renderYearText(e,o,s,n),this._renderMonthText(e,s,n),this._renderWeekText(e,o,s,n)},_renderDayRect:function(e,t,i){for(var n=e.coordinateSystem,r=e.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),a=n.getCellHeight(),l=t.start.time;l<=t.end.time;l=n.getNextNDay(l,1).time){var c=n.dataToRect([l],!1).tl,u=new o.Rect({shape:{x:c[0],y:c[1],width:s,height:a},cursor:"default",style:r});i.add(u)}},_renderLines:function(e,t,i,n){var r=this,o=e.coordinateSystem,s=e.getModel("splitLine.lineStyle").getLineStyle(),a=e.get("splitLine.show"),l=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,u=0;c.time<=t.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(t.start.y+"-"+t.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(t){r._firstDayOfMonth.push(o.getDateInfo(t)),r._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=r._getLinePointsOfOneWeek(e,t,i);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),a&&r._drawSplitline(l,s,n)}d(o.getNextNDay(t.end.time,1).formatedDate),a&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,i),s,n),a&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,i),s,n)},_getEdgesPoints:function(e,t,i){var n=[e[0].slice(),e[e.length-1].slice()],r="horizontal"===i?0:1;return n[0][r]=n[0][r]-t/2,n[1][r]=n[1][r]+t/2,n},_drawSplitline:function(e,t,i){var n=new o.Polyline({z2:20,shape:{points:e},style:t});i.add(n)},_getLinePointsOfOneWeek:function(e,t,i){var n=e.coordinateSystem;t=n.getDateInfo(t);for(var r=[],o=0;o<7;o++){var s=n.getNextNDay(t.time,o),a=n.dataToRect([s.time],!1);r[2*s.day]=a.tl,r[2*s.day+1]=a["horizontal"===i?"bl":"tr"]}return r},_formatterLabel:function(e,t){return"string"===typeof e&&e?s.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,i,n,r){t=t.slice();var o=["center","bottom"];"bottom"===n?(t[1]+=r,o=["center","top"]):"left"===n?t[0]-=r:"right"===n?(t[0]+=r,o=["center","top"]):t[1]-=r;var s=0;return"left"!==n&&"right"!==n||(s=Math.PI/2),{rotation:s,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,i,n){var r=e.getModel("yearLabel");if(r.get("show")){var s=r.get("margin"),a=r.get("position");a||(a="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,h="horizontal"===i?0:1,d={top:[c,l[h][1]],bottom:[c,l[1-h][1]],left:[l[1-h][0],u],right:[l[h][0],u]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var p=r.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:f},v=this._formatterLabel(p,g),m=new o.Text({z2:30});o.setTextStyle(m.style,r,{text:v}),m.attr(this._yearTextPositionControl(m,d[a],i,a,s)),n.add(m)}},_monthTextPositionControl:function(e,t,i,n,r){var o="left",s="top",a=e[0],l=e[1];return"horizontal"===i?(l+=r,t&&(o="center"),"start"===n&&(s="bottom")):(a+=r,t&&(s="middle"),"start"===n&&(o="right")),{x:a,y:l,textAlign:o,textVerticalAlign:s}},_renderMonthText:function(e,t,i){var n=e.getModel("monthLabel");if(n.get("show")){var s=n.get("nameMap"),a=n.get("margin"),c=n.get("position"),u=n.get("align"),h=[this._tlpoints,this._blpoints];r.isString(s)&&(s=l[s.toUpperCase()]||[]);var d="start"===c?0:1,f="horizontal"===t?0:1;a="start"===c?-a:a;for(var p="center"===u,g=0;gn[1]&&(n[1]=t[1])}))})),n[1]0?0:NaN);var s=i.getMax(!0);return null!=s&&"dataMax"!==s&&"function"!==typeof s?t[1]=s:r&&(t[1]=o>0?o-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function d(e,t){var i=e.getAxisModel(),n=e._percentWindow,o=e._valueWindow;if(n){var s=r.getPixelPrecision(o,[0,500]);s=Math.min(s,20);var a=t||0===n[0]&&100===n[1];i.setRange(a?null:+o[0].toFixed(s),a?null:+o[1].toFixed(s))}}function f(e){var t=e._minMaxSpan={},i=e._dataZoomModel,n=e._dataExtent;a(["min","max"],(function(o){var s=i.get(o+"Span"),a=i.get(o+"ValueSpan");null!=a&&(a=e.getAxisModel().axis.scale.parse(a)),null!=a?s=r.linearMap(n[0]+a,n,[0,100],!0):null!=s&&(a=r.linearMap(s,[0,100],n,!0)-n[0]),t[o+"Span"]=s,t[o+"ValueSpan"]=a}))}c.prototype={constructor:c,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(i){if(o.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,r=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&e.push(i)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i,n=this._dimName,r=this.ecModel,o=this.getAxisModel(),s="x"===n||"y"===n;return s?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle"),r.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(i=e)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,i=this._dataExtent,n=this.getAxisModel(),o=n.axis.scale,c=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],d=[];a(["start","end"],(function(n,s){var a=e[n],l=e[n+"Value"];"percent"===c[s]?(null==a&&(a=u[s]),l=o.parse(r.linearMap(a,u,i))):(t=!0,l=null==l?i[s]:o.parse(l),a=r.linearMap(l,i,u)),d[s]=l,h[s]=a})),l(d),l(h);var f=this._minMaxSpan;function p(e,t,i,n,a){var l=a?"Span":"ValueSpan";s(0,e,i,"all",f["min"+l],f["max"+l]);for(var c=0;c<2;c++)t[c]=r.linearMap(e[c],i,n,!0),a&&(t[c]=o.parse(t[c]))}return t?p(d,h,i,u,!1):p(h,d,u,i,!0),{valueWindow:d,percentWindow:h}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=u(this,this._dimName,t),f(this);var i=this.calculateDataWindow(e.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=e.get("filterMode"),o=this._valueWindow;"none"!==r&&a(n,(function(e){var t=e.getData(),n=t.mapDimension(i,!0);n.length&&("weakFilter"===r?t.filterSelf((function(e){for(var i,r,s,a=0;ao[1];if(c&&!u&&!h)return!0;c&&(s=!0),u&&(i=!0),h&&(r=!0)}return s&&i&&r})):a(n,(function(i){if("empty"===r)e.setData(t=t.map(i,(function(e){return s(e)?e:NaN})));else{var n={};n[i]=o,t.selectRange(n)}})),a(n,(function(e){t.setApproximateExtent(o,e)})))}))}function s(e){return e>=o[0]&&e<=o[1]}}};var p=c;e.exports=p},30865:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(87190),a=i(63199),l=i(64601),c=i(778),u=o.each,h=l.eachAxisDim,d=r.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=f(e);this.settledOption=n,this.mergeDefaultAndTheme(e,i),this.doInit(n)},mergeOption:function(e){var t=f(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;s.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var i=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,n){"value"===this._rangePropMode[n]&&(t[e[0]]=i[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,i,n,r){var o=this.dependentModels[t.axis][i],s=o.__dzAxisProxy||(o.__dzAxisProxy=new c(t.name,i,this,r));e[t.name+"_"+i]=s}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();h((function(t){var i=t.axisIndex;e[i]=a.normalizeToArray(e[i])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;h((function(i){null!=e[i.axisIndex]&&(t=!0)}),this);var i=e.orient;return null==i&&t?"orient":t?void 0:(null==i&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),i=this.option,n=this.dependentModels;if(e){var r="vertical"===t?"y":"x";n[r+"Axis"].length?(i[r+"AxisIndex"]=[0],e=!1):u(n.singleAxis,(function(n){e&&n.get("orient",!0)===t&&(i.singleAxisIndex=[n.componentIndex],e=!1)}))}e&&h((function(t){if(e){var n=[],r=this.dependentModels[t.axis];if(r.length&&!n.length)for(var o=0,s=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var e;return h((function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}}),this),e},eachTargetAxis:function(e,t){var i=this.ecModel;h((function(n){u(this.get(n.axisIndex),(function(r){e.call(t,n,r,this,i)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e){var t=this.option,i=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(n){null==e[n[0]]&&null==e[n[1]]||(t[n[0]]=i[n[0]]=e[n[0]],t[n[1]]=i[n[1]]=e[n[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(i){t[i]=e[i]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var i in t)if(t.hasOwnProperty(i)&&t[i].hostedBy(this))return t[i];for(var i in t)if(t.hasOwnProperty(i)&&!t[i].hostedBy(this))return t[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}function p(e,t){var i=e._rangePropMode,n=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,r){var o=null!=t[e[0]],s=null!=t[e[1]];o&&!s?i[r]="percent":!o&&s?i[r]="value":n?i[r]=n[r]:o&&(i[r]="percent")}))}var g=d;e.exports=g},63243:function(e,t,i){var n=i(18328),r=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,i={};function n(e,t,i,n){for(var r,o=0;o0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(s[1]-s[0])+s[0],u=Math.max(1/n.scale,0);s[0]=(s[0]-c)*u+c,s[1]=(s[1]-c)*u+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}},pan:u((function(e,t,i,n,r,o){var s=h[n]([o.oldX,o.oldY],[o.newX,o.newY],t,r,i);return s.signal*(e[1]-e[0])*s.pixel/s.pixelLength})),scrollMove:u((function(e,t,i,n,r,o){var s=h[n]([0,0],[o.scrollDelta,o.scrollDelta],t,r,i);return s.signal*(e[1]-e[0])*o.scrollDelta}))};function u(e){return function(t,i,n,r){var s=this._range,a=s.slice(),l=t.axisModels[0];if(l){var c=e(a,l,t,i,n,r);return o(c,a,[0,100],"all"),this._range=a,s[0]!==a[0]||s[1]!==a[1]?a:void 0}}}var h={grid:function(e,t,i,n,r){var o=i.axis,s={},a=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s},polar:function(e,t,i,n,r){var o=i.axis,s={},a=r.model.coordinateSystem,l=a.getRadiusAxis().getExtent(),c=a.getAngleAxis().getExtent();return e=e?a.pointToCoord(e):[0,0],t=a.pointToCoord(t),"radiusAxis"===i.mainType?(s.pixel=t[0]-e[0],s.pixelLength=l[1]-l[0],s.pixelStart=l[0],s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=c[1]-c[0],s.pixelStart=c[0],s.signal=o.inverse?-1:1),s},singleAxis:function(e,t,i,n,r){var o=i.axis,s=r.model.coordinateSystem.getRect(),a={};return e=e||[0,0],"horizontal"===o.orient?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a}},d=l;e.exports=d},35321:function(e,t,i){var n=i(30865),r=n.extend({type:"dataZoom.select"});e.exports=r},50563:function(e,t,i){var n=i(63243),r=n.extend({type:"dataZoom.select"});e.exports=r},19918:function(e,t,i){var n=i(30865),r=n.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),o=r;e.exports=o},27538:function(e,t,i){var n=i(95289),r=i(88665),o=i(76442),s=i(88336),a=i(63243),l=i(44261),c=i(61570),u=i(96748),h=o.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,v=7,m=1,y=30,_="horizontal",x="vertical",b=5,w=["line","bar","candlestick","scatter"],S=a.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){S.superApply(this,"render",arguments),s.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),s.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),s.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),r={width:t.getWidth(),height:t.getHeight()},o=this._orient===_?{right:r.width-i.x-i.width,top:r.height-y-v,width:i.width,height:y}:{right:v,top:i.y,width:y,height:i.height},s=c.getLayoutParams(e.option);n.each(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=o[e])}));var a=c.getLayoutRect(s,r,e.padding);this._location={x:a.x,y:a.y},this._size=[a.width,a.height],this._orient===x&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),o=this._displayables.barGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==_||r?i===_&&r?{scale:s?[-1,1]:[-1,-1]}:i!==x||r?{scale:s?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:s?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:s?[1,1]:[1,-1]});var a=e.getBoundingRect([o]);e.attr("position",[t.x-a.x,t.y-a.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,r=i.getRawData(),s=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=s){var a=r.getDataExtent(s),l=.3*(a[1]-a[0]);a=[a[0]-l,a[1]+l];var c,u=[0,t[1]],h=[0,t[0]],f=[[t[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),v=0,m=Math.round(r.count()/t[0]);r.each([s],(function(e,t){if(m>0&&t%m)v+=g;else{var i=null==e||isNaN(e)||""===e,n=i?0:d(e,a,u,!0);i&&!c&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&c&&(f.push([v,0]),p.push([v,0])),f.push([v,n]),p.push([v,n]),v+=g,c=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var i,r=this.ecModel;return e.eachTargetAxis((function(o,s){var a=e.getAxisProxy(o.name,s).getTargetSeriesModels();n.each(a,(function(e){if(!i&&!(!0!==t&&n.indexOf(w,e.get("type"))<0)){var a,l=r.getComponent(o.axis,s).axis,c=C(o.name),u=e.coordinateSystem;null!=c&&u.getOtherAxis&&(a=u.getOtherAxis(l).inverse),c=e.getData().mapDimension(c),i={thisAxis:l,series:e,thisDim:o.name,otherDim:c,otherAxisInverse:a}}}),this)}),this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,r=this._size,s=this.dataZoomModel;n.add(e.filler=new h({draggable:!0,cursor:A(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(e){var r=o.createIcon(s.get("handleIcon"),{cursor:A(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),a=r.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=a.width/a.height*this._handleHeight,r.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(r.style.fill=c),n.add(t[e]=r);var u=s.textStyleModel;this.group.add(i[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[d(e[0],[0,100],t,!0),d(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this.dataZoomModel,n=this._handleEnds,r=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];u(t,n,r,i.get("zoomLock")?"all":e,null!=o.minSpan?d(o.minSpan,s,r,!0):null,null!=o.maxSpan?d(o.maxSpan,s,r,!0):null);var a=this._range,l=this._range=f([d(n[0],r,s,!0),d(n[1],r,s,!0)]);return!a||a[0]!==l[0]||a[1]!==l[1]},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=f(i.slice()),r=this._size;g([0,1],(function(e){var n=t.handles[e],o=this._handleHeight;n.attr({scale:[o/2,o/2],position:[i[e],r[1]/2-o/2]})}),this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:r[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,i=this._displayables,n=i.handleLabels,r=this._orient,s=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var l=a.getAxisModel().axis,c=this._range,u=e?a.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:a.getDataValueWindow();s=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var h=f(this._handleEnds.slice());function d(e){var t=o.getTransform(i.handles[e].parent,this.group),a=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+b,c=o.applyTransform([h[e]+(0===e?-l:l),this._size[1]/2],t);n[e].setStyle({x:c[0],y:c[1],textVerticalAlign:r===_?"middle":a,textAlign:r===_?a:"center",text:s[e]})}d.call(this,0),d.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,r=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var s=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return n.isFunction(r)?r(e,s):n.isString(r)?r.replace("{value}",s):s},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i,n){this._dragging=!0,r.stop(n.event);var s=this._displayables.barGroup.getLocalTransform(),a=o.applyTransform([t,i],s,!0),l=this._updateInterval(e,a[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,i=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0||i[0]>t[0]||i[1]<0||i[1]>t[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,o=this._updateInterval("all",i[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}})),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});function C(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function A(e){return"vertical"===e?"ns-resize":"ew-resize"}var M=S;e.exports=M},56928:function(e,t,i){var n=i(89231),r=i(95289),o=i(64601);n.registerAction("dataZoom",(function(e,t){var i=o.createLinkedNodesFinder(r.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),n=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){n.push.apply(n,i(e).nodes)})),r.each(n,(function(t,i){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},37384:function(e,t,i){var n=i(89231),r=i(95289),o=r.createHashMap,s=r.each;n.registerProcessor({getTargetSeries:function(e){var t=o();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,i,n){var r=n.getAxisProxy(e.name,i);s(r.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,i,n){n.getAxisProxy(e.name,i).reset(n,t)})),e.eachTargetAxis((function(e,i,n){n.getAxisProxy(e.name,i).filterData(n,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),i=t.getDataPercentWindow(),n=t.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}))}})},64601:function(e,t,i){var n=i(95289),r=i(8595),o=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];function a(e){return n.indexOf(s,e)>=0}function l(e,t){e=e.slice();var i=n.map(e,r.capitalFirst);t=(t||[]).slice();var o=n.map(t,r.capitalFirst);return function(r,s){n.each(e,(function(e,n){for(var a={name:e,capital:i[n]},l=0;l=0}function o(e,r){var o=!1;return t((function(t){n.each(i(e,t)||[],(function(e){r.records[t.name][e]&&(o=!0)}))})),o}function s(e,r){r.nodes.push(e),t((function(t){n.each(i(e,t)||[],(function(e){r.records[t.name][e]=!0}))}))}}t.isCoordSupported=a,t.createNameEach=l,t.eachAxisDim=c,t.createLinkedNodesFinder=u},5693:function(e,t,i){var n=i(95289),r=n.each,o="\0_ec_hist_store";function s(e,t){var i=u(e);r(t,(function(t,n){for(var r=i.length-1;r>=0;r--){var o=i[r];if(o[n])break}if(r<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var a=s.getPercentRange();i[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}})),i.push(t)}function a(e){var t=u(e),i=t[t.length-1];t.length>1&&t.pop();var n={};return r(i,(function(e,i){for(var r=t.length-1;r>=0;r--){e=t[r][i];if(e){n[i]=e;break}}})),n}function l(e){e[o]=null}function c(e){return u(e).length}function u(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=s,t.pop=a,t.clear=l,t.count=c},87103:function(e,t,i){var n=i(95289),r=i(95441),o=i(88336),s="\0_ec_dataZoom_roams";function a(e,t){var i=u(e),r=t.dataZoomId,s=t.coordId;n.each(i,(function(e,i){var o=e.dataZoomInfos;o[r]&&n.indexOf(t.allCoordIds,s)<0&&(delete o[r],e.count--)})),d(i);var a=i[s];a||(a=i[s]={coordId:s,dataZoomInfos:{},count:0},a.controller=h(e,a),a.dispatchAction=n.curry(f,e)),!a.dataZoomInfos[r]&&a.count++,a.dataZoomInfos[r]=t;var l=p(a.dataZoomInfos);a.controller.enable(l.controlType,l.opt),a.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(a,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var i=u(e);n.each(i,(function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)})),d(i)}function c(e){return e.type+"\0_"+e.id}function u(e){var t=e.getZr();return t[s]||(t[s]={})}function h(e,t){var i=new r(e.getZr());return n.each(["pan","zoom","scrollMove"],(function(e){i.on(e,(function(i){var r=[];n.each(t.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var o=(n.getRange||{})[e],s=o&&o(t.controller,i);!n.dataZoomModel.get("disabled",!0)&&s&&r.push({dataZoomId:n.dataZoomId,start:s[0],end:s[1]})}})),r.length&&t.dispatchAction(r)}))})),i}function d(e){n.each(e,(function(t,i){t.count||(t.controller.dispose(),delete e[i])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,i="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return n.each(e,(function(e){var n=e.dataZoomModel,s=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");r[i+s]>r[i+t]&&(t=s),o&=n.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=a,t.unregister=l,t.generateCoordId=c},21963:function(e,t,i){var n=i(85532);n.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},613:function(e,t,i){var n=i(85532),r=i(18328),o=i(49442),s=o.detectSourceFormat,a=i(90642),l=a.SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){s(this)}}),r.extend({type:"dataset"})},61232:function(e,t,i){var n=i(89231),r=i(95289);function o(e,t){t.update="updateView",n.registerAction(t,(function(t,i){var n={};return i.eachComponent({mainType:"geo",query:t},(function(i){i[e](t.name);var o=i.coordinateSystem;r.each(o.regions,(function(e){n[e.name]=i.isSelected(e.name)||!1}))})),{selected:n,name:t.name}}))}i(86867),i(98870),i(73315),i(50704),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},73315:function(e,t,i){var n=i(75730),r=i(89231),o=r.extendComponentView({type:"geo",init:function(e,t){var i=new n(t,!0);this._mapDraw=i,this.group.add(i.group)},render:function(e,t,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var r=this._mapDraw;e.get("show")?r.draw(e,t,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},21393:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(63199),a=i(76442),l=i(61570),c=i(44261),u=c.parsePercent,h={path:null,compoundPath:null,group:a.Group,image:a.Image,text:a.Text};r.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var d=r.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,d.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var i=this.option,n=(t?i:e).elements,r=i.elements=t?[]:i.elements,a=[];this._flatten(n,a);var l=s.mappingToExists(r,a);s.makeIdAndName(l);var c=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var i=e.option;i&&(c.push(i),m(e,i),y(r,t,i),_(r[t],i))}),this);for(var u=r.length-1;u>=0;u--)null==r[u]?r.splice(u,1):delete r[u].$action},_flatten:function(e,t,i){o.each(e,(function(e){if(e){i&&(e.parentOption=i),t.push(e);var n=e.children;"group"===e.type&&n&&this._flatten(n,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,i,n){var r=i.type,o=h.hasOwnProperty(r)?h[r]:a.getShapeClass(r),s=new o(i);t.add(s),n.set(e,s),s.__ecGraphicId=e}function p(e,t){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),i.remove(e))}function g(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function v(e,t){var i;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(i=!0)})),i}function m(e,t){var i=e.exist;if(t.id=e.keyInfo.id,!t.type&&i&&(t.type=i.type),null==t.parentId){var n=t.parentOption;n?t.parentId=n.id:i&&(t.parentId=i.parentId)}t.parentOption=null}function y(e,t,i){var n=o.extend({},i),r=e[t],s=i.$action||"merge";"merge"===s?r?(o.merge(r,n,!0),l.mergeLayoutParam(r,n,{ignoreSize:!0}),l.copyLayoutParams(i,r)):e[t]=n:"replace"===s?e[t]=n:"remove"===s&&r&&(e[t]=null)}function _(e,t){e&&(e.hv=t.hv=[v(t,["left","right"]),v(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function x(e,t,i){var n=e.eventData;e.silent||e.ignore||n||(n=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=e.info)}r.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,i)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var i=this._elMap,n=this.group;o.each(t,(function(t){var r=t.$action,o=t.id,s=i.get(o),a=t.parentId,l=null!=a?i.get(a):n,c=t.style;"text"===t.type&&c&&(t.hv&&t.hv[1]&&(c.textVerticalAlign=c.textBaseline=null),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke));var u=g(t);r&&"merge"!==r?"replace"===r?(p(s,i),f(o,l,u,i)):"remove"===r&&p(s,i):s?s.attr(u):f(o,l,u,i);var h=i.get(o);h&&(h.__ecGraphicWidthOption=t.width,h.__ecGraphicHeightOption=t.height,x(h,e,t))}))}},_relocate:function(e,t){for(var i=e.option.elements,n=this.group,r=this._elMap,o=t.getWidth(),s=t.getHeight(),a=0;a=0;a--){c=i[a],h=r.get(c.id);if(h){d=h.parent;var p=d===n?{width:o,height:s}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,c,p,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},61029:function(e,t,i){i(48807),i(25178),i(76683)},48807:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442);i(31020),i(49548),n.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.Rect({shape:e.coordinateSystem.getRect(),style:r.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},33478:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(36112),s=i(76442),a=i(58391),l=i(1032),c=r.curry,u=r.each,h=r.map,d=Math.min,f=Math.max,p=Math.pow,g=1e4,v=6,m=6,y="globalPan",_={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function S(e){o.call(this),this._zr=e,this.group=new s.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},u(re,(function(e,t){this._handlers[t]=r.bind(e,this)}),this)}function C(e,t){var i=e._zr;e._enableGlobalPan||a.take(i,y,e._uid),M(i,e._handlers),e._brushType=t.brushType,e._brushOption=r.merge(r.clone(b),t,!0)}function A(e){var t=e._zr;a.release(t,y,e._uid),k(t,e._handlers),e._brushType=e._brushOption=null}function M(e,t){u(t,(function(t,i){e.on(i,t)}))}function k(e,t){u(t,(function(t,i){e.off(i,t)}))}function T(e,t){var i=ae[t.brushType].createCover(e,t);return i.__brushOption=t,E(i,t),e.group.add(i),i}function I(e,t){var i=O(t);return i.endCreating&&(i.endCreating(e,t),E(t,t.__brushOption)),t}function L(e,t){var i=t.__brushOption;O(t).updateCoverShape(e,t,i.range,i)}function E(e,t){var i=t.z;null==i&&(i=g),e.traverse((function(e){e.z=i,e.z2=i}))}function D(e,t){O(t).updateCommon(e,t),L(e,t)}function O(e){return ae[e.__brushOption.brushType]}function P(e,t,i){var n,r=e._panels;if(!r)return!0;var o=e._transform;return u(r,(function(e){e.isTargetByCursor(t,i,o)&&(n=e)})),n}function R(e,t){var i=e._panels;if(!i)return!0;var n=t.__brushOption.panelId;return null==n||i[n]}function B(e){var t=e._covers,i=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!i}function N(e,t){var i=h(e._covers,(function(e){var t=e.__brushOption,i=r.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:i}}));e.trigger("brush",i,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function z(e){var t=e._track;if(!t.length)return!1;var i=t[t.length-1],n=t[0],r=i[0]-n[0],o=i[1]-n[1],s=p(r*r+o*o,.5);return s>v}function H(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function F(e,t,i,n){var r=new s.Group;return r.add(new s.Rect({name:"main",style:W(i),silent:!0,draggable:!0,cursor:"move",drift:c(e,t,r,"nswe"),ondragend:c(N,t,{isEnd:!0})})),u(n,(function(i){r.add(new s.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(e,t,r,i),ondragend:c(N,t,{isEnd:!0})}))})),r}function V(e,t,i,n){var r=n.brushStyle.lineWidth||0,o=f(r,m),s=i[0][0],a=i[1][0],l=s-r/2,c=a-r/2,u=i[0][1],h=i[1][1],d=u-o+r/2,p=h-o+r/2,g=u-s,v=h-a,y=g+r,_=v+r;$(e,t,"main",s,a,g,v),n.transformable&&($(e,t,"w",l,c,o,_),$(e,t,"e",d,c,o,_),$(e,t,"n",l,c,y,o),$(e,t,"s",l,p,y,o),$(e,t,"nw",l,c,o,o),$(e,t,"ne",d,c,o,o),$(e,t,"sw",l,p,o,o),$(e,t,"se",d,p,o,o))}function j(e,t){var i=t.__brushOption,n=i.transformable,r=t.childAt(0);r.useStyle(W(i)),r.attr({silent:!n,cursor:n?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(i){var r=t.childOfName(i),o=q(e,i);r&&r.attr({silent:!n,invisible:!n,cursor:n?x[o]+"-resize":null})}))}function $(e,t,i,n,r,o,s){var a=t.childOfName(i);a&&a.setShape(J(K(e,t,[[n,r],[n+o,r+s]])))}function W(e){return r.defaults({strokeNoScale:!0},e.brushStyle)}function G(e,t,i,n){var r=[d(e,i),d(t,n)],o=[f(e,i),f(t,n)];return[[r[0],o[0]],[r[1],o[1]]]}function U(e){return s.getTransform(e.group)}function q(e,t){if(t.length>1){t=t.split("");var i=[q(e,t[0]),q(e,t[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"};i=s.transformDirection(n[t],U(e));return r[i]}function Z(e,t,i,n,r,o,s,a){var l=n.__brushOption,c=e(l.range),h=Y(i,o,s);u(r.split(""),(function(e){var t=_[e];c[t[0]][t[1]]+=h[t[0]]})),l.range=t(G(c[0][0],c[1][0],c[0][1],c[1][1])),D(i,n),N(i,{isEnd:!1})}function X(e,t,i,n,r){var o=t.__brushOption.range,s=Y(e,i,n);u(o,(function(e){e[0]+=s[0],e[1]+=s[1]})),D(e,t),N(e,{isEnd:!1})}function Y(e,t,i){var n=e.group,r=n.transformCoordToLocal(t,i),o=n.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function K(e,t,i){var n=R(e,t);return n&&!0!==n?n.clipPath(i,e._transform):r.clone(i)}function J(e){var t=d(e[0][0],e[1][0]),i=d(e[0][1],e[1][1]),n=f(e[0][0],e[1][0]),r=f(e[0][1],e[1][1]);return{x:t,y:i,width:n-t,height:r-i}}function Q(e,t,i){if(e._brushType&&!se(e,t)){var n=e._zr,r=e._covers,o=P(e,t,i);if(!e._dragging)for(var s=0;sn.getWidth()||i<0||i>n.getHeight()}var ae={lineX:le(0),lineY:le(1),rect:{createCover:function(e,t){return F(c(Z,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=H(e);return G(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,i,n){V(e,t,i,n)},updateCommon:j,contain:te},polygon:{createCover:function(e,t){var i=new s.Group;return i.add(new s.Polyline({name:"main",style:W(t),silent:!0})),i},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new s.Polygon({name:"main",draggable:!0,drift:c(X,e,t),ondragend:c(N,e,{isEnd:!0})}))},updateCoverShape:function(e,t,i,n){t.childAt(0).setShape({points:K(e,t,i)})},updateCommon:j,contain:te}};function le(e){return{createCover:function(t,i){return F(c(Z,(function(t){var i=[t,[0,100]];return e&&i.reverse(),i}),(function(t){return t[e]})),t,i,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var i=H(t),n=d(i[0][e],i[1][e]),r=f(i[0][e],i[1][e]);return[n,r]},updateCoverShape:function(t,i,n,r){var o,s=R(t,i);if(!0!==s&&s.getLinearBrushOtherExtent)o=s.getLinearBrushOtherExtent(e,t._transform);else{var a=t._zr;o=[0,[a.getWidth(),a.getHeight()][1-e]]}var l=[n,o];e&&l.reverse(),V(t,i,l,r)},updateCommon:j,contain:te}}var ce=S;e.exports=ce},74080:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(76442),s=i(63199),a=i(54266),l=r.each,c=r.indexOf,u=r.curry,h=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(e,t,i){var n=this._targetInfoList=[],r={},o=v(t,e);l(m,(function(e,t){(!i||!i.include||c(i.include,t)>=0)&&e(o,n,r)}))}var p=f.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function v(e,t){return s.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=x[e.brushType](0,i,t);e.__rangeOffset={offset:w[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}}))},p.matchOutputRanges=function(e,t,i){l(e,(function(e){var n=this.findTargetInfo(e,t);n&&!0!==n&&r.each(n.coordSyses,(function(n){var r=x[e.brushType](1,n,e.range);i(e,r.values,n,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var i=this.findTargetInfo(e,t);if(e.range=e.range||[],i&&!0!==i){e.panelId=i.panelId;var n=x[e.brushType](0,i.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?w[e.brushType](n.values,r.offset,C(n.xyMinMax,r.xyMinMax)):n.values}}),this)},p.makePanelOpts=function(e,t){return r.map(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:t&&t(i),clipPath:a.makeRectPanelClipPath(n),isTargetByCursor:a.makeRectIsTargetByCursor(n,e,i.coordSysModel),getLinearBrushOtherExtent:a.makeLinearBrushOtherExtent(n)}}))},p.controlSeries=function(e,t,i){var n=this.findTargetInfo(e,i);return!0===n||n&&c(n.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=v(t,e),r=0;r=0||c(n,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:_.grid,xAxisDeclared:a[e.id],yAxisDeclared:u[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:i,coordSyses:[i],getPanelRect:_.geo})}))}},y=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,r=e.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],_={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},x={lineX:u(b,0),lineY:u(b,1),rect:function(e,t,i){var n=t[h[e]]([i[0][0],i[1][0]]),r=t[h[e]]([i[0][1],i[1][1]]),o=[g([n[0],r[0]]),g([n[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,i){var n=[[1/0,-1/0],[1/0,-1/0]],o=r.map(i,(function(i){var r=t[h[e]](i);return n[0][0]=Math.min(n[0][0],r[0]),n[1][0]=Math.min(n[1][0],r[1]),n[0][1]=Math.max(n[0][1],r[0]),n[1][1]=Math.max(n[1][1],r[1]),r}));return{values:o,xyMinMax:n}}};function b(e,t,i,n){var o=i.getAxis(["x","y"][e]),s=g(r.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(n[e])):o.toGlobalCoord(o.dataToCoord(n[e]))}))),a=[];return a[e]=s,a[1-e]=[NaN,NaN],{values:s,xyMinMax:a}}var w={lineX:u(S,0),lineY:u(S,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return r.map(e,(function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]}))}};function S(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function C(e,t){var i=A(e),n=A(t),r=[i[0]/n[0],i[1]/n[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function A(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=f;e.exports=M},75730:function(e,t,i){var n=i(95289),r=i(95441),o=i(43173),s=i(47114),a=s.onIrrelevantElement,l=i(76442),c=i(80218),u=i(79865),h=u.getUID,d=i(38051);function f(e){var t=e.getItemStyle(),i=e.get("areaColor");return null!=i&&(t.fill=i),t}function p(e,t,i,r,o){i.off("click"),i.off("mousedown"),t.get("selectedMode")&&(i.on("mousedown",(function(){e._mouseDownFlag=!0})),i.on("click",(function(s){if(e._mouseDownFlag){e._mouseDownFlag=!1;var a=s.target;while(!a.__regions)a=a.parent;if(a){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:n.map(a.__regions,(function(e){return{name:e.name,from:o.uid}}))};l[t.mainType+"Id"]=t.id,r.dispatchAction(l),g(t,i)}}})))}function g(e,t){t.eachChild((function(t){n.each(t.__regions,(function(i){t.trigger(e.isSelected(i.name)?"emphasis":"normal")}))}))}function v(e,t){var i=new l.Group;this.uid=h("ec_map_draw"),this._controller=new r(e.getZr()),this._controllerHost={target:t?i:null},this.group=i,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new l.Group),i.add(this._backgroundGroup=new l.Group)}v.prototype={constructor:v,draw:function(e,t,i,r,o){var s="geo"===e.mainType,a=e.getData&&e.getData();s&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var c=e.coordinateSystem;this._updateBackground(c);var u,h=this._regionsGroup,v=this.group,m=c.getTransformInfo(),y=!h.childAt(0)||o;if(y)v.transform=m.roamTransform,v.decomposeTransform(),v.dirty();else{var _=new d;_.transform=m.roamTransform,_.decomposeTransform();var x={scale:_.scale,position:_.position};u=_.scale,l.updateProps(v,x,e)}var b=m.rawScale,w=m.rawPosition;h.removeAll();var S=["itemStyle"],C=["emphasis","itemStyle"],A=["label"],M=["emphasis","label"],k=n.createHashMap();n.each(c.regions,(function(t){var i=k.get(t.name)||k.set(t.name,new l.Group),r=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(r);var o,c=e.getRegionModel(t.name)||e,d=c.getModel(S),p=c.getModel(C),g=f(d),m=f(p),_=c.getModel(A),x=c.getModel(M);if(a){o=a.indexOfName(t.name);var T=a.getItemVisual(o,"color",!0);T&&(g.fill=T)}var I=function(e){return[e[0]*b[0]+w[0],e[1]*b[1]+w[1]]};n.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],i=0;i=0)&&(P=e);var B=new l.Text({position:I(t.center.slice()),scale:[1/v.scale[0],1/v.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(B.style,B.hoverStyle={},_,x,{labelFetcher:P,labelDataIndex:R,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var N=[1/u[0],1/u[1]];l.updateProps(B,{scale:N},e)}i.add(B)}if(a)a.setItemGraphicEl(o,i);else{c=e.getRegionModel(t.name);r.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:c&&c.option||{}}}var z=i.__regions||(i.__regions=[]);z.push(t),i.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(i,m),h.add(i)})),this._updateController(e,t,i),p(this,e,h,i,r),g(e,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&n.each(c.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,i){var r=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=r.getZoom(),s.enable(e.get("roam")||!1);var c=e.mainType;function u(){var t={type:"geoRoam",componentType:c};return t[c+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),i.dispatchAction(n.extend(u(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),i.dispatchAction(n.extend(u(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),s.setPointerChecker((function(t,n,o){return r.getViewRectAfterRoam().contain(n,o)&&!a(t,i,e)}))}};var m=v;e.exports=m},95441:function(e,t,i){var n=i(95289),r=i(36112),o=i(88665),s=i(58391);function a(e){this.pointerChecker,this._zr=e,this._opt={};var t=n.bind,i=t(l,this),o=t(c,this),s=t(u,this),a=t(h,this),f=t(d,this);r.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,r){this.disable(),this._opt=n.defaults(n.clone(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",o),e.on("mouseup",s)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",f))},this.disable=function(){e.off("mousedown",i),e.off("mousemove",o),e.off("mouseup",s),e.off("mousewheel",a),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,i)&&(this._x=t,this._y=i,this._dragging=!0)}}function c(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!s.isTaken(this._zr,"globalPan")){var t=e.offsetX,i=e.offsetY,n=this._x,r=this._y,a=t-n,l=i-r;this._x=t,this._y=i,this._opt.preventDefaultMouseMove&&o.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:a,dy:l,oldX:n,oldY:r,newX:t,newY:i})}}function u(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function h(e){var t=g("zoomOnMouseWheel",e,this._opt),i=g("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,r=Math.abs(n),o=e.offsetX,s=e.offsetY;if(0!==n&&(t||i)){if(t){var a=r>3?1.4:r>1?1.2:1.1,l=n>0?a:1/a;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:s})}if(i){var c=Math.abs(n),u=(n>0?1:-1)*(c>3?.4:c>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:u,originX:o,originY:s})}}}function d(e){if(!s.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,i,n,r){e.pointerChecker&&e.pointerChecker(n,r.originX,r.originY)&&(o.stop(n.event),p(e,t,i,n,r))}function p(e,t,i,r,o){o.isAvailableBehavior=n.bind(g,null,i,r),e.trigger(t,o)}function g(e,t,i){var r=i[e];return!e||r&&(!n.isString(r)||t.event[r+"Key"])}n.mixin(a,r);var v=a;e.exports=v},54266:function(e,t,i){var n=i(39587),r=i(47114),o=r.onIrrelevantElement,s=i(76442);function a(e){return e=u(e),function(t,i){return s.clipPointsByRect(t,e)}}function l(e,t){return e=u(e),function(i){var n=null!=t?t:i,r=n?e.width:e.height,o=n?e.x:e.y;return[o,o+(r||0)]}}function c(e,t,i){return e=u(e),function(n,r,s){return e.contain(r[0],r[1])&&!o(n,t,i)}}function u(e){return n.create(e)}t.makeRectPanelClipPath=a,t.makeLinearBrushOtherExtent=l,t.makeRectIsTargetByCursor=c},47114:function(e,t){var i={axisPointer:1,tooltip:1,brush:1};function n(e,t,n){var r=t.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==n&&!i[r.mainType]&&o&&o.model!==n}t.onIrrelevantElement=n},58391:function(e,t,i){var n=i(89231),r="\0_ec_interaction_mutex";function o(e,t,i){var n=l(e);n[t]=i}function s(e,t,i){var n=l(e),r=n[t];r===i&&(n[t]=null)}function a(e,t){return!!l(e)[t]}function l(e){return e[r]||(e[r]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=s,t.isTaken=a},13785:function(e,t,i){var n=i(61570),r=n.getLayoutRect,o=n.box,s=n.positionElement,a=i(8595),l=i(76442);function c(e,t,i){var n=t.getBoxLayoutParams(),a=t.get("padding"),l={width:i.getWidth(),height:i.getHeight()},c=r(n,l,a);o(t.get("orient"),e,t.get("itemGap"),c.width,c.height),s(e,n,l,a)}function u(e,t){var i=a.normalizeCssArray(t.get("padding")),n=t.getItemStyle(["color","opacity"]);n.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-i[3],y:e.y-i[0],width:e.width+i[1]+i[3],height:e.height+i[0]+i[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1});return e}t.layout=c,t.makeBackground=u},43173:function(e,t){function i(e,t,i){var n=e.target,r=n.position;r[0]+=t,r[1]+=i,n.dirty()}function n(e,t,i,n){var r=e.target,o=e.zoomLimit,s=r.position,a=r.scale,l=e.zoom=e.zoom||1;if(l*=t,o){var c=o.min||0,u=o.max||1/0;l=Math.max(Math.min(u,l),c)}var h=l/e.zoom;e.zoom=l,s[0]-=(i-s[0])*(h-1),s[1]-=(n-s[1])*(h-1),a[0]*=h,a[1]*=h,r.dirty()}t.updateViewOnPan=i,t.updateViewOnZoom=n},18171:function(e,t,i){var n=i(95289),r={updateSelectedMap:function(e){this._targetList=n.isArray(e)?e.slice():[],this._selectTargetMap=n.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),n.createHashMap())},select:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each((function(e){e.selected=!1})),i&&(i.selected=!0)},unSelect:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);i&&(i.selected=!1)},toggleSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=i)return this[i.selected?"unSelect":"select"](e,t),i.selected},isSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return i&&i.selected}};e.exports=r},96748:function(e){function t(e,t,r,o,s,a){e=e||0;var l=r[1]-r[0];if(null!=s&&(s=n(s,[0,l])),null!=a&&(a=Math.max(a,null!=s?s:0)),"all"===o){var c=Math.abs(t[1]-t[0]);c=n(c,[0,l]),s=a=n(c,[s,a]),o=0}t[0]=n(t[0],r),t[1]=n(t[1],r);var u=i(t,o);t[o]+=e;var h=s||0,d=r.slice();u.sign<0?d[0]+=h:d[1]-=h,t[o]=n(t[o],d);var f=i(t,o);null!=s&&(f.sign!==u.sign||f.spana&&(t[1-o]=t[o]+f.sign*a),t}function i(e,t){var i=e[t]-e[1-t];return{span:Math.abs(i),sign:i>0?-1:i<0?1:t?-1:1}}function n(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=t},59608:function(e,t,i){var n=i(89231);i(29629),i(82180),i(76575);var r=i(99268),o=i(85532);n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,r),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},84069:function(e,t,i){i(59608),i(51866),i(30422),i(25257)},29629:function(e,t,i){var n=i(89231),r=i(95289),o=i(40590),s=i(63199),a=s.isNameSpecified,l=i(49777),c=l.legend.selector,u={all:{type:"all",title:r.clone(c.all)},inverse:{type:"inverse",title:r.clone(c.inverse)}},h=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){h.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),r.isArray(t)&&r.each(t,(function(e,i){r.isString(e)&&(e={type:e}),t[i]=r.merge(e,u[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},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,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},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}}}),d=h;e.exports=d},76575:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(22864),a=s.createSymbol,l=i(76442),c=i(13785),u=c.makeBackground,h=i(61570),d=o.curry,f=o.each,p=l.Group,g=r.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),s=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===s?"right":"left");var a=e.get("selector",!0),l=e.get("selectorPosition",!0);!a||l&&"auto"!==l||(l="horizontal"===s?"end":"start"),this.renderInner(r,e,t,i,a,s,l);var c=e.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},f=e.get("padding"),p=h.getLayoutRect(c,d,f),g=this.layoutInner(e,r,p,n,a,l),v=h.getLayoutRect(o.defaults({width:g.width,height:g.height},c),d,f);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=u(g,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,i,n,r,s,a){var l=this.getContentGroup(),c=o.createHashMap(),u=t.get("selectedMode"),h=[];i.eachRawSeries((function(e){!e.get("legendHoverLink")&&h.push(e.id)})),f(t.getData(),(function(r,o){var s=r.get("name");if(this.newlineDisabled||""!==s&&"\n"!==s){var a=i.getSeriesByName(s)[0];if(!c.get(s))if(a){var f=a.getData(),g=f.getVisual("color"),v=f.getVisual("borderColor");"function"===typeof g&&(g=g(a.getDataParams(0))),"function"===typeof v&&(v=v(a.getDataParams(0)));var x=f.getVisual("legendSymbol")||"roundRect",b=f.getVisual("symbol"),w=this._createItem(s,o,r,t,x,b,e,g,v,u);w.on("click",d(m,s,null,n,h)).on("mouseover",d(y,a.name,null,n,h)).on("mouseout",d(_,a.name,null,n,h)),c.set(s,!0)}else i.eachRawSeries((function(i){if(!c.get(s)&&i.legendVisualProvider){var a=i.legendVisualProvider;if(!a.containName(s))return;var l=a.indexOfName(s),f=a.getItemVisual(l,"color"),p=a.getItemVisual(l,"borderColor"),g="roundRect",v=this._createItem(s,o,r,t,g,null,e,f,p,u);v.on("click",d(m,null,s,n,h)).on("mouseover",d(y,null,s,n,h)).on("mouseout",d(_,null,s,n,h)),c.set(s,!0)}}),this)}else l.add(new p({newline:!0}))}),this),r&&this._createSelector(r,t,n,s,a)},_createSelector:function(e,t,i,n,r){var o=this.getSelectorGroup();function s(e){var n=e.type,r=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var s=t.getModel("selectorLabel"),a=t.getModel("emphasis.selectorLabel");l.setLabelStyle(r.style,r.hoverStyle={},s,a,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(r)}f(e,(function(e){s(e)}))},_createItem:function(e,t,i,n,r,s,c,u,h,d){var f=n.get("itemWidth"),g=n.get("itemHeight"),m=n.get("inactiveColor"),y=n.get("inactiveBorderColor"),_=n.get("symbolKeepAspect"),x=n.getModel("itemStyle"),b=n.isSelected(e),w=new p,S=i.getModel("textStyle"),C=i.get("icon"),A=i.getModel("tooltip"),M=A.parentModel;r=C||r;var k=a(r,0,0,f,g,b?u:m,null==_||_);if(w.add(v(k,r,x,h,y,b)),!C&&s&&(s!==r||"none"===s)){var T=.8*g;"none"===s&&(s="circle");var I=a(s,(f-T)/2,(g-T)/2,T,T,b?u:m,null==_||_);w.add(v(I,s,x,h,y,b))}var L="left"===c?f+5:-5,E=c,D=n.get("formatter"),O=e;"string"===typeof D&&D?O=D.replace("{name}",null!=e?e:""):"function"===typeof D&&(O=D(e)),w.add(new l.Text({style:l.setTextStyle({},S,{text:O,x:L,y:g/2,textFill:b?S.getTextColor():m,textAlign:E,textVerticalAlign:"middle"})}));var P=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:A.get("show")?o.extend({content:e,formatter:M.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:e,$vars:["name"]}},A.option):null});return w.add(P),w.eachChild((function(e){e.silent=!0})),P.silent=!d,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,i,n,r,o){var s=this.getContentGroup(),a=this.getSelectorGroup();h.box(e.get("orient"),s,e.get("itemGap"),i.width,i.height);var l=s.getBoundingRect(),c=[-l.x,-l.y];if(r){h.box("horizontal",a,e.get("selectorItemGap",!0));var u=a.getBoundingRect(),d=[-u.x,-u.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",v=0===p?"height":"width",m=0===p?"y":"x";"end"===o?d[p]+=l[g]+f:c[p]+=u[g]+f,d[1-p]+=l[v]/2-u[v]/2,a.attr("position",d),s.attr("position",c);var y={x:0,y:0};return y[g]=l[g]+f+u[g],y[v]=Math.max(l[v],u[v]),y[m]=Math.min(0,u[m]+d[1-p]),y}return s.attr("position",c),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function v(e,t,i,n,r,o){var s;return"line"!==t&&t.indexOf("empty")<0?(s=i.getItemStyle(),e.style.stroke=n,o||(s.stroke=r)):s=i.getItemStyle(["borderWidth","borderColor"]),e.setStyle(s)}function m(e,t,i,n){_(e,t,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),y(e,t,i,n)}function y(e,t,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function _(e,t,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}e.exports=g},51866:function(e,t,i){var n=i(29629),r=i(61570),o=r.mergeLayoutParam,s=r.getLayoutParams,a=n.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,i,n){var r=s(e);a.superCall(this,"init",e,t,i,n),l(this,e,r)},mergeOption:function(e,t){a.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,i){var n=e.getOrient(),r=[1,1];r[n.index]=0,o(t,i,{type:"box",ignoreSize:r})}var c=a;e.exports=c},30422:function(e,t,i){var n=i(95289),r=i(76442),o=i(61570),s=i(76575),a=r.Group,l=["width","height"],c=["x","y"],u=s.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new a),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new a),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,i,o,s,a,l){var c=this;u.superCall(this,"renderInner",e,t,i,o,s,a,l);var h=this._controllerGroup,d=t.get("pageIconSize",!0);n.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,i){var s=e+"DataIndex",a=r.createIcon(t.get("pageIcons",!0)[t.getOrient().name][i],{onclick:n.bind(c._pageGo,c,s,t,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});a.name=e,h.add(a)}h.add(new r.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,i,r,s,a){var u=this.getSelectorGroup(),h=e.getOrient().index,d=l[h],f=c[h],p=l[1-h],g=c[1-h];s&&o.box("horizontal",u,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),m=u.getBoundingRect(),y=[-m.x,-m.y],_=n.clone(i);s&&(_[d]=i[d]-m[d]-v);var x=this._layoutContentAndController(e,r,_,h,d,p,g);if(s){if("end"===a)y[h]+=x[d]+v;else{var b=m[d]+v;y[h]-=b,x[f]-=b}x[d]+=m[d]+v,y[1-h]+=x[g]+x[p]/2-m[p]/2,x[p]=Math.max(x[p],m[p]),x[g]=Math.min(x[g],m[g]+y[1-h]),u.attr("position",y)}return x},_layoutContentAndController:function(e,t,i,s,a,l,c){var u=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;o.box(e.get("orient"),u,e.get("itemGap"),s?i.width:null,s?null:i.height),o.box("horizontal",d,e.get("pageButtonItemGap",!0));var f=u.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[a]>i[a],v=[-f.x,-f.y];t||(v[s]=u.position[s]);var m=[0,0],y=[-p.x,-p.y],_=n.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var x=e.get("pageButtonPosition",!0);"end"===x?y[s]+=i[a]-p[a]:m[s]+=p[a]+_}y[1-s]+=f[l]/2-p[l]/2,u.attr("position",v),h.attr("position",m),d.attr("position",y);var b={x:0,y:0};if(b[a]=g?i[a]:f[a],b[l]=Math.max(f[l],p[l]),b[c]=Math.min(0,p[c]+y[1-s]),h.__rectSize=i[a],g){var w={x:0,y:0};w[a]=Math.max(i[a]-p[a]-_,0),w[l]=b[l],h.setClipPath(new r.Rect({shape:w})),h.__rectSize=w[a]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&r.updateProps(u,{position:S.contentPosition},!!g&&e),this._updatePageInfoView(e,S),b},_pageGo:function(e,t,i){var n=this._getPageInfo(t)[e];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:t.id})},_updatePageInfoView:function(e,t){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var r=null!=t[n+"DataIndex"],o=i.childOfName(n);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=i.childOfName("pageText"),o=e.get("pageFormatter"),s=t.pageIndex,a=null!=s?s+1:0,l=t.pageCount;r&&o&&r.setStyle("text",n.isString(o)?o.replace("{current}",a).replace("{total}",l):o({current:a,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,r=e.getOrient().index,o=l[r],s=c[r],a=this._findTargetItemIndex(t),u=i.children(),h=u[a],d=u.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=x(h);p.contentPosition[r]=-g.s;for(var v=a+1,m=g,y=g,_=null;v<=d;++v)_=x(u[v]),(!_&&y.e>m.s+n||_&&!b(_,m.s))&&(m=y.i>m.i?y:_,m&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=_;for(v=a-1,m=g,y=g,_=null;v>=-1;--v)_=x(u[v]),_&&b(y,_.s)||!(m.i=t&&e.s<=t+n}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,i,n=this.getContentGroup();return n.eachChild((function(n,r){var o=n.__legendDataIndex;null==i&&null!=o&&(i=r),o===e&&(t=r)})),null!=t?t:i}}),h=u;e.exports=h},82180:function(e,t,i){var n=i(89231),r=i(95289);function o(e,t,i){var n,o={},s="toggleSelected"===e;return i.eachComponent("legend",(function(i){s&&null!=n?i[n?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?i[e]():(i[e](t.name),n=i.isSelected(t.name));var a=i.getData();r.each(a,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=i.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&n:o[t]=n}}))})),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:t.name,selected:o}}n.registerAction("legendToggleSelect","legendselectchanged",r.curry(o,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",r.curry(o,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",r.curry(o,"inverseSelect")),n.registerAction("legendSelect","legendselected",r.curry(o,"select")),n.registerAction("legendUnSelect","legendunselected",r.curry(o,"unSelect"))},99268:function(e){function t(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var i=0;i=0&&"number"===typeof c&&(c=+c.toFixed(Math.min(m,20))),g.coord[f]=v.coord[f]=c,r=[g,v,{type:a,valueIndex:r.valueIndex,value:c}]}return r=[s.dataTransform(e,r[0]),s.dataTransform(e,r[1]),n.extend({},r[2])],r[2].type=r[2].type||"",n.merge(r[2],r[0]),n.merge(r[2],r[1]),r};function d(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,i,n){var r=1-e,o=n.dimensions[e];return d(t[r])&&d(i[r])&&t[e]===i[e]&&n.getAxis(o).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var i=t[0].coord,n=t[1].coord;if(i&&n&&(f(1,i,n,e)||f(0,i,n,e)))return!0}return s.dataFilter(e,t[0])&&s.dataFilter(e,t[1])}function g(e,t,i,n,r){var s,a=n.coordinateSystem,l=e.getItemModel(t),c=o.parsePercent(l.get("x"),r.getWidth()),u=o.parsePercent(l.get("y"),r.getHeight());if(isNaN(c)||isNaN(u)){if(n.getMarkerPosition)s=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=a.dimensions,f=e.get(h[0],t),p=e.get(h[1],t);s=a.dataToPoint([f,p])}if("cartesian2d"===a.type){var g=a.getAxis("x"),v=a.getAxis("y");h=a.dimensions;d(e.get(h[0],t))?s[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):d(e.get(h[1],t))&&(s[1]=v.toGlobalCoord(v.getExtent()[i?0:1]))}isNaN(c)||(s[0]=c),isNaN(u)||(s[1]=u)}else s=[c,u];e.setItemLayout(t,s)}var v=l.extend({type:"markLine",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markLineModel;if(t){var n=t.getData(),r=t.__from,o=t.__to;r.each((function(t){g(r,t,!0,e,i),g(o,t,!1,e,i)})),n.each((function(e){n.setItemLayout(e,[r.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,i,r){var o=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,u=c.get(s)||c.set(s,new a);this.group.add(u.group);var h=m(o,e,t),d=h.from,f=h.to,p=h.line;t.__from=d,t.__to=f,t.setData(p);var v=t.get("symbol"),y=t.get("symbolSize");function _(t,i,n){var o=t.getItemModel(i);g(t,i,n,e,r),t.setItemVisual(i,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||y[n?0:1],symbol:o.get("symbol",!0)||v[n?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}n.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),h.from.each((function(e){_(d,e,!0),_(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||d.getItemVisual(e,"color")}),p.setItemLayout(e,[d.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolRotate:d.getItemVisual(e,"symbolRotate"),fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolRotate:f.getItemVisual(e,"symbolRotate"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),u.updateData(p),h.line.eachItemGraphicEl((function(e,i){e.traverse((function(e){e.dataModel=t}))})),u.__keep=!0,u.group.silent=t.get("silent")||e.get("silent")}});function m(e,t,i){var o;o=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var a=new r(o,i),l=new r(o,i),c=new r([],i),u=n.map(i.get("data"),n.curry(h,t,e,i));e&&(u=n.filter(u,n.curry(p,e)));var d=e?s.dimValueGetter:function(e){return e.value};return a.initData(n.map(u,(function(e){return e[0]})),null,d),l.initData(n.map(u,(function(e){return e[1]})),null,d),c.initData(n.map(u,(function(e){return e[2]}))),c.hasItemOption=!0,{from:a,to:l,line:c}}e.exports=v},85304:function(e,t,i){var n=i(89955),r=n.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});e.exports=r},16796:function(e,t,i){var n=i(95289),r=i(52033),o=i(44261),s=i(5628),a=i(18312),l=i(47381);function c(e,t,i){var n=t.coordinateSystem;e.each((function(r){var s,a=e.getItemModel(r),l=o.parsePercent(a.get("x"),i.getWidth()),c=o.parsePercent(a.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)s=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(n){var u=e.get(n.dimensions[0],r),h=e.get(n.dimensions[1],r);s=n.dataToPoint([u,h])}}else s=[l,c];isNaN(l)||(s[0]=l),isNaN(c)||(s[1]=c),e.setItemLayout(r,s)}))}var u=l.extend({type:"markPoint",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markPointModel;t&&(c(t.getData(),e,i),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,i,o){var s=e.coordinateSystem,a=e.id,l=e.getData(),u=this.markerGroupMap,d=u.get(a)||u.set(a,new r),f=h(s,e,t);t.setData(f),c(t.getData(),e,o),f.each((function(e){var i=f.getItemModel(e),r=i.getShallow("symbol"),o=i.getShallow("symbolSize"),s=i.getShallow("symbolRotate"),a=n.isFunction(r),c=n.isFunction(o),u=n.isFunction(s);if(a||c||u){var h=t.getRawValue(e),d=t.getDataParams(e);a&&(r=r(h,d)),c&&(o=o(h,d)),u&&(s=s(h,d))}f.setItemVisual(e,{symbol:r,symbolSize:o,symbolRotate:s,color:i.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),d.__keep=!0,d.group.silent=t.get("silent")||e.get("silent")}});function h(e,t,i){var r;r=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var o=new s(r,i),l=n.map(i.get("data"),n.curry(a.dataTransform,t));return e&&(l=n.filter(l,n.curry(a.dataFilter,e))),o.initData(l,null,e?a.dimValueGetter:function(e){return e.value}),o}e.exports=u},89955:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(87190),a=i(63199),l=i(8595),c=i(38738),u=l.addCommas,h=l.encodeHTML;function d(e){a.defaultEmphasis(e,"label",["show"])}var f=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,i){this.mergeDefaultAndTheme(e,i),this._mergeOption(e,i,!1,!0)},isAnimationEnabled:function(){if(s.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,i,n){var r=this.constructor,s=this.mainType+"Model";i||t.eachSeries((function(e){var i=e.get(this.mainType,!0),a=e[s];i&&i.data?(a?a._mergeOption(i,t,!0):(n&&d(i),o.each(i.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),a=new r(i,this,t),o.extend(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),e[s]=a):e[s]=null}),this)},formatTooltip:function(e,t,i,n){var r=this.getData(),s=this.getRawValue(e),a=o.isArray(s)?o.map(s,u).join(", "):u(s),l=r.getName(e),c=h(this.name),d="html"===n?"
":"\n";return(null!=s||l)&&(c+=d),l&&(c+=h(l),null!=s&&(c+=" : ")),null!=s&&(c+=h(a)),c},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(f,c);var p=f;e.exports=p},47381:function(e,t,i){var n=i(89231),r=i(95289),o=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(e,t,i){var n=this.markerGroupMap;n.each((function(e){e.__keep=!1}));var r=this.type+"Model";t.eachSeries((function(e){var n=e[r];n&&this.renderSeries(e,n,t,i)}),this),n.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=o},18312:function(e,t,i){var n=i(95289),r=i(44261),o=i(74051),s=o.isDimensionStacked,a=n.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function c(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function u(e,t,i,n,o,a){var l=[],c=s(t,n),u=c?t.getCalculationInfo("stackResultDimension"):n,h=y(t,u,e),d=t.indicesOfNearest(u,h)[0];l[o]=t.get(i,d),l[a]=t.get(u,d);var f=t.get(n,d),p=r.getPrecision(t.get(n,d));return p=Math.min(p,20),p>=0&&(l[a]=+l[a].toFixed(p)),[l,f]}var h=n.curry,d={min:h(u,"min"),max:h(u,"max"),average:h(u,"average")};function f(e,t){var i=e.getData(),r=e.coordinateSystem;if(t&&!c(t)&&!n.isArray(t.coord)&&r){var o=r.dimensions,s=p(t,i,r,e);if(t=n.clone(t),t.type&&d[t.type]&&s.baseAxis&&s.valueAxis){var l=a(o,s.baseAxis.dim),u=a(o,s.valueAxis.dim),h=d[t.type](i,s.baseDataDim,s.valueDataDim,l,u);t.coord=h[0],t.value=h[1]}else{for(var f=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],g=0;g<2;g++)d[f[g]]&&(f[g]=y(i,i.mapDimension(o[g]),f[g]));t.coord=f}}return t}function p(e,t,i,n){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=i.getAxis(g(n,r.valueDataDim)),r.baseAxis=i.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=n.getBaseAxis(),r.valueAxis=i.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function g(e,t){var i=e.getData(),n=i.dimensions;t=i.getDimension(t);for(var r=0;ra)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&c(this,"mousemove")){var t=this._model,i=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function c(e,t){var i=e._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===t}n.registerPreprocessor(s)},18251:function(e,t,i){i(9278),i(49007),i(93296)},63389:function(e,t,i){var n=i(89231),r=i(95289),o=i(80241);i(35866),i(87759),i(51410),i(76683),i(26012),n.registerLayout(r.curry(o,"bar")),n.extendComponentView({type:"polar"})},39253:function(e,t,i){i(12228),i(45371),i(26563)},26563:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(89231)),o=i(95289),s=i(11011),a=i(76442),l=["axisLine","axisTickLabel","axisName"],c=r.extendComponentView({type:"radar",render:function(e,t,i){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes(),n=o.map(i,(function(e){var i=new s(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));o.each(n,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes();if(i.length){var n=e.get("shape"),r=e.getModel("splitLine"),s=e.getModel("splitArea"),l=r.getModel("lineStyle"),c=s.getModel("areaStyle"),u=r.get("show"),h=s.get("show"),d=l.get("color"),f=c.get("color");d=o.isArray(d)?d:[d],f=o.isArray(f)?f:[f];var p=[],g=[];if("circle"===n)for(var v=i[0].getTicksCoords(),m=t.cx,y=t.cy,_=0;_=0||"+"===i?"left":"right"},u={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?r.height:r.width,f=e.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,m=g+v,_=e.get("label.rotate")||0;_=_*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),C=p&&f.get("showNextBtn",!0),A=0,M=d;return"left"===b||"bottom"===b?(w&&(o=[0,0],A+=m),S&&(s=[A,0],A+=m),C&&(a=[M-g,0],M-=m)):(w&&(o=[M-g,0],M-=m),S&&(s=[0,0],A+=m),C&&(a=[M-g,0],M-=m)),l=[A,M],e.get("inverse")&&l.reverse(),{viewRect:r,mainLength:d,orient:n,rotation:h[n],labelRotation:_,labelPosOpt:i,labelAlign:e.get("label.align")||c[n],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||u[n],playPosition:o,prevBtnPosition:s,nextBtnPosition:a,axisExtent:l,controlSize:g,controlGap:v}},_position:function(e,t){var i=this._mainGroup,n=this._labelGroup,r=e.viewRect;if("vertical"===e.orient){var s=o.create(),a=r.x,l=r.y+r.height;o.translate(s,s,[-a,-l]),o.rotate(s,s,-y/2),o.translate(s,s,[a,l]),r=r.clone(),r.applyTransform(s)}var c=m(r),u=m(i.getBoundingRect()),h=m(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=c[0][0];var p=e.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;_(d,u,c,1,g),_(f,h,c,1,1-g)}else{g=p>=0?0:1;_(d,u,c,1,g),f[1]=d[1]+p}function v(e){var t=e.position;e.origin=[c[0][0]-t[0],c[1][0]-t[1]]}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function _(e,t,i,n,r){e[n]+=i[n][r]-t[n][r]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=e.rotation,v(i),v(n)},_createAxis:function(e,t){var i=t.getData(),n=t.get("axisType"),r=d.createScaleByModel(t,n);r.getTicks=function(){return i.mapArray(["value"],(function(e){return e}))};var o=i.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var s=new c("value",r,e.axisExtent,n);return s.model=t,s},_createGroup:function(e){var t=this["_"+e]=new s.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,i,r){var o=i.getExtent();r.get("lineStyle.show")&&t.add(new s.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:n.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,i,n){var r=n.getData(),o=i.scale.getTicks();m(o,(function(e){var o=i.dataToCoord(e),a=r.getItemModel(e),l=a.getModel("itemStyle"),c=a.getModel("emphasis.itemStyle"),u={position:[o,0],onclick:v(this._changeTimeline,this,e)},h=w(a,l,t,u);s.setHoverStyle(h,c.getItemStyle()),a.get("tooltip")?(h.dataIndex=e,h.dataModel=n):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(e,t,i,n){var r=i.getLabelModel();if(r.get("show")){var o=n.getData(),a=i.getViewLabels();m(a,(function(n){var r=n.tickValue,a=o.getItemModel(r),l=a.getModel("label"),c=a.getModel("emphasis.label"),u=i.dataToCoord(n.tickValue),h=new s.Text({position:[u,0],rotation:e.labelRotation-e.rotation,onclick:v(this._changeTimeline,this,r),silent:!1});s.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(h),s.setHoverStyle(h,s.setTextStyle({},c))}),this)}},_renderControl:function(e,t,i,n){var r=e.controlSize,o=e.rotation,a=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-r/2,r,r],u=n.getPlayState(),h=n.get("inverse",!0);function d(e,i,u,h){if(e){var d={position:e,origin:[r/2,0],rotation:h?-o:0,rectHover:!0,style:a,onclick:u},f=b(n,i,c,d);t.add(f),s.setHoverStyle(f,l)}}d(e.nextBtnPosition,"controlStyle.nextIcon",v(this._changeTimeline,this,h?"-":"+")),d(e.prevBtnPosition,"controlStyle.prevIcon",v(this._changeTimeline,this,h?"+":"-")),d(e.playPosition,"controlStyle."+(u?"stopIcon":"playIcon"),v(this._handlePlayClick,this,!u),!0)},_renderCurrentPointer:function(e,t,i,n){var r=n.getData(),o=n.getCurrentIndex(),s=r.getItemModel(o).getModel("checkpointStyle"),a=this,l={onCreate:function(e){e.draggable=!0,e.drift=v(a._handlePointerDrag,a),e.ondragend=v(a._handlePointerDragend,a),S(e,o,i,n,!0)},onUpdate:function(e){S(e,o,i,n)}};this._currentPointer=w(s,s,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var i=this._toAxisCoord(e)[0],n=this._axis,r=f.asc(n.getExtent().slice());i>r[1]&&(i=r[1]),i=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],i=e.axisType,r=this._names=[];if("category"===i){var a=[];n.each(t,(function(e,t){var i,o=s.getDataItemValue(e);n.isObject(e)?(i=n.clone(e),i.value=t):i=t,a.push(i),n.isString(o)||null!=o&&!isNaN(o)||(o=""),r.push(o+"")})),t=a}var l={category:"ordinal",time:"time"}[i]||"number",c=this._data=new o([{name:"value",type:l}],this);c.initData(t,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=a;e.exports=l},93915:function(e,t,i){var n=i(18328),r=n.extend({type:"timeline"});e.exports=r},41030:function(e,t,i){var n=i(95289);function r(e){var t=e&&e.timeline;n.isArray(t)||(t=t?[t]:[]),n.each(t,(function(e){e&&o(e)}))}function o(e){var t=e.type,i={number:"value",time:"time"};if(i[t]&&(e.axisType=i[t],delete e.type),s(e),a(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});a(r,"position")||(r.position=e.controlPosition),"none"!==r.position||a(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}n.each(e.data||[],(function(e){n.isObject(e)&&!n.isArray(e)&&(!a(e,"value")&&a(e,"name")&&(e.value=e.name),s(e))}))}function s(e){var t=e.itemStyle||(e.itemStyle={}),i=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},o=r.normal||(r.normal={}),s={normal:1,emphasis:1};n.each(r,(function(e,t){s[t]||a(o,t)||(o[t]=e)})),i.label&&!a(r,"emphasis")&&(r.emphasis=i.label,delete i.label)}function a(e,t){return e.hasOwnProperty(t)}e.exports=r},86544:function(e,t,i){var n=i(89231),r=i(95289);n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var i=t.getComponent("timeline");return i&&null!=e.currentIndex&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),t.resetOption("timeline"),r.defaults({currentIndex:i.option.currentIndex},e)})),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var i=t.getComponent("timeline");i&&null!=e.playState&&i.setPlayState(e.playState)}))},68851:function(e,t,i){var n=i(85532);n.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},56315:function(e,t,i){var n=i(95289),r=i(89231),o=i(76442),s=i(61570),a=s.getLayoutRect,l=i(8595),c=l.windowOpen;r.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),r.extendComponentView({type:"title",render:function(e,t,i){if(this.group.removeAll(),e.get("show")){var r=this.group,s=e.getModel("textStyle"),l=e.getModel("subtextStyle"),u=e.get("textAlign"),h=n.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new o.Text({style:o.setTextStyle({},s,{text:e.get("text"),textFill:s.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),p=e.get("subtext"),g=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),m=e.get("sublink"),y=e.get("triggerEvent",!0);d.silent=!v&&!y,g.silent=!m&&!y,v&&d.on("click",(function(){c(v,"_"+e.get("target"))})),m&&g.on("click",(function(){c(m,"_"+e.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(d),p&&r.add(g);var _=r.getBoundingRect(),x=e.getBoxLayoutParams();x.width=_.width,x.height=_.height;var b=a(x,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),"middle"===u&&(u="center"),"right"===u?b.x+=b.width:"center"===u&&(b.x+=b.width/2)),h||(h=e.get("top")||e.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?b.y+=b.height:"middle"===h&&(b.y+=b.height/2),h=h||"top"),r.attr("position",[b.x,b.y]);var w={textAlign:u,textVerticalAlign:h};d.setStyle(w),g.setStyle(w),_=r.getBoundingRect();var S=b.margin,C=e.getItemStyle(["color","opacity"]);C.fill=e.get("backgroundColor");var A=new o.Rect({shape:{x:_.x-S[3],y:_.y-S[0],width:_.width+S[1]+S[3],height:_.height+S[0]+S[2],r:e.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});r.add(A)}}})},63886:function(e,t,i){i(70265),i(28419),i(80374),i(14723),i(16911),i(34765),i(24658)},70265:function(e,t,i){var n=i(89231),r=i(95289),o=i(23932),s=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){s.superApply(this,"optionUpdated",arguments),r.each(this.option.feature,(function(e,t){var i=o.get(t);i&&r.merge(e,i.defaultOption)}))},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}}}),a=s;e.exports=a},28419:function(e,t,i){var n=i(89231),r=i(95289),o=i(43407),s=i(23932),a=i(76442),l=i(40590),c=i(1032),u=i(13785),h=n.extendComponentView({type:"toolbox",render:function(e,t,i,n){var h=this.group;if(h.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),v=[];r.each(p,(function(e,t){v.push(t)})),new c(this._featureNames||[],v).add(m).update(m).remove(r.curry(m,null)).execute(),this._featureNames=v,u.layout(h,e,i),h.add(u.makeBackground(h.getBoundingRect(),e)),h.eachChild((function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var r=o.getBoundingRect(t,o.makeFont(n)),s=e.position[0]+h.position[0],a=e.position[1]+h.position[1]+f,l=!1;a+r.height>i.getHeight()&&(n.textPosition="top",l=!0);var c=l?-5-r.height:f+8;s+r.width/2>i.getWidth()?(n.textPosition=["100%",c],n.textAlign="right"):s-r.width/2<0&&(n.textPosition=[0,c],n.textAlign="left")}}))}function m(r,o){var a,c=v[r],u=v[o],h=p[c],f=new l(h,e,e.ecModel);if(n&&null!=n.newTitle&&n.featureName===c&&(h.title=n.newTitle),c&&!u){if(d(c))a={model:f,onclick:f.option.onclick,featureName:c};else{var m=s.get(c);if(!m)return;a=new m(f,t,i)}g[c]=a}else{if(a=g[u],!a)return;a.model=f,a.ecModel=t,a.api=i}c||!u?f.get("show")&&!a.unusable?(y(f,a,c),f.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&n[e].trigger(t)},a.render&&a.render(f,t,i,n)):a.remove&&a.remove(t,i):a.dispose&&a.dispose(t,i)}function y(n,o,s){var l=n.getModel("iconStyle"),c=n.getModel("emphasis.iconStyle"),u=o.getIcons?o.getIcons():n.get("icon"),d=n.get("title")||{};if("string"===typeof u){var p=u,g=d;u={},d={},u[s]=p,d[s]=g}var v=n.iconPaths={};r.each(u,(function(s,u){var p=a.createIcon(s,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=c.getItemStyle(),p.setStyle({text:d[u],textAlign:c.get("textAlign"),textBorderRadius:c.get("textBorderRadius"),textPadding:c.get("textPadding"),textFill:null});var g=e.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:d[u],formatter:g.get("formatter",!0)||function(){return d[u]},formatterParams:{componentType:"toolbox",name:u,title:d[u],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),a.setHoverStyle(p),e.get("showTitle")&&(p.__title=d[u],p.on("mouseover",(function(){var t=c.getItemStyle(),i="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:c.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:c.get("textBackgroundColor"),textPosition:c.get("textPosition")||i})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(n.get("iconStatus."+u)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,t,i,u)),v[u]=p}))}},updateView:function(e,t,i,n){r.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,i,n)}))},remove:function(e,t){r.each(this._features,(function(i){i.remove&&i.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){r.each(this._features,(function(i){i.dispose&&i.dispose(e,t)}))}});function d(e){return 0===e.indexOf("my")}e.exports=h},23932:function(e,t){var i={};function n(e,t){i[e]=t}function r(e){return i[e]}t.register=n,t.get=r},81496:function(e,t,i){var n=i(95289),r=i(23932),o=i(49777),s=o.toolbox.brush;function a(e,t,i){this.model=e,this.ecModel=t,this.api=i,this._brushType,this._brushMode}a.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(s.title)};var l=a.prototype;l.render=l.updateView=function(e,t,i){var r,o,s;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,o=e.brushOption.brushMode||"single",s|=e.areas.length})),this._brushType=r,this._brushMode=o,n.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?s:t===r)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),i={};return n.each(e.get("type",!0),(function(e){t[e]&&(i[e]=t[e])})),i},l.onclick=function(e,t,i){var n=this._brushType,r=this._brushMode;"clear"===i?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===r?"single":"multiple":r}})},r.register("brush",a);var c=a;e.exports=c},16911:function(e,t,i){var n=i(89231),r=i(95289),o=i(88665),s=i(49777),a=i(23932),l=s.toolbox.dataView,c=new Array(60).join("-"),u="\t";function h(e){var t={},i=[],n=[];return e.eachRawSeries((function(e){var r=e.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(e);else{var o=r.getBaseAxis();if("category"===o.type){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(e)}else i.push(e)}})),{seriesGroupByCategoryAxis:t,other:i,meta:n}}function d(e){var t=[];return r.each(e,(function(e,i){var n=e.categoryAxis,o=e.valueAxis,s=o.dim,a=[" "].concat(r.map(e.series,(function(e){return e.name}))),l=[n.model.getCategories()];r.each(e.series,(function(e){var t=e.getRawData();l.push(e.getRawData().mapArray(t.mapDimension(s),(function(e){return e})))}));for(var c=[a.join(u)],h=0;h=0)return!0}var m=new RegExp("["+u+"]+","g");function y(e){for(var t=e.split(/\n+/g),i=g(t.shift()).split(m),n=[],o=r.map(i,(function(e){return{name:e,data:[]}})),s=0;s1?"emphasis":"normal")}function _(e,t,i,n,r){var o=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new s(m(e.option),t,{include:["grid"]});i._brushController.setPanels(a.makePanelOpts(r,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var r=new s(m(this.model.option),n,{include:["grid"]});r.matchOutputRanges(e,n,(function(e,t,i){if("cartesian2d"===i.type){var n=e.brushType;"rect"===n?(o("x",i,t[0]),o("y",i,t[1])):o({lineX:"x",lineY:"y"}[n],i,t)}})),a.push(n,i),this._dispatchZoomAction(i)}function o(e,t,r){var o=t.getAxis(e),s=o.model,a=c(e,s,n),u=a.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=l(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),a&&(i[a.id]={dataZoomId:a.id,startValue:r[0],endValue:r[1]})}function c(e,t,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var r=i.getAxisModel(e,t.componentIndex);r&&(n=i)})),n}},g._dispatchZoomAction=function(e){var t=[];d(e,(function(e,i){t.push(r.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},u.register("dataZoom",p),n.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);r.isArray(t)||(e.dataZoom=t=[t]);var i=e.toolbox;if(i&&(r.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;o("xAxis",n),o("yAxis",n)}}function o(e,i){if(i){var n=e+"Index",o=i[n];null==o||"all"===o||r.isArray(o)||(o=!1===o||"none"===o?[]:[o]),s(e,(function(s,a){if(null==o||"all"===o||-1!==r.indexOf(o,a)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:f+e+a};l[n]=a,t.push(l)}}))}}function s(t,i){var n=e[t];r.isArray(n)||(n=n?[n]:[]),d(n,i)}}));var x=p;e.exports=x},14723:function(e,t,i){var n=i(89231),r=i(95289),o=i(49777),s=i(23932),a=o.toolbox.magicType,l="__ec_magicType_stack__";function c(e){this.model=e}c.defaultOption={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:r.clone(a.title),option:{},seriesIndex:{}};var u=c.prototype;u.getIcons=function(){var e=this.model,t=e.get("icon"),i={};return r.each(e.get("type"),(function(e){t[e]&&(i[e]=t[e])})),i};var h={line:function(e,t,i,n){if("bar"===e)return r.merge({id:t,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(e,t,i,n){if("line"===e)return r.merge({id:t,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(e,t,i,n){var o=i.get("stack")===l;if("line"===e||"bar"===e)return n.setIconStatus("stack",o?"normal":"emphasis"),r.merge({id:t,stack:o?"":l},n.get("option.stack")||{},!0)}},d=[["line","bar"],["stack"]];u.onclick=function(e,t,i){var n=this.model,o=n.get("seriesIndex."+i);if(h[i]){var s,c={series:[]},u=function(t){var o=t.subType,s=t.id,a=h[i](o,s,t,n);a&&(r.defaults(a,t.option),c.series.push(a));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===i||"bar"===i)){var u=l.getAxesByScale("ordinal")[0];if(u){var d=u.dim,f=d+"Axis",p=e.queryComponents({mainType:f,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=p.componentIndex;c[f]=c[f]||[];for(var v=0;v<=g;v++)c[f][g]=c[f][g]||{};c[f][g].boundaryGap="bar"===i}}};if(r.each(d,(function(e){r.indexOf(e,i)>=0&&r.each(e,(function(e){n.setIconStatus(e,"normal")}))})),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},u),"stack"===i){var f=c.series&&c.series[0]&&c.series[0].stack===l;s=f?r.merge({stack:a.title.tiled},a.title):r.clone(a.title)}t.dispatchAction({type:"changeMagicType",currentType:i,newOption:c,newTitle:s,featureName:"magicType"})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),s.register("magicType",c);var f=c;e.exports=f},24658:function(e,t,i){var n=i(89231),r=i(5693),o=i(49777),s=i(23932),a=o.toolbox.restore;function l(e){this.model=e}l.defaultOption={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:a.title};var c=l.prototype;c.onclick=function(e,t,i){r.clear(e),t.dispatchAction({type:"restore",from:this.uid})},s.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;e.exports=u},80374:function(e,t,i){var n=i(87190),r=i(49777),o=i(23932),s=r.toolbox.saveAsImage;function a(e){this.model=e}a.defaultOption={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:s.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:s.lang.slice()},a.prototype.unusable=!n.canvasSupported;var l=a.prototype;l.onclick=function(e,t){var i=this.model,r=i.get("name")||e.get("title.0.text")||"echarts",o="svg"===t.getZr().painter.getType(),s=o?"svg":i.get("type",!0)||"png",a=t.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(a.split(",")[1]),c=l.length,u=new Uint8Array(c);while(c--)u[c]=l.charCodeAt(c);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,r+"."+s)}else{var d=i.get("lang"),f='',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=r+"."+s,g.target="_blank",g.href=a;var v=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(v)}},o.register("saveAsImage",a);var c=a;e.exports=c},67770:function(e,t,i){var n=i(89231);i(76683),i(13281),i(97371),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},47561:function(e,t,i){var n=i(95289),r=i(56607),o=i(88665),s=i(105),a=i(87190),l=i(8595),c=n.each,u=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+t+",top "+e+"s "+t;return n.map(h,(function(e){return e+"transition:"+i})).join(";")}function p(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont());var r=e.get("lineHeight");null==r&&(r=Math.round(3*i/2)),i&&t.push("line-height:"+r+"px");var o=e.get("textShadowColor"),s=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return s&&t.push("text-shadow:"+a+"px "+l+"px "+s+"px "+o),c(["decoration","align"],(function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)})),t.join(";")}function g(e){var t=[],i=e.get("transitionDuration"),n=e.get("backgroundColor"),o=e.getModel("textStyle"),s=e.get("padding");return i&&t.push(f(i)),n&&(a.canvasSupported?t.push("background-Color:"+n):(t.push("background-Color:#"+r.toHex(n)),t.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],(function(i){var n="border-"+i,r=u(n),o=e.get(r);null!=o&&t.push(n+":"+o+("color"===i?"":"px"))})),t.push(p(o)),null!=s&&t.push("padding:"+l.normalizeCssArray(s).join("px ")+"px"),t.join(";")+";"}function v(e,t,i,n,r){var o=t&&t.painter;if(i){var a=o&&o.getViewportRoot();a&&s.transformLocalCoord(e,a,document.body,n,r)}else{e[0]=n,e[1]=r;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function m(e,t,i){if(a.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=t.getZr(),s=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],v(this._styleCoord,r,s,t.getWidth()/2,t.getHeight()/2),s?document.body.appendChild(n):e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=r.handler,i=r.painter.getViewportRoot();o.normalizeEvent(i,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}m.prototype={constructor:m,_enterable:!0,update:function(e){var t=this._container,i=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==i.position&&(n.position="relative");var r=e.get("alwaysShowContent");r&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],i=e*this._zr.getWidth(),n=t*this._zr.getHeight();this.moveTo(i,n)},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,i=this._styleCoord;t.style.cssText=d+g(e)+";left:"+i[0]+"px;top:"+i[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i=this._styleCoord;v(i,this._zr,this._appendToBody,e,t);var n=this.el.style;n.left=i[0]+"px",n.top=i[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(e+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),t+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:t}}};var y=m;e.exports=y},13281:function(e,t,i){var n=i(89231),r=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=r},52739:function(e,t,i){var n=i(95289),r=i(21927),o=i(76442);function s(e,t,i,n){e[0]=i,e[1]=n,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function a(e){var t=this._zr=e.getZr();this._styleCoord=[0,0,0,0],s(this._styleCoord,t,e.getWidth()/2,e.getHeight()/2),this._show=!1,this._hideTimeout}a.prototype={constructor:a,_enterable:!0,update:function(e){var t=e.get("alwaysShowContent");t&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],i=e*this._zr.getWidth(),n=t*this._zr.getHeight();this.moveTo(i,n)},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,i){this.el&&this._zr.remove(this.el);var n={},s=e,a="{marker",l="|}",c=s.indexOf(a);while(c>=0){var u=s.indexOf(l),h=s.substr(c+a.length,u-c-a.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[h]},s=s.substr(u+1),c=s.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new r({style:o.setTextStyle({},d,{rich:n,text:e,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){if(this.el){var i=this._styleCoord;s(i,this._zr,e,t),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var l=a;e.exports=l},97371:function(e,t,i){var n=i(89231),r=i(95289),o=i(87190),s=i(47561),a=i(52739),l=i(8595),c=i(44261),u=i(76442),h=i(13390),d=i(61570),f=i(40590),p=i(22921),g=i(8426),v=i(67419),m=i(63199),y=m.getTooltipRenderMode,_=r.bind,x=r.each,b=c.parsePercent,w=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(e,t){if(!o.node){var i,n=e.getComponent("tooltip"),r=n.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(i=new s(t.getDom(),t,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new a(t),this._newLine="\n"),this._tooltipContent=i}},render:function(e,t,i){if(!o.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var n=this._tooltipContent;n.update(e),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,_((function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!o.node){var r=A(n,i);this._ticket="";var s=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var a=w;a.position=[n.x,n.y],a.update(),a.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:a},r)}else if(s)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(e,t,i,n))return;var l=h(n,t),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:n.position,target:l.el},r)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},r))}},manuallyHideTip:function(e,t,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(A(n,i))},_manuallyAxisShowTip:function(e,t,i,n){var r=n.seriesIndex,o=n.dataIndex,s=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=s){var a=t.getSeriesByIndex(r);if(a){var l=a.getData();e=C([l.getItemModel(o),a,(a.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:n.position}),!0}}},_tryShow:function(e,t){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=r.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,n=this._tooltipModel,o=[t.offsetX,t.offsetY],s=[],a=[],c=C([t.tooltipOption,n]),u=this._renderMode,h=this._newLine,d={};x(e,(function(e){x(e.dataByAxis,(function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,o=[];if(t&&null!=n){var c=v.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);r.each(e.seriesDataIndices,(function(s){var l=i.getSeriesByIndex(s.seriesIndex),h=s.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=g.getAxisRawValue(t.axis,n),f.axisValueLabel=c,f){a.push(f);var p,v=l.formatTooltip(h,!0,null,u);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(d,m)}else p=v;o.push(p)}}));var f=c;"html"!==u?s.push(o.join(h)):s.push((f?l.encodeHTML(f)+h:"")+o.join(h))}}))}),this),s.reverse(),s=s.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(c,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(c,f,o[0],o[1],this._tooltipContent,a):this._showTooltipContent(c,s,a,Math.random(),o[0],o[1],f,void 0,d)}))},_showSeriesItemTooltip:function(e,t,i){var n=this._ecModel,o=t.seriesIndex,s=n.getSeriesByIndex(o),a=t.dataModel||s,l=t.dataIndex,c=t.dataType,u=a.getData(c),h=C([u.getItemModel(l),a,s&&(s.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=a.getDataParams(l,c),v=a.formatTooltip(l,!1,c,this._renderMode);r.isObject(v)?(f=v.html,p=v.markers):(f=v,p=null);var m="item_"+a.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,m,e.offsetX,e.offsetY,e.position,e.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"===typeof n){var r=n;n={content:r,formatter:r}}var o=new f(n,this._tooltipModel,this._ecModel),s=o.get("content"),a=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,s,o.get("formatterParams")||{},a,e.offsetX,e.offsetY,e.position,t)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,r,o,s,a,c){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent,h=e.get("formatter");s=s||e.get("position");var d=t;if(h&&"string"===typeof h)d=l.formatTpl(h,i,!0);else if("function"===typeof h){var f=_((function(t,n){t===this._ticket&&(u.setContent(n,c,e),this._updatePosition(e,s,r,o,u,i,a))}),this);this._ticket=n,d=h(i,n,f)}u.setContent(d,c,e),u.show(e),this._updatePosition(e,s,r,o,u,i,a)}},_updatePosition:function(e,t,i,n,o,s,a){var l=this._api.getWidth(),c=this._api.getHeight();t=t||e.get("position");var u=o.getSize(),h=e.get("align"),f=e.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),"function"===typeof t&&(t=t([i,n],s,o.el,p,{viewSize:[l,c],contentSize:u.slice()})),r.isArray(t))i=b(t[0],l),n=b(t[1],c);else if(r.isObject(t)){t.width=u[0],t.height=u[1];var g=d.getLayoutRect(t,{width:l,height:c});i=g.x,n=g.y,h=null,f=null}else if("string"===typeof t&&a){var v=T(t,p,u);i=v[0],n=v[1]}else{v=M(i,n,o,l,c,h?null:20,f?null:20);i=v[0],n=v[1]}if(h&&(i-=I(h)?u[0]/2:"right"===h?u[0]:0),f&&(n-=I(f)?u[1]/2:"bottom"===f?u[1]:0),e.get("confine")){v=k(i,n,o,l,c);i=v[0],n=v[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return i&&x(t,(function(t,n){var r=t.dataByAxis||{},o=e[n]||{},s=o.dataByAxis||[];i&=r.length===s.length,i&&x(r,(function(e,t){var n=s[t]||{},r=e.seriesDataIndices||[],o=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&r.length===o.length,i&&x(r,(function(e,t){var n=o[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function C(e){var t=e.pop();while(e.length){var i=e.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),t=new f(i,t,t.ecModel))}return t}function A(e,t){return e.dispatchAction||r.bind(t.dispatchAction,t)}function M(e,t,i,n,r,o,s){var a=i.getOuterSize(),l=a.width,c=a.height;return null!=o&&(e+l+o>n?e-=l+o:e+=o),null!=s&&(t+c+s>r?t-=c+s:t+=s),[e,t]}function k(e,t,i,n,r){var o=i.getOuterSize(),s=o.width,a=o.height;return e=Math.min(e+s,n)-s,t=Math.min(t+a,r)-a,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function T(e,t,i){var n=i[0],r=i[1],o=5,s=0,a=0,l=t.width,c=t.height;switch(e){case"inside":s=t.x+l/2-n/2,a=t.y+c/2-r/2;break;case"top":s=t.x+l/2-n/2,a=t.y-r-o;break;case"bottom":s=t.x+l/2-n/2,a=t.y+c+o;break;case"left":s=t.x-n-o,a=t.y+c/2-r/2;break;case"right":s=t.x+l+o,a=t.y+c/2-r/2}return[s,a]}function I(e){return"center"===e||"middle"===e}e.exports=S},24823:function(e,t,i){i(43416),i(84845)},43416:function(e,t,i){var n=i(89231),r=i(2925);i(89514),i(61043),i(74660),i(49040),i(12028),n.registerPreprocessor(r)},84845:function(e,t,i){var n=i(89231),r=i(2925);i(89514),i(61043),i(84893),i(94719),i(12028),n.registerPreprocessor(r)},74660:function(e,t,i){var n=i(95289),r=i(96517),o=i(44261),s=[20,140],a=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){a.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){a.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=s[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=s[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):n.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){r.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=i[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],r=i.getData();r.each(this.getDataDimension(r),(function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function r(t,i){n.push({value:t,color:e(t,i)})}for(var o=0,s=0,a=i.length,c=t.length;se[1])break;n.push({color:this.getControllerVisual(s,"color",t),offset:o/i})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new a.Group("horizontal"!==t||i?"horizontal"===t&&i?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||i?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,o=i.handleLabels;f([0,1],(function(s){var l=r[s];l.setStyle("fill",t.handlesColor[s]),l.position[1]=e[s];var c=a.applyTransform(i.handleLabelPoints[s],a.getTransform(l,this.group));o[s].setStyle({x:c[0],y:c[1],text:n.formatValueText(this._dataInterval[s]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===s?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(e,t,i,n){var r=this.visualMapModel,o=r.getExtent(),s=r.itemSize,l=[0,s[1]],c=d(e,o,l,!0),u=this._shapes,h=u.indicator;if(h){h.position[1]=c,h.attr("invisible",!1),h.setShape("points",b(!!i,n,c,s[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);h.setStyle("fill",p);var g=a.applyTransform(u.indicatorLabelPoint,a.getTransform(h,this.group)),v=u.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",u.barGroup),y=this._orient;v.setStyle({text:(i||"")+r.formatValueText(t),textVerticalAlign:"horizontal"===y?m:"middle",textAlign:"horizontal"===y?"center":m,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var r=[0,n[1]],o=i.getExtent();e=p(g(r[0],e),r[1]);var s=w(i,o,r),a=[e-s,e+s],l=d(e,r,o,!0),c=[d(a[0],r,o,!0),d(a[1],r,o,!0)];a[0]r[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",s):c[1]===1/0?this._showIndicator(l,c[0],"> ",s):this._showIndicator(l,l,"≈ ",s));var f=this._hoverLinkDataIndices,v=[];(t||S(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(c));var m=h.compressBatches(f,v);this._dispatchHighDown("downplay",u.makeHighDownBatch(m[0],i)),this._dispatchHighDown("highlight",u.makeHighDownBatch(m[1],i))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,i=this.visualMapModel;if(t&&null!=t.dataIndex){var n=this.ecModel.getSeriesByIndex(t.seriesIndex);if(i.isTargetSeries(n)){var r=n.getData(t.dataType),o=r.get(i.getDataDimension(r),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,i,r){var o=a.getTransform(t,r?null:this.group);return a[n.isArray(e)?"applyTransform":"transformDirection"](e,o,i)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function _(e,t,i,n){return new a.Polygon({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){o.stop(e.event)},ondragend:n})}function x(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function b(e,t,i,n){return e?[[0,-p(t,g(i,0))],[m,0],[0,p(t,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,i){var n=v/2,r=e.get("hoverLinkDataSize");return r&&(n=d(r,t,i,!0)/2),n}function S(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function C(e){return"vertical"===e?"ns-resize":"ew-resize"}var A=y;e.exports=A},84893:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(96517),s=i(71576),a=i(67759),l=i(44261),c=l.reformIntervals,u=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var i=this._mode=this._determineMode();h[this._mode].call(this),this._resetSelected(e,t);var n=this.option.categories;this.resetVisual((function(e,t){"categories"===i?(e.mappingMethod="category",e.categories=r.clone(n)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,(function(e){e=r.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},i=s.listVisualTypes(),n=this.isCategory();function l(e,t,i){return e&&e[t]&&(r.isObject(e[t])?e[t].hasOwnProperty(i):e[t]===i)}r.each(e.pieces,(function(e){r.each(i,(function(i){e.hasOwnProperty(i)&&(t[i]=1)}))})),r.each(t,(function(t,i){var o=0;r.each(this.stateList,(function(t){o|=l(e,t,i)||l(e.target,t,i)}),this),!o&&r.each(this.stateList,(function(t){(e[t]||(e[t]={}))[i]=a.get(i,"inRange"===t?"active":"inactive",n)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var i=this.option,n=this._pieceList,o=(t?i:e).selected||{};if(i.selected=o,r.each(n,(function(e,t){var i=this.getSelectedMapKey(e);o.hasOwnProperty(i)||(o[i]=!0)}),this),"single"===i.selectedMode){var s=!1;r.each(n,(function(e,t){var i=this.getSelectedMapKey(e);o[i]&&(s?o[i]=!1:s=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=r.clone(e)},getValueState:function(e){var t=s.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],r=i.getData();r.each(this.getDataDimension(r),(function(t,i){var r=s.findPieceIndex(t,this._pieceList);r===e&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],i=[],n=this,o=this._pieceList.slice();if(o.length){var s=o[0].interval[0];s!==-1/0&&o.unshift({interval:[-1/0,s]}),s=o[o.length-1].interval[1],s!==1/0&&o.push({interval:[s,1/0]})}else o.push({interval:[-1/0,1/0]});var a=-1/0;return r.each(o,(function(e){var t=e.interval;t&&(t[0]>a&&l([a,t[0]],"outOfRange"),l(t.slice()),a=t[1])}),this),{stops:t,outerColors:i}}function l(r,o){var s=n.getRepresentValue({interval:r});o||(o=n.getValueState(s));var a=e(s,o);r[0]===-1/0?i[0]=a:r[1]===1/0?i[1]=a:t.push({value:r[0],color:a},{value:r[1],color:a})}}}),h={splitNumber:function(){var e=this.option,t=this._pieceList,i=Math.min(e.precision,20),n=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var s=(n[1]-n[0])/o;while(+s.toFixed(i)!==s&&i<5)i++;e.precision=i,s=+s.toFixed(i),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var a=0,l=n[0];a","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)}),this)}};function d(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var f=u;e.exports=f},94719:function(e,t,i){var n=i(95289),r=i(30071),o=i(76442),s=i(22864),a=s.createSymbol,l=i(61570),c=i(2054),u=r.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,i=t.get("textGap"),r=t.textStyleModel,s=r.getFont(),a=r.getTextColor(),c=this._getItemAlign(),u=t.itemSize,h=this._getViewData(),d=h.endsText,f=n.retrieve(t.get("showLabel",!0),!d);function p(r){var l=r.piece,h=new o.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,r.indexInModelPieceList);var d=t.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,u[0],u[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new o.Text({style:{x:"right"===c?-i:u[0]+i,y:u[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:c,textFont:s,textFill:a,opacity:"outOfRange"===p?.5:1}}))}e.add(h)}d&&this._renderEndsText(e,d[0],u,f,c),n.each(h.viewPieceList,p,this),d&&this._renderEndsText(e,d[1],u,f,c),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function i(e){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:e,batch:c.makeHighDownBatch(i.findTargetDataIndices(t),i)})}e.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return c.getItemAlign(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(e,t,i,n,r){if(t){var s=new o.Group,a=this.visualMapModel.textStyleModel;s.add(new o.Text({style:{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?r:"center",text:t,textFont:a.getFont(),textFill:a.getTextColor()}})),e.add(s)}},_getViewData:function(){var e=this.visualMapModel,t=n.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),i=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},_createItemSymbol:function(e,t,i){e.add(a(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,i=t.option,r=n.clone(i.selected),o=t.getSelectedMapKey(e);"single"===i.selectedMode?(r[o]=!0,n.each(r,(function(e,t){r[t]=t===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),h=u;e.exports=h},96517:function(e,t,i){var n=i(89231),r=i(95289),o=i(87190),s=i(67759),a=i(71576),l=i(63479),c=i(63199),u=i(44261),h=a.mapVisual,d=a.eachVisual,f=r.isArray,p=r.each,g=u.asc,v=u.linearMap,m=r.noop,y=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,i)},optionUpdated:function(e,t){var i=this.option;o.canvasSupported||(i.realtime=!1),!t&&l.replaceVisualOption(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=r.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,i){t.push(i)})):t=c.normalizeToArray(e),t},eachTargetSeries:function(e,t){r.each(this.getTargetSeriesIndices(),(function(i){e.call(t,this.ecModel.getSeriesByIndex(i))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(i){i===e&&(t=!0)})),t},formatValueText:function(e,t,i){var n,o,s=this.option,a=s.precision,l=this.dataBound,c=s.formatter;return i=i||["<",">"],r.isArray(e)&&(e=e.slice(),n=!0),o=t?e:n?[u(e[0]),u(e[1])]:u(e),r.isString(c)?c.replace("{value}",n?o[0]:o).replace("{value2}",n?o[1]:o):r.isFunction(c)?n?c(e[0],e[1]):c(e):n?e[0]===l[0]?i[0]+" "+o[1]:e[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function u(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(a,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,i=e.dimensions;if(null!=t||i.length){if(null!=t)return e.getDimension(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var o=n[r],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,i={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),o=t.controller||(t.controller={});r.merge(n,i),r.merge(o,i);var l=this.isCategory();function c(i){f(t.color)&&!i.inRange&&(i.inRange={color:t.color.slice().reverse()}),i.inRange=i.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=i[e];if(r.isString(t)){var n=s.get(t,"active",l);n?(i[e]={},i[e][t]=n):delete i[e]}}),this)}function u(e,t,i){var n=e[t],r=e[i];n&&!r&&(r=e[i]={},p(n,(function(e,t){if(a.isValidType(t)){var i=s.get(t,"inactive",l);null!=i&&(r[t]=i,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,(function(o){var s=this.itemSize,a=e[o];a||(a=e[o]={color:l?n:[n]}),null==a.symbol&&(a.symbol=t&&r.clone(t)||(l?"roundRect":["roundRect"])),null==a.symbolSize&&(a.symbolSize=i&&r.clone(i)||(l?s[0]:[s[0],s[0]])),a.symbol=h(a.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var c=a.symbolSize;if(null!=c){var u=-1/0;d(c,(function(e){e>u&&(u=e)})),a.symbolSize=h(c,(function(e){return v(e,[0,u],[0,s[0]],!0)}))}}),this)}c.call(this,n),c.call(this,o),u.call(this,n,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m}),_=y;e.exports=_},30071:function(e,t,i){var n=i(89231),r=i(95289),o=i(76442),s=i(8595),a=i(61570),l=i(71576),c=n.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,i,n){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,i=s.normalizeCssArray(t.get("padding")||0),n=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,i){i=i||{};var n=i.forceState,o=this.visualMapModel,s={};if("symbol"===t&&(s.symbol=o.get("itemSymbol")),"color"===t){var a=o.get("contentColor");s.color=a}function c(e){return s[e]}function u(e,t){s[e]=t}var h=o.controllerVisuals[n||o.getValueState(e)],d=l.prepareVisualTypes(h);return r.each(d,(function(n){var r=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=h.__alphaForOpacity),l.dependsOn(n,t)&&r&&r.applyVisual(e,c,u)})),s[t]},positionGroup:function(e){var t=this.visualMapModel,i=this.api;a.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:r.noop});e.exports=c},2054:function(e,t,i){var n=i(95289),r=i(61570),o=r.getLayoutRect;function s(e,t,i){var n=e.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var s={width:t.getWidth(),height:t.getHeight()},a="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],c=l[a],u=[0,null,10],h={},d=0;d<3;d++)h[l[1-a][d]]=u[d],h[c[d]]=2===d?i[0]:n[c[d]];var f=[["x","width",3],["y","height",0]][a],p=o(h,s,n.padding);return c[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*s[f[1]]?0:1]}function a(e,t){return n.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}t.getItemAlign=s,t.makeHighDownBatch=a},2925:function(e,t,i){var n=i(95289),r=n.each;function o(e){var t=e&&e.visualMap;n.isArray(t)||(t=t?[t]:[]),r(t,(function(e){if(e){s(e,"splitList")&&!s(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&n.isArray(t)&&r(t,(function(e){n.isObject(e)&&(s(e,"start")&&!s(e,"min")&&(e.min=e.start),s(e,"end")&&!s(e,"max")&&(e.max=e.end))}))}}))}function s(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=o},89514:function(e,t,i){var n=i(85532);n.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},61043:function(e,t,i){var n=i(89231),r=i(95289),o=i(63479),s=i(71576),a=n.PRIORITY.VISUAL.COMPONENT;function l(e,t,i,n){for(var r=t.targetVisuals[n],o=s.prepareVisualTypes(r),a={color:e.getData().getVisual("color")},l=0,c=o.length;ll[1];p(t[0].coord,l[0])&&(n?t[0].coord=l[0]:t.shift()),n&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],s.coord)&&(n?s.coord=l[1]:t.pop()),n&&p(s.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=c(e),t=c(t),f?e>t:e=i&&e<=n},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var i=this._extent;i[0]=e,i[1]=t},dataToCoord:function(e,t){var i=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&"ordinal"===n.type&&(i=i.slice(),v(i,n.count())),a(e,p,i,t)},coordToData:function(e,t){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),v(i,n.count()));var r=a(e,i,p,t);return this.scale.scale(r)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),i=h(this,t),n=i.ticks,r=o(n,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),s=t.get("alignWithLabel");return m(this,r,s,e.clamp),r},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 i=this.scale.getMinorTicks(t),n=o(i,(function(e){return o(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return n},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),i=t[1]-t[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;e.exports=y},92394:function(e,t,i){var n=i(95289),r=i(31138),o=i(13388),s=i(39587),a=i(38051),l=r.applyTransform;function c(){a.call(this)}function u(e){this.name=e,this.zoomLimit,a.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}function h(e,t,i,n){var r=i.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[e](n):null}n.mixin(c,a),u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,i,n){return this._rect=new s(e,t,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,i,n){this.transformTo(e,t,i,n),this._viewRect=new s(e,t,i,n)},transformTo:function(e,t,i,n){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new s(e,t,i,n)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,i=e.y+e.height/2;return[t,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),o=this.getZoom();n=r.applyTransform([],n,e),i=r.applyTransform([],i,e),t.origin=n,t.position=[i[0]-n[0],i[1]-n[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?n.slice(e):o.create(),rawScale:n.slice(t.scale),rawPosition:n.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,i){var n=t?this._rawTransform:this.transform;return i=i||[],n?l(i,e,n):r.copy(i,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},n.mixin(u,a);var d=u;e.exports=d},15429:function(e,t,i){var n=i(95289),r={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),o.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),o.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=n.defaults({scale:!0,logBase:10},o.valueAxis);var s=o;e.exports=s},8426:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(37221),s=i(21607),a=i(96506),l=i(44261),c=i(11041),u=c.prepareLayoutBarSeries,h=c.makeColumnLayout,d=c.retrieveColumnLayout,f=i(39587);function p(e,t){var i,n,o,s=e.type,a=t.getMin(),c=t.getMax(),d=e.getExtent();"ordinal"===s?i=t.getCategories().length:(n=t.get("boundaryGap"),r.isArray(n)||(n=[n||0,n||0]),"boolean"===typeof n[0]&&(n=[0,0]),n[0]=l.parsePercent(n[0],1),n[1]=l.parsePercent(n[1],1),o=d[1]-d[0]||Math.abs(d[0])),"dataMin"===a?a=d[0]:"function"===typeof a&&(a=a({min:d[0],max:d[1]})),"dataMax"===c?c=d[1]:"function"===typeof c&&(c=c({min:d[0],max:d[1]}));var f=null!=a,p=null!=c;null==a&&(a="ordinal"===s?i?0:NaN:d[0]-n[0]*o),null==c&&(c="ordinal"===s?i?i-1:NaN:d[1]+n[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==c||!isFinite(c))&&(c=NaN),e.setBlank(r.eqNaN(a)||r.eqNaN(c)||"ordinal"===s&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(a>0&&c>0&&!f&&(a=0),a<0&&c<0&&!p&&(c=0));var v=t.ecModel;if(v&&"time"===s){var m,y=u("bar",v);if(r.each(y,(function(e){m|=e.getBaseAxis()===t.axis})),m){var _=h(y),x=g(a,c,t,_);a=x.min,c=x.max}}return{extent:[a,c],fixMin:f,fixMax:p}}function g(e,t,i,n){var o=i.axis.getExtent(),s=o[1]-o[0],a=d(n,i.axis);if(void 0===a)return{min:e,max:t};var l=1/0;r.each(a,(function(e){l=Math.min(e.offset,l)}));var c=-1/0;r.each(a,(function(e){c=Math.max(e.offset+e.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,h=t-e,f=1-(l+c)/s,p=h/f-h;return t+=p*(c/u),e-=p*(l/u),{min:e,max:t}}function v(e,t){var i=p(e,t),n=i.extent,r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var o=e.type;e.setExtent(n[0],n[1]),e.niceExtent({splitNumber:r,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===o||"time"===o?t.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?t.get("maxInterval"):null});var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)}function m(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new o(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new s;default:return(a.getClass(t)||s).create(e)}}function y(e){var t=e.scale.getExtent(),i=t[0],n=t[1];return!(i>0&&n>0||i<0&&n<0)}function _(e){var t=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(i){return i=e.scale.getLabel(i),t.replace("{value}",null!=i?i:"")}}(t),t):"function"===typeof t?function(n,r){return null!=i&&(r=n-i),t(x(e,n),r)}:function(t){return e.scale.getLabel(t)}}function x(e,t){return"category"===e.type?e.scale.getLabel(t):t}function b(e){var t=e.model,i=e.scale;if(t.get("axisLabel.show")&&!i.isBlank()){var n,r,o="category"===e.type,s=i.getExtent();o?r=i.count():(n=i.getTicks(),r=n.length);var a,l=e.getLabelModel(),c=_(e),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h40&&(c=Math.max(1,Math.floor(a/40)));for(var u=s[0],d=e.dataToCoord(u+1)-e.dataToCoord(u),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,v=0;u<=s[1];u+=c){var m=0,y=0,_=r.getBoundingRect(i(u),t.font,"center","top");m=1.3*_.width,y=1.3*_.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var x=g/f,b=v/p;isNaN(x)&&(x=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(x,b))),C=h(e.model),A=e.getExtent(),M=C.lastAutoInterval,k=C.lastTickCount;return null!=M&&null!=k&&Math.abs(M-w)<=1&&Math.abs(k-a)<=1&&M>w&&C.axisExtend0===A[0]&&C.axisExtend1===A[1]?w=M:(C.lastTickCount=a,C.lastAutoInterval=w,C.axisExtend0=A[0],C.axisExtend1=A[1]),w}function S(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 C(e,t,i){var n=l(e),r=e.scale,o=r.getExtent(),s=e.getLabelModel(),a=[],c=Math.max((t||0)+1,1),h=o[0],d=r.count();0!==h&&c>1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var f=u(e),p=s.get("showMinLabel")||f,g=s.get("showMaxLabel")||f;p&&h!==o[0]&&m(o[0]);for(var v=h;v<=o[1];v+=c)m(v);function m(e){a.push(i?e:{formattedLabel:n(e),rawLabel:r.getLabel(e),tickValue:e})}return g&&v-c!==o[1]&&m(o[1]),a}function A(e,t,i){var r=e.scale,o=l(e),s=[];return n.each(r.getTicks(),(function(e){var n=r.getLabel(e);t(e,n)&&s.push(i?e:{formattedLabel:o(e),rawLabel:n,tickValue:e})})),s}t.createAxisLabels=d,t.createAxisTicks=f,t.calculateCategoryInterval=w},17354:function(e,t,i){var n=i(95289),r=i(61570),o=i(44261),s=i(50294),a=864e5;function l(e,t,i){this._model=e}function c(e,t,i,n){var r=i.calendarModel,o=i.seriesModel,s=r?r.coordinateSystem:o?o.coordinateSystem:null;return s===this?s[e](n):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),i=e.getMonth()+1;i=i<10?"0"+i:i;var n=e.getDate();n=n<10?"0"+n:n;var r=e.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:t,m:i,d:n,day:r,time:e.getTime(),formatedDate:t+"-"+i+"-"+n,date:e}},getNextNDay:function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,o=["width","height"],s=this._model.get("cellSize").slice(),a=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],(function(e){h(s,e)&&(a[o[e]]=s[e]*l[e])}));var c={width:t.getWidth(),height:t.getHeight()},u=this._rect=r.getLayoutRect(a,c);function h(e,t){return null!=e[t]&&"auto"!==e[t]}n.each([0,1],(function(e){h(s,e)||(s[e]=u[o[e]]/l[e])})),this._sw=s[0],this._sh=s[1]},dataToPoint:function(e,t){n.isArray(e)&&(e=e[0]),null==t&&(t=!0);var i=this.getDateInfo(e),r=this._rangeInfo,o=i.formatedDate;if(t&&!(i.time>=r.start.time&&i.times.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var i=Math.floor(e[1].time/a)-Math.floor(e[0].time/a)+1,n=new Date(e[0].time),r=n.getDate(),o=e[1].date.getDate();n.setDate(r+i-1);var s=n.getDate();if(s!==o){var l=n.getTime()-e[1].time>0?1:-1;while((s=n.getDate())!==o&&(n.getTime()-e[1].time)*l>0)i-=l,n.setDate(s-l)}var c=Math.floor((i+e[0].day+6)/7),u=t?1-c:c-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:c,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,i){var n=this._getRangeInfo(i);if(e>n.weeks||0===e&&tn.lweek)return!1;var r=7*(e-1)-n.fweek+t,o=new Date(n.start.time);return o.setDate(n.start.d+r),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var i=[];return e.eachComponent("calendar",(function(n){var r=new l(n,e,t);i.push(r),n.coordinateSystem=r})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])})),i},s.register("calendar",l);var u=l;e.exports=u},89025:function(e,t,i){var n=i(95289),r=i(85532),o=i(61570),s=o.getLayoutParams,a=o.sizeCalculable,l=o.mergeLayoutParam,c=r.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,i,n){var r=s(e);c.superApply(this,"init",arguments),u(e,r)},mergeOption:function(e,t){c.superApply(this,"mergeOption",arguments),u(this.option,e)}});function u(e,t){var i=e.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var r=n.map([0,1],(function(e){return a(t,e)&&(i[e]="auto"),null!=i[e]&&"auto"!==i[e]}));l(e,t,{type:"box",ignoreSize:r})}var h=c;e.exports=h},14774:function(e){function t(e){var t=e.getRect(),i=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(t,i){return e.dataToPoint(t,i)}}}}e.exports=t},81663:function(e,t,i){var n=i(95289),r=i(31490),o=function(e,t,i,n,o){r.call(this,e,t,i),this.type=n||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},n.inherits(o,r);var s=o;e.exports=s},67384:function(e,t,i){var n=i(95289),r=i(85532),o=i(98541),s=i(48267),a=r.extend({type:"cartesian2dAxis",axis:null,init:function(){a.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){a.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){a.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}n.merge(a.prototype,s);var c={offset:0};o("x",a,l,c),o("y",a,l,c);var u=a;e.exports=u},37548:function(e,t,i){var n=i(95289);function r(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return n.map(this._dimList,r,this)},getAxesByScale:function(e){return e=e.toLowerCase(),n.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var i=this._dimList,n=e instanceof Array?[]:{},r=0;r1?(g.width=u,g.height=u/f):(g.height=u,g.width=u*f),g.y=c[1]-g.height/2,g.x=c[0]-g.width/2}else o=e.getBoxLayoutParams(),o.aspect=f,g=a.getLayoutRect(o,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,i){e.addGeoCoord(i,t)}))}var f={dimensions:s.prototype.dimensions,create:function(e,t){var i=[];e.eachComponent("geo",(function(e,n){var r=e.get("map"),o=e.get("aspectScale"),a=!0,l=u.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),a=!1):null==o&&(o=.75);var c=new s(r+n,r,e.get("nameMap"),a);c.aspectScale=o,c.zoomLimit=e.get("scaleLimit"),i.push(c),d(c,e),e.coordinateSystem=c,c.model=e,c.resize=h,c.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var n=e.get("geoIndex")||0;e.coordinateSystem=i[n]}}));var n={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();n[t]=n[t]||[],n[t].push(e)}})),o.each(n,(function(e,n){var r=o.map(e,(function(e){return e.get("nameMap")})),a=new s(n,n,o.mergeAll(r));a.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),i.push(a),a.resize=h,a.aspectScale=e[0].get("aspectScale"),a.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=a,d(a,e)}))})),i},getFilledRegions:function(e,t,i){for(var n=(e||[]).slice(),r=o.createHashMap(),s=0;s>1^-(1&a),l=l>>1^-(1&l),a+=r,l+=o,r=a,o=l,n.push([a/i,l/i])}return n}function a(e,t){return o(e),n.map(n.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var i=e.properties,o=e.geometry,s=o.coordinates,a=[];"Polygon"===o.type&&a.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),"MultiPolygon"===o.type&&n.each(s,(function(e){e[0]&&a.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new r(i[t||"name"],a,i.cp);return l.properties=i,l}))}e.exports=a},89993:function(e,t,i){var n=i(95289);function r(e,t){return t=t||[0,0],n.map([0,1],(function(i){var n=t[i],r=e[i]/2,o=[],s=[];return o[i]=n-r,s[i]=n+r,o[1-i]=s[1-i]=t[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(s)[i])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(r,e)}}}e.exports=o},52841:function(e,t,i){var n=i(95289),r=i(85532),o=i(81935),s=i(98541),a=i(44261),l=i(48267),c=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=n.clone(e);if(t)for(var i=t.length-1;i>=0;i--)a.asc(t[i])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var i=t[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var n=0,r=t.length;n=i&&o<=i+t.axisLength&&s>=n&&s<=n+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(i){if(e.contains(i,t)){var n=i.getData();h(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(n,n.mapDimension(e)),s.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,i=this._rect,n=["x","y"],r=["width","height"],o=t.get("layout"),s="horizontal"===o?0:1,a=i[r[s]],l=[0,a],c=this.dimensions.length,u=_(t.get("axisExpandWidth"),l),h=_(t.get("axisExpandCount")||0,[0,c]),d=t.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&a>0,f=t.get("axisExpandWindow");if(f)e=_(f[1]-f[0],l),f[1]=f[0]+e;else{e=_(u*(h-1),l);var m=t.get("axisExpandCenter")||p(c/2);f=[u*m-e/2],f[1]=f[0]+e}var y=(a-e)/(c-h);y<3&&(y=0);var x=[p(v(f[0]/u,1))+1,g(v(f[1]/u,1))-1],b=y/u*f[0];return{layout:o,pixelDimIndex:s,layoutBase:i[n[s]],layoutLength:a,axisBase:i[n[1-s]],axisLength:i[r[1-s]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:y,axisExpandWindow:f,axisCount:c,winInnerIndices:x,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),o=n.layout;t.each((function(e){var t=[0,n.axisLength],i=e.inverse?1:0;e.setExtent(t[i],t[1-i])})),h(i,(function(t,i){var s=(n.axisExpandable?b:x)(i,n),a={horizontal:{x:s.position,y:n.axisLength},vertical:{x:0,y:s.position}},l={horizontal:m/2,vertical:0},c=[a[o].x+e.x,a[o].y+e.y],u=l[o],h=r.create();r.rotate(h,h,u),r.translate(h,h,c),this._axesLayout[t]={position:c,rotation:u,transform:h,axisNameAvailableWidth:s.axisNameAvailableWidth,axisLabelShow:s.axisLabelShow,nameTruncateMaxWidth:s.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,i,r){null==i&&(i=0),null==r&&(r=e.count());var o=this._axesMap,s=this.dimensions,a=[],l=[];n.each(s,(function(t){a.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var c=this.hasAxisBrushed(),u=i;ur*(1-h[0])?(l="jump",s=a-r*(1-h[2])):(s=a-r*h[1])>=0&&(s=a-r*(1-h[1]))<=0&&(s=0),s*=t.axisExpandWidth/c,s?u(s,n,o,"all"):l="none";else{r=n[1]-n[0];var g=o[1]*a/r;n=[f(0,g-r/2)],n[1]=d(o[1],n[0]+r),n[0]=n[1]-r}return{axisExpandWindow:n,behavior:l}}};var w=y;e.exports=w},81477:function(e,t,i){var n=i(95289),r=i(31490),o=function(e,t,i,n,o){r.call(this,e,t,i),this.type=n||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(o,r);var s=o;e.exports=s},69531:function(e,t,i){var n=i(95289),r=i(85532);i(52841);var o=r.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&n.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var i=e.get("parallelIndex");return null!=i&&t.getComponent("parallel",i)===this},setAxisExpand:function(e){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);n.each(i,(function(i){e.push("dim"+i.get("dim")),t.push(i.componentIndex)}))}});e.exports=o},9278:function(e,t,i){var n=i(46052),r=i(50294);function o(e,t){var i=[];return e.eachComponent("parallel",(function(r,o){var s=new n(r,e,t);s.name="parallel_"+o,s.resize(r,t),r.coordinateSystem=s,s.model=r,i.push(s)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}r.register("parallel",{create:o})},44259:function(e,t,i){var n=i(95289),r=i(63199);function o(e){s(e),a(e)}function s(e){if(!e.parallel){var t=!1;n.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function a(e){var t=r.normalizeToArray(e.parallelAxis);n.each(t,(function(t){if(n.isObject(t)){var i=t.parallelIndex||0,o=r.normalizeToArray(e.parallel)[i];o&&o.parallelAxisDefault&&n.merge(t,o.parallelAxisDefault,!1)}}))}e.exports=o},10318:function(e,t,i){var n=i(95289),r=i(43407),o=i(31490),s=i(63199),a=s.makeInner,l=a();function c(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}c.prototype={constructor:c,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),i=e.scale,n=i.getExtent(),o=i.count();if(n[1]-n[0]<1)return 0;var s=n[0],a=e.dataToCoord(s+1)-e.dataToCoord(s),c=Math.abs(a),u=r.getBoundingRect(s,t.getFont(),"center","top"),h=Math.max(u.height,7),d=h/c;isNaN(d)&&(d=1/0);var f=Math.max(0,Math.floor(d)),p=l(e.model),g=p.lastAutoInterval,v=p.lastTickCount;return null!=g&&null!=v&&Math.abs(g-f)<=1&&Math.abs(v-o)<=1&&g>f?f=g:(p.lastTickCount=o,p.lastAutoInterval=f),f}},n.inherits(c,o);var u=c;e.exports=u},77814:function(e,t,i){var n=i(95289),r=i(85532),o=i(98541),s=i(48267),a=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(a.prototype,s);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(e,t){return t.type||(t.data?"category":"value")}o("angle",a,c,l.angle),o("radius",a,c,l.radius)},4432:function(e,t,i){var n=i(95845),r=i(10318),o=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===e&&t.push(i),n.scale.type===e&&t.push(n),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var i=this.pointToCoord(e);return[this._radiusAxis.radiusToData(i[0],t),this._angleAxis.angleToData(i[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=this.getAngleAxis(),r=n.getExtent(),o=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);n.inverse?o=s-360:s=o+360;var a=Math.sqrt(t*t+i*i);t/=a,i/=a;var l=Math.atan2(-i,t)/Math.PI*180,c=ls)l+=360*c;return[a,l]},coordToPoint:function(e){var t=e[0],i=e[1]/180*Math.PI,n=Math.cos(i)*t+this.cx,r=-Math.sin(i)*t+this.cy;return[n,r]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),i=t.getExtent().slice();i[0]>i[1]&&i.reverse();var n=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var i=e-this.cx,n=t-this.cy,r=i*i+n*n,o=this.r,s=this.r0;return r<=o*o&&r>=s*s}}}};var s=o;e.exports=s},23607:function(e,t,i){var n=i(89231);i(77814);var r=n.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,i=this.ecModel;return i.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=r},95845:function(e,t,i){var n=i(95289),r=i(31490);function o(e,t){r.call(this,"radius",e,t),this.type="category"}o.prototype={constructor:o,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},n.inherits(o,r);var s=o;e.exports=s},35866:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(4432),s=i(44261),a=s.parsePercent,l=i(8426),c=l.createScaleByModel,u=l.niceScaleExtent,h=i(50294),d=i(74051),f=d.getStackedDimension;function p(e,t,i){var n=t.get("center"),o=i.getWidth(),s=i.getHeight();e.cx=a(n[0],o),e.cy=a(n[1],s);var l=e.getRadiusAxis(),c=Math.min(o,s)/2,u=t.get("radius");null==u?u=[0,"100%"]:r.isArray(u)||(u=[0,u]),u=[a(u[0],c),a(u[1],c)],l.inverse?l.setExtent(u[1],u[0]):l.setExtent(u[0],u[1])}function g(e,t){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var t=e.getData();r.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,f(t,e))})),r.each(t.mapDimension("angle",!0),(function(e){n.scale.unionExtentFromData(t,f(t,e))}))}})),u(n.scale,n.model),u(o.scale,o.model),"category"===n.type&&!n.onBand){var s=n.getExtent(),a=360/n.scale.count();n.inverse?s[1]+=a:s[1]-=a,n.setExtent(s[0],s[1])}}function v(e,t){if(e.type=t.get("type"),e.scale=c(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var i=t.get("startAngle");e.setExtent(i,i+(e.inverse?-360:360))}t.axis=e,e.model=t}i(23607);var m={dimensions:o.prototype.dimensions,create:function(e,t){var i=[];return e.eachComponent("polar",(function(e,n){var r=new o(n);r.update=g;var s=r.getRadiusAxis(),a=r.getAngleAxis(),l=e.findAxisModel("radiusAxis"),c=e.findAxisModel("angleAxis");v(s,l),v(a,c),p(r,e,t),i.push(r),e.coordinateSystem=r,r.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}};h.register("polar",m)},12976:function(e,t,i){var n=i(95289);function r(e,t){return n.map(["Radius","Angle"],(function(i,n){var r=this["get"+i+"Axis"](),o=t[n],s=e[n]/2,a="dataTo"+i,l="category"===r.type?r.getBandWidth():Math.abs(r[a](o-s)-r[a](o+s));return"Angle"===i&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:n.bind((function(n){var r=t.dataToRadius(n[0]),o=i.dataToAngle(n[1]),s=e.coordToPoint([r,o]);return s.push(r,o*Math.PI/180),s})),size:n.bind(r,e)}}}e.exports=o},64156:function(e,t,i){var n=i(95289),r=i(31490);function o(e,t,i){r.call(this,e,t,i),this.type="value",this.angle=0,this.name="",this.model}n.inherits(o,r);var s=o;e.exports=s},12228:function(e,t,i){var n=i(95289),r=i(64156),o=i(21607),s=i(44261),a=i(8426),l=a.getScaleExtent,c=a.niceScaleExtent,u=i(50294),h=i(94034);function d(e,t,i){this._model=e,this.dimensions=[],this._indicatorAxes=n.map(e.getIndicatorModels(),(function(e,t){var i="indicator_"+t,n=new r(i,"log"===e.get("axisType")?new h:new o);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(i),n}),this),this.resize(e,i),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(e,t){var i=this._indicatorAxes[t];return this.coordToPoint(i.dataToCoord(e),t)},d.prototype.coordToPoint=function(e,t){var i=this._indicatorAxes[t],n=i.angle,r=this.cx+e*Math.cos(n),o=this.cy-e*Math.sin(n);return[r,o]},d.prototype.pointToData=function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=Math.sqrt(t*t+i*i);t/=n,i/=n;for(var r,o=Math.atan2(-i,t),s=1/0,a=-1,l=0;li[0]&&isFinite(g)&&isFinite(i[0]))}else{var f=r.getTicks().length-1;f>o&&(d=a(d));var p=Math.ceil(i[1]/d)*d,g=s.round(p-d*o);r.setExtent(g,p),r.setInterval(d)}}))},d.dimensions=[],d.create=function(e,t){var i=[];return e.eachComponent("radar",(function(n){var r=new d(n,e,t);i.push(r),n.coordinateSystem=r})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])})),i},u.register("radar",d);var f=d;e.exports=f},45371:function(e,t,i){var n=i(89231),r=i(95289),o=i(15429),s=i(40590),a=i(48267),l=o.valueAxis;function c(e,t){return r.defaults({show:t},e)}var u=n.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),c=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=r.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=u;if(null!=g.color&&(v=r.defaults({color:g.color},u)),g=r.merge(r.clone(g),{boundaryGap:e,splitNumber:t,scale:i,axisLine:n,axisTick:o,axisType:l,axisLabel:c,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var m=g.name;g.name=d.replace("{value}",null!=m?m:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=r.extend(new s(g,null,this.ecModel),a);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:r.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),axisType:"interval",splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]}}),h=u;e.exports=h},51102:function(e,t,i){var n=i(95289),r=i(85532),o=i(98541),s=i(48267),a=r.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(e,t){return t.type||(t.data?"category":"value")}n.merge(a.prototype,s),o("single",a,c,l);var u=a;e.exports=u},75766:function(e,t,i){var n=i(25515),r=i(8426),o=i(61570),s=o.getLayoutRect,a=i(95289),l=a.each;function c(e,t,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,i),this.model=e}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(e,t,i){var o=this.dimension,s=new n(o,r.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),a="category"===s.type;s.onBand=a&&e.get("boundaryGap"),s.inverse=e.get("inverse"),s.orient=e.get("orient"),e.axis=s,s.model=e,s.coordinateSystem=this,this._axis=s},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),r.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=s({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,i=t.isHorizontal(),n=i?[0,e.width]:[0,e.height],r=t.reverse?1:0;t.setExtent(n[r],n[1-r]),this._updateAxisTransform(t,i?e.x:e.y)},_updateAxisTransform:function(e,t){var i=e.getExtent(),n=i[0]+i[1],r=e.isHorizontal();e.toGlobalCoord=r?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=r?function(e){return e-t}:function(e){return n-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:i.contain(i.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),i=this.getRect(),n=[],r="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[r]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-r]=0===r?i.y+i.height/2:i.x+i.width/2,n}};var u=c;e.exports=u},25515:function(e,t,i){var n=i(95289),r=i(31490),o=function(e,t,i,n,o){r.call(this,e,t,i),this.type=n||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(o,r);var s=o;e.exports=s},58568:function(e,t,i){var n=i(95289);function r(e,t){var i=this.getAxis(),n=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function o(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(r,e)}}}e.exports=o},71099:function(e,t,i){var n=i(95289);function r(e,t){t=t||{};var i=e.coordinateSystem,r=e.axis,o={},s=r.position,a=r.orient,l=i.getRect(),c=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};o.position=["vertical"===a?u.vertical[s]:c[0],"horizontal"===a?u.horizontal[s]:c[3]];var h={horizontal:0,vertical:1};o.rotation=Math.PI/2*h[a];var d={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=d[s],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),n.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),o.labelRotation="top"===s?-f:f,o.z2=1,o}t.layout=r},8644:function(e,t,i){var n=i(75766),r=i(50294);function o(e,t){var i=[];return e.eachComponent("singleAxis",(function(r,o){var s=new n(r,e,t);s.name="single_"+o,s.resize(r,t),r.coordinateSystem=s,i.push(s)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=i&&i.coordinateSystem}})),i}r.register("single",{create:o,dimensions:n.prototype.dimensions})},1032:function(e){function t(e){return e}function i(e,i,n,r,o){this._old=e,this._new=i,this._oldKeyGetter=n||t,this._newKeyGetter=r||t,this.context=o}function n(e,t,i,n,r){for(var o=0;o=0&&e.call(t,i[r],r)},c.eachEdge=function(e,t){for(var i=this.edges,n=i.length,r=0;r=0&&i[r].node1.dataIndex>=0&&i[r].node2.dataIndex>=0&&e.call(t,i[r],r)},c.breadthFirstTraverse=function(e,t,i,n){if(u.isInstance(t)||(t=this._nodesMap[a(t)]),t){for(var r="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o=0&&i.node2.dataIndex>=0}));for(r=0,o=n.length;r=0&&this[e][t].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[e][t].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};r.mixin(u,d("hostGraph","data")),r.mixin(h,d("hostGraph","edgeData")),l.Node=u,l.Edge=h,s(u),s(h);var f=l;e.exports=f},5628:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=i(40590),s=i(1032),a=i(3325),l=i(41834),c=l.defaultDimValueGetters,u=l.DefaultDataProvider,h=i(99535),d=h.summarizeDimensions,f=i(70362),p=r.isObject,g="undefined",v=-1,m="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},_=typeof Uint32Array===g?Array:Uint32Array,x=typeof Int32Array===g?Array:Int32Array,b=typeof Uint16Array===g?Array:Uint16Array;function w(e){return e._rawCount>65535?_:b}function S(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],A=["_extent","_approximateExtent","_rawExtent"];function M(e,t){r.each(C.concat(t.__wrappedMethods||[]),(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e.__wrappedMethods=t.__wrappedMethods,r.each(A,(function(i){e[i]=r.clone(t[i])})),e._calculationInfo=r.extend(t._calculationInfo)}var k=function(e,t){e=e||["x","y"];for(var i={},n=[],o={},s=0;s=0?this._indices[e]:-1}function P(e,t){var i=e._idList[t];return null==i&&(i=E(e,e._idDimIdx,t)),null==i&&(i=m+t),i}function R(e){return r.isArray(e)||(e=[e]),e}function B(e,t){var i=e.dimensions,n=new k(r.map(i,e.getDimensionInfo,e),e.hostModel);M(n,e);for(var o=n._storage={},s=e._storage,a=0;a=0?(o[l]=N(s[l]),n._rawExtent[l]=z(),n._extent[l]=null):o[l]=s[l])}return n}function N(e){for(var t=new Array(e.length),i=0;i_[1]&&(_[1]=y)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},L(this)},T._initDataFromProvider=function(e,t){if(!(e>=t)){for(var i,n=this._chunkSize,r=this._rawData,o=this._storage,s=this.dimensions,a=s.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pC[1]&&(C[1]=S)}if(!r.pure){var A=c[y];if(m&&null==A)if(null!=m.name)c[y]=A=m.name;else if(null!=i){var M=s[i],k=o[M][_];if(k){A=k[x];var T=l[M].ordinalMeta;T&&T.categories.length&&(A=T.categories[A])}}var E=null==m?null:m.id;null==E&&null!=A&&(d[A]=d[A]||0,E=A,d[A]>0&&(E+="__ec__"+d[A]),d[A]++),null!=E&&(u[y]=E)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent={},L(this)}},T.count=function(){return this._count},T.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,i=this._count;if(t===Array){r=new t(i);for(var n=0;n=0&&t=0&&ta&&(a=c)}return n=[s,a],this._extent[e]=n,n},T.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},T.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},T.getCalculationInfo=function(e){return this._calculationInfo[e]},T.setCalculationInfo=function(e,t){p(e)?r.extend(this._calculationInfo,e):this._calculationInfo[e]=t},T.getSum=function(e){var t=this._storage[e],i=0;if(t)for(var n=0,r=this.count();n=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,i=t[e];if(null!=i&&ie))return o;r=o-1}}return-1},T.indicesOfNearest=function(e,t,i){var n=this._storage,r=n[e],o=[];if(!r)return o;null==i&&(i=1/0);for(var s=1/0,a=-1,l=0,c=0,u=this.count();c=0&&a<0)&&(s=d,a=h,l=0),h===a&&(o[l++]=c))}return o.length=l,o},T.getRawIndex=D,T.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],i=0;i=c&&y<=u||isNaN(y))&&(s[a++]=d),d++}h=!0}else if(2===n){f=this._storage[l];var _=this._storage[t[1]],x=e[t[1]][0],b=e[t[1]][1];for(p=0;p=c&&y<=u||isNaN(y))&&(C>=x&&C<=b||isNaN(C))&&(s[a++]=d),d++}}h=!0}}if(!h)if(1===n)for(m=0;m=c&&y<=u||isNaN(y))&&(s[a++]=A)}else for(m=0;me[k][1])&&(M=!1)}M&&(s[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=b)}}}return o},T.downSample=function(e,t,i,n){for(var r=B(this,[e]),o=r._storage,s=[],a=Math.floor(1/t),l=o[e],c=this.count(),u=this._chunkSize,h=r._rawExtent[e],d=new(w(this))(c),f=0,p=0;pc-p&&(a=c-p,s.length=a);for(var g=0;gh[1]&&(h[1]=_),d[f++]=x}return r._count=f,r._indices=d,r.getRawIndex=O,r},T.getItemModel=function(e){var t=this.hostModel;return new o(this.getRawDataItem(e),t,t&&t.ecModel)},T.diff=function(e){var t=this;return new s(e?e.getIndices():[],this.getIndices(),(function(t){return P(e,t)}),(function(e){return P(t,e)}))},T.getVisual=function(e){var t=this._visual;return t&&t[e]},T.setVisual=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setVisual(i,e[i]);else this._visual=this._visual||{},this._visual[e]=t},T.setLayout=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setLayout(i,e[i]);else this._layout[e]=t},T.getLayout=function(e){return this._layout[e]},T.getItemLayout=function(e){return this._itemLayouts[e]},T.setItemLayout=function(e,t,i){this._itemLayouts[e]=i?r.extend(this._itemLayouts[e]||{},t):t},T.clearItemLayouts=function(){this._itemLayouts.length=0},T.getItemVisual=function(e,t,i){var n=this._itemVisuals[e],r=n&&n[t];return null!=r||i?r:this.getVisual(t)},T.setItemVisual=function(e,t,i){var n=this._itemVisuals[e]||{},r=this.hasItemVisual;if(this._itemVisuals[e]=n,p(t))for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o],r[o]=!0);else n[t]=i,r[t]=!0},T.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var H=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};T.setItemGraphicEl=function(e,t){var i=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=i&&i.seriesIndex,"group"===t.type&&t.traverse(H,t)),this._graphicEls[e]=t},T.getItemGraphicEl=function(e){return this._graphicEls[e]},T.eachItemGraphicEl=function(e,t){r.each(this._graphicEls,(function(i,n){i&&e&&e.call(t,i,n)}))},T.cloneShallow=function(e){if(!e){var t=r.map(this.dimensions,this.getDimensionInfo,this);e=new k(t,this.hostModel)}if(e._storage=this._storage,M(e,this),this._indices){var i=this._indices.constructor;e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?O:D,e},T.wrapMethod=function(e,t){var i=this[e];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return t.apply(this,[e].concat(r.slice(arguments)))})},T.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],T.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=k;e.exports=F},54874:function(e,t,i){var n=i(95289),r=n.createHashMap,o=n.isObject,s=n.map;function a(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}a.createByAxisModel=function(e){var t=e.option,i=t.data,n=i&&s(i,u);return new a({categories:n,needCollect:!n,deduplication:!1!==t.dedplication})};var l=a.prototype;function c(e){return e._map||(e._map=r(e.categories))}function u(e){return o(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return c(this).get(e)},l.parseAndCollect=function(e){var t,i=this._needCollect;if("string"!==typeof e&&!i)return e;if(i&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=c(this);return t=n.get(e),null==t&&(i?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t};var h=a;e.exports=h},3325:function(e,t,i){var n=i(95289),r=n.createHashMap,o=n.isTypedArray,s=i(11724),a=s.enableClassCheck,l=i(90642),c=l.SOURCE_FORMAT_ORIGINAL,u=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===f?{}:[]),this.sourceFormat=e.sourceFormat||h,this.seriesLayoutBy=e.seriesLayoutBy||u,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&r(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:o(e)?d:c,fromDataset:!1})},a(p);var g=p;e.exports=g},35288:function(e,t,i){var n=i(95289),r=i(75403),o=i(5628),s=i(29966),a=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function l(e){this.root,this.data,this._nodes=[],this.hostModel=e}function c(e,t){var i=t.children;e.parentNode!==t&&(i.push(e),e.parentNode=t)}a.prototype={constructor:a,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,i){"function"===typeof e&&(i=t,t=e,e=null),e=e||{},n.isString(e)&&(e={order:e});var r,o=e.order||"preorder",s=this[e.attr||"children"];"preorder"===o&&(r=t.call(i,this));for(var a=0;!r&&at&&(t=n.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,i=this.children,n=i.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,i=t.data.getItemModel(this.dataIndex);return i.getModel(e)}},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,i){this.root.eachNode(e,t,i)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,i=0,n=t.length;i0&&e.unfinished);e.unfinished||this._zr.flush()}}},ne.getDom=function(){return this._dom},ne.getZr=function(){return this._zr},ne.setOption=function(e,t,i){if(this._disposed)xe(this.id);else{var n;if(P(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[K]=!0,!this._model||t){var r=new f(this._api),o=this._theme,s=this._model=new u;s.scheduler=this._scheduler,s.init(null,null,o,r)}this._model.setOption(e,Ie),i?(this[J]={silent:n},this[K]=!1):(se(this),oe.update.call(this),this._zr.flush(),this[J]=!1,this[K]=!1,ue.call(this,n),he.call(this,n))}},ne.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ne.getModel=function(){return this._model},ne.getOption=function(){return this._model&&this._model.getOption()},ne.getWidth=function(){return this._zr.getWidth()},ne.getHeight=function(){return this._zr.getHeight()},ne.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ne.getRenderedCanvas=function(e){if(a.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},ne.getSvgDataURL=function(){if(a.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},ne.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,i=this._model,n=[],r=this;D(t,(function(e){i.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return D(n,(function(e){e.group.ignore=!1})),o}xe(this.id)},ne.getConnectedDataURL=function(e){if(this._disposed)xe(this.id);else if(a.canvasSupported){var t="svg"===e.type,i=this.group,n=Math.min,s=Math.max,l=1/0;if(Re[i]){var c=l,u=l,h=-l,d=-l,f=[],p=e&&e.pixelRatio||1;o.each(Pe,(function(r,a){if(r.group===i){var l=t?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(o.clone(e)),p=r.getDom().getBoundingClientRect();c=n(p.left,c),u=n(p.top,u),h=s(p.right,h),d=s(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),c*=p,u*=p,h*=p,d*=p;var g=h-c,v=d-u,m=o.createCanvas(),y=r.init(m,{renderer:t?"svg":"canvas"});if(y.resize({width:g,height:v}),t){var _="";return D(f,(function(e){var t=e.left-c,i=e.top-u;_+=''+e.dom+""})),y.painter.getSvgRoot().innerHTML=_,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:e.connectedBackgroundColor}})),D(f,(function(e){var t=new x.Image({style:{x:e.left*p-c,y:e.top*p-u,image:e.dom}});y.add(t)})),y.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},ne.convertToPixel=o.curry(re,"convertToPixel"),ne.convertFromPixel=o.curry(re,"convertFromPixel"),ne.containPixel=function(e,t){if(!this._disposed){var i,n=this._model;return e=b.parseFinder(n,e),o.each(e,(function(e,n){n.indexOf("Models")>=0&&o.each(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)i|=!!r.containPoint(t);else if("seriesModels"===n){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(i|=o.containPoint(t,e))}}),this)}),this),!!i}xe(this.id)},ne.getVisual=function(e,t){var i=this._model;e=b.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel,r=n.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?r.indexOfRawIndex(e.dataIndex):null;return null!=o?r.getItemVisual(o,t):r.getVisual(t)},ne.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},ne.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var oe={prepareAndUpdate:function(e){se(this),oe.update.call(this,e)},update:function(e){var t=this._model,i=this._api,n=this._zr,r=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),r.create(t,i),o.performDataProcessorTasks(t,e),le(this,t),r.update(t,i),pe(t),o.performVisualTasks(t,e),ge(this,t,i,e);var l=t.get("backgroundColor")||"transparent";if(a.canvasSupported)n.setBackgroundColor(l);else{var c=s.parse(l);l=s.stringify(c,"rgb"),0===c[3]&&(l="transparent")}ye(t,i)}},updateTransform:function(e){var t=this._model,i=this,n=this._api;if(t){var r=[];t.eachComponent((function(o,s){var a=i.getViewOfComponentModel(s);if(a&&a.__alive)if(a.updateTransform){var l=a.updateTransform(s,t,n,e);l&&l.update&&r.push(a)}else r.push(a)}));var s=o.createHashMap();t.eachSeries((function(r){var o=i._chartsMap[r.__viewId];if(o.updateTransform){var a=o.updateTransform(r,t,n,e);a&&a.update&&s.set(r.uid,1)}else s.set(r.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:s}),me(i,t,n,e,s),ye(t,this._api)}},updateView:function(e){var t=this._model;t&&(_.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),ge(this,this._model,this._api,e),ye(t,this._api))},updateVisual:function(e){oe.update.call(this,e)},updateLayout:function(e){oe.update.call(this,e)}};function se(e){var t=e._model,i=e._scheduler;i.restorePipelines(t),i.prepareStageTasks(),fe(e,"component",t,i),fe(e,"chart",t,i),i.plan()}function ae(e,t,i,n,r){var s=e._model;if(n){var a={};a[n+"Id"]=i[n+"Id"],a[n+"Index"]=i[n+"Index"],a[n+"Name"]=i[n+"Name"];var l={mainType:n,query:a};r&&(l.subType=r);var c=i.excludeSeriesId;null!=c&&(c=o.createHashMap(b.normalizeToArray(c))),s&&s.eachComponent(l,(function(t){c&&null!=c.get(t.id)||u(e["series"===n?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else D(e._componentsViews.concat(e._chartsViews),u);function u(n){n&&n.__alive&&n[t]&&n[t](n.__model,s,e._api,i)}}function le(e,t){var i=e._chartsMap,n=e._scheduler;t.eachSeries((function(e){n.updateStreamModes(e,i[e.__viewId])}))}function ce(e,t){var i=e.type,n=e.escapeConnect,r=Me[i],s=r.actionInfo,a=(s.update||"update").split(":"),l=a.pop();a=null!=a[0]&&R(a[0]),this[K]=!0;var c=[e],u=!1;e.batch&&(u=!0,c=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var h,d=[],f="highlight"===i||"downplay"===i;D(c,(function(e){h=r.action(e,this._model,this._api),h=h||o.extend({},e),h.type=s.event||h.type,d.push(h),f?ae(this,l,e,"series"):a&&ae(this,l,e,a.main,a.sub)}),this),"none"===l||f||a||(this[J]?(se(this),oe.update.call(this,e),this[J]=!1):oe[l].call(this,e)),h=u?{type:s.event||i,escapeConnect:n,batch:d}:d[0],this[K]=!1,!t&&this._messageCenter.trigger(h.type,h)}function ue(e){var t=this._pendingActions;while(t.length){var i=t.shift();ce.call(this,i,e)}}function he(e){!e&&this.trigger("updated")}function de(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[J]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,i,n){for(var r="component"===t,o=r?e._componentsViews:e._chartsViews,s=r?e._componentsMap:e._chartsMap,a=e._zr,l=e._api,c=0;ct.get("hoverLayerThreshold")&&!a.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var i=e._chartsMap[t.__viewId];i.__alive&&i.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function we(e,t){var i=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==i&&e.setStyle("blend",i),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",i)}))}))}function Se(e,t){var i=e.get("z"),n=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=n&&(e.zlevel=n))}))}function Ce(e){var t=e._coordSysMgr;return o.extend(new h(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var i=t.__ecComponentInfo;if(null!=i)return e._model.getComponent(i.mainType,i.index);t=t.parent}}})}function Ae(){this.eventInfo}ne._initEvents=function(){D(_e,(function(e){var t=function(t){var i,n=this.getModel(),r=t.target,s="globalout"===e;if(s)i={};else if(r&&null!=r.dataIndex){var a=r.dataModel||n.getSeriesByIndex(r.seriesIndex);i=a&&a.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(i=o.extend({},r.eventData));if(i){var l=i.componentType,c=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=i.seriesIndex);var u=l&&null!=c&&n.getComponent(l,c),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=t,i.type=e,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:i,model:u,view:h},this.trigger(e,i)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),D(ke,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},ne.isDisposed=function(){return this._disposed},ne.clear=function(){this._disposed?xe(this.id):this.setOption({series:[]},!0)},ne.dispose=function(){if(this._disposed)xe(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),ze,"");var e=this._api,t=this._model;D(this._componentsViews,(function(i){i.dispose(t,e)})),D(this._chartsViews,(function(i){i.dispose(t,e)})),this._zr.dispose(),delete Pe[this.id]}},o.mixin(ie,c),Ae.prototype={constructor:Ae,normalizeQuery:function(e){var t={},i={},n={};if(o.isString(e)){var r=R(e);t.mainType=r.main||null,t.subType=r.sub||null}else{var s=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,r){for(var o=!1,l=0;l0&&u===r.length-c.length){var h=r.slice(0,u);"data"!==h&&(t.mainType=h,t[c.toLowerCase()]=e,o=!0)}}a.hasOwnProperty(r)&&(i[r]=e,o=!0),o||(n[r]=e)}))}return{cptQuery:t,dataQuery:i,otherQuery:n}},filter:function(e,t,i){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,o=n.packedEvent,s=n.model,a=n.view;if(!s||!a)return!0;var l=t.cptQuery,c=t.dataQuery;return u(l,s,"mainType")&&u(l,s,"subType")&&u(l,s,"index","componentIndex")&&u(l,s,"name")&&u(l,s,"id")&&u(c,o,"name")&&u(c,o,"dataIndex")&&u(c,o,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,o));function u(e,t,i,n){return null==e[i]||t[n||i]===e[i]}},afterTrigger:function(){this.eventInfo=null}};var Me={},ke={},Te=[],Ie=[],Le=[],Ee=[],De={},Oe={},Pe={},Re={},Be=new Date-0,Ne=new Date-0,ze="_echarts_instance_";function He(e){var t=0,i=1,n=2,r="__connectUpdateStatus";function o(e,t){for(var i=0;i0&&(s=null===s?l:Math.min(s,l))}i[r]=s}}return i}function m(e){var t=v(e),i=[];return n.each(e,(function(e){var n,r=e.coordinateSystem,s=r.getBaseAxis(),a=s.getExtent();if("category"===s.type)n=s.getBandWidth();else if("value"===s.type||"time"===s.type){var l=s.dim+"_"+s.index,c=t[l],u=Math.abs(a[1]-a[0]),h=s.scale.getExtent(),p=Math.abs(h[1]-h[0]);n=c?u/p*c:u}else{var g=e.getData();n=Math.abs(a[1]-a[0])/g.count()}var v=o(e.get("barWidth"),n),m=o(e.get("barMaxWidth"),n),y=o(e.get("barMinWidth")||1,n),_=e.get("barGap"),x=e.get("barCategoryGap");i.push({bandWidth:n,barWidth:v,barMaxWidth:m,barMinWidth:y,barGap:_,barCategoryGap:x,axisKey:f(s),stackId:d(e)})})),y(i)}function y(e){var t={};n.each(e,(function(e,i){var n=e.axisKey,r=e.bandWidth,o=t[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},s=o.stacks;t[n]=o;var a=e.stackId;s[a]||o.autoWidthCount++,s[a]=s[a]||{width:0,maxWidth:0};var l=e.barWidth;l&&!s[a].width&&(s[a].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=e.barMaxWidth;c&&(s[a].maxWidth=c);var u=e.barMinWidth;u&&(s[a].minWidth=u);var h=e.barGap;null!=h&&(o.gap=h);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)}));var i={};return n.each(t,(function(e,t){i[t]={};var r=e.stacks,s=e.bandWidth,a=o(e.categoryGap,s),l=o(e.gap,1),c=e.remainedWidth,u=e.autoWidthCount,h=(c-a)/(u+(u-1)*l);h=Math.max(h,0),n.each(r,(function(e){var t=e.maxWidth,i=e.minWidth;if(e.width){n=e.width;t&&(n=Math.min(n,t)),i&&(n=Math.max(n,i)),e.width=n,c-=n+l*n,u--}else{var n=h;t&&tn&&(n=i),n!==h&&(e.width=n,c-=n+l*n,u--)}})),h=(c-a)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;n.each(r,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(r,(function(e,n){i[t][n]=i[t][n]||{bandWidth:s,offset:p,width:e.width},p+=e.width*(1+l)}))})),i}function _(e,t,i){if(e&&t){var n=e[f(t)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function x(e,t){var i=g(e,t),r=m(i),o={},s={};n.each(i,(function(e){var t=e.getData(),i=e.coordinateSystem,n=i.getBaseAxis(),l=d(e),c=r[f(n)][l],u=c.offset,h=c.width,p=i.getOtherAxis(n),g=e.get("barMinHeight")||0;o[l]=o[l]||[],s[l]=s[l]||[],t.setLayout({bandWidth:c.bandWidth,offset:u,size:h});for(var v=t.mapDimension(p.dim),m=t.mapDimension(n.dim),y=a(t,v),_=p.isHorizontal(),x=C(n,p,y),b=0,w=t.count();b=0?"p":"n",E=x;if(y&&(o[l][I]||(o[l][I]={p:x,n:x}),E=o[l][I][L]),_){var D=i.dataToPoint([T,I]);S=E,A=D[1]+u,M=D[0]-x,k=h,Math.abs(M)u||(d=u),{progress:f}}function f(e,t){var u,f=e.count,p=new h(2*f),g=new h(2*f),v=new h(f),m=[],y=[],_=0,x=0;while(null!=(u=e.next()))y[c]=t.get(s,u),y[1-c]=t.get(a,u),m=i.dataToPoint(y,null,m),g[_]=l?n.x+n.width:m[0],p[_++]=m[0],g[_]=l?m[1]:n.y+n.height,p[_++]=m[1],v[x++]=u;t.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:g,barWidth:d,valueAxisStart:C(r,o,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function S(e){return e.pipelineContext&&e.pipelineContext.large}function C(e,t,i){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=g,t.makeColumnLayout=m,t.retrieveColumnLayout=_,t.layout=x,t.largeLayout=b},80241:function(e,t,i){var n=i(95289),r=i(44261),o=r.parsePercent,s=i(74051),a=s.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function c(e,t){return t.dim+e.model.componentIndex}function u(e,t,i){var r={},o=h(n.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),i=e.coordinateSystem,n=i.getBaseAxis(),s=c(i,n),u=l(e),h=o[s][u],d=h.offset,f=h.width,p=i.getOtherAxis(n),g=e.coordinateSystem.cx,v=e.coordinateSystem.cy,m=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;r[u]=r[u]||[];for(var _=t.mapDimension(p.dim),x=t.mapDimension(n.dim),b=a(t,_),w="radius"!==n.dim||!e.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),C=0,A=t.count();C=0?"p":"n",O=S;if(b&&(r[u][E]||(r[u][E]={p:S,n:S}),O=r[u][E][D]),"radius"===p.dim){var P=p.dataToRadius(L)-S,R=n.dataToAngle(E);Math.abs(P)=0;s--)o=n.merge(o,t[s],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return n.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=n.map(t,(function(e){return l(e).main})),"dataset"!==e&&n.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}a(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),n.mixin(p,d);var v=p;e.exports=v},87380:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=r.each,s=r.filter,a=r.map,l=r.isArray,c=r.indexOf,u=r.isObject,h=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=i(63199),_=i(40590),x=i(85532),b=i(20183),w=i(18167),S=i(49442),C=S.resetSourceDefaulter,A="\0_ec_inner",M=_.extend({init:function(e,t,i,n){i=i||{},this.option=null,this._theme=new _(i),this._optionManager=n},setOption:function(e,t){f(!(A in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,i=this._optionManager;if(!e||"recreate"===e){var n=i.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(n)):I.call(this,n),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var r=i.getTimelineOption(this);r&&(this.mergeOption(r),t=!0)}if(!e||"recreate"===e||"media"===e){var s=i.getMediaOption(this,this._api);s.length&&o(s,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,i=this._componentsMap,n=[];function r(n,r){var s=y.normalizeToArray(e[n]),a=y.mappingToExists(i.get(n),s);y.makeIdAndName(a),o(a,(function(e,t){var i=e.option;u(i)&&(e.keyInfo.mainType=n,e.keyInfo.subType=E(n,i,e.exist))}));var l=L(i,r);t[n]=[],i.set(n,[]),o(a,(function(e,r){var o=e.exist,s=e.option;if(f(u(s)||o,"Empty component definition"),s){var a=x.getClass(n,e.keyInfo.subType,!0);if(o&&o.constructor===a)o.name=e.keyInfo.name,o.mergeOption(s,this),o.optionUpdated(s,!1);else{var c=v({dependentModels:l,componentIndex:r},e.keyInfo);o=new a(s,this,this,c),v(o,c),o.init(s,this,this,c),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);i.get(n)[r]=o,t[n][r]=o.option}),this),"series"===n&&D(this,i.get("series"))}C(this),o(e,(function(e,i){null!=e&&(x.hasClass(i)?i&&n.push(i):t[i]=null==t[i]?p(e):g(t[i],e,!0))})),x.topologicalTravel(n,x.getAllClassMainTypes(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return o(e,(function(t,i){if(x.hasClass(i)){t=y.normalizeToArray(t);for(var n=t.length-1;n>=0;n--)y.isIdInner(t[n])&&t.splice(n,1);e[i]=t}})),delete e[A],e},getTheme:function(){return this._theme},getComponent:function(e,t){var i=this._componentsMap.get(e);if(i)return i[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var i,n=e.index,r=e.id,o=e.name,u=this._componentsMap.get(t);if(!u||!u.length)return[];if(null!=n)l(n)||(n=[n]),i=s(a(n,(function(e){return u[e]})),(function(e){return!!e}));else if(null!=r){var h=l(r);i=s(u,(function(e){return h&&c(r,e.id)>=0||!h&&e.id===r}))}else if(null!=o){var d=l(o);i=s(u,(function(e){return d&&c(o,e.name)>=0||!d&&e.name===o}))}else i=u.slice();return O(i,e)},findComponents:function(e){var t=e.query,i=e.mainType,n=o(t),r=n?this.queryComponents(n):this._componentsMap.get(i);return a(O(r,e));function o(e){var t=i+"Index",n=i+"Id",r=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[r]?null:{mainType:i,index:e[t],id:e[n],name:e[r]}}function a(t){return e.filter?s(t,e.filter):t}},eachComponent:function(e,t,i){var n=this._componentsMap;if("function"===typeof e)i=t,t=e,n.each((function(e,n){o(e,(function(e,r){t.call(i,n,e,r)}))}));else if(h(e))o(n.get(e),t,i);else if(u(e)){var r=this.findComponents(e);o(r,t,i)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return s(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return s(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){P(this),o(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];e.call(t,n,i)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,i){P(this),o(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];r.subType===e&&t.call(i,r,n)}),this)},eachRawSeriesByType:function(e,t,i){return o(this.getSeriesByType(e),t,i)},isSeriesFiltered:function(e){return P(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){P(this);var i=s(this._componentsMap.get("series"),e,t);D(this,i)},restoreData:function(e){var t=this._componentsMap;D(this,t.get("series"));var i=[];t.each((function(e,t){i.push(t)})),x.topologicalTravel(i,x.getAllClassMainTypes(),(function(i,n){o(t.get(i),(function(t){("series"!==i||!k(t,e))&&t.restoreData()}))}))}});function k(e,t){if(t){var i=t.seiresIndex,n=t.seriesId,r=t.seriesName;return null!=i&&e.componentIndex!==i||null!=n&&e.id!==n||null!=r&&e.name!==r}}function T(e,t){var i=e.color&&!e.colorLayer;o(t,(function(t,n){"colorLayer"===n&&i||x.hasClass(n)||("object"===typeof t?e[n]=e[n]?g(e[n],t,!1):p(t):null==e[n]&&(e[n]=t))}))}function I(e){this.option={},this.option[A]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,T(e,this._theme.option),g(e,b,!1),this.mergeOption(e)}function L(e,t){l(t)||(t=t?[t]:[]);var i={};return o(t,(function(t){i[t]=(e.get(t)||[]).slice()})),i}function E(e,t,i){var n=t.type?t.type:i?i.subType:x.determineSubType(e,t);return n}function D(e,t){e._seriesIndicesMap=d(e._seriesIndices=a(t,(function(e){return e.componentIndex}))||[])}function O(e,t){return t.hasOwnProperty("subType")?s(e,(function(e){return e.subType===t.subType})):e}function P(e){}m(M,w);var R=M;e.exports=R},40590:function(e,t,i){var n=i(95289),r=i(87190),o=i(63199),s=o.makeInner,a=i(11724),l=a.enableClassExtend,c=a.enableClassCheck,u=i(52342),h=i(27671),d=i(28301),f=i(62429),p=n.mixin,g=s();function v(e,t,i){this.parentModel=t,this.ecModel=i,this.option=e}function m(e,t,i){for(var n=0;n=t:"max"===i?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function v(e,t){t=t||{},s(t,(function(t,i){if(null!=t){var n=e[i];if(o.hasClass(i)){t=r.normalizeToArray(t),n=r.normalizeToArray(n);var s=r.mappingToExists(n,t);e[i]=l(s,(function(e){return e.option&&e.exist?c(e.exist,e.option,!0):e.exist||e.option}))}else e[i]=c(n,t,!0)}}))}h.prototype={constructor:h,setOption:function(e,t){e&&n.each(r.normalizeToArray(e.series),(function(e){e&&e.data&&n.isTypedArray(e.data)&&n.setAsPrimitive(e.data)})),e=a(e);var i=this._optionBackup,o=d.call(this,e,t,!i);this._newBaseOption=o.baseOption,i?(v(i.baseOption,o.baseOption),o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,a),this._mediaList=l(t.mediaList,a),this._mediaDefault=a(t.mediaDefault),this._currentMediaIndices=[],a(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,i=this._timelineOptions;if(i.length){var n=e.getComponent("timeline");n&&(t=a(i[n.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,r=this._mediaDefault,o=[],s=[];if(!n.length&&!r)return s;for(var c=0,u=n.length;c":"\n",d="richText"===n,f={},p=0;function g(i){var s=r.reduce(i,(function(e,t,i){var n=m.getDimensionInfo(i);return e|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),h=[];function g(e,i){var r=m.getDimensionInfo(i);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+o.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:n,markerId:v}),_="string"===typeof y?y:y.content,x=(s?_+l(r.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":a("yyyy/MM/dd hh:mm:ss",e):c(e));x&&h.push(x),d&&(f[v]=w,++p)}}y.length?r.each(y,(function(t){g(C(m,e,t),t)})):r.each(i,g);var v=s?d?"\n":"
":"",_=v+h.join(v||", ");return{renderMode:n,content:_,style:f}}function v(e){return{renderMode:n,content:l(c(e)),style:f}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),_=y.length,x=this.getRawValue(e),b=r.isArray(x),w=m.getItemVisual(e,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=_>1||b&&!_?g(x):v(_?C(m,e,y[0]):b?x[0]:x),A=S.content,M=o.seriesIndex+"at"+p,k=u({color:w,type:"item",renderMode:n,markerId:M});f[M]=w,++p;var T=m.getName(e),I=this.name;h.isNameSpecified(this)||(I=""),I=I?l(I)+(t?": ":s):"";var L="string"===typeof k?k:k.content,E=t?L+I+A:I+L+(T?l(T)+": "+A:A);return{html:E,markers:f}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,i){var n=this.ecModel,r=f.getColorFromPalette.call(this,e,t,i);return r||(r=n.getColorFromPalette(e,t,i)),r},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function k(e){var t=e.name;h.isNameSpecified(e)||(e.name=T(e)||t)}function T(e){var t=e.getRawData(),i=t.mapDimension("seriesName",!0),n=[];return r.each(i,(function(e){var i=t.getDimensionInfo(e);i.displayName&&n.push(i.displayName)})),n.join(" ")}function I(e){return e.model.getRawData().count()}function L(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 D(e,t){r.each(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,r.curry(O,t))}))}function O(e){var t=P(e);t&&t.setOutputEnd(this.count())}function P(e){var t=(e.ecModel||{}).scheduler,i=t&&t.getPipeline(e.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(e.uid))}return n}}r.mixin(M,p),r.mixin(M,f);var R=M;e.exports=R},20183:function(e){var t="";"undefined"!==typeof navigator&&(t=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=i},27671:function(e,t,i){var n=i(81935),r=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(e,t){return r(this,e,t)}};e.exports=o},54350:function(e){var t={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};e.exports=t},18167:function(e,t,i){var n=i(63199),r=n.makeInner,o=n.normalizeToArray,s=r();function a(e,t){for(var i=e.length,n=0;nt)return e[n];return e[i-1]}var l={clearColorPalette:function(){s(this).colorIdx=0,s(this).colorNameMap={}},getColorFromPalette:function(e,t,i){t=t||this;var n=s(t),r=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var c=o(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=i&&u?a(u,i):c;if(h=h||c,h&&h.length){var d=h[r];return e&&(l[e]=d),n.colorIdx=(r+1)%h.length,d}}};e.exports=l},38738:function(e,t,i){var n=i(41834),r=n.retrieveRawValue,o=i(8595),s=o.getTooltipMarker,a=o.formatTpl,l=i(63199),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,h={getDataParams:function(e,t){var i=this.getData(t),n=this.getRawValue(e,t),r=i.getRawIndex(e),o=i.getName(e),a=i.getRawDataItem(e),l=i.getItemVisual(e,"color"),u=i.getItemVisual(e,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=c(d),p=this.mainType,g="series"===p,v=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:r,data:a,dataType:t,value:n,color:l,borderColor:u,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:s({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,i,n,o){t=t||"normal";var s=this.getData(i),l=s.getItemModel(e),c=this.getDataParams(e,i);null!=n&&c.value instanceof Array&&(c.value=c.value[n]);var h=l.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);if("function"===typeof h)return c.status=t,c.dimensionIndex=n,h(c);if("string"===typeof h){var d=a(h,c);return d.replace(u,(function(t,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),r(s,e,i)}))}},getRawValue:function(e,t){return r(this.getData(t),e)},formatTooltip:function(){}};e.exports=h},62429:function(e,t,i){var n=i(81935),r=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(e,t){var i=r(this,e,t),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=o},52342:function(e,t,i){var n=i(81935),r=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(e){var t=r(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),i=Math.max(e,2),n=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[n,n]:[i,i])}};e.exports=o},81935:function(e,t,i){var n=i(95289);function r(e){for(var t=0;t=0||r&&n.indexOf(r,a)<0)){var l=t.getShallow(a);null!=l&&(o[e[s][0]]=l)}}return o}}e.exports=r},28301:function(e,t,i){var n=i(43407),r=i(76442),o=["textStyle","color"],s={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(o):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return n.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=s},87749:function(e,t,i){var n=i(65523),r=(n.__DEV__,i(95289)),o=r.createHashMap,s=(r.retrieve,r.each);function a(e){this.coordSysName=e,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(e){var t=e.get("coordinateSystem"),i=new a(t),n=c[t];if(n)return n(e,i,i.axisMap,i.categoryAxisMap),i}var c={cartesian2d:function(e,t,i,n){var r=e.getReferringComponents("xAxis")[0],o=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),u(r)&&(n.set("x",r),t.firstCategoryDimIndex=0),u(o)&&(n.set("y",o),t.firstCategoryDimIndex,t.firstCategoryDimIndex=1)},singleAxis:function(e,t,i,n){var r=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],i.set("single",r),u(r)&&(n.set("single",r),t.firstCategoryDimIndex=0)},polar:function(e,t,i,n){var r=e.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),s=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",s),u(o)&&(n.set("radius",o),t.firstCategoryDimIndex=0),u(s)&&(n.set("angle",s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,i,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,i,n){var r=e.ecModel,o=r.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();s(o.parallelAxisIndex,(function(e,o){var s=r.getComponent("parallelAxis",e),l=a[o];i.set(l,s),u(s)&&null==t.firstCategoryDimIndex&&(n.set(l,s),t.firstCategoryDimIndex=o)}))}};function u(e){return"category"===e.get("type")}t.getCoordSysInfoBySeries=l},5518:function(e,t,i){var n=i(95289),r=n.each,o=n.isArray,s=n.isObject,a=i(22341),l=i(63199),c=l.normalizeToArray;function u(e,t){t=t.split(",");for(var i=e,n=0;nt&&(t=e[i]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,i=0;i1)"string"===typeof s?l=t[s]:"function"===typeof s&&(l=s),l&&e.setData(o.downSample(o.mapDimension(u.dim),1/f,l,i))}}}}e.exports=n},54326:function(e,t,i){var n=i(95289),r=n.createHashMap,o=n.each;function s(e){var t=r();e.eachSeries((function(e){var i=e.get("stack");if(i){var n=t.get(i)||t.set(i,[]),r=e.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}})),t.each(a)}function a(e){o(e,(function(t,i){var n=[],r=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],s=t.data,a=t.isStackedByIndex,l=s.map(o,(function(o,l,c){var u,h,d=s.get(t.stackedDimension,c);if(isNaN(d))return r;a?h=s.getRawIndex(c):u=s.get(t.stackedByDimension,c);for(var f=NaN,p=i-1;p>=0;p--){var g=e[p];if(a||(h=g.data.rawIndexOf(g.stackedByDimension,u)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;break}}}return n[0]=d,n[1]=f,n}));s.hostModel.setData(l),t.data=l}))}e.exports=s},21607:function(e,t,i){var n=i(44261),r=i(8595),o=i(96506),s=i(23534),a=n.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(t)||(i[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,o=[];if(!t)return o;var s=1e4;i[0]s)return[]}var c=o.length?o[o.length-1]:n[1];return i[1]>c&&(e?o.push(a(c+t,r)):o.push(i[1])),o},getMinorTicks:function(e){for(var t=this.getTicks(!0),i=[],r=this.getExtent(),o=1;or[0]&&d0)n*=10;var s=[o.round(d(t[0]/n)*n),o.round(h(t[1]/n)*n)];this._interval=n,this._niceExtent=s}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function v(e,t){return u(e,c(t))}n.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return t=p(t)/p(this.base),a[e].call(this,t)}})),g.create=function(){return new g};var m=g;e.exports=m},37221:function(e,t,i){var n=i(95289),r=i(96506),o=i(54874),s=r.prototype,a=r.extend({type:"ordinal",init:function(e,t){e&&!n.isArray(e)||(e=new o({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),s.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return s.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(s.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,i=t[0];while(i<=t[1])e.push(i),i++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});a.create=function(){return new a};var l=a;e.exports=l},96506:function(e,t,i){var n=i(11724);function r(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(e){return e},r.prototype.getSetting=function(e){return this._setting[e]},r.prototype.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},r.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var i=this._extent;isNaN(e)||(i[0]=e),isNaN(t)||(i[1]=t)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r.prototype.getLabel=null,n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0});var o=r;e.exports=o},12683:function(e,t,i){var n=i(95289),r=i(44261),o=i(8595),s=i(23534),a=i(21607),l=a.prototype,c=Math.ceil,u=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(e,t,i,n){while(i>>1;e[r][1]i&&(a=i);var l=m.length,h=g(m,a,0,l),d=m[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=o/f,v=r.nice(p/e,!0);f*=v}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,_=[Math.round(c((n[0]-y)/f)*f+y),Math.round(u((n[1]-y)/f)*f+y)];s.fixExtent(_,n),this._stepLvl=d,this._interval=f,this._niceExtent=_},parse:function(e){return+r.parseDate(e)}});n.each(["contain","normalize"],(function(e){v.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var m=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(e){return new v({useUTC:e.ecModel.get("useUTC")})};var y=v;e.exports=y},23534:function(e,t,i){var n=i(44261),r=n.round;function o(e,t,i,o){var a={},c=e[1]-e[0],u=a.interval=n.nice(c/t,!0);null!=i&&uo&&(u=a.interval=o);var h=a.intervalPrecision=s(u),d=a.niceTickExtent=[r(Math.ceil(e[0]/u)*u,h),r(Math.floor(e[1]/u)*u,h)];return l(d,e),a}function s(e){return n.getPrecisionSafe(e)+2}function a(e,t,i){e[t]=Math.max(Math.min(e[t],i[1]),i[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),a(e,0,t),a(e,1,t),e[0]>e[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=o,t.getIntervalPrecision=s,t.fixExtent=l},3379:function(e,t,i){var n=i(95289),r=n.each,o=n.map,s=n.isFunction,a=n.createHashMap,l=n.noop,c=i(88545),u=c.createTask,h=i(79865),d=h.getUID,f=i(87380),p=i(69498),g=i(63199),v=g.normalizeToArray;function m(e,t,i,n){this.ecInstance=e,this.api=t,this.unfinished;i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=a()}var y=m.prototype;function _(e,t,i,n,o){var s;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},r(t,(function(t,r){if(!o.visualType||o.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each((function(e){a(o,e)&&(e.dirty(),h=!0)})),h&&u.dirty(),x(u,n);var f=e.getPerformArgs(u,o.block);d.each((function(e){e.perform(f)})),s|=u.perform(f)}else c&&c.each((function(r,l){a(o,r)&&r.dirty();var c=e.getPerformArgs(r,o.block);c.skip=!t.performRawSeries&&i.isSeriesFiltered(r.context.model),x(r,n),s|=r.perform(c)}))}})),e.unfinished|=s}y.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},y.getPerformArgs=function(e,t){if(e.__pipeline){var i=this._pipelineMap.get(e.__pipeline.id),n=i.context,r=!t&&i.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>i.blockIndex,o=r?i.step:null,s=n&&n.modDataCount,a=null!=s?Math.ceil(s/o):null;return{step:o,modBy:a,modDataCount:s}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var i=this._pipelineMap.get(e.uid),n=e.getData(),r=n.count(),o=i.progressiveEnabled&&t.incrementalPrepareRender&&r>=i.threshold,s=e.get("large")&&r>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=i.context={progressiveRender:o,modDataCount:a,large:s}},y.restorePipelines=function(e){var t=this,i=t._pipelineMap=a();e.eachSeries((function(e){var n=e.getProgressive(),r=e.uid;i.set(r,{id:r,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:n&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),D(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),i=this.api;r(this._allHandlers,(function(n){var r=e.get(n.uid)||e.set(n.uid,[]);n.reset&&b(this,n,r,t,i),n.overallReset&&w(this,n,r,t,i)}),this)},y.prepareView=function(e,t,i,n){var r=e.renderTask,o=r.context;o.model=t,o.ecModel=i,o.api=n,r.__block=!e.incrementalPrepareRender,D(this,t,r)},y.performDataProcessorTasks=function(e,t){_(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,i){_(this,this._visualHandlers,e,t,i)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.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)}))};var x=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function b(e,t,i,n,r){var o=i.seriesTaskMap||(i.seriesTaskMap=a()),s=t.seriesType,l=t.getTargetSeries;function c(i){var s=i.uid,a=o.get(s)||o.set(s,u({plan:k,reset:T,count:E}));a.context={model:i,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},D(e,i,a)}t.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):l&&l(n,r).each(c);var h=e._pipelineMap;o.each((function(e,t){h.get(t)||(e.dispose(),o.removeKey(t))}))}function w(e,t,i,n,o){var s=i.overallTask=i.overallTask||u({reset:S});s.context={ecModel:n,api:o,overallReset:t.overallReset,scheduler:e};var l=s.agentStubMap=s.agentStubMap||a(),c=t.seriesType,h=t.getTargetSeries,d=!0,f=t.modifyOutputEnd;function p(t){var i=t.uid,n=l.get(i);n||(n=l.set(i,u({reset:C,onDirty:M})),s.dirty()),n.context={model:t,overallProgress:d,modifyOutputEnd:f},n.agent=s,n.__block=d,D(e,t,n)}c?n.eachRawSeriesByType(c,p):h?h(n,o).each(p):(d=!1,r(n.getSeries(),p));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),s.dirty(),l.removeKey(t))}))}function S(e){e.overallReset(e.ecModel,e.api,e.payload)}function C(e,t){return e.overallProgress&&A}function A(){this.agent.dirty(),this.getDownstream().dirty()}function M(){this.agent&&this.agent.dirty()}function k(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function T(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=v(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return L(t)})):I}var I=L(0);function L(e){return function(t,i){var n=i.data,r=i.resetDefines[e];if(r&&r.dataEach)for(var o=t.start;o=1)&&(e=1),e}a===c&&l===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,s=h(this,n)),this._modBy=c,this._modDataCount=d;var p=e&&e.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(s||g1&&n>0?a:s}};return o;function s(){return t=e?null:o=0&&i.push(e)})),i}e.topologicalTravel=function(e,t,r,o){if(e.length){var s=i(t),a=s.graph,l=s.noEntryList,c={};n.each(e,(function(e){c[e]=!0}));while(l.length){var u=l.pop(),h=a[u],d=!!c[u];d&&(r.call(o,u,h.originalDeps.slice()),delete c[u]),n.each(h.successor,d?p:f)}n.each(c,(function(){throw new Error("Circle dependency may exists")}))}function f(e){a[e].entryCount--,0===a[e].entryCount&&l.push(e)}function p(e){c[e]=!0,f(e)}}}t.getUID=a,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=c},8595:function(e,t,i){var n=i(95289),r=i(43407),o=i(44261);function s(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function a(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=n.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(e){return null==e?"":(e+"").replace(c,(function(e,t){return u[t]}))}var d=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,i){n.isArray(t)||(t=[t]);var r=t.length;if(!r)return"";for(var o=t[0].$vars||[],s=0;s':'':{renderMode:o,content:"{marker"+s+"|} ",style:{color:i}}:""}function m(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e,t,i){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var n=o.parseDate(t),r=i?"UTC":"",s=n["get"+r+"FullYear"](),a=n["get"+r+"Month"]()+1,l=n["get"+r+"Date"](),c=n["get"+r+"Hours"](),u=n["get"+r+"Minutes"](),h=n["get"+r+"Seconds"](),d=n["get"+r+"Milliseconds"]();return e=e.replace("MM",m(a,2)).replace("M",a).replace("yyyy",s).replace("yy",s%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(c,2)).replace("h",c).replace("mm",m(u,2)).replace("m",u).replace("ss",m(h,2)).replace("s",h).replace("SSS",m(d,3)),e}function _(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var x=r.truncateText;function b(e){return r.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function w(e,t,i,n,o,s,a,l){return r.getBoundingRect(e,t,i,n,o,l,s,a)}function S(e,t){if("_blank"===t||"blank"===t){var i=window.open();i.opener=null,i.location=e}else window.open(e,t)}t.addCommas=s,t.toCamelCase=a,t.normalizeCssArray=l,t.encodeHTML=h,t.formatTpl=p,t.formatTplSimple=g,t.getTooltipMarker=v,t.formatTime=y,t.capitalFirst=_,t.truncateText=x,t.getTextBoundingRect=b,t.getTextRect=w,t.windowOpen=S},76442:function(e,t,i){var n=i(95289),r=i(15009),o=i(56607),s=i(13388),a=i(31138),l=i(66343),c=i(38051),u=i(1635);t.Image=u;var h=i(75738);t.Group=h;var d=i(21927);t.Text=d;var f=i(30074);t.Circle=f;var p=i(91036);t.Sector=p;var g=i(39496);t.Ring=g;var v=i(24570);t.Polygon=v;var m=i(65542);t.Polyline=m;var y=i(15404);t.Rect=y;var _=i(91636);t.Line=_;var x=i(77402);t.BezierCurve=x;var b=i(64336);t.Arc=b;var w=i(24582);t.CompoundPath=w;var S=i(25113);t.LinearGradient=S;var C=i(78051);t.RadialGradient=C;var A=i(39587);t.BoundingRect=A;var M=i(48458);t.IncrementalDisplayable=M;var k=i(32250),T=Math.max,I=Math.min,L={},E=1,D={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},O="emphasis",P="normal",R=1,B={},N={};function z(e){return l.extend(e)}function H(e,t){return r.extendFromString(e,t)}function F(e,t){N[e]=t}function V(e){if(N.hasOwnProperty(e))return N[e]}function j(e,t,i,n){var o=r.createFromString(e,t);return i&&("center"===n&&(i=W(i,o.getBoundingRect())),U(o,i)),o}function $(e,t,i){var n=new u({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===i){var r={width:e.width,height:e.height};n.setStyle(W(t,r))}}});return n}function W(e,t){var i,n=t.width/t.height,r=e.height*n;r<=e.width?i=e.height:(r=e.width,i=r/n);var o=e.x+e.width/2,s=e.y+e.height/2;return{x:o-r/2,y:s-i/2,width:r,height:i}}var G=r.mergePath;function U(e,t){if(e.applyTransform){var i=e.getBoundingRect(),n=i.calculateTransform(t);e.applyTransform(n)}}function q(e){return k.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function Z(e){return k.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var X=k.subPixelOptimize;function Y(e){return null!=e&&"none"!==e}var K=n.createHashMap(),J=0;function Q(e){if("string"!==typeof e)return e;var t=K.get(e);return t||(t=o.lift(e,-.1),J<1e4&&(K.set(e,t),J++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var i=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var n=e.style;for(var r in t)null!=t[r]&&(i[r]=n[r]);i.fill=n.fill,i.stroke=n.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var i=e.__zr,n=e.useHoverLayer&&i&&"canvas"===i.painter.type;if(e.__highlighted=n?"layer":"plain",!(e.isGroup||!i&&e.useHoverLayer)){var r=e,o=e.style;n&&(r=i.addHover(e),o=r.style),Ce(o),n||ee(r),o.extendFrom(t),ie(o,t,"fill"),ie(o,t,"stroke"),Se(o),n||(e.dirty(!1),e.z2+=E)}}}function ie(e,t,i){!Y(t[i])&&Y(e[i])&&(e[i]=Q(e[i]))}function ne(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var i=e.style,n=e.__cachedNormalStl;n&&(Ce(i),e.setStyle(n),Se(i));var r=e.__cachedNormalZ2;null!=r&&e.z2-r===E&&(e.z2=r)}}function re(e,t,i){var n,r=P,o=P;e.__highlighted&&(r=O,n=!0),t(e,i),e.__highlighted&&(o=O,n=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,i)})),n&&e.__highDownOnUpdate&&e.__highDownOnUpdate(r,o)}function oe(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,ne(e),te(e))}function se(e){!ue(this,e)&&!this.__highByOuter&&re(this,te)}function ae(e){!ue(this,e)&&!this.__highByOuter&&re(this,ne)}function le(e){this.__highByOuter|=1<<(e||0),re(this,te)}function ce(e){!(this.__highByOuter&=~(1<<(e||0)))&&re(this,ne)}function ue(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function he(e,t){de(e,!0),re(e,oe,t)}function de(e,t){var i=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!i||e.__highDownDispatcher){var n=i?"off":"on";e[n]("mouseover",se)[n]("mouseout",ae),e[n]("emphasis",le)[n]("normal",ce),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!i}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=B[e];return null==t&&R<=32&&(t=B[e]=R++),t}function ge(e,t,i,r,o,s,a){o=o||L;var l,c=o.labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,d=o.labelProp,f=i.getShallow("show"),p=r.getShallow("show");(f||p)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h,d)),null==l&&(l=n.isFunction(o.defaultText)?o.defaultText(u,o):o.defaultText));var g=f?l:null,v=p?n.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h,d):null,l):null;null==g&&null==v||(me(e,i,s,o),me(t,r,a,o,!0)),e.text=g,t.text=v}function ve(e,t,i){var r=e.style;t&&(Ce(r),e.setStyle(t),Se(r)),r=e.__hoverStl,i&&r&&(Ce(r),n.extend(r,i),Se(r))}function me(e,t,i,r,o){return _e(e,t,r,o),i&&n.extend(e,i),e}function ye(e,t,i){var n,r={isRectText:!0};!1===i?n=!0:r.autoColor=i,_e(e,t,r,n)}function _e(e,t,i,r){if(i=i||L,i.isRectText){var o;i.getTextPosition?o=i.getTextPosition(t,r):(o=t.getShallow("position")||(r?null:"inside"),"outside"===o&&(o="top")),e.textPosition=o,e.textOffset=t.getShallow("offset");var s=t.getShallow("rotate");null!=s&&(s*=Math.PI/180),e.textRotation=s,e.textDistance=n.retrieve2(t.getShallow("distance"),r?null:5)}var a,l=t.ecModel,c=l&&l.option.textStyle,u=xe(t);if(u)for(var h in a={},u)if(u.hasOwnProperty(h)){var d=t.getModel(["rich",h]);be(a[h]={},d,c,i,r)}return e.rich=a,be(e,t,c,i,r,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),e}function xe(e){var t;while(e&&e!==e.ecModel){var i=(e.option||L).rich;if(i)for(var n in t=t||{},i)i.hasOwnProperty(n)&&(t[n]=1);e=e.parentModel}return t}function be(e,t,i,r,o,s){i=!o&&i||L,e.textFill=we(t.getShallow("color"),r)||i.color,e.textStroke=we(t.getShallow("textBorderColor"),r)||i.textBorderColor,e.textStrokeWidth=n.retrieve2(t.getShallow("textBorderWidth"),i.textBorderWidth),o||(s&&(e.insideRollbackOpt=r,Se(e)),null==e.textFill&&(e.textFill=r.autoColor)),e.fontStyle=t.getShallow("fontStyle")||i.fontStyle,e.fontWeight=t.getShallow("fontWeight")||i.fontWeight,e.fontSize=t.getShallow("fontSize")||i.fontSize,e.fontFamily=t.getShallow("fontFamily")||i.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),s&&r.disableBox||(e.textBackgroundColor=we(t.getShallow("backgroundColor"),r),e.textPadding=t.getShallow("padding"),e.textBorderColor=we(t.getShallow("borderColor"),r),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||i.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||i.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||i.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function we(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Se(e){var t,i=e.textPosition,n=e.insideRollbackOpt;if(n&&null==e.textFill){var r=n.autoColor,o=n.isRectText,s=n.useInsideStyle,a=!1!==s&&(!0===s||o&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!a&&null!=r;(a||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),a&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=r)}e.insideRollback=t}function Ce(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Ae(e,t){var i=t&&t.getModel("textStyle");return n.trim([e.fontStyle||i&&i.getShallow("fontStyle")||"",e.fontWeight||i&&i.getShallow("fontWeight")||"",(e.fontSize||i&&i.getShallow("fontSize")||12)+"px",e.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Me(e,t,i,n,r,o){"function"===typeof r&&(o=r,r=null);var s=n&&n.isAnimationEnabled();if(s){var a=e?"Update":"",l=n.getShallow("animationDuration"+a),c=n.getShallow("animationEasing"+a),u=n.getShallow("animationDelay"+a);"function"===typeof u&&(u=u(r,n.getAnimationDelayParams?n.getAnimationDelayParams(t,r):null)),"function"===typeof l&&(l=l(r)),l>0?t.animateTo(i,l,u||0,c,o,!!o):(t.stopAnimation(),t.attr(i),o&&o())}else t.stopAnimation(),t.attr(i),o&&o()}function ke(e,t,i,n,r){Me(!0,e,t,i,n,r)}function Te(e,t,i,n,r){Me(!1,e,t,i,n,r)}function Ie(e,t){var i=s.identity([]);while(e&&e!==t)s.mul(i,e.getLocalTransform(),i),e=e.parent;return i}function Le(e,t,i){return t&&!n.isArrayLike(t)&&(t=c.getLocalTransform(t)),i&&(t=s.invert([],t)),a.applyTransform([],e,t)}function Ee(e,t,i){var n=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-n:"right"===e?n:0,"top"===e?-r:"bottom"===e?r:0];return o=Le(o,t,i),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function De(e,t,i,r){if(e&&t){var o=s(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var n=l(e);e.attr(l(t)),ke(e,n,i,e.dataIndex)}}}))}function s(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:a.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=n.extend({},e.shape)),t}}function Oe(e,t){return n.map(e,(function(e){var i=e[0];i=T(i,t.x),i=I(i,t.x+t.width);var n=e[1];return n=T(n,t.y),n=I(n,t.y+t.height),[i,n]}))}function Pe(e,t){var i=T(e.x,t.x),n=I(e.x+e.width,t.x+t.width),r=T(e.y,t.y),o=I(e.y+e.height,t.y+t.height);if(n>=i&&o>=r)return{x:i,y:r,width:n-i,height:o-r}}function Re(e,t,i){t=n.extend({rectHover:!0},t);var r=t.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),n.defaults(r,i),new u(t)):j(e.replace("path://",""),t,i,"center")}function Be(e,t,i,n,r){for(var o=0,s=r[r.length-1];o1)return!1;var v=ze(f,p,u,h)/d;return!(v<0||v>1)}function ze(e,t,i,n){return e*n-i*t}function He(e){return e<=1e-6&&e>=-1e-6}F("circle",f),F("sector",p),F("ring",g),F("polygon",v),F("polyline",m),F("rect",y),F("line",_),F("bezierCurve",x),F("arc",b),t.Z2_EMPHASIS_LIFT=E,t.CACHED_LABEL_STYLE_PROPERTIES=D,t.extendShape=z,t.extendPath=H,t.registerShape=F,t.getShapeClass=V,t.makePath=j,t.makeImage=$,t.mergePath=G,t.resizePath=U,t.subPixelOptimizeLine=q,t.subPixelOptimizeRect=Z,t.subPixelOptimize=X,t.setElementHoverStyle=oe,t.setHoverStyle=he,t.setAsHighDownDispatcher=de,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=ge,t.modifyLabelStyle=ve,t.setTextStyle=me,t.setText=ye,t.getFont=Ae,t.updateProps=ke,t.initProps=Te,t.getTransform=Ie,t.applyTransform=Le,t.transformDirection=Ee,t.groupTransition=De,t.clipPointsByRect=Oe,t.clipRectByRect=Pe,t.createIcon=Re,t.linePolygonIntersect=Be,t.lineLineIntersect=Ne},61570:function(e,t,i){var n=i(95289),r=i(39587),o=i(44261),s=o.parsePercent,a=i(8595),l=n.each,c=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(e,t,i,n,r){var o=0,s=0;null==n&&(n=1/0),null==r&&(r=1/0);var a=0;t.eachChild((function(l,c){var u,h,d=l.position,f=l.getBoundingRect(),p=t.childAt(c+1),g=p&&p.getBoundingRect();if("horizontal"===e){var v=f.width+(g?-g.x+f.x:0);u=o+v,u>n||l.newline?(o=0,u=v,s+=a+i,a=f.height):a=Math.max(a,f.height)}else{var m=f.height+(g?-g.y+f.y:0);h=s+m,h>r||l.newline?(o+=a+i,s=0,h=m,a=f.width):a=Math.max(a,f.width)}l.newline||(d[0]=o,d[1]=s,"horizontal"===e?o=u+i:s=h+i)}))}var d=h,f=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function g(e,t,i){var n=t.width,r=t.height,o=s(e.x,n),l=s(e.y,r),c=s(e.x2,n),u=s(e.y2,r);return(isNaN(o)||isNaN(parseFloat(e.x)))&&(o=0),(isNaN(c)||isNaN(parseFloat(e.x2)))&&(c=n),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(e.y2)))&&(u=r),i=a.normalizeCssArray(i||0),{width:Math.max(c-o-i[1]-i[3],0),height:Math.max(u-l-i[0]-i[2],0)}}function v(e,t,i){i=a.normalizeCssArray(i||0);var n=t.width,o=t.height,l=s(e.left,n),c=s(e.top,o),u=s(e.right,n),h=s(e.bottom,o),d=s(e.width,n),f=s(e.height,o),p=i[2]+i[0],g=i[1]+i[3],v=e.aspect;switch(isNaN(d)&&(d=n-u-g-l),isNaN(f)&&(f=o-h-p-c),null!=v&&(isNaN(d)&&isNaN(f)&&(v>n/o?d=.8*n:f=.8*o),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=n-u-d-g),isNaN(c)&&(c=o-h-f-p),e.left||e.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(e.top||e.bottom){case"middle":case"center":c=o/2-f/2-i[0];break;case"bottom":c=o-f-p;break}l=l||0,c=c||0,isNaN(d)&&(d=n-g-l-(u||0)),isNaN(f)&&(f=o-p-c-(h||0));var m=new r(l+i[3],c+i[0],d,f);return m.margin=i,m}function m(e,t,i,o,s){var a=!s||!s.hv||s.hv[0],l=!s||!s.hv||s.hv[1],c=s&&s.boundingMode||"all";if(a||l){var u;if("raw"===c)u="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();u=u.clone(),u.applyTransform(h)}t=v(n.defaults({width:u.width,height:u.height},t),i,o);var d=e.position,f=a?t.x-u.x:0,p=l?t.y-u.y:0;e.attr("position","raw"===c?[f,p]:[d[0]+f,d[1]+p])}}function y(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]}function _(e,t,i){!n.isObject(i)&&(i={});var r=i.ignoreSize;!n.isArray(r)&&(r=[r,r]);var o=a(u[0],0),s=a(u[1],1);function a(i,n){var o={},s=0,a={},u=0,d=2;if(l(i,(function(t){a[t]=e[t]})),l(i,(function(e){c(t,e)&&(o[e]=a[e]=t[e]),h(o,e)&&s++,h(a,e)&&u++})),r[n])return h(t,i[1])?a[i[2]]=null:h(t,i[2])&&(a[i[1]]=null),a;if(u!==d&&s){if(s>=d)return o;for(var f=0;f=i.length&&i.push({option:e})}})),i}function g(e){var t=n.createHashMap();o(e,(function(e,i){var n=e.exist;n&&t.set(n.id,e)})),o(e,(function(e,i){var r=e.option;n.assert(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})})),o(e,(function(e,i){var n=e.exist,r=e.option,o=e.keyInfo;if(s(r)){if(o.name=null!=r.name?r.name+"":n?n.name:l+i,n)o.id=n.id;else if(null!=r.id)o.id=r.id+"";else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(t.get(o.id))}t.set(o.id,e)}}))}function v(e){var t=e.name;return!(!t||!t.indexOf(l))}function m(e){return s(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function y(e,t){var i={},n={};return r(e||[],i),r(t||[],n,i),[o(i),o(n)];function r(e,t,i){for(var n=0,r=e.length;n0){if(e<=t[0])return i[0];if(e>=t[1])return i[1]}else{if(e>=t[0])return i[0];if(e<=t[1])return i[1]}else{if(e===t[0])return i[0];if(e===t[1])return i[1]}return(e-t[0])/r*o+i[0]}function a(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,i){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),i?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function u(e){if(e=+e,isNaN(e))return 0;var t=1,i=0;while(Math.round(e*t)/t!==e)t*=10,i++;return i}function h(e){var t=e.toString(),i=t.indexOf("e");if(i>0){var n=+t.slice(i+1);return n<0?-n:0}var r=t.indexOf(".");return r<0?0:t.length-1-r}function d(e,t){var i=Math.log,n=Math.LN10,r=Math.floor(i(e[1]-e[0])/n),o=Math.round(i(Math.abs(t[1]-t[0]))/n),s=Math.min(Math.max(-r+o,0),20);return isFinite(s)?s:20}function f(e,t,i){if(!e[t])return 0;var r=n.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return 0;var o=Math.pow(10,i),s=n.map(e,(function(e){return(isNaN(e)?0:e)/r*o*100})),a=100*o,l=n.map(s,(function(e){return Math.floor(e)})),c=n.reduce(l,(function(e,t){return e+t}),0),u=n.map(s,(function(e,t){return e-l[t]}));while(ch&&(h=u[f],d=f);++l[d],u[d]=0,++c}return l[t]/o}var p=9007199254740991;function g(e){var t=2*Math.PI;return(e%t+t)%t}function v(e){return e>-r&&e=10&&t++,t}function b(e,t){var i,n=x(e),r=Math.pow(10,n),o=e/r;return i=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=i*r,n>=-20?+e.toFixed(n<0?-n:0):e}function w(e,t){var i=(e.length-1)*t+1,n=Math.floor(i),r=+e[n-1],o=i-n;return o?r+o*(e[n]-r):r}function S(e){e.sort((function(e,t){return a(e,t,0)?-1:1}));for(var t=-1/0,i=1,n=0;n=0}t.linearMap=s,t.parsePercent=a,t.round=l,t.asc=c,t.getPrecision=u,t.getPrecisionSafe=h,t.getPixelPrecision=d,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=g,t.isRadianAroundZero=v,t.parseDate=y,t.quantity=_,t.quantityExponent=x,t.nice=b,t.quantile=w,t.reformIntervals=S,t.isNumeric=C},83759:function(e,t,i){var n=i(76442),r=n.extendShape,o=r({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var i=t.cx,n=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),s=.5*(o-r),a=r+s,l=t.startAngle,c=t.endAngle,u=t.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(c),p=Math.sin(c),g=u?c-l<2*Math.PI:l-c<2*Math.PI;g&&(e.moveTo(h*r+i,d*r+n),e.arc(h*a+i,d*a+n,s,-Math.PI+l,l,!u)),e.arc(i,n,o,l,c,!u),e.moveTo(f*o+i,p*o+n),e.arc(f*a+i,p*a+n,s,c-2*Math.PI,c-Math.PI,!u),0!==r&&(e.arc(i,n,r,c,l,u),e.moveTo(h*r+i,p*r+n)),e.closePath()}});e.exports=o},22864:function(e,t,i){var n=i(95289),r=i(76442),o=i(39587),s=i(43407),a=s.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var i=t.cx,n=t.cy,r=t.width/2,o=t.height/2;e.moveTo(i,n-o),e.lineTo(i+r,n+o),e.lineTo(i-r,n+o),e.closePath()}}),c=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var i=t.cx,n=t.cy,r=t.width/2,o=t.height/2;e.moveTo(i,n-o),e.lineTo(i+r,n),e.lineTo(i,n+o),e.lineTo(i-r,n),e.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.x,n=t.y,r=t.width/5*3,o=Math.max(r,t.height),s=r/2,a=s*s/(o-s),l=n-o+s+a,c=Math.asin(a/s),u=Math.cos(c)*s,h=Math.sin(c),d=Math.cos(c),f=.6*s,p=.7*s;e.moveTo(i-u,l+a),e.arc(i,l,s,Math.PI-c,2*Math.PI+c),e.bezierCurveTo(i+u-h*f,l+a+d*f,i,n-p,i,n),e.bezierCurveTo(i,n-p,i-u+h*f,l+a+d*f,i-u,l+a),e.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.height,n=t.width,r=t.x,o=t.y,s=n/3*2;e.moveTo(r,o),e.lineTo(r+s,o+i),e.lineTo(r,o+i/4*3),e.lineTo(r-s,o+i),e.lineTo(r,o),e.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:c,pin:u,arrow:h,triangle:l},f={line:function(e,t,i,n,r){r.x1=e,r.y1=t+n/2,r.x2=e+i,r.y2=t+n/2},rect:function(e,t,i,n,r){r.x=e,r.y=t,r.width=i,r.height=n},roundRect:function(e,t,i,n,r){r.x=e,r.y=t,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(e,t,i,n,r){var o=Math.min(i,n);r.x=e,r.y=t,r.width=o,r.height=o},circle:function(e,t,i,n,r){r.cx=e+i/2,r.cy=t+n/2,r.r=Math.min(i,n)/2},diamond:function(e,t,i,n,r){r.cx=e+i/2,r.cy=t+n/2,r.width=i,r.height=n},pin:function(e,t,i,n,r){r.x=e+i/2,r.y=t+n/2,r.width=i,r.height=n},arrow:function(e,t,i,n,r){r.x=e+i/2,r.y=t+n/2,r.width=i,r.height=n},triangle:function(e,t,i,n,r){r.cx=e+i/2,r.cy=t+n/2,r.width=i,r.height=n}},p={};n.each(d,(function(e,t){p[t]=new e}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,i){var n=a(e,t,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.textPosition&&(n.y=i.y+.4*i.height),n},buildPath:function(e,t,i){var n=t.symbolType;if("none"!==n){var r=p[n];r||(n="rect",r=p[n]),f[n](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,i)}}});function v(e,t){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=e:this.__isEmptyBrush?(i.stroke=e,i.fill=t||"#fff"):(i.fill&&(i.fill=e),i.stroke&&(i.stroke=e)),this.dirty(!1)}}function m(e,t,i,n,s,a,l){var c,u=0===e.indexOf("empty");return u&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),c=0===e.indexOf("image://")?r.makeImage(e.slice(8),new o(t,i,n,s),l?"center":"cover"):0===e.indexOf("path://")?r.makePath(e.slice(7),{},new o(t,i,n,s),l?"center":"cover"):new g({shape:{symbolType:e,x:t,y:i,width:n,height:s}}),c.__isEmptyBrush=u,c.setColor=v,c.setColor(a),c}t.createSymbol=m},88336:function(e,t){var i="\0__throttleOriginMethod",n="\0__throttleRate",r="\0__throttleType";function o(e,t,i){var n,r,o,s,a,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,e.apply(o,s||[])}t=t||0;var d=function(){n=(new Date).getTime(),o=this,s=arguments;var e=a||t,d=a||i;a=null,r=n-(d?l:c)-e,clearTimeout(u),d?u=setTimeout(h,e):r>=0?h():u=setTimeout(h,-r),l=n};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(e){a=e},d}function s(e,t,s,a){var l=e[t];if(l){var c=l[i]||l,u=l[r],h=l[n];if(h!==s||u!==a){if(null==s||!a)return e[t]=c;l=e[t]=o(c,s,"debounce"===a),l[i]=c,l[r]=a,l[n]=s}return l}}function a(e,t){var n=e[t];n&&n[i]&&(e[t]=n[i])}t.throttle=o,t.createOrUpdate=s,t.clear=a},67955:function(e,t,i){var n=i(95289),r=n.each,o=i(75738),s=i(79865),a=i(11724),l=i(63199),c=i(76442),u=i(88545),h=u.createTask,d=i(59039),f=l.makeInner(),p=d();function g(){this.group=new o,this.uid=s.getUID("viewChart"),this.renderTask=h({plan:_,reset:x}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(e,t){},render:function(e,t,i,n){},highlight:function(e,t,i,n){y(e.getData(),n,"emphasis")},downplay:function(e,t,i,n){y(e.getData(),n,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v=g.prototype;function m(e,t,i){if(e&&(e.trigger(t,i),e.isGroup&&!c.isHighDownDispatcher(e)))for(var n=0,r=e.childCount();n=0},this.indexOfName=function(t){var i=e();return i.indexOfName(t)},this.getItemVisual=function(t,i){var n=e();return n.getItemVisual(t,i)}}var i=t;e.exports=i},71576:function(e,t,i){var n=i(95289),r=i(56607),o=i(44261),s=o.linearMap,a=n.each,l=n.isObject,c=-1,u=function(e){var t=e.mappingMethod,i=e.type,r=this.option=n.clone(e);this.type=i,this.mappingMethod=t,this._normalizeData=S[t];var o=h[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(p(r),d(r)):"category"===t?r.categories?f(r):p(r,!0):(n.assert("linear"!==t||r.dataExtent),p(r))};u.prototype={constructor:u,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var h=u.visualHandlers={color:{applyVisual:m("color"),getColorMapper:function(){var e=this.option;return n.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),y.call(this,e)}:function(t,i,n){var o=!!n;return!i&&(t=this._normalizeData(t)),n=r.fastLerp(t,e.parsedVisual,n),o?n:r.stringify(n,"rgba")},this)},_doMap:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:y,piecewise:function(e,t){var i=b.call(this,t);return null==i&&(i=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),i},fixed:_}},colorHue:g((function(e,t){return r.modifyHSL(e,t)})),colorSaturation:g((function(e,t){return r.modifyHSL(e,null,t)})),colorLightness:g((function(e,t){return r.modifyHSL(e,null,null,t)})),colorAlpha:g((function(e,t){return r.modifyAlpha(e,t)})),opacity:{applyVisual:m("opacity"),_doMap:x([0,1])},liftZ:{applyVisual:m("liftZ"),_doMap:{linear:_,category:_,piecewise:_,fixed:_}},symbol:{applyVisual:function(e,t,i){var r=this.mapValueToVisual(e);if(n.isString(r))i("symbol",r);else if(l(r))for(var o in r)r.hasOwnProperty(o)&&i(o,r[o])},_doMap:{linear:v,category:y,piecewise:function(e,t){var i=b.call(this,t);return null==i&&(i=v.call(this,e)),i},fixed:_}},symbolSize:{applyVisual:m("symbolSize"),_doMap:x([0,1])}};function d(e){var t=e.pieceList;e.hasSpecialVisual=!1,n.each(t,(function(t,i){t.originIndex=i,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function f(e){var t=e.categories,i=e.visual,r=e.categoryMap={};if(a(t,(function(e,t){r[e]=t})),!n.isArray(i)){var o=[];n.isObject(i)?a(i,(function(e,t){var i=r[t];o[null!=i?i:c]=e})):o[c]=i,i=w(e,o)}for(var s=t.length-1;s>=0;s--)null==i[s]&&(delete r[t[s]],t.pop())}function p(e,t){var i=e.visual,r=[];n.isObject(i)?a(i,(function(e){r.push(e)})):null!=i&&r.push(i);var o={color:1,symbol:1};t||1!==r.length||o.hasOwnProperty(e.type)||(r[1]=r[0]),w(e,r)}function g(e){return{applyVisual:function(t,i,n){t=this.mapValueToVisual(t),n("color",e(i("color"),t))},_doMap:x([0,1])}}function v(e){var t=this.option.visual;return t[Math.round(s(e,[0,1],[0,t.length-1],!0))]||{}}function m(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==c?e%t.length:e]}function _(){return this.option.visual[0]}function x(e){return{linear:function(t){return s(t,e,this.option.visual,!0)},category:y,piecewise:function(t,i){var n=b.call(this,i);return null==n&&(n=s(t,e,this.option.visual,!0)),n},fixed:_}}function b(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=u.findPieceIndex(e,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=n.map(t,(function(e){return r.parse(e)}))),t}var S={linear:function(e){return s(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=u.findPieceIndex(e,t,!0);if(null!=i)return s(i,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?c:t},fixed:n.noop};function C(e,t,i){return e?t<=i:t1?"series.multiple.prefix":"series.single.prefix";a+=p(g(f),{seriesCount:o}),t.eachSeries((function(e,t){if(t1?"multiple":"single")+".";i=g(n?r+"withName":r+"withoutName"),i=p(i,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:m(e.subType)});var a=e.getData();window.data=a,a.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var c=[],h=0;h({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...u.A.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return l.A.options.computed.computedElevation.call(this)},computedRipple(){var e;const t=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!==(e=this.ripple)&&void 0!==e?e:t)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const e=[["flat","text"],["outline","outlined"],["round","rounded"]];e.forEach((([e,t])=>{this.$attrs.hasOwnProperty(e)&&(0,f.q4)(e,t,this)}))},methods:{click(e){!this.retainFocusOnClick&&!this.fab&&e.detail&&this.$el.blur(),this.$emit("click",e),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},(0,p.$c)(this))},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},(0,p.$c)(this,"loader")||[this.$createElement(o,{props:{indeterminate:!0,size:23,width:2}})])}},render(e){const t=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:n}=this.generateRouteLink(),r=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(n.attrs.type=this.type,n.attrs.disabled=this.disabled),n.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),e(i,this.disabled?n:r(this.color,n),t)}})},47210:function(e,t,i){"use strict";i(56001);var n=i(27495),r=i(37930),o=i(78010),s=i(3507),a=i(66960);t.A=(0,s.A)(r.A,o.A,n.A).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...o.A.options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...n.A.options.computed.classes.call(this)}},styles(){const e={...n.A.options.computed.styles.call(this)};return this.img&&(e.background=`url("${this.img}") center center / cover no-repeat`),e}},methods:{genProgress(){const e=r.A.options.methods.genProgress.call(this);return e?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[e]):null}},render(e){const{tag:t,data:i}=this.generateRouteLink();return i.style=this.styles,this.isClickable&&(i.attrs=i.attrs||{},i.attrs.tabindex=0),e(t,this.setBackgroundColor(this.color,i),[this.genProgress(),(0,a.$c)(this)])}})},98834:function(e,t,i){"use strict";i.d(t,{OQ:function(){return a},SL:function(){return o},ri:function(){return l}});var n=i(47210),r=i(66960);const o=(0,r.Gn)("v-card__actions"),s=(0,r.Gn)("v-card__subtitle"),a=(0,r.Gn)("v-card__text"),l=(0,r.Gn)("v-card__title");n.A},1770:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(53661),r=n.A.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(e){let t;return this.$attrs.role&&"separator"!==this.$attrs.role||(t=this.vertical?"vertical":"horizontal"),e("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":t,...this.$attrs},on:this.$listeners})}})},58230:function(e,t,i){"use strict";var n=i(3507),r=i(54765),o=i(98652),s=i(66960);t.A=(0,n.A)(r.A,(0,o.G)("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(e){const t=Object.values(e).includes(!0);this.$emit("input",!t)},deep:!0,immediate:!0}},methods:{watchInput(e){const t=e=>e.$watch("hasError",(t=>{this.$set(this.errorBag,e._uid,t)}),{immediate:!0}),i={_uid:e._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=e.$watch("shouldValidate",(n=>{n&&(this.errorBag.hasOwnProperty(e._uid)||(i.valid=t(e)))})):i.valid=t(e),i},validate(){return 0===this.inputs.filter((e=>!e.validate(!0))).length},reset(){this.inputs.forEach((e=>e.reset())),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout((()=>{this.errorBag={}}),0)},resetValidation(){this.inputs.forEach((e=>e.resetValidation())),this.resetErrorBag()},register(e){this.inputs.push(e),this.watchers.push(this.watchInput(e))},unregister(e){const t=this.inputs.find((t=>t._uid===e._uid));if(!t)return;const i=this.watchers.find((e=>e._uid===t._uid));i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter((e=>e._uid!==t._uid)),this.inputs=this.inputs.filter((e=>e._uid!==t._uid)),this.$delete(this.errorBag,t._uid)}},render(e){return e("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:e=>this.$emit("submit",e)}},(0,s.$c)(this))}})},51526:function(e,t,i){"use strict";i(40125);var n=i(85471),r=i(64961),o=i(66960);const s=["sm","md","lg","xl"],a=(()=>s.reduce(((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e)),{}))(),l=(()=>s.reduce(((e,t)=>(e["offset"+(0,o.Zb)(t)]={type:[String,Number],default:null},e)),{}))(),c=(()=>s.reduce(((e,t)=>(e["order"+(0,o.Zb)(t)]={type:[String,Number],default:null},e)),{}))(),u={col:Object.keys(a),offset:Object.keys(l),order:Object.keys(c)};function h(e,t,i){let n=e;if(null!=i&&!1!==i){if(t){const i=t.replace(e,"");n+=`-${i}`}return"col"!==e||""!==i&&!0!==i?(n+=`-${i}`,n.toLowerCase()):n.toLowerCase()}}const d=new Map;t.A=n["default"].extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...a,offset:{type:[String,Number],default:null},...l,order:{type:[String,Number],default:null},...c,alignSelf:{type:String,default:null,validator:e=>["auto","start","end","center","baseline","stretch"].includes(e)},tag:{type:String,default:"div"}},render(e,{props:t,data:i,children:n,parent:o}){let s="";for(const r in t)s+=String(t[r]);let a=d.get(s);if(!a){let e;for(e in a=[],u)u[e].forEach((i=>{const n=t[i],r=h(e,i,n);r&&a.push(r)}));const i=a.some((e=>e.startsWith("col-")));a.push({col:!i||!t.cols,[`col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),d.set(s,a)}return e(t.tag,(0,r.Ay)(i,{class:a}),n)}})},4739:function(e,t,i){"use strict";i(158),i(40125);var n=i(2186),r=i(64961);t.A=(0,n.A)("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(e,{props:t,data:i,children:n}){let o;const{attrs:s}=i;return s&&(i.attrs={},o=Object.keys(s).filter((e=>{if("slot"===e)return!1;const t=s[e];return e.startsWith("data-")?(i.attrs[e]=t,!1):t||"string"===typeof t}))),t.id&&(i.domProps=i.domProps||{},i.domProps.id=t.id),e(t.tag,(0,r.Ay)(i,{staticClass:"container",class:Array({"container--fluid":t.fluid}).concat(o||[])}),n)}})},23224:function(e,t,i){"use strict";i(158);var n=i(2186);t.A=(0,n.A)("layout")},18412:function(e,t,i){"use strict";i(40125);var n=i(85471),r=i(64961),o=i(66960);const s=["sm","md","lg","xl"],a=["start","end","center"];function l(e,t){return s.reduce(((i,n)=>(i[e+(0,o.Zb)(n)]=t(),i)),{})}const c=e=>[...a,"baseline","stretch"].includes(e),u=l("align",(()=>({type:String,default:null,validator:c}))),h=e=>[...a,"space-between","space-around"].includes(e),d=l("justify",(()=>({type:String,default:null,validator:h}))),f=e=>[...a,"space-between","space-around","stretch"].includes(e),p=l("alignContent",(()=>({type:String,default:null,validator:f}))),g={align:Object.keys(u),justify:Object.keys(d),alignContent:Object.keys(p)},v={align:"align",justify:"justify",alignContent:"align-content"};function m(e,t,i){let n=v[e];if(null!=i){if(t){const i=t.replace(e,"");n+=`-${i}`}return n+=`-${i}`,n.toLowerCase()}}const y=new Map;t.A=n["default"].extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:c},...u,justify:{type:String,default:null,validator:h},...d,alignContent:{type:String,default:null,validator:f},...p},render(e,{props:t,data:i,children:n}){let o="";for(const r in t)o+=String(t[r]);let s=y.get(o);if(!s){let e;for(e in s=[],g)g[e].forEach((i=>{const n=t[i],r=m(e,i,n);r&&s.push(r)}));s.push({"no-gutters":t.noGutters,"row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),y.set(o,s)}return e(t.tag,(0,r.Ay)(i,{staticClass:"row",class:s}),n)}})},67410:function(e,t,i){"use strict";i(158);var n=i(66960);t.A=(0,n.Gn)("spacer","div","v-spacer")},2186:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(85471);function r(e){return n["default"].extend({name:`v-${e}`,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(t,{props:i,data:n,children:r}){n.staticClass=`${e} ${n.staticClass||""}`.trim();const{attrs:o}=n;if(o){n.attrs={};const e=Object.keys(o).filter((e=>{if("slot"===e)return!1;const t=o[e];return e.startsWith("data-")?(n.attrs[e]=t,!1):t||"string"===typeof t}));e.length&&(n.staticClass+=` ${e.join(" ")}`)}return i.id&&(n.domProps=n.domProps||{},n.domProps.id=i.id),t(i.tag,n,r)}})}},69456:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var n,r=i(54765),o=i(68767),s=i(21713),a=i(53661),l=i(66960),c=i(85471),u=i(3507);function h(e){return["fas","far","fal","fab","fad","fak"].some((t=>e.includes(t)))}function d(e){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4}(function(e){e["xSmall"]="12px",e["small"]="16px",e["default"]="24px",e["medium"]="28px",e["large"]="36px",e["xLarge"]="40px"})(n||(n={}));const f=(0,u.A)(r.A,o.A,s.A,a.A).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let e="";return this.$slots.default&&(e=this.$slots.default[0].text.trim()),(0,l.g8)(this,e)},getSize(){const e={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},t=(0,l.HP)(e).find((t=>e[t]));return t&&n[t]||(0,l.Dg)(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const e=this.getSize(),t={...this.getDefaultData(),style:e?{fontSize:e,height:e,width:e}:void 0};return this.applyColors(t),t},applyColors(e){e.class={...e.class,...this.themeClasses},this.setTextColor(this.color,e)},renderFontIcon(e,t){const i=[],n=this.getDefaultData();let r="material-icons";const o=e.indexOf("-"),s=o<=-1;s?i.push(e):(r=e.slice(0,o),h(r)&&(r="")),n.class[r]=!0,n.class[e]=!s;const a=this.getSize();return a&&(n.style={fontSize:a}),this.applyColors(n),t(this.hasClickListener?"button":this.tag,n,i)},renderSvgIcon(e,t){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},n=this.getSize();return n&&(i.style={fontSize:n,height:n,width:n}),t(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[t("svg",i,[t("path",{attrs:{d:e}})])])},renderSvgIconComponent(e,t){const i={class:{"v-icon__component":!0}},n=this.getSize();n&&(i.style={fontSize:n,height:n,width:n}),this.applyColors(i);const r=e.component;return i.props=e.props,i.nativeOn=i.on,t(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[t(r,i)])}},render(e){const t=this.getIcon();return"string"===typeof t?d(t)?this.renderSvgIcon(t,e):this.renderFontIcon(t,e):this.renderSvgIconComponent(t,e)}});var p=c["default"].extend({name:"v-icon",$_wrapperFor:f,functional:!0,render(e,{data:t,children:i}){let n="";return t.domProps&&(n=t.domProps.textContent||t.domProps.innerHTML||n,delete t.domProps.textContent,delete t.domProps.innerHTML),e(f,t,n?[n]:i)}})},57889:function(e,t,i){"use strict";var n=i(69456);t.A=n.A},60980:function(e,t,i){"use strict";i.d(t,{A:function(){return f}});var n=i(46965),r=i(21325),o=i(3507),s=i(66960),a=(0,o.A)(r.A).extend({name:"v-responsive",props:{aspectRatio:[String,Number],contentClass:String},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content",class:this.contentClass},(0,s.$c)(this))}},render(e){return e("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}}),l=a,c=i(53661),u=i(64961),h=i(65604);const d="undefined"!==typeof window&&"IntersectionObserver"in window;var f=(0,o.A)(l,c.A).extend({name:"v-img",directives:{intersect:n.A},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&"object"===typeof this.src?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}},__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const e=[],t=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&e.push(`linear-gradient(${this.gradient})`),t&&e.push(`url("${t}")`);const i=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:e.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[i]):i}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(e,t,i){if(!d||i||this.eager){if(this.normalisedSrc.lazySrc){const e=new Image;e.src=this.normalisedSrc.lazySrc,this.pollForSize(e,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src),this.image&&(this.normalisedSrc.src.endsWith(".svg")||this.normalisedSrc.src.startsWith("data:image/svg+xml"))&&(this.image.naturalHeight&&this.image.naturalWidth?(this.naturalWidth=this.image.naturalWidth,this.calculatedAspectRatio=this.image.naturalWidth/this.image.naturalHeight):this.calculatedAspectRatio=1)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const e=new Image;this.image=e,e.onload=()=>{e.decode?e.decode().catch((e=>{(0,h.OP)(`Failed to decode image, trying to render anyway\n\nsrc: ${this.normalisedSrc.src}`+(e.message?`\nOriginal error: ${e.message}`:""),this)})).then(this.onLoad):this.onLoad()},e.onerror=this.onError,this.hasError=!1,this.sizes&&(e.sizes=this.sizes),this.normalisedSrc.srcset&&(e.srcset=this.normalisedSrc.srcset),e.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(e),this.getSrc()},pollForSize(e,t=100){const i=()=>{const{naturalHeight:n,naturalWidth:r}=e;n||r?(this.naturalWidth=r,this.calculatedAspectRatio=r/n):e.complete||!this.isLoading||this.hasError||null==t||setTimeout(i,t)};i()},genContent(){const e=l.options.methods.genContent.call(this);return this.naturalWidth&&this._b(e.data,"div",{style:{width:`${this.naturalWidth}px`}}),e},__genPlaceholder(){const e=(0,s.$c)(this,"placeholder");if(e){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},e)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(e){const t=l.options.render.call(this,e),i=(0,u.Ay)(t.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:d?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return t.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],e(t.tag,i,t.children)}})},73960:function(e,t,i){"use strict";i.d(t,{A:function(){return v}});var n=i(57889),r=i(97184),o=i(68767),s=i(53661),a=i(3507),l=i(66960),c=(0,a.A)(o.A,s.A).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(e,t){return this.$createElement("div",{staticClass:"v-messages__message",key:t},(0,l.$c)(this,"default",{message:e,key:t})||[e])}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}}),u=c,h=i(54765),d=i(37863),f=i(64961);const p=(0,a.A)(h.A,d.A);var g=p.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||`input-${this._uid}`},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit(this.$_modelEvent,e)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map((e=>{if("string"===typeof e)return e;const t=e(this.internalValue);return"string"===typeof t?t:""})).filter((e=>""!==e)):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(e){this.lazyValue=e}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),(0,l.$c)(this)]},genIcon(e,t,i={}){var r;const o=this[`${e}Icon`],s=`click:${(0,l.kW)(e)}`,a=!(!this.listeners$[s]&&!t),c={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendOuter:"appendAction",clear:"clear"}[e],u=a&&c?this.$vuetify.lang.t(`$vuetify.input.${c}`,null!==(r=this.label)&&void 0!==r?r:""):void 0,h=(0,f.Ay)({attrs:{"aria-label":u,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light,tabindex:"clear"===e?-1:void 0},on:a?{click:e=>{e.preventDefault(),e.stopPropagation(),this.$emit(s,e),t&&t(e)},mouseup:e=>{e.preventDefault(),e.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:e?`v-input__icon--${(0,l.kW)(e)}`:void 0},[this.$createElement(n.A,h,o)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:(0,l.Dg)(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(r.A,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},(0,l.$c)(this,"label")||this.label):null},genMessages(){return this.showDetails?this.$createElement(u,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:e=>(0,l.$c)(this,"message",e)}}):null},genSlot(e,t,i){if(!i.length)return null;const n=`${e}-${t}`;return this.$createElement("div",{staticClass:`v-input__${n}`,ref:n},i)},genPrependSlot(){const e=[];return this.$slots.prepend?e.push(this.$slots.prepend):this.prependIcon&&e.push(this.genIcon("prepend")),this.genSlot("prepend","outer",e)},genAppendSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","outer",e)},onClick(e){this.$emit("click",e)},onMouseDown(e){this.hasMouseDown=!0,this.$emit("mousedown",e)},onMouseUp(e){this.hasMouseDown=!1,this.$emit("mouseup",e)}},render(e){return e("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),v=g},97184:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var n=i(68767),r=i(53661),o=i(3507),s=i(66960),a=i(64961),l=(0,o.A)(r.A).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(e,t){const{children:i,listeners:o,props:l,data:c}=t,u=(0,a.Ay)({staticClass:"v-label",class:{"v-label--active":l.value,"v-label--is-disabled":l.disabled,...(0,r.H)(t)},attrs:{for:l.for,"aria-hidden":!l.for},on:o,style:{left:(0,s.Dg)(l.left),right:(0,s.Dg)(l.right),position:l.absolute?"absolute":"relative"},ref:"label"},c);return e("label",n.A.options.methods.setTextColor(l.focused&&l.color,u),i)}}),c=l},72987:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(13858),r=i(66960),o=n.A.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...n.A.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(e){this.groups.push(e)},unregister(e){const t=this.groups.findIndex((t=>t._uid===e._uid));t>-1&&this.groups.splice(t,1)},listClick(e){if(!this.expand)for(const t of this.groups)t.toggle(e)}},render(e){const t={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$},on:this.listeners$};return e(this.tag,this.setBackgroundColor(this.color,t),(0,r.$c)(this))}})},81075:function(e,t,i){"use strict";i.d(t,{A:function(){return f}});var n=i(68767),r=i(78010),o=i(74387),s=i(53661),a=i(39748),l=i(91723),c=i(66960),u=i(65604),h=i(3507);const d=(0,h.A)(n.A,r.A,s.A,(0,o.P)("listItemGroup"),(0,a.P)("inputValue"));var f=d.extend().extend({name:"v-list-item",directives:{Ripple:l.A},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...r.A.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(r.A.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&(0,u.rq)("avatar",this)},methods:{click(e){e.detail&&this.$el.blur(),this.$emit("click",e),this.to||this.toggle()},genAttrs(){const e={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(e.role="option",e["aria-selected"]=String(this.isActive)):this.isInMenu?(e.role=this.isClickable?"menuitem":void 0,e.id=e.id||`list-item-${this._uid}`):this.isInList&&(e.role="listitem")),e},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(e){let{tag:t,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:e=>{this.disabled||(e.keyCode===c.uP.enter&&this.click(e),this.$emit("keydown",e))}},this.inactive&&(t="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const n=(0,c.$c)(this,"default",{active:this.isActive,toggle:this.toggle});return e(t,this.isActive?this.setTextColor(this.color,i):i,n)}})},66315:function(e,t,i){"use strict";var n=i(85471);t.A=n["default"].extend({name:"v-list-item-action",functional:!0,render(e,{data:t,children:i=[]}){t.staticClass=t.staticClass?`v-list-item__action ${t.staticClass}`:"v-list-item__action";const n=i.filter((e=>!1===e.isComment&&" "!==e.text));return n.length>1&&(t.staticClass+=" v-list-item__action--stack"),e("div",t,i)}})},62100:function(e,t,i){"use strict";var n=i(21823);t.A=n.A.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...n.A.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(e){const t=n.A.options.render.call(this,e);return t.data=t.data||{},t.data.staticClass+=" v-list-item__avatar",t}})},60024:function(e,t,i){"use strict";var n=i(85471);t.A=n["default"].extend({name:"v-list-item-icon",functional:!0,render(e,{data:t,children:i}){return t.staticClass=`v-list-item__icon ${t.staticClass||""}`.trim(),e("div",t,i)}})},17537:function(e,t,i){"use strict";i.d(t,{pr:function(){return k},UZ:function(){return T}});var n=i(66960),r=i(72987),o=i(57889),s=i(81075),a=i(60024),l=i(54765),c=i(42e3),u=i(68767),h=i(39748),d=i(98652),f=i(91723),p=i(21906),g=i(3507);const v=(0,g.A)(l.A,c.A,u.A,(0,d.W)("list"),h.A);var m=v.extend().extend({name:"v-list-group",directives:{ripple:f.A},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(e){!this.subGroup&&e&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(e){this.disabled||(this.isBooted=!0,this.$emit("click",e),this.$nextTick((()=>this.isActive=!this.isActive)))},genIcon(e){return this.$createElement(o.A,e)},genAppendIcon(){const e=!this.subGroup&&this.appendIcon,t=(0,n.$c)(this,"appendIcon");return e||t?this.$createElement(a.A,{staticClass:"v-list-group__header__append-icon"},[t||this.genIcon(e)]):null},genHeader(){return this.$createElement(s.A,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),(0,n.$c)(this,"activator"),this.genAppendIcon()])},genItems(){return this.showLazyContent((()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},(0,n.$c)(this))]))},genPrependIcon(){const e=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon,t=(0,n.$c)(this,"prependIcon");return e||t?this.$createElement(a.A,{staticClass:"v-list-group__header__prepend-icon"},[t||this.genIcon(e)]):null},onRouteChange(e){if(!this.group)return;const t=this.matchRoute(e.path);t&&this.isActive!==t&&this.list&&this.list.listClick(this._uid),this.isActive=t},toggle(e){const t=this._uid===e;t&&(this.isBooted=!0),this.$nextTick((()=>this.isActive=t))},matchRoute(e){return null!==e.match(this.group)}},render(e){return e("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),e(p.Qo,this.genItems())])}}),y=i(45088),_=i(34464),x=i(53661),b=i(65604);const w=(0,g.A)(y.A,_.A,x.A).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter(((e,t)=>this.toggleMethod(this.getValue(e,t))))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return e=>this.valueComparator(this.internalValue,e);const e=this.internalValue;return Array.isArray(e)?t=>e.some((e=>this.valueComparator(e,t))):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&(0,b.OP)("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(e,t){return void 0===e.value?t:e.value},onClick(e){this.updateInternalValue(this.getValue(e,this.items.indexOf(e)))},register(e){const t=this.items.push(e)-1;e.$on("change",(()=>this.onClick(e))),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(e,t)},unregister(e){if(this._isDestroyed)return;const t=this.items.indexOf(e),i=this.getValue(e,t);this.items.splice(t,1);const n=this.selectedValues.indexOf(i);if(!(n<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter((e=>e!==i)):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(e,t){const i=this.getValue(e,t);e.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick((()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)}))},updateInternalValue(e){this.multiple?this.updateMultiple(e):this.updateSingle(e)},updateMandatory(e){if(!this.items.length)return;const t=this.items.slice();e&&t.reverse();const i=t.find((e=>!e.disabled));if(!i)return;const n=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,n))},updateMultiple(e){const t=Array.isArray(this.internalValue)?this.internalValue:[],i=t.slice(),n=i.findIndex((t=>this.valueComparator(t,e)));this.mandatory&&n>-1&&i.length-1<1||null!=this.max&&n<0&&i.length+1>this.max||(n>-1?i.splice(n,1):i.push(e),this.internalValue=i)},updateSingle(e){const t=this.valueComparator(this.internalValue,e);this.mandatory&&t||(this.internalValue=t?void 0:e)}},render(e){return e(this.tag,this.genData(),(0,n.$c)(this))}});w.extend({name:"v-item-group",provide(){return{itemGroup:this}}});var S=(0,g.A)(w,u.A).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...w.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...w.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),C=i(66315),A=i(62100);const M=(0,n.Gn)("v-list-item__action-text","span"),k=(0,n.Gn)("v-list-item__content","div"),T=(0,n.Gn)("v-list-item__title","div"),I=(0,n.Gn)("v-list-item__subtitle","div");r.A,s.A,C.A,A.A,a.A},17954:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(86543),r=i(66960),o=n.A.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:e,top:t,right:i,footer:n,insetFooter:r,bottom:o,left:s}=this.$vuetify.application;return{paddingTop:`${t+e}px`,paddingRight:`${i}px`,paddingBottom:`${n+r+o}px`,paddingLeft:`${s}px`}}},render(e){const t={staticClass:"v-main",style:this.styles,ref:"main"};return e(this.tag,t,[e("div",{staticClass:"v-main__wrap"},(0,r.$c)(this))])}})},95464:function(e,t,i){"use strict";i.d(t,{A:function(){return y}});var n=i(60980),r=i(49923),o=i(3507);function s(e,t=[]){return(0,o.A)((0,r.P)(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty(){return e}},watch:{app(e,t){t?this.removeApplication(!0):this.callUpdate()},applicationProperty(e,t){this.$vuetify.application.unregister(this._uid,t)}},activated(){this.callUpdate()},created(){for(let e=0,i=t.length;e0}})}var a=i(68767),l=i(79623),c=i(90806),u=i(9499),h=i(86543),d=i(53661),f=i(48734),p=i(42136),g=i(70499),v=i(66960);const m=(0,o.A)(s("left",["isActive","isMobile","miniVariant","expandOnHover","permanent","right","temporary","width"]),a.A,l.A,c.A,u.A,h.A,d.A);var y=m.extend({name:"v-navigation-drawer",directives:{ClickOutside:f.A,Resize:p.A,Touch:g.A},provide(){return{isInNav:"nav"===this.tag}},props:{bottom:Boolean,clipped:Boolean,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,height:{type:[Number,String],default(){return this.app?"100vh":"100%"}},miniVariant:Boolean,miniVariantWidth:{type:[Number,String],default:56},permanent:Boolean,right:Boolean,src:{type:[String,Object],default:""},stateless:Boolean,tag:{type:String,default(){return this.app?"nav":"aside"}},temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},value:null},data:()=>({isMouseover:!1,touchArea:{left:0,right:0},stackMinZIndex:6}),computed:{applicationProperty(){return this.right?"right":"left"},classes(){return{"v-navigation-drawer":!0,"v-navigation-drawer--absolute":this.absolute,"v-navigation-drawer--bottom":this.bottom,"v-navigation-drawer--clipped":this.clipped,"v-navigation-drawer--close":!this.isActive,"v-navigation-drawer--fixed":!this.absolute&&(this.app||this.fixed),"v-navigation-drawer--floating":this.floating,"v-navigation-drawer--is-mobile":this.isMobile,"v-navigation-drawer--is-mouseover":this.isMouseover,"v-navigation-drawer--mini-variant":this.isMiniVariant,"v-navigation-drawer--custom-mini-variant":56!==Number(this.miniVariantWidth),"v-navigation-drawer--open":this.isActive,"v-navigation-drawer--open-on-hover":this.expandOnHover,"v-navigation-drawer--right":this.right,"v-navigation-drawer--temporary":this.temporary,...this.themeClasses}},computedMaxHeight(){if(!this.hasApp)return null;const e=this.$vuetify.application.bottom+this.$vuetify.application.footer+this.$vuetify.application.bar;return this.clipped?e+this.$vuetify.application.top:e},computedTop(){if(!this.hasApp)return 0;let e=this.$vuetify.application.bar;return e+=this.clipped?this.$vuetify.application.top:0,e},computedTransform(){return this.isActive?0:this.isBottom||this.right?100:-100},computedWidth(){return this.isMiniVariant?this.miniVariantWidth:this.width},hasApp(){return this.app&&!this.isMobile&&!this.temporary},isBottom(){return this.bottom&&this.isMobile},isMiniVariant(){return!this.expandOnHover&&this.miniVariant||this.expandOnHover&&!this.isMouseover},isMobile(){return!this.stateless&&!this.permanent&&c.A.options.computed.isMobile.call(this)},reactsToClick(){return!this.stateless&&!this.permanent&&(this.isMobile||this.temporary)},reactsToMobile(){return this.app&&!this.disableResizeWatcher&&!this.permanent&&!this.stateless&&!this.temporary},reactsToResize(){return!this.disableResizeWatcher&&!this.stateless},reactsToRoute(){return!this.disableRouteWatcher&&!this.stateless&&(this.temporary||this.isMobile)},showOverlay(){return!this.hideOverlay&&this.isActive&&(this.isMobile||this.temporary)},styles(){const e=this.isBottom?"translateY":"translateX";return{height:(0,v.Dg)(this.height),top:this.isBottom?"auto":(0,v.Dg)(this.computedTop),maxHeight:null!=this.computedMaxHeight?`calc(100% - ${(0,v.Dg)(this.computedMaxHeight)})`:void 0,transform:`${e}(${(0,v.Dg)(this.computedTransform,"%")})`,width:(0,v.Dg)(this.computedWidth)}}},watch:{$route:"onRouteChange",isActive(e){this.$emit("input",e)},isMobile(e,t){!e&&this.isActive&&!this.temporary&&this.removeOverlay(),null!=t&&this.reactsToResize&&this.reactsToMobile&&(this.isActive=!e)},permanent(e){e&&(this.isActive=!0)},showOverlay(e){e?this.genOverlay():this.removeOverlay()},value(e){this.permanent||(null!=e?e!==this.isActive&&(this.isActive=e):this.init())},expandOnHover:"updateMiniVariant",isMouseover(e){this.updateMiniVariant(!e)}},beforeMount(){this.init()},methods:{calculateTouchArea(){const e=this.$el.parentNode;if(!e)return;const t=e.getBoundingClientRect();this.touchArea={left:t.left+50,right:t.right-50}},closeConditional(){return this.isActive&&!this._isDestroyed&&this.reactsToClick},genAppend(){return this.genPosition("append")},genBackground(){const e={height:"100%",width:"100%",src:this.src},t=this.$scopedSlots.img?this.$scopedSlots.img(e):this.$createElement(n.A,{props:e});return this.$createElement("div",{staticClass:"v-navigation-drawer__image"},[t])},genDirectives(){const e=[{name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:this.getOpenDependentElements}}];return this.touchless||this.stateless||e.push({name:"touch",value:{parent:!0,left:this.swipeLeft,right:this.swipeRight}}),e},genListeners(){const e={mouseenter:()=>this.isMouseover=!0,mouseleave:()=>this.isMouseover=!1,transitionend:e=>{if(e.target!==e.currentTarget)return;this.$emit("transitionend",e);const t=document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}};return this.miniVariant&&(e.click=()=>this.$emit("update:mini-variant",!1)),e},genPosition(e){const t=(0,v.$c)(this,e);return t?this.$createElement("div",{staticClass:`v-navigation-drawer__${e}`},t):t},genPrepend(){return this.genPosition("prepend")},genContent(){return this.$createElement("div",{staticClass:"v-navigation-drawer__content"},(0,v.$c)(this))},genBorder(){return this.$createElement("div",{staticClass:"v-navigation-drawer__border"})},init(){this.permanent?this.isActive=!0:this.stateless||null!=this.value?this.isActive=this.value:this.temporary||(this.isActive=!this.isMobile)},onRouteChange(){this.reactsToRoute&&this.closeConditional()&&(this.isActive=!1)},swipeLeft(e){this.isActive&&this.right||(this.calculateTouchArea(),Math.abs(e.touchendX-e.touchstartX)<100||(this.right&&e.touchstartX>=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},swipeRight(e){this.isActive&&!this.right||(this.calculateTouchArea(),Math.abs(e.touchendX-e.touchstartX)<100||(!this.right&&e.touchstartX<=this.touchArea.left?this.isActive=!0:this.right&&this.isActive&&(this.isActive=!1)))},updateApplication(){if(!this.isActive||this.isMobile||this.temporary||!this.$el)return 0;const e=Number(this.miniVariant?this.miniVariantWidth:this.width);return isNaN(e)?this.$el.clientWidth:e},updateMiniVariant(e){this.expandOnHover&&this.miniVariant!==e&&this.$emit("update:mini-variant",e)}},render(e){const t=[this.genPrepend(),this.genContent(),this.genAppend(),this.genBorder()];return(this.src||(0,v.$c)(this,"img"))&&t.unshift(this.genBackground()),e(this.tag,this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,directives:this.genDirectives(),on:this.genListeners()}),t)}})},12585:function(e,t,i){"use strict";i.d(t,{A:function(){return s}});var n=i(46965),r=i(68767),o=i(66960),s=r.A.extend({name:"v-progress-circular",directives:{intersect:n.A},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:(0,o.Dg)(this.calculatedSize),width:(0,o.Dg)(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(e,t){return this.$createElement("circle",{class:`v-progress-circular__${e}`,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":t}})},genSvg(){const e=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},e)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},(0,o.$c)(this))},onObserve(e,t,i){this.isVisible=i}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})},13858:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var n=i(54765),r=i(68767),o=i(45083),s=i(21325),a=i(6256),l=i(53661),c=i(3507),u=(0,c.A)(n.A,r.A,o.A,s.A,a.A,l.A).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(e){const t={class:this.classes,style:this.styles,on:this.listeners$};return e(this.tag,this.setBackgroundColor(this.color,t),this.$slots.default)}})},27495:function(e,t,i){"use strict";var n=i(13858);t.A=n.A},83406:function(e,t,i){"use strict";i.d(t,{A:function(){return _}});i(8245);var n=i(73960),r=i(53661),o=i(3507),s=(0,o.A)(r.A).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(e,t){const{props:i}=t,n=parseInt(i.max,10),o=parseInt(i.value,10),s=n?`${o} / ${n}`:String(i.value),a=n&&o>n;return e("div",{staticClass:"v-counter",class:{"error--text":a,...(0,r.H)(t)}},s)}}),a=s,l=i(97184),c=i(65533),u=i(37930),h=i(37863),d=i(42136),f=i(91723),p=i(94845),g=i(66960),v=i(65604);const m=(0,o.A)(n.A,(0,c.A)({onVisible:["onResize","tryAutofocus"]}),u.A),y=["color","file","time","date","datetime-local","week","month"];var _=m.extend().extend({name:"v-text-field",directives:{resize:d.A,ripple:f.A},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...n.A.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const e=h.A.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":e},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return n.A.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",this.lazyValue)}},isDirty(){var e;return(null===(e=this.lazyValue)||void 0===e?void 0:e.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||y.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let e=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(e-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:e,right:"auto"}:{left:"auto",right:e}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(e){this.lazyValue=e}},created(){this.$attrs.hasOwnProperty("box")&&(0,v.q4)("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&(0,v.q4)("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&(0,v.OP)("shaped should be used with either filled or outlined",this)},mounted(){this.$watch((()=>this.labelValue),this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame((()=>{this.isBooted=!0,requestAnimationFrame((()=>{this.isIntersecting||this.onResize()}))}))},methods:{focus(){this.onFocus()},blur(e){window.requestAnimationFrame((()=>{this.$refs.input&&this.$refs.input.blur()}))},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick((()=>this.internalValue=null))},genAppendSlot(){const e=[];return this.$slots["append-outer"]?e.push(this.$slots["append-outer"]):this.appendOuterIcon&&e.push(this.genIcon("appendOuter")),this.genSlot("append","outer",e)},genPrependInnerSlot(){const e=[];return this.$slots["prepend-inner"]?e.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&e.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",e)},genIconSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","inner",e)},genInputSlot(){const e=n.A.options.methods.genInputSlot.call(this),t=this.genPrependInnerSlot();return t&&(e.children=e.children||[],e.children.unshift(t)),e},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var e,t,i;if(!this.hasCounter)return null;const n=!0===this.counter?this.attrs$.maxlength:this.counter,r={dark:this.dark,light:this.light,max:n,value:this.computedCounterValue};return null!==(i=null===(t=(e=this.$scopedSlots).counter)||void 0===t?void 0:t.call(e,{props:r}))&&void 0!==i?i:this.$createElement(a,{props:r})},genControl(){return n.A.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const e={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(l.A,e,(0,g.$c)(this,"label")||this.label)},genLegend(){const e=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,t=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:(0,g.Dg)(e)}},[t])},genInput(){const e=Object.assign({},this.listeners$);delete e.change;const{title:t,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(e,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const e=n.A.options.methods.genMessages.call(this),t=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[e,t])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(e){return this.$createElement("div",{class:`v-text-field__${e}`,ref:e},this[e])},onBlur(e){this.isFocused=!1,e&&this.$nextTick((()=>this.$emit("blur",e)))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(e){if(!this.$refs.input)return;const t=(0,p.b)(this.$el);return t?t.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,e&&this.$emit("focus",e))):void 0},onInput(e){const t=e.target;this.internalValue=t.value,this.badInput=t.validity&&t.validity.badInput},onKeyDown(e){e.keyCode===g.uP.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",e)},onMouseDown(e){e.target!==this.$refs.input&&(e.preventDefault(),e.stopPropagation()),n.A.options.methods.onMouseDown.call(this,e)},onMouseUp(e){this.hasMouseDown&&this.focus(),n.A.options.methods.onMouseUp.call(this,e)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const e=(0,p.b)(this.$el);return!(!e||e.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(e){this.hasColor=e,e?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}})},97043:function(e,t,i){"use strict";i.d(t,{A:function(){return a}});var n=i(13858),r=i(60980),o=i(66960),s=i(65604),a=n.A.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const e=this.computedContentHeight;if(!this.isExtended)return e;const t=parseInt(this.extensionHeight);return this.isCollapsed?e:e+(isNaN(t)?0:t)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...n.A.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:(0,o.Dg)(this.computedHeight)}}},created(){const e=[["app",""],["manual-scroll",''],["clipped-left",""],["clipped-right",""],["inverted-scroll",""],["scroll-off-screen",""],["scroll-target",""],["scroll-threshold",""],["card",""]];e.forEach((([e,t])=>{this.$attrs.hasOwnProperty(e)&&(0,s.q4)(e,t,this)}))},methods:{genBackground(){const e={height:(0,o.Dg)(this.computedHeight),src:this.src},t=this.$scopedSlots.img?this.$scopedSlots.img({props:e}):this.$createElement(r.A,{props:e});return this.$createElement("div",{staticClass:"v-toolbar__image"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:(0,o.Dg)(this.computedContentHeight)}},(0,o.$c)(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:(0,o.Dg)(this.extensionHeight)}},(0,o.$c)(this,"extension"))}},render(e){this.isExtended=this.extended||!!this.$scopedSlots.extension;const t=[this.genContent()],i=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&t.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&t.unshift(this.genBackground()),e(this.tag,i,t)}})},71735:function(e,t,i){"use strict";i.d(t,{MZ:function(){return s},sw:function(){return o}});var n=i(97043),r=i(66960);const o=(0,r.Gn)("v-toolbar__title"),s=(0,r.Gn)("v-toolbar__items");n.A},21906:function(e,t,i){"use strict";i.d(t,{Qo:function(){return p},SM:function(){return g},Z:function(){return h},mM:function(){return d},vt:function(){return f},P1:function(){return u},Dk:function(){return c}});var n=i(64961);function r(e=[],...t){return Array().concat(e,...t)}function o(e,t="top center 0",i){return{name:e,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:t}},render(t,i){const o="transition"+(i.props.group?"-group":""),s={props:{name:e,mode:i.props.mode},on:{beforeEnter(e){e.style.transformOrigin=i.props.origin,e.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(s.on.leave=r(s.on.leave,(e=>{const{offsetTop:t,offsetLeft:i,offsetWidth:n,offsetHeight:r}=e;e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=t+"px",e.style.left=i+"px",e.style.width=n+"px",e.style.height=r+"px"})),s.on.afterLeave=r(s.on.afterLeave,(e=>{if(e&&e._transitionInitialStyles){const{position:t,top:i,left:n,width:r,height:o}=e._transitionInitialStyles;delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=i||"",e.style.left=n||"",e.style.width=r||"",e.style.height=o||""}}))),i.props.hideOnLeave&&(s.on.leave=r(s.on.leave,(e=>{e.style.setProperty("display","none","important")}))),t(o,(0,n.Ay)(i.data,s),i.children)}}}function s(e,t,i="in-out"){return{name:e,functional:!0,props:{mode:{type:String,default:i}},render(i,r){return i("transition",(0,n.Ay)(r.data,{props:{name:e},on:t}),r.children)}}}var a=i(66960);function l(e="",t=!1){const i=t?"width":"height",n=`offset${(0,a.Zb)(i)}`;return{beforeEnter(e){e._parent=e.parentNode,e._initialStyle={transition:e.style.transition,overflow:e.style.overflow,[i]:e.style[i]}},enter(t){const r=t._initialStyle;t.style.setProperty("transition","none","important"),t.style.overflow="hidden";const o=`${t[n]}px`;t.style[i]="0",t.offsetHeight,t.style.transition=r.transition,e&&t._parent&&t._parent.classList.add(e),requestAnimationFrame((()=>{t.style[i]=o}))},afterEnter:o,enterCancelled:o,leave(e){e._initialStyle={transition:"",overflow:e.style.overflow,[i]:e.style[i]},e.style.overflow="hidden",e.style[i]=`${e[n]}px`,e.offsetHeight,requestAnimationFrame((()=>e.style[i]="0"))},afterLeave:r,leaveCancelled:r};function r(t){e&&t._parent&&t._parent.classList.remove(e),o(t)}function o(e){const t=e._initialStyle[i];e.style.overflow=e._initialStyle.overflow,null!=t&&(e.style[i]=t),delete e._initialStyle}}o("carousel-transition"),o("carousel-reverse-transition");const c=o("tab-transition"),u=o("tab-reverse-transition"),h=(o("menu-transition"),o("fab-transition","center center","out-in")),d=(o("dialog-transition"),o("dialog-bottom-transition"),o("dialog-top-transition"),o("fade-transition")),f=(o("scale-transition"),o("scroll-x-transition"),o("scroll-x-reverse-transition"),o("scroll-y-transition"),o("scroll-y-reverse-transition"),o("slide-x-transition")),p=(o("slide-x-reverse-transition"),o("slide-y-transition"),o("slide-y-reverse-transition"),s("expand-transition",l())),g=s("expand-x-transition",l("",!0))},48734:function(e,t,i){"use strict";var n=i(94845);function r(){return!0}function o(e,t,i){if(!e||!1===s(e,i))return!1;const r=(0,n.b)(t);if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&r.host===e.target)return!1;const o=("object"===typeof i.value&&i.value.include||(()=>[]))();return o.push(t),!o.some((t=>t.contains(e.target)))}function s(e,t){const i="object"===typeof t.value&&t.value.closeConditional||r;return i(e)}function a(e,t,i){const n="function"===typeof i.value?i.value:i.value.handler;t._clickOutside.lastMousedownWasOutside&&o(e,t,i)&&setTimeout((()=>{s(e,i)&&n&&n(e)}),0)}function l(e,t){const i=(0,n.b)(e);t(document),"undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&t(i)}const c={inserted(e,t,i){const n=i=>a(i,e,t),r=i=>{e._clickOutside.lastMousedownWasOutside=o(i,e,t)};l(e,(e=>{e.addEventListener("click",n,!0),e.addEventListener("mousedown",r,!0)})),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!0}),e._clickOutside[i.context._uid]={onClick:n,onMousedown:r}},unbind(e,t,i){e._clickOutside&&(l(e,(t=>{var n;if(!t||!(null===(n=e._clickOutside)||void 0===n?void 0:n[i.context._uid]))return;const{onClick:r,onMousedown:o}=e._clickOutside[i.context._uid];t.removeEventListener("click",r,!0),t.removeEventListener("mousedown",o,!0)})),delete e._clickOutside[i.context._uid])}};t.A=c},46965:function(e,t,i){"use strict";function n(e,t,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const n=t.modifiers||{},o=t.value,{handler:s,options:a}="object"===typeof o?o:{handler:o,options:{}},l=new IntersectionObserver(((o=[],a)=>{var l;const c=null===(l=e._observe)||void 0===l?void 0:l[i.context._uid];if(!c)return;const u=o.some((e=>e.isIntersecting));!s||n.quiet&&!c.init||n.once&&!u&&!c.init||s(o,a,u),u&&n.once?r(e,t,i):c.init=!0}),a);e._observe=Object(e._observe),e._observe[i.context._uid]={init:!1,observer:l},l.observe(e)}function r(e,t,i){var n;const r=null===(n=e._observe)||void 0===n?void 0:n[i.context._uid];r&&(r.observer.unobserve(e),delete e._observe[i.context._uid])}const o={inserted:n,unbind:r};t.A=o},42136:function(e,t,i){"use strict";function n(e,t,i){const n=t.value,r=t.options||{passive:!0};window.addEventListener("resize",n,r),e._onResize=Object(e._onResize),e._onResize[i.context._uid]={callback:n,options:r},t.modifiers&&t.modifiers.quiet||n()}function r(e,t,i){var n;if(!(null===(n=e._onResize)||void 0===n?void 0:n[i.context._uid]))return;const{callback:r,options:o}=e._onResize[i.context._uid];window.removeEventListener("resize",r,o),delete e._onResize[i.context._uid]}const o={inserted:n,unbind:r};t.A=o},91723:function(e,t,i){"use strict";i.d(t,{A:function(){return C}});var n=i(66960);const r=80;function o(e,t){e.style.transform=t,e.style.webkitTransform=t}function s(e){return"TouchEvent"===e.constructor.name}function a(e){return"KeyboardEvent"===e.constructor.name}const l=(e,t,i={})=>{let n=0,r=0;if(!a(e)){const i=t.getBoundingClientRect(),o=s(e)?e.touches[e.touches.length-1]:e;n=o.clientX-i.left,r=o.clientY-i.top}let o=0,l=.3;t._ripple&&t._ripple.circle?(l=.15,o=t.clientWidth/2,o=i.center?o:o+Math.sqrt((n-o)**2+(r-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const c=(t.clientWidth-2*o)/2+"px",u=(t.clientHeight-2*o)/2+"px",h=i.center?c:n-o+"px",d=i.center?u:r-o+"px";return{radius:o,scale:l,x:h,y:d,centerX:c,centerY:u}},c={show(e,t,i={}){if(!t._ripple||!t._ripple.enabled)return;const n=document.createElement("span"),r=document.createElement("span");n.appendChild(r),n.className="v-ripple__container",i.class&&(n.className+=` ${i.class}`);const{radius:s,scale:a,x:c,y:u,centerX:h,centerY:d}=l(e,t,i),f=2*s+"px";r.className="v-ripple__animation",r.style.width=f,r.style.height=f,t.appendChild(n);const p=window.getComputedStyle(t);p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),o(r,`translate(${c}, ${u}) scale3d(${a},${a},${a})`),r.dataset.activated=String(performance.now()),setTimeout((()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),o(r,`translate(${h}, ${d}) scale3d(1,1,1)`)}),0)},hide(e){if(!e||!e._ripple||!e._ripple.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(0===t.length)return;const i=t[t.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const n=performance.now()-Number(i.dataset.activated),r=Math.max(250-n,0);setTimeout((()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout((()=>{var t;const n=e.getElementsByClassName("v-ripple__animation");1===n.length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),(null===(t=i.parentNode)||void 0===t?void 0:t.parentNode)===e&&e.removeChild(i.parentNode)}),300)}),r)}};function u(e){return"undefined"===typeof e||!!e}function h(e){const t={},i=e.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!e.rippleStop){if(e.rippleStop=!0,s(e))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(t.center=i._ripple.centered||a(e),i._ripple.class&&(t.class=i._ripple.class),s(e)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{c.show(e,i,t)},i._ripple.showTimer=window.setTimeout((()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)}),r)}else c.show(e,i,t)}}function d(e){const t=e.currentTarget;if(t&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),"touchend"===e.type&&t._ripple.showTimerCommit)return t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,void(t._ripple.showTimer=setTimeout((()=>{d(e)})));window.setTimeout((()=>{t._ripple&&(t._ripple.touched=!1)})),c.hide(t)}}function f(e){const t=e.currentTarget;t&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let p=!1;function g(e){p||e.keyCode!==n.uP.enter&&e.keyCode!==n.uP.space||(p=!0,h(e))}function v(e){p=!1,d(e)}function m(e){!0===p&&(p=!1,d(e))}function y(e,t,i){const n=u(t.value);n||c.hide(e),e._ripple=e._ripple||{},e._ripple.enabled=n;const r=t.value||{};r.center&&(e._ripple.centered=!0),r.class&&(e._ripple.class=t.value.class),r.circle&&(e._ripple.circle=r.circle),n&&!i?(e.addEventListener("touchstart",h,{passive:!0}),e.addEventListener("touchend",d,{passive:!0}),e.addEventListener("touchmove",f,{passive:!0}),e.addEventListener("touchcancel",d),e.addEventListener("mousedown",h),e.addEventListener("mouseup",d),e.addEventListener("mouseleave",d),e.addEventListener("keydown",g),e.addEventListener("keyup",v),e.addEventListener("blur",m),e.addEventListener("dragstart",d,{passive:!0})):!n&&i&&_(e)}function _(e){e.removeEventListener("mousedown",h),e.removeEventListener("touchstart",h),e.removeEventListener("touchend",d),e.removeEventListener("touchmove",f),e.removeEventListener("touchcancel",d),e.removeEventListener("mouseup",d),e.removeEventListener("mouseleave",d),e.removeEventListener("keydown",g),e.removeEventListener("keyup",v),e.removeEventListener("dragstart",d),e.removeEventListener("blur",m)}function x(e,t,i){y(e,t,!1)}function b(e){delete e._ripple,_(e)}function w(e,t){if(t.value===t.oldValue)return;const i=u(t.oldValue);y(e,t,i)}const S={bind:x,unbind:b,update:w};var C=S},70499:function(e,t,i){"use strict";var n=i(66960);const r=e=>{const{touchstartX:t,touchendX:i,touchstartY:n,touchendY:r}=e,o=.5,s=16;e.offsetX=i-t,e.offsetY=r-n,Math.abs(e.offsetY)t+s&&e.right(e)),Math.abs(e.offsetX)n+s&&e.down(e))};function o(e,t){const i=e.changedTouches[0];t.touchstartX=i.clientX,t.touchstartY=i.clientY,t.start&&t.start(Object.assign(e,t))}function s(e,t){const i=e.changedTouches[0];t.touchendX=i.clientX,t.touchendY=i.clientY,t.end&&t.end(Object.assign(e,t)),r(t)}function a(e,t){const i=e.changedTouches[0];t.touchmoveX=i.clientX,t.touchmoveY=i.clientY,t.move&&t.move(Object.assign(e,t))}function l(e){const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:e=>o(e,t),touchend:e=>s(e,t),touchmove:e=>a(e,t)}}function c(e,t,i){const r=t.value,o=r.parent?e.parentElement:e,s=r.options||{passive:!0};if(!o)return;const a=l(t.value);o._touchHandlers=Object(o._touchHandlers),o._touchHandlers[i.context._uid]=a,(0,n.HP)(a).forEach((e=>{o.addEventListener(e,a[e],s)}))}function u(e,t,i){const r=t.value.parent?e.parentElement:e;if(!r||!r._touchHandlers)return;const o=r._touchHandlers[i.context._uid];(0,n.HP)(o).forEach((e=>{r.removeEventListener(e,o[e])})),delete r._touchHandlers[i.context._uid]}const h={inserted:c,unbind:u};t.A=h},5453:function(e,t,i){"use strict";i.d(t,{A:function(){return ee}});var n=i(85471),r=i(65604);function o(e,t={}){if(o.installed)return;o.installed=!0,n["default"]!==e&&(0,r.yA)("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const i=t.components||{},s=t.directives||{};for(const n in s){const t=s[n];e.directive(n,t)}(function t(i){if(i){for(const n in i){const r=i[n];r&&!t(r.$_vuetify_subcomponents)&&e.component(n,r)}return!0}return!1})(i),e.$_vuetify_installed||(e.$_vuetify_installed=!0,e.mixin({beforeCreate(){const t=this.$options;t.vuetify?(t.vuetify.init(this,this.$ssrContext),this.$vuetify=e.observable(t.vuetify.framework)):this.$vuetify=t.parent&&t.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}var s={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}},loading:"Loading..."};const a={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:s},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};var l=i(66960),c=i(61609);class u extends c.k{constructor(e,t){super();const i=(0,l.D9)({},a),{userPreset:n}=t,{preset:o={},...s}=n;null!=o.preset&&(0,r.OP)("Global presets do not support the **preset** option, it can be safely omitted"),t.preset=(0,l.D9)((0,l.D9)(i,o),s)}}u.property="presets";class h extends c.k{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(e,t,i){this.application[t][e]=i,this.update(t)}unregister(e,t){null!=this.application[t][e]&&(delete this.application[t][e],this.update(t))}update(e){this[e]=Object.values(this.application[e]).reduce(((e,t)=>e+t),0)}}h.property="application";class d extends c.k{constructor(e){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:t,scrollBarWidth:i,thresholds:n}=e[d.property];this.mobileBreakpoint=t,this.scrollBarWidth=i,this.thresholds=n}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(e=!1){const t=e?0:this.getClientHeight(),i=e?0:this.getClientWidth(),n=i=this.thresholds.lg-this.scrollBarWidth;switch(this.height=t,this.width=i,this.xs=n,this.sm=r,this.md=o,this.lg=s,this.xl=a,this.xsOnly=n,this.smOnly=r,this.smAndDown=(n||r)&&!(o||s||a),this.smAndUp=!n&&(r||o||s||a),this.mdOnly=o,this.mdAndDown=(n||r||o)&&!(s||a),this.mdAndUp=!(n||r)&&(o||s||a),this.lgOnly=s,this.lgAndDown=(n||r||o||s)&&!a,this.lgAndUp=!(n||r||o)&&(s||a),this.xlOnly=a,!0){case n:this.name="xs";break;case r:this.name="sm";break;case o:this.name="md";break;case s:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=iString(t[+i])))}}E.property="lang";var D=i(63805);const O=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],P=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,R=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],B=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function N(e){const t=Array(3),i=P,n=O;for(let r=0;r<3;++r)t[r]=Math.round(255*(0,l.qE)(i(n[r][0]*e[0]+n[r][1]*e[1]+n[r][2]*e[2])));return(t[0]<<16)+(t[1]<<8)+(t[2]|0)}function z(e){const t=[0,0,0],i=B,n=R,r=i((e>>16&255)/255),o=i((e>>8&255)/255),s=i((255&e)/255);for(let a=0;a<3;++a)t[a]=n[a][0]*r+n[a][1]*o+n[a][2]*s;return t}const H=.20689655172413793,F=e=>e>H**3?Math.cbrt(e):e/(3*H**2)+4/29,V=e=>e>H?e**3:3*H**2*(e-4/29);function j(e){const t=F,i=t(e[1]);return[116*i-16,500*(t(e[0]/.95047)-i),200*(i-t(e[2]/1.08883))]}function $(e){const t=V,i=(e[0]+16)/116;return[.95047*t(i+e[1]/500),t(i),1.08883*t(i-e[2]/200)]}function W(e,t=!1,i=!0){const{anchor:n,...r}=e,o=Object.keys(r),s={};for(let a=0;a`\n.v-application .${e} {\n background-color: ${t} !important;\n border-color: ${t} !important;\n}\n.v-application .${e}--text {\n color: ${t} !important;\n caret-color: ${t} !important;\n}`,U=(e,t,i)=>{const[n,r]=t.split(/(\d)/,2);return`\n.v-application .${e}.${n}-${r} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${e}--text.text--${n}-${r} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},q=(e,t="base")=>`--v-${e}-${t}`,Z=(e,t="base")=>`var(${q(e,t)})`;function X(e,t=!1){const{anchor:i,...n}=e,r=Object.keys(n);if(!r.length)return"";let o="",s="";const a=t?Z("anchor"):i;s+=`.v-application a { color: ${a}; }`,t&&(o+=` ${q("anchor")}: ${i};\n`);for(let c=0;c0;--n)i[`lighten${n}`]=(0,D.y6)(K(t,n));for(let n=1;n<=4;++n)i[`darken${n}`]=(0,D.y6)(J(t,n));return i}function K(e,t){const i=j(z(e));return i[0]=i[0]+10*t,N($(i))}function J(e,t){const i=j(z(e));return i[0]=i[0]-10*t,N($(i))}class Q extends c.k{constructor(e){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:t,disable:i,options:n,themes:r}=e[Q.property];this.dark=Boolean(t),this.defaults=this.themes=r,this.options=n,i?this.disabled=!0:this.themes={dark:this.fillVariant(r.dark,!0),light:this.fillVariant(r.light,!1)}}set css(e){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=e)}set dark(e){const t=this.isDark;this.isDark=e,null!=t&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(e,t){this.disabled||(e.$meta?this.initVueMeta(e):t&&this.initSSR(t),this.initTheme(e))}setTheme(e,t){this.themes[e]=Object.assign(this.themes[e],t),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(e={},t){const i=this.themes[t?"dark":"light"];return Object.assign({},i,e)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(e){if(this.vueMeta=e.$meta(),this.isVueMeta23)return void e.$nextTick((()=>{this.applyVueMeta23()}));const t="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=e.$options[t]||{};e.$options[t]=()=>{i.style=i.style||[];const e=i.style.find((e=>"vuetify-theme-stylesheet"===e.id));return e?e.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}applyVueMeta23(){const{set:e}=this.vueMeta.addApp("vuetify");e({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(e){const t=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";e.head=e.head||"",e.head+=``}initTheme(e){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),e.$once("hook:created",(()=>{const t=n["default"].observable({themes:this.themes});this.unwatch=e.$watch((()=>t.themes),(()=>this.applyTheme()),{deep:!0})})),this.applyTheme())}get currentTheme(){const e=this.dark?"dark":"light";return this.themes[e]}get generatedStyles(){const e=this.parsedTheme,t=this.options||{};let i;return null!=t.themeCache&&(i=t.themeCache.get(e),null!=i)||(i=X(e,t.customProperties),null!=t.minifyTheme&&(i=t.minifyTheme(i)),null!=t.themeCache&&t.themeCache.set(e,i)),i}get parsedTheme(){return W(this.currentTheme||{},void 0,(0,l.LJ)(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}Q.property="theme";class ee{constructor(e={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=e,this.use(u),this.use(h),this.use(d),this.use(f.I),this.use(k),this.use(E),this.use(Q)}init(e,t){this.installed.forEach((i=>{const n=this.framework[i];n.framework=this.framework,n.init(e,t)})),this.framework.rtl=Boolean(this.preset.rtl)}use(e){const t=e.property;this.installed.includes(t)||(this.framework[t]=new e(this.preset,this),this.installed.push(t))}}ee.install=o,ee.installed=!1,ee.version="2.7.2",ee.config={silent:!1}},54765:function(e,t,i){"use strict";var n=i(85471);function r(e){return function(t,i){for(const n in i)Object.prototype.hasOwnProperty.call(t,n)||this.$delete(this.$data[e],n);for(const n in t)this.$set(this.$data[e],n,t[n])}}t.A=n["default"].extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",r("attrs$"),{immediate:!0}),this.$watch("$listeners",r("listeners$"),{immediate:!0})}})},42e3:function(e,t,i){"use strict";var n=i(65604),r=i(85471);t.A=r["default"].extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&(0,n.rq)("lazy",this)},methods:{showLazyContent(e){return this.hasContent&&e?e():[this.$createElement()]}}})},68767:function(e,t,i){"use strict";var n=i(85471),r=i(65604),o=i(63805);t.A=n["default"].extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(e,t={}){return"string"===typeof t.style?((0,r.yA)("style must be an object",this),t):"string"===typeof t.class?((0,r.yA)("class must be an object",this),t):((0,o.VP)(e)?t.style={...t.style,"background-color":`${e}`,"border-color":`${e}`}:e&&(t.class={...t.class,[e]:!0}),t)},setTextColor(e,t={}){if("string"===typeof t.style)return(0,r.yA)("style must be an object",this),t;if("string"===typeof t.class)return(0,r.yA)("class must be an object",this),t;if((0,o.VP)(e))t.style={...t.style,color:`${e}`,"caret-color":`${e}`};else if(e){const[i,n]=e.toString().trim().split(" ",2);t.class={...t.class,[i+"--text"]:!0},n&&(t.class["text--"+n]=!0)}return t}}})},45088:function(e,t,i){"use strict";var n=i(85471),r=i(66960);t.A=n["default"].extend({name:"comparable",props:{valueComparator:{type:Function,default:r.bD}}})},79623:function(e,t,i){"use strict";var n=i(3507);function r(e){const t=[];for(let i=0;i({isIntersecting:!1}),mounted(){n.A.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){n.A.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(t,i,n){if(this.isIntersecting=n,n)for(let o=0,s=e.onVisible.length;o100?100:parseFloat(e)}},render(e){const t={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?(0,u.Dg)(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return e("div",t,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),p=f,g=n["default"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:(0,u.$c)(this,"progress")||this.$createElement(p,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},21325:function(e,t,i){"use strict";var n=i(66960),r=i(85471);t.A=r["default"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const e={},t=(0,n.Dg)(this.height),i=(0,n.Dg)(this.minHeight),r=(0,n.Dg)(this.minWidth),o=(0,n.Dg)(this.maxHeight),s=(0,n.Dg)(this.maxWidth),a=(0,n.Dg)(this.width);return t&&(e.height=t),i&&(e.minHeight=i),r&&(e.minWidth=r),o&&(e.maxHeight=o),s&&(e.maxWidth=s),a&&(e.width=a),e}}})},90806:function(e,t,i){"use strict";var n=i(65604),r=i(85471);t.A=r["default"].extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:e=>!isNaN(Number(e))||["xs","sm","md","lg","xl"].includes(String(e))}},computed:{isMobile(){const{mobile:e,width:t,name:i,mobileBreakpoint:n}=this.$vuetify.breakpoint;if(n===this.mobileBreakpoint)return e;const r=parseInt(this.mobileBreakpoint,10),o=!isNaN(r);return o?t{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=(0,a.fl)(this.$el)),this.overlay.value=!0)})),!0},removeOverlay(e=!0){this.overlay&&((0,a.d7)(this.overlay.$el,"transitionend",(()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)})),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),e&&this.showScroll()},scrollListener(e){if("key"in e){if(["INPUT","TEXTAREA","SELECT"].includes(e.target.tagName)||e.target.isContentEditable)return;const t=[a.uP.up,a.uP.pageup],i=[a.uP.down,a.uP.pagedown];if(t.includes(e.keyCode))e.deltaY=-1;else{if(!i.includes(e.keyCode))return;e.deltaY=1}}(e.target===this.overlay||"keydown"!==e.type&&e.target===document.body||this.checkPath(e))&&e.preventDefault()},hasScrollbar(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return(["auto","scroll"].includes(t.overflowY)||"SELECT"===e.tagName)&&e.scrollHeight>e.clientHeight||["auto","scroll"].includes(t.overflowX)&&e.scrollWidth>e.clientWidth},shouldScroll(e,t){if(e.hasAttribute("data-app"))return!1;const i=t.shiftKey||t.deltaX?"x":"y",n="y"===i?t.deltaY:t.deltaX||t.deltaY;let r,o;"y"===i?(r=0===e.scrollTop,o=e.scrollTop+e.clientHeight===e.scrollHeight):(r=0===e.scrollLeft,o=e.scrollLeft+e.clientWidth===e.scrollWidth);const s=n<0,a=n>0;return!(r||!s)||(!(o||!a)||!(!r&&!o||!e.parentNode)&&this.shouldScroll(e.parentNode,t))},isInside(e,t){return e===t||null!==e&&e!==document.body&&this.isInside(e.parentNode,t)},checkPath(e){const t=(0,a.K9)(e);if("keydown"===e.type&&t[0]===document.body){const t=this.$refs.dialog,i=window.getSelection().anchorNode;return!(t&&this.hasScrollbar(t)&&this.isInside(i,t))||!this.shouldScroll(t,e)}for(let i=0;i(0,r.OP)(`The ${e} component must be used inside a ${t}`)}function s(e,t,i){const r=t&&i?{register:o(t,i),unregister:o(t,i)}:null;return n["default"].extend({name:"registrable-inject",inject:{[e]:{default:r}}})}function a(e,t=!1){return n["default"].extend({name:"registrable-provide",provide(){return{[e]:t?this:{register:this.register,unregister:this.unregister}}}})}},6256:function(e,t,i){"use strict";var n=i(85471);t.A=n["default"].extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const e=[],t="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)e.push("rounded-0");else if("string"===typeof t){const i=t.split(" ");for(const t of i)e.push(`rounded-${t}`)}else t&&e.push("rounded");return e.length>0?{[e.join(" ")]:!0}:{}}}})},78010:function(e,t,i){"use strict";var n=i(85471),r=i(91723),o=i(66960);t.A=n["default"].extend({name:"routable",directives:{Ripple:r.A},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const e={};return this.to||(this.activeClass&&(e[this.activeClass]=this.isActive),this.proxyClass&&(e[this.proxyClass]=this.isActive)),e},computedRipple(){var e;return null!==(e=this.ripple)&&void 0!==e?e:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let e,t=this.exact;const i={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(t="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let n=this.activeClass,r=this.exactActiveClass||n;this.proxyClass&&(n=`${n} ${this.proxyClass}`.trim(),r=`${r} ${this.proxyClass}`.trim()),e=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:t,exactPath:this.exactPath,activeClass:n,exactActiveClass:r,append:this.append,replace:this.replace})}else e=(this.href?"a":this.tag)||"div","a"===e&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:e,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const e=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),t=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||e,i="_vnode.data.class."+(this.exact?t:e);this.$nextTick((()=>{!(0,o.no)(this.$refs.link,i)===this.isActive&&this.toggle()}))},toggle(){this.isActive=!this.isActive}}})},21713:function(e,t,i){"use strict";var n=i(85471);t.A=n["default"].extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}})},86543:function(e,t,i){"use strict";var n=i(85471);t.A=n["default"].extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame((()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0}))}})},53661:function(e,t,i){"use strict";i.d(t,{H:function(){return o}});var n=i(85471);const r=n["default"].extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(e,t){e!==t&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});function o(e){const t={...e.props,...e.injections},i=r.options.computed.isDark.call(t);return r.options.computed.themeClasses.call({isDark:i})}t.A=r},39748:function(e,t,i){"use strict";i.d(t,{P:function(){return r}});var n=i(85471);function r(e="value",t="input"){return n["default"].extend({name:"toggleable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{isActive:!!this[e]}},watch:{[e](e){this.isActive=!!e},isActive(i){!!i!==this[e]&&this.$emit(t,i)}}})}const o=r();t.A=o},37863:function(e,t,i){"use strict";var n=i(68767),r=i(53661),o=i(98652),s=i(66960),a=i(65604),l=i(3507);const c=(0,l.A)(n.A,(0,o.W)("form"),r.A);t.A=c.extend({name:"validatable",props:{disabled:{type:Boolean,default:null},error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",e)}},isDisabled(){var e;return null!==(e=this.disabled)&&void 0!==e?e:!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){var e;return null!==(e=this.readonly)&&void 0!==e?e:!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(e,t){(0,s.bD)(e,t)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(e){e||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout((()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()}),0)},hasError(e){this.shouldValidate&&this.$emit("update:error",e)},value(e){this.lazyValue=e}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(e){return e?Array.isArray(e)?e:[e]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(e=!1,t){const i=[];t=t||this.internalValue,e&&(this.hasInput=this.hasFocused=!0);for(let n=0;ne,s=e=>e**2,a=e=>e*(2-e),l=e=>e<.5?2*e**2:(4-2*e)*e-1,c=e=>e**3,u=e=>--e**3+1,h=e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,d=e=>e**4,f=e=>1- --e**4,p=e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,g=e=>e**5,v=e=>1+--e**5,m=e=>e<.5?16*e**5:1+16*--e**5;function y(e){if("number"===typeof e)return e;let t=b(e);if(!t)throw"string"===typeof e?new Error(`Target element "${e}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${x(e)} instead.`);let i=0;while(t)i+=t.offsetTop,t=t.offsetParent;return i}function _(e){const t=b(e);if(t)return t;throw"string"===typeof e?new Error(`Container element "${e}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${x(e)} instead.`)}function x(e){return null==e?e:e.constructor.name}function b(e){return"string"===typeof e?document.querySelector(e):e&&e._isVue?e.$el:e instanceof HTMLElement?e:null}function w(e,t={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...t},r=_(i.container);if(i.appOffset&&w.framework.application){const e=r.classList.contains("v-navigation-drawer"),t=r.classList.contains("v-navigation-drawer--clipped"),{bar:n,top:o}=w.framework.application;i.offset+=n,e&&!t||(i.offset+=o)}const o=performance.now();let s;s="number"===typeof e?y(e)-i.offset:y(e)-y(r)-i.offset;const a=r.scrollTop;if(s===a)return Promise.resolve(s);const l="function"===typeof i.easing?i.easing:n[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise((e=>requestAnimationFrame((function t(n){const c=n-o,u=Math.abs(i.duration?Math.min(c/i.duration,1):1);r.scrollTop=Math.floor(a+(s-a)*l(u));const h=r===document.body?document.documentElement.clientHeight:r.clientHeight,d=h+r.scrollTop>=r.scrollHeight;if(1===u||s>r.scrollTop&&d)return e(s);requestAnimationFrame(t)}))))}w.framework={},w.init=()=>{};class S extends r.k{constructor(){return super(),w}}S.property="goTo"},61609:function(e,t,i){"use strict";i.d(t,{k:function(){return n}});class n{constructor(){this.framework={}}init(e,t){}}},63805:function(e,t,i){"use strict";i.d(t,{E8:function(){return o},VP:function(){return r},si:function(){return a},y6:function(){return s}});var n=i(65604);function r(e){return!!e&&!!e.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function o(e){let t;if("number"===typeof e)t=e;else{if("string"!==typeof e)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==e?e:e.constructor.name} instead`);{let i="#"===e[0]?e.substring(1):e;3===i.length&&(i=i.split("").map((e=>e+e)).join("")),6!==i.length&&(0,n.OP)(`'${e}' is not a valid rgb color`),t=parseInt(i,16)}}return t<0?((0,n.OP)(`Colors cannot be negative: '${e}'`),t=0):(t>16777215||isNaN(t))&&((0,n.OP)(`'${e}' is not a valid rgb color`),t=16777215),t}function s(e){let t=e.toString(16);return t.length<6&&(t="0".repeat(6-t.length)+t),"#"+t}function a(e){return s(o(e))}},65604:function(e,t,i){"use strict";i.d(t,{CI:function(){return a},OP:function(){return o},q4:function(){return l},rq:function(){return c},yA:function(){return s}});var n=i(5453);function r(e,t,i){if(!n.A.config.silent){if(i&&(t={_isVue:!0,$parent:i,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return;t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?f(t):"")}}function o(e,t,i){const n=r(e,t,i);null!=n&&console.warn(n)}function s(e,t,i){const n=r(e,t,i);null!=n&&console.error(n)}function a(e,t,i,n){o(`[UPGRADE] '${e}' is deprecated, use '${t}' instead.`,i,n)}function l(e,t,i,n){s(`[BREAKING] '${e}' has been removed, use '${t}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,n)}function c(e,t,i){o(`[REMOVED] '${e}' has been removed. You can safely omit it.`,t,i)}const u=/(?:^|[-_])(\w)/g,h=e=>e.replace(u,(e=>e.toUpperCase())).replace(/[-_]/g,"");function d(e,t){if(e.$root===e)return"";const i="function"===typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{};let n=i.name||i._componentTag;const r=i.__file;if(!n&&r){const e=r.match(/([^/\\]+)\.vue$/);n=e&&e[1]}return(n?`<${h(n)}>`:"")+(r&&!1!==t?` at ${r}`:"")}function f(e){if(e._isVue&&e.$parent){const t=[];let i=0;while(e){if(t.length>0){const n=t[t.length-1];if(n.constructor===e.constructor){i++,e=e.$parent;continue}i>0&&(t[t.length-1]=[n,i],i=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(((e,t)=>`${0===t?"---\x3e ":" ".repeat(5+2*t)}${Array.isArray(e)?`${d(e[0])}... (${e[1]} recursive calls)`:d(e)}`)).join("\n")}return`\n\n(found in ${d(e)})`}},94845:function(e,t,i){"use strict";function n(e){if("function"!==typeof e.getRootNode){while(e.parentNode)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}i.d(t,{b:function(){return n}})},66960:function(e,t,i){"use strict";i.d(t,{$c:function(){return D},Az:function(){return C},BN:function(){return A},CD:function(){return P},D9:function(){return R},Dg:function(){return g},Ds:function(){return T},Gn:function(){return r},HP:function(){return x},JL:function(){return E},K9:function(){return N},LJ:function(){return l},Ls:function(){return M},P4:function(){return a},PT:function(){return w},R2:function(){return B},Sd:function(){return d},TD:function(){return h},Zb:function(){return S},bD:function(){return c},d7:function(){return o},fF:function(){return p},fl:function(){return f},fo:function(){return I},g8:function(){return _},kW:function(){return v},kv:function(){return k},nF:function(){return L},no:function(){return u},qE:function(){return O},uP:function(){return y}});var n=i(85471);function r(e,t="div",i){return n["default"].extend({name:i||e.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:t}},render(t,{data:i,props:n,children:r}){return i.staticClass=`${e} ${i.staticClass||""}`.trim(),t(n.tag,i,r)}})}function o(e,t,i,n=!1){const r=o=>{i(o),e.removeEventListener(t,r,n)};e.addEventListener(t,r,n)}let s=!1;try{if("undefined"!==typeof window){const e=Object.defineProperty({},"passive",{get:()=>{s=!0}});window.addEventListener("testListener",e,e),window.removeEventListener("testListener",e,e)}}catch(z){console.warn(z)}function a(e,t,i,n){e.addEventListener(t,i,!!s&&n)}function l(e,t,i){const n=t.length-1;if(n<0)return void 0===e?i:e;for(let r=0;rc(e[i],t[i])))}function u(e,t,i){return null!=e&&t&&"string"===typeof t?void 0!==e[t]?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),l(e,t.split("."),i)):i}function h(e,t,i){if(null==t)return void 0===e?i:e;if(e!==Object(e))return void 0===i?e:i;if("string"===typeof t)return u(e,t,i);if(Array.isArray(t))return l(e,t,i);if("function"!==typeof t)return i;const n=t(e,i);return"undefined"===typeof n?i:n}function d(e){return Array.from({length:e},((e,t)=>t))}function f(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=+window.getComputedStyle(e).getPropertyValue("z-index");return t||f(e.parentNode)}function p(e,t){const i={};for(let n=0;ne.replace(b,((e,t)=>t?t.toUpperCase():""));function S(e){return e.charAt(0).toUpperCase()+e.slice(1)}function C(e,t,i){const n=t[0],r=[];let o;for(let s=0;s{for(let s=0;s(e||"").toString().toLocaleLowerCase())),l!==c)return isNaN(l)||isNaN(c)?o.compare(l,c):Number(l)-Number(c)}}return 0}))}function k(e,t,i){return null!=e&&null!=t&&"boolean"!==typeof e&&-1!==e.toString().toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}function T(e,t){return t?(t=t.toString().toLowerCase(),""===t.trim()?e:e.filter((e=>Object.keys(e).some((i=>k(u(e,i),t,e)))))):e}function I(e,t,i){return e.$slots.hasOwnProperty(t)&&e.$scopedSlots.hasOwnProperty(t)&&e.$scopedSlots[t].name?i?"v-slot":"scoped":e.$slots.hasOwnProperty(t)?"normal":e.$scopedSlots.hasOwnProperty(t)?"scoped":void 0}function L(e,t){let i=!1;return(...n)=>{if(!i)return i=!0,setTimeout((()=>i=!1),t),e(...n)}}function E(e,t){return Object.keys(t).filter((t=>t.startsWith(e))).reduce(((i,n)=>(i[n.replace(e,"")]=t[n],i)),{})}function D(e,t="default",i,n=!1){const r=v(t);return e.$scopedSlots.hasOwnProperty(t)?e.$scopedSlots[t](i instanceof Function?i():i):e.$scopedSlots.hasOwnProperty(r)?e.$scopedSlots[r](i instanceof Function?i():i):!e.$slots.hasOwnProperty(t)||i&&!n?!e.$slots.hasOwnProperty(r)||i&&!n?void 0:e.$slots[r]:e.$slots[t]}function O(e,t=0,i=1){return Math.max(t,Math.min(i,e))}function P(e){return e?Object.keys(e).reduce(((t,i)=>(t[w(i)]=e[i],t)),{}):{}}function R(e={},t={}){for(const i in t){const n=e[i],r=t[i];m(n)&&m(r)?e[i]=R(n,r):e[i]=r}return e}function B(e,t){return Array(e).fill(t)}function N(e){if(e.composedPath)return e.composedPath();const t=[];let i=e.target;while(i){if(t.push(i),"HTML"===i.tagName)return t.push(document),t.push(window),t;i=i.parentElement}return t}},64961:function(e,t,i){"use strict";i.d(t,{Ay:function(){return s},Zq:function(){return a},wf:function(){return c},zP:function(){return l}});var n=i(66960);const r={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function o(e){const t={};for(const i of e.split(r.styleList)){let[e,o]=i.split(r.styleProp);e=e.trim(),e&&("string"===typeof o&&(o=o.trim()),t[(0,n.PT)(e)]=o)}return t}function s(){const e={};let t,i=arguments.length;while(i--)for(t of Object.keys(arguments[i]))switch(t){case"class":case"directives":arguments[i][t]&&(e[t]=l(e[t],arguments[i][t]));break;case"style":arguments[i][t]&&(e[t]=a(e[t],arguments[i][t]));break;case"staticClass":if(!arguments[i][t])break;void 0===e[t]&&(e[t]=""),e[t]&&(e[t]+=" "),e[t]+=arguments[i][t].trim();break;case"on":case"nativeOn":arguments[i][t]&&(e[t]=c(e[t],arguments[i][t]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][t])break;e[t]||(e[t]={}),e[t]={...arguments[i][t],...e[t]};break;default:e[t]||(e[t]=arguments[i][t])}return e}function a(e,t){return e?t?(e=(0,n.BN)("string"===typeof e?o(e):e),e.concat("string"===typeof t?o(t):t)):e:t}function l(e,t){return t?e&&e?(0,n.BN)(e).concat(t):t:e}function c(...e){if(!e[0])return e[1];if(!e[1])return e[0];const t={};for(let i=2;i--;){const n=e[i];for(const e in n)n[e]&&(t[e]?t[e]=[].concat(n[e],t[e]):t[e]=n[e])}return t}},3507:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(85471);function r(...e){return n["default"].extend({mixins:e})}},40173:function(e,t){"use strict"; /*! * vue-router v3.5.2 * (c) 2021 Evan You * @license MIT */function i(e,t){0}function n(e,t){for(var i in t)e[i]=t[i];return e}var r=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},s=/%2C/g,a=function(e){return encodeURIComponent(e).replace(r,o).replace(s,",")};function l(e){try{return decodeURIComponent(e)}catch(t){0}return e}function c(e,t,i){void 0===t&&(t={});var n,r=i||h;try{n=r(e||"")}catch(a){n={}}for(var o in t){var s=t[o];n[o]=Array.isArray(s)?s.map(u):u(s)}return n}var u=function(e){return null==e||"object"===typeof e?e:String(e)};function h(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var i=e.replace(/\+/g," ").split("="),n=l(i.shift()),r=i.length>0?l(i.join("=")):null;void 0===t[n]?t[n]=r:Array.isArray(t[n])?t[n].push(r):t[n]=[t[n],r]})),t):t}function d(e){var t=e?Object.keys(e).map((function(t){var i=e[t];if(void 0===i)return"";if(null===i)return a(t);if(Array.isArray(i)){var n=[];return i.forEach((function(e){void 0!==e&&(null===e?n.push(a(t)):n.push(a(t)+"="+a(e)))})),n.join("&")}return a(t)+"="+a(i)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var f=/\/?$/;function p(e,t,i,n){var r=n&&n.options.stringifyQuery,o=t.query||{};try{o=g(o)}catch(a){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:y(t,r),matched:e?m(e):[]};return i&&(s.redirectedFrom=y(i,r)),Object.freeze(s)}function g(e){if(Array.isArray(e))return e.map(g);if(e&&"object"===typeof e){var t={};for(var i in e)t[i]=g(e[i]);return t}return e}var v=p(null,{path:"/"});function m(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function y(e,t){var i=e.path,n=e.query;void 0===n&&(n={});var r=e.hash;void 0===r&&(r="");var o=t||d;return(i||"/")+o(n)+r}function _(e,t,i){return t===v?e===t:!!t&&(e.path&&t.path?e.path.replace(f,"")===t.path.replace(f,"")&&(i||e.hash===t.hash&&x(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(i||e.hash===t.hash&&x(e.query,t.query)&&x(e.params,t.params))))}function x(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var i=Object.keys(e).sort(),n=Object.keys(t).sort();return i.length===n.length&&i.every((function(i,r){var o=e[i],s=n[r];if(s!==i)return!1;var a=t[i];return null==o||null==a?o===a:"object"===typeof o&&"object"===typeof a?x(o,a):String(o)===String(a)}))}function b(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&w(e.query,t.query)}function w(e,t){for(var i in t)if(!(i in e))return!1;return!0}function S(e){for(var t=0;t=0&&(t=e.slice(n),e=e.slice(0,n));var r=e.indexOf("?");return r>=0&&(i=e.slice(r+1),e=e.slice(0,r)),{path:e,query:i,hash:t}}function I(e){return e.replace(/\/\//g,"/")}var L=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},E=Y,D=N,O=z,P=V,R=X,B=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(e,t){var i,n=[],r=0,o=0,s="",a=t&&t.delimiter||"/";while(null!=(i=B.exec(e))){var l=i[0],c=i[1],u=i.index;if(s+=e.slice(o,u),o=u+l.length,c)s+=c[1];else{var h=e[o],d=i[2],f=i[3],p=i[4],g=i[5],v=i[6],m=i[7];s&&(n.push(s),s="");var y=null!=d&&null!=h&&h!==d,_="+"===v||"*"===v,x="?"===v||"*"===v,b=i[2]||a,w=p||g;n.push({name:f||r++,prefix:d||"",delimiter:b,optional:x,repeat:_,partial:y,asterisk:!!m,pattern:w?$(w):m?".*":"[^"+j(b)+"]+?"})}}return o1||!C.length)return 0===C.length?e():e("span",{},C)}if("a"===this.tag)S.on=w,S.attrs={href:l,"aria-current":y};else{var A=se(this.$slots.default);if(A){A.isStatic=!1;var M=A.data=n({},A.data);for(var k in M.on=M.on||{},M.on){var T=M.on[k];k in w&&(M.on[k]=Array.isArray(T)?T:[T])}for(var I in w)I in M.on?M.on[I].push(w[I]):M.on[I]=x;var L=A.data.attrs=n({},A.data.attrs);L.href=l,L["aria-current"]=y}else S.on=w}return e(this.tag,S,this.$slots.default)}};function oe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function se(e){if(e)for(var t,i=0;i-1&&(a.params[h]=i.params[h]);return a.path=J(c.path,a.params,'named route "'+l+'"'),d(c,a,s)}if(a.path){a.params={};for(var f=0;f=e.length?i():e[r]?t(e[r],(function(){n(r+1)})):n(r+1)};n(0)}var ze={redirected:2,aborted:4,cancelled:8,duplicated:16};function He(e,t){return $e(e,t,ze.redirected,'Redirected when going from "'+e.fullPath+'" to "'+Ge(t)+'" via a navigation guard.')}function Fe(e,t){var i=$e(e,t,ze.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return i.name="NavigationDuplicated",i}function Ve(e,t){return $e(e,t,ze.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function je(e,t){return $e(e,t,ze.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function $e(e,t,i,n){var r=new Error(n);return r._isRouter=!0,r.from=e,r.to=t,r.type=i,r}var We=["params","query","hash"];function Ge(e){if("string"===typeof e)return e;if("path"in e)return e.path;var t={};return We.forEach((function(i){i in e&&(t[i]=e[i])})),JSON.stringify(t,null,2)}function Ue(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function qe(e,t){return Ue(e)&&e._isRouter&&(null==t||e.type===t)}function Ze(e){return function(t,i,n){var r=!1,o=0,s=null;Xe(e,(function(e,t,i,a){if("function"===typeof e&&void 0===e.cid){r=!0,o++;var l,c=Qe((function(t){Je(t)&&(t=t.default),e.resolved="function"===typeof t?t:ee.extend(t),i.components[a]=t,o--,o<=0&&n()})),u=Qe((function(e){var t="Failed to resolve async component "+a+": "+e;s||(s=Ue(e)?e:new Error(t),n(s))}));try{l=e(c,u)}catch(d){u(d)}if(l)if("function"===typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"===typeof h.then&&h.then(c,u)}}})),r||n()}}function Xe(e,t){return Ye(e.map((function(e){return Object.keys(e.components).map((function(i){return t(e.components[i],e.instances[i],e,i)}))})))}function Ye(e){return Array.prototype.concat.apply([],e)}var Ke="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Je(e){return e.__esModule||Ke&&"Module"===e[Symbol.toStringTag]}function Qe(e){var t=!1;return function(){var i=[],n=arguments.length;while(n--)i[n]=arguments[n];if(!t)return t=!0,e.apply(this,i)}}var et=function(e,t){this.router=e,this.base=tt(t),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function tt(e){if(!e)if(le){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function it(e,t){var i,n=Math.max(e.length,t.length);for(i=0;i0)){var t=this.router,i=t.options.scrollBehavior,n=Pe&&i;n&&this.listeners.push(we());var r=function(){var i=e.current,r=ht(e.base);e.current===v&&r===e._startLocation||e.transitionTo(r,(function(e){n&&Se(t,e,i,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,i){var n=this,r=this,o=r.current;this.transitionTo(e,(function(e){Re(I(n.base+e.fullPath)),Se(n.router,e,o,!1),t&&t(e)}),i)},t.prototype.replace=function(e,t,i){var n=this,r=this,o=r.current;this.transitionTo(e,(function(e){Be(I(n.base+e.fullPath)),Se(n.router,e,o,!1),t&&t(e)}),i)},t.prototype.ensureURL=function(e){if(ht(this.base)!==this.current.fullPath){var t=I(this.base+this.current.fullPath);e?Re(t):Be(t)}},t.prototype.getCurrentLocation=function(){return ht(this.base)},t}(et);function ht(e){var t=window.location.pathname,i=t.toLowerCase(),n=e.toLowerCase();return!e||i!==n&&0!==i.indexOf(I(n+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var dt=function(e){function t(t,i,n){e.call(this,t,i),n&&ft(this.base)||pt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,i=t.options.scrollBehavior,n=Pe&&i;n&&this.listeners.push(we());var r=function(){var t=e.current;pt()&&e.transitionTo(gt(),(function(i){n&&Se(e.router,i,t,!0),Pe||yt(i.fullPath)}))},o=Pe?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},t.prototype.push=function(e,t,i){var n=this,r=this,o=r.current;this.transitionTo(e,(function(e){mt(e.fullPath),Se(n.router,e,o,!1),t&&t(e)}),i)},t.prototype.replace=function(e,t,i){var n=this,r=this,o=r.current;this.transitionTo(e,(function(e){yt(e.fullPath),Se(n.router,e,o,!1),t&&t(e)}),i)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;gt()!==t&&(e?mt(t):yt(t))},t.prototype.getCurrentLocation=function(){return gt()},t}(et);function ft(e){var t=ht(e);if(!/^\/#/.test(t))return window.location.replace(I(e+"/#"+t)),!0}function pt(){var e=gt();return"/"===e.charAt(0)||(yt("/"+e),!1)}function gt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function vt(e){var t=window.location.href,i=t.indexOf("#"),n=i>=0?t.slice(0,i):t;return n+"#"+e}function mt(e){Pe?Re(vt(e)):window.location.hash=e}function yt(e){Pe?Be(vt(e)):window.location.replace(vt(e))}var _t=function(e){function t(t,i){e.call(this,t,i),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,i){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)}),i)},t.prototype.replace=function(e,t,i){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)}),i)},t.prototype.go=function(e){var t=this,i=this.index+e;if(!(i<0||i>=this.stack.length)){var n=this.stack[i];this.confirmTransition(n,(function(){var e=t.current;t.index=i,t.updateRoute(n),t.router.afterHooks.forEach((function(t){t&&t(n,e)}))}),(function(e){qe(e,ze.duplicated)&&(t.index=i)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(et),xt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=fe(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Pe&&!1!==e.fallback,this.fallback&&(t="hash"),le||(t="abstract"),this.mode=t,t){case"history":this.history=new ut(this,e.base);break;case"hash":this.history=new dt(this,e.base,this.fallback);break;case"abstract":this.history=new _t(this,e.base);break;default:0}},bt={currentRoute:{configurable:!0}};function wt(e,t){return e.push(t),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function St(e,t,i){var n="hash"===i?"#"+t:t;return e?I(e+"/"+n):n}xt.prototype.match=function(e,t,i){return this.matcher.match(e,t,i)},bt.currentRoute.get=function(){return this.history&&this.history.current},xt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var i=t.apps.indexOf(e);i>-1&&t.apps.splice(i,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var i=this.history;if(i instanceof ut||i instanceof dt){var n=function(e){var n=i.current,r=t.options.scrollBehavior,o=Pe&&r;o&&"fullPath"in e&&Se(t,e,n,!1)},r=function(e){i.setupListeners(),n(e)};i.transitionTo(i.getCurrentLocation(),r,r)}i.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},xt.prototype.beforeEach=function(e){return wt(this.beforeHooks,e)},xt.prototype.beforeResolve=function(e){return wt(this.resolveHooks,e)},xt.prototype.afterEach=function(e){return wt(this.afterHooks,e)},xt.prototype.onReady=function(e,t){this.history.onReady(e,t)},xt.prototype.onError=function(e){this.history.onError(e)},xt.prototype.push=function(e,t,i){var n=this;if(!t&&!i&&"undefined"!==typeof Promise)return new Promise((function(t,i){n.history.push(e,t,i)}));this.history.push(e,t,i)},xt.prototype.replace=function(e,t,i){var n=this;if(!t&&!i&&"undefined"!==typeof Promise)return new Promise((function(t,i){n.history.replace(e,t,i)}));this.history.replace(e,t,i)},xt.prototype.go=function(e){this.history.go(e)},xt.prototype.back=function(){this.go(-1)},xt.prototype.forward=function(){this.go(1)},xt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},xt.prototype.resolve=function(e,t,i){t=t||this.history.current;var n=Q(e,t,i,this),r=this.match(n,t),o=r.redirectedFrom||r.fullPath,s=this.history.base,a=St(s,o,this.mode);return{location:n,route:r,href:a,normalizedTo:n,resolved:r}},xt.prototype.getRoutes=function(){return this.matcher.getRoutes()},xt.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},xt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xt.prototype,bt),xt.install=ae,xt.version="3.5.2",xt.isNavigationFailure=qe,xt.NavigationFailureType=ze,xt.START_LOCATION=v,le&&window.Vue&&window.Vue.use(xt),t.A=xt},28721:function(e,t,i){(function(t,n){e.exports=n(i(85471))})("undefined"!==typeof self&&self,(function(e){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s="fb15")}({"00b4":function(e,t,i){"use strict";i("ac1f");var n=i("23e7"),r=i("da84"),o=i("c65b"),s=i("e330"),a=i("1626"),l=i("861d"),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=r.Error,h=s(/./.test);n({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!a(t))return h(this,e);var i=o(t,this,e);if(null!==i&&!l(i))throw new u("RegExp exec method returned something other than an Object or null");return!!i}})},"00ee":function(e,t,i){var n=i("b622"),r=n("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"01b4":function(e,t){var i=function(){this.head=null,this.tail=null};i.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=i},"0366":function(e,t,i){var n=i("e330"),r=i("59ed"),o=i("40d5"),s=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,i){var n=i("342f"),r=n.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"0538":function(e,t,i){"use strict";var n=i("da84"),r=i("e330"),o=i("59ed"),s=i("861d"),a=i("1a2d"),l=i("f36a"),c=i("40d5"),u=n.Function,h=r([].concat),d=r([].join),f={},p=function(e,t,i){if(!a(f,t)){for(var n=[],r=0;r]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,h,d){var f=i+e.length,p=n.length,g=u;return void 0!==h&&(h=r(h),g=c),a(d,g,(function(r,a){var c;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,f);case"<":c=h[l(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var d=o(u/10);return 0===d?r:d<=p?void 0===n[d-1]?s(a,1):n[d-1]+s(a,1):r}c=n[u-1]}return void 0===c?"":c}))}},"0cfb":function(e,t,i){var n=i("83ab"),r=i("d039"),o=i("cc12");e.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(e,t,i){var n=i("da84"),r=n.String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"107c":function(e,t,i){var n=i("d039"),r=i("da84"),o=r.RegExp;e.exports=n((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1148:function(e,t,i){"use strict";var n=i("da84"),r=i("5926"),o=i("577e"),s=i("1d80"),a=n.RangeError;e.exports=function(e){var t=o(s(this)),i="",n=r(e);if(n<0||n==1/0)throw a("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(i+=t);return i}},1276:function(e,t,i){"use strict";var n=i("2ba4"),r=i("c65b"),o=i("e330"),s=i("d784"),a=i("44e7"),l=i("825a"),c=i("1d80"),u=i("4840"),h=i("8aa5"),d=i("50c4"),f=i("577e"),p=i("dc4a"),g=i("4dae"),v=i("14c3"),m=i("9263"),y=i("9f7f"),_=i("d039"),x=y.UNSUPPORTED_Y,b=4294967295,w=Math.min,S=[].push,C=o(/./.exec),A=o(S),M=o("".slice),k=!_((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var i="ab".split(e);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));s("split",(function(e,t,i){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,i){var o=f(c(this)),s=void 0===i?b:i>>>0;if(0===s)return[];if(void 0===e)return[o];if(!a(e))return r(t,o,e,s);var l,u,h,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,y=new RegExp(e.source,p+"g");while(l=r(m,y,o)){if(u=y.lastIndex,u>v&&(A(d,M(o,v,l.index)),l.length>1&&l.index=s))break;y.lastIndex===l.index&&y.lastIndex++}return v===o.length?!h&&C(y,"")||A(d,""):A(d,M(o,v)),d.length>s?g(d,0,s):d}:"0".split(void 0,0).length?function(e,i){return void 0===e&&0===i?[]:r(t,this,e,i)}:t,[function(t,i){var n=c(this),s=void 0==t?void 0:p(t,e);return s?r(s,t,n,i):r(o,f(n),t,i)},function(e,n){var r=l(this),s=f(e),a=i(o,r,s,n,o!==t);if(a.done)return a.value;var c=u(r,RegExp),p=r.unicode,g=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(x?"g":"y"),m=new c(x?"^(?:"+r.source+")":r,g),y=void 0===n?b:n>>>0;if(0===y)return[];if(0===s.length)return null===v(m,s)?[s]:[];var _=0,S=0,C=[];while(S1?arguments[1]:void 0)}},"19aa":function(e,t,i){var n=i("da84"),r=i("3a9b"),o=n.TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},"1a2d":function(e,t,i){var n=i("e330"),r=i("7b0b"),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},"1be4":function(e,t,i){var n=i("d066");e.exports=n("document","documentElement")},"1c7e":function(e,t,i){var n=i("b622"),r=n("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var i=!1;try{var n={};n[r]=function(){return{next:function(){return{done:i=!0}}}},e(n)}catch(l){}return i}},"1cdc":function(e,t,i){var n=i("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d80":function(e,t,i){var n=i("da84"),r=n.TypeError;e.exports=function(e){if(void 0==e)throw r("Can't call method on "+e);return e}},"1dde":function(e,t,i){var n=i("d039"),r=i("b622"),o=i("2d00"),s=r("species");e.exports=function(e){return o>=51||!n((function(){var t=[],i=t.constructor={};return i[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,i){var n=i("da84"),r=i("0366"),o=i("c65b"),s=i("825a"),a=i("0d51"),l=i("e95a"),c=i("07fa"),u=i("3a9b"),h=i("9a1f"),d=i("35a1"),f=i("2a62"),p=n.TypeError,g=function(e,t){this.stopped=e,this.result=t},v=g.prototype;e.exports=function(e,t,i){var n,m,y,_,x,b,w,S=i&&i.that,C=!(!i||!i.AS_ENTRIES),A=!(!i||!i.IS_ITERATOR),M=!(!i||!i.INTERRUPTED),k=r(t,S),T=function(e){return n&&f(n,"normal",e),new g(!0,e)},I=function(e){return C?(s(e),M?k(e[0],e[1],T):k(e[0],e[1])):M?k(e,T):k(e)};if(A)n=e;else{if(m=d(e),!m)throw p(a(e)+" is not iterable");if(l(m)){for(y=0,_=c(e);_>y;y++)if(x=I(e[y]),x&&u(v,x))return x;return new g(!1)}n=h(e,m)}b=n.next;while(!(w=o(b,n)).done){try{x=I(w.value)}catch(L){f(n,"throw",L)}if("object"==typeof x&&x&&u(v,x))return x}return new g(!1)}},"23cb":function(e,t,i){var n=i("5926"),r=Math.max,o=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):o(i,t)}},"23e7":function(e,t,i){var n=i("da84"),r=i("06cf").f,o=i("9112"),s=i("6eeb"),a=i("ce4e"),l=i("e893"),c=i("94ca");e.exports=function(e,t){var i,u,h,d,f,p,g=e.target,v=e.global,m=e.stat;if(u=v?n:m?n[g]||a(g,{}):(n[g]||{}).prototype,u)for(h in t){if(f=t[h],e.noTargetGet?(p=r(u,h),d=p&&p.value):d=u[h],i=c(v?h:g+(m?".":"#")+h,e.forced),!i&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),s(u,h,f,e)}}},"241c":function(e,t,i){var n=i("ca84"),r=i("7839"),o=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"25f0":function(e,t,i){"use strict";var n=i("e330"),r=i("5e77").PROPER,o=i("6eeb"),s=i("825a"),a=i("3a9b"),l=i("577e"),c=i("d039"),u=i("ad6d"),h="toString",d=RegExp.prototype,f=d[h],p=n(u),g=c((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),v=r&&f.name!=h;(g||v)&&o(RegExp.prototype,h,(function(){var e=s(this),t=l(e.source),i=e.flags,n=l(void 0===i&&a(d,e)&&!("flags"in d)?p(e):i);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,i){"use strict";var n=i("d066"),r=i("9bf2"),o=i("b622"),s=i("83ab"),a=o("species");e.exports=function(e){var t=n(e),i=r.f;s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},"2a62":function(e,t,i){var n=i("c65b"),r=i("825a"),o=i("dc4a");e.exports=function(e,t,i){var s,a;r(e);try{if(s=o(e,"return"),!s){if("throw"===t)throw i;return i}s=n(s,e)}catch(l){a=!0,s=l}if("throw"===t)throw i;if(a)throw s;return r(s),i}},"2ba4":function(e,t,i){var n=i("40d5"),r=Function.prototype,o=r.apply,s=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},"2c3e":function(e,t,i){var n=i("da84"),r=i("83ab"),o=i("9f7f").MISSED_STICKY,s=i("c6b6"),a=i("9bf2").f,l=i("69f3").get,c=RegExp.prototype,u=n.TypeError;r&&o&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===s(this))return!!l(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"2ca0":function(e,t,i){"use strict";var n=i("23e7"),r=i("e330"),o=i("06cf").f,s=i("50c4"),a=i("577e"),l=i("5a34"),c=i("1d80"),u=i("ab13"),h=i("c430"),d=r("".startsWith),f=r("".slice),p=Math.min,g=u("startsWith"),v=!h&&!g&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(e){var t=a(c(this));l(e);var i=s(p(arguments.length>1?arguments[1]:void 0,t.length)),n=a(e);return d?d(t,n,i):f(t,i,i+n.length)===n}})},"2cf4":function(e,t,i){var n,r,o,s,a=i("da84"),l=i("2ba4"),c=i("0366"),u=i("1626"),h=i("1a2d"),d=i("d039"),f=i("1be4"),p=i("f36a"),g=i("cc12"),v=i("d6d6"),m=i("1cdc"),y=i("605d"),_=a.setImmediate,x=a.clearImmediate,b=a.process,w=a.Dispatch,S=a.Function,C=a.MessageChannel,A=a.String,M=0,k={},T="onreadystatechange";try{n=a.location}catch(O){}var I=function(e){if(h(k,e)){var t=k[e];delete k[e],t()}},L=function(e){return function(){I(e)}},E=function(e){I(e.data)},D=function(e){a.postMessage(A(e),n.protocol+"//"+n.host)};_&&x||(_=function(e){v(arguments.length,1);var t=u(e)?e:S(e),i=p(arguments,1);return k[++M]=function(){l(t,void 0,i)},r(M),M},x=function(e){delete k[e]},y?r=function(e){b.nextTick(L(e))}:w&&w.now?r=function(e){w.now(L(e))}:C&&!m?(o=new C,s=o.port2,o.port1.onmessage=E,r=c(s.postMessage,s)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(D)?(r=D,a.addEventListener("message",E,!1)):r=T in g("script")?function(e){f.appendChild(g("script"))[T]=function(){f.removeChild(this),I(e)}}:function(e){setTimeout(L(e),0)}),e.exports={set:_,clear:x}},"2d00":function(e,t,i){var n,r,o=i("da84"),s=i("342f"),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(n=u.split("."),r=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(r=+n[1]))),e.exports=r},"2d99":function(e,t,i){var n=i("6ad6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=i("499e").default;r("4821b87a",n,!0,{sourceMap:!1,shadowMode:!1})},3410:function(e,t,i){var n=i("23e7"),r=i("d039"),o=i("7b0b"),s=i("e163"),a=i("e177"),l=r((function(){s(1)}));n({target:"Object",stat:!0,forced:l,sham:!a},{getPrototypeOf:function(e){return s(o(e))}})},"342f":function(e,t,i){var n=i("d066");e.exports=n("navigator","userAgent")||""},"349e":function(e,t,i){!function(t,n){e.exports=n(i("8bbf"),i("b311"))}(0,(function(e,t){return r={},i.m=n=[function(e,t,i){"use strict";function n(e,t,i,n,r,o,s,a){var l,c,u="function"==typeof e?e.options:e;return t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l&&(u.functional?(u._injectStyles=l,c=u.render,u.render=function(e,t){return l.call(t),c(e,t)}):(a=u.beforeCreate,u.beforeCreate=a?[].concat(a,l):[l])),{exports:e,options:u}}i.d(t,"a",(function(){return n}))},function(e,t,i){"use strict";i.r(t);var n,r=i(2),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),s(i(29));var n=s(i(21)),r=s(i(41)),o=i(42);function s(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonViewer",components:{JsonBox:n.default},props:{value:{type:[Object,Array,String,Number,Boolean,Function],required:!0},expanded:{type:Boolean,default:!1},expandDepth:{type:Number,default:1},copyable:{type:[Boolean,Object],default:!1},sort:{type:Boolean,default:!1},boxed:{type:Boolean,default:!1},theme:{type:String,default:"jv-light"},timeformat:{type:Function,default:function(e){return e.toLocaleString()}},previewMode:{type:Boolean,default:!1},showArrayIndex:{type:Boolean,default:!0},showDoubleQuotes:{type:Boolean,default:!1}},provide:function(){return{expandDepth:this.expandDepth,timeformat:this.timeformat,onKeyclick:this.onKeyclick}},data:function(){return{copied:!1,expandableCode:!1,expandCode:this.expanded}},computed:{jvClass:function(){return"jv-container "+this.theme+(this.boxed?" boxed":"")},copyText:function(){var e=this.copyable;return{copyText:e.copyText||"copy",copiedText:e.copiedText||"copied!",timeout:e.timeout||2e3,align:e.align}}},watch:{value:function(){this.onResized()}},mounted:function(){var e=this;this.debounceResized=(0,o.debounce)(this.debResized.bind(this),200),this.boxed&&this.$refs.jsonBox&&(this.onResized(),this.$refs.jsonBox.$el.addEventListener("resized",this.onResized,!0)),this.copyable&&new r.default(this.$refs.clip,{container:this.$refs.viewer,text:function(){return JSON.stringify(e.value,null,2)}}).on("success",(function(t){e.onCopied(t)}))},methods:{onResized:function(){this.debounceResized()},debResized:function(){var e=this;this.$nextTick((function(){e.$refs.jsonBox&&(250<=e.$refs.jsonBox.$el.clientHeight?e.expandableCode=!0:e.expandableCode=!1)}))},onCopied:function(e){var t=this;this.copied||(this.copied=!0,setTimeout((function(){t.copied=!1}),this.copyText.timeout),this.$emit("copied",e))},toggleExpandCode:function(){this.expandCode=!this.expandCode},onKeyclick:function(e){this.$emit("keyclick",e)}}}},function(e,t,i){"use strict";i.r(t);var n,r=i(4),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=d(i(30)),o=d(i(31)),s=d(i(32)),a=d(i(33)),l=d(i(34)),c=d(i(35)),u=d(i(36)),h=d(i(37));function d(e){return e&&e.__esModule?e:{default:e}}t.default={name:"JsonBox",inject:["expandDepth","onKeyclick"],props:{value:{type:[Object,Array,String,Number,Boolean,Function,Date],default:null},keyName:{type:String,default:""},sort:Boolean,depth:{type:Number,default:0},previewMode:Boolean,forceExpand:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:{type:String,default:"$"}},data:function(){return{expand:!0,forceExpandMe:this.forceExpand}},mounted:function(){this.expand=this.previewMode||!(this.depth>=this.expandDepth)||this.forceExpandMe},methods:{toggle:function(){this.expand=!this.expand,this.dispatchEvent()},toggleAll:function(){this.expand=!this.expand,this.forceExpandMe=this.expand,this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}},getPath:function(){for(var e=[this.keyName],t=this.$parent;t.depth;)t.$el.classList.contains("jv-node")&&e.push(t.keyName),t=t.$parent;return e.reverse()}},render:function(e){var t=this,i=[],d=void 0;null===this.value||void 0===this.value?d=o.default:Array.isArray(this.value)?d=c.default:"[object Date]"===Object.prototype.toString.call(this.value)?d=h.default:"object"===n(this.value)?d=l.default:"number"==typeof this.value?d=s.default:"string"==typeof this.value?d=r.default:"boolean"==typeof this.value?d=a.default:"function"==typeof this.value&&(d=u.default);var f=this.keyName&&this.value&&(Array.isArray(this.value)||"object"===n(this.value)&&"[object Date]"!==Object.prototype.toString.call(this.value));return!this.previewMode&&f&&i.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),this.keyName&&i.push(e("span",{class:{"jv-key":!0},domProps:{innerText:this.showDoubleQuotes?'"'+this.keyName+'":':this.keyName+":"},on:{click:function(){t.onKeyclick(t.path)}}})),i.push(e(d,{class:{"jv-push":!0},props:{jsonValue:this.value,keyName:this.keyName,sort:this.sort,depth:this.depth,expand:this.expand,previewMode:this.previewMode,forceExpand:this.forceExpandMe,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path},on:{"update:expand":function(e){t.expand=e},"update:expandAll":function(e){t.expand=e,t.forceExpandMe=t.expand}}})),e("div",{class:{"jv-node":!0,"jv-key-node":Boolean(this.keyName)&&!f,toggle:!this.previewMode&&f}},i)}}},function(e,t,i){"use strict";i.r(t);var n,r=i(6),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^\w+:\/\//;t.default={name:"JsonString",props:{jsonValue:{type:String,required:!0}},data:function(){return{expand:!0,canExtend:!1}},mounted:function(){this.$refs.itemRef.offsetHeight>this.$refs.holderRef.offsetHeight&&(this.canExtend=!0)},methods:{toggle:function(){this.expand=!this.expand}},render:function(e){var t=this.jsonValue,i=n.test(t),r=void 0;return this.expand?(r={class:{"jv-item":!0,"jv-string":!0},ref:"itemRef"}).domProps=i?{innerHTML:'"'+(t=''+t+"").toString()+'"'}:{innerText:'"'+t.toString()+'"'}:r={class:{"jv-ellipsis":!0},on:{click:this.toggle},domProps:{innerText:"..."}},e("span",{},[this.canExtend&&e("span",{class:{"jv-toggle":!0,open:this.expand},on:{click:this.toggle}}),e("span",{class:{"jv-holder-node":!0},ref:"holderRef"}),e("span",r)])}}},function(e,t,i){"use strict";i.r(t);var n,r=i(8),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonUndefined",functional:!0,props:{jsonValue:{type:Object,default:null}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-undefined":!0},domProps:{innerText:null===t.props.jsonValue?"null":"undefined"}})}}},function(e,t,i){"use strict";i.r(t);var n,r=i(10),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonNumber",functional:!0,props:{jsonValue:{type:Number,required:!0}},render:function(e,t){var i=t.props;t=Number.isInteger(i.jsonValue);return e("span",{class:{"jv-item":!0,"jv-number":!0,"jv-number-integer":t,"jv-number-float":!t},domProps:{innerText:i.jsonValue.toString()}})}}},function(e,t,i){"use strict";i.r(t);var n,r=i(12),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonBoolean",functional:!0,props:{jsonValue:Boolean},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-boolean":!0},domProps:{innerText:t.props.jsonValue.toString()}})}}},function(e,t,i){"use strict";i.r(t);var n,r=i(14),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i=i(21);var n=i&&i.__esModule?i:{default:i};t.default={name:"JsonObject",props:{jsonValue:{type:Object,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},expand:Boolean,forceExpand:Boolean,sort:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:{}}},computed:{ordered:function(){var e=this;if(!this.sort)return this.value;var t={};return Object.keys(this.value).sort().forEach((function(i){t[i]=e.value[i]})),t}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this;setTimeout((function(){t.value=e}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t,i=this,r=[];if(this.previewMode||this.keyName||r.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?i.toggleAll():i.toggle()}}})),r.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"{"}})),this.expand)for(var o in this.ordered)this.ordered.hasOwnProperty(o)&&(t=this.ordered[o],r.push(e(n.default,{key:o,props:{sort:this.sort,keyName:o,depth:this.depth+1,value:t,previewMode:this.previewMode,forceExpand:this.forceExpand,showArrayIndex:this.showArrayIndex,showDoubleQuotes:this.showDoubleQuotes,path:this.path+"."+o}})));return!this.expand&&Object.keys(this.value).length&&r.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?i.toggleAll():i.toggle()}},attrs:{title:"click to reveal object content (keys: "+Object.keys(this.ordered).join(", ")+")"},domProps:{innerText:"..."}})),r.push(e("span",{class:{"jv-item":!0,"jv-object":!0},domProps:{innerText:"}"}})),e("span",r)}}},function(e,t,i){"use strict";i.r(t);var n,r=i(16),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i=i(21);var n=i&&i.__esModule?i:{default:i};t.default={name:"JsonArray",props:{jsonValue:{type:Array,required:!0},keyName:{type:String,default:""},depth:{type:Number,default:0},sort:Boolean,expand:Boolean,forceExpand:Boolean,previewMode:Boolean,showArrayIndex:Boolean,showDoubleQuotes:Boolean,path:String},data:function(){return{value:[]}},watch:{jsonValue:function(e){this.setValue(e)}},mounted:function(){this.setValue(this.jsonValue)},methods:{setValue:function(e){var t=this,i=1i&&(t.value.push(e[i]),t.setValue(e,i+1))}),0)},toggle:function(){this.$emit("update:expand",!this.expand),this.dispatchEvent()},toggleAll:function(){this.$emit("update:expandAll",!this.expand),this.dispatchEvent()},dispatchEvent:function(){try{this.$el.dispatchEvent(new Event("resized"))}catch(e){var t=document.createEvent("Event");t.initEvent("resized",!0,!1),this.$el.dispatchEvent(t)}}},render:function(e){var t=this,i=[];return this.previewMode||this.keyName||i.push(e("span",{class:{"jv-toggle":!0,open:!!this.expand},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}}})),i.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"["}})),this.expand&&this.value.forEach((function(r,o){i.push(e(n.default,{key:o,props:{sort:t.sort,keyName:t.showArrayIndex?""+o:"",depth:t.depth+1,value:r,previewMode:t.previewMode,forceExpand:t.forceExpand,showArrayIndex:t.showArrayIndex,showDoubleQuotes:t.showDoubleQuotes,path:t.path+"."+o}}))})),!this.expand&&this.value.length&&i.push(e("span",{class:{"jv-ellipsis":!0},on:{click:function(e){e.altKey?t.toggleAll():t.toggle()}},attrs:{title:"click to reveal "+this.value.length+" hidden items"},domProps:{innerText:"..."}})),i.push(e("span",{class:{"jv-item":!0,"jv-array":!0},domProps:{innerText:"]"}})),e("span",i)}}},function(e,t,i){"use strict";i.r(t);var n,r=i(18),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonFunction",functional:!0,props:{jsonValue:{type:Function,required:!0}},render:function(e,t){return e("span",{class:{"jv-item":!0,"jv-function":!0},attrs:{title:t.props.jsonValue.toString()},domProps:{innerHTML:"<function>"}})}}},function(e,t,i){"use strict";i.r(t);var n,r=i(20),o=i.n(r);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=o.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"JsonDate",inject:["timeformat"],functional:!0,props:{jsonValue:{type:Date,required:!0}},render:function(e,t){var i=t.props;t=t.injections,i=i.jsonValue;return e("span",{class:{"jv-item":!0,"jv-string":!0},domProps:{innerText:'"'+(0,t.timeformat)(i)+'"'}})}}},function(e,t,i){"use strict";i.r(t);var n,r=i(3);for(n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i(38);var o=i(0);o=Object(o.a)(r.default,void 0,void 0,!1,null,null,null);o.options.__file="lib/json-box.vue",t.default=o.exports},function(e,t,i){"use strict";function n(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{ref:"viewer",class:e.jvClass},[e.copyable?t("div",{class:"jv-tooltip "+(e.copyText.align||"right")},[t("span",{ref:"clip",staticClass:"jv-button",class:{copied:e.copied}},[e._t("copy",(function(){return[e._v("\n "+e._s(e.copied?e.copyText.copiedText:e.copyText.copyText)+"\n ")]}),{copied:e.copied})],2)]):e._e(),e._v(" "),t("div",{staticClass:"jv-code",class:{open:e.expandCode,boxed:e.boxed}},[t("json-box",{ref:"jsonBox",attrs:{value:e.value,sort:e.sort,"preview-mode":e.previewMode,"show-array-index":e.showArrayIndex,"show-double-quotes":e.showDoubleQuotes},on:{keyclick:e.onKeyclick}})],1),e._v(" "),e.expandableCode&&e.boxed?t("div",{staticClass:"jv-more",on:{click:e.toggleExpandCode}},[t("span",{staticClass:"jv-toggle",class:{open:!!e.expandCode}})]):e._e()])}var r=[];n._withStripped=!0,i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r}))},function(e,t,i){var n=i(39);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0};i(25)(n,r),n.locals&&(e.exports=n.locals)},function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",n=e[3];return n?t&&"function"==typeof btoa?(e=function(e){return e=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),e="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e),"/*# ".concat(e," */")}(n),t=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")})),[i].concat(t).concat([e]).join("\n")):[i].join("\n"):i}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var o=0;ou)o.f(e,i=r[u++],n[i]);return e}},"38cf":function(e,t,i){var n=i("23e7"),r=i("1148");n({target:"String",proto:!0},{repeat:r})},"3a9b":function(e,t,i){var n=i("e330");e.exports=n({}.isPrototypeOf)},"3bbe":function(e,t,i){var n=i("da84"),r=i("1626"),o=n.String,s=n.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw s("Can't set "+o(e)+" as a prototype")}},"3ca3":function(e,t,i){"use strict";var n=i("6547").charAt,r=i("577e"),o=i("69f3"),s=i("7dd0"),a="String Iterator",l=o.set,c=o.getterFor(a);s(String,"String",(function(e){l(this,{type:a,string:r(e),index:0})}),(function(){var e,t=c(this),i=t.string,r=t.index;return r>=i.length?{value:void 0,done:!0}:(e=n(i,r),t.index+=e.length,{value:e,done:!1})}))},"3f6f":function(e,t,i){var n=i("4bad");t=n(!1),t.push([e.i,".t-header-pin[data-v-d87614ca]{display:inline-block;position:absolute;z-index:100;right:13px;top:7px;cursor:pointer}",""]),e.exports=t},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,i){var n=i("e330");e.exports=n(1..valueOf)},"40d5":function(e,t,i){var n=i("d039");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"428f":function(e,t,i){var n=i("da84");e.exports=n},"44ad":function(e,t,i){var n=i("da84"),r=i("e330"),o=i("d039"),s=i("c6b6"),a=n.Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?l(e,""):a(e)}:a},"44d2":function(e,t,i){var n=i("b622"),r=i("7c73"),o=i("9bf2"),s=n("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),e.exports=function(e){a[s][e]=!0}},"44de":function(e,t,i){var n=i("da84");e.exports=function(e,t){var i=n.console;i&&i.error&&(1==arguments.length?i.error(e):i.error(e,t))}},"44e7":function(e,t,i){var n=i("861d"),r=i("c6b6"),o=i("b622"),s=o("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==r(e))}},"466d":function(e,t,i){"use strict";var n=i("c65b"),r=i("d784"),o=i("825a"),s=i("50c4"),a=i("577e"),l=i("1d80"),c=i("dc4a"),u=i("8aa5"),h=i("14c3");r("match",(function(e,t,i){return[function(t){var i=l(this),r=void 0==t?void 0:c(t,e);return r?n(r,t,i):new RegExp(t)[e](a(i))},function(e){var n=o(this),r=a(e),l=i(t,n,r);if(l.done)return l.value;if(!n.global)return h(n,r);var c=n.unicode;n.lastIndex=0;var d,f=[],p=0;while(null!==(d=h(n,r))){var g=a(d[0]);f[p]=g,""===g&&(n.lastIndex=u(r,s(n.lastIndex),c)),p++}return 0===p?null:f}]}))},4840:function(e,t,i){var n=i("825a"),r=i("5087"),o=i("b622"),s=o("species");e.exports=function(e,t){var i,o=n(e).constructor;return void 0===o||void 0==(i=n(o)[s])?t:r(i)}},"485a":function(e,t,i){var n=i("da84"),r=i("c65b"),o=i("1626"),s=i("861d"),a=n.TypeError;e.exports=function(e,t){var i,n;if("string"===t&&o(i=e.toString)&&!s(n=r(i,e)))return n;if(o(i=e.valueOf)&&!s(n=r(i,e)))return n;if("string"!==t&&o(i=e.toString)&&!s(n=r(i,e)))return n;throw a("Can't convert object to primitive value")}},4930:function(e,t,i){var n=i("2d00"),r=i("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"498a":function(e,t,i){"use strict";var n=i("23e7"),r=i("58a8").trim,o=i("c8d2");n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return r(this)}})},"499e":function(e,t,i){"use strict";function n(e,t){for(var i=[],n={},r=0;ri.parts.length&&(n.parts.length=i.parts.length)}else{var s=[];for(r=0;r@^][^\s!#%&*+<=>@^]*>/,R=/a/g,B=/a/g,N=new A(R)!==R,z=g.MISSED_STICKY,H=g.UNSUPPORTED_Y,F=n&&(!N||z||w||S||m((function(){return B[C]=!1,A(R)!=R||A(B)==B||"/a/i"!=A(R,"i")}))),V=function(e){for(var t,i=e.length,n=0,r="",o=!1;n<=i;n++)t=L(e,n),"\\"!==t?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),r+=t):r+="[\\s\\S]":r+=t+L(e,++n);return r},j=function(e){for(var t,i=e.length,n=0,r="",o=[],s={},a=!1,l=!1,c=0,u="";n<=i;n++){if(t=L(e,n),"\\"===t)t+=L(e,++n);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:I(P,O(e,n+1))&&(n+=2,l=!0),r+=t,c++;continue;case">"===t&&l:if(""===u||y(s,u))throw new k("Invalid capture group name");s[u]=!0,o[o.length]=[u,c],l=!1,u="";continue}l?u+=t:r+=t}return[r,o]};if(s("RegExp",F)){for(var $=function(e,t){var i,n,r,o,s,c,u=h(M,this),p=d(e),g=void 0===t,v=[],m=e;if(!u&&p&&g&&e.constructor===$)return e;if((p||h(M,e))&&(e=e.source,g&&(t="flags"in m?m.flags:T(m))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),m=e,w&&"dotAll"in R&&(n=!!t&&D(t,"s")>-1,n&&(t=E(t,/s/g,""))),i=t,z&&"sticky"in R&&(r=!!t&&D(t,"y")>-1,r&&H&&(t=E(t,/y/g,""))),S&&(o=j(e),e=o[0],v=o[1]),s=a(A(e,t),u?this:M,$),(n||r||v.length)&&(c=_(s),n&&(c.dotAll=!0,c.raw=$(V(e),i)),r&&(c.sticky=!0),v.length&&(c.groups=v)),e!==m)try{l(s,"source",""===m?"(?:)":m)}catch(y){}return s},W=function(e){e in $||c($,e,{configurable:!0,get:function(){return A[e]},set:function(t){A[e]=t}})},G=u(A),U=0;G.length>U;)W(G[U++]);M.constructor=$,$.prototype=M,v(r,"RegExp",$)}x("RegExp")},"4d64":function(e,t,i){var n=i("fc6a"),r=i("23cb"),o=i("07fa"),s=function(e){return function(t,i,s){var a,l=n(t),c=o(l),u=r(s,c);if(e&&i!=i){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===i)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"4dae":function(e,t,i){var n=i("da84"),r=i("23cb"),o=i("07fa"),s=i("8418"),a=n.Array,l=Math.max;e.exports=function(e,t,i){for(var n=o(e),c=r(t,n),u=r(void 0===i?n:i,n),h=a(l(u-c,0)),d=0;c1?arguments[1]:void 0)}})},"4df4":function(e,t,i){"use strict";var n=i("da84"),r=i("0366"),o=i("c65b"),s=i("7b0b"),a=i("9bdd"),l=i("e95a"),c=i("68ee"),u=i("07fa"),h=i("8418"),d=i("9a1f"),f=i("35a1"),p=n.Array;e.exports=function(e){var t=s(e),i=c(this),n=arguments.length,g=n>1?arguments[1]:void 0,v=void 0!==g;v&&(g=r(g,n>2?arguments[2]:void 0));var m,y,_,x,b,w,S=f(t),C=0;if(!S||this==p&&l(S))for(m=u(t),y=i?new this(m):p(m);m>C;C++)w=v?g(t[C],C):t[C],h(y,C,w);else for(x=d(t,S),b=x.next,y=i?new this:[];!(_=o(b,x)).done;C++)w=v?a(x,g,[_.value,C],!0):_.value,h(y,C,w);return y.length=C,y}},"4e82":function(e,t,i){"use strict";var n=i("23e7"),r=i("e330"),o=i("59ed"),s=i("7b0b"),a=i("07fa"),l=i("577e"),c=i("d039"),u=i("addb"),h=i("a640"),d=i("04d1"),f=i("d998"),p=i("2d00"),g=i("512c"),v=[],m=r(v.sort),y=r(v.push),_=c((function(){v.sort(void 0)})),x=c((function(){v.sort(null)})),b=h("sort"),w=!c((function(){if(p)return p<70;if(!(d&&d>3)){if(f)return!0;if(g)return g<603;var e,t,i,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(n=0;n<47;n++)v.push({k:t+n,v:i})}for(v.sort((function(e,t){return t.v-e.v})),n=0;nl(i)?1:-1}};n({target:"Array",proto:!0,forced:S},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(w)return void 0===e?m(t):m(t,e);var i,n,r=[],l=a(t);for(n=0;n0?r(n(e),9007199254740991):0}},"512c":function(e,t,i){var n=i("342f"),r=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},"525b":function(e){e.exports=JSON.parse('{"c0":"rgb(0,0,0)","c1":"rgb(128,0,0)","c2":"rgb(0,128,0)","c3":"rgb(128,128,0)","c4":"rgb(0,0,128)","c5":"rgb(128,0,128)","c6":"rgb(0,128,128)","c7":"rgb(192,192,192)","c8":"rgb(128,128,128)","c9":"rgb(255,0,0)","c10":"rgb(0,255,0)","c11":"rgb(255,255,0)","c12":"rgb(0,0,255)","c13":"rgb(255,0,255)","c14":"rgb(0,255,255)","c15":"rgb(255,255,255)","c16":"rgb(0,0,0)","c17":"rgb(0,0,95)","c18":"rgb(0,0,135)","c19":"rgb(0,0,175)","c20":"rgb(0,0,215)","c21":"rgb(0,0,255)","c22":"rgb(0,95,0)","c23":"rgb(0,95,95)","c24":"rgb(0,95,135)","c25":"rgb(0,95,175)","c26":"rgb(0,95,215)","c27":"rgb(0,95,255)","c28":"rgb(0,135,0)","c29":"rgb(0,135,95)","c30":"rgb(0,135,135)","c31":"rgb(0,135,175)","c32":"rgb(0,135,215)","c33":"rgb(0,135,255)","c34":"rgb(0,175,0)","c35":"rgb(0,175,95)","c36":"rgb(0,175,135)","c37":"rgb(0,175,175)","c38":"rgb(0,175,215)","c39":"rgb(0,175,255)","c40":"rgb(0,215,0)","c41":"rgb(0,215,95)","c42":"rgb(0,215,135)","c43":"rgb(0,215,175)","c44":"rgb(0,215,215)","c45":"rgb(0,215,255)","c46":"rgb(0,255,0)","c47":"rgb(0,255,95)","c48":"rgb(0,255,135)","c49":"rgb(0,255,175)","c50":"rgb(0,255,215)","c51":"rgb(0,255,255)","c52":"rgb(95,0,0)","c53":"rgb(95,0,95)","c54":"rgb(95,0,135)","c55":"rgb(95,0,175)","c56":"rgb(95,0,215)","c57":"rgb(95,0,255)","c58":"rgb(95,95,0)","c59":"rgb(95,95,95)","c60":"rgb(95,95,135)","c61":"rgb(95,95,175)","c62":"rgb(95,95,215)","c63":"rgb(95,95,255)","c64":"rgb(95,135,0)","c65":"rgb(95,135,95)","c66":"rgb(95,135,135)","c67":"rgb(95,135,175)","c68":"rgb(95,135,215)","c69":"rgb(95,135,255)","c70":"rgb(95,175,0)","c71":"rgb(95,175,95)","c72":"rgb(95,175,135)","c73":"rgb(95,175,175)","c74":"rgb(95,175,215)","c75":"rgb(95,175,255)","c76":"rgb(95,215,0)","c77":"rgb(95,215,95)","c78":"rgb(95,215,135)","c79":"rgb(95,215,175)","c80":"rgb(95,215,215)","c81":"rgb(95,215,255)","c82":"rgb(95,255,0)","c83":"rgb(95,255,95)","c84":"rgb(95,255,135)","c85":"rgb(95,255,175)","c86":"rgb(95,255,215)","c87":"rgb(95,255,255)","c88":"rgb(135,0,0)","c89":"rgb(135,0,95)","c90":"rgb(135,0,135)","c91":"rgb(135,0,175)","c92":"rgb(135,0,215)","c93":"rgb(135,0,255)","c94":"rgb(135,95,0)","c95":"rgb(135,95,95)","c96":"rgb(135,95,135)","c97":"rgb(135,95,175)","c98":"rgb(135,95,215)","c99":"rgb(135,95,255)","c100":"rgb(135,135,0)","c101":"rgb(135,135,95)","c102":"rgb(135,135,135)","c103":"rgb(135,135,175)","c104":"rgb(135,135,215)","c105":"rgb(135,135,255)","c106":"rgb(135,175,0)","c107":"rgb(135,175,95)","c108":"rgb(135,175,135)","c109":"rgb(135,175,175)","c110":"rgb(135,175,215)","c111":"rgb(135,175,255)","c112":"rgb(135,215,0)","c113":"rgb(135,215,95)","c114":"rgb(135,215,135)","c115":"rgb(135,215,175)","c116":"rgb(135,215,215)","c117":"rgb(135,215,255)","c118":"rgb(135,255,0)","c119":"rgb(135,255,95)","c120":"rgb(135,255,135)","c121":"rgb(135,255,175)","c122":"rgb(135,255,215)","c123":"rgb(135,255,255)","c124":"rgb(175,0,0)","c125":"rgb(175,0,95)","c126":"rgb(175,0,135)","c127":"rgb(175,0,175)","c128":"rgb(175,0,215)","c129":"rgb(175,0,255)","c130":"rgb(175,95,0)","c131":"rgb(175,95,95)","c132":"rgb(175,95,135)","c133":"rgb(175,95,175)","c134":"rgb(175,95,215)","c135":"rgb(175,95,255)","c136":"rgb(175,135,0)","c137":"rgb(175,135,95)","c138":"rgb(175,135,135)","c139":"rgb(175,135,175)","c140":"rgb(175,135,215)","c141":"rgb(175,135,255)","c142":"rgb(175,175,0)","c143":"rgb(175,175,95)","c144":"rgb(175,175,135)","c145":"rgb(175,175,175)","c146":"rgb(175,175,215)","c147":"rgb(175,175,255)","c148":"rgb(175,215,0)","c149":"rgb(175,215,95)","c150":"rgb(175,215,135)","c151":"rgb(175,215,175)","c152":"rgb(175,215,215)","c153":"rgb(175,215,255)","c154":"rgb(175,255,0)","c155":"rgb(175,255,95)","c156":"rgb(175,255,135)","c157":"rgb(175,255,175)","c158":"rgb(175,255,215)","c159":"rgb(175,255,255)","c160":"rgb(215,0,0)","c161":"rgb(215,0,95)","c162":"rgb(215,0,135)","c163":"rgb(215,0,175)","c164":"rgb(215,0,215)","c165":"rgb(215,0,255)","c166":"rgb(215,95,0)","c167":"rgb(215,95,95)","c168":"rgb(215,95,135)","c169":"rgb(215,95,175)","c170":"rgb(215,95,215)","c171":"rgb(215,95,255)","c172":"rgb(215,135,0)","c173":"rgb(215,135,95)","c174":"rgb(215,135,135)","c175":"rgb(215,135,175)","c176":"rgb(215,135,215)","c177":"rgb(215,135,255)","c178":"rgb(215,175,0)","c179":"rgb(215,175,95)","c180":"rgb(215,175,135)","c181":"rgb(215,175,175)","c182":"rgb(215,175,215)","c183":"rgb(215,175,255)","c184":"rgb(215,215,0)","c185":"rgb(215,215,95)","c186":"rgb(215,215,135)","c187":"rgb(215,215,175)","c188":"rgb(215,215,215)","c189":"rgb(215,215,255)","c190":"rgb(215,255,0)","c191":"rgb(215,255,95)","c192":"rgb(215,255,135)","c193":"rgb(215,255,175)","c194":"rgb(215,255,215)","c195":"rgb(215,255,255)","c196":"rgb(255,0,0)","c197":"rgb(255,0,95)","c198":"rgb(255,0,135)","c199":"rgb(255,0,175)","c200":"rgb(255,0,215)","c201":"rgb(255,0,255)","c202":"rgb(255,95,0)","c203":"rgb(255,95,95)","c204":"rgb(255,95,135)","c205":"rgb(255,95,175)","c206":"rgb(255,95,215)","c207":"rgb(255,95,255)","c208":"rgb(255,135,0)","c209":"rgb(255,135,95)","c210":"rgb(255,135,135)","c211":"rgb(255,135,175)","c212":"rgb(255,135,215)","c213":"rgb(255,135,255)","c214":"rgb(255,175,0)","c215":"rgb(255,175,95)","c216":"rgb(255,175,135)","c217":"rgb(255,175,175)","c218":"rgb(255,175,215)","c219":"rgb(255,175,255)","c220":"rgb(255,215,0)","c221":"rgb(255,215,95)","c222":"rgb(255,215,135)","c223":"rgb(255,215,175)","c224":"rgb(255,215,215)","c225":"rgb(255,215,255)","c226":"rgb(255,255,0)","c227":"rgb(255,255,95)","c228":"rgb(255,255,135)","c229":"rgb(255,255,175)","c230":"rgb(255,255,215)","c231":"rgb(255,255,255)","c232":"rgb(8,8,8)","c233":"rgb(18,18,18)","c234":"rgb(28,28,28)","c235":"rgb(38,38,38)","c236":"rgb(48,48,48)","c237":"rgb(58,58,58)","c238":"rgb(68,68,68)","c239":"rgb(78,78,78)","c240":"rgb(88,88,88)","c241":"rgb(98,98,98)","c242":"rgb(108,108,108)","c243":"rgb(118,118,118)","c244":"rgb(128,128,128)","c245":"rgb(138,138,138)","c246":"rgb(148,148,148)","c247":"rgb(158,158,158)","c248":"rgb(168,168,168)","c249":"rgb(178,178,178)","c250":"rgb(188,188,188)","c251":"rgb(198,198,198)","c252":"rgb(208,208,208)","c253":"rgb(218,218,218)","c254":"rgb(228,228,228)","c255":"rgb(238,238,238)"}')},5319:function(e,t,i){"use strict";var n=i("2ba4"),r=i("c65b"),o=i("e330"),s=i("d784"),a=i("d039"),l=i("825a"),c=i("1626"),u=i("5926"),h=i("50c4"),d=i("577e"),f=i("1d80"),p=i("8aa5"),g=i("dc4a"),v=i("0cb2"),m=i("14c3"),y=i("b622"),_=y("replace"),x=Math.max,b=Math.min,w=o([].concat),S=o([].push),C=o("".indexOf),A=o("".slice),M=function(e){return void 0===e?e:String(e)},k=function(){return"$0"==="a".replace(/./,"$0")}(),T=function(){return!!/./[_]&&""===/./[_]("a","$0")}(),I=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));s("replace",(function(e,t,i){var o=T?"$":"$0";return[function(e,i){var n=f(this),o=void 0==e?void 0:g(e,_);return o?r(o,e,n,i):r(t,d(n),e,i)},function(e,r){var s=l(this),a=d(e);if("string"==typeof r&&-1===C(r,o)&&-1===C(r,"$<")){var f=i(t,s,a,r);if(f.done)return f.value}var g=c(r);g||(r=d(r));var y=s.global;if(y){var _=s.unicode;s.lastIndex=0}var k=[];while(1){var T=m(s,a);if(null===T)break;if(S(k,T),!y)break;var I=d(T[0]);""===I&&(s.lastIndex=p(a,h(s.lastIndex),_))}for(var L="",E=0,D=0;D=E&&(L+=A(a,E,P)+H,E=P+O.length)}return L+A(a,E)}]}),!I||!k||T)},5628:function(e,t,i){var n=i("4bad");t=n(!1),t.push([e.i,':root{--t-point-size:15px}.t-log-box{display:block;-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:0;margin-inline-end:0}.t-shell-dot{opacity:0;transition:opacity .2s ease;-moz-transition:opacity .2s ease;-ms-transition:opacity .2s ease;-webkit-transition:opacity .2s ease;-o-transition:opacity .2s ease;margin-bottom:0}.t-shell-dots:hover .t-shell-dot{opacity:1}.t-container{position:relative;margin:0;padding:0;border-radius:15px;background-color:var(--t-main-background-color);box-shadow:var(--t-window-box-shadow);-moz-box-shadow:var(--t-window-box-shadow);-webkit-box-shadow:var(--t-window-box-shadow);-o-box-shadow:var(--t-window-box-shadow)}.t-header-container{position:relative;z-index:2;top:0;right:0;left:0}.t-header{text-align:center;padding:2px;background-color:var(--t-header-background-color)}.t-header h4{font-size:14px;margin:5px;letter-spacing:1px;color:var(--t-header-font-color)}.t-header ul.t-shell-dots{position:absolute;top:3px;left:8px;padding-left:0;margin:0}.t-header ul.t-shell-dots li{display:inline-block;width:16px;height:16px;border-radius:10px;margin-left:6px;margin-top:4px;line-height:16px;cursor:pointer}.t-header ul .t-shell-dots-red{background-color:#c83030}.t-header ul .t-shell-dots-yellow{background-color:#f7db60}.t-header ul .t-shell-dots-green{background-color:#2ec971}.t-ask-input,.t-crude-font,.t-window,.t-window div,.t-window p{font-size:13px;font-family:Monaco,Menlo,Consolas,monospace}.t-window{position:absolute;top:0;left:0;right:0;overflow:auto;z-index:1;max-height:none;min-height:140px;padding:0 20px 0 20px;font-weight:400;line-height:20px;cursor:text;background-color:var(--t-main-background-color);color:var(--t-main-font-color)}.t-window .prompt:before{content:"$";margin-right:10px;word-wrap:break-word}.t-window p{overflow-wrap:break-word;word-break:break-all}.t-window p .cmd{line-height:24px}@-webkit-keyframes cursor-flash{0%,to{opacity:0}50%{opacity:1}}@keyframes cursor-flash{0%,to{opacity:0}50%{opacity:1}}.t-window .cursor{animation:cursor-flash 1s infinite;-webkit-animation:cursor-flash 1s infinite;-o-animation:cursor-flash 1s infinite;-moz-animation:cursor-flash 1s infinite;position:absolute;height:16px;margin-top:1px;background-color:var(--t-cursor-color)}.t-a{color:var(--t-link-color)}.t-a:hover{color:var(--t-link-hover-color)}.t-ask-input{max-width:300px;background:none;padding:0;display:inline-block;color:var(--t-main-font-color)}.t-ask-input,.t-ask-input:focus,.t-ask-input:focus-visible{border:none;outline:none}.t-cmd-input{position:relative;border:none;width:1px;opacity:0;cursor:text;padding:1px 2px;-webkit-writing-mode:horizontal-tb!important;text-rendering:auto;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-shadow:none;display:inline-block;text-align:start;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;-webkit-rtl-ordering:logical;-o-border-image:initial;border-image:initial;word-wrap:break-word;margin:0;background-color:var(--t-main-background-color)}.t-content-normal .error,.t-content-normal .info,.t-content-normal .success,.t-content-normal .system,.t-content-normal .warning{padding:2px 3px;color:var(--t-tag-font-color)}.t-content-normal .success{background-color:#27ae60}.t-content-normal .error{background-color:#c0392b}.t-content-normal .warning{background-color:#f39c12}.t-content-normal .info{background-color:#2980b9}.t-content-normal .system{background-color:#8697a2}.t-crude-font{font-weight:600}.t-flag{opacity:0}.t-last-line{font-size:0;word-spacing:0;letter-spacing:0;position:relative}.t-help-msg{min-height:20px;margin:-8px 0 10px 0;color:var(--t-cmd-help-msg-color)}@media screen and (max-width:768px){.t-window{padding:0 15px 0 15px}}.t-cmd-line{font-size:0}.t-cmd-line-content{font-size:13px;word-break:break-all}.t-cmd-key{font-weight:700;color:var(--t-cmd-key-color)}.t-cmd-arg{color:var(--t-cmd-arg-color)}.t-cmd-splitter{color:var(--t-cmd-splitter-color)}.t-help-list{margin:0;list-style:none;padding-left:0;display:inline-grid;display:-moz-inline-grid;display:-ms-inline-grid}.t-help-list li{margin:3px 0}.t-cmd-help{position:absolute;top:15px;right:15px;z-index:99;max-width:50%;padding:5px;overflow:auto;max-height:calc(100% - 60px);background-color:var(--t-cmd-help-background-color);color:var(--t-main-font-color);box-shadow:var(--t-cmd-help-box-shadow)}.t-cmd-help code{border:none;padding:2px 5px 2px 5px;border-radius:3px;color:var(--t-cmd-help-code-font-color);background-color:var(--t-cmd-help-code-background-color)!important}.t-cmd-help-eg{float:left;width:30px;display:flex;font-size:13px;line-height:26px}.t-cmd-help-example{float:left;width:calc(100% - 30px);display:flex}.t-cmd-help-des{font-size:13px}.t-pre-numbering{margin-top:0;position:absolute;top:0;left:-30px;width:30px;text-align:center;padding:1em 0}.t-pre-numbering li{list-style:none;font-size:1em}pre{position:relative;margin:0}.t-example-ul{padding:0 0 0 10px;margin:0;list-style:none}.t-table{max-width:100%;overflow:auto;padding:0;margin:0}.t-border-dashed{border-collapse:collapse;border:var(--t-table-border)}.t-table thead{font-weight:600}.t-table,.t-table tbody,.t-table td,.t-table thead,.t-table tr{margin:0;padding:15px}.t-code{position:relative;max-height:500px;overflow:auto}.t-vue-codemirror div,.t-vue-highlight div{font-size:14px}.t-code .t-vue-codemirror .vue-codemirror .CodeMirror{height:unset;border:none}.t-text-editor-container{position:absolute;left:0;top:0;width:100%;height:100%;z-index:1}.t-text-editor{width:calc(100% - 10px);height:calc(100% - 35px);overflow:auto;resize:none;margin:0;padding:0 5px;border:none;font-size:15px;color:var(--t-main-font-color);background-color:var(--t-main-background-color)}.t-text-editor:focus,.t-text-editor:focus-visible{outline:none;outline-offset:unset}.t-text-editor-floor{position:absolute;height:35px;width:100%;bottom:0;left:0;background-color:var(--t-text-editor-floor-background-color)}.t-text-editor-floor-btn{border:none;outline:none;margin-top:10px;cursor:pointer;background-color:transparent}.t-close-btn{color:var(--t-text-editor-floor-close-btn-color)}.t-save-btn{color:var(--t-text-editor-floor-save-btn-color)}.t-text-editor-floor-btn:hover{color:var(--t-text-editor-floor-btn-hover-color)}.t-disable-select{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-selece:none}.t-point{width:var(--t-point-size);height:var(--t-point-size);background-color:transparent;position:absolute;z-index:100}.t-point-lt{left:calc(0px - var(--t-point-size)/2);cursor:nwse-resize}.t-point-lt,.t-point-rt{top:calc(0px - var(--t-point-size)/2)}.t-point-rt{left:calc(100% - var(--t-point-size)/2);cursor:nesw-resize}.t-point-lb{left:calc(0px - var(--t-point-size)/2);cursor:nesw-resize}.t-point-lb,.t-point-rb{top:calc(100% - var(--t-point-size)/2)}.t-point-rb{left:calc(100% - var(--t-point-size)/2);cursor:nwse-resize}.t-code-default{background-color:var(--t-code-default-background-color)}.t-json-container .jv-container.jv-light{border:none;background-color:var(--t-json-background-color);color:var(--t-main-font-color)}.t-json-container .jv-container .jv-code,.t-json-container .jv-container .jv-code.open{padding-bottom:0}.t-json-container .jv-container{display:inline-block;min-width:300px}.t-json-container .jv-container.jv-light .jv-item.jv-array,.t-json-container .jv-container.jv-light .jv-item.jv-object{color:var(--t-json-value-obj-color)}.t-json-container .jv-container.jv-light .jv-key{color:var(--t-main-font-color)}.t-json-container .jv-container.jv-light .jv-item.jv-boolean{color:var(--t-json-value-bool-color)}.t-json-container .jv-container.jv-light .jv-item.jv-number{color:var(--t-json-value-number-color)}.t-json-container .jv-container.jv-light .jv-ellipsis{color:var(--t-main-font-color);background-color:var(--t-json-ellipsis-background-color)}.t-json-container .jv-container .jv-more:after{background:var(--t-json-more-background-webkit);background:var(--t-json-more-background)}.t-json-deep-selector{margin-top:8px;width:75px;position:absolute;margin-left:-150px;font-size:10px;border-radius:2px;cursor:pointer;border:1px solid var(--t-json-deep-selector-border-color)}.t-json-deep-selector:focus,.t-json-deep-selector:focus-visible{outline:none}.t-window a::-moz-selection,.t-window br::-moz-selection,.t-window code::-moz-selection,.t-window div::-moz-selection,.t-window li::-moz-selection,.t-window p::-moz-selection,.t-window span::-moz-selection,.t-window td::-moz-selection,.t-window th::-moz-selection{color:var(--t-selection-font-color);background-color:var(--t-selection-background-color)}.t-window a::selection,.t-window br::selection,.t-window code::selection,.t-window div::selection,.t-window li::selection,.t-window p::selection,.t-window span::selection,.t-window td::selection,.t-window th::selection{color:var(--t-selection-font-color);background-color:var(--t-selection-background-color)}',""]),e.exports=t},5692:function(e,t,i){var n=i("c430"),r=i("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,i){var n=i("d066"),r=i("e330"),o=i("241c"),s=i("7418"),a=i("825a"),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),i=s.f;return i?l(t,i(e)):t}},"577e":function(e,t,i){var n=i("da84"),r=i("f5df"),o=n.String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,i){var n=i("e330"),r=i("1d80"),o=i("577e"),s=i("5899"),a=n("".replace),l="["+s+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),h=function(e){return function(t){var i=o(r(t));return 1&e&&(i=a(i,c,"")),2&e&&(i=a(i,u,"")),i}};e.exports={start:h(1),end:h(2),trim:h(3)}},5926:function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:i)(t)}},"59ed":function(e,t,i){var n=i("da84"),r=i("1626"),o=i("0d51"),s=n.TypeError;e.exports=function(e){if(r(e))return e;throw s(o(e)+" is not a function")}},"5a34":function(e,t,i){var n=i("da84"),r=i("44e7"),o=n.TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,i){var n=i("83ab"),r=i("1a2d"),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=r(o,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},"5f39":function(e,t,i){var n=i("3f6f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=i("499e").default;r("335912d8",n,!0,{sourceMap:!1,shadowMode:!1})},"605d":function(e,t,i){var n=i("c6b6"),r=i("da84");e.exports="process"==n(r.process)},6069:function(e,t){e.exports="object"==typeof window},6547:function(e,t,i){var n=i("e330"),r=i("5926"),o=i("577e"),s=i("1d80"),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,i){var n,u,h=o(s(t)),d=r(i),f=h.length;return d<0||d>=f?e?"":void 0:(n=l(h,d),n<55296||n>56319||d+1===f||(u=l(h,d+1))<56320||u>57343?e?a(h,d):n:e?c(h,d,d+2):u-56320+(n-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(e,t,i){var n=i("0b42");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},"68ee":function(e,t,i){var n=i("e330"),r=i("d039"),o=i("1626"),s=i("f5df"),a=i("d066"),l=i("8925"),c=function(){},u=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),p=!d.exec(c),g=function(e){if(!o(e))return!1;try{return h(c,u,e),!0}catch(t){return!1}},v=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(d,l(e))}catch(t){return!0}};v.sham=!0,e.exports=!h||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?v:g},"69f3":function(e,t,i){var n,r,o,s=i("7f9a"),a=i("da84"),l=i("e330"),c=i("861d"),u=i("9112"),h=i("1a2d"),d=i("c6cd"),f=i("f772"),p=i("d012"),g="Object already initialized",v=a.TypeError,m=a.WeakMap,y=function(e){return o(e)?r(e):n(e,{})},_=function(e){return function(t){var i;if(!c(t)||(i=r(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return i}};if(s||d.state){var x=d.state||(d.state=new m),b=l(x.get),w=l(x.has),S=l(x.set);n=function(e,t){if(w(x,e))throw new v(g);return t.facade=e,S(x,e,t),t},r=function(e){return b(x,e)||{}},o=function(e){return w(x,e)}}else{var C=f("state");p[C]=!0,n=function(e,t){if(h(e,C))throw new v(g);return t.facade=e,u(e,C,t),t},r=function(e){return h(e,C)?e[C]:{}},o=function(e){return h(e,C)}}e.exports={set:n,get:r,has:o,enforce:y,getterFor:_}},"6ad6":function(e,t,i){var n=i("4bad");t=n(!1),t.push([e.i,".t-editor[data-v-7bf1e77a]{width:100%;height:100%}",""]),e.exports=t},"6eeb":function(e,t,i){var n=i("da84"),r=i("1626"),o=i("1a2d"),s=i("9112"),a=i("ce4e"),l=i("8925"),c=i("69f3"),u=i("5e77").CONFIGURABLE,h=c.get,d=c.enforce,f=String(String).split("String");(e.exports=function(e,t,i,l){var c,h=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,v=l&&void 0!==l.name?l.name:t;r(i)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(i,"name")||u&&i.name!==v)&&s(i,"name",v),c=d(i),c.source||(c.source=f.join("string"==typeof v?v:""))),e!==n?(h?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=i:s(e,t,i)):p?e[t]=i:a(t,i)})(Function.prototype,"toString",(function(){return r(this)&&h(this).source||l(this)}))},7156:function(e,t,i){var n=i("1626"),r=i("861d"),o=i("d2bb");e.exports=function(e,t,i){var s,a;return o&&n(s=t.constructor)&&s!==i&&r(a=s.prototype)&&a!==i.prototype&&o(e,a),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,i){var n=i("428f"),r=i("1a2d"),o=i("e538"),s=i("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});r(t,e)||s(t,e,{value:o.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,i){var n=i("cc12"),r=n("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},"7b0b":function(e,t,i){var n=i("da84"),r=i("1d80"),o=n.Object;e.exports=function(e){return o(r(e))}},"7c73":function(e,t,i){var n,r=i("825a"),o=i("37e8"),s=i("7839"),a=i("d012"),l=i("1be4"),c=i("cc12"),u=i("f772"),h=">",d="<",f="prototype",p="script",g=u("IE_PROTO"),v=function(){},m=function(e){return d+p+h+e+d+"/"+p+h},y=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=c("iframe"),i="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(i),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},x=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}x="undefined"!=typeof document?document.domain&&n?y(n):_():y(n);var e=s.length;while(e--)delete x[f][s[e]];return x()};a[g]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(v[f]=r(e),i=new v,v[f]=null,i[g]=e):i=x(),void 0===t?i:o.f(i,t)}},"7dd0":function(e,t,i){"use strict";var n=i("23e7"),r=i("c65b"),o=i("c430"),s=i("5e77"),a=i("1626"),l=i("9ed3"),c=i("e163"),u=i("d2bb"),h=i("d44e"),d=i("9112"),f=i("6eeb"),p=i("b622"),g=i("3f8c"),v=i("ae93"),m=s.PROPER,y=s.CONFIGURABLE,_=v.IteratorPrototype,x=v.BUGGY_SAFARI_ITERATORS,b=p("iterator"),w="keys",S="values",C="entries",A=function(){return this};e.exports=function(e,t,i,s,p,v,M){l(i,t,s);var k,T,I,L=function(e){if(e===p&&R)return R;if(!x&&e in O)return O[e];switch(e){case w:return function(){return new i(this,e)};case S:return function(){return new i(this,e)};case C:return function(){return new i(this,e)}}return function(){return new i(this)}},E=t+" Iterator",D=!1,O=e.prototype,P=O[b]||O["@@iterator"]||p&&O[p],R=!x&&P||L(p),B="Array"==t&&O.entries||P;if(B&&(k=c(B.call(new e)),k!==Object.prototype&&k.next&&(o||c(k)===_||(u?u(k,_):a(k[b])||f(k,b,A)),h(k,E,!0,!0),o&&(g[E]=A))),m&&p==S&&P&&P.name!==S&&(!o&&y?d(O,"name",S):(D=!0,R=function(){return r(P,this)})),p)if(T={values:L(S),keys:v?R:L(w),entries:L(C)},M)for(I in T)(x||D||!(I in O))&&f(O,I,T[I]);else n({target:t,proto:!0,forced:x||D},T);return o&&!M||O[b]===R||f(O,b,R,{name:p}),g[t]=R,T}},"7f9a":function(e,t,i){var n=i("da84"),r=i("1626"),o=i("8925"),s=n.WeakMap;e.exports=r(s)&&/native code/.test(o(s))},"825a":function(e,t,i){var n=i("da84"),r=i("861d"),o=n.String,s=n.TypeError;e.exports=function(e){if(r(e))return e;throw s(o(e)+" is not an object")}},"83ab":function(e,t,i){var n=i("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,i){"use strict";var n=i("a04b"),r=i("9bf2"),o=i("5c6c");e.exports=function(e,t,i){var s=n(t);s in e?r.f(e,s,o(0,i)):e[s]=i}},8508:function(e,t,i){"use strict";i("2d99")},"861d":function(e,t,i){var n=i("1626");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8875:function(e,t,i){var n,r,o;(function(i,s){r=[],n=s,o="function"===typeof n?n.apply(t,r):n,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(f){var i,n,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(f.stack)||s.exec(f.stack),l=a&&a[1]||!1,c=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),h=document.getElementsByTagName("script");l===u&&(i=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*