vendor: 8,906 bytes, lines 1-2
1/*! For license information please see LICENSES */ 2(this.webpackJsonp=this.webpackJsonp||[]).push([[32],{0:function(t,e,r){"use strict";r.r(e),r.d(e,"$override",(function(){return d})),r.d(e,"guid",(function(){return y})),r.d(e,"logError",(function(){return g})),r.d(e,"clone",(function(){return _})),r.d(e,"merge",(function(){return m})),r.d(e,"mergeAll",(function(){return b})),r.d(e,"extend",(function(){return x})),r.d(e,"defaults",(function(){return w})),r.d(e,"createCanvas",(function(){return k})),r.d(e,"indexOf",(function(){return S})),r.d(e,"inherits",(function(){return O})),r.d(e,"mixin",(function(){return T})),r.d(e,"isArrayLike",(function(){return C})),r.d(e,"each",(function(){return A})),r.d(e,"map",(function(){return j})),r.d(e,"reduce",(function(){return P})),r.d(e,"filter",(function(){return M})),r.d(e,"find",(function(){return D})),r.d(e,"keys",(function(){return L})),r.d(e,"bind",(function(){return R})),r.d(e,"curry",(function(){return I})),r.d(e,"isArray",(function(){return z})),r.d(e,"isFunction",(function(){return E})),r.d(e,"isString",(function(){return B})),r.d(e,"isStringSafe",(function(){return F})),r.d(e,"isNumber",(function(){return H})),r.d(e,"isObject",(function(){return N})),r.d(e,"isBuiltInObject",(function(){return W})),r.d(e,"isTypedArray",(function(){return U})),r.d(e,"isDom",(function(){return X})),r.d(e,"isGradientObject",(function(){return q})),r.d(e,"isPatternObject",(function(){return Y})),r.d(e,"isRegExp",(function(){return G})),r.d(e,"eqNaN",(function(){return Z})),r.d(e,"retrieve",(function(){return V})),r.d(e,"retrieve2",(function(){return K})),r.d(e,"retrieve3",(function(){return Q})),r.d(e,"slice",(function(){return $})),r.d(e,"normalizeCssArray",(function(){return J})),r.d(e,"assert",(function(){return tt})),r.d(e,"trim",(function(){return et})),r.d(e,"setAsPrimitive",(function(){return rt})),r.d(e,"isPrimitive",(function(){return it})),r.d(e,"HashMap",(function(){return nt})),r.d(e,"createHashMap",(function(){return ot})),r.d(e,"concatArray",(function(){return at})),r.d(e,"createObject",(function(){return st})),r.d(e,"hasOwn",(function(){return ht})),r.d(e,"noop",(function(){return ut}));var i={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},n={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},o=Object.prototype.toString,a=Array.prototype,s=a.forEach,h=a.filter,u=a.slice,l=a.map,c=function(){}.constructor,f=c?c.prototype:null,p={};function d(t,e){p[t]=e}var v=2311;function y(){return v++}function g(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}function _(t){if(null==t||"object"!=typeof t)return t;var e=t,r=o.call(t);if("[object Array]"===r){if(!it(t)){e=[];for(var a=0,s=t.length;a<s;a++)e[a]=_(t[a])}}else if(n[r]){if(!it(t)){var h=t.constructor;if(h.from)e=h.from(t);else{e=new h(t.length);for(a=0,s=t.length;a<s;a++)e[a]=_(t[a])}}}else if(!i[r]&&!it(t)&&!X(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=_(t[u]));return e}function m(t,e,r){if(!N(e)||!N(t))return r?_(e):t;for(var i in e)if(e.hasOwnProperty(i)){var n=t[i],o=e[i];!N(o)||!N(n)||z(o)||z(n)||X(o)||X(n)||W(o)||W(n)||it(o)||it(n)?!r&&i in t||(t[i]=_(e[i])):m(n,o,r)}return t}function b(t,e){for(var r=t[0],i=1,n=t.length;i<n;i++)r=m(r,t[i],e);return r}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function w(t,e,r){for(var i=L(e),n=0;n<i.length;n++){var o=i[n];(r?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var k=function(){return p.createCanvas()};function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r}return-1}function O(t,e){var r=t.prototype;function i(){}for(var n in i.prototype=e.prototype,t.prototype=new i,r)r.hasOwnProperty(n)&&(t.prototype[n]=r[n]);t.prototype.constructor=t,t.superClass=e}function T(t,e,r){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),n=0;n<i.length;n++){var o=i[n];"constructor"!==o&&(r?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,r)}function C(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function A(t,e,r){if(t&&e)if(t.forEach&&t.forEach===s)t.forEach(e,r);else if(t.length===+t.length)for(var i=0,n=t.length;i<n;i++)e.call(r,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(r,t[o],o,t)}function j(t,e,r){if(!t)return[];if(!e)return $(t);if(t.map&&t.map===l)return t.map(e,r);for(var i=[],n=0,o=t.length;n<o;n++)i.push(e.call(r,t[n],n,t));return i}function P(t,e,r,i){if(t&&e){for(var n=0,o=t.length;n<o;n++)r=e.call(i,r,t[n],n,t);return r}}function M(t,e,r){if(!t)return[];if(!e)return $(t);if(t.filter&&t.filter===h)return t.filter(e,r);for(var i=[],n=0,o=t.length;n<o;n++)e.call(r,t[n],n,t)&&i.push(t[n]);return i}function D(t,e,r){if(t&&e)for(var i=0,n=t.length;i<n;i++)if(e.call(r,t[i],i,t))return t[i]}function L(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}p.createCanvas=function(){return document.createElement("canvas")};var R=f&&E(f.bind)?f.call.bind(f.bind):function(t,e){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return function(){return t.apply(e,r.concat(u.call(arguments)))}};function I(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(u.call(arguments)))}}function z(t){return Array.isArray?Array.isArray(t):"[object Array]"===o.call(t)}function E(t){return"function"==typeof t}function B(t){return"string"==typeof t}function F(t){return"[object String]"===o.call(t)}function H(t){return"number"==typeof t}function N(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!i[o.call(t)]}function U(t){return!!n[o.call(t)]}function X(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function q(t){return null!=t.colorStops}function Y(t){return null!=t.image}function G(t){return"[object RegExp]"===o.call(t)}function Z(t){return t!=t}function V(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0,i=t.length;r<i;r++)if(null!=t[r])return t[r]}function K(t,e){return null!=t?t:e}function Q(t,e,r){return null!=t?t:null!=e?e:r}function $(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return u.apply(t,e)}function J(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw new Error(e)}function et(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function rt(t){t.__ec_primitive__=!0}function it(t){return t.__ec_primitive__}var nt=function(){function t(e){this.data={};var r=z(e);this.data={};var i=this;function n(t,e){r?i.set(t,e):i.set(e,t)}e instanceof t?e.each(n):e&&A(e,n)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var r in this.data)this.data.hasOwnProperty(r)&&t.call(e,this.data[r],r)},t.prototype.keys=function(){return L(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function ot(t){return new nt(t)}function at(t,e){for(var r=new t.constructor(t.length+e.length),i=0;i<t.length;i++)r[i]=t[i];var n=t.length;for(i=0;i<e.length;i++)r[i+n]=e[i];return r}function st(t,e){var r;if(Object.create)r=Object.create(t);else{var i=function(){};i.prototype=t,r=new i}return e&&x(r,e),r}function ht(t,e){return t.hasOwnProperty(e)}function ut(){}},106:function(t,e,r){"use strict";r.d(e,"b",(function(){return h})),r.d(e,"a",(function(){return u}));var i=r(47),n=r(148),o=r(34),a=r(0),s="__zr_style_"+Math.round(10*Math.random()),h={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},u={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};h[s]=!0;var l=["z","z2","invisible"],c=function(t){function e(e){return t.call(this,e)||this}var r;return Object(i.a)(e,t),e.prototype._init=function(e){for(var r=Object(a.keys)(e),i=0;i<r.length;i++){var n=r[i];"style"===n?this.useStyle(e[n]):t.prototype.attrKV.call(this,n,e[n])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,r,i){var n=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,r){f.copy(t.getBoundingRect
2()),t.transform&&f.applyTransform(t.transform);return p.width=e,p.height=r,!f.intersect(p)}(this,t,e)||n&&!n[0]&&!n[3])return!1;if(r&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,r=this.getBoundingRect(),i=this.style,n=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.a(0,0,0,0)),e?o.a.applyTransform(t,r,e):t.copy(r),(n||a||s)&&(t.width+=2*n+Math.abs(a),t.height+=2*n+Math.abs(s),t.x=Math.min(t.x,t.x+a-n),t.y=Math.min(t.y,t.y+s-n));var h=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-h),t.y=Math.floor(t.y-h),t.width=Math.ceil(t.width+1+2*h),t.height=Math.ceil(t.height+1+2*h))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.a(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Object(a.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(){this.markRedraw(),this.__dirty|=e.STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&e.STYLE_CHANGED_BIT)},e.prototype.styleUpdated=function(){this.__dirty&=~e.STYLE_CHANGED_BIT},e.prototype.createStyle=function(t){return Object(a.createObject)(h,t)},e.prototype.useStyle=function(t){t[s]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[s]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,l)},e.prototype._applyStateObj=function(e,r,i,n,o,s){t.prototype._applyStateObj.call(this,e,r,i,n,o,s);var h,u=!(r&&n);if(r&&r.style?o?n?h=r.style:(h=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(h,r.style)):(h=this._mergeStyle(this.createStyle(),n?this.style:i.style),this._mergeStyle(h,r.style)):u&&(h=i.style),h)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var f=Object(a.keys)(c),p=0;p<f.length;p++){(v=f[p])in h&&(h[v]=h[v],this.style[v]=c[v])}var d=Object(a.keys)(h);for(p=0;p<d.length;p++){var v=d[p];this.style[v]=this.style[v]}this._transitionState(e,{style:h},s,this.getAnimationStyleProps())}else this.useStyle(h);for(p=0;p<l.length;p++){v=l[p];r&&null!=r[v]?this[v]=r[v]:u&&null!=i[v]&&(this[v]=i[v])}},e.prototype._mergeStates=function(e){for(var r,i=t.prototype._mergeStates.call(this,e),n=0;n<e.length;n++){var o=e[n];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(i.style=r),i},e.prototype._mergeStyle=function(t,e){return Object(a.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return u},e.STYLE_CHANGED_BIT=2,e.initDefaultProps=((r=e.prototype).type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,void(r.__dirty=n.a.REDARAW_BIT|e.STYLE_CHANGED_BIT)),e}(n.a),f=new o.a(0,0,0,0),p=new o.a(0,0,0,0);e.c=c},108:function(t,e,r){"use strict";var i=r(47),n=r(45);var o=r(295),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},h=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var r,i,n,a;
2if(this.subPixelOptimize){var h=Object(o.c)(s,e,this.style);r=h.x,i=h.y,n=h.width,a=h.height,h.r=e.r,e=h}else r=e.x,i=e.y,n=e.width,a=e.height;e.r?function(t,e){var r,i,n,o,a,s=e.x,h=e.y,u=e.width,l=e.height,c=e.r;u<0&&(s+=u,u=-u),l<0&&(h+=l,l=-l),"number"==typeof c?r=i=n=o=c:c instanceof Array?1===c.length?r=i=n=o=c[0]:2===c.length?(r=n=c[0],i=o=c[1]):3===c.length?(r=c[0],i=o=c[1],n=c[2]):(r=c[0],i=c[1],n=c[2],o=c[3]):r=i=n=o=0,r+i>u&&(r*=u/(a=r+i),i*=u/a),n+o>u&&(n*=u/(a=n+o),o*=u/a),i+n>l&&(i*=l/(a=i+n),n*=l/a),r+o>l&&(r*=l/(a=r+o),o*=l/a),t.moveTo(s+r,h),t.lineTo(s+u-i,h),0!==i&&t.arc(s+u-i,h+i,i,-Math.PI/2,0),t.lineTo(s+u,h+l-n),0!==n&&t.arc(s+u-n,h+l-n,n,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,i,n,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(n.b);h.prototype.type="rect";e.a=h},112:function(t,e,r){"use strict";var i=r(47),n=r(465),o=r(214),a=r(0),s=r(49),h=r(93),u=r(108),l=r(34),c=r(29),f=r(106),p={fill:"#000"},d={style:Object(a.defaults)({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},f.a.style)},v=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=p,r.attr(e),r}return Object(i.a)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var r=this._children[e];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}var i=this.attachedTransform;if(i){i.updateTransform();var n=i.transform;n?(this.transform=this.transform||[],Object(c.copy)(this.transform,n)):this.transform=null}else t.prototype.update.call(this)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),this.attachedTransform?this.attachedTransform.getComputedTransform():t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,_(t=this.style),Object(a.each)(t.rich,_),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new l.a(0,0,0,0),e=this._children,r=[],i=null,n=0;n<e.length;n++){var o=e[n],a=o.getBoundingRect(),s=o.getLocalTransform(r);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||p},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var r=e.rich,i=t.rich||r&&{};return Object(a.extend)(t,e),r&&i?(this._mergeRich(i,r),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var r=Object(a.keys)(e),i=0;i<r.length;i++){var n=r[i];t[n]=t[n]||{},Object(a.extend)(t[n],e[n])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||s.a,r=t.padding,i=x(t),a=Object(n.a)(i,t),h=w(t),u=!!t.backgroundColor,c=a.outerHeight,f=a.lines,p=a.lineHeight,d=this._defaultStyle,v=t.x||0,y=t.y||0,g=t.align||d.align||"left",_=t.verticalAlign||d.verticalAlign||"top",k=v,S=Object(s.c)(y,a.contentHeight,_);if(h||r){var O=a.width;r&&(O+=r[1]+r[3]);var T=Object(s.b)(v,O,g),C=Object(s.c)(y,c,_);
2h&&this._renderBackground(t,t,T,C,O,c)}S+=p/2,r&&(k=b(v,g,r),"top"===_?S+=r[0]:"bottom"===_&&(S-=r[2]));for(var A,j=0,P=!1,M=(null==(A="fill"in t?t.fill:(P=!0,d.fill))||"none"===A?null:A.image||A.colorStops?"#000":A),D=(m("stroke"in t?t.stroke:u||d.autoStroke&&!P?null:(j=2,d.stroke))),L=t.textShadowBlur>0,R=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),I=a.calculatedLineHeight,z=0;z<f.length;z++){var E=this._getOrCreateChild(o.a),B=E.createStyle();E.useStyle(B),B.text=f[z],B.x=k,B.y=S,g&&(B.textAlign=g),B.textBaseline="middle",B.opacity=t.opacity,B.strokeFirst=!0,L&&(B.shadowBlur=t.textShadowBlur||0,B.shadowColor=t.textShadowColor||"transparent",B.shadowOffsetX=t.textShadowOffsetX||0,B.shadowOffsetY=t.textShadowOffsetY||0),D&&(B.stroke=D,B.lineWidth=t.lineWidth||j,B.lineDash=t.lineDash,B.lineDashOffset=t.lineDashOffset||0),M&&(B.fill=M),B.font=e,S+=p,R&&E.setBoundingRect(new l.a(Object(s.b)(B.x,t.width,B.textAlign),Object(s.c)(B.y,I,B.textBaseline),t.width,I))}},e.prototype._updateRichTexts=function(){var t=this.style,e=x(t),r=Object(n.b)(e,t),i=r.width,o=r.outerWidth,a=r.outerHeight,h=t.padding,u=t.x||0,l=t.y||0,c=this._defaultStyle,f=t.align||c.align,p=t.verticalAlign||c.verticalAlign,d=Object(s.b)(u,o,f),v=Object(s.c)(l,a,p),y=d,g=v;h&&(y+=h[3],g+=h[0]);var _=y+i;w(t)&&this._renderBackground(t,t,d,v,o,a);for(var m=!!t.backgroundColor,b=0;b<r.lines.length;b++){for(var k=r.lines[b],S=k.tokens,O=S.length,T=k.lineHeight,C=k.width,A=0,j=y,P=_,M=O-1,D=void 0;A<O&&(!(D=S[A]).align||"left"===D.align);)this._placeToken(D,t,T,g,j,"left",m),C-=D.width,j+=D.width,A++;for(;M>=0&&"right"===(D=S[M]).align;)this._placeToken(D,t,T,g,P,"right",m),C-=D.width,P-=D.width,M--;for(j+=(i-(j-y)-(_-P)-C)/2;A<=M;)D=S[A],this._placeToken(D,t,T,g,j+D.width/2,"center",m),j+=D.width,A++;g+=T}},e.prototype._placeToken=function(t,e,r,i,n,h,u){var c=e.rich[t.styleName]||{};c.text=t.text;var f=t.verticalAlign,p=i+r/2;"top"===f?p=i+t.height/2:"bottom"===f&&(p=i+r-t.height/2),!t.isLineHolder&&w(c)&&this._renderBackground(c,e,"right"===h?n-t.width:"center"===h?n-t.width/2:n,p-t.height/2,t.width,t.height);var d=!!c.backgroundColor,v=t.textPadding;v&&(n=b(n,h,v),p-=t.height/2-v[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.a),g=y.createStyle();y.useStyle(g);var _=this._defaultStyle,x=!1,k=0,S=m("fill"in c?c.fill:"fill"in e?e.fill:(x=!0,_.fill)),O=m("stroke"in c?c.stroke:"stroke"in e?e.stroke:d||u||_.autoStroke&&!x?null:(k=2,_.stroke)),T=c.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=n,g.y=p,T&&(g.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,g.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=h,g.textBaseline="middle",g.font=t.font||s.a,g.opacity=Object(a.retrieve3)(c.opacity,e.opacity,1),O&&(g.lineWidth=Object(a.retrieve3)(c.lineWidth,e.lineWidth,k),g.lineDash=Object(a.retrieve2)(c.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=O),S&&(g.fill=S);var C=t.contentWidth,A=t.contentHeight;y.setBoundingRect(new l.a(Object(s.b)(g.x,C,g.textAlign),Object(s.c)(g.y,A,g.textBaseline),C,A))},e.prototype._renderBackground=function(t,e,r,i,n,o){var s,l,c,f=t.backgroundColor,p=t.borderWidth,d=t.borderColor,v=Object(a.isString)(f),y=t.borderRadius,g=this;if(v||p&&d){(s=this._getOrCreateChild(u.a)).useStyle(s.createStyle()),s.style.fill=null;var _=s.shape;_.x=r,_.y=i,_.width=n,_.height=o,_.r=y,s.dirtyShape()}if(v)(c=s.style).fill=f||null,c.fillOpacity=Object(a.retrieve2)(t.fillOpacity,1);else if(f&&f.image){(l=this._getOrCreateChild(h.a)).onload=function(){g.dirtyStyle()};var m=l.style;m.image=f.image,m.x=r,m.y=i,m.width=n,m.height=o}p&&d&&((c=s.style).lineWidth=p,c.stroke=d,c.strokeOpacity=Object(a.retrieve2)(t.strokeOpacity,1),c.lineDash=t.borderDash,c.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(c.strokeFirst=!0,c.lineWidth*=2));var b=(s||l).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=Object(a.retrieve3)(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.trim)(e)||t.textFont||t.font},e}(f.c),y={left:!0,right:1,center:1},g={top:1,bottom:1,middle:1};function _(t){if(t){t.font=v.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||y[e]?e:"left";var r=t.verticalAlign;"center"===r&&(r="middle"),t.verticalAlign=null==r||g[r]?r:"top",t.padding&&(t.padding=Object(a.normalizeCssArray)(t.padding))}}function m(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function b(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function x(t){var e=t.text;return null!=e&&(e+=""),e}function w(t){return!!(t.backgroundColor||t.borderWidth&&t.borderColor)}e.a=v},1126:function(t,e,r){"use strict";function i(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}var n=r(0),o=r(45),a=r(93),s=r(214);function h(t,e,r,i,n){for(var o=e.length,a=r.length,s=t.newPos,h=s-i,u=0;s+1<o&&h+1<a&&n(e[s+1],r[h+1]);)s++,h++,u++;return u&&t.components.push({count:u,added:!1,removed:!1,indices:[]}),t.newPos=s,h}function u(t,e,r){var i=t[t.length-1];i&&i.added===e&&i.removed===r?t[t.length-1]={count:i.count+1,added:e,removed:r,indices:[]}:t.push({count:1,added:e,removed:r,indices:[]})}function l(t){for(var e=0,r=t.length,i=0,n=0;e<r;e++){var o=t[e];if(o.removed){for(s=n;s<n+o.count;s++)o.indices.push(s);n+=o.count}else{for(var a=[],s=i;
vendor: 10,543 bytes, line 2
2s<i+o.count;s++)a.push(s);o.indices=a,i+=o.count,o.added||(n+=o.count)}}return t}function c(t,e,r){return function(t,e,r){r||(r=function(t,e){return t===e}),t=t.slice();var i=(e=e.slice()).length,n=t.length,o=1,a=i+n,s=[{newPos:-1,components:[]}],c=h(s[0],e,t,0,r);if(s[0].newPos+1>=i&&c+1>=n){for(var f=[],p=0;p<e.length;p++)f.push(p);return[{indices:f,count:e.length,added:!1,removed:!1}]}function d(){for(var a=-1*o;a<=o;a+=2){var c,f=s[a-1],p=s[a+1],d=(p?p.newPos:0)-a;f&&(s[a-1]=void 0);var v=f&&f.newPos+1<i,y=p&&0<=d&&d<n;if(v||y){if(!v||y&&f.newPos<p.newPos?u((c={newPos:(g=p).newPos,components:g.components.slice(0)}).components,!1,!0):((c=f).newPos++,u(c.components,!0,!1)),d=h(c,e,t,a,r),c.newPos+1>=i&&d+1>=n)return l(c.components);s[a]=c}else s[a]=void 0}var g;o++}for(;o<=a;){var v=d();if(v)return v}}(t,e,r)}var f=r(47),p=r(49),d=r(473),v=Math.round,y=Math.sin,g=Math.cos,_=Math.PI,m=2*Math.PI,b=180/_;function x(t){return v(1e3*t)/1e3}function w(t){return v(1e4*t)/1e4}function k(t){return t<1e-4&&t>-1e-4}function S(t,e){e&&O(t,"transform","matrix("+x(e[0])+","+x(e[1])+","+x(e[2])+","+x(e[3])+","+w(e[4])+","+w(e[5])+")")}function O(t,e,r){(!r||"linear"!==r.type&&"radial"!==r.type)&&t.setAttribute(e,r)}function T(t,e,r){var i=null==e.opacity?1:e.opacity;if(r instanceof a.a)t.style.opacity=i+"";else{if(function(t){var e=t.fill;return null!=e&&"none"!==e}(e)){var o=e.fill;O(t,"fill",o="transparent"===o?"none":o),O(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*i:i)+"")}else O(t,"fill","none");if(function(t){var e=t.stroke;return null!=e&&"none"!==e}(e)){var s=e.stroke;O(t,"stroke",s="transparent"===s?"none":s);var h=e.lineWidth,u=e.strokeNoScale?r.getLineScale():1;O(t,"stroke-width",(u?h/u:0)+""),O(t,"paint-order",e.strokeFirst?"stroke":"fill"),O(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*i:i)+"");var l=e.lineDash&&h>0&&Object(d.a)(e.lineDash,h);if(l){var c=e.lineDashOffset;u&&1!==u&&(l=Object(n.map)(l,(function(t){return t/u})),c&&(c=v(c/=u))),O(t,"stroke-dasharray",l.join(",")),O(t,"stroke-dashoffset",(c||0)+"")}else O(t,"stroke-dasharray","");e.lineCap&&O(t,"stroke-linecap",e.lineCap),e.lineJoin&&O(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&O(t,"stroke-miterlimit",e.miterLimit+"")}else O(t,"stroke","none")}}var C=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,i,n,o){this._add("C",t,e,r,i,n,o)},t.prototype.quadraticCurveTo=function(t,e,r,i){this._add("Q",t,e,r,i)},t.prototype.arc=function(t,e,r,i,n,o){this.ellipse(t,e,r,r,0,i,n,o)},t.prototype.ellipse=function(t,e,r,i,n,o,a,s){var h=0===this._d.length,u=a-o,l=!s,c=Math.abs(u),f=k(c-m)||(l?u>=m:-u>=m),p=u>0?u%m:u%m+m,d=!1;d=!!f||!k(c)&&p>=_==!!l;var x=w(t+r*g(o)),S=w(e+i*y(o));f&&(u=l?m-1e-4:1e-4-m,d=!0,h&&this._d.push("M",x,S));var O=w(t+r*g(o+u)),T=w(e+i*y(o+u));if(isNaN(x)||isNaN(S)||isNaN(r)||isNaN(i)||isNaN(n)||isNaN(b)||isNaN(O)||isNaN(T))return"";this._d.push("A",w(r),w(i),v(n*b),+d,+l,O,T)},t.prototype.rect=function(t,e,r,i){this._add("M",t,e),this._add("L",t+r,e),this._add("L",t+r,e+i),this._add("L",t,e+i),this._add("L",t,e)},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,r,i,n,o,a,s,h){this._d.push(t);for(var u=1;u<arguments.length;u++){var l=arguments[u];if(isNaN(l))return void(this._invalid=!0);this._d.push(w(l))}},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(" "),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),A={brush:function(t){var e=t.style,r=t.__svgEl;r||(r=i("path"),t.__svgEl=r),t.path||t.createPathProxy();var n=t.path;t.shapeChanged()&&(n.beginPath(),t.buildPath(n,t.shape),t.pathUpdated());var o=n.getVersion(),a=t,s=a.__svgPathBuilder;(a.__svgPathVersion!==o||!s||t.style.strokePercent<1)&&(s||(s=a.__svgPathBuilder=new C),s.reset(),n.rebuildPath(s,t.style.strokePercent),s.generateStr(),a.__svgPathVersion=o),O(r,"d",s.getStr()),T(r,e,t),S(r,t.transform)}},j={brush:function(t){var e=t.style,r=e.image;if(r instanceof HTMLImageElement?r=r.src:r instanceof HTMLCanvasElement&&(r=r.toDataURL()),r){var n=e.x||0,o=e.y||0,a=e.width,s=e.height,h=t.__svgEl;h||(h=i("image"),t.__svgEl=h),r!==t.__imageSrc&&(!function(t,e,r){t.setAttributeNS("http://www.w3.org/1999/xlink",e,r)}(h,"href",r),t.__imageSrc=r),O(h,"width",a+""),O(h,"height",s+""),O(h,"x",n+""),O(h,"y",o+""),T(h,e,t),S(h,t.transform)}}},P={left:"start",right:"end",center:"middle",middle:"middle"};var M={brush:function(t){var e=t.style,r=e.text;if(null!=r&&(r+=""),r&&!isNaN(e.x)&&!isNaN(e.y)){var n=t.__svgEl;n||(function(t,e,r){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,r)}(n=i("text"),"xml:space","preserve"),t.__svgEl=n);var o=e.font||p.a;n.style.font=o,n.textContent=r,T(n,e,t),S(n,t.transform);var a=e.x||0,s=function(t,e,r){return"top"===r?t+=e/2:"bottom"===r&&(t-=e/2),t}(e.y||0,Object(p.f)(o),e.textBaseline),h=P[e.textAlign]||e.textAlign;O(n,"dominant-baseline","central"),O(n,"text-anchor",h),O(n,"x",a+""),O(n,"y",s+"")}}},D=function(){function t(t,e,r,n,o){this.nextId=0,this._domName="_dom",this.createElement=i,this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof r?[r]:r,this._markLabel=n,o&&(this._domName=o)}return t.prototype.getDefs=function(t){var e=this._svgRoot,r=this._svgRoot.getElementsByTagName("defs");if(0===r.length){if(t){var i=e.insertBefore(this.createElement("defs"),e.firstChild);return i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var r=e.length-1;r>=0;--r)if(e[r]===t)return!0;return!1}),i}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 i=this.add(t);i&&(t[this._domName]=i)}}},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 n.each(this._tagNames,(function(r){for(var i=t.getElementsByTagName(r),n=0;n<i.length;n++)e.push(i[n])})),e},t.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;n.each(t,(function(t){t[e._markLabel]="0"}))},t.prototype.markDomUsed=function(t){t&&(t[this._markLabel]="1")},t.prototype.markDomUnused=function(t){t&&(t[this._markLabel]="0")},t.prototype.isDomUnused=function(t){return t&&"1"!==t[this._markLabel]},t.prototype.removeUnused=function(){var t=this,e=this.getDefs(!1);if(e){var r=this.getDoms();n.each(r,(function(r){t.isDomUnused(r)&&e.removeChild(r)}))}},t.prototype.getSvgProxy=function(t){return t instanceof o.b?A:t instanceof a.a?j:t instanceof s.a?M:A},t.prototype.getSvgElement=function(t){return t.__svgEl},t}(),L=r(64);function R(t){return"linear"===t.type}function I(t){return"radial"===t.type}function z(t){return t&&("linear"===t.type||"radial"===t.type)}var E=function(t){function e(e,r){return t.call(this,e,r,["linearGradient","radialGradient"],"__gradient_in_use__")||this}return Object(f.a)(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var r=this;n.each(["fill","stroke"],(function(i){var n=e.style[i];if(z(n)){var o=n,a=r.getDefs(!0),s=void 0;o.__dom?(s=o.__dom,a.contains(o.__dom)||r.addDom(s)):s=r.add(o),r.markUsed(e);var h=s.getAttribute("id");t.setAttribute(i,"url(#"+h+")")}}))}},e.prototype.add=function(t){var e;if(R(t))e=this.createElement("linearGradient");else{if(!I(t))return n.logError("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(t){if(z(t)){var e=this;this.doUpdate(t,(function(){var r=t.__dom;if(r){var i=r.tagName,n=t.type;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?e.updateDom(t,t.__dom):(e.removeDom(t),e.add(t))}}))}},e.prototype.updateDom=function(t,e){if(R(t))e.setAttribute("x1",t.x+""),e.setAttribute("y1",t.y+""),e.setAttribute("x2",t.x2+""),e.setAttribute("y2",t.y2+"");else{if(!I(t))return void n.logError("Illegal gradient type.");e.setAttribute("cx",t.x+""),e.setAttribute("cy",t.y+""),e.setAttribute("r",t.r+"")}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var r=t.colorStops,i=0,o=r.length;i<o;++i){var a=this.createElement("stop");a.setAttribute("offset",100*r[i].offset+"%");var s=r[i].color;if(s.indexOf("rgba")>-1){var h=L.parse(s)[3],u=L.toHex(s);a.setAttribute("stop-color","#"+u),a.setAttribute("stop-opacity",h+"")}else a.setAttribute("stop-color",r[i].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.__dom&&t.prototype.markDomUsed.call(this,r.__dom)}},e}(D),B=r(242);function F(t){return t&&(!!t.image||!!t.svgElement)}var H=new(r(564).a),N=function(t){function e(e,r){return t.call(this,e,r,["pattern"],"__pattern_in_use__")||this}return Object(f.a)(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var r=this;n.each(["fill","stroke"],(function(i){var n=e.style[i];if(F(n)){var o=r.getDefs(!0),a=H.get(n);a?o.contains(a)||r.addDom(a):a=r.add(n),r.markUsed(e);var s=a.getAttribute("id");t.setAttribute(i,"url(#"+s+")")}}))}},e.prototype.add=function(t){if(F(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(F(t)){var e=this;this.doUpdate(t,(function(){var r=H.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 i=void 0,n=e.getElementsByTagName("image");if(n.length){if(!t.image)return void e.removeChild(n[0]);i=n[0]}else t.image&&(i=this.createElement("image"));if(i){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.
2image.toDataURL()),o){i.setAttribute("href",o),i.setAttribute("x","0"),i.setAttribute("y","0");var a=Object(B.a)(o,i,{dirty:function(){}},(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));a&&a.width&&a.height&&(e.setAttribute("width",a.width+""),e.setAttribute("height",a.height+"")),e.appendChild(i)}}}var s="translate("+(t.x||0)+", "+(t.y||0)+") rotate("+(t.rotation||0)/Math.PI*180+") scale("+(t.scaleX||1)+", "+(t.scaleY||1)+")";e.setAttribute("patternTransform",s),H.set(t,e)},e.prototype.markUsed=function(e){e.style&&(F(e.style.fill)&&t.prototype.markDomUsed.call(this,H.get(e.style.fill)),F(e.style.stroke)&&t.prototype.markDomUsed.call(this,H.get(e.style.stroke)))},e}(D),W=r(299);function U(t){var e=t.__clipPaths;return e&&e.length>0}var X=function(t){function e(e,r){var i=t.call(this,e,r,"clipPath","__clippath_in_use__")||this;return i._refGroups={},i._keyDuplicateCount={},i}return Object(f.a)(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(U(t)){var r=t.__clipPaths,i=this._keyDuplicateCount,n=function(t){var e=[];if(t)for(var r=0;r<t.length;r++){var i=t[r];e.push(i.id)}return e.join(",")}(r);return Object(W.b)(r,e&&e.__clipPaths)&&(i[n]=i[n]||0,i[n]&&(n+="-"+i[n]),i[n]++),this._refGroups[n]||(this._refGroups[n]=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),i=e[0],n=void 0,o=void 0;i._dom?(o=i._dom.getAttribute("id"),n=i._dom,r.contains(n)||r.appendChild(n)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(n),i._dom=n),this.get
vendor: 6,598 bytes, line 2
2SvgProxy(i).brush(i);var a=this.getSvgElement(i);n.innerHTML="",n.appendChild(a),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(n,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var r=this;e.__clipPaths&&n.each(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 i=this._refGroups[r];this.isDomUnused(i)?i.parentNode&&i.parentNode.removeChild(i):e[r]=i}this._refGroups=e},e}(D),q=function(t){function e(e,r){var i=t.call(this,e,r,["filter"],"__filter_in_use__","_shadowDom")||this;return i._shadowDomMap={},i._shadowDomPool=[],i}return Object(f.a)(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){(t=this.createElement("filter")).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){if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(e.style)){var r=function(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(",")}(e),i=e._shadowDom=this._shadowDomMap[r];i||(i=this._getFromPool(),this._shadowDomMap[r]=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 i=r.children[0],n=e.style,o=e.getGlobalScale(),a=o[0],s=o[1];if(a&&s){var h=n.shadowOffsetX||0,u=n.shadowOffsetY||0,l=n.shadowBlur,c=n.shadowColor;i.setAttribute("dx",h/a+""),i.setAttribute("dy",u/s+""),i.setAttribute("flood-color",c);var f=l/2/a+" "+l/2/s;i.setAttribute("stdDeviation",f),r.setAttribute("x","-100%"),r.setAttribute("y","-100%"),r.setAttribute("width","300%"),r.setAttribute("height","300%"),e._shadowDom=r;var p=r.getAttribute("id");t.style.filter="url(#"+p+")"}},e.prototype.removeUnused=function(){if(this.getDefs(!1)){var t=this._shadowDomPool;for(var e in this._shadowDomMap){var r=this._shadowDomMap[e];t.push(r)}this._shadowDomMap={}}},e}(D);function Y(t){return parseInt(t,10)}function G(t){return t instanceof o.b?A:t instanceof a.a?j:t instanceof s.a?M:A}function Z(t,e){return e&&t&&e.parentNode!==t}function V(t,e,r){if(Z(t,e)&&r){var i=r.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function K(t,e){if(Z(t,e)){var r=t.firstChild;r?t.insertBefore(e,r):t.appendChild(e)}}function Q(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function $(t){return t.__svgEl}var J=function(){function t(t,e,r,o){this.type="svg",this.refreshHover=tt("refreshHover"),this.pathToImage=tt("pathToImage"),this.configLayer=tt("configLayer"),this.root=t,this.storage=e,this._opts=r=n.extend({},r||{});var a=i("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=i("g");a.appendChild(s);var h=i("g");a.appendChild(h),this._gradientManager=new E(o,h),this._patternManager=new N(o,h),this._clipPathManager=new X(o,h),this._shadowManager=new q(o,h);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=h,this._backgroundRoot=s,this._viewport=u,t.appendChild(u),u.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=i("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 i(t)},t.prototype.paintOne=function(t){var e=G(t);return e&&e.brush(t),$(t)},t.prototype._paintList=function(t){var e=this._gradientManager,r=this._patternManager,i=this._clipPathManager,n=this._shadowManager;e.markAllUnused(),r.markAllUnused(),i.markAllUnused(),n.markAllUnused();for(var o=this._svgRoot,a=this._visibleList,s=t.length,h=[],u=0;u<s;u++){var l=G(x=t[u]),f=$(x);x.invisible||(!x.__dirty&&f||(l&&l.brush(x),(f=$(x))&&x.style&&(e.update(x.style.fill),e.update(x.style.stroke),r.update(x.style.fill),r.update(x.style.stroke),n.update(f,x)),x.__dirty=0),f&&h.push(x))}var p,d,v,y,g,_=c(a,h);for(u=0;u<_.length;u++){if((b=_[u]).removed)for(var m=0;m<b.count;m++){f=$(x=a[b.indices[m]]);U(x)?(v=f)&&v.parentNode&&v.parentNode.removeChild(v):Q(o,f)}}for(u=0;u<_.length;u++){var b;if(!(b=_[u]).removed)for(m=0;m<b.count;m++){var x=h[b.indices[m]],w=i.update(x,y);w!==g&&(p=d,w&&(p?V(o,w,p):K(o,w),d=w,p=null),g=w);f=$(x);p?V(g||o,f,p):K(g||o,f),p=f||p,g||(d=p),e.markUsed(x),e.addWithoutUpdate(f,x),r.markUsed(x),r.addWithoutUpdate(f,x),i.markUsed(x),y=x}}e.removeUnused(),r.removeUnused(),i.removeUnused(),n.removeUnused(),this._visibleList=h},t.prototype.resize=function(t,e){var r=this._viewport;r.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.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 n=r.style;n.width=t+"px",n.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],i=["clientWidth","clientHeight"][t],n=["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);
2return(a[i]||Y(s[r])||Y(a.style[r]))-(Y(s[n])||0)-(Y(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;return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e.replace(/></g,">\n\r<"))},t}();function tt(t){return function(){n.logError('In SVG mode painter not support method "'+t+'"')}}e.a=J},1173:function(t,e,r){"use strict";var i=r(129),n=r(0),o=r(47),a=r(121),s=r(148),h=r(299),u=r(186),l=r(34);function c(){return!1}function f(t,e,r){var i=n.createCanvas(),o=e.getWidth(),a=e.getHeight(),s=i.style;return s&&(s.position="absolute",s.left="0",s.top="0",s.width=o+"px",s.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=o*r,i.height=a*r,i}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||i.e,"string"==typeof e?a=f(e,r,o):n.isObject(e)&&(e=(a=e).id),s.id=e,s.dom=a;var h=a.style;return h&&(a.onselectstart=c,h.webkitUserSelect="none",h.userSelect="none",h.webkitTapHighlightColor="rgba(0,0,0,0)",h["-webkit-touch-callout"]="none",h.padding="0",h.margin="0",h.borderWidth="0"),s.domBack=null,s.ctxBack=null,s.painter=r,s.config=null,s.dpr=o,s}return Object(o.a)(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,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var n,o=[],a=this.maxRepaintRectCount,h=!1,u=new l.a(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new l.a(0,0,0,0)).copy(t),o.push(e)}else{for(var e,r=!1,i=1/0,n=0,s=0;s<o.length;++s){var c=o[s];if(c.intersect(t)){var f=new l.a(0,0,0,0);f.copy(c),f.union(t),o[s]=f,r=!0;break}if(h){u.copy(t),u.union(c);var p=t.width*t.height,d=c.width*c.height,v=u.width*u.height-p-d;v<i&&(i=v,n=s)}}if(h&&(o[n].union(t),r=!0),!r)(e=new l.a(0,0,0,0)).copy(t),o.push(e);h||(h=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){if(v=t[f]){var p=v.shouldBePainted(r,i,!0,!0);(y=v.__isRendered&&(v.__dirty&s.a.REDARAW_BIT||!p)?v.getPrevPaintRect():null)&&c(y);
2var d=p&&(v.__dirty&s.a.REDARAW_BIT||!v.__isRendered)?v.getPaintRect():null;d&&c(d)}}for(f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var v,y;p=(v=e[f]).shouldBePainted(r,i,!0,!0);if(v&&(!p||!v.__zr)&&v.__isRendered)(y=v.getPrevPaintRect())&&c(y)}do{n=!1;for(f=0;f<o.length;)if(o[f].isZero())o.splice(f,1);else{for(var g=f+1;g<o.length;)o[f].intersect(o[g])?(n=!0,o[f].union(o[g]),o.splice(g,1)):g++;f++}}while(n);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var r=this.dpr,i=this.dom,n=i.style,o=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),i.width=t*r,i.height=e*r,o&&(o.width=t*r,o.height=e*r,1!==r&&this.ctxBack.scale(r,r))},e.prototype.clear=function(t,e,r){var i=this.dom,o=this.ctx,a=i.width,s=i.height;e=e||this.clearColor;var l=this.motionBlur&&!t,c=this.lastFrameAlpha,f=this.dpr,p=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/f,s/f));var d=this.domBack;function v(t,r,i,a){if(o.clearRect(t,r,i,a),e&&"transparent"!==e){var s=void 0;n.isGradientObject(e)?(s=e.__canvasGradient||Object(h.a)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=s):n.isPatternObject(e)&&(s=Object(u.c)(o,e,{dirty:function(){p.setUnpainted(),p.__painter.refresh()}})),o.save(),o.fillStyle=s||e,o.fillRect(t,r,i,a),o.restore()}l&&(o.save(),o.globalAlpha=c,o.drawImage(d,t,r,i,a),o.restore())}!r||l?v(0,0,a,s):r.length&&n.each(r,(function(t){v(t.x*f,t.y*f,t.width*f,t.height*f)}))},e}(a.a),d=r(471),v=r(93),y=r(38);function g(t){return parseInt(t,10)}var _=function(){function t(t,e,r,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=r=n.extend({},r||{}),this.dpr=r.devicePixelRatio||i.e,this._singleCanvas=a,this.root=t;var s=t.style;s&&(s.webkitTapHighlightColor="transparent",s.webkitUserSelect="none",s.userSelect="none",s["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var h=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var l=t,c=l.width,f=l.height;null!=r.width&&(c=r.width),null!=r.height&&(f=r.height),this.dpr=r.devicePixelRatio||1,l.width=c*this.dpr,l.height=f*this.dpr,this._width=c,this._height=f;var d=new p(l,this,this.dpr);d.__builtin__=!0,d.initContext(),u[314159]=d,d.zlevel=314159,h.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var v=this._domRoot=function(t,e){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}(this._width,this._height);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),r=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,r,t,this._redrawId);for(var n=0;n<i.length;n++){var o=i[n],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===n?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,r=this._hoverlayer;if(r&&r.clear(),e){for(var i,n={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(r||(r=this._hoverlayer=this.getLayer(1e5)),i||(i=r.ctx).save(),Object(u.a)(i,a,n,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){Object(u.b)(t,e)},t.prototype._paintList=function(t,e,r,i){if(this._redrawId===i){r=r||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e,r),o=n.finished,a=n.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;Object(d.a)((function(){s._paintList(t,e,r,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,r)}))},t.prototype._doPaintList=function(t,e,r){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var h=this._zlevelList[s],u=this._layers[h];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||r)&&o.push(u)}for(var l=!0,c=!1,f=function(n){var s=o[n],h=s.ctx,u=a&&s.createRepaintRects(t,e,p._width,p._height);h.save();var f,d=r?s.__startIndex:s.__drawIndex,v=!r&&s.incremental&&Date.now,y=v&&Date.now(),g=s.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,g,u);else if(d===s.__startIndex){var _=t[d];_.incremental&&_.notClear&&!r||s.clear(!1,g,u)}-1===d&&(d=s.__startIndex);var m=function(e){var r={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(f=d;f<s.__endIndex;f++){var n=t[f];if(n.__inHover&&(c=!0),i._doPaintEl(n,s,a,e,r,f===s.__endIndex-1),v)if(Date.now()-y>15)break}
2r.prevElClipPaths&&h.restore()};if(u)if(0===u.length)f=s.__endIndex;else for(var b=p.dpr,x=0;x<u.length;++x){var w=u[x];h.save(),h.beginPath(),h.rect(w.x*b,w.y*b,w.width*b,w.height*b),h.clip(),m(w),h.restore()}else h.save(),m(),h.restore();s.__drawIndex=f,s.__drawIndex<s.__endIndex&&(l=!1)},p=this,d=0;d<o.length;d++)f(d);return y.a.wxa&&n.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:l,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,r,i,n,o){var a=e.ctx;if(r){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(Object(u.a)(a,t,n,o),t.setPrevPaintRect(s))}else Object(u.a)(a,t,n,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var r=this._layers[t];return r||((r=new p("zr_"+t,this,this.dpr)).zlevel=t,r.__builtin__=!0,this._layerConfig[t]?n.merge(r,this._layerConfig[t],!0):this._layerConfig[t-.01]&&n.merge(r,this._layerConfig[t-.01],!0),e&&(r.virtual=e),this.insertLayer(t,r),r.initContext()),r},t.prototype.insertLayer=function(t,e){var r=this._layers,i=this._zlevelList,o=i.length,a=this._domRoot,s=null,h=-1;if(r[t])n.logError("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(o>0&&t>i[0]){for(h=0;h<o-1&&!(i[h]<t&&i[h+1]>t);h++);s=r[i[h]]}if(i.splice(h+1,0,t),r[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?a.insertBefore(e.dom,u.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}else n.logError("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i];t.call(e,this._layers[n],n)}},t.prototype.eachBuiltinLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i],o=this._layers[n];o.__builtin__&&t.call(e,o,n)}},t.prototype.eachOtherLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var n=r[i],o=this._layers[n];o.__builtin__||t.call(e,o,n)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var r=1;r<t.length;r++){if((u=t[r]).zlevel!==t[r-1].zlevel||u.incremental){this._needsManuallyCompositing=!0;break}}var i,o,a=null,h=0;for(o=0;o<t.length;o++){var u,l=(u=t[o]).zlevel,c=void 0;i!==l&&(i=l,h=0),u.incremental?((c=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,h=1):c=this.getLayer(l+(h>
20?.01:0),this._needsManuallyCompositing),c.__builtin__||n.logError("ZLevel "+l+" 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),u.__dirty&s.a.REDARAW_BIT&&!u.__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,n.each(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?n.merge(r[t],e,!0):r[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+.01){var a=this._layers[o];n.merge(a,r[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,r=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],r.splice(n.indexOf(r,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),r.style.display="",this._width!==t||e!==this._height){for(var n in r.style.width=t+"px",r.style.height=e+"px",this._layers)this._layers.hasOwnProperty(n)&&this._layers[n].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new p("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var r=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height;this.eachLayer((function(t){t.__builtin__?r.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(r.save(),t.renderToCanvas(r),r.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,h=a.length;s<h;s++){var l=a[s];Object(u.a)(r,l,o,s===h-1)}return e.dom},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],i=["clientWidth","clientHeight"][t],n=["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[i]||g(s[r])||g(a.style[r]))-(g(s[n])||0)-(g(s[o])||0)|0},t.prototype.pathToImage=function(t,e){e=e||this.dpr;var r=document.createElement("canvas"),i=r.getContext("2d"),o=t.getBoundingRect(),a=t.style,s=a.shadowBlur*e,h=a.shadowOffsetX*e,l=a.shadowOffsetY*e,c=t.hasStroke()?a.lineWidth:0,f=Math.max(c/2,-h+s),p=Math.max(c/2,h+s),d=Math.max(c/2,-l+s),y=Math.max(c/2,l+s),g=o.width+f+p,_=o.height+d+y;r.width=g*e,r.height=_*e,i.scale(e,e),i.clearRect(0,0,g,_),i.dpr=e;var m={x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY,rotation:t.rotation,originX:t.originX,originY:t.originY};t.x=f-o.x,t.y=d-o.y,t.rotation=0,t.scaleX=1,t.scaleY=1,t.updateTransform(),t&&Object(u.a)(i,t,{inHover:!1,viewWidth:this._width,viewHeight:this._height},!0);var b=new v.a({style:{x:0,y:0,image:r}});return n.extend(t,m),b},t}();e.a=_},121:function(t,e,r){"use strict";var i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,i){this._$handlers||(this._$handlers={});var n=this._$handlers;if("function"==typeof e&&(i=r,r=e,e=null),!r||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),n[t]||(n[t]=[]);for(var a=0;a<n[t].length;a++)if(n[t][a].h===r)return this;var s={h:r,query:e,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},h=n[t].length-1,u=n[t][h];return u&&u.callAtLast?n[t].splice(h,0,s):n[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var i=[],n=0,o=r[t].length;n<o;n++)r[t][n].h!==e&&i.push(r[t][n]);r[t]=i}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],n=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var h=i[s];if(!n||!n.filter||null==h.query||n.filter(t,h.query))switch(o){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,e[0]);break;case 2:h.h.call(h.ctx,e[0],e[1]);break;default:h.h.apply(h.ctx,e)}}return n&&n.afterTrigger&&n.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){if(!this._$handlers)return this;var e=this._$handlers[t],r=this._$eventProcessor;if(e)for(var i=arguments,n=i.length,o=i[n-1],a=e.length,s=0;s<a;s++){var h=e[s];if(!r||!r.filter||null==h.query||r.filter(t,h.query))switch(n){case 0:h.h.call(o);break;case 1:h.h.call(o,i[0]);break;case 2:h.h.call(o,i[0],i[1]);break;default:h.h.apply(o,i.slice(1,n-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}();e.a=i},126:function(t,e,r){"use strict";r.d(e,"b",(function(){return T}));
vendor: 4,687 bytes, line 2
2var i=r(16),n=r(34),o=r(129),a=r(200),s=r(46),h={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],l=[],c=[],f=[],p=[],d=[],v=Math.min,y=Math.max,g=Math.cos,_=Math.sin,m=Math.sqrt,b=Math.abs,x=Math.PI,w=2*x,k="undefined"!=typeof Float32Array,S=[];function O(t){return Math.round(t/x*1e8)/1e8%2*x}function T(t,e){var r=O(t[0]);r<0&&(r+=w);var i=r-t[0],n=t[1];n+=i,!e&&n-r>=w?n=r+w:e&&r-n>=w?n=r-w:!e&&r>n?n=r+(w-O(r-n)):e&&r<n&&(n=r-(w-O(n-r))),t[0]=r,t[1]=n}var C=function(){function t(t){this.dpr=1,this._version=0,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,r){(r=r||0)>0&&(this._ux=b(r/o.e/t)||0,this._uy=b(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(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=b(t-this._xi)>this._ux||b(e-this._yi)>this._uy||this._len<5;return this.addData(h.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,i,n,o){return this.addData(h.C,t,e,r,i,n,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,r,i,n,o):this._ctx.bezierCurveTo(t,e,r,i,n,o)),this._xi=n,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,r,i){return this.addData(h.Q,t,e,r,i),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,r,i):this._ctx.quadraticCurveTo(t,e,r,i)),this._xi=r,this._yi=i,this},t.prototype.arc=function(t,e,r,i,n,o){S[0]=i,S[1]=n,T(S,o),i=S[0];var a=(n=S[1])-i;return this.addData(h.A,t,e,r,r,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,r,i,n,o),this._xi=g(n)*r+t,this._yi=_(n)*r+e,this},t.prototype.arcTo=function(t,e,r,i,n){return this._ctx&&this._ctx.arcTo(t,e,r,i,n),this},t.prototype.rect=function(t,e,r,i){return this._ctx&&this._ctx.rect(t,e,r,i),this.addData(h.R,t,e,r,i),this},t.prototype.closePath=function(){this.addData(h.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;r<t.length;r++)e+=t[r];this._dashSum=e,this._needsDash=!0}else this._lineDash=null,this._needsDash=!1;return this},t.prototype.setLineDashOffset=function(t){return this._dashOffset=t,this},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!k||(this.data=new Float32Array(e));for(var r=0;r<e;r++)this.data[r]=t[r];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,r=0,i=this._len,n=0;n<e;n++)r+=t[n].len();k&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+r));for(n=0;n<e;n++)for(var o=t[n].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,r,i,n,o,a,s,h){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var l=0;l<arguments.length;l++)u[this._len++]=arguments[l]}},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype._dashedLineTo=function(t,e){var r,i,n=this._dashSum,o=this._lineDash,a=this._ctx,s=this._dashOffset,h=this._xi,u=this._yi,l=t-h,c=e-u,f=m(l*l+c*c),p=h,d=u,g=o.length;for(s<0&&(s=n+s),p-=(s%=n)*(l/=f),d-=s*(c/=f);l>0&&p<=t||l<0&&p>=t||0===l&&(c>0&&d<=e||c<0&&d>=e);)p+=l*(r=o[i=this._dashIdx]),d+=c*r,this._dashIdx=(i+1)%g,l>0&&p<h||l<0&&p>h||c>0&&d<u||c<0&&d>u||a[i%2?"moveTo":"lineTo"](l>=0?v(p,t):y(p,t),c>=0?v(d,e):y(d,e));l=p-t,c=d-e,this._dashOffset=-m(l*l+c*c)},t.prototype._dashedBezierTo=function(t,e,r,i,n,o){var a,h,u,l,c,f=this._ctx,p=this._dashSum,d=this._dashOffset,v=this._lineDash,y=this._xi,g=this._yi,_=0,b=this._dashIdx,x=v.length,w=0;for(d<0&&(d=p+d),d%=p,a=0;a<1;a+=.1)h=Object(s.a)(y,t,r,n,a+.1)-Object(s.a)(y,t,r,n,a),u=Object(s.a)(g,e,
2i,o,a+.1)-Object(s.a)(g,e,i,o,a),_+=m(h*h+u*u);for(;b<x&&!((w+=v[b])>d);b++);for(a=(w-d)/_;a<=1;)l=Object(s.a)(y,t,r,n,a),c=Object(s.a)(g,e,i,o,a),b%2?f.moveTo(l,c):f.lineTo(l,c),a+=v[b]/_,b=(b+1)%x;b%2!=0&&f.lineTo(n,o),h=n-l,u=o-c,this._dashOffset=-m(h*h+u*u)},t.prototype._dashedQuadraticTo=function(t,e,r,i){var n=r,o=i;r=(r+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,r,i,n,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(){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;t<this._len;){var l=e[t++],v=1===t;switch(v&&(s=r=e[t],u=o=e[t+1]),l){case h.M:r=s=e[t++],o=u=e[t++],p[0]=s,p[1]=u,d[0]=s,d[1]=u;break;case h.L:Object(a.c)(r,o,e[t],e[t+1],p,d),r=e[t++],o=e[t++];break;case h.C:Object(a.b)(r,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],p,d),r=e[t++],o=e[t++];break;case h.Q:Object(a.e)(r,o,e[t++],e[t++],e[t],e[t+1],p,d),r=e[t++],o=e[t++];break;case h.A:var y=e[t++],m=e[t++],b=e[t++],x=e[t++],w=e[t++],k=e[t++]+w;t+=1;var S=!e[t++];v&&(s=g(w)*b+y,u=_(w)*x+m),Object(a.a)(y,m,b,x,w,k,S,p,d),r=g(k)*b+y,o=_(k)*x+m;break;case h.R:s=r=e[t++],u=o=e[t++];var O=e[t++],T=e[t++];Object(a.c)(s,u,s+O,u+T,p,d);break;case h.Z:r=s,o=u}i.min(c,c,p),i.max(f,f,d)}return 0===t&&(c[0]=c[1]=f[0]=f[1]=0),new n.a(c[0],c[1],f[0]-c[0],f[1]-c[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,r=this._ux,i=this._uy,n=0,o=0,a=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,c=0,f=0,p=0;p<e;){var d=t[p++],m=1===p;m&&(a=n=t[p],u=o=t[p+1]);var x=-1;switch(d){case h.M:n=a=t[p++],o=u=t[p++];break;case h.L:var k=t[p++],S=(C=t[p++])-o;(b(E=k-n)>r||b(S)>i||p===e-1)&&(x=Math.sqrt(E*E+S*S),n=k,o=C);break;case h.C:var O=t[p++],T=t[p++],C=(k=t[p++],t[p++]),A=t[p++],j=t[p++];x=Object(s.d)(n,o,O,T,k,C,A,j,10),n=A,o=j;break;case h.Q:O=t[p++],T=t[p++],k=t[p++],C=t[p++];x=Object(s.k)(n,o,O,T,k,C,10),n=k,o=C;break;case h.A:var P=t[p++],M=t[p++],D=t[p++],L=t[p++],R=t[p++],I=t[p++],z=I+R;p+=1;t[p++];m&&(a=g(R)*D+P,u=_(R)*L+M),x=y(D,L)*v(w,Math.abs(I)),n=g(z)*D+P,o=_(z)*L+M;break;case h.R:a=n=t[p++],u=o=t[p++],x=2*t[p++]+2*t[p++];break;case h.Z:var E=a-n;S=u-o;x=Math.sqrt(E*E+S*S),n=a,o=u}x>=0&&(l[f++]=x,c+=x)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var r,i,n,o,a,c,f,p,d=this.data,m=this._ux,x=this._uy,w=this._len,k=e<1,S=0,O=0;if(!k||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=e*this._pathLen))t:for(var T=0;T<w;){var C=d[T++],A=1===T;switch(A&&(r=n=d[T],i=o=d[T+1]),C){case h.M:r=n=d[T++],i=o=d[T++],t.moveTo(n,o);break;case h.L:if(a=d[T++],c=d[T++],b(a-n)>m||b(c-o)>x||T===w-1){if(k){if(S+(Q=f[O++])>p){var j=(p-S)/Q;t.lineTo(n*(1-j)+a*j,o*(1-j)+c*j);break t}S+=Q}t.lineTo(a,c),n=a,o=c}break;case h.C:var P=d[T++],M=d[T++],D=d[T++],L=d[T++],R=d[T++],I=d[T++];if(k){if(S+(Q=f[O++])>p){j=(p-S)/Q;Object(s.g)(n,P,D,R,j,u),Object(s.g)(o,M,L,I,j,l),t.bezierCurveTo(u[1],l[1],u[2],l[2],u[3],l[3]);break t}S+=Q}t.bezierCurveTo(P,M,D,L,R,I),n=R,o=I;break;case h.Q:P=d[T++],M=d[T++],D=d[T++],L=d[T++];if(k){if(S+(Q=f[O++])>p){j=(p-S)/Q;Object(s.n)(n,P,D,j,u),Object(s.n)(o,M,L,j,l),t.quadraticCurveTo(u[1],l[1],u[2],l[2]);break t}S+=Q}t.quadraticCurveTo(P,M,D,L),n=D,o=L;break;case h.A:var z=d[T++],E=d[T++],B=d[T++],F=d[T++],H=d[T++],N=d[T++],W=d[T++],U=!d[T++],X=B>F?B:F,q=b(B-F)>.001,Y=H+N,G=!1;if(k)S+(Q=f[O++])>p&&(Y=H+N*(p-S)/Q,G=!0),S+=Q;if(q&&t.ellipse?t.ellipse(z,E,B,F,W,H,Y,U):t.arc(z,E,X,H,Y,U),G)break t;A&&(r=g(H)*B+z,i=_(H)*F+E),n=g(Y)*B+z,o=_(Y)*F+E;break;case h.R:r=n=d[T],i=o=d[T+1],a=d[T++],c=d[T++];var Z=d[T++],V=d[T++];if(k){if(S+(Q=f[O++])>p){var K=p-S;t.moveTo(a,c),t.lineTo(a+v(K,Z),c),(K-=Z)>0&&t.lineTo(a+Z,c+v(K,V)),(K-=V)>0&&t.lineTo(a+y(Z-K,0),c+V),(K-=Z)>0&&t.lineTo(a,c+y(V-K,0));break t}S+=Q}t.rect(a,c,Z,V);break;case h.Z:if(k){var Q;if(S+(Q=f[O++])>p){j=(p-S)/Q;t.lineTo(n*(1-j)+r*j,o*(1-j)+i*j);break t}S+=Q}t.closePath(),n=r,o=i}}},t.CMD=h,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,void(e._uy=0)),t}();e.a=C},129:function(t,e,r){"use strict";r.d(e,"e",(function(){return n})),r.d(e,"b",(function(){return o}
2)),r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return h}));var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var n=i,o=.4,a="#333",s="#ccc",h="#eee"},148:function(t,e,r){"use strict";var i=r(173),n=r(220),o=r(34),a=r(121),s=r(49),h=r(0),u=r(129),l=r(64),c=r(38),f=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],p={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},d={},v=new o.a(0,0,0,0),y=function(){function t(t){this.id=Object(h.guid)(),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 i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[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,i=r.local,n=e.attachedTransform,o=void 0,a=void 0,h=!1;n.parent=i?this:null;var u=!1;if(n.x=e.x,n.y=e.y,n.originX=e.originX,n.originY=e.originY,n.rotation=e.rotation,n.scaleX=e.scaleX,n.scaleY=e.scaleY,null!=r.position){var l=v;r.layoutRect?l.copy(r.layoutRect):l.copy(this.getBoundingRect()),i||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(d,r,l):Object(s.d)(d,r,l),n.x=d.x,n.y=d.y,o=d.align,a=d.verticalAlign;var c=r.origin;if(c&&null!=r.rotation){var f=void 0,p=void 0;"center"===c?(f=.5*l.width,p=.5*l.height):(f=Object(s.h)(c[0],l.width),p=Object(s.h)(c[1],l.height)),u=!0,n.originX=-n.x+f+(i?0:l.x),n.originY=-n.y+p+(i?0:l.y)}}null!=r.rotation&&(n.rotation=r.rotation);var y=r.offset;y&&(n.x+=y[0],n.y+=y[1],u||(n.originX=-y[0],n.originY=-y[1]));var g=null==r.inside?"string"==typeof r.position&&r.position.indexOf("inside")>=0:r.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,b=void 0,x=void 0;g&&this.canBeInsideText()?(m=r.insideFill,b=r.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=b&&"auto"!==b||(b=this.getInsideTextStroke(m),x=!0)):(m=r.outsideFill,b=r.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=b&&"auto"!==b||(b=this.getOutsideStroke(m),x=!0)),(m=m||"#000")===_.fill&&b===_.stroke&&x===_.autoStroke&&o===_.align&&a===_.verticalAlign||(h=!0,_.fill=m,_.stroke=b,_.autoStroke=x,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),h&&e.dirtyStyle(),e.markRedraw()}},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.d:u.a},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r="string"==typeof e&&Object(l.parse)(e);r||(r=[255,255,255,1]);for(var i=r[3],n=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*i+(n?0:255)*(1-i);return r[3]=1,Object(l.stringify)(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||{},Object(h.extend)(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(Object(h.isObject)(t))for(var r=t,i=Object(h.keys)(r),n=0;n<i.length;n++){var o=i[n];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,r=0;r<this.animators.length;r++){var i=this.animators[r],n=i.__fromStateTransition;if(!n||"__zr_normal__"===n){var o=i.targetName,a=o?e[o]:e;i.saveFinalToTarget(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,f)},t.prototype._savePrimaryToNormal=function(t,e,r){for(var i=0;i<r.length;i++){var n=r[i];
2null==t[n]||n in e||(e[n]=this[n])}},t.prototype.hasState=function(){return this.currentStates.length>0},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("__zr_normal__",!1,t)},t.prototype.useState=function(e,r,i){var n="__zr_normal__"===e;if(this.hasState()||!n){var o=this.currentStates,a=this.stateTransition;if(!(Object(h.indexOf)(o,e)>=0)||!r&&1!==o.length){var s;if(this.stateProxy&&!n&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||n){n||this.saveCurrentToNormalState(s);var u=!(!s||!s.hoverLayer);return u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,r,!i&&!this.__inHover&&a&&a.duration>0,a),this._textContent&&this._textContent.useState(e,r),this._textGuide&&this._textGuide.useState(e,r),n?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~t.REDARAW_BIT),s}Object(h.logError)("State "+e+" not exists.")}}},t.prototype.useStates=function(e,r){if(e.length){var i=[],n=this.currentStates,o=e.length,a=o===n.length;if(a)for(var s=0;s<o;s++)if(e[s]!==n[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var h=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(h,e)),u||(u=this.states[h]),u&&i.push(u)}var l=!(!i[o-1]||!i[o-1].hoverLayer);l&&this._toggleHoverLayerFlag(!0);var c=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(c),this._applyStateObj(e.join(","),c,this._normalState,!1,!r&&!this.__inHover&&f&&f.duration>0,f),this._textContent&&this._textContent.useStates(e),this._textGuide&&this._textGuide.useStates(e),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~t.REDARAW_BIT)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(h.indexOf)(this.currentStates,t);if(e>=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},t.prototype.replaceState=function(t,e,r){var i=this.currentStates.slice(),n=Object(h.indexOf)(i,t),o=Object(h.indexOf)(i,e)>=0;n>=0?o?i.splice(n,1):i[n]=e:r&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,r={},i=0;i<t.length;i++){var n=t[i];Object(h.extend)(r,n),n.textConfig&&(e=e||{},Object(h.extend)(e,n.textConfig))}return e&&(r.textConfig=e),r},t.prototype._applyStateObj=function(t,e,r,i,n,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=Object(h.extend)({},i?this.textConfig:r.textConfig),Object(h.extend)(this.textConfig,e.textConfig)):a&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},u=!1,l=0;l<f.length;l++){var c=f[l],d=n&&p[c];e&&null!=e[c]?d?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=r[c]&&(d?(u=!0,s[c]=r[c]):this[c]=r[c])}if(!n)for(l=0;l<this.animators.length;l++){var v=this.animators[l],y=v.targetName;v.__changeFinalValue(y?(e||r)[y]:e||r)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.attachedTransform=new i.a,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(h.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.attachedTransform=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=t.REDARAW_BIT;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,r=this._textGuide;e&&(e.__inHover=t),r&&(r.__inHover=t)},t.prototype.addSelfToZr=function(t){this.__zr=t;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.addAnimator(e[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)},t.prototype.removeSelfFromZr=function(t){this.__zr=null;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.removeAnimator(e[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)},t.prototype.animate=function(t,e){var r=t?this[t]:this;if(r){var i=new n.b(r,e);return this.addAnimator(i,t),i}Object(h.logError)('Property "'+t+'" is not existed in element '+this.id
2)},t.prototype.addAnimator=function(t,e){var r=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,r=Object(h.indexOf)(e,t);r>=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,i=r.length,n=[],o=0;o<i;o++){var a=r[o];t&&t!==a.scope?n.push(a):a.stop(e)}return this.animators=n,this},t.prototype.animateTo=function(t,e,r){g(this,t,e,r)},t.prototype.animateFrom=function(t,e,r){g(this,t,e,r,!0)},t.prototype._transitionState=function(t,e,r,i){for(var n=g(this,e,r,i),o=0;o<n.length;o++)n[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.REDARAW_BIT=1,t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=!1,e.silent=!1,e.isGroup=!1,e.draggable=!1,e.dragging=!1,e.ignoreClip=!1,e.__inHover=!1,e.__dirty=t.REDARAW_BIT;var r={};function i(t,e,i){r[t+e+i]||(r[t+e+i]=!0)}function n(t,r,n,o){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[o]},set:function(e){t[o]=e}})}Object.defineProperty(e,t,{get:function(){(i(t,n,o),this[r])||a(this,this[r]=[]);return this[r]},set:function(e){i(t,n,o),this[n]=e[0],this[o]=e[1],this[r]=e,a(this,e)}})}Object.defineProperty&&(!c.a.browser.ie||c.a.browser.version>8)&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function g(t,e,r,i,o){var a=[];!function t(e,r,i,o,a,s,u,l){for(var c=[],f=[],p=Object(h.keys)(o),d=a.duration,v=a.delay,y=a.additive,g=a.setToFinal,_=!Object(h.isObject)(s),b=0;b<p.length;b++){var x=p[b];if(null!=i[x]&&null!=o[x]&&(_||s[x]))if(Object(h.isObject)(o[x])&&!Object(h.isArrayLike)(o[x])){if(r){l||(i[x]=o[x],e.updateDuringAnimation(r));continue}t(e,x,i[x],o[x],a,s&&s[x],u,l)}else c.push(x),f.push(x);else l||(i[x]=o[x],e.updateDuringAnimation(r),f.push(x))}var w=c.length;if(w>0||a.force&&!u.length){for(var k=e.animators,S=[],O=0;O<k.length;O++)k[O].targetName===r&&S.push(k[O]);if(!y&&S.length)for(O=0;O<S.length;O++){if(S[O].stopTracks(f)){var T=Object(h.indexOf)(k,S[O]);k.splice(T,1)}}var C=void 0,A=void 0,j=void 0;if(l){A={},g&&(C={});for(O=0;O<w;O++){x=c[O];A[x]=i[x],g?C[x]=o[x]:i[x]=o[x]}}else if(g){j={};for(O=0;O<w;O++){x=c[O];j[x]=Object(n.a)(i[x]),m(i,o,x)}}var P=new n.b(i,!1,y?S:null);P.targetName=r,a.scope&&(P.scope=a.scope),g&&C&&P.whenWithKeys(0,C,c),j&&P.whenWithKeys(0,j,c),P.whenWithKeys(null==d?500:d,l?A:o,c).delay(v||0),e.addAnimator(P,r),u.push(P)}}(t,"",t,e,r=r||{},i,a,o);var s=a.length,u=!1,l=r.done,c=r.aborted,f=function(){u=!0,--s<=0&&(u?l&&l():c&&c())},p=function(){--s<=0&&(u?l&&l():c&&c())};s||l&&l(),a.length>0&&r.during&&a[0].during((function(t,e){r.during(e)}));for(var d=0;d<a.length;d++){var v=a[d];f&&v.done(f),p&&v.aborted(p),v.start(r.easing,r.force)}return a}function _(t,e,r){for(var i=0;i<r;i++)t[i]=e[i]}function m(t,e,r){if(Object(h.isArrayLike)(e[r]))if(Object(h.isArrayLike)(t[r])||(t[r]=[]),Object(h.isTypedArray)(e[r])){var i=e[r].length;t[r].length!==i&&(t[r]=new e[r].constructor(i),_(t[r],e[r],i))}else{var n=e[r],o=t[r],a=n.length;if(l=n,Object(h.isArrayLike)(l[0]))for(var s=n[0].length,u=0;u<a;u++)o[u]?_(o[u],n[u],s):o[u]=Array.prototype.slice.call(n[u]);else _(o,n,a);o.length=n.length}else t[r]=e[r];var l}Object(h.mixin)(y,a.a),Object(h.mixin)(y,i.a),e.a=y},16:function(t,e,r){"use strict";function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function n(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,r){return t[0]=e,t[1]=r,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function h(t,e,r,i){return t[0]=e[0]+r[0]*i,t[1]=e[1]+r[1]*i,t}function u(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function l(t){return Math.sqrt(f(t))}r.r(e),r.d(e,"create",(function(){return i})),r.d(e,"copy",(function(){return n})),r.d(e,"clone",(function(){return o}
2)),r.d(e,"set",(function(){return a})),r.d(e,"add",(function(){return s})),r.d(e,"scaleAndAdd",(function(){return h})),r.d(e,"sub",(function(){return u})),r.d(e,"len",(function(){return l})),r.d(e,"length",(function(){return c})),r.d(e,"lenSquare",(function(){return f})),r.d(e,"lengthSquare",(function(){return p})),r.d(e,"mul",(function(){return d})),r.d(e,"div",(function(){return v})),r.d(e,"dot",(function(){return y})),r.d(e,"scale",(function(){return g})),r.d(e,"normalize",(function(){return _})),r.d(e,"distance",(function(){return m})),r.d(e,"dist",(function(){return b})),r.d(e,"distanceSquare",(function(){return x})),r.d(e,"distSquare",(function(){return w})),r.d(e,"negate",(function(){return k})),r.d(e,"lerp",(function(){return S})),r.d(e,"applyTransform",(function(){return O})),r.d(e,"min",(function(){return T})),r.d(e,"max",(function(){return C}));var c=l;function f(t){return t[0]*t[0]+t[1]*t[1]}var p=f;function d(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function v(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function _(t,e){var r=l(e);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function m(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var b=m;function x(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=x;function k(t,e){return t[0]=-e[0],t[1]=-e[1],t}function S(t,e,r,i){return t[0]=e[0]+i*(r[0]-e[0]),t[1]=e[1]+i*(r[1]-e[1]),t}function O(t,e,r){var i=e[0],n=e[1];return t[0]=r[0]*i+r[2]*n+r[4],t[1]=r[1]*i+r[3]*n+r[5],t}function T(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function C(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}},173:function(t,e,r){"use strict";var i=r(29),n=r(16),o=i.identity;function a(t){return t>5e-5||t<-5e-5}var s=[],h=[],u=i.create(),l=Math.abs,c=function(){function t(){}var e;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 a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent,e=t&&t.transform,r=this.needLocalTransform(),n=this.transform;r||e?(n=n||i.create(),r?this.getLocalTransform(n):o(n),e&&(r?i.mul(n,t.transform,n):i.copy(n,t.transform)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&o(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var r=s[0]<0?-1:1,n=s[1]<0?-1:1,o=((s[0]-r)*e+r)/s[0]||0,a=((s[1]-n)*e+n)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,t)},t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},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];a(e-1)&&(e=Math.sqrt(e)),a(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&&(i.mul(h,t.invTransform,e),e=h);var r=this.originX,n=this.originY;(r||n)&&(u[4]=r,u[5]=n,i.mul(h,e,u),h[4]-=r,h[5]-=n,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],i=this.invTransform;return i&&n.applyTransform(r,r,i),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],i=this.transform;return i&&n.applyTransform(r,r,i),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){o(e=e||[]);var r=t.originX||0,n=t.originY||0,a=t.scaleX,s=t.scaleY,h=t.rotation||0,u=t.x,l=t.y;return e[4]-=r,e[5]-=n,e[0]*=a,e[1]*=s,e[2]*=a,e[3]*=s,e[4]*=a,e[5]*=s,h&&i.rotate(e,e,h),e[4]+=r,e[5]+=n,e[4]+=u,e[5]+=l,e},t.initDefaultProps=((e=t.prototype).x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.rotation=0,void(e.globalScaleRatio=1)),t}();e.a=c},1760:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));r(20),r(66);var i=r(22),n={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},o={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array
2]":!0},a=Object.prototype.toString;function s(t){if(null==t||"object"!==Object(i.a)(t))return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!p(t)){e=[];for(var h=0,u=t.length;h<u;h++)e[h]=s(t[h])}}else if(o[r]){if(!p(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var c=0,d=t.length;c<d;c++)e[c]=s(t[c])}}}else if(!n[r]&&!p(t)&&!f(t))for(var v in e={},t)t.hasOwnProperty(v)&&(e[v]=s(t[v]));return e}function h(t,e,r){if(!l(e)||!l(t))return r?s(e):t;for(var i in e)if(e.hasOwnProperty(i)){var n=t[i],o=e[i];!l(o)||!l(n)||u(o)||u(n)||f(o)||f(n)||c(o)||c(n)||p(o)||p(n)?!r&&i in t||(t[i]=s(e[i])):h(n,o,r)}return t}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function l(t){var e=Object(i.a)(t);return"function"===e||!!t&&"object"===e}function c(t){return!!n[a.call(t)]}function f(t){return"object"===Object(i.a)(t)&&"number"==typeof t.nodeType&&"object"===Object(i.a)(t.ownerDocument)}function p(t){return t.__ec_primitive__}},186:function(t,e,r){"use strict";r.d(e,"c",(function(){return b})),r.d(e,"b",(function(){return A})),r.d(e,"a",(function(){return j}));var i=r(106),n=r(126),o=r(242),a=r(299),s=r(45),h=r(93),u=r(214),l=r(49),c=r(0),f=r(473),p=r(148),d=r(289),v=new n.a(!0);function y(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}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 b(t,e,r){var i=Object(o.a)(e.image,e.__image,r);if(Object(o.c)(i)){var n=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&n.setTransform){var a=new DOMMatrix;a.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),a.scaleSelf(e.scaleX||1,e.scaleY||1),a.translateSelf(e.x||0,e.y||0),n.setTransform(a)}return n}}var x=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function k(t,e,r,n,o){var a=!1;if(!n&&e===(r=r||{}))return!1;if(n||e.opacity!==r.opacity){a||(T(t,o),a=!0);var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.b.opacity:s}(n||e.blend!==r.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||i.b.blend);for(var h=0;h<x.length;h++){var u=x[h];(n||e[u]!==r[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(n||e.shadowColor!==r.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||i.b.shadowColor),a}function S(t,e,r,i,n){var o=C(e,n.inHover),a=i?null:r&&C(r,n.inHover)||{};if(o===a)return!1;var s=k(t,o,a,i,n);if((i||o.fill!==a.fill)&&(s||(T(t,n),s=!0),t.fillStyle=o.fill),(i||o.stroke!==a.stroke)&&(s||(T(t,n),s=!0),t.strokeStyle=o.stroke),(i||o.opacity!==a.opacity)&&(s||(T(t,n),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var h=o.lineWidth/(o.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1);t.lineWidth!==h&&(s||(T(t,n),s=!0),t.lineWidth=h)}for(var u=0;u<w.length;u++){var l=w[u],c=l[0];(i||o[c]!==a[c])&&(s||(T(t,n),s=!0),t[c]=o[c]||l[1])}return s}function O(t,e){var r=e.transform,i=t.dpr||1;r?t.setTransform(i*r[0],i*r[1],i*r[2],i*r[3],i*r[4],i*r[5]):t.setTransform(i,0,0,i,0,0)}function T(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function C(t,e){return e&&t.__hoverStyle||t.style}function A(t,e){j(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function j(t,e,r,i){var n=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1))return e.__dirty&=~p.a.REDARAW_BIT,void(e.__isRendered=!1);var x=e.__clipPaths,w=r.prevElClipPaths,A=!1,P=!1;if(w&&!Object(a.b)(x,w)||(w&&w.length&&(T(t,r),t.restore(),P=A=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),x&&x.length&&(T(t,r),t.save(),function(t,e,r){for(var i=!1,n=0;n<t.length;n++){var o=t[n];i=i||o.isZeroArea(),O(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}r.allClipped=i}(x,t,r),A=!0),r.prevElClipPaths=x),r.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var M=r.prevEl;M||(P=A=!0);var D,L,R=e instanceof s.b&&e.autoBatch&&function(t){var e=g(t),r=y(t);return!(t.lineDash||!(+e^+r)||e&&"string"!=typeof t.fill||r&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);A||(D=n,L=M.transform,D&&L?D[0]!==L[0]||D[1]!==L[1]||D[2]!==L[2]||D[3]!==L[3]||D[4]!==L[4]||D[5]!==L[5]:D||L)?(T(t,r),O(t,e)):R||T(t,r);var I=C(e,r.inHover);e instanceof s.b?(1!==r.lastDrawType&&(P=!0,r.lastDrawType=1),S(t,e,M,P,r),R&&(r.batchFill||r.batchStroke)||t.beginPath(),function(t,e,r,i){var n=y(r),o=g(r),h=r.strokePercent,u=h<1,l=!e.path;e.silent&&!u||!l||e.createPathProxy();var p=e.path||v;
2if(!i){var d=r.fill,x=r.stroke,w=o&&!!d.colorStops,k=n&&!!x.colorStops,S=o&&!!d.image,O=n&&!!x.image,T=void 0,C=void 0,A=void 0,j=void 0,P=void 0;(w||k)&&(P=e.getBoundingRect()),w&&(T=e.__dirty?Object(a.a)(t,d,P):e.__canvasFillGradient,e.__canvasFillGradient=T),k&&(C=e.__dirty?Object(a.a)(t,x,P):e.__canvasStrokeGradient,e.__canvasStrokeGradient=C),S&&(A=e.__dirty||!e.__canvasFillPattern?b(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=A),O&&(j=e.__dirty||!e.__canvasStrokePattern?b(t,x,e):e.__canvasStrokePattern,e.__canvasStrokePattern=A),w?t.fillStyle=T:S&&(A?t.fillStyle=A:o=!1),k?t.strokeStyle=C:O&&(j?t.strokeStyle=j:n=!1)}var M=r.lineDash&&r.lineWidth>0&&Object(f.a)(r.lineDash,r.lineWidth),D=r.lineDashOffset,L=!!t.setLineDash,R=e.getGlobalScale();if(p.setScale(R[0],R[1],e.segmentIgnoreThreshold),M){var I=r.strokeNoScale&&e.getLineScale?e.getLineScale():1;I&&1!==I&&(M=Object(c.map)(M,(function(t){return t/I})),D/=I)}var z=!0;(l||e.__dirty&s.b.SHAPE_CHANGED_BIT||M&&!L&&n)&&(p.setDPR(t.dpr),u?p.setContext(null):(p.setContext(t),z=!1),p.reset(),M&&!L&&(p.setLineDash(M),p.setLineDashOffset(D)),e.buildPath(p,e.shape,i),p.toStatic(),e.pathUpdated()),z&&p.rebuildPath(t,u?h:1),M&&L&&(t.setLineDash(M),t.lineDashOffset=D),i||(r.strokeFirst?(n&&m(t,r),o&&_(t,r)):(o&&_(t,r),n&&m(t,r))),M&&L&&t.setLineDash([])}(t,e,I,R),R&&(r.batchFill=I.fill||"",r.batchStroke=I.stroke||"")):e instanceof u.a?(3!==r.lastDrawType&&(P=!0,r.lastDrawType=3),S(t,e,M,P,r),function(t,e,r){var i=r.text;if(null!=i&&(i+=""),i){t.font=r.font||l.a,t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var n=void 0;if(t.setLineDash){var o=r.lineDash&&r.lineWidth>0&&Object(f.a)(r.lineDash,r.lineWidth),a=r.lineDashOffset;if(o){var s=r.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(o=Object(c.map)(o,(function(t){return t/s})),a/=s),t.setLineDash(o),t.lineDashOffset=a,n=!0}}r.strokeFirst?(y(r)&&t.strokeText(i,r.x,r.y),g(r)&&t.fillText(i,r.x,r.y)):(g(r)&&t.fillText(i,r.x,r.y),y(r)&&t.strokeText(i,r.x,r.y)),n&&t.setLineDash([])}}(t,e,I)):e instanceof h.a?(2!==r.lastDrawType&&(P=!0,r.lastDrawType=2),function(t,e,r,i,n){k(t,C(e,n.inHover),r&&C(r,n.inHover),i,n)}(t,e,M,P,r),function(t,e,r){var i=e.__image=Object(o.a)(r.image,e.__image,e,e.onload);if(i&&Object(o.c)(i)){var n=r.x||0,a=r.y||0,s=e.getWidth(),h=e.getHeight(),u=i.width/i.height;if(null==s&&null!=h?s=h*u:null==h&&null!=s?h=s/u:null==s&&null==h&&(s=i.width,h=i.height),r.sWidth&&r.sHeight){var l=r.sx||0,c=r.sy||0;t.drawImage(i,l,c,r.sWidth,r.sHeight,n,a,s,h)}else if(r.sx&&r.sy){var f=s-(l=r.sx),p=h-(c=r.sy);t.drawImage(i,l,c,f,p,n,a,s,h)}else t.drawImage(i,n,a,s,h)}}(t,e,I)):e instanceof d.a&&(4!==r.lastDrawType&&(P=!0,r.lastDrawType=4),function(t,e,r){var i=e.getDisplayables(),n=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(l=i[o]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),j(t,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var h=0,u=n.length;h<u;h++){var l;(l=n[h]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),j(t,l,s,h===u-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,r)),R&&i&&T(t,r),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}}},200:function(t,e,r){"use strict";r.d(e,"d",(function(){return p})),r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return g})),r.d(e,"e",(function(){return _})),r.d(e,"a",(function(){return m}));var i=r(16),n=r(46),o=Math.min,a=Math.max,s=Math.sin,h=Math.cos,u=2*Math.PI,l=i.create(),c=i.create(),f=i.create();function p(t,e,r){if(0!==t.length){for(var i=t[0],n=i[0],s=i[0],h=i[1],u=i[1],l=1;l<t.length;l++)i=t[l],n=o(n,i[0]),s=a(s,i[0]),h=o(h,i[1]),u=a(u,i[1]);e[0]=n,e[1]=h,r[0]=s,r[1]=u}}function d(t,e,r,i,n,s){n[0]=o(t,r),n[1]=o(e,i),s[0]=a(t,r),s[1]=a(e,i)}var v=[],y=[];function g(t,e,r,i,s,h,u,l,c,f){var p=n.c,d=n.a,g=p(t,r,s,u,v);c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var _=0;_<g;_++){var m=d(t,r,s,u,v[_]);c[0]=o(m,c[0]),f[0]=a(m,f[0])}g=p(e,i,h,l,y);for(_=0;_<g;_++){var b=d(e,i,h,l,y[_]);c[1]=o(b,c[1]),f[1]=a(b,f[1])}c[0]=o(t,c[0]),f[0]=a(t,f[0]),c[0]=o(u,c[0]),f[0]=a(u,f[0]),c[1]=o(e,c[1]),f[1]=a(e,f[1]),c[1]=o(l,c[1]),f[1]=a(l,f[1])}function _(t,e,r,i,s,h,u,l){var c=n.j,f=n.h,p=a(o(c(t,r,s),1),0),d=a(o(c(e,i,h),1),0),v=f(t,r,s,p),y=f(e,i,h,d);u[0]=o(t,s,v),u[1]=o(e,h,y),l[0]=a(t,s,v),l[1]=a(e,h,y)}function m(t,e,r,n,o,a,p,d,v){var y=i.min,g=i.max,_=Math.abs(o-a);if(_%u<1e-4&&_>1e-4)return d[0]=t-r,d[1]=e-n,v[0]=t+r,void(v[1]=e+n);if(l[0]=h(o)*r+t,l[1]=s(o)*n+e,c[0]=h(a)*r+t,c[1]=s(a)*n+e,y(d,l,c),g(v,l,c),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!p?a+=u:o<a&&p&&(o+=u),p){var m=a;a=o,o=m}for(var b=0;b<a;b+=Math.PI/2)b>o&&(f[0]=h(b)*r+t,f[1]=s(b)*n+e,y(d,f,d),g(v,f,v))}},214:function(t,e,r){"use strict";var i=r(47),n=r(106),o=r(49),a=r(45),s=r(0),h=Object(s.defaults)({strokeFirst:!0,font:o.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.a)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Object(s.createObject)(h,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var r=Object(o.e)(e,t.font,t.textAlign,t.textBaseline);if(r.x+=t.x||0,r.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;
vendor: 10,328 bytes, line 2
2r.x-=i/2,r.y-=i/2,r.width+=i,r.height+=i}this._rect=r}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(n.c);u.prototype.type="tspan",e.a=u},220:function(t,e,r){"use strict";r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return g}));var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),-r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,r=.1;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=.4*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,r=.1,i=.4;return 0===t?0:1===t?1:(!r||r<1?(r=1,e=.1):e=i*Math.asin(1/r)/(2*Math.PI),(t*=2)<1?r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i,o=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var r=(t-this._startTime-this._pausedTime)/this._life;r<0&&(r=0),r=Math.min(r,1);var i=this.easing,o="string"==typeof i?n[i]:i,a="function"==typeof o?o(r):r;if(this.onframe&&this.onframe(a),1===r){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),a=r(64),s=r(0),h=Array.prototype.slice;function u(t,e,r){return(e-t)*r+t}function l(t,e,r,i){for(var n=e.length,o=0;o<n;o++)t[o]=u(e[o],r[o],i)}function c(t,e,r,i){for(var n=e.length,o=0;o<n;o++)t[o]=e[o]+r[o]*i;return t}function f(t,e,r,i){for(var n=e.length,o=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+r[a][s]*i}return t}function p(t,e,r){var i=t,n=e;if(i.push&&n.push){var o=i.length,a=n.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===r?n[s]:h.call(n[s]));var u=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===r)isNaN(i[s])&&(i[s]=n[s]);else for(var l=0;l<u;l++)isNaN(i[s][l])&&(i[s][l]=n[s][l])}}function d(t,e){var r=t.length;if(r!==e.length)return!1;for(var i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function v(t,e,r,i,n,o,a){var s=.5*(r-t),h=.5*(i-e);return(2*(e-r)+s+h)*a+(-3*(e-r)-2*s-h)*o+s*n+e}function y(t,e,r,i,n,o,a,s){for(var h=e.length,u=0;u<h;u++)t[u]=v(e[u],r[u],i[u],n[u],o,a,s)}function g(t){if(Object(s.isArrayLike)(t)){var e=t.length;if(Object(s.isArrayLike)(t[0])){for(var r=[],i=0;i<e;i++)r.push(h.call(t[i]));return r}return h.call(t)}return t}function _(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}var m=[0,0,0,0],b=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return!this._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var r=this.keyframes,i=r.length;if(this.interpolable)if(Object(s.isArrayLike)(e)){var n=function(t){return Object(s.isArrayLike)(t&&t[0])?2:1}(e);if(i>0&&this.arrDim!==n)return void(this.interpolable=!1);if(1===n&&"number"!=typeof e[0]||2===n&&"number"!=typeof e[0][0])return void(this.interpolable=!1);if(i>0){var o=r[i-1];this._isAllValueEqual&&(1===n&&d(e,o.value)||(this._isAllValueEqual=!1))}this.arrDim=n}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"==typeof e){var h=a.parse(e);h?(e=h,this.isValueColor=!0):this.interpolable=!1}else if("number"!=typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&i>0){o=r[i-1];(this.isValueColor&&!d(o.value,e)||o.value!==e)&&(this._isAllValueEqual=!1)}}var u={time:t,value:e,percent:0};return this.keyframes.push(u),u},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var r=this.arrDim,i=e.length,n=e[i-1],o=0;o<i;o++)e[o].percent=e[o].time/this.maxTime,r>0&&o!==i-1&&p(e[o].value,n.value,r);if(t&&this.needsAnimate()&&t.needsAnimate()&&r===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var a=e[0].value;for(o=0;o<i;o++)0===r?this.isValueColor?e[o].additiveValue=c([],e[o].value,a,-1):e[o].additiveValue=e[o].value-a:1===r?e[o].additiveValue=c([],e[o].value,a,-1):2===r&&(e[o].additiveValue=f([],e[o].value,a,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r,i=null!=this._additiveTrack,n=i?"additiveValue":"value",o=this.keyframes,a=this.keyframes.length,s=this.propName,h=this.arrDim,c=this.isValueColor;if(e<0)r=0;else if(e<this._lastFramePercent){for(r=Math.min(this._lastFrame+1,a-1);r>=0&&!(o[r].percent<=e);r--);r=Math.min(r,a-2)}else{for(r=this._lastFrame;r<a&&!(o[r].percent>e);r++);r=Math.min(r-1,a-2)}var f=o[r+1],p=o[r];if(p&&f){this._lastFrame=r,this._lastFramePercent=e;var d=f.percent-p.percent;if(0!==d){var g=(e-p.percent)/d,b=i?this._additiveValue:c?m:t[s];if((h>0||c)&&!b&&(b=this._additiveValue=[]),this.useSpline){var x=o[r][n],w=o[0===r?r:r-1][n],k=o[r>a-2?a-1:r+1][n],S=o[r>a-3?a-1:r+2][n];if(h>0)1===h?y(b,w,x,k,S,g,g*g,g*g*g):function(t,e,r,i,n,o,a,s){for(var h=e.length,u=e[0].length,l=0;l<h;l++){t[l]||(t[1]=[]);for(var c=0;c<u;c++)t[l][c]=v(e[l][c],r[l][c],i[l][c],n[l][c],o,a,s)}}(b,w,x,k,S,g,g*g,g*g*g);else if(c)y(b,w,x,k,S,g,g*g,g*g*g),i||(t[s]=_(b));else{var O=void 0;O=this.interpolable?v(w,x,k,S,g,g*g,g*g*g):k,i?this._additiveValue=O:t[s]=O}}else if(h>0)1===h?l(b,p[n],f[n],g):function(t,e,r,i){for(var n=e.length,o=n&&e[0].length,a=0;a<n;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=u(e[a][s],r[a][s],i)}}(b,p[n],f[n],g);else if(c)l(b,p[n],f[n],g),i||(t[s]=_(b));else{O=void 0;O=this.interpolable?u(p[n],f[n],g):function(t,e,r){return r>.5?e:t}(p[n],f[n],g),i?this._additiveValue=O:t[s]=O}i&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,r=this.propName,i=this._additiveValue;0===e?this.isValueColor?(a.parse(t[r],m),c(m,m,i,1),t[r]=_(m)):t[r]=t[r]+i:1===e?c(t[r],t[r],i,1):2===e&&f(t[r],t[r],i,1)},t}(),x=function(){function t(t,e,r){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Object(s.logError)("Can' use additive animation on looped animation."):this._additiveAnimators=r}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,Object(s.keys)(e))},t.prototype.whenWithKeys=function(t,e,r){for(var i=this._tracks,n=0;n<r.length;n++){var o=r[n],a=i[o];if(!a){a=i[o]=new b(o);var s=void 0,h=this._getAdditiveTrack(o);if(h){var u=h.keyframes[h.keyframes.length-1];s=u&&u.value,h.isValueColor&&s&&(s=_(s))}else s=this._target[o];if(null==s)continue;0!==t&&a.addKeyframe(0,g(s)),this._trackKeys.push(o)}a.addKeyframe(t,g(e[o]))}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._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneList;if(t)for(var e=t.length,r=0;r<e;r++)t[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedList;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var r=0;r<e.length;r++)e[r].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,r=0;r<e.length;r++)t[e[r]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,r=this._additiveAnimators;if(r)for(var i=0;i<r.length;i++){var n=r[i].getTrack(t);
2n&&(e=n)}return e},t.prototype.start=function(t,e){if(!(this._started>0)){this._started=1;for(var r=this,i=[],n=0;n<this._trackKeys.length;n++){var a=this._trackKeys[n],s=this._tracks[a],h=this._getAdditiveTrack(a),u=s.keyframes;if(s.prepare(h),s.needsAnimate())i.push(s);else if(!s.interpolable){var l=u[u.length-1];l&&(r._target[s.propName]=l.value)}}if(i.length||e){var c=new o({life:this._maxTime,loop:this._loop,delay:this._delay,onframe:function(t){r._started=2;var e=r._additiveAnimators;if(e){for(var n=!1,o=0;o<e.length;o++)if(e[o]._clip){n=!0;break}n||(r._additiveAnimators=null)}for(o=0;o<i.length;o++)i[o].step(r._target,t);var a=r._onframeList;if(a)for(o=0;o<a.length;o++)a[o](r._target,t)},ondestroy:function(){r._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&"spline"!==t&&(c.easing=t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeList||(this._onframeList=[]),this._onframeList.push(t)),this},t.prototype.done=function(t){return t&&(this._doneList||(this._doneList=[]),this._doneList.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedList||(this._abortedList=[]),this._abortedList.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var r=this._tracks,i=this._trackKeys,n=0;n<t.length;n++){var o=r[t[n]];o&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(n=0;n<i.length;n++)if(!r[i[n]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveFinalToTarget=function(t,e){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],n=this._tracks[i];if(n&&!n.isFinished()){var o=n.keyframes,a=o[o.length-1];if(a){var s=g(a.value);n.isValueColor&&(s=_(s)),t[i]=s}}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(s.keys)(t);for(var r=0;r<e.length;r++){var i=e[r],n=this._tracks[i];if(n){var o=n.keyframes;if(o.length>1){var a=o.pop();n.addKeyframe(a.time,t[i]),n.prepare(n.getAdditiveTrack())}}}},t}();e.b=x},221:function(t,e,r){"use strict";function i(t,e,r,i,n,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var h=a*(r-t)+t;return h===n?1/0:h>n?s:0}r.d(e,"a",(function(){return i}))},233:function(t,e,r){"use strict";var i=function(t){this.value=t},n=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new n,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,n=this._map,o=null;if(null==n[t]){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var h=r.head;r.remove(h),delete n[h.key],o=h.value,this._lastRemovedEntry=h}s?s.value=e:s=new i(e),s.key=t,r.insertEntry(s),n[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},242:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return s}));var i=new(r(233).a)(50);function n(t){if("string"==typeof t){var e=i.get(t);return e&&e.image}return t}function o(t,e,r,n,o){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!r)return e;var h=i.get(t),u={hostEl:r,cb:n,cbPayload:o};return h?!s(e=h.image)&&h.pending.push(u):((e=new Image).onload=e.onerror=a,i.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e}function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],i=r.cb;i&&i(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function s(t){return t&&t.width&&t.height}},246:function(t,e,r){"use strict";function i(t,e,r,i,n,o,a){if(0===n)return!1;var s=n,h=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>r+s||o<t-s&&o<r-s)return!1;if(t===r)return Math.abs(o-t)<=s/2;var u=(h=(e-i)/(t-r))*o-a+(t*i-r*e)/(t-r);return u*u/(h*h+1)<=s/2*s/2}r.d(e,"a",(function(){return i}))},247:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=2*Math.PI;function n(t){return(t%=i)<0&&(t+=i),t}},271:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}
2));var i=r(221);function n(t,e){return Math.abs(t-e)<1e-8}function o(t,e,r){var o=0,a=t[0];if(!a)return!1;for(var s=1;s<t.length;s++){var h=t[s];o+=Object(i.a)(a[0],a[1],h[0],h[1],e,r),a=h}var u=t[0];return n(a[0],u[0])&&n(a[1],u[1])||(o+=Object(i.a)(a[0],a[1],u[0],u[1],e,r)),0!==o}},289:function(t,e,r){"use strict";var i=r(47),n=r(106),o=r(34),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(i.a)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var r=0;r<t.length;r++)this.addDisplayable(t[r],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.a(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var r=this._displayables[e],i=r.getBoundingRect().clone();r.needLocalTransform()&&i.applyTransform(r.getLocalTransform(a)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(n.c);e.a=s},29:function(t,e,r){"use strict";function i(){return[1,0,0,1,0,0]}function n(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 i=e[0]*r[0]+e[2]*r[1],n=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]=i,t[1]=n,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){var i=e[0],n=e[2],o=e[4],a=e[1],s=e[3],h=e[5],u=Math.sin(r),l=Math.cos(r);return t[0]=i*l+a*u,t[1]=-i*u+a*l,t[2]=n*l+s*u,t[3]=-n*u+l*s,t[4]=l*o+u*h,t[5]=l*h-u*o,t}function u(t,e,r){var i=r[0],n=r[1];return t[0]=e[0]*i,t[1]=e[1]*n,t[2]=e[2]*i,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*n,t}function l(t,e){var r=e[0],i=e[2],n=e[4],o=e[1],a=e[3],s=e[5],h=r*a-o*i;return h?(h=1/h,t[0]=a*h,t[1]=-o*h,t[2]=-i*h,t[3]=r*h,t[4]=(i*s-a*n)*h,t[5]=(o*n-r*s)*h,t):null}function c(t){var e=[1,0,0,1,0,0];return o(e,t),e}r.r(e),r.d(e,"create",(function(){return i})),r.d(e,"identity",(function(){return n})),r.d(e,"copy",(function(){return o})),r.d(e,"mul",(function(){return a})),r.d(e,"translate",(function(){return s})),r.d(e,"rotate",(function(){return h})),r.d(e,"scale",(function(){return u})),r.d(e,"invert",(function(){return l})),r.d(e,"clone",(function(){return c}))},295:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return a}));var i=Math.round;function n(t,e,r){if(e){var n=e.x1,o=e.x2,s=e.y1,h=e.y2;t.x1=n,t.x2=o,t.y1=s,t.y2=h;var u=r&&r.lineWidth;return u?(i(2*n)===i(2*o)&&(t.x1=t.x2=a(n,u,!0)),i(2*s)===i(2*h)&&(t.y1=t.y2=a(s,u,!0)),t):t}}
2function o(t,e,r){if(e){var i=e.x,n=e.y,o=e.width,s=e.height;t.x=i,t.y=n,t.width=o,t.height=s;var h=r&&r.lineWidth;return h?(t.x=a(i,h,!0),t.y=a(n,h,!0),t.width=Math.max(a(i+o,h,!1)-t.x,0===o?0:1),t.height=Math.max(a(n+s,h,!1)-t.y,0===s?0:1),t):t}}function a(t,e,r){if(!e)return t;var n=i(2*t);return(n+i(e))%2==0?n/2:(n+(r?1:-1))/2}},296:function(t,e,r){"use strict";var i=r(47),n=r(45),o=r(582),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.a(t,e,!0)},e}(n.b);s.prototype.type="polygon",e.a=s},297:function(t,e,r){"use strict";var i=r(47),n=r(45),o=r(295),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},h=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(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,i,n,s;if(this.subPixelOptimize){var h=Object(o.b)(a,e,this.style);r=h.x1,i=h.y1,n=h.x2,s=h.y2}else r=e.x1,i=e.y1,n=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(r,i),u<1&&(n=r*(1-u)+n*u,s=i*(1-u)+s*u),t.lineTo(n,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}(n.b);h.prototype.type="line",e.a=h},299:function(t,e,r){"use strict";function i(t,e,r){for(var i="radial"===e.type?function(t,e,r){var i=r.width,n=r.height,o=Math.min(i,n),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,h=null==e.r?.5:e.r;return e.global||(a=a*i+r.x,s=s*n+r.y,h*=o),t.createRadialGradient(a,s,0,a,s,h)}(t,e,r):function(t,e,r){var i=null==e.x?0:e.x,n=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*r.width+r.x,n=n*r.width+r.x,o=o*r.height+r.y,a=a*r.height+r.y),i=isNaN(i)?0:i,n=isNaN(n)?1:n,o=isNaN(o)?0:o,a=isNaN(a)?0:a,t.createLinearGradient(i,o,n,a)}(t,e,r),n=e.colorStops,o=0;o<n.length;o++)i.addColorStop(n[o].offset,n[o].color);return i}function n(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!0;return!1}r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return n}))},322:function(t,e,r){"use strict";r.r(e),r.d(e,"init",(function(){return it})),r.d(e,"dispose",(function(){return nt})),r.d(e,"disposeAll",(function(){return ot})),r.d(e,"getInstance",(function(){return at})),r.d(e,"registerPainter",(function(){return st})),r.d(e,"version",(function(){return ht}));var i=r(38),n=r(0),o=r(47),a=r(16),s=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},h=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,i=t.offsetY,n=r-this._x,o=i-this._y;this._x=r,this._y=i,e.drift(n,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(r,i,e).target,h=this._dropTarget;this._dropTarget=a,e!==a&&(h&&a!==h&&this.handler.dispatchToElement(new s(h,t),"dragleave",t.event),a&&a!==h&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),u=r(121),l=r(73),c=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 n={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],h=l.b(r,s,{});n.points.push([h.zrX,h.zrY]),n.touches.push(s)}this._track.push(n)}},t.prototype._recognize=function(t){for(var e in p)if(p.hasOwnProperty(e)){var r=p[e](this._track,t);if(r)return r}},t}();function f(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var p={pinch:function(t,e){var r=t.length;if(r){var i,n=(t[r-1]||{}).points,o=(t[r-2]||{}).points||n;if(o&&o.length>1&&n&&n.length>1){var a=f(n)/f(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=n)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function d(){l.g(this.event)}var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(o.a)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(u.a),y=function(t,e){this.x=t,this.y=e},g=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],_=function(t){function e(e,r,i,n){var o=t.call(this)||this;return o._hovered=new y(0,0),o.storage=e,o.painter=r,o.painterRoot=n,i=i||new v,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr
vendor: 2,277 bytes, line 2
2=new h(o),o}return Object(o.a)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(g,(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,i=b(this,e,r),n=this._hovered,o=n.target;o&&!o.__zr&&(o=(n=this.findHover(n.x,n.y)).target);var a=this._hovered=i?new y(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(n,"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 y(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 i=(t=t||{}).target;if(!i||!i.silent){for(var n="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:d}}(e,t,r);i&&(i[n]&&(o.cancelBubble=!!i[n].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[n]&&t[n].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,r){for(var i=this.storage.getDisplayList(),n=new y(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==r&&!i[o].ignore&&(a=m(i[o],t,e))&&(!n.topTarget&&(n.topTarget=i[o]),"silent"!==a)){n.target=i[o];break}}return n},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new c);var r=this._gestureMgr;"start"===e&&r.clear();var i=r.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);
2if("end"===e&&r.clear(),i){var n=i.type;t.gestureEvent=n;var o=new y;o.target=i.target,this.dispatchToElement(o,n,i.event)}},e}(u.a);function m(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var i=t,n=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,r))return!1;i.silent&&(n=!0)}var s=i.__hostTarget;i=s||i.parent}return!n||"silent"}return!1}function b(t,e,r){var i=t.painter;return e<0||e>i.getWidth()||r<0||r>i.getHeight()}n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){_.prototype[t]=function(e){var r,i,n=e.zrX,o=e.zrY,s=b(this,n,o);if("mouseup"===t&&s||(i=(r=this.findHover(n,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,t,e)}}));var x=_,w=r(148),k=r(470),S=!1;function O(){S||(S=!0)}function T(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var C,A,j=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=T}return t.prototype.traverse=function(t,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var r=this._displayList;return!t&&r.length||this.updateDisplayList(e),r},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,r=this._displayList,n=0,o=e.length;n<o;n++)this._updateAndAddDisplayable(e[n],null,t);r.length=this._displayListLen,i.a.canvasSupported&&Object(k.a)(r,T)},t.prototype._updateAndAddDisplayable=function(t,e,r){if(!t.ignore||r){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var n=i,o=t;n;)n.parent=o,n.updateTransform(),e.push(n),o=n,n=n.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var h=a[s];t.__dirty&&(h.__dirty|=w.a.REDARAW_BIT),this._updateAndAddDisplayable(h,e,r)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(O(),u.z=0),isNaN(u.z2)&&(O(),u.z2=0),isNaN(u.zlevel)&&(O(),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<r;e++)this.delRoot(t[e]);else{var i=n.indexOf(this._roots,t);i>=0&&this._roots.splice(i,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}(),P=r(471),M=r(220),D=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.onframe=e.onframe||function(){},r}return Object(o.a)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=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._clipsHead=r,r?r.prev=e:this._clipsTail=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=(new Date).getTime()-this._pausedTime,r=e-this._time,i=this._clipsHead;i;){var n=i.next;i.step(e,r)?(i.ondestroy&&i.ondestroy(),this.removeClip(i),i=n):i=n}this._time=e,t||(this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update(
2))},e.prototype._startLoop=function(){var t=this;this._running=!0,Object(P.a)((function e(){t._running&&(Object(P.a)(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._clipsHead;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var r=new M.b(t,e.loop);return this.addAnimator(r),r},e}(u.a),L=i.a.domSupported,R=(A={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:C=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:n.map(C,(function(t){var e=t.replace("mouse","pointer");return A.hasOwnProperty(e)?e:t}))}),I=["mousemove","mouseup"],z=["pointermove","pointerup"],E=!1;function B(t){var e=t.pointerType;return"pen"===e||"touch"===e}function F(t){t&&(t.zrByTouch=!0)}function H(t,e){for(var r=e,i=!1;r&&9!==r.nodeType&&!(i=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return i}var N=function(t,e){this.stopPropagation=n.noop,this.stopImmediatePropagation=n.noop,this.preventDefault=n.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},W={mousedown:function(t){t=Object(l.e)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(l.e)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Object(l.e)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){H(this,(t=Object(l.e)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){E=!0,t=Object(l.e)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){E||(t=Object(l.e)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){F(t=Object(l.e)(this.dom,t)),this.__lastTouchMoment=ne
2w Date,this.handler.processGesture(t,"start"),W.mousemove.call(this,t),W.mousedown.call(this,t)},touchmove:function(t){F(t=Object(l.e)(this.dom,t)),this.handler.processGesture(t,"change"),W.mousemove.call(this,t)},touchend:function(t){F(t=Object(l.e)(this.dom,t)),this.handler.processGesture(t,"end"),W.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&W.click.call(this,t)},pointerdown:function(t){W.mousedown.call(this,t)},pointermove:function(t){B(t)||W.mousemove.call(this,t)},pointerup:function(t){W.mouseup.call(this,t)},pointerout:function(t){B(t)||W.mouseout.call(this,t)}};n.each(["click","dblclick","contextmenu"],(function(t){W[t]=function(e){e=Object(l.e)(this.dom,e),this.trigger(t,e)}}));var U={pointermove:function(t){B(t)||U.mousemove.call(this,t)},pointerup:function(t){U.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 X(t,e){var r=e.domHandlers;i.a.pointerEventsSupported?n.each(R.pointer,(function(i){Y(e,i,(function(e){r[i].call(t,e)}))})):(i.a.touchEventsSupported&&n.each(R.touch,(function(i){Y(e,i,(function(n){r[i].call(t,n),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)}))})),n.each(R.mouse,(function(i){Y(e,i,(function(n){n=Object(l.c)(n),e.touching||r[i].call(t,n)}))})))}function q(t,e){function r(r){Y(e,r,(function(i){i=Object(l.c)(i),H(t,i.target)||(i=function(t,e){return Object(l.e)(t.dom,new N(t,e),!0)}(t,i),e.domHandlers[r].call(t,i))}),{capture:!0})}i.a.pointerEventsSupported?n.each(z,r):i.a.touchEventsSupported||n.each(I,r)}function Y(t,e,r,i){t.mounted[e]=r,t.listenerOpts[e]=i,Object(l.a)(t.domTarget,e,r,i)}function G(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&Object(l.f)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var Z=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},V=function(t){function e(e,r){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=r,i._localHandlerScope=new Z(e,W),L&&(i._globalHandlerScope=new Z(document,U)),X(i,i._localHandlerScope),i}return Object(o.a)(e,t),e.prototype.dispose=function(){G(this._localHandlerScope),L&&G(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,L&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?q(this,e):G(e)}},e}(u.a),K=r(64),Q=r(129),$=r(82),J=!i.a.canvasSupported,tt={},et={};var rt=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 j,s=r.renderer||"canvas";if(J)throw new Error("IE8 support has been dropped since 5.0");if(tt[s]||(s=n.keys(tt)[0]),!tt[s])throw new Error("Renderer '"+s+"' is not imported. Please import it first.");r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var h=new tt[s](e,a,r,t);this.storage=a,this.painter=h;var u=i.a.node||i.a.worker?null:new V(h.getViewportRoot(),h.root);this.handler=new x(a,h,u,h.root),this.animation=new D({stage:{update:function(){return o._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){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 Object(K.lum)(t,1)<Q.b;if(t.colorStops){for(var e=t.colorStops,r=0,i=e.length,n=0;n<i;n++)r+=Object(K.lum)(e[n].color,1);return(r/=i)<Q.b}return!1}(t)}
2,t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,r=(new Date).getTime();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=(new Date).getTime();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-r})):this._sleepAfterStill>0&&(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;e<t.length;e++)t[e]instanceof $.a&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete et[t]},t}();function it(t,e){var r=new rt(n.guid(),t,e);return et[r.id]=r,r}function nt(t){t.dispose()}function ot(){for(var t in et)et.hasOwnProperty(t)&&et[t].dispose();et={}}function at(t){return et[t]}function st(t,e){tt[t]=e}var ht="5.1.0"},323:function(t,e,r){"use strict";var i=r(47),n=r(45),o=r(582),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(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}(n.b);s.prototype.type="polyline",e.a=s},327:function(t,e,r){"use strict";var i=r(47),n=r(45),o=r(126),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,v=Math.min,y=1e-4;function g(t,e,r,i,n,o,a){var s=t-r,h=e-i,u=(a?o:-o)/p(s*s+h*h),l=u*h,c=-u*s,f=t+l,v=e+c,y=r+l,g=i+c,_=(f+y)/2,m=(v+g)/2,b=y-f,x=g-v,w=b*b+x*x,k=n-o,S=f*g-y*v,O=(x<0?-1:1)*p(d(0,k*k*w-S*S)),T=(S*x-b*O)/w,C=(-S*b-x*O)/w,A=(S*x+b*O)/w,j=(-S*b+x*O)/w,P=T-_,M=C-m,D=A-_,L=j-m;return P*P+M*M>D*D+L*L&&(T=A,C=j),{cx:T,cy:C,x01:-l,y01:-c,x11:T*(n/k-1),y11:C*(n/k-1)}}function _(t,e){var r=d(e.r,0),i=d(e.r0||0,0),n=r>0;if(n||i>0){if(n||(r=i,i=0),i>r){var _=r;r=i,i=_}var m,b=!!e.clockwise,x=e.startAngle,w=e.endAngle;if(x===w)m=0;else{var k=[x,w];Object(o.b)(k,!b),m=f(k[0]-k[1])}var S=e.cx,O=e.cy,T=e.cornerRadius||0,C=e.innerCornerRadius||0;if(r>y)if(m>s-y)t.moveTo(S+r*u(x),O+r*h(x)),t.arc(S,O,r,x,w,!b),i>y&&(t.moveTo(S+i*u(w),O+i*h(w)),t.arc(S,O,i,w,x,b));
2else{var A=f(r-i)/2,j=v(A,T),P=v(A,C),M=P,D=j,L=r*u(x),R=r*h(x),I=i*u(w),z=i*h(w),E=void 0,B=void 0,F=void 0,H=void 0;if((j>y||P>y)&&(E=r*u(w),B=r*h(w),F=i*u(x),H=i*h(x),m<a)){var N=function(t,e,r,i,n,o,a,s){var h=r-t,u=i-e,l=a-n,c=s-o,f=c*h-l*u;if(!(f*f<y))return[t+(f=(l*(e-o)-c*(t-n))/f)*h,e+f*u]}(L,R,F,H,E,B,I,z);if(N){var W=L-N[0],U=R-N[1],X=E-N[0],q=B-N[1],Y=1/h(l((W*X+U*q)/(p(W*W+U*U)*p(X*X+q*q)))/2),G=p(N[0]*N[0]+N[1]*N[1]);M=v(P,(i-G)/(Y-1)),D=v(j,(r-G)/(Y+1))}}if(m>y)if(D>y){var Z=g(F,H,L,R,r,D,b),V=g(E,B,I,z,r,D,b);t.moveTo(S+Z.cx+Z.x01,O+Z.cy+Z.y01),D<j?t.arc(S+Z.cx,O+Z.cy,D,c(Z.y01,Z.x01),c(V.y01,V.x01),!b):(t.arc(S+Z.cx,O+Z.cy,D,c(Z.y01,Z.x01),c(Z.y11,Z.x11),!b),t.arc(S,O,r,c(Z.cy+Z.y11,Z.cx+Z.x11),c(V.cy+V.y11,V.cx+V.x11),!b),t.arc(S+V.cx,O+V.cy,D,c(V.y11,V.x11),c(V.y01,V.x01),!b))}else t.moveTo(S+L,O+R),t.arc(S,O,r,x,w,!b);else t.moveTo(S+L,O+R);if(i>y&&m>y)if(M>y){Z=g(I,z,E,B,i,-M,b),V=g(L,R,F,H,i,-M,b);t.lineTo(S+Z.cx+Z.x01,O+Z.cy+Z.y01),M<P?t.arc(S+Z.cx,O+Z.cy,M,c(Z.y01,Z.x01),c(V.y01,V.x01),!b):(t.arc(S+Z.cx,O+Z.cy,M,c(Z.y01,Z.x01),c(Z.y11,Z.x11),!b),t.arc(S,O,i,c(Z.cy+Z.y11,Z.cx+Z.x11),c(V.cy+V.y11,V.cx+V.x11),b),t.arc(S+V.cx,O+V.cy,M,c(V.y11,V.x11),c(V.y01,V.x01),!b))}else t.lineTo(S+I,O+z),t.arc(S,O,i,w,x,b);else t.lineTo(S+I,O+z)}else t.moveTo(S,O);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,this.innerCornerRadius=0},b=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(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}(n.b);b.prototype.type="sector";e.a=b},332:function(t,e,r){"use strict";r.d(e,"d",(function(){return x})),r.d(e,"b",(function(){return O})),r.d(e,"c",(function(){return T})),r.d(e,"a",(function(){return C})),r.d(e,"e",(function(){return L}));var i=r(126),n=r(46),o=r(0),a=r(16),s=r(108),h=r(327),u=i.a.CMD,l=2*Math.PI,c=["x","y"],f=["width","height"],p=[];function d(t,e){return Math.abs(t-e)<1e-5}function v(t){var e,r,i,n,o,a=t.data,s=t.len(),h=[],l=0,c=0,f=0,p=0;function v(t,r){e&&e.length>2&&h.push(e),e=[t,r]}function y(t,r,i,n){d(t,i)&&d(r,n)||e.push(t,r,i,n,i,n)}function g(t,r,i,n,o,a){var s=Math.abs(r-t),h=4*Math.tan(s/4)/3,u=r<t?-1:1,l=Math.cos(t),c=Math.sin(t),f=Math.cos(r),p=Math.sin(r),d=l*o+i,v=c*a+n,y=f*o+i,g=p*a+n,_=o*h*u,m=a*h*u;e.push(d-_*c,v+m*l,y+_*p,g-m*f,y,g)}for(var _=0;_<s;){var m=a[_++],b=1===_;switch(b&&(f=l=a[_],p=c=a[_+1],m!==u.L&&m!==u.C&&m!==u.Q||(e=[f,p])),m){case u.M:l=f=a[_++],c=p=a[_++],v(f,p);break;case u.L:y(l,c,r=a[_++],i=a[_++]),l=r,c=i;break;case u.C:e.push(a[_++],a[_++],a[_++],a[_++],l=a[_++],c=a[_++]);break;case u.Q:r=a[_++],i=a[_++],n=a[_++],o=a[_++],e.push(l+2/3*(r-l),c+2/3*(i-c),n+2/3*(r-n),o+2/3*(i-o),n,o),l=n,c=o;break;case u.A:var x=a[_++],w=a[_++],k=a[_++],S=a[_++],O=a[_++],T=a[_++]+O;_+=1;var C=!a[_++];r=Math.cos(O)*k+x,i=Math.sin(O)*S+w,b?v(f=r,p=i):y(l,c,r,i),l=Math.cos(T)*k+x,c=Math.sin(T)*S+w;for(var A=(C?-1:1)*Math.PI/2,j=O;C?j>T:j<T;j+=A){g(j,C?Math.max(j+A,T):Math.min(j+A,T),x,w,k,S)}break;case u.R:f=l=a[_++],p=c=a[_++],r=f+a[_++],i=p+a[_++],v(r,p),y(r,p,r,i),y(r,i,f,i),y(f,i,f,p),y(f,p,r,p);break;case u.Z:e&&y(l,c,f,p),l=f,c=p}}return e&&e.length>2&&h.push(e),h}function y(t,e){var r=t.length,i=e.length;if(r===i)return[t,e];for(var o=r<i?t:e,a=Math.min(r,i),s=Math.abs(i-r)/6,h=(a-2)/6,u=Math.ceil(s/h)+1,l=[o[0],o[1]],c=s,f=[],p=[],d=2;d<a;){var v=o[d-2],y=o[d-1],g=o[d++],_=o[d++],m=o[d++],b=o[d++],x=o[d++],w=o[d++];if(c<=0)l.push(g,_,m,b,x,w);else{for(var k=Math.min(c,u-1)+1,S=1;S<=k;S++){var O=S/k;Object(n.g)(v,g,m,x,O,f),Object(n.g)(y,_,b,w,O,p),v=f[3],y=p[3],l.push(f[1],p[1],f[2],p[2],v,y),g=f[5],_=p[5],m=f[6],b=p[6]}c-=k-1}}return o===t?[l,e]:[t,l]}function g(t,e){for(var r=t.length,i=t[r-2],n=t[r-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=n;return o}function _(t){for(var e=0,r=0,i=0,n=t.length,o=0,a=n-2;o<n;a=o,o+=2){var s=t[a],h=t[a+1],u=t[o],l=t[o+1],c=s*l-u*h;e+=c,r+=(s+u)*c,i+=(h+l)*c}return 0===e?[t[0]||0,t[1]||0]:[r/e/3,i/e/3,e]}function m(t,e,r,i){for(var n=(t.length-2)/6,o=1/0,a=0,s=t.length,h=s-2,u=0;u<n;u++){for(var l=6*u,c=0,f=0;f<s;f+=2){var p=0===f?l:(l+f-2)%h+2,d=t[p]-r[0],v=t[p+1]-r[1],y=e[f]-i[0]-d,g=e[f+1]-i[1]-v;c+=y*y+g*g}c<o&&(o=c,a=u)}return a}function b(t){for(var e=[],r=t.length,i=0;i<r;i+=2)e[i]=t[r-i-2],e[i+1]=t[r-i-1];return e}function x(t,e,r){var n,a;if(!t||!e)return e;!t.path&&t.createPathProxy(),(n=t.path).beginPath(),t.buildPath(n,t.shape),!e.path&&e.createPathProxy(),(a=e.path)===n&&(a=new i.a(!1)),a.beginPath(),S(e)?e.__oldBuildPath(a,e.shape):e.buildPath(a,e.shape);var s=function(t,e){for(var r,i,n,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var h=t[s],u=e[s],l=void 0,c=void 0;h?u?(i=l=(r=y(h,u))[0],n=c=r[1]):(c=g(n||h,h),l=h):(l=g(i||u,u),c=u),o.push(l),a.push(c)}return[o,a]}(v(n),v(a)),h=function(t,e,r,i){for(var n,o=[],a=0;a<t.length;a++){var s=t[a],h=e[a],u=_(s),l=_(h);null==n&&(n=u[2]<0!=l[2]<0);var c=[],f=[],p=0,d=1/0,v=[],y=s.length;n&&(s=b(s));for(var g=6*m(s,h,u,l),x=y-2,w=0;w<x;w+=2){var k=(g+w)%x+2;c[w+2]=s[k]-u[0],c[w+3]=s[k+1]-u[1]}if(c[0]=s[g]-u[0],c[1]=s[g+1]-u[1],r>0)for(var S=i/r,O=-i/2;O<=i/2;O+=S){var T=Math.sin(O),C=Math.cos(O),A=0;for(w=0;w<s.length;w+=2){var j=c[w],P=c[w+1],M=h[w]-l[0],D=h[w+1]-l[1],L=M*C-D*T,R=M*T+D*C;v[w]=L,v[w+1]=R;var I=L-j,z=R-P;A+=I*I+z*z}if(A<d){d=A,p=O;for(var E=0;E<v.length;E++)f[E]=v[E]}}else for(var B=0;B<y;B+=2)f[B]=h[B]-l[0],f[B+1]=h[B+1]-l[1];o.push({from:c,to:f,fromCp:u,toCp:l,rotation:-p})}return o}(s[0],s[1],10,Math.PI);!function(t,e,r){if(S(t))return void k(t,e,r);var i=t;i.__oldBuildPath=i.buildPath,i.buildPath=w,k(i,e,r)}(e,h,0);var u=r&&r.done,l=r&&r.aborted,c=r&&r.during;return e.animateTo({__morphT:1},Object(o.defaults)({during:function(t){e.dirtyShape(),c&&c(t)},done:function(){var t;S(t=e)&&(t.buildPath=t.__oldBuildPath,t.__oldBuildPath=t.__morphingData=null),e.createPathProxy(),e.dirtyShape(),u&&u()},aborted:function(){l&&l()}},r)),e}function w(t){for(var e=this.__morphingData,r=this.__morphT,i=1-r,n=[],o=0;o<e.length;o++){var s=e[o],h=s.from,u=s.to,l=s.rotation*r,c=s.fromCp,f=s.toCp,d=Math.sin(l),v=Math.cos(l);Object(a.lerp)(n,c,f,r);for(var y=0;
2y<h.length;y+=2){var g=h[y],_=h[y+1],m=g*i+u[y]*r,b=_*i+u[y+1]*r;p[y]=m*v-b*d+n[0],p[y+1]=m*d+b*v+n[1]}for(y=0;y<h.length;)0===y&&t.moveTo(p[y++],p[y++]),t.bezierCurveTo(p[y++],p[y++],p[y++],p[y++],p[y++],p[y++])}}function k(t,e,r){t.__morphingData=e,t.__morphT=r}function S(t){return null!=t.__oldBuildPath}function O(t){return!!t.__combiningSubList}function T(t){return S(t)||O(t)}function C(t,e,r,i){for(var n=[],a=0,s=0;s<t.length;s++){var h=t[s];if(O(h)){for(var u=h.__combiningSubList,l=0;l<u.length;l++)n.push(u[l]);a+=u.length}else n.push(h),a++}if(a){var c=r?r.dividingMethod:null,f=R(e,a,c);Object(o.assert)(f.length===a);var p=r&&r.done,d=r&&r.aborted,v=r&&r.during,y=0,g=!1,_=Object(o.defaults)({during:function(t){v&&v(t)},done:function(){++y===f.length&&(!function(t){if(!O(t))return;var e=t;A(e,null),e.addSelfToZr=e.__oldAddSelfToZr,e.removeSelfFromZr=e.__oldRemoveSelfFromZr,e.buildPath=e.__oldBuildPath,e.childrenRef=e.__combiningSubList=e.__oldAddSelfToZr=e.__oldRemoveSelfFromZr=e.__oldBuildPath=null}(e),p&&p())},aborted:function(){g||(g=!0,d&&d())}},r);for(s=0;s<a;s++){var m=n[s],b=f[s];i&&i(e,b,!0),x(m,b,_)}return function(t,e){if(O(t))return void A(t,e);var r=t;A(r,e),r.__oldAddSelfToZr=t.addSelfToZr,r.__oldRemoveSelfFromZr=t.removeSelfFromZr,r.addSelfToZr=j,r.removeSelfFromZr=M,r.__oldBuildPath=r.buildPath,r.buildPath=o.noop,r.childrenRef=D}(e,f),{fromIndividuals:n,toIndividuals:f,count:a}}}function A(t,e){if(t.__combiningSubList!==e){if(P(t,"removeSelfFromZr"),t.__combiningSubList=e,e)for(var r=0;r<e.length;r++)e[r].parent=t;P(t,"addSelfToZr")}}function j(t){this.__oldAddSelfToZr(t),P(this,"addSelfToZr")}function P(t,e){var r=t.__combiningSubList,i=t.__zr;if(r&&i)for(var n=0;n<r.length;n++){r[n][e](i)}}function M(t){this.__oldRemoveSelfFromZr(t);for(var e=this.__combiningSubList,r=0;r<e.length;r++){e[r].removeSelfFromZr(t)}}function D(){return this.__combiningSubList}function L(t,e,r,i){var n,a=e.length,s=r?r.dividingMethod:null,h=!1;if(O(t)){var u=t.__combiningSubList;u.length===a?n=u:(n=R(t,a,s),h=!0)}else n=R(t,a,s),h=!0;Object(o.assert)(n.length===a);for(var l=0;l<a;l++)h&&i&&i(t,n[l],!1),x(n[l],e[l],r);return{fromIndividuals:n,toIndividuals:e,count:a}}function R(t,e,r){return"duplicate"===r?I(t,e):function(t,e){var r=[];if(e<=0)return r;if(1===e)return I(t,e);if(t instanceof s.a)for(var i=(y=t.shape).height>y.width?1:0,n=f[i],o=c[i],a=y[n]/e,u=y[o],p=0;p<e;p++,u+=a){var d={x:y.x,y:y.y,width:y.width,height:y.height};d[o]=u,d[n]=p<e-1?a:y[o]+y[n]-u;var v=new s.a({shape:d});r.push(v)}else{if(!(t instanceof h.a))return I(t,e);var y,g=(y=t.shape).clockwise,_=y.startAngle,m=y.endAngle,b=(function(t,e,r){return e+l*Math[r?"ceil":"floor"]((t-e)/l)}(_,y.endAngle,g)-_)/e,x=_;for(p=0;p<e;p++,x+=b){v=new h.a({shape:{cx:y.cx,cy:y.cy,r:y.r,r0:y.r0,clockwise:g,startAngle:x,endAngle:p===e-1?m:x+b}});r.push(v)}}return r}(t,e)}function I(t,e){var r=[];if(e<=0)return r;for(var i=t.constructor,n=0;n<e;n++){var a=new i({shape:Object(o.clone)(t.shape)});r.push(a)}return r}},34:function(t,e,r){"use strict";var i=r(29),n=r(67),o=Math.min,a=Math.max,s=new n.a,h=new n.a,u=new n.a,l=new n.a,c=new n.a,f=new n.a,p=function(){function t(t,e,r,i){r<0&&isFinite(r)&&(t+=r,r=-r),i<0&&isFinite(i)&&(e+=i,i=-i),this.x=t,this.y=e,this.width=r,this.height=i}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,n=t.height/e.height,o=i.create();return i.translate(o,o,[-e.x,-e.y]),i.scale(o,o,[r,n]),i.translate(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 i=this,o=i.x,a=i.x+i.width,s=i.y,h=i.y+i.height,u=e.x,l=e.x+e.width,p=e.y,d=e.y+e.height,v=!(a<u||l<o||h<p||d<s);if(r){var y=1/0,g=0,_=Math.abs(a-u),m=Math.abs(l-o),b=Math.abs(h-p),x=Math.abs(d-s),w=Math.min(_,m),k=Math.min(b,x);a<u||l<o?w>
2g&&(g=w,_<m?n.a.set(f,-_,0):n.a.set(f,m,0)):w<y&&(y=w,_<m?n.a.set(c,_,0):n.a.set(c,-m,0)),h<p||d<s?k>g&&(g=k,b<x?n.a.set(f,0,-b):n.a.set(f,0,x)):w<y&&(y=w,b<x?n.a.set(c,0,b):n.a.set(c,0,-x))}return r&&n.a.copy(r,v?c:f),v},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.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,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],c=i[3],f=i[4],p=i[5];return e.x=r.x*n+f,e.y=r.y*c+p,e.width=r.width*n,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(i),l.transform(i),h.transform(i),u.transform(i),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),v=a(s.y,h.y,u.y,l.y);e.width=d-e.x,e.height=v-e.y}else e!==r&&t.copy(e,r)},t}();e.a=p},38:function(t,e,r){"use strict";var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},n=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(n.wxa=!0,n.canvasSupported=!0,n.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(n.worker=!0,n.canvasSupported=!0):"undefined"==typeof navigator?(n.node=!0,n.canvasSupported=!0,n.svgSupported=!0):function(t,e){var r=e.browser,i=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(r.firefox=!0,r.version=i[1]);n&&(r.ie=!0,r.version=n[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;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},389:function(t,e,r){"use strict";var i=r(47),n=function(t){function e(e,r,i,n,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==i?1:i,s.y2=null==n?0:n,s.type="linear",s.global=a||!1,s}return Object(i.a)(e,t),e}(r(560).a);e.a=n},395:function(t,e,r){"use strict";var i=r(47),n=r(45),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(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}(n.b);a.prototype.type="circle",e.a=a},416:function(t,e,r){"use strict";r.d(e,"a",(function(){return O})),r.d(e,"b",(function(){return T})),r.d(e,"c",(function(){return C}));var i=r(47),n=r(45),o=r(126),a=r(16),s=o.a.CMD,h=[[],[],[]],u=Math.sqrt,l=Math.atan2;var c=r(0),f=Math.sqrt,p=Math.sin,d=Math.cos,v=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function g(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(g(t,e))}function m(t,e,r,i,n,o,a,s,h,u,l){var c=h*(v/180),y=d(c)*(t-r)/2+p(c)*(e-i)/2,m=-1*p(c)*(t-r)/2+d(c)*(e-i)/2,b=y*y/(a*a)+m*m/(s*s);b>1&&(a*=f(b),s*=f(b));var x=(n===o?-1:1)*f((a*a*(s*s)-a*a*(m*m)-s*s*(y*y))/(a*a*(m*m)+s*s*(y*y)))||0,w=x*a*m/s,k=x*-s*y/a,S=(t+r)/2+d(c)*w-p(c)*k,O=(e+i)/2+p(c)*w+d(c)*k,T=_([1,0],[(y-w)/a,(m-k)/s]),C=[(y-w)/a,(m-k)/s],A=[(-1*y-w)/a,(-1*m-k)/s],j=_(C,A);
2if(g(C,A)<=-1&&(j=v),g(C,A)>=1&&(j=0),j<0){var P=Math.round(j/v*1e6)/1e6;j=2*v+P%2*v}l.addData(u,S,O,a,s,T,j,c,o)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,x=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.a)(e,t),e.prototype.applyTransform=function(t){},e}(n.b);function k(t){return null!=t.setData}function S(t,e){var r=function(t){var e=new o.a;if(!t)return e;var r,i=0,n=0,a=i,s=n,h=o.a.CMD,u=t.match(b);if(!u)return e;for(var l=0;l<u.length;l++){for(var c=u[l],f=c.charAt(0),p=void 0,d=c.match(x)||[],v=d.length,y=0;y<v;y++)d[y]=parseFloat(d[y]);for(var g=0;g<v;){var _=void 0,w=void 0,k=void 0,S=void 0,O=void 0,T=void 0,C=void 0,A=i,j=n,P=void 0,M=void 0;switch(f){case"l":i+=d[g++],n+=d[g++],p=h.L,e.addData(p,i,n);break;case"L":i=d[g++],n=d[g++],p=h.L,e.addData(p,i,n);break;case"m":i+=d[g++],n+=d[g++],p=h.M,e.addData(p,i,n),a=i,s=n,f="l";break;case"M":i=d[g++],n=d[g++],p=h.M,e.addData(p,i,n),a=i,s=n,f="L";break;case"h":i+=d[g++],p=h.L,e.addData(p,i,n);break;case"H":i=d[g++],p=h.L,e.addData(p,i,n);break;case"v":n+=d[g++],p=h.L,e.addData(p,i,n);break;case"V":n=d[g++],p=h.L,e.addData(p,i,n);break;case"C":p=h.C,e.addData(p,d[g++],d[g++],d[g++],d[g++],d[g++],d[g++]),i=d[g-2],n=d[g-1];break;case"c":p=h.C,e.addData(p,d[g++]+i,d[g++]+n,d[g++]+i,d[g++]+n,d[g++]+i,d[g++]+n),i+=d[g-2],n+=d[g-1];break;case"S":_=i,w=n,P=e.len(),M=e.data,r===h.C&&(_+=i-M[P-4],w+=n-M[P-3]),p=h.C,A=d[g++],j=d[g++],i=d[g++],n=d[g++],e.addData(p,_,w,A,j,i,n);break;case"s":_=i,w=n,P=e.len(),M=e.data,r===h.C&&(_+=i-M[P-4],w+=n-M[P-3]),p=h.C,A=i+d[g++],j=n+d[g++],i+=d[g++],n+=d[g++],e.addData(p,_,w,A,j,i,n);break;case"Q":A=d[g++],j=d[g++],i=d[g++],n=d[g++],p=h.Q,e.addData(p,A,j,i,n);break;case"q":A=d[g++]+i,j=d[g++]+n,i+=d[g++],n+=d[g++],p=h.Q,e.addData(p,A,j,i,n);break;case"T":_=i,w=n,P=e.len(),M=e.data,r===h.Q&&(_+=i-M[P-4],w+=n-M[P-3]),i=d[g++],n=d[g++],p=h.Q,e.addData(p,_,w,i,n);break;case"t":_=i,w=n,P=e.len(),M=e.data,r===h.Q&&(_+=i-M[P-4],w+=n-M[P-3]),i+=d[g++],n+=d[g++],p=h.Q,e.addData(p,_,w,i,n);break;case"A":k=d[g++],S=d[g++],O=d[g++],T=d[g++],C=d[g++],m(A=i,j=n,i=d[g++],n=d[g++],T,C,k,S,O,p=h.A,e);break;case"a":k=d[g++],S=d[g++],O=d[g++],T=d[g++],C=d[g++],m(A=i,j=n,i+=d[g++],n+=d[g++],T,C,k,S,O,p=h.A,e)}}"z"!==f&&"Z"!==f||(p=h.Z,e.addData(p),i=a,n=s),r=p}return e.toStatic(),e}(t),i=Object(c.extend)({},e);return i.buildPath=function(t){if(k(t)){t.setData(r.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;r.rebuildPath(e,1)}},i.applyTransform=function(t){!function(t,e){var r,i,n,o,c,f,p=t.data,d=t.len(),v=s.M,y=s.C,g=s.L,_=s.R,m=s.A,b=s.Q;for(n=0,o=0;n<d;){switch(r=p[n++],o=n,i=0,r){case v:case g:i=1;break;case y:i=3;break;case b:i=2;break;case m:var x=e[4],w=e[5],k=u(e[0]*e[0]+e[1]*e[1]),S=u(e[2]*e[2]+e[3]*e[3]),O=l(-e[1]/S,e[0]/k);p[n]*=k,p[n++]+=x,p[n]*=S,p[n++]+=w,p[n++]*=k,p[n++]*=S,p[n++]+=O,p[n++]+=O,o=n+=2;break;case _:f[0]=p[n++],f[1]=p[n++],Object(a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[n++],f[1]+=p[n++],Object(a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(c=0;c<i;c++){var T=h[c];T[0]=p[n++],T[1]=p[n++],Object(a.applyTransform)(T,T,e),p[o++]=T[0],p[o++]=T[1]}}t.increaseVersion()}(r,t),this.dirtyShape()},i}function O(t,e){return new w(S(t,e))}function T(t,e){var r=S(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=r.applyTransform,i.buildPath=r.buildPath,i}return Object(i.a)(e,t),e}(w)}function C(t,e){for(var r=[],i=t.length,o=0;o<i;o++){var a=t[o];a.path||a.createPathProxy(),a.shapeChanged()&&a.buildPath(a.path,a.shape,!0),r.push(a.path)}var s=new n.b(e);return s.createPathProxy(),s.buildPath=function(t){if(k(t)){t.appendPath(r);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}},45:function(t,e,r){"use strict";r.d(e,"a",(function(){return T}));var i=r(47),n=r(106),o=r(148),a=r(126),s=r(246),h=r(46);function u(t,e,r,i,n,o,a,s,u,l,c){if(0===u)return!1;var f=u;return!(c>e+f&&c>i+f&&c>o+f&&c>s+f||c<e-f&&c<i-f&&c<o-f&&c<s-f||l>t+f&&l>r+f&&l>n+f&&l>a+f||l<t-f&&l<r-f&&l<n-f&&l<a-f)&&h.e(t,e,r,i,n,o,a,s,l,c,null)<=f/2}var l=r(558),c=r(247),f=2*Math.PI;
2function p(t,e,r,i,n,o,a,s,h){if(0===a)return!1;var u=a;s-=t,h-=e;var l=Math.sqrt(s*s+h*h);if(l-u>r||l+u<r)return!1;if(Math.abs(i-n)%f<1e-4)return!0;if(o){var p=i;i=Object(c.a)(n),n=Object(c.a)(p)}else i=Object(c.a)(i),n=Object(c.a)(n);i>n&&(n+=f);var d=Math.atan2(h,s);return d<0&&(d+=f),d>=i&&d<=n||d+f>=i&&d+f<=n}var d=r(221),v=a.a.CMD,y=2*Math.PI;var g=[-1,-1,-1],_=[-1,-1];function m(t,e,r,i,n,o,a,s,u,l){if(l>e&&l>i&&l>o&&l>s||l<e&&l<i&&l<o&&l<s)return 0;var c,f=h.f(e,i,o,s,l,g);if(0===f)return 0;for(var p=0,d=-1,v=void 0,y=void 0,m=0;m<f;m++){var b=g[m],x=0===b||1===b?.5:1;h.a(t,r,n,a,b)<u||(d<0&&(d=h.c(e,i,o,s,_),_[1]<_[0]&&d>1&&(c=void 0,c=_[0],_[0]=_[1],_[1]=c),v=h.a(e,i,o,s,_[0]),d>1&&(y=h.a(e,i,o,s,_[1]))),2===d?b<_[0]?p+=v<e?x:-x:b<_[1]?p+=y<v?x:-x:p+=s<y?x:-x:b<_[0]?p+=v<e?x:-x:p+=s<v?x:-x)}return p}function b(t,e,r,i,n,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var u=h.m(e,i,o,s,g);if(0===u)return 0;var l=h.j(e,i,o);if(l>=0&&l<=1){for(var c=0,f=h.h(e,i,o,l),p=0;p<u;p++){var d=0===g[p]||1===g[p]?.5:1;h.h(t,r,n,g[p])<a||(g[p]<l?c+=f<e?d:-d:c+=o<f?d:-d)}return c}d=0===g[0]||1===g[0]?.5:1;return h.h(t,r,n,g[0])<a?0:o<e?d:-d}function x(t,e,r,i,n,o,a,s){if((s-=e)>r||s<-r)return 0;var h=Math.sqrt(r*r-s*s);g[0]=-h,g[1]=h;var u=Math.abs(i-n);if(u<1e-4)return 0;if(u>=y-1e-4){i=0,n=y;var l=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?l:0}if(i>n){var c=i;i=n,n=c}i<0&&(i+=y,n+=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>=i&&v<=n||v+y>=i&&v+y<=n)&&(v>Math.PI/2&&v<1.5*Math.PI&&(l=-l),f+=l)}}return f}function w(t,e,r,i,n){for(var o,a,h,c,f=t.data,y=t.len(),g=0,_=0,w=0,k=0,S=0,O=0;O<y;){var T=f[O++],C=1===O;switch(T===v.M&&O>1&&(r||(g+=Object(d.a)(_,w,k,S,i,n))),C&&(k=_=f[O],S=w=f[O+1]),T){case v.M:_=k=f[O++],w=S=f[O++];break;case v.L:if(r){if(s.a(_,w,f[O],f[O+1],e,i,n))return!0}else g+=Object(d.a)(_,w,f[O],f[O+1],i,n)||0;_=f[O++],w=f[O++];break;case v.C:if(r){if(u(_,w,f[O++],f[O++],f[O++],f[O++],f[O],f[O+1],e,i,n))return!0}else g+=m(_,w,f[O++],f[O++],f[O++],f[O++],f[O],f[O+1],i,n)||0;_=f[O++],w=f[O++];break;case v.Q:if(r){if(l.a(_,w,f[O++],f[O++],f[O],f[O+1],e,i,n))return!0}else g+=b(_,w,f[O++],f[O++],f[O],f[O+1],i,n)||0;_=f[O++],w=f[O++];break;case v.A:var A=f[O++],j=f[O++],P=f[O++],M=f[O++],D=f[O++],L=f[O++];O+=1;var R=!!(1-f[O++]);o=Math.cos(D)*P+A,a=Math.sin(D)*M+j,C?(k=o,S=a):g+=Object(d.a)(_,w,o,a,i,n);var I=(i-A)*M/P+A;if(r){if(p(A,j,M,D,D+L,R,e,I,n))return!0}else g+=x(A,j,M,D,D+L,R,I,n);_=Math.cos(D+L)*P+A,w=Math.sin(D+L)*M+j;break;case v.R:if(k=_=f[O++],S=w=f[O++],o=k+f[O++],a=S+f[O++],r){if(s.a(k,S,o,S,e,i,n)||s.a(o,S,o,a,e,i,n)||s.a(o,a,k,a,e,i,n)||s.a(k,a,k,S,e,i,n))return!0}else g+=Object(d.a)(o,S,o,a,i,n),g+=Object(d.a)(k,a,k,S,i,n);break;case v.Z:if(r){if(s.a(_,w,k,S,e,i,n))return!0}else g+=Object(d.a)(_,w,k,S,i,n);_=k,w=S}}return r||(h=w,c=S,Math.abs(h-c)<1e-4)||(g+=Object(d.a)(_,w,k,S,i,n)||0),0!==g}var k=r(0),S=r(64),O=r(129),T=Object(k.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},n.b),C={style:Object(k.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},n.a.style)},A=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],j=function(t){function e(e){return t.call(this,e)||this}var r;return Object(i.a)(e,t),e.prototype.update=function(){var r=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(t){r.buildPath(t,r.shape)}),n.silent=!0;var a=n.style;for(var s in i)a[s]!==i[s]&&(a[s]=i[s]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var h=0;h<A.length;++h)n[A[h]]=this[A[h]];n.__dirty|=o.a.REDARAW_BIT}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var r=Object(k.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var n=0;n<r.length;n++){var o=r[n],a=e[o];"style"===o?this.style?Object(k.extend)(this.style,a):this.useStyle(a):"shape"===o?Object(k.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(k.isString)(t)){var e=Object(S.lum)(t,0);return e>.5?O.a:e>.2?O.c:O.d}if(t)return O.d}return O.a},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(k.isString)(e)){var r=this.__zr;if(!(!r||!r.isDarkMode())===Object(S.lum)(t,0)<O.b)return e}},e.prototype.buildPath=function(t,e,r){},e.prototype.pathUpdated=function(){this.__dirty&=~e.SHAPE_CHANGED_BIT},e.prototype.createPathProxy=function(){this.path=new a.a(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;
2return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,r=this.style,i=!t;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var o=this.path;(n||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||i){a.copy(t);var s=r.strokeNoScale?this.getLineScale():1,h=r.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;h=Math.max(h,null==u?4:u)}s>1e-10&&(a.width+=h/s,a.height+=h/s,a.x-=h/s/2,a.y-=h/s/2)}return a}return t},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),n=this.style;if(t=r[0],e=r[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=n.lineWidth,s=n.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,r,i){return w(t,e,!0,r,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,r){return w(t,0,!1,e,r)}(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(k.extend)(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&e.SHAPE_CHANGED_BIT)},e.prototype.createStyle=function(t){return Object(k.createObject)(T,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(k.extend)({},this.shape))},e.prototype._applyStateObj=function(e,r,i,n,o,a){t.prototype._applyStateObj.call(this,e,r,i,n,o,a);var s,h=!(r&&n);if(r&&r.shape?o?n?s=r.shape:(s=Object(k.extend)({},i.shape),Object(k.extend)(s,r.shape)):(s=Object(k.extend)({},n?this.shape:i.shape),Object(k.extend)(s,r.shape)):h&&(s=i.shape),s)if(o){this.shape=Object(k.extend)({},this.shape);for(var u={},l=Object(k.keys)(s),c=0;c<l.length;c++){var f=l[c];"object"==typeof s[f]?this.shape[f]=s[f]:u[f]=s[f]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var r,i=t.prototype._mergeStates.call(this,e),n=0;n<e.length;n++){var o=e[n];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(i.shape=r),i},e.prototype.getAnimationStyleProps=function(){return C},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=function(e){function r(r){var i=e.call(this,r)||this;return t.init&&t.init.call(i,r),i}return Object(i.a)(r,e),r.prototype.getDefaultStyle=function(){return Object(k.clone)(t.style)},r.prototype.getDefaultShape=function(){return Object(k.clone)(t.shape)},r}(e);for(var n in t)"function"==typeof t[n]&&(r.prototype[n]=t[n]);return r},e.SHAPE_CHANGED_BIT=4,e.initDefaultProps=((r=e.prototype).type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,void(r.__dirty=o.a.REDARAW_BIT|n.c.STYLE_CHANGED_BIT|e.SHAPE_CHANGED_BIT)),e}(n.c);e.b=j},46:function(t,e,r){"use strict";r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return p})),r.d(e,"f",(function(){return d})),r.d(e,"c",(function(){return v})),r.d(e,"g",(function(){return y})),r.d(e,"e",(function(){return g})),r.d(e,"d",(function(){return _})),r.d(e,"h",(function(){return m})),r.d(e,"i",(function(){return b})),r.d(e,"m",(function(){return x})),r.d(e,"j",(function(){return w})),r.d(e,"n",(function(){return k})),r.d(e,"l",(function(){return S})),r.d(e,"k",(function(){return O}));var i=r(16),n=Math.pow,o=Math.sqrt,a=o(3),s=Object(i.create)(),h=Object(i.create)(),u=Object(i.create)();function l(t){return t>-1e-8&&t<1e-8}function c(t){return t>1e-8||t<-1e-8}function f(t,e,r,i,n){var o=1-n;return o*o*(o*t+3*n*e)+n*n*(n*i+3*o*r)}function p(t,e,r,i,n){var o=1-n;return 3*(((e-t)*o+2*(r-e)*n)*o+(i-r)*n*n)}function d(t,e,r,i,s,h){var u=i+3*(e-r)-t,c=3*(r-2*e+t),f=3*(e-t),p=t-s,d=c*c-3*u*f,v=c*f-9*u*p,y=f*f-3*c*p,g=0;
2if(l(d)&&l(v)){if(l(c))h[0]=0;else(A=-f/c)>=0&&A<=1&&(h[g++]=A)}else{var _=v*v-4*d*y;if(l(_)){var m=v/d,b=-m/2;(A=-c/u+m)>=0&&A<=1&&(h[g++]=A),b>=0&&b<=1&&(h[g++]=b)}else if(_>0){var x=o(_),w=d*c+1.5*u*(-v+x),k=d*c+1.5*u*(-v-x);(A=(-c-((w=w<0?-n(-w,1/3):n(w,1/3))+(k=k<0?-n(-k,1/3):n(k,1/3))))/(3*u))>=0&&A<=1&&(h[g++]=A)}else{var S=(2*d*c-3*u*v)/(2*o(d*d*d)),O=Math.acos(S)/3,T=o(d),C=Math.cos(O),A=(-c-2*T*C)/(3*u),j=(b=(-c+T*(C+a*Math.sin(O)))/(3*u),(-c+T*(C-a*Math.sin(O)))/(3*u));A>=0&&A<=1&&(h[g++]=A),b>=0&&b<=1&&(h[g++]=b),j>=0&&j<=1&&(h[g++]=j)}}return g}function v(t,e,r,i,n){var a=6*r-12*e+6*t,s=9*e+3*i-3*t-9*r,h=3*e-3*t,u=0;if(l(s)){if(c(a))(p=-h/a)>=0&&p<=1&&(n[u++]=p)}else{var f=a*a-4*s*h;if(l(f))n[0]=-a/(2*s);else if(f>0){var p,d=o(f),v=(-a-d)/(2*s);(p=(-a+d)/(2*s))>=0&&p<=1&&(n[u++]=p),v>=0&&v<=1&&(n[u++]=v)}}return u}function y(t,e,r,i,n,o){var a=(e-t)*n+t,s=(r-e)*n+e,h=(i-r)*n+r,u=(s-a)*n+a,l=(h-s)*n+s,c=(l-u)*n+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=l,o[6]=h,o[7]=i}function g(t,e,r,n,a,l,c,p,d,v,y){var g,_,m,b,x,w=.005,k=1/0;s[0]=d,s[1]=v;for(var S=0;S<1;S+=.05)h[0]=f(t,r,a,c,S),h[1]=f(e,n,l,p,S),(b=Object(i.distSquare)(s,h))<k&&(g=S,k=b);k=1/0;for(var O=0;O<32&&!(w<1e-4);O++)_=g-w,m=g+w,h[0]=f(t,r,a,c,_),h[1]=f(e,n,l,p,_),b=Object(i.distSquare)(h,s),_>=0&&b<k?(g=_,k=b):(u[0]=f(t,r,a,c,m),u[1]=f(e,n,l,p,m),x=Object(i.distSquare)(u,s),m<=1&&x<k?(g=m,k=x):w*=.5);return y&&(y[0]=f(t,r,a,c,g),y[1]=f(e,n,l,p,g)),o(k)}function _(t,e,r,i,n,o,a,s,h){for(var u=t,l=e,c=0,p=1/h,d=1;d<=h;d++){var v=d*p,y=f(t,r,n,a,v),g=f(e,i,o,s,v),_=y-u,m=g-l;c+=Math.sqrt(_*_+m*m),u=y,l=g}return c}function m(t,e,r,i){var n=1-i;return n*(n*t+2*i*e)+i*i*r}function b(t,e,r,i){return 2*((1-i)*(e-t)+i*(r-e))}function x(t,e,r,i,n){var a=t-2*e+r,s=2*(e-t),h=t-i,u=0;if(l(a)){if(c(s))(p=-h/s)>=0&&p<=1&&(n[u++]=p)}else{var f=s*s-4*a*h;if(l(f))(p=-s/(2*a))>=0&&p<=1&&(n[u++]=p);else if(f>0){var p,d=o(f),v=(-s-d)/(2*a);(p=(-s+d)/(2*a))>=0&&p<=1&&(n[u++]=p),v>=0&&v<=1&&(n[u++]=v)}}return u}function w(t,e,r){var i=t+r-2*e;return 0===i?.5:(t-e)/i}function k(t,e,r,i,n){var o=(e-t)*i+t,a=(r-e)*i+e,s=(a-o)*i+o;n[0]=t,n[1]=o,n[2]=s,n[3]=s,n[4]=a,n[5]=r}function S(t,e,r,n,a,l,c,f,p){var d,v=.005,y=1/0;s[0]=c,s[1]=f;for(var g=0;g<1;g+=.05){h[0]=m(t,r,a,g),h[1]=m(e,n,l,g),(w=Object(i.distSquare)(s,h))<y&&(d=g,y=w)}y=1/0;for(var _=0;_<32&&!(v<1e-4);_++){var b=d-v,x=d+v;h[0]=m(t,r,a,b),h[1]=m(e,n,l,b);var w=Object(i.distSquare)(h,s);if(b>=0&&w<y)d=b,y=w;else{u[0]=m(t,r,a,x),u[1]=m(e,n,l,x);var k=Object(i.distSquare)(u,s);x<=1&&k<y?(d=x,y=k):v*=.5}}return p&&(p[0]=m(t,r,a,d),p[1]=m(e,n,l,d)),o(y)}function O(t,e,r,i,n,o,a){for(var s=t,h=e,u=0,l=1/a,c=1;c<=a;c++){var f=c*l,p=m(t,r,n,f),d=m(e,i,o,f),v=p-s,y=d-h;u+=Math.sqrt(v*v+y*y),s=p,h=d}return u}},465:function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return v}));var i=r(242),n=r(0),o=r(49),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,r,i,n){if(!e)return"";var o=(t+"").split("\n");n=h(e,r,i,n);for(var a=0,s=o.length;a<s;a++)o[a]=u(o[a],n);return o.join("\n")}function h(t,e,r,i){i=i||{};var a=Object(n.extend)({},i);a.font=e,r=Object(n.retrieve2)(r,"..."),a.maxIterations=Object(n.retrieve2)(i.maxIterations,2);var s=a.minChar=Object(n.retrieve2)(i.minChar,0);a.cnCharWidth=Object(o.g)("å½",e);var h=a.ascCharWidth=Object(o.g)("a",e);a.placeholder=Object(n.retrieve2)(i.placeholder,"");for(var u=t=Math.max(0,t-1),l=0;l<s&&u>=h;l++)u-=h;var c=Object(o.g)(r,e);return c>u&&(r="",c=0),u=t-c,a.ellipsis=r,a.ellipsisWidth=c,a.contentWidth=u,a.containerWidth=t,a}function u(t,e){var r=e.containerWidth,i=e.font,n=e.contentWidth;if(!r)return"";var a=Object(o.g)(t,i);if(a<=r)return t;for(var s=0;;s++){if(a<=n||s>=e.maxIterations){t+=e.ellipsis;break}var h=0===s?l(t,n,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*n/a):0;t=t.substr(0,h),a=Object(o.g)(t,i)}return""===t&&(t=e.placeholder),t}function l(t,e,r,i){for(var n=0,o=0,a=t.length;o<a&&n<e;o++){var s=t.charCodeAt(o);n+=0<=s&&s<=127?r:i}return o}function c(t,e){null!=t&&(t+="");var r,i=e.overflow,a=e.padding,s=e.font,l="truncate"===i,c=Object(o.f)(s),f=Object(n.retrieve2)(e.lineHeight,c),p="truncate"===e.lineOverflow,d=e.width,v=(r=null!=d&&"break"===i||"breakAll"===i?t?m(t,e.font,d,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*f,y=Object(n.retrieve2)(e.he
2ight,v);if(v>y&&p){var g=Math.floor(y/f);r=r.slice(0,g)}var _=y,b=d;if(a&&(_+=a[0]+a[2],null!=b&&(b+=a[1]+a[3])),t&&l&&null!=b)for(var x=h(d,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),w=0;w<r.length;w++)r[w]=u(r[w],x);if(null==d){var k=0;for(w=0;w<r.length;w++)k=Math.max(Object(o.g)(r[w],s),k);d=k}return{lines:r,height:y,outerHeight:_,lineHeight:f,calculatedLineHeight:c,contentHeight:v,width:d}}var f=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function v(t,e){var r=new d;if(null!=t&&(t+=""),!t)return r;for(var h,u=e.width,l=e.height,c=e.overflow,f="break"!==c&&"breakAll"!==c||null==u?null:{width:u,accumWidth:0,breakAll:"breakAll"===c},p=a.lastIndex=0;null!=(h=a.exec(t));){var v=h.index;v>p&&y(r,t.substring(p,v),e,f),y(r,h[2],e,f,h[1]),p=a.lastIndex}p<t.length&&y(r,t.substring(p,t.length),e,f);var g=[],_=0,m=0,b=e.padding,x="truncate"===c,w="truncate"===e.lineOverflow;function k(t,e,r){t.width=e,t.lineHeight=r,_+=r,m=Math.max(m,e)}t:for(var S=0;S<r.lines.length;S++){for(var O=r.lines[S],T=0,C=0,A=0;A<O.tokens.length;A++){var j=(F=O.tokens[A]).styleName&&e.rich[F.styleName]||{},P=F.textPadding=j.padding,M=P?P[1]+P[3]:0,D=F.font=j.font||e.font;F.contentHeight=Object(o.f)(D);var L=Object(n.retrieve2)(j.height,F.contentHeight);if(F.innerHeight=L,P&&(L+=P[0]+P[2]),F.height=L,F.lineHeight=Object(n.retrieve3)(j.lineHeight,e.lineHeight,L),F.align=j&&j.align||e.align,F.verticalAlign=j&&j.verticalAlign||"middle",w&&null!=l&&_+F.lineHeight>l){A>0?(O.tokens=O.tokens.slice(0,A),k(O,C,T),r.lines=r.lines.slice(0,S+1)):r.lines=r.lines.slice(0,S);break t}var R=j.width,I=null==R||"auto"===R;if("string"==typeof R&&"%"===R.charAt(R.length-1))F.percentWidth=R,g.push(F),F.contentWidth=Object(o.g)(F.text,D);else{if(I){var z=j.backgroundColor,E=z&&z.image;E&&(E=i.b(E),i.c(E)&&(F.width=Math.max(F.width,E.width*L/E.height)))}var B=x&&null!=u?u-C:null;null!=B&&B<F.width?!I||B<M?(F.text="",F.width=F.contentWidth=0):(F.text=s(F.text,B-M,D,e.ellipsis,{minChar:e.truncateMinChar}),F.width=F.contentWidth=Object(o.g)(F.text,D)):F.contentWidth=Object(o.g)(F.text,D)}F.width+=M,C+=F.width,j&&(T=Math.max(T,F.lineHeight))}k(O,C,T)}r.outerWidth=r.width=Object(n.retrieve2)(u,m),r.outerHeight=r.height=Object(n.retrieve2)(l,_),r.contentHeight=_,r.contentWidth=m,b&&(r.outerWidth+=b[1]+b[3],r.outerHeight+=b[0]+b[2]);for(S=0;S<g.length;S++){var F,H=(F=g[S]).percentWidth;F.width=parseInt(H,10)/100*r.width}return r}function y(t,e,r,i,n){var a,s,h=""===e,u=n&&r.rich[n]||{},l=t.lines,c=u.font||r.font,d=!1;if(i){var v=u.padding,y=v?v[1]+v[3]:0;if(null!=u.width&&"auto"!==u.width){var g=Object(o.h)(u.width,i.width)+y;l.length>0&&g+i.accumWidth>i.width&&(a=e.split("\n"),d=!0),i.accumWidth=g}else{var _=m(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+y,s=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var b=0;b<a.length;b++){var x=a[b],w=new f;if(w.styleName=n,w.text=x,w.isLineHolder=!x&&!h,"number"==typeof u.width?w.width=u.width:w.width=s?s[b]:Object(o.g)(x,c),b||d)l.push(new p([w]));else{var k=(l[l.length-1]||(l[0]=new p)).tokens,S=k.length;1===S&&k[0].isLineHolder?k[0]=w:(x||!S||h)&&k.push(w)}}}var g=Object(n.reduce)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function _(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=255}(t)||!!g[t]}function m(t,e,r,i,n){for(var a=[],s=[],h="",u="",l=0,c=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"!==p){var d=Object(o.g)(p,e),v=!i&&!_(p);(a.length?c+d>r:n+c+d>r)?c?(h||u)&&(v?(h||(h=u,u="",c=l=0),a.push(h),s.push(c-l),u+=p,h="",c=l+=d):(u&&(h+=u,c+=l,u="",l=0),a.push(h),s.push(c),h=p,c=d)):v?(a.push(u),s.push(l),u=p,l=d):(a.push(p),s.push(d)):(c+=d,v?(u+=p,l+=d):(u&&(h+=u,u="",l=0),h+=p))}else u&&(h+=u,c+=l),a.push(h),s.push(c),h="",u="",l=0,c=0}return a.length||h||(h=t,u="",l=0),u&&(h+=u),h&&(a.push(h),s.push(c)),1===a.length&&(c+=n),{accumWidth:c,lines:a,linesWidths:s}}},466:function(t,e,r){"use strict";var i=r(47),n=r(45),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=.5522848,i=e.cx,n=e.cy,o=e.rx,a=e.ry,s=o*r,h=a*r;t.moveTo(i-o,n),t.bezierCurveTo(i-o,n-h,i-s,n-a,i,n-a),t.bezierCurveTo(i+s,n-a,i+o,n-h,i+o,n),t.bezierCurveTo(i+o,n+h,i+s,n+a,i,n+a),t.bezierCurveTo(i-s,n+a,i-o,n+h,i-o,n),t.closePath()},e}(n.b);a.prototype.type="ellipse",e.a=a},467:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=r(0);function n(t){Object(i.isString)(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);
2"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}},47:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=function(t,e){return(i=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])})(t,e)};function n(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}Object.create;Object.create},470:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));function i(t,e,r,i){var n=e+1;if(n===r)return 1;if(i(t[n++],t[e])<0){for(;n<r&&i(t[n],t[n-1])<0;)n++;!function(t,e,r){r--;for(;e<r;){var i=t[e];t[e++]=t[r],t[r--]=i}}(t,e,n)}else for(;n<r&&i(t[n],t[n-1])>=0;)n++;return n-e}function n(t,e,r,i,n){for(i===e&&i++;i<r;i++){for(var o,a=t[i],s=e,h=i;s<h;)n(a,t[o=s+h>>>1])<0?h=o:s=o+1;var u=i-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 o(t,e,r,i,n,o){var a=0,s=0,h=1;
vendor: 2,046 bytes, line 2
2if(o(t,e[r+n])>0){for(s=i-n;h<s&&o(t,e[r+n+h])>0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s),a+=n,h+=n}else{for(s=n+1;h<s&&o(t,e[r+n-h])<=0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s);var u=a;a=n-h,h=n-u}for(a++;a<h;){var l=a+(h-a>>>1);o(t,e[r+l])>0?a=l+1:h=l}return h}function a(t,e,r,i,n,o){var a=0,s=0,h=1;if(o(t,e[r+n])<0){for(s=n+1;h<s&&o(t,e[r+n-h])<0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s);var u=a;a=n-h,h=n-u}else{for(s=i-n;h<s&&o(t,e[r+n+h])>=0;)a=h,(h=1+(h<<1))<=0&&(h=s);h>s&&(h=s),a+=n,h+=n}for(a++;a<h;){var l=a+(h-a>>>1);o(t,e[r+l])<0?h=l:a=l+1}return h}function s(t,e){var r,i,n,s=7,h=0;r=t.length;var u=[];function l(r){var l=i[r],c=n[r],f=i[r+1],p=n[r+1];n[r]=c+p,r===h-3&&(i[r+1]=i[r+2],n[r+1]=n[r+2]),h--;var d=a(t[f],t,l,c,0,e);l+=d,0!==(c-=d)&&0!==(p=o(t[l+c-1],t,f,p,p-1,e))&&(c<=p?function(r,i,n,h){var l=0;for(l=0;l<i;l++)u[l]=t[r+l];var c=0,f=n,p=r;if(t[p++]=t[f++],0==--h){for(l=0;l<i;l++)t[p+l]=u[c+l];return}if(1===i){for(l=0;l<h;l++)t[p+l]=t[f+l];return void(t[p+h]=u[c])}var d,v,y,g=s;for(;;){d=0,v=0,y=!1;do{if(e(t[f],u[c])<0){if(t[p++]=t[f++],v++,d=0,0==--h){y=!0;break}}else if(t[p++]=u[c++],d++,v=0,1==--i){y=!0;break}}while((d|v)<g);if(y)break;do{if(0!==(d=a(t[f],u,c,i,0,e))){for(l=0;l<d;l++)t[p+l]=u[c+l];if(p+=d,c+=d,(i-=d)<=1){y=!0;break}}if(t[p++]=t[f++],0==--h){y=!0;break}if(0!==(v=o(u[c],t,f,h,0,e))){for(l=0;l<v;l++)t[p+l]=t[f+l];if(p+=v,f+=v,0===(h-=v)){y=!0;break}}if(t[p++]=u[c++],1==--i){y=!0;break}g--}while(d>=7||v>=7);if(y)break;g<0&&(g=0),g+=2}if((s=g)<1&&(s=1),1===i){for(l=0;l<h;l++)t[p+l]=t[f+l];t[p+h]=u[c]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[p+l]=u[c+l]}}(l,c,f,p):function(r,i,n,h){var l=0;for(l=0;l<h;l++)u[l]=t[n+l];var c=r+i-1,f=h-1,p=n+h-1,d=0,v=0;if(t[p--]=t[c--],0==--i){for(d=p-(h-1),l=0;l<h;l++)t[d+l]=u[l];return}if(1===h){for(v=(p-=i)+1,d=(c-=i)+1,l=i-1;l>=0;l--)t[v+l]=t[d+l];return void(t[p]=u[f])}var y=s;for(;;){var g=0,_=0,m=!1;do{if(e(u[f],t[c])<0){if(t[p--]=t[c--],g++,_=0,0==--i){m=!0;break}}else if(t[p--]=u[f--],_++,g=0,1==--h){m=!0;break}}while((g|_)<y);if(m)break;
2do{if(0!==(g=i-a(u[f],t,r,i,i-1,e))){for(i-=g,v=(p-=g)+1,d=(c-=g)+1,l=g-1;l>=0;l--)t[v+l]=t[d+l];if(0===i){m=!0;break}}if(t[p--]=u[f--],1==--h){m=!0;break}if(0!==(_=h-o(t[c],u,0,h,h-1,e))){for(h-=_,v=(p-=_)+1,d=(f-=_)+1,l=0;l<_;l++)t[v+l]=u[d+l];if(h<=1){m=!0;break}}if(t[p--]=t[c--],0==--i){m=!0;break}y--}while(g>=7||_>=7);if(m)break;y<0&&(y=0),y+=2}(s=y)<1&&(s=1);if(1===h){for(v=(p-=i)+1,d=(c-=i)+1,l=i-1;l>=0;l--)t[v+l]=t[d+l];t[p]=u[f]}else{if(0===h)throw new Error;for(d=p-(h-1),l=0;l<h;l++)t[d+l]=u[l]}}(l,c,f,p))}return r<120?5:r<1542?10:r<119151?19:40,i=[],n=[],{mergeRuns:function(){for(;h>1;){var t=h-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]&&t--;else if(n[t]>n[t+1])break;l(t)}},forceMergeRuns:function(){for(;h>1;){var t=h-2;t>0&&n[t-1]<n[t+1]&&t--,l(t)}},pushRun:function(t,e){i[h]=t,n[h]=e,h+=1}}}function h(t,e,r,o){r||(r=0),o||(o=t.length);var a=o-r;if(!(a<2)){var h=0;if(a<32)n(t,r,o,r+(h=i(t,r,o,e)),e);else{var u=s(t,e),l=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(a);do{if((h=i(t,r,o,e))<l){var c=a;c>l&&(c=l),n(t,r,r+c,r+h,e),h=c}u.pushRun(r,h),u.mergeRuns(),a-=h,r+=h}while(0!==a);u.forceMergeRuns()}}}},471:function(t,e,r){"use strict";var i;i="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e.a=i},472:function(t,e,r){"use strict";var i=r(67),n=[0,0],o=[0,0],a=new i.a,s=new i.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 i.a;for(r=0;r<2;r++)this._axes[r]=new i.a;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var r=this._corners,n=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);i.a.sub(n[0],r[1],r[0]),i.a.sub(n[1],r[3],r[0]),n[0].normalize(),n[1].normalize();for(u=0;u<2;u++)this._origin[u]=n[u].dot(r[0])},t.prototype.intersect=function(t,e){var r=!0,n=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,n,1)&&(r=!1,n)||!this._intersectCheckOneSide(t,this,a,s,n,-1)&&(r=!1,n)||n||i.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,n),this._getProjMinMaxOnAxis(l,e._corners,o),n[1]<o[0]||n[0]>o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-n[1]),p=Math.abs(n[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?i.a.scale(a,c,-f*h):i.a.scale(a,c,p*h))}else if(r){f=Math.abs(o[0]-n[1]),p=Math.abs(n[0]-o[1]);Math.min(f,p)<r.len()&&(f<p?i.a.scale(r,c,f*h):i.a.scale(r,c,-p*h))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var i=this._axes[t],n=this._origin,o=e[0].dot(i)+n[t],a=o,s=o,h=1;h<e.length;h++){var u=e[h].dot(i)+n[t];a=Math.min(u,a),s=Math.max(u,s)}r[0]=a,r[1]=s},t}();e.a=h},473:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=r(0);function n(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(i.isNumber)(t)?[t]:Object(i.isArray)(t)?t:null):null}},482:function(t,e,r){"use strict";r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return l}));var i=r(38),n=Math.log(2);function o(t,e,r,i,a,s){var h=i+"-"+a,u=t.length;if(s.hasOwnProperty(h))return s[h];if(1===e){var l=Math.round(Math.log((1<<u)-1&~a)/n);return t[r][l]}for(var c=i|1<<r,f=r+1;i&1<<f;)f++;for(var p=0,d=0,v=0;d<u;d++){var y=1<<d;y&a||(p+=(v%2?-1:1)*t[r][d]*o(t,e-1,f,c,a|y,s),v++)}return s[h]=p,p}function a(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},n=o(r,8,0,0,0,i);if(0!==n){for(var a=[],s=0;s<8;s++)for(var h=0;h<8;h++)null==a[h]&&(a[h]=0),a[h]+=((s+h)%2?-1:1)*o(r,7,0===s?1:0,1<<s,1<<h,i)/n*e[s];return function(t,e,r){var i=e*a[6]+r*a[7]+1;t[0]=(e*a[0]+r*a[1]+a[2])/i,t[1]=(e*a[3]+r*a[4]+a[5])/i}}}var s=[];function h(t,e,r,i,n){return u(s,e,i,n,!0)&&u(t,r,s[0],s[1])}function u(t,e,r,n,o){if(e.getBoundingClientRect&&i.a.domSupported&&!l(e)){var s=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),h=function(t,e,r){for(var i=r?"invTrans":"trans",n=e[i],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&&n?n:(e.srcCoords=s,e[i]=r?a(h,s):a(s,h))}(function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var i=["left","right"],n=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,h=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[h]+":0",n[u]+":0",i[1-h]+":auto",n[1-u]+":auto",""].join("!important;"),t.appendChild(a),r.push(a)}return r}(e,s),s,o);if(h)return h(t,r,n),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}},49:function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"g",(function(){return c})),r.d(e,"e",(function(){return p})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return v})),r.d(e,"f",(function(){return y}
2)),r.d(e,"h",(function(){return g})),r.d(e,"d",(function(){return _}));var i,n,o=r(34),a=r(0),s=r(233),h={},u="12px sans-serif";var l={measureText:function(t,e){return i||(i=Object(a.createCanvas)().getContext("2d")),n!==e&&(n=i.font=e||u),i.measureText(t)}};function c(t,e){var r=h[e=e||u];r||(r=h[e]=new s.a(500));var i=r.get(t);return null==i&&(i=l.measureText(t,e).width,r.put(t,i)),i}function f(t,e,r,i){var n=c(t,e),a=y(e),s=d(0,n,r),h=v(0,a,i);return new o.a(s,h,n,a)}function p(t,e,r,i){var n=((t||"")+"").split("\n");if(1===n.length)return f(n[0],e,r,i);for(var a=new o.a(0,0,0,0),s=0;s<n.length;s++){var h=f(n[s],e,r,i);0===s?a.copy(h):a.union(h)}return a}function d(t,e,r){return"right"===r?t-=e:"center"===r&&(t-=e/2),t}function v(t,e,r){return"middle"===r?t-=e/2:"bottom"===r&&(t-=e),t}function y(t){return c("å½",t)}function g(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function _(t,e,r){var i=e.position||"inside",n=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(i instanceof Array)h+=g(i[0],r.width),u+=g(i[1],r.height),l=null,c=null;else switch(i){case"left":h-=n,u+=s,l="right",c="middle";break;case"right":h+=n+a,u+=s,c="middle";break;case"top":h+=a/2,u-=n,l="center",c="bottom";break;case"bottom":h+=a/2,u+=o+n,l="center";break;case"inside":h+=a/2,u+=s,l="center",c="middle";break;case"insideLeft":h+=n,u+=s,c="middle";break;case"insideRight":h+=a-n,u+=s,l="right",c="middle";break;case"insideTop":h+=a/2,u+=n,l="center";break;case"insideBottom":h+=a/2,u+=o-n,l="center",c="bottom";break;case"insideTopLeft":h+=n,u+=n;break;case"insideTopRight":h+=a-n,u+=n,l="right";break;case"insideBottomLeft":h+=n,u+=o-n,c="bottom";break;case"insideBottomRight":h+=a-n,u+=o-n,l="right",c="bottom"}return(t=t||{}).x=h,t.y=u,t.align=l,t.verticalAlign=c,t}},544:function(t,e,r){"use strict";var i=r(47),n=function(t){function e(e,r,i,n,o){var a=t.call(this,n)||this;return a.x=null==e?.5:e,a.y=null==r?.5:r,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return Object(i.a)(e,t),e}(r(560).a);e.a=n},558:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var i=r(46);function n(t,e,r,n,o,a,s,h,u){if(0===s)return!1;var l=s;return!(u>e+l&&u>n+l&&u>a+l||u<e-l&&u<n-l&&u<a-l||h>t+l&&h>r+l&&h>o+l||h<t-l&&h<r-l&&h<o-l)&&Object(i.l)(t,e,r,n,o,a,h,u,null)<=l/2}},559:function(t,e,r){"use strict";var i=r(47),n=r(45),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,i=e.cy,n=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,h=Math.cos(o),u=Math.sin(o);t.moveTo(h*n+r,u*n+i),t.arc(r,i,n,o,a,!s)},e}(n.b);a.prototype.type="arc",e.a=a},560:function(t,e,r){"use strict";var i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e.a=i},564:function(t,e,r){"use strict";var i=Math.round(9*Math.random()),n=function(){function t(){this._id="__ec_inner_"+i++}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=n},582:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var i=r(16);function n(t,e,r,i,n,o,a){var s=.5*(r-t),h=.5*(i-e);return(2*(e-r)+s+h)*a+(-3*(e-r)-2*s-h)*o+s*n+e}function o(t,e,r){var o=e.smooth,a=e.points;if(a&&a.length>=2){if(o&&"spline"!==o){var s=function(t,e,r,n){var o,a,s,h,u=[],l=[],c=[],f=[];if(n){s=[1/0,1/0],h=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)Object(i.min)(s,s,t[p]),Object(i.max)(h,h,t[p]);Object(i.min)(s,s,n[0]),Object(i.max)(h,h,n[1])}for(p=0,d=t.length;p<d;p++){var v=t[p];if(r)o=t[p?p-1:d-1],a=t[(p+1)%d];else{if(0===p||p===d-1){u.push(Object(i.clone)(t[p]));continue}o=t[p-1],a=t[p+1]}Object(i.sub)(l,a,o),Object(i.scale)(l,l,e);var y=Object(i.distance)(v,o),g=Object(i.distance)(v,a),_=y+g;0!==_&&(y/=_,g/=_),Object(i.scale)(c,l,-y),Object(i.scale)(f,l,g);
vendor: 11,855 bytes, line 2
2var m=Object(i.add)([],v,c),b=Object(i.add)([],v,f);n&&(Object(i.max)(m,m,s),Object(i.min)(m,m,h),Object(i.max)(b,b,s),Object(i.min)(b,b,h)),u.push(m),u.push(b)}return r&&u.push(u.shift()),u}(a,o,r,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var h=a.length,u=0;u<(r?h:h-1);u++){var l=s[2*u],c=s[2*u+1],f=a[(u+1)%h];t.bezierCurveTo(l[0],l[1],c[0],c[1],f[0],f[1])}}else{"spline"===o&&(a=function(t,e){for(var r=t.length,o=[],a=0,s=1;s<r;s++)a+=Object(i.distance)(t[s-1],t[s]);var h=a/2;for(h=h<r?r:h,s=0;s<h;s++){var u=s/(h-1)*(e?r:r-1),l=Math.floor(u),c=u-l,f=void 0,p=t[l%r],d=void 0,v=void 0;e?(f=t[(l-1+r)%r],d=t[(l+1)%r],v=t[(l+2)%r]):(f=t[0===l?l:l-1],d=t[l>r-2?r-1:l+1],v=t[l>r-3?r-1:l+2]);var y=c*c,g=c*y;o.push([n(f[0],p[0],d[0],v[0],c,y,g),n(f[1],p[1],d[1],v[1],c,y,g)])}return o}(a,r)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;u<p;u++)t.lineTo(a[u][0],a[u][1])}r&&t.closePath()}}},64:function(t,e,r){"use strict";r.r(e),r.d(e,"parse",(function(){return y})),r.d(e,"lift",(function(){return _})),r.d(e,"toHex",(function(){return m})),r.d(e,"fastLerp",(function(){return b})),r.d(e,"fastMapToColor",(function(){return x})),r.d(e,"lerp",(function(){return w})),r.d(e,"mapToColor",(function(){return k})),r.d(e,"modifyHSL",(function(){return S})),r.d(e,"modifyAlpha",(function(){return O})),r.d(e,"stringify",(function(){return T})),r.d(e,"lum",(function(){return C})),r.d(e,"random",(function(){return A}));var i=r(233),n={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 o(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return t<0?0:t>1?1:t}function s(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)?a(parseFloat(e)/100):a(parseFloat(e))}function u(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 c(t,e,r,i,n){return t[0]=e,t[1]=r,t[2]=i,t[3]=n,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i.a(20),d=null;function v(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function y(t,e){if(t){e=e||[];var r=p.get(t);if(r)return f(e,r);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in n)return f(e,n[i]),v(t,e),e;var o,a=i.length;if("#"===i.charAt(0))return 4===a||5===a?(o=parseInt(i.slice(1,4),16))>=0&&o<=4095?(c(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===a?parseInt(i.slice(4),16)/15:1),v(t,e),e):void c(e,0,0,0,1):7===a||9===a?(o=parseInt(i.slice(1,7),16))>=0&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===a?parseInt(i.slice(7),16)/255:1),v(t,e),e):void c(e,0,0,0,1):void 0;var u=i.indexOf("("),l=i.indexOf(")");if(-1!==u&&l+1===a){var d=i.substr(0,u),y=i.substr(u+1,l-(u+1)).split(","),_=1;switch(d){case"rgba":if(4!==y.length)return 3===y.length?c(e,+y[0],+y[1],+y[2],1):c(e,0,0,0,1);_=h(y.pop());case"rgb":return 3!==y.length?void c(e,0,0,0,1):(c(e,s(y[0]),s(y[1]),s(y[2]),_),v(t,e),e);case"hsla":return 4!==y.length?void c(e,0,0,0,1):(y[3]=h(y[3]),g(y,e),v(t,e),e);case"hsl":return 3!==y.length?void c(e,0,0,0,1):(g(y,e),v(t,e),e);default:return}}c(e,0,0,0,1)}}function g(t,e){var r=(parseFloat(t[0])%360+360)%360/360,i=h(t[1]),n=h(t[2]),a=n<=.5?n*(i+1):n+i-n*i,s=2*n-a;return c(e=e||[],o(255*u(s,a,r+1/3)),o(255*u(s,a,r)),o(255*u(s,a,r-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t,e){var r=y(t);if(r){for(var i=0;i<3;i++)r[i]=e<0?r[i]*(1-e)|0:(255-r[i])*e+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return T(r,4===r.length?"rgba":"rgb")}}function m(t){var e=y(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function b(t,e,r){if(e&&e.length&&t>=0&&t<=1){r=r||[];var i=t*(e.length-1),n=Math.floor(i),s=Math.ceil(i),h=e[n],u=e[s],c=i-n;return r[0]=o(l(h[0],u[0],c)),r[1]=o(l(h[1],u[1],c)),r[2]=o(l(h[2],u[2],c)),r[3]=a(l(h[3],u[3],c)),r}}var x=b;function w(t,e,r){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),n=Math.floor(i),s=Math.ceil(i),h=y(e[n]),u=y(e[s]),c=i-n,f=T([o(l(h[0],u[0],c)),o(l(h[1],u[1],c)),o(l(h[2],u[2],c)),a(l(h[3],u[3],c))],"rgba");return r?{color:f,leftIndex:n,rightIndex:s,value:i}:f}}var k=w;function S(t,e,r,i){var n,o=y(t);if(t)return o=function(t){if(t){var e,r,i=t[0]/255,n=t[1]/255,o=t[2]/255,a=Math.min(i,n,o),s=Math.max(i,n,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-i)/6+h/2)/h,c=((s-n)/6+h/2)/h,f=((s-o)/6+h/2)/h;i===s?e=f-c:n===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]=(n=e,(n=Math.round(n))<0?0:n>360?360:n)),null!=r&&(o[1]=h(r)),null!=i&&(o[2]=h(i)),T(g(o),"rgba")}function O(t,e){var r=y(t);if(r&&null!=e)return r[3]=a(e),T(r,"rgba")}function T(t,e){if(t&&t.length){var r=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(r+=","+t[3]),e+"("+r+")"}}function C(t,e){var r=y(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}function A(){return"rgb("+Math.round(255*Math.random())+","+Math.round(255*Math.random())+","+Math.round(255*Math.random())+")"}},67:function(t,e,r){"use strict";var i=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,i){t.x=e.x+r.x*i,t.y=e.y+r.y*i},t.lerp=function(t,e,r,i){var n=1-i;t.x=n*e.x+i*r.x,t.y=n*e.y+i*r.y},t}();e.a=i},690:function(t,e,r){"use strict";var i=r(47),n=r(45),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 Object(i.a)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var r=e.cx,i=e.cy,n=2*Math.PI;t.moveTo(r+e.r,i),t.arc(r,i,e.r,0,n,!1),t.moveTo(r+e.r0,i),t.arc(r,i,e.r0,0,n,!0)},e}(n.b);a.prototype.type="ring",e.a=a},691:function(t,e,r){"use strict";var i=r(47),n=r(45),o=r(16),a=r(46),s=[],h=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,r){var i=t.cpx2,n=t.cpy2;return null===i||null===n?[(r?a.b:a.a)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?a.b:a.a)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?a.i:a.h)(t.x1,t.cpx1,t.x2,e),(r?a.i:a.h)(t.y1,t.cpy1,t.y2,e)]}var l=function(t){function e(e){return t.call(this,e)||this}return Object(i.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.x1,i=e.y1,n=e.x2,o=e.y2,h=e.cpx1,u=e.cpy1,l=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(r,i),null==l||null==c?(f<1&&(Object(a.n)(r,h,n,f,s),h=s[1],n=s[2],Object(a.n)(i,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(h,u,
2n,o)):(f<1&&(Object(a.g)(r,h,l,n,f,s),h=s[1],l=s[2],n=s[3],Object(a.g)(i,u,c,o,f,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(h,u,l,c,n,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(n.b);l.prototype.type="bezier-curve",e.a=l},692:function(t,e,r){"use strict";var i=r(47),n=r(45),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(i.a)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),r=0;r<t.length;r++)e=e||t[r].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),r=0;r<t.length;r++)t[r].path||t[r].createPathProxy(),t[r].path.setScale(e[0],e[1],t[r].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],i=0;i<r.length;i++)r[i].buildPath(t,r[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),n.b.prototype.getBoundingRect.call(this)},e}(n.b);e.a=o},704:function(t,e,r){"use strict";r.d(e,"a",(function(){return E})),r.d(e,"b",(function(){return B}));var i,n=r(82),o=r(93),a=r(395),s=r(108),h=r(466),u=r(297),l=r(296),c=r(323),f=r(29),p=r(416),d=r(0),v=r(389),y=r(544),g=r(214),_=r(467),m={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},b=Object(d.keys)(m),x={"alignment-baseline":"textBaseline","stop-color":"stopColor"},w=Object(d.keys)(x),k=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var r=Object(_.a)(t);if(!r)throw new Error("Illegal svg");this._defsUsePending=[];var i=new n.a;this._root=i;var o=[],a=r.getAttribute("viewBox")||"",h=parseFloat(r.getAttribute("width")||e.width),u=parseFloat(r.getAttribute("height")||e.height);isNaN(h)&&(h=null),isNaN(u)&&(u=null),j(r,i,null,!0,!1);for(var l,c,f=r.firstChild;f;)this._parseNode(f,i,o,null,!1,!1),f=f.nextSibling;if(function(t,e){for(var r=0;r<e.length;r++){var i=e[r];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],a){var p=L(a);p.length>=4&&(l={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(l&&null!=h&&null!=u&&(c=E(l,{x:0,y:0,width:h,height:u}),!e.ignoreViewBox)){var d=i;(i=new n.a).add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==h||null==u||i.setClipPath(new s.a({shape:{x:0,y:0,width:h,height:u}})),{root:i,width:h,height:u,viewBoxRect:l,viewBoxTransform:c,named:o}},t.prototype._parseNode=function(t,e,r,n,o,a){var s,h=t.nodeName.toLowerCase(),u=n;if("defs"===h&&(o=!0),"text"===h&&(a=!0),"defs"===h||"switch"===h)s=e;else{if(!o){var l=i[h];if(l&&Object(d.hasOwn)(i,h)){s=l.call(this,t,e);var c=t.getAttribute("name");if(c){var f={name:c,namedFrom:null,svgNodeTagLower:h,el:s};r.push(f),"g"===h&&(u=f)}else n&&r.push({name:n.name,namedFrom:n,svgNodeTagLower:h,el:s});e.add(s)}}var p=S[h];if(p&&Object(d.hasOwn)(S,h)){var v=p.call(this,t),y=t.getAttribute("id");y&&(this._defs[y]=v)}}if(s&&s.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,s,r,u,o,a):3===g.nodeType&&a&&this._parseText(g,s),g=g.nextSibling},t.prototype._parseText=function(t,e){var r=new g.a({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});C(e,r),j(t,r,this._defsUsePending,!1,!1),function(t,e){var r=e.__selfStyle;if(r){var i=r.textBaseline,n=i;i&&"auto"!==i?"baseline"===i?n="alphabetic":"before-edge"===i||"text-before-edge"===i?n="top":"after-edge"===i||"text-after-edge"===i?n="bottom":"central"!==i&&"mathematical"!==i||(n="middle"):n="alphabetic",t.style.textBaseline=n}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(r,e);var i=r.style,n=i.fontSize;n&&n<9&&(i.fontSize=9,r.scaleX*=n/9,r.scaleY*=n/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;
2var a=r.getBoundingRect();return this._textX+=a.width,e.add(r),r},t.internalField=void(i={g:function(t,e){var r=new n.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r},rect:function(t,e){var r=new s.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(t,e){var r=new a.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,e){var r=new u.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(t,e){var r=new h.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(t,e){var r,i=t.getAttribute("points");i&&(r=A(i));var n=new l.a({shape:{points:r||[]},silent:!0});return C(e,n),j(t,n,this._defsUsePending,!1,!1),n},polyline:function(t,e){var r,i=t.getAttribute("points");i&&(r=A(i));var n=new c.a({shape:{points:r||[]},silent:!0});return C(e,n),j(t,n,this._defsUsePending,!1,!1),n},image:function(t,e){var r=new o.a;return C(e,r),j(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,e){var r=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var s=new n.a;return C(e,s),j(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var r=t.getAttribute("x"),i=t.getAttribute("y");null!=r&&(this._textX=parseFloat(r)),null!=i&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",s=new n.a;return C(e,s),j(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(a),s},path:function(t,e){var r=t.getAttribute("d")||"",i=Object(p.a)(r);return C(e,i),j(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}),t}(),S={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),r=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),n=parseInt(t.getAttribute("y2")||"0",10),o=new v.a(e,r,i,n);return O(t,o),T(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),r=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),n=new y.a(e,r,i);return O(t,n),T(t,n),n}};function O(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function T(t,e){for(var r=t.firstChild;r;){if(1===r.nodeType&&"stop"===r.nodeName.toLocaleLowerCase()){var i=r.getAttribute("offset"),n=void 0;n=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};z(r,o,o);var a=o.stopColor||r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:n,color:a})}r=r.nextSibling}}function C(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(d.defaults)(e.__inheritedStyle,t.__inheritedStyle))}function A(t){for(var e=L(t),r=[],i=0;i<e.length;i+=2){var n=parseFloat(e[i]),o=parseFloat(e[i+1]);r.push([n,o])}return r}function j(t,e,r,i,n){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var r=t.getAttribute("transform");if(r){r=r.replace(/,/g," ");var i=[],n=null;r.replace(R,(function(t,e,r){return i.push(e,r),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],h=void 0;switch(n=n||f.create(),s){case"translate":h=L(a),f.translate(n,n,[parseFloat(h[0]),parseFloat(h[1]||"0")]);break;case"scale":h=L(a),f.scale(n,n,[parseFloat(h[0]),parseFloat(h[1]||h[0])]);break;case"rotate":h=L(a),f.rotate(n,n,-parseFloat(h[0])/180*Math.PI);break;case"skew":h=L(a);break;case"matrix":h=L(a),n[0]=parseFloat(h[0]),n[1]=parseFloat(h[1]),n[2]=parseFloat(h[2]),n[3]=
2parseFloat(h[3]),n[4]=parseFloat(h[4]),n[5]=parseFloat(h[5])}}e.setLocalTransform(n)}}(t,e),z(t,a,s),i||function(t,e,r){for(var i=0;i<b.length;i++){var n=b[i];null!=(o=t.getAttribute(n))&&(e[m[n]]=o)}for(i=0;i<w.length;i++){var o;n=w[i];null!=(o=t.getAttribute(n))&&(r[x[n]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=M(o,"fill",a.fill,r)),null!=a.stroke&&(o.style.stroke=M(o,"stroke",a.stroke,r)),Object(d.each)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),Object(d.each)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),n&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(d.map)(L(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0),o.z=-1e4,o.z2=-1e3}var P=/^url\(\s*#(.*?)\)/;function M(t,e,r,i){var n=r&&r.match(P);if(!n)return"none"===r&&(r=null),r;var o=Object(d.trim)(n[1]);i.push([t,e,o])}var D=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function L(t){return t.match(D)||[]}var R=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g;var I=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(t,e,r){var i,n=t.getAttribute("style");if(n)for(I.lastIndex=0;null!=(i=I.exec(n));){var o=i[1],a=Object(d.hasOwn)(m,o)?m[o]:null;a&&(e[a]=i[2]);var s=Object(d.hasOwn)(x,o)?x[o]:null;s&&(r[s]=i[2])}}function E(t,e){var r=e.width/t.width,i=e.height/t.height,n=Math.min(r,i);return{scale:n,x:-(t.x+t.width/2)*n+(e.x+e.width/2),y:-(t.y+t.height/2)*n+(e.y+e.height/2)}}function B(t,e){return(new k).parse(t,e)}},73:function(t,e,r){"use strict";r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return l})),r.d(e,"e",(function(){return c})),r.d(e,"a",(function(){return f})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return d})),r.d(e,"d",(function(){return v}));var i=r(38),n=r(482),o="undefined"!=typeof window&&!!window.addEventListener,a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=[];function h(t,e,r,n){return r=r||{},n||!i.a.canvasSupported?u(t,e,r):i.a.browser.firefox&&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(i.a.domSupported&&t.getBoundingClientRect){var o=e.clientX,a=e.clientY;if(Object(n.a)(t)){var h=t.getBoundingClientRect();return r.zrX=o-h.left,void(r.zrY=a-h.top)}if(Object(n.b)(s,t,o,a))return r.zrX=s[0],void(r.zrY=s[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 i=e.type;if(i&&i.indexOf("touch")>=0){var n="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];n&&h(t,n,e,r)}else{h(t,e,e,r);var o=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,i=t.deltaY;if(null==r||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(r))*(i>0?-1:i<0?1:r>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&a.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,r,i){o?t.addEventListener(e,r,i):t.attachEvent("on"+e,r)}function p(t,e,r,i){o?t.removeEventListener(e,r,i):t.detachEvent("on"+e,r)}var d=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function v(t){return 2===t.which||3===t.which}},82:function(t,e,r){"use strict";var i=r(47),n=r(0),o=r(148),a=r(34),s=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return Object(i.a)(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<e.length;r++)if(e[r].name===t)return e[r]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var r=this._children,i=r.indexOf(e);i>=0&&(r.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replaceAt=function(t,e){var r=this._children,i=r[e];if(t&&t!==this&&t.parent!==this&&t!==i){r[e]=t,i.parent=null;var n=this.__zr;n&&i.removeSelfFromZr(n),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,i=n.indexOf(r,t);return i<0||(r.splice(i,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<t.length;r++){var i=t[r];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,i=0;i<r.length;i++){var n=r[i];t.call(e,n,i)}return this},e.prototype.traverse=function(t,e){for(var r=0;r<this._children.length;r++){var i=this._children[r],n=t.call(e,i);i.isGroup&&!n&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++){this._children[r].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++){this._children[r].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new a.a(0,0,0,0),r=t||this._children,i=[],n=null,o=0;o<r.length;o++){var s=r[o];
2if(!s.ignore&&!s.invisible){var h=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.a.applyTransform(e,h,u),(n=n||e.clone()).union(e)):(n=n||h.clone()).union(h)}}return n||e},e}(o.a);s.prototype.type="group",e.a=s},93:function(t,e,r){"use strict";var i=r(47),n=r(106),o=r(34),a=r(0),s=Object(a.defaults)({x:0,y:0},n.b),h={style:Object(a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},n.a.style)};var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.a)(e,t),e.prototype.createStyle=function(t){return Object(a.createObject)(s,t)},e.prototype._getSize=function(t){var e=this.style,r=e[t];if(null!=r)return r;var i,n=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!n)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?n[t]:n[t]/n[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return h},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}(n.c);u.prototype.type="image",e.a=u}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.