/*! * build: Hopaheal * copyright: Mead * time: 2022-9-23 10:41:22 */ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-80fead3f"],{"0c90":function(t,e,r){"use strict";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["a"]=o},"13be":function(t,e,r){"use strict";r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return h})),r.d(e,"e",(function(){return l})),r.d(e,"a",(function(){return p})),r.d(e,"f",(function(){return d})),r.d(e,"g",(function(){return v})),r.d(e,"d",(function(){return y}));var n=r("f505"),i=r("dbc8"),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?c(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):c(t,e,r),r}function c(t,e,r){if(n["a"].domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if(Object(i["a"])(t)){var u=t.getBoundingClientRect();return r.zrX=o-u.left,void(r.zrY=s-u.top)}if(Object(i["b"])(a,t,o,s))return r.zrX=a[0],void(r.zrY=a[1])}r.zrX=r.zrY=0}function h(t){return t||window.event}function l(t,e,r){if(e=h(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 c=e.button;return null==e.which&&void 0!==c&&o.test(e.type)&&(e.which=1&c?1:2&c?3:4&c?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}},1638:function(t,e,r){"use strict";var n=r("77df"),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 c=0;c<4;c++)r[c].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(c=0;c<2;c++)this._origin[c]=i[c].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 c=!0,h=0;h<2;h++){var l=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,i),this._getProjMinMaxOnAxis(h,e._corners,o),i[1]o[1]){if(c=!1,s)return c;var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)>a.len()&&(f=0&&(r.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var r=i["r"](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["r"](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;r=4&&(h={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(h&&null!=u&&null!=c&&(l=X(h,{x:0,y:0,width:u,height:c}),!e.ignoreViewBox)){var d=n;n=new i["a"],n.add(d),d.scaleX=d.scaleY=l.scale,d.x=l.x,d.y=l.y}return e.ignoreRootClip||null==u||null==c||n.setClipPath(new s["a"]({shape:{x:0,y:0,width:u,height:c}})),{root:n,width:u,height:c,viewBoxRect:h,viewBoxTransform:l,named:o}},t.prototype._parseNode=function(t,e,r,i,o,a){var s,u=t.nodeName.toLowerCase(),c=i;if("defs"===u&&(o=!0),"text"===u&&(a=!0),"defs"===u||"switch"===u)s=e;else{if(!o){var h=n[u];if(h&&Object(d["q"])(n,u)){s=h.call(this,t,e);var l=t.getAttribute("name");if(l){var f={name:l,namedFrom:null,svgNodeTagLower:u,el:s};r.push(f),"g"===u&&(c=f)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:u,el:s});e.add(s)}}var p=k[u];if(p&&Object(d["q"])(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,c,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});T(e,r),P(t,r,this._defsUsePending,!1,!1),C(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 T(e,r),P(t,r,this._defsUsePending,!1,!1),r},rect:function(t,e){var r=new s["a"];return T(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 T(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 c["a"];return T(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 T(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 h["a"]({shape:{points:r||[]},silent:!0});return T(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 l["a"]({shape:{points:r||[]},silent:!0});return T(e,i),P(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var r=new o["a"];return T(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 T(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 T(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=Object(p["b"])(r);return T(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 j(t,o),S(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 j(t,i),S(t,i),i}};function j(t,e){var r=t.getAttribute("gradientUnits");"userSpaceOnUse"===r&&(e.global=!0)}function S(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={};N(r,o,o);var a=o.stopColor||r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:a})}r=r.nextSibling}}function T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(d["i"])(e.__inheritedStyle,t.__inheritedStyle))}function M(t){for(var e=z(t),r=[],n=0;n0;o-=2){var a=n[o],s=n[o-1],u=z(a);switch(i=i||f["c"](),s){case"translate":f["i"](i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":f["h"](i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":f["g"](i,i,-parseFloat(u[0])*R);break;case"skewX":var c=Math.tan(parseFloat(u[0])*R);f["f"](i,[1,0,c,1,0,0],i);break;case"skewY":var h=Math.tan(parseFloat(u[0])*R);f["f"](i,[1,h,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 W=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t,e,r){var n=t.getAttribute("style");if(n){var i;W.lastIndex=0;while(null!=(i=W.exec(n))){var o=i[1],a=Object(d["q"])(m,o)?m[o]:null;a&&(e[a]=i[2]);var s=Object(d["q"])(x,o)?x[o]:null;s&&(r[s]=i[2])}}}function H(t,e,r){for(var n=0;n<_.length;n++){var i=_[n],o=t.getAttribute(i);null!=o&&(e[m[i]]=o)}for(n=0;n255?255:t}function a(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 u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function h(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 l(t,e,r){return t+(e-t)*r}function f(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new n["a"](20),v=null;function y(t,e){v&&p(v,e),v=d.put(t,v||e.slice())}function g(t,e){if(t){e=e||[];var r=d.get(t);if(r)return p(e,r);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in i)return p(e,i[n]),y(t,e),e;var o=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===o){var h=n.substr(0,a),l=n.substr(a+1,s-(a+1)).split(","),v=1;switch(h){case"rgba":if(4!==l.length)return 3===l.length?f(e,+l[0],+l[1],+l[2],1):f(e,0,0,0,1);v=c(l.pop());case"rgb":return 3!==l.length?void f(e,0,0,0,1):(f(e,u(l[0]),u(l[1]),u(l[2]),v),y(t,e),e);case"hsla":return 4!==l.length?void f(e,0,0,0,1):(l[3]=c(l[3]),b(l,e),y(t,e),e);case"hsl":return 3!==l.length?void f(e,0,0,0,1):(b(l,e),y(t,e),e);default:return}}f(e,0,0,0,1)}else{if(4===o||5===o){var g=parseInt(n.slice(1,4),16);return g>=0&&g<=4095?(f(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,5===o?parseInt(n.slice(4),16)/15:1),y(t,e),e):void f(e,0,0,0,1)}if(7===o||9===o){g=parseInt(n.slice(1,7),16);return g>=0&&g<=16777215?(f(e,(16711680&g)>>16,(65280&g)>>8,255&g,9===o?parseInt(n.slice(7),16)/255:1),y(t,e),e):void f(e,0,0,0,1)}}}}function b(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=c(t[1]),i=c(t[2]),a=i<=.5?i*(n+1):i+n-i*n,s=2*i-a;return e=e||[],f(e,o(255*h(s,a,r+1/3)),o(255*h(s,a,r)),o(255*h(s,a,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(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,c=(s+a)/2;if(0===u)e=0,r=0;else{r=c<.5?u/(s+a):u/(2-s-a);var h=((s-n)/6+u/2)/u,l=((s-i)/6+u/2)/u,f=((s-o)/6+u/2)/u;n===s?e=f-l:i===s?e=1/3+h-f:o===s&&(e=2/3+l-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,r,c];return null!=t[3]&&p.push(t[3]),p}}function _(t,e){var r=g(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 j(r,4===r.length?"rgba":"rgb")}}function x(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),u=e[i],c=e[a],h=n-i;return r[0]=o(l(u[0],c[0],h)),r[1]=o(l(u[1],c[1],h)),r[2]=o(l(u[2],c[2],h)),r[3]=s(l(u[3],c[3],h)),r}}function w(t,e,r){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),u=g(e[i]),c=g(e[a]),h=n-i,f=j([o(l(u[0],c[0],h)),o(l(u[1],c[1],h)),o(l(u[2],c[2],h)),s(l(u[3],c[3],h))],"rgba");return r?{color:f,leftIndex:i,rightIndex:a,value:n}:f}}function O(t,e,r,n){var i=g(t);if(t)return i=m(i),null!=e&&(i[0]=a(e)),null!=r&&(i[1]=c(r)),null!=n&&(i[2]=c(n)),j(b(i),"rgba")}function k(t,e){var r=g(t);if(r&&null!=e)return r[3]=s(e),j(r,"rgba")}function j(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 S(t,e){var r=g(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}},2863:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("ba54");function i(t){if(Object(n["C"])(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var r=t;9===r.nodeType&&(r=r.firstChild);while("svg"!==r.nodeName.toLowerCase()||1!==r.nodeType)r=r.nextSibling;return r}},"2d01":function(t,e,r){"use strict";function n(t,e,r,n,i,o){if(o>e&&o>n||oi?s:0}r.d(e,"a",(function(){return n}))},"2eae":function(t,e,r){"use strict";var n=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),i=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 n(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,i=t.offsetY,o=r-this._x,a=i-this._y;this._x=r,this._y=i,e.drift(o,a,t),this.handler.dispatchToElement(new n(e,t),"drag",t.event);var s=this.handler.findHover(r,i,e).target,u=this._dropTarget;this._dropTarget=s,e!==s&&(u&&s!==u&&this.handler.dispatchToElement(new n(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new n(s,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new n(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();e["a"]=i},"3aae":function(t,e,r){"use strict";var n=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;a2&&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,c=rS:P2&&u.push(e),u}function m(t,e,r,i,o,a,s,u,c,h){if(g(t,r)&&g(e,i)&&g(o,s)&&g(a,u))c.push(s,u);else{var l=2/h,f=l*l,p=s-t,d=u-e,v=Math.sqrt(p*p+d*d);p/=v,d/=v;var y=r-t,b=i-e,_=o-s,x=a-u,w=y*y+b*b,O=_*_+x*x;if(w=0&&T=0)c.push(s,u);else{var M=[],P=[];Object(n["g"])(t,r,o,s,.5,M),Object(n["g"])(e,i,a,u,.5,P),m(M[0],P[0],M[1],P[1],M[2],P[2],M[3],P[3],c,h),m(M[4],P[4],M[5],P[5],M[6],P[6],M[7],P[7],c,h)}}}}function _(t,e){var r=b(t),n=[];e=e||1;for(var i=0;i0)for(c=0;cMath.abs(c),l=x([u,c],h?0:1,e),f=(h?s:c)/l.length,p=0;pi,a=x([n,i],o?0:1,e),s=o?"width":"height",u=o?"height":"width",c=o?"x":"y",h=o?"y":"x",l=t[s]/a.length,f=0;f1?null:new l["a"](y*u+t,y*c+e)}function S(t,e,r){var n=new l["a"];l["a"].sub(n,r,e),n.normalize();var i=new l["a"];l["a"].sub(i,t,e);var o=i.dot(n);return o}function T(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 C(t,e,r,n){if(1===r)n.push(e);else{var i=Math.floor(r/2),o=t(e);C(t,o[0],i,n),C(t,o[1],r-i,n)}return n}function A(t,e){for(var r=[],n=0;n0)for(var x=n/r,w=-n/2;w<=n/2;w+=x){var O=Math.sin(w),k=Math.cos(w),j=0;for(m=0;m0;c/=2){var h=0,l=0;(t&c)>0&&(h=1),(e&c)>0&&(l=1),u+=c*c*(3*h^l),0===l&&(1===h&&(t=c-1-t,e=c-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=Object(o["H"])(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=Object(o["H"])(a,(function(o,a){return{cp:o,z:Q(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 $(t){return L(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=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 c=a[2*u],h=a[2*u+1],l=o[(u+1)%s];t.bezierCurveTo(c[0],c[1],h[0],h[1],l[0],l[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u=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 c=n-s;switch(c){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(c>0)t[s+c]=t[s+c-1],c--}t[s]=a}}function c(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 c=a;a=i-u,u=i-c}a++;while(a>>1);o(t,e[r+h])>0?a=h+1:u=h}return u}function h(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 c=a;a=i-u,u=i-c}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+h])<0?u=h:a=h+1}return u}function l(t,e){var r,n,o=i,a=0,s=0;a=t.length;var u=[];function l(t,e){r[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;d(t)}}function p(){while(s>1){var t=s-2;t>0&&n[t-1]=i||y>=i);if(g)break;b<0&&(b=0),b+=2}if(o=b,o<1&&(o=1),1===n){for(l=0;l=0;l--)t[y+l]=t[v+l];if(0===n){_=!0;break}}if(t[d--]=u[p--],1===--s){_=!0;break}if(m=s-c(t[f],u,0,s,s-1,e),0!==m){for(d-=m,p-=m,s-=m,y=d+1,v=p+1,l=0;l=i||m>=i);if(_)break;g<0&&(g=0),g+=2}if(o=g,o<1&&(o=1),1===s){for(d-=n,f-=n,y=d+1,v=f+1,l=n-1;l>=0;l--)t[y+l]=t[v+l];t[d]=u[p]}else{if(0===s)throw new Error;for(v=d-(s-1),l=0;l=0;l--)t[y+l]=t[v+l];t[d]=u[p]}else for(v=d-(s-1),l=0;lf&&(p=f),u(t,r,r+p,r+c,e),c=p}h.pushRun(r,c),h.mergeRuns(),s-=c,r+=c}while(0!==s);h.forceMergeRuns()}}},5682:function(t,e,r){"use strict";r.d(e,"a",(function(){return W})),r.d(e,"b",(function(){return N}));var n=r("f505"),i=r("ba54"),o=r("6199"),a=r("92a6"),s=r("d0c1"),u=r("08c2"),c=r("13be"),h=r("3aae"),l=300,f=n["a"].domSupported,p=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=i["H"](t,(function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:n}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},v=!1;function y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function g(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function b(t){t&&(t.zrByTouch=!0)}function m(t,e){return Object(c["e"])(t.dom,new x(t,e),!0)}function _(t,e){var r=e,n=!1;while(r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot))r=r.parentNode;return n}var x=function(){function t(t,e){this.stopPropagation=i["L"],this.stopImmediatePropagation=i["L"],this.preventDefault=i["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),w={mousedown:function(t){t=Object(c["e"])(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(c["e"])(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Object(c["e"])(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Object(c["e"])(this.dom,t);var e=t.toElement||t.relatedTarget;_(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){v=!0,t=Object(c["e"])(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){v||(t=Object(c["e"])(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Object(c["e"])(this.dom,t),b(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),w.mousemove.call(this,t),w.mousedown.call(this,t)},touchmove:function(t){t=Object(c["e"])(this.dom,t),b(t),this.handler.processGesture(t,"change"),w.mousemove.call(this,t)},touchend:function(t){t=Object(c["e"])(this.dom,t),b(t),this.handler.processGesture(t,"end"),w.mouseup.call(this,t),+new Date-+this.__lastTouchMoment0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,r){return this.handler.on(t,e,r),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;eg&&(g=w,bg&&(g=O,_=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],l=n[3],f=n[4],p=n[5];return e.x=r.x*i+f,e.y=r.y*l+p,e.width=r.width*i,e.height=r.height*l,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=c.x=r.x,s.y=h.y=r.y,u.x=h.x=r.x+r.width,u.y=c.y=r.y+r.height,s.transform(n),h.transform(n),u.transform(n),c.transform(n),e.x=o(s.x,u.x,c.x,h.x),e.y=o(s.y,u.y,c.y,h.y);var d=a(s.x,u.x,c.x,h.x),v=a(s.y,u.y,c.y,h.y);e.width=d-e.x,e.height=v-e.y}else e!==r&&t.copy(e,r)},t}();e["a"]=p},"71a8":function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o}));var n=1,i=2,o=4},7264:function(t,e,r){"use strict";var n=Math.round(9*Math.random()),i="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return i?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();e["a"]=o},7574:function(t,e,r){"use strict";var n=r("08c2"),i=r("f566"),o=r("d9bc"),a=r("e094"),s=[],u=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function c(t,e,r){var n=t.cpx2,i=t.cpy2;return null!=n||null!=i?[(r?a["b"]:a["a"])(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a["b"]:a["a"])(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a["i"]:a["h"])(t.x1,t.cpx1,t.x2,e),(r?a["i"]:a["h"])(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,i=e.x2,o=e.y2,u=e.cpx1,c=e.cpy1,h=e.cpx2,l=e.cpy2,f=e.percent;0!==f&&(t.moveTo(r,n),null==h||null==l?(f<1&&(Object(a["n"])(r,u,i,f,s),u=s[1],i=s[2],Object(a["n"])(n,c,o,f,s),c=s[1],o=s[2]),t.quadraticCurveTo(u,c,i,o)):(f<1&&(Object(a["g"])(r,u,h,i,f,s),u=s[1],h=s[2],i=s[3],Object(a["g"])(n,c,l,o,f,s),c=s[1],l=s[2],o=s[3]),t.bezierCurveTo(u,c,h,l,i,o)))},e.prototype.pointAt=function(t){return c(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=c(this.shape,t,!0);return o["m"](e,e)},e}(i["b"]);h.prototype.type="bezier-curve",e["a"]=h},"77df":function(t,e,r){"use strict";var n=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"]=n},"78a2":function(t,e,r){"use strict";var n=r("08c2"),i=r("9ada"),o=r("6677"),a=[],s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return Object(n["a"])(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var r=0;rc&&(a=r+n,r*=c/a,n*=c/a),i+o>c&&(a=i+o,i*=c/a,o*=c/a),n+i>h&&(a=n+i,n*=h/a,i*=h/a),r+o>h&&(a=r+o,r*=h/a,o*=h/a),t.moveTo(s+r,u),t.lineTo(s+c-n,u),0!==n&&t.arc(s+c-n,u+n,n,-Math.PI/2,0),t.lineTo(s+c,u+h-i),0!==i&&t.arc(s+c-i,u+h-i,i,0,Math.PI/2),t.lineTo(s+o,u+h),0!==o&&t.arc(s+o,u+h-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("b6e6"),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),u={},c=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var r,n,i,s;if(this.subPixelOptimize){var c=Object(a["c"])(u,e,this.style);r=c.x,n=c.y,i=c.width,s=c.height,c.r=e.r,e=c}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["b"]);c.prototype.type="rect";e["a"]=c},"9a51":function(t,e,r){"use strict";var n=r("08c2"),i=r("d268"),o=function(t){function e(e,r,n,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==r?0:r,s.x2=null==n?1:n,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return Object(n["a"])(e,t),e}(i["a"]);e["a"]=o},"9ada":function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return h}));var n=r("08c2"),i=r("e2c9"),o=r("6677"),a=r("ba54"),s=r("71a8"),u="__zr_style_"+Math.round(10*Math.random()),c={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};c[u]=!0;var l=["z","z2","invisible"],f=["invisible"],p=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype._init=function(e){for(var r=Object(a["F"])(e),n=0;n1e-4)return d[0]=t-r,d[1]=e-i,v[0]=t+r,void(v[1]=e+i);if(h[0]=u(o)*r+t,h[1]=s(o)*i+e,l[0]=u(a)*r+t,l[1]=s(a)*i+e,y(d,h,l),g(v,h,l),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!p?a+=c:oo&&(f[0]=u(_)*r+t,f[1]=s(_)*i+e,y(d,f,d),g(v,f,v))}},a274:function(t,e,r){"use strict";var n=r("08c2"),i=r("9ada"),o=r("6677"),a=r("ba54"),s=Object(a["i"])({x:0,y:0},i["b"]),u={style:Object(a["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i["a"].style)};function c(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n["a"])(e,t),e.prototype.createStyle=function(t){return Object(a["g"])(s,t)},e.prototype._getSize=function(t){var e=this.style,r=e[t];if(null!=r)return r;var n=c(e.image)?e.image:this.__image;if(!n)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?n[t]:n[t]/n[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o["a"](t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i["c"]);h.prototype.type="image",e["a"]=h},a30a:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("2d01"),i=1e-8;function o(t,e){return Math.abs(t-e)1&&(a*=p(_),s*=p(_));var x=(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,w=x*a*g/s,O=x*-s*f/a,k=(t+r)/2+v(l)*w-d(l)*O,j=(e+n)/2+d(l)*w+v(l)*O,S=m([1,0],[(f-w)/a,(g-O)/s]),T=[(f-w)/a,(g-O)/s],M=[(-1*f-w)/a,(-1*g-O)/s],P=m(T,M);if(b(T,M)<=-1&&(P=y),b(T,M)>=1&&(P=0),P<0){var C=Math.round(P/y*1e6)/1e6;P=2*y+C%2*y}h.addData(c,k,j,a,s,S,P,l,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function O(t){var e=new o["a"];if(!t)return e;var r,n=0,i=0,a=n,s=i,u=o["a"].CMD,c=t.match(x);if(!c)return e;for(var h=0;he+s&&a>n+s||at+s&&o>r+s||o0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),W=a.calculatedLineHeight,N=0;N=0&&(D=w[A],"right"===D.align))this._placeToken(D,t,k,g,C,"right",m),j-=D.width,C-=D.width,A--;T+=(n-(T-y)-(b-C)-j)/2;while(S<=A)D=w[S],this._placeToken(D,t,k,g,T+D.width/2,"center",m),T+=D.width,S++;g+=k}},e.prototype._placeToken=function(t,e,r,n,i,u,c){var l=e.rich[t.styleName]||{};l.text=t.text;var p=t.verticalAlign,v=n+r/2;"top"===p?v=n+t.height/2:"bottom"===p&&(v=n+r-t.height/2);var y=!t.isLineHolder&&P(l);y&&this._renderBackground(l,e,"right"===u?i-t.width:"center"===u?i-t.width/2:i,v-t.height/2,t.width,t.height);var g=!!l.backgroundColor,b=t.textPadding;b&&(i=T(i,u,b),v-=t.height/2-b[0]-t.innerHeight/2);var m=this._getOrCreateChild(o["a"]),_=m.createStyle();m.useStyle(_);var w=this._defaultStyle,O=!1,k=0,M=S("fill"in l?l.fill:"fill"in e?e.fill:(O=!0,w.fill)),C=j("stroke"in l?l.stroke:"stroke"in e?e.stroke:g||c||w.autoStroke&&!O?null:(k=d,w.stroke)),A=l.textShadowBlur>0||e.textShadowBlur>0;_.text=t.text,_.x=i,_.y=v,A&&(_.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,_.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",_.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,_.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),_.textAlign=u,_.textBaseline="middle",_.font=t.font||f["a"],_.opacity=Object(a["Q"])(l.opacity,e.opacity,1),x(_,l),C&&(_.lineWidth=Object(a["Q"])(l.lineWidth,e.lineWidth,k),_.lineDash=Object(a["P"])(l.lineDash,e.lineDash),_.lineDashOffset=e.lineDashOffset||0,_.stroke=C),M&&(_.fill=M);var D=t.contentWidth,F=t.contentHeight;m.setBoundingRect(new h["a"](Object(s["a"])(_.x,D,_.textAlign),Object(s["b"])(_.y,F,_.textBaseline),D,F))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,h,l=t.backgroundColor,f=t.borderWidth,p=t.borderColor,d=l&&l.image,v=l&&!d,y=t.borderRadius,g=this;if(v||t.lineHeight||f&&p){s=this._getOrCreateChild(c["a"]),s.useStyle(s.createStyle()),s.style.fill=null;var b=s.shape;b.x=r,b.y=n,b.width=i,b.height=o,b.r=y,s.dirtyShape()}if(v){var m=s.style;m.fill=l||null,m.fillOpacity=Object(a["P"])(t.fillOpacity,1)}else if(d){h=this._getOrCreateChild(u["a"]),h.onload=function(){g.dirtyStyle()};var _=h.style;_.image=l.image,_.x=r,_.y=n,_.width=i,_.height=o}if(f&&p){m=s.style;m.lineWidth=f,m.stroke=p,m.strokeOpacity=Object(a["P"])(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var x=(s||h).style;x.shadowBlur=t.shadowBlur||0,x.shadowColor=t.shadowColor||"transparent",x.shadowOffsetX=t.shadowOffsetX||0,x.shadowOffsetY=t.shadowOffsetY||0,x.opacity=Object(a["Q"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return w(t)&&(e=[t.fontStyle,t.fontWeight,_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(a["T"])(e)||t.textFont||t.font},e}(l["c"]),g={left:!0,right:1,center:1},b={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?f["c"]+"px":t+"px":t}function x(t,e){for(var r=0;r=x?i=r+x:e&&r-i>=x?i=r-x:!e&&r>i?i=r+(x-k(r-i)):e&&r0&&(this._ux=m(r/o["e"]/t)||0,this._uy=m(r/o["e"]/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=m(t-this._xi),n=m(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(),O[0]=n,O[1]=i,j(O,o),n=O[0],i=O[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=b(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||!w||(this.data=new Float32Array(e));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var h=0;h0&&(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(){l[0]=l[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,c=0;for(t=0;tr||m(S)>n||p===e-1)&&(w=Math.sqrt(j*j+S*S),i=O,o=k);break;case u.C:var T=t[p++],M=t[p++],P=(O=t[p++],k=t[p++],t[p++]),C=t[p++];w=Object(s["d"])(i,o,T,M,O,k,P,C,10),i=P,o=C;break;case u.Q:T=t[p++],M=t[p++],O=t[p++],k=t[p++];w=Object(s["k"])(i,o,T,M,O,k,10),i=O,o=k;break;case u.A:var A=t[p++],D=t[p++],F=t[p++],L=t[p++],z=t[p++],I=t[p++],R=I+z;p+=1;t[p++];_&&(a=g(z)*F+A,c=b(z)*L+D),w=y(F,L)*v(x,Math.abs(I)),i=g(R)*F+A,o=b(R)*L+D;break;case u.R:a=i=t[p++],c=o=t[p++];var B=t[p++],W=t[p++];w=2*B+2*W;break;case u.Z:j=a-i,S=c-o;w=Math.sqrt(j*j+S*S),i=a,o=c;break}w>=0&&(h[f++]=w,l+=w)}return this._pathLen=l,l},t.prototype.rebuildPath=function(t,e){var r,n,i,o,a,l,f,p,d,_,x,w=this.data,O=this._ux,k=this._uy,j=this._len,S=e<1,T=0,M=0,P=0;if(!S||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=this._pathLen,d=e*p,d))t:for(var C=0;C0&&(t.lineTo(_,x),P=0),A){case u.M:r=i=w[C++],n=o=w[C++],t.moveTo(i,o);break;case u.L:a=w[C++],l=w[C++];var F=m(a-i),L=m(l-o);if(F>O||L>k){if(S){var z=f[M++];if(T+z>d){var I=(d-T)/z;t.lineTo(i*(1-I)+a*I,o*(1-I)+l*I);break t}T+=z}t.lineTo(a,l),i=a,o=l,P=0}else{var R=F*F+L*L;R>P&&(_=a,x=l,P=R)}break;case u.C:var B=w[C++],W=w[C++],N=w[C++],H=w[C++],X=w[C++],E=w[C++];if(S){z=f[M++];if(T+z>d){I=(d-T)/z;Object(s["g"])(i,B,N,X,I,c),Object(s["g"])(o,W,H,E,I,h),t.bezierCurveTo(c[1],h[1],c[2],h[2],c[3],h[3]);break t}T+=z}t.bezierCurveTo(B,W,N,H,X,E),i=X,o=E;break;case u.Q:B=w[C++],W=w[C++],N=w[C++],H=w[C++];if(S){z=f[M++];if(T+z>d){I=(d-T)/z;Object(s["n"])(i,B,N,I,c),Object(s["n"])(o,W,H,I,h),t.quadraticCurveTo(c[1],h[1],c[2],h[2]);break t}T+=z}t.quadraticCurveTo(B,W,N,H),i=N,o=H;break;case u.A:var q=w[C++],Y=w[C++],U=w[C++],V=w[C++],Z=w[C++],Q=w[C++],G=w[C++],$=!w[C++],K=U>V?U:V,J=m(U-V)>.001,tt=Z+Q,et=!1;if(S){z=f[M++];T+z>d&&(tt=Z+Q*(d-T)/z,et=!0),T+=z}if(J&&t.ellipse?t.ellipse(q,Y,U,V,G,Z,tt,$):t.arc(q,Y,K,Z,tt,$),et)break t;D&&(r=g(Z)*U+q,n=b(Z)*V+Y),i=g(tt)*U+q,o=b(tt)*V+Y;break;case u.R:r=i=w[C],n=o=w[C+1],a=w[C++],l=w[C++];var rt=w[C++],nt=w[C++];if(S){z=f[M++];if(T+z>d){var it=d-T;t.moveTo(a,l),t.lineTo(a+v(it,rt),l),it-=rt,it>0&&t.lineTo(a+rt,l+v(it,nt)),it-=nt,it>0&&t.lineTo(a+y(rt-it,0),l+nt),it-=rt,it>0&&t.lineTo(a,l+y(nt-it,0));break t}T+=z}t.rect(a,l,rt,nt);break;case u.Z:if(S){z=f[M++];if(T+z>d){I=(d-T)/z;t.lineTo(i*(1-I)+r*I,o*(1-I)+n*I);break t}T+=z}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"]=S},c8d0:function(t,e,r){"use strict";(function(t){r.d(e,"p",(function(){return s})),r.d(e,"j",(function(){return c})),r.d(e,"q",(function(){return l})),r.d(e,"e",(function(){return f})),r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return d})),r.d(e,"i",(function(){return v})),r.d(e,"h",(function(){return y})),r.d(e,"l",(function(){return g})),r.d(e,"n",(function(){return m})),r.d(e,"m",(function(){return _})),r.d(e,"o",(function(){return x})),r.d(e,"k",(function(){return w})),r.d(e,"d",(function(){return O})),r.d(e,"f",(function(){return k})),r.d(e,"g",(function(){return j})),r.d(e,"c",(function(){return S}));var n=r("ba54"),i=r("1eb8"),o=r("f505"),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var r=Object(i["g"])(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 c(t){return t-u}function h(t){return a(1e3*t)/1e3}function l(t){return a(1e4*t)/1e4}function f(t){return"matrix("+h(t[0])+","+h(t[1])+","+h(t[2])+","+h(t[3])+","+l(t[4])+","+l(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 b(t){return t&&!!t.svgElement}function m(t){return g(t)||b(t)}function _(t){return"linear"===t.type}function x(t){return"radial"===t.type}function w(t){return t&&("linear"===t.type||"radial"===t.type)}function O(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 j(t){var e=t.x||0,r=t.y||0,i=(t.rotation||0)*n["a"],o=Object(n["P"])(t.scaleX,1),s=Object(n["P"])(t.scaleY,1),u=t.skewX||0,c=t.skewY||0,h=[];return(e||r)&&h.push("translate("+e+"px,"+r+"px)"),i&&h.push("rotate("+i+")"),1===o&&1===s||h.push("scale("+o+","+s+")"),(u||c)&&h.push("skew("+a(u*n["a"])+"deg, "+a(c*n["a"])+"deg)"),h.join(" ")}var S=function(){return o["a"].hasGlobalWindow&&Object(n["w"])(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,r("fd40").Buffer)},c9b4:function(t,e,r){"use strict";var n=r("c8d0"),i=r("f566"),o=r("a274"),a=r("caa6"),s=r("ed6b"),u=Math.sin,c=Math.cos,h=Math.PI,l=2*Math.PI,f=180/h,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=Object(n["j"])(y-l)||(v?d>=l:-d>=l),b=d>0?d%l:d%l+l,m=!1;m=!!g||!Object(n["j"])(y)&&b>=h===!!v;var _=t+r*c(a),x=e+i*u(a);this._start&&this._add("M",_,x);var w=Math.round(o*f);if(g){var O=1/this._p,k=(v?1:-1)*(l-O);this._add("A",r,i,w,1,+v,t+r*c(a+k),e+i*u(a+k)),O>.01&&this._add("A",r,i,w,0,+v,_,x)}else{var j=t+r*c(s),S=e+i*u(s);this._add("A",r,i,w,+m,+v,j,S)}},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 c=[],h=this._p,l=1;l"}function A(t){return""}function D(t,e){e=e||{};var r=e.newline?"\n":"";function n(t){var e=t.children,i=t.tag,o=t.attrs;return C(i,o)+(t.text||"")+(e?""+r+Object(y["H"])(e,(function(t){return n(t)})).join(r)+r:"")+A(i)}return n(t)}function F(t,e,r){r=r||{};var n=r.newline?"\n":"",i=" {"+n,o=n+"}",a=Object(y["H"])(Object(y["F"])(t),(function(e){return e+i+Object(y["H"])(Object(y["F"])(t[e]),(function(r){return r+":"+t[e][r]+";"})).join(n)+o})).join(n),s=Object(y["H"])(Object(y["F"])(e),(function(t){return"@keyframes "+t+i+Object(y["H"])(Object(y["F"])(e[t]),(function(r){return r+i+Object(y["H"])(Object(y["F"])(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:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function z(t,e,r,n){return P("svg","root",{width:t,height:e,xmlns:k,"xmlns:xlink":j,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},r)}var I=r("85f8"),R=r("ee6c"),B=r("c3a0"),W=r("3c00"),N=r("a6b4"),H={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"},X="transform-origin";function E(t,e,r){var i=Object(y["m"])({},t.shape);Object(y["m"])(i,e),t.buildPath(r,i);var o=new d;return o.reset(Object(n["f"])(t)),r.rebuildPath(o,1),o.generateStr(),o.getStr()}function q(t,e){var r=e.originX,n=e.originY;(r||n)&&(t[X]=r+"px "+n+"px")}var Y={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function U(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function V(t,e,r){var n,i,o=t.shape.paths,a={};if(Object(y["k"])(o,(function(t){var e=L(r.zrId);e.animation=!0,Q(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,u=Object(y["F"])(o),c=u.length;if(c){i=u[c-1];var h=o[i];for(var l in h){var f=h[l];a[l]=a[l]||{d:""},a[l].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=U(a,r);return n.replace(i,s)}}function Z(t){return Object(y["C"])(t)?H[t]?"cubic-bezier("+H[t]+")":Object(N["a"])(t)?t:"":""}function Q(t,e,r,i){var o=t.animators,a=o.length,s=[];if(t instanceof W["a"]){var u=V(t,e,r);if(u)s.push(u);else if(!a)return}else if(!a)return;for(var c={},h=0;h0})).length){var A=U(l,r);return A+" "+o[0]+" both"}}for(var b in c){u=g(c[b]);u&&s.push(u)}if(s.length){var m=r.zrId+"-cls-"+r.cssClassIdx++;r.cssNodes["."+m]={animation:s.join(",")},e["class"]=m}}var G=r("bf392"),$=r("cf22"),K=Math.round;function J(t){return t&&Object(y["C"])(t.src)}function tt(t){return t&&Object(y["w"])(t.toDataURL)}function et(t,e,r,i){O((function(o,a){var s="fill"===o||"stroke"===o;s&&Object(n["k"])(a)?vt(e,t,o,i):s&&Object(n["n"])(a)?yt(r,t,o,i):t[o]=a}),e,r,!1),dt(r,t,i)}function rt(t){return Object(n["j"])(t[0]-1)&&Object(n["j"])(t[1])&&Object(n["j"])(t[2])&&Object(n["j"])(t[3]-1)}function nt(t){return Object(n["j"])(t[4])&&Object(n["j"])(t[5])}function it(t,e,r){if(e&&(!nt(e)||!rt(e))){var i=r?10:1e4;t.transform=rt(e)?"translate("+K(e[4]*i)/i+" "+K(e[5]*i)/i+")":Object(n["e"])(e)}}function ot(t,e,r){for(var n=t.points,i=[],o=0;oc?(a=null==r[f+1]?null:r[f+1].elm,Ft(t,a,r,u,f)):Lt(t,e,s,c))}function Rt(t,e){var r=e.elm=t.elm,n=t.children,i=e.children;t!==e&&(zt(t,e),Mt(e.text)?Pt(n)&&Pt(i)?n!==i&&It(r,n,i):Pt(i)?(Pt(t.text)&&kt(r,""),Ft(r,null,i,0,i.length-1)):Pt(n)?Lt(r,n,0,n.length-1):Pt(t.text)&&kt(r,""):t.text!==e.text&&(Pt(n)&&Lt(r,n,0,n.length-1),kt(r,e.text)))}function Bt(t,e){if(At(t,e))Rt(t,e);else{var r=t.elm,n=wt(r);Dt(e),null!==n&&(mt(n,e.elm,Ot(r)),Lt(n,[t],0,0))}return e}var Wt=r("7ca8"),Nt=0,Ht=function(){function t(t,e,r){if(this.type="svg",this.refreshHover=Xt("refreshHover"),this.configLayer=Xt("configLayer"),this.storage=e,this._opts=r=Object(y["m"])({},r),this.root=t,this._id="zr"+Nt++,this._oldVNode=z(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=M("svg");zt(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",Bt(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return pt(t,L(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),r=this._backgroundColor,i=this._width,o=this._height,a=L(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress;var s=[];if(r&&"none"!==r){var u=Object(n["p"])(r),c=u.color,h=u.opacity;this._bgVNode=P("rect","bg",{width:i,height:o,x:"0",y:"0",id:"0",fill:c,"fill-opacity":h}),s.push(this._bgVNode)}else this._bgVNode=null;var l=t.compress?null:this._mainVNode=P("g","main",{},[]);this._paintList(e,a,l?l.children:s),l&&s.push(l);var f=Object(y["H"])(Object(y["F"])(a.defs),(function(t){return a.defs[t]}));if(f.length&&s.push(P("defs","defs",{},f)),t.animation){var p=F(a.cssNodes,a.cssAnims,{newline:!0});if(p){var d=P("style","stl",{},[],p);s.push(d)}}return z(i,o,s,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},D(this.renderToVNode({animation:Object(y["P"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(y["P"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var r=Object(n["p"])(t),i=r.color,o=r.opacity;e.elm.setAttribute("fill",i),o<1&&e.elm.setAttribute("fill-opacity",o)}},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,c=0;c=0;d--)if(l&&i&&l[d]===i[d])break;for(var v=p-1;v>d;v--)s--,n=a[s-1];for(var y=d+1;y=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,c=r.y,h="left",l="top";if(n instanceof Array)u+=p(n[0],r.width),c+=p(n[1],r.height),h=null,l=null;else switch(n){case"left":u-=i,c+=s,h="right",l="middle";break;case"right":u+=i+a,c+=s,l="middle";break;case"top":u+=a/2,c-=i,h="center",l="bottom";break;case"bottom":u+=a/2,c+=o+i,h="center";break;case"inside":u+=a/2,c+=s,h="center",l="middle";break;case"insideLeft":u+=i,c+=s,l="middle";break;case"insideRight":u+=a-i,c+=s,h="right",l="middle";break;case"insideTop":u+=a/2,c+=i,h="center";break;case"insideBottom":u+=a/2,c+=o-i,h="center",l="bottom";break;case"insideTopLeft":u+=i,c+=i;break;case"insideTopRight":u+=a-i,c+=i,h="right";break;case"insideBottomLeft":u+=i,c+=o-i,l="bottom";break;case"insideBottomRight":u+=a-i,c+=o-i,h="right",l="bottom";break}return t=t||{},t.x=u,t.y=c,t.align=h,t.verticalAlign=l,t}},cf22:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"d",(function(){return l})),r.d(e,"e",(function(){return f}));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 c(t){var e={};if("undefined"===typeof JSON)return e;for(var r=0;r=0)c=u*r.length;else for(var f=0;f=u;h++)c-=u;var l=Object(o["f"])(r,e);return l>c&&(r="",l=0),c=t-l,a.ellipsis=r,a.ellipsisWidth=l,a.contentWidth=c,a.containerWidth=t,a}function c(t,e){var r=e.containerWidth,n=e.font,i=e.contentWidth;if(!r)return"";var a=Object(o["f"])(t,n);if(a<=r)return t;for(var s=0;;s++){if(a<=i||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?h(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,u),a=Object(o["f"])(t,n)}return""===t&&(t=e.placeholder),t}function h(t,e,r,n){for(var i=0,o=0,a=t.length;og&&d){var b=Math.floor(g/f);r=r.slice(0,b)}if(t&&h&&null!=v)for(var m=u(v,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;xp&&y(r,t.substring(p,v),e,f),y(r,u[2],e,f,u[1]),p=a.lastIndex}ph){M>0?(j.tokens=j.tokens.slice(0,M),O(j,T,S),r.lines=r.lines.slice(0,k+1)):r.lines=r.lines.slice(0,k);break t}var z=C.width,I=null==z||"auto"===z;if("string"===typeof z&&"%"===z.charAt(z.length-1))P.percentWidth=z,g.push(P),P.contentWidth=Object(o["f"])(P.text,F);else{if(I){var R=C.backgroundColor,B=R&&R.image;B&&(B=n["b"](B),n["c"](B)&&(P.width=Math.max(P.width,B.width*L/B.height)))}var W=x&&null!=c?c-T:null;null!=W&&W0&&g+n.accumWidth>n.width&&(a=e.split("\n"),d=!0),n.accumWidth=g}else{var b=_(e,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=b.accumWidth+y,s=b.linesWidths,a=b.lines}}else a=e.split("\n");for(var m=0;m=33&&e<=383}var b=Object(i["N"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function m(t){return!g(t)||!!b[t]}function _(t,e,r,n,i){for(var a=[],s=[],u="",c="",h=0,l=0,f=0;fr:i+l+d>r)?l?(u||c)&&(v?(u||(u=c,c="",h=0,l=h),a.push(u),s.push(l-h),c+=p,h+=d,u="",l=h):(c&&(u+=c,c="",h=0),a.push(u),s.push(l),u=p,l=d)):v?(a.push(c),s.push(h),c=p,h=d):(a.push(p),s.push(d)):(l+=d,v?(c+=p,h+=d):(c&&(u+=c,c="",h=0),u+=p))}else c&&(u+=c,l+=h),a.push(u),s.push(l),u="",c="",h=0,l=0}return a.length||u||(u=t,c="",h=0),c&&(u+=c),u&&(a.push(u),s.push(l)),1===a.length&&(l+=i),{accumWidth:l,lines:a,linesWidths:s}}},d9bc:function(t,e,r){"use strict";function n(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,r){return t[0]=e,t[1]=r,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function u(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t}function c(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function h(t){return Math.sqrt(l(t))}r.d(e,"e",(function(){return n})),r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"p",(function(){return a})),r.d(e,"a",(function(){return s})),r.d(e,"o",(function(){return u})),r.d(e,"q",(function(){return c})),r.d(e,"i",(function(){return h})),r.d(e,"n",(function(){return f})),r.d(e,"m",(function(){return p})),r.d(e,"h",(function(){return d})),r.d(e,"f",(function(){return v})),r.d(e,"g",(function(){return g})),r.d(e,"j",(function(){return b})),r.d(e,"b",(function(){return m})),r.d(e,"l",(function(){return _})),r.d(e,"k",(function(){return x}));function l(t){return t[0]*t[0]+t[1]*t[1]}function f(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function p(t,e){var r=h(e);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function d(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var v=d;function y(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var g=y;function b(t,e,r,n){return t[0]=e[0]+n*(r[0]-e[0]),t[1]=e[1]+n*(r[1]-e[1]),t}function m(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[2]*i+r[4],t[1]=r[1]*n+r[3]*i+r[5],t}function _(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function x(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}},dbc8:function(t,e,r){"use strict";r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return h})),r.d(e,"a",(function(){return p}));var n=r("f505"),i=Math.log(2);function o(t,e,r,n,a,s){var u=n+"-"+a,c=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var h=Math.round(Math.log((1<>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[c]+":0",n[1-u]+":auto",i[1-c]+":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=[],c=!0,h=0;h<4;h++){var l=t[h].getBoundingClientRect(),f=2*h,p=l.left,d=l.top;s.push(p,d),c=c&&o&&p===o[f]&&d===o[f+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return c&&i?i:(e.srcCoords=s,e[n]=r?a(u,s):a(s,u))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}},dbe4:function(t,e,r){"use strict";var n=r("08c2"),i=r("f566"),o=r("ba54"),a=Math.PI,s=2*a,u=Math.sin,c=Math.cos,h=Math.acos,l=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,c=n-e,h=a-i,l=s-o,f=l*u-h*c;if(!(f*fD*D+F*F&&(S=M,T=P),{cx:S,cy:T,x0:-h,y0:-l,x1:S*(i/O-1),y1:T*(i/O-1)}}function m(t){var e;if(Object(o["t"])(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 _(t,e){var r,n=d(e.r,0),i=d(e.r0||0,0),o=n>0,_=i>0;if(o||_){if(o||(n=i,i=0),i>n){var x=n;n=i,i=x}var w=e.startAngle,O=e.endAngle;if(!isNaN(w)&&!isNaN(O)){var k=e.cx,j=e.cy,S=!!e.clockwise,T=f(O-w),M=T>s&&T%s;if(M>y&&(T=M),n>y)if(T>s-y)t.moveTo(k+n*c(w),j+n*u(w)),t.arc(k,j,n,w,O,!S),i>y&&(t.moveTo(k+i*c(O),j+i*u(O)),t.arc(k,j,i,O,w,S));else{var P=void 0,C=void 0,A=void 0,D=void 0,F=void 0,L=void 0,z=void 0,I=void 0,R=void 0,B=void 0,W=void 0,N=void 0,H=void 0,X=void 0,E=void 0,q=void 0,Y=n*c(w),U=n*u(w),V=i*c(O),Z=i*u(O),Q=T>y;if(Q){var G=e.cornerRadius;G&&(r=m(G),P=r[0],C=r[1],A=r[2],D=r[3]);var $=f(n-i)/2;if(F=v($,A),L=v($,D),z=v($,P),I=v($,C),W=R=d(F,L),N=B=d(z,I),(R>y||B>y)&&(H=n*c(O),X=n*u(O),E=i*c(w),q=i*u(w),Ty){var ot=v(A,W),at=v(D,W),st=b(E,q,Y,U,n,ot,S),ut=b(H,X,V,Z,n,at,S);t.moveTo(k+st.cx+st.x0,j+st.cy+st.y0),W0&&t.arc(k+st.cx,j+st.cy,ot,l(st.y0,st.x0),l(st.y1,st.x1),!S),t.arc(k,j,n,l(st.cy+st.y1,st.cx+st.x1),l(ut.cy+ut.y1,ut.cx+ut.x1),!S),at>0&&t.arc(k+ut.cx,j+ut.cy,at,l(ut.y1,ut.x1),l(ut.y0,ut.x0),!S))}else t.moveTo(k+Y,j+U),t.arc(k,j,n,w,O,!S);else t.moveTo(k+Y,j+U);if(i>y&&Q)if(N>y){ot=v(P,N),at=v(C,N),st=b(V,Z,H,X,i,-at,S),ut=b(Y,U,E,q,i,-ot,S);t.lineTo(k+st.cx+st.x0,j+st.cy+st.y0),N0&&t.arc(k+st.cx,j+st.cy,at,l(st.y0,st.x0),l(st.y1,st.x1),!S),t.arc(k,j,i,l(st.cy+st.y1,st.cx+st.x1),l(ut.cy+ut.y1,ut.cx+ut.x1),S),ot>0&&t.arc(k+ut.cx,j+ut.cy,ot,l(ut.y1,ut.x1),l(ut.y0,ut.x0),!S))}else t.lineTo(k+V,j+Z),t.arc(k,j,i,O,w,S);else t.lineTo(k+V,j+Z)}else t.moveTo(k,j);t.closePath()}}}var x=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}(),w=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(e,t),e.prototype.getDefaultShape=function(){return new x},e.prototype.buildPath=function(t,e){_(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i["b"]);w.prototype.type="sector";e["a"]=w},e094:function(t,e,r){"use strict";r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return y})),r.d(e,"f",(function(){return g})),r.d(e,"c",(function(){return b})),r.d(e,"g",(function(){return m})),r.d(e,"e",(function(){return _})),r.d(e,"d",(function(){return x})),r.d(e,"h",(function(){return w})),r.d(e,"i",(function(){return O})),r.d(e,"m",(function(){return k})),r.d(e,"j",(function(){return j})),r.d(e,"n",(function(){return S})),r.d(e,"l",(function(){return T})),r.d(e,"k",(function(){return M}));var n=r("d9bc"),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),c=1/3,h=Object(n["e"])(),l=Object(n["e"])(),f=Object(n["e"])();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 h=n+3*(e-r)-t,l=3*(r-2*e+t),f=3*(e-t),d=t-a,v=l*l-3*h*f,y=l*f-9*h*d,g=f*f-3*l*d,b=0;if(p(v)&&p(y))if(p(l))s[0]=0;else{var m=-f/l;m>=0&&m<=1&&(s[b++]=m)}else{var _=y*y-4*v*g;if(p(_)){var x=y/v,w=(m=-l/h+x,-x/2);m>=0&&m<=1&&(s[b++]=m),w>=0&&w<=1&&(s[b++]=w)}else if(_>0){var O=o(_),k=v*l+1.5*h*(-y+O),j=v*l+1.5*h*(-y-O);k=k<0?-i(-k,c):i(k,c),j=j<0?-i(-j,c):i(j,c);m=(-l-(k+j))/(3*h);m>=0&&m<=1&&(s[b++]=m)}else{var S=(2*v*l-3*h*y)/(2*o(v*v*v)),T=Math.acos(S)/3,M=o(v),P=Math.cos(T),C=(m=(-l-2*M*P)/(3*h),w=(-l+M*(P+u*Math.sin(T)))/(3*h),(-l+M*(P-u*Math.sin(T)))/(3*h));m>=0&&m<=1&&(s[b++]=m),w>=0&&w<=1&&(s[b++]=w),C>=0&&C<=1&&(s[b++]=C)}}return b}function b(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,c=0;if(p(s)){if(d(a)){var h=-u/a;h>=0&&h<=1&&(i[c++]=h)}}else{var l=a*a-4*s*u;if(p(l))i[0]=-a/(2*s);else if(l>0){var f=o(l),v=(h=(-a+f)/(2*s),(-a-f)/(2*s));h>=0&&h<=1&&(i[c++]=h),v>=0&&v<=1&&(i[c++]=v)}}return c}function m(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,u=(n-r)*i+r,c=(s-a)*i+a,h=(u-s)*i+s,l=(h-c)*i+c;o[0]=t,o[1]=a,o[2]=c,o[3]=l,o[4]=l,o[5]=h,o[6]=u,o[7]=n}function _(t,e,r,i,a,u,c,p,d,y,g){var b,m,_,x,w,O=.005,k=1/0;h[0]=d,h[1]=y;for(var j=0;j<1;j+=.05)l[0]=v(t,r,a,c,j),l[1]=v(e,i,u,p,j),x=Object(n["g"])(h,l),x=0&&x=0&&h<=1&&(i[c++]=h)}}else{var l=s*s-4*a*u;if(p(l)){h=-s/(2*a);h>=0&&h<=1&&(i[c++]=h)}else if(l>0){var f=o(l),v=(h=(-s+f)/(2*a),(-s-f)/(2*a));h>=0&&h<=1&&(i[c++]=h),v>=0&&v<=1&&(i[c++]=v)}}return c}function j(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function S(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 T(t,e,r,i,a,u,c,p,d){var v,y=.005,g=1/0;h[0]=c,h[1]=p;for(var b=0;b<1;b+=.05){l[0]=w(t,r,a,b),l[1]=w(e,i,u,b);var m=Object(n["g"])(h,l);m=0&&m0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["g"])(c,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=Object(o["d"])(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["c"]);h.prototype.type="tspan",e["a"]=h},ee6c:function(t,e,r){"use strict";r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return d}));var n=r("4e14"),i=r("d9bc"),o=n["d"],a=5e-5;function s(t){return t>a||t<-a}var u=[],c=[],h=n["c"](),l=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["c"](),e?this.getLocalTransform(r):o(r),t&&(e?n["f"](r,t,r):n["b"](r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&o(r)},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["c"](),n["e"](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&&(n["f"](c,t.invTransform,e),e=c);var r=this.originX,i=this.originY;(r||i)&&(h[4]=r,h[5]=i,n["f"](c,e,h),c[4]-=r,c[5]-=i,e=c),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["b"](r,r,n),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&i["b"](r,r,n),r},t.prototype.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},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,c=t.rotation||0,h=t.x,l=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,c&&n["g"](e,e,c),e[4]+=r+h,e[5]+=i+l,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;r18),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?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},f566:function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var n=r("08c2"),i=r("9ada"),o=r("c3a0"),a=r("bb27"),s=r("e094");function u(t,e,r,n,i,o,a,u,c,h,l){if(0===c)return!1;var f=c;if(l>e+f&&l>n+f&&l>o+f&&l>u+f||lt+f&&h>r+f&&h>i+f&&h>a+f||hr||f+ci&&(i+=l);var d=Math.atan2(u,s);return d<0&&(d+=l),d>=n&&d<=i||d+l>=n&&d+l<=i}var p=r("2d01"),d=o["a"].CMD,v=2*Math.PI,y=1e-4;function g(t,e){return Math.abs(t-e)e&&h>n&&h>o&&h>u||h1&&_(),d=s["a"](e,n,o,u,m[0]),p>1&&(v=s["a"](e,n,o,u,m[1]))),2===p?ge&&u>n&&u>o||u=0&&h<=1){for(var l=0,f=s["h"](e,n,o,h),p=0;pr||s<-r)return 0;var u=Math.sqrt(r*r-s*s);b[0]=-u,b[1]=u;var c=Math.abs(n-i);if(c<1e-4)return 0;if(c>=v-1e-4){n=0,i=v;var h=o?1:-1;return a>=b[0]+t&&a<=b[1]+t?h:0}if(n>i){var l=n;n=i,i=l}n<0&&(n+=v,i+=v);for(var f=0,p=0;p<2;p++){var d=b[p];if(d+t>a){var y=Math.atan2(s,d);h=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&&(h=-h),f+=h)}}return f}function k(t,e,r,n,i){for(var o,s,h=t.data,l=t.len(),v=0,y=0,b=0,m=0,_=0,k=0;k1&&(r||(v+=Object(p["a"])(y,b,m,_,n,i))),S&&(y=h[k],b=h[k+1],m=y,_=b),j){case d.M:m=h[k++],_=h[k++],y=m,b=_;break;case d.L:if(r){if(a["a"](y,b,h[k],h[k+1],e,n,i))return!0}else v+=Object(p["a"])(y,b,h[k],h[k+1],n,i)||0;y=h[k++],b=h[k++];break;case d.C:if(r){if(u(y,b,h[k++],h[k++],h[k++],h[k++],h[k],h[k+1],e,n,i))return!0}else v+=x(y,b,h[k++],h[k++],h[k++],h[k++],h[k],h[k+1],n,i)||0;y=h[k++],b=h[k++];break;case d.Q:if(r){if(c["a"](y,b,h[k++],h[k++],h[k],h[k+1],e,n,i))return!0}else v+=w(y,b,h[k++],h[k++],h[k],h[k+1],n,i)||0;y=h[k++],b=h[k++];break;case d.A:var T=h[k++],M=h[k++],P=h[k++],C=h[k++],A=h[k++],D=h[k++];k+=1;var F=!!(1-h[k++]);o=Math.cos(A)*P+T,s=Math.sin(A)*C+M,S?(m=o,_=s):v+=Object(p["a"])(y,b,o,s,n,i);var L=(n-T)*C/P+T;if(r){if(f(T,M,C,A,A+D,F,e,L,i))return!0}else v+=O(T,M,C,A,A+D,F,L,i);y=Math.cos(A+D)*P+T,b=Math.sin(A+D)*C+M;break;case d.R:m=y=h[k++],_=b=h[k++];var z=h[k++],I=h[k++];if(o=m+z,s=_+I,r){if(a["a"](m,_,o,_,e,n,i)||a["a"](o,_,o,s,e,n,i)||a["a"](o,s,m,s,e,n,i)||a["a"](m,s,m,_,e,n,i))return!0}else v+=Object(p["a"])(o,_,o,s,n,i),v+=Object(p["a"])(m,s,m,_,n,i);break;case d.Z:if(r){if(a["a"](y,b,m,_,e,n,i))return!0}else v+=Object(p["a"])(y,b,m,_,n,i);y=m,b=_;break}}return r||g(b,_)||(v+=Object(p["a"])(y,b,m,_,n,i)||0),0!==v}function j(t,e,r){return k(t,0,!1,e,r)}function S(t,e,r,n){return k(t,e,!0,r,n)}var T=r("ba54"),M=r("1eb8"),P=r("f182"),C=r("71a8"),A=r("ee6c"),D=Object(T["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i["b"]),F={style:Object(T["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},L=A["a"].concat(["invisible","culling","z","z2","zlevel","parent"]),z=function(t){function e(e){return t.call(this,e)||this}return Object(n["a"])(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["a"]:e>.2?P["c"]:P["d"]}if(t)return P["d"]}return P["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(T["C"])(e)){var r=this.__zr,n=!(!r||!r.isDarkMode()),i=Object(M["d"])(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&C["b"])&&(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)),S(o,a/s,t,e)))return!0}if(this.hasFill())return j(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=C["b"],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:Object(T["m"])(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&C["b"])},e.prototype.createStyle=function(t){return Object(T["g"])(D,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(T["m"])({},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=Object(T["m"])({},n.shape),Object(T["m"])(s,r.shape)):(s=Object(T["m"])({},i?this.shape:n.shape),Object(T["m"])(s,r.shape)):u&&(s=n.shape),s)if(o){this.shape=Object(T["m"])({},this.shape);for(var c={},h=Object(T["F"])(s),l=0;le+h&&c>i+h&&c>a+h||ct+h&&u>r+h&&u>o+h||u1&&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}}}}}},fc65:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=2*Math.PI;function i(t){return t%=n,t<0&&(t+=n),t}}}]);