(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~fdc6512a"],{"04f6":function(t,e){var i=32,r=7;function n(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function a(t,e,i,r){var n=e+1;if(n===i)return 1;if(r(t[n++],t[e])<0){while(n=0)n++;return n-e}function o(t,e,i){i--;while(e>>1,n(o,t[a])<0?h=a:s=a+1;var l=r-s;switch(l){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(l>0)t[s+l]=t[s+l-1],l--}t[s]=o}}function h(t,e,i,r,n,a){var o=0,s=0,h=1;if(a(t,e[i+n])>0){s=r-n;while(h0)o=h,h=1+(h<<1),h<=0&&(h=s);h>s&&(h=s),o+=n,h+=n}else{s=n+1;while(hs&&(h=s);var l=o;o=n-h,h=n-l}o++;while(o>>1);a(t,e[i+u])>0?o=u+1:h=u}return h}function l(t,e,i,r,n,a){var o=0,s=0,h=1;if(a(t,e[i+n])<0){s=n+1;while(hs&&(h=s);var l=o;o=n-h,h=n-l}else{s=r-n;while(h=0)o=h,h=1+(h<<1),h<=0&&(h=s);h>s&&(h=s),o+=n,h+=n}o++;while(o>>1);a(t,e[i+u])<0?h=u:o=u+1}return h}function u(t,e){var i,n,a=r,o=0,s=0;o=t.length;var u=[];function c(t,e){i[s]=t,n[s]=e,s+=1}function f(){while(s>1){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]n[t+1])break;p(t)}}function d(){while(s>1){var t=s-2;t>0&&n[t-1]=r||g>=r);if(_)break;m<0&&(m=0),m+=2}if(a=m,a<1&&(a=1),1===n){for(c=0;c=0;c--)t[g+c]=t[v+c];if(0===n){x=!0;break}}if(t[p--]=u[d--],1===--s){x=!0;break}if(y=s-h(t[f],u,0,s,s-1,e),0!==y){for(p-=y,d-=y,s-=y,g=p+1,v=d+1,c=0;c=r||y>=r);if(x)break;_<0&&(_=0),_+=2}if(a=_,a<1&&(a=1),1===s){for(p-=n,f-=n,g=p+1,v=f+1,c=n-1;c>=0;c--)t[g+c]=t[v+c];t[p]=u[d]}else{if(0===s)throw new Error;for(v=p-(s-1),c=0;c=0;c--)t[g+c]=t[v+c];t[p]=u[d]}else for(v=p-(s-1),c=0;cf&&(d=f),s(t,r,r+d,r+l,e),l=d}c.pushRun(r,l),c.mergeRuns(),h-=l,r+=l}while(0!==h);c.forceMergeRuns()}}t.exports=c},"0655":function(t,e,i){var r=i("8728"),n=1e-8;function a(t,e){return Math.abs(t-e).5?e:t}function f(t,e,i,r,n){var a=t.length;if(1===n)for(var o=0;on;if(a)t.length=n;else for(var o=r;o=0;i--)if(M[i]<=e)break;i=Math.min(i,b-2)}else{for(i=j;ie)break;i=Math.min(i-1,b-2)}j=i,q=e;var r=M[i+1]-M[i];if(0!==r)if(I=(e-M[i])/r,x)if(N=P[i],F=P[0===i?i:i-1],H=P[i>b-2?b-1:i+1],W=P[i>b-3?b-1:i+2],T)v(F,N,H,W,I,I*I,I*I*I,l(t,s),C);else{if(S)n=v(F,N,H,W,I,I*I,I*I*I,V,1),n=m(V);else{if(A)return c(N,H,I);n=g(F,N,H,W,I,I*I,I*I*I)}_(t,s,n)}else if(T)f(P[i],P[i+1],I,l(t,s),C);else{var n;if(S)f(P[i],P[i+1],I,V,1),n=m(V);else{if(A)return c(P[i],P[i+1],I);n=u(P[i],P[i+1],I)}_(t,s,n)}},Y=new r({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:X,ondestroy:i});return e&&"spline"!==e&&(Y.easing=e),Y}}}var b=function(t,e,i,r){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||h,this._setter=r||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var r in e)if(e.hasOwnProperty(r)){if(!i[r]){i[r]=[];var n=this._getter(this._target,r);if(null==n)continue;0!==t&&i[r].push({time:0,value:_(n)})}i[r].push({time:t,value:e[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t1&&r&&r.length>1){var s=a(r)/a(n);!isFinite(s)&&(s=1),e.pinchScale=s;var h=o(r);return e.pinchX=h[0],e.pinchY=h[1],{type:"pinch",target:t[0].target,event:e}}}}},h=n;t.exports=h},"0c12":function(t,e){function i(){}function r(t,e,i,r){for(var n=0,a=e.length,o=0,s=0;n=o&&c+1>=s){for(var f=[],d=0;d=o&&d+1>=s)return r(a,l.components,e,t);u[i]=l}else u[i]=void 0}h++}while(h<=l){var v=p();if(v)return v}},pushComponent:function(t,e,i){var r=t[t.length-1];r&&r.added===e&&r.removed===i?t[t.length-1]={count:r.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,r){var n=e.length,a=i.length,o=t.newPos,s=o-r,h=0;while(o+1o||t<-o}var h=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=h.prototype;l.transform=null,l.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),n=this.transform;if(i||e){n=n||r.create(),i?this.getLocalTransform(n):a(n),e&&(i?r.mul(n,t.transform,n):r.copy(n,t.transform)),this.transform=n;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,h=u[1]<0?-1:1,l=((u[0]-s)*o+s)/u[0]||0,c=((u[1]-h)*o+h)/u[1]||0;n[0]*=l,n[1]*=l,n[2]*=c,n[3]*=c}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,n)}else n&&a(n)},l.getLocalTransform=function(t){return h.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],f=r.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],r=this.position,n=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),r[0]=t[4],r[1]=t[5],n[0]=e,n[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r.mul(c,t.invTransform,e),e=c);var i=this.origin;i&&(i[0]||i[1])&&(f[4]=i[0],f[5]=i[1],r.mul(c,e,f),c[4]-=i[0],c[5]-=i[1],e=c),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var i=[t,e],r=this.invTransform;return r&&n.applyTransform(i,i,r),i},l.transformCoordToGlobal=function(t,e){var i=[t,e],r=this.transform;return r&&n.applyTransform(i,i,r),i},h.getLocalTransform=function(t,e){e=e||[],a(e);var i=t.origin,n=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),r.scale(e,e,n),o&&r.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var d=h;t.exports=d},"0da8":function(t,e,i){var r=i("19eb"),n=i("9850"),a=i("6d8b"),o=i("5e76");function s(t){r.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,r=i.image;i.bind(t,this,e);var n=this._image=o.createOrUpdateImage(r,this._image,this,this.onload);if(n&&o.isImageReady(n)){var a=i.x||0,s=i.y||0,h=i.width,l=i.height,u=n.width/n.height;if(null==h&&null!=l?h=l*u:null==l&&null!=h?l=h/u:null==h&&null==l&&(h=n.width,l=n.height),this.setTransform(t),i.sWidth&&i.sHeight){var c=i.sx||0,f=i.sy||0;t.drawImage(n,c,f,i.sWidth,i.sHeight,a,s,h,l)}else if(i.sx&&i.sy){c=i.sx,f=i.sy;var d=h-c,p=l-f;t.drawImage(n,c,f,d,p,a,s,h,l)}else t.drawImage(n,a,s,h,l);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new n(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,r);var h=s;t.exports=h},1687:function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function r(){var t=new i(6);return n(t),t}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(t,e,i){var r=e[0]*i[0]+e[2]*i[1],n=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],h=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=r,t[1]=n,t[2]=a,t[3]=o,t[4]=s,t[5]=h,t}function s(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function h(t,e,i){var r=e[0],n=e[2],a=e[4],o=e[1],s=e[3],h=e[5],l=Math.sin(i),u=Math.cos(i);return t[0]=r*u+o*l,t[1]=-r*l+o*u,t[2]=n*u+s*l,t[3]=-n*l+u*s,t[4]=u*a+l*h,t[5]=u*h-l*a,t}function l(t,e,i){var r=i[0],n=i[1];return t[0]=e[0]*r,t[1]=e[1]*n,t[2]=e[2]*r,t[3]=e[3]*n,t[4]=e[4]*r,t[5]=e[5]*n,t}function u(t,e){var i=e[0],r=e[2],n=e[4],a=e[1],o=e[3],s=e[5],h=i*o-a*r;return h?(h=1/h,t[0]=o*h,t[1]=-a*h,t[2]=-r*h,t[3]=i*h,t[4]=(r*s-o*n)*h,t[5]=(a*n-i*s)*h,t):null}function c(t){var e=r();return a(e,t),e}e.create=r,e.identity=n,e.copy=a,e.mul=o,e.translate=s,e.rotate=h,e.scale=l,e.invert=u,e.clone=c},"19eb":function(t,e,i){var r=i("6d8b"),n=i("2b61"),a=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new n(t.style,this),this._rect=null,this.__clipPaths=[]}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return r.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new n(t,this),this.dirty(!1),this}},r.inherits(s,a),r.mixin(s,o);var h=s;t.exports=h},"1fab":function(t,e){var i=Array.prototype.slice,r=function(t){this._$handlers={},this._$eventProcessor=t};function n(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function a(t,e,i,r,a,o){var s=t._$handlers;if("function"===typeof i&&(a=r,r=i,i=null),!r||!e)return t;i=n(t,i),s[e]||(s[e]=[]);for(var h=0;h3&&(n=i.call(n,1));for(var o=e.length,s=0;s4&&(n=i.call(n,1,n.length-1));for(var o=n[n.length-1],s=e.length,h=0;hthis._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,r,n,a){return this.addData(l.C,t,e,i,r,n,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,r,n,a):this._ctx.bezierCurveTo(t,e,i,r,n,a)),this._xi=n,this._yi=a,this},quadraticCurveTo:function(t,e,i,r){return this.addData(l.Q,t,e,i,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,r):this._ctx.quadraticCurveTo(t,e,i,r)),this._xi=i,this._yi=r,this},arc:function(t,e,i,r,n,a){return this.addData(l.A,t,e,i,i,r,n-r,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,r,n,a),this._xi=g(n)*i+t,this._yi=_(n)*i+e,this},arcTo:function(t,e,i,r,n){return this._ctx&&this._ctx.arcTo(t,e,i,r,n),this},rect:function(t,e,i,r){return this._ctx&&this._ctx.rect(t,e,i,r),this.addData(l.R,t,e,i,r),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&d<=t||u<0&&d>=t||0===u&&(c>0&&g<=e||c<0&&g>=e))r=this._dashIdx,i=o[r],d+=u*i,g+=c*i,this._dashIdx=(r+1)%_,u>0&&dh||c>0&&gl||s[r%2?"moveTo":"lineTo"](u>=0?p(d,t):v(d,t),c>=0?p(g,e):v(g,e));u=d-t,c=g-e,this._dashOffset=-m(u*u+c*c)},_dashedBezierTo:function(t,e,i,n,a,o){var s,h,l,u,c,f=this._dashSum,d=this._dashOffset,p=this._lineDash,v=this._ctx,g=this._xi,_=this._yi,y=r.cubicAt,x=0,b=this._dashIdx,w=p.length,k=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)h=y(g,t,i,a,s+.1)-y(g,t,i,a,s),l=y(_,e,n,o,s+.1)-y(_,e,n,o,s),x+=m(h*h+l*l);for(;bd)break;s=(k-d)/x;while(s<=1)u=y(g,t,i,a,s),c=y(_,e,n,o,s),b%2?v.moveTo(u,c):v.lineTo(u,c),s+=p[b]/x,b=(b+1)%w;b%2!==0&&v.lineTo(a,o),h=a-u,l=o-c,this._dashOffset=-m(h*h+l*l)},_dashedQuadraticTo:function(t,e,i,r){var n=i,a=r;i=(i+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,r,n,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=f[0]=f[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,r=0,s=0,h=0;hh||y(o-n)>u||f===c-1)&&(t.lineTo(a,o),r=a,n=o);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),r=s[f-2],n=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),r=s[f-2],n=s[f-1];break;case l.A:var p=s[f++],v=s[f++],m=s[f++],x=s[f++],b=s[f++],w=s[f++],k=s[f++],T=s[f++],S=m>x?m:x,A=m>x?1:m/x,C=m>x?x/m:1,M=Math.abs(m-x)>.001,P=b+w;M?(t.translate(p,v),t.rotate(k),t.scale(A,C),t.arc(0,0,S,b,P,1-T),t.scale(1/A,1/C),t.rotate(-k),t.translate(-p,-v)):t.arc(p,v,S,b,P,1-T),1===f&&(e=g(b)*m+p,i=_(b)*x+v),r=g(P)*m+p,n=_(P)*x+v;break;case l.R:e=r=s[f],i=n=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),r=e,n=i}}}},b.CMD=l;var w=b;t.exports=w},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:n(navigator.userAgent);var r=i;function n(t){var e={},i={},r=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return r&&(i.firefox=!0,i.version=r[1]),n&&(i.ie=!0,i.version=n[1]),a&&(i.edge=!0,i.version=a[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=r},"2b61":function(t,e,i){var r=i("7d6d"),n=i("82eb"),a=n.ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function h(t,e,i){var r=null==e.x?0:e.x,n=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(r=r*i.width+i.x,n=n*i.width+i.x,a=a*i.height+i.y,o=o*i.height+i.y),r=isNaN(r)?0:r,n=isNaN(n)?1:n,a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=t.createLinearGradient(r,a,n,o);return s}function l(t,e,i){var r=i.width,n=i.height,a=Math.min(r,n),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,h=null==e.r?.5:e.r;e.global||(o=o*r+i.x,s=s*n+i.y,h*=a);var l=t.createRadialGradient(o,s,0,o,s,h);return l}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var n=this,s=i&&i.style,h=!s||t.__attrCachedBy!==a.STYLE_BIND;t.__attrCachedBy=a.STYLE_BIND;for(var l=0;l0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var r="radial"===e.type?l:h,n=r(t,e,i),a=e.colorStops,o=0;o=2)t.mixin({beforeCreate:r});else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,i.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},n=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){n.emit("vuex:mutation",t,e)}))}function o(t,e){Object.keys(t).forEach(function(i){return e(t[i],i)})}function s(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function l(t,e){return function(){return t(e)}}var u=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"===typeof i?i():i)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(t,e){this._children[t]=e},u.prototype.removeChild=function(t){delete this._children[t]},u.prototype.getChild=function(t){return this._children[t]},u.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},u.prototype.forEachChild=function(t){o(this._children,t)},u.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},u.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},u.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(u.prototype,c);var f=function(t){this.register([],t,!1)};function d(t,e,i){if(e.update(i),i.modules)for(var r in i.modules){if(!e.getChild(r))return void 0;d(t.concat(r),e.getChild(r),i.modules[r])}}f.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},f.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,i){return e=e.getChild(i),t+(e.namespaced?i+"/":"")},"")},f.prototype.update=function(t){d([],this.root,t)},f.prototype.register=function(t,e,i){var r=this;void 0===i&&(i=!0);var n=new u(e,i);if(0===t.length)this.root=n;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],n)}e.modules&&o(e.modules,function(e,n){r.register(t.concat(n),e,i)})},f.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];e.getChild(i).runtime&&e.removeChild(i)};var p;var v=function(t){var e=this;void 0===t&&(t={}),!p&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new p;var n=this,o=this,s=o.dispatch,h=o.commit;this.dispatch=function(t,e){return s.call(n,t,e)},this.commit=function(t,e,i){return h.call(n,t,e,i)},this.strict=r;var l=this._modules.root.state;x(this,l,[],this._modules.root),y(this,l),i.forEach(function(t){return t(e)});var u=void 0!==t.devtools?t.devtools:p.config.devtools;u&&a(this)},g={state:{configurable:!0}};function _(t,e){return e.indexOf(t)<0&&e.push(t),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function m(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;x(t,i,[],t._modules.root,!0),y(t,i,e)}function y(t,e,i){var r=t._vm;t.getters={};var n=t._wrappedGetters,a={};o(n,function(e,i){a[i]=l(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})});var s=p.config.silent;p.config.silent=!0,t._vm=new p({data:{$$state:e},computed:a}),p.config.silent=s,t.strict&&A(t),r&&(i&&t._withCommit(function(){r._data.$$state=null}),p.nextTick(function(){return r.$destroy()}))}function x(t,e,i,r,n){var a=!i.length,o=t._modules.getNamespace(i);if(r.namespaced&&(t._modulesNamespaceMap[o]=r),!a&&!n){var s=C(e,i.slice(0,-1)),h=i[i.length-1];t._withCommit(function(){p.set(s,h,r.state)})}var l=r.context=b(t,o,i);r.forEachMutation(function(e,i){var r=o+i;k(t,r,e,l)}),r.forEachAction(function(e,i){var r=e.root?i:o+i,n=e.handler||e;T(t,r,n,l)}),r.forEachGetter(function(e,i){var r=o+i;S(t,r,e,l)}),r.forEachChild(function(r,a){x(t,e,i.concat(a),r,n)})}function b(t,e,i){var r=""===e,n={dispatch:r?t.dispatch:function(i,r,n){var a=M(i,r,n),o=a.payload,s=a.options,h=a.type;return s&&s.root||(h=e+h),t.dispatch(h,o)},commit:r?t.commit:function(i,r,n){var a=M(i,r,n),o=a.payload,s=a.options,h=a.type;s&&s.root||(h=e+h),t.commit(h,o,s)}};return Object.defineProperties(n,{getters:{get:r?function(){return t.getters}:function(){return w(t,e)}},state:{get:function(){return C(t.state,i)}}}),n}function w(t,e){var i={},r=e.length;return Object.keys(t.getters).forEach(function(n){if(n.slice(0,r)===e){var a=n.slice(r);Object.defineProperty(i,a,{get:function(){return t.getters[n]},enumerable:!0})}}),i}function k(t,e,i,r){var n=t._mutations[e]||(t._mutations[e]=[]);n.push(function(e){i.call(t,r.state,e)})}function T(t,e,i,r){var n=t._actions[e]||(t._actions[e]=[]);n.push(function(e,n){var a=i.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,n);return h(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}function S(t,e,i,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return i(r.state,r.getters,t.state,t.getters)})}function A(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function C(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function M(t,e,i){return s(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function P(t){p&&t===p||(p=t,i(p))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(t){0},v.prototype.commit=function(t,e,i){var r=this,n=M(t,e,i),a=n.type,o=n.payload,s=(n.options,{type:a,payload:o}),h=this._mutations[a];h&&(this._withCommit(function(){h.forEach(function(t){t(o)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},v.prototype.dispatch=function(t,e){var i=this,r=M(t,e),n=r.type,a=r.payload,o={type:n,payload:a},s=this._actions[n];if(s){try{this._actionSubscribers.filter(function(t){return t.before}).forEach(function(t){return t.before(o,i.state)})}catch(l){0}var h=s.length>1?Promise.all(s.map(function(t){return t(a)})):s[0](a);return h.then(function(t){try{i._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(o,i.state)})}catch(l){0}return t})}},v.prototype.subscribe=function(t){return _(t,this._subscribers)},v.prototype.subscribeAction=function(t){var e="function"===typeof t?{before:t}:t;return _(e,this._actionSubscribers)},v.prototype.watch=function(t,e,i){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,i)},v.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},v.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),i.preserveState),y(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var i=C(e.state,t.slice(0,-1));p.delete(i,t[t.length-1])}),m(this)},v.prototype.hotUpdate=function(t){this._modules.update(t),m(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,g);var L=R(function(t,e){var i={};return B(e).forEach(function(e){var r=e.key,n=e.val;i[r]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var r=I(this.$store,"mapState",t);if(!r)return;e=r.context.state,i=r.context.getters}return"function"===typeof n?n.call(this,e,i):e[n]},i[r].vuex=!0}),i}),O=R(function(t,e){var i={};return B(e).forEach(function(e){var r=e.key,n=e.val;i[r]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var r=this.$store.commit;if(t){var a=I(this.$store,"mapMutations",t);if(!a)return;r=a.context.commit}return"function"===typeof n?n.apply(this,[r].concat(e)):r.apply(this.$store,[n].concat(e))}}),i}),E=R(function(t,e){var i={};return B(e).forEach(function(e){var r=e.key,n=e.val;n=t+n,i[r]=function(){if(!t||I(this.$store,"mapGetters",t))return this.$store.getters[n]},i[r].vuex=!0}),i}),z=R(function(t,e){var i={};return B(e).forEach(function(e){var r=e.key,n=e.val;i[r]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var r=this.$store.dispatch;if(t){var a=I(this.$store,"mapActions",t);if(!a)return;r=a.context.dispatch}return"function"===typeof n?n.apply(this,[r].concat(e)):r.apply(this.$store,[n].concat(e))}}),i}),D=function(t){return{mapState:L.bind(null,t),mapGetters:E.bind(null,t),mapMutations:O.bind(null,t),mapActions:z.bind(null,t)}};function B(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function R(t){return function(e,i){return"string"!==typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function I(t,e,i){var r=t._modulesNamespaceMap[i];return r}var F={Store:v,install:P,version:"3.1.1",mapState:L,mapMutations:O,mapGetters:E,mapActions:z,createNamespacedHelpers:D};e["a"]=F}).call(this,i("c8ba"))},3041:function(t,e,i){var r=i("e1fc"),n=i("0da8"),a=i("76a5"),o=i("d9fc"),s=i("c7a2"),h=i("ae69"),l=i("cb11"),u=i("cbe5"),c=i("87b1"),f=i("d498"),d=i("48a9"),p=i("2b61"),v=i("1687"),g=i("342d"),_=g.createFromString,m=i("6d8b"),y=m.isString,x=m.extend,b=m.defaults,w=m.trim,k=m.each,T=/[\s,]+/;function S(t){if(y(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(t,e){e=e||{};var i=S(t);if(!i)throw new Error("Illegal svg");var n=new r;this._root=n;var a=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),h=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(h)&&(h=null),z(i,n,null,!0);var l,u,c=i.firstChild;while(c)this._parseNode(c,n),c=c.nextSibling;if(a){var f=w(a).split(T);f.length>=4&&(l={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(l&&null!=o&&null!=h&&(u=H(l,o,h),!e.ignoreViewBox)){var d=n;n=new r,n.add(d),d.scale=u.scale.slice(),d.position=u.position.slice()}return e.ignoreRootClip||null==o||null==h||n.setClipPath(new s({shape:{x:0,y:0,width:o,height:h}})),{root:n,width:o,height:h,viewBoxRect:l,viewBoxTransform:u}},A.prototype._parseNode=function(t,e){var i,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){var n=M[r];if(n){var a=n.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{n=C[r];n&&(i=n.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(r)}var n=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(e,n),z(t,n,this._defs);var o=n.style.fontSize;o&&o<9&&(n.style.fontSize=9,n.scale=n.scale||[1,1],n.scale[0]*=o/9,n.scale[1]*=o/9);var s=n.getBoundingRect();return this._textX+=s.width,e.add(n),n};var C={g:function(t,e){var i=new r;return L(e,i),z(t,i,this._defs),i},rect:function(t,e){var i=new s;return L(e,i),z(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return L(e,i),z(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new l;return L(e,i),z(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new h;return L(e,i),z(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=O(i));var r=new c({shape:{points:i||[]}});return L(e,r),z(t,r,this._defs),r},polyline:function(t,e){var i=new u;L(e,i),z(t,i,this._defs);var r=t.getAttribute("points");r&&(r=O(r));var n=new f({shape:{points:r||[]}});return n},image:function(t,e){var i=new n;return L(e,i),z(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,n=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(a),this._textY=parseFloat(n)+parseFloat(o);var s=new r;return L(e,s),z(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new r;return L(e,s),z(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",r=_(i);return L(e,r),z(t,r,this._defs),r}},M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),r=parseInt(t.getAttribute("x2")||10,10),n=parseInt(t.getAttribute("y2")||0,10),a=new d(e,i,r,n);return P(t,a),a},radialgradient:function(t){}};function P(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var r=i.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var n=i.getAttribute("stop-color")||"#000000";e.addColorStop(r,n)}i=i.nextSibling}}function L(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function O(t){for(var e=w(t).split(T),i=[],r=0;r0;a-=2){var o=n[a],s=n[a-1];switch(r=r||v.create(),s){case"translate":o=w(o).split(T),v.translate(r,r,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(T),v.scale(r,r,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(T),v.rotate(r,r,parseFloat(o[0]));break;case"skew":o=w(o).split(T),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(T);r[0]=parseFloat(o[0]),r[1]=parseFloat(o[1]),r[2]=parseFloat(o[2]),r[3]=parseFloat(o[3]),r[4]=parseFloat(o[4]),r[5]=parseFloat(o[5]);break}}e.setLocalTransform(r)}}var F=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t){var e=t.getAttribute("style"),i={};if(!e)return i;var r,n={};F.lastIndex=0;while(null!=(r=F.exec(e)))n[r[1]]=r[2];for(var a in E)E.hasOwnProperty(a)&&null!=n[a]&&(i[E[a]]=n[a]);return i}function H(t,e,i){var r=e/t.width,n=i/t.height,a=Math.min(r,n),o=[a,a],s=[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2];return{scale:o,position:s}}function W(t,e){var i=new A;return i.parse(t,e)}e.parseXML=S,e.makeViewBoxTransform=H,e.parseSVG=W},"30a3":function(t,e,i){var r=i("6d8b"),n=i("607d"),a=n.Dispatcher,o=i("98b7"),s=i("06ad"),h=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};h.prototype={constructor:h,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i1&&(u*=o(x),d*=o(x));var b=(n===a?-1:1)*o((u*u*(d*d)-u*u*(y*y)-d*d*(m*m))/(u*u*(y*y)+d*d*(m*m)))||0,w=b*u*y/d,k=b*-d*m/u,T=(t+i)/2+h(_)*w-s(_)*k,S=(e+r)/2+s(_)*w+h(_)*k,A=f([1,0],[(m-w)/u,(y-k)/d]),C=[(m-w)/u,(y-k)/d],M=[(-1*m-w)/u,(-1*y-k)/d],P=f(C,M);c(C,M)<=-1&&(P=l),c(C,M)>=1&&(P=0),0===a&&P>0&&(P-=2*l),1===a&&P<0&&(P+=2*l),g.addData(v,T,S,u,d,A,P,_,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,v=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function g(t){if(!t)return new n;for(var e,i=0,r=0,a=i,o=r,s=new n,h=n.CMD,l=t.match(p),u=0;u-x}function k(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==d}function T(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==d}function S(t,e){e&&A(t,"transform","matrix("+f.call(e,",")+")")}function A(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function C(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}function M(t,e,i,r){if(k(e,i)){var n=i?e.textFill:e.fill;n="transparent"===n?d:n,"none"!==t.getAttribute("clip-path")&&n===d&&(n="rgba(0, 0, 0, 0.002)"),A(t,"fill",n),A(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else A(t,"fill",d);if(T(e,i)){var a=i?e.textStroke:e.stroke;a="transparent"===a?d:a,A(t,"stroke",a);var o=i?e.textStrokeWidth:e.lineWidth,s=!i&&e.strokeNoScale?r.getLineScale():1;A(t,"stroke-width",o/s),A(t,"paint-order",i?"stroke":"fill"),A(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var h=e.lineDash;h?(A(t,"stroke-dasharray",e.lineDash.join(",")),A(t,"stroke-dashoffset",p(e.lineDashOffset||0))):A(t,"stroke-dasharray",""),e.lineCap&&A(t,"stroke-linecap",e.lineCap),e.lineJoin&&A(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&A(t,"stroke-miterlimit",e.miterLimit)}else A(t,"stroke",d)}function P(t){for(var e=[],i=t.data,r=t.len(),n=0;n=m||!w(S)&&(x>-_&&x<0||x>_)===!!T;var M=b(h+u*g(d)),P=b(l+f*v(d));A&&(x=T?m-1e-4:1e-4-m,C=!0,9===n&&e.push("M",M,P));var L=b(h+u*g(d+x)),O=b(l+f*v(d+x));e.push("A",b(u),b(f),p(k*y),+C,+T,L,O);break;case c.Z:o="Z";break;case c.R:L=b(i[n++]),O=b(i[n++]);var E=b(i[n++]),z=b(i[n++]);e.push("M",L,O,"L",L+E,O,"L",L+E,O+z,"L",L,O+z,"L",L,O);break}o&&e.push(o);for(var D=0;D255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function h(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function c(t,e,i){return t+(e-t)*i}function f(t,e,i,r,n){return t[0]=e,t[1]=i,t[2]=r,t[3]=n,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new r(20),v=null;function g(t,e){v&&d(v,e),v=p.put(t,v||e.slice())}function _(t,e){if(t){e=e||[];var i=p.get(t);if(i)return d(e,i);t+="";var r=t.replace(/ /g,"").toLowerCase();if(r in n)return d(e,n[r]),g(t,e),e;if("#"!==r.charAt(0)){var a=r.indexOf("("),o=r.indexOf(")");if(-1!==a&&o+1===r.length){var s=r.substr(0,a),u=r.substr(a+1,o-(a+1)).split(","),c=1;switch(s){case"rgba":if(4!==u.length)return void f(e,0,0,0,1);c=l(u.pop());case"rgb":return 3!==u.length?void f(e,0,0,0,1):(f(e,h(u[0]),h(u[1]),h(u[2]),c),g(t,e),e);case"hsla":return 4!==u.length?void f(e,0,0,0,1):(u[3]=l(u[3]),m(u,e),g(t,e),e);case"hsl":return 3!==u.length?void f(e,0,0,0,1):(m(u,e),g(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===r.length){var v=parseInt(r.substr(1),16);return v>=0&&v<=4095?(f(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,1),g(t,e),e):void f(e,0,0,0,1)}if(7===r.length){v=parseInt(r.substr(1),16);return v>=0&&v<=16777215?(f(e,(16711680&v)>>16,(65280&v)>>8,255&v,1),g(t,e),e):void f(e,0,0,0,1)}}}}function m(t,e){var i=(parseFloat(t[0])%360+360)%360/360,r=l(t[1]),n=l(t[2]),o=n<=.5?n*(r+1):n+r-n*r,s=2*n-o;return e=e||[],f(e,a(255*u(s,o,i+1/3)),a(255*u(s,o,i)),a(255*u(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t){if(t){var e,i,r=t[0]/255,n=t[1]/255,a=t[2]/255,o=Math.min(r,n,a),s=Math.max(r,n,a),h=s-o,l=(s+o)/2;if(0===h)e=0,i=0;else{i=l<.5?h/(s+o):h/(2-s-o);var u=((s-r)/6+h/2)/h,c=((s-n)/6+h/2)/h,f=((s-a)/6+h/2)/h;r===s?e=f-c:n===s?e=1/3+u-f:a===s&&(e=2/3+c-u),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,i,l];return null!=t[3]&&d.push(t[3]),d}}function x(t,e){var i=_(t);if(i){for(var r=0;r<3;r++)i[r]=e<0?i[r]*(1-e)|0:(255-i[r])*e+i[r]|0,i[r]>255?i[r]=255:t[r]<0&&(i[r]=0);return M(i,4===i.length?"rgba":"rgb")}}function b(t){var e=_(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var r=t*(e.length-1),n=Math.floor(r),o=Math.ceil(r),h=e[n],l=e[o],u=r-n;return i[0]=a(c(h[0],l[0],u)),i[1]=a(c(h[1],l[1],u)),i[2]=a(c(h[2],l[2],u)),i[3]=s(c(h[3],l[3],u)),i}}var k=w;function T(t,e,i){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),n=Math.floor(r),o=Math.ceil(r),h=_(e[n]),l=_(e[o]),u=r-n,f=M([a(c(h[0],l[0],u)),a(c(h[1],l[1],u)),a(c(h[2],l[2],u)),s(c(h[3],l[3],u))],"rgba");return i?{color:f,leftIndex:n,rightIndex:o,value:r}:f}}var S=T;function A(t,e,i,r){if(t=_(t),t)return t=y(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=l(i)),null!=r&&(t[2]=l(r)),M(m(t),"rgba")}function C(t,e){if(t=_(t),t&&null!=e)return t[3]=s(e),M(t,"rgba")}function M(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=_,e.lift=x,e.toHex=b,e.fastLerp=w,e.fastMapToColor=k,e.lerp=T,e.mapToColor=S,e.modifyHSL=A,e.modifyAlpha=C,e.stringify=M},"42e5":function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var r=i;t.exports=r},4436:function(t,e,i){var r=i("74cb");function n(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}n.prototype={constructor:n,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var n=this.easing,a="string"===typeof n?r[n]:n,o="function"===typeof a?a(i):i;return this.fire("frame",o),1===i?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var a=n;t.exports=a},4573:function(t,e,i){var r=i("cbe5"),n=r.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,r=e.cy,n=2*Math.PI;t.moveTo(i+e.r,r),t.arc(i,r,e.r,0,n,!1),t.moveTo(i+e.r0,r),t.arc(i,r,e.r0,0,n,!0)}});t.exports=n},"48a9":function(t,e,i){var r=i("6d8b"),n=i("42e5"),a=function(t,e,i,r,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==r?0:r,this.type="linear",this.global=o||!1,n.call(this,a)};a.prototype={constructor:a},r.inherits(a,n);var o=a;t.exports=o},4942:function(t,e,i){var r=i("2cf4"),n=r.debugMode,a=function(){};1===n?a=function(){for(var t in arguments)throw new Error(arguments[t])}:n>1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var o=a;t.exports=o},"4a3f":function(t,e,i){var r=i("401b"),n=r.create,a=r.distSquare,o=Math.pow,s=Math.sqrt,h=1e-8,l=1e-4,u=s(3),c=1/3,f=n(),d=n(),p=n();function v(t){return t>-h&&th||t<-h}function _(t,e,i,r,n){var a=1-n;return a*a*(a*t+3*n*e)+n*n*(n*r+3*a*i)}function m(t,e,i,r,n){var a=1-n;return 3*(((e-t)*a+2*(i-e)*n)*a+(r-i)*n*n)}function y(t,e,i,r,n,a){var h=r+3*(e-i)-t,l=3*(i-2*e+t),f=3*(e-t),d=t-n,p=l*l-3*h*f,g=l*f-9*h*d,_=f*f-3*l*d,m=0;if(v(p)&&v(g))if(v(l))a[0]=0;else{var y=-f/l;y>=0&&y<=1&&(a[m++]=y)}else{var x=g*g-4*p*_;if(v(x)){var b=g/p,w=(y=-l/h+b,-b/2);y>=0&&y<=1&&(a[m++]=y),w>=0&&w<=1&&(a[m++]=w)}else if(x>0){var k=s(x),T=p*l+1.5*h*(-g+k),S=p*l+1.5*h*(-g-k);T=T<0?-o(-T,c):o(T,c),S=S<0?-o(-S,c):o(S,c);y=(-l-(T+S))/(3*h);y>=0&&y<=1&&(a[m++]=y)}else{var A=(2*p*l-3*h*g)/(2*s(p*p*p)),C=Math.acos(A)/3,M=s(p),P=Math.cos(C),L=(y=(-l-2*M*P)/(3*h),w=(-l+M*(P+u*Math.sin(C)))/(3*h),(-l+M*(P-u*Math.sin(C)))/(3*h));y>=0&&y<=1&&(a[m++]=y),w>=0&&w<=1&&(a[m++]=w),L>=0&&L<=1&&(a[m++]=L)}}return m}function x(t,e,i,r,n){var a=6*i-12*e+6*t,o=9*e+3*r-3*t-9*i,h=3*e-3*t,l=0;if(v(o)){if(g(a)){var u=-h/a;u>=0&&u<=1&&(n[l++]=u)}}else{var c=a*a-4*o*h;if(v(c))n[0]=-a/(2*o);else if(c>0){var f=s(c),d=(u=(-a+f)/(2*o),(-a-f)/(2*o));u>=0&&u<=1&&(n[l++]=u),d>=0&&d<=1&&(n[l++]=d)}}return l}function b(t,e,i,r,n,a){var o=(e-t)*n+t,s=(i-e)*n+e,h=(r-i)*n+i,l=(s-o)*n+o,u=(h-s)*n+s,c=(u-l)*n+l;a[0]=t,a[1]=o,a[2]=l,a[3]=c,a[4]=c,a[5]=u,a[6]=h,a[7]=r}function w(t,e,i,r,n,o,h,u,c,v,g){var m,y,x,b,w,k=.005,T=1/0;f[0]=c,f[1]=v;for(var S=0;S<1;S+=.05)d[0]=_(t,i,n,h,S),d[1]=_(e,r,o,u,S),b=a(f,d),b=0&&b=0&&u<=1&&(n[l++]=u)}}else{var c=o*o-4*a*h;if(v(c)){u=-o/(2*a);u>=0&&u<=1&&(n[l++]=u)}else if(c>0){var f=s(c),d=(u=(-o+f)/(2*a),(-o-f)/(2*a));u>=0&&u<=1&&(n[l++]=u),d>=0&&d<=1&&(n[l++]=d)}}return l}function A(t,e,i){var r=t+i-2*e;return 0===r?.5:(t-e)/r}function C(t,e,i,r,n){var a=(e-t)*r+t,o=(i-e)*r+e,s=(o-a)*r+a;n[0]=t,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=i}function M(t,e,i,r,n,o,h,u,c){var v,g=.005,_=1/0;f[0]=h,f[1]=u;for(var m=0;m<1;m+=.05){d[0]=k(t,i,n,m),d[1]=k(e,r,o,m);var y=a(f,d);y<_&&(v=m,_=y)}_=1/0;for(var x=0;x<32;x++){if(g=0&&y<_)v=b,_=y;else{p[0]=k(t,i,n,w),p[1]=k(e,r,o,w);var T=a(p,f);w<=1&&T<_?(v=w,_=T):g*=.5}}return c&&(c[0]=k(t,i,n,v),c[1]=k(e,r,o,v)),s(_)}e.cubicAt=_,e.cubicDerivativeAt=m,e.cubicRootAt=y,e.cubicExtrema=x,e.cubicSubdivide=b,e.cubicProjectPoint=w,e.quadraticAt=k,e.quadraticDerivativeAt=T,e.quadraticRootAt=S,e.quadraticExtremum=A,e.quadraticSubdivide=C,e.quadraticProjectPoint=M},"4aa2":function(t,e,i){var r=i("cbe5"),n=i("897a"),a=r.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n(r.prototype.brush),buildPath:function(t,e){var i=e.cx,r=e.cy,n=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,h=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*n+i,u*n+r),t.lineTo(l*a+i,u*a+r),t.arc(i,r,a,o,s,!h),t.lineTo(Math.cos(s)*n+i,Math.sin(s)*n+r),0!==n&&t.arc(i,r,n,s,o,h),t.closePath()}});t.exports=a},"4ab1":function(t,e,i){var r=i("8727"),n=r.createElement,a=i("6d8b"),o=i("cbe5"),s=i("0da8"),h=i("76a5"),l=i("3f8e"),u=l.path,c=l.image,f=l.text,d="0",p="1";function v(t,e,i,r,n){this._zrId=t,this._svgRoot=e,this._tagNames="string"===typeof i?[i]:i,this._markLabel=r,this._domName=n||"_dom",this.nextId=0}v.prototype.createElement=n,v.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?(i=e.insertBefore(this.createElement("defs"),e.firstChild),i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var r=e.length-1;r>=0;--r)if(e[r]===t)return!0;return!1}),i):null:i[0]},v.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"===typeof e&&e(t);else{var r=this.add(t);r&&(t[this._domName]=r)}}},v.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},v.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},v.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(i){var r=t.getElementsByTagName(i);e=e.concat([].slice.call(r))}),e},v.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]=d})},v.prototype.markUsed=function(t){t&&(t[this._markLabel]=p)},v.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;a.each(e,function(e){e[i._markLabel]!==p&&t.removeChild(e)})}},v.prototype.getSvgProxy=function(t){return t instanceof o?u:t instanceof s?c:t instanceof h?f:u},v.prototype.getTextSvgElement=function(t){return t.__textSvgEl},v.prototype.getSvgElement=function(t){return t.__svgEl};var g=v;t.exports=g},"4fac":function(t,e,i){var r=i("620b"),n=i("9c2c");function a(t,e,i){var a=e.points,o=e.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=n(a,o,i,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var h=a.length,l=0;l<(i?h:h-1);l++){var u=s[2*l],c=s[2*l+1],f=a[(l+1)%h];t.bezierCurveTo(u[0],u[1],c[0],c[1],f[0],f[1])}}else{"spline"===o&&(a=r(a,i)),t.moveTo(a[0][0],a[0][1]);l=1;for(var d=a.length;ll&&(o=i+r,i*=l/o,r*=l/o),n+a>l&&(o=n+a,n*=l/o,a*=l/o),r+n>u&&(o=r+n,r*=u/o,n*=u/o),i+a>u&&(o=i+a,i*=u/o,a*=u/o),t.moveTo(s+i,h),t.lineTo(s+l-r,h),0!==r&&t.arc(s+l-r,h+r,r,-Math.PI/2,0),t.lineTo(s+l,h+u-n),0!==n&&t.arc(s+l-n,h+u-n,n,0,Math.PI/2),t.lineTo(s+a,h+u),0!==a&&t.arc(s+a,h+u-a,a,Math.PI/2,Math.PI),t.lineTo(s,h+i),0!==i&&t.arc(s+i,h+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},"5e68":function(t,e,i){var r=i("6d8b"),n=i("2cf4"),a=n.devicePixelRatio,o=i("2b61"),s=i("dc2f");function h(){return!1}function l(t,e,i){var n=r.createCanvas(),a=e.getWidth(),o=e.getHeight(),s=n.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=a*i,n.height=o*i,n}var u=function(t,e,i){var n;i=i||a,"string"===typeof t?n=l(t,e,i):r.isObject(t)&&(n=t,t=n.id),this.id=t,this.dom=n;var o=n.style;o&&(n.onselectstart=h,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o["padding"]=0,o["margin"]=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,r=this.dom,n=r.style,a=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),r.width=t*i,r.height=e*i,a&&(a.width=t*i,a.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,r=this.dom,n=this.ctx,a=r.width,h=r.height,l=(e=e||this.clearColor,this.motionBlur&&!t),u=this.lastFrameAlpha,c=this.dpr;(l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/c,h/c)),n.clearRect(0,0,a,h),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||o.getGradient(n,e,{x:0,y:0,width:a,height:h}),e.__canvasGradient=i):e.image&&(i=s.prototype.getCanvasPattern.call(e,n)),n.save(),n.fillStyle=i||e,n.fillRect(0,0,a,h),n.restore());if(l){var f=this.domBack;n.save(),n.globalAlpha=u,n.drawImage(f,0,0,a,h),n.restore()}}};var c=u;t.exports=c},"5e76":function(t,e,i){var r=i("d51b"),n=new r(50);function a(t){if("string"===typeof t){var e=n.get(t);return e&&e.image}return t}function o(t,e,i,r,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=n.get(t),l={hostEl:i,cb:r,cbPayload:a};return o?(e=o.image,!h(e)&&o.pending.push(l)):(e=new Image,e.onload=e.onerror=s,n.put(t,e.__cachedImgObj={image:e,pending:[l]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=0;if(n){var a="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];a&&h(t,a,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function c(t,e,i){a?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function f(t,e,i){a?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var d=a?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function p(t){return 2===t.which||3===t.which}function v(t){return t.which>1}e.clientToLocal=h,e.normalizeEvent=u,e.addEventListener=c,e.removeEventListener=f,e.stop=d,e.isMiddleOrRightButtonOnMouseUpDown=p,e.notLeftMouse=v},"620b":function(t,e,i){var r=i("401b"),n=r.distance;function a(t,e,i,r,n,a,o){var s=.5*(i-t),h=.5*(r-e);return(2*(e-i)+s+h)*o+(-3*(e-i)-2*s-h)*a+s*n+e}function o(t,e){for(var i=t.length,r=[],o=0,s=1;si-2?i-1:d+1],c=t[d>i-3?i-1:d+2]);var g=p*p,_=p*g;r.push([a(l[0],v[0],u[0],c[0],p,g,_),a(l[1],v[1],u[1],c[1],p,g,_)])}return r}t.exports=o},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"68ab":function(t,e,i){var r=i("4a3f"),n=r.quadraticProjectPoint;function a(t,e,i,r,a,o,s,h,l){if(0===s)return!1;var u=s;if(l>e+u&&l>r+u&&l>o+u||lt+u&&h>i+u&&h>a+u||he&&a>r||an?o:0}t.exports=i},"87b1":function(t,e,i){var r=i("cbe5"),n=i("4fac"),a=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){n.buildPath(t,e,!0)}});t.exports=a},"897a":function(t,e,i){var r=i("22d1"),n=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function a(t){return r.browser.ie&&r.browser.version>=11?function(){var e,i=this.__clipPaths,r=this.style;if(i)for(var a=0;ae+s&&o>r+s||ot+s&&a>i+s||a=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(t){return new h(t.x,t.y,t.width,t.height)};var l=h;t.exports=l},"98b7":function(t,e){var i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i},"9c2c":function(t,e,i){var r=i("401b"),n=r.min,a=r.max,o=r.scale,s=r.distance,h=r.add,l=r.clone,u=r.sub;function c(t,e,i,r){var c,f,d,p,v=[],g=[],_=[],m=[];if(r){d=[1/0,1/0],p=[-1/0,-1/0];for(var y=0,x=t.length;yi||f+co&&(o+=a);var p=Math.atan2(u,l);return p<0&&(p+=a),p>=r&&p<=o||p+a>=r&&p+a<=o}e.containStroke=o},"9fa3":function(t,e,i){var r=i("4ab1"),n=i("6d8b"),a=i("1687");function o(t,e){r.call(this,t,e,"clipPath","__clippath_in_use__")}n.inherits(o,r),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var r,n,o=this.getDefs(!0),s=e[0],h=i?"_textDom":"_dom";s[h]?(n=s[h].getAttribute("id"),r=s[h],o.contains(r)||o.appendChild(r)):(n="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",n),o.appendChild(r),s[h]=r);var l=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var u=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),l.brush(s),s.transform=u}else l.brush(s);var c=this.getSvgElement(s);r.innerHTML="",r.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+n+")"),e.length>1&&this.updateDom(r,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&n.each(t.__clipPaths,function(t){t._dom&&r.prototype.markUsed.call(e,t._dom),t._textDom&&r.prototype.markUsed.call(e,t._textDom)})};var s=o;t.exports=s},a73c:function(t,e,i){var r=i("6d8b"),n=r.retrieve2,a=r.retrieve3,o=r.each,s=r.normalizeCssArray,h=r.isString,l=r.isObject,u=i("e86a"),c=i("5693"),f=i("5e76"),d=i("7d6d"),p=i("82eb"),v=p.ContextCachedBy,g=p.WILL_BE_RESTORED,_=u.DEFAULT_FONT,m={left:1,right:1,center:1},y={top:1,bottom:1,middle:1},x=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]];function b(t){return w(t),o(t.rich,w),t}function w(t){if(t){t.font=u.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||m[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||y[i]?i:"top";var r=t.textPadding;r&&(t.textPadding=s(t.textPadding))}}function k(t,e,i,r,n,a){r.rich?S(t,e,i,r,n,a):T(t,e,i,r,n,a)}function T(t,e,i,r,n,a){"use strict";var o,s=P(r),h=!1,l=e.__attrCachedBy===v.PLAIN_TEXT;a!==g?(a&&(o=a.style,h=!s&&l&&o),e.__attrCachedBy=s?v.NONE:v.PLAIN_TEXT):l&&(e.__attrCachedBy=v.NONE);var c=r.font||_;h&&c===(o.font||_)||(e.font=c);var f=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,f=t.__computedFont=e.font);var p=r.textPadding,m=r.textLineHeight,y=t.__textCotentBlock;y&&!t.__dirtyText||(y=t.__textCotentBlock=u.parsePlainText(i,f,p,m,r.truncate));var b=y.outerHeight,w=y.lines,k=y.lineHeight,T=E(b,r,n),S=T.baseX,A=T.baseY,M=T.textAlign||"left",O=T.textVerticalAlign;C(e,r,n,S,A);var z=u.adjustTextY(A,b,O),R=S,F=z;if(s||p){var N=u.getWidth(i,f),H=N;p&&(H+=p[1]+p[3]);var W=u.adjustTextX(S,H,M);s&&L(t,e,r,W,z,H,b),p&&(R=I(S,M,p),F+=p[0])}e.textAlign=M,e.textBaseline="middle",e.globalAlpha=r.opacity||1;for(var j=0;j=0&&(b=k[B],"right"===b.textAlign))M(t,e,b,r,S,m,D,"right"),A-=b.width,D-=b.width,B--;z+=(a-(z-_)-(y-D)-A)/2;while(O<=B)b=k[O],M(t,e,b,r,S,m,z+b.width/2,"center"),z+=b.width,O++;m+=S}}function C(t,e,i,r,n){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(r=i.width/2+i.x,n=i.height/2+i.y):a&&(r=a[0]+i.x,n=a[1]+i.y),t.translate(r,n),t.rotate(-e.textRotation),t.translate(-r,-n)}}function M(t,e,i,r,o,s,h,l){var u=r.rich[i.styleName]||{};u.text=i.text;var c=i.textVerticalAlign,f=s+o/2;"top"===c?f=s+i.height/2:"bottom"===c&&(f=s+o-i.height/2),!i.isLineHolder&&P(u)&&L(t,e,u,"right"===l?h-i.width:"center"===l?h-i.width/2:h,f-i.height/2,i.width,i.height);var d=i.textPadding;d&&(h=I(h,l,d),f-=i.height/2-d[2]-i.textHeight/2),z(e,"shadowBlur",a(u.textShadowBlur,r.textShadowBlur,0)),z(e,"shadowColor",u.textShadowColor||r.textShadowColor||"transparent"),z(e,"shadowOffsetX",a(u.textShadowOffsetX,r.textShadowOffsetX,0)),z(e,"shadowOffsetY",a(u.textShadowOffsetY,r.textShadowOffsetY,0)),z(e,"textAlign",l),z(e,"textBaseline","middle"),z(e,"font",i.font||_);var p=D(u.textStroke||r.textStroke,g),v=B(u.textFill||r.textFill),g=n(u.textStrokeWidth,r.textStrokeWidth);p&&(z(e,"lineWidth",g),z(e,"strokeStyle",p),e.strokeText(i.text,h,f)),v&&(z(e,"fillStyle",v),e.fillText(i.text,h,f))}function P(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function L(t,e,i,r,n,a,o){var s=i.textBackgroundColor,u=i.textBorderWidth,d=i.textBorderColor,p=h(s);if(z(e,"shadowBlur",i.textBoxShadowBlur||0),z(e,"shadowColor",i.textBoxShadowColor||"transparent"),z(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),z(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||u&&d){e.beginPath();var v=i.textBorderRadius;v?c.buildPath(e,{x:r,y:n,width:a,height:o,r:v}):e.rect(r,n,a,o),e.closePath()}if(p)if(z(e,"fillStyle",s),null!=i.fillOpacity){var g=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=g}else e.fill();else if(l(s)){var _=s.image;_=f.createOrUpdateImage(_,null,t,O,s),_&&f.isImageReady(_)&&e.drawImage(_,r,n,a,o)}if(u&&d)if(z(e,"lineWidth",u),z(e,"strokeStyle",d),null!=i.strokeOpacity){g=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=g}else e.stroke()}function O(t,e){e.image=t}function E(t,e,i){var r=e.x||0,n=e.y||0,a=e.textAlign,o=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)r=i.x+R(s[0],i.width),n=i.y+R(s[1],i.height);else{var h=u.adjustTextPositionOnRect(s,i,e.textDistance);r=h.x,n=h.y,a=a||h.textAlign,o=o||h.textVerticalAlign}var l=e.textOffset;l&&(r+=l[0],n+=l[1])}return{baseX:r,baseY:n,textAlign:a,textVerticalAlign:o}}function z(t,e,i){return t[e]=d(t,e,i),t[e]}function D(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function R(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function I(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function F(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=b,e.renderText=k,e.getStroke=D,e.getFill=B,e.needDrawText=F},a87d:function(t,e,i){var r=i("22d1"),n=i("401b"),a=n.applyTransform,o=i("9850"),s=i("41ef"),h=i("e86a"),l=i("a73c"),u=i("9e2e"),c=i("19eb"),f=i("0da8"),d=i("76a5"),p=i("cbe5"),v=i("20c8"),g=i("42e5"),_=i("d3a4"),m=v.CMD,y=Math.round,x=Math.sqrt,b=Math.abs,w=Math.cos,k=Math.sin,T=Math.max;if(!r.canvasSupported){var S=",",A="progid:DXImageTransform.Microsoft",C=21600,M=C/2,P=1e5,L=1e3,O=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=C+","+C,t.coordorigin="0,0"},E=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},z=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},D=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},B=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},R=function(t,e,i){return(parseFloat(t)||0)*P+(parseFloat(e)||0)*L+i},I=function(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},F=function(t,e,i){var r=s.parse(e);i=+i,isNaN(i)&&(i=1),r&&(t.color=z(r[0],r[1],r[2]),t.opacity=i*r[3])},N=function(t){var e=s.parse(t);return[z(e[0],e[1],e[2]),e[3]]},H=function(t,e,i){var r=e.fill;if(null!=r)if(r instanceof g){var n,o=0,s=[0,0],h=0,l=1,u=i.getBoundingRect(),c=u.width,f=u.height;if("linear"===r.type){n="gradient";var d=i.transform,p=[r.x*c,r.y*f],v=[r.x2*c,r.y2*f];d&&(a(p,p,d),a(v,v,d));var _=v[0]-p[0],m=v[1]-p[1];o=180*Math.atan2(_,m)/Math.PI,o<0&&(o+=360),o<1e-6&&(o=0)}else{n="gradientradial";p=[r.x*c,r.y*f],d=i.transform;var y=i.scale,x=c,b=f;s=[(p[0]-u.x)/x,(p[1]-u.y)/b],d&&a(p,p,d),x/=y[0]*C,b/=y[1]*C;var w=T(x,b);h=0/w,l=2*r.r/w-h}var k=r.colorStops.slice();k.sort(function(t,e){return t.offset-e.offset});for(var S=k.length,A=[],M=[],P=0;P=2){var E=A[0][0],z=A[1][0],D=A[0][1]*e.opacity,B=A[1][1]*e.opacity;t.type=n,t.method="none",t.focus="100%",t.angle=o,t.color=E,t.color2=z,t.colors=M.join(","),t.opacity=B,t.opacity2=D}"radial"===n&&(t.focusposition=s.join(","))}else F(t,r,e.opacity)},W=function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||F(t,e.stroke,e.opacity)},j=function(t,e,i,r){var n="fill"===e,a=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(n||!n&&i.lineWidth)?(t[n?"filled":"stroked"]="true",i[e]instanceof g&&B(t,a),a||(a=_.createNode(e)),n?H(a,i,r):W(a,i),D(t,a)):(t[n?"filled":"stroked"]="false",B(t,a))},q=[[],[],[]],V=function(t,e){var i,r,n,o,s,h,l=m.M,u=m.C,c=m.L,f=m.A,d=m.Q,p=[],v=t.data,g=t.len();for(o=0;o.01?j&&(V+=270/C):Math.abs(X-I)<1e-4?j&&VR?A-=270/C:A+=270/C:j&&XI?T+=270/C:T-=270/C),p.push(Y,y(((R-F)*z+O)*C-M),S,y(((I-N)*D+E)*C-M),S,y(((R+F)*z+O)*C-M),S,y(((I+N)*D+E)*C-M),S,y((V*z+O)*C-M),S,y((X*D+E)*C-M),S,y((T*z+O)*C-M),S,y((A*D+E)*C-M)),s=T,h=A;break;case m.R:var U=q[0],G=q[1];U[0]=v[o++],U[1]=v[o++],G[0]=U[0]+v[o++],G[1]=U[1]+v[o++],e&&(a(U,U,e),a(G,G,e)),U[0]=y(U[0]*C-M),G[0]=y(G[0]*C-M),U[1]=y(U[1]*C-M),G[1]=y(G[1]*C-M),p.push(" m ",U[0],S,U[1]," l ",G[0],S,U[1]," l ",G[0],S,G[1]," l ",U[0],S,G[1]);break;case m.Z:p.push(" x ")}if(i>0){p.push(r);for(var $=0;$Q&&($=0,G={});var i,r=Z.style;try{r.font=t,i=r.fontFamily.split(",")[0]}catch(n){}e={style:r.fontStyle||U,variant:r.fontVariant||U,weight:r.fontWeight||U,size:0|parseFloat(r.fontSize||12),family:i||"Microsoft YaHei"},G[t]=e,$++}return e};h.$override("measureText",function(t,e){var i=_.doc;Y||(Y=i.createElement("div"),Y.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",_.doc.body.appendChild(Y));try{Y.style.font=e}catch(r){}return Y.innerHTML="",Y.appendChild(i.createTextNode(t)),{width:Y.offsetWidth}});for(var J=new o,tt=function(t,e,i,r){var n=this.style;this.__dirty&&l.normalizeTextStyle(n,!0);var o=n.text;if(null!=o&&(o+=""),o){if(n.rich){var s=h.parseRichText(o,n);o=[];for(var u=0;u=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var l=h;t.exports=l},b16f:function(t,e,i){var r=i("4ab1"),n=i("6d8b"),a=i("4942"),o=i("41ef");function s(t,e){r.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}n.inherits(s,r),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;n.each(["fill","stroke"],function(r){if(e.style[r]&&("linear"===e.style[r].type||"radial"===e.style[r].type)){var n,a=e.style[r],o=i.getDefs(!0);a._dom?(n=a._dom,o.contains(a._dom)||i.addDom(n)):n=i.add(a),i.markUsed(e);var s=n.getAttribute("id");t.setAttribute(r,"url(#"+s+")")}})}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return a("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;r.prototype.update.call(this,t,function(){var i=t.type,r=t._dom.tagName;"linear"===i&&"linearGradient"===r||"radial"===i&&"radialGradient"===r?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void a("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,r=0,n=i.length;r0&&t.animate(e,!1).when(null==n?500:n,s).delay(a||0)}function p(t,e,i,r){if(e){var n={};n[e]={},n[e][i]=r,t.attr(n)}else t.attr(i,r)}c.prototype={constructor:c,animate:function(t,e){var i,a=!1,o=this,s=this.__zr;if(t){var h=t.split("."),l=o;a="shape"===h[0];for(var c=0,f=h.length;c1e-10&&(n.width+=o/s,n.height+=o/s,n.x-=o/s/2,n.y-=o/s/2)}return n}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),n=this.style;if(t=i[0],e=i[1],r.contain(t,e)){var a=this.path.data;if(n.hasStroke()){var s=n.lineWidth,h=n.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(n.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/h,t,e)))return!0}if(n.hasFill())return o.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(n.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var r=this.shape;for(var n in i)!r.hasOwnProperty(n)&&i.hasOwnProperty(n)&&(r[n]=i[n])}t.init&&t.init.call(this,e)};for(var i in n.inherits(e,c),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},n.inherits(c,r);var f=c;t.exports=f},cdaa:function(t,e,i){var r=i("607d"),n=r.addEventListener,a=r.removeEventListener,o=r.normalizeEvent,s=i("6d8b"),h=i("1fab"),l=i("22d1"),u=300,c=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],f=["touchstart","touchend","touchmove"],d={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},p=s.map(c,function(t){var e=t.replace("mouse","pointer");return d[e]?e:t});function v(t){return"mousewheel"===t&&l.browser.firefox?"DOMMouseScroll":t}function g(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var _={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){t=o(this.dom,t);var e=t.toElement||t.relatedTarget;if(e!==this.dom)while(e&&9!==e.nodeType){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),t.zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),_.mousemove.call(this,t),_.mousedown.call(this,t),g(this)},touchmove:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"change"),_.mousemove.call(this,t),g(this)},touchend:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"end"),_.mouseup.call(this,t),+new Date-this._lastTouchMoment=0;a--){var o;if(r[a]!==i&&!r[a].ignore&&(o=v(r[a],t,e))&&(!n.topTarget&&(n.topTarget=r[a]),o!==l)){n.target=r[a];break}}return n},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new h);var i=this._gestureMgr;"start"===e&&i.clear();var r=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),r){var n=r.type;t.gestureEvent=n,this.dispatchToElement({target:r.target},n,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){p.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),r=i.target;if("mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||n.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),r.mixin(p,o),r.mixin(p,a);var g=p;t.exports=g},d3a4:function(t,e,i){var r,n=i("22d1"),a="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,h=o&&o.document;function l(t){return r(t)}if(h&&!n.canvasSupported)try{!h.namespaces.zrvml&&h.namespaces.add("zrvml",a),r=function(t){return h.createElement("')}}catch(c){r=function(t){return h.createElement("<"+t+' xmlns="'+a+'" class="zrvml">')}}function u(){if(!s&&h){s=!0;var t=h.styleSheets;t.length<31?h.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=h,e.createNode=l,e.initVML=u},d498:function(t,e,i){var r=i("cbe5"),n=i("4fac"),a=r.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){n.buildPath(t,e,!1)}});t.exports=a},d4c6:function(t,e,i){var r=i("cbe5"),n=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=this._maxSize&&o>0){var h=i.head;i.remove(h),delete r[h.key],a=h.value,this._lastRemovedEntry=h}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return a},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;t.exports=s},d5b7:function(t,e,i){var r=i("de00"),n=i("1fab"),a=i("0cde"),o=i("bd6b"),s=i("6d8b"),h=function(t){a.call(this,t),n.call(this,t),o.call(this,t),this.id=t.id||r()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;ie&&l>r&&l>a&&l>s||l1&&m(),f=u.cubicAt(e,r,a,s,_[0]),v>1&&(d=u.cubicAt(e,r,a,s,_[1]))),2===v?x<_[0]?p+=fe&&s>r&&s>a||s=0&&l<=1){for(var c=0,f=u.quadraticAt(e,r,a,l),d=0;di||s<-i)return 0;var h=Math.sqrt(i*i-s*s);g[0]=-h,g[1]=h;var u=Math.abs(r-n);if(u<1e-4)return 0;if(u%d<1e-4){r=0,n=d;var c=a?1:-1;return o>=g[0]+t&&o<=g[1]+t?c:0}if(a){h=r;r=l(n),n=l(h)}else r=l(r),n=l(n);r>n&&(n+=d);for(var f=0,p=0;p<2;p++){var v=g[p];if(v+t>o){var _=Math.atan2(s,v);c=a?1:-1;_<0&&(_=d+_),(_>=r&&_<=n||_+d>=r&&_+d<=n)&&(_>Math.PI/2&&_<1.5*Math.PI&&(c=-c),f+=c)}}return f}function w(t,e,i,r,h){for(var l=0,u=0,d=0,p=0,g=0,_=0;_1&&(i||(l+=c(u,d,p,g,r,h))),1===_&&(u=t[_],d=t[_+1],p=u,g=d),m){case f.M:p=t[_++],g=t[_++],u=p,d=g;break;case f.L:if(i){if(n.containStroke(u,d,t[_],t[_+1],e,r,h))return!0}else l+=c(u,d,t[_],t[_+1],r,h)||0;u=t[_++],d=t[_++];break;case f.C:if(i){if(a.containStroke(u,d,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],e,r,h))return!0}else l+=y(u,d,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],r,h)||0;u=t[_++],d=t[_++];break;case f.Q:if(i){if(o.containStroke(u,d,t[_++],t[_++],t[_],t[_+1],e,r,h))return!0}else l+=x(u,d,t[_++],t[_++],t[_],t[_+1],r,h)||0;u=t[_++],d=t[_++];break;case f.A:var w=t[_++],k=t[_++],T=t[_++],S=t[_++],A=t[_++],C=t[_++];_+=1;var M=1-t[_++],P=Math.cos(A)*T+w,L=Math.sin(A)*S+k;_>1?l+=c(u,d,P,L,r,h):(p=P,g=L);var O=(r-w)*S/T+w;if(i){if(s.containStroke(w,k,S,A,A+C,M,e,O,h))return!0}else l+=b(w,k,S,A,A+C,M,O,h);u=Math.cos(A+C)*T+w,d=Math.sin(A+C)*S+k;break;case f.R:p=u=t[_++],g=d=t[_++];var E=t[_++],z=t[_++];P=p+E,L=g+z;if(i){if(n.containStroke(p,g,P,g,e,r,h)||n.containStroke(P,g,P,L,e,r,h)||n.containStroke(P,L,p,L,e,r,h)||n.containStroke(p,L,p,g,e,r,h))return!0}else l+=c(P,g,P,L,r,h),l+=c(p,L,p,g,r,h);break;case f.Z:if(i){if(n.containStroke(u,d,p,g,e,r,h))return!0}else l+=c(u,d,p,g,r,h);u=p,d=g;break}}return i||v(d,g)||(l+=c(u,d,p,g,r,h)||0),0!==l}function k(t,e,i){return w(t,0,!1,e,i)}function T(t,e,i,r){return w(t,e,!0,i,r)}e.contain=k,e.containStroke=T},d96e:function(t,e,i){"use strict";var r=!1,n=function(){};if(r){var a=function(t,e){var i=arguments.length;e=new Array(i>1?i-1:0);for(var r=1;r2?r-2:0);for(var n=2;n=0;--r)if(e[r]===t)return!0;return!1}),i}return null}return i[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var n=i.style;n.width=t+"px",n.height=e+"px";var a=this._svgRoot;a.setAttribute("width",t),a.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],r=["clientWidth","clientHeight"][t],n=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[r]||m(s[i])||m(o.style[i]))-(m(s[n])||0)-(m(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){this.refresh();var t=this._svgRoot.outerHTML;return"data:image/svg+xml;charset=UTF-8,"+t}},a.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){A.prototype[t]=C(t)});var M=A;t.exports=M},dc2f:function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var r=i;t.exports=r},dded:function(t,e,i){var r=i("6d8b"),n=i("42e5"),a=function(t,e,i,r,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=a||!1,n.call(this,r)};a.prototype={constructor:a},r.inherits(a,n);var o=a;t.exports=o},de00:function(t,e){var i=2311;function r(){return i++}t.exports=r},e1fc:function(t,e,i){var r=i("6d8b"),n=i("d5b7"),a=i("9850"),o=function(t){for(var e in t=t||{},n.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);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(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,n=this._children,a=r.indexOf(n,t);return a<0?this:(n.splice(a,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,r=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-n,v[0]=t+i,void(v[1]=e+n);if(u[0]=h(a)*i+t,u[1]=s(a)*n+e,c[0]=h(o)*i+t,c[1]=s(o)*n+e,g(p,u,c),_(v,u,c),a%=l,a<0&&(a+=l),o%=l,o<0&&(o+=l),a>o&&!d?o+=l:aa&&(f[0]=h(x)*i+t,f[1]=s(x)*n+e,g(p,f,p),_(v,f,v))}e.fromPoints=d,e.fromLine=p,e.fromCubic=_,e.fromQuadratic=m,e.fromArc=y},e7d2:function(t,e,i){var r=i("4a3f");function n(t,e,i,n,a,o,s,h,l,u,c){if(0===l)return!1;var f=l;if(c>e+f&&c>n+f&&c>o+f&&c>h+f||ct+f&&u>i+f&&u>a+f&&u>s+f||ud&&(f=0,c={}),f++,c[i]=n,n}function y(t,e,i,r,n,a,o,s){return o?b(t,e,i,r,n,a,o,s):x(t,e,i,r,n,a,s)}function x(t,e,i,n,a,o,s){var h=O(t,e,a,o,s),l=m(t,e);a&&(l+=a[1]+a[3]);var u=h.outerHeight,c=w(0,l,i),f=k(0,u,n),d=new r(c,f,l,u);return d.lineHeight=h.lineHeight,d}function b(t,e,i,n,a,o,s,h){var l=E(t,{rich:s,truncate:h,font:e,textAlign:i,textPadding:a,textLineHeight:o}),u=l.outerWidth,c=l.outerHeight,f=w(0,u,i),d=k(0,c,n);return new r(f,d,u,c)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function k(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function T(t,e,i){var r=e.x,n=e.y,a=e.height,o=e.width,s=a/2,h="left",l="top";switch(t){case"left":r-=i,n+=s,h="right",l="middle";break;case"right":r+=i+o,n+=s,l="middle";break;case"top":r+=o/2,n-=i,h="center",l="bottom";break;case"bottom":r+=o/2,n+=a+i,h="center";break;case"inside":r+=o/2,n+=s,h="center",l="middle";break;case"insideLeft":r+=i,n+=s,l="middle";break;case"insideRight":r+=o-i,n+=s,h="right",l="middle";break;case"insideTop":r+=o/2,n+=i,h="center";break;case"insideBottom":r+=o/2,n+=a-i,h="center",l="bottom";break;case"insideTopLeft":r+=i,n+=i;break;case"insideTopRight":r+=o-i,n+=i,h="right";break;case"insideBottomLeft":r+=i,n+=a-i,l="bottom";break;case"insideBottomRight":r+=o-i,n+=a-i,h="right",l="bottom";break}return{x:r,y:n,textAlign:h,textVerticalAlign:l}}function S(t,e,i,r,n){if(!e)return"";var a=(t+"").split("\n");n=A(e,i,r,n);for(var o=0,s=a.length;o=a;l++)o-=a;var u=m(i,e);return u>o&&(i="",u=0),o=t-u,r.ellipsis=i,r.ellipsisWidth=u,r.contentWidth=o,r.containerWidth=t,r}function C(t,e){var i=e.containerWidth,r=e.font,n=e.contentWidth;if(!i)return"";var a=m(t,r);if(a<=i)return t;for(var o=0;;o++){if(a<=n||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?M(t,n,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*n/a):0;t=t.substr(0,s),a=m(t,r)}return""===t&&(t=e.placeholder),t}function M(t,e,i,r){for(var n=0,a=0,o=t.length;au)t="",o=[];else if(null!=c)for(var f=A(c-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),d=0,p=o.length;da&&z(i,t.substring(a,o)),z(i,r[2],r[1]),a=p.lastIndex}a_)return{lines:[],width:0,height:0};T.textWidth=m(T.text,M);var O=A.textWidth,E=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))T.percentWidth=O,f.push(T),O=0;else{if(E){O=T.textWidth;var D=A.textBackgroundColor,B=D&&D.image;B&&(B=n.findExistImage(B),n.isImageReady(B)&&(O=Math.max(O,B.width*L/B.height)))}var R=C?C[1]+C[3]:0;O+=R;var I=null!=g?g-w:null;null!=I&&I=0&&i.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=_,o.__drawIndex0&&t>r[0]){for(s=0;st)break;a=i[r[s]]}if(r.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?h.insertBefore(e.dom,l.nextSibling):h.appendChild(e.dom)}else h.firstChild?h.insertBefore(e.dom,h.firstChild):h.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,r,n=this._zlevelList;for(r=0;r0?v:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+h+" has been used by unkown layer "+s.id),s!==n&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),n=s),r.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?a.merge(i[t],e,!0):i[t]=e;for(var r=0;r