1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["default-libs_angular_reports_src_index_ts"],{87886:(jt,ht,l)=>{l.r(ht),l.d(ht,{ROUTES:()=>en});var x={};l.r(x),l.d(x,{createDimensions:()=>s.M,createList:()=>t,createScale:()=>p,createSymbol:()=>r.v5,createTextStyle:()=>B,dataStack:()=>a,enableHoverEmphasis:()=>n.iJ,getECData:()=>o.z,getLayoutRect:()=>h.dV,mixinAxisModelCommonMethods:()=>O});var Y={};l.r(Y),l.d(Y,{MAX_SAFE_INTEGER:()=>lt.Is,asc:()=>lt.Y6,getPercentWithPrecision:()=>lt.wp,getPixelPrecision:()=>lt.hb,getPrecision:()=>lt.XV,getPrecisionSafe:()=>lt.y6,isNumeric:()=>lt.kf,isRadianAroundZero:()=>lt.dh,linearMap:()=>lt.Cb,nice:()=>lt.Cm,numericToNumber:()=>lt.Sm,parseDate:()=>lt._U,quantile:()=>lt.YV,quantity:()=>lt.au,quantityExponent:()=>lt.NX,reformIntervals:()=>lt.sL,remRadian:()=>lt._7,round:()=>lt.LI});var b={};l.r(b),l.d(b,{format:()=>bt.GP,parse:()=>lt._U});var F={};l.r(F),l.d(F,{Arc:()=>Gt.A,BezierCurve:()=>Lt.A,BoundingRect:()=>D.A,Circle:()=>Me.A,CompoundPath:()=>q.A,Ellipse:()=>_e.A,Group:()=>fe.A,Image:()=>ue.Ay,IncrementalDisplayable:()=>$t.A,Line:()=>ct.A,LinearGradient:()=>rt.A,Polygon:()=>yt.A,Polyline:()=>kt.A,RadialGradient:()=>et.A,Rect:()=>Qt.A,Ring:()=>J.A,Sector:()=>Se.A,Text:()=>ye.Ay,clipPointsByRect:()=>Ut.clipPointsByRect,clipRectByRect:()=>Ut.clipRectByRect,createIcon:()=>Ut.createIcon,extendPath:()=>Ut.extendPath,extendShape:()=>Ut.extendShape,getShapeClass:()=>Ut.getShapeClass,getTransform:()=>Ut.getTransform,initProps:()=>Ht.LW,makeImage:()=>Ut.makeImage,makePath:()=>Ut.makePath,mergePath:()=>Ut.mergePath,registerShape:()=>Ut.registerShape,resizePath:()=>Ut.resizePath,updateProps:()=>Ht.oi});var U={};l.r(U),l.d(U,{addCommas:()=>st.ob,capitalFirst:()=>st.x5,encodeHTML:()=>zt.Me,formatTime:()=>st.fU,formatTpl:()=>st.YK,getTextRect:()=>re,getTooltipMarker:()=>st.qg,normalizeCssArray:()=>st.QX,toCamelCase:()=>st.Cb,truncateText:()=>Bt.EJ});var W={};l.r(W),l.d(W,{bind:()=>g.bind,clone:()=>g.clone,curry:()=>g.curry,defaults:()=>g.defaults,each:()=>g.each,extend:()=>g.extend,filter:()=>g.filter,indexOf:()=>g.indexOf,inherits:()=>g.inherits,isArray:()=>g.isArray,isFunction:()=>g.isFunction,isObject:()=>g.isObject,isString:()=>g.isString,map:()=>g.map,merge:()=>g.merge,reduce:()=>g.reduce});var G={};l.r(G),l.d(G,{Axis:()=>Ae.A,ChartView:()=>S.A,ComponentModel:()=>y.A,ComponentView:()=>d.A,List:()=>M.A,Model:()=>i.A,PRIORITY:()=>L.FQ,SeriesModel:()=>A.A,color:()=>f,connect:()=>L.Ng,dataTool:()=>L.p5,dependencies:()=>L.El,disConnect:()=>L.zm,disconnect:()=>L.Zf,dispose:()=>L.AS,env:()=>ae.A,extendChartView:()=>Jt,extendComponentModel:()=>mt,extendComponentView:()=>St,extendSeriesModel:()=>It,format:()=>U,getCoordinateSystemDimensions:()=>L.Bo,getInstanceByDom:()=>L.FP,getInstanceById:()=>L.aQ,getMap:()=>L.ZB,graphic:()=>F,helper:()=>x,init:()=>L.Ts,innerDrawElementOnCanvas:()=>Dt.Xi,matrix:()=>P,number:()=>Y,parseGeoJSON:()=>it,parseGeoJson:()=>it,registerAction:()=>L.OH,registerCoordinateSystem:()=>L.pX,registerLayout:()=>L.Oh,registerLoading:()=>L.Ej,registerLocale:()=>L.E,registerMap:()=>L.mz,registerPostInit:()=>L.cf,registerPostUpdate:()=>L.tb,registerPreprocessor:()=>L.lP,registerProcessor:()=>L.qg,registerTheme:()=>L.bf,registerTransform:()=>L.iY,registerUpdateLifecycle:()=>L.xV,registerVisual:()=>L.AF,setCanvasCreator:()=>L.vV,setPlatformAPI:()=>H.Gs,throttle:()=>T.nF,time:()=>b,use:()=>z.Y,util:()=>W,vector:()=>m,version:()=>L.rE,zrUtil:()=>g,zrender:()=>E});var w=l(97403),R=l(93355),L=l(56740),y=l(6301),d=l(70407),A=l(80264),S=l(92088),M=l(61624),E=l(58846),P=l(72464),m=l(48550),g=l(68453),f=l(3235),T=l(17369),c=l(42146),v=l(86517),_=l(94448),i=l(85569),h=l(77563),e=l(3026),o=l(55152),u=l(88634),s=l(82705),r=l(94517),n=l(24691);function t(Tt){return(0,c.A)(null,Tt)}var a={isDimensionStacked:e.sJ,enableDataStack:e.iJ,getStackedDimension:e.me};function p(Tt,Pt){var Ot=Pt;Pt instanceof i.A||(Ot=new i.A(Pt));var _t=v.f$(Ot);return _t.setExtent(Tt[0],Tt[1]),v.af(_t,Ot),_t}function O(Tt){g.mixin(Tt,_.L)}function B(Tt,Pt){return(0,u.VB)(Tt,null,null,"normal"!==(Pt=Pt||{}).state)}var z=l(50357),H=l(3094),C=l(20572),D=l(47799),N=l(46562);function V(Tt,Pt){return Math.abs(Tt-Pt)<1e-8}function k(Tt,Pt,Ot){var _t=0,Ct=Tt[0];if(!Ct)return!1;for(var wt=1;wt<Tt.length;wt++){var Ft=Tt[wt];_t+=(0,N.A)(Ct[0],Ct[1],Ft[0],Ft[1],Pt,Ot),Ct=Ft}var Vt=Tt[0];return(!V(Ct[0],Vt[0])||!V(Ct[1],Vt[1]))&&(_t+=(0,N.A)(Ct[0],Ct[1],Vt[0],Vt[1],Pt,Ot)),0!==_t}var $=[];function tt(Tt,Pt){for(var Ot=0;Ot<Tt.length;Ot++)m.applyTransform(Tt[Ot],Tt[Ot],Pt)}function ot(Tt,Pt,Ot,_t){for(var Ct=0;Ct<Tt.length;Ct++){var wt=Tt[Ct];_t&&(wt=_t.project(wt)),wt&&isFinite(wt[0])&&isFinite(wt[1])&&(m.min(Pt,Pt,wt),m.max(Ot,Ot,wt))}}var pt=function(){function Tt(Pt){this.name=Pt}return Tt.prototype.setCenter=function(Pt){this._center=Pt},Tt.prototype.getCenter=function(){var Pt=this._center;return Pt||(Pt=this._center=this.calcCenter()),Pt},Tt}(),Mt=function(){return function Tt(Pt,Ot){this.type="polygon",this.exterior=Pt,this.interiors=Ot}}(),At=function(){return function Tt(Pt){this.type="linestring",this.points=Pt}}(),Kt=function(Tt){function Pt(Ot,_t,Ct){var wt=Tt.call(this,Ot)||this;return wt.type="geoJSON",wt.geometries=_t,wt._center=Ct&&[Ct[0],Ct[1]],wt}return(0,C.C6)(Pt,Tt),Pt.prototype.calcCenter=function(){for(var _t,Ot=this.geometries,Ct=0,wt=0;wt<Ot.length;wt++){var Ft=Ot[wt],Vt=Ft.exterior,se=Vt&&Vt.length;se>Ct&&(_t=Ft,Ct=se)}if(_t)return function at(Tt){for(var Pt=0,Ot=0,_t=0,Ct=Tt.length,wt=Tt[Ct-1][0],Ft=Tt[Ct-1][1],Vt=0;Vt<Ct;Vt++){var se=Tt[Vt][0],de=Tt[Vt][1],Zt=wt*de-se*Ft;Pt+=Zt,Ot+=(wt+se)*Zt,_t+=(Ft+de)*Zt,wt=se,Ft=de}return Pt?[Ot/Pt/3,_t/Pt/3,Pt]:[Tt[0][0]||0,Tt[0][1]||0]}(_t.exterior);
1var de=this.getBoundingRect();return[de.x+de.width/2,de.y+de.height/2]},Pt.prototype.getBoundingRect=function(Ot){var _t=this._rect;if(_t&&!Ot)return _t;var Ct=[1/0,1/0],wt=[-1/0,-1/0];return(0,g.each)(this.geometries,function(Vt){"polygon"===Vt.type?ot(Vt.exterior,Ct,wt,Ot):(0,g.each)(Vt.points,function(se){ot(se,Ct,wt,Ot)})}),isFinite(Ct[0])&&isFinite(Ct[1])&&isFinite(wt[0])&&isFinite(wt[1])||(Ct[0]=Ct[1]=wt[0]=wt[1]=0),_t=new D.A(Ct[0],Ct[1],wt[0]-Ct[0],wt[1]-Ct[1]),Ot||(this._rect=_t),_t},Pt.prototype.contain=function(Ot){var _t=this.getBoundingRect(),Ct=this.geometries;if(!_t.contain(Ot[0],Ot[1]))return!1;t:for(var wt=0,Ft=Ct.length;wt<Ft;wt++){var Vt=Ct[wt];if("polygon"===Vt.type){var de=Vt.interiors;if(k(Vt.exterior,Ot[0],Ot[1])){for(var Zt=0;Zt<(de?de.length:0);Zt++)if(k(de[Zt],Ot[0],Ot[1]))continue t;return!0}}}return!1},Pt.prototype.transformTo=function(Ot,_t,Ct,wt){var Ft=this.getBoundingRect(),Vt=Ft.width/Ft.height;Ct?wt||(wt=Ct/Vt):Ct=Vt*wt;for(var se=new D.A(Ot,_t,Ct,wt),de=Ft.calculateTransform(se),Zt=this.geometries,Ce=0;Ce<Zt.length;Ce++){var Oe=Zt[Ce];"polygon"===Oe.type?(tt(Oe.exterior,de),(0,g.each)(Oe.interiors,function(ge){tt(ge,de)})):(0,g.each)(Oe.points,function(ge){tt(ge,de)})}(Ft=this._rect).copy(se),this._center=[Ft.x+Ft.width/2,Ft.y+Ft.height/2]},Pt.prototype.cloneShallow=function(Ot){null==Ot&&(Ot=this.name);var _t=new Pt(Ot,this.geometries,this._center);return _t._rect=this._rect,_t.transformTo=null,_t},Pt}(pt);function vt(Tt,Pt,Ot){for(var _t=0;_t<Tt.length;_t++)Tt[_t]=dt(Tt[_t],Pt[_t],Ot)}function dt(Tt,Pt,Ot){for(var _t=[],Ct=Pt[0],wt=Pt[1],Ft=0;Ft<Tt.length;Ft+=2){var Vt=Tt.charCodeAt(Ft)-64,se=Tt.charCodeAt(Ft+1)-64;Vt=Vt>>1^-(1&Vt),se=se>>1^-(1&se),Ct=Vt+=Ct,wt=se+=wt,_t.push([Vt/Ot,se/Ot])}return _t}function it(Tt,Pt){return Tt=function le(Tt){if(!Tt.UTF8Encoding)return Tt;var Pt=Tt,Ot=Pt.UTF8Scale;return null==Ot&&(Ot=1024),g.each(Pt.features,function(Ct){var wt=Ct.geometry,Ft=wt.encodeOffsets,Vt=wt.coordinates;if(Ft)switch(wt.type){case"LineString":wt.coordinates=dt(Vt,Ft,Ot);break;case"Polygon":case"MultiLineString":vt(Vt,Ft,Ot);break;case"MultiPolygon":g.each(Vt,function(se,de){return vt(se,Ft[de],Ot)})}}),Pt.UTF8Encoding=!1,Pt}(Tt),g.map(g.filter(Tt.features,function(Ot){return Ot.geometry&&Ot.properties&&Ot.geometry.coordinates.length>0}),function(Ot){var _t=Ot.properties,Ct=Ot.geometry,wt=[];switch(Ct.type){case"Polygon":var Ft=Ct.coordinates;wt.push(new Mt(Ft[0],Ft.slice(1)));break;case"MultiPolygon":g.each(Ct.coordinates,function(se){se[0]&&wt.push(new Mt(se[0],se.slice(1)))});break;case"LineString":wt.push(new At([Ct.coordinates]));break;case"MultiLineString":wt.push(new At(Ct.coordinates))}var Vt=new Kt(_t[Pt||"name"],wt,_t.cp);return Vt.properties=_t,Vt})}!function(Tt){function Pt(Ot,_t){var Ct=Tt.call(this,Ot)||this;return Ct.type="geoSVG",Ct._elOnlyForCalculate=_t,Ct}(0,C.C6)(Pt,Tt),Pt.prototype.calcCenter=function(){for(var Ot=this._elOnlyForCalculate,_t=Ot.getBoundingRect(),Ct=[_t.x+_t.width/2,_t.y+_t.height/2],wt=P.identity($),Ft=Ot;Ft&&!Ft.isGeoSVGGraphicRoot;)P.mul(wt,Ft.getLocalTransform(),wt),Ft=Ft.parent;return P.invert(wt,wt),m.applyTransform(Ct,Ct,wt),Ct}}(pt);var lt=l(8404),bt=l(44488),Ut=l(66456),Ht=l(16108),fe=l(67469),ue=l(17799),ye=l(81523),Me=l(12638),_e=l(17798),Se=l(20255),J=l(26972),yt=l(45086),kt=l(52274),Qt=l(16609),ct=l(45760),Lt=l(61838),Gt=l(72492),$t=l(2966),q=l(84306),rt=l(29613),et=l(98063),st=l(42050),zt=l(28551),Bt=l(21407);function re(Tt,Pt,Ot,_t,Ct,wt,Ft,Vt){return new ye.Ay({style:{text:Tt,font:Pt,align:Ot,verticalAlign:_t,padding:Ct,rich:wt,overflow:Ft?"truncate":null,lineHeight:Vt}}).getBoundingRect()}var ae=l(24026),Ae=l(69002),Dt=l(66994);function mt(Tt){var Pt=y.A.extend(Tt);return y.A.registerClass(Pt),Pt}function St(Tt){var Pt=d.A.extend(Tt);return d.A.registerClass(Pt),Pt}function It(Tt){var Pt=A.A.extend(Tt);return A.A.registerClass(Pt),Pt}function Jt(Tt){var Pt=S.A.extend(Tt);return S.A.registerClass(Pt),Pt}var pe=l(94804),oe=l(58749),te=l(45263),Re=l(57918),xe=l(97240),Ke=l(67308),Be=l(80138),me=2*Math.PI,ie=xe.A.CMD,nr=["top","right","bottom","left"];function tr(Tt,Pt,Ot,_t,Ct){var wt=Ot.width,Ft=Ot.height;switch(Tt){case"top":_t.set(Ot.x+wt/2,Ot.y-Pt),Ct.set(0,-1);break;case"bottom":_t.set(Ot.x+wt/2,Ot.y+Ft+Pt),Ct.set(0,1);break;case"left":_t.set(Ot.x-Pt,Ot.y+Ft/2),Ct.set(-1,0);break;case"right":_t.set(Ot.x+wt+Pt,Ot.y+Ft/2),Ct.set(1,0)}}function ve(Tt,Pt,Ot,_t,Ct,wt,Ft,Vt,se){Ft-=Tt,Vt-=Pt;var de=Math.sqrt(Ft*Ft+Vt*Vt),Zt=(Ft/=de)*Ot+Tt,Ce=(Vt/=de)*Ot+Pt;if(Math.abs(_t-Ct)%me<1e-4)return se[0]=Zt,se[1]=Ce,de-Ot;if(wt){var Oe=_t;_t=(0,Ke.n)(Ct),Ct=(0,Ke.n)(Oe)}else _t=(0,Ke.n)(_t),Ct=(0,Ke.n)(Ct);_t>Ct&&(Ct+=me);var ge=Math.atan2(Vt,Ft);if(ge<0&&(ge+=me),ge>=_t&&ge<=Ct||ge+me>=_t&&ge+me<=Ct)return se[0]=Zt,se[1]=Ce,de-Ot;var Fe=Ot*Math.cos(_t)+Tt,Ie=Ot*Math.sin(_t)+Pt,ze=Ot*Math.cos(Ct)+Tt,lr=Ot*Math.sin(Ct)+Pt,cr=(Fe-Ft)*(Fe-Ft)+(Ie-Vt)*(Ie-Vt),ur=(ze-Ft)*(ze-Ft)+(lr-Vt)*(lr-Vt);return cr<ur?(se[0]=Fe,se[1]=Ie,Math.sqrt(cr)):(se[0]=ze,se[1]=lr,Math.sqrt(ur))}function Ne(Tt,Pt,Ot,_t,Ct,wt,Ft,Vt){var se=Ct-Tt,de=wt-Pt,Zt=Ot-Tt,Ce=_t-Pt,Oe=Math.sqrt(Zt*Zt+Ce*Ce),Fe=(se*(Zt/=Oe)+de*(Ce/=Oe))/Oe;Vt&&(Fe=Math.min(Math.max(Fe,0),1));var Ie=Ft[0]=Tt+(Fe*=Oe)*Zt,ze=Ft[1]=Pt+Fe*Ce;return Math.sqrt((Ie-Ct)*(Ie-Ct)+(ze-wt)*(ze-wt))}function Ve(Tt,Pt,Ot,_t,Ct,wt,Ft){Ot<0&&(Tt+=Ot,Ot=-Ot),_t<0&&(Pt+=_t,_t=-_t);var Vt=Tt+Ot,se=Pt+_t,de=Ft[0]=Math.min(Math.max(Ct,Tt),Vt),Zt=Ft[1]=Math.min(Math.max(wt,Pt),se);return Math.sqrt((de-Ct)*(de-Ct)+(Zt-wt)*(Zt-wt))}var Ge=[];function ir(Tt,Pt,Ot){var _t=Ve(Pt.x,Pt.y,Pt.width,Pt.height,Tt.x,Tt.y,Ge);return Ot.set(Ge[0],Ge[1]),_t}function Ye(Tt,Pt,Ot){for(var Vt,se,_t=0,Ct=0,wt=0,Ft=0,de=1/0,Zt=Pt.data,Ce=Tt.x,Oe=Tt.y,ge=0;ge<Zt.length;){var Fe=Zt[ge++];1===ge&&(wt=_t=Zt[ge],Ft=Ct=Zt[ge+1]);var Ie=de;switch(Fe){case ie.M:_t=wt=Zt[ge++],Ct=Ft=Zt[ge++];break;
1case ie.L:Ie=Ne(_t,Ct,Zt[ge],Zt[ge+1],Ce,Oe,Ge,!0),_t=Zt[ge++],Ct=Zt[ge++];break;case ie.C:Ie=(0,Be.Et)(_t,Ct,Zt[ge++],Zt[ge++],Zt[ge++],Zt[ge++],Zt[ge],Zt[ge+1],Ce,Oe,Ge),_t=Zt[ge++],Ct=Zt[ge++];break;case ie.Q:Ie=(0,Be.kh)(_t,Ct,Zt[ge++],Zt[ge++],Zt[ge],Zt[ge+1],Ce,Oe,Ge),_t=Zt[ge++],Ct=Zt[ge++];break;case ie.A:var ze=Zt[ge++],lr=Zt[ge++],cr=Zt[ge++],ur=Zt[ge++],vr=Zt[ge++],Lr=Zt[ge++];ge+=1;var or=!!(1-Zt[ge++]);Vt=Math.cos(vr)*cr+ze,se=Math.sin(vr)*ur+lr,ge<=1&&(wt=Vt,Ft=se),Ie=ve(ze,lr,ur,vr,vr+Lr,or,(Ce-ze)*ur/cr+ze,Oe,Ge),_t=Math.cos(vr+Lr)*cr+ze,Ct=Math.sin(vr+Lr)*ur+lr;break;case ie.R:Ie=Ve(wt=_t=Zt[ge++],Ft=Ct=Zt[ge++],Zt[ge++],Zt[ge++],Ce,Oe,Ge);break;case ie.Z:Ie=Ne(_t,Ct,wt,Ft,Ce,Oe,Ge,!0),_t=wt,Ct=Ft}Ie<de&&(de=Ie,Ot.set(Ge[0],Ge[1]))}return de}var ke=new te.A,Pe=new te.A,be=new te.A,We=new te.A,we=new te.A;function Ze(Tt,Pt){if(Tt){var Ot=Tt.getTextGuideLine(),_t=Tt.getTextContent();if(_t&&Ot){var Ct=Tt.textGuideLineConfig||{},wt=[[0,0],[0,0],[0,0]],Ft=Ct.candidates||nr,Vt=_t.getBoundingRect().clone();Vt.applyTransform(_t.getComputedTransform());var se=1/0,de=Ct.anchor,Zt=Tt.getComputedTransform(),Ce=Zt&&(0,P.invert)([],Zt),Oe=Pt.get("length2")||0;de&&be.copy(de);for(var ge=0;ge<Ft.length;ge++){tr(Ft[ge],0,Vt,ke,We),te.A.scaleAndAdd(Pe,ke,We,Oe),Pe.transform(Ce);var Ie=Tt.getBoundingRect(),ze=de?de.distance(Pe):Tt instanceof Re.Ay?Ye(Pe,Tt.path,be):ir(Pe,Ie,be);ze<se&&(se=ze,Pe.transform(Zt),be.transform(Zt),be.toArray(wt[0]),Pe.toArray(wt[1]),ke.toArray(wt[2]))}(function Br(Tt,Pt){if(Pt<=180&&Pt>0){Pt=Pt/180*Math.PI,ke.fromArray(Tt[0]),Pe.fromArray(Tt[1]),be.fromArray(Tt[2]),te.A.sub(We,ke,Pe),te.A.sub(we,be,Pe);var Ot=We.len(),_t=we.len();if(!(Ot<.001||_t<.001)){We.scale(1/Ot),we.scale(1/_t);var Ct=We.dot(we);if(Math.cos(Pt)<Ct){var Ft=Ne(Pe.x,Pe.y,be.x,be.y,ke.x,ke.y,dr,!1);$e.fromArray(dr),$e.scaleAndAdd(we,Ft/Math.tan(Math.PI-Pt));var Vt=be.x!==Pe.x?($e.x-Pe.x)/(be.x-Pe.x):($e.y-Pe.y)/(be.y-Pe.y);if(isNaN(Vt))return;Vt<0?te.A.copy($e,Pe):Vt>1&&te.A.copy($e,be),$e.toArray(Tt[1])}}}})(wt,Pt.get("minTurnAngle")),Ot.setShape({points:wt})}}}var dr=[],$e=new te.A;function br(Tt,Pt,Ot,_t){var Ct="normal"===Ot,wt=Ct?Tt:Tt.ensureState(Ot);wt.ignore=Pt;var Ft=_t.get("smooth");Ft&&!0===Ft&&(Ft=.3),wt.shape=wt.shape||{},Ft>0&&(wt.shape.smooth=Ft);var Vt=_t.getModel("lineStyle").getLineStyle();Ct?Tt.useStyle(Vt):wt.style=Vt}function Qe(Tt,Pt){var Ot=Pt.smooth,_t=Pt.points;if(_t)if(Tt.moveTo(_t[0][0],_t[0][1]),Ot>0&&_t.length>=3){var Ct=m.dist(_t[0],_t[1]),wt=m.dist(_t[1],_t[2]);if(!Ct||!wt)return Tt.lineTo(_t[1][0],_t[1][1]),void Tt.lineTo(_t[2][0],_t[2][1]);var Ft=Math.min(Ct,wt)*Ot,Vt=m.lerp([],_t[1],_t[0],Ft/Ct),se=m.lerp([],_t[1],_t[2],Ft/wt),de=m.lerp([],Vt,se,.5);Tt.bezierCurveTo(Vt[0],Vt[1],Vt[0],Vt[1],de[0],de[1]),Tt.bezierCurveTo(se[0],se[1],se[0],se[1],_t[2][0],_t[2][1])}else for(var Zt=1;Zt<_t.length;Zt++)Tt.lineTo(_t[Zt][0],_t[Zt][1])}var _r=l(95577);function Ur(Tt){if(Tt){for(var Pt=[],Ot=0;Ot<Tt.length;Ot++)Pt.push(Tt[Ot].slice());return Pt}}function Jr(Tt,Pt){var Ot=Tt.label,_t=Pt&&Pt.getTextGuideLine();return{dataIndex:Tt.dataIndex,dataType:Tt.dataType,seriesIndex:Tt.seriesModel.seriesIndex,text:Tt.label.style.text,rect:Tt.hostRect,labelRect:Tt.rect,align:Ot.style.align,verticalAlign:Ot.style.verticalAlign,labelLinePoints:Ur(_t&&_t.shape.points)}}var Ar=["align","verticalAlign","width","height","fontSize"],Je=new oe.Ay,mr=(0,pe.$r)(),Nr=(0,pe.$r)();function Dr(Tt,Pt,Ot){for(var _t=0;_t<Ot.length;_t++){var Ct=Ot[_t];null!=Pt[Ct]&&(Tt[Ct]=Pt[Ct])}}var Cr=["x","y","rotation"];const tn=function(){function Tt(){this._labelList=[],this._chartViewList=[]}return Tt.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},Tt.prototype._addLabel=function(Pt,Ot,_t,Ct,wt){var Ft=Ct.style,se=Ct.__hostTarget.textConfig||{},de=Ct.getComputedTransform(),Zt=Ct.getBoundingRect().plain();D.A.applyTransform(Zt,Zt,de),de?Je.setLocalTransform(de):(Je.x=Je.y=Je.rotation=Je.originX=Je.originY=0,Je.scaleX=Je.scaleY=1),Je.rotation=(0,Ke.n)(Je.rotation);var Oe,Ce=Ct.__hostTarget;
1if(Ce){Oe=Ce.getBoundingRect().plain();var ge=Ce.getComputedTransform();D.A.applyTransform(Oe,Oe,ge)}var Fe=Oe&&Ce.getTextGuideLine();this._labelList.push({label:Ct,labelLine:Fe,seriesModel:_t,dataIndex:Pt,dataType:Ot,layoutOption:wt,computedLayoutOption:null,rect:Zt,hostRect:Oe,priority:Oe?Oe.width*Oe.height:0,defaultAttr:{ignore:Ct.ignore,labelGuideIgnore:Fe&&Fe.ignore,x:Je.x,y:Je.y,scaleX:Je.scaleX,scaleY:Je.scaleY,rotation:Je.rotation,style:{x:Ft.x,y:Ft.y,align:Ft.align,verticalAlign:Ft.verticalAlign,width:Ft.width,height:Ft.height,fontSize:Ft.fontSize},cursor:Ct.cursor,attachedPos:se.position,attachedRot:se.rotation}})},Tt.prototype.addLabelsOfSeries=function(Pt){var Ot=this;this._chartViewList.push(Pt);var _t=Pt.__model,Ct=_t.get("labelLayout");((0,g.isFunction)(Ct)||(0,g.keys)(Ct).length)&&Pt.group.traverse(function(wt){if(wt.ignore)return!0;var Ft=wt.getTextContent(),Vt=(0,o.z)(wt);Ft&&!Ft.disableLabelLayout&&Ot._addLabel(Vt.dataIndex,Vt.dataType,_t,Ft,Ct)})},Tt.prototype.updateLayoutConfig=function(Pt){var Ot=Pt.getWidth(),_t=Pt.getHeight();function Ct(ur,vr){return function(){Ze(ur,vr)}}for(var wt=0;wt<this._labelList.length;wt++){var Ft=this._labelList[wt],Vt=Ft.label,se=Vt.__hostTarget,de=Ft.defaultAttr,Zt=void 0;Zt=(0,g.isFunction)(Ft.layoutOption)?Ft.layoutOption(Jr(Ft,se)):Ft.layoutOption,Ft.computedLayoutOption=Zt=Zt||{};var Ce=Math.PI/180;se&&se.setTextConfig({local:!1,position:null!=Zt.x||null!=Zt.y?null:de.attachedPos,rotation:null!=Zt.rotate?Zt.rotate*Ce:de.attachedRot,offset:[Zt.dx||0,Zt.dy||0]});var Oe=!1;if(null!=Zt.x?(Vt.x=(0,lt.lo)(Zt.x,Ot),Vt.setStyle("x",0),Oe=!0):(Vt.x=de.x,Vt.setStyle("x",de.style.x)),null!=Zt.y?(Vt.y=(0,lt.lo)(Zt.y,_t),Vt.setStyle("y",0),Oe=!0):(Vt.y=de.y,Vt.setStyle("y",de.style.y)),Zt.labelLinePoints){var ge=se.getTextGuideLine();ge&&(ge.setShape({points:Zt.labelLinePoints}),Oe=!1)}mr(Vt).needsUpdateLabelLine=Oe,Vt.rotation=null!=Zt.rotate?Zt.rotate*Ce:de.rotation,Vt.scaleX=de.scaleX,Vt.scaleY=de.scaleY;for(var Ie=0;Ie<Ar.length;Ie++){var ze=Ar[Ie];Vt.setStyle(ze,null!=Zt[ze]?Zt[ze]:de.style[ze])}if(Zt.draggable){if(Vt.draggable=!0,Vt.cursor="move",se){var lr=Ft.seriesModel;null!=Ft.dataIndex&&(lr=Ft.seriesModel.getData(Ft.dataType).getItemModel(Ft.dataIndex)),Vt.on("drag",Ct(se,lr.getModel("labelLine")))}}else Vt.off("drag"),Vt.cursor=de.cursor}},Tt.prototype.layout=function(Pt){var Ot=Pt.getWidth(),_t=Pt.getHeight(),Ct=(0,_r.os)(this._labelList),wt=(0,g.filter)(Ct,function(se){return"shiftX"===se.layoutOption.moveOverlap}),Ft=(0,g.filter)(Ct,function(se){return"shiftY"===se.layoutOption.moveOverlap});(0,_r.QX)(wt,0,Ot),(0,_r.Xe)(Ft,0,_t);var Vt=(0,g.filter)(Ct,function(se){return se.layoutOption.hideOverlap});(0,_r.If)(Vt)},Tt.prototype.processLabelsOverall=function(){var Pt=this;(0,g.each)(this._chartViewList,function(Ot){var _t=Ot.__model,Ct=Ot.ignoreLabelLineUpdate,wt=_t.isAnimationEnabled();Ot.group.traverse(function(Ft){if(Ft.ignore&&!Ft.forceLabelAnimation)return!0;var Vt=!Ct,se=Ft.getTextContent();!Vt&&se&&(Vt=mr(se).needsUpdateLabelLine),Vt&&Pt._updateLabelLine(Ft,_t),wt&&Pt._animateLabels(Ft,_t)})})},Tt.prototype._updateLabelLine=function(Pt,Ot){var _t=Pt.getTextContent(),Ct=(0,o.z)(Pt),wt=Ct.dataIndex;if(_t&&null!=wt){var Ft=Ot.getData(Ct.dataType),Vt=Ft.getItemModel(wt),se={},de=Ft.getItemVisual(wt,"style");if(de){var Zt=Ft.getVisual("drawType");se.stroke=de[Zt]}var Ce=Vt.getModel("labelLine");(function Fr(Tt,Pt,Ot){var _t=Tt.getTextGuideLine(),Ct=Tt.getTextContent();if(Ct){for(var wt=Pt.normal,Ft=wt.get("show"),Vt=Ct.ignore,se=0;se<n.wV.length;se++){var de=n.wV[se],Zt=Pt[de],Ce="normal"===de;if(Zt){var Oe=Zt.get("show");if((Ce?Vt:(0,g.retrieve2)(Ct.states[de]&&Ct.states[de].ignore,Vt))||!(0,g.retrieve2)(Oe,Ft)){var Fe=Ce?_t:_t&&_t.states[de];Fe&&(Fe.ignore=!0),_t&&br(_t,!0,de,Zt);continue}_t||(_t=new kt.A,Tt.setTextGuideLine(_t),!Ce&&(Vt||!Ft)&&br(_t,!0,"normal",Pt.normal),Tt.stateProxy&&(_t.stateProxy=Tt.stateProxy)),br(_t,!1,de,Zt)}}if(_t){(0,g.defaults)(_t.style,Ot),_t.style.fill=null;var Ie=wt.get("showAbove");(Tt.textGuideLineConfig=Tt.textGuideLineConfig||{}).showAbove=Ie||!1,_t.buildPath=Qe}}else _t&&Tt.removeTextGuideLine()})(Pt,function Tr(Tt,Pt){for(var Ot={normal:Tt.getModel(Pt=Pt||"labelLine")},_t=0;_t<n.BV.length;_t++){var Ct=n.BV[_t];Ot[Ct]=Tt.getModel([Ct,Pt])}return Ot}(Vt),se),Ze(Pt,Ce)}},Tt.prototype._animateLabels=function(Pt,Ot){var _t=Pt.getTextContent(),Ct=Pt.getTextGuideLine();if(_t&&(Pt.forceLabelAnimation||!_t.ignore&&!_t.invisible&&!Pt.disableLabelAnimation&&!(0,Ht.LR)(Pt))){var Ft=(wt=mr(_t)).oldLayout,Vt=(0,o.z)(Pt),se=Vt.dataIndex,de={x:_t.x,y:_t.y,rotation:_t.rotation},Zt=Ot.getData(Vt.dataType);if(Ft){_t.attr(Ft);var Oe=Pt.prevStates;Oe&&((0,g.indexOf)(Oe,"select")>=0&&_t.attr(wt.oldLayoutSelect),(0,g.indexOf)(Oe,"emphasis")>=0&&_t.attr(wt.oldLayoutEmphasis)),(0,Ht.oi)(_t,de,Ot,se)}else if(_t.attr(de),!(0,u.Lu)(_t).valueAnimation){var Ce=(0,g.retrieve2)(_t.style.opacity,1);_t.style.opacity=0,(0,Ht.LW)(_t,{style:{opacity:Ce}},Ot,se)}if(wt.oldLayout=de,_t.states.select){var ge=wt.oldLayoutSelect={};Dr(ge,de,Cr),Dr(ge,_t.states.select,Cr)}if(_t.states.emphasis){var Fe=wt.oldLayoutEmphasis={};Dr(Fe,de,Cr),Dr(Fe,_t.states.emphasis,Cr)}(0,u.xb)(_t,se,Zt,Ot,Ot)}if(Ct&&!Ct.ignore&&!Ct.invisible){var wt=Nr(Ct),Ie={points:Ct.shape.points};(Ft=wt.oldLayout)?(Ct.attr({shape:Ft}),(0,Ht.oi)(Ct,{shape:Ie},Ot)):(Ct.setShape(Ie),Ct.style.strokePercent=0,(0,Ht.LW)(Ct,{style:{strokePercent:1}},Ot)),wt.oldLayout=Ie}},Tt}();var Wr=(0,pe.$r)();(0,z.Y)(function zr(Tt){Tt.registerUpdateLifecycle("series:beforeupdate",function(Pt,Ot,_t){var Ct=Wr(Ot).labelManager;Ct||(Ct=Wr(Ot).labelManager=new tn),Ct.clearLabels()}),Tt.registerUpdateLifecycle("series:layoutlabels",function(Pt,Ot,_t){var Ct=Wr(Ot).labelManager;
1_t.updatedSeries.forEach(function(wt){Ct.addLabelsOfSeries(Ot.getViewOfSeriesModel(wt))}),Ct.updateLayoutConfig(Ot),Ct.layout(Ot),Ct.processLabelsOverall()})});var Sn=l(97888),pr=l(97758);const en=[{path:"",loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_spartan_ui-tabs-helm_src_lib_hlm-tabs-trigger_directive_ts-libs_angular_-29675f"),l.e("default-libs_angular_feature-scan-request-meter_src_index_ts-libs_angular_scan_util-common_sr-5fc35b"),l.e("common"),l.e("libs_angular_reports_src_lib_pages_reports_reports-page_ng_ts")]).then(l.bind(l,13534)).then(Tt=>Tt.SonaReportsPage),providers:[(0,Sn.fM)({echarts:G}),(0,pr.Xu)({markedOptions:{provide:pr.GY,useFactory:w.b}})],children:[{path:"issues/:category",loadComponent:()=>Promise.all([l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("common"),l.e("libs_angular_reports_src_lib_drawers_issue-list_issue-list-drawer_ng_ts-libs_angular_spartan_-2f5691")]).then(l.bind(l,93870)).then(Tt=>Tt.SonaReportIssueListDrawer),outlet:"drawer"},{path:"issues/:scanRequestId/:auditTypeId",loadComponent:()=>Promise.all([l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("default-libs_angular_scan_ui-components_src_lib_audit-details_services_audit-details_service_ts"),l.e("common"),l.e("libs_angular_reports_src_lib_drawers_issue_issue-drawer_ng_ts-libs_angular_spartan_ui-input-h-4e425b")]).then(l.bind(l,48003)).then(Tt=>Tt.SonaReportIssueDrawer),outlet:"drawer"},{path:"pages/:category",loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("common"),l.e("libs_angular_reports_src_lib_drawers_page-list_page-list-drawer_ng_ts-libs_angular_spartan_ui-d2573d")]).then(l.bind(l,64415)).then(Tt=>Tt.SonaReportPageListDrawer),outlet:"drawer"},{path:"pages/:category/:scanId",loadComponent:()=>Promise.all([l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-node_modules_pnpm_ng-bootstrap_ng-bootstrap_18_0_0__angular_common_19_0_7__angular_co-b40fe8"),l.e("default-libs_angular_scan_ui-components_src_lib_audit-details_services_audit-details_service_ts"),l.e("default-libs_angular_scan_ui-components_src_lib_audit-list_audit-list_component_ts-libs_angul-65128f"),l.e("libs_angular_reports_src_lib_drawers_page_page-drawer_ng_ts")]).then(l.bind(l,82783)).then(Tt=>Tt.SonaReportPageDrawer),outlet:"drawer"},{path:"accessibility",data:{category:R.If.ACCESSIBILITY,tab:R.If.ACCESSIBILITY},loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_spartan_ui-tabs-helm_src_lib_hlm-tabs-trigger_directive_ts-libs_angular_-29675f"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("default-libs_angular_reports_src_lib_components_cards_issue-table-card_ng_ts-libs_angular_rep-69282a"),l.e("common"),l.e("libs_angular_reports_src_lib_pages_accessibility-report_accessibility-report_ng_ts")]).then(l.bind(l,91619)).then(Tt=>Tt.AccessibilityReportComponent)},{path:"performance",data:{category:R.If.PERFORMANCE,tab:R.If.PERFORMANCE},loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("default-libs_angular_reports_src_lib_components_cards_issue-table-card_ng_ts-libs_angular_rep-69282a"),l.e("common"),l.e("libs_angular_reports_src_lib_pages_performance-report_performance-report_ng_ts")]).then(l.bind(l,24661)).then(Tt=>Tt.PerformanceReportComponent)},{path:"seo",data:{category:R.If.SEO,tab:R.If.SEO},loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("default-libs_angular_reports_src_lib_components_cards_issue-table-card_ng_ts-libs_angular_rep-69282a"),l.e("common"),l.e("libs_angular_reports_src_lib_pages_seo-report_seo-report_ng_ts")]).then(l.bind(l,92855)).then(Tt=>Tt.SonaSeoReportComponent)},{path:"best-practices",data:{category:R.If.BEST_PRACTICES,tab:R.If.BEST_PRACTICES},loadComponent:()=>Promise.all([l.e("default-libs_angular_auth_feature-guards_src_index_ts"),l.e("default-libs_angular_reports_src_lib_services_report-facade_ng_ts-libs_angular_ui-components_-e6369e"),l.e("default-libs_angular_reports_src_lib_components_cells_bar-cell_ng_ts-libs_angular_reports_src-7b540c"),l.e("default-libs_angular_reports_src_lib_components_cells_device-type-cell_ng_ts-libs_angular_rep-402222"),l.e("default-libs_angular_reports_src_lib_components_cards_issue-table-card_ng_ts-libs_angular_rep-69282a"),l.e("common"),l.e("libs_angular_reports_src_lib_pages_best-practices-report_best-practices-report_ng_ts")]).then(l.bind(l,68201)).then(Tt=>Tt.SonaBestPracticesReportComponent)},{path:"",pathMatch:"full",redirectTo:"accessibility"}]}]},97403:(jt,ht,l)=>{l.d(ht,{b:()=>Y});var x=l(1219);function Y(){const b=new x.A4;return b.link=(F,U,W)=>{let G=`<a href="${F}"`;return U&&(G+=` title="${U}"`),G+=` target="_blank">${W}</a>`,G},{renderer:b}}},93355:(jt,ht,l)=>{l.d(ht,{Po:()=>U,bq:()=>b,j0:()=>F,rm:()=>w,C3:()=>R,If:()=>G,Sd:()=>d});var x=l(29968);x.z.enum(["critical","serious","moderate","minor"]);var b=function(T){return T.MOBILE="mobile",T.DESKTOP="desktop",T}(b||{});const F=[b.MOBILE,b.DESKTOP],U=["crossDevice",...F];var W=l(13660),G=function(T){return T.PERFORMANCE="performance",T.PRIVACY="privacy",T.SECURITY="security",T.ACCESSIBILITY="accessibility",T.BEST_PRACTICES="best_practices",T.SEO="seo",T.PWA="pwa",T.SYSTEM_UPDATES="system_updates",T.PACKAGE_UPDATES="package_updates",T}(G||{});const w=[G.PERFORMANCE,G.PRIVACY,G.SECURITY,G.ACCESSIBILITY,G.SEO,G.BEST_PRACTICES,G.SYSTEM_UPDATES,G.PACKAGE_UPDATES],R=(0,W.intersection)(w,[G.PERFORMANCE,G.SECURITY,G.ACCESSIBILITY,G.SEO,G.BEST_PRACTICES]);x.z.enum(["pending","finished","error","aborted"]).describe("The status of a scan request.");var d=function(T){return T.PENDING="pending",T.FINISHED="finished",T.ERROR="error",T.ABORTED="aborted",T}(d||{});x.z.string().brand("AuditId"),x.z.string().brand("AuditGroupTypeId"),x.z.string().brand("AuditTypeId"),x.z.string().brand("KeyFigureId"),x.z.string().brand("KeyFigureTypeId"),x.z.string().brand("ScanRequestId"),x.z.string().brand("ScanId"),x.z.string().brand("ScanResultId")}
1,20572:(jt,ht,l)=>{l.d(ht,{C6:()=>Y});var x=function(e,o){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(u[r]=s[r])})(e,o)};function Y(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function u(){this.constructor=e}x(e,o),e.prototype=null===o?Object.create(o):(u.prototype=o.prototype,new u)}},16108:(jt,ht,l)=>{l.d(ht,{LR:()=>w,LW:()=>G,Nz:()=>R,ap:()=>d,oi:()=>W,t5:()=>y});var x=l(68453),b=(0,l(94804).$r)();function U(S,M,E,P,m,g,f){var c,T=!1;(0,x.isFunction)(m)?(f=g,g=m,m=null):(0,x.isObject)(m)&&(g=m.cb,f=m.during,T=m.isFrom,c=m.removeOpt,m=m.dataIndex);var v="leave"===S;v||M.stopAnimation("leave");var _=function F(S,M,E,P,m){var g;if(M&&M.ecModel){var f=M.ecModel.getUpdatePayload();g=f&&f.animation}var c="update"===S;if(M&&M.isAnimationEnabled()){var v=void 0,_=void 0,i=void 0;return P?(v=(0,x.retrieve2)(P.duration,200),_=(0,x.retrieve2)(P.easing,"cubicOut"),i=0):(v=M.getShallow(c?"animationDurationUpdate":"animationDuration"),_=M.getShallow(c?"animationEasingUpdate":"animationEasing"),i=M.getShallow(c?"animationDelayUpdate":"animationDelay")),g&&(null!=g.duration&&(v=g.duration),null!=g.easing&&(_=g.easing),null!=g.delay&&(i=g.delay)),(0,x.isFunction)(i)&&(i=i(E,m)),(0,x.isFunction)(v)&&(v=v(E)),{duration:v||0,delay:i,easing:_}}return null}(S,P,m,v?c||{}:null,P&&P.getAnimationDelayParams?P.getAnimationDelayParams(M,m):null);if(_&&_.duration>0){var o={duration:_.duration,delay:_.delay||0,easing:_.easing,done:g,force:!!g||!!f,setToFinal:!v,scope:S,during:f};T?M.animateFrom(E,o):M.animateTo(E,o)}else M.stopAnimation(),!T&&M.attr(E),f&&f(1),g&&g()}function W(S,M,E,P,m,g){U("update",S,M,E,P,m,g)}function G(S,M,E,P,m,g){U("enter",S,M,E,P,m,g)}function w(S){if(!S.__zr)return!0;for(var M=0;M<S.animators.length;M++)if("leave"===S.animators[M].scope)return!0;return!1}function R(S,M,E,P,m,g){w(S)||U("leave",S,M,E,P,m,g)}function L(S,M,E,P){S.removeTextContent(),S.removeTextGuideLine(),R(S,{style:{opacity:0}},M,E,P)}function y(S,M,E){function P(){S.parent&&S.parent.remove(S)}S.isGroup?S.traverse(function(m){m.isGroup||L(m,M,E,P)}):L(S,M,E,P)}function d(S){b(S).oldStyle=S.style}},26388:(jt,ht,l)=>{l.d(ht,{A:()=>Y});var x=l(94804);function Y(){var b=(0,x.$r)();return function(F){var U=b(F),W=F.pipelineContext,G=!!U.large,w=!!U.progressiveRender,R=U.large=!(!W||!W.large),L=U.progressiveRender=!(!W||!W.progressiveRender);return(G!==R||w!==L)&&"reset"}}},42146:(jt,ht,l)=>{l.d(ht,{A:()=>f});var x=l(68453),Y=l(61624),b=l(82705),F=l(6666),U=l(94804),W=l(51563),G=function(){return function T(c){this.coordSysDims=[],this.axisMap=(0,x.createHashMap)(),this.categoryAxisMap=(0,x.createHashMap)(),this.coordSysName=c}}(),R={cartesian2d:function(T,c,v,_){var i=T.getReferringComponents("xAxis",U.US).models[0],h=T.getReferringComponents("yAxis",U.US).models[0];c.coordSysDims=["x","y"],v.set("x",i),v.set("y",h),L(i)&&(_.set("x",i),c.firstCategoryDimIndex=0),L(h)&&(_.set("y",h),null==c.firstCategoryDimIndex&&(c.firstCategoryDimIndex=1))},singleAxis:function(T,c,v,_){var i=T.getReferringComponents("singleAxis",U.US).models[0];c.coordSysDims=["single"],v.set("single",i),L(i)&&(_.set("single",i),c.firstCategoryDimIndex=0)},polar:function(T,c,v,_){var i=T.getReferringComponents("polar",U.US).models[0],h=i.findAxisModel("radiusAxis"),e=i.findAxisModel("angleAxis");c.coordSysDims=["radius","angle"],v.set("radius",h),v.set("angle",e),L(h)&&(_.set("radius",h),c.firstCategoryDimIndex=0),L(e)&&(_.set("angle",e),null==c.firstCategoryDimIndex&&(c.firstCategoryDimIndex=1))},geo:function(T,c,v,_){c.coordSysDims=["lng","lat"]},parallel:function(T,c,v,_){var i=T.ecModel,h=i.getComponent("parallel",T.get("parallelIndex")),e=c.coordSysDims=h.dimensions.slice();(0,x.each)(h.parallelAxisIndex,function(o,u){var s=i.getComponent("parallelAxis",o),r=e[u];v.set(r,s),L(s)&&(_.set(r,s),null==c.firstCategoryDimIndex&&(c.firstCategoryDimIndex=u))})}};function L(T){return"category"===T.get("type")}var y=l(42080),d=l(3026),A=l(64225),S=l(74984);const f=function P(T,c,v){v=v||{};var i,_=c.getSourceManager(),h=!1;T?(h=!0,i=(0,y.AF)(T)):h=(i=_.getSource()).sourceFormat===S.mK;
1var e=function w(T){var c=T.get("coordinateSystem"),v=new G(c),_=R[c];if(_)return _(T,v,v.axisMap,v.categoryAxisMap),v}(c),o=function M(T,c){var i,v=T.get("coordinateSystem"),_=W.A.get(v);return c&&c.coordSysDims&&(i=x.map(c.coordSysDims,function(h){var e={name:h},o=c.axisMap.get(h);if(o){var u=o.get("type");e.type=(0,F.B)(u)}return e})),i||(i=_&&(_.getDimensionsInfo?_.getDimensionsInfo():_.dimensions.slice())||["x","y"]),i}(c,e),u=v.useEncodeDefaulter,s=x.isFunction(u)?u:u?x.curry(A.OC,o,c):null,r={coordDimensions:o,generateCoord:v.generateCoord,encodeDefine:c.getEncode(),encodeDefaulter:s,canOmitUnusedDimensions:!h},n=(0,b.A)(i,r),t=function E(T,c,v){var _,i;return v&&x.each(T,function(h,e){var u=v.categoryAxisMap.get(h.coordDim);u&&(null==_&&(_=e),h.ordinalMeta=u.getOrdinalMeta(),c&&(h.createInvertedIndices=!0)),null!=h.otherDims.itemName&&(i=!0)}),!i&&null!=_&&(T[_].otherDims.itemName=0),_}(n.dimensions,v.createInvertedIndices,e),a=h?null:_.getSharedDataStore(n),p=(0,d.iJ)(c,{schema:n,store:a}),O=new Y.A(n,c);O.setCalculationInfo(p);var B=null!=t&&function m(T){if(T.sourceFormat===S.mK){var c=function g(T){for(var c=0;c<T.length&&null==T[c];)c++;return T[c]}(T.data||[]);return!x.isArray((0,U.vj)(c))}}(i)?function(z,H,C,D){return D===t?C:this.defaultDimValueGetter(z,H,C,D)}:null;return O.hasItemOption=!1,O.initData(h?i:a,null,B),O}},88667:(jt,ht,l)=>{l.d(ht,{CO:()=>i,Qx:()=>y,Yu:()=>P,aw:()=>_,lb:()=>h});var x=l(28551),Y=l(42050),b=l(68453),F=l(75507),U=l(8404),W="line-height:1";function G(e){var o=e.lineHeight;return null==o?W:"line-height:"+(0,x.Me)(o+"")+"px"}function w(e,o){var u=e.color||"#6e7079",s=e.fontSize||12,r=e.fontWeight||"400",n=e.color||"#464646",t=e.fontSize||14,a=e.fontWeight||"900";return"html"===o?{nameStyle:"font-size:"+(0,x.Me)(s+"")+"px;color:"+(0,x.Me)(u)+";font-weight:"+(0,x.Me)(r+""),valueStyle:"font-size:"+(0,x.Me)(t+"")+"px;color:"+(0,x.Me)(n)+";font-weight:"+(0,x.Me)(a+"")}:{nameStyle:{fontSize:s,fill:u,fontWeight:r},valueStyle:{fontSize:t,fill:n,fontWeight:a}}}var R=[0,10,20,30],L=["","\n","\n\n","\n\n\n"];function y(e,o){return o.type=e,o}function d(e){return"section"===e.type}function A(e){return d(e)?M:E}function S(e){if(d(e)){var o=0,u=e.blocks.length,s=u>1||u>0&&!e.noHeader;return(0,b.each)(e.blocks,function(r){var n=S(r);n>=o&&(o=n+ +(s&&(!n||d(r)&&!r.noHeader)))}),o}return 0}function M(e,o,u,s){var r=o.noHeader,n=function m(e){return{html:R[e],richText:L[e]}}(S(o)),t=[],a=o.blocks||[];(0,b.assert)(!a||(0,b.isArray)(a)),a=a||[];var p=e.orderMode;if(o.sortBlocks&&p){a=a.slice();var O={valueAsc:"asc",valueDesc:"desc"};if((0,b.hasOwn)(O,p)){var B=new F.Fl(O[p],null);a.sort(function(N,I){return B.evaluate(N.sortParam,I.sortParam)})}else"seriesDesc"===p&&a.reverse()}(0,b.each)(a,function(N,I){var V=o.valueFormatter,k=A(N)(V?(0,b.extend)((0,b.extend)({},e),{valueFormatter:V}):e,N,I>0?n.html:0,s);null!=k&&t.push(k)});var z="richText"===e.renderMode?t.join(n.richText):g(s,t.join(""),r?u:n.html);if(r)return z;var H=(0,Y.yC)(o.header,"ordinal",e.useUTC),C=w(s,e.renderMode).nameStyle,D=G(s);return"richText"===e.renderMode?c(e,H,C)+n.richText+z:g(s,'<div style="'+C+";"+D+';">'+(0,x.Me)(H)+"</div>"+z,u)}function E(e,o,u,s){var r=e.renderMode,n=o.noName,t=o.noValue,a=!o.markerType,p=o.name,O=e.useUTC,B=o.valueFormatter||e.valueFormatter||function(tt){return tt=(0,b.isArray)(tt)?tt:[tt],(0,b.map)(tt,function(ot,at){return(0,Y.yC)(ot,(0,b.isArray)(C)?C[at]:C,O)})};if(!n||!t){var z=a?"":e.markupStyleCreator.makeTooltipMarker(o.markerType,o.markerColor||"#333",r),H=n?"":(0,Y.yC)(p,"ordinal",O),C=o.valueType,D=t?[]:B(o.value,o.dataIndex),N=!a||!n,I=!a&&n,V=w(s,r),k=V.nameStyle,$=V.valueStyle;return"richText"===r?(a?"":z)+(n?"":c(e,H,k))+(t?"":function v(e,o,u,s,r){var n=[r];return u&&n.push({padding:[0,0,0,s?10:20],align:"right"}),e.markupStyleCreator.wrapRichTextStyle((0,b.isArray)(o)?o.join(" "):o,n)}(e,D,N,I,$)):g(s,(a?"":z)+(n?"":function f(e,o,u){return'<span style="'+u+";"+(o?"margin-left:2px":"")+'">'+(0,x.Me)(e)+"</span>"}(H,!a,k))+(t?"":function T(e,o,u,s){var n=o?"float:right;margin-left:"+(u?"10px":"20px"):"";return e=(0,b.isArray)(e)?e:[e],'<span style="'+n+";"+s+'">'+(0,b.map)(e,function(t){return(0,x.Me)(t)}).join(" ")+"</span>"}(D,N,I,$)),u)}}function P(e,o,u,s,r,n){if(e)return A(e)({useUTC:r,renderMode:u,orderMode:s,markupStyleCreator:o,valueFormatter:e.valueFormatter},e,0,n)}function g(e,o,u){return'<div style="margin: '+u+"px 0 0;"+G(e)+';">'+o+'<div style="clear:both"></div></div>'}function c(e,o,u){return e.markupStyleCreator.wrapRichTextStyle(o,u)}function _(e,o){var u=e.getData().getItemVisual(o,"style");return(0,Y.he)(u[e.visualDrawType])}
1function i(e,o){return e.get("padding")??("richText"===o?[8,10]:10)}var h=function(){function e(){this.richTextStyles={},this._nextStyleNameId=(0,U.IH)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(o,u,s){var r="richText"===s?this._generateStyleName():null,n=(0,Y.qg)({color:u,type:o,renderMode:s,markerId:r});return(0,b.isString)(n)?n:(this.richTextStyles[r]=n.style,n.content)},e.prototype.wrapRichTextStyle=function(o,u){var s={};(0,b.isArray)(u)?(0,b.each)(u,function(n){return(0,b.extend)(s,n)}):(0,b.extend)(s,u);var r=this._generateStyleName();return this.richTextStyles[r]=s,"{"+r+"|"+o+"}"},e}()},69002:(jt,ht,l)=>{l.d(ht,{A:()=>h});var x=l(68453),Y=l(8404),b=l(33907),F=l(94804),U=l(86517),W=(0,F.$r)();function G(e,o){var u=x.map(o,function(s){return e.scale.parse(s)});return"time"===e.type&&u.length>0&&(u.sort(),u.unshift(u[0]),u.push(u[u.length-1])),u}function y(e,o){var n,t,u=S(e,"labels"),s=(0,U.j2)(o);return M(u,s)||(x.isFunction(s)?n=T(e,s):(t="auto"===s?function P(e){return W(e).autoInterval??(W(e).autoInterval=e.calculateCategoryInterval())}(e):s,n=f(e,t)),E(u,s,{labels:n,labelCategoryInterval:t}))}function S(e,o){return W(e)[o]||(W(e)[o]=[])}function M(e,o){for(var u=0;u<e.length;u++)if(e[u].key===o)return e[u].value}function E(e,o,u){return e.push({key:o,value:u}),u}function f(e,o,u){var s=(0,U.ry)(e),r=e.scale,n=r.getExtent(),t=e.getLabelModel(),a=[],p=Math.max((o||0)+1,1),O=n[0],B=r.count();0!==O&&p>1&&B/p>2&&(O=Math.round(Math.ceil(O/p)*p));var z=(0,U.PJ)(e),H=t.get("showMinLabel")||z,C=t.get("showMaxLabel")||z;H&&O!==n[0]&&N(n[0]);for(var D=O;D<=n[1];D+=p)N(D);function N(I){var V={value:I};a.push(u?I:{formattedLabel:s(V),rawLabel:r.getLabel(V),tickValue:I})}return C&&D-p!==n[1]&&N(n[1]),a}function T(e,o,u){var s=e.scale,r=(0,U.ry)(e),n=[];return x.each(s.getTicks(),function(t){var a=s.getLabel(t),p=t.value;o(t.value,a)&&n.push(u?p:{formattedLabel:r(t),rawLabel:a,tickValue:p})}),n}var c=[0,1];function _(e,o){var r=(e[1]-e[0])/o/2;e[0]+=r,e[1]-=r}const h=function(){function e(o,u,s){this.onBand=!1,this.inverse=!1,this.dim=o,this.scale=u,this._extent=s||[0,0]}return e.prototype.contain=function(o){var u=this._extent,s=Math.min(u[0],u[1]),r=Math.max(u[0],u[1]);return o>=s&&o<=r},e.prototype.containData=function(o){return this.scale.contain(o)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(o){return(0,Y.hb)(o||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(o,u){var s=this._extent;s[0]=o,s[1]=u},e.prototype.dataToCoord=function(o,u){var s=this._extent,r=this.scale;return o=r.normalize(o),this.onBand&&"ordinal"===r.type&&_(s=s.slice(),r.count()),(0,Y.Cb)(o,c,s,u)},e.prototype.coordToData=function(o,u){var s=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&_(s=s.slice(),r.count());var n=(0,Y.Cb)(o,s,c,u);return this.scale.scale(n)},e.prototype.pointToData=function(o,u){},e.prototype.getTicksCoords=function(o){var u=(o=o||{}).tickModel||this.getTickModel(),s=function R(e,o){var u=e.getTickModel().get("customValues");if(u){var s=e.scale.getExtent(),r=G(e,u);return{ticks:x.filter(r,function(n){return n>=s[0]&&n<=s[1]})}}return"category"===e.type?function d(e,o){var n,t,u=S(e,"ticks"),s=(0,U.j2)(o),r=M(u,s);if(r)return r;if((!o.get("show")||e.scale.isBlank())&&(n=[]),x.isFunction(s))n=T(e,s,!0);else if("auto"===s){var a=y(e,e.getLabelModel());t=a.labelCategoryInterval,n=x.map(a.labels,function(p){return p.tickValue})}else n=f(e,t=s,!0);return E(u,s,{ticks:n,tickCategoryInterval:t})}(e,o):{ticks:x.map(e.scale.getTicks(),function(n){return n.value})}}(this,u),n=(0,x.map)(s.ticks,function(a){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(a):a),tickValue:a}},this);return function i(e,o,u,s){var r=o.length;if(e.onBand&&!u&&r){var t,n=e.getExtent();if(1===r)o[0].coord=n[0],t=o[1]={coord:n[1],tickValue:o[0].tickValue};else{var O=(o[r-1].coord-o[0].coord)/(o[r-1].tickValue-o[0].tickValue);(0,x.each)(o,function(C){C.coord-=O/2});var B=e.scale.getExtent();o.push(t={coord:o[r-1].coord+O*(1+B[1]-o[r-1].tickValue),tickValue:B[1]+1})}var z=n[0]>n[1];H(o[0].coord,n[0])&&(s?o[0].coord=n[0]:o.shift()),s&&H(n[0],o[0].coord)&&o.unshift({coord:n[0]}),H(n[1],t.coord)&&(s?t.coord=n[1]:o.pop()),s&&H(t.coord,n[1])&&o.push({coord:n[1]})}
1function H(C,D){return C=(0,Y.LI)(C),D=(0,Y.LI)(D),z?C>D:C<D}}(this,n,u.get("alignWithLabel"),o.clamp),n},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var u=this.model.getModel("minorTick").get("splitNumber");u>0&&u<100||(u=5);var s=this.scale.getMinorTicks(u);return(0,x.map)(s,function(n){return(0,x.map)(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},e.prototype.getViewLabels=function(){return function w(e){var o=e.getLabelModel().get("customValues");if(o){var u=(0,U.ry)(e),s=e.scale.getExtent(),r=G(e,o),n=x.filter(r,function(t){return t>=s[0]&&t<=s[1]});return{labels:x.map(n,function(t){var a={value:t};return{formattedLabel:u(a),rawLabel:e.scale.getLabel(a),tickValue:t}})}}return"category"===e.type?function L(e){var o=e.getLabelModel(),u=y(e,o);return!o.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:u.labelCategoryInterval}:u}(e):function A(e){var o=e.scale.getTicks(),u=(0,U.ry)(e);return{labels:x.map(o,function(s,r){return{level:s.level,formattedLabel:u(s,r),rawLabel:e.scale.getLabel(s),tickValue:s.value}})}}(e)}(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var o=this._extent,u=this.scale.getExtent(),s=u[1]-u[0]+(this.onBand?1:0);0===s&&(s=1);var r=Math.abs(o[1]-o[0]);return Math.abs(r)/s},e.prototype.calculateCategoryInterval=function(){return function m(e){var o=function g(e){var o=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}}(e),u=(0,U.ry)(e),s=(o.axisRotate-o.labelRotate)/180*Math.PI,r=e.scale,n=r.getExtent(),t=r.count();if(n[1]-n[0]<1)return 0;var a=1;t>40&&(a=Math.max(1,Math.floor(t/40)));for(var p=n[0],O=e.dataToCoord(p+1)-e.dataToCoord(p),B=Math.abs(O*Math.cos(s)),z=Math.abs(O*Math.sin(s)),H=0,C=0;p<=n[1];p+=a){var N,I=b.NO(u({value:p}),o.font,"center","top");N=1.3*I.height,H=Math.max(H,1.3*I.width,7),C=Math.max(C,N,7)}var V=H/B,k=C/z;isNaN(V)&&(V=1/0),isNaN(k)&&(k=1/0);var $=Math.max(0,Math.floor(Math.min(V,k))),tt=W(e.model),ot=e.getExtent(),at=tt.lastAutoInterval,pt=tt.lastTickCount;return null!=at&&null!=pt&&Math.abs(at-$)<=1&&Math.abs(pt-t)<=1&&at>$&&tt.axisExtent0===ot[0]&&tt.axisExtent1===ot[1]?$=at:(tt.lastTickCount=t,tt.lastAutoInterval=$,tt.axisExtent0=ot[0],tt.axisExtent1=ot[1]),$}(this)},e}()},86517:(jt,ht,l)=>{l.d(ht,{f$:()=>$,Og:()=>pt,Dt:()=>at,wq:()=>qt,j2:()=>At,Rx:()=>I,JJ:()=>tt,ry:()=>ot,af:()=>k,PJ:()=>Kt});var x=l(68453),Y=l(20572),b=l(90095),F=l(72441),U=l(12073),W=function(vt){function dt(it){var lt=vt.call(this,it)||this;lt.type="ordinal";var bt=lt.getSetting("ordinalMeta");return bt||(bt=new F.A({})),(0,x.isArray)(bt)&&(bt=new F.A({categories:(0,x.map)(bt,function(Ut){return(0,x.isObject)(Ut)?Ut.value:Ut})})),lt._ordinalMeta=bt,lt._extent=lt.getSetting("extent")||[0,bt.categories.length-1],lt}return(0,Y.C6)(dt,vt),dt.prototype.parse=function(it){return null==it?NaN:(0,x.isString)(it)?this._ordinalMeta.getOrdinal(it):Math.round(it)},dt.prototype.contain=function(it){return it=this.parse(it),U.lP(it,this._extent)&&null!=this._ordinalMeta.categories[it]},dt.prototype.normalize=function(it){return it=this._getTickNumber(this.parse(it)),U.S8(it,this._extent)},dt.prototype.scale=function(it){return it=Math.round(U.hs(it,this._extent)),this.getRawOrdinalNumber(it)},dt.prototype.getTicks=function(){for(var it=[],lt=this._extent,bt=lt[0];bt<=lt[1];)it.push({value:bt}),bt++;return it},dt.prototype.getMinorTicks=function(it){},dt.prototype.setSortInfo=function(it){if(null!=it){for(var lt=it.ordinalNumbers,bt=this._ordinalNumbersByTick=[],Ut=this._ticksByOrdinalNumber=[],Ht=0,fe=this._ordinalMeta.categories.length,ue=Math.min(fe,lt.length);Ht<ue;++Ht){var ye=lt[Ht];bt[Ht]=ye,Ut[ye]=Ht}for(var Me=0;Ht<fe;++Ht){for(;null!=Ut[Me];)Me++;bt.push(Me),Ut[Me]=Ht}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},dt.prototype._getTickNumber=function(it){var lt=this._ticksByOrdinalNumber;return lt&&it>=0&&it<lt.length?lt[it]:it},dt.prototype.getRawOrdinalNumber=function(it){var lt=this._ordinalNumbersByTick;return lt&&it>=0&&it<lt.length?lt[it]:it},dt.prototype.getLabel=function(it){if(!this.isBlank()){var lt=this.getRawOrdinalNumber(it.value),bt=this._ordinalMeta.categories[lt];return null==bt?"":bt+""}},dt.prototype.count=function(){return this._extent[1]-this._extent[0]+1},dt.prototype.unionExtentFromData=function(it,lt){this.unionExtent(it.getApproximateExtent(lt))},dt.prototype.isInExtentRange=function(it){return it=this._getTickNumber(it),this._extent[0]<=it&&this._extent[1]>=it},dt.prototype.getOrdinalMeta=function(){return this._ordinalMeta},dt.prototype.calcNiceTicks=function(){},dt.prototype.calcNiceExtent=function(){},dt.type="ordinal",dt}(b.A);b.A.registerClass(W);const G=W;var w=l(56188),R=l(26461),L=l(47799),y=l(8404),d=l(44488),S=function(vt){function dt(it){var lt=vt.call(this,it)||this;return lt.type="time",lt}return(0,Y.C6)(dt,vt),dt.prototype.getLabel=function(it){var lt=this.getSetting("useUTC");return(0,d.GP)(it.value,d.Lm[(0,d.$9)((0,d.ym)(this._minLevelUnit))]||d.Lm.second,lt,this.get
1Setting("locale"))},dt.prototype.getFormattedLabel=function(it,lt,bt){var Ut=this.getSetting("useUTC"),Ht=this.getSetting("locale");return(0,d.X_)(it,lt,bt,Ht,Ut)},dt.prototype.getTicks=function(){var lt=this._extent,bt=[];if(!this._interval)return bt;bt.push({value:lt[0],level:0});var Ut=this.getSetting("useUTC"),Ht=function v(vt,dt,it,lt){var Ut=d.F7,Ht=0;function fe(Bt,re,ae,Ae,Dt,mt,St){for(var It=new Date(re),Jt=re,pe=It[Ae]();Jt<ae&&Jt<=lt[1];)St.push({value:Jt}),It[Dt](pe+=Bt),Jt=It.getTime();St.push({value:Jt,notAdd:!0})}function ue(Bt,re,ae){var Ae=[],Dt=!re.length;if(!function E(vt,dt,it,lt){var bt=y._U(dt),Ut=y._U(it),Ht=function(yt){return(0,d.g0)(bt,yt,lt)===(0,d.g0)(Ut,yt,lt)},fe=function(){return Ht("year")},ue=function(){return fe()&&Ht("month")},ye=function(){return ue()&&Ht("day")},Me=function(){return ye()&&Ht("hour")},_e=function(){return Me()&&Ht("minute")},Se=function(){return _e()&&Ht("second")};switch(vt){case"year":return fe();case"month":return ue();case"day":return ye();case"hour":return Me();case"minute":return _e();case"second":return Se();case"millisecond":return Se()&&Ht("millisecond")}}((0,d.ym)(Bt),lt[0],lt[1],it)){Dt&&(re=[{value:c(new Date(lt[0]),Bt,it)},{value:lt[1]}]);for(var mt=0;mt<re.length-1;mt++){var St=re[mt].value,It=re[mt+1].value;if(St!==It){var Jt=void 0,pe=void 0,oe=void 0;switch(Bt){case"year":Jt=Math.max(1,Math.round(dt/d.CZ/365)),pe=(0,d.hY)(it),oe=(0,d.tM)(it);break;case"half-year":case"quarter":case"month":Jt=m(dt),pe=(0,d.jJ)(it),oe=(0,d.xu)(it);break;case"week":case"half-week":case"day":Jt=P(dt),pe=(0,d.bP)(it),oe=(0,d.ti)(it);break;case"half-day":case"quarter-day":case"hour":Jt=g(dt),pe=(0,d.iC)(it),oe=(0,d.Yd)(it);break;case"minute":Jt=f(dt,!0),pe=(0,d.yB)(it),oe=(0,d.KF)(it);break;case"second":Jt=f(dt,!1),pe=(0,d.Wf)(it),oe=(0,d.ww)(it);break;case"millisecond":Jt=T(dt),pe=(0,d.Zz)(it),oe=(0,d.FP)(it)}fe(Jt,St,It,pe,oe,0,Ae),"year"===Bt&&ae.length>1&&0===mt&&ae.unshift({value:ae[0].value-Jt})}}for(mt=0;mt<Ae.length;mt++)ae.push(Ae[mt]);return Ae}}for(var ye=[],Me=[],_e=0,Se=0,J=0;J<Ut.length&&Ht++<1e4;++J){var yt=(0,d.ym)(Ut[J]);if((0,d.ce)(Ut[J])&&(ue(Ut[J],ye[ye.length-1]||[],Me),yt!==(Ut[J+1]?(0,d.ym)(Ut[J+1]):null))){if(Me.length){Se=_e,Me.sort(function(Bt,re){return Bt.value-re.value});for(var Qt=[],ct=0;ct<Me.length;++ct){var Lt=Me[ct].value;(0===ct||Me[ct-1].value!==Lt)&&(Qt.push(Me[ct]),Lt>=lt[0]&&Lt<=lt[1]&&_e++)}var Gt=(lt[1]-lt[0])/dt;if(_e>1.5*Gt&&Se>Gt/1.5||(ye.push(Qt),_e>Gt||vt===Ut[J]))break}Me=[]}}var $t=(0,x.filter)((0,x.map)(ye,function(Bt){return(0,x.filter)(Bt,function(re){return re.value>=lt[0]&&re.value<=lt[1]&&!re.notAdd})}),function(Bt){return Bt.length>0}),q=[],rt=$t.length-1;for(J=0;J<$t.length;++J)for(var et=$t[J],st=0;st<et.length;++st)q.push({value:et[st].value,level:rt-J});q.sort(function(Bt,re){return Bt.value-re.value});var zt=[];for(J=0;J<q.length;++J)(0===J||q[J].value!==q[J-1].value)&&zt.push(q[J]);return zt}(this._minLevelUnit,this._approxInterval,Ut,lt);return(bt=bt.concat(Ht)).push({value:lt[1],level:0}),bt},dt.prototype.calcNiceExtent=function(it){var lt=this._extent;if(lt[0]===lt[1]&&(lt[0]-=d.CZ,lt[1]+=d.CZ),lt[1]===-1/0&<[0]===1/0){var bt=new Date;lt[1]=+new Date(bt.getFullYear(),bt.getMonth(),bt.getDate()),lt[0]=lt[1]-d.CZ}this.calcNiceTicks(it.splitNumber,it.minInterval,it.maxInterval)},dt.prototype.calcNiceTicks=function(it,lt,bt){var Ut=this._extent;this._approxInterval=(Ut[1]-Ut[0])/(it=it||10),null!=lt&&this._approxInterval<lt&&(this._approxInterval=lt),null!=bt&&this._approxInterval>bt&&(this._approxInterval=bt);var fe=M.length,ue=Math.min(function(vt,dt,it,lt){for(;it<lt;){var bt=it+lt>>>1;vt[bt][1]<dt?it=bt+1:lt=bt}return it}(M,this._approxInterval,0,fe),fe-1);this._interval=M[ue][1],this._minLevelUnit=M[Math.max(ue-1,0)][0]},dt.prototype.parse=function(it){return(0,x.isNumber)(it)?it:+y._U(it)},dt.prototype.contain=function(it){return U.lP(this.parse(it),this._extent)},dt.prototype.normalize=function(it){return U.S8(this.parse(it),this._extent)},dt.prototype.scale=function(it){return U.hs(it,this._extent)},dt.type="time",dt}(w.A),M=[["second",d.OY],["minute",d.iW],["hour",d.MA],["quarter-day",6*d.MA],["half-day",12*d.MA],["day",1.2*d.CZ],["half-week",3.5*d.CZ],["week",7*d.CZ],["month",31*d.CZ],["quarter",95*d.CZ],["half-year",d.$H/2],["year",d.$H]];function P(vt,dt){return(vt/=d.CZ)>16?16:vt>7.5?7:vt>3.5?4:vt>1.5?2:1}function m(vt){return(vt/=30*d.CZ)>6?6:vt>3?3:vt>2?2:1}function g(vt){return(vt/=d.MA)>12?12:vt>6?6:vt>3.5?4:vt>2?2:1}function f(vt,dt){return(vt/=dt?d.iW:d.OY)>
130?30:vt>20?20:vt>15?15:vt>10?10:vt>5?5:vt>2?2:1}function T(vt){return y.Cm(vt,!0)}function c(vt,dt,it){var lt=new Date(vt);switch((0,d.ym)(dt)){case"year":case"month":lt[(0,d.xu)(it)](0);case"day":lt[(0,d.ti)(it)](1);case"hour":lt[(0,d.Yd)(it)](0);case"minute":lt[(0,d.KF)(it)](0);case"second":lt[(0,d.ww)(it)](0),lt[(0,d.FP)(it)](0)}return lt.getTime()}b.A.registerClass(S);const _=S;var i=b.A.prototype,h=w.A.prototype,e=y.LI,o=Math.floor,u=Math.ceil,s=Math.pow,r=Math.log,n=function(vt){function dt(){var it=null!==vt&&vt.apply(this,arguments)||this;return it.type="log",it.base=10,it._originalScale=new w.A,it._interval=0,it}return(0,Y.C6)(dt,vt),dt.prototype.getTicks=function(it){var bt=this._extent,Ut=this._originalScale.getExtent(),Ht=h.getTicks.call(this,it);return x.map(Ht,function(fe){var ue=fe.value,ye=y.LI(s(this.base,ue));return ye=ue===bt[0]&&this._fixMin?a(ye,Ut[0]):ye,{value:ye=ue===bt[1]&&this._fixMax?a(ye,Ut[1]):ye}},this)},dt.prototype.setExtent=function(it,lt){var bt=r(this.base);it=r(Math.max(0,it))/bt,lt=r(Math.max(0,lt))/bt,h.setExtent.call(this,it,lt)},dt.prototype.getExtent=function(){var it=this.base,lt=i.getExtent.call(this);lt[0]=s(it,lt[0]),lt[1]=s(it,lt[1]);var Ut=this._originalScale.getExtent();return this._fixMin&&(lt[0]=a(lt[0],Ut[0])),this._fixMax&&(lt[1]=a(lt[1],Ut[1])),lt},dt.prototype.unionExtent=function(it){this._originalScale.unionExtent(it);var lt=this.base;it[0]=r(it[0])/r(lt),it[1]=r(it[1])/r(lt),i.unionExtent.call(this,it)},dt.prototype.unionExtentFromData=function(it,lt){this.unionExtent(it.getApproximateExtent(lt))},dt.prototype.calcNiceTicks=function(it){it=it||10;var lt=this._extent,bt=lt[1]-lt[0];if(!(bt===1/0||bt<=0)){var Ut=y.au(bt);for(it/bt*Ut<=.5&&(Ut*=10);!isNaN(Ut)&&Math.abs(Ut)<1&&Math.abs(Ut)>0;)Ut*=10;var fe=[y.LI(u(lt[0]/Ut)*Ut),y.LI(o(lt[1]/Ut)*Ut)];this._interval=Ut,this._niceExtent=fe}},dt.prototype.calcNiceExtent=function(it){h.calcNiceExtent.call(this,it),this._fixMin=it.fixMin,this._fixMax=it.fixMax},dt.prototype.parse=function(it){return it},dt.prototype.contain=function(it){return it=r(it)/r(this.base),U.lP(it,this._extent)},dt.prototype.normalize=function(it){return it=r(it)/r(this.base),U.S8(it,this._extent)},dt.prototype.scale=function(it){return it=U.hs(it,this._extent),s(this.base,it)},dt.type="log",dt}(b.A),t=n.prototype;function a(vt,dt){return e(vt,y.XV(dt))}t.getMinorTicks=h.getMinorTicks,t.getLabel=h.getLabel,b.A.registerClass(n);const p=n;var O=l(3026),B=l(33907),z=function(){function vt(dt,it,lt){this._prepareParams(dt,it,lt)}return vt.prototype._prepareParams=function(dt,it,lt){lt[1]<lt[0]&&(lt=[NaN,NaN]),this._dataMin=lt[0],this._dataMax=lt[1];var bt=this._isOrdinal="ordinal"===dt.type;this._needCrossZero="interval"===dt.type&&it.getNeedCrossZero&&it.getNeedCrossZero();var Ut=it.get("min",!0);null==Ut&&(Ut=it.get("startValue",!0));var Ht=this._modelMinRaw=Ut;(0,x.isFunction)(Ht)?this._modelMinNum=N(dt,Ht({min:lt[0],max:lt[1]})):"dataMin"!==Ht&&(this._modelMinNum=N(dt,Ht));var fe=this._modelMaxRaw=it.get("max",!0);if((0,x.isFunction)(fe)?this._modelMaxNum=N(dt,fe({min:lt[0],max:lt[1]})):"dataMax"!==fe&&(this._modelMaxNum=N(dt,fe)),bt)this._axisDataLen=it.getCategories().length;else{var ue=it.get("boundaryGap"),ye=(0,x.isArray)(ue)?ue:[ue||0,ue||0];this._boundaryGapInner="boolean"==typeof ye[0]||"boolean"==typeof ye[1]?[0,0]:[(0,B.lo)(ye[0],1),(0,B.lo)(ye[1],1)]}},vt.prototype.calculate=function(){var dt=this._isOrdinal,it=this._dataMin,lt=this._dataMax,bt=this._axisDataLen,Ut=this._boundaryGapInner,Ht=dt?null:lt-it||Math.abs(it),fe="dataMin"===this._modelMinRaw?it:this._modelMinNum,ue="dataMax"===this._modelMaxRaw?lt:this._modelMaxNum,ye=null!=fe,Me=null!=ue;null==fe&&(fe=dt?bt?0:NaN:it-Ut[0]*Ht),null==ue&&(ue=dt?bt?bt-1:NaN:lt+Ut[1]*Ht),(null==fe||!isFinite(fe))&&(fe=NaN),(null==ue||!isFinite(ue))&&(ue=NaN);var _e=(0,x.eqNaN)(fe)||(0,x.eqNaN)(ue)||dt&&!bt;this._needCrossZero&&(fe>0&&ue>0&&!ye&&(fe=0),fe<0&&ue<0&&!Me&&(ue=0));var Se=this._determinedMin,J=this._determinedMax;return null!=Se&&(fe=Se,ye=!0),null!=J&&(ue=J,Me=!0),{min:fe,max:ue,minFixed:ye,maxFixed:Me,isBlank:_e}},vt.prototype.modifyDataMinMax=function(dt,it){this[C[dt]]=it},vt.prototype.setDeterminedMinMax=function(dt,it){this[H[dt]]=it},vt.prototype.freeze=function(){this.frozen=!0},vt}(),H={min:"_determinedMin",max:"_determinedMax"},C={min:"_dataMin",max:"_dataMax"};
1function N(vt,dt){return null==dt?null:(0,x.eqNaN)(dt)?NaN:vt.parse(dt)}function I(vt,dt){var it=vt.type,lt=function D(vt,dt,it){var lt=vt.rawExtentInfo;return lt||(lt=new z(vt,dt,it),vt.rawExtentInfo=lt,lt)}(vt,dt,vt.getExtent()).calculate();vt.setBlank(lt.isBlank);var bt=lt.min,Ut=lt.max,Ht=dt.ecModel;if(Ht&&"time"===it){var fe=(0,R.GL)("bar",Ht),ue=!1;if(x.each(fe,function(_e){ue=ue||_e.getBaseAxis()===dt.axis}),ue){var ye=(0,R.vq)(fe),Me=function V(vt,dt,it,lt){var bt=it.axis.getExtent(),Ut=Math.abs(bt[1]-bt[0]),Ht=(0,R.VA)(lt,it.axis);if(void 0===Ht)return{min:vt,max:dt};var fe=1/0;x.each(Ht,function(J){fe=Math.min(J.offset,fe)});var ue=-1/0;x.each(Ht,function(J){ue=Math.max(J.offset+J.width,ue)}),fe=Math.abs(fe),ue=Math.abs(ue);var ye=fe+ue,Me=dt-vt,Se=Me/(1-(fe+ue)/Ut)-Me;return{min:vt-=Se*(fe/ye),max:dt+=Se*(ue/ye)}}(bt,Ut,dt,ye);bt=Me.min,Ut=Me.max}}return{extent:[bt,Ut],fixMin:lt.minFixed,fixMax:lt.maxFixed}}function k(vt,dt){var it=dt,lt=I(vt,it),bt=lt.extent,Ut=it.get("splitNumber");vt instanceof p&&(vt.base=it.get("logBase"));var Ht=vt.type,fe=it.get("interval"),ue="interval"===Ht||"time"===Ht;vt.setExtent(bt[0],bt[1]),vt.calcNiceExtent({splitNumber:Ut,fixMin:lt.fixMin,fixMax:lt.fixMax,minInterval:ue?it.get("minInterval"):null,maxInterval:ue?it.get("maxInterval"):null}),null!=fe&&vt.setInterval&&vt.setInterval(fe)}function $(vt,dt){if(dt=dt||vt.get("type"))switch(dt){case"category":return new G({ordinalMeta:vt.getOrdinalMeta?vt.getOrdinalMeta():vt.getCategories(),extent:[1/0,-1/0]});case"time":return new _({locale:vt.ecModel.getLocaleModel(),useUTC:vt.ecModel.get("useUTC")});default:return new(b.A.getClass(dt)||w.A)}}function tt(vt){var dt=vt.scale.getExtent(),it=dt[0],lt=dt[1];return!(it>0&<>0||it<0&<<0)}function ot(vt){var dt=vt.getLabelModel().get("formatter"),it="category"===vt.type?vt.scale.getExtent()[0]:null;return"time"===vt.scale.type?function(lt){return function(bt,Ut){return vt.scale.getFormattedLabel(bt,Ut,lt)}}(dt):x.isString(dt)?function(lt){return function(bt){var Ut=vt.scale.getLabel(bt);return lt.replace("{value}",Ut??"")}}(dt):x.isFunction(dt)?function(lt){return function(bt,Ut){return null!=it&&(Ut=bt.value-it),lt(at(vt,bt),Ut,null!=bt.level?{level:bt.level}:null)}}(dt):function(lt){return vt.scale.getLabel(lt)}}function at(vt,dt){return"category"===vt.type?vt.scale.getLabel(dt):dt.value}function pt(vt){var it=vt.scale;if(vt.model.get(["axisLabel","show"])&&!it.isBlank()){var lt,bt,Ut=it.getExtent();bt=it instanceof G?it.count():(lt=it.getTicks()).length;var ue,Ht=vt.getLabelModel(),fe=ot(vt),ye=1;bt>40&&(ye=Math.ceil(bt/40));for(var Me=0;Me<bt;Me+=ye){var Se=fe(lt?lt[Me]:{value:Ut[0]+Me},Me),yt=Mt(Ht.getTextRect(Se),Ht.get("rotate")||0);ue?ue.union(yt):ue=yt}return ue}}function Mt(vt,dt){var it=dt*Math.PI/180,lt=vt.width,bt=vt.height,Ut=lt*Math.abs(Math.cos(it))+Math.abs(bt*Math.sin(it)),Ht=lt*Math.abs(Math.sin(it))+Math.abs(bt*Math.cos(it));return new L.A(vt.x,vt.y,Ut,Ht)}function At(vt){return vt.get("interval")??"auto"}function Kt(vt){return"category"===vt.type&&0===At(vt.getLabelModel())}function qt(vt,dt){var it={};return x.each(vt.mapDimensionsAll(dt),function(lt){it[(0,O.me)(vt,lt)]=!0}),x.keys(it)}},94448:(jt,ht,l)=>{l.d(ht,{L:()=>x});var x=function(){function Y(){}return Y.prototype.getNeedCrossZero=function(){return!this.option.scale},Y.prototype.getCoordSysModel=function(){},Y}()},51563:(jt,ht,l)=>{l.d(ht,{A:()=>F});var x=l(68453),Y={};const F=function(){function U(){this._coordinateSystems=[]}return U.prototype.create=function(W,G){var w=[];x.each(Y,function(R,L){var y=R.create(W,G);w=w.concat(y||[])}),this._coordinateSystems=w},U.prototype.update=function(W,G){x.each(this._coordinateSystems,function(w){w.update&&w.update(W,G)})},U.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},U.register=function(W,G){Y[W]=G},U.get=function(W){return Y[W]},U}()},56740:(jt,ht,l)=>{l.d(ht,{FQ:()=>sa,Ng:()=>da,p5:()=>Pa,El:()=>nn,zm:()=>pa,Zf:()=>zn,AS:()=>ga,Bo:()=>Ea,FP:()=>mn,aQ:()=>_a,ZB:()=>Da,Ts:()=>va,OH:()=>Or,pX:()=>Ma,Oh:()=>Sa,Ej:()=>Vn,E:()=>Pt.E,mz:()=>Aa,cf:()=>ma,tb:()=>ya,lP:()=>Kn,qg:()=>Gn,bf:()=>yn,iY:()=>Ca,xV:()=>Mn,AF:()=>Mr,vV:()=>Ta,rE:()=>rn});var x=l(20572),Y=l(58846),b=l(68453),F=l(24026),U=l(5331),W=l(84670),G=l(94804),w=l(85569),R=l(6301),L="";typeof navigator<"u"&&(L=navigator.platform||"");var y="rgba(0, 0, 0, 0.2)";const d={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:y,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:y,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:y,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:y,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:y,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4}
1,{color:y,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:L.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var m,g,f,A=l(64225),S=(0,b.createHashMap)(),P=l(14427),T="\0_ec_inner",e=function(j){function X(){return null!==j&&j.apply(this,arguments)||this}return(0,x.C6)(X,j),X.prototype.init=function(K,Z,Q,nt,ft,Nt){nt=nt||{},this.option=null,this._theme=new w.A(nt),this._locale=new w.A(ft),this._optionManager=Nt},X.prototype.setOption=function(K,Z,Q){var nt=n(Z);this._optionManager.setOption(K,Q,nt),this._resetOption(null,nt)},X.prototype.resetOption=function(K,Z){return this._resetOption(K,n(Z))},X.prototype._resetOption=function(K,Z){var Q=!1,nt=this._optionManager;if(!K||"recreate"===K){var ft=nt.mountOption("recreate"===K);this.option&&"recreate"!==K?(this.restoreData(),this._mergeOption(ft,Z)):f(this,ft),Q=!0}if(("timeline"===K||"media"===K)&&this.restoreData(),!K||"recreate"===K||"timeline"===K){var Nt=nt.getTimelineOption(this);Nt&&(Q=!0,this._mergeOption(Nt,Z))}if(!K||"recreate"===K||"media"===K){var xt=nt.getMediaOption(this);xt.length&&(0,b.each)(xt,function(Xt){Q=!0,this._mergeOption(Xt,Z)},this)}return Q},X.prototype.mergeOption=function(K){this._mergeOption(K,null)},X.prototype._mergeOption=function(K,Z){var Q=this.option,nt=this._componentsMap,ft=this._componentsCount,Nt=[],xt=(0,b.createHashMap)(),Xt=Z&&Z.replaceMergeMainTypeMap;(0,A.ps)(this),(0,b.each)(K,function(ut,Et){null!=ut&&(R.A.hasClass(Et)?Et&&(Nt.push(Et),xt.set(Et,!0)):Q[Et]=null==Q[Et]?(0,b.clone)(ut):(0,b.merge)(Q[Et],ut,!0))}),Xt&&Xt.each(function(ut,Et){R.A.hasClass(Et)&&!xt.get(Et)&&(Nt.push(Et),xt.set(Et,!0))}),R.A.topologicalTravel(Nt,R.A.getAllClassMainTypes(),function ne(ut){var Et=function E(j,X,K){var Z=S.get(X);if(!Z)return K;var Q=Z(j);return Q?K.concat(Q):K}(this,ut,G.qB(K[ut])),gt=nt.get(ut),Rt=gt?Xt&&Xt.get(ut)?"replaceMerge":"normalMerge":"replaceAll",Wt=G.O2(gt,Et,Rt);G.GX(Wt,ut,R.A),Q[ut]=null,nt.set(ut,null),ft.set(ut,0);var ce,Yt=[],ee=[],he=0;
1(0,b.each)(Wt,function(De,Te){var Le=De.existing,je=De.newOption;if(je){var rr=R.A.getClass(ut,De.keyInfo.subType,!("series"===ut));if(!rr)return;if("tooltip"===ut){if(ce)return;ce=!0}if(Le&&Le.constructor===rr)Le.name=De.keyInfo.name,Le.mergeOption(je,this),Le.optionUpdated(je,!1);else{var sr=(0,b.extend)({componentIndex:Te},De.keyInfo);Le=new rr(je,this,this,sr),(0,b.extend)(Le,sr),De.brandNew&&(Le.__requireNewView=!0),Le.init(je,this,this),Le.optionUpdated(null,!0)}}else Le&&(Le.mergeOption({},this),Le.optionUpdated({},!1));Le?(Yt.push(Le.option),ee.push(Le),he++):(Yt.push(void 0),ee.push(void 0))},this),Q[ut]=Yt,nt.set(ut,ee),ft.set(ut,he),"series"===ut&&m(this)},this),this._seriesIndices||m(this)},X.prototype.getOption=function(){var K=(0,b.clone)(this.option);return(0,b.each)(K,function(Z,Q){if(R.A.hasClass(Q)){for(var nt=G.qB(Z),ft=nt.length,Nt=!1,xt=ft-1;xt>=0;xt--)nt[xt]&&!G.oh(nt[xt])?Nt=!0:(nt[xt]=null,!Nt&&ft--);nt.length=ft,K[Q]=nt}}),delete K[T],K},X.prototype.getTheme=function(){return this._theme},X.prototype.getLocaleModel=function(){return this._locale},X.prototype.setUpdatePayload=function(K){this._payload=K},X.prototype.getUpdatePayload=function(){return this._payload},X.prototype.getComponent=function(K,Z){var Q=this._componentsMap.get(K);if(Q){var nt=Q[Z||0];if(nt)return nt;if(null==Z)for(var ft=0;ft<Q.length;ft++)if(Q[ft])return Q[ft]}},X.prototype.queryComponents=function(K){var Z=K.mainType;if(!Z)return[];var xt,Q=K.index,nt=K.id,ft=K.name,Nt=this._componentsMap.get(Z);return Nt&&Nt.length?(null!=Q?(xt=[],(0,b.each)(G.qB(Q),function(Xt){Nt[Xt]&&xt.push(Nt[Xt])})):xt=null!=nt?s("id",nt,Nt):null!=ft?s("name",ft,Nt):(0,b.filter)(Nt,function(Xt){return!!Xt}),r(xt,K)):[]},X.prototype.findComponents=function(K){var Q=K.mainType,nt=function Nt(Xt){var ne=Q+"Index",ut=Q+"Id",
1Et=Q+"Name";return!Xt||null==Xt[ne]&&null==Xt[ut]&&null==Xt[Et]?null:{mainType:Q,index:Xt[ne],id:Xt[ut],name:Xt[Et]}}(K.query);return function xt(Xt){return K.filter?(0,b.filter)(Xt,K.filter):Xt}(r(nt?this.queryComponents(nt):(0,b.filter)(this._componentsMap.get(Q),function(Xt){return!!Xt}),K))},X.prototype.eachComponent=function(K,Z,Q){var nt=this._componentsMap;if((0,b.isFunction)(K)){var ft=Z,Nt=K;nt.each(function(ut,Et){for(var gt=0;ut&><ut.length;gt++){var Rt=ut[gt];Rt&&Nt.call(ft,Et,Rt,Rt.componentIndex)}})}else for(var xt=(0,b.isString)(K)?nt.get(K):(0,b.isObject)(K)?this.findComponents(K):null,Xt=0;xt&&Xt<xt.length;Xt++){var ne=xt[Xt];ne&&Z.call(Q,ne,ne.componentIndex)}},X.prototype.getSeriesByName=function(K){var Z=G.vS(K,null);return(0,b.filter)(this._componentsMap.get("series"),function(Q){return!!Q&&null!=Z&&Q.name===Z})},X.prototype.getSeriesByIndex=function(K){return this._componentsMap.get("series")[K]},X.prototype.getSeriesByType=function(K){return(0,b.filter)(this._componentsMap.get("series"),function(Z){return!!Z&&Z.subType===K})},X.prototype.getSeries=function(){return(0,b.filter)(this._componentsMap.get("series"),function(K){return!!K})},X.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},X.prototype.eachSeries=function(K,Z){g(this),(0,b.each)(this._seriesIndices,function(Q){var nt=this._componentsMap.get("series")[Q];K.call(Z,nt,Q)},this)},X.prototype.eachRawSeries=function(K,Z){(0,b.each)(this._componentsMap.get("series"),function(Q){Q&&K.call(Z,Q,Q.componentIndex)})},X.prototype.eachSeriesByType=function(K,Z,Q){g(this),(0,b.each)(this._seriesIndices,function(nt){var ft=this._componentsMap.get("series")[nt];ft.subType===K&&Z.call(Q,ft,nt)},this)},X.prototype.eachRawSeriesByType=function(K,Z,Q){return(0,b.each)(this.getSeriesByType(K),Z,Q)},X.prototype.isSeriesFiltered=function(K){return g(this),null==this._seriesIndicesMap.get(K.componentIndex)},X.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},X.prototype.filterSeries=function(K,Z){g(this);var Q=[];(0,b.each)(this._seriesIndices,function(nt){var ft=this._componentsMap.get("series")[nt];K.call(Z,ft,nt)&&Q.push(nt)},this),this._seriesIndices=Q,this._seriesIndicesMap=(0,b.createHashMap)(Q)},X.prototype.restoreData=function(K){m(this);var Z=this._componentsMap,Q=[];Z.each(function(nt,ft){R.A.hasClass(ft)&&Q.push(ft)}),R.A.topologicalTravel(Q,R.A.getAllClassMainTypes(),function(nt){(0,b.each)(Z.get(nt),function(ft){ft&&("series"!==nt||!function o(j,X){if(X){var K=X.seriesIndex,Z=X.seriesId,Q=X.seriesName;return null!=K&&j.componentIndex!==K||null!=Z&&j.id!==Z||null!=Q&&j.name!==Q}}(ft,K))&&ft.restoreData()})})},X.internalField=(m=function(K){var Z=K._seriesIndices=[];(0,b.each)(K._componentsMap.get("series"),function(Q){Q&&Z.push(Q.componentIndex)}),K._seriesIndicesMap=(0,b.createHashMap)(Z)},g=function(K){},void(f=function(K,Z){K.option={},K.option[T]=1,K._componentsMap=(0,b.createHashMap)({series:[]}),K._componentsCount=(0,b.createHashMap)();var Q=Z.aria;(0,b.isObject)(Q)&&null==Q.enabled&&(Q.enabled=!0),function u(j,X){var K=j.color&&!j.colorLayer;(0,b.each)(X,function(Z,Q){"colorLayer"===Q&&K||R.A.hasClass(Q)||("object"==typeof Z?j[Q]=j[Q]?(0,b.merge)(j[Q],Z,!1):(0,b.clone)(Z):null==j[Q]&&(j[Q]=Z))})}(Z,K._theme.option),(0,b.merge)(Z,d,!1),K._mergeOption(Z,null)})),X}(w.A);function s(j,X,K){if((0,b.isArray)(X)){var Z=(0,b.createHashMap)();return(0,b.each)(X,function(nt){null!=nt&&null!=G.vS(nt,null)&&Z.set(nt,!0)}),(0,b.filter)(K,function(nt){return nt&&Z.get(nt[j])})}var Q=G.vS(X,null);return(0,b.filter)(K,function(nt){return nt&&null!=Q&&nt[j]===Q})}function r(j,X){return X.hasOwnProperty("subType")?(0,b.filter)(j,function(K){return K&&K.subType===X.subType}):j}function n(j){var X=(0,b.createHashMap)();return j&&(0,b.each)(G.qB(j.replaceMerge),function(K){X.set(K,!0)}),{replaceMergeMainTypeMap:X}}(0,b.mixin)(e,P.X);const t=e;var a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const O=function(){return function j(X){b.each(a,function(K){this[K]=b.bind(X[K],X)},this)}}();var B=l(51563),z=/^(min|max)?(.+)$/;function D(j,X,K){var Z={width:X,height:K,aspectratio:X/K},Q=!0;return(0,b.each)(j,function(nt,ft){var Nt=ft.match(z);if(Nt&&Nt[1]&&Nt[2]){var xt=Nt[1],Xt=Nt[2].toLowerCase();(function N(j,X,K){return"min"===K?j>=X:"max"===K?j<=X:j===X})(Z[Xt],nt,xt)||(Q=!1)}}),Q}const V=function(){function j(X){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=X}return j.prototype.setOption=function(X,K,Z){X&&((0,b.each)((0,G.qB)(X.series),function(ft){ft&&ft.data&&(0,b.isTypedArray)(ft.data)&&(0,b.setAsPrimitive)(ft.data)}),(0,b.each)((0,G.qB)(X.dataset),function(ft){ft&&ft.source&&(0,b.isTypedArray)(ft.source)&&(0,b.setAsPrimitive)(ft.source)})),X=(0,b.clone)(X);var Q=this._optionBackup,nt=function C(j,X,K){var Q,nt,Z=[],ft=j.baseOption,Nt=j.timeline,xt=j.options,Xt=j.media,ne=!!j.media,ut=!!(xt||Nt||ft&&ft.timeline);function Et(gt){(0,b.each)(X,function(Rt){Rt(gt,K)})}return ft?(nt=ft).timeline||(nt.timeline=Nt):((ut||ne)&&(j.options=j.media=null),nt=j),ne&&(0,b.isArray)(Xt)&&(0,b.each)(Xt,function(gt){gt&>.option&&(gt.query?Z.push(gt):Q||(Q=gt))}),Et(nt),(0,b.each)(xt,function(gt){return Et(gt)}),(0,b.each)(Z,function(gt){return Et(gt.option)}),{baseOption:nt,timelineOptions:xt||[],mediaDefault:Q,mediaList:Z}}(X,K,!Q);this._newBaseOption=nt.baseOption,Q?(nt.timelineOptions.length&&(Q.timelineOptions=nt.timelineOptions),nt.mediaList.length&&(Q.mediaList=nt.mediaList),nt.mediaDefault&&(Q.mediaDefault=nt.mediaDefault)):this._optionBackup=nt},j.prototype.mountOption=function(X){var K=this._optionBackup;return this._timelineOptions=K.timelineOptions,this._mediaList=K.mediaList,this._mediaDefault=K.mediaDefault,this._currentMediaIndices=[],(0,b.clone)(X?K.baseOption:this._newBaseOption)},j.prototype.getTimelineOption=function(X){var K,Z=this._timelineOptions;if(Z.length){var Q=X.getComponent("timeline");
1Q&&(K=(0,b.clone)(Z[Q.getCurrentIndex()]))}return K},j.prototype.getMediaOption=function(X){var K=this._api.getWidth(),Z=this._api.getHeight(),Q=this._mediaList,nt=this._mediaDefault,ft=[],Nt=[];if(!Q.length&&!nt)return Nt;for(var xt=0,Xt=Q.length;xt<Xt;xt++)D(Q[xt].query,K,Z)&&ft.push(xt);return!ft.length&&nt&&(ft=[-1]),ft.length&&!function I(j,X){return j.join(",")===X.join(",")}(ft,this._currentMediaIndices)&&(Nt=(0,b.map)(ft,function(ne){return(0,b.clone)(-1===ne?nt.option:Q[ne].option)})),this._currentMediaIndices=ft,Nt},j}();var k=b.each,$=b.isObject,tt=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ot(j){var X=j&&j.itemStyle;if(X)for(var K=0,Z=tt.length;K<Z;K++){var Q=tt[K],nt=X.normal,ft=X.emphasis;nt&&nt[Q]&&(j[Q]=j[Q]||{},j[Q].normal?b.merge(j[Q].normal,nt[Q]):j[Q].normal=nt[Q],nt[Q]=null),ft&&ft[Q]&&(j[Q]=j[Q]||{},j[Q].emphasis?b.merge(j[Q].emphasis,ft[Q]):j[Q].emphasis=ft[Q],ft[Q]=null)}}function at(j,X,K){if(j&&j[X]&&(j[X].normal||j[X].emphasis)){var Z=j[X].normal,Q=j[X].emphasis;Z&&(K?(j[X].normal=j[X].emphasis=null,b.defaults(j[X],Z)):j[X]=Z),Q&&(j.emphasis=j.emphasis||{},j.emphasis[X]=Q,Q.focus&&(j.emphasis.focus=Q.focus),Q.blurScope&&(j.emphasis.blurScope=Q.blurScope))}}function pt(j){at(j,"itemStyle"),at(j,"lineStyle"),at(j,"areaStyle"),at(j,"label"),at(j,"labelLine"),at(j,"upperLabel"),at(j,"edgeLabel")}function Mt(j,X){var K=$(j)&&j[X],Z=$(K)&&K.textStyle;if(Z)for(var Q=0,nt=G.JS.length;Q<nt;Q++){var ft=G.JS[Q];Z.hasOwnProperty(ft)&&(K[ft]=Z[ft])}}function At(j){j&&(pt(j),Mt(j,"label"),j.emphasis&&Mt(j.emphasis,"label"))}function qt(j){return b.isArray(j)?j:j?[j]:[]}function le(j){return(b.isArray(j)?j[0]:j)||{}}function lt(j){j&&(0,b.each)(bt,function(X){X[0]in j&&!(X[1]in j)&&(j[X[1]]=j[X[0]])})}var bt=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Ut=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Ht=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function fe(j){var X=j&&j.itemStyle;if(X)for(var K=0;K<Ht.length;K++){var Z=Ht[K][1];null!=X[Z]&&(X[Ht[K][0]]=X[Z])}}function ue(j){j&&"edge"===j.alignTo&&null!=j.margin&&null==j.edgeDistance&&(j.edgeDistance=j.margin)}function ye(j){j&&j.downplay&&!j.blur&&(j.blur=j.downplay)}function _e(j,X){if(j)for(var K=0;K<j.length;K++)X(j[K]),j[K]&&_e(j[K].children,X)}function Se(j,X){(function vt(j,X){k(qt(j.series),function(Z){$(Z)&&function Kt(j){if($(j)){ot(j),pt(j),Mt(j,"label"),Mt(j,"upperLabel"),Mt(j,"edgeLabel"),j.emphasis&&(Mt(j.emphasis,"label"),Mt(j.emphasis,"upperLabel"),Mt(j.emphasis,"edgeLabel"));var X=j.markPoint;X&&(ot(X),At(X));var K=j.markLine;K&&(ot(K),At(K));var Z=j.markArea;Z&&At(Z);var Q=j.data;if("graph"===j.type){Q=Q||j.nodes;var nt=j.links||j.edges;if(nt&&!b.isTypedArray(nt))for(var ft=0;ft<nt.length;ft++)At(nt[ft]);b.each(j.categories,function(Xt){pt(Xt)})}if(Q&&!b.isTypedArray(Q))for(ft=0;ft<Q.length;ft++)At(Q[ft]);if((X=j.markPoint)&&X.data){var Nt=X.data;for(ft=0;ft<Nt.length;ft++)At(Nt[ft])}if((K=j.markLine)&&K.data){var xt=K.data;for(ft=0;ft<xt.length;ft++)b.isArray(xt[ft])?(At(xt[ft][0]),At(xt[ft][1])):At(xt[ft])}"gauge"===j.type?(Mt(j,"axisLabel"),Mt(j,"title"),Mt(j,"detail")):"treemap"===j.type?(at(j.breadcrumb,"itemStyle"),b.each(j.levels,function(Xt){pt(Xt)})):"tree"===j.type&&pt(j.leaves)}}(Z)});var K=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];X&&K.push("valueAxis","categoryAxis","logAxis","timeAxis"),k(K,function(Z){k(qt(j[Z]),function(Q){Q&&(Mt(Q,"axisLabel"),Mt(Q.axisPointer,"label"))})}),k(qt(j.parallel),function(Z){var Q=Z&&Z.parallelAxisDefault;Mt(Q,"axisLabel"),Mt(Q&&Q.axisPointer,"label")}),k(qt(j.calendar),function(Z){at(Z,"itemStyle"),Mt(Z,"dayLabel"),Mt(Z,"monthLabel"),Mt(Z,"yearLabel")}),k(qt(j.radar),function(Z){Mt(Z,"name"),Z.name&&null==Z.axisName&&(Z.axisName=Z.name,delete Z.name),null!=Z.nameGap&&null==Z.axisNameGap&&(Z.axisNameGap=Z.nameGap,delete Z.nameGap)}),k(qt(j.geo),function(Z){$(Z)&&(At(Z),k(qt(Z.regions),function(Q){At(Q)}))}),k(qt(j.timeline),function(Z){At(Z),at(Z,"label"),at(Z,"itemStyle"),at(Z,"controlStyle",!0);var Q=Z.data;b.isArray(Q)&&b.each(Q,function(nt){b.isObject(nt)&&(at(nt,"label"),at(nt,"itemStyle"))})}),k(qt(j.toolbox),function(Z){at(Z,"iconStyle"),k(Z.feature,function(Q){at(Q,"iconStyle")}
1)}),Mt(le(j.axisPointer),"label"),Mt(le(j.tooltip).axisPointer,"label")})(j,X),j.series=(0,G.qB)(j.series),(0,b.each)(j.series,function(K){if((0,b.isObject)(K)){var Z=K.type;if("line"===Z)null!=K.clipOverflow&&(K.clip=K.clipOverflow);else if("pie"===Z||"gauge"===Z){if(null!=K.clockWise&&(K.clockwise=K.clockWise),ue(K.label),(Q=K.data)&&!(0,b.isTypedArray)(Q))for(var nt=0;nt<Q.length;nt++)ue(Q[nt]);null!=K.hoverOffset&&(K.emphasis=K.emphasis||{},(K.emphasis.scaleSize=null)&&(K.emphasis.scaleSize=K.hoverOffset))}else if("gauge"===Z){var ft=function dt(j,X){for(var K=X.split(","),Z=j,Q=0;Q<K.length&&null!=(Z=Z&&Z[K[Q]]);Q++);return Z}(K,"pointer.color");null!=ft&&function it(j,X,K,Z){for(var ft,Q=X.split(","),nt=j,Nt=0;Nt<Q.length-1;Nt++)null==nt[ft=Q[Nt]]&&(nt[ft]={}),nt=nt[ft];(Z||null==nt[Q[Nt]])&&(nt[Q[Nt]]=K)}(K,"itemStyle.color",ft)}else if("bar"===Z){var Q;if(fe(K),fe(K.backgroundStyle),fe(K.emphasis),(Q=K.data)&&!(0,b.isTypedArray)(Q))for(nt=0;nt<Q.length;nt++)"object"==typeof Q[nt]&&(fe(Q[nt]),fe(Q[nt]&&Q[nt].emphasis))}else if("sunburst"===Z){var Nt=K.highlightPolicy;Nt&&(K.emphasis=K.emphasis||{},K.emphasis.focus||(K.emphasis.focus=Nt)),ye(K),_e(K.data,ye)}else"graph"===Z||"sankey"===Z?function Me(j){j&&null!=j.focusNodeAdjacency&&(j.emphasis=j.emphasis||{},null==j.emphasis.focus&&(j.emphasis.focus="adjacency"))}(K):"map"===Z&&(K.mapType&&!K.map&&(K.map=K.mapType),K.mapLocation&&(0,b.defaults)(K,K.mapLocation));null!=K.hoverAnimation&&(K.emphasis=K.emphasis||{},K.emphasis&&null==K.emphasis.scale&&(K.emphasis.scale=K.hoverAnimation)),lt(K)}}),j.dataRange&&(j.visualMap=j.dataRange),(0,b.each)(Ut,function(K){var Z=j[K];Z&&((0,b.isArray)(Z)||(Z=[Z]),(0,b.each)(Z,function(Q){lt(Q)}))})}var J=l(8404);function kt(j){(0,b.each)(j,function(X,K){var Z=[],Q=[NaN,NaN],nt=[X.stackResultDimension,X.stackedOverDimension],ft=X.data,Nt=X.isStackedByIndex,xt=X.seriesModel.get("stackStrategy")||"samesign";ft.modify(nt,function(Xt,ne,ut){var gt,Rt,Et=ft.get(X.stackedDimension,ut);if(isNaN(Et))return Q;Nt?Rt=ft.getRawIndex(ut):gt=ft.get(X.stackedByDimension,ut);for(var Wt=NaN,Yt=K-1;Yt>=0;Yt--){var ee=j[Yt];if(Nt||(Rt=ee.data.rawIndexOf(ee.stackedByDimension,gt)),Rt>=0){var he=ee.data.getByRawIndex(ee.stackResultDimension,Rt);if("all"===xt||"positive"===xt&&he>0||"negative"===xt&&he<0||"samesign"===xt&&Et>=0&&he>0||"samesign"===xt&&Et<=0&&he<0){Et=(0,J.Tr)(Et,he),Wt=he;break}}}return Z[0]=Et,Z[1]=Wt,Z})})}var Qt=l(80264),ct=l(70407),Lt=l(92088),Gt=l(16609),$t=l(17799),q=l(16108),rt=l(57918),et=l(55152),st=l(24691),zt=l(17369),Bt=l(81442),re=l(44460),ae=l(62259),Ae=(0,G.$r)(),Dt={itemStyle:(0,Bt.A)(re.L,!0),lineStyle:(0,Bt.A)(ae.m,!0)},mt={lineStyle:"stroke",itemStyle:"fill"};function St(j,X){return j.visualStyleMapper||Dt[X]||(console.warn("Unknown style type '"+X+"'."),Dt.itemStyle)}function It(j,X){return j.visualDrawType||mt[X]||(console.warn("Unknown style type '"+X+"'."),"fill")}var Jt={createOnAllSeries:!0,performRawSeries:!0,reset:function(j,X){var K=j.getData(),Z=j.visualStyleAccessPath||"itemStyle",Q=j.getModel(Z),ft=St(j,Z)(Q),Nt=Q.getShallow("decal");Nt&&(K.setVisual("decal",Nt),Nt.dirty=!0);var xt=It(j,Z),Xt=ft[xt],ne=(0,b.isFunction)(Xt)?Xt:null;if(!ft[xt]||ne||"auto"===ft.fill||"auto"===ft.stroke){var Et=j.getColorFromPalette(j.name,null,X.getSeriesCount());ft[xt]||(ft[xt]=Et,K.setVisual("colorFromPalette",!0)),ft.fill="auto"===ft.fill||(0,b.isFunction)(ft.fill)?Et:ft.fill,ft.stroke="auto"===ft.stroke||(0,b.isFunction)(ft.stroke)?Et:ft.stroke}if(K.setVisual("style",ft),K.setVisual("drawType",xt),!X.isSeriesFiltered(j)&&ne)return K.setVisual("colorFromPalette",!1),{dataEach:function(gt,Rt){var Wt=j.getDataParams(Rt),Yt=(0,b.extend)({},ft);Yt[xt]=ne(Wt),gt.setItemVisual(Rt,"style",Yt)}}}},pe=new w.A,oe={createOnAllSeries:!0,performRawSeries:!0,reset:function(j,X){if(!j.ignoreStyleOnData&&!X.isSeriesFiltered(j)){var K=j.getData(),Z=j.visualStyleAccessPath||"itemStyle",Q=St(j,Z),nt=K.getVisual("drawType");return{dataEach:K.hasItemOption?function(ft,Nt){var xt=ft.getRawDataItem(Nt);if(xt&&xt[Z]){pe.option=xt[Z];var Xt=Q(pe),ne=ft.ensureUniqueItemVisual(Nt,"style");(0,b.extend)(ne,Xt),pe.option.decal&&(ft.setItemVisual(Nt,"decal",pe.option.decal),pe.option.decal.dirty=!0),nt in Xt&&ft.setItemVisual(Nt,"colorFromPalette",!1)}}:null}}}},te={performRawSeries:!0,overallReset:function(j){var X=(0,b.createHashMap)();j.eachSeries(function(K){var Z=K.getColorBy();if(!K.isColorBySeries()){var Q=K.type+"-"+Z,nt=X.get(Q);nt||X.set(Q,nt={}),Ae(K).scope=nt}}
1),j.eachSeries(function(K){if(!K.isColorBySeries()&&!j.isSeriesFiltered(K)){var Z=K.getRawData(),Q={},nt=K.getData(),ft=Ae(K).scope,xt=It(K,K.visualStyleAccessPath||"itemStyle");nt.each(function(Xt){var ne=nt.getRawIndex(Xt);Q[ne]=Xt}),Z.each(function(Xt){var ne=Q[Xt];if(nt.getItemVisual(ne,"colorFromPalette")){var Et=nt.ensureUniqueItemVisual(ne,"style"),gt=Z.getName(Xt)||Xt+"",Rt=Z.count();Et[xt]=K.getColorFromPalette(gt,ft,Rt)}})}})}},Re=l(67469),xe=l(81523),Ke=l(72492),Be=Math.PI,ie=l(44653),nr=l(59938),tr=function(){function j(X,K,Z,Q){this._stageTaskMap=(0,b.createHashMap)(),this.ecInstance=X,this.api=K,Z=this._dataProcessorHandlers=Z.slice(),Q=this._visualHandlers=Q.slice(),this._allHandlers=Z.concat(Q)}return j.prototype.restoreData=function(X,K){X.restoreData(K),this._stageTaskMap.each(function(Z){var Q=Z.overallTask;Q&&Q.dirty()})},j.prototype.getPerformArgs=function(X,K){if(X.__pipeline){var Z=this._pipelineMap.get(X.__pipeline.id),Q=Z.context,ft=!K&&Z.progressiveEnabled&&(!Q||Q.progressiveRender)&&X.__idxInPipeline>Z.blockIndex?Z.step:null,Nt=Q&&Q.modDataCount;return{step:ft,modBy:null!=Nt?Math.ceil(Nt/ft):null,modDataCount:Nt}}},j.prototype.getPipeline=function(X){return this._pipelineMap.get(X)},j.prototype.updateStreamModes=function(X,K){var Z=this._pipelineMap.get(X.uid),nt=X.getData().count(),ft=Z.progressiveEnabled&&K.incrementalPrepareRender&&nt>=Z.threshold,Nt=X.get("large")&&nt>=X.get("largeThreshold"),xt="mod"===X.get("progressiveChunkMode")?nt:null;X.pipelineContext=Z.context={progressiveRender:ft,modDataCount:xt,large:Nt}},j.prototype.restorePipelines=function(X){var K=this,Z=K._pipelineMap=(0,b.createHashMap)();X.eachSeries(function(Q){var nt=Q.getProgressive(),ft=Q.uid;Z.set(ft,{id:ft,head:null,tail:null,threshold:Q.getProgressiveThreshold(),progressiveEnabled:nt&&!(Q.preventIncremental&&Q.preventIncremental()),blockIndex:-1,step:Math.round(nt||700),count:0}),K._pipe(Q,Q.dataTask)})},j.prototype.prepareStageTasks=function(){var X=this._stageTaskMap,K=this.api.getModel(),Z=this.api;(0,b.each)(this._allHandlers,function(Q){var nt=X.get(Q.uid)||X.set(Q.uid,{});(0,b.assert)(!(Q.reset&&Q.overallReset),""),Q.reset&&this._createSeriesStageTask(Q,nt,K,Z),Q.overallReset&&this._createOverallStageTask(Q,nt,K,Z)},this)},j.prototype.prepareView=function(X,K,Z,Q){var nt=X.renderTask,ft=nt.context;ft.model=K,ft.ecModel=Z,ft.api=Q,nt.__block=!X.incrementalPrepareRender,this._pipe(K,nt)},j.prototype.performDataProcessorTasks=function(X,K){this._performStageTasks(this._dataProcessorHandlers,X,K,{block:!0})},j.prototype.performVisualTasks=function(X,K,Z){this._performStageTasks(this._visualHandlers,X,K,Z)},j.prototype._performStageTasks=function(X,K,Z,Q){Q=Q||{};var nt=!1,ft=this;function Nt(xt,Xt){return xt.setDirty&&(!xt.dirtyMap||xt.dirtyMap.get(Xt.__pipeline.id))}(0,b.each)(X,function(xt,Xt){if(!Q.visualType||Q.visualType===xt.visualType){var ne=ft._stageTaskMap.get(xt.uid),ut=ne.seriesTaskMap,Et=ne.overallTask;if(Et){var gt,Rt=Et.agentStubMap;Rt.each(function(Yt){Nt(Q,Yt)&&(Yt.dirty(),gt=!0)}),gt&&Et.dirty(),ft.updatePayload(Et,Z);var Wt=ft.getPerformArgs(Et,Q.block);Rt.each(function(Yt){Yt.perform(Wt)}),Et.perform(Wt)&&(nt=!0)}else ut&&ut.each(function(Yt,ee){Nt(Q,Yt)&&Yt.dirty();var he=ft.getPerformArgs(Yt,Q.block);he.skip=!xt.performRawSeries&&K.isSeriesFiltered(Yt.context.model),ft.updatePayload(Yt,Z),Yt.perform(he)&&(nt=!0)})}}),this.unfinished=nt||this.unfinished},j.prototype.performSeriesTasks=function(X){var K;X.eachSeries(function(Z){K=Z.dataTask.perform()||K}),this.unfinished=K||this.unfinished},j.prototype.plan=function(){this._pipelineMap.each(function(X){var K=X.tail;do{if(K.__block){X.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})},j.prototype.updatePayload=function(X,K){"remain"!==K&&(X.context.payload=K)},j.prototype._createSeriesStageTask=function(X,K,Z,Q){var nt=this,ft=K.seriesTaskMap,Nt=K.seriesTaskMap=(0,b.createHashMap)(),xt=X.seriesType,Xt=X.getTargetSeries;function ne(ut){var Et=ut.uid,gt=Nt.set(Et,ft&&ft.get(Et)||(0,ie.U)({plan:ir,reset:Ye,count:be}));gt.context={model:ut,ecModel:Z,api:Q,useClearVisual:X.isVisual&&!X.isLayout,plan:X.plan,reset:X.reset,scheduler:nt},nt._pipe(ut,gt)}X.createOnAllSeries?Z.eachRawSeries(ne):xt?Z.eachRawSeriesByType(xt,ne):Xt&&Xt(Z,Q).each(ne)},j.prototype._createOverallStageTask=function(X,K,Z,Q){var nt=this,ft=K.overallTask=K.overallTask||(0,ie.U)({reset:ve});ft.context={ecModel:Z,api:Q,overallReset:X.overallReset,scheduler:nt};var Nt=ft.agentStubMap,xt=ft.agentStubMap=(0,b.createHashMap)(),Xt=X.seriesType,ne=X.getTargetSeries,ut=!0,Et=!1;function Rt(Wt){var Yt=Wt.uid,ee=xt.set(Yt,Nt&&Nt.get(Yt)||(Et=!0,(0,ie.U)({reset:Ne,onDirty:Ge})));ee.context={model:Wt,overallProgress:ut},ee.agent=ft,ee.__block=ut,nt._pipe(Wt,ee)}(0,b.assert)(!X.createOnAllSeries,""),Xt?Z.eachRawSeriesByType(Xt,Rt):ne?ne(Z,Q).each(Rt):(ut=!1,(0,b.each)(Z.getSeries(),Rt)),Et&&ft.dirty()},j.prototype._pipe=function(X,K){var Q=this._pipelineMap.get(X.uid);!Q.head&&(Q.head=K),Q.tail&&Q.tail.pipe(K),Q.tail=K,K.__idxInPipeline=Q.count++,K.__pipeline=Q},j.wrapStageHandler=function(X,K){return(0,b.isFunction)(X)&&(X={overallReset:X,seriesType:We(X)}),X.uid=(0,nr.$Q)("stageHandler"),K&&(X.visualType=K),X},j}();function ve(j){j.overallReset(j.ecModel,j.api,j.payload)}function Ne(j){return j.overallProgress&&Ve}function Ve(){this.agent.dirty(),this.getDownstream().dirty()}function Ge(){this.agent&&this.agent.dirty()}function ir(j){return j.plan?j.plan(j.model,j.ecModel,j.api,j.payload):null}function Ye(j){j.useClearVisual&&j.data.clearAllVisual();var X=j.resetDefines=(0,G.qB)(j.reset(j.model,j.ecModel,j.api,j.payload));return X.length>1?(0,b.map)(X,function(K,Z){return Pe(Z)}):ke}var ke=Pe(0);function Pe(j){return function(X,K){var Z=K.data,Q=K.resetDefines[j];if(Q&&Q.dataEach)for(var nt=X.start;nt<X.end;nt++)Q.dataEach(Z,nt);else Q&&Q.progress&&Q.progress(X,Z)}}function be(j){return j.data.count()}function We(j){dr=null;try{j(we,Ze)}catch{}return dr}var dr,we={},Ze={};function $e(j,X){for(var K in X.prototype)j[K]=b.noop}$e(we,t),$e(Ze,O),we.eachSeriesByType=we.eachRawSeriesByType=function(j){dr=j},we.eachComponent=function(j){"series"===j.mainType&&j.subType&&(dr=j.subType)};const Br=tr;var Qr=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const br={color:Qr,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Qr]};
1var Qe="#B9B8CE",Fr="#100C2A",Tr=function(){return{axisLine:{lineStyle:{color:Qe}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},_r=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Ur={darkMode:!0,color:_r,backgroundColor:Fr,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Qe},pageTextStyle:{color:Qe}},textStyle:{color:Qe},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Qe}},dataZoom:{borderColor:"#71708A",textStyle:{color:Qe},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Qe}},timeline:{lineStyle:{color:Qe},label:{color:Qe},controlStyle:{color:Qe,borderColor:Qe}},calendar:{itemStyle:{color:Fr},dayLabel:{color:Qe},monthLabel:{color:Qe},yearLabel:{color:Qe}},timeAxis:Tr(),logAxis:Tr(),valueAxis:Tr(),categoryAxis:Tr(),line:{symbol:"circle"},graph:{color:_r},gauge:{title:{color:Qe},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Qe},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Ur.categoryAxis.splitLine.show=!1;const Jr=Ur;var Ar=l(13991),Je=function(){function j(){}return j.prototype.normalizeQuery=function(X){var K={},Z={},Q={};if(b.isString(X)){var nt=(0,Ar.CC)(X);K.mainType=nt.main||null,K.subType=nt.sub||null}else{var ft=["Index","Name","Id"],Nt={name:1,dataIndex:1,dataType:1};b.each(X,function(xt,Xt){for(var ne=!1,ut=0;ut<ft.length;ut++){var Et=ft[ut],gt=Xt.lastIndexOf(Et);if(gt>0&>===Xt.length-Et.length){var Rt=Xt.slice(0,gt);"data"!==Rt&&(K.mainType=Rt,K[Et.toLowerCase()]=xt,ne=!0)}}Nt.hasOwnProperty(Xt)&&(Z[Xt]=xt,ne=!0),ne||(Q[Xt]=xt)})}return{cptQuery:K,dataQuery:Z,otherQuery:Q}},j.prototype.filter=function(X,K){var Z=this.eventInfo;if(!Z)return!0;var Q=Z.targetEl,nt=Z.packedEvent,ft=Z.model,Nt=Z.view;if(!ft||!Nt)return!0;var xt=K.cptQuery,Xt=K.dataQuery;return ne(xt,ft,"mainType")&&ne(xt,ft,"subType")&&ne(xt,ft,"index","componentIndex")&&ne(xt,ft,"name")&&ne(xt,ft,"id")&&ne(Xt,nt,"name")&&ne(Xt,nt,"dataIndex")&&ne(Xt,nt,"dataType")&&(!Nt.filterForExposedEvent||Nt.filterForExposedEvent(X,K.otherQuery,Q,nt));function ne(ut,Et,gt,Rt){return null==ut[gt]||Et[Rt||gt]===ut[gt]}},j.prototype.afterTrigger=function(){this.eventInfo=null},j}(),mr=["symbol","symbolSize","symbolRotate","symbolOffset"],Nr=mr.concat(["symbolKeepAspect"]),Dr={createOnAllSeries:!0,performRawSeries:!0,reset:function(j,X){var K=j.getData();if(j.legendIcon&&K.setVisual("legendIcon",j.legendIcon),j.hasSymbolVisual){for(var Z={},Q={},nt=!1,ft=0;ft<mr.length;ft++){var Nt=mr[ft],xt=j.get(Nt);(0,b.isFunction)(xt)?(nt=!0,Q[Nt]=xt):Z[Nt]=xt}if(Z.symbol=Z.symbol||j.defaultSymbol,K.setVisual((0,b.extend)({legendIcon:j.legendIcon||Z.symbol,symbolKeepAspect:j.get("symbolKeepAspect")},Z)),!X.isSeriesFiltered(j)){var Xt=(0,b.keys)(Q);return{dataEach:nt?function ne(ut,Et){for(var gt=j.getRawValue(Et),Rt=j.getDataParams(Et),Wt=0;Wt<Xt.length;Wt++){var Yt=Xt[Wt];ut.setItemVisual(Et,Yt,Q[Yt](gt,Rt))}}:null}}}}},Cr={createOnAllSeries:!0,performRawSeries:!0,reset:function(j,X){if(j.hasSymbolVisual&&!X.isSeriesFiltered(j))return{dataEach:j.getData().hasItemOption?function Z(Q,nt){for(var ft=Q.getItemModel(nt),Nt=0;Nt<Nr.length;Nt++){var xt=Nr[Nt],Xt=ft.getShallow(xt,!0);null!=Xt&&Q.setItemVisual(nt,xt,Xt)}}:null}}},zr=l(96831);function pr(j,X,K,Z,Q){var nt=j+X;K.isSilent(nt)||Z.eachComponent({mainType:"series",subType:"pie"},function(ft){for(var Nt=ft.seriesIndex,xt=ft.option.selectedMap,Xt=Q.selected,ne=0;ne<Xt.length;ne++)if(Xt[ne].seriesIndex===Nt){var ut=ft.getData(),Et=(0,G.le)(ut,Q.fromActionPayload);K.trigger(nt,{type:nt,seriesId:ft.id,name:(0,b.isArray)(Et)?ut.getName(Et[0]):ut.getName(Et),selected:(0,b.isString)(xt)?xt:(0,b.extend)({},xt)})}})}var Tt=l(77698),Pt=l(479),Ot=l(24929),_t=Math.round(9*Math.random()),Ct="function"==typeof Object.defineProperty;const Ft=function(){function j(){this._id="__ec_inner_"+_t++}return j.prototype.get=function(X){return this._guard(X)[this._id]},j.prototype.set=function(X,K){var Z=this._guard(X);return Ct?Object.defineProperty(Z,this._id,{value:K,enumerable:!1,
1configurable:!0}):Z[this._id]=K,this},j.prototype.delete=function(X){return!!this.has(X)&&(delete this._guard(X)[this._id],!0)},j.prototype.has=function(X){return!!this._guard(X)[this._id]},j.prototype._guard=function(X){if(X!==Object(X))throw TypeError("Value of WeakMap is not a non-null object.");return X},j}();var Vt=l(19896),se=l(94517),de=l(66994),Zt=l(3094),Ce=new Ft,Oe=new Vt.Ay(100),ge=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Fe(j,X){if("none"===j)return null;var K=X.getDevicePixelRatio(),Z=X.getZr(),Q="svg"===Z.painter.type;j.dirty&&Ce.delete(j);var nt=Ce.get(j);if(nt)return nt;var ft=(0,b.defaults)(j,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===ft.backgroundColor&&(ft.backgroundColor=null);var Nt={repeat:"repeat"};return function xt(Xt){for(var ne=[K],ut=!0,Et=0;Et<ge.length;++Et){var gt=ft[ge[Et]];if(null!=gt&&!(0,b.isArray)(gt)&&!(0,b.isString)(gt)&&!(0,b.isNumber)(gt)&&"boolean"!=typeof gt){ut=!1;break}ne.push(gt)}var Rt;if(ut){Rt=ne.join(",")+(Q?"-svg":"");var Wt=Oe.get(Rt);Wt&&(Q?Xt.svgElement=Wt:Xt.image=Wt)}var je,Yt=ze(ft.dashArrayX),ee=function lr(j){if(!j||"object"==typeof j&&0===j.length)return[0,0];if((0,b.isNumber)(j)){var X=Math.ceil(j);return[X,X]}var K=(0,b.map)(j,function(Z){return Math.ceil(Z)});return j.length%2?K.concat(K):K}(ft.dashArrayY),he=Ie(ft.symbol),ce=function cr(j){return(0,b.map)(j,function(X){return ur(X)})}(Yt),Ee=ur(ee),De=!Q&&Zt.yh.createCanvas(),Te=Q&&{tag:"g",attrs:{},key:"dcl",children:[]},Le=function Ue(){for(var qe=1,Xe=0,sr=ce.length;Xe<sr;++Xe)qe=(0,J.lQ)(qe,ce[Xe]);var He=1;for(Xe=0,sr=he.length;Xe<sr;++Xe)He=(0,J.lQ)(He,he[Xe].length);qe*=He;var Er=Ee*ce.length*he.length;return{width:Math.max(1,Math.min(qe,ft.maxTileWidth)),height:Math.max(1,Math.min(Er,ft.maxTileHeight))}}();De&&(De.width=Le.width*K,De.height=Le.height*K,je=De.getContext("2d")),function rr(){je&&(je.clearRect(0,0,De.width,De.height),ft.backgroundColor&&(je.f
1illStyle=ft.backgroundColor,je.fillRect(0,0,De.width,De.height)));for(var qe=0,Xe=0;Xe<ee.length;++Xe)qe+=ee[Xe];if(!(qe<=0))for(var sr=-Ee,He=0,Er=0,hr=0;sr<Le.height;){if(He%2==0){for(var Zr=Er/2%he.length,wr=0,Sr=0,jn=0;wr<2*Le.width;){var kn=0;for(Xe=0;Xe<Yt[hr].length;++Xe)kn+=Yt[hr][Xe];if(kn<=0)break;if(Sr%2==0){var Yn=.5*(1-ft.symbolSize);Ia(wr+Yt[hr][Sr]*Yn,sr+ee[He]*Yn,Yt[hr][Sr]*ft.symbolSize,ee[He]*ft.symbolSize,he[Zr][jn/2%he[Zr].length])}wr+=Yt[hr][Sr],++jn,++Sr===Yt[hr].length&&(Sr=0)}++hr===Yt.length&&(hr=0)}sr+=ee[He],++Er,++He===ee.length&&(He=0)}function Ia(wa,Ba,Fa,Ua,Na){var $r=Q?1:K,Xn=(0,se.v5)(Na,wa*$r,Ba*$r,Fa*$r,Ua*$r,ft.color,ft.symbolKeepAspect);if(Q){var Zn=Z.painter.renderOneToVNode(Xn);Zn&&Te.children.push(Zn)}else(0,de.Xi)(je,Xn)}}(),ut&&Oe.put(Rt,De||Te),Xt.image=De,Xt.svgElement=Te,Xt.svgWidth=Le.width,Xt.svgHeight=Le.height}(Nt),Nt.rotation=ft.rotation,Nt.scaleX=Nt.scaleY=Q?1:1/K,Ce.set(j,Nt),j.dirty=!1,Nt}function Ie(j){if(!j||0===j.length)return[["rect"]];if((0,b.isString)(j))return[[j]];for(var X=!0,K=0;K<j.length;++K)if(!(0,b.isString)(j[K])){X=!1;break}if(X)return Ie([j]);var Z=[];for(K=0;K<j.length;++K)(0,b.isString)(j[K])?Z.push([j[K]]):Z.push(j[K]);return Z}function ze(j){if(!j||0===j.length)return[[0,0]];if((0,b.isNumber)(j))return[[X=Math.ceil(j),X]];for(var K=!0,Z=0;Z<j.length;++Z)if(!(0,b.isNumber)(j[Z])){K=!1;break}if(K)return ze([j]);var Q=[];for(Z=0;Z<j.length;++Z)if((0,b.isNumber)(j[Z])){var X=Math.ceil(j[Z]);Q.push([X,X])}else X=(0,b.map)(j[Z],function(Nt){return Math.ceil(Nt)}),Q.push(X.length%2==1?X.concat(X):X);return Q}function ur(j){for(var X=0,K=0;K<j.length;++K)X+=j[K];return j.length%2==1?2*X:X}const or=new W.A;var Kr=l(19590),rn="5.6.0",nn={zrender:"5.6.1"},ta=2e3,Tn=1e3,An=3e3,sa={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:Tn,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:An,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},er="__flagInMainProcess",ar="__pendingUpdate",on="__needsUpdateStatus",Cn=/^[a-zA-Z0-9_]+$/,sn="__connectUpdateStatus";function On(j){return function(){for(var X=[],K=0;K<arguments.length;K++)X[K]=arguments[K];if(!this.isDisposed())return Ln(this,j,X)}}function bn(j){return function(){for(var X=[],K=0;K<arguments.length;K++)X[K]=arguments[K];return Ln(this,j,X)}}function Ln(j,X,K){return K[0]=K[0]&&K[0].toLowerCase(),W.A.prototype[X].apply(j,K)}var Rn=function(j){function X(){return null!==j&&j.apply(this,arguments)||this}return(0,x.C6)(X,j),X}(W.A),xn=Rn.prototype;xn.on=bn("on"),xn.off=bn("off");var Pr,ln,Hr,gr,un,fn,hn,Rr,xr,In,wn,cn,Bn,Vr,Fn,Un,fr,Nn,jr=function(j){function X(K,Z,Q){var nt=j.call(this,new Je)||this;nt._chartsViews=[],nt._chartsMap={},nt._componentsViews=[],nt._componentsMap={},nt._pendingActions=[],Q=Q||{},(0,b.isString)(Z)&&(Z=Wn[Z]),nt._dom=K,Q.ssr&&Y.registerSSRDataGetter(function(gt){var Rt=(0,et.z)(gt),Wt=Rt.dataIndex;if(null!=Wt){var Yt=(0,b.createHashMap)();return Yt.set("series_index",Rt.seriesIndex),Yt.set("data_index",Wt),Rt.ssrType&&Yt.set("ssr_type",Rt.ssrType),Yt}});var ne=nt._zr=Y.init(K,{renderer:Q.renderer||"canvas",devicePixelRatio:Q.devicePixelRatio,width:Q.width,height:Q.height,ssr:Q.ssr,useDirtyRect:(0,b.retrieve2)(Q.useDirtyRect,!1),useCoarsePointer:(0,b.retrieve2)(Q.useCoarsePointer,"auto"),pointerSize:Q.pointerSize});nt._ssr=Q.ssr,nt._throttledZrFlush=(0,zt.nF)((0,b.bind)(ne.flush,ne),17),(Z=(0,b.clone)(Z))&&Se(Z,!0),nt._theme=Z,nt._locale=(0,Pt.A$)(Q.locale||Pt.Lv),nt._coordSysMgr=new B.A;var ut=nt._api=Fn(nt);function Et(gt,Rt){return gt.__prio-Rt.__prio}return(0,U.A)(Yr,Et),(0,U.A)(dn,Et),nt._scheduler=new Br(nt,ut,dn,Yr),nt._messageCenter=new Rn,nt._initEvents(),nt.resize=(0,b.bind)(nt.resize,nt),ne.animation.on("frame",nt._onframe,nt),In(ne,nt),wn(ne,nt),(0,b.setAsPrimitive)(nt),nt}return(0,x.C6)(X,j),X.prototype._onframe=function(){if(!this._disposed){Nn(this);var K=this._scheduler;if(this[ar]){var Z=this[ar].silent;this[er]=!0;try{Pr(this),gr.update.call(this,null,this[ar].updateParams)}catch(xt){throw this[er]=!1,this[ar]=null,xt}this._zr.flush(),this[er]=!1,this[ar]=null,Rr.call(this,Z),xr.call(this,Z)}else if(K.unfinished){var Q=1,nt=this._model,ft=this._api;K.unfinished=!1;do{var Nt=+new Date;K.performSeriesTasks(nt),K.performDataProcessorTasks(nt),fn(this,nt),K.performVisualTasks(nt),Vr(this,this._model,ft,"remain",{}),Q-=+new Date-Nt}while(Q>0&&K.unfinished);K.unfinished||this._zr.flush()}}},X.prototype.getDom=function(){return this._dom},X.prototype.getId=function(){return this.id},X.prototype.getZr=function(){return this._zr}
1,X.prototype.isSSR=function(){return this._ssr},X.prototype.setOption=function(K,Z,Q){if(!this[er]){if(this._disposed)return;var nt,ft,Nt;if((0,b.isObject)(Z)&&(Q=Z.lazyUpdate,nt=Z.silent,ft=Z.replaceMerge,Nt=Z.transition,Z=Z.notMerge),this[er]=!0,!this._model||Z){var xt=new V(this._api),Xt=this._theme,ne=this._model=new t;ne.scheduler=this._scheduler,ne.ssr=this._ssr,ne.init(null,null,null,Xt,this._locale,xt)}this._model.setOption(K,{replaceMerge:ft},pn);var ut={seriesTransition:Nt,optionChanged:!0};if(Q)this[ar]={silent:nt,updateParams:ut},this[er]=!1,this.getZr().wakeUp();else{try{Pr(this),gr.update.call(this,null,ut)}catch(Et){throw this[ar]=null,this[er]=!1,Et}this._ssr||this._zr.flush(),this[ar]=null,this[er]=!1,Rr.call(this,nt),xr.call(this,nt)}}},X.prototype.setTheme=function(){(0,zr.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},X.prototype.getModel=function(){return this._model},X.prototype.getOption=function(){return this._model&&this._model.getOption()},X.prototype.getWidth=function(){return this._zr.getWidth()},X.prototype.getHeight=function(){return this._zr.getHeight()},X.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||F.A.hasGlobalWindow&&window.devicePixelRatio||1},X.prototype.getRenderedCanvas=function(K){return this.renderToCanvas(K)},X.prototype.renderToCanvas=function(K){return this._zr.painter.getRenderedCanvas({backgroundColor:(K=K||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:K.pixelRatio||this.getDevicePixelRatio()})},X.prototype.renderToSVGString=function(K){return this._zr.painter.renderToString({useViewBox:(K=K||{}).useViewBox})},X.prototype.getSvgDataURL=function(){if(F.A.svgSupported){var K=this._zr,Z=K.storage.getDisplayList();return(0,b.each)(Z,function(Q){Q.stopAnimation(null,!0)}),K.painter.toDataURL()}},X.prototype.getDataURL=function(K){if(!this._disposed){var Q=this._model,nt=[],ft=this;(0,b.each)((K=K||{}).excludeComponents,function(xt){Q.eachComponent({mainType:xt},function(Xt){var ne=ft._componentsMap[Xt.__viewId];ne.group.ignore||(nt.push(ne),ne.group.ignore=!0)})});var Nt="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(K).toDataURL("image/"+(K&&K.type||"png"));return(0,b.each)(nt,function(xt){xt.group.ignore=!1}),Nt}},X.prototype.getConnectedDataURL=function(K){if(!this._disposed){var Z="svg"===K.type,Q=this.group,nt=Math.min,ft=Math.max,Nt=1/0;if(Xr[Q]){var xt=Nt,Xt=Nt,ne=-Nt,ut=-Nt,Et=[],gt=K&&K.pixelRatio||this.getDevicePixelRatio();(0,b.each)(yr,function(ce,Ee){if(ce.group===Q){var De=Z?ce.getZr().painter.getSvgDom().innerHTML:ce.renderToCanvas((0,b.clone)(K)),Te=ce.getDom().getBoundingClientRect();xt=nt(Te.left,xt),Xt=nt(Te.top,Xt),ne=ft(Te.right,ne),ut=ft(Te.bottom,ut),Et.push({dom:De,left:Te.left,top:Te.top})}});var Rt=(ne*=gt)-(xt*=gt),Wt=(ut*=gt)-(Xt*=gt),Yt=Zt.yh.createCanvas(),ee=Y.init(Yt,{renderer:Z?"svg":"canvas"});if(ee.resize({width:Rt,height:Wt}),Z){var he="";return(0,b.each)(Et,function(ce){he+='<g transform="translate('+(ce.left-xt)+","+(ce.top-Xt)+')">'+ce.dom+"</g>"}),ee.painter.getSvgRoot().innerHTML=he,K.connectedBackgroundColor&&ee.painter.setBackgroundColor(K.connectedBackgroundColor),ee.refreshImmediately(),ee.painter.toDataURL()}return K.connectedBackgroundColor&&ee.add(new Gt.A({shape:{x:0,y:0,width:Rt,height:Wt},style:{fill:K.connectedBackgroundColor}})),(0,b.each)(Et,function(ce){var Ee=new $t.Ay({style:{x:ce.left*gt-xt,y:ce.top*gt-Xt,image:ce.dom}});ee.add(Ee)}),ee.refreshImmediately(),Yt.toDataURL("image/"+(K&&K.type||"png"))}return this.getDataURL(K)}},X.prototype.convertToPixel=function(K,Z){return un(this,"convertToPixel",K,Z)},X.prototype.convertFromPixel=function(K,Z){return un(this,"convertFromPixel",K,Z)},X.prototype.containPixel=function(K,Z){if(!this._disposed){var nt,ft=G._e(this._model,K);return(0,b.each)(ft,function(Nt,xt){xt.indexOf("Models")>=0&&(0,b.each)(Nt,function(Xt){var ne=Xt.coordinateSystem;if(ne&&ne.containPoint)nt=nt||!!ne.containPoint(Z);else if("seriesModels"===xt){var ut=this._chartsMap[Xt.__viewId];ut&&ut.containPoint&&(nt=nt||ut.containPoint(Z,Xt))}},this)},this),!!nt}},X.prototype.getVisual=function(K,Z){var nt=G._e(this._model,K,{defaultMainType:"series"}),Nt=nt.seriesModel.getData(),xt=nt.hasOwnProperty("dataIndexInside")?nt.dataIndexInside:nt.hasOwnProperty("dataIndex")?Nt.indexOfRawIndex(nt.dataIndex):null;return null!=xt?function qr(j,X,K){switch(K){case"color":return j.getItemVisual(X,"style")[j.getVisual("drawType")];case"opacity":return j.getItemVisual(X,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return j.getItemVisual(X,K)}}(Nt,xt,Z):function tn(j,X){switch(X){case"color":return j.getVisual("style")[j.getVisual("drawType")];case"opacity":return j.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return j.getVisual(X)}}(Nt,Z)},X.prototype.getViewOfComponentModel=function(K){return this._componentsMap[K.__viewId]},X.prototype.getViewOfSeriesModel=function(K){return this._chartsMap[K.__viewId]},X.prototype._initEvents=function(){var K=this;(0,b.each)(fa,function(Z){var Q=function(nt){var xt,ft=K.getModel(),Nt=nt.target;if("globalout"===Z?xt={}:Nt&&(0,Ot.R)(Nt,function(Rt){var Wt=(0,et.z)(Rt);if(Wt&&null!=Wt.dataIndex){var Yt=Wt.dataModel||ft.getSeriesByIndex(Wt.seriesIndex);return xt=Yt&&Yt.getDataParams(Wt.dataIndex,Wt.dataType,Nt)||{},!0}if(Wt.eventData)return xt=(0,b.extend)({},Wt.eventData),!0},!0),xt){var ne=xt.componentType,ut=xt.componentIndex;("markLine"===ne||"markPoint"===ne||"markArea"===ne)&&(ne="series",ut=xt.seriesIndex);var Et=ne&&null!=ut&&ft.getComponent(ne,ut),gt=Et&&K["series"===Et.mainType?"_chartsMap":"_componentsMap"][Et.__viewId];xt.event=nt,xt.type=Z,K._$eventProcessor.eventInfo={targetEl:Nt,packedEvent:xt,model:Et,view:gt},K.trigger(Z,xt)}};Q.zrEventfulCallAtLast=!0,K._zr.on(Z,Q,K)}),(0,b.each)(Ir,function(Z,Q){K._messageCenter.on(Q,function(nt){this.trigger(Q,nt)},K)}),(0,b.each)(["selectchanged"],function(Z){K._messageCenter.on(Z,function(Q){this.trigger(Z,Q)},K)}),function en(j,X,K){j.on("selectchanged",function(Z){var Q=K.getModel();Z.isFromClick?(pr("map","selectchanged",X,Q,Z),pr("pie","selectchanged",X,Q,Z)):"select"===Z.fromAction?(pr("map","selected",X,Q,Z),pr("pie","selected",X,Q,Z)):"unselect"===Z.fromAction&&(pr("map","unselected",X,Q,Z),pr("pie","unselected",X,Q,Z))})}(this._messageCenter,this,this._api)},X.prototype.isDisposed=function(){return this._disposed},X.prototype.clear=function(){this._disposed||this.setOption({series:[]},!0)},X.prototype.dispose=function(){if(!this._disposed){this._disposed=!0,this.getDom()&&G.Bq(this.getDom(),_n,"");var Z=this,Q=Z._api,nt=Z._model;(0,b.each)(Z._componentsViews,function(ft){ft.dispose(nt,Q)}),(0,b.each)(Z._chartsViews,function(ft){ft.dispose(nt,Q)}),Z._zr.dispose(),Z._dom=Z._model=Z._chartsMap=Z._componentsMap=Z._chartsViews=Z._componentsViews=Z._scheduler
1=Z._api=Z._zr=Z._throttledZrFlush=Z._theme=Z._coordSysMgr=Z._messageCenter=null,delete yr[Z.id]}},X.prototype.resize=function(K){if(!this[er]){if(this._disposed)return;this._zr.resize(K);var Z=this._model;if(this._loadingFX&&this._loadingFX.resize(),Z){var Q=Z.resetOption("media"),nt=K&&K.silent;this[ar]&&(null==nt&&(nt=this[ar].silent),Q=!0,this[ar]=null),this[er]=!0;try{Q&&Pr(this),gr.update.call(this,{type:"resize",animation:(0,b.extend)({duration:0},K&&K.animation)})}catch(ft){throw this[er]=!1,ft}this[er]=!1,Rr.call(this,nt),xr.call(this,nt)}}},X.prototype.showLoading=function(K,Z){if(!this._disposed&&((0,b.isObject)(K)&&(Z=K,K=""),K=K||"default",this.hideLoading(),gn[K])){var Q=gn[K](this._api,Z),nt=this._zr;this._loadingFX=Q,nt.add(Q)}},X.prototype.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},X.prototype.makeActionFromEvent=function(K){var Z=(0,b.extend)({},K);return Z.type=Ir[K.type],Z},X.prototype.dispatchAction=function(K,Z){if(!this._disposed&&((0,b.isObject)(Z)||(Z={silent:!!Z}),kr[K.type]&&this._model)){if(this[er])return void this._pendingActions.push(K);var Q=Z.silent;hn.call(this,K,Q);var nt=Z.flush;nt?this._zr.flush():!1!==nt&&F.A.browser.weChat&&this._throttledZrFlush(),Rr.call(this,Q),xr.call(this,Q)}},X.prototype.updateLabelLayout=function(){or.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},X.prototype.appendData=function(K){if(!this._disposed){var Z=K.seriesIndex;this.getModel().getSeriesByIndex(Z).appendData(K),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},X.internalField=function(){function K(ut){ut.clearColorPalette(),ut.eachSeries(function(Et){Et.clearColorPalette()})}function Q(ut){for(var Et=[],gt=ut.currentStates,Rt=0;Rt<gt.length;Rt++){var Wt=gt[Rt];"emphasis"===Wt||"blur"===Wt||"select"===Wt||Et.push(Wt)}ut.selected&&ut.states.select&&Et.push("select"),ut.hoverState===st.e3&&ut.states.emphasis?Et.push("emphasis"):ut.hoverState===st.zX&&ut.states.blur&&Et.push("blur"),ut.useStates(Et)}function Nt(ut,Et){if(!ut.preventAutoZ){var gt=ut.get("z")||0,Rt=ut.get("zlevel")||0;Et.eachRendered(function(Wt){return xt(Wt,gt,Rt,-1/0),!0})}}function xt(ut,Et,gt,Rt){var Wt=ut.getTextContent(),Yt=ut.getTextGuideLine();if(ut.isGroup)for(var he=ut.childrenRef(),ce=0;ce<he.length;ce++)Rt=Math.max(xt(he[ce],Et,gt,Rt),Rt);else ut.z=Et,ut.zlevel=gt,Rt=Math.max(ut.z2,Rt);if(Wt&&(Wt.z=Et,Wt.zlevel=gt,isFinite(Rt)&&(Wt.z2=Rt+2)),Yt){var Ee=ut.textGuideLineConfig;Yt.z=Et,Yt.zlevel=gt,isFinite(Rt)&&(Yt.z2=Rt+(Ee&&Ee.showAbove?1:-1))}return Rt}function Xt(ut,Et){Et.eachRendered(function(gt){if(!q.LR(gt)){var Rt=gt.getTextContent(),Wt=gt.getTextGuideLine();gt.stateTransition&&(gt.stateTransition=null),Rt&&Rt.stateTransition&&(Rt.stateTransition=null),Wt&&Wt.stateTransition&&(Wt.stateTransition=null),gt.hasState()?(gt.prevStates=gt.currentStates,gt.clearStates()):gt.prevStates&&(gt.prevStates=null)}})}function ne(ut,Et){var gt=ut.getModel("stateAnimation"),Rt=ut.isAnimationEnabled(),Wt=gt.get("duration"),Yt=Wt>0?{duration:Wt,delay:gt.get("delay"),easing:gt.get("easing")}:null;Et.eachRendered(function(ee){if(ee.states&&ee.states.emphasis){if(q.LR(ee))return;if(ee instanceof rt.Ay&&(0,st.fz)(ee),ee.__dirty){var he=ee.prevStates;he&&ee.useStates(he)}if(Rt){ee.stateTransition=Yt;var ce=ee.getTextContent(),Ee=ee.getTextGuideLine();ce&&(ce.stateTransition=Yt),Ee&&(Ee.stateTransition=Yt)}ee.__dirty&&Q(ee)}})}Pr=function(ut){var Et=ut._scheduler;Et.restorePipelines(ut._model),Et.prepareStageTasks(),ln(ut,!0),ln(ut,!1),Et.plan()},ln=function(ut,Et){for(var gt=ut._model,Rt=ut._scheduler,Wt=Et?ut._componentsViews:ut._chartsViews,Yt=Et?ut._componentsMap:ut._chartsMap,ee=ut._zr,he=ut._api,ce=0;ce<Wt.length;ce++)Wt[ce].__alive=!1;function Ee(Te){var Le=Te.__requireNewView;Te.__requireNewView=!1;var je="_ec_"+Te.id+"_"+Te.type,Ue=!Le&&Yt[je];if(!Ue){var rr=(0,Ar.CC)(Te.type);(Ue=new(Et?ct.A.getClass(rr.main,rr.sub):Lt.A.getClass(rr.sub))).init(gt,he),Yt[je]=Ue,Wt.push(Ue),ee.add(Ue.group)}Te.__viewId=Ue.__id=je,Ue.__alive=!0,Ue.__model=Te,Ue.group.__ecComponentInfo={mainType:Te.mainType,index:Te.componentIndex},!Et&&Rt.prepareView(Ue,Te,gt,he)}
1for(Et?gt.eachComponent(function(Te,Le){"series"!==Te&&Ee(Le)}):gt.eachSeries(Ee),ce=0;ce<Wt.length;){var De=Wt[ce];De.__alive?ce++:(!Et&&De.renderTask.dispose(),ee.remove(De.group),De.dispose(gt,he),Wt.splice(ce,1),Yt[De.__id]===De&&delete Yt[De.__id],De.__id=De.group.__ecComponentInfo=null)}},Hr=function(ut,Et,gt,Rt,Wt){var Yt=ut._model;if(Yt.setUpdatePayload(gt),Rt){var ee={};ee[Rt+"Id"]=gt[Rt+"Id"],ee[Rt+"Index"]=gt[Rt+"Index"],ee[Rt+"Name"]=gt[Rt+"Name"];var he={mainType:Rt,query:ee};Wt&&(he.subType=Wt);var Ee,ce=gt.excludeSeriesId;null!=ce&&(Ee=(0,b.createHashMap)(),(0,b.each)(G.qB(ce),function(Te){var Le=G.vS(Te,null);null!=Le&&Ee.set(Le,!0)})),Yt&&Yt.eachComponent(he,function(Te){if(!Ee||null==Ee.get(Te.id))if((0,st.T$)(gt))if(Te instanceof Qt.A)gt.type===st.h5&&!gt.notBlur&&!Te.get(["emphasis","disabled"])&&(0,st.lV)(Te,gt,ut._api);else{var je=(0,st.Tl)(Te.mainType,Te.componentIndex,gt.name,ut._api),rr=je.dispatchers;gt.type===st.h5&&je.focusSelf&&!gt.notBlur&&(0,st.Du)(Te.mainType,Te.componentIndex,ut._api),rr&&(0,b.each)(rr,function(qe){gt.type===st.h5?(0,st.HY)(qe):(0,st.SD)(qe)})}else(0,st.Lx)(gt)&&Te instanceof Qt.A&&((0,st.t6)(Te,gt,ut._api),(0,st.jA)(Te),fr(ut))},ut),Yt&&Yt.eachComponent(he,function(Te){Ee&&null!=Ee.get(Te.id)||De(ut["series"===Rt?"_chartsMap":"_componentsMap"][Te.__viewId])},ut)}else(0,b.each)([].concat(ut._componentsViews).concat(ut._chartsViews),De);function De(Te){Te&&Te.__alive&&Te[Et]&&Te[Et](Te.__model,Yt,ut._api,gt)}},gr={prepareAndUpdate:function(ut){Pr(this),gr.update.call(this,ut,{optionChanged:null!=ut.newOption})},update:function(ut,Et){var gt=this._model,Rt=this._api,Wt=this._zr,Yt=this._coordSysMgr,ee=this._scheduler;if(gt){gt.setUpdatePayload(ut),ee.restoreData(gt,ut),ee.performSeriesTasks(gt),Yt.create(gt,Rt),ee.performDataProcessorTasks(gt,ut),fn(this,gt),Yt.update(gt,Rt),K(gt),ee.performVisualTasks(gt,ut),cn(this,gt,Rt,ut,Et);var he=gt.get("backgroundColor")||"transparent",ce=gt.get("darkMode");Wt.setBackgroundColor(he),null!=ce&&"auto"!==ce&&Wt.setDarkMode(ce),or.trigger("afterupdate",gt,Rt)}},updateTransform:function(ut){var Et=this,gt=this._model,Rt=this._api;if(gt){gt.setUpdatePayload(ut);var Wt=[];gt.eachComponent(function(ee,he){if("series"!==ee){var ce=Et.getViewOfComponentModel(he);if(ce&&ce.__alive)if(ce.updateTransform){var Ee=ce.updateTransform(he,gt,Rt,ut);Ee&&Ee.update&&Wt.push(ce)}else Wt.push(ce)}});var Yt=(0,b.createHashMap)();gt.eachSeries(function(ee){var he=Et._chartsMap[ee.__viewId];if(he.updateTransform){var ce=he.updateTransform(ee,gt,Rt,ut);ce&&ce.update&&Yt.set(ee.uid,1)}else Yt.set(ee.uid,1)}),K(gt),this._scheduler.performVisualTasks(gt,ut,{setDirty:!0,dirtyMap:Yt}),Vr(this,gt,Rt,ut,{},Yt),or.trigger("afterupdate",gt,Rt)}},updateView:function(ut){var Et=this._model;Et&&(Et.setUpdatePayload(ut),Lt.A.markUpdateMethod(ut,"updateView"),K(Et),this._scheduler.performVisualTasks(Et,ut,{setDirty:!0}),cn(this,Et,this._api,ut,{}),or.trigger("afterupdate",Et,this._api))},updateVisual:function(ut){var Et=this,gt=this._model;gt&&(gt.setUpdatePayload(ut),gt.eachSeries(function(Rt){Rt.getData().clearAllVisual()}),Lt.A.markUpdateMethod(ut,"updateVisual"),K(gt),this._scheduler.performVisualTasks(gt,ut,{visualType:"visual",setDirty:!0}),gt.eachComponent(function(Rt,Wt){if("series"!==Rt){var Yt=Et.getViewOfComponentModel(Wt);Yt&&Yt.__alive&&Yt.updateVisual(Wt,gt,Et._api,ut)}}),gt.eachSeries(function(Rt){Et._chartsMap[Rt.__viewId].updateVisual(Rt,gt,Et._api,ut)}),or.trigger("afterupdate",gt,this._api))},updateLayout:function(ut){gr.update.call(this,ut)}},un=function(ut,Et,gt,Rt){if(!ut._disposed)for(var ee,Wt=ut._model,Yt=ut._coordSysMgr.getCoordinateSystems(),he=G._e(Wt,gt),ce=0;ce<Yt.length;ce++){var Ee=Yt[ce];if(Ee[Et]&&null!=(ee=Ee[Et](Wt,he,Rt)))return ee}},fn=function(ut,Et){var gt=ut._chartsMap,Rt=ut._scheduler;Et.eachSeries(function(Wt){Rt.updateStreamModes(Wt,gt[Wt.__viewId])})},hn=function(ut,Et){var gt=this,Rt=this.getModel(),Wt=ut.type,Yt=ut.escapeConnect,ee=kr[Wt],he=ee.actionInfo,ce=(he.update||"update").split(":"),Ee=ce.pop(),De=null!=ce[0]&&(0,Ar.CC)(ce[0]);this[er]=!0;var Te=[ut],Le=!1;ut.batch&&(Le=!0,Te=(0,b.map)(ut.batch,function(He){return(He=(0,b.defaults)((0,b.extend)({},He),ut)).batch=null,He}));var Ue,je=[],rr=(0,st.Lx)(ut),qe=(0,st.T$)(ut);if(qe&&(0,st.qR)(this._api),(0,b.each)(Te,function(He){if((Ue=(Ue=ee.action(He,gt._model,gt._api))||
1(0,b.extend)({},He)).type=he.event||Ue.type,je.push(Ue),qe){var Er=G.HB(ut),wr=Er.mainTypeSpecified?Er.queryOptionMap.keys()[0]:"series";Hr(gt,Ee,He,wr),fr(gt)}else rr?(Hr(gt,Ee,He,"series"),fr(gt)):De&&Hr(gt,Ee,He,De.main,De.sub)}),"none"!==Ee&&!qe&&!rr&&!De)try{this[ar]?(Pr(this),gr.update.call(this,ut),this[ar]=null):gr[Ee].call(this,ut)}catch(He){throw this[er]=!1,He}if(Ue=Le?{type:he.event||Wt,escapeConnect:Yt,batch:je}:je[0],this[er]=!1,!Et){var Xe=this._messageCenter;if(Xe.trigger(Ue.type,Ue),rr){var sr={type:"selectchanged",escapeConnect:Yt,selected:(0,st.mc)(Rt),isFromClick:ut.isFromClick||!1,fromAction:ut.type,fromActionPayload:ut};Xe.trigger(sr.type,sr)}}},Rr=function(ut){for(var Et=this._pendingActions;Et.length;){var gt=Et.shift();hn.call(this,gt,ut)}},xr=function(ut){!ut&&this.trigger("updated")},In=function(ut,Et){ut.on("rendered",function(gt){Et.trigger("rendered",gt),ut.animation.isFinished()&&!Et[ar]&&!Et._scheduler.unfinished&&!Et._pendingActions.length&&Et.trigger("finished")})},wn=function(ut,Et){ut.on("mouseover",function(gt){var Wt=(0,Ot.R)(gt.target,st.u6);Wt&&((0,st._m)(Wt,gt,Et._api),fr(Et))}).on("mouseout",function(gt){var Wt=(0,Ot.R)(gt.target,st.u6);Wt&&((0,st.Iz)(Wt,gt,Et._api),fr(Et))}).on("click",function(gt){var Wt=(0,Ot.R)(gt.target,function(he){return null!=(0,et.z)(he).dataIndex},!0);if(Wt){var Yt=Wt.selected?"unselect":"select",ee=(0,et.z)(Wt);Et._api.dispatchAction({type:Yt,dataType:ee.dataType,dataIndexInside:ee.dataIndex,seriesIndex:ee.seriesIndex,isFromClick:!0})}})},cn=function(ut,Et,gt,Rt,Wt){(function Z(ut){var Et=[],gt=[],Rt=!1;if(ut.eachComponent(function(he,ce){var Ee=ce.get("zlevel")||0,De=ce.get("z")||0,Te=ce.getZLevelKey();Rt=Rt||!!Te,("series"===he?gt:Et).push({zlevel:Ee,z:De,idx:ce.componentIndex,type:he,key:Te})}),Rt){var Yt,ee,Wt=Et.concat(gt);(0,U.A)(Wt,function(he,ce){return he.zlevel===ce.zlevel?he.z-ce.z:he.zlevel-ce.zlevel}),(0,b.each)(Wt,function(he){var ce=ut.getComponent(he.type,he.idx),Ee=he.zlevel,De=he.key;null!=Yt&&(Ee=Math.max(Yt,Ee)),De?(Ee===Yt&&De!==ee&&Ee++,ee=De):ee&&(Ee===Yt&&Ee++,ee=""),Yt=Ee,ce.setZLevel(Ee)})}})(Et),Bn(ut,Et,gt,Rt,Wt),(0,b.each)(ut._chartsViews,function(Yt){Yt.__alive=!1}),Vr(ut,Et,gt,Rt,Wt),(0,b.each)(ut._chartsViews,function(Yt){Yt.__alive||Yt.remove(Et,gt)})},Bn=function(ut,Et,gt,Rt,Wt,Yt){(0,b.each)(Yt||ut._componentsViews,function(ee){var he=ee.__model;Xt(0,ee),ee.render(he,Et,gt,Rt),Nt(he,ee),ne(he,ee)})},Vr=function(ut,Et,gt,Rt,Wt,Yt){var ee=ut._scheduler;Wt=(0,b.extend)(Wt||{},{updatedSeries:Et.getSeries()}),or.trigger("series:beforeupdate",Et,gt,Wt);var he=!1;Et.eachSeries(function(ce){var Ee=ut._chartsMap[ce.__viewId];Ee.__alive=!0;var De=Ee.renderTask;ee.updatePayload(De,Rt),Xt(0,Ee),Yt&&Yt.get(ce.uid)&&De.dirty(),De.perform(ee.getPerformArgs(De))&&(he=!0),Ee.group.silent=!!ce.get("silent"),function ft(ut,Et){var gt=ut.get("blendMode")||null;Et.eachRendered(function(Rt){Rt.isGroup||(Rt.style.blend=gt)})}(ce,Ee),(0,st.jA)(ce)}),ee.unfinished=he||ee.unfinished,or.trigger("series:layoutlabels",Et,gt,Wt),or.trigger("series:transition",Et,gt,Wt),Et.eachSeries(function(ce){var Ee=ut._chartsMap[ce.__viewId];Nt(ce,Ee),ne(ce,Ee)}),function nt(ut,Et){var Wt=0;ut._zr.storage.traverse(function(Yt){Yt.isGroup||Wt++}),Wt>Et.get("hoverLayerThreshold")&&!F.A.node&&!F.A.worker&&Et.eachSeries(function(Yt){if(!Yt.preventUsingHoverLayer){var ee=ut._chartsMap[Yt.__viewId];ee.__alive&&ee.eachRendered(function(he){he.states.emphasis&&(he.states.emphasis.hoverLayer=!0)})}})}(ut,Et),or.trigger("series:afterupdate",Et,gt,Wt)},fr=function(ut){ut[on]=!0,ut.getZr().wakeUp()},Nn=function(ut){ut[on]&&(ut.getZr().storage.traverse(function(Et){q.LR(Et)||Q(Et)}),ut[on]=!1)},Fn=function(ut){return new(function(Et){function gt(){return null!==Et&&Et.apply(this,arguments)||this}return(0,x.C6)(gt,Et),gt.prototype.getCoordinateSystems=function(){return ut._coordSysMgr.getCoordinateSystems()},gt.prototype.getComponentByElement=function(Rt){for(;Rt;){var Wt=Rt.__ecComponentInfo;if(null!=Wt)return ut._model.getComponent(Wt.mainType,Wt.index);Rt=Rt.parent}},gt.prototype.enterEmphasis=function(Rt,Wt){(0,st.HY)(Rt,Wt),fr(ut)}
1,gt.prototype.leaveEmphasis=function(Rt,Wt){(0,st.SD)(Rt,Wt),fr(ut)},gt.prototype.enterBlur=function(Rt){(0,st.QX)(Rt),fr(ut)},gt.prototype.leaveBlur=function(Rt){(0,st.JC)(Rt),fr(ut)},gt.prototype.enterSelect=function(Rt){(0,st.JI)(Rt),fr(ut)},gt.prototype.leaveSelect=function(Rt){(0,st.gd)(Rt),fr(ut)},gt.prototype.getModel=function(){return ut.getModel()},gt.prototype.getViewOfComponentModel=function(Rt){return ut.getViewOfComponentModel(Rt)},gt.prototype.getViewOfSeriesModel=function(Rt){return ut.getViewOfSeriesModel(Rt)},gt}(O))(ut)},Un=function(ut){function Et(gt,Rt){for(var Wt=0;Wt<gt.length;Wt++)gt[Wt][sn]=Rt}(0,b.each)(Ir,function(gt,Rt){ut._messageCenter.on(Rt,function(Wt){if(Xr[ut.group]&&0!==ut[sn]){if(Wt&&Wt.escapeConnect)return;var Yt=ut.makeActionFromEvent(Wt),ee=[];(0,b.each)(yr,function(he){he!==ut&&he.group===ut.group&&ee.push(he)}),Et(ee,0),(0,b.each)(ee,function(he){1!==he[sn]&&he.dispatchAction(Yt)}),Et(ee,2)}})})}}(),X}(W.A),vn=jr.prototype;vn.on=On("on"),vn.off=On("off"),vn.one=function(j,X,K){var Z=this;(0,zr.aT)("ECharts#one is deprecated."),this.on.call(this,j,function Q(){for(var nt=[],ft=0;ft<arguments.length;ft++)nt[ft]=arguments[ft];X&&X.apply&&X.apply(this,nt),Z.off(j,Q)},K)};var fa=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],kr={},Ir={},dn=[],pn=[],Yr=[],Wn={},gn={},yr={},Xr={},ha=+new Date-0,ca=+new Date-0,_n="_echarts_instance_";function va(j,X,K){var Z=!(K&&K.ssr);if(Z){var Q=mn(j);if(Q)return Q}var nt=new jr(j,X,K);return nt.id="ec_"+ha++,yr[nt.id]=nt,Z&&G.Bq(j,_n,nt.id),Un(nt),or.trigger("afterinit",nt),nt}function da(j){if((0,b.isArray)(j)){var X=j;j=null,(0,b.each)(X,function(K){null!=K.group&&(j=K.group)}),j=j||"g_"+ca++,(0,b.each)(X,function(K){K.group=j})}return Xr[j]=!0,j}function zn(j){Xr[j]=!1}var pa=zn;function ga(j){(0,b.isString)(j)?j=yr[j]:j instanceof jr||(j=mn(j)),j instanceof jr&&!j.isDisposed()&&j.dispose()}function mn(j){return yr[G.D$(j,_n)]}function _a(j){return yr[j]}function yn(j,X){Wn[j]=X}function Kn(j){(0,b.indexOf)(pn,j)<0&&pn.push(j)}function Gn(j,X){En(dn,j,X,ta)}function ma(j){Mn("afterinit",j)}function ya(j){Mn("afterupdate",j)}function Mn(j,X){or.on(j,X)}function Or(j,X,K){(0,b.isFunction)(X)&&(K=X,X="");var Z=(0,b.isObject)(j)?j.type:[j,j={event:X}][0];j.event=(j.event||Z).toLowerCase(),!Ir[X=j.event]&&((0,b.assert)(Cn.test(Z)&&Cn.test(X)),kr[Z]||(kr[Z]={action:K,actionInfo:j}),Ir[X]=Z)}function Ma(j,X){B.A.register(j,X)}function Ea(j){var X=B.A.get(j);if(X)return X.getDimensionsInfo?X.getDimensionsInfo():X.dimensions.slice()}function Sa(j,X){En(Yr,j,X,Tn,"layout")}function Mr(j,X){En(Yr,j,X,An,"visual")}var Hn=[];function En(j,X,K,Z,Q){if(((0,b.isFunction)(X)||(0,b.isObject)(X))&&(K=X,X=Z),!((0,b.indexOf)(Hn,K)>=0)){Hn.push(K);var nt=Br.wrapStageHandler(K,Q);nt.__prio=X,nt.__raw=K,j.push(nt)}}function Vn(j,X){gn[j]=X}function Ta(j){(0,Zt.Gs)({createCanvas:j})}function Aa(j,X,K){var Z=(0,Kr.v)("registerMap");Z&&Z(j,X,K)}function Da(j){var X=(0,Kr.v)("getMap");return X&&X(j)}var Ca=Tt.v5;Mr(2e3,Jt),Mr(4500,oe),Mr(4500,te),Mr(2e3,Dr),Mr(4500,Cr),Mr(7e3,function vr(j,X){j.eachRawSeries(function(K){if(!j.isSeriesFiltered(K)){var Z=K.getData();Z.hasItemVisual()&&Z.each(function(ft){var Nt=Z.getItemVisual(ft,"decal");Nt&&(Z.ensureUniqueItemVisual(ft,"style").decal=Fe(Nt,X))});var Q=Z.getVisual("decal");Q&&(Z.getVisual("style").decal=Fe(Q,X))}})}),Kn(Se),Gn(900,function yt(j){var X=(0,b.createHashMap)();j.eachSeries(function(K){var Z=K.get("stack");if(Z){var Q=X.get(Z)||X.set(Z,[]),nt=K.getData(),ft={stackResultDimension:nt.getCalculationInfo("stackResultDimension"),stackedOverDimension:nt.getCalculationInfo("stackedOverDimension"),stackedDimension:nt.getCalculationInfo("stackedDimension"),stackedByDimension:nt.getCalculationInfo("stackedByDimension"),isStackedByIndex:nt.getCalculationInfo("isStackedByIndex"),data:nt,seriesModel:K};if(!ft.stackedDimension||!ft.isStackedByIndex&&!ft.stackedByDimension)return;Q.length&&nt.setCalculationInfo("stackedOnSeries",Q[Q.length-1].seriesModel),Q.push(ft)}}),X.each(kt)}),Vn("default",function me(j,X){b.defaults(X=X||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",
1spinnerRadius:10,lineWidth:5,zlevel:0});var K=new Re.A,Z=new Gt.A({style:{fill:X.maskColor},zlevel:X.zlevel,z:1e4});K.add(Z);var ft,Q=new xe.Ay({style:{text:X.text,fill:X.textColor,fontSize:X.fontSize,fontWeight:X.fontWeight,fontStyle:X.fontStyle,fontFamily:X.fontFamily},zlevel:X.zlevel,z:10001}),nt=new Gt.A({style:{fill:"none"},textContent:Q,textConfig:{position:"right",distance:10},zlevel:X.zlevel,z:10001});return K.add(nt),X.showSpinner&&((ft=new Ke.A({shape:{startAngle:-Be/2,endAngle:-Be/2+.1,r:X.spinnerRadius},style:{stroke:X.color,lineCap:"round",lineWidth:X.lineWidth},zlevel:X.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Be/2}).start("circularInOut"),ft.animateShape(!0).when(1e3,{startAngle:3*Be/2}).delay(300).start("circularInOut"),K.add(ft)),K.resize=function(){var Nt=Q.getBoundingRect().width,xt=X.showSpinner?X.spinnerRadius:0,Xt=(j.getWidth()-2*xt-(X.showSpinner&&Nt?10:0)-Nt)/2-(X.showSpinner&&Nt?0:5+Nt/2)+(X.showSpinner?0:Nt/2)+(Nt?0:xt),ne=j.getHeight()/2;X.showSpinner&&ft.setShape({cx:Xt,cy:ne}),nt.setShape({x:Xt-xt,y:ne-xt,width:2*xt,height:2*xt}),Z.setShape({x:0,y:0,width:j.getWidth(),height:j.getHeight()})},K.resize(),K}),Or({type:st.h5,event:st.h5,update:st.h5},b.noop),Or({type:st.PW,event:st.PW,update:st.PW},b.noop),Or({type:st.Lv,event:st.Lv,update:st.Lv},b.noop),Or({type:st.U2,event:st.U2,update:st.U2},b.noop),Or({type:st.Q6,event:st.Q6,update:st.Q6},b.noop),yn("light",br),yn("dark",Jr);var Pa={}},19590:(jt,ht,l)=>{l.d(ht,{m:()=>Y,v:()=>b});var x={};function Y(F,U){x[F]=U}function b(F){return x[F]}},479:(jt,ht,l)=>{l.d(ht,{Lv:()=>y,A$:()=>A,pr:()=>M,A4:()=>S,E:()=>d});var x=l(85569),Y=l(24026),U=l(68453),W="ZH",G="EN",w=G,R={},L={},y=Y.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||w).toUpperCase().indexOf(W)>-1?W:w;function d(E,P){E=E.toUpperCase(),L[E]=new x.A(P),R[E]=P}function A(E){if((0,U.isString)(E)){var P=R[E.toUpperCase()]||{};return E===W||E===G?(0,U.clone)(P):(0,U.merge)((0,U.clone)(P),(0,U.clone)(R[w]),!1)}return(0,U.merge)((0,U.clone)(E),(0,U.clone)(R[w]),!1)}function S(E){return L[E]}function M(){return L[w]}d(G,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),d(W,{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u
1661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe",custom:"\u81ea\u5b9a\u4e49\u56fe\u8868",chart:"\u56fe\u8868"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}})},44653:(jt,ht,l)=>{l.d(ht,{U:()=>Y});var x=l(68453);function Y(U){return new b(U)}var b=function(){function U(W){this._reset=(W=W||{}).reset,this._plan=W.plan,this._count=W.count,this._onDirty=W.onDirty,this._dirty=!0}return U.prototype.perform=function(W){var L,G=this._upstream,w=W&&W.skip;if(this._dirty&&G){var R=this.context;R.data=R.outputData=G.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!w&&(L=this._plan(this.context));var E,y=M(this._modBy),d=this._modDataCount||0,A=M(W&&W.modBy),S=W&&W.modDataCount||0;function M(v){return!(v>=1)&&(v=1),v}(y!==A||d!==S)&&(L="reset"),(this._dirty||"reset"===L)&&(this._dirty=!1,E=this._doReset(w)),this._modBy=A,this._modDataCount=S;var P=W&&W.step;if(this._dueEnd=G?G._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var m=this._dueIndex,g=Math.min(null!=P?this._dueIndex+P:1/0,this._dueEnd);if(!w&&(E||m<g)){var f=this._progress;if((0,x.isArray)(f))for(var T=0;T<f.length;T++)this._doProgress(f[T],m,g,A,S);else this._doProgress(f,m,g,A,S)}this._dueIndex=g,this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:g}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},U.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},U.prototype._doProgress=function(W,G,w,R,L){F.reset(G,w,R,L),this._callingProgress=W,this._callingProgress({start:G,end:w,count:w-G,next:F.next},this.context)},U.prototype._doReset=function(W){var G,w;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!W&&this._reset&&((G=this._reset(this.context))&&G.progress&&(w=G.forceFirstProgress,G=G.progress),(0,x.isArray)(G)&&!G.length&&(G=null)),this._progress=G,this._modBy=this._modDataCount=null;var R=this._downstream;return R&&R.dirty(),w},U.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},U.prototype.pipe=function(W){(this._downstream!==W||this._dirty)&&(this._downstream=W,W._upstream=this,W.dirty())},U.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},U.prototype.getUpstream=function(){return this._upstream},U.prototype.getDownstream=function(){return this._downstream},U.prototype.setOutputEnd=function(W){this._outputDueEnd=this._settedOutputEnd=W},U}(),F=function(){var U,W,G,w,R,L={reset:function(A,S,M,E){W=A,U=S,G=M,w=E,R=Math.ceil(w/G),L.next=G>1&&w>0?d:y}};return L;function y(){return W<U?W++:null}function d(){var A=W%R*G+Math.ceil(W/R),S=W>=U?null:A<w?A:W;return W++,S}}()},27100:(jt,ht,l)=>{l.d(ht,{A_:()=>G,Ay:()=>E});var L,x=l(68453),Y=l(75507),b=l(42080),F="undefined",U=typeof Uint32Array===F?Array:Uint32Array,W=typeof Uint16Array===F?Array:Uint16Array,G=typeof Int32Array===F?Array:Int32Array,w=typeof Float64Array===F?Array:Float64Array,R={float:w,int:G,ordinal:Array,number:Array,time:w};function y(P){return P>65535?U:W}function A(P){var m=P.constructor;return m===Array?P.slice():new m(P)}function S(P,m,g,f,T){var c=R[g||"float"];if(T){var v=P[m],_=v&&v.length;if(_!==f){for(var i=new c(f),h=0;h<_;h++)i[h]=v[h];P[m]=i}}else P[m]=new c(f)}const E=function(){function P(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,x.createHashMap)()}return P.prototype.initData=function(m,g,f){this._provider=m,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var T=m.getSource(),c=this.defaultDimValueGetter=L[T.sourceFormat];this._dimValueGetter=f||c,this._rawExtent=[],(0,b.O0)(T),this._dimensions=(0,x.map)(g,function(_){return{type:_.type,property:_.property}}),this._initDataFromProvider(0,m.count())},P.prototype.getProvider=function(){return this._provider},P.prototype.getSource=function(){return this._provider.getSource()},P.prototype.ensureCalculationDimension=function(m,g){var f=this._calcDimNameToIdx,T=this._dimensions,c=f.get(m);
vendor: 5,814 bytes, line 1
1if(null!=c){if(T[c].type===g)return c}else c=T.length;return T[c]={type:g},f.set(m,c),this._chunks[c]=new R[g||"float"](this._rawCount),this._rawExtent[c]=[1/0,-1/0],c},P.prototype.collectOrdinalMeta=function(m,g){var f=this._chunks[m],T=this._dimensions[m],c=this._rawExtent,v=T.ordinalOffset||0,_=f.length;0===v&&(c[m]=[1/0,-1/0]);for(var i=c[m],h=v;h<_;h++){var e=f[h]=g.parseAndCollect(f[h]);isNaN(e)||(i[0]=Math.min(e,i[0]),i[1]=Math.max(e,i[1]))}T.ordinalMeta=g,T.ordinalOffset=_,T.type="ordinal"},P.prototype.getOrdinalMeta=function(m){return this._dimensions[m].ordinalMeta},P.prototype.getDimensionProperty=function(m){var g=this._dimensions[m];return g&&g.property},P.prototype.appendData=function(m){var g=this._provider,f=this.count();g.appendData(m);var T=g.count();return g.persistent||(T+=f),f<T&&this._initDataFromProvider(f,T,!0),[f,T]},P.prototype.appendValues=function(m,g){for(var f=this._chunks,T=this._dimensions,c=T.length,v=this._rawExtent,_=this.count(),i=_+Math.max(m.length,g||0),h=0;h<c;h++)S(f,h,T[h].type,i,!0);for(var o=[],u=_;u<i;u++)for(var s=u-_,r=0;r<c;r++){var n=L.arrayRows.call(this,m[s]||o,T[r].property,s,r);f[r][u]=n;var t=v[r];n<t[0]&&(t[0]=n),n>t[1]&&(t[1]=n)}return this._rawCount=this._count=i,{start:_,end:i}},P.prototype._initDataFromProvider=function(m,g,f){for(var T=this._provider,c=this._chunks,v=this._dimensions,_=v.length,i=this._rawExtent,h=(0,x.map)(v,function(p){return p.property}),e=0;e<_;e++){var o=v[e];i[e]||(i[e]=[1/0,-1/0]),S(c,e,o.type,g,f)}if(T.fillStorage)T.fillStorage(m,g,c,i);else for(var u=[],s=m;s<g;s++){u=T.getItem(s,u);for(var r=0;r<_;r++){var n=c[r],t=this._dimValueGetter(u,h[r],s,r);n[s]=t;var a=i[r];t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}}!T.persistent&&T.clean&&T.clean(),this._rawCount=this._count=g,this._extent=[]},P.prototype.count=function(){return this._count},P.prototype.get=function(m,g){if(!(g>=0&&g<this._count))return NaN;var f=this._chunks[m];return f?f[this.getRawIndex(g)]:NaN},P.prototype.getValues=function(m,g){var f=[],T=[];if(null==g){g=m,m=[];for(var c=0;c<this._dimensions.length;c++)T.push(c)}else T=m;c=0;for(var v=T.length;c<v;c++)f.push(this.get(T[c],g));return f},P.prototype.getByRawIndex=function(m,g){if(!(g>=0&&g<this._rawCount))return NaN;var f=this._chunks[m];return f?f[g]:NaN},P.prototype.getSum=function(m){var f=0;if(this._chunks[m])for(var T=0,c=this.count();T<c;T++){var v=this.get(m,T);isNaN(v)||(f+=v)}return f},P.prototype.getMedian=function(m){var g=[];this.each([m],function(c){isNaN(c)||g.push(c)});var f=g.sort(function(c,v){return c-v}),T=this.count();return 0===T?0:T%2==1?f[(T-1)/2]:(f[T/2]+f[T/2-1])/2},P.prototype.indexOfRawIndex=function(m){if(m>=this._rawCount||m<0)return-1;if(!this._indices)return m;var g=this._indices,f=g[m];if(null!=f&&f<this._count&&f===m)return m;for(var T=0,c=this._count-1;T<=c;){var v=(T+c)/2|0;if(g[v]<m)T=v+1;else{if(!(g[v]>m))return v;c=v-1}}return-1},P.prototype.indicesOfNearest=function(m,g,f){var c=this._chunks[m],v=[];if(!c)return v;null==f&&(f=1/0);for(var _=1/0,i=-1,h=0,e=0,o=this.count();e<o;e++){var s=g-c[this.getRawIndex(e)],r=Math.abs(s);r<=f&&((r<_||r===_&&s>=0&&i<0)&&(_=r,i=s,h=0),s===i&&(v[h++]=e))}return v.length=h,v},P.prototype.getIndices=function(){var m,g=this._indices;if(g){var T=this._count;if((f=g.constructor)===Array){m=new f(T);for(var c=0;c<T;c++)m[c]=g[c]}else m=new f(g.buffer,0,T)}else{var f;for(m=new(f=y(this._rawCount))(this.count()),c=0;c<m.length;c++)m[c]=c}return m},P.prototype.filter=function(m,g){if(!this._count)return this;for(var f=this.clone(),T=f.count(),v=new(y(f._rawCount))(T),_=[],i=m.length,h=0,e=m[0],o=f._chunks,u=0;u<T;u++){var s=void 0,r=f.getRawIndex(u);if(0===i)s=g(u);else if(1===i)s=g(o[e][r],u);else{for(var t=0;t<i;t++)_[t]=o[m[t]][r];_[t]=u,s=g.apply(null,_)}s&&(v[h++]=r)}return h<T&&(f._indices=v),f._count=h,f._extent=[],f._updateGetRawIdx(),f},P.prototype.selectRange=function(m){var g=this.clone(),f=g._count;if(!f)return this;var T=(0,x.keys)(m),c=T.length;if(!c)return this;var v=g.count(),i=new(y(g._rawCount))(v),h=0,e=T[0],o=m[e][0],u=m[e][1],s=g._chunks,r=!1;if(!g._indices){var n=0;if(1===c){for(var t=s[T[0]],a=0;a<f;a++)((p=t[a])>=o&&p<=u||isNaN(p))&&(i[h++]=n),n++;r=!0}else if(2===c){t=s[T[0]];var O=s[T[1]],B=m[T[1]][0],z=m[T[1]][1];for(a=0;a<f;a++){var H=O[a];((p=t[a])>=o&&p<=u||isNaN(p))&&(H>=B&&H<=z||isNaN(H))&&(i[h++]=n),n++}r=!0}}if(!r)if(1===c)for(a=0;a<v;a++){var C=g.getRawIndex(a);((p=s[T[0]][C])>=o&&p<=u||isNaN(p))&&(i[h++]=C)}else for(a=0;a<v;a++){for(var D=!0,N=(C=g.getRawIndex(a),0);N<c;N++){var p,I=T[N];((p=s[I][C])<m[I][0]||p>m[I][1])&&(D=!1)}D&&(i[h++]=g.getRawIndex(a))}return h<v&&(g._indices=i),g._count=h,g._extent=[],g._updateGetRawIdx(),g},P.prototype.map=function(m,g){var f=this.clone(m);return this._updateDims(f,m,g),f},P.prototype.modify=function(m,g){this._updateDims(this,m,g)},P.prototype._updateDims=function(m,g,f){for(var T=m._chunks,c=[],v=g.length,_=m.count(),i=[],h=m._rawExtent,e=0;e<g.length;e++)h[g[e]]=[1/0,-1/0];for(var o=0;o<_;o++){for(var u=m.getRawIndex(o),s=0;s<v;s++)i[s]=T[g[s]][u];i[v]=o;var r=f&&f.apply(null,i);if(null!=r)for("object"!=typeof r&&(c[0]=r,r=c),e=0;e<r.length;e++){var n=g[e],t=r[e],a=h[n],p=T[n];p&&(p[u]=t),t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}}},P.prototype.lttbDownSample=function(m,g){var e,o,u,f=this.clone([m],!0),c=f._chunks[m],v=this.count(),_=0,i=Math.floor(1/g),h=this.getRawIndex(0),s=new(y(this._rawCount))(Math.min(2*(Math.ceil(v/i)+2),v));s[_++]=h;for(var r=1;r<v-1;r+=i){for(var n=Math.min(r+i,v-1),t=Math.min(r+2*i,v),a=(t+n)/2,p=0,O=n;O<t;O++){var z=c[B=this.getRawIndex(O)];isNaN(z)||(p+=z)}p/=t-n;var H=r,C=Math.min(r+i,v),D=r-1,N=c[h];e=-1,u=H;var I=-1,V=0;for(O=H;O<C;O++){var B;z=c[B=this.getRawIndex(O)],isNaN(z)?(V++,I<0&&(I=B)):(o=Math.abs((D-a)*(z-N)-(D-O)*(p-N)))>e&&(e=o,u=B)}V>
10&&V<C-H&&(s[_++]=Math.min(I,u),u=Math.max(I,u)),s[_++]=u,h=u}return s[_++]=this.getRawIndex(v-1),f._count=_,f._indices=s,f.getRawIndex=this._getRawIdx,f},P.prototype.minmaxDownSample=function(m,g){for(var f=this.clone([m],!0),T=f._chunks,c=Math.floor(1/g),v=T[m],_=this.count(),i=new(y(this._rawCount))(2*Math.ceil(_/c)),h=0,e=0;e<_;e+=c){var o=e,u=v[this.getRawIndex(o)],s=e,r=v[this.getRawIndex(s)],n=c;e+c>_&&(n=_-e);for(var t=0;t<n;t++){var p=v[this.getRawIndex(e+t)];p<u&&(u=p,o=e+t),p>r&&(r=p,s=e+t)}var O=this.getRawIndex(o),B=this.getRawIndex(s);o<s?(i[h++]=O,i[h++]=B):(i[h++]=B,i[h++]=O)}return f._count=h,f._indices=i,f._updateGetRawIdx(),f},P.prototype.downSample=function(m,g,f,T){for(var c=this.clone([m],!0),v=c._chunks,_=[],i=Math.floor(1/g),h=v[m],e=this.count(),o=c._rawExtent[m]=[1/0,-1/0],u=new(y(this._rawCount))(Math.ceil(e/i)),s=0,r=0;r<e;r+=i){i>e-r&&(_.length=i=e-r);for(var n=0;n<i;n++){var t=this.getRawIndex(r+n);_[n]=h[t]}var a=f(_),p=this.getRawIndex(Math.min(r+T(_,a)||0,e-1));h[p]=a,a<o[0]&&(o[0]=a),a>o[1]&&(o[1]=a),u[s++]=p}return c._count=s,c._indices=u,c._updateGetRawIdx(),c},P.prototype.each=function(m,g){if(this._count)for(var f=m.length,T=this._chunks,c=0,v=this.count();c<v;c++){var _=this.getRawIndex(c);switch(f){case 0:g(c);break;case 1:g(T[m[0]][_],c);break;case 2:g(T[m[0]][_],T[m[1]][_],c);break;default:for(var i=0,h=[];i<f;i++)h[i]=T[m[i]][_];h[i]=c,g.apply(null,h)}}},P.prototype.getDataExtent=function(m){var g=this._chunks[m],f=[1/0,-1/0];if(!g)return f;var v,T=this.count();if(!this._indices)return this._rawExtent[m].slice();if(v=this._extent[m])return v.slice();for(var _=(v=f)[0],i=v[1],h=0;h<T;h++){var o=g[this.getRawIndex(h)];o<_&&(_=o),o>i&&(i=o)}return this._extent[m]=v=[_,i],v},P.prototype.getRawDataItem=function(m){var g=this.getRawIndex(m);if(this._provider.persistent)return this._provider.getItem(g);for(var f=[],T=this._chunks,c=0;c<T.length;c++)f.push(T[c][g]);return f},P.prototype.clone=function(m,g){var f=new P,T=this._chunks,c=m&&(0,x.reduce)(m,function(_,i){return _[i]=!0,_},{});if(c)for(var v=0;v<T.length;v++)f._chunks[v]=c[v]?A(T[v]):T[v];else f._chunks=T;return this._copyCommonProps(f),g||(f._indices=this._cloneIndices()),f._updateGetRawIdx(),f},P.prototype._copyCommonProps=function(m){m._count=this._count,m._rawCount=this._rawCount,m._provider=this._provider,m._dimensions=this._dimensions,m._extent=(0,x.clone)(this._extent),m._rawExtent=(0,x.clone)(this._rawExtent)},P.prototype._cloneIndices=function(){if(this._indices){var m=this._indices.constructor,g=void 0;if(m===Array){var f=this._indices.length;g=new m(f);for(var T=0;T<f;T++)g[T]=this._indices[T]}else g=new m(this._indices);return g}return null},P.prototype._getRawIdxIdentity=function(m){return m},P.prototype._getRawIdx=function(m){return m<this._count&&m>=0?this._indices[m]:-1},P.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},P.internalField=function(){function m(g,f,T,c){return(0,Y.Pn)(g[c],this._dimensions[c])}L={arrayRows:m,objectRows:function(g,f,T,c){return(0,Y.Pn)(g[f],this._dimensions[c])},keyedColumns:m,original:function(g,f,T,c){var v=g&&(null==g.value?g:g.value);return(0,Y.Pn)(v instanceof Array?v[c]:v,this._dimensions[c])},typedArray:function(g,f,T,c){return g[c]}}}(),P}()},72441:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(68453),Y=0;function F(W){return(0,x.isObject)(W)&&null!=W.value?W.value:W+""}const U=function(){function W(G){this.categories=G.categories||[],this._needCollect=G.needCollect,this._deduplication=G.deduplication,this.uid=++Y}return W.createByAxisModel=function(G){var w=G.option,R=w.data,L=R&&(0,x.map)(R,F);return new W({categories:L,needCollect:!L,deduplication:!1!==w.dedplication})},W.prototype.getOrdinal=function(G){return this._getOrCreateMap().get(G)},W.prototype.parseAndCollect=function(G){var w,R=this._needCollect;if(!(0,x.isString)(G)&&!R)return G;if(R&&!this._deduplication)return this.categories[w=this.categories.length]=G,w;var L=this._getOrCreateMap();return null==(w=L.get(G))&&(R?(this.categories[w=this.categories.length]=G,L.set(G,w)):w=NaN),w},W.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,x.createHashMap)(this.categories))},W}()},61624:(jt,ht,l)=>{l.d(ht,{A:()=>r});var x=l(68453),Y=l(85569);function b(n){return null==n?0:n.length||1}function F(n){return n}const W=function(){function n(t,a,p,O,B,z){this._old=t,this._new=a,this._oldKeyGetter=p||F,this._newKeyGetter=O||F,this.context=B,this._diffModeMultiple="multiple"===z}return n.prototype.add=function(t){return this._add=t,this},n.prototype.update=function(t){return this._update=t,this},n.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},n.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},n.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},n.prototype.remove=function(t){return this._remove=t,this},n.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},n.prototype._executeOneToOne=function(){var t=this._old,a=this._new,p={},O=new Array(t.length),B=new Array(a.length);this._initIndexMap(t,null,O,"_oldKeyGetter"),this._initIndexMap(a,p,B,"_newKeyGetter");for(var z=0;z<t.length;z++){var H=O[z],C=p[H],D=b(C);if(D>1){var N=C.shift();1===C.length&&(p[H]=C[0]),this._update&&this._update(N,z)}else 1===D?(p[H]=null,this._update&&this._update(C,z)):this._remove&&this._remove(z)}this._performRestAdd(B,p)},n.prototype._executeMultiple=function(){var a=this._new,p={},O={},B=[],z=[];this._initIndexMap(this._old,p,B,"_oldKeyGetter"),this._initIndexMap(a,O,z,"_newKeyGetter");for(var H=0;H<B.length;H++){var C=B[H],D=p[C],N=O[C],I=b(D),V=b(N);if(I>1&&1===V)this._updateManyToOne&&this._updateManyToOne(N,D),O[C]=null;else if(1===I&&V>1)this._updateOneToMany&&this._updateOneToMany(N,D),O[C]=null;else if(1===I&&1===V)this._update&&this._update(N,D),O[C]=null;else if(I>1&&V>1)this._updateManyToMany&&this._updateManyToMany(N,D),O[C]=null;else if(I>1)for(var k=0;k<I;k++)this._remove&&this._remove(D[k]);else this._remove&&this._remove(D)}this._performRestAdd(z,O)},n.prototype._performRestAdd=function(t,a){for(var p=0;p<t.length;
1p++){var O=t[p],B=a[O],z=b(B);if(z>1)for(var H=0;H<z;H++)this._add&&this._add(B[H]);else 1===z&&this._add&&this._add(B);a[O]=null}},n.prototype._initIndexMap=function(t,a,p,O){for(var B=this._diffModeMultiple,z=0;z<t.length;z++){var H="_ec_"+this[O](t[z],z);if(B||(p[z]=H),a){var C=a[H],D=b(C);0===D?(a[H]=z,B&&p.push(H)):1===D?a[H]=[C,z]:C.push(z)}}},n}();var v,_,i,h,e,o,u,G=l(95177),w=l(6666),R=l(71361),L=l(74984),y=l(94804),d=l(55152),A=l(42080),S=l(27100),M=l(29138),E=x.isObject,P=x.map,m=typeof Int32Array>"u"?Array:Int32Array,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],c=["_approximateExtent"];const r=function(){function n(t,a){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var p,O=!1;(0,M.fg)(t)?(p=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(O=!0,p=t),p=p||["x","y"];for(var B={},z=[],H={},C=!1,D={},N=0;N<p.length;N++){var I=p[N],V=x.isString(I)?new R.A({name:I}):I instanceof R.A?I:new R.A(I),k=V.name;V.type=V.type||"float",V.coordDim||(V.coordDim=k,V.coordDimIndex=0);var $=V.otherDims=V.otherDims||{};z.push(k),B[k]=V,null!=D[k]&&(C=!0),V.createInvertedIndices&&(H[k]=[]),0===$.itemName&&(this._nameDimIdx=N),0===$.itemId&&(this._idDimIdx=N),O&&(V.storeDimIndex=N)}if(this.dimensions=z,this._dimInfos=B,this._initGetDimensionInfo(C),this.hostModel=a,this._invertedIndicesMap=H,this._dimOmitted){var tt=this._dimIdxToName=x.createHashMap();x.each(z,function(ot){tt.set(B[ot].storeDimIndex,ot)})}}return n.prototype.getDimension=function(t){var a=this._recognizeDimIndex(t);if(null==a)return t;if(a=t,!this._dimOmitted)return this.dimensions[a];var p=this._dimIdxToName.get(a);if(null!=p)return p;var O=this._schema.getSourceDimension(a);return O?O.name:void 0},n.prototype.getDimensionIndex=function(t){var a=this._recognizeDimIndex(t);if(null!=a)return a;if(null==t)return-1;var p=this._getDimInfo(t);return p?p.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},n.prototype._recognizeDimIndex=function(t){if(x.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},n.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},n.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},n.prototype._initGetDimensionInfo=function(t){var a=this._dimInfos;this._getDimInfo=t?function(p){return a.hasOwnProperty(p)?a[p]:void 0}:function(p){return a[p]}},n.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},n.prototype.mapDimension=function(t,a){var p=this._dimSummary;if(null==a)return p.encodeFirstDimNotExtra[t];var O=p.encode[t];return O?O[a]:null},n.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},n.prototype.getStore=function(){return this._store},n.prototype.initData=function(t,a,p){var B,O=this;if(t instanceof S.Ay&&(B=t),!B){var z=this.dimensions,H=(0,A.tP)(t)||x.isArrayLike(t)?new G.d1(t,z.length):t;B=new S.Ay;var C=P(z,function(D){return{type:O._dimInfos[D].type,property:D}});B.initData(H,C,p)}this._store=B,this._nameList=(a||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,B.count()),this._dimSummary=(0,w.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},n.prototype.appendData=function(t){var a=this._store.appendData(t);this._doInit(a[0],a[1])},n.prototype.appendValues=function(t,a){var p=this._store.appendValues(t,a&&a.length),O=p.start,B=p.end,z=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),a)for(var H=O;H<B;H++)this._nameList[H]=a[H-O],z&&u(this,H)},n.prototype._updateOrdinalMeta=function(){for(var t=this._store,a=this.dimensions,p=0;p<a.length;p++){var O=this._dimInfos[a[p]];O.ordinalMeta&&t.collectOrdinalMeta(O.storeDimIndex,O.ordinalMeta)}},n.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==L.XO&&!t.fillStorage},n.prototype._doInit=function(t,a){if(!(t>=a)){var O=this._store.getProvider();this._updateOrdinalMeta();var B=this._nameList,z=this._idList;if(O.getSource().sourceFormat===L.mK&&!O.pure)for(var D=[],N=t;N<a;N++){var I=O.getItem(N,D);if(!this.hasItemOption&&(0,y.zu)(I)&&(this.hasItemOption=!0),I){var V=I.name;null==B[N]&&null!=V&&(B[N]=(0,y.vS)(V,null));var k=I.id;null==z[N]&&null!=k&&(z[N]=(0,y.vS)(k,null))}}if(this._shouldMakeIdFromName())for(N=t;N<a;N++)u(this,N);v(this)}},n.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.setApproximateExtent=function(t,a){a=this.getDimension(a),this._approximateExtent[a]=t.slice()},n.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},n.prototype.setCalculationInfo=function(t,a){E(t)?x.extend(this._calculationInfo,t):this._calculationInfo[t]=a},n.prototype.getName=function(t){var a=this.getRawIndex(t),p=this._nameList[a];return null==p&&null!=this._nameDimIdx&&(p=i(this,this._nameDimIdx,a)),null==p&&(p=""),p},n.prototype._getCategory=function(t,a){var p=this._store.get(t,a),O=this._store.getOrdinalMeta(t);return O?O.categories[p]:p},n.prototype.getId=function(t){return _(this,this.getRawIndex(t))},n.prototype.count=function(){return this._store.count()},n.prototype.get=function(t,a){var O=this._dimInfos[t];if(O)return this._store.get(O.storeDimIndex,a)},n.prototype.getByRawIndex=function(t,a){var O=this._dimInfos[t];if(O)return this._store.getByRawIndex(O.storeDimIndex,a)},n.prototype.getIndices=function(){return this._store.getIndices()},n.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},n.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},n.prototype.getValues=function(t,a){var p=this,O=this._store;return x.isArray(t)?O.getValues(P(t,function(B){return p._getStoreDimIndex(B)}),a):O.getValues(t)},n.prototype.hasValue=function(t){for(var a=this._dimSummary.dataDimIndicesOnCoord,p=0,O=a.length;p<O;p++)if(isNaN(this._store.get(a[p],t)))return!1;return!0},n.prototype.indexOfName=function(t){for(var a=0,p=this._store.count();a<p;a++)if(this.getName(a)===t)return a;return-1},n.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},n.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},n.prototype.rawIndexOf=function(t,a){var p=t&&this._invertedIndicesMap[t],O=p&&p[a];return null==O||isNaN(O)?-1:O},n.prototype.indicesOfNearest=function(t,a,p){return this._store.indicesOfNearest(this._getStoreDimIndex(t),a,p)},n.prototype.each=function(t,a,p){x.isFunction(t)&&(p=a,a=t,t=[]);var O=p||this,B=P(h(t),this._getStoreDimIndex,this);this._store.each(B,O?x.bind(a,O):a)},n.prototype.filterSelf=function(t,a,p){x.isFunction(t)&&(p=a,a=t,t=[]);var O=p||this,B=P(h(t),this._getStoreDimIndex,this);return this._store=this._store.filter(B,O?x.bind(a,O):a),this},n.prototype.selectRange=function(t){var a=this,p={},O=x.keys(t),B=[];return x.each(O,function(z){var H=a._getStoreDimIndex(z);p[H]=t[z],B.push(H)}),this._store=this._store.selectRange(p),this},n.prototype.mapArray=function(t,a,p){x.isFunction(t)&&(p=a,a=t,t=[]);var O=[];return this.each(t,function(){O.push(a&&a.apply(this,arguments))}
1,p=p||this),O},n.prototype.map=function(t,a,p,O){var B=p||O||this,z=P(h(t),this._getStoreDimIndex,this),H=o(this);return H._store=this._store.map(z,B?x.bind(a,B):a),H},n.prototype.modify=function(t,a,p,O){var z=p||O||this,H=P(h(t),this._getStoreDimIndex,this);this._store.modify(H,z?x.bind(a,z):a)},n.prototype.downSample=function(t,a,p,O){var B=o(this);return B._store=this._store.downSample(this._getStoreDimIndex(t),a,p,O),B},n.prototype.minmaxDownSample=function(t,a){var p=o(this);return p._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),a),p},n.prototype.lttbDownSample=function(t,a){var p=o(this);return p._store=this._store.lttbDownSample(this._getStoreDimIndex(t),a),p},n.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},n.prototype.getItemModel=function(t){var a=this.hostModel,p=this.getRawDataItem(t);return new Y.A(p,a,a&&a.ecModel)},n.prototype.diff=function(t){var a=this;return new W(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(p){return _(t,p)},function(p){return _(a,p)})},n.prototype.getVisual=function(t){var a=this._visual;return a&&a[t]},n.prototype.setVisual=function(t,a){this._visual=this._visual||{},E(t)?x.extend(this._visual,t):this._visual[t]=a},n.prototype.getItemVisual=function(t,a){var p=this._itemVisuals[t];return(p&&p[a])??this.getVisual(a)},n.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},n.prototype.ensureUniqueItemVisual=function(t,a){var p=this._itemVisuals,O=p[t];O||(O=p[t]={});var B=O[a];return null==B&&(B=this.getVisual(a),x.isArray(B)?B=B.slice():E(B)&&(B=x.extend({},B)),O[a]=B),B},n.prototype.setItemVisual=function(t,a,p){var O=this._itemVisuals[t]||{};this._itemVisuals[t]=O,E(a)?x.extend(O,a):O[a]=p},n.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},n.prototype.setLayout=function(t,a){E(t)?x.extend(this._layout,t):this._layout[t]=a},n.prototype.getLayout=function(t){return this._layout[t]},n.prototype.getItemLayout=function(t){return this._itemLayouts[t]},n.prototype.setItemLayout=function(t,a,p){this._itemLayouts[t]=p?x.extend(this._itemLayouts[t]||{},a):a},n.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},n.prototype.setItemGraphicEl=function(t,a){(0,d.a)(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,a),this._graphicEls[t]=a},n.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},n.prototype.eachItemGraphicEl=function(t,a){x.each(this._graphicEls,function(p,O){p&&t&&t.call(a,p,O)})},n.prototype.cloneShallow=function(t){return t||(t=new n(this._schema?this._schema:P(this.dimensions,this._getDimInfo,this),this.hostModel)),e(t,this),t._store=this._store,t},n.prototype.wrapMethod=function(t,a){var p=this[t];x.isFunction(p)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var O=p.apply(this,arguments);return a.apply(this,[O].concat(x.slice(arguments)))})},n.internalField=(v=function(t){var a=t._invertedIndicesMap;x.each(a,function(p,O){var B=t._dimInfos[O],z=B.ordinalMeta,H=t._store;if(z){p=a[O]=new m(z.categories.length);for(var C=0;C<p.length;C++)p[C]=-1;for(C=0;C<H.count();C++)p[H.get(B.storeDimIndex,C)]=C}})},i=function(t,a,p){return(0,y.vS)(t._getCategory(a,p),null)},_=function(t,a){var p=t._idList[a];return null==p&&null!=t._idDimIdx&&(p=i(t,t._idDimIdx,a)),null==p&&(p="e\0\0"+a),p},h=function(t){return x.isArray(t)||(t=null!=t?[t]:[]),t},o=function(t){var a=new n(t._schema?t._schema:P(t.dimensions,t._getDimInfo,t),t.hostModel);return e(a,t),a},e=function(t,a){x.each(T.concat(a.__wrappedMethods||[]),function(p){a.hasOwnProperty(p)&&(t[p]=a[p])}),t.__wrappedMethods=a.__wrappedMethods,x.each(c,function(p){t[p]=x.clone(a[p])}),t._calculationInfo=x.extend({},a._calculationInfo)},void(u=function(t,a){var p=t._nameList,O=t._idList,B=t._nameDimIdx,z=t._idDimIdx,H=p[a],C=O[a];if(null==H&&null!=B&&(p[a]=H=i(t,B,a)),null==C&&null!=z&&(O[a]=C=i(t,z,a)),null==C&&null!=H){var D=t._nameRepeatCount,N=D[H]=(D[H]||0)+1;C=H,N>1&&(C+="__ec__"+N),O[a]=C}})),n}()},71361:(jt,ht,l)=>{l.d(ht,{A:()=>b});var x=l(68453);const b=function(){return function F(U){this.otherDims={},null!=U&&x.extend(this,U)}}()},42080:(jt,ht,l)=>{l.d(ht,{AF:()=>w,BE:()=>R,O0:()=>M,gV:()=>G,tP:()=>W,wZ:()=>L});var x=l(68453),Y=l(74984),b=l(94804),F=l(64225),U=function(){return function E(P){this.data=P.data||(P.sourceFormat===Y.t1?{}:[]),this.sourceFormat=P.sourceFormat||Y.vm,this.seriesLayoutBy=P.seriesLayoutBy||Y.i_,this.startIndex=P.startIndex||
10,this.dimensionsDetectedCount=P.dimensionsDetectedCount,this.metaRawOption=P.metaRawOption;var m=this.dimensionsDefine=P.dimensionsDefine;if(m)for(var g=0;g<m.length;g++){var f=m[g];null==f.type&&(0,F.PU)(this,g)===F.sc.Must&&(f.type="ordinal")}}}();function W(E){return E instanceof U}function G(E,P,m){m=m||L(E);var g=P.seriesLayoutBy,f=function y(E,P,m,g,f){var T,c;if(!E)return{dimensionsDefine:A(f),startIndex:c,dimensionsDetectedCount:T};if(P===Y.Km){var v=E;"auto"===g||null==g?S(function(i){null!=i&&"-"!==i&&((0,x.isString)(i)?null==c&&(c=1):c=0)},m,v,10):c=(0,x.isNumber)(g)?g:g?1:0,!f&&1===c&&(f=[],S(function(i,h){f[h]=null!=i?i+"":""},m,v,1/0)),T=f?f.length:m===Y.oC?v.length:v[0]?v[0].length:null}else if(P===Y.Wk)f||(f=function d(E){for(var m,P=0;P<E.length&&!(m=E[P++]););if(m)return(0,x.keys)(m)}(E));else if(P===Y.t1)f||(f=[],(0,x.each)(E,function(i,h){f.push(h)}));else if(P===Y.mK){var _=(0,b.vj)(E[0]);T=(0,x.isArray)(_)&&_.length||1}return{startIndex:c,dimensionsDefine:A(f),dimensionsDetectedCount:T}}(E,m,g,P.sourceHeader,P.dimensions);return new U({data:E,sourceFormat:m,seriesLayoutBy:g,dimensionsDefine:f.dimensionsDefine,startIndex:f.startIndex,dimensionsDetectedCount:f.dimensionsDetectedCount,metaRawOption:(0,x.clone)(P)})}function w(E){return new U({data:E,sourceFormat:(0,x.isTypedArray)(E)?Y.XO:Y.mK})}function R(E){return new U({data:E.data,sourceFormat:E.sourceFormat,seriesLayoutBy:E.seriesLayoutBy,dimensionsDefine:(0,x.clone)(E.dimensionsDefine),startIndex:E.startIndex,dimensionsDetectedCount:E.dimensionsDetectedCount})}function L(E){var P=Y.vm;if((0,x.isTypedArray)(E))P=Y.XO;else if((0,x.isArray)(E)){0===E.length&&(P=Y.Km);for(var m=0,g=E.length;m<g;m++){var f=E[m];if(null!=f){if((0,x.isArray)(f)||(0,x.isTypedArray)(f)){P=Y.Km;break}if((0,x.isObject)(f)){P=Y.Wk;break}}}}else if((0,x.isObject)(E))for(var T in E)if((0,x.hasOwn)(E,T)&&(0,x.isArrayLike)(E[T])){P=Y.t1;break}return P}function A(E){if(E){var P=(0,x.createHashMap)();return(0,x.map)(E,function(m,g){var f={name:(m=(0,x.isObject)(m)?m:{name:m}).name,displayName:m.displayName,type:m.type};if(null==f.name)return f;f.name+="",null==f.displayName&&(f.displayName=f.name);var T=P.get(f.name);
1return T?f.name+="-"+T.count++:P.set(f.name,{count:1}),f})}}function S(E,P,m,g){if(P===Y.oC)for(var f=0;f<m.length&&f<g;f++)E(m[f]?m[f][0]:null,f);else{var T=m[0]||[];for(f=0;f<T.length&&f<g;f++)E(T[f],f)}}function M(E){var P=E.sourceFormat;return P===Y.Wk||P===Y.t1}},29138:(jt,ht,l)=>{l.d(ht,{Tc:()=>W,eS:()=>L,fg:()=>G,io:()=>w,j_:()=>R});var x=l(68453),Y=l(94804),b=l(42080),F=(0,Y.$r)(),U={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},W=function(){function y(d){this.dimensions=d.dimensions,this._dimOmitted=d.dimensionOmitted,this.source=d.source,this._fullDimCount=d.fullDimensionCount,this._updateDimOmitted(d.dimensionOmitted)}return y.prototype.isDimensionOmitted=function(){return this._dimOmitted},y.prototype._updateDimOmitted=function(d){this._dimOmitted=d,d&&(this._dimNameMap||(this._dimNameMap=R(this.source)))},y.prototype.getSourceDimensionIndex=function(d){return(0,x.retrieve2)(this._dimNameMap.get(d),-1)},y.prototype.getSourceDimension=function(d){var A=this.source.dimensionsDefine;if(A)return A[d]},y.prototype.makeStoreSchema=function(){for(var d=this._fullDimCount,A=(0,b.O0)(this.source),S=!L(d),M="",E=[],P=0,m=0;P<d;P++){var g=void 0,f=void 0,T=void 0,c=this.dimensions[m];if(c&&c.storeDimIndex===P)g=A?c.name:null,f=c.type,T=c.ordinalMeta,m++;else{var v=this.getSourceDimension(P);v&&(g=A?v.name:null,f=v.type)}E.push({property:g,type:f,ordinalMeta:T}),A&&null!=g&&(!c||!c.isCalculationCoord)&&(M+=S?g.replace(/\`/g,"`1").replace(/\$/g,"`2"):g),M+="$",M+=U[f]||"f",T&&(M+=T.uid),M+="$"}var _=this.source;return{dimensions:E,hash:[_.seriesLayoutBy,_.startIndex,M].join("$$")}},y.prototype.makeOutputDimensionNames=function(){for(var d=[],A=0,S=0;A<this._fullDimCount;A++){var M=void 0,E=this.dimensions[S];if(E&&E.storeDimIndex===A)E.isCalculationCoord||(M=E.name),S++;else{var P=this.getSourceDimension(A);P&&(M=P.name)}d.push(M)}return d},y.prototype.appendCalculationDimension=function(d){this.dimensions.push(d),d.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},y}();function G(y){return y instanceof W}function w(y){for(var d=(0,x.createHashMap)(),A=0;A<(y||[]).length;A++){var S=y[A],M=(0,x.isObject)(S)?S.name:S;null!=M&&null==d.get(M)&&d.set(M,A)}return d}function R(y){var d=F(y);return d.dimNameMap||(d.dimNameMap=w(y.dimensionsDefine))}function L(y){return y>30}},82705:(jt,ht,l)=>{l.d(ht,{A:()=>L,M:()=>R});var x=l(74984),Y=l(71361),b=l(68453),F=l(42080),U=l(27100),W=l(94804),G=l(64225),w=l(29138);function R(S,M){return L(S,M).dimensions}function L(S,M){(0,F.tP)(S)||(S=(0,F.AF)(S));var E=(M=M||{}).coordDimensions||[],P=M.dimensionsDefine||S.dimensionsDefine||[],m=(0,b.createHashMap)(),g=[],f=function d(S,M,E,P){var m=Math.max(S.dimensionsDetectedCount||1,M.length,E.length,P||0);return(0,b.each)(M,function(g){var f;(0,b.isObject)(g)&&(f=g.dimsDef)&&(m=Math.max(m,f.length))}),m}(S,E,P,M.dimensionsCount),T=M.canOmitUnusedDimensions&&(0,w.eS)(f),c=P===S.dimensionsDefine,v=c?(0,w.j_)(S):(0,w.io)(P),_=M.encodeDefine;!_&&M.encodeDefaulter&&(_=M.encodeDefaulter(S,f));for(var i=(0,b.createHashMap)(_),h=new U.A_(f),e=0;e<h.length;e++)h[e]=-1;function o(H){var C=h[H];if(C<0){var D=P[H],N=(0,b.isObject)(D)?D:{name:D},I=new Y.A,V=N.name;return null!=V&&null!=v.get(V)&&(I.name=I.displayName=V),null!=N.type&&(I.type=N.type),null!=N.displayName&&(I.displayName=N.displayName),h[H]=g.length,I.storeDimIndex=H,g.push(I),I}return g[C]}if(!T)for(e=0;e<f;e++)o(e);i.each(function(H,C){var D=(0,W.qB)(H).slice();if(1===D.length&&!(0,b.isString)(D[0])&&D[0]<0)i.set(C,!1);else{var N=i.set(C,[]);(0,b.each)(D,function(I,V){var k=(0,b.isString)(I)?v.get(I):I;null!=k&&k<f&&(N[V]=k,s(o(k),C,V))})}});var u=0;function s(H,C,D){null!=x.Pe.get(C)?H.otherDims[C]=D:(H.coordDim=C,H.coordDimIndex=D,m.set(C,!0))}(0,b.each)(E,function(H){var C,D,N,I;if((0,b.isString)(H))C=H,I={};else{C=(I=H).name;var V=I.ordinalMeta;I.ordinalMeta=null,(I=(0,b.extend)({},I)).ordinalMeta=V,D=I.dimsDef,N=I.otherDims,I.name=I.coordDim=I.coordDimIndex=I.dimsDef=I.otherDims=null}var k=i.get(C);if(!1!==k){if(!(k=(0,W.qB)(k)).length)for(var $=0;$<(D&&D.length||1);$++){for(;u<f&&null!=o(u).coordDim;)u++;u<f&&k.push(u++)}(0,b.each)(k,function(tt,ot){var at=o(tt);if(c&&null!=I.type&&(at.type=I.type),s((0,b.defaults)(at,I),C,ot),null==at.name&&D){var pt=D[ot];!(0,b.isObject)(pt)&&(pt={name:pt}),at.name=at.displayName=pt.name,at.defaultTooltip=pt.defaultTooltip}N&&(0,b.defaults)(at.otherDims,N)})}});var r=M.generateCoord,n=M.generateCoordCount,t=null!=n;n=r?n||1:0;var a=r||"value";function p(H){null==H.name&&(H.name=H.coordDim)}if(T)(0,b.each)(g,function(H){p(H)}),g.sort(function(H,C){return H.storeDimIndex-C.storeDimIndex});else for(var O=0;O<f;O++){var B=o(O);null==B.coordDim&&(B.coordDim=A(a,m,t),B.coordDimIndex=0,(!r||n<=0)&&(B.isExtraCoord=!0),n--),p(B),null==B.type&&((0,G.PU)(S,O)===G.sc.Must||B.isExtraCoord&&(null!=B.otherDims.itemName||null!=B.otherDims.seriesName))&&(B.type="ordinal")}return function y(S){for(var M=(0,b.createHashMap)(),E=0;E<S.length;E++){var P=S[E],m=P.name,g=M.get(m)||0;g>0&&(P.name=m+(g-1)),g++,M.set(m,g)}}(g),new w.Tc({source:S,dimensions:g,fullDimensionCount:f,dimensionOmitted:T})}function A(S,M,E){if(E||M.hasKey(S)){for(var P=0;M.hasKey(S+P);)P++;S+=P}return M.set(S,!0),S}},95177:(jt,ht,l)=>{l.d(ht,{Kd:()=>E,QE:()=>T,d1:()=>L,sC:()=>A,uQ:()=>g});var U,W,G,w,R,x=l(68453),Y=l(94804),b=l(42080),F=l(74984),L=function(){function v(_,i){var h=(0,b.tP)(_)?_:(0,b.AF)(_);this._source=h;var e=this._data=h.data;h.sourceFormat===F.XO&&(this._offset=0,this._dimSize=i,this._data=e),R(this,e,h)}return v.prototype.getSource=function(){return this._source},v.prototype.count=function(){return 0},v.prototype.getItem=function(_,i){},v.prototype.appendData=function(_){},v.prototype.clean=function(){},v.protoInitialize=((_=v.prototype).pure=!1,void(_.persistent=!0)),v.internalField=function(){var _;R=function(u,s,r){var n=r.sourceFormat,t=r.seriesLayoutBy,a=r.startIndex,p=r.dimensionsDefine,O=w[f(n,t)];if((0,x.extend)(u,O),n===F.XO)u.getItem=i,u.count=e,u.fillStorage=h;else{var B=A(n,t);u.getItem=(0,x.bind)(B,null,s,a,p);var z=E(n,t);u.count=(0,x.bind)(z,null,s,a,p)}};var i=function(u,s){s=s||[];for(var r=this._data,n=this._dimSize,t=n*(u-=this._offset),a=0;a<n;a++)s[a]=r[t+a];return s},h=function(u,s,r,n){for(var t=this._data,a=this._dimSize,p=0;p<a;p++){for(var O=n[p],B=null==O[0]?1/0:O[0],z=null==O[1]?-1/0:O[1],H=s-u,C=r[p],D=0;D<H;D++){var N=t[D*a+p];C[u+D]=N,N<B&&(B=N),N>z&&(z=N)}O[0]=B,O[1]=z}},e=function(){return this._data?this._data.length/this._dimSize:0};function o(u){for(var s=0;s<u.length;s++)this._data.push(u[s])}(_={})[F.Km+"_"+F.i_]={pure:!0,appendData:o},_[F.Km+"_"+F.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},_[F.Wk]={pure:!0,appendData:o},_[F.t1]={pure:!0,appendData:function(u){var s=this._data;(0,x.each)(u,function(r,n){for(var t=s[n]||(s[n]=[]),a=0;a<(r||[]).length;a++)t.push(r[a])})}},_[F.mK]={appendData:o},_[F.XO]={persistent:!1,pure:!0,appendData:function(u){this._data=u},clean:function(){this._offset+=this.count(),this._data=null}},w=_}(),v;var _}(),y=function(v,_,i,h){return v[h]},d=((U={})[F.Km+"_"+F.i_]=function(v,_,i,h){return v[h+_]},U[F.Km+"_"+F.oC]=function(v,_,i,h,e){h+=_;for(var o=e||[],u=v,s=0;s<u.length;s++){var r=u[s];o[s]=r?r[h]:null}return o},U[F.Wk]=y,U[F.t1]=function(v,_,i,h,e){for(var o=e||[],u=0;u<i.length;u++){var r=v[i[u].name];o[u]=r?r[h]:null}return o},U[F.mK]=y,U);function A(v,_){return d[f(v,_)]}var S=function(v,_,i){return v.length},M=((W={})[F.Km+"_"+F.i_]=function(v,_,i){return Math.max(0,v.length-_)},W[F.Km+"_"+F.oC]=function(v,_,i){var h=v[0];return h?Math.max(0,h.length-_):0},W[F.Wk]=S,W[F.t1]=function(v,_,i){var e=v[i[0].name];return e?e.length:0},W[F.mK]=S,W);function E(v,_){return M[f(v,_)]}var P=function(v,_,i){return v[_]},m=((G={})[F.Km]=P,G[F.Wk]=function(v,_,i){return v[i]},G[F.t1]=P,G[F.mK]=function(v,_,i){var h=(0,Y.vj)(v);return h instanceof Array?h[_]:h},G[F.XO]=P,G);function g(v){return m[v]}function f(v,_){return v===F.Km?v+"_"+_:v}function T(v,_,i){if(v){var h=v.getRawDataItem(_);if(null!=h){var e=v.getStore(),o=e.getSource().sourceFormat;if(null!=i){var u=v.getDimensionIndex(i),s=e.getDimensionProperty(u);return g(o)(h,u,s)}var r=h;return o===F.mK&&(r=(0,Y.vj)(h)),r}}}},3026:(jt,ht,l)=>{l.d(ht,{iJ:()=>b,me:()=>W,sJ:()=>U});var x=l(68453),Y=l(29138);function b(G,w,R){var d,A,S,L=(R=R||{}).byIndex,y=R.stackedCoordDimension;!function F(G){return!(0,Y.fg)(G.schema)}(w)?(d=(A=w.schema).dimensions,S=w.store):d=w;var E,P,m,g,M=!(!G||!G.get("stack"));if((0,x.each)(d,function(i,h){(0,x.isString)(i)&&(d[h]=i={name:i}),M&&!i.isExtraCoord&&(!L&&!E&&i.ordinalMeta&&(E=i),!P&&"ordinal"!==i.t
1ype&&"time"!==i.type&&(!y||y===i.coordDim)&&(P=i))}),P&&!L&&!E&&(L=!0),P){m="__\0ecstackresult_"+G.id,g="__\0ecstackedover_"+G.id,E&&(E.createInvertedIndices=!0);var f=P.coordDim,T=P.type,c=0;(0,x.each)(d,function(i){i.coordDim===f&&c++});var v={name:m,coordDim:f,coordDimIndex:c,type:T,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length},_={name:g,coordDim:g,coordDimIndex:c+1,type:T,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:d.length+1};A?(S&&(v.storeDimIndex=S.ensureCalculationDimension(g,T),_.storeDimIndex=S.ensureCalculationDimension(m,T)),A.appendCalculationDimension(v),A.appendCalculationDimension(_)):(d.push(v),d.push(_))}return{stackedDimension:P&&P.name,stackedByDimension:E&&E.name,isStackedByIndex:L,stackedOverDimension:g,stackResultDimension:m}}function U(G,w){return!!w&&w===G.getCalculationInfo("stackedDimension")}function W(G,w){return U(G,w)?G.getCalculationInfo("stackResultDimension"):w}},75507:(jt,ht,l)=>{l.d(ht,{Fl:()=>R,Pn:()=>F});var x=l(8404),Y=l(68453);l(96831);function F(d,A){var S=A&&A.type;return"ordinal"===S?d:("time"===S&&!(0,Y.isNumber)(d)&&null!=d&&"-"!==d&&(d=+(0,x._U)(d)),null==d||""===d?NaN:Number(d))}(0,Y.createHashMap)({number:function(d){return parseFloat(d)},time:function(d){return+(0,x._U)(d)},trim:function(d){return(0,Y.isString)(d)?(0,Y.trim)(d):d}});var R=function(){function d(A,S){var M="desc"===A;this._resultLT=M?1:-1,null==S&&(S=M?"min":"max"),this._incomparable="min"===S?-1/0:1/0}return d.prototype.evaluate=function(A,S){var M=(0,Y.isNumber)(A)?A:(0,x.Sm)(A),E=(0,Y.isNumber)(S)?S:(0,x.Sm)(S),P=isNaN(M),m=isNaN(E);if(P&&(M=this._incomparable),m&&(E=this._incomparable),P&&m){var g=(0,Y.isString)(A),f=(0,Y.isString)(S);g&&(M=f?A:0),f&&(E=g?S:0)}return M<E?this._resultLT:M>E?-this._resultLT:0},d}()},6666:(jt,ht,l)=>{l.d(ht,{B:()=>W,l:()=>F});var x=l(68453),Y=l(74984),b=function(){function w(R,L){this._encode=R,this._schema=L}return w.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},w.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},w}();function F(w,R){var L={},y=L.encode={},d=(0,x.createHashMap)(),A=[],S=[],M={};(0,x.each)(w.dimensions,function(f){var T=w.getDimensionInfo(f),c=T.coordDim;if(c){var v=T.coordDimIndex;U(y,c)[v]=f,T.isExtraCoord||(d.set(c,1),function G(w){return!("ordinal"===w||"time"===w)}(T.type)&&(A[0]=f),U(M,c)[v]=w.getDimensionIndex(T.name)),T.defaultTooltip&&S.push(f)}Y.Pe.each(function(_,i){var h=U(y,i),e=T.otherDims[i];null!=e&&!1!==e&&(h[e]=T.name)})});var E=[],P={};d.each(function(f,T){var c=y[T];P[T]=c[0],E=E.concat(c)}),L.dataDimsOnCoord=E,L.dataDimIndicesOnCoord=(0,x.map)(E,function(f){return w.getDimensionInfo(f).storeDimIndex}),L.encodeFirstDimNotExtra=P;var m=y.label;m&&m.length&&(A=m.slice());var g=y.tooltip;return g&&g.length?S=g.slice():S.length||(S=A.slice()),y.defaultedLabel=A,y.defaultedTooltip=S,L.userOutput=new b(M,R),L}function U(w,R){return w.hasOwnProperty(R)||(w[R]=[]),w[R]}function W(w){return"category"===w?"ordinal":"time"===w?"time":"float"}},64225:(jt,ht,l)=>{l.d(ht,{G9:()=>R,Gt:()=>L,OC:()=>G,PU:()=>y,ps:()=>W,sc:()=>F});var x=l(94804),Y=l(68453),b=l(74984),F={Must:1,Might:2,Not:3},U=(0,x.$r)();function W(A){U(A).datasetMap=(0,Y.createHashMap)()}function G(A,S,M){var E={},P=R(S);if(!P||!A)return E;var v,_,m=[],g=[],T=U(S.ecModel).datasetMap,c=P.uid+"_"+M.seriesLayoutBy;A=A.slice(),(0,Y.each)(A,function(o,u){var s=(0,Y.isObject)(o)?o:A[u]={name:o};"ordinal"===s.type&&null==v&&(v=u,_=e(s)),E[s.name]=[]});var i=T.get(c)||T.set(c,{categoryWayDim:_,valueWayDim:0});function h(o,u,s){for(var r=0;r<s;r++)o.push(u+r)}function e(o){var u=o.dimsDef;return u?u.length:1}return(0,Y.each)(A,function(o,u){var s=o.name,r=e(o);if(null==v)h(E[s],n=i.valueWayDim,r),h(g,n,r),i.valueWayDim+=r;else if(v===u)h(E[s],0,r),h(m,0,r);else{var n;h(E[s],n=i.categoryWayDim,r),h(g,n,r),i.categoryWayDim+=r}}),m.length&&(E.itemName=m),g.length&&(E.seriesName=g),E}function R(A){if(!A.get("data",!0))return(0,x.JO)(A.ecModel,"dataset",{index:A.get("datasetIndex",!0),id:A.get("datasetId",!0)},x.US).models[0]}function L(A){return A.get("transform",!0)||A.get("fromTransformResult",!0)?(0,x.JO)(A.ecModel,"dataset",{index:A.get("fromDatasetIndex",!0),id:A.get("fromDatasetId",!0)},x.US).models:[]}function y(A,S){return function d(A,S,M,E,P,m){var g,T,c;if((0,Y.isTypedArray)(A))return F.Not;if(E){var v=E[m];(0,Y.isObject)(v)?(T=v.name,c=v.type):(0,Y.isString)(v)&&(T=v)}if(null!=c)return"ordinal"===c?F.Must:F.Not;if(S===b.Km){var _=A;if(M===b.oC){for(var i=_[m],h=0;h<(i||[]).length&&h<5;h++)if(null!=(g=t(i[P+h])))return g}else for(h=0;h<_.length&&h<5;h++){var e=_[P+h];if(e&&null!=(g=t(e[m])))return g}}else if(S===b.Wk){var o=A;if(!T)return F.Not;for(h=0;h<o.length&&h<5;h++)if((u=o[h])&&null!=(g=t(u[T])))return g}else if(S===b.t1){if(!T)return F.Not;if(!(i=A[T])||(0,Y.isTypedArray)(i))return F.Not;for(h=0;h<i.length&&h<5;h++)if(null!=(g=t(i[h])))return g}else if(S===b.mK){var r=A;for(h=0;h<r.length&&h<5;h++){var u,n=(0,x.vj)(u=r[h]);if(!(0,Y.isArray)(n))return F.Not;if(null!=(g=t(n[m])))return g}}function t(a){var p=(0,Y.isString)(a);return null!=a&&Number.isFinite(Number(a))&&""!==a?p?F.Might:F.Not:p&&"-"!==a?F.Must:void 0}return F.Not}
1(A.data,A.sourceFormat,A.seriesLayoutBy,A.dimensionsDefine,A.startIndex,S)}},86914:(jt,ht,l)=>{l.d(ht,{A:()=>R,R:()=>w});var x=l(68453),Y=l(42080),b=l(74984),F=l(64225),U=l(77698),W=l(27100),G=l(95177),w=function(){function d(A){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=A}return d.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},d.prototype._setLocalSource=function(A,S){this._sourceList=A,this._upstreamSignList=S,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},d.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},d.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},d.prototype._createSource=function(){this._setLocalSource([],[]);var E,P,A=this._sourceHost,S=this._getUpstreamSourceManagers(),M=!!S.length;if(L(A)){var m=A,g=void 0,f=void 0,T=void 0;if(M){var c=S[0];c.prepareSource(),g=(T=c.getSource()).data,f=T.sourceFormat,P=[c._getVersionSign()]}else g=m.get("data",!0),f=(0,x.isTypedArray)(g)?b.XO:b.mK,P=[];var v=this._getSourceMetaRawOption()||{},_=T&&T.metaRawOption||{},i=(0,x.retrieve2)(v.seriesLayoutBy,_.seriesLayoutBy)||null,h=(0,x.retrieve2)(v.sourceHeader,_.sourceHeader),e=(0,x.retrieve2)(v.dimensions,_.dimensions);E=i!==_.seriesLayoutBy||!!h!=!!_.sourceHeader||e?[(0,Y.gV)(g,{seriesLayoutBy:i,sourceHeader:h,dimensions:e},f)]:[]}else{var u=A;if(M){var s=this._applyTransform(S);E=s.sourceList,P=s.upstreamSignList}else{var r=u.get("source",!0);E=[(0,Y.gV)(r,this._getSourceMetaRawOption(),null)],P=[]}}this._setLocalSource(E,P)},d.prototype._applyTransform=function(A){var S=this._sourceHost,M=S.get("transform",!0),E=S.get("fromTransformResult",!0);null!=E&&1!==A.length&&y("");var m,g=[],f=[];return(0,x.each)(A,function(T){T.prepareSource();var c=T.getSource(E||0);null!=E&&!c&&y(""),g.push(c),f.push(T._getVersionSign())}),M?m=(0,U.py)(M,g,{datasetIndex:S.componentIndex}):null!=E&&(m=[(0,Y.BE)(g[0])]),{sourceList:m,upstreamSignList:f}},d.prototype._isDirty=function(){if(this._dirty)return!0;for(var A=this._getUpstreamSourceManagers(),S=0;S<A.length;S++){var M=A[S];if(M._isDirty()||this._upstreamSignList[S]!==M._getVersionSign())return!0}},d.prototype.getSource=function(A){var S=this._sourceList[A=A||0];if(!S){var M=this._getUpstreamSourceManagers();return M[0]&&M[0].getSource(A)}return S},d.prototype.getSharedDataStore=function(A){var S=A.makeStoreSchema();return this._innerGetDataStore(S.dimensions,A.source,S.hash)},d.prototype._innerGetDataStore=function(A,S,M){var P=this._storeList,m=P[0];m||(m=P[0]={});var g=m[M];if(!g){var f=this._getUpstreamSourceManagers()[0];L(this._sourceHost)&&f?g=f._innerGetDataStore(A,S,M):(g=new W.Ay).initData(new G.d1(S,A.length),A),m[M]=g}return g},d.prototype._getUpstreamSourceManagers=function(){var A=this._sourceHost;if(L(A)){var S=(0,F.G9)(A);return S?[S.getSourceManager()]:[]}return(0,x.map)((0,F.Gt)(A),function(M){return M.getSourceManager()})},d.prototype._getSourceMetaRawOption=function(){var S,M,E,A=this._sourceHost;if(L(A))S=A.get("seriesLayoutBy",!0),M=A.get("sourceHeader",!0),E=A.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var P=A;S=P.get("seriesLayoutBy",!0),M=P.get("sourceHeader",!0),E=P.get("dimensions",!0)}return{seriesLayoutBy:S,sourceHeader:M,dimensions:E}},d}();function R(d){d.option.transform&&(0,x.setAsPrimitive)(d.option.transform)}function L(d){return"series"===d.mainType}function y(d){throw new Error(d)}},77698:(jt,ht,l)=>{l.d(ht,{py:()=>E,v5:()=>M});var x=l(74984),Y=l(94804),b=l(68453),F=l(95177),U=l(75507),W=l(96831),G=l(42080),w=function(){function g(){}return g.prototype.getRawData=function(){throw new Error("not supported")},g.prototype.getRawDataItem=function(f){throw new Error("not supported")},g.prototype.cloneRawData=function(){},g.prototype.getDimensionInfo=function(f){},g.prototype.cloneAllDimensionInfo=function(){},g.prototype.count=function(){},g.prototype.retrieveValue=function(f,T){},g.prototype.retrieveValueFromItem=function(f,T){},g.prototype.convertValue=function(f,T){return(0,U.Pn)(f,T)},g}();function L(g){return m(g.sourceFormat)||(0,W.$8)(""),g.data}function y(g){var f=g.sourceFormat,T=g.data;if(m(f)||(0,W.$8)(""),f===x.Km){for(var v=[],_=0,i=T.length;_<i;_++)v.push(T[_].slice());return v}if(f===x.Wk){for(v=[],_=0,i=T.length;_<i;_++)v.push((0,b.extend)({},T[_]));return v}}function d(g,f,T){if(null!=T){if((0,b.isNumber)(T)||!isNaN(T)&&!(0,b.hasOwn)(f,T))return g[T];if((0,b.hasOwn)(f,T))return f[T]}}function A(g){return(0,b.clone)(g)}var S=(0,b.createHashMap)();function M(g){var f=(g=(0,b.clone)(g)).type;f||(0,W.$8)("");var c=f.split(":");2!==c.length&&(0,W.$8)("");var v=!1;"echarts"===c[0]&&(f=c[1],v=!0),g.__isBuiltIn=v,S.set(f,g)}function E(g,f,T){var c=(0,Y.qB)(g),v=c.length;v||(0,W.$8)("");for(var i=0,h=v;i<h;i++)f=P(c[i],f),i!==h-1&&(f.length=Math.max(f.length,1));return f}function P(g,f,T,c){f.length||(0,W.$8)(""),(0,b.isObject)(g)||(0,W.$8)("");var i=S.get(g.type);i||(0,W.$8)("");var h=(0,b.map)(f,function(u){return function R(g,f){var T=new w,c=g.data,v=T.sourceFormat=g.sourceFormat,_=g.startIndex;g.seriesLayoutBy!==x.i_&&(0,W.$8)("");var h=[],e={},o=g.dimensionsDefine;if(o)(0,b.each)(o,function(a,p){var O=a.name,B={index:p,name:O,displayName:a.displayName};h.push(B),null!=O&&((0,b.hasOwn)(e,O)&&(0,W.$8)(""),e[O]=B)});else for(var u=0;u<g.dimensionsDetectedCount;u++)h.push({index:u});var s=(0,F.sC)(v,x.i_);f.__isBuiltIn&&(T.getRawDataItem=function(a){return s(c,_,h,a)},T.getRawData=(0,b.bind)(L,null,g)),T.cloneRawData=(0,b.bind)(y,null,g);var r=(0,F.Kd)(v,x.i_);T.count=(0,b.bind)(r,null,c,_,h);var n=(0,F.uQ)(v);T.retrieveValue=function(a,p){var O=s(c,_,h,a);return t(O,p)};var t=T.retrieveValueFromItem=function(a,p){if(null!=a){var O=h[p];if(O)return n(a,p,O.name)}};return T.getDimensionInfo=(0,b.bind)(d,null,h,e),T.cloneAllDimensionInfo=(0,b.bind)(A,null,h),T}(u,i)}),e=(0,Y.qB)(i.transform({upstream:h[0],upstreamList:h,config:(0,b.clone)(g.config)}));return(0,b.map)(e,function(u,s){(0,b.isObject)(u)||(0,W.$8)(""),u.data||(0,W.$8)(""),m((0,G.wZ)(u.data))||(0,W.$8)("");var t,a=f[0];if(a&&0===s&&!u.dimensions){var p=a.startIndex;p&&(u.data=a.data.slice(0,p).concat(u.data)),t={seriesLayoutBy:x.i_,sourceHeader:p,dimensions:a.metaRawOption.dimensions}}else t={seriesLayoutBy:x.i_,sourceHeader:0,dimensions:u.dimensions};return(0,G.gV)(u.data,t,null)})}function m(g){return g===x.Km||g===x.Wk}},50357:(jt,ht,l)=>{l.d(ht,{Y:()=>y});var x=l(56740),Y=l(70407),b=l(92088),F=l(6301),U=l(80264),W=l(68453),G=l(19590),w=l(58846),R=[],L={registerPreprocessor:x.lP,registerProcessor:x.qg,registerPostInit:x.cf,registerPostUpdate:x.tb,registerUpdateLifecycle:x.xV,registerAction:x.OH,registerCoordinateSystem:x.pX,registerLayout:x.Oh,registerVisual:x.AF,registerTransform:x.iY,registerLoading:x.Ej,registerMap:x.mz,registerImpl:G.m,PRIORITY:
1x.FQ,ComponentModel:F.A,ComponentView:Y.A,SeriesModel:U.A,ChartView:b.A,registerComponentModel:function(d){F.A.registerClass(d)},registerComponentView:function(d){Y.A.registerClass(d)},registerSeriesModel:function(d){U.A.registerClass(d)},registerChartView:function(d){b.A.registerClass(d)},registerSubTypeDefaulter:function(d,A){F.A.registerSubTypeDefaulter(d,A)},registerPainter:function(d,A){(0,w.registerPainter)(d,A)}};function y(d){(0,W.isArray)(d)?(0,W.each)(d,function(A){y(A)}):(0,W.indexOf)(R,d)>=0||(R.push(d),(0,W.isFunction)(d)&&(d={install:d}),d.install(L))}},95577:(jt,ht,l)=>{l.d(ht,{If:()=>G,QX:()=>U,Xe:()=>W,os:()=>b});var x=l(40347),Y=l(47799);function b(w){for(var R=[],L=0;L<w.length;L++){var y=w[L];if(!y.defaultAttr.ignore){var d=y.label,A=d.getComputedTransform(),S=d.getBoundingRect(),M=!A||A[1]<1e-5&&A[2]<1e-5,E=d.style.margin||0,P=S.clone();P.applyTransform(A),P.x-=E/2,P.y-=E/2,P.width+=E,P.height+=E;var m=M?new x.A(S,A):null;R.push({label:d,labelLine:y.labelLine,rect:P,localRect:S,obb:m,priority:y.priority,defaultAttr:y.defaultAttr,layoutOption:y.computedLayoutOption,axisAligned:M,transform:A})}}return R}function F(w,R,L,y,d,A){var S=w.length;if(!(S<2)){w.sort(function(t,a){return t.rect[R]-a.rect[R]});for(var E,M=0,P=!1,m=[],g=0,f=0;f<S;f++){var T=w[f],c=T.rect;(E=c[R]-M)<0&&(c[R]-=E,T.label[R]-=E,P=!0);var v=Math.max(-E,0);m.push(v),g+=v,M=c[R]+c[L]}g>0&&A&&s(-g/S,0,S);var h,e,_=w[0],i=w[S-1];return o(),h<0&&r(-h,.8),e<0&&r(e,.8),o(),u(h,e,1),u(e,h,-1),o(),h<0&&n(-h),e<0&&n(e),P}function o(){h=_.rect[R]-y,e=d-i.rect[R]-i.rect[L]}function u(t,a,p){if(t<0){var O=Math.min(a,-t);if(O>0){s(O*p,0,S);var B=O+t;B<0&&r(-B*p,1)}else r(-t*p,1)}}function s(t,a,p){0!==t&&(P=!0);for(var O=a;O<p;O++){var B=w[O];B.rect[R]+=t,B.label[R]+=t}}function r(t,a){for(var p=[],O=0,B=1;B<S;B++){var z=w[B-1].rect,H=Math.max(w[B].rect[R]-z[R]-z[L],0);p.push(H),O+=H}if(O){var C=Math.min(Math.abs(t)/O,a);if(t>0)for(B=0;B<S-1;B++)s(p[B]*C,0,B+1);else for(B=S-1;B>0;
1B--)s(-p[B-1]*C,B,S)}}function n(t){var a=t<0?-1:1;t=Math.abs(t);for(var p=Math.ceil(t/(S-1)),O=0;O<S-1;O++)if(a>0?s(p,0,O+1):s(-p,S-O-1,S),(t-=p)<=0)return}}function U(w,R,L,y){return F(w,"x","width",R,L,y)}function W(w,R,L,y){return F(w,"y","height",R,L,y)}function G(w){var R=[];w.sort(function(v,_){return _.priority-v.priority});var L=new Y.A(0,0,0,0);function y(v){if(!v.ignore){var _=v.ensureState("emphasis");null==_.ignore&&(_.ignore=!1)}v.ignore=!0}for(var d=0;d<w.length;d++){var A=w[d],S=A.axisAligned,M=A.localRect,E=A.transform,P=A.label,m=A.labelLine;L.copy(A.rect),L.width-=.1,L.height-=.1,L.x+=.05,L.y+=.05;for(var g=A.obb,f=!1,T=0;T<R.length;T++){var c=R[T];if(L.intersect(c.rect)){if(S&&c.axisAligned){f=!0;break}if(c.obb||(c.obb=new x.A(c.localRect,c.transform)),g||(g=new x.A(M,E)),g.intersect(c.obb)){f=!0;break}}}f?(y(P),m&&y(m)):(P.attr("ignore",A.defaultAttr.ignore),m&&m.attr("ignore",A.defaultAttr.labelGuideIgnore),R.push(A))}}},88634:(jt,ht,l)=>{l.d(ht,{Lu:()=>f,Oh:()=>T,VB:()=>y,c8:()=>g,lx:()=>L,qM:()=>R,xb:()=>c});var x=l(81523),Y=l(68453),b=l(24691),F=l(94804),U=l(16108),W={};function G(v,_){for(var i=0;i<b.BV.length;i++){var h=b.BV[i],e=_[h],o=v.ensureState(h);o.style=o.style||{},o.style.text=e}var u=v.currentStates.slice();v.clearStates(!0),v.setStyle({text:_.normal}),v.useStates(u,!0)}function w(v,_,i){var s,h=v.labelFetcher,e=v.labelDataIndex,o=v.labelDimIndex,u=_.normal;h&&(s=h.getFormattedLabel(e,"normal",null,o,u&&u.get("formatter"),null!=i?{interpolatedValue:i}:null)),null==s&&(s=(0,Y.isFunction)(v.defaultText)?v.defaultText(e,v,i):v.defaultText);for(var r={normal:s},n=0;n<b.BV.length;n++){var t=b.BV[n],a=_[t];r[t]=(0,Y.retrieve2)(h?h.getFormattedLabel(e,t,null,o,a&&a.get("formatter")):null,s)}return r}function R(v,_,i,h){i=i||W;for(var e=v instanceof x.Ay,o=!1,u=0;u<b.wV.length;u++)if((s=_[b.wV[u]])&&s.getShallow("show")){o=!0;break}var r=e?v:v.getTextContent();if(o){e||(r||(r=new x.Ay,v.setTextContent(r)),v.stateProxy&&(r.stateProxy=v.stateProxy));var n=w(i,_),t=_.normal,a=!!t.getShallow("show"),p=y(t,h&&h.normal,i,!1,!e);for(p.text=n.normal,e||v.setTextConfig(d(t,i,!1)),u=0;u<b.BV.length;u++){var s,O=b.BV[u];if(s=_[O]){var B=r.ensureState(O),z=!!(0,Y.retrieve2)(s.getShallow("show"),a);z!==a&&(B.ignore=!z),B.style=y(s,h&&h[O],i,!0,!e),B.style.text=n[O],e||(v.ensureState(O).textConfig=d(s,i,!0))}}r.silent=!!t.getShallow("silent"),null!=r.style.x&&(p.x=r.style.x),null!=r.style.y&&(p.y=r.style.y),r.ignore=!a,r.useStyle(p),r.dirty(),i.enableTextSetter&&(f(r).setLabelText=function(C){var D=w(i,_,C);G(r,D)})}else r&&(r.ignore=!0);v.dirty()}function L(v,_){for(var i={normal:v.getModel(_=_||"label")},h=0;h<b.BV.length;h++){var e=b.BV[h];i[e]=v.getModel([e,_])}return i}function y(v,_,i,h,e){var o={};return function A(v,_,i,h,e){i=i||W;var r,o=_.ecModel,u=o&&o.option.textStyle,s=function S(v){for(var _;v&&v!==v.ecModel;){var i=(v.option||W).rich;if(i){_=_||{};for(var h=(0,Y.keys)(i),e=0;e<h.length;e++)_[h[e]]=1}v=v.parentModel}return _}(_);if(s)for(var n in r={},s)if(s.hasOwnProperty(n)){var t=_.getModel(["rich",n]);m(r[n]={},t,u,i,h,e,!1,!0)}r&&(v.rich=r);var a=_.get("overflow");a&&(v.overflow=a);var p=_.get("minMargin");null!=p&&(v.margin=p),m(v,_,u,i,h,e,!0,!1)}(o,v,i,h,e),_&&(0,Y.extend)(o,_),o}function d(v,_,i){_=_||{};var e,h={},o=v.getShallow("rotate"),u=(0,Y.retrieve2)(v.getShallow("distance"),i?null:5),s=v.getShallow("offset");return"outside"===(e=v.getShallow("position")||(i?null:"inside"))&&(e=_.defaultOutsidePosition||"top"),null!=e&&(h.position=e),null!=s&&(h.offset=s),null!=o&&(o*=Math.PI/180,h.rotation=o),null!=u&&(h.distance=u),h.outsideFill="inherit"===v.get("color")?_.inheritColor||null:"auto",h}var M=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],E=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],P=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(v,_,i,h,e,o,u,s){i=!e&&i||W;var r=h&&h.inheritColor,n=_.getShallow("color"),t=_.getShallow("textBorderColor"),a=(0,Y.retrieve2)(_.getShallow("opacity"),i.opacity);("inherit"===n||"auto"===n)&&(n=r||null),("inherit"===t||"auto"===t)&&(t=r||null),o||(n=n||i.color,t=t||i.textBorderColor),null!=n&&(v.fill=n),null!=t&&(v.stroke=t);var p=(0,Y.retrieve2)(_.getShallow("textBorderWidth"),i.textBorderWidth);null!=p&&(v.lineWidth=p);var O=(0,Y.retrieve2)(_.getShallow("textBorderType"),i.textBorderType);null!=O&&(v.lineDash=O);var B=(0,Y.retrieve2)(_.getShallow("textBorderDashOffset"),i.textBorderDashOffset);null!=B&&(v.lineDashOffset=B),!e&&null==a&&!s&&(a=h&&h.defaultOpacity),null!=a&&(v.opacity=a),!e&&!o&&null==v.fill&&h.inheritColor&&(v.fill=h.inheritColor);for(var z=0;z<M.length;z++)null!=(C=(0,Y.retrieve2)(_.getShallow(H=M[z]),i[H]))&&(v[H]=C);for(z=0;z<E.length;z++)null!=(C=_.getShallow(H=E[z]))&&(v[H]=C);if(null==v.verticalAlign){var D=_.getShallow("baseline");null!=D&&(v.verticalAlign=D)}if(!u||!h.disableBox){for(z=0;z<P.length;z++){var H,C;null!=(C=_.getShallow(H=P[z]))&&(v[H]=C)}var N=_.getShallow("borderType");null!=N&&(v.borderDash=N),("auto"===v.backgroundColor||"inherit"===v.backgroundColor)&&r&&(v.backgroundColor=r),("auto"===v.borderColor||"inherit"===v.borderColor)&&r&&(v.borderColor=r)}}function g(v,_){var i=_&&_.getModel("textStyle");return(0,Y.trim)([v.fontStyle||i&&i.getShallow("fontStyle")||"",v.fontWeight||i&&i.getShallow("fontWeight")||"",(v.fontSize||i&&i.getShallow("fontSize")||12)+"px",v.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}var f=(0,F.$r)();function T(v,_,i,h){if(v){var e=f(v);e.prevValue=e.value,e.value=i;var o=_.normal;e.valueAnimation=o.get("valueAnimation"),e.valueAnimation&&(e.precision=o.get("precision"),e.defaultInterpolatedText=h,e.statesModels=_)}}function c(v,_,i,h,e){var o=f(v);if(o.valueAnimation&&o.prevValue!==o.value){var u=o.defaultInterpolatedText,s=(0,Y.retrieve2)(o.interpolatedValue,o.prevValue),r=o.value;v.percent=0,(null==o.prevValue?U.LW:U.oi)(v,{percent:1},h,_,null,function n(t){var a=(0,F.Il)(i,o.precision,s,r,t);o.interpolatedValue=1===t?null:a;var p=w({labelDataIndex:_,labelFetcher:e,defaultText:u?u(a):a+""},o.statesModels,a);G(v,p)})}}},26461:(jt,ht,l)=>{l.d(ht,{KF:()=>m,Zp:()=>P,vq:()=>S,GL:()=>d,VA:()=>E});
1var x=l(68453),Y=l(8404),b=l(3026),F=l(26388),U=typeof Float32Array<"u",W=U?Float32Array:Array;function G(c){return(0,x.isArray)(c)?U?new Float32Array(c):c:new W(c)}var w="__ec_stack_";function R(c){return c.get("stack")||w+c.seriesIndex}function L(c){return c.dim+c.index}function d(c,v){var _=[];return v.eachSeriesByType(c,function(i){g(i)&&_.push(i)}),_}function S(c){var v=function A(c){var v={};(0,x.each)(c,function(s){var n=s.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var t=s.getData(),a=n.dim+"_"+n.index,p=t.getDimensionIndex(t.mapDimension(n.dim)),O=t.getStore(),B=0,z=O.count();B<z;++B){var H=O.get(p,B);v[a]?v[a].push(H):v[a]=[H]}});var _={};for(var i in v)if(v.hasOwnProperty(i)){var h=v[i];if(h){h.sort(function(s,r){return s-r});for(var e=null,o=1;o<h.length;++o){var u=h[o]-h[o-1];u>0&&(e=null===e?u:Math.min(e,u))}_[i]=e}}return _}(c),_=[];return(0,x.each)(c,function(i){var u,e=i.coordinateSystem.getBaseAxis(),o=e.getExtent();if("category"===e.type)u=e.getBandWidth();else if("value"===e.type||"time"===e.type){var r=v[e.dim+"_"+e.index],n=Math.abs(o[1]-o[0]),t=e.scale.getExtent(),a=Math.abs(t[1]-t[0]);u=r?n/a*r:n}else{var p=i.getData();u=Math.abs(o[1]-o[0])/p.count()}var O=(0,Y.lo)(i.get("barWidth"),u),B=(0,Y.lo)(i.get("barMaxWidth"),u),z=(0,Y.lo)(i.get("barMinWidth")||(f(i)?.5:1),u),H=i.get("barGap"),C=i.get("barCategoryGap");_.push({bandWidth:u,barWidth:O,barMaxWidth:B,barMinWidth:z,barGap:H,barCategoryGap:C,axisKey:L(e),stackId:R(i)})}),function M(c){var v={};(0,x.each)(c,function(i,h){var e=i.axisKey,o=i.bandWidth,u=v[e]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},s=u.stacks;v[e]=u;var r=i.stackId;s[r]||u.autoWidthCount++,s[r]=s[r]||{width:0,maxWidth:0};var n=i.barWidth;n&&!s[r].width&&(s[r].width=n,n=Math.min(u.remainedWidth,n),u.remainedWidth-=n);var t=i.barMaxWidth;t&&(s[r].maxWidth=t);var a=i.barMinWidth;a&&(s[r].minWidth=a);var p=i.barGap;null!=p&&(u.gap=p);var O=i.barCategoryGap;null!=O&&(u.categoryGap=O)});var _={};return(0,x.each)(v,function(i,h){_[h]={};var e=i.stacks,o=i.bandWidth,u=i.categoryGap;if(null==u){var s=(0,x.keys)(e).length;u=Math.max(35-4*s,15)+"%"}var r=(0,Y.lo)(u,o),n=(0,Y.lo)(i.gap,1),t=i.remainedWidth,a=i.autoWidthCount,p=(t-r)/(a+(a-1)*n);p=Math.max(p,0),(0,x.each)(e,function(H){var C=H.maxWidth,D=H.minWidth;if(H.width){var N=H.width;C&&(N=Math.min(N,C)),D&&(N=Math.max(N,D)),H.width=N,t-=N+n*N,a--}else N=p,C&&C<N&&(N=Math.min(C,t)),D&&D>N&&(N=D),N!==p&&(H.width=N,t-=N+n*N,a--)}),p=(t-r)/(a+(a-1)*n),p=Math.max(p,0);var B,O=0;(0,x.each)(e,function(H,C){H.width||(H.width=p),B=H,O+=H.width*(1+n)}),B&&(O-=B.width*n);var z=-O/2;(0,x.each)(e,function(H,C){_[h][C]=_[h][C]||{bandWidth:o,offset:z,width:H.width},z+=H.width*(1+n)})}),_}(_)}function E(c,v,_){if(c&&v){var i=c[L(v)];return null!=i&&null!=_?i[R(_)]:i}}function P(c,v){var _=d(c,v),i=S(_);(0,x.each)(_,function(h){var e=h.getData(),u=h.coordinateSystem.getBaseAxis(),s=R(h),r=i[L(u)][s];e.setLayout({bandWidth:r.bandWidth,offset:r.offset,size:r.width})})}function m(c){return{seriesType:c,plan:(0,F.A)(),reset:function(v){if(g(v)){var _=v.getData(),i=v.coordinateSystem,h=i.getBaseAxis(),e=i.getOtherAxis(h),o=_.getDimensionIndex(_.mapDimension(e.dim)),u=_.getDimensionIndex(_.mapDimension(h.dim)),s=v.get("showBackground",!0),r=_.mapDimension(e.dim),n=_.getCalculationInfo("stackResultDimension"),t=(0,b.sJ)(_,r)&&!!_.getCalculationInfo("stackedOnSeries"),a=e.isHorizontal(),p=function T(c,v){var _=v.model.get("startValue");return _||(_=0),v.toGlobalCoord(v.dataToCoord("log"===v.type?_>0?_:1:_))}(0,e),O=f(v),B=v.get("barMinHeight")||0,z=n&&_.getDimensionIndex(n),H=_.getLayout("size"),C=_.getLayout("offset");return{progress:function(D,N){for(var at,I=D.count,V=O&&G(3*I),k=O&&s&&G(3*I),$=O&&G(I),tt=i.master.getRect(),ot=a?tt.width:tt.height,pt=N.getStore(),Mt=0;null!=(at=D.next());){var At=pt.get(t?z:o,at),Kt=pt.get(u,at),qt=p,le=void 0;t&&(le=+At-pt.get(o,at));var vt=void 0,dt=void 0,it=void 0,lt=void 0;if(a){var bt=i.dataToPoint([At,Kt]);t&&(qt=i.dataToPoint([le,Kt])[0]),vt=qt,dt=bt[1]+C,it=bt[0]-qt,lt=H,Math.abs(it)<B&&(it=(it<0?-1:1)*B)}else bt=i.dataToPoint([Kt,At]),t&&(qt=i.dataToPoint([Kt,le])[1]),vt=bt[0]+C,dt=qt,it=H,lt=bt[1]-qt,Math.abs(lt)<B&&(lt=(lt<=0?-1:1)*B);
1O?(V[Mt]=vt,V[Mt+1]=dt,V[Mt+2]=a?it:lt,k&&(k[Mt]=a?tt.x:vt,k[Mt+1]=a?dt:tt.y,k[Mt+2]=ot),$[at]=at):N.setItemLayout(at,{x:vt,y:dt,width:it,height:lt}),Mt+=3}O&&N.setLayout({largePoints:V,largeDataIndices:$,largeBackgroundPoints:k,valueAxisHorizontal:a})}}}}}}function g(c){return c.coordinateSystem&&"cartesian2d"===c.coordinateSystem.type}function f(c){return c.pipelineContext&&c.pipelineContext.large}},6301:(jt,ht,l)=>{l.d(ht,{A:()=>y});var x=l(20572),Y=l(68453),b=l(85569),F=l(59938),U=l(13991),W=l(94804),G=l(77563),w=(0,W.$r)(),R=function(d){function A(S,M,E){var P=d.call(this,S,M,E)||this;return P.uid=F.$Q("ec_cpt_model"),P}return(0,x.C6)(A,d),A.prototype.init=function(S,M,E){this.mergeDefaultAndTheme(S,E)},A.prototype.mergeDefaultAndTheme=function(S,M){var E=G.ad(this),P=E?G.vs(S):{},m=M.getTheme();Y.merge(S,m.get(this.mainType)),Y.merge(S,this.getDefaultOption()),E&&G.YA(S,P,E)},A.prototype.mergeOption=function(S,M){Y.merge(this.option,S,!0);var E=G.ad(this);E&&G.YA(this.option,S,E)},A.prototype.optionUpdated=function(S,M){},A.prototype.getDefaultOption=function(){var S=this.constructor;if(!(0,U._E)(S))return S.defaultOption;var M=w(this);if(!M.defaultOption){for(var E=[],P=S;P;){var m=P.prototype.defaultOption;m&&E.push(m),P=P.superClass}for(var g={},f=E.length-1;f>=0;f--)g=Y.merge(g,E[f],!0);M.defaultOption=g}return M.defaultOption},A.prototype.getReferringComponents=function(S,M){var P=S+"Id";return(0,W.JO)(this.ecModel,S,{index:this.get(S+"Index",!0),id:this.get(P,!0)},M)},A.prototype.getBoxLayoutParams=function(){var S=this;return{left:S.get("left"),top:S.get("top"),right:S.get("right"),bottom:S.get("bottom"),width:S.get("width"),height:S.get("height")}},A.prototype.getZLevelKey=function(){return""},A.prototype.setZLevel=function(S){this.option.zlevel=S},A.protoInitialize=((S=A.prototype).type="component",S.id="",S.name="",S.mainType="",S.subType="",void(S.componentIndex=0)),A;var S}(b.A);(0,U.q7)(R,b.A),(0,U.tQ)(R),F.A6(R),F.vf(R,function L(d){var A=[];return Y.each(R.getClassesByMainType(d),function(S){A=A.concat(S.dependencies||S.prototype.depen
1dencies||[])}),A=Y.map(A,function(S){return(0,U.CC)(S).main}),"dataset"!==d&&Y.indexOf(A,"dataset")<=0&&A.unshift("dataset"),A});const y=R},85569:(jt,ht,l)=>{l.d(ht,{A:()=>m});var x=l(24026),Y=l(13991),U=(0,l(81442).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),W=function(){function g(){}return g.prototype.getAreaStyle=function(f,T){return U(this,f,T)},g}(),G=l(88634),w=l(81523),R=["textStyle","color"],L=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],y=new w.Ay;const A=function(){function g(){}return g.prototype.getTextColor=function(f){var T=this.ecModel;return this.getShallow("color")||(!f&&T?T.get(R):null)},g.prototype.getFont=function(){return(0,G.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},g.prototype.getTextRect=function(f){for(var T={text:f,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},c=0;c<L.length;c++)T[L[c]]=this.getShallow(L[c]);return y.useStyle(T),y.update(),y.getBoundingRect()},g}();var S=l(62259),M=l(44460),E=l(68453),P=function(){function g(f,T,c){this.parentModel=T,this.ecModel=c,this.option=f}return g.prototype.init=function(f,T,c){for(var v=[],_=3;_<arguments.length;_++)v[_-3]=arguments[_]},g.prototype.mergeOption=function(f,T){(0,E.merge)(this.option,f,!0)},g.prototype.get=function(f,T){return null==f?this.option:this._doGet(this.parsePath(f),!T&&this.parentModel)},g.prototype.getShallow=function(f,T){var c=this.option,v=null==c?c:c[f];if(null==v&&!T){var _=this.parentModel;_&&(v=_.getShallow(f))}return v},g.prototype.getModel=function(f,T){var c=null!=f,v=c?this.parsePath(f):null;return new g(c?this._doGet(v):this.option,T=T||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(v)),this.ecModel)},g.prototype.isEmpty=function(){return null==this.option},g.prototype.restoreData=function(){},g.prototype.clone=function(){return new(0,this.constructor)((0,E.clone)(this.option))},g.prototype.parsePath=function(f){return"string"==typeof f?f.split("."):f},g.prototype.resolveParentPath=function(f){return f},g.prototype.isAnimationEnabled=function(){if(!x.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},g.prototype._doGet=function(f,T){var c=this.option;if(!f)return c;for(var v=0;v<f.length&&(!f[v]||null!=(c=c&&"object"==typeof c?c[f[v]]:null));v++);return null==c&&T&&(c=T._doGet(this.resolveParentPath(f),T.parentModel)),c},g}();(0,Y.gq)(P),(0,Y.Od)(P),(0,E.mixin)(P,S.J),(0,E.mixin)(P,M.s),(0,E.mixin)(P,W),(0,E.mixin)(P,A);const m=P},80264:(jt,ht,l)=>{l.d(ht,{A:()=>o});var x=l(20572),Y=l(68453),b=l(24026),F=l(94804),U=l(6301),W=l(14427),G=l(71489),w=l(77563),R=l(44653),L=l(13991),y=l(86914),d=l(88667),A=l(95177);var E=F.$r();function P(u,s){return u.getName(s)||u.getId(s)}var g=function(u){function s(){var r=null!==u&&u.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return(0,x.C6)(s,u),s.prototype.init=function(r,n,t){this.seriesIndex=this.componentIndex,this.dataTask=(0,R.U)({count:c,reset:v}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,t),(E(this).sourceManager=new y.R(this)).prepareSource();var p=this.getInitialData(r,t);i(p,this),this.dataTask.context.data=p,E(this).dataBeforeProcessed=p,f(this),this._initSelectedMapFromData(p)},s.prototype.mergeDefaultAndTheme=function(r,n){var t=(0,w.ad)(this),a=t?(0,w.vs)(r):{},p=this.subType;U.A.hasClass(p)&&(p+="Series"),Y.merge(r,n.getTheme().get(this.subType)),Y.merge(r,this.getDefaultOption()),F.M5(r,"label",["show"]),this.fillDataTextStyle(r.data),t&&(0,w.YA)(r,a,t)},s.prototype.mergeOption=function(r,n){r=Y.merge(this.option,r,!0),this.fillDataTextStyle(r.data);var t=(0,w.ad)(this);t&&(0,w.YA)(this.option,r,t);var a=E(this).sourceManager;a.dirty(),a.prepareSource();var p=this.getInitialData(r,n);i(p,this),this.dataTask.dirty(),this.dataTask.context.data=p,E(this).dataBeforeProcessed=p,f(this),this._initSelectedMapFromData(p)},s.prototype.fillDataTextStyle=function(r){if(r&&!Y.isTypedArray(r))for(var n=["show"],t=0;t<r.length;t++)r[t]&&r[t].label&&F.M5(r[t],"label",n)},s.prototype.getInitialData=function(r,n){},s.prototype.appendData=function(r){this.getRawData().appendData(r.data)},s.prototype.getData=function(r){var n=e(this);if(n){var t=n.context.data;return null!=r&&t.getLinkedData?t.getLinkedData(r):t}return E(this).data},s.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},s.prototype.setData=function(r){var n=e(this);if(n){var t=n.context;t.outputData=r,n!==this.dataTask&&(t.data=r)}E(this).data=r},s.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return Y.createHashMap(r)},s.prototype.getSourceManager=function(){return E(this).sourceManager}
1,s.prototype.getSource=function(){return this.getSourceManager().getSource()},s.prototype.getRawData=function(){return E(this).dataBeforeProcessed},s.prototype.getColorBy=function(){return this.get("colorBy")||"series"},s.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},s.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},s.prototype.formatTooltip=function(r,n,t){return function S(u){var H,C,D,N,s=u.series,r=u.dataIndex,n=u.multipleSeries,t=s.getData(),a=t.mapDimensionsAll("defaultedTooltip"),p=a.length,O=s.getRawValue(r),B=(0,Y.isArray)(O),z=(0,d.aw)(s,r);if(p>1||B&&!p){var I=function M(u,s,r,n,t){var a=s.getData(),p=(0,Y.reduce)(u,function(C,D,N){var I=a.getDimensionInfo(N);return C||I&&!1!==I.tooltip&&null!=I.displayName},!1),O=[],B=[],z=[];function H(C,D){var N=a.getDimensionInfo(D);!N||!1===N.otherDims.tooltip||(p?z.push((0,d.Qx)("nameValue",{markerType:"subItem",markerColor:t,name:N.displayName,value:C,valueType:N.type})):(O.push(C),B.push(N.type)))}return n.length?(0,Y.each)(n,function(C){H((0,A.QE)(a,r,C),C)}):(0,Y.each)(u,H),{inlineValues:O,inlineValueTypes:B,blocks:z}}(O,s,r,a,z);H=I.inlineValues,C=I.inlineValueTypes,D=I.blocks,N=I.inlineValues[0]}else if(p){var V=t.getDimensionInfo(a[0]);N=H=(0,A.QE)(t,r,a[0]),C=V.type}else N=H=B?O[0]:O;var k=(0,F.O0)(s),$=k&&s.name||"",tt=t.getName(r),ot=n?$:tt;return(0,d.Qx)("section",{header:$,noHeader:n||!k,sortParam:N,blocks:[(0,d.Qx)("nameValue",{markerType:"item",markerColor:z,name:ot,noName:!(0,Y.trim)(ot),value:H,valueType:C,dataIndex:r})].concat(D||[])})}({series:this,dataIndex:r,multipleSeries:n})},s.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(b.A.node&&(!r||!r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},s.prototype.restoreData=function(){this.dataTask.dirty()},s.prototype.getColorFromPalette=function(r,n,t){var a=this.ecModel,p=W.X.prototype.getColorFromPalette.call(this,r,n,t);return p||(p=a.getColorFromPalette(r,n,t)),p},s.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},s.prototype.getProgressive=function(){return this.get("progressive")},s.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},s.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},s.prototype.unselect=function(r,n){var t=this.option.selectedMap;if(t){var a=this.option.selectedMode,p=this.getData(n);if("series"===a||"all"===t)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var O=0;O<r.length;O++){var z=P(p,r[O]);t[z]=!1,this._selectedDataIndicesMap[z]=-1}}},s.prototype.toggleSelect=function(r,n){for(var t=[],a=0;a<r.length;a++)t[0]=r[a],this.isSelected(r[a],n)?this.unselect(t,n):this.select(t,n)},s.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var r=this._selectedDataIndicesMap,n=Y.keys(r),t=[],a=0;a<n.length;a++){var p=r[n[a]];p>=0&&t.push(p)}return t},s.prototype.isSelected=function(r,n){var t=this.option.selectedMap;if(!t)return!1;var a=this.getData(n);return("all"===t||t[P(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},s.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var r=this.option.universalTransition;return!!r&&(!0===r||r&&r.enabled)},s.prototype._innerSelect=function(r,n){var t,a,p=this.option,O=p.selectedMode,B=n.length;if(O&&B)if("series"===O)p.selectedMap="all";else if("multiple"===O){Y.isObject(p.selectedMap)||(p.selectedMap={});for(var z=p.selectedMap,H=0;H<B;H++){var C=n[H];z[D=P(r,C)]=!0,this._selectedDataIndicesMap[D]=r.getRawIndex(C)}}else if("single"===O||!0===O){var N=n[B-1],D=P(r,N);p.selectedMap=((t={})[D]=!0,t),this._selectedDataIndicesMap=((a={})[D]=r.getRawIndex(N),a)}},s.prototype._initSelectedMapFromData=function(r){if(!this.option.selectedMap){var n=[];r.hasItemOption&&r.each(function(t){var a=r.getRawDataItem(t);a&&a.selected&&n.push(t)}),n.length>0&&this._innerSelect(r,n)}},s.registerClass=function(r){return U.A.registerClass(r)},s.protoInitialize=((r=s.prototype).type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",void(r.visualDrawType="fill")),s;var r}(U.A);function f(u){var s=u.name;F.O0(u)||(u.name=function T(u){var s=u.getRawData(),r=s.mapDimensionsAll("seriesName"),n=[];return Y.each(r,function(t){var a=s.getDimensionInfo(t);a.displayName&&n.push(a.displayName)}),n.join(" ")}(u)||s)}function c(u){return u.model.getRawData().count()}function v(u){var s=u.model;return s.setData(s.getRawData().cloneShallow()),_}function _(u,s){s.outputData&&u.end>s.outputData.count()&&s.model.getRawData().cloneShallow(s.outputData)}function i(u,s){Y.each(Y.concatArray(u.CHANGABLE_METHODS,u.DOWNSAMPLE_METHODS),function(r){u.wrapMethod(r,Y.curry(h,s))})}function h(u,s){var r=e(u);return r&&r.setOutputEnd((s||this).count()),s}function e(u){var s=(u.ecModel||{}).scheduler,r=s&&s.getPipeline(u.uid);if(r){var n=r.currentTask;if(n){var t=n.agentStubMap;t&&(n=t.get(u.uid))}return n}}Y.mixin(g,G.J),Y.mixin(g,W.X),(0,L.q7)(g,U.A);const o=g},71489:(jt,ht,l)=>{l.d(ht,{J:()=>U,L:()=>W});var x=l(68453),Y=l(95177),b=l(42050),F=/\{@(.+?)\}/g,U=function(){function G(){}return G.prototype.getDataParams=function(w,R){var L=this.getData(R),y=this.getRawValue(w,R),d=L.getRawIndex(w),A=L.getName(w),S=L.getRawDataItem(w),M=L.getItemVisual(w,"style"),E=M&&M[L.getItemVisual(w,"drawType")||"fill"],P=M&&M.stroke,m=this.mainType,g="series"===m,f=L.userOutput&&L.userOutput.get();return{componentType:m,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,
1seriesName:g?this.name:null,name:A,dataIndex:d,data:S,dataType:R,value:y,color:E,borderColor:P,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},G.prototype.getFormattedLabel=function(w,R,L,y,d,A){R=R||"normal";var S=this.getData(L),M=this.getDataParams(w,L);return A&&(M.value=A.interpolatedValue),null!=y&&x.isArray(M.value)&&(M.value=M.value[y]),d||(d=S.getItemModel(w).get("normal"===R?["label","formatter"]:[R,"label","formatter"])),x.isFunction(d)?(M.status=R,M.dimensionIndex=y,d(M)):x.isString(d)?(0,b.YK)(d,M).replace(F,function(m,g){var f=g.length,T=g;"["===T.charAt(0)&&"]"===T.charAt(f-1)&&(T=+T.slice(1,f-1));var c=(0,Y.QE)(S,w,T);if(A&&x.isArray(A.interpolatedValue)){var v=S.getDimensionIndex(T);v>=0&&(c=A.interpolatedValue[v])}return null!=c?c+"":""}):void 0},G.prototype.getRawValue=function(w,R){return(0,Y.QE)(this.getData(R),w)},G.prototype.formatTooltip=function(w,R,L){},G}();function W(G){var w,R;return x.isObject(G)?G.type&&(R=G):w=G,{text:w,frag:R}}},44460:(jt,ht,l)=>{l.d(ht,{L:()=>Y,s:()=>F});var x=l(81442),Y=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],b=(0,x.A)(Y),F=function(){function U(){}return U.prototype.getItemStyle=function(W,G){return b(this,W,G)},U}()},62259:(jt,ht,l)=>{l.d(ht,{J:()=>F,m:()=>Y});var x=l(81442),Y=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],b=(0,x.A)(Y),F=function(){function U(){}return U.prototype.getLineStyle=function(W){return b(this,W)},U}()},81442:(jt,ht,l)=>{l.d(ht,{A:()=>Y});var x=l(68453);function Y(b,F){for(var U=0;U<b.length;U++)b[U][1]||(b[U][1]=b[U][0]);return F=F||!1,function(W,G,w){for(var R={},L=0;L<b.length;L++){var y=b[L][1];if(!(G&&x.indexOf(G,y)>=0||w&&x.indexOf(w,y)<0)){var d=W.getShallow(y,F);null!=d&&(R[b[L][0]]=d)}}return R}}},14427:(jt,ht,l)=>{l.d(ht,{X:()=>F});var x=l(94804),Y=(0,x.$r)(),F=((0,x.$r)(),function(){function R(){}return R.prototype.getColorFromPalette=function(L,y,d){var A=(0,x.qB)(this.get("color",!0)),S=this.get("colorLayer",!0);return function G(R,L,y,d,A,S,M){var E=L(S=S||R),P=E.paletteIdx||0,m=E.paletteNameMap=E.paletteNameMap||{};if(m.hasOwnProperty(A))return m[A];var g=null!=M&&d?function W(R,L){for(var y=R.length,d=0;d<y;d++)if(R[d].length>L)return R[d];return R[y-1]}(d,M):y;if((g=g||y)&&g.length){var f=g[P];return A&&(m[A]=f),E.paletteIdx=(P+1)%g.length,f}}(this,Y,A,S,L,y,d)},R.prototype.clearColorPalette=function(){!function w(R,L){L(R).paletteIdx=0,L(R).paletteNameMap={}}(this,Y)},R}())},56188:(jt,ht,l)=>{l.d(ht,{A:()=>w});var x=l(20572),Y=l(8404),b=l(42050),F=l(90095),U=l(12073),W=Y.LI,G=function(R){function L(){var y=null!==R&&R.apply(this,arguments)||this;return y.type="interval",y._interval=0,y._intervalPrecision=2,y}return(0,x.C6)(L,R),L.prototype.parse=function(y){return y},L.prototype.contain=function(y){return U.lP(y,this._extent)},L.prototype.normalize=function(y){return U.S8(y,this._extent)},L.prototype.scale=function(y){return U.hs(y,this._extent)},L.prototype.setExtent=function(y,d){var A=this._extent;isNaN(y)||(A[0]=parseFloat(y)),isNaN(d)||(A[1]=parseFloat(d))},L.prototype.unionExtent=function(y){var d=this._extent;y[0]<d[0]&&(d[0]=y[0]),y[1]>d[1]&&(d[1]=y[1]),this.setExtent(d[0],d[1])},L.prototype.getInterval=function(){return this._interval},L.prototype.setInterval=function(y){this._interval=y,this._niceExtent=this._extent.slice(),this._intervalPrecision=U.u$(y)},L.prototype.getTicks=function(y){var d=this._interval,A=this._extent,S=this._niceExtent,M=this._intervalPrecision,E=[];if(!d)return E;A[0]<S[0]&&E.push(y?{value:W(S[0]-d,M)}:{value:A[0]});for(var m=S[0];m<=S[1]&&(E.push({value:m}),(m=W(m+d,M))!==E[E.length-1].value);)if(E.length>1e4)return[];var g=E.length?E[E.length-1].value:S[1];return A[1]>g&&E.push(y?{value:W(g+d,M)}:{value:A[1]}),E},L.prototype.getMinorTicks=function(y){for(var d=this.getTicks(!0),A=[],S=this.getExtent(),M=1;M<d.length;M++){for(var P=d[M-1],m=0,g=[],T=(d[M].value-P.value)/y;m<y-1;){var c=W(P.value+(m+1)*T);c>S[0]&&c<S[1]&&g.push(c),m++}A.push(g)}return A},L.prototype.getLabel=function(y,d){if(null==y)return"";var A=d&&d.precision;null==A?A=Y.XV(y.value)||0:"auto"===A&&(A=this._intervalPrecision);var S=W(y.value,A,!0);return b.ob(S)},L.prototype.calcNiceTicks=function(y,d,A){y=y||5;var S=this._extent,M=S[1]-S[0];if(isFinite(M)){M<0&&(M=-M,S.reverse());var E=U.xh(S,y,d,A);this._intervalPrecision=E.intervalPrecision,this._interval=E.interval,this._niceExtent=E.niceTickExtent}},L.prototype.calcNiceExtent=function(y){var d=this._extent;if(d[0]===d[1])if(0!==d[0]){var A=Math.abs(d[0]);y.fixMax||(d[1]+=A/2),d[0]-=A/2}else d[1]=1;
1isFinite(d[1]-d[0])||(d[0]=0,d[1]=1),this.calcNiceTicks(y.splitNumber,y.minInterval,y.maxInterval);var M=this._interval;y.fixMin||(d[0]=W(Math.floor(d[0]/M)*M)),y.fixMax||(d[1]=W(Math.ceil(d[1]/M)*M))},L.prototype.setNiceExtent=function(y,d){this._niceExtent=[y,d]},L.type="interval",L}(F.A);F.A.registerClass(G);const w=G},90095:(jt,ht,l)=>{l.d(ht,{A:()=>b});var x=l(13991),Y=function(){function F(U){this._setting=U||{},this._extent=[1/0,-1/0]}return F.prototype.getSetting=function(U){return this._setting[U]},F.prototype.unionExtent=function(U){var W=this._extent;U[0]<W[0]&&(W[0]=U[0]),U[1]>W[1]&&(W[1]=U[1])},F.prototype.unionExtentFromData=function(U,W){this.unionExtent(U.getApproximateExtent(W))},F.prototype.getExtent=function(){return this._extent.slice()},F.prototype.setExtent=function(U,W){var G=this._extent;isNaN(U)||(G[0]=U),isNaN(W)||(G[1]=W)},F.prototype.isInExtentRange=function(U){return this._extent[0]<=U&&this._extent[1]>=U},F.prototype.isBlank=function(){return this._isBlank},F.prototype.setBlank=function(U){this._isBlank=U},F}();x.tQ(Y);const b=Y},12073:(jt,ht,l)=>{l.d(ht,{S8:()=>L,hs:()=>y,kH:()=>U,lP:()=>R,rf:()=>b,u$:()=>W,xh:()=>F});var x=l(8404);function b(d){return"interval"===d.type||"log"===d.type}function F(d,A,S,M){var E={},m=E.interval=(0,x.Cm)((d[1]-d[0])/A,!0);null!=S&&m<S&&(m=E.interval=S),null!=M&&m>M&&(m=E.interval=M);var g=E.intervalPrecision=W(m);return function w(d,A){!isFinite(d[0])&&(d[0]=A[0]),!isFinite(d[1])&&(d[1]=A[1]),G(d,0,A),G(d,1,A),d[0]>d[1]&&(d[0]=d[1])}(E.niceTickExtent=[(0,x.LI)(Math.ceil(d[0]/m)*m,g),(0,x.LI)(Math.floor(d[1]/m)*m,g)],d),E}function U(d){var A=Math.pow(10,(0,x.NX)(d)),S=d/A;return S?2===S?S=3:3===S?S=5:S*=2:S=1,(0,x.LI)(S*A)}function W(d){return(0,x.XV)(d)+2}function G(d,A,S){d[A]=Math.max(Math.min(d[A],S[1]),S[0])}function R(d,A){return d>=A[0]&&d<=A[1]}function L(d,A){return A[1]===A[0]?.5:(d-A[0])/(A[1]-A[0])}function y(d,A){return d*(A[1]-A[0])+A[0]}},13991:(jt,ht,l)=>{l.d(ht,{CC:()=>W,Od:()=>A,_E:()=>w,gq:()=>R,q7:()=>y,tQ:()=>E});var x=l(20572),Y=l(68453),b=".",F="___EC__COMPONENT__CONTAINER___",U="___EC__EXTENDED_CLASS___";function W(P){var m={main:"",sub:""};if(P){var g=P.split(b);m.main=g[0]||"",m.sub=g[1]||""}return m}function w(P){return!(!P||!P[U])}function R(P,m){P.$constructor=P,P.extend=function(g){var T,f=this;return function L(P){return Y.isFunction(P)&&/^class\s/.test(Function.prototype.toString.call(P))}(f)?T=function(c){function v(){return c.apply(this,arguments)||this}return(0,x.C6)(v,c),v}(f):(T=function(){(g.$constructor||f).apply(this,arguments)},Y.inherits(T,this)),Y.extend(T.prototype,g),T[U]=!0,T.extend=this.extend,T.superCall=S,T.superApply=M,T.superClass=f,T}}function y(P,m){P.extend=m.extend}var d=Math.round(10*Math.random());function A(P){var m=["__\0is_clz",d++].join("_");P.prototype[m]=!0,P.isInstance=function(g){return!(!g||!g[m])}}function S(P,m){for(var g=[],f=2;f<arguments.length;f++)g[f-2]=arguments[f];return this.superClass.prototype[m].apply(P,g)}function M(P,m,g){return this.superClass.prototype[m].apply(P,g)}function E(P){var m={};P.registerClass=function(f){var T=f.type||f.prototype.type;if(T){(function G(P){Y.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(P),'componentType "'+P+'" illegal')})(T),f.prototype.type=T;var c=W(T);if(c.sub){if(c.sub!==F){var v=function g(f){var T=m[f.main];return(!T||!T[F])&&((T=m[f.main]={})[F]=!0),T}(c);v[c.sub]=f}}else m[c.main]=f}return f},P.getClass=function(f,T,c){var v=m[f];if(v&&v[F]&&(v=T?v[T]:null),c&&!v)throw new Error(T?"Component "+f+"."+(T||"")+" is used but not imported.":f+".type should be specified.");return v},P.getClassesByMainType=function(f){var T=W(f),c=[],v=m[T.main];return v&&v[F]?Y.each(v,function(_,i){i!==F&&c.push(_)}):c.push(v),c},P.hasClass=function(f){var T=W(f);return!!m[T.main]},P.getAllClassMainTypes=function(){var f=[];return Y.each(m,function(T,c){f.push(c)}),f},P.hasSubTypes=function(f){var T=W(f),c=m[T.main];return c&&c[F]}}},59938:(jt,ht,l)=>{l.d(ht,{$Q:()=>F,A6:()=>U,G_:()=>G,vf:()=>W});var x=l(68453),Y=l(13991),b=Math.round(10*Math.random());function F(w){return[w||"",b++].join("_")}function U(w){var R={};w.registerSubTypeDefaulter=function(L,y){var d=(0,Y.CC)(L);R[d.main]=y},w.determineSubType=function(L,y){var d=y.type;if(!d){var A=(0,Y.CC)(L).main;w.hasSubTypes(L)&&R[A]&&(d=R[A](y))}return d}}function W(w,R){function y(A,S){return A[S]||(A[S]={predecessor:[],successor:[]}),A[S]}w.topologicalTravel=function(A,S,M,E){if(A.length){var P=function L(A){var S={},M=[];return x.each(A,function(E){var P=y(S,E),g=function d(A,S){var M=[];return x.each(A,function(E){x.indexOf(S,E)>=0&&M.push(E)}),M}(P.originalDeps=R(E),A);P.entryCount=g.length,0===P.entryCount&&M.push(E),x.each(g,function(f){x.indexOf(P.predecessor,f)<0&&P.predecessor.push(f);var T=y(S,f);x.indexOf(T.successor,f)<0&&T.successor.push(E)})}
1),{graph:S,noEntryList:M}}(S),m=P.graph,g=P.noEntryList,f={};for(x.each(A,function(h){f[h]=!0});g.length;){var T=g.pop(),c=m[T],v=!!f[T];v&&(M.call(E,T,c.originalDeps.slice()),delete f[T]),x.each(c.successor,v?i:_)}x.each(f,function(){throw new Error("")})}function _(h){m[h].entryCount--,0===m[h].entryCount&&g.push(h)}function i(h){f[h]=!0,_(h)}}}function G(w,R){return x.merge(x.merge({},w,!0),R,!0)}},24929:(jt,ht,l)=>{function x(Y,b,F){for(var U;Y&&(!b(Y)||(U=Y,!F));)Y=Y.__hostTarget||Y.parent;return U}l.d(ht,{R:()=>x})},42050:(jt,ht,l)=>{l.d(ht,{Cb:()=>W,QX:()=>G,YK:()=>y,fU:()=>S,he:()=>E,ob:()=>U,qg:()=>A,x5:()=>M,yC:()=>w});var x=l(68453),Y=l(28551),b=l(8404),F=l(44488);function U(m){if(!(0,b.kf)(m))return x.isString(m)?m:"-";var g=(m+"").split(".");return g[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(g.length>1?"."+g[1]:"")}function W(m,g){return m=(m||"").toLowerCase().replace(/-(.)/g,function(f,T){return T.toUpperCase()}),g&&m&&(m=m.charAt(0).toUpperCase()+m.slice(1)),m}var G=x.normalizeCssArray;function w(m,g,f){function c(o){return o&&x.trim(o)?o:"-"}function v(o){return!(null==o||isNaN(o)||!isFinite(o))}var _="time"===g,i=m instanceof Date;if(_||i){var h=_?(0,b._U)(m):m;if(!isNaN(+h))return(0,F.GP)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",f);if(i)return"-"}if("ordinal"===g)return x.isStringSafe(m)?c(m):x.isNumber(m)&&v(m)?m+"":"-";var e=(0,b.Sm)(m);return v(e)?U(e):x.isStringSafe(m)?c(m):"boolean"==typeof m?m+"":"-"}var R=["a","b","c","d","e","f","g"],L=function(m,g){return"{"+m+(g??"")+"}"};function y(m,g,f){x.isArray(g)||(g=[g]);var T=g.length;if(!T)return"";for(var c=g[0].$vars||[],v=0;v<c.length;v++){var _=R[v];m=m.replace(L(_),L(_,0))}for(var i=0;i<T;i++)for(var h=0;h<c.length;h++){var e=g[i][c[h]];m=m.replace(L(R[h],i),f?(0,Y.Me)(e):e)}return m}function A(m,g){var f=x.isString(m)?{color:m,extraCssText:g}:m||{},T=f.color,c=f.type;g=f.extraCssText;var v=f.renderMode||"html";return T?"html"===v?"subItem"===c?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,Y.Me)(T)+";"+(g||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,Y.Me)(T)+";"+(g||"")+'"></span>':{renderMode:v,content:"{"+(f.markerId||"markerX")+"|} ",style:"subItem"===c?{width:4,height:4,borderRadius:2,backgroundColor:T}:{width:10,height:10,borderRadius:5,backgroundColor:T}}:""}function S(m,g,f){("week"===m||"month"===m||"quarter"===m||"half-year"===m||"year"===m)&&(m="MM-dd\nyyyy");var T=(0,b._U)(g),c=f?"getUTC":"get",v=T[c+"FullYear"](),_=T[c+"Month"]()+1,i=T[c+"Date"](),h=T[c+"Hours"](),e=T[c+"Minutes"](),o=T[c+"Seconds"](),u=T[c+"Milliseconds"]();return m.replace("MM",(0,F.eV)(_,2)).replace("M",_).replace("yyyy",v).replace("yy",(0,F.eV)(v%100+"",2)).replace("dd",(0,F.eV)(i,2)).replace("d",i).replace("hh",(0,F.eV)(h,2)).replace("h",h).replace("mm",(0,F.eV)(e,2)).replace("m",e).replace("ss",(0,F.eV)(o,2)).replace("s",o).replace("SSS",(0,F.eV)(u,3))}function M(m){return m&&m.charAt(0).toUpperCase()+m.substr(1)}function E(m,g){return g=g||"transparent",x.isString(m)?m:x.isObject(m)&&m.colorStops&&(m.colorStops[0]||{}).color||g}},66456:(jt,ht,l)=>{l.r(ht),l.d(ht,{Arc:()=>I.A,BezierCurve:()=>N.A,BoundingRect:()=>tt.A,Circle:()=>a.A,CompoundPath:()=>V.A,Ellipse:()=>p.A,Group:()=>n.A,Image:()=>r.Ay,IncrementalDisplayable:()=>pt.A,Line:()=>D.A,LinearGradient:()=>k.A,OrientedBoundingRect:()=>ot.A,Path:()=>Y.Ay,Point:()=>at.A,Polygon:()=>z.A,Polyline:()=>H.A,RadialGradient:()=>$.A,Rect:()=>C.A,Ring:()=>B.A,Sector:()=>O.A,Text:()=>t.Ay,applyTransform:()=>kt,clipPointsByRect:()=>$t,clipRectByRect:()=>q,createIcon:()=>rt,extendPath:()=>lt,extendShape:()=>dt,getShapeClass:()=>Ut,getTransform:()=>yt,groupTransition:()=>Gt,initProps:()=>Kt.LW,isElementRemoved:()=>Kt.LR,lineLineIntersect:()=>st,linePolygonIntersect:()=>et,makeImage:()=>fe,makePath:()=>Ht,mergePath:()=>ye,registerShape:()=>bt,removeElement:()=>Kt.Nz,removeElementWithFadeOut:()=>Kt.t5,resizePath:()=>Me,setTooltipConfig:()=>re,subPixelOptimize:()=>J,subPixelOptimizeLine:()=>_e,subPixelOptimizeRect:()=>Se,transformDirection:()=>Qt,traverseElements:()=>Ae,updateProps:()=>Kt.oi});var x=l(20572),Y=l(57918),b=l(97240),F=l(48550),U=b.A.CMD,W=[[],[],[]],G=Math.sqrt,w=Math.atan2,
1L=l(68453),y=Math.sqrt,d=Math.sin,A=Math.cos,S=Math.PI;function M(Dt){return Math.sqrt(Dt[0]*Dt[0]+Dt[1]*Dt[1])}function E(Dt,mt){return(Dt[0]*mt[0]+Dt[1]*mt[1])/(M(Dt)*M(mt))}function P(Dt,mt){return(Dt[0]*mt[1]<Dt[1]*mt[0]?-1:1)*Math.acos(E(Dt,mt))}function m(Dt,mt,St,It,Jt,pe,oe,te,Re,xe,Ke){var Be=Re*(S/180),me=A(Be)*(Dt-St)/2+d(Be)*(mt-It)/2,ie=-1*d(Be)*(Dt-St)/2+A(Be)*(mt-It)/2,nr=me*me/(oe*oe)+ie*ie/(te*te);nr>1&&(oe*=y(nr),te*=y(nr));var tr=(Jt===pe?-1:1)*y((oe*oe*(te*te)-oe*oe*(ie*ie)-te*te*(me*me))/(oe*oe*(ie*ie)+te*te*(me*me)))||0,ve=tr*oe*ie/te,Ne=tr*-te*me/oe,Ve=(Dt+St)/2+A(Be)*ve-d(Be)*Ne,Ge=(mt+It)/2+d(Be)*ve+A(Be)*Ne,ir=P([1,0],[(me-ve)/oe,(ie-Ne)/te]),Ye=[(me-ve)/oe,(ie-Ne)/te],ke=[(-1*me-ve)/oe,(-1*ie-Ne)/te],Pe=P(Ye,ke);if(E(Ye,ke)<=-1&&(Pe=S),E(Ye,ke)>=1&&(Pe=0),Pe<0){var be=Math.round(Pe/S*1e6)/1e6;Pe=2*S+be%2*S}Ke.addData(xe,Ve,Ge,oe,te,ir,Pe,Be,pe)}var g=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,f=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,c=function(Dt){function mt(){return null!==Dt&&Dt.apply(this,arguments)||this}return(0,x.C6)(mt,Dt),mt.prototype.applyTransform=function(St){},mt}(Y.Ay);function v(Dt){return null!=Dt.setData}function _(Dt,mt){var St=function T(Dt){var mt=new b.A;if(!Dt)return mt;var oe,St=0,It=0,Jt=St,pe=It,te=b.A.CMD,Re=Dt.match(g);if(!Re)return mt;for(var xe=0;xe<Re.length;xe++){for(var Ke=Re[xe],Be=Ke.charAt(0),me=void 0,ie=Ke.match(f)||[],nr=ie.length,tr=0;tr<nr;tr++)ie[tr]=parseFloat(ie[tr]);for(var ve=0;ve<nr;){var Ne=void 0,Ve=void 0,Ge=void 0,ir=void 0,Ye=void 0,ke=void 0,Pe=void 0,be=St,We=It,we=void 0,Ze=void 0;switch(Be){case"l":St+=ie[ve++],It+=ie[ve++],mt.addData(me=te.L,St,It);break;case"L":St=ie[ve++],It=ie[ve++],mt.addData(me=te.L,St,It);break;case"m":St+=ie[ve++],It+=ie[ve++],mt.addData(me=te.M,St,It),Jt=St,pe=It,Be="l";break;case"M":St=ie[ve++],It=ie[ve++],mt.addData(me=te.M,St,It),Jt=St,pe=It,Be="L";break;case"h":St+=ie[ve++],mt.addData(me=te.L,St,It);break;case"H":St=ie[ve++],mt.addData(me=te.L,St,It);break;case"v":It+=ie[ve++],mt.addData(me=te.L,St,It);break;case"V":It=ie[ve++],mt.addData(me=te.L,St,It);break;case"C":mt.addData(me=te.C,ie[ve++],ie[ve++],ie[ve++],ie[ve++],ie[ve++],ie[ve++]),St=ie[ve-2],It=ie[ve-1];break;case"c":mt.addData(me=te.C,ie[ve++]+St,ie[ve++]+It,ie[ve++]+St,ie[ve++]+It,ie[ve++]+St,ie[ve++]+It),St+=ie[ve-2],It+=ie[ve-1];break;case"S":Ne=St,Ve=It,we=mt.len(),Ze=mt.data,oe===te.C&&(Ne+=St-Ze[we-4],Ve+=It-Ze[we-3]),be=ie[ve++],We=ie[ve++],St=ie[ve++],It=ie[ve++],mt.addData(me=te.C,Ne,Ve,be,We,St,It);break;case"s":Ne=St,Ve=It,we=mt.len(),Ze=mt.data,oe===te.C&&(Ne+=St-Ze[we-4],Ve+=It-Ze[we-3]),be=St+ie[ve++],We=It+ie[ve++],St+=ie[ve++],It+=ie[ve++],mt.addData(me=te.C,Ne,Ve,be,We,St,It);break;case"Q":be=ie[ve++],We=ie[ve++],St=ie[ve++],It=ie[ve++],mt.addData(me=te.Q,be,We,St,It);break;case"q":be=ie[ve++]+St,We=ie[ve++]+It,St+=ie[ve++],It+=ie[ve++],mt.addData(me=te.Q,be,We,St,It);break;case"T":Ne=St,Ve=It,we=mt.len(),Ze=mt.data,oe===te.Q&&(Ne+=St-Ze[we-4],Ve+=It-Ze[we-3]),St=ie[ve++],It=ie[ve++],mt.addData(me=te.Q,Ne,Ve,St,It);break;case"t":Ne=St,Ve=It,we=mt.len(),Ze=mt.data,oe===te.Q&&(Ne+=St-Ze[we-4],Ve+=It-Ze[we-3]),St+=ie[ve++],It+=ie[ve++],mt.addData(me=te.Q,Ne,Ve,St,It);break;case"A":Ge=ie[ve++],ir=ie[ve++],Ye=ie[ve++],ke=ie[ve++],Pe=ie[ve++],m(be=St,We=It,St=ie[ve++],It=ie[ve++],ke,Pe,Ge,ir,Ye,me=te.A,mt);break;case"a":Ge=ie[ve++],ir=ie[ve++],Ye=ie[ve++],ke=ie[ve++],Pe=ie[ve++],m(be=St,We=It,St+=ie[ve++],It+=ie[ve++],ke,Pe,Ge,ir,Ye,me=te.A,mt)}}("z"===Be||"Z"===Be)&&(mt.addData(me=te.Z),St=Jt,It=pe),oe=me}return mt.toStatic(),mt}(Dt),It=(0,L.extend)({},mt);return It.buildPath=function(Jt){var pe;v(Jt)?(Jt.setData(St.data),(pe=Jt.getContext())&&Jt.rebuildPath(pe,1)):St.rebuildPath(pe=Jt,1)},It.applyTransform=function(Jt){(function R(Dt,mt){if(mt){var Jt,pe,oe,te,Re,xe,St=Dt.data,It=Dt.len(),Ke=U.M,Be=U.C,me=U.L,ie=U.R,nr=U.A,tr=U.Q;for(oe=0,te=0;oe<It;){switch(Jt=St[oe++],te=oe,pe=0,Jt){case Ke:case me:pe=1;break;case Be:pe=3;break;case tr:pe=2;break;case nr:var ve=mt[4],Ne=mt[5],Ve=G(mt[0]*mt[0]+mt[1]*mt[1]),Ge=G(mt[2]*mt[2]+mt[3]*mt[3]),ir=w(-mt[1]/Ge,mt[0]/Ve);St[oe]*=Ve,St[oe++]+=ve,St[oe]*=Ge,St[oe++]+=Ne,St[oe++]*=Ve,St[oe++]*=Ge,St[oe++]+=ir,St[oe++]+=ir,te=oe+=2;break;case ie:xe[0]=St[oe++],xe[1]=St[oe++],(0,F.applyTransform)(xe,xe,mt),St[te++]=xe[0],St[te++]=xe[1],xe[0]+=St[oe++],xe[1]+=St[oe++],(0,F.applyTransform)(xe,xe,mt),St[te++]=xe[0],St[te++]=xe[1]}for(Re=0;Re<pe;Re++){var Ye=W[Re];Ye[0]=St[oe++],Ye[1]=St[oe++],(0,F.applyTransform)(Ye,Ye,mt),St[te++]=Ye[0],St[te++]=Ye[1]}}Dt.increaseVersion()}})(St,Jt),this.dirtyShape()},It}var u=l(72464),s=l(58749),r=l(17799),n=l(67469),t=l(81523),a=l(12638),p=l(17798),O=l(20255),B=l(26972),z=l(45086),H=l(52274),C=l(16609),D=l(45760),N=l(61838),I=l(72492),V=l(84306),k=l(29613),$=l(98063),tt=l(47799),ot=l(40347),at=l(45263),pt=l(2966),Mt=l(64014),At=l(55152),Kt=l(16108),qt=Math.max,le=Math.min,vt={};function dt(Dt){return Y.Ay.extend(Dt)}var it=function h(Dt,mt){var St=_(Dt,mt);return function(Jt){function pe(oe){var te=Jt.call(this,oe)||this;return te.applyTransform=St.applyTransform,te.buildPath=St.buildPath,te}return(0,x.C6)(pe,Jt),pe}(c)};function lt(Dt,mt){return it(Dt,mt)}function bt(Dt,mt){vt[Dt]=mt}function Ut(Dt){if(vt.hasOwnProperty(Dt))return vt[Dt]}function Ht(Dt,mt,St,It){var Jt=function i(Dt,mt){return new c(_(Dt,mt))}(Dt,mt);
1return St&&("center"===It&&(St=ue(St,Jt.getBoundingRect())),Me(Jt,St)),Jt}function fe(Dt,mt,St){var It=new r.Ay({style:{image:Dt,x:mt.x,y:mt.y,width:mt.width,height:mt.height},onload:function(Jt){"center"===St&&It.setStyle(ue(mt,{width:Jt.width,height:Jt.height}))}});return It}function ue(Dt,mt){var Jt,St=mt.width/mt.height,It=Dt.height*St;return Jt=It<=Dt.width?Dt.height:(It=Dt.width)/St,{x:Dt.x+Dt.width/2-It/2,y:Dt.y+Dt.height/2-Jt/2,width:It,height:Jt}}var ye=function e(Dt,mt){for(var St=[],It=Dt.length,Jt=0;Jt<It;Jt++)St.push(Dt[Jt].getUpdatedPathProxy(!0));var oe=new Y.Ay(mt);return oe.createPathProxy(),oe.buildPath=function(te){if(v(te)){te.appendPath(St);var Re=te.getContext();Re&&te.rebuildPath(Re,1)}},oe};function Me(Dt,mt){if(Dt.applyTransform){var It=Dt.getBoundingRect().calculateTransform(mt);Dt.applyTransform(It)}}function _e(Dt,mt){return Mt.eB(Dt,Dt,{lineWidth:mt}),Dt}function Se(Dt){return Mt.Op(Dt.shape,Dt.shape,Dt.style),Dt}var J=Mt.M7;function yt(Dt,mt){for(var St=u.identity([]);Dt&&Dt!==mt;)u.mul(St,Dt.getLocalTransform(),St),Dt=Dt.parent;return St}function kt(Dt,mt,St){return mt&&!(0,L.isArrayLike)(mt)&&(mt=s.Ay.getLocalTransform(mt)),St&&(mt=u.invert([],mt)),F.applyTransform([],Dt,mt)}function Qt(Dt,mt,St){var It=0===mt[4]||0===mt[5]||0===mt[0]?1:Math.abs(2*mt[4]/mt[0]),Jt=0===mt[4]||0===mt[5]||0===mt[2]?1:Math.abs(2*mt[4]/mt[2]),pe=["left"===Dt?-It:"right"===Dt?It:0,"top"===Dt?-Jt:"bottom"===Dt?Jt:0];return pe=kt(pe,mt,St),Math.abs(pe[0])>Math.abs(pe[1])?pe[0]>0?"right":"left":pe[1]>0?"bottom":"top"}function ct(Dt){return!Dt.isGroup}function Gt(Dt,mt,St){if(Dt&&mt){var pe=function It(oe){var te={};return oe.traverse(function(Re){ct(Re)&&Re.anid&&(te[Re.anid]=Re)}),te}(Dt);mt.traverse(function(oe){if(ct(oe)&&oe.anid){var te=pe[oe.anid];if(te){var Re=Jt(oe);oe.attr(Jt(te)),(0,Kt.oi)(oe,Re,St,(0,At.z)(oe).dataIndex)}}})}function Jt(oe){var te={x:oe.x,y:oe.y,rotation:oe.rotation};return function Lt(Dt){return null!=Dt.shape}(oe)&&(te.shape=(0,L.extend)({},oe.shape)),te}}function $t(Dt,mt){return(0,L.map)(Dt,function(St){var It=St[0];It=qt(It,mt.x),It=le(It,mt.x+mt.width);var Jt=St[1];
1return Jt=qt(Jt,mt.y),[It,Jt=le(Jt,mt.y+mt.height)]})}function q(Dt,mt){var St=qt(Dt.x,mt.x),It=le(Dt.x+Dt.width,mt.x+mt.width),Jt=qt(Dt.y,mt.y),pe=le(Dt.y+Dt.height,mt.y+mt.height);if(It>=St&&pe>=Jt)return{x:St,y:Jt,width:It-St,height:pe-Jt}}function rt(Dt,mt,St){var It=(0,L.extend)({rectHover:!0},mt),Jt=It.style={strokeNoScale:!0};if(St=St||{x:-1,y:-1,width:2,height:2},Dt)return 0===Dt.indexOf("image://")?(Jt.image=Dt.slice(8),(0,L.defaults)(Jt,St),new r.Ay(It)):Ht(Dt.replace("path://",""),It,St,"center")}function et(Dt,mt,St,It,Jt){for(var pe=0,oe=Jt[Jt.length-1];pe<Jt.length;pe++){var te=Jt[pe];if(st(Dt,mt,St,It,te[0],te[1],oe[0],oe[1]))return!0;oe=te}}function st(Dt,mt,St,It,Jt,pe,oe,te){var Re=St-Dt,xe=It-mt,Ke=oe-Jt,Be=te-pe,me=zt(Ke,Be,Re,xe);if(function Bt(Dt){return Dt<=1e-6&&Dt>=-1e-6}(me))return!1;var ie=Dt-Jt,nr=mt-pe,tr=zt(ie,nr,Re,xe)/me;if(tr<0||tr>1)return!1;var ve=zt(ie,nr,Ke,Be)/me;return!(ve<0||ve>1)}function zt(Dt,mt,St,It){return Dt*It-St*mt}function re(Dt){var mt=Dt.itemTooltipOption,St=Dt.componentModel,It=Dt.itemName,Jt=(0,L.isString)(mt)?{formatter:mt}:mt,pe=St.mainType,oe=St.componentIndex,te={componentType:pe,name:It,$vars:["name"]};te[pe+"Index"]=oe;var Re=Dt.formatterParamsExtra;Re&&(0,L.each)((0,L.keys)(Re),function(Ke){(0,L.hasOwn)(te,Ke)||(te[Ke]=Re[Ke],te.$vars.push(Ke))});var xe=(0,At.z)(Dt.el);xe.componentMainType=pe,xe.componentIndex=oe,xe.tooltipConfig={name:It,option:(0,L.defaults)({content:It,encodeHTMLContent:!0,formatterParams:te},Jt)}}function ae(Dt,mt){var St;Dt.isGroup&&(St=mt(Dt)),St||Dt.traverse(mt)}function Ae(Dt,mt){if(Dt)if((0,L.isArray)(Dt))for(var St=0;St<Dt.length;St++)ae(Dt[St],mt);else ae(Dt,mt)}bt("circle",a.A),bt("ellipse",p.A),bt("sector",O.A),bt("ring",B.A),bt("polygon",z.A),bt("polyline",H.A),bt("rect",C.A),bt("line",D.A),bt("bezierCurve",N.A),bt("arc",I.A)},55152:(jt,ht,l)=>{l.d(ht,{a:()=>b,z:()=>Y});var Y=(0,l(94804).$r)(),b=function(F,U,W,G){if(G){var w=Y(G);w.dataIndex=W,w.dataType=U,w.seriesIndex=F,w.ssrType="chart","group"===G.type&&G.traverse(function(R){var L=Y(R);L.seriesIndex=F,L.dataIndex=W,L.dataType=U,L.ssrType="chart"})}}},77563:(jt,ht,l)=>{l.d(ht,{YA:()=>P,ad:()=>E,dV:()=>A,vs:()=>m});var x=l(68453),Y=l(47799),b=l(8404),F=l(42050),U=x.each,W=["left","right","top","bottom","width","height"],G=[["width","left","right"],["height","top","bottom"]];function w(f,T,c,v,_){var i=0,h=0;null==v&&(v=1/0),null==_&&(_=1/0);var e=0;T.eachChild(function(o,u){var t,a,s=o.getBoundingRect(),r=T.childAt(u+1),n=r&&r.getBoundingRect();if("horizontal"===f){var p=s.width+(n?-n.x+s.x:0);(t=i+p)>v||o.newline?(i=0,t=p,h+=e+c,e=s.height):e=Math.max(e,s.height)}else{var O=s.height+(n?-n.y+s.y:0);(a=h+O)>_||o.newline?(i+=e+c,h=0,a=O,e=s.width):e=Math.max(e,s.width)}o.newline||(o.x=i,o.y=h,o.markRedraw(),"horizontal"===f?i=t+c:h=a+c)})}function A(f,T,c){c=F.QX(c||0);var v=T.width,_=T.height,i=(0,b.lo)(f.left,v),h=(0,b.lo)(f.top,_),e=(0,b.lo)(f.right,v),o=(0,b.lo)(f.bottom,_),u=(0,b.lo)(f.width,v),s=(0,b.lo)(f.height,_),r=c[2]+c[0],n=c[1]+c[3],t=f.aspect;switch(isNaN(u)&&(u=v-e-n-i),isNaN(s)&&(s=_-o-r-h),null!=t&&(isNaN(u)&&isNaN(s)&&(t>v/_?u=.8*v:s=.8*_),isNaN(u)&&(u=t*s),isNaN(s)&&(s=u/t)),isNaN(i)&&(i=v-e-u-n),isNaN(h)&&(h=_-o-s-r),f.left||f.right){case"center":i=v/2-u/2-c[3];break;case"right":i=v-u-n}switch(f.top||f.bottom){case"middle":case"center":h=_/2-s/2-c[0];break;case"bottom":h=_-s-r}i=i||0,h=h||0,isNaN(u)&&(u=v-n-i-(e||0)),isNaN(s)&&(s=_-r-h-(o||0));var a=new Y.A(i+c[3],h+c[0],u,s);return a.margin=c,a}function E(f){var T=f.layoutMode||f.constructor.layoutMode;return x.isObject(T)?T:T?{type:T}:null}function P(f,T,c){var v=c&&c.ignoreSize;!x.isArray(v)&&(v=[v,v]);var _=h(G[0],0),i=h(G[1],1);function h(s,r){var n={},t=0,a={},p=0;if(U(s,function(H){a[H]=f[H]}),U(s,function(H){e(T,H)&&(n[H]=a[H]=T[H]),o(n,H)&&t++,o(a,H)&&p++}),v[r])return o(T,s[1])?a[s[2]]=null:o(T,s[2])&&(a[s[1]]=null),a;if(2===p||!t)return a;
1if(t>=2)return n;for(var B=0;B<s.length;B++){var z=s[B];if(!e(n,z)&&e(f,z)){n[z]=f[z];break}}return n}function e(s,r){return s.hasOwnProperty(r)}function o(s,r){return null!=s[r]&&"auto"!==s[r]}function u(s,r,n){U(s,function(t){r[t]=n[t]})}u(G[0],f,_),u(G[1],f,i)}function m(f){return function g(f,T){return T&&f&&U(W,function(c){T.hasOwnProperty(c)&&(f[c]=T[c])}),f}({},f)}x.curry(w,"vertical"),x.curry(w,"horizontal")},96831:(jt,ht,l)=>{function w(d){}function y(d){throw new Error(d)}l.d(ht,{$8:()=>y,aT:()=>w}),typeof console<"u"&&console.warn&&console},94804:(jt,ht,l)=>{l.d(ht,{$r:()=>r,Bq:()=>z,D$:()=>H,GX:()=>e,HB:()=>a,Il:()=>N,JO:()=>B,JS:()=>R,M5:()=>w,O0:()=>_,O2:()=>d,US:()=>p,XJ:()=>C,_e:()=>t,le:()=>s,oh:()=>i,qB:()=>G,vS:()=>T,vj:()=>L,zu:()=>y});var x=l(68453),Y=l(24026),b=l(8404);function F(I,V,k){return(V-I)*k+I}var U="series\0",W="\0_ec_\0";function G(I){return I instanceof Array?I:null==I?[]:[I]}function w(I,V,k){if(I){I[V]=I[V]||{},I.emphasis=I.emphasis||{},I.emphasis[V]=I.emphasis[V]||{};for(var $=0,tt=k.length;$<tt;$++){var ot=k[$];!I.emphasis[V].hasOwnProperty(ot)&&I[V].hasOwnProperty(ot)&&(I.emphasis[V][ot]=I[V][ot])}}}var R=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function L(I){return!(0,x.isObject)(I)||(0,x.isArray)(I)||I instanceof Date?I:I.value}function y(I){return(0,x.isObject)(I)&&!(I instanceof Array)}function d(I,V,k){var $="normalMerge"===k,tt="replaceMerge"===k,ot="replaceAll"===k;I=I||[],V=(V||[]).slice();var at=(0,x.createHashMap)();(0,x.each)(V,function(Mt,At){(0,x.isObject)(Mt)||(V[At]=null)});var pt=function A(I,V,k){var $=[];if("replaceAll"===k)return $;for(var tt=0;tt<I.length;tt++){var ot=I[tt];ot&&null!=ot.id&&V.set(ot.id,tt),$.push({existing:"replaceMerge"===k||i(ot)?null:ot,newOption:null,keyInfo:null,brandNew:null})}return $}(I,at,k);return($||tt)&&function S(I,V,k,$){(0,x.each)($,function(tt,ot){if(tt&&null!=tt.id){var at=f(tt.id),pt=k.get(at);if(null!=pt){var Mt=I[pt];(0,x.assert)(!Mt.newOption,'Duplicated option on id "'+at+'".'),Mt.newOption=tt,Mt.existing=V[pt],$[ot]=null}}})}(pt,I,at,V),$&&function M(I,V){(0,x.each)(V,function(k,$){if(k&&null!=k.name)for(var tt=0;tt<I.length;tt++){var ot=I[tt].existing;if(!I[tt].newOption&&ot&&(null==ot.id||null==k.id)&&!i(k)&&!i(ot)&&g("name",ot,k))return I[tt].newOption=k,void(V[$]=null)}})}(pt,V),$||tt?function E(I,V,k){(0,x.each)(V,function($){if($){for(var tt,ot=0;(tt=I[ot])&&(tt.newOption||i(tt.existing)||tt.existing&&null!=$.id&&!g("id",$,tt.existing));)ot++;tt?(tt.newOption=$,tt.brandNew=k):I.push({newOption:$,brandNew:k,existing:null,keyInfo:null}),ot++}})}(pt,V,tt):ot&&function P(I,V){(0,x.each)(V,function(k){I.push({newOption:k,brandNew:!0,existing:null,keyInfo:null})})}(pt,V),function m(I){var V=(0,x.createHashMap)();(0,x.each)(I,function(k){var $=k.existing;$&&V.set($.id,k)}),(0,x.each)(I,function(k){var $=k.newOption;(0,x.assert)(!$||null==$.id||!V.get($.id)||V.get($.id)===k,"id duplicates: "+($&&$.id)),$&&null!=$.id&&V.set($.id,k),!k.keyInfo&&(k.keyInfo={})}),(0,x.each)(I,function(k,$){var tt=k.existing,ot=k.newOption,at=k.keyInfo;if((0,x.isObject)(ot)){if(at.name=null!=ot.name?f(ot.name):tt?tt.name:U+$,tt)at.id=f(tt.id);else if(null!=ot.id)at.id=f(ot.id);else{var pt=0;do{at.id="\0"+at.name+"\0"+pt++}while(V.get(at.id))}V.set(at.id,k)}})}(pt),pt}function g(I,V,k){var $=T(V[I],null),tt=T(k[I],null);return null!=$&&null!=tt&&$===tt}function f(I){return T(I,"")}function T(I,V){return null==I?V:(0,x.isString)(I)?I:(0,x.isNumber)(I)||(0,x.isStringSafe)(I)?I+"":V}function _(I){var V=I.name;return!(!V||!V.indexOf(U))}function i(I){return I&&null!=I.id&&0===f(I.id).indexOf(W)}function e(I,V,k){(0,x.each)(I,function($){var tt=$.newOption;(0,x.isObject)(tt)&&($.keyInfo.mainType=V,$.keyInfo.subType=function o(I,V,k,$){return V.type?V.type:k?k.subType:$.determineSubType(I,V
1)}(V,tt,$.existing,k))})}function s(I,V){return null!=V.dataIndexInside?V.dataIndexInside:null!=V.dataIndex?(0,x.isArray)(V.dataIndex)?(0,x.map)(V.dataIndex,function(k){return I.indexOfRawIndex(k)}):I.indexOfRawIndex(V.dataIndex):null!=V.name?(0,x.isArray)(V.name)?(0,x.map)(V.name,function(k){return I.indexOfName(k)}):I.indexOfName(V.name):void 0}function r(){var I="__ec_inner_"+n++;return function(V){return V[I]||(V[I]={})}}var n=(0,b.IH)();function t(I,V,k){var $=a(V,k),ot=$.queryOptionMap,pt=$.others,Mt=k?k.defaultMainType:null;return!$.mainTypeSpecified&&Mt&&ot.set(Mt,{}),ot.each(function(At,Kt){var qt=B(I,Kt,At,{useDefault:Mt===Kt,enableAll:!k||null==k.enableAll||k.enableAll,enableNone:!k||null==k.enableNone||k.enableNone});pt[Kt+"Models"]=qt.models,pt[Kt+"Model"]=qt.models[0]}),pt}function a(I,V){var k;if((0,x.isString)(I)){var $={};$[I+"Index"]=0,k=$}else k=I;var tt=(0,x.createHashMap)(),ot={},at=!1;return(0,x.each)(k,function(pt,Mt){if("dataIndex"!==Mt&&"dataIndexInside"!==Mt){var At=Mt.match(/^(\w+)(Index|Id|Name)$/)||[],Kt=At[1],qt=(At[2]||"").toLowerCase();!Kt||!qt||V&&V.includeMainTypes&&(0,x.indexOf)(V.includeMainTypes,Kt)<0||(at=at||!!Kt,(tt.get(Kt)||tt.set(Kt,{}))[qt]=pt)}else ot[Mt]=pt}),{mainTypeSpecified:at,queryOptionMap:tt,others:ot}}var p={useDefault:!0,enableAll:!1,enableNone:!1};function B(I,V,k,$){$=$||p;var tt=k.index,ot=k.id,at=k.name,pt={models:null,specified:null!=tt||null!=ot||null!=at};if(!pt.specified){var Mt=void 0;return pt.models=$.useDefault&&(Mt=I.getComponent(V))?[Mt]:[],pt}return"none"===tt||!1===tt?((0,x.assert)($.enableNone,'`"none"` or `false` is not a valid value on index option.'),pt.models=[],pt):("all"===tt&&((0,x.assert)($.enableAll,'`"all"` is not a valid value on index option.'),tt=ot=at=null),pt.models=I.queryComponents({mainType:V,index:tt,id:ot,name:at}),pt)}function z(I,V,k){I.setAttribute?I.setAttribute(V,k):I[V]=k}function H(I,V){return I.getAttribute?I.getAttribute(V):I[V]}function C(I){return"auto"===I?Y.A.domSupported?"html":"richText":I||"html"}function N(I,V,k,$,tt){var ot=null==V||"auto"===V;if(null==$)return $;if((0,x.isNumber)($)){var at=F(k||0,$,tt);return(0,b.LI)(at,ot?Math.max((0,b.XV)(k||0),(0,b.XV)($)):V)}if((0,x.isString)($))return tt<1?k:$;for(var pt=[],Mt=k,At=$,Kt=Math.max(Mt?Mt.length:0,At.length),qt=0;qt<Kt;++qt){var le=I.getDimensionInfo(qt);if(le&&"ordinal"===le.type)pt[qt]=(tt<1&&Mt?Mt:At)[qt];else{var vt=Mt&&Mt[qt]?Mt[qt]:0,dt=At[qt];at=F(vt,dt,tt),pt[qt]=(0,b.LI)(at,ot?Math.max((0,b.XV)(vt),(0,b.XV)(dt)):V)}}return pt}},8404:(jt,ht,l)=>{l.d(ht,{Cb:()=>U,Cm:()=>c,IH:()=>e,Is:()=>M,LI:()=>G,NX:()=>T,Sm:()=>i,Tr:()=>S,XV:()=>R,Y6:()=>w,YV:()=>v,_7:()=>E,_U:()=>g,au:()=>f,dh:()=>P,hb:()=>y,kf:()=>h,lQ:()=>u,lo:()=>W,sL:()=>_,wp:()=>d,y6:()=>L});var x=l(68453),Y=1e-4,b=20;function U(s,r,n,t){var a=r[0],p=r[1],O=n[0],B=n[1],z=p-a,H=B-O;if(0===z)return 0===H?O:(O+B)/2;if(t)if(z>0){if(s<=a)return O;if(s>=p)return B}else{if(s>=a)return O;if(s<=p)return B}else{if(s===a)return O;if(s===p)return B}return(s-a)/z*H+O}function W(s,r){switch(s){case"center":case"middle":s="50%";break;case"left":case"top":s="0%";break;case"right":case"bottom":s="100%"}return x.isString(s)?function F(s){return s.replace(/^\s+|\s+$/g,"")}(s).match(/%$/)?parseFloat(s)/100*r:parseFloat(s):null==s?NaN:+s}function G(s,r,n){return null==r&&(r=10),r=Math.min(Math.max(0,r),b),s=(+s).toFixed(r),n?s:+s}function w(s){return s.sort(function(r,n){return r-n}),s}function R(s){if(s=+s,isNaN(s))return 0;if(s>1e-14)for(var r=1,n=0;n<15;n++,r*=10)if(Math.round(s*r)/r===s)return n;return L(s)}function L(s){var r=s.toString().toLowerCase(),n=r.indexOf("e"),t=n>0?+r.slice(n+1):0,a=n>0?n:r.length,p=r.indexOf(".");return Math.max(0,(p<0?0:a-1-p)-t)}function y(s,r){var n=Math.log,t=Math.LN10,a=Math.floor(n(s[1]-s[0])/t),p=Math.round(n(Math.abs(r[1]-r[0]))/t),O=Math.min(Math.max(-a+p,0),20);return isFinite(O)?O:20}function d(s,r,n){if(!s[r])return 0;var t=function A(s,r){var n=x.reduce(s,function(I,V){return I+(isNaN(V)?0:V)},0);if(0===n)return[];for(var t=Math.pow(10,r),a=x.map(s,function(I){return(isNaN(I)?0:I)/n*t*100}),p=100*t,O=x.map(a,function(I){return Math.floor(I)}),B=x.reduce(O,function(I,V){return I+V},0),z=x.map(a,function(I,V){return I-O[V]});B<p;){for(var H=Number.NEGATIVE_INFINITY,C=null,D=0,N=z.length;D<N;++D)z[D]>H&&(H=z[D],C=D);++O[C],z[C]=0,++B}return x.map(O,function(I){return I/t})}(s,n);return t[r]||0}function S(s,r){var n=Math.max(R(s),R(r)),t=s+r;return n>b?t:G(t,n)}var M=9007199254740991;function E(s){var r=2*Math.PI;return(s%r+r)%r}function P(s){return s>-Y&&s<Y}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function g(s){if(s instanceof Date)return s;if(x.isString(s)){var r=m.exec(s);if(!r)return new Date(NaN);if(r[8]){var n=+r[4]||0;return"Z"!==r[8].toUpperCase()&&(n-=+r[8].slice(0,3)),new Date(Date.UTC(+r[1],+(r[2]||1)-1,+r[3]||1,n,+(r[5]||0),+r[6]||0,r[7]?+r[7].substring(0,3):0))}return new Date(+r[1],+(r[2]||1)-1,+r[3]||1,+r[4]||0,+(r[5]||0),+r[6]||0,r[7]?+r[7].substring(0,3):0)}return null==s?new Date(NaN):new Date(Math.round(s))}function f(s){return Math.pow(10,T(s))}function T(s){if(0===s)return 0;var r=Math.floor(Math.log(s)/Math.LN10);return s/Math.pow(10,r)>=10&&r++,r}function c(s,r){var n=T(s),t=Math.pow(10,n),a=s/t;return s=(r?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10)*t,n>=-20?+s.toFixed(n<0?-n:0):s}function v(s,r){var n=(s.length-1)*r+1,t=Math.floor(n),a=+s[t-1],p=n-t;return p?a+p*(s[t]-a):a}function _(s){s.sort(function(z,H){return B(z,H,0)?-1:1});for(var r=-1/0,n=1,t=0;t<s.length;){for(var a=s[t].interval,p=s[t].close,O=0;O<2;O++)a[O]<=r&&(a[O]=r,p[O]=O?1:1-n),r=a[O],n=p[O];a[0]===a[1]&&p[0]*p[1]!=1?s.splice(t,1):t++}return s;function B(z,H,C){return z.interval[C]<H.interval[C]||z.interval[C]===H.interval[C]&&(z.close[C]-H.close[C]==(C?-1:1)||!C&&B(z,H,1))}}function i(s){var r=parseFloat(s);return r==s&&(0!==r||!x.isString(s)||s.indexOf("x")<=0)?r:NaN}function h(s){return!isNaN(i(s))}function e(){return Math.round(9*Math.random())}function o(s,r){return 0===r?s:o(r,s%r)}function u(s,r){return null==s?r:null==r?s:s*r/o(s,r)}},24691:(jt,ht,l)=>{l.d(ht,{BV:()=>A,Du:()=>Mt,HY:()=>N,Iz:()=>le,JC:()=>k,JI:()=>$,Lm:()=>Ut,Lv:()=>g,Lx:()=>yt,Mx:()=>ye,PW:()=>m,Q6:()=>T,QX:()=>V,SD:()=>I,T$:()=>kt,Tl:()=>Kt,U2:()=>f,_m:()=>qt,_n:()=>J,e3:()=>d,fz:()=>Qt,gd:()=>tt,h5:()=>P,iJ:()=>lt,jA:()=>dt,lV:()=>At,mc:()=>it,qR:()=>at,t6:()=>vt,u6:()=>_e,wV:()=>S,zX:()=>y});var x=l(68453),Y=l(55152),b=l(3235),F=l(94804),U=l(57918),W=1,G={}
1,w=(0,F.$r)(),R=(0,F.$r)(),L=0,y=1,d=2,A=["emphasis","blur","select"],S=["normal","emphasis","blur","select"],M=10,E=9,P="highlight",m="downplay",g="select",f="unselect",T="toggleSelect";function c(ct){return null!=ct&&"none"!==ct}function v(ct,Lt,Gt){ct.onHoverStateChange&&(ct.hoverState||0)!==Gt&&ct.onHoverStateChange(Lt),ct.hoverState=Gt}function _(ct){v(ct,"emphasis",d)}function i(ct){ct.hoverState===d&&v(ct,"normal",L)}function h(ct){v(ct,"blur",y)}function e(ct){ct.hoverState===y&&v(ct,"normal",L)}function o(ct){ct.selected=!0}function u(ct){ct.selected=!1}function s(ct,Lt,Gt){Lt(ct,Gt)}function r(ct,Lt,Gt){s(ct,Lt,Gt),ct.isGroup&&ct.traverse(function($t){s($t,Lt,Gt)})}function z(ct,Lt){var Gt=this.states[ct];if(this.style){if("emphasis"===ct)return function p(ct,Lt,Gt,$t){var q=Gt&&(0,x.indexOf)(Gt,"select")>=0,rt=!1;if(ct instanceof U.Ay){var et=w(ct),st=q&&et.selectFill||et.normalFill,zt=q&&et.selectStroke||et.normalStroke;if(c(st)||c(zt)){var Bt=($t=$t||{}).style||{};"inherit"===Bt.fill?(rt=!0,$t=(0,x.extend)({},$t),(Bt=(0,x.extend)({},Bt)).fill=st):!c(Bt.fill)&&c(st)?(rt=!0,$t=(0,x.extend)({},$t),(Bt=(0,x.extend)({},Bt)).fill=(0,b.liftColor)(st)):!c(Bt.stroke)&&c(zt)&&(rt||($t=(0,x.extend)({},$t),Bt=(0,x.extend)({},Bt)),Bt.stroke=(0,b.liftColor)(zt)),$t.style=Bt}}return $t&&null==$t.z2&&(rt||($t=(0,x.extend)({},$t)),$t.z2=ct.z2+(ct.z2EmphasisLift??M)),$t}(this,0,Lt,Gt);if("blur"===ct)return function B(ct,Lt,Gt){var $t=(0,x.indexOf)(ct.currentStates,Lt)>=0,q=ct.style.opacity,rt=$t?null:function a(ct,Lt,Gt,$t){for(var q=ct.style,rt={},et=0;et<Lt.length;et++){var st=Lt[et];rt[st]=q[st]??($t&&$t[st])}for(et=0;et<ct.animators.length;et++){var Bt=ct.animators[et];Bt.__fromStateTransition&&Bt.__fromStateTransition.indexOf(Gt)<0&&"style"===Bt.targetName&&Bt.saveTo(rt,Lt)}return rt}(ct,["opacity"],Lt,{opacity:1}),et=(Gt=Gt||{}).style||{};return null==et.opacity&&(Gt=(0,x.extend)({},Gt),et=(0,x.extend)({opacity:$t?q:.1*rt.opacity},et),Gt.style=et),Gt}(this,ct,Gt);if("select"===ct)return function O(ct,Lt,Gt){return Gt&&null==Gt.z2&&((Gt=(0,x.extend)({},Gt)).z2=ct.z2+(ct.z2SelectLift??E)),Gt}(this,0,Gt)}return Gt}function H(ct){ct.stateProxy=z;var Lt=ct.getTextContent(),Gt=ct.getTextGuideLine();Lt&&(Lt.stateProxy=z),Gt&&(Gt.stateProxy=z)}function C(ct,Lt){!ot(ct,Lt)&&!ct.__highByOuter&&r(ct,_)}function D(ct,Lt){!ot(ct,Lt)&&!ct.__highByOuter&&r(ct,i)}function N(ct,Lt){ct.__highByOuter|=1<<(Lt||0),r(ct,_)}function I(ct,Lt){!(ct.__highByOuter&=~(1<<(Lt||0)))&&r(ct,i)}function V(ct){r(ct,h)}function k(ct){r(ct,e)}function $(ct){r(ct,o)}function tt(ct){r(ct,u)}function ot(ct,Lt){return ct.__highDownSilentOnTouch&&Lt.zrByTouch}function at(ct){var Lt=ct.getModel(),Gt=[],$t=[];Lt.eachComponent(function(q,rt){var et=R(rt),st="series"===q,zt=st?ct.getViewOfSeriesModel(rt):ct.getViewOfComponentModel(rt);!st&&$t.push(zt),et.isBlured&&(zt.group.traverse(function(Bt){e(Bt)}),st&&Gt.push(rt)),et.isBlured=!1}),(0,x.each)($t,function(q){q&&q.toggleBlurSeries&&q.toggleBlurSeries(Gt,!1,Lt)})}function pt(ct,Lt,Gt,$t){var q=$t.getModel();function rt(Bt,re){for(var ae=0;ae<re.length;ae++){var Ae=Bt.getItemGraphicEl(re[ae]);Ae&&k(Ae)}}if(Gt=Gt||"coordinateSystem",null!=ct&&Lt&&"none"!==Lt){var et=q.getSeriesByIndex(ct),st=et.coordinateSystem;st&&st.master&&(st=st.master);var zt=[];q.eachSeries(function(Bt){var re=et===Bt,ae=Bt.coordinateSystem;if(ae&&ae.master&&(ae=ae.master),!("series"===Gt&&!re||"coordinateSystem"===Gt&&!(ae&&st?ae===st:re)||"series"===Lt&&re)){if($t.getViewOfSeriesModel(Bt).group.traverse(function(It){It.__highByOuter&&re&&"self"===Lt||h(It)}),(0,x.isArrayLike)(Lt))rt(Bt.getData(),Lt);else if((0,x.isObject)(Lt))for(var mt=(0,x.keys)(Lt),St=0;St<mt.length;St++)rt(Bt.getData(mt[St]),Lt[mt[St]]);zt.push(Bt),R(Bt).isBlured=!0}}),q.eachComponent(function(Bt,re){if("series"!==Bt){var ae=$t.getViewOfComponentModel(re);ae&&ae.toggleBlurSeries&&ae.toggleBlurSeries(zt,!0,q)}})}}function Mt(ct,Lt,Gt){if(null!=ct&&null!=Lt){var $t=Gt.getModel().getComponent(ct,Lt);if($t){R($t).isBlured=!0;var q=Gt.getViewOfComponentModel($t);!q||!q.focusBlurEnabled||q.group.traverse(function(rt){h(rt)})}}}function At(ct,Lt,Gt){var $t=ct.seriesIndex,q=ct.getData(Lt.dataType);if(q){var rt=(0,F.le)(q,Lt);rt=((0,x.isArray)(rt)?rt[0]:rt)||0;var et=q.getItemGraphicEl(rt);
1if(!et)for(var st=q.count(),zt=0;!et&&zt<st;)et=q.getItemGraphicEl(zt++);if(et){var Bt=(0,Y.z)(et);pt($t,Bt.focus,Bt.blurScope,Gt)}else{var re=ct.get(["emphasis","focus"]),ae=ct.get(["emphasis","blurScope"]);null!=re&&pt($t,re,ae,Gt)}}}function Kt(ct,Lt,Gt,$t){var q={focusSelf:!1,dispatchers:null};if(null==ct||"series"===ct||null==Lt||null==Gt)return q;var rt=$t.getModel().getComponent(ct,Lt);if(!rt)return q;var et=$t.getViewOfComponentModel(rt);if(!et||!et.findHighDownDispatchers)return q;for(var zt,st=et.findHighDownDispatchers(Gt),Bt=0;Bt<st.length;Bt++)if("self"===(0,Y.z)(st[Bt]).focus){zt=!0;break}return{focusSelf:zt,dispatchers:st}}function qt(ct,Lt,Gt){var $t=(0,Y.z)(ct),q=Kt($t.componentMainType,$t.componentIndex,$t.componentHighDownName,Gt),rt=q.dispatchers;rt?(q.focusSelf&&Mt($t.componentMainType,$t.componentIndex,Gt),(0,x.each)(rt,function(st){return C(st,Lt)})):(pt($t.seriesIndex,$t.focus,$t.blurScope,Gt),"self"===$t.focus&&Mt($t.componentMainType,$t.componentIndex,Gt),C(ct,Lt))}function le(ct,Lt,Gt){at(Gt);var $t=(0,Y.z)(ct),q=Kt($t.componentMainType,$t.componentIndex,$t.componentHighDownName,Gt).dispatchers;q?(0,x.each)(q,function(rt){return D(rt,Lt)}):D(ct,Lt)}function vt(ct,Lt,Gt){if(yt(Lt)){var $t=Lt.dataType,q=ct.getData($t),rt=(0,F.le)(q,Lt);(0,x.isArray)(rt)||(rt=[rt]),ct[Lt.type===T?"toggleSelect":Lt.type===g?"select":"unselect"](rt,$t)}}function dt(ct){var Lt=ct.getAllData();(0,x.each)(Lt,function(Gt){var q=Gt.type;Gt.data.eachItemGraphicEl(function(rt,et){ct.isSelected(et,q)?$(rt):tt(rt)})})}function it(ct){var Lt=[];return ct.eachSeries(function(Gt){var $t=Gt.getAllData();(0,x.each)($t,function(q){var et=q.type,st=Gt.getSelectedDataIndices();if(st.length>0){var zt={dataIndex:st,seriesIndex:Gt.seriesIndex};null!=et&&(zt.dataType=et),Lt.push(zt)}})}),Lt}function lt(ct,Lt,Gt){Me(ct,!0),r(ct,H),function Ht(ct,Lt,Gt){var $t=(0,Y.z)(ct);null!=Lt?($t.focus=Lt,$t.blurScope=Gt):$t.focus&&($t.focus=null)}(ct,Lt,Gt)}function Ut(ct,Lt,Gt,$t){$t?function bt(ct){Me(ct,!1)}(ct):lt(ct,Lt,Gt)}var fe=["emphasis","blur","select"],ue={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ye(ct,Lt,Gt,$t){Gt=Gt||"itemStyle";for(var q=0;q<fe.length;q++){var rt=fe[q],et=Lt.getModel([rt,Gt]);ct.ensureState(rt).style=$t?$t(et):et[ue[Gt]]()}}function Me(ct,Lt){var Gt=!1===Lt,$t=ct;ct.highDownSilentOnTouch&&($t.__highDownSilentOnTouch=ct.highDownSilentOnTouch),(!Gt||$t.__highDownDispatcher)&&($t.__highByOuter=$t.__highByOuter||0,$t.__highDownDispatcher=!Gt)}function _e(ct){return!(!ct||!ct.__highDownDispatcher)}function J(ct){var Lt=G[ct];return null==Lt&&W<=32&&(Lt=G[ct]=W++),Lt}function yt(ct){var Lt=ct.type;return Lt===g||Lt===f||Lt===T}function kt(ct){var Lt=ct.type;return Lt===P||Lt===m}function Qt(ct){var Lt=w(ct);Lt.normalFill=ct.style.fill,Lt.normalStroke=ct.style.stroke;var Gt=ct.states.select||{};Lt.selectFill=Gt.style&&Gt.style.fill||null,Lt.selectStroke=Gt.style&&Gt.style.stroke||null}},94517:(jt,ht,l)=>{l.d(ht,{hV:()=>T,v5:()=>g});var x=l(68453),Y=l(57918),b=l(45760),F=l(16609),U=l(12638),W=l(66456),G=l(47799),w=l(33907),R=l(8404),L=Y.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,v){var _=v.cx,i=v.cy,h=v.width/2,e=v.height/2;c.moveTo(_,i-e),c.lineTo(_+h,i+e),c.lineTo(_-h,i+e),c.closePath()}}),y=Y.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(c,v){var _=v.cx,i=v.cy,h=v.width/2,e=v.height/2;c.moveTo(_,i-e),c.lineTo(_+h,i),c.lineTo(_,i+e),c.lineTo(_-h,i),c.closePath()}}),d=Y.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,v){var _=v.x,i=v.y,h=v.width/5*3,e=Math.max(h,v.height),o=h/2,u=o*o/(e-o),s=i-e+o+u,r=Math.asin(u/o),n=Math.cos(r)*o,t=Math.sin(r),a=Math.cos(r),p=.6*o,O=.7*o;c.moveTo(_-n,s+u),c.arc(_,s,o,Math.PI-r,2*Math.PI+r),c.bezierCurveTo(_+n-t*p,s+u+a*p,_,i-O,_,i),c.bezierCurveTo(_,i-O,_-n+t*p,s+u+a*p,_-n,s+u),c.closePath()}}),A=Y.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(c,v){var _=v.height,h=v.x,e=v.y,o=v.width/3*2;c.moveTo(h,e),c.lineTo(h+o,e+_),c.lineTo(h,e+_/4*3),c.lineTo(h-o,e+_),c.lineTo(h,e),c.closePath()}}),M={line:function(c,v,_,i,h){h.x1=c,h.y1=v+i/2,h.x2=c+_,h.y2=v+i/2},rect:function(c,v,_,i,h){h.x=c,h.y=v,h.width=_,h.height=i},roundRect:function(c,v,_,i,h){h.x=c,h.y=v,h.width=_,h.height=i,h.r=Math.min(_,i)/4},square:function(c,v,_,i,h){var e=Math.min(_,i);h.x=c,h.y=v,h.width=e,h.height=e},circle:function(c,v,_,i,h){h.cx=c+_/2,h.cy=v+i/2,h.r=Math.min(_,i)/2},diamond:function(c,v,_,i,h){h.cx=c+_/2,h.cy=v+i/2,h.width=_,h.height=i},pin:function(c,v,_,i,h){h.x=c+_/2,h.y=v+i/2,h.width=_,h.height=i},arrow:function(c,v,_,i,h){h.x=c+_/2,h.y=v+i/2,h.width=_,h.height=i},triangle:function(c,v,_,i,h){h.cx=c+_/2,h.cy=v+i/2,h.width=_,h.height=i}},E={};(0,x.each)({line:b.A,rect:F.A,roundRect:F.A,square:F.A,circle:U.A,diamond:y,pin:d,arrow:A,triangle:L},function(c,v){E[v]=new c});var P=Y.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(c,v,_){var i=(0,w.X4)(c,v,_),h=this.shape;return h&&"pin"===h.symbolType&&"inside"===v.position&&(i.y=_.y+.4*_.height),i},buildPath:function(c,v,_){var i=v.symbolType;if("none"!==i){var h=E[i];h||(h=E[i="rect"]),M[i](v.x,v.y,v.width,v.height,h.shape),h.buildPath(c,h.shape,_)}}});function m(c,v){if("image"!==this.type){var _=this.style;this.__isEmptyBrush?(_.stroke=c,_.fill=v||"#fff",_.lineWidth=2):"line"===this.shape.symbolType?_.stroke=c:_.fill=c,this.markRedraw()}}function g(c,v,_,i,h,e,o){var s,u=0===c.indexOf("empty");return u&&(c=c.substr(5,1).toLowerCase()+c.substr(6)),(s=0===c.indexOf("image://")?W.makeImage(c.slice(8),new G.A(v,_,i,h),o?"center":"cover"):0===c.indexOf("path://")?W.makePath(c.slice(7),{},new G.A(v,_,i,h),o?"center":"cover"):new P({shape:{symbolType:c,x:v,y:_,width:i,height:h}})).__isEmptyBrush=u,s.setColor=m,e&&s.setColor(e),s}function T(c,v){if(null!=c)return(0,x.isArray)(c)||(c=[c,c]),[(0,R.lo)(c[0],v[0])||0,(0,R.lo)((0,x.retrieve2)(c[1],c[0]),v[1])||0]}},17369:(jt,ht,l)=>{l.d(ht,{IU:()=>W,N:()=>U,nF:()=>F});var x="\0__throttleOriginMethod",Y="\0__throttleRate",b="\0__throttleType";function F(G,w,R){var L,S,M,E,P,y=0,d=0,A=null;function m(){d=(new Date).getTime(),A=null,G.apply(M,E||[])}w=w||0;var g=function(){for(var f=[],T=0;T<arguments.length;T++)f[T]=arguments[T];L=(new Date).getTime(),M=this,E=f;var c=P||w,v=P||R;P=null,S=L-(v?y:d)-c,clearTimeout(A),v?A=setTimeout(m,c):S>=0?m():A=setTimeout(m,-S),y=L};return g.clear=function(){A&&(clearTimeout(A),A=null)},g.debounceNextCall=function(f){P=f},g}function U(G,w,R,L){var y=G[w];if(y){var d=y[x]||y;if(y[Y]!==R||y[b]!==L){if(null==R||!L)return G[w]=d;(y=G[w]=F(d,R,"debounce"===L))[x]=d,y[b]=L,y[Y]=R}return y}}function W(G,w){var R=G[w];R&&R[x]&&(R.clear&&R.clear(),G[w]=R[x])}},44488:(jt,ht,l)=>{l.d(ht,{$9:()=>m,$H:()=>R,CZ:()=>w,F7:()=>S,FP:()=>O,GP:()=>g,KF:()=>a,Lm:()=>d,MA:()=>G,OY:()=>U,Wf:()=>o,X_:()=>f,Yd:()=>t,Zz:()=>u,bP:()=>i,ce:()=>P,eV:()=>M,g0:()=>c,hY:()=>v,iC:()=>h,iW:()=>W,jJ:()=>_,tM:()=>s,ti:()=>n,ww:()=>p,xu:()=>r,yB:()=>e,ym:()=>E});var x=l(68453),Y=l(8404),b=l(479),F=l(85569),U=1e3,W=60*U,G=60*W,w=24*G,R=365*w,L={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},y="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:y,hour:y+" "+L.hour,minute:y+" "+L.minute,second:y+" "+L.second,millisecond:L.none},A=["year","month","day","hour","minute","second","millisecond"],S=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function M(B,z){return"0000".substr(0,z-(B+="").length)+B}function E(B){switch(B){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return B}}function P(B){return B===E(B)}function m(B){switch(B){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function g(B,z,H,C){var D=Y._U(B),N=D[v(H)](),I=D[_(H)]()+1,V=Math.floor((I-1)/3)+1,k=D[i(
1H)](),$=D["get"+(H?"UTC":"")+"Day"](),tt=D[h(H)](),ot=(tt-1)%12+1,at=D[e(H)](),pt=D[o(H)](),Mt=D[u(H)](),At=tt>=12?"pm":"am",Kt=At.toUpperCase(),le=(C instanceof F.A?C:(0,b.A4)(C||b.Lv)||(0,b.pr)()).getModel("time"),vt=le.get("month"),dt=le.get("monthAbbr"),it=le.get("dayOfWeek"),lt=le.get("dayOfWeekAbbr");return(z||"").replace(/{a}/g,At+"").replace(/{A}/g,Kt+"").replace(/{yyyy}/g,N+"").replace(/{yy}/g,M(N%100+"",2)).replace(/{Q}/g,V+"").replace(/{MMMM}/g,vt[I-1]).replace(/{MMM}/g,dt[I-1]).replace(/{MM}/g,M(I,2)).replace(/{M}/g,I+"").replace(/{dd}/g,M(k,2)).replace(/{d}/g,k+"").replace(/{eeee}/g,it[$]).replace(/{ee}/g,lt[$]).replace(/{e}/g,$+"").replace(/{HH}/g,M(tt,2)).replace(/{H}/g,tt+"").replace(/{hh}/g,M(ot+"",2)).replace(/{h}/g,ot+"").replace(/{mm}/g,M(at,2)).replace(/{m}/g,at+"").replace(/{ss}/g,M(pt,2)).replace(/{s}/g,pt+"").replace(/{SSS}/g,M(Mt,3)).replace(/{S}/g,Mt+"")}function f(B,z,H,C,D){var N=null;if(x.isString(H))N=H;else if(x.isFunction(H))N=H(B.value,z,{level:B.level});else{var I=x.extend({},L);if(B.level>0)for(var V=0;V<A.length;++V)I[A[V]]="{primary|"+I[A[V]]+"}";var k=H?!1===H.inherit?H:x.defaults(H,I):I,$=T(B.value,D);if(k[$])N=k[$];else if(k.inherit){for(V=S.indexOf($)-1;V>=0;--V)if(k[$]){N=k[$];break}N=N||I.none}if(x.isArray(N)){var ot=null==B.level?0:B.level>=0?B.level:N.length+B.level;N=N[ot=Math.min(ot,N.length-1)]}}return g(new Date(B.value),N,D,C)}function T(B,z){var H=Y._U(B),C=H[_(z)]()+1,D=H[i(z)](),N=H[h(z)](),I=H[e(z)](),V=H[o(z)](),$=0===H[u(z)](),tt=$&&0===V,ot=tt&&0===I,at=ot&&0===N,pt=at&&1===D;return pt&&1===C?"year":pt?"month":at?"day":ot?"hour":tt?"minute":$?"second":"millisecond"}function c(B,z,H){var C=x.isNumber(B)?Y._U(B):B;switch(z=z||T(B,H)){case"year":return C[v(H)]();case"half-year":return C[_(H)]()>=6?1:0;case"quarter":return Math.floor((C[_(H)]()+1)/4);case"month":return C[_(H)]();case"day":return C[i(H)]();case"half-day":return C[h(H)]()/24;case"hour":return C[h(H)]();case"minute":return C[e(H)]();case"second":return C[o(H)]();case"millisecond":return C[u(H)]()}}function v(B){return B?"getUTCFullYear":"getFullYear"}function _(B){return B?"getUTCMonth":"getMonth"}function i(B){return B?"getUTCDate":"getDate"}function h(B){return B?"getUTCHours":"getHours"}function e(B){return B?"getUTCMinutes":"getMinutes"}function o(B){return B?"getUTCSeconds":"getSeconds"}function u(B){return B?"getUTCMilliseconds":"getMilliseconds"}function s(B){return B?"setUTCFullYear":"setFullYear"}function r(B){return B?"setUTCMonth":"setMonth"}function n(B){return B?"setUTCDate":"setDate"}function t(B){return B?"setUTCHours":"setHours"}function a(B){return B?"setUTCMinutes":"setMinutes"}function p(B){return B?"setUTCSeconds":"setSeconds"}function O(B){return B?"setUTCMilliseconds":"setMilliseconds"}},74984:(jt,ht,l)=>{l.d(ht,{Km:()=>F,Pe:()=>Y,Wk:()=>U,XO:()=>G,i_:()=>R,mK:()=>b,oC:()=>L,t1:()=>W,vm:()=>w});var Y=(0,l(68453).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),b="original",F="arrayRows",U="objectRows",W="keyedColumns",G="typedArray",w="unknown",R="column",L="row"},92088:(jt,ht,l)=>{l.d(ht,{A:()=>m});var x=l(68453),Y=l(67469),b=l(59938),F=l(13991),U=l(94804),W=l(24691),G=l(44653),w=l(26388),R=l(66456),L=U.$r(),y=(0,w.A)(),d=function(){function g(){this.group=new Y.A,this.uid=b.$Q("viewChart"),this.renderTask=(0,G.U)({plan:M,reset:E}),this.renderTask.context={view:this}}return g.prototype.init=function(f,T){},g.prototype.render=function(f,T,c,v){},g.prototype.highlight=function(f,T,c,v){var _=f.getData(v&&v.dataType);_&&S(_,v,"emphasis")},g.prototype.downplay=function(f,T,c,v){var _=f.getData(v&&v.dataType);_&&S(_,v,"normal")},g.prototype.remove=function(f,T){this.group.removeAll()},g.prototype.dispose=function(f,T){},g.prototype.updateView=function(f,T,c,v){this.render(f,T,c,v)},g.prototype.updateLayout=function(f,T,c,v){this.render(f,T,c,v)},g.prototype.updateVisual=function(f,T,c,v){this.render(f,T,c,v)},g.prototype.eachRendered=function(f){(0,R.traverseElements)(this.group,f)},g.markUpdateMethod=function(f,T){L(f).updateMethod=T},g.protoInitialize=void(g.prototype.type="chart"),g}();
1function A(g,f,T){g&&(0,W.u6)(g)&&("emphasis"===f?W.HY:W.SD)(g,T)}function S(g,f,T){var c=U.le(g,f),v=f&&null!=f.highlightKey?(0,W._n)(f.highlightKey):null;null!=c?(0,x.each)(U.qB(c),function(_){A(g.getItemGraphicEl(_),T,v)}):g.eachItemGraphicEl(function(_){A(_,T,v)})}function M(g){return y(g.model)}function E(g){var f=g.model,T=g.ecModel,c=g.api,v=g.payload,_=f.pipelineContext.progressiveRender,i=g.view,h=v&&L(v).updateMethod,e=_?"incrementalPrepareRender":h&&i[h]?h:"render";return"render"!==e&&i[e](f,T,c,v),P[e]}F.gq(d,["dispose"]),F.tQ(d);var P={incrementalPrepareRender:{progress:function(g,f){f.view.incrementalRender(g,f.model,f.ecModel,f.api,f.payload)}},render:{forceFirstProgress:!0,progress:function(g,f){f.view.render(f.model,f.ecModel,f.api,f.payload)}}};const m=d},70407:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(67469),Y=l(59938),b=l(13991),F=function(){function W(){this.group=new x.A,this.uid=Y.$Q("viewComponent")}return W.prototype.init=function(G,w){},W.prototype.render=function(G,w,R,L){},W.prototype.dispose=function(G,w){},W.prototype.updateView=function(G,w,R,L){},W.prototype.updateLayout=function(G,w,R,L){},W.prototype.updateVisual=function(G,w,R,L){},W.prototype.toggleBlurSeries=function(G,w,R){},W.prototype.eachRendered=function(G){var w=this.group;w&&w.traverse(G)},W}();b.gq(F),b.tQ(F);const U=F},97888:(jt,ht,l)=>{l.d(ht,{$P:()=>P,fM:()=>m});var x=l(98507),Y=l(7493),b=l(36116),F=l(61657),U=l(7017),W=l(1227),G=l(61320),w=l(39889),R=l(42509),L=l(72219),d=l(6981);var S=l(22025);class M{constructor(){this.subject=new b.m(1),this.subscriptions=new F.yU}doFilter(T){this.subject.next(T)}dispose(){this.subscriptions.unsubscribe()}notEmpty(T,c){this.subscriptions.add(this.subject.subscribe(v=>{if(v[T]){const _=v[T].currentValue;null!=_&&c(_)}}))}has(T,c){this.subscriptions.add(this.subject.subscribe(v=>{v[T]&&c(v[T].currentValue)}))}notFirst(T,c){this.subscriptions.add(this.subject.subscribe(v=>{v[T]&&!v[T].isFirstChange()&&c(v[T].currentValue)}))}notFirstAndEmpty(T,c){this.subscriptions.add(this.subject.subscribe(v=>{if(v[T]&&!v[T].isFirstChange()){const _=v[T].currentValue;null!=_&&c(_)}}))}}const E=new Y.nKC("NGX_ECHARTS_CONFIG");let P=(()=>{class f{constructor(c,v,_){this.el=v,this.ngZone=_,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new Y.bkB,this.optionsError=new Y.bkB,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new b.m(1),this.resize$=new U.B,this.changeFilter=new M,this.resizeObFired=!1,this.echarts=c.echarts,this.theme=c.theme||null}ngOnChanges(c){this.changeFilter.doFilter(c)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(function A(f,T=W.E,c){const v=(0,d.O)(f,T);return function y(f,T){return(0,w.N)((c,v)=>{const{leading:_=!0,trailing:i=!1}=T??{};let h=!1,e=null,o=null,u=!1;const s=()=>{o?.unsubscribe(),o=null,i&&(t(),u&&v.complete())},r=()=>{o=null,u&&v.complete()},n=a=>o=(0,L.Tg)(f(a)).subscribe((0,R._)(v,s,r)),t=()=>{if(h){h=!1;const a=e;
1e=null,v.next(a),!u&&n(a)}};c.subscribe((0,R._)(v,a=>{h=!0,e=a,(!o||o.closed)&&(_?t():n(a))},()=>{u=!0,(!(i&&h&&o)||o.closed)&&v.complete()}))})}(()=>v,c)}(100,W.E,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(c=>{for(const v of c)v.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",c=>this.onOptionsChange(c)),this.changeFilter.notFirstAndEmpty("merge",c=>this.setOption(c)),this.changeFilter.has("loading",c=>this.toggleLoading(!!c)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(c){this.chart?c?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(v=>c?v.showLoading(this.loadingType,this.loadingOpts):v.hideLoading())}setOption(c,v){if(this.chart)try{this.chart.setOption(c,v)}catch(_){console.error(_),this.optionsError.emit(_)}}refreshChart(){var c=this;return(0,x.A)(function*(){c.dispose(),yield c.initChart()})()}createChart(){const c=this.el.nativeElement;if(window&&window.getComputedStyle){const v=window.getComputedStyle(c,null).getPropertyValue("height");(!v||"0px"===v)&&(!c.style.height||"0px"===c.style.height)&&(c.style.height="400px")}return this.ngZone.runOutsideAngular(()=>("function"==typeof this.echarts?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:_})=>_(c,this.theme,this.initOpts)))}initChart(){var c=this;return(0,x.A)(function*(){yield c.onOptionsChange(c.options),c.merge&&c.chart&&c.setOption(c.merge)})()}onOptionsChange(c){var v=this;return(0,x.A)(function*(){c&&(v.chart||(v.chart=yield v.createChart(),v.chart$.next(v.chart),v.chartInit.emit(v.chart)),v.setOption(v.options,!0))})()}createLazyEvent(c){return this.chartInit.pipe((0,S.n)(v=>new G.c(_=>(v.on(c,i=>this.ngZone.run(()=>_.next(i))),()=>{this.chart&&(this.chart.isDisposed()||v.off(c))}))))}static#t=this.\u0275fac=function(v){return new(v||f)(Y.rXU(E),Y.rXU(Y.aKT),Y.rXU(Y.SKi))};static#e=this.\u0275dir=Y.FsC({type:f,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Y.OA$]})}return f})();const m=f=>({provide:E,useValue:f})},63213:(jt,ht,l)=>{l.d(ht,{A:()=>v});var x=l(58749),Y=l(21435),b=l(47799),F=l(84670),U=l(33907),W=l(68453),G=l(89859),w=l(3235),R=l(60672),L="__zr_normal__",y=x.Wx.concat(["ignore"]),d=(0,W.reduce)(x.Wx,function(_,i){return _[i]=!0,_},{ignore:!1}),A={},S=new b.A(0,0,0,0),M=function(){function _(i){this.id=(0,W.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(i)}return _.prototype._init=function(i){this.attr(i)},_.prototype.drift=function(i,h,e){switch(this.draggable){case"horizontal":h=0;break;case"vertical":i=0}var o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=i,o[5]+=h,this.decomposeTransform(),this.markRedraw()},_.prototype.beforeUpdate=function(){},_.prototype.afterUpdate=function(){},_.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},_.prototype.updateInnerText=function(i){var h=this._textContent;if(h&&(!h.ignore||i)){this.textConfig||(this.textConfig={});var e=this.textConfig,o=e.local,u=h.innerTransformable,s=void 0,r=void 0,n=!1;u.parent=o?this:null;var t=!1;if(u.copyTransform(h),null!=e.position){var a=S;
1a.copy(e.layoutRect?e.layoutRect:this.getBoundingRect()),o||a.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(A,e,a):(0,U.X4)(A,e,a),u.x=A.x,u.y=A.y,s=A.align,r=A.verticalAlign;var p=e.origin;if(p&&null!=e.rotation){var O=void 0,B=void 0;"center"===p?(O=.5*a.width,B=.5*a.height):(O=(0,U.lo)(p[0],a.width),B=(0,U.lo)(p[1],a.height)),t=!0,u.originX=-u.x+O+(o?0:a.x),u.originY=-u.y+B+(o?0:a.y)}}null!=e.rotation&&(u.rotation=e.rotation);var z=e.offset;z&&(u.x+=z[0],u.y+=z[1],t||(u.originX=-z[0],u.originY=-z[1]));var H=null==e.inside?"string"==typeof e.position&&e.position.indexOf("inside")>=0:e.inside,C=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),D=void 0,N=void 0,I=void 0;H&&this.canBeInsideText()?(N=e.insideStroke,(null==(D=e.insideFill)||"auto"===D)&&(D=this.getInsideTextFill()),(null==N||"auto"===N)&&(N=this.getInsideTextStroke(D),I=!0)):(N=e.outsideStroke,(null==(D=e.outsideFill)||"auto"===D)&&(D=this.getOutsideFill()),(null==N||"auto"===N)&&(N=this.getOutsideStroke(D),I=!0)),((D=D||"#000")!==C.fill||N!==C.stroke||I!==C.autoStroke||s!==C.align||r!==C.verticalAlign)&&(n=!0,C.fill=D,C.stroke=N,C.autoStroke=I,C.align=s,C.verticalAlign=r,h.setDefaultTextStyle(C)),h.__dirty|=R.M,n&&h.dirtyStyle(!0)}},_.prototype.canBeInsideText=function(){return!0},_.prototype.getInsideTextFill=function(){return"#fff"},_.prototype.getInsideTextStroke=function(i){return"#000"},_.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?G.el:G._S},_.prototype.getOutsideStroke=function(i){var h=this.__zr&&this.__zr.getBackgroundColor(),e="string"==typeof h&&(0,w.parse)(h);e||(e=[255,255,255,1]);for(var o=e[3],u=this.__zr.isDarkMode(),s=0;s<3;s++)e[s]=e[s]*o+(u?0:255)*(1-o);return e[3]=1,(0,w.stringify)(e,"rgba")},_.prototype.traverse=function(i,h){},_.prototype.attrKV=function(i,h){"textConfig"===i?this.setTextConfig(h):"textContent"===i?this.setTextContent(h):"clipPath"===i?this.setClipPath(h):"extra"===i?(this.extra=this.extra||{},(0,W.extend)(this.extra,h)):this[i]=h},_.prototype.hide=function(){this.ignore=!0,this.markRedraw()},_.prototype.show=function(){this.ignore=!1,this.markRedraw()},_.prototype.attr=function(i,h){if("string"==typeof i)this.attrKV(i,h);else if((0,W.isObject)(i))for(var o=(0,W.keys)(i),u=0;u<o.length;u++){var s=o[u];this.attrKV(s,i[s])}return this.markRedraw(),this},_.prototype.saveCurrentToNormalState=function(i){this._innerSaveToNormal(i);for(var h=this._normalState,e=0;e<this.animators.length;e++){var o=this.animators[e],u=o.__fromStateTransition;if(!(o.getLoop()||u&&u!==L)){var s=o.targetName;o.saveTo(s?h[s]:h)}}},_.prototype._innerSaveToNormal=function(i){var h=this._normalState;h||(h=this._normalState={}),i.textConfig&&!h.textConfig&&(h.textConfig=this.textConfig),this._savePrimaryToNormal(i,h,y)},_.prototype._savePrimaryToNormal=function(i,h,e){for(var o=0;o<e.length;o++){var u=e[o];null!=i[u]&&!(u in h)&&(h[u]=this[u])}},_.prototype.hasState=function(){return this.currentStates.length>0},_.prototype.getState=function(i){return this.states[i]},_.prototype.ensureState=function(i){var h=this.states;return h[i]||(h[i]={}),h[i]},_.prototype.clearStates=function(i){this.useState(L,!1,i)},_.prototype.useState=function(i,h,e,o){var u=i===L;if(this.hasState()||!u){var r=this.currentStates,n=this.stateTransition;if(!((0,W.indexOf)(r,i)>=0)||!h&&1!==r.length){var t;if(this.stateProxy&&!u&&(t=this.stateProxy(i)),t||(t=this.states&&this.states[i]),!t&&!u)return void(0,W.logError)("State "+i+" not exists.");u||this.saveCurrentToNormalState(t);var a=!!(t&&t.hoverLayer||o);a&&this._toggleHoverLayerFlag(!0),this._applyStateObj(i,t,this._normalState,h,!e&&!this.__inHover&&n&&n.duration>0,n);var p=this._textContent,O=this._textGuide;return p&&p.useState(i,h,e,a),O&&O.useState(i,h,e,a),u?(this.currentStates=[],this._normalState={}):h?this.currentStates.push(i):this.currentStates=[i],this._updateAnimationTargets(),this.markRedraw(),!a&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~R.M),t}}},_.prototype.useStates=function(i,h,e){if(i.length){var o=[],u=this.currentStates,s=i.length,r=s===u.length;if(r)for(var n=0;n<s;n++)if(i[n]!==u[n]){r=!1;break}if(r)return;for(n=0;n<s;n++){var t=i[n],a=void 0;this.stateProxy&&(a=this.stateProxy(t,i)),a||(a=this.states[t]),a&&o.push(a)}var p=o[s-1],O=!!(p&&p.hoverLayer||e);O&&this._toggleHoverLayerFlag(!0);var B=this._mergeStates(o),z=this.stateTransition;this.saveCurrentToNormalState(B),this._applyStateObj(i.join(","),B,this._normalState,!1,!h&&!this.__inHover&&z&&z.duration>0,z);var H=this._textContent,C=this._textGuide;H&&H.useStates(i,h,O),C&&C.useStates(i,h,O),this._updateAnimationTargets(),this.currentStates=i.slice(),this.markRedraw(),!O&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~R.M)}else this.clearStates()},_.prototype.isSilent=function(){for(var i=this.silent,h=this.parent;!i&&h;){if(h.silent){i=!0;break}h=h.parent}return i},_.prototype._updateAnimationTargets=function(){for(var i=0;i<this.animators.length;i++){var h=this.animators[i];h.targetName&&h.changeTarget(this[h.targetName])}},_.prototype.removeState=function(i){var h=(0,W.indexOf)(this.currentStates,i);if(h>=0){var e=this.currentStates.slice();e.splice(h,1),this.useStates(e)}},_.prototype.replaceState=function(i,h,e){var o=this.currentStates.slice(),u=(0,W.indexOf)(o,i),s=(0,W.indexOf)(o,h)>=0;u>=0?s?o.splice(u,1):o[u]=h:e&&!s&&o.push(h),this.useStates(o)},_.prototype.toggleState=function(i,h){h?this.useState(i,!0):this.removeState(i)},_.prototype._mergeStates=function(i){for(var e,h={},o=0;o<i.length;o++){var u=i[o];(0,W.extend)(h,u),u.textConfig&&(0,W.extend)(e=e||{},u.textConfig)}return e&&(h.textConfig=e),h},_.prototype._applyStateObj=function(i,h,e,o,u,s){var r=!(h&&o);h&&h.textConfig?(this.textConfig=(0,W.extend)({},o?this.textConfig:e.textConfig),(0,W.extend)(this.textConfig,h.textConfig)):r&&e.textConfig&&(this.textConfig=e.textConfig);for(var n={},t=!1,a=0;a<y.length;a++){var p=y[a],O=u&&d[p];h&&null!=h[p]?O?(t=!0,n[p]=h[p]):this[p]=h[p]:r&&null!=e[p]&&(O?(t=!0,n[p]=e[p]):this[p]=e[p])}if(!u)for(a=0;a<this.animators.length;a++){var B=this.animators[a],z=B.targetName;
1B.getLoop()||B.__changeFinalValue(z?(h||e)[z]:h||e)}t&&this._transitionState(i,n,s)},_.prototype._attachComponent=function(i){if((!i.__zr||i.__hostTarget)&&i!==this){var h=this.__zr;h&&i.addSelfToZr(h),i.__zr=h,i.__hostTarget=this}},_.prototype._detachComponent=function(i){i.__zr&&i.removeSelfFromZr(i.__zr),i.__zr=null,i.__hostTarget=null},_.prototype.getClipPath=function(){return this._clipPath},_.prototype.setClipPath=function(i){this._clipPath&&this._clipPath!==i&&this.removeClipPath(),this._attachComponent(i),this._clipPath=i,this.markRedraw()},_.prototype.removeClipPath=function(){var i=this._clipPath;i&&(this._detachComponent(i),this._clipPath=null,this.markRedraw())},_.prototype.getTextContent=function(){return this._textContent},_.prototype.setTextContent=function(i){var h=this._textContent;h!==i&&(h&&h!==i&&this.removeTextContent(),i.innerTransformable=new x.Ay,this._attachComponent(i),this._textContent=i,this.markRedraw())},_.prototype.setTextConfig=function(i){this.textConfig||(this.textConfig={}),(0,W.extend)(this.textConfig,i),this.markRedraw()},_.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},_.prototype.removeTextContent=function(){var i=this._textContent;i&&(i.innerTransformable=null,this._detachComponent(i),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},_.prototype.getTextGuideLine=function(){return this._textGuide},_.prototype.setTextGuideLine=function(i){this._textGuide&&this._textGuide!==i&&this.removeTextGuideLine(),this._attachComponent(i),this._textGuide=i,this.markRedraw()},_.prototype.removeTextGuideLine=function(){var i=this._textGuide;i&&(this._detachComponent(i),this._textGuide=null,this.markRedraw())},_.prototype.markRedraw=function(){this.__dirty|=R.M;var i=this.__zr;i&&(this.__inHover?i.refreshHover():i.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},_.prototype.dirty=function(){this.markRedraw()},_.prototype._toggleHoverLayerFlag=function(i){this.__inHover=i;var h=this._textContent,e=this._textGuide;h&&(h.__inHover=i),e&&(e.__inHover=i)},_.prototype.addSelfToZr=function(i){if(this.__zr!==i){this.__zr=i;var h=this.animators;if(h)for(var e=0;e<h.length;e++)i.animation.addAnimator(h[e]);this._clipPath&&this._clipPath.addSelfToZr(i),this._textContent&&this._textContent.addSelfToZr(i),this._textGuide&&this._textGuide.addSelfToZr(i)}},_.prototype.removeSelfFromZr=function(i){if(this.__zr){this.__zr=null;var h=this.animators;if(h)for(var e=0;e<h.length;e++)i.animation.removeAnimator(h[e]);this._clipPath&&this._clipPath.removeSelfFromZr(i),this._textContent&&this._textContent.removeSelfFromZr(i),this._textGuide&&this._textGuide.removeSelfFromZr(i)}},_.prototype.animate=function(i,h,e){var u=new Y.A(i?this[i]:this,h,e);return i&&(u.targetName=i),this.addAnimator(u,i),u},_.prototype.addAnimator=function(i,h){var e=this.__zr,o=this;i.during(function(){o.updateDuringAnimation(h)}).done(function(){var u=o.animators,s=(0,W.indexOf)(u,i);s>=0&&u.splice(s,1)}),this.animators.push(i),e&&e.animation.addAnimator(i),e&&e.wakeUp()},_.prototype.updateDuringAnimation=function(i){this.markRedraw()},_.prototype.stopAnimation=function(i,h){for(var e=this.animators,o=e.length,u=[],s=0;s<o;s++){var r=e[s];i&&i!==r.scope?u.push(r):r.stop(h)}return this.animators=u,this},_.prototype.animateTo=function(i,h,e){E(this,i,h,e)},_.prototype.animateFrom=function(i,h,e){E(this,i,h,e,!0)},_.prototype._transitionState=function(i,h,e,o){for(var u=E(this,h,e,o),s=0;s<u.length;s++)u[s].__fromStateTransition=i},_.prototype.getBoundingRect=function(){return null},_.prototype.getPaintRect=function(){return null},_.initDefaultProps=function(){var i=_.prototype;function o(u,s,r,n){function t(a,p){Object.defineProperty(p,0,{get:function(){return a[r]},set:function(O){a[r]=O}}),Object.defineProperty(p,1,{get:function(){return a[n]},set:function(O){a[n]=O}})}Object.defineProperty(i,u,{get:function(){return this[s]||t(this,this[s]=[]),this[s]},set:function(a){this[r]=a[0],this[n]=a[1],this[s]=a,t(this,a)}})}i.type="element",i.name="",i.ignore=i.silent=i.isGroup=i.draggable=i.dragging=i.ignoreClip=i.__inHover=!1,i.__dirty=R.M,Object.defineProperty&&(o("position","_legacyPos","x","y"),o("scale","_legacyScale","scaleX","scaleY"),o("origin","_legacyOrigin","originX","originY"))}(),_}();function E(_,i,h,e,o){var u=[];c(_,"",_,i,h=h||{},e,u,o);var s=u.length,r=!1,n=h.done,t=h.aborted,a=function(){r=!0,--s<=0&&(r?n&&n():t&&t())},p=function(){--s<=0&&(r?n&&n():t&&t())};s||n&&n(),u.length>0&&h.during&&u[0].during(function(z,H){h.during(H)});for(var O=0;O<u.length;O++){var B=u[O];a&&B.done(a),p&&B.aborted(p),h.force&&B.duration(h.duration),B.start(h.easing)}return u}function P(_,i,h){for(var e=0;e<h;e++)_[e]=i[e]}function g(_,i,h){if((0,W.isArrayLike)(i[h]))if((0,W.isArrayLike)(_[h])||(_[h]=[]),(0,W.isTypedArray)(i[h])){var e=i[h].length;_[h].length!==e&&(_[h]=new i[h].constructor(e),P(_[h],i[h],e))}else{var o=i[h],u=_[h],s=o.length;if(function m(_){return(0,W.isArrayLike)(_[0])}
1(o))for(var r=o[0].length,n=0;n<s;n++)u[n]?P(u[n],o[n],r):u[n]=Array.prototype.slice.call(o[n]);else P(u,o,s);u.length=o.length}else _[h]=i[h]}function c(_,i,h,e,o,u,s,r){for(var n=(0,W.keys)(e),t=o.duration,a=o.delay,p=o.additive,O=o.setToFinal,B=!(0,W.isObject)(u),z=_.animators,H=[],C=0;C<n.length;C++){var N=e[D=n[C]];if(null!=N&&null!=h[D]&&(B||u[D]))if(!(0,W.isObject)(N)||(0,W.isArrayLike)(N)||(0,W.isGradientObject)(N))H.push(D);else{if(i){r||(h[D]=N,_.updateDuringAnimation(i));continue}c(_,D,h[D],N,o,u&&u[D],s,r)}else r||(h[D]=N,_.updateDuringAnimation(i),H.push(D))}var I=H.length;if(!p&&I)for(var V=0;V<z.length;V++)if((k=z[V]).targetName===i&&k.stopTracks(H)){var tt=(0,W.indexOf)(z,k);z.splice(tt,1)}if(o.force||(H=(0,W.filter)(H,function(Mt){return!function f(_,i){return _===i||(0,W.isArrayLike)(_)&&(0,W.isArrayLike)(i)&&function T(_,i){var h=_.length;if(h!==i.length)return!1;for(var e=0;e<h;e++)if(_[e]!==i[e])return!1;return!0}(_,i)}(e[Mt],h[Mt])}),I=H.length),I>0||o.force&&!s.length){var k,ot=void 0,at=void 0,pt=void 0;if(r)for(at={},O&&(ot={}),V=0;V<I;V++)at[D=H[V]]=h[D],O?ot[D]=e[D]:h[D]=e[D];else if(O)for(pt={},V=0;V<I;V++){var D;pt[D=H[V]]=(0,Y.F)(h[D]),g(h,e,D)}(k=new Y.A(h,!1,!1,p?(0,W.filter)(z,function(At){return At.targetName===i}):null)).targetName=i,o.scope&&(k.scope=o.scope),O&&ot&&k.whenWithKeys(0,ot,H),pt&&k.whenWithKeys(0,pt,H),k.whenWithKeys(t??500,r?at:e,H).delay(a||0),_.addAnimator(k,i),s.push(k)}}(0,W.mixin)(M,F.A),(0,W.mixin)(M,x.Ay);const v=M},21435:(jt,ht,l)=>{l.d(ht,{F:()=>P,A:()=>n});var x={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var a,p=.1;return 0===t?0:1===t?1:(!p||p<1?(p=1,a=.1):a=.4*Math.asin(1/p)/(2*Math.PI),-p*Math.pow(2,10*(t-=1))*Math.sin((t-a)*(2*Math.PI)/.4))},elasticOut:function(t){var a,p=.1;return 0===t?0:1===t?1:(!p||p<1?(p=1,a=.1):a=.4*Math.asin(1/p)/(2*Math.PI),p*Math.pow(2,-10*t)*Math.sin((t-a)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var a,p=.1;return 0===t?0:1===t?1:(!p||p<1?(p=1,a=.1):a=.4*Math.asin(1/p)/(2*Math.PI),(t*=2)<1?p*Math.pow(2,10*(t-=1))*Math.sin((t-a)*(2*Math.PI)/.4)*-.5:p*Math.pow(2,-10*(t-=1))*Math.sin((t-a)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var a=1.70158;return t*t*((a+1)*t-a)},backOut:function(t){var a=1.70158;return--t*t*((a+1)*t+a)+1},backInOut:function(t){var a=2.5949095;return(t*=2)<1?t*t*((a+1)*t-a)*.5:.5*((t-=2)*t*((a+1)*t+a)+2)},bounceIn:function(t){return 1-x.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*x.bounceIn(2*t):.5*x.bounceOut(2*t-1)+.5}};const Y=x;var b=l(68453),F=l(36007);const W=function(){function t(a){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=a.life||1e3,this._delay=a.delay||0,this.loop=a.loop||!1,this.onframe=a.onframe||b.noop,this.ondestroy=a.ondestroy||b.noop,this.onrestart=a.onrestart||b.noop,a.easing&&this.setEasing(a.easing)}return t.prototype.step=function(a,p){if(this._inited||(this._startTime=a+this._delay,this._inited=!0),!this._paused){var O=this._life,B=a-this._startTime-this._pausedTime,z=B/O;z<0&&(z=0),z=Math.min(z,1);var H=this.easingFunc,C=H?H(z):z;if(this.onframe(C),1===z){if(!this.loop)return!0;this._startTime=a-B%O,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=p},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(a){this.easing=a,this.easingFunc=(0,b.isFunction)(a)?a:Y[a]||(0,F.w)(a)},t}();var G=l(3235),w=l(76094),R=Array.prototype.slice;function L(t,a,p){return(a-t)*p+t}function y(t,a,p,O){for(var B=a.length,z=0;
1z<B;z++)t[z]=L(a[z],p[z],O);return t}function A(t,a,p,O){for(var B=a.length,z=0;z<B;z++)t[z]=a[z]+p[z]*O;return t}function S(t,a,p,O){for(var B=a.length,z=B&&a[0].length,H=0;H<B;H++){t[H]||(t[H]=[]);for(var C=0;C<z;C++)t[H][C]=a[H][C]+p[H][C]*O}return t}function M(t,a){for(var p=t.length,O=a.length,B=p>O?a:t,z=Math.min(p,O),H=B[z-1]||{color:[0,0,0,0],offset:0},C=z;C<Math.max(p,O);C++)B.push({offset:H.offset,color:H.color.slice()})}function E(t,a,p){var O=t,B=a;if(O.push&&B.push){var z=O.length,H=B.length;if(z!==H)if(z>H)O.length=H;else for(var D=z;D<H;D++)O.push(1===p?B[D]:R.call(B[D]));var N=O[0]&&O[0].length;for(D=0;D<O.length;D++)if(1===p)isNaN(O[D])&&(O[D]=B[D]);else for(var I=0;I<N;I++)isNaN(O[D][I])&&(O[D][I]=B[D][I])}}function P(t){if((0,b.isArrayLike)(t)){var a=t.length;if((0,b.isArrayLike)(t[0])){for(var p=[],O=0;O<a;O++)p.push(R.call(t[O]));return p}return R.call(t)}return t}function m(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function e(t){return 4===t||5===t}function o(t){return 1===t||2===t}var u=[0,0,0,0],s=function(){function t(a){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=a}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(a,p,O){this._needsSort=!0;var B=this.keyframes,z=B.length,H=!1,C=6,D=p;if((0,b.isArrayLike)(p)){var N=function g(t){return(0,b.isArrayLike)(t&&t[0])?2:1}(p);C=N,(1===N&&!(0,b.isNumber)(p[0])||2===N&&!(0,b.isNumber)(p[0][0]))&&(H=!0)}else if((0,b.isNumber)(p)&&!(0,b.eqNaN)(p))C=0;else if((0,b.isString)(p))if(isNaN(+p)){var I=G.parse(p);I&&(D=I,C=3)}else C=0;else if((0,b.isGradientObject)(p)){var V=(0,b.extend)({},D);V.colorStops=(0,b.map)(p.colorStops,function($){return{offset:$.offset,color:G.parse($.color)}}),(0,w.OS)(p)?C=4:(0,w.OH)(p)&&(C=5),D=V}0===z?this.valType=C:(C!==this.valType||6===C)&&(H=!0),this.discrete=this.discrete||H;var k={time:a,value:D,rawValue:p,percent:0};return O&&(k.easing=O,k.easingFunc=(0,b.isFunction)(O)?O:Y[O]||(0,F.w)(O)),B.push(k),k},t.prototype.prepare=function(a,p){var O=this.keyframes;this._needsSort&&O.sort(function(ot,at){return ot.time-at.time});for(var B=this.valType,z=O.length,H=O[z-1],C=this.discrete,D=o(B),N=e(B),I=0;I<z;I++){var V=O[I],k=V.value,$=H.value;V.percent=V.time/a,C||(D&&I!==z-1?E(k,$,B):N&&M(k.colorStops,$.colorStops))}if(!C&&5!==B&&p&&this.needsAnimate()&&p.needsAnimate()&&B===p.valType&&!p._finished){this._additiveTrack=p;var tt=O[0].value;for(I=0;I<z;I++)0===B?O[I].additiveValue=O[I].value-tt:3===B?O[I].additiveValue=A([],O[I].value,tt,-1):o(B)&&(O[I].additiveValue=1===B?A([],O[I].value,tt,-1):S([],O[I].value,tt,-1))}},t.prototype.step=function(a,p){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var I,$,tt,O=null!=this._additiveTrack,B=O?"additiveValue":"value",z=this.valType,H=this.keyframes,C=H.length,D=this.propName,N=3===z,V=this._lastFr,k=Math.min;if(1===C)$=tt=H[0];else{if(p<0)I=0;else if(p<this._lastFrP){for(I=k(V+1,C-1);I>=0&&!(H[I].percent<=p);I--);I=k(I,C-2)}else{for(I=V;I<C&&!(H[I].percent>p);I++);I=k(I-1,C-2)}tt=H[I+1],$=H[I]}if($&&tt){this._lastFr=I,this._lastFrP=p;var at=tt.percent-$.percent,pt=0===at?1:k((p-$.percent)/at,1);tt.easingFunc&&(pt=tt.easingFunc(pt));var Mt=O?this._additiveValue:N?u:a[D];if((o(z)||N)&&!Mt&&(Mt=this._additiveValue=[]),this.discrete)a[D]=pt<1?$.rawValue:tt.rawValue;else if(o(z))1===z?y(Mt,$[B],tt[B],pt):function d(t,a,p,O){for(var B=a.length,z=B&&a[0].length,H=0;H<B;H++){t[H]||(t[H]=[]);for(var C=0;C<z;C++)t[H][C]=L(a[H][C],p[H][C],O)}}(Mt,$[B],tt[B],pt);else if(e(z)){var At=$[B],Kt=tt[B],qt=4===z;a[D]={type:qt?"linear":"radial",x:L(At.x,Kt.x,pt),y:L(At.y,Kt.y,pt),colorStops:(0,b.map)(At.colorStops,function(vt,dt){var it=Kt.colorStops[dt];
1return{offset:L(vt.offset,it.offset,pt),color:m(y([],vt.color,it.color,pt))}}),global:Kt.global},qt?(a[D].x2=L(At.x2,Kt.x2,pt),a[D].y2=L(At.y2,Kt.y2,pt)):a[D].r=L(At.r,Kt.r,pt)}else if(N)y(Mt,$[B],tt[B],pt),O||(a[D]=m(Mt));else{var le=L($[B],tt[B],pt);O?this._additiveValue=le:a[D]=le}O&&this._addToTarget(a)}}},t.prototype._addToTarget=function(a){var p=this.valType,O=this.propName,B=this._additiveValue;0===p?a[O]=a[O]+B:3===p?(G.parse(a[O],u),A(u,u,B,1),a[O]=m(u)):1===p?A(a[O],a[O],B,1):2===p&&S(a[O],a[O],B,1)},t}();const n=function(){function t(a,p,O,B){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=a,this._loop=p,p&&B?(0,b.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=B,this._allowDiscrete=O)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(a){this._target=a},t.prototype.when=function(a,p,O){return this.whenWithKeys(a,p,(0,b.keys)(p),O)},t.prototype.whenWithKeys=function(a,p,O,B){for(var z=this._tracks,H=0;H<O.length;H++){var C=O[H],D=z[C];if(!D){D=z[C]=new s(C);var N=void 0,I=this._getAdditiveTrack(C);if(I){var V=I.keyframes,k=V[V.length-1];N=k&&k.value,3===I.valType&&N&&(N=m(N))}else N=this._target[C];if(null==N)continue;a>0&&D.addKeyframe(0,P(N),B),this._trackKeys.push(C)}D.addKeyframe(a,P(p[C]),B)}return this._maxTime=Math.max(this._maxTime,a),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(a){return this._maxTime=a,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var a=this._doneCbs;if(a)for(var p=a.length,O=0;O<p;O++)a[O].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var a=this.animation,p=this._abortedCbs;if(a&&a.removeClip(this._clip),this._clip=null,p)for(var O=0;O<p.length;O++)p[O].call(this)},t.prototype._setTracksFinished=function(){for(var a=this._tracks,p=this._trackKeys,O=0;O<p.length;O++)a[p[O]].setFinished()},t.prototype._getAdditiveTrack=function(a){var p,O=this._additiveAnimators;if(O)for(var B=0;B<O.length;B++){var z=O[B].getTrack(a);z&&(p=z)}return p},t.prototype.start=function(a){if(!(this._started>0)){this._started=1;for(var p=this,O=[],B=this._maxTime||0,z=0;z<this._trackKeys.length;z++){var H=this._trackKeys[z],C=this._tracks[H],D=this._getAdditiveTrack(H),N=C.keyframes,I=N.length;if(C.prepare(B,D),C.needsAnimate())if(!this._allowDiscrete&&C.discrete){var V=N[I-1];V&&(p._target[C.propName]=V.rawValue),C.setFinished()}else O.push(C)}if(O.length||this._force){var k=new W({life:B,loop:this._loop,delay:this._delay||0,onframe:function($){p._started=2;var tt=p._additiveAnimators;if(tt){for(var ot=!1,at=0;at<tt.length;at++)if(tt[at]._clip){ot=!0;break}ot||(p._additiveAnimators=null)}for(at=0;at<O.length;at++)O[at].step(p._target,$);var pt=p._onframeCbs;if(pt)for(at=0;at<pt.length;at++)pt[at](p._target,$)},ondestroy:function(){p._doneCallback()}});this._clip=k,this.animation&&this.animation.addClip(k),a&&k.setEasing(a)}else this._doneCallback();return this}},t.prototype.stop=function(a){this._clip&&(a&&this._clip.onframe(1),this._abortedCallback())},t.prototype.delay=function(a){return this._delay=a,this},t.prototype.during=function(a){return a&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(a)),this},t.prototype.done=function(a){return a&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(a)),this},t.prototype.aborted=function(a){return a&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(a)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(a){return this._tracks[a]},t.prototype.getTracks=function(){var a=this;return(0,b.map)(this._trackKeys,function(p){return a._tracks[p]})},t.prototype.stopTracks=function(a,p){if(!a.length||!this._clip)return!0;for(var O=this._tracks,B=this._trackKeys,z=0;z<a.length;z++){var H=O[a[z]];H&&!H.isFinished()&&(p?H.step(this._target,1):1===this._started&&H.step(this._target,0),H.setFinished())}var C=!0;for(z=0;z<B.length;z++)if(!O[B[z]].isFinished()){C=!1;break}return C&&this._abortedCallback(),C},t.prototype.saveTo=function(a,p,O){if(a){p=p||this._trackKeys;for(var B=0;B<p.length;B++){var z=p[B],H=this._tracks[z];if(H&&!H.isFinished()){var C=H.keyframes,D=C[O?0:C.length-1];D&&(a[z]=P(D.rawValue))}}}},t.prototype.__changeFinalValue=function(a,p){p=p||(0,b.keys)(a);for(var O=0;O<p.length;O++){var B=p[O],z=this._tracks[B];if(z){var H=z.keyframes;if(H.length>1){var C=H.pop();z.addKeyframe(C.time,a[B]),z.prepare(this._maxTime,z.getAdditiveTrack())}}}},t}()},36007:(jt,ht,l)=>{l.d(ht,{w:()=>F});var x=l(80138),Y=l(68453),b=/cubic-bezier\(([0-9,\.e ]+)\)/;function F(U){var W=U&&b.exec(U);if(W){var G=W[1].split(","),w=+(0,Y.trim)(G[0]),R=+(0,Y.trim)(G[1]),L=+(0,Y.trim)(G[2]),y=+(0,Y.trim)(G[3]);if(isNaN(w+R+L+y))return;var d=[];return function(A){return A<=0?0:A>=1?1:(0,x._E)(0,w,L,1,A,d)&&(0,x.Yb)(0,R,y,1,d[0])}}}},15055:(jt,ht,l)=>{l.d(ht,{V:()=>b});var x=l(68453);function b(F){var U=F.style,W=U.lineDash&&U.lineWidth>0&&function Y(F,U){return F&&"solid"!==F&&U>0?"dashed"===F?[4*U,2*U]:"dotted"===F?[U]:(0,x.isNumber)(F)?[F]:(0,x.isArray)(F)?F:null:null}(U.lineDash,U.lineWidth),G=U.lineDashOffset;if(W){var w=U.strokeNoScale&&F.getLineScale?F.getLineScale():1;w&&1!==w&&(W=(0,x.map)(W,function(R){return R/w}),G/=w)}return[W,G]}},66994:(jt,ht,l)=>{l.d(ht,{Xi:()=>B});var x=l(99860),Y=l(97240),b=l(11758),F=l(53428),U=l(57918),W=l(17799),G=l(12978),w=l(68453),R=l(15055),L=l(60672),y=l(3094),d=new Y.A(!0);function A(C){var D=C.stroke;return!(null==D||"none"===D||!(C.lineWidth>0))}function S(C){return"string"==typeof C&&"none"!==C}function M(C){var D=C.fill;return null!=D&&"none"!==D}function E(C,D){if(null!=D.fillOpacity&&1!==D.fillOpacity){var N=C.globalAlpha;C.globalAlpha=D.fillOpacity*D.opacity,C.fill(),C.globalAlpha=N}else C.fill()}function P(C,D){if(null!=D.strokeOpacity&&1!==D.strokeOpacity){var N=C.globalAlpha;C.globalAlpha=D.strokeOpacity*D.opacity,C.stroke(),C.globalAlpha=N}else C.stroke()}function m(C,D,N){var I=(0,b.OD)(D.image,D.__image,N);if((0,b.xA)(I)){var V=C.createPattern(I,D.repeat||"repeat");if("function"==typeof DOMMatrix&&V&&V.setTransform){var k=new DOMMatrix;k.translateSelf(D.x||0,D.y||0),k.rotateSelf(0,0,(D.rotation||0)*w.RADIAN_TO_DEGREE),k.scaleSelf(D.scaleX||1,D.scaleY||1),V.setTransform(k)}return V}}var c=["shadowBlur","shadowOffsetX","shadowOffsetY"],v=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function _(C,D,N,I,V){var k=!1;if(!I&&D===(N=N||{}))return!1;if(I||D.opacity!==N.opacity){p(C,V),k=!0;var $=Math.max(Math.min(D.opacity,1),0);C.globalAlpha=isNaN($)?x.oN.opacity:$}(I||D.blend!==N.blend)&&(k||(p(C,V),k=!0),C.globalCompositeOperation=D.blend||x.oN.blend);for(var tt=0;tt<c.length;tt++){var ot=c[tt];(I||D[ot]!==N[ot])&&(k||(p(C,V),k=!0),C[ot]=C.dpr*(D[ot]||0))}return(I||D.shadowColor!==N.shadowColor)&&(k||(p(C,V),k=!0),C.shadowColor=D.shadowColor||x.oN.shadowColor),k}function i(C,D,N,I,V){var k=O(D,V.inHover),$=I?null:N&&O(N,V.inHover)||{};if(k===$)return!1;var tt=_(C,k,$,I,V);if((I||k.fill!==$.fill)&&(tt||(p(C,V),tt=!0),S(k.fill)&&(C.fillStyle=k.fill)),(I||k.stroke!==$.stroke)&&(tt||(p(C,V),tt=!0),S(k.stroke)&&(C.strokeStyle=k.stroke)),(I||k.opacity!==$.opacity)&&(tt||(p(C,V),tt=!0),C.globalAlpha=null==k.opacity?1:k.opacity),D.hasStroke()){var at=k.lineWidth/(k.strokeNoScale&&D.getLineScale?D.getLineScale():1);C.lineWidth!==at&&(tt||(p(C,V),tt=!0),C.lineWidth=at)}for(var pt=0;pt<v.length;pt++){var Mt=v[pt],At=Mt[0];(I||k[At]!==$[At])&&(tt||(p(C,V),tt=!0),C[At]=k[At]||Mt[1])}return tt}function e(C,D){var N=D.transform,I=C.dpr||1;N?C.setTransform(I*N[0],I*N[1],I*N[2],I*N[3],I*N[4],I*N[5]):C.setTransform(I,0,0,I,0,0)}var s=1,r=2,n=3,t=4;function p(C,D){D.batchFill&&C.fill(),D.batchStroke&&C.stroke(),D.batchFill="",D.batchStroke=""}function O(C,D){return D&&C.__hoverStyle||C.style}function B(C,D){z(C,D,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function z(C,D,N,I){var V=D.transform;if(!D.shouldBePainted(N.viewWidth,N.viewHeight,!1,!1))return D.__dirty&=~L.M,void(D.__isRendered=!1);var k=D.__clipPaths,$=N.prevElClipPaths,tt=!1,ot=!1;
1if((!$||(0,F.KU)(k,$))&&($&&$.length&&(p(C,N),C.restore(),ot=tt=!0,N.prevElClipPaths=null,N.allClipped=!1,N.prevEl=null),k&&k.length&&(p(C,N),C.save(),function o(C,D,N){for(var I=!1,V=0;V<C.length;V++){var k=C[V];I=I||k.isZeroArea(),e(D,k),D.beginPath(),k.buildPath(D,k.shape),D.clip()}N.allClipped=I}(k,C,N),tt=!0),N.prevElClipPaths=k),N.allClipped)D.__isRendered=!1;else{D.beforeBrush&&D.beforeBrush(),D.innerBeforeBrush();var at=N.prevEl;at||(ot=tt=!0);var pt=D instanceof U.Ay&&D.autoBatch&&function a(C){var D=M(C),N=A(C);return!(C.lineDash||!(+D^+N)||D&&"string"!=typeof C.fill||N&&"string"!=typeof C.stroke||C.strokePercent<1||C.strokeOpacity<1||C.fillOpacity<1)}(D.style);tt||function u(C,D){return C&&D?C[0]!==D[0]||C[1]!==D[1]||C[2]!==D[2]||C[3]!==D[3]||C[4]!==D[4]||C[5]!==D[5]:!(!C&&!D)}(V,at.transform)?(p(C,N),e(C,D)):pt||p(C,N);var Mt=O(D,N.inHover);D instanceof U.Ay?(N.lastDrawType!==s&&(ot=!0,N.lastDrawType=s),i(C,D,at,ot,N),(!pt||!N.batchFill&&!N.batchStroke)&&C.beginPath(),function g(C,D,N,I){var V,k=A(N),$=M(N),tt=N.strokePercent,ot=tt<1,at=!D.path;(!D.silent||ot)&&at&&D.createPathProxy();var pt=D.path||d,Mt=D.__dirty;if(!I){var At=N.fill,Kt=N.stroke,qt=$&&!!At.colorStops,le=k&&!!Kt.colorStops,vt=$&&!!At.image,dt=k&&!!Kt.image,it=void 0,lt=void 0,bt=void 0,Ut=void 0,Ht=void 0;(qt||le)&&(Ht=D.getBoundingRect()),qt&&(it=Mt?(0,F.Ff)(C,At,Ht):D.__canvasFillGradient,D.__canvasFillGradient=it),le&&(lt=Mt?(0,F.Ff)(C,Kt,Ht):D.__canvasStrokeGradient,D.__canvasStrokeGradient=lt),vt&&(bt=Mt||!D.__canvasFillPattern?m(C,At,D):D.__canvasFillPattern,D.__canvasFillPattern=bt),dt&&(Ut=Mt||!D.__canvasStrokePattern?m(C,Kt,D):D.__canvasStrokePattern,D.__canvasStrokePattern=bt),qt?C.fillStyle=it:vt&&(bt?C.fillStyle=bt:$=!1),le?C.strokeStyle=lt:dt&&(Ut?C.strokeStyle=Ut:k=!1)}var ue,ye,fe=D.getGlobalScale();pt.setScale(fe[0],fe[1],D.segmentIgnoreThreshold),C.setLineDash&&N.lineDash&&(ue=(V=(0,R.V)(D))[0],ye=V[1]);var Me=!0;(at||Mt&L.Dl)&&(pt.setDPR(C.dpr),ot?pt.setContext(null):(pt.setContext(C),Me=!1),pt.reset(),D.buildPath(pt,D.shape,I),pt.toStatic(),D.pathUpdated()),Me&&pt.rebuildPath(C,ot?tt:1),ue&&(C.setLineDash(ue),C.lineDashOffset=ye),I||(N.strokeFirst?(k&&P(C,N),$&&E(C,N)):($&&E(C,N),k&&P(C,N))),ue&&C.setLineDash([])}(C,D,Mt,pt),pt&&(N.batchFill=Mt.fill||"",N.batchStroke=Mt.stroke||"")):D instanceof G.A?(N.lastDrawType!==n&&(ot=!0,N.lastDrawType=n),i(C,D,at,ot,N),function T(C,D,N){var I,V=N.text;if(null!=V&&(V+=""),V){C.font=N.font||y.OH,C.textAlign=N.textAlign,C.textBaseline=N.textBaseline;var k=void 0,$=void 0;C.setLineDash&&N.lineDash&&(k=(I=(0,R.V)(D))[0],$=I[1]),k&&(C.setLineDash(k),C.lineDashOffset=$),N.strokeFirst?(A(N)&&C.strokeText(V,N.x,N.y),M(N)&&C.fillText(V,N.x,N.y)):(M(N)&&C.fillText(V,N.x,N.y),A(N)&&C.strokeText(V,N.x,N.y)),k&&C.set
1LineDash([])}}(C,D,Mt)):D instanceof W.Ay?(N.lastDrawType!==r&&(ot=!0,N.lastDrawType=r),function h(C,D,N,I,V){_(C,O(D,V.inHover),N&&O(N,V.inHover),I,V)}(C,D,at,ot,N),function f(C,D,N){var I=D.__image=(0,b.OD)(N.image,D.__image,D,D.onload);if(I&&(0,b.xA)(I)){var V=N.x||0,k=N.y||0,$=D.getWidth(),tt=D.getHeight(),ot=I.width/I.height;if(null==$&&null!=tt?$=tt*ot:null==tt&&null!=$?tt=$/ot:null==$&&null==tt&&($=I.width,tt=I.height),N.sWidth&&N.sHeight)C.drawImage(I,at=N.sx||0,pt=N.sy||0,N.sWidth,N.sHeight,V,k,$,tt);else if(N.sx&&N.sy){var at,pt;C.drawImage(I,at=N.sx,pt=N.sy,$-at,tt-pt,V,k,$,tt)}else C.drawImage(I,V,k,$,tt)}}(C,D,Mt)):D.getTemporalDisplayables&&(N.lastDrawType!==t&&(ot=!0,N.lastDrawType=t),function H(C,D,N){var I=D.getDisplayables(),V=D.getTemporalDisplayables();C.save();var $,tt,k={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:N.viewWidth,viewHeight:N.viewHeight,inHover:N.inHover};for($=D.getCursor(),tt=I.length;$<tt;$++)(ot=I[$]).beforeBrush&&ot.beforeBrush(),ot.innerBeforeBrush(),z(C,ot,k,$===tt-1),ot.innerAfterBrush(),ot.afterBrush&&ot.afterBrush(),k.prevEl=ot;for(var at=0,pt=V.length;at<pt;at++){var ot;(ot=V[at]).beforeBrush&&ot.beforeBrush(),ot.innerBeforeBrush(),z(C,ot,k,at===pt-1),ot.innerAfterBrush(),ot.afterBrush&&ot.afterBrush(),k.prevEl=ot}D.clearTemporalDisplayables(),D.notClear=!0,C.restore()}(C,D,N)),pt&&I&&p(C,N),D.innerAfterBrush(),D.afterBrush&&D.afterBrush(),N.prevEl=D,D.__dirty=0,D.__isRendered=!0}}},53428:(jt,ht,l)=>{function x(w){return isFinite(w)}function F(w,R,L){for(var y="radial"===R.type?function b(w,R,L){var y=L.width,d=L.height,A=Math.min(y,d),S=null==R.x?.5:R.x,M=null==R.y?.5:R.y,E=null==R.r?.5:R.r;return R.global||(S=S*y+L.x,M=M*d+L.y,E*=A),S=x(S)?S:.5,M=x(M)?M:.5,E=E>=0&&x(E)?E:.5,w.createRadialGradient(S,M,0,S,M,E)}(w,R,L):function Y(w,R,L){var y=null==R.x?0:R.x,d=null==R.x2?1:R.x2,A=null==R.y?0:R.y,S=null==R.y2?0:R.y2;return R.global||(y=y*L.width+L.x,d=d*L.width+L.x,A=A*L.height+L.y,S=S*L.height+L.y),y=x(y)?y:0,d=x(d)?d:1,A=x(A)?A:0,S=x(S)?S:0,w.createLinearGradient(y,A,d,S)}(w,R,L),d=R.colorStops,A=0;A<d.length;A++)y.addColorStop(d[A].offset,d[A].color);return y}function U(w,R){if(w===R||!w&&!R)return!1;if(!w||!R||w.length!==R.length)return!0;for(var L=0;L<w.length;L++)if(w[L]!==R[L])return!0;return!1}function W(w){return parseInt(w,10)}function G(w,R,L){var y=["width","height"][R],d=["clientWidth","clientHeight"][R],A=["paddingLeft","paddingTop"][R],S=["paddingRight","paddingBottom"][R];if(null!=L[y]&&"auto"!==L[y])return parseFloat(L[y]);var M=document.defaultView.getComputedStyle(w);return(w[d]||W(M[y])||W(w.style[y]))-(W(M[A])||0)-(W(M[S])||0)|0}l.d(ht,{Ff:()=>F,KU:()=>U,YC:()=>G})},89859:(jt,ht,l)=>{l.d(ht,{Y5:()=>F,_S:()=>W,el:()=>G,ps:()=>U,tY:()=>w});var Y=1;l(24026).A.hasGlobalWindow&&(Y=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var F=Y,U=.4,W="#333",G="#ccc",w="#eee"},33907:(jt,ht,l)=>{l.d(ht,{NO:()=>G,RG:()=>U,X4:()=>A,ks:()=>L,ll:()=>w,lo:()=>d,sZ:()=>R});var x=l(47799),Y=l(19896),b=l(3094),F={};function U(S,M){var E=F[M=M||b.OH];E||(E=F[M]=new Y.Ay(500));var P=E.get(S);return null==P&&(P=b.yh.measureText(S,M).width,E.put(S,P)),P}function W(S,M,E,P){var m=U(S,M),g=L(M),f=w(0,m,E),T=R(0,g,P);return new x.A(f,T,m,g)}function G(S,M,E,P){var m=((S||"")+"").split("\n");if(1===m.length)return W(m[0],M,E,P);for(var f=new x.A(0,0,0,0),T=0;T<m.length;T++){var c=W(m[T],M,E,P);0===T?f.copy(c):f.union(c)}return f}function w(S,M,E){return"right"===E?S-=M:"center"===E&&(S-=M/2),S}function R(S,M,E){return"middle"===E?S-=M/2:"bottom"===E&&(S-=M),S}function L(S){return U("\u56fd",S)}function d(S,M){return"string"==typeof S?S.lastIndexOf("%")>=0?parseFloat(S)/100*M:parseFloat(S):S}function A(S,M,E){var P=M.position||"inside",m=null!=M.distance?M.distance:5,g=E.height,f=E.width,T=g/2,c=E.x,v=E.y,_="left",i="top";if(P instanceof Array)c+=d(P[0],E.width),v+=d(P[1],E.height),_=null,i=null;else switch(P){case"left":c-=m,v+=T,_="right",i="middle";break;case"right":c+=m+f,v+=T,i="middle";break;case"top":c+=f/2,v-=m,_="center",i="bottom";break;case"bottom":c+=f/2,v+=g+m,_="center";break;case"inside":c+=f/2,v+=T,_="center",i="middle";break;case"insideLeft":c+=m,v+=T,i="middle";break;case"insideRight":c+=f-m,v+=T,_="right",i="middle";break;
1case"insideTop":c+=f/2,v+=m,_="center";break;case"insideBottom":c+=f/2,v+=g-m,_="center",i="bottom";break;case"insideTopLeft":c+=m,v+=m;break;case"insideTopRight":c+=f-m,v+=m,_="right";break;case"insideBottomLeft":c+=m,v+=g-m,i="bottom";break;case"insideBottomRight":c+=f-m,v+=g-m,_="right",i="bottom"}return(S=S||{}).x=c,S.y=v,S.align=_,S.verticalAlign=i,S}},67308:(jt,ht,l)=>{l.d(ht,{n:()=>Y});var x=2*Math.PI;function Y(b){return(b%=x)<0&&(b+=x),b}},46562:(jt,ht,l)=>{function x(Y,b,F,U,W,G){if(G>b&&G>U||G<b&&G<U||U===b)return 0;var w=(G-b)/(U-b),R=U<b?1:-1;(1===w||0===w)&&(R=U<b?.5:-.5);var L=w*(F-Y)+Y;return L===W?1/0:L>W?R:0}l.d(ht,{A:()=>x})},47799:(jt,ht,l)=>{l.d(ht,{A:()=>d});var x=l(72464),Y=l(45263),b=Math.min,F=Math.max,U=new Y.A,W=new Y.A,G=new Y.A,w=new Y.A,R=new Y.A,L=new Y.A;const d=function(){function A(S,M,E,P){E<0&&(S+=E,E=-E),P<0&&(M+=P,P=-P),this.x=S,this.y=M,this.width=E,this.height=P}return A.prototype.union=function(S){var M=b(S.x,this.x),E=b(S.y,this.y);this.width=isFinite(this.x)&&isFinite(this.width)?F(S.x+S.width,this.x+this.width)-M:S.width,this.height=isFinite(this.y)&&isFinite(this.height)?F(S.y+S.height,this.y+this.height)-E:S.height,this.x=M,this.y=E},A.prototype.applyTransform=function(S){A.applyTransform(this,this,S)},A.prototype.calculateTransform=function(S){var M=this,E=S.width/M.width,P=S.height/M.height,m=x.create();return x.translate(m,m,[-M.x,-M.y]),x.scale(m,m,[E,P]),x.translate(m,m,[S.x,S.y]),m},A.prototype.intersect=function(S,M){if(!S)return!1;S instanceof A||(S=A.create(S));var E=this,P=E.x,m=E.x+E.width,g=E.y,f=E.y+E.height,T=S.x,c=S.x+S.width,v=S.y,_=S.y+S.height,i=!(m<T||c<P||f<v||_<g);if(M){var h=1/0,e=0,o=Math.abs(m-T),u=Math.abs(c-P),s=Math.abs(f-v),r=Math.abs(_-g),n=Math.min(o,u),t=Math.min(s,r);m<T||c<P?n>e&&(e=n,Y.A.set(L,o<u?-o:u,0)):n<h&&(h=n,Y.A.set(R,o<u?o:-u,0)),f<v||_<g?t>e&&(e=t,Y.A.set(L,0,s<r?-s:r)):n<h&&(h=n,Y.A.set(R,0,s<r?s:-r))}return M&&Y.A.copy(M,i?R:L),i},A.prototype.contain=function(S,M){var E=this;return S>=E.x&&S<=E.x+E.width&&M>=E.y&&M<=E.y+E.height},A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height)},A.prototype.copy=function(S){A.copy(this,S)},A.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},A.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},A.prototype.isZero=function(){return 0===this.width||0===this.height},A.create=function(S){return new A(S.x,S.y,S.width,S.height)},A.copy=function(S,M){S.x=M.x,S.y=M.y,S.width=M.width,S.height=M.height},A.applyTransform=function(S,M,E){if(E){if(E[1]<1e-5&&E[1]>-1e-5&&E[2]<1e-5&&E[2]>-1e-5){var P=E[0],m=E[3],f=E[5];return S.x=M.x*P+E[4],S.y=M.y*m+f,S.width=M.width*P,S.height=M.height*m,S.width<0&&(S.x+=S.width,S.width=-S.width),void(S.height<0&&(S.y+=S.height,S.height=-S.height))}U.x=G.x=M.x,U.y=w.y=M.y,W.x=w.x=M.x+M.width,W.y=G.y=M.y+M.height,U.transform(E),w.transform(E),W.transform(E),G.transform(E),S.x=b(U.x,W.x,G.x,w.x),S.y=b(U.y,W.y,G.y,w.y);var T=F(U.x,W.x,G.x,w.x),c=F(U.y,W.y,G.y,w.y);S.width=T-S.x,S.height=c-S.y}else S!==M&&A.copy(S,M)},A}()},84670:(jt,ht,l)=>{l.d(ht,{A:()=>Y});const Y=function(){function b(F){F&&(this._$eventProcessor=F)}return b.prototype.on=function(F,U,W,G){this._$handlers||(this._$handlers={});var w=this._$handlers;if("function"==typeof U&&(G=W,W=U,U=null),!W||!F)return this;var R=this._$eventProcessor;null!=U&&R&&R.normalizeQuery&&(U=R.normalizeQuery(U)),w[F]||(w[F]=[]);for(var L=0;L<w[F].length;L++)if(w[F][L].h===W)return this;var y={h:W,query:U,ctx:G||this,callAtLast:W.zrEventfulCallAtLast},d=w[F].length-1,A=w[F][d];return A&&A.callAtLast?w[F].splice(d,0,y):w[F].push(y),this},b.prototype.isSilent=function(F){var U=this._$handlers;return!U||!U[F]||!U[F].length},b.prototype.off=function(F,U){var W=this._$handlers;if(!W)return this;if(!F)return this._$handlers={},this;if(U){if(W[F]){for(var G=[],w=0,R=W[F].length;w<R;w++)W[F][w].h!==U&&G.push(W[F][w]);W[F]=G}W[F]&&0===W[F].length&&delete W[F]}else delete W[F];return this},b.prototype.trigger=function(F){for(var U=[],W=1;W<arguments.length;W++)U[W-1]=arguments[W];if(!this._$handlers)return this;var G=this._$handlers[F],w=this._$eventProcessor;if(G)for(var R=U.length,L=G.length,y=0;y<L;y++){var d=G[y];if(!w||!w.filter||null==d.query||w.filter(F,d.query))switch(R){case 0:d.h.call(d.ctx);break;case 1:d.h.call(d.ctx,U[0]);break;case 2:d.h.call(d.ctx,U[0],U[1]);break;default:d.h.apply(d.ctx,U)}}return w&&w.afterTrigger&&w.afterTrigger(F),this},b.prototype.triggerWithContext=function(F){for(var U=[],W=1;W<arguments.length;W++)U[W-1]=arguments[W];if(!this._$handlers)return this;var G=this._$handlers[F],w=this._$eventProcessor;if(G)for(var R=U.length,L=U[R-1],y=G.length,d=0;d<y;d++){var A=G[d];if(!w||!w.filter||null==A.query||w.filter(F,A.query))switch(R){case 0:A.h.call(L);break;case 1:A.h.call(L,U[0]);break;case 2:A.h.call(L,U[0],U[1]);break;default:A.h.apply(L,U.slice(1,R-1))}}return w&&w.afterTrigger&&w.afterTrigger(F),this},b}()},19896:(jt,ht,l)=>{l.d(ht,{Ay:()=>F});var x=function(){return function U(W){this.value=W}}(),Y=function(){function U(){this._len=0}return U.prototype.insert=function(W){var G=new x(W);return this.insertEntry(G),G},U.prototype.insertEntry=function(W){this.head?(this.tail.next=W,W.prev=this.tail,W.next=null,this.tail=W):this.head=this.tail=W,this._len++},U.prototype.remove=function(W){var G=W.prev,w=W.next;G?G.next=w:this.head=w,w?w.prev=G:this.tail=G,W.next=W.prev=null,this._len--},U.prototype.len=function(){return this._len},U.prototype.clear=function(){this.head=this.tail=null,this._len=0},U}();const F=function(){function U(W){this._list=new Y,this._maxSize=10,this._map={},this._maxSize=W}return U.prototype.put=function(W,G){var w=this._list,R=this._map,L=null;if(null==R[W]){var y=w.len(),d=this._lastRemovedEntry;if(y>=this._maxSize&&y>0){var A=w.head;w.remove(A),delete R[A.key],L=A.value,this._lastRemovedEntry=A}d?d.value=G:d=new x(G),d.key=W,w.insertEntry(d),R[W]=d}return L},U.prototype.get=function(W){var G=this._map[W],w=this._list;if(null!=G)return G!==w.tail&&(w.remove(G),w.insertEntry(G)),G.value},U.prototype.clear=function(){this._list.clear(),this._map={}},U.prototype.len=function(){return this._list.len()},U}()},40347:(jt,ht,l)=>{l.d(ht,{A:()=>G});var x=l(45263),Y=[0,0],b=[0,0],F=new x.A,U=new x.A;const G=function(){function w(R,L){this._corners=[],this._axes=[],this._origin=[0,0];for(var y=0;y<4;y++)this._corners[y]=new x.A;for(y=0;y<2;y++)this._axes[y]=new x.A;
vendor: 14,733 bytes, line 1
1R&&this.fromBoundingRect(R,L)}return w.prototype.fromBoundingRect=function(R,L){var y=this._corners,d=this._axes,A=R.x,S=R.y,M=A+R.width,E=S+R.height;if(y[0].set(A,S),y[1].set(M,S),y[2].set(M,E),y[3].set(A,E),L)for(var P=0;P<4;P++)y[P].transform(L);for(x.A.sub(d[0],y[1],y[0]),x.A.sub(d[1],y[3],y[0]),d[0].normalize(),d[1].normalize(),P=0;P<2;P++)this._origin[P]=d[P].dot(y[0])},w.prototype.intersect=function(R,L){var y=!0,d=!L;return F.set(1/0,1/0),U.set(0,0),!this._intersectCheckOneSide(this,R,F,U,d,1)&&(y=!1,d)||!this._intersectCheckOneSide(R,this,F,U,d,-1)&&(y=!1,d)||d||x.A.copy(L,y?F:U),y},w.prototype._intersectCheckOneSide=function(R,L,y,d,A,S){for(var M=!0,E=0;E<2;E++){var P=this._axes[E];if(this._getProjMinMaxOnAxis(E,R._corners,Y),this._getProjMinMaxOnAxis(E,L._corners,b),Y[1]<b[0]||Y[0]>b[1]){if(M=!1,A)return M;var m=Math.abs(b[0]-Y[1]),g=Math.abs(Y[0]-b[1]);Math.min(m,g)>d.len()&&x.A.scale(d,P,m<g?-m*S:g*S)}else y&&(m=Math.abs(b[0]-Y[1]),g=Math.abs(Y[0]-b[1]),Math.min(m,g)<y.len()&&x.A.scale(y,P,m<g?m*S:-g*S))}return M},w.prototype._getProjMinMaxOnAxis=function(R,L,y){for(var d=this._axes[R],A=this._origin,S=L[0].dot(d)+A[R],M=S,E=S,P=1;P<L.length;P++){var m=L[P].dot(d)+A[R];M=Math.min(m,M),E=Math.max(m,E)}y[0]=M,y[1]=E},w}()},97240:(jt,ht,l)=>{l.d(ht,{A:()=>H});var x=l(48550),Y=l(47799),b=l(89859),F=l(80138),U=Math.min,W=Math.max,G=Math.sin,w=Math.cos,R=2*Math.PI,L=x.create(),y=x.create(),d=x.create();function S(C,D,N,I,V,k){V[0]=U(C,N),V[1]=U(D,I),k[0]=W(C,N),k[1]=W(D,I)}var M=[],E=[];function P(C,D,N,I,V,k,$,tt,ot,at){var pt=F.lX,Mt=F.Yb,At=pt(C,N,V,$,M);ot[0]=1/0,ot[1]=1/0,at[0]=-1/0,at[1]=-1/0;for(var Kt=0;Kt<At;Kt++){var qt=Mt(C,N,V,$,M[Kt]);ot[0]=U(qt,ot[0]),at[0]=W(qt,at[0])}for(At=pt(D,I,k,tt,E),Kt=0;Kt<At;Kt++){var le=Mt(D,I,k,tt,E[Kt]);ot[1]=U(le,ot[1]),at[1]=W(le,at[1])}ot[0]=U(C,ot[0]),at[0]=W(C,at[0]),ot[0]=U($,ot[0]),at[0]=W($,at[0]),ot[1]=U(D,ot[1]),at[1]=W(D,at[1]),ot[1]=U(tt,ot[1]),at[1]=W(tt,at[1])}function m(C,D,N,I,V,k,$,tt){var ot=F.gC,at=F.k3,pt=W(U(ot(C,N,V),1),0),Mt=W(U(ot(D,I,k),1),0),At=at(C,N,V,pt),Kt=at(D,I,k,Mt);$[0]=U(C,V,At),$[1]=U(D,k,Kt),tt[0]=W(C,V,At),tt[1]=W(D,k,Kt)}function g(C,D,N,I,V,k,$,tt,ot){var at=x.min,pt=x.max,Mt=Math.abs(V-k);if(Mt%R<1e-4&&Mt>1e-4)return tt[0]=C-N,tt[1]=D-I,ot[0]=C+N,void(ot[1]=D+I);if(L[0]=w(V)*N+C,L[1]=G(V)*I+D,y[0]=w(k)*N+C,y[1]=G(k)*I+D,at(tt,L,y),pt(ot,L,y),(V%=R)<0&&(V+=R),(k%=R)<0&&(k+=R),V>k&&!$?k+=R:V<k&&$&&(V+=R),$){var At=k;k=V,V=At}for(var Kt=0;Kt<k;Kt+=Math.PI/2)Kt>V&&(d[0]=w(Kt)*N+C,d[1]=G(Kt)*I+D,at(tt,d,tt),pt(ot,d,ot))}var f={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},T=[],c=[],v=[],_=[],i=[],h=[],e=Math.min,o=Math.max,u=Math.cos,s=Math.sin,r=Math.abs,n=Math.PI,t=2*n,a=typeof Float32Array<"u",p=[];function O(C){return Math.round(C/n*1e8)/1e8%2*n}const H=function(){function C(D){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,D&&(this._saveData=!1),this._saveData&&(this.data=[])}return C.prototype.increaseVersion=function(){this._version++},C.prototype.getVersion=function(){return this._version},C.prototype.setScale=function(D,N,I){(I=I||0)>0&&(this._ux=r(I/b.Y5/D)||0,this._uy=r(I/b.Y5/N)||0)},C.prototype.setDPR=function(D){this.dpr=D},C.prototype.setContext=function(D){this._ctx=D},C.prototype.getContext=function(){return this._ctx},C.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},C.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},C.prototype.moveTo=function(D,N){return this._drawPendingPt(),this.addData(f.M,D,N),this._ctx&&this._ctx.moveTo(D,N),this._x0=D,this._y0=N,this._xi=D,this._yi=N,this},C.prototype.lineTo=function(D,N){var I=r(D-this._xi),V=r(N-this._yi),k=I>this._ux||V>this._uy;if(this.addData(f.L,D,N),this._ctx&&k&&this._ctx.lineTo(D,N),k)this._xi=D,this._yi=N,this._pendingPtDist=0;else{var $=I*I+V*V;$>this._pendingPtDist&&(this._pendingPtX=D,this._pendingPtY=N,this._pendingPtDist=$)}return this},C.prototype.bezierCurveTo=function(D,N,I,V,k,$){return this._drawPendingPt(),this.addData(f.C,D,N,I,V,k,$),this._ctx&&this._ctx.bezierCurveTo(D,N,I,V,k,$),this._xi=k,this._yi=$,this},C.prototype.quadraticCurveTo=function(D,N,I,V){return this._drawPendingPt(),this.addData(f.Q,D,N,I,V),this._ctx&&this._ctx.quadraticCurveTo(D,N,I,V),this._xi=I,this._yi=V,this},C.prototype.arc=function(D,N,I,V,k,$){return this._drawPendingPt(),p[0]=V,p[1]=k,function B(C,D){var N=O(C[0]);N<0&&(N+=t);var V=C[1];V+=N-C[0],!D&&V-N>=t?V=N+t:D&&N-V>=t?V=N-t:!D&&N>V?V=N+(t-O(N-V)):D&&N<V&&(V=N-(t-O(V-N))),C[0]=N,C[1]=V}(p,$),this.addData(f.A,D,N,I,I,V=p[0],(k=p[1])-V,0,$?0:1),this._ctx&&this._ctx.arc(D,N,I,V,k,$),this._xi=u(k)*I+D,this._yi=s(k)*I+N,this},C.prototype.arcTo=function(D,N,I,V,k){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(D,N,I,V,k),this},C.prototype.rect=function(D,N,I,V){return this._drawPendingPt(),this._ctx&&this._ctx.rect(D,N,I,V),this.addData(f.R,D,N,I,V),this},C.prototype.closePath=function(){this._drawPendingPt(),this.addData(f.Z);var D=this._ctx,N=this._x0,I=this._y0;return D&&D.closePath(),this._xi=N,this._yi=I,this},C.prototype.fill=function(D){D&&D.fill(),this.toStatic()},C.prototype.stroke=function(D){D&&D.stroke(),this.toStatic()},C.prototype.len=function(){return this._len},C.prototype.setData=function(D){var N=D.length;(!this.data||this.data.length!==N)&&a&&(this.data=new Float32Array(N));for(var I=0;I<N;I++)this.data[I]=D[I];this._len=N},C.prototype.appendPath=function(D){D instanceof Array||(D=[D]);for(var N=D.length,I=0,V=this._len,k=0;k<N;k++)I+=D[k].len();for(a&&this.data instanceof Float32Array&&(this.data=new Float32Array(V+I)),k=0;k<N;k++)for(var $=D[k].data,tt=0;tt<$.length;tt++)this.data[V++]=$[tt];this._len=V},C.prototype.addData=function(D,N,I,V,k,$,tt,ot,at){if(this._saveData){var pt=this.data;this._len+arguments.length>pt.length&&(this._expandData(),pt=this.data);for(var Mt=0;Mt<arguments.length;Mt++)pt[this._len++]=arguments[Mt]}},C.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},C.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var D=[],N=0;N<this._len;N++)D[N]=this.data[N];this.data=D}},C.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var D=this.data;D instanceof Array&&(D.length=this._len,a&&this._len>11&&(this.data=new Float32Array(D)))}},C.prototype.getBoundingRect=function(){v[0]=v[1]=i[0]=i[1]=Number.MAX_VALUE,_[0]=_[1]=h[0]=h[1]=-Number.MAX_VALUE;var $,D=this.data,N=0,I=0,V=0,k=0;for($=0;$<this._len;){var tt=D[$++],ot=1===$;switch(ot&&(V=N=D[$],k=I=D[$+1]),tt){case f.M:N=V=D[$++],I=k=D[$++],i[0]=V,i[1]=k,h[0]=V,h[1]=k;break;case f.L:S(N,I,D[$],D[$+1],i,h),N=D[$++],I=D[$++];break;case f.C:P(N,I,D[$++],D[$++],D[$++],D[$++],D[$],D[$+1],i,h),N=D[$++],I=D[$++];break;case f.Q:m(N,I,D[$++],D[$++],D[$],D[$+1],i,h),N=D[$++],I=D[$++];break;case f.A:var at=D[$++],pt=D[$++],Mt=D[$++],At=D[$++],Kt=D[$++],qt=D[$++]+Kt;$+=1;var le=!D[$++];ot&&(V=u(Kt)*Mt+at,k=s(Kt)*At+pt),g(at,pt,Mt,At,Kt,qt,le,i,h),N=u(qt)*Mt+at,I=s(qt)*At+pt;break;case f.R:S(V=N=D[$++],k=I=D[$++],V+D[$++],k+D[$++],i,h);break;case f.Z:N=V,I=k}x.min(v,v,i),x.max(_,_,h)}return 0===$&&(v[0]=v[1]=_[0]=_[1]=0),new Y.A(v[0],v[1],_[0]-v[0],_[1]-v[1])},C.prototype._calculateLength=function(){var D=this.data,N=this._len,I=this._ux,V=this._uy,k=0,$=0,tt=0,ot=0;this._pathSegLen||(this._pathSegLen=[]);for(var at=this._pathSegLen,pt=0,Mt=0,At=0;At<N;){var Kt=D[At++],qt=1===At;qt&&(tt=k=D[At],ot=$=D[At+1]);var le=-1;switch(Kt){case f.M:k=tt=D[At++],$=ot=D[At++];break;case f.L:var vt=D[At++],lt=(dt=D[At++])-$;(r(it=vt-k)>I||r(lt)>V||At===N-1)&&(le=Math.sqrt(it*it+lt*lt),k=vt,$=dt);break;case f.C:var bt=D[At++],Ut=D[At++],dt=(vt=D[At++],D[At++]),Ht=D[At++],fe=D[At++];le=(0,F.h0)(k,$,bt,Ut,vt,dt,Ht,fe,10),k=Ht,$=fe;break;case f.Q:bt=D[At++],Ut=D[At++],vt=D[At++],dt=D[At++],le=(0,F.d8)(k,$,bt,Ut,vt,dt,10),k=vt,$=dt;break;case f.A:var ue=D[At++],ye=D[At++],Me=D[At++],_e=D[At++],Se=D[At++],J=D[At++],yt=J+Se;At+=1,qt&&(tt=u(Se)*Me+ue,ot=s(Se)*_e+ye),le=o(Me,_e)*e(t,Math.abs(J)),k=u(yt)*Me+ue,$=s(yt)*_e+ye;break;case f.R:tt=k=D[At++],ot=$=D[At++],le=2*D[At++]+2*D[At++];break;case f.Z:var it=tt-k;lt=ot-$,le=Math.sqrt(it*it+lt*lt),k=tt,$=ot}le>=0&&(at[Mt++]=le,pt+=le)}return this._pathLen=pt,pt},C.prototype.rebuildPath=function(D,N){var tt,ot,at,pt,Mt,At,qt,it,bt,Ut,I=this.data,V=this._ux,k=this._uy,$=this._len,Kt=N<1,vt=0,dt=0,lt=0;if(!Kt||(this._pathSegLen||this._calculateLength(),qt=this._pathSegLen,it=N*this._pathLen))t:for(var Ht=0;Ht<$;){var fe=I[Ht++],ue=1===Ht;switch(ue&&(tt=at=I[Ht],ot=pt=I[Ht+1]),fe!==f.L&<>0&&(D.lineTo(bt,Ut),lt=0),fe){case f.M:tt=at=I[Ht++],ot=pt=I[Ht++],D.moveTo(at,pt);break;case f.L:Mt=I[Ht++],At=I[Ht++];var ye=r(Mt-at),Me=r(At-pt);if(ye>V||Me>k){if(Kt){if(vt+(_e=qt[dt++])>it){D.lineTo(at*(1-(Se=(it-vt)/_e))+Mt*Se,pt*(1-Se)+At*Se);break t}vt+=_e}D.lineTo(Mt,At),at=Mt,pt=At,lt=0}else{var J=ye*ye+Me*Me;J>lt&&(bt=Mt,Ut=At,lt=J)}break;case f.C:var yt=I[Ht++],kt=I[Ht++],Qt=I[Ht++],ct=I[Ht++],Lt=I[Ht++],Gt=I[Ht++];if(Kt){if(vt+(_e=qt[dt++])>it){(0,F.YT)(at,yt,Qt,Lt,Se=(it-vt)/_e,T),(0,F.YT)(pt,kt,ct,Gt,Se,c),D.bezierCurveTo(T[1],c[1],T[2],c[2],T[3],c[3]);break t}vt+=_e}D.bezierCurveTo(yt,kt,Qt,ct,Lt,Gt),at=Lt,pt=Gt;break;case f.Q:if(yt=I[Ht++],kt=I[Ht++],Qt=I[Ht++],ct=I[Ht++],Kt){if(vt+(_e=qt[dt++])>it){(0,F.kx)(at,yt,Qt,Se=(it-vt)/_e,T),(0,F.kx)(pt,kt,ct,Se,c),D.quadraticCurveTo(T[1],c[1],T[2],c[2]);break t}vt+=_e}D.quadraticCurveTo(yt,kt,Qt,ct),at=Qt,pt=ct;break;case f.A:var $t=I[Ht++],q=I[Ht++],rt=I[Ht++],et=I[Ht++],st=I[Ht++],zt=I[Ht++],Bt=I[Ht++],re=!I[Ht++],ae=rt>et?rt:et,Ae=r(rt-et)>.001,Dt=st+zt,mt=!1;if(Kt&&(vt+(_e=qt[dt++])>it&&(Dt=st+zt*(it-vt)/_e,mt=!0),vt+=_e),Ae&&D.ellipse?D.ellipse($t,q,rt,et,Bt,st,Dt,re):D.arc($t,q,ae,st,Dt,re),mt)break t;ue&&(tt=u(st)*rt+$t,ot=s(st)*et+q),at=u(Dt)*rt+$t,pt=s(Dt)*et+q;break;case f.R:tt=at=I[Ht],ot=pt=I[Ht+1],Mt=I[Ht++],At=I[Ht++];var St=I[Ht++],It=I[Ht++];if(Kt){if(vt+(_e=qt[dt++])>it){var Jt=it-vt;D.moveTo(Mt,At),D.lineTo(Mt+e(Jt,St),At),(Jt-=St)>0&&D.lineTo(Mt+St,At+e(Jt,It)),(Jt-=It)>0&&D.lineTo(Mt+o(St-Jt,0),At+It),(Jt-=St)>0&&D.lineTo(Mt,At+o(It-Jt,0));break t}vt+=_e}D.rect(Mt,At,St,It);break;case f.Z:if(Kt){var _e;if(vt+(_e=qt[dt++])>it){var Se;D.lineTo(at*(1-(Se=(it-vt)/_e))+tt*Se,pt*(1-Se)+ot*Se);break t}vt+=_e}D.closePath(),at=tt,pt=ot}}},C.prototype.clone=function(){var D=new C,N=this.data;return D.data=N.slice?N.slice():Array.prototype.slice.call(N),D._len=this._len,D},C.CMD=f,C.initDefaultProps=((D=C.prototype)._saveData=!0,D._ux=0,D._uy=0,D._pendingPtDist=0,void(D._version=0)),C;var D}()},45263:(jt,ht,l)=>{l.d(ht,{A:()=>Y});const Y=function(){function b(F,U){this.x=F||0,this.y=U||0}return b.prototype.copy=function(F){return this.x=F.x,this.y=F.y,this},b.prototype.clone=function(){return new b(this.x,this.y)},b.prototype.set=function(F,U){return this.x=F,this.y=U,this},b.prototype.equal=function(F){return F.x===this.x&&F.y===this.y},b.prototype.add=function(F){return this.x+=F.x,this.y+=F.y,this},b.prototype.scale=function(F){this.x*=F,this.y*=F},b.prototype.scaleAndAdd=function(F,U){this.x+=F.x*U,this.y+=F.y*U},b.prototype.sub=function(F){return this.x-=F.x,this.y-=F.y,this},b.prototype.dot=function(F){return this.x*F.x+this.y*F.y},b.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},b.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},b.prototype.normalize=function(){var F=this.len();return this.x/=F,this.y/=F,this},b.prototype.distance=function(F){var U=this.x-F.x,W=this.y-F.y;return Math.sqrt(U*U+W*W)},b.prototype.distanceSquare=function(F){var U=this.x-F.x,W=this.y-F.y;return U*U+W*W},b.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},b.prototype.transform=function(F){if(F){var U=this.x,W=this.y;return this.x=F[0]*U+F[2]*W+F[4],this.y=F[1]*U+F[3]*W+F[5],this}},b.prototype.toArray=function(F){return F[0]=this.x,F[1]=this.y,F},b.prototype.fromArray=function(F){this.x=F[0],this.y=F[1]},b.set=function(F,U,W){F.x=U,F.y=W},b.copy=function(F,U){F.x=U.x,F.y=U.y},b.len=function(F){return Math.sqrt(F.x*F.x+F.y*F.y)},b.lenSquare=function(F){return F.x*F.x+F.y*F.y},b.dot=function(F,U){return F.x*U.x+F.y*U.y},b.add=function(F,U,W){F.x=U.x+W.x,F.y=U.y+W.y},b.sub=function(F,U,W){F.x=U.x-W.x,F.y=U.y-W.y},b.scale=function(F,U,W){F.x=U.x*W,F.y=U.y*W},b.scaleAndAdd=function(F,U,W,G){F.x=U.x+W.x*G,F.y=U.y+W.y*G},b.lerp=function(F,U,W,G){var w=1-G;F.x=w*U.x+G*W.x,F.y=w*U.y+G*W.y},b}()},58749:(jt,ht,l)=>{l.d(ht,{Ay:()=>A,IT:()=>d,Wx:()=>y});var x=l(72464),Y=l(48550),b=x.identity,F=5e-5;function U(S){return S>F||S<-F}var W=[],G=[],w=x.create(),R=Math.abs,L=function(){function S(){}return S.prototype.getLocalTransform=function(M){return S.getLocalTransform(this,M)},S.prototype.setPosition=function(M){this.x=M[0],this.y=M[1]},S.prototype.setScale=function(M){this.scaleX=M[0],this.scaleY=M[1]},S.prototype.setSkew=function(M){this.skewX=M[0],this.skewY=M[1]},S.prototype.setOrigin=function(M){this.originX=M[0],this.originY=M[1]},S.prototype.needLocalTransform=function(){return U(this.rotation)||U(this.x)||U(this.y)||U(this.scaleX-1)||U(this.scaleY-1)||U(this.skewX)||U(this.skewY)},S.prototype.updateTransform=function(){var M=this.parent&&this.parent.transform,E=this.needLocalTransform(),P=this.transform;E||M?(P=P||x.create(),E?this.getLocalTransform(P):b(P),M&&(E?x.mul(P,M,P):x.copy(P,M)),this.transform=P,this._resolveGlobalScaleRatio(P)):P&&(b(P),this.invTransform=null)},S.prototype._resolveGlobalScaleRatio=function(M){var E=this.globalScaleRatio;if(null!=E&&1!==E){this.getGlobalScale(W);var P=W[0]<0?-1:1,m=W[1]<0?-1:1,g=((W[0]-P)*E+P)/W[0]||0,f=((W[1]-m)*E+m)/W[1]||0;M[0]*=g,M[1]*=g,M[2]*=f,M[3]*=f}this.invTransform=this.invTransform||x.create(),x.invert(this.invTransform,M)},S.prototype.getComputedTransform=function(){for(var M=this,E=[];M;)E.push(M),M=M.parent;for(;M=E.pop();)M.updateTransform();return this.transform},S.prototype.setLocalTransform=function(M){if(M){var E=M[0]*M[0]+M[1]*M[1],P=M[2]*M[2]+M[3]*M[3],m=Math.atan2(M[1],M[0]),g=Math.PI/2+m-Math.atan2(M[3],M[2]);P=Math.sqrt(P)*Math.cos(g),E=Math.sqrt(E),this.skewX=g,this.skewY=0,this.rotation=-m,this.x=+M[4],this.y=+M[5],this.scaleX=E,this.scaleY=P,this.originX=0,this.originY=0}},S.prototype.decomposeTransform=function(){if(this.transform){var M=this.parent,E=this.transform;M&&M.transform&&(M.invTransform=M.invTransform||x.create(),x.mul(G,M.invTransform,E),E=G);var P=this.originX,m=this.originY;(P||m)&&(w[4]=P,w[5]=m,x.mul(G,E,w),G[4]-=P,G[5]-=m,E=G),this.setLocalTransform(E)}},S.prototype.getGlobalScale=function(M){var E=this.transform;
1return M=M||[],E?(M[0]=Math.sqrt(E[0]*E[0]+E[1]*E[1]),M[1]=Math.sqrt(E[2]*E[2]+E[3]*E[3]),E[0]<0&&(M[0]=-M[0]),E[3]<0&&(M[1]=-M[1]),M):(M[0]=1,M[1]=1,M)},S.prototype.transformCoordToLocal=function(M,E){var P=[M,E],m=this.invTransform;return m&&Y.applyTransform(P,P,m),P},S.prototype.transformCoordToGlobal=function(M,E){var P=[M,E],m=this.transform;return m&&Y.applyTransform(P,P,m),P},S.prototype.getLineScale=function(){var M=this.transform;return M&&R(M[0]-1)>1e-10&&R(M[3]-1)>1e-10?Math.sqrt(R(M[0]*M[3]-M[2]*M[1])):1},S.prototype.copyTransform=function(M){d(this,M)},S.getLocalTransform=function(M,E){E=E||[];var P=M.originX||0,m=M.originY||0,g=M.scaleX,f=M.scaleY,T=M.anchorX,c=M.anchorY,v=M.rotation||0,_=M.x,i=M.y,h=M.skewX?Math.tan(M.skewX):0,e=M.skewY?Math.tan(-M.skewY):0;if(P||m||T||c){var o=P+T,u=m+c;E[4]=-o*g-h*u*f,E[5]=-u*f-e*o*g}else E[4]=E[5]=0;return E[0]=g,E[3]=f,E[1]=e*g,E[2]=h*f,v&&x.rotate(E,E,v),E[4]+=P+_,E[5]+=m+i,E},S.initDefaultProps=((M=S.prototype).scaleX=M.scaleY=M.globalScaleRatio=1,void(M.x=M.y=M.originX=M.originY=M.skewX=M.skewY=M.rotation=M.anchorX=M.anchorY=0)),S;var M}(),y=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(S,M){for(var E=0;E<y.length;E++){var P=y[E];S[P]=M[P]}}const A=L},80138:(jt,ht,l)=>{l.d(ht,{Et:()=>m,YT:()=>P,Yb:()=>A,_E:()=>M,d8:()=>h,gC:()=>v,h0:()=>g,k3:()=>f,kh:()=>i,kx:()=>_,lX:()=>E,qY:()=>c,rD:()=>S,z7:()=>T});var x=l(48550),Y=Math.pow,b=Math.sqrt,F=1e-8,U=1e-4,W=b(3),G=1/3,w=(0,x.create)(),R=(0,x.create)(),L=(0,x.create)();function y(e){return e>-F&&e<F}function d(e){return e>F||e<-F}function A(e,o,u,s,r){var n=1-r;return n*n*(n*e+3*r*o)+r*r*(r*s+3*n*u)}function S(e,o,u,s,r){var n=1-r;return 3*(((o-e)*n+2*(u-o)*r)*n+(s-u)*r*r)}function M(e,o,u,s,r,n){var t=s+3*(o-u)-e,a=3*(u-2*o+e),p=3*(o-e),O=e-r,B=a*a-3*t*p,z=a*p-9*t*O,H=p*p-3*a*O,C=0;if(y(B)&&y(z))y(a)?n[0]=0:(D=-p/a)>=0&&D<=1&&(n[C++]=D);else{var N=z*z-4*B*H;if(y(N)){var I=z/B,V=-I/2;(D=-a/t+I)>=0&&D<=1&&(n[C++]=D),V>=0&&V<=1&&(n[C++]=V)}else if(N>0){var k=b(N),$=B*a+1.5*t*(-z+k),tt=B*a+1.5*t*(-z-k);
1(D=(-a-(($=$<0?-Y(-$,G):Y($,G))+(tt=tt<0?-Y(-tt,G):Y(tt,G))))/(3*t))>=0&&D<=1&&(n[C++]=D)}else{var ot=(2*B*a-3*t*z)/(2*b(B*B*B)),at=Math.acos(ot)/3,pt=b(B),Mt=Math.cos(at),D=(-a-2*pt*Mt)/(3*t),At=(V=(-a+pt*(Mt+W*Math.sin(at)))/(3*t),(-a+pt*(Mt-W*Math.sin(at)))/(3*t));D>=0&&D<=1&&(n[C++]=D),V>=0&&V<=1&&(n[C++]=V),At>=0&&At<=1&&(n[C++]=At)}}return C}function E(e,o,u,s,r){var n=6*u-12*o+6*e,t=9*o+3*s-3*e-9*u,a=3*o-3*e,p=0;if(y(t))d(n)&&(O=-a/n)>=0&&O<=1&&(r[p++]=O);else{var B=n*n-4*t*a;if(y(B))r[0]=-n/(2*t);else if(B>0){var O,z=b(B),H=(-n-z)/(2*t);(O=(-n+z)/(2*t))>=0&&O<=1&&(r[p++]=O),H>=0&&H<=1&&(r[p++]=H)}}return p}function P(e,o,u,s,r,n){var t=(o-e)*r+e,a=(u-o)*r+o,p=(s-u)*r+u,O=(a-t)*r+t,B=(p-a)*r+a,z=(B-O)*r+O;n[0]=e,n[1]=t,n[2]=O,n[3]=z,n[4]=z,n[5]=B,n[6]=p,n[7]=s}function m(e,o,u,s,r,n,t,a,p,O,B){var z,D,N,I,V,H=.005,C=1/0;w[0]=p,w[1]=O;for(var k=0;k<1;k+=.05)R[0]=A(e,u,r,t,k),R[1]=A(o,s,n,a,k),(I=(0,x.distSquare)(w,R))<C&&(z=k,C=I);C=1/0;for(var $=0;$<32&&!(H<U);$++)N=z+H,R[0]=A(e,u,r,t,D=z-H),R[1]=A(o,s,n,a,D),I=(0,x.distSquare)(R,w),D>=0&&I<C?(z=D,C=I):(L[0]=A(e,u,r,t,N),L[1]=A(o,s,n,a,N),V=(0,x.distSquare)(L,w),N<=1&&V<C?(z=N,C=V):H*=.5);return B&&(B[0]=A(e,u,r,t,z),B[1]=A(o,s,n,a,z)),b(C)}function g(e,o,u,s,r,n,t,a,p){for(var O=e,B=o,z=0,H=1/p,C=1;C<=p;C++){var D=C*H,N=A(e,u,r,t,D),I=A(o,s,n,a,D),V=N-O,k=I-B;z+=Math.sqrt(V*V+k*k),O=N,B=I}return z}function f(e,o,u,s){var r=1-s;return r*(r*e+2*s*o)+s*s*u}function T(e,o,u,s){return 2*((1-s)*(o-e)+s*(u-o))}function c(e,o,u,s,r){var n=e-2*o+u,t=2*(o-e),a=e-s,p=0;if(y(n))d(t)&&(O=-a/t)>=0&&O<=1&&(r[p++]=O);else{var B=t*t-4*n*a;if(y(B))(O=-t/(2*n))>=0&&O<=1&&(r[p++]=O);else if(B>0){var O,z=b(B),H=(-t-z)/(2*n);(O=(-t+z)/(2*n))>=0&&O<=1&&(r[p++]=O),H>=0&&H<=1&&(r[p++]=H)}}return p}function v(e,o,u){var s=e+u-2*o;return 0===s?.5:(e-o)/s}function _(e,o,u,s,r){var n=(o-e)*s+e,t=(u-o)*s+o,a=(t-n)*s+n;r[0]=e,r[1]=n,r[2]=a,r[3]=a,r[4]=t,r[5]=u}function i(e,o,u,s,r,n,t,a,p){var O,B=.005,z=1/0;w[0]=t,w[1]=a;for(var H=0;H<1;H+=.05)R[0]=f(e,u,r,H),R[1]=f(o,s,n,H),(C=(0,x.distSquare)(w,R))<z&&(O=H,z=C);z=1/0;for(var D=0;D<32&&!(B<U);D++){var N=O-B,I=O+B;R[0]=f(e,u,r,N),R[1]=f(o,s,n,N);var C=(0,x.distSquare)(R,w);if(N>=0&&C<z)O=N,z=C;else{L[0]=f(e,u,r,I),L[1]=f(o,s,n,I);var V=(0,x.distSquare)(L,w);I<=1&&V<z?(O=I,z=V):B*=.5}}return p&&(p[0]=f(e,u,r,O),p[1]=f(o,s,n,O)),b(z)}function h(e,o,u,s,r,n,t){for(var a=e,p=o,O=0,B=1/t,z=1;z<=t;z++){var H=z*B,C=f(e,u,r,H),D=f(o,s,n,H),N=C-a,I=D-p;O+=Math.sqrt(N*N+I*I),a=C,p=D}return O}},28551:(jt,ht,l)=>{l.d(ht,{Me:()=>S,ot:()=>y,oq:()=>w,lJ:()=>G});var x=l(24026),Y=Math.log(2);function b(M,E,P,m,g,f){var T=m+"-"+g,c=M.length;if(f.hasOwnProperty(T))return f[T];if(1===E){var v=Math.round(Math.log((1<<c)-1&~g)/Y);return M[P][v]}for(var _=m|1<<P,i=P+1;m&1<<i;)i++;for(var h=0,e=0,o=0;e<c;e++){var u=1<<e;u&g||(h+=(o%2?-1:1)*M[P][e]*b(M,E-1,i,_,g|u,f),o++)}return f[T]=h,h}function F(M,E){var P=[[M[0],M[1],1,0,0,0,-E[0]*M[0],-E[0]*M[1]],[0,0,0,M[0],M[1],1,-E[1]*M[0],-E[1]*M[1]],[M[2],M[3],1,0,0,0,-E[2]*M[2],-E[2]*M[3]],[0,0,0,M[2],M[3],1,-E[3]*M[2],-E[3]*M[3]],[M[4],M[5],1,0,0,0,-E[4]*M[4],-E[4]*M[5]],[0,0,0,M[4],M[5],1,-E[5]*M[4],-E[5]*M[5]],[M[6],M[7],1,0,0,0,-E[6]*M[6],-E[6]*M[7]],[0,0,0,M[6],M[7],1,-E[7]*M[6],-E[7]*M[7]]],m={},g=b(P,8,0,0,0,m);if(0!==g){for(var f=[],T=0;T<8;T++)for(var c=0;c<8;c++)null==f[c]&&(f[c]=0),f[c]+=((T+c)%2?-1:1)*b(P,7,0===T?1:0,1<<T,1<<c,m)/g*E[T];return function(v,_,i){var h=_*f[6]+i*f[7]+1;v[0]=(_*f[0]+i*f[1]+f[2])/h,v[1]=(_*f[3]+i*f[4]+f[5])/h}}}var U="___zrEVENTSAVED",W=[];function G(M,E,P,m,g){return w(W,E,m,g,!0)&&w(M,P,W[0],W[1])}function w(M,E,P,m,g){if(E.getBoundingClientRect&&x.A.domSupported&&!y(E)){var f=E[U]||(E[U]={}),T=function R(M,E){var P=E.markers;if(P)return P;P=E.markers=[];for(var m=["left","right"],g=["top","bottom"],f=0;f<4;f++){var T=document.createElement("div"),v=f%2,_=(f>>1)%2;T.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",m[v]+":0",g[_]+":0",m[1-v]+":auto",g[1-_]+":auto",""].join("!important;"),M.appendChild(T),P.push(T)}return P}(E,f),c=function L(M,E,P){for(var m=P?"invTrans":"trans",g=E[m],f=E.srcCoords,T=[],c=[],v=!0,_=0;_<4;_++){var i=M[_].getBoundingClientRect(),h=2*_,e=i.left,o=i.top;T.push(e,o),v=v&&f&&e===f[h]&&o===f[h+1],c.push(M[_].offsetLeft,M[_].offsetTop)}return v&&g?g:(E.srcCoords=T,E[m]=P?F(c,T):F(T,c))}(T,f,g);if(c)return c(M,P,m),!0}return!1}function y(M){return"CANVAS"===M.nodeName.toUpperCase()}var d=/([&<>"'])/g,A={"&":"&","<":"<",">":">",'"':""","'":"'"};function S(M){return null==M?"":(M+"").replace(d,function(E,P){return A[P]})}},24026:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=function(){return function W(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),b=new(function(){return function W(){this.browser=new x,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}}());"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(b.wxa=!0,b.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?b.worker=!0:!b.hasGlobalWindow||"Deno"in window?(b.node=!0,b.svgSupported=!0):function F(W,G){var w=G.browser,R=W.match(/Firefox\/([\d.]+)/),L=W.match(/MSIE\s([\d.]+)/)||W.match(/Trident\/.+?rv:(([\d.]+))/),y=W.match(/Edge?\/([\d.]+)/),d=/micromessenger/i.test(W);R&&(w.firefox=!0,w.version=R[1]),L&&(w.ie=!0,w.version=L[1]),y&&(w.edge=!0,w.version=y[1],w.newEdge=+y[1].split(".")[0]>18),d&&(w.weChat=!0),G.svgSupported=typeof SVGRect<"u",G.touchEventsSupported="ontouchstart"in window&&!w.ie&&!w.edge,G.pointerEventsSupported="onpointerdown"in window&&(w.edge||w.ie&&+w.version>=11),G.domSupported=typeof document<"u";var A=document.documentElement.style;G.transform3dSupported=(w.ie&&"transition"in A||w.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in A)&&!("OTransition"in A),G.transformSupported=G.transform3dSupported||w.ie&&+w.version>=9}(navigator.userAgent,b);const U=b},11485:(jt,ht,l)=>{l.d(ht,{Yo:()=>W,ds:()=>A,e0:()=>R,f:()=>d,mK:()=>w,q2:()=>y});var x=l(24026),Y=l(28551),b=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,F=[],U=x.A.browser.firefox&&+x.A.browser.version.split(".")[0]<39;function W(M,E,P,m){return P=P||{},m?G(M,E,P):U&&null!=E.layerX&&E.layerX!==E.offsetX?(P.zrX=E.layerX,P.zrY=E.layerY):null!=E.offsetX?(P.zrX=E.offsetX,P.zrY=E.offsetY):G(M,E,P),P}function G(M,E,P){if(x.A.domSupported&&M.getBoundingClientRect){var m=E.clientX,g=E.clientY;if((0,Y.ot)(M)){var f=M.getBoundingClientRect();return P.zrX=m-f.left,void(P.zrY=g-f.top)}if((0,Y.oq)(F,M,m,g))return P.zrX=F[0],void(P.zrY=F[1])}P.zrX=P.zrY=0}function w(M){return M||window.event}function R(M,E,P){if(null!=(E=w(E)).zrX)return E;var m=E.type;if(m&&m.indexOf("touch")>=0){var T="touchend"!==m?E.targetTouches[0]:E.changedTouches[0];T&&W(M,T,E,P)}else{W(M,E,E,P);var f=function L(M){var E=M.wheelDelta;if(E)return E;var P=M.deltaX,m=M.deltaY;return null==P||null==m?E:3*Math.abs(0!==m?m:P)*(m>0?-1:m<0?1:P>0?-1:1)}(E);E.zrDelta=f?f/120:-(E.detail||0)/3}var c=E.button;return null==E.which&&void 0!==c&&b.test(E.type)&&(E.which=1&c?1:2&c?3:4&c?2:0),E}function y(M,E,P,m){M.addEventListener(E,P,m)}function d(M,E,P,m){M.removeEventListener(E,P,m)}var A=function(M){M.preventDefault(),M.stopPropagation(),M.cancelBubble=!0}},72464:(jt,ht,l)=>{function x(){return[1,0,0,1,0,0]}function Y(L){return L[0]=1,L[1]=0,L[2]=0,L[3]=1,L[4]=0,L[5]=0,L}function b(L,y){return L[0]=y[0],L[1]=y[1],L[2]=y[2],L[3]=y[3],L[4]=y[4],L[5]=y[5],L}function F(L,y,d){var S=y[1]*d[0]+y[3]*d[1],M=y[0]*d[2]+y[2]*d[3],E=y[1]*d[2]+y[3]*d[3],P=y[0]*d[4]+y[2]*d[5]+y[4],m=y[1]*d[4]+y[3]*d[5]+y[5];return L[0]=y[0]*d[0]+y[2]*d[1],L[1]=S,L[2]=M,L[3]=E,L[4]=P,L[5]=m,L}function U(L,y,d){return L[0]=y[0],L[1]=y[1],L[2]=y[2],L[3]=y[3],L[4]=y[4]+d[0],L[5]=y[5]+d[1],L}function W(L,y,d,A){void 0===A&&(A=[0,0]);var S=y[0],M=y[2],E=y[4],P=y[1],m=y[3],g=y[5],f=Math.sin(d),T=Math.cos(d);return L[0]=S*T+P*f,L[1]=-S*f+P*T,L[2]=M*T+m*f,L[3]=-M*f+T*m,L[4]=T*(E-A[0])+f*(g-A[1])+A[0],L[5]=T*(g-A[1])-f*(E-A[0])+A[1],L}function G(L,y,d){var A=d[0],S=d[1];return L[0]=y[0]*A,L[1]=y[1]*S,L[2]=y[2]*A,L[3]=y[3]*S,L[4]=y[4]*A,L[5]=y[5]*S,L}function w(L,y){var d=y[0],A=y[2],S=y[4],M=y[1],E=y[3],P=y[5],m=d*E-M*A;return m?(L[0]=E*(m=1/m),L[1]=-M*m,L[2]=-A*m,L[3]=d*m,L[4]=(A*P-E*S)*m,L[5]=(M*S-d*P)*m,L):null}function R(L){var y=[1,0,0,1,0,0];return b(y,L),y}l.r(ht),l.d(ht,{clone:()=>R,copy:()=>b,create:()=>x,identity:()=>Y,invert:()=>w,mul:()=>F,rotate:()=>W,scale:()=>G,translate:()=>U})},3094:(jt,ht,l)=>{l.d(ht,{Gs:()=>L,OH:()=>b,gI:()=>x,yh:()=>R,zs:()=>Y});var x=12,Y="sans-serif",b=x+"px "+Y,w=function G(y){var d={};if(typeof JSON>"u")return d;for(var A=0;A<y.length;A++){var S=String.fromCharCode(A+32),M=(y.charCodeAt(A)-20)/100;d[S]=M}return d}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),R={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var y,d;return function(A,S){if(!y){var M=R.createCanvas();y=M&&M.getContext("2d")}if(y)return d!==S&&(d=y.font=S||b),y.measureText(A);A=A||"";var E=/((?:\d+)?\.?\d*)px/.exec(S=S||b),P=E&&+E[1]||x,m=0;if(S.indexOf("mono")>=0)m=P*A.length;else for(var g=0;g<A.length;g++){var f=w[A[g]];m+=null==f?P:f*P}return{width:m}}}(),loadImage:function(y,d,A){var S=new Image;
vendor: 10,033 bytes, line 1
1return S.onload=d,S.onerror=A,S.src=y,S}};function L(y){for(var d in R)y[d]&&(R[d]=y[d])}},5331:(jt,ht,l)=>{l.d(ht,{A:()=>L});var x=32,Y=7;function F(y,d,A,S){var M=d+1;if(M===A)return 1;if(S(y[M++],y[d])<0){for(;M<A&&S(y[M],y[M-1])<0;)M++;!function U(y,d,A){for(A--;d<A;){var S=y[d];y[d++]=y[A],y[A--]=S}}(y,d,M)}else for(;M<A&&S(y[M],y[M-1])>=0;)M++;return M-d}function W(y,d,A,S,M){for(S===d&&S++;S<A;S++){for(var g,E=y[S],P=d,m=S;P<m;)M(E,y[g=P+m>>>1])<0?m=g:P=g+1;var f=S-P;switch(f){case 3:y[P+3]=y[P+2];case 2:y[P+2]=y[P+1];case 1:y[P+1]=y[P];break;default:for(;f>0;)y[P+f]=y[P+f-1],f--}y[P]=E}}function G(y,d,A,S,M,E){var P=0,m=0,g=1;if(E(y,d[A+M])>0){for(m=S-M;g<m&&E(y,d[A+M+g])>0;)P=g,(g=1+(g<<1))<=0&&(g=m);g>m&&(g=m),P+=M,g+=M}else{for(m=M+1;g<m&&E(y,d[A+M-g])<=0;)P=g,(g=1+(g<<1))<=0&&(g=m);g>m&&(g=m);var f=P;P=M-g,g=M-f}for(P++;P<g;){var T=P+(g-P>>>1);E(y,d[A+T])>0?P=T+1:g=T}return g}function w(y,d,A,S,M,E){var P=0,m=0,g=1;if(E(y,d[A+M])<0){for(m=M+1;g<m&&E(y,d[A+M-g])<0;)P=g,(g=1+(g<<1))<=0&&(g=m);g>m&&(g=m);var f=P;P=M-g,g=M-f}else{for(m=S-M;g<m&&E(y,d[A+M+g])>=0;)P=g,(g=1+(g<<1))<=0&&(g=m);g>m&&(g=m),P+=M,g+=M}for(P++;P<g;){var T=P+(g-P>>>1);E(y,d[A+T])<0?g=T:P=T+1}return g}function L(y,d,A,S){A||(A=0),S||(S=y.length);var M=S-A;if(!(M<2)){var E=0;if(M<x)return void W(y,A,S,A+(E=F(y,A,S,d)),d);var P=function R(y,d){var S,M,A=Y,E=0,P=[];function T(_){var i=S[_],h=M[_],e=S[_+1],o=M[_+1];M[_]=h+o,_===E-3&&(S[_+1]=S[_+2],M[_+1]=M[_+2]),E--;var u=w(y[e],y,i,h,0,d);i+=u,0!=(h-=u)&&0!==(o=G(y[i+h-1],y,e,o,o-1,d))&&(h<=o?function c(_,i,h,e){var o=0;for(o=0;o<i;o++)P[o]=y[_+o];var u=0,s=h,r=_;if(y[r++]=y[s++],0!=--e)if(1!==i){for(var t,a,p,n=A;;){t=0,a=0,p=!1;do{if(d(y[s],P[u])<0){if(y[r++]=y[s++],a++,t=0,0==--e){p=!0;break}}else if(y[r++]=P[u++],t++,a=0,1==--i){p=!0;break}}while((t|a)<n);if(p)break;do{if(0!==(t=w(y[s],P,u,i,0,d))){for(o=0;o<t;o++)y[r+o]=P[u+o];if(r+=t,u+=t,(i-=t)<=1){p=!0;break}}if(y[r++]=y[s++],0==--e){p=!0;break}if(0!==(a=G(P[u],y,s,e,0,d))){for(o=0;o<a;o++)y[r+o]=y[s+o];if(r+=a,s+=a,0==(e-=a)){p=!0;break}}if(y[r++]=P[u++],1==--i){p=!0;break}n--}while(t>=Y||a>=Y);if(p)break;n<0&&(n=0),n+=2}if((A=n)<1&&(A=1),1===i){for(o=0;o<e;o++)y[r+o]=y[s+o];y[r+e]=P[u]}else{if(0===i)throw new Error;for(o=0;o<i;o++)y[r+o]=P[u+o]}}else{for(o=0;o<e;o++)y[r+o]=y[s+o];y[r+e]=P[u]}else for(o=0;o<i;o++)y[r+o]=P[u+o]}(i,h,e,o):function v(_,i,h,e){var o=0;for(o=0;o<e;o++)P[o]=y[h+o];var u=_+i-1,s=e-1,r=h+e-1,n=0,t=0;if(y[r--]=y[u--],0!=--i)if(1!==e){for(var a=A;;){var p=0,O=0,B=!1;do{if(d(P[s],y[u])<0){if(y[r--]=y[u--],p++,O=0,0==--i){B=!0;break}}else if(y[r--]=P[s--],O++,p=0,1==--e){B=!0;break}}while((p|O)<a);if(B)break;do{if(0!=(p=i-w(P[s],y,_,i,i-1,d))){for(i-=p,t=1+(r-=p),n=1+(u-=p),o=p-1;o>=0;o--)y[t+o]=y[n+o];if(0===i){B=!0;break}}if(y[r--]=P[s--],1==--e){B=!0;break}if(0!=(O=e-G(y[u],P,0,e,e-1,d))){for(e-=O,t=1+(r-=O),n=1+(s-=O),o=0;o<O;o++)y[t+o]=P[n+o];if(e<=1){B=!0;break}}if(y[r--]=y[u--],0==--i){B=!0;break}a--}while(p>=Y||O>=Y);if(B)break;a<0&&(a=0),a+=2}if((A=a)<1&&(A=1),1===e){for(t=1+(r-=i),n=1+(u-=i),o=i-1;o>=0;o--)y[t+o]=y[n+o];y[r]=P[s]}else{if(0===e)throw new Error;for(n=r-(e-1),o=0;o<e;o++)y[n+o]=P[o]}}else{for(t=1+(r-=i),n=1+(u-=i),o=i-1;o>=0;o--)y[t+o]=y[n+o];y[r]=P[s]}else for(n=r-(e-1),o=0;o<e;o++)y[n+o]=P[o]}(i,h,e,o))}return S=[],M=[],{mergeRuns:function g(){for(;E>1;){var _=E-2;if(_>=1&&M[_-1]<=M[_]+M[_+1]||_>=2&&M[_-2]<=M[_]+M[_-1])M[_-1]<M[_+1]&&_--;else if(M[_]>M[_+1])break;T(_)}},forceMergeRuns:function f(){for(;E>1;){var _=E-2;_>0&&M[_-1]<M[_+1]&&_--,T(_)}},pushRun:function m(_,i){S[E]=_,M[E]=i,E+=1}}}(y,d),m=function b(y){for(var d=0;y>=x;)d|=1&y,y>>=1;return y+d}(M);do{if((E=F(y,A,S,d))<m){var g=M;g>m&&(g=m),W(y,A,A+g,A+E,d),E=g}P.pushRun(A,E),P.mergeRuns(),M-=E,A+=E}while(0!==M);P.forceMergeRuns()}}},68453:(jt,ht,l)=>{l.r(ht),l.d(ht,{HashMap:()=>Ut,RADIAN_TO_DEGREE:()=>Se,assert:()=>Kt,bind:()=>t,clone:()=>E,concatArray:()=>fe,createCanvas:()=>T,createHashMap:()=>Ht,createObject:()=>ue,curry:()=>a,defaults:()=>f,disableUserSelect:()=>ye,each:()=>h,eqNaN:()=>tt,extend:()=>g,filter:()=>u,find:()=>s,guid:()=>S,hasOwn:()=>Me,indexOf:()=>c,inherits:()=>v,isArray:()=>p,isArrayLike:()=>i,isBuiltInObject:()=>D,isDom:()=>I,isFunction:()=>O,isGradientObject:()=>V,isImagePatternObject:()=>k,isNumber:()=>H,isObject:()=>C,isPrimitive:()=>dt,isRegExp:()=>$,isString:()=>B,isStringSafe:()=>z,isTypedArray:()=>N,keys:()=>r,logError:()=>M,map:()=>e,merge:()=>P,mergeAll:()=>m,mixin:()=>_,noop:()=>_e,normalizeCssArray:()=>At,reduce:()=>o,retrieve:()=>ot,retrieve2:()=>at,retrieve3:()=>pt,setAsPrimitive:()=>vt,slice:()=>Mt,trim:()=>qt});var x=l(3094),Y=o(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(J,yt){return J["[object "+yt+"]"]=!0,J},{}),b=o(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(J,yt){return J["[object "+yt+"Array]"]=!0,J},{}),F=Object.prototype.toString,U=Array.prototype,W=U.forEach,G=U.filter,w=U.slice,R=U.map,L=function(){}.constructor,y=L?L.prototype:null,d="__proto__",A=2311;function S(){return A++}function M(){for(var J=[],yt=0;yt<arguments.length;yt++)J[yt]=arguments[yt];typeof console<"u"&&console.error.apply(console,J)}function E(J){if(null==J||"object"!=typeof J)return J;var yt=J,kt=F.call(J);if("[object Array]"===kt){if(!dt(J)){yt=[];for(var Qt=0,ct=J.length;Qt<ct;Qt++)yt[Qt]=E(J[Qt])}}else if(b[kt]){if(!dt(J)){var Lt=J.constructor;if(Lt.from)yt=Lt.from(J);else for(yt=new Lt(J.length),Qt=0,ct=J.length;Qt<ct;Qt++)yt[Qt]=J[Qt]}}else if(!Y[kt]&&!dt(J)&&!I(J))for(var Gt in yt={},J)J.hasOwnProperty(Gt)&&Gt!==d&&(yt[Gt]=E(J[Gt]));return yt}function P(J,yt,kt){if(!C(yt)||!C(J))return kt?E(yt):J;for(var Qt in yt)if(yt.hasOwnProperty(Qt)&&Qt!==d){var ct=J[Qt],Lt=yt[Qt];!C(Lt)||!C(ct)||p(Lt)||p(ct)||I(Lt)||I(ct)||D(Lt)||D(ct)||dt(Lt)||dt(ct)?(kt||!(Qt in J))&&(J[Qt]=E(yt[Qt])):P(ct,Lt,kt)}return J}function m(J,yt){for(var kt=J[0],Qt=1,ct=J.length;Qt<ct;Qt++)kt=P(kt,J[Qt],yt);return kt}function g(J,yt){if(Object.assign)Object.assign(J,yt);else for(var kt in yt)yt.hasOwnProperty(kt)&&kt!==d&&(J[kt]=yt[kt]);return J}function f(J,yt,kt){for(var Qt=r(yt),ct=0,Lt=Qt.length;ct<Lt;ct++){var Gt=Qt[ct];(kt?null!=yt[Gt]:null==J[Gt])&&(J[Gt]=yt[Gt])}return J}var T=x.yh.createCanvas;function c(J,yt){if(J){if(J.indexOf)return J.indexOf(yt);for(var kt=0,Qt=J.length;kt<Qt;kt++)if(J[kt]===yt)return kt}return-1}function v(J,yt){var kt=J.prototype;function Qt(){}for(var ct in Qt.prototype=yt.prototype,J.prototype=new Qt,kt)kt.hasOwnProperty(ct)&&(J.prototype[ct]=kt[ct]);J.prototype.constructor=J,J.superClass=yt}function _(J,yt,kt){if(J="prototype"in J?J.prototype:J,yt="prototype"in yt?yt.prototype:yt,Object.getOwnPropertyNames)for(var Qt=Object.getOwnPropertyNames(yt),ct=0;ct<Qt.length;ct++){var Lt=Qt[ct];"constructor"!==Lt&&(kt?null!=yt[Lt]:null==J[Lt])&&(J[Lt]=yt[Lt])}else f(J,yt,kt)}function i(J){return!(!J||"string"==typeof J)&&"number"==typeof J.length}function h(J,yt,kt){if(J&&yt)if(J.forEach&&J.forEach===W)J.forEach(yt,kt);else if(J.length===+J.length)for(var Qt=0,ct=J.length;Qt<ct;Qt++)yt.call(kt,J[Qt],Qt,J);else for(var Lt in J)J.hasOwnProperty(Lt)&&yt.call(kt,J[Lt],Lt,J)}function e(J,yt,kt){if(!J)return[];if(!yt)return Mt(J);if(J.map&&J.map===R)return J.map(yt,kt);for(var Qt=[],ct=0,Lt=J.length;ct<Lt;ct++)Qt.push(yt.call(kt,J[ct],ct,J));return Qt}function o(J,yt,kt,Qt){if(J&&yt){for(var ct=0,Lt=J.length;ct<Lt;ct++)kt=yt.call(Qt,kt,J[ct],ct,J);return kt}}function u(J,yt,kt){if(!J)return[];if(!yt)return Mt(J);if(J.filter&&J.filter===G)return J.filter(yt,kt);for(var Qt=[],ct=0,Lt=J.length;ct<Lt;ct++)yt.call(kt,J[ct],ct,J)&&Qt.push(J[ct]);return Qt}function s(J,yt,kt){if(J&&yt)for(var Qt=0,ct=J.length;Qt<ct;Qt++)if(yt.call(kt,J[Qt],Qt,J))return J[Qt]}function r(J){if(!J)return[];if(Object.keys)return Object.keys(J);var yt=[];for(var kt in J)J.hasOwnProperty(kt)&&yt.push(kt);return yt}var t=y&&O(y.bind)?y.call.bind(y.bind):function n(J,yt){for(var kt=[],Qt=2;Qt<arguments.length;Qt++)kt[Qt-2]=arguments[Qt];return function(){return J.apply(yt,kt.concat(w.call(arguments)))}};function a(J){for(var yt=[],kt=1;kt<arguments.length;kt++)yt[kt-1]=arguments[kt];return function(){return J.apply(this,yt.concat(w.call(arguments)))}}function p(J){return Array.isArray?Array.isArray(J):"[object Array]"===F.call(J)}function O(J){return"function"==typeof J}function B(J){return"string"==typeof J}function z(J){return"[object String]"===F.call(J)}function H(J){return"number"==typeof J}function C(J){var yt=typeof J;return"function"===yt||!!J&&"object"===yt}function D(J){return!!Y[F.call(J)]}function N(J){return!!b[F.call(J)]}function I(J){return"object"==typeof J&&"number"==typeof J.nodeType&&"object"==typeof J.ownerDocument}function V(J){return null!=J.colorStops}function k(J){return null!=J.image}function $(J){return"[object RegExp]"===F.call(J)}function tt(J){return J!=J}function ot(){for(var J=[],yt=0;yt<arguments.length;yt++)J[yt]=arguments[yt];for(var kt=0,Qt=J.length;kt<Qt;kt++)if(null!=J[kt])return J[kt]}function at(J,yt){return J??yt}function pt(J,yt,kt){return J??yt??kt}function Mt(J){for(var yt=[],kt=1;kt<arguments.length;kt++)yt[kt-1]=arguments[kt];return w.apply(J,yt)}function At(J){if("number"==typeof J)return[J,J,J,J];var yt=J.length;return 2===yt?[J[0],J[1],J[0],J[1]]:3===yt?[J[0],J[1],J[2],J[1]]:J}function Kt(J,yt){if(!J)throw new Error(yt)}function qt(J){return null==J?null:"function"==typeof J.trim?J.trim():J.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var le="__ec_primitive__";function vt(J){J[le]=!0}function dt(J){return J[le]}var it=function(){function J(){this.data={}}return J.prototype.delete=function(yt){var kt=this.has(yt);return kt&&delete this.data[yt],kt},J.prototype.has=function(yt){return this.data.hasOwnProperty(yt)},J.prototype.get=function(yt){return this.data[yt]},J.prototype.set=function(yt,kt){return this.data[yt]=kt,this},J.prototype.keys=function(){return r(this.data)},J.prototype.forEach=function(yt){var kt=this.data;
1for(var Qt in kt)kt.hasOwnProperty(Qt)&&yt(kt[Qt],Qt)},J}(),lt="function"==typeof Map,Ut=function(){function J(yt){var kt=p(yt);this.data=function bt(){return lt?new Map:new it}();var Qt=this;function ct(Lt,Gt){kt?Qt.set(Lt,Gt):Qt.set(Gt,Lt)}yt instanceof J?yt.each(ct):yt&&h(yt,ct)}return J.prototype.hasKey=function(yt){return this.data.has(yt)},J.prototype.get=function(yt){return this.data.get(yt)},J.prototype.set=function(yt,kt){return this.data.set(yt,kt),kt},J.prototype.each=function(yt,kt){this.data.forEach(function(Qt,ct){yt.call(kt,Qt,ct)})},J.prototype.keys=function(){var yt=this.data.keys();return lt?Array.from(yt):yt},J.prototype.removeKey=function(yt){this.data.delete(yt)},J}();function Ht(J){return new Ut(J)}function fe(J,yt){for(var kt=new J.constructor(J.length+yt.length),Qt=0;Qt<J.length;Qt++)kt[Qt]=J[Qt];var ct=J.length;for(Qt=0;Qt<yt.length;Qt++)kt[Qt+ct]=yt[Qt];return kt}function ue(J,yt){var kt;if(Object.create)kt=Object.create(J);else{var Qt=function(){};Qt.prototype=J,kt=new Qt}return yt&&g(kt,yt),kt}function ye(J){var yt=J.style;yt.webkitUserSelect="none",yt.userSelect="none",yt.webkitTapHighlightColor="rgba(0,0,0,0)",yt["-webkit-touch-callout"]="none"}function Me(J,yt){return J.hasOwnProperty(yt)}function _e(){}var Se=180/Math.PI},48550:(jt,ht,l)=>{function x(h,e){return null==h&&(h=0),null==e&&(e=0),[h,e]}function Y(h,e){return h[0]=e[0],h[1]=e[1],h}function b(h){return[h[0],h[1]]}function F(h,e,o){return h[0]=e,h[1]=o,h}function U(h,e,o){return h[0]=e[0]+o[0],h[1]=e[1]+o[1],h}function W(h,e,o,u){return h[0]=e[0]+o[0]*u,h[1]=e[1]+o[1]*u,h}function G(h,e,o){return h[0]=e[0]-o[0],h[1]=e[1]-o[1],h}function w(h){return Math.sqrt(L(h))}l.r(ht),l.d(ht,{add:()=>U,applyTransform:()=>v,clone:()=>b,copy:()=>Y,create:()=>x,dist:()=>m,distSquare:()=>f,distance:()=>P,distanceSquare:()=>g,div:()=>A,dot:()=>S,len:()=>w,lenSquare:()=>L,length:()=>R,lengthSquare:()=>y,lerp:()=>c,max:()=>i,min:()=>_,mul:()=>d,negate:()=>T,normalize:()=>E,scale:()=>M,scaleAndAdd:()=>W,set:()=>F,sub:()=>G});var R=w;function L(h){return h[0]*h[0]+h[1]*h[1]}var y=L;function d(h,e,o){return h[0]=e[0]*o[0],h[1]=e[1]*o[1],h}function A(h,e,o){return h[0]=e[0]/o[0],h[1]=e[1]/o[1],h}function S(h,e){return h[0]*e[0]+h[1]*e[1]}function M(h,e,o){return h[0]=e[0]*o,h[1]=e[1]*o,h}function E(h,e){var o=w(e);return 0===o?(h[0]=0,h[1]=0):(h[0]=e[0]/o,h[1]=e[1]/o),h}function P(h,e){return Math.sqrt((h[0]-e[0])*(h[0]-e[0])+(h[1]-e[1])*(h[1]-e[1]))}var m=P;function g(h,e){return(h[0]-e[0])*(h[0]-e[0])+(h[1]-e[1])*(h[1]-e[1])}var f=g;function T(h,e){return h[0]=-e[0],h[1]=-e[1],h}function c(h,e,o,u){return h[0]=e[0]+u*(o[0]-e[0]),h[1]=e[1]+u*(o[1]-e[1]),h}function v(h,e,o){var u=e[0],s=e[1];return h[0]=o[0]*u+o[2]*s+o[4],h[1]=o[1]*u+o[3]*s+o[5],h}function _(h,e,o){return h[0]=Math.min(e[0],o[0]),h[1]=Math.min(e[1],o[1]),h}function i(h,e,o){return h[0]=Math.max(e[0],o[0]),h[1]=Math.max(e[1],o[1]),h}},84306:(jt,ht,l)=>{l.d(ht,{A:()=>F});var x=l(20572),Y=l(57918);const F=function(U){function W(){var G=null!==U&&U.apply(this,arguments)||this;return G.type="compound",G}return(0,x.C6)(W,U),W.prototype._updatePathDirty=function(){for(var G=this.shape.paths,w=this.shapeChanged(),R=0;R<G.length;R++)w=w||G[R].shapeChanged();w&&this.dirtyShape()},W.prototype.beforeBrush=function(){this._updatePathDirty();for(var G=this.shape.paths||[],w=this.getGlobalScale(),R=0;R<G.length;R++)G[R].path||G[R].createPathProxy(),G[R].path.setScale(w[0],w[1],G[R].segmentIgnoreThreshold)},W.prototype.buildPath=function(G,w){for(var R=w.paths||[],L=0;L<R.length;L++)R[L].buildPath(G,R[L].shape,!0)},W.prototype.afterBrush=function(){for(var G=this.shape.paths||[],w=0;w<G.length;w++)G[w].pathUpdated()},W.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Y.Ay.prototype.getBoundingRect.call(this)},W}(Y.Ay)},99860:(jt,ht,l)=>{l.d(ht,{Ay:()=>M,oN:()=>G,sW:()=>w});var x=l(20572),Y=l(63213),b=l(47799),F=l(68453),U=l(60672),W="__zr_style_"+Math.round(10*Math.random()),G={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},w={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};G[W]=!0;var R=["z","z2","invisible"],L=["invisible"],y=function(E){function P(m){return E.call(this,m)||this}return(0,x.C6)(P,E),P.prototype._init=function(m){for(var g=(0,F.keys)(m),f=0;f<g.length;f++){var T=g[f];"style"===T?this.useStyle(m[T]):E.prototype.attrKV.call(this,T,m[T])}this.style||this.useStyle({})},P.prototype.beforeBrush=function(){},P.prototype.afterBrush=function(){},P.prototype.innerBeforeBrush=function(){},P.prototype.innerAfterBrush=function(){},P.prototype.shouldBePainted=function(m,g,f,T){var c=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function S(E,P,m){return d.copy(E.getBoundingRect
1()),E.transform&&d.applyTransform(E.transform),A.width=P,A.height=m,!d.intersect(A)}(this,m,g)||c&&!c[0]&&!c[3])return!1;if(f&&this.__clipPaths)for(var v=0;v<this.__clipPaths.length;++v)if(this.__clipPaths[v].isZeroArea())return!1;if(T&&this.parent)for(var _=this.parent;_;){if(_.ignore)return!1;_=_.parent}return!0},P.prototype.contain=function(m,g){return this.rectContain(m,g)},P.prototype.traverse=function(m,g){m.call(g,this)},P.prototype.rectContain=function(m,g){var f=this.transformCoordToLocal(m,g);return this.getBoundingRect().contain(f[0],f[1])},P.prototype.getPaintRect=function(){var m=this._paintRect;if(!this._paintRect||this.__dirty){var g=this.transform,f=this.getBoundingRect(),T=this.style,c=T.shadowBlur||0,v=T.shadowOffsetX||0,_=T.shadowOffsetY||0;m=this._paintRect||(this._paintRect=new b.A(0,0,0,0)),g?b.A.applyTransform(m,f,g):m.copy(f),(c||v||_)&&(m.width+=2*c+Math.abs(v),m.height+=2*c+Math.abs(_),m.x=Math.min(m.x,m.x+v-c),m.y=Math.min(m.y,m.y+_-c));var i=this.dirtyRectTolerance;m.isZero()||(m.x=Math.floor(m.x-i),m.y=Math.floor(m.y-i),m.width=Math.ceil(m.width+1+2*i),m.height=Math.ceil(m.height+1+2*i))}return m},P.prototype.setPrevPaintRect=function(m){m?(this._prevPaintRect=this._prevPaintRect||new b.A(0,0,0,0),this._prevPaintRect.copy(m)):this._prevPaintRect=null},P.prototype.getPrevPaintRect=function(){return this._prevPaintRect},P.prototype.animateStyle=function(m){return this.animate("style",m)},P.prototype.updateDuringAnimation=function(m){"style"===m?this.dirtyStyle():this.markRedraw()},P.prototype.attrKV=function(m,g){"style"!==m?E.prototype.attrKV.call(this,m,g):this.style?this.setStyle(g):this.useStyle(g)},P.prototype.setStyle=function(m,g){return"string"==typeof m?this.style[m]=g:(0,F.extend)(this.style,m),this.dirtyStyle(),this},P.prototype.dirtyStyle=function(m){m||this.markRedraw(),this.__dirty|=U.pO,this._rect&&(this._rect=null)},P.prototype.dirty=function(){this.dirtyStyle()},P.prototype.styleChanged=function(){return!!(this.__dirty&U.pO)},P.prototype.styleUpdated=function(){this.__dirty&=~U.pO},P.prototype.createStyle=function(m){return(0,F.createObject)(G,m)},P.prototype.useStyle=function(m){m[W]||(m=this.createStyle(m)),this.__inHover?this.__hoverStyle=m:this.style=m,this.dirtyStyle()},P.prototype.isStyleObject=function(m){return m[W]},P.prototype._innerSaveToNormal=function(m){E.prototype._innerSaveToNormal.call(this,m);var g=this._normalState;m.style&&!g.style&&(g.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(m,g,R)},P.prototype._applyStateObj=function(m,g,f,T,c,v){E.prototype._applyStateObj.call(this,m,g,f,T,c,v);var i,_=!(g&&T);if(g&&g.style?c?T?i=g.style:(i=this._mergeStyle(this.createStyle(),f.style),this._mergeStyle(i,g.style)):(i=this._mergeStyle(this.createStyle(),T?this.style:f.style),this._mergeStyle(i,g.style)):_&&(i=f.style),i)if(c){var h=this.style;if(this.style=this.createStyle(_?{}:h),_)for(var e=(0,F.keys)(h),o=0;o<e.length;o++)(u=e[o])in i&&(i[u]=i[u],this.style[u]=h[u]);var s=(0,F.keys)(i);for(o=0;o<s.length;o++)this.style[u=s[o]]=this.style[u];this._transitionState(m,{style:i},v,this.getAnimationStyleProps())}else this.useStyle(i);var r=this.__inHover?L:R;for(o=0;o<r.length;o++){var u=r[o];g&&null!=g[u]?this[u]=g[u]:_&&null!=f[u]&&(this[u]=f[u])}},P.prototype._mergeStates=function(m){for(var f,g=E.prototype._mergeStates.call(this,m),T=0;T<m.length;T++){var c=m[T];c.style&&this._mergeStyle(f=f||{},c.style)}return f&&(g.style=f),g},P.prototype._mergeStyle=function(m,g){return(0,F.extend)(m,g),m},P.prototype.getAnimationStyleProps=function(){return w},P.initDefaultProps=((m=P.prototype).type="displayable",m.invisible=!1,m.z=0,m.z2=0,m.zlevel=0,m.culling=!1,m.cursor="pointer",m.rectHover=!1,m.incremental=!1,m._rect=null,m.dirtyRectTolerance=0,void(m.__dirty=U.M|U.pO)),P;var m}(Y.A),d=new b.A(0,0,0,0),A=new b.A(0,0,0,0);const M=y},78964:(jt,ht,l)=>{l.d(ht,{A:()=>Y});const Y=function(){function b(F){this.colorStops=F||[]}return b.prototype.addColorStop=function(F,U){this.colorStops.push({offset:F,color:U})},b}()},67469:(jt,ht,l)=>{l.d(ht,{A:()=>W});var x=l(20572),Y=l(68453),b=l(63213),F=l(47799),U=function(G){function w(R){var L=G.call(this)||this;return L.isGroup=!0,L._children=[],L.attr(R),L}return(0,x.C6)(w,G),w.prototype.childrenRef=function(){return this._children},w.prototype.children=function(){return this._children.slice()},w.prototype.childAt=function(R){return this._children[R]},w.prototype.childOfName=function(R){for(var L=this._children,y=0;y<L.length;y++)if(L[y].name===R)return L[y]},w.prototype.childCount=function(){return this._children.length},w.prototype.add=function(R){return R&&R!==this&&R.parent!==this&&(this._children.push(R),this._doAdd(R)),this},w.prototype.addBefore=function(R,L){if(R&&R!==this&&R.parent!==this&&L&&L.parent===this){var y=this._children,d=y.indexOf(L);d>=0&&(y.splice(d,0,R),this._doAdd(R))}return this},w.prototype.replace=function(R,L){var y=Y.indexOf(this._children,R);return y>=0&&this.replaceAt(L,y),this},w.prototype.replaceAt=function(R,L){var y=this._children,d=y[L];if(R&&R!==this&&R.parent!==this&&R!==d){y[L]=R,d.parent=null;var A=this.__zr;A&&d.removeSelfFromZr(A),this._doAdd(R)}return this},w.prototype._doAdd=function(R){R.parent&&R.parent.remove(R),R.parent=this;var L=this.__zr;L&&L!==R.__zr&&R.addSelfToZr(L),L&&L.refresh()},w.prototype.remove=function(R){var L=this.__zr,y=this._children,d=Y.indexOf(y,R);return d<0||(y.splice(d,1),R.parent=null,L&&R.removeSelfFromZr(L),L&&L.refresh()),this},w.prototype.removeAll=function(){for(var R=this._children,L=this.__zr,y=0;y<R.length;y++){var d=R[y];L&&d.removeSelfFromZr(L),d.parent=null}return R.length=0,this},w.prototype.eachChild=function(R,L){for(var y=this._children,d=0;d<y.length;d++)R.call(L,y[d],d);return this},w.prototype.traverse=function(R,L){for(var y=0;y<this._children.length;y++){var d=this._children[y],A=R.call(L,d);d.isGroup&&!A&&d.traverse(R,L)}return this},w.prototype.addSelfToZr=function(R){G.prototype.addSelfToZr.call(this,R);for(var L=0;L<this._children.length;L++)this._children[L].addSelfToZr(R)},w.prototype.removeSelfFromZr=function(R){G.prototype.removeSelfFromZr.call(this,R);for(var L=0;L<this._children.length;L++)this._children[L].removeSelfFromZr(R)},w.prototype.getBoundingRect=function(R){for(var L=new F.A(0,0,0,0),y=R||this._children,d=[],A=null,S=0;S<y.length;S++){var M=y[S];
1if(!M.ignore&&!M.invisible){var E=M.getBoundingRect(),P=M.getLocalTransform(d);P?(F.A.applyTransform(L,E,P),(A=A||L.clone()).union(L)):(A=A||E.clone()).union(E)}}return A||L},w}(b.A);U.prototype.type="group";const W=U},17799:(jt,ht,l)=>{l.d(ht,{Ay:()=>R});var x=l(20572),Y=l(99860),b=l(47799),F=l(68453),U=(0,F.defaults)({x:0,y:0},Y.oN),W={style:(0,F.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Y.sW.style)},w=function(L){function y(){return null!==L&&L.apply(this,arguments)||this}return(0,x.C6)(y,L),y.prototype.createStyle=function(d){return(0,F.createObject)(U,d)},y.prototype._getSize=function(d){var A=this.style,S=A[d];if(null!=S)return S;var M=function G(L){return!!(L&&"string"!=typeof L&&L.width&&L.height)}(A.image)?A.image:this.__image;if(!M)return 0;var E="width"===d?"height":"width",P=A[E];return null==P?M[d]:M[d]/M[E]*P},y.prototype.getWidth=function(){return this._getSize("width")},y.prototype.getHeight=function(){return this._getSize("height")},y.prototype.getAnimationStyleProps=function(){return W},y.prototype.getBoundingRect=function(){var d=this.style;return this._rect||(this._rect=new b.A(d.x||0,d.y||0,this.getWidth(),this.getHeight())),this._rect},y}(Y.Ay);w.prototype.type="image";const R=w},2966:(jt,ht,l)=>{l.d(ht,{A:()=>W});var x=l(20572),Y=l(99860),b=l(47799),F=[];const W=function(G){function w(){var R=null!==G&&G.apply(this,arguments)||this;return R.notClear=!0,R.incremental=!0,R._displayables=[],R._temporaryDisplayables=[],R._cursor=0,R}return(0,x.C6)(w,G),w.prototype.traverse=function(R,L){R.call(L,this)},w.prototype.useStyle=function(){this.style={}},w.prototype.getCursor=function(){return this._cursor},w.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},w.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},w.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},w.prototype.addDisplayable=function(R,L){L?this._temporaryDisplayables.push(R):this._displayables.push(R),this.markRedraw()},w.prototype.addDisplayables=function(R,L){L=L||!1;for(var y=0;y<R.length;y++)this.addDisplayable(R[y],L)},w.prototype.getDisplayables=function(){return this._displayables},w.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},w.prototype.eachPendingDisplayable=function(R){for(var L=this._cursor;L<this._displayables.length;L++)R&&R(this._displayables[L]);for(L=0;L<this._temporaryDisplayables.length;L++)R&&R(this._temporaryDisplayables[L])},w.prototype.update=function(){this.updateTransform();for(var R=this._cursor;R<this._displayables.length;R++)(L=this._displayables[R]).parent=this,L.update(),L.parent=null;for(R=0;R<this._temporaryDisplayables.length;R++){var L;(L=this._temporaryDisplayables[R]).parent=this,L.update(),L.parent=null}},w.prototype.getBoundingRect=function(){if(!this._rect){for(var R=new b.A(1/0,1/0,-1/0,-1/0),L=0;L<this._displayables.length;L++){var y=this._displayables[L],d=y.getBoundingRect().clone();y.needLocalTransform()&&d.applyTransform(y.getLocalTransform(F)),R.union(d)}this._rect=R}return this._rect},w.prototype.contain=function(R,L){var y=this.transformCoordToLocal(R,L);if(this.getBoundingRect().contain(y[0],y[1]))for(var A=0;A<this._displayables.length;A++)if(this._displayables[A].contain(R,L))return!0;return!1},w}(Y.Ay)},29613:(jt,ht,l)=>{l.d(ht,{A:()=>F});var x=l(20572);const F=function(U){function W(G,w,R,L,y,d){var A=U.call(this,y)||this;return A.x=G??0,A.y=w??0,A.x2=R??1,A.y2=L??0,A.type="linear",A.global=d||!1,A}return(0,x.C6)(W,U),W}(l(78964).A)},57918:(jt,ht,l)=>{l.d(ht,{MW:()=>s,Ay:()=>a});var x=l(20572),Y=l(99860),b=l(97240);function F(p,O,B,z,H,C,D){if(0===H)return!1;var I,N=H;if(D>O+N&&D>z+N||D<O-N&&D<z-N||C>p+N&&C>B+N||C<p-N&&C<B-N)return!1;if(p===B)return Math.abs(C-p)<=N/2;var k=(I=(O-z)/(p-B))*C-D+(p*z-B*O)/(p-B);return k*k/(I*I+1)<=N/2*N/2}var U=l(80138);function W(p,O,B,z,H,C,D,N,I,V,k){if(0===I)return!1;var $=I;return!(k>O+$&&k>z+$&&k>C+$&&k>N+$||k<O-$&&k<z-$&&k<C-$&&k<N-$||V>p+$&&V>B+$&&V>H+$&&V>D+$||V<p-$&&V<B-$&&V<H-$&&V<D-$)&&U.Et(p,O,B,z,H,C,D,N,V,k,null)<=$/2}function G(p,O,B,z,H,C,D,N,I){if(0===D)return!1;var V=D;return!(I>O+V&&I>z+V&&I>C+V||I<O-V&&I<z-V&&I<C-V||N>p+V&&N>B+V&&N>H+V||N<p-V&&N<B-V&&N<H-V)&&(0,U.kh)(p,O,B,z,H,C,N,I,null)<=V/2}var w=l(67308),R=2*Math.PI;function L(p,O,B,z,H,C,D,N,I){if(0===D)return!1;var V=D;N-=p,I-=O;var k=Math.sqrt(N*N+I*I);if(k-V>B||k+V<B)return!1;if(Math.abs(z-H)%R<1e-4)return!0;
1if(C){var $=z;z=(0,w.n)(H),H=(0,w.n)($)}else z=(0,w.n)(z),H=(0,w.n)(H);z>H&&(H+=R);var tt=Math.atan2(I,N);return tt<0&&(tt+=R),tt>=z&&tt<=H||tt+R>=z&&tt+R<=H}var y=l(46562),d=b.A.CMD,A=2*Math.PI,E=[-1,-1,-1],P=[-1,-1];function m(){var p=P[0];P[0]=P[1],P[1]=p}function g(p,O,B,z,H,C,D,N,I,V){if(V>O&&V>z&&V>C&&V>N||V<O&&V<z&&V<C&&V<N)return 0;var k=U._E(O,z,C,N,V,E);if(0===k)return 0;for(var $=0,tt=-1,ot=void 0,at=void 0,pt=0;pt<k;pt++){var Mt=E[pt],At=0===Mt||1===Mt?.5:1;U.Yb(p,B,H,D,Mt)<I||(tt<0&&(tt=U.lX(O,z,C,N,P),P[1]<P[0]&&tt>1&&m(),ot=U.Yb(O,z,C,N,P[0]),tt>1&&(at=U.Yb(O,z,C,N,P[1]))),$+=2===tt?Mt<P[0]?ot<O?At:-At:Mt<P[1]?at<ot?At:-At:N<at?At:-At:Mt<P[0]?ot<O?At:-At:N<ot?At:-At)}return $}function f(p,O,B,z,H,C,D,N){if(N>O&&N>z&&N>C||N<O&&N<z&&N<C)return 0;var I=U.qY(O,z,C,N,E);if(0===I)return 0;var V=U.gC(O,z,C);if(V>=0&&V<=1){for(var k=0,$=U.k3(O,z,C,V),tt=0;tt<I;tt++){var ot=0===E[tt]||1===E[tt]?.5:1;U.k3(p,B,H,E[tt])<D||(k+=E[tt]<V?$<O?ot:-ot:C<$?ot:-ot)}return k}return ot=0===E[0]||1===E[0]?.5:1,U.k3(p,B,H,E[0])<D?0:C<O?ot:-ot}function T(p,O,B,z,H,C,D,N){if((N-=O)>B||N<-B)return 0;var I=Math.sqrt(B*B-N*N);E[0]=-I,E[1]=I;var V=Math.abs(z-H);if(V<1e-4)return 0;if(V>=A-1e-4){z=0,H=A;var k=C?1:-1;return D>=E[0]+p&&D<=E[1]+p?k:0}if(z>H){var $=z;z=H,H=$}z<0&&(z+=A,H+=A);for(var tt=0,ot=0;ot<2;ot++){var at=E[ot];if(at+p>D){var pt=Math.atan2(N,at);k=C?1:-1,pt<0&&(pt=A+pt),(pt>=z&&pt<=H||pt+A>=z&&pt+A<=H)&&(pt>Math.PI/2&&pt<1.5*Math.PI&&(k=-k),tt+=k)}}return tt}function c(p,O,B,z,H){for(var tt,ot,C=p.data,D=p.len(),N=0,I=0,V=0,k=0,$=0,at=0;at<D;){var pt=C[at++],Mt=1===at;switch(pt===d.M&&at>1&&(B||(N+=(0,y.A)(I,V,k,$,z,H))),Mt&&(k=I=C[at],$=V=C[at+1]),pt){case d.M:I=k=C[at++],V=$=C[at++];break;case d.L:if(B){if(F(I,V,C[at],C[at+1],O,z,H))return!0}else N+=(0,y.A)(I,V,C[at],C[at+1],z,H)||0;I=C[at++],V=C[at++];break;case d.C:if(B){if(W(I,V,C[at++],C[at++],C[at++],C[at++],C[at],C[at+1],O,z,H))return!0}else N+=g(I,V,C[at++],C[at++],C[at++],C[at++],C[at],C[at+1],z,H)||0;I=C[at++],V=C[at++];break;case d.Q:if(B){if(G(I,V,C[at++],C[at++],C[at],C[at+1],O,z,H))return!0}else N+=f(I,V,C[at++],C[at++],C[at],C[at+1],z,H)||0;I=C[at++],V=C[at++];break;case d.A:var At=C[at++],Kt=C[at++],qt=C[at++],le=C[at++],vt=C[at++],dt=C[at++];at+=1;var it=!!(1-C[at++]);tt=Math.cos(vt)*qt+At,ot=Math.sin(vt)*le+Kt,Mt?(k=tt,$=ot):N+=(0,y.A)(I,V,tt,ot,z,H);var lt=(z-At)*le/qt+At;if(B){if(L(At,Kt,le,vt,vt+dt,it,O,lt,H))return!0}else N+=T(At,Kt,le,vt,vt+dt,it,lt,H);I=Math.cos(vt+dt)*qt+At,V=Math.sin(vt+dt)*le+Kt;break;case d.R:if(k=I=C[at++],$=V=C[at++],tt=k+C[at++],ot=$+C[at++],B){if(F(k,$,tt,$,O,z,H)||F(tt,$,tt,ot,O,z,H)||F(tt,ot,k,ot,O,z,H)||F(k,ot,k,$,O,z,H))return!0}else N+=(0,y.A)(tt,$,tt,ot,z,H),N+=(0,y.A)(k,ot,k,$,z,H);break;case d.Z:if(B){if(F(I,V,k,$,O,z,H))return!0}else N+=(0,y.A)(I,V,k,$,z,H);I=k,V=$}}return!B&&!function M(p,O){return Math.abs(p-O)<1e-4}(V,$)&&(N+=(0,y.A)(I,V,k,$,z,H)||0),0!==N}var i=l(68453),h=l(3235),e=l(89859),o=l(60672),u=l(58749),s=(0,i.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Y.oN),r={style:(0,i.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Y.sW.style)},n=u.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);const a=function(p){function O(B){return p.call(this,B)||this}return(0,x.C6)(O,p),O.prototype.update=function(){var B=this;p.prototype.update.call(this);var z=this.style;if(z.decal){var H=this._decalEl=this._decalEl||new O;H.buildPath===O.prototype.buildPath&&(H.buildPath=function(I){B.buildPath(I,B.shape)}),H.silent=!0;var C=H.style;for(var D in z)C[D]!==z[D]&&(C[D]=z[D]);C.fill=z.fill?z.decal:null,C.decal=null,C.shadowColor=null,z.strokeFirst&&(C.stroke=null);for(var N=0;N<n.length;++N)H[n[N]]=this[n[N]];H.__dirty|=o.M}else this._decalEl&&(this._decalEl=null)},O.prototype.getDecalElement=function(){return this._decalEl},O.prototype._init=function(B){var z=(0,i.keys)(B);this.shape=this.getDefaultShape();var H=this.getDefaultStyle();H&&this.useStyle(H);for(var C=0;C<z.length;C++){var D=z[C],N=B[D];"style"===D?this.style?(0,i.extend)(this.style,N):this.useStyle(N):"shape"===D?(0,i.extend)(this.shape,N):p.prototype.attrKV.call(this,D,N)}this.style||this.useStyle({})},O.prototype.getDefaultStyle=function(){return null},O.prototype.getDefaultShape=function(){return{}},O.prototype.canBeInsideText=function(){return this.hasFill()},O.prototype.getInsideTextFill=function(){var B=this.style.fill;
1if("none"!==B){if((0,i.isString)(B)){var z=(0,h.lum)(B,0);return z>.5?e._S:z>.2?e.tY:e.el}if(B)return e.el}return e._S},O.prototype.getInsideTextStroke=function(B){var z=this.style.fill;if((0,i.isString)(z)){var H=this.__zr;if(!(!H||!H.isDarkMode())==(0,h.lum)(B,0)<e.ps)return z}},O.prototype.buildPath=function(B,z,H){},O.prototype.pathUpdated=function(){this.__dirty&=~o.Dl},O.prototype.getUpdatedPathProxy=function(B){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,B),this.path},O.prototype.createPathProxy=function(){this.path=new b.A(!1)},O.prototype.hasStroke=function(){var B=this.style,z=B.stroke;return!(null==z||"none"===z||!(B.lineWidth>0))},O.prototype.hasFill=function(){var z=this.style.fill;return null!=z&&"none"!==z},O.prototype.getBoundingRect=function(){var B=this._rect,z=this.style,H=!B;if(H){var C=!1;this.path||(C=!0,this.createPathProxy());var D=this.path;(C||this.__dirty&o.Dl)&&(D.beginPath(),this.buildPath(D,this.shape,!1),this.pathUpdated()),B=D.getBoundingRect()}if(this._rect=B,this.hasStroke()&&this.path&&this.path.len()>0){var N=this._rectStroke||(this._rectStroke=B.clone());if(this.__dirty||H){N.copy(B);var I=z.strokeNoScale?this.getLineScale():1,V=z.lineWidth;this.hasFill()||(V=Math.max(V,this.strokeContainThreshold??4)),I>1e-10&&(N.width+=V/I,N.height+=V/I,N.x-=V/I/2,N.y-=V/I/2)}return N}return B},O.prototype.contain=function(B,z){var H=this.transformCoordToLocal(B,z),C=this.getBoundingRect(),D=this.style;if(C.contain(B=H[0],z=H[1])){var N=this.path;if(this.hasStroke()){var I=D.lineWidth,V=D.strokeNoScale?this.getLineScale():1;if(V>1e-10&&(this.hasFill()||(I=Math.max(I,this.strokeContainThreshold)),function _(p,O,B,z){return c(p,O,!0,B,z)}(N,I/V,B,z)))return!0}if(this.hasFill())return function v(p,O,B){return c(p,0,!1,O,B)}(N,B,z)}return!1},O.prototype.dirtyShape=function(){this.__dirty|=o.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},O.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},O.prototype.animateShape=function(B){return this.animate("shape",B)},O.prototype.updateDuringAnimation=function(B){"style"===B?this.dirtyStyle():"shape"===B?this.dirtyShape():this.markRedraw()},O.prototype.attrKV=function(B,z){"shape"===B?this.setShape(z):p.prototype.attrKV.call(this,B,z)},O.prototype.setShape=function(B,z){var H=this.shape;return H||(H=this.shape={}),"string"==typeof B?H[B]=z:(0,i.extend)(H,B),this.dirtyShape(),this},O.prototype.shapeChanged=function(){return!!(this.__dirty&o.Dl)},O.prototype.createStyle=function(B){return(0,i.createObject)(s,B)},O.prototype._innerSaveToNormal=function(B){p.prototype._innerSaveToNormal.call(this,B);var z=this._normalState;B.shape&&!z.shape&&(z.shape=(0,i.extend)({},this.shape))},O.prototype._applyStateObj=function(B,z,H,C,D,N){p.prototype._applyStateObj.call(this,B,z,H,C,D,N);var V,I=!(z&&C);if(z&&z.shape?D?C?V=z.shape:(V=(0,i.extend)({},H.shape),(0,i.extend)(V,z.shape)):(V=(0,i.extend)({},C?this.shape:H.shape),(0,i.extend)(V,z.shape)):I&&(V=H.shape),V)if(D){this.shape=(0,i.extend)({},this.shape);for(var k={},$=(0,i.keys)(V),tt=0;tt<$.length;tt++){var ot=$[tt];"object"==typeof V[ot]?this.shape[ot]=V[ot]:k[ot]=V[ot]}this._transitionState(B,{shape:k},N)}else this.shape=V,this.dirtyShape()},O.prototype._mergeStates=function(B){for(var H,z=p.prototype._mergeStates.call(this,B),C=0;C<B.length;C++){var D=B[C];D.shape&&this._mergeStyle(H=H||{},D.shape)}return H&&(z.shape=H),z},O.prototype.getAnimationStyleProps=function(){return r},O.prototype.isZeroArea=function(){return!1},O.extend=function(B){var z=function(C){function D(N){var I=C.call(this,N)||this;return B.init&&B.init.call(I,N),I}return(0,x.C6)(D,C),D.prototype.getDefaultStyle=function(){return(0,i.clone)(B.style)},D.prototype.getDefaultShape=function(){return(0,i.clone)(B.shape)},D}(O);for(var H in B)"function"==typeof B[H]&&(z.prototype[H]=B[H]);return z},O.initDefaultProps=((B=O.prototype).type="path",B.strokeContainThreshold=5,B.segmentIgnoreThreshold=0,B.subPixelOptimize=!1,B.autoBatch=!1,void(B.__dirty=o.M|o.pO|o.Dl)),O;var B}(Y.Ay)},98063:(jt,ht,l)=>{l.d(ht,{A:()=>F});var x=l(20572);const F=function(U){function W(G,w,R,L,y){var d=U.call(this,L)||this;return d.x=G??.5,d.y=w??.5,d.r=R??.5,d.type="radial",d.global=y||!1,d}return(0,x.C6)(W,U),W}(l(78964).A)},12978:(jt,ht,l)=>{l.d(ht,{A:()=>R});var x=l(20572),Y=l(99860),b=l(33907),F=l(57918),U=l(68453),W=l(3094),G=(0,U.defaults)({strokeFirst:!0,font:W.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},F.MW),w=function(L){function y(){return null!==L&&L.apply(this,arguments)||this}return(0,x.C6)(y,L),y.prototype.hasStroke=function(){var d=this.style,A=d.stroke;
1return null!=A&&"none"!==A&&d.lineWidth>0},y.prototype.hasFill=function(){var A=this.style.fill;return null!=A&&"none"!==A},y.prototype.createStyle=function(d){return(0,U.createObject)(G,d)},y.prototype.setBoundingRect=function(d){this._rect=d},y.prototype.getBoundingRect=function(){var d=this.style;if(!this._rect){var A=d.text;null!=A?A+="":A="";var S=(0,b.NO)(A,d.font,d.textAlign,d.textBaseline);if(S.x+=d.x||0,S.y+=d.y||0,this.hasStroke()){var M=d.lineWidth;S.x-=M/2,S.y-=M/2,S.width+=M,S.height+=M}this._rect=S}return this._rect},y.initDefaultProps=void(y.prototype.dirtyRectTolerance=10),y}(Y.Ay);w.prototype.type="tspan";const R=w},81523:(jt,ht,l)=>{l.d(ht,{Ay:()=>o,I5:()=>m,XE:()=>f});var x=l(20572),Y=l(21407),b=l(12978),F=l(68453),U=l(33907),W=l(17799),G=l(16609),w=l(47799),R=l(99860),L=l(3094),y={fill:"#000"},A={style:(0,F.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},R.sW.style)},S=function(u){function s(r){var n=u.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=y,n.attr(r),n}return(0,x.C6)(s,u),s.prototype.childrenRef=function(){return this._children},s.prototype.update=function(){u.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},s.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):u.prototype.updateTransform.call(this)},s.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):u.prototype.getLocalTransform.call(this,r)},s.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),u.prototype.getComputedTransform.call(this)},s.prototype._updateSubTexts=function(){this._childCursor=0,function T(u){c(u),(0,F.each)(u.rich,c)}(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},s.prototype.addSelfToZr=function(r){u.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},s.prototype.removeSelfFromZr=function(r){u.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},s.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new w.A(0,0,0,0),n=this._children,t=[],a=null,p=0;p<n.length;p++){var O=n[p],B=O.getBoundingRect(),z=O.getLocalTransform(t);z?(r.copy(B),r.applyTransform(z),(a=a||r.clone()).union(r)):(a=a||B.clone()).union(B)}this._rect=a||r}return this._rect},s.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||y},s.prototype.setTextContent=function(r){},s.prototype._mergeStyle=function(r,n){if(!n)return r;var t=n.rich,a=r.rich||t&&{};return(0,F.extend)(r,n),t&&a?(this._mergeRich(a,t),r.rich=a):a&&(r.rich=a),r},s.prototype._mergeRich=function(r,n){for(var t=(0,F.keys)(n),a=0;a<t.length;a++){var p=t[a];r[p]=r[p]||{},(0,F.extend)(r[p],n[p])}},s.prototype.getAnimationStyleProps=function(){return A},s.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},s.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||L.OH,t=r.padding,a=h(r),p=(0,Y.j_)(a,r),O=e(r),B=!!r.backgroundColor,z=p.outerHeight,H=p.outerWidth,C=p.contentWidth,D=p.lines,N=p.lineHeight,I=this._defaultStyle;this.isTruncated=!!p.isTruncated;var V=r.x||0,k=r.y||0,$=r.align||I.align||"left",tt=r.verticalAlign||I.verticalAlign||"top",ot=V,at=(0,U.sZ)(k,p.contentHeight,tt);if(O||t){var pt=(0,U.ll)(V,H,$),Mt=(0,U.sZ)(k,z,tt);
1O&&this._renderBackground(r,r,pt,Mt,H,z)}at+=N/2,t&&(ot=i(V,$,t),"top"===tt?at+=t[0]:"bottom"===tt&&(at-=t[2]));for(var At=0,Kt=!1,qt=(_("fill"in r?r.fill:(Kt=!0,I.fill))),le=(v("stroke"in r?r.stroke:B||I.autoStroke&&!Kt?null:(At=2,I.stroke))),vt=r.textShadowBlur>0,dt=null!=r.width&&("truncate"===r.overflow||"break"===r.overflow||"breakAll"===r.overflow),it=p.calculatedLineHeight,lt=0;lt<D.length;lt++){var bt=this._getOrCreateChild(b.A),Ut=bt.createStyle();bt.useStyle(Ut),Ut.text=D[lt],Ut.x=ot,Ut.y=at,$&&(Ut.textAlign=$),Ut.textBaseline="middle",Ut.opacity=r.opacity,Ut.strokeFirst=!0,vt&&(Ut.shadowBlur=r.textShadowBlur||0,Ut.shadowColor=r.textShadowColor||"transparent",Ut.shadowOffsetX=r.textShadowOffsetX||0,Ut.shadowOffsetY=r.textShadowOffsetY||0),Ut.stroke=le,Ut.fill=qt,le&&(Ut.lineWidth=r.lineWidth||At,Ut.lineDash=r.lineDash,Ut.lineDashOffset=r.lineDashOffset||0),Ut.font=n,g(Ut,r),at+=N,dt&&bt.setBoundingRect(new w.A((0,U.ll)(Ut.x,C,Ut.textAlign),(0,U.sZ)(Ut.y,it,Ut.textBaseline),C,it))}},s.prototype._updateRichTexts=function(){var r=this.style,n=h(r),t=(0,Y.FQ)(n,r),a=t.width,p=t.outerWidth,O=t.outerHeight,B=r.padding,z=r.x||0,H=r.y||0,C=this._defaultStyle,D=r.align||C.align,N=r.verticalAlign||C.verticalAlign;this.isTruncated=!!t.isTruncated;var I=(0,U.ll)(z,p,D),V=(0,U.sZ)(H,O,N),k=I,$=V;B&&(k+=B[3],$+=B[0]);var tt=k+a;e(r)&&this._renderBackground(r,r,I,V,p,O);for(var ot=!!r.backgroundColor,at=0;at<t.lines.length;at++){for(var pt=t.lines[at],Mt=pt.tokens,At=Mt.length,Kt=pt.lineHeight,qt=pt.width,le=0,vt=k,dt=tt,it=At-1,lt=void 0;le<At&&(!(lt=Mt[le]).align||"left"===lt.align);)this._placeToken(lt,r,Kt,$,vt,"left",ot),qt-=lt.width,vt+=lt.width,le++;for(;it>=0&&"right"===(lt=Mt[it]).align;)this._placeToken(lt,r,Kt,$,dt,"right",ot),qt-=lt.width,dt-=lt.width,it--;for(vt+=(a-(vt-k)-(tt-dt)-qt)/2;le<=it;)this._placeToken(lt=Mt[le],r,Kt,$,vt+lt.width/2,"center",ot),vt+=lt.width,le++;$+=Kt}},s.prototype._placeToken=function(r,n,t,a,p,O,B){var z=n.rich[r.styleName]||{};z.text=r.text;var H=r.verticalAlign,C=a+t/2;"top"===H?C=a+r.height/2:"bottom"===H&&(C=a+t-r.height/2),!r.isLineHolder&&e(z)&&this._renderBackground(z,n,"right"===O?p-r.width:"center"===O?p-r.width/2:p,C-r.height/2,r.width,r.height);var N=!!z.backgroundColor,I=r.textPadding;I&&(p=i(p,O,I),C-=r.height/2-I[0]-r.innerHeight/2);var V=this._getOrCreateChild(b.A),k=V.createStyle();V.useStyle(k);var $=this._defaultStyle,tt=!1,ot=0,at=_("fill"in z?z.fill:"fill"in n?n.fill:(tt=!0,$.fill)),pt=v("stroke"in z?z.stroke:"stroke"in n?n.stroke:N||B||$.autoStroke&&!tt?null:(ot=2,$.stroke)),Mt=z.textShadowBlur>0||n.textShadowBlur>0;k.text=r.text,k.x=p,k.y=C,Mt&&(k.shadowBlur=z.textShadowBlur||n.textShadowBlur||0,k.shadowColor=z.textShadowColor||n.textShadowColor||"transparent",k.shadowOffsetX=z.textShadowOffsetX||n.textShadowOffsetX||0,k.shadowOffsetY=z.textShadowOffsetY||n.textShadowOffsetY||0),k.textAlign=O,k.textBaseline="middle",k.font=r.font||L.OH,k.opacity=(0,F.retrieve3)(z.opacity,n.opacity,1),g(k,z),pt&&(k.lineWidth=(0,F.retrieve3)(z.lineWidth,n.lineWidth,ot),k.lineDash=(0,F.retrieve2)(z.lineDash,n.lineDash),k.lineDashOffset=n.lineDashOffset||0,k.stroke=pt),at&&(k.fill=at);var At=r.contentWidth,Kt=r.contentHeight;V.setBoundingRect(new w.A((0,U.ll)(k.x,At,k.textAlign),(0,U.sZ)(k.y,Kt,k.textBaseline),At,Kt))},s.prototype._renderBackground=function(r,n,t,a,p,O){var V,k,tt,B=r.backgroundColor,z=r.borderWidth,H=r.borderColor,C=B&&B.image,D=B&&!C,N=r.borderRadius,I=this;if(D||r.lineHeight||z&&H){(V=this._getOrCreateChild(G.A)).useStyle(V.createStyle()),V.style.fill=null;var $=V.shape;$.x=t,$.y=a,$.width=p,$.height=O,$.r=N,V.dirtyShape()}if(D)(tt=V.style).fill=B||null,tt.fillOpacity=(0,F.retrieve2)(r.fillOpacity,1);else if(C){(k=this._getOrCreateChild(W.Ay)).onload=function(){I.dirtyStyle()};var ot=k.style;ot.image=B.image,ot.x=t,ot.y=a,ot.width=p,ot.height=O}z&&H&&((tt=V.style).lineWidth=z,tt.stroke=H,tt.strokeOpacity=(0,F.retrieve2)(r.strokeOpacity,1),tt.lineDash=r.borderDash,tt.lineDashOffset=r.borderDashOffset||0,V.strokeContainThreshold=0,V.hasFill()&&V.hasStroke()&&(tt.strokeFirst=!0,tt.lineWidth*=2));var at=(V||k).style;at.shadowBlur=r.shadowBlur||0,at.shadowColor=r.shadowColor||"transparent",at.shadowOffsetX=r.shadowOffsetX||0,at.shadowOffsetY=r.shadowOffsetY||0,at.o
1pacity=(0,F.retrieve3)(r.opacity,n.opacity,1)},s.makeFont=function(r){var n="";return f(r)&&(n=[r.fontStyle,r.fontWeight,m(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&(0,F.trim)(n)||r.textFont||r.font},s}(R.Ay),M={left:!0,right:1,center:1},E={top:1,bottom:1,middle:1},P=["fontStyle","fontWeight","fontSize","fontFamily"];function m(u){return"string"!=typeof u||-1===u.indexOf("px")&&-1===u.indexOf("rem")&&-1===u.indexOf("em")?isNaN(+u)?L.gI+"px":u+"px":u}function g(u,s){for(var r=0;r<P.length;r++){var n=P[r],t=s[n];null!=t&&(u[n]=t)}}function f(u){return null!=u.fontSize||u.fontFamily||u.fontWeight}function c(u){if(u){u.font=S.makeFont(u);var s=u.align;"middle"===s&&(s="center"),u.align=null==s||M[s]?s:"left";var r=u.verticalAlign;"center"===r&&(r="middle"),u.verticalAlign=null==r||E[r]?r:"top",u.padding&&(u.padding=(0,F.normalizeCssArray)(u.padding))}}function v(u,s){return null==u||s<=0||"transparent"===u||"none"===u?null:u.image||u.colorStops?"#000":u}function _(u){return null==u||"none"===u?null:u.image||u.colorStops?"#000":u}function i(u,s,r){return"right"===s?u-r[1]:"center"===s?u+r[3]/2-r[1]/2:u+r[3]}function h(u){var s=u.text;return null!=s&&(s+=""),s}function e(u){return!!(u.backgroundColor||u.lineHeight||u.borderWidth&&u.borderColor)}const o=S},60672:(jt,ht,l)=>{l.d(ht,{Dl:()=>b,M:()=>x,pO:()=>Y});var x=1,Y=2,b=4},11758:(jt,ht,l)=>{l.d(ht,{OD:()=>U,SR:()=>F,xA:()=>G});var x=l(19896),Y=l(3094),b=new x.Ay(50);function F(w){if("string"==typeof w){var R=b.get(w);return R&&R.image}return w}function U(w,R,L,y,d){if(w){if("string"==typeof w){if(R&&R.__zrImageSrc===w||!L)return R;var A=b.get(w),S={hostEl:L,cb:y,cbPayload:d};return A?!G(R=A.image)&&A.pending.push(S):((R=Y.yh.loadImage(w,W,W)).__zrImageSrc=w,b.put(w,R.__cachedImgObj={image:R,pending:[S]})),R}return w}return R}function W(){var w=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var R=0;R<w.pending.length;R++){var L=w.pending[R],y=L.cb;y&&y(this,L.cbPayload),L.hostEl.dirty()}w.pending.length=0}function G(w){return w&&w.width&&w.height}},21407:(jt,ht,l)=>{l.d(ht,{EJ:()=>U,FQ:()=>S,j_:()=>L});var x=l(11758),Y=l(68453),b=l(33907),F=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function U(f,T,c,v,_){var i={};return W(i,f,T,c,v,_),i.text}function W(f,T,c,v,_,i){if(!c)return f.text="",void(f.isTruncated=!1);var h=(T+"").split("\n");i=G(c,v,_,i);for(var e=!1,o={},u=0,s=h.length;u<s;u++)w(o,h[u],i),h[u]=o.textLine,e=e||o.isTruncated;f.text=h.join("\n"),f.isTruncated=e}function G(f,T,c,v){var _=(0,Y.extend)({},v=v||{});_.font=T,c=(0,Y.retrieve2)(c,"..."),_.maxIterations=(0,Y.retrieve2)(v.maxIterations,2);var i=_.minChar=(0,Y.retrieve2)(v.minChar,0);_.cnCharWidth=(0,b.RG)("\u56fd",T);var h=_.ascCharWidth=(0,b.RG)("a",T);_.placeholder=(0,Y.retrieve2)(v.placeholder,"");for(var e=f=Math.max(0,f-1),o=0;o<i&&e>=h;o++)e-=h;var u=(0,b.RG)(c,T);return u>e&&(c="",u=0),e=f-u,_.ellipsis=c,_.ellipsisWidth=u,_.contentWidth=e,_.containerWidth=f,_}function w(f,T,c){var v=c.containerWidth,_=c.font,i=c.contentWidth;if(!v)return f.textLine="",void(f.isTruncated=!1);var h=(0,b.RG)(T,_);if(h<=v)return f.textLine=T,void(f.isTruncated=!1);for(var e=0;;e++){if(h<=i||e>=c.maxIterations){T+=c.ellipsis;break}var o=0===e?R(T,i,c.ascCharWidth,c.cnCharWidth):h>0?Math.floor(T.length*i/h):0;T=T.substr(0,o),h=(0,b.RG)(T,_)}""===T&&(T=c.placeholder),f.textLine=T,f.isTruncated=!0}function R(f,T,c,v){for(var _=0,i=0,h=f.length;i<h&&_<T;i++){var e=f.charCodeAt(i);_+=0<=e&&e<=127?c:v}return i}function L(f,T){null!=f&&(f+="");var n,c=T.overflow,v=T.padding,_=T.font,i="truncate"===c,h=(0,b.ks)(_),e=(0,Y.retrieve2)(T.lineHeight,h),o=!!T.backgroundColor,u="truncate"===T.lineOverflow,s=!1,r=T.width,t=(n=null==r||"break"!==c&&"breakAll"!==c?f?f.split("\n"):[]:f?g(f,T.font,r,"breakAll"===c,0).lines:[]).length*e,a=(0,Y.retrieve2)(T.height,t);if(t>a&&u){var p=Math.floor(a/e);s=s||n.length>p,n=n.slice(0,p)}if(f&&i&&null!=r)for(var O=G(r,_,T.ellipsis,{minChar:T.truncateMinChar,placeholder:T.placeholder}),B={},z=0;z<n.length;z++)w(B,n[z],O),n[z]=B.textLine,s=s||B.isTruncated;var H=a,C=0;for(z=0;z<n.length;z++)C=Math.max((0,b.RG)(n[z],_),C);null==r&&(r=C);var D=C;return v&&(H+=v[0]+v[2],D+=v[1]+v[3],r+=v[1]+v[3]),o&&(D=r),{lines:n,height:a,outerWidth:D,outerHeight:H,lineHeight:e,calculatedLineHeight:h,contentWidth:C,contentHeight:t,width:r,isTruncated:s}}var y=function(){return function f(){}}(),d=function(){return function f(T){this.tokens=[],T&&(this.tokens=T)}}(),A=function(){return function f(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}}();function S(f,T){var c=new A;if(null!=f&&(f+=""),!f)return c;for(var o,v=T.width,_=T.height,i=T.overflow,h="break"!==i&&"breakAll"!==i||null==v?null:{width:v,accumWidth:0,breakAll:"breakAll"===i},e=F.lastIndex=0;null!=(o=F.exec(f));){var u=o.index;u>e&&M(c,f.substring(e,u),T,h),M(c,o[2],T,h,o[1]),e=F.lastIndex}e<f.length&&M(c,f.substring(e,f.length),T,h);var s=[],r=0,n=0,t=T.padding,a="truncate"===i,p="truncate"===T.lineOverflow,O={};function B(vt,dt,it){vt.width=dt,vt.lineHeight=it,r+=it,n=Math.max(n,dt)}t:for(var z=0;z<c.lines.length;z++){for(var H=c.lines[z],C=0,D=0,N=0;N<H.tokens.length;N++){var V=(I=H.tokens[N]).styleName&&T.rich[I.styleName]||{},k=I.textPadding=V.padding,$=k?k[1]+k[3]:0,tt=I.font=V.font||T.font;I.contentHeight=(0,b.ks)(tt);var ot=(0,Y.retrieve2)(V.height,I.contentHeight);if(I.innerHeight=ot,k&&(ot+=k[0]+k[2]),I.height=ot,I.lineHeight=(0,Y.retrieve3)(V.lineHeight,T.lineHeight,ot),I.align=V&&V.align||T.align,I.verticalAlign=V&&V.verticalAlign||"middle",p&&null!=_&&r+I.lineHeight>_){var at=c.lines.length;N>0?(H.tokens=H.tokens.slice(0,N),B(H,D,C),c.lines=c.lines.slice(0,z+1)):c.lines=c.lines.slice(0,z),c.isTruncated=c.isTruncated||c.lines.length<at;break t}var pt=V.width,Mt=null==pt||"auto"===pt;if("string"==typeof pt&&"%"===pt.charAt(pt.length-1))I.percentWidth=pt,s.push(I),I.contentWidth=(0,b.RG)(I.text,tt);else{if(Mt){var At=V.backgroundColor,Kt=At&&At.image;Kt&&(Kt=x.SR(Kt),x.xA(Kt)&&(I.width=Math.max(I.width,Kt.width*ot/Kt.height)))}var qt=a&&null!=v?v-D:null;null!=qt&&qt<I.width?!Mt||qt<$?(I.text="",I.width=I.contentWidth=0):(W(O,I.text,qt-$,tt,T.ellipsis,{minChar:T.truncateMinChar}),I.text=O.text,c.isTruncated=c.isTruncated||O.isTruncated,I.width=I.contentWidth=(0,b.RG)(I.text,tt)):I.contentWidth=(0,b.RG)(I.text,tt)}I.width+=$,D+=I.width,V&&(C=Math.max(C,I.lineHeight))}B(H,D,C)}for(c.outerWidth=c.width=(0,Y.retrieve2)(v,n),c.outerHeight=c.height=(0,Y.retrieve2)(_,r),c.contentHeight=r,c.contentWidth=n,t&&(c.outerWidth+=t[1]+t[3],c.outerHeight+=t[0]+t[2]),z=0;z<s.length;z++){var I;(I=s[z]).width=parseInt(I.percentWidth,10)/100*c.width}return c}function M(f,T,c,v,_){var s,r,i=""===T,h=_&&c.rich[_]||{},e=f.lines,o=h.font||c.font,u=!1;if(v){var n=h.padding,t=n?n[1]+n[3]:0;if(null!=h.width&&"auto"!==h.width){var a=(0,b.lo)(h.width,v.width)+t;e.length>0&&a+v.accumWidth>v.width&&(s=T.split("\n"),u=!0),v.accumWidth=a}else{var p=g(T,o,v.width,v.breakAll,v.accumWidth);v.accumWidth=p.accumWidth+t,r=p.linesWidths,s=p.lines}}else s=T.split("\n");for(var O=0;O<s.length;O++){var B=s[O],z=new y;if(z.styleName=_,z.text=B,z.isLineHolder=!B&&!i,z.width="number"==typeof h.width?h.width:r?r[O]:(0,b.RG)(B,o),O||u)e.push(new d([z]));else{var H=(e[e.length-1]||(e[0]=new d)).tokens,C=H.length;1===C&&H[0].isLineHolder?H[0]=z:(B||!C||i)&&H.push(z)}}}var P=(0,Y.reduce)(",&?/;] ".split(""),function(f,T){return f[T]=!0,f},{});function m(f){return!function E(f){var T=f.charCodeAt(0);return T>=32&&T<=591||T>=880&&T<=4351||T>=4608&&T<=5119||T>=7680&&T<=8303}(f)||!!P[f]}function g(f,T,c,v,_){for(var i=[],h=[],e="",o="",u=0,s=0,r=0;r<f.length;r++){var n=f.charAt(r);if("\n"!==n){var t=(0,b.RG)(n,T),a=!v&&!m(n);(i.length?s+t>c:_+s+t>c)?s?(e||o)&&(a?(e||(e=o,o="",s=u=0),i.push(e),h.push(s-u),o+=n,e="",s=u+=t):(o&&(e+=o,o="",u=0),i.push(e),h.push(s),e=n,s=t)):a?(i.push(o),h.push(u),o=n,u=t):(i.push(n),h.push(t)):(s+=t,a?(o+=n,u+=t):(o&&(e+=o,o="",u=0),e+=n))}else o&&(e+=o,s+=u),i.push(e),h.push(s),e="",o="",u=0,s=0}return!i.length&&!e&&(e=f,o="",u=0),o&&(e+=o),e&&(i.push(e),h.push(s)),1===i.length&&(s+=_),{accumWidth:s,lines:i,linesWidths:h}}},8499:(jt,ht,l)=>{l.d(ht,{U:()=>b});var x=l(48550);function b(F,U,W){var G=U.smooth,w=U.points;if(w&&w.length>=2){if(G){var R=function Y(F,U,W,G){var d,A,S,M,w=[],R=[],L=[],y=[];if(G){S=[1/0,1/0],M=[-1/0,-1/0];for(var E=0,P=F.length;E<P;E++)(0,x.min)(S,S,F[E]),(0,x.max)(M,M,F[E]);(0,x.min)(S,S,G[0]),(0,x.max)(M,M,G[1])}for(E=0,P=F.length;E<P;E++){var m=F[E];if(W)d=F[E?E-1:P-1],A=F[(E+1)%P];
1else{if(0===E||E===P-1){w.push((0,x.clone)(F[E]));continue}d=F[E-1],A=F[E+1]}(0,x.sub)(R,A,d),(0,x.scale)(R,R,U);var g=(0,x.distance)(m,d),f=(0,x.distance)(m,A),T=g+f;0!==T&&(g/=T,f/=T),(0,x.scale)(L,R,-g),(0,x.scale)(y,R,f);var c=(0,x.add)([],m,L),v=(0,x.add)([],m,y);G&&((0,x.max)(c,c,S),(0,x.min)(c,c,M),(0,x.max)(v,v,S),(0,x.min)(v,v,M)),w.push(c),w.push(v)}return W&&w.push(w.shift()),w}(w,G,W,U.smoothConstraint);F.moveTo(w[0][0],w[0][1]);for(var L=w.length,y=0;y<(W?L:L-1);y++){var d=R[2*y],A=R[2*y+1],S=w[(y+1)%L];F.bezierCurveTo(d[0],d[1],A[0],A[1],S[0],S[1])}}else{F.moveTo(w[0][0],w[0][1]),y=1;for(var M=w.length;y<M;y++)F.lineTo(w[y][0],w[y][1])}W&&F.closePath()}}},64014:(jt,ht,l)=>{l.d(ht,{M7:()=>F,Op:()=>b,eB:()=>Y});var x=Math.round;function Y(U,W,G){if(W){var w=W.x1,R=W.x2,L=W.y1,y=W.y2;U.x1=w,U.x2=R,U.y1=L,U.y2=y;var d=G&&G.lineWidth;return d&&(x(2*w)===x(2*R)&&(U.x1=U.x2=F(w,d,!0)),x(2*L)===x(2*y)&&(U.y1=U.y2=F(L,d,!0))),U}}function b(U,W,G){if(W){var w=W.x,R=W.y,L=W.width,y=W.height;U.x=w,U.y=R,U.width=L,U.height=y;var d=G&&G.lineWidth;return d&&(U.x=F(w,d,!0),U.y=F(R,d,!0),U.width=Math.max(F(w+L,d,!1)-U.x,0===L?0:1),U.height=Math.max(F(R+y,d,!1)-U.y,0===y?0:1)),U}}function F(U,W,G){if(!W)return U;var w=x(2*U);return(w+x(W))%2==0?w/2:(w+(G?1:-1))/2}},72492:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(20572),Y=l(57918),b=function(){return function W(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),F=function(W){function G(w){return W.call(this,w)||this}return(0,x.C6)(G,W),G.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},G.prototype.getDefaultShape=function(){return new b},G.prototype.buildPath=function(w,R){var L=R.cx,y=R.cy,d=Math.max(R.r,0),A=R.startAngle,S=R.endAngle,M=R.clockwise,E=Math.cos(A),P=Math.sin(A);w.moveTo(E*d+L,P*d+y),w.arc(L,y,d,A,S,!M)},G}(Y.Ay);F.prototype.type="arc";const U=F},61838:(jt,ht,l)=>{l.d(ht,{A:()=>R});var x=l(20572),Y=l(57918),b=l(48550),F=l(80138),U=[],W=function(){return function L(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}}();function G(L,y,d){return null!=L.cpx2||null!=L.cpy2?[(d?F.rD:F.Yb)(L.x1,L.cpx1,L.cpx2,L.x2,y),(d?F.rD:F.Yb)(L.y1,L.cpy1,L.cpy2,L.y2,y)]:[(d?F.z7:F.k3)(L.x1,L.cpx1,L.x2,y),(d?F.z7:F.k3)(L.y1,L.cpy1,L.y2,y)]}var w=function(L){function y(d){return L.call(this,d)||this}return(0,x.C6)(y,L),y.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},y.prototype.getDefaultShape=function(){return new W},y.prototype.buildPath=function(d,A){var S=A.x1,M=A.y1,E=A.x2,P=A.y2,m=A.cpx1,g=A.cpy1,f=A.cpx2,T=A.cpy2,c=A.percent;0!==c&&(d.moveTo(S,M),null==f||null==T?(c<1&&((0,F.kx)(S,m,E,c,U),m=U[1],E=U[2],(0,F.kx)(M,g,P,c,U),g=U[1],P=U[2]),d.quadraticCurveTo(m,g,E,P)):(c<1&&((0,F.YT)(S,m,f,E,c,U),m=U[1],f=U[2],E=U[3],(0,F.YT)(M,g,T,P,c,U),g=U[1],T=U[2],P=U[3]),d.bezierCurveTo(m,g,f,T,E,P)))},y.prototype.pointAt=function(d){return G(this.shape,d,!1)},y.prototype.tangentAt=function(d){var A=G(this.shape,d,!0);return b.normalize(A,A)},y}(Y.Ay);w.prototype.type="bezier-curve";const R=w},12638:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(20572),Y=l(57918),b=function(){return function W(){this.cx=0,this.cy=0,this.r=0}}(),F=function(W){function G(w){return W.call(this,w)||this}return(0,x.C6)(G,W),G.prototype.getDefaultShape=function(){return new b},G.prototype.buildPath=function(w,R){w.moveTo(R.cx+R.r,R.cy),w.arc(R.cx,R.cy,R.r,0,2*Math.PI)},G}(Y.Ay);F.prototype.type="circle";const U=F},17798:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(20572),Y=l(57918),b=function(){return function W(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}}(),F=function(W){function G(w){return W.call(this,w)||this}return(0,x.C6)(G,W),G.prototype.getDefaultShape=function(){return new b},G.prototype.buildPath=function(w,R){var L=.5522848,y=R.cx,d=R.cy,A=R.rx,S=R.ry,M=A*L,E=S*L;w.moveTo(y-A,d),w.bezierCurveTo(y-A,d-E,y-M,d-S,y,d-S),w.bezierCurveTo(y+M,d-S,y+A,d-E,y+A,d),w.bezierCurveTo(y+A,d+E,y+M,d+S,y,d+S),w.bezierCurveTo(y-M,d+S,y-A,d+E,y-A,d),w.closePath()},G}(Y.Ay);F.prototype.type="ellipse";const U=F},45760:(jt,ht,l)=>{l.d(ht,{A:()=>G});var x=l(20572),Y=l(57918),b=l(64014),F={},U=function(){return function w(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}(),W=function(w){function R(L){return w.call(this,L)||this}return(0,x.C6)(R,w),R.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},R.prototype.getDefaultShape=function(){return new U},R.prototype.buildPath=function(L,y){var d,A,S,M;if(this.subPixelOptimize){var E=(0,b.eB)(F,y,this.style);d=E.x1,A=E.y1,S=E.x2,M=E.y2}else d=y.x1,A=y.y1,S=y.x2,M=y.y2;var P=y.percent;0!==P&&(L.moveTo(d,A),P<1&&(S=d*(1-P)+S*P,M=A*(1-P)+M*P),L.lineTo(S,M))},R.prototype.pointAt=function(L){var y=this.shape;return[y.x1*(1-L)+y.x2*L,y.y1*(1-L)+y.y2*L]},R}(Y.Ay);W.prototype.type="line";const G=W},45086:(jt,ht,l)=>{l.d(ht,{A:()=>W});var x=l(20572),Y=l(57918),b=l(8499),F=function(){return function G(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),U=function(G){function w(R){return G.call(this,R)||this}return(0,x.C6)(w,G),w.prototype.getDefaultShape=function(){return new F},w.prototype.buildPath=function(R,L){b.U(R,L,!0)},w}(Y.Ay);U.prototype.type="polygon";const W=U},52274:(jt,ht,l)=>{l.d(ht,{A:()=>W});var x=l(20572),Y=l(57918),b=l(8499),F=function(){return function G(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}}(),U=function(G){function w(R){return G.call(this,R)||this}return(0,x.C6)(w,G),w.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},w.prototype.getDefaultShape=function(){return new F},w.prototype.buildPath=function(R,L){b.U(R,L,!1)},w}(Y.Ay);U.prototype.type="polyline";const W=U},16609:(jt,ht,l)=>{l.d(ht,{A:()=>w});var x=l(20572),Y=l(57918),F=l(64014),U=function(){return function R(){this.x=0,this.y=0,this.width=0,this.height=0}}(),W={},G=function(R){function L(y){return R.call(this,y)||this}return(0,x.C6)(L,R),L.prototype.getDefaultShape=function(){return new U},L.prototype.buildPath=function(y,d){var A,S,M,E;if(this.subPixelOptimize){var P=(0,F.Op)(W,d,this.style);A=P.x,S=P.y,M=P.width,E=P.height,P.r=d.r,d=P}else A=d.x,S=d.y,M=d.width,E=d.height;d.r?function b(R,L){var E,P,m,g,f,y=L.x,d=L.y,A=L.width,S=L.height,M=L.r;A<0&&(y+=A,A=-A),S<0&&(d+=S,S=-S),"number"==typeof M?E=P=m=g=M:M instanceof Array?1===M.length?E=P=m=g=M[0]:2===M.length?(E=m=M[0],P=g=M[1]):3===M.length?(E=M[0],P=g=M[1],m=M[2]):(E=M[0],P=M[1],m=M[2],g=M[3]):E=P=m=g=0,E+P>A&&(E*=A/(f=E+P),P*=A/f),m+g>A&&(m*=A/(f=m+g),g*=A/f),P+m>S&&(P*=S/(f=P+m),m*=S/f),E+g>S&&(E*=S/(f=E+g),g*=S/f),R.moveTo(y+E,d),R.lineTo(y+A-P,d),0!==P&&R.arc(y+A-P,d+P,P,-Math.PI/2,0),R.lineTo(y+A,d+S-m),0!==m&&R.arc(y+A-m,d+S-m,m,0,Math.PI/2),R.lineTo(y+g,d+S),0!==g&&R.arc(y+g,d+S-g,g,Math.PI/2,Math.PI),R.lineTo(y,d+E),0!==E&&R.arc(y+E,d+E,E,Math.PI,1.5*Math.PI)}(y,d):y.rect(A,S,M,E)},L.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},L}(Y.Ay);G.prototype.type="rect";const w=G},26972:(jt,ht,l)=>{l.d(ht,{A:()=>U});var x=l(20572),Y=l(57918),b=function(){return function W(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),F=function(W){function G(w){return W.call(this,w)||this}return(0,x.C6)(G,W),G.prototype.getDefaultShape=function(){return new b},G.prototype.buildPath=function(w,R){var L=R.cx,y=R.cy,d=2*Math.PI;w.moveTo(L+R.r,y),w.arc(L,y,R.r,0,d,!1),w.moveTo(L+R.r0,y),w.arc(L,y,R.r0,0,d,!0)},G}(Y.Ay);F.prototype.type="ring";const U=F},20255:(jt,ht,l)=>{l.d(ht,{A:()=>T});var x=l(20572),Y=l(57918),b=l(68453),F=Math.PI,U=2*F,W=Math.sin,G=Math.cos,w=Math.acos,R=Math.atan2,
1L=Math.abs,y=Math.sqrt,d=Math.max,A=Math.min,S=1e-4;function E(c,v,_,i,h,e,o){var u=c-_,s=v-i,r=(o?e:-e)/y(u*u+s*s),n=r*s,t=-r*u,a=c+n,p=v+t,O=_+n,B=i+t,z=(a+O)/2,H=(p+B)/2,C=O-a,D=B-p,N=C*C+D*D,I=h-e,V=a*B-O*p,k=(D<0?-1:1)*y(d(0,I*I*N-V*V)),$=(V*D-C*k)/N,tt=(-V*C-D*k)/N,ot=(V*D+C*k)/N,at=(-V*C+D*k)/N,pt=$-z,Mt=tt-H,At=ot-z,Kt=at-H;return pt*pt+Mt*Mt>At*At+Kt*Kt&&($=ot,tt=at),{cx:$,cy:tt,x0:-n,y0:-t,x1:$*(h/I-1),y1:tt*(h/I-1)}}var g=function(){return function c(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}}(),f=function(c){function v(_){return c.call(this,_)||this}return(0,x.C6)(v,c),v.prototype.getDefaultShape=function(){return new g},v.prototype.buildPath=function(_,i){!function m(c,v){var _,i=d(v.r,0),h=d(v.r0||0,0),e=i>0;if(e||h>0){if(e||(i=h,h=0),h>i){var u=i;i=h,h=u}var s=v.startAngle,r=v.endAngle;if(!isNaN(s)&&!isNaN(r)){var n=v.cx,t=v.cy,a=!!v.clockwise,p=L(r-s),O=p>U&&p%U;if(O>S&&(p=O),i>S)if(p>U-S)c.moveTo(n+i*G(s),t+i*W(s)),c.arc(n,t,i,s,r,!a),h>S&&(c.moveTo(n+h*G(r),t+h*W(r)),c.arc(n,t,h,r,s,a));else{var B=void 0,z=void 0,H=void 0,C=void 0,D=void 0,N=void 0,I=void 0,V=void 0,k=void 0,$=void 0,tt=void 0,ot=void 0,at=void 0,pt=void 0,Mt=void 0,At=void 0,Kt=i*G(s),qt=i*W(s),le=h*G(r),vt=h*W(r),dt=p>S;if(dt){var it=v.cornerRadius;it&&(_=function P(c){var v;if((0,b.isArray)(c)){var _=c.length;if(!_)return c;v=1===_?[c[0],c[0],0,0]:2===_?[c[0],c[0],c[1],c[1]]:3===_?c.concat(c[2]):c}else v=[c,c,c,c];return v}(it),B=_[0],z=_[1],H=_[2],C=_[3]);var lt=L(i-h)/2;if(D=A(lt,H),N=A(lt,C),I=A(lt,B),V=A(lt,z),tt=k=d(D,N),ot=$=d(I,V),(k>S||$>S)&&(at=i*G(r),pt=i*W(r),Mt=h*G(s),At=h*W(s),p<F)){var bt=function M(c,v,_,i,h,e,o,u){var s=_-c,r=i-v,n=o-h,t=u-e,a=t*s-n*r;if(!(a*a<S))return[c+(a=(n*(v-e)-t*(c-h))/a)*s,v+a*r]}(Kt,qt,Mt,At,at,pt,le,vt);if(bt){var Ut=Kt-bt[0],Ht=qt-bt[1],fe=at-bt[0],ue=pt-bt[1],ye=1/W(w((Ut*fe+Ht*ue)/(y(Ut*Ut+Ht*Ht)*y(fe*fe+ue*ue)))/2),Me=y(bt[0]*bt[0]+bt[1]*bt[1]);tt=A(k,(i-Me)/(ye+1)),ot=A($,(h-Me)/(ye-1))}}}if(dt)if(tt>S){var _e=A(H,tt),Se=A(C,tt),J=E(Mt,At,Kt,qt,i,_e,a),yt=E(at,pt,le,vt,i,Se,a);c.moveTo(n+J.cx+J.x0,t+J.cy+J.y0),tt<k&&_e===Se?c.arc(n+J.cx,t+J.cy,tt,R(J.y0,J.x0),R(yt.y0,yt.x0),!a):(_e>0&&c.arc(n+J.cx,t+J.cy,_e,R(J.y0,J.x0),R(J.y1,J.x1),!a),c.arc(n,t,i,R(J.cy+J.y1,J.cx+J.x1),R(yt.cy+yt.y1,yt.cx+yt.x1),!a),Se>0&&c.arc(n+yt.cx,t+yt.cy,Se,R(yt.y1,yt.x1),R(yt.y0,yt.x0),!a))}else c.moveTo(n+Kt,t+qt),c.arc(n,t,i,s,r,!a);else c.moveTo(n+Kt,t+qt);h>S&&dt?ot>S?(_e=A(B,ot),J=E(le,vt,at,pt,h,-(Se=A(z,ot)),a),yt=E(Kt,qt,Mt,At,h,-_e,a),c.lineTo(n+J.cx+J.x0,t+J.cy+J.y0),ot<$&&_e===Se?c.arc(n+J.cx,t+J.cy,ot,R(J.y0,J.x0),R(yt.y0,yt.x0),!a):(Se>0&&c.arc(n+J.cx,t+J.cy,Se,R(J.y0,J.x0),R(J.y1,J.x1),!a),c.arc(n,t,h,R(J.cy+J.y1,J.cx+J.x1),R(yt.cy+yt.y1,yt.cx+yt.x1),a),_e>0&&c.arc(n+yt.cx,t+yt.cy,_e,R(yt.y1,yt.x1),R(yt.y0,yt.x0),!a))):(c.lineTo(n+le,t+vt),c.arc(n,t,h,r,s,a)):c.lineTo(n+le,t+vt)}else c.moveTo(n,t);c.closePath()}}}(_,i)},v.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},v}(Y.Ay);f.prototype.type="sector";const T=f},76094:(jt,ht,l)=>{l.d(ht,{$2:()=>U,Cv:()=>G,MD:()=>_,OH:()=>T,OS:()=>f,Pt:()=>g,WG:()=>h,XP:()=>R,Xu:()=>v,Z1:()=>i,bn:()=>c,dX:()=>S,eQ:()=>d,nV:()=>y,sL:()=>P,sZ:()=>A,si:()=>M});var x=l(68453),Y=l(3235),b=l(24026),F=Math.round;function U(e){var o;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var u=(0,Y.parse)(e);u&&(e="rgb("+u[0]+","+u[1]+","+u[2]+")",o=u[3])}}else e="none";return{color:e,opacity:o??1}}var W=1e-4;function G(e){return e<W&&e>-W}function w(e){return F(1e3*e)/1e3}function R(e){return F(1e4*e)/1e4}function y(e){return"matrix("+w(e[0])+","+w(e[1])+","+w(e[2])+","+w(e[3])+","+R(e[4])+","+R(e[5])+")"}var d={left:"start",right:"end",center:"middle",middle:"middle"};function A(e,o,u){return"top"===u?e+=o/2:"bottom"===u&&(e-=o/2),e}function S(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function M(e){var o=e.style,u=e.getGlobalScale();return[o.shadowColor,(o.shadowBlur||0).toFixed(2),(o.shadowOffsetX||0).toFixed(2),(o.shadowOffsetY||0).toFixed(2),u[0],u[1]].join(",")}function P(e){return e&&!!e.image}function g(e){return P(e)||function m(e){return e&&!!e.svgElement}(e)}function f(e){return"linear"===e.type}function T(e){return"radial"===e.type}function c(e){return e&&("linear"===e.type||"radial"===e.type)}
1function v(e){return"url(#"+e+")"}function _(e){var o=e.getGlobalScale(),u=Math.max(o[0],o[1]);return Math.max(Math.ceil(Math.log(u)/Math.log(10)),1)}function i(e){var o=e.x||0,u=e.y||0,s=(e.rotation||0)*x.RADIAN_TO_DEGREE,r=(0,x.retrieve2)(e.scaleX,1),n=(0,x.retrieve2)(e.scaleY,1),t=e.skewX||0,a=e.skewY||0,p=[];return(o||u)&&p.push("translate("+o+"px,"+u+"px)"),s&&p.push("rotate("+s+")"),(1!==r||1!==n)&&p.push("scale("+r+","+n+")"),(t||a)&&p.push("skew("+F(t*x.RADIAN_TO_DEGREE)+"deg, "+F(a*x.RADIAN_TO_DEGREE)+"deg)"),p.join(" ")}var h=b.A.hasGlobalWindow&&(0,x.isFunction)(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}},3235:(jt,ht,l)=>{l.r(ht),l.d(ht,{fastLerp:()=>T,fastMapToColor:()=>c,lerp:()=>v,lift:()=>g,liftColor:()=>r,lum:()=>o,mapToColor:()=>_,modifyAlpha:()=>h,modifyHSL:()=>i,parse:()=>E,random:()=>u,stringify:()=>e,toHex:()=>f});var x=l(19896),Y=l(68453),b={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function F(n){return(n=Math.round(n))<0?0:n>255?255:n}function W(n){return n<0?0:n>1?1:n}function G(n){var t=n;return t.length&&"%"===t.charAt(t.length-1)?F(parseFloat(t)/100*255):F(parseInt(t,10))}function w(n){var t=n;return t.length&&"%"===t.charAt(t.length-1)?W(parseFloat(t)/100):W(parseFloat(t))}function R(n,t,a){return a<0?a+=1:a>1&&(a-=1),6*a<1?n+(t-n)*a*6:2*a<1?t:3*a<2?n+(t-n)*(2/3-a)*6:n}function L(n,t,a){return n+(t-n)*a}function y(n,t,a,p,O){return n[0]=t,n[1]=a,n[2]=p,n[3]=O,n}function d(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}var A=new x.Ay(20),S=null;function M(n,t){S&&d(S,t),S=A.put(n,S||t.slice())}function E(n,t){if(n){t=t||[];var a=A.get(n);if(a)return d(t,a);var p=(n+="").replace(/ /g,"").toLowerCase();if(p in b)return d(t,b[p]),M(n,t),t;var B,O=p.length;if("#"===p.charAt(0))return 4===O||5===O?(B=parseInt(p.slice(1,4),16))>=0&&B<=4095?(y(t,(3840&B)>>4|(3840&B)>>8,240&B|(240&B)>>4,15&B|(15&B)<<4,5===O?parseInt(p.slice(4),16)/15:1),M(n,t),t):void y(t,0,0,0,1):7===O||9===O?(B=parseInt(p.slice(1,7),16))>=0&&B<=16777215?(y(t,(16711680&B)>>16,(65280&B)>>8,255&B,9===O?parseInt(p.slice(7),16)/255:1),M(n,t),t):void y(t,0,0,0,1):void 0;var z=p.indexOf("("),H=p.indexOf(")");if(-1!==z&&H+1===O){var C=p.substr(0,z),D=p.substr(z+1,H-(z+1)).split(","),N=1;switch(C){case"rgba":if(4!==D.length)return 3===D.length?y(t,+D[0],+D[1],+D[2],1):y(t,0,0,0,1);N=w(D.pop());case"rgb":return D.length>=3?(y(t,G(D[0]),G(D[1]),G(D[2]),3===D.length?N:w(D[3])),M(n,t),t):void y(t,0,0,0,1);
1case"hsla":return 4!==D.length?void y(t,0,0,0,1):(D[3]=w(D[3]),P(D,t),M(n,t),t);case"hsl":return 3!==D.length?void y(t,0,0,0,1):(P(D,t),M(n,t),t);default:return}}y(t,0,0,0,1)}}function P(n,t){var a=(parseFloat(n[0])%360+360)%360/360,p=w(n[1]),O=w(n[2]),B=O<=.5?O*(p+1):O+p-O*p,z=2*O-B;return y(t=t||[],F(255*R(z,B,a+1/3)),F(255*R(z,B,a)),F(255*R(z,B,a-1/3)),1),4===n.length&&(t[3]=n[3]),t}function g(n,t){var a=E(n);if(a){for(var p=0;p<3;p++)a[p]=t<0?a[p]*(1-t)|0:(255-a[p])*t+a[p]|0,a[p]>255?a[p]=255:a[p]<0&&(a[p]=0);return e(a,4===a.length?"rgba":"rgb")}}function f(n){var t=E(n);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function T(n,t,a){if(t&&t.length&&n>=0&&n<=1){a=a||[];var p=n*(t.length-1),O=Math.floor(p),B=Math.ceil(p),z=t[O],H=t[B],C=p-O;return a[0]=F(L(z[0],H[0],C)),a[1]=F(L(z[1],H[1],C)),a[2]=F(L(z[2],H[2],C)),a[3]=W(L(z[3],H[3],C)),a}}var c=T;function v(n,t,a){if(t&&t.length&&n>=0&&n<=1){var p=n*(t.length-1),O=Math.floor(p),B=Math.ceil(p),z=E(t[O]),H=E(t[B]),C=p-O,D=e([F(L(z[0],H[0],C)),F(L(z[1],H[1],C)),F(L(z[2],H[2],C)),W(L(z[3],H[3],C))],"rgba");return a?{color:D,leftIndex:O,rightIndex:B,value:p}:D}}var _=v;function i(n,t,a,p){var O=E(n);if(n)return O=function m(n){if(n){var C,D,t=n[0]/255,a=n[1]/255,p=n[2]/255,O=Math.min(t,a,p),B=Math.max(t,a,p),z=B-O,H=(B+O)/2;if(0===z)C=0,D=0;else{D=H<.5?z/(B+O):z/(2-B-O);var N=((B-t)/6+z/2)/z,I=((B-a)/6+z/2)/z,V=((B-p)/6+z/2)/z;t===B?C=V-I:a===B?C=1/3+N-V:p===B&&(C=2/3+I-N),C<0&&(C+=1),C>1&&(C-=1)}var k=[360*C,D,H];return null!=n[3]&&k.push(n[3]),k}}(O),null!=t&&(O[0]=function U(n){return(n=Math.round(n))<0?0:n>360?360:n}(t)),null!=a&&(O[1]=w(a)),null!=p&&(O[2]=w(p)),e(P(O),"rgba")}function h(n,t){var a=E(n);if(a&&null!=t)return a[3]=W(t),e(a,"rgba")}function e(n,t){if(n&&n.length){var a=n[0]+","+n[1]+","+n[2];return("rgba"===t||"hsva"===t||"hsla"===t)&&(a+=","+n[3]),t+"("+a+")"}}function o(n,t){var a=E(n);return a?(.299*a[0]+.587*a[1]+.114*a[2])*a[3]/255+(1-a[3])*t:0}function u(){return e([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var s=new x.Ay(100);function r(n){if((0,Y.isString)(n)){var t=s.get(n);return t||(t=g(n,-.1),s.put(n,t)),t}if((0,Y.isGradientObject)(n)){var a=(0,Y.extend)({},n);return a.colorStops=(0,Y.map)(n.colorStops,function(p){return{offset:p.offset,color:g(p.color,-.1)}}),a}return n}},58846:(jt,ht,l)=>{l.r(ht),l.d(ht,{dispose:()=>J,disposeAll:()=>yt,getElementSSRData:()=>Lt,getInstance:()=>kt,init:()=>Se,registerPainter:()=>Qt,registerSSRDataGetter:()=>Gt,version:()=>$t});var x=l(24026),Y=l(68453),b=l(20572),F=l(48550),U=function(){return function q(rt,et){this.target=rt,this.topTarget=et&&et.topTarget}}(),W=function(){function q(rt){this.handler=rt,rt.on("mousedown",this._dragStart,this),rt.on("mousemove",this._drag,this),rt.on("mouseup",this._dragEnd,this)}return q.prototype._dragStart=function(rt){for(var et=rt.target;et&&!et.draggable;)et=et.parent||et.__hostTarget;et&&(this._draggingTarget=et,et.dragging=!0,this._x=rt.offsetX,this._y=rt.offsetY,this.handler.dispatchToElement(new U(et,rt),"dragstart",rt.event))},q.prototype._drag=function(rt){var et=this._draggingTarget;if(et){var st=rt.offsetX,zt=rt.offsetY,Bt=st-this._x,re=zt-this._y;this._x=st,this._y=zt,et.drift(Bt,re,rt),this.handler.dispatchToElement(new U(et,rt),"drag",rt.event);var ae=this.handler.findHover(st,zt,et).target,Ae=this._dropTarget;this._dropTarget=ae,et!==ae&&(Ae&&ae!==Ae&&this.handler.dispatchToElement(new U(Ae,rt),"dragleave",rt.event),ae&&ae!==Ae&&this.handler.dispatchToElement(new U(ae,rt),"dragenter",rt.event))}},q.prototype._dragEnd=function(rt){var et=this._draggingTarget;et&&(et.dragging=!1),this.handler.dispatchToElement(new U(et,rt),"dragend",rt.event),this._dropTarget&&this.handler.dispatchToElement(new U(this._dropTarget,rt),"drop",rt.event),this._draggingTarget=null,this._dropTarget=null},q}();const G=W;var w=l(84670),R=l(11485),L=function(){function q(){this._track=[]}return q.prototype.recognize=function(rt,et,st){return this._doTrack(rt,et,st),this._recognize(rt)},q.prototype.clear=function(){return this._track.length=0,this},q.prototype._doTrack=function(rt,et,st){var zt=rt.touches;if(zt){for(var Bt={points:[],touches:[],target:et,event:rt},re=0,ae=zt.length;re<ae;re++){var Ae=zt[re],Dt=R.Yo(st,Ae,{});Bt.points.push([Dt.zrX,Dt.zrY]),Bt.touches.push(Ae)}this._track.push(Bt)}},q.prototype._recognize=function(rt){for(var et in A)if(A.hasOwnProperty(et)){var st=A[et](this._track,rt);if(st)return st}},q}();function y(q){var rt=q[1][0]-q[0][0],et=q[1][1]-q[0][1];return Math.sqrt(rt*rt+et*et)}var A={pinch:function(q,rt){var et=q.length;if(et){var st=(q[et-1]||{}
1).points,zt=(q[et-2]||{}).points||st;if(zt&&zt.length>1&&st&&st.length>1){var Bt=y(st)/y(zt);!isFinite(Bt)&&(Bt=1),rt.pinchScale=Bt;var re=function d(q){return[(q[0][0]+q[1][0])/2,(q[0][1]+q[1][1])/2]}(st);return rt.pinchX=re[0],rt.pinchY=re[1],{type:"pinch",target:q[0].target,event:rt}}}}},S=l(47799),M="silent";function P(){R.ds(this.event)}var m=function(q){function rt(){var et=null!==q&&q.apply(this,arguments)||this;return et.handler=null,et}return(0,b.C6)(rt,q),rt.prototype.dispose=function(){},rt.prototype.setCursor=function(){},rt}(w.A),g=function(){return function q(rt,et){this.x=rt,this.y=et}}(),f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],T=new S.A(0,0,0,0),c=function(q){function rt(et,st,zt,Bt,re){var ae=q.call(this)||this;return ae._hovered=new g(0,0),ae.storage=et,ae.painter=st,ae.painterRoot=Bt,ae._pointerSize=re,zt=zt||new m,ae.proxy=null,ae.setHandlerProxy(zt),ae._draggingMgr=new G(ae),ae}return(0,b.C6)(rt,q),rt.prototype.setHandlerProxy=function(et){this.proxy&&this.proxy.dispose(),et&&(Y.each(f,function(st){et.on&&et.on(st,this[st],this)},this),et.handler=this),this.proxy=et},rt.prototype.mousemove=function(et){var st=et.zrX,zt=et.zrY,Bt=i(this,st,zt),re=this._hovered,ae=re.target;ae&&!ae.__zr&&(ae=(re=this.findHover(re.x,re.y)).target);var Ae=this._hovered=Bt?new g(st,zt):this.findHover(st,zt),Dt=Ae.target,mt=this.proxy;mt.setCursor&&mt.setCursor(Dt?Dt.cursor:"default"),ae&&Dt!==ae&&this.dispatchToElement(re,"mouseout",et),this.dispatchToElement(Ae,"mousemove",et),Dt&&Dt!==ae&&this.dispatchToElement(Ae,"mouseover",et)},rt.prototype.mouseout=function(et){var st=et.zrEventControl;"only_globalout"!==st&&this.dispatchToElement(this._hovered,"mouseout",et),"no_globalout"!==st&&this.trigger("globalout",{type:"globalout",event:et})},rt.prototype.resize=function(){this._hovered=new g(0,0)},rt.prototype.dispatch=function(et,st){var zt=this[et];zt&&zt.call(this,st)},rt.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},rt.prototype.setCursorStyle=function(et){var st=this.proxy;st.setCursor&&st.setCursor(et)},rt.prototype.dispatchToElement=function(et,st,zt){var Bt=(et=et||{}).target;if(!Bt||!Bt.silent){for(var re="on"+st,ae=function E(q,rt,et){return{type:q,event:et,target:rt.target,topTarget:rt.topTarget,cancelBubble:!1,offsetX:et.zrX,offsetY:et.zrY,gestureEvent:et.gestureEvent,pinchX:et.pinchX,pinchY:et.pinchY,pinchScale:et.pinchScale,wheelDelta:et.zrDelta,zrByTouch:et.zrByTouch,which:et.which,stop:P}}(st,et,zt);Bt&&(Bt[re]&&(ae.cancelBubble=!!Bt[re].call(Bt,ae)),Bt.trigger(st,ae),Bt=Bt.__hostTarget?Bt.__hostTarget:Bt.parent,!ae.cancelBubble););ae.cancelBubble||(this.trigger(st,ae),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(Ae){"function"==typeof Ae[re]&&Ae[re].
1call(Ae,ae),Ae.trigger&&Ae.trigger(st,ae)}))}},rt.prototype.findHover=function(et,st,zt){var Bt=this.storage.getDisplayList(),re=new g(et,st);if(_(Bt,re,et,st,zt),this._pointerSize&&!re.target){for(var ae=[],Ae=this._pointerSize,Dt=Ae/2,mt=new S.A(et-Dt,st-Dt,Ae,Ae),St=Bt.length-1;St>=0;St--){var It=Bt[St];It!==zt&&!It.ignore&&!It.ignoreCoarsePointer&&(!It.parent||!It.parent.ignoreCoarsePointer)&&(T.copy(It.getBoundingRect()),It.transform&&T.applyTransform(It.transform),T.intersect(mt)&&ae.push(It))}if(ae.length)for(var pe=Math.PI/12,oe=2*Math.PI,te=0;te<Dt;te+=4)for(var Re=0;Re<oe;Re+=pe)if(_(ae,re,et+te*Math.cos(Re),st+te*Math.sin(Re),zt),re.target)return re}return re},rt.prototype.processGesture=function(et,st){this._gestureMgr||(this._gestureMgr=new L);var zt=this._gestureMgr;"start"===st&&zt.clear();var Bt=zt.recognize(et,this.findHover(et.zrX,et.zrY,null).target,this.proxy.dom);if("end"===st&&zt.clear(),Bt){var re=Bt.type;et.gestureEvent=re;var ae=new g;ae.target=Bt.target,this.dispatchToElement(ae,re,Bt.event)}},rt}(w.A);function v(q,rt,et){if(q[q.rectHover?"rectContain":"contain"](rt,et)){for(var st=q,zt=void 0,Bt=!1;st;){if(st.ignoreClip&&(Bt=!0),!Bt){var re=st.getClipPath();if(re&&!re.contain(rt,et))return!1}st.silent&&(zt=!0),st=st.__hostTarget||st.parent}return!zt||M}return!1}function _(q,rt,et,st,zt){for(var Bt=q.length-1;Bt>=0;Bt--){var re=q[Bt],ae=void 0;if(re!==zt&&!re.ignore&&(ae=v(re,et,st))&&(!rt.topTarget&&(rt.topTarget=re),ae!==M)){rt.target=re;break}}}function i(q,rt,et){var st=q.painter;return rt<0||rt>st.getWidth()||et<0||et>st.getHeight()}Y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(q){c.prototype[q]=function(rt){var Bt,re,et=rt.zrX,st=rt.zrY,zt=i(this,et,st);if(("mouseup"!==q||!zt)&&(re=(Bt=this.findHover(et,st)).target),"mousedown"===q)this._downEl=re,this._downPoint=[rt.zrX,rt.zrY],this._upEl=re;else if("mouseup"===q)this._upEl=re;else if("click"===q){if(this._downEl!==this._upEl||!this._downPoint||F.dist(this._downPoint,[rt.zrX,rt.zrY])>4)return;this._downPoint=null}this.dispatchToElement(Bt,q,rt)}});const h=c;var e=l(5331),o=l(60672),u=!1;function s(){u||(u=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}
1function r(q,rt){return q.zlevel===rt.zlevel?q.z===rt.z?q.z2-rt.z2:q.z-rt.z:q.zlevel-rt.zlevel}var n=function(){function q(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=r}return q.prototype.traverse=function(rt,et){for(var st=0;st<this._roots.length;st++)this._roots[st].traverse(rt,et)},q.prototype.getDisplayList=function(rt,et){et=et||!1;var st=this._displayList;return(rt||!st.length)&&this.updateDisplayList(et),st},q.prototype.updateDisplayList=function(rt){this._displayListLen=0;for(var et=this._roots,st=this._displayList,zt=0,Bt=et.length;zt<Bt;zt++)this._updateAndAddDisplayable(et[zt],null,rt);st.length=this._displayListLen,(0,e.A)(st,r)},q.prototype._updateAndAddDisplayable=function(rt,et,st){if(!rt.ignore||st){rt.beforeUpdate(),rt.update(),rt.afterUpdate();var zt=rt.getClipPath();if(rt.ignoreClip)et=null;else if(zt){et=et?et.slice():[];for(var Bt=zt,re=rt;Bt;)Bt.parent=re,Bt.updateTransform(),et.push(Bt),re=Bt,Bt=Bt.getClipPath()}if(rt.childrenRef){for(var ae=rt.childrenRef(),Ae=0;Ae<ae.length;Ae++){var Dt=ae[Ae];rt.__dirty&&(Dt.__dirty|=o.M),this._updateAndAddDisplayable(Dt,et,st)}rt.__dirty=0}else{var mt=rt;et&&et.length?mt.__clipPaths=et:mt.__clipPaths&&mt.__clipPaths.length>0&&(mt.__clipPaths=[]),isNaN(mt.z)&&(s(),mt.z=0),isNaN(mt.z2)&&(s(),mt.z2=0),isNaN(mt.zlevel)&&(s(),mt.zlevel=0),this._displayList[this._displayListLen++]=mt}var St=rt.getDecalElement&&rt.getDecalElement();St&&this._updateAndAddDisplayable(St,et,st);var It=rt.getTextGuideLine();It&&this._updateAndAddDisplayable(It,et,st);var Jt=rt.getTextContent();Jt&&this._updateAndAddDisplayable(Jt,et,st)}},q.prototype.addRoot=function(rt){rt.__zr&&rt.__zr.storage===this||this._roots.push(rt)},q.prototype.delRoot=function(rt){if(rt instanceof Array)for(var et=0,st=rt.length;et<st;et++)this.delRoot(rt[et]);else{var zt=Y.indexOf(this._roots,rt);zt>=0&&this._roots.splice(zt,1)}},q.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},q.prototype.getRoots=function(){return this._roots},q.prototype.dispose=function(){this._displayList=null,this._roots=null},q}();const t=n;var a;a=x.A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(q){return setTimeout(q,16)};const p=a;var O=l(21435);function B(){return(new Date).getTime()}var z=function(q){function rt(et){var st=q.call(this)||this;return st._running=!1,st._time=0,st._pausedTime=0,st._pauseStart=0,st._paused=!1,st.stage=(et=et||{}).stage||{},st}return(0,b.C6)(rt,q),rt.prototype.addClip=function(et){et.animation&&this.removeClip(et),this._head?(this._tail.next=et,et.prev=this._tail,et.next=null,this._tail=et):this._head=this._tail=et,et.animation=this},rt.prototype.addAnimator=function(et){et.animation=this;var st=et.getClip();st&&this.addClip(st)},rt.prototype.removeClip=function(et){if(et.animation){var st=et.prev,zt=et.next;st?st.next=zt:this._head=zt,zt?zt.prev=st:this._tail=st,et.next=et.prev=et.animation=null}},rt.prototype.removeAnimator=function(et){var st=et.getClip();st&&this.removeClip(st),et.animation=null},rt.prototype.update=function(et){for(var st=B()-this._pausedTime,zt=st-this._time,Bt=this._head;Bt;){var re=Bt.next;Bt.step(st,zt)&&(Bt.ondestroy(),this.removeClip(Bt)),Bt=re}this._time=st,et||(this.trigger("frame",zt),this.stage.update&&this.stage.update())},rt.prototype._startLoop=function(){var et=this;this._running=!0,p(function st(){et._running&&(p(st),!et._paused&&et.update())})},rt.prototype.start=function(){this._running||(this._time=B(),this._pausedTime=0,this._startLoop())},rt.prototype.stop=function(){this._running=!1},rt.prototype.pause=function(){this._paused||(this._pauseStart=B(),this._paused=!0)},rt.prototype.resume=function(){this._paused&&(this._pausedTime+=B()-this._pauseStart,this._paused=!1)},rt.prototype.clear=function(){for(var et=this._head;et;){var st=et.next;et.prev=et.next=et.animation=null,et=st}this._head=this._tail=null},rt.prototype.isFinished=function(){return null==this._head},rt.prototype.animate=function(et,st){st=st||{},this.start();var zt=new O.A(et,st.loop);return this.addAnimator(zt),zt},rt}(w.A);const H=z;var q,et,D=x.A.domSupported,N=(et={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:q=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:Y.map(q,function(zt){var Bt=zt.replace("mouse","pointer");return et.hasOwnProperty(Bt)?Bt:zt})}),I_mouse=["mousemove","mouseup"],I_pointer=["pointermove","pointerup"],V=!1;function k(q){var rt=q.pointerType;return"pen"===rt||"touch"===rt}function tt(q){q&&(q.zrByTouch=!0)}function at(q,rt){for(var et=rt,st=!1;et&&9!==et.nodeType&&!(st=et.domBelongToZr||et!==rt&&et===q.painterRoot);)et=et.parentNode;return st}var pt=function(){return function q(rt,et){this.stopPropagation=Y.noop,this.stopImmediatePropagation=Y.noop,this.preventDefault=Y.noop,this.type=et.type,this.target=this.currentTarget=rt.dom,this.pointerType=et.pointerType,this.clientX=et.clientX,this.clientY=et.clientY}}(),Mt={mousedown:function(q){q=(0,R.e0)(this.dom,q),this.__mayPointerCapture=[q.zrX,q.zrY],this.trigger("mousedown",q)},mousemove:function(q){q=(0,R.e0)(this.dom,q);var rt=this.__mayPointerCapture;rt&&(q.zrX!==rt[0]||q.zrY!==rt[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",q)},mouseup:function(q){q=(0,R.e0)(this.dom,q),this.__togglePointerCapture(!1),this.trigger("mouseup",q)},mouseout:function(q){at(this,(q=(0,R.e0)(this.dom,q)).toElement||q.relatedTarget)||(this.__pointerCapturing&&(q.zrEventC
1ontrol="no_globalout"),this.trigger("mouseout",q))},wheel:function(q){V=!0,q=(0,R.e0)(this.dom,q),this.trigger("mousewheel",q)},mousewheel:function(q){V||(q=(0,R.e0)(this.dom,q),this.trigger("mousewheel",q))},touchstart:function(q){tt(q=(0,R.e0)(this.dom,q)),this.__lastTouchMoment=new Date,this.handler.processGesture(q,"start"),Mt.mousemove.call(this,q),Mt.mousedown.call(this,q)},touchmove:function(q){tt(q=(0,R.e0)(this.dom,q)),this.handler.processGesture(q,"change"),Mt.mousemove.call(this,q)},touchend:function(q){tt(q=(0,R.e0)(this.dom,q)),this.handler.processGesture(q,"end"),Mt.mouseup.call(this,q),+new Date-+this.__lastTouchMoment<300&&Mt.click.call(this,q)},pointerdown:function(q){Mt.mousedown.call(this,q)},pointermove:function(q){k(q)||Mt.mousemove.call(this,q)},pointerup:function(q){Mt.mouseup.call(this,q)},pointerout:function(q){k(q)||Mt.mouseout.call(this,q)}};Y.each(["click","dblclick","contextmenu"],function(q){Mt[q]=function(rt){rt=(0,R.e0)(this.dom,rt),this.trigger(q,rt)}});var At={pointermove:function(q){k(q)||At.mousemove.call(this,q)},pointerup:function(q){At.mouseup.call(this,q)},mousemove:function(q){this.trigger("mousemove",q)},mouseup:function(q){var rt=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",q),rt&&(q.zrEventControl="only_globalout",this.trigger("mouseout",q))}};function le(q,rt,et,st){q.mounted[rt]=et,q.listenerOpts[rt]=st,(0,R.q2)(q.domTarget,rt,et,st)}function vt(q){var rt=q.mounted;for(var et in rt)rt.hasOwnProperty(et)&&(0,R.f)(q.domTarget,et,rt[et],q.listenerOpts[et]);q.mounted={}}var dt=function(){return function q(rt,et){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=rt,this.domHandlers=et}}(),it=function(q){function rt(et,st){var zt=q.call(this)||this;return zt.__pointerCapturing=!1,zt.dom=et,zt.painterRoot=st,zt._localHandlerScope=new dt(et,Mt),D&&(zt._globalHandlerScope=new dt(document,At)),function Kt(q,rt){var et=rt.domHandlers;x.A.pointerEventsSupported?Y.each(N.pointer,function(st){le(rt,st,function(zt){et[st].call(q,zt)})}):(x.A.touchEventsSupported&&Y.each(N.touch,function(st){le(rt,st,function(zt){et[st].call(q,zt),function $(q){q.touching=!0,null!=q.touchTimer&&(clearTimeout(q.touchTimer),q.touchTimer=null),q.touchTimer=setTimeout(function(){q.touching=!1,q.touchTimer=null},700)}(rt)})}),Y.each(N.mouse,function(st){le(rt,st,function(zt){zt=(0,R.mK)(zt),rt.touching||et[st].call(q,zt)})}))}(zt,zt._localHandlerScope),zt}return(0,b.C6)(rt,q),rt.prototype.dispose=function(){vt(this._localHandlerScope),D&&vt(this._globalHandlerScope)},rt.prototype.setCursor=function(et){this.dom.style&&(this.dom.style.cursor=et||"default")},rt.prototype.__togglePointerCapture=function(et){if(this.__mayPointerCapture=null,D&&+this.__pointerCapturing^+et){this.__pointerCapturing=et;var st=this._globalHandlerScope;et?function qt(q,rt){function et(st){le(rt,st,function zt(Bt){Bt=(0,R.mK)(Bt),at(q,Bt.target)||(Bt=function ot(q,rt){return(0,R.e0)(q.dom,new pt(q,rt),!0)}(q,Bt),rt.domHandlers[st].call(q,Bt))},{capture:!0})}x.A.pointerEventsSupported?Y.each(I_pointer,et):x.A.touchEventsSupported||Y.each(I_mouse,et)}(this,st):vt(st)}},rt}(w.A);const lt=it;var ct,bt=l(3235),Ut=l(89859),Ht=l(67469),fe={},ue={},_e=function(){function q(rt,et,st){var zt=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,st=st||{},this.dom=et,this.id=rt;var Bt=new t,re=st.renderer||"canvas";fe[re]||(re=Y.keys(fe)[0]),st.useDirtyRect=null!=st.useDirtyRect&&st.useDirtyRect;var ae=new fe[re](et,Bt,st,rt),Ae=st.ssr||ae.ssrOnly;this.storage=Bt,this.painter=ae;var Jt,Dt=x.A.node||x.A.worker||Ae?null:new lt(ae.getViewportRoot(),ae.root),mt=st.useCoarsePointer;(null==mt||"auto"===mt?x.A.touchEventsSupported:!!mt)&&(Jt=Y.retrieve2(st.pointerSize,44)),this.handler=new h(Bt,ae,Dt,ae.root,Jt),this.animation=new H({stage:{update:Ae?null:function(){return zt._flush(!0)}}}),Ae||this.animation.start()}return q.prototype.add=function(rt){this._disposed||!rt||(this.storage.addRoot(rt),rt.addSelfToZr(this),this.refresh())},q.prototype.remove=function(rt){this._disposed||!rt||(this.storage.delRoot(rt),rt.removeSelfFromZr(this),this.refresh())},q.prototype.configLayer=function(rt,et){this._disposed||(this.painter.configLayer&&this.painter.configLayer(rt,et),this.refresh())}
1,q.prototype.setBackgroundColor=function(rt){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(rt),this.refresh(),this._backgroundColor=rt,this._darkMode=function Me(q){if(!q)return!1;if("string"==typeof q)return(0,bt.lum)(q,1)<Ut.ps;if(q.colorStops){for(var rt=q.colorStops,et=0,st=rt.length,zt=0;zt<st;zt++)et+=(0,bt.lum)(rt[zt].color,1);return(et/=st)<Ut.ps}return!1}(rt))},q.prototype.getBackgroundColor=function(){return this._backgroundColor},q.prototype.setDarkMode=function(rt){this._darkMode=rt},q.prototype.isDarkMode=function(){return this._darkMode},q.prototype.refreshImmediately=function(rt){this._disposed||(rt||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},q.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},q.prototype.flush=function(){this._disposed||this._flush(!1)},q.prototype._flush=function(rt){var et,st=B();this._needsRefresh&&(et=!0,this.refreshImmediately(rt)),this._needsRefreshHover&&(et=!0,this.refreshHoverImmediately());var zt=B();et?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:zt-st})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},q.prototype.setSleepAfterStill=function(rt){this._sleepAfterStill=rt},q.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},q.prototype.refreshHover=function(){this._needsRefreshHover=!0},q.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},q.prototype.resize=function(rt){this._disposed||(this.painter.resize((rt=rt||{}).width,rt.height),this.handler.resize())},q.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},q.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},q.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},q.prototype.setCursorStyle=function(rt){this._disposed||this.handler.setCursorStyle(rt)},q.prototype.findHover=function(rt,et){if(!this._disposed)return this.handler.findHover(rt,et)},q.prototype.on=function(rt,et,st){return this._disposed||this.handler.on(rt,et,st),this},q.prototype.off=function(rt,et){this._disposed||this.handler.off(rt,et)},q.prototype.trigger=function(rt,et){this._disposed||this.handler.trigger(rt,et)},q.prototype.clear=function(){if(!this._disposed){for(var rt=this.storage.getRoots(),et=0;et<rt.length;et++)rt[et]instanceof Ht.A&&rt[et].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},q.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,function ye(q){delete ue[q]}(this.id))},q}();function Se(q,rt){var et=new _e(Y.guid(),q,rt);return ue[et.id]=et,et}function J(q){q.dispose()}function yt(){for(var q in ue)ue.hasOwnProperty(q)&&ue[q].dispose();ue={}}function kt(q){return ue[q]}function Qt(q,rt){fe[q]=rt}function Lt(q){if("function"==typeof ct)return ct(q)}function Gt(q){ct=q}var $t="5.6.1"}}]); 2//# sourceMappingURL=default-libs_angular_reports_src_index_ts.0ea9fb2910dca939.js.map
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.