/*! For license information please see 150.068f4c2f.js.LICENSE.txt */ "use strict";(self.webpackChunkwu_vue_zone_ecology=self.webpackChunkwu_vue_zone_ecology||[]).push([[150],{15727:function(t,e,r){r.d(e,{C6:function(){return i}});var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}Object.create;Object.create},62454:function(t,e,r){var n=r(92836),i=r(77193),o=r(29308),a=r(57861),s=r(45558),h=r(98026),u=r(73098),l=r(47698),c=r(56448),f="__zr_normal__",p=n.Wx.concat(["ignore"]),d=(0,h.TS)(n.Wx,(function(t,e){return t[e]=!0,t}),{ignore:!1}),y={},v=new o.A(0,0,0,0),g=function(){function t(t){this.id=(0,h.Os)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=e.innerTransformable,o=void 0,a=void 0,h=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(e),null!=r.position){var l=v;r.layoutRect?l.copy(r.layoutRect):l.copy(this.getBoundingRect()),n||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(y,r,l):(0,s.X4)(y,r,l),i.x=y.x,i.y=y.y,o=y.align,a=y.verticalAlign;var f=r.origin;if(f&&null!=r.rotation){var p=void 0,d=void 0;"center"===f?(p=.5*l.width,d=.5*l.height):(p=(0,s.lo)(f[0],l.width),d=(0,s.lo)(f[1],l.height)),u=!0,i.originX=-i.x+p+(n?0:l.x),i.originY=-i.y+d+(n?0:l.y)}}null!=r.rotation&&(i.rotation=r.rotation);var g=r.offset;g&&(i.x+=g[0],i.y+=g[1],u||(i.originX=-g[0],i.originY=-g[1]));var _=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,w=void 0,b=void 0;_&&this.canBeInsideText()?(x=r.insideFill,w=r.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=w&&"auto"!==w||(w=this.getInsideTextStroke(x),b=!0)):(x=r.outsideFill,w=r.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=w&&"auto"!==w||(w=this.getOutsideStroke(x),b=!0)),(x=x||"#000")===m.fill&&w===m.stroke&&b===m.autoStroke&&o===m.align&&a===m.verticalAlign||(h=!0,m.fill=x,m.stroke=w,m.autoStroke=b,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.M,h&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"==typeof e&&(0,l.qg)(e);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*n+(i?0:255)*(1-n);return r[3]=1,(0,l.As)(r,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,h.X$)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,h.Gv)(t))for(var r=t,n=(0,h.HP)(r),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,r,n){var i=t===f;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!((0,h.qh)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||i){i||this.saveCurrentToNormalState(s);var u=!!(s&&s.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!r&&!this.__inHover&&a&&a.duration>0,a);var l=this._textContent,p=this._textGuide;return l&&l.useState(t,e,r,u),p&&p.useState(t,e,r,u),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.M),s}(0,h.vV)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,r){if(t.length){var n=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s0,d);var y=this._textContent,v=this._textGuide;y&&y.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.M)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var n=this.currentStates.slice(),i=(0,h.qh)(n,t),o=(0,h.qh)(n,e)>=0;i>=0?o?n.splice(i,1):n[i]=e:r&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,r={},n=0;n=0&&e.splice(r,1)})),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var r=this.animators,n=r.length,i=[],o=0;o0&&r.during&&o[0].during((function(t,e){r.during(e)}));for(var f=0;f0||o.force&&!s.length){var C,A=void 0,P=void 0,M=void 0;if(u){P={},d&&(A={});for(T=0;Tn?e:t,o=Math.min(r,n),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)n.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,r){this._needsSort=!0;var n=this.keyframes,s=n.length,l=!1,c=6,f=e;if((0,o.Xj)(e)){var p=function(t){return(0,o.Xj)(t&&t[0])?2:1}(e);c=p,(1===p&&!(0,o.Et)(e[0])||2===p&&!(0,o.Et)(e[0][0]))&&(l=!0)}else if((0,o.Et)(e)&&!(0,o.Yp)(e))c=0;else if((0,o.Kg)(e))if(isNaN(+e)){var d=h.qg(e);d&&(f=d,c=3)}else c=0;else if((0,o.C7)(e)){var y=(0,o.X$)({},f);y.colorStops=(0,o.Tj)(e.colorStops,(function(t){return{offset:t.offset,color:h.qg(t.color)}})),(0,u.OS)(e)?c=4:(0,u.OH)(e)&&(c=5),f=y}0===s?this.valType=c:c===this.valType&&6!==c||(l=!0),this.discrete=this.discrete||l;var v={time:t,value:f,rawValue:e,percent:0};return r&&(v.easing=r,v.easingFunc=(0,o.Tn)(r)?r:i[r]||(0,a.w)(r)),n.push(v),v},t.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort((function(t,e){return t.time-e.time}));for(var n=this.valType,i=r.length,o=r[i-1],a=this.discrete,s=x(n),h=m(n),u=0;u=0&&!(u[r].percent<=e);r--);r=v(r,l-2)}else{for(r=y;re);r++);r=v(r-1,l-2)}i=u[r+1],n=u[r]}if(n&&i){this._lastFr=r,this._lastFrP=e;var g=i.percent-n.percent,b=0===g?1:v((e-n.percent)/g,1);i.easingFunc&&(b=i.easingFunc(b));var k=a?this._additiveValue:d?w:t[p];if(!x(h)&&!d||k||(k=this._additiveValue=[]),this.discrete)t[p]=b<1?n.rawValue:i.rawValue;else if(x(h))1===h?f(k,n[s],i[s],b):function(t,e,r,n){for(var i=e.length,o=i&&e[0].length,a=0;a0&&s.addKeyframe(0,g(h),n),this._trackKeys.push(a)}s.addKeyframe(t,g(e[a]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,r=0;r0)){this._started=1;for(var e=this,r=[],n=this._maxTime||0,i=0;i1){var s=a.pop();i.addKeyframe(s.time,t[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}()},96320:function(t,e,r){r.d(e,{w:function(){return a}});var n=r(89259),i=r(98026),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var r=e[1].split(","),a=+(0,i.Bq)(r[0]),s=+(0,i.Bq)(r[1]),h=+(0,i.Bq)(r[2]),u=+(0,i.Bq)(r[3]);if(isNaN(a+s+h+u))return;var l=[];return function(t){return t<=0?0:t>=1?1:(0,n._E)(0,a,h,1,t,l)&&(0,n.Yb)(0,s,u,1,l[0])}}}},45825:function(t,e,r){var n;n=r(38123).A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e.A=n},41836:function(t,e,r){r.d(e,{A:function(){return x}});var n=r(73098),i=r(98026),o=r(15727),a=r(57861),s=r(53479),h=r(29571),u=r(29308),l=r(56448),c=r(59741);function f(t,e,r){var n=c.yh.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=i*r,n.height=o*r,n}var p=function(t){function e(e,r,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||n.Y5,"string"==typeof e?a=f(e,r,o):i.Gv(e)&&(e=(a=e).id),s.id=e,s.dom=a;var h=a.style;return h&&(i.iq(a),a.onselectstart=function(){return!1},h.padding="0",h.margin="0",h.borderWidth="0"),s.painter=r,s.dpr=o,s}return(0,o.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,r,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,h=new u.A(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new u.A(0,0,0,0)).copy(t),o.push(e)}else{for(var e,r=!1,n=1/0,i=0,l=0;l=a)}}for(var f=this.__startIndex;f15)break}r.prevElClipPaths&&u.restore()};if(f)if(0===f.length)s=h.__endIndex;else for(var x=p.dpr,w=0;w0&&t>n[0]){for(s=0;st);s++);a=r[n[s]]}if(n.splice(s+1,0,t),r[t]=e,!e.virtual)if(a){var h=a.dom;h.nextSibling?o.insertBefore(e.dom,h.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,n=0;n0?_:0),this._needsManuallyCompositing),c.__builtin__||i.vV("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,e(o),a=c),h.__dirty&l.M&&!h.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,i.__(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?i.h1(r[t],e,!0):r[t]=e;for(var n=0;n0&&(e=i.lineDash,r=i.lineWidth,e&&"solid"!==e&&r>0?"dashed"===e?[4*r,2*r]:"dotted"===e?[r]:(0,n.Et)(e)?[e]:(0,n.cy)(e)?e:null:null),a=i.lineDashOffset;if(o){var s=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(o=(0,n.Tj)(o,(function(t){return t/s})),a/=s)}return[o,a]}},29571:function(t,e,r){r.d(e,{V$:function(){return R},Xi:function(){return O},ZQ:function(){return x}});var n=r(71519),i=r(68717),o=r(12191),a=r(53479),s=r(5070),h=r(90540),u=r(19845),l=r(98026),c=r(76050),f=r(56448),p=r(59741),d=new i.A(!0);function y(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function v(t){return"string"==typeof t&&"none"!==t}function g(t){var e=t.fill;return null!=e&&"none"!==e}function _(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function m(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function x(t,e,r){var n=(0,o.OD)(e.image,e.__image,r);if((0,o.xA)(n)){var i=t.createPattern(n,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*l.lI),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var w=["shadowBlur","shadowOffsetX","shadowOffsetY"],b=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function k(t,e,r,i,o){var a=!1;if(!i&&e===(r=r||{}))return!1;if(i||e.opacity!==r.opacity){L(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?n.oN.opacity:s}(i||e.blend!==r.blend)&&(a||(L(t,o),a=!0),t.globalCompositeOperation=e.blend||n.oN.blend);for(var h=0;h=0&&n(u)?u:.5,t.createRadialGradient(s,h,0,s,h,u)}(t,e,r):function(t,e,r){var i=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,s=null==e.y2?0:e.y2;return e.global||(i=i*r.width+r.x,o=o*r.width+r.x,a=a*r.height+r.y,s=s*r.height+r.y),i=n(i)?i:0,o=n(o)?o:1,a=n(a)?a:0,s=n(s)?s:0,t.createLinearGradient(i,a,o,s)}(t,e,r),o=e.colorStops,a=0;ae+s&&a>n+s||at+s&&o>r+s||oe+l&&u>i+l&&u>a+l||ut+l&&h>r+l&&h>o+l||h=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,h=r.x,u=r.y,l="left",c="top";if(n instanceof Array)h+=p(n[0],r.width),u+=p(n[1],r.height),l=null,c=null;else switch(n){case"left":h-=i,u+=s,l="right",c="middle";break;case"right":h+=i+a,u+=s,c="middle";break;case"top":h+=a/2,u-=i,l="center",c="bottom";break;case"bottom":h+=a/2,u+=o+i,l="center";break;case"inside":h+=a/2,u+=s,l="center",c="middle";break;case"insideLeft":h+=i,u+=s,c="middle";break;case"insideRight":h+=a-i,u+=s,l="right",c="middle";break;case"insideTop":h+=a/2,u+=i,l="center";break;case"insideBottom":h+=a/2,u+=o-i,l="center",c="bottom";break;case"insideTopLeft":h+=i,u+=i;break;case"insideTopRight":h+=a-i,u+=i,l="right";break;case"insideBottomLeft":h+=i,u+=o-i,c="bottom";break;case"insideBottomRight":h+=a-i,u+=o-i,l="right",c="bottom"}return(t=t||{}).x=h,t.y=u,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)<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,h=new i.A,u=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,h=n.y+n.height,u=e.x,l=e.x+e.width,p=e.y,d=e.y+e.height,y=!(ag&&(g=b,_g&&(g=k,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=u.x=r.x,s.y=l.y=r.y,h.x=l.x=r.x+r.width,h.y=u.y=r.y+r.height,s.transform(n),l.transform(n),h.transform(n),u.transform(n),e.x=o(s.x,h.x,u.x,l.x),e.y=o(s.y,h.y,u.y,l.y);var d=a(s.x,h.x,u.x,l.x),y=a(s.y,h.y,u.y,l.y);e.width=d-e.x,e.height=y-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;a=this._maxSize&&a>0){var h=r.head;r.remove(h),delete i[h.key],o=h.value,this._lastRemovedEntry=h}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,h=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,h=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,h),r[3].set(o,h),e)for(var u=0;u<4;u++)r[u].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(u=0;u<2;u++)this._origin[u]=i[u].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,h){for(var u=!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(u=!1,s)return u;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-T(r-i)):e&&r0&&(this._ux=m(r/o.Y5/t)||0,this._uy=m(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(h.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(h.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(h.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(h.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(),k[0]=n,k[1]=i,S(k,o),n=k[0];var a=(i=k[1])-n;return this.addData(h.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=_(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(h.R,t,e,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(h.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;ru.length&&(this._expandData(),u=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,u=0;for(t=0;tr||m(T)>n||p===e-1)&&(b=Math.sqrt(F*F+T*T),i=k,o=A);break;case h.C:var S=t[p++],C=t[p++],A=(k=t[p++],t[p++]),P=t[p++],M=t[p++];b=(0,s.h0)(i,o,S,C,k,A,P,M,10),i=P,o=M;break;case h.Q:S=t[p++],C=t[p++],k=t[p++],A=t[p++];b=(0,s.d8)(i,o,S,C,k,A,10),i=k,o=A;break;case h.A:var L=t[p++],D=t[p++],O=t[p++],R=t[p++],z=t[p++],I=t[p++],B=I+z;p+=1,x&&(a=g(z)*O+L,u=_(z)*R+D),b=v(O,R)*y(w,Math.abs(I)),i=g(B)*O+L,o=_(B)*R+D;break;case h.R:a=i=t[p++],u=o=t[p++],b=2*t[p++]+2*t[p++];break;case h.Z:var F=a-i;T=u-o;b=Math.sqrt(F*F+T*T),i=a,o=u}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=this.data,b=this._ux,k=this._uy,T=this._len,S=e<1,C=0,A=0,P=0;if(!S||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=e*this._pathLen))t:for(var M=0;M0&&(t.lineTo(d,x),P=0),L){case h.M:r=i=w[M++],n=o=w[M++],t.moveTo(i,o);break;case h.L:a=w[M++],c=w[M++];var O=m(a-i),R=m(c-o);if(O>b||R>k){if(S){if(C+(nt=f[A++])>p){var z=(p-C)/nt;t.lineTo(i*(1-z)+a*z,o*(1-z)+c*z);break t}C+=nt}t.lineTo(a,c),i=a,o=c,P=0}else{var I=O*O+R*R;I>P&&(d=a,x=c,P=I)}break;case h.C:var B=w[M++],F=w[M++],H=w[M++],W=w[M++],X=w[M++],E=w[M++];if(S){if(C+(nt=f[A++])>p){z=(p-C)/nt;(0,s.YT)(i,B,H,X,z,u),(0,s.YT)(o,F,W,E,z,l),t.bezierCurveTo(u[1],l[1],u[2],l[2],u[3],l[3]);break t}C+=nt}t.bezierCurveTo(B,F,H,W,X,E),i=X,o=E;break;case h.Q:B=w[M++],F=w[M++],H=w[M++],W=w[M++];if(S){if(C+(nt=f[A++])>p){z=(p-C)/nt;(0,s.kx)(i,B,H,z,u),(0,s.kx)(o,F,W,z,l),t.quadraticCurveTo(u[1],l[1],u[2],l[2]);break t}C+=nt}t.quadraticCurveTo(B,F,H,W),i=H,o=W;break;case h.A:var Y=w[M++],N=w[M++],q=w[M++],j=w[M++],Z=w[M++],G=w[M++],V=w[M++],$=!w[M++],K=q>j?q:j,Q=m(q-j)>.001,U=Z+G,J=!1;if(S)C+(nt=f[A++])>p&&(U=Z+G*(p-C)/nt,J=!0),C+=nt;if(Q&&t.ellipse?t.ellipse(Y,N,q,j,V,Z,U,$):t.arc(Y,N,K,Z,U,$),J)break t;D&&(r=g(Z)*q+Y,n=_(Z)*j+N),i=g(U)*q+Y,o=_(U)*j+N;break;case h.R:r=i=w[M],n=o=w[M+1],a=w[M++],c=w[M++];var tt=w[M++],et=w[M++];if(S){if(C+(nt=f[A++])>p){var rt=p-C;t.moveTo(a,c),t.lineTo(a+y(rt,tt),c),(rt-=tt)>0&&t.lineTo(a+tt,c+y(rt,et)),(rt-=et)>0&&t.lineTo(a+v(tt-rt,0),c+et),(rt-=tt)>0&&t.lineTo(a,c+v(et-rt,0));break t}C+=nt}t.rect(a,c,tt,et);break;case h.Z:if(S){var nt;if(C+(nt=f[A++])>p){z=(p-C)/nt;t.lineTo(i*(1-z)+r*z,o*(1-z)+n*z);break t}C+=nt}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=h,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();e.A=C},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<-5e-5}var h=[],u=[],l=n.vt(),c=Math.abs,f=function(){function t(){}var e;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(h);var r=h[0]<0?-1:1,i=h[1]<0?-1:1,o=((h[0]-r)*e+r)/h[0]||0,a=((h[1]-i)*e+i)/h[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(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;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(u,t.invTransform,e),e=u);var r=this.originX,i=this.originY;(r||i)&&(l[4]=r,l[5]=i,n.lK(u,e,l),u[4]-=r,u[5]-=i,e=u),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,h=t.anchorY,u=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||h){var d=r+s,y=i+h;e[4]=-d*o-f*y*a,e[5]=-y*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,u&&n.e$(e,e,u),e[4]+=r+l,e[5]+=i+c,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(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,y[0]=t+r,void(y[1]=e+i);if(l[0]=h(o)*r+t,l[1]=s(o)*i+e,c[0]=h(a)*r+t,c[1]=s(a)*i+e,v(d,l,c),g(y,l,c),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!p?a+=u:oo&&(f[0]=h(x)*r+t,f[1]=s(x)*i+e,v(d,f,d),g(y,f,y))}},89259:function(t,e,r){r.d(e,{Et:function(){return x},YT:function(){return m},Yb:function(){return y},_E:function(){return g},d8:function(){return P},gC:function(){return S},h0:function(){return w},k3:function(){return b},kh:function(){return A},kx:function(){return C},lX:function(){return _},qY:function(){return T},rD:function(){return v},z7:function(){return k}});var n=r(83509),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,h=o(3),u=1/3,l=(0,n.vt)(),c=(0,n.vt)(),f=(0,n.vt)();function p(t){return t>-a&&ta||t<-a}function y(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 v(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,y=c*c-3*l*f,v=c*f-9*l*d,g=f*f-3*c*d,_=0;if(p(y)&&p(v)){if(p(c))s[0]=0;else(M=-f/c)>=0&&M<=1&&(s[_++]=M)}else{var m=v*v-4*y*g;if(p(m)){var x=v/y,w=-x/2;(M=-c/l+x)>=0&&M<=1&&(s[_++]=M),w>=0&&w<=1&&(s[_++]=w)}else if(m>0){var b=o(m),k=y*c+1.5*l*(-v+b),T=y*c+1.5*l*(-v-b);(M=(-c-((k=k<0?-i(-k,u):i(k,u))+(T=T<0?-i(-T,u):i(T,u))))/(3*l))>=0&&M<=1&&(s[_++]=M)}else{var S=(2*y*c-3*l*v)/(2*o(y*y*y)),C=Math.acos(S)/3,A=o(y),P=Math.cos(C),M=(-c-2*A*P)/(3*l),L=(w=(-c+A*(P+h*Math.sin(C)))/(3*l),(-c+A*(P-h*Math.sin(C)))/(3*l));M>=0&&M<=1&&(s[_++]=M),w>=0&&w<=1&&(s[_++]=w),L>=0&&L<=1&&(s[_++]=L)}}return _}function _(t,e,r,n,i){var a=6*r-12*e+6*t,s=9*e+3*n-3*t-9*r,h=3*e-3*t,u=0;if(p(s)){if(d(a))(c=-h/a)>=0&&c<=1&&(i[u++]=c)}else{var l=a*a-4*s*h;if(p(l))i[0]=-a/(2*s);else if(l>0){var c,f=o(l),y=(-a-f)/(2*s);(c=(-a+f)/(2*s))>=0&&c<=1&&(i[u++]=c),y>=0&&y<=1&&(i[u++]=y)}}return u}function m(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,h=(n-r)*i+r,u=(s-a)*i+a,l=(h-s)*i+s,c=(l-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=l,o[6]=h,o[7]=n}function x(t,e,r,i,a,h,u,p,d,v,g){var _,m,x,w,b,k=.005,T=1/0;l[0]=d,l[1]=v;for(var S=0;S<1;S+=.05)c[0]=y(t,r,a,u,S),c[1]=y(e,i,h,p,S),(w=(0,n.oi)(l,c))=0&&w=0&&c<=1&&(i[u++]=c)}else{var l=s*s-4*a*h;if(p(l))(c=-s/(2*a))>=0&&c<=1&&(i[u++]=c);else if(l>0){var c,f=o(l),y=(-s-f)/(2*a);(c=(-s+f)/(2*a))>=0&&c<=1&&(i[u++]=c),y>=0&&y<=1&&(i[u++]=y)}}return u}function S(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function C(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 A(t,e,r,i,a,h,u,p,d){var y,v=.005,g=1/0;l[0]=u,l[1]=p;for(var _=0;_<1;_+=.05){c[0]=b(t,r,a,_),c[1]=b(e,i,h,_),(k=(0,n.oi)(l,c))=0&&k>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[s]+":0",i[h]+":0",n[1-s]+":auto",i[1-h]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}(e,h),l=function(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],h=[],u=!0,l=0;l<4;l++){var c=t[l].getBoundingClientRect(),f=2*l,p=c.left,d=c.top;s.push(p,d),u=u&&o&&p===o[f]&&d===o[f+1],h.push(t[l].offsetLeft,t[l].offsetTop)}return u&&i?i:(e.srcCoords=s,e[n]=r?a(h,s):a(s,h))}(u,h,o);if(l)return l(t,r,i),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(t){return null==t?"":(t+"").replace(f,(function(t,e){return p[e]}))}},38123:function(t,e){var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},n=new function(){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};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(n.wxa=!0,n.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?n.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(n.node=!0,n.svgSupported=!0):function(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}(navigator.userAgent,n),e.A=n},35452:function(t,e,r){r.d(e,{W5:function(){return y},Yo:function(){return h},ds:function(){return d},e0:function(){return c},f:function(){return p},mK:function(){return l},q2:function(){return f}});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 h(t,e,r,n){return r=r||{},n?u(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):u(t,e,r),r}function u(t,e,r){if(n.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.ot)(t)){var h=t.getBoundingClientRect();return r.zrX=o-h.left,void(r.zrY=s-h.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(null!=(e=l(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var i="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];i&&h(t,i,e,r)}else{h(t,e,e,r);var a=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;return 3*(0!==n?Math.abs(n):Math.abs(r))*(n>0?-1:n<0?1:r>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,r,n){t.addEventListener(e,r,n)}function p(t,e,r,n){t.removeEventListener(e,r,n)}var d=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],h=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]=h,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 h(t,e,r,n){void 0===n&&(n=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],h=e[3],u=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+h*l,t[3]=-o*l+c*h,t[4]=c*(a-n[0])+l*(u-n[1])+n[0],t[5]=c*(u-n[1])-l*(a-n[0])+n[1],t}function u(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],h=r*a-o*n;return h?(h=1/h,t[0]=a*h,t[1]=-o*h,t[2]=-n*h,t[3]=r*h,t[4]=(n*s-a*i)*h,t[5]=(o*i-r*s)*h,t):null}function c(t){var e=[1,0,0,1,0,0];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 h},hs:function(){return u},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 u},zs:function(){return i}});var n=12,i="sans-serif",o=n+"px "+i;var a,s,h=function(t){var e={};if("undefined"==typeof JSON)return e;for(var r=0;r=0)c=l*t.length;else for(var f=0;f=0;)i++;return i-e}function a(t,e,r,n,i){for(n===e&&n++;n>>1])<0?h=o:s=o+1;var u=n-s;switch(u){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:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function s(t,e,r,n,i,o){var a=0,s=0,h=1;if(o(t,e[r+i])>0){for(s=n-i;h0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s),a+=i,h+=i}else{for(s=i+1;hs&&(h=s);var u=a;a=i-h,h=i-u}for(a++;a>>1);o(t,e[r+l])>0?a=l+1:h=l}return h}function h(t,e,r,n,i,o){var a=0,s=0,h=1;if(o(t,e[r+i])<0){for(s=i+1;hs&&(h=s);var u=a;a=i-h,h=i-u}else{for(s=n-i;h=0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s),a+=i,h+=i}for(a++;a>>1);o(t,e[r+l])<0?h=l:a=l+1}return h}function u(t,e){var r,n,o=i,a=0,u=[];function l(l){var c=r[l],f=n[l],p=r[l+1],d=n[l+1];n[l]=f+d,l===a-3&&(r[l+1]=r[l+2],n[l+1]=n[l+2]),a--;var y=h(t[p],t,c,f,0,e);c+=y,0!==(f-=y)&&0!==(d=s(t[c+f-1],t,p,d,d-1,e))&&(f<=d?function(r,n,a,l){var c=0;for(c=0;c=i||v>=i);if(g)break;_<0&&(_=0),_+=2}if((o=_)<1&&(o=1),1===n){for(c=0;c=0;c--)t[v+c]=t[y+c];return void(t[d]=u[p])}var g=o;for(;;){var _=0,m=0,x=!1;do{if(e(u[p],t[f])<0){if(t[d--]=t[f--],_++,m=0,0==--n){x=!0;break}}else if(t[d--]=u[p--],m++,_=0,1==--l){x=!0;break}}while((_|m)=0;c--)t[v+c]=t[y+c];if(0===n){x=!0;break}}if(t[d--]=u[p--],1==--l){x=!0;break}if(0!==(m=l-s(t[f],u,0,l,l-1,e))){for(l-=m,v=(d-=m)+1,y=(p-=m)+1,c=0;c=i||m>=i);if(x)break;g<0&&(g=0),g+=2}(o=g)<1&&(o=1);if(1===l){for(v=(d-=n)+1,y=(f-=n)+1,c=n-1;c>=0;c--)t[v+c]=t[y+c];t[d]=u[p]}else{if(0===l)throw new Error;for(y=d-(l-1),c=0;c1;){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;l(t)}},forceMergeRuns:function(){for(;a>1;){var t=a-2;t>0&&n[t-1]=n;)e|=1&t,t>>=1;return t+e}(s);do{if((h=o(t,r,i,e))c&&(f=c),a(t,r,r+f,r+h,e),h=f}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 ct},B:function(){return T},Bq:function(){return tt},C7:function(){return q},En:function(){return rt},Et:function(){return W},Gv:function(){return X},HE:function(){return j},HP:function(){return O},I6:function(){return D},Je:function(){return V},Kg:function(){return F},Lh:function(){return H},NT:function(){return b},Os:function(){return v},QX:function(){return U},TS:function(){return M},Tj:function(){return P},Tn:function(){return B},Um:function(){return x},WV:function(){return K},X$:function(){return w},Xj:function(){return C},Yp:function(){return G},__:function(){return A},bZ:function(){return $},cF:function(){return z},co:function(){return S},cy:function(){return I},di:function(){return Q},ed:function(){return ut},gd:function(){return Z},h1:function(){return m},iq:function(){return lt},iu:function(){return Y},lI:function(){return pt},lQ:function(){return ft},n_:function(){return N},nt:function(){return st},o8:function(){return _},oI:function(){return R},pb:function(){return L},qh:function(){return k},vA:function(){return J},vV:function(){return g},yB:function(){return ht}});var n=r(59741),i=M(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=M(["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,h=s.forEach,u=s.filter,l=s.slice,c=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",y=2311;function v(){return y++}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>h+f||ct+f&&l>r+f&&l>i+f&&l>a+f||lr||f+ui&&(i+=c);var d=Math.atan2(h,s);return d<0&&(d+=c),d>=n&&d<=i||d+c>=n&&d+c<=i}var p=r(76873),d=o.A.CMD,y=2*Math.PI,v=1e-4;var g=[-1,-1,-1],_=[-1,-1];function m(t,e,r,n,i,o,a,h,u,l){if(l>e&&l>n&&l>o&&l>h||l1&&(c=void 0,c=_[0],_[0]=_[1],_[1]=c),y=s.Yb(e,n,o,h,_[0]),d>1&&(v=s.Yb(e,n,o,h,_[1]))),2===d?x<_[0]?p+=ye&&h>n&&h>o||h=0&&l<=1){for(var c=0,f=s.k3(e,n,o,l),p=0;pr||s<-r)return 0;var h=Math.sqrt(r*r-s*s);g[0]=-h,g[1]=h;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=y-1e-4){n=0,i=y;var l=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?l:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=y,i+=y);for(var f=0,p=0;p<2;p++){var d=g[p];if(d+t>a){var v=Math.atan2(s,d);l=o?1:-1;v<0&&(v=y+v),(v>=n&&v<=i||v+y>=n&&v+y<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(l=-l),f+=l)}}return f}function b(t,e,r,n,i){for(var o,s,l,c,y=t.data,g=t.len(),_=0,b=0,k=0,T=0,S=0,C=0;C1&&(r||(_+=(0,p.A)(b,k,T,S,n,i))),P&&(T=b=y[C],S=k=y[C+1]),A){case d.M:b=T=y[C++],k=S=y[C++];break;case d.L:if(r){if(a.l(b,k,y[C],y[C+1],e,n,i))return!0}else _+=(0,p.A)(b,k,y[C],y[C+1],n,i)||0;b=y[C++],k=y[C++];break;case d.C:if(r){if(h(b,k,y[C++],y[C++],y[C++],y[C++],y[C],y[C+1],e,n,i))return!0}else _+=m(b,k,y[C++],y[C++],y[C++],y[C++],y[C],y[C+1],n,i)||0;b=y[C++],k=y[C++];break;case d.Q:if(r){if(u.l(b,k,y[C++],y[C++],y[C],y[C+1],e,n,i))return!0}else _+=x(b,k,y[C++],y[C++],y[C],y[C+1],n,i)||0;b=y[C++],k=y[C++];break;case d.A:var M=y[C++],L=y[C++],D=y[C++],O=y[C++],R=y[C++],z=y[C++];C+=1;var I=!!(1-y[C++]);o=Math.cos(R)*D+M,s=Math.sin(R)*O+L,P?(T=o,S=s):_+=(0,p.A)(b,k,o,s,n,i);var B=(n-M)*O/D+M;if(r){if(f(M,L,O,R,R+z,I,e,B,i))return!0}else _+=w(M,L,O,R,R+z,I,B,i);b=Math.cos(R+z)*D+M,k=Math.sin(R+z)*O+L;break;case d.R:if(T=b=y[C++],S=k=y[C++],o=T+y[C++],s=S+y[C++],r){if(a.l(T,S,o,S,e,n,i)||a.l(o,S,o,s,e,n,i)||a.l(o,s,T,s,e,n,i)||a.l(T,s,T,S,e,n,i))return!0}else _+=(0,p.A)(o,S,o,s,n,i),_+=(0,p.A)(T,s,T,S,n,i);break;case d.Z:if(r){if(a.l(b,k,T,S,e,n,i))return!0}else _+=(0,p.A)(b,k,T,S,n,i);b=T,k=S}}return r||(l=k,c=S,Math.abs(l-c).5?S._S:e>.2?S.tY:S.el}if(t)return S.el}return S._S},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,k.Kg)(e)){var r=this.__zr;if(!(!r||!r.isDarkMode())===(0,T.fN)(t,0)0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},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.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 h=this.strokeContainThreshold;s=Math.max(s,null==h?4:h)}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)),function(t,e,r,n){return b(t,e,!0,r,n)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,r){return b(t,0,!1,e,r)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=C.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,k.X$)(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&C.Dl)},e.prototype.createStyle=function(t){return(0,k.ed)(P,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=(0,k.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,h=!(r&&i);if(r&&r.shape?o?i?s=r.shape:(s=(0,k.X$)({},n.shape),(0,k.X$)(s,r.shape)):(s=(0,k.X$)({},i?this.shape:n.shape),(0,k.X$)(s,r.shape)):h&&(s=n.shape),s)if(o){this.shape=(0,k.X$)({},this.shape);for(var u={},l=(0,k.HP)(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.ed)(u,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=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);l.prototype.type="tspan",e.A=l},82980:function(t,e,r){r.d(e,{Ay:function(){return X},XE:function(){return R},I5:function(){return D}});var n=r(15727),i=r(12191),o=r(98026),a=r(45558),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function h(t,e,r,n,i){if(!e)return"";var o=(t+"").split("\n");i=u(e,r,n,i);for(var a=0,s=o.length;a=h;l++)u-=h;var c=(0,a.RG)(r,e);return c>u&&(r="",c=0),u=t-c,i.ellipsis=r,i.ellipsisWidth=c,i.contentWidth=u,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 h=0===s?c(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,h),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;o0&&g+n.accumWidth>n.width&&(o=e.split("\n"),d=!0),n.accumWidth=g}else{var m=_(e,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+v,s=m.linesWidths,o=m.lines}}else o=e.split("\n");for(var x=0;x=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!v[t]}function _(t,e,r,n,i){for(var o=[],s=[],h="",u="",l=0,c=0,f=0;fr:i+c+d>r)?c?(h||u)&&(y?(h||(h=u,u="",c=l=0),o.push(h),s.push(c-l),u+=p,h="",c=l+=d):(u&&(h+=u,u="",l=0),o.push(h),s.push(c),h=p,c=d)):y?(o.push(u),s.push(l),u=p,l=d):(o.push(p),s.push(d)):(c+=d,y?(u+=p,l+=d):(u&&(h+=u,u="",l=0),h+=p))}else u&&(h+=u,c+=l),o.push(h),s.push(c),h="",u="",l=0,c=0}return o.length||h||(h=t,u="",l=0),u&&(h+=u),h&&(o.push(h),s.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:s}}var m=r(19845),x=r(90540),w=r(10992),b=r(29308),k=r(71519),T=r(59741),S={fill:"#000"},C={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},k.sW.style)},A=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=S,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;eg&&d){var m=Math.floor(g/f);r=r.slice(0,m)}if(t&&h&&null!=y)for(var x=u(y,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),w=0;w0,z=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),X=n.calculatedLineHeight,E=0;Ep&&y(r,t.substring(p,v),e,f),y(r,n[2],e,f,n[1]),p=s.lastIndex}pl){P>0?(S.tokens=S.tokens.slice(0,P),k(S,A,C),r.lines=r.lines.slice(0,T+1)):r.lines=r.lines.slice(0,T);break t}var z=M.width,I=null==z||"auto"===z;if("string"==typeof z&&"%"===z.charAt(z.length-1))W.percentWidth=z,g.push(W),W.contentWidth=(0,a.RG)(W.text,O);else{if(I){var B=M.backgroundColor,F=B&&B.image;F&&(F=i.SR(F),i.xA(F)&&(W.width=Math.max(W.width,F.width*R/F.height)))}var H=w&&null!=u?u-A:null;null!=H&&H=0&&"right"===(z=C[R]).align;)this._placeToken(z,t,P,w,O,"right",k),M-=z.width,O-=z.width,R--;for(D+=(r-(D-x)-(b-O)-M)/2;L<=R;)z=C[L],this._placeToken(z,t,P,w,D+z.width/2,"center",k),D+=z.width,L++;w+=P}},e.prototype._placeToken=function(t,e,r,n,i,s,h){var u=e.rich[t.styleName]||{};u.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),!t.isLineHolder&&W(u)&&this._renderBackground(u,e,"right"===s?i-t.width:"center"===s?i-t.width/2:i,c-t.height/2,t.width,t.height);var f=!!u.backgroundColor,p=t.textPadding;p&&(i=F(i,s,p),c-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(m.A),y=d.createStyle();d.useStyle(y);var v=this._defaultStyle,g=!1,_=0,x=B("fill"in u?u.fill:"fill"in e?e.fill:(g=!0,v.fill)),w=I("stroke"in u?u.stroke:"stroke"in e?e.stroke:f||h||v.autoStroke&&!g?null:(_=2,v.stroke)),k=u.textShadowBlur>0||e.textShadowBlur>0;y.text=t.text,y.x=i,y.y=c,k&&(y.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,y.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",y.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,y.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),y.textAlign=s,y.textBaseline="middle",y.font=t.font||T.OH,y.opacity=(0,o.WV)(u.opacity,e.opacity,1),O(y,u),w&&(y.lineWidth=(0,o.WV)(u.lineWidth,e.lineWidth,_),y.lineDash=(0,o.bZ)(u.lineDash,e.lineDash),y.lineDashOffset=e.lineDashOffset||0,y.stroke=w),x&&(y.fill=x);var S=t.contentWidth,C=t.contentHeight;d.setBoundingRect(new b.A((0,a.ll)(y.x,S,y.textAlign),(0,a.sZ)(y.y,C,y.textBaseline),S,C))},e.prototype._renderBackground=function(t,e,r,n,i,a){var s,h,u,l=t.backgroundColor,c=t.borderWidth,f=t.borderColor,p=l&&l.image,d=l&&!p,y=t.borderRadius,v=this;if(d||t.lineHeight||c&&f){(s=this._getOrCreateChild(w.A)).useStyle(s.createStyle()),s.style.fill=null;var g=s.shape;g.x=r,g.y=n,g.width=i,g.height=a,g.r=y,s.dirtyShape()}if(d)(u=s.style).fill=l||null,u.fillOpacity=(0,o.bZ)(t.fillOpacity,1);else if(p){(h=this._getOrCreateChild(x.Ay)).onload=function(){v.dirtyStyle()};var _=h.style;_.image=l.image,_.x=r,_.y=n,_.width=i,_.height=a}c&&f&&((u=s.style).lineWidth=c,u.stroke=f,u.strokeOpacity=(0,o.bZ)(t.strokeOpacity,1),u.lineDash=t.borderDash,u.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(u.strokeFirst=!0,u.lineWidth*=2));var m=(s||h).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=(0,o.WV)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return R(t)&&(e=[t.fontStyle,t.fontWeight,D(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,o.Bq)(e)||t.textFont||t.font},e}(k.Ay),P={left:!0,right:1,center:1},M={top:1,bottom:1,middle:1},L=["fontStyle","fontWeight","fontSize","fontFamily"];function D(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?T.gI+"px":t+"px":t}function O(t,e){for(var r=0;r=2){if(i){var a=function(t,e,r,i){var o,a,s,h,u=[],l=[],c=[],f=[];if(i){s=[1/0,1/0],h=[-1/0,-1/0];for(var p=0,d=t.length;pu&&(r*=u/(a=r+n),n*=u/a),i+o>u&&(i*=u/(a=i+o),o*=u/a),n+i>l&&(n*=l/(a=n+i),i*=l/a),r+o>l&&(r*=l/(a=r+o),o*=l/a),t.moveTo(s+r,h),t.lineTo(s+u-n,h),0!==n&&t.arc(s+u-n,h+n,n,-Math.PI/2,0),t.lineTo(s+u,h+l-i),0!==i&&t.arc(s+u-i,h+l-i,i,0,Math.PI/2),t.lineTo(s+o,h+l),0!==o&&t.arc(s+o,h+l-o,o,Math.PI/2,Math.PI),t.lineTo(s,h+r),0!==r&&t.arc(s+r,h+r,r,Math.PI,1.5*Math.PI)}(t,e):t.rect(r,n,i,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);h.prototype.type="rect";var u=h},42933:function(t,e,r){var n=r(15727),i=r(5070),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},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 w}});var n=r(15727),i=r(5070),o=r(98026),a=Math.PI,s=2*a,h=Math.sin,u=Math.cos,l=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,y=Math.min,v=1e-4;function g(t,e,r,n,i,o,a){var s=t-r,h=e-n,u=(a?o:-o)/p(s*s+h*h),l=u*h,c=-u*s,f=t+l,y=e+c,v=r+l,g=n+c,_=(f+v)/2,m=(y+g)/2,x=v-f,w=g-y,b=x*x+w*w,k=i-o,T=f*g-v*y,S=(w<0?-1:1)*p(d(0,k*k*b-T*T)),C=(T*w-x*S)/b,A=(-T*x-w*S)/b,P=(T*w+x*S)/b,M=(-T*x+w*S)/b,L=C-_,D=A-m,O=P-_,R=M-m;return L*L+D*D>O*O+R*R&&(C=P,A=M),{cx:C,cy:A,x0:-l,y0:-c,x1:C*(i/k-1),y1:A*(i/k-1)}}function _(t,e){var r,n=d(e.r,0),i=d(e.r0||0,0),_=n>0;if(_||i>0){if(_||(n=i,i=0),i>n){var m=n;n=i,i=m}var x=e.startAngle,w=e.endAngle;if(!isNaN(x)&&!isNaN(w)){var b=e.cx,k=e.cy,T=!!e.clockwise,S=f(w-x),C=S>s&&S%s;if(C>v&&(S=C),n>v)if(S>s-v)t.moveTo(b+n*u(x),k+n*h(x)),t.arc(b,k,n,x,w,!T),i>v&&(t.moveTo(b+i*u(w),k+i*h(w)),t.arc(b,k,i,w,x,T));else{var A=void 0,P=void 0,M=void 0,L=void 0,D=void 0,O=void 0,R=void 0,z=void 0,I=void 0,B=void 0,F=void 0,H=void 0,W=void 0,X=void 0,E=void 0,Y=void 0,N=n*u(x),q=n*h(x),j=i*u(w),Z=i*h(w),G=S>v;if(G){var V=e.cornerRadius;V&&(A=(r=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}(V))[0],P=r[1],M=r[2],L=r[3]);var $=f(n-i)/2;if(D=y($,M),O=y($,L),R=y($,A),z=y($,P),F=I=d(D,O),H=B=d(R,z),(I>v||B>v)&&(W=n*u(w),X=n*h(w),E=i*u(x),Y=i*h(x),Sv){var nt=y(M,F),it=y(L,F),ot=g(E,Y,N,q,n,nt,T),at=g(W,X,j,Z,n,it,T);t.moveTo(b+ot.cx+ot.x0,k+ot.cy+ot.y0),F0&&t.arc(b+ot.cx,k+ot.cy,nt,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!T),t.arc(b,k,n,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),!T),it>0&&t.arc(b+at.cx,k+at.cy,it,c(at.y1,at.x1),c(at.y0,at.x0),!T))}else t.moveTo(b+N,k+q),t.arc(b,k,n,x,w,!T);else t.moveTo(b+N,k+q);if(i>v&&G)if(H>v){nt=y(A,H),ot=g(j,Z,W,X,i,-(it=y(P,H)),T),at=g(N,q,E,Y,i,-nt,T);t.lineTo(b+ot.cx+ot.x0,k+ot.cy+ot.y0),H0&&t.arc(b+ot.cx,k+ot.cy,it,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!T),t.arc(b,k,i,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),T),nt>0&&t.arc(b+at.cx,k+at.cy,nt,c(at.y1,at.x1),c(at.y0,at.x0),!T))}else t.lineTo(b+j,k+Z),t.arc(b,k,i,w,x,T);else t.lineTo(b+j,k+Z)}else t.moveTo(b,k);t.closePath()}}}var m=function(){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},x=function(t){function e(e){return t.call(this,e)||this}return(0,n.C6)(e,t),e.prototype.getDefaultShape=function(){return new m},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.Ay);x.prototype.type="sector";var w=x},3455:function(t,e,r){r.d(e,{$2:function(){return s},Cv:function(){return u},MD:function(){return k},OH:function(){return x},OS:function(){return m},Pt:function(){return _},WG:function(){return S},XP:function(){return c},Xu:function(){return b},Z1:function(){return T},bn:function(){return w},dX:function(){return y},eQ:function(){return p},nV:function(){return f},sL:function(){return g},sZ:function(){return d},si:function(){return v}});var n=r(98026),i=r(47698),o=r(38123),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-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 h=1e-4;function u(t){return t-h}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 y(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function v(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 _(t){return g(t)||function(t){return t&&!!t.svgElement}(t)}function m(t){return"linear"===t.type}function x(t){return"radial"===t.type}function w(t){return t&&("linear"===t.type||"radial"===t.type)}function b(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 T(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),h=t.skewX||0,u=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+")"),(h||u)&&l.push("skew("+a(h*n.lI)+"deg, "+a(u*n.lI)+"deg)"),l.join(" ")}var S=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 w},P:function(){return A},Yu:function(){return b},ad:function(){return x},fN:function(){return S},hm:function(){return k},qg:function(){return g},yY:function(){return m}});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))<0?0:t>255?255:t}function s(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 u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function l(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 c(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.Ay(20),y=null;function v(t,e){y&&p(y,e),y=d.put(t,y||e.slice())}function g(t,e){if(t){e=e||[];var r=d.get(t);if(r)return p(e,r);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in o)return p(e,o[n]),v(t,e),e;var i,a=n.length;if("#"===n.charAt(0))return 4===a||5===a?(i=parseInt(n.slice(1,4),16))>=0&&i<=4095?(f(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===a?parseInt(n.slice(4),16)/15:1),v(t,e),e):void f(e,0,0,0,1):7===a||9===a?(i=parseInt(n.slice(1,7),16))>=0&&i<=16777215?(f(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===a?parseInt(n.slice(7),16)/255:1),v(t,e),e):void f(e,0,0,0,1):void 0;var s=n.indexOf("("),l=n.indexOf(")");if(-1!==s&&l+1===a){var c=n.substr(0,s),y=n.substr(s+1,l-(s+1)).split(","),g=1;switch(c){case"rgba":if(4!==y.length)return 3===y.length?f(e,+y[0],+y[1],+y[2],1):f(e,0,0,0,1);g=u(y.pop());case"rgb":return y.length>=3?(f(e,h(y[0]),h(y[1]),h(y[2]),3===y.length?g:u(y[3])),v(t,e),e):void f(e,0,0,0,1);case"hsla":return 4!==y.length?void f(e,0,0,0,1):(y[3]=u(y[3]),_(y,e),v(t,e),e);case"hsl":return 3!==y.length?void f(e,0,0,0,1):(_(y,e),v(t,e),e);default:return}}f(e,0,0,0,1)}}function _(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),i=u(t[2]),o=i<=.5?i*(n+1):i+n-i*n,s=2*i-o;return f(e=e||[],a(255*l(s,o,r+1/3)),a(255*l(s,o,r)),a(255*l(s,o,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(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 T(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),o=Math.ceil(n),h=e[i],u=e[o],l=n-i;return r[0]=a(c(h[0],u[0],l)),r[1]=a(c(h[1],u[1],l)),r[2]=a(c(h[2],u[2],l)),r[3]=s(c(h[3],u[3],l)),r}}function w(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),h=g(e[i]),u=g(e[o]),l=n-i,f=T([a(c(h[0],u[0],l)),a(c(h[1],u[1],l)),a(c(h[2],u[2],l)),s(c(h[3],u[3],l))],"rgba");return r?{color:f,leftIndex:i,rightIndex:o,value:n}:f}}function b(t,e,r,n){var i,o=g(t);if(t)return o=function(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),h=s-a,u=(s+a)/2;if(0===h)e=0,r=0;else{r=u<.5?h/(s+a):h/(2-s-a);var l=((s-n)/6+h/2)/h,c=((s-i)/6+h/2)/h,f=((s-o)/6+h/2)/h;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,u];return null!=t[3]&&p.push(t[3]),p}}(o),null!=e&&(o[0]=(i=e,(i=Math.round(i))<0?0:i>360?360:i)),null!=r&&(o[1]=u(r)),null!=n&&(o[2]=u(n)),T(_(o),"rgba")}function k(t,e){var r=g(t);if(r&&null!=e)return r[3]=s(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 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}var C=new n.Ay(100);function A(t){if((0,i.Kg)(t)){var e=C.get(t);return e||(e=m(t,-.1),C.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:m(t.color,-.1)}})),r}return t}},99429:function(t,e,r){r.d(e,{rR:function(){return M},UJ:function(){return C},Qh:function(){return A},uc:function(){return P}});var n=r(15727),i=r(5070),o=r(68717),a=r(83509),s=o.A.CMD,h=[[],[],[]],u=Math.sqrt,l=Math.atan2;function c(t,e){if(e){var r,n,i,o,c,f,p=t.data,d=t.len(),y=s.M,v=s.C,g=s.L,_=s.R,m=s.A,x=s.Q;for(i=0,o=0;i1&&(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,k=w*-s*f/a,T=(t+r)/2+y(c)*b-d(c)*k,S=(e+n)/2+d(c)*b+y(c)*k,C=m([1,0],[(f-b)/a,(g-k)/s]),A=[(f-b)/a,(g-k)/s],P=[(-1*f-b)/a,(-1*g-k)/s],M=m(A,P);if(_(A,P)<=-1&&(M=v),_(A,P)>=1&&(M=0),M<0){var L=Math.round(M/v*1e6)/1e6;M=2*v+L%2*v}l.addData(u,T,S,a,s,C,M,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,b=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.applyTransform=function(t){},e}(i.Ay);function T(t){return null!=t.setData}function S(t,e){var r=function(t){var e=new o.A;if(!t)return e;var r,n=0,i=0,a=n,s=i,h=o.A.CMD,u=t.match(w);if(!u)return e;for(var l=0;l1&&i&&i.length>1){var a=f(i)/f(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((n=i)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},d=r(29308),y="silent";function v(){l.ds(this.event)}var g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,o.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(u.A),_=function(t,e){this.x=t,this.y=e},m=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x=new d.A(0,0,0,0),w=function(t){function e(e,r,n,i,o){var a=t.call(this)||this;return a._hovered=new _(0,0),a.storage=e,a.painter=r,a.painterRoot=i,a._pointerSize=o,n=n||new g,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new h(a),a}return(0,o.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(i.__(m,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,r=t.zrY,n=T(this,e,r),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=n?new _(e,r):this.findHover(e,r),s=a.target,h=this.proxy;h.setCursor&&h.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new _(0,0)},e.prototype.dispatch=function(t,e){var r=this[t];r&&r.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,r){var n=(t=t||{}).target;if(!n||!n.silent){for(var i="on"+e,o=function(t,e,r){return{type:t,event:r,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:v}}(e,t,r);n&&(n[i]&&(o.cancelBubble=!!n[i].call(n,o)),n.trigger(e,o),n=n.__hostTarget?n.__hostTarget:n.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,r){var n=this.storage.getDisplayList(),i=new _(t,e);if(k(n,i,t,e,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,h=new d.A(t-s,e-s,a,a),u=n.length-1;u>=0;u--){var l=n[u];l===r||l.ignore||l.ignoreCoarsePointer||l.parent&&l.parent.ignoreCoarsePointer||(x.copy(l.getBoundingRect()),l.transform&&x.applyTransform(l.transform),x.intersect(h)&&o.push(l))}if(o.length)for(var c=Math.PI/12,f=2*Math.PI,p=0;p=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=b(a,r,n))&&(!e.topTarget&&(e.topTarget=a),s!==y)){e.target=a;break}}}function T(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}i.__(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){w.prototype[t]=function(e){var r,n,i=e.zrX,o=e.zrY,s=T(this,i,o);if("mouseup"===t&&s||(n=(r=this.findHover(i,o)).target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.xg(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}}));var S=w,C=r(83470),A=r(56448),P=!1;function M(){P||(P=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var D=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var r=0;r0&&(u.__clipPaths=[]),isNaN(u.z)&&(M(),u.z=0),isNaN(u.z2)&&(M(),u.z2=0),isNaN(u.zlevel)&&(M(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var l=t.getDecalElement&&t.getDecalElement();l&&this._updateAndAddDisplayable(l,e,r);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,r);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,r)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,r=t.length;e=0&&this._roots.splice(n,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),O=r(45825),R=r(77193);function z(){return(new Date).getTime()}var I,B,F=function(t){function e(e){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,e=e||{},r.stage=e.stage||{},r}return(0,o.C6)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){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=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=z()-this._pausedTime,r=e-this._time,n=this._head;n;){var i=n.next;n.step(e,r)?(n.ondestroy(),this.removeClip(n),n=i):n=i}this._time=e,t||(this.trigger("frame",r),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,O.A)((function e(){t._running&&((0,O.A)(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=z()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var r=new R.A(t,e.loop);return this.addAnimator(r),r},e}(u.A),H=n.A.domSupported,W=(B={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:I=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:i.Tj(I,(function(t){var e=t.replace("mouse","pointer");return B.hasOwnProperty(e)?e:t}))}),X=["mousemove","mouseup"],E=["pointermove","pointerup"],Y=!1;function N(t){var e=t.pointerType;return"pen"===e||"touch"===e}function q(t){t&&(t.zrByTouch=!0)}function j(t,e){for(var r=e,n=!1;r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var Z=function(t,e){this.stopPropagation=i.lQ,this.stopImmediatePropagation=i.lQ,this.preventDefault=i.lQ,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},G={mousedown:function(t){t=(0,l.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,l.e0)(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=(0,l.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){j(this,(t=(0,l.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Y=!0,t=(0,l.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Y||(t=(0,l.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){q(t=(0,l.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),G.mousemove.call(this,t),G.mousedown.call(this,t)},touchmove:function(t){q(t=(0,l.e0)(this.dom,t)),this.handler.processGesture(t,"change"),G.mousemove.call(this,t)},touchend:function(t){q(t=(0,l.e0)(this.dom,t)),this.handler.processGesture(t,"end"),G.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&G.click.call(this,t)},pointerdown:function(t){G.mousedown.call(this,t)},pointermove:function(t){N(t)||G.mousemove.call(this,t)},pointerup:function(t){G.mouseup.call(this,t)},pointerout:function(t){N(t)||G.mouseout.call(this,t)}};i.__(["click","dblclick","contextmenu"],(function(t){G[t]=function(e){e=(0,l.e0)(this.dom,e),this.trigger(t,e)}}));var V={pointermove:function(t){N(t)||V.mousemove.call(this,t)},pointerup:function(t){V.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function $(t,e){var r=e.domHandlers;n.A.pointerEventsSupported?i.__(W.pointer,(function(n){Q(e,n,(function(e){r[n].call(t,e)}))})):(n.A.touchEventsSupported&&i.__(W.touch,(function(n){Q(e,n,(function(i){r[n].call(t,i),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),i.__(W.mouse,(function(n){Q(e,n,(function(i){i=(0,l.mK)(i),e.touching||r[n].call(t,i)}))})))}function K(t,e){function r(r){Q(e,r,(function(n){n=(0,l.mK)(n),j(t,n.target)||(n=function(t,e){return(0,l.e0)(t.dom,new Z(t,e),!0)}(t,n),e.domHandlers[r].call(t,n))}),{capture:!0})}n.A.pointerEventsSupported?i.__(E,r):n.A.touchEventsSupported||i.__(X,r)}function Q(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,(0,l.q2)(t.domTarget,e,r,n)}function U(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&(0,l.f)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var J=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},tt=function(t){function e(e,r){var n=t.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=r,n._localHandlerScope=new J(e,G),H&&(n._globalHandlerScope=new J(document,V)),$(n,n._localHandlerScope),n}return(0,o.C6)(e,t),e.prototype.dispose=function(){U(this._localHandlerScope),H&&U(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,H&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?K(this,e):U(e)}},e}(u.A),et=r(47698),rt=r(73098),nt=r(43870),it={},ot={};var at,st=function(){function t(t,e,r){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var a=new D,s=r.renderer||"canvas";it[s]||(s=i.HP(it)[0]),r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var h=new it[s](e,a,r,t),u=r.ssr||h.ssrOnly;this.storage=a,this.painter=h;var l,c=n.A.node||n.A.worker||u?null:new tt(h.getViewportRoot(),h.root),f=r.useCoarsePointer;(null==f||"auto"===f?n.A.touchEventsSupported:!!f)&&(l=i.bZ(r.pointerSize,44)),this.handler=new S(a,h,c,h.root,l),this.animation=new F({stage:{update:u?null:function(){return o._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,et.fN)(t,1)0&&(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