1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9907],{6165:(e,t,a)=>{a.d(t,{a:()=>k});var n=a(85773),i=a(46214),o=a(63652),r=a(85648),l=a(43633),s=a(72726),u=a(87005),g=a(51679),d=a(34101),c=a(840),h=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},p=function(e){function t(t){return e.call(this,t)||this}return(0,n.C6)(t,e),t.prototype.getDefaultShape=function(){return new h},t.prototype.buildPath=function(e,t){var a=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+a,t.y2),e.bezierCurveTo(t.cpx2+a,t.cpy2,t.cpx1+a,t.cpy1,t.x1+a,t.y1)):(e.lineTo(t.x2,t.y2+a),e.bezierCurveTo(t.cpx2,t.cpy2+a,t.cpx1,t.cpy1+a,t.x1,t.y1+a)),e.closePath()},t.prototype.highlight=function(){(0,s.HY)(this)},t.prototype.downplay=function(){(0,s.SD)(this)},t}(i.Ay),y=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a._focusAdjacencyDisabled=!1,a}return(0,n.C6)(t,e),t.prototype.render=function(e,t,a){var n,i,r,u,h=this,y=e.getGraph(),m=this.group,v=e.layoutInfo,x=v.width,b=v.height,S=e.getData(),L=e.getData("edge"),A=e.get("orient");this._model=e,m.removeAll(),m.x=v.x,m.y=v.y,y.eachEdge(function(t){var a,n,i,o,r,l,u,h,y=new p,v=(0,d.z)(y);v.dataIndex=t.dataIndex,v.seriesIndex=e.seriesIndex,v.dataType="edge";var S=t.getModel(),I=S.getModel("lineStyle"),w=I.get("curveness"),_=t.node1.getLayout(),M=t.node1.getModel(),D=M.get("localX"),T=M.get("localY"),N=t.node2.getLayout(),C=t.node2.getModel(),E=C.get("localX"),P=C.get("localY"),V=t.getLayout();y.shape.extent=Math.max(1,V.dy),y.shape.orient=A,"vertical"===A?(a=(null!=D?D*x:_.x)+V.sy,n=(null!=T?T*b:_.y)+_.dy,i=(null!=E?E*x:N.x)+V.ty,o=null!=P?P*b:N.y,r=a,l=n*(1-w)+o*w,u=i,h=n*w+o*(1-w)):(a=(null!=D?D*x:_.x)+_.dx,n=(null!=T?T*b:_.y)+V.sy,i=null!=E?E*x:N.x,o=(null!=P?P*b:N.y)+V.ty,r=a*(1-w)+i*w,l=n,u=a*w+i*(1-w),h=o),y.setShape({x1:a,y1:n,x2:i,y2:o,cpx1:r,cpy1:l,cpx2:u,cpy2:h}),y.useStyle(I.getItemStyle()),f(y.style,A,t);var G=""+S.get("value"),k=(0,g.lx)(S,"edgeLabel");(0,g.qM)(y,k,{labelFetcher:{getFormattedLabel:function(t,a,n,i,o,r){return e.getFormattedLabel(t,a,"edge",i,(0,c.WV)(o,k.normal&&k.normal.get("formatter"),G),r)}},labelDataIndex:t.dataIndex,defaultText:G}),y.setTextConfig({position:"inside"});var R=S.getModel("emphasis");(0,s.Mx)(y,S,"lineStyle",function(e){var a=e.getItemStyle();return f(a,A,t),a}),m.add(y),L.setItemGraphicEl(t.dataIndex,y);var O=R.get("focus");(0,s.Lm)(y,"adjacency"===O?t.getAdjacentDataIndices():"trajectory"===O?t.getTrajectoryDataIndices():O,R.get("blurScope"),R.get("disabled"))}),y.eachNode(function(t){var a=t.getLayout(),n=t.getModel(),i=n.get("localX"),r=n.get("localY"),l=n.getModel("emphasis"),u=n.get(["itemStyle","borderRadius"])||0,c=new o.A({shape:{x:null!=i?i*x:a.x,y:null!=r?r*b:a.y,width:a.dx,height:a.dy,r:u},style:n.getModel("itemStyle").getItemStyle(),z2:10});(0,g.qM)(c,(0,g.lx)(n),{labelFetcher:{getFormattedLabel:function(t,a){return e.getFormattedLabel(t,a,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),c.disableLabelAnimation=!0,c.setStyle("fill",t.getVisual("color")),c.setStyle("decal",t.getVisual("style").decal),(0,s.Mx)(c,n),m.add(c),S.setItemGraphicEl(t.dataIndex,c),(0,d.z)(c).dataType="node";var h=l.get("focus");(0,s.Lm)(c,"adjacency"===h?t.getAdjacentDataIndices():"trajectory"===h?t.getTrajectoryDataIndices():h,l.get("blurScope"),l.get("disabled"))}),S.eachItemGraphicEl(function(t,n){S.getItemModel(n).get("draggable")&&(t.drift=function(t,i){h._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=i,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:S.getRawIndex(n),localX:this.shape.x/x,localY:this.shape.y/b})},t.ondragend=function(){h._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")}),!this._data&&e.isAnimationEnabled()&&m.setClipPath((n=m.getBoundingRect(),i=e,r=function(){m.removeClipPath()},u=new o.A({shape:{x:n.x-10,y:n.y-10,width:0,height:n.height+20}}),l.LW(u,{shape:{width:n.width+20}},i,r),u)),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(u.A);function f(e,t,a){switch(e.fill){case"source":e.fill=a.node1.getVisual("color"),e.decal=a.node1.getVisual("style").decal;break;case"target":e.fill=a.node2.getVisual("color"),e.decal=a.node2.getVisual("style").decal;break;case"gradient":var n=a.node1.getVisual("color"),i=a.node2.getVisual("color");(0,c.Kg)(n)&&(0,c.Kg)(i)&&(e.fill=new r.A(0,0,+("horizontal"===t),+("vertical"===t),[{color:n,offset:0},{color:i,offset:1}]))}}var m=a(56980),v=a(43528),x=a(5485),b=a(29150),S=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a}return(0,n.C6)(t,e),t.prototype.getInitialData=function(e,t){var a=e.edges||e.links||[],n=e.data||e.nodes||[],i=e.levels||[];this.levelModels=[];for(var o=this.levelModels,r=0;r<i.length;r++)null!=i[r].depth&&i[r].depth>=0&&(o[i[r].depth]=new x.A(i[r],this,t));return(0,v.A)(n,a,this,!0,function(e,t){e.wrapMethod("getItemModel",function(e,t){var a=e.parentModel,n=a.getData().getItemLayout(t);if(n){var i=n.depth,o=a.levelModels[i];o&&(e.parentModel=o)}return e}),t.wrapMethod("getItemModel",function(e,t){var a=e.parentModel,n=a.getGraph().getEdgeByIndex(t).node1.getLayout();if(n){var i=n.depth,o=a.levelModels[i];o&&(e.parentModel=o)}return e})}).data}
1,t.prototype.setNodePosition=function(e,t){var a=(this.option.data||this.option.nodes)[e];a.localX=t[0],a.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,a){function n(e){return isNaN(e)||null==e}if("edge"===a){var i=this.getDataParams(e,a),o=i.data,r=i.value,l=o.source+" -- "+o.target;return(0,b.Qx)("nameValue",{name:l,value:r,noValue:n(r)})}var s=this.getGraph().getNodeByIndex(e).getLayout().value,u=this.getDataParams(e,a).data.name;return(0,b.Qx)("nameValue",{name:null!=u?u+"":null,value:s,noValue:n(s)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,a){var n=e.prototype.getDataParams.call(this,t,a);return null==n.value&&"node"===a&&(n.value=this.getGraph().getNodeByIndex(t).getLayout().value),n},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(m.A),L=a(40286),A=a(43609);function I(e,t){e.eachSeriesByType("sankey",function(e){var a,n,i,o,r,l,s,u,g,d,h,p,y,f=e.get("nodeWidth"),m=e.get("nodeGap"),v=(a=e,n=t,L.dV(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}));e.layoutInfo=v;var x=v.width,b=v.height,S=e.getGraph(),I=S.nodes,V=S.edges;i=I,c.__(i,function(e){var t=Math.max(P(e.outEdges,E),P(e.inEdges,E),e.getValue()||0);e.setLayout({value:t},!0)});var G=0!==c.pb(I,function(e){return 0===e.getLayout().value}).length?0:e.get("layoutIterations");o=I,r=V,l=f,s=m,u=x,g=b,d=G,h=e.get("orient"),function(e,t,a,n,i,o,r){for(var l,s,u,g=[],d=[],h=[],p=[],y=0,f=0;f<t.length;f++)g[f]=1;for(var f=0;f<e.length;f++)d[f]=e[f].inEdges.length,0===d[f]&&h.push(e[f]);for(var m=-1;h.length;){for(var v=0;v<h.length;v++){var x=h[v],b=x.hostGraph.data.getRawDataItem(x.dataIndex),S=null!=b.depth&&b.depth>=0;S&&b.depth>m&&(m=b.depth),x.setLayout({depth:S?b.depth:y},!0),"vertical"===o?x.setLayout({dy:a},!0):x.setLayout({dx:a},!0);for(var L=0;L<x.outEdges.length;L++){var A=x.outEdges[L];g[t.indexOf(A)]=0;var I=A.node2,_=e.indexOf(I);0==--d[_]&&0>p.indexOf(I)&&p.push(I)}}++y,h=p,p=[]}for(var f=0;f<g.length;f++)if(1===g[f])throw Error("Sankey is a DAG, the original data has cycle!");var M=m>y-1?m:y-1;r&&"left"!==r&&function(e,t,a,n){if("right"===t){for(var i,o,r=[],l=e,s=0;l.length;){for(var u=0;u<l.length;u++){var g=l[u];g.setLayout({skNodeHeight:s},!0);for(var d=0;d<g.inEdges.length;d++){var h=g.inEdges[d];0>r.indexOf(h.node1)&&r.push(h.node1)}}l=r,r=[],++s}c.__(e,function(e){w(e)||e.setLayout({depth:Math.max(0,n-e.getLayout().skNodeHeight)},!0)})}else{"justify"===t&&(i=e,o=n,c.__(i,function(e){w(e)||e.outEdges.length||e.setLayout({depth:o},!0)}))}}(e,r,0,M),l=e,s="vertical"===o?(i-a)/M:(n-a)/M,u=o,c.__(l,function(e){var t=e.getLayout().depth*s;"vertical"===u?e.setLayout({y:t},!0):e.setLayout({x:t},!0)})}(o,r,l,u,g,h,e.get("nodeAlign")),function(e,t,a,n,i,o,r){var l,s,u,g,d,h,p,y,f,m,v,x=(l=e,s=[],u="vertical"===r?"y":"x",(g=(0,A.Sq)(l,function(e){return e.getLayout()[u]})).keys.sort(function(e,t){return e-t}),c.__(g.keys,function(e){s.push(g.buckets.get(e))}),s);d=x,h=t,p=a,y=n,f=i,m=r,v=1/0,c.__(d,function(e){var t=e.length,a=0;c.__(e,function(e){a+=e.getLayout().value});var n="vertical"===m?(y-(t-1)*f)/a:(p-(t-1)*f)/a;n<v&&(v=n)}),c.__(d,function(e){c.__(e,function(e,t){var a=e.getLayout().value*v;"vertical"===m?(e.setLayout({x:t},!0),e.setLayout({dx:a},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:a},!0))})}),c.__(h,function(e){var t=+e.getValue()*v;e.setLayout({dy:t},!0)}),_(x,i,a,n,r);for(var b=1;o>0;o--)(function(e,t,a){c.__(e.slice().reverse(),function(e){c.__(e,function(e){if(e.outEdges.length){var n=P(e.outEdges,M,a)/P(e.outEdges,E);if(isNaN(n)){var i=e.outEdges.length;n=i?P(e.outEdges,D,a)/i:0}if("vertical"===a){var o=e.getLayout().x+(n-C(e,a))*t;e.setLayout({x:o},!0)}else{var r=e.getLayout().y+(n-C(e,a))*t;e.setLayout({y:r},!0)}}})})})(x,b*=.99,r),_(x,i,a,n,r),function(e,t,a){c.__(e,function(e){c.__(e,function(e){if(e.inEdges.length){var n=P(e.inEdges,T,a)/P(e.inEdges,E);if(isNaN(n)){var i=e.inEdges.length;n=i?P(e.inEdges,N,a)/i:0}if("vertical"===a){var o=e.getLayout().x+(n-C(e,a))*t;e.setLayout({x:o},!0)}else{var r=e.getLayout().y+(n-C(e,a))*t;e.setLayout({y:r},!0)}}})})}(x,b,r),_(x,i,a,n,r)}(o,r,g,u,s,d,h),p=o,y="vertical"===h?"x":"y",c.__(p,function(e){e.outEdges.sort(function(e,t){return e.no
1de2.getLayout()[y]-t.node2.getLayout()[y]}),e.inEdges.sort(function(e,t){return e.node1.getLayout()[y]-t.node1.getLayout()[y]})}),c.__(p,function(e){var t=0,a=0;c.__(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),c.__(e.inEdges,function(e){e.setLayout({ty:a},!0),a+=e.getLayout().dy})})})}function w(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function _(e,t,a,n,i){var o="vertical"===i?"x":"y";c.__(e,function(e){e.sort(function(e,t){return e.getLayout()[o]-t.getLayout()[o]});for(var r,l,s,u=0,g=e.length,d="vertical"===i?"dx":"dy",c=0;c<g;c++)(s=u-(l=e[c]).getLayout()[o])>0&&(r=l.getLayout()[o]+s,"vertical"===i?l.setLayout({x:r},!0):l.setLayout({y:r},!0)),u=l.getLayout()[o]+l.getLayout()[d]+t;if((s=u-t-("vertical"===i?n:a))>0){r=l.getLayout()[o]-s,"vertical"===i?l.setLayout({x:r},!0):l.setLayout({y:r},!0),u=r;for(var c=g-2;c>=0;--c)(s=(l=e[c]).getLayout()[o]+l.getLayout()[d]+t-u)>0&&(r=l.getLayout()[o]-s,"vertical"===i?l.setLayout({x:r},!0):l.setLayout({y:r},!0)),u=l.getLayout()[o]}})}function M(e,t){return C(e.node2,t)*e.getValue()}function D(e,t){return C(e.node2,t)}function T(e,t){return C(e.node1,t)*e.getValue()}function N(e,t){return C(e.node1,t)}function C(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function E(e){return e.getValue()}function P(e,t,a){for(var n=0,i=e.length,o=-1;++o<i;){var r=+t(e[o],a);isNaN(r)||(n+=r)}return n}var V=a(1778);function G(e){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),a=t.nodes,n=t.edges;if(a.length){var i=1/0,o=-1/0;c.__(a,function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)}),c.__(a,function(t){var a=new V.A({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),n=t.getModel().get(["itemStyle","color"]);null!=n?(t.setVisual("color",n),t.setVisual("style",{fill:n})):(t.setVisual("color",a),t.setVisual("style",{fill:a}))})}n.length&&c.__(n,function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)})})}function k(e){e.registerChartView(y),e.registerSeriesModel(S),e.registerLayout(I),e.registerVisual(G),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}},12489:(e,t,a)=>{a.d(t,{a:()=>A});var n=a(39896),i=a(85773),o=a(20643),r=a(86648),l=a(87005),s=a(51679),u=a(72726),g=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a}return(0,i.C6)(t,e),t.prototype.render=function(e,t,a,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&n&&"geoRoam"===n.type&&this._mapDraw.resetForLabelLayout(),n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){var o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new r.A(a);i.add(o.group),o.draw(e,t,a,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,a)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,a){var n=e.originalData,i=this.group;n.each(n.mapDimension("value"),function(t,a){if(!isNaN(t)){var r=n.getItemLayout(a);if(r&&r.point){var l=r.point,g=r.offset,d=new o.A({style:{fill:e.getData().getVisual("style").fill},shape:{cx:l[0]+9*g,cy:l[1],r:3},silent:!0,z2:8+(g?0:u.CA+1)});if(!g){var c=e.mainSeries.getData(),h=n.getName(a),p=c.indexOfName(h),y=n.getItemModel(a),f=y.getModel("label"),m=c.getItemGraphicEl(p);(0,s.qM)(d,(0,s.lx)(y),{labelFetcher:{getFormattedLabel:function(t,a){return e.getFormattedLabel(p,a)}},defaultText:h}),d.disableLabelAnimation=!0,f.get("position")||d.setTextConfig({position:"bottom"}),m.onHoverStateChange=function(e){(0,u.Pk)(d,e)}}i.add(d)}}})},t.type="map",t}(l.A),d=a(840),c=a(85264),h=a(56980),p=a(57039),y=a(31396),f=a(29150),m=a(68728),v=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a.needsDrawMap=!1,a.seriesGroup=[],a.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),a=this.coordinateSystem,n=a.getRegion(t);return n&&a.dataToPoint(n.getCenter())}},a}return(0,i.C6)(t,e),t.prototype.getInitialData=function(e){for(var t=(0,c.A)(this,{coordDimensions:["value"],encodeDefaulter:d.cF(y.ln,this)}),a=d.nt(),n=[],i=0,o=t.count();i<o;i++){var r=t.getName(i);a.set(r,i)}var l=p.A.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return d.__(l.regions,function(e){var i,o=e.name,r=a.get(o),l=e.properties&&e.properties.echartsStyle;null==r?(i={name:o},n.push(i)):i=t.getRawDataItem(r),l&&d.h1(i,l)}),t.appendData(n),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,a){for(var n=this.getData(),i=this.getRawValue(e),o=n.getName(e),r=this.seriesGroup,l=[],s=0;s<r.length;s++){var u=r[s].originalData.indexOfName(o),g=n.mapDimension("value");isNaN(r[s].originalData.get(g,u))||l.push(r[s].name)}return(0,f.Qx)("section",{header:l.join(", "),noHeader:!l.length,blocks:[(0,f.Qx)("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",a=(0,m.v5)(t,0,0,e.
1itemWidth,e.itemHeight,e.itemStyle.fill);return a.setStyle(e.itemStyle),a.style.stroke="none",t.indexOf("empty")>-1&&(a.style.stroke=a.style.fill,a.style.fill="#fff",a.style.lineWidth=2),a},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(h.A);function x(e){var t={};e.eachSeriesByType("map",function(e){var a=e.getHostGeoModel(),n=a?"o"+a.id:"i"+e.getMapType();(t[n]=t[n]||[]).push(e)}),d.__(t,function(e,t){for(var a,n,i,o=(a=d.Tj(e,function(e){return e.getData()}),n=e[0].get("mapValueCalculation"),i={},d.__(a,function(e){e.each(e.mapDimension("value"),function(t,a){var n="ec-"+e.getName(a);i[n]=i[n]||[],isNaN(t)||i[n].push(t)})}),a[0].map(a[0].mapDimension("value"),function(e,t){for(var o,r="ec-"+a[0].getName(t),l=0,s=1/0,u=-1/0,g=i[r].length,d=0;d<g;d++)s=Math.min(s,i[r][d]),u=Math.max(u,i[r][d]),l+=i[r][d];return o="min"===n?s:"max"===n?u:"average"===n?l/g:l,0===g?NaN:o})),r=0;r<e.length;r++)e[r].originalData=e[r].getData();for(var r=0;r<e.length;r++)e[r].seriesGroup=e,e[r].needsDrawMap=0===r&&!e[r].getHostGeoModel(),e[r].setData(o.cloneShallow()),e[r].mainSeries=e[0]})}function b(e){var t={};e.eachSeriesByType("map",function(a){var n=a.getMapType();if(!a.getHostGeoModel()&&!t[n]){var i={};d.__(a.seriesGroup,function(t){var a=t.coordinateSystem,n=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&n.each(n.mapDimension("value"),function(e,t){var o=n.getName(t),r=a.getRegion(o);if(!(!r||isNaN(e))){var l=i[o]||0,s=a.dataToPoint(r.getCenter());i[o]=l+1,n.setItemLayout(t,{point:s,offset:l})}})});var o=a.getData();o.each(function(e){var t=o.getName(e),a=o.getItemLayout(e)||{};a.showLabel=!i[t],o.setItemLayout(e,a)}),t[n]=!0}})}var S=a(60359),L=a(76778);function A(e){(0,n.Y)(L.a),e.registerChartView(g),e.registerSeriesModel(v),e.registerLayout(b),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,x),(0,S.I)("map",e.registerAction)}},19915:(e,t,a)=>{a.d(t,{a:()=>M});var n=a(39896),i=a(840);function o(e){e.eachSeriesByType("radar",function(e){var t=e.getData(),a=[],n=e.coordinateSystem;if(n){var o=n.getIndicatorAxes();i.__(o,function(e,i){t.each(t.mapDimension(o[i].dim),function(e,t){a[t]=a[t]||[];var o,l=n.dataToPoint(e,i);a[t][i]=r(l)?l:[(o=n).cx,o.cy]})}),t.each(function(e){var o,l=i.I6(a[e],function(e){return r(e)})||[(o=n).cx,o.cy];a[e].push(l.slice()),t.setItemLayout(e,a[e])})}})}function r(e){return!isNaN(e[0])&&!isNaN(e[1])}var l=a(76264);function s(e){var t=e.polar;if(t){i.cy(t)||(t=[t]);var a=[];i.__(t,function(t,n){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],i.cy(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):a.push(t)}),e.polar=a}i.__(e.series,function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}var u=a(85773),g=a(10724),d=a(55043),c=a(61047),h=a(43633),p=a(78064),y=a(72726),f=a(68728),m=a(87005),v=a(51679),x=a(63642),b=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a}return(0,u.C6)(t,e),t.prototype.render=function(e,t,a){var n=e.coordinateSystem,o=this.group,r=e.getData(),l=this._data;function s(t,a,n,i,o,r){n.removeAll();for(var l=0;l<a.length-1;l++){var s=function(e,t){var a=e.getItemVisual(t,"symbol")||"circle";if("none"!==a){var n=f.xU(e.getItemVisual(t,"symbolSize")),i=f.v5(a,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:n[0]/2,scaleY:n[1]/2,rotation:o*Math.PI/180||0}),i}}(i,o);s&&(s.__dimIdx=l,t[l]?(s.setPosition(t[l]),g[r?"initProps":"updateProps"](s,{x:a[l][0],y:a[l][1]},e,o)):s.setPosition(a[l]),n.add(s))}}function u(e){return i.Tj(e,function(e){return[n.cx,n.cy]})}r.diff(l).add(function(t){var a=r.getItemLayout(t);if(a){var n=new d.A,i=new c.A,o={shape:{points:a}};n.shape.points=u(a),i.shape.points=u(a),h.LW(n,o,e,t),h.LW(i,o,e,t);var l=new p.A,g=new p.A;l.add(i),l.add(n),l.add(g),s(i.shape.points,a,g,r,t,!0),r.setItemGraphicEl(t,l)}}).update(function(t,a){var n=l.getItemGraphicEl(a),i=n.childAt(0),o=n.childAt(1),u=n.childAt(2),g={shape:{points:r.getItemLayout(t)}};g.shape.points&&(s(i.shape.points,g.shape.points,u,r,t,!1),(0,h.ap)(o),(0,h.ap)(i),h.oi(i,g,e),h.oi(o,g,e),r.setItemGraphicEl(t,n))}).remove(function(e){o.remove(l.getItemGraphicEl(e))}).execute(),r.eachItemGraphicEl(function(e,t){var a=r.getItemModel(t),n=e.childAt(0),l=e.childAt(1),s=e.childAt(2),u=r.getItemVisual(t,"style"),g=u.fill;o.add(e),n.useStyle(i.NT(a.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:g})),(0,y.Mx)(n,a,"lineStyle"),(0,y.Mx)(l,a,"areaStyle");var d=a.getModel("areaStyle"),c=d.isEmpty()&&d.parentModel.isEmpty();l.ignore=c,i.__(["emphasis","select","blur"],function(e){var t=a.getModel([e,"areaStyle"]),n=t.isEmpty()&&t.parentModel.isEmpty();l.ensureState(e).ignore=n&&c}),l.useStyle(i.NT(d.getAreaStyle(),{fill:g,opacity:.7,decal:u.decal}));var h=a.getModel("emphasis"),p=h.getModel("itemStyle").getItemStyle();s.eachChild(function(e){if(e instanceof x.Ay){var n=e.style;e.useStyle(i.X$({image:n.image,x:n.x,y:n.y,width:n.width,height:n.height},u))}else e.useStyle(u),e.setColor(g),e.style.strokeNoScale=!0;e.ensureState("emphasis").style=i.o8(p);var o=r.getStore().get(r.getDimensionIndex(e.__dimIdx),t);(null==o||isNaN(o))&&(o=""),(0,v.qM)(e,(0,v.lx)(a),{labelFetcher:r.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:o,inheritColor:g,defaultOpacity:u.opacity})}),(0,y.Lm)(e,h.get("focus"),h.get("blurScope"),h.get("disabled"))}),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(m.A),S=a(56980),L=a(85264),A=a(93604),I=a(29150),w=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a.hasSymbolVisual=!0,a}return(0,u.C6)(t,e),t.prototype.init=function(t){e.prototype.init.a
1pply(this,arguments),this.legendVisualProvider=new A.A(i.oI(this.getData,this),i.oI(this.getRawData,this))},t.prototype.getInitialData=function(e,t){return(0,L.A)(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,a){var n=this.getData(),o=this.coordinateSystem.getIndicatorAxes(),r=this.getData().getName(e),l=""===r?this.name:r,s=(0,I.aw)(this,e);return(0,I.Qx)("section",{header:l,sortBlocks:!0,blocks:i.Tj(o,function(t){var a=n.get(n.mapDimension(t.dim),e);return(0,I.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:t.name,value:a,sortParam:a})})})},t.prototype.getTooltipPosition=function(e){if(null!=e){for(var t=this.getData(),a=this.coordinateSystem,n=t.getValues(i.Tj(a.dimensions,function(e){return t.mapDimension(e)}),e),o=0,r=n.length;o<r;o++)if(!isNaN(n[o])){var l=a.getIndicatorAxes();return a.coordToPoint(l[o].dataToCoord(n[o]),o)}}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(S.A),_=a(82472);function M(e){(0,n.Y)(_.a),e.registerChartView(b),e.registerSeriesModel(w),e.registerLayout(o),e.registerProcessor((0,l.A)("radar")),e.registerPreprocessor(s)}},22977:(e,t,a)=>{a.d(t,{a:()=>B});var n=a(60359),i=a(56761),o=a(40286),r=a(840),l=a(16925),s=a(43609),u=2*Math.PI,g=Math.PI/180;function d(e,t){return o.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t){var a,n,o=d(e,t),l=e.get("center"),s=e.get("radius");r.cy(s)||(s=[0,s]);var u=(0,i.lo)(o.width,t.getWidth()),g=(0,i.lo)(o.height,t.getHeight()),c=Math.min(u,g),h=(0,i.lo)(s[0],c/2),p=(0,i.lo)(s[1],c/2),y=e.coordinateSystem;if(y){var f=y.dataToPoint(l);a=f[0]||0,n=f[1]||0}else r.cy(l)||(l=[l,l]),a=(0,i.lo)(l[0],u)+o.x,n=(0,i.lo)(l[1],g)+o.y;return{cx:a,cy:n,r0:h,r:p}}function h(e,t,a){t.eachSeriesByType(e,function(e){var t=e.getData(),n=t.mapDimension("value"),o=d(e,a),r=c(e,a),s=r.cx,h=r.cy,y=r.r,f=r.r0,m=-e.get("startAngle")*g,v=e.get("endAngle"),x=e.get("padAngle")*g;v="auto"===v?m-u:-v*g;var b=e.get("minAngle")*g+x,S=0;t.each(n,function(e){!isNaN(e)&&S++});var L=t.getSum(n),A=Math.PI/(L||S)*2,I=e.get("clockwise"),w=e.get("roseType"),_=e.get("stillShowZeroSum"),M=t.getDataExtent(n);M[0]=0;var D=I?1:-1,T=[m,v],N=D*x/2;(0,l.q)(T,!I),m=T[0],v=T[1];
1var C=p(e);C.startAngle=m,C.endAngle=v,C.clockwise=I;var E=Math.abs(v-m),P=E,V=0,G=m;if(t.setLayout({viewRect:o,r:y}),t.each(n,function(e,a){if(isNaN(e)){t.setItemLayout(a,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:I,cx:s,cy:h,r0:f,r:w?NaN:y});return}(n="area"!==w?0===L&&_?A:e*A:E/S)<b?(n=b,P-=b):V+=e;var n,o=G+D*n,r=0,l=0;x>n?l=r=G+D*n/2:(r=G+N,l=o-N),t.setItemLayout(a,{angle:n,startAngle:r,endAngle:l,clockwise:I,cx:s,cy:h,r0:f,r:w?(0,i.Cb)(e,M,[f,y]):y}),G=o}),P<u&&S)if(P<=.001){var k=E/S;t.each(n,function(e,a){if(!isNaN(e)){var n=t.getItemLayout(a);n.angle=k;var i=0,o=0;k<x?o=i=m+D*(a+.5)*k:(i=m+D*a*k+N,o=m+D*(a+1)*k-N),n.startAngle=i,n.endAngle=o}})}else A=P/V,G=m,t.each(n,function(e,a){if(!isNaN(e)){var n=t.getItemLayout(a),i=n.angle===b?b:e*A,o=0,r=0;i<x?r=o=G+D*i/2:(o=G+N,r=G+D*i-N),n.startAngle=o,n.endAngle=r,G+=D*i}})})}var p=(0,s.$r)(),y=a(76264),f=a(85773),m=a(621),v=a(43633),x=a(61047),b=a(16295),S=a(72726),L=a(87005),A=a(63618),I=a(47006),w=a(62972),_=Math.PI/180;function M(e,t,a,n,i,o,r,l,s,u){if(!(e.length<2)){for(var g=e.length,d=0;d<g;d++)if("outer"===e[d].position&&"labelLine"===e[d].labelAlignTo){var c=e[d].label.x-u;e[d].linePoints[1][0]+=c,e[d].label.x=u}(0,w.Xe)(e,s,s+r)&&function(e){for(var o={list:[],maxY:0},r={list:[],maxY:0},l=0;l<e.length;l++)if("none"===e[l].labelAlignTo){var s=e[l],u=s.label.y>a?r:o,g=Math.abs(s.label.y-a);if(g>=u.maxY){var d=s.label.x-t-s.len2*i,c=n+s.len;
1u.rB=Math.abs(d)<c?Math.sqrt(g*g/(1-d*d/c/c)):c,u.maxY=g}u.list.push(s)}h(o),h(r)}(e)}function h(e){for(var o=e.rB,r=o*o,l=0;l<e.list.length;l++){var s=e.list[l],u=Math.abs(s.label.y-a),g=n+s.len,d=t+(Math.sqrt(Math.abs(g*g*(1-u*u/r)))+s.len2)*i,c=d-s.label.x,h=s.targetTextWidth-c*i;D(s,h,!0),s.label.x=d}}}function D(e,t,a){if(void 0===a&&(a=!1),null==e.labelStyleWidth){var n=e.label,i=n.style,o=e.rect,r=i.backgroundColor,l=i.padding,s=l?l[1]+l[3]:0,u=i.overflow,g=o.width+(r?0:s);if(t<g||a){var d=o.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-s);var c=n.getBoundingRect();n.setStyle("width",Math.ceil(c.width)),n.setStyle("backgroundColor",r)}else{var h=t-s,p=t<g?h:a?h>e.unconstrainedWidth?null:h:null;n.setStyle("width",p)}var y=n.getBoundingRect();o.width=y.width;var f=(n.style.margin||0)+2.1;o.height=y.height+f,o.y-=(o.height-d)/2}}}function T(e){return"center"===e.position}var N=a(51679),C=a(8305),E=function(e){function t(t,a,n){var i=e.call(this)||this;i.z2=2;var o=new m.Ay;return i.setTextContent(o),i.updateData(t,a,n,!0),i}return(0,f.C6)(t,e),t.prototype.updateData=function(e,t,a,n){var i=e.hostModel,o=e.getItemModel(t),l=o.getModel("emphasis"),s=e.getItemLayout(t),u=(0,r.X$)((0,C.i)(o.getModel("itemStyle"),s,!0),s);if(isNaN(u.startAngle)){this.setShape(u);return}if(n){this.setShape(u);var g=i.getShallow("animationType");i.ecModel.ssr?(v.LW(this,{scaleX:0,scaleY:0},i,{dataIndex:t,isFrom:!0}),this.originX=u.cx,this.originY=u.cy):"scale"===g?(this.shape.r=s.r0,v.LW(this,{shape:{r:s.r}},i,t)):null!=a?(this.setShape({startAngle:a,endAngle:a}),v.LW(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},i,t)):(this.shape.endAngle=s.startAngle,v.oi(this,{shape:{endAngle:s.endAngle}},i,t))}else(0,v.ap)(this),v.oi(this,{shape:u},i,t);this.useStyle(e.getItemVisual(t,"style")),(0,S.Mx)(this,o);var d=(s.startAngle+s.endAngle)/2,c=i.get("selectedOffset"),h=Math.cos(d)*c,p=Math.sin(d)*c,y=o.getShallow("cursor");y&&this.attr("cursor",y),this._updateLabel(i,e,t),this.ensureState("emphasis").shape=(0,r.X$)({r:s.r+(l.get("scale")&&l.get("scaleSize")||0)},(0,C.i)(l.getModel("itemStyle"),s)),(0,r.X$)(this.ensureState("select"),{x:h,y:p,shape:(0,C.i)(o.getModel(["select","itemStyle"]),s)}),(0,r.X$)(this.ensureState("blur"),{shape:(0,C.i)(o.getModel(["blur","itemStyle"]),s)});var f=this.getTextGuideLine(),m=this.getTextContent();f&&(0,r.X$)(f.ensureState("select"),{x:h,y:p}),(0,r.X$)(m.ensureState("select"),{x:h,y:p}),(0,S.Lm)(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},t.prototype._updateLabel=function(e,t,a){var n=t.getItemModel(a),i=n.getModel("labelLine"),o=t.getItemVisual(a,"style"),l=o&&o.fill,s=o&&o.opacity;(0,N.qM)(this,(0,N.lx)(n),{labelFetcher:t.hostModel,labelDataIndex:a,inheritColor:l,defaultOpacity:s,defaultText:e.getFormattedLabel(a,"normal")||t.getName(a)});var u=this.getTextContent();this.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var g=e.get(["label","position"]);if("outside"!==g&&"outer"!==g)this.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new x.A,this.setTextGuideLine(d)),(0,I.eR)(this,(0,I.rv)(n),{stroke:l,opacity:(0,r.WV)(i.get(["lineStyle","opacity"]),s,1)})}},t}(b.A),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return(0,f.C6)(t,e),t.prototype.render=function(e,t,a,n){var o,l=e.getData(),s=this._data,u=this.group;if(!s&&l.count()>0){for(var g=l.getItemLayout(0),d=1;isNaN(g&&g.startAngle)&&d<l.count();++d)g=l.getItemLayout(d);g&&(o=g.startAngle)}if(this._emptyCircleSector&&u.remove(this._emptyCircleSector),0===l.count()&&e.get("showEmptyCircle")){var h=p(e),y=new b.A({shape:(0,r.X$)(c(e,a),h)});y.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=y,u.add(y)}l.diff(s).add(function(e){var t=new E(l,e,o);l.setItemGraphicEl(e,t),u.add(t)}).update(function(e,t){var a=s.getItemGraphicEl(t);
1a.updateData(l,e,o),a.off("click"),u.add(a),l.setItemGraphicEl(e,a)}).remove(function(t){var a=s.getItemGraphicEl(t);v.t5(a,e,t)}).execute(),function(e){var t,a,n=e.getData(),o=[],l=!1,s=(e.get("minShowLabelAngle")||0)*_,u=n.getLayout("viewRect"),g=n.getLayout("r"),d=u.width,c=u.x,h=u.y,p=u.height;function y(e){e.ignore=!0}n.each(function(e){var u,h,p,f,m=n.getItemGraphicEl(e),v=m.shape,x=m.getTextContent(),b=m.getTextGuideLine(),S=n.getItemModel(e),L=S.getModel("label"),I=L.get("position")||S.get(["emphasis","label","position"]),w=L.get("distanceToLabelLine"),_=L.get("alignTo"),M=(0,i.lo)(L.get("edgeDistance"),d),D=L.get("bleedMargin"),T=S.getModel("labelLine"),N=T.get("length");N=(0,i.lo)(N,d);var C=T.get("length2");if(C=(0,i.lo)(C,d),Math.abs(v.endAngle-v.startAngle)<s){(0,r.__)(x.states,y),x.ignore=!0,b&&((0,r.__)(b.states,y),b.ignore=!0);return}if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(x)){var E=(v.startAngle+v.endAngle)/2,P=Math.cos(E),V=Math.sin(E);t=v.cx,a=v.cy;var G="inside"===I||"inner"===I;if("center"===I)u=v.cx,h=v.cy,f="center";else{var k=(G?(v.r+v.r0)/2*P:v.r*P)+t,R=(G?(v.r+v.r0)/2*V:v.r*V)+a;if(u=k+3*P,h=R+3*V,!G){var O=k+P*(N+g-v.r),z=R+V*(N+g-v.r),W=O+(P<0?-1:1)*C;u="edge"===_?P<0?c+M:c+d-M:W+(P<0?-w:w),h=z,p=[[k,R],[O,z],[W,z]]}f=G?"center":"edge"===_?P>0?"right":"left":P>0?"left":"right"}var B=Math.PI,Y=0,X=L.get("rotate");if((0,r.Et)(X))Y=B/180*X;else if("center"===I)Y=0;else if("radial"===X||!0===X)Y=P<0?-E+B:-E;else if("tangential"===X&&"outside"!==I&&"outer"!==I){var j=Math.atan2(P,V);j<0&&(j=2*B+j),V>0&&(j=B+j),Y=j-B}if(l=!!Y,x.x=u,x.y=h,x.rotation=Y,x.setStyle({verticalAlign:"middle"}),G){x.setStyle({align:f});var H=x.states.select;H&&(H.x+=x.x,H.y+=x.y)}else{var F=x.getBoundingRect().clone();F.applyTransform(x.getComputedTransform());var q=(x.style.margin||0)+2.1;F.y-=q/2,F.height+=q,o.push({label:x,labelLine:b,position:I,len:N,len2:C,minTurnAngle:T.get("minTurnAngle"),maxSurfaceAngle:T.get("maxSurfaceAngle"),surfaceNormal:new A.A(P,V),linePoints:p,textAlign:f,labelDistance:w,labelAlignTo:_,edgeDistance:M,bleedMargin:D,rect:F,unconstrainedWidth:F.width,labelStyleWidth:x.style.width})}m.setTextConfig({inside:G})}}),!l&&e.get("avoidLabelOverlap")&&function(e,t,a,n,i,o,r,l){for(var s=[],u=[],g=Number.MAX_VALUE,d=-Number.MAX_VALUE,c=0;c<e.length;c++){var h=e[c].label;T(e[c])||(h.x<t?(g=Math.min(g,h.x),s.push(e[c])):(d=Math.max(d,h.x),u.push(e[c])))}for(var c=0;c<e.length;c++){var p=e[c];if(!T(p)&&p.linePoints){if(null!=p.labelStyleWidth)continue;var h=p.label,y=p.linePoints,f=void 0;f="edge"===p.labelAlignTo?h.x<t?y[2][0]-p.labelDistance-r-p.edgeDistance:r+i-
1p.edgeDistance-y[2][0]-p.labelDistance:"labelLine"===p.labelAlignTo?h.x<t?g-r-p.bleedMargin:r+i-d-p.bleedMargin:h.x<t?h.x-r-p.bleedMargin:r+i-h.x-p.bleedMargin,p.targetTextWidth=f,D(p,f)}}M(u,t,a,n,1,i,o,r,l,d),M(s,t,a,n,-1,i,o,r,l,g);for(var c=0;c<e.length;c++){var p=e[c];if(!T(p)&&p.linePoints){var h=p.label,y=p.linePoints,m="edge"===p.labelAlignTo,v=h.style.padding,x=v?v[1]+v[3]:0,b=h.style.backgroundColor?0:x,S=p.rect.width+b,L=y[1][0]-y[2][0];m?h.x<t?y[2][0]=r+p.edgeDistance+S+p.labelDistance:y[2][0]=r+i-p.edgeDistance-S-p.labelDistance:(h.x<t?y[2][0]=h.x+p.labelDistance:y[2][0]=h.x-p.labelDistance,y[1][0]=y[2][0]+L),y[1][1]=y[2][1]=h.y}}}(o,t,a,g,d,p,c,h);for(var f=0;f<o.length;f++){var m=o[f],v=m.label,x=m.labelLine,b=isNaN(v.x)||isNaN(v.y);if(v){v.setStyle({align:m.textAlign}),b&&((0,r.__)(v.states,y),v.ignore=!0);var S=v.states.select;S&&(S.x+=v.x,S.y+=v.y)}if(x){var L=m.linePoints;b||!L?((0,r.__)(x.states,y),x.ignore=!0):((0,I.YI)(L,m.minTurnAngle),(0,I.QK)(L,m.surfaceNormal,m.maxSurfaceAngle),x.setShape({points:L}),v.__hostTarget.textGuideLineConfig={anchor:new A.A(L[0][0],L[0][1])})}}}(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=l)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var a=t.getData().getItemLayout(0);if(a){var n=e[0]-a.cx,i=e[1]-a.cy,o=Math.sqrt(n*n+i*i);return o<=a.r&&o>=a.r0}},t.type="pie",t}(L.A),V=a(85264),G=a(31396),k=a(93604),R=a(56980),O=s.$r(),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new k.A(r.oI(this.getData,this),r.oI(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return(0,V.A)(this,{coordDimensions:["value"],encodeDefaulter:r.cF(G.ln,this)})},t.prototype.getDataParams=function(t){var a=this.getData(),n=O(a),o=n.seats;if(!o){var r=[];a.each(a.mapDimension("value"),function(e){r.push(e)}),o=n.seats=(0,i.kM)(r,a.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,t);return l.percent=o[t]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(e){s.M5(e,"labelLine",["show"]);var t=e.labelLine,a=e.emphasis.labelLine;t.show=t.show&&e.label.show,a.show=a.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(R.A),W=a(99687);function B(e){e.registerChartView(P),e.registerSeriesModel(z),(0,n.I)("pie",e.registerAction),e.registerLayout((0,r.cF)(h,"pie")),e.registerProcessor((0,y.A)("pie")),e.registerProcessor((0,W.A)("pie"))}},38669:(e,t,a)=>{a.d(t,{a:()=>w});var n=a(39896),i=a(85773),o=a(78064),r=a(43633),l=a(63652),s=a(61047),u=a(72726),g=a(87005),d=a(56761),c=a(840),h=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a._dataGroup=new o.A,a._initialized=!1,a}
1return(0,i.C6)(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,a,n){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),s=this._data,u=e.coordinateSystem,g=u.dimensions,d=f(e);if(o.diff(s).add(function(e){m(y(o,i,e,g,u),o,e,d)}).update(function(t,a){var n=s.getItemGraphicEl(a),i=p(o,t,g,u);o.setItemGraphicEl(t,n),r.oi(n,{shape:{points:i}},e,t),(0,r.ap)(n),m(n,o,t,d)}).remove(function(e){var t=s.getItemGraphicEl(e);i.remove(t)}).execute(),!this._initialized){this._initialized=!0;var c,h,v,x,b,S,L,A=(c=u,h=e,v=function(){setTimeout(function(){i.removeClipPath()})},x=c.model,b=c.getRect(),S=new l.A({shape:{x:b.x,y:b.y,width:b.width,height:b.height}}),L="horizontal"===x.get("layout")?"width":"height",S.setShape(L,0),r.LW(S,{shape:{width:b.width,height:b.height}},h,v),S);i.setClipPath(A)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,a){for(var n=t.getData(),i=t.coordinateSystem,o=i.dimensions,r=f(t),l=this._progressiveEls=[],s=e.start;s<e.end;s++){var u=y(n,this._dataGroup,s,o,i);u.incremental=!0,m(u,n,s,r),l.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(g.A);function p(e,t,a,n){for(var i=[],o=0;o<a.length;o++){var r,l=a[o],s=e.get(e.mapDimension(l),t);r=s,("category"===n.getAxis(l).type?null==r:null==r||isNaN(r))||i.push(n.dataToPoint(s,l))}return i}function y(e,t,a,n,i){var o=p(e,a,n,i),r=new s.A({shape:{points:o},z2:10});return t.add(r),e.setItemGraphicEl(a,r),r}function f(e){var t=e.get("smooth",!0);return!0===t&&(t=.3),t=(0,d.Sm)(t),(0,c.Yp)(t)&&(t=0),{smooth:t}}function m(e,t,a,n){e.useStyle(t.getItemVisual(a,"style")),e.style.fill=null,e.setShape("smooth",n.smooth);var i=t.getItemModel(a),o=i.getModel("emphasis");(0,u.Mx)(e,i,"lineStyle"),(0,u.Lm)(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var v=a(56980),x=a(29598),b=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.type=t.type,a.visualStyleAccessPath="lineStyle",a.visualDrawType="stroke",a}return(0,i.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,x.A)(null,this,{useEncodeDefaulter:(0,c.oI)(S,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,a=this.getData(),n=[];return t.eachActiveState(a,function(t,i){e===t&&n.push(a.getRawIndex(i))}),n},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(v.A);function S(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var a={};return(0,c.__)(t.dimensions,function(e){var t=+e.replace("dim","");a[e]=t}),a}}var L=["lineStyle","opacity"];let A={seriesType:"parallel",reset:function(e,t){var a=e.coordinateSystem,n={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){a.eachActiveState(t,function(e,a){var i=n[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(a).get(L,!0);null!=o&&(i=o)}t.ensureUniqueItemVisual(a,"style").opacity=i},e.start,e.end)}}}};var I=a(98440);function w(e){(0,n.Y)(I.a),e.registerChartView(h),e.registerSeriesModel(b),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,A)}}}]);
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.