chunk-vendors-199b0f51.c857f192.js 19 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[8139],{45280:function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function n(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e}function s(t,e,i){return t[0]=e,t[1]=i,t}function a(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function l(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function h(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function u(t){return Math.sqrt(p(t))}var c=u;function p(t){return t[0]*t[0]+t[1]*t[1]}var f=p;function d(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function y(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function g(t,e){return t[0]*e[0]+t[1]*e[1]}function m(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function v(t,e){var i=u(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=_;function b(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var S=b;function w(t,e){return t[0]=-e[0],t[1]=-e[1],t}function T(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function B(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function P(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function k(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.create=n,e.copy=r,e.clone=o,e.set=s,e.add=a,e.scaleAndAdd=l,e.sub=h,e.len=u,e.length=c,e.lenSquare=p,e.lengthSquare=f,e.mul=d,e.div=y,e.dot=g,e.scale=m,e.normalize=v,e.distance=_,e.dist=x,e.distanceSquare=b,e.distSquare=S,e.negate=w,e.lerp=T,e.applyTransform=B,e.min=P,e.max=k},85546:function(t,e,i){var n=i(61158),r=n.addEventListener,o=n.removeEventListener,s=n.normalizeEvent,a=n.getNativeEvent,l=i(33051),h=i(41502),u=i(66387),c=300,p=u.domSupported,f=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=l.map(t,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:n}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function y(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function g(t){var e=t.pointerType;return"pen"===e||"touch"===e}function m(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function v(t){t&&(t.zrByTouch=!0)}function _(t,e){return s(t.dom,new b(t,e),!0)}function x(t,e){var i=e,n=!1;while(i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==e&&i===t.painterRoot))i=i.parentNode;return n}function b(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var S=b.prototype;S.stopPropagation=S.stopImmediatePropagation=S.preventDefault=l.noop;var w={mousedown:function(t){t=s(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=s(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||O(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=s(this.dom,t),O(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=s(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=x(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=s(this.dom,t),v(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),w.mousemove.call(this,t),w.mousedown.call(this,t)},touchmove:function(t){t=s(this.dom,t),v(t),this.handler.processGesture(t,"change"),w.mousemove.call(this,t)},touchend:function(t){t=s(this.dom,t),v(t),this.handler.processGesture(t,"end"),w.mouseup.call(this,t),+new Date-this._lastTouchMoment<c&&w.click.call(this,t)},pointerdown:function(t){w.mousedown.call(this,t)},pointermove:function(t){g(t)||w.mousemove.call(this,t)},pointerup:function(t){w.mouseup.call(this,t)},pointerout:function(t){g(t)||w.mouseout.call(this,t)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(t){w[t]=function(e){e=s(this.dom,e),this.trigger(t,e)}}));var T={pointermove:function(t){g(t)||T.mousemove.call(this,t)},pointerup:function(t){T.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;O(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function B(t,e){var i=e.domHandlers;u.pointerEventsSupported?l.each(f.pointer,(function(n){k(e,n,(function(e){i[n].call(t,e)}))})):(u.touchEventsSupported&&l.each(f.touch,(function(n){k(e,n,(function(r){i[n].call(t,r),m(e)}))})),l.each(f.mouse,(function(n){k(e,n,(function(r){r=a(r),e.touching||i[n].call(t,r)}))})))}function P(t,e){function i(i){function n(n){n=a(n),x(t,n.target)||(n=_(t,n),e.domHandlers[i].call(t,n))}k(e,i,n,{capture:!0})}u.pointerEventsSupported?l.each(d.pointer,i):u.touchEventsSupported||l.each(d.mouse,i)}function k(t,e,i,n){t.mounted[e]=i,t.listenerOpts[e]=n,r(t.domTarget,y(e),i,n)}function C(t){var e=t.mounted;for(var i in e)e.hasOwnProperty(i)&&o(t.domTarget,y(i),e[i],t.listenerOpts[i]);t.mounted={}}function O(t,e){if(t._mayPointerCapture=null,p&&t._pointerCapturing^e){t._pointerCapturing=e;var i=t._globalHandlerScope;e?P(t,i):C(i)}}function D(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function R(t,e){h.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new D(t,w),p&&(this._globalHandlerScope=new D(document,T)),this._pointerCapturing=!1,this._mayPointerCapture=null,B(this,this._localHandlerScope)}var L=R.prototype;L.dispose=function(){C(this._localHandlerScope),p&&C(this._globalHandlerScope)},L.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},l.mixin(R,h);var N=R;t.exports=N},52776:function(t,e,i){var n=i(10712),r=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),n.prototype.getBoundingRect.call(this)}});t.exports=r},7719:function(t,e,i){var n=i(33051),r=i(40342),o=i(85823),s=i(41406);function a(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=null}a.prototype={constructor:a,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new r(t,this),this.dirty(!1),this},calculateTextPosition:null},n.inherits(a,o),n.mixin(a,s);var l=a;t.exports=l},31797:function(t){var e=function(t){this.colorStops=t||[]};e.prototype={constructor:e,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var i=e;t.exports=i},44535:function(t,e,i){var n=i(7719),r=i(60479),o=i(33051),s=i(8007);function a(t){n.call(this,t)}a.prototype={constructor:a,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var r=this._image=s.createOrUpdateImage(n,this._image,this,this.onload);if(r&&s.isImageReady(r)){var o=i.x||0,a=i.y||0,l=i.width,h=i.height,u=r.width/r.height;if(null==l&&null!=h?l=h*u:null==h&&null!=l?h=l/u:null==l&&null==h&&(l=r.width,h=r.height),this.setTransform(t),i.sWidth&&i.sHeight){var c=i.sx||0,p=i.sy||0;t.drawImage(r,c,p,i.sWidth,i.sHeight,o,a,l,h)}else if(i.sx&&i.sy){c=i.sx,p=i.sy;var f=l-c,d=h-p;t.drawImage(r,c,p,f,d,o,a,l,h)}else t.drawImage(r,o,a,l,h);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(a,n);var l=a;t.exports=l},91754:function(t,e,i){var n=i(33051),r=n.inherits,o=i(7719),s=i(60479);function a(t){o.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}a.prototype.incremental=!0,a.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},a.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},a.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},a.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])},a.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},a.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++){var n=this._displayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._cursor=i;for(i=0;i<this._temporaryDisplayables.length;i++){n=this._temporaryDisplayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];a.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new s(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(l)),t.union(n)}this._rect=t}return this._rect},a.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(n.contain(i[0],i[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},r(a,o);var h=a;t.exports=h},74438:function(t,e,i){var n=i(33051),r=i(31797),o=function(t,e,i,n,o,s){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=s||!1,r.call(this,o)};o.prototype={constructor:o},n.inherits(o,r);var s=o;t.exports=s},10712:function(t,e,i){var n=i(7719),r=i(33051),o=i(14014),s=i(85365),a=i(31870),l=a.prototype.getCanvasPattern,h=Math.abs,u=new o(!0);function c(t){n.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,r=this.path||u,o=n.hasStroke(),s=n.hasFill(),a=n.fill,h=n.stroke,c=s&&!!a.colorStops,p=o&&!!h.colorStops,f=s&&!!a.image,d=o&&!!h.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,a,i)),p&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,h,i)));c?t.fillStyle=this._fillGradient:f&&(t.fillStyle=l.call(a,t)),p?t.strokeStyle=this._strokeGradient:d&&(t.strokeStyle=l.call(h,t));var y=n.lineDash,g=n.lineDashOffset,m=!!t.setLineDash,v=this.getGlobalScale();if(r.setScale(v[0],v[1],this.segmentIgnoreThreshold),this.__dirtyPath||y&&!m&&o?(r.beginPath(t),y&&!m&&(r.setLineDash(y),r.setLineDashOffset(g)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),s)if(null!=n.fillOpacity){var _=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,r.fill(t),t.globalAlpha=_}else r.fill(t);if(y&&m&&(t.setLineDash(y),t.lineDashOffset=g),o)if(null!=n.strokeOpacity){_=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,r.stroke(t),t.globalAlpha=_}else r.stroke(t);y&&m&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new o),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){r.copy(t);var s=e.lineWidth,a=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(s=Math.max(s,this.strokeContainThreshold||4)),a>1e-10&&(r.width+=s/a,r.height+=s/a,r.x-=s/a/2,r.y-=s/a/2)}return r}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var a=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(o,a/l,t,e)))return!0}if(r.hasFill())return s.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(r.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var r in i)!n.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(n[r]=i[r])}t.init&&t.init.call(this,e)};for(var i in r.inherits(e,c),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},r.inherits(c,n);var p=c;t.exports=p},31870:function(t){var e=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};e.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var i=e;t.exports=i},36369:function(t,e,i){var n=i(33051),r=i(31797),o=function(t,e,i,n,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=o||!1,r.call(this,n)};o.prototype={constructor:o},n.inherits(o,r);var s=o;t.exports=s},40342:function(t,e,i){var n=i(61260),r=i(71131),o=r.ContextCachedBy,s=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],a=function(t){this.extendFrom(t,!1)};function l(t,e,i){var n=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,s=null==e.y2?0:e.y2;e.global||(n=n*i.width+i.x,r=r*i.width+i.x,o=o*i.height+i.y,s=s*i.height+i.y),n=isNaN(n)?0:n,r=isNaN(r)?1:r,o=isNaN(o)?0:o,s=isNaN(s)?0:s;var a=t.createLinearGradient(n,o,r,s);return a}function h(t,e,i){var n=i.width,r=i.height,o=Math.min(n,r),s=null==e.x?.5:e.x,a=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(s=s*n+i.x,a=a*r+i.y,l*=o);var h=t.createRadialGradient(s,a,0,s,a,l);return h}a.prototype={constructor:a,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var r=this,a=i&&i.style,l=!a||t.__attrCachedBy!==o.STYLE_BIND;t.__attrCachedBy=o.STYLE_BIND;for(var h=0;h<s.length;h++){var u=s[h],c=u[0];(l||r[c]!==a[c])&&(t[c]=n(t,c,r[c]||u[1]))}if((l||r.fill!==a.fill)&&(t.fillStyle=r.fill),(l||r.stroke!==a.stroke)&&(t.strokeStyle=r.stroke),(l||r.opacity!==a.opacity)&&(t.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==a.blend)&&(t.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var p=r.lineWidth;t.lineWidth=p/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?h:l,r=n(t,e,i),o=e.colorStops,s=0;s<o.length;s++)r.addColorStop(o[s].offset,o[s].color);return r}};for(var u=a.prototype,c=0;c<s.length;c++){var p=s[c];p[0]in u||(u[p[0]]=p[1])}a.getGradient=u.getGradient;var f=a;t.exports=f},96498:function(t,e,i){var n=i(7719),r=i(33051),o=i(80423),s=i(98886),a=i(71131),l=a.ContextCachedBy,h=function(t){n.call(this,t)};h.prototype={constructor:h,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&s.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),s.needDrawText(n,i)?(this.setTransform(t),s.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&s.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=o.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,s.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},r.inherits(h,n);var u=h;t.exports=u},71131:function(t,e){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},n=9;e.ContextCachedBy=i,e.WILL_BE_RESTORED=n}}]);
  2. //# sourceMappingURL=chunk-vendors-199b0f51.c857f192.js.map