@chenpu17/cc-gw 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +5 -5
- package/src/web/dist/assets/{About-DockN9He.js → About-BCHV3wbt.js} +1 -1
- package/src/web/dist/assets/ApiKeys-Do48QVpZ.js +1 -0
- package/src/web/dist/assets/Dashboard-BizLDn_V.js +1 -0
- package/src/web/dist/assets/{DialogShell-BKB8x8Yv.js → DialogShell-CiIvBp8J.js} +1 -1
- package/src/web/dist/assets/EChart-VRAvk6sX.js +1 -0
- package/src/web/dist/assets/{Events-CmUNBQ-L.js → Events-DpPg8dt0.js} +1 -1
- package/src/web/dist/assets/{Help-Bo6GcOG7.js → Help-B9ewdIkl.js} +1 -1
- package/src/web/dist/assets/{Login-uKKAO1uN.js → Login-5O2Xtr5G.js} +1 -1
- package/src/web/dist/assets/{Logs-ChD1V5Mf.js → Logs-D29vlNyO.js} +1 -1
- package/src/web/dist/assets/{ModelManagement-DTlt9WMp.js → ModelManagement-CrmNhCAh.js} +1 -1
- package/src/web/dist/assets/{PageHeader-DWkUnwoU.js → PageHeader-CSF0BWul.js} +1 -1
- package/src/web/dist/assets/{PageSection-9-z2ysug.js → PageSection-Bp_SuEp0.js} +1 -1
- package/src/web/dist/assets/{PageState-5sxEzXut.js → PageState-BeXrzVEe.js} +1 -1
- package/src/web/dist/assets/{Profiler-DBeKtgDs.js → Profiler-Cwuq3cjV.js} +1 -1
- package/src/web/dist/assets/{Settings-YMHmPlBz.js → Settings-Q6TBItFQ.js} +1 -1
- package/src/web/dist/assets/{Skeleton-CvBK2w-C.js → Skeleton-8j6Dxod1.js} +1 -1
- package/src/web/dist/assets/{badge-tREH_88e.js → badge-BvMdmUqJ.js} +1 -1
- package/src/web/dist/assets/{card-yK3LQB_K.js → card-CjhYPqKk.js} +1 -1
- package/src/web/dist/assets/{charts-core-vuhzGmuT.js → charts-core-C-3-Lo7l.js} +1 -1
- package/src/web/dist/assets/{charts-engine-BJQRnjQ_.js → charts-engine-BI1CmRJo.js} +1 -1
- package/src/web/dist/assets/{charts-react-BeVWPrMt.js → charts-react-DJ_0LNAP.js} +1 -1
- package/src/web/dist/assets/{gateway-D-NOc-e6.js → gateway-B0gBBN92.js} +1 -1
- package/src/web/dist/assets/{i18n-CfLThlXq.js → i18n-C7VVFIdN.js} +1 -1
- package/src/web/dist/assets/index-BzuBtvAC.js +61 -0
- package/src/web/dist/assets/{input-CXrASgDm.js → input-BnFZKjRM.js} +1 -1
- package/src/web/dist/assets/{label-CzHv4dNP.js → label-i5-Lf72z.js} +1 -1
- package/src/web/dist/assets/{popover-C-WmNbKp.js → popover-EFz6sQ7C.js} +1 -1
- package/src/web/dist/assets/{query-D3IfCUhp.js → query-DxhDvnDC.js} +1 -1
- package/src/web/dist/assets/{radix-54BMi3RD.js → radix-CmyU-WBH.js} +1 -1
- package/src/web/dist/assets/{router-CmaL1NgV.js → router-D8u_RlVh.js} +1 -1
- package/src/web/dist/assets/{select-DH6I1mKJ.js → select-KdDvaKo4.js} +1 -1
- package/src/web/dist/assets/{switch-IXq8M3lq.js → switch-BVWWsjy3.js} +1 -1
- package/src/web/dist/assets/{useApiQuery-CCy5_Mc8.js → useApiQuery-fBWRSgFK.js} +1 -1
- package/src/web/dist/assets/{useAppMutation-COEUmNH4.js → useAppMutation-Cd6HN12q.js} +1 -1
- package/src/web/dist/assets/{vendor-CjJPKsTb.js → vendor-5iCEqDpV.js} +1 -1
- package/src/web/dist/index.html +6 -6
- package/src/web/dist/assets/ApiKeys-Fx_SaOSe.js +0 -1
- package/src/web/dist/assets/Dashboard-De61szKh.js +0 -1
- package/src/web/dist/assets/EChart-Dqa_Xbrn.js +0 -1
- package/src/web/dist/assets/index-BiTh8byX.js +0 -61
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as B,r as Mr,m as F,a as nt,b as G,c as ae,d as ei,e as R,f as H,g as b,h as oe,j as ee,k as Au,l as N,n as W,P as ke,o as Zo,p as Nn,q as Ye,s as Q,t as Xv,Z as Jt,u as te,v as Gi,w as Sn,x as Zv,y as $v,C as Bn,E as Hi,S as Qt,R as Wi,z as Ui,A as Yi,B as se,L as _t,D as Xi,F as Fn,G as Kv,H as kt,T as qv,I as Zi,J as at,K as jv,M as Jv,N as Ue,O as Mu,Q as pe,U as Iu,V as $i,W as xn,X as Qv,Y as Pu,_ as ce,$ as Hr,a0 as q,a1 as $,a2 as ot,a3 as eh,a4 as ye,a5 as ie,a6 as Pe,a7 as fe,a8 as j,a9 as ti,aa as th,ab as St,ac as ri,ad as rh,ae as nh,af as Lu,ag as ku,ah as Vn,ai as Eu,aj as $o,ak as pa,al as ah,am as ih,an as ni,ao as ai,ap as oh,aq as Ko,ar as sh,as as lh,at as uh,au as Ru,av as fh,aw as ch,ax as vh,ay as hh,az as dh,aA as ph,aB as qo,aC as jo,aD as gh,aE as Ir,aF as Ou,aG as mh,aH as yh,aI as _h,aJ as Jo,aK as Sh,aL as xh,aM as bh,aN as wh,aO as Ch}from"./charts-engine-BJQRnjQ_.js";import{_ as V}from"./vendor-CjJPKsTb.js";var Qo=1e-4,Nu=20;function Dh(r){return r.replace(/^\s+|\s+$/g,"")}function ii(r,t,e,n){var a=t[0],i=t[1],o=e[0],s=e[1],l=i-a,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(r<=a)return o;if(r>=i)return s}else{if(r>=a)return o;if(r<=i)return s}else{if(r===a)return o;if(r===i)return s}return(r-a)/l*u+o}function _e(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return B(r)?Dh(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ne(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),Nu),r=(+r).toFixed(t),e?r:+r}function Th(r){return r.sort(function(t,e){return t-e}),r}function Xe(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return Bu(r)}function Bu(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,a=e>0?e:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function Fu(r,t){var e=Math.log,n=Math.LN10,a=Math.floor(e(r[1]-r[0])/n),i=Math.round(e(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function Ah(r,t,e){if(!r[t])return 0;var n=Mh(r,e);return n[t]||0}function Mh(r,t){var e=Mr(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(e===0)return[];for(var n=Math.pow(10,t),a=F(r,function(v){return(isNaN(v)?0:v)/e*n*100}),i=n*100,o=F(a,function(v){return Math.floor(v)}),s=Mr(o,function(v,d){return v+d},0),l=F(a,function(v,d){return v-o[d]});s<i;){for(var u=Number.NEGATIVE_INFINITY,f=null,c=0,h=l.length;c<h;++c)l[c]>u&&(u=l[c],f=c);++o[f],l[f]=0,++s}return F(o,function(v){return v/n})}function Ih(r,t){var e=Math.max(Xe(r),Xe(t)),n=r+t;return e>Nu?n:ne(n,e)}var Ph=9007199254740991;function Ki(r){var t=Math.PI*2;return(r%t+t)%t}function Pr(r){return r>-Qo&&r<Qo}var Lh=/^(?:(\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 Be(r){if(r instanceof Date)return r;if(B(r)){var t=Lh.exec(r);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function Vu(r){return Math.pow(10,zn(r))}function zn(r){if(r===0)return 0;var t=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,t)>=10&&t++,t}function qi(r,t){var e=zn(r),n=Math.pow(10,e),a=r/n,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,r=i*n,e>=-20?+r.toFixed(e<0?-e:0):r}function kh(r,t){var e=(r.length-1)*t+1,n=Math.floor(e),a=+r[n-1],i=e-n;return i?a+i*(r[n]-a):a}function Eh(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,n=0;n<r.length;){for(var a=r[n].interval,i=r[n].close,o=0;o<2;o++)a[o]<=t&&(a[o]=t,i[o]=o?1:1-e),t=a[o],e=i[o];a[0]===a[1]&&i[0]*i[1]!==1?r.splice(n,1):n++}return r;function s(l,u,f){return l.interval[f]<u.interval[f]||l.interval[f]===u.interval[f]&&(l.close[f]-u.close[f]===(f?-1:1)||!f&&s(l,u,1))}}function Lr(r){var t=parseFloat(r);return t==r&&(t!==0||!B(r)||r.indexOf("x")<=0)?t:NaN}function zu(r){return!isNaN(Lr(r))}function Gu(){return Math.round(Math.random()*9)}function Hu(r,t){return t===0?r:Hu(t,r%t)}function es(r,t){return r==null?t:t==null?r:r*t/Hu(r,t)}function we(r){throw new Error(r)}function ts(r,t,e){return(t-r)*e+r}var Wu="series\0",Rh="\0_ec_\0";function Se(r){return r instanceof Array?r:r==null?[]:[r]}function rs(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,a=e.length;n<a;n++){var i=e[n];!r.emphasis[t].hasOwnProperty(i)&&r[t].hasOwnProperty(i)&&(r.emphasis[t][i]=r[t][i])}}}var ns=["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 Wr(r){return G(r)&&!R(r)&&!(r instanceof Date)?r.value:r}function Oh(r){return G(r)&&!(r instanceof Array)}function Nh(r,t,e){var n=e==="normalMerge",a=e==="replaceMerge",i=e==="replaceAll";r=r||[],t=(t||[]).slice();var o=H();b(t,function(l,u){if(!G(l)){t[u]=null;return}});var s=Bh(r,o,e);return(n||a)&&Fh(s,r,o,t),n&&Vh(s,t),n||a?zh(s,t,a):i&&Gh(s,t),Hh(s),s}function Bh(r,t,e){var n=[];if(e==="replaceAll")return n;for(var a=0;a<r.length;a++){var i=r[a];i&&i.id!=null&&t.set(i.id,a),n.push({existing:e==="replaceMerge"||kr(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return n}function Fh(r,t,e,n){b(n,function(a,i){if(!(!a||a.id==null)){var o=_r(a.id),s=e.get(o);if(s!=null){var l=r[s];nt(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=a,l.existing=t[s],n[i]=null}}})}function Vh(r,t){b(t,function(e,n){if(!(!e||e.name==null))for(var a=0;a<r.length;a++){var i=r[a].existing;if(!r[a].newOption&&i&&(i.id==null||e.id==null)&&!kr(e)&&!kr(i)&&Uu("name",i,e)){r[a].newOption=e,t[n]=null;return}}})}function zh(r,t,e){b(t,function(n){if(n){for(var a,i=0;(a=r[i])&&(a.newOption||kr(a.existing)||a.existing&&n.id!=null&&!Uu("id",n,a.existing));)i++;a?(a.newOption=n,a.brandNew=e):r.push({newOption:n,brandNew:e,existing:null,keyInfo:null}),i++}})}function Gh(r,t){b(t,function(e){r.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function Hh(r){var t=H();b(r,function(e){var n=e.existing;n&&t.set(n.id,e)}),b(r,function(e){var n=e.newOption;nt(!n||n.id==null||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})}),b(r,function(e,n){var a=e.existing,i=e.newOption,o=e.keyInfo;if(G(i)){if(o.name=i.name!=null?_r(i.name):a?a.name:Wu+n,a)o.id=_r(a.id);else if(i.id!=null)o.id=_r(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,e)}})}function Uu(r,t,e){var n=$e(t[r],null),a=$e(e[r],null);return n!=null&&a!=null&&n===a}function _r(r){return $e(r,"")}function $e(r,t){return r==null?t:B(r)?r:ae(r)||ei(r)?r+"":t}function ji(r){var t=r.name;return!!(t&&t.indexOf(Wu))}function kr(r){return r&&r.id!=null&&_r(r.id).indexOf(Rh)===0}function Wh(r,t,e){b(r,function(n){var a=n.newOption;G(a)&&(n.keyInfo.mainType=t,n.keyInfo.subType=Uh(t,a,n.existing,e))})}function Uh(r,t,e,n){var a=t.type?t.type:e?e.subType:n.determineSubType(r,t);return a}function Et(r,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return R(t.dataIndex)?F(t.dataIndex,function(e){return r.indexOfRawIndex(e)}):r.indexOfRawIndex(t.dataIndex);if(t.name!=null)return R(t.name)?F(t.name,function(e){return r.indexOfName(e)}):r.indexOfName(t.name)}function le(){var r="__ec_inner_"+Yh++;return function(t){return t[r]||(t[r]={})}}var Yh=Gu();function ga(r,t,e){var n=Ji(t,e),a=n.mainTypeSpecified,i=n.queryOptionMap,o=n.others,s=o,l=e?e.defaultMainType:null;return!a&&l&&i.set(l,{}),i.each(function(u,f){var c=Ur(r,f,u,{useDefault:l===f,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});s[f+"Models"]=c.models,s[f+"Model"]=c.models[0]}),s}function Ji(r,t){var e;if(B(r)){var n={};n[r+"Index"]=0,e=n}else e=r;var a=H(),i={},o=!1;return b(e,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){i[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],f=u[1],c=(u[2]||"").toLowerCase();if(!(!f||!c||t&&t.includeMainTypes&&oe(t.includeMainTypes,f)<0)){o=o||!!f;var h=a.get(f)||a.set(f,{});h[c]=s}}),{mainTypeSpecified:o,queryOptionMap:a,others:i}}var We={useDefault:!0,enableAll:!1,enableNone:!1};function Ur(r,t,e,n){n=n||We;var a=e.index,i=e.id,o=e.name,s={models:null,specified:a!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=r.getComponent(t))?[l]:[],s}return a==="none"||a===!1?(nt(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(a==="all"&&(nt(n.enableAll,'`"all"` is not a valid value on index option.'),a=i=o=null),s.models=r.queryComponents({mainType:t,index:a,id:i,name:o}),s)}function Yu(r,t,e){r.setAttribute?r.setAttribute(t,e):r[t]=e}function Xh(r,t){return r.getAttribute?r.getAttribute(t):r[t]}function Zh(r){return r==="auto"?ee.domSupported?"html":"richText":r||"html"}function $h(r,t,e,n,a){var i=t==null||t==="auto";if(n==null)return n;if(ae(n)){var o=ts(e||0,n,a);return ne(o,i?Math.max(Xe(e||0),Xe(n)):t)}else{if(B(n))return a<1?e:n;for(var s=[],l=e,u=n,f=Math.max(l?l.length:0,u.length),c=0;c<f;++c){var h=r.getDimensionInfo(c);if(h&&h.type==="ordinal")s[c]=(a<1&&l?l:u)[c];else{var v=l&&l[c]?l[c]:0,d=u[c],o=ts(v,d,a);s[c]=ne(o,i?Math.max(Xe(v),Xe(d)):t)}}return s}}var Kh=".",wt="___EC__COMPONENT__CONTAINER___",Xu="___EC__EXTENDED_CLASS___";function Ze(r){var t={main:"",sub:""};if(r){var e=r.split(Kh);t.main=e[0]||"",t.sub=e[1]||""}return t}function qh(r){nt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function jh(r){return!!(r&&r[Xu])}function Qi(r,t){r.$constructor=r,r.extend=function(e){var n=this,a;return Jh(n)?a=function(i){V(o,i);function o(){return i.apply(this,arguments)||this}return o}(n):(a=function(){(e.$constructor||n).apply(this,arguments)},Au(a,this)),N(a.prototype,e),a[Xu]=!0,a.extend=this.extend,a.superCall=td,a.superApply=rd,a.superClass=n,a}}function Jh(r){return W(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function Zu(r,t){r.extend=t.extend}var Qh=Math.round(Math.random()*10);function ed(r){var t=["__\0is_clz",Qh++].join("_");r.prototype[t]=!0,r.isInstance=function(e){return!!(e&&e[t])}}function td(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return this.superClass.prototype[t].apply(r,e)}function rd(r,t,e){return this.superClass.prototype[t].apply(r,e)}function Gn(r){var t={};r.registerClass=function(n){var a=n.type||n.prototype.type;if(a){qh(a),n.prototype.type=a;var i=Ze(a);if(!i.sub)t[i.main]=n;else if(i.sub!==wt){var o=e(i);o[i.sub]=n}}return n},r.getClass=function(n,a,i){var o=t[n];if(o&&o[wt]&&(o=a?o[a]:null),i&&!o)throw new Error(a?"Component "+n+"."+(a||"")+" is used but not imported.":n+".type should be specified.");return o},r.getClassesByMainType=function(n){var a=Ze(n),i=[],o=t[a.main];return o&&o[wt]?b(o,function(s,l){l!==wt&&i.push(s)}):i.push(o),i},r.hasClass=function(n){var a=Ze(n);return!!t[a.main]},r.getAllClassMainTypes=function(){var n=[];return b(t,function(a,i){n.push(i)}),n},r.hasSubTypes=function(n){var a=Ze(n),i=t[a.main];return i&&i[wt]};function e(n){var a=t[n.main];return(!a||!a[wt])&&(a=t[n.main]={},a[wt]=!0),a}}function Er(r,t){for(var e=0;e<r.length;e++)r[e][1]||(r[e][1]=r[e][0]);return t=t||!1,function(n,a,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(a&&oe(a,l)>=0||i&&oe(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var nd=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ad=Er(nd),id=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return ad(this,t,e)},r}(),Y=le(),od=function(r,t,e,n){if(n){var a=Y(n);a.dataIndex=e,a.dataType=t,a.seriesIndex=r,a.ssrType="chart",n.type==="group"&&n.traverse(function(i){var o=Y(i);o.seriesIndex=r,o.dataIndex=e,o.dataType=t,o.ssrType="chart"})}},as=1,is={},$u=le(),eo=le(),to=0,Hn=1,Wn=2,Ke=["emphasis","blur","select"],os=["normal","emphasis","blur","select"],sd=10,ld=9,It="highlight",hn="downplay",Sr="select",dn="unselect",xr="toggleSelect";function Ft(r){return r!=null&&r!=="none"}function Un(r,t,e){r.onHoverStateChange&&(r.hoverState||0)!==e&&r.onHoverStateChange(t),r.hoverState=e}function Ku(r){Un(r,"emphasis",Wn)}function qu(r){r.hoverState===Wn&&Un(r,"normal",to)}function ro(r){Un(r,"blur",Hn)}function ju(r){r.hoverState===Hn&&Un(r,"normal",to)}function ud(r){r.selected=!0}function fd(r){r.selected=!1}function ss(r,t,e){t(r,e)}function st(r,t,e){ss(r,t,e),r.isGroup&&r.traverse(function(n){ss(n,t,e)})}function ls(r,t){switch(t){case"emphasis":r.hoverState=Wn;break;case"normal":r.hoverState=to;break;case"blur":r.hoverState=Hn;break;case"select":r.selected=!0}}function cd(r,t,e,n){for(var a=r.style,i={},o=0;o<t.length;o++){var s=t[o],l=a[s];i[s]=l??(n&&n[s])}for(var o=0;o<r.animators.length;o++){var u=r.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(e)<0&&u.targetName==="style"&&u.saveTo(i,t)}return i}function vd(r,t,e,n){var a=e&&oe(e,"select")>=0,i=!1;if(r instanceof ke){var o=$u(r),s=a&&o.selectFill||o.normalFill,l=a&&o.selectStroke||o.normalStroke;if(Ft(s)||Ft(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(i=!0,n=N({},n),u=N({},u),u.fill=s):!Ft(u.fill)&&Ft(s)?(i=!0,n=N({},n),u=N({},u),u.fill=Zo(s)):!Ft(u.stroke)&&Ft(l)&&(i||(n=N({},n),u=N({},u)),u.stroke=Zo(l)),n.style=u}}if(n&&n.z2==null){i||(n=N({},n));var f=r.z2EmphasisLift;n.z2=r.z2+(f??sd)}return n}function hd(r,t,e){if(e&&e.z2==null){e=N({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??ld)}return e}function dd(r,t,e){var n=oe(r.currentStates,t)>=0,a=r.style.opacity,i=n?null:cd(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=N({},e),o=N({opacity:n?a:i.opacity*.1},o),e.style=o),e}function ma(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return vd(this,r,t,e);if(r==="blur")return dd(this,r,e);if(r==="select")return hd(this,r,e)}return e}function pd(r){r.stateProxy=ma;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=ma),e&&(e.stateProxy=ma)}function us(r,t){!tf(r,t)&&!r.__highByOuter&&st(r,Ku)}function fs(r,t){!tf(r,t)&&!r.__highByOuter&&st(r,qu)}function bn(r,t){r.__highByOuter|=1<<(t||0),st(r,Ku)}function wn(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&st(r,qu)}function gd(r){st(r,ro)}function Ju(r){st(r,ju)}function Qu(r){st(r,ud)}function ef(r){st(r,fd)}function tf(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function rf(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(a,i){var o=eo(i),s=a==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){ju(u)}),s&&e.push(i)),o.isBlured=!1}),b(n,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(e,!1,t)})}function oi(r,t,e,n){var a=n.getModel();e=e||"coordinateSystem";function i(u,f){for(var c=0;c<f.length;c++){var h=u.getItemGraphicEl(f[c]);h&&Ju(h)}}if(r!=null&&!(!t||t==="none")){var o=a.getSeriesByIndex(r),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];a.eachSeries(function(u){var f=o===u,c=u.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&s?c===s:f;if(!(e==="series"&&!f||e==="coordinateSystem"&&!h||t==="series"&&f)){var v=n.getViewOfSeriesModel(u);if(v.group.traverse(function(m){m.__highByOuter&&f&&t==="self"||ro(m)}),Nn(t))i(u.getData(),t);else if(G(t))for(var d=Ye(t),p=0;p<d.length;p++)i(u.getData(d[p]),t[d[p]]);l.push(u),eo(u).isBlured=!0}}),a.eachComponent(function(u,f){if(u!=="series"){var c=n.getViewOfComponentModel(f);c&&c.toggleBlurSeries&&c.toggleBlurSeries(l,!0,a)}})}}function si(r,t,e){if(!(r==null||t==null)){var n=e.getModel().getComponent(r,t);if(n){eo(n).isBlured=!0;var a=e.getViewOfComponentModel(n);!a||!a.focusBlurEnabled||a.group.traverse(function(i){ro(i)})}}}function md(r,t,e){var n=r.seriesIndex,a=r.getData(t.dataType);if(a){var i=Et(a,t);i=(R(i)?i[0]:i)||0;var o=a.getItemGraphicEl(i);if(!o)for(var s=a.count(),l=0;!o&&l<s;)o=a.getItemGraphicEl(l++);if(o){var u=Y(o);oi(n,u.focus,u.blurScope,e)}else{var f=r.get(["emphasis","focus"]),c=r.get(["emphasis","blurScope"]);f!=null&&oi(n,f,c,e)}}}function no(r,t,e,n){var a={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||t==null||e==null)return a;var i=n.getModel().getComponent(r,t);if(!i)return a;var o=n.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return a;for(var s=o.findHighDownDispatchers(e),l,u=0;u<s.length;u++)if(Y(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function yd(r,t,e){var n=Y(r),a=no(n.componentMainType,n.componentIndex,n.componentHighDownName,e),i=a.dispatchers,o=a.focusSelf;i?(o&&si(n.componentMainType,n.componentIndex,e),b(i,function(s){return us(s,t)})):(oi(n.seriesIndex,n.focus,n.blurScope,e),n.focus==="self"&&si(n.componentMainType,n.componentIndex,e),us(r,t))}function _d(r,t,e){rf(e);var n=Y(r),a=no(n.componentMainType,n.componentIndex,n.componentHighDownName,e).dispatchers;a?b(a,function(i){return fs(i,t)}):fs(r,t)}function Sd(r,t,e){if(fi(t)){var n=t.dataType,a=r.getData(n),i=Et(a,t);R(i)||(i=[i]),r[t.type===xr?"toggleSelect":t.type===Sr?"select":"unselect"](i,n)}}function cs(r){var t=r.getAllData();b(t,function(e){var n=e.data,a=e.type;n.eachItemGraphicEl(function(i,o){r.isSelected(o,a)?Qu(i):ef(i)})})}function xd(r){var t=[];return r.eachSeries(function(e){var n=e.getAllData();b(n,function(a){a.data;var i=a.type,o=e.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:e.seriesIndex};i!=null&&(s.dataType=i),t.push(s)}})}),t}function Cn(r,t,e){nf(r,!0),st(r,pd),wd(r,t,e)}function bd(r){nf(r,!1)}function Dn(r,t,e,n){n?bd(r):Cn(r,t,e)}function wd(r,t,e){var n=Y(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var vs=["emphasis","blur","select"],Cd={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function li(r,t,e,n){e=e||"itemStyle";for(var a=0;a<vs.length;a++){var i=vs[a],o=t.getModel([i,e]),s=r.ensureState(i);s.style=o[Cd[e]]()}}function nf(r,t){var e=t===!1,n=r;r.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!e||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!e)}function ui(r){return!!(r&&r.__highDownDispatcher)}function Dd(r){var t=is[r];return t==null&&as<=32&&(t=is[r]=as++),t}function fi(r){var t=r.type;return t===Sr||t===dn||t===xr}function hs(r){var t=r.type;return t===It||t===hn}function Td(r){var t=$u(r);t.normalFill=r.style.fill,t.normalStroke=r.style.stroke;var e=r.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}var Ad=le();function Md(r,t,e,n,a){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=r==="update";if(s){var u=void 0,f=void 0,c=void 0;n?(u=Q(n.duration,200),f=Q(n.easing,"cubicOut"),c=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),f=t.getShallow(l?"animationEasingUpdate":"animationEasing"),c=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(f=i.easing),i.delay!=null&&(c=i.delay)),W(c)&&(c=c(e,a)),W(u)&&(u=u(e));var h={duration:u||0,delay:c,easing:f};return h}else return null}function ao(r,t,e,n,a,i,o){var s=!1,l;W(a)?(o=i,i=a,a=null):G(a)&&(i=a.cb,o=a.during,s=a.isFrom,l=a.removeOpt,a=a.dataIndex);var u=r==="leave";u||t.stopAnimation("leave");var f=Md(r,n,a,u?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,a):null);if(f&&f.duration>0){var c=f.duration,h=f.delay,v=f.easing,d={duration:c,delay:h||0,easing:v,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),i&&i()}function De(r,t,e,n,a,i){ao("update",r,t,e,n,a,i)}function qe(r,t,e,n,a,i){ao("enter",r,t,e,n,a,i)}function br(r){if(!r.__zr)return!0;for(var t=0;t<r.animators.length;t++){var e=r.animators[t];if(e.scope==="leave")return!0}return!1}function Tn(r,t,e,n,a,i){br(r)||ao("leave",r,t,e,n,a,i)}function ds(r,t,e,n){r.removeTextContent(),r.removeTextGuideLine(),Tn(r,{style:{opacity:0}},t,e,n)}function ci(r,t,e){function n(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(a){a.isGroup||ds(a,t,e,n)}):ds(r,t,e,n)}function af(r){Ad(r).oldStyle=r.style}var An=Math.max,Mn=Math.min,vi={};function of(r){return ke.extend(r)}var Id=$v;function sf(r,t){return Id(r,t)}function Fe(r,t){vi[r]=t}function lf(r){if(vi.hasOwnProperty(r))return vi[r]}function Yn(r,t,e,n){var a=Zv(r,t);return e&&(n==="center"&&(e=uf(e,a.getBoundingRect())),oo(a,e)),a}function io(r,t,e){var n=new Jt({style:{image:r,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(a){if(e==="center"){var i={width:a.width,height:a.height};n.setStyle(uf(t,i))}}});return n}function uf(r,t){var e=t.width/t.height,n=r.height*e,a;n<=r.width?a=r.height:(n=r.width,a=n/e);var i=r.x+r.width/2,o=r.y+r.height/2;return{x:i-n/2,y:o-a/2,width:n,height:a}}var ff=Xv;function oo(r,t){if(r.applyTransform){var e=r.getBoundingRect(),n=e.calculateTransform(t);r.applyTransform(n)}}function Rr(r,t){return jv(r,r,{lineWidth:t}),r}function Pd(r){return Jv(r.shape,r.shape,r.style),r}var Ld=Kv;function cf(r,t){for(var e=Gi([]);r&&r!==t;)Sn(e,r.getLocalTransform(),e),r=r.parent;return e}function so(r,t,e){return t&&!Nn(t)&&(t=qv.getLocalTransform(t)),e&&(t=Zi([],t)),at([],r,t)}function kd(r,t,e){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),a=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),i=[r==="left"?-n:r==="right"?n:0,r==="top"?-a:r==="bottom"?a:0];return i=so(i,t,e),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function ps(r){return!r.isGroup}function Ed(r){return r.shape!=null}function vf(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){ps(l)&&l.anid&&(s[l.anid]=l)}),s}function a(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Ed(o)&&(s.shape=N({},o.shape)),s}var i=n(r);t.traverse(function(o){if(ps(o)&&o.anid){var s=i[o.anid];if(s){var l=a(o);o.attr(a(s)),De(o,l,e,Y(o).dataIndex)}}})}function hf(r,t){return F(r,function(e){var n=e[0];n=An(n,t.x),n=Mn(n,t.x+t.width);var a=e[1];return a=An(a,t.y),a=Mn(a,t.y+t.height),[n,a]})}function df(r,t){var e=An(r.x,t.x),n=Mn(r.x+r.width,t.x+t.width),a=An(r.y,t.y),i=Mn(r.y+r.height,t.y+t.height);if(n>=e&&i>=a)return{x:e,y:a,width:n-e,height:i-a}}function Xn(r,t,e){var n=N({rectHover:!0},t),a=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(a.image=r.slice(8),te(a,e),new Jt(n)):Yn(r.replace("path://",""),n,e,"center")}function Rd(r,t,e,n,a){for(var i=0,o=a[a.length-1];i<a.length;i++){var s=a[i];if(pf(r,t,e,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function pf(r,t,e,n,a,i,o,s){var l=e-r,u=n-t,f=o-a,c=s-i,h=ya(f,c,l,u);if(Od(h))return!1;var v=r-a,d=t-i,p=ya(v,d,l,u)/h;if(p<0||p>1)return!1;var m=ya(v,d,f,c)/h;return!(m<0||m>1)}function ya(r,t,e,n){return r*n-e*t}function Od(r){return r<=1e-6&&r>=-1e-6}function Zn(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,a=B(t)?{formatter:t}:t,i=e.mainType,o=e.componentIndex,s={componentType:i,name:n,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&b(Ye(l),function(f){kt(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=Y(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:n,option:te({content:n,encodeHTMLContent:!0,formatterParams:s},a)}}function gs(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function $n(r,t){if(r)if(R(r))for(var e=0;e<r.length;e++)gs(r[e],t);else gs(r,t)}Fe("circle",Bn);Fe("ellipse",Hi);Fe("sector",Qt);Fe("ring",Wi);Fe("polygon",Ui);Fe("polyline",Yi);Fe("rect",se);Fe("line",_t);Fe("bezierCurve",Xi);Fe("arc",Fn);const Nd=Object.freeze(Object.defineProperty({__proto__:null,Arc:Fn,BezierCurve:Xi,BoundingRect:Ue,Circle:Bn,CompoundPath:Mu,Ellipse:Hi,Group:pe,Image:Jt,IncrementalDisplayable:Iu,Line:_t,LinearGradient:$i,OrientedBoundingRect:xn,Path:ke,Point:Qv,Polygon:Ui,Polyline:Yi,RadialGradient:Pu,Rect:se,Ring:Wi,Sector:Qt,Text:ce,applyTransform:so,clipPointsByRect:hf,clipRectByRect:df,createIcon:Xn,extendPath:sf,extendShape:of,getShapeClass:lf,getTransform:cf,groupTransition:vf,initProps:qe,isElementRemoved:br,lineLineIntersect:pf,linePolygonIntersect:Rd,makeImage:io,makePath:Yn,mergePath:ff,registerShape:Fe,removeElement:Tn,removeElementWithFadeOut:ci,resizePath:oo,setTooltipConfig:Zn,subPixelOptimize:Ld,subPixelOptimizeLine:Rr,subPixelOptimizeRect:Pd,transformDirection:kd,traverseElements:$n,updateProps:De},Symbol.toStringTag,{value:"Module"}));var Kn={};function Bd(r,t){for(var e=0;e<Ke.length;e++){var n=Ke[e],a=t[n],i=r.ensureState(n);i.style=i.style||{},i.style.text=a}var o=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:t.normal}),r.useStates(o,!0)}function ms(r,t,e){var n=r.labelFetcher,a=r.labelDataIndex,i=r.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(a,"normal",null,i,o&&o.get("formatter"),e!=null?{interpolatedValue:e}:null)),s==null&&(s=W(r.defaultText)?r.defaultText(a,r,e):r.defaultText);for(var l={normal:s},u=0;u<Ke.length;u++){var f=Ke[u],c=t[f];l[f]=Q(n?n.getFormattedLabel(a,f,null,i,c&&c.get("formatter")):null,s)}return l}function qn(r,t,e,n){e=e||Kn;for(var a=r instanceof ce,i=!1,o=0;o<os.length;o++){var s=t[os[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=a?r:r.getTextContent();if(i){a||(l||(l=new ce,r.setTextContent(l)),r.stateProxy&&(l.stateProxy=r.stateProxy));var u=ms(e,t),f=t.normal,c=!!f.getShallow("show"),h=it(f,n&&n.normal,e,!1,!a);h.text=u.normal,a||r.setTextConfig(ys(f,e,!1));for(var o=0;o<Ke.length;o++){var v=Ke[o],s=t[v];if(s){var d=l.ensureState(v),p=!!Q(s.getShallow("show"),c);if(p!==c&&(d.ignore=!p),d.style=it(s,n&&n[v],e,!0,!a),d.style.text=u[v],!a){var m=r.ensureState(v);m.textConfig=ys(s,e,!0)}}}l.silent=!!f.getShallow("silent"),l.style.x!=null&&(h.x=l.style.x),l.style.y!=null&&(h.y=l.style.y),l.ignore=!c,l.useStyle(h),l.dirty(),e.enableTextSetter&&(Jn(l).setLabelText=function(g){var y=ms(e,t,g);Bd(l,y)})}else l&&(l.ignore=!0);r.dirty()}function jn(r,t){t=t||"label";for(var e={normal:r.getModel(t)},n=0;n<Ke.length;n++){var a=Ke[n];e[a]=r.getModel([a,t])}return e}function it(r,t,e,n,a){var i={};return Fd(i,r,e,n,a),t&&N(i,t),i}function ys(r,t,e){t=t||{};var n={},a,i=r.getShallow("rotate"),o=Q(r.getShallow("distance"),e?null:5),s=r.getShallow("offset");return a=r.getShallow("position")||(e?null:"inside"),a==="outside"&&(a=t.defaultOutsidePosition||"top"),a!=null&&(n.position=a),s!=null&&(n.offset=s),i!=null&&(i*=Math.PI/180,n.rotation=i),o!=null&&(n.distance=o),n.outsideFill=r.get("color")==="inherit"?t.inheritColor||null:"auto",n}function Fd(r,t,e,n,a){e=e||Kn;var i=t.ecModel,o=i&&i.option.textStyle,s=Vd(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var f=t.getModel(["rich",u]);bs(l[u]={},f,o,e,n,a,!1,!0)}}l&&(r.rich=l);var c=t.get("overflow");c&&(r.overflow=c);var h=t.get("minMargin");h!=null&&(r.margin=h),bs(r,t,o,e,n,a,!0,!1)}function Vd(r){for(var t;r&&r!==r.ecModel;){var e=(r.option||Kn).rich;if(e){t=t||{};for(var n=Ye(e),a=0;a<n.length;a++){var i=n[a];t[i]=1}}r=r.parentModel}return t}var _s=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Ss=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],xs=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function bs(r,t,e,n,a,i,o,s){e=!a&&e||Kn;var l=n&&n.inheritColor,u=t.getShallow("color"),f=t.getShallow("textBorderColor"),c=Q(t.getShallow("opacity"),e.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(f==="inherit"||f==="auto")&&(l?f=l:f=null),i||(u=u||e.color,f=f||e.textBorderColor),u!=null&&(r.fill=u),f!=null&&(r.stroke=f);var h=Q(t.getShallow("textBorderWidth"),e.textBorderWidth);h!=null&&(r.lineWidth=h);var v=Q(t.getShallow("textBorderType"),e.textBorderType);v!=null&&(r.lineDash=v);var d=Q(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);d!=null&&(r.lineDashOffset=d),!a&&c==null&&!s&&(c=n&&n.defaultOpacity),c!=null&&(r.opacity=c),!a&&!i&&r.fill==null&&n.inheritColor&&(r.fill=n.inheritColor);for(var p=0;p<_s.length;p++){var m=_s[p],g=Q(t.getShallow(m),e[m]);g!=null&&(r[m]=g)}for(var p=0;p<Ss.length;p++){var m=Ss[p],g=t.getShallow(m);g!=null&&(r[m]=g)}if(r.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(r.verticalAlign=y)}if(!o||!n.disableBox){for(var p=0;p<xs.length;p++){var m=xs[p],g=t.getShallow(m);g!=null&&(r[m]=g)}var _=t.getShallow("borderType");_!=null&&(r.borderDash=_),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&l&&(r.backgroundColor=l),(r.borderColor==="auto"||r.borderColor==="inherit")&&l&&(r.borderColor=l)}}function zd(r,t){var e=t&&t.getModel("textStyle");return Hr([r.fontStyle||e&&e.getShallow("fontStyle")||"",r.fontWeight||e&&e.getShallow("fontWeight")||"",(r.fontSize||e&&e.getShallow("fontSize")||12)+"px",r.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Jn=le();function Gd(r,t,e,n){if(r){var a=Jn(r);a.prevValue=a.value,a.value=e;var i=t.normal;a.valueAnimation=i.get("valueAnimation"),a.valueAnimation&&(a.precision=i.get("precision"),a.defaultInterpolatedText=n,a.statesModels=t)}}var Hd=["textStyle","color"],_a=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Sa=new ce,Wd=function(){function r(){}return r.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Hd):null)},r.prototype.getFont=function(){return zd({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<_a.length;n++)e[_a[n]]=this.getShallow(_a[n]);return Sa.useStyle(e),Sa.update(),Sa.getBoundingRect()},r}(),gf=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Ud=Er(gf),Yd=function(){function r(){}return r.prototype.getLineStyle=function(t){return Ud(this,t)},r}(),mf=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Xd=Er(mf),Zd=function(){function r(){}return r.prototype.getItemStyle=function(t,e){return Xd(this,t,e)},r}(),J=function(){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return r.prototype.init=function(t,e,n){},r.prototype.mergeOption=function(t,e){q(this.option,t,!0)},r.prototype.get=function(t,e){return t==null?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},r.prototype.getShallow=function(t,e){var n=this.option,a=n==null?n:n[t];if(a==null&&!e){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},r.prototype.getModel=function(t,e){var n=t!=null,a=n?this.parsePath(t):null,i=n?this._doGet(a):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new r(i,e,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var t=this.constructor;return new t($(this.option))},r.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},r.prototype.resolveParentPath=function(t){return t},r.prototype.isAnimationEnabled=function(){if(!ee.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var a=0;a<t.length&&!(t[a]&&(n=n&&typeof n=="object"?n[t[a]]:null,n==null));a++);return n==null&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},r}();Qi(J);ed(J);ot(J,Yd);ot(J,Zd);ot(J,id);ot(J,Wd);var $d=Math.round(Math.random()*10);function Qn(r){return[r||"",$d++].join("_")}function Kd(r){var t={};r.registerSubTypeDefaulter=function(e,n){var a=Ze(e);t[a.main]=n},r.determineSubType=function(e,n){var a=n.type;if(!a){var i=Ze(e).main;r.hasSubTypes(e)&&t[i]&&(a=t[i](n))}return a}}function qd(r,t){r.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=e(o),f=u.graph,c=u.noEntryList,h={};for(b(i,function(y){h[y]=!0});c.length;){var v=c.pop(),d=f[v],p=!!h[v];p&&(s.call(l,v,d.originalDeps.slice()),delete h[v]),b(d.successor,p?g:m)}b(h,function(){var y="";throw new Error(y)});function m(y){f[y].entryCount--,f[y].entryCount===0&&c.push(y)}function g(y){h[y]=!0,m(y)}};function e(i){var o={},s=[];return b(i,function(l){var u=n(o,l),f=u.originalDeps=t(l),c=a(f,i);u.entryCount=c.length,u.entryCount===0&&s.push(l),b(c,function(h){oe(u.predecessor,h)<0&&u.predecessor.push(h);var v=n(o,h);oe(v.successor,h)<0&&v.successor.push(l)})}),{graph:o,noEntryList:s}}function n(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function a(i,o){var s=[];return b(i,function(l){oe(o,l)>=0&&s.push(l)}),s}}function yf(r,t){return q(q({},r,!0),t,!0)}const jd={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:". "}}}},Jd={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var In="ZH",lo="EN",Xt=lo,pn={},uo={},_f=ee.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Xt).toUpperCase();return r.indexOf(In)>-1?In:Xt}():Xt;function fo(r,t){r=r.toUpperCase(),uo[r]=new J(t),pn[r]=t}function Qd(r){if(B(r)){var t=pn[r.toUpperCase()]||{};return r===In||r===lo?$(t):q($(t),$(pn[Xt]),!1)}else return q($(r),$(pn[Xt]),!1)}function ep(r){return uo[r]}function tp(){return uo[Xt]}fo(lo,jd);fo(In,Jd);var co=1e3,vo=co*60,wr=vo*60,Ne=wr*24,ws=Ne*365,gr={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}"},$r="{yyyy}-{MM}-{dd}",Cs={year:"{yyyy}",month:"{yyyy}-{MM}",day:$r,hour:$r+" "+gr.hour,minute:$r+" "+gr.minute,second:$r+" "+gr.second,millisecond:gr.none},xa=["year","month","day","hour","minute","second","millisecond"],Sf=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function me(r,t){return r+="","0000".substr(0,t-r.length)+r}function Zt(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function rp(r){return r===Zt(r)}function np(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Yr(r,t,e,n){var a=Be(r),i=a[ho(e)](),o=a[$t(e)]()+1,s=Math.floor((o-1)/3)+1,l=a[ea(e)](),u=a["get"+(e?"UTC":"")+"Day"](),f=a[Or(e)](),c=(f-1)%12+1,h=a[ta(e)](),v=a[ra(e)](),d=a[na(e)](),p=f>=12?"pm":"am",m=p.toUpperCase(),g=n instanceof J?n:ep(n||_f)||tp(),y=g.getModel("time"),_=y.get("month"),S=y.get("monthAbbr"),w=y.get("dayOfWeek"),x=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,me(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,me(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,me(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,me(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,me(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,me(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,me(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,me(d,3)).replace(/{S}/g,d+"")}function ap(r,t,e,n,a){var i=null;if(B(e))i=e;else if(W(e))i=e(r.value,t,{level:r.level});else{var o=N({},gr);if(r.level>0)for(var s=0;s<xa.length;++s)o[xa[s]]="{primary|"+o[xa[s]]+"}";var l=e?e.inherit===!1?e:te(e,o):o,u=xf(r.value,a);if(l[u])i=l[u];else if(l.inherit){for(var f=Sf.indexOf(u),s=f-1;s>=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(R(i)){var c=r.level==null?0:r.level>=0?r.level:i.length+r.level;c=Math.min(c,i.length-1),i=i[c]}}return Yr(new Date(r.value),i,a,n)}function xf(r,t){var e=Be(r),n=e[$t(t)]()+1,a=e[ea(t)](),i=e[Or(t)](),o=e[ta(t)](),s=e[ra(t)](),l=e[na(t)](),u=l===0,f=u&&s===0,c=f&&o===0,h=c&&i===0,v=h&&a===1,d=v&&n===1;return d?"year":v?"month":h?"day":c?"hour":f?"minute":u?"second":"millisecond"}function Ds(r,t,e){var n=ae(r)?Be(r):r;switch(t=t||xf(r,e),t){case"year":return n[ho(e)]();case"half-year":return n[$t(e)]()>=6?1:0;case"quarter":return Math.floor((n[$t(e)]()+1)/4);case"month":return n[$t(e)]();case"day":return n[ea(e)]();case"half-day":return n[Or(e)]()/24;case"hour":return n[Or(e)]();case"minute":return n[ta(e)]();case"second":return n[ra(e)]();case"millisecond":return n[na(e)]()}}function ho(r){return r?"getUTCFullYear":"getFullYear"}function $t(r){return r?"getUTCMonth":"getMonth"}function ea(r){return r?"getUTCDate":"getDate"}function Or(r){return r?"getUTCHours":"getHours"}function ta(r){return r?"getUTCMinutes":"getMinutes"}function ra(r){return r?"getUTCSeconds":"getSeconds"}function na(r){return r?"getUTCMilliseconds":"getMilliseconds"}function ip(r){return r?"setUTCFullYear":"setFullYear"}function bf(r){return r?"setUTCMonth":"setMonth"}function wf(r){return r?"setUTCDate":"setDate"}function Cf(r){return r?"setUTCHours":"setHours"}function Df(r){return r?"setUTCMinutes":"setMinutes"}function Tf(r){return r?"setUTCSeconds":"setSeconds"}function Af(r){return r?"setUTCMilliseconds":"setMilliseconds"}function op(r,t,e,n,a,i,o,s){var l=new ce({style:{text:r,font:t,align:e,verticalAlign:n,padding:a,rich:i,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function po(r){if(!zu(r))return B(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function go(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Xr=eh;function hi(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(f){return f&&Hr(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?Be(r):r;if(isNaN(+l)){if(s)return"-"}else return Yr(l,n,e)}if(t==="ordinal")return ei(r)?a(r):ae(r)&&i(r)?r+"":"-";var u=Lr(r);return i(u)?po(u):ei(r)?a(r):typeof r=="boolean"?r+"":"-"}var Ts=["a","b","c","d","e","f","g"],ba=function(r,t){return"{"+r+(t??"")+"}"};function mo(r,t,e){R(t)||(t=[t]);var n=t.length;if(!n)return"";for(var a=t[0].$vars||[],i=0;i<a.length;i++){var o=Ts[i];r=r.replace(ba(o),ba(o,0))}for(var s=0;s<n;s++)for(var l=0;l<a.length;l++){var u=t[s][a[l]];r=r.replace(ba(Ts[l],s),e?ye(u):u)}return r}function Mf(r,t){var e=B(r)?{color:r,extraCssText:t}:r||{},n=e.color,a=e.type;t=e.extraCssText;var i=e.renderMode||"html";if(!n)return"";if(i==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ye(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ye(n)+";"+(t||"")+'"></span>';var o=e.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function sp(r,t,e){(r==="week"||r==="month"||r==="quarter"||r==="half-year"||r==="year")&&(r=`MM-dd
|
|
1
|
+
import{i as B,r as Mr,m as F,a as nt,b as G,c as ae,d as ei,e as R,f as H,g as b,h as oe,j as ee,k as Au,l as N,n as W,P as ke,o as Zo,p as Nn,q as Ye,s as Q,t as Xv,Z as Jt,u as te,v as Gi,w as Sn,x as Zv,y as $v,C as Bn,E as Hi,S as Qt,R as Wi,z as Ui,A as Yi,B as se,L as _t,D as Xi,F as Fn,G as Kv,H as kt,T as qv,I as Zi,J as at,K as jv,M as Jv,N as Ue,O as Mu,Q as pe,U as Iu,V as $i,W as xn,X as Qv,Y as Pu,_ as ce,$ as Hr,a0 as q,a1 as $,a2 as ot,a3 as eh,a4 as ye,a5 as ie,a6 as Pe,a7 as fe,a8 as j,a9 as ti,aa as th,ab as St,ac as ri,ad as rh,ae as nh,af as Lu,ag as ku,ah as Vn,ai as Eu,aj as $o,ak as pa,al as ah,am as ih,an as ni,ao as ai,ap as oh,aq as Ko,ar as sh,as as lh,at as uh,au as Ru,av as fh,aw as ch,ax as vh,ay as hh,az as dh,aA as ph,aB as qo,aC as jo,aD as gh,aE as Ir,aF as Ou,aG as mh,aH as yh,aI as _h,aJ as Jo,aK as Sh,aL as xh,aM as bh,aN as wh,aO as Ch}from"./charts-engine-BI1CmRJo.js";import{_ as V}from"./vendor-5iCEqDpV.js";var Qo=1e-4,Nu=20;function Dh(r){return r.replace(/^\s+|\s+$/g,"")}function ii(r,t,e,n){var a=t[0],i=t[1],o=e[0],s=e[1],l=i-a,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(r<=a)return o;if(r>=i)return s}else{if(r>=a)return o;if(r<=i)return s}else{if(r===a)return o;if(r===i)return s}return(r-a)/l*u+o}function _e(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return B(r)?Dh(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ne(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),Nu),r=(+r).toFixed(t),e?r:+r}function Th(r){return r.sort(function(t,e){return t-e}),r}function Xe(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return Bu(r)}function Bu(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,a=e>0?e:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function Fu(r,t){var e=Math.log,n=Math.LN10,a=Math.floor(e(r[1]-r[0])/n),i=Math.round(e(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function Ah(r,t,e){if(!r[t])return 0;var n=Mh(r,e);return n[t]||0}function Mh(r,t){var e=Mr(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(e===0)return[];for(var n=Math.pow(10,t),a=F(r,function(v){return(isNaN(v)?0:v)/e*n*100}),i=n*100,o=F(a,function(v){return Math.floor(v)}),s=Mr(o,function(v,d){return v+d},0),l=F(a,function(v,d){return v-o[d]});s<i;){for(var u=Number.NEGATIVE_INFINITY,f=null,c=0,h=l.length;c<h;++c)l[c]>u&&(u=l[c],f=c);++o[f],l[f]=0,++s}return F(o,function(v){return v/n})}function Ih(r,t){var e=Math.max(Xe(r),Xe(t)),n=r+t;return e>Nu?n:ne(n,e)}var Ph=9007199254740991;function Ki(r){var t=Math.PI*2;return(r%t+t)%t}function Pr(r){return r>-Qo&&r<Qo}var Lh=/^(?:(\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 Be(r){if(r instanceof Date)return r;if(B(r)){var t=Lh.exec(r);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function Vu(r){return Math.pow(10,zn(r))}function zn(r){if(r===0)return 0;var t=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,t)>=10&&t++,t}function qi(r,t){var e=zn(r),n=Math.pow(10,e),a=r/n,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,r=i*n,e>=-20?+r.toFixed(e<0?-e:0):r}function kh(r,t){var e=(r.length-1)*t+1,n=Math.floor(e),a=+r[n-1],i=e-n;return i?a+i*(r[n]-a):a}function Eh(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,n=0;n<r.length;){for(var a=r[n].interval,i=r[n].close,o=0;o<2;o++)a[o]<=t&&(a[o]=t,i[o]=o?1:1-e),t=a[o],e=i[o];a[0]===a[1]&&i[0]*i[1]!==1?r.splice(n,1):n++}return r;function s(l,u,f){return l.interval[f]<u.interval[f]||l.interval[f]===u.interval[f]&&(l.close[f]-u.close[f]===(f?-1:1)||!f&&s(l,u,1))}}function Lr(r){var t=parseFloat(r);return t==r&&(t!==0||!B(r)||r.indexOf("x")<=0)?t:NaN}function zu(r){return!isNaN(Lr(r))}function Gu(){return Math.round(Math.random()*9)}function Hu(r,t){return t===0?r:Hu(t,r%t)}function es(r,t){return r==null?t:t==null?r:r*t/Hu(r,t)}function we(r){throw new Error(r)}function ts(r,t,e){return(t-r)*e+r}var Wu="series\0",Rh="\0_ec_\0";function Se(r){return r instanceof Array?r:r==null?[]:[r]}function rs(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,a=e.length;n<a;n++){var i=e[n];!r.emphasis[t].hasOwnProperty(i)&&r[t].hasOwnProperty(i)&&(r.emphasis[t][i]=r[t][i])}}}var ns=["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 Wr(r){return G(r)&&!R(r)&&!(r instanceof Date)?r.value:r}function Oh(r){return G(r)&&!(r instanceof Array)}function Nh(r,t,e){var n=e==="normalMerge",a=e==="replaceMerge",i=e==="replaceAll";r=r||[],t=(t||[]).slice();var o=H();b(t,function(l,u){if(!G(l)){t[u]=null;return}});var s=Bh(r,o,e);return(n||a)&&Fh(s,r,o,t),n&&Vh(s,t),n||a?zh(s,t,a):i&&Gh(s,t),Hh(s),s}function Bh(r,t,e){var n=[];if(e==="replaceAll")return n;for(var a=0;a<r.length;a++){var i=r[a];i&&i.id!=null&&t.set(i.id,a),n.push({existing:e==="replaceMerge"||kr(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return n}function Fh(r,t,e,n){b(n,function(a,i){if(!(!a||a.id==null)){var o=_r(a.id),s=e.get(o);if(s!=null){var l=r[s];nt(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=a,l.existing=t[s],n[i]=null}}})}function Vh(r,t){b(t,function(e,n){if(!(!e||e.name==null))for(var a=0;a<r.length;a++){var i=r[a].existing;if(!r[a].newOption&&i&&(i.id==null||e.id==null)&&!kr(e)&&!kr(i)&&Uu("name",i,e)){r[a].newOption=e,t[n]=null;return}}})}function zh(r,t,e){b(t,function(n){if(n){for(var a,i=0;(a=r[i])&&(a.newOption||kr(a.existing)||a.existing&&n.id!=null&&!Uu("id",n,a.existing));)i++;a?(a.newOption=n,a.brandNew=e):r.push({newOption:n,brandNew:e,existing:null,keyInfo:null}),i++}})}function Gh(r,t){b(t,function(e){r.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function Hh(r){var t=H();b(r,function(e){var n=e.existing;n&&t.set(n.id,e)}),b(r,function(e){var n=e.newOption;nt(!n||n.id==null||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})}),b(r,function(e,n){var a=e.existing,i=e.newOption,o=e.keyInfo;if(G(i)){if(o.name=i.name!=null?_r(i.name):a?a.name:Wu+n,a)o.id=_r(a.id);else if(i.id!=null)o.id=_r(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,e)}})}function Uu(r,t,e){var n=$e(t[r],null),a=$e(e[r],null);return n!=null&&a!=null&&n===a}function _r(r){return $e(r,"")}function $e(r,t){return r==null?t:B(r)?r:ae(r)||ei(r)?r+"":t}function ji(r){var t=r.name;return!!(t&&t.indexOf(Wu))}function kr(r){return r&&r.id!=null&&_r(r.id).indexOf(Rh)===0}function Wh(r,t,e){b(r,function(n){var a=n.newOption;G(a)&&(n.keyInfo.mainType=t,n.keyInfo.subType=Uh(t,a,n.existing,e))})}function Uh(r,t,e,n){var a=t.type?t.type:e?e.subType:n.determineSubType(r,t);return a}function Et(r,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return R(t.dataIndex)?F(t.dataIndex,function(e){return r.indexOfRawIndex(e)}):r.indexOfRawIndex(t.dataIndex);if(t.name!=null)return R(t.name)?F(t.name,function(e){return r.indexOfName(e)}):r.indexOfName(t.name)}function le(){var r="__ec_inner_"+Yh++;return function(t){return t[r]||(t[r]={})}}var Yh=Gu();function ga(r,t,e){var n=Ji(t,e),a=n.mainTypeSpecified,i=n.queryOptionMap,o=n.others,s=o,l=e?e.defaultMainType:null;return!a&&l&&i.set(l,{}),i.each(function(u,f){var c=Ur(r,f,u,{useDefault:l===f,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});s[f+"Models"]=c.models,s[f+"Model"]=c.models[0]}),s}function Ji(r,t){var e;if(B(r)){var n={};n[r+"Index"]=0,e=n}else e=r;var a=H(),i={},o=!1;return b(e,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){i[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],f=u[1],c=(u[2]||"").toLowerCase();if(!(!f||!c||t&&t.includeMainTypes&&oe(t.includeMainTypes,f)<0)){o=o||!!f;var h=a.get(f)||a.set(f,{});h[c]=s}}),{mainTypeSpecified:o,queryOptionMap:a,others:i}}var We={useDefault:!0,enableAll:!1,enableNone:!1};function Ur(r,t,e,n){n=n||We;var a=e.index,i=e.id,o=e.name,s={models:null,specified:a!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=r.getComponent(t))?[l]:[],s}return a==="none"||a===!1?(nt(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(a==="all"&&(nt(n.enableAll,'`"all"` is not a valid value on index option.'),a=i=o=null),s.models=r.queryComponents({mainType:t,index:a,id:i,name:o}),s)}function Yu(r,t,e){r.setAttribute?r.setAttribute(t,e):r[t]=e}function Xh(r,t){return r.getAttribute?r.getAttribute(t):r[t]}function Zh(r){return r==="auto"?ee.domSupported?"html":"richText":r||"html"}function $h(r,t,e,n,a){var i=t==null||t==="auto";if(n==null)return n;if(ae(n)){var o=ts(e||0,n,a);return ne(o,i?Math.max(Xe(e||0),Xe(n)):t)}else{if(B(n))return a<1?e:n;for(var s=[],l=e,u=n,f=Math.max(l?l.length:0,u.length),c=0;c<f;++c){var h=r.getDimensionInfo(c);if(h&&h.type==="ordinal")s[c]=(a<1&&l?l:u)[c];else{var v=l&&l[c]?l[c]:0,d=u[c],o=ts(v,d,a);s[c]=ne(o,i?Math.max(Xe(v),Xe(d)):t)}}return s}}var Kh=".",wt="___EC__COMPONENT__CONTAINER___",Xu="___EC__EXTENDED_CLASS___";function Ze(r){var t={main:"",sub:""};if(r){var e=r.split(Kh);t.main=e[0]||"",t.sub=e[1]||""}return t}function qh(r){nt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function jh(r){return!!(r&&r[Xu])}function Qi(r,t){r.$constructor=r,r.extend=function(e){var n=this,a;return Jh(n)?a=function(i){V(o,i);function o(){return i.apply(this,arguments)||this}return o}(n):(a=function(){(e.$constructor||n).apply(this,arguments)},Au(a,this)),N(a.prototype,e),a[Xu]=!0,a.extend=this.extend,a.superCall=td,a.superApply=rd,a.superClass=n,a}}function Jh(r){return W(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function Zu(r,t){r.extend=t.extend}var Qh=Math.round(Math.random()*10);function ed(r){var t=["__\0is_clz",Qh++].join("_");r.prototype[t]=!0,r.isInstance=function(e){return!!(e&&e[t])}}function td(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return this.superClass.prototype[t].apply(r,e)}function rd(r,t,e){return this.superClass.prototype[t].apply(r,e)}function Gn(r){var t={};r.registerClass=function(n){var a=n.type||n.prototype.type;if(a){qh(a),n.prototype.type=a;var i=Ze(a);if(!i.sub)t[i.main]=n;else if(i.sub!==wt){var o=e(i);o[i.sub]=n}}return n},r.getClass=function(n,a,i){var o=t[n];if(o&&o[wt]&&(o=a?o[a]:null),i&&!o)throw new Error(a?"Component "+n+"."+(a||"")+" is used but not imported.":n+".type should be specified.");return o},r.getClassesByMainType=function(n){var a=Ze(n),i=[],o=t[a.main];return o&&o[wt]?b(o,function(s,l){l!==wt&&i.push(s)}):i.push(o),i},r.hasClass=function(n){var a=Ze(n);return!!t[a.main]},r.getAllClassMainTypes=function(){var n=[];return b(t,function(a,i){n.push(i)}),n},r.hasSubTypes=function(n){var a=Ze(n),i=t[a.main];return i&&i[wt]};function e(n){var a=t[n.main];return(!a||!a[wt])&&(a=t[n.main]={},a[wt]=!0),a}}function Er(r,t){for(var e=0;e<r.length;e++)r[e][1]||(r[e][1]=r[e][0]);return t=t||!1,function(n,a,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(a&&oe(a,l)>=0||i&&oe(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var nd=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ad=Er(nd),id=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return ad(this,t,e)},r}(),Y=le(),od=function(r,t,e,n){if(n){var a=Y(n);a.dataIndex=e,a.dataType=t,a.seriesIndex=r,a.ssrType="chart",n.type==="group"&&n.traverse(function(i){var o=Y(i);o.seriesIndex=r,o.dataIndex=e,o.dataType=t,o.ssrType="chart"})}},as=1,is={},$u=le(),eo=le(),to=0,Hn=1,Wn=2,Ke=["emphasis","blur","select"],os=["normal","emphasis","blur","select"],sd=10,ld=9,It="highlight",hn="downplay",Sr="select",dn="unselect",xr="toggleSelect";function Ft(r){return r!=null&&r!=="none"}function Un(r,t,e){r.onHoverStateChange&&(r.hoverState||0)!==e&&r.onHoverStateChange(t),r.hoverState=e}function Ku(r){Un(r,"emphasis",Wn)}function qu(r){r.hoverState===Wn&&Un(r,"normal",to)}function ro(r){Un(r,"blur",Hn)}function ju(r){r.hoverState===Hn&&Un(r,"normal",to)}function ud(r){r.selected=!0}function fd(r){r.selected=!1}function ss(r,t,e){t(r,e)}function st(r,t,e){ss(r,t,e),r.isGroup&&r.traverse(function(n){ss(n,t,e)})}function ls(r,t){switch(t){case"emphasis":r.hoverState=Wn;break;case"normal":r.hoverState=to;break;case"blur":r.hoverState=Hn;break;case"select":r.selected=!0}}function cd(r,t,e,n){for(var a=r.style,i={},o=0;o<t.length;o++){var s=t[o],l=a[s];i[s]=l??(n&&n[s])}for(var o=0;o<r.animators.length;o++){var u=r.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(e)<0&&u.targetName==="style"&&u.saveTo(i,t)}return i}function vd(r,t,e,n){var a=e&&oe(e,"select")>=0,i=!1;if(r instanceof ke){var o=$u(r),s=a&&o.selectFill||o.normalFill,l=a&&o.selectStroke||o.normalStroke;if(Ft(s)||Ft(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(i=!0,n=N({},n),u=N({},u),u.fill=s):!Ft(u.fill)&&Ft(s)?(i=!0,n=N({},n),u=N({},u),u.fill=Zo(s)):!Ft(u.stroke)&&Ft(l)&&(i||(n=N({},n),u=N({},u)),u.stroke=Zo(l)),n.style=u}}if(n&&n.z2==null){i||(n=N({},n));var f=r.z2EmphasisLift;n.z2=r.z2+(f??sd)}return n}function hd(r,t,e){if(e&&e.z2==null){e=N({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??ld)}return e}function dd(r,t,e){var n=oe(r.currentStates,t)>=0,a=r.style.opacity,i=n?null:cd(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=N({},e),o=N({opacity:n?a:i.opacity*.1},o),e.style=o),e}function ma(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return vd(this,r,t,e);if(r==="blur")return dd(this,r,e);if(r==="select")return hd(this,r,e)}return e}function pd(r){r.stateProxy=ma;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=ma),e&&(e.stateProxy=ma)}function us(r,t){!tf(r,t)&&!r.__highByOuter&&st(r,Ku)}function fs(r,t){!tf(r,t)&&!r.__highByOuter&&st(r,qu)}function bn(r,t){r.__highByOuter|=1<<(t||0),st(r,Ku)}function wn(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&st(r,qu)}function gd(r){st(r,ro)}function Ju(r){st(r,ju)}function Qu(r){st(r,ud)}function ef(r){st(r,fd)}function tf(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function rf(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(a,i){var o=eo(i),s=a==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){ju(u)}),s&&e.push(i)),o.isBlured=!1}),b(n,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(e,!1,t)})}function oi(r,t,e,n){var a=n.getModel();e=e||"coordinateSystem";function i(u,f){for(var c=0;c<f.length;c++){var h=u.getItemGraphicEl(f[c]);h&&Ju(h)}}if(r!=null&&!(!t||t==="none")){var o=a.getSeriesByIndex(r),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];a.eachSeries(function(u){var f=o===u,c=u.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&s?c===s:f;if(!(e==="series"&&!f||e==="coordinateSystem"&&!h||t==="series"&&f)){var v=n.getViewOfSeriesModel(u);if(v.group.traverse(function(m){m.__highByOuter&&f&&t==="self"||ro(m)}),Nn(t))i(u.getData(),t);else if(G(t))for(var d=Ye(t),p=0;p<d.length;p++)i(u.getData(d[p]),t[d[p]]);l.push(u),eo(u).isBlured=!0}}),a.eachComponent(function(u,f){if(u!=="series"){var c=n.getViewOfComponentModel(f);c&&c.toggleBlurSeries&&c.toggleBlurSeries(l,!0,a)}})}}function si(r,t,e){if(!(r==null||t==null)){var n=e.getModel().getComponent(r,t);if(n){eo(n).isBlured=!0;var a=e.getViewOfComponentModel(n);!a||!a.focusBlurEnabled||a.group.traverse(function(i){ro(i)})}}}function md(r,t,e){var n=r.seriesIndex,a=r.getData(t.dataType);if(a){var i=Et(a,t);i=(R(i)?i[0]:i)||0;var o=a.getItemGraphicEl(i);if(!o)for(var s=a.count(),l=0;!o&&l<s;)o=a.getItemGraphicEl(l++);if(o){var u=Y(o);oi(n,u.focus,u.blurScope,e)}else{var f=r.get(["emphasis","focus"]),c=r.get(["emphasis","blurScope"]);f!=null&&oi(n,f,c,e)}}}function no(r,t,e,n){var a={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||t==null||e==null)return a;var i=n.getModel().getComponent(r,t);if(!i)return a;var o=n.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return a;for(var s=o.findHighDownDispatchers(e),l,u=0;u<s.length;u++)if(Y(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function yd(r,t,e){var n=Y(r),a=no(n.componentMainType,n.componentIndex,n.componentHighDownName,e),i=a.dispatchers,o=a.focusSelf;i?(o&&si(n.componentMainType,n.componentIndex,e),b(i,function(s){return us(s,t)})):(oi(n.seriesIndex,n.focus,n.blurScope,e),n.focus==="self"&&si(n.componentMainType,n.componentIndex,e),us(r,t))}function _d(r,t,e){rf(e);var n=Y(r),a=no(n.componentMainType,n.componentIndex,n.componentHighDownName,e).dispatchers;a?b(a,function(i){return fs(i,t)}):fs(r,t)}function Sd(r,t,e){if(fi(t)){var n=t.dataType,a=r.getData(n),i=Et(a,t);R(i)||(i=[i]),r[t.type===xr?"toggleSelect":t.type===Sr?"select":"unselect"](i,n)}}function cs(r){var t=r.getAllData();b(t,function(e){var n=e.data,a=e.type;n.eachItemGraphicEl(function(i,o){r.isSelected(o,a)?Qu(i):ef(i)})})}function xd(r){var t=[];return r.eachSeries(function(e){var n=e.getAllData();b(n,function(a){a.data;var i=a.type,o=e.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:e.seriesIndex};i!=null&&(s.dataType=i),t.push(s)}})}),t}function Cn(r,t,e){nf(r,!0),st(r,pd),wd(r,t,e)}function bd(r){nf(r,!1)}function Dn(r,t,e,n){n?bd(r):Cn(r,t,e)}function wd(r,t,e){var n=Y(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var vs=["emphasis","blur","select"],Cd={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function li(r,t,e,n){e=e||"itemStyle";for(var a=0;a<vs.length;a++){var i=vs[a],o=t.getModel([i,e]),s=r.ensureState(i);s.style=o[Cd[e]]()}}function nf(r,t){var e=t===!1,n=r;r.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!e||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!e)}function ui(r){return!!(r&&r.__highDownDispatcher)}function Dd(r){var t=is[r];return t==null&&as<=32&&(t=is[r]=as++),t}function fi(r){var t=r.type;return t===Sr||t===dn||t===xr}function hs(r){var t=r.type;return t===It||t===hn}function Td(r){var t=$u(r);t.normalFill=r.style.fill,t.normalStroke=r.style.stroke;var e=r.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}var Ad=le();function Md(r,t,e,n,a){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=r==="update";if(s){var u=void 0,f=void 0,c=void 0;n?(u=Q(n.duration,200),f=Q(n.easing,"cubicOut"),c=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),f=t.getShallow(l?"animationEasingUpdate":"animationEasing"),c=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(f=i.easing),i.delay!=null&&(c=i.delay)),W(c)&&(c=c(e,a)),W(u)&&(u=u(e));var h={duration:u||0,delay:c,easing:f};return h}else return null}function ao(r,t,e,n,a,i,o){var s=!1,l;W(a)?(o=i,i=a,a=null):G(a)&&(i=a.cb,o=a.during,s=a.isFrom,l=a.removeOpt,a=a.dataIndex);var u=r==="leave";u||t.stopAnimation("leave");var f=Md(r,n,a,u?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,a):null);if(f&&f.duration>0){var c=f.duration,h=f.delay,v=f.easing,d={duration:c,delay:h||0,easing:v,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),i&&i()}function De(r,t,e,n,a,i){ao("update",r,t,e,n,a,i)}function qe(r,t,e,n,a,i){ao("enter",r,t,e,n,a,i)}function br(r){if(!r.__zr)return!0;for(var t=0;t<r.animators.length;t++){var e=r.animators[t];if(e.scope==="leave")return!0}return!1}function Tn(r,t,e,n,a,i){br(r)||ao("leave",r,t,e,n,a,i)}function ds(r,t,e,n){r.removeTextContent(),r.removeTextGuideLine(),Tn(r,{style:{opacity:0}},t,e,n)}function ci(r,t,e){function n(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(a){a.isGroup||ds(a,t,e,n)}):ds(r,t,e,n)}function af(r){Ad(r).oldStyle=r.style}var An=Math.max,Mn=Math.min,vi={};function of(r){return ke.extend(r)}var Id=$v;function sf(r,t){return Id(r,t)}function Fe(r,t){vi[r]=t}function lf(r){if(vi.hasOwnProperty(r))return vi[r]}function Yn(r,t,e,n){var a=Zv(r,t);return e&&(n==="center"&&(e=uf(e,a.getBoundingRect())),oo(a,e)),a}function io(r,t,e){var n=new Jt({style:{image:r,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(a){if(e==="center"){var i={width:a.width,height:a.height};n.setStyle(uf(t,i))}}});return n}function uf(r,t){var e=t.width/t.height,n=r.height*e,a;n<=r.width?a=r.height:(n=r.width,a=n/e);var i=r.x+r.width/2,o=r.y+r.height/2;return{x:i-n/2,y:o-a/2,width:n,height:a}}var ff=Xv;function oo(r,t){if(r.applyTransform){var e=r.getBoundingRect(),n=e.calculateTransform(t);r.applyTransform(n)}}function Rr(r,t){return jv(r,r,{lineWidth:t}),r}function Pd(r){return Jv(r.shape,r.shape,r.style),r}var Ld=Kv;function cf(r,t){for(var e=Gi([]);r&&r!==t;)Sn(e,r.getLocalTransform(),e),r=r.parent;return e}function so(r,t,e){return t&&!Nn(t)&&(t=qv.getLocalTransform(t)),e&&(t=Zi([],t)),at([],r,t)}function kd(r,t,e){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),a=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),i=[r==="left"?-n:r==="right"?n:0,r==="top"?-a:r==="bottom"?a:0];return i=so(i,t,e),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function ps(r){return!r.isGroup}function Ed(r){return r.shape!=null}function vf(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){ps(l)&&l.anid&&(s[l.anid]=l)}),s}function a(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Ed(o)&&(s.shape=N({},o.shape)),s}var i=n(r);t.traverse(function(o){if(ps(o)&&o.anid){var s=i[o.anid];if(s){var l=a(o);o.attr(a(s)),De(o,l,e,Y(o).dataIndex)}}})}function hf(r,t){return F(r,function(e){var n=e[0];n=An(n,t.x),n=Mn(n,t.x+t.width);var a=e[1];return a=An(a,t.y),a=Mn(a,t.y+t.height),[n,a]})}function df(r,t){var e=An(r.x,t.x),n=Mn(r.x+r.width,t.x+t.width),a=An(r.y,t.y),i=Mn(r.y+r.height,t.y+t.height);if(n>=e&&i>=a)return{x:e,y:a,width:n-e,height:i-a}}function Xn(r,t,e){var n=N({rectHover:!0},t),a=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(a.image=r.slice(8),te(a,e),new Jt(n)):Yn(r.replace("path://",""),n,e,"center")}function Rd(r,t,e,n,a){for(var i=0,o=a[a.length-1];i<a.length;i++){var s=a[i];if(pf(r,t,e,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function pf(r,t,e,n,a,i,o,s){var l=e-r,u=n-t,f=o-a,c=s-i,h=ya(f,c,l,u);if(Od(h))return!1;var v=r-a,d=t-i,p=ya(v,d,l,u)/h;if(p<0||p>1)return!1;var m=ya(v,d,f,c)/h;return!(m<0||m>1)}function ya(r,t,e,n){return r*n-e*t}function Od(r){return r<=1e-6&&r>=-1e-6}function Zn(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,a=B(t)?{formatter:t}:t,i=e.mainType,o=e.componentIndex,s={componentType:i,name:n,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&b(Ye(l),function(f){kt(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=Y(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:n,option:te({content:n,encodeHTMLContent:!0,formatterParams:s},a)}}function gs(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function $n(r,t){if(r)if(R(r))for(var e=0;e<r.length;e++)gs(r[e],t);else gs(r,t)}Fe("circle",Bn);Fe("ellipse",Hi);Fe("sector",Qt);Fe("ring",Wi);Fe("polygon",Ui);Fe("polyline",Yi);Fe("rect",se);Fe("line",_t);Fe("bezierCurve",Xi);Fe("arc",Fn);const Nd=Object.freeze(Object.defineProperty({__proto__:null,Arc:Fn,BezierCurve:Xi,BoundingRect:Ue,Circle:Bn,CompoundPath:Mu,Ellipse:Hi,Group:pe,Image:Jt,IncrementalDisplayable:Iu,Line:_t,LinearGradient:$i,OrientedBoundingRect:xn,Path:ke,Point:Qv,Polygon:Ui,Polyline:Yi,RadialGradient:Pu,Rect:se,Ring:Wi,Sector:Qt,Text:ce,applyTransform:so,clipPointsByRect:hf,clipRectByRect:df,createIcon:Xn,extendPath:sf,extendShape:of,getShapeClass:lf,getTransform:cf,groupTransition:vf,initProps:qe,isElementRemoved:br,lineLineIntersect:pf,linePolygonIntersect:Rd,makeImage:io,makePath:Yn,mergePath:ff,registerShape:Fe,removeElement:Tn,removeElementWithFadeOut:ci,resizePath:oo,setTooltipConfig:Zn,subPixelOptimize:Ld,subPixelOptimizeLine:Rr,subPixelOptimizeRect:Pd,transformDirection:kd,traverseElements:$n,updateProps:De},Symbol.toStringTag,{value:"Module"}));var Kn={};function Bd(r,t){for(var e=0;e<Ke.length;e++){var n=Ke[e],a=t[n],i=r.ensureState(n);i.style=i.style||{},i.style.text=a}var o=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:t.normal}),r.useStates(o,!0)}function ms(r,t,e){var n=r.labelFetcher,a=r.labelDataIndex,i=r.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(a,"normal",null,i,o&&o.get("formatter"),e!=null?{interpolatedValue:e}:null)),s==null&&(s=W(r.defaultText)?r.defaultText(a,r,e):r.defaultText);for(var l={normal:s},u=0;u<Ke.length;u++){var f=Ke[u],c=t[f];l[f]=Q(n?n.getFormattedLabel(a,f,null,i,c&&c.get("formatter")):null,s)}return l}function qn(r,t,e,n){e=e||Kn;for(var a=r instanceof ce,i=!1,o=0;o<os.length;o++){var s=t[os[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=a?r:r.getTextContent();if(i){a||(l||(l=new ce,r.setTextContent(l)),r.stateProxy&&(l.stateProxy=r.stateProxy));var u=ms(e,t),f=t.normal,c=!!f.getShallow("show"),h=it(f,n&&n.normal,e,!1,!a);h.text=u.normal,a||r.setTextConfig(ys(f,e,!1));for(var o=0;o<Ke.length;o++){var v=Ke[o],s=t[v];if(s){var d=l.ensureState(v),p=!!Q(s.getShallow("show"),c);if(p!==c&&(d.ignore=!p),d.style=it(s,n&&n[v],e,!0,!a),d.style.text=u[v],!a){var m=r.ensureState(v);m.textConfig=ys(s,e,!0)}}}l.silent=!!f.getShallow("silent"),l.style.x!=null&&(h.x=l.style.x),l.style.y!=null&&(h.y=l.style.y),l.ignore=!c,l.useStyle(h),l.dirty(),e.enableTextSetter&&(Jn(l).setLabelText=function(g){var y=ms(e,t,g);Bd(l,y)})}else l&&(l.ignore=!0);r.dirty()}function jn(r,t){t=t||"label";for(var e={normal:r.getModel(t)},n=0;n<Ke.length;n++){var a=Ke[n];e[a]=r.getModel([a,t])}return e}function it(r,t,e,n,a){var i={};return Fd(i,r,e,n,a),t&&N(i,t),i}function ys(r,t,e){t=t||{};var n={},a,i=r.getShallow("rotate"),o=Q(r.getShallow("distance"),e?null:5),s=r.getShallow("offset");return a=r.getShallow("position")||(e?null:"inside"),a==="outside"&&(a=t.defaultOutsidePosition||"top"),a!=null&&(n.position=a),s!=null&&(n.offset=s),i!=null&&(i*=Math.PI/180,n.rotation=i),o!=null&&(n.distance=o),n.outsideFill=r.get("color")==="inherit"?t.inheritColor||null:"auto",n}function Fd(r,t,e,n,a){e=e||Kn;var i=t.ecModel,o=i&&i.option.textStyle,s=Vd(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var f=t.getModel(["rich",u]);bs(l[u]={},f,o,e,n,a,!1,!0)}}l&&(r.rich=l);var c=t.get("overflow");c&&(r.overflow=c);var h=t.get("minMargin");h!=null&&(r.margin=h),bs(r,t,o,e,n,a,!0,!1)}function Vd(r){for(var t;r&&r!==r.ecModel;){var e=(r.option||Kn).rich;if(e){t=t||{};for(var n=Ye(e),a=0;a<n.length;a++){var i=n[a];t[i]=1}}r=r.parentModel}return t}var _s=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Ss=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],xs=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function bs(r,t,e,n,a,i,o,s){e=!a&&e||Kn;var l=n&&n.inheritColor,u=t.getShallow("color"),f=t.getShallow("textBorderColor"),c=Q(t.getShallow("opacity"),e.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(f==="inherit"||f==="auto")&&(l?f=l:f=null),i||(u=u||e.color,f=f||e.textBorderColor),u!=null&&(r.fill=u),f!=null&&(r.stroke=f);var h=Q(t.getShallow("textBorderWidth"),e.textBorderWidth);h!=null&&(r.lineWidth=h);var v=Q(t.getShallow("textBorderType"),e.textBorderType);v!=null&&(r.lineDash=v);var d=Q(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);d!=null&&(r.lineDashOffset=d),!a&&c==null&&!s&&(c=n&&n.defaultOpacity),c!=null&&(r.opacity=c),!a&&!i&&r.fill==null&&n.inheritColor&&(r.fill=n.inheritColor);for(var p=0;p<_s.length;p++){var m=_s[p],g=Q(t.getShallow(m),e[m]);g!=null&&(r[m]=g)}for(var p=0;p<Ss.length;p++){var m=Ss[p],g=t.getShallow(m);g!=null&&(r[m]=g)}if(r.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(r.verticalAlign=y)}if(!o||!n.disableBox){for(var p=0;p<xs.length;p++){var m=xs[p],g=t.getShallow(m);g!=null&&(r[m]=g)}var _=t.getShallow("borderType");_!=null&&(r.borderDash=_),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&l&&(r.backgroundColor=l),(r.borderColor==="auto"||r.borderColor==="inherit")&&l&&(r.borderColor=l)}}function zd(r,t){var e=t&&t.getModel("textStyle");return Hr([r.fontStyle||e&&e.getShallow("fontStyle")||"",r.fontWeight||e&&e.getShallow("fontWeight")||"",(r.fontSize||e&&e.getShallow("fontSize")||12)+"px",r.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Jn=le();function Gd(r,t,e,n){if(r){var a=Jn(r);a.prevValue=a.value,a.value=e;var i=t.normal;a.valueAnimation=i.get("valueAnimation"),a.valueAnimation&&(a.precision=i.get("precision"),a.defaultInterpolatedText=n,a.statesModels=t)}}var Hd=["textStyle","color"],_a=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Sa=new ce,Wd=function(){function r(){}return r.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Hd):null)},r.prototype.getFont=function(){return zd({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<_a.length;n++)e[_a[n]]=this.getShallow(_a[n]);return Sa.useStyle(e),Sa.update(),Sa.getBoundingRect()},r}(),gf=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Ud=Er(gf),Yd=function(){function r(){}return r.prototype.getLineStyle=function(t){return Ud(this,t)},r}(),mf=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Xd=Er(mf),Zd=function(){function r(){}return r.prototype.getItemStyle=function(t,e){return Xd(this,t,e)},r}(),J=function(){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return r.prototype.init=function(t,e,n){},r.prototype.mergeOption=function(t,e){q(this.option,t,!0)},r.prototype.get=function(t,e){return t==null?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},r.prototype.getShallow=function(t,e){var n=this.option,a=n==null?n:n[t];if(a==null&&!e){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},r.prototype.getModel=function(t,e){var n=t!=null,a=n?this.parsePath(t):null,i=n?this._doGet(a):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new r(i,e,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var t=this.constructor;return new t($(this.option))},r.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},r.prototype.resolveParentPath=function(t){return t},r.prototype.isAnimationEnabled=function(){if(!ee.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var a=0;a<t.length&&!(t[a]&&(n=n&&typeof n=="object"?n[t[a]]:null,n==null));a++);return n==null&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},r}();Qi(J);ed(J);ot(J,Yd);ot(J,Zd);ot(J,id);ot(J,Wd);var $d=Math.round(Math.random()*10);function Qn(r){return[r||"",$d++].join("_")}function Kd(r){var t={};r.registerSubTypeDefaulter=function(e,n){var a=Ze(e);t[a.main]=n},r.determineSubType=function(e,n){var a=n.type;if(!a){var i=Ze(e).main;r.hasSubTypes(e)&&t[i]&&(a=t[i](n))}return a}}function qd(r,t){r.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=e(o),f=u.graph,c=u.noEntryList,h={};for(b(i,function(y){h[y]=!0});c.length;){var v=c.pop(),d=f[v],p=!!h[v];p&&(s.call(l,v,d.originalDeps.slice()),delete h[v]),b(d.successor,p?g:m)}b(h,function(){var y="";throw new Error(y)});function m(y){f[y].entryCount--,f[y].entryCount===0&&c.push(y)}function g(y){h[y]=!0,m(y)}};function e(i){var o={},s=[];return b(i,function(l){var u=n(o,l),f=u.originalDeps=t(l),c=a(f,i);u.entryCount=c.length,u.entryCount===0&&s.push(l),b(c,function(h){oe(u.predecessor,h)<0&&u.predecessor.push(h);var v=n(o,h);oe(v.successor,h)<0&&v.successor.push(l)})}),{graph:o,noEntryList:s}}function n(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function a(i,o){var s=[];return b(i,function(l){oe(o,l)>=0&&s.push(l)}),s}}function yf(r,t){return q(q({},r,!0),t,!0)}const jd={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:". "}}}},Jd={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var In="ZH",lo="EN",Xt=lo,pn={},uo={},_f=ee.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Xt).toUpperCase();return r.indexOf(In)>-1?In:Xt}():Xt;function fo(r,t){r=r.toUpperCase(),uo[r]=new J(t),pn[r]=t}function Qd(r){if(B(r)){var t=pn[r.toUpperCase()]||{};return r===In||r===lo?$(t):q($(t),$(pn[Xt]),!1)}else return q($(r),$(pn[Xt]),!1)}function ep(r){return uo[r]}function tp(){return uo[Xt]}fo(lo,jd);fo(In,Jd);var co=1e3,vo=co*60,wr=vo*60,Ne=wr*24,ws=Ne*365,gr={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}"},$r="{yyyy}-{MM}-{dd}",Cs={year:"{yyyy}",month:"{yyyy}-{MM}",day:$r,hour:$r+" "+gr.hour,minute:$r+" "+gr.minute,second:$r+" "+gr.second,millisecond:gr.none},xa=["year","month","day","hour","minute","second","millisecond"],Sf=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function me(r,t){return r+="","0000".substr(0,t-r.length)+r}function Zt(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function rp(r){return r===Zt(r)}function np(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Yr(r,t,e,n){var a=Be(r),i=a[ho(e)](),o=a[$t(e)]()+1,s=Math.floor((o-1)/3)+1,l=a[ea(e)](),u=a["get"+(e?"UTC":"")+"Day"](),f=a[Or(e)](),c=(f-1)%12+1,h=a[ta(e)](),v=a[ra(e)](),d=a[na(e)](),p=f>=12?"pm":"am",m=p.toUpperCase(),g=n instanceof J?n:ep(n||_f)||tp(),y=g.getModel("time"),_=y.get("month"),S=y.get("monthAbbr"),w=y.get("dayOfWeek"),x=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,me(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,me(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,me(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,me(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,me(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,me(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,me(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,me(d,3)).replace(/{S}/g,d+"")}function ap(r,t,e,n,a){var i=null;if(B(e))i=e;else if(W(e))i=e(r.value,t,{level:r.level});else{var o=N({},gr);if(r.level>0)for(var s=0;s<xa.length;++s)o[xa[s]]="{primary|"+o[xa[s]]+"}";var l=e?e.inherit===!1?e:te(e,o):o,u=xf(r.value,a);if(l[u])i=l[u];else if(l.inherit){for(var f=Sf.indexOf(u),s=f-1;s>=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(R(i)){var c=r.level==null?0:r.level>=0?r.level:i.length+r.level;c=Math.min(c,i.length-1),i=i[c]}}return Yr(new Date(r.value),i,a,n)}function xf(r,t){var e=Be(r),n=e[$t(t)]()+1,a=e[ea(t)](),i=e[Or(t)](),o=e[ta(t)](),s=e[ra(t)](),l=e[na(t)](),u=l===0,f=u&&s===0,c=f&&o===0,h=c&&i===0,v=h&&a===1,d=v&&n===1;return d?"year":v?"month":h?"day":c?"hour":f?"minute":u?"second":"millisecond"}function Ds(r,t,e){var n=ae(r)?Be(r):r;switch(t=t||xf(r,e),t){case"year":return n[ho(e)]();case"half-year":return n[$t(e)]()>=6?1:0;case"quarter":return Math.floor((n[$t(e)]()+1)/4);case"month":return n[$t(e)]();case"day":return n[ea(e)]();case"half-day":return n[Or(e)]()/24;case"hour":return n[Or(e)]();case"minute":return n[ta(e)]();case"second":return n[ra(e)]();case"millisecond":return n[na(e)]()}}function ho(r){return r?"getUTCFullYear":"getFullYear"}function $t(r){return r?"getUTCMonth":"getMonth"}function ea(r){return r?"getUTCDate":"getDate"}function Or(r){return r?"getUTCHours":"getHours"}function ta(r){return r?"getUTCMinutes":"getMinutes"}function ra(r){return r?"getUTCSeconds":"getSeconds"}function na(r){return r?"getUTCMilliseconds":"getMilliseconds"}function ip(r){return r?"setUTCFullYear":"setFullYear"}function bf(r){return r?"setUTCMonth":"setMonth"}function wf(r){return r?"setUTCDate":"setDate"}function Cf(r){return r?"setUTCHours":"setHours"}function Df(r){return r?"setUTCMinutes":"setMinutes"}function Tf(r){return r?"setUTCSeconds":"setSeconds"}function Af(r){return r?"setUTCMilliseconds":"setMilliseconds"}function op(r,t,e,n,a,i,o,s){var l=new ce({style:{text:r,font:t,align:e,verticalAlign:n,padding:a,rich:i,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function po(r){if(!zu(r))return B(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function go(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Xr=eh;function hi(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(f){return f&&Hr(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?Be(r):r;if(isNaN(+l)){if(s)return"-"}else return Yr(l,n,e)}if(t==="ordinal")return ei(r)?a(r):ae(r)&&i(r)?r+"":"-";var u=Lr(r);return i(u)?po(u):ei(r)?a(r):typeof r=="boolean"?r+"":"-"}var Ts=["a","b","c","d","e","f","g"],ba=function(r,t){return"{"+r+(t??"")+"}"};function mo(r,t,e){R(t)||(t=[t]);var n=t.length;if(!n)return"";for(var a=t[0].$vars||[],i=0;i<a.length;i++){var o=Ts[i];r=r.replace(ba(o),ba(o,0))}for(var s=0;s<n;s++)for(var l=0;l<a.length;l++){var u=t[s][a[l]];r=r.replace(ba(Ts[l],s),e?ye(u):u)}return r}function Mf(r,t){var e=B(r)?{color:r,extraCssText:t}:r||{},n=e.color,a=e.type;t=e.extraCssText;var i=e.renderMode||"html";if(!n)return"";if(i==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ye(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ye(n)+";"+(t||"")+'"></span>';var o=e.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function sp(r,t,e){(r==="week"||r==="month"||r==="quarter"||r==="half-year"||r==="year")&&(r=`MM-dd
|
|
2
2
|
yyyy`);var n=Be(t),a=e?"getUTC":"get",i=n[a+"FullYear"](),o=n[a+"Month"]()+1,s=n[a+"Date"](),l=n[a+"Hours"](),u=n[a+"Minutes"](),f=n[a+"Seconds"](),c=n[a+"Milliseconds"]();return r=r.replace("MM",me(o,2)).replace("M",o).replace("yyyy",i).replace("yy",me(i%100+"",2)).replace("dd",me(s,2)).replace("d",s).replace("hh",me(l,2)).replace("h",l).replace("mm",me(u,2)).replace("m",u).replace("ss",me(f,2)).replace("s",f).replace("SSS",me(c,3)),r}function lp(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Rt(r,t){return t=t||"transparent",B(r)?r:G(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function As(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var gn=b,up=["left","right","top","bottom","width","height"],Kr=[["width","left","right"],["height","top","bottom"]];function yo(r,t,e,n,a){var i=0,o=0;n==null&&(n=1/0),a==null&&(a=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),c=t.childAt(u+1),h=c&&c.getBoundingRect(),v,d;if(r==="horizontal"){var p=f.width+(h?-h.x+f.x:0);v=i+p,v>n||l.newline?(i=0,v=p,o+=s+e,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(h?-h.y+f.y:0);d=o+m,d>a||l.newline?(i+=s+e,o=0,d=m,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=v+e:o=d+e)})}var Cr=yo;ie(yo,"vertical");ie(yo,"horizontal");function Kt(r,t,e){e=Xr(e||0);var n=t.width,a=t.height,i=_e(r.left,n),o=_e(r.top,a),s=_e(r.right,n),l=_e(r.bottom,a),u=_e(r.width,n),f=_e(r.height,a),c=e[2]+e[0],h=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=n-s-h-i),isNaN(f)&&(f=a-l-c-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>n/a?u=n*.8:f=a*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(i)&&(i=n-s-u-h),isNaN(o)&&(o=a-l-f-c),r.left||r.right){case"center":i=n/2-u/2-e[3];break;case"right":i=n-u-h;break}switch(r.top||r.bottom){case"middle":case"center":o=a/2-f/2-e[0];break;case"bottom":o=a-f-c;break}i=i||0,o=o||0,isNaN(u)&&(u=n-h-i-(s||0)),isNaN(f)&&(f=a-c-o-(l||0));var d=new Ue(i+e[3],o+e[0],u,f);return d.margin=e,d}function Nr(r){var t=r.layoutMode||r.constructor.layoutMode;return G(t)?t:t?{type:t}:null}function qt(r,t,e){var n=e&&e.ignoreSize;!R(n)&&(n=[n,n]);var a=o(Kr[0],0),i=o(Kr[1],1);u(Kr[0],r,a),u(Kr[1],r,i);function o(f,c){var h={},v=0,d={},p=0,m=2;if(gn(f,function(_){d[_]=r[_]}),gn(f,function(_){s(t,_)&&(h[_]=d[_]=t[_]),l(h,_)&&v++,l(d,_)&&p++}),n[c])return l(t,f[1])?d[f[2]]=null:l(t,f[2])&&(d[f[1]]=null),d;if(p===m||!v)return d;if(v>=m)return h;for(var g=0;g<f.length;g++){var y=f[g];if(!s(h,y)&&s(r,y)){h[y]=r[y];break}}return h}function s(f,c){return f.hasOwnProperty(c)}function l(f,c){return f[c]!=null&&f[c]!=="auto"}function u(f,c,h){gn(f,function(v){c[v]=h[v]})}}function aa(r){return fp({},r)}function fp(r,t){return t&&r&&gn(up,function(e){t.hasOwnProperty(e)&&(r[e]=t[e])}),r}var cp=le(),X=function(r){V(t,r);function t(e,n,a){var i=r.call(this,e,n,a)||this;return i.uid=Qn("ec_cpt_model"),i}return t.prototype.init=function(e,n,a){this.mergeDefaultAndTheme(e,a)},t.prototype.mergeDefaultAndTheme=function(e,n){var a=Nr(this),i=a?aa(e):{},o=n.getTheme();q(e,o.get(this.mainType)),q(e,this.getDefaultOption()),a&&qt(e,i,a)},t.prototype.mergeOption=function(e,n){q(this.option,e,!0);var a=Nr(this);a&&qt(this.option,e,a)},t.prototype.optionUpdated=function(e,n){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!jh(e))return e.defaultOption;var n=cp(this);if(!n.defaultOption){for(var a=[],i=e;i;){var o=i.prototype.defaultOption;o&&a.push(o),i=i.superClass}for(var s={},l=a.length-1;l>=0;l--)s=q(s,a[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var a=e+"Index",i=e+"Id";return Ur(this.ecModel,e,{index:this.get(a,!0),id:this.get(i,!0)},n)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(J);Zu(X,J);Gn(X);Kd(X);qd(X,vp);function vp(r){var t=[];return b(X.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=F(t,function(e){return Ze(e).main}),r!=="dataset"&&oe(t,"dataset")<=0&&t.unshift("dataset"),t}var If="";typeof navigator<"u"&&(If=navigator.platform||"");var Vt="rgba(0, 0, 0, 0.2)";const hp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Vt,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Vt,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Vt,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Vt,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Vt,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Vt,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:If.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 Pf=H(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ve="original",Te="arrayRows",je="objectRows",lt="keyedColumns",mt="typedArray",Lf="unknown",rt="column",er="row",Ie={Must:1,Might:2,Not:3},kf=le();function dp(r){kf(r).datasetMap=H()}function pp(r,t,e){var n={},a=Ef(t);if(!a||!r)return n;var i=[],o=[],s=t.ecModel,l=kf(s).datasetMap,u=a.uid+"_"+e.seriesLayoutBy,f,c;r=r.slice(),b(r,function(p,m){var g=G(p)?p:r[m]={name:p};g.type==="ordinal"&&f==null&&(f=m,c=d(g)),n[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});b(r,function(p,m){var g=p.name,y=d(p);if(f==null){var _=h.valueWayDim;v(n[g],_,y),v(o,_,y),h.valueWayDim+=y}else if(f===m)v(n[g],0,y),v(i,0,y);else{var _=h.categoryWayDim;v(n[g],_,y),v(o,_,y),h.categoryWayDim+=y}});function v(p,m,g){for(var y=0;y<g;y++)p.push(m+y)}function d(p){var m=p.dimsDef;return m?m.length:1}return i.length&&(n.itemName=i),o.length&&(n.seriesName=o),n}function Ef(r){var t=r.get("data",!0);if(!t)return Ur(r.ecModel,"dataset",{index:r.get("datasetIndex",!0),id:r.get("datasetId",!0)},We).models[0]}function gp(r){return!r.get("transform",!0)&&!r.get("fromTransformResult",!0)?[]:Ur(r.ecModel,"dataset",{index:r.get("fromDatasetIndex",!0),id:r.get("fromDatasetId",!0)},We).models}function Rf(r,t){return mp(r.data,r.sourceFormat,r.seriesLayoutBy,r.dimensionsDefine,r.startIndex,t)}function mp(r,t,e,n,a,i){var o,s=5;if(Pe(r))return Ie.Not;var l,u;if(n){var f=n[i];G(f)?(l=f.name,u=f.type):B(f)&&(l=f)}if(u!=null)return u==="ordinal"?Ie.Must:Ie.Not;if(t===Te){var c=r;if(e===er){for(var h=c[i],v=0;v<(h||[]).length&&v<s;v++)if((o=S(h[a+v]))!=null)return o}else for(var v=0;v<c.length&&v<s;v++){var d=c[a+v];if(d&&(o=S(d[i]))!=null)return o}}else if(t===je){var p=r;if(!l)return Ie.Not;for(var v=0;v<p.length&&v<s;v++){var m=p[v];if(m&&(o=S(m[l]))!=null)return o}}else if(t===lt){var g=r;if(!l)return Ie.Not;var h=g[l];if(!h||Pe(h))return Ie.Not;for(var v=0;v<h.length&&v<s;v++)if((o=S(h[v]))!=null)return o}else if(t===Ve)for(var y=r,v=0;v<y.length&&v<s;v++){var m=y[v],_=Wr(m);if(!R(_))return Ie.Not;if((o=S(_[i]))!=null)return o}function S(w){var x=B(w);if(w!=null&&Number.isFinite(Number(w))&&w!=="")return x?Ie.Might:Ie.Not;if(x&&w!=="-")return Ie.Must}return Ie.Not}var yp=H();function _p(r,t,e){var n=yp.get(t);if(!n)return e;var a=n(r);return a?e.concat(a):e}var Ms=le();le();var _o=function(){function r(){}return r.prototype.getColorFromPalette=function(t,e,n){var a=Se(this.get("color",!0)),i=this.get("colorLayer",!0);return xp(this,Ms,a,i,t,e,n)},r.prototype.clearColorPalette=function(){bp(this,Ms)},r}();function Sp(r,t){for(var e=r.length,n=0;n<e;n++)if(r[n].length>t)return r[n];return r[e-1]}function xp(r,t,e,n,a,i,o){i=i||r;var s=t(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var f=o==null||!n?e:Sp(n,o);if(f=f||e,!(!f||!f.length)){var c=f[l];return a&&(u[a]=c),s.paletteIdx=(l+1)%f.length,c}}function bp(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var qr,ar,Is,Ps="\0_ec_inner",wp=1,So=function(r){V(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,a,i,o,s){i=i||{},this.option=null,this._theme=new J(i),this._locale=new J(o),this._optionManager=s},t.prototype.setOption=function(e,n,a){var i=Es(n);this._optionManager.setOption(e,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(e,n){return this._resetOption(e,Es(n))},t.prototype._resetOption=function(e,n){var a=!1,i=this._optionManager;if(!e||e==="recreate"){var o=i.mountOption(e==="recreate");!this.option||e==="recreate"?Is(this,o):(this.restoreData(),this._mergeOption(o,n)),a=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=i.getTimelineOption(this);s&&(a=!0,this._mergeOption(s,n))}if(!e||e==="recreate"||e==="media"){var l=i.getMediaOption(this);l.length&&b(l,function(u){a=!0,this._mergeOption(u,n)},this)}return a},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var a=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=H(),u=n&&n.replaceMergeMainTypeMap;dp(this),b(e,function(c,h){c!=null&&(X.hasClass(h)?h&&(s.push(h),l.set(h,!0)):a[h]=a[h]==null?$(c):q(a[h],c,!0))}),u&&u.each(function(c,h){X.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),X.topologicalTravel(s,X.getAllClassMainTypes(),f,this);function f(c){var h=_p(this,c,Se(e[c])),v=i.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",p=Nh(v,h,d);Wh(p,c,X),a[c]=null,i.set(c,null),o.set(c,0);var m=[],g=[],y=0,_;b(p,function(S,w){var x=S.existing,C=S.newOption;if(!C)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var M=c==="series",T=X.getClass(c,S.keyInfo.subType,!M);if(!T)return;if(c==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===T)x.name=S.keyInfo.name,x.mergeOption(C,this),x.optionUpdated(C,!1);else{var A=N({componentIndex:w},S.keyInfo);x=new T(C,this,this,A),N(x,A),S.brandNew&&(x.__requireNewView=!0),x.init(C,this,this),x.optionUpdated(null,!0)}}x?(m.push(x.option),g.push(x),y++):(m.push(void 0),g.push(void 0))},this),a[c]=m,i.set(c,g),o.set(c,y),c==="series"&&qr(this)}this._seriesIndices||qr(this)},t.prototype.getOption=function(){var e=$(this.option);return b(e,function(n,a){if(X.hasClass(a)){for(var i=Se(n),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!kr(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,e[a]=i}}),delete e[Ps],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var a=this._componentsMap.get(e);if(a){var i=a[n||0];if(i)return i;if(n==null){for(var o=0;o<a.length;o++)if(a[o])return a[o]}}},t.prototype.queryComponents=function(e){var n=e.mainType;if(!n)return[];var a=e.index,i=e.id,o=e.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var l;return a!=null?(l=[],b(Se(a),function(u){s[u]&&l.push(s[u])})):i!=null?l=Ls("id",i,s):o!=null?l=Ls("name",o,s):l=fe(s,function(u){return!!u}),ks(l,e)},t.prototype.findComponents=function(e){var n=e.query,a=e.mainType,i=s(n),o=i?this.queryComponents(i):fe(this._componentsMap.get(a),function(u){return!!u});return l(ks(o,e));function s(u){var f=a+"Index",c=a+"Id",h=a+"Name";return u&&(u[f]!=null||u[c]!=null||u[h]!=null)?{mainType:a,index:u[f],id:u[c],name:u[h]}:null}function l(u){return e.filter?fe(u,e.filter):u}},t.prototype.eachComponent=function(e,n,a){var i=this._componentsMap;if(W(e)){var o=n,s=e;i.each(function(c,h){for(var v=0;c&&v<c.length;v++){var d=c[v];d&&s.call(o,h,d,d.componentIndex)}})}else for(var l=B(e)?i.get(e):G(e)?this.findComponents(e):null,u=0;l&&u<l.length;u++){var f=l[u];f&&n.call(a,f,f.componentIndex)}},t.prototype.getSeriesByName=function(e){var n=$e(e,null);return fe(this._componentsMap.get("series"),function(a){return!!a&&n!=null&&a.name===n})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return fe(this._componentsMap.get("series"),function(n){return!!n&&n.subType===e})},t.prototype.getSeries=function(){return fe(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,n){ar(this),b(this._seriesIndices,function(a){var i=this._componentsMap.get("series")[a];e.call(n,i,a)},this)},t.prototype.eachRawSeries=function(e,n){b(this._componentsMap.get("series"),function(a){a&&e.call(n,a,a.componentIndex)})},t.prototype.eachSeriesByType=function(e,n,a){ar(this),b(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===e&&n.call(a,o,i)},this)},t.prototype.eachRawSeriesByType=function(e,n,a){return b(this.getSeriesByType(e),n,a)},t.prototype.isSeriesFiltered=function(e){return ar(this),this._seriesIndicesMap.get(e.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,n){ar(this);var a=[];b(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];e.call(n,o,i)&&a.push(i)},this),this._seriesIndices=a,this._seriesIndicesMap=H(a)},t.prototype.restoreData=function(e){qr(this);var n=this._componentsMap,a=[];n.each(function(i,o){X.hasClass(o)&&a.push(o)}),X.topologicalTravel(a,X.getAllClassMainTypes(),function(i){b(n.get(i),function(o){o&&(i!=="series"||!Cp(o,e))&&o.restoreData()})})},t.internalField=function(){qr=function(e){var n=e._seriesIndices=[];b(e._componentsMap.get("series"),function(a){a&&n.push(a.componentIndex)}),e._seriesIndicesMap=H(n)},ar=function(e){},Is=function(e,n){e.option={},e.option[Ps]=wp,e._componentsMap=H({series:[]}),e._componentsCount=H();var a=n.aria;G(a)&&a.enabled==null&&(a.enabled=!0),Dp(n,e._theme.option),q(n,hp,!1),e._mergeOption(n,null)}}(),t}(J);function Cp(r,t){if(t){var e=t.seriesIndex,n=t.seriesId,a=t.seriesName;return e!=null&&r.componentIndex!==e||n!=null&&r.id!==n||a!=null&&r.name!==a}}function Dp(r,t){var e=r.color&&!r.colorLayer;b(t,function(n,a){a==="colorLayer"&&e||X.hasClass(a)||(typeof n=="object"?r[a]=r[a]?q(r[a],n,!1):$(n):r[a]==null&&(r[a]=n))})}function Ls(r,t,e){if(R(t)){var n=H();return b(t,function(i){if(i!=null){var o=$e(i,null);o!=null&&n.set(i,!0)}}),fe(e,function(i){return i&&n.get(i[r])})}else{var a=$e(t,null);return fe(e,function(i){return i&&a!=null&&i[r]===a})}}function ks(r,t){return t.hasOwnProperty("subType")?fe(r,function(e){return e&&e.subType===t.subType}):r}function Es(r){var t=H();return r&&b(Se(r.replaceMerge),function(e){t.set(e,!0)}),{replaceMergeMainTypeMap:t}}ot(So,_o);var Tp=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Of=function(){function r(t){b(Tp,function(e){this[e]=j(t[e],t)},this)}return r}(),wa={},ia=function(){function r(){this._coordinateSystems=[]}return r.prototype.create=function(t,e){var n=[];b(wa,function(a,i){var o=a.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},r.prototype.update=function(t,e){b(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},r.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},r.register=function(t,e){wa[t]=e},r.get=function(t){return wa[t]},r}(),Ap=/^(min|max)?(.+)$/,Mp=function(){function r(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return r.prototype.setOption=function(t,e,n){t&&(b(Se(t.series),function(o){o&&o.data&&Pe(o.data)&&ti(o.data)}),b(Se(t.dataset),function(o){o&&o.source&&Pe(o.source)&&ti(o.source)})),t=$(t);var a=this._optionBackup,i=Ip(t,e,!a);this._newBaseOption=i.baseOption,a?(i.timelineOptions.length&&(a.timelineOptions=i.timelineOptions),i.mediaList.length&&(a.mediaList=i.mediaList),i.mediaDefault&&(a.mediaDefault=i.mediaDefault)):this._optionBackup=i},r.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],$(t?e.baseOption:this._newBaseOption)},r.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var a=t.getComponent("timeline");a&&(e=$(n[a.getCurrentIndex()]))}return e},r.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),a=this._mediaList,i=this._mediaDefault,o=[],s=[];if(!a.length&&!i)return s;for(var l=0,u=a.length;l<u;l++)Pp(a[l].query,e,n)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!kp(o,this._currentMediaIndices)&&(s=F(o,function(f){return $(f===-1?i.option:a[f].option)})),this._currentMediaIndices=o,s},r}();function Ip(r,t,e){var n=[],a,i,o=r.baseOption,s=r.timeline,l=r.options,u=r.media,f=!!r.media,c=!!(l||s||o&&o.timeline);o?(i=o,i.timeline||(i.timeline=s)):((c||f)&&(r.options=r.media=null),i=r),f&&R(u)&&b(u,function(v){v&&v.option&&(v.query?n.push(v):a||(a=v))}),h(i),b(l,function(v){return h(v)}),b(n,function(v){return h(v.option)});function h(v){b(t,function(d){d(v,e)})}return{baseOption:i,timelineOptions:l||[],mediaDefault:a,mediaList:n}}function Pp(r,t,e){var n={width:t,height:e,aspectratio:t/e},a=!0;return b(r,function(i,o){var s=o.match(Ap);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();Lp(n[u],i,l)||(a=!1)}}),a}function Lp(r,t,e){return e==="min"?r>=t:e==="max"?r<=t:r===t}function kp(r,t){return r.join(",")===t.join(",")}var ze=b,Br=G,Rs=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ca(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=Rs.length;e<n;e++){var a=Rs[e],i=t.normal,o=t.emphasis;i&&i[a]&&(r[a]=r[a]||{},r[a].normal?q(r[a].normal,i[a]):r[a].normal=i[a],i[a]=null),o&&o[a]&&(r[a]=r[a]||{},r[a].emphasis?q(r[a].emphasis,o[a]):r[a].emphasis=o[a],o[a]=null)}}function de(r,t,e){if(r&&r[t]&&(r[t].normal||r[t].emphasis)){var n=r[t].normal,a=r[t].emphasis;n&&(e?(r[t].normal=r[t].emphasis=null,te(r[t],n)):r[t]=n),a&&(r.emphasis=r.emphasis||{},r.emphasis[t]=a,a.focus&&(r.emphasis.focus=a.focus),a.blurScope&&(r.emphasis.blurScope=a.blurScope))}}function mr(r){de(r,"itemStyle"),de(r,"lineStyle"),de(r,"areaStyle"),de(r,"label"),de(r,"labelLine"),de(r,"upperLabel"),de(r,"edgeLabel")}function re(r,t){var e=Br(r)&&r[t],n=Br(e)&&e.textStyle;if(n)for(var a=0,i=ns.length;a<i;a++){var o=ns[a];n.hasOwnProperty(o)&&(e[o]=n[o])}}function Oe(r){r&&(mr(r),re(r,"label"),r.emphasis&&re(r.emphasis,"label"))}function Ep(r){if(Br(r)){Ca(r),mr(r),re(r,"label"),re(r,"upperLabel"),re(r,"edgeLabel"),r.emphasis&&(re(r.emphasis,"label"),re(r.emphasis,"upperLabel"),re(r.emphasis,"edgeLabel"));var t=r.markPoint;t&&(Ca(t),Oe(t));var e=r.markLine;e&&(Ca(e),Oe(e));var n=r.markArea;n&&Oe(n);var a=r.data;if(r.type==="graph"){a=a||r.nodes;var i=r.links||r.edges;if(i&&!Pe(i))for(var o=0;o<i.length;o++)Oe(i[o]);b(r.categories,function(u){mr(u)})}if(a&&!Pe(a))for(var o=0;o<a.length;o++)Oe(a[o]);if(t=r.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)Oe(s[o]);if(e=r.markLine,e&&e.data)for(var l=e.data,o=0;o<l.length;o++)R(l[o])?(Oe(l[o][0]),Oe(l[o][1])):Oe(l[o]);r.type==="gauge"?(re(r,"axisLabel"),re(r,"title"),re(r,"detail")):r.type==="treemap"?(de(r.breadcrumb,"itemStyle"),b(r.levels,function(u){mr(u)})):r.type==="tree"&&mr(r.leaves)}}function Qe(r){return R(r)?r:r?[r]:[]}function Os(r){return(R(r)?r[0]:r)||{}}function Rp(r,t){ze(Qe(r.series),function(n){Br(n)&&Ep(n)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),ze(e,function(n){ze(Qe(r[n]),function(a){a&&(re(a,"axisLabel"),re(a.axisPointer,"label"))})}),ze(Qe(r.parallel),function(n){var a=n&&n.parallelAxisDefault;re(a,"axisLabel"),re(a&&a.axisPointer,"label")}),ze(Qe(r.calendar),function(n){de(n,"itemStyle"),re(n,"dayLabel"),re(n,"monthLabel"),re(n,"yearLabel")}),ze(Qe(r.radar),function(n){re(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap)}),ze(Qe(r.geo),function(n){Br(n)&&(Oe(n),ze(Qe(n.regions),function(a){Oe(a)}))}),ze(Qe(r.timeline),function(n){Oe(n),de(n,"label"),de(n,"itemStyle"),de(n,"controlStyle",!0);var a=n.data;R(a)&&b(a,function(i){G(i)&&(de(i,"label"),de(i,"itemStyle"))})}),ze(Qe(r.toolbox),function(n){de(n,"iconStyle"),ze(n.feature,function(a){de(a,"iconStyle")})}),re(Os(r.axisPointer),"label"),re(Os(r.tooltip).axisPointer,"label")}function Op(r,t){for(var e=t.split(","),n=r,a=0;a<e.length&&(n=n&&n[e[a]],n!=null);a++);return n}function Np(r,t,e,n){for(var a=t.split(","),i=r,o,s=0;s<a.length-1;s++)o=a[s],i[o]==null&&(i[o]={}),i=i[o];i[a[s]]==null&&(i[a[s]]=e)}function Ns(r){r&&b(Bp,function(t){t[0]in r&&!(t[1]in r)&&(r[t[1]]=r[t[0]])})}var Bp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Fp=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Da=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function ir(r){var t=r&&r.itemStyle;if(t)for(var e=0;e<Da.length;e++){var n=Da[e][1],a=Da[e][0];t[n]!=null&&(t[a]=t[n])}}function Bs(r){r&&r.alignTo==="edge"&&r.margin!=null&&r.edgeDistance==null&&(r.edgeDistance=r.margin)}function Fs(r){r&&r.downplay&&!r.blur&&(r.blur=r.downplay)}function Vp(r){r&&r.focusNodeAdjacency!=null&&(r.emphasis=r.emphasis||{},r.emphasis.focus==null&&(r.emphasis.focus="adjacency"))}function Nf(r,t){if(r)for(var e=0;e<r.length;e++)t(r[e]),r[e]&&Nf(r[e].children,t)}function Bf(r,t){Rp(r,t),r.series=Se(r.series),b(r.series,function(e){if(G(e)){var n=e.type;if(n==="line")e.clipOverflow!=null&&(e.clip=e.clipOverflow);else if(n==="pie"||n==="gauge"){e.clockWise!=null&&(e.clockwise=e.clockWise),Bs(e.label);var a=e.data;if(a&&!Pe(a))for(var i=0;i<a.length;i++)Bs(a[i]);e.hoverOffset!=null&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if(n==="gauge"){var o=Op(e,"pointer.color");o!=null&&Np(e,"itemStyle.color",o)}else if(n==="bar"){ir(e),ir(e.backgroundStyle),ir(e.emphasis);var a=e.data;if(a&&!Pe(a))for(var i=0;i<a.length;i++)typeof a[i]=="object"&&(ir(a[i]),ir(a[i]&&a[i].emphasis))}else if(n==="sunburst"){var s=e.highlightPolicy;s&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=s)),Fs(e),Nf(e.data,Fs)}else n==="graph"||n==="sankey"?Vp(e):n==="map"&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&te(e,e.mapLocation));e.hoverAnimation!=null&&(e.emphasis=e.emphasis||{},e.emphasis&&e.emphasis.scale==null&&(e.emphasis.scale=e.hoverAnimation)),Ns(e)}}),r.dataRange&&(r.visualMap=r.dataRange),b(Fp,function(e){var n=r[e];n&&(R(n)||(n=[n]),b(n,function(a){Ns(a)}))})}function zp(r){var t=H();r.eachSeries(function(e){var n=e.get("stack");if(n){var a=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(o)}}),t.each(Gp)}function Gp(r){b(r,function(t,e){var n=[],a=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,f,c){var h=o.get(t.stackedDimension,c);if(isNaN(h))return a;var v,d;s?d=o.getRawIndex(c):v=o.get(t.stackedByDimension,c);for(var p=NaN,m=e-1;m>=0;m--){var g=r[m];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,v)),d>=0){var y=g.data.getByRawIndex(g.stackResultDimension,d);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&h>=0&&y>0||l==="samesign"&&h<=0&&y<0){h=Ih(h,y),p=y;break}}}return n[0]=h,n[1]=p,n})})}var oa=function(){function r(t){this.data=t.data||(t.sourceFormat===lt?{}:[]),this.sourceFormat=t.sourceFormat||Lf,this.seriesLayoutBy=t.seriesLayoutBy||rt,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var a=e[n];a.type==null&&Rf(this,n)===Ie.Must&&(a.type="ordinal")}}return r}();function xo(r){return r instanceof oa}function di(r,t,e){e=e||Vf(r);var n=t.seriesLayoutBy,a=Wp(r,e,n,t.sourceHeader,t.dimensions),i=new oa({data:r,sourceFormat:e,seriesLayoutBy:n,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:$(t)});return i}function Ff(r){return new oa({data:r,sourceFormat:Pe(r)?mt:Ve})}function Hp(r){return new oa({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:$(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount})}function Vf(r){var t=Lf;if(Pe(r))t=mt;else if(R(r)){r.length===0&&(t=Te);for(var e=0,n=r.length;e<n;e++){var a=r[e];if(a!=null){if(R(a)||Pe(a)){t=Te;break}else if(G(a)){t=je;break}}}}else if(G(r)){for(var i in r)if(kt(r,i)&&Nn(r[i])){t=lt;break}}return t}function Wp(r,t,e,n,a){var i,o;if(!r)return{dimensionsDefine:Vs(a),startIndex:o,dimensionsDetectedCount:i};if(t===Te){var s=r;n==="auto"||n==null?zs(function(u){u!=null&&u!=="-"&&(B(u)?o==null&&(o=1):o=0)},e,s,10):o=ae(n)?n:n?1:0,!a&&o===1&&(a=[],zs(function(u,f){a[f]=u!=null?u+"":""},e,s,1/0)),i=a?a.length:e===er?s.length:s[0]?s[0].length:null}else if(t===je)a||(a=Up(r));else if(t===lt)a||(a=[],b(r,function(u,f){a.push(f)}));else if(t===Ve){var l=Wr(r[0]);i=R(l)&&l.length||1}return{startIndex:o,dimensionsDefine:Vs(a),dimensionsDetectedCount:i}}function Up(r){for(var t=0,e;t<r.length&&!(e=r[t++]););if(e)return Ye(e)}function Vs(r){if(r){var t=H();return F(r,function(e,n){e=G(e)?e:{name:e};var a={name:e.name,displayName:e.displayName,type:e.type};if(a.name==null)return a;a.name+="",a.displayName==null&&(a.displayName=a.name);var i=t.get(a.name);return i?a.name+="-"+i.count++:t.set(a.name,{count:1}),a})}}function zs(r,t,e,n){if(t===er)for(var a=0;a<e.length&&a<n;a++)r(e[a]?e[a][0]:null,a);else for(var i=e[0]||[],a=0;a<i.length&&a<n;a++)r(i[a],a)}function zf(r){var t=r.sourceFormat;return t===je||t===lt}var Ct,Dt,Tt,Gs,Hs,Gf=function(){function r(t,e){var n=xo(t)?t:Ff(t);this._source=n;var a=this._data=n.data;n.sourceFormat===mt&&(this._offset=0,this._dimSize=e,this._data=a),Hs(this,a,n)}return r.prototype.getSource=function(){return this._source},r.prototype.count=function(){return 0},r.prototype.getItem=function(t,e){},r.prototype.appendData=function(t){},r.prototype.clean=function(){},r.protoInitialize=function(){var t=r.prototype;t.pure=!1,t.persistent=!0}(),r.internalField=function(){var t;Hs=function(o,s,l){var u=l.sourceFormat,f=l.seriesLayoutBy,c=l.startIndex,h=l.dimensionsDefine,v=Gs[bo(u,f)];if(N(o,v),u===mt)o.getItem=e,o.count=a,o.fillStorage=n;else{var d=Hf(u,f);o.getItem=j(d,null,s,c,h);var p=Wf(u,f);o.count=j(p,null,s,c,h)}};var e=function(o,s){o=o-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,f=u*o,c=0;c<u;c++)s[c]=l[f+c];return s},n=function(o,s,l,u){for(var f=this._data,c=this._dimSize,h=0;h<c;h++){for(var v=u[h],d=v[0]==null?1/0:v[0],p=v[1]==null?-1/0:v[1],m=s-o,g=l[h],y=0;y<m;y++){var _=f[y*c+h];g[o+y]=_,_<d&&(d=_),_>p&&(p=_)}v[0]=d,v[1]=p}},a=function(){return this._data?this._data.length/this._dimSize:0};Gs=(t={},t[Te+"_"+rt]={pure:!0,appendData:i},t[Te+"_"+er]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[je]={pure:!0,appendData:i},t[lt]={pure:!0,appendData:function(o){var s=this._data;b(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},t[Ve]={appendData:i},t[mt]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function i(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),r}(),Ws=function(r,t,e,n){return r[n]},Yp=(Ct={},Ct[Te+"_"+rt]=function(r,t,e,n){return r[n+t]},Ct[Te+"_"+er]=function(r,t,e,n,a){n+=t;for(var i=a||[],o=r,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[n]:null}return i},Ct[je]=Ws,Ct[lt]=function(r,t,e,n,a){for(var i=a||[],o=0;o<e.length;o++){var s=e[o].name,l=r[s];i[o]=l?l[n]:null}return i},Ct[Ve]=Ws,Ct);function Hf(r,t){var e=Yp[bo(r,t)];return e}var Us=function(r,t,e){return r.length},Xp=(Dt={},Dt[Te+"_"+rt]=function(r,t,e){return Math.max(0,r.length-t)},Dt[Te+"_"+er]=function(r,t,e){var n=r[0];return n?Math.max(0,n.length-t):0},Dt[je]=Us,Dt[lt]=function(r,t,e){var n=e[0].name,a=r[n];return a?a.length:0},Dt[Ve]=Us,Dt);function Wf(r,t){var e=Xp[bo(r,t)];return e}var Ta=function(r,t,e){return r[t]},Zp=(Tt={},Tt[Te]=Ta,Tt[je]=function(r,t,e){return r[e]},Tt[lt]=Ta,Tt[Ve]=function(r,t,e){var n=Wr(r);return n instanceof Array?n[t]:n},Tt[mt]=Ta,Tt);function Uf(r){var t=Zp[r];return t}function bo(r,t){return r===Te?r+"_"+t:r}function jt(r,t,e){if(r){var n=r.getRawDataItem(t);if(n!=null){var a=r.getStore(),i=a.getSource().sourceFormat;if(e!=null){var o=r.getDimensionIndex(e),s=a.getDimensionProperty(o);return Uf(i)(n,o,s)}else{var l=n;return i===Ve&&(l=Wr(n)),l}}}}var $p=/\{@(.+?)\}/g,Kp=function(){function r(){}return r.prototype.getDataParams=function(t,e){var n=this.getData(e),a=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),u=l&&l[n.getItemVisual(t,"drawType")||"fill"],f=l&&l.stroke,c=this.mainType,h=c==="series",v=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:s,dataType:e,value:a,color:u,borderColor:f,dimensionNames:v?v.fullDimensions:null,encode:v?v.encode:null,$vars:["seriesName","name","value"]}},r.prototype.getFormattedLabel=function(t,e,n,a,i,o){e=e||"normal";var s=this.getData(n),l=this.getDataParams(t,n);if(o&&(l.value=o.interpolatedValue),a!=null&&R(l.value)&&(l.value=l.value[a]),!i){var u=s.getItemModel(t);i=u.get(e==="normal"?["label","formatter"]:[e,"label","formatter"])}if(W(i))return l.status=e,l.dimensionIndex=a,i(l);if(B(i)){var f=mo(i,l);return f.replace($p,function(c,h){var v=h.length,d=h;d.charAt(0)==="["&&d.charAt(v-1)==="]"&&(d=+d.slice(1,v-1));var p=jt(s,t,d);if(o&&R(o.interpolatedValue)){var m=s.getDimensionIndex(d);m>=0&&(p=o.interpolatedValue[m])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return jt(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r}();function Ys(r){var t,e;return G(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function Dr(r){return new qp(r)}var qp=function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var a=this.context;a.data=a.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!n&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(y){return!(y>=1)&&(y=1),y}var c;(this._dirty||i==="reset")&&(this._dirty=!1,c=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(c||v<d)){var p=this._progress;if(R(p))for(var m=0;m<p.length;m++)this._doProgress(p[m],v,d,l,u);else this._doProgress(p,v,d,l,u)}this._dueIndex=d;var g=this._settedOutputEnd!=null?this._settedOutputEnd:d;this._outputDueEnd=g}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},r.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},r.prototype._doProgress=function(t,e,n,a,i){Xs.reset(e,n,a,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Xs.next},this.context)},r.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var e,n;!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),R(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),n},r.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},r.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},r.prototype.getUpstream=function(){return this._upstream},r.prototype.getDownstream=function(){return this._downstream},r.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},r}(),Xs=function(){var r,t,e,n,a,i={reset:function(l,u,f,c){t=l,r=u,e=f,n=c,a=Math.ceil(n/e),i.next=e>1&&n>0?s:o}};return i;function o(){return t<r?t++:null}function s(){var l=t%a*e+Math.ceil(t/a),u=t>=r?null:l<n?l:t;return t++,u}}();function mn(r,t){var e=t&&t.type;return e==="ordinal"?r:(e==="time"&&!ae(r)&&r!=null&&r!=="-"&&(r=+Be(r)),r==null||r===""?NaN:Number(r))}H({number:function(r){return parseFloat(r)},time:function(r){return+Be(r)},trim:function(r){return B(r)?Hr(r):r}});var jp=function(){function r(t,e){var n=t==="desc";this._resultLT=n?1:-1,e==null&&(e=n?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var n=ae(t)?t:Lr(t),a=ae(e)?e:Lr(e),i=isNaN(n),o=isNaN(a);if(i&&(n=this._incomparable),o&&(a=this._incomparable),i&&o){var s=B(t),l=B(e);s&&(n=l?t:0),l&&(a=s?e:0)}return n<a?this._resultLT:n>a?-this._resultLT:0},r}(),Jp=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return mn(t,e)},r}();function Qp(r,t){var e=new Jp,n=r.data,a=e.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==rt&&we(o);var s=[],l={},u=r.dimensionsDefine;if(u)b(u,function(p,m){var g=p.name,y={index:m,name:g,displayName:p.displayName};if(s.push(y),g!=null){var _="";kt(l,g)&&we(_),l[g]=y}});else for(var f=0;f<r.dimensionsDetectedCount;f++)s.push({index:f});var c=Hf(a,rt);t.__isBuiltIn&&(e.getRawDataItem=function(p){return c(n,i,s,p)},e.getRawData=j(eg,null,r)),e.cloneRawData=j(tg,null,r);var h=Wf(a,rt);e.count=j(h,null,n,i,s);var v=Uf(a);e.retrieveValue=function(p,m){var g=c(n,i,s,p);return d(g,m)};var d=e.retrieveValueFromItem=function(p,m){if(p!=null){var g=s[m];if(g)return v(p,m,g.name)}};return e.getDimensionInfo=j(rg,null,s,l),e.cloneAllDimensionInfo=j(ng,null,s),e}function eg(r){var t=r.sourceFormat;if(!wo(t)){var e="";we(e)}return r.data}function tg(r){var t=r.sourceFormat,e=r.data;if(!wo(t)){var n="";we(n)}if(t===Te){for(var a=[],i=0,o=e.length;i<o;i++)a.push(e[i].slice());return a}else if(t===je){for(var a=[],i=0,o=e.length;i<o;i++)a.push(N({},e[i]));return a}}function rg(r,t,e){if(e!=null){if(ae(e)||!isNaN(e)&&!kt(t,e))return r[e];if(kt(t,e))return t[e]}}function ng(r){return $(r)}var Yf=H();function ag(r){r=$(r);var t=r.type,e="";t||we(e);var n=t.split(":");n.length!==2&&we(e);var a=!1;n[0]==="echarts"&&(t=n[1],a=!0),r.__isBuiltIn=a,Yf.set(t,r)}function ig(r,t,e){var n=Se(r),a=n.length,i="";a||we(i);for(var o=0,s=a;o<s;o++){var l=n[o];t=og(l,t),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function og(r,t,e,n){var a="";t.length||we(a),G(r)||we(a);var i=r.type,o=Yf.get(i);o||we(a);var s=F(t,function(u){return Qp(u,o)}),l=Se(o.transform({upstream:s[0],upstreamList:s,config:$(r.config)}));return F(l,function(u,f){var c="";G(u)||we(c),u.data||we(c);var h=Vf(u.data);wo(h)||we(c);var v,d=t[0];if(d&&f===0&&!u.dimensions){var p=d.startIndex;p&&(u.data=d.data.slice(0,p).concat(u.data)),v={seriesLayoutBy:rt,sourceHeader:p,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:rt,sourceHeader:0,dimensions:u.dimensions};return di(u.data,v,null)})}function wo(r){return r===Te||r===je}var sa="undefined",sg=typeof Uint32Array===sa?Array:Uint32Array,lg=typeof Uint16Array===sa?Array:Uint16Array,Xf=typeof Int32Array===sa?Array:Int32Array,Zs=typeof Float64Array===sa?Array:Float64Array,Zf={float:Zs,int:Xf,ordinal:Array,number:Array,time:Zs},Aa;function zt(r){return r>65535?sg:lg}function Gt(){return[1/0,-1/0]}function ug(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function $s(r,t,e,n,a){var i=Zf[e||"float"];if(a){var o=r[t],s=o&&o.length;if(s!==n){for(var l=new i(n),u=0;u<s;u++)l[u]=o[u];r[t]=l}}else r[t]=new i(n)}var pi=function(){function r(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=H()}return r.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=Aa[a.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[],zf(a),this._dimensions=F(e,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,t.count())},r.prototype.getProvider=function(){return this._provider},r.prototype.getSource=function(){return this._provider.getSource()},r.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,a=this._dimensions,i=n.get(t);if(i!=null){if(a[i].type===e)return i}else i=a.length;return a[i]={type:e},n.set(t,i),this._chunks[i]=new Zf[e||"float"](this._rawCount),this._rawExtent[i]=Gt(),i},r.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,o=a.ordinalOffset||0,s=n.length;o===0&&(i[t]=Gt());for(var l=i[t],u=o;u<s;u++){var f=n[u]=e.parseAndCollect(n[u]);isNaN(f)||(l[0]=Math.min(f,l[0]),l[1]=Math.max(f,l[1]))}a.ordinalMeta=e,a.ordinalOffset=s,a.type="ordinal"},r.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},r.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},r.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var a=e.count();return e.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},r.prototype.appendValues=function(t,e){for(var n=this._chunks,a=this._dimensions,i=a.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<i;u++){var f=a[u];$s(n,u,f.type,l,!0)}for(var c=[],h=s;h<l;h++)for(var v=h-s,d=0;d<i;d++){var f=a[d],p=Aa.arrayRows.call(this,t[v]||c,f.property,v,d);n[d][h]=p;var m=o[d];p<m[0]&&(m[0]=p),p>m[1]&&(m[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=F(o,function(y){return y.property}),f=0;f<s;f++){var c=o[f];l[f]||(l[f]=Gt()),$s(i,f,c.type,e,n)}if(a.fillStorage)a.fillStorage(t,e,i,l);else for(var h=[],v=t;v<e;v++){h=a.getItem(v,h);for(var d=0;d<s;d++){var p=i[d],m=this._dimValueGetter(h,u[d],v,d);p[v]=m;var g=l[d];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},r.prototype.getValues=function(t,e){var n=[],a=[];if(e==null){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)a.push(i)}else a=t;for(var i=0,o=a.length;i<o;i++)n.push(this.get(a[i],e));return n},r.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},r.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var a=0,i=this.count();a<i;a++){var o=this.get(t,a);isNaN(o)||(n+=o)}return n},r.prototype.getMedian=function(t){var e=[];this.each([t],function(i){isNaN(i)||e.push(i)});var n=e.sort(function(i,o){return i-o}),a=this.count();return a===0?0:a%2===1?n[(a-1)/2]:(n[a/2]+n[a/2-1])/2},r.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&n<this._count&&n===t)return t;for(var a=0,i=this._count-1;a<=i;){var o=(a+i)/2|0;if(e[o]<t)a=o+1;else if(e[o]>t)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks,i=a[t],o=[];if(!i)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,f=0,c=this.count();f<c;f++){var h=this.getRawIndex(f),v=e-i[h],d=Math.abs(v);d<=n&&((d<s||d===s&&v>=0&&l<0)&&(s=d,l=v,u=0),v===l&&(o[u++]=f))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i<a;i++)t[i]=e[i]}else t=new n(e.buffer,0,a)}else{var n=zt(this._rawCount);t=new n(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},r.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),a=n.count(),i=zt(n._rawCount),o=new i(a),s=[],l=t.length,u=0,f=t[0],c=n._chunks,h=0;h<a;h++){var v=void 0,d=n.getRawIndex(h);if(l===0)v=e(h);else if(l===1){var p=c[f][d];v=e(p,h)}else{for(var m=0;m<l;m++)s[m]=c[t[m]][d];s[m]=h,v=e.apply(null,s)}v&&(o[u++]=d)}return u<a&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},r.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var a=Ye(t),i=a.length;if(!i)return this;var o=e.count(),s=zt(e._rawCount),l=new s(o),u=0,f=a[0],c=t[f][0],h=t[f][1],v=e._chunks,d=!1;if(!e._indices){var p=0;if(i===1){for(var m=v[a[0]],g=0;g<n;g++){var y=m[g];(y>=c&&y<=h||isNaN(y))&&(l[u++]=p),p++}d=!0}else if(i===2){for(var m=v[a[0]],_=v[a[1]],S=t[a[1]][0],w=t[a[1]][1],g=0;g<n;g++){var y=m[g],x=_[g];(y>=c&&y<=h||isNaN(y))&&(x>=S&&x<=w||isNaN(x))&&(l[u++]=p),p++}d=!0}}if(!d)if(i===1)for(var g=0;g<o;g++){var C=e.getRawIndex(g),y=v[a[0]][C];(y>=c&&y<=h||isNaN(y))&&(l[u++]=C)}else for(var g=0;g<o;g++){for(var M=!0,C=e.getRawIndex(g),T=0;T<i;T++){var A=a[T],y=v[A][C];(y<t[A][0]||y>t[A][1])&&(M=!1)}M&&(l[u++]=e.getRawIndex(g))}return u<o&&(e._indices=l),e._count=u,e._extent=[],e._updateGetRawIdx(),e},r.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},r.prototype.modify=function(t,e){this._updateDims(this,t,e)},r.prototype._updateDims=function(t,e,n){for(var a=t._chunks,i=[],o=e.length,s=t.count(),l=[],u=t._rawExtent,f=0;f<e.length;f++)u[e[f]]=Gt();for(var c=0;c<s;c++){for(var h=t.getRawIndex(c),v=0;v<o;v++)l[v]=a[e[v]][h];l[o]=c;var d=n&&n.apply(null,l);if(d!=null){typeof d!="object"&&(i[0]=d,d=i);for(var f=0;f<d.length;f++){var p=e[f],m=d[f],g=u[p],y=a[p];y&&(y[h]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),a=n._chunks,i=a[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),f,c,h,v=new(zt(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;d<o-1;d+=l){for(var p=Math.min(d+l,o-1),m=Math.min(d+l*2,o),g=(m+p)/2,y=0,_=p;_<m;_++){var S=this.getRawIndex(_),w=i[S];isNaN(w)||(y+=w)}y/=m-p;var x=d,C=Math.min(d+l,o),M=d-1,T=i[u];f=-1,h=x;for(var A=-1,D=0,_=x;_<C;_++){var S=this.getRawIndex(_),w=i[S];if(isNaN(w)){D++,A<0&&(A=S);continue}c=Math.abs((M-g)*(w-T)-(M-_)*(y-T)),c>f&&(f=c,h=S)}D>0&&D<C-x&&(v[s++]=Math.min(A,h),h=Math.max(A,h)),v[s++]=h,u=h}return v[s++]=this.getRawIndex(o-1),n._count=s,n._indices=v,n.getRawIndex=this._getRawIdx,n},r.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),a=n._chunks,i=Math.floor(1/e),o=a[t],s=this.count(),l=new(zt(this._rawCount))(Math.ceil(s/i)*2),u=0,f=0;f<s;f+=i){var c=f,h=o[this.getRawIndex(c)],v=f,d=o[this.getRawIndex(v)],p=i;f+i>s&&(p=s-f);for(var m=0;m<p;m++){var g=this.getRawIndex(f+m),y=o[g];y<h&&(h=y,c=f+m),y>d&&(d=y,v=f+m)}var _=this.getRawIndex(c),S=this.getRawIndex(v);c<v?(l[u++]=_,l[u++]=S):(l[u++]=S,l[u++]=_)}return n._count=u,n._indices=l,n._updateGetRawIdx(),n},r.prototype.downSample=function(t,e,n,a){for(var i=this.clone([t],!0),o=i._chunks,s=[],l=Math.floor(1/e),u=o[t],f=this.count(),c=i._rawExtent[t]=Gt(),h=new(zt(this._rawCount))(Math.ceil(f/l)),v=0,d=0;d<f;d+=l){l>f-d&&(l=f-d,s.length=l);for(var p=0;p<l;p++){var m=this.getRawIndex(d+p);s[p]=u[m]}var g=n(s),y=this.getRawIndex(Math.min(d+a(s,g)||0,f-1));u[y]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),h[v++]=y}return i._count=v,i._indices=h,i._updateGetRawIdx(),i},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,i=0,o=this.count();i<o;i++){var s=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(a[t[0]][s],i);break;case 2:e(a[t[0]][s],a[t[1]][s],i);break;default:for(var l=0,u=[];l<n;l++)u[l]=a[t[l]][s];u[l]=i,e.apply(null,u)}}},r.prototype.getDataExtent=function(t){var e=this._chunks[t],n=Gt();if(!e)return n;var a=this.count(),i=!this._indices,o;if(i)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=n;for(var s=o[0],l=o[1],u=0;u<a;u++){var f=this.getRawIndex(u),c=e[f];c<s&&(s=c),c>l&&(l=c)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,i=0;i<a.length;i++)n.push(a[i][e]);return n},r.prototype.clone=function(t,e){var n=new r,a=this._chunks,i=t&&Mr(t,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<a.length;o++)n._chunks[o]=i[o]?ug(a[o]):a[o];else n._chunks=a;return this._copyCommonProps(n),e||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},r.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=$(this._extent),t._rawExtent=$(this._rawExtent)},r.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var a=0;a<n;a++)e[a]=this._indices[a]}else e=new t(this._indices);return e}return null},r.prototype._getRawIdxIdentity=function(t){return t},r.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function t(e,n,a,i){return mn(e[i],this._dimensions[i])}Aa={arrayRows:t,objectRows:function(e,n,a,i){return mn(e[n],this._dimensions[i])},keyedColumns:t,original:function(e,n,a,i){var o=e&&(e.value==null?e:e.value);return mn(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(e,n,a,i){return e[i]}}}(),r}(),fg=function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,a,i;if(jr(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var f=e[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=Pe(s)?mt:Ve,i=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=Q(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=Q(c.sourceHeader,h.sourceHeader),p=Q(c.dimensions,h.dimensions),m=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||p;a=m?[di(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var g=t;if(n){var y=this._applyTransform(e);a=y.sourceList,i=y.upstreamSignList}else{var _=g.get("source",!0);a=[di(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(a,i)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),a=e.get("fromTransformResult",!0);if(a!=null){var i="";t.length!==1&&Ks(i)}var o,s=[],l=[];return b(t,function(u){u.prepareSource();var f=u.getSource(a||0),c="";a!=null&&!f&&Ks(c),s.push(f),l.push(u._getVersionSign())}),n?o=ig(n,s,{datasetIndex:e.componentIndex}):a!=null&&(o=[Hp(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},r.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},r.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},r.prototype._innerGetDataStore=function(t,e,n){var a=0,i=this._storeList,o=i[a];o||(o=i[a]={});var s=o[n];if(!s){var l=this._getUpstreamSourceManagers()[0];jr(this._sourceHost)&&l?s=l._innerGetDataStore(t,e,n):(s=new pi,s.initData(new Gf(e,t.length),t)),o[n]=s}return s},r.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(jr(t)){var e=Ef(t);return e?[e.getSourceManager()]:[]}else return F(gp(t),function(n){return n.getSourceManager()})},r.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,e,n,a;if(jr(t))e=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),a=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=t;e=i.get("seriesLayoutBy",!0),n=i.get("sourceHeader",!0),a=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:n,dimensions:a}},r}();function jr(r){return r.mainType==="series"}function Ks(r){throw new Error(r)}var cg="line-height:1";function $f(r){var t=r.lineHeight;return t==null?cg:"line-height:"+ye(t+"")+"px"}function Kf(r,t){var e=r.color||"#6e7079",n=r.fontSize||12,a=r.fontWeight||"400",i=r.color||"#464646",o=r.fontSize||14,s=r.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+ye(n+"")+"px;color:"+ye(e)+";font-weight:"+ye(a+""),valueStyle:"font-size:"+ye(o+"")+"px;color:"+ye(i)+";font-weight:"+ye(s+"")}:{nameStyle:{fontSize:n,fill:e,fontWeight:a},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var vg=[0,10,20,30],hg=["",`
|
|
3
3
|
`,`
|
|
4
4
|
|