/*! * build: vue-admin-better * vue-admin-beautiful.com * https://gitee.com/chu1204505056/vue-admin-better * time: 2022-2-26 00:26:40 */ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["vab-chunk-f44a7010"],{"0068":function(t,e,r){"use strict";var n=r("cdbd"),i=r("2a27"),o=r("c451"),a=r("6b42"),s=Object(a["j"])({x:0,y:0},i["b"]),u={style:Object(a["j"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i["a"].style)};function h(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n["b"])(e,t),e.prototype.createStyle=function(t){return Object(a["h"])(s,t)},e.prototype._getSize=function(t){var e=this.style,r=e[t];if(null!=r)return r;var n=h(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"]);c.prototype.type="image",e["a"]=c},"02e8":function(t,e,r){"use strict";function n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}var i=r("6b42"),o=r("1f89"),a=r("0068"),s=r("ad28");function u(t,e,r){r||(r=function(t,e){return t===e}),t=t.slice(),e=e.slice();var n=e.length,i=t.length,o=1,a=n+i,s=[{newPos:-1,components:[]}],u=h(s[0],e,t,0,r);if(s[0].newPos+1>=n&&u+1>=i){for(var d=[],p=0;p=n&&v+1>=i)return l(u.components);s[a]=u}else s[a]=void 0}o++}while(o<=a){var y=v();if(y)return y}}function h(t,e,r,n,i){var o=e.length,a=r.length,s=t.newPos,u=s-n,h=0;while(s+1-O}function A(t){var e=t.fill;return null!=e&&e!==g}function M(t){var e=t.stroke;return null!=e&&e!==g}function C(t,e){e&&D(t,"transform","matrix("+S(e[0])+","+S(e[1])+","+S(e[2])+","+S(e[3])+","+T(e[4])+","+T(e[5])+")")}function D(t,e,r){(!r||"linear"!==r.type&&"radial"!==r.type)&&t.setAttribute(e,r)}function P(t,e,r){t.setAttributeNS("http://www.w3.org/1999/xlink",e,r)}function F(t,e,r){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,r)}function R(t,e,r){var n=null==e.opacity?1:e.opacity;if(r instanceof a["a"])t.style.opacity=n+"";else{if(A(e)){var o=e.fill;o="transparent"===o?g:o,D(t,"fill",o),D(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*n:n)+"")}else D(t,"fill",g);if(M(e)){var s=e.stroke;s="transparent"===s?g:s,D(t,"stroke",s);var u=e.lineWidth,h=e.strokeNoScale?r.getLineScale():1;D(t,"stroke-width",(h?u/h:0)+""),D(t,"paint-order",e.strokeFirst?"stroke":"fill"),D(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*n:n)+"");var c=e.lineDash&&u>0&&Object(y["a"])(e.lineDash,u);if(c){var l=e.lineDashOffset;h&&1!==h&&(c=Object(i["H"])(c,(function(t){return t/h})),l&&(l/=h,l=b(l))),D(t,"stroke-dasharray",c.join(",")),D(t,"stroke-dashoffset",(l||0)+"")}else D(t,"stroke-dasharray","");e.lineCap&&D(t,"stroke-linecap",e.lineCap),e.lineJoin&&D(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&D(t,"stroke-miterlimit",e.miterLimit+"")}else D(t,"stroke",g)}}var L=function(){function t(){}return t.prototype.reset=function(){this._d=[],this._str=""},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,n,i,o,a,s){var u=0===this._d.length,h=a-o,c=!s,l=Math.abs(h),f=j(l-x)||(c?h>=x:-h>=x),d=h>0?h%x:h%x+x,p=!1;p=!!f||!j(l)&&d>=w===!!c;var v=T(t+r*m(o)),y=T(e+n*_(o));f&&(h=c?x-1e-4:1e-4-x,p=!0,u&&this._d.push("M",v,y));var g=T(t+r*m(o+h)),O=T(e+n*_(o+h));if(isNaN(v)||isNaN(y)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(k)||isNaN(g)||isNaN(O))return"";this._d.push("A",T(r),T(n),b(i*k),+p,+c,g,O)},t.prototype.rect=function(t,e,r,n){this._add("M",t,e),this._add("L",t+r,e),this._add("L",t+r,e+n),this._add("L",t,e+n),this._add("L",t,e)},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,r,n,i,o,a,s,u){this._d.push(t);for(var h=1;h=0;--r)if(e[r]===t)return!0;return!1}),n}return null}return r[0]},t.prototype.doUpdate=function(t,e){if(t){var r=this.getDefs(!1);if(t[this._domName]&&r.contains(t[this._domName]))"function"===typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},t.prototype.add=function(t){return null},t.prototype.addDom=function(t){var e=this.getDefs(!0);t.parentNode!==e&&e.appendChild(t)},t.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},t.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return i["k"](this._tagNames,(function(r){for(var n=t.getElementsByTagName(r),i=0;i-1){var u=Y["f"](s)[3],h=Y["h"](s);a.setAttribute("stop-color","#"+h),a.setAttribute("stop-opacity",u+"")}else a.setAttribute("stop-color",r[n].color);e.appendChild(a)}t.__dom=e},e.prototype.markUsed=function(e){if(e.style){var r=e.style.fill;r&&r.__dom&&t.prototype.markDomUsed.call(this,r.__dom),r=e.style.stroke,r&&r.__dom&&t.prototype.markDomUsed.call(this,r.__dom)}},e}(X),Q=V,$=r("3df9"),K=r("c31a");function J(t){return t&&(!!t.image||!!t.svgElement)}var tt=new K["a"],et=function(t){function e(e,r){return t.call(this,e,r,["pattern"],"__pattern_in_use__")||this}return Object(p["b"])(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var r=this;i["k"](["fill","stroke"],(function(n){var i=e.style[n];if(J(i)){var o=r.getDefs(!0),a=tt.get(i);a?o.contains(a)||r.addDom(a):a=r.add(i),r.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}}))}},e.prototype.add=function(t){if(J(t)){var e=this.createElement("pattern");return t.id=null==t.id?this.nextId++:t.id,e.setAttribute("id","zr"+this._zrId+"-pattern-"+t.id),e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("patternUnits","userSpaceOnUse"),this.updateDom(t,e),this.addDom(e),e}},e.prototype.update=function(t){if(J(t)){var e=this;this.doUpdate(t,(function(){var r=tt.get(t);e.updateDom(t,r)}))}},e.prototype.updateDom=function(t,e){var r=t.svgElement;if(r instanceof SVGElement)r.parentNode!==e&&(e.innerHTML="",e.appendChild(r),e.setAttribute("width",t.svgWidth+""),e.setAttribute("height",t.svgHeight+""));else{var n=void 0,i=e.getElementsByTagName("image");if(i.length){if(!t.image)return void e.removeChild(i[0]);n=i[0]}else t.image&&(n=this.createElement("image"));if(n){var o=void 0;if("string"===typeof t.image?o=t.image:t.image instanceof HTMLImageElement?o=t.image.src:t.image instanceof HTMLCanvasElement&&(o=t.image.toDataURL()),o){n.setAttribute("href",o),n.setAttribute("x","0"),n.setAttribute("y","0");var a={dirty:function(){}},s=Object($["a"])(o,n,a,(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));s&&s.width&&s.height&&(e.setAttribute("width",s.width+""),e.setAttribute("height",s.height+"")),e.appendChild(n)}}}var u=t.x||0,h=t.y||0,c=(t.rotation||0)/Math.PI*180,l=t.scaleX||1,f=t.scaleY||1,d="translate("+u+", "+h+") rotate("+c+") scale("+l+", "+f+")";e.setAttribute("patternTransform",d),tt.set(t,e)},e.prototype.markUsed=function(e){e.style&&(J(e.style.fill)&&t.prototype.markDomUsed.call(this,tt.get(e.style.fill)),J(e.style.stroke)&&t.prototype.markDomUsed.call(this,tt.get(e.style.stroke)))},e}(X),rt=et,nt=r("9d21");function it(t){var e=[];if(t)for(var r=0;r0}var at=function(t){function e(e,r){var n=t.call(this,e,r,"clipPath","__clippath_in_use__")||this;return n._refGroups={},n._keyDuplicateCount={},n}return Object(p["b"])(e,t),e.prototype.markAllUnused=function(){for(var e in t.prototype.markAllUnused.call(this),this._refGroups)this.markDomUnused(this._refGroups[e]);this._keyDuplicateCount={}},e.prototype._getClipPathGroup=function(t,e){if(ot(t)){var r=t.__clipPaths,n=this._keyDuplicateCount,i=it(r);return Object(nt["b"])(r,e&&e.__clipPaths)&&(n[i]=n[i]||0,n[i]&&(i+="-"+n[i]),n[i]++),this._refGroups[i]||(this._refGroups[i]=this.createElement("g"))}},e.prototype.update=function(t,e){var r=this._getClipPathGroup(t,e);return r&&(this.markDomUsed(r),this.updateDom(r,t.__clipPaths)),r},e.prototype.updateDom=function(t,e){if(e&&e.length>0){var r=this.getDefs(!0),n=e[0],i=void 0,o=void 0;n._dom?(o=n._dom.getAttribute("id"),i=n._dom,r.contains(i)||r.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",o),r.appendChild(i),n._dom=i);var a=this.getSvgProxy(n);a.brush(n);var s=this.getSvgElement(n);i.innerHTML="",i.appendChild(s),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(i,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var r=this;e.__clipPaths&&i["k"](e.__clipPaths,(function(e){e._dom&&t.prototype.markDomUsed.call(r,e._dom)}))},e.prototype.removeUnused=function(){t.prototype.removeUnused.call(this);var e={};for(var r in this._refGroups){var n=this._refGroups[r];this.isDomUnused(n)?n.parentNode&&n.parentNode.removeChild(n):e[r]=n}this._refGroups=e},e}(X),st=at,ut=function(t){function e(e,r){var n=t.call(this,e,r,["filter"],"__filter_in_use__","_shadowDom")||this;return n._shadowDomMap={},n._shadowDomPool=[],n}return Object(p["b"])(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){t=this.createElement("filter"),t.setAttribute("id","zr"+this._zrId+"-shadow-"+this.nextId++);var e=this.createElement("feDropShadow");t.appendChild(e),this.addDom(t)}return t},e.prototype.update=function(t,e){var r=e.style;if(ct(r)){var n=lt(e),i=e._shadowDom=this._shadowDomMap[n];i||(i=this._getFromPool(),this._shadowDomMap[n]=i),this.updateDom(t,e,i)}else this.remove(t,e)},e.prototype.remove=function(t,e){null!=e._shadowDom&&(e._shadowDom=null,t.style.filter="")},e.prototype.updateDom=function(t,e,r){var n=r.children[0],i=e.style,o=e.getGlobalScale(),a=o[0],s=o[1];if(a&&s){var u=i.shadowOffsetX||0,h=i.shadowOffsetY||0,c=i.shadowBlur,l=i.shadowColor;n.setAttribute("dx",u/a+""),n.setAttribute("dy",h/s+""),n.setAttribute("flood-color",l);var f=c/2/a,d=c/2/s,p=f+" "+d;n.setAttribute("stdDeviation",p),r.setAttribute("x","-100%"),r.setAttribute("y","-100%"),r.setAttribute("width","300%"),r.setAttribute("height","300%"),e._shadowDom=r;var v=r.getAttribute("id");t.style.filter="url(#"+v+")"}},e.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this._shadowDomPool;for(var r in this._shadowDomMap){var n=this._shadowDomMap[r];e.push(n)}this._shadowDomMap={}}},e}(X),ht=ut;function ct(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function lt(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 ft(t){return parseInt(t,10)}function dt(t){return t instanceof o["b"]?E:t instanceof a["a"]?B:t instanceof s["a"]?N:E}function pt(t,e){return e&&t&&e.parentNode!==t}function vt(t,e,r){if(pt(t,e)&&r){var n=r.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function yt(t,e){if(pt(t,e)){var r=t.firstChild;r?t.insertBefore(e,r):t.appendChild(e)}}function gt(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function bt(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function _t(t){return t.__svgEl}var mt=function(){function t(t,e,r,o){this.type="svg",this.refreshHover=wt("refreshHover"),this.pathToImage=wt("pathToImage"),this.configLayer=wt("configLayer"),this.root=t,this.storage=e,this._opts=r=i["m"]({},r||{});var a=n("svg");a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=n("g");a.appendChild(s);var u=n("g");a.appendChild(u),this._gradientManager=new Q(o,u),this._patternManager=new rt(o,u),this._clipPathManager=new st(o,u),this._shadowManager=new ht(o,u);var h=document.createElement("div");h.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=u,this._backgroundRoot=s,this._viewport=h,t.appendChild(h),h.appendChild(a),this.resize(r.width,r.height),this._visibleList=[]}return t.prototype.getType=function(){return"svg"},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.getSvgRoot=function(){return this._svgRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},t.prototype.setBackgroundColor=function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=n("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},t.prototype.createSVGElement=function(t){return n(t)},t.prototype.paintOne=function(t){var e=dt(t);return e&&e.brush(t),_t(t)},t.prototype._paintList=function(t){var e=this._gradientManager,r=this._patternManager,n=this._clipPathManager,i=this._shadowManager;e.markAllUnused(),r.markAllUnused(),n.markAllUnused(),i.markAllUnused();for(var o=this._svgRoot,a=this._visibleList,s=t.length,u=[],h=0;h=0;--r)if(e[r]===t)return!0;return!1}),i}return null}return r[0]},t.prototype.resize=function(t,e){var r=this._viewport;r.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),r.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=r.style;i.width=t+"px",i.height=e+"px";var o=this._svgDom;o.setAttribute("width",t+""),o.setAttribute("height",e+"")}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,r=["width","height"][t],n=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[r]&&"auto"!==e[r])return parseFloat(e[r]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[n]||ft(s[r])||ft(a.style[r]))-(ft(s[i])||0)-(ft(s[o])||0)|0},t.prototype.dispose=function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},t.prototype.clear=function(){var t=this._viewport;t&&t.parentNode&&t.parentNode.removeChild(t)},t.prototype.toDataURL=function(){this.refresh();var t=this._svgDom,e=t.outerHTML||(t.parentNode&&t.parentNode).innerHTML,r=encodeURIComponent(e.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+r},t}();function wt(t){return function(){i["G"]('In SVG mode painter not support method "'+t+'"')}}e["a"]=mt},"0401":function(t,e,r){"use strict";var n=r("cdbd"),i=r("6b42"),o=r("fd45"),a=r("c451"),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return Object(n["b"])(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,r=0;r=0&&(r.splice(n,0,t),this._doAdd(t))}return 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=u;c++)h-=u;var l=Object(o["g"])(r,e);return l>h&&(r="",l=0),h=t-l,a.ellipsis=r,a.ellipsisWidth=l,a.contentWidth=h,a.containerWidth=t,a}function h(t,e){var r=e.containerWidth,n=e.font,i=e.contentWidth;if(!r)return"";var a=Object(o["g"])(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?c(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,u),a=Object(o["g"])(t,n)}return""===t&&(t=e.placeholder),t}function c(t,e,r,n){for(var i=0,o=0,a=t.length;oy&&d){var g=Math.floor(y/f);r=r.slice(0,g)}var b=y,_=p;if(a&&(b+=a[0]+a[2],null!=_&&(_+=a[1]+a[3])),t&&c&&null!=_)for(var w=u(p,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;xd&&y(r,t.substring(d,v),e,f),y(r,u[2],e,f,u[1]),d=a.lastIndex}dc){A>0?(S.tokens=S.tokens.slice(0,A),k(S,j,T),r.lines=r.lines.slice(0,O+1)):r.lines=r.lines.slice(0,O);break t}var L=C.width,E=null==L||"auto"===L;if("string"===typeof L&&"%"===L.charAt(L.length-1))M.percentWidth=L,g.push(M),M.contentWidth=Object(o["g"])(M.text,F);else{if(E){var B=C.backgroundColor,z=B&&B.image;z&&(z=n["b"](z),n["c"](z)&&(M.width=Math.max(M.width,z.width*R/z.height)))}var I=w&&null!=h?h-j:null;null!=I&&I0&&g+n.accumWidth>n.width&&(a=e.split("\n"),p=!0),n.accumWidth=g}else{var b=m(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 _=0;_=33&&e<=255}var b=Object(i["N"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function _(t){return!g(t)||!!b[t]}function m(t,e,r,n,i){for(var a=[],s=[],u="",h="",c=0,l=0,f=0;fr:i+l+p>r)?l?(u||h)&&(v?(u||(u=h,h="",c=0,l=c),a.push(u),s.push(l-c),h+=d,c+=p,u="",l=c):(h&&(u+=h,l+=c,h="",c=0),a.push(u),s.push(l),u=d,l=p)):v?(a.push(h),s.push(c),h=d,c=p):(a.push(d),s.push(p)):(l+=p,v?(h+=d,c+=p):(h&&(u+=h,h="",c=0),u+=d))}else h&&(u+=h,l+=c),a.push(u),s.push(l),u="",h="",c=0,l=0}return a.length||u||(u=t,h="",c=0),h&&(u+=h),u&&(a.push(u),s.push(l)),1===a.length&&(l+=i),{accumWidth:l,lines:a,linesWidths:s}}function w(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}},1608:function(t,e,r){"use strict";var n=r("cdbd"),i=r("2a27"),o=r("c451"),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["b"])(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;re+f&&l>n+f&&l>o+f&&l>s+f||lt+f&&c>r+f&&c>i+f&&c>a+f||cr||c+hi&&(i+=f);var p=Math.atan2(u,s);return p<0&&(p+=f),p>=n&&p<=i||p+f>=n&&p+f<=i}var p=r("60e6"),v=a["a"].CMD,y=2*Math.PI,g=1e-4;function b(t,e){return Math.abs(t-e)e&&c>n&&c>o&&c>s||c1&&w(),p=u["a"](e,n,o,s,m[0]),d>1&&(v=u["a"](e,n,o,s,m[1]))),2===d?ge&&s>n&&s>o||s=0&&c<=1){for(var l=0,f=u["h"](e,n,o,c),d=0;dr||s<-r)return 0;var u=Math.sqrt(r*r-s*s);_[0]=-u,_[1]=u;var h=Math.abs(n-i);if(h<1e-4)return 0;if(h>=y-1e-4){n=0,i=y;var c=o?1:-1;return a>=_[0]+t&&a<=_[1]+t?c:0}if(n>i){var l=n;n=i,i=l}n<0&&(n+=y,i+=y);for(var f=0,d=0;d<2;d++){var p=_[d];if(p+t>a){var v=Math.atan2(s,p);c=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&&(c=-c),f+=c)}}return f}function S(t,e,r,n,i){for(var o,a,u=t.data,l=t.len(),f=0,y=0,g=0,_=0,m=0,w=0;w1&&(r||(f+=Object(p["a"])(y,g,_,m,n,i))),T&&(y=u[w],g=u[w+1],_=y,m=g),S){case v.M:_=u[w++],m=u[w++],y=_,g=m;break;case v.L:if(r){if(s["a"](y,g,u[w],u[w+1],e,n,i))return!0}else f+=Object(p["a"])(y,g,u[w],u[w+1],n,i)||0;y=u[w++],g=u[w++];break;case v.C:if(r){if(h(y,g,u[w++],u[w++],u[w++],u[w++],u[w],u[w+1],e,n,i))return!0}else f+=x(y,g,u[w++],u[w++],u[w++],u[w++],u[w],u[w+1],n,i)||0;y=u[w++],g=u[w++];break;case v.Q:if(r){if(c["a"](y,g,u[w++],u[w++],u[w],u[w+1],e,n,i))return!0}else f+=k(y,g,u[w++],u[w++],u[w],u[w+1],n,i)||0;y=u[w++],g=u[w++];break;case v.A:var j=u[w++],A=u[w++],M=u[w++],C=u[w++],D=u[w++],P=u[w++];w+=1;var F=!!(1-u[w++]);o=Math.cos(D)*M+j,a=Math.sin(D)*C+A,T?(_=o,m=a):f+=Object(p["a"])(y,g,o,a,n,i);var R=(n-j)*C/M+j;if(r){if(d(j,A,C,D,D+P,F,e,R,i))return!0}else f+=O(j,A,C,D,D+P,F,R,i);y=Math.cos(D+P)*M+j,g=Math.sin(D+P)*C+A;break;case v.R:_=y=u[w++],m=g=u[w++];var L=u[w++],E=u[w++];if(o=_+L,a=m+E,r){if(s["a"](_,m,o,m,e,n,i)||s["a"](o,m,o,a,e,n,i)||s["a"](o,a,_,a,e,n,i)||s["a"](_,a,_,m,e,n,i))return!0}else f+=Object(p["a"])(o,m,o,a,n,i),f+=Object(p["a"])(_,a,_,m,n,i);break;case v.Z:if(r){if(s["a"](y,g,_,m,e,n,i))return!0}else f+=Object(p["a"])(y,g,_,m,n,i);y=_,g=m;break}}return r||b(g,m)||(f+=Object(p["a"])(y,g,_,m,n,i)||0),0!==f}function T(t,e,r){return S(t,0,!1,e,r)}function j(t,e,r,n){return S(t,e,!0,r,n)}var A=r("6b42"),M=r("463e"),C=r("909c"),D=Object(A["j"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i["b"]),P={style:Object(A["j"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},F=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],R=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(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 a=i.style;for(var s in n)a[s]!==n[s]&&(a[s]=n[s]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var u=0;u.5?C["a"]:e>.2?C["c"]:C["d"]}if(t)return C["d"]}return C["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(A["C"])(e)){var r=this.__zr,n=!(!r||!r.isDarkMode()),i=Object(M["c"])(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,r=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&e.SHAPE_CHANGED_BIT)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),t=o.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){a.copy(t);var s=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var h=this.strokeContainThreshold;u=Math.max(u,null==h?4:h)}s>1e-10&&(a.width+=u/s,a.height+=u/s,a.x-=u/s/2,a.y-=u/s/2)}return a}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)),j(o,a/s,t,e)))return!0}if(this.hasFill())return T(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=e.SHAPE_CHANGED_BIT,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(A["m"])(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&e.SHAPE_CHANGED_BIT)},e.prototype.createStyle=function(t){return Object(A["h"])(D,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(A["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(A["m"])({},n.shape),Object(A["m"])(s,r.shape)):(s=Object(A["m"])({},i?this.shape:n.shape),Object(A["m"])(s,r.shape)):u&&(s=n.shape),s)if(o){this.shape=Object(A["m"])({},this.shape);for(var h={},c=Object(A["F"])(s),l=0;l=0;if(i){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&u(t,o,e,r)}else{u(t,e,e,r);var s=f(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var h=e.button;return null==e.which&&void 0!==h&&a.test(e.type)&&(e.which=1&h?1:2&h?3:4&h?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;var i=0!==n?Math.abs(n):Math.abs(r),o=n>0?-1:n<0?1:r>0?-1:1;return 3*i*o}function d(t,e,r,n){o?t.addEventListener(e,r,n):t.attachEvent("on"+e,r)}function p(t,e,r,n){o?t.removeEventListener(e,r,n):t.detachEvent("on"+e,r)}var v=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}},"3bd5":function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e,r){r&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i["b"]);a.prototype.type="circle",e["a"]=a},"3d23":function(t,e,r){"use strict";var n=r("cdbd"),i=r("f452"),o=function(t){function e(e,r,n,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return Object(n["b"])(e,t),e}(i["a"]);e["a"]=o},"3df9":function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return u}));var n=r("70e1"),i=new n["a"](50);function o(t){if("string"===typeof t){var e=i.get(t);return e&&e.image}return t}function a(t,e,r,n,o){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!r)return e;var a=i.get(t),h={hostEl:r,cb:n,cbPayload:o};return a?(e=a.image,!u(e)&&a.pending.push(h)):(e=new Image,e.onload=e.onerror=s,i.put(t,e.__cachedImgObj={image:e,pending:[h]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;ee+c&&h>i+c&&h>a+c||ht+c&&u>r+c&&u>o+c||u255?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 h(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function 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 d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n["a"](20),v=null;function y(t,e){v&&d(v,e),v=p.put(t,v||e.slice())}function g(t,e){if(t){e=e||[];var r=p.get(t);if(r)return d(e,r);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in i)return d(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 c=n.substr(0,a),l=n.substr(a+1,s-(a+1)).split(","),v=1;switch(c){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=h(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]=h(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=h(t[1]),i=h(t[2]),a=i<=.5?i*(n+1):i+n-i*n,s=2*i-a;return e=e||[],f(e,o(255*c(s,a,r+1/3)),o(255*c(s,a,r)),o(255*c(s,a,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}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),u=s-a,h=(s+a)/2;if(0===u)e=0,r=0;else{r=h<.5?u/(s+a):u/(2-s-a);var c=((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+c-f:o===s&&(e=2/3+l-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,r,h];return null!=t[3]&&d.push(t[3]),d}}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 S(r,4===r.length?"rgba":"rgb")}}function w(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}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],h=e[a],c=n-i;return r[0]=o(l(u[0],h[0],c)),r[1]=o(l(u[1],h[1],c)),r[2]=o(l(u[2],h[2],c)),r[3]=s(l(u[3],h[3],c)),r}}function k(t,e,r,n){var i=g(t);if(t)return i=_(i),null!=e&&(i[0]=a(e)),null!=r&&(i[1]=h(r)),null!=n&&(i[2]=h(n)),S(b(i),"rgba")}function O(t,e){var r=g(t);if(r&&null!=e)return r[3]=s(e),S(r,"rgba")}function S(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 T(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}},"4db6":function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(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["b"]);a.prototype.type="ring",e["a"]=a},"4de9":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;ao[1]){if(h=!1,s)return h;var f=Math.abs(o[0]-i[1]),d=Math.abs(i[0]-o[1]);Math.min(f,d)>a.len()&&(f0&&(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.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},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.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},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;ee&&o>n||oi?s:0}r.d(e,"a",(function(){return n}))},"61cd":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 _})),r.d(e,"e",(function(){return m})),r.d(e,"d",(function(){return w})),r.d(e,"h",(function(){return x})),r.d(e,"i",(function(){return k})),r.d(e,"m",(function(){return O})),r.d(e,"j",(function(){return S})),r.d(e,"n",(function(){return T})),r.d(e,"l",(function(){return j})),r.d(e,"k",(function(){return A}));var n=r("4f73"),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),h=1/3,c=Object(n["e"])(),l=Object(n["e"])(),f=Object(n["e"])();function d(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 c=n+3*(e-r)-t,l=3*(r-2*e+t),f=3*(e-t),p=t-a,v=l*l-3*c*f,y=l*f-9*c*p,g=f*f-3*l*p,b=0;if(d(v)&&d(y))if(d(l))s[0]=0;else{var _=-f/l;_>=0&&_<=1&&(s[b++]=_)}else{var m=y*y-4*v*g;if(d(m)){var w=y/v,x=(_=-l/c+w,-w/2);_>=0&&_<=1&&(s[b++]=_),x>=0&&x<=1&&(s[b++]=x)}else if(m>0){var k=o(m),O=v*l+1.5*c*(-y+k),S=v*l+1.5*c*(-y-k);O=O<0?-i(-O,h):i(O,h),S=S<0?-i(-S,h):i(S,h);_=(-l-(O+S))/(3*c);_>=0&&_<=1&&(s[b++]=_)}else{var T=(2*v*l-3*c*y)/(2*o(v*v*v)),j=Math.acos(T)/3,A=o(v),M=Math.cos(j),C=(_=(-l-2*A*M)/(3*c),x=(-l+A*(M+u*Math.sin(j)))/(3*c),(-l+A*(M-u*Math.sin(j)))/(3*c));_>=0&&_<=1&&(s[b++]=_),x>=0&&x<=1&&(s[b++]=x),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,h=0;if(d(s)){if(p(a)){var c=-u/a;c>=0&&c<=1&&(i[h++]=c)}}else{var l=a*a-4*s*u;if(d(l))i[0]=-a/(2*s);else if(l>0){var f=o(l),v=(c=(-a+f)/(2*s),(-a-f)/(2*s));c>=0&&c<=1&&(i[h++]=c),v>=0&&v<=1&&(i[h++]=v)}}return h}function _(t,e,r,n,i,o){var a=(e-t)*i+t,s=(r-e)*i+e,u=(n-r)*i+r,h=(s-a)*i+a,c=(u-s)*i+s,l=(c-h)*i+h;o[0]=t,o[1]=a,o[2]=h,o[3]=l,o[4]=l,o[5]=c,o[6]=u,o[7]=n}function m(t,e,r,i,a,u,h,d,p,y,g){var b,_,m,w,x,k=.005,O=1/0;c[0]=p,c[1]=y;for(var S=0;S<1;S+=.05)l[0]=v(t,r,a,h,S),l[1]=v(e,i,u,d,S),w=Object(n["g"])(c,l),w=0&&w=0&&c<=1&&(i[h++]=c)}}else{var l=s*s-4*a*u;if(d(l)){c=-s/(2*a);c>=0&&c<=1&&(i[h++]=c)}else if(l>0){var f=o(l),v=(c=(-s+f)/(2*a),(-s-f)/(2*a));c>=0&&c<=1&&(i[h++]=c),v>=0&&v<=1&&(i[h++]=v)}}return h}function S(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function T(t,e,r,n,i){var o=(e-t)*n+t,a=(r-e)*n+e,s=(a-o)*n+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r}function j(t,e,r,i,a,u,h,d,p){var v,y=.005,g=1/0;c[0]=h,c[1]=d;for(var b=0;b<1;b+=.05){l[0]=x(t,r,a,b),l[1]=x(e,i,u,b);var _=Object(n["g"])(c,l);_=0&&_=n)e|=1&t,t>>=1;return t+e}function a(t,e,r,n){var i=e+1;if(i===r)return 1;if(n(t[i++],t[e])<0){while(i=0)i++;return i-e}function s(t,e,r){r--;while(e>>1,i(a,t[o])<0?u=o:s=o+1;var h=n-s;switch(h){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(h>0)t[s+h]=t[s+h-1],h--}t[s]=a}}function h(t,e,r,n,i,o){var a=0,s=0,u=1;if(o(t,e[r+i])>0){s=n-i;while(u0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}else{s=i+1;while(us&&(u=s);var h=a;a=i-u,u=i-h}a++;while(a>>1);o(t,e[r+c])>0?a=c+1:u=c}return u}function c(t,e,r,n,i,o){var a=0,s=0,u=1;if(o(t,e[r+i])<0){s=i+1;while(us&&(u=s);var h=a;a=i-u,u=i-h}else{s=n-i;while(u=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}a++;while(a>>1);o(t,e[r+c])<0?u=c:a=c+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;p(t)}}function d(){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){m=!0;break}}if(t[p--]=u[d--],1===--s){m=!0;break}if(_=s-h(t[f],u,0,s,s-1,e),0!==_){for(p-=_,d-=_,s-=_,y=p+1,v=d+1,l=0;l<_;l++)t[y+l]=u[v+l];if(s<=1){m=!0;break}}if(t[p--]=t[f--],0===--n){m=!0;break}g--}while(b>=i||_>=i);if(m)break;g<0&&(g=0),g+=2}if(o=g,o<1&&(o=1),1===s){for(p-=n,f-=n,y=p+1,v=f+1,l=n-1;l>=0;l--)t[y+l]=t[v+l];t[p]=u[d]}else{if(0===s)throw new Error;for(v=p-(s-1),l=0;l=0;l--)t[y+l]=t[v+l];t[p]=u[d]}else for(v=p-(s-1),l=0;lf&&(d=f),u(t,r,r+d,r+h,e),h=d}c.pushRun(r,h),c.mergeRuns(),s-=h,r+=h}while(0!==s);c.forceMergeRuns()}}},"684b":function(t,e,r){"use strict";function n(t,e,r,n,i,o,a){if(0===i)return!1;var s=i,u=0,h=t;if(a>e+s&&a>n+s||at+s&&o>r+s||or-2?r-1:c+1],v=t[c>r-3?r-1:c+2]);var y=l*l,g=l*y;o.push([i(f[0],d[0],p[0],v[0],l,y,g),i(f[1],d[1],p[1],v[1],l,y,g)])}return o}function a(t,e,r,i){var o,a,s,u,h=[],c=[],l=[],f=[];if(i){s=[1/0,1/0],u=[-1/0,-1/0];for(var d=0,p=t.length;d=2){if(n&&"spline"!==n){var s=a(i,n,r,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var u=i.length,h=0;h<(r?u:u-1);h++){var c=s[2*h],l=s[2*h+1],f=i[(h+1)%u];t.bezierCurveTo(c[0],c[1],l[0],l[1],f[0],f[1])}}else{"spline"===n&&(i=o(i,r)),t.moveTo(i[0][0],i[0][1]);h=1;for(var d=i.length;h=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},7757:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=.5522848,n=e.cx,i=e.cy,o=e.rx,a=e.ry,s=o*r,u=a*r;t.moveTo(n-o,i),t.bezierCurveTo(n-o,i-u,n-s,i-a,n,i-a),t.bezierCurveTo(n+s,i-a,n+o,i-u,n+o,i),t.bezierCurveTo(n+o,i+u,n+s,i+a,n,i+a),t.bezierCurveTo(n-s,i+a,n-o,i+u,n-o,i),t.closePath()},e}(i["b"]);a.prototype.type="ellipse",e["a"]=a},"83b8":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return a}));var n=Math.round;function i(t,e,r){if(e){var i=e.x1,o=e.x2,s=e.y1,u=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=u;var h=r&&r.lineWidth;return h?(n(2*i)===n(2*o)&&(t.x1=t.x2=a(i,h,!0)),n(2*s)===n(2*u)&&(t.y1=t.y2=a(s,h,!0)),t):t}}function o(t,e,r){if(e){var n=e.x,i=e.y,o=e.width,s=e.height;t.x=n,t.y=i,t.width=o,t.height=s;var u=r&&r.lineWidth;return u?(t.x=a(n,u,!0),t.y=a(i,u,!0),t.width=Math.max(a(n+o,u,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+s,u,!1)-t.y,0===s?0:1),t):t}}function a(t,e,r){if(!e)return t;var i=n(2*t);return(i+n(e))%2===0?i/2:(i+(r?1:-1))/2}},"83d1":function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"g",(function(){return f})),r.d(e,"e",(function(){return p})),r.d(e,"b",(function(){return v})),r.d(e,"c",(function(){return y})),r.d(e,"f",(function(){return g})),r.d(e,"h",(function(){return b})),r.d(e,"d",(function(){return _}));var n,i,o=r("c451"),a=r("6b42"),s=r("70e1"),u={},h="12px sans-serif";function c(t,e){return n||(n=Object(a["f"])().getContext("2d")),i!==e&&(i=n.font=e||h),n.measureText(t)}var l={measureText:c};function f(t,e){e=e||h;var r=u[e];r||(r=u[e]=new s["a"](500));var n=r.get(t);return null==n&&(n=l.measureText(t,e).width,r.put(t,n)),n}function d(t,e,r,n){var i=f(t,e),a=g(e),s=v(0,i,r),u=y(0,a,n),h=new o["a"](s,u,i,a);return h}function p(t,e,r,n){var i=((t||"")+"").split("\n"),a=i.length;if(1===a)return d(i[0],e,r,n);for(var s=new o["a"](0,0,0,0),u=0;u=0?parseFloat(t)/100*e:parseFloat(t):t}function _(t,e,r){var n=e.position||"inside",i=null!=e.distance?e.distance:5,o=r.height,a=r.width,s=o/2,u=r.x,h=r.y,c="left",l="top";if(n instanceof Array)u+=b(n[0],r.width),h+=b(n[1],r.height),c=null,l=null;else switch(n){case"left":u-=i,h+=s,c="right",l="middle";break;case"right":u+=i+a,h+=s,l="middle";break;case"top":u+=a/2,h-=i,c="center",l="bottom";break;case"bottom":u+=a/2,h+=o+i,c="center";break;case"inside":u+=a/2,h+=s,c="center",l="middle";break;case"insideLeft":u+=i,h+=s,l="middle";break;case"insideRight":u+=a-i,h+=s,c="right",l="middle";break;case"insideTop":u+=a/2,h+=i,c="center";break;case"insideBottom":u+=a/2,h+=o-i,c="center",l="bottom";break;case"insideTopLeft":u+=i,h+=i;break;case"insideTopRight":u+=a-i,h+=i,c="right";break;case"insideBottomLeft":u+=i,h+=o-i,l="bottom";break;case"insideBottomRight":u+=a-i,h+=o-i,c="right",l="bottom";break}return t=t||{},t.x=u,t.y=h,t.align=c,t.verticalAlign=l,t}},"8f0b":function(t,e,r){"use strict";var n=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i=function(){function t(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1}return t}(),o=new i;function a(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.canvasSupported=!!document.createElement("canvas").getContext,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}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.canvasSupported=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?(o.worker=!0,o.canvasSupported=!0):"undefined"===typeof navigator?(o.node=!0,o.canvasSupported=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},"909c":function(t,e,r){"use strict";r.d(e,"e",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return u}));var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var i=n,o=.4,a="#333",s="#ccc",u="#eee"},"92f1":function(t,e,r){"use strict";var n=r("5697"),i=r("4f73"),o=n["d"],a=5e-5;function s(t){return t>a||t<-a}var u=[],h=[],c=n["c"](),l=Math.abs,f=function(){function t(){}return 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.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)},t.prototype.updateTransform=function(){var t=this.parent,e=t&&t.transform,r=this.needLocalTransform(),i=this.transform;r||e?(i=i||n["c"](),r?this.getLocalTransform(i):o(i),e&&(r?n["f"](i,t.transform,i):n["b"](i,t.transform)),this.transform=i,this._resolveGlobalScaleRatio(i)):i&&o(i)},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.getLocalTransform=function(e){return t.getLocalTransform(this,e)},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];s(e-1)&&(e=Math.sqrt(e)),s(r-1)&&(r=Math.sqrt(r)),t[0]<0&&(e=-e),t[3]<0&&(r=-r),this.rotation=Math.atan2(-t[1]/r,t[0]/e),e<0&&r<0&&(this.rotation+=Math.PI,e=-e,r=-r),this.x=t[4],this.y=t[5],this.scaleX=e,this.scaleY=r}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n["f"](h,t.invTransform,e),e=h);var r=this.originX,i=this.originY;(r||i)&&(c[4]=r,c[5]=i,n["f"](h,e,c),h[4]-=r,h[5]-=i,e=h),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&i["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.getLocalTransform=function(t,e){e=e||[],o(e);var r=t.originX||0,i=t.originY||0,a=t.scaleX,s=t.scaleY,u=t.rotation||0,h=t.x,c=t.y;return e[4]-=r,e[5]-=i,e[0]*=a,e[1]*=s,e[2]*=a,e[3]*=s,e[4]*=a,e[5]*=s,u&&n["g"](e,e,u),e[4]+=r,e[5]+=i,e[4]+=h,e[5]+=c,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.rotation=0,e.globalScaleRatio=1}(),t}();e["a"]=f},"9c0a":function(t,e,r){"use strict";r.d(e,"d",(function(){return d})),r.d(e,"c",(function(){return p})),r.d(e,"b",(function(){return g})),r.d(e,"e",(function(){return b})),r.d(e,"a",(function(){return _}));var n=r("4f73"),i=r("61cd"),o=Math.min,a=Math.max,s=Math.sin,u=Math.cos,h=2*Math.PI,c=n["e"](),l=n["e"](),f=n["e"]();function d(t,e,r){if(0!==t.length){for(var n=t[0],i=n[0],s=n[0],u=n[1],h=n[1],c=1;c1e-4)return p[0]=t-r,p[1]=e-i,v[0]=t+r,void(v[1]=e+i);if(c[0]=u(o)*r+t,c[1]=s(o)*i+e,l[0]=u(a)*r+t,l[1]=s(a)*i+e,y(p,c,l),g(v,c,l),o%=h,o<0&&(o+=h),a%=h,a<0&&(a+=h),o>a&&!d?a+=h:oo&&(f[0]=u(m)*r+t,f[1]=s(m)*i+e,y(p,f,p),g(v,f,v))}},a8d5: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}},aaf9:function(t,e,r){"use strict";r.d(e,"a",(function(){return j})),r.d(e,"b",(function(){return A})),r.d(e,"c",(function(){return M}));var n=r("cdbd"),i=r("1f89"),o=r("e4c4"),a=r("4f73"),s=o["a"].CMD,u=[[],[],[]],h=Math.sqrt,c=Math.atan2;function l(t,e){var r,n,i,o,l,f,d=t.data,p=t.len(),v=s.M,y=s.C,g=s.L,b=s.R,_=s.A,m=s.Q;for(i=0,o=0;i1&&(a*=d(m),s*=d(m));var w=(i===o?-1:1)*d((a*a*(s*s)-a*a*(g*g)-s*s*(f*f))/(a*a*(g*g)+s*s*(f*f)))||0,x=w*a*g/s,k=w*-s*f/a,O=(t+r)/2+v(l)*x-p(l)*k,S=(e+n)/2+p(l)*x+v(l)*k,T=_([1,0],[(f-x)/a,(g-k)/s]),j=[(f-x)/a,(g-k)/s],A=[(-1*f-x)/a,(-1*g-k)/s],M=_(j,A);if(b(j,A)<=-1&&(M=y),b(j,A)>=1&&(M=0),M<0){var C=Math.round(M/y*1e6)/1e6;M=2*y+C%2*y}c.addData(h,O,S,a,s,T,M,l,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,x=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function k(t){var e=new o["a"];if(!t)return e;var r,n=0,i=0,a=n,s=i,u=o["a"].CMD,h=t.match(w);if(!h)return e;for(var c=0;c0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["h"])(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=Object(o["e"])(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},b70e4:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=r("6c98"),a=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!0)},e}(i["b"]);s.prototype.type="polygon",e["a"]=s},b8df:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89");function o(t,e){var r,n,i,o,a,s=e.x,u=e.y,h=e.width,c=e.height,l=e.r;h<0&&(s+=h,h=-h),c<0&&(u+=c,c=-c),"number"===typeof l?r=n=i=o=l:l instanceof Array?1===l.length?r=n=i=o=l[0]:2===l.length?(r=i=l[0],n=o=l[1]):3===l.length?(r=l[0],n=o=l[1],i=l[2]):(r=l[0],n=l[1],i=l[2],o=l[3]):r=n=i=o=0,r+n>h&&(a=r+n,r*=h/a,n*=h/a),i+o>h&&(a=i+o,i*=h/a,o*=h/a),n+i>c&&(a=n+i,n*=c/a,i*=c/a),r+o>c&&(a=r+o,r*=c/a,o*=c/a),t.moveTo(s+r,u),t.lineTo(s+h-n,u),0!==n&&t.arc(s+h-n,u+n,n,-Math.PI/2,0),t.lineTo(s+h,u+c-i),0!==i&&t.arc(s+h-i,u+c-i,i,0,Math.PI/2),t.lineTo(s+o,u+c),0!==o&&t.arc(s+o,u+c-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("83b8"),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),u={},h=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var r,n,i,s;if(this.subPixelOptimize){var h=Object(a["c"])(u,e,this.style);r=h.x,n=h.y,i=h.width,s=h.height,h.r=e.r,e=h}else r=e.x,n=e.y,i=e.width,s=e.height;e.r?o(t,e):t.rect(r,n,i,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i["b"]);h.prototype.type="rect";e["a"]=h},c31a:function(t,e,r){"use strict";var n=Math.round(9*Math.random()),i=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"function"===typeof Object.defineProperty?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"]=i},c31c:function(t,e,r){"use strict";var n=r("cdbd"),i=r("f452"),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["b"])(e,t),e}(i["a"]);e["a"]=o},c451:function(t,e,r){"use strict";var n=r("5697"),i=r("f171"),o=Math.min,a=Math.max,s=new i["a"],u=new i["a"],h=new i["a"],c=new i["a"],l=new i["a"],f=new i["a"],d=function(){function t(t,e,r,n){r<0&&isFinite(r)&&(t+=r,r=-r),n<0&&isFinite(n)&&(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["c"]();return n["i"](o,o,[-e.x,-e.y]),n["h"](o,o,[r,i]),n["i"](o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,r){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,o=n.x,a=n.x+n.width,s=n.y,u=n.y+n.height,h=e.x,c=e.x+e.width,d=e.y,p=e.y+e.height,v=!(ag&&(g=x,b<_?i["a"].set(f,-b,0):i["a"].set(f,_,0)):xg&&(g=k,m=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],d=n[5];return e.x=r.x*i+f,e.y=r.y*l+d,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=h.x=r.x,s.y=c.y=r.y,u.x=c.x=r.x+r.width,u.y=h.y=r.y+r.height,s.transform(n),c.transform(n),u.transform(n),h.transform(n),e.x=o(s.x,u.x,h.x,c.x),e.y=o(s.y,u.y,h.y,c.y);var p=a(s.x,u.x,h.x,c.x),v=a(s.y,u.y,h.y,c.y);e.width=p-e.x,e.height=v-e.y}else e!==r&&t.copy(e,r)},t}();e["a"]=d},c98d:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=r("e4c4"),a=Math.PI,s=2*a,u=Math.sin,h=Math.cos,c=Math.acos,l=Math.atan2,f=Math.abs,d=Math.sqrt,p=Math.max,v=Math.min,y=1e-4;function g(t,e,r,n,i,o,a,s){var u=r-t,h=n-e,c=a-i,l=s-o,f=l*u-c*h;if(!(f*fP*P+F*F&&(T=A,j=M),{cx:T,cy:j,x01:-c,y01:-l,x11:T*(i/k-1),y11:j*(i/k-1)}}function _(t,e){var r=p(e.r,0),n=p(e.r0||0,0),i=r>0,_=n>0;if(i||_){if(i||(r=n,n=0),n>r){var m=r;r=n,n=m}var w,x=!!e.clockwise,k=e.startAngle,O=e.endAngle;if(k===O)w=0;else{var S=[k,O];Object(o["b"])(S,!x),w=f(S[0]-S[1])}var T=e.cx,j=e.cy,A=e.cornerRadius||0,M=e.innerCornerRadius||0;if(r>y)if(w>s-y)t.moveTo(T+r*h(k),j+r*u(k)),t.arc(T,j,r,k,O,!x),n>y&&(t.moveTo(T+n*h(O),j+n*u(O)),t.arc(T,j,n,O,k,x));else{var C=f(r-n)/2,D=v(C,A),P=v(C,M),F=P,R=D,L=r*h(k),E=r*u(k),B=n*h(O),z=n*u(O),I=void 0,N=void 0,H=void 0,W=void 0;if((D>y||P>y)&&(I=r*h(O),N=r*u(O),H=n*h(k),W=n*u(k),wy)if(R>y){var Q=b(H,W,L,E,r,R,x),$=b(I,N,B,z,r,R,x);t.moveTo(T+Q.cx+Q.x01,j+Q.cy+Q.y01),Ry&&w>y)if(F>y){Q=b(B,z,I,N,n,-F,x),$=b(L,E,H,W,n,-F,x);t.lineTo(T+Q.cx+Q.x01,j+Q.cy+Q.y01),F0,L=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),E=a.calculatedLineHeight,B=0;B=0&&(P=x[D],"right"===P.align))this._placeToken(P,t,T,g,C,"right",_),j-=P.width,C-=P.width,D--;M+=(n-(M-y)-(b-C)-j)/2;while(A<=D)P=x[A],this._placeToken(P,t,T,g,M+P.width/2,"center",_),M+=P.width,A++;g+=T}},e.prototype._placeToken=function(t,e,r,n,i,u,h){var l=e.rich[t.styleName]||{};l.text=t.text;var f=t.verticalAlign,d=n+r/2;"top"===f?d=n+t.height/2:"bottom"===f&&(d=n+r-t.height/2);var v=!t.isLineHolder&&S(l);v&&this._renderBackground(l,e,"right"===u?i-t.width:"center"===u?i-t.width/2:i,d-t.height/2,t.width,t.height);var y=!!l.backgroundColor,g=t.textPadding;g&&(i=k(i,u,g),d-=t.height/2-g[0]-t.innerHeight/2);var b=this._getOrCreateChild(o["a"]),_=b.createStyle();b.useStyle(_);var m=this._defaultStyle,x=!1,O=0,T=w("fill"in l?l.fill:"fill"in e?e.fill:(x=!0,m.fill)),j=w("stroke"in l?l.stroke:"stroke"in e?e.stroke:y||h||m.autoStroke&&!x?null:(O=p,m.stroke)),A=l.textShadowBlur>0||e.textShadowBlur>0;_.text=t.text,_.x=i,_.y=d,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||s["a"],_.opacity=Object(a["Q"])(l.opacity,e.opacity,1),j&&(_.lineWidth=Object(a["Q"])(l.lineWidth,e.lineWidth,O),_.lineDash=Object(a["P"])(l.lineDash,e.lineDash),_.lineDashOffset=e.lineDashOffset||0,_.stroke=j),T&&(_.fill=T);var M=t.contentWidth,C=t.contentHeight;b.setBoundingRect(new c["a"](Object(s["b"])(_.x,M,_.textAlign),Object(s["c"])(_.y,C,_.textBaseline),M,C))},e.prototype._renderBackground=function(t,e,r,n,i,o){var s,c,l=t.backgroundColor,f=t.borderWidth,d=t.borderColor,p=Object(a["C"])(l),v=t.borderRadius,y=this;if(p||f&&d){s=this._getOrCreateChild(h["a"]),s.useStyle(s.createStyle()),s.style.fill=null;var g=s.shape;g.x=r,g.y=n,g.width=i,g.height=o,g.r=v,s.dirtyShape()}if(p){var b=s.style;b.fill=l||null,b.fillOpacity=Object(a["P"])(t.fillOpacity,1)}else if(l&&l.image){c=this._getOrCreateChild(u["a"]),c.onload=function(){y.dirtyStyle()};var _=c.style;_.image=l.image,_.x=r,_.y=n,_.width=i,_.height=o}if(f&&d){b=s.style;b.lineWidth=f,b.stroke=d,b.strokeOpacity=Object(a["P"])(t.strokeOpacity,1),b.lineDash=t.borderDash,b.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var m=(s||c).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=Object(a["Q"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var r="";r="string"!==typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,r,t.fontFamily||"sans-serif"].join(" ")}return e&&Object(a["T"])(e)||t.textFont||t.font},e}(f["c"]),g={left:!0,right:1,center:1},b={top:1,bottom:1,middle:1};function _(t){return m(t),Object(a["k"])(t.rich,m),t}function m(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||g[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||b[r]?r:"top";var n=t.padding;n&&(t.padding=Object(a["M"])(t.padding))}}function w(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function x(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function k(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function O(t){var e=t.text;return null!=e&&(e+=""),e}function S(t){return!!(t.backgroundColor||t.borderWidth&&t.borderColor)}e["a"]=y},e4c4:function(t,e,r){"use strict";r.d(e,"b",(function(){return T}));var n=r("4f73"),i=r("c451"),o=r("909c"),a=r("9c0a"),s=r("61cd"),u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},h=[],c=[],l=[],f=[],d=[],p=[],v=Math.min,y=Math.max,g=Math.cos,b=Math.sin,_=Math.sqrt,m=Math.abs,w=Math.PI,x=2*w,k="undefined"!==typeof Float32Array,O=[];function S(t){var e=Math.round(t/w*1e8)/1e8;return e%2*w}function T(t,e){var r=S(t[0]);r<0&&(r+=x);var n=r-t[0],i=t[1];i+=n,!e&&i-r>=x?i=r+x:e&&r-i>=x?i=r-x:!e&&r>i?i=r+(x-S(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._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return 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)>this._ux||m(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&r&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),r&&(this._xi=t,this._yi=e),this},t.prototype.bezierCurveTo=function(t,e,r,n,i,o){return this.addData(u.C,t,e,r,n,i,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,r,n,i,o):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.addData(u.Q,t,e,r,n),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,r,n):this._ctx.quadraticCurveTo(t,e,r,n)),this._xi=r,this._yi=n,this},t.prototype.arc=function(t,e,r,n,i,o){O[0]=n,O[1]=i,T(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._ctx&&this._ctx.arcTo(t,e,r,n,i),this},t.prototype.rect=function(t,e,r,n){return this._ctx&&this._ctx.rect(t,e,r,n),this.addData(u.R,t,e,r,n),this},t.prototype.closePath=function(){this.addData(u.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,r),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.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,r=0;rh.length&&(this._expandData(),h=this.data);for(var c=0;c0&&d<=t||c<0&&d>=t||0===c&&(l>0&&p<=e||l<0&&p>=e))n=this._dashIdx,r=o[n],d+=c*r,p+=l*r,this._dashIdx=(n+1)%g,c>0&&du||l>0&&ph||a[n%2?"moveTo":"lineTo"](c>=0?v(d,t):y(d,t),l>=0?v(p,e):y(p,e));c=d-t,l=p-e,this._dashOffset=-_(c*c+l*l)},t.prototype._dashedBezierTo=function(t,e,r,n,i,o){var a,u,h,c,l,f=this._ctx,d=this._dashSum,p=this._dashOffset,v=this._lineDash,y=this._xi,g=this._yi,b=0,m=this._dashIdx,w=v.length,x=0;for(p<0&&(p=d+p),p%=d,a=0;a<1;a+=.1)u=Object(s["a"])(y,t,r,i,a+.1)-Object(s["a"])(y,t,r,i,a),h=Object(s["a"])(g,e,n,o,a+.1)-Object(s["a"])(g,e,n,o,a),b+=_(u*u+h*h);for(;mp)break;a=(x-p)/b;while(a<=1)c=Object(s["a"])(y,t,r,i,a),l=Object(s["a"])(g,e,n,o,a),m%2?f.moveTo(c,l):f.lineTo(c,l),a+=v[m]/b,m=(m+1)%w;m%2!==0&&f.lineTo(i,o),u=i-c,h=o-l,this._dashOffset=-_(u*u+h*h)},t.prototype._dashedQuadraticTo=function(t,e,r,n){var i=r,o=n;r=(r+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,r,n,i,o)},t.prototype.toStatic=function(){if(this._saveData){var t=this.data;t instanceof Array&&(t.length=this._len,k&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){l[0]=l[1]=d[0]=d[1]=Number.MAX_VALUE,f[0]=f[1]=p[0]=p[1]=-Number.MAX_VALUE;var t,e=this.data,r=0,o=0,s=0,h=0;for(t=0;tr||m(T)>n||d===e-1)&&(w=Math.sqrt(S*S+T*T),i=k,o=O);break;case u.C:var j=t[d++],A=t[d++],M=(k=t[d++],O=t[d++],t[d++]),C=t[d++];w=Object(s["d"])(i,o,j,A,k,O,M,C,10),i=M,o=C;break;case u.Q:j=t[d++],A=t[d++],k=t[d++],O=t[d++];w=Object(s["k"])(i,o,j,A,k,O,10),i=k,o=O;break;case u.A:var D=t[d++],P=t[d++],F=t[d++],R=t[d++],L=t[d++],E=t[d++],B=E+L;d+=1;t[d++];_&&(a=g(L)*F+D,h=b(L)*R+P),w=y(F,R)*v(x,Math.abs(E)),i=g(B)*F+D,o=b(B)*R+P;break;case u.R:a=i=t[d++],h=o=t[d++];var z=t[d++],I=t[d++];w=2*z+2*I;break;case u.Z:S=a-i,T=h-o;w=Math.sqrt(S*S+T*T),i=a,o=h;break}w>=0&&(c[f++]=w,l+=w)}return this._pathLen=l,l},t.prototype.rebuildPath=function(t,e){var r,n,i,o,a,l,f,d,p,_=this.data,w=this._ux,x=this._uy,k=this._len,O=e<1,S=0,T=0;if(!O||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,d=this._pathLen,p=e*d,p))t:for(var j=0;jw||m(l-o)>x||j===k-1){if(O){var C=f[T++];if(S+C>p){var D=(p-S)/C;t.lineTo(i*(1-D)+a*D,o*(1-D)+l*D);break t}S+=C}t.lineTo(a,l),i=a,o=l}break;case u.C:var P=_[j++],F=_[j++],R=_[j++],L=_[j++],E=_[j++],B=_[j++];if(O){C=f[T++];if(S+C>p){D=(p-S)/C;Object(s["g"])(i,P,R,E,D,h),Object(s["g"])(o,F,L,B,D,c),t.bezierCurveTo(h[1],c[1],h[2],c[2],h[3],c[3]);break t}S+=C}t.bezierCurveTo(P,F,R,L,E,B),i=E,o=B;break;case u.Q:P=_[j++],F=_[j++],R=_[j++],L=_[j++];if(O){C=f[T++];if(S+C>p){D=(p-S)/C;Object(s["n"])(i,P,R,D,h),Object(s["n"])(o,F,L,D,c),t.quadraticCurveTo(h[1],c[1],h[2],c[2]);break t}S+=C}t.quadraticCurveTo(P,F,R,L),i=R,o=L;break;case u.A:var z=_[j++],I=_[j++],N=_[j++],H=_[j++],W=_[j++],U=_[j++],X=_[j++],Y=!_[j++],q=N>H?N:H,Z=m(N-H)>.001,G=W+U,V=!1;if(O){C=f[T++];S+C>p&&(G=W+U*(p-S)/C,V=!0),S+=C}if(Z&&t.ellipse?t.ellipse(z,I,N,H,X,W,G,Y):t.arc(z,I,q,W,G,Y),V)break t;M&&(r=g(W)*N+z,n=b(W)*H+I),i=g(G)*N+z,o=b(G)*H+I;break;case u.R:r=i=_[j],n=o=_[j+1],a=_[j++],l=_[j++];var Q=_[j++],$=_[j++];if(O){C=f[T++];if(S+C>p){var K=p-S;t.moveTo(a,l),t.lineTo(a+v(K,Q),l),K-=Q,K>0&&t.lineTo(a+Q,l+v(K,$)),K-=$,K>0&&t.lineTo(a+y(Q-K,0),l+$),K-=Q,K>0&&t.lineTo(a,l+y($-K,0));break t}S+=C}t.rect(a,l,Q,$);break;case u.Z:if(O){C=f[T++];if(S+C>p){D=(p-S)/C;t.lineTo(i*(1-D)+r*D,o*(1-D)+n*D);break t}S+=C}t.closePath(),i=r,o=n}}},t.CMD=u,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0}(),t}();e["a"]=j},e567:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("60e6"),i=1e-8;function o(t,e){return Math.abs(t-e)2&&u.push(e),e=[t,r]}function y(t,r,n,i){p(t,n)&&p(r,i)||e.push(t,r,n,i,n,i)}function g(t,r,n,i,o,a){var s=Math.abs(r-t),u=4*Math.tan(s/4)/3,h=rT:M2&&u.push(e),u}function y(t,e){var r=t.length,n=e.length;if(r===n)return[t,e];for(var o=r0)for(var O=n/r,S=-n/2;S<=n/2;S+=O){var T=Math.sin(S),j=Math.cos(S),A=0;for(x=0;xn.width?1:0,o=f[i],a=l[i],h=n[o]/e,c=n[a],d=0;d=4&&(h={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(h&&null!=a&&null!=u&&(c=F(h,a,u),!e.ignoreViewBox)){var d=n;n=new i["a"],n.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==a||null==u||n.setClipPath(new s["a"]({shape:{x:0,y:0,width:a,height:u}})),{root:n,width:a,height:u,viewBoxRect:h,viewBoxTransform:c}},t.prototype._parseNode=function(t,e){var r,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var o=w[i];if(o){var a=o.call(this,t),s=t.getAttribute("id");s&&(this._defs[s]=a)}}else{o=n[i];o&&(r=o.call(this,t,e),e.add(r))}if(r){var u=t.firstChild;while(u)1===u.nodeType&&this._parseNode(u,r),3===u.nodeType&&this._isText&&this._parseText(u,r),u=u.nextSibling}"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},t.prototype._parseText=function(t,e){if(1===t.nodeType){var r=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(r),this._textY+=parseFloat(n)}var i=new g["a"]({style:{text:t.textContent},x:this._textX||0,y:this._textY||0});k(e,i),T(t,i,this._defs);var o=i.style,a=o.fontSize;a&&a<9&&(o.fontSize=9,i.scaleX*=a/9,i.scaleY*=a/9);var s=(o.fontSize||o.fontFamily)&&[o.fontStyle,o.fontWeight,(o.fontSize||12)+"px",o.fontFamily||"sans-serif"].join(" ");o.font=s;var u=i.getBoundingRect();return this._textX+=u.width,e.add(i),i},t.internalField=function(){n={g:function(t,e){var r=new i["a"];return k(e,r),T(t,r,this._defs),r},rect:function(t,e){var r=new s["a"];return k(e,r),T(t,r,this._defs),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},circle:function(t,e){var r=new a["a"];return k(e,r),T(t,r,this._defs),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r},line:function(t,e){var r=new h["a"];return k(e,r),T(t,r,this._defs),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},ellipse:function(t,e){var r=new u["a"];return k(e,r),T(t,r,this._defs),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},polygon:function(t,e){var r,n=t.getAttribute("points");n&&(r=O(n));var i=new l["a"]({shape:{points:r||[]}});return k(e,i),T(t,i,this._defs),i},polyline:function(t,e){var r=new c["b"];k(e,r),T(t,r,this._defs);var n,i=t.getAttribute("points");i&&(n=O(i));var o=new f["a"]({shape:{points:n||[]}});return o},image:function(t,e){var r=new o["a"];return k(e,r),T(t,r,this._defs),r.setStyle({image:t.getAttribute("xlink:href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),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 k(e,s),T(t,s,this._defs),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 k(e,s),T(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var r=t.getAttribute("d")||"",n=Object(p["a"])(r);return k(e,n),T(t,n,this._defs),n}}}(),t}(),w={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 y["a"](e,r,n,i);return x(t,o),o}};function x(t,e){var r=t.firstChild;while(r){if(1===r.nodeType){var n=r.getAttribute("offset"),i=void 0;i=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o=r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}r=r.nextSibling}}function k(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(v["j"])(e.__inheritedStyle,t.__inheritedStyle))}function O(t){for(var e=Object(v["T"])(t).split(_),r=[],n=0;n0;o-=2){var a=n[o],s=n[o-1],u=void 0;switch(i=i||d["c"](),s){case"translate":u=Object(v["T"])(a).split(_),d["i"](i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":u=Object(v["T"])(a).split(_),d["h"](i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":u=Object(v["T"])(a).split(_),d["g"](i,i,parseFloat(u[0]));break;case"skew":u=Object(v["T"])(a).split(_),console.warn("Skew transform is not supported yet");break;case"matrix":u=Object(v["T"])(a).split(_),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 D=/([^\s:;]+)\s*:\s*([^:;]+)/g;function P(t){var e=t.getAttribute("style"),r={};if(!e)return r;var n,i={};D.lastIndex=0;while(null!=(n=D.exec(e)))i[n[1]]=n[2];for(var o in S)S.hasOwnProperty(o)&&null!=i[o]&&(r[S[o]]=i[o]);return r}function F(t,e,r){var n=e/t.width,i=r/t.height,o=Math.min(n,i);return{scale:o,x:-(t.x+t.width/2)*o+e/2,y:-(t.y+t.height/2)*o+r/2}}function R(t,e){var r=new m;return r.parse(t,e)}},eba7:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("6b42");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}},f171: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},f452:function(t,e,r){"use strict";var n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e["a"]=n},f48c:function(t,e,r){"use strict";r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return d}));var n=r("8f0b"),i=Math.log(2);function o(t,e,r,n,a,s){var u=n+"-"+a,h=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var c=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[h]+":0",n[1-u]+":auto",i[1-h]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}function f(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],o=e.srcCoords,s=[],u=[],h=!0,c=0;c<4;c++){var l=t[c].getBoundingClientRect(),f=2*c,d=l.left,p=l.top;s.push(d,p),h=h&&o&&d===o[f]&&p===o[f+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return h&&i?i:(e.srcCoords=s,e[n]=r?a(u,s):a(s,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}},f645:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=r("6c98"),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!1)},e}(i["b"]);s.prototype.type="polyline",e["a"]=s},fb45:function(t,e,r){"use strict";var n=r("cdbd"),i=r("1f89"),o=r("83b8"),a={},s=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),u=function(t){function e(e){return t.call(this,e)||this}return Object(n["b"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var r,n,i,s;if(this.subPixelOptimize){var u=Object(o["b"])(a,e,this.style);r=u.x1,n=u.y1,i=u.x2,s=u.y2}else r=e.x1,n=e.y1,i=e.x2,s=e.y2;var h=e.percent;0!==h&&(t.moveTo(r,n),h<1&&(i=r*(1-h)+i*h,s=n*(1-h)+s*h),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i["b"]);u.prototype.type="line",e["a"]=u},fc6d:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("32fb"),i=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:e,event:t},a=0,s=i.length;a1&&n&&n.length>1){var s=o(n)/o(i);!isFinite(s)&&(s=1),e.pinchScale=s;var u=a(n);return e.pinchX=u[0],e.pinchY=u[1],{type:"pinch",target:t[0].target,event:e}}}}}},ff2a:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("6b42");function i(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(n["y"])(t)?[t]:Object(n["t"])(t)?t:null):null}}}]);