/*! * build: Vue Admin Plus * copyright: vue-admin-beautiful.com * time: 2024-06-17 18:02:30 */ "use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[792],{73098:function(t,e,r){r.d(e,{Y5:function(){return o},_S:function(){return s},el:function(){return u},ps:function(){return a},tY:function(){return h}});var n=r(38123),i=1;n.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",u="#ccc",h="#eee"},57043:function(t,e,r){function n(t,e,r,n,i,o,a){if(0===i)return!1;var s=i,u=0,h=t;if(a>e+s&&a>n+s||at+s&&o>r+s||oe+l&&h>i+l&&h>a+l||ht+l&&u>r+l&&u>o+l||u=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,r){var n=e.position||"inside",i=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,u=r.x,h=r.y,l="left",c="top";if(n instanceof Array)u+=p(n[0],r.width),h+=p(n[1],r.height),l=null,c=null;else switch(n){case"left":u-=i,h+=s,l="right",c="middle";break;case"right":u+=i+a,h+=s,c="middle";break;case"top":u+=a/2,h-=i,l="center",c="bottom";break;case"bottom":u+=a/2,h+=o+i,l="center";break;case"inside":u+=a/2,h+=s,l="center",c="middle";break;case"insideLeft":u+=i,h+=s,c="middle";break;case"insideRight":u+=a-i,h+=s,l="right",c="middle";break;case"insideTop":u+=a/2,h+=i,l="center";break;case"insideBottom":u+=a/2,h+=o-i,l="center",c="bottom";break;case"insideTopLeft":u+=i,h+=i;break;case"insideTopRight":u+=a-i,h+=i,l="right";break;case"insideBottomLeft":u+=i,h+=o-i,c="bottom";break;case"insideBottomRight":u+=a-i,h+=o-i,l="right",c="bottom";break}return t=t||{},t.x=u,t.y=h,t.align=l,t.verticalAlign=c,t}},41589:function(t,e,r){r.d(e,{n:function(){return i}});var n=2*Math.PI;function i(t){return t%=n,t<0&&(t+=n),t}},76873:function(t,e,r){function n(t,e,r,n,i,o){if(o>e&&o>n||oi?s:0}r.d(e,{A:function(){return n}})},29308:function(t,e,r){var n=r(45587),i=r(26346),o=Math.min,a=Math.max,s=new i.A,u=new i.A,h=new i.A,l=new i.A,c=new i.A,f=new i.A,p=function(){function t(t,e,r,n){r<0&&(t+=r,r=-r),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=r,this.height=n}return t.prototype.union=function(t){var e=o(t.x,this.x),r=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,r=t.width/e.width,i=t.height/e.height,o=n.vt();return n.Tl(o,o,[-e.x,-e.y]),n.hs(o,o,[r,i]),n.Tl(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,r){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,o=n.x,a=n.x+n.width,s=n.y,u=n.y+n.height,h=e.x,l=e.x+e.width,p=e.y,d=e.y+e.height,v=!(ag&&(g=b,m<_?i.A.set(f,-m,0):i.A.set(f,_,0)):bg&&(g=A,x=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,r,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],c=n[3],f=n[4],p=n[5];return e.x=r.x*i+f,e.y=r.y*c+p,e.width=r.width*i,e.height=r.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=h.x=r.x,s.y=l.y=r.y,u.x=l.x=r.x+r.width,u.y=h.y=r.y+r.height,s.transform(n),l.transform(n),u.transform(n),h.transform(n),e.x=o(s.x,u.x,h.x,l.x),e.y=o(s.y,u.y,h.y,l.y);var d=a(s.x,u.x,h.x,l.x),v=a(s.y,u.y,h.y,l.y);e.width=d-e.x,e.height=v-e.y}else e!==r&&t.copy(e,r)},t}();e.A=p},57861:function(t,e){var r=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof e&&(n=r,r=e,e=null),!r||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a1&&n&&n.length>1){var s=o(n)/o(i);!isFinite(s)&&(s=1),e.pinchScale=s;var u=a(n);return e.pinchX=u[0],e.pinchY=u[1],{type:"pinch",target:t[0].target,event:e}}}}}},60501:function(t,e,r){var n=function(){function t(t){this.value=t}return t}(),i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,i=this._map,o=null;if(null==i[t]){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var u=r.head;r.remove(u),delete i[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new n(e),s.key=t,r.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.Ay=o},84716:function(t,e,r){var n=r(26346),i=[0,0],o=[0,0],a=new n.A,s=new n.A,u=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new n.A;for(r=0;r<2;r++)this._axes[r]=new n.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,u),r[3].set(o,u),e)for(var h=0;h<4;h++)r[h].transform(e);n.A.sub(i[0],r[1],r[0]),n.A.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(h=0;h<2;h++)this._origin[h]=i[h].dot(r[0])},t.prototype.intersect=function(t,e){var r=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(r=!1,i)||i||n.A.copy(e,r?a:s),r},t.prototype._intersectCheckOneSide=function(t,e,r,a,s,u){for(var h=!0,l=0;l<2;l++){var c=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,i),this._getProjMinMaxOnAxis(l,e._corners,o),i[1]o[1]){if(h=!1,s)return h;var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)>a.len()&&(f=w?i=r+w:e&&r-i>=w?i=r-w:!e&&r>i?i=r+(w-k(r-i)):e&&r0&&(this._ux=_(r/o.Y5/t)||0,this._uy=_(r/o.Y5/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var r=_(t-this._xi),n=_(e-this._yi),i=r>this._ux||n>this._uy;if(this.addData(u.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=r*r+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,r,n,i,o){return this._drawPendingPt(),this.addData(u.C,t,e,r,n,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(u.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},t.prototype.arc=function(t,e,r,n,i,o){this._drawPendingPt(),A[0]=n,A[1]=i,S(A,o),n=A[0],i=A[1];var a=i-n;return this.addData(u.A,t,e,r,r,n,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,r,n,i,o),this._xi=g(i)*r+t,this._yi=m(i)*r+e,this},t.prototype.arcTo=function(t,e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,i),this},t.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(u.R,t,e,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(u.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!b||(this.data=new Float32Array(e));for(var r=0;rh.length&&(this._expandData(),h=this.data);for(var l=0;l0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){c[0]=c[1]=p[0]=p[1]=Number.MAX_VALUE,f[0]=f[1]=d[0]=d[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,s=0,h=0;for(t=0;tr||_(T)>n||p===e-1)&&(b=Math.sqrt(S*S+T*T),i=A,o=k);break;case u.C:var C=t[p++],M=t[p++],P=(A=t[p++],k=t[p++],t[p++]),O=t[p++];b=(0,s.h0)(i,o,C,M,A,k,P,O,10),i=P,o=O;break;case u.Q:C=t[p++],M=t[p++],A=t[p++],k=t[p++];b=(0,s.d8)(i,o,C,M,A,k,10),i=A,o=k;break;case u.A:var D=t[p++],R=t[p++],F=t[p++],z=t[p++],I=t[p++],L=t[p++],N=L+I;p+=1,x&&(a=g(I)*F+D,h=m(I)*z+R),b=y(F,z)*v(w,Math.abs(L)),i=g(N)*F+D,o=m(N)*z+R;break;case u.R:a=i=t[p++],h=o=t[p++];var W=t[p++],X=t[p++];b=2*W+2*X;break;case u.Z:S=a-i,T=h-o;b=Math.sqrt(S*S+T*T),i=a,o=h;break}b>=0&&(l[f++]=b,c+=b)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var r,n,i,o,a,c,f,p,d,x,w,b=this.data,A=this._ux,k=this._uy,S=this._len,T=e<1,C=0,M=0,P=0;if(!T||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=this._pathLen,d=e*p,d))t:for(var O=0;O0&&(t.lineTo(x,w),P=0),D){case u.M:r=i=b[O++],n=o=b[O++],t.moveTo(i,o);break;case u.L:a=b[O++],c=b[O++];var F=_(a-i),z=_(c-o);if(F>A||z>k){if(T){var I=f[M++];if(C+I>d){var L=(d-C)/I;t.lineTo(i*(1-L)+a*L,o*(1-L)+c*L);break t}C+=I}t.lineTo(a,c),i=a,o=c,P=0}else{var N=F*F+z*z;N>P&&(x=a,w=c,P=N)}break;case u.C:var W=b[O++],X=b[O++],B=b[O++],H=b[O++],Y=b[O++],j=b[O++];if(T){I=f[M++];if(C+I>d){L=(d-C)/I;(0,s.YT)(i,W,B,Y,L,h),(0,s.YT)(o,X,H,j,L,l),t.bezierCurveTo(h[1],l[1],h[2],l[2],h[3],l[3]);break t}C+=I}t.bezierCurveTo(W,X,B,H,Y,j),i=Y,o=j;break;case u.Q:W=b[O++],X=b[O++],B=b[O++],H=b[O++];if(T){I=f[M++];if(C+I>d){L=(d-C)/I;(0,s.kx)(i,W,B,L,h),(0,s.kx)(o,X,H,L,l),t.quadraticCurveTo(h[1],l[1],h[2],l[2]);break t}C+=I}t.quadraticCurveTo(W,X,B,H),i=B,o=H;break;case u.A:var E=b[O++],q=b[O++],Z=b[O++],U=b[O++],V=b[O++],$=b[O++],G=b[O++],Q=!b[O++],K=Z>U?Z:U,J=_(Z-U)>.001,tt=V+$,et=!1;if(T){I=f[M++];C+I>d&&(tt=V+$*(d-C)/I,et=!0),C+=I}if(J&&t.ellipse?t.ellipse(E,q,Z,U,G,V,tt,Q):t.arc(E,q,K,V,tt,Q),et)break t;R&&(r=g(V)*Z+E,n=m(V)*U+q),i=g(tt)*Z+E,o=m(tt)*U+q;break;case u.R:r=i=b[O],n=o=b[O+1],a=b[O++],c=b[O++];var rt=b[O++],nt=b[O++];if(T){I=f[M++];if(C+I>d){var it=d-C;t.moveTo(a,c),t.lineTo(a+v(it,rt),c),it-=rt,it>0&&t.lineTo(a+rt,c+v(it,nt)),it-=nt,it>0&&t.lineTo(a+y(rt-it,0),c+nt),it-=rt,it>0&&t.lineTo(a,c+y(nt-it,0));break t}C+=I}t.rect(a,c,rt,nt);break;case u.Z:if(T){I=f[M++];if(C+I>d){L=(d-C)/I;t.lineTo(i*(1-L)+r*L,o*(1-L)+n*L);break t}C+=I}t.closePath(),i=r,o=n}}},t.prototype.clone=function(){var e=new t,r=this.data;return e.data=r.slice?r.slice():Array.prototype.slice.call(r),e._len=this._len,e},t.CMD=u,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e.A=T},26346:function(t,e){var r=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,r){t.x=e,t.y=r},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,n){t.x=e.x+r.x*n,t.y=e.y+r.y*n},t.lerp=function(t,e,r,n){var i=1-n;t.x=i*e.x+n*r.x,t.y=i*e.y+n*r.y},t}();e.A=r},92836:function(t,e,r){r.d(e,{IT:function(){return d},Wx:function(){return p}});var n=r(45587),i=r(83509),o=n.D_,a=5e-5;function s(t){return t>a||t<-a}var u=[],h=[],l=n.vt(),c=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;e||t?(r=r||n.vt(),e?this.getLocalTransform(r):o(r),t&&(e?n.lK(r,t,r):n.C(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&(o(r),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(u);var r=u[0]<0?-1:1,i=u[1]<0?-1:1,o=((u[0]-r)*e+r)/u[0]||0,a=((u[1]-i)*e+i)/u[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||n.vt(),n.B8(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),i=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||n.vt(),n.lK(h,t.invTransform,e),e=h);var r=this.originX,i=this.originY;(r||i)&&(l[4]=r,l[5]=i,n.lK(h,e,l),h[4]-=r,h[5]-=i,e=h),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&i.NW(r,r,n),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&i.NW(r,r,n),r},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){d(this,t)},t.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,h=t.rotation||0,l=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||u){var d=r+s,v=i+u;e[4]=-d*o-f*v*a,e[5]=-v*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,h&&n.e$(e,e,h),e[4]+=r+l,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var r=0;r1e-4)return d[0]=t-r,d[1]=e-i,v[0]=t+r,void(v[1]=e+i);if(l[0]=u(o)*r+t,l[1]=s(o)*i+e,c[0]=u(a)*r+t,c[1]=s(a)*i+e,y(d,l,c),g(v,l,c),o%=h,o<0&&(o+=h),a%=h,a<0&&(a+=h),o>a&&!p?a+=h:oo&&(f[0]=u(x)*r+t,f[1]=s(x)*i+e,y(d,f,d),g(v,f,v))}},89259:function(t,e,r){r.d(e,{Et:function(){return x},YT:function(){return _},Yb:function(){return v},_E:function(){return g},d8:function(){return M},gC:function(){return S},h0:function(){return w},k3:function(){return b},kh:function(){return C},kx:function(){return T},lX:function(){return m},qY:function(){return k},rD:function(){return y},z7:function(){return A}});var n=r(83509),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),h=1/3,l=(0,n.vt)(),c=(0,n.vt)(),f=(0,n.vt)();function p(t){return t>-a&&ta||t<-a}function v(t,e,r,n,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*n+3*o*r)}function y(t,e,r,n,i){var o=1-i;return 3*(((e-t)*o+2*(r-e)*i)*o+(n-r)*i*i)}function g(t,e,r,n,a,s){var l=n+3*(e-r)-t,c=3*(r-2*e+t),f=3*(e-t),d=t-a,v=c*c-3*l*f,y=c*f-9*l*d,g=f*f-3*c*d,m=0;if(p(v)&&p(y))if(p(c))s[0]=0;else{var _=-f/c;_>=0&&_<=1&&(s[m++]=_)}else{var x=y*y-4*v*g;if(p(x)){var w=y/v,b=(_=-c/l+w,-w/2);_>=0&&_<=1&&(s[m++]=_),b>=0&&b<=1&&(s[m++]=b)}else if(x>0){var A=o(x),k=v*c+1.5*l*(-y+A),S=v*c+1.5*l*(-y-A);k=k<0?-i(-k,h):i(k,h),S=S<0?-i(-S,h):i(S,h);_=(-c-(k+S))/(3*l);_>=0&&_<=1&&(s[m++]=_)}else{var T=(2*v*c-3*l*y)/(2*o(v*v*v)),C=Math.acos(T)/3,M=o(v),P=Math.cos(C),O=(_=(-c-2*M*P)/(3*l),b=(-c+M*(P+u*Math.sin(C)))/(3*l),(-c+M*(P-u*Math.sin(C)))/(3*l));_>=0&&_<=1&&(s[m++]=_),b>=0&&b<=1&&(s[m++]=b),O>=0&&O<=1&&(s[m++]=O)}}return m}function m(t,e,r,n,i){var a=6*r-12*e+6*t,s=9*e+3*n-3*t-9*r,u=3*e-3*t,h=0;if(p(s)){if(d(a)){var l=-u/a;l>=0&&l<=1&&(i[h++]=l)}}else{var c=a*a-4*s*u;if(p(c))i[0]=-a/(2*s);else if(c>0){var f=o(c),v=(l=(-a+f)/(2*s),(-a-f)/(2*s));l>=0&&l<=1&&(i[h++]=l),v>=0&&v<=1&&(i[h++]=v)}}return h}function _(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,u=(n-r)*i+r,h=(s-a)*i+a,l=(u-s)*i+s,c=(l-h)*i+h;o[0]=t,o[1]=a,o[2]=h,o[3]=c,o[4]=c,o[5]=l,o[6]=u,o[7]=n}function x(t,e,r,i,a,u,h,p,d,y,g){var m,_,x,w,b,A=.005,k=1/0;l[0]=d,l[1]=y;for(var S=0;S<1;S+=.05)c[0]=v(t,r,a,h,S),c[1]=v(e,i,u,p,S),w=(0,n.oi)(l,c),w=0&&w=0&&l<=1&&(i[h++]=l)}}else{var c=s*s-4*a*u;if(p(c)){l=-s/(2*a);l>=0&&l<=1&&(i[h++]=l)}else if(c>0){var f=o(c),v=(l=(-s+f)/(2*a),(-s-f)/(2*a));l>=0&&l<=1&&(i[h++]=l),v>=0&&v<=1&&(i[h++]=v)}}return h}function S(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function T(t,e,r,n,i){var o=(e-t)*n+t,a=(r-e)*n+e,s=(a-o)*n+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r}function C(t,e,r,i,a,u,h,p,d){var v,y=.005,g=1/0;l[0]=h,l[1]=p;for(var m=0;m<1;m+=.05){c[0]=b(t,r,a,m),c[1]=b(e,i,u,m);var _=(0,n.oi)(l,c);_=0&&_>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[h]+":0",n[1-u]+":auto",i[1-h]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}function f(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],u=[],h=!0,l=0;l<4;l++){var c=t[l].getBoundingClientRect(),f=2*l,p=c.left,d=c.top;s.push(p,d),h=h&&o&&p===o[f]&&d===o[f+1],u.push(t[l].offsetLeft,t[l].offsetTop)}return h&&i?i:(e.srcCoords=s,e[n]=r?a(u,s):a(s,u))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,v={"&":"&","<":"<",">":">",'"':""","'":"'"};function y(t){return null==t?"":(t+"").replace(d,(function(t,e){return v[e]}))}},38123:function(t,e){var r=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),n=function(){function t(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),i=new n;function o(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),o&&(r.edge=!0,r.version=o[1],r.newEdge=+o[1].split(".")[0]>18),a&&(r.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?i.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(i.node=!0,i.svgSupported=!0):o(navigator.userAgent,i),e.A=i},35452:function(t,e,r){r.d(e,{W5:function(){return y},Yo:function(){return u},ds:function(){return v},e0:function(){return c},f:function(){return d},mK:function(){return l},q2:function(){return p}});var n=r(38123),i=r(44265),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=n.A.browser.firefox&&+n.A.browser.version.split(".")[0]<39;function u(t,e,r,n){return r=r||{},n?h(t,e,r):s&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):h(t,e,r),r}function h(t,e,r){if(n.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.ot)(t)){var u=t.getBoundingClientRect();return r.zrX=o-u.left,void(r.zrY=s-u.top)}if((0,i.oq)(a,t,o,s))return r.zrX=a[0],void(r.zrY=a[1])}r.zrX=r.zrY=0}function l(t){return t||window.event}function c(t,e,r){if(e=l(e),null!=e.zrX)return e;var n=e.type,i=n&&n.indexOf("touch")>=0;if(i){var a="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];a&&u(t,a,e,r)}else{u(t,e,e,r);var s=f(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var h=e.button;return null==e.which&&void 0!==h&&o.test(e.type)&&(e.which=1&h?1:2&h?3:4&h?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;var i=0!==n?Math.abs(n):Math.abs(r),o=n>0?-1:n<0?1:r>0?-1:1;return 3*i*o}function p(t,e,r,n){t.addEventListener(e,r,n)}function d(t,e,r,n){t.removeEventListener(e,r,n)}var v=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}},45587:function(t,e,r){function n(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(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 a(t,e,r){var n=e[0]*r[0]+e[2]*r[1],i=e[1]*r[0]+e[3]*r[1],o=e[0]*r[2]+e[2]*r[3],a=e[1]*r[2]+e[3]*r[3],s=e[0]*r[4]+e[2]*r[5]+e[4],u=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=n,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t}function s(t,e,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+r[0],t[5]=e[5]+r[1],t}function u(t,e,r,n){void 0===n&&(n=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],u=e[3],h=e[5],l=Math.sin(r),c=Math.cos(r);return t[0]=i*c+s*l,t[1]=-i*l+s*c,t[2]=o*c+u*l,t[3]=-o*l+c*u,t[4]=c*(a-n[0])+l*(h-n[1])+n[0],t[5]=c*(h-n[1])-l*(a-n[0])+n[1],t}function h(t,e,r){var n=r[0],i=r[1];return t[0]=e[0]*n,t[1]=e[1]*i,t[2]=e[2]*n,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*i,t}function l(t,e){var r=e[0],n=e[2],i=e[4],o=e[1],a=e[3],s=e[5],u=r*a-o*n;return u?(u=1/u,t[0]=a*u,t[1]=-o*u,t[2]=-n*u,t[3]=r*u,t[4]=(n*s-a*i)*u,t[5]=(o*i-r*s)*u,t):null}function c(t){var e=n();return o(e,t),e}r.d(e,{B8:function(){return l},C:function(){return o},D_:function(){return i},Tl:function(){return s},e$:function(){return u},hs:function(){return h},lK:function(){return a},o8:function(){return c},vt:function(){return n}})},59741:function(t,e,r){r.d(e,{OH:function(){return o},gI:function(){return n},yh:function(){return c},zs:function(){return i}});var n=12,i="sans-serif",o=n+"px "+i,a=20,s=100,u="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function h(t){var e={};if("undefined"===typeof JSON)return e;for(var r=0;r=0)h=u*r.length;else for(var f=0;f=n)e|=1&t,t>>=1;return t+e}function a(t,e,r,n){var i=e+1;if(i===r)return 1;if(n(t[i++],t[e])<0){while(i=0)i++;return i-e}function s(t,e,r){r--;while(e>>1,i(a,t[o])<0?u=o:s=o+1;var h=n-s;switch(h){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(h>0)t[s+h]=t[s+h-1],h--}t[s]=a}}function h(t,e,r,n,i,o){var a=0,s=0,u=1;if(o(t,e[r+i])>0){s=n-i;while(u0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}else{s=i+1;while(us&&(u=s);var h=a;a=i-u,u=i-h}a++;while(a>>1);o(t,e[r+l])>0?a=l+1:u=l}return u}function l(t,e,r,n,i,o){var a=0,s=0,u=1;if(o(t,e[r+i])<0){s=i+1;while(us&&(u=s);var h=a;a=i-u,u=i-h}else{s=n-i;while(u=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}a++;while(a>>1);o(t,e[r+l])<0?u=l:a=l+1}return u}function c(t,e){var r,n,o=i,a=0,s=[];function u(t,e){r[a]=t,n[a]=e,a+=1}function c(){while(a>1){var t=a-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 f(){while(a>1){var t=a-2;t>0&&n[t-1]=i||y>=i);if(g)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===n){for(c=0;c=0;c--)t[y+c]=t[v+c];if(0===n){x=!0;break}}if(t[d--]=s[p--],1===--u){x=!0;break}if(_=u-h(t[f],s,0,u,u-1,e),0!==_){for(d-=_,p-=_,u-=_,y=d+1,v=p+1,c=0;c<_;c++)t[y+c]=s[v+c];if(u<=1){x=!0;break}}if(t[d--]=t[f--],0===--n){x=!0;break}g--}while(m>=i||_>=i);if(x)break;g<0&&(g=0),g+=2}if(o=g,o<1&&(o=1),1===u){for(d-=n,f-=n,y=d+1,v=f+1,c=n-1;c>=0;c--)t[y+c]=t[v+c];t[d]=s[p]}else{if(0===u)throw new Error;for(v=d-(u-1),c=0;c=0;c--)t[y+c]=t[v+c];t[d]=s[p]}else for(v=d-(u-1),c=0;cf&&(p=f),u(t,r,r+p,r+h,e),h=p}l.pushRun(r,h),l.mergeRuns(),s-=h,r+=h}while(0!==s);l.forceMergeRuns()}}},98026:function(t,e,r){r.d(e,{$3:function(){return pt},B:function(){return k},Bq:function(){return et},C7:function(){return q},En:function(){return nt},Et:function(){return B},Gv:function(){return H},HE:function(){return Z},HP:function(){return R},I6:function(){return D},Je:function(){return $},Kg:function(){return W},Lh:function(){return X},NT:function(){return b},Os:function(){return y},QX:function(){return J},TS:function(){return P},Tj:function(){return M},Tn:function(){return N},Um:function(){return x},WV:function(){return Q},X$:function(){return w},Xj:function(){return T},Yp:function(){return V},__:function(){return C},bZ:function(){return G},cF:function(){return I},co:function(){return S},cy:function(){return L},di:function(){return K},ed:function(){return ct},gd:function(){return U},h1:function(){return _},iq:function(){return ft},iu:function(){return j},lI:function(){return vt},lQ:function(){return dt},n_:function(){return E},nt:function(){return ht},o8:function(){return m},oI:function(){return z},pb:function(){return O},qh:function(){return A},vA:function(){return tt},vV:function(){return g},yB:function(){return lt}});var n=r(59741),i=P(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=P(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,u=s.forEach,h=s.filter,l=s.slice,c=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",v=2311;function y(){return v++}function g(){for(var t=[],e=0;e=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=i.qh(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,r=this._children,n=i.qh(r,t);return n<0||(r.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,r=0;re+f&&c>n+f&&c>o+f&&c>u+f||ct+f&&l>r+f&&l>i+f&&l>a+f||lr||f+hi&&(i+=c);var d=Math.atan2(u,s);return d<0&&(d+=c),d>=n&&d<=i||d+c>=n&&d+c<=i}var p=r(76873),d=o.A.CMD,v=2*Math.PI,y=1e-4;function g(t,e){return Math.abs(t-e)e&&l>n&&l>o&&l>u||l1&&x(),d=s.Yb(e,n,o,u,_[0]),p>1&&(v=s.Yb(e,n,o,u,_[1]))),2===p?g<_[0]?f+=de&&u>n&&u>o||u=0&&l<=1){for(var c=0,f=s.k3(e,n,o,l),p=0;pr||s<-r)return 0;var u=Math.sqrt(r*r-s*s);m[0]=-u,m[1]=u;var h=Math.abs(n-i);if(h<1e-4)return 0;if(h>=v-1e-4){n=0,i=v;var l=o?1:-1;return a>=m[0]+t&&a<=m[1]+t?l:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=v,i+=v);for(var f=0,p=0;p<2;p++){var d=m[p];if(d+t>a){var y=Math.atan2(s,d);l=o?1:-1;y<0&&(y=v+y),(y>=n&&y<=i||y+v>=n&&y+v<=i)&&(y>Math.PI/2&&y<1.5*Math.PI&&(l=-l),f+=l)}}return f}function k(t,e,r,n,i){for(var o,s,l=t.data,c=t.len(),v=0,y=0,m=0,_=0,x=0,k=0;k1&&(r||(v+=(0,p.A)(y,m,_,x,n,i))),T&&(y=l[k],m=l[k+1],_=y,x=m),S){case d.M:_=l[k++],x=l[k++],y=_,m=x;break;case d.L:if(r){if(a.l(y,m,l[k],l[k+1],e,n,i))return!0}else v+=(0,p.A)(y,m,l[k],l[k+1],n,i)||0;y=l[k++],m=l[k++];break;case d.C:if(r){if(u(y,m,l[k++],l[k++],l[k++],l[k++],l[k],l[k+1],e,n,i))return!0}else v+=w(y,m,l[k++],l[k++],l[k++],l[k++],l[k],l[k+1],n,i)||0;y=l[k++],m=l[k++];break;case d.Q:if(r){if(h.l(y,m,l[k++],l[k++],l[k],l[k+1],e,n,i))return!0}else v+=b(y,m,l[k++],l[k++],l[k],l[k+1],n,i)||0;y=l[k++],m=l[k++];break;case d.A:var C=l[k++],M=l[k++],P=l[k++],O=l[k++],D=l[k++],R=l[k++];k+=1;var F=!!(1-l[k++]);o=Math.cos(D)*P+C,s=Math.sin(D)*O+M,T?(_=o,x=s):v+=(0,p.A)(y,m,o,s,n,i);var z=(n-C)*O/P+C;if(r){if(f(C,M,O,D,D+R,F,e,z,i))return!0}else v+=A(C,M,O,D,D+R,F,z,i);y=Math.cos(D+R)*P+C,m=Math.sin(D+R)*O+M;break;case d.R:_=y=l[k++],x=m=l[k++];var I=l[k++],L=l[k++];if(o=_+I,s=x+L,r){if(a.l(_,x,o,x,e,n,i)||a.l(o,x,o,s,e,n,i)||a.l(o,s,_,s,e,n,i)||a.l(_,s,_,x,e,n,i))return!0}else v+=(0,p.A)(o,x,o,s,n,i),v+=(0,p.A)(_,s,_,x,n,i);break;case d.Z:if(r){if(a.l(y,m,_,x,e,n,i))return!0}else v+=(0,p.A)(y,m,_,x,n,i);y=_,m=x;break}}return r||g(m,x)||(v+=(0,p.A)(y,m,_,x,n,i)||0),0!==v}function S(t,e,r){return k(t,0,!1,e,r)}function T(t,e,r,n){return k(t,e,!0,r,n)}var C=r(98026),M=r(47698),P=r(73098),O=r(56448),D=r(92836),R=(0,C.NT)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),F={style:(0,C.NT)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},z=D.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),I=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.update=function(){var r=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){r.buildPath(t,r.shape)}),i.silent=!0;var o=i.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s.5?P._S:e>.2?P.tY:P.el}if(t)return P.el}return P._S},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,C.Kg)(e)){var r=this.__zr,n=!(!r||!r.isDarkMode()),i=(0,M.fN)(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,r=!t;if(r){var n=!1;this.path||(n=!0,this.createPathProxy());var i=this.path;(n||this.__dirty&O.Dl)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||r){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),i=this.style;if(t=r[0],e=r[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),T(o,a/s,t,e)))return!0}if(this.hasFill())return S(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=O.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},e.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"===typeof t?r[t]=e:(0,C.X$)(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&O.Dl)},e.prototype.createStyle=function(t){return(0,C.ed)(R,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,C.X$)({},this.shape))},e.prototype._applyStateObj=function(e,r,n,i,o,a){t.prototype._applyStateObj.call(this,e,r,n,i,o,a);var s,u=!(r&&i);if(r&&r.shape?o?i?s=r.shape:(s=(0,C.X$)({},n.shape),(0,C.X$)(s,r.shape)):(s=(0,C.X$)({},i?this.shape:n.shape),(0,C.X$)(s,r.shape)):u&&(s=n.shape),s)if(o){this.shape=(0,C.X$)({},this.shape);for(var h={},l=(0,C.HP)(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return(0,s.ed)(h,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var r=(0,o.NO)(e,t.font,t.textAlign,t.textBaseline);if(r.x+=t.x||0,r.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;r.x-=n/2,r.y-=n/2,r.width+=n,r.height+=n}this._rect=r}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(i.Ay);l.prototype.type="tspan",e.A=l},82980:function(t,e,r){r.d(e,{Ay:function(){return q},XE:function(){return N},I5:function(){return I}});var n=r(15215),i=r(12191),o=r(98026),a=r(45558),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function u(t,e,r,n,i){if(!e)return"";var o=(t+"").split("\n");i=h(e,r,n,i);for(var a=0,s=o.length;a=u;l++)h-=u;var c=(0,a.RG)(r,e);return c>h&&(r="",c=0),h=t-c,i.ellipsis=r,i.ellipsisWidth=c,i.contentWidth=h,i.containerWidth=t,i}function l(t,e){var r=e.containerWidth,n=e.font,i=e.contentWidth;if(!r)return"";var o=(0,a.RG)(t,n);if(o<=r)return t;for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?c(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,u),o=(0,a.RG)(t,n)}return""===t&&(t=e.placeholder),t}function c(t,e,r,n){for(var i=0,o=0,a=t.length;og&&d){var m=Math.floor(g/f);r=r.slice(0,m)}if(t&&u&&null!=v)for(var _=h(v,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;xp&&g(r,t.substring(p,d),e,f),g(r,n[2],e,f,n[1]),p=s.lastIndex}pl){M>0?(S.tokens=S.tokens.slice(0,M),A(S,C,T),r.lines=r.lines.slice(0,k+1)):r.lines=r.lines.slice(0,k);break t}var I=O.width,L=null==I||"auto"===I;if("string"===typeof I&&"%"===I.charAt(I.length-1))P.percentWidth=I,y.push(P),P.contentWidth=(0,a.RG)(P.text,F);else{if(L){var N=O.backgroundColor,W=N&&N.image;W&&(W=i.SR(W),i.xA(W)&&(P.width=Math.max(P.width,W.width*z/W.height)))}var X=w&&null!=h?h-C:null;null!=X&&X0&&g+n.accumWidth>n.width&&(o=e.split("\n"),f=!0),n.accumWidth=g}else{var m=w(e,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+y,s=m.linesWidths,o=m.lines}}else o=e.split("\n");for(var _=0;_=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var _=(0,o.TS)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function x(t){return!m(t)||!!_[t]}function w(t,e,r,n,i){for(var o=[],s=[],u="",h="",l=0,c=0,f=0;fr:i+c+d>r)?c?(u||h)&&(v?(u||(u=h,h="",l=0,c=l),o.push(u),s.push(c-l),h+=p,l+=d,u="",c=l):(h&&(u+=h,h="",l=0),o.push(u),s.push(c),u=p,c=d)):v?(o.push(h),s.push(l),h=p,l=d):(o.push(p),s.push(d)):(c+=d,v?(h+=p,l+=d):(h&&(u+=h,h="",l=0),u+=p))}else h&&(u+=h,c+=l),o.push(u),s.push(c),u="",h="",l=0,c=0}return o.length||u||(u=t,h="",l=0),h&&(u+=h),u&&(o.push(u),s.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:s}}var b=r(19845),A=r(90540),k=r(10992),S=r(29308),T=r(71519),C=r(59741),M={fill:"#000"},P=2,O={style:(0,o.NT)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},T.sW.style)},D=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=M,r.attr(e),r}return(0,n.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,R=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=i.calculatedLineHeight,z=0;z=0&&(O=b[P],"right"===O.align))this._placeToken(O,t,k,g,M,"right",_),S-=O.width,M-=O.width,P--;C+=(n-(C-v)-(m-M)-S)/2;while(T<=P)O=b[T],this._placeToken(O,t,k,g,C+O.width/2,"center",_),C+=O.width,T++;g+=k}},e.prototype._placeToken=function(t,e,r,n,i,s,u){var h=e.rich[t.styleName]||{};h.text=t.text;var l=t.verticalAlign,c=n+r/2;"top"===l?c=n+t.height/2:"bottom"===l&&(c=n+r-t.height/2);var f=!t.isLineHolder&&E(h);f&&this._renderBackground(h,e,"right"===s?i-t.width:"center"===s?i-t.width/2:i,c-t.height/2,t.width,t.height);var p=!!h.backgroundColor,d=t.textPadding;d&&(i=Y(i,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var v=this._getOrCreateChild(b.A),y=v.createStyle();v.useStyle(y);var g=this._defaultStyle,m=!1,_=0,x=H("fill"in h?h.fill:"fill"in e?e.fill:(m=!0,g.fill)),w=B("stroke"in h?h.stroke:"stroke"in e?e.stroke:p||u||g.autoStroke&&!m?null:(_=P,g.stroke)),A=h.textShadowBlur>0||e.textShadowBlur>0;y.text=t.text,y.x=i,y.y=c,A&&(y.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,y.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",y.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,y.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),y.textAlign=s,y.textBaseline="middle",y.font=t.font||C.OH,y.opacity=(0,o.WV)(h.opacity,e.opacity,1),L(y,h),w&&(y.lineWidth=(0,o.WV)(h.lineWidth,e.lineWidth,_),y.lineDash=(0,o.bZ)(h.lineDash,e.lineDash),y.lineDashOffset=e.lineDashOffset||0,y.stroke=w),x&&(y.fill=x);var k=t.contentWidth,T=t.contentHeight;v.setBoundingRect(new S.A((0,a.ll)(y.x,k,y.textAlign),(0,a.sZ)(y.y,T,y.textBaseline),k,T))},e.prototype._renderBackground=function(t,e,r,n,i,a){var s,u,h=t.backgroundColor,l=t.borderWidth,c=t.borderColor,f=h&&h.image,p=h&&!f,d=t.borderRadius,v=this;if(p||t.lineHeight||l&&c){s=this._getOrCreateChild(k.A),s.useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=r,y.y=n,y.width=i,y.height=a,y.r=d,s.dirtyShape()}if(p){var g=s.style;g.fill=h||null,g.fillOpacity=(0,o.bZ)(t.fillOpacity,1)}else if(f){u=this._getOrCreateChild(A.Ay),u.onload=function(){v.dirtyStyle()};var m=u.style;m.image=h.image,m.x=r,m.y=n,m.width=i,m.height=a}if(l&&c){g=s.style;g.lineWidth=l,g.stroke=c,g.strokeOpacity=(0,o.bZ)(t.strokeOpacity,1),g.lineDash=t.borderDash,g.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(g.strokeFirst=!0,g.lineWidth*=2)}var _=(s||u).style;_.shadowBlur=t.shadowBlur||0,_.shadowColor=t.shadowColor||"transparent",_.shadowOffsetX=t.shadowOffsetX||0,_.shadowOffsetY=t.shadowOffsetY||0,_.opacity=(0,o.WV)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return N(t)&&(e=[t.fontStyle,t.fontWeight,I(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,o.Bq)(e)||t.textFont||t.font},e}(T.Ay),R={left:!0,right:1,center:1},F={top:1,bottom:1,middle:1},z=["fontStyle","fontWeight","fontSize","fontFamily"];function I(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?C.gI+"px":t+"px":t}function L(t,e){for(var r=0;r=2){if(n){var a=i(o,n,r,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,u=0;u<(r?s:s-1);u++){var h=a[2*u],l=a[2*u+1],c=o[(u+1)%s];t.bezierCurveTo(h[0],h[1],l[0],l[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;uh&&(a=r+n,r*=h/a,n*=h/a),i+o>h&&(a=i+o,i*=h/a,o*=h/a),n+i>l&&(a=n+i,n*=l/a,i*=l/a),r+o>l&&(a=r+o,r*=l/a,o*=l/a),t.moveTo(s+r,u),t.lineTo(s+h-n,u),0!==n&&t.arc(s+h-n,u+n,n,-Math.PI/2,0),t.lineTo(s+h,u+l-i),0!==i&&t.arc(s+h-i,u+l-i,i,0,Math.PI/2),t.lineTo(s+o,u+l),0!==o&&t.arc(s+o,u+l-o,o,Math.PI/2,Math.PI),t.lineTo(s,u+r),0!==r&&t.arc(s+r,u+r,r,Math.PI,1.5*Math.PI)}var a=r(14865),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),u={},h=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var r,n,i,s;if(this.subPixelOptimize){var h=(0,a.Op)(u,e,this.style);r=h.x,n=h.y,i=h.width,s=h.height,h.r=e.r,e=h}else r=e.x,n=e.y,i=e.width,s=e.height;e.r?o(t,e):t.rect(r,n,i,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);h.prototype.type="rect";var l=h},42933:function(t,e,r){var n=r(15215),i=r(5070),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,i=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,i,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,i,!0)},e}(i.Ay);a.prototype.type="ring",e.A=a},59975:function(t,e,r){r.d(e,{A:function(){return A}});var n=r(15215),i=r(5070),o=r(98026),a=Math.PI,s=2*a,u=Math.sin,h=Math.cos,l=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,v=Math.min,y=1e-4;function g(t,e,r,n,i,o,a,s){var u=r-t,h=n-e,l=a-i,c=s-o,f=c*u-l*h;if(!(f*fR*R+F*F&&(T=M,C=P),{cx:T,cy:C,x0:-l,y0:-c,x1:T*(i/A-1),y1:C*(i/A-1)}}function _(t){var e;if((0,o.cy)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}function x(t,e){var r,n=d(e.r,0),i=d(e.r0||0,0),o=n>0,x=i>0;if(o||x){if(o||(n=i,i=0),i>n){var w=n;n=i,i=w}var b=e.startAngle,A=e.endAngle;if(!isNaN(b)&&!isNaN(A)){var k=e.cx,S=e.cy,T=!!e.clockwise,C=f(A-b),M=C>s&&C%s;if(M>y&&(C=M),n>y)if(C>s-y)t.moveTo(k+n*h(b),S+n*u(b)),t.arc(k,S,n,b,A,!T),i>y&&(t.moveTo(k+i*h(A),S+i*u(A)),t.arc(k,S,i,A,b,T));else{var P=void 0,O=void 0,D=void 0,R=void 0,F=void 0,z=void 0,I=void 0,L=void 0,N=void 0,W=void 0,X=void 0,B=void 0,H=void 0,Y=void 0,j=void 0,E=void 0,q=n*h(b),Z=n*u(b),U=i*h(A),V=i*u(A),$=C>y;if($){var G=e.cornerRadius;G&&(r=_(G),P=r[0],O=r[1],D=r[2],R=r[3]);var Q=f(n-i)/2;if(F=v(Q,D),z=v(Q,R),I=v(Q,P),L=v(Q,O),X=N=d(F,z),B=W=d(I,L),(N>y||W>y)&&(H=n*h(A),Y=n*u(A),j=i*h(b),E=i*u(b),Cy){var ot=v(D,X),at=v(R,X),st=m(j,E,q,Z,n,ot,T),ut=m(H,Y,U,V,n,at,T);t.moveTo(k+st.cx+st.x0,S+st.cy+st.y0),X0&&t.arc(k+st.cx,S+st.cy,ot,c(st.y0,st.x0),c(st.y1,st.x1),!T),t.arc(k,S,n,c(st.cy+st.y1,st.cx+st.x1),c(ut.cy+ut.y1,ut.cx+ut.x1),!T),at>0&&t.arc(k+ut.cx,S+ut.cy,at,c(ut.y1,ut.x1),c(ut.y0,ut.x0),!T))}else t.moveTo(k+q,S+Z),t.arc(k,S,n,b,A,!T);else t.moveTo(k+q,S+Z);if(i>y&&$)if(B>y){ot=v(P,B),at=v(O,B),st=m(U,V,H,Y,i,-at,T),ut=m(q,Z,j,E,i,-ot,T);t.lineTo(k+st.cx+st.x0,S+st.cy+st.y0),B0&&t.arc(k+st.cx,S+st.cy,at,c(st.y0,st.x0),c(st.y1,st.x1),!T),t.arc(k,S,i,c(st.cy+st.y1,st.cx+st.x1),c(ut.cy+ut.y1,ut.cx+ut.x1),T),ot>0&&t.arc(k+ut.cx,S+ut.cy,ot,c(ut.y1,ut.x1),c(ut.y0,ut.x0),!T))}else t.lineTo(k+U,S+V),t.arc(k,S,i,A,b,T);else t.lineTo(k+U,S+V)}else t.moveTo(k,S);t.closePath()}}}var w=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),b=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new w},e.prototype.buildPath=function(t,e){x(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.Ay);b.prototype.type="sector";var A=b},32939:function(t,e){var r=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),n=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new r(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,o=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(o,a,t),this.handler.dispatchToElement(new r(e,t),"drag",t.event);var s=this.handler.findHover(n,i,e).target,u=this._dropTarget;this._dropTarget=s,e!==s&&(u&&s!==u&&this.handler.dispatchToElement(new r(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new r(s,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new r(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new r(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();e.A=n},78041:function(t,e,r){r.d(e,{A:function(){return Jt}});var n=r(3455),i=r(5070),o=r(90540),a=r(45558),s=r(19845),u=Math.sin,h=Math.cos,l=Math.PI,c=2*Math.PI,f=180/l,p=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,r,n,i,o){this._add("C",t,e,r,n,i,o)},t.prototype.quadraticCurveTo=function(t,e,r,n){this._add("Q",t,e,r,n)},t.prototype.arc=function(t,e,r,n,i,o){this.ellipse(t,e,r,r,0,n,i,o)},t.prototype.ellipse=function(t,e,r,i,o,a,s,p){var d=s-a,v=!p,y=Math.abs(d),g=(0,n.Cv)(y-c)||(v?d>=c:-d>=c),m=d>0?d%c:d%c+c,_=!1;_=!!g||!(0,n.Cv)(y)&&m>=l===!!v;var x=t+r*h(a),w=e+i*u(a);this._start&&this._add("M",x,w);var b=Math.round(o*f);if(g){var A=1/this._p,k=(v?1:-1)*(c-A);this._add("A",r,i,b,1,+v,t+r*h(a+k),e+i*u(a+k)),A>.01&&this._add("A",r,i,b,0,+v,x,w)}else{var S=t+r*h(s),T=e+i*u(s);this._add("A",r,i,b,+_,+v,S,T)}},t.prototype.rect=function(t,e,r,n){this._add("M",t,e),this._add("l",r,0),this._add("l",0,n),this._add("l",-r,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,r,n,i,o,a,s,u){for(var h=[],l=this._p,c=1;c"}function F(t){return""}function z(t,e){e=e||{};var r=e.newline?"\n":"";function n(t){var e=t.children,i=t.tag,o=t.attrs,a=t.text;return R(i,o)+("style"!==i?(0,k.Me)(a):a||"")+(e?""+r+(0,y.Tj)(e,(function(t){return n(t)})).join(r)+r:"")+F(i)}return n(t)}function I(t,e,r){r=r||{};var n=r.newline?"\n":"",i=" {"+n,o=n+"}",a=(0,y.Tj)((0,y.HP)(t),(function(e){return e+i+(0,y.Tj)((0,y.HP)(t[e]),(function(r){return r+":"+t[e][r]+";"})).join(n)+o})).join(n),s=(0,y.Tj)((0,y.HP)(e),(function(t){return"@keyframes "+t+i+(0,y.Tj)((0,y.HP)(e[t]),(function(r){return r+i+(0,y.Tj)((0,y.HP)(e[t][r]),(function(n){var i=e[t][r][n];return"d"===n&&(i='path("'+i+'")'),n+":"+i+";"})).join(n)+o})).join(n)+o})).join(n);return a||s?[""].join(n):""}function L(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function N(t,e,r,n){return D("svg","root",{width:t,height:e,xmlns:S,"xmlns:xlink":T,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},r)}var W=r(12191),X=r(92836),B=r(68717),H=r(82591),Y=r(96320),j=0;function E(){return j++}var q={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Z="transform-origin";function U(t,e,r){var i=(0,y.X$)({},t.shape);(0,y.X$)(i,e),t.buildPath(r,i);var o=new d;return o.reset((0,n.MD)(t)),r.rebuildPath(o,1),o.generateStr(),o.getStr()}function V(t,e){var r=e.originX,n=e.originY;(r||n)&&(t[Z]=r+"px "+n+"px")}var $={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function G(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function Q(t,e,r){var n,i,o=t.shape.paths,a={};if((0,y.__)(o,(function(t){var e=L(r.zrId);e.animation=!0,J(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,u=(0,y.HP)(o),h=u.length;if(h){i=u[h-1];var l=o[i];for(var c in l){var f=l[c];a[c]=a[c]||{d:""},a[c].d+=f.d||""}for(var p in s){var d=s[p].animation;d.indexOf(i)>=0&&(n=d)}}})),n){e.d=!1;var s=G(a,r);return n.replace(i,s)}}function K(t){return(0,y.Kg)(t)?q[t]?"cubic-bezier("+q[t]+")":(0,Y.w)(t)?t:"":""}function J(t,e,r,i){var o=t.animators,a=o.length,s=[];if(t instanceof H.A){var u=Q(t,e,r);if(u)s.push(u);else if(!a)return}else if(!a)return;for(var h={},l=0;l0})).length){var D=G(c,r);return D+" "+o[0]+" both"}}for(var m in h){u=g(h[m]);u&&s.push(u)}if(s.length){var _=r.zrId+"-cls-"+E();r.cssNodes["."+_]={animation:s.join(",")},e["class"]=_}}var tt=r(82980),et=r(59741),rt=r(47698);function nt(t,e,r){if(!t.ignore)if(t.isSilent()){var n={"pointer-events":"none"};it(n,e,r,!0)}else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},o=i.fill;if(!o){var a=t.style&&t.style.fill,s=t.states.select&&t.states.select.style&&t.states.select.style.fill,u=t.currentStates.indexOf("select")>=0&&s||a;u&&(o=(0,rt.P)(u))}var h=i.lineWidth;if(h){var l=!i.strokeNoScale&&t.transform?t.transform[0]:1;h/=l}n={cursor:"pointer"};o&&(n.fill=o),i.stroke&&(n.stroke=i.stroke),h&&(n["stroke-width"]=h),it(n,e,r,!0)}}function it(t,e,r,n){var i=JSON.stringify(t),o=r.cssStyleCache[i];o||(o=r.zrId+"-cls-"+E(),r.cssStyleCache[i]=o,r.cssNodes["."+o+(n?":hover":"")]=t),e["class"]=e["class"]?e["class"]+" "+o:o}var ot=r(87891),at=Math.round;function st(t){return t&&(0,y.Kg)(t.src)}function ut(t){return t&&(0,y.Tn)(t.toDataURL)}function ht(t,e,r,i){A((function(o,a){var s="fill"===o||"stroke"===o;s&&(0,n.bn)(a)?kt(e,t,o,i):s&&(0,n.Pt)(a)?St(r,t,o,i):t[o]=s&&"none"===a?"transparent":a}),e,r,!1),At(r,t,i)}function lt(t,e){var r=(0,ot.N1)(e);r&&(r.each((function(e,r){null!=e&&(t[(P+r).toLowerCase()]=e+"")})),e.isSilent()&&(t[P+"silent"]="true"))}function ct(t){return(0,n.Cv)(t[0]-1)&&(0,n.Cv)(t[1])&&(0,n.Cv)(t[2])&&(0,n.Cv)(t[3]-1)}function ft(t){return(0,n.Cv)(t[4])&&(0,n.Cv)(t[5])}function pt(t,e,r){if(e&&(!ft(e)||!ct(e))){var i=r?10:1e4;t.transform=ct(e)?"translate("+at(e[4]*i)/i+" "+at(e[5]*i)/i+")":(0,n.nV)(e)}}function dt(t,e,r){for(var n=t.points,i=[],o=0;oh?(a=null==r[f+1]?null:r[f+1].elm,Yt(t,a,r,u,f)):jt(t,e,s,h))}function Zt(t,e){var r=e.elm=t.elm,n=t.children,i=e.children;t!==e&&(Et(t,e),Nt(e.text)?Wt(n)&&Wt(i)?n!==i&&qt(r,n,i):Wt(i)?(Wt(t.text)&&Ft(r,""),Yt(r,null,i,0,i.length-1)):Wt(n)?jt(r,n,0,n.length-1):Wt(t.text)&&Ft(r,""):t.text!==e.text&&(Wt(n)&&jt(r,n,0,n.length-1),Ft(r,e.text)))}function Ut(t,e){if(Bt(t,e))Zt(t,e);else{var r=t.elm,n=Dt(r);Ht(e),null!==n&&(Mt(n,e.elm,Rt(r)),jt(n,[t],0,0))}return e}var Vt=r(53479),$t=0,Gt=function(){function t(t,e,r){if(this.type="svg",this.refreshHover=Qt("refreshHover"),this.configLayer=Qt("configLayer"),this.storage=e,this._opts=r=(0,y.X$)({},r),this.root=t,this._id="zr"+$t++,this._oldVNode=N(r.width,r.height),t&&!r.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=O("svg");Et(null,this._oldVNode),n.appendChild(i),t.appendChild(n)}this.resize(r.width,r.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",Ut(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return bt(t,L(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),r=this._width,n=this._height,i=L(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis;var o=[],a=this._bgVNode=Kt(r,n,this._backgroundColor,i);a&&o.push(a);var s=t.compress?null:this._mainVNode=D("g","main",{},[]);this._paintList(e,i,s?s.children:o),s&&o.push(s);var u=(0,y.Tj)((0,y.HP)(i.defs),(function(t){return i.defs[t]}));if(u.length&&o.push(D("defs","defs",{},u)),t.animation){var h=I(i.cssNodes,i.cssAnims,{newline:!0});if(h){var l=D("style","stl",{},[],h);o.push(l)}}return N(r,n,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},z(this.renderToVNode({animation:(0,y.bZ)(t.cssAnimation,!0),emphasis:(0,y.bZ)(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:(0,y.bZ)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,r){for(var n,i,o=t.length,a=[],s=0,u=0,h=0;h=0;d--)if(c&&i&&c[d]===i[d])break;for(var v=p-1;v>d;v--)s--,n=a[s-1];for(var y=d+1;y-1){var r=(0,i.qg)(t);r&&(t="rgb("+r[0]+","+r[1]+","+r[2]+")",e=r[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var u=1e-4;function h(t){return t-u}function l(t){return a(1e3*t)/1e3}function c(t){return a(1e4*t)/1e4}function f(t){return"matrix("+l(t[0])+","+l(t[1])+","+l(t[2])+","+l(t[3])+","+c(t[4])+","+c(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function d(t,e,r){return"top"===r?t+=e/2:"bottom"===r&&(t-=e/2),t}function v(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function y(t){var e=t.style,r=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function g(t){return t&&!!t.image}function m(t){return t&&!!t.svgElement}function _(t){return g(t)||m(t)}function x(t){return"linear"===t.type}function w(t){return"radial"===t.type}function b(t){return t&&("linear"===t.type||"radial"===t.type)}function A(t){return"url(#"+t+")"}function k(t){var e=t.getGlobalScale(),r=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function S(t){var e=t.x||0,r=t.y||0,i=(t.rotation||0)*n.lI,o=(0,n.bZ)(t.scaleX,1),s=(0,n.bZ)(t.scaleY,1),u=t.skewX||0,h=t.skewY||0,l=[];return(e||r)&&l.push("translate("+e+"px,"+r+"px)"),i&&l.push("rotate("+i+")"),1===o&&1===s||l.push("scale("+o+","+s+")"),(u||h)&&l.push("skew("+a(u*n.lI)+"deg, "+a(h*n.lI)+"deg)"),l.join(" ")}var T=function(){return o.A.hasGlobalWindow&&(0,n.Tn)(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}}()},47698:function(t,e,r){r.d(e,{As:function(){return T},Cc:function(){return A},P:function(){return P},Yu:function(){return k},ad:function(){return b},fN:function(){return C},hm:function(){return S},qg:function(){return m},yY:function(){return w}});var n=r(60501),i=r(98026),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return t=Math.round(t),t<0?0:t>255?255:t}function s(t){return t=Math.round(t),t<0?0:t>360?360:t}function u(t){return t<0?0:t>1?1:t}function h(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?u(parseFloat(e)/100):u(parseFloat(e))}function c(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function f(t,e,r){return t+(e-t)*r}function p(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var v=new n.Ay(20),y=null;function g(t,e){y&&d(y,e),y=v.put(t,y||e.slice())}function m(t,e){if(t){e=e||[];var r=v.get(t);if(r)return d(e,r);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in o)return d(e,o[n]),g(t,e),e;var i=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===i){var u=n.substr(0,a),c=n.substr(a+1,s-(a+1)).split(","),f=1;switch(u){case"rgba":if(4!==c.length)return 3===c.length?p(e,+c[0],+c[1],+c[2],1):p(e,0,0,0,1);f=l(c.pop());case"rgb":return c.length>=3?(p(e,h(c[0]),h(c[1]),h(c[2]),3===c.length?f:l(c[3])),g(t,e),e):void p(e,0,0,0,1);case"hsla":return 4!==c.length?void p(e,0,0,0,1):(c[3]=l(c[3]),_(c,e),g(t,e),e);case"hsl":return 3!==c.length?void p(e,0,0,0,1):(_(c,e),g(t,e),e);default:return}}p(e,0,0,0,1)}else{if(4===i||5===i){var y=parseInt(n.slice(1,4),16);return y>=0&&y<=4095?(p(e,(3840&y)>>4|(3840&y)>>8,240&y|(240&y)>>4,15&y|(15&y)<<4,5===i?parseInt(n.slice(4),16)/15:1),g(t,e),e):void p(e,0,0,0,1)}if(7===i||9===i){y=parseInt(n.slice(1,7),16);return y>=0&&y<=16777215?(p(e,(16711680&y)>>16,(65280&y)>>8,255&y,9===i?parseInt(n.slice(7),16)/255:1),g(t,e),e):void p(e,0,0,0,1)}}}}function _(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=l(t[1]),i=l(t[2]),o=i<=.5?i*(n+1):i+n-i*n,s=2*i-o;return e=e||[],p(e,a(255*c(s,o,r+1/3)),a(255*c(s,o,r)),a(255*c(s,o,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,r,n=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),u=s-a,h=(s+a)/2;if(0===u)e=0,r=0;else{r=h<.5?u/(s+a):u/(2-s-a);var l=((s-n)/6+u/2)/u,c=((s-i)/6+u/2)/u,f=((s-o)/6+u/2)/u;n===s?e=f-c:i===s?e=1/3+l-f:o===s&&(e=2/3+c-l),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,r,h];return null!=t[3]&&p.push(t[3]),p}}function w(t,e){var r=m(t);if(r){for(var n=0;n<3;n++)r[n]=e<0?r[n]*(1-e)|0:(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return T(r,4===r.length?"rgba":"rgb")}}function b(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var n=t*(e.length-1),i=Math.floor(n),o=Math.ceil(n),s=e[i],h=e[o],l=n-i;return r[0]=a(f(s[0],h[0],l)),r[1]=a(f(s[1],h[1],l)),r[2]=a(f(s[2],h[2],l)),r[3]=u(f(s[3],h[3],l)),r}}function A(t,e,r){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),i=Math.floor(n),o=Math.ceil(n),s=m(e[i]),h=m(e[o]),l=n-i,c=T([a(f(s[0],h[0],l)),a(f(s[1],h[1],l)),a(f(s[2],h[2],l)),u(f(s[3],h[3],l))],"rgba");return r?{color:c,leftIndex:i,rightIndex:o,value:n}:c}}function k(t,e,r,n){var i=m(t);if(t)return i=x(i),null!=e&&(i[0]=s(e)),null!=r&&(i[1]=l(r)),null!=n&&(i[2]=l(n)),T(_(i),"rgba")}function S(t,e){var r=m(t);if(r&&null!=e)return r[3]=u(e),T(r,"rgba")}function T(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(r+=","+t[3]),e+"("+r+")"}}function C(t,e){var r=m(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}var M=new n.Ay(100);function P(t){if((0,i.Kg)(t)){var e=M.get(t);return e||(e=w(t,-.1),M.put(t,e)),e}if((0,i.C7)(t)){var r=(0,i.X$)({},t);return r.colorStops=(0,i.Tj)(t.colorStops,(function(t){return{offset:t.offset,color:w(t.color,-.1)}})),r}return t}},2967:function(t,e,r){r.d(e,{Gw:function(){return J},AN:function(){return Y},mz:function(){return V},AG:function(){return tt}});var n=r(89259),i=r(5070),o=r(98026),a=r(83509),s=r(99429),u=r(92836),h=r(48813),l=r(29308),c=r(26346),f=r(52505),p=r(10992),d=r(59975),v=r(68717),y=v.A.CMD;function g(t,e){return Math.abs(t-e)<1e-5}function m(t){var e,r,n,i,o,a=t.data,s=t.len(),u=[],h=0,l=0,c=0,f=0;function p(t,r){e&&e.length>2&&u.push(e),e=[t,r]}function d(t,r,n,i){g(t,n)&&g(r,i)||e.push(t,r,n,i,n,i)}function v(t,r,n,i,o,a){var s=Math.abs(r-t),u=4*Math.tan(s/4)/3,h=rT:P2&&u.push(e),u}function _(t,e,r,i,o,a,s,u,h,l){if(g(t,r)&&g(e,i)&&g(o,s)&&g(a,u))h.push(s,u);else{var c=2/l,f=c*c,p=s-t,d=u-e,v=Math.sqrt(p*p+d*d);p/=v,d/=v;var y=r-t,m=i-e,x=o-s,w=a-u,b=y*y+m*m,A=x*x+w*w;if(b=0&&C=0)h.push(s,u);else{var M=[],P=[];(0,n.YT)(t,r,o,s,.5,M),(0,n.YT)(e,i,a,u,.5,P),_(M[0],P[0],M[1],P[1],M[2],P[2],M[3],P[3],h,l),_(M[4],P[4],M[5],P[5],M[6],P[6],M[7],P[7],h,l)}}}}function x(t,e){var r=m(t),n=[];e=e||1;for(var i=0;i0)for(h=0;hMath.abs(h),c=w([u,h],l?0:1,e),f=(l?s:h)/c.length,p=0;pi,a=w([n,i],o?0:1,e),s=o?"width":"height",u=o?"height":"width",h=o?"x":"y",l=o?"y":"x",c=t[s]/a.length,f=0;f1?null:new c.A(y*u+t,y*h+e)}function T(t,e,r){var n=new c.A;c.A.sub(n,r,e),n.normalize();var i=new c.A;c.A.sub(i,t,e);var o=i.dot(n);return o}function C(t,e){var r=t[t.length-1];r&&r[0]===e[0]&&r[1]===e[1]||t.push(e)}function M(t,e,r){for(var n=t.length,i=[],o=0;oa?(f.x=p.x=s+o/2,f.y=u,p.y=u+a):(f.y=p.y=u+a/2,f.x=s,p.x=s+o),M(e,f,p)}function O(t,e,r,n){if(1===r)n.push(e);else{var i=Math.floor(r/2),o=t(e);O(t,o[0],i,n),O(t,o[1],r-i,n)}return n}function D(t,e){for(var r=[],n=0;n0)for(var w=n/r,b=-n/2;b<=n/2;b+=w){var A=Math.sin(b),k=Math.cos(b),S=0;for(_=0;_0;h/=2){var l=0,c=0;(t&h)>0&&(l=1),(e&h)>0&&(c=1),u+=h*h*(3*l^c),0===c&&(1===l&&(t=h-1-t,e=h-1-e),s=t,t=e,e=s)}return u}function G(t){var e=1/0,r=1/0,n=-1/0,i=-1/0,a=(0,o.Tj)(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),u=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),r=Math.min(u,r),n=Math.max(s,n),i=Math.max(u,i),[s,u]})),s=(0,o.Tj)(a,(function(o,a){return{cp:o,z:$(o[0],o[1],e,r,n,i),path:t[a]}}));return s.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function Q(t){return z(t.path,t.count)}function K(){return{fromIndividuals:[],toIndividuals:[],count:0}}function J(t,e,r){var n=[];function a(t){for(var e=0;e=4&&(l={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(l&&null!=u&&null!=h&&(c=Y(l,{x:0,y:0,width:u,height:h}),!e.ignoreViewBox)){var d=n;n=new i.A,n.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==u||null==h||n.setClipPath(new s.A({shape:{x:0,y:0,width:u,height:h}})),{root:n,width:u,height:h,viewBoxRect:l,viewBoxTransform:c,named:o}},t.prototype._parseNode=function(t,e,r,i,o,a){var s,u=t.nodeName.toLowerCase(),h=i;if("defs"===u&&(o=!0),"text"===u&&(a=!0),"defs"===u||"switch"===u)s=e;else{if(!o){var l=n[u];if(l&&(0,d.$3)(n,u)){s=l.call(this,t,e);var c=t.getAttribute("name");if(c){var f={name:c,namedFrom:null,svgNodeTagLower:u,el:s};r.push(f),"g"===u&&(h=f)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:u,el:s});e.add(s)}}var p=k[u];if(p&&(0,d.$3)(k,u)){var v=p.call(this,t),y=t.getAttribute("id");y&&(this._defs[y]=v)}}if(s&&s.isGroup){var g=t.firstChild;while(g)1===g.nodeType?this._parseNode(g,s,r,h,o,a):3===g.nodeType&&a&&this._parseText(g,s),g=g.nextSibling}},t.prototype._parseText=function(t,e){var r=new g.A({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});C(e,r),P(t,r,this._defsUsePending,!1,!1),O(r,e);var n=r.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,r.scaleX*=i/9,r.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var a=r.getBoundingRect();return this._textX+=a.width,e.add(r),r},t.internalField=function(){n={g:function(t,e){var r=new i.A;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r},rect:function(t,e){var r=new s.A;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r.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")}),r.silent=!0,r},circle:function(t,e){var r=new a.A;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,e){var r=new h.A;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r.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")}),r.silent=!0,r},ellipse:function(t,e){var r=new u.A;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r.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")}),r.silent=!0,r},polygon:function(t,e){var r,n=t.getAttribute("points");n&&(r=M(n));var i=new l.A({shape:{points:r||[]},silent:!0});return C(e,i),P(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var r,n=t.getAttribute("points");n&&(r=M(n));var i=new c.A({shape:{points:r||[]},silent:!0});return C(e,i),P(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var r=new o.Ay;return C(e,r),P(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,e){var r=t.getAttribute("x")||"0",n=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(n)+parseFloat(a);var s=new i.A;return C(e,s),P(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var r=t.getAttribute("x"),n=t.getAttribute("y");null!=r&&(this._textX=parseFloat(r)),null!=n&&(this._textY=parseFloat(n));var o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",s=new i.A;return C(e,s),P(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(a),s},path:function(t,e){var r=t.getAttribute("d")||"",n=(0,p.UJ)(r);return C(e,n),P(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),t}(),k={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),r=parseInt(t.getAttribute("y1")||"0",10),n=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),o=new v.A(e,r,n,i);return S(t,o),T(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),r=parseInt(t.getAttribute("cy")||"0",10),n=parseInt(t.getAttribute("r")||"0",10),i=new y.A(e,r,n);return S(t,i),T(t,i),i}};function S(t,e){var r=t.getAttribute("gradientUnits");"userSpaceOnUse"===r&&(e.global=!0)}function T(t,e){var r=t.firstChild;while(r){if(1===r.nodeType&&"stop"===r.nodeName.toLocaleLowerCase()){var n=r.getAttribute("offset"),i=void 0;i=n&&n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o={};B(r,o,o);var a=o.stopColor||r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:a})}r=r.nextSibling}}function C(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),(0,d.NT)(e.__inheritedStyle,t.__inheritedStyle))}function M(t){for(var e=I(t),r=[],n=0;n0;o-=2){var a=n[o],s=n[o-1],u=I(a);switch(i=i||f.vt(),s){case"translate":f.Tl(i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":f.hs(i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":f.e$(i,i,-parseFloat(u[0])*N,[parseFloat(u[1]||"0"),parseFloat(u[2]||"0")]);break;case"skewX":var h=Math.tan(parseFloat(u[0])*N);f.lK(i,[1,0,h,1,0,0],i);break;case"skewY":var l=Math.tan(parseFloat(u[0])*N);f.lK(i,[1,l,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(u[0]),i[1]=parseFloat(u[1]),i[2]=parseFloat(u[2]),i[3]=parseFloat(u[3]),i[4]=parseFloat(u[4]),i[5]=parseFloat(u[5]);break}}e.setLocalTransform(i)}}var X=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(t,e,r){var n=t.getAttribute("style");if(n){var i;X.lastIndex=0;while(null!=(i=X.exec(n))){var o=i[1],a=(0,d.$3)(_,o)?_[o]:null;a&&(e[a]=i[2]);var s=(0,d.$3)(w,o)?w[o]:null;s&&(r[s]=i[2])}}}function H(t,e,r){for(var n=0;n1&&(a*=p(x),s*=p(x));var w=(i===o?-1:1)*p((a*a*(s*s)-a*a*(g*g)-s*s*(f*f))/(a*a*(g*g)+s*s*(f*f)))||0,b=w*a*g/s,A=w*-s*f/a,k=(t+r)/2+v(c)*b-d(c)*A,S=(e+n)/2+d(c)*b+v(c)*A,T=_([1,0],[(f-b)/a,(g-A)/s]),C=[(f-b)/a,(g-A)/s],M=[(-1*f-b)/a,(-1*g-A)/s],P=_(C,M);if(m(C,M)<=-1&&(P=y),m(C,M)>=1&&(P=0),P<0){var O=Math.round(P/y*1e6)/1e6;P=2*y+O%2*y}l.addData(h,k,S,a,s,T,P,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,b=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function A(t){var e=new o.A;if(!t)return e;var r,n=0,i=0,a=n,s=i,u=o.A.CMD,h=t.match(w);if(!h)return e;for(var l=0;l0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,r){return this._disposed||this.handler.on(t,e,r),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e