i.touchAngle:90-u>i.touchAngle)),n.isScrolling&&t.emit("touchMoveOpposite",o),void 0===n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){t.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation(),n.isMoved||(i.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",o)),t.emit("sliderMove",o),n.isMoved=!0;var p=t.isHorizontal()?d:h;a.diff=p,p*=i.touchRatio,r&&(p=-p),t.swipeDirection=0t.minTranslate()?(f=!1,i.resistance&&(n.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+n.startTranslate+p,g))):p<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),0i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===n.velocities.length&&n.velocities.push({position:a[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:a[t.isHorizontal()?"currentX":"currentY"],time:oe.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",o)}.bind(e),e.onTouchEnd=function(e){var t=this,n=t.touchEventsData,i=t.params,a=t.touches,r=t.rtlTranslate,o=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=oe.now(),h=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),h<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),n.lastClickTime=oe.now(),oe.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=i.followFinger?r?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.lengtht.minTranslate())i.freeModeMomentumBounce?(x-t.minTranslate()>S&&(x=t.minTranslate()+S),_=t.minTranslate(),w=!0,n.allowMomentumBounce=!0):x=t.minTranslate(),i.loop&&i.centeredSlides&&(b=!0);else if(i.freeModeSticky){for(var M,T=0;T-x){M=T;break}x=-(x=Math.abs(l[M]-x)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var A=0,D=t.slidesSizesGrid[0],k=0;k=s[k]&&u=s[k]&&(A=k,D=s[s.length-1]-s[s.length-2])}var E=(u-s[A])/D,P=Ai.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(E>=i.longSwipesRatio?t.slideTo(A+P):t.slideTo(A)),"prev"===t.swipeDirection&&(E>1-i.longSwipesRatio?t.slideTo(A+P):t.slideTo(A))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||c.target!==t.navigation.nextEl&&c.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(A+P),"prev"===t.swipeDirection&&t.slideTo(A)):c.target===t.navigation.nextEl?t.slideTo(A+P):t.slideTo(A)}}}.bind(e),t.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var i=e.maxTranslate()-e.minTranslate();(0===i?0:(e.translate-e.minTranslate())/i)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(e)),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var r=!!t.nested;if(!C.touch&&C.pointerEvents)i.addEventListener(n.start,e.onTouchStart,!1),x.addEventListener(n.move,e.onTouchMove,r),x.addEventListener(n.end,e.onTouchEnd,!1);else{if(C.touch){var o=!("touchstart"!==n.start||!C.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(n.start,e.onTouchStart,o),i.addEventListener(n.move,e.onTouchMove,C.passiveListener?{passive:!1,capture:r}:r),i.addEventListener(n.end,e.onTouchEnd,o),n.cancel&&i.addEventListener(n.cancel,e.onTouchEnd,o),Y||(x.addEventListener("touchstart",X),Y=!0)}(t.simulateTouch&&!j.ios&&!j.android||t.simulateTouch&&!C.touch&&j.ios)&&(i.addEventListener("mousedown",e.onTouchStart,!1),x.addEventListener("mousemove",e.onTouchMove,r),x.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.addEventListener("click",e.onClick,!0),t.cssMode&&a.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(j.ios||j.android?"resize orientationchange observerUpdate":"resize observerUpdate",U,!0):e.on("observerUpdate",U,!0)},detachEvents:function(){var e=this,t=e.params,n=e.touchEvents,i=e.el,a=e.wrapperEl,r=!!t.nested;if(!C.touch&&C.pointerEvents)i.removeEventListener(n.start,e.onTouchStart,!1),x.removeEventListener(n.move,e.onTouchMove,r),x.removeEventListener(n.end,e.onTouchEnd,!1);else{if(C.touch){var o=!("onTouchStart"!==n.start||!C.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,e.onTouchStart,o),i.removeEventListener(n.move,e.onTouchMove,r),i.removeEventListener(n.end,e.onTouchEnd,o),n.cancel&&i.removeEventListener(n.cancel,e.onTouchEnd,o)}(t.simulateTouch&&!j.ios&&!j.android||t.simulateTouch&&!C.touch&&j.ios)&&(i.removeEventListener("mousedown",e.onTouchStart,!1),x.removeEventListener("mousemove",e.onTouchMove,r),x.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.removeEventListener("click",e.onClick,!0),t.cssMode&&a.removeEventListener("scroll",e.onScroll),e.off(j.ios||j.android?"resize orientationchange observerUpdate":"resize observerUpdate",U)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,i=e.loopedSlides,a=void 0===i?0:i,r=e.params,o=e.$el,s=r.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var l=e.getBreakpoint(s);if(l&&e.currentBreakpoint!==l){var c=l in s?s[l]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=c[e];void 0!==t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var u=c||e.originalParams,d=1').concat(e,""));return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=i),i},appendSlide:function(e){if("object"===y(e)&&"length"in e)for(var t=0;tMath.abs(s.pixelY)))return!0;r=-s.pixelX*o}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;r=-s.pixelY}else r=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*o:-s.pixelY;if(0===r)return!0;if(i.invert&&(r=-r),n.params.freeMode){var l={time:oe.now(),delta:Math.abs(r),direction:Math.sign(r)},c=n.mousewheel.lastEventBeforeSnap,u=c&&l.time=n.minTranslate()&&(d=n.minTranslate()),d<=n.maxTranslate()&&(d=n.maxTranslate()),n.setTransition(0),n.setTranslate(d),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!h&&n.isBeginning||!p&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var f=n.mousewheel.recentWheelEvents;15<=f.length&&f.shift();var g=f.length?f[f.length-1]:void 0,v=f[0];if(f.push(l),g&&(l.delta>g.delta||l.direction!==g.direction))f.splice(0);else if(15<=f.length&&l.time-v.time<500&&1<=v.delta-l.delta&&l.delta<=6){var m=0_.delta||y.time>_.time+150)&&n.mousewheel.animateSlider(y):n.mousewheel.animateSlider(y),n.mousewheel.releaseScroll(y))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this;return 6<=e.delta&&oe.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new re.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=pe.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=L(e.params.mousewheel.eventsTarged)),n.on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=pe.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=L(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),!(this.mousewheel.enabled=!1)}},fe={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,n=t.$nextEl,i=t.$prevEl;i&&0n-1-2*e.loopedSlides&&(r-=n-2*e.loopedSlides),o-1a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),s=r-e.pagination.dynamicBulletIndex,c=((l=s+(Math.min(u.length,a.dynamicMainBullets)-1))+s)/2),u.removeClass("".concat(a.bulletActiveClass," ").concat(a.bulletActiveClass,"-next ").concat(a.bulletActiveClass,"-next-next ").concat(a.bulletActiveClass,"-prev ").concat(a.bulletActiveClass,"-prev-prev ").concat(a.bulletActiveClass,"-main")),1=u.length-a.dynamicMainBullets){for(var v=a.dynamicMainBullets;0<=v;v-=1)u.eq(u.length-v).addClass("".concat(a.bulletActiveClass,"-main"));u.eq(u.length-a.dynamicMainBullets-1).addClass("".concat(a.bulletActiveClass,"-prev"))}else p.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),f.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"));else p.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),f.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"))}}if(a.dynamicBullets){var m=Math.min(u.length,a.dynamicMainBullets+4),y=(e.pagination.bulletSize*m-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,x=t?"right":"left";u.css(e.isHorizontal()?x:"top","".concat(y,"px"))}}if("fraction"===a.type&&(i.find(".".concat(a.currentClass)).text(a.formatFractionCurrent(r+1)),i.find(".".concat(a.totalClass)).text(a.formatFractionTotal(o))),"progressbar"===a.type){var _;_=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var b=(r+1)/o,w=1,S=1;"horizontal"===_?w=b:S=b,i.find(".".concat(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(w,") scaleY(").concat(S,")")).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(i.html(a.renderCustom(e,r+1,o)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,a="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,o=0;o').concat(t.bulletElement,">");i.html(a),e.pagination.bullets=i.find(".".concat(t.bulletClass))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'')+" / "+''),i.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):''),i.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var n=this,e=n.params.pagination;if(e.el){var t=L(e.el);0!==t.length&&(n.params.uniqueNavElements&&"string"==typeof e.el&&1')),i.append(a)),oe.extend(e,{$el:i,el:i[0],$dragEl:a,dragEl:a[0]}),n.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},me={setTransform:function(e,t){var n=this.rtl,i=L(e),a=n?-1:1,r=i.attr("data-swiper-parallax")||"0",o=i.attr("data-swiper-parallax-x"),s=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),c=i.attr("data-swiper-parallax-opacity");if(o||s?(o=o||"0",s=s||"0"):this.isHorizontal()?(o=r,s="0"):(s=r,o="0"),o=0<=o.indexOf("%")?"".concat(parseInt(o,10)*t*a,"%"):"".concat(o*t*a,"px"),s=0<=s.indexOf("%")?"".concat(parseInt(s,10)*t,"%"):"".concat(s*t,"px"),null!=c){var u=c-(c-1)*(1-Math.abs(t));i[0].style.opacity=u}if(null==l)i.transform("translate3d(".concat(o,", ").concat(s,", 0px)"));else{var d=l-(l-1)*(1-Math.abs(t));i.transform("translate3d(".concat(o,", ").concat(s,", 0px) scale(").concat(d,")"))}},setTranslate:function(){var i=this,e=i.$el,t=i.slides,a=i.progress,r=i.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){i.parallax.setTransform(t,a)}),t.each(function(e,t){var n=t.progress;1i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scalei.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.yi.touchesStart.y))return void(i.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentXi.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentYi.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=i.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=i.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(i.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(i.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(i.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(i.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=i.touchesCurrent.x,a.prevPositionY=i.touchesCurrent.y,a.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var a=300,r=300,o=i.x*a,s=n.currentX+o,l=i.y*r,c=n.currentY+l;0!==i.x&&(a=Math.abs((s-n.currentX)/i.x)),0!==i.y&&(r=Math.abs((c-n.currentY)/i.y));var u=Math.max(a,r);n.currentX=s,n.currentY=c;var d=n.width*e.scale,h=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-h/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(u).transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,i,a,r,o,s,l,c,u,d,h,p,f,g,v,m=this.zoom,y=this.params.zoom,x=m.gesture,_=m.image;x.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?x.$slideEl=this.$wrapperEl.children(".".concat(this.params.slideActiveClass)):x.$slideEl=this.slides.eq(this.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),x.$imageWrapEl=x.$imageEl.parent(".".concat(y.containerClass))),x.$imageEl&&0!==x.$imageEl.length&&(x.$slideEl.addClass("".concat(y.zoomedSlideClass)),n=void 0===_.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,"touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=_.touchesStart.x,_.touchesStart.y),m.scale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,m.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(g=x.$slideEl[0].offsetWidth,v=x.$slideEl[0].offsetHeight,i=x.$slideEl.offset().left+g/2-t,a=x.$slideEl.offset().top+v/2-n,s=x.$imageEl[0].offsetWidth,l=x.$imageEl[0].offsetHeight,c=s*m.scale,u=l*m.scale,p=-(d=Math.min(g/2-c/2,0)),f=-(h=Math.min(v/2-u/2,0)),(r=i*m.scale)>1]<=t?r=o:a=o;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new _e.LinearSpline(this.slidesGrid,e.slidesGrid):new _e.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,a=this,r=a.controller.control;function o(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),i=-a.controller.spline.interpolate(-t)),i&&"container"!==a.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),i=(t-a.minTranslate())*n+e.minTranslate()),a.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var s=0;s'),i.append(e)),e.css({height:"".concat(r,"px")})):0===(e=n.find(".swiper-cube-shadow")).length&&(e=L(''),n.append(e)));for(var p=0;p')),f.append(S)),0===M.length&&(M=L('')),f.append(M)),S.length&&(S[0].style.opacity=Math.max(-y,0)),M.length&&(M[0].style.opacity=Math.max(y,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),c.shadow)if(u)e.transform("translate3d(0px, ".concat(r/2+c.shadowOffset,"px, ").concat(-r/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(c.shadowScale,")"));else{var T=Math.abs(h)-90*Math.floor(Math.abs(h)/90),C=1.5-(Math.sin(2*T*Math.PI/360)/2+Math.cos(2*T*Math.PI/360)/2),I=c.shadowScale,A=c.shadowScale/C,D=c.shadowOffset;e.transform("scale3d(".concat(I,", 1, ").concat(A,") translate3d(0px, ").concat(o/2+D,"px, ").concat(-o/2/A,"px) rotateX(-90deg)"))}var k=ne.isSafari||ne.isWebView?-l/2:0;i.transform("translate3d(0px,0,".concat(k,"px) rotateX(").concat(t.isHorizontal()?0:h,"deg) rotateY(").concat(t.isHorizontal()?-h:0,"deg)"))},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},Ie={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n')),i.append(c)),0===u.length&&(u=L('')),i.append(u)),c.length&&(c[0].style.opacity=Math.max(-a,0)),u.length&&(u[0].style.opacity=Math.max(a,0))}i.transform("translate3d(".concat(s,"px, ").concat(l,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(r,"deg)"))}},setTransition:function(e){var n=this,t=n.slides,i=n.activeIndex,a=n.$wrapperEl;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),n.params.virtualTranslate&&0!==e){var r=!1;t.eq(i).transitionEnd(function(){if(!r&&n&&!n.destroyed){r=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t')),p.append(M)),0===T.length&&(T=L('')),p.append(T)),M.length&&(M[0].style.opacity=0t.previousIndex?"next":"prev"}else s=(o=t.realIndex)>t.previousIndex?"next":"prev";r&&(o+="next"===s?a:-1*a),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(o)<0&&(n.params.centeredSlides?o=l'))}}),Object.keys(be).forEach(function(e){t.a11y[e]=be[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){oe.extend(this,{history:{init:we.init.bind(this),setHistory:we.setHistory.bind(this),setHistoryPopState:we.setHistoryPopState.bind(this),scrollToSlide:we.scrollToSlide.bind(this),destroy:we.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){oe.extend(this,{hashNavigation:{initialized:!1,init:Se.init.bind(this),destroy:Se.destroy.bind(this),setHash:Se.setHash.bind(this),onHashCange:Se.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;oe.extend(t,{autoplay:{running:!1,paused:!1,run:Me.run.bind(t),start:Me.start.bind(t),stop:Me.stop.bind(t),pause:Me.pause.bind(t),onVisibilityChange:function(){"hidden"===document.visibilityState&&t.autoplay.running&&t.autoplay.pause(),"visible"===document.visibilityState&&t.autoplay.paused&&(t.autoplay.run(),t.autoplay.paused=!1)},onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){oe.extend(this,{fadeEffect:{setTranslate:Te.setTranslate.bind(this),setTransition:Te.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"fade"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};oe.extend(this.params,e),oe.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){oe.extend(this,{cubeEffect:{setTranslate:Ce.setTranslate.bind(this),setTransition:Ce.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"cube")),this.classNames.push("".concat(this.params.containerModifierClass,"3d"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};oe.extend(this.params,e),oe.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){oe.extend(this,{flipEffect:{setTranslate:Ie.setTranslate.bind(this),setTransition:Ie.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"flip")),this.classNames.push("".concat(this.params.containerModifierClass,"3d"));var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};oe.extend(this.params,e),oe.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){oe.extend(this,{coverflowEffect:{setTranslate:Ae.setTranslate.bind(this),setTransition:Ae.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push("".concat(this.params.containerModifierClass,"coverflow")),this.classNames.push("".concat(this.params.containerModifierClass,"3d")),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){oe.extend(this,{thumbs:{swiper:null,init:De.init.bind(this),update:De.update.bind(this),onThumbClick:De.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===Q.use&&(Q.use=Q.Class.use,Q.installModule=Q.Class.installModule),Q.use(ke),t.default=Q},b719:function(e,t,n){var i=n("697e7");t.zrender=i;var a=n("1687");t.matrix=a;var r=n("401b");t.vector=r;var o=n("6d8b"),s=n("41ef");t.color=s;var l=n("2306"),c=n("3842");t.number=c;var u=n("eda2");t.format=u;var d=n("88b3");d.throttle,t.throttle=d.throttle;var h=n("1548");t.helper=h;var p=n("bda7");t.parseGeoJSON=p;var f=n("6179");t.List=f;var g=n("4319");t.Model=g;var v=n("84ce");t.Axis=v;var m=n("22d1");t.env=m;var y=p,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(e){x[e]=o[e]});var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(e){_[e]=l[e]}),t.parseGeoJson=y,t.util=x,t.graphic=_},b809:function(e,t,n){var s=n("6d8b"),m=n("29a8"),y=n("2b17").retrieveRawValue;e.exports=function(e,t){var n,r=t.getModel("aria");if(r.get("show"))if(r.get("description"))e.setAttribute("aria-label",r.get("description"));else{var d=0;t.eachSeries(function(e,t){++d},this);var i,h=r.get("data.maxCount")||10,a=r.get("series.maxCount")||10,p=Math.min(d,a);if(!(d<1)){var o=((n=t.getModel("title").option)&&n.length&&(n=n[0]),n&&n.text);i=o?g(v("general.withTitle"),{title:o}):v("general.withoutTitle");var f=[];i+=g(v(1h?n+=g(v("data.partialData"),{displayCnt:h}):n+=v("data.allData");for(var o=[],s=0;sl+o);a++)if(r[a].y+=n,er[a].y+r[a].height)return void d(a,n/2);d(t-1,n/2)}function d(e,t){for(var n=e;0<=n&&!(r[n].y-tr[n-1].y+r[n-1].height));n--);}function h(e,t,n,i,a,r){for(var o=t?Number.MAX_VALUE:0,s=0,l=e.length;s=t?m.push(r[y]):v.push(r[y]);h(v,!1,e,t,n,i),h(m,!0,e,t,n,i)}function _(e){return"center"===e.position}e.exports=function(k,L,E,e,P,t){var O,R,N=k.getData(),z=[],B=!1,V=(k.get("minShowLabelAngle")||0)*i;N.each(function(e){var t=N.getItemLayout(e),n=N.getItemModel(e),i=n.getModel("label"),a=i.get("position")||n.get("emphasis.label.position"),r=i.get("distanceToLabelLine"),o=i.get("alignTo"),s=H(i.get("margin"),E),l=i.get("bleedMargin"),c=i.getFont(),u=n.getModel("labelLine"),d=u.get("length");d=H(d,E);var h=u.get("length2");if(h=H(h,E),!(t.anglee[1]&&e.reverse(),e}function g(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:b[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}})},p.matchOutputRanges=function(e,i,a){u(e,function(n){var e=this.findTargetInfo(n,i);e&&!0!==e&&l.each(e.coordSyses,function(e){var t=x[n.brushType](1,e,n.range);a(n,t.values,e,i)})},this)},p.setInputRanges=function(e,c){u(e,function(e){var t,n,i,a,r,o=this.findTargetInfo(e,c);if(e.range=e.range||[],o&&!0!==o){e.panelId=o.panelId;var s=x[e.brushType](0,o.coordSys,e.coordRange),l=e.__rangeOffset;e.range=l?b[e.brushType](s.values,l.offset,(t=s.xyMinMax,n=l.xyMinMax,i=S(t),a=S(n),r=[i[0]/a[0],i[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):s.values}},this)},p.makePanelOpts=function(n,i){return l.map(this._targetInfoList,function(e){var t=e.getPanelRect();return{panelId:e.panelId,defaultBrushType:i&&i(e),clipPath:r.makeRectPanelClipPath(t),isTargetByCursor:r.makeRectIsTargetByCursor(t,n,e.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(t)}})},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&0<=c(i.coordSyses,t.coordinateSystem)},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=g(t,e),a=0;a>1^-(1&s),l=l>>1^-(1&l),a=s+=a,r=l+=r,i.push([s/n,l/n])}return i}e.exports=function(e,o){return function(e){if(e.UTF8Encoding){var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,i=0;iu.getLayout().x&&(u=e),e.depth>d.depth&&(d=e)});var h=c===u?1:o(c,u)/2,p=h-c.getLayout().x,f=0,g=0,v=0,m=0;if("radial"===i)f=a/(u.getLayout().x+h+p),g=r/(d.depth-1||1),_(l,function(e){v=(e.getLayout().x+p)*f,m=(e.depth-1)*g;var t=T(v,m);e.setLayout({x:t.x,y:t.y,rawX:v,rawY:m},!0)});else{var y=e.getOrient();"RL"===y||"LR"===y?(g=r/(u.getLayout().x+h+p),f=a/(d.depth-1||1),_(l,function(e){m=(e.getLayout().x+p)*g,v="LR"===y?(e.depth-1)*f:a-(e.depth-1)*f,e.setLayout({x:v,y:m},!0)})):"TB"!==y&&"BT"!==y||(f=a/(u.getLayout().x+h+p),g=r/(d.depth-1||1),_(l,function(e){v=(e.getLayout().x+p)*f,m="TB"===y?(e.depth-1)*g:r-(e.depth-1)*g,e.setLayout({x:v,y:m},!0)}))}}}(e,t)})}},ca98:function(e,t,n){var u=n("6d8b"),o=n("e0d3"),s=n("6cb7"),c=u.each,d=u.clone,h=u.map,l=u.merge,p=/^(min|max)?(.+)$/;function i(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function f(e,t,n){var l={width:t,height:n,aspectratio:t/n},c=!0;return u.each(e,function(e,t){var n,i,a,r=t.match(p);if(r&&r[1]&&r[2]){var o=r[1],s=r[2].toLowerCase();n=l[s],i=e,("min"===(a=o)?i<=n:"max"===a?n<=i:n===i)||(c=!1)}}),c}i.prototype={constructor:i,setOption:function(e,t){e&&u.each(o.normalizeToArray(e.series),function(e){e&&e.data&&u.isTypedArray(e.data)&&u.setAsPrimitive(e.data)}),e=d(e);var a,n,i=this._optionBackup,r=function(e,n,i){var t,a,r=[],o=[],s=e.timeline;if(e.baseOption&&(a=e.baseOption),(s||e.options)&&(a=a||{},r=(e.options||[]).slice()),e.media){a=a||{};var l=e.media;c(l,function(e){e&&e.option&&(e.query?o.push(e):t||(t=e))})}return a||(a=e),a.timeline||(a.timeline=s),c([a].concat(r).concat(u.map(o,function(e){return e.option})),function(t){c(n,function(e){e(t,i)})}),{baseOption:a,timelineOptions:r,mediaDefault:t,mediaList:o}}.call(this,e,t,!i);this._newBaseOption=r.baseOption,i?(a=i.baseOption,n=r.baseOption,c(n=n||{},function(e,t){if(null!=e){var n=a[t];if(s.hasClass(t)){e=o.normalizeToArray(e),n=o.normalizeToArray(n);var i=o.mappingToExists(n,e);a[t]=h(i,function(e){return e.option&&e.exist?l(e.exist,e.option,!0):e.exist||e.option})}else a[t]=l(n,e,!0)}}),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=h(t.timelineOptions,d),this._mediaList=h(t.mediaList,d),this._mediaDefault=d(t.mediaDefault),this._currentMediaIndices=[],d(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(t=d(n[i.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t,n,i=this._api.getWidth(),a=this._api.getHeight(),r=this._mediaList,o=this._mediaDefault,s=[],l=[];if(!r.length&&!o)return l;for(var c=0,u=r.length;ci[1]&&(i[1]=t[1])})}),i[1]d[1];if(o&&!s&&!l)return!0;o&&(i=!0),s&&(t=!0),l&&(n=!0)}return i&&t&&n}):g(u,function(e){if("empty"===a)n.setData(c=c.map(e,function(e){return(t=e)>=d[0]&&t<=d[1]?e:NaN;var t}));else{var t={};t[e]=d,c.selectRange(t)}}),g(u,function(e){c.setApproximateExtent(d,e)}))})}}};var o=a;e.exports=o},cccd:function(e,t,n){var i=n("e0d3").makeInner;e.exports=function(){var s=i();return function(e){var t=s(e),n=e.pipelineContext,i=t.large,a=t.progressiveRender,r=t.large=n&&n.large,o=t.progressiveRender=n&&n.progressiveRender;return!!(i^r||a^o)&&"reset"}}},cd12:function(e,t,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(e,t,n){var x=n("6d8b"),_=n("4319"),b=x.each,s=x.curry;function w(e,t){return"all"===e||x.isArray(e)&&0<=x.indexOf(e,t)||e===t}function c(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[M(e)]}function S(e){return!!e.get("handle.show")}function M(e){return e.type+"||"+e.id}t.collect=function(e,t){var f,g,n,o,v,m,y,i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f=i,n=t,o=(g=e).getComponent("tooltip"),v=g.getComponent("axisPointer"),m=v.get("link",!0)||[],y=[],b(n.getCoordinateSystems(),function(d){if(d.axisPointerEnabled){var e=M(d.model),h=f.coordSysAxesInfo[e]={},t=(f.coordSysMap[e]=d).model,p=t.getModel("tooltip",o);if(b(d.getAxes(),s(r,!1,null)),d.getTooltipAxes&&o&&p.get("show")){var n="axis"===p.get("trigger"),i="cross"===p.get("axisPointer.type"),a=d.getTooltipAxes(p.get("axisPointer.axis"));(n||i)&&b(a.baseAxes,s(r,!i||"cross",n)),i&&b(a.otherAxes,s(r,"cross",!1))}}function r(e,t,n){var i=n.model.getModel("axisPointer",v),a=i.get("show");if(a&&("auto"!==a||e||S(i))){null==t&&(t=i.get("triggerTooltip"));var r=(i=e?function(e,t,n,i,a,r){var o=t.getModel("axisPointer"),s={};b(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=x.clone(o.get(e))}),s.snap="category"!==e.type&&!!r,"cross"===o.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===a){var c=o.get("label.show");if(l.show=null==c||c,!r){var u=s.lineStyle=o.get("crossStyle");u&&x.defaults(l,u.textStyle)}}return e.model.getModel("axisPointer",new _(s,n,i))}(n,p,v,g,e,t):i).get("snap"),o=M(n.model),s=t||r||"category"===n.type,l=f.axesInfo[o]={key:o,axis:n,coordSys:d,axisPointerModel:i,triggerTooltip:t,involveSeries:s,snap:r,useHandle:S(i),seriesModels:[]};h[o]=l,f.seriesInvolved|=s;var c=function(e,t){for(var n=t.model,i=t.dim,a=0;al[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o=i.start.time&&n.timer.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;(e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])])[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/864e5)-Math.floor(e[0].time/864e5)+1,i=new Date(e[0].time),a=i.getDate(),r=e[1].date.getDate();i.setDate(a+n-1);var o=i.getDate();if(o!==r)for(var s=0i.weeks||0===e&&ti.lweek)return!1;var a=7*(e-1)-i.fweek+t,r=new Date(i.start.time);return r.setDate(i.start.d+a),this.getDateInfo(r)}},o.dimensions=o.prototype.dimensions,o.getDimensionsInfo=o.prototype.getDimensionsInfo,o.create=function(n,i){var a=[];return n.eachComponent("calendar",function(e){var t=new o(e,n,i);a.push(t),e.coordinateSystem=t}),n.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=a[e.get("calendarIndex")||0])}),a},i.register("calendar",o);var s=o;e.exports=s},d15d:function(e,t,n){var i=n("6d8b"),a=i.createHashMap,r=i.each;function o(v){r(v,function(u,d){var h=[],p=[NaN,NaN],e=[u.stackResultDimension,u.stackedOverDimension],f=u.data,g=u.isStackedByIndex,t=f.map(e,function(e,t,n){var i,a,r=f.get(u.stackedDimension,n);if(isNaN(r))return p;g?a=f.getRawIndex(n):i=f.get(u.stackedByDimension,n);for(var o=NaN,s=d-1;0<=s;s--){var l=v[s];if(g||(a=l.data.rawIndexOf(l.stackedByDimension,i)),0<=a){var c=l.data.getByRawIndex(l.stackResultDimension,a);if(0<=r&&0i.getWidth()||n<0||n>i.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(h,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(e){var t=e.zrX,n=e.zrY,i=g(this,t,n),a=this._hovered,r=a.target;r&&!r.__zr&&(r=(a=this.findHover(a.x,a.y)).target);var o=this._hovered=i?{x:t,y:n}:this.findHover(t,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(a,"mouseout",e),this.dispatchToElement(o,"mousemove",e),s&&s!==r&&this.dispatchToElement(o,"mouseover",e)},mouseout:function(e){var t=e.zrEventControl,n=e.zrIsToLocalDOM;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&!n&&this.trigger("globalout",{type:"globalout",event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){var i,a,r=(e=e||{}).target;if(!r||!r.silent){for(var o="on"+t,s={type:t,event:a=n,target:(i=e).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:a.zrX,offsetY:a.zrY,gestureEvent:a.gestureEvent,pinchX:a.pinchX,pinchY:a.pinchY,pinchScale:a.pinchScale,wheelDelta:a.zrDelta,zrByTouch:a.zrByTouch,which:a.which,stop:u};r&&(r[o]&&(s.cancelBubble=r[o].call(r,s)),r.trigger(t,s),r=r.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(t,s),this.painter&&this.painter.eachOtherLayer(function(e){"function"==typeof e[o]&&e[o].call(e,s),e.trigger&&e.trigger(t,s)}))}},findHover:function(e,t,n){for(var i=this.storage.getDisplayList(),a={x:e,y:t},r=i.length-1;0<=r;r--){var o;if(i[r]!==n&&!i[r].ignore&&(o=f(i[r],e,t))&&(!a.topTarget&&(a.topTarget=i[r]),o!==c)){a.target=i[r];break}}return a},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===t&&n.clear();var i=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),i){var a=i.type;e.gestureEvent=a,this.dispatchToElement({target:i.target},a,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){p.prototype[o]=function(e){var t,n,i=e.zrX,a=e.zrY,r=g(this,i,a);if("mouseup"===o&&r||(n=(t=this.findHover(i,a)).target),"mousedown"===o)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===o)this._upEl=n;else if("click"===o){if(this._downEl!==this._upEl||!this._downPoint||4')}}catch(e){i=function(e){return l.createElement("<"+e+' xmlns="'+r+'" class="zrvml">')}}t.doc=l,t.createNode=function(e){return i(e)},t.initVML=function(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},d3f4:function(e,t){e.exports=function(e){return{seriesType:e,reset:function(e,t){var i=t.findComponents({mainType:"legend"});if(i&&i.length){var a=e.getData();a.filterSelf(function(e){for(var t=a.getName(e),n=0;ni[0]&&(i[0]=r[0]),r[1]>i[1]&&(i[1]=r[1])}return{min:t?n:i,max:t?i:n}}var r=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,a=n.length,r=d(n,t.smoothConstraint);if(t.connectNulls){for(;0=this._maxSize&&0=_[i=0]+e&&o<=_[1]+e?u:0}(a=r?(l=i,i=g(a),g(l)):(i=g(i),g(a)))Math.PI/2&&f<1.5*Math.PI&&(u=-u),d+=u)}}return d}function a(e,t,n,i,a){for(var r=0,o=0,s=0,l=0,c=0,u=0;ua*(1-u[0])?(l="jump",o=s-a*(1-u[2])):0<=(o=s-a*u[1])&&(o=s-a*(1-u[1]))<=0&&(o=0),(o*=t.axisExpandWidth/c)?h(o,i,r,"all"):l="none"):(a=i[1]-i[0],(i=[v(0,r[1]*s/a-a/2)])[1]=g(r[1],i[0]+a),i[0]=i[1]-a);return{axisExpandWindow:i,behavior:l}}};var s=o;e.exports=s},d9f1:function(e,t,n){var i=n("6d8b"),a=n("6cb7"),r=n("9e47"),o=n("2023"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,o);var l={splitNumber:5};function c(e,t){return t.type||(t.data?"category":"value")}r("angle",s,c,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),r("radius",s,c,l)},d9fc:function(e,t,n){var i=n("cbe5").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=i},dae1:function(e,t,n){var i=n("3eba");n("928d"),n("b369"),n("4411");var a=n("90c2"),r=n("9ca8");i.registerVisual(a),i.registerLayout(r)},db0e:function(e,t,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor(function(e){e.markPoint=e.markPoint||{}})},db9e:function(e,t,n){var i=n("3eba"),m=n("6d8b"),s=n("e86a"),y=n("2145"),x=n("2306"),_=n("4319"),a=n("80f0"),r=n("7919"),o=i.extendComponentView({type:"toolbox",render:function(u,d,h,l){var p=this.group;if(p.removeAll(),u.get("show")){var f=+u.get("itemSize"),c=u.get("feature")||{},g=this._features||(this._features={}),v=[];m.each(c,function(e,t){v.push(t)}),new a(this._featureNames||[],v).add(e).update(e).remove(m.curry(e,null)).execute(),this._featureNames=v,r.layout(p,u,h),p.add(r.makeBackground(p.getBoundingRect(),u)),p.eachChild(function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var i=s.getBoundingRect(t,s.makeFont(n)),a=e.position[0]+p.position[0],r=!1;e.position[1]+p.position[1]+f+i.height>h.getHeight()&&(n.textPosition="top",r=!0);var o=r?-5-i.height:f+8;a+i.width/2>h.getWidth()?(n.textPosition=["100%",o],n.textAlign="right"):a-i.width/2<0&&(n.textPosition=[0,o],n.textAlign="left")}})}function e(e,t){var n,i=v[e],a=v[t],r=c[i],o=new _(r,u,u.ecModel);if(l&&null!=l.newTitle&&l.featureName===i&&(r.title=l.newTitle),i&&!a){if(0===i.indexOf("my"))n={model:o,onclick:o.option.onclick,featureName:i};else{var s=y.get(i);if(!s)return;n=new s(o,d,h)}g[i]=n}else{if(!(n=g[a]))return;n.model=o,n.ecModel=d,n.api=h}i||!a?o.get("show")&&!n.unusable?(function(a,r,e){var o=a.getModel("iconStyle"),s=a.getModel("emphasis.iconStyle"),t=r.getIcons?r.getIcons():a.get("icon"),l=a.get("title")||{};if("string"==typeof t){var n=t,i=l;l={},(t={})[e]=n,l[e]=i}var c=a.iconPaths={};m.each(t,function(e,t){var n=x.createIcon(e,{},{x:-f/2,y:-f/2,width:f,height:f});n.setStyle(o.getItemStyle()),n.hoverStyle=s.getItemStyle(),n.setStyle({text:l[t],textAlign:s.get("textAlign"),textBorderRadius:s.get("textBorderRadius"),textPadding:s.get("textPadding"),textFill:null});var i=u.getModel("tooltip");i&&i.get("show")&&n.attr("tooltip",m.extend({content:l[t],formatter:i.get("formatter",!0)||function(){return l[t]},formatterParams:{componentType:"toolbox",name:t,title:l[t],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),x.setHoverStyle(n),u.get("showTitle")&&(n.__title=l[t],n.on("mouseover",function(){var e=s.getItemStyle(),t="vertical"===u.get("orient")?null==u.get("right")?"right":"left":null==u.get("bottom")?"bottom":"top";n.setStyle({textFill:s.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:s.get("textBackgroundColor"),textPosition:s.get("textPosition")||t})}).on("mouseout",function(){n.setStyle({textFill:null,textBackgroundColor:null})})),n.trigger(a.get("iconStatus."+t)||"normal"),p.add(n),n.on("click",m.bind(r.onclick,r,d,h,t)),c[t]=n})}(o,n,i),o.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},n.render&&n.render(o,d,h,l)):n.remove&&n.remove(d,h):n.dispose&&n.dispose(d,h)}},updateView:function(e,t,n,i){m.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,n,i)})},remove:function(t,n){m.each(this._features,function(e){e.remove&&e.remove(t,n)}),this.group.removeAll()},dispose:function(t,n){m.each(this._features,function(e){e.dispose&&e.dispose(t,n)})}});e.exports=o},dc20:function(e,t,n){var l=n("8727").createElement,c=n("6d8b"),i=n("4942"),g=n("cbe5"),v=n("0da8"),m=n("76a5"),y=n("0c12"),u=n("b16f"),d=n("9fa3"),h=n("bcaa"),a=n("3f8e"),x=a.path,_=a.image,b=a.text;function p(e){return parseInt(e,10)}function r(e,t){return t&&e&&t.parentNode!==e}function w(e,t,n){if(r(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function S(e,t){if(r(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function M(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function T(e){return e.__textSvgEl}function C(e){return e.__svgEl}var o=function(e,t,n,i){this.root=e,this.storage=t,this._opts=n=c.extend({},n||{});var a=l("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=l("g");a.appendChild(r);var o=l("g");a.appendChild(o),this.gradientManager=new u(i,o),this.clipPathManager=new d(i,o),this.shadowManager=new h(i,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=o,this._backgroundRoot=r,this._viewport=s,e.appendChild(s),s.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};o.prototype={constructor:o,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=l("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n,i=this._svgRoot,a=this._visibleList,r=e.length,o=[];for(t=0;t\n\r<"))}},c.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(e){var t;o.prototype[e]=(t=e,function(){i('In SVG mode painter not support method "'+t+'"')})});var s=o;e.exports=s},dc2f:function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var i=n;e.exports=i},dcb3:function(e,t,n){var h=n("6d8b"),i=n("625e"),p=n("2306"),c=n("cd33"),l=n("607d"),u=n("88b3"),o=(0,n("e0d3").makeInner)(),s=h.clone,d=h.bind;function a(){}function f(e,t,n,i){(function n(i,e){if(h.isObject(i)&&h.isObject(e)){var a=!0;return h.each(e,function(e,t){a=a&&n(i[t],e)}),!!a}return i===e})(o(n).lastProp,i)||(o(n).lastProp=i,t?p.updateProps(n,i,e):(n.stopAnimation(),n.attr(i)))}function r(e,t){e[t.get("label.show")?"show":"hide"]()}function g(e){return{position:e.position.slice(),rotation:e.rotation||0}}function v(e,t,n){var i=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=a&&(e.zlevel=a),e.silent=n)})}(a.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,i){var a=t.get("value"),r=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==a||this._lastStatus!==r){this._lastValue=a,this._lastStatus=r;var o=this._group,s=this._handle;if(!r||"hide"===r)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,a,e,t,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(e,t);if(o){var d=h.curry(f,t,u);this.updatePointerEl(o,l,d,t),this.updateLabelEl(o,l,d,t)}else o=this._group=new p.Group,this.createPointerEl(o,l,e,t),this.createLabelEl(o,l,e,t),n.getZr().add(o);v(o,t,!0),this._renderHandle(a)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),i=e.axis,a="category"===i.type,r=t.get("snap");if(!r&&!a)return!1;if("auto"!==n&&null!=n)return!0===n;var o=this.animationThreshold;if(a&&i.getBandWidth()>o)return!0;if(r){var s=c.getAxisInfo(e).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1},makeElOption:function(e,t,n,i,a){},createPointerEl:function(e,t,n,i){var a=t.pointer;if(a){var r=o(e).pointerEl=new p[a.type](s(t.pointer));e.add(r)}},createLabelEl:function(e,t,n,i){if(t.label){var a=o(e).labelEl=new p.Rect(s(t.label));e.add(a),r(a,i)}},updatePointerEl:function(e,t,n){var i=o(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,i){var a=o(e).labelEl;a&&(a.setStyle(t.label.style),n(a,{shape:t.label.shape,position:t.label.position}),r(a,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,r=n.getModel("handle"),o=n.get("status");if(!r.get("show")||!o||"hide"===o)return a&&i.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=p.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){l.stop(e.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),i.add(a)),v(a,n,!1);a.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=r.get("size");h.isArray(s)||(s=[s,s]),a.attr("scale",[s[0]/2,s[1]/2]),u.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){f(this._axisPointerModel,!t&&this._moveAnimation,this._handle,g(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),o(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},_onHandleDragEnd:function(e){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}}).constructor=a,i.enableClassExtend(a);var m=a;e.exports=m},dcea:function(e,t,n){var u=n("6d8b"),i=n("e887"),d=n("2306"),a=n("cbe5"),h=["itemStyle"],p=["emphasis","itemStyle"],r=i.extend({type:"boxplot",render:function(e,t,n){var a=e.getData(),r=this.group,o=this._data;this._data||r.removeAll();var s="horizontal"===e.get("layout")?1:0;a.diff(o).add(function(e){if(a.hasValue(e)){var t=l(a.getItemLayout(e),a,e,s,!0);a.setItemGraphicEl(e,t),r.add(t)}}).update(function(e,t){var n=o.getItemGraphicEl(t);if(a.hasValue(e)){var i=a.getItemLayout(e);n?g(i,n,a,e):n=l(i,a,e,s),r.add(n),a.setItemGraphicEl(e,n)}else r.remove(n)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&r.remove(t)}).execute(),this._data=a},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(e){e&&t.remove(e)})},dispose:u.noop}),f=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i=r.length&&r.push({option:e})}}),r},t.makeIdAndName=function(e){var o=d.createHashMap();h(e,function(e,t){var n=e.exist;n&&o.set(n.id,e)}),h(e,function(e,t){var n=e.option;d.assert(!n||null==n.id||!o.get(n.id)||o.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&o.set(n.id,e),!e.keyInfo&&(e.keyInfo={})}),h(e,function(e,t){var n=e.exist,i=e.option,a=e.keyInfo;if(s(i)){if(a.name=null!=i.name?i.name+"":n?n.name:"series\0"+t,n)a.id=n.id;else if(null!=i.id)a.id=i.id+"";else for(var r=0;a.id="\0"+a.name+"\0"+r++,o.get(a.id););o.set(a.id,e)}})},t.isNameSpecified=function(e){var t=e.name;return!(!t||!t.indexOf("series\0"))},t.isIdInner=o,t.compressBatches=function(e,t){var n={},i={};return a(e||[],n),a(t||[],i,n),[r(n),r(i)];function a(e,t,n){for(var i=0,a=e.length;i=t[0]&&e<=t[1]},a.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},a.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},a.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},a.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(e){this._isBlank=e},a.prototype.getLabel=null,i.enableClassExtend(a),i.enableClassManagement(a,{registerWhenExtend:!0});var r=a;e.exports=r},e1fc:function(e,t,n){var r=n("6d8b"),i=n("d5b7"),c=n("9850"),o=function(e){for(var t in e=e||{},i.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;nt)return e[i];return e[n-1]}(s,n):o;if((l=l||o)&&l.length){var c=l[a];return e&&(r[e]=c),i.colorIdx=(a+1)%l.length,c}}};e.exports=r},e4d1:function(e,t,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e6cd:function(e,t,n){var l=n("6d8b");t.createWrap=function(){var r,o=[],s={};return{add:function(e,t,n,i,a){return l.isString(i)&&(a=i,i=0),!s[e.id]&&(s[e.id]=1,o.push({el:e,target:t,time:n,delay:i,easing:a}),!0)},done:function(e){return r=e,this},start:function(){for(var e=o.length,t=0,n=o.length;t=t.maxIterations){e+=t.ellipsis;break}var s=0===o?p(e,a,t.ascCharWidth,t.cnCharWidth):0p)return{lines:[],width:0,height:0};x.textWidth=R(x.text,w);var M=_.textWidth,T=null==M||"auto"===M;if("string"==typeof M&&"%"===M.charAt(M.length-1))x.percentWidth=M,c.push(x),M=0;else{if(T){M=x.textWidth;var C=_.textBackgroundColor,I=C&&C.image;I&&(I=L.findExistImage(I),L.isImageReady(I)&&(M=Math.max(M,I.width*S/I.height)))}var A=b?b[1]+b[3]:0;M+=A;var D=null!=h?h-m:null;null!=D&&D"],u.isArray(e)&&(e=e.slice(),i=!0),a=t?e:i?[c(e[0]),c(e[1])]:c(e),u.isString(l)?l.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):u.isFunction(l)?i?l(e[0],e[1]):l(e):i?e[0]===s[0]?n[0]+" "+a[1]:e[1]===s[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(e){return e===s[0]?"min":e===s[1]?"max":(+e).toFixed(Math.min(o,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,a=i.length-1;0<=a;a--){var r=i[a];if(!e.getDimensionInfo(r).isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),a=t.controller||(t.controller={});u.merge(i,n),u.merge(a,n);var c=this.isCategory();function r(i){p(t.color)&&!i.inRange&&(i.inRange={color:t.color.slice().reverse()}),i.inRange=i.inRange||{color:e.get("gradientColor")},f(this.stateList,function(e){var t=i[e];if(u.isString(t)){var n=o.get(t,"active",c);n?(i[e]={},i[e][t]=n):delete i[e]}},this)}r.call(this,i),r.call(this,a),function(e,t,n){var i=e[t],a=e[n];i&&!a&&(a=e[n]={},f(i,function(e,t){if(s.isValidType(t)){var n=o.get(t,"inactive",c);null!=n&&(a[t]=n,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(r){var o=(r.inRange||{}).symbol||(r.outOfRange||{}).symbol,s=(r.inRange||{}).symbolSize||(r.outOfRange||{}).symbolSize,l=this.get("inactiveColor");f(this.stateList,function(e){var t=this.itemSize,n=r[e];n||(n=r[e]={color:c?l:[l]}),null==n.symbol&&(n.symbol=o&&u.clone(o)||(c?"roundRect":["roundRect"])),null==n.symbolSize&&(n.symbolSize=s&&u.clone(s)||(c?t[0]:[t[0],t[0]])),n.symbol=d(n.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var i=n.symbolSize;if(null!=i){var a=-1/0;h(i,function(e){ae[1]&&e.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:e[1],r0:e[0]},api:{coord:i.bind(function(e){var t=r.dataToRadius(e[0]),n=o.dataToAngle(e[1]),i=a.coordToPoint([t,n]);return i.push(t,n*Math.PI/180),i}),size:i.bind(s,a)}}}},eb6b:function(e,t,n){var _=n("6d8b"),i=n("e0d3").makeInner,d=n("cd33"),b=n("133d"),w=_.each,S=_.curry,M=i();function T(e,t,n,i,a){var l,r,c,u,d,h,p,f,o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var s=(l=t,c=(r=e).axis,u=c.dim,d=l,h=[],p=Number.MAX_VALUE,f=-1,w(r.seriesModels,function(t,e){var n,i,a=t.getData().mapDimension(u,!0);if(t.getAxisTooltipData){var r=t.getAxisTooltipData(a,l,c);i=r.dataIndices,n=r.nestestValue}else{if(!(i=t.getData().indicesOfNearest(a[0],l,"category"===c.type?.5:null)).length)return;n=t.getData().get(a[0],i[0])}if(null!=n&&isFinite(n)){var o=l-n,s=Math.abs(o);s<=p&&((st[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},i.inherits(a,r);var o=a;e.exports=o},ec34:function(e,t,n){var i=(n("4e08").__DEV__,n("6d8b")),a=i.createHashMap,r=i.isString,o=i.isArray,s=i.each,l=(i.assert,n("3041")).parseXML,c=a(),u={registerMap:function(e,t,n){var i;return i=o(t)?t:t.svg?[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),[{type:"geoJSON",source:t,specialAreas:n}]),s(i,function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON"),(0,d[t])(e)}),c.set(e,i)},retrieveMap:function(e){return c.get(e)}},d={geoJSON:function(e){var t=e.source;e.geoJSON=r(t)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=l(e.source)}};e.exports=u},ec6f:function(e,t,n){var i=n("6d8b"),a=i.createHashMap,r=i.isTypedArray,o=n("625e").enableClassCheck,s=n("93d0"),l=s.SOURCE_FORMAT_ORIGINAL,c=s.SERIES_LAYOUT_BY_COLUMN,u=s.SOURCE_FORMAT_UNKNOWN,d=s.SOURCE_FORMAT_TYPED_ARRAY,h=s.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===h?{}:[]),this.sourceFormat=e.sourceFormat||u,this.seriesLayoutBy=e.seriesLayoutBy||c,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&a(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:r(e)?d:l,fromDataset:!1})},o(p);var f=p;e.exports=f},ecf8:function(e,t,n){var f=n("6d8b"),g=n("3842").parsePercent,v=f.each;e.exports=function(e){var i,a,t=(i=[],a=[],e.eachSeriesByType("boxplot",function(e){var t=e.getBaseAxis(),n=f.indexOf(a,t);n<0&&(n=a.length,a[n]=t,i[n]={axis:t,seriesModels:[]}),i[n].seriesModels.push(e)}),i);v(t,function(n){var e=n.seriesModels;e.length&&(function(e){var t,n,i=e.axis,a=e.seriesModels,r=a.length,o=e.boxWidthList=[],s=e.boxOffsetList=[],l=[];if("category"===i.type)n=i.getBandWidth();else{var c=0;v(a,function(e){c=Math.max(c,e.getData().count())}),t=i.getExtent(),Math.abs(t[1]-t[0])}v(a,function(e){var t=e.get("boxWidth");f.isArray(t)||(t=[t,t]),l.push([g(t[0],n)||0,g(t[1],n)||0])});var u=.8*n-2,d=u/r*.3,h=(u-d*(r-1))/r,p=h/2-u/2;v(a,function(e,t){s.push(p),p+=d+h,o.push(Math.min(Math.max(h,l[t][0]),l[t][1]))})}(n),v(e,function(e,t){!function(e,o,t){var s=e.coordinateSystem,l=e.getData(),r=t/2,c="horizontal"===e.get("layout")?0:1,u=1-c,n=["x","y"],i=l.mapDimension(n[c]),a=l.mapDimension(n[u],!0);if(!(null==i||a.length<5))for(var d=0;da[0]){for(s=0;se);s++);o=i[a[s]]}if(a.splice(s+1,0,e),!(i[e]=t).virtual)if(o){var c=o.dom;c.nextSibling?l.insertBefore(t.dom,c.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else u("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,i,a=this._zlevelList;for(i=0;i"'])/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(e){return null==e?"":(e+"").replace(a,function(e,t){return r[t]})}var p=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function g(e,t){return"0000".substr(0,t-(e+="").length)+e}var o=l.truncateText;t.addCommas=function(e){return isNaN(e)?"-":(e=(e+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1':'':{renderMode:a,content:"{marker"+r+"|} ",style:{color:n}}:""},t.formatTime=function(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=h.parseDate(t),a=n?"UTC":"",r=i["get"+a+"FullYear"](),o=i["get"+a+"Month"]()+1,s=i["get"+a+"Date"](),l=i["get"+a+"Hours"](),c=i["get"+a+"Minutes"](),u=i["get"+a+"Seconds"](),d=i["get"+a+"Milliseconds"]();return e=e.replace("MM",g(o,2)).replace("M",o).replace("yyyy",r).replace("yy",r%100).replace("dd",g(s,2)).replace("d",s).replace("hh",g(l,2)).replace("h",l).replace("mm",g(c,2)).replace("m",c).replace("ss",g(u,2)).replace("s",u).replace("SSS",g(d,3))},t.capitalFirst=function(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e},t.truncateText=o,t.getTextBoundingRect=function(e){return l.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)},t.getTextRect=function(e,t,n,i,a,r,o,s){return l.getBoundingRect(e,t,n,i,a,s,r,o)},t.windowOpen=function(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}},edaf:function(e,t,n){var o=n("6d8b"),i=n("6cb7"),s=n("6179"),l=n("e0d3"),a=i.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){a.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(t<=e&&(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||[],n=e.axisType,a=this._names=[];if("category"===n){var r=[];o.each(t,function(e,t){var n,i=l.getDataItemValue(e);o.isObject(e)?(n=o.clone(e)).value=t:n=t,r.push(n),o.isString(i)||null!=i&&!isNaN(i)||(i=""),a.push(i+"")}),t=r}var i={category:"ordinal",time:"time"}[n]||"number";(this._data=new s([{name:"value",type:i}],this)).initData(t,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),r=a;e.exports=r},edb9:function(e,t,n){var d=n("6d8b");t.layout=function(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,a={},r=i.position,o=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};a.position=["vertical"===o?c.vertical[r]:l[0],"horizontal"===o?c.horizontal[r]:l[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),d.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var u=t.rotate;return null==u&&(u=e.get("axisLabel.rotate")),a.labelRotation="top"===r?-u:u,a.z2=1,a}},ee1a:function(e,t,n){var i=n("6d8b"),p=i.each,f=i.isString;function a(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}t.enableDataStack=function(e,n,t){var i,a,r,o,s=(t=t||{}).byIndex,l=t.stackedCoordDimension,c=!(!e||!e.get("stack"));if(p(n,function(e,t){f(e)&&(n[t]=e={name:e}),c&&!e.isExtraCoord&&(s||i||!e.ordinalMeta||(i=e),a||"ordinal"===e.type||"time"===e.type||l&&l!==e.coordDim||(a=e))}),!a||s||i||(s=!0),a){r="__\0ecstackresult",o="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var u=a.coordDim,d=a.type,h=0;p(n,function(e){e.coordDim===u&&h++}),n.push({name:r,coordDim:u,coordDimIndex:h,type:d,isExtraCoord:!0,isCalculationCoord:!0}),h++,n.push({name:o,coordDim:o,coordDimIndex:h,type:d,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:o,stackResultDimension:r}},t.isDimensionStacked=a,t.getStackedDimension=function(e,t){return a(e,t)?e.getCalculationInfo("stackResultDimension"):t}},ee66:function(e,t,n){var i=n("3eba"),b=n("6d8b"),w=n("2306"),a=n("eda2"),m=n("3842"),S={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},y={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},r=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var a=e.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(e,r,i),this._renderLines(e,r,o,i),this._renderYearText(e,r,o,i),this._renderMonthText(e,o,i),this._renderWeekText(e,r,o,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,a=e.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),o=i.getCellHeight(),s=t.start.time;s<=t.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,c=new w.Rect({shape:{x:l[0],y:l[1],width:r,height:o},cursor:"default",style:a});n.add(c)}},_renderLines:function(n,e,i,a){var r=this,o=n.coordinateSystem,s=n.getModel("splitLine.lineStyle").getLineStyle(),l=n.get("splitLine.show"),t=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){h(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}function h(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var t=r._getLinePointsOfOneWeek(n,e,i);r._tlpoints.push(t[0]),r._blpoints.push(t[t.length-1]),l&&r._drawSplitline(t,s,a)}h(o.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,t,i),s,a),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,t,i),s,a)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===n?0:1;return i[0][a]=i[0][a]-t/2,i[1][a]=i[1][a]+t/2,i},_drawSplitline:function(e,t,n){var i=new w.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var a=[],r=0;r<7;r++){var o=i.getNextNDay(t.time,r),s=i.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(e,t){return"string"==typeof e&&e?a.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,a){t=t.slice();var r=["center","bottom"];"bottom"===i?(t[1]+=a,r=["center","top"]):"left"===i?t[0]-=a:"right"===i?(t[0]+=a,r=["center","top"]):t[1]-=a;var o=0;return"left"!==i&&"right"!==i||(o=Math.PI/2),{rotation:o,position:t,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(e,t,n,i){var a=e.getModel("yearLabel");if(a.get("show")){var r=a.get("margin"),o=a.get("position");o||(o="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,d={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},h=t.start.y;+t.end.y>+t.start.y&&(h=h+"-"+t.end.y);var p=a.get("formatter"),f={start:t.start.y,end:t.end.y,nameMap:h},g=this._formatterLabel(p,f),v=new w.Text({z2:30});w.setTextStyle(v.style,a,{text:g}),v.attr(this._yearTextPositionControl(v,d[o],n,o,r)),i.add(v)}},_monthTextPositionControl:function(e,t,n,i,a){var r="left",o="top",s=e[0],l=e[1];return"horizontal"===n?(l+=a,t&&(r="center"),"start"===i&&(o="bottom")):(s+=a,t&&(o="middle"),"start"===i&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),r=i.get("margin"),o=i.get("position"),s=i.get("align"),l=[this._tlpoints,this._blpoints];b.isString(a)&&(a=S[a.toUpperCase()]||[]);var c="start"===o?0:1,u="horizontal"===t?0:1;r="start"===o?-r:r;for(var d="center"===s,h=0;hr&&(t[1-i]=t[i]+d.sign*r),t}},ef97:function(e,t,n){var i=n("3eba");n("217b"),n("f17f");var a=n("7f96"),r=n("87c3"),o=n("fdde");n("01ed"),i.registerVisual(a("line","circle","line")),i.registerLayout(r("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o("line"))},ef97a:function(e,t,n){var i=n("3eba");n("2163"),n("6cd8"),n("bf9b");var a=n("7f96"),r=n("ca29");i.registerVisual(a("tree","circle")),i.registerLayout(r)},f123:function(e,t,n){var i=n("9f82"),k=i.prepareDataCoordInfo,L=i.getStackedOnPoint;e.exports=function(e,t,n,i,a,r,o,s){for(var l=function(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}(e,t),c=[],u=[],d=[],h=[],p=[],f=[],g=[],v=k(a,t,o),m=k(r,e,s),y=0;yi)return!1;return!0}(r,t))){var o=t.mapDimension(r.dim),s={};return A.each(r.getViewLabels(),function(e){s[e.tickValue]=1}),function(e){return!s.hasOwnProperty(t.get(o,e))}}}}function N(e,t,n){if("cartesian2d"!==e.type)return f(e,t,n);var i=e.getBaseAxis().isHorizontal(),a=p(e,t,n);if(!n.get("clip",!0)){var r=a.shape,o=Math.max(r.width,r.height);i?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return a}var g=u.extend({type:"line",init:function(){var e=new D.Group,t=new i;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,a=this.group,r=e.getData(),o=e.getModel("lineStyle"),s=e.getModel("areaStyle"),l=r.mapArray(r.getItemLayout),c="polar"===i.type,u=this._coordSys,d=this._symbolDraw,h=this._polyline,p=this._polygon,f=this._lineGroup,g=e.get("animation"),v=!s.isEmpty(),m=s.get("origin"),y=function(e,t,n){if(!n.valueDim)return[];for(var i=[],a=0,r=t.count();au[d-1].coord&&(u.reverse(),h.reverse());var p=u[0].coord-10,f=u[d-1].coord+10,g=f-p;if(g<.001)return"transparent";A.each(u,function(e){e.offset=(e.coord-p)/g}),u.push({offset:d?u[d-1].offset:.5,color:h[1]||"transparent"}),u.unshift({offset:d?u[0].offset:.5,color:h[0]||"transparent"});var v=new D.LinearGradient(0,0,0,0,u,!0);return v[i]=p,v[i+"2"]=f,v}}}(r,i)||r.getVisual("color");h.useStyle(A.defaults(o.getLineStyle(),{fill:"none",stroke:M,lineJoin:"bevel"}));var T=e.get("smooth");if(T=P(e.get("smooth")),h.setShape({smooth:T,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var C=r.getCalculationInfo("stackedOnSeries"),I=0;p.useStyle(A.defaults(s.getAreaStyle(),{fill:M,opacity:.7,lineJoin:"bevel"})),C&&(I=P(C.get("smooth"))),p.setShape({smooth:T,stackedOnSmooth:I,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=i,this._stackedOnPoints=y,this._points=l,this._step=S,this._valueOrigin=m},dispose:function(){},highlight:function(e,t,n,i){var a=e.getData(),r=c.queryDataIndex(a,i);if(!(r instanceof Array)&&null!=r&&0<=r){var o=a.getItemGraphicEl(r);if(!o){var s=a.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;(o=new l(a,r)).position=s,o.setZ(e.get("zlevel"),e.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else u.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var a=e.getData(),r=c.queryDataIndex(a,i);if(null!=r&&0<=r){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else u.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new r({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new s({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(e,t,n,i,a,r){var o=this._polyline,s=this._polygon,l=e.hostModel,c=y(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,r),u=c.current,d=c.stackedOnCurrent,h=c.next,p=c.stackedOnNext;if(a&&(u=O(c.current,n,a),d=O(c.stackedOnCurrent,n,a),h=O(c.next,n,a),p=O(c.stackedOnNext,n,a)),3e3l.width&&(c-=f-o,f=o,g=null);var v=new C.Polygon({shape:{points:(x=r,_=0,b=f,w=s,S=d===u.length-1,M=0===d,T=void 0,T=[[S?x:x-k,_],[x+b,_],[x+b,_+w],[S?x:x-k,_+w]],!M&&T.splice(2,0,[x+b+k,_+w/2]),!S&&T.push([x,_+w/2]),T)},style:A.defaults(n.getItemStyle(),{lineJoin:"bevel",text:g,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:A.curry(a,p)});this.group.add(v),m=e,y=p,v.eventData={componentType:"series",componentSubType:"treemap",componentIndex:m.componentIndex,seriesIndex:m.componentIndex,seriesName:m.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:y&&y.dataIndex,name:y&&y.name},treePathInfo:y&&D(y,m)},r+=f+8}var m,y,x,_,b,w,S,M,T},remove:function(){this.group.removeAll()}};var a=i;e.exports=a},f6ed:function(e,t,n){var a=n("6d8b");e.exports=function(e){var i={};e.eachSeriesByType("map",function(e){var t=e.getHostGeoModel(),n=t?"o"+t.id:"i"+e.getMapType();(i[n]=i[n]||[]).push(e)}),a.each(i,function(e,t){for(var n=function(l,c){var u={};return a.each(l,function(i){i.each(i.mapDimension("value"),function(e,t){var n="ec-"+i.getName(t);u[n]=u[n]||[],isNaN(e)||u[n].push(e)})}),l[0].map(l[0].mapDimension("value"),function(e,t){for(var n="ec-"+l[0].getName(t),i=0,a=1/0,r=-1/0,o=u[n].length,s=0;sv[1]?-1:1,y=["start"===h?v[0]-m*g:"end"===h?v[1]+m*g:(v[0]+v[1])/2,V(h)?s.labelOffset+p*g:0],x=l.get("nameRotate");null!=x&&(x=x*R/180),V(h)?u=z(s.rotation,null!=x?x:s.rotation,p):(e=h,t=v,a=O((x||0)-s.rotation),r=t[0]>t[1],o="start"===e&&!r||"start"!==e&&r,n=P(a-R/2)?(i=o?"bottom":"top","center"):P(a-1.5*R)?(i=o?"top":"bottom","center"):(i="middle",a<1.5*R&&R/2u.getWidth()||c<0||c>u.getHeight()))){var i=e._zr,a=e._covers,r=k(e,t,n);if(!e._dragging)for(var o=0;ot[1]&&t.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,a=n*n+i*i,r=this.r,o=this.r0;return a<=r*r&&o*o<=a}}}};var o=r;e.exports=o},fd63:function(e,t,n){var l=n("42e5"),c=n("6d8b").isFunction,i={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),i=t.get(r),a=!c(i)||i instanceof l?null:i;i&&!a||(i=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",i);var o=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=t.get(o);if(n.setVisual("borderColor",s),!e.isSeriesFiltered(t)){a&&n.each(function(e){n.setItemVisual(e,"color",a(t.getDataParams(e)))});return{dataEach:n.hasItemOption?function(e,t){var n=e.getItemModel(t),i=n.get(r,!0),a=n.get(o,!0);null!=i&&e.setItemVisual(t,"color",i),null!=a&&e.setItemVisual(t,"borderColor",a)}:null}}}};e.exports=i},fdde:function(e,t){var h={average:function(e){for(var t=0,n=0,i=0;it&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n