PageSourceSearch

https://smartguys.ai/_next/static/chunks/9421-ba3e794525a9fc67.js

js smartguys.ai collected 2026-10-05 15:08:30 UTC 62,017 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9421],{3467:(e,t,n)=>{n.d(t,{Ck:()=>l,_r:()=>s,s:()=>a});var o=n(94416),i=n(840),r="\0_ec_interaction_mutex";function a(e,t,n){u(e)[t]=n}function s(e,t,n){var o=u(e);o[t]===n&&(o[t]=null)}function l(e,t){return!!u(e)[t]}function u(e){return e[r]||(e[r]={})}o.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},i.lQ)},5698:(e,t,n)=>{n.d(t,{a:()=>W});var o=n(39896),i=n(85773),r=n(840),a=n(5485),s=n(43609),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),r.cy(t)&&r.__(t,function(e,o){var i;r.Kg(e)&&(e={type:e}),t[o]=r.h1(e,"all"===(i=e.type)?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===i?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var o=e[n].get("name");if(this.isSelected(o)){this.select(o),t=!0;break}}t||this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries(function(o){var i,r=o.name;if(n.push(r),o.legendVisualProvider){var a=o.legendVisualProvider.getAllNames();e.isSeriesFiltered(o)||(n=n.concat(a)),a.length?t=t.concat(a):i=!0}else i=!0;i&&(0,s.O0)(o)&&t.push(o.name)}),this._availableNames=n;var o=this.get("data")||t,i=r.nt(),l=r.Tj(o,function(e){return((r.Kg(e)||r.Et(e))&&(e={name:e}),i.get(e.name))?null:(i.set(e.name,!0),new a.A(e,this,this.ecModel))},this);this._data=r.pb(l,function(e){return!!e})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;r.__(n,function(e){t[e.get("name")]=!1})}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;r.__(e,function(e){t[e.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;r.__(e,function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]})},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&r.qh(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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",miter
1Limit:"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}},t}(n(48704).A),u=n(82694),c=n(78064),p=n(621),g=n(63652),d=n(10724),h=n(72726),f=n(51679),m=n(18543),y=n(40286),v=n(46202),_=n(68728),x=n(63785),b=n(34101),S=r.cF,I=r.__,M=c.A,A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return(0,i.C6)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new M),this.group.add(this._selectorGroup=new M),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);s&&(!l||"auto"===l)&&(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},p=e.get("padding"),g=y.dV(u,c,p),d=this.layoutInner(e,i,g,o,s,l),h=y.dV(r.NT({width:d.width,height:d.height},u),c,p);this.group.x=h.x-d.x,this.group.y=h.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,m.P)(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,o,i,a,s){var l=this.getContentGroup(),c=r.nt(),p=t.get("selectedMode"),g=[];n.eachRawSeries(function(e){e.get("legendHoverLink")||g.push(e.id)}),I(t.getData(),function(i,a){var s=i.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var d=new M;d.newline=!0,l.add(d);return}var h=n.getSeriesByName(s)[0];if(!c.get(s))if(h){var f=h.getData(),m=f.getVisual("legendLineStyle")||{},y=f.getVisual("legendIcon"),v=f.getVisual("style"),_=this._createItem(h,s,a,i,t,e,m,v,y,p,o);_.on("click",S(w,s,null,o,g)).on("mouseover",S(D,h.name,null,o,g)).on("mouseout",S(T,h.name,null,o,g)),n.ssr&&_.eachChild(function(e){var t=(0,b.z)(e);t.seriesIndex=h.seriesIndex,t.dataIndex=a,t.ssrType="legend"}),c.set(s,!0)}else n.eachRawSeries(function(l){if(!c.get(s)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(d.containName(s)){var h=d.indexOfName(s),f=d.getItemVisual(h,"style"),m=d.getItemVisual(h,"legendIcon"),y=(0,u.qg)(f.fill);y&&0===y[3]&&(y[3]=.2,f=r.X$(r.X$({},f),{fill:(0,u.As)(y,"rgba")}));var v=this._createItem(l,s,a,i,t,e,{},f,m,p,o);v.on("click",S(w,null,s,o,g)).on("mouseover",S(D,null,s,o,g)).on("mouseout",S(T,null,s,o,g)),n.ssr&&v.eachChild(function(e){var t=(0,b.z)(e);t.seriesIndex=l.seriesIndex,t.dataIndex=a,t.ssrType="legend"}),c.set(s,!0)}}},this)},this),i&&this._createSelector(i,t,o,a,s)},t.prototype._createSelector=function(e,t,n,o,i){var r=this.getSelectorGroup();I(e,function(e){var o=e.type,i=new p.Ay({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===o?"legendAllSelect":"legendInverseSelect",legendId:t.id})}});r.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);(0,f.qM)(i,{normal:a,emphasis:s},{defaultText:e.title}),(0,h.iJ)(i)})},t.prototype._createItem=function(e,t,n,o,i,a,s,l,u,c,m){var y=e.visualDrawType,v=i.get("itemWidth"),b=i.get("itemHeight"),S=i.isSelected(t),A=o.get("symbolRotate"),w=o.get("symbolKeepAspect"),C=o.get("icon"),D=function(e,t,n,o,i,r,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=2*(t.lineWidth>0)),I(e,function(n,o){"inherit"===e[o]&&(e[o]=t[o])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",p=l.getShallow("decal");u.decal=p&&"inherit"!==p?(0,x.w)(p,a):o.decal,"inherit"===u.fill&&(u.fill=o[i]),"inherit"===u.stroke&&(u.stroke=o[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?o:n).opacity),s(u,o);var g=t.getModel("lineStyle"),d=g.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=o.fill),"auto"===u.stroke&&(u.stroke=o.fill),"auto"===d.stroke&&(d.stroke=o.fill),!r){var h=t.get("inactiveBorderWidth"),f=u[c];u.lineWidth="auto"===h?o.lineWidth>0&&f?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=g.get("inactiveColor"),d.lineWidth=g.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(u=C||u||"roundRect",o,s,l,y,S,m),T=new M,G=o.getModel("textStyle");if(r.Tn(e.getLegendIcon)&&(!C||"inherit"===C))T.add(e.getLegendIcon({itemWidth:v,itemHeight:b,icon:u,iconRotate:A,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:w}));else{var k,O,N,P="inherit"===C&&e.getData().getVisual("symbol")?"inherit"===A?e.getData().getVisual("symbolRotate"):A:0;T.add((O=(k={itemWidth:v,itemHeight:b,icon:u,iconRotate:P,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:w}).icon||"roundRect",(N=(0,_.v5)(O,0,0,k.itemWidth,k.itemHeight,k.itemStyle.fill,k.symbolKeepAspect)).setStyle(k.itemStyle),N.rotation=(k.iconRotate||0)*Math.PI/180,N.setOrigin([k.itemWidth/2,k.itemHeight/2]),O.indexOf("empty")>-1&&(N.style.stroke=N.style.fill,N.style.fill="#fff",N.style.lineWidth=2),N))}var R=i.get("formatter"),L=t;r.Kg(R)&&R?L=R.replace("{name}",null!=t?t:""):r.Tn(R)&&(L=R(t));var z=S?G.getTextColor():o.get("inactiveColor");T.add(new p.Ay({style:(0,f.VB)(G,{text:L,x:"left"===a?v+5:-5,y:b/2,fill:z,align:a,verticalAlign:"middle"},{inheritColor:z})}));
1var V=new g.A({shape:T.getBoundingRect(),style:{fill:"transparent"}}),F=o.getModel("tooltip");return F.get("show")&&d.setTooltipConfig({el:V,componentModel:i,itemName:t,itemTooltipOption:F.option}),T.add(V),T.eachChild(function(e){e.silent=!0}),V.silent=!c,this.getContentGroup().add(T),(0,h.iJ)(T),T.__legendDataIndex=n,T},t.prototype.layoutInner=function(e,t,n,o,i,r){var a=this.getContentGroup(),s=this.getSelectorGroup();y.aP(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),!i)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();y.aP("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),p=[-c.x,-c.y],g=e.get("selectorButtonGap",!0),d=e.getOrient().index,h=0===d?"width":"height",f=0===d?"height":"width",m=0===d?"y":"x";"end"===r?p[d]+=l[h]+g:u[d]+=c[h]+g,p[1-d]+=l[f]/2-c[f]/2,s.x=p[0],s.y=p[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[h]=l[h]+g+c[h],v[f]=Math.max(l[f],c[f]),v[m]=Math.min(0,c[m]+p[1-d]),v},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(v.A);function w(e,t,n,o){T(e,t,n,o),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),D(e,t,n,o)}function C(e){for(var t,n=e.getZr().storage.getDisplayList(),o=0,i=n.length;o<i&&!(t=n[o].states.emphasis);)o++;return t&&t.hoverLayer}function D(e,t,n,o){C(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:o})}function T(e,t,n,o){C(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:o})}function G(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})}function k(e,t,n){var o="allSelect"===e||"inverseSelect"===e,i={},a=[];n.eachComponent({mainType:"legend",query:t},function(n){o?n[e]():n[e](t.name),O(n,i),a.push(n.componentIndex)});var s={};return n.eachComponent("legend",function(e){(0,r.__)(i,function(t,n){e[t?"select":"unSelect"](n)}),O(e,s)}),o?{selected:s,legendIndex:a}:{name:t.name,selected:s}}function O(e,t){var n=t||{};return(0,r.__)(e.getData(),function(t){var o=t.get("name");if("\n"!==o&&""!==o){var i=e.isSelected(o);(0,r.$3)(n,o)?n[o]=n[o]&&i:n[o]=i}}),n}function N(e){e.registerComponentModel(l),e.registerComponentView(A),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,G),e.registerSubTypeDefaulter("legend",function(){return"plain"}),e.registerAction("legendToggleSelect","legendselectchanged",(0,r.cF)(k,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,r.cF)(k,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,r.cF)(k,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,r.cF)(k,"select")),e.registerAction("legendUnSelect","legendunselected",(0,r.cF)(k,"unSelect"))}var P=n(46567),R=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,o){var i=(0,y.vs)(t);e.prototype.init.call(this,t,n,o),L(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),L(this,this.option,t)},t.type="legend.scroll",t.defaultOption=(0,P.G_)(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}),t}(l);function L(e,t,n){var o=e.getOrient(),i=[1,1];i[o.index]=0,(0,y.YA)(t,n,{type:"box",ignoreSize:!!i})}var z=n(43633),V=c.A,F=["width","height"],B=["x","y"],E=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,i.C6)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new V),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new V)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,o,i,a,s,l){var u=this;e.prototype.renderInner.call(this,t,n,o,i,a,s,l);var c=this._controllerGroup,g=n.get("pageIconSize",!0),h=r.cy(g)?g:[g,g];m("pagePrev",0);var f=n.getModel("pageTextStyle");function m(e,t){var o=d.createIcon(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:r.oI(u._pageGo,u,e+"DataIndex",n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=e,c.add(o)}c.add(new p.Ay({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),m("pageNext",1)},t.prototype.layoutInner=function(e,t,n,o,i,a){var s=this.getSelectorGroup(),l=e.getOrient().index,u=F[l],c=B[l],p=F[1-l],g=B[1-l];i&&y.aP("horizontal",s,e.get("selectorItemGap",!0));
1var d=e.get("selectorButtonGap",!0),h=s.getBoundingRect(),f=[-h.x,-h.y],m=r.o8(n);i&&(m[u]=n[u]-h[u]-d);var v=this._layoutContentAndController(e,o,m,l,u,p,g,c);if(i){if("end"===a)f[l]+=v[u]+d;else{var _=h[u]+d;f[l]-=_,v[c]-=_}v[u]+=h[u]+d,f[1-l]+=v[g]+v[p]/2-h[p]/2,v[p]=Math.max(v[p],h[p]),v[g]=Math.min(v[g],h[g]+f[1-l]),s.x=f[0],s.y=f[1],s.markRedraw()}return v},t.prototype._layoutContentAndController=function(e,t,n,o,i,a,s,l){var u=this.getContentGroup(),c=this._containerGroup,p=this._controllerGroup;y.aP(e.get("orient"),u,e.get("itemGap"),o?n.width:null,o?null:n.height),y.aP("horizontal",p,e.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),h=p.getBoundingRect(),f=this._showController=d[i]>n[i],m=[-d.x,-d.y];t||(m[o]=u[l]);var v=[0,0],_=[-h.x,-h.y],x=r.bZ(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?_[o]+=n[i]-h[i]:v[o]+=h[i]+x),_[1-o]+=d[a]/2-h[a]/2,u.setPosition(m),c.setPosition(v),p.setPosition(_);var b={x:0,y:0};if(b[i]=f?n[i]:d[i],b[a]=Math.max(d[a],h[a]),b[s]=Math.min(0,h[s]+_[1-o]),c.__rectSize=n[i],f){var S={x:0,y:0};S[i]=Math.max(n[i]-h[i]-x,0),S[a]=b[a],c.setClipPath(new g.A({shape:S})),c.__rectSize=S[i]}else p.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var I=this._getPageInfo(e);return null!=I.pageIndex&&z.oi(u,{x:I.contentPosition[0],y:I.contentPosition[1]},f?e:null),this._updatePageInfoView(e,I),b},t.prototype._pageGo=function(e,t,n){var o=this._getPageInfo(t)[e];null!=o&&n.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;r.__(["pagePrev","pageNext"],function(o){var i=null!=t[o+"DataIndex"],r=n.childOfName(o);r&&(r.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),r.curs
1or=i?"pointer":"default")});var o=n.childOfName("pageText"),i=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;o&&i&&o.setStyle("text",r.Kg(i)?i.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):i({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),o=this._containerGroup.__rectSize,i=e.getOrient().index,r=F[i],a=B[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,p=+!!c,g={contentPosition:[n.x,n.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return g;var d=v(u);g.contentPosition[i]=-d.s;for(var h=s+1,f=d,m=d,y=null;h<=c;++h)(!(y=v(l[h]))&&m.e>f.s+o||y&&!_(y,f.s))&&(f=m.i>f.i?m:y)&&(null==g.pageNextDataIndex&&(g.pageNextDataIndex=f.i),++g.pageCount),m=y;for(var h=s-1,f=d,m=d,y=null;h>=-1;--h)(!(y=v(l[h]))||!_(m,y.s))&&f.i<m.i&&(m=f,null==g.pagePrevDataIndex&&(g.pagePrevDataIndex=f.i),++g.pageCount,++g.pageIndex),f=y;return g;function v(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[r],i:e.__legendDataIndex}}}function _(e,t){return e.e>=t&&e.s<=t+o}},t.prototype._findTargetItemIndex=function(e){var t,n;return this._showController?(this.getContentGroup().eachChild(function(o,i){var r=o.__legendDataIndex;null==n&&null!=r&&(n=i),r===e&&(t=i)}),null!=t?t:n):0},t.type="legend.scroll",t}(A);function X(e){(0,o.Y)(N),e.registerComponentModel(R),e.registerComponentView(E),function(e){e.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})})}(e)}function W(e){(0,o.Y)(N),(0,o.Y)(X)}},11412:(e,t,n)=>{n.d(t,{A:()=>_});var o=n(840),i=n(10724),r=n(61344),a=n(43609),s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],l=function(){function e(e,t,n){var i=this;this._targetInfoList=[];var r=c(t,e);(0,o.__)(p,function(e,t){(!n||!n.include||(0,o.qh)(n.include,t)>=0)&&e(r,i._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var o=h[e.brushType](0,n,t);e.__rangeOffset={offset:m[e.brushType](o.values,e.range,[1,1]),xyMinMax:o.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){(0,o.__)(e,function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&(0,o.__)(i.coordSyses,function(o){var i=h[e.brushType](1,o,e.range,!0);n(e,i.values,o,t)})},this)},e.prototype.setInputRanges=function(e,t){(0,o.__)(e,function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var o,i,r,a,s,l=h[e.brushType](0,n.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?m[e.brushType](l.values,u.offset,(o=l.xyMinMax,i=u.xyMinMax,r=v(o),a=v(i),isNaN((s=[r[0]/a[0],r[1]/a[1]])[0])&&(s[0]=1),isNaN(s[1])&&(s[1]=1),s)):l.values}},this)},e.prototype.makePanelOpts=function(e,t){return(0,o.Tj)(this._targetInfoList,function(n){var o=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:r.wd(o),isTargetByCursor:r.x$(o,e,n.coordSysModel),getLinearBrushOtherExtent:r.wx(o)}})},e.prototype.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&(0,o.qh)(i.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,o=c(t,e),i=0;i<n.length;i++){var r=n[i],a=e.panelId;if(a){if(r.panelId===a)return r}else for(var s=0;s<g.length;s++)if(g[s](o,r))return r}return!0},e}();function u(e){return e[0]>e[1]&&e.reverse(),e}function c(e,t){return(0,a._e)(e,t,{includeMainTypes:s})}var p={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,r=e.gridModels,a=(0,o.nt)(),s={},l={};(n||i||r)&&((0,o.__)(n,function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0}),(0,o.__)(i,function(e){var t=e.axis.grid.model;a.set(t.id,t),l[t.id]=!0}),(0,o.__)(r,function(e){a.set(e.id,e),s[e.id]=!0,l[e.id]=!0}),a.each(function(e){var r=e.coordinateSystem,a=[];(0,o.__)(r.getCartesians(),function(e,t){((0,o.qh)(n,e.getAxis("x").model)>=0||(0,o.qh)(i,e.getAxis("y").model)>=0)&&a.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:d.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})}))},geo:function(e,t){(0,o.__)(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:d.geo})})}},g=[function(e,t){var n=e.xAxisModel,o=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&o&&(i=o.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],d={grid:function(){return this.coordSys.master.getRect().clone()}
1,geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(i.getTransform(e)),t}},h={lineX:(0,o.cF)(f,0),lineY:(0,o.cF)(f,1),rect:function(e,t,n,o){var i=e?t.pointToData([n[0][0],n[1][0]],o):t.dataToPoint([n[0][0],n[1][0]],o),r=e?t.pointToData([n[0][1],n[1][1]],o):t.dataToPoint([n[0][1],n[1][1]],o),a=[u([i[0],r[0]]),u([i[1],r[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:(0,o.Tj)(n,function(n){var o=e?t.pointToData(n,i):t.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}),xyMinMax:r}}};function f(e,t,n,i){var r=n.getAxis(["x","y"][e]),a=u((0,o.Tj)([0,1],function(e){return t?r.coordToData(r.toLocalCoord(i[e]),!0):r.toGlobalCoord(r.dataToCoord(i[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var m={lineX:(0,o.cF)(y,0),lineY:(0,o.cF)(y,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return(0,o.Tj)(e,function(e,o){return[e[0]-n[0]*t[o][0],e[1]-n[1]*t[o][1]]})}};function y(e,t,n,o){return[t[0]-o[e]*n[0],t[1]-o[e]*n[1]]}function v(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}let _=l},18543:(e,t,n)=>{n.d(t,{P:()=>s,Z:()=>a});var o=n(40286),i=n(14151),r=n(63652);function a(e,t,n){var i=t.getBoxLayoutParams(),r=t.get("padding"),a={width:n.getWidth(),height:n.getHeight()},s=(0,o.dV)(i,a,r);(0,o.aP)(t.get("orient"),e,t.get("itemGap"),s.width,s.height),(0,o.m$)(e,i,a,r)}function s(e,t){var n=i.QX(t.get("padding")),o=t.getItemStyle(["color","opacity"]);return o.fill=t.get("backgroundColor"),e=new r.A({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:o,silent:!0,z2:-1})}},20434:(e,t,n)=>{n.d(t,{a:()=>A});var o=n(50722),i=n(85773),r=n(76793),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(r.A),s=n(6977),l=n(56761),u=n(84692),c=n(90231),p=n(38469),g=n(78679),d=n(12366),h=n(34101),f=n(840),m=n(43609),y=n(22612),v=(0,m.$r)(),_=function(e,t,n,o){var i,r=e.getData();if((0,f.cy)(o))i=o;else{var a=o.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=o.xAxis||null!=o.yAxis){var s=void 0,l=void 0;if(null!=o.yAxis||null!=o.xAxis)s=t.getAxis(null!=o.yAxis?"y":"x"),l=(0,f.Je)(o.yAxis,o.xAxis);else{var c=u.Yc(o,r,t,e);s=c.valueAxis;var p=(0,g.me)(r,c.valueDataDim);l=u.vz(r,p,a)}var d=+("x"!==s.dim),h=1-d,m=(0,f.o8)(o),y={coord:[]};m.type=null,m.coord=[],m.coord[h]=-1/0,y.coord[h]=1/0;var v=n.get("precision");v>=0&&(0,f.Et)(l)&&(l=+l.toFixed(Math.min(v,20))),m.coord[d]=y.coord[d]=l,i=[m,y,{type:a,valueIndex:o.valueIndex,value:l}]}else i=[]}var _=[u.xx(e,i[0]),u.xx(e,i[1]),(0,f.X$)({},i[2])];return _[2].type=_[2].type||null,(0,f.h1)(_[2],_[0]),(0,f.h1)(_[2],_[1]),_};function x(e){return!isNaN(e)&&!isFinite(e)}function b(e,t,n,o){var i=1-e,r=o.dimensions[e];return x(t[i])&&x(n[i])&&t[e]===n[e]&&o.getAxis(r).containData(t[e])}function S(e,t){if("cartesian2d"===e.type){var n=t[0].coord,o=t[1].coord;if(n&&o&&(b(1,n,o,e)||b(0,n,o,e)))return!0}return u.Lq(e,t[0])&&u.Lq(e,t[1])}function I(e,t,n,o,i){var r,a=o.coordinateSystem,s=e.getItemModel(t),u=l.lo(s.get("x"),i.getWidth()),c=l.lo(s.get("y"),i.getHeight());if(isNaN(u)||isNaN(c)){if(o.getMarkerPosition)r=o.getMarkerPosition(e.getValues(e.dimensions,t));else{var p=a.dimensions,g=e.get(p[0],t),h=e.get(p[1],t);r=a.dataToPoint([g,h])}if((0,d.g)(a,"cartesian2d")){var f=a.getAxis("x"),m=a.getAxis("y"),p=a.dimensions;x(e.get(p[0],t))?r[0]=f.toGlobalCoord(f.getExtent()[+!n]):x(e.get(p[1],t))&&(r[1]=m.toGlobalCoord(m.getExtent()[+!n]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];e.setItemLayout(t,r)}var M=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=r.A.getMarkerModelFromSeries(e,"markLine");if(t){var o=t.getData(),i=v(t).from,a=v(t).to;i.each(function(t){I(i,t,!0,e,n),I(a,t,!1,e,n)}),o.each(function(e){o.setItemLayout(e,[i.getItemLayout(e),a.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,t,n,o){var i,r,a,l,p,g,d,m,x,b=e.coordinateSystem,M=e.id,A=e.getData(),w=this.markerGroupMap,C=w.get(M)||w.set(M,new c.A);this.group.add(C.group);var D=(i=b,r=e,a=t,l=i?(0,f.Tj)(i&&i.dimensions,function(e){var t=r.getData().getDimensionInfo(r.getData().mapDimension(e))||{};return(0,f.X$)((0,f.X$)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],p=new s.A(l,a),g=new s.A(l,a),d=new s.A([],a),m=(0,f.Tj)(a.get("data"),(0,f.cF)(_,r,i,a)),i&&(m=(0,f.pb)(m,(0,f.cF)(S,i))),x=u.fY(!!i,l),p.initData((0,f.Tj)(m,function(e){return e[0]}),null,x),g.initData((0,f.Tj)(m,function(e){return e[1]}),null,x),d.initData((0,f.Tj)(m,function(e){return e[2]})),d.hasItemOption=!0,{from:p,to:g,line:d}),T=D.from,G=D.to,k=D.line;v(t).from=T,v(t).to=G,t.setData(k);var O=t.get("symbol"),N=t.get("symbolSize"),P=t.get("symbolRotate"),R=t.get("symbolOffset");function L(t,n,i){var r=t.getItemModel(n);I(t,n,i,e,o);var a=r.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,y.rI)(A,"color")),t.setItemVisual(n,{symbolKeepAspect:r.get("symbolKeepAspect"),symbolOffset:(0,f.bZ)(r.get("symbolOffset",!0),R[+!i]),symbolRotate:(0,f.bZ)(r.get("symbolRotate",!0),P[+!i]),symbolSize:(0,f.bZ)(r.get("symbolSize"),N[+!i]),symbol:(0,f.bZ)(r.get("symbol",!0),O[+!i]),style:a})}(0,f.cy)(O)||(O=[O,O]),(0,f.cy)(N)||(N=[N,N]),(0,f.cy)(P)||(P=[P,P]),(0,f.cy)(R)||(R=[R,R]),D.from.each(function(e){L(T,e,!0),L(G,e,!1)}),k.each(function(e){var t=k.getItemModel(e).getModel("lineStyle").getLineStyle();k.setItemLayout(e,[T.getItemLayout(e),G.getItemLayout(e)]),null==t.stroke&&(t.stroke=T.getItemVisual(e,"style").fill),k.setItemVisual(e,{fromSymbolKeepAspect:T.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:T.getItemVisual(e,"symbolOffset"),fromSymbolRotate:T.getItemVisual(e,"symbolRotate"),fromSymbolSize:T.getItemVisual(e,"symbolSize"),fromSymbol
1:T.getItemVisual(e,"symbol"),toSymbolKeepAspect:G.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:G.getItemVisual(e,"symbolOffset"),toSymbolRotate:G.getItemVisual(e,"symbolRotate"),toSymbolSize:G.getItemVisual(e,"symbolSize"),toSymbol:G.getItemVisual(e,"symbol"),style:t})}),C.updateData(k),D.line.eachItemGraphicEl(function(e){(0,h.z)(e).dataModel=t,e.traverse(function(e){(0,h.z)(e).dataModel=t})}),this.markKeep(C),C.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(p.A);function A(e){e.registerComponentModel(a),e.registerComponentView(M),e.registerPreprocessor(function(e){(0,o.A)(e.series,"markLine")&&(e.markLine=e.markLine||{})})}},36093:(e,t,n)=>{function o(e,t,n){var o=e.target;o.x+=t,o.y+=n,o.dirty()}function i(e,t,n,o){var i=e.target,r=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,r){var s=r.min||0;a=Math.max(Math.min(r.max||1/0,a),s)}var l=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(l-1),i.y-=(o-i.y)*(l-1),i.scaleX*=l,i.scaleY*=l,i.dirty()}n.d(t,{t:()=>o,x:()=>i})},38469:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(85773),i=n(46202),r=n(840),a=n(76793),s=n(43609),l=n(72726),u=(0,s.$r)();let c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.init=function(){this.markerGroupMap=(0,r.nt)()},t.prototype.render=function(e,t,n){var o=this,i=this.markerGroupMap;i.each(function(e){u(e).keep=!1}),t.eachSeries(function(e){var i=a.A.getMarkerModelFromSeries(e,o.type);i&&o.renderSeries(e,i,t,n)}),i.each(function(e){u(e).keep||o.group.remove(e.group)})},t.prototype.markKeep=function(e){u(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;(0,r.__)(e,function(e){var o=a.A.getMarkerModelFromSeries(e,n.type);o&&o.getData().eachItemGraphicEl(function(e){e&&(t?(0,l.QX)(e):(0,l.JC)(e))})})},t.type="marker",t}(i.A)},45024:(e,t,n)=>{function o(e,t,n,o,a,s){e=e||0;var l,u=n[1]-n[0];if(null!=a&&(a=r(a,[0,u])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var c=Math.abs(t[1]-t[0]);c=r(c,[0,u]),a=s=r(c,[a,s]),o=0}t[0]=r(t[0],n),t[1]=r(t[1],n);var p=i(t,o);t[o]+=e;var g=a||0,d=n.slice();return p.sign<0?d[0]+=g:d[1]-=g,t[o]=r(t[o],d),l=i(t,o),null!=a&&(l.sign!==p.sign||l.span<a)&&(t[1-o]=t[o]+p.sign*a),l=i(t,o),null!=s&&l.span>s&&(t[1-o]=t[o]+l.sign*s),t}function i(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function r(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}n.d(t,{A:()=>o})},50722:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(840);function i(e,t){if(!e)return!1;for(var n=(0,o.cy)(e)?e:[e],i=0;i<n.length;i++)if(n[i]&&n[i][t])return!0;return!1}},60549:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(85773),i=n(98928),r=n(64),a=n(3467),s=n(840);function l(e,t,n,o,i){e.pointerChecker&&e.pointerChecker(o,i.originX,i.originY)&&(r.ds(o.event),u(e,t,n,o,i))}function u(e,t,n,o,i){i.isAvailableBehavior=(0,s.oI)(c,null,n,o),e.trigger(t,i)}function c(e,t,n){var o=n[e];return!e||o&&(!(0,s.Kg)(o)||t.event[o+"Key"])}let p=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var o=(0,s.oI)(n._mousedownHandler,n),i=(0,s.oI)(n._mousemoveHandler,n),r=(0,s.oI)(n._mouseupHandler,n),a=(0,s.oI)(n._mousewheelHandler,n),l=(0,s.oI)(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=(0,s.NT)((0,s.o8)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),(!0===e||"move"===e||"pan"===e)&&(t.on("mousedown",o),t.on("mousemove",i),t.on("mouseup",r)),(!0===e||"scale"===e||"zoom"===e)&&(t.on("mousewheel",a),t.on("pinch",l))},n.disable=function(){t.off("mousedown",o),t.off("mousemove",i),t.off("mouseup",r),t.off("mousewheel",a),t.off("pinch",l)},n}return(0,o.C6)(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!r.W5(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,o=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,o)&&(this._x=n,this._y=o,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(!(!this._dragging||!c("moveOnMouseMove",e,this._opt)||"pinch"===e.gestureEvent||a.Ck(this._zr,"globalPan"))){var t=e.offsetX,n=e.offsetY,o=this._x,i=this._y;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&r.ds(e.event),u(this,"pan","moveOnMouseMove",e,{dx:t-o,dy:n-i,oldX:o,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){r.W5(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=c("zoomOnMouseWheel",e,this._opt),n=c("moveOnMouseWheel",e,this._opt),o=e.wheelDelta,i=Math.abs(o),r=e.offsetX,a=e.offsetY;if(0!==o&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1;l(this,"zoom","zoomOnMouseWheel",e,{scale:o>0?s:1/s,originX:r,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(o);l(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(o>0?1:-1)*(u>3?.4:u>1?.15:.05),originX:r,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!a.Ck(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;l(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(i.A)},61344:(e,t,n)=>{n.d(t,{wd:()=>a,wx:()=>s,x$:()=>l});var o=n(20074),i=n(99166),r=n(10724);function a(e){return e=u(e),function(t){return r.clipPointsByRect(t,e)}}function s(e,t){return e=u(e),function(n){var o=null!=t?t:n,i=o?e.width:e.height,r=o?e.x:e.y;
1return[r,r+(i||0)]}}function l(e,t,n){var o=u(e);return function(e,r){return o.contain(r[0],r[1])&&!(0,i.I)(e,t,n)}}function u(e){return o.A.create(e)}},76793:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(85773),i=n(840),r=n(18079),a=n(5732),s=n(48704),l=n(43609),u=n(29150);function c(e){(0,l.M5)(e,"label",["show"])}var p=(0,l.$r)(),g=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return(0,o.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(r.A.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,o){var r=this.mainType;n||t.eachSeries(function(e){var n=e.get(this.mainType,!0),a=p(e)[r];if(!n||!n.data){p(e)[r]=null;return}a?a._mergeOption(n,t,!0):(o&&c(n),i.__(n.data,function(e){e instanceof Array?(c(e[0]),c(e[1])):c(e)}),a=this.createMarkerModelFromSeries(n,this,t),i.X$(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),p(e)[r]=a},this)},t.prototype.formatTooltip=function(e,t,n){var o=this.getData(),i=this.getRawValue(e),r=o.getName(e);return(0,u.Qx)("section",{header:this.name,blocks:[(0,u.Qx)("nameValue",{name:r,value:i,noName:!r,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=a.J.prototype.getDataParams.call(this,e,t),o=this.__hostSeries;return o&&(n.seriesId=o.id,n.seriesName=o.name,n.seriesType=o.subType),n},t.getMarkerModelFromSeries=function(e,t){return p(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(s.A);i.co(g,a.J.prototype);let d=g},83921:(e,t,n)=>{n.d(t,{a:()=>k});var o=n(50722),i=n(85773),r=n(76793),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(r.A),s=n(82694),l=n(6977),u=n(56761),c=n(78064),p=n(55043),g=n(43633),d=n(72726),h=n(84692),f=n(38469),m=n(840),y=n(12366),v=n(43609),_=n(22612),x=n(51679),b=n(34101),S=n(70902),I=(0,v.$r)(),M=function(e,t,n,o){var i=o[0],r=o[1];if(i&&r){var a=h.xx(e,i),s=h.xx(e,r),l=a.coord,u=s.coord;l[0]=(0,m.Je)(l[0],-1/0),l[1]=(0,m.Je)(l[1],-1/0),u[0]=(0,m.Je)(u[0],1/0),u[1]=(0,m.Je)(u[1],1/0);var c=(0,m.Um)([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function A(e){return!isNaN(e)&&!isFinite(e)}function w(e,t,n,o){var i=1-e;return A(t[i])&&A(n[i])}function C(e,t){var n=t.coord[0],o=t.coord[1],i={coord:n,x:t.x0,y:t.y0},r={coord:o,x:t.x1,y:t.y1};return(0,y.g)(e,"cartesian2d")?!!(n&&o&&(w(1,n,o,e)||w(0,n,o,e)))||h.PN(e,i,r):h.Lq(e,i)||h.Lq(e,r)}function D(e,t,n,o,i){var r,a=o.coordinateSystem,s=e.getItemModel(t),l=u.lo(s.get(n[0]),i.getWidth()),c=u.lo(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(c)){if(o.getMarkerPosition){var p=e.getValues(["x0","y0"],t),g=e.getValues(["x1","y1"],t),d=a.clampData(p),h=a.clampData(g),f=[];"x0"===n[0]?f[0]=d[0]>h[0]?g[0]:p[0]:f[0]=d[0]>h[0]?p[0]:g[0],"y0"===n[1]?f[1]=d[1]>h[1]?g[1]:p[1]:f[1]=d[1]>h[1]?p[1]:g[1],r=o.getMarkerPosition(f,n,!0)}else{var m=e.get(n[0],t),v=e.get(n[1],t),_=[m,v];a.clampData&&a.clampData(_,_),r=a.dataToPoint(_,!0)}if((0,y.g)(a,"cartesian2d")){var x=a.getAxis("x"),b=a.getAxis("y"),m=e.get(n[0],t),v=e.get(n[1],t);A(m)?r[0]=x.toGlobalCoord(x.getExtent()[+("x0"!==n[0])]):A(v)&&(r[1]=b.toGlobalCoord(b.getExtent()[+("y0"!==n[1])]))}isNaN(l)||(r[0]=l),isNaN(c)||(r[1]=c)}else r=[l,c];return r}var T=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],G=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=r.A.getMarkerModelFromSeries(e,"markArea");if(t){var o=t.getData();o.each(function(t){var i=(0,m.Tj)(T,function(i){return D(o,t,i,e,n)});o.setItemLayout(t,i),o.getItemGraphicEl(t).setShape("points",i)})}},this)},t.prototype.renderSeries=function(e,t,n,o){var i=e.coordinateSystem,r=e.id,a=e.getData(),h=this.markerGroupMap,f=h.get(r)||h.set(r,{group:new c.A});this.group.add(f.group),this.markKeep(f);var y=function(e,t,n){if(e){var o,i,r=(0,m.Tj)(e&&e.dimensions,function(e){var n=t.getData(),o=n.getDimensionInfo(n.mapDimension(e))||{};return(0,m.X$)((0,m.X$)({},o),{name:e,ordinalMeta:null})});i=(0,m.Tj)(["x0","y0","x1","y1"],function(e,t){return{name:e,type:r[t%2].type}}),o=new l.A(i,n)}else i=[{name:"value",type:"float"}],o=new l.A(i,n);var a=(0,m.Tj)(n.get("data"),(0,m.cF)(M,t,e,n));e&&(a=(0,m.pb)(a,(0,m.cF)(C,e)));var s=e?function(e,t,n,o){var r=e.coord[Math.floor(o/2)][o%2];return(0,S.Pn)(r,i[o])}:function(e,t,n,o){return(0,S.Pn)(e.value,i[o])};return o.initData(a,null,s),o.hasItemOption=!0,o}(i,e,t);t.setData(y),y.each(function(t){var n=(0,m.Tj)(T,function(n){return D(y,t,n,e,o)}
1),r=i.getAxis("x").scale,l=i.getAxis("y").scale,c=r.getExtent(),p=l.getExtent(),g=[r.parse(y.get("x0",t)),r.parse(y.get("x1",t))],d=[l.parse(y.get("y0",t)),l.parse(y.get("y1",t))];u.Y6(g),u.Y6(d);var h=!(c[0]>g[1]||c[1]<g[0]||p[0]>d[1]||p[1]<d[0]);y.setItemLayout(t,{points:n,allClipped:!h});var f=y.getItemModel(t).getModel("itemStyle").getItemStyle(),v=(0,_.rI)(a,"color");!f.fill&&(f.fill=v,(0,m.Kg)(f.fill)&&(f.fill=s.hm(f.fill,.4))),f.stroke||(f.stroke=v),y.setItemVisual(t,"style",f)}),y.diff(I(f).data).add(function(e){var t=y.getItemLayout(e);if(!t.allClipped){var n=new p.A({shape:{points:t.points}});y.setItemGraphicEl(e,n),f.group.add(n)}}).update(function(e,n){var o=I(f).data.getItemGraphicEl(n),i=y.getItemLayout(e);i.allClipped?o&&f.group.remove(o):(o?g.oi(o,{shape:{points:i.points}},t,e):o=new p.A({shape:{points:i.points}}),y.setItemGraphicEl(e,o),f.group.add(o))}).remove(function(e){var t=I(f).data.getItemGraphicEl(e);f.group.remove(t)}).execute(),y.eachItemGraphicEl(function(e,n){var o=y.getItemModel(n),i=y.getItemVisual(n,"style");e.useStyle(y.getItemVisual(n,"style")),(0,x.qM)(e,(0,x.lx)(o),{labelFetcher:t,labelDataIndex:n,defaultText:y.getName(n)||"",inheritColor:(0,m.Kg)(i.fill)?s.hm(i.fill,1):"#000"}),(0,d.Mx)(e,o),(0,d.Lm)(e,null,null,o.get(["emphasis","disabled"])),(0,b.z)(e).dataModel=t}),I(f).data=y,f.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(f.A);function k(e){e.registerComponentModel(a),e.registerComponentView(G),e.registerPreprocessor(function(e){(0,o.A)(e.series,"markArea")&&(e.markArea=e.markArea||{})})}},84692:(e,t,n)=>{n.d(t,{Lq:()=>g,PN:()=>d,Yc:()=>p,fY:()=>h,vz:()=>f,xx:()=>c});var o=n(56761),i=n(78679),r=n(840),a=n(70902);function s(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function l(e,t,n,r,a,s){var l=[],u=(0,i.sJ)(t,r)?t.getCalculationInfo("stackResultDimension"):r,c=f(t,u,e),p=t.indicesOfNearest(u,c)[0];l[a]=t.get(n,p),l[s]=t.get(u,p);var g=t.get(r,p),d=o.XV(t.get(r,p));return(d=Math.min(d,20))>=0&&(l[s]=+l[s].toFixed(d)),[l,g]}var u={min:(0,r.cF)(l,"min"),max:(0,r.cF)(l,"max"),average:(0,r.cF)(l,"average"),median:(0,r.cF)(l,"median")};function c(e,t){if(t){var n,o=e.getData(),i=e.coordinateSystem,a=i&&i.dimensions;if(!(!isNaN(parseFloat((n=t).x))&&!isNaN(parseFloat(n.y)))&&!(0,r.cy)(t.coord)&&(0,r.cy)(a)){var s=p(t,o,i,e);if((t=(0,r.o8)(t)).type&&u[t.type]&&s.baseAxis&&s.valueAxis){var l=(0,r.qh)(a,s.baseAxis.dim),c=(0,r.qh)(a,s.valueAxis.dim),g=u[t.type](o,s.baseDataDim,s.valueDataDim,l,c);t.coord=g[0],t.value=g[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&(0,r.cy)(a))for(var d=t.coord,h=0;h<2;h++)u[d[h]]&&(d[h]=f(o,o.mapDimension(a[h]),d[h]));else t.coord=[];return t}}function p(e,t,n,o){var i,r,a,s={};return null!=e.valueIndex||null!=e.valueDim?(s.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,s.valueAxis=n.getAxis((i=o,r=s.valueDataDim,(a=i.getData().getDimensionInfo(r))&&a.coordDim)),s.baseAxis=n.getOtherAxis(s.valueAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim)):(s.baseAxis=o.getBaseAxis(),s.valueAxis=n.getOtherAxis(s.baseAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim),s.valueDataDim=t.mapDimension(s.valueAxis.dim)),s}function g(e,t){return!e||!e.containData||!t.coord||!!s(t)||e.containData(t.coord)}function d(e,t,n){return!e||!e.containZone||!t.coord||!n.coord||!!s(t)||!!s(n)||e.containZone(t.coord,n.coord)}function h(e,t){return e?function(e,n,o,i){var r=i<2?e.coord&&e.coord[i]:e.value;return(0,a.Pn)(r,t[i])}:function(e,n,o,i){return(0,a.Pn)(e.value,t[i])}}function f(e,t,n){if("average"===n){var o=0,i=0;return e.each(t,function(e,t){!isNaN(e)&&(o+=e,i++)}),o/i}return"median"===n?e.getMedian(t):(0,e.getDataExtent(t)[+("max"===n)])}},86648:(e,t,n)=>{n.d(t,{A:()=>P});var o=n(840),i=n(60549),r=n(36093),a=n(99166),s=n(78064),l=n(43633),u=n(55043),c=n(61047),p=n(66487),g=n(10724),d=n(72726),h=n(57039),f=n(46567),m=n(51679),y=n(34101),v=n(63785),_=n(3705),x=n(43609),b=["rect","circle","line","ellipse","polygon","polyline","path"],S=o.nt(b),I=o.nt(b.concat(["g"])),M=o.nt(b.concat(["g"])),A=(0,x.$r)();function w(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function C(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}function D(e,t,n,o){var i=o.getModel("itemStyle"),r=o.getModel(["emphasis","itemStyle"]),a=o.getModel(["blur","itemStyle"]),s=o.getModel(["select","itemStyle"]),l=w(i),u=w(r),c=w(s),p=w(a),g=e.data;if(g){var h=g.getItemVisual(n,"style"),f=g.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&h.fill&&(l.fill=h.fill),f&&(l.decal=(0,v.w)(f,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=p,(0,d.DW)(t)}function T(e,t,n,o,i,r,a){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),r)),c=s&&s.getItemLayout(r);if(l||u||c&&c.showLabel){var p=l?n:r,g=void 0;(!s||r>=0)&&(g=i);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;(0,m.qM)(t,(0,m.lx)(o),{labelFetcher:g,labelDataIndex:p,defaultText:n},d);var h=t.getTextContent();if(h&&(A(h).ignore=h.ignore,t.textConfig&&a)){var f=t.getBoundingRect
1().clone();t.textConfig.layoutRect=f,t.textConfig.position=[(a[0]-f.x)/f.width*100+"%",(a[1]-f.y)/f.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function G(e,t,n,o,i,r){e.data?e.data.setItemGraphicEl(r,t):(0,y.z)(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:o&&o.option||{}}}function k(e,t,n,o,i){e.data||g.setTooltipConfig({el:t,componentModel:i,itemName:n,itemTooltipOption:o.get("tooltip")})}function O(e,t,n,o,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var r=o.getModel("emphasis"),a=r.get("focus");return(0,d.Lm)(t,a,r.get("blurScope"),r.get("disabled")),e.isGeo&&(0,d.ml)(t,i,n),a}function N(e,t,n){var i,r=[];function a(){i=[]}function s(){i.length&&(r.push(i),i=[])}var l=t({polygonStart:a,polygonEnd:s,lineStart:a,lineEnd:s,point:function(e,t){isFinite(e)&&isFinite(t)&&i.push([e,t])},sphere:function(){}});return n||l.polygonStart(),o.__(e,function(e){l.lineStart();for(var t=0;t<e.length;t++)l.point(e[t][0],e[t][1]);l.lineEnd()}),n||l.polygonEnd(),r}let P=function(){function e(e){var t=new s.A;this.uid=(0,f.$Q)("ec_map_draw"),this._controller=new i.A(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new s.A),t.add(this._svgGroup=new s.A)}return e.prototype.draw=function(e,t,n,o,i){var r="geo"===e.mainType,a=e.getData&&e.getData();r&&t.eachComponent({mainType:"series",subType:"map"},function(t){a||t.getHostGeoModel()!==e||(a=t.getData())});var s=e.coordinateSystem,u=this._regionsGroup,c=this.group,p=s.getTransformInfo(),g=p.raw,d=p.roam;!u.childAt(0)||i?(c.x=d.x,c.y=d.y,c.scaleX=d.scaleX,c.scaleY=d.scaleY,c.dirty()):l.oi(c,d,e);var h=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,f={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:h,isGeo:r,transformInfoRaw:g};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(e,t,n),this._updateMapSelectHandler(e,u,n,o)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=o.nt(),n=o.nt(),i=this._regionsGroup,r=e.transformInfoRaw,a=e.mapOrGeoModel,l=e.data,g=e.geo.projection,d=g&&g.stream;function h(e,t){return t&&(e=t(e)),e&&[e[0]*r.scaleX+r.x,e[1]*r.scaleY+r.y]}function f(e){return{shape:{points:function(e){for(var t=[],n=!d&&g&&g.project,o=0;o<e.length;++o){var i=h(e[o],n);i&&t.push(i)}return t}(e)}}}i.removeAll(),o.__(e.geo.regions,function(r){var m=r.name,y=t.get(m),v=n.get(m)||{},_=v.dataIdx,x=v.regionModel;if(!y){y=t.set(m,new s.A),i.add(y),_=l?l.indexOfName(m):null;var b=(x=e.isGeo?a.getRegionModel(m):l?l.getItemModel(_):null).get("silent",!0);null!=b&&(y.silent=b),n.set(m,{dataIdx:_,regionModel:x})}var S=[],I=[];o.__(r.geometries,function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);d&&(t=N(t,d)),o.__(t,function(e){S.push(new u.A(f(e)))})}else{var n=e.points;d&&(n=N(n,d,!0)),o.__(n,function(e){I.push(new c.A(f(e)))})}});var M=h(r.getCenter(),g&&g.project);function A(t,n){if(t.length){var i=new p.A({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});y.add(i),D(e,i,_,x),T(e,i,m,x,a,_,M),n&&(C(i),o.__(i.states,C))}}A(S),A(I,!0)}),t.each(function(t,o){var i=n.get(o),r=i.dataIdx,s=i.regionModel;G(e,t,o,s,a,r),k(e,t,o,s,a),O(e,t,o,s,a)},this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var i=this._svgDispatcherMap=o.nt(),r=!1;o.__(this._svgGraphicRecord.named,function(t){var n=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);null!=S.get(s)&&l instanceof _.Ay&&D(e,l,u,c),l instanceof _.Ay&&(l.culling=!0);var p=c.get("silent",!0);null!=p&&(l.silent=p),l.z2EmphasisLift=0,t.namedFrom||(null!=M.get(s)&&T(e,l,n,c,o,u,null),G(e,l,n,c,o,u),k(e,l,n,c,o),null!=I.get(s)&&("self"===O(e,l,n,c,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))},this),this._enableBlurEntireSVG(r,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(e){if(!e.isGroup){(0,d.DW)(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=n&&(t.opacity=n),e.ensureState("emphasis")}})}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var o=this._regionsGroupByName;if(o){var i=o.get(e);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=h.A.getGeoResource(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=h.A.getGeoResource(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var i=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=i.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",function(e){this._mouseDownFlag=!1,r.t(l,e.dx,e.dy),n.dispatchAction(o.X$(c(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))},this),s.off("zoom").on("zoom",function(e){this._mouseDownFlag=!1,r.x(l,e.scale,e.originX,e.originY),n.dispatchAction(o.X$(c(),{totalZoom:l.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))},this),s.setPointerChecker(function(t,o,r){return i.containPoint([o,r])&&
1!(0,a.I)(t,n,e)})},e.prototype.resetForLabelLayout=function(){this.group.traverse(function(e){var t=e.getTextContent();t&&(t.ignore=A(t).ignore)})},e.prototype._updateMapSelectHandler=function(e,t,n,o){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",function(){i._mouseDownFlag=!0}),t.on("click",function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)}))},e}()},92700:(e,t,n)=>{n.d(t,{A:()=>Q});var o=n(85773),i=n(840),r=n(98928),a=n(78064),s=n(63652),l=n(10724),u=n(61047),c=n(55043),p=n(3467),g=n(64044),d=Math.min,h=Math.max,f=Math.pow,m="globalPan",y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},v={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},x=0,b=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new a.A,n._uid="brushController_"+x++,(0,i.__)($,function(e,t){this._handlers[t]=(0,i.oI)(e,this)},n),n}return(0,o.C6)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||p.s(t,m,this._uid),(0,i.__)(this._handlers,function(e,n){t.on(n,e)}),this._brushType=e.brushType,this._brushOption=(0,i.h1)((0,i.o8)(_),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;p._r(e,m,this._uid),(0,i.__)(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};(0,i.__)(e,function(e){t[e.panelId]=(0,i.o8)(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=(0,i.Tj)(e,function(e){return(0,i.h1)((0,i.o8)(_),e,!0)});var t=this._covers,n=this._covers=[],o=this,r=this._creatingCover;return new g.A(t,e,function(e,t){return a(e.__brushOption,t)},a).add(s).update(s).remove(function(e){t[e]!==r&&o.group.remove(t[e])}).execute(),this;function a(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function s(i,a){var s=e[i];if(null!=a&&t[a]===r)n[i]=t[a];else{var l=n[i]=null!=a?(t[a].__brushOption=s,t[a]):I(o,S(o,s));w(o,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),G(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(r.A);function S(e,t){var n=J[t.brushType].createCover(e,t);return n.__brushOption=t,A(n,t),e.group.add(n),n}function I(e,t){var n=C(t);return n.endCreating&&(n.endCreating(e,t),A(t,t.__brushOption)),t}function M(e,t){var n=t.__brushOption;C(t).updateCoverShape(e,t,n.range,n)}function A(e,t){var n=t.z;null==n&&(n=1e4),e.traverse(function(e){e.z=n,e.z2=n})}function w(e,t){C(t).updateCommon(e,t),M(e,t)}function C(e){return J[e.__brushOption.brushType]}function D(e,t,n){var o,r=e._panels;if(!r)return!0;var a=e._transform;return(0,i.__)(r,function(e){e.isTargetByCursor(t,n,a)&&(o=e)}),o}function T(e,t){var n=e._panels;if(!n)return!0;var o=t.__brushOption.panelId;return null==o||n[o]}function G(e){var t=e._covers,n=t.length;return(0,i.__)(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function k(e,t){var n=(0,i.Tj)(e._covers,function(e){var t=e.__brushOption,n=(0,i.o8)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function O(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function N(e,t,n,o){var r=new a.A;return r.add(new s.A({name:"main",style:z(n),silent:!0,draggable:!0,cursor:"move",drift:(0,i.cF)(B,e,t,r,["n","s","w","e"]),ondragend:(0,i.cF)(k,t,{isEnd:!0})})),(0,i.__)(o,function(n){r.add(new s.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,i.cF)(B,e,t,r,n),ondragend:(0,i.cF)(k,t,{isEnd:!0})}))}),r}function P(e,t,n,o){var i=o.brushStyle.lineWidth||0,r=h(i,6),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],p=n[1][1],g=c-r+i/2,d=p-r+i/2,f=c-a,m=p-s,y=f+i,v=m+i;L(e,t,"main",a,s,f,m),o.transformable&&(L(e,t,"w",l,u,r,v),L(e,t,"e",g,u,r,v),L(e,t,"n",l,u,y,r),L(e,t,"s",l,d,y,r),L(e,t,"nw",l,u,r,r),L(e,t,"ne",g,u,r,r),L(e,t,"sw",l,d,r,r),L(e,t,"se",g,d,r,r))}function R(e,t){var n=t.__brushOption,o=n.transformable,r=t.childAt(0);r.useStyle(z(n)),r.attr({silent:!o,cursor:o?"move":"default"}),(0,i.__)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var i,r,a,s=t.childOfName(n.join("")),l=1===n.length?F(e,n[0]):(("e"===(a=[F(i=e,(r=n)[0]),F(i,r[1])])[0]||"w"===a[0])&&a.reverse(),a.join(""));s&&s.attr({silent:!o,invisible:!o,cursor:o?v[l]+"-resize":null})})}function L(e,t,n,o,i,r,a){var s,l,u,c=t.childOfName(n);c&&c.setShape((l=d((s=W(e,t,[[o,i],[o+r,i+a]]))[0][0],s[1][0]),{x:l,y:u=d(s[0][1],s[1][1]),width:h(s[0][0],s[1][0])-l,height:h(s[0][1],s[1][1])-u}))}function z(e){return(0,i.NT)({strokeNoScale:!0},e.brushStyle)}function V(e,t,n,o){var i=[d(e,n),d(t,o)],r=[h(e,n),h(t,o)];return[[i[0],r[0]],[i[1],r[1]]]}function F(e,t){return({left:"w",right:"e",top:"n",bottom:"s"})[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],l.getTransform(e.group))]}function B(e,t,n,o,r,a){var s=n.__brushOption,l=e.toRectRange(s.range),u=X(t,r,a);(0,i.__)(o,function(e){var t=y[e];l[t[0]][t[1]]+=u[t[0]]}),s.range=e.fromRectRange(V(l[0][0],l[1][0],l[0][1],l[1][1])),w(t,n),k(t,{isEnd:!1})}function E(e,t,n,o){var r=t.__brushOption.range,a=X(e,n,o);(0,i.__)(r,function(e){e[0]+=a[0],e[1]+=a[1]}),w(e,t),k(e,{isEnd:!1})}
1function X(e,t,n){var o=e.group,i=o.transformCoordToLocal(t,n),r=o.transformCoordToLocal(0,0);return[i[0]-r[0],i[1]-r[1]]}function W(e,t,n){var o=T(e,t);return o&&!0!==o?o.clipPath(n,e._transform):(0,i.o8)(n)}function Y(e){var t=e.event;t.preventDefault&&t.preventDefault()}function H(e,t,n){return e.childOfName("main").contain(t,n)}function j(e,t,n,o){var r,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],o=t[0],i=n[0]-o[0],r=n[1]-o[1];return f(i*i+r*r,.5)>6}(e)||a){if(s&&!a){"single"===l.brushMode&&G(e);var u=(0,i.o8)(l);u.brushType=K(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=S(e,u),e._covers.push(a)}if(a){var c=J[K(e._brushType,s)];a.__brushOption.range=c.getCreatingRange(W(e,a,e._track)),o&&(I(e,a),c.updateCommon(e,a)),M(e,a),r={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&D(e,t,n)&&G(e)&&(r={isEnd:o,removeOnClick:!0});return r}function K(e,t){return"auto"===e?t.defaultBrushType:e}var $={mousedown:function(e){if(this._dragging)q(this,e);else if(!e.target||!e.target.draggable){Y(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,o=this.group.transformCoordToLocal(t,n);if(!function(e,t,n){if(!(!e._brushType||(o=e,i=t.offsetX,r=t.offsetY,a=o._zr,i<0||i>a.getWidth()||r<0||r>a.getHeight()))){var o,i,r,a,s=e._zr,l=e._covers,u=D(e,t,n);if(!e._dragging)for(var c=0;c<l.length;c++){var p=l[c].__brushOption;if(u&&(!0===u||p.panelId===u.panelId)&&J[p.brushType].contain(l[c],n[0],n[1]))return}u&&s.setCursorStyle("crosshair")}}(this,e,o),this._dragging){Y(e);var i=j(this,e,o,!1);i&&k(this,i)}},mouseup:function(e){q(this,e)}};function q(e,t){if(e._dragging){Y(t);var n=t.offsetX,o=t.offsetY,i=e.group.transformCoordToLocal(n,o),r=j(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,r&&k(e,r)}}var J={lineX:Z(0),lineY:Z(1),rect:{createCover:function(e,t){function n(e){return e}return N({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=O(e);return V(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,o){P(e,t,n,o)},updateCommon:R,contain:H},polygon:{createCover:function(e,t){var n=new a.A;return n.add(new u.A({name:"main",style:z(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new c.A({name:"main",draggable:!0,drift:(0,i.cF)(E,e,t),ondragend:(0,i.cF)(k,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,o){t.childAt(0).setShape({points:W(e,t,n)})},updateCommon:R,contain:H}};function Z(e){return{createCover:function(t,n){return N({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=O(t);return[d(n[0][e],n[1][e]),h(n[0][e],n[1][e])]},updateCoverShape:function(t,n,o,i){var r,a=T(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)r=a.getLinearBrushOtherExtent(e);else{var s=t._zr;r=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[o,r];e&&l.reverse(),P(t,n,l,i)},updateCommon:R,contain:H}}let Q=b},96905:(e,t,n)=>{n.d(t,{a:()=>y});var o=n(50722),i=n(85773),r=n(76793),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(r.A),s=n(55085),l=n(56761),u=n(6977),c=n(84692),p=n(38469),g=n(840),d=n(34101),h=n(22612);function f(e,t,n){var o=t.coordinateSystem;e.each(function(i){var r,a=e.getItemModel(i),s=l.lo(a.get("x"),n.getWidth()),u=l.lo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(u)){if(t.getMarkerPosition)r=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(o){var c=e.get(o.dimensions[0],i),p=e.get(o.dimensions[1],i);r=o.dataToPoint([c,p])}}else r=[s,u];isNaN(s)||(r[0]=s),isNaN(u)||(r[1]=u),e.setItemLayout(i,r)})}var m=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=r.A.getMarkerModelFromSeries(e,"markPoint");t&&(f(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())},this)},t.prototype.renderSeries=function(e,t,n,o){var i,r,a,l,p,m,y,v=e.co
1ordinateSystem,_=e.id,x=e.getData(),b=this.markerGroupMap,S=b.get(_)||b.set(_,new s.A),I=(i=v,r=e,a=t,l=i?(0,g.Tj)(i&&i.dimensions,function(e){var t=r.getData().getDimensionInfo(r.getData().mapDimension(e))||{};return(0,g.X$)((0,g.X$)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],p=new u.A(l,a),m=(0,g.Tj)(a.get("data"),(0,g.cF)(c.xx,r)),i&&(m=(0,g.pb)(m,(0,g.cF)(c.Lq,i))),y=c.fY(!!i,l),p.initData(m,null,y),p);t.setData(I),f(t.getData(),e,o),I.each(function(e){var n=I.getItemModel(e),o=n.getShallow("symbol"),i=n.getShallow("symbolSize"),r=n.getShallow("symbolRotate"),a=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if((0,g.Tn)(o)||(0,g.Tn)(i)||(0,g.Tn)(r)||(0,g.Tn)(a)){var l=t.getRawValue(e),u=t.getDataParams(e);(0,g.Tn)(o)&&(o=o(l,u)),(0,g.Tn)(i)&&(i=i(l,u)),(0,g.Tn)(r)&&(r=r(l,u)),(0,g.Tn)(a)&&(a=a(l,u))}var c=n.getModel("itemStyle").getItemStyle(),p=(0,h.rI)(x,"color");c.fill||(c.fill=p),I.setItemVisual(e,{symbol:o,symbolSize:i,symbolRotate:r,symbolOffset:a,symbolKeepAspect:s,style:c})}),S.updateData(I),this.group.add(S.group),I.eachItemGraphicEl(function(e){e.traverse(function(e){(0,d.z)(e).dataModel=t})}),this.markKeep(S),S.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(p.A);function y(e){e.registerComponentModel(a),e.registerComponentView(m),e.registerPreprocessor(function(e){(0,o.A)(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}},99166:(e,t,n)=>{n.d(t,{I:()=>i});var o={axisPointer:1,tooltip:1,brush:1};function i(e,t,n){var i=t.getComponentByElement(e.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!o.hasOwnProperty(i.mainType)&&r&&r.model!==n}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.