@perses-dev/scatter-chart-plugin 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- /*! For license information please see 527.fee5c32a.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkScatterChart=self.webpackChunkScatterChart||[]).push([["527"],{9988:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},4246:function(t,e,n){t.exports=n(1426)},9362:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},9858:function(t,e,n){n.d(e,{D:()=>s,KZ:()=>l,XD:()=>p,Zi:()=>d,bX:()=>h,eq:()=>u,ke:()=>o});var i=n(7975),r=(0,n(6571).Yf)();function o(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var h=void 0,c=void 0,p=void 0;return r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,i.mf)(p)&&(p=p(n,o)),(0,i.mf)(h)&&(h=h(n)),{duration:h||0,delay:p,easing:c}}function a(t,e,n,r,a,s,l){var u,h=!1;(0,i.mf)(a)?(l=s,s=a,a=null):(0,i.Kn)(a)&&(s=a.cb,l=a.during,h=a.isFrom,u=a.removeOpt,a=a.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var p=o(t,r,a,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var d={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!c,scope:t,during:l};h?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),h||e.attr(n),l&&l(1),s&&s()}function s(t,e,n,i,r,o){a("update",t,e,n,i,r,o)}function l(t,e,n,i,r,o){a("enter",t,e,n,i,r,o)}function u(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function h(t,e,n,i,r,o){!u(t)&&a("leave",t,e,n,i,r,o)}function c(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),h(t,{style:{opacity:0}},e,n,i)}function p(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,n,i)}):c(t,e,n,i)}function d(t){r(t).oldStyle=t.style}},3802:function(t,e,n){n.d(e,{Z:()=>f});var i=n(9988),r=n(5965),o=n(7293),a=n(9858),s=n(428),l=n(8306),u=n(6072),h=n(7975),c=n(3361),p=n(3287);function d(t,e){this.parent.drift(t,e)}let f=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.ZT)(e,t),e.prototype._createSymbol=function(t,e,n,i,o){this.removeAll();var a=(0,r.th)(t,-1,-1,2,2,null,o);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=d,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,l.fD)(this.childAt(0))},e.prototype.downplay=function(){(0,l.Mh)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=o!==this._symbolType,h=r&&r.disableAnimation;if(u){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,c)}else{var p=this.childAt(0);p.silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};h?p.attr(d):a.D(p,d,s,n),(0,a.Zi)(p)}if(this._updateCommon(t,n,l,i,r),u){var p=this.childAt(0);if(!h){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,a.KZ(p,d,s,n)}}h&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,o){var a,s,d,f,g,y,v,m,_,x=this.childAt(0),S=t.hostModel;if(i&&(a=i.emphasisItemStyle,s=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,g=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,y=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),b=w.getModel("emphasis");a=b.getModel("itemStyle").getItemStyle(),d=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),f=b.get("focus"),g=b.get("blurScope"),y=b.get("disabled"),v=(0,c.k3)(w),m=b.getShallow("scale"),_=w.getShallow("cursor")}var M=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(M||0)*Math.PI/180||0);var T=(0,r.Cq)(t.getItemVisual(e,"symbolOffset"),n);T&&(x.x=T[0],x.y=T[1]),_&&x.attr("cursor",_);var D=t.getItemVisual(e,"style"),C=D.fill;if(x instanceof p.ZP){var k=x.style;x.useStyle((0,h.l7)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},D))}else x.__isEmptyBrush?x.useStyle((0,h.l7)({},D)):x.useStyle(D),x.style.decal=null,x.setColor(C,o&&o.symbolInnerColor),x.style.strokeNoScale=!0;var I=t.getItemVisual(e,"liftZ"),A=this._z2;null!=I?null==A&&(this._z2=x.z2,x.z2+=I):null!=A&&(x.z2=A,this._z2=null);var P=o&&o.useNameLabel;(0,c.ni)(x,v,{labelFetcher:S,labelDataIndex:e,defaultText:function(e){return P?t.getName(e):(0,u.H)(t,e)},inheritColor:C,defaultOpacity:D.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var Z=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*Z,L.scaleY=this._sizeY*Z,this.setSymbolScale(1),(0,l.k5)(this,f,g,y)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,s.A)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&a.bX(l,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();a.bX(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,r.zp)(t.getItemVisual(e,"symbolSize"))},e}(o.Z)},5434:function(t,e,n){n.d(e,{Z:()=>p});var i=n(7293),r=n(9858),o=n(7810),a=n(3802),s=n(7975),l=n(3361);function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function h(t){return null==t||(0,s.Kn)(t)||(t={isIgnore:t}),t||{}}function c(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.k3)(e),cursorStyle:e.get("cursor")}}let p=function(){function t(t){this.group=new i.Z,this._SymbolCtor=t||a.Z}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=h(e);var n=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=c(t),p={disableAnimation:s},d=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||n.removeAll(),t.diff(o).add(function(i){var r=d(i);if(u(t,r,i,e)){var o=new a(t,i,l,p);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}}).update(function(h,c){var f=o.getItemGraphicEl(c),g=d(h);if(!u(t,g,h,e)){n.remove(f);return}var y=t.getItemVisual(h,"symbol")||"circle",v=f&&f.getSymbolType&&f.getSymbolType();if(!f||v&&v!==y)n.remove(f),(f=new a(t,h,l,p)).setPosition(g);else{f.updateData(t,h,l,p);var m={x:g[0],y:g[1]};s?f.attr(m):r.D(f,m,i)}n.add(f),t.setItemGraphicEl(h,f)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=d,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=h(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(u(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}()},3149:function(t,e,n){n.d(e,{Z:()=>r});var i=n(6571);function r(){var t=(0,i.Yf)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!!(i&&i.large),s=n.progressiveRender=!!(i&&i.progressiveRender);return(r!==a||o!==s)&&"reset"}}},984:function(t,e,n){n.d(e,{Z:()=>y});var i=n(7975),r=n(3208),o=n(6904),a=n(5521),s=n(6571),l=n(9801),u=function(t){this.coordSysDims=[],this.axisMap=(0,i.kW)(),this.categoryAxisMap=(0,i.kW)(),this.coordSysName=t},h={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.C6).models[0],o=t.getReferringComponents("yAxis",s.C6).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),c(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.C6).models[0];e.coordSysDims=["single"],n.set("single",r),c(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.C6).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.S6)(a.parallelAxisIndex,function(t,i){var a=o.getComponent("parallelAxis",t),l=s[i];n.set(l,a),c(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))})}};function c(t){return"category"===t.get("type")}var p=n(3347),d=n(7384),f=n(6451),g=n(9484);let y=function(t,e,n){n=n||{};var c,y,v,m,_,x,S,w,b=e.getSourceManager(),M=!1;t?(M=!0,w=(0,p.nx)(t)):M=(w=b.getSource()).sourceFormat===g.cy;var T=function(t){var e=t.get("coordinateSystem"),n=new u(e),i=h[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),D=(y=e.get("coordinateSystem"),v=l.Z.get(y),T&&T.coordSysDims&&(c=i.UI(T.coordSysDims,function(t){var e={name:t},n=T.axisMap.get(t);if(n){var i=n.get("type");e.type=(0,a.T)(i)}return e})),c||(c=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),c),C=n.useEncodeDefaulter,k=i.mf(C)?C:C?i.WA(f.pY,D,e):null,I={coordDimensions:D,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:k,canOmitUnusedDimensions:!M},A=(0,o.Z)(w,I),P=(m=A.dimensions,_=n.createInvertedIndices,T&&i.S6(m,function(t,e){var n=t.coordDim,i=T.categoryAxisMap.get(n);i&&(null==x&&(x=e),t.ordinalMeta=i.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(S=!0)}),S||null==x||(m[x].otherDims.itemName=0),x),L=M?null:b.getSharedDataStore(A),Z=(0,d.BM)(e,{schema:A,store:L}),O=new r.Z(A,e);O.setCalculationInfo(Z);var R=null!=P&&function(t){if(t.sourceFormat===g.cy){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i.kJ((0,s.C4)(e))}}(w)?function(t,e,n,i){return i===P?n:this.defaultDimValueGetter(t,e,n,i)}:null;return O.hasItemOption=!1,O.initData(M?w:L,null,R),O}},6072:function(t,e,n){n.d(e,{H:()=>o,O:()=>a});var i=n(5562),r=n(7975);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.hk)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.hk)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.kJ)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")}},8890:function(t,e,n){n.d(e,{N:()=>_});var i=n(6232),r=n(9988),o=n(984),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,r.ZT)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(n(5430).Z),s=n(5434),l=n(9495),u=n(8588),h=n(7293),c=n(5965),p=n(428),d=function(){},f=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new d},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l){this._ctx=s;return}for(this._ctx=null,n=this._off;n<i.length;){var h=i[n++],c=i[n++];!(isNaN(h)||isNaN(c))&&(!u||u.contain(h,c))&&(a.x=h-r[0]/2,a.y=c-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];!(isNaN(a)||isNaN(s))&&(!o||o.contain(a,s))&&r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return -1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return(t=n[0],e=n[1],i.contain(t,e))?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,u=-1/0,h=-1/0,c=0;c<n.length;){var p=n[c++],d=n[c++];a=Math.min(p,a),u=Math.max(p,u),s=Math.min(d,s),h=Math.max(d,h)}t=this._rect=new l.Z(a-r/2,s-o/2,u-a+r,h-s+o)}return t},e}(u.ZP),g=function(){function t(){this.group=new h.Z}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var n=(t.endIndex-t.startIndex)*2,i=8*t.startIndex;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()})},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new f({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=(0,c.th)(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=(0,p.A)(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),y=n(3706),v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=(0,y.Z)("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new g:new s.Z,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(n(8050).Z),m=n(6435);function _(t){(0,i.D)(m.N),t.registerSeriesModel(a),t.registerChartView(v),t.registerLayout((0,y.Z)("scatter"))}},3914:function(t,e,n){n.d(e,{Z:()=>M});var i=n(7975),r=n(7293),o=n(2859),a=n(7810),s=n(4639),l=n(428),u=n(3361),h=n(6505),c=n(2517),p=n(5965),d=n(9634),f=n(7605),g=n(1335),y=n(7285),v=Math.PI,m=function(){function t(t,e){this.group=new r.Z,this.opt=e,this.axisModel=t,(0,i.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=(0,c.wW)(e-t);return(0,c.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,c.mW)(o-v)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<v?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=r.transform,h=[l[0],0],c=[l[1],0],d=h[0]>c[0];u&&((0,f.Ne)(h,h,u),(0,f.Ne)(c,c,u));var g=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.Z({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",n.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,i.HD)(v)&&(v=[v,v]),((0,i.HD)(m)||(0,i.hj)(m))&&(m=[m,m]);var _=(0,p.Cq)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],S=m[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],function(e,i){if("none"!==v[i]&&null!=v[i]){var r=(0,p.th)(v[i],-x/2,-S/2,x,S,g.stroke,!0),o=e.r+e.offset,a=d?c:h;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=b(o.getTicksCoords(),e.transform,u,(0,i.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)t.add(h[c]);return h}}(n,r,e,t),a=function(t,e,n,r){var o=n.axis;if(!(!(0,i.Jv)(r.axisLabelShow,n.get(["axisLabel","show"]))||o.scale.isBlank())){var a=n.getModel("axisLabel"),c=a.get("margin"),p=o.getViewLabels(),d=((0,i.Jv)(r.labelRotate,a.get("rotate"))||0)*v/180,f=m.innerTextLayout(r.rotation,d,r.labelDirection),g=n.getCategories&&n.getCategories(!0),y=[],_=m.isLabelSilent(n),x=n.get("triggerEvent");return(0,i.S6)(p,function(d,v){var S="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(d.tickValue):d.tickValue,w=d.formattedLabel,b=d.rawLabel,M=a;if(g&&g[S]){var T=g[S];(0,i.Kn)(T)&&T.textStyle&&(M=new h.Z(T.textStyle,a,n.ecModel))}var D=M.getTextColor()||n.get(["axisLine","lineStyle","color"]),C=o.dataToCoord(S),k=M.getShallow("align",!0)||f.textAlign,I=(0,i.pD)(M.getShallow("alignMinLabel",!0),k),A=(0,i.pD)(M.getShallow("alignMaxLabel",!0),k),P=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||f.textVerticalAlign,L=(0,i.pD)(M.getShallow("verticalAlignMinLabel",!0),P),Z=(0,i.pD)(M.getShallow("verticalAlignMaxLabel",!0),P),O=new s.ZP({x:C,y:r.labelOffset+r.labelDirection*c,rotation:f.rotation,silent:_,z2:10+(d.level||0),style:(0,u.Lr)(M,{text:w,align:0===v?I:v===p.length-1?A:k,verticalAlign:0===v?L:v===p.length-1?Z:P,fill:(0,i.mf)(D)?D("category"===o.type?b:"value"===o.type?S+"":S,v):D})});if(O.anid="label_"+S,x){var R=m.makeAxisEventDataBase(n);R.targetType="axisLabel",R.value=b,R.tickIndex=v,"category"===o.type&&(R.dataIndex=S),(0,l.A)(O).eventData=R}e.add(O),O.updateTransform(),y.push(O),t.add(O),O.decomposeTransform()}),y}}(n,r,e,t);if(function(t,e,n){if(!(0,g.WY)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(x(o),x(u)):S(o,a)&&(i?(x(a),x(h)):(x(o),x(u))),!1===r?(x(s),x(c)):S(l,s)&&(r?(x(l),x(p)):(x(s),x(c)))}}(e,a,o),function(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=r*a.get("length"),h=(0,i.ce)(l.getLineStyle(),(0,i.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var p=b(s[c],e.transform,u,h,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var c=(0,y.VT)((0,i.UI)(a,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.yl)(c)}},axisName:function(t,e,n,r){var o,h,p=(0,i.Jv)(t.axisName,e.get("name"));if(p){var d,f,g,y,_,x,S,b,M,T=e.get("nameLocation"),D=t.nameDirection,C=e.getModel("nameTextStyle"),k=e.get("nameGap")||0,I=e.axis.getExtent(),A=I[0]>I[1]?-1:1,P=["start"===T?I[0]-A*k:"end"===T?I[1]+A*k:(I[0]+I[1])/2,w(T)?t.labelOffset+D*k:0],L=e.get("nameRotate");null!=L&&(L=L*v/180),w(T)?o=m.innerTextLayout(t.rotation,null!=L?L:t.rotation,D):(d=t.rotation,f=T,g=L||0,y=I,S=(0,c.wW)(g-d),b=y[0]>y[1],M="start"===f&&!b||"start"!==f&&b,(0,c.mW)(S-v/2)?(x=M?"bottom":"top",_="center"):(0,c.mW)(S-1.5*v)?(x=M?"top":"bottom",_="center"):(x="middle",_=S<1.5*v&&S>v/2?M?"left":"right":M?"right":"left"),o={rotation:S,textAlign:_,textVerticalAlign:x},null!=(h=t.axisNameAvailableWidth)&&(isFinite(h=Math.abs(h/Math.sin(o.rotation)))||(h=null)));var Z=C.getFont(),O=e.get("nameTruncate",!0)||{},R=O.ellipsis,z=(0,i.Jv)(t.nameTruncateMaxWidth,O.maxWidth,h),B=new s.ZP({x:P[0],y:P[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.Lr)(C,{text:p,font:Z,overflow:"truncate",width:z,ellipsis:R,fill:C.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:C.get("align")||o.textAlign,verticalAlign:C.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:B,componentModel:e,itemName:p}),B.__fullText=p,B.anid="name",e.get("triggerEvent")){var N=m.makeAxisEventDataBase(e);N.targetType="axisName",N.name=p,(0,l.A)(B).eventData=N}r.add(B),B.updateTransform(),n.add(B),B.decomposeTransform()}}};function x(t){t&&(t.ignore=!0)}function S(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=d.yR([]);return d.U1(r,r,-t.rotation),n.applyTransform(d.dC([],r,t.getLocalTransform())),i.applyTransform(d.dC([],r,e.getLocalTransform())),n.intersect(i)}}function w(t){return"middle"===t||"center"===t}function b(t,e,n,i,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=n,e&&((0,f.Ne)(l,l,e),(0,f.Ne)(u,u,e));var p=new o.Z({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p)}return s}let M=m},3056:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9988),r=n(5962),o=n(4292),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.iG(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.np(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.Z)},5581:function(t,e,n){n.d(e,{Z:()=>o});var i=n(7975),r=n(6571);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.gO(s,t);if(null==l||l<0||i.kJ(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint){if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,d=c.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,function(t){return s.mapDimension(t)}),l))||[]}else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},6595:function(t,e,n){n.d(e,{E:()=>h,z:()=>s});var i=n(7975),r=n(4647),o=(0,n(6571).Yf)(),a=i.S6;function s(t,e,n){if(!r.Z.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){!o(t).initialized&&(o(t).initialized=!0,n("click",i.WA(u,"click")),n("mousemove",i.WA(u,"mousemove")),n("globalout",l));function n(n,i){t.on(n,function(n){var r,s,l,u,h,c,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,h=e,p=u.showTip.length,d=u.hideTip.length,p?c=u.showTip[p-1]:d&&(c=u.hideTip[d-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},5:function(t,e,n){n.d(e,{N:()=>E});var i=n(3056),r=n(9988),o=n(7975),a=n(7293),s=n(7810),l=n(4639),u=n(9858),h=n(5962),c=n(9474),p=n(9774),d=n(6571),f=(0,d.Yf)(),g=o.d9,y=o.ak,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.WA(m,e,p);this.updatePointerEl(l,h,d),this.updateLabelEl(l,h,d,e)}else l=this._group=new a.Z,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);S(l,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=h.r(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=f(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new l.ZP(g(e.label));t.add(r),_(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),_(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){r&&i.remove(r),this._handle=null;return}this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.sT(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(r)),S(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.kJ(u)||(u=[u,u]),r.scaleX=u[0]/2,r.scaleY=u[1]/2,p.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(x(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(x(i)),f(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),p.ZH(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,i){!function t(e,n){if(!(o.Kn(e)&&o.Kn(n)))return e===n;var i=!0;return o.S6(n,function(n,r){i=i&&t(e[r],n)}),!!i}(f(n).lastProp,i)&&(f(n).lastProp=i,e?u.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function S(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var w=n(7534),b=n(633),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.fk(i),c=D[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=b.bK(a.model,n);w.gf(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=b.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=w.Zh(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=T(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function T(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var D={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.BL([e,n[0]],[e,n[1]],C(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:w.uE([e-i/2,n[0]],[i,r],C(t))}}};function C(t){return+("x"!==t.dim)}var k=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(n(5352).Z),I=n(6595),A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";I.z("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){I.E("axisPointer",e)},e.prototype.dispose=function(t,e){I.E("axisPointer",e)},e.type="axisPointer",e}(n(4292).Z),P=n(5581),L=(0,d.Yf)();function Z(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){N(r)&&(r=(0,P.Z)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,h,c,p,d,f,g,y,v,m,_,x=N(r),S=t.axesInfo,w=s.axesInfo,b="leave"===i||N(r),M={},T={},D={list:[],map:{}},C={showPointer:(0,o.WA)(R,T),showTooltip:(0,o.WA)(z,D)};(0,o.S6)(s.coordSysMap,function(t,e){var n=x||t.containPoint(r);(0,o.S6)(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(S,t);if(!b&&n&&(!S||o)){var a=o&&o.value;null!=a||x||(a=i.pointToData(r)),null!=a&&O(t,a,C,!1,M)}})});var k={};return(0,o.S6)(w,function(t,e){var n=t.linkGroup;n&&!T[e]&&(0,o.S6)(n.axesInfo,function(e,i){var r=T[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,B(e),B(t)))),k[t.key]=o}})}),(0,o.S6)(k,function(t,e){O(w[e],t,C,!0,M)}),l=T,u=w,h=M.axesInfo=[],(0,o.S6)(u,function(t,e){var n=t.axisPointerModel.option,i=l[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&h.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(N(e)||!t.list.length){i({type:"hideTip"});return}var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(D,r,t,a),c=w,p=0,f=(d=n).getZr(),g="axisPointerLastHighlights",y=L(f)[g]||{},v=L(f)[g]={},(0,o.S6)(c,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,function(t){v[t.seriesIndex+" | "+t.dataIndex]=t})}),m=[],_=[],(0,o.S6)(y,function(t,e){v[e]||_.push(t)}),(0,o.S6)(v,function(t,e){y[e]||m.push(t)}),_.length&&d.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:_}),m.length&&d.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:m}),M}}function O(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries){n.showPointer(t,e);return}var s,l,u,h,c,p,d,f,g=(s=e,h=(u=(l=t).axis).dim,c=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.S6)(l.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(h);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(r,s,u);i=a.dataIndices,n=a.nestestValue}else{if(!(i=t.getData().indicesOfNearest(r[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,c=n,p.length=0),(0,o.S6)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:c}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,o.l7)(r,y[0]),!i&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function R(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function z(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=h.zm(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function B(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function N(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function E(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(k),t.registerComponentView(A),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.KM)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Z)}},5962:function(t,e,n){n.d(e,{KM:()=>o,iG:()=>s,np:()=>u,r:()=>l,zm:()=>c});var i=n(6505),r=n(7975);function o(t,e){var n,o,s,l,u,p,d,f={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=f,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.S6)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",l);if((0,r.S6)(t.getAxes(),(0,r.WA)(m,!1,null)),t.getTooltipAxes&&l&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.S6)(v.baseAxes,(0,r.WA)(m,!y||"cross",g)),y&&(0,r.S6)(v.otherAxes,(0,r.WA)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.S6)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.d9)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.ce)(h,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(u,n,o))}(g,f,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),S=l||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:S,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=w,n.seriesInvolved=n.seriesInvolved||S;var b=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(p,g);if(null!=b){var M=d[b]||(d[b]={axesInfo:{}});M.axesInfo[x]=w,M.mapper=p[b].mapper,w.linkGroup=M}}}}),f.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==e.get(["axisPointer","show"],!0)&&(0,r.S6)(t.coordSysAxesInfo[c(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}(f,t),f}function a(t,e){return"all"===t||(0,r.kJ)(t)&&(0,r.cq)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},7534:function(t,e,n){n.d(e,{BL:()=>g,Zh:()=>d,fk:()=>c,gf:()=>f,gk:()=>p,uE:()=>y});var i=n(7975),r=n(7810),o=n(2666),a=n(814),s=n(9634),l=n(1335),u=n(3914),h=n(3361);function c(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function p(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.DX(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.S6(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.HD(s)?a=s.replace("{value}",a):i.mf(s)&&(a=s(u))}return a}function d(t,e,n){var i=s.Ue();return s.U1(i,i,n.rotation),s.Iu(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function f(t,e,n,i,r,s){var l,c,f,g,y,v,m,_,x,S,w,b,M,T,D,C,k,I,A=u.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),m={position:d(i.axis,t,n),align:A.textAlign,verticalAlign:A.textVerticalAlign},_=p(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),x=r.getModel("label"),S=a.MY(x.get("padding")||0),w=x.getFont(),b=o.lP(_,w),M=m.position,T=b.width+S[1]+S[3],D=b.height+S[0]+S[2],"right"===(C=m.align)&&(M[0]-=T),"center"===C&&(M[0]-=T/2),"bottom"===(k=m.verticalAlign)&&(M[1]-=D),"middle"===k&&(M[1]-=D/2),l=M,c=T,f=D,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+c,y)-c,l[1]=Math.min(l[1]+f,v)-f,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(I=x.get("backgroundColor"))&&"auto"!==I||(I=i.get(["axisLine","lineStyle","color"])),e.label={x:M[0],y:M[1],style:(0,h.Lr)(x,{text:_,font:w,fill:x.getTextColor(),padding:S,backgroundColor:I}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},4677:function(t,e,n){n.d(e,{Z:()=>h});var i=n(9988),r=n(7975),o=n(5352),a=n(6500),s=n(6571),l=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function u(t){var e={};return(0,r.S6)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}let h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=u(t);(0,r.TS)(this.option,t,!0),(0,r.TS)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,r.S6)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,r.kW)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,r.S6)(a.I,function(n){var i=this.getReferringComponents((0,a.jQ)(n),s.iP);if(i.specified){e=!0;var o=new l;(0,r.S6)(i.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,o="vertical"===e?"y":"x",u=n.findComponents({mainType:o+"Axis"});if(h(u,o),i){var u=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});h(u,"single")}function h(e,n){var o=e[0];if(o){var a=new l;if(a.add(o.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var u=o.getReferringComponents("grid",s.C6).models[0];u&&(0,r.S6)(e,function(t){o.componentIndex!==t.componentIndex&&u===t.getReferringComponents("grid",s.C6).models[0]&&a.add(t.componentIndex)})}}}i&&(0,r.S6)(a.I,function(e){if(i){var r=n.findComponents({mainType:(0,a.jQ)(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new l;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,r.S6)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent((0,a.jQ)(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,r.S6)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent((0,a.jQ)(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,r.S6)([["start","startValue"],["end","endValue"]],function(i){(null!=t[i[0]]||null!=t[i[1]])&&(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,r.S6)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.Z)},2877:function(t,e,n){n.d(e,{Z:()=>r});var i=n(9988);let r=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n(4292).Z)},6500:function(t,e,n){n.d(e,{BL:()=>l,I:()=>r,jQ:()=>s,kc:()=>a,rg:()=>u});var i=n(7975),r=["x","y","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function a(t){var e=t.get("coordinateSystem");return(0,i.cq)(o,e)>=0}function s(t){return t+"Axis"}function l(t,e){var n,r=(0,i.kW)(),o=[],a=(0,i.kW)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),o.push(t),function(t){t.eachTargetAxis(function(t,e){(r.get(t)||r.set(t,[]))[e]=!0})}(t)}return o}function u(t){var e=t.ecModel,n={infoList:[],infoMap:(0,i.kW)()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(s(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,l=n.infoMap.get(a);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(r)}}}),n}},8480:function(t,e,n){n.d(e,{N:()=>Q});var i=n(6232),r=n(9988),o=n(4677),a=n(4587),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,a.ZL)(o.Z.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(o.Z),l=n(2877),u=n(2920),h=n(7654),c=n(9474),p=n(619),d=n(7975),f=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,d.ak)(n._mousedownHandler,n),r=(0,d.ak)(n._mousemoveHandler,n),o=(0,d.ak)(n._mouseupHandler,n),a=(0,d.ak)(n._mousewheelHandler,n),s=(0,d.ak)(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=(0,d.ce)((0,d.d9)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),(!0===t||"move"===t||"pan"===t)&&(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),(!0===t||"scale"===t||"zoom"===t)&&(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return(0,r.ZT)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!c.x1(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(!(!this._dragging||!v("moveOnMouseMove",t,this._opt)||"pinch"===t.gestureEvent||p.Tf(this._zr,"globalPan"))){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&c.sT(t.event),y(this,"pan","moveOnMouseMove",t,{dx:e-i,dy:n-r,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){c.x1(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=v("zoomOnMouseWheel",t,this._opt),n=v("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;g(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);g(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!p.Tf(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;g(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(h.Z);function g(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(c.sT(i.event),y(t,e,n,i,r))}function y(t,e,n,i,r){r.isAvailableBehavior=(0,d.ak)(v,null,n,i),t.trigger(e,r)}function v(t,e,n){var i=n[t];return!t||i&&(!(0,d.HD)(i)||e.event[i+"Key"])}var m=n(9774),_=n(6571),x=n(6500),S=(0,_.Yf)();function w(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function b(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function M(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,r.ZT)(e,t),e.prototype.render=function(e,n,i){if(t.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),function(t,e,n){S(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}(i,e,{pan:(0,d.ak)(D.pan,this),zoom:(0,d.ak)(D.zoom,this),scrollMove:(0,d.ak)(D.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){(function(t,e){for(var n=S(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||w(n,a))}}})(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(l.Z),D={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=k[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],h=Math.max(1/i.scale,0);o[0]=(o[0]-l)*h+l,o[1]=(o[1]-l)*h+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if((0,u.Z)(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:C(function(t,e,n,i,r,o){var a=k[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:C(function(t,e,n,i,r,o){return k[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function C(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,i,r);if((0,u.Z)(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var k={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},I=n(8526);function A(t){(0,I.Z)(t),t.registerComponentModel(s),t.registerComponentView(T),function(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=S(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,d.kW)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=(0,x.rg)(t);(0,d.S6)(n.infoList,function(n){var r,o,a,s=n.model.uid,l=i.get(s)||i.set(s,(a=(o={model:r=n.model,containsPoint:(0,d.WA)(M,r),dispatchAction:(0,d.WA)(b,e),dataZoomInfoMap:null,controller:null}).controller=new f(e.getZr()),(0,d.S6)(["pan","zoom","scrollMove"],function(t){a.on(t,function(e){var n=[];o.dataZoomInfoMap.each(function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],a=r&&r(i.dzReferCoordSysInfo,o.model.mainType,o.controller,e);!i.model.get("disabled",!0)&&a&&n.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}}),n.length&&o.dispatchAction(n)})}),o));(l.dataZoomInfoMap||(l.dataZoomInfoMap=(0,d.kW)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n,r,o,a,s=t.controller,l=t.dataZoomInfoMap;if(l){var u=l.keys()[0];null!=u&&(a=l.get(u))}if(!a){w(i,t);return}var h=(n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0,l.each(function(t){var i=t.model,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[n+e]&&(e=a),o=o&&i.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}});s.enable(h.controlType,h.opt),s.setPointerChecker(t.containsPoint),m.T9(t,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}(t)}var P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,a.ZL)(o.Z.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(o.Z),L=n(1969),Z=n(7293),O=n(4484),R=n(1099),z=n(4639),B=n(7810),N=n(1145),E=n(2517),F=n(651),W=n(8306),H=n(5965),V=n(3361),G=L.Z,U="horizontal",X="vertical",Y=["line","bar","candlestick","scatter"],q={easing:"cubicOut",duration:100,delay:0},K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,d.ak)(this._onBrush,this),this._onBrushEnd=(0,d.ak)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),m.T9(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show")){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){m.ZH(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Z.Z;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===U?{right:r.width-i.x-i.width,top:r.height-30-7-7*!!n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=F.tE(t.option);(0,d.S6)(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=F.ME(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===X&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==U||r?n===U&&r?{scaleY:a?1:-1,scaleX:-1}:n!==X||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new G({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new G({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,d.ak)(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u,h=r.getDataExtent(a),c=(h[1]-h[0])*.3;h=[h[0]-c,h[1]+c];var p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(m>0&&e%m){v+=y;return}var n=null==t||isNaN(t)||""===t,i=n?0:(0,E.NU)(t,h,p,!0);n&&!u&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,u=n}),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var S=function(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new Z.Z,i=new O.Z({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new R.Z({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}(1===x);this._displayables.sliderGroup.add(S),this._displayables.dataShadowSegs.push(S)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i=this.ecModel;return e.eachTargetAxis(function(r,o){var a=e.getAxisProxy(r,o).getTargetSeriesModels();(0,d.S6)(a,function(e){if(!(t||!0!==n&&0>(0,d.cq)(Y,e.get("type")))){var a,s=i.getComponent((0,x.jQ)(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),t={thisAxis:s,series:e,thisDim:r,otherDim:l,otherAxisInverse:a}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new G({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new G({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,d.S6)([0,1],function(e){var o=a.get("handleIcon");!H.Pw[o]&&0>o.indexOf("path://")&&0>o.indexOf("image://")&&(o="path://"+o);var s=(0,H.th)(o,-1,0,2,2,null,!0);s.attr({cursor:j(this._orient),draggable:!0,drift:(0,d.ak)(this._onDragMove,this,e),ondragend:(0,d.ak)(this._onDragEnd,this),onmouseover:(0,d.ak)(this._showDataInfo,this,!0),onmouseout:(0,d.ak)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=(0,E.GM)(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,W.vF)(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new z.ZP({silent:!0,invisible:!0,style:(0,V.Lr)(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))},this);var c=h;if(u){var p=(0,E.GM)(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new L.Z({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=.8*p,y=e.moveHandleIcon=(0,H.th)(a.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new L.Z({invisible:!0,shape:{y:o[1]-v,height:p+v}})).on("mouseover",function(){s.enterEmphasis(f)}).on("mouseout",function(){s.leaveEmphasis(f)}),r.add(f),r.add(y),r.add(c)}c.attr({draggable:!0,cursor:j(this._orient),drift:(0,d.ak)(this._onDragMove,this,"all"),ondragstart:(0,d.ak)(this._showDataInfo,this,!0),ondragend:(0,d.ak)(this._onDragEnd,this),onmouseover:(0,d.ak)(this._showDataInfo,this,!0),onmouseout:(0,d.ak)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,E.NU)(t[0],[0,100],e,!0),(0,E.NU)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,u.Z)(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?(0,E.NU)(o.minSpan,a,r,!0):null,null!=o.maxSpan?(0,E.NU)(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=(0,E.dt)([(0,E.NU)(i[0],r,a,!0),(0,E.NU)(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=(0,E.dt)(n.slice()),r=this._size;(0,d.S6)([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],h=u.getClipPath();h||(h=new L.Z,u.setClipPath(h)),h.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var h=(0,E.dt)(this._handleEnds.slice());function c(t){var e=B.getTransform(n.handles[t].parent,this.group),a=B.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=B.applyTransform([h[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===U?"middle":a,align:r===U?a:"center",text:o[t]})}c.call(this,0),c.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");(null==r||"auto"===r)&&(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return(0,d.mf)(i)?i(t,o):(0,d.HD)(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,c.sT(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=B.applyTransform([e,n],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new N.Z(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(!!this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var i=this._getViewExtent(),r=[0,100];this._range=(0,E.dt)([(0,E.NU)(n.x,i,r,!0),(0,E.NU)(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(c.sT(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new G({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?q:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=(0,x.rg)(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(l.Z);function j(t){return"vertical"===t?"ns-resize":"ew-resize"}function J(t){t.registerComponentModel(P),t.registerComponentView(K),(0,I.Z)(t)}function Q(t){(0,i.D)(A),(0,i.D)(J)}},8526:function(t,e,n){n.d(e,{Z:()=>g});var i=n(7975),r=n(6500),o=n(2517),a=n(2920),s=n(1335),l=n(4020),u=n(6571),h=i.S6,c=o.dt,p=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if((0,r.kc)(e)){var n=(0,r.jQ)(this._dimName),i=e.getReferringComponents(n,u.C6).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return i.d9(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),s=[0,100],l=[],u=[];h(["start","end"],function(a,h){var c=t[a],p=t[a+"Value"];"percent"===r[h]?(null==c&&(c=s[h]),p=i.parse(o.NU(c,s,n))):(e=!0,p=null==p?n[h]:i.parse(p),c=o.NU(p,n,s)),u[h]=null==p||isNaN(p)?n[h]:p,l[h]=null==c||isNaN(c)?s[h]:c}),c(u),c(l);var p=this._minMaxSpan;function d(t,e,n,r,s){var l=s?"Span":"ValueSpan";(0,a.Z)(0,t,n,"all",p["min"+l],p["max"+l]);for(var u=0;u<2;u++)e[u]=o.NU(t[u],n,r,!0),s&&(e[u]=i.parse(e[u]))}return e?d(u,l,n,s,!1):d(l,u,s,n,!0),{valueWindow:u,percentWindow:l}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e,n,i,r,o,a=this.getTargetSeriesModels();this._dataExtent=(e=this,n=this._dimName,i=[1/0,-1/0],h(a,function(t){(0,s.AH)(i,t.getData(),n)}),r=e.getAxisModel(),[(o=(0,l.Qw)(r.axis.scale,r,i).calculate()).min,o.max]),this._updateMinMaxSpan();var u=this.calculateDataWindow(t.settledOption);this._valueWindow=u.valueWindow,this._percentWindow=u.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&h(r,function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===o){var s=e.getStore(),l=i.UI(r,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,i,o=0;o<r.length;o++){var u=s.get(l[o],t),h=!isNaN(u),c=u<a[0],p=u>a[1];if(h&&!c&&!p)return!0;h&&(i=!0),c&&(e=!0),p&&(n=!0)}return i&&e&&n})}else h(r,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}));else{var i={};i[n]=a,e.selectRange(i)}});h(r,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;h(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=o.NU(n[0]+a,n,[0,100],!0):null!=r&&(a=o.NU(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=o.M9(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();let d={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,o){var a=t.getComponent((0,r.jQ)(i),o);e(i,o,a,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new p(e,i,o,t),n.push(r.__dzAxisProxy))});var o=(0,i.kW)();return(0,i.S6)(n,function(t){(0,i.S6)(t.getTargetSeriesModels(),function(t){o.set(t.uid,t)})}),o},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};var f=!1;function g(t){!f&&(f=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,d),function(t){t.registerAction("dataZoom",function(t,e){var n=(0,r.BL)(e,t);(0,i.S6)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}},9635:function(t,e,n){n.d(e,{N:()=>h});var i=n(9988),r=n(5352),o=n(4292),a=n(9484),s=n(2387),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.U(this),(0,s.t)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.t)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.fY},e}(r.Z),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.type="dataset",e}(o.Z);function h(t){t.registerComponentModel(l),t.registerComponentView(u)}},5201:function(t,e,n){n.d(e,{N:()=>a});var i=n(6435),r=n(5),o=n(6232);function a(t){(0,o.D)(i.N),(0,o.D)(r.N)}},6435:function(t,e,n){n.d(e,{N:()=>tc});var i=n(9988),r=n(4292),o=n(5352),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(o.Z),s=n(1969),l=n(7975),u=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),h=n(6571),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);l.jB(c,u);var p={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},d=l.TS({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),f=l.TS({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},p),g=l.TS({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},f),y=l.ce({logBase:10},f);let v={category:d,value:f,time:g,log:y};var m=n(651),_=n(6129),x={value:1,category:1,time:1,log:1};function S(t,e,n,r){(0,l.S6)(x,function(o,a){var s=(0,l.TS)((0,l.TS)({},v[a],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.ZT)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.YD)(this),i=n?(0,m.tE)(t):{},r=e.getTheme();(0,l.TS)(t,r.get(a+"Axis")),(0,l.TS)(t,this.getDefaultOption()),t.type=w(t),n&&(0,m.dt)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.Z.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var b=n(1335),M=n(9495),T=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return l.UI(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.hX(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),D=n(9634),C=n(7605),k=["x","y"];function I(t){return"interval"===t.type||"time"===t.type}var A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=k,e}return(0,i.ZT)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(I(t)&&I(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=(0,D.U_)([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new M.Z(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,C.Ne)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return(0,C.Ne)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new M.Z(i,r,o,a)},e}(T),P=n(2517),L=n(2666),Z=(0,h.Yf)();function O(t,e){var n,i,r,o,a=R(t,"labels"),s=(0,b.rk)(e),u=z(a,s);return u||(l.mf(s)?r=E(t,s):(o="auto"===s?null!=(i=Z(n=t).autoInterval)?i:Z(n).autoInterval=n.calculateCategoryInterval():s,r=N(t,o)),B(a,s,{labels:r,labelCategoryInterval:o}))}function R(t,e){return Z(t)[e]||(Z(t)[e]=[])}function z(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function B(t,e,n){return t.push({key:e,value:n}),n}function N(t,e,n){var i=(0,b.J9)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=(0,b.WY)(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function E(t,e,n){var i=t.scale,r=(0,b.J9)(t),o=[];return l.S6(i.getTicks(),function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})}),o}var F=[0,1];function W(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var H=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,i.ZT)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,P.M9)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count()),(0,P.NU)(t,F,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count());var r=(0,P.NU)(t,n,F,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=("category"===this.type?function(t,e){var n,i,r=R(t,"ticks"),o=(0,b.rk)(e),a=z(r,o);if(a)return a;if((!e.get("show")||t.scale.isBlank())&&(n=[]),l.mf(o))n=E(t,o,!0);else if("auto"===o){var s=O(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.UI(s.labels,function(t){return t.tickValue})}else n=N(t,i=o,!0);return B(r,o,{ticks:n,tickCategoryInterval:i})}(this,e):{ticks:l.UI(this.scale.getTicks(),function(t){return t.value})}).ticks,i=(0,l.UI)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r,o,a=e.length;if(t.onBand&&!n&&a){var s=t.getExtent();if(1===a)e[0].coord=s[0],r=e[1]={coord:s[1]};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;(0,l.S6)(e,function(t){t.coord-=h/2}),o=1+t.scale.getExtent()[1]-e[a-1].tickValue,r={coord:e[a-1].coord+h*o},e.push(r)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]}),p(s[1],r.coord)&&(i?r.coord=s[1]:e.pop()),i&&p(r.coord,s[1])&&e.push({coord:s[1]})}function p(t,e){return t=(0,P.NM)(t),e=(0,P.NM)(e),c?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,l.UI)(e,function(t){return(0,l.UI)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){var t,e,n,i,r,o;return("category"===this.type?(t=this,e=t.getLabelModel(),n=O(t,e),!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n):(i=this,r=i.scale.getTicks(),o=(0,b.J9)(i),{labels:l.UI(r,function(t,e){return{level:t.level,formattedLabel:o(t,e),rawLabel:i.scale.getLabel(t),tickValue:t.value}})})).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+ +!!this.onBand;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),r=(0,b.J9)(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,a=t.scale,s=a.getExtent(),l=a.count();if(s[1]-s[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=s[0],c=t.dataToCoord(h+1)-t.dataToCoord(h),p=Math.abs(c*Math.cos(o)),d=Math.abs(c*Math.sin(o)),f=0,g=0;h<=s[1];h+=u){var y=0,v=0,m=L.lP(r({value:h}),i.font,"center","top");y=1.3*m.width,v=1.3*m.height,f=Math.max(f,y,7),g=Math.max(g,v,7)}var _=f/p,x=g/d;isNaN(_)&&(_=1/0),isNaN(x)&&(x=1/0);var S=Math.max(0,Math.floor(Math.min(_,x))),w=Z(t.model),M=t.getExtent(),T=w.lastAutoInterval,D=w.lastTickCount;return null!=T&&null!=D&&1>=Math.abs(T-S)&&1>=Math.abs(D-l)&&T>S&&w.axisExtent0===M[0]&&w.axisExtent1===M[1]?S=T:(w.lastTickCount=l,w.lastAutoInterval=S,w.axisExtent0=M[0],w.axisExtent1=M[1]),S}(this)},t}()),V=n(633),G=n(3845),U=n(8911),X=Math.log,Y=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=k,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=(0,l.XP)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,u=a.scale;(0,G.lM)(u)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,b.Jk)(u,s),(0,G.lM)(u)&&(e=a))}r.length&&(e||(e=r.pop(),(0,b.Jk)(e.scale,e.model)),(0,l.S6)(r,function(t){!function(t,e,n){var i=U.Z.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=(0,b.Xv)(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=X(t.base);u=[X(u[0])/p,X(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)f=(0,G.r1)(f),y=u[0]+f*a;else if(c)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=(0,G.r1)(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=(0,G.r1)(f));var v=f*a;y=Math.ceil(u[1]/f)*f,(g=(0,P.NM)(y-v))<0&&u[0]>=0?(g=0,y=(0,P.NM)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,P.NM)(v))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*_),i.setInterval.call(t,f),(m||_)&&i.setNiceExtent.call(t,g+f,y-f)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};(0,l.S6)(n.x,function(t){K(n,"y",t,r)}),(0,l.S6)(n.y,function(t){K(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=(0,m.ME)(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.S6)(a,function(t){var e,n,i,r,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,n=a?o.x:o.y,r=(i=e.getExtent())[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return r-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return r-t+n}})}s(),r&&((0,l.S6)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,b.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),(0,l.S6)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,l.Kn)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",h.C6).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",h.C6).models[0],a=t.gridModel,s=this._coordsList;return i?(e=i.coordinateSystem,0>(0,l.cq)(s,e)&&(e=null)):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?n=this.getAxis("x",r.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(n,i){if(q(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new H(e,(0,b.aG)(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,(0,l.S6)(a.x,function(e,n){(0,l.S6)(a.y,function(r,o){var a="x"+n+"y"+o,s=new A(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,l.S6)((0,b.PY)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,l.S6)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,V.Yh)(t)){var i=(0,V.Mk)(t),r=i.xAxisModel,o=i.yAxisModel;if(q(r,e)&&q(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,l.S6)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);0>(0,l.cq)(e,r)&&e.push(r),0>(0,l.cq)(n,o)&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if((0,V.Yh)(t)){var e=(0,V.Mk)(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=k,t}();function q(t,e){return t.getCoordSysModel()===e}function K(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)j(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&j(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function j(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,b.Yb)(t)}var J=n(7293),Q=n(7810),$=n(2859),tt=n(3914),te=n(3056),tn=(0,h.Yf)(),ti=["axisLine","axisTickLabel","axisName"],tr=["splitArea","splitLine","minorSplitLine"],to=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new J.Z,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=V.bK(a,e),u=new tt.Z(e,l.l7({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if((0,G.lM)(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.S6(ti,u.add,u),this._axisGroup.add(u.getGroup()),l.S6(tr,function(t){e.get([t,"show"])&&ta[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Q.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){tn(this).splitAreaColors=null},e.type="cartesianAxis",e}(te.Z),ta={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=l.kJ(s)?s:[s];for(var u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=0,p=r.getTicksCoords({tickModel:o}),d=[],f=[],g=a.getLineStyle(),y=0;y<p.length;y++){var v=r.toGlobalCoord(p[y].coord);h?(d[0]=v,d[1]=u.y,f[0]=v,f[1]=u.y+u.height):(d[0]=u.x,d[1]=v,f[0]=u.x+u.width,f[1]=v);var m=c++%s.length,_=p[y].tickValue,x=new $.Z({anid:null!=_?"line_"+p[y].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:l.ce({stroke:s[m]},g),silent:!0});Q.subPixelOptimizeLine(x.shape,g.lineWidth),e.add(x)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var d=0;d<l[p].length;d++){var f=r.toGlobalCoord(l[p][d].coord);s?(u[0]=f,u[1]=a.y,h[0]=f,h[1]=a.y+a.height):(u[0]=a.x,u[1]=f,h[0]=a.x+a.width,h[1]=f);var g=new $.Z({anid:"minor_line_"+l[p][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});Q.subPixelOptimizeLine(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),h=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var p=u.length,d=tn(t).splitAreaColors,f=l.kW(),g=0;if(d)for(var y=0;y<c.length;y++){var v=d.get(c[y].tickValue);if(null!=v){g=(v+(p-1)*y)%p;break}}var m=r.toGlobalCoord(c[0].coord),_=a.getAreaStyle();u=l.kJ(u)?u:[u];for(var y=1;y<c.length;y++){var x=r.toGlobalCoord(c[y].coord),S=void 0,w=void 0,b=void 0,M=void 0;r.isHorizontal()?(S=m,w=h.y,b=x-S,M=h.height,m=S+b):(S=h.x,w=m,b=h.width,M=x-w,m=w+M);var T=c[y-1].tickValue;null!=T&&f.set(T,g),e.add(new s.Z({anid:null!=T?"area_"+T:null,shape:{x:S,y:w,width:b,height:M},style:l.ce({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}tn(t).splitAreaColors=f}}}(t,e,n,i)}},ts=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="xAxis",e}(to),tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=ts.type,e}return(0,i.ZT)(e,t),e.type="yAxis",e}(to),tu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.ZT)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.Z({shape:t.coordinateSystem.getRect(),style:(0,l.ce)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.Z),th={offset:0};function tc(t){t.registerComponentView(tu),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",Y),S(t,"x",c,th),S(t,"y",c,th),t.registerComponentView(ts),t.registerComponentView(tl),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},619:function(t,e,n){n.d(e,{Ar:()=>s,Tf:()=>l,qn:()=>a});var i=n(9161),r=n(7975),o="\0_ec_interaction_mutex";function a(t,e,n){u(t)[e]=n}function s(t,e,n){var i=u(t);i[e]===n&&(i[e]=null)}function l(t,e){return!!u(t)[e]}function u(t){return t[o]||(t[o]={})}i.zl({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.ZT)},630:function(t,e,n){n.d(e,{b:()=>a,l:()=>s});var i=n(651),r=n(814),o=n(1969);function a(t,e,n){var r=e.getBoxLayoutParams(),o=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},s=(0,i.ME)(r,a,o);(0,i.BZ)(e.get("orient"),t,e.get("itemGap"),s.width,s.height),(0,i.p$)(t,r,a,o)}function s(t,e){var n=r.MY(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Z({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}},2920:function(t,e,n){function i(t,e,n,i,a,s){t=t||0;var l,u=n[1]-n[0];if(null!=a&&(a=o(a,[0,u])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===i){var h=Math.abs(e[1]-e[0]);h=o(h,[0,u]),a=s=o(h,[a,s]),i=0}e[0]=o(e[0],n),e[1]=o(e[1],n);var c=r(e,i);e[i]+=t;var p=a||0,d=n.slice();return c.sign<0?d[0]+=p:d[1]-=p,e[i]=o(e[i],d),l=r(e,i),null!=a&&(l.sign!==c.sign||l.span<a)&&(e[1-i]=e[i]+c.sign*a),l=r(e,i),null!=s&&l.span>s&&(e[1-i]=e[i]+l.sign*s),e}function r(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function o(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}n.d(e,{Z:()=>i})},7806:function(t,e,n){n.d(e,{N:()=>H});var i=n(6232),r=n(9988),o=n(7975),a=n(6505),s=n(6571),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,function(t,i){var r;o.HD(t)&&(t={type:t}),e[i]=o.TS(t,"all"===(r=t.type)?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===r?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),l=o.UI(i,function(t){return((o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name))?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))},this);this._data=o.hX(l,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;o.S6(n,function(t){e[t.get("name")]=!1})}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(n(5352).Z),u=n(4411),h=n(7293),c=n(4639),p=n(1969),d=n(7810),f=n(8306),g=n(3361),y=n(630),v=n(651),m=n(4292),_=n(5965),x=n(6151),S=n(428),w=o.WA,b=o.S6,M=h.Z,T=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new M),this.group.add(this._selectorGroup=new M),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);s&&(!l||"auto"===l)&&(l="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,s,a,l);var u=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),p=v.ME(u,h,c),d=this.layoutInner(t,r,p,i,s,l),f=v.ME(o.ce({width:d.width,height:d.height},u),h,c);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,y.l)(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,s){var l=this.getContentGroup(),h=o.kW(),c=e.get("selectedMode"),p=[];n.eachRawSeries(function(t){t.get("legendHoverLink")||p.push(t.id)}),b(e.getData(),function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var d=new M;d.newline=!0,l.add(d);return}var f=n.getSeriesByName(s)[0];if(!h.get(s)){if(f){var g=f.getData(),y=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(f,s,a,r,e,t,y,m,v,c,i);_.on("click",w(D,s,null,i,p)).on("mouseover",w(k,f.name,null,i,p)).on("mouseout",w(I,f.name,null,i,p)),n.ssr&&_.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=f.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}else n.eachRawSeries(function(l){if(!h.get(s)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(d.containName(s)){var f=d.indexOfName(s),g=d.getItemVisual(f,"style"),y=d.getItemVisual(f,"legendIcon"),v=(0,u.Qc)(g.fill);v&&0===v[3]&&(v[3]=.2,g=o.l7(o.l7({},g),{fill:(0,u.Pz)(v,"rgba")}));var m=this._createItem(l,s,a,r,e,t,{},g,y,c,i);m.on("click",w(D,null,s,i,p)).on("mouseover",w(k,null,s,i,p)).on("mouseout",w(I,null,s,i,p)),n.ssr&&m.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=l.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}}},this)}},this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();b(t,function(t){var i=t.type,r=new c.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,g.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,f.vF)(r)})},e.prototype._createItem=function(t,e,n,i,r,a,s,l,u,h,y){var v=t.visualDrawType,m=r.get("itemWidth"),S=r.get("itemHeight"),w=r.isSelected(e),T=i.get("symbolRotate"),D=i.get("symbolKeepAspect"),C=i.get("icon"),k=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=2*(e.lineWidth>0)),b(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?(0,x.I)(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(u=C||u||"roundRect",i,s,l,v,w,y),I=new M,A=i.getModel("textStyle");if(o.mf(t.getLegendIcon)&&(!C||"inherit"===C))I.add(t.getLegendIcon({itemWidth:m,itemHeight:S,icon:u,iconRotate:T,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:D}));else{var P,L,Z,O="inherit"===C&&t.getData().getVisual("symbol")?"inherit"===T?t.getData().getVisual("symbolRotate"):T:0;I.add((L=(P={itemWidth:m,itemHeight:S,icon:u,iconRotate:O,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:D}).icon||"roundRect",(Z=(0,_.th)(L,0,0,P.itemWidth,P.itemHeight,P.itemStyle.fill,P.symbolKeepAspect)).setStyle(P.itemStyle),Z.rotation=(P.iconRotate||0)*Math.PI/180,Z.setOrigin([P.itemWidth/2,P.itemHeight/2]),L.indexOf("empty")>-1&&(Z.style.stroke=Z.style.fill,Z.style.fill="#fff",Z.style.lineWidth=2),Z))}var R=r.get("formatter"),z=e;o.HD(R)&&R?z=R.replace("{name}",null!=e?e:""):o.mf(R)&&(z=R(e));var B=w?A.getTextColor():i.get("inactiveColor");I.add(new c.ZP({style:(0,g.Lr)(A,{text:z,x:"left"===a?m+5:-5,y:S/2,fill:B,align:a,verticalAlign:"middle"},{inheritColor:B})}));var N=new p.Z({shape:I.getBoundingRect(),style:{fill:"transparent"}}),E=i.getModel("tooltip");return E.get("show")&&d.setTooltipConfig({el:N,componentModel:r,itemName:e,itemTooltipOption:E.option}),I.add(N),I.eachChild(function(t){t.silent=!0}),N.silent=!h,this.getContentGroup().add(I),(0,f.vF)(I),I.__legendDataIndex=n,I},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();v.BZ(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),!r)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();v.BZ("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+p+h[f],m[g]=Math.max(l[g],h[g]),m[y]=Math.min(0,h[y]+c[1-d]),m},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(m.Z);function D(t,e,n,i){I(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),k(t,e,n,i)}function C(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function k(t,e,n,i){C(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function I(t,e,n,i){C(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function A(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function P(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();(0,o.S6)(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}})}),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function L(t){t.registerComponentModel(l),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,A),t.registerSubTypeDefaulter("legend",function(){return"plain"}),t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(P,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(P,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(P,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(P,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(P,"unSelect"))}var Z=n(4587),O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,v.tE)(e);t.prototype.init.call(this,e,n,i),R(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),R(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,Z.ZL)(l.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(l);function R(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,v.dt)(e,n,{type:"box",ignoreSize:!!r})}var z=n(9858),B=h.Z,N=["width","height"],E=["x","y"],F=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new B),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new B)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,l);var h=this._controllerGroup,p=n.get("pageIconSize",!0),f=o.kJ(p)?p:[p,p];y("pagePrev",0);var g=n.getModel("pageTextStyle");function y(t,e){var i=d.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(u._pageGo,u,t+"DataIndex",n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});i.name=t,h.add(i)}h.add(new c.ZP({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),l=t.getOrient().index,u=N[l],h=E[l],c=N[1-l],p=E[1-l];r&&v.BZ("horizontal",s,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=s.getBoundingRect(),g=[-f.x,-f.y],y=o.d9(n);r&&(y[u]=n[u]-f[u]-d);var m=this._layoutContentAndController(t,i,y,l,u,c,p,h);if(r){if("end"===a)g[l]+=m[u]+d;else{var _=f[u]+d;g[l]-=_,m[h]-=_}m[u]+=f[u]+d,g[1-l]+=m[p]+m[c]/2-f[c]/2,m[c]=Math.max(m[c],f[c]),m[p]=Math.min(m[p],f[p]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,l){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;v.BZ(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),v.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),f=c.getBoundingRect(),g=this._showController=d[r]>n[r],y=[-d.x,-d.y];e||(y[i]=u[l]);var m=[0,0],_=[-f.x,-f.y],x=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?_[i]+=n[r]-f[r]:m[i]+=f[r]+x),_[1-i]+=d[a]/2-f[a]/2,u.setPosition(y),h.setPosition(m),c.setPosition(_);var S={x:0,y:0};if(S[r]=g?n[r]:d[r],S[a]=Math.max(d[a],f[a]),S[s]=Math.min(0,f[s]+_[1-i]),h.__rectSize=n[r],g){var w={x:0,y:0};w[r]=Math.max(n[r]-f[r]-x,0),w[a]=S[a],h.setClipPath(new p.Z({shape:w})),h.__rectSize=w[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return null!=b.pageIndex&&z.D(u,{x:b.contentPosition[0],y:b.contentPosition[1]},g?t:null),this._updatePageInfoView(t,b),S},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;o.S6(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=N[r],a=E[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=+!!h,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!_(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(var f=s-1,g=d,y=d,v=null;f>=-1;--f)(!(v=m(l[f]))||!_(y,v.s))&&g.i<y.i&&(y=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){var e,n;return this._showController?(this.getContentGroup().eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n):0},e.type="legend.scroll",e}(T);function W(t){(0,i.D)(L),t.registerComponentModel(O),t.registerComponentView(F),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}function H(t){(0,i.D)(L),(0,i.D)(W)}},3709:function(t,e,n){n.d(e,{N:()=>g});var i=n(9988),r=n(7975),o=n(4639),a=n(1969),s=n(428),l=n(3361),u=n(651),h=n(5352),c=n(4292),p=n(814),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.ZT)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(h.Z),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,h=t.getModel("textStyle"),c=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.pD(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.ZP({style:(0,l.Lr)(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.ZP({style:(0,l.Lr)(c,{text:v,fill:c.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),S=t.get("triggerEvent",!0);g.silent=!_&&!S,m.silent=!x&&!S,_&&g.on("click",function(){(0,p.MI)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.MI)(x,"_"+t.get("subtarget"))}),(0,s.A)(g).eventData=(0,s.A)(m).eventData=S?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=w.width,b.height=w.height;var M=(0,u.ME)(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"!==d||(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var D=M.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var k=new a.Z({shape:{x:w.x-D[3],y:w.y-D[0],width:w.width+D[1]+D[3],height:w.height+D[0]+D[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});i.add(k)}},e.type="title",e}(c.Z);function g(t){t.registerComponentModel(d),t.registerComponentView(f)}},7745:function(t,e,n){n.d(e,{N:()=>j});var i=n(5),r=n(6232),o=n(9988),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(n(5352).Z),s=n(7975),l=n(4647),u=n(9474),h=n(9708),c=n(814);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.Z.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var f=d(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=d(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,c.zW)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(1481),m=y(g,"transition"),_=y(f,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.Z.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[f,a]]}function w(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,h.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var b=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.HD)(r)?document.querySelector(r):(0,s.Mh)(r)?r:(0,s.mf)(r)&&r(t.getDom()));w(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,u.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,u,h,p,d,f,g,y,w,b,M,T,D,C,k,I,A,P,L=this.el,Z=L.style,O=this._styleCoord;L.innerHTML?Z.cssText=x+(n=!this._firstShow,i=this._longHide,r=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),d=t.get("shadowOffsetY"),f=t.getModel("textStyle"),g=(0,v.d_)(t,"html"),y=p+"px "+d+"px "+u+"px "+h,r.push("box-shadow:"+y),n&&o&&r.push((M="opacity"+(b=" "+o/2+"s "+(w="cubic-bezier(0.23,1,0.32,1)"))+",visibility"+b,i||(b=" "+o+"s "+w,M+=l.Z.transformSupported?","+_+b:",left"+b+",top"+b),m+":"+M)),a&&r.push("background-color:"+a),(0,s.S6)(["width","color","radius"],function(e){var n="border-"+e,i=(0,c.zW)(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push((T=[],D=f.get("fontSize"),(C=f.getTextColor())&&T.push("color:"+C),T.push("font:"+f.getFont()),D&&T.push("line-height:"+Math.round(3*D/2)+"px"),k=f.get("textShadowColor"),I=f.get("textShadowBlur")||0,A=f.get("textShadowOffsetX")||0,P=f.get("textShadowOffsetY")||0,k&&I&&T.push("text-shadow:"+A+"px "+P+"px "+I+"px "+k),(0,s.S6)(["decoration","align"],function(t){var e=f.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=g&&r.push("padding:"+(0,c.MY)(g).join("px ")+"px"),r.join(";")+";")+S(O[0],O[1],!0)+"border-color:"+(0,c.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):Z.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.HD)(r)&&"item"===n.get("trigger")&&!p(n)&&(a=function(t,e,n){if(!(0,s.HD)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,c.Lz)(e);var l=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",u=Math.max(1.5*Math.round(a),6),h="",p=_+":";(0,s.cq)(["left","right"],l)>-1?(h+="top:50%",p+="translateY(-50%) rotate("+(r="left"===l?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(r="top"===l?225:45)+"deg)");var d=r*Math.PI/180,f=u+a,g=f*Math.abs(Math.cos(d))+f*Math.abs(Math.sin(d));h+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",h+";"+p+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,s.HD)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.kJ)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.Mh)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(w(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,s.S6)(r,function(t){i[t[0]]=t[1]})}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),M=n(4639),T=n(2159),D=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),I(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s.Kn(t)&&(0,T._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new M.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),s.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=k(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;I(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=C(r.borderWidth||0),a=k(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function C(t){return Math.max(0,t)}function k(t){var e=C(t.shadowBlur||0),n=C(t.shadowOffsetX||0),i=C(t.shadowOffsetY||0);return{left:C(e-n),right:C(e+n),top:C(e-i),bottom:C(e+i)}}function I(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=n(2517),P=n(1969),L=n(5581),Z=n(651),O=n(6505),R=n(6595),z=n(1335),B=n(7534),N=n(6571),E=n(4292),F=n(926),W=n(428),H=n(8780),V=n(6501),G=n(9774),U=new P.Z({shape:{x:-1,y:-1,width:2,height:2}}),X=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.prototype.init=function(t,e){if(!l.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,N.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new D(e):new b(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,G.T9)(this,"_updatePosition",50,"fixRate"):(0,G.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");R.z("itemTooltip",this._api,(0,s.ak)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!l.Z.node&&n.getDom()){var r=q(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,N.zH)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,N.HZ)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,W.A)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)U.x=i.x,U.y=i.y,U.update(),(0,W.A)(U).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:U},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=(0,L.Z)(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(q(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===Y([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n,i,r=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(r){if("legend"===(0,W.A)(r).ssrType)return;this._lastDataByCoordSys=null,(0,V.o)(r,function(t){return null!=(0,W.A)(t).dataIndex?(n=t,!0):null!=(0,W.A)(t).tooltipConfig?(i=t,!0):void 0},!0),n?this._showSeriesItemTooltip(t,n,e):i?this._showComponentItemTooltip(t,i,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.ak)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Y([e.tooltipOption],i),a=this._renderMode,l=[],u=(0,v.TX)("section",{blocks:[],noHeader:!0}),h=[],p=new v.iv;(0,s.S6)(t,function(t){(0,s.S6)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=B.gk(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.TX)("section",{header:o,noHeader:!(0,s.fy)(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,s.S6)(t.seriesDataIndices,function(u){var f=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=f.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=z.DX(e.axis,{value:r}),y.axisValueLabel=o,y.marker=p.makeTooltipMarker("item",(0,c.Lz)(y.color),a);var v=(0,H.f)(f.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=Y([f],i).get("valueFormatter");d.blocks.push(_?(0,s.l7)({valueFormatter:_},m):m)}v.text&&h.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),h.reverse();var d=e.position,f=o.get("order"),g=(0,v.BY)(u,p,a,f,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,W.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,h=r.dataType,p=l.getData(h),d=this._renderMode,f=t.positionDefault,g=Y([p.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,h),_=new v.iv;m.marker=_.makeTooltipMarker("item",(0,c.Lz)(m.color),d);var x=(0,H.f)(l.formatTooltip(u,!1,h)),S=g.get("order"),w=g.get("valueFormatter"),b=x.frag,M=b?(0,v.BY)(w?(0,s.l7)({valueFormatter:w},b):b,_,d,S,i.get("useUTC"),g.get("textStyle")):x.text,T="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,M,m,T,t.offsetX,t.offsetY,t.position,t.target,_)}),n({type:"showTip",dataIndexInside:u,dataIndex:p.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=(0,W.A)(e),r=i.tooltipConfig.option||{};if((0,s.HD)(r)){var o=r;r={content:o,formatter:o}}var a=[r],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&a.push(l),a.push({formatter:r.content});var u=t.positionDefault,h=Y(a,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new v.iv;this._showOrMove(h,function(){var n=(0,s.d9)(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var d=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(p){if((0,s.HD)(p)){var g=t.ecModel.get("useUTC"),y=(0,s.kJ)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;d=p,v&&(d=(0,F.WU)(y.axisValue,d,g)),d=(0,c.kF)(d,n,!0)}else if((0,s.mf)(p)){var m=(0,s.ak)(function(e,i){e===this._ticket&&(h.setContent(i,u,t,f,a),this._updatePosition(t,a,r,o,h,n,l))},this);this._ticket=i,d=p(n,i,m)}else d=p}h.setContent(d,u,t,f,a),h.show(t,f),this._updatePosition(t,a,r,o,h,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,s.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,s.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),d=t.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),(0,s.mf)(e)&&(e=e([n,i],o,r.el,f,{viewSize:[l,u],contentSize:h.slice()})),(0,s.kJ)(e))n=(0,A.GM)(e[0],l),i=(0,A.GM)(e[1],u);else if((0,s.Kn)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,Z.ME)(g,{width:l,height:u});n=y.x,i=y.y,c=null,d=null}else if((0,s.HD)(e)&&a){var v=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,f,h,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,S,w,b,M,T,D,C,v=(m=n,_=i,x=r,S=l,w=u,b=c?null:20,M=d?null:20,D=(T=x.getSize())[0],C=T[1],null!=b&&(m+D+b+2>S?m-=D+b:m+=b),null!=M&&(_+C+M>w?_-=C+M:_+=M),[m,_]);n=v[0],i=v[1]}if(c&&(n-=K(c)?h[0]/2:"right"===c?h[0]:0),d&&(i-=K(d)?h[1]/2:"bottom"===d?h[1]:0),p(t)){var k,I,P,L,O,R,z,B,v=(k=n,I=i,P=r,L=l,O=u,z=(R=P.getSize())[0],B=R[1],k=Math.min(k+z,L)-z,I=Math.min(I+B,O)-B,[k=Math.max(k,0),I=Math.max(I,0)]);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,s.S6)(n,function(n,o){var a=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&(0,s.S6)(a,function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.S6)(a,function(t,e){var n=u[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,s.S6)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.Z.node&&e.getDom()&&((0,G.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),R.E("itemTooltip",e))},e.type="tooltip",e}(E.Z);function Y(t,e,n){var i,r=e.ecModel;n?(i=new O.Z(n,r,r),i=new O.Z(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof O.Z&&(a=a.get("tooltip",!0)),(0,s.HD)(a)&&(a={formatter:a}),a&&(i=new O.Z(a,i,r)))}return i}function q(t,e){return t.dispatchAction||(0,s.ak)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}function j(t){(0,r.D)(i.N),t.registerComponentModel(a),t.registerComponentView(X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.ZT)}},1481:function(t,e,n){n.d(e,{BY:()=>y,TX:()=>p,d_:()=>x,iv:()=>S,jT:()=>_});var i=n(9708),r=n(814),o=n(7975),a=n(4503),s=n(2517),l="line-height:1";function u(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function d(t){return"section"===t.type}function f(t,e,n,s){var p,y=e.noHeader,_={html:h[p=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.S6)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:c[p]},x=[],S=e.blocks||[];(0,o.hu)(!S||(0,o.kJ)(S)),S=S||[];var w=t.orderMode;if(e.sortBlocks&&w){S=S.slice();var b={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(b,w)){var M=new a.ID(b[w],null);S.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&S.reverse()}(0,o.S6)(S,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var T="richText"===t.renderMode?x.join(_.richText):v(x.join(""),y?n:_.html);if(y)return T;var D=(0,r.uX)(e.header,"ordinal",t.useUTC),C=u(s,t.renderMode).nameStyle;return"richText"===t.renderMode?m(t,D,C)+_.richText+T:v('<div style="'+C+";"+l+';">'+(0,i.F1)(D)+"</div>"+T,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,h=e.noValue,c=!e.markerType,p=e.name,d=t.useUTC,f=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,function(t,e){return(0,r.uX)(t,(0,o.kJ)(I)?I[e]:I,d)})};if(!l||!h){var g,y,_,x,S,w,b,M,T,D,C=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),k=l?"":(0,r.uX)(p,"ordinal",d),I=e.valueType,A=h?[]:f(e.value,e.dataIndex),P=!c||!l,L=!c&&l,Z=u(a,s),O=Z.nameStyle,R=Z.valueStyle;return"richText"===s?(c?"":C)+(l?"":m(t,k,O))+(h?"":(g=t,y=A,_=P,x=L,S=[R],_&&S.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(y)?y.join(" "):y,S))):v((c?"":C)+(l?"":(w=k,'<span style="'+O+";"+(c?"":"margin-left:2px")+'">'+(0,i.F1)(w)+"</span>"))+(h?"":(b=A,M=P,T=L,D=R,b=(0,o.kJ)(b)?b:[b],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+D+'">'+(0,o.UI)(b,function(t){return(0,i.F1)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e){return'<div style="margin: '+e+"px 0 0;"+l+';">'+t+'<div style="clear:both"></div></div>'}function m(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.Lz)(n)}function x(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var S=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,function(t){return(0,o.l7)(n,t)}):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},1335:function(t,e,n){n.d(e,{Yb:()=>Z,Do:()=>z,PY:()=>E,AH:()=>F,aG:()=>L,rk:()=>B,WY:()=>N,Xv:()=>A,J9:()=>O,Jk:()=>P,DX:()=>R});var i=n(7975),r=n(9988),o=n(896),a=n(6129),s=n(3845),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.Z({})),(0,i.kJ)(r)&&(r=new a.Z({categories:(0,i.UI)(r,function(t){return(0,i.Kn)(t)?t.value:t})})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.ZT)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,i.HD)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.Z);o.Z.registerClass(l);var u=n(8911),h=n(8783),c=n(9495),p=n(2517),d=n(926),f=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,r.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,d.k7)(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var r=this.getSetting("useUTC"),o=function(t,e,n,r){for(var o=d.FW,a=0,s=[],l=[],u=0,h=0,c=0;c<o.length&&a++<1e4;++c){var f=(0,d.Tj)(o[c]);if((0,d.$K)(o[c])&&(function(t,i,o){var a=[],s=!i.length;if(!function(t,e,n,i){var r=p.sG(e),o=p.sG(n),a=function(t){return(0,d.q5)(r,t,i)===(0,d.q5)(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},f=function(){return c()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return f();case"millisecond":return f()&&a("millisecond")}}((0,d.Tj)(t),r[0],r[1],n)){s&&(i=[{value:function(t,e,n){var i=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":i[(0,d.vh)(n)](0);case"day":i[(0,d.f5)(n)](1);case"hour":i[(0,d.En)(n)](0);case"minute":i[(0,d.eN)(n)](0);case"second":i[(0,d.rM)(n)](0),i[(0,d.cb)(n)](0)}return i.getTime()}(new Date(r[0]),t,n)},{value:r[1]}]);for(var l=0;l<i.length-1;l++){var u,h,c,f=i[l].value,g=i[l+1].value;if(f!==g){var y=void 0,m=void 0,_=void 0,x=!1;switch(t){case"year":y=Math.max(1,Math.round(e/d.s2/365)),m=(0,d.sx)(n),_=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":y=(u=e/(30*d.s2))>6?6:u>3?3:u>2?2:1,m=(0,d.CW)(n),_=(0,d.vh)(n);break;case"week":case"half-week":case"day":y=(h=e/d.s2)>16?16:h>7.5?7:h>3.5?4:h>1.5?2:1,m=(0,d.xz)(n),_=(0,d.f5)(n);break;case"half-day":case"quarter-day":case"hour":y=(c=e/d.dV)>12?12:c>6?6:c>3.5?4:c>2?2:1,m=(0,d.Wp)(n),_=(0,d.En)(n);break;case"minute":y=v(e,!0),m=(0,d.fn)(n),_=(0,d.eN)(n);break;case"second":y=v(e,!1),m=(0,d.MV)(n),_=(0,d.rM)(n);break;case"millisecond":y=p.kx(e,!0),m=(0,d.RZ)(n),_=(0,d.cb)(n)}(function(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,h=l[i]();u<n&&u<=r[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})})(y,f,g,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[c],s[s.length-1]||[],l),f!==(o[c+1]?(0,d.Tj)(o[c+1]):null))){if(l.length){h=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=r[0]&&m<=r[1]&&u++)}var _=(r[1]-r[0])/e;if(u>1.5*_&&h>_/1.5||(s.push(g),u>_||t===o[c]))break}l=[]}}for(var x=(0,i.hX)((0,i.UI)(s,function(t){return(0,i.hX)(t,function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd})}),function(t){return t.length>0}),S=[],w=x.length-1,c=0;c<x.length;++c)for(var b=x[c],M=0;M<b.length;++M)S.push({value:b[M].value,level:w-c});S.sort(function(t,e){return t.value-e.value});for(var T=[],c=0;c<S.length;++c)(0===c||S[c].value!==S[c-1].value)&&T.push(S[c]);return T}(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(o)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.s2,e[1]+=d.s2),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.s2}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(f(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,i.hj)(t)?t:+p.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(u.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function v(t,e){return(t/=e?d.yR:d.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.Z.registerClass(g);var m=o.Z.prototype,_=u.Z.prototype,x=p.NM,S=Math.floor,w=Math.ceil,b=Math.pow,M=Math.log,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.Z,e._interval=0,e}return(0,r.ZT)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=_.getTicks.call(this,t);return i.UI(o,function(t){var e=t.value,i=p.NM(b(this.base,e));return i=e===n[0]&&this._fixMin?C(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?C(i,r[1]):i}},this)},e.prototype.setExtent=function(t,e){var n=M(this.base);t=M(Math.max(0,t))/n,e=M(Math.max(0,e))/n,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.getExtent.call(this);e[0]=b(t,e[0]),e[1]=b(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=C(e[0],n[0])),this._fixMax&&(e[1]=C(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=M(t[0])/M(e),t[1]=M(t[1])/M(e),m.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(n!==1/0&&!(n<=0)){var i=p.Xd(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&1>Math.abs(i)&&Math.abs(i)>0;)i*=10;var r=[p.NM(w(e[0]/i)*i),p.NM(S(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=M(t)/M(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=M(t)/M(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),b(this.base,t)},e.type="log",e}(o.Z),D=T.prototype;function C(t,e){return x(t,p.p8(e))}D.getMinorTicks=_.getMinorTicks,D.getLabel=_.getLabel,o.Z.registerClass(T);var k=n(7384),I=n(4020);function A(t,e){var n=t.type,r=(0,I.Qw)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,s=e.ecModel;if(s&&"time"===n){var l=(0,h.Ge)("bar",s),u=!1;if(i.S6(l,function(t){u=u||t.getBaseAxis()===e.axis}),u){var c=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=(0,h.G_)(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.S6(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.S6(s,function(t){u=Math.max(t.offset+t.width,u)});var c=(l=Math.abs(l))+(u=Math.abs(u)),p=e-t,d=p/(1-(l+u)/a)-p;return e+=u/c*d,{min:t-=l/c*d,max:e}}(o,a,e,(0,h.My)(l));o=c.min,a=c.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function P(t,e){var n=A(t,e),i=n.extent,r=e.get("splitNumber");t instanceof T&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function L(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.Z.getClass(e)||u.Z)}}function Z(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function O(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,i){return t.scale.getFormattedLabel(n,i,e)}:i.HD(e)?function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}:i.mf(e)?function(i,r){return null!=n&&(r=i.value-n),e(R(t,i),r,null!=i.level?{level:i.level}:null)}:function(e){return t.scale.getLabel(e)}}function R(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function z(t){var e,n,i,r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();n=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=O(t),h=1;n>40&&(h=Math.ceil(n/40));for(var p=0;p<n;p+=h){var d=u(e?e[p]:{value:a[0]+p},p),f=function(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new c.Z(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);i?i.union(f):i=f}return i}}function B(t){var e=t.get("interval");return null==e?"auto":e}function N(t){return"category"===t.type&&0===B(t.getLabelModel())}function E(t,e){var n={};return i.S6(t.mapDimensionsAll(e),function(e){n[(0,k.IR)(t,e)]=!0}),i.XP(n)}function F(t,e,n){e&&i.S6(E(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}},633:function(t,e,n){n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var i=n(7975),r=n(6571);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,h=o.dim,c=r.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===h?[p[2]-f,p[3]+f]:[p[0]-f,p[1]+f];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===h?g[d[u]]:p[0],"x"===h?g[d[u]]:p[3]],a.rotation=Math.PI/2*+("x"!==h),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.S6(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a}),e}},4020:function(t,e,n){n.d(e,{Qw:()=>l});var i=n(7975),r=n(2666),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=this._modelMinRaw=e.get("min",!0);(0,i.mf)(a)?this._modelMinNum=u(t,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=u(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,i.mf)(s)?this._modelMaxNum=u(t,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=u(t,s)),o)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),h=(0,i.kJ)(l)?l:[l||0,l||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.GM)(h[0],1),(0,r.GM)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,i.Bu)(s)||(0,i.Bu)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(s=p,u=!0),null!=d&&(l=d,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i),i}function u(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}},9801:function(t,e,n){n.d(e,{Z:()=>o});var i=n(7975),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},9161:function(t,e,n){n.d(e,{zl:()=>eX,je:()=>e$,sq:()=>eV,RS:()=>eY,$j:()=>eF,qR:()=>eq,ds:()=>eW,Pu:()=>eH,OB:()=>e0,Hr:()=>ep,yn:()=>eQ,S1:()=>eE,Og:()=>eK,YK:()=>eU,Br:()=>eG});var i,r,o,a,s,l,u,h,c,p,d,f,g,y,v,m,_,x,S,w,b,M,T,D,C=n(9988),k=n(6573),I=n(7975),A=n(4647),P=n(2298),L=n(7654),Z=n(6571),O=n(6505),R=n(5352),z="";"undefined"!=typeof navigator&&(z=navigator.platform||"");var B="rgba(0, 0, 0, 0.2)";let N={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:B,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:B,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:B,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:B,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:B,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:B,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:z.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var E=n(6451),F=n(3886),W=n(5693),H="\0_ec_inner",V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new O.Z(i),this._locale=new O.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=X(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,X(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):s(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&(0,I.S6)(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,I.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,E.md)(this),(0,I.S6)(t,function(t,e){null!=t&&(R.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.d9)(t):(0,I.TS)(n[e],t,!0))}),l&&l.each(function(t,e){R.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),R.Z.topologicalTravel(a,R.Z.getAllClassMainTypes(),function(e){var a,s=(0,F.R)(this,e,Z.kF(t[e])),u=i.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=Z.ab(u,s,h);Z.O0(c,e,R.Z),n[e]=null,i.set(e,null),r.set(e,0);var p=[],d=[],f=0;(0,I.S6)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=R.Z.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,i.set(e,d),r.set(e,f),"series"===e&&o(this)},this),this._seriesIndices||o(this)},e.prototype.getOption=function(){var t=(0,I.d9)(this.option);return(0,I.S6)(t,function(e,n){if(R.Z.hasClass(n)){for(var i=Z.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Z.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[H],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e){for(var r=0;r<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.S6)(Z.kF(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?G("id",r,a):null!=o?G("name",o,a):(0,I.hX)(a,function(t){return!!t}),U(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=U(l?this.queryComponents(l):(0,I.hX)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.hX)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.mf)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.HD)(t)?i.get(t):(0,I.Kn)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Z.U5(t,null);return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.hX)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){a(this),(0,I.S6)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.S6)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){a(this),(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return a(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){a(this);var n=[];(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.kW)(n)},e.prototype.restoreData=function(t){o(this);var e=this._componentsMap,n=[];e.each(function(t,e){R.Z.hasClass(e)&&n.push(e)}),R.Z.topologicalTravel(n,R.Z.getAllClassMainTypes(),function(n){(0,I.S6)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(o=function(t){var e=t._seriesIndices=[];(0,I.S6)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.kW)(e)},a=function(t){},s=function(t,e){t.option={},t.option[H]=1,t._componentsMap=(0,I.kW)({series:[]}),t._componentsCount=(0,I.kW)();var n,i,r,o=e.aria;(0,I.Kn)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.S6)(i,function(t,e){("colorLayer"!==e||!r)&&(R.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.TS)(n[e],t,!1):(0,I.d9)(t):null!=n[e]||(n[e]=t)))}),(0,I.TS)(e,N,!1),t._mergeOption(e,null)}),e}(O.Z);function G(t,e,n){if((0,I.kJ)(e)){var i=(0,I.kW)();return(0,I.S6)(e,function(t){null!=t&&null!=Z.U5(t,null)&&i.set(t,!0)}),(0,I.hX)(n,function(e){return e&&i.get(e[t])})}var r=Z.U5(e,null);return(0,I.hX)(n,function(e){return e&&null!=r&&e[t]===r})}function U(t,e){return e.hasOwnProperty("subType")?(0,I.hX)(t,function(t){return t&&t.subType===e.subType}):t}function X(t){var e=(0,I.kW)();return t&&(0,I.S6)(Z.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.jB)(V,W._);var Y=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let q=function(t){I.S6(Y,function(e){this[e]=I.ak(t[e],t)},this)};var K=n(9801),j=/^(min|max)?(.+)$/,J=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.S6)((0,Z.kF)(t.series),function(t){t&&t.data&&(0,I.fU)(t.data)&&(0,I.s7)(t.data)}),(0,I.S6)((0,Z.kF)(t.dataset),function(t){t&&t.source&&(0,I.fU)(t.source)&&(0,I.s7)(t.source)})),t=(0,I.d9)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,I.S6)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,I.kJ)(u)&&(0,I.S6)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.S6)(l,function(t){return p(t)}),(0,I.S6)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.S6)(t,function(t,e){var n=e.match(j);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.UI)(s,function(t){return(0,I.d9)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),Q=I.S6,$=I.Kn,tt=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function te(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=tt.length;n<i;n++){var r=tt[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.TS(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.TS(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tn(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ti(t){tn(t,"itemStyle"),tn(t,"lineStyle"),tn(t,"areaStyle"),tn(t,"label"),tn(t,"labelLine"),tn(t,"upperLabel"),tn(t,"edgeLabel")}function tr(t,e){var n=$(t)&&t[e],i=$(n)&&n.textStyle;if(i)for(var r=0,o=Z.Td.length;r<o;r++){var a=Z.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function to(t){t&&(ti(t),tr(t,"label"),t.emphasis&&tr(t.emphasis,"label"))}function ta(t){return I.kJ(t)?t:t?[t]:[]}function ts(t){return(I.kJ(t)?t[0]:t)||{}}function tl(t){t&&(0,I.S6)(tu,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tu=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],th=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tc=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tp(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tc.length;n++){var i=tc[n][1],r=tc[n][0];null!=e[i]&&(e[r]=e[i])}}function td(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tf(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tg(t,e){var n;Q(ta(t.series),function(t){$(t)&&function(t){if($(t)){te(t),ti(t),tr(t,"label"),tr(t,"upperLabel"),tr(t,"edgeLabel"),t.emphasis&&(tr(t.emphasis,"label"),tr(t.emphasis,"upperLabel"),tr(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(te(e),to(e));var n=t.markLine;n&&(te(n),to(n));var i=t.markArea;i&&to(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.fU(o))for(var a=0;a<o.length;a++)to(o[a]);I.S6(t.categories,function(t){ti(t)})}if(r&&!I.fU(r))for(var a=0;a<r.length;a++)to(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)to(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.kJ(l[a])?(to(l[a][0]),to(l[a][1])):to(l[a]);"gauge"===t.type?(tr(t,"axisLabel"),tr(t,"title"),tr(t,"detail")):"treemap"===t.type?(tn(t.breadcrumb,"itemStyle"),I.S6(t.levels,function(t){ti(t)})):"tree"===t.type&&ti(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Q(n,function(e){Q(ta(t[e]),function(t){t&&(tr(t,"axisLabel"),tr(t.axisPointer,"label"))})}),Q(ta(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tr(e,"axisLabel"),tr(e&&e.axisPointer,"label")}),Q(ta(t.calendar),function(t){tn(t,"itemStyle"),tr(t,"dayLabel"),tr(t,"monthLabel"),tr(t,"yearLabel")}),Q(ta(t.radar),function(t){tr(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),Q(ta(t.geo),function(t){$(t)&&(to(t),Q(ta(t.regions),function(t){to(t)}))}),Q(ta(t.timeline),function(t){to(t),tn(t,"label"),tn(t,"itemStyle"),tn(t,"controlStyle",!0);var e=t.data;I.kJ(e)&&I.S6(e,function(t){I.Kn(t)&&(tn(t,"label"),tn(t,"itemStyle"))})}),Q(ta(t.toolbox),function(t){tn(t,"iconStyle"),Q(t.feature,function(t){tn(t,"iconStyle")})}),tr(ts(t.axisPointer),"label"),tr(ts(t.tooltip).axisPointer,"label"),t.series=(0,Z.kF)(t.series),(0,I.S6)(t.series,function(t){if((0,I.Kn)(t)){var e,n=t.type;if("line"===n)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===n||"gauge"===n){null!=t.clockWise&&(t.clockwise=t.clockWise),td(t.label);var i=t.data;if(i&&!(0,I.fU)(i))for(var r=0;r<i.length;r++)td(i[r]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===n){var o=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=o&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",o)}else if("bar"===n){tp(t),tp(t.backgroundStyle),tp(t.emphasis);var i=t.data;if(i&&!(0,I.fU)(i))for(var r=0;r<i.length;r++)"object"==typeof i[r]&&(tp(i[r]),tp(i[r]&&i[r].emphasis))}else if("sunburst"===n){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),tf(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tf)}else{"graph"===n||"sankey"===n?!(e=t)||null==e.focusNodeAdjacency||(e.emphasis=e.emphasis||{},null!=e.emphasis.focus||(e.emphasis.focus="adjacency")):"map"===n&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.ce)(t,t.mapLocation))}null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),tl(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.S6)(th,function(e){var n=t[e];n&&((0,I.kJ)(n)||(n=[n]),(0,I.S6)(n,function(t){tl(t)}))})}var ty=n(2517);function tv(t){(0,I.S6)(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,d=a.get(e.stackedDimension,h);if(isNaN(d))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var f=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,ty.S$)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})})}var tm=n(5430),t_=n(4292),tx=n(8050),tS=n(1969),tw=n(3287),tb=n(9858),tM=n(8588),tT=n(428),tD=n(8306),tC=n(9774),tk=n(6258),tI=n(6004),tA=n(133),tP=(0,Z.Yf)(),tL={itemStyle:(0,tk.Z)(tI.t,!0),lineStyle:(0,tk.Z)(tA.v,!0)},tZ={lineStyle:"stroke",itemStyle:"fill"};function tO(t,e){var n=t.visualStyleMapper||tL[e];return n||(console.warn("Unknown style type '"+e+"'."),tL.itemStyle)}function tR(t,e){var n=t.visualDrawType||tZ[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tz=new O.Z,tB=n(7293),tN=n(4639),tE=n(222),tF=Math.PI,tW=n(5926),tH=n(4587),tV=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,I.kW)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.S6)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.hu)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.S6)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each(function(t){a(i,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each(function(t){t.perform(d)}),h.perform(d)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.kW)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tW.v)({plan:tq,reset:tK,count:tQ}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,tW.v)({reset:tG});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.kW)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,(0,tW.v)({reset:tU,onDirty:tY})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}(0,I.hu)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,(0,I.S6)(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,I.mf)(t)&&(t={overallReset:t,seriesType:function(t){l=null;try{t(t$,t0)}catch(t){}return l}(t)}),t.uid=(0,tH.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function tG(t){t.overallReset(t.ecModel,t.api,t.payload)}function tU(t){return t.overallProgress&&tX}function tX(){this.agent.dirty(),this.getDownstream().dirty()}function tY(){this.agent&&this.agent.dirty()}function tq(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tK(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,Z.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.UI)(e,function(t,e){return tJ(e)}):tj}var tj=tJ(0);function tJ(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function tQ(t){return t.data.count()}var t$={},t0={};function t1(t,e){for(var n in e.prototype)t[n]=I.ZT}t1(t$,V),t1(t0,q),t$.eachSeriesByType=t$.eachRawSeriesByType=function(t){l=t},t$.eachComponent=function(t){"series"===t.mainType&&t.subType&&(l=t.subType)};var t2=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t5="#B9B8CE",t6="#100C2A",t3=function(){return{axisLine:{lineStyle:{color:t5}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t9=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t7={darkMode:!0,color:t9,backgroundColor:t6,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t5}},textStyle:{color:t5},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t5}},dataZoom:{borderColor:"#71708A",textStyle:{color:t5},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t5}},timeline:{lineStyle:{color:t5},label:{color:t5},controlStyle:{color:t5,borderColor:t5}},calendar:{itemStyle:{color:t6},dayLabel:{color:t5},monthLabel:{color:t5},yearLabel:{color:t5}},timeAxis:t3(),logAxis:t3(),valueAxis:t3(),categoryAxis:t3(),line:{symbol:"circle"},graph:{color:t9},gauge:{title:{color:t5},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t5},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t7.categoryAxis.splitLine.show=!1;var t4=n(1382),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.HD(t)){var r=(0,t4.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.S6(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),et=["symbol","symbolSize","symbolRotate","symbolOffset"],ee=et.concat(["symbolKeepAspect"]),en=n(3928),ei=n(2159),er=n(2914),eo=n(690),ea=n(3404),es=n(6501),el=n(6151),eu=new L.Z,eh=n(9906),ec=n(4838),ep={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ed="__flagInMainProcess",ef="__pendingUpdate",eg="__needsUpdateStatus",ey=/^[a-zA-Z0-9_]+$/,ev="__connectUpdateStatus";function em(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.isDisposed()){this.id;return}return ex(this,t,e)}}function e_(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ex(this,t,e)}}function ex(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),L.Z.prototype[e].apply(t,n)}var eS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.ZT)(e,t),e}(L.Z),ew=eS.prototype;ew.on=e_("on"),ew.off=e_("off");var eb=function(t){function e(e,n,i){var r=t.call(this,new t8)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},(0,I.HD)(n)&&(n=eL[n]),r._dom=e,i.ssr&&k.Qq(function(t){var e=(0,tT.A)(t),n=e.dataIndex;if(null!=n){var i=(0,I.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.S1(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.pD)(i.useDirtyRect,!1),useCoarsePointer:(0,I.pD)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tC.P2)((0,I.ak)(o.flush,o),17),(n=(0,I.d9)(n))&&tg(n,!0),r._theme=n,r._locale=(0,ea.D0)(i.locale||ea.sO),r._coordSysMgr=new K.Z;var a=r._api=b(r);function s(t,e){return t.__prio-e.__prio}return(0,P.Z)(eP,s),(0,P.Z)(eI,s),r._scheduler=new tV(r,a,eI,eP),r._messageCenter=new eS,r._initEvents(),r.resize=(0,I.ak)(r.resize,r),o.animation.on("frame",r._onframe,r),m(o,r),_(o,r),(0,I.s7)(r),r}return(0,C.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){D(this);var t=this._scheduler;if(this[ef]){var e=this[ef].silent;this[ed]=!0;try{u(this),p.update.call(this,null,this[ef].updateParams)}catch(t){throw this[ed]=!1,this[ef]=null,t}this._zr.flush(),this[ed]=!1,this[ef]=null,y.call(this,e),v.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),f(this,i),t.performVisualTasks(i),w(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ed]){if(this._disposed){this.id;return}if((0,I.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[ed]=!0,!this._model||e){var i,r,o,a=new J(this._api),s=this._theme,l=this._model=new V;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eA);var h={seriesTransition:o,optionChanged:!0};if(n)this[ef]={silent:i,updateParams:h},this[ed]=!1,this.getZr().wakeUp();else{try{u(this),p.update.call(this,null,h)}catch(t){throw this[ef]=null,this[ed]=!1,t}this._ssr||this._zr.flush(),this[ef]=null,this[ed]=!1,y.call(this,i),v.call(this,i)}}},e.prototype.setTheme=function(){(0,ei.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||A.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(A.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,I.S6)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.S6)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,I.S6)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!eR[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.S6)(eO,function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.d9)(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=eh.qW.createCanvas(),g=k.S1(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}),!e)return t.connectedBackgroundColor&&g.add(new tS.Z({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),(0,I.S6)(h,function(t){var e=new tw.ZP({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.S6)(h,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return d(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return d(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed){this.id;return}var n,i=this._model,r=Z.pm(i,t);return(0,I.S6)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.S6)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=Z.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,en.Or)(r,o,e):(0,en.UL)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,I.S6)(eT,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&(0,es.o)(o,function(t){var e=(0,tT.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,I.l7)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),(0,I.S6)(ek,function(e,n){t._messageCenter.on(n,function(t){this.trigger(n,t)},t)}),(0,I.S6)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,er.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0,this.getDom()&&Z.P$(this.getDom(),eN,"");var t=this._api,e=this._model;(0,I.S6)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.S6)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eO[this.id]},e.prototype.resize=function(t){if(!this[ed]){if(this._disposed){this.id;return}this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[ef]&&(null==i&&(i=this[ef].silent),n=!0,this[ef]=null),this[ed]=!0;try{n&&u(this),p.update.call(this,{type:"resize",animation:(0,I.l7)({duration:0},t&&t.animation)})}catch(t){throw this[ed]=!1,t}this[ed]=!1,y.call(this,i),v.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eZ[t]){var n=eZ[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,I.l7)({},t);return e.type=ek[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(e)||(e={silent:!!e}),eC[t.type]&&this._model){if(this[ed]){this._pendingActions.push(t);return}var n=e.silent;g.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&A.Z.browser.weChat&&this._throttledZrFlush(),y.call(this,n),v.call(this,n)}},e.prototype.updateLabelLayout=function(){eu.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tD.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tD.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!tb.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tb.eq(t)){if(t instanceof tM.ZP&&(0,tD.e9)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}u=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),h(t,!0),h(t,!1),e.plan()},h=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,t4.u9)(t.type);(h=new(e?t_.Z.getClass(c.main,c.sub):tx.Z.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(h,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},c=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i){(0,I.S6)([].concat(t._componentsViews).concat(t._chartsViews),h);return}var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=u&&(o=(0,I.kW)(),(0,I.S6)(Z.kF(u),function(t){var e=Z.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!o||null==o.get(e.id)){if((0,tD.xp)(n)){if(e instanceof tm.Z)n.type!==tD.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tD.UL)(e,n,t._api);else{var i=(0,tD.oJ)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tD.Ki&&r&&!n.notBlur&&(0,tD.zI)(e.mainType,e.componentIndex,t._api),a&&(0,I.S6)(a,function(t){n.type===tD.Ki?(0,tD.fD)(t):(0,tD.Mh)(t)})}}else(0,tD.aG)(n)&&e instanceof tm.Z&&((0,tD.og)(e,n,t._api),(0,tD.ci)(e),T(t))}},t),a&&a.eachComponent(l,function(e){(!o||null==o.get(e.id))&&h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},p={prepareAndUpdate:function(t){u(this),p.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),f(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),x(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),eu.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive){if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}});var a=(0,I.kW)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),w(this,i,r,e,{},a),eu.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tx.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),x(this,n,this._api,e,{}),eu.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tx.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),eu.trigger("afterupdate",i,this._api))},updateLayout:function(t){p.update.call(this,t)}},d=function(t,e,n,i){if(t._disposed){t.id;return}for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Z.pm(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},f=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},g=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,s=eC[o],l=s.actionInfo,h=(l.update||"update").split(":"),d=h.pop(),f=null!=h[0]&&(0,t4.u9)(h[0]);this[ed]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,I.UI)(t.batch,function(e){return(e=(0,I.ce)((0,I.l7)({},e),t)).batch=null,e}));var v=[],m=(0,tD.aG)(t),_=(0,tD.xp)(t);if(_&&(0,tD.T5)(this._api),(0,I.S6)(g,function(e){if((n=(n=s.action(e,i._model,i._api))||(0,I.l7)({},e)).type=l.event||n.type,v.push(n),_){var r=Z.zH(t),o=r.queryOptionMap;c(i,d,e,r.mainTypeSpecified?o.keys()[0]:"series"),T(i)}else m?(c(i,d,e,"series"),T(i)):f&&c(i,d,e,f.main,f.sub)}),"none"!==d&&!_&&!m&&!f)try{this[ef]?(u(this),p.update.call(this,t),this[ef]=null):p[d].call(this,t)}catch(t){throw this[ed]=!1,t}if(n=y?{type:l.event||o,escapeConnect:a,batch:v}:v[0],this[ed]=!1,!e){var x=this._messageCenter;if(x.trigger(n.type,n),m){var S={type:"selectchanged",escapeConnect:a,selected:(0,tD.C5)(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(S.type,S)}}},y=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();g.call(this,n,t)}},v=function(t){t||this.trigger("updated")},m=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ef]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},_=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,es.o)(n,tD.Av);i&&((0,tD.$l)(i,t,e._api),T(e))}).on("mouseout",function(t){var n=t.target,i=(0,es.o)(n,tD.Av);i&&((0,tD.xr)(i,t,e._api),T(e))}).on("click",function(t){var n=t.target,i=(0,es.o)(n,function(t){return null!=(0,tT.A)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tT.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},x=function(t,e,n,i,r){(function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,P.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.S6)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}})(e),S(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive=!1}),w(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},S=function(t,e,o,a,s,l){(0,I.S6)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},w=function(t,e,o,a,s,l){var u,h,c,p,d=t._scheduler;s=(0,I.l7)(s||{},{updatedSeries:e.getSeries()}),eu.trigger("series:beforeupdate",e,o,s);var f=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;d.updatePayload(r,a),i(e,n),l&&l.get(e.uid)&&r.dirty(),r.perform(d.getPerformArgs(r))&&(f=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),(0,tD.ci)(e)}),d.unfinished=f||d.unfinished,eu.trigger("series:layoutlabels",e,o,s),eu.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||A.Z.node||A.Z.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),eu.trigger("series:afterupdate",e,o,s)},T=function(t){t[eg]=!0,t.getZr().wakeUp()},D=function(t){t[eg]&&(t.getZr().storage.traverse(function(t){!tb.eq(t)&&e(t)}),t[eg]=!1)},b=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,C.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tD.fD)(e,n),T(t)},n.prototype.leaveEmphasis=function(e,n){(0,tD.Mh)(e,n),T(t)},n.prototype.enterBlur=function(e){(0,tD.SX)(e),T(t)},n.prototype.leaveBlur=function(e){(0,tD.VP)(e),T(t)},n.prototype.enterSelect=function(e){(0,tD.XX)(e),T(t)},n.prototype.leaveSelect=function(e){(0,tD.SJ)(e),T(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(q))(t)},M=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ev]=e}(0,I.S6)(ek,function(n,i){t._messageCenter.on(i,function(n){if(eR[t.group]&&0!==t[ev]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.S6)(eO,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.S6)(r,function(t){1!==t[ev]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(L.Z),eM=eb.prototype;eM.on=em("on"),eM.off=em("off"),eM.one=function(t,e,n){var i=this;(0,ei.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var eT=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function eD(t){}var eC={},ek={},eI=[],eA=[],eP=[],eL={},eZ={},eO={},eR={},ez=+new Date-0,eB=+new Date-0,eN="_echarts_instance_";function eE(t,e,n){var i=!(n&&n.ssr);if(i){var r,o=(r=t,eO[Z.IL(r,eN)]);if(o)return o}var a=new eb(t,e,n);return a.id="ec_"+ez++,eO[a.id]=a,i&&Z.P$(t,eN,a.id),M(a),eu.trigger("afterinit",a),a}function eF(t){if((0,I.kJ)(t)){var e=t;t=null,(0,I.S6)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eB++,(0,I.S6)(e,function(e){e.group=t})}return eR[t]=!0,t}function eW(t){0>(0,I.cq)(eA,t)&&eA.push(t)}function eH(t,e){eJ(eI,t,e,2e3)}function eV(t){eU("afterinit",t)}function eG(t){eU("afterupdate",t)}function eU(t,e){eu.on(t,e)}function eX(t,e,n){(0,I.mf)(e)&&(n=e,e="");var i=(0,I.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),!ek[e=t.event]&&((0,I.hu)(ey.test(i)&&ey.test(e)),eC[i]||(eC[i]={action:n,actionInfo:t}),ek[e]=i)}function eY(t,e){K.Z.register(t,e)}function eq(t,e){eJ(eP,t,e,1e3,"layout")}function eK(t,e){eJ(eP,t,e,3e3,"visual")}var ej=[];function eJ(t,e,n,i,r){if(((0,I.mf)(e)||(0,I.Kn)(e))&&(n=e,e=i),!((0,I.cq)(ej,n)>=0)){ej.push(n);var o=tV.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function eQ(t,e){eZ[t]=e}function e$(t,e,n){var i=(0,ec.C)("registerMap");i&&i(t,e,n)}var e0=eo.DA;eK(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tO(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tR(t,i),l=o[s],u=(0,I.mf)(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.mf)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,I.mf)(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,I.l7)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),eK(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tO(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tz.option=n[i];var a=r(tz),s=t.ensureUniqueItemVisual(e,"style");(0,I.l7)(s,a),tz.option.decal&&(t.setItemVisual(e,"decal",tz.option.decal),tz.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),eK(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),tP(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),i={},r=e.getData(),o=tP(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tR(e,a);r.each(function(t){i[r.getRawIndex(t)]=t}),n.each(function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}})}})}}),eK(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<et.length;a++){var s=et[a],l=t.get(s);(0,I.mf)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.XP)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),eK(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(!t.hasSymbolVisual||e.isSeriesFiltered(t)))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<ee.length;i++){var r=ee[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),eK(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=(0,el.I)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,el.I)(r,e))}})}),eW(tg),eH(900,function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(tv)}),i=function(t,e){e=e||{},I.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n,i=new tB.Z,r=new tS.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tN.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tS.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tE.Z({shape:{startAngle:-tF/2,endAngle:-tF/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tF/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tF/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},eZ.default=i,eX({type:tD.Ki,event:tD.Ki,update:tD.Ki},I.ZT),eX({type:tD.yx,event:tD.yx,update:tD.yx},I.ZT),eX({type:tD.Hg,event:tD.Hg,update:tD.Hg},I.ZT),eX({type:tD.JQ,event:tD.JQ,update:tD.JQ},I.ZT),eX({type:tD.iK,event:tD.iK,update:tD.iK},I.ZT),r={color:t2,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t2]},eL.light=r,eL.dark=t7},4838:function(t,e,n){n.d(e,{C:()=>o,M:()=>r});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},3404:function(t,e,n){n.d(e,{D0:()=>h,sO:()=>l,Li:()=>p,G8:()=>c});var i=n(6505),r=n(4647),o=n(7975),a={},s={},l=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.Z(e),a[t]=e}function h(t){if(!(0,o.HD)(t))return(0,o.TS)((0,o.d9)(t),(0,o.d9)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(a.EN),!1)}function c(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},5926:function(t,e,n){n.d(e,{v:()=>r});var i=n(7975);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.kJ)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,c,p);else this._doProgress(y,f,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){!this._disposed&&(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,r=Math.ceil((i=c)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},2787:function(t,e,n){function i(t){return null==t?0:t.length||1}function r(t){return t}n.d(e,{Z:()=>o});let o=function(){function t(t,e,n,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||r,this._newKeyGetter=i||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],l=n[s],u=i(l);if(u>1){var h=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(h,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],h=r[l],c=i(u),p=i(h);if(c>1&&1===p)this._updateManyToOne&&this._updateManyToOne(h,u),r[l]=null;else if(1===c&&p>1)this._updateOneToMany&&this._updateOneToMany(h,u),r[l]=null;else if(1===c&&1===p)this._update&&this._update(h,u),r[l]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(h,u),r[l]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e[r],a=i(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(n[a]=s),e){var l=e[s],u=i(l);0===u?(e[s]=a,o&&n.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},1998:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>h});var i,r=n(7975),o=n(4503),a=n(3347),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function d(t){return t>65535?l:u}function f(){return[1/0,-1/0]}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,r.UI)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(n,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var h=r[f],y=i.arrayRows.call(this,t[d]||c,h.property,d,f);n[f][p]=y;var v=a[f];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=f()),g(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=i.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var h=e-i[this.getRawIndex(l)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=d(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(d(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=i[0],h=t[u][0],c=t[u][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}f=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],S=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=h&&m<=c||isNaN(m))&&(w>=x&&w<=S||isNaN(w))&&(s[l++]=g),g++}f=!0}}if(!f){if(1===o)for(var v=0;v<a;v++){var b=e.getRawIndex(v),m=p[i[0]][b];(m>=h&&m<=c||isNaN(m))&&(s[l++]=b)}else for(var v=0;v<a;v++){for(var M=!0,b=e.getRawIndex(v),T=0;T<o;T++){var D=i[T],m=p[D][b];(m<t[D][0]||m>t[D][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(r[0]=d,d=r);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=i[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+f)/2,v=0,m=f;m<g;m++){var _=this.getRawIndex(m),x=a[_];!isNaN(x)&&(v+=x)}v/=g-f;var S=p,w=Math.min(p+u,s),b=p-1,M=a[h];n=-1,r=S;for(var T=-1,D=0,m=S;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){D++,T<0&&(T=_);continue}(i=Math.abs((b-y)*(x-M)-(b-m)*(v-M)))>n&&(n=i,r=_)}D>0&&D<w-S&&(c[l++]=Math.min(T,r),r=Math.max(T,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=f(),c=new(d(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(s=u-g,a.length=s);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.u4)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},6129:function(t,e,n){n.d(e,{Z:()=>a});var i=n(7975),r=0;function o(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.UI)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.HD)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}()},3208:function(t,e,n){n.d(e,{Z:()=>C});var i,r,o,a,s,l,u,h=n(7975),c=n(6505),p=n(2787),d=n(5562),f=n(5521),g=n(8944),y=n(9484),v=n(6571),m=n(428),_=n(3347),x=n(1998),S=n(2110),w=h.Kn,b=h.UI,M="undefined"==typeof Int32Array?Array:Int32Array,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],D=["_approximateExtent"];let C=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,i=!1;(0,S.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],p=h.HD(c)?new g.Z({name:c}):c instanceof g.Z?c:new g.Z(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=h.kW();h.S6(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.ZP&&(i=t),!i){var o=this.dimensions,a=(0,_.Ld)(t)||h.zG(t)?new d.Pl(t,o.length):t;i=new x.ZP;var s=b(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,f.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.Co)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,v.U5)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,v.U5)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?h.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.kJ(t)?i.getValues(b(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);this._store.each(r,i?h.ak(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?h.ak(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.XP(t),r=[];return h.S6(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=b(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.ak(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=b(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.ak(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.Z(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?h.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.kJ(r)?r=r.slice():w(r)&&(r=h.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,w(e)?h.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?h.l7(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.S6(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:b(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.tP(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;h.S6(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new M(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.U5)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.kJ(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:b(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.S6(T.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.S6(D,function(n){t[n]=h.d9(e[n])}),t._calculationInfo=h.l7({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),i[e]=l}}),t}()},8944:function(t,e,n){n.d(e,{Z:()=>r});var i=n(7975);let r=function(t){this.otherDims={},null!=t&&i.l7(this,t)}},3347:function(t,e,n){n.d(e,{Kp:()=>p,Ld:()=>l,ML:()=>c,QY:()=>g,_P:()=>u,nx:()=>h});var i=n(7975),r=n(9484),o=n(6571),a=n(6451),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.XD){var l,u;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,i.hj)(a)?a:+!!a,s||1!==u||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.Wc?t.length:t[0]?t[0].length:null}else if(e===r.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.XP)(e)}(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,function(t,e){s.push(e)}));else if(e===r.cy){var h=(0,o.C4)(t[0]);l=(0,i.kJ)(h)&&h.length||1}else r.J5;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)})}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}else if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t)){for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}}return e}function d(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,function(t,n){var r={name:(t=(0,i.Kn)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},2110:function(t,e,n){n.d(e,{Eo:()=>l,Jj:()=>c,Jl:()=>p,bB:()=>u,v5:()=>h});var i=n(7975),r=n(6571),o=n(3347),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!p(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,h=d.type,c=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,h=f.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,i.kW)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.Kn)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},6904:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9484),r=n(8944),o=n(7975),a=n(3347),s=n(1998),l=n(6571),u=n(6451),h=n(2110);function c(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n,c,p,d,f,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.kW)(),m=[],_=(n=t,c=g,p=y,d=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,c.length,p.length,d||0),(0,o.S6)(c,function(t){var e;(0,o.Kn)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,h.Jl)(_),S=y===t.dimensionsDefine,w=S?(0,h.Jj)(t):(0,h.v5)(y),b=e.encodeDefine;!b&&e.encodeDefaulter&&(b=e.encodeDefaulter(t,_));for(var M=(0,o.kW)(b),T=new s.hG(_),D=0;D<T.length;D++)T[D]=-1;function C(t){var e=T[t];if(e<0){var n=y[t],i=(0,o.Kn)(n)?n:{name:n},a=new r.Z,s=i.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=m.length;return T[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var D=0;D<_;D++)C(D);M.each(function(t,e){var n=(0,l.kF)(t).slice();if(1===n.length&&!(0,o.HD)(n[0])&&n[0]<0){M.set(e,!1);return}var i=M.set(e,[]);(0,o.S6)(n,function(t,n){var r=(0,o.HD)(t)?w.get(t):t;null!=r&&r<_&&(i[n]=r,I(C(r),e,n))})});var k=0;function I(t,e,n){null!=i.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.S6)(g,function(t){if((0,o.HD)(t))e=t,r={};else{e=(r=t).name;var e,n,i,r,a=r.ordinalMeta;r.ordinalMeta=null,(r=(0,o.l7)({},r)).ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=M.get(e);if(!1!==s){if(!(s=(0,l.kF)(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;k<_&&null!=C(k).coordDim;)k++;k<_&&s.push(k++)}(0,o.S6)(s,function(t,a){var s=C(t);if(S&&null!=r.type&&(s.type=r.type),I((0,o.ce)(s,r),e,a),null==s.name&&n){var l=n[a];(0,o.Kn)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}i&&(0,o.ce)(s.otherDims,i)})}});var A=e.generateCoord,P=e.generateCoordCount,L=null!=P;P=A?P||1:0;var Z=A||"value";function O(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.S6)(m,function(t){O(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var R=0;R<_;R++){var z=C(R);null==z.coordDim&&(z.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(Z,v,L),z.coordDimIndex=0,(!A||P<=0)&&(z.isExtraCoord=!0),P--),O(z),null==z.type&&((0,u.u7)(t,R)===u.Dq.Must||z.isExtraCoord&&(null!=z.otherDims.itemName||null!=z.otherDims.seriesName))&&(z.type="ordinal")}return function(t){for(var e=(0,o.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(m),new h.Eo({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}},5562:function(t,e,n){n.d(e,{Pl:()=>p,_j:()=>g,a:()=>m,hk:()=>b,tB:()=>S});var i,r,o,a,s,l=n(7975),u=n(6571),h=n(3347),c=n(9484),p=function(){var t;function e(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,p=o.dimensionsDefine,d=a[w(s,u)];if((0,l.l7)(t,d),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=g(s,u);t.getItem=(0,l.ak)(f,null,r,h,p);var y=m(s,u);t.count=(0,l.ak)(y,null,r,h,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var d=r[p*o+a];c[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),d=function(t,e,n,i){return t[i]},f=((i={})[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},i[c.qb]=d,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[c.cy]=d,i);function g(t,e){return f[w(t,e)]}var y=function(t,e,n){return t.length},v=((r={})[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=y,r[c.hL]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[c.cy]=y,r);function m(t,e){return v[w(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,u.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function S(t){return x[t]}function w(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return x[o](i,a,s)}var l=i;return o===c.cy&&(l=(0,u.C4)(i)),l}}}},7384:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var i=n(7975),r=n(2110);function o(t,e,n){var o,a,s,l,u,h,c,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.bB)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,i.S6)(a,function(t,e){(0,i.HD)(t)&&(a[e]=t={name:t}),!g||t.isExtraCoord||(d||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(h=t))}),!h||d||u||(d=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,i.S6)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},4503:function(t,e,n){n.d(e,{ID:()=>l,yQ:()=>a});var i=n(2517),r=n(7975),o=n(2159);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:+t)}(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,r.hj)(e)||(0,o._y)(""),this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}).prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)};var l=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.HD)(t),u=(0,r.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}},5521:function(t,e,n){n.d(e,{T:()=>l,y:()=>a});var i=n(7975),r=n(9484),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,i.kW)(),u=[],h=[],c={};(0,i.S6)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,p=n.coordDimIndex;s(a,i)[p]=e,n.isExtraCoord||(l.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),s(c,i)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&h.push(e)}r.f7.each(function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var p=[],d={};l.each(function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.UI)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var f=a.label;f&&f.length&&(u=f.slice());var g=a.tooltip;return g&&g.length?h=g.slice():h.length||(h=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=h,n.userOutput=new o(c,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},6451:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>p,Ss:()=>h,Wd:()=>c,md:()=>l,pY:()=>u,u7:()=>d});var i=n(6571),r=n(7975),o=n(9484),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i,o,a={},l=c(e);if(!l||!t)return a;var u=[],h=[],p=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,function(e,n){var s=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.S6)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(h,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(u,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(h,o,r),f.categoryWayDim+=r}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function h(t,e,n){var i,s={};if(!c(t))return s;var l=e.sourceFormat,u=e.dimensionsDefine;(l===o.qb||l===o.hL)&&(0,r.S6)(u,function(t,e){((0,r.Kn)(t)?t.name:t)==="name"&&(i=e)});var h=function(){for(var t={},r={},o=[],s=0,h=Math.min(5,n);s<h;s++){var c=f(e.data,l,e.seriesLayoutBy,u,e.startIndex,s);o.push(c);var p=c===a.Not;if(p&&null==t.v&&s!==i&&(t.v=s),null!=t.n&&t.n!==t.v&&(p||o[t.n]!==a.Not)||(t.n=s),d(t)&&o[t.n]!==a.Not)return t;p||(c===a.Might&&null==r.v&&s!==i&&(r.v=s),null!=r.n&&r.n!==r.v||(r.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(r)?r:null}();if(h){s.value=[h.v];var p=null!=i?i:h.n;s.itemName=[p],s.seriesName=[p]}return s}function c(t){if(!t.get("data",!0))return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function p(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function d(t,e){return f(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function f(t,e,n,s,l,u){var h,c,p;if((0,r.fU)(t))return a.Not;if(s){var d=s[u];(0,r.Kn)(d)?(c=d.name,p=d.type):(0,r.HD)(d)&&(c=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.XD){if(n===o.Wc){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(h=_(f[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}}else if(e===o.qb){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.hL){if(!c)return a.Not;var f=t[c];if(!f||(0,r.fU)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(h=_(f[g])))return h}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.C4)(v);if(!(0,r.kJ)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.HD)(t);return null!=t&&isFinite(t)&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},2387:function(t,e,n){n.d(e,{U:()=>h,t:()=>c});var i=n(7975),r=n(3347),o=n(9484),a=n(6451),s=n(690),l=n(1998),u=n(5562),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(n)){var l=void 0,u=void 0,h=void 0;if(s){var c=a[0];c.prepareSource(),l=(h=c.getSource()).data,u=h.sourceFormat,e=[c._getVersionSign()]}else l=n.get("data",!0),u=(0,i.fU)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},f=h&&h.metaRawOption||{},g=(0,i.pD)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.pD)(d.sourceHeader,f.sourceHeader),v=(0,i.pD)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r._P)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r._P)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&d("");var l=[],u=[];return(0,i.S6)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||d(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.ZP).initData(new u.Pl(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,i.UI)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return p(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){t.option.transform&&(0,i.s7)(t.option.transform)}function p(t){return"series"===t.mainType}function d(t){throw Error(t)}},690:function(t,e,n){n.d(e,{DA:()=>y,vK:()=>v});var i=n(9484),r=n(6571),o=n(7975),a=n(5562),s=n(4503),l=n(2159),u=n(3347),h=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function c(t){return m(t.sourceFormat)||(0,l._y)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l._y)(""),e===i.XD){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.qb){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.l7)({},n[a]));return r}}function d(t,e,n){return null==n?void 0:!(0,o.hj)(n)&&(isNaN(n)||(0,o.RI)(e,n))?(0,o.RI)(e,n)?e[n]:void 0:t[n]}function f(t){return(0,o.d9)(t)}var g=(0,o.kW)();function y(t){var e=(t=(0,o.d9)(t)).type;e||(0,l._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function v(t,e,n){var s=(0,r.kF)(t),y=s.length;y||(0,l._y)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.Kn)(t)||(0,l._y)("");var y=t.type,v=g.get(y);v||(0,l._y)("");var _=(0,o.UI)(e,function(t){return function(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.fY&&(0,l._y)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.S6)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.RI)(y,n)&&(0,l._y)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount;m++)g.push({index:m});var _=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.ak)(c,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var x=(0,a.a)(s,i.fY);n.count=(0,o.ak)(x,null,r,u,g);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return S(t,e,n.name)}};return n.getDimensionInfo=(0,o.ak)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.ak)(f,null,g),n}(t,v)}),x=(0,r.kF)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.d9)(t.config)}));return(0,o.UI)(x,function(t,n){(0,o.Kn)(t)||(0,l._y)(""),t.data||(0,l._y)(""),m((0,u.Kp)(t.data))||(0,l._y)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,r,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===i.XD||t===i.qb}},6232:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,l.kJ)(e)){(0,l.S6)(e,function(e){t(e)});return}!((0,l.cq)(c,e)>=0)&&(c.push(e),(0,l.mf)(e)&&(e={install:e}),e.install(p))}});var i=n(9161),r=n(4292),o=n(8050),a=n(5352),s=n(5430),l=n(7975),u=n(4838),h=n(6573),c=[],p={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:u.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}}},7285:function(t,e,n){n.d(e,{GI:()=>a,VT:()=>o,yl:()=>s});var i=n(8291),r=n(9495);function o(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,h=s.clone();h.applyTransform(a),h.x-=u/2,h.y-=u/2,h.width+=u,h.height+=u;var c=l?new i.Z(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:h,localRect:s,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,n,i){return function(t,e,n,i,r,o){var a,s,l,u=t.length;if(!(u<2)){t.sort(function(t,e){return t.rect.y-e.rect.y});for(var h=0,c=!1,p=[],d=0,f=0;f<u;f++){var g=t[f],y=g.rect;(a=y[e]-h)<0&&(y[e]-=a,g.label[e]-=a,c=!0);var v=Math.max(-a,0);p.push(v),d+=v,h=y[e]+y[n]}d>0&&o&&w(-d/u,0,u);var m=t[0],_=t[u-1];return x(),s<0&&b(-s,.8),l<0&&b(l,.8),x(),S(s,l,1),S(l,s,-1),x(),s<0&&M(-s),l<0&&M(l),c}function x(){s=m.rect[e]-i,l=r-_.rect[e]-_.rect[n]}function S(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,u);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function w(n,i,r){0!==n&&(c=!0);for(var o=i;o<r;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],a=0,s=1;s<u;s++){var l=t[s-1].rect,h=Math.max(t[s].rect[e]-l[e]-l[n],0);o.push(h),a+=h}if(a){var c=Math.min(Math.abs(i)/a,r);if(i>0)for(var s=0;s<u-1;s++){var p=o[s]*c;w(p,0,s+1)}else for(var s=u-1;s>0;s--){var p=o[s-1]*c;w(-p,s,u)}}}function M(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),i=0;i<u-1;i++)if(e>0?w(n,0,i+1):w(-n,u-i-1,u),(t-=n)<=0)return}}(t,"y","height",e,n,i)}function s(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new r.Z(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,h=s.transform,c=s.label,p=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=s.obb,f=!1,g=0;g<e.length;g++){var y=e[g];if(n.intersect(y.rect)&&(l&&y.axisAligned||(y.obb||(y.obb=new i.Z(y.localRect,y.transform)),d||(d=new i.Z(u,h)),d.intersect(y.obb)))){f=!0;break}}f?(o(c),p&&o(p)):(c.attr("ignore",s.defaultAttr.ignore),p&&p.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},3361:function(t,e,n){n.d(e,{Lr:()=>d,k3:()=>p,nC:()=>f,ni:()=>c,pe:()=>S,qA:()=>x,qT:()=>_,tD:()=>w});var i=n(4639),r=n(7975),o=n(8306),a=n(6571),s=n(9858),l={};function u(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var p=o.L1[c],d=e[p];h[p]=(0,r.pD)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return h}function c(t,e,n,a){n=n||l;for(var s=t instanceof i.ZP,c=!1,p=0;p<o.qc.length;p++){var g=e[o.qc[p]];if(g&&g.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){!s&&(y||(y=new i.ZP,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=h(n,e),m=e.normal,_=!!m.getShallow("show"),S=d(m,a&&a.normal,n,!1,!s);S.text=v.normal,s||t.setTextConfig(f(m,n,!1));for(var p=0;p<o.L1.length;p++){var w=o.L1[p],g=e[w];if(g){var b=y.ensureState(w),M=!!(0,r.pD)(g.getShallow("show"),_);M!==_&&(b.ignore=!M),b.style=d(g,a&&a[w],n,!0,!s),b.style.text=v[w],s||(t.ensureState(w).textConfig=f(g,n,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(S.x=y.style.x),null!=y.style.y&&(S.y=y.style.y),y.ignore=!_,y.useStyle(S),y.dirty(),n.enableTextSetter&&(x(y).setLabelText=function(t){var i=h(n,e,t);u(y,i)})}else y&&(y.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function d(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(h){for(var c in a={},h)if(h.hasOwnProperty(c)){var p=e.getModel(["rich",c]);m(a[c]={},p,u,n,i,o,!1,!0)}}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var f=e.get("minMargin");null!=f&&(t.margin=f),m(t,e,u,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function f(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,i,o,a,s,u){n=!o&&n||l;var h=i&&i.inheritColor,c=e.getShallow("color"),p=e.getShallow("textBorderColor"),d=(0,r.pD)(e.getShallow("opacity"),n.opacity);("inherit"===c||"auto"===c)&&(c=h||null),("inherit"===p||"auto"===p)&&(p=h||null),a||(c=c||n.color,p=p||n.textBorderColor),null!=c&&(t.fill=c),null!=p&&(t.stroke=p);var f=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=f&&(t.lineWidth=f);var m=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=d||u||(d=i&&i.defaultOpacity),null!=d&&(t.opacity=d),o||a||null!=t.fill||!i.inheritColor||(t.fill=i.inheritColor);for(var x=0;x<g.length;x++){var S=g[x],w=(0,r.pD)(e.getShallow(S),n[S]);null!=w&&(t[S]=w)}for(var x=0;x<y.length;x++){var S=y[x],w=e.getShallow(S);null!=w&&(t[S]=w)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!s||!i.disableBox){for(var x=0;x<v.length;x++){var S=v[x],w=e.getShallow(S);null!=w&&(t[S]=w)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&h&&(t.backgroundColor=h),("auto"===t.borderColor||"inherit"===t.borderColor)&&h&&(t.borderColor=h)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.Yf)();function S(t,e,n,i){if(t){var r=x(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function w(t,e,n,i,o){var l=x(t);if(l.valueAnimation&&l.prevValue!==l.value){var c=l.defaultInterpolatedText,p=(0,r.pD)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.KZ:s.D)(t,{percent:1},i,e,null,function(i){var r=(0,a.pk)(n,l.precision,p,d,i);l.interpolatedValue=1===i?null:r,u(t,h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},l.statesModels,r))})}}},8783:function(t,e,n){n.d(e,{Bk:()=>v,G_:()=>g,Ge:()=>p,Gk:()=>c,My:()=>d,bK:()=>y});var i=n(7975),r=n(2517),o=n(7384),a=n(3149),s=n(8845),l="__ec_stack_";function u(t){return t.get("stack")||l+t.seriesIndex}function h(t){return t.dim+t.index}function c(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<t.count;a++)e.push((0,i.ce)({bandWidth:o,axisKey:r,stackId:l+a},t));for(var s=f(e),u=[],a=0;a<t.count;a++){var h=s[r][l+a];h.offsetCenter=h.offset+h.width/2,u.push(h)}return u}}function p(t,e){var n=[];return e.eachSeriesByType(t,function(t){m(t)&&n.push(t)}),n}function d(t){var e=function(t){var e={};(0,i.S6)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),n=[];return(0,i.S6)(t,function(t){var i,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=e[o.dim+"_"+o.index],l=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),p=Math.abs(c[1]-c[0]);i=s?l/p*s:l}else{var d=t.getData();i=Math.abs(a[1]-a[0])/d.count()}var f=(0,r.GM)(t.get("barWidth"),i),g=(0,r.GM)(t.get("barMaxWidth"),i),y=(0,r.GM)(t.get("barMinWidth")||(_(t)?.5:1),i),v=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:f,barMaxWidth:g,barMinWidth:y,barGap:v,barCategoryGap:m,axisKey:h(o),stackId:u(t)})}),f(n)}function f(t){var e={};(0,i.S6)(t,function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)});var n={};return(0,i.S6)(e,function(t,e){n[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,i.XP)(a).length,15)+"%");var u=(0,r.GM)(l,s),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,p=t.autoWidthCount,d=(c-u)/(p+(p-1)*h);d=Math.max(d,0),(0,i.S6)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,p--}else{var i=d;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==d&&(t.width=i,c-=i+h*i,p--)}}),d=Math.max(d=(c-u)/(p+(p-1)*h),0);var f=0;(0,i.S6)(a,function(t,e){t.width||(t.width=d),o=t,f+=t.width*(1+h)}),o&&(f-=o.width*h);var g=-f/2;(0,i.S6)(a,function(t,i){n[e][i]=n[e][i]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+h)})}),n}function g(t,e,n){if(t&&e){var i=t[h(e)];return null!=i&&null!=n?i[u(n)]:i}}function y(t,e){var n=p(t,e),r=d(n);(0,i.S6)(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=u(t),o=r[h(n)][i],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function v(t){return{seriesType:t,plan:(0,a.Z)(),reset:function(t){if(m(t)){var e,n,i=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),l=r.getOtherAxis(a),u=i.getDimensionIndex(i.mapDimension(l.dim)),h=i.getDimensionIndex(i.mapDimension(a.dim)),c=t.get("showBackground",!0),p=i.mapDimension(l.dim),d=i.getCalculationInfo("stackResultDimension"),f=(0,o.M)(i,p)&&!!i.getCalculationInfo("stackedOnSeries"),g=l.isHorizontal(),y=(e=0,(n=l).toGlobalCoord(n.dataToCoord(+("log"===n.type)))),v=_(t),x=t.get("barMinHeight")||0,S=d&&i.getDimensionIndex(d),w=i.getLayout("size"),b=i.getLayout("offset");return{progress:function(t,e){for(var n,i=t.count,o=v&&(0,s.o)(3*i),a=v&&c&&(0,s.o)(3*i),l=v&&(0,s.o)(i),p=r.master.getRect(),d=g?p.width:p.height,m=e.getStore(),_=0;null!=(n=t.next());){var M=m.get(f?S:u,n),T=m.get(h,n),D=y,C=void 0;f&&(C=+M-m.get(u,n));var k=void 0,I=void 0,A=void 0,P=void 0;if(g){var L=r.dataToPoint([M,T]);if(f){var Z=r.dataToPoint([C,T]);D=Z[0]}k=D,I=L[1]+b,A=L[0]-D,P=w,Math.abs(A)<x&&(A=(A<0?-1:1)*x)}else{var L=r.dataToPoint([T,M]);if(f){var Z=r.dataToPoint([T,C]);D=Z[1]}k=L[0]+b,I=D,A=w,Math.abs(P=L[1]-D)<x&&(P=(P<=0?-1:1)*x)}v?(o[_]=k,o[_+1]=I,o[_+2]=g?A:P,a&&(a[_]=g?p.x:k,a[_+1]=g?I:p.y,a[_+2]=d),l[n]=n):e.setItemLayout(n,{x:k,y:I,width:A,height:P}),_+=3}v&&e.setLayout({largePoints:o,largeDataIndices:l,largeBackgroundPoints:a,valueAxisHorizontal:g})}}}}}}function m(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function _(t){return t.pipelineContext&&t.pipelineContext.large}},3706:function(t,e,n){n.d(e,{Z:()=>s});var i=n(7975),r=n(3149),o=n(7384),a=n(8845);function s(t,e){return{seriesType:t,plan:(0,r.Z)(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(r){var u=(0,i.UI)(r.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),h=u.length,c=n.getCalculationInfo("stackResultDimension");(0,o.M)(n,u[0])&&(u[0]=c),(0,o.M)(n,u[1])&&(u[1]=c);var p=n.getStore(),d=n.getDimensionIndex(u[0]),f=n.getDimensionIndex(u[1]);return h&&{progress:function(t,e){for(var n=t.end-t.start,i=l&&(0,a.o)(n*h),o=[],s=[],u=t.start,c=0;u<t.end;u++){var g=void 0;if(1===h){var y=p.get(d,u);g=r.dataToPoint(y,null,s)}else o[0]=p.get(d,u),o[1]=p.get(f,u),g=r.dataToPoint(o,null,s);l?(i[c++]=g[0],i[c++]=g[1]):e.setItemLayout(u,g.slice())}l&&e.setLayout("points",i)}}}}}}},2914:function(t,e,n){n.d(e,{s:()=>s,y:()=>o});var i=n(7975),r=n(6571);function o(t,e){(0,i.S6)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,r,o){var a,s;e=(0,i.l7)({},e),o.dispatchAction((0,i.l7)(e,{type:n[1],seriesIndex:(a=e,s=[],r.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})}function a(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var h=t.getData(),c=(0,r.gO)(h,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.kJ)(c)?h.getName(c[0]):h.getName(c),selected:(0,i.HD)(o)?o:(0,i.l7)({},o)})}})}function s(t,e,n){t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(a("map","selectchanged",e,i,t),a("pie","selectchanged",e,i,t)):"select"===t.fromAction?(a("map","selected",e,i,t),a("pie","selected",e,i,t)):"unselect"===t.fromAction&&(a("map","unselected",e,i,t),a("pie","unselected",e,i,t))})}},5352:function(t,e,n){n.d(e,{Z:()=>p});var i=n(9988),r=n(7975),o=n(6505),a=n(4587),s=n(1382),l=n(6571),u=n(651),h=(0,l.Yf)(),c=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),i=n?u.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&u.dt(t,i,n)},n.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.HZ)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,function(t){var e=[];return r.S6(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.UI(e,function(t){return(0,s.u9)(t).main}),"dataset"!==t&&0>=r.cq(e,"dataset")&&e.unshift("dataset"),e});let p=c},6505:function(t,e,n){n.d(e,{Z:()=>v});var i=n(4647),r=n(1382),o=(0,n(6258).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(3361),l=n(4639),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new l.ZP,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),d=n(133),f=n(6004),g=n(7975),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.d9)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(y),(0,r.Qj)(y),(0,g.jB)(y,d.K),(0,g.jB)(y,f.D),(0,g.jB)(y,a),(0,g.jB)(y,p);let v=y},5430:function(t,e,n){n.d(e,{Z:()=>D});var i=n(9988),r=n(7975),o=n(4647),a=n(6571),s=n(5352),l=n(5693),u=n(8780),h=n(651),c=n(5926),p=n(1382),d=n(2387),f=n(1481),g=n(5562),y=a.Yf();function v(t,e){return t.getName(e)||t.getId(e)}var m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:x,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new d.U(this)).prepareSource();var i=this.getInitialData(t,n);b(i,this),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=y(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);b(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=T(this);if(!e)return y(this).data;var n=e.context.data;return null==t?n:n.getLinkedData(t)},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=T(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},n.prototype.getSourceManager=function(){return y(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return y(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),p=c.length,d=s.getRawValue(l),y=(0,r.kJ)(d),v=(0,f.jT)(s,l);if(p>1||y&&!p){var m=function(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,function(t,e,n){var i=a.getDimensionInfo(n);return t=t||i&&!1!==i.tooltip&&null!=i.displayName},!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,f.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,function(t){c((0,g.hk)(a,n,t),t)}):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(d,s,l,c,v);e=m.inlineValues,n=m.inlineValueTypes,i=m.blocks,o=m.inlineValues[0]}else if(p){var _=h.getDimensionInfo(c[0]);o=e=(0,g.hk)(h,l,c[0]),n=_.type}else o=e=y?d[0]:d;var x=(0,a.yu)(s),S=x&&s.name||"",w=h.getName(l),b=u?S:w;return(0,f.TX)("section",{header:S,noHeader:u||!x,sortParam:o,blocks:[(0,f.TX)("nameValue",{markerType:"item",markerColor:v,name:b,noName:!(0,r.fy)(b),value:e,valueType:n,dataIndex:l})].concat(i||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=v(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[v(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=v(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=v(t,p);o.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.Z.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.Z);function _(t){var e,n,i,o=t.name;a.yu(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.S6(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function b(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.WA(M,e))})}function M(t,e){var n=T(t);return n&&n.setOutputEnd((e||this).count()),e}function T(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.jB(m,u.X),r.jB(m,l._),(0,p.pw)(m,s.Z);let D=m},3886:function(t,e,n){n.d(e,{R:()=>a,f:()=>o});var i=n(7975),r=(0,i.kW)();function o(t,e){(0,i.hu)(null==r.get(t)&&e),r.set(t,e)}function a(t,e,n){var i=r.get(e);if(!i)return n;var o=i(t);return o?n.concat(o):n}},8780:function(t,e,n){n.d(e,{X:()=>s,f:()=>l});var i=n(7975),r=n(5562),o=n(814),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);return(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.mf(l))?(c.status=e,c.dimensionIndex=s,l(c)):i.HD(l)?(0,o.kF)(l,c).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},6004:function(t,e,n){n.d(e,{D:()=>a,t:()=>r});var i=n(6258),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},133:function(t,e,n){n.d(e,{K:()=>a,v:()=>r});var i=n(6258),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},6258:function(t,e,n){n.d(e,{Z:()=>r});var i=n(7975);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.cq(r,l)>=0||o&&0>i.cq(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},5693:function(t,e,n){n.d(e,{_:()=>o});var i=n(6571),r=(0,i.Yf)();(0,i.Yf)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}(this,r,(0,i.kF)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},378:function(t,e,n){n.d(e,{N:()=>v});var i=n(9417),r=n(7975),o=n(9362),a=n(7654),s=n(1687),l=n(6398),u=n(9495),h=n(2168),c=n(9906);function p(t,e,n){var i=c.qW.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var d=function(t){function e(e,n,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.KL,"string"==typeof e?a=p(e,n,o):r.Kn(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.$j(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(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=p("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,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.Z(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero())){if(0===o.length){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.Z(0,0,0,0);p.copy(c),p.union(t),o[h]=p,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,f=c.width*c.height,g=l.width*l.height-d-f;g<i&&(i=g,r=h)}}if(s&&(o[r].union(t),n=!0),!n){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}}for(var p=this.__startIndex;p<this.__endIndex;++p){var d=t[p];if(d){var f=d.shouldBePainted(n,i,!0,!0),g=d.__isRendered&&(d.__dirty&h.YV||!f)?d.getPrevPaintRect():null;g&&c(g);var y=f&&(d.__dirty&h.YV||!d.__isRendered)?d.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var d=e[p],f=d&&d.shouldBePainted(n,i,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,d=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,u/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;r.Qq(e)?(u=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a):r.dL(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.RZ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(f,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.S6(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.Z),f=n(9909),g=n(4647),y=function(){function t(t,e,n,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=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t,t.style&&(r.$j(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new d(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var f,g,y,v=this._domRoot=(f=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+g+"px","padding:0","margin:0","border-width:0"].join(";")+";",y);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),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?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,n=t.length,i=this._hoverlayer;if(i&&i.clear(),n){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,l.Dm)(e,a,r,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,f.Z)(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,p=this,d=0;d<o.length;d++)!function(r){var s,l=o[r],u=l.ctx,d=a&&l.createRepaintRects(t,e,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(f===l.__startIndex){var m=t[f];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(d){if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,S=0;S<d.length;++S){var w=d[S];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(d);return g.Z.wxa&&r.S6(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.TS(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)){if(r>0&&t>i[0]){for(s=0;s<r-1&&(!(i[s]<t)||!(i[s+1]>t));s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual){if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom)}e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(i=0;i<t.length;i++){var a=t[i],u=a.zlevel,c=void 0;n!==u&&(n=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&h.YV&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),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,r.S6(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[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];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].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 d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.Dm)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},8911:function(t,e,n){n.d(e,{Z:()=>h});var i=n(9988),r=n(2517),o=n(814),a=n(896),s=n(3845),l=r.NM,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.lb(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:l(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=l(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:l(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,u=[],h=(o.value-a.value)/t;s<t-1;){var c=l(a.value+(s+1)*h);c>i[0]&&c<i[1]&&u.push(c),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=l(t.value,n,!0);return o.OD(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=s.Qf(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]){if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1}isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=l(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.Z);a.Z.registerClass(u);let h=u},896:function(t,e,n){n.d(e,{Z:()=>o});var i=n(1382),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.au(r);let o=r},3845:function(t,e,n){n.d(e,{Fv:()=>h,Qf:()=>o,XS:()=>u,bA:()=>c,lM:()=>r,lb:()=>s,r1:()=>a});var i=n(2517);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o,a,u={},h=t[1]-t[0],c=u.interval=(0,i.kx)(h/e,!0);null!=n&&c<n&&(c=u.interval=n),null!=r&&c>r&&(c=u.interval=r);var p=u.intervalPrecision=s(c);return o=u.niceTickExtent=[(0,i.NM)(Math.ceil(t[0]/c)*c,p),(0,i.NM)(Math.floor(t[1]/c)*c,p)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,i.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.NM)(n*e)}function s(t){return(0,i.p8)(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function c(t,e){return t*(e[1]-e[0])+e[0]}},1382:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>g,dm:()=>u,pw:()=>h,u9:()=>s});var i=n(9988),r=n(7975),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.mf(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.XW(n,this)),r.l7(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=f,n.superClass=o,n}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.S6(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},4587:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var i=n(7975),r=n(1382),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.u9)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],i.S6(s,function(t){var r,o,a,h=n(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],i.S6(r,function(t){i.cq(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),i.S6(c,function(e){0>i.cq(h.predecessor,e)&&h.predecessor.push(e);var r=n(l,e);0>i.cq(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,d={};for(i.S6(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=c[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.S6(g.successor,y?m:v)}i.S6(d,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},6151:function(t,e,n){n.d(e,{I:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=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 n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[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}(),a=n(6147),s=n(7975),l=n(2517),u=n(5965),h=n(6398),c=n(9906),p=new o,d=new a.ZP(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.kJ)(_)&&!(0,s.HD)(_)&&!(0,s.hj)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var S=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.hj)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.hj)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.hj)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.UI)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.UI)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),b=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.HD)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.HD)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.HD)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),M=(e=S,(0,s.UI)(e,function(t){return y(t)})),T=y(w),D=!r&&c.qW.createCanvas(),C=r&&{tag:"g",attrs:{},key:"dcl",children:[]},k=function(){for(var t=1,e=0,n=M.length;e<n;++e)t=(0,l.nl)(t,M[e]);for(var i=1,e=0,n=b.length;e<n;++e)i=(0,l.nl)(i,b[e].length);t*=i;var r=T*M.length*b.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();D&&(D.width=k.width*n,D.height=k.height*n,p=D.getContext("2d")),function(){p&&(p.clearRect(0,0,D.width,D.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,D.width,D.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-T,s=0,l=0,c=0;o<k.height;){if(s%2==0){for(var d=l/2%b.length,f=0,g=0,y=0;f<2*k.width;){for(var v=0,e=0;e<S[c].length;++e)v+=S[c][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+S[c][g]*m,x=o+w[s]*m,M=S[c][g]*a.symbolSize,I=w[s]*a.symbolSize,A=y/2%b[d].length;(function(t,e,o,s,l){var c=r?1:n,d=(0,u.th)(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&C.children.push(f)}else(0,h.RV)(p,d)})(_,x,M,I,b[d][A])}f+=S[c][g],++y,++g===S[c].length&&(g=0)}++c===S.length&&(c=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,D||C),t.image=D,t.svgElement=C,t.svgWidth=k.width,t.svgHeight=k.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},6501:function(t,e,n){n.d(e,{o:()=>i});function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}},814:function(t,e,n){n.d(e,{A0:()=>f,Lz:()=>g,MI:()=>y,MY:()=>u,OD:()=>s,kF:()=>d,uX:()=>h,zW:()=>l});var i=n(7975),r=n(9708),o=n(2517),a=n(926);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=i.MY;function h(t,e,n){function r(t){return t&&i.fy(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o.sG)(t):t;if(!isNaN(+c))return(0,a.WU)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.cd(t)?r(t):i.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):i.cd(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var d=e[u][a[h]];t=t.replace(p(c[h],u),n?(0,r.F1)(d):d)}return t}function f(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function y(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},7810:function(t,e,n){n.r(e),n.d(e,{Polyline:()=>Y.Z,lineLineIntersect:()=>tO,resizePath:()=>tw,setTooltipConfig:()=>tR,subPixelOptimizeLine:()=>tb,extendPath:()=>tg,Text:()=>B.ZP,Rect:()=>q.Z,Ellipse:()=>W,linePolygonIntersect:()=>tZ,isElementRemoved:()=>tu.eq,Polygon:()=>X.Z,Ring:()=>U,RadialGradient:()=>tt,Sector:()=>H.C,getShapeClass:()=>tv,registerShape:()=>ty,makePath:()=>tm,subPixelOptimizeRect:()=>tM,transformDirection:()=>tk,Group:()=>z.Z,mergePath:()=>tS,Line:()=>K.Z,removeElementWithFadeOut:()=>tu.XD,removeElement:()=>tu.bX,subPixelOptimize:()=>tT,updateProps:()=>tu.D,makeImage:()=>t_,Path:()=>p.ZP,createIcon:()=>tL,Arc:()=>J.Z,Image:()=>R.ZP,initProps:()=>tu.KZ,traverseElements:()=>tB,extendShape:()=>td,groupTransition:()=>tI,OrientedBoundingRect:()=>tn.Z,applyTransform:()=>tC,getTransform:()=>tD,clipPointsByRect:()=>tA,LinearGradient:()=>$.Z,IncrementalDisplayable:()=>ta,Circle:()=>N.Z,BezierCurve:()=>j.Z,CompoundPath:()=>Q,clipRectByRect:()=>tP,Point:()=>ti.Z,BoundingRect:()=>te.Z});var i,r,o,a,s,l,u,h,c=n(9362),p=n(8588),d=n(3564),f=n(7605),g=d.Z.CMD,y=[[],[],[]],v=Math.sqrt,m=Math.atan2,_=n(7975),x=Math.sqrt,S=Math.sin,w=Math.cos,b=Math.PI;function M(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function T(t,e){return(t[0]*e[0]+t[1]*e[1])/(M(t)*M(e))}function D(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(T(t,e))}function C(t,e,n,i,r,o,a,s,l,u,h){var c=b/180*l,p=w(c)*(t-n)/2+S(c)*(e-i)/2,d=-1*S(c)*(t-n)/2+w(c)*(e-i)/2,f=p*p/(a*a)+d*d/(s*s);f>1&&(a*=x(f),s*=x(f));var g=(r===o?-1:1)*x((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=-(g*s)*p/a,m=(t+n)/2+w(c)*y-S(c)*v,_=(e+i)/2+S(c)*y+w(c)*v,M=D([1,0],[(p-y)/a,(d-v)/s]),C=[(p-y)/a,(d-v)/s],k=[(-1*p-y)/a,(-1*d-v)/s],I=D(C,k);if(-1>=T(C,k)&&(I=b),T(C,k)>=1&&(I=0),I<0){var A=Math.round(I/b*1e6)/1e6;I=2*b+A%2*b}h.addData(u,m,_,a,s,M,I,c,o)}var k=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,I=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,c.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(p.ZP);function P(t){return null!=t.setData}function L(t,e){var n=function(t){var e,n=new d.Z;if(!t)return n;var i=0,r=0,o=0,a=0,s=d.Z.CMD,l=t.match(k);if(!l)return n;for(var u=0;u<l.length;u++){for(var h=l[u],c=h.charAt(0),p=void 0,f=h.match(I)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,_=void 0,x=void 0,S=void 0,w=void 0,b=void 0,M=void 0,T=i,D=r,A=void 0,P=void 0;switch(c){case"l":i+=f[v++],r+=f[v++],p=s.L,n.addData(p,i,r);break;case"L":i=f[v++],r=f[v++],p=s.L,n.addData(p,i,r);break;case"m":i+=f[v++],r+=f[v++],p=s.M,n.addData(p,i,r),o=i,a=r,c="l";break;case"M":i=f[v++],r=f[v++],p=s.M,n.addData(p,i,r),o=i,a=r,c="L";break;case"h":i+=f[v++],p=s.L,n.addData(p,i,r);break;case"H":i=f[v++],p=s.L,n.addData(p,i,r);break;case"v":r+=f[v++],p=s.L,n.addData(p,i,r);break;case"V":r=f[v++],p=s.L,n.addData(p,i,r);break;case"C":p=s.C,n.addData(p,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":p=s.C,n.addData(p,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,_=r,A=n.len(),P=n.data,e===s.C&&(m+=i-P[A-4],_+=r-P[A-3]),p=s.C,T=f[v++],D=f[v++],i=f[v++],r=f[v++],n.addData(p,m,_,T,D,i,r);break;case"s":m=i,_=r,A=n.len(),P=n.data,e===s.C&&(m+=i-P[A-4],_+=r-P[A-3]),p=s.C,T=i+f[v++],D=r+f[v++],i+=f[v++],r+=f[v++],n.addData(p,m,_,T,D,i,r);break;case"Q":T=f[v++],D=f[v++],i=f[v++],r=f[v++],p=s.Q,n.addData(p,T,D,i,r);break;case"q":T=f[v++]+i,D=f[v++]+r,i+=f[v++],r+=f[v++],p=s.Q,n.addData(p,T,D,i,r);break;case"T":m=i,_=r,A=n.len(),P=n.data,e===s.Q&&(m+=i-P[A-4],_+=r-P[A-3]),i=f[v++],r=f[v++],p=s.Q,n.addData(p,m,_,i,r);break;case"t":m=i,_=r,A=n.len(),P=n.data,e===s.Q&&(m+=i-P[A-4],_+=r-P[A-3]),i+=f[v++],r+=f[v++],p=s.Q,n.addData(p,m,_,i,r);break;case"A":x=f[v++],S=f[v++],w=f[v++],b=f[v++],M=f[v++],T=i,D=r,i=f[v++],C(T,D,i,r=f[v++],b,M,x,S,w,p=s.A,n);break;case"a":x=f[v++],S=f[v++],w=f[v++],b=f[v++],M=f[v++],T=i,D=r,i+=f[v++],C(T,D,i,r+=f[v++],b,M,x,S,w,p=s.A,n)}}("z"===c||"Z"===c)&&(p=s.Z,n.addData(p),i=o,r=a),e=p}return n.toStatic(),n}(t),i=(0,_.l7)({},e);return i.buildPath=function(t){if(P(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){(function(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),h=g.M,c=g.C,p=g.L,d=g.R,_=g.A,x=g.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case h:case p:i=1;break;case c:i=3;break;case x:i=2;break;case _:var S=e[4],w=e[5],b=v(e[0]*e[0]+e[1]*e[1]),M=v(e[2]*e[2]+e[3]*e[3]),T=m(-e[1]/M,e[0]/b);l[r]*=b,l[r++]+=S,l[r]*=M,l[r++]+=w,l[r++]*=b,l[r++]*=M,l[r++]+=T,l[r++]+=T,r+=2,o=r;break;case d:s[0]=l[r++],s[1]=l[r++],(0,f.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],(0,f.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var D=y[a];D[0]=l[r++],D[1]=l[r++],(0,f.Ne)(D,D,e),l[o++]=D[0],l[o++]=D[1]}}t.increaseVersion()}})(n,t),this.dirtyShape()},i}var Z=n(9634),O=n(4066),R=n(3287),z=n(7293),B=n(4639),N=n(7266),E=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},F=function(t){function e(e){return t.call(this,e)||this}return(0,c.ZT)(e,t),e.prototype.getDefaultShape=function(){return new E},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(p.ZP);F.prototype.type="ellipse";let W=F;var H=n(3511),V=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},G=function(t){function e(e){return t.call(this,e)||this}return(0,c.ZT)(e,t),e.prototype.getDefaultShape=function(){return new V},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(p.ZP);G.prototype.type="ring";let U=G;var X=n(4484),Y=n(1099),q=n(1969),K=n(2859),j=n(121),J=n(222);let Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,c.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[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),p.ZP.prototype.getBoundingRect.call(this)},e}(p.ZP);var $=n(4235);let tt=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,c.ZT)(e,t),e}(n(4196).Z);var te=n(9495),tn=n(8291),ti=n(1145),tr=n(2097),to=[];let ta=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(0,c.ZT)(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 n=0;n<t.length;n++)this.addDisplayable(t[n],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(var 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++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new te.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(to)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(tr.ZP);var ts=n(4958),tl=n(428),tu=n(9858),th=Math.max,tc=Math.min,tp={};function td(t){return p.ZP.extend(t)}var tf=function(t,e){var n=L(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return(0,c.ZT)(e,t),e}(A)};function tg(t,e){return tf(t,e)}function ty(t,e){tp[t]=e}function tv(t){if(tp.hasOwnProperty(t))return tp[t]}function tm(t,e,n,i){var r=new A(L(t,e));return n&&("center"===i&&(n=tx(n,r.getBoundingRect())),tw(r,n)),r}function t_(t,e,n){var i=new R.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(tx(e,r))}}});return i}function tx(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var tS=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new p.ZP(e);return a.createPathProxy(),a.buildPath=function(t){if(P(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function tw(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tb(t,e){return ts._3(t,t,{lineWidth:e}),t}function tM(t){return ts.Pw(t.shape,t.shape,t.style),t}var tT=ts.vu;function tD(t,e){for(var n=Z.yR([]);t&&t!==e;)Z.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function tC(t,e,n){return e&&!(0,_.zG)(e)&&(e=O.ZP.getLocalTransform(e)),n&&(e=Z.U_([],e)),f.Ne([],t,e)}function tk(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return Math.abs((o=tC(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tI(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,tu.D)(t,i,n,(0,tl.A)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,_.l7)({},t.shape)),e}}function tA(t,e){return(0,_.UI)(t,function(t){var n=t[0];n=tc(n=th(n,e.x),e.x+e.width);var i=t[1];return[n,i=tc(i=th(i,e.y),e.y+e.height)]})}function tP(t,e){var n=th(t.x,e.x),i=tc(t.x+t.width,e.x+e.width),r=th(t.y,e.y),o=tc(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function tL(t,e,n){var i=(0,_.l7)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,_.ce)(r,n),new R.ZP(i)):tm(t.replace("path://",""),i,n,"center")}function tZ(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(tO(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function tO(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=c*h-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*h-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-c*g)/d;return!(v<0)&&!(v>1)}function tR(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,_.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,_.S6)((0,_.XP)(l),function(t){(0,_.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,tl.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,_.ce)({content:i,formatterParams:s},r)}}function tz(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tB(t,e){if(t){if((0,_.kJ)(t))for(var n=0;n<t.length;n++)tz(t[n],e);else tz(t,e)}}i=N.Z,tp.circle=i,tp.ellipse=W,r=H.C,tp.sector=r,tp.ring=U,o=X.Z,tp.polygon=o,a=Y.Z,tp.polyline=a,s=q.Z,tp.rect=s,l=K.Z,tp.line=l,u=j.Z,tp.bezierCurve=u,h=J.Z,tp.arc=h},428:function(t,e,n){n.d(e,{A:()=>i,Q:()=>r});var i=(0,n(6571).Yf)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},651:function(t,e,n){n.d(e,{BZ:()=>c,ME:()=>p,YD:()=>f,dt:()=>g,p$:()=>d,tE:()=>y});var i=n(7975),r=n(9495),o=n(2517),a=n(814),s=i.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}!l.newline&&(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)})}var c=h;function p(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),p=(0,o.GM)(t.width,i),d=(0,o.GM)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-h-g-l),isNaN(d)&&(d=s-c-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-h-p-g),isNaN(u)&&(u=s-c-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(h||0)),isNaN(d)&&(d=s-f-u-(c||0));var v=new r.Z(l+n[3],u+n[0],p,d);return v.margin=n,v}function d(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],h=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!h)return!1;if("raw"===c)l="group"===t.type?new r.Z(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(l=l.clone()).applyTransform(d)}var f=p(i.ce({width:l.width,height:l.height},e),n,o),g=u?f.x-l.x:0,y=h?f.y-l.y:0;return"raw"===c?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function f(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function g(t,e,n){var r=n&&n.ignoreSize;i.kJ(r)||(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++}),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,function(t){e[t]=n[t]})}p(u[0],t,o),p(u[1],t,a)}function y(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}i.WA(h,"vertical"),i.WA(h,"horizontal")},2159:function(t,e,n){function i(t){}function r(t){throw Error(t)}n.d(e,{Sh:()=>i,_y:()=>r})},6571:function(t,e,n){n.d(e,{C4:()=>c,C6:()=>C,Cc:()=>u,Co:()=>p,HZ:()=>I,IL:()=>P,O0:()=>x,P$:()=>A,Td:()=>h,U5:()=>y,U9:()=>L,XI:()=>S,Yf:()=>b,ab:()=>d,g0:()=>_,gO:()=>w,iP:()=>k,kF:()=>l,lY:()=>m,pk:()=>Z,pm:()=>T,yu:()=>v,zH:()=>D});var i=n(7975),r=n(4647),o=n(2517),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function c(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function p(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function d(t,e,n){var r,o,s,l,u,h,c,p,d,y,v,_,x,S="normalMerge"===n,w="replaceMerge"===n,b="replaceAll"===n;t=t||[],e=(e||[]).slice();var M=(0,i.kW)();(0,i.S6)(e,function(t,n){if(!(0,i.Kn)(t)){e[n]=null;return}});var T=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||m(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,M,n);return(S||w)&&(r=T,o=t,s=M,l=e,(0,i.S6)(l,function(t,e){if(t&&null!=t.id){var n=g(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.hu)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),S&&(u=T,h=e,(0,i.S6)(h,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var i=u[n].existing;if(!u[n].newOption&&i&&(null==i.id||null==t.id)&&!m(t)&&!m(i)&&f("name",i,t)){u[n].newOption=t,h[e]=null;return}}})),S||w?(c=T,p=e,d=w,(0,i.S6)(p,function(t){if(t){for(var e,n=0;(e=c[n])&&(e.newOption||m(e.existing)||e.existing&&null!=t.id&&!f("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=d):c.push({newOption:t,brandNew:d,existing:null,keyInfo:null}),n++}})):b&&(y=T,v=e,(0,i.S6)(v,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=T,x=(0,i.kW)(),(0,i.S6)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.S6)(_,function(t){var e=t.newOption;(0,i.hu)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.S6)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.Kn)(r)){if(o.name=null!=r.name?g(r.name):n?n.name:a+e,n)o.id=g(n.id);else if(null!=r.id)o.id=g(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),T}function f(t,e,n){var i=y(e[t],null),r=y(n[t],null);return null!=i&&null!=r&&i===r}function g(t){return y(t,"")}function y(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function v(t){var e=t.name;return!!(e&&e.indexOf(a))}function m(t){return t&&null!=t.id&&0===g(t.id).indexOf(s)}function _(t){return s+t}function x(t,e,n){(0,i.S6)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.Kn)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function S(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=y(t[i].seriesId,null);if(null==o)return;for(var a=l(t[i].dataIndex),s=n&&n[o],u=0,h=a.length;u<h;u++){var c=a[u];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i]){if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}}return n}}function w(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function b(){var t="__ec_inner_"+M++;return function(e){return e[t]||(e[t]={})}}var M=(0,o.jj)();function T(t,e,n){var i=D(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=I(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function D(t,e){if((0,i.HD)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!(!l||!u||e&&e.includeMainTypes&&0>(0,i.cq)(e.includeMainTypes,l))&&(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var C={useDefault:!0,enableAll:!1,enableNone:!1},k={useDefault:!1,enableAll:!0,enableNone:!0};function I(t,e,n,r){r=r||C;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function A(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function P(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function L(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function Z(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return a<1?n:r;for(var h=[],c=Math.max(n?n.length:0,r.length),p=0;p<c;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)h[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;h[p]=(0,o.NM)(u,s?Math.max((0,o.p8)(f),(0,o.p8)(g)):e)}}return h}},2517:function(t,e,n){n.d(e,{FK:()=>x,GM:()=>o,HD:()=>h,M9:()=>u,NM:()=>a,NU:()=>r,S$:()=>c,Xd:()=>y,dt:()=>s,jj:()=>w,kE:()=>S,kx:()=>m,mW:()=>d,nR:()=>_,nl:()=>b,p8:()=>l,sG:()=>g,wW:()=>p,xW:()=>v});var i=n(7975);function r(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return i.HD(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,n,i,r,o,a=1,s=0;s<15;s++,a*=10)if(Math.round(t*a)/a===t)return s}return i=(n=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(n+1):0,r=n>0?n:e.length,Math.max(0,((o=e.indexOf("."))<0?0:r-1-o)-i)}function u(t,e){var n=Math.log,i=Math.LN10,r=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/i)+Math.round(n(Math.abs(e[1]-e[0]))/i),0),20);return isFinite(r)?r:20}function h(t,e){var n=i.u4(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var r=Math.pow(10,e),o=i.UI(t,function(t){return(isNaN(t)?0:t)/n*r*100}),a=100*r,s=i.UI(o,function(t){return Math.floor(t)}),l=i.u4(s,function(t,e){return t+e},0),u=i.UI(o,function(t,e){return t-s[e]});l<a;){for(var h=Number.NEGATIVE_INFINITY,c=null,p=0,d=u.length;p<d;++p)u[p]>h&&(h=u[p],c=p);++s[c],u[c]=0,++l}return i.UI(s,function(t){return t/r})}function c(t,e){var n=Math.max(l(t),l(e)),i=t+e;return n>20?i:a(i,n)}function p(t){var e=2*Math.PI;return(t%e+e)%e}function d(t){return t>-1e-4&&t<1e-4}var f=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function g(t){if(t instanceof Date)return t;if(i.HD(t)){var e=f.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function y(t){return Math.pow(10,v(t))}function v(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function m(t,e){var n,i=v(t),r=Math.pow(10,i),o=t/r;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,i>=-20?+t.toFixed(i<0?-i:0):t}function _(t){t.sort(function(t,e){return!function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t}function x(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||0>=t.indexOf("x"))?e:NaN}function S(t){return!isNaN(x(t))}function w(){return Math.round(9*Math.random())}function b(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},8306:function(t,e,n){n.d(e,{$l:()=>Y,Av:()=>tr,C5:()=>J,CX:()=>p,Gl:()=>A,Hg:()=>m,JQ:()=>_,Ki:()=>y,L1:()=>f,MA:()=>L,Mh:()=>z,Nj:()=>ti,RW:()=>to,SJ:()=>F,SX:()=>B,T5:()=>H,UL:()=>U,VP:()=>N,WO:()=>tn,XX:()=>E,aG:()=>ta,ci:()=>j,e9:()=>tl,fD:()=>R,iK:()=>x,k5:()=>$,oJ:()=>X,og:()=>K,qc:()=>g,vF:()=>Q,wU:()=>d,xp:()=>ts,xr:()=>q,yx:()=>v,zI:()=>G});var i=n(7975),r=n(428),o=n(4411),a=n(6571),s=n(8588),l=1,u={},h=(0,a.Yf)(),c=(0,a.Yf)(),p=1,d=2,f=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",v="downplay",m="select",_="unselect",x="toggleSelect";function S(t){return null!=t&&"none"!==t}function w(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function b(t){w(t,"emphasis",d)}function M(t){t.hoverState===d&&w(t,"normal",0)}function T(t){w(t,"blur",p)}function D(t){t.hoverState===p&&w(t,"normal",0)}function C(t){t.selected=!0}function k(t){t.selected=!1}function I(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function A(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=h(t),c=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(S(c)||S(p)){var d=(r=r||{}).style||{};"inherit"===d.fill?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=c):!S(d.fill)&&S(c)?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=(0,o.fD)(c)):!S(d.stroke)&&S(p)&&(l||(r=(0,i.l7)({},r),d=(0,i.l7)({},d)),d.stroke=(0,o.fD)(p)),r.style=d}}if(r&&null==r.z2){l||(r=(0,i.l7)({},r));var f=t.z2EmphasisLift;r.z2=t.z2+(null!=f?f:10)}return r}(this,0,e,c);if("blur"===t)return n=c,r=(0,i.cq)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.l7)({},n),u=(0,i.l7)({opacity:r?a:.1*l.opacity},u),n.style=u),n;if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=(0,i.l7)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:9)}return n}(this,0,c)}return c}function L(t){t.stateProxy=P;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=P),n&&(n.stateProxy=P)}function Z(t,e){W(t,e)||t.__highByOuter||I(t,b)}function O(t,e){W(t,e)||t.__highByOuter||I(t,M)}function R(t,e){t.__highByOuter|=1<<(e||0),I(t,b)}function z(t,e){(t.__highByOuter&=~(1<<(e||0)))||I(t,M)}function B(t){I(t,T)}function N(t){I(t,D)}function E(t){I(t,C)}function F(t){I(t,k)}function W(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function H(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){D(t)}),a&&n.push(i)),o.isBlured=!1}),(0,i.S6)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function V(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&N(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){(!t.__highByOuter||!o||"self"!==e)&&T(t)}),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function G(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,i.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.A)(u);V(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&V(o,d,f,n)}}}function X(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.A)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Y(t,e,n){var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&G(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,function(t){return Z(t,e)})):(V(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&G(o.componentMainType,o.componentIndex,n),Z(t,e))}function q(t,e,n){H(n);var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,function(t){return O(t,e)}):O(t,e)}function K(t,e,n){if(ta(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===m?"select":"unselect"](s,r)}}function j(t){var e=t.getAllData();(0,i.S6)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?E(e):F(e)})})}function J(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.S6)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function Q(t,e,n){var i,o,a,s;ti(t,!0),I(t,L),i=t,o=e,a=n,s=(0,r.A)(i),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function $(t,e,n,i){i?ti(t,!1):Q(t,e,n)}var tt=["emphasis","blur","select"],te={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tn(t,e,n,i){n=n||"itemStyle";for(var r=0;r<tt.length;r++){var o=tt[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[te[n]]()}}function ti(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function tr(t){return!!(t&&t.__highDownDispatcher)}function to(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ta(t){var e=t.type;return e===m||e===_||e===x}function ts(t){var e=t.type;return e===y||e===v}function tl(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},5965:function(t,e,n){n.d(e,{Cq:()=>b,Pw:()=>m,th:()=>S,zp:()=>w});var i=n(7975),r=n(8588),o=n(2859),a=n(1969),s=n(7266),l=n(7810),u=n(9495),h=n(2666),c=n(2517),p=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),d=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),f=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),y={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:d,pin:f,arrow:g,triangle:p},v={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(y,function(t,e){m[e]=new t});var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(r=m[i="rect"]),v[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function S(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function w(t){return(0,i.kJ)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function b(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},9774:function(t,e,n){n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=new Date().getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(h),f?h=setTimeout(c,d):r>=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},926:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>D,En:()=>R,FW:()=>y,MV:()=>A,P5:()=>c,RZ:()=>P,Tj:()=>m,V8:()=>f,WT:()=>s,WU:()=>S,Wp:()=>k,cb:()=>N,dV:()=>u,eN:()=>z,f5:()=>O,fn:()=>I,k7:()=>w,q5:()=>M,rM:()=>B,s2:()=>h,sx:()=>T,vh:()=>Z,xC:()=>x,xL:()=>L,xz:()=>C,yR:()=>l});var i=n(7975),r=n(2517),o=n(3404),a=n(6505),s=1e3,l=6e4,u=36e5,h=864e5,c=31536e6,p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},d="{yyyy}-{MM}-{dd}",f={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+p.hour,minute:d+" "+p.minute,second:d+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function S(t,e,n,i){var s=r.sG(t),l=s[T(n)](),u=s[D(n)]()+1,h=Math.floor((u-1)/3)+1,c=s[C(n)](),p=s["get"+(n?"UTC":"")+"Day"](),d=s[k(n)](),f=(d-1)%12+1,g=s[I(n)](),y=s[A(n)](),m=s[P(n)](),_=(i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)()).getModel("time"),x=_.get("month"),S=_.get("monthAbbr"),w=_.get("dayOfWeek"),b=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,S[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,w[p]).replace(/{ee}/g,b[p]).replace(/{e}/g,p+"").replace(/{HH}/g,v(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,v(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,n,r,o){var a=null;if(i.HD(n))a=n;else if(i.mf(n))a=n(t.value,e,{level:t.level});else{var s=i.l7({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:i.ce(n,s):s,h=b(t.value,o);if(u[h])a=u[h];else if(u.inherit){for(var c=y.indexOf(h),l=c-1;l>=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(i.kJ(a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return S(new Date(t.value),a,o,r)}function b(t,e){var n=r.sG(t),i=n[D(e)]()+1,o=n[C(e)](),a=n[k(e)](),s=n[I(e)](),l=n[A(e)](),u=0===n[P(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function M(t,e,n){var o=i.hj(t)?r.sG(t):t;switch(e=e||b(t,n)){case"year":return o[T(n)]();case"half-year":return+(o[D(n)]()>=6);case"quarter":return Math.floor((o[D(n)]()+1)/4);case"month":return o[D(n)]();case"day":return o[C(n)]();case"half-day":return o[k(n)]()/24;case"hour":return o[k(n)]();case"minute":return o[I(n)]();case"second":return o[A(n)]();case"millisecond":return o[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function D(t){return t?"getUTCMonth":"getMonth"}function C(t){return t?"getUTCDate":"getDate"}function k(t){return t?"getUTCHours":"getHours"}function I(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function Z(t){return t?"setUTCMonth":"setMonth"}function O(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function z(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},9484:function(t,e,n){n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>c,XD:()=>o,cy:()=>r,f7:()=>i,fY:()=>h,hL:()=>s,qb:()=>a});var i=(0,n(7975).kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},8845:function(t,e,n){n.d(e,{o:()=>a});var i=n(7975),r="undefined"!=typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,i.kJ)(t)?r?new Float32Array(t):t:new o(t)}},8050:function(t,e,n){n.d(e,{Z:()=>x});var i=n(7975),r=n(7293),o=n(4587),a=n(1382),s=n(6571),l=n(8306),u=n(5926),h=n(3149),c=n(7810),p=s.Yf(),d=(0,h.Z)(),f=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function y(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.dm(f,["dispose"]),a.au(f);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let x=f},4292:function(t,e,n){n.d(e,{Z:()=>s});var i=n(7293),r=n(4587),o=n(1382),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a);let s=a},3928:function(t,e,n){function i(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function r(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function o(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}n.d(e,{LZ:()=>o,Or:()=>i,UL:()=>r})},5062:function(t,e,n){n.d(e,{Z:()=>x});var i=n(4066),r=n(8026),o=n(9495),a=n(7654),s=n(2666),l=n(7975),u=n(9417),h=n(4411),c=n(2168),p="__zr_normal__",d=i.dN.concat(["ignore"]),f=(0,l.u4)(i.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(0,0,0,0),v=function(){function t(t){this.id=(0,l.M8)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){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 n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,l=!1;r.parent=i?this:null;var u=!1;if(r.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),i||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.wI)(g,n,y),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var p=void 0,d=void 0;"center"===h?(p=.5*y.width,d=.5*y.height):(p=(0,s.GM)(h[0],y.width),d=(0,s.GM)(h[1],y.height)),u=!0,r.originX=-r.x+p+(i?0:y.x),r.originY=-r.y+d+(i?0:y.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],u||(r.originX=-f[0],r.originY=-f[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,S=void 0;v&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),S=!0)):(_=n.outsideFill,x=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),S=!0)),((_=_||"#000")!==m.fill||x!==m.stroke||S!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=x,m.autoStroke=S,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.YV,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,h.Qc)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+255*!r*(1-i);return n[3]=1,(0,h.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.Kn)(t))for(var n=(0,l.XP)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===p)){var o=i.targetName,a=o?e[o]:e;i.saveTo(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,d)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},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(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o){(0,l.H)("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,u),d&&d.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),r}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],p=!!(h&&h.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.cq)(i,t),o=(0,l.cq)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!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,n={},i=0;i<t.length;i++){var r=t[i];(0,l.l7)(n,r),r.textConfig&&(e=e||{},(0,l.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.l7)({},i?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<d.length;h++){var c=d[h],p=r&&f[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(p?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(var h=0;h<this.animators.length;h++){var g=this.animators[h],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){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;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=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|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.cq)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,h){for(var c=(0,l.XP)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.Kn)(s),v=e.animators,m=[],x=0;x<c.length;x++){var S=c[x],w=o[S];if(null!=w&&null!=i[S]&&(y||s[S])){if(!(0,l.Kn)(w)||(0,l.zG)(w)||(0,l.Qq)(w))m.push(S);else{if(n){h||(i[S]=w,e.updateDuringAnimation(n));continue}t(e,S,i[S],w,a,s&&s[S],u,h)}}else h||(i[S]=w,e.updateDuringAnimation(n),m.push(S))}var b=m.length;if(!f&&b)for(var M=0;M<v.length;M++){var T=v[M];if(T.targetName===n&&T.stopTracks(m)){var D=(0,l.cq)(v,T);v.splice(D,1)}}if(a.force||(b=(m=(0,l.hX)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.zG)(e)&&(0,l.zG)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),b>0||a.force&&!u.length){var C=void 0,k=void 0,I=void 0;if(h){k={},g&&(C={});for(var M=0;M<b;M++){var S=m[M];k[S]=i[S],g?C[S]=o[S]:i[S]=o[S]}}else if(g){I={};for(var M=0;M<b;M++){var S=m[M];I[S]=(0,r.V)(i[S]),function(t,e,n){if((0,l.zG)(e[n])){if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.zG)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}}else t[n]=e[n]}(i,o,S)}}var T=new r.Z(i,!1,!1,f?(0,l.hX)(v,function(t){return t.targetName===n}):null);T.targetName=n,a.scope&&(T.scope=a.scope),g&&C&&T.whenWithKeys(0,C,m),I&&T.whenWithKeys(0,I,m),T.whenWithKeys(null==p?500:p,h?k:o,m).delay(d||0),e.addAnimator(T,n),u.push(T)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,h=n.done,c=n.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},d=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}(0,l.jB)(v,a.Z),(0,l.jB)(v,i.ZP);let x=v},8026:function(t,e,n){n.d(e,{V:()=>g,Z:()=>S});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*(-Math.pow(2,-10*(t-1))+2)},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,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+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}},r=n(7975),o=n(9101),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),i=+(0,r.fy)(n[0]),s=+(0,r.fy)(n[1]),l=+(0,r.fy)(n[2]),u=+(0,r.fy)(n[3]);if(isNaN(i+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,i,l,1,t,h)&&(0,o.af)(0,s,u,1,h[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||r.ZT,this.ondestroy=t.ondestroy||r.ZT,this.onrestart=t.onrestart||r.ZT,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;this._startTime=t-i%n,this._pausedTime=0,this.onrestart()}return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.mf)(t)?t:i[t]||s(t)},t}(),u=n(4411),h=n(4647);h.Z.hasGlobalWindow&&(0,r.mf)(window.btoa);var c=Array.prototype.slice;function p(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function d(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function f(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function g(t){if((0,r.zG)(t)){var e=t.length;if((0,r.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(c.call(t[i]));return n}return c.call(t)}return t}function y(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function v(t){return 4===t||5===t}function m(t){return 1===t||2===t}var _=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=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.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,h=6,c=e;if((0,r.zG)(e)){var p=(0,r.zG)(e&&e[0])?2:1;h=p,(1!==p||(0,r.hj)(e[0]))&&(2!==p||(0,r.hj)(e[0][0]))||(l=!0)}else if((0,r.hj)(e)&&!(0,r.Bu)(e))h=0;else if((0,r.HD)(e)){if(isNaN(+e)){var d=u.Qc(e);d&&(c=d,h=3)}else h=0}else if((0,r.Qq)(e)){var f=(0,r.l7)({},c);(f.colorStops=(0,r.UI)(e.colorStops,function(t){return{offset:t.offset,color:u.Qc(t.color)}}),"linear"===e.type)?h=4:"radial"===e.type&&(h=5),c=f}0===a?this.valType=h:(h!==this.valType||6===h)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:c,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,r.mf)(n)?n:i[n]||s(n)),o.push(g),g},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=m(i),l=v(i),u=0;u<r;u++){var h=n[u],p=h.value,g=o.value;h.percent=h.time/t,!a&&(s&&u!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r){if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:c.call(e[o]))}for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(p,g,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(p.colorStops,g.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-y:3===i?n[u].additiveValue=d([],n[u].value,y,-1):m(i)&&(n[u].additiveValue=1===i?d([],n[u].value,y,-1):f([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,d=3===l,f=this._lastFr,g=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(f+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,h-2)}else{for(n=f;n<h&&!(u[n].percent>e);n++);n=g(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,S=0===x?1:g((e-i.percent)/x,1);o.easingFunc&&(S=o.easingFunc(S));var w=a?this._additiveValue:d?_:t[c];if((m(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[c]=S<1?i.rawValue:o.rawValue;else if(m(l))1===l?p(w,i[s],o[s],S):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}return t}(w,i[s],o[s],S);else if(v(l)){var b,M,T,D,C,k=i[s],I=o[s],A=4===l;(t[c]={type:A?"linear":"radial",x:(b=k.x,(I.x-b)*S+b),y:(M=k.y,(I.y-M)*S+M),colorStops:(0,r.UI)(k.colorStops,function(t,e){var n,i=I.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*S+n),color:y(p([],t.color,i.color,S))}}),global:I.global},A)?(t[c].x2=(T=k.x2,(I.x2-T)*S+T),t[c].y2=(D=k.y2,(I.y2-D)*S+D)):t[c].r=(C=k.r,(I.r-C)*S+C)}else if(d)p(w,i[s],o[s],S),a||(t[c]=y(w));else{var P,L=(P=i[s],(o[s]-P)*S+P);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.Qc(t[n],_),d(_,_,i,1),t[n]=y(_)):1===e?d(t[n],t[n],i,1):2===e&&f(t[n],t[n],i,1)},t}();let S=function(){function t(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){(0,r.H)("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,r.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),i),this._trackKeys.push(a)}s.addKeyframe(t,g(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(i,s),a.needsAnimate()){if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}}if(n.length||this._force){var p=new l({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(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._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,r.UI)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=g(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},9909:function(t,e,n){n.d(e,{Z:()=>i});let i=n(4647).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},6398:function(t,e,n){n.d(e,{Dm:()=>I,RZ:()=>x,RV:()=>k});var i=n(2097),r=n(3564),o=n(1109),a=n(1687),s=n(8588),l=n(3287),u=n(7755),h=n(7975);function c(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,h.hj)(e)?[e]:(0,h.kJ)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=(0,h.UI)(r,function(t){return t/a}),o/=a)}return[r,o]}var p=n(2168),d=n(9906),f=new r.Z(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function b(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){D(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(D(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l<S.length;l++){var u=S[l];(r||e[u]!==n[u])&&(a||(D(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(D(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function M(t,e,n,i,r){var o=C(e,r.inHover),a=i?null:n&&C(n,r.inHover)||{};if(o===a)return!1;var s=b(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(D(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(D(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(D(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(D(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var h=w[u],c=h[0];(i||o[c]!==a[c])&&(s||(D(t,r),s=!0),t[c]=o[c]||h[1])}return s}function T(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function D(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 k(t,e){I(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function I(t,e,n,i){var r,h,y,S,w,k=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.YV,e.__isRendered=!1;return}var A=e.__clipPaths,P=n.prevElClipPaths,L=!1,Z=!1;if((!P||(0,a.cF)(A,P))&&(P&&P.length&&(D(t,n),t.restore(),Z=L=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),A&&A.length&&(D(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),T(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(A,t,n),L=!0),n.prevElClipPaths=A),n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var O=n.prevEl;O||(Z=L=!0);var R=e instanceof s.ZP&&e.autoBatch&&(h=v(r=e.style),y=g(r),!(r.lineDash||!(+h^+y)||h&&"string"!=typeof r.fill||y&&"string"!=typeof r.stroke||r.strokePercent<1||r.strokeOpacity<1||r.fillOpacity<1));!L&&(S=O.transform,k&&S?k[0]===S[0]&&k[1]===S[1]&&k[2]===S[2]&&k[3]===S[3]&&k[4]===S[4]&&k[5]===S[5]:k||S?0:1)?R||D(t,n):(D(t,n),T(t,e));var z=C(e,n.inHover);e instanceof s.ZP?(1!==n.lastDrawType&&(Z=!0,n.lastDrawType=1),M(t,e,O,Z,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o,s,l=g(n),u=v(n),h=n.strokePercent,d=h<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var S=e.path||f,w=e.__dirty;if(!i){var b=n.fill,M=n.stroke,T=u&&!!b.colorStops,D=l&&!!M.colorStops,C=u&&!!b.image,k=l&&!!M.image,I=void 0,A=void 0,P=void 0,L=void 0,Z=void 0;(T||D)&&(Z=e.getBoundingRect()),T&&(I=w?(0,a.ZF)(t,b,Z):e.__canvasFillGradient,e.__canvasFillGradient=I),D&&(A=w?(0,a.ZF)(t,M,Z):e.__canvasStrokeGradient,e.__canvasStrokeGradient=A),C&&(P=w||!e.__canvasFillPattern?x(t,b,e):e.__canvasFillPattern,e.__canvasFillPattern=P),k&&(L=w||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=I:C&&(P?t.fillStyle=P:u=!1),D?t.strokeStyle=A:k&&(L?t.strokeStyle=L:l=!1)}var O=e.getGlobalScale();S.setScale(O[0],O[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(r=c(e))[0],s=r[1]);var R=!0;(y||w&p.RH)&&(S.setDPR(t.dpr),d?S.setContext(null):(S.setContext(t),R=!1),S.reset(),e.buildPath(S,e.shape,i),S.toStatic(),e.pathUpdated()),R&&S.rebuildPath(t,d?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,z,R),R&&(n.batchFill=z.fill||"",n.batchStroke=z.stroke||"")):e instanceof u.Z?(3!==n.lastDrawType&&(Z=!0,n.lastDrawType=3),M(t,e,O,Z,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||d.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=c(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(r,n.x,n.y),v(n)&&t.fillText(r,n.x,n.y)):(v(n)&&t.fillText(r,n.x,n.y),g(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,z)):e instanceof l.ZP?(2!==n.lastDrawType&&(Z=!0,n.lastDrawType=2),w=Z,b(t,C(e,n.inHover),O&&C(O,n.inHover),w,n),function(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var h=n.sx,c=n.sy,p=s-h,d=l-c;t.drawImage(i,h,c,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,z)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(Z=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,i===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),R&&i&&D(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},1687:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){for(var r,o,a,s,l,u,h,c,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(h=h*n.width+n.x,c=c*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),h=i(h)?h:0,c=i(c)?c:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(h,p,c,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[i])||a(t.style[i]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{ZF:()=>r,ap:()=>s,cF:()=>o})},9417:function(t,e,n){n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var i=n(4647),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},2666:function(t,e,n){n.d(e,{Dp:()=>p,GM:()=>d,M3:()=>h,dz:()=>s,lP:()=>u,mU:()=>c,wI:()=>f});var i=n(9495),r=n(6147),o=n(9906),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function l(t,e,n,r){var o=s(t,e),a=p(e),l=h(0,o,n),u=c(0,a,r);return new i.Z(l,u,o,a)}function u(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,r);for(var a=new i.Z(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,r);0===s?a.copy(u):a.union(u)}return a}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("国",t)}function d(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function f(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=d(i[0],n.width),u+=d(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},9495:function(t,e,n){n.d(e,{Z:()=>d});var i=n(9634),r=n(1145),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,p=new r.Z;let d=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),n=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)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,n=t.height/this.height,r=i.Ue();return i.Iu(r,r,[-this.x,-this.y]),i.bA(r,r,[e,n]),i.Iu(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,h=e.y,d=e.y+e.height,f=!(o<l||u<i||s<h||d<a);if(n){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-i),_=Math.abs(s-h),x=Math.abs(d-a),S=Math.min(v,m),w=Math.min(_,x);o<l||u<i?S>y&&(y=S,v<m?r.Z.set(p,-v,0):r.Z.set(p,m,0)):S<g&&(g=S,v<m?r.Z.set(c,v,0):r.Z.set(c,-m,0)),s<h||d<a?w>y&&(y=w,_<x?r.Z.set(p,0,-_):r.Z.set(p,0,x)):S<g&&(g=S,_<x?r.Z.set(c,0,_):r.Z.set(c,0,-x))}return n&&r.Z.copy(n,f?c:p),f},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,n,i){if(!i){e!==n&&t.copy(e,n);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],p=i[4],d=i[5];e.x=n.x*r+p,e.y=n.y*c+d,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var f=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=f-e.x,e.height=g-e.y},t}()},7654:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[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 n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},6147:function(t,e,n){n.d(e,{ZP:()=>o});var i=function(t){this.value=t},r=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,n=t.next;e?e.next=n:this.head=n,n?n.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}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},8291:function(t,e,n){n.d(e,{Z:()=>l});var i=n(1145),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(var n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)>a.len()&&(p<d?i.Z.scale(a,c,-p*l):i.Z.scale(a,c,d*l))}else if(n){var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)<n.len()&&(p<d?i.Z.scale(n,c,p*l):i.Z.scale(n,c,-d*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},3564:function(t,e,n){n.d(e,{L:()=>R,Z:()=>z});var i=n(7605),r=n(9495),o=n(9417),a=n(9101),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,p=i.Ue(),d=i.Ue(),f=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],S=[],w=[],b=[],M=[],T=Math.min,D=Math.max,C=Math.cos,k=Math.sin,I=Math.abs,A=Math.PI,P=2*A,L="undefined"!=typeof Float32Array,Z=[];function O(t){return Math.round(t/A*1e8)/1e8%2*A}function R(t,e){var n=O(t[0]);n<0&&(n+=P);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=P?r=n+P:e&&n-r>=P?r=n-P:!e&&n>r?r=n+(P-O(n-r)):e&&n<r&&(r=n-(P-O(r-n))),t[0]=n,t[1]=r}let z=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=I(n/o.KL/t)||0,this._uy=I(n/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=I(t-this._xi),i=I(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(m.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(m.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(m.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Z[0]=i,Z[1]=r,R(Z,o),i=Z[0];var a=(r=Z[1])-i;return this.addData(m.A,t,e,n,n,i,a,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=C(r)*n+t,this._yi=k(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(m.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&L&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();L&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.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}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,L&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){S[0]=S[1]=b[0]=b[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var T=e[t++],D=1===t;switch(D&&(n=e[t],o=e[t+1],_=n,x=o),T){case m.M:n=_=e[t++],o=x=e[t++],b[0]=_,b[1]=x,M[0]=_,M[1]=x;break;case m.L:g(n,o,e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.C:(function(t,e,n,i,r,o,u,h,c,p){var d=a.pP,f=a.af,g=d(t,n,r,u,y);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=f(t,n,r,u,y[m]);c[0]=s(_,c[0]),p[0]=l(_,p[0])}g=d(e,i,o,h,v);for(var m=0;m<g;m++){var x=f(e,i,o,h,v[m]);c[1]=s(x,c[1]),p[1]=l(x,p[1])}c[0]=s(t,c[0]),p[0]=l(t,p[0]),c[0]=s(u,c[0]),p[0]=l(u,p[0]),c[1]=s(e,c[1]),p[1]=l(e,p[1]),c[1]=s(h,c[1]),p[1]=l(h,p[1])})(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.Q:(function(t,e,n,i,r,o,u,h){var c=a.QC,p=a.Zm,d=l(s(c(t,n,r),1),0),f=l(s(c(e,i,o),1),0),g=p(t,n,r,d),y=p(e,i,o,f);u[0]=s(t,r,g),u[1]=s(e,o,y),h[0]=l(t,r,g),h[1]=l(e,o,y)})(n,o,e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.A:var I=e[t++],A=e[t++],P=e[t++],L=e[t++],Z=e[t++],O=e[t++]+Z;t+=1;var R=!e[t++];D&&(_=C(Z)*P+I,x=k(Z)*L+A),function(t,e,n,r,o,a,s,l,g){var y=i.VV,v=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(p[0]=h(o)*n+t,p[1]=u(o)*r+e,d[0]=h(a)*n+t,d[1]=u(a)*r+e,y(l,p,d),v(g,p,d),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=h(x)*n+t,f[1]=u(x)*r+e,y(l,f,l),v(g,f,g))}(I,A,P,L,Z,O,R,b,M),n=C(O)*P+I,o=k(O)*L+A;break;case m.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],b,M);break;case m.Z:n=_,o=x}i.VV(S,S,b),i.Fp(w,w,M)}return 0===t&&(S[0]=S[1]=w[0]=w[1]=0),new r.Z(S[0],S[1],w[0]-S[0],w[1]-S[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(r=t[p],o=t[p+1],s=r,l=o);var g=-1;switch(d){case m.M:r=s=t[p++],o=l=t[p++];break;case m.L:var y=t[p++],v=t[p++],_=y-r,x=v-o;(I(_)>n||I(x)>i||p===e-1)&&(g=Math.sqrt(_*_+x*x),r=y,o=v);break;case m.C:var S=t[p++],w=t[p++],y=t[p++],v=t[p++],b=t[p++],M=t[p++];g=(0,a.Ci)(r,o,S,w,y,v,b,M,10),r=b,o=M;break;case m.Q:var S=t[p++],w=t[p++],y=t[p++],v=t[p++];g=(0,a.wQ)(r,o,S,w,y,v,10),r=y,o=v;break;case m.A:var A=t[p++],L=t[p++],Z=t[p++],O=t[p++],R=t[p++],z=t[p++],B=z+R;p+=1,f&&(s=C(R)*Z+A,l=k(R)*O+L),g=D(Z,O)*T(P,Math.abs(z)),r=C(B)*Z+A,o=k(B)*O+L;break;case m.R:s=r=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case m.Z:var _=s-r,x=l-o;g=Math.sqrt(_*_+x*x),r=s,o=l}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,S=0,w=0,b=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=e*this._pathLen))t:for(var M=0;M<y;){var A=d[M++],P=1===M;switch(P&&(r=d[M],o=d[M+1],n=r,i=o),A!==m.L&&b>0&&(t.lineTo(c,p),b=0),A){case m.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case m.L:s=d[M++],l=d[M++];var L=I(s-r),Z=I(l-o);if(L>f||Z>g){if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;t.lineTo(r*(1-R)+s*R,o*(1-R)+l*R);break t}S+=O}t.lineTo(s,l),r=s,o=l,b=0}else{var z=L*L+Z*Z;z>b&&(c=s,p=l,b=z)}break;case m.C:var B=d[M++],N=d[M++],E=d[M++],F=d[M++],W=d[M++],H=d[M++];if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;(0,a.Vz)(r,B,E,W,R,_),(0,a.Vz)(o,N,F,H,R,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break t}S+=O}t.bezierCurveTo(B,N,E,F,W,H),r=W,o=H;break;case m.Q:var B=d[M++],N=d[M++],E=d[M++],F=d[M++];if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;(0,a.Lx)(r,B,E,R,_),(0,a.Lx)(o,N,F,R,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break t}S+=O}t.quadraticCurveTo(B,N,E,F),r=E,o=F;break;case m.A:var V=d[M++],G=d[M++],U=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=!d[M++],J=U>X?U:X,Q=I(U-X)>.001,$=Y+q,tt=!1;if(v){var O=u[w++];S+O>h&&($=Y+q*(h-S)/O,tt=!0),S+=O}if(Q&&t.ellipse?t.ellipse(V,G,U,X,K,Y,$,j):t.arc(V,G,J,Y,$,j),tt)break t;P&&(n=C(Y)*U+V,i=k(Y)*X+G),r=C($)*U+V,o=k($)*X+G;break;case m.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var te=d[M++],tn=d[M++];if(v){var O=u[w++];if(S+O>h){var ti=h-S;t.moveTo(s,l),t.lineTo(s+T(ti,te),l),(ti-=te)>0&&t.lineTo(s+te,l+T(ti,tn)),(ti-=tn)>0&&t.lineTo(s+D(te-ti,0),l+tn),(ti-=te)>0&&t.lineTo(s,l+D(tn-ti,0));break t}S+=O}t.rect(s,l,te,tn);break;case m.Z:if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;t.lineTo(r*(1-R)+n*R,o*(1-R)+i*R);break t}S+=O}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},1145:function(t,e,n){n.d(e,{Z:()=>i});let 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,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},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,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+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,n){t.x=e,t.y=n},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,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},4066:function(t,e,n){n.d(e,{ZP:()=>d,dN:()=>p});var i=n(9634),r=n(7605),o=i.yR;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=i.Ue(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(u[4]=n,u[5]=r,i.dC(l,e,u),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},e.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[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},e.prototype.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},e.prototype.copyTransform=function(t){(function(t,e){for(var n=0;n<p.length;n++){var i=p[n];t[i]=e[i]}})(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.U1(e,e,u),e[4]+=n+h,e[5]+=r+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let d=c},9101:function(t,e,n){n.d(e,{AZ:()=>S,Ci:()=>_,Jz:()=>w,Lx:()=>M,QC:()=>b,Vz:()=>v,Wr:()=>T,X_:()=>f,Zm:()=>x,af:()=>d,kD:()=>g,pP:()=>y,t1:()=>m,wQ:()=>D});var i=n(7605),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.Ue)(),u=(0,i.Ue)(),h=(0,i.Ue)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function f(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function g(t,e,n,i,l,u){var h=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*h*d,y=p*d-9*h*f,v=d*d-3*p*f,m=0;if(c(g)&&c(y)){if(c(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}}else{var x=y*y-4*g*v;if(c(x)){var S=y/g,_=-p/h+S,w=-S/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var b=o(x),M=g*p+1.5*h*(-y+b),T=g*p+1.5*h*(-y-b),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(T=T<0?-r(-T,s):r(T,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var D=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,C=o(g),k=Math.cos(D),_=(-p-2*C*k)/(3*h),w=(-p+C*(k+a*Math.sin(D)))/(3*h),I=(-p+C*(k-a*Math.sin(D)))/(3*h);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m}function y(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var d=a*a-4*s*l;if(c(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),h=(-a+f)/(2*s),g=(-a-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function m(t,e,n,r,a,s,c,p,f,g,y){var v,m,_,x,S,w=.005,b=1/0;l[0]=f,l[1]=g;for(var M=0;M<1;M+=.05)u[0]=d(t,n,a,c,M),u[1]=d(e,r,s,p,M),(x=(0,i.WU)(l,u))<b&&(v=M,b=x);b=1/0;for(var T=0;T<32&&!(w<1e-4);T++)m=v-w,_=v+w,u[0]=d(t,n,a,c,m),u[1]=d(e,r,s,p,m),x=(0,i.WU)(u,l),m>=0&&x<b?(v=m,b=x):(h[0]=d(t,n,a,c,_),h[1]=d(e,r,s,p,_),S=(0,i.WU)(h,l),_<=1&&S<b?(v=_,b=S):w*=.5);return y&&(y[0]=d(t,n,a,c,v),y[1]=d(e,r,s,p,v)),o(b)}function _(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,f=1;f<=l;f++){var g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function S(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function w(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var d=s*s-4*a*l;if(c(d)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(d>0){var f=o(d),h=(-s+f)/(2*a),g=(-s-f)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function b(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function M(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function T(t,e,n,r,a,s,c,p,d){var f,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,n,a,v),u[1]=x(e,r,s,v);var m=(0,i.WU)(l,u);m<y&&(f=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var S=f-g,w=f+g;u[0]=x(t,n,a,S),u[1]=x(e,r,s,S);var m=(0,i.WU)(u,l);if(S>=0&&m<y)f=S,y=m;else{h[0]=x(t,n,a,w),h[1]=x(e,r,s,w);var b=(0,i.WU)(h,l);w<=1&&b<y?(f=w,y=b):g*=.5}}return d&&(d[0]=x(t,n,a,f),d[1]=x(e,r,s,f)),o(y)}function D(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=x(t,n,r,p),f=x(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}},9708:function(t,e,n){n.d(e,{A4:()=>h,F1:()=>f,UK:()=>c,YB:()=>u});var i=n(4647),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}for(var c=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[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={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,i,r){return h(l,e,i,r,!0)&&h(t,n,l[0],l[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!c(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,d=c.left,f=c.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=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[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,r),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function f(t){return null==t?"":(t+"").replace(p,function(t,e){return d[e]})}},4647:function(t,e,n){n.d(e,{Z:()=>d});var i,r,o,a,s,l,u,h,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new c,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(p.node=!0,p.svgSupported=!0):(i=navigator.userAgent,o=(r=p).browser,a=i.match(/Firefox\/([\d.]+)/),s=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),l=i.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(i),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),r.svgSupported="undefined"!=typeof SVGRect,r.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,r.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),r.domSupported="undefined"!=typeof document,h=document.documentElement.style,r.transform3dSupported=(o.ie&&"transition"in h||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),r.transformSupported=r.transform3dSupported||o.ie&&+o.version>=9);let d=p},9474:function(t,e,n){n.d(e,{OD:()=>c,Oo:()=>p,eV:()=>l,iP:()=>h,sT:()=>f,x1:()=>g,xg:()=>d});var i=n(4647),r=n(9708),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&39>+i.Z.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.A4)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var f=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},9634:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(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,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function u(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function h(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}n.d(e,{Iu:()=>s,JG:()=>o,U1:()=>l,U_:()=>h,Ue:()=>i,bA:()=>u,dC:()=>a,yR:()=>r})},9906:function(t,e,n){n.d(e,{Uo:()=>a,n5:()=>o,qW:()=>l});var i,r,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var u=/(\d+)px/.exec(e),h=u&&+u[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var d=s[t[p]];c+=null==d?h:d*h}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},2298:function(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;!function(t,e,n){for(n--;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?l=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,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[n+h])?l=h:a=h+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var h=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var h=n[u],c=i[u],p=n[u+1],d=i[u+1];i[u]=c+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(d=o(t[h+c-1],t,p,d,d-1,e))&&(c<=d?function(n,i,s,u){var h,c,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],h++,c=0,1==--i){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,f,i,0,e))){for(d=0;d<h;d++)t[y+d]=l[f+d];if(y+=h,f+=h,(i-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[f],t,g,u,0,e))){for(d=0;d<c;d++)t[y+d]=t[g+d];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(h,c,p,d):function(n,i,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[c--],0==--i){for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h];return}if(1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[d--]=t[c--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,c-=v,i-=v,g=d+1,f=c+1,h=v-1;h>=0;h--)t[g+h]=t[f+h];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,h=0;h<m;h++)t[g+h]=l[f+h];if(u<=1){_=!0;break}}if(t[d--]=t[c--],0==--i){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p]}else if(0===u)throw Error();else for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h]}(h,c,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<c){var p=l;p>c&&(p=c),r(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}n.d(e,{Z:()=>s})},7975:function(t,e,n){n.d(e,{$j:()=>ts,Bu:()=>U,H:()=>v,HD:()=>z,I3:()=>th,Jn:()=>x,Jv:()=>X,Kn:()=>E,M8:()=>y,MY:()=>j,Mh:()=>H,Qq:()=>V,R1:()=>q,RI:()=>tl,S6:()=>C,TS:()=>_,UI:()=>k,WA:()=>Z,WW:()=>to,XP:()=>P,XW:()=>M,ZT:()=>tu,ak:()=>L,cd:()=>B,ce:()=>w,cq:()=>b,d9:()=>m,dL:()=>G,fU:()=>W,fy:()=>Q,hX:()=>A,hj:()=>N,hu:()=>J,jB:()=>T,kJ:()=>O,kW:()=>tr,l7:()=>S,mf:()=>R,nW:()=>ta,pD:()=>Y,s7:()=>tt,tP:()=>K,u4:()=>I,zG:()=>D});var i=n(9906),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[$]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!t[$]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else{if(!r[n]&&!t[$]&&!H(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]))}return e}function _(t,e,n){if(!E(e)||!E(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!(E(o)&&E(r))||O(o)||O(r)||H(o)||H(r)||F(o)||F(r)||o[$]||r[$]?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=_(n,t[i],e);return n}function S(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=P(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function b(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1}function M(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function D(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function C(t,e,n){if(t&&e){if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}}function k(t,e,n){if(!t)return[];if(!e)return K(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function A(t,e,n){if(!t)return[];if(!e)return K(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}i.qW.createCanvas;var L=d&&R(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function Z(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function O(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function R(t){return"function"==typeof t}function z(t){return"string"==typeof t}function B(t){return"[object String]"===a.call(t)}function N(t){return"number"==typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function F(t){return!!r[a.call(t)]}function W(t){return!!o[a.call(t)]}function H(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function V(t){return null!=t.colorStops}function G(t){return null!=t.image}function U(t){return t!=t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function Y(t,e){return null!=t?t:e}function q(t,e,n){return null!=t?t:null!=e?e:n}function K(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.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 J(t,e){if(!t)throw Error(e)}function Q(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function tt(t){t[$]=!0}var te=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),tn="function"==typeof Map,ti=function(){function t(e){var n=O(e);this.data=tn?new Map:new te;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&C(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return tn?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tr(t){return new ti(t)}function to(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function ta(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&S(n,e),n}function ts(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tl(t,e){return t.hasOwnProperty(e)}function tu(){}var th=180/Math.PI},7605:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function l(t,e){var n,i=Math.sqrt((n=e)[0]*n[0]+n[1]*n[1]);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function u(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}n.d(e,{Fp:()=>g,Fv:()=>l,IH:()=>o,Ne:()=>d,TE:()=>u,TK:()=>h,Ue:()=>i,VV:()=>f,WU:()=>c,bA:()=>s,d9:()=>r,lu:()=>a,t7:()=>p});var h=u,c=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function p(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function d(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function f(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function g(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},2097:function(t,e,n){n.d(e,{ZP:()=>y,ik:()=>h,tj:()=>u});var i=n(9362),r=n(5062),o=n(9495),a=n(7975),s=n(2168),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},n.prototype.createStyle=function(t){return(0,a.nW)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},n.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l){if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var d=(0,a.XP)(h),f=0;f<d.length;f++){var g=d[f];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.XP)(l),f=0;f<y.length;f++){var g=y[f];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l)}for(var v=this.__inHover?p:c,f=0;f<v.length;f++){var g=v[f];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},n.prototype.getAnimationStyleProps=function(){return h},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),n}(r.Z),f=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=d},4196:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},7293:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(7975),o=n(5062),a=n(9495),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(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,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),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,n=this._children,i=r.cq(n,t);return i<0||(n.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,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Z.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Z);s.prototype.type="group";let l=s},3287:function(t,e,n){n.d(e,{ZP:()=>h});var i=n(9362),r=n(2097),o=n(9495),a=n(7975),s=(0,a.ce)({x:0,y:0},r.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);u.prototype.type="image";let h=u},4235:function(t,e,n){n.d(e,{Z:()=>r});var i=n(9362);let r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(n(4196).Z)},8588:function(t,e,n){n.d(e,{$t:()=>w,ZP:()=>T});var i=n(9362),r=n(2097),o=n(3564);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}var s=n(9101),l=2*Math.PI;function u(t){return(t%=l)<0&&(t+=l),t}var h=2*Math.PI;function c(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||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 l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var p=o.Z.CMD,d=2*Math.PI,f=[-1,-1,-1],g=[-1,-1];function y(t,e,n,i,r){for(var o,l,y=t.data,v=t.len(),m=0,_=0,x=0,S=0,w=0,b=0;b<v;){var M,T,D,C,k,I,A,P,L,Z,O,R,z,B,N=y[b++],E=1===b;switch(N===p.M&&b>1&&!n&&(m+=c(_,x,S,w,i,r)),E&&(_=y[b],x=y[b+1],S=_,w=x),N){case p.M:S=y[b++],w=y[b++],_=S,x=w;break;case p.L:if(n){if(a(_,x,y[b],y[b+1],e,i,r))return!0}else m+=c(_,x,y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.C:if(n){if(M=_,T=x,D=y[b++],C=y[b++],k=y[b++],I=y[b++],A=y[b],P=y[b+1],0!==e&&(!(r>T+e)||!(r>C+e)||!(r>I+e)||!(r>P+e))&&(!(r<T-e)||!(r<C-e)||!(r<I-e)||!(r<P-e))&&(!(i>M+e)||!(i>D+e)||!(i>k+e)||!(i>A+e))&&(!(i<M-e)||!(i<D-e)||!(i<k-e)||!(i<A-e))&&s.t1(M,T,D,C,k,I,A,P,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s.kD(e,i,o,l,h,f);if(0===c)return 0;for(var p=0,d=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=f[m],x=0===_||1===_?.5:1;!(s.af(t,n,r,a,_)<u)&&(d<0&&(d=s.pP(e,i,o,l,g),g[1]<g[0]&&d>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.af(e,i,o,l,g[0]),d>1&&(v=s.af(e,i,o,l,g[1]))),2===d?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[b++],y[b++],y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.Q:if(n){if(L=_,Z=x,O=y[b++],R=y[b++],z=y[b],B=y[b+1],0!==e&&(!(r>Z+e)||!(r>R+e)||!(r>B+e))&&(!(r<Z-e)||!(r<R-e)||!(r<B-e))&&(!(i>L+e)||!(i>O+e)||!(i>z+e))&&(!(i<L-e)||!(i<O-e)||!(i<z-e))&&(0,s.Wr)(L,Z,O,R,z,B,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.Jz(e,i,o,l,f);if(0===u)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,p=s.Zm(e,i,o,h),d=0;d<u;d++){var g=0===f[d]||1===f[d]?.5:1,y=s.Zm(t,n,r,f[d]);!(y<a)&&(f[d]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===f[0]||1===f[0]?.5:1,y=s.Zm(t,n,r,f[0]);return y<a?0:o<e?g:-g}(_,x,y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.A:var F=y[b++],W=y[b++],H=y[b++],V=y[b++],G=y[b++],U=y[b++];b+=1;var X=!!(1-y[b++]);o=Math.cos(G)*H+F,l=Math.sin(G)*V+W,E?(S=o,w=l):m+=c(_,x,o,l,i,r);var Y=(i-F)*V/H+F;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(l-=e)*l);if(c-a>n||c+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=u(r),r=u(p)}else i=u(i),r=u(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(F,W,V,G,G+U,X,e,Y,r))return!0}else m+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);f[0]=-l,f[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=d-1e-4){i=0,r=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=d,r+=d);for(var p=0,g=0;g<2;g++){var y=f[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}(F,W,V,G,G+U,X,Y,r);_=Math.cos(G+U)*H+F,x=Math.sin(G+U)*V+W;break;case p.R:S=_=y[b++],w=x=y[b++];var q=y[b++],K=y[b++];if(o=S+q,l=w+K,n){if(a(S,w,o,w,e,i,r)||a(o,w,o,l,e,i,r)||a(o,l,S,l,e,i,r)||a(S,l,S,w,e,i,r))return!0}else m+=c(o,w,o,l,i,r),m+=c(S,l,S,w,i,r);break;case p.Z:if(n){if(a(_,x,S,w,e,i,r))return!0}else m+=c(_,x,S,w,i,r);_=S,x=w}}return!n&&!(1e-4>Math.abs(x-w))&&(m+=c(_,x,S,w,i,r)||0),0!==m}var v=n(7975),m=n(4411),_=n(9417),x=n(2168),S=n(4066),w=(0,v.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),b={style:(0,v.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},M=S.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=x.YV}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,v.XP)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,v.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,v.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.HD)(t)){var e=(0,m.L0)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}if(t)return _.GD}return _.vU},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.HD)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,m.L0)(t,0)<_.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~x.RH},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new o.Z(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&x.RH)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=x.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,v.l7)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&x.RH)},n.prototype.createStyle=function(t){return(0,v.nW)(w,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,v.l7)({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,v.l7)({},i.shape),(0,v.l7)(s,n.shape)):(s=(0,v.l7)({},r?this.shape:i.shape),(0,v.l7)(s,n.shape)):l&&(s=i.shape),s){if(o){this.shape=(0,v.l7)({},this.shape);for(var u={},h=(0,v.XP)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return b},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,v.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,v.d9)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.YV|x.SE|x.RH),n}(r.ZP)},7755:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9362),r=n(2097),o=n(2666),a=n(8588),s=n(7975),l=n(9906),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(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(0,s.nW)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.ZP);h.prototype.type="tspan";let c=h},4639:function(t,e,n){n.d(e,{ZP:()=>R});var i=n(9362),r=n(1109),o=n(7975),a=n(2666),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var l=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function u(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,i);if(o<=n)return t;for(var s=0;;s++){if(o<=r||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?function(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,l),o=(0,a.dz)(t,i)}return""===t&&(t=e.placeholder),t}var h=function(){},c=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function d(t,e,n,i,r){var o,s,l=""===e,u=r&&n.rich[r]||{},p=t.lines,d=u.font||n.font,f=!1;if(i){var y=u.padding,v=y?y[1]+y[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,a.GM)(u.width,i.width)+v;p.length>0&&m+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=m}else{var _=g(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x<o.length;x++){var S=o[x],w=new h;if(w.styleName=r,w.text=S,w.isLineHolder=!S&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[x]:(0,a.dz)(S,d),x||f)p.push(new c([w]));else{var b=(p[p.length-1]||(p[0]=new c)).tokens,M=b.length;1===M&&b[0].isLineHolder?b[0]=w:(S||!M||l)&&b.push(w)}}}var f=(0,o.u4)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"===d){u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0;continue}var g=(0,a.dz)(d,e),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!f[t]}(d);if(o.length?c+g>n:r+c+g>n){c?(l||u)&&(y?(l||(l=u,u="",c=h=0),o.push(l),s.push(c-h),u+=d,h+=g,l="",c=h):(u&&(l+=u,u="",h=0),o.push(l),s.push(c),l=d,c=g)):y?(o.push(u),s.push(h),u=d,h=g):(o.push(d),s.push(g));continue}c+=g,y?(u+=d,h+=g):(u&&(l+=u,u="",h=0),l+=d)}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var y=n(7755),v=n(3287),m=n(1969),_=n(9495),x=n(2097),S=n(9906),w={fill:"#000"},b={style:(0,o.ce)({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},x.ik.style)},M=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=w,n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,I(t=this.style),(0,o.S6)(t.rich,I),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 n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new _.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);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||w},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return b},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.Uo,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,h=(0,a.Dp)(s),c=(0,o.pD)(e.lineHeight,h),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,f=e.width,y=(n=null!=f&&("break"===i||"breakAll"===i)?t?g(t,e.font,f,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*c,v=(0,o.pD)(e.height,y);if(y>v&&d){var m=Math.floor(v/c);n=n.slice(0,m)}if(t&&"truncate"===i&&null!=f)for(var _=l(f,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<n.length;x++)n[x]=u(n[x],_);for(var S=v,w=0,x=0;x<n.length;x++)w=Math.max((0,a.dz)(n[x],s),w);null==f&&(f=w);var b=w;return r&&(S+=r[0]+r[2],b+=r[1]+r[3],f+=r[1]+r[3]),p&&(b=f),{lines:n,height:v,outerWidth:b,outerHeight:S,lineHeight:c,calculatedLineHeight:h,contentWidth:w,contentHeight:y,width:f}}(Z(t),t),r=O(t),s=!!t.backgroundColor,h=i.outerHeight,c=i.outerWidth,p=i.contentWidth,d=i.lines,f=i.lineHeight,v=this._defaultStyle,m=t.x||0,x=t.y||0,w=t.align||v.align||"left",b=t.verticalAlign||v.verticalAlign||"top",M=m,T=(0,a.mU)(x,i.contentHeight,b);if(r||n){var D=(0,a.M3)(m,c,w),C=(0,a.mU)(x,h,b);r&&this._renderBackground(t,t,D,C,c,h)}T+=f/2,n&&(M=L(m,w,n),"top"===b?T+=n[0]:"bottom"===b&&(T-=n[2]));for(var I=0,R=!1,z=P("fill"in t?t.fill:(R=!0,v.fill)),B=A("stroke"in t?t.stroke:s||v.autoStroke&&!R?null:(I=2,v.stroke)),N=t.textShadowBlur>0,E=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=i.calculatedLineHeight,W=0;W<d.length;W++){var H=this._getOrCreateChild(y.Z),V=H.createStyle();H.useStyle(V),V.text=d[W],V.x=M,V.y=T,w&&(V.textAlign=w),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,N&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=B,V.fill=z,B&&(V.lineWidth=t.lineWidth||I,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,k(V,t),T+=f,E&&H.setBoundingRect(new _.Z((0,a.M3)(V.x,t.width,V.textAlign),(0,a.mU)(V.y,F,V.textBaseline),p,F))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n,i=new p;if(null!=t&&(t+=""),!t)return i;for(var h=e.width,c=e.height,f=e.overflow,g=("break"===f||"breakAll"===f)&&null!=h?{width:h,accumWidth:0,breakAll:"breakAll"===f}:null,y=s.lastIndex=0;null!=(n=s.exec(t));){var v=n.index;v>y&&d(i,t.substring(y,v),e,g),d(i,n[2],e,g,n[1]),y=s.lastIndex}y<t.length&&d(i,t.substring(y,t.length),e,g);var m=[],_=0,x=0,S=e.padding,w="truncate"===f,b="truncate"===e.lineOverflow;function M(t,e,n){t.width=e,t.lineHeight=n,_+=n,x=Math.max(x,e)}e:for(var T=0;T<i.lines.length;T++){for(var D=i.lines[T],C=0,k=0,I=0;I<D.tokens.length;I++){var A=D.tokens[I],P=A.styleName&&e.rich[A.styleName]||{},L=A.textPadding=P.padding,Z=L?L[1]+L[3]:0,O=A.font=P.font||e.font;A.contentHeight=(0,a.Dp)(O);var R=(0,o.pD)(P.height,A.contentHeight);if(A.innerHeight=R,L&&(R+=L[0]+L[2]),A.height=R,A.lineHeight=(0,o.R1)(P.lineHeight,e.lineHeight,R),A.align=P&&P.align||e.align,A.verticalAlign=P&&P.verticalAlign||"middle",b&&null!=c&&_+A.lineHeight>c){I>0?(D.tokens=D.tokens.slice(0,I),M(D,k,C),i.lines=i.lines.slice(0,T+1)):i.lines=i.lines.slice(0,T);break e}var z=P.width,B=null==z||"auto"===z;if("string"==typeof z&&"%"===z.charAt(z.length-1))A.percentWidth=z,m.push(A),A.contentWidth=(0,a.dz)(A.text,O);else{if(B){var N=P.backgroundColor,E=N&&N.image;E&&(E=r.ko(E),r.v5(E)&&(A.width=Math.max(A.width,E.width*R/E.height)))}var F=w&&null!=h?h-k:null;null!=F&&F<A.width?!B||F<Z?(A.text="",A.width=A.contentWidth=0):(A.text=function(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=l(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=u(o[a],r);return o.join("\n")}(A.text,F-Z,O,e.ellipsis,{minChar:e.truncateMinChar}),A.width=A.contentWidth=(0,a.dz)(A.text,O)):A.contentWidth=(0,a.dz)(A.text,O)}A.width+=Z,k+=A.width,P&&(C=Math.max(C,A.lineHeight))}M(D,k,C)}i.outerWidth=i.width=(0,o.pD)(h,x),i.outerHeight=i.height=(0,o.pD)(c,_),i.contentHeight=_,i.contentWidth=x,S&&(i.outerWidth+=S[1]+S[3],i.outerHeight+=S[0]+S[2]);for(var T=0;T<m.length;T++){var A=m[T],W=A.percentWidth;A.width=parseInt(W,10)/100*i.width}return i}(Z(t),t),n=e.width,i=e.outerWidth,h=e.outerHeight,c=t.padding,f=t.x||0,g=t.y||0,y=this._defaultStyle,v=t.align||y.align,m=t.verticalAlign||y.verticalAlign,_=(0,a.M3)(f,i,v),x=(0,a.mU)(g,h,m),S=_,w=x;c&&(S+=c[3],w+=c[0]);var b=S+n;O(t)&&this._renderBackground(t,t,_,x,i,h);for(var M=!!t.backgroundColor,T=0;T<e.lines.length;T++){for(var D=e.lines[T],C=D.tokens,k=C.length,I=D.lineHeight,A=D.width,P=0,L=S,R=b,z=k-1,B=void 0;P<k&&(!(B=C[P]).align||"left"===B.align);)this._placeToken(B,t,I,w,L,"left",M),A-=B.width,L+=B.width,P++;for(;z>=0&&"right"===(B=C[z]).align;)this._placeToken(B,t,I,w,R,"right",M),A-=B.width,R-=B.width,z--;for(L+=(n-(L-S)-(b-R)-A)/2;P<=z;)B=C[P],this._placeToken(B,t,I,w,L+B.width/2,"center",M),L+=B.width,P++;w+=I}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2),!t.isLineHolder&&O(u)&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!u.backgroundColor,d=t.textPadding;d&&(r=L(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var f=this._getOrCreateChild(y.Z),g=f.createStyle();f.useStyle(g);var v=this._defaultStyle,m=!1,x=0,w=P("fill"in u?u.fill:"fill"in e?e.fill:(m=!0,v.fill)),b=A("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||v.autoStroke&&!m?null:(x=2,v.stroke)),M=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,M&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||S.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),k(g,u),b&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,x),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=b),w&&(g.fill=w);var T=t.contentWidth,D=t.contentHeight;f.setBoundingRect(new _.Z((0,a.M3)(g.x,T,g.textAlign),(0,a.mU)(g.y,D,g.textBaseline),T,D))},e.prototype._renderBackground=function(t,e,n,i,r,a){var s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(s=this._getOrCreateChild(m.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=i,y.width=r,y.height=a,y.r=f,s.dirtyShape()}if(d){var _=s.style;_.fill=u||null,_.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(p){(l=this._getOrCreateChild(v.ZP)).onload=function(){g.dirtyStyle()};var x=l.style;x.image=u.image,x.x=n,x.y=i,x.width=r,x.height=a}if(h&&c){var _=s.style;_.lineWidth=h,_.stroke=c,_.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var S=(s||l).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?S.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,o.fy)(i)||t.textFont||t.font},e}(x.ZP),T={left:!0,right:1,center:1},D={top:1,bottom:1,middle:1},C=["fontStyle","fontWeight","fontSize","fontFamily"];function k(t,e){for(var n=0;n<C.length;n++){var i=C[n],r=e[i];null!=r&&(t[i]=r)}}function I(t){if(t){t.font=M.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||T[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||D[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Z(t){var e=t.text;return null!=e&&(e+=""),e}function O(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let R=M},2168:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>r,YV:()=>i});var i=1,r=2,o=4},1109:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var i=n(6147),r=n(9906),o=new i.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.qW.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},4899:function(t,e,n){n.d(e,{L:()=>r});var i=n(7605);function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,l,u=[],h=[],c=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,i.VV)(s,s,t[d]),(0,i.Fp)(l,l,t[d]);(0,i.VV)(s,s,r[0]),(0,i.Fp)(l,l,r[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)o=t[d?d-1:f-1],a=t[(d+1)%f];else{if(0===d||d===f-1){u.push((0,i.d9)(t[d]));continue}o=t[d-1],a=t[d+1]}(0,i.lu)(h,a,o),(0,i.bA)(h,h,e);var y=(0,i.TE)(g,o),v=(0,i.TE)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,i.bA)(c,h,-y),(0,i.bA)(p,h,v);var _=(0,i.IH)([],g,c),x=(0,i.IH)([],g,p);r&&((0,i.Fp)(_,_,s),(0,i.VV)(_,_,l),(0,i.Fp)(x,x,s),(0,i.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],h=a[2*l+1],c=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},4958:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>r,vu:()=>a});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}},222:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9362),r=n(8588),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(0,i.ZT)(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 n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc";let s=a},121:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9362),r=n(8588),o=n(7605),a=n(9101),s=[],l=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,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==h||null==c?(p<1&&((0,a.Lx)(n,l,r,p,s),l=s[1],r=s[2],(0,a.Lx)(i,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.Vz)(n,l,h,r,p,s),l=s[1],h=s[2],r=s[3],(0,a.Vz)(i,u,c,o,p,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(l,u,h,c,r,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.Fv(e,e)},e}(r.ZP);h.prototype.type="bezier-curve";let c=h},7266:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9362),r=n(8588),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle";let s=a},2859:function(t,e,n){n.d(e,{Z:()=>u});var i=n(9362),r=n(8588),o=n(4958),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,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}(r.ZP);l.prototype.type="line";let u=l},4484:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(8588),o=n(4899),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(r.ZP);s.prototype.type="polygon";let l=s},1099:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(8588),o=n(4899),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(0,i.ZT)(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.L(t,e,!1)},e}(r.ZP);s.prototype.type="polyline";let l=s},1969:function(t,e,n){n.d(e,{Z:()=>u});var i=n(9362),r=n(8588),o=n(4958),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,h,c,p,d,f,g,y,v,m,_=(0,o.Pw)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(n=e).x,c=n.y,p=n.width,d=n.height,f=n.r,p<0&&(h+=p,p=-p),d<0&&(c+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(h+i,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+d-a),0!==a&&t.arc(h+p-a,c+d-a,a,0,Math.PI/2),t.lineTo(h+l,c+d),0!==l&&t.arc(h+l,c+d-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+i),0!==i&&t.arc(h+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";let u=l},3511:function(t,e,n){n.d(e,{C:()=>_});var i=n(9362),r=n(8588),o=n(7975),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=n+h,v=i+c,m=(p+y)/2,_=(g+v)/2,x=y-p,S=v-g,w=x*x+S*S,b=r-o,M=p*v-y*g,T=(S<0?-1:1)*d(f(0,b*b*w-M*M)),D=(M*S-x*T)/w,C=(-M*x-S*T)/w,k=(M*S+x*T)/w,I=(-M*x+S*T)/w,A=D-m,P=C-_,L=k-m,Z=I-_;return A*A+P*P>L*L+Z*Z&&(D=k,C=I),{cx:D,cy:C,x0:-h,y0:-c,x1:D*(r/b-1),y1:C*(r/b-1)}}var v=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},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,S=e.endAngle;if(!(isNaN(x)||isNaN(S))){var w=e.cx,b=e.cy,M=!!e.clockwise,T=p(S-x),D=T>s&&T%s;if(D>1e-4&&(T=D),i>1e-4){if(T>s-1e-4)t.moveTo(w+i*u(x),b+i*l(x)),t.arc(w,b,i,x,S,!M),r>1e-4&&(t.moveTo(w+r*u(S),b+r*l(S)),t.arc(w,b,r,S,x,M));else{var C=void 0,k=void 0,I=void 0,A=void 0,P=void 0,L=void 0,Z=void 0,O=void 0,R=void 0,z=void 0,B=void 0,N=void 0,E=void 0,F=void 0,W=void 0,H=void 0,V=i*u(x),G=i*l(x),U=r*u(S),X=r*l(S),Y=T>1e-4;if(Y){var q=e.cornerRadius;q&&(C=(n=function(t){var e;if((0,o.kJ)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(q))[0],k=n[1],I=n[2],A=n[3]);var K=p(i-r)/2;if(P=g(K,I),L=g(K,A),Z=g(K,C),O=g(K,k),B=R=f(P,L),N=z=f(Z,O),(R>1e-4||z>1e-4)&&(E=i*u(S),F=i*l(S),W=r*u(x),H=r*l(x),T<a)){var j=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(V,G,W,H,E,F,U,X);if(j){var J=V-j[0],Q=G-j[1],$=E-j[0],tt=F-j[1],te=1/l(h((J*$+Q*tt)/(d(J*J+Q*Q)*d($*$+tt*tt)))/2),tn=d(j[0]*j[0]+j[1]*j[1]);B=g(R,(i-tn)/(te+1)),N=g(z,(r-tn)/(te-1))}}}if(Y){if(B>1e-4){var ti=g(I,B),tr=g(A,B),to=y(W,H,V,G,i,ti,M),ta=y(E,F,U,X,i,tr,M);t.moveTo(w+to.cx+to.x0,b+to.cy+to.y0),B<R&&ti===tr?t.arc(w+to.cx,b+to.cy,B,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(ti>0&&t.arc(w+to.cx,b+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(w+ta.cx,b+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(w+V,b+G),t.arc(w,b,i,x,S,!M)}else t.moveTo(w+V,b+G);if(r>1e-4&&Y){if(N>1e-4){var ti=g(C,N),tr=g(k,N),to=y(U,X,E,F,r,-tr,M),ta=y(V,G,W,H,r,-ti,M);t.lineTo(w+to.cx+to.x0,b+to.cy+to.y0),N<z&&ti===tr?t.arc(w+to.cx,b+to.cy,N,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(w+to.cx,b+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),ti>0&&t.arc(w+ta.cx,b+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(w+U,b+X),t.arc(w,b,r,S,x,M)}else t.lineTo(w+U,b+X)}}else t.moveTo(w,b);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);m.prototype.type="sector";let _=m},4411:function(t,e,n){n.d(e,{L0:()=>M,Pz:()=>b,Qc:()=>y,Uu:()=>_,fD:()=>D,m8:()=>w,ox:()=>S,t7:()=>x});var i=n(6147),r=n(7975),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.ZP(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){c(e,0,0,0,1);return}return c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=0xffffff)){c(e,0,0,0,1);return}return c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e}return}var s=i.indexOf("("),h=i.indexOf(")");if(-1!==s&&h+1===r){var f=i.substr(0,s),y=i.substr(s+1,h-(s+1)).split(","),m=1;switch(f){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);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;c(e,0,0,0,1);return;case"hsla":if(4!==y.length){c(e,0,0,0,1);return}return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length){c(e,0,0,0,1);return}return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return c(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=e[h],d=e[c],f=u-h;return n[0]=a((i=p[0],i+(d[0]-i)*f)),n[1]=a((r=p[1],r+(d[1]-r)*f)),n[2]=a((o=p[2],o+(d[2]-o)*f)),n[3]=s((l=p[3],l+(d[3]-l)*f)),n}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),d=y(e[c]),f=u-h,g=b([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}function S(t,e,n,i){var r,o=y(t);if(t)return o=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(o),null!=e&&(o[0]=(r=Math.round(r=e))<0?0:r>360?360:r),null!=n&&(o[1]=u(n)),null!=i&&(o[2]=u(i)),b(v(o),"rgba")}function w(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),b(n,"rgba")}function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}function M(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var T=new i.ZP(100);function D(t){if((0,r.HD)(t)){var e=T.get(t);return e||(e=m(t,-.1),T.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},6573:function(t,e,n){n.d(e,{Qq:()=>to,S1:()=>ti,wm:()=>tr});var i,r,o,a=n(4647),s=n(7975),l=n(9362),u=n(7605),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},c=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.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=n(7654),d=n(9474),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=d.eV(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in y)if(y.hasOwnProperty(e)){var n=y[e](this._track,t);if(n)return n}},t}();function g(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var y={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=g(i)/g(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(9495),m="silent";function _(){d.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),S=function(t,e){this.x=t,this.y=e},w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new S(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new c(a),a}return(0,l.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.S6(w,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,n=t.zrY,i=D(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new S(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"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 S(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){var i,r=(t=t||{}).target;if(!r||!r.silent){for(var o="on"+e,a={type:e,event:n,target:(i=t).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_};r&&(r[o]&&(a.cancelBubble=!!r[o].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new S(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new v.Z(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=c)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new S;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(p.Z);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0),i=i.__hostTarget||i.parent}return!r||m}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==m)){e.target=a;break}}}function D(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=D(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,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||u.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var C=n(2298),k=n(2168),I=!1;function A(){!I&&(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,C.Z)(n,P)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=k.YV),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(A(),t.z=0),isNaN(t.z2)&&(A(),t.z2=0),isNaN(t.zlevel)&&(A(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,n)}},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,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=s.cq(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}(),Z=n(9909),O=n(8026);function R(){return new Date().getTime()}var z=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,l.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=R()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)&&(i.ondestroy(),this.removeClip(i)),i=r}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,Z.Z)(function e(){t._running&&((0,Z.Z)(e),t._paused||t.update())})},e.prototype.start=function(){!this._running&&(this._time=R(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=R(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=R()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new O.Z(t,e.loop);return this.addAnimator(n),n},e}(p.Z),B=a.Z.domSupported,N=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.UI(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),E={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},F=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function H(t){t&&(t.zrByTouch=!0)}function V(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var G=function(t,e){this.stopPropagation=s.ZT,this.stopImmediatePropagation=s.ZT,this.preventDefault=s.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},U={mousedown:function(t){t=(0,d.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.OD)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){V(this,(t=(0,d.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){F=!0,t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){!F&&(t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){H(t=(0,d.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),U.mousemove.call(this,t),U.mousedown.call(this,t)},touchmove:function(t){H(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"change"),U.mousemove.call(this,t)},touchend:function(t){H(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"end"),U.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&U.click.call(this,t)},pointerdown:function(t){U.mousedown.call(this,t)},pointermove:function(t){W(t)||U.mousemove.call(this,t)},pointerup:function(t){U.mouseup.call(this,t)},pointerout:function(t){W(t)||U.mouseout.call(this,t)}};s.S6(["click","dblclick","contextmenu"],function(t){U[t]=function(e){e=(0,d.OD)(this.dom,e),this.trigger(t,e)}});var X={pointermove:function(t){W(t)||X.mousemove.call(this,t)},pointerup:function(t){X.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 Y(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,d.Oo)(t.domTarget,e,n,i)}function q(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,d.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},j=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new K(e,U),B&&(o._globalHandlerScope=new K(document,X)),r=(i=o._localHandlerScope).domHandlers,a.Z.pointerEventsSupported?s.S6(N.pointer,function(t){Y(i,t,function(e){r[t].call(o,e)})}):(a.Z.touchEventsSupported&&s.S6(N.touch,function(t){Y(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),s.S6(N.mouse,function(t){Y(i,t,function(e){e=(0,d.iP)(e),i.touching||r[t].call(o,e)})})),o}return(0,l.ZT)(e,t),e.prototype.dispose=function(){q(this._localHandlerScope),B&&q(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,B&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.Z.pointerEventsSupported?s.S6(E.pointer,n):a.Z.touchEventsSupported||s.S6(E.mouse,n);function n(n){Y(e,n,function(i){if(!V(t,(i=(0,d.iP)(i)).target)){var r;r=i,i=(0,d.OD)(t.dom,new G(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):q(e)}},e}(p.Z),J=n(4411),Q=n(9417),$=n(7293),tt={},te={},tn=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new L,l=n.renderer||"canvas";tt[l]||(l=s.XP(tt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tt[l](e,o,n,t),h=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=a.Z.node||a.Z.worker||h?null:new j(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?a.Z.touchEventsSupported:!!p)&&(i=s.pD(n.pointerSize,44)),this.handler=new M(o,u,c,u.root,i),this.animation=new z({stage:{update:h?null:function(){return r._flush(!0)}}}),h||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){!this._disposed&&(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){!this._disposed&&(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,J.L0)(t,1)<Q.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.L0)(e[r].color,1);return(n/=i)<Q.Ak}return!1}(t))},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){!this._disposed&&(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){!this._disposed&&(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){!this._disposed&&this._flush(!1)},t.prototype._flush=function(t){var e,n=R();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=R();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):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._disposed&&(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){!this._disposed&&(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){!this._disposed&&this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){!this._disposed&&this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){!this._disposed&&this.handler.off(t,e)},t.prototype.trigger=function(t,e){!this._disposed&&this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof $.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;!this._disposed&&(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete te[t])},t}();function ti(t,e){var n=new tn(s.M8(),t,e);return te[n.id]=n,n}function tr(t,e){tt[t]=e}function to(t){}}}]);
1
+ /*! For license information please see 527.22e5486f.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkScatterChart=self.webpackChunkScatterChart||[]).push([["527"],{9988:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},4246:function(t,e,n){t.exports=n(1426)},9362:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},9858:function(t,e,n){n.d(e,{D:()=>s,KZ:()=>l,XD:()=>p,Zi:()=>d,bX:()=>h,eq:()=>u,ke:()=>o});var i=n(7975),r=(0,n(6571).Yf)();function o(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var h=void 0,c=void 0,p=void 0;return r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,i.mf)(p)&&(p=p(n,o)),(0,i.mf)(h)&&(h=h(n)),{duration:h||0,delay:p,easing:c}}function a(t,e,n,r,a,s,l){var u,h=!1;(0,i.mf)(a)?(l=s,s=a,a=null):(0,i.Kn)(a)&&(s=a.cb,l=a.during,h=a.isFrom,u=a.removeOpt,a=a.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var p=o(t,r,a,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var d={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!c,scope:t,during:l};h?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),h||e.attr(n),l&&l(1),s&&s()}function s(t,e,n,i,r,o){a("update",t,e,n,i,r,o)}function l(t,e,n,i,r,o){a("enter",t,e,n,i,r,o)}function u(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function h(t,e,n,i,r,o){!u(t)&&a("leave",t,e,n,i,r,o)}function c(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),h(t,{style:{opacity:0}},e,n,i)}function p(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||c(t,e,n,i)}):c(t,e,n,i)}function d(t){r(t).oldStyle=t.style}},3802:function(t,e,n){n.d(e,{Z:()=>f});var i=n(9988),r=n(5965),o=n(7293),a=n(9858),s=n(428),l=n(8306),u=n(6072),h=n(7975),c=n(3361),p=n(3287);function d(t,e){this.parent.drift(t,e)}let f=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.ZT)(e,t),e.prototype._createSymbol=function(t,e,n,i,o){this.removeAll();var a=(0,r.th)(t,-1,-1,2,2,null,o);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=d,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,l.fD)(this.childAt(0))},e.prototype.downplay=function(){(0,l.Mh)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=o!==this._symbolType,h=r&&r.disableAnimation;if(u){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,c)}else{var p=this.childAt(0);p.silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};h?p.attr(d):a.D(p,d,s,n),(0,a.Zi)(p)}if(this._updateCommon(t,n,l,i,r),u){var p=this.childAt(0);if(!h){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,a.KZ(p,d,s,n)}}h&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,o){var a,s,d,f,g,y,v,m,_,x=this.childAt(0),S=t.hostModel;if(i&&(a=i.emphasisItemStyle,s=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,g=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,y=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),b=w.getModel("emphasis");a=b.getModel("itemStyle").getItemStyle(),d=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),f=b.get("focus"),g=b.get("blurScope"),y=b.get("disabled"),v=(0,c.k3)(w),m=b.getShallow("scale"),_=w.getShallow("cursor")}var M=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(M||0)*Math.PI/180||0);var T=(0,r.Cq)(t.getItemVisual(e,"symbolOffset"),n);T&&(x.x=T[0],x.y=T[1]),_&&x.attr("cursor",_);var D=t.getItemVisual(e,"style"),C=D.fill;if(x instanceof p.ZP){var k=x.style;x.useStyle((0,h.l7)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},D))}else x.__isEmptyBrush?x.useStyle((0,h.l7)({},D)):x.useStyle(D),x.style.decal=null,x.setColor(C,o&&o.symbolInnerColor),x.style.strokeNoScale=!0;var I=t.getItemVisual(e,"liftZ"),A=this._z2;null!=I?null==A&&(this._z2=x.z2,x.z2+=I):null!=A&&(x.z2=A,this._z2=null);var P=o&&o.useNameLabel;(0,c.ni)(x,v,{labelFetcher:S,labelDataIndex:e,defaultText:function(e){return P?t.getName(e):(0,u.H)(t,e)},inheritColor:C,defaultOpacity:D.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var Z=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*Z,L.scaleY=this._sizeY*Z,this.setSymbolScale(1),(0,l.k5)(this,f,g,y)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,s.A)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&a.bX(l,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();a.bX(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,r.zp)(t.getItemVisual(e,"symbolSize"))},e}(o.Z)},5434:function(t,e,n){n.d(e,{Z:()=>p});var i=n(7293),r=n(9858),o=n(7810),a=n(3802),s=n(7975),l=n(3361);function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function h(t){return null==t||(0,s.Kn)(t)||(t={isIgnore:t}),t||{}}function c(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.k3)(e),cursorStyle:e.get("cursor")}}let p=function(){function t(t){this.group=new i.Z,this._SymbolCtor=t||a.Z}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=h(e);var n=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=c(t),p={disableAnimation:s},d=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||n.removeAll(),t.diff(o).add(function(i){var r=d(i);if(u(t,r,i,e)){var o=new a(t,i,l,p);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}}).update(function(h,c){var f=o.getItemGraphicEl(c),g=d(h);if(!u(t,g,h,e)){n.remove(f);return}var y=t.getItemVisual(h,"symbol")||"circle",v=f&&f.getSymbolType&&f.getSymbolType();if(!f||v&&v!==y)n.remove(f),(f=new a(t,h,l,p)).setPosition(g);else{f.updateData(t,h,l,p);var m={x:g[0],y:g[1]};s?f.attr(m):r.D(f,m,i)}n.add(f),t.setItemGraphicEl(h,f)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=d,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=h(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(u(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}()},3149:function(t,e,n){n.d(e,{Z:()=>r});var i=n(6571);function r(){var t=(0,i.Yf)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!!(i&&i.large),s=n.progressiveRender=!!(i&&i.progressiveRender);return(r!==a||o!==s)&&"reset"}}},984:function(t,e,n){n.d(e,{Z:()=>y});var i=n(7975),r=n(3208),o=n(6904),a=n(5521),s=n(6571),l=n(9801),u=function(t){this.coordSysDims=[],this.axisMap=(0,i.kW)(),this.categoryAxisMap=(0,i.kW)(),this.coordSysName=t},h={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.C6).models[0],o=t.getReferringComponents("yAxis",s.C6).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),c(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.C6).models[0];e.coordSysDims=["single"],n.set("single",r),c(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.C6).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.S6)(a.parallelAxisIndex,function(t,i){var a=o.getComponent("parallelAxis",t),l=s[i];n.set(l,a),c(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))})}};function c(t){return"category"===t.get("type")}var p=n(3347),d=n(7384),f=n(6451),g=n(9484);let y=function(t,e,n){n=n||{};var c,y,v,m,_,x,S,w,b=e.getSourceManager(),M=!1;t?(M=!0,w=(0,p.nx)(t)):M=(w=b.getSource()).sourceFormat===g.cy;var T=function(t){var e=t.get("coordinateSystem"),n=new u(e),i=h[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),D=(y=e.get("coordinateSystem"),v=l.Z.get(y),T&&T.coordSysDims&&(c=i.UI(T.coordSysDims,function(t){var e={name:t},n=T.axisMap.get(t);if(n){var i=n.get("type");e.type=(0,a.T)(i)}return e})),c||(c=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),c),C=n.useEncodeDefaulter,k=i.mf(C)?C:C?i.WA(f.pY,D,e):null,I={coordDimensions:D,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:k,canOmitUnusedDimensions:!M},A=(0,o.Z)(w,I),P=(m=A.dimensions,_=n.createInvertedIndices,T&&i.S6(m,function(t,e){var n=t.coordDim,i=T.categoryAxisMap.get(n);i&&(null==x&&(x=e),t.ordinalMeta=i.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(S=!0)}),S||null==x||(m[x].otherDims.itemName=0),x),L=M?null:b.getSharedDataStore(A),Z=(0,d.BM)(e,{schema:A,store:L}),O=new r.Z(A,e);O.setCalculationInfo(Z);var R=null!=P&&function(t){if(t.sourceFormat===g.cy){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i.kJ((0,s.C4)(e))}}(w)?function(t,e,n,i){return i===P?n:this.defaultDimValueGetter(t,e,n,i)}:null;return O.hasItemOption=!1,O.initData(M?w:L,null,R),O}},6072:function(t,e,n){n.d(e,{H:()=>o,O:()=>a});var i=n(5562),r=n(7975);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.hk)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.hk)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.kJ)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")}},8890:function(t,e,n){n.d(e,{N:()=>_});var i=n(6232),r=n(9988),o=n(984),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,r.ZT)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(n(5430).Z),s=n(5434),l=n(9495),u=n(8588),h=n(7293),c=n(5965),p=n(428),d=function(){},f=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new d},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l){this._ctx=s;return}for(this._ctx=null,n=this._off;n<i.length;){var h=i[n++],c=i[n++];!(isNaN(h)||isNaN(c))&&(!u||u.contain(h,c))&&(a.x=h-r[0]/2,a.y=c-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];!(isNaN(a)||isNaN(s))&&(!o||o.contain(a,s))&&r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return -1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return(t=n[0],e=n[1],i.contain(t,e))?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,u=-1/0,h=-1/0,c=0;c<n.length;){var p=n[c++],d=n[c++];a=Math.min(p,a),u=Math.max(p,u),s=Math.min(d,s),h=Math.max(d,h)}t=this._rect=new l.Z(a-r/2,s-o/2,u-a+r,h-s+o)}return t},e}(u.ZP),g=function(){function t(){this.group=new h.Z}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var n=(t.endIndex-t.startIndex)*2,i=8*t.startIndex;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()})},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new f({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=(0,c.th)(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=(0,p.A)(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),y=n(3706),v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=(0,y.Z)("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new g:new s.Z,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(n(8050).Z),m=n(6435);function _(t){(0,i.D)(m.N),t.registerSeriesModel(a),t.registerChartView(v),t.registerLayout((0,y.Z)("scatter"))}},3914:function(t,e,n){n.d(e,{Z:()=>M});var i=n(7975),r=n(7293),o=n(2859),a=n(7810),s=n(4639),l=n(428),u=n(3361),h=n(6505),c=n(2517),p=n(5965),d=n(9634),f=n(7605),g=n(1335),y=n(7285),v=Math.PI,m=function(){function t(t,e){this.group=new r.Z,this.opt=e,this.axisModel=t,(0,i.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=(0,c.wW)(e-t);return(0,c.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,c.mW)(o-v)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<v?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=r.transform,h=[l[0],0],c=[l[1],0],d=h[0]>c[0];u&&((0,f.Ne)(h,h,u),(0,f.Ne)(c,c,u));var g=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.Z({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",n.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,i.HD)(v)&&(v=[v,v]),((0,i.HD)(m)||(0,i.hj)(m))&&(m=[m,m]);var _=(0,p.Cq)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],S=m[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],function(e,i){if("none"!==v[i]&&null!=v[i]){var r=(0,p.th)(v[i],-x/2,-S/2,x,S,g.stroke,!0),o=e.r+e.offset,a=d?c:h;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=b(o.getTicksCoords(),e.transform,u,(0,i.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)t.add(h[c]);return h}}(n,r,e,t),a=function(t,e,n,r){var o=n.axis;if(!(!(0,i.Jv)(r.axisLabelShow,n.get(["axisLabel","show"]))||o.scale.isBlank())){var a=n.getModel("axisLabel"),c=a.get("margin"),p=o.getViewLabels(),d=((0,i.Jv)(r.labelRotate,a.get("rotate"))||0)*v/180,f=m.innerTextLayout(r.rotation,d,r.labelDirection),g=n.getCategories&&n.getCategories(!0),y=[],_=m.isLabelSilent(n),x=n.get("triggerEvent");return(0,i.S6)(p,function(d,v){var S="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(d.tickValue):d.tickValue,w=d.formattedLabel,b=d.rawLabel,M=a;if(g&&g[S]){var T=g[S];(0,i.Kn)(T)&&T.textStyle&&(M=new h.Z(T.textStyle,a,n.ecModel))}var D=M.getTextColor()||n.get(["axisLine","lineStyle","color"]),C=o.dataToCoord(S),k=M.getShallow("align",!0)||f.textAlign,I=(0,i.pD)(M.getShallow("alignMinLabel",!0),k),A=(0,i.pD)(M.getShallow("alignMaxLabel",!0),k),P=M.getShallow("verticalAlign",!0)||M.getShallow("baseline",!0)||f.textVerticalAlign,L=(0,i.pD)(M.getShallow("verticalAlignMinLabel",!0),P),Z=(0,i.pD)(M.getShallow("verticalAlignMaxLabel",!0),P),O=new s.ZP({x:C,y:r.labelOffset+r.labelDirection*c,rotation:f.rotation,silent:_,z2:10+(d.level||0),style:(0,u.Lr)(M,{text:w,align:0===v?I:v===p.length-1?A:k,verticalAlign:0===v?L:v===p.length-1?Z:P,fill:(0,i.mf)(D)?D("category"===o.type?b:"value"===o.type?S+"":S,v):D})});if(O.anid="label_"+S,x){var R=m.makeAxisEventDataBase(n);R.targetType="axisLabel",R.value=b,R.tickIndex=v,"category"===o.type&&(R.dataIndex=S),(0,l.A)(O).eventData=R}e.add(O),O.updateTransform(),y.push(O),t.add(O),O.decomposeTransform()}),y}}(n,r,e,t);if(function(t,e,n){if(!(0,g.WY)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(x(o),x(u)):S(o,a)&&(i?(x(a),x(h)):(x(o),x(u))),!1===r?(x(s),x(c)):S(l,s)&&(r?(x(l),x(p)):(x(s),x(c)))}}(e,a,o),function(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=r*a.get("length"),h=(0,i.ce)(l.getLineStyle(),(0,i.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var p=b(s[c],e.transform,u,h,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var c=(0,y.VT)((0,i.UI)(a,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));(0,y.yl)(c)}},axisName:function(t,e,n,r){var o,h,p=(0,i.Jv)(t.axisName,e.get("name"));if(p){var d,f,g,y,_,x,S,b,M,T=e.get("nameLocation"),D=t.nameDirection,C=e.getModel("nameTextStyle"),k=e.get("nameGap")||0,I=e.axis.getExtent(),A=I[0]>I[1]?-1:1,P=["start"===T?I[0]-A*k:"end"===T?I[1]+A*k:(I[0]+I[1])/2,w(T)?t.labelOffset+D*k:0],L=e.get("nameRotate");null!=L&&(L=L*v/180),w(T)?o=m.innerTextLayout(t.rotation,null!=L?L:t.rotation,D):(d=t.rotation,f=T,g=L||0,y=I,S=(0,c.wW)(g-d),b=y[0]>y[1],M="start"===f&&!b||"start"!==f&&b,(0,c.mW)(S-v/2)?(x=M?"bottom":"top",_="center"):(0,c.mW)(S-1.5*v)?(x=M?"top":"bottom",_="center"):(x="middle",_=S<1.5*v&&S>v/2?M?"left":"right":M?"right":"left"),o={rotation:S,textAlign:_,textVerticalAlign:x},null!=(h=t.axisNameAvailableWidth)&&(isFinite(h=Math.abs(h/Math.sin(o.rotation)))||(h=null)));var Z=C.getFont(),O=e.get("nameTruncate",!0)||{},R=O.ellipsis,z=(0,i.Jv)(t.nameTruncateMaxWidth,O.maxWidth,h),B=new s.ZP({x:P[0],y:P[1],rotation:o.rotation,silent:m.isLabelSilent(e),style:(0,u.Lr)(C,{text:p,font:Z,overflow:"truncate",width:z,ellipsis:R,fill:C.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:C.get("align")||o.textAlign,verticalAlign:C.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:B,componentModel:e,itemName:p}),B.__fullText=p,B.anid="name",e.get("triggerEvent")){var N=m.makeAxisEventDataBase(e);N.targetType="axisName",N.name=p,(0,l.A)(B).eventData=N}r.add(B),B.updateTransform(),n.add(B),B.decomposeTransform()}}};function x(t){t&&(t.ignore=!0)}function S(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=d.yR([]);return d.U1(r,r,-t.rotation),n.applyTransform(d.dC([],r,t.getLocalTransform())),i.applyTransform(d.dC([],r,e.getLocalTransform())),n.intersect(i)}}function w(t){return"middle"===t||"center"===t}function b(t,e,n,i,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=n,e&&((0,f.Ne)(l,l,e),(0,f.Ne)(u,u,e));var p=new o.Z({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p)}return s}let M=m},3056:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9988),r=n(5962),o=n(4292),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.iG(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.np(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.Z)},5581:function(t,e,n){n.d(e,{Z:()=>o});var i=n(7975),r=n(6571);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.gO(s,t);if(null==l||l<0||i.kJ(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint){if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,d=c.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,function(t){return s.mapDimension(t)}),l))||[]}else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},6595:function(t,e,n){n.d(e,{E:()=>h,z:()=>s});var i=n(7975),r=n(4647),o=(0,n(6571).Yf)(),a=i.S6;function s(t,e,n){if(!r.Z.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){!o(t).initialized&&(o(t).initialized=!0,n("click",i.WA(u,"click")),n("mousemove",i.WA(u,"mousemove")),n("globalout",l));function n(n,i){t.on(n,function(n){var r,s,l,u,h,c,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,h=e,p=u.showTip.length,d=u.hideTip.length,p?c=u.showTip[p-1]:d&&(c=u.hideTip[d-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},5:function(t,e,n){n.d(e,{N:()=>E});var i=n(3056),r=n(9988),o=n(7975),a=n(7293),s=n(7810),l=n(4639),u=n(9858),h=n(5962),c=n(9474),p=n(9774),d=n(6571),f=(0,d.Yf)(),g=o.d9,y=o.ak,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.WA(m,e,p);this.updatePointerEl(l,h,d),this.updateLabelEl(l,h,d,e)}else l=this._group=new a.Z,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);S(l,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=h.r(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=f(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new l.ZP(g(e.label));t.add(r),_(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),_(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){r&&i.remove(r),this._handle=null;return}this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.sT(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(r)),S(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.kJ(u)||(u=[u,u]),r.scaleX=u[0]/2,r.scaleY=u[1]/2,p.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(x(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(x(i)),f(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),p.ZH(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,i){!function t(e,n){if(!(o.Kn(e)&&o.Kn(n)))return e===n;var i=!0;return o.S6(n,function(n,r){i=i&&t(e[r],n)}),!!i}(f(n).lastProp,i)&&(f(n).lastProp=i,e?u.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function S(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var w=n(7534),b=n(633),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.fk(i),c=D[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=b.bK(a.model,n);w.gf(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=b.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=w.Zh(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=T(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function T(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var D={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.BL([e,n[0]],[e,n[1]],C(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:w.uE([e-i/2,n[0]],[i,r],C(t))}}};function C(t){return+("x"!==t.dim)}var k=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(n(5352).Z),I=n(6595),A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";I.z("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){I.E("axisPointer",e)},e.prototype.dispose=function(t,e){I.E("axisPointer",e)},e.type="axisPointer",e}(n(4292).Z),P=n(5581),L=(0,d.Yf)();function Z(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){N(r)&&(r=(0,P.Z)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,h,c,p,d,f,g,y,v,m,_,x=N(r),S=t.axesInfo,w=s.axesInfo,b="leave"===i||N(r),M={},T={},D={list:[],map:{}},C={showPointer:(0,o.WA)(R,T),showTooltip:(0,o.WA)(z,D)};(0,o.S6)(s.coordSysMap,function(t,e){var n=x||t.containPoint(r);(0,o.S6)(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(S,t);if(!b&&n&&(!S||o)){var a=o&&o.value;null!=a||x||(a=i.pointToData(r)),null!=a&&O(t,a,C,!1,M)}})});var k={};return(0,o.S6)(w,function(t,e){var n=t.linkGroup;n&&!T[e]&&(0,o.S6)(n.axesInfo,function(e,i){var r=T[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,B(e),B(t)))),k[t.key]=o}})}),(0,o.S6)(k,function(t,e){O(w[e],t,C,!0,M)}),l=T,u=w,h=M.axesInfo=[],(0,o.S6)(u,function(t,e){var n=t.axisPointerModel.option,i=l[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&h.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(N(e)||!t.list.length){i({type:"hideTip"});return}var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(D,r,t,a),c=w,p=0,f=(d=n).getZr(),g="axisPointerLastHighlights",y=L(f)[g]||{},v=L(f)[g]={},(0,o.S6)(c,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,function(t){v[t.seriesIndex+" | "+t.dataIndex]=t})}),m=[],_=[],(0,o.S6)(y,function(t,e){v[e]||_.push(t)}),(0,o.S6)(v,function(t,e){y[e]||m.push(t)}),_.length&&d.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:_}),m.length&&d.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:m}),M}}function O(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries){n.showPointer(t,e);return}var s,l,u,h,c,p,d,f,g=(s=e,h=(u=(l=t).axis).dim,c=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.S6)(l.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(h);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(r,s,u);i=a.dataIndices,n=a.nestestValue}else{if(!(i=t.getData().indicesOfNearest(r[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,c=n,p.length=0),(0,o.S6)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:c}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,o.l7)(r,y[0]),!i&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function R(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function z(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=h.zm(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function B(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function N(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function E(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(k),t.registerComponentView(A),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.KM)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Z)}},5962:function(t,e,n){n.d(e,{KM:()=>o,iG:()=>s,np:()=>u,r:()=>l,zm:()=>c});var i=n(6505),r=n(7975);function o(t,e){var n,o,s,l,u,p,d,f={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=f,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.S6)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",l);if((0,r.S6)(t.getAxes(),(0,r.WA)(m,!1,null)),t.getTooltipAxes&&l&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.S6)(v.baseAxes,(0,r.WA)(m,!y||"cross",g)),y&&(0,r.S6)(v.otherAxes,(0,r.WA)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.S6)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.d9)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.ce)(h,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(u,n,o))}(g,f,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),S=l||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:S,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=w,n.seriesInvolved=n.seriesInvolved||S;var b=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(p,g);if(null!=b){var M=d[b]||(d[b]={axesInfo:{}});M.axesInfo[x]=w,M.mapper=p[b].mapper,w.linkGroup=M}}}}),f.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==e.get(["axisPointer","show"],!0)&&(0,r.S6)(t.coordSysAxesInfo[c(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}(f,t),f}function a(t,e){return"all"===t||(0,r.kJ)(t)&&(0,r.cq)(t,e)>=0||t===e}function s(t){var e=l(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},7534:function(t,e,n){n.d(e,{BL:()=>g,Zh:()=>d,fk:()=>c,gf:()=>f,gk:()=>p,uE:()=>y});var i=n(7975),r=n(7810),o=n(2666),a=n(814),s=n(9634),l=n(1335),u=n(3914),h=n(3361);function c(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function p(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.DX(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.S6(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.HD(s)?a=s.replace("{value}",a):i.mf(s)&&(a=s(u))}return a}function d(t,e,n){var i=s.Ue();return s.U1(i,i,n.rotation),s.Iu(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function f(t,e,n,i,r,s){var l,c,f,g,y,v,m,_,x,S,w,b,M,T,D,C,k,I,A=u.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),m={position:d(i.axis,t,n),align:A.textAlign,verticalAlign:A.textVerticalAlign},_=p(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),x=r.getModel("label"),S=a.MY(x.get("padding")||0),w=x.getFont(),b=o.lP(_,w),M=m.position,T=b.width+S[1]+S[3],D=b.height+S[0]+S[2],"right"===(C=m.align)&&(M[0]-=T),"center"===C&&(M[0]-=T/2),"bottom"===(k=m.verticalAlign)&&(M[1]-=D),"middle"===k&&(M[1]-=D/2),l=M,c=T,f=D,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+c,y)-c,l[1]=Math.min(l[1]+f,v)-f,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(I=x.get("backgroundColor"))&&"auto"!==I||(I=i.get(["axisLine","lineStyle","color"])),e.label={x:M[0],y:M[1],style:(0,h.Lr)(x,{text:_,font:w,fill:x.getTextColor(),padding:S,backgroundColor:I}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},4677:function(t,e,n){n.d(e,{Z:()=>h});var i=n(9988),r=n(7975),o=n(5352),a=n(6500),s=n(6571),l=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function u(t){var e={};return(0,r.S6)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}let h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=u(t);(0,r.TS)(this.option,t,!0),(0,r.TS)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,r.S6)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,r.kW)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,r.S6)(a.I,function(n){var i=this.getReferringComponents((0,a.jQ)(n),s.iP);if(i.specified){e=!0;var o=new l;(0,r.S6)(i.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,o="vertical"===e?"y":"x",u=n.findComponents({mainType:o+"Axis"});if(h(u,o),i){var u=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});h(u,"single")}function h(e,n){var o=e[0];if(o){var a=new l;if(a.add(o.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var u=o.getReferringComponents("grid",s.C6).models[0];u&&(0,r.S6)(e,function(t){o.componentIndex!==t.componentIndex&&u===t.getReferringComponents("grid",s.C6).models[0]&&a.add(t.componentIndex)})}}}i&&(0,r.S6)(a.I,function(e){if(i){var r=n.findComponents({mainType:(0,a.jQ)(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new l;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,r.S6)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent((0,a.jQ)(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,r.S6)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent((0,a.jQ)(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,r.S6)([["start","startValue"],["end","endValue"]],function(i){(null!=t[i[0]]||null!=t[i[1]])&&(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,r.S6)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.Z)},2877:function(t,e,n){n.d(e,{Z:()=>r});var i=n(9988);let r=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n(4292).Z)},6500:function(t,e,n){n.d(e,{BL:()=>l,I:()=>r,jQ:()=>s,kc:()=>a,rg:()=>u});var i=n(7975),r=["x","y","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function a(t){var e=t.get("coordinateSystem");return(0,i.cq)(o,e)>=0}function s(t){return t+"Axis"}function l(t,e){var n,r=(0,i.kW)(),o=[],a=(0,i.kW)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n);function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),o.push(t),function(t){t.eachTargetAxis(function(t,e){(r.get(t)||r.set(t,[]))[e]=!0})}(t)}return o}function u(t){var e=t.ecModel,n={infoList:[],infoMap:(0,i.kW)()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(s(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,l=n.infoMap.get(a);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(r)}}}),n}},8480:function(t,e,n){n.d(e,{N:()=>Q});var i=n(6232),r=n(9988),o=n(4677),a=n(4587),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,a.ZL)(o.Z.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(o.Z),l=n(2877),u=n(2920),h=n(7654),c=n(9474),p=n(619),d=n(7975),f=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,d.ak)(n._mousedownHandler,n),r=(0,d.ak)(n._mousemoveHandler,n),o=(0,d.ak)(n._mouseupHandler,n),a=(0,d.ak)(n._mousewheelHandler,n),s=(0,d.ak)(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=(0,d.ce)((0,d.d9)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),(!0===t||"move"===t||"pan"===t)&&(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),(!0===t||"scale"===t||"zoom"===t)&&(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return(0,r.ZT)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!c.x1(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(!(!this._dragging||!v("moveOnMouseMove",t,this._opt)||"pinch"===t.gestureEvent||p.Tf(this._zr,"globalPan"))){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&c.sT(t.event),y(this,"pan","moveOnMouseMove",t,{dx:e-i,dy:n-r,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){c.x1(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=v("zoomOnMouseWheel",t,this._opt),n=v("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;g(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);g(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!p.Tf(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;g(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(h.Z);function g(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(c.sT(i.event),y(t,e,n,i,r))}function y(t,e,n,i,r){r.isAvailableBehavior=(0,d.ak)(v,null,n,i),t.trigger(e,r)}function v(t,e,n){var i=n[t];return!t||i&&(!(0,d.HD)(i)||e.event[i+"Key"])}var m=n(9774),_=n(6571),x=n(6500),S=(0,_.Yf)();function w(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function b(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function M(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,r.ZT)(e,t),e.prototype.render=function(e,n,i){if(t.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),function(t,e,n){S(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}(i,e,{pan:(0,d.ak)(D.pan,this),zoom:(0,d.ak)(D.zoom,this),scrollMove:(0,d.ak)(D.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){(function(t,e){for(var n=S(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||w(n,a))}}})(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(l.Z),D={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=k[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],h=Math.max(1/i.scale,0);o[0]=(o[0]-l)*h+l,o[1]=(o[1]-l)*h+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if((0,u.Z)(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:C(function(t,e,n,i,r,o){var a=k[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:C(function(t,e,n,i,r,o){return k[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function C(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,i,r);if((0,u.Z)(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var k={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},I=n(8526);function A(t){(0,I.Z)(t),t.registerComponentModel(s),t.registerComponentView(T),function(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=S(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,d.kW)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=(0,x.rg)(t);(0,d.S6)(n.infoList,function(n){var r,o,a,s=n.model.uid,l=i.get(s)||i.set(s,(a=(o={model:r=n.model,containsPoint:(0,d.WA)(M,r),dispatchAction:(0,d.WA)(b,e),dataZoomInfoMap:null,controller:null}).controller=new f(e.getZr()),(0,d.S6)(["pan","zoom","scrollMove"],function(t){a.on(t,function(e){var n=[];o.dataZoomInfoMap.each(function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],a=r&&r(i.dzReferCoordSysInfo,o.model.mainType,o.controller,e);!i.model.get("disabled",!0)&&a&&n.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}}),n.length&&o.dispatchAction(n)})}),o));(l.dataZoomInfoMap||(l.dataZoomInfoMap=(0,d.kW)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n,r,o,a,s=t.controller,l=t.dataZoomInfoMap;if(l){var u=l.keys()[0];null!=u&&(a=l.get(u))}if(!a){w(i,t);return}var h=(n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0,l.each(function(t){var i=t.model,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[n+e]&&(e=a),o=o&&i.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}});s.enable(h.controlType,h.opt),s.setPointerChecker(t.containsPoint),m.T9(t,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}(t)}var P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,a.ZL)(o.Z.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(o.Z),L=n(1969),Z=n(7293),O=n(4484),R=n(1099),z=n(4639),B=n(7810),N=n(1145),E=n(2517),F=n(651),W=n(8306),H=n(5965),V=n(3361),G=L.Z,U="horizontal",X="vertical",Y=["line","bar","candlestick","scatter"],q={easing:"cubicOut",duration:100,delay:0},K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,d.ak)(this._onBrush,this),this._onBrushEnd=(0,d.ak)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),m.T9(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show")){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){m.ZH(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Z.Z;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===U?{right:r.width-i.x-i.width,top:r.height-30-7-7*!!n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=F.tE(t.option);(0,d.S6)(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=F.ME(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===X&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==U||r?n===U&&r?{scaleY:a?1:-1,scaleX:-1}:n!==X||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new G({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new G({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,d.ak)(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u,h=r.getDataExtent(a),c=(h[1]-h[0])*.3;h=[h[0]-c,h[1]+c];var p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(m>0&&e%m){v+=y;return}var n=null==t||isNaN(t)||""===t,i=n?0:(0,E.NU)(t,h,p,!0);n&&!u&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,u=n}),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var S=function(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new Z.Z,i=new O.Z({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new R.Z({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}(1===x);this._displayables.sliderGroup.add(S),this._displayables.dataShadowSegs.push(S)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i=this.ecModel;return e.eachTargetAxis(function(r,o){var a=e.getAxisProxy(r,o).getTargetSeriesModels();(0,d.S6)(a,function(e){if(!(t||!0!==n&&0>(0,d.cq)(Y,e.get("type")))){var a,s=i.getComponent((0,x.jQ)(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),t={thisAxis:s,series:e,thisDim:r,otherDim:l,otherAxisInverse:a}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new G({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new G({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,d.S6)([0,1],function(e){var o=a.get("handleIcon");!H.Pw[o]&&0>o.indexOf("path://")&&0>o.indexOf("image://")&&(o="path://"+o);var s=(0,H.th)(o,-1,0,2,2,null,!0);s.attr({cursor:j(this._orient),draggable:!0,drift:(0,d.ak)(this._onDragMove,this,e),ondragend:(0,d.ak)(this._onDragEnd,this),onmouseover:(0,d.ak)(this._showDataInfo,this,!0),onmouseout:(0,d.ak)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=(0,E.GM)(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,W.vF)(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle");t.add(i[e]=new z.ZP({silent:!0,invisible:!0,style:(0,V.Lr)(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))},this);var c=h;if(u){var p=(0,E.GM)(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new L.Z({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=.8*p,y=e.moveHandleIcon=(0,H.th)(a.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new L.Z({invisible:!0,shape:{y:o[1]-v,height:p+v}})).on("mouseover",function(){s.enterEmphasis(f)}).on("mouseout",function(){s.leaveEmphasis(f)}),r.add(f),r.add(y),r.add(c)}c.attr({draggable:!0,cursor:j(this._orient),drift:(0,d.ak)(this._onDragMove,this,"all"),ondragstart:(0,d.ak)(this._showDataInfo,this,!0),ondragend:(0,d.ak)(this._onDragEnd,this),onmouseover:(0,d.ak)(this._showDataInfo,this,!0),onmouseout:(0,d.ak)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,E.NU)(t[0],[0,100],e,!0),(0,E.NU)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,u.Z)(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?(0,E.NU)(o.minSpan,a,r,!0):null,null!=o.maxSpan?(0,E.NU)(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=(0,E.dt)([(0,E.NU)(i[0],r,a,!0),(0,E.NU)(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=(0,E.dt)(n.slice()),r=this._size;(0,d.S6)([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],h=u.getClipPath();h||(h=new L.Z,u.setClipPath(h)),h.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var h=(0,E.dt)(this._handleEnds.slice());function c(t){var e=B.getTransform(n.handles[t].parent,this.group),a=B.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=B.applyTransform([h[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===U?"middle":a,align:r===U?a:"center",text:o[t]})}c.call(this,0),c.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");(null==r||"auto"===r)&&(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return(0,d.mf)(i)?i(t,o):(0,d.HD)(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,c.sT(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=B.applyTransform([e,n],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new N.Z(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(!!this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var i=this._getViewExtent(),r=[0,100];this._range=(0,E.dt)([(0,E.NU)(n.x,i,r,!0),(0,E.NU)(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(c.sT(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new G({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?q:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=(0,x.rg)(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(l.Z);function j(t){return"vertical"===t?"ns-resize":"ew-resize"}function J(t){t.registerComponentModel(P),t.registerComponentView(K),(0,I.Z)(t)}function Q(t){(0,i.D)(A),(0,i.D)(J)}},8526:function(t,e,n){n.d(e,{Z:()=>g});var i=n(7975),r=n(6500),o=n(2517),a=n(2920),s=n(1335),l=n(4020),u=n(6571),h=i.S6,c=o.dt,p=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if((0,r.kc)(e)){var n=(0,r.jQ)(this._dimName),i=e.getReferringComponents(n,u.C6).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return i.d9(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),s=[0,100],l=[],u=[];h(["start","end"],function(a,h){var c=t[a],p=t[a+"Value"];"percent"===r[h]?(null==c&&(c=s[h]),p=i.parse(o.NU(c,s,n))):(e=!0,p=null==p?n[h]:i.parse(p),c=o.NU(p,n,s)),u[h]=null==p||isNaN(p)?n[h]:p,l[h]=null==c||isNaN(c)?s[h]:c}),c(u),c(l);var p=this._minMaxSpan;function d(t,e,n,r,s){var l=s?"Span":"ValueSpan";(0,a.Z)(0,t,n,"all",p["min"+l],p["max"+l]);for(var u=0;u<2;u++)e[u]=o.NU(t[u],n,r,!0),s&&(e[u]=i.parse(e[u]))}return e?d(u,l,n,s,!1):d(l,u,s,n,!0),{valueWindow:u,percentWindow:l}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e,n,i,r,o,a=this.getTargetSeriesModels();this._dataExtent=(e=this,n=this._dimName,i=[1/0,-1/0],h(a,function(t){(0,s.AH)(i,t.getData(),n)}),r=e.getAxisModel(),[(o=(0,l.Qw)(r.axis.scale,r,i).calculate()).min,o.max]),this._updateMinMaxSpan();var u=this.calculateDataWindow(t.settledOption);this._valueWindow=u.valueWindow,this._percentWindow=u.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&h(r,function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===o){var s=e.getStore(),l=i.UI(r,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,i,o=0;o<r.length;o++){var u=s.get(l[o],t),h=!isNaN(u),c=u<a[0],p=u>a[1];if(h&&!c&&!p)return!0;h&&(i=!0),c&&(e=!0),p&&(n=!0)}return i&&e&&n})}else h(r,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:NaN}));else{var i={};i[n]=a,e.selectRange(i)}});h(r,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;h(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=o.NU(n[0]+a,n,[0,100],!0):null!=r&&(a=o.NU(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=o.M9(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();let d={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,o){var a=t.getComponent((0,r.jQ)(i),o);e(i,o,a,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new p(e,i,o,t),n.push(r.__dzAxisProxy))});var o=(0,i.kW)();return(0,i.S6)(n,function(t){(0,i.S6)(t.getTargetSeriesModels(),function(t){o.set(t.uid,t)})}),o},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};var f=!1;function g(t){!f&&(f=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,d),function(t){t.registerAction("dataZoom",function(t,e){var n=(0,r.BL)(e,t);(0,i.S6)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}},9635:function(t,e,n){n.d(e,{N:()=>h});var i=n(9988),r=n(5352),o=n(4292),a=n(9484),s=n(2387),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.U(this),(0,s.t)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.t)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.fY},e}(r.Z),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.type="dataset",e}(o.Z);function h(t){t.registerComponentModel(l),t.registerComponentView(u)}},5201:function(t,e,n){n.d(e,{N:()=>a});var i=n(6435),r=n(5),o=n(6232);function a(t){(0,o.D)(i.N),(0,o.D)(r.N)}},6435:function(t,e,n){n.d(e,{N:()=>tc});var i=n(9988),r=n(4292),o=n(5352),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(o.Z),s=n(1969),l=n(7975),u=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),h=n(6571),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);l.jB(c,u);var p={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},d=l.TS({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),f=l.TS({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},p),g=l.TS({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},f),y=l.ce({logBase:10},f);let v={category:d,value:f,time:g,log:y};var m=n(651),_=n(6129),x={value:1,category:1,time:1,log:1};function S(t,e,n,r){(0,l.S6)(x,function(o,a){var s=(0,l.TS)((0,l.TS)({},v[a],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.ZT)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.YD)(this),i=n?(0,m.tE)(t):{},r=e.getTheme();(0,l.TS)(t,r.get(a+"Axis")),(0,l.TS)(t,this.getDefaultOption()),t.type=w(t),n&&(0,m.dt)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.Z.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var b=n(1335),M=n(9495),T=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return l.UI(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.hX(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),D=n(9634),C=n(7605),k=["x","y"];function I(t){return"interval"===t.type||"time"===t.type}var A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=k,e}return(0,i.ZT)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(I(t)&&I(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=(0,D.U_)([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new M.Z(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,C.Ne)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return(0,C.Ne)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new M.Z(i,r,o,a)},e}(T),P=n(2517),L=n(2666),Z=(0,h.Yf)();function O(t,e){var n,i,r,o,a=R(t,"labels"),s=(0,b.rk)(e),u=z(a,s);return u||(l.mf(s)?r=E(t,s):(o="auto"===s?null!=(i=Z(n=t).autoInterval)?i:Z(n).autoInterval=n.calculateCategoryInterval():s,r=N(t,o)),B(a,s,{labels:r,labelCategoryInterval:o}))}function R(t,e){return Z(t)[e]||(Z(t)[e]=[])}function z(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function B(t,e,n){return t.push({key:e,value:n}),n}function N(t,e,n){var i=(0,b.J9)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=(0,b.WY)(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function E(t,e,n){var i=t.scale,r=(0,b.J9)(t),o=[];return l.S6(i.getTicks(),function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})}),o}var F=[0,1];function W(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var H=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,i.ZT)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,P.M9)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count()),(0,P.NU)(t,F,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count());var r=(0,P.NU)(t,n,F,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=("category"===this.type?function(t,e){var n,i,r=R(t,"ticks"),o=(0,b.rk)(e),a=z(r,o);if(a)return a;if((!e.get("show")||t.scale.isBlank())&&(n=[]),l.mf(o))n=E(t,o,!0);else if("auto"===o){var s=O(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.UI(s.labels,function(t){return t.tickValue})}else n=N(t,i=o,!0);return B(r,o,{ticks:n,tickCategoryInterval:i})}(this,e):{ticks:l.UI(this.scale.getTicks(),function(t){return t.value})}).ticks,i=(0,l.UI)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r,o,a=e.length;if(t.onBand&&!n&&a){var s=t.getExtent();if(1===a)e[0].coord=s[0],r=e[1]={coord:s[1]};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;(0,l.S6)(e,function(t){t.coord-=h/2}),o=1+t.scale.getExtent()[1]-e[a-1].tickValue,r={coord:e[a-1].coord+h*o},e.push(r)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]}),p(s[1],r.coord)&&(i?r.coord=s[1]:e.pop()),i&&p(r.coord,s[1])&&e.push({coord:s[1]})}function p(t,e){return t=(0,P.NM)(t),e=(0,P.NM)(e),c?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,l.UI)(e,function(t){return(0,l.UI)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){var t,e,n,i,r,o;return("category"===this.type?(t=this,e=t.getLabelModel(),n=O(t,e),!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n):(i=this,r=i.scale.getTicks(),o=(0,b.J9)(i),{labels:l.UI(r,function(t,e){return{level:t.level,formattedLabel:o(t,e),rawLabel:i.scale.getLabel(t),tickValue:t.value}})})).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+ +!!this.onBand;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),r=(0,b.J9)(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,a=t.scale,s=a.getExtent(),l=a.count();if(s[1]-s[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=s[0],c=t.dataToCoord(h+1)-t.dataToCoord(h),p=Math.abs(c*Math.cos(o)),d=Math.abs(c*Math.sin(o)),f=0,g=0;h<=s[1];h+=u){var y=0,v=0,m=L.lP(r({value:h}),i.font,"center","top");y=1.3*m.width,v=1.3*m.height,f=Math.max(f,y,7),g=Math.max(g,v,7)}var _=f/p,x=g/d;isNaN(_)&&(_=1/0),isNaN(x)&&(x=1/0);var S=Math.max(0,Math.floor(Math.min(_,x))),w=Z(t.model),M=t.getExtent(),T=w.lastAutoInterval,D=w.lastTickCount;return null!=T&&null!=D&&1>=Math.abs(T-S)&&1>=Math.abs(D-l)&&T>S&&w.axisExtent0===M[0]&&w.axisExtent1===M[1]?S=T:(w.lastTickCount=l,w.lastAutoInterval=S,w.axisExtent0=M[0],w.axisExtent1=M[1]),S}(this)},t}()),V=n(633),G=n(3845),U=n(8911),X=Math.log,Y=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=k,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=(0,l.XP)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,u=a.scale;(0,G.lM)(u)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,b.Jk)(u,s),(0,G.lM)(u)&&(e=a))}r.length&&(e||(e=r.pop(),(0,b.Jk)(e.scale,e.model)),(0,l.S6)(r,function(t){!function(t,e,n){var i=U.Z.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=(0,b.Xv)(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=X(t.base);u=[X(u[0])/p,X(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)f=(0,G.r1)(f),y=u[0]+f*a;else if(c)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=(0,G.r1)(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=(0,G.r1)(f));var v=f*a;y=Math.ceil(u[1]/f)*f,(g=(0,P.NM)(y-v))<0&&u[0]>=0?(g=0,y=(0,P.NM)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,P.NM)(v))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*_),i.setInterval.call(t,f),(m||_)&&i.setNiceExtent.call(t,g+f,y-f)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};(0,l.S6)(n.x,function(t){K(n,"y",t,r)}),(0,l.S6)(n.y,function(t){K(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=(0,m.ME)(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.S6)(a,function(t){var e,n,i,r,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,n=a?o.x:o.y,r=(i=e.getExtent())[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return r-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return r-t+n}})}s(),r&&((0,l.S6)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,b.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),(0,l.S6)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,l.Kn)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",h.C6).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",h.C6).models[0],a=t.gridModel,s=this._coordsList;return i?(e=i.coordinateSystem,0>(0,l.cq)(s,e)&&(e=null)):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?n=this.getAxis("x",r.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(n,i){if(q(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new H(e,(0,b.aG)(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,(0,l.S6)(a.x,function(e,n){(0,l.S6)(a.y,function(r,o){var a="x"+n+"y"+o,s=new A(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,l.S6)((0,b.PY)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,l.S6)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,V.Yh)(t)){var i=(0,V.Mk)(t),r=i.xAxisModel,o=i.yAxisModel;if(q(r,e)&&q(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,l.S6)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);0>(0,l.cq)(e,r)&&e.push(r),0>(0,l.cq)(n,o)&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if((0,V.Yh)(t)){var e=(0,V.Mk)(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=k,t}();function q(t,e){return t.getCoordSysModel()===e}function K(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)j(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&j(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function j(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,b.Yb)(t)}var J=n(7293),Q=n(7810),$=n(2859),tt=n(3914),te=n(3056),tn=(0,h.Yf)(),ti=["axisLine","axisTickLabel","axisName"],tr=["splitArea","splitLine","minorSplitLine"],to=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new J.Z,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=V.bK(a,e),u=new tt.Z(e,l.l7({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if((0,G.lM)(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.S6(ti,u.add,u),this._axisGroup.add(u.getGroup()),l.S6(tr,function(t){e.get([t,"show"])&&ta[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Q.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){tn(this).splitAreaColors=null},e.type="cartesianAxis",e}(te.Z),ta={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=l.kJ(s)?s:[s];for(var u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=0,p=r.getTicksCoords({tickModel:o}),d=[],f=[],g=a.getLineStyle(),y=0;y<p.length;y++){var v=r.toGlobalCoord(p[y].coord);h?(d[0]=v,d[1]=u.y,f[0]=v,f[1]=u.y+u.height):(d[0]=u.x,d[1]=v,f[0]=u.x+u.width,f[1]=v);var m=c++%s.length,_=p[y].tickValue,x=new $.Z({anid:null!=_?"line_"+p[y].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:l.ce({stroke:s[m]},g),silent:!0});Q.subPixelOptimizeLine(x.shape,g.lineWidth),e.add(x)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var d=0;d<l[p].length;d++){var f=r.toGlobalCoord(l[p][d].coord);s?(u[0]=f,u[1]=a.y,h[0]=f,h[1]=a.y+a.height):(u[0]=a.x,u[1]=f,h[0]=a.x+a.width,h[1]=f);var g=new $.Z({anid:"minor_line_"+l[p][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});Q.subPixelOptimizeLine(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),h=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var p=u.length,d=tn(t).splitAreaColors,f=l.kW(),g=0;if(d)for(var y=0;y<c.length;y++){var v=d.get(c[y].tickValue);if(null!=v){g=(v+(p-1)*y)%p;break}}var m=r.toGlobalCoord(c[0].coord),_=a.getAreaStyle();u=l.kJ(u)?u:[u];for(var y=1;y<c.length;y++){var x=r.toGlobalCoord(c[y].coord),S=void 0,w=void 0,b=void 0,M=void 0;r.isHorizontal()?(S=m,w=h.y,b=x-S,M=h.height,m=S+b):(S=h.x,w=m,b=h.width,M=x-w,m=w+M);var T=c[y-1].tickValue;null!=T&&f.set(T,g),e.add(new s.Z({anid:null!=T?"area_"+T:null,shape:{x:S,y:w,width:b,height:M},style:l.ce({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}tn(t).splitAreaColors=f}}}(t,e,n,i)}},ts=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="xAxis",e}(to),tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=ts.type,e}return(0,i.ZT)(e,t),e.type="yAxis",e}(to),tu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.ZT)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.Z({shape:t.coordinateSystem.getRect(),style:(0,l.ce)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.Z),th={offset:0};function tc(t){t.registerComponentView(tu),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",Y),S(t,"x",c,th),S(t,"y",c,th),t.registerComponentView(ts),t.registerComponentView(tl),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},619:function(t,e,n){n.d(e,{Ar:()=>s,Tf:()=>l,qn:()=>a});var i=n(9161),r=n(7975),o="\0_ec_interaction_mutex";function a(t,e,n){u(t)[e]=n}function s(t,e,n){var i=u(t);i[e]===n&&(i[e]=null)}function l(t,e){return!!u(t)[e]}function u(t){return t[o]||(t[o]={})}i.zl({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.ZT)},630:function(t,e,n){n.d(e,{b:()=>a,l:()=>s});var i=n(651),r=n(814),o=n(1969);function a(t,e,n){var r=e.getBoxLayoutParams(),o=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},s=(0,i.ME)(r,a,o);(0,i.BZ)(e.get("orient"),t,e.get("itemGap"),s.width,s.height),(0,i.p$)(t,r,a,o)}function s(t,e){var n=r.MY(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Z({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}},2920:function(t,e,n){function i(t,e,n,i,a,s){t=t||0;var l,u=n[1]-n[0];if(null!=a&&(a=o(a,[0,u])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===i){var h=Math.abs(e[1]-e[0]);h=o(h,[0,u]),a=s=o(h,[a,s]),i=0}e[0]=o(e[0],n),e[1]=o(e[1],n);var c=r(e,i);e[i]+=t;var p=a||0,d=n.slice();return c.sign<0?d[0]+=p:d[1]-=p,e[i]=o(e[i],d),l=r(e,i),null!=a&&(l.sign!==c.sign||l.span<a)&&(e[1-i]=e[i]+c.sign*a),l=r(e,i),null!=s&&l.span>s&&(e[1-i]=e[i]+l.sign*s),e}function r(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function o(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}n.d(e,{Z:()=>i})},7806:function(t,e,n){n.d(e,{N:()=>H});var i=n(6232),r=n(9988),o=n(7975),a=n(6505),s=n(6571),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,function(t,i){var r;o.HD(t)&&(t={type:t}),e[i]=o.TS(t,"all"===(r=t.type)?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===r?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),l=o.UI(i,function(t){return((o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name))?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))},this);this._data=o.hX(l,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;o.S6(n,function(t){e[t.get("name")]=!1})}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(n(5352).Z),u=n(4411),h=n(7293),c=n(4639),p=n(1969),d=n(7810),f=n(8306),g=n(3361),y=n(630),v=n(651),m=n(4292),_=n(5965),x=n(6151),S=n(428),w=o.WA,b=o.S6,M=h.Z,T=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new M),this.group.add(this._selectorGroup=new M),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);s&&(!l||"auto"===l)&&(l="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,s,a,l);var u=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),p=v.ME(u,h,c),d=this.layoutInner(t,r,p,i,s,l),f=v.ME(o.ce({width:d.width,height:d.height},u),h,c);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,y.l)(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,s){var l=this.getContentGroup(),h=o.kW(),c=e.get("selectedMode"),p=[];n.eachRawSeries(function(t){t.get("legendHoverLink")||p.push(t.id)}),b(e.getData(),function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var d=new M;d.newline=!0,l.add(d);return}var f=n.getSeriesByName(s)[0];if(!h.get(s)){if(f){var g=f.getData(),y=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(f,s,a,r,e,t,y,m,v,c,i);_.on("click",w(D,s,null,i,p)).on("mouseover",w(k,f.name,null,i,p)).on("mouseout",w(I,f.name,null,i,p)),n.ssr&&_.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=f.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}else n.eachRawSeries(function(l){if(!h.get(s)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(d.containName(s)){var f=d.indexOfName(s),g=d.getItemVisual(f,"style"),y=d.getItemVisual(f,"legendIcon"),v=(0,u.Qc)(g.fill);v&&0===v[3]&&(v[3]=.2,g=o.l7(o.l7({},g),{fill:(0,u.Pz)(v,"rgba")}));var m=this._createItem(l,s,a,r,e,t,{},g,y,c,i);m.on("click",w(D,null,s,i,p)).on("mouseover",w(k,null,s,i,p)).on("mouseout",w(I,null,s,i,p)),n.ssr&&m.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=l.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}}},this)}},this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();b(t,function(t){var i=t.type,r=new c.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,g.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,f.vF)(r)})},e.prototype._createItem=function(t,e,n,i,r,a,s,l,u,h,y){var v=t.visualDrawType,m=r.get("itemWidth"),S=r.get("itemHeight"),w=r.isSelected(e),T=i.get("symbolRotate"),D=i.get("symbolKeepAspect"),C=i.get("icon"),k=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=2*(e.lineWidth>0)),b(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?(0,x.I)(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(u=C||u||"roundRect",i,s,l,v,w,y),I=new M,A=i.getModel("textStyle");if(o.mf(t.getLegendIcon)&&(!C||"inherit"===C))I.add(t.getLegendIcon({itemWidth:m,itemHeight:S,icon:u,iconRotate:T,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:D}));else{var P,L,Z,O="inherit"===C&&t.getData().getVisual("symbol")?"inherit"===T?t.getData().getVisual("symbolRotate"):T:0;I.add((L=(P={itemWidth:m,itemHeight:S,icon:u,iconRotate:O,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:D}).icon||"roundRect",(Z=(0,_.th)(L,0,0,P.itemWidth,P.itemHeight,P.itemStyle.fill,P.symbolKeepAspect)).setStyle(P.itemStyle),Z.rotation=(P.iconRotate||0)*Math.PI/180,Z.setOrigin([P.itemWidth/2,P.itemHeight/2]),L.indexOf("empty")>-1&&(Z.style.stroke=Z.style.fill,Z.style.fill="#fff",Z.style.lineWidth=2),Z))}var R=r.get("formatter"),z=e;o.HD(R)&&R?z=R.replace("{name}",null!=e?e:""):o.mf(R)&&(z=R(e));var B=w?A.getTextColor():i.get("inactiveColor");I.add(new c.ZP({style:(0,g.Lr)(A,{text:z,x:"left"===a?m+5:-5,y:S/2,fill:B,align:a,verticalAlign:"middle"},{inheritColor:B})}));var N=new p.Z({shape:I.getBoundingRect(),style:{fill:"transparent"}}),E=i.getModel("tooltip");return E.get("show")&&d.setTooltipConfig({el:N,componentModel:r,itemName:e,itemTooltipOption:E.option}),I.add(N),I.eachChild(function(t){t.silent=!0}),N.silent=!h,this.getContentGroup().add(I),(0,f.vF)(I),I.__legendDataIndex=n,I},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();v.BZ(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),!r)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();v.BZ("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+p+h[f],m[g]=Math.max(l[g],h[g]),m[y]=Math.min(0,h[y]+c[1-d]),m},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(m.Z);function D(t,e,n,i){I(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),k(t,e,n,i)}function C(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function k(t,e,n,i){C(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function I(t,e,n,i){C(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function A(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function P(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();(0,o.S6)(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}})}),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function L(t){t.registerComponentModel(l),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,A),t.registerSubTypeDefaulter("legend",function(){return"plain"}),t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(P,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(P,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(P,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(P,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(P,"unSelect"))}var Z=n(4587),O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,v.tE)(e);t.prototype.init.call(this,e,n,i),R(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),R(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,Z.ZL)(l.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(l);function R(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,v.dt)(e,n,{type:"box",ignoreSize:!!r})}var z=n(9858),B=h.Z,N=["width","height"],E=["x","y"],F=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new B),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new B)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,l);var h=this._controllerGroup,p=n.get("pageIconSize",!0),f=o.kJ(p)?p:[p,p];y("pagePrev",0);var g=n.getModel("pageTextStyle");function y(t,e){var i=d.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(u._pageGo,u,t+"DataIndex",n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});i.name=t,h.add(i)}h.add(new c.ZP({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),l=t.getOrient().index,u=N[l],h=E[l],c=N[1-l],p=E[1-l];r&&v.BZ("horizontal",s,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=s.getBoundingRect(),g=[-f.x,-f.y],y=o.d9(n);r&&(y[u]=n[u]-f[u]-d);var m=this._layoutContentAndController(t,i,y,l,u,c,p,h);if(r){if("end"===a)g[l]+=m[u]+d;else{var _=f[u]+d;g[l]-=_,m[h]-=_}m[u]+=f[u]+d,g[1-l]+=m[p]+m[c]/2-f[c]/2,m[c]=Math.max(m[c],f[c]),m[p]=Math.min(m[p],f[p]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,l){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;v.BZ(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),v.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),f=c.getBoundingRect(),g=this._showController=d[r]>n[r],y=[-d.x,-d.y];e||(y[i]=u[l]);var m=[0,0],_=[-f.x,-f.y],x=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?_[i]+=n[r]-f[r]:m[i]+=f[r]+x),_[1-i]+=d[a]/2-f[a]/2,u.setPosition(y),h.setPosition(m),c.setPosition(_);var S={x:0,y:0};if(S[r]=g?n[r]:d[r],S[a]=Math.max(d[a],f[a]),S[s]=Math.min(0,f[s]+_[1-i]),h.__rectSize=n[r],g){var w={x:0,y:0};w[r]=Math.max(n[r]-f[r]-x,0),w[a]=S[a],h.setClipPath(new p.Z({shape:w})),h.__rectSize=w[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return null!=b.pageIndex&&z.D(u,{x:b.contentPosition[0],y:b.contentPosition[1]},g?t:null),this._updatePageInfoView(t,b),S},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;o.S6(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=N[r],a=E[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=+!!h,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!_(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(var f=s-1,g=d,y=d,v=null;f>=-1;--f)(!(v=m(l[f]))||!_(y,v.s))&&g.i<y.i&&(y=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){var e,n;return this._showController?(this.getContentGroup().eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n):0},e.type="legend.scroll",e}(T);function W(t){(0,i.D)(L),t.registerComponentModel(O),t.registerComponentView(F),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}function H(t){(0,i.D)(L),(0,i.D)(W)}},3709:function(t,e,n){n.d(e,{N:()=>g});var i=n(9988),r=n(7975),o=n(4639),a=n(1969),s=n(428),l=n(3361),u=n(651),h=n(5352),c=n(4292),p=n(814),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.ZT)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(h.Z),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,h=t.getModel("textStyle"),c=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.pD(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.ZP({style:(0,l.Lr)(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.ZP({style:(0,l.Lr)(c,{text:v,fill:c.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),S=t.get("triggerEvent",!0);g.silent=!_&&!S,m.silent=!x&&!S,_&&g.on("click",function(){(0,p.MI)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.MI)(x,"_"+t.get("subtarget"))}),(0,s.A)(g).eventData=(0,s.A)(m).eventData=S?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=w.width,b.height=w.height;var M=(0,u.ME)(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"!==d||(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var D=M.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var k=new a.Z({shape:{x:w.x-D[3],y:w.y-D[0],width:w.width+D[1]+D[3],height:w.height+D[0]+D[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});i.add(k)}},e.type="title",e}(c.Z);function g(t){t.registerComponentModel(d),t.registerComponentView(f)}},7745:function(t,e,n){n.d(e,{N:()=>j});var i=n(5),r=n(6232),o=n(9988),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(n(5352).Z),s=n(7975),l=n(4647),u=n(9474),h=n(9708),c=n(814);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.Z.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var f=d(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=d(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,c.zW)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(1481),m=y(g,"transition"),_=y(f,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.Z.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[f,a]]}function w(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,h.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var b=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.HD)(r)?document.querySelector(r):(0,s.Mh)(r)?r:(0,s.mf)(r)&&r(t.getDom()));w(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,u.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,u,h,p,d,f,g,y,w,b,M,T,D,C,k,I,A,P,L=this.el,Z=L.style,O=this._styleCoord;L.innerHTML?Z.cssText=x+(n=!this._firstShow,i=this._longHide,r=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),d=t.get("shadowOffsetY"),f=t.getModel("textStyle"),g=(0,v.d_)(t,"html"),y=p+"px "+d+"px "+u+"px "+h,r.push("box-shadow:"+y),n&&o&&r.push((M="opacity"+(b=" "+o/2+"s "+(w="cubic-bezier(0.23,1,0.32,1)"))+",visibility"+b,i||(b=" "+o+"s "+w,M+=l.Z.transformSupported?","+_+b:",left"+b+",top"+b),m+":"+M)),a&&r.push("background-color:"+a),(0,s.S6)(["width","color","radius"],function(e){var n="border-"+e,i=(0,c.zW)(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push((T=[],D=f.get("fontSize"),(C=f.getTextColor())&&T.push("color:"+C),T.push("font:"+f.getFont()),D&&T.push("line-height:"+Math.round(3*D/2)+"px"),k=f.get("textShadowColor"),I=f.get("textShadowBlur")||0,A=f.get("textShadowOffsetX")||0,P=f.get("textShadowOffsetY")||0,k&&I&&T.push("text-shadow:"+A+"px "+P+"px "+I+"px "+k),(0,s.S6)(["decoration","align"],function(t){var e=f.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=g&&r.push("padding:"+(0,c.MY)(g).join("px ")+"px"),r.join(";")+";")+S(O[0],O[1],!0)+"border-color:"+(0,c.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):Z.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.HD)(r)&&"item"===n.get("trigger")&&!p(n)&&(a=function(t,e,n){if(!(0,s.HD)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,c.Lz)(e);var l=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",u=Math.max(1.5*Math.round(a),6),h="",p=_+":";(0,s.cq)(["left","right"],l)>-1?(h+="top:50%",p+="translateY(-50%) rotate("+(r="left"===l?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(r="top"===l?225:45)+"deg)");var d=r*Math.PI/180,f=u+a,g=f*Math.abs(Math.cos(d))+f*Math.abs(Math.sin(d));h+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",h+";"+p+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,s.HD)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.kJ)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.Mh)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(w(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,s.S6)(r,function(t){i[t[0]]=t[1]})}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),M=n(4639),T=n(2159),D=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),I(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s.Kn(t)&&(0,T._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new M.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),s.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=k(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;I(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=C(r.borderWidth||0),a=k(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function C(t){return Math.max(0,t)}function k(t){var e=C(t.shadowBlur||0),n=C(t.shadowOffsetX||0),i=C(t.shadowOffsetY||0);return{left:C(e-n),right:C(e+n),top:C(e-i),bottom:C(e+i)}}function I(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=n(2517),P=n(1969),L=n(5581),Z=n(651),O=n(6505),R=n(6595),z=n(1335),B=n(7534),N=n(6571),E=n(4292),F=n(926),W=n(428),H=n(8780),V=n(6501),G=n(9774),U=new P.Z({shape:{x:-1,y:-1,width:2,height:2}}),X=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.prototype.init=function(t,e){if(!l.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,N.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new D(e):new b(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,G.T9)(this,"_updatePosition",50,"fixRate"):(0,G.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");R.z("itemTooltip",this._api,(0,s.ak)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!l.Z.node&&n.getDom()){var r=q(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,N.zH)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,N.HZ)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,W.A)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)U.x=i.x,U.y=i.y,U.update(),(0,W.A)(U).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:U},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=(0,L.Z)(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(q(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===Y([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n,i,r=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(r){if("legend"===(0,W.A)(r).ssrType)return;this._lastDataByCoordSys=null,(0,V.o)(r,function(t){return null!=(0,W.A)(t).dataIndex?(n=t,!0):null!=(0,W.A)(t).tooltipConfig?(i=t,!0):void 0},!0),n?this._showSeriesItemTooltip(t,n,e):i?this._showComponentItemTooltip(t,i,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.ak)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Y([e.tooltipOption],i),a=this._renderMode,l=[],u=(0,v.TX)("section",{blocks:[],noHeader:!0}),h=[],p=new v.iv;(0,s.S6)(t,function(t){(0,s.S6)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=B.gk(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.TX)("section",{header:o,noHeader:!(0,s.fy)(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,s.S6)(t.seriesDataIndices,function(u){var f=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=f.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=z.DX(e.axis,{value:r}),y.axisValueLabel=o,y.marker=p.makeTooltipMarker("item",(0,c.Lz)(y.color),a);var v=(0,H.f)(f.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=Y([f],i).get("valueFormatter");d.blocks.push(_?(0,s.l7)({valueFormatter:_},m):m)}v.text&&h.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),h.reverse();var d=e.position,f=o.get("order"),g=(0,v.BY)(u,p,a,f,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,W.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,h=r.dataType,p=l.getData(h),d=this._renderMode,f=t.positionDefault,g=Y([p.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,h),_=new v.iv;m.marker=_.makeTooltipMarker("item",(0,c.Lz)(m.color),d);var x=(0,H.f)(l.formatTooltip(u,!1,h)),S=g.get("order"),w=g.get("valueFormatter"),b=x.frag,M=b?(0,v.BY)(w?(0,s.l7)({valueFormatter:w},b):b,_,d,S,i.get("useUTC"),g.get("textStyle")):x.text,T="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,M,m,T,t.offsetX,t.offsetY,t.position,t.target,_)}),n({type:"showTip",dataIndexInside:u,dataIndex:p.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=(0,W.A)(e),r=i.tooltipConfig.option||{};if((0,s.HD)(r)){var o=r;r={content:o,formatter:o}}var a=[r],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&a.push(l),a.push({formatter:r.content});var u=t.positionDefault,h=Y(a,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new v.iv;this._showOrMove(h,function(){var n=(0,s.d9)(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var d=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(p){if((0,s.HD)(p)){var g=t.ecModel.get("useUTC"),y=(0,s.kJ)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;d=p,v&&(d=(0,F.WU)(y.axisValue,d,g)),d=(0,c.kF)(d,n,!0)}else if((0,s.mf)(p)){var m=(0,s.ak)(function(e,i){e===this._ticket&&(h.setContent(i,u,t,f,a),this._updatePosition(t,a,r,o,h,n,l))},this);this._ticket=i,d=p(n,i,m)}else d=p}h.setContent(d,u,t,f,a),h.show(t,f),this._updatePosition(t,a,r,o,h,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,s.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,s.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),d=t.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),(0,s.mf)(e)&&(e=e([n,i],o,r.el,f,{viewSize:[l,u],contentSize:h.slice()})),(0,s.kJ)(e))n=(0,A.GM)(e[0],l),i=(0,A.GM)(e[1],u);else if((0,s.Kn)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,Z.ME)(g,{width:l,height:u});n=y.x,i=y.y,c=null,d=null}else if((0,s.HD)(e)&&a){var v=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,f,h,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,S,w,b,M,T,D,C,v=(m=n,_=i,x=r,S=l,w=u,b=c?null:20,M=d?null:20,D=(T=x.getSize())[0],C=T[1],null!=b&&(m+D+b+2>S?m-=D+b:m+=b),null!=M&&(_+C+M>w?_-=C+M:_+=M),[m,_]);n=v[0],i=v[1]}if(c&&(n-=K(c)?h[0]/2:"right"===c?h[0]:0),d&&(i-=K(d)?h[1]/2:"bottom"===d?h[1]:0),p(t)){var k,I,P,L,O,R,z,B,v=(k=n,I=i,P=r,L=l,O=u,z=(R=P.getSize())[0],B=R[1],k=Math.min(k+z,L)-z,I=Math.min(I+B,O)-B,[k=Math.max(k,0),I=Math.max(I,0)]);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,s.S6)(n,function(n,o){var a=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&(0,s.S6)(a,function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.S6)(a,function(t,e){var n=u[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,s.S6)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.Z.node&&e.getDom()&&((0,G.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),R.E("itemTooltip",e))},e.type="tooltip",e}(E.Z);function Y(t,e,n){var i,r=e.ecModel;n?(i=new O.Z(n,r,r),i=new O.Z(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof O.Z&&(a=a.get("tooltip",!0)),(0,s.HD)(a)&&(a={formatter:a}),a&&(i=new O.Z(a,i,r)))}return i}function q(t,e){return t.dispatchAction||(0,s.ak)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}function j(t){(0,r.D)(i.N),t.registerComponentModel(a),t.registerComponentView(X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.ZT)}},1481:function(t,e,n){n.d(e,{BY:()=>y,TX:()=>p,d_:()=>x,iv:()=>S,jT:()=>_});var i=n(9708),r=n(814),o=n(7975),a=n(4503),s=n(2517),l="line-height:1";function u(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function d(t){return"section"===t.type}function f(t,e,n,s){var p,y=e.noHeader,_={html:h[p=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.S6)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:c[p]},x=[],S=e.blocks||[];(0,o.hu)(!S||(0,o.kJ)(S)),S=S||[];var w=t.orderMode;if(e.sortBlocks&&w){S=S.slice();var b={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(b,w)){var M=new a.ID(b[w],null);S.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&S.reverse()}(0,o.S6)(S,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var T="richText"===t.renderMode?x.join(_.richText):v(x.join(""),y?n:_.html);if(y)return T;var D=(0,r.uX)(e.header,"ordinal",t.useUTC),C=u(s,t.renderMode).nameStyle;return"richText"===t.renderMode?m(t,D,C)+_.richText+T:v('<div style="'+C+";"+l+';">'+(0,i.F1)(D)+"</div>"+T,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,h=e.noValue,c=!e.markerType,p=e.name,d=t.useUTC,f=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,function(t,e){return(0,r.uX)(t,(0,o.kJ)(I)?I[e]:I,d)})};if(!l||!h){var g,y,_,x,S,w,b,M,T,D,C=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),k=l?"":(0,r.uX)(p,"ordinal",d),I=e.valueType,A=h?[]:f(e.value,e.dataIndex),P=!c||!l,L=!c&&l,Z=u(a,s),O=Z.nameStyle,R=Z.valueStyle;return"richText"===s?(c?"":C)+(l?"":m(t,k,O))+(h?"":(g=t,y=A,_=P,x=L,S=[R],_&&S.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(y)?y.join(" "):y,S))):v((c?"":C)+(l?"":(w=k,'<span style="'+O+";"+(c?"":"margin-left:2px")+'">'+(0,i.F1)(w)+"</span>"))+(h?"":(b=A,M=P,T=L,D=R,b=(0,o.kJ)(b)?b:[b],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+D+'">'+(0,o.UI)(b,function(t){return(0,i.F1)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e){return'<div style="margin: '+e+"px 0 0;"+l+';">'+t+'<div style="clear:both"></div></div>'}function m(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.Lz)(n)}function x(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var S=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,function(t){return(0,o.l7)(n,t)}):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},1335:function(t,e,n){n.d(e,{Yb:()=>Z,Do:()=>z,PY:()=>E,AH:()=>F,aG:()=>L,rk:()=>B,WY:()=>N,Xv:()=>A,J9:()=>O,Jk:()=>P,DX:()=>R});var i=n(7975),r=n(9988),o=n(896),a=n(6129),s=n(3845),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.Z({})),(0,i.kJ)(r)&&(r=new a.Z({categories:(0,i.UI)(r,function(t){return(0,i.Kn)(t)?t.value:t})})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.ZT)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,i.HD)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.Z);o.Z.registerClass(l);var u=n(8911),h=n(8783),c=n(9495),p=n(2517),d=n(926),f=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,r.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,d.k7)(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var r=this.getSetting("useUTC"),o=function(t,e,n,r){for(var o=d.FW,a=0,s=[],l=[],u=0,h=0,c=0;c<o.length&&a++<1e4;++c){var f=(0,d.Tj)(o[c]);if((0,d.$K)(o[c])&&(function(t,i,o){var a=[],s=!i.length;if(!function(t,e,n,i){var r=p.sG(e),o=p.sG(n),a=function(t){return(0,d.q5)(r,t,i)===(0,d.q5)(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},f=function(){return c()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return f();case"millisecond":return f()&&a("millisecond")}}((0,d.Tj)(t),r[0],r[1],n)){s&&(i=[{value:function(t,e,n){var i=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":i[(0,d.vh)(n)](0);case"day":i[(0,d.f5)(n)](1);case"hour":i[(0,d.En)(n)](0);case"minute":i[(0,d.eN)(n)](0);case"second":i[(0,d.rM)(n)](0),i[(0,d.cb)(n)](0)}return i.getTime()}(new Date(r[0]),t,n)},{value:r[1]}]);for(var l=0;l<i.length-1;l++){var u,h,c,f=i[l].value,g=i[l+1].value;if(f!==g){var y=void 0,m=void 0,_=void 0,x=!1;switch(t){case"year":y=Math.max(1,Math.round(e/d.s2/365)),m=(0,d.sx)(n),_=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":y=(u=e/(30*d.s2))>6?6:u>3?3:u>2?2:1,m=(0,d.CW)(n),_=(0,d.vh)(n);break;case"week":case"half-week":case"day":y=(h=e/d.s2)>16?16:h>7.5?7:h>3.5?4:h>1.5?2:1,m=(0,d.xz)(n),_=(0,d.f5)(n);break;case"half-day":case"quarter-day":case"hour":y=(c=e/d.dV)>12?12:c>6?6:c>3.5?4:c>2?2:1,m=(0,d.Wp)(n),_=(0,d.En)(n);break;case"minute":y=v(e,!0),m=(0,d.fn)(n),_=(0,d.eN)(n);break;case"second":y=v(e,!1),m=(0,d.MV)(n),_=(0,d.rM)(n);break;case"millisecond":y=p.kx(e,!0),m=(0,d.RZ)(n),_=(0,d.cb)(n)}(function(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,h=l[i]();u<n&&u<=r[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})})(y,f,g,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[c],s[s.length-1]||[],l),f!==(o[c+1]?(0,d.Tj)(o[c+1]):null))){if(l.length){h=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=r[0]&&m<=r[1]&&u++)}var _=(r[1]-r[0])/e;if(u>1.5*_&&h>_/1.5||(s.push(g),u>_||t===o[c]))break}l=[]}}for(var x=(0,i.hX)((0,i.UI)(s,function(t){return(0,i.hX)(t,function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd})}),function(t){return t.length>0}),S=[],w=x.length-1,c=0;c<x.length;++c)for(var b=x[c],M=0;M<b.length;++M)S.push({value:b[M].value,level:w-c});S.sort(function(t,e){return t.value-e.value});for(var T=[],c=0;c<S.length;++c)(0===c||S[c].value!==S[c-1].value)&&T.push(S[c]);return T}(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(o)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.s2,e[1]+=d.s2),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.s2}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(f(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,i.hj)(t)?t:+p.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(u.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function v(t,e){return(t/=e?d.yR:d.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.Z.registerClass(g);var m=o.Z.prototype,_=u.Z.prototype,x=p.NM,S=Math.floor,w=Math.ceil,b=Math.pow,M=Math.log,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.Z,e._interval=0,e}return(0,r.ZT)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=_.getTicks.call(this,t);return i.UI(o,function(t){var e=t.value,i=p.NM(b(this.base,e));return i=e===n[0]&&this._fixMin?C(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?C(i,r[1]):i}},this)},e.prototype.setExtent=function(t,e){var n=M(this.base);t=M(Math.max(0,t))/n,e=M(Math.max(0,e))/n,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.getExtent.call(this);e[0]=b(t,e[0]),e[1]=b(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=C(e[0],n[0])),this._fixMax&&(e[1]=C(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=M(t[0])/M(e),t[1]=M(t[1])/M(e),m.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(n!==1/0&&!(n<=0)){var i=p.Xd(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&1>Math.abs(i)&&Math.abs(i)>0;)i*=10;var r=[p.NM(w(e[0]/i)*i),p.NM(S(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=M(t)/M(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=M(t)/M(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),b(this.base,t)},e.type="log",e}(o.Z),D=T.prototype;function C(t,e){return x(t,p.p8(e))}D.getMinorTicks=_.getMinorTicks,D.getLabel=_.getLabel,o.Z.registerClass(T);var k=n(7384),I=n(4020);function A(t,e){var n=t.type,r=(0,I.Qw)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,s=e.ecModel;if(s&&"time"===n){var l=(0,h.Ge)("bar",s),u=!1;if(i.S6(l,function(t){u=u||t.getBaseAxis()===e.axis}),u){var c=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=(0,h.G_)(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.S6(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.S6(s,function(t){u=Math.max(t.offset+t.width,u)});var c=(l=Math.abs(l))+(u=Math.abs(u)),p=e-t,d=p/(1-(l+u)/a)-p;return e+=u/c*d,{min:t-=l/c*d,max:e}}(o,a,e,(0,h.My)(l));o=c.min,a=c.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function P(t,e){var n=A(t,e),i=n.extent,r=e.get("splitNumber");t instanceof T&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function L(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.Z.getClass(e)||u.Z)}}function Z(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function O(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,i){return t.scale.getFormattedLabel(n,i,e)}:i.HD(e)?function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}:i.mf(e)?function(i,r){return null!=n&&(r=i.value-n),e(R(t,i),r,null!=i.level?{level:i.level}:null)}:function(e){return t.scale.getLabel(e)}}function R(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function z(t){var e,n,i,r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();n=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=O(t),h=1;n>40&&(h=Math.ceil(n/40));for(var p=0;p<n;p+=h){var d=u(e?e[p]:{value:a[0]+p},p),f=function(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new c.Z(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);i?i.union(f):i=f}return i}}function B(t){var e=t.get("interval");return null==e?"auto":e}function N(t){return"category"===t.type&&0===B(t.getLabelModel())}function E(t,e){var n={};return i.S6(t.mapDimensionsAll(e),function(e){n[(0,k.IR)(t,e)]=!0}),i.XP(n)}function F(t,e,n){e&&i.S6(E(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}},633:function(t,e,n){n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var i=n(7975),r=n(6571);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,h=o.dim,c=r.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===h?[p[2]-f,p[3]+f]:[p[0]-f,p[1]+f];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===h?g[d[u]]:p[0],"x"===h?g[d[u]]:p[3]],a.rotation=Math.PI/2*+("x"!==h),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.S6(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a}),e}},4020:function(t,e,n){n.d(e,{Qw:()=>l});var i=n(7975),r=n(2666),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=this._modelMinRaw=e.get("min",!0);(0,i.mf)(a)?this._modelMinNum=u(t,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=u(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,i.mf)(s)?this._modelMaxNum=u(t,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=u(t,s)),o)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),h=(0,i.kJ)(l)?l:[l||0,l||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.GM)(h[0],1),(0,r.GM)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,i.Bu)(s)||(0,i.Bu)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(s=p,u=!0),null!=d&&(l=d,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i),i}function u(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}},9801:function(t,e,n){n.d(e,{Z:()=>o});var i=n(7975),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},9161:function(t,e,n){n.d(e,{zl:()=>eX,je:()=>e$,sq:()=>eV,RS:()=>eY,$j:()=>eF,qR:()=>eq,ds:()=>eW,Pu:()=>eH,OB:()=>e0,Hr:()=>ep,yn:()=>eQ,S1:()=>eE,Og:()=>eK,YK:()=>eU,Br:()=>eG});var i,r,o,a,s,l,u,h,c,p,d,f,g,y,v,m,_,x,S,w,b,M,T,D,C=n(9988),k=n(6573),I=n(7975),A=n(4647),P=n(2298),L=n(7654),Z=n(6571),O=n(6505),R=n(5352),z="";"undefined"!=typeof navigator&&(z=navigator.platform||"");var B="rgba(0, 0, 0, 0.2)";let N={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:B,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:B,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:B,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:B,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:B,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:B,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:z.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var E=n(6451),F=n(3886),W=n(5693),H="\0_ec_inner",V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new O.Z(i),this._locale=new O.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=X(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,X(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):s(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&(0,I.S6)(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,I.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,E.md)(this),(0,I.S6)(t,function(t,e){null!=t&&(R.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.d9)(t):(0,I.TS)(n[e],t,!0))}),l&&l.each(function(t,e){R.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),R.Z.topologicalTravel(a,R.Z.getAllClassMainTypes(),function(e){var a,s=(0,F.R)(this,e,Z.kF(t[e])),u=i.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=Z.ab(u,s,h);Z.O0(c,e,R.Z),n[e]=null,i.set(e,null),r.set(e,0);var p=[],d=[],f=0;(0,I.S6)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=R.Z.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,i.set(e,d),r.set(e,f),"series"===e&&o(this)},this),this._seriesIndices||o(this)},e.prototype.getOption=function(){var t=(0,I.d9)(this.option);return(0,I.S6)(t,function(e,n){if(R.Z.hasClass(n)){for(var i=Z.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Z.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[H],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e){for(var r=0;r<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.S6)(Z.kF(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?G("id",r,a):null!=o?G("name",o,a):(0,I.hX)(a,function(t){return!!t}),U(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=U(l?this.queryComponents(l):(0,I.hX)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.hX)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.mf)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.HD)(t)?i.get(t):(0,I.Kn)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Z.U5(t,null);return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.hX)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){a(this),(0,I.S6)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.S6)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){a(this),(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return a(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){a(this);var n=[];(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.kW)(n)},e.prototype.restoreData=function(t){o(this);var e=this._componentsMap,n=[];e.each(function(t,e){R.Z.hasClass(e)&&n.push(e)}),R.Z.topologicalTravel(n,R.Z.getAllClassMainTypes(),function(n){(0,I.S6)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(o=function(t){var e=t._seriesIndices=[];(0,I.S6)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.kW)(e)},a=function(t){},s=function(t,e){t.option={},t.option[H]=1,t._componentsMap=(0,I.kW)({series:[]}),t._componentsCount=(0,I.kW)();var n,i,r,o=e.aria;(0,I.Kn)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.S6)(i,function(t,e){("colorLayer"!==e||!r)&&(R.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.TS)(n[e],t,!1):(0,I.d9)(t):null!=n[e]||(n[e]=t)))}),(0,I.TS)(e,N,!1),t._mergeOption(e,null)}),e}(O.Z);function G(t,e,n){if((0,I.kJ)(e)){var i=(0,I.kW)();return(0,I.S6)(e,function(t){null!=t&&null!=Z.U5(t,null)&&i.set(t,!0)}),(0,I.hX)(n,function(e){return e&&i.get(e[t])})}var r=Z.U5(e,null);return(0,I.hX)(n,function(e){return e&&null!=r&&e[t]===r})}function U(t,e){return e.hasOwnProperty("subType")?(0,I.hX)(t,function(t){return t&&t.subType===e.subType}):t}function X(t){var e=(0,I.kW)();return t&&(0,I.S6)(Z.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.jB)(V,W._);var Y=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let q=function(t){I.S6(Y,function(e){this[e]=I.ak(t[e],t)},this)};var K=n(9801),j=/^(min|max)?(.+)$/,J=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.S6)((0,Z.kF)(t.series),function(t){t&&t.data&&(0,I.fU)(t.data)&&(0,I.s7)(t.data)}),(0,I.S6)((0,Z.kF)(t.dataset),function(t){t&&t.source&&(0,I.fU)(t.source)&&(0,I.s7)(t.source)})),t=(0,I.d9)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,I.S6)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,I.kJ)(u)&&(0,I.S6)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.S6)(l,function(t){return p(t)}),(0,I.S6)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.S6)(t,function(t,e){var n=e.match(j);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.UI)(s,function(t){return(0,I.d9)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),Q=I.S6,$=I.Kn,tt=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function te(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=tt.length;n<i;n++){var r=tt[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.TS(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.TS(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tn(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ti(t){tn(t,"itemStyle"),tn(t,"lineStyle"),tn(t,"areaStyle"),tn(t,"label"),tn(t,"labelLine"),tn(t,"upperLabel"),tn(t,"edgeLabel")}function tr(t,e){var n=$(t)&&t[e],i=$(n)&&n.textStyle;if(i)for(var r=0,o=Z.Td.length;r<o;r++){var a=Z.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function to(t){t&&(ti(t),tr(t,"label"),t.emphasis&&tr(t.emphasis,"label"))}function ta(t){return I.kJ(t)?t:t?[t]:[]}function ts(t){return(I.kJ(t)?t[0]:t)||{}}function tl(t){t&&(0,I.S6)(tu,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tu=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],th=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tc=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tp(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tc.length;n++){var i=tc[n][1],r=tc[n][0];null!=e[i]&&(e[r]=e[i])}}function td(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tf(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tg(t,e){var n;Q(ta(t.series),function(t){$(t)&&function(t){if($(t)){te(t),ti(t),tr(t,"label"),tr(t,"upperLabel"),tr(t,"edgeLabel"),t.emphasis&&(tr(t.emphasis,"label"),tr(t.emphasis,"upperLabel"),tr(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(te(e),to(e));var n=t.markLine;n&&(te(n),to(n));var i=t.markArea;i&&to(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.fU(o))for(var a=0;a<o.length;a++)to(o[a]);I.S6(t.categories,function(t){ti(t)})}if(r&&!I.fU(r))for(var a=0;a<r.length;a++)to(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)to(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.kJ(l[a])?(to(l[a][0]),to(l[a][1])):to(l[a]);"gauge"===t.type?(tr(t,"axisLabel"),tr(t,"title"),tr(t,"detail")):"treemap"===t.type?(tn(t.breadcrumb,"itemStyle"),I.S6(t.levels,function(t){ti(t)})):"tree"===t.type&&ti(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Q(n,function(e){Q(ta(t[e]),function(t){t&&(tr(t,"axisLabel"),tr(t.axisPointer,"label"))})}),Q(ta(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tr(e,"axisLabel"),tr(e&&e.axisPointer,"label")}),Q(ta(t.calendar),function(t){tn(t,"itemStyle"),tr(t,"dayLabel"),tr(t,"monthLabel"),tr(t,"yearLabel")}),Q(ta(t.radar),function(t){tr(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),Q(ta(t.geo),function(t){$(t)&&(to(t),Q(ta(t.regions),function(t){to(t)}))}),Q(ta(t.timeline),function(t){to(t),tn(t,"label"),tn(t,"itemStyle"),tn(t,"controlStyle",!0);var e=t.data;I.kJ(e)&&I.S6(e,function(t){I.Kn(t)&&(tn(t,"label"),tn(t,"itemStyle"))})}),Q(ta(t.toolbox),function(t){tn(t,"iconStyle"),Q(t.feature,function(t){tn(t,"iconStyle")})}),tr(ts(t.axisPointer),"label"),tr(ts(t.tooltip).axisPointer,"label"),t.series=(0,Z.kF)(t.series),(0,I.S6)(t.series,function(t){if((0,I.Kn)(t)){var e,n=t.type;if("line"===n)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===n||"gauge"===n){null!=t.clockWise&&(t.clockwise=t.clockWise),td(t.label);var i=t.data;if(i&&!(0,I.fU)(i))for(var r=0;r<i.length;r++)td(i[r]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===n){var o=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=o&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",o)}else if("bar"===n){tp(t),tp(t.backgroundStyle),tp(t.emphasis);var i=t.data;if(i&&!(0,I.fU)(i))for(var r=0;r<i.length;r++)"object"==typeof i[r]&&(tp(i[r]),tp(i[r]&&i[r].emphasis))}else if("sunburst"===n){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),tf(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tf)}else{"graph"===n||"sankey"===n?!(e=t)||null==e.focusNodeAdjacency||(e.emphasis=e.emphasis||{},null!=e.emphasis.focus||(e.emphasis.focus="adjacency")):"map"===n&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.ce)(t,t.mapLocation))}null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),tl(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.S6)(th,function(e){var n=t[e];n&&((0,I.kJ)(n)||(n=[n]),(0,I.S6)(n,function(t){tl(t)}))})}var ty=n(2517);function tv(t){(0,I.S6)(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,d=a.get(e.stackedDimension,h);if(isNaN(d))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var f=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,ty.S$)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})})}var tm=n(5430),t_=n(4292),tx=n(8050),tS=n(1969),tw=n(3287),tb=n(9858),tM=n(8588),tT=n(428),tD=n(8306),tC=n(9774),tk=n(6258),tI=n(6004),tA=n(133),tP=(0,Z.Yf)(),tL={itemStyle:(0,tk.Z)(tI.t,!0),lineStyle:(0,tk.Z)(tA.v,!0)},tZ={lineStyle:"stroke",itemStyle:"fill"};function tO(t,e){var n=t.visualStyleMapper||tL[e];return n||(console.warn("Unknown style type '"+e+"'."),tL.itemStyle)}function tR(t,e){var n=t.visualDrawType||tZ[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tz=new O.Z,tB=n(7293),tN=n(4639),tE=n(222),tF=Math.PI,tW=n(5926),tH=n(4587),tV=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,I.kW)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.S6)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.hu)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.S6)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each(function(t){a(i,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each(function(t){t.perform(d)}),h.perform(d)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.kW)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tW.v)({plan:tq,reset:tK,count:tQ}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,tW.v)({reset:tG});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.kW)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,(0,tW.v)({reset:tU,onDirty:tY})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}(0,I.hu)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,(0,I.S6)(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,I.mf)(t)&&(t={overallReset:t,seriesType:function(t){l=null;try{t(t$,t0)}catch(t){}return l}(t)}),t.uid=(0,tH.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function tG(t){t.overallReset(t.ecModel,t.api,t.payload)}function tU(t){return t.overallProgress&&tX}function tX(){this.agent.dirty(),this.getDownstream().dirty()}function tY(){this.agent&&this.agent.dirty()}function tq(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tK(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,Z.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.UI)(e,function(t,e){return tJ(e)}):tj}var tj=tJ(0);function tJ(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function tQ(t){return t.data.count()}var t$={},t0={};function t1(t,e){for(var n in e.prototype)t[n]=I.ZT}t1(t$,V),t1(t0,q),t$.eachSeriesByType=t$.eachRawSeriesByType=function(t){l=t},t$.eachComponent=function(t){"series"===t.mainType&&t.subType&&(l=t.subType)};var t2=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t5="#B9B8CE",t6="#100C2A",t3=function(){return{axisLine:{lineStyle:{color:t5}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t9=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t7={darkMode:!0,color:t9,backgroundColor:t6,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t5}},textStyle:{color:t5},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t5}},dataZoom:{borderColor:"#71708A",textStyle:{color:t5},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t5}},timeline:{lineStyle:{color:t5},label:{color:t5},controlStyle:{color:t5,borderColor:t5}},calendar:{itemStyle:{color:t6},dayLabel:{color:t5},monthLabel:{color:t5},yearLabel:{color:t5}},timeAxis:t3(),logAxis:t3(),valueAxis:t3(),categoryAxis:t3(),line:{symbol:"circle"},graph:{color:t9},gauge:{title:{color:t5},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t5},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t7.categoryAxis.splitLine.show=!1;var t4=n(1382),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.HD(t)){var r=(0,t4.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.S6(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),et=["symbol","symbolSize","symbolRotate","symbolOffset"],ee=et.concat(["symbolKeepAspect"]),en=n(3928),ei=n(2159),er=n(2914),eo=n(690),ea=n(3404),es=n(6501),el=n(6151),eu=new L.Z,eh=n(9906),ec=n(4838),ep={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ed="__flagInMainProcess",ef="__pendingUpdate",eg="__needsUpdateStatus",ey=/^[a-zA-Z0-9_]+$/,ev="__connectUpdateStatus";function em(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.isDisposed()){this.id;return}return ex(this,t,e)}}function e_(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ex(this,t,e)}}function ex(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),L.Z.prototype[e].apply(t,n)}var eS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.ZT)(e,t),e}(L.Z),ew=eS.prototype;ew.on=e_("on"),ew.off=e_("off");var eb=function(t){function e(e,n,i){var r=t.call(this,new t8)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},(0,I.HD)(n)&&(n=eL[n]),r._dom=e,i.ssr&&k.Qq(function(t){var e=(0,tT.A)(t),n=e.dataIndex;if(null!=n){var i=(0,I.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.S1(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.pD)(i.useDirtyRect,!1),useCoarsePointer:(0,I.pD)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tC.P2)((0,I.ak)(o.flush,o),17),(n=(0,I.d9)(n))&&tg(n,!0),r._theme=n,r._locale=(0,ea.D0)(i.locale||ea.sO),r._coordSysMgr=new K.Z;var a=r._api=b(r);function s(t,e){return t.__prio-e.__prio}return(0,P.Z)(eP,s),(0,P.Z)(eI,s),r._scheduler=new tV(r,a,eI,eP),r._messageCenter=new eS,r._initEvents(),r.resize=(0,I.ak)(r.resize,r),o.animation.on("frame",r._onframe,r),m(o,r),_(o,r),(0,I.s7)(r),r}return(0,C.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){D(this);var t=this._scheduler;if(this[ef]){var e=this[ef].silent;this[ed]=!0;try{u(this),p.update.call(this,null,this[ef].updateParams)}catch(t){throw this[ed]=!1,this[ef]=null,t}this._zr.flush(),this[ed]=!1,this[ef]=null,y.call(this,e),v.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),f(this,i),t.performVisualTasks(i),w(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ed]){if(this._disposed){this.id;return}if((0,I.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[ed]=!0,!this._model||e){var i,r,o,a=new J(this._api),s=this._theme,l=this._model=new V;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eA);var h={seriesTransition:o,optionChanged:!0};if(n)this[ef]={silent:i,updateParams:h},this[ed]=!1,this.getZr().wakeUp();else{try{u(this),p.update.call(this,null,h)}catch(t){throw this[ef]=null,this[ed]=!1,t}this._ssr||this._zr.flush(),this[ef]=null,this[ed]=!1,y.call(this,i),v.call(this,i)}}},e.prototype.setTheme=function(){(0,ei.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||A.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(A.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,I.S6)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.S6)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,I.S6)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!eR[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.S6)(eO,function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.d9)(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=eh.qW.createCanvas(),g=k.S1(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}),!e)return t.connectedBackgroundColor&&g.add(new tS.Z({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),(0,I.S6)(h,function(t){var e=new tw.ZP({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.S6)(h,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return d(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return d(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed){this.id;return}var n,i=this._model,r=Z.pm(i,t);return(0,I.S6)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.S6)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=Z.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,en.Or)(r,o,e):(0,en.UL)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,I.S6)(eT,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&(0,es.o)(o,function(t){var e=(0,tT.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,I.l7)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),(0,I.S6)(ek,function(e,n){t._messageCenter.on(n,function(t){this.trigger(n,t)},t)}),(0,I.S6)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,er.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0,this.getDom()&&Z.P$(this.getDom(),eN,"");var t=this._api,e=this._model;(0,I.S6)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.S6)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eO[this.id]},e.prototype.resize=function(t){if(!this[ed]){if(this._disposed){this.id;return}this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[ef]&&(null==i&&(i=this[ef].silent),n=!0,this[ef]=null),this[ed]=!0;try{n&&u(this),p.update.call(this,{type:"resize",animation:(0,I.l7)({duration:0},t&&t.animation)})}catch(t){throw this[ed]=!1,t}this[ed]=!1,y.call(this,i),v.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eZ[t]){var n=eZ[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,I.l7)({},t);return e.type=ek[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(e)||(e={silent:!!e}),eC[t.type]&&this._model){if(this[ed]){this._pendingActions.push(t);return}var n=e.silent;g.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&A.Z.browser.weChat&&this._throttledZrFlush(),y.call(this,n),v.call(this,n)}},e.prototype.updateLabelLayout=function(){eu.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tD.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tD.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!tb.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tb.eq(t)){if(t instanceof tM.ZP&&(0,tD.e9)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}u=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),h(t,!0),h(t,!1),e.plan()},h=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,t4.u9)(t.type);(h=new(e?t_.Z.getClass(c.main,c.sub):tx.Z.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(h,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},c=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i){(0,I.S6)([].concat(t._componentsViews).concat(t._chartsViews),h);return}var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=u&&(o=(0,I.kW)(),(0,I.S6)(Z.kF(u),function(t){var e=Z.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!o||null==o.get(e.id)){if((0,tD.xp)(n)){if(e instanceof tm.Z)n.type!==tD.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tD.UL)(e,n,t._api);else{var i=(0,tD.oJ)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tD.Ki&&r&&!n.notBlur&&(0,tD.zI)(e.mainType,e.componentIndex,t._api),a&&(0,I.S6)(a,function(t){n.type===tD.Ki?(0,tD.fD)(t):(0,tD.Mh)(t)})}}else(0,tD.aG)(n)&&e instanceof tm.Z&&((0,tD.og)(e,n,t._api),(0,tD.ci)(e),T(t))}},t),a&&a.eachComponent(l,function(e){(!o||null==o.get(e.id))&&h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},p={prepareAndUpdate:function(t){u(this),p.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),f(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),x(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),eu.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive){if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}});var a=(0,I.kW)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),w(this,i,r,e,{},a),eu.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tx.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),x(this,n,this._api,e,{}),eu.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tx.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),eu.trigger("afterupdate",i,this._api))},updateLayout:function(t){p.update.call(this,t)}},d=function(t,e,n,i){if(t._disposed){t.id;return}for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Z.pm(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},f=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},g=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,s=eC[o],l=s.actionInfo,h=(l.update||"update").split(":"),d=h.pop(),f=null!=h[0]&&(0,t4.u9)(h[0]);this[ed]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,I.UI)(t.batch,function(e){return(e=(0,I.ce)((0,I.l7)({},e),t)).batch=null,e}));var v=[],m=(0,tD.aG)(t),_=(0,tD.xp)(t);if(_&&(0,tD.T5)(this._api),(0,I.S6)(g,function(e){if((n=(n=s.action(e,i._model,i._api))||(0,I.l7)({},e)).type=l.event||n.type,v.push(n),_){var r=Z.zH(t),o=r.queryOptionMap;c(i,d,e,r.mainTypeSpecified?o.keys()[0]:"series"),T(i)}else m?(c(i,d,e,"series"),T(i)):f&&c(i,d,e,f.main,f.sub)}),"none"!==d&&!_&&!m&&!f)try{this[ef]?(u(this),p.update.call(this,t),this[ef]=null):p[d].call(this,t)}catch(t){throw this[ed]=!1,t}if(n=y?{type:l.event||o,escapeConnect:a,batch:v}:v[0],this[ed]=!1,!e){var x=this._messageCenter;if(x.trigger(n.type,n),m){var S={type:"selectchanged",escapeConnect:a,selected:(0,tD.C5)(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(S.type,S)}}},y=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();g.call(this,n,t)}},v=function(t){t||this.trigger("updated")},m=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ef]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},_=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,es.o)(n,tD.Av);i&&((0,tD.$l)(i,t,e._api),T(e))}).on("mouseout",function(t){var n=t.target,i=(0,es.o)(n,tD.Av);i&&((0,tD.xr)(i,t,e._api),T(e))}).on("click",function(t){var n=t.target,i=(0,es.o)(n,function(t){return null!=(0,tT.A)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tT.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},x=function(t,e,n,i,r){(function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,P.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.S6)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}})(e),S(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive=!1}),w(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},S=function(t,e,o,a,s,l){(0,I.S6)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},w=function(t,e,o,a,s,l){var u,h,c,p,d=t._scheduler;s=(0,I.l7)(s||{},{updatedSeries:e.getSeries()}),eu.trigger("series:beforeupdate",e,o,s);var f=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;d.updatePayload(r,a),i(e,n),l&&l.get(e.uid)&&r.dirty(),r.perform(d.getPerformArgs(r))&&(f=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),(0,tD.ci)(e)}),d.unfinished=f||d.unfinished,eu.trigger("series:layoutlabels",e,o,s),eu.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||A.Z.node||A.Z.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),eu.trigger("series:afterupdate",e,o,s)},T=function(t){t[eg]=!0,t.getZr().wakeUp()},D=function(t){t[eg]&&(t.getZr().storage.traverse(function(t){!tb.eq(t)&&e(t)}),t[eg]=!1)},b=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,C.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tD.fD)(e,n),T(t)},n.prototype.leaveEmphasis=function(e,n){(0,tD.Mh)(e,n),T(t)},n.prototype.enterBlur=function(e){(0,tD.SX)(e),T(t)},n.prototype.leaveBlur=function(e){(0,tD.VP)(e),T(t)},n.prototype.enterSelect=function(e){(0,tD.XX)(e),T(t)},n.prototype.leaveSelect=function(e){(0,tD.SJ)(e),T(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(q))(t)},M=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ev]=e}(0,I.S6)(ek,function(n,i){t._messageCenter.on(i,function(n){if(eR[t.group]&&0!==t[ev]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.S6)(eO,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.S6)(r,function(t){1!==t[ev]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(L.Z),eM=eb.prototype;eM.on=em("on"),eM.off=em("off"),eM.one=function(t,e,n){var i=this;(0,ei.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var eT=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function eD(t){}var eC={},ek={},eI=[],eA=[],eP=[],eL={},eZ={},eO={},eR={},ez=+new Date-0,eB=+new Date-0,eN="_echarts_instance_";function eE(t,e,n){var i=!(n&&n.ssr);if(i){var r,o=(r=t,eO[Z.IL(r,eN)]);if(o)return o}var a=new eb(t,e,n);return a.id="ec_"+ez++,eO[a.id]=a,i&&Z.P$(t,eN,a.id),M(a),eu.trigger("afterinit",a),a}function eF(t){if((0,I.kJ)(t)){var e=t;t=null,(0,I.S6)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eB++,(0,I.S6)(e,function(e){e.group=t})}return eR[t]=!0,t}function eW(t){0>(0,I.cq)(eA,t)&&eA.push(t)}function eH(t,e){eJ(eI,t,e,2e3)}function eV(t){eU("afterinit",t)}function eG(t){eU("afterupdate",t)}function eU(t,e){eu.on(t,e)}function eX(t,e,n){(0,I.mf)(e)&&(n=e,e="");var i=(0,I.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),!ek[e=t.event]&&((0,I.hu)(ey.test(i)&&ey.test(e)),eC[i]||(eC[i]={action:n,actionInfo:t}),ek[e]=i)}function eY(t,e){K.Z.register(t,e)}function eq(t,e){eJ(eP,t,e,1e3,"layout")}function eK(t,e){eJ(eP,t,e,3e3,"visual")}var ej=[];function eJ(t,e,n,i,r){if(((0,I.mf)(e)||(0,I.Kn)(e))&&(n=e,e=i),!((0,I.cq)(ej,n)>=0)){ej.push(n);var o=tV.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function eQ(t,e){eZ[t]=e}function e$(t,e,n){var i=(0,ec.C)("registerMap");i&&i(t,e,n)}var e0=eo.DA;eK(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tO(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tR(t,i),l=o[s],u=(0,I.mf)(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.mf)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,I.mf)(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,I.l7)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),eK(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tO(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tz.option=n[i];var a=r(tz),s=t.ensureUniqueItemVisual(e,"style");(0,I.l7)(s,a),tz.option.decal&&(t.setItemVisual(e,"decal",tz.option.decal),tz.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),eK(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),tP(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),i={},r=e.getData(),o=tP(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tR(e,a);r.each(function(t){i[r.getRawIndex(t)]=t}),n.each(function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}})}})}}),eK(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<et.length;a++){var s=et[a],l=t.get(s);(0,I.mf)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.XP)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),eK(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(!t.hasSymbolVisual||e.isSeriesFiltered(t)))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<ee.length;i++){var r=ee[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),eK(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=(0,el.I)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,el.I)(r,e))}})}),eW(tg),eH(900,function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(tv)}),i=function(t,e){e=e||{},I.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n,i=new tB.Z,r=new tS.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tN.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tS.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tE.Z({shape:{startAngle:-tF/2,endAngle:-tF/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tF/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tF/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},eZ.default=i,eX({type:tD.Ki,event:tD.Ki,update:tD.Ki},I.ZT),eX({type:tD.yx,event:tD.yx,update:tD.yx},I.ZT),eX({type:tD.Hg,event:tD.Hg,update:tD.Hg},I.ZT),eX({type:tD.JQ,event:tD.JQ,update:tD.JQ},I.ZT),eX({type:tD.iK,event:tD.iK,update:tD.iK},I.ZT),r={color:t2,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t2]},eL.light=r,eL.dark=t7},4838:function(t,e,n){n.d(e,{C:()=>o,M:()=>r});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},3404:function(t,e,n){n.d(e,{D0:()=>h,sO:()=>l,Li:()=>p,G8:()=>c});var i=n(6505),r=n(4647),o=n(7975),a={},s={},l=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.Z(e),a[t]=e}function h(t){if(!(0,o.HD)(t))return(0,o.TS)((0,o.d9)(t),(0,o.d9)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(a.EN),!1)}function c(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},5926:function(t,e,n){n.d(e,{v:()=>r});var i=n(7975);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.kJ)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,c,p);else this._doProgress(y,f,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){!this._disposed&&(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,r=Math.ceil((i=c)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},2787:function(t,e,n){function i(t){return null==t?0:t.length||1}function r(t){return t}n.d(e,{Z:()=>o});let o=function(){function t(t,e,n,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||r,this._newKeyGetter=i||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],l=n[s],u=i(l);if(u>1){var h=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(h,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],h=r[l],c=i(u),p=i(h);if(c>1&&1===p)this._updateManyToOne&&this._updateManyToOne(h,u),r[l]=null;else if(1===c&&p>1)this._updateOneToMany&&this._updateOneToMany(h,u),r[l]=null;else if(1===c&&1===p)this._update&&this._update(h,u),r[l]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(h,u),r[l]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e[r],a=i(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(n[a]=s),e){var l=e[s],u=i(l);0===u?(e[s]=a,o&&n.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},1998:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>h});var i,r=n(7975),o=n(4503),a=n(3347),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function d(t){return t>65535?l:u}function f(){return[1/0,-1/0]}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,r.UI)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(n,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var h=r[f],y=i.arrayRows.call(this,t[d]||c,h.property,d,f);n[f][p]=y;var v=a[f];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=f()),g(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=i.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var h=e-i[this.getRawIndex(l)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=d(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(d(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=i[0],h=t[u][0],c=t[u][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}f=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],S=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=h&&m<=c||isNaN(m))&&(w>=x&&w<=S||isNaN(w))&&(s[l++]=g),g++}f=!0}}if(!f){if(1===o)for(var v=0;v<a;v++){var b=e.getRawIndex(v),m=p[i[0]][b];(m>=h&&m<=c||isNaN(m))&&(s[l++]=b)}else for(var v=0;v<a;v++){for(var M=!0,b=e.getRawIndex(v),T=0;T<o;T++){var D=i[T],m=p[D][b];(m<t[D][0]||m>t[D][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(r[0]=d,d=r);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=i[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+f)/2,v=0,m=f;m<g;m++){var _=this.getRawIndex(m),x=a[_];!isNaN(x)&&(v+=x)}v/=g-f;var S=p,w=Math.min(p+u,s),b=p-1,M=a[h];n=-1,r=S;for(var T=-1,D=0,m=S;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){D++,T<0&&(T=_);continue}(i=Math.abs((b-y)*(x-M)-(b-m)*(v-M)))>n&&(n=i,r=_)}D>0&&D<w-S&&(c[l++]=Math.min(T,r),r=Math.max(T,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=f(),c=new(d(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(s=u-g,a.length=s);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.u4)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},6129:function(t,e,n){n.d(e,{Z:()=>a});var i=n(7975),r=0;function o(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.UI)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.HD)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}()},3208:function(t,e,n){n.d(e,{Z:()=>C});var i,r,o,a,s,l,u,h=n(7975),c=n(6505),p=n(2787),d=n(5562),f=n(5521),g=n(8944),y=n(9484),v=n(6571),m=n(428),_=n(3347),x=n(1998),S=n(2110),w=h.Kn,b=h.UI,M="undefined"==typeof Int32Array?Array:Int32Array,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],D=["_approximateExtent"];let C=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,i=!1;(0,S.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],p=h.HD(c)?new g.Z({name:c}):c instanceof g.Z?c:new g.Z(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=h.kW();h.S6(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.ZP&&(i=t),!i){var o=this.dimensions,a=(0,_.Ld)(t)||h.zG(t)?new d.Pl(t,o.length):t;i=new x.ZP;var s=b(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,f.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.Co)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,v.U5)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,v.U5)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?h.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.kJ(t)?i.getValues(b(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);this._store.each(r,i?h.ak(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?h.ak(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.XP(t),r=[];return h.S6(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=b(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.ak(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=b(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.ak(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.Z(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?h.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.kJ(r)?r=r.slice():w(r)&&(r=h.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,w(e)?h.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?h.l7(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.S6(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:b(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.tP(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;h.S6(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new M(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.U5)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.kJ(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:b(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.S6(T.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.S6(D,function(n){t[n]=h.d9(e[n])}),t._calculationInfo=h.l7({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),i[e]=l}}),t}()},8944:function(t,e,n){n.d(e,{Z:()=>r});var i=n(7975);let r=function(t){this.otherDims={},null!=t&&i.l7(this,t)}},3347:function(t,e,n){n.d(e,{Kp:()=>p,Ld:()=>l,ML:()=>c,QY:()=>g,_P:()=>u,nx:()=>h});var i=n(7975),r=n(9484),o=n(6571),a=n(6451),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.XD){var l,u;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,i.hj)(a)?a:+!!a,s||1!==u||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.Wc?t.length:t[0]?t[0].length:null}else if(e===r.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.XP)(e)}(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,function(t,e){s.push(e)}));else if(e===r.cy){var h=(0,o.C4)(t[0]);l=(0,i.kJ)(h)&&h.length||1}else r.J5;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)})}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}else if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t)){for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}}return e}function d(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,function(t,n){var r={name:(t=(0,i.Kn)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},2110:function(t,e,n){n.d(e,{Eo:()=>l,Jj:()=>c,Jl:()=>p,bB:()=>u,v5:()=>h});var i=n(7975),r=n(6571),o=n(3347),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!p(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,h=d.type,c=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,h=f.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,i.kW)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.Kn)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},6904:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9484),r=n(8944),o=n(7975),a=n(3347),s=n(1998),l=n(6571),u=n(6451),h=n(2110);function c(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n,c,p,d,f,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.kW)(),m=[],_=(n=t,c=g,p=y,d=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,c.length,p.length,d||0),(0,o.S6)(c,function(t){var e;(0,o.Kn)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,h.Jl)(_),S=y===t.dimensionsDefine,w=S?(0,h.Jj)(t):(0,h.v5)(y),b=e.encodeDefine;!b&&e.encodeDefaulter&&(b=e.encodeDefaulter(t,_));for(var M=(0,o.kW)(b),T=new s.hG(_),D=0;D<T.length;D++)T[D]=-1;function C(t){var e=T[t];if(e<0){var n=y[t],i=(0,o.Kn)(n)?n:{name:n},a=new r.Z,s=i.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=m.length;return T[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var D=0;D<_;D++)C(D);M.each(function(t,e){var n=(0,l.kF)(t).slice();if(1===n.length&&!(0,o.HD)(n[0])&&n[0]<0){M.set(e,!1);return}var i=M.set(e,[]);(0,o.S6)(n,function(t,n){var r=(0,o.HD)(t)?w.get(t):t;null!=r&&r<_&&(i[n]=r,I(C(r),e,n))})});var k=0;function I(t,e,n){null!=i.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.S6)(g,function(t){if((0,o.HD)(t))e=t,r={};else{e=(r=t).name;var e,n,i,r,a=r.ordinalMeta;r.ordinalMeta=null,(r=(0,o.l7)({},r)).ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=M.get(e);if(!1!==s){if(!(s=(0,l.kF)(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;k<_&&null!=C(k).coordDim;)k++;k<_&&s.push(k++)}(0,o.S6)(s,function(t,a){var s=C(t);if(S&&null!=r.type&&(s.type=r.type),I((0,o.ce)(s,r),e,a),null==s.name&&n){var l=n[a];(0,o.Kn)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}i&&(0,o.ce)(s.otherDims,i)})}});var A=e.generateCoord,P=e.generateCoordCount,L=null!=P;P=A?P||1:0;var Z=A||"value";function O(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.S6)(m,function(t){O(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var R=0;R<_;R++){var z=C(R);null==z.coordDim&&(z.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(Z,v,L),z.coordDimIndex=0,(!A||P<=0)&&(z.isExtraCoord=!0),P--),O(z),null==z.type&&((0,u.u7)(t,R)===u.Dq.Must||z.isExtraCoord&&(null!=z.otherDims.itemName||null!=z.otherDims.seriesName))&&(z.type="ordinal")}return function(t){for(var e=(0,o.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(m),new h.Eo({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}},5562:function(t,e,n){n.d(e,{Pl:()=>p,_j:()=>g,a:()=>m,hk:()=>b,tB:()=>S});var i,r,o,a,s,l=n(7975),u=n(6571),h=n(3347),c=n(9484),p=function(){var t;function e(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,p=o.dimensionsDefine,d=a[w(s,u)];if((0,l.l7)(t,d),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=g(s,u);t.getItem=(0,l.ak)(f,null,r,h,p);var y=m(s,u);t.count=(0,l.ak)(y,null,r,h,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var d=r[p*o+a];c[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),d=function(t,e,n,i){return t[i]},f=((i={})[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},i[c.qb]=d,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[c.cy]=d,i);function g(t,e){return f[w(t,e)]}var y=function(t,e,n){return t.length},v=((r={})[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=y,r[c.hL]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[c.cy]=y,r);function m(t,e){return v[w(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,u.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function S(t){return x[t]}function w(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return x[o](i,a,s)}var l=i;return o===c.cy&&(l=(0,u.C4)(i)),l}}}},7384:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var i=n(7975),r=n(2110);function o(t,e,n){var o,a,s,l,u,h,c,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.bB)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,i.S6)(a,function(t,e){(0,i.HD)(t)&&(a[e]=t={name:t}),!g||t.isExtraCoord||(d||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(h=t))}),!h||d||u||(d=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,i.S6)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},4503:function(t,e,n){n.d(e,{ID:()=>l,yQ:()=>a});var i=n(2517),r=n(7975),o=n(2159);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:+t)}(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,r.hj)(e)||(0,o._y)(""),this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}).prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)};var l=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.HD)(t),u=(0,r.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}},5521:function(t,e,n){n.d(e,{T:()=>l,y:()=>a});var i=n(7975),r=n(9484),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,i.kW)(),u=[],h=[],c={};(0,i.S6)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,p=n.coordDimIndex;s(a,i)[p]=e,n.isExtraCoord||(l.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),s(c,i)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&h.push(e)}r.f7.each(function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var p=[],d={};l.each(function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.UI)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var f=a.label;f&&f.length&&(u=f.slice());var g=a.tooltip;return g&&g.length?h=g.slice():h.length||(h=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=h,n.userOutput=new o(c,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},6451:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>p,Ss:()=>h,Wd:()=>c,md:()=>l,pY:()=>u,u7:()=>d});var i=n(6571),r=n(7975),o=n(9484),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i,o,a={},l=c(e);if(!l||!t)return a;var u=[],h=[],p=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,function(e,n){var s=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.S6)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(h,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(u,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(h,o,r),f.categoryWayDim+=r}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function h(t,e,n){var i,s={};if(!c(t))return s;var l=e.sourceFormat,u=e.dimensionsDefine;(l===o.qb||l===o.hL)&&(0,r.S6)(u,function(t,e){((0,r.Kn)(t)?t.name:t)==="name"&&(i=e)});var h=function(){for(var t={},r={},o=[],s=0,h=Math.min(5,n);s<h;s++){var c=f(e.data,l,e.seriesLayoutBy,u,e.startIndex,s);o.push(c);var p=c===a.Not;if(p&&null==t.v&&s!==i&&(t.v=s),null!=t.n&&t.n!==t.v&&(p||o[t.n]!==a.Not)||(t.n=s),d(t)&&o[t.n]!==a.Not)return t;p||(c===a.Might&&null==r.v&&s!==i&&(r.v=s),null!=r.n&&r.n!==r.v||(r.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(r)?r:null}();if(h){s.value=[h.v];var p=null!=i?i:h.n;s.itemName=[p],s.seriesName=[p]}return s}function c(t){if(!t.get("data",!0))return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function p(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function d(t,e){return f(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function f(t,e,n,s,l,u){var h,c,p;if((0,r.fU)(t))return a.Not;if(s){var d=s[u];(0,r.Kn)(d)?(c=d.name,p=d.type):(0,r.HD)(d)&&(c=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.XD){if(n===o.Wc){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(h=_(f[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}}else if(e===o.qb){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.hL){if(!c)return a.Not;var f=t[c];if(!f||(0,r.fU)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(h=_(f[g])))return h}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.C4)(v);if(!(0,r.kJ)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.HD)(t);return null!=t&&isFinite(t)&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},2387:function(t,e,n){n.d(e,{U:()=>h,t:()=>c});var i=n(7975),r=n(3347),o=n(9484),a=n(6451),s=n(690),l=n(1998),u=n(5562),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(n)){var l=void 0,u=void 0,h=void 0;if(s){var c=a[0];c.prepareSource(),l=(h=c.getSource()).data,u=h.sourceFormat,e=[c._getVersionSign()]}else l=n.get("data",!0),u=(0,i.fU)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},f=h&&h.metaRawOption||{},g=(0,i.pD)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.pD)(d.sourceHeader,f.sourceHeader),v=(0,i.pD)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r._P)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r._P)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&d("");var l=[],u=[];return(0,i.S6)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||d(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.ZP).initData(new u.Pl(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,i.UI)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return p(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){t.option.transform&&(0,i.s7)(t.option.transform)}function p(t){return"series"===t.mainType}function d(t){throw Error(t)}},690:function(t,e,n){n.d(e,{DA:()=>y,vK:()=>v});var i=n(9484),r=n(6571),o=n(7975),a=n(5562),s=n(4503),l=n(2159),u=n(3347),h=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function c(t){return m(t.sourceFormat)||(0,l._y)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l._y)(""),e===i.XD){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.qb){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.l7)({},n[a]));return r}}function d(t,e,n){return null==n?void 0:!(0,o.hj)(n)&&(isNaN(n)||(0,o.RI)(e,n))?(0,o.RI)(e,n)?e[n]:void 0:t[n]}function f(t){return(0,o.d9)(t)}var g=(0,o.kW)();function y(t){var e=(t=(0,o.d9)(t)).type;e||(0,l._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function v(t,e,n){var s=(0,r.kF)(t),y=s.length;y||(0,l._y)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.Kn)(t)||(0,l._y)("");var y=t.type,v=g.get(y);v||(0,l._y)("");var _=(0,o.UI)(e,function(t){return function(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.fY&&(0,l._y)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.S6)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.RI)(y,n)&&(0,l._y)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount;m++)g.push({index:m});var _=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.ak)(c,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var x=(0,a.a)(s,i.fY);n.count=(0,o.ak)(x,null,r,u,g);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return S(t,e,n.name)}};return n.getDimensionInfo=(0,o.ak)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.ak)(f,null,g),n}(t,v)}),x=(0,r.kF)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.d9)(t.config)}));return(0,o.UI)(x,function(t,n){(0,o.Kn)(t)||(0,l._y)(""),t.data||(0,l._y)(""),m((0,u.Kp)(t.data))||(0,l._y)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,r,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===i.XD||t===i.qb}},6232:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,l.kJ)(e)){(0,l.S6)(e,function(e){t(e)});return}!((0,l.cq)(c,e)>=0)&&(c.push(e),(0,l.mf)(e)&&(e={install:e}),e.install(p))}});var i=n(9161),r=n(4292),o=n(8050),a=n(5352),s=n(5430),l=n(7975),u=n(4838),h=n(6573),c=[],p={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:u.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}}},7285:function(t,e,n){n.d(e,{GI:()=>a,VT:()=>o,yl:()=>s});var i=n(8291),r=n(9495);function o(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,h=s.clone();h.applyTransform(a),h.x-=u/2,h.y-=u/2,h.width+=u,h.height+=u;var c=l?new i.Z(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:h,localRect:s,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,n,i){return function(t,e,n,i,r,o){var a,s,l,u=t.length;if(!(u<2)){t.sort(function(t,e){return t.rect.y-e.rect.y});for(var h=0,c=!1,p=[],d=0,f=0;f<u;f++){var g=t[f],y=g.rect;(a=y[e]-h)<0&&(y[e]-=a,g.label[e]-=a,c=!0);var v=Math.max(-a,0);p.push(v),d+=v,h=y[e]+y[n]}d>0&&o&&w(-d/u,0,u);var m=t[0],_=t[u-1];return x(),s<0&&b(-s,.8),l<0&&b(l,.8),x(),S(s,l,1),S(l,s,-1),x(),s<0&&M(-s),l<0&&M(l),c}function x(){s=m.rect[e]-i,l=r-_.rect[e]-_.rect[n]}function S(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,u);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function w(n,i,r){0!==n&&(c=!0);for(var o=i;o<r;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],a=0,s=1;s<u;s++){var l=t[s-1].rect,h=Math.max(t[s].rect[e]-l[e]-l[n],0);o.push(h),a+=h}if(a){var c=Math.min(Math.abs(i)/a,r);if(i>0)for(var s=0;s<u-1;s++){var p=o[s]*c;w(p,0,s+1)}else for(var s=u-1;s>0;s--){var p=o[s-1]*c;w(-p,s,u)}}}function M(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),i=0;i<u-1;i++)if(e>0?w(n,0,i+1):w(-n,u-i-1,u),(t-=n)<=0)return}}(t,"y","height",e,n,i)}function s(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new r.Z(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,h=s.transform,c=s.label,p=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=s.obb,f=!1,g=0;g<e.length;g++){var y=e[g];if(n.intersect(y.rect)&&(l&&y.axisAligned||(y.obb||(y.obb=new i.Z(y.localRect,y.transform)),d||(d=new i.Z(u,h)),d.intersect(y.obb)))){f=!0;break}}f?(o(c),p&&o(p)):(c.attr("ignore",s.defaultAttr.ignore),p&&p.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},3361:function(t,e,n){n.d(e,{Lr:()=>d,k3:()=>p,nC:()=>f,ni:()=>c,pe:()=>S,qA:()=>x,qT:()=>_,tD:()=>w});var i=n(4639),r=n(7975),o=n(8306),a=n(6571),s=n(9858),l={};function u(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var p=o.L1[c],d=e[p];h[p]=(0,r.pD)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return h}function c(t,e,n,a){n=n||l;for(var s=t instanceof i.ZP,c=!1,p=0;p<o.qc.length;p++){var g=e[o.qc[p]];if(g&&g.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){!s&&(y||(y=new i.ZP,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=h(n,e),m=e.normal,_=!!m.getShallow("show"),S=d(m,a&&a.normal,n,!1,!s);S.text=v.normal,s||t.setTextConfig(f(m,n,!1));for(var p=0;p<o.L1.length;p++){var w=o.L1[p],g=e[w];if(g){var b=y.ensureState(w),M=!!(0,r.pD)(g.getShallow("show"),_);M!==_&&(b.ignore=!M),b.style=d(g,a&&a[w],n,!0,!s),b.style.text=v[w],s||(t.ensureState(w).textConfig=f(g,n,!0))}}y.silent=!!m.getShallow("silent"),null!=y.style.x&&(S.x=y.style.x),null!=y.style.y&&(S.y=y.style.y),y.ignore=!_,y.useStyle(S),y.dirty(),n.enableTextSetter&&(x(y).setLabelText=function(t){var i=h(n,e,t);u(y,i)})}else y&&(y.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function d(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(h){for(var c in a={},h)if(h.hasOwnProperty(c)){var p=e.getModel(["rich",c]);m(a[c]={},p,u,n,i,o,!1,!0)}}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var f=e.get("minMargin");null!=f&&(t.margin=f),m(t,e,u,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function f(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],v=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,i,o,a,s,u){n=!o&&n||l;var h=i&&i.inheritColor,c=e.getShallow("color"),p=e.getShallow("textBorderColor"),d=(0,r.pD)(e.getShallow("opacity"),n.opacity);("inherit"===c||"auto"===c)&&(c=h||null),("inherit"===p||"auto"===p)&&(p=h||null),a||(c=c||n.color,p=p||n.textBorderColor),null!=c&&(t.fill=c),null!=p&&(t.stroke=p);var f=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=f&&(t.lineWidth=f);var m=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=d||u||(d=i&&i.defaultOpacity),null!=d&&(t.opacity=d),o||a||null!=t.fill||!i.inheritColor||(t.fill=i.inheritColor);for(var x=0;x<g.length;x++){var S=g[x],w=(0,r.pD)(e.getShallow(S),n[S]);null!=w&&(t[S]=w)}for(var x=0;x<y.length;x++){var S=y[x],w=e.getShallow(S);null!=w&&(t[S]=w)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!s||!i.disableBox){for(var x=0;x<v.length;x++){var S=v[x],w=e.getShallow(S);null!=w&&(t[S]=w)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&h&&(t.backgroundColor=h),("auto"===t.borderColor||"inherit"===t.borderColor)&&h&&(t.borderColor=h)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.Yf)();function S(t,e,n,i){if(t){var r=x(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function w(t,e,n,i,o){var l=x(t);if(l.valueAnimation&&l.prevValue!==l.value){var c=l.defaultInterpolatedText,p=(0,r.pD)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.KZ:s.D)(t,{percent:1},i,e,null,function(i){var r=(0,a.pk)(n,l.precision,p,d,i);l.interpolatedValue=1===i?null:r,u(t,h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},l.statesModels,r))})}}},8783:function(t,e,n){n.d(e,{G_:()=>p,Ge:()=>u,Gk:()=>l,My:()=>h});var i=n(7975),r=n(2517),o="__ec_stack_";function a(t){return t.get("stack")||o+t.seriesIndex}function s(t){return t.dim+t.index}function l(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var a=n.getBandWidth(),s=0;s<t.count;s++)e.push((0,i.ce)({bandWidth:a,axisKey:r,stackId:o+s},t));for(var l=c(e),u=[],s=0;s<t.count;s++){var h=l[r][o+s];h.offsetCenter=h.offset+h.width/2,u.push(h)}return u}}function u(t,e){var n=[];return e.eachSeriesByType(t,function(t){var e;(e=t).coordinateSystem&&"cartesian2d"===e.coordinateSystem.type&&n.push(t)}),n}function h(t){var e=function(t){var e={};(0,i.S6)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),n=[];return(0,i.S6)(t,function(t){var i,o,l=t.coordinateSystem.getBaseAxis(),u=l.getExtent();if("category"===l.type)o=l.getBandWidth();else if("value"===l.type||"time"===l.type){var h=e[l.dim+"_"+l.index],c=Math.abs(u[1]-u[0]),p=l.scale.getExtent(),d=Math.abs(p[1]-p[0]);o=h?c/d*h:c}else{var f=t.getData();o=Math.abs(u[1]-u[0])/f.count()}var g=(0,r.GM)(t.get("barWidth"),o),y=(0,r.GM)(t.get("barMaxWidth"),o),v=(0,r.GM)(t.get("barMinWidth")||((i=t).pipelineContext&&i.pipelineContext.large?.5:1),o),m=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:o,barWidth:g,barMaxWidth:y,barMinWidth:v,barGap:m,barCategoryGap:_,axisKey:s(l),stackId:a(t)})}),c(n)}function c(t){var e={};(0,i.S6)(t,function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)});var n={};return(0,i.S6)(e,function(t,e){n[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,i.XP)(a).length,15)+"%");var u=(0,r.GM)(l,s),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,p=t.autoWidthCount,d=(c-u)/(p+(p-1)*h);d=Math.max(d,0),(0,i.S6)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,p--}else{var i=d;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==d&&(t.width=i,c-=i+h*i,p--)}}),d=Math.max(d=(c-u)/(p+(p-1)*h),0);var f=0;(0,i.S6)(a,function(t,e){t.width||(t.width=d),o=t,f+=t.width*(1+h)}),o&&(f-=o.width*h);var g=-f/2;(0,i.S6)(a,function(t,i){n[e][i]=n[e][i]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+h)})}),n}function p(t,e,n){if(t&&e){var i=t[s(e)];return null!=i&&null!=n?i[a(n)]:i}}},3706:function(t,e,n){n.d(e,{Z:()=>s});var i=n(7975),r=n(3149),o=n(7384),a=n(8845);function s(t,e){return{seriesType:t,plan:(0,r.Z)(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(r){var u=(0,i.UI)(r.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),h=u.length,c=n.getCalculationInfo("stackResultDimension");(0,o.M)(n,u[0])&&(u[0]=c),(0,o.M)(n,u[1])&&(u[1]=c);var p=n.getStore(),d=n.getDimensionIndex(u[0]),f=n.getDimensionIndex(u[1]);return h&&{progress:function(t,e){for(var n=t.end-t.start,i=l&&(0,a.o)(n*h),o=[],s=[],u=t.start,c=0;u<t.end;u++){var g=void 0;if(1===h){var y=p.get(d,u);g=r.dataToPoint(y,null,s)}else o[0]=p.get(d,u),o[1]=p.get(f,u),g=r.dataToPoint(o,null,s);l?(i[c++]=g[0],i[c++]=g[1]):e.setItemLayout(u,g.slice())}l&&e.setLayout("points",i)}}}}}}},2914:function(t,e,n){n.d(e,{s:()=>s,y:()=>o});var i=n(7975),r=n(6571);function o(t,e){(0,i.S6)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,r,o){var a,s;e=(0,i.l7)({},e),o.dispatchAction((0,i.l7)(e,{type:n[1],seriesIndex:(a=e,s=[],r.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})}function a(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var h=t.getData(),c=(0,r.gO)(h,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.kJ)(c)?h.getName(c[0]):h.getName(c),selected:(0,i.HD)(o)?o:(0,i.l7)({},o)})}})}function s(t,e,n){t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(a("map","selectchanged",e,i,t),a("pie","selectchanged",e,i,t)):"select"===t.fromAction?(a("map","selected",e,i,t),a("pie","selected",e,i,t)):"unselect"===t.fromAction&&(a("map","unselected",e,i,t),a("pie","unselected",e,i,t))})}},5352:function(t,e,n){n.d(e,{Z:()=>p});var i=n(9988),r=n(7975),o=n(6505),a=n(4587),s=n(1382),l=n(6571),u=n(651),h=(0,l.Yf)(),c=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),i=n?u.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&u.dt(t,i,n)},n.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.HZ)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,function(t){var e=[];return r.S6(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.UI(e,function(t){return(0,s.u9)(t).main}),"dataset"!==t&&0>=r.cq(e,"dataset")&&e.unshift("dataset"),e});let p=c},6505:function(t,e,n){n.d(e,{Z:()=>v});var i=n(4647),r=n(1382),o=(0,n(6258).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(3361),l=n(4639),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new l.ZP,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),d=n(133),f=n(6004),g=n(7975),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.d9)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(y),(0,r.Qj)(y),(0,g.jB)(y,d.K),(0,g.jB)(y,f.D),(0,g.jB)(y,a),(0,g.jB)(y,p);let v=y},5430:function(t,e,n){n.d(e,{Z:()=>D});var i=n(9988),r=n(7975),o=n(4647),a=n(6571),s=n(5352),l=n(5693),u=n(8780),h=n(651),c=n(5926),p=n(1382),d=n(2387),f=n(1481),g=n(5562),y=a.Yf();function v(t,e){return t.getName(e)||t.getId(e)}var m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:x,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new d.U(this)).prepareSource();var i=this.getInitialData(t,n);b(i,this),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=y(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);b(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=T(this);if(!e)return y(this).data;var n=e.context.data;return null==t?n:n.getLinkedData(t)},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=T(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},n.prototype.getSourceManager=function(){return y(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return y(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),p=c.length,d=s.getRawValue(l),y=(0,r.kJ)(d),v=(0,f.jT)(s,l);if(p>1||y&&!p){var m=function(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,function(t,e,n){var i=a.getDimensionInfo(n);return t=t||i&&!1!==i.tooltip&&null!=i.displayName},!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,f.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,function(t){c((0,g.hk)(a,n,t),t)}):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(d,s,l,c,v);e=m.inlineValues,n=m.inlineValueTypes,i=m.blocks,o=m.inlineValues[0]}else if(p){var _=h.getDimensionInfo(c[0]);o=e=(0,g.hk)(h,l,c[0]),n=_.type}else o=e=y?d[0]:d;var x=(0,a.yu)(s),S=x&&s.name||"",w=h.getName(l),b=u?S:w;return(0,f.TX)("section",{header:S,noHeader:u||!x,sortParam:o,blocks:[(0,f.TX)("nameValue",{markerType:"item",markerColor:v,name:b,noName:!(0,r.fy)(b),value:e,valueType:n,dataIndex:l})].concat(i||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=v(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[v(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=v(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=v(t,p);o.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.Z.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.Z);function _(t){var e,n,i,o=t.name;a.yu(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.S6(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function b(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.WA(M,e))})}function M(t,e){var n=T(t);return n&&n.setOutputEnd((e||this).count()),e}function T(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.jB(m,u.X),r.jB(m,l._),(0,p.pw)(m,s.Z);let D=m},3886:function(t,e,n){n.d(e,{R:()=>a,f:()=>o});var i=n(7975),r=(0,i.kW)();function o(t,e){(0,i.hu)(null==r.get(t)&&e),r.set(t,e)}function a(t,e,n){var i=r.get(e);if(!i)return n;var o=i(t);return o?n.concat(o):n}},8780:function(t,e,n){n.d(e,{X:()=>s,f:()=>l});var i=n(7975),r=n(5562),o=n(814),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);return(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.mf(l))?(c.status=e,c.dimensionIndex=s,l(c)):i.HD(l)?(0,o.kF)(l,c).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},6004:function(t,e,n){n.d(e,{D:()=>a,t:()=>r});var i=n(6258),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},133:function(t,e,n){n.d(e,{K:()=>a,v:()=>r});var i=n(6258),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},6258:function(t,e,n){n.d(e,{Z:()=>r});var i=n(7975);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.cq(r,l)>=0||o&&0>i.cq(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},5693:function(t,e,n){n.d(e,{_:()=>o});var i=n(6571),r=(0,i.Yf)();(0,i.Yf)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}(this,r,(0,i.kF)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},378:function(t,e,n){n.d(e,{N:()=>v});var i=n(9417),r=n(7975),o=n(9362),a=n(7654),s=n(1687),l=n(6398),u=n(9495),h=n(2168),c=n(9906);function p(t,e,n){var i=c.qW.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var d=function(t){function e(e,n,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.KL,"string"==typeof e?a=p(e,n,o):r.Kn(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.$j(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(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=p("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,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.Z(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero())){if(0===o.length){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.Z(0,0,0,0);p.copy(c),p.union(t),o[h]=p,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,f=c.width*c.height,g=l.width*l.height-d-f;g<i&&(i=g,r=h)}}if(s&&(o[r].union(t),n=!0),!n){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}}for(var p=this.__startIndex;p<this.__endIndex;++p){var d=t[p];if(d){var f=d.shouldBePainted(n,i,!0,!0),g=d.__isRendered&&(d.__dirty&h.YV||!f)?d.getPrevPaintRect():null;g&&c(g);var y=f&&(d.__dirty&h.YV||!d.__isRendered)?d.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var d=e[p],f=d&&d.shouldBePainted(n,i,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,d=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,u/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;r.Qq(e)?(u=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a):r.dL(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.RZ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(f,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.S6(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.Z),f=n(9909),g=n(4647),y=function(){function t(t,e,n,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=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t,t.style&&(r.$j(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new d(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var f,g,y,v=this._domRoot=(f=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+g+"px","padding:0","margin:0","border-width:0"].join(";")+";",y);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),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?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,n=t.length,i=this._hoverlayer;if(i&&i.clear(),n){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,l.Dm)(e,a,r,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,f.Z)(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,p=this,d=0;d<o.length;d++)!function(r){var s,l=o[r],u=l.ctx,d=a&&l.createRepaintRects(t,e,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(f===l.__startIndex){var m=t[f];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(d){if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,S=0;S<d.length;++S){var w=d[S];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(d);return g.Z.wxa&&r.S6(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.TS(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)){if(r>0&&t>i[0]){for(s=0;s<r-1&&(!(i[s]<t)||!(i[s+1]>t));s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual){if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom)}e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(i=0;i<t.length;i++){var a=t[i],u=a.zlevel,c=void 0;n!==u&&(n=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&h.YV&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),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,r.S6(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[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];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].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 d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.Dm)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},8911:function(t,e,n){n.d(e,{Z:()=>h});var i=n(9988),r=n(2517),o=n(814),a=n(896),s=n(3845),l=r.NM,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.lb(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:l(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=l(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:l(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,u=[],h=(o.value-a.value)/t;s<t-1;){var c=l(a.value+(s+1)*h);c>i[0]&&c<i[1]&&u.push(c),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=l(t.value,n,!0);return o.OD(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=s.Qf(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]){if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1}isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=l(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.Z);a.Z.registerClass(u);let h=u},896:function(t,e,n){n.d(e,{Z:()=>o});var i=n(1382),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.au(r);let o=r},3845:function(t,e,n){n.d(e,{Fv:()=>h,Qf:()=>o,XS:()=>u,bA:()=>c,lM:()=>r,lb:()=>s,r1:()=>a});var i=n(2517);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o,a,u={},h=t[1]-t[0],c=u.interval=(0,i.kx)(h/e,!0);null!=n&&c<n&&(c=u.interval=n),null!=r&&c>r&&(c=u.interval=r);var p=u.intervalPrecision=s(c);return o=u.niceTickExtent=[(0,i.NM)(Math.ceil(t[0]/c)*c,p),(0,i.NM)(Math.floor(t[1]/c)*c,p)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,i.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.NM)(n*e)}function s(t){return(0,i.p8)(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function c(t,e){return t*(e[1]-e[0])+e[0]}},1382:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>g,dm:()=>u,pw:()=>h,u9:()=>s});var i=n(9988),r=n(7975),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.mf(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.XW(n,this)),r.l7(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=f,n.superClass=o,n}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.S6(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},4587:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var i=n(7975),r=n(1382),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.u9)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],i.S6(s,function(t){var r,o,a,h=n(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],i.S6(r,function(t){i.cq(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),i.S6(c,function(e){0>i.cq(h.predecessor,e)&&h.predecessor.push(e);var r=n(l,e);0>i.cq(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,d={};for(i.S6(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=c[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.S6(g.successor,y?m:v)}i.S6(d,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},6151:function(t,e,n){n.d(e,{I:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=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 n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[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}(),a=n(6147),s=n(7975),l=n(2517),u=n(5965),h=n(6398),c=n(9906),p=new o,d=new a.ZP(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.kJ)(_)&&!(0,s.HD)(_)&&!(0,s.hj)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var S=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.hj)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.hj)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.hj)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.UI)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.UI)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),b=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.HD)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.HD)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.HD)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),M=(e=S,(0,s.UI)(e,function(t){return y(t)})),T=y(w),D=!r&&c.qW.createCanvas(),C=r&&{tag:"g",attrs:{},key:"dcl",children:[]},k=function(){for(var t=1,e=0,n=M.length;e<n;++e)t=(0,l.nl)(t,M[e]);for(var i=1,e=0,n=b.length;e<n;++e)i=(0,l.nl)(i,b[e].length);t*=i;var r=T*M.length*b.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();D&&(D.width=k.width*n,D.height=k.height*n,p=D.getContext("2d")),function(){p&&(p.clearRect(0,0,D.width,D.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,D.width,D.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-T,s=0,l=0,c=0;o<k.height;){if(s%2==0){for(var d=l/2%b.length,f=0,g=0,y=0;f<2*k.width;){for(var v=0,e=0;e<S[c].length;++e)v+=S[c][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+S[c][g]*m,x=o+w[s]*m,M=S[c][g]*a.symbolSize,I=w[s]*a.symbolSize,A=y/2%b[d].length;(function(t,e,o,s,l){var c=r?1:n,d=(0,u.th)(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&C.children.push(f)}else(0,h.RV)(p,d)})(_,x,M,I,b[d][A])}f+=S[c][g],++y,++g===S[c].length&&(g=0)}++c===S.length&&(c=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,D||C),t.image=D,t.svgElement=C,t.svgWidth=k.width,t.svgHeight=k.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},6501:function(t,e,n){n.d(e,{o:()=>i});function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}},814:function(t,e,n){n.d(e,{A0:()=>f,Lz:()=>g,MI:()=>y,MY:()=>u,OD:()=>s,kF:()=>d,uX:()=>h,zW:()=>l});var i=n(7975),r=n(9708),o=n(2517),a=n(926);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=i.MY;function h(t,e,n){function r(t){return t&&i.fy(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o.sG)(t):t;if(!isNaN(+c))return(0,a.WU)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.cd(t)?r(t):i.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):i.cd(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var d=e[u][a[h]];t=t.replace(p(c[h],u),n?(0,r.F1)(d):d)}return t}function f(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function y(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},7810:function(t,e,n){n.r(e),n.d(e,{Polyline:()=>Y.Z,lineLineIntersect:()=>tO,resizePath:()=>tw,setTooltipConfig:()=>tR,subPixelOptimizeLine:()=>tb,extendPath:()=>tg,Text:()=>B.ZP,Rect:()=>q.Z,Ellipse:()=>W,linePolygonIntersect:()=>tZ,isElementRemoved:()=>tu.eq,Polygon:()=>X.Z,Ring:()=>U,RadialGradient:()=>tt,Sector:()=>H.C,getShapeClass:()=>tv,registerShape:()=>ty,makePath:()=>tm,subPixelOptimizeRect:()=>tM,transformDirection:()=>tk,Group:()=>z.Z,mergePath:()=>tS,Line:()=>K.Z,removeElementWithFadeOut:()=>tu.XD,removeElement:()=>tu.bX,subPixelOptimize:()=>tT,updateProps:()=>tu.D,makeImage:()=>t_,Path:()=>p.ZP,createIcon:()=>tL,Arc:()=>J.Z,Image:()=>R.ZP,initProps:()=>tu.KZ,traverseElements:()=>tB,extendShape:()=>td,groupTransition:()=>tI,OrientedBoundingRect:()=>tn.Z,applyTransform:()=>tC,getTransform:()=>tD,clipPointsByRect:()=>tA,LinearGradient:()=>$.Z,IncrementalDisplayable:()=>ta,Circle:()=>N.Z,BezierCurve:()=>j.Z,CompoundPath:()=>Q,clipRectByRect:()=>tP,Point:()=>ti.Z,BoundingRect:()=>te.Z});var i,r,o,a,s,l,u,h,c=n(9362),p=n(8588),d=n(3564),f=n(7605),g=d.Z.CMD,y=[[],[],[]],v=Math.sqrt,m=Math.atan2,_=n(7975),x=Math.sqrt,S=Math.sin,w=Math.cos,b=Math.PI;function M(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function T(t,e){return(t[0]*e[0]+t[1]*e[1])/(M(t)*M(e))}function D(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(T(t,e))}function C(t,e,n,i,r,o,a,s,l,u,h){var c=b/180*l,p=w(c)*(t-n)/2+S(c)*(e-i)/2,d=-1*S(c)*(t-n)/2+w(c)*(e-i)/2,f=p*p/(a*a)+d*d/(s*s);f>1&&(a*=x(f),s*=x(f));var g=(r===o?-1:1)*x((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=-(g*s)*p/a,m=(t+n)/2+w(c)*y-S(c)*v,_=(e+i)/2+S(c)*y+w(c)*v,M=D([1,0],[(p-y)/a,(d-v)/s]),C=[(p-y)/a,(d-v)/s],k=[(-1*p-y)/a,(-1*d-v)/s],I=D(C,k);if(-1>=T(C,k)&&(I=b),T(C,k)>=1&&(I=0),I<0){var A=Math.round(I/b*1e6)/1e6;I=2*b+A%2*b}h.addData(u,m,_,a,s,M,I,c,o)}var k=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,I=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,c.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(p.ZP);function P(t){return null!=t.setData}function L(t,e){var n=function(t){var e,n=new d.Z;if(!t)return n;var i=0,r=0,o=0,a=0,s=d.Z.CMD,l=t.match(k);if(!l)return n;for(var u=0;u<l.length;u++){for(var h=l[u],c=h.charAt(0),p=void 0,f=h.match(I)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,_=void 0,x=void 0,S=void 0,w=void 0,b=void 0,M=void 0,T=i,D=r,A=void 0,P=void 0;switch(c){case"l":i+=f[v++],r+=f[v++],p=s.L,n.addData(p,i,r);break;case"L":i=f[v++],r=f[v++],p=s.L,n.addData(p,i,r);break;case"m":i+=f[v++],r+=f[v++],p=s.M,n.addData(p,i,r),o=i,a=r,c="l";break;case"M":i=f[v++],r=f[v++],p=s.M,n.addData(p,i,r),o=i,a=r,c="L";break;case"h":i+=f[v++],p=s.L,n.addData(p,i,r);break;case"H":i=f[v++],p=s.L,n.addData(p,i,r);break;case"v":r+=f[v++],p=s.L,n.addData(p,i,r);break;case"V":r=f[v++],p=s.L,n.addData(p,i,r);break;case"C":p=s.C,n.addData(p,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":p=s.C,n.addData(p,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,_=r,A=n.len(),P=n.data,e===s.C&&(m+=i-P[A-4],_+=r-P[A-3]),p=s.C,T=f[v++],D=f[v++],i=f[v++],r=f[v++],n.addData(p,m,_,T,D,i,r);break;case"s":m=i,_=r,A=n.len(),P=n.data,e===s.C&&(m+=i-P[A-4],_+=r-P[A-3]),p=s.C,T=i+f[v++],D=r+f[v++],i+=f[v++],r+=f[v++],n.addData(p,m,_,T,D,i,r);break;case"Q":T=f[v++],D=f[v++],i=f[v++],r=f[v++],p=s.Q,n.addData(p,T,D,i,r);break;case"q":T=f[v++]+i,D=f[v++]+r,i+=f[v++],r+=f[v++],p=s.Q,n.addData(p,T,D,i,r);break;case"T":m=i,_=r,A=n.len(),P=n.data,e===s.Q&&(m+=i-P[A-4],_+=r-P[A-3]),i=f[v++],r=f[v++],p=s.Q,n.addData(p,m,_,i,r);break;case"t":m=i,_=r,A=n.len(),P=n.data,e===s.Q&&(m+=i-P[A-4],_+=r-P[A-3]),i+=f[v++],r+=f[v++],p=s.Q,n.addData(p,m,_,i,r);break;case"A":x=f[v++],S=f[v++],w=f[v++],b=f[v++],M=f[v++],T=i,D=r,i=f[v++],C(T,D,i,r=f[v++],b,M,x,S,w,p=s.A,n);break;case"a":x=f[v++],S=f[v++],w=f[v++],b=f[v++],M=f[v++],T=i,D=r,i+=f[v++],C(T,D,i,r+=f[v++],b,M,x,S,w,p=s.A,n)}}("z"===c||"Z"===c)&&(p=s.Z,n.addData(p),i=o,r=a),e=p}return n.toStatic(),n}(t),i=(0,_.l7)({},e);return i.buildPath=function(t){if(P(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){(function(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),h=g.M,c=g.C,p=g.L,d=g.R,_=g.A,x=g.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case h:case p:i=1;break;case c:i=3;break;case x:i=2;break;case _:var S=e[4],w=e[5],b=v(e[0]*e[0]+e[1]*e[1]),M=v(e[2]*e[2]+e[3]*e[3]),T=m(-e[1]/M,e[0]/b);l[r]*=b,l[r++]+=S,l[r]*=M,l[r++]+=w,l[r++]*=b,l[r++]*=M,l[r++]+=T,l[r++]+=T,r+=2,o=r;break;case d:s[0]=l[r++],s[1]=l[r++],(0,f.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],(0,f.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var D=y[a];D[0]=l[r++],D[1]=l[r++],(0,f.Ne)(D,D,e),l[o++]=D[0],l[o++]=D[1]}}t.increaseVersion()}})(n,t),this.dirtyShape()},i}var Z=n(9634),O=n(4066),R=n(3287),z=n(7293),B=n(4639),N=n(7266),E=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},F=function(t){function e(e){return t.call(this,e)||this}return(0,c.ZT)(e,t),e.prototype.getDefaultShape=function(){return new E},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(p.ZP);F.prototype.type="ellipse";let W=F;var H=n(3511),V=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},G=function(t){function e(e){return t.call(this,e)||this}return(0,c.ZT)(e,t),e.prototype.getDefaultShape=function(){return new V},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(p.ZP);G.prototype.type="ring";let U=G;var X=n(4484),Y=n(1099),q=n(1969),K=n(2859),j=n(121),J=n(222);let Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,c.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[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),p.ZP.prototype.getBoundingRect.call(this)},e}(p.ZP);var $=n(4235);let tt=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,c.ZT)(e,t),e}(n(4196).Z);var te=n(9495),tn=n(8291),ti=n(1145),tr=n(2097),to=[];let ta=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(0,c.ZT)(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 n=0;n<t.length;n++)this.addDisplayable(t[n],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(var 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++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new te.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(to)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(tr.ZP);var ts=n(4958),tl=n(428),tu=n(9858),th=Math.max,tc=Math.min,tp={};function td(t){return p.ZP.extend(t)}var tf=function(t,e){var n=L(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return(0,c.ZT)(e,t),e}(A)};function tg(t,e){return tf(t,e)}function ty(t,e){tp[t]=e}function tv(t){if(tp.hasOwnProperty(t))return tp[t]}function tm(t,e,n,i){var r=new A(L(t,e));return n&&("center"===i&&(n=tx(n,r.getBoundingRect())),tw(r,n)),r}function t_(t,e,n){var i=new R.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(tx(e,r))}}});return i}function tx(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var tS=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new p.ZP(e);return a.createPathProxy(),a.buildPath=function(t){if(P(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function tw(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tb(t,e){return ts._3(t,t,{lineWidth:e}),t}function tM(t){return ts.Pw(t.shape,t.shape,t.style),t}var tT=ts.vu;function tD(t,e){for(var n=Z.yR([]);t&&t!==e;)Z.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function tC(t,e,n){return e&&!(0,_.zG)(e)&&(e=O.ZP.getLocalTransform(e)),n&&(e=Z.U_([],e)),f.Ne([],t,e)}function tk(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return Math.abs((o=tC(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tI(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,tu.D)(t,i,n,(0,tl.A)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,_.l7)({},t.shape)),e}}function tA(t,e){return(0,_.UI)(t,function(t){var n=t[0];n=tc(n=th(n,e.x),e.x+e.width);var i=t[1];return[n,i=tc(i=th(i,e.y),e.y+e.height)]})}function tP(t,e){var n=th(t.x,e.x),i=tc(t.x+t.width,e.x+e.width),r=th(t.y,e.y),o=tc(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function tL(t,e,n){var i=(0,_.l7)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,_.ce)(r,n),new R.ZP(i)):tm(t.replace("path://",""),i,n,"center")}function tZ(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(tO(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function tO(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=c*h-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*h-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-c*g)/d;return!(v<0)&&!(v>1)}function tR(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,_.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,_.S6)((0,_.XP)(l),function(t){(0,_.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,tl.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,_.ce)({content:i,formatterParams:s},r)}}function tz(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tB(t,e){if(t){if((0,_.kJ)(t))for(var n=0;n<t.length;n++)tz(t[n],e);else tz(t,e)}}i=N.Z,tp.circle=i,tp.ellipse=W,r=H.C,tp.sector=r,tp.ring=U,o=X.Z,tp.polygon=o,a=Y.Z,tp.polyline=a,s=q.Z,tp.rect=s,l=K.Z,tp.line=l,u=j.Z,tp.bezierCurve=u,h=J.Z,tp.arc=h},428:function(t,e,n){n.d(e,{A:()=>i,Q:()=>r});var i=(0,n(6571).Yf)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},651:function(t,e,n){n.d(e,{BZ:()=>c,ME:()=>p,YD:()=>f,dt:()=>g,p$:()=>d,tE:()=>y});var i=n(7975),r=n(9495),o=n(2517),a=n(814),s=i.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}!l.newline&&(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)})}var c=h;function p(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),p=(0,o.GM)(t.width,i),d=(0,o.GM)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-h-g-l),isNaN(d)&&(d=s-c-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-h-p-g),isNaN(u)&&(u=s-c-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(h||0)),isNaN(d)&&(d=s-f-u-(c||0));var v=new r.Z(l+n[3],u+n[0],p,d);return v.margin=n,v}function d(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],h=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!h)return!1;if("raw"===c)l="group"===t.type?new r.Z(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(l=l.clone()).applyTransform(d)}var f=p(i.ce({width:l.width,height:l.height},e),n,o),g=u?f.x-l.x:0,y=h?f.y-l.y:0;return"raw"===c?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function f(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function g(t,e,n){var r=n&&n.ignoreSize;i.kJ(r)||(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++}),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,function(t){e[t]=n[t]})}p(u[0],t,o),p(u[1],t,a)}function y(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}i.WA(h,"vertical"),i.WA(h,"horizontal")},2159:function(t,e,n){function i(t){}function r(t){throw Error(t)}n.d(e,{Sh:()=>i,_y:()=>r})},6571:function(t,e,n){n.d(e,{C4:()=>c,C6:()=>C,Cc:()=>u,Co:()=>p,HZ:()=>I,IL:()=>P,O0:()=>x,P$:()=>A,Td:()=>h,U5:()=>y,U9:()=>L,XI:()=>S,Yf:()=>b,ab:()=>d,g0:()=>_,gO:()=>w,iP:()=>k,kF:()=>l,lY:()=>m,pk:()=>Z,pm:()=>T,yu:()=>v,zH:()=>D});var i=n(7975),r=n(4647),o=n(2517),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function c(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function p(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function d(t,e,n){var r,o,s,l,u,h,c,p,d,y,v,_,x,S="normalMerge"===n,w="replaceMerge"===n,b="replaceAll"===n;t=t||[],e=(e||[]).slice();var M=(0,i.kW)();(0,i.S6)(e,function(t,n){if(!(0,i.Kn)(t)){e[n]=null;return}});var T=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||m(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,M,n);return(S||w)&&(r=T,o=t,s=M,l=e,(0,i.S6)(l,function(t,e){if(t&&null!=t.id){var n=g(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.hu)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),S&&(u=T,h=e,(0,i.S6)(h,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var i=u[n].existing;if(!u[n].newOption&&i&&(null==i.id||null==t.id)&&!m(t)&&!m(i)&&f("name",i,t)){u[n].newOption=t,h[e]=null;return}}})),S||w?(c=T,p=e,d=w,(0,i.S6)(p,function(t){if(t){for(var e,n=0;(e=c[n])&&(e.newOption||m(e.existing)||e.existing&&null!=t.id&&!f("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=d):c.push({newOption:t,brandNew:d,existing:null,keyInfo:null}),n++}})):b&&(y=T,v=e,(0,i.S6)(v,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=T,x=(0,i.kW)(),(0,i.S6)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.S6)(_,function(t){var e=t.newOption;(0,i.hu)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.S6)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.Kn)(r)){if(o.name=null!=r.name?g(r.name):n?n.name:a+e,n)o.id=g(n.id);else if(null!=r.id)o.id=g(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),T}function f(t,e,n){var i=y(e[t],null),r=y(n[t],null);return null!=i&&null!=r&&i===r}function g(t){return y(t,"")}function y(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function v(t){var e=t.name;return!!(e&&e.indexOf(a))}function m(t){return t&&null!=t.id&&0===g(t.id).indexOf(s)}function _(t){return s+t}function x(t,e,n){(0,i.S6)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.Kn)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function S(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=y(t[i].seriesId,null);if(null==o)return;for(var a=l(t[i].dataIndex),s=n&&n[o],u=0,h=a.length;u<h;u++){var c=a[u];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i]){if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}}return n}}function w(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function b(){var t="__ec_inner_"+M++;return function(e){return e[t]||(e[t]={})}}var M=(0,o.jj)();function T(t,e,n){var i=D(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=I(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function D(t,e){if((0,i.HD)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!(!l||!u||e&&e.includeMainTypes&&0>(0,i.cq)(e.includeMainTypes,l))&&(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var C={useDefault:!0,enableAll:!1,enableNone:!1},k={useDefault:!1,enableAll:!0,enableNone:!0};function I(t,e,n,r){r=r||C;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function A(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function P(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function L(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function Z(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return a<1?n:r;for(var h=[],c=Math.max(n?n.length:0,r.length),p=0;p<c;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)h[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;h[p]=(0,o.NM)(u,s?Math.max((0,o.p8)(f),(0,o.p8)(g)):e)}}return h}},2517:function(t,e,n){n.d(e,{FK:()=>x,GM:()=>o,HD:()=>h,M9:()=>u,NM:()=>a,NU:()=>r,S$:()=>c,Xd:()=>y,dt:()=>s,jj:()=>w,kE:()=>S,kx:()=>m,mW:()=>d,nR:()=>_,nl:()=>b,p8:()=>l,sG:()=>g,wW:()=>p,xW:()=>v});var i=n(7975);function r(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return i.HD(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,n,i,r,o,a=1,s=0;s<15;s++,a*=10)if(Math.round(t*a)/a===t)return s}return i=(n=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(n+1):0,r=n>0?n:e.length,Math.max(0,((o=e.indexOf("."))<0?0:r-1-o)-i)}function u(t,e){var n=Math.log,i=Math.LN10,r=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/i)+Math.round(n(Math.abs(e[1]-e[0]))/i),0),20);return isFinite(r)?r:20}function h(t,e){var n=i.u4(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var r=Math.pow(10,e),o=i.UI(t,function(t){return(isNaN(t)?0:t)/n*r*100}),a=100*r,s=i.UI(o,function(t){return Math.floor(t)}),l=i.u4(s,function(t,e){return t+e},0),u=i.UI(o,function(t,e){return t-s[e]});l<a;){for(var h=Number.NEGATIVE_INFINITY,c=null,p=0,d=u.length;p<d;++p)u[p]>h&&(h=u[p],c=p);++s[c],u[c]=0,++l}return i.UI(s,function(t){return t/r})}function c(t,e){var n=Math.max(l(t),l(e)),i=t+e;return n>20?i:a(i,n)}function p(t){var e=2*Math.PI;return(t%e+e)%e}function d(t){return t>-1e-4&&t<1e-4}var f=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function g(t){if(t instanceof Date)return t;if(i.HD(t)){var e=f.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function y(t){return Math.pow(10,v(t))}function v(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function m(t,e){var n,i=v(t),r=Math.pow(10,i),o=t/r;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,i>=-20?+t.toFixed(i<0?-i:0):t}function _(t){t.sort(function(t,e){return!function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t}function x(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||0>=t.indexOf("x"))?e:NaN}function S(t){return!isNaN(x(t))}function w(){return Math.round(9*Math.random())}function b(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},8306:function(t,e,n){n.d(e,{$l:()=>Y,Av:()=>tr,C5:()=>J,CX:()=>p,Gl:()=>A,Hg:()=>m,JQ:()=>_,Ki:()=>y,L1:()=>f,MA:()=>L,Mh:()=>z,Nj:()=>ti,RW:()=>to,SJ:()=>F,SX:()=>B,T5:()=>H,UL:()=>U,VP:()=>N,WO:()=>tn,XX:()=>E,aG:()=>ta,ci:()=>j,e9:()=>tl,fD:()=>R,iK:()=>x,k5:()=>$,oJ:()=>X,og:()=>K,qc:()=>g,vF:()=>Q,wU:()=>d,xp:()=>ts,xr:()=>q,yx:()=>v,zI:()=>G});var i=n(7975),r=n(428),o=n(4411),a=n(6571),s=n(8588),l=1,u={},h=(0,a.Yf)(),c=(0,a.Yf)(),p=1,d=2,f=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",v="downplay",m="select",_="unselect",x="toggleSelect";function S(t){return null!=t&&"none"!==t}function w(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function b(t){w(t,"emphasis",d)}function M(t){t.hoverState===d&&w(t,"normal",0)}function T(t){w(t,"blur",p)}function D(t){t.hoverState===p&&w(t,"normal",0)}function C(t){t.selected=!0}function k(t){t.selected=!1}function I(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function A(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=h(t),c=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(S(c)||S(p)){var d=(r=r||{}).style||{};"inherit"===d.fill?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=c):!S(d.fill)&&S(c)?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=(0,o.fD)(c)):!S(d.stroke)&&S(p)&&(l||(r=(0,i.l7)({},r),d=(0,i.l7)({},d)),d.stroke=(0,o.fD)(p)),r.style=d}}if(r&&null==r.z2){l||(r=(0,i.l7)({},r));var f=t.z2EmphasisLift;r.z2=t.z2+(null!=f?f:10)}return r}(this,0,e,c);if("blur"===t)return n=c,r=(0,i.cq)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.l7)({},n),u=(0,i.l7)({opacity:r?a:.1*l.opacity},u),n.style=u),n;if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=(0,i.l7)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:9)}return n}(this,0,c)}return c}function L(t){t.stateProxy=P;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=P),n&&(n.stateProxy=P)}function Z(t,e){W(t,e)||t.__highByOuter||I(t,b)}function O(t,e){W(t,e)||t.__highByOuter||I(t,M)}function R(t,e){t.__highByOuter|=1<<(e||0),I(t,b)}function z(t,e){(t.__highByOuter&=~(1<<(e||0)))||I(t,M)}function B(t){I(t,T)}function N(t){I(t,D)}function E(t){I(t,C)}function F(t){I(t,k)}function W(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function H(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){D(t)}),a&&n.push(i)),o.isBlured=!1}),(0,i.S6)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function V(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&N(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){(!t.__highByOuter||!o||"self"!==e)&&T(t)}),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function G(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,i.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.A)(u);V(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&V(o,d,f,n)}}}function X(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.A)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Y(t,e,n){var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&G(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,function(t){return Z(t,e)})):(V(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&G(o.componentMainType,o.componentIndex,n),Z(t,e))}function q(t,e,n){H(n);var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,function(t){return O(t,e)}):O(t,e)}function K(t,e,n){if(ta(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===m?"select":"unselect"](s,r)}}function j(t){var e=t.getAllData();(0,i.S6)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?E(e):F(e)})})}function J(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.S6)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function Q(t,e,n){var i,o,a,s;ti(t,!0),I(t,L),i=t,o=e,a=n,s=(0,r.A)(i),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function $(t,e,n,i){i?ti(t,!1):Q(t,e,n)}var tt=["emphasis","blur","select"],te={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tn(t,e,n,i){n=n||"itemStyle";for(var r=0;r<tt.length;r++){var o=tt[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[te[n]]()}}function ti(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function tr(t){return!!(t&&t.__highDownDispatcher)}function to(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ta(t){var e=t.type;return e===m||e===_||e===x}function ts(t){var e=t.type;return e===y||e===v}function tl(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},5965:function(t,e,n){n.d(e,{Cq:()=>b,Pw:()=>m,th:()=>S,zp:()=>w});var i=n(7975),r=n(8588),o=n(2859),a=n(1969),s=n(7266),l=n(7810),u=n(9495),h=n(2666),c=n(2517),p=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),d=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),f=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),y={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:d,pin:f,arrow:g,triangle:p},v={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(y,function(t,e){m[e]=new t});var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(r=m[i="rect"]),v[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function S(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function w(t){return(0,i.kJ)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function b(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},9774:function(t,e,n){n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=new Date().getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(h),f?h=setTimeout(c,d):r>=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},926:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>D,En:()=>R,FW:()=>y,MV:()=>A,P5:()=>c,RZ:()=>P,Tj:()=>m,V8:()=>f,WT:()=>s,WU:()=>S,Wp:()=>k,cb:()=>N,dV:()=>u,eN:()=>z,f5:()=>O,fn:()=>I,k7:()=>w,q5:()=>M,rM:()=>B,s2:()=>h,sx:()=>T,vh:()=>Z,xC:()=>x,xL:()=>L,xz:()=>C,yR:()=>l});var i=n(7975),r=n(2517),o=n(3404),a=n(6505),s=1e3,l=6e4,u=36e5,h=864e5,c=31536e6,p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},d="{yyyy}-{MM}-{dd}",f={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+p.hour,minute:d+" "+p.minute,second:d+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function S(t,e,n,i){var s=r.sG(t),l=s[T(n)](),u=s[D(n)]()+1,h=Math.floor((u-1)/3)+1,c=s[C(n)](),p=s["get"+(n?"UTC":"")+"Day"](),d=s[k(n)](),f=(d-1)%12+1,g=s[I(n)](),y=s[A(n)](),m=s[P(n)](),_=(i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)()).getModel("time"),x=_.get("month"),S=_.get("monthAbbr"),w=_.get("dayOfWeek"),b=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,S[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,w[p]).replace(/{ee}/g,b[p]).replace(/{e}/g,p+"").replace(/{HH}/g,v(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,v(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,n,r,o){var a=null;if(i.HD(n))a=n;else if(i.mf(n))a=n(t.value,e,{level:t.level});else{var s=i.l7({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:i.ce(n,s):s,h=b(t.value,o);if(u[h])a=u[h];else if(u.inherit){for(var c=y.indexOf(h),l=c-1;l>=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(i.kJ(a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return S(new Date(t.value),a,o,r)}function b(t,e){var n=r.sG(t),i=n[D(e)]()+1,o=n[C(e)](),a=n[k(e)](),s=n[I(e)](),l=n[A(e)](),u=0===n[P(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function M(t,e,n){var o=i.hj(t)?r.sG(t):t;switch(e=e||b(t,n)){case"year":return o[T(n)]();case"half-year":return+(o[D(n)]()>=6);case"quarter":return Math.floor((o[D(n)]()+1)/4);case"month":return o[D(n)]();case"day":return o[C(n)]();case"half-day":return o[k(n)]()/24;case"hour":return o[k(n)]();case"minute":return o[I(n)]();case"second":return o[A(n)]();case"millisecond":return o[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function D(t){return t?"getUTCMonth":"getMonth"}function C(t){return t?"getUTCDate":"getDate"}function k(t){return t?"getUTCHours":"getHours"}function I(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function Z(t){return t?"setUTCMonth":"setMonth"}function O(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function z(t){return t?"setUTCMinutes":"setMinutes"}function B(t){return t?"setUTCSeconds":"setSeconds"}function N(t){return t?"setUTCMilliseconds":"setMilliseconds"}},9484:function(t,e,n){n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>c,XD:()=>o,cy:()=>r,f7:()=>i,fY:()=>h,hL:()=>s,qb:()=>a});var i=(0,n(7975).kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},8845:function(t,e,n){n.d(e,{o:()=>a});var i=n(7975),r="undefined"!=typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,i.kJ)(t)?r?new Float32Array(t):t:new o(t)}},8050:function(t,e,n){n.d(e,{Z:()=>x});var i=n(7975),r=n(7293),o=n(4587),a=n(1382),s=n(6571),l=n(8306),u=n(5926),h=n(3149),c=n(7810),p=s.Yf(),d=(0,h.Z)(),f=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function y(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.dm(f,["dispose"]),a.au(f);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let x=f},4292:function(t,e,n){n.d(e,{Z:()=>s});var i=n(7293),r=n(4587),o=n(1382),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a);let s=a},3928:function(t,e,n){function i(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function r(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function o(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}n.d(e,{LZ:()=>o,Or:()=>i,UL:()=>r})},5062:function(t,e,n){n.d(e,{Z:()=>x});var i=n(4066),r=n(8026),o=n(9495),a=n(7654),s=n(2666),l=n(7975),u=n(9417),h=n(4411),c=n(2168),p="__zr_normal__",d=i.dN.concat(["ignore"]),f=(0,l.u4)(i.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(0,0,0,0),v=function(){function t(t){this.id=(0,l.M8)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){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 n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,l=!1;r.parent=i?this:null;var u=!1;if(r.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),i||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.wI)(g,n,y),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var p=void 0,d=void 0;"center"===h?(p=.5*y.width,d=.5*y.height):(p=(0,s.GM)(h[0],y.width),d=(0,s.GM)(h[1],y.height)),u=!0,r.originX=-r.x+p+(i?0:y.x),r.originY=-r.y+d+(i?0:y.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],u||(r.originX=-f[0],r.originY=-f[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,S=void 0;v&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),S=!0)):(_=n.outsideFill,x=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),S=!0)),((_=_||"#000")!==m.fill||x!==m.stroke||S!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=x,m.autoStroke=S,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.YV,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,h.Qc)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+255*!r*(1-i);return n[3]=1,(0,h.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.Kn)(t))for(var n=(0,l.XP)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===p)){var o=i.targetName,a=o?e[o]:e;i.saveTo(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,d)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},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(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o){(0,l.H)("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,u),d&&d.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),r}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],p=!!(h&&h.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.cq)(i,t),o=(0,l.cq)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!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,n={},i=0;i<t.length;i++){var r=t[i];(0,l.l7)(n,r),r.textConfig&&(e=e||{},(0,l.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.l7)({},i?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<d.length;h++){var c=d[h],p=r&&f[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(p?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(var h=0;h<this.animators.length;h++){var g=this.animators[h],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){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;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=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|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.cq)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,h){for(var c=(0,l.XP)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.Kn)(s),v=e.animators,m=[],x=0;x<c.length;x++){var S=c[x],w=o[S];if(null!=w&&null!=i[S]&&(y||s[S])){if(!(0,l.Kn)(w)||(0,l.zG)(w)||(0,l.Qq)(w))m.push(S);else{if(n){h||(i[S]=w,e.updateDuringAnimation(n));continue}t(e,S,i[S],w,a,s&&s[S],u,h)}}else h||(i[S]=w,e.updateDuringAnimation(n),m.push(S))}var b=m.length;if(!f&&b)for(var M=0;M<v.length;M++){var T=v[M];if(T.targetName===n&&T.stopTracks(m)){var D=(0,l.cq)(v,T);v.splice(D,1)}}if(a.force||(b=(m=(0,l.hX)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.zG)(e)&&(0,l.zG)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),b>0||a.force&&!u.length){var C=void 0,k=void 0,I=void 0;if(h){k={},g&&(C={});for(var M=0;M<b;M++){var S=m[M];k[S]=i[S],g?C[S]=o[S]:i[S]=o[S]}}else if(g){I={};for(var M=0;M<b;M++){var S=m[M];I[S]=(0,r.V)(i[S]),function(t,e,n){if((0,l.zG)(e[n])){if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.zG)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}}else t[n]=e[n]}(i,o,S)}}var T=new r.Z(i,!1,!1,f?(0,l.hX)(v,function(t){return t.targetName===n}):null);T.targetName=n,a.scope&&(T.scope=a.scope),g&&C&&T.whenWithKeys(0,C,m),I&&T.whenWithKeys(0,I,m),T.whenWithKeys(null==p?500:p,h?k:o,m).delay(d||0),e.addAnimator(T,n),u.push(T)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,h=n.done,c=n.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},d=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}(0,l.jB)(v,a.Z),(0,l.jB)(v,i.ZP);let x=v},8026:function(t,e,n){n.d(e,{V:()=>g,Z:()=>S});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*(-Math.pow(2,-10*(t-1))+2)},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,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+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}},r=n(7975),o=n(9101),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),i=+(0,r.fy)(n[0]),s=+(0,r.fy)(n[1]),l=+(0,r.fy)(n[2]),u=+(0,r.fy)(n[3]);if(isNaN(i+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,i,l,1,t,h)&&(0,o.af)(0,s,u,1,h[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||r.ZT,this.ondestroy=t.ondestroy||r.ZT,this.onrestart=t.onrestart||r.ZT,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;this._startTime=t-i%n,this._pausedTime=0,this.onrestart()}return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.mf)(t)?t:i[t]||s(t)},t}(),u=n(4411),h=n(4647);h.Z.hasGlobalWindow&&(0,r.mf)(window.btoa);var c=Array.prototype.slice;function p(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function d(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function f(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function g(t){if((0,r.zG)(t)){var e=t.length;if((0,r.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(c.call(t[i]));return n}return c.call(t)}return t}function y(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function v(t){return 4===t||5===t}function m(t){return 1===t||2===t}var _=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=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.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,h=6,c=e;if((0,r.zG)(e)){var p=(0,r.zG)(e&&e[0])?2:1;h=p,(1!==p||(0,r.hj)(e[0]))&&(2!==p||(0,r.hj)(e[0][0]))||(l=!0)}else if((0,r.hj)(e)&&!(0,r.Bu)(e))h=0;else if((0,r.HD)(e)){if(isNaN(+e)){var d=u.Qc(e);d&&(c=d,h=3)}else h=0}else if((0,r.Qq)(e)){var f=(0,r.l7)({},c);(f.colorStops=(0,r.UI)(e.colorStops,function(t){return{offset:t.offset,color:u.Qc(t.color)}}),"linear"===e.type)?h=4:"radial"===e.type&&(h=5),c=f}0===a?this.valType=h:(h!==this.valType||6===h)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:c,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,r.mf)(n)?n:i[n]||s(n)),o.push(g),g},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=m(i),l=v(i),u=0;u<r;u++){var h=n[u],p=h.value,g=o.value;h.percent=h.time/t,!a&&(s&&u!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r){if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:c.call(e[o]))}for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(p,g,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(p.colorStops,g.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-y:3===i?n[u].additiveValue=d([],n[u].value,y,-1):m(i)&&(n[u].additiveValue=1===i?d([],n[u].value,y,-1):f([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,d=3===l,f=this._lastFr,g=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(f+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,h-2)}else{for(n=f;n<h&&!(u[n].percent>e);n++);n=g(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,S=0===x?1:g((e-i.percent)/x,1);o.easingFunc&&(S=o.easingFunc(S));var w=a?this._additiveValue:d?_:t[c];if((m(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[c]=S<1?i.rawValue:o.rawValue;else if(m(l))1===l?p(w,i[s],o[s],S):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}return t}(w,i[s],o[s],S);else if(v(l)){var b,M,T,D,C,k=i[s],I=o[s],A=4===l;(t[c]={type:A?"linear":"radial",x:(b=k.x,(I.x-b)*S+b),y:(M=k.y,(I.y-M)*S+M),colorStops:(0,r.UI)(k.colorStops,function(t,e){var n,i=I.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*S+n),color:y(p([],t.color,i.color,S))}}),global:I.global},A)?(t[c].x2=(T=k.x2,(I.x2-T)*S+T),t[c].y2=(D=k.y2,(I.y2-D)*S+D)):t[c].r=(C=k.r,(I.r-C)*S+C)}else if(d)p(w,i[s],o[s],S),a||(t[c]=y(w));else{var P,L=(P=i[s],(o[s]-P)*S+P);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.Qc(t[n],_),d(_,_,i,1),t[n]=y(_)):1===e?d(t[n],t[n],i,1):2===e&&f(t[n],t[n],i,1)},t}();let S=function(){function t(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){(0,r.H)("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,r.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),i),this._trackKeys.push(a)}s.addKeyframe(t,g(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(i,s),a.needsAnimate()){if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}}if(n.length||this._force){var p=new l({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(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._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,r.UI)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=g(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},9909:function(t,e,n){n.d(e,{Z:()=>i});let i=n(4647).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},6398:function(t,e,n){n.d(e,{Dm:()=>I,RZ:()=>x,RV:()=>k});var i=n(2097),r=n(3564),o=n(1109),a=n(1687),s=n(8588),l=n(3287),u=n(7755),h=n(7975);function c(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,h.hj)(e)?[e]:(0,h.kJ)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=(0,h.UI)(r,function(t){return t/a}),o/=a)}return[r,o]}var p=n(2168),d=n(9906),f=new r.Z(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function b(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){D(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(D(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l<S.length;l++){var u=S[l];(r||e[u]!==n[u])&&(a||(D(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(D(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function M(t,e,n,i,r){var o=C(e,r.inHover),a=i?null:n&&C(n,r.inHover)||{};if(o===a)return!1;var s=b(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(D(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(D(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(D(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(D(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var h=w[u],c=h[0];(i||o[c]!==a[c])&&(s||(D(t,r),s=!0),t[c]=o[c]||h[1])}return s}function T(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function D(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 k(t,e){I(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function I(t,e,n,i){var r,h,y,S,w,k=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.YV,e.__isRendered=!1;return}var A=e.__clipPaths,P=n.prevElClipPaths,L=!1,Z=!1;if((!P||(0,a.cF)(A,P))&&(P&&P.length&&(D(t,n),t.restore(),Z=L=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),A&&A.length&&(D(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),T(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(A,t,n),L=!0),n.prevElClipPaths=A),n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var O=n.prevEl;O||(Z=L=!0);var R=e instanceof s.ZP&&e.autoBatch&&(h=v(r=e.style),y=g(r),!(r.lineDash||!(+h^+y)||h&&"string"!=typeof r.fill||y&&"string"!=typeof r.stroke||r.strokePercent<1||r.strokeOpacity<1||r.fillOpacity<1));!L&&(S=O.transform,k&&S?k[0]===S[0]&&k[1]===S[1]&&k[2]===S[2]&&k[3]===S[3]&&k[4]===S[4]&&k[5]===S[5]:k||S?0:1)?R||D(t,n):(D(t,n),T(t,e));var z=C(e,n.inHover);e instanceof s.ZP?(1!==n.lastDrawType&&(Z=!0,n.lastDrawType=1),M(t,e,O,Z,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o,s,l=g(n),u=v(n),h=n.strokePercent,d=h<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var S=e.path||f,w=e.__dirty;if(!i){var b=n.fill,M=n.stroke,T=u&&!!b.colorStops,D=l&&!!M.colorStops,C=u&&!!b.image,k=l&&!!M.image,I=void 0,A=void 0,P=void 0,L=void 0,Z=void 0;(T||D)&&(Z=e.getBoundingRect()),T&&(I=w?(0,a.ZF)(t,b,Z):e.__canvasFillGradient,e.__canvasFillGradient=I),D&&(A=w?(0,a.ZF)(t,M,Z):e.__canvasStrokeGradient,e.__canvasStrokeGradient=A),C&&(P=w||!e.__canvasFillPattern?x(t,b,e):e.__canvasFillPattern,e.__canvasFillPattern=P),k&&(L=w||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=I:C&&(P?t.fillStyle=P:u=!1),D?t.strokeStyle=A:k&&(L?t.strokeStyle=L:l=!1)}var O=e.getGlobalScale();S.setScale(O[0],O[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(r=c(e))[0],s=r[1]);var R=!0;(y||w&p.RH)&&(S.setDPR(t.dpr),d?S.setContext(null):(S.setContext(t),R=!1),S.reset(),e.buildPath(S,e.shape,i),S.toStatic(),e.pathUpdated()),R&&S.rebuildPath(t,d?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,z,R),R&&(n.batchFill=z.fill||"",n.batchStroke=z.stroke||"")):e instanceof u.Z?(3!==n.lastDrawType&&(Z=!0,n.lastDrawType=3),M(t,e,O,Z,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||d.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=c(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(r,n.x,n.y),v(n)&&t.fillText(r,n.x,n.y)):(v(n)&&t.fillText(r,n.x,n.y),g(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,z)):e instanceof l.ZP?(2!==n.lastDrawType&&(Z=!0,n.lastDrawType=2),w=Z,b(t,C(e,n.inHover),O&&C(O,n.inHover),w,n),function(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var h=n.sx,c=n.sy,p=s-h,d=l-c;t.drawImage(i,h,c,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,z)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(Z=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,i===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),R&&i&&D(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},1687:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){for(var r,o,a,s,l,u,h,c,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(h=h*n.width+n.x,c=c*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),h=i(h)?h:0,c=i(c)?c:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(h,p,c,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[i])||a(t.style[i]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{ZF:()=>r,ap:()=>s,cF:()=>o})},9417:function(t,e,n){n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var i=n(4647),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},2666:function(t,e,n){n.d(e,{Dp:()=>p,GM:()=>d,M3:()=>h,dz:()=>s,lP:()=>u,mU:()=>c,wI:()=>f});var i=n(9495),r=n(6147),o=n(9906),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function l(t,e,n,r){var o=s(t,e),a=p(e),l=h(0,o,n),u=c(0,a,r);return new i.Z(l,u,o,a)}function u(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,r);for(var a=new i.Z(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,r);0===s?a.copy(u):a.union(u)}return a}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("国",t)}function d(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function f(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=d(i[0],n.width),u+=d(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},9495:function(t,e,n){n.d(e,{Z:()=>d});var i=n(9634),r=n(1145),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,p=new r.Z;let d=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),n=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)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,n=t.height/this.height,r=i.Ue();return i.Iu(r,r,[-this.x,-this.y]),i.bA(r,r,[e,n]),i.Iu(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,h=e.y,d=e.y+e.height,f=!(o<l||u<i||s<h||d<a);if(n){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-i),_=Math.abs(s-h),x=Math.abs(d-a),S=Math.min(v,m),w=Math.min(_,x);o<l||u<i?S>y&&(y=S,v<m?r.Z.set(p,-v,0):r.Z.set(p,m,0)):S<g&&(g=S,v<m?r.Z.set(c,v,0):r.Z.set(c,-m,0)),s<h||d<a?w>y&&(y=w,_<x?r.Z.set(p,0,-_):r.Z.set(p,0,x)):S<g&&(g=S,_<x?r.Z.set(c,0,_):r.Z.set(c,0,-x))}return n&&r.Z.copy(n,f?c:p),f},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,n,i){if(!i){e!==n&&t.copy(e,n);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],p=i[4],d=i[5];e.x=n.x*r+p,e.y=n.y*c+d,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var f=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=f-e.x,e.height=g-e.y},t}()},7654:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[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 n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},6147:function(t,e,n){n.d(e,{ZP:()=>o});var i=function(t){this.value=t},r=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,n=t.next;e?e.next=n:this.head=n,n?n.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}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},8291:function(t,e,n){n.d(e,{Z:()=>l});var i=n(1145),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(var n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)>a.len()&&(p<d?i.Z.scale(a,c,-p*l):i.Z.scale(a,c,d*l))}else if(n){var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)<n.len()&&(p<d?i.Z.scale(n,c,p*l):i.Z.scale(n,c,-d*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},3564:function(t,e,n){n.d(e,{L:()=>R,Z:()=>z});var i=n(7605),r=n(9495),o=n(9417),a=n(9101),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,p=i.Ue(),d=i.Ue(),f=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],S=[],w=[],b=[],M=[],T=Math.min,D=Math.max,C=Math.cos,k=Math.sin,I=Math.abs,A=Math.PI,P=2*A,L="undefined"!=typeof Float32Array,Z=[];function O(t){return Math.round(t/A*1e8)/1e8%2*A}function R(t,e){var n=O(t[0]);n<0&&(n+=P);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=P?r=n+P:e&&n-r>=P?r=n-P:!e&&n>r?r=n+(P-O(n-r)):e&&n<r&&(r=n-(P-O(r-n))),t[0]=n,t[1]=r}let z=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=I(n/o.KL/t)||0,this._uy=I(n/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=I(t-this._xi),i=I(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(m.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(m.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(m.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Z[0]=i,Z[1]=r,R(Z,o),i=Z[0];var a=(r=Z[1])-i;return this.addData(m.A,t,e,n,n,i,a,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=C(r)*n+t,this._yi=k(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(m.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&L&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();L&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.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}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,L&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){S[0]=S[1]=b[0]=b[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var T=e[t++],D=1===t;switch(D&&(n=e[t],o=e[t+1],_=n,x=o),T){case m.M:n=_=e[t++],o=x=e[t++],b[0]=_,b[1]=x,M[0]=_,M[1]=x;break;case m.L:g(n,o,e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.C:(function(t,e,n,i,r,o,u,h,c,p){var d=a.pP,f=a.af,g=d(t,n,r,u,y);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=f(t,n,r,u,y[m]);c[0]=s(_,c[0]),p[0]=l(_,p[0])}g=d(e,i,o,h,v);for(var m=0;m<g;m++){var x=f(e,i,o,h,v[m]);c[1]=s(x,c[1]),p[1]=l(x,p[1])}c[0]=s(t,c[0]),p[0]=l(t,p[0]),c[0]=s(u,c[0]),p[0]=l(u,p[0]),c[1]=s(e,c[1]),p[1]=l(e,p[1]),c[1]=s(h,c[1]),p[1]=l(h,p[1])})(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.Q:(function(t,e,n,i,r,o,u,h){var c=a.QC,p=a.Zm,d=l(s(c(t,n,r),1),0),f=l(s(c(e,i,o),1),0),g=p(t,n,r,d),y=p(e,i,o,f);u[0]=s(t,r,g),u[1]=s(e,o,y),h[0]=l(t,r,g),h[1]=l(e,o,y)})(n,o,e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.A:var I=e[t++],A=e[t++],P=e[t++],L=e[t++],Z=e[t++],O=e[t++]+Z;t+=1;var R=!e[t++];D&&(_=C(Z)*P+I,x=k(Z)*L+A),function(t,e,n,r,o,a,s,l,g){var y=i.VV,v=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(p[0]=h(o)*n+t,p[1]=u(o)*r+e,d[0]=h(a)*n+t,d[1]=u(a)*r+e,y(l,p,d),v(g,p,d),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=h(x)*n+t,f[1]=u(x)*r+e,y(l,f,l),v(g,f,g))}(I,A,P,L,Z,O,R,b,M),n=C(O)*P+I,o=k(O)*L+A;break;case m.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],b,M);break;case m.Z:n=_,o=x}i.VV(S,S,b),i.Fp(w,w,M)}return 0===t&&(S[0]=S[1]=w[0]=w[1]=0),new r.Z(S[0],S[1],w[0]-S[0],w[1]-S[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(r=t[p],o=t[p+1],s=r,l=o);var g=-1;switch(d){case m.M:r=s=t[p++],o=l=t[p++];break;case m.L:var y=t[p++],v=t[p++],_=y-r,x=v-o;(I(_)>n||I(x)>i||p===e-1)&&(g=Math.sqrt(_*_+x*x),r=y,o=v);break;case m.C:var S=t[p++],w=t[p++],y=t[p++],v=t[p++],b=t[p++],M=t[p++];g=(0,a.Ci)(r,o,S,w,y,v,b,M,10),r=b,o=M;break;case m.Q:var S=t[p++],w=t[p++],y=t[p++],v=t[p++];g=(0,a.wQ)(r,o,S,w,y,v,10),r=y,o=v;break;case m.A:var A=t[p++],L=t[p++],Z=t[p++],O=t[p++],R=t[p++],z=t[p++],B=z+R;p+=1,f&&(s=C(R)*Z+A,l=k(R)*O+L),g=D(Z,O)*T(P,Math.abs(z)),r=C(B)*Z+A,o=k(B)*O+L;break;case m.R:s=r=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case m.Z:var _=s-r,x=l-o;g=Math.sqrt(_*_+x*x),r=s,o=l}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,S=0,w=0,b=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=e*this._pathLen))t:for(var M=0;M<y;){var A=d[M++],P=1===M;switch(P&&(r=d[M],o=d[M+1],n=r,i=o),A!==m.L&&b>0&&(t.lineTo(c,p),b=0),A){case m.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case m.L:s=d[M++],l=d[M++];var L=I(s-r),Z=I(l-o);if(L>f||Z>g){if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;t.lineTo(r*(1-R)+s*R,o*(1-R)+l*R);break t}S+=O}t.lineTo(s,l),r=s,o=l,b=0}else{var z=L*L+Z*Z;z>b&&(c=s,p=l,b=z)}break;case m.C:var B=d[M++],N=d[M++],E=d[M++],F=d[M++],W=d[M++],H=d[M++];if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;(0,a.Vz)(r,B,E,W,R,_),(0,a.Vz)(o,N,F,H,R,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break t}S+=O}t.bezierCurveTo(B,N,E,F,W,H),r=W,o=H;break;case m.Q:var B=d[M++],N=d[M++],E=d[M++],F=d[M++];if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;(0,a.Lx)(r,B,E,R,_),(0,a.Lx)(o,N,F,R,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break t}S+=O}t.quadraticCurveTo(B,N,E,F),r=E,o=F;break;case m.A:var V=d[M++],G=d[M++],U=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=!d[M++],J=U>X?U:X,Q=I(U-X)>.001,$=Y+q,tt=!1;if(v){var O=u[w++];S+O>h&&($=Y+q*(h-S)/O,tt=!0),S+=O}if(Q&&t.ellipse?t.ellipse(V,G,U,X,K,Y,$,j):t.arc(V,G,J,Y,$,j),tt)break t;P&&(n=C(Y)*U+V,i=k(Y)*X+G),r=C($)*U+V,o=k($)*X+G;break;case m.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var te=d[M++],tn=d[M++];if(v){var O=u[w++];if(S+O>h){var ti=h-S;t.moveTo(s,l),t.lineTo(s+T(ti,te),l),(ti-=te)>0&&t.lineTo(s+te,l+T(ti,tn)),(ti-=tn)>0&&t.lineTo(s+D(te-ti,0),l+tn),(ti-=te)>0&&t.lineTo(s,l+D(tn-ti,0));break t}S+=O}t.rect(s,l,te,tn);break;case m.Z:if(v){var O=u[w++];if(S+O>h){var R=(h-S)/O;t.lineTo(r*(1-R)+n*R,o*(1-R)+i*R);break t}S+=O}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},1145:function(t,e,n){n.d(e,{Z:()=>i});let 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,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},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,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+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,n){t.x=e,t.y=n},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,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},4066:function(t,e,n){n.d(e,{ZP:()=>d,dN:()=>p});var i=n(9634),r=n(7605),o=i.yR;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=i.Ue(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(u[4]=n,u[5]=r,i.dC(l,e,u),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},e.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[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},e.prototype.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},e.prototype.copyTransform=function(t){(function(t,e){for(var n=0;n<p.length;n++){var i=p[n];t[i]=e[i]}})(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.U1(e,e,u),e[4]+=n+h,e[5]+=r+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let d=c},9101:function(t,e,n){n.d(e,{AZ:()=>S,Ci:()=>_,Jz:()=>w,Lx:()=>M,QC:()=>b,Vz:()=>v,Wr:()=>T,X_:()=>f,Zm:()=>x,af:()=>d,kD:()=>g,pP:()=>y,t1:()=>m,wQ:()=>D});var i=n(7605),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.Ue)(),u=(0,i.Ue)(),h=(0,i.Ue)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function f(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function g(t,e,n,i,l,u){var h=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*h*d,y=p*d-9*h*f,v=d*d-3*p*f,m=0;if(c(g)&&c(y)){if(c(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}}else{var x=y*y-4*g*v;if(c(x)){var S=y/g,_=-p/h+S,w=-S/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var b=o(x),M=g*p+1.5*h*(-y+b),T=g*p+1.5*h*(-y-b),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(T=T<0?-r(-T,s):r(T,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var D=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,C=o(g),k=Math.cos(D),_=(-p-2*C*k)/(3*h),w=(-p+C*(k+a*Math.sin(D)))/(3*h),I=(-p+C*(k-a*Math.sin(D)))/(3*h);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m}function y(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var d=a*a-4*s*l;if(c(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),h=(-a+f)/(2*s),g=(-a-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function m(t,e,n,r,a,s,c,p,f,g,y){var v,m,_,x,S,w=.005,b=1/0;l[0]=f,l[1]=g;for(var M=0;M<1;M+=.05)u[0]=d(t,n,a,c,M),u[1]=d(e,r,s,p,M),(x=(0,i.WU)(l,u))<b&&(v=M,b=x);b=1/0;for(var T=0;T<32&&!(w<1e-4);T++)m=v-w,_=v+w,u[0]=d(t,n,a,c,m),u[1]=d(e,r,s,p,m),x=(0,i.WU)(u,l),m>=0&&x<b?(v=m,b=x):(h[0]=d(t,n,a,c,_),h[1]=d(e,r,s,p,_),S=(0,i.WU)(h,l),_<=1&&S<b?(v=_,b=S):w*=.5);return y&&(y[0]=d(t,n,a,c,v),y[1]=d(e,r,s,p,v)),o(b)}function _(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,f=1;f<=l;f++){var g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function S(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function w(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var d=s*s-4*a*l;if(c(d)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(d>0){var f=o(d),h=(-s+f)/(2*a),g=(-s-f)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function b(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function M(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function T(t,e,n,r,a,s,c,p,d){var f,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,n,a,v),u[1]=x(e,r,s,v);var m=(0,i.WU)(l,u);m<y&&(f=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var S=f-g,w=f+g;u[0]=x(t,n,a,S),u[1]=x(e,r,s,S);var m=(0,i.WU)(u,l);if(S>=0&&m<y)f=S,y=m;else{h[0]=x(t,n,a,w),h[1]=x(e,r,s,w);var b=(0,i.WU)(h,l);w<=1&&b<y?(f=w,y=b):g*=.5}}return d&&(d[0]=x(t,n,a,f),d[1]=x(e,r,s,f)),o(y)}function D(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=x(t,n,r,p),f=x(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}},9708:function(t,e,n){n.d(e,{A4:()=>h,F1:()=>f,UK:()=>c,YB:()=>u});var i=n(4647),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}for(var c=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[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={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,i,r){return h(l,e,i,r,!0)&&h(t,n,l[0],l[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!c(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,d=c.left,f=c.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=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[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,r),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function f(t){return null==t?"":(t+"").replace(p,function(t,e){return d[e]})}},4647:function(t,e,n){n.d(e,{Z:()=>d});var i,r,o,a,s,l,u,h,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new c,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(p.node=!0,p.svgSupported=!0):(i=navigator.userAgent,o=(r=p).browser,a=i.match(/Firefox\/([\d.]+)/),s=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),l=i.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(i),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),r.svgSupported="undefined"!=typeof SVGRect,r.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,r.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),r.domSupported="undefined"!=typeof document,h=document.documentElement.style,r.transform3dSupported=(o.ie&&"transition"in h||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),r.transformSupported=r.transform3dSupported||o.ie&&+o.version>=9);let d=p},9474:function(t,e,n){n.d(e,{OD:()=>c,Oo:()=>p,eV:()=>l,iP:()=>h,sT:()=>f,x1:()=>g,xg:()=>d});var i=n(4647),r=n(9708),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&39>+i.Z.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.A4)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var f=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},9634:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(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,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function u(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function h(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}n.d(e,{Iu:()=>s,JG:()=>o,U1:()=>l,U_:()=>h,Ue:()=>i,bA:()=>u,dC:()=>a,yR:()=>r})},9906:function(t,e,n){n.d(e,{Uo:()=>a,n5:()=>o,qW:()=>l});var i,r,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var u=/(\d+)px/.exec(e),h=u&&+u[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var d=s[t[p]];c+=null==d?h:d*h}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},2298:function(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;!function(t,e,n){for(n--;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?l=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,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[n+h])?l=h:a=h+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var h=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var h=n[u],c=i[u],p=n[u+1],d=i[u+1];i[u]=c+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(d=o(t[h+c-1],t,p,d,d-1,e))&&(c<=d?function(n,i,s,u){var h,c,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],h++,c=0,1==--i){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,f,i,0,e))){for(d=0;d<h;d++)t[y+d]=l[f+d];if(y+=h,f+=h,(i-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[f],t,g,u,0,e))){for(d=0;d<c;d++)t[y+d]=t[g+d];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(h,c,p,d):function(n,i,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[c--],0==--i){for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h];return}if(1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[d--]=t[c--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,c-=v,i-=v,g=d+1,f=c+1,h=v-1;h>=0;h--)t[g+h]=t[f+h];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,h=0;h<m;h++)t[g+h]=l[f+h];if(u<=1){_=!0;break}}if(t[d--]=t[c--],0==--i){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p]}else if(0===u)throw Error();else for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h]}(h,c,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<c){var p=l;p>c&&(p=c),r(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}n.d(e,{Z:()=>s})},7975:function(t,e,n){n.d(e,{$j:()=>ts,Bu:()=>U,H:()=>v,HD:()=>z,I3:()=>th,Jn:()=>x,Jv:()=>X,Kn:()=>E,M8:()=>y,MY:()=>j,Mh:()=>H,Qq:()=>V,R1:()=>q,RI:()=>tl,S6:()=>C,TS:()=>_,UI:()=>k,WA:()=>Z,WW:()=>to,XP:()=>P,XW:()=>M,ZT:()=>tu,ak:()=>L,cd:()=>B,ce:()=>w,cq:()=>b,d9:()=>m,dL:()=>G,fU:()=>W,fy:()=>Q,hX:()=>A,hj:()=>N,hu:()=>J,jB:()=>T,kJ:()=>O,kW:()=>tr,l7:()=>S,mf:()=>R,nW:()=>ta,pD:()=>Y,s7:()=>tt,tP:()=>K,u4:()=>I,zG:()=>D});var i=n(9906),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[$]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!t[$]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else{if(!r[n]&&!t[$]&&!H(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]))}return e}function _(t,e,n){if(!E(e)||!E(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!(E(o)&&E(r))||O(o)||O(r)||H(o)||H(r)||F(o)||F(r)||o[$]||r[$]?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=_(n,t[i],e);return n}function S(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=P(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function b(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1}function M(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function D(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function C(t,e,n){if(t&&e){if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}}function k(t,e,n){if(!t)return[];if(!e)return K(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function A(t,e,n){if(!t)return[];if(!e)return K(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}i.qW.createCanvas;var L=d&&R(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function Z(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function O(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function R(t){return"function"==typeof t}function z(t){return"string"==typeof t}function B(t){return"[object String]"===a.call(t)}function N(t){return"number"==typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function F(t){return!!r[a.call(t)]}function W(t){return!!o[a.call(t)]}function H(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function V(t){return null!=t.colorStops}function G(t){return null!=t.image}function U(t){return t!=t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function Y(t,e){return null!=t?t:e}function q(t,e,n){return null!=t?t:null!=e?e:n}function K(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.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 J(t,e){if(!t)throw Error(e)}function Q(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function tt(t){t[$]=!0}var te=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),tn="function"==typeof Map,ti=function(){function t(e){var n=O(e);this.data=tn?new Map:new te;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&C(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return tn?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tr(t){return new ti(t)}function to(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function ta(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&S(n,e),n}function ts(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tl(t,e){return t.hasOwnProperty(e)}function tu(){}var th=180/Math.PI},7605:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function l(t,e){var n,i=Math.sqrt((n=e)[0]*n[0]+n[1]*n[1]);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function u(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}n.d(e,{Fp:()=>g,Fv:()=>l,IH:()=>o,Ne:()=>d,TE:()=>u,TK:()=>h,Ue:()=>i,VV:()=>f,WU:()=>c,bA:()=>s,d9:()=>r,lu:()=>a,t7:()=>p});var h=u,c=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function p(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function d(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function f(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function g(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},2097:function(t,e,n){n.d(e,{ZP:()=>y,ik:()=>h,tj:()=>u});var i=n(9362),r=n(5062),o=n(9495),a=n(7975),s=n(2168),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},n.prototype.createStyle=function(t){return(0,a.nW)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},n.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l){if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var d=(0,a.XP)(h),f=0;f<d.length;f++){var g=d[f];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.XP)(l),f=0;f<y.length;f++){var g=y[f];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l)}for(var v=this.__inHover?p:c,f=0;f<v.length;f++){var g=v[f];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},n.prototype.getAnimationStyleProps=function(){return h},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),n}(r.Z),f=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=d},4196:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},7293:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(7975),o=n(5062),a=n(9495),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(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,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),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,n=this._children,i=r.cq(n,t);return i<0||(n.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,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Z.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Z);s.prototype.type="group";let l=s},3287:function(t,e,n){n.d(e,{ZP:()=>h});var i=n(9362),r=n(2097),o=n(9495),a=n(7975),s=(0,a.ce)({x:0,y:0},r.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);u.prototype.type="image";let h=u},4235:function(t,e,n){n.d(e,{Z:()=>r});var i=n(9362);let r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(n(4196).Z)},8588:function(t,e,n){n.d(e,{$t:()=>w,ZP:()=>T});var i=n(9362),r=n(2097),o=n(3564);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}var s=n(9101),l=2*Math.PI;function u(t){return(t%=l)<0&&(t+=l),t}var h=2*Math.PI;function c(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||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 l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var p=o.Z.CMD,d=2*Math.PI,f=[-1,-1,-1],g=[-1,-1];function y(t,e,n,i,r){for(var o,l,y=t.data,v=t.len(),m=0,_=0,x=0,S=0,w=0,b=0;b<v;){var M,T,D,C,k,I,A,P,L,Z,O,R,z,B,N=y[b++],E=1===b;switch(N===p.M&&b>1&&!n&&(m+=c(_,x,S,w,i,r)),E&&(_=y[b],x=y[b+1],S=_,w=x),N){case p.M:S=y[b++],w=y[b++],_=S,x=w;break;case p.L:if(n){if(a(_,x,y[b],y[b+1],e,i,r))return!0}else m+=c(_,x,y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.C:if(n){if(M=_,T=x,D=y[b++],C=y[b++],k=y[b++],I=y[b++],A=y[b],P=y[b+1],0!==e&&(!(r>T+e)||!(r>C+e)||!(r>I+e)||!(r>P+e))&&(!(r<T-e)||!(r<C-e)||!(r<I-e)||!(r<P-e))&&(!(i>M+e)||!(i>D+e)||!(i>k+e)||!(i>A+e))&&(!(i<M-e)||!(i<D-e)||!(i<k-e)||!(i<A-e))&&s.t1(M,T,D,C,k,I,A,P,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s.kD(e,i,o,l,h,f);if(0===c)return 0;for(var p=0,d=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=f[m],x=0===_||1===_?.5:1;!(s.af(t,n,r,a,_)<u)&&(d<0&&(d=s.pP(e,i,o,l,g),g[1]<g[0]&&d>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.af(e,i,o,l,g[0]),d>1&&(v=s.af(e,i,o,l,g[1]))),2===d?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[b++],y[b++],y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.Q:if(n){if(L=_,Z=x,O=y[b++],R=y[b++],z=y[b],B=y[b+1],0!==e&&(!(r>Z+e)||!(r>R+e)||!(r>B+e))&&(!(r<Z-e)||!(r<R-e)||!(r<B-e))&&(!(i>L+e)||!(i>O+e)||!(i>z+e))&&(!(i<L-e)||!(i<O-e)||!(i<z-e))&&(0,s.Wr)(L,Z,O,R,z,B,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.Jz(e,i,o,l,f);if(0===u)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,p=s.Zm(e,i,o,h),d=0;d<u;d++){var g=0===f[d]||1===f[d]?.5:1,y=s.Zm(t,n,r,f[d]);!(y<a)&&(f[d]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===f[0]||1===f[0]?.5:1,y=s.Zm(t,n,r,f[0]);return y<a?0:o<e?g:-g}(_,x,y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.A:var F=y[b++],W=y[b++],H=y[b++],V=y[b++],G=y[b++],U=y[b++];b+=1;var X=!!(1-y[b++]);o=Math.cos(G)*H+F,l=Math.sin(G)*V+W,E?(S=o,w=l):m+=c(_,x,o,l,i,r);var Y=(i-F)*V/H+F;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(l-=e)*l);if(c-a>n||c+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=u(r),r=u(p)}else i=u(i),r=u(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(F,W,V,G,G+U,X,e,Y,r))return!0}else m+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);f[0]=-l,f[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=d-1e-4){i=0,r=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=d,r+=d);for(var p=0,g=0;g<2;g++){var y=f[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}(F,W,V,G,G+U,X,Y,r);_=Math.cos(G+U)*H+F,x=Math.sin(G+U)*V+W;break;case p.R:S=_=y[b++],w=x=y[b++];var q=y[b++],K=y[b++];if(o=S+q,l=w+K,n){if(a(S,w,o,w,e,i,r)||a(o,w,o,l,e,i,r)||a(o,l,S,l,e,i,r)||a(S,l,S,w,e,i,r))return!0}else m+=c(o,w,o,l,i,r),m+=c(S,l,S,w,i,r);break;case p.Z:if(n){if(a(_,x,S,w,e,i,r))return!0}else m+=c(_,x,S,w,i,r);_=S,x=w}}return!n&&!(1e-4>Math.abs(x-w))&&(m+=c(_,x,S,w,i,r)||0),0!==m}var v=n(7975),m=n(4411),_=n(9417),x=n(2168),S=n(4066),w=(0,v.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),b={style:(0,v.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},M=S.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=x.YV}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,v.XP)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,v.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,v.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.HD)(t)){var e=(0,m.L0)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}if(t)return _.GD}return _.vU},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.HD)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,m.L0)(t,0)<_.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~x.RH},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new o.Z(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&x.RH)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=x.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,v.l7)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&x.RH)},n.prototype.createStyle=function(t){return(0,v.nW)(w,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,v.l7)({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,v.l7)({},i.shape),(0,v.l7)(s,n.shape)):(s=(0,v.l7)({},r?this.shape:i.shape),(0,v.l7)(s,n.shape)):l&&(s=i.shape),s){if(o){this.shape=(0,v.l7)({},this.shape);for(var u={},h=(0,v.XP)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return b},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,v.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,v.d9)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.YV|x.SE|x.RH),n}(r.ZP)},7755:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9362),r=n(2097),o=n(2666),a=n(8588),s=n(7975),l=n(9906),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(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(0,s.nW)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.ZP);h.prototype.type="tspan";let c=h},4639:function(t,e,n){n.d(e,{ZP:()=>R});var i=n(9362),r=n(1109),o=n(7975),a=n(2666),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var l=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function u(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,i);if(o<=n)return t;for(var s=0;;s++){if(o<=r||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?function(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,l),o=(0,a.dz)(t,i)}return""===t&&(t=e.placeholder),t}var h=function(){},c=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function d(t,e,n,i,r){var o,s,l=""===e,u=r&&n.rich[r]||{},p=t.lines,d=u.font||n.font,f=!1;if(i){var y=u.padding,v=y?y[1]+y[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,a.GM)(u.width,i.width)+v;p.length>0&&m+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=m}else{var _=g(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x<o.length;x++){var S=o[x],w=new h;if(w.styleName=r,w.text=S,w.isLineHolder=!S&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[x]:(0,a.dz)(S,d),x||f)p.push(new c([w]));else{var b=(p[p.length-1]||(p[0]=new c)).tokens,M=b.length;1===M&&b[0].isLineHolder?b[0]=w:(S||!M||l)&&b.push(w)}}}var f=(0,o.u4)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"===d){u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0;continue}var g=(0,a.dz)(d,e),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!f[t]}(d);if(o.length?c+g>n:r+c+g>n){c?(l||u)&&(y?(l||(l=u,u="",c=h=0),o.push(l),s.push(c-h),u+=d,h+=g,l="",c=h):(u&&(l+=u,u="",h=0),o.push(l),s.push(c),l=d,c=g)):y?(o.push(u),s.push(h),u=d,h=g):(o.push(d),s.push(g));continue}c+=g,y?(u+=d,h+=g):(u&&(l+=u,u="",h=0),l+=d)}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var y=n(7755),v=n(3287),m=n(1969),_=n(9495),x=n(2097),S=n(9906),w={fill:"#000"},b={style:(0,o.ce)({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},x.ik.style)},M=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=w,n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,I(t=this.style),(0,o.S6)(t.rich,I),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 n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new _.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);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||w},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return b},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.Uo,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,h=(0,a.Dp)(s),c=(0,o.pD)(e.lineHeight,h),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,f=e.width,y=(n=null!=f&&("break"===i||"breakAll"===i)?t?g(t,e.font,f,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*c,v=(0,o.pD)(e.height,y);if(y>v&&d){var m=Math.floor(v/c);n=n.slice(0,m)}if(t&&"truncate"===i&&null!=f)for(var _=l(f,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<n.length;x++)n[x]=u(n[x],_);for(var S=v,w=0,x=0;x<n.length;x++)w=Math.max((0,a.dz)(n[x],s),w);null==f&&(f=w);var b=w;return r&&(S+=r[0]+r[2],b+=r[1]+r[3],f+=r[1]+r[3]),p&&(b=f),{lines:n,height:v,outerWidth:b,outerHeight:S,lineHeight:c,calculatedLineHeight:h,contentWidth:w,contentHeight:y,width:f}}(Z(t),t),r=O(t),s=!!t.backgroundColor,h=i.outerHeight,c=i.outerWidth,p=i.contentWidth,d=i.lines,f=i.lineHeight,v=this._defaultStyle,m=t.x||0,x=t.y||0,w=t.align||v.align||"left",b=t.verticalAlign||v.verticalAlign||"top",M=m,T=(0,a.mU)(x,i.contentHeight,b);if(r||n){var D=(0,a.M3)(m,c,w),C=(0,a.mU)(x,h,b);r&&this._renderBackground(t,t,D,C,c,h)}T+=f/2,n&&(M=L(m,w,n),"top"===b?T+=n[0]:"bottom"===b&&(T-=n[2]));for(var I=0,R=!1,z=P("fill"in t?t.fill:(R=!0,v.fill)),B=A("stroke"in t?t.stroke:s||v.autoStroke&&!R?null:(I=2,v.stroke)),N=t.textShadowBlur>0,E=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=i.calculatedLineHeight,W=0;W<d.length;W++){var H=this._getOrCreateChild(y.Z),V=H.createStyle();H.useStyle(V),V.text=d[W],V.x=M,V.y=T,w&&(V.textAlign=w),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,N&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=B,V.fill=z,B&&(V.lineWidth=t.lineWidth||I,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,k(V,t),T+=f,E&&H.setBoundingRect(new _.Z((0,a.M3)(V.x,t.width,V.textAlign),(0,a.mU)(V.y,F,V.textBaseline),p,F))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n,i=new p;if(null!=t&&(t+=""),!t)return i;for(var h=e.width,c=e.height,f=e.overflow,g=("break"===f||"breakAll"===f)&&null!=h?{width:h,accumWidth:0,breakAll:"breakAll"===f}:null,y=s.lastIndex=0;null!=(n=s.exec(t));){var v=n.index;v>y&&d(i,t.substring(y,v),e,g),d(i,n[2],e,g,n[1]),y=s.lastIndex}y<t.length&&d(i,t.substring(y,t.length),e,g);var m=[],_=0,x=0,S=e.padding,w="truncate"===f,b="truncate"===e.lineOverflow;function M(t,e,n){t.width=e,t.lineHeight=n,_+=n,x=Math.max(x,e)}e:for(var T=0;T<i.lines.length;T++){for(var D=i.lines[T],C=0,k=0,I=0;I<D.tokens.length;I++){var A=D.tokens[I],P=A.styleName&&e.rich[A.styleName]||{},L=A.textPadding=P.padding,Z=L?L[1]+L[3]:0,O=A.font=P.font||e.font;A.contentHeight=(0,a.Dp)(O);var R=(0,o.pD)(P.height,A.contentHeight);if(A.innerHeight=R,L&&(R+=L[0]+L[2]),A.height=R,A.lineHeight=(0,o.R1)(P.lineHeight,e.lineHeight,R),A.align=P&&P.align||e.align,A.verticalAlign=P&&P.verticalAlign||"middle",b&&null!=c&&_+A.lineHeight>c){I>0?(D.tokens=D.tokens.slice(0,I),M(D,k,C),i.lines=i.lines.slice(0,T+1)):i.lines=i.lines.slice(0,T);break e}var z=P.width,B=null==z||"auto"===z;if("string"==typeof z&&"%"===z.charAt(z.length-1))A.percentWidth=z,m.push(A),A.contentWidth=(0,a.dz)(A.text,O);else{if(B){var N=P.backgroundColor,E=N&&N.image;E&&(E=r.ko(E),r.v5(E)&&(A.width=Math.max(A.width,E.width*R/E.height)))}var F=w&&null!=h?h-k:null;null!=F&&F<A.width?!B||F<Z?(A.text="",A.width=A.contentWidth=0):(A.text=function(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=l(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=u(o[a],r);return o.join("\n")}(A.text,F-Z,O,e.ellipsis,{minChar:e.truncateMinChar}),A.width=A.contentWidth=(0,a.dz)(A.text,O)):A.contentWidth=(0,a.dz)(A.text,O)}A.width+=Z,k+=A.width,P&&(C=Math.max(C,A.lineHeight))}M(D,k,C)}i.outerWidth=i.width=(0,o.pD)(h,x),i.outerHeight=i.height=(0,o.pD)(c,_),i.contentHeight=_,i.contentWidth=x,S&&(i.outerWidth+=S[1]+S[3],i.outerHeight+=S[0]+S[2]);for(var T=0;T<m.length;T++){var A=m[T],W=A.percentWidth;A.width=parseInt(W,10)/100*i.width}return i}(Z(t),t),n=e.width,i=e.outerWidth,h=e.outerHeight,c=t.padding,f=t.x||0,g=t.y||0,y=this._defaultStyle,v=t.align||y.align,m=t.verticalAlign||y.verticalAlign,_=(0,a.M3)(f,i,v),x=(0,a.mU)(g,h,m),S=_,w=x;c&&(S+=c[3],w+=c[0]);var b=S+n;O(t)&&this._renderBackground(t,t,_,x,i,h);for(var M=!!t.backgroundColor,T=0;T<e.lines.length;T++){for(var D=e.lines[T],C=D.tokens,k=C.length,I=D.lineHeight,A=D.width,P=0,L=S,R=b,z=k-1,B=void 0;P<k&&(!(B=C[P]).align||"left"===B.align);)this._placeToken(B,t,I,w,L,"left",M),A-=B.width,L+=B.width,P++;for(;z>=0&&"right"===(B=C[z]).align;)this._placeToken(B,t,I,w,R,"right",M),A-=B.width,R-=B.width,z--;for(L+=(n-(L-S)-(b-R)-A)/2;P<=z;)B=C[P],this._placeToken(B,t,I,w,L+B.width/2,"center",M),L+=B.width,P++;w+=I}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2),!t.isLineHolder&&O(u)&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!u.backgroundColor,d=t.textPadding;d&&(r=L(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var f=this._getOrCreateChild(y.Z),g=f.createStyle();f.useStyle(g);var v=this._defaultStyle,m=!1,x=0,w=P("fill"in u?u.fill:"fill"in e?e.fill:(m=!0,v.fill)),b=A("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||v.autoStroke&&!m?null:(x=2,v.stroke)),M=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,M&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||S.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),k(g,u),b&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,x),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=b),w&&(g.fill=w);var T=t.contentWidth,D=t.contentHeight;f.setBoundingRect(new _.Z((0,a.M3)(g.x,T,g.textAlign),(0,a.mU)(g.y,D,g.textBaseline),T,D))},e.prototype._renderBackground=function(t,e,n,i,r,a){var s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(s=this._getOrCreateChild(m.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=i,y.width=r,y.height=a,y.r=f,s.dirtyShape()}if(d){var _=s.style;_.fill=u||null,_.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(p){(l=this._getOrCreateChild(v.ZP)).onload=function(){g.dirtyStyle()};var x=l.style;x.image=u.image,x.x=n,x.y=i,x.width=r,x.height=a}if(h&&c){var _=s.style;_.lineWidth=h,_.stroke=c,_.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var S=(s||l).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?S.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,o.fy)(i)||t.textFont||t.font},e}(x.ZP),T={left:!0,right:1,center:1},D={top:1,bottom:1,middle:1},C=["fontStyle","fontWeight","fontSize","fontFamily"];function k(t,e){for(var n=0;n<C.length;n++){var i=C[n],r=e[i];null!=r&&(t[i]=r)}}function I(t){if(t){t.font=M.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||T[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||D[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Z(t){var e=t.text;return null!=e&&(e+=""),e}function O(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let R=M},2168:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>r,YV:()=>i});var i=1,r=2,o=4},1109:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var i=n(6147),r=n(9906),o=new i.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.qW.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},4899:function(t,e,n){n.d(e,{L:()=>r});var i=n(7605);function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,l,u=[],h=[],c=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,i.VV)(s,s,t[d]),(0,i.Fp)(l,l,t[d]);(0,i.VV)(s,s,r[0]),(0,i.Fp)(l,l,r[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)o=t[d?d-1:f-1],a=t[(d+1)%f];else{if(0===d||d===f-1){u.push((0,i.d9)(t[d]));continue}o=t[d-1],a=t[d+1]}(0,i.lu)(h,a,o),(0,i.bA)(h,h,e);var y=(0,i.TE)(g,o),v=(0,i.TE)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,i.bA)(c,h,-y),(0,i.bA)(p,h,v);var _=(0,i.IH)([],g,c),x=(0,i.IH)([],g,p);r&&((0,i.Fp)(_,_,s),(0,i.VV)(_,_,l),(0,i.Fp)(x,x,s),(0,i.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],h=a[2*l+1],c=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},4958:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>r,vu:()=>a});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}},222:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9362),r=n(8588),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(0,i.ZT)(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 n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc";let s=a},121:function(t,e,n){n.d(e,{Z:()=>c});var i=n(9362),r=n(8588),o=n(7605),a=n(9101),s=[],l=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,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==h||null==c?(p<1&&((0,a.Lx)(n,l,r,p,s),l=s[1],r=s[2],(0,a.Lx)(i,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.Vz)(n,l,h,r,p,s),l=s[1],h=s[2],r=s[3],(0,a.Vz)(i,u,c,o,p,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(l,u,h,c,r,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.Fv(e,e)},e}(r.ZP);h.prototype.type="bezier-curve";let c=h},7266:function(t,e,n){n.d(e,{Z:()=>s});var i=n(9362),r=n(8588),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle";let s=a},2859:function(t,e,n){n.d(e,{Z:()=>u});var i=n(9362),r=n(8588),o=n(4958),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,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}(r.ZP);l.prototype.type="line";let u=l},4484:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(8588),o=n(4899),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(r.ZP);s.prototype.type="polygon";let l=s},1099:function(t,e,n){n.d(e,{Z:()=>l});var i=n(9362),r=n(8588),o=n(4899),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(0,i.ZT)(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.L(t,e,!1)},e}(r.ZP);s.prototype.type="polyline";let l=s},1969:function(t,e,n){n.d(e,{Z:()=>u});var i=n(9362),r=n(8588),o=n(4958),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,h,c,p,d,f,g,y,v,m,_=(0,o.Pw)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(n=e).x,c=n.y,p=n.width,d=n.height,f=n.r,p<0&&(h+=p,p=-p),d<0&&(c+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(h+i,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+d-a),0!==a&&t.arc(h+p-a,c+d-a,a,0,Math.PI/2),t.lineTo(h+l,c+d),0!==l&&t.arc(h+l,c+d-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+i),0!==i&&t.arc(h+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";let u=l},3511:function(t,e,n){n.d(e,{C:()=>_});var i=n(9362),r=n(8588),o=n(7975),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=n+h,v=i+c,m=(p+y)/2,_=(g+v)/2,x=y-p,S=v-g,w=x*x+S*S,b=r-o,M=p*v-y*g,T=(S<0?-1:1)*d(f(0,b*b*w-M*M)),D=(M*S-x*T)/w,C=(-M*x-S*T)/w,k=(M*S+x*T)/w,I=(-M*x+S*T)/w,A=D-m,P=C-_,L=k-m,Z=I-_;return A*A+P*P>L*L+Z*Z&&(D=k,C=I),{cx:D,cy:C,x0:-h,y0:-c,x1:D*(r/b-1),y1:C*(r/b-1)}}var v=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},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,S=e.endAngle;if(!(isNaN(x)||isNaN(S))){var w=e.cx,b=e.cy,M=!!e.clockwise,T=p(S-x),D=T>s&&T%s;if(D>1e-4&&(T=D),i>1e-4){if(T>s-1e-4)t.moveTo(w+i*u(x),b+i*l(x)),t.arc(w,b,i,x,S,!M),r>1e-4&&(t.moveTo(w+r*u(S),b+r*l(S)),t.arc(w,b,r,S,x,M));else{var C=void 0,k=void 0,I=void 0,A=void 0,P=void 0,L=void 0,Z=void 0,O=void 0,R=void 0,z=void 0,B=void 0,N=void 0,E=void 0,F=void 0,W=void 0,H=void 0,V=i*u(x),G=i*l(x),U=r*u(S),X=r*l(S),Y=T>1e-4;if(Y){var q=e.cornerRadius;q&&(C=(n=function(t){var e;if((0,o.kJ)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(q))[0],k=n[1],I=n[2],A=n[3]);var K=p(i-r)/2;if(P=g(K,I),L=g(K,A),Z=g(K,C),O=g(K,k),B=R=f(P,L),N=z=f(Z,O),(R>1e-4||z>1e-4)&&(E=i*u(S),F=i*l(S),W=r*u(x),H=r*l(x),T<a)){var j=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(V,G,W,H,E,F,U,X);if(j){var J=V-j[0],Q=G-j[1],$=E-j[0],tt=F-j[1],te=1/l(h((J*$+Q*tt)/(d(J*J+Q*Q)*d($*$+tt*tt)))/2),tn=d(j[0]*j[0]+j[1]*j[1]);B=g(R,(i-tn)/(te+1)),N=g(z,(r-tn)/(te-1))}}}if(Y){if(B>1e-4){var ti=g(I,B),tr=g(A,B),to=y(W,H,V,G,i,ti,M),ta=y(E,F,U,X,i,tr,M);t.moveTo(w+to.cx+to.x0,b+to.cy+to.y0),B<R&&ti===tr?t.arc(w+to.cx,b+to.cy,B,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(ti>0&&t.arc(w+to.cx,b+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(w+ta.cx,b+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(w+V,b+G),t.arc(w,b,i,x,S,!M)}else t.moveTo(w+V,b+G);if(r>1e-4&&Y){if(N>1e-4){var ti=g(C,N),tr=g(k,N),to=y(U,X,E,F,r,-tr,M),ta=y(V,G,W,H,r,-ti,M);t.lineTo(w+to.cx+to.x0,b+to.cy+to.y0),N<z&&ti===tr?t.arc(w+to.cx,b+to.cy,N,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(w+to.cx,b+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),ti>0&&t.arc(w+ta.cx,b+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(w+U,b+X),t.arc(w,b,r,S,x,M)}else t.lineTo(w+U,b+X)}}else t.moveTo(w,b);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);m.prototype.type="sector";let _=m},4411:function(t,e,n){n.d(e,{L0:()=>M,Pz:()=>b,Qc:()=>y,Uu:()=>_,fD:()=>D,m8:()=>w,ox:()=>S,t7:()=>x});var i=n(6147),r=n(7975),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.ZP(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){c(e,0,0,0,1);return}return c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=0xffffff)){c(e,0,0,0,1);return}return c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e}return}var s=i.indexOf("("),h=i.indexOf(")");if(-1!==s&&h+1===r){var f=i.substr(0,s),y=i.substr(s+1,h-(s+1)).split(","),m=1;switch(f){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);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;c(e,0,0,0,1);return;case"hsla":if(4!==y.length){c(e,0,0,0,1);return}return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length){c(e,0,0,0,1);return}return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return c(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=e[h],d=e[c],f=u-h;return n[0]=a((i=p[0],i+(d[0]-i)*f)),n[1]=a((r=p[1],r+(d[1]-r)*f)),n[2]=a((o=p[2],o+(d[2]-o)*f)),n[3]=s((l=p[3],l+(d[3]-l)*f)),n}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),d=y(e[c]),f=u-h,g=b([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}function S(t,e,n,i){var r,o=y(t);if(t)return o=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(o),null!=e&&(o[0]=(r=Math.round(r=e))<0?0:r>360?360:r),null!=n&&(o[1]=u(n)),null!=i&&(o[2]=u(i)),b(v(o),"rgba")}function w(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),b(n,"rgba")}function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}function M(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var T=new i.ZP(100);function D(t){if((0,r.HD)(t)){var e=T.get(t);return e||(e=m(t,-.1),T.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},6573:function(t,e,n){n.d(e,{Qq:()=>to,S1:()=>ti,wm:()=>tr});var i,r,o,a=n(4647),s=n(7975),l=n(9362),u=n(7605),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},c=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.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=n(7654),d=n(9474),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=d.eV(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in y)if(y.hasOwnProperty(e)){var n=y[e](this._track,t);if(n)return n}},t}();function g(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var y={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=g(i)/g(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(9495),m="silent";function _(){d.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),S=function(t,e){this.x=t,this.y=e},w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new S(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new c(a),a}return(0,l.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.S6(w,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,n=t.zrY,i=D(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new S(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"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 S(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){var i,r=(t=t||{}).target;if(!r||!r.silent){for(var o="on"+e,a={type:e,event:n,target:(i=t).target,topTarget:i.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_};r&&(r[o]&&(a.cancelBubble=!!r[o].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new S(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new v.Z(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=c)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new S;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(p.Z);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0),i=i.__hostTarget||i.parent}return!r||m}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==m)){e.target=a;break}}}function D(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=D(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,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||u.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var C=n(2298),k=n(2168),I=!1;function A(){!I&&(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,C.Z)(n,P)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=k.YV),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(A(),t.z=0),isNaN(t.z2)&&(A(),t.z2=0),isNaN(t.zlevel)&&(A(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,e,n)}},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,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=s.cq(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}(),Z=n(9909),O=n(8026);function R(){return new Date().getTime()}var z=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,l.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=R()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)&&(i.ondestroy(),this.removeClip(i)),i=r}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,Z.Z)(function e(){t._running&&((0,Z.Z)(e),t._paused||t.update())})},e.prototype.start=function(){!this._running&&(this._time=R(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=R(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=R()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new O.Z(t,e.loop);return this.addAnimator(n),n},e}(p.Z),B=a.Z.domSupported,N=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.UI(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),E={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},F=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function H(t){t&&(t.zrByTouch=!0)}function V(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var G=function(t,e){this.stopPropagation=s.ZT,this.stopImmediatePropagation=s.ZT,this.preventDefault=s.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},U={mousedown:function(t){t=(0,d.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.OD)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,d.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){V(this,(t=(0,d.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){F=!0,t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){!F&&(t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){H(t=(0,d.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),U.mousemove.call(this,t),U.mousedown.call(this,t)},touchmove:function(t){H(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"change"),U.mousemove.call(this,t)},touchend:function(t){H(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"end"),U.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&U.click.call(this,t)},pointerdown:function(t){U.mousedown.call(this,t)},pointermove:function(t){W(t)||U.mousemove.call(this,t)},pointerup:function(t){U.mouseup.call(this,t)},pointerout:function(t){W(t)||U.mouseout.call(this,t)}};s.S6(["click","dblclick","contextmenu"],function(t){U[t]=function(e){e=(0,d.OD)(this.dom,e),this.trigger(t,e)}});var X={pointermove:function(t){W(t)||X.mousemove.call(this,t)},pointerup:function(t){X.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 Y(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,d.Oo)(t.domTarget,e,n,i)}function q(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,d.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},j=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new K(e,U),B&&(o._globalHandlerScope=new K(document,X)),r=(i=o._localHandlerScope).domHandlers,a.Z.pointerEventsSupported?s.S6(N.pointer,function(t){Y(i,t,function(e){r[t].call(o,e)})}):(a.Z.touchEventsSupported&&s.S6(N.touch,function(t){Y(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),s.S6(N.mouse,function(t){Y(i,t,function(e){e=(0,d.iP)(e),i.touching||r[t].call(o,e)})})),o}return(0,l.ZT)(e,t),e.prototype.dispose=function(){q(this._localHandlerScope),B&&q(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,B&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.Z.pointerEventsSupported?s.S6(E.pointer,n):a.Z.touchEventsSupported||s.S6(E.mouse,n);function n(n){Y(e,n,function(i){if(!V(t,(i=(0,d.iP)(i)).target)){var r;r=i,i=(0,d.OD)(t.dom,new G(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):q(e)}},e}(p.Z),J=n(4411),Q=n(9417),$=n(7293),tt={},te={},tn=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new L,l=n.renderer||"canvas";tt[l]||(l=s.XP(tt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tt[l](e,o,n,t),h=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=a.Z.node||a.Z.worker||h?null:new j(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?a.Z.touchEventsSupported:!!p)&&(i=s.pD(n.pointerSize,44)),this.handler=new M(o,u,c,u.root,i),this.animation=new z({stage:{update:h?null:function(){return r._flush(!0)}}}),h||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){!this._disposed&&(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){!this._disposed&&(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,J.L0)(t,1)<Q.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.L0)(e[r].color,1);return(n/=i)<Q.Ak}return!1}(t))},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){!this._disposed&&(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){!this._disposed&&(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){!this._disposed&&this._flush(!1)},t.prototype._flush=function(t){var e,n=R();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=R();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):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._disposed&&(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){!this._disposed&&(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){!this._disposed&&this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){!this._disposed&&this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){!this._disposed&&this.handler.off(t,e)},t.prototype.trigger=function(t,e){!this._disposed&&this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof $.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;!this._disposed&&(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete te[t])},t}();function ti(t,e){var n=new tn(s.M8(),t,e);return te[n.id]=n,n}function tr(t,e){tt[t]=e}function to(t){}}}]);