chatlab-cli 0.21.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/{chunk-OQVKZTVD.mjs → chunk-3UBWLWXB.mjs} +2 -2
- package/dist/{chunk-AIR7EAF4.mjs → chunk-4U45E7TO.mjs} +2 -2
- package/dist/{chunk-OZWXLRJL.mjs → chunk-6GLMVWGA.mjs} +24 -15
- package/dist/chunk-6GLMVWGA.mjs.map +1 -0
- package/dist/{chunk-2AIOU3PW.mjs → chunk-6NB475AA.mjs} +12 -3
- package/dist/chunk-6NB475AA.mjs.map +1 -0
- package/dist/{chunk-LI4X52E7.mjs → chunk-AMMSVJG4.mjs} +325 -94
- package/dist/chunk-AMMSVJG4.mjs.map +1 -0
- package/dist/{chunk-4GI2UPCS.mjs → chunk-D2XJ4Z7G.mjs} +2 -2
- package/dist/{chunk-7HQWGLX6.mjs → chunk-QJQJIUUS.mjs} +102 -96
- package/dist/chunk-QJQJIUUS.mjs.map +1 -0
- package/dist/chunk-VSOWNKPA.mjs +49 -0
- package/dist/cli.mjs +4 -3
- package/dist/{http-DHQI4G5J.mjs → http-R5UECMPJ.mjs} +8 -7
- package/dist/{import-CQWGIMZQ.mjs → import-3LOWRXWA.mjs} +5 -4
- package/dist/index.mjs +8 -7
- package/dist/{mcp-7Q3FEI3Z.mjs → mcp-WBHNLED2.mjs} +8 -7
- package/dist/mcp-WBHNLED2.mjs.map +1 -0
- package/dist/{src-QBT5SYW5.mjs → src-UHM2UDRD.mjs} +3 -2
- package/dist/{stream-import-VG7RP6KJ.mjs → stream-import-V6Z7DXSW.mjs} +4 -3
- package/dist/stream-import-V6Z7DXSW.mjs.map +1 -0
- package/dist/update-checker-MQMQ6A4B.mjs +191 -0
- package/dist/update-checker-MQMQ6A4B.mjs.map +1 -0
- package/dist-web/assets/{DebugToolsPanel-CoBtqb--.css → DebugToolsPanel-DkbsB6lr.css} +1 -1
- package/dist-web/assets/{DebugToolsPanel.vue_vue_type_script_setup_true_lang-CpFGhsl5.js → DebugToolsPanel.vue_vue_type_script_setup_true_lang-CxYyne-Q.js} +5 -5
- package/dist-web/assets/{EChartWordcloud-BYLFxPAX.js → EChartWordcloud-Ubal_aYg.js} +1 -1
- package/dist-web/assets/{MessageExportModal-DTgxz1eQ.js → MessageExportModal-De5_tX6a.js} +1 -1
- package/dist-web/assets/{electron-CTK4NJag.js → electron-CRSL7qPM.js} +1 -1
- package/dist-web/assets/{fetch-C2vUkdnA.js → fetch-Q-PqsiMb.js} +1 -1
- package/dist-web/assets/{fetch-CTZXLLcn.js → fetch-cFjLAPG2.js} +1 -1
- package/dist-web/assets/{index-DeG0EHOT.js → index-BJUGnYn5.js} +1 -1
- package/dist-web/assets/{index-DuhN8jAf.js → index-B_31fXeB.js} +2 -2
- package/dist-web/assets/index-CbOwHYzO.css +1 -0
- package/dist-web/assets/index-DKMUn8F5.js +173 -0
- package/dist-web/assets/{index-C4B0hv6C.js → index-D_ksezTw.js} +4 -4
- package/dist-web/assets/index-Dhg3SDb6.js +7 -0
- package/dist-web/assets/logo-DXIuG_WE.svg +17 -0
- package/dist-web/assets/{vendor-echarts-C13vDgZW.js → vendor-echarts-C5u62NnM.js} +1 -1
- package/dist-web/assets/{vendor-echarts-wordcloud-uVdwYsYa.js → vendor-echarts-wordcloud-CZ9gsX8l.js} +1 -1
- package/dist-web/assets/{vendor-nuxt-ui-CYMNNdeD.js → vendor-nuxt-ui-7OAuiz_i.js} +1 -1
- package/dist-web/assets/{vendor-zrender-5DcYjSZk.js → vendor-zrender-DFl4U2Oe.js} +1 -1
- package/dist-web/assets/{web-DImo6Kjz.js → web-CZe0Ismu.js} +1 -1
- package/dist-web/index.html +3 -3
- package/package.json +4 -3
- package/dist/chunk-2AIOU3PW.mjs.map +0 -1
- package/dist/chunk-7HQWGLX6.mjs.map +0 -1
- package/dist/chunk-LI4X52E7.mjs.map +0 -1
- package/dist/chunk-OZWXLRJL.mjs.map +0 -1
- package/dist/mcp-7Q3FEI3Z.mjs.map +0 -1
- package/dist-web/assets/index-B8867dX7.css +0 -1
- package/dist-web/assets/index-DUXf21MT.js +0 -173
- package/dist-web/assets/index-DZiH2cC1.js +0 -7
- /package/dist/{chunk-OQVKZTVD.mjs.map → chunk-3UBWLWXB.mjs.map} +0 -0
- /package/dist/{chunk-AIR7EAF4.mjs.map → chunk-4U45E7TO.mjs.map} +0 -0
- /package/dist/{chunk-4GI2UPCS.mjs.map → chunk-D2XJ4Z7G.mjs.map} +0 -0
- /package/dist/{http-DHQI4G5J.mjs.map → chunk-VSOWNKPA.mjs.map} +0 -0
- /package/dist/{import-CQWGIMZQ.mjs.map → http-R5UECMPJ.mjs.map} +0 -0
- /package/dist/{src-QBT5SYW5.mjs.map → import-3LOWRXWA.mjs.map} +0 -0
- /package/dist/{stream-import-VG7RP6KJ.mjs.map → src-UHM2UDRD.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as sn,m as X,i as Z,a as N,b as oe,e as be,c as K,d as ee,f as T,g as Bs,h as ht,j as fe,k as $y,l as F,n as Q,P as Be,o as nf,p as Rn,q as Le,s as j,t as Ky,u as qy,Z as Gt,v as jy,w as G,x as ae,T as aa,y as En,z as Ct,A as Nh,B as Bh,C as Me,D as Vh,E as Qy,F as Jy,G as em,H as q,I as On,J as uo,K as zh,S as kr,R as Wl,L as Nn,M as Pr,N as ve,O as nr,Q as Ul,U as Yl,V as Gh,W as le,X as tm,Y as Xl,_ as Fh,$ as ge,a0 as rm,a1 as de,a2 as Hh,a3 as Rr,a4 as Bn,a5 as ue,a6 as gt,a7 as Ye,a8 as ye,a9 as sa,aa as Ke,ab as Ce,ac as $,ad as Ri,ae as am,af as nt,ag as Vs,ah as nm,ai as im,aj as Ei,ak as om,al as Vn,am as of,an as Io,ao as sm,ap as ln,aq as Tr,ar as lm,as as Wh,at as sf,au as ko,av as Uh,aw as um,ax as fm,ay as Ya,az as cm,aA as lf,aB as uf,aC as vm,aD as hm,aE as Yh,aF as Ar,aG as ff,aH as Xh,aI as cf,aJ as ha,aK as He,aL as xi,aM as Po,aN as Zh,aO as dm,aP as rr,aQ as zn,aR as pm,aS as gm,aT as na,aU as vf,aV as ym,aW as zs,aX as mm,aY as _m,aZ as Sm,a_ as xm,a$ as un,b0 as bm,b1 as $h,b2 as wm,b3 as hf,b4 as Tm,b5 as Cm,b6 as Mm}from"./vendor-zrender-5DcYjSZk.js";var Gs=function(r,e){return Gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},Gs(r,e)};function U(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Gs(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var df=1e-4,Kh=20;function Dm(r){return r.replace(/^\s+|\s+$/g,"")}var fn=Math.min,$e=Math.max,bt=Math.abs;function it(r,e,t,a){var n=e[0],i=e[1],o=t[0],s=t[1],l=i-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(a)if(l>0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}var re=Am;function Am(r,e,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 Fs(r,e,t)}function Fs(r,e,t){return Z(r)?Dm(r).match(/%$/)?parseFloat(r)/100*e+(t||0):parseFloat(r):r==null?NaN:+r}function ke(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Kh),r=(+r).toFixed(e),t?r:+r}function qh(r){return r.sort(function(e,t){return e-t}),r}function Pt(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return Lm(r)}function Lm(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function Im(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(bt(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function km(r,e){var t=sn(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=X(r,function(v){return(isNaN(v)?0:v)/t*a*100}),i=a*100,o=X(n,function(v){return Math.floor(v)}),s=sn(o,function(v,d){return v+d},0),l=X(n,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 X(o,function(v){return v/a})}function Pm(r,e){var t=Math.max(Pt(r),Pt(e)),a=r+e;return t>Kh?a:ke(a,t)}function jh(r){var e=Math.PI*2;return(r%e+e)%e}function Oi(r){return r>-df&&r<df}var Rm=/^(?:(\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 Er(r){if(r instanceof Date)return r;if(Z(r)){var e=Rm.exec(r);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function Em(r){return Math.pow(10,Zl(r))}function Zl(r){if(r===0)return 0;var e=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,e)>=10&&e++,e}function Qh(r,e){var t=Zl(r),a=Math.pow(10,t),n=r/a,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function pf(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a<r.length;){for(var n=r[a].interval,i=r[a].close,o=0;o<2;o++)n[o]<=e&&(n[o]=e,i[o]=o?1:1-t),e=n[o],t=i[o];n[0]===n[1]&&i[0]*i[1]!==1?r.splice(a,1):a++}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 Ni(r){var e=parseFloat(r);return e==r&&(e!==0||!Z(r)||r.indexOf("x")<=0)?e:NaN}function Om(r){return!isNaN(Ni(r))}function Jh(){return Math.round(Math.random()*9)}function ed(r,e){return e===0?r:ed(e,r%e)}function gf(r,e){return r==null?e:e==null?r:r*e/ed(r,e)}var Nm="[ECharts] ",Bm=typeof console<"u"&&console.warn&&console.log;function Vm(r,e,t){Bm&&console[r](Nm+e)}function td(r,e){Vm("error",r)}function Oe(r){throw new Error(r)}function yf(r,e,t){return(e-r)*t+r}var rd="series\0",zm="\0_ec_\0";function De(r){return r instanceof Array?r:r==null?[]:[r]}function Bi(r,e,t){if(r){r[e]=r[e]||{},r.emphasis=r.emphasis||{},r.emphasis[e]=r.emphasis[e]||{};for(var a=0,n=t.length;a<n;a++){var i=t[a];!r.emphasis[e].hasOwnProperty(i)&&r[e].hasOwnProperty(i)&&(r.emphasis[e][i]=r[e][i])}}}var mf=["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 Gn(r){return K(r)&&!N(r)&&!(r instanceof Date)?r.value:r}function Gm(r){return K(r)&&!(r instanceof Array)}function Fm(r,e,t){var a=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";r=r||[],e=(e||[]).slice();var o=ee();T(e,function(l,u){if(!K(l)){e[u]=null;return}});var s=Hm(r,o,t);return(a||n)&&Wm(s,r,o,e),a&&Um(s,e),a||n?Ym(s,e,n):i&&Xm(s,e),Zm(s),s}function Hm(r,e,t){var a=[];if(t==="replaceAll")return a;for(var n=0;n<r.length;n++){var i=r[n];i&&i.id!=null&&e.set(i.id,n),a.push({existing:t==="replaceMerge"||cn(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return a}function Wm(r,e,t,a){T(a,function(n,i){if(!(!n||n.id==null)){var o=Ja(n.id),s=t.get(o);if(s!=null){var l=r[s];ht(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=n,l.existing=e[s],a[i]=null}}})}function Um(r,e){T(e,function(t,a){if(!(!t||t.name==null))for(var n=0;n<r.length;n++){var i=r[n].existing;if(!r[n].newOption&&i&&(i.id==null||t.id==null)&&!cn(t)&&!cn(i)&&ad("name",i,t)){r[n].newOption=t,e[a]=null;return}}})}function Ym(r,e,t){T(e,function(a){if(a){for(var n,i=0;(n=r[i])&&(n.newOption||cn(n.existing)||n.existing&&a.id!=null&&!ad("id",a,n.existing));)i++;n?(n.newOption=a,n.brandNew=t):r.push({newOption:a,brandNew:t,existing:null,keyInfo:null}),i++}})}function Xm(r,e){T(e,function(t){r.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function Zm(r){var e=ee();T(r,function(t){var a=t.existing;a&&e.set(a.id,t)}),T(r,function(t){var a=t.newOption;ht(!a||a.id==null||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&a.id!=null&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),T(r,function(t,a){var n=t.existing,i=t.newOption,o=t.keyInfo;if(K(i)){if(o.name=i.name!=null?Ja(i.name):n?n.name:rd+a,n)o.id=Ja(n.id);else if(i.id!=null)o.id=Ja(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(e.get(o.id))}e.set(o.id,t)}})}function ad(r,e,t){var a=rt(e[r],null),n=rt(t[r],null);return a!=null&&n!=null&&a===n}function Ja(r){return rt(r,"")}function rt(r,e){return r==null?e:Z(r)?r:oe(r)||Bs(r)?r+"":e}function $l(r){var e=r.name;return!!(e&&e.indexOf(rd))}function cn(r){return r&&r.id!=null&&Ja(r.id).indexOf(zm)===0}function $m(r,e,t){T(r,function(a){var n=a.newOption;K(n)&&(a.keyInfo.mainType=e,a.keyInfo.subType=Km(e,n,a.existing,t))})}function Km(r,e,t,a){var n=e.type?e.type:t?t.subType:a.determineSubType(r,e);return n}function qm(r,e){var t={},a={};return n(r||[],t),n(e||[],a,t),[i(t),i(a)];function n(o,s,l){for(var u=0,f=o.length;u<f;u++){var c=rt(o[u].seriesId,null);if(c==null)return;for(var h=De(o[u].dataIndex),v=l&&l[c],d=0,p=h.length;d<p;d++){var y=h[d];v&&v[y]?v[y]=null:(s[c]||(s[c]={}))[y]=1}}}function i(o,s){var l=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(s)l.push(+u);else{var f=i(o[u],!0);f.length&&l.push({seriesId:u,dataIndex:f})}return l}}function Lr(r,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return N(e.dataIndex)?X(e.dataIndex,function(t){return r.indexOfRawIndex(t)}):r.indexOfRawIndex(e.dataIndex);if(e.name!=null)return N(e.name)?X(e.name,function(t){return r.indexOfName(t)}):r.indexOfName(e.name)}function ne(){var r="__ec_inner_"+jm++;return function(e){return e[r]||(e[r]={})}}var jm=Jh();function Ro(r,e,t){var a=Kl(e,t),n=a.mainTypeSpecified,i=a.queryOptionMap,o=a.others,s=o,l=t?t.defaultMainType:null;return!n&&l&&i.set(l,{}),i.each(function(u,f){var c=Sa(r,f,u,{useDefault:l===f,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});s[f+"Models"]=c.models,s[f+"Model"]=c.models[0]}),s}function Kl(r,e){var t;if(Z(r)){var a={};a[r+"Index"]=0,t=a}else t=r;var n=ee(),i={},o=!1;return T(t,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||e&&e.includeMainTypes&&fe(e.includeMainTypes,f)<0)){o=o||!!f;var h=n.get(f)||n.set(f,{});h[c]=s}}),{mainTypeSpecified:o,queryOptionMap:n,others:i}}var Ze={useDefault:!0,enableAll:!1,enableNone:!1};function Sa(r,e,t,a){a=a||Ze;var n=t.index,i=t.id,o=t.name,s={models:null,specified:n!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=a.useDefault&&(l=r.getComponent(e))?[l]:[],s}if(n==="none"||n===!1){if(a.enableNone)return s.models=[],s;n=-1}return n==="all"&&(a.enableAll?n=i=o=null:n=-1),s.models=r.queryComponents({mainType:e,index:n,id:i,name:o}),s}function nd(r,e,t){r.setAttribute?r.setAttribute(e,t):r[e]=t}function Qm(r,e){return r.getAttribute?r.getAttribute(e):r[e]}function Jm(r){return r==="auto"?be.domSupported?"html":"richText":r||"html"}function id(r,e,t,a,n){var i=e==null||e==="auto";if(a==null)return a;if(oe(a)){var o=yf(t||0,a,n);return ke(o,i?Math.max(Pt(t||0),Pt(a)):e)}else{if(Z(a))return n<1?t:a;for(var s=[],l=t,u=a,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]=(n<1&&l?l:u)[c];else{var v=l&&l[c]?l[c]:0,d=u[c],o=yf(v,d,n);s[c]=ke(o,i?Math.max(Pt(v),Pt(d)):e)}}return s}}var e0=".",vr="___EC__COMPONENT__CONTAINER___",od="___EC__EXTENDED_CLASS___";function wt(r){var e={main:"",sub:""};if(r){var t=r.split(e0);e.main=t[0]||"",e.sub=t[1]||""}return e}function t0(r){ht(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function r0(r){return!!(r&&r[od])}function ql(r,e){r.$constructor=r,r.extend=function(t){var a=this,n;return a0(a)?n=(function(i){U(o,i);function o(){return i.apply(this,arguments)||this}return o})(a):(n=function(){(t.$constructor||a).apply(this,arguments)},$y(n,this)),F(n.prototype,t),n[od]=!0,n.extend=this.extend,n.superCall=o0,n.superApply=s0,n.superClass=a,n}}function a0(r){return Q(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function sd(r,e){r.extend=e.extend}var n0=Math.round(Math.random()*10);function i0(r){var e=["__\0is_clz",n0++].join("_");r.prototype[e]=!0,r.isInstance=function(t){return!!(t&&t[e])}}function o0(r,e){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return this.superClass.prototype[e].apply(r,t)}function s0(r,e,t){return this.superClass.prototype[e].apply(r,t)}function fo(r){var e={};r.registerClass=function(a){var n=a.type||a.prototype.type;if(n){t0(n),a.prototype.type=n;var i=wt(n);if(!i.sub)e[i.main]=a;else if(i.sub!==vr){var o=t(i);o[i.sub]=a}}return a},r.getClass=function(a,n,i){var o=e[a];if(o&&o[vr]&&(o=n?o[n]:null),i&&!o)throw new Error(n?"Component "+a+"."+(n||"")+" is used but not imported.":a+".type should be specified.");return o},r.getClassesByMainType=function(a){var n=wt(a),i=[],o=e[n.main];return o&&o[vr]?T(o,function(s,l){l!==vr&&i.push(s)}):i.push(o),i},r.hasClass=function(a){var n=wt(a);return!!e[n.main]},r.getAllClassMainTypes=function(){var a=[];return T(e,function(n,i){a.push(i)}),a},r.hasSubTypes=function(a){var n=wt(a),i=e[n.main];return i&&i[vr]};function t(a){var n=e[a.main];return(!n||!n[vr])&&(n=e[a.main]={},n[vr]=!0),n}}function vn(r,e){for(var t=0;t<r.length;t++)r[t][1]||(r[t][1]=r[t][0]);return e=e||!1,function(a,n,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(n&&fe(n,l)>=0||i&&fe(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var l0=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],u0=vn(l0),f0=(function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return u0(this,e,t)},r})(),te=ne(),c0=function(r,e,t,a){if(a){var n=te(a);n.dataIndex=t,n.dataType=e,n.seriesIndex=r,n.ssrType="chart",a.type==="group"&&a.traverse(function(i){var o=te(i);o.seriesIndex=r,o.dataIndex=t,o.dataType=e,o.ssrType="chart"})}},_f=1,Sf={},ld=ne(),jl=ne(),Ql=0,co=1,vo=2,Xe=["emphasis","blur","select"],Vi=["normal","emphasis","blur","select"],v0=10,h0=9,Cr="highlight",bi="downplay",zi="select",Hs="unselect",Gi="toggleSelect",Jl="selectchanged";function Hr(r){return r!=null&&r!=="none"}function ho(r,e,t){r.onHoverStateChange&&(r.hoverState||0)!==t&&r.onHoverStateChange(e),r.hoverState=t}function ud(r){ho(r,"emphasis",vo)}function fd(r){r.hoverState===vo&&ho(r,"normal",Ql)}function eu(r){ho(r,"blur",co)}function cd(r){r.hoverState===co&&ho(r,"normal",Ql)}function d0(r){r.selected=!0}function p0(r){r.selected=!1}function xf(r,e,t){e(r,t)}function Ft(r,e,t){xf(r,e,t),r.isGroup&&r.traverse(function(a){xf(a,e,t)})}function bf(r,e){switch(e){case"emphasis":r.hoverState=vo;break;case"normal":r.hoverState=Ql;break;case"blur":r.hoverState=co;break;case"select":r.selected=!0}}function g0(r,e,t,a){for(var n=r.style,i={},o=0;o<e.length;o++){var s=e[o],l=n[s];i[s]=l??(a&&a[s])}for(var o=0;o<r.animators.length;o++){var u=r.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(t)<0&&u.targetName==="style"&&u.saveTo(i,e)}return i}function y0(r,e,t,a){var n=t&&fe(t,"select")>=0,i=!1;if(r instanceof Be){var o=ld(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(Hr(s)||Hr(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=F({},a),u=F({},u),u.fill=s):!Hr(u.fill)&&Hr(s)?(i=!0,a=F({},a),u=F({},u),u.fill=nf(s)):!Hr(u.stroke)&&Hr(l)&&(i||(a=F({},a),u=F({},u)),u.stroke=nf(l)),a.style=u}}if(a&&a.z2==null){i||(a=F({},a));var f=r.z2EmphasisLift;a.z2=r.z2+(f??v0)}return a}function m0(r,e,t){if(t&&t.z2==null){t=F({},t);var a=r.z2SelectLift;t.z2=r.z2+(a??h0)}return t}function _0(r,e,t){var a=fe(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:g0(r,["opacity"],e,{opacity:1});t=t||{};var o=t.style||{};return o.opacity==null&&(t=F({},t),o=F({opacity:a?n:i.opacity*.1},o),t.style=o),t}function Eo(r,e){var t=this.states[r];if(this.style){if(r==="emphasis")return y0(this,r,e,t);if(r==="blur")return _0(this,r,t);if(r==="select")return m0(this,r,t)}return t}function vd(r){r.stateProxy=Eo;var e=r.getTextContent(),t=r.getTextGuideLine();e&&(e.stateProxy=Eo),t&&(t.stateProxy=Eo)}function wf(r,e){!gd(r,e)&&!r.__highByOuter&&Ft(r,ud)}function Tf(r,e){!gd(r,e)&&!r.__highByOuter&&Ft(r,fd)}function hn(r,e){r.__highByOuter|=1<<(e||0),Ft(r,ud)}function dn(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&Ft(r,fd)}function S0(r){Ft(r,eu)}function hd(r){Ft(r,cd)}function dd(r){Ft(r,d0)}function pd(r){Ft(r,p0)}function gd(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function yd(r){var e=r.getModel(),t=[],a=[];e.eachComponent(function(n,i){var o=jl(i),s=n==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){cd(u)}),s&&t.push(i)),o.isBlured=!1}),T(a,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function Ws(r,e,t,a){var n=a.getModel();t=t||"coordinateSystem";function i(u,f){for(var c=0;c<f.length;c++){var h=u.getItemGraphicEl(f[c]);h&&hd(h)}}if(r!=null&&!(!e||e==="none")){var o=n.getSeriesByIndex(r),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];n.eachSeries(function(u){var f=o===u,c=u.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&s?c===s:f;if(!(t==="series"&&!f||t==="coordinateSystem"&&!h||e==="series"&&f)){var v=a.getViewOfSeriesModel(u);if(v.group.traverse(function(y){y.__highByOuter&&f&&e==="self"||eu(y)}),Rn(e))i(u.getData(),e);else if(K(e))for(var d=Le(e),p=0;p<d.length;p++)i(u.getData(d[p]),e[d[p]]);l.push(u),jl(u).isBlured=!0}}),n.eachComponent(function(u,f){if(u!=="series"){var c=a.getViewOfComponentModel(f);c&&c.toggleBlurSeries&&c.toggleBlurSeries(l,!0,n)}})}}function Us(r,e,t){if(!(r==null||e==null)){var a=t.getModel().getComponent(r,e);if(a){jl(a).isBlured=!0;var n=t.getViewOfComponentModel(a);!n||!n.focusBlurEnabled||n.group.traverse(function(i){eu(i)})}}}function x0(r,e,t){var a=r.seriesIndex,n=r.getData(e.dataType);if(n){var i=Lr(n,e);i=(N(i)?i[0]:i)||0;var o=n.getItemGraphicEl(i);if(!o)for(var s=n.count(),l=0;!o&&l<s;)o=n.getItemGraphicEl(l++);if(o){var u=te(o);Ws(a,u.focus,u.blurScope,t)}else{var f=r.get(["emphasis","focus"]),c=r.get(["emphasis","blurScope"]);f!=null&&Ws(a,f,c,t)}}}function tu(r,e,t,a){var n={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||e==null||t==null)return n;var i=a.getModel().getComponent(r,e);if(!i)return n;var o=a.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return n;for(var s=o.findHighDownDispatchers(t),l,u=0;u<s.length;u++)if(te(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function b0(r,e,t){var a=te(r),n=tu(a.componentMainType,a.componentIndex,a.componentHighDownName,t),i=n.dispatchers,o=n.focusSelf;i?(o&&Us(a.componentMainType,a.componentIndex,t),T(i,function(s){return wf(s,e)})):(Ws(a.seriesIndex,a.focus,a.blurScope,t),a.focus==="self"&&Us(a.componentMainType,a.componentIndex,t),wf(r,e))}function w0(r,e,t){yd(t);var a=te(r),n=tu(a.componentMainType,a.componentIndex,a.componentHighDownName,t).dispatchers;n?T(n,function(i){return Tf(i,e)}):Tf(r,e)}function T0(r,e,t){if(Zs(e)){var a=e.dataType,n=r.getData(a),i=Lr(n,e);N(i)||(i=[i]),r[e.type===Gi?"toggleSelect":e.type===zi?"select":"unselect"](i,a)}}function Cf(r){var e=r.getAllData();T(e,function(t){var a=t.data,n=t.type;a.eachItemGraphicEl(function(i,o){r.isSelected(o,n)?dd(i):pd(i)})})}function C0(r){var e=[];return r.eachSeries(function(t){var a=t.getAllData();T(a,function(n){n.data;var i=n.type,o=t.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:t.seriesIndex};i!=null&&(s.dataType=i),e.push(s)}})}),e}function Ys(r,e,t){ru(r,!0),Ft(r,vd),D0(r,e,t)}function M0(r){ru(r,!1)}function Vt(r,e,t,a){a?M0(r):Ys(r,e,t)}function D0(r,e,t){var a=te(r);e!=null?(a.focus=e,a.blurScope=t):a.focus&&(a.focus=null)}var Mf=["emphasis","blur","select"],A0={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function da(r,e,t,a){t=t||"itemStyle";for(var n=0;n<Mf.length;n++){var i=Mf[n],o=e.getModel([i,t]),s=r.ensureState(i);s.style=o[A0[t]]()}}function ru(r,e){var t=e===!1,a=r;r.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!t||a.__highDownDispatcher)&&(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!t)}function Xs(r){return!!(r&&r.__highDownDispatcher)}function L0(r){var e=Sf[r];return e==null&&_f<=32&&(e=Sf[r]=_f++),e}function Zs(r){var e=r.type;return e===zi||e===Hs||e===Gi}function Df(r){var e=r.type;return e===Cr||e===bi}function I0(r){var e=ld(r);e.normalFill=r.style.fill,e.normalStroke=r.style.stroke;var t=r.states.select||{};e.selectFill=t.style&&t.style.fill||null,e.selectStroke=t.style&&t.style.stroke||null}var k0=ne();function au(r,e,t,a,n){var i;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();i=o&&o.animation}var s=e&&e.isAnimationEnabled(),l=r==="update";if(s){var u=void 0,f=void 0,c=void 0;a?(u=j(a.duration,200),f=j(a.easing,"cubicOut"),c=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),f=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(f=i.easing),i.delay!=null&&(c=i.delay)),Q(c)&&(c=c(t,n)),Q(u)&&(u=u(t));var h={duration:u||0,delay:c,easing:f};return h}else return null}function nu(r,e,t,a,n,i,o){var s=!1,l;Q(n)?(o=i,i=n,n=null):K(n)&&(i=n.cb,o=n.during,s=n.isFrom,l=n.removeOpt,n=n.dataIndex);var u=r==="leave";u||e.stopAnimation("leave");var f=au(r,a,n,u?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(e,n):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?e.animateFrom(t,d):e.animateTo(t,d)}else e.stopAnimation(),!s&&e.attr(t),o&&o(1),i&&i()}function Se(r,e,t,a,n,i){nu("update",r,e,t,a,n,i)}function Pe(r,e,t,a,n,i){nu("enter",r,e,t,a,n,i)}function la(r){if(!r.__zr)return!0;for(var e=0;e<r.animators.length;e++){var t=r.animators[e];if(t.scope==="leave")return!0}return!1}function Fi(r,e,t,a,n,i){la(r)||nu("leave",r,e,t,a,n,i)}function Af(r,e,t,a){r.removeTextContent(),r.removeTextGuideLine(),Fi(r,{style:{opacity:0}},e,t,a)}function en(r,e,t){function a(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(n){n.isGroup||Af(n,e,t,a)}):Af(r,e,t,a)}function pn(r){k0(r).oldStyle=r.style}var $s={},Jt=["x","y"],pa=["width","height"];function P0(r){return Be.extend(r)}var R0=em;function E0(r,e){return R0(r,e)}function yt(r,e){$s[r]=e}function Ks(r){if($s.hasOwnProperty(r))return $s[r]}function gn(r,e,t,a){var n=jy(r,e);return t&&(a==="center"&&(t=_d(t,n.getBoundingRect())),Sd(n,t)),n}function md(r,e,t){var a=new Gt({style:{image:r,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(t==="center"){var i={width:n.width,height:n.height};a.setStyle(_d(e,i))}}});return a}function _d(r,e){var t=e.width/e.height,a=r.height*t,n;a<=r.width?n=r.height:(a=r.width,n=a/t);var i=r.x+r.width/2,o=r.y+r.height/2;return{x:i-a/2,y:o-n/2,width:a,height:n}}var qs=Ky;function Sd(r,e){if(r.applyTransform){var t=r.getBoundingRect(),a=t.calculateTransform(e);r.applyTransform(a)}}function yn(r,e){return Qy(r,r,{lineWidth:e}),r}function O0(r,e){return Jy(r,r,e),r}var N0=qy;function wi(r,e){for(var t=Nh([]);r&&r!==e;)Bh(t,r.getLocalTransform(),t),r=r.parent;return t}function ua(r,e,t){return e&&!Rn(e)&&(e=aa.getLocalTransform(e)),t&&(e=En([],e)),Ct([],r,e)}function xd(r,e,t){var a=e[4]===0||e[5]===0||e[0]===0?1:bt(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:bt(2*e[4]/e[2]),i=[r==="left"?-a:r==="right"?a:0,r==="top"?-n:r==="bottom"?n:0];return i=ua(i,e,t),bt(i[0])>bt(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function Lf(r){return!r.isGroup}function B0(r){return r.shape!=null}function bd(r,e,t){if(!r||!e)return;function a(o){var s={};return o.traverse(function(l){Lf(l)&&l.anid&&(s[l.anid]=l)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return B0(o)&&(s.shape=q(o.shape)),s}var i=a(r);e.traverse(function(o){if(Lf(o)&&o.anid){var s=i[o.anid];if(s){var l=n(o);o.attr(n(s)),Se(o,l,t,te(o).dataIndex)}}})}function V0(r,e){return X(r,function(t){var a=t[0];a=$e(a,e.x),a=fn(a,e.x+e.width);var n=t[1];return n=$e(n,e.y),n=fn(n,e.y+e.height),[a,n]})}function z0(r,e){var t=$e(r.x,e.x),a=fn(r.x+r.width,e.x+e.width),n=$e(r.y,e.y),i=fn(r.y+r.height,e.y+e.height);if(a>=t&&i>=n)return{x:t,y:n,width:a-t,height:i-n}}function iu(r,e,t){var a=F({rectHover:!0},e),n=a.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(n.image=r.slice(8),ae(n,t),new Gt(a)):gn(r.replace("path://",""),a,t,"center")}function G0(r,e,t,a,n){for(var i=0,o=n[n.length-1];i<n.length;i++){var s=n[i];if(wd(r,e,t,a,s[0],s[1],o[0],o[1]))return!0;o=s}}function wd(r,e,t,a,n,i,o,s){var l=t-r,u=a-e,f=o-n,c=s-i,h=Oo(f,c,l,u);if(F0(h))return!1;var v=r-n,d=e-i,p=Oo(v,d,l,u)/h;if(p<0||p>1)return!1;var y=Oo(v,d,f,c)/h;return!(y<0||y>1)}function Oo(r,e,t,a){return r*a-t*e}function F0(r){return r<=1e-6&&r>=-1e-6}function mn(r,e,t,a,n){return e==null||(oe(e)?ce[0]=ce[1]=ce[2]=ce[3]=e:(ce[0]=e[0],ce[1]=e[1],ce[2]=e[2],ce[3]=e[3]),a&&(ce[0]=$e(0,ce[0]),ce[1]=$e(0,ce[1]),ce[2]=$e(0,ce[2]),ce[3]=$e(0,ce[3])),t&&(ce[0]=-ce[0],ce[1]=-ce[1],ce[2]=-ce[2],ce[3]=-ce[3]),If(r,ce,"x","width",3,1,n&&n[0]||0),If(r,ce,"y","height",0,2,n&&n[1]||0)),r}var ce=[0,0,0,0];function If(r,e,t,a,n,i,o){var s=e[i]+e[n],l=r[a];r[a]+=s,o=$e(0,fn(o,l)),r[a]<o?(r[a]=o,r[t]+=e[n]>=0?-e[n]:e[i]>=0?l+e[i]:bt(s)>1e-8?(l-o)*e[n]/s:0):r[t]-=e[n]}function po(r){var e=r.itemTooltipOption,t=r.componentModel,a=r.itemName,n=Z(e)?{formatter:e}:e,i=t.mainType,o=t.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&T(Le(l),function(f){G(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=te(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:a,option:ae({content:a,encodeHTMLContent:!0,formatterParams:s},n)}}function js(r,e){var t;r.isGroup&&(t=e(r)),t||r.traverse(e)}function Or(r,e){if(r)if(N(r))for(var t=0;t<r.length;t++)js(r[t],e);else js(r,e)}function ou(r){return!r||bt(r[1])<Zn&&bt(r[2])<Zn||bt(r[0])<Zn&&bt(r[3])<Zn}var Zn=1e-5;function _n(r,e){return r?Me.copy(r,e):e.clone()}function su(r,e){return e?Vh(r||On(),e):void 0}function Sn(r){return{z:r.get("z")||0,zlevel:r.get("zlevel")||0}}function H0(r){var e=-1/0,t=1/0;js(r,function(i){a(i),a(i.getTextContent()),a(i.getTextGuideLine())});function a(i){if(!(!i||i.isGroup)){var o=i.currentStates;if(o.length)for(var s=0;s<o.length;s++)n(i.states[o[s]]);n(i)}}function n(i){if(i){var o=i.z2;o>e&&(e=o),o<t&&(t=o)}}return t>e&&(t=e=0),{min:t,max:e}}function Td(r,e,t){Cd(r,e,t,-1/0)}function Cd(r,e,t,a){if(r.ignoreModelZ)return a;var n=r.getTextContent(),i=r.getTextGuideLine(),o=r.isGroup;if(o)for(var s=r.childrenRef(),l=0;l<s.length;l++)a=$e(Cd(s[l],e,t,a),a);else r.z=e,r.zlevel=t,a=$e(r.z2||0,a);if(n&&(n.z=e,n.zlevel=t,isFinite(a)&&(n.z2=a+2)),i){var u=r.textGuideLineConfig;i.z=e,i.zlevel=t,isFinite(a)&&(i.z2=a+(u&&u.showAbove?1:-1))}return a}yt("circle",uo);yt("ellipse",zh);yt("sector",kr);yt("ring",Wl);yt("polygon",Nn);yt("polyline",Pr);yt("rect",ve);yt("line",nr);yt("bezierCurve",Ul);yt("arc",Yl);const Md=Object.freeze(Object.defineProperty({__proto__:null,Arc:Yl,BezierCurve:Ul,BoundingRect:Me,Circle:uo,CompoundPath:Gh,Ellipse:zh,Group:le,Image:Gt,IncrementalDisplayable:tm,Line:nr,LinearGradient:Xl,OrientedBoundingRect:Fh,Path:Be,Point:ge,Polygon:Nn,Polyline:Pr,RadialGradient:rm,Rect:ve,Ring:Wl,Sector:kr,Text:de,WH:pa,XY:Jt,applyTransform:ua,calcZ2Range:H0,clipPointsByRect:V0,clipRectByRect:z0,createIcon:iu,ensureCopyRect:_n,ensureCopyTransform:su,expandOrShrinkRect:mn,extendPath:E0,extendShape:P0,getShapeClass:Ks,getTransform:wi,groupTransition:bd,initProps:Pe,isBoundingRectAxisAligned:ou,isElementRemoved:la,lineLineIntersect:wd,linePolygonIntersect:G0,makeImage:md,makePath:gn,mergePath:qs,registerShape:yt,removeElement:Fi,removeElementWithFadeOut:en,resizePath:Sd,retrieveZInfo:Sn,setTooltipConfig:po,subPixelOptimize:N0,subPixelOptimizeLine:yn,subPixelOptimizeRect:O0,transformDirection:xd,traverseElements:Or,traverseUpdateZ:Td,updateProps:Se},Symbol.toStringTag,{value:"Module"}));var go={};function Dd(r,e){for(var t=0;t<Xe.length;t++){var a=Xe[t],n=e[a],i=r.ensureState(a);i.style=i.style||{},i.style.text=n}var o=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:e.normal}),r.useStates(o,!0)}function Qs(r,e,t){var a=r.labelFetcher,n=r.labelDataIndex,i=r.labelDimIndex,o=e.normal,s;a&&(s=a.getFormattedLabel(n,"normal",null,i,o&&o.get("formatter"),t!=null?{interpolatedValue:t}:null)),s==null&&(s=Q(r.defaultText)?r.defaultText(n,r,t):r.defaultText);for(var l={normal:s},u=0;u<Xe.length;u++){var f=Xe[u],c=e[f];l[f]=j(a?a.getFormattedLabel(n,f,null,i,c&&c.get("formatter")):null,s)}return l}function ur(r,e,t,a){t=t||go;for(var n=r instanceof de,i=!1,o=0;o<Vi.length;o++){var s=e[Vi[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=n?r:r.getTextContent();if(i){n||(l||(l=new de,r.setTextContent(l)),r.stateProxy&&(l.stateProxy=r.stateProxy));var u=Qs(t,e),f=e.normal,c=!!f.getShallow("show"),h=Ae(f,a&&a.normal,t,!1,!n);h.text=u.normal,n||r.setTextConfig(Hi(f,t,!1));for(var o=0;o<Xe.length;o++){var v=Xe[o],s=e[v];if(s){var d=l.ensureState(v),p=!!j(s.getShallow("show"),c);if(p!==c&&(d.ignore=!p),d.style=Ae(s,a&&a[v],t,!0,!n),d.style.text=u[v],!n){var y=r.ensureState(v);y.textConfig=Hi(s,t,!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(),t.enableTextSetter&&(xa(l).setLabelText=function(g){var m=Qs(t,e,g);Dd(l,m)})}else l&&(l.ignore=!0);r.dirty()}function Mt(r,e){e=e||"label";for(var t={normal:r.getModel(e)},a=0;a<Xe.length;a++){var n=Xe[a];t[n]=r.getModel([n,e])}return t}function Ae(r,e,t,a,n){var i={};return W0(i,r,t,a,n),e&&F(i,e),i}function Hi(r,e,t){e=e||{};var a={},n,i=r.getShallow("rotate"),o=j(r.getShallow("distance"),t?null:5),s=r.getShallow("offset");return n=r.getShallow("position")||(t?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(a.position=n),s!=null&&(a.offset=s),i!=null&&(i*=Math.PI/180,a.rotation=i),o!=null&&(a.distance=o),a.outsideFill=r.get("color")==="inherit"?e.inheritColor||null:"auto",e.autoOverflowArea!=null&&(a.autoOverflowArea=e.autoOverflowArea),e.layoutRect!=null&&(a.layoutRect=e.layoutRect),a}function W0(r,e,t,a,n){t=t||go;var i=e.ecModel,o=i&&i.option.textStyle,s=U0(e),l;if(s){l={};var u="richInheritPlainLabel",f=j(e.get(u),i?i.get(u):void 0);for(var c in s)if(s.hasOwnProperty(c)){var h=e.getModel(["rich",c]);Ef(l[c]={},h,o,e,f,t,a,n,!1,!0)}}l&&(r.rich=l);var v=e.get("overflow");v&&(r.overflow=v);var d=e.get("lineOverflow");d&&(r.lineOverflow=d);var p=r,y=e.get("minMargin");if(y!=null)y=oe(y)?y/2:0,p.margin=[y,y,y,y],p.__marginType=ia.minMargin;else{var g=e.get("textMargin");g!=null&&(p.margin=Hh(g),p.__marginType=ia.textMargin)}Ef(r,e,o,null,null,t,a,n,!0,!1)}function U0(r){for(var e;r&&r!==r.ecModel;){var t=(r.option||go).rich;if(t){e=e||{};for(var a=Le(t),n=0;n<a.length;n++){var i=a[n];e[i]=1}}r=r.parentModel}return e}var kf=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Pf=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Rf=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ef(r,e,t,a,n,i,o,s,l,u){t=!o&&t||go;var f=i&&i.inheritColor,c=e.getShallow("color"),h=e.getShallow("textBorderColor"),v=j(e.getShallow("opacity"),t.opacity);(c==="inherit"||c==="auto")&&(f?c=f:c=null),(h==="inherit"||h==="auto")&&(f?h=f:h=null),s||(c=c||t.color,h=h||t.textBorderColor),c!=null&&(r.fill=c),h!=null&&(r.stroke=h);var d=j(e.getShallow("textBorderWidth"),t.textBorderWidth);d!=null&&(r.lineWidth=d);var p=j(e.getShallow("textBorderType"),t.textBorderType);p!=null&&(r.lineDash=p);var y=j(e.getShallow("textBorderDashOffset"),t.textBorderDashOffset);y!=null&&(r.lineDashOffset=y),!o&&v==null&&!u&&(v=i&&i.defaultOpacity),v!=null&&(r.opacity=v),!o&&!s&&r.fill==null&&i.inheritColor&&(r.fill=i.inheritColor);for(var g=0;g<kf.length;g++){var m=kf[g],_=n!==!1&&a?Rr(e.getShallow(m),a.getShallow(m),t[m]):j(e.getShallow(m),t[m]);_!=null&&(r[m]=_)}for(var g=0;g<Pf.length;g++){var m=Pf[g],_=e.getShallow(m);_!=null&&(r[m]=_)}if(r.verticalAlign==null){var S=e.getShallow("baseline");S!=null&&(r.verticalAlign=S)}if(!l||!i.disableBox){for(var g=0;g<Rf.length;g++){var m=Rf[g],_=e.getShallow(m);_!=null&&(r[m]=_)}var b=e.getShallow("borderType");b!=null&&(r.borderDash=b),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&f&&(r.backgroundColor=f),(r.borderColor==="auto"||r.borderColor==="inherit")&&f&&(r.borderColor=f)}}function Ad(r,e){var t=e&&e.getModel("textStyle");return Bn([r.fontStyle||t&&t.getShallow("fontStyle")||"",r.fontWeight||t&&t.getShallow("fontWeight")||"",(r.fontSize||t&&t.getShallow("fontSize")||12)+"px",r.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "))}var xa=ne();function Y0(r,e,t,a){if(r){var n=xa(r);n.prevValue=n.value,n.value=t;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=a,n.statesModels=e)}}function X0(r,e,t,a,n){var i=xa(r);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,s=j(i.interpolatedValue,i.prevValue),l=i.value;function u(f){var c=id(t,i.precision,s,l,f);i.interpolatedValue=f===1?null:c;var h=Qs({labelDataIndex:e,labelFetcher:n,defaultText:o?o(c):c+""},i.statesModels,c);Dd(r,h)}r.percent=0,(i.prevValue==null?Pe:Se)(r,{percent:1},a,e,null,u)}var ia={minMargin:1,textMargin:2},Z0=["textStyle","color"],No=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Bo=new de,$0=(function(){function r(){}return r.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Z0):null)},r.prototype.getFont=function(){return Ad({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},a=0;a<No.length;a++)t[No[a]]=this.getShallow(No[a]);return Bo.useStyle(t),Bo.update(),Bo.getBoundingRect()},r})(),Ld=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],K0=vn(Ld),q0=(function(){function r(){}return r.prototype.getLineStyle=function(e){return K0(this,e)},r})(),Id=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],j0=vn(Id),Q0=(function(){function r(){}return r.prototype.getItemStyle=function(e,t){return j0(this,e,t)},r})(),he=(function(){function r(e,t,a){this.parentModel=t,this.ecModel=a,this.option=e}return r.prototype.init=function(e,t,a){},r.prototype.mergeOption=function(e,t){ue(this.option,e,!0)},r.prototype.get=function(e,t){return e==null?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},r.prototype.getShallow=function(e,t){var a=this.option,n=a==null?a:a[e];if(n==null&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},r.prototype.getModel=function(e,t){var a=e!=null,n=a?this.parsePath(e):null,i=a?this._doGet(n):this.option;return t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new r(i,t,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var e=this.constructor;return new e(q(this.option))},r.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},r.prototype.resolveParentPath=function(e){return e},r.prototype.isAnimationEnabled=function(){if(!be.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(e,t){var a=this.option;if(!e)return a;for(var n=0;n<e.length&&!(e[n]&&(a=a&&typeof a=="object"?a[e[n]]:null,a==null));n++);return a==null&&t&&(a=t._doGet(this.resolveParentPath(e),t.parentModel)),a},r})();ql(he);i0(he);gt(he,q0);gt(he,Q0);gt(he,f0);gt(he,$0);var J0=Math.round(Math.random()*10);function yo(r){return[r||"",J0++].join("_")}function e_(r){var e={};r.registerSubTypeDefaulter=function(t,a){var n=wt(t);e[n.main]=a},r.determineSubType=function(t,a){var n=a.type;if(!n){var i=wt(t).main;r.hasSubTypes(t)&&e[i]&&(n=e[i](a))}return n}}function t_(r,e){r.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=t(o),f=u.graph,c=u.noEntryList,h={};for(T(i,function(m){h[m]=!0});c.length;){var v=c.pop(),d=f[v],p=!!h[v];p&&(s.call(l,v,d.originalDeps.slice()),delete h[v]),T(d.successor,p?g:y)}T(h,function(){var m="";throw new Error(m)});function y(m){f[m].entryCount--,f[m].entryCount===0&&c.push(m)}function g(m){h[m]=!0,y(m)}};function t(i){var o={},s=[];return T(i,function(l){var u=a(o,l),f=u.originalDeps=e(l),c=n(f,i);u.entryCount=c.length,u.entryCount===0&&s.push(l),T(c,function(h){fe(u.predecessor,h)<0&&u.predecessor.push(h);var v=a(o,h);fe(v.successor,h)<0&&v.successor.push(l)})}),{graph:o,noEntryList:s}}function a(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function n(i,o){var s=[];return T(i,function(l){fe(o,l)>=0&&s.push(l)}),s}}function mo(r,e){return ue(ue({},r,!0),e,!0)}const r_={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:". "}}}},a_={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 Wi="ZH",lu="EN",fa=lu,Ti={},uu={},kd=be.domSupported?(function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||fa).toUpperCase();return r.indexOf(Wi)>-1?Wi:fa})():fa;function Pd(r,e){r=r.toUpperCase(),uu[r]=new he(e),Ti[r]=e}function n_(r){if(Z(r)){var e=Ti[r.toUpperCase()]||{};return r===Wi||r===lu?q(e):ue(q(e),q(Ti[fa]),!1)}else return ue(q(r),q(Ti[fa]),!1)}function Js(r){return uu[r]}function i_(){return uu[fa]}Pd(lu,r_);Pd(Wi,a_);var o_=null;function Ui(){return o_}var fu=1e3,cu=fu*60,tn=cu*60,tt=tn*24,Of=tt*365,s_={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},Ci={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},l_="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",$n="{yyyy}-{MM}-{dd}",Nf={year:"{yyyy}",month:"{yyyy}-{MM}",day:$n,hour:$n+" "+Ci.hour,minute:$n+" "+Ci.minute,second:$n+" "+Ci.second,millisecond:l_},Mr=["year","month","day","hour","minute","second","millisecond"],u_=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function f_(r){return!Z(r)&&!Q(r)?c_(r):r}function c_(r){r=r||{};var e={},t=!0;return T(Mr,function(a){t&&(t=r[a]==null)}),T(Mr,function(a,n){var i=r[a];e[a]={};for(var o=null,s=n;s>=0;s--){var l=Mr[s],u=K(i)&&!N(i)?i[l]:i,f=void 0;N(u)?(f=u.slice(),o=f[0]||""):Z(u)?(o=u,f=[o]):(o==null?o=Ci[a]:s_[l].test(o)||(o=e[l][l][0]+" "+o),f=[o],t&&(f[1]="{primary|"+o+"}")),e[a][l]=f}}),e}function Yt(r,e){return r+="","0000".substr(0,e-r.length)+r}function rn(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 v_(r){return r===rn(r)}function h_(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _o(r,e,t,a){var n=Er(r),i=n[Rd(t)](),o=n[vu(t)]()+1,s=Math.floor((o-1)/3)+1,l=n[hu(t)](),u=n["get"+(t?"UTC":"")+"Day"](),f=n[du(t)](),c=(f-1)%12+1,h=n[pu(t)](),v=n[gu(t)](),d=n[yu(t)](),p=f>=12?"pm":"am",y=p.toUpperCase(),g=a instanceof he?a:Js(a||kd)||i_(),m=g.getModel("time"),_=m.get("month"),S=m.get("monthAbbr"),b=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,p+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Yt(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,Yt(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Yt(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Yt(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Yt(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Yt(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Yt(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,Yt(d,3)).replace(/{S}/g,d+"")}function d_(r,e,t,a,n){var i=null;if(Z(t))i=t;else if(Q(t)){var o={time:r.time,level:r.time.level},s=Ui();s&&s.makeAxisLabelFormatterParamBreak(o,r.break),i=t(r.value,e,o)}else{var l=r.time;if(l){var u=t[l.lowerTimeUnit][l.upperTimeUnit];i=u[Math.min(l.level,u.length-1)]||""}else{var f=Yi(r.value,n);i=t[f][f][0]}}return _o(new Date(r.value),i,n,a)}function Yi(r,e){var t=Er(r),a=t[vu(e)]()+1,n=t[hu(e)](),i=t[du(e)](),o=t[pu(e)](),s=t[gu(e)](),l=t[yu(e)](),u=l===0,f=u&&s===0,c=f&&o===0,h=c&&i===0,v=h&&n===1,d=v&&a===1;return d?"year":v?"month":h?"day":c?"hour":f?"minute":u?"second":"millisecond"}function el(r,e,t){switch(e){case"year":r[Ed(t)](0);case"month":r[Od(t)](1);case"day":r[Nd(t)](0);case"hour":r[Bd(t)](0);case"minute":r[Vd(t)](0);case"second":r[zd(t)](0)}return r}function Rd(r){return r?"getUTCFullYear":"getFullYear"}function vu(r){return r?"getUTCMonth":"getMonth"}function hu(r){return r?"getUTCDate":"getDate"}function du(r){return r?"getUTCHours":"getHours"}function pu(r){return r?"getUTCMinutes":"getMinutes"}function gu(r){return r?"getUTCSeconds":"getSeconds"}function yu(r){return r?"getUTCMilliseconds":"getMilliseconds"}function p_(r){return r?"setUTCFullYear":"setFullYear"}function Ed(r){return r?"setUTCMonth":"setMonth"}function Od(r){return r?"setUTCDate":"setDate"}function Nd(r){return r?"setUTCHours":"setHours"}function Bd(r){return r?"setUTCMinutes":"setMinutes"}function Vd(r){return r?"setUTCSeconds":"setSeconds"}function zd(r){return r?"setUTCMilliseconds":"setMilliseconds"}function Gd(r){if(!Om(r))return Z(r)?r:"-";var e=(r+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Fd(r,e){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,a){return a.toUpperCase()}),e&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Fn=Hh;function tl(r,e,t){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&Bn(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=r instanceof Date;if(o||s){var l=o?Er(r):r;if(isNaN(+l)){if(s)return"-"}else return _o(l,a,t)}if(e==="ordinal")return Bs(r)?n(r):oe(r)&&i(r)?r+"":"-";var u=Ni(r);return i(u)?Gd(u):Bs(r)?n(r):typeof r=="boolean"?r+"":"-"}var Bf=["a","b","c","d","e","f","g"],Vo=function(r,e){return"{"+r+(e??"")+"}"};function Hd(r,e,t){N(e)||(e=[e]);var a=e.length;if(!a)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var o=Bf[i];r=r.replace(Vo(o),Vo(o,0))}for(var s=0;s<a;s++)for(var l=0;l<n.length;l++){var u=e[s][n[l]];r=r.replace(Vo(Bf[l],s),t?Ye(u):u)}return r}function g_(r,e,t){return T(e,function(a,n){r=r.replace("{"+n+"}",a)}),r}function y_(r,e){var t=Z(r)?{color:r,extraCssText:e}:r||{},a=t.color,n=t.type;e=t.extraCssText;var i=t.renderMode||"html";if(!a)return"";if(i==="html")return n==="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(a)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ye(a)+";"+(e||"")+'"></span>';var o=t.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function FD(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Ir(r,e){return e=e||"transparent",Z(r)?r:K(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function Vf(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var Mi={},zo={},Hn=(function(){function r(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return r.prototype.create=function(e,t){this._nonSeriesBoxMasterList=a(Mi),this._normalMasterList=a(zo);function a(n,i){var o=[];return T(n,function(s,l){var u=s.create(e,t);o=o.concat(u||[])}),o}},r.prototype.update=function(e,t){T(this._normalMasterList,function(a){a.update&&a.update(e,t)})},r.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},r.register=function(e,t){if(e==="matrix"||e==="calendar"){Mi[e]=t;return}zo[e]=t},r.get=function(e){return zo[e]||Mi[e]},r})();function m_(r){return!!Mi[r]}var rl={coord:1,coord2:2};function __(r){Wd.set(r.fullType,{getCoord2:void 0}).getCoord2=r.getCoord2}var Wd=ee();function S_(r){var e=r.getShallow("coord",!0),t=rl.coord;if(e==null){var a=Wd.get(r.type);a&&a.getCoord2&&(t=rl.coord2,e=a.getCoord2(r))}return{coord:e,from:t}}var kt={none:0,dataCoordSys:1,boxCoordSys:2};function x_(r,e){var t=r.getShallow("coordinateSystem"),a=r.getShallow("coordinateSystemUsage",!0),n=kt.none;if(t){var i=r.mainType==="series";a==null&&(a=i?"data":"box"),a==="data"?(n=kt.dataCoordSys,i||(n=kt.none)):a==="box"&&(n=kt.boxCoordSys,!i&&!m_(t)&&(n=kt.none))}return{coordSysType:t,kind:n}}function mu(r){var e=r.targetModel,t=r.coordSysType,a=r.coordSysProvider,n=r.isDefaultDataCoordSys;r.allowNotFound;var i=x_(e),o=i.kind,s=i.coordSysType;if(n&&o!==kt.dataCoordSys&&(o=kt.dataCoordSys,s=t),o===kt.none||s!==t)return!1;var l=a(t,e);return l?(o===kt.dataCoordSys?e.coordinateSystem=l:e.boxCoordinateSystem=l,!0):!1}var b_=function(r,e){var t=e.getReferringComponents(r,Ze).models[0];return t&&t.coordinateSystem},Di=T,w_=["left","right","top","bottom","width","height"],wr=[["width","left","right"],["height","top","bottom"]];function _u(r,e,t,a,n){var i=0,o=0;a==null&&(a=1/0),n==null&&(n=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),c=e.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>a||l.newline?(i=0,v=p,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var y=f.height+(h?-h.y+f.y:0);d=o+y,d>n||l.newline?(i+=s+t,o=0,d=y,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=v+t:o=d+t)})}var ca=_u;ye(_u,"vertical");ye(_u,"horizontal");function T_(r,e){return{left:r.getShallow("left",e),top:r.getShallow("top",e),right:r.getShallow("right",e),bottom:r.getShallow("bottom",e),width:r.getShallow("width",e),height:r.getShallow("height",e)}}function C_(r,e){var t=Nr(r,e,{enableLayoutOnlyByCenter:!0}),a=r.getBoxLayoutParams(),n,i;if(t.type===Xa.point)i=t.refPoint,n=qe(a,{width:e.getWidth(),height:e.getHeight()});else{var o=r.get("center"),s=N(o)?o:[o,o];n=qe(a,t.refContainer),i=t.boxCoordFrom===rl.coord2?t.refPoint:[re(s[0],n.width)+n.x,re(s[1],n.height)+n.y]}return{viewRect:n,center:i}}function M_(r,e){var t=C_(r,e),a=t.viewRect,n=t.center,i=r.get("radius");N(i)||(i=[0,i]);var o=re(a.width,e.getWidth()),s=re(a.height,e.getHeight()),l=Math.min(o,s),u=re(i[0],l/2),f=re(i[1],l/2);return{cx:n[0],cy:n[1],r0:u,r:f,viewRect:a}}function qe(r,e,t){t=Fn(t||0);var a=e.width,n=e.height,i=re(r.left,a),o=re(r.top,n),s=re(r.right,a),l=re(r.bottom,n),u=re(r.width,a),f=re(r.height,n),c=t[2]+t[0],h=t[1]+t[3],v=r.aspect;switch(isNaN(u)&&(u=a-s-h-i),isNaN(f)&&(f=n-l-c-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(i)&&(i=a-s-u-h),isNaN(o)&&(o=n-l-f-c),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-h;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-c;break}i=i||0,o=o||0,isNaN(u)&&(u=a-h-i-(s||0)),isNaN(f)&&(f=n-c-o-(l||0));var d=new Me((e.x||0)+i+t[3],(e.y||0)+o+t[0],u,f);return d.margin=t,d}function D_(r,e,t){var a=r.getShallow("preserveAspect",!0);if(!a)return e;var n=e.width/e.height;if(Math.abs(Math.atan(t)-Math.atan(n))<1e-9)return e;var i=r.getShallow("preserveAspectAlign",!0),o=r.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},l=a==="cover";return n>t&&!l||n<t&&l?(s.width=e.height*t,i==="left"?s.left=0:i==="right"?s.right=0:s.left="center"):(s.height=e.width/t,o==="top"?s.top=0:o==="bottom"?s.bottom=0:s.top="middle"),qe(s,e)}var Xa={rect:1,point:2};function Nr(r,e,t){var a,n,i,o=r.boxCoordinateSystem,s;if(o){var l=S_(r),u=l.coord,f=l.from;if(o.dataToLayout){i=Xa.rect,s=f;var c=o.dataToLayout(u);a=c.contentRect||c.rect}else t&&t.enableLayoutOnlyByCenter&&o.dataToPoint&&(i=Xa.point,s=f,n=o.dataToPoint(u))}return i==null&&(i=Xa.rect),i===Xa.rect&&(a||(a={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),n=[a.x+a.width/2,a.y+a.height/2]),{type:i,refContainer:a,refPoint:n,boxCoordFrom:s}}function A_(r,e,t,a,n,i){i=i||r,i.x=r.x,i.y=r.y;var o;if(o=r.getBoundingRect(),r.needLocalTransform()){var s=r.getLocalTransform();o=o.clone(),o.applyTransform(s)}var l=qe(ae({width:o.width,height:o.height},e),t,a),u=l.x-o.x,f=l.y-o.y;return i.x+=u,i.y+=f,i===r&&r.markRedraw(),!0}function L_(r,e){return r[wr[e][0]]!=null||r[wr[e][1]]!=null&&r[wr[e][2]]!=null}function xn(r){var e=r.layoutMode||r.constructor.layoutMode;return K(e)?e:e?{type:e}:null}function zt(r,e,t){var a=t&&t.ignoreSize;!N(a)&&(a=[a,a]);var n=o(wr[0],0),i=o(wr[1],1);l(wr[0],r,n),l(wr[1],r,i);function o(u,f){var c={},h=0,v={},d=0,p=2;if(Di(u,function(m){v[m]=r[m]}),Di(u,function(m){G(e,m)&&(c[m]=v[m]=e[m]),s(c,m)&&h++,s(v,m)&&d++}),a[f])return s(e,u[1])?v[u[2]]=null:s(e,u[2])&&(v[u[1]]=null),v;if(d===p||!h)return v;if(h>=p)return c;for(var y=0;y<u.length;y++){var g=u[y];if(!G(c,g)&&G(r,g)){c[g]=r[g];break}}return c}function s(u,f){return u[f]!=null&&u[f]!=="auto"}function l(u,f,c){Di(u,function(h){f[h]=c[h]})}}function ba(r){return I_({},r)}function I_(r,e){return e&&r&&Di(w_,function(t){G(e,t)&&(r[t]=e[t])}),r}var k_=ne(),ie=(function(r){U(e,r);function e(t,a,n){var i=r.call(this,t,a,n)||this;return i.uid=yo("ec_cpt_model"),i}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=xn(this),i=n?ba(t):{},o=a.getTheme();ue(t,o.get(this.mainType)),ue(t,this.getDefaultOption()),n&&zt(t,i,n)},e.prototype.mergeOption=function(t,a){ue(this.option,t,!0);var n=xn(this);n&&zt(this.option,t,n)},e.prototype.optionUpdated=function(t,a){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!r0(t))return t.defaultOption;var a=k_(this);if(!a.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var s={},l=n.length-1;l>=0;l--)s=ue(s,n[l],!0);a.defaultOption=s}return a.defaultOption},e.prototype.getReferringComponents=function(t,a){var n=t+"Index",i=t+"Id";return Sa(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},a)},e.prototype.getBoxLayoutParams=function(){return T_(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=(function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0})(),e})(he);sd(ie,he);fo(ie);e_(ie);t_(ie,P_);function P_(r){var e=[];return T(ie.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=X(e,function(t){return wt(t).main}),r!=="dataset"&&fe(e,"dataset")<=0&&e.unshift("dataset"),e}var B={color:{},darkColor:{},size:{}},me=B.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};F(me,{primary:me.neutral80,secondary:me.neutral70,tertiary:me.neutral60,quaternary:me.neutral50,disabled:me.neutral20,border:me.neutral30,borderTint:me.neutral20,borderShade:me.neutral40,background:me.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:me.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:me.neutral70,axisLineTint:me.neutral40,axisTick:me.neutral70,axisTickMinor:me.neutral60,axisLabel:me.neutral70,axisSplitLine:me.neutral15,axisMinorSplitLine:me.neutral05});for(var hr in me)if(me.hasOwnProperty(hr)){var zf=me[hr];hr==="theme"?B.darkColor.theme=me.theme.slice():hr==="highlight"?B.darkColor.highlight="rgba(255,231,130,0.4)":hr.indexOf("accent")===0?B.darkColor[hr]=sa(zf,null,function(r){return r*.5},function(r){return Math.min(1,1.3-r)}):B.darkColor[hr]=sa(zf,null,function(r){return r*.9},function(r){return 1-Math.pow(r,1.5)})}B.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var Ud="";typeof navigator<"u"&&(Ud=navigator.platform||"");var Wr="rgba(0, 0, 0, 0.2)",Yd=B.color.theme[0],R_=sa(Yd,null,null,.9);const E_={darkMode:"auto",colorBy:"series",color:B.color.theme,gradientColor:[R_,Yd],aria:{decal:{decals:[{color:Wr,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Wr,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Wr,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Wr,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Wr,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Wr,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Ud.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 Xd=ee(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),je="original",Ge="arrayRows",st="objectRows",mt="keyedColumns",ar="typedArray",Zd="unknown",vt="column",Br="row",Ee={Must:1,Might:2,Not:3},$d=ne();function O_(r){$d(r).datasetMap=ee()}function N_(r,e,t){var a={},n=Su(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=$d(s).datasetMap,u=n.uid+"_"+t.seriesLayoutBy,f,c;r=r.slice(),T(r,function(p,y){var g=K(p)?p:r[y]={name:p};g.type==="ordinal"&&f==null&&(f=y,c=d(g)),a[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});T(r,function(p,y){var g=p.name,m=d(p);if(f==null){var _=h.valueWayDim;v(a[g],_,m),v(o,_,m),h.valueWayDim+=m}else if(f===y)v(a[g],0,m),v(i,0,m);else{var _=h.categoryWayDim;v(a[g],_,m),v(o,_,m),h.categoryWayDim+=m}});function v(p,y,g){for(var m=0;m<g;m++)p.push(y+m)}function d(p){var y=p.dimsDef;return y?y.length:1}return i.length&&(a.itemName=i),o.length&&(a.seriesName=o),a}function B_(r,e,t){var a={},n=Su(r);if(!n)return a;var i=e.sourceFormat,o=e.dimensionsDefine,s;(i===st||i===mt)&&T(o,function(f,c){(K(f)?f.name:f)==="name"&&(s=c)});var l=(function(){for(var f={},c={},h=[],v=0,d=Math.min(5,t);v<d;v++){var p=qd(e.data,i,e.seriesLayoutBy,o,e.startIndex,v);h.push(p);var y=p===Ee.Not;if(y&&f.v==null&&v!==s&&(f.v=v),(f.n==null||f.n===f.v||!y&&h[f.n]===Ee.Not)&&(f.n=v),g(f)&&h[f.n]!==Ee.Not)return f;y||(p===Ee.Might&&c.v==null&&v!==s&&(c.v=v),(c.n==null||c.n===c.v)&&(c.n=v))}function g(m){return m.v!=null&&m.n!=null}return g(f)?f:g(c)?c:null})();if(l){a.value=[l.v];var u=s??l.n;a.itemName=[u],a.seriesName=[u]}return a}function Su(r){var e=r.get("data",!0);if(!e)return Sa(r.ecModel,"dataset",{index:r.get("datasetIndex",!0),id:r.get("datasetId",!0)},Ze).models[0]}function V_(r){return!r.get("transform",!0)&&!r.get("fromTransformResult",!0)?[]:Sa(r.ecModel,"dataset",{index:r.get("fromDatasetIndex",!0),id:r.get("fromDatasetId",!0)},Ze).models}function Kd(r,e){return qd(r.data,r.sourceFormat,r.seriesLayoutBy,r.dimensionsDefine,r.startIndex,e)}function qd(r,e,t,a,n,i){var o,s=5;if(Ke(r))return Ee.Not;var l,u;if(a){var f=a[i];K(f)?(l=f.name,u=f.type):Z(f)&&(l=f)}if(u!=null)return u==="ordinal"?Ee.Must:Ee.Not;if(e===Ge){var c=r;if(t===Br){for(var h=c[i],v=0;v<(h||[]).length&&v<s;v++)if((o=S(h[n+v]))!=null)return o}else for(var v=0;v<c.length&&v<s;v++){var d=c[n+v];if(d&&(o=S(d[i]))!=null)return o}}else if(e===st){var p=r;if(!l)return Ee.Not;for(var v=0;v<p.length&&v<s;v++){var y=p[v];if(y&&(o=S(y[l]))!=null)return o}}else if(e===mt){var g=r;if(!l)return Ee.Not;var h=g[l];if(!h||Ke(h))return Ee.Not;for(var v=0;v<h.length&&v<s;v++)if((o=S(h[v]))!=null)return o}else if(e===je)for(var m=r,v=0;v<m.length&&v<s;v++){var y=m[v],_=Gn(y);if(!N(_))return Ee.Not;if((o=S(_[i]))!=null)return o}function S(b){var x=Z(b);if(b!=null&&Number.isFinite(Number(b))&&b!=="")return x?Ee.Might:Ee.Not;if(x&&b!=="-")return Ee.Must}return Ee.Not}var z_=ee();function G_(r,e,t){var a=z_.get(e);if(!a)return t;var n=a(r);return n?t.concat(n):t}var Gf=ne();ne();var xu=(function(){function r(){}return r.prototype.getColorFromPalette=function(e,t,a){var n=De(this.get("color",!0)),i=this.get("colorLayer",!0);return H_(this,Gf,n,i,e,t,a)},r.prototype.clearColorPalette=function(){W_(this,Gf)},r})();function F_(r,e){for(var t=r.length,a=0;a<t;a++)if(r[a].length>e)return r[a];return r[t-1]}function H_(r,e,t,a,n,i,o){i=i||r;var s=e(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(n))return u[n];var f=o==null||!a?t:F_(a,o);if(f=f||t,!(!f||!f.length)){var c=f[l];return n&&(u[n]=c),s.paletteIdx=(l+1)%f.length,c}}function W_(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var Kn,Da,Ff,Hf="\0_ec_inner",U_=1,bu=(function(r){U(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new he(i),this._locale=new he(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=Yf(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,Yf(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?Ff(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&T(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=ee(),u=a&&a.replaceMergeMainTypeMap;O_(this),T(t,function(c,h){c!=null&&(ie.hasClass(h)?h&&(s.push(h),l.set(h,!0)):n[h]=n[h]==null?q(c):ue(n[h],c,!0))}),u&&u.each(function(c,h){ie.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),ie.topologicalTravel(s,ie.getAllClassMainTypes(),f,this);function f(c){var h=G_(this,c,De(t[c])),v=i.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",p=Fm(v,h,d);$m(p,c,ie),n[c]=null,i.set(c,null),o.set(c,0);var y=[],g=[],m=0,_;T(p,function(S,b){var x=S.existing,w=S.newOption;if(!w)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var D=c==="series",M=ie.getClass(c,S.keyInfo.subType,!D);if(!M)return;if(c==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===M)x.name=S.keyInfo.name,x.mergeOption(w,this),x.optionUpdated(w,!1);else{var A=F({componentIndex:b},S.keyInfo);x=new M(w,this,this,A),F(x,A),S.brandNew&&(x.__requireNewView=!0),x.init(w,this,this),x.optionUpdated(null,!0)}}x?(y.push(x.option),g.push(x),m++):(y.push(void 0),g.push(void 0))},this),n[c]=y,i.set(c,g),o.set(c,m),c==="series"&&Kn(this)}this._seriesIndices||Kn(this)},e.prototype.getOption=function(){var t=q(this.option);return T(t,function(a,n){if(ie.hasClass(n)){for(var i=De(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!cn(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[Hf],t},e.prototype.setTheme=function(t){this._theme=new he(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o<n.length;o++)if(n[o])return n[o]}}},e.prototype.queryComponents=function(t){var a=t.mainType;if(!a)return[];var n=t.index,i=t.id,o=t.name,s=this._componentsMap.get(a);if(!s||!s.length)return[];var l;return n!=null?(l=[],T(De(n),function(u){s[u]&&l.push(s[u])})):i!=null?l=Wf("id",i,s):o!=null?l=Wf("name",o,s):l=Ce(s,function(u){return!!u}),Uf(l,t)},e.prototype.findComponents=function(t){var a=t.query,n=t.mainType,i=s(a),o=i?this.queryComponents(i):Ce(this._componentsMap.get(n),function(u){return!!u});return l(Uf(o,t));function s(u){var f=n+"Index",c=n+"Id",h=n+"Name";return u&&(u[f]!=null||u[c]!=null||u[h]!=null)?{mainType:n,index:u[f],id:u[c],name:u[h]}:null}function l(u){return t.filter?Ce(u,t.filter):u}},e.prototype.eachComponent=function(t,a,n){var i=this._componentsMap;if(Q(t)){var o=a,s=t;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=Z(t)?i.get(t):K(t)?this.findComponents(t):null,u=0;l&&u<l.length;u++){var f=l[u];f&&a.call(n,f,f.componentIndex)}},e.prototype.getSeriesByName=function(t){var a=rt(t,null);return Ce(this._componentsMap.get("series"),function(n){return!!n&&a!=null&&n.name===a})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Ce(this._componentsMap.get("series"),function(a){return!!a&&a.subType===t})},e.prototype.getSeries=function(){return Ce(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,a){Da(this),T(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(a,i,n)},this)},e.prototype.eachRawSeries=function(t,a){T(this._componentsMap.get("series"),function(n){n&&t.call(a,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,a,n){Da(this),T(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===t&&a.call(n,o,i)},this)},e.prototype.eachRawSeriesByType=function(t,a,n){return T(this.getSeriesByType(t),a,n)},e.prototype.isSeriesFiltered=function(t){return Da(this),this._seriesIndicesMap.get(t.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,a){Da(this);var n=[];T(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];t.call(a,o,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=ee(n)},e.prototype.restoreData=function(t){Kn(this);var a=this._componentsMap,n=[];a.each(function(i,o){ie.hasClass(o)&&n.push(o)}),ie.topologicalTravel(n,ie.getAllClassMainTypes(),function(i){T(a.get(i),function(o){o&&(i!=="series"||!Y_(o,t))&&o.restoreData()})})},e.internalField=(function(){Kn=function(t){var a=t._seriesIndices=[];T(t._componentsMap.get("series"),function(n){n&&a.push(n.componentIndex)}),t._seriesIndicesMap=ee(a)},Da=function(t){},Ff=function(t,a){t.option={},t.option[Hf]=U_,t._componentsMap=ee({series:[]}),t._componentsCount=ee();var n=a.aria;K(n)&&n.enabled==null&&(n.enabled=!0),X_(a,t._theme.option),ue(a,E_,!1),t._mergeOption(a,null)}})(),e})(he);function Y_(r,e){if(e){var t=e.seriesIndex,a=e.seriesId,n=e.seriesName;return t!=null&&r.componentIndex!==t||a!=null&&r.id!==a||n!=null&&r.name!==n}}function X_(r,e){var t=r.color&&!r.colorLayer;T(e,function(a,n){n==="colorLayer"&&t||n==="color"&&r.color||ie.hasClass(n)||(typeof a=="object"?r[n]=r[n]?ue(r[n],a,!1):q(a):r[n]==null&&(r[n]=a))})}function Wf(r,e,t){if(N(e)){var a=ee();return T(e,function(i){if(i!=null){var o=rt(i,null);o!=null&&a.set(i,!0)}}),Ce(t,function(i){return i&&a.get(i[r])})}else{var n=rt(e,null);return Ce(t,function(i){return i&&n!=null&&i[r]===n})}}function Uf(r,e){return e.hasOwnProperty("subType")?Ce(r,function(t){return t&&t.subType===e.subType}):r}function Yf(r){var e=ee();return r&&T(De(r.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}gt(bu,xu);var Z_=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],jd=(function(){function r(e){T(Z_,function(t){this[t]=$(e[t],e)},this)}return r})(),$_=/^(min|max)?(.+)$/,K_=(function(){function r(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return r.prototype.setOption=function(e,t,a){e&&(T(De(e.series),function(o){o&&o.data&&Ke(o.data)&&Ri(o.data)}),T(De(e.dataset),function(o){o&&o.source&&Ke(o.source)&&Ri(o.source)})),e=q(e);var n=this._optionBackup,i=q_(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},r.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],q(e?t.baseOption:this._newBaseOption)},r.prototype.getTimelineOption=function(e){var t,a=this._timelineOptions;if(a.length){var n=e.getComponent("timeline");n&&(t=q(a[n.getCurrentIndex()]))}return t},r.prototype.getMediaOption=function(e){var t=this._api.getWidth(),a=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,o=[],s=[];if(!n.length&&!i)return s;for(var l=0,u=n.length;l<u;l++)j_(n[l].query,t,a)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!J_(o,this._currentMediaIndices)&&(s=X(o,function(f){return q(f===-1?i.option:n[f].option)})),this._currentMediaIndices=o,s},r})();function q_(r,e,t){var a=[],n,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&&N(u)&&T(u,function(v){v&&v.option&&(v.query?a.push(v):n||(n=v))}),h(i),T(l,function(v){return h(v)}),T(a,function(v){return h(v.option)});function h(v){T(e,function(d){d(v,t)})}return{baseOption:i,timelineOptions:l||[],mediaDefault:n,mediaList:a}}function j_(r,e,t){var a={width:e,height:t,aspectratio:e/t},n=!0;return T(r,function(i,o){var s=o.match($_);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();Q_(a[u],i,l)||(n=!1)}}),n}function Q_(r,e,t){return t==="min"?r>=e:t==="max"?r<=e:r===e}function J_(r,e){return r.join(",")===e.join(",")}var lt=T,bn=K,Xf=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Go(r){var e=r&&r.itemStyle;if(e)for(var t=0,a=Xf.length;t<a;t++){var n=Xf[t],i=e.normal,o=e.emphasis;i&&i[n]&&(r[n]=r[n]||{},r[n].normal?ue(r[n].normal,i[n]):r[n].normal=i[n],i[n]=null),o&&o[n]&&(r[n]=r[n]||{},r[n].emphasis?ue(r[n].emphasis,o[n]):r[n].emphasis=o[n],o[n]=null)}}function Ve(r,e,t){if(r&&r[e]&&(r[e].normal||r[e].emphasis)){var a=r[e].normal,n=r[e].emphasis;a&&(t?(r[e].normal=r[e].emphasis=null,ae(r[e],a)):r[e]=a),n&&(r.emphasis=r.emphasis||{},r.emphasis[e]=n,n.focus&&(r.emphasis.focus=n.focus),n.blurScope&&(r.emphasis.blurScope=n.blurScope))}}function Za(r){Ve(r,"itemStyle"),Ve(r,"lineStyle"),Ve(r,"areaStyle"),Ve(r,"label"),Ve(r,"labelLine"),Ve(r,"upperLabel"),Ve(r,"edgeLabel")}function xe(r,e){var t=bn(r)&&r[e],a=bn(t)&&t.textStyle;if(a)for(var n=0,i=mf.length;n<i;n++){var o=mf[n];a.hasOwnProperty(o)&&(t[o]=a[o])}}function et(r){r&&(Za(r),xe(r,"label"),r.emphasis&&xe(r.emphasis,"label"))}function eS(r){if(bn(r)){Go(r),Za(r),xe(r,"label"),xe(r,"upperLabel"),xe(r,"edgeLabel"),r.emphasis&&(xe(r.emphasis,"label"),xe(r.emphasis,"upperLabel"),xe(r.emphasis,"edgeLabel"));var e=r.markPoint;e&&(Go(e),et(e));var t=r.markLine;t&&(Go(t),et(t));var a=r.markArea;a&&et(a);var n=r.data;if(r.type==="graph"){n=n||r.nodes;var i=r.links||r.edges;if(i&&!Ke(i))for(var o=0;o<i.length;o++)et(i[o]);T(r.categories,function(u){Za(u)})}if(n&&!Ke(n))for(var o=0;o<n.length;o++)et(n[o]);if(e=r.markPoint,e&&e.data)for(var s=e.data,o=0;o<s.length;o++)et(s[o]);if(t=r.markLine,t&&t.data)for(var l=t.data,o=0;o<l.length;o++)N(l[o])?(et(l[o][0]),et(l[o][1])):et(l[o]);r.type==="gauge"?(xe(r,"axisLabel"),xe(r,"title"),xe(r,"detail")):r.type==="treemap"?(Ve(r.breadcrumb,"itemStyle"),T(r.levels,function(u){Za(u)})):r.type==="tree"&&Za(r.leaves)}}function At(r){return N(r)?r:r?[r]:[]}function Zf(r){return(N(r)?r[0]:r)||{}}function tS(r,e){lt(At(r.series),function(a){bn(a)&&eS(a)});var t=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&t.push("valueAxis","categoryAxis","logAxis","timeAxis"),lt(t,function(a){lt(At(r[a]),function(n){n&&(xe(n,"axisLabel"),xe(n.axisPointer,"label"))})}),lt(At(r.parallel),function(a){var n=a&&a.parallelAxisDefault;xe(n,"axisLabel"),xe(n&&n.axisPointer,"label")}),lt(At(r.calendar),function(a){Ve(a,"itemStyle"),xe(a,"dayLabel"),xe(a,"monthLabel"),xe(a,"yearLabel")}),lt(At(r.radar),function(a){xe(a,"name"),a.name&&a.axisName==null&&(a.axisName=a.name,delete a.name),a.nameGap!=null&&a.axisNameGap==null&&(a.axisNameGap=a.nameGap,delete a.nameGap)}),lt(At(r.geo),function(a){bn(a)&&(et(a),lt(At(a.regions),function(n){et(n)}))}),lt(At(r.timeline),function(a){et(a),Ve(a,"label"),Ve(a,"itemStyle"),Ve(a,"controlStyle",!0);var n=a.data;N(n)&&T(n,function(i){K(i)&&(Ve(i,"label"),Ve(i,"itemStyle"))})}),lt(At(r.toolbox),function(a){Ve(a,"iconStyle"),lt(a.feature,function(n){Ve(n,"iconStyle")})}),xe(Zf(r.axisPointer),"label"),xe(Zf(r.tooltip).axisPointer,"label")}function rS(r,e){for(var t=e.split(","),a=r,n=0;n<t.length&&(a=a&&a[t[n]],a!=null);n++);return a}function aS(r,e,t,a){for(var n=e.split(","),i=r,o,s=0;s<n.length-1;s++)o=n[s],i[o]==null&&(i[o]={}),i=i[o];i[n[s]]==null&&(i[n[s]]=t)}function $f(r){r&&T(nS,function(e){e[0]in r&&!(e[1]in r)&&(r[e[1]]=r[e[0]])})}var nS=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],iS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Fo=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Aa(r){var e=r&&r.itemStyle;if(e)for(var t=0;t<Fo.length;t++){var a=Fo[t][1],n=Fo[t][0];e[a]!=null&&(e[n]=e[a])}}function Kf(r){r&&r.alignTo==="edge"&&r.margin!=null&&r.edgeDistance==null&&(r.edgeDistance=r.margin)}function qf(r){r&&r.downplay&&!r.blur&&(r.blur=r.downplay)}function oS(r){r&&r.focusNodeAdjacency!=null&&(r.emphasis=r.emphasis||{},r.emphasis.focus==null&&(r.emphasis.focus="adjacency"))}function Qd(r,e){if(r)for(var t=0;t<r.length;t++)e(r[t]),r[t]&&Qd(r[t].children,e)}function Jd(r,e){tS(r,e),r.series=De(r.series),T(r.series,function(t){if(K(t)){var a=t.type;if(a==="line")t.clipOverflow!=null&&(t.clip=t.clipOverflow);else if(a==="pie"||a==="gauge"){t.clockWise!=null&&(t.clockwise=t.clockWise),Kf(t.label);var n=t.data;if(n&&!Ke(n))for(var i=0;i<n.length;i++)Kf(n[i]);t.hoverOffset!=null&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if(a==="gauge"){var o=rS(t,"pointer.color");o!=null&&aS(t,"itemStyle.color",o)}else if(a==="bar"){Aa(t),Aa(t.backgroundStyle),Aa(t.emphasis);var n=t.data;if(n&&!Ke(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&(Aa(n[i]),Aa(n[i]&&n[i].emphasis))}else if(a==="sunburst"){var s=t.highlightPolicy;s&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=s)),qf(t),Qd(t.data,qf)}else a==="graph"||a==="sankey"?oS(t):a==="map"&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&ae(t,t.mapLocation));t.hoverAnimation!=null&&(t.emphasis=t.emphasis||{},t.emphasis&&t.emphasis.scale==null&&(t.emphasis.scale=t.hoverAnimation)),$f(t)}}),r.dataRange&&(r.visualMap=r.dataRange),T(iS,function(t){var a=r[t];a&&(N(a)||(a=[a]),T(a,function(n){$f(n)}))})}function sS(r){var e=ee();r.eachSeries(function(t){var a=t.get("stack");if(a){var n=e.get(a)||e.set(a,[]),i=t.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:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.push(o)}}),e.each(function(t){if(t.length!==0){var a=t[0].seriesModel,n=a.get("stackOrder")||"seriesAsc";n==="seriesDesc"&&t.reverse(),T(t,function(i,o){i.data.setCalculationInfo("stackedOnSeries",o>0?t[o-1].seriesModel:null)}),lS(t)}})}function lS(r){T(r,function(e,t){var a=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,f,c){var h=o.get(e.stackedDimension,c);if(isNaN(h))return n;var v,d;s?d=o.getRawIndex(c):v=o.get(e.stackedByDimension,c);for(var p=NaN,y=t-1;y>=0;y--){var g=r[y];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,v)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&h>=0&&m>0||l==="samesign"&&h<=0&&m<0){h=Pm(h,m),p=m;break}}}return a[0]=h,a[1]=p,a})})}var So=(function(){function r(e){this.data=e.data||(e.sourceFormat===mt?{}:[]),this.sourceFormat=e.sourceFormat||Zd,this.seriesLayoutBy=e.seriesLayoutBy||vt,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var a=0;a<t.length;a++){var n=t[a];n.type==null&&Kd(this,a)===Ee.Must&&(n.type="ordinal")}}return r})();function wu(r){return r instanceof So}function al(r,e,t){t=t||ep(r);var a=e.seriesLayoutBy,n=fS(r,t,a,e.sourceHeader,e.dimensions),i=new So({data:r,sourceFormat:t,seriesLayoutBy:a,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:q(e)});return i}function Tu(r){return new So({data:r,sourceFormat:Ke(r)?ar:je})}function uS(r){return new So({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:q(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount})}function ep(r){var e=Zd;if(Ke(r))e=ar;else if(N(r)){r.length===0&&(e=Ge);for(var t=0,a=r.length;t<a;t++){var n=r[t];if(n!=null){if(N(n)||Ke(n)){e=Ge;break}else if(K(n)){e=st;break}}}}else if(K(r)){for(var i in r)if(G(r,i)&&Rn(r[i])){e=mt;break}}return e}function fS(r,e,t,a,n){var i,o;if(!r)return{dimensionsDefine:jf(n),startIndex:o,dimensionsDetectedCount:i};if(e===Ge){var s=r;a==="auto"||a==null?Qf(function(u){u!=null&&u!=="-"&&(Z(u)?o==null&&(o=1):o=0)},t,s,10):o=oe(a)?a:a?1:0,!n&&o===1&&(n=[],Qf(function(u,f){n[f]=u!=null?u+"":""},t,s,1/0)),i=n?n.length:t===Br?s.length:s[0]?s[0].length:null}else if(e===st)n||(n=cS(r));else if(e===mt)n||(n=[],T(r,function(u,f){n.push(f)}));else if(e===je){var l=Gn(r[0]);i=N(l)&&l.length||1}return{startIndex:o,dimensionsDefine:jf(n),dimensionsDetectedCount:i}}function cS(r){for(var e=0,t;e<r.length&&!(t=r[e++]););if(t)return Le(t)}function jf(r){if(r){var e=ee();return X(r,function(t,a){t=K(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function Qf(r,e,t,a){if(e===Br)for(var n=0;n<t.length&&n<a;n++)r(t[n]?t[n][0]:null,n);else for(var i=t[0]||[],n=0;n<i.length&&n<a;n++)r(i[n],n)}function tp(r){var e=r.sourceFormat;return e===st||e===mt}var dr,pr,gr,yr,Jf,ec,rp=(function(){function r(e,t){var a=wu(e)?e:Tu(e);this._source=a;var n=this._data=a.data,i=a.sourceFormat;a.seriesLayoutBy,i===ar&&(this._offset=0,this._dimSize=t,this._data=n),ec(this,n,a)}return r.prototype.getSource=function(){return this._source},r.prototype.count=function(){return 0},r.prototype.getItem=function(e,t){},r.prototype.appendData=function(e){},r.prototype.clean=function(){},r.protoInitialize=(function(){var e=r.prototype;e.pure=!1,e.persistent=!0})(),r.internalField=(function(){var e;ec=function(o,s,l){var u=l.sourceFormat,f=l.seriesLayoutBy,c=l.startIndex,h=l.dimensionsDefine,v=Jf[Cu(u,f)];if(F(o,v),u===ar)o.getItem=t,o.count=n,o.fillStorage=a;else{var d=ap(u,f);o.getItem=$(d,null,s,c,h);var p=np(u,f);o.count=$(p,null,s,c,h)}};var t=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},a=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],y=s-o,g=l[h],m=0;m<y;m++){var _=f[m*c+h];g[o+m]=_,_<d&&(d=_),_>p&&(p=_)}v[0]=d,v[1]=p}},n=function(){return this._data?this._data.length/this._dimSize:0};Jf=(e={},e[Ge+"_"+vt]={pure:!0,appendData:i},e[Ge+"_"+Br]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[st]={pure:!0,appendData:i},e[mt]={pure:!0,appendData:function(o){var s=this._data;T(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},e[je]={appendData:i},e[ar]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}})(),r})(),qn=function(r){N(r)||td("series.data or dataset.source must be an array.")};dr={},dr[Ge+"_"+vt]=qn,dr[Ge+"_"+Br]=qn,dr[st]=qn,dr[mt]=function(r,e){for(var t=0;t<e.length;t++){var a=e[t].name;a==null&&td("dimension name must not be null/undefined.")}},dr[je]=qn;var tc=function(r,e,t,a){return r[a]},vS=(pr={},pr[Ge+"_"+vt]=function(r,e,t,a){return r[a+e]},pr[Ge+"_"+Br]=function(r,e,t,a,n){a+=e;for(var i=n||[],o=r,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[a]:null}return i},pr[st]=tc,pr[mt]=function(r,e,t,a,n){for(var i=n||[],o=0;o<t.length;o++){var s=t[o].name,l=s!=null?r[s]:null;i[o]=l?l[a]:null}return i},pr[je]=tc,pr);function ap(r,e){var t=vS[Cu(r,e)];return t}var rc=function(r,e,t){return r.length},hS=(gr={},gr[Ge+"_"+vt]=function(r,e,t){return Math.max(0,r.length-e)},gr[Ge+"_"+Br]=function(r,e,t){var a=r[0];return a?Math.max(0,a.length-e):0},gr[st]=rc,gr[mt]=function(r,e,t){var a=t[0].name,n=a!=null?r[a]:null;return n?n.length:0},gr[je]=rc,gr);function np(r,e){var t=hS[Cu(r,e)];return t}var Ho=function(r,e,t){return r[e]},dS=(yr={},yr[Ge]=Ho,yr[st]=function(r,e,t){return r[t]},yr[mt]=Ho,yr[je]=function(r,e,t){var a=Gn(r);return a instanceof Array?a[e]:a},yr[ar]=Ho,yr);function ip(r){var e=dS[r];return e}function Cu(r,e){return r===Ge?r+"_"+e:r}function ga(r,e,t){if(r){var a=r.getRawDataItem(e);if(a!=null){var n=r.getStore(),i=n.getSource().sourceFormat;if(t!=null){var o=r.getDimensionIndex(t),s=n.getDimensionProperty(o);return ip(i)(a,o,s)}else{var l=a;return i===je&&(l=Gn(a)),l}}}}var pS=/\{@(.+?)\}/g,gS=(function(){function r(){}return r.prototype.getDataParams=function(e,t){var a=this.getData(t),n=this.getRawValue(e,t),i=a.getRawIndex(e),o=a.getName(e),s=a.getRawDataItem(e),l=a.getItemVisual(e,"style"),u=l&&l[a.getItemVisual(e,"drawType")||"fill"],f=l&&l.stroke,c=this.mainType,h=c==="series",v=a.userOutput&&a.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:t,value:n,color:u,borderColor:f,dimensionNames:v?v.fullDimensions:null,encode:v?v.encode:null,$vars:["seriesName","name","value"]}},r.prototype.getFormattedLabel=function(e,t,a,n,i,o){t=t||"normal";var s=this.getData(a),l=this.getDataParams(e,a);if(o&&(l.value=o.interpolatedValue),n!=null&&N(l.value)&&(l.value=l.value[n]),!i){var u=s.getItemModel(e);i=u.get(t==="normal"?["label","formatter"]:[t,"label","formatter"])}if(Q(i))return l.status=t,l.dimensionIndex=n,i(l);if(Z(i)){var f=Hd(i,l);return f.replace(pS,function(c,h){var v=h.length,d=h;d.charAt(0)==="["&&d.charAt(v-1)==="]"&&(d=+d.slice(1,v-1));var p=ga(s,e,d);if(o&&N(o.interpolatedValue)){var y=s.getDimensionIndex(d);y>=0&&(p=o.interpolatedValue[y])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(e,t){return ga(this.getData(t),e)},r.prototype.formatTooltip=function(e,t,a){},r})();function ac(r){var e,t;return K(r)?r.type&&(t=r):e=r,{text:e,frag:t}}function an(r){return new yS(r)}var yS=(function(){function r(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return r.prototype.perform=function(e){var t=this._upstream,a=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!a&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(m){return!(m>=1)&&(m=1),m}var c;(this._dirty||i==="reset")&&(this._dirty=!1,c=this._doReset(a)),this._modBy=l,this._modDataCount=u;var h=e&&e.step;if(t?this._dueEnd=t._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(!a&&(c||v<d)){var p=this._progress;if(N(p))for(var y=0;y<p.length;y++)this._doProgress(p[y],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(e,t,a,n,i){nc.reset(t,a,n,i),this._callingProgress=e,this._callingProgress({start:t,end:a,count:a-t,next:nc.next},this.context)},r.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var t,a;!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(a=t.forceFirstProgress,t=t.progress),N(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),a},r.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.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(e){this._outputDueEnd=this._settedOutputEnd=e},r})(),nc=(function(){var r,e,t,a,n,i={reset:function(l,u,f,c){e=l,r=u,t=f,a=c,n=Math.ceil(a/t),i.next=t>1&&a>0?s:o}};return i;function o(){return e<r?e++:null}function s(){var l=e%n*t+Math.ceil(e/n),u=e>=r?null:l<a?l:e;return e++,u}})();function Ai(r,e){var t=e&&e.type;return t==="ordinal"?r:(t==="time"&&!oe(r)&&r!=null&&r!=="-"&&(r=+Er(r)),r==null||r===""?NaN:Number(r))}ee({number:function(r){return parseFloat(r)},time:function(r){return+Er(r)},trim:function(r){return Z(r)?Bn(r):r}});var mS=(function(){function r(e,t){var a=e==="desc";this._resultLT=a?1:-1,t==null&&(t=a?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return r.prototype.evaluate=function(e,t){var a=oe(e)?e:Ni(e),n=oe(t)?t:Ni(t),i=isNaN(a),o=isNaN(n);if(i&&(a=this._incomparable),o&&(n=this._incomparable),i&&o){var s=Z(e),l=Z(t);s&&(a=l?e:0),l&&(n=s?t:0)}return a<n?this._resultLT:a>n?-this._resultLT:0},r})(),_S=(function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(e){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(e){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(e,t){},r.prototype.retrieveValueFromItem=function(e,t){},r.prototype.convertValue=function(e,t){return Ai(e,t)},r})();function SS(r,e){var t=new _S,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==vt&&Oe(o);var s=[],l={},u=r.dimensionsDefine;if(u)T(u,function(p,y){var g=p.name,m={index:y,name:g,displayName:p.displayName};if(s.push(m),g!=null){var _="";G(l,g)&&Oe(_),l[g]=m}});else for(var f=0;f<r.dimensionsDetectedCount;f++)s.push({index:f});var c=ap(n,vt);e.__isBuiltIn&&(t.getRawDataItem=function(p){return c(a,i,s,p)},t.getRawData=$(xS,null,r)),t.cloneRawData=$(bS,null,r);var h=np(n,vt);t.count=$(h,null,a,i,s);var v=ip(n);t.retrieveValue=function(p,y){var g=c(a,i,s,p);return d(g,y)};var d=t.retrieveValueFromItem=function(p,y){if(p!=null){var g=s[y];if(g)return v(p,y,g.name)}};return t.getDimensionInfo=$(wS,null,s,l),t.cloneAllDimensionInfo=$(TS,null,s),t}function xS(r){var e=r.sourceFormat;if(!Mu(e)){var t="";Oe(t)}return r.data}function bS(r){var e=r.sourceFormat,t=r.data;if(!Mu(e)){var a="";Oe(a)}if(e===Ge){for(var n=[],i=0,o=t.length;i<o;i++)n.push(t[i].slice());return n}else if(e===st){for(var n=[],i=0,o=t.length;i<o;i++)n.push(F({},t[i]));return n}}function wS(r,e,t){if(t!=null){if(oe(t)||!isNaN(t)&&!G(e,t))return r[t];if(G(e,t))return e[t]}}function TS(r){return q(r)}var op=ee();function CS(r){r=q(r);var e=r.type,t="";e||Oe(t);var a=e.split(":");a.length!==2&&Oe(t);var n=!1;a[0]==="echarts"&&(e=a[1],n=!0),r.__isBuiltIn=n,op.set(e,r)}function MS(r,e,t){var a=De(r),n=a.length,i="";n||Oe(i);for(var o=0,s=n;o<s;o++){var l=a[o];e=DS(l,e),o!==s-1&&(e.length=Math.max(e.length,1))}return e}function DS(r,e,t,a){var n="";e.length||Oe(n),K(r)||Oe(n);var i=r.type,o=op.get(i);o||Oe(n);var s=X(e,function(u){return SS(u,o)}),l=De(o.transform({upstream:s[0],upstreamList:s,config:q(r.config)}));return X(l,function(u,f){var c="";K(u)||Oe(c),u.data||Oe(c);var h=ep(u.data);Mu(h)||Oe(c);var v,d=e[0];if(d&&f===0&&!u.dimensions){var p=d.startIndex;p&&(u.data=d.data.slice(0,p).concat(u.data)),v={seriesLayoutBy:vt,sourceHeader:p,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:vt,sourceHeader:0,dimensions:u.dimensions};return al(u.data,v,null)})}function Mu(r){return r===Ge||r===st}var xo="undefined",AS=typeof Uint32Array===xo?Array:Uint32Array,LS=typeof Uint16Array===xo?Array:Uint16Array,sp=typeof Int32Array===xo?Array:Int32Array,ic=typeof Float64Array===xo?Array:Float64Array,lp={float:ic,int:sp,ordinal:Array,number:Array,time:ic},Wo;function Ur(r){return r>65535?AS:LS}function Yr(){return[1/0,-1/0]}function IS(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function oc(r,e,t,a,n){var i=lp[t||"float"];if(n){var o=r[e],s=o&&o.length;if(s!==a){for(var l=new i(a),u=0;u<s;u++)l[u]=o[u];r[e]=l}}else r[e]=new i(a)}var nl=(function(){function r(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ee()}return r.prototype.initData=function(e,t,a){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=Wo[n.sourceFormat];this._dimValueGetter=a||i,this._rawExtent=[],tp(n),this._dimensions=X(t,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},r.prototype.getProvider=function(){return this._provider},r.prototype.getSource=function(){return this._provider.getSource()},r.prototype.ensureCalculationDimension=function(e,t){var a=this._calcDimNameToIdx,n=this._dimensions,i=a.get(e);if(i!=null){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},a.set(e,i),this._chunks[i]=new lp[t||"float"](this._rawCount),this._rawExtent[i]=Yr(),i},r.prototype.collectOrdinalMeta=function(e,t){var a=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,o=n.ordinalOffset||0,s=a.length;o===0&&(i[e]=Yr());for(var l=i[e],u=o;u<s;u++){var f=a[u]=t.parseAndCollect(a[u]);isNaN(f)||(l[0]=Math.min(f,l[0]),l[1]=Math.max(f,l[1]))}n.ordinalMeta=t,n.ordinalOffset=s,n.type="ordinal"},r.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],a=t.ordinalMeta;return a},r.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},r.prototype.appendData=function(e){var t=this._provider,a=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=a),a<n&&this._initDataFromProvider(a,n,!0),[a,n]},r.prototype.appendValues=function(e,t){for(var a=this._chunks,n=this._dimensions,i=n.length,o=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t||0),u=0;u<i;u++){var f=n[u];oc(a,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=n[d],p=Wo.arrayRows.call(this,e[v]||c,f.property,v,d);a[d][h]=p;var y=o[d];p<y[0]&&(y[0]=p),p>y[1]&&(y[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=X(o,function(m){return m.property}),f=0;f<s;f++){var c=o[f];l[f]||(l[f]=Yr()),oc(i,f,c.type,t,a)}if(n.fillStorage)n.fillStorage(e,t,i,l);else for(var h=[],v=e;v<t;v++){h=n.getItem(v,h);for(var d=0;d<s;d++){var p=i[d],y=this._dimValueGetter(h,u[d],v,d);p[v]=y;var g=l[d];y<g[0]&&(g[0]=y),y>g[1]&&(g[1]=y)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var a=this._chunks[e];return a?a[this.getRawIndex(t)]:NaN},r.prototype.getValues=function(e,t){var a=[],n=[];if(t==null){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,o=n.length;i<o;i++)a.push(this.get(n[i],t));return a},r.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var a=this._chunks[e];return a?a[t]:NaN},r.prototype.getSum=function(e){var t=this._chunks[e],a=0;if(t)for(var n=0,i=this.count();n<i;n++){var o=this.get(e,n);isNaN(o)||(a+=o)}return a},r.prototype.getMedian=function(e){var t=[];this.each([e],function(i){isNaN(i)||t.push(i)});var a=t.sort(function(i,o){return i-o}),n=this.count();return n===0?0:n%2===1?a[(n-1)/2]:(a[n/2]+a[n/2-1])/2},r.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,a=t[e];if(a!=null&&a<this._count&&a===e)return e;for(var n=0,i=this._count-1;n<=i;){var o=(n+i)/2|0;if(t[o]<e)n=o+1;else if(t[o]>e)i=o-1;else return o}return-1},r.prototype.getIndices=function(){var e,t=this._indices;if(t){var a=t.constructor,n=this._count;if(a===Array){e=new a(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new a(t.buffer,0,n)}else{var a=Ur(this._rawCount);e=new a(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},r.prototype.filter=function(e,t){if(!this._count)return this;for(var a=this.clone(),n=a.count(),i=Ur(a._rawCount),o=new i(n),s=[],l=e.length,u=0,f=e[0],c=a._chunks,h=0;h<n;h++){var v=void 0,d=a.getRawIndex(h);if(l===0)v=t(h);else if(l===1){var p=c[f][d];v=t(p,h)}else{for(var y=0;y<l;y++)s[y]=c[e[y]][d];s[y]=h,v=t.apply(null,s)}v&&(o[u++]=d)}return u<n&&(a._indices=o),a._count=u,a._extent=[],a._updateGetRawIdx(),a},r.prototype.selectRange=function(e){var t=this.clone(),a=t._count;if(!a)return this;var n=Le(e),i=n.length;if(!i)return this;var o=t.count(),s=Ur(t._rawCount),l=new s(o),u=0,f=n[0],c=e[f][0],h=e[f][1],v=t._chunks,d=!1;if(!t._indices){var p=0;if(i===1){for(var y=v[n[0]],g=0;g<a;g++){var m=y[g];(m>=c&&m<=h||isNaN(m))&&(l[u++]=p),p++}d=!0}else if(i===2){for(var y=v[n[0]],_=v[n[1]],S=e[n[1]][0],b=e[n[1]][1],g=0;g<a;g++){var m=y[g],x=_[g];(m>=c&&m<=h||isNaN(m))&&(x>=S&&x<=b||isNaN(x))&&(l[u++]=p),p++}d=!0}}if(!d)if(i===1)for(var g=0;g<o;g++){var w=t.getRawIndex(g),m=v[n[0]][w];(m>=c&&m<=h||isNaN(m))&&(l[u++]=w)}else for(var g=0;g<o;g++){for(var D=!0,w=t.getRawIndex(g),M=0;M<i;M++){var A=n[M],m=v[A][w];(m<e[A][0]||m>e[A][1])&&(D=!1)}D&&(l[u++]=t.getRawIndex(g))}return u<o&&(t._indices=l),t._count=u,t._extent=[],t._updateGetRawIdx(),t},r.prototype.map=function(e,t){var a=this.clone(e);return this._updateDims(a,e,t),a},r.prototype.modify=function(e,t){this._updateDims(this,e,t)},r.prototype._updateDims=function(e,t,a){for(var n=e._chunks,i=[],o=t.length,s=e.count(),l=[],u=e._rawExtent,f=0;f<t.length;f++)u[t[f]]=Yr();for(var c=0;c<s;c++){for(var h=e.getRawIndex(c),v=0;v<o;v++)l[v]=n[t[v]][h];l[o]=c;var d=a&&a.apply(null,l);if(d!=null){typeof d!="object"&&(i[0]=d,d=i);for(var f=0;f<d.length;f++){var p=t[f],y=d[f],g=u[p],m=n[p];m&&(m[h]=y),y<g[0]&&(g[0]=y),y>g[1]&&(g[1]=y)}}}},r.prototype.lttbDownSample=function(e,t){var a=this.clone([e],!0),n=a._chunks,i=n[e],o=this.count(),s=0,l=Math.floor(1/t),u=this.getRawIndex(0),f,c,h,v=new(Ur(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),y=Math.min(d+l*2,o),g=(y+p)/2,m=0,_=p;_<y;_++){var S=this.getRawIndex(_),b=i[S];isNaN(b)||(m+=b)}m/=y-p;var x=d,w=Math.min(d+l,o),D=d-1,M=i[u];f=-1,h=x;for(var A=-1,C=0,_=x;_<w;_++){var S=this.getRawIndex(_),b=i[S];if(isNaN(b)){C++,A<0&&(A=S);continue}c=Math.abs((D-g)*(b-M)-(D-_)*(m-M)),c>f&&(f=c,h=S)}C>0&&C<w-x&&(v[s++]=Math.min(A,h),h=Math.max(A,h)),v[s++]=h,u=h}return v[s++]=this.getRawIndex(o-1),a._count=s,a._indices=v,a.getRawIndex=this._getRawIdx,a},r.prototype.minmaxDownSample=function(e,t){for(var a=this.clone([e],!0),n=a._chunks,i=Math.floor(1/t),o=n[e],s=this.count(),l=new(Ur(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 y=0;y<p;y++){var g=this.getRawIndex(f+y),m=o[g];m<h&&(h=m,c=f+y),m>d&&(d=m,v=f+y)}var _=this.getRawIndex(c),S=this.getRawIndex(v);c<v?(l[u++]=_,l[u++]=S):(l[u++]=S,l[u++]=_)}return a._count=u,a._indices=l,a._updateGetRawIdx(),a},r.prototype.downSample=function(e,t,a,n){for(var i=this.clone([e],!0),o=i._chunks,s=[],l=Math.floor(1/t),u=o[e],f=this.count(),c=i._rawExtent[e]=Yr(),h=new(Ur(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 y=this.getRawIndex(d+p);s[p]=u[y]}var g=a(s),m=this.getRawIndex(Math.min(d+n(s,g)||0,f-1));u[m]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),h[v++]=m}return i._count=v,i._indices=h,i._updateGetRawIdx(),i},r.prototype.each=function(e,t){if(this._count)for(var a=e.length,n=this._chunks,i=0,o=this.count();i<o;i++){var s=this.getRawIndex(i);switch(a){case 0:t(i);break;case 1:t(n[e[0]][s],i);break;case 2:t(n[e[0]][s],n[e[1]][s],i);break;default:for(var l=0,u=[];l<a;l++)u[l]=n[e[l]][s];u[l]=i,t.apply(null,u)}}},r.prototype.getDataExtent=function(e){var t=this._chunks[e],a=Yr();if(!t)return a;var n=this.count(),i=!this._indices,o;if(i)return this._rawExtent[e].slice();if(o=this._extent[e],o)return o.slice();o=a;for(var s=o[0],l=o[1],u=0;u<n;u++){var f=this.getRawIndex(u),c=t[f];c<s&&(s=c),c>l&&(l=c)}return o=[s,l],this._extent[e]=o,o},r.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var a=[],n=this._chunks,i=0;i<n.length;i++)a.push(n[i][t]);return a},r.prototype.clone=function(e,t){var a=new r,n=this._chunks,i=e&&sn(e,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<n.length;o++)a._chunks[o]=i[o]?IS(n[o]):n[o];else a._chunks=n;return this._copyCommonProps(a),t||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},r.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=q(this._extent),e._rawExtent=q(this._rawExtent)},r.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var a=this._indices.length;t=new e(a);for(var n=0;n<a;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},r.prototype._getRawIdxIdentity=function(e){return e},r.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=(function(){function e(t,a,n,i){return Ai(t[i],this._dimensions[i])}Wo={arrayRows:e,objectRows:function(t,a,n,i){return Ai(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Ai(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}})(),r})(),up=(function(){function r(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,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 e=this._sourceHost,t=this._getUpstreamSourceManagers(),a=!!t.length,n,i;if(jn(e)){var o=e,s=void 0,l=void 0,u=void 0;if(a){var f=t[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=Ke(s)?ar:je,i=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=j(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=j(c.sourceHeader,h.sourceHeader),p=j(c.dimensions,h.dimensions),y=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||p;n=y?[al(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var g=e;if(a){var m=this._applyTransform(t);n=m.sourceList,i=m.upstreamSignList}else{var _=g.get("source",!0);n=[al(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(n,i)},r.prototype._applyTransform=function(e){var t=this._sourceHost,a=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(n!=null){var i="";e.length!==1&&lc(i)}var o,s=[],l=[];return T(e,function(u){u.prepareSource();var f=u.getSource(n||0),c="";n!=null&&!f&&lc(c),s.push(f),l.push(u._getVersionSign())}),a?o=MS(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[uS(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var a=e[t];if(a._isDirty()||this._upstreamSignList[t]!==a._getVersionSign())return!0}},r.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var a=this._getUpstreamSourceManagers();return a[0]&&a[0].getSource(e)}return t},r.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},r.prototype._innerGetDataStore=function(e,t,a){var n=0,i=this._storeList,o=i[n];o||(o=i[n]={});var s=o[a];if(!s){var l=this._getUpstreamSourceManagers()[0];jn(this._sourceHost)&&l?s=l._innerGetDataStore(e,t,a):(s=new nl,s.initData(new rp(t,e.length),e)),o[a]=s}return s},r.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(jn(e)){var t=Su(e);return t?[t.getSourceManager()]:[]}else return X(V_(e),function(a){return a.getSourceManager()})},r.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,t,a,n;if(jn(e))t=e.get("seriesLayoutBy",!0),a=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;t=i.get("seriesLayoutBy",!0),a=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:a,dimensions:n}},r})();function sc(r){var e=r.option.transform;e&&Ri(r.option.transform)}function jn(r){return r.mainType==="series"}function lc(r){throw new Error(r)}var kS="line-height:1";function fp(r){var e=r.lineHeight;return e==null?kS:"line-height:"+Ye(e+"")+"px"}function cp(r,e){var t=r.color||B.color.tertiary,a=r.fontSize||12,n=r.fontWeight||"400",i=r.color||B.color.secondary,o=r.fontSize||14,s=r.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+Ye(a+"")+"px;color:"+Ye(t)+";font-weight:"+Ye(n+""),valueStyle:"font-size:"+Ye(o+"")+"px;color:"+Ye(i)+";font-weight:"+Ye(s+"")}:{nameStyle:{fontSize:a,fill:t,fontWeight:n},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var PS=[0,10,20,30],RS=["",`
|
|
1
|
+
import{r as sn,m as X,i as Z,a as N,b as oe,e as be,c as Bs,d as K,f as ee,g as T,h as ht,j as fe,k as $y,l as F,n as Q,P as Be,o as nf,p as Rn,q as Le,s as j,t as Ky,u as qy,Z as Gt,v as jy,w as G,x as ae,T as aa,y as En,z as Ct,A as Nh,B as Bh,C as Me,D as Vh,E as On,F as Qy,G as Jy,H as em,I as q,J as uo,K as zh,S as kr,R as Wl,L as Nn,M as Pr,N as ve,O as nr,Q as Ul,U as Yl,V as Gh,W as le,X as tm,Y as Xl,_ as Fh,$ as ge,a0 as rm,a1 as de,a2 as Hh,a3 as Rr,a4 as Bn,a5 as ue,a6 as gt,a7 as Ye,a8 as ye,a9 as sa,aa as Ke,ab as Ce,ac as $,ad as Ri,ae as am,af as nt,ag as Vs,ah as nm,ai as im,aj as Ei,ak as om,al as Vn,am as of,an as Io,ao as sm,ap as ln,aq as Tr,ar as lm,as as Wh,at as sf,au as ko,av as Uh,aw as um,ax as fm,ay as Ya,az as cm,aA as lf,aB as uf,aC as vm,aD as hm,aE as Yh,aF as Ar,aG as ff,aH as Xh,aI as cf,aJ as ha,aK as He,aL as xi,aM as Po,aN as Zh,aO as dm,aP as rr,aQ as zn,aR as pm,aS as gm,aT as na,aU as vf,aV as ym,aW as zs,aX as mm,aY as _m,aZ as Sm,a_ as xm,a$ as un,b0 as bm,b1 as $h,b2 as wm,b3 as hf,b4 as Tm,b5 as Cm,b6 as Mm}from"./vendor-zrender-DFl4U2Oe.js";var Gs=function(r,e){return Gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},Gs(r,e)};function U(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Gs(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var df=1e-4,Kh=20;function Dm(r){return r.replace(/^\s+|\s+$/g,"")}var fn=Math.min,$e=Math.max,bt=Math.abs;function it(r,e,t,a){var n=e[0],i=e[1],o=t[0],s=t[1],l=i-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(a)if(l>0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}var re=Am;function Am(r,e,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 Fs(r,e,t)}function Fs(r,e,t){return Z(r)?Dm(r).match(/%$/)?parseFloat(r)/100*e+(t||0):parseFloat(r):r==null?NaN:+r}function ke(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Kh),r=(+r).toFixed(e),t?r:+r}function qh(r){return r.sort(function(e,t){return e-t}),r}function Pt(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return Lm(r)}function Lm(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function Im(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(bt(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function km(r,e){var t=sn(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=X(r,function(v){return(isNaN(v)?0:v)/t*a*100}),i=a*100,o=X(n,function(v){return Math.floor(v)}),s=sn(o,function(v,d){return v+d},0),l=X(n,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 X(o,function(v){return v/a})}function Pm(r,e){var t=Math.max(Pt(r),Pt(e)),a=r+e;return t>Kh?a:ke(a,t)}function jh(r){var e=Math.PI*2;return(r%e+e)%e}function Oi(r){return r>-df&&r<df}var Rm=/^(?:(\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 Er(r){if(r instanceof Date)return r;if(Z(r)){var e=Rm.exec(r);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}function Em(r){return Math.pow(10,Zl(r))}function Zl(r){if(r===0)return 0;var e=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,e)>=10&&e++,e}function Qh(r,e){var t=Zl(r),a=Math.pow(10,t),n=r/a,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function pf(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a<r.length;){for(var n=r[a].interval,i=r[a].close,o=0;o<2;o++)n[o]<=e&&(n[o]=e,i[o]=o?1:1-t),e=n[o],t=i[o];n[0]===n[1]&&i[0]*i[1]!==1?r.splice(a,1):a++}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 Ni(r){var e=parseFloat(r);return e==r&&(e!==0||!Z(r)||r.indexOf("x")<=0)?e:NaN}function Om(r){return!isNaN(Ni(r))}function Jh(){return Math.round(Math.random()*9)}function ed(r,e){return e===0?r:ed(e,r%e)}function gf(r,e){return r==null?e:e==null?r:r*e/ed(r,e)}var Nm="[ECharts] ",Bm=typeof console<"u"&&console.warn&&console.log;function Vm(r,e,t){Bm&&console[r](Nm+e)}function td(r,e){Vm("error",r)}function Oe(r){throw new Error(r)}function yf(r,e,t){return(e-r)*t+r}var rd="series\0",zm="\0_ec_\0";function De(r){return r instanceof Array?r:r==null?[]:[r]}function Bi(r,e,t){if(r){r[e]=r[e]||{},r.emphasis=r.emphasis||{},r.emphasis[e]=r.emphasis[e]||{};for(var a=0,n=t.length;a<n;a++){var i=t[a];!r.emphasis[e].hasOwnProperty(i)&&r[e].hasOwnProperty(i)&&(r.emphasis[e][i]=r[e][i])}}}var mf=["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 Gn(r){return K(r)&&!N(r)&&!(r instanceof Date)?r.value:r}function Gm(r){return K(r)&&!(r instanceof Array)}function Fm(r,e,t){var a=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";r=r||[],e=(e||[]).slice();var o=ee();T(e,function(l,u){if(!K(l)){e[u]=null;return}});var s=Hm(r,o,t);return(a||n)&&Wm(s,r,o,e),a&&Um(s,e),a||n?Ym(s,e,n):i&&Xm(s,e),Zm(s),s}function Hm(r,e,t){var a=[];if(t==="replaceAll")return a;for(var n=0;n<r.length;n++){var i=r[n];i&&i.id!=null&&e.set(i.id,n),a.push({existing:t==="replaceMerge"||cn(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return a}function Wm(r,e,t,a){T(a,function(n,i){if(!(!n||n.id==null)){var o=Ja(n.id),s=t.get(o);if(s!=null){var l=r[s];ht(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=n,l.existing=e[s],a[i]=null}}})}function Um(r,e){T(e,function(t,a){if(!(!t||t.name==null))for(var n=0;n<r.length;n++){var i=r[n].existing;if(!r[n].newOption&&i&&(i.id==null||t.id==null)&&!cn(t)&&!cn(i)&&ad("name",i,t)){r[n].newOption=t,e[a]=null;return}}})}function Ym(r,e,t){T(e,function(a){if(a){for(var n,i=0;(n=r[i])&&(n.newOption||cn(n.existing)||n.existing&&a.id!=null&&!ad("id",a,n.existing));)i++;n?(n.newOption=a,n.brandNew=t):r.push({newOption:a,brandNew:t,existing:null,keyInfo:null}),i++}})}function Xm(r,e){T(e,function(t){r.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function Zm(r){var e=ee();T(r,function(t){var a=t.existing;a&&e.set(a.id,t)}),T(r,function(t){var a=t.newOption;ht(!a||a.id==null||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&a.id!=null&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),T(r,function(t,a){var n=t.existing,i=t.newOption,o=t.keyInfo;if(K(i)){if(o.name=i.name!=null?Ja(i.name):n?n.name:rd+a,n)o.id=Ja(n.id);else if(i.id!=null)o.id=Ja(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(e.get(o.id))}e.set(o.id,t)}})}function ad(r,e,t){var a=rt(e[r],null),n=rt(t[r],null);return a!=null&&n!=null&&a===n}function Ja(r){return rt(r,"")}function rt(r,e){return r==null?e:Z(r)?r:oe(r)||Bs(r)?r+"":e}function $l(r){var e=r.name;return!!(e&&e.indexOf(rd))}function cn(r){return r&&r.id!=null&&Ja(r.id).indexOf(zm)===0}function $m(r,e,t){T(r,function(a){var n=a.newOption;K(n)&&(a.keyInfo.mainType=e,a.keyInfo.subType=Km(e,n,a.existing,t))})}function Km(r,e,t,a){var n=e.type?e.type:t?t.subType:a.determineSubType(r,e);return n}function qm(r,e){var t={},a={};return n(r||[],t),n(e||[],a,t),[i(t),i(a)];function n(o,s,l){for(var u=0,f=o.length;u<f;u++){var c=rt(o[u].seriesId,null);if(c==null)return;for(var h=De(o[u].dataIndex),v=l&&l[c],d=0,p=h.length;d<p;d++){var y=h[d];v&&v[y]?v[y]=null:(s[c]||(s[c]={}))[y]=1}}}function i(o,s){var l=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(s)l.push(+u);else{var f=i(o[u],!0);f.length&&l.push({seriesId:u,dataIndex:f})}return l}}function Lr(r,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return N(e.dataIndex)?X(e.dataIndex,function(t){return r.indexOfRawIndex(t)}):r.indexOfRawIndex(e.dataIndex);if(e.name!=null)return N(e.name)?X(e.name,function(t){return r.indexOfName(t)}):r.indexOfName(e.name)}function ne(){var r="__ec_inner_"+jm++;return function(e){return e[r]||(e[r]={})}}var jm=Jh();function Ro(r,e,t){var a=Kl(e,t),n=a.mainTypeSpecified,i=a.queryOptionMap,o=a.others,s=o,l=t?t.defaultMainType:null;return!n&&l&&i.set(l,{}),i.each(function(u,f){var c=Sa(r,f,u,{useDefault:l===f,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});s[f+"Models"]=c.models,s[f+"Model"]=c.models[0]}),s}function Kl(r,e){var t;if(Z(r)){var a={};a[r+"Index"]=0,t=a}else t=r;var n=ee(),i={},o=!1;return T(t,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||e&&e.includeMainTypes&&fe(e.includeMainTypes,f)<0)){o=o||!!f;var h=n.get(f)||n.set(f,{});h[c]=s}}),{mainTypeSpecified:o,queryOptionMap:n,others:i}}var Ze={useDefault:!0,enableAll:!1,enableNone:!1};function Sa(r,e,t,a){a=a||Ze;var n=t.index,i=t.id,o=t.name,s={models:null,specified:n!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=a.useDefault&&(l=r.getComponent(e))?[l]:[],s}if(n==="none"||n===!1){if(a.enableNone)return s.models=[],s;n=-1}return n==="all"&&(a.enableAll?n=i=o=null:n=-1),s.models=r.queryComponents({mainType:e,index:n,id:i,name:o}),s}function nd(r,e,t){r.setAttribute?r.setAttribute(e,t):r[e]=t}function Qm(r,e){return r.getAttribute?r.getAttribute(e):r[e]}function Jm(r){return r==="auto"?be.domSupported?"html":"richText":r||"html"}function id(r,e,t,a,n){var i=e==null||e==="auto";if(a==null)return a;if(oe(a)){var o=yf(t||0,a,n);return ke(o,i?Math.max(Pt(t||0),Pt(a)):e)}else{if(Z(a))return n<1?t:a;for(var s=[],l=t,u=a,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]=(n<1&&l?l:u)[c];else{var v=l&&l[c]?l[c]:0,d=u[c],o=yf(v,d,n);s[c]=ke(o,i?Math.max(Pt(v),Pt(d)):e)}}return s}}var e0=".",vr="___EC__COMPONENT__CONTAINER___",od="___EC__EXTENDED_CLASS___";function wt(r){var e={main:"",sub:""};if(r){var t=r.split(e0);e.main=t[0]||"",e.sub=t[1]||""}return e}function t0(r){ht(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function r0(r){return!!(r&&r[od])}function ql(r,e){r.$constructor=r,r.extend=function(t){var a=this,n;return a0(a)?n=(function(i){U(o,i);function o(){return i.apply(this,arguments)||this}return o})(a):(n=function(){(t.$constructor||a).apply(this,arguments)},$y(n,this)),F(n.prototype,t),n[od]=!0,n.extend=this.extend,n.superCall=o0,n.superApply=s0,n.superClass=a,n}}function a0(r){return Q(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function sd(r,e){r.extend=e.extend}var n0=Math.round(Math.random()*10);function i0(r){var e=["__\0is_clz",n0++].join("_");r.prototype[e]=!0,r.isInstance=function(t){return!!(t&&t[e])}}function o0(r,e){for(var t=[],a=2;a<arguments.length;a++)t[a-2]=arguments[a];return this.superClass.prototype[e].apply(r,t)}function s0(r,e,t){return this.superClass.prototype[e].apply(r,t)}function fo(r){var e={};r.registerClass=function(a){var n=a.type||a.prototype.type;if(n){t0(n),a.prototype.type=n;var i=wt(n);if(!i.sub)e[i.main]=a;else if(i.sub!==vr){var o=t(i);o[i.sub]=a}}return a},r.getClass=function(a,n,i){var o=e[a];if(o&&o[vr]&&(o=n?o[n]:null),i&&!o)throw new Error(n?"Component "+a+"."+(n||"")+" is used but not imported.":a+".type should be specified.");return o},r.getClassesByMainType=function(a){var n=wt(a),i=[],o=e[n.main];return o&&o[vr]?T(o,function(s,l){l!==vr&&i.push(s)}):i.push(o),i},r.hasClass=function(a){var n=wt(a);return!!e[n.main]},r.getAllClassMainTypes=function(){var a=[];return T(e,function(n,i){a.push(i)}),a},r.hasSubTypes=function(a){var n=wt(a),i=e[n.main];return i&&i[vr]};function t(a){var n=e[a.main];return(!n||!n[vr])&&(n=e[a.main]={},n[vr]=!0),n}}function vn(r,e){for(var t=0;t<r.length;t++)r[t][1]||(r[t][1]=r[t][0]);return e=e||!1,function(a,n,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(n&&fe(n,l)>=0||i&&fe(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var l0=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],u0=vn(l0),f0=(function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return u0(this,e,t)},r})(),te=ne(),c0=function(r,e,t,a){if(a){var n=te(a);n.dataIndex=t,n.dataType=e,n.seriesIndex=r,n.ssrType="chart",a.type==="group"&&a.traverse(function(i){var o=te(i);o.seriesIndex=r,o.dataIndex=t,o.dataType=e,o.ssrType="chart"})}},_f=1,Sf={},ld=ne(),jl=ne(),Ql=0,co=1,vo=2,Xe=["emphasis","blur","select"],Vi=["normal","emphasis","blur","select"],v0=10,h0=9,Cr="highlight",bi="downplay",zi="select",Hs="unselect",Gi="toggleSelect",Jl="selectchanged";function Hr(r){return r!=null&&r!=="none"}function ho(r,e,t){r.onHoverStateChange&&(r.hoverState||0)!==t&&r.onHoverStateChange(e),r.hoverState=t}function ud(r){ho(r,"emphasis",vo)}function fd(r){r.hoverState===vo&&ho(r,"normal",Ql)}function eu(r){ho(r,"blur",co)}function cd(r){r.hoverState===co&&ho(r,"normal",Ql)}function d0(r){r.selected=!0}function p0(r){r.selected=!1}function xf(r,e,t){e(r,t)}function Ft(r,e,t){xf(r,e,t),r.isGroup&&r.traverse(function(a){xf(a,e,t)})}function bf(r,e){switch(e){case"emphasis":r.hoverState=vo;break;case"normal":r.hoverState=Ql;break;case"blur":r.hoverState=co;break;case"select":r.selected=!0}}function g0(r,e,t,a){for(var n=r.style,i={},o=0;o<e.length;o++){var s=e[o],l=n[s];i[s]=l??(a&&a[s])}for(var o=0;o<r.animators.length;o++){var u=r.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(t)<0&&u.targetName==="style"&&u.saveTo(i,e)}return i}function y0(r,e,t,a){var n=t&&fe(t,"select")>=0,i=!1;if(r instanceof Be){var o=ld(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(Hr(s)||Hr(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=F({},a),u=F({},u),u.fill=s):!Hr(u.fill)&&Hr(s)?(i=!0,a=F({},a),u=F({},u),u.fill=nf(s)):!Hr(u.stroke)&&Hr(l)&&(i||(a=F({},a),u=F({},u)),u.stroke=nf(l)),a.style=u}}if(a&&a.z2==null){i||(a=F({},a));var f=r.z2EmphasisLift;a.z2=r.z2+(f??v0)}return a}function m0(r,e,t){if(t&&t.z2==null){t=F({},t);var a=r.z2SelectLift;t.z2=r.z2+(a??h0)}return t}function _0(r,e,t){var a=fe(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:g0(r,["opacity"],e,{opacity:1});t=t||{};var o=t.style||{};return o.opacity==null&&(t=F({},t),o=F({opacity:a?n:i.opacity*.1},o),t.style=o),t}function Eo(r,e){var t=this.states[r];if(this.style){if(r==="emphasis")return y0(this,r,e,t);if(r==="blur")return _0(this,r,t);if(r==="select")return m0(this,r,t)}return t}function vd(r){r.stateProxy=Eo;var e=r.getTextContent(),t=r.getTextGuideLine();e&&(e.stateProxy=Eo),t&&(t.stateProxy=Eo)}function wf(r,e){!gd(r,e)&&!r.__highByOuter&&Ft(r,ud)}function Tf(r,e){!gd(r,e)&&!r.__highByOuter&&Ft(r,fd)}function hn(r,e){r.__highByOuter|=1<<(e||0),Ft(r,ud)}function dn(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&Ft(r,fd)}function S0(r){Ft(r,eu)}function hd(r){Ft(r,cd)}function dd(r){Ft(r,d0)}function pd(r){Ft(r,p0)}function gd(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function yd(r){var e=r.getModel(),t=[],a=[];e.eachComponent(function(n,i){var o=jl(i),s=n==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){cd(u)}),s&&t.push(i)),o.isBlured=!1}),T(a,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function Ws(r,e,t,a){var n=a.getModel();t=t||"coordinateSystem";function i(u,f){for(var c=0;c<f.length;c++){var h=u.getItemGraphicEl(f[c]);h&&hd(h)}}if(r!=null&&!(!e||e==="none")){var o=n.getSeriesByIndex(r),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];n.eachSeries(function(u){var f=o===u,c=u.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&s?c===s:f;if(!(t==="series"&&!f||t==="coordinateSystem"&&!h||e==="series"&&f)){var v=a.getViewOfSeriesModel(u);if(v.group.traverse(function(y){y.__highByOuter&&f&&e==="self"||eu(y)}),Rn(e))i(u.getData(),e);else if(K(e))for(var d=Le(e),p=0;p<d.length;p++)i(u.getData(d[p]),e[d[p]]);l.push(u),jl(u).isBlured=!0}}),n.eachComponent(function(u,f){if(u!=="series"){var c=a.getViewOfComponentModel(f);c&&c.toggleBlurSeries&&c.toggleBlurSeries(l,!0,n)}})}}function Us(r,e,t){if(!(r==null||e==null)){var a=t.getModel().getComponent(r,e);if(a){jl(a).isBlured=!0;var n=t.getViewOfComponentModel(a);!n||!n.focusBlurEnabled||n.group.traverse(function(i){eu(i)})}}}function x0(r,e,t){var a=r.seriesIndex,n=r.getData(e.dataType);if(n){var i=Lr(n,e);i=(N(i)?i[0]:i)||0;var o=n.getItemGraphicEl(i);if(!o)for(var s=n.count(),l=0;!o&&l<s;)o=n.getItemGraphicEl(l++);if(o){var u=te(o);Ws(a,u.focus,u.blurScope,t)}else{var f=r.get(["emphasis","focus"]),c=r.get(["emphasis","blurScope"]);f!=null&&Ws(a,f,c,t)}}}function tu(r,e,t,a){var n={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||e==null||t==null)return n;var i=a.getModel().getComponent(r,e);if(!i)return n;var o=a.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return n;for(var s=o.findHighDownDispatchers(t),l,u=0;u<s.length;u++)if(te(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function b0(r,e,t){var a=te(r),n=tu(a.componentMainType,a.componentIndex,a.componentHighDownName,t),i=n.dispatchers,o=n.focusSelf;i?(o&&Us(a.componentMainType,a.componentIndex,t),T(i,function(s){return wf(s,e)})):(Ws(a.seriesIndex,a.focus,a.blurScope,t),a.focus==="self"&&Us(a.componentMainType,a.componentIndex,t),wf(r,e))}function w0(r,e,t){yd(t);var a=te(r),n=tu(a.componentMainType,a.componentIndex,a.componentHighDownName,t).dispatchers;n?T(n,function(i){return Tf(i,e)}):Tf(r,e)}function T0(r,e,t){if(Zs(e)){var a=e.dataType,n=r.getData(a),i=Lr(n,e);N(i)||(i=[i]),r[e.type===Gi?"toggleSelect":e.type===zi?"select":"unselect"](i,a)}}function Cf(r){var e=r.getAllData();T(e,function(t){var a=t.data,n=t.type;a.eachItemGraphicEl(function(i,o){r.isSelected(o,n)?dd(i):pd(i)})})}function C0(r){var e=[];return r.eachSeries(function(t){var a=t.getAllData();T(a,function(n){n.data;var i=n.type,o=t.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:t.seriesIndex};i!=null&&(s.dataType=i),e.push(s)}})}),e}function Ys(r,e,t){ru(r,!0),Ft(r,vd),D0(r,e,t)}function M0(r){ru(r,!1)}function Vt(r,e,t,a){a?M0(r):Ys(r,e,t)}function D0(r,e,t){var a=te(r);e!=null?(a.focus=e,a.blurScope=t):a.focus&&(a.focus=null)}var Mf=["emphasis","blur","select"],A0={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function da(r,e,t,a){t=t||"itemStyle";for(var n=0;n<Mf.length;n++){var i=Mf[n],o=e.getModel([i,t]),s=r.ensureState(i);s.style=o[A0[t]]()}}function ru(r,e){var t=e===!1,a=r;r.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!t||a.__highDownDispatcher)&&(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!t)}function Xs(r){return!!(r&&r.__highDownDispatcher)}function L0(r){var e=Sf[r];return e==null&&_f<=32&&(e=Sf[r]=_f++),e}function Zs(r){var e=r.type;return e===zi||e===Hs||e===Gi}function Df(r){var e=r.type;return e===Cr||e===bi}function I0(r){var e=ld(r);e.normalFill=r.style.fill,e.normalStroke=r.style.stroke;var t=r.states.select||{};e.selectFill=t.style&&t.style.fill||null,e.selectStroke=t.style&&t.style.stroke||null}var k0=ne();function au(r,e,t,a,n){var i;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();i=o&&o.animation}var s=e&&e.isAnimationEnabled(),l=r==="update";if(s){var u=void 0,f=void 0,c=void 0;a?(u=j(a.duration,200),f=j(a.easing,"cubicOut"),c=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),f=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(f=i.easing),i.delay!=null&&(c=i.delay)),Q(c)&&(c=c(t,n)),Q(u)&&(u=u(t));var h={duration:u||0,delay:c,easing:f};return h}else return null}function nu(r,e,t,a,n,i,o){var s=!1,l;Q(n)?(o=i,i=n,n=null):K(n)&&(i=n.cb,o=n.during,s=n.isFrom,l=n.removeOpt,n=n.dataIndex);var u=r==="leave";u||e.stopAnimation("leave");var f=au(r,a,n,u?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(e,n):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?e.animateFrom(t,d):e.animateTo(t,d)}else e.stopAnimation(),!s&&e.attr(t),o&&o(1),i&&i()}function Se(r,e,t,a,n,i){nu("update",r,e,t,a,n,i)}function Pe(r,e,t,a,n,i){nu("enter",r,e,t,a,n,i)}function la(r){if(!r.__zr)return!0;for(var e=0;e<r.animators.length;e++){var t=r.animators[e];if(t.scope==="leave")return!0}return!1}function Fi(r,e,t,a,n,i){la(r)||nu("leave",r,e,t,a,n,i)}function Af(r,e,t,a){r.removeTextContent(),r.removeTextGuideLine(),Fi(r,{style:{opacity:0}},e,t,a)}function en(r,e,t){function a(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(n){n.isGroup||Af(n,e,t,a)}):Af(r,e,t,a)}function pn(r){k0(r).oldStyle=r.style}var $s={},Jt=["x","y"],pa=["width","height"];function P0(r){return Be.extend(r)}var R0=em;function E0(r,e){return R0(r,e)}function yt(r,e){$s[r]=e}function Ks(r){if($s.hasOwnProperty(r))return $s[r]}function gn(r,e,t,a){var n=jy(r,e);return t&&(a==="center"&&(t=_d(t,n.getBoundingRect())),Sd(n,t)),n}function md(r,e,t){var a=new Gt({style:{image:r,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(t==="center"){var i={width:n.width,height:n.height};a.setStyle(_d(e,i))}}});return a}function _d(r,e){var t=e.width/e.height,a=r.height*t,n;a<=r.width?n=r.height:(a=r.width,n=a/t);var i=r.x+r.width/2,o=r.y+r.height/2;return{x:i-a/2,y:o-n/2,width:a,height:n}}var qs=Ky;function Sd(r,e){if(r.applyTransform){var t=r.getBoundingRect(),a=t.calculateTransform(e);r.applyTransform(a)}}function yn(r,e){return Qy(r,r,{lineWidth:e}),r}function O0(r,e){return Jy(r,r,e),r}var N0=qy;function wi(r,e){for(var t=Nh([]);r&&r!==e;)Bh(t,r.getLocalTransform(),t),r=r.parent;return t}function ua(r,e,t){return e&&!Rn(e)&&(e=aa.getLocalTransform(e)),t&&(e=En([],e)),Ct([],r,e)}function xd(r,e,t){var a=e[4]===0||e[5]===0||e[0]===0?1:bt(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:bt(2*e[4]/e[2]),i=[r==="left"?-a:r==="right"?a:0,r==="top"?-n:r==="bottom"?n:0];return i=ua(i,e,t),bt(i[0])>bt(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function Lf(r){return!r.isGroup}function B0(r){return r.shape!=null}function bd(r,e,t){if(!r||!e)return;function a(o){var s={};return o.traverse(function(l){Lf(l)&&l.anid&&(s[l.anid]=l)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return B0(o)&&(s.shape=q(o.shape)),s}var i=a(r);e.traverse(function(o){if(Lf(o)&&o.anid){var s=i[o.anid];if(s){var l=n(o);o.attr(n(s)),Se(o,l,t,te(o).dataIndex)}}})}function V0(r,e){return X(r,function(t){var a=t[0];a=$e(a,e.x),a=fn(a,e.x+e.width);var n=t[1];return n=$e(n,e.y),n=fn(n,e.y+e.height),[a,n]})}function z0(r,e){var t=$e(r.x,e.x),a=fn(r.x+r.width,e.x+e.width),n=$e(r.y,e.y),i=fn(r.y+r.height,e.y+e.height);if(a>=t&&i>=n)return{x:t,y:n,width:a-t,height:i-n}}function iu(r,e,t){var a=F({rectHover:!0},e),n=a.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(n.image=r.slice(8),ae(n,t),new Gt(a)):gn(r.replace("path://",""),a,t,"center")}function G0(r,e,t,a,n){for(var i=0,o=n[n.length-1];i<n.length;i++){var s=n[i];if(wd(r,e,t,a,s[0],s[1],o[0],o[1]))return!0;o=s}}function wd(r,e,t,a,n,i,o,s){var l=t-r,u=a-e,f=o-n,c=s-i,h=Oo(f,c,l,u);if(F0(h))return!1;var v=r-n,d=e-i,p=Oo(v,d,l,u)/h;if(p<0||p>1)return!1;var y=Oo(v,d,f,c)/h;return!(y<0||y>1)}function Oo(r,e,t,a){return r*a-t*e}function F0(r){return r<=1e-6&&r>=-1e-6}function mn(r,e,t,a,n){return e==null||(oe(e)?ce[0]=ce[1]=ce[2]=ce[3]=e:(ce[0]=e[0],ce[1]=e[1],ce[2]=e[2],ce[3]=e[3]),a&&(ce[0]=$e(0,ce[0]),ce[1]=$e(0,ce[1]),ce[2]=$e(0,ce[2]),ce[3]=$e(0,ce[3])),t&&(ce[0]=-ce[0],ce[1]=-ce[1],ce[2]=-ce[2],ce[3]=-ce[3]),If(r,ce,"x","width",3,1,n&&n[0]||0),If(r,ce,"y","height",0,2,n&&n[1]||0)),r}var ce=[0,0,0,0];function If(r,e,t,a,n,i,o){var s=e[i]+e[n],l=r[a];r[a]+=s,o=$e(0,fn(o,l)),r[a]<o?(r[a]=o,r[t]+=e[n]>=0?-e[n]:e[i]>=0?l+e[i]:bt(s)>1e-8?(l-o)*e[n]/s:0):r[t]-=e[n]}function po(r){var e=r.itemTooltipOption,t=r.componentModel,a=r.itemName,n=Z(e)?{formatter:e}:e,i=t.mainType,o=t.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&T(Le(l),function(f){G(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=te(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:a,option:ae({content:a,encodeHTMLContent:!0,formatterParams:s},n)}}function js(r,e){var t;r.isGroup&&(t=e(r)),t||r.traverse(e)}function Or(r,e){if(r)if(N(r))for(var t=0;t<r.length;t++)js(r[t],e);else js(r,e)}function ou(r){return!r||bt(r[1])<Zn&&bt(r[2])<Zn||bt(r[0])<Zn&&bt(r[3])<Zn}var Zn=1e-5;function _n(r,e){return r?Me.copy(r,e):e.clone()}function su(r,e){return e?Vh(r||On(),e):void 0}function Sn(r){return{z:r.get("z")||0,zlevel:r.get("zlevel")||0}}function H0(r){var e=-1/0,t=1/0;js(r,function(i){a(i),a(i.getTextContent()),a(i.getTextGuideLine())});function a(i){if(!(!i||i.isGroup)){var o=i.currentStates;if(o.length)for(var s=0;s<o.length;s++)n(i.states[o[s]]);n(i)}}function n(i){if(i){var o=i.z2;o>e&&(e=o),o<t&&(t=o)}}return t>e&&(t=e=0),{min:t,max:e}}function Td(r,e,t){Cd(r,e,t,-1/0)}function Cd(r,e,t,a){if(r.ignoreModelZ)return a;var n=r.getTextContent(),i=r.getTextGuideLine(),o=r.isGroup;if(o)for(var s=r.childrenRef(),l=0;l<s.length;l++)a=$e(Cd(s[l],e,t,a),a);else r.z=e,r.zlevel=t,a=$e(r.z2||0,a);if(n&&(n.z=e,n.zlevel=t,isFinite(a)&&(n.z2=a+2)),i){var u=r.textGuideLineConfig;i.z=e,i.zlevel=t,isFinite(a)&&(i.z2=a+(u&&u.showAbove?1:-1))}return a}yt("circle",uo);yt("ellipse",zh);yt("sector",kr);yt("ring",Wl);yt("polygon",Nn);yt("polyline",Pr);yt("rect",ve);yt("line",nr);yt("bezierCurve",Ul);yt("arc",Yl);const Md=Object.freeze(Object.defineProperty({__proto__:null,Arc:Yl,BezierCurve:Ul,BoundingRect:Me,Circle:uo,CompoundPath:Gh,Ellipse:zh,Group:le,Image:Gt,IncrementalDisplayable:tm,Line:nr,LinearGradient:Xl,OrientedBoundingRect:Fh,Path:Be,Point:ge,Polygon:Nn,Polyline:Pr,RadialGradient:rm,Rect:ve,Ring:Wl,Sector:kr,Text:de,WH:pa,XY:Jt,applyTransform:ua,calcZ2Range:H0,clipPointsByRect:V0,clipRectByRect:z0,createIcon:iu,ensureCopyRect:_n,ensureCopyTransform:su,expandOrShrinkRect:mn,extendPath:E0,extendShape:P0,getShapeClass:Ks,getTransform:wi,groupTransition:bd,initProps:Pe,isBoundingRectAxisAligned:ou,isElementRemoved:la,lineLineIntersect:wd,linePolygonIntersect:G0,makeImage:md,makePath:gn,mergePath:qs,registerShape:yt,removeElement:Fi,removeElementWithFadeOut:en,resizePath:Sd,retrieveZInfo:Sn,setTooltipConfig:po,subPixelOptimize:N0,subPixelOptimizeLine:yn,subPixelOptimizeRect:O0,transformDirection:xd,traverseElements:Or,traverseUpdateZ:Td,updateProps:Se},Symbol.toStringTag,{value:"Module"}));var go={};function Dd(r,e){for(var t=0;t<Xe.length;t++){var a=Xe[t],n=e[a],i=r.ensureState(a);i.style=i.style||{},i.style.text=n}var o=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:e.normal}),r.useStates(o,!0)}function Qs(r,e,t){var a=r.labelFetcher,n=r.labelDataIndex,i=r.labelDimIndex,o=e.normal,s;a&&(s=a.getFormattedLabel(n,"normal",null,i,o&&o.get("formatter"),t!=null?{interpolatedValue:t}:null)),s==null&&(s=Q(r.defaultText)?r.defaultText(n,r,t):r.defaultText);for(var l={normal:s},u=0;u<Xe.length;u++){var f=Xe[u],c=e[f];l[f]=j(a?a.getFormattedLabel(n,f,null,i,c&&c.get("formatter")):null,s)}return l}function ur(r,e,t,a){t=t||go;for(var n=r instanceof de,i=!1,o=0;o<Vi.length;o++){var s=e[Vi[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=n?r:r.getTextContent();if(i){n||(l||(l=new de,r.setTextContent(l)),r.stateProxy&&(l.stateProxy=r.stateProxy));var u=Qs(t,e),f=e.normal,c=!!f.getShallow("show"),h=Ae(f,a&&a.normal,t,!1,!n);h.text=u.normal,n||r.setTextConfig(Hi(f,t,!1));for(var o=0;o<Xe.length;o++){var v=Xe[o],s=e[v];if(s){var d=l.ensureState(v),p=!!j(s.getShallow("show"),c);if(p!==c&&(d.ignore=!p),d.style=Ae(s,a&&a[v],t,!0,!n),d.style.text=u[v],!n){var y=r.ensureState(v);y.textConfig=Hi(s,t,!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(),t.enableTextSetter&&(xa(l).setLabelText=function(g){var m=Qs(t,e,g);Dd(l,m)})}else l&&(l.ignore=!0);r.dirty()}function Mt(r,e){e=e||"label";for(var t={normal:r.getModel(e)},a=0;a<Xe.length;a++){var n=Xe[a];t[n]=r.getModel([n,e])}return t}function Ae(r,e,t,a,n){var i={};return W0(i,r,t,a,n),e&&F(i,e),i}function Hi(r,e,t){e=e||{};var a={},n,i=r.getShallow("rotate"),o=j(r.getShallow("distance"),t?null:5),s=r.getShallow("offset");return n=r.getShallow("position")||(t?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(a.position=n),s!=null&&(a.offset=s),i!=null&&(i*=Math.PI/180,a.rotation=i),o!=null&&(a.distance=o),a.outsideFill=r.get("color")==="inherit"?e.inheritColor||null:"auto",e.autoOverflowArea!=null&&(a.autoOverflowArea=e.autoOverflowArea),e.layoutRect!=null&&(a.layoutRect=e.layoutRect),a}function W0(r,e,t,a,n){t=t||go;var i=e.ecModel,o=i&&i.option.textStyle,s=U0(e),l;if(s){l={};var u="richInheritPlainLabel",f=j(e.get(u),i?i.get(u):void 0);for(var c in s)if(s.hasOwnProperty(c)){var h=e.getModel(["rich",c]);Ef(l[c]={},h,o,e,f,t,a,n,!1,!0)}}l&&(r.rich=l);var v=e.get("overflow");v&&(r.overflow=v);var d=e.get("lineOverflow");d&&(r.lineOverflow=d);var p=r,y=e.get("minMargin");if(y!=null)y=oe(y)?y/2:0,p.margin=[y,y,y,y],p.__marginType=ia.minMargin;else{var g=e.get("textMargin");g!=null&&(p.margin=Hh(g),p.__marginType=ia.textMargin)}Ef(r,e,o,null,null,t,a,n,!0,!1)}function U0(r){for(var e;r&&r!==r.ecModel;){var t=(r.option||go).rich;if(t){e=e||{};for(var a=Le(t),n=0;n<a.length;n++){var i=a[n];e[i]=1}}r=r.parentModel}return e}var kf=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Pf=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Rf=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ef(r,e,t,a,n,i,o,s,l,u){t=!o&&t||go;var f=i&&i.inheritColor,c=e.getShallow("color"),h=e.getShallow("textBorderColor"),v=j(e.getShallow("opacity"),t.opacity);(c==="inherit"||c==="auto")&&(f?c=f:c=null),(h==="inherit"||h==="auto")&&(f?h=f:h=null),s||(c=c||t.color,h=h||t.textBorderColor),c!=null&&(r.fill=c),h!=null&&(r.stroke=h);var d=j(e.getShallow("textBorderWidth"),t.textBorderWidth);d!=null&&(r.lineWidth=d);var p=j(e.getShallow("textBorderType"),t.textBorderType);p!=null&&(r.lineDash=p);var y=j(e.getShallow("textBorderDashOffset"),t.textBorderDashOffset);y!=null&&(r.lineDashOffset=y),!o&&v==null&&!u&&(v=i&&i.defaultOpacity),v!=null&&(r.opacity=v),!o&&!s&&r.fill==null&&i.inheritColor&&(r.fill=i.inheritColor);for(var g=0;g<kf.length;g++){var m=kf[g],_=n!==!1&&a?Rr(e.getShallow(m),a.getShallow(m),t[m]):j(e.getShallow(m),t[m]);_!=null&&(r[m]=_)}for(var g=0;g<Pf.length;g++){var m=Pf[g],_=e.getShallow(m);_!=null&&(r[m]=_)}if(r.verticalAlign==null){var S=e.getShallow("baseline");S!=null&&(r.verticalAlign=S)}if(!l||!i.disableBox){for(var g=0;g<Rf.length;g++){var m=Rf[g],_=e.getShallow(m);_!=null&&(r[m]=_)}var b=e.getShallow("borderType");b!=null&&(r.borderDash=b),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&f&&(r.backgroundColor=f),(r.borderColor==="auto"||r.borderColor==="inherit")&&f&&(r.borderColor=f)}}function Ad(r,e){var t=e&&e.getModel("textStyle");return Bn([r.fontStyle||t&&t.getShallow("fontStyle")||"",r.fontWeight||t&&t.getShallow("fontWeight")||"",(r.fontSize||t&&t.getShallow("fontSize")||12)+"px",r.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "))}var xa=ne();function Y0(r,e,t,a){if(r){var n=xa(r);n.prevValue=n.value,n.value=t;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=a,n.statesModels=e)}}function X0(r,e,t,a,n){var i=xa(r);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,s=j(i.interpolatedValue,i.prevValue),l=i.value;function u(f){var c=id(t,i.precision,s,l,f);i.interpolatedValue=f===1?null:c;var h=Qs({labelDataIndex:e,labelFetcher:n,defaultText:o?o(c):c+""},i.statesModels,c);Dd(r,h)}r.percent=0,(i.prevValue==null?Pe:Se)(r,{percent:1},a,e,null,u)}var ia={minMargin:1,textMargin:2},Z0=["textStyle","color"],No=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Bo=new de,$0=(function(){function r(){}return r.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Z0):null)},r.prototype.getFont=function(){return Ad({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},a=0;a<No.length;a++)t[No[a]]=this.getShallow(No[a]);return Bo.useStyle(t),Bo.update(),Bo.getBoundingRect()},r})(),Ld=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],K0=vn(Ld),q0=(function(){function r(){}return r.prototype.getLineStyle=function(e){return K0(this,e)},r})(),Id=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],j0=vn(Id),Q0=(function(){function r(){}return r.prototype.getItemStyle=function(e,t){return j0(this,e,t)},r})(),he=(function(){function r(e,t,a){this.parentModel=t,this.ecModel=a,this.option=e}return r.prototype.init=function(e,t,a){},r.prototype.mergeOption=function(e,t){ue(this.option,e,!0)},r.prototype.get=function(e,t){return e==null?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},r.prototype.getShallow=function(e,t){var a=this.option,n=a==null?a:a[e];if(n==null&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},r.prototype.getModel=function(e,t){var a=e!=null,n=a?this.parsePath(e):null,i=a?this._doGet(n):this.option;return t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new r(i,t,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var e=this.constructor;return new e(q(this.option))},r.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},r.prototype.resolveParentPath=function(e){return e},r.prototype.isAnimationEnabled=function(){if(!be.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(e,t){var a=this.option;if(!e)return a;for(var n=0;n<e.length&&!(e[n]&&(a=a&&typeof a=="object"?a[e[n]]:null,a==null));n++);return a==null&&t&&(a=t._doGet(this.resolveParentPath(e),t.parentModel)),a},r})();ql(he);i0(he);gt(he,q0);gt(he,Q0);gt(he,f0);gt(he,$0);var J0=Math.round(Math.random()*10);function yo(r){return[r||"",J0++].join("_")}function e_(r){var e={};r.registerSubTypeDefaulter=function(t,a){var n=wt(t);e[n.main]=a},r.determineSubType=function(t,a){var n=a.type;if(!n){var i=wt(t).main;r.hasSubTypes(t)&&e[i]&&(n=e[i](a))}return n}}function t_(r,e){r.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=t(o),f=u.graph,c=u.noEntryList,h={};for(T(i,function(m){h[m]=!0});c.length;){var v=c.pop(),d=f[v],p=!!h[v];p&&(s.call(l,v,d.originalDeps.slice()),delete h[v]),T(d.successor,p?g:y)}T(h,function(){var m="";throw new Error(m)});function y(m){f[m].entryCount--,f[m].entryCount===0&&c.push(m)}function g(m){h[m]=!0,y(m)}};function t(i){var o={},s=[];return T(i,function(l){var u=a(o,l),f=u.originalDeps=e(l),c=n(f,i);u.entryCount=c.length,u.entryCount===0&&s.push(l),T(c,function(h){fe(u.predecessor,h)<0&&u.predecessor.push(h);var v=a(o,h);fe(v.successor,h)<0&&v.successor.push(l)})}),{graph:o,noEntryList:s}}function a(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function n(i,o){var s=[];return T(i,function(l){fe(o,l)>=0&&s.push(l)}),s}}function mo(r,e){return ue(ue({},r,!0),e,!0)}const r_={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:". "}}}},a_={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 Wi="ZH",lu="EN",fa=lu,Ti={},uu={},kd=be.domSupported?(function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||fa).toUpperCase();return r.indexOf(Wi)>-1?Wi:fa})():fa;function Pd(r,e){r=r.toUpperCase(),uu[r]=new he(e),Ti[r]=e}function n_(r){if(Z(r)){var e=Ti[r.toUpperCase()]||{};return r===Wi||r===lu?q(e):ue(q(e),q(Ti[fa]),!1)}else return ue(q(r),q(Ti[fa]),!1)}function Js(r){return uu[r]}function i_(){return uu[fa]}Pd(lu,r_);Pd(Wi,a_);var o_=null;function Ui(){return o_}var fu=1e3,cu=fu*60,tn=cu*60,tt=tn*24,Of=tt*365,s_={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},Ci={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},l_="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",$n="{yyyy}-{MM}-{dd}",Nf={year:"{yyyy}",month:"{yyyy}-{MM}",day:$n,hour:$n+" "+Ci.hour,minute:$n+" "+Ci.minute,second:$n+" "+Ci.second,millisecond:l_},Mr=["year","month","day","hour","minute","second","millisecond"],u_=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function f_(r){return!Z(r)&&!Q(r)?c_(r):r}function c_(r){r=r||{};var e={},t=!0;return T(Mr,function(a){t&&(t=r[a]==null)}),T(Mr,function(a,n){var i=r[a];e[a]={};for(var o=null,s=n;s>=0;s--){var l=Mr[s],u=K(i)&&!N(i)?i[l]:i,f=void 0;N(u)?(f=u.slice(),o=f[0]||""):Z(u)?(o=u,f=[o]):(o==null?o=Ci[a]:s_[l].test(o)||(o=e[l][l][0]+" "+o),f=[o],t&&(f[1]="{primary|"+o+"}")),e[a][l]=f}}),e}function Yt(r,e){return r+="","0000".substr(0,e-r.length)+r}function rn(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 v_(r){return r===rn(r)}function h_(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _o(r,e,t,a){var n=Er(r),i=n[Rd(t)](),o=n[vu(t)]()+1,s=Math.floor((o-1)/3)+1,l=n[hu(t)](),u=n["get"+(t?"UTC":"")+"Day"](),f=n[du(t)](),c=(f-1)%12+1,h=n[pu(t)](),v=n[gu(t)](),d=n[yu(t)](),p=f>=12?"pm":"am",y=p.toUpperCase(),g=a instanceof he?a:Js(a||kd)||i_(),m=g.getModel("time"),_=m.get("month"),S=m.get("monthAbbr"),b=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,p+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Yt(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,Yt(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Yt(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Yt(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Yt(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Yt(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Yt(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,Yt(d,3)).replace(/{S}/g,d+"")}function d_(r,e,t,a,n){var i=null;if(Z(t))i=t;else if(Q(t)){var o={time:r.time,level:r.time.level},s=Ui();s&&s.makeAxisLabelFormatterParamBreak(o,r.break),i=t(r.value,e,o)}else{var l=r.time;if(l){var u=t[l.lowerTimeUnit][l.upperTimeUnit];i=u[Math.min(l.level,u.length-1)]||""}else{var f=Yi(r.value,n);i=t[f][f][0]}}return _o(new Date(r.value),i,n,a)}function Yi(r,e){var t=Er(r),a=t[vu(e)]()+1,n=t[hu(e)](),i=t[du(e)](),o=t[pu(e)](),s=t[gu(e)](),l=t[yu(e)](),u=l===0,f=u&&s===0,c=f&&o===0,h=c&&i===0,v=h&&n===1,d=v&&a===1;return d?"year":v?"month":h?"day":c?"hour":f?"minute":u?"second":"millisecond"}function el(r,e,t){switch(e){case"year":r[Ed(t)](0);case"month":r[Od(t)](1);case"day":r[Nd(t)](0);case"hour":r[Bd(t)](0);case"minute":r[Vd(t)](0);case"second":r[zd(t)](0)}return r}function Rd(r){return r?"getUTCFullYear":"getFullYear"}function vu(r){return r?"getUTCMonth":"getMonth"}function hu(r){return r?"getUTCDate":"getDate"}function du(r){return r?"getUTCHours":"getHours"}function pu(r){return r?"getUTCMinutes":"getMinutes"}function gu(r){return r?"getUTCSeconds":"getSeconds"}function yu(r){return r?"getUTCMilliseconds":"getMilliseconds"}function p_(r){return r?"setUTCFullYear":"setFullYear"}function Ed(r){return r?"setUTCMonth":"setMonth"}function Od(r){return r?"setUTCDate":"setDate"}function Nd(r){return r?"setUTCHours":"setHours"}function Bd(r){return r?"setUTCMinutes":"setMinutes"}function Vd(r){return r?"setUTCSeconds":"setSeconds"}function zd(r){return r?"setUTCMilliseconds":"setMilliseconds"}function Gd(r){if(!Om(r))return Z(r)?r:"-";var e=(r+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Fd(r,e){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,a){return a.toUpperCase()}),e&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Fn=Hh;function tl(r,e,t){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&Bn(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=r instanceof Date;if(o||s){var l=o?Er(r):r;if(isNaN(+l)){if(s)return"-"}else return _o(l,a,t)}if(e==="ordinal")return Bs(r)?n(r):oe(r)&&i(r)?r+"":"-";var u=Ni(r);return i(u)?Gd(u):Bs(r)?n(r):typeof r=="boolean"?r+"":"-"}var Bf=["a","b","c","d","e","f","g"],Vo=function(r,e){return"{"+r+(e??"")+"}"};function Hd(r,e,t){N(e)||(e=[e]);var a=e.length;if(!a)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var o=Bf[i];r=r.replace(Vo(o),Vo(o,0))}for(var s=0;s<a;s++)for(var l=0;l<n.length;l++){var u=e[s][n[l]];r=r.replace(Vo(Bf[l],s),t?Ye(u):u)}return r}function g_(r,e,t){return T(e,function(a,n){r=r.replace("{"+n+"}",a)}),r}function y_(r,e){var t=Z(r)?{color:r,extraCssText:e}:r||{},a=t.color,n=t.type;e=t.extraCssText;var i=t.renderMode||"html";if(!a)return"";if(i==="html")return n==="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(a)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ye(a)+";"+(e||"")+'"></span>';var o=t.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function FD(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Ir(r,e){return e=e||"transparent",Z(r)?r:K(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function Vf(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var Mi={},zo={},Hn=(function(){function r(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return r.prototype.create=function(e,t){this._nonSeriesBoxMasterList=a(Mi),this._normalMasterList=a(zo);function a(n,i){var o=[];return T(n,function(s,l){var u=s.create(e,t);o=o.concat(u||[])}),o}},r.prototype.update=function(e,t){T(this._normalMasterList,function(a){a.update&&a.update(e,t)})},r.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},r.register=function(e,t){if(e==="matrix"||e==="calendar"){Mi[e]=t;return}zo[e]=t},r.get=function(e){return zo[e]||Mi[e]},r})();function m_(r){return!!Mi[r]}var rl={coord:1,coord2:2};function __(r){Wd.set(r.fullType,{getCoord2:void 0}).getCoord2=r.getCoord2}var Wd=ee();function S_(r){var e=r.getShallow("coord",!0),t=rl.coord;if(e==null){var a=Wd.get(r.type);a&&a.getCoord2&&(t=rl.coord2,e=a.getCoord2(r))}return{coord:e,from:t}}var kt={none:0,dataCoordSys:1,boxCoordSys:2};function x_(r,e){var t=r.getShallow("coordinateSystem"),a=r.getShallow("coordinateSystemUsage",!0),n=kt.none;if(t){var i=r.mainType==="series";a==null&&(a=i?"data":"box"),a==="data"?(n=kt.dataCoordSys,i||(n=kt.none)):a==="box"&&(n=kt.boxCoordSys,!i&&!m_(t)&&(n=kt.none))}return{coordSysType:t,kind:n}}function mu(r){var e=r.targetModel,t=r.coordSysType,a=r.coordSysProvider,n=r.isDefaultDataCoordSys;r.allowNotFound;var i=x_(e),o=i.kind,s=i.coordSysType;if(n&&o!==kt.dataCoordSys&&(o=kt.dataCoordSys,s=t),o===kt.none||s!==t)return!1;var l=a(t,e);return l?(o===kt.dataCoordSys?e.coordinateSystem=l:e.boxCoordinateSystem=l,!0):!1}var b_=function(r,e){var t=e.getReferringComponents(r,Ze).models[0];return t&&t.coordinateSystem},Di=T,w_=["left","right","top","bottom","width","height"],wr=[["width","left","right"],["height","top","bottom"]];function _u(r,e,t,a,n){var i=0,o=0;a==null&&(a=1/0),n==null&&(n=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),c=e.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>a||l.newline?(i=0,v=p,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var y=f.height+(h?-h.y+f.y:0);d=o+y,d>n||l.newline?(i+=s+t,o=0,d=y,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=v+t:o=d+t)})}var ca=_u;ye(_u,"vertical");ye(_u,"horizontal");function T_(r,e){return{left:r.getShallow("left",e),top:r.getShallow("top",e),right:r.getShallow("right",e),bottom:r.getShallow("bottom",e),width:r.getShallow("width",e),height:r.getShallow("height",e)}}function C_(r,e){var t=Nr(r,e,{enableLayoutOnlyByCenter:!0}),a=r.getBoxLayoutParams(),n,i;if(t.type===Xa.point)i=t.refPoint,n=qe(a,{width:e.getWidth(),height:e.getHeight()});else{var o=r.get("center"),s=N(o)?o:[o,o];n=qe(a,t.refContainer),i=t.boxCoordFrom===rl.coord2?t.refPoint:[re(s[0],n.width)+n.x,re(s[1],n.height)+n.y]}return{viewRect:n,center:i}}function M_(r,e){var t=C_(r,e),a=t.viewRect,n=t.center,i=r.get("radius");N(i)||(i=[0,i]);var o=re(a.width,e.getWidth()),s=re(a.height,e.getHeight()),l=Math.min(o,s),u=re(i[0],l/2),f=re(i[1],l/2);return{cx:n[0],cy:n[1],r0:u,r:f,viewRect:a}}function qe(r,e,t){t=Fn(t||0);var a=e.width,n=e.height,i=re(r.left,a),o=re(r.top,n),s=re(r.right,a),l=re(r.bottom,n),u=re(r.width,a),f=re(r.height,n),c=t[2]+t[0],h=t[1]+t[3],v=r.aspect;switch(isNaN(u)&&(u=a-s-h-i),isNaN(f)&&(f=n-l-c-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(i)&&(i=a-s-u-h),isNaN(o)&&(o=n-l-f-c),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-h;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-c;break}i=i||0,o=o||0,isNaN(u)&&(u=a-h-i-(s||0)),isNaN(f)&&(f=n-c-o-(l||0));var d=new Me((e.x||0)+i+t[3],(e.y||0)+o+t[0],u,f);return d.margin=t,d}function D_(r,e,t){var a=r.getShallow("preserveAspect",!0);if(!a)return e;var n=e.width/e.height;if(Math.abs(Math.atan(t)-Math.atan(n))<1e-9)return e;var i=r.getShallow("preserveAspectAlign",!0),o=r.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},l=a==="cover";return n>t&&!l||n<t&&l?(s.width=e.height*t,i==="left"?s.left=0:i==="right"?s.right=0:s.left="center"):(s.height=e.width/t,o==="top"?s.top=0:o==="bottom"?s.bottom=0:s.top="middle"),qe(s,e)}var Xa={rect:1,point:2};function Nr(r,e,t){var a,n,i,o=r.boxCoordinateSystem,s;if(o){var l=S_(r),u=l.coord,f=l.from;if(o.dataToLayout){i=Xa.rect,s=f;var c=o.dataToLayout(u);a=c.contentRect||c.rect}else t&&t.enableLayoutOnlyByCenter&&o.dataToPoint&&(i=Xa.point,s=f,n=o.dataToPoint(u))}return i==null&&(i=Xa.rect),i===Xa.rect&&(a||(a={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),n=[a.x+a.width/2,a.y+a.height/2]),{type:i,refContainer:a,refPoint:n,boxCoordFrom:s}}function A_(r,e,t,a,n,i){i=i||r,i.x=r.x,i.y=r.y;var o;if(o=r.getBoundingRect(),r.needLocalTransform()){var s=r.getLocalTransform();o=o.clone(),o.applyTransform(s)}var l=qe(ae({width:o.width,height:o.height},e),t,a),u=l.x-o.x,f=l.y-o.y;return i.x+=u,i.y+=f,i===r&&r.markRedraw(),!0}function L_(r,e){return r[wr[e][0]]!=null||r[wr[e][1]]!=null&&r[wr[e][2]]!=null}function xn(r){var e=r.layoutMode||r.constructor.layoutMode;return K(e)?e:e?{type:e}:null}function zt(r,e,t){var a=t&&t.ignoreSize;!N(a)&&(a=[a,a]);var n=o(wr[0],0),i=o(wr[1],1);l(wr[0],r,n),l(wr[1],r,i);function o(u,f){var c={},h=0,v={},d=0,p=2;if(Di(u,function(m){v[m]=r[m]}),Di(u,function(m){G(e,m)&&(c[m]=v[m]=e[m]),s(c,m)&&h++,s(v,m)&&d++}),a[f])return s(e,u[1])?v[u[2]]=null:s(e,u[2])&&(v[u[1]]=null),v;if(d===p||!h)return v;if(h>=p)return c;for(var y=0;y<u.length;y++){var g=u[y];if(!G(c,g)&&G(r,g)){c[g]=r[g];break}}return c}function s(u,f){return u[f]!=null&&u[f]!=="auto"}function l(u,f,c){Di(u,function(h){f[h]=c[h]})}}function ba(r){return I_({},r)}function I_(r,e){return e&&r&&Di(w_,function(t){G(e,t)&&(r[t]=e[t])}),r}var k_=ne(),ie=(function(r){U(e,r);function e(t,a,n){var i=r.call(this,t,a,n)||this;return i.uid=yo("ec_cpt_model"),i}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=xn(this),i=n?ba(t):{},o=a.getTheme();ue(t,o.get(this.mainType)),ue(t,this.getDefaultOption()),n&&zt(t,i,n)},e.prototype.mergeOption=function(t,a){ue(this.option,t,!0);var n=xn(this);n&&zt(this.option,t,n)},e.prototype.optionUpdated=function(t,a){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!r0(t))return t.defaultOption;var a=k_(this);if(!a.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var s={},l=n.length-1;l>=0;l--)s=ue(s,n[l],!0);a.defaultOption=s}return a.defaultOption},e.prototype.getReferringComponents=function(t,a){var n=t+"Index",i=t+"Id";return Sa(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},a)},e.prototype.getBoxLayoutParams=function(){return T_(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=(function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0})(),e})(he);sd(ie,he);fo(ie);e_(ie);t_(ie,P_);function P_(r){var e=[];return T(ie.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=X(e,function(t){return wt(t).main}),r!=="dataset"&&fe(e,"dataset")<=0&&e.unshift("dataset"),e}var B={color:{},darkColor:{},size:{}},me=B.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};F(me,{primary:me.neutral80,secondary:me.neutral70,tertiary:me.neutral60,quaternary:me.neutral50,disabled:me.neutral20,border:me.neutral30,borderTint:me.neutral20,borderShade:me.neutral40,background:me.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:me.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:me.neutral70,axisLineTint:me.neutral40,axisTick:me.neutral70,axisTickMinor:me.neutral60,axisLabel:me.neutral70,axisSplitLine:me.neutral15,axisMinorSplitLine:me.neutral05});for(var hr in me)if(me.hasOwnProperty(hr)){var zf=me[hr];hr==="theme"?B.darkColor.theme=me.theme.slice():hr==="highlight"?B.darkColor.highlight="rgba(255,231,130,0.4)":hr.indexOf("accent")===0?B.darkColor[hr]=sa(zf,null,function(r){return r*.5},function(r){return Math.min(1,1.3-r)}):B.darkColor[hr]=sa(zf,null,function(r){return r*.9},function(r){return 1-Math.pow(r,1.5)})}B.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var Ud="";typeof navigator<"u"&&(Ud=navigator.platform||"");var Wr="rgba(0, 0, 0, 0.2)",Yd=B.color.theme[0],R_=sa(Yd,null,null,.9);const E_={darkMode:"auto",colorBy:"series",color:B.color.theme,gradientColor:[R_,Yd],aria:{decal:{decals:[{color:Wr,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Wr,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Wr,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Wr,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Wr,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Wr,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Ud.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 Xd=ee(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),je="original",Ge="arrayRows",st="objectRows",mt="keyedColumns",ar="typedArray",Zd="unknown",vt="column",Br="row",Ee={Must:1,Might:2,Not:3},$d=ne();function O_(r){$d(r).datasetMap=ee()}function N_(r,e,t){var a={},n=Su(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=$d(s).datasetMap,u=n.uid+"_"+t.seriesLayoutBy,f,c;r=r.slice(),T(r,function(p,y){var g=K(p)?p:r[y]={name:p};g.type==="ordinal"&&f==null&&(f=y,c=d(g)),a[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});T(r,function(p,y){var g=p.name,m=d(p);if(f==null){var _=h.valueWayDim;v(a[g],_,m),v(o,_,m),h.valueWayDim+=m}else if(f===y)v(a[g],0,m),v(i,0,m);else{var _=h.categoryWayDim;v(a[g],_,m),v(o,_,m),h.categoryWayDim+=m}});function v(p,y,g){for(var m=0;m<g;m++)p.push(y+m)}function d(p){var y=p.dimsDef;return y?y.length:1}return i.length&&(a.itemName=i),o.length&&(a.seriesName=o),a}function B_(r,e,t){var a={},n=Su(r);if(!n)return a;var i=e.sourceFormat,o=e.dimensionsDefine,s;(i===st||i===mt)&&T(o,function(f,c){(K(f)?f.name:f)==="name"&&(s=c)});var l=(function(){for(var f={},c={},h=[],v=0,d=Math.min(5,t);v<d;v++){var p=qd(e.data,i,e.seriesLayoutBy,o,e.startIndex,v);h.push(p);var y=p===Ee.Not;if(y&&f.v==null&&v!==s&&(f.v=v),(f.n==null||f.n===f.v||!y&&h[f.n]===Ee.Not)&&(f.n=v),g(f)&&h[f.n]!==Ee.Not)return f;y||(p===Ee.Might&&c.v==null&&v!==s&&(c.v=v),(c.n==null||c.n===c.v)&&(c.n=v))}function g(m){return m.v!=null&&m.n!=null}return g(f)?f:g(c)?c:null})();if(l){a.value=[l.v];var u=s??l.n;a.itemName=[u],a.seriesName=[u]}return a}function Su(r){var e=r.get("data",!0);if(!e)return Sa(r.ecModel,"dataset",{index:r.get("datasetIndex",!0),id:r.get("datasetId",!0)},Ze).models[0]}function V_(r){return!r.get("transform",!0)&&!r.get("fromTransformResult",!0)?[]:Sa(r.ecModel,"dataset",{index:r.get("fromDatasetIndex",!0),id:r.get("fromDatasetId",!0)},Ze).models}function Kd(r,e){return qd(r.data,r.sourceFormat,r.seriesLayoutBy,r.dimensionsDefine,r.startIndex,e)}function qd(r,e,t,a,n,i){var o,s=5;if(Ke(r))return Ee.Not;var l,u;if(a){var f=a[i];K(f)?(l=f.name,u=f.type):Z(f)&&(l=f)}if(u!=null)return u==="ordinal"?Ee.Must:Ee.Not;if(e===Ge){var c=r;if(t===Br){for(var h=c[i],v=0;v<(h||[]).length&&v<s;v++)if((o=S(h[n+v]))!=null)return o}else for(var v=0;v<c.length&&v<s;v++){var d=c[n+v];if(d&&(o=S(d[i]))!=null)return o}}else if(e===st){var p=r;if(!l)return Ee.Not;for(var v=0;v<p.length&&v<s;v++){var y=p[v];if(y&&(o=S(y[l]))!=null)return o}}else if(e===mt){var g=r;if(!l)return Ee.Not;var h=g[l];if(!h||Ke(h))return Ee.Not;for(var v=0;v<h.length&&v<s;v++)if((o=S(h[v]))!=null)return o}else if(e===je)for(var m=r,v=0;v<m.length&&v<s;v++){var y=m[v],_=Gn(y);if(!N(_))return Ee.Not;if((o=S(_[i]))!=null)return o}function S(b){var x=Z(b);if(b!=null&&Number.isFinite(Number(b))&&b!=="")return x?Ee.Might:Ee.Not;if(x&&b!=="-")return Ee.Must}return Ee.Not}var z_=ee();function G_(r,e,t){var a=z_.get(e);if(!a)return t;var n=a(r);return n?t.concat(n):t}var Gf=ne();ne();var xu=(function(){function r(){}return r.prototype.getColorFromPalette=function(e,t,a){var n=De(this.get("color",!0)),i=this.get("colorLayer",!0);return H_(this,Gf,n,i,e,t,a)},r.prototype.clearColorPalette=function(){W_(this,Gf)},r})();function F_(r,e){for(var t=r.length,a=0;a<t;a++)if(r[a].length>e)return r[a];return r[t-1]}function H_(r,e,t,a,n,i,o){i=i||r;var s=e(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(n))return u[n];var f=o==null||!a?t:F_(a,o);if(f=f||t,!(!f||!f.length)){var c=f[l];return n&&(u[n]=c),s.paletteIdx=(l+1)%f.length,c}}function W_(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var Kn,Da,Ff,Hf="\0_ec_inner",U_=1,bu=(function(r){U(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new he(i),this._locale=new he(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=Yf(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,Yf(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?Ff(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&T(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=ee(),u=a&&a.replaceMergeMainTypeMap;O_(this),T(t,function(c,h){c!=null&&(ie.hasClass(h)?h&&(s.push(h),l.set(h,!0)):n[h]=n[h]==null?q(c):ue(n[h],c,!0))}),u&&u.each(function(c,h){ie.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),ie.topologicalTravel(s,ie.getAllClassMainTypes(),f,this);function f(c){var h=G_(this,c,De(t[c])),v=i.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",p=Fm(v,h,d);$m(p,c,ie),n[c]=null,i.set(c,null),o.set(c,0);var y=[],g=[],m=0,_;T(p,function(S,b){var x=S.existing,w=S.newOption;if(!w)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var D=c==="series",M=ie.getClass(c,S.keyInfo.subType,!D);if(!M)return;if(c==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===M)x.name=S.keyInfo.name,x.mergeOption(w,this),x.optionUpdated(w,!1);else{var A=F({componentIndex:b},S.keyInfo);x=new M(w,this,this,A),F(x,A),S.brandNew&&(x.__requireNewView=!0),x.init(w,this,this),x.optionUpdated(null,!0)}}x?(y.push(x.option),g.push(x),m++):(y.push(void 0),g.push(void 0))},this),n[c]=y,i.set(c,g),o.set(c,m),c==="series"&&Kn(this)}this._seriesIndices||Kn(this)},e.prototype.getOption=function(){var t=q(this.option);return T(t,function(a,n){if(ie.hasClass(n)){for(var i=De(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!cn(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[Hf],t},e.prototype.setTheme=function(t){this._theme=new he(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o<n.length;o++)if(n[o])return n[o]}}},e.prototype.queryComponents=function(t){var a=t.mainType;if(!a)return[];var n=t.index,i=t.id,o=t.name,s=this._componentsMap.get(a);if(!s||!s.length)return[];var l;return n!=null?(l=[],T(De(n),function(u){s[u]&&l.push(s[u])})):i!=null?l=Wf("id",i,s):o!=null?l=Wf("name",o,s):l=Ce(s,function(u){return!!u}),Uf(l,t)},e.prototype.findComponents=function(t){var a=t.query,n=t.mainType,i=s(a),o=i?this.queryComponents(i):Ce(this._componentsMap.get(n),function(u){return!!u});return l(Uf(o,t));function s(u){var f=n+"Index",c=n+"Id",h=n+"Name";return u&&(u[f]!=null||u[c]!=null||u[h]!=null)?{mainType:n,index:u[f],id:u[c],name:u[h]}:null}function l(u){return t.filter?Ce(u,t.filter):u}},e.prototype.eachComponent=function(t,a,n){var i=this._componentsMap;if(Q(t)){var o=a,s=t;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=Z(t)?i.get(t):K(t)?this.findComponents(t):null,u=0;l&&u<l.length;u++){var f=l[u];f&&a.call(n,f,f.componentIndex)}},e.prototype.getSeriesByName=function(t){var a=rt(t,null);return Ce(this._componentsMap.get("series"),function(n){return!!n&&a!=null&&n.name===a})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Ce(this._componentsMap.get("series"),function(a){return!!a&&a.subType===t})},e.prototype.getSeries=function(){return Ce(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,a){Da(this),T(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(a,i,n)},this)},e.prototype.eachRawSeries=function(t,a){T(this._componentsMap.get("series"),function(n){n&&t.call(a,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,a,n){Da(this),T(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===t&&a.call(n,o,i)},this)},e.prototype.eachRawSeriesByType=function(t,a,n){return T(this.getSeriesByType(t),a,n)},e.prototype.isSeriesFiltered=function(t){return Da(this),this._seriesIndicesMap.get(t.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,a){Da(this);var n=[];T(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];t.call(a,o,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=ee(n)},e.prototype.restoreData=function(t){Kn(this);var a=this._componentsMap,n=[];a.each(function(i,o){ie.hasClass(o)&&n.push(o)}),ie.topologicalTravel(n,ie.getAllClassMainTypes(),function(i){T(a.get(i),function(o){o&&(i!=="series"||!Y_(o,t))&&o.restoreData()})})},e.internalField=(function(){Kn=function(t){var a=t._seriesIndices=[];T(t._componentsMap.get("series"),function(n){n&&a.push(n.componentIndex)}),t._seriesIndicesMap=ee(a)},Da=function(t){},Ff=function(t,a){t.option={},t.option[Hf]=U_,t._componentsMap=ee({series:[]}),t._componentsCount=ee();var n=a.aria;K(n)&&n.enabled==null&&(n.enabled=!0),X_(a,t._theme.option),ue(a,E_,!1),t._mergeOption(a,null)}})(),e})(he);function Y_(r,e){if(e){var t=e.seriesIndex,a=e.seriesId,n=e.seriesName;return t!=null&&r.componentIndex!==t||a!=null&&r.id!==a||n!=null&&r.name!==n}}function X_(r,e){var t=r.color&&!r.colorLayer;T(e,function(a,n){n==="colorLayer"&&t||n==="color"&&r.color||ie.hasClass(n)||(typeof a=="object"?r[n]=r[n]?ue(r[n],a,!1):q(a):r[n]==null&&(r[n]=a))})}function Wf(r,e,t){if(N(e)){var a=ee();return T(e,function(i){if(i!=null){var o=rt(i,null);o!=null&&a.set(i,!0)}}),Ce(t,function(i){return i&&a.get(i[r])})}else{var n=rt(e,null);return Ce(t,function(i){return i&&n!=null&&i[r]===n})}}function Uf(r,e){return e.hasOwnProperty("subType")?Ce(r,function(t){return t&&t.subType===e.subType}):r}function Yf(r){var e=ee();return r&&T(De(r.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}gt(bu,xu);var Z_=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],jd=(function(){function r(e){T(Z_,function(t){this[t]=$(e[t],e)},this)}return r})(),$_=/^(min|max)?(.+)$/,K_=(function(){function r(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return r.prototype.setOption=function(e,t,a){e&&(T(De(e.series),function(o){o&&o.data&&Ke(o.data)&&Ri(o.data)}),T(De(e.dataset),function(o){o&&o.source&&Ke(o.source)&&Ri(o.source)})),e=q(e);var n=this._optionBackup,i=q_(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},r.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],q(e?t.baseOption:this._newBaseOption)},r.prototype.getTimelineOption=function(e){var t,a=this._timelineOptions;if(a.length){var n=e.getComponent("timeline");n&&(t=q(a[n.getCurrentIndex()]))}return t},r.prototype.getMediaOption=function(e){var t=this._api.getWidth(),a=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,o=[],s=[];if(!n.length&&!i)return s;for(var l=0,u=n.length;l<u;l++)j_(n[l].query,t,a)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!J_(o,this._currentMediaIndices)&&(s=X(o,function(f){return q(f===-1?i.option:n[f].option)})),this._currentMediaIndices=o,s},r})();function q_(r,e,t){var a=[],n,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&&N(u)&&T(u,function(v){v&&v.option&&(v.query?a.push(v):n||(n=v))}),h(i),T(l,function(v){return h(v)}),T(a,function(v){return h(v.option)});function h(v){T(e,function(d){d(v,t)})}return{baseOption:i,timelineOptions:l||[],mediaDefault:n,mediaList:a}}function j_(r,e,t){var a={width:e,height:t,aspectratio:e/t},n=!0;return T(r,function(i,o){var s=o.match($_);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();Q_(a[u],i,l)||(n=!1)}}),n}function Q_(r,e,t){return t==="min"?r>=e:t==="max"?r<=e:r===e}function J_(r,e){return r.join(",")===e.join(",")}var lt=T,bn=K,Xf=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Go(r){var e=r&&r.itemStyle;if(e)for(var t=0,a=Xf.length;t<a;t++){var n=Xf[t],i=e.normal,o=e.emphasis;i&&i[n]&&(r[n]=r[n]||{},r[n].normal?ue(r[n].normal,i[n]):r[n].normal=i[n],i[n]=null),o&&o[n]&&(r[n]=r[n]||{},r[n].emphasis?ue(r[n].emphasis,o[n]):r[n].emphasis=o[n],o[n]=null)}}function Ve(r,e,t){if(r&&r[e]&&(r[e].normal||r[e].emphasis)){var a=r[e].normal,n=r[e].emphasis;a&&(t?(r[e].normal=r[e].emphasis=null,ae(r[e],a)):r[e]=a),n&&(r.emphasis=r.emphasis||{},r.emphasis[e]=n,n.focus&&(r.emphasis.focus=n.focus),n.blurScope&&(r.emphasis.blurScope=n.blurScope))}}function Za(r){Ve(r,"itemStyle"),Ve(r,"lineStyle"),Ve(r,"areaStyle"),Ve(r,"label"),Ve(r,"labelLine"),Ve(r,"upperLabel"),Ve(r,"edgeLabel")}function xe(r,e){var t=bn(r)&&r[e],a=bn(t)&&t.textStyle;if(a)for(var n=0,i=mf.length;n<i;n++){var o=mf[n];a.hasOwnProperty(o)&&(t[o]=a[o])}}function et(r){r&&(Za(r),xe(r,"label"),r.emphasis&&xe(r.emphasis,"label"))}function eS(r){if(bn(r)){Go(r),Za(r),xe(r,"label"),xe(r,"upperLabel"),xe(r,"edgeLabel"),r.emphasis&&(xe(r.emphasis,"label"),xe(r.emphasis,"upperLabel"),xe(r.emphasis,"edgeLabel"));var e=r.markPoint;e&&(Go(e),et(e));var t=r.markLine;t&&(Go(t),et(t));var a=r.markArea;a&&et(a);var n=r.data;if(r.type==="graph"){n=n||r.nodes;var i=r.links||r.edges;if(i&&!Ke(i))for(var o=0;o<i.length;o++)et(i[o]);T(r.categories,function(u){Za(u)})}if(n&&!Ke(n))for(var o=0;o<n.length;o++)et(n[o]);if(e=r.markPoint,e&&e.data)for(var s=e.data,o=0;o<s.length;o++)et(s[o]);if(t=r.markLine,t&&t.data)for(var l=t.data,o=0;o<l.length;o++)N(l[o])?(et(l[o][0]),et(l[o][1])):et(l[o]);r.type==="gauge"?(xe(r,"axisLabel"),xe(r,"title"),xe(r,"detail")):r.type==="treemap"?(Ve(r.breadcrumb,"itemStyle"),T(r.levels,function(u){Za(u)})):r.type==="tree"&&Za(r.leaves)}}function At(r){return N(r)?r:r?[r]:[]}function Zf(r){return(N(r)?r[0]:r)||{}}function tS(r,e){lt(At(r.series),function(a){bn(a)&&eS(a)});var t=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&t.push("valueAxis","categoryAxis","logAxis","timeAxis"),lt(t,function(a){lt(At(r[a]),function(n){n&&(xe(n,"axisLabel"),xe(n.axisPointer,"label"))})}),lt(At(r.parallel),function(a){var n=a&&a.parallelAxisDefault;xe(n,"axisLabel"),xe(n&&n.axisPointer,"label")}),lt(At(r.calendar),function(a){Ve(a,"itemStyle"),xe(a,"dayLabel"),xe(a,"monthLabel"),xe(a,"yearLabel")}),lt(At(r.radar),function(a){xe(a,"name"),a.name&&a.axisName==null&&(a.axisName=a.name,delete a.name),a.nameGap!=null&&a.axisNameGap==null&&(a.axisNameGap=a.nameGap,delete a.nameGap)}),lt(At(r.geo),function(a){bn(a)&&(et(a),lt(At(a.regions),function(n){et(n)}))}),lt(At(r.timeline),function(a){et(a),Ve(a,"label"),Ve(a,"itemStyle"),Ve(a,"controlStyle",!0);var n=a.data;N(n)&&T(n,function(i){K(i)&&(Ve(i,"label"),Ve(i,"itemStyle"))})}),lt(At(r.toolbox),function(a){Ve(a,"iconStyle"),lt(a.feature,function(n){Ve(n,"iconStyle")})}),xe(Zf(r.axisPointer),"label"),xe(Zf(r.tooltip).axisPointer,"label")}function rS(r,e){for(var t=e.split(","),a=r,n=0;n<t.length&&(a=a&&a[t[n]],a!=null);n++);return a}function aS(r,e,t,a){for(var n=e.split(","),i=r,o,s=0;s<n.length-1;s++)o=n[s],i[o]==null&&(i[o]={}),i=i[o];i[n[s]]==null&&(i[n[s]]=t)}function $f(r){r&&T(nS,function(e){e[0]in r&&!(e[1]in r)&&(r[e[1]]=r[e[0]])})}var nS=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],iS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Fo=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Aa(r){var e=r&&r.itemStyle;if(e)for(var t=0;t<Fo.length;t++){var a=Fo[t][1],n=Fo[t][0];e[a]!=null&&(e[n]=e[a])}}function Kf(r){r&&r.alignTo==="edge"&&r.margin!=null&&r.edgeDistance==null&&(r.edgeDistance=r.margin)}function qf(r){r&&r.downplay&&!r.blur&&(r.blur=r.downplay)}function oS(r){r&&r.focusNodeAdjacency!=null&&(r.emphasis=r.emphasis||{},r.emphasis.focus==null&&(r.emphasis.focus="adjacency"))}function Qd(r,e){if(r)for(var t=0;t<r.length;t++)e(r[t]),r[t]&&Qd(r[t].children,e)}function Jd(r,e){tS(r,e),r.series=De(r.series),T(r.series,function(t){if(K(t)){var a=t.type;if(a==="line")t.clipOverflow!=null&&(t.clip=t.clipOverflow);else if(a==="pie"||a==="gauge"){t.clockWise!=null&&(t.clockwise=t.clockWise),Kf(t.label);var n=t.data;if(n&&!Ke(n))for(var i=0;i<n.length;i++)Kf(n[i]);t.hoverOffset!=null&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if(a==="gauge"){var o=rS(t,"pointer.color");o!=null&&aS(t,"itemStyle.color",o)}else if(a==="bar"){Aa(t),Aa(t.backgroundStyle),Aa(t.emphasis);var n=t.data;if(n&&!Ke(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&(Aa(n[i]),Aa(n[i]&&n[i].emphasis))}else if(a==="sunburst"){var s=t.highlightPolicy;s&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=s)),qf(t),Qd(t.data,qf)}else a==="graph"||a==="sankey"?oS(t):a==="map"&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&ae(t,t.mapLocation));t.hoverAnimation!=null&&(t.emphasis=t.emphasis||{},t.emphasis&&t.emphasis.scale==null&&(t.emphasis.scale=t.hoverAnimation)),$f(t)}}),r.dataRange&&(r.visualMap=r.dataRange),T(iS,function(t){var a=r[t];a&&(N(a)||(a=[a]),T(a,function(n){$f(n)}))})}function sS(r){var e=ee();r.eachSeries(function(t){var a=t.get("stack");if(a){var n=e.get(a)||e.set(a,[]),i=t.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:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.push(o)}}),e.each(function(t){if(t.length!==0){var a=t[0].seriesModel,n=a.get("stackOrder")||"seriesAsc";n==="seriesDesc"&&t.reverse(),T(t,function(i,o){i.data.setCalculationInfo("stackedOnSeries",o>0?t[o-1].seriesModel:null)}),lS(t)}})}function lS(r){T(r,function(e,t){var a=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,f,c){var h=o.get(e.stackedDimension,c);if(isNaN(h))return n;var v,d;s?d=o.getRawIndex(c):v=o.get(e.stackedByDimension,c);for(var p=NaN,y=t-1;y>=0;y--){var g=r[y];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,v)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&h>=0&&m>0||l==="samesign"&&h<=0&&m<0){h=Pm(h,m),p=m;break}}}return a[0]=h,a[1]=p,a})})}var So=(function(){function r(e){this.data=e.data||(e.sourceFormat===mt?{}:[]),this.sourceFormat=e.sourceFormat||Zd,this.seriesLayoutBy=e.seriesLayoutBy||vt,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var a=0;a<t.length;a++){var n=t[a];n.type==null&&Kd(this,a)===Ee.Must&&(n.type="ordinal")}}return r})();function wu(r){return r instanceof So}function al(r,e,t){t=t||ep(r);var a=e.seriesLayoutBy,n=fS(r,t,a,e.sourceHeader,e.dimensions),i=new So({data:r,sourceFormat:t,seriesLayoutBy:a,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:q(e)});return i}function Tu(r){return new So({data:r,sourceFormat:Ke(r)?ar:je})}function uS(r){return new So({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:q(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount})}function ep(r){var e=Zd;if(Ke(r))e=ar;else if(N(r)){r.length===0&&(e=Ge);for(var t=0,a=r.length;t<a;t++){var n=r[t];if(n!=null){if(N(n)||Ke(n)){e=Ge;break}else if(K(n)){e=st;break}}}}else if(K(r)){for(var i in r)if(G(r,i)&&Rn(r[i])){e=mt;break}}return e}function fS(r,e,t,a,n){var i,o;if(!r)return{dimensionsDefine:jf(n),startIndex:o,dimensionsDetectedCount:i};if(e===Ge){var s=r;a==="auto"||a==null?Qf(function(u){u!=null&&u!=="-"&&(Z(u)?o==null&&(o=1):o=0)},t,s,10):o=oe(a)?a:a?1:0,!n&&o===1&&(n=[],Qf(function(u,f){n[f]=u!=null?u+"":""},t,s,1/0)),i=n?n.length:t===Br?s.length:s[0]?s[0].length:null}else if(e===st)n||(n=cS(r));else if(e===mt)n||(n=[],T(r,function(u,f){n.push(f)}));else if(e===je){var l=Gn(r[0]);i=N(l)&&l.length||1}return{startIndex:o,dimensionsDefine:jf(n),dimensionsDetectedCount:i}}function cS(r){for(var e=0,t;e<r.length&&!(t=r[e++]););if(t)return Le(t)}function jf(r){if(r){var e=ee();return X(r,function(t,a){t=K(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function Qf(r,e,t,a){if(e===Br)for(var n=0;n<t.length&&n<a;n++)r(t[n]?t[n][0]:null,n);else for(var i=t[0]||[],n=0;n<i.length&&n<a;n++)r(i[n],n)}function tp(r){var e=r.sourceFormat;return e===st||e===mt}var dr,pr,gr,yr,Jf,ec,rp=(function(){function r(e,t){var a=wu(e)?e:Tu(e);this._source=a;var n=this._data=a.data,i=a.sourceFormat;a.seriesLayoutBy,i===ar&&(this._offset=0,this._dimSize=t,this._data=n),ec(this,n,a)}return r.prototype.getSource=function(){return this._source},r.prototype.count=function(){return 0},r.prototype.getItem=function(e,t){},r.prototype.appendData=function(e){},r.prototype.clean=function(){},r.protoInitialize=(function(){var e=r.prototype;e.pure=!1,e.persistent=!0})(),r.internalField=(function(){var e;ec=function(o,s,l){var u=l.sourceFormat,f=l.seriesLayoutBy,c=l.startIndex,h=l.dimensionsDefine,v=Jf[Cu(u,f)];if(F(o,v),u===ar)o.getItem=t,o.count=n,o.fillStorage=a;else{var d=ap(u,f);o.getItem=$(d,null,s,c,h);var p=np(u,f);o.count=$(p,null,s,c,h)}};var t=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},a=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],y=s-o,g=l[h],m=0;m<y;m++){var _=f[m*c+h];g[o+m]=_,_<d&&(d=_),_>p&&(p=_)}v[0]=d,v[1]=p}},n=function(){return this._data?this._data.length/this._dimSize:0};Jf=(e={},e[Ge+"_"+vt]={pure:!0,appendData:i},e[Ge+"_"+Br]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[st]={pure:!0,appendData:i},e[mt]={pure:!0,appendData:function(o){var s=this._data;T(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},e[je]={appendData:i},e[ar]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}})(),r})(),qn=function(r){N(r)||td("series.data or dataset.source must be an array.")};dr={},dr[Ge+"_"+vt]=qn,dr[Ge+"_"+Br]=qn,dr[st]=qn,dr[mt]=function(r,e){for(var t=0;t<e.length;t++){var a=e[t].name;a==null&&td("dimension name must not be null/undefined.")}},dr[je]=qn;var tc=function(r,e,t,a){return r[a]},vS=(pr={},pr[Ge+"_"+vt]=function(r,e,t,a){return r[a+e]},pr[Ge+"_"+Br]=function(r,e,t,a,n){a+=e;for(var i=n||[],o=r,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[a]:null}return i},pr[st]=tc,pr[mt]=function(r,e,t,a,n){for(var i=n||[],o=0;o<t.length;o++){var s=t[o].name,l=s!=null?r[s]:null;i[o]=l?l[a]:null}return i},pr[je]=tc,pr);function ap(r,e){var t=vS[Cu(r,e)];return t}var rc=function(r,e,t){return r.length},hS=(gr={},gr[Ge+"_"+vt]=function(r,e,t){return Math.max(0,r.length-e)},gr[Ge+"_"+Br]=function(r,e,t){var a=r[0];return a?Math.max(0,a.length-e):0},gr[st]=rc,gr[mt]=function(r,e,t){var a=t[0].name,n=a!=null?r[a]:null;return n?n.length:0},gr[je]=rc,gr);function np(r,e){var t=hS[Cu(r,e)];return t}var Ho=function(r,e,t){return r[e]},dS=(yr={},yr[Ge]=Ho,yr[st]=function(r,e,t){return r[t]},yr[mt]=Ho,yr[je]=function(r,e,t){var a=Gn(r);return a instanceof Array?a[e]:a},yr[ar]=Ho,yr);function ip(r){var e=dS[r];return e}function Cu(r,e){return r===Ge?r+"_"+e:r}function ga(r,e,t){if(r){var a=r.getRawDataItem(e);if(a!=null){var n=r.getStore(),i=n.getSource().sourceFormat;if(t!=null){var o=r.getDimensionIndex(t),s=n.getDimensionProperty(o);return ip(i)(a,o,s)}else{var l=a;return i===je&&(l=Gn(a)),l}}}}var pS=/\{@(.+?)\}/g,gS=(function(){function r(){}return r.prototype.getDataParams=function(e,t){var a=this.getData(t),n=this.getRawValue(e,t),i=a.getRawIndex(e),o=a.getName(e),s=a.getRawDataItem(e),l=a.getItemVisual(e,"style"),u=l&&l[a.getItemVisual(e,"drawType")||"fill"],f=l&&l.stroke,c=this.mainType,h=c==="series",v=a.userOutput&&a.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:t,value:n,color:u,borderColor:f,dimensionNames:v?v.fullDimensions:null,encode:v?v.encode:null,$vars:["seriesName","name","value"]}},r.prototype.getFormattedLabel=function(e,t,a,n,i,o){t=t||"normal";var s=this.getData(a),l=this.getDataParams(e,a);if(o&&(l.value=o.interpolatedValue),n!=null&&N(l.value)&&(l.value=l.value[n]),!i){var u=s.getItemModel(e);i=u.get(t==="normal"?["label","formatter"]:[t,"label","formatter"])}if(Q(i))return l.status=t,l.dimensionIndex=n,i(l);if(Z(i)){var f=Hd(i,l);return f.replace(pS,function(c,h){var v=h.length,d=h;d.charAt(0)==="["&&d.charAt(v-1)==="]"&&(d=+d.slice(1,v-1));var p=ga(s,e,d);if(o&&N(o.interpolatedValue)){var y=s.getDimensionIndex(d);y>=0&&(p=o.interpolatedValue[y])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(e,t){return ga(this.getData(t),e)},r.prototype.formatTooltip=function(e,t,a){},r})();function ac(r){var e,t;return K(r)?r.type&&(t=r):e=r,{text:e,frag:t}}function an(r){return new yS(r)}var yS=(function(){function r(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return r.prototype.perform=function(e){var t=this._upstream,a=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!a&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(m){return!(m>=1)&&(m=1),m}var c;(this._dirty||i==="reset")&&(this._dirty=!1,c=this._doReset(a)),this._modBy=l,this._modDataCount=u;var h=e&&e.step;if(t?this._dueEnd=t._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(!a&&(c||v<d)){var p=this._progress;if(N(p))for(var y=0;y<p.length;y++)this._doProgress(p[y],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(e,t,a,n,i){nc.reset(t,a,n,i),this._callingProgress=e,this._callingProgress({start:t,end:a,count:a-t,next:nc.next},this.context)},r.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var t,a;!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(a=t.forceFirstProgress,t=t.progress),N(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),a},r.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.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(e){this._outputDueEnd=this._settedOutputEnd=e},r})(),nc=(function(){var r,e,t,a,n,i={reset:function(l,u,f,c){e=l,r=u,t=f,a=c,n=Math.ceil(a/t),i.next=t>1&&a>0?s:o}};return i;function o(){return e<r?e++:null}function s(){var l=e%n*t+Math.ceil(e/n),u=e>=r?null:l<a?l:e;return e++,u}})();function Ai(r,e){var t=e&&e.type;return t==="ordinal"?r:(t==="time"&&!oe(r)&&r!=null&&r!=="-"&&(r=+Er(r)),r==null||r===""?NaN:Number(r))}ee({number:function(r){return parseFloat(r)},time:function(r){return+Er(r)},trim:function(r){return Z(r)?Bn(r):r}});var mS=(function(){function r(e,t){var a=e==="desc";this._resultLT=a?1:-1,t==null&&(t=a?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return r.prototype.evaluate=function(e,t){var a=oe(e)?e:Ni(e),n=oe(t)?t:Ni(t),i=isNaN(a),o=isNaN(n);if(i&&(a=this._incomparable),o&&(n=this._incomparable),i&&o){var s=Z(e),l=Z(t);s&&(a=l?e:0),l&&(n=s?t:0)}return a<n?this._resultLT:a>n?-this._resultLT:0},r})(),_S=(function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(e){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(e){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(e,t){},r.prototype.retrieveValueFromItem=function(e,t){},r.prototype.convertValue=function(e,t){return Ai(e,t)},r})();function SS(r,e){var t=new _S,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==vt&&Oe(o);var s=[],l={},u=r.dimensionsDefine;if(u)T(u,function(p,y){var g=p.name,m={index:y,name:g,displayName:p.displayName};if(s.push(m),g!=null){var _="";G(l,g)&&Oe(_),l[g]=m}});else for(var f=0;f<r.dimensionsDetectedCount;f++)s.push({index:f});var c=ap(n,vt);e.__isBuiltIn&&(t.getRawDataItem=function(p){return c(a,i,s,p)},t.getRawData=$(xS,null,r)),t.cloneRawData=$(bS,null,r);var h=np(n,vt);t.count=$(h,null,a,i,s);var v=ip(n);t.retrieveValue=function(p,y){var g=c(a,i,s,p);return d(g,y)};var d=t.retrieveValueFromItem=function(p,y){if(p!=null){var g=s[y];if(g)return v(p,y,g.name)}};return t.getDimensionInfo=$(wS,null,s,l),t.cloneAllDimensionInfo=$(TS,null,s),t}function xS(r){var e=r.sourceFormat;if(!Mu(e)){var t="";Oe(t)}return r.data}function bS(r){var e=r.sourceFormat,t=r.data;if(!Mu(e)){var a="";Oe(a)}if(e===Ge){for(var n=[],i=0,o=t.length;i<o;i++)n.push(t[i].slice());return n}else if(e===st){for(var n=[],i=0,o=t.length;i<o;i++)n.push(F({},t[i]));return n}}function wS(r,e,t){if(t!=null){if(oe(t)||!isNaN(t)&&!G(e,t))return r[t];if(G(e,t))return e[t]}}function TS(r){return q(r)}var op=ee();function CS(r){r=q(r);var e=r.type,t="";e||Oe(t);var a=e.split(":");a.length!==2&&Oe(t);var n=!1;a[0]==="echarts"&&(e=a[1],n=!0),r.__isBuiltIn=n,op.set(e,r)}function MS(r,e,t){var a=De(r),n=a.length,i="";n||Oe(i);for(var o=0,s=n;o<s;o++){var l=a[o];e=DS(l,e),o!==s-1&&(e.length=Math.max(e.length,1))}return e}function DS(r,e,t,a){var n="";e.length||Oe(n),K(r)||Oe(n);var i=r.type,o=op.get(i);o||Oe(n);var s=X(e,function(u){return SS(u,o)}),l=De(o.transform({upstream:s[0],upstreamList:s,config:q(r.config)}));return X(l,function(u,f){var c="";K(u)||Oe(c),u.data||Oe(c);var h=ep(u.data);Mu(h)||Oe(c);var v,d=e[0];if(d&&f===0&&!u.dimensions){var p=d.startIndex;p&&(u.data=d.data.slice(0,p).concat(u.data)),v={seriesLayoutBy:vt,sourceHeader:p,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:vt,sourceHeader:0,dimensions:u.dimensions};return al(u.data,v,null)})}function Mu(r){return r===Ge||r===st}var xo="undefined",AS=typeof Uint32Array===xo?Array:Uint32Array,LS=typeof Uint16Array===xo?Array:Uint16Array,sp=typeof Int32Array===xo?Array:Int32Array,ic=typeof Float64Array===xo?Array:Float64Array,lp={float:ic,int:sp,ordinal:Array,number:Array,time:ic},Wo;function Ur(r){return r>65535?AS:LS}function Yr(){return[1/0,-1/0]}function IS(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function oc(r,e,t,a,n){var i=lp[t||"float"];if(n){var o=r[e],s=o&&o.length;if(s!==a){for(var l=new i(a),u=0;u<s;u++)l[u]=o[u];r[e]=l}}else r[e]=new i(a)}var nl=(function(){function r(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ee()}return r.prototype.initData=function(e,t,a){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=Wo[n.sourceFormat];this._dimValueGetter=a||i,this._rawExtent=[],tp(n),this._dimensions=X(t,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},r.prototype.getProvider=function(){return this._provider},r.prototype.getSource=function(){return this._provider.getSource()},r.prototype.ensureCalculationDimension=function(e,t){var a=this._calcDimNameToIdx,n=this._dimensions,i=a.get(e);if(i!=null){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},a.set(e,i),this._chunks[i]=new lp[t||"float"](this._rawCount),this._rawExtent[i]=Yr(),i},r.prototype.collectOrdinalMeta=function(e,t){var a=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,o=n.ordinalOffset||0,s=a.length;o===0&&(i[e]=Yr());for(var l=i[e],u=o;u<s;u++){var f=a[u]=t.parseAndCollect(a[u]);isNaN(f)||(l[0]=Math.min(f,l[0]),l[1]=Math.max(f,l[1]))}n.ordinalMeta=t,n.ordinalOffset=s,n.type="ordinal"},r.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],a=t.ordinalMeta;return a},r.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},r.prototype.appendData=function(e){var t=this._provider,a=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=a),a<n&&this._initDataFromProvider(a,n,!0),[a,n]},r.prototype.appendValues=function(e,t){for(var a=this._chunks,n=this._dimensions,i=n.length,o=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t||0),u=0;u<i;u++){var f=n[u];oc(a,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=n[d],p=Wo.arrayRows.call(this,e[v]||c,f.property,v,d);a[d][h]=p;var y=o[d];p<y[0]&&(y[0]=p),p>y[1]&&(y[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=X(o,function(m){return m.property}),f=0;f<s;f++){var c=o[f];l[f]||(l[f]=Yr()),oc(i,f,c.type,t,a)}if(n.fillStorage)n.fillStorage(e,t,i,l);else for(var h=[],v=e;v<t;v++){h=n.getItem(v,h);for(var d=0;d<s;d++){var p=i[d],y=this._dimValueGetter(h,u[d],v,d);p[v]=y;var g=l[d];y<g[0]&&(g[0]=y),y>g[1]&&(g[1]=y)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var a=this._chunks[e];return a?a[this.getRawIndex(t)]:NaN},r.prototype.getValues=function(e,t){var a=[],n=[];if(t==null){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,o=n.length;i<o;i++)a.push(this.get(n[i],t));return a},r.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var a=this._chunks[e];return a?a[t]:NaN},r.prototype.getSum=function(e){var t=this._chunks[e],a=0;if(t)for(var n=0,i=this.count();n<i;n++){var o=this.get(e,n);isNaN(o)||(a+=o)}return a},r.prototype.getMedian=function(e){var t=[];this.each([e],function(i){isNaN(i)||t.push(i)});var a=t.sort(function(i,o){return i-o}),n=this.count();return n===0?0:n%2===1?a[(n-1)/2]:(a[n/2]+a[n/2-1])/2},r.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,a=t[e];if(a!=null&&a<this._count&&a===e)return e;for(var n=0,i=this._count-1;n<=i;){var o=(n+i)/2|0;if(t[o]<e)n=o+1;else if(t[o]>e)i=o-1;else return o}return-1},r.prototype.getIndices=function(){var e,t=this._indices;if(t){var a=t.constructor,n=this._count;if(a===Array){e=new a(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new a(t.buffer,0,n)}else{var a=Ur(this._rawCount);e=new a(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},r.prototype.filter=function(e,t){if(!this._count)return this;for(var a=this.clone(),n=a.count(),i=Ur(a._rawCount),o=new i(n),s=[],l=e.length,u=0,f=e[0],c=a._chunks,h=0;h<n;h++){var v=void 0,d=a.getRawIndex(h);if(l===0)v=t(h);else if(l===1){var p=c[f][d];v=t(p,h)}else{for(var y=0;y<l;y++)s[y]=c[e[y]][d];s[y]=h,v=t.apply(null,s)}v&&(o[u++]=d)}return u<n&&(a._indices=o),a._count=u,a._extent=[],a._updateGetRawIdx(),a},r.prototype.selectRange=function(e){var t=this.clone(),a=t._count;if(!a)return this;var n=Le(e),i=n.length;if(!i)return this;var o=t.count(),s=Ur(t._rawCount),l=new s(o),u=0,f=n[0],c=e[f][0],h=e[f][1],v=t._chunks,d=!1;if(!t._indices){var p=0;if(i===1){for(var y=v[n[0]],g=0;g<a;g++){var m=y[g];(m>=c&&m<=h||isNaN(m))&&(l[u++]=p),p++}d=!0}else if(i===2){for(var y=v[n[0]],_=v[n[1]],S=e[n[1]][0],b=e[n[1]][1],g=0;g<a;g++){var m=y[g],x=_[g];(m>=c&&m<=h||isNaN(m))&&(x>=S&&x<=b||isNaN(x))&&(l[u++]=p),p++}d=!0}}if(!d)if(i===1)for(var g=0;g<o;g++){var w=t.getRawIndex(g),m=v[n[0]][w];(m>=c&&m<=h||isNaN(m))&&(l[u++]=w)}else for(var g=0;g<o;g++){for(var D=!0,w=t.getRawIndex(g),M=0;M<i;M++){var A=n[M],m=v[A][w];(m<e[A][0]||m>e[A][1])&&(D=!1)}D&&(l[u++]=t.getRawIndex(g))}return u<o&&(t._indices=l),t._count=u,t._extent=[],t._updateGetRawIdx(),t},r.prototype.map=function(e,t){var a=this.clone(e);return this._updateDims(a,e,t),a},r.prototype.modify=function(e,t){this._updateDims(this,e,t)},r.prototype._updateDims=function(e,t,a){for(var n=e._chunks,i=[],o=t.length,s=e.count(),l=[],u=e._rawExtent,f=0;f<t.length;f++)u[t[f]]=Yr();for(var c=0;c<s;c++){for(var h=e.getRawIndex(c),v=0;v<o;v++)l[v]=n[t[v]][h];l[o]=c;var d=a&&a.apply(null,l);if(d!=null){typeof d!="object"&&(i[0]=d,d=i);for(var f=0;f<d.length;f++){var p=t[f],y=d[f],g=u[p],m=n[p];m&&(m[h]=y),y<g[0]&&(g[0]=y),y>g[1]&&(g[1]=y)}}}},r.prototype.lttbDownSample=function(e,t){var a=this.clone([e],!0),n=a._chunks,i=n[e],o=this.count(),s=0,l=Math.floor(1/t),u=this.getRawIndex(0),f,c,h,v=new(Ur(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),y=Math.min(d+l*2,o),g=(y+p)/2,m=0,_=p;_<y;_++){var S=this.getRawIndex(_),b=i[S];isNaN(b)||(m+=b)}m/=y-p;var x=d,w=Math.min(d+l,o),D=d-1,M=i[u];f=-1,h=x;for(var A=-1,C=0,_=x;_<w;_++){var S=this.getRawIndex(_),b=i[S];if(isNaN(b)){C++,A<0&&(A=S);continue}c=Math.abs((D-g)*(b-M)-(D-_)*(m-M)),c>f&&(f=c,h=S)}C>0&&C<w-x&&(v[s++]=Math.min(A,h),h=Math.max(A,h)),v[s++]=h,u=h}return v[s++]=this.getRawIndex(o-1),a._count=s,a._indices=v,a.getRawIndex=this._getRawIdx,a},r.prototype.minmaxDownSample=function(e,t){for(var a=this.clone([e],!0),n=a._chunks,i=Math.floor(1/t),o=n[e],s=this.count(),l=new(Ur(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 y=0;y<p;y++){var g=this.getRawIndex(f+y),m=o[g];m<h&&(h=m,c=f+y),m>d&&(d=m,v=f+y)}var _=this.getRawIndex(c),S=this.getRawIndex(v);c<v?(l[u++]=_,l[u++]=S):(l[u++]=S,l[u++]=_)}return a._count=u,a._indices=l,a._updateGetRawIdx(),a},r.prototype.downSample=function(e,t,a,n){for(var i=this.clone([e],!0),o=i._chunks,s=[],l=Math.floor(1/t),u=o[e],f=this.count(),c=i._rawExtent[e]=Yr(),h=new(Ur(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 y=this.getRawIndex(d+p);s[p]=u[y]}var g=a(s),m=this.getRawIndex(Math.min(d+n(s,g)||0,f-1));u[m]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),h[v++]=m}return i._count=v,i._indices=h,i._updateGetRawIdx(),i},r.prototype.each=function(e,t){if(this._count)for(var a=e.length,n=this._chunks,i=0,o=this.count();i<o;i++){var s=this.getRawIndex(i);switch(a){case 0:t(i);break;case 1:t(n[e[0]][s],i);break;case 2:t(n[e[0]][s],n[e[1]][s],i);break;default:for(var l=0,u=[];l<a;l++)u[l]=n[e[l]][s];u[l]=i,t.apply(null,u)}}},r.prototype.getDataExtent=function(e){var t=this._chunks[e],a=Yr();if(!t)return a;var n=this.count(),i=!this._indices,o;if(i)return this._rawExtent[e].slice();if(o=this._extent[e],o)return o.slice();o=a;for(var s=o[0],l=o[1],u=0;u<n;u++){var f=this.getRawIndex(u),c=t[f];c<s&&(s=c),c>l&&(l=c)}return o=[s,l],this._extent[e]=o,o},r.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var a=[],n=this._chunks,i=0;i<n.length;i++)a.push(n[i][t]);return a},r.prototype.clone=function(e,t){var a=new r,n=this._chunks,i=e&&sn(e,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<n.length;o++)a._chunks[o]=i[o]?IS(n[o]):n[o];else a._chunks=n;return this._copyCommonProps(a),t||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},r.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=q(this._extent),e._rawExtent=q(this._rawExtent)},r.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var a=this._indices.length;t=new e(a);for(var n=0;n<a;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},r.prototype._getRawIdxIdentity=function(e){return e},r.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=(function(){function e(t,a,n,i){return Ai(t[i],this._dimensions[i])}Wo={arrayRows:e,objectRows:function(t,a,n,i){return Ai(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Ai(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}})(),r})(),up=(function(){function r(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,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 e=this._sourceHost,t=this._getUpstreamSourceManagers(),a=!!t.length,n,i;if(jn(e)){var o=e,s=void 0,l=void 0,u=void 0;if(a){var f=t[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=Ke(s)?ar:je,i=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=j(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=j(c.sourceHeader,h.sourceHeader),p=j(c.dimensions,h.dimensions),y=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||p;n=y?[al(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var g=e;if(a){var m=this._applyTransform(t);n=m.sourceList,i=m.upstreamSignList}else{var _=g.get("source",!0);n=[al(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(n,i)},r.prototype._applyTransform=function(e){var t=this._sourceHost,a=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(n!=null){var i="";e.length!==1&&lc(i)}var o,s=[],l=[];return T(e,function(u){u.prepareSource();var f=u.getSource(n||0),c="";n!=null&&!f&&lc(c),s.push(f),l.push(u._getVersionSign())}),a?o=MS(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[uS(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var a=e[t];if(a._isDirty()||this._upstreamSignList[t]!==a._getVersionSign())return!0}},r.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var a=this._getUpstreamSourceManagers();return a[0]&&a[0].getSource(e)}return t},r.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},r.prototype._innerGetDataStore=function(e,t,a){var n=0,i=this._storeList,o=i[n];o||(o=i[n]={});var s=o[a];if(!s){var l=this._getUpstreamSourceManagers()[0];jn(this._sourceHost)&&l?s=l._innerGetDataStore(e,t,a):(s=new nl,s.initData(new rp(t,e.length),e)),o[a]=s}return s},r.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(jn(e)){var t=Su(e);return t?[t.getSourceManager()]:[]}else return X(V_(e),function(a){return a.getSourceManager()})},r.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,t,a,n;if(jn(e))t=e.get("seriesLayoutBy",!0),a=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;t=i.get("seriesLayoutBy",!0),a=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:a,dimensions:n}},r})();function sc(r){var e=r.option.transform;e&&Ri(r.option.transform)}function jn(r){return r.mainType==="series"}function lc(r){throw new Error(r)}var kS="line-height:1";function fp(r){var e=r.lineHeight;return e==null?kS:"line-height:"+Ye(e+"")+"px"}function cp(r,e){var t=r.color||B.color.tertiary,a=r.fontSize||12,n=r.fontWeight||"400",i=r.color||B.color.secondary,o=r.fontSize||14,s=r.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+Ye(a+"")+"px;color:"+Ye(t)+";font-weight:"+Ye(n+""),valueStyle:"font-size:"+Ye(o+"")+"px;color:"+Ye(i)+";font-weight:"+Ye(s+"")}:{nameStyle:{fontSize:a,fill:t,fontWeight:n},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var PS=[0,10,20,30],RS=["",`
|
|
2
2
|
`,`
|
|
3
3
|
|
|
4
4
|
`,`
|