vab-chunk-69403744.e20d2d8d.js 144 KB

123456
  1. /*!
  2. * build: Vue Admin Plus
  3. * copyright: vue-admin-beautiful.com
  4. * time: 2024-06-17 18:02:30
  5. */
  6. (self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[390],{74353:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",a="minute",o="hour",s="day",l="week",u="month",c="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},v=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:v,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,u),a=n-i<0,o=e.clone().add(r+(a?-1:1),u);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:l,d:s,D:f,h:o,m:a,s:i,ms:r,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",b={};b[x]=m;var S="$isDayjsObject",_=function(t){return t instanceof I||!(!t||!t[S])},M=function t(e,n,r){var i;if(!e)return x;if("string"==typeof e){var a=e.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=e.split("-");if(!i&&o.length>1)return t(o[0])}else{var s=e.name;b[s]=e,i=s}return!r&&i&&(x=i),i||!r&&x},w=function(t,e){if(_(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new I(n)},A=y;A.l=M,A.i=_,A.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var I=function(){function m(t){this.$L=M(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[S]=!0}var v=m.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(e)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return A},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},v.isAfter=function(t,e){return w(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<w(t)},v.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var n=this,r=!!A.u(e)||e,c=A.p(t),h=function(t,e){var i=A.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(s)},p=function(t,e){return A.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},g=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case d:return r?h(1,0):h(31,11);case u:return r?h(1,m):h(0,m+1);case l:var x=this.$locale().weekStart||0,b=(g<x?g+7:g)-x;return h(r?v-b:v+(6-b),m);case s:case f:return p(y+"Hours",0);case o:return p(y+"Minutes",1);case a:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var n,l=A.p(t),c="set"+(this.$u?"UTC":""),h=(n={},n[s]=c+"Date",n[f]=c+"Date",n[u]=c+"Month",n[d]=c+"FullYear",n[o]=c+"Hours",n[a]=c+"Minutes",n[i]=c+"Seconds",n[r]=c+"Milliseconds",n)[l],p=l===s?this.$D+(e-this.$W):e;if(l===u||l===d){var g=this.clone().set(f,1);g.$d[h](p),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[A.p(t)]()},v.add=function(r,c){var f,h=this;r=Number(r);var p=A.p(c),g=function(t){var e=w(h);return A.w(e.date(e.date()+Math.round(t*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===s)return g(1);if(p===l)return g(7);var m=(f={},f[a]=e,f[o]=n,f[i]=t,f)[p]||1,v=this.$d.getTime()+r*m;return A.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),a=this.$H,o=this.$m,s=this.$M,l=n.weekdays,u=n.months,c=n.meridiem,d=function(t,n,i,a){return t&&(t[n]||t(e,r))||i[n].slice(0,a)},f=function(t){return A.s(a%12||12,t,"0")},p=c||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return s+1;case"MM":return A.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(n.weekdaysMin,e.$W,l,2);case"ddd":return d(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(a);case"HH":return A.s(a,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(a,o,!0);case"A":return p(a,o,!1);case"m":return String(o);case"mm":return A.s(o,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,h){var p,g=this,m=A.p(f),v=w(r),y=(v.utcOffset()-this.utcOffset())*e,x=this-v,b=function(){return A.m(g,v)};switch(m){case d:p=b()/12;break;case u:p=b();break;case c:p=b()/3;break;case l:p=(x-y)/6048e5;break;case s:p=(x-y)/864e5;break;case o:p=x/n;break;case a:p=x/e;break;case i:p=x/t;break;default:p=x}return h?p:A.a(p)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return b[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=M(t,e,!0);return r&&(n.$L=r),n},v.clone=function(){return A.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),D=I.prototype;return w.prototype=D,[["$ms",r],["$s",i],["$m",a],["$H",o],["$W",s],["$M",u],["$y",d],["$D",f]].forEach((function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,I,w),t.$i=!0),w},w.locale=M,w.isDayjs=_,w.unix=function(t){return w(1e3*t)},w.en=b[x],w.Ls=b,w.p={},w}))},97375:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){var n=e.prototype,r=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return r.bind(this)(t);var i=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return i.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return i.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return i.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return r.bind(this)(a)}}}))},90445:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},c=function(t,e){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(t.indexOf(r(i,0,e))>-1){n=i>12;break}}else n=t===(e?"pm":"PM");return n},d={A:[i,function(t){this.afternoon=c(t,!1)}],a:[i,function(t){this.afternoon=c(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function f(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,r){var a=r&&r.toUpperCase();return n||i[r]||t[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,l=0;l<s;l+=1){var u=o[l],c=d[u],f=c&&c[0],h=c&&c[1];o[l]=h?{regex:f,parser:h}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,u=t.slice(r),c=a.exec(u)[0];l.call(e,c),t=t.replace(c,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var r=e.prototype,i=r.parse;r.parse=function(t){var e=t.date,r=t.utc,o=t.args;this.$u=r;var s=o[1];if("string"==typeof s){var l=!0===o[2],u=!0===o[3],c=l||u,d=o[2];u&&(d=o[2]),a=this.$locale(),!l&&d&&(a=n.Ls[d]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=f(e)(t),i=r.year,a=r.month,o=r.day,s=r.hours,l=r.minutes,u=r.seconds,c=r.milliseconds,d=r.zone,h=new Date,p=o||(i||a?1:h.getDate()),g=i||h.getFullYear(),m=0;i&&!a||(m=a>0?a-1:h.getMonth());var v=s||0,y=l||0,x=u||0,b=c||0;return d?new Date(Date.UTC(g,m,p,v,y,x,b+60*d.offset*1e3)):n?new Date(Date.UTC(g,m,p,v,y,x,b)):new Date(g,m,p,v,y,x,b)}catch(t){return new Date("")}}(e,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),c&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var h=s.length,p=1;p<=h;p+=1){o[1]=s[p-1];var g=n.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}p===h&&(this.$d=new Date(""))}else i.call(this,t)}}}))},63094:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){e.prototype.dayOfYear=function(t){var e=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"day")}}}))},98867:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}}}))},8906:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}))},21840:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){var r=e.prototype,i=function(t){return t&&(t.indexOf?t:t.s)},a=function(t,e,n,r,a){var o=t.name?t:t.$locale(),s=i(o[e]),l=i(o[n]),u=s||l.map((function(t){return t.slice(0,r)}));if(!a)return u;var c=o.weekStart;return u.map((function(t,e){return u[(e+(c||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(t,e){return t.formats[e]||function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}(t.formats[e.toUpperCase()])},l=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):a(t,"months")},monthsShort:function(e){return e?e.format("MMM"):a(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):a(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):a(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):a(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return s(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var t=o();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(e){return s(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},n.months=function(){return a(o(),"months")},n.monthsShort=function(){return a(o(),"monthsShort","months",3)},n.weekdays=function(t){return a(o(),"weekdays",null,null,t)},n.weekdaysShort=function(t){return a(o(),"weekdaysShort","weekdays",3,t)},n.weekdaysMin=function(t){return a(o(),"weekdaysMin","weekdays",2,t)}}}))},8134:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="week",e="year";return function(n,r,i){var a=r.prototype;a.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=i(this).startOf(e).add(1,e).date(r),o=i(this).endOf(t);if(a.isBefore(o))return 1}var s=i(this).startOf(e).date(r).startOf(t).subtract(1,"millisecond"),l=this.diff(s,t,!0);return l<0?i(this).startOf("week").week():Math.ceil(l)},a.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}}))},28623:function(t){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.weekYear=function(){var t=this.month(),e=this.week(),n=this.year();return 1===e&&11===t?n+1:0===t&&e>=52?n-1:n}}}))},1740:function(t,e,n){"use strict";n.d(e,{Ng:function(){return i.Ng},zm:function(){return i.zm},ZB:function(){return i.ZB},fA:function(){return i.fA},Ts:function(){return i.Ts},mz:function(){return i.mz},bf:function(){return i.bf}});var r=n(3087),i=n(18841),a=n(41836);function o(t){t.registerPainter("canvas",a.A)}var s=n(78041);function l(t){t.registerPainter("svg",s.A)}var u=n(63487),c=n(98026),d=n(62536),f=n(37959),h=n(15215),p=n(47355),g=n(13637),m=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,g.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(t),a=r.dataToPoint(i);if(n)(0,c.__)(r.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var r=t.getTicksCoords(),o=t.getTickModel().get("alignWithLabel"),s=i[n],l="x1"===e[n]||"y1"===e[n];if(l&&!o&&(s+=1),r.length<2)return;if(2===r.length)return void(a[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,c=void 0,d=1,f=0;f<r.length;f++){var h=r[f].coord,p=f===r.length-1?r[f-1].tickValue+d:r[f].tickValue;if(p===s){c=h;break}if(p<s)u=h;else if(null!=u&&p>s){c=(h+u)/2;break}1===f&&(d=p-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),a[n]=t.toGlobalCoord(c)}}));else{var o=this.getData(),s=o.getLayout("offset"),l=o.getLayout("size"),u=r.getBaseAxis().isHorizontal()?0:1;a[u]+=s+l/2}return a}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(p.A);p.A.registerClass(m);var v=m,y=n(12616),x=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.getInitialData=function(){return(0,g.A)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=(0,y.G_)(v.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(v),b=x,S=n(5070),_=n(43870),M=n(43199),w=n(5638),A=n(10992),I=n(59975),D=n(69622),T=n(34833),C=n(89632),L=n(24711),k=n(95235),O=n(84618),P=n(6666),B=n(41849),$=n(44532),R=n(45558);function W(t,e){e=e||{};var n=e.isRoundCap;return function(e,r,i){var a=r.position;if(!a||a instanceof Array)return(0,R.X4)(e,r,i);var o=t(a),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,f=l.r0,h=(d+f)/2,p=l.startAngle,g=l.endAngle,m=(p+g)/2,v=n?Math.abs(d-f)/2:0,y=Math.cos,x=Math.sin,b=u+d*y(p),S=c+d*x(p),_="left",M="top";switch(o){case"startArc":b=u+(f-s)*y(m),S=c+(f-s)*x(m),_="center",M="top";break;case"insideStartArc":b=u+(f+s)*y(m),S=c+(f+s)*x(m),_="center",M="bottom";break;case"startAngle":b=u+h*y(p)+N(p,s+v,!1),S=c+h*x(p)+Y(p,s+v,!1),_="right",M="middle";break;case"insideStartAngle":b=u+h*y(p)+N(p,-s+v,!1),S=c+h*x(p)+Y(p,-s+v,!1),_="left",M="middle";break;case"middle":b=u+h*y(m),S=c+h*x(m),_="center",M="middle";break;case"endArc":b=u+(d+s)*y(m),S=c+(d+s)*x(m),_="center",M="bottom";break;case"insideEndArc":b=u+(d-s)*y(m),S=c+(d-s)*x(m),_="center",M="top";break;case"endAngle":b=u+h*y(g)+N(g,s+v,!0),S=c+h*x(g)+Y(g,s+v,!0),_="left",M="middle";break;case"insideEndAngle":b=u+h*y(g)+N(g,-s+v,!0),S=c+h*x(g)+Y(g,-s+v,!0),_="right",M="middle";break;default:return(0,R.X4)(e,r,i)}return e=e||{},e.x=b,e.y=S,e.align=_,e.verticalAlign=M,e}}function G(t,e,n,r){if((0,c.Et)(r))t.setTextConfig({rotation:r});else if((0,c.cy)(e))t.setTextConfig({rotation:0});else{var i,a=t.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,l=(o+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=l;break;case"startAngle":case"insideStartAngle":i=o;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void t.setTextConfig({rotation:0})}var d=1.5*Math.PI-i;"middle"===u&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),t.setTextConfig({rotation:d})}}function N(t,e,n){return e*Math.sin(t)*(n?-1:1)}function Y(t,e,n){return e*Math.cos(t)*(n?1:-1)}var z=n(79446),E=Math.max,V=Math.min;function F(t,e){var n=t.getArea&&t.getArea();if((0,B.g)(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var i=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var X=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return(0,h.C6)(e,t),e.prototype.render=function(t,e,n,r){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,r))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){(0,M.traverseElements)(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,r){var i,a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,d=q(t,l);d&&this._enableRealtimeSort(d,o,n);var f=t.get("clip",!0)||d,h=F(l,o);a.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],x=this._backgroundEls,b=r&&r.isInitSort,S=r&&"changeAxisOrder"===r.type;function M(t){var e=tt[l.type](o,t),n=dt(l,i,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[t]=n,n}o.diff(s).add((function(e){var n=o.getItemModel(e),r=tt[l.type](o,e,n);if(g&&M(e),o.hasValue(e)&&Q[l.type](r)){var s=!1;f&&(s=H[l.type](h,r));var m=U[l.type](t,o,e,r,i,c,u.model,!1,p);d&&(m.forceLabelAnimation=!0),rt(m,o,e,n,r,t,i,"polar"===l.type),b?m.attr({shape:r}):d?Z(d,c,m,r,e,i,!1,!1):(0,w.LW)(m,{shape:r},t,e),o.setItemGraphicEl(e,m),a.add(m),m.ignore=s}})).update((function(e,n){var r=o.getItemModel(e),_=tt[l.type](o,e,r);if(g){var A=void 0;0===x.length?A=M(n):(A=x[n],A.useStyle(m.getItemStyle()),"cartesian2d"===l.type?A.setShape("r",v):A.setShape("cornerRadius",v),y[e]=A);var I=tt[l.type](o,e),D=ct(i,I,l);(0,w.oi)(A,{shape:D},c,e)}var T=s.getItemGraphicEl(n);if(o.hasValue(e)&&Q[l.type](_)){var L=!1;if(f&&(L=H[l.type](h,_),L&&a.remove(T)),T?(0,w.ap)(T):T=U[l.type](t,o,e,_,i,c,u.model,!!T,p),d&&(T.forceLabelAnimation=!0),S){var k=T.getTextContent();if(k){var O=(0,C.Lu)(k);null!=O.prevValue&&(O.prevValue=O.value)}}else rt(T,o,e,r,_,t,i,"polar"===l.type);b?T.attr({shape:_}):d?Z(d,c,T,_,e,i,!0,S):(0,w.oi)(T,{shape:_},t,e,null),o.setItemGraphicEl(e,T),T.ignore=L,a.add(T)}else a.remove(T)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&(0,w.t5)(n,t,e)})).execute();var A=this._backgroundGroup||(this._backgroundGroup=new _.A);A.removeAll();for(var I=0;I<y.length;++I)A.add(y[I]);a.add(A),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),st(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),st(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&(0,k.Ip)(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var r=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var a=function(t){var n=e.getItemGraphicEl(t),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(e,a,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var r=[];return t.each(t.mapDimension(e.dim),(function(t,e){var i=n(e);i=null==i?NaN:i,r.push({dataIndex:e,mappedValue:i,ordinalNumber:t})})),r.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:(0,c.Tj)(r,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var r=n.scale,i=t.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=r.getOrdinalMeta().categories.length;o<s;++o){var l=t.rawIndexOf(i,r.getRawOrdinalNumber(o)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>a)return!0;a=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),a=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=a;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){(0,w.t5)(e,t,(0,D.z)(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(P.A),H={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,a=t.y+t.height,o=E(e.x,t.x),s=V(e.x+e.width,i),l=E(e.y,t.y),u=V(e.y+e.height,a),c=s<o,d=u<l;return e.x=c&&o>i?s:o,e.y=d&&l>a?u:l,e.width=c?0:s-o,e.height=d?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),c||d},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=V(e.r,t.r),a=E(e.r0,t.r0);e.r=i,e.r0=a;var o=i-a<0;if(n<0){r=e.r;e.r=e.r0,e.r0=r}return o}},U={cartesian2d:function(t,e,n,r,i,a,o,s,l){var u=new A.A({shape:(0,c.X$)({},r),z2:1});if(u.__dataIndex=n,u.name="item",a){var d=u.shape,f=i?"height":"width";d[f]=0}return u},polar:function(t,e,n,r,i,a,o,s,l){var u=!i&&l?O.A:I.A,c=new u({shape:r,z2:1});c.name="item";var d=nt(i);if(c.calculateTextPosition=W(d,{isRoundCap:u===O.A}),a){var f=c.shape,h=i?"r":"endAngle",p={};f[h]=i?r.r0:r.startAngle,p[h]=r[h],(s?w.oi:w.LW)(c,{shape:p},a)}return c}};function q(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===e.type)return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function Z(t,e,n,r,i,a,o,s){var l,u;a?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(o?w.oi:w.LW)(n,{shape:l},e,i,null);var c=e?t.baseAxis.model:null;(o?w.oi:w.LW)(n,{shape:u},c,i)}function j(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var J=["x","y","width","height"],K=["cx","cy","r","startAngle","endAngle"],Q={cartesian2d:function(t){return!j(t,J)},polar:function(t){return!j(t,K)}},tt={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),i=n?it(n,r):0,a=r.width>0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function et(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function nt(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function rt(t,e,n,r,i,a,o,s){var l=e.getItemVisual(n,"style");if(s){if(!a.get("roundCap")){var u=t.shape,d=(0,z.i)(r.getModel("itemStyle"),u,!0);(0,c.X$)(u,d),t.setShape(u)}}else{var f=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",f)}t.useStyle(l);var h=r.getShallow("cursor");h&&t.attr("cursor",h);var p=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",g=(0,C.lx)(r);(0,C.qM)(t,g,{labelFetcher:a,labelDataIndex:n,defaultText:(0,$.i)(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var m=t.getTextContent();if(s&&m){var v=r.get(["label","position"]);t.textConfig.inside="middle"===v||null,G(t,"outside"===v?p:v,nt(o),r.get(["label","rotate"]))}(0,C.Oh)(m,g,a.getRawValue(n),(function(t){return(0,$.T)(e,t)}));var y=r.getModel(["emphasis"]);(0,T.Lm)(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),(0,T.Mx)(t,r),et(i)&&(t.style.fill="none",t.style.stroke="none",(0,c.__)(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function it(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,a)}var at=function(){function t(){}return t}(),ot=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,h.C6)(e,t),e.prototype.getDefaultShape=function(){return new at},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l<n.length;l+=3)o[r]=s,o[i]=n[l+2],a[r]=n[l+r],a[i]=n[l+i],t.rect(a[0],a[1],o[0],o[1])},e}(S.Ay);function st(t,e,n,r){var i=t.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=t.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new ot({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var d=new ot({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=a,d.largeDataIndices=o,d.barWidth=s,e.add(d),d.useStyle(i.getVisual("style")),(0,D.z)(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",lt),d.on("mousemove",lt)),n&&n.push(d)}var lt=(0,L.nF)((function(t){var e=this,n=ut(e,t.offsetX,t.offsetY);(0,D.z)(e).dataIndex=n>=0?n:null}),30,!1);function ut(t,e,n){for(var r=t.baseDimIdx,i=1-r,a=t.shape.points,o=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,d=a.length/3;c<d;c++){var f=3*c;if(l[r]=u,l[i]=a[f+2],s[r]=a[f+r],s[i]=a[f+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return-1}function ct(t,e,n){if((0,B.g)(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}i=n.getArea();var a=e;return{cx:i.cx,cy:i.cy,r0:t?i.r0:a.r0,r:t?i.r:a.r,startAngle:t?a.startAngle:0,endAngle:t?a.endAngle:2*Math.PI}}function dt(t,e,n){var r="polar"===t.type?I.A:A.A;return new r({shape:ct(e,n,t),silent:!0,z2:0})}var ft=X;function ht(t){t.registerChartView(ft),t.registerSeriesModel(b),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,c.cF(d.Zp,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,d.KF)("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,f.A)("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var pt=n(46027),gt=n(3789),mt=n(59923),vt=n(51906),yt=n(96900),xt=n(84510),bt=n(16484),St=n(83583),_t=n(57968),Mt=n(91085),wt=n(9247),At=n(15501),It=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return(0,h.C6)(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(p.A);(0,c.co)(It,At.n,!0);var Dt=It,Tt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this.group,a=this._data;this._data||i.removeAll();var o="horizontal"===t.get("layout")?1:0;r.diff(a).add((function(t){if(r.hasValue(t)){var e=r.getItemLayout(t),n=kt(e,r,t,o,!0);r.setItemGraphicEl(t,n),i.add(n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?((0,w.ap)(n),Ot(s,n,r,t)):n=kt(s,r,t,o),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(P.A),Ct=function(){function t(){}return t}(),Lt=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return(0,h.C6)(e,t),e.prototype.getDefaultShape=function(){return new Ct},e.prototype.buildPath=function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();r<n.length;r++)t.moveTo(n[r][0],n[r][1]),r++,t.lineTo(n[r][0],n[r][1])},e}(S.Ay);function kt(t,e,n,r,i){var a=t.ends,o=new Lt({shape:{points:i?Pt(a,r,t):a}});return Ot(t,o,e,n,i),o}function Ot(t,e,n,r,i){var a=n.hostModel,o=M[i?"initProps":"updateProps"];o(e,{shape:{points:t.ends}},a,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=n.getItemModel(r),l=s.getModel("emphasis");(0,T.Mx)(e,s),(0,T.Lm)(e,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function Pt(t,e,n){return c.Tj(t,(function(t){return t=t.slice(),t[e]=n.initBaseline,t}))}var Bt=Tt,$t=n(24326),Rt=c.__;function Wt(t){var e=Gt(t);Rt(e,(function(t){var e=t.seriesModels;e.length&&(Nt(t),Rt(e,(function(e,n){Yt(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function Gt(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var r=t.getBaseAxis(),i=c.qh(n,r);i<0&&(i=n.length,n[i]=r,e[i]={axis:r,seriesModels:[]}),e[i].seriesModels.push(t)})),e}function Nt(t){var e,n=t.axis,r=t.seriesModels,i=r.length,a=t.boxWidthList=[],o=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;Rt(r,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}Rt(r,(function(t){var n=t.get("boxWidth");c.cy(n)||(n=[n,n]),s.push([(0,$t.lo)(n[0],e)||0,(0,$t.lo)(n[1],e)||0])}));var d=.8*e-2,f=d/i*.3,h=(d-f*(i-1))/i,p=h/2-d/2;Rt(r,(function(t,e){o.push(p),p+=f+h,a.push(Math.min(Math.max(h,s[e][0]),s[e][1]))}))}function Yt(t,e,n){var r=t.coordinateSystem,i=t.getData(),a=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=i.mapDimension(l[o]),c=i.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<i.count();d++){var f=i.get(u,d),h=x(f,c[2],d),p=x(f,c[0],d),g=x(f,c[1],d),m=x(f,c[3],d),v=x(f,c[4],d),y=[];b(y,g,!1),b(y,m,!0),y.push(p,g,v,m),S(y,p),S(y,v),S(y,h),i.setItemLayout(d,{initBaseline:h[s],ends:y})}function x(t,n,a){var l,u=i.get(n,a),c=[];return c[o]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c),l[o]+=e),l}function b(t,e,n){var r=e.slice(),i=e.slice();r[o]+=a,i[o]-=a,n?t.push(r,i):t.push(i,r)}function S(t,e){var n=e.slice(),r=e.slice();n[o]-=a,r[o]+=a,t.push(n,r)}}function zt(t,e){e=e||{};for(var n=[],r=[],i=e.boundIQR,a="none"===i||0===i,o=0;o<t.length;o++){var s=(0,$t.Y6)(t[o].slice()),l=(0,$t.YV)(s,.25),u=(0,$t.YV)(s,.5),d=(0,$t.YV)(s,.75),f=s[0],h=s[s.length-1],p=(null==i?1.5:i)*(d-l),g=a?f:Math.max(f,l-p),m=a?h:Math.min(h,d+p),v=e.itemNameFormatter,y=(0,c.Tn)(v)?v({value:o}):(0,c.Kg)(v)?v.replace("{value}",o+""):o+"";n.push([y,g,l,u,d,m]);for(var x=0;x<s.length;x++){var b=s[x];if(b<g||b>m){var S=[y,b];r.push(S)}}}return{boxData:n,outliers:r}}var Et=n(41025),Vt=n(13430),Ft={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Vt.Km){var n="";0,(0,Et.$8)(n)}var r=zt(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};function Xt(t){t.registerSeriesModel(Dt),t.registerChartView(Bt),t.registerLayout(Wt),t.registerTransform(Ft)}var Ht=["color","borderColor"],Ut=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){M.traverseElements(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,r=this.group,i=e.getLayout("isSimpleBox"),a=t.get("clip",!0),o=t.coordinateSystem,s=o.getArea&&o.getArea();this._data||r.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(a&&Jt(s,o))return;var l=jt(o,n,!0);w.LW(l,{shape:{points:o.ends}},t,n),Kt(l,e,n,i),r.add(l),e.setItemGraphicEl(n,l)}})).update((function(o,l){var u=n.getItemGraphicEl(l);if(e.hasValue(o)){var c=e.getItemLayout(o);a&&Jt(s,c)?r.remove(u):(u?(w.oi(u,{shape:{points:c.ends}},t,o),(0,w.ap)(u)):u=jt(c,o),Kt(u,e,o,i),r.add(u),e.setItemGraphicEl(o,u))}else r.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),ne(t,this.group);var e=t.get("clip",!0)?(0,k.Ip)(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,r=e.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=t.next())){var a=r.getItemLayout(n),o=jt(a,n);Kt(o,r,n,i),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){ne(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(P.A),qt=function(){function t(){}return t}(),Zt=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return(0,h.C6)(e,t),e.prototype.getDefaultShape=function(){return new qt},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(S.Ay);function jt(t,e,n){var r=t.ends;return new Zt({shape:{points:n?Qt(r,t):r},z2:100})}function Jt(t,e){for(var n=!0,r=0;r<e.ends.length;r++)if(t.contain(e.ends[r][0],e.ends[r][1])){n=!1;break}return n}function Kt(t,e,n,r){var i=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=r,(0,T.Mx)(t,i)}function Qt(t,e){return c.Tj(t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var te=function(){function t(){}return t}(),ee=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return(0,h.C6)(e,t),e.prototype.getDefaultShape=function(){return new te},e.prototype.buildPath=function(t,e){for(var n=e.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];t.moveTo(i,n[r++]),t.lineTo(i,n[r++])}else r+=3},e}(S.Ay);function ne(t,e,n,r){var i=t.getData(),a=i.getLayout("largePoints"),o=new ee({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});e.add(o);var s=new ee({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var l=new ee({shape:{points:a},__sign:0,ignoreCoarsePointer:!0});e.add(l),re(1,o,t,i),re(-1,s,t,i),re(0,l,t,i),r&&(o.incremental=!0,s.incremental=!0),n&&n.push(o,s)}function re(t,e,n,r){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(i=n.get(["itemStyle","borderColorDoji"]));var a=n.getModel("itemStyle").getItemStyle(Ht);e.useStyle(a),e.style.fill=null,e.style.stroke=i}var ie=Ut,ae=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return(0,h.C6)(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(p.A);(0,c.co)(ae,At.n,!0);var oe=ae;function se(t){t&&c.cy(t.series)&&c.__(t.series,(function(t){c.Gv(t)&&"k"===t.type&&(t.type="candlestick")}))}var le=n(87582),ue=["itemStyle","borderColor"],ce=["itemStyle","borderColor0"],de=["itemStyle","borderColorDoji"],fe=["itemStyle","color"],he=["itemStyle","color0"],pe={seriesType:"candlestick",plan:(0,le.A)(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?fe:he)}function r(t,e){return e.get(0===t?de:t>0?ue:ce)}if(!e.isSeriesFiltered(t)){var i=t.pipelineContext.large;return!i&&{progress:function(t,e){var i;while(null!=(i=t.next())){var a=e.getItemModel(i),o=e.getItemLayout(i).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=r(o,a)||s.fill;var l=e.ensureUniqueItemVisual(i,"style");(0,c.X$)(l,s)}}}}}},ge=pe,me=n(8957),ve={seriesType:"candlestick",plan:(0,le.A)(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=xe(t,n),i=0,a=1,o=["x","y"],s=n.getDimensionIndex(n.mapDimension(o[i])),l=(0,c.Tj)(n.mapDimensionsAll(o[a]),n.getDimensionIndex,n),u=l[0],d=l[1],f=l[2],h=l[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||l.length<4))return{progress:t.pipelineContext.large?g:p};function p(t,n){var o,l=n.getStore();while(null!=(o=t.next())){var c=l.get(s,o),p=l.get(u,o),g=l.get(d,o),m=l.get(f,o),v=l.get(h,o),y=Math.min(p,g),x=Math.max(p,g),b=T(y,c),S=T(x,c),_=T(m,c),w=T(v,c),A=[];C(A,S,0),C(A,b,1),A.push(k(w),k(S),k(_),k(b));var I=n.getItemModel(o),D=!!I.get(["itemStyle","borderColorDoji"]);n.setItemLayout(o,{sign:ye(l,o,p,g,d,D),initBaseline:p>g?S[a]:b[a],ends:A,brushRect:L(m,v,c)})}function T(t,n){var r=[];return r[i]=n,r[a]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function C(t,e,n){var a=e.slice(),o=e.slice();a[i]=(0,M.subPixelOptimize)(a[i]+r/2,1,!1),o[i]=(0,M.subPixelOptimize)(o[i]-r/2,1,!0),n?t.push(a,o):t.push(o,a)}function L(t,e,n){var o=T(t,n),s=T(e,n);return o[i]-=r/2,s[i]-=r/2,{x:o[0],y:o[1],width:a?r:s[0]-o[0],height:a?s[1]-o[1]:r}}function k(t){return t[i]=(0,M.subPixelOptimize)(t[i],1),t}}function g(n,r){var o,l,c=(0,me.J)(4*n.count),p=0,g=[],m=[],v=r.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var x=v.get(s,l),b=v.get(u,l),S=v.get(d,l),_=v.get(f,l),M=v.get(h,l);isNaN(x)||isNaN(_)||isNaN(M)?(c[p++]=NaN,p+=3):(c[p++]=ye(v,l,b,S,d,y),g[i]=x,g[a]=_,o=e.dataToPoint(g,null,m),c[p++]=o?o[0]:NaN,c[p++]=o?o[1]:NaN,g[a]=M,o=e.dataToPoint(g,null,m),c[p++]=o?o[1]:NaN)}r.setLayout("largePoints",c)}}};function ye(t,e,n,r,i,a){var o;return o=n>r?-1:n<r?1:a?0:e>0?t.get(i,e-1)<=r?1:-1:1,o}function xe(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=(0,$t.lo)((0,c.bZ)(t.get("barMaxWidth"),i),i),o=(0,$t.lo)((0,c.bZ)(t.get("barMinWidth"),1),i),s=t.get("barWidth");return null!=s?(0,$t.lo)(s,i):Math.max(Math.min(i/2,a),o)}var be=ve;function Se(t){t.registerChartView(ie),t.registerSeriesModel(oe),t.registerPreprocessor(se),t.registerVisual(ge),t.registerLayout(be)}var _e=n(2189),Me=n(61898),we=n(75455),Ae=n(31571),Ie=n(62103),De=n(90540),Te=["itemStyle","borderWidth"],Ce=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Le=new Ae.A,ke=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.render=function(t,e,n){var r=this.group,i=t.getData(),a=this._data,o=t.coordinateSystem,s=o.getBaseAxis(),l=s.isHorizontal(),u=o.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:Ce[+l],categoryDim:Ce[1-+l]};i.diff(a).add((function(t){if(i.hasValue(t)){var e=Ve(i,t),n=Oe(i,t,e,c),a=He(i,c,n);i.setItemGraphicEl(t,a),r.add(a),Ke(a,c,n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(i.hasValue(t)){var o=Ve(i,t),s=Oe(i,t,o,c),l=Ze(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(t,null),n=null),n?Ue(n,c,s):n=He(i,c,s,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,r.add(n),Ke(n,c,s)}else r.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&qe(a,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var d=t.get("clip",!0)?(0,k.Ip)(t.coordinateSystem,!1,t):null;return d?r.setClipPath(d):r.removeClipPath(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,r=this._data;t.get("animation")?r&&r.eachItemGraphicEl((function(e){qe(r,(0,D.z)(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(P.A);function Oe(t,e,n,r){var i=t.getItemLayout(e),a=n.get("symbolRepeat"),o=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),f={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Pe(n,a,i,r,f),$e(t,e,i,a,o,f.boundingLength,f.pxSign,c,r,f),Re(n,f.symbolScale,u,r,f);var h=f.symbolSize,p=(0,Ie.hV)(n.get("symbolOffset"),h);return We(n,h,i,a,o,p,s,f.valueLineWidth,f.boundingLength,f.repeatCutLength,r,f),f}function Pe(t,e,n,r,i){var a,o=r.valueDim,s=t.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),d=1-+(n[o.wh]<=0);if(c.cy(s)){var f=[Be(l,s[0])-u,Be(l,s[1])-u];f[1]<f[0]&&f.reverse(),a=f[d]}else a=null!=s?Be(l,s)-u:e?r.coordSysExtent[o.index][d]-u:n[o.wh];i.boundingLength=a,e&&(i.repeatCutLength=n[o.wh]),i.pxSign=a>0?1:-1}function Be(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function $e(t,e,n,r,i,a,o,s,l,u){var d,f=l.valueDim,h=l.categoryDim,p=Math.abs(n[h.wh]),g=t.getItemVisual(e,"symbolSize");d=c.cy(g)?g.slice():null==g?["100%","100%"]:[g,g],d[h.index]=(0,$t.lo)(d[h.index],p),d[f.index]=(0,$t.lo)(d[f.index],r?p:Math.abs(a)),u.symbolSize=d;var m=u.symbolScale=[d[0]/s,d[1]/s];m[f.index]*=(l.isHorizontal?-1:1)*o}function Re(t,e,n,r,i){var a=t.get(Te)||0;a&&(Le.attr({scaleX:e[0],scaleY:e[1],rotation:n}),Le.updateTransform(),a/=Le.getLineScale(),a*=e[r.valueDim.index]),i.valueLineWidth=a||0}function We(t,e,n,r,i,a,o,s,l,u,d,f){var h=d.categoryDim,p=d.valueDim,g=f.pxSign,m=Math.max(e[p.index]+s,0),v=m;if(r){var y=Math.abs(l),x=c.Je(t.get("symbolMargin"),"15%")+"",b=!1;x.lastIndexOf("!")===x.length-1&&(b=!0,x=x.slice(0,x.length-1));var S=(0,$t.lo)(x,e[p.index]),_=Math.max(m+2*S,0),M=b?0:2*S,w=(0,$t.kf)(r),A=w?r:Qe((y+M)/_),I=y-A*m;S=I/2/(b?A:Math.max(A-1,1)),_=m+2*S,M=b?0:2*S,w||"fixed"===r||(A=u?Qe((Math.abs(u)+M)/_):0),v=A*_-M,f.repeatTimes=A,f.symbolMargin=S}var D=g*(v/2),T=f.pathPosition=[];T[h.index]=n[h.wh]/2,T[p.index]="start"===o?D:"end"===o?l-D:l/2,a&&(T[0]+=a[0],T[1]+=a[1]);var C=f.bundlePosition=[];C[h.index]=n[h.xy],C[p.index]=n[p.xy];var L=f.barRectShape=c.X$({},n);L[p.wh]=g*Math.max(Math.abs(n[p.wh]),Math.abs(T[p.index]+D)),L[h.wh]=n[h.wh];var k=f.clipShape={};k[h.xy]=-n[h.xy],k[h.wh]=d.ecSize[h.wh],k[p.xy]=0,k[p.wh]=n[p.wh]}function Ge(t){var e=t.symbolPatternSize,n=(0,Ie.v5)(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function Ne(t,e,n,r){var i=t.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,d=a[e.valueDim.index]+o+2*n.symbolMargin;for(je(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?Je(t,null,p(c),n,r):Je(t,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(t)})),c++}));c<u;c++){var f=Ge(n);f.__pictorialAnimationIndex=c,f.__pictorialRepeatTimes=u,i.add(f);var h=p(c);Je(f,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,r)}function p(t){var e=s.slice(),r=n.pxSign,i=t;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=u-1-t),e[l.index]=d*(i-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function Ye(t,e,n,r){var i=t.__pictorialBundle,a=t.__pictorialMainPath;a?Je(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(a=t.__pictorialMainPath=Ge(n),i.add(a),Je(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function ze(t,e,n){var r=c.X$({},e.barRectShape),i=t.__pictorialBarRect;i?Je(i,null,{shape:r},e,n):(i=t.__pictorialBarRect=new A.A({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,t.add(i))}function Ee(t,e,n,r){if(n.symbolClip){var i=t.__pictorialClipPath,a=c.X$({},n.clipShape),o=e.valueDim,s=n.animationModel,l=n.dataIndex;if(i)w.oi(i,{shape:a},s,l);else{a[o.wh]=0,i=new A.A({shape:a}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var u={};u[o.wh]=n.clipShape[o.wh],M[r?"updateProps":"initProps"](i,{shape:u},s,l)}}}function Ve(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=Fe,n.isAnimationEnabled=Xe,n}function Fe(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function Xe(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function He(t,e,n,r){var i=new _.A,a=new _.A;return i.add(a),i.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?Ne(i,e,n):Ye(i,e,n),ze(i,n,r),Ee(i,e,n,r),i.__pictorialShapeStr=Ze(t,n),i.__pictorialSymbolMeta=n,i}function Ue(t,e,n){var r=n.animationModel,i=n.dataIndex,a=t.__pictorialBundle;w.oi(a,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?Ne(t,e,n,!0):Ye(t,e,n,!0),ze(t,n,!0),Ee(t,e,n,!0)}function qe(t,e,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var a=[];je(r,(function(t){a.push(t)})),r.__pictorialMainPath&&a.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),c.__(a,(function(t){w.Nz(t,{scaleX:0,scaleY:0},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function Ze(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function je(t,e,n){c.__(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function Je(t,e,n,r,i,a){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&M[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function Ke(t,e,n){var r=n.dataIndex,i=n.itemModel,a=i.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),d=a.get("focus"),f=a.get("blurScope"),h=a.get("scale");je(t,(function(t){if(t instanceof De.Ay){var e=t.style;t.useStyle(c.X$({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var r=t.ensureState("emphasis");r.style=o,h&&(r.scaleX=1.1*t.scaleX,r.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)],g=t.__pictorialBarRect;g.ignoreClip=!0,(0,C.qM)(g,(0,C.lx)(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:(0,$.i)(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),(0,T.Lm)(t,d,f,a.get("disabled"))}function Qe(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var tn=ke,en=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return(0,h.C6)(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=(0,y.G_)(v.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(v),nn=en;function rn(t){t.registerChartView(tn),t.registerSeriesModel(nn),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,(0,c.cF)(d.Zp,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,d.KF)("pictorialBar"))}var an=n(62722),on=n(90727),sn=n(48170),ln={color:"fill",borderColor:"stroke"},un={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},cn=(0,sn.$r)(),dn=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return(0,g.A)(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=cn(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(p.A),fn=dn,hn=n(82980),pn=n(16563),gn=n(84557),mn=n(79798),vn=n(76953),yn=n(68971),xn=n(36915),bn=n(71519),Sn=n(9848),_n=n(23538),Mn=n(57625),wn=n(92606),An="emphasis",In="normal",Dn="blur",Tn="select",Cn=[In,An,Dn,Tn],Ln={normal:["itemStyle"],emphasis:[An,"itemStyle"],blur:[Dn,"itemStyle"],select:[Tn,"itemStyle"]},kn={normal:["label"],emphasis:[An,"label"],blur:[Dn,"label"],select:[Tn,"label"]},On=["x","y"],Pn="e\0\0",Bn={normal:{},emphasis:{},blur:{},select:{}},$n={cartesian2d:gn.A,geo:mn.A,single:vn.A,polar:yn.A,calendar:xn.A};function Rn(t){return t instanceof S.Ay}function Wn(t){return t instanceof bn.Ay}function Gn(t,e){e.copyTransform(t),Wn(e)&&Wn(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,Rn(e)&&Rn(t)&&e.setShape(t.shape))}var Nn=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,h.C6)(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._data,a=t.getData(),o=this.group,s=Hn(t,a,e,n);i||o.removeAll(),a.diff(i).add((function(e){qn(n,null,e,s(e,r),t,o,a)})).remove((function(e){var n=i.getItemGraphicEl(e);n&&(0,Mn.h8)(n,cn(n).option,t)})).update((function(e,l){var u=i.getItemGraphicEl(l);qn(n,u,e,s(e,r),t,o,a)})).execute();var l=t.get("clip",!0)?(0,k.Ip)(t.coordinateSystem,!1,t):null;l?o.setClipPath(l):o.removeClipPath(),this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,r,i){var a=e.getData(),o=Hn(e,a,n,r),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=qn(null,null,u,o(u,i),e,this.group,a);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){M.traverseElements(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,r){var i=e.element;if(null==i||n.name===i)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===i)return!0;return!1},e.type="custom",e}(P.A),Yn=Nn;function zn(t){var e,n=t.type;if("path"===n){var r=t.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=lr(r);e=M.makePath(a,null,i,r.layout||"center"),cn(e).customPathData=a}else if("image"===n)e=new De.Ay({}),cn(e).customImagePath=t.style.image;else if("text"===n)e=new hn.Ay({});else if("group"===n)e=new _.A;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=M.getShapeClass(n);if(!o){var s="";0,(0,Et.$8)(s)}e=new o}return cn(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function En(t,e,n,r,i,a,o){(0,wn.$)(e);var s=i&&i.normal.cfg;s&&e.setTextConfig(s),r&&null==r.transition&&(r.transition=On);var l=r&&r.style;if(l){if("text"===e.type){var u=l;(0,c.$3)(u,"textFill")&&(u.fill=u.textFill),(0,c.$3)(u,"textStroke")&&(u.stroke=u.textStroke)}var d=void 0,f=Rn(e)?l.decal:null;t&&f&&(f.dirty=!0,d=(0,_n.w)(f,t)),l.__decalPattern=d}if(Wn(e)&&l){d=l.__decalPattern;d&&(l.decal=d)}(0,Mn.rh)(e,r,a,{dataIndex:n,isInit:o,clearStyle:!0}),(0,wn.L)(e,r.keyframeAnimation,a)}function Vn(t,e,n,r,i){var a=e.isGroup?null:e,o=i&&i[t].cfg;if(a){var s=a.ensureState(t);if(!1===r){var l=a.getState(t);l&&(l.style=null)}else s.style=r||null;o&&(s.textConfig=o),(0,T.DW)(a)}}function Fn(t,e,n){if(!t.isGroup){var r=t,i=n.currentZ,a=n.currentZLevel;r.z=i,r.zlevel=a;var o=e.z2;null!=o&&(r.z2=o||0);for(var s=0;s<Cn.length;s++)Xn(r,e,Cn[s])}}function Xn(t,e,n){var r,i=n===In,a=i?e:tr(e,n),o=a?a.z2:null;null!=o&&(r=i?t:t.ensureState(n),r.z2=o||0)}function Hn(t,e,n,r){var i=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):$n[a.type](a));for(var s,l,u=(0,c.NT)({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:_,style:w,ordinalRawValue:M,styleEmphasis:A,visual:T,barLayout:L,currentSeriesIndices:k,font:O},o.api||{}),f={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:Un(t.getData())},h={},p={},g={},m={},v=0;v<Cn.length;v++){var y=Cn[v];g[y]=t.getModel(Ln[y]),m[y]=t.getModel(kn[y])}function x(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function b(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=x(t).getModel(Ln[n])):x(t).getModel(Ln[n]):g[n]}function S(t,n){return e.hasItemOption?t===s?p[n]||(p[n]=x(t).getModel(kn[n])):x(t).getModel(kn[n]):m[n]}return function(t,n){return s=t,l=null,h={},p={},i&&i((0,c.NT)({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},f),u)};function _(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)}function M(t,n){null==n&&(n=s),t=t||0;var r=e.getDimensionInfo(t);if(!r){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var a=e.get(r.name,n),o=r&&r.ordinalMeta;return o?o.categories[a]:a}function w(n,r){null==r&&(r=s);var i=e.getItemVisual(r,"style"),a=i&&i.fill,o=i&&i.opacity,l=b(r,In).getItemStyle();null!=a&&(l.fill=a),null!=o&&(l.opacity=o);var u={inheritColor:(0,c.Kg)(a)?a:"#000"},d=S(r,In),f=C.VB(d,null,u,!1,!0);f.text=d.getShallow("show")?(0,c.bZ)(t.getFormattedLabel(r,In),(0,$.i)(e,r)):null;var h=C.sD(d,u,!1);return D(n,l),l=(0,Sn.Fs)(l,f,h),n&&I(l,n),l.legacy=!0,l}function A(n,r){null==r&&(r=s);var i=b(r,An).getItemStyle(),a=S(r,An),o=C.VB(a,null,null,!0,!0);o.text=a.getShallow("show")?(0,c.WV)(t.getFormattedLabel(r,An),t.getFormattedLabel(r,In),(0,$.i)(e,r)):null;var l=C.sD(a,null,!0);return D(n,i),i=(0,Sn.Fs)(i,o,l),n&&I(i,n),i.legacy=!0,i}function I(t,e){for(var n in e)(0,c.$3)(e,n)&&(t[n]=e[n])}function D(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function T(t,n){if(null==n&&(n=s),(0,c.$3)(ln,t)){var r=e.getItemVisual(n,"style");return r?r[ln[t]]:null}if((0,c.$3)(un,t))return e.getItemVisual(n,t)}function L(t){if("cartesian2d"===a.type){var e=a.getBaseAxis();return(0,d.DL)((0,c.NT)({axis:e},t))}}function k(){return n.getCurrentSeriesIndices()}function O(t){return C.c8(t,n)}}function Un(t){var e={};return(0,c.__)(t.dimensions,(function(n){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,a=e[i]=e[i]||[];a[r.coordDimIndex]=t.getDimensionIndex(n)}})),e}function qn(t,e,n,r,i,a,o){if(r){var s=Zn(t,e,n,r,i,a);return s&&o.setItemGraphicEl(n,s),s&&(0,T.Lm)(s,r.focus,r.blurScope,r.emphasisDisabled),s}a.remove(e)}function Zn(t,e,n,r,i,a){var o=-1,s=e;e&&jn(e,r,i)&&(o=(0,c.qh)(a.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=zn(r),s&&Gn(s,u)),!1===r.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),Bn.normal.cfg=Bn.normal.conOpt=Bn.emphasis.cfg=Bn.emphasis.conOpt=Bn.blur.cfg=Bn.blur.conOpt=Bn.select.cfg=Bn.select.conOpt=null,Bn.isLegacy=!1,Kn(u,n,r,i,l,Bn),Jn(u,n,r,i,l),En(t,u,n,r,Bn,i,l),(0,c.$3)(r,"info")&&(cn(u).info=r.info);for(var d=0;d<Cn.length;d++){var f=Cn[d];if(f!==In){var h=tr(r,f),p=er(r,h,f);Vn(f,u,h,p,Bn)}}return Fn(u,r,i),"group"===r.type&&nr(t,u,n,r,i),o>=0?a.replaceAt(u,o):a.add(u),u}function jn(t,e,n){var r=cn(t),i=e.type,a=e.shape,o=e.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&ur(a)&&lr(a)!==r.customPathData||"image"===i&&(0,c.$3)(o,"image")&&o.image!==r.customImagePath}function Jn(t,e,n,r,i){var a=n.clipPath;if(!1===a)t&&t.getClipPath()&&t.removeClipPath();else if(a){var o=t.getClipPath();o&&jn(o,a,r)&&(o=null),o||(o=zn(a),t.setClipPath(o)),En(null,o,e,a,null,r,i)}}function Kn(t,e,n,r,i,a){if(!t.isGroup){Qn(n,null,a),Qn(n,An,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,l=a.blur.conOpt,u=a.select.conOpt;if(null!=o||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===o)c&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=zn(o),t.setTextContent(c)),En(null,c,e,o,null,r,i);for(var d=o&&o.style,f=0;f<Cn.length;f++){var h=Cn[f];if(h!==In){var p=a[h].conOpt;Vn(h,c,p,er(o,p,h),null)}}d?c.dirty():c.markRedraw()}}}}function Qn(t,e,n){var r=e?tr(t,e):t,i=e?er(t,r,An):t.style,a=t.type,o=r?r.textConfig:null,s=t.textContent,l=s?e?tr(s,e):s:null;if(i&&(n.isLegacy||(0,Sn.ex)(i,a,!!o,!!l))){n.isLegacy=!0;var u=(0,Sn.lH)(i,a,!e);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var d=e?n[e]:n.normal;d.cfg=o,d.conOpt=l}function tr(t,e){return e?t?t[e]:null:t}function er(t,e,n){var r=e&&e.style;return null==r&&n===An&&t&&(r=t.styleEmphasis),r}function nr(t,e,n,r,i){var a=r.children,o=a?a.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,u=!1===s;if(o||l||u)if(l)ir({api:t,oldChildren:e.children()||[],newChildren:a||[],dataIndex:n,seriesModel:i,group:e});else{u&&e.removeAll();for(var c=0;c<o;c++){var d=a[c],f=e.childAt(c);d?(null==d.ignore&&(d.ignore=!1),Zn(t,f,n,d,i,e)):f.ignore=!0}for(var h=e.childCount()-1;h>=c;h--){var p=e.childAt(h);rr(e,p,i)}}}function rr(t,e,n){e&&(0,Mn.h8)(e,cn(t).option,n)}function ir(t){new pn.A(t.oldChildren,t.newChildren,ar,ar,t).add(or).update(or).remove(sr).execute()}function ar(t,e){var n=t&&t.name;return null!=n?n:Pn+e}function or(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;Zn(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function sr(t){var e=this.context,n=e.oldChildren[t];n&&(0,Mn.h8)(n,cn(n).option,e.seriesModel)}function lr(t){return t&&(t.pathData||t.d)}function ur(t){return t&&((0,c.$3)(t,"pathData")||(0,c.$3)(t,"d"))}function cr(t){t.registerChartView(Yn),t.registerSeriesModel(fn)}var dr=n(45620),fr=n(59166),hr=n(20142),pr=n(68241),gr=n(83874),mr=n(293),vr=n(20381),yr=n(34016),xr=n(73416),br=n(97063),Sr=n(18330),_r=n(74064),Mr=n(67338),wr=n(95508),Ar=n(66021),Ir=n(81807),Dr=n(5690),Tr=n(45967),Cr=n(17535),Lr=n(90684),kr=n(28540),Or=n(56668),Pr=n(62054),Br=n(70292),$r=n(71883),Rr=n(76302),Wr=n(2967),Gr=n(99429);function Nr(t){return(0,c.cy)(t[0])}function Yr(t,e){for(var n=[],r=t.length,i=0;i<r;i++)n.push({one:t[i],many:[]});for(i=0;i<e.length;i++){var a=e[i].length,o=void 0;for(o=0;o<a;o++)n[o%r].many.push(e[i][o])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[i].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var zr={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r<t.count;r++){var i=(0,Gr.rR)(t.path);i.setStyle("opacity",n),e.push(i)}return e},split:null};function Er(t,e,n,r,i,a){if(t.length&&e.length){var o=(0,w.Jw)("update",r,i);if(o&&o.duration>0){var s,l,u=r.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},o);Nr(t)&&(s=t,l=e),Nr(e)&&(s=e,l=t);for(var f=s?s===t:t.length>e.length,h=s?Yr(l,s):Yr(f?e:t,[f?t:e]),p=0,g=0;g<h.length;g++)p+=h[g].many.length;var m=0;for(g=0;g<h.length;g++)v(h[g],f,m,p),m+=h[g].many.length}}function v(t,e,r,i,o){var s=t.many,l=t.one;if(1!==s.length||o)for(var f=(0,c.NT)({dividePath:zr[n],individualDelay:u&&function(t,e,n,a){return u(t+r,i)}},d),h=e?(0,Wr.Gw)(s,l,f):(0,Wr.AG)(l,s,f),p=h.fromIndividuals,g=h.toIndividuals,m=p.length,y=0;y<m;y++){S=u?(0,c.NT)({delay:u(y,m)},d):d;a(p[y],g[y],e?s[y]:t.one,e?t.one:s[y],S)}else{var x=e?s[0]:l,b=e?l:s[0];if((0,Wr.AN)(x))v({many:[x],one:b},!0,r,i,!0);else{var S=u?(0,c.NT)({delay:u(r,i)},d):d;(0,Wr.mz)(x,b,S),a(x,b,x,b,S)}}}}function Vr(t){if(!t)return[];if((0,c.cy)(t)){for(var e=[],n=0;n<t.length;n++)e.push(Vr(t[n]));return e}var r=[];return t.traverse((function(t){t instanceof S.Ay&&!t.disableMorphing&&!t.invisible&&!t.ignore&&r.push(t)})),r}var Fr=1e4,Xr=0,Hr=1,Ur=2,qr=(0,sn.$r)();function Zr(t,e){for(var n=t.dimensions,r=0;r<n.length;r++){var i=t.getDimensionInfo(n[r]);if(i&&0===i.otherDims[e])return n[r]}}function jr(t,e,n){var r=t.getDimensionInfo(n),i=r&&r.ordinalMeta;if(r){var a=t.get(r.name,e);return i&&i.categories[a]||a+""}}function Jr(t,e,n,r){var i=r?"itemChildGroupId":"itemGroupId",a=Zr(t,i);if(a){var o=jr(t,e,a);return o}var s=t.getRawDataItem(e),l=r?"childGroupId":"groupId";return s&&s[l]?s[l]+"":r?void 0:n||t.getId(e)}function Kr(t){var e=[];return(0,c.__)(t,(function(t){var n=t.data,r=t.dataGroupId;if(!(n.count()>Fr))for(var i=n.getIndices(),a=0;a<i.length;a++)e.push({data:n,groupId:Jr(n,a,r,!1),childGroupId:Jr(n,a,r,!0),divide:t.divide,dataIndex:a})})),e}function Qr(t,e,n){t.traverse((function(t){t instanceof S.Ay&&(0,w.LW)(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function ti(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function ei(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function ni(t,e,n){var r=(0,w.Jw)("update",n,e);r&&t.traverse((function(t){if(t instanceof bn.Ay){var e=(0,w.Xr)(t);e&&t.animateFrom({style:e},r)}}))}function ri(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++){var i=t[r],a=e[r];if(i.data.getId(i.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function ii(t,e,n){var r=Kr(t),i=Kr(e);function a(t,e,n,r,i){(n||t)&&e.animateFrom({style:n&&n!==t?(0,c.X$)((0,c.X$)({},n.style),t.style):t.style},i)}var o=!1,s=Xr,l=(0,c.nt)(),u=(0,c.nt)();r.forEach((function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)}));for(var d=0;d<i.length;d++){var f=i[d].groupId;if(u.get(f)){s=Hr;break}var h=i[d].childGroupId;if(h&&l.get(h)){s=Ur;break}}function p(t,e){return function(n){var r=n.data,i=n.dataIndex;return e?r.getId(i):t?s===Hr?n.childGroupId:n.groupId:s===Ur?n.childGroupId:n.groupId}}var g=ri(r,i),m={};if(!g)for(d=0;d<i.length;d++){var v=i[d],y=v.data.getItemGraphicEl(v.dataIndex);y&&(m[y.id]=!0)}function x(t,e){var n=r[e],s=i[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&m[u.id]||c&&(ei(c),u?(ei(u),ti(u),o=!0,Er(Vr(u),Vr(c),s.divide,l,t,a)):Qr(c,l,t)):c&&ni(c,s.dataIndex,l)}new pn.A(r,i,p(!0,g),p(!1,g),null,"multiple").update(x).updateManyToOne((function(t,e){var n=i[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),d=(0,c.pb)((0,c.Tj)(e,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==u&&!m[t.id]}));u&&(ei(u),d.length?((0,c.__)(d,(function(t){ei(t),ti(t)})),o=!0,Er(Vr(d),Vr(u),n.divide,l,t,a)):Qr(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=r[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!m[s.id]){var l=(0,c.pb)((0,c.Tj)(t,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==s})),u=i[t[0]].data.hostModel;l.length&&((0,c.__)(l,(function(t){return ei(t)})),s?(ei(s),ti(s),o=!0,Er(Vr(s),Vr(l),n.divide,u,t[0],a)):(0,c.__)(l,(function(e){return Qr(e,u,t[0])})))}})).updateManyToMany((function(t,e){new pn.A(e,t,(function(t){return r[t].data.getId(r[t].dataIndex)}),(function(t){return i[t].data.getId(i[t].dataIndex)})).update((function(n,r){x(t[n],e[r])})).execute()})).execute(),o&&(0,c.__)(e,(function(t){var e=t.data,r=e.hostModel,i=r&&n.getViewOfSeriesModel(r),a=(0,w.Jw)("update",r,0);i&&r.isAnimationEnabled()&&a&&a.duration>0&&i.group.traverse((function(t){t instanceof S.Ay&&!t.animators.length&&t.animateFrom({style:{opacity:0}},a)}))}))}function ai(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function oi(t){return(0,c.cy)(t)?t.sort().join(","):t}function si(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function li(t,e){var n=(0,c.nt)(),r=(0,c.nt)(),i=(0,c.nt)();return(0,c.__)(t.oldSeries,(function(e,n){var a=t.oldDataGroupIds[n],o=t.oldData[n],s=ai(e),l=oi(s);r.set(l,{dataGroupId:a,data:o}),(0,c.cy)(s)&&(0,c.__)(s,(function(t){i.set(t,{key:l,dataGroupId:a,data:o})}))})),(0,c.__)(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),a=t.getData(),o=ai(t),s=oi(o),l=r.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:si(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:si(a),data:a}]});else if((0,c.cy)(o)){0;var u=[];(0,c.__)(o,(function(t){var e=r.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:si(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:a,divide:si(a)}]})}else{var d=i.get(o);if(d){var f=n.get(d.key);f||(f={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:si(d.data)}],newSeries:[]},n.set(d.key,f)),f.newSeries.push({dataGroupId:e,data:a,divide:si(a)})}}}})),n}function ui(t,e){for(var n=0;n<t.length;n++){var r=null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id;if(r)return n}}function ci(t,e,n,r){var i=[],a=[];(0,c.__)((0,sn.qB)(t.from),(function(t){var n=ui(e.oldSeries,t);n>=0&&i.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:si(e.oldData[n]),groupIdDim:t.dimension})})),(0,c.__)((0,sn.qB)(t.to),(function(t){var r=ui(n.updatedSeries,t);if(r>=0){var i=n.updatedSeries[r].getData();a.push({dataGroupId:e.oldDataGroupIds[r],data:i,divide:si(i),groupIdDim:t.dimension})}})),i.length>0&&a.length>0&&ii(i,a,r)}function di(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){(0,c.__)((0,sn.qB)(n.seriesTransition),(function(t){(0,c.__)((0,sn.qB)(t.to),(function(t){for(var e=n.updatedSeries,r=0;r<e.length;r++)(null!=t.seriesIndex&&t.seriesIndex===e[r].seriesIndex||null!=t.seriesId&&t.seriesId===e[r].id)&&(e[r][p.U]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var r=qr(e);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)(0,c.__)((0,sn.qB)(i),(function(t){ci(t,r,n,e)}));else{var a=li(r,n);(0,c.__)(a.keys(),(function(t){var n=a.get(t);ii(n.oldSeries,n.newSeries,e)}))}(0,c.__)(n.updatedSeries,(function(t){t[p.U]&&(t[p.U]=!1)}))}for(var o=t.getSeries(),s=r.oldSeries=[],l=r.oldDataGroupIds=[],u=r.oldData=[],d=0;d<o.length;d++){var f=o[d].getData();f.count()<Fr&&(s.push(o[d]),l.push(o[d].get("dataGroupId")),u.push(f))}}))}var fi=n(77037);(0,r.Y)([o]),(0,r.Y)([l]),(0,r.Y)([u.a,ht,pt.a,gt.a,mt.a,vt.a,yt.a,xt.a,bt.a,St.a,_t.a,Mt.a,wt.a,Xt,Se,_e.a,Me.a,we.a,rn,an.a,on.a,cr]),(0,r.Y)(dr.a),(0,r.Y)(fr.a),(0,r.Y)(hr.a),(0,r.Y)(pr.a),(0,r.Y)(gr.a),(0,r.Y)(mr.a),(0,r.Y)(vr.a),(0,r.Y)(yr.a),(0,r.Y)(xr.a),(0,r.Y)(br.a),(0,r.Y)(Sr.a),(0,r.Y)(_r.a),(0,r.Y)(Mr.a),(0,r.Y)(wr.a),(0,r.Y)(Ar.a),(0,r.Y)(Ir.a),(0,r.Y)(Dr.a),(0,r.Y)(Tr.a),(0,r.Y)(Cr.a),(0,r.Y)(Lr.a),(0,r.Y)(kr.a),(0,r.Y)(Or.a),(0,r.Y)(Pr.a),(0,r.Y)(Br.a),(0,r.Y)($r.a),(0,r.Y)(Rr.a),(0,r.Y)(di),(0,r.Y)(fi._)},78536:function(t,e,n){"use strict";function r(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function i(t,e,n,i){var a=t.getZoom(),o=t.getCenter(),s=e.zoom,l=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(l[0]-=e.dx,l[1]-=e.dy,t.setCenter(r(t,l),i)),null!=s){if(n){var u=n.min||0,c=n.max||1/0;s=Math.max(Math.min(a*s,c),u)/a}t.scaleX*=s,t.scaleY*=s;var d=(e.originX-t.x)*(s-1),f=(e.originY-t.y)*(s-1);t.x-=d,t.y-=f,t.updateTransform(),t.setCenter(r(t,l),i),t.setZoom(s*a)}return{center:t.getCenter(),zoom:t.getZoom()}}n.d(e,{f:function(){return i}})},5638:function(t,e,n){"use strict";n.d(e,{Jw:function(){return o},LR:function(){return c},LW:function(){return u},Nz:function(){return d},Xr:function(){return g},ap:function(){return p},oi:function(){return l},t5:function(){return h}});var r=n(98026),i=n(48170),a=(0,i.$r)();function o(t,e,n,i,a){var o;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();o=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(l){var c=void 0,d=void 0,f=void 0;i?(c=(0,r.bZ)(i.duration,200),d=(0,r.bZ)(i.easing,"cubicOut"),f=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),d=e.getShallow(u?"animationEasingUpdate":"animationEasing"),f=e.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(d=o.easing),null!=o.delay&&(f=o.delay)),(0,r.Tn)(f)&&(f=f(n,a)),(0,r.Tn)(c)&&(c=c(n));var h={duration:c||0,delay:f,easing:d};return h}return null}function s(t,e,n,i,a,s,l){var u,c=!1;(0,r.Tn)(a)?(l=s,s=a,a=null):(0,r.Gv)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var d="leave"===t;d||e.stopAnimation("leave");var f=o(t,i,a,d?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null);if(f&&f.duration>0){var h=f.duration,p=f.delay,g=f.easing,m={duration:h,delay:p||0,easing:g,done:s,force:!!s||!!l,setToFinal:!d,scope:t,during:l};c?e.animateFrom(n,m):e.animateTo(n,m)}else e.stopAnimation(),!c&&e.attr(n),l&&l(1),s&&s()}function l(t,e,n,r,i,a){s("update",t,e,n,r,i,a)}function u(t,e,n,r,i,a){s("enter",t,e,n,r,i,a)}function c(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("leave"===n.scope)return!0}return!1}function d(t,e,n,r,i,a){c(t)||s("leave",t,e,n,r,i,a)}function f(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),d(t,{style:{opacity:0}},e,n,r)}function h(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||f(t,e,n,r)})):f(t,e,n,r)}function p(t){a(t).oldStyle=t.style}function g(t){return a(t).oldStyle}},92606:function(t,e,n){"use strict";n.d(e,{$:function(){return u},L:function(){return c}});var r=n(98026),i=n(57625),a=n(5638),o=n(48170),s=(0,o.$r)(),l=["percent","easing","shape","style","extra"];function u(t){t.stopAnimation("keyframe"),t.attr(s(t))}function c(t,e,n){if(n.isAnimationEnabled()&&e)if((0,r.cy)(e))(0,r.__)(e,(function(e){c(t,e,n)}));else{var o=e.keyframes,u=e.duration;if(n&&null==u){var d=(0,a.Jw)("enter",n,0);u=d&&d.duration}if(o&&u){var f=s(t);(0,r.__)(i.rd,(function(n){if(!n||t[n]){var i;o.sort((function(t,e){return t.percent-e.percent})),(0,r.__)(o,(function(a){var o=t.animators,s=n?a[n]:a;if(s){var c=(0,r.HP)(s);if(n||(c=(0,r.pb)(c,(function(t){return(0,r.qh)(l,t)<0}))),c.length){i||(i=t.animate(n,e.loop,!0),i.scope="keyframe");for(var d=0;d<o.length;d++)o[d]!==i&&o[d].targetName===i.targetName&&o[d].stopTracks(c);n&&(f[n]=f[n]||{});var h=n?f[n]:f;(0,r.__)(c,(function(e){h[e]=((n?t[n]:t)||{})[e]})),i.whenWithKeys(u*a.percent,s,c,a.easing)}}})),i&&i.delay(e.delay||0).duration(u).start(e.easing)}}))}}}},57625:function(t,e,n){"use strict";n.d(e,{aB:function(){return m},h8:function(){return v},ho:function(){return y},rd:function(){return f},rh:function(){return g}});var r=n(48170),i=n(98026),a=n(77193),o=n(71519),s=n(5638),l=n(5070),u=n(92836),c={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},d=(0,i.HP)(c),f=((0,i.TS)(u.Wx,(function(t,e){return t[e]=1,t}),{}),u.Wx.join(", "),["","style","shape","extra"]),h=(0,r.$r)();function p(t,e,n,r,a){var o=t+"Animation",l=(0,s.Jw)(t,r,a)||{},u=h(e).userDuring;return l.duration>0&&(l.during=u?(0,i.oI)(w,{el:e,userDuring:u}):null,l.setToFinal=!0,l.scope=t),(0,i.X$)(l,n[o]),l}function g(t,e,n,r){r=r||{};var a=r.dataIndex,o=r.isInit,s=r.clearStyle,l=n.isAnimationEnabled(),u=h(t),c=e.style;u.userDuring=e.during;var d={},g={};if(T(t,e,g),I("shape",e,g),I("extra",e,g),!o&&l&&(D(t,e,d),A("shape",t,e,d),A("extra",t,e,d),C(t,e,c,d)),g.style=c,x(t,g,s),S(t,e),l)if(o){var v={};(0,i.__)(f,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(v[t]=v[t]||{}),(0,i.X$)(t?v[t]:v,n.enterFrom))}));var y=p("enter",t,e,n,a);y.duration>0&&t.animateFrom(v,y)}else b(t,e,a||0,n,d);m(t,e),c?t.dirty():t.markRedraw()}function m(t,e){for(var n=h(t).leaveToProps,r=0;r<f.length;r++){var a=f[r],o=a?e[a]:e;o&&o.leaveTo&&(n||(n=h(t).leaveToProps={}),a&&(n[a]=n[a]||{}),(0,i.X$)(a?n[a]:n,o.leaveTo))}}function v(t,e,n,r){if(t){var i=t.parent,a=h(t).leaveToProps;if(a){var o=p("update",t,e,n,0);o.done=function(){i.remove(t),r&&r()},t.animateTo(a,o)}else i.remove(t),r&&r()}}function y(t){return"all"===t}function x(t,e,n){var r=e.style;if(!t.isGroup&&r){if(n){t.useStyle({});for(var i=t.animators,a=0;a<i.length;a++){var o=i[a];"style"===o.targetName&&o.changeTarget(t.style)}}t.setStyle(r)}e&&(e.style=null,e&&t.attr(e),e.style=r)}function b(t,e,n,r,i){if(i){var a=p("update",t,e,r,n);a.duration>0&&t.animateFrom(i,a)}}function S(t,e){(0,i.$3)(e,"silent")&&(t.silent=e.silent),(0,i.$3)(e,"ignore")&&(t.ignore=e.ignore),t instanceof o.Ay&&(0,i.$3)(e,"invisible")&&(t.invisible=e.invisible),t instanceof l.Ay&&(0,i.$3)(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var _={},M={setTransform:function(t,e){return _.el[t]=e,this},getTransform:function(t){return _.el[t]},setShape:function(t,e){var n=_.el,r=n.shape||(n.shape={});return r[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=_.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=_.el,r=n.style;return r&&(r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=_.el.style;if(e)return e[t]},setExtra:function(t,e){var n=_.el.extra||(_.el.extra={});return n[t]=e,this},getExtra:function(t){var e=_.el.extra;if(e)return e[t]}};function w(){var t=this,e=t.el;if(e){var n=h(e).userDuring,r=t.userDuring;n===r?(_.el=e,r(M)):t.el=t.userDuring=null}}function A(t,e,n,a){var o=n[t];if(o){var s,l=e[t];if(l){var u=n.transition,c=o.transition;if(c)if(!s&&(s=a[t]={}),y(c))(0,i.X$)(s,l);else for(var d=(0,r.qB)(c),f=0;f<d.length;f++){var h=d[f],p=l[h];s[h]=p}else if(y(u)||(0,i.qh)(u,t)>=0){!s&&(s=a[t]={});var g=(0,i.HP)(l);for(f=0;f<g.length;f++){h=g[f],p=l[h];L(o[h],p)&&(s[h]=p)}}}}}function I(t,e,n){var r=e[t];if(r)for(var o=n[t]={},s=(0,i.HP)(r),l=0;l<s.length;l++){var u=s[l];o[u]=(0,a.F)(r[u])}}function D(t,e,n){for(var i=e.transition,a=y(i)?u.Wx:(0,r.qB)(i||[]),o=0;o<a.length;o++){var s=a[o];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=t[s];0,n[s]=l}}}function T(t,e,n){for(var r=0;r<d.length;r++){var i=d[r],a=c[i],o=e[i];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(r=0;r<u.Wx.length;r++){var s=u.Wx[r];null!=e[s]&&(n[s]=e[s])}}function C(t,e,n,a){if(n){var o,s=t.style;if(s){var l=n.transition,u=e.transition;if(l&&!y(l)){var c=(0,r.qB)(l);!o&&(o=a.style={});for(var d=0;d<c.length;d++){var f=c[d],h=s[f];o[f]=h}}else if(t.getAnimationStyleProps&&(y(u)||y(l)||(0,i.qh)(u,"style")>=0)){var p=t.getAnimationStyleProps(),g=p?p.style:null;if(g){!o&&(o=a.style={});var m=(0,i.HP)(n);for(d=0;d<m.length;d++){f=m[d];if(g[f]){h=s[f];o[f]=h}}}}}}}function L(t,e){return(0,i.Xj)(t)?t!==e:null!=t&&isFinite(t)}},77037:function(t,e,n){"use strict";n.d(e,{_:function(){return A}});var r=n(48170),i=n(29308),a=n(5638),o=n(69622),s=n(24326),l=n(92836),u=n(92621),c=n(98026),d=n(77175),f=n(89632),h=n(41589);function p(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function g(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:p(r&&r.shape.points)}}var m=["align","verticalAlign","width","height","fontSize"],v=new l.Ay,y=(0,r.$r)(),x=(0,r.$r)();function b(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null!=e[i]&&(t[i]=e[i])}}var S=["x","y","rotation"],_=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,r,a){var o=r.style,s=r.__hostTarget,l=s.textConfig||{},u=r.getComputedTransform(),c=r.getBoundingRect().plain();i.A.applyTransform(c,c,u),u?v.setLocalTransform(u):(v.x=v.y=v.rotation=v.originX=v.originY=0,v.scaleX=v.scaleY=1),v.rotation=(0,h.n)(v.rotation);var d,f=r.__hostTarget;if(f){d=f.getBoundingRect().plain();var p=f.getComputedTransform();i.A.applyTransform(d,d,p)}var g=d&&f.getTextGuideLine();this._labelList.push({label:r,labelLine:g,seriesModel:n,dataIndex:t,dataType:e,layoutOption:a,computedLayoutOption:null,rect:c,hostRect:d,priority:d?d.width*d.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:g&&g.ignore,x:v.x,y:v.y,scaleX:v.scaleX,scaleY:v.scaleY,rotation:v.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:l.position,attachedRot:l.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");((0,c.Tn)(r)||(0,c.HP)(r).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var i=t.getTextContent(),a=(0,o.z)(t);i&&!i.disableLabelLayout&&e._addLabel(a.dataIndex,a.dataType,n,i,r)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function r(t,e){return function(){(0,u.lB)(t,e)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,l=o.__hostTarget,d=a.defaultAttr,f=void 0;f=(0,c.Tn)(a.layoutOption)?a.layoutOption(g(a,l)):a.layoutOption,f=f||{},a.computedLayoutOption=f;var h=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=f.x||null!=f.y?null:d.attachedPos,rotation:null!=f.rotate?f.rotate*h:d.attachedRot,offset:[f.dx||0,f.dy||0]});var p=!1;if(null!=f.x?(o.x=(0,s.lo)(f.x,e),o.setStyle("x",0),p=!0):(o.x=d.x,o.setStyle("x",d.style.x)),null!=f.y?(o.y=(0,s.lo)(f.y,n),o.setStyle("y",0),p=!0):(o.y=d.y,o.setStyle("y",d.style.y)),f.labelLinePoints){var v=l.getTextGuideLine();v&&(v.setShape({points:f.labelLinePoints}),p=!1)}var x=y(o);x.needsUpdateLabelLine=p,o.rotation=null!=f.rotate?f.rotate*h:d.rotation,o.scaleX=d.scaleX,o.scaleY=d.scaleY;for(var b=0;b<m.length;b++){var S=m[b];o.setStyle(S,null!=f[S]?f[S]:d.style[S])}if(f.draggable){if(o.draggable=!0,o.cursor="move",l){var _=a.seriesModel;if(null!=a.dataIndex){var M=a.seriesModel.getData(a.dataType);_=M.getItemModel(a.dataIndex)}o.on("drag",r(l,_.getModel("labelLine")))}}else o.off("drag"),o.cursor=d.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),r=(0,d.os)(this._labelList),i=(0,c.pb)(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=(0,c.pb)(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));(0,d.QX)(i,0,e),(0,d.Xe)(a,0,n);var o=(0,c.pb)(r,(function(t){return t.layoutOption.hideOverlap}));(0,d.If)(o)},t.prototype.processLabelsOverall=function(){var t=this;(0,c.__)(this._chartViewList,(function(e){var n=e.__model,r=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var a=!r,o=e.getTextContent();!a&&o&&(a=y(o).needsUpdateLabelLine),a&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),r=(0,o.z)(t),i=r.dataIndex;if(n&&null!=i){var a=e.getData(r.dataType),s=a.getItemModel(i),l={},c=a.getItemVisual(i,"style");if(c){var d=a.getVisual("drawType");l.stroke=c[d]}var f=s.getModel("labelLine");(0,u.eR)(t,(0,u.rv)(s),l),(0,u.lB)(t,f)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!(0,a.LR)(t))){var i=y(n),s=i.oldLayout,l=(0,o.z)(t),u=l.dataIndex,d={x:n.x,y:n.y,rotation:n.rotation},h=e.getData(l.dataType);if(s){n.attr(s);var p=t.prevStates;p&&((0,c.qh)(p,"select")>=0&&n.attr(i.oldLayoutSelect),(0,c.qh)(p,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),(0,a.oi)(n,d,e,u)}else if(n.attr(d),!(0,f.Lu)(n).valueAnimation){var g=(0,c.bZ)(n.style.opacity,1);n.style.opacity=0,(0,a.LW)(n,{style:{opacity:g}},e,u)}if(i.oldLayout=d,n.states.select){var m=i.oldLayoutSelect={};b(m,d,S),b(m,n.states.select,S)}if(n.states.emphasis){var v=i.oldLayoutEmphasis={};b(v,d,S),b(v,n.states.emphasis,S)}(0,f.xb)(n,u,h,e,e)}if(r&&!r.ignore&&!r.invisible){i=x(r),s=i.oldLayout;var _={points:r.shape.points};s?(r.attr({shape:s}),(0,a.oi)(r,{shape:_},e)):(r.setShape(_),r.style.strokePercent=0,(0,a.LW)(r,{style:{strokePercent:1}},e)),i.oldLayout=_}},t}(),M=_,w=(0,r.$r)();function A(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=w(e).labelManager;r||(r=w(e).labelManager=new M),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=w(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}},92621:function(t,e,n){"use strict";n.d(e,{QK:function(){return O},YI:function(){return k},eR:function(){return $},lB:function(){return T},rv:function(){return R}});var r=n(26346),i=n(5070),a=n(39195),o=n(68717),s=n(41589),l=n(89259),u=n(98026),c=n(45587),d=n(83509),f=n(34833),h=2*Math.PI,p=o.A.CMD,g=["top","right","bottom","left"];function m(t,e,n,r,i){var a=n.width,o=n.height;switch(t){case"top":r.set(n.x+a/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+a/2,n.y+o+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+o/2),i.set(-1,0);break;case"right":r.set(n.x+a+e,n.y+o/2),i.set(1,0);break}}function v(t,e,n,r,i,a,o,l,u){o-=t,l-=e;var c=Math.sqrt(o*o+l*l);o/=c,l/=c;var d=o*n+t,f=l*n+e;if(Math.abs(r-i)%h<1e-4)return u[0]=d,u[1]=f,c-n;if(a){var p=r;r=(0,s.n)(i),i=(0,s.n)(p)}else r=(0,s.n)(r),i=(0,s.n)(i);r>i&&(i+=h);var g=Math.atan2(l,o);if(g<0&&(g+=h),g>=r&&g<=i||g+h>=r&&g+h<=i)return u[0]=d,u[1]=f,c-n;var m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=n*Math.cos(i)+t,x=n*Math.sin(i)+e,b=(m-o)*(m-o)+(v-l)*(v-l),S=(y-o)*(y-o)+(x-l)*(x-l);return b<S?(u[0]=m,u[1]=v,Math.sqrt(b)):(u[0]=y,u[1]=x,Math.sqrt(S))}function y(t,e,n,r,i,a,o,s){var l=i-t,u=a-e,c=n-t,d=r-e,f=Math.sqrt(c*c+d*d);c/=f,d/=f;var h=l*c+u*d,p=h/f;s&&(p=Math.min(Math.max(p,0),1)),p*=f;var g=o[0]=t+p*c,m=o[1]=e+p*d;return Math.sqrt((g-i)*(g-i)+(m-a)*(m-a))}function x(t,e,n,r,i,a,o){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r);var s=t+n,l=e+r,u=o[0]=Math.min(Math.max(i,t),s),c=o[1]=Math.min(Math.max(a,e),l);return Math.sqrt((u-i)*(u-i)+(c-a)*(c-a))}var b=[];function S(t,e,n){var r=x(e.x,e.y,e.width,e.height,t.x,t.y,b);return n.set(b[0],b[1]),r}function _(t,e,n){for(var r,i,a=0,o=0,s=0,u=0,c=1/0,d=e.data,f=t.x,h=t.y,g=0;g<d.length;){var m=d[g++];1===g&&(a=d[g],o=d[g+1],s=a,u=o);var S=c;switch(m){case p.M:s=d[g++],u=d[g++],a=s,o=u;break;case p.L:S=y(a,o,d[g],d[g+1],f,h,b,!0),a=d[g++],o=d[g++];break;case p.C:S=(0,l.Et)(a,o,d[g++],d[g++],d[g++],d[g++],d[g],d[g+1],f,h,b),a=d[g++],o=d[g++];break;case p.Q:S=(0,l.kh)(a,o,d[g++],d[g++],d[g],d[g+1],f,h,b),a=d[g++],o=d[g++];break;case p.A:var _=d[g++],M=d[g++],w=d[g++],A=d[g++],I=d[g++],D=d[g++];g+=1;var T=!!(1-d[g++]);r=Math.cos(I)*w+_,i=Math.sin(I)*A+M,g<=1&&(s=r,u=i);var C=(f-_)*A/w+_;S=v(_,M,A,I,I+D,T,C,h,b),a=Math.cos(I+D)*w+_,o=Math.sin(I+D)*A+M;break;case p.R:s=a=d[g++],u=o=d[g++];var L=d[g++],k=d[g++];S=x(s,u,L,k,f,h,b);break;case p.Z:S=y(a,o,s,u,f,h,b,!0),a=s,o=u;break}S<c&&(c=S,n.set(b[0],b[1]))}return c}var M=new r.A,w=new r.A,A=new r.A,I=new r.A,D=new r.A;function T(t,e){if(t){var n=t.getTextGuideLine(),a=t.getTextContent();if(a&&n){var o=t.textGuideLineConfig||{},s=[[0,0],[0,0],[0,0]],l=o.candidates||g,u=a.getBoundingRect().clone();u.applyTransform(a.getComputedTransform());var d=1/0,f=o.anchor,h=t.getComputedTransform(),p=h&&(0,c.B8)([],h),v=e.get("length2")||0;f&&A.copy(f);for(var y=0;y<l.length;y++){var x=l[y];m(x,0,u,M,I),r.A.scaleAndAdd(w,M,I,v),w.transform(p);var b=t.getBoundingRect(),D=f?f.distance(w):t instanceof i.Ay?_(w,t.path,A):S(w,b,A);D<d&&(d=D,w.transform(h),A.transform(h),A.toArray(s[0]),w.toArray(s[1]),M.toArray(s[2]))}k(s,e.get("minTurnAngle")),n.setShape({points:s})}}}var C=[],L=new r.A;function k(t,e){if(e<=180&&e>0){e=e/180*Math.PI,M.fromArray(t[0]),w.fromArray(t[1]),A.fromArray(t[2]),r.A.sub(I,M,w),r.A.sub(D,A,w);var n=I.len(),i=D.len();if(!(n<.001||i<.001)){I.scale(1/n),D.scale(1/i);var a=I.dot(D),o=Math.cos(e);if(o<a){var s=y(w.x,w.y,A.x,A.y,M.x,M.y,C,!1);L.fromArray(C),L.scaleAndAdd(D,s/Math.tan(Math.PI-e));var l=A.x!==w.x?(L.x-w.x)/(A.x-w.x):(L.y-w.y)/(A.y-w.y);if(isNaN(l))return;l<0?r.A.copy(L,w):l>1&&r.A.copy(L,A),L.toArray(t[1])}}}}function O(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,M.fromArray(t[0]),w.fromArray(t[1]),A.fromArray(t[2]),r.A.sub(I,w,M),r.A.sub(D,A,w);var i=I.len(),a=D.len();if(!(i<.001||a<.001)){I.scale(1/i),D.scale(1/a);var o=I.dot(e),s=Math.cos(n);if(o<s){var l=y(w.x,w.y,A.x,A.y,M.x,M.y,C,!1);L.fromArray(C);var u=Math.PI/2,c=Math.acos(D.dot(e)),d=u+c-n;if(d>=u)r.A.copy(L,A);else{L.scaleAndAdd(D,l/Math.tan(Math.PI/2-d));var f=A.x!==w.x?(L.x-w.x)/(A.x-w.x):(L.y-w.y)/(A.y-w.y);if(isNaN(f))return;f<0?r.A.copy(L,w):f>1&&r.A.copy(L,A)}L.toArray(t[1])}}}}function P(t,e,n,r){var i="normal"===n,a=i?t:t.ensureState(n);a.ignore=e;var o=r.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):a.style=s}function B(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=d.xg(r[0],r[1]),a=d.xg(r[1],r[2]);if(!i||!a)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var o=Math.min(i,a)*n,s=d.Cc([],r[1],r[0],o/i),l=d.Cc([],r[1],r[2],o/a),u=d.Cc([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)t.lineTo(r[c][0],r[c][1])}function $(t,e,n){var r=t.getTextGuideLine(),i=t.getTextContent();if(i){for(var o=e.normal,s=o.get("show"),l=i.ignore,c=0;c<f.wV.length;c++){var d=f.wV[c],h=e[d],p="normal"===d;if(h){var g=h.get("show"),m=p?l:(0,u.bZ)(i.states[d]&&i.states[d].ignore,l);if(m||!(0,u.bZ)(g,s)){var v=p?r:r&&r.states[d];v&&(v.ignore=!0),r&&P(r,!0,d,h);continue}r||(r=new a.A,t.setTextGuideLine(r),p||!l&&s||P(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),P(r,!1,d,h)}}if(r){(0,u.NT)(r.style,n),r.style.fill=null;var y=o.get("showAbove"),x=t.textGuideLineConfig=t.textGuideLineConfig||{};x.showAbove=y||!1,r.buildPath=B}}else r&&t.removeTextGuideLine()}function R(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<f.BV.length;r++){var i=f.BV[r];n[i]=t.getModel([i,e])}return n}},77175:function(t,e,n){"use strict";n.d(e,{If:function(){return u},QX:function(){return s},Xe:function(){return l},os:function(){return a}});var r=n(84716),i=n(29308);function a(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var a=i.label,o=a.getComputedTransform(),s=a.getBoundingRect(),l=!o||o[1]<1e-5&&o[2]<1e-5,u=a.style.margin||0,c=s.clone();c.applyTransform(o),c.x-=u/2,c.y-=u/2,c.width+=u,c.height+=u;var d=l?new r.A(s,o):null;e.push({label:a,labelLine:i.labelLine,rect:c,localRect:s,obb:d,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:l,transform:o})}}return e}function o(t,e,n,r,i,a){var o=t.length;if(!(o<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=[],d=0,f=0;f<o;f++){var h=t[f],p=h.rect;s=p[e]-l,s<0&&(p[e]-=s,h.label[e]-=s,u=!0);var g=Math.max(-s,0);c.push(g),d+=g,l=p[e]+p[n]}d>0&&a&&_(-d/o,0,o);var m,v,y=t[0],x=t[o-1];return b(),m<0&&M(-m,.8),v<0&&M(v,.8),b(),S(m,v,1),S(v,m,-1),b(),m<0&&w(-m),v<0&&w(v),u}function b(){m=y.rect[e]-r,v=i-x.rect[e]-x.rect[n]}function S(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){_(r*n,0,o);var i=r+t;i<0&&M(-i*n,1)}else M(-t*n,1)}}function _(n,r,i){0!==n&&(u=!0);for(var a=r;a<i;a++){var o=t[a],s=o.rect;s[e]+=n,o.label[e]+=n}}function M(r,i){for(var a=[],s=0,l=1;l<o;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);a.push(c),s+=c}if(s){var d=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<o-1;l++){var f=a[l]*d;_(f,0,l+1)}else for(l=o-1;l>0;l--){f=a[l-1]*d;_(-f,l,o)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),r=0;r<o-1;r++)if(e>0?_(n,0,r+1):_(-n,o-r-1,o),t-=n,t<=0)return}}function s(t,e,n,r){return o(t,"x","width",e,n,r)}function l(t,e,n,r){return o(t,"y","height",e,n,r)}function u(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new i.A(0,0,0,0);function a(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var o=0;o<t.length;o++){var s=t[o],l=s.axisAligned,u=s.localRect,c=s.transform,d=s.label,f=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=s.obb,p=!1,g=0;g<e.length;g++){var m=e[g];if(n.intersect(m.rect)){if(l&&m.axisAligned){p=!0;break}if(m.obb||(m.obb=new r.A(m.localRect,m.transform)),h||(h=new r.A(u,c)),h.intersect(m.obb)){p=!0;break}}}p?(a(d),f&&a(f)):(d.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},89632:function(t,e,n){"use strict";n.d(e,{Lu:function(){return _},Oh:function(){return M},VB:function(){return h},c8:function(){return S},lx:function(){return f},qM:function(){return d},sD:function(){return p},xb:function(){return w}});var r=n(82980),i=n(98026),a=n(34833),o=n(48170),s=n(5638),l={};function u(t,e){for(var n=0;n<a.BV.length;n++){var r=a.BV[n],i=e[r],o=t.ensureState(r);o.style=o.style||{},o.style.text=i}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var r,o=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;o&&(r=o.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.Tn)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:r},d=0;d<a.BV.length;d++){var f=a.BV[d],h=e[f];c[f]=(0,i.bZ)(o?o.getFormattedLabel(s,f,null,l,h&&h.get("formatter")):null,r)}return c}function d(t,e,n,o){n=n||l;for(var s=t instanceof r.Ay,d=!1,f=0;f<a.wV.length;f++){var g=e[a.wV[f]];if(g&&g.getShallow("show")){d=!0;break}}var m=s?t:t.getTextContent();if(d){s||(m||(m=new r.Ay,t.setTextContent(m)),t.stateProxy&&(m.stateProxy=t.stateProxy));var v=c(n,e),y=e.normal,x=!!y.getShallow("show"),b=h(y,o&&o.normal,n,!1,!s);b.text=v.normal,s||t.setTextConfig(p(y,n,!1));for(f=0;f<a.BV.length;f++){var S=a.BV[f];g=e[S];if(g){var M=m.ensureState(S),w=!!(0,i.bZ)(g.getShallow("show"),x);if(w!==x&&(M.ignore=!w),M.style=h(g,o&&o[S],n,!0,!s),M.style.text=v[S],!s){var A=t.ensureState(S);A.textConfig=p(g,n,!0)}}}m.silent=!!y.getShallow("silent"),null!=m.style.x&&(b.x=m.style.x),null!=m.style.y&&(b.y=m.style.y),m.ignore=!x,m.useStyle(b),m.dirty(),n.enableTextSetter&&(_(m).setLabelText=function(t){var r=c(n,e,t);u(m,r)})}else m&&(m.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<a.BV.length;r++){var i=a.BV[r];n[i]=t.getModel([i,e])}return n}function h(t,e,n,r,a){var o={};return g(o,t,n,r,a),e&&(0,i.X$)(o,e),o}function p(t,e,n){e=e||{};var r,a={},o=t.getShallow("rotate"),s=(0,i.bZ)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return r=t.getShallow("position")||(n?null:"inside"),"outside"===r&&(r=e.defaultOutsidePosition||"top"),null!=r&&(a.position=r),null!=l&&(a.offset=l),null!=o&&(o*=Math.PI/180,a.rotation=o),null!=s&&(a.distance=s),a.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",a}function g(t,e,n,r,i){n=n||l;var a,o=e.ecModel,s=o&&o.option.textStyle,u=m(e);if(u)for(var c in a={},u)if(u.hasOwnProperty(c)){var d=e.getModel(["rich",c]);b(a[c]={},d,s,n,r,i,!1,!0)}a&&(t.rich=a);var f=e.get("overflow");f&&(t.overflow=f);var h=e.get("minMargin");null!=h&&(t.margin=h),b(t,e,s,n,r,i,!0,!1)}function m(t){var e;while(t&&t!==t.ecModel){var n=(t.option||l).rich;if(n){e=e||{};for(var r=(0,i.HP)(n),a=0;a<r.length;a++){var o=r[a];e[o]=1}}t=t.parentModel}return e}var v=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],x=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function b(t,e,n,r,a,o,s,u){n=!a&&n||l;var c=r&&r.inheritColor,d=e.getShallow("color"),f=e.getShallow("textBorderColor"),h=(0,i.bZ)(e.getShallow("opacity"),n.opacity);"inherit"!==d&&"auto"!==d||(d=c||null),"inherit"!==f&&"auto"!==f||(f=c||null),o||(d=d||n.color,f=f||n.textBorderColor),null!=d&&(t.fill=d),null!=f&&(t.stroke=f);var p=(0,i.bZ)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var g=(0,i.bZ)(e.getShallow("textBorderType"),n.textBorderType);null!=g&&(t.lineDash=g);var m=(0,i.bZ)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=m&&(t.lineDashOffset=m),a||null!=h||u||(h=r&&r.defaultOpacity),null!=h&&(t.opacity=h),a||o||null==t.fill&&r.inheritColor&&(t.fill=r.inheritColor);for(var b=0;b<v.length;b++){var S=v[b],_=(0,i.bZ)(e.getShallow(S),n[S]);null!=_&&(t[S]=_)}for(b=0;b<y.length;b++){S=y[b],_=e.getShallow(S);null!=_&&(t[S]=_)}if(null==t.verticalAlign){var M=e.getShallow("baseline");null!=M&&(t.verticalAlign=M)}if(!s||!r.disableBox){for(b=0;b<x.length;b++){S=x[b],_=e.getShallow(S);null!=_&&(t[S]=_)}var w=e.getShallow("borderType");null!=w&&(t.borderDash=w),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!c||(t.backgroundColor=c),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!c||(t.borderColor=c)}}function S(t,e){var n=e&&e.getModel("textStyle");return(0,i.Bq)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var _=(0,o.$r)();function M(t,e,n,r){if(t){var i=_(t);i.prevValue=i.value,i.value=n;var a=e.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=r,i.statesModels=e)}}function w(t,e,n,r,a){var l=_(t);if(l.valueAnimation&&l.prevValue!==l.value){var d=l.defaultInterpolatedText,f=(0,i.bZ)(l.interpolatedValue,l.prevValue),h=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},r,e,null,p)}function p(r){var i=(0,o.Il)(n,l.precision,f,h,r);l.interpolatedValue=1===r?null:i;var s=c({labelDataIndex:e,labelFetcher:a,defaultText:d?d(i):i+""},l.statesModels,i);u(t,s)}}},62536:function(t,e,n){"use strict";n.d(e,{DL:function(){return d},GL:function(){return f},KF:function(){return y},VA:function(){return m},Zp:function(){return v},vq:function(){return p}});var r=n(98026),i=n(24326),a=n(65008),o=n(87582),s=n(8957),l="__ec_stack_";function u(t){return t.get("stack")||l+t.seriesIndex}function c(t){return t.dim+t.index}function d(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var a=n.getBandWidth(),o=0;o<t.count;o++)e.push((0,r.NT)({bandWidth:a,axisKey:i,stackId:l+o},t));var s=g(e),u=[];for(o=0;o<t.count;o++){var c=s[i][l+o];c.offsetCenter=c.offset+c.width/2,u.push(c)}return u}}function f(t,e){var n=[];return e.eachSeriesByType(t,(function(t){x(t)&&n.push(t)})),n}function h(t){var e={};(0,r.__)(t,(function(t){var n=t.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=t.getData(),a=r.dim+"_"+r.index,o=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(o,l);e[a]?e[a].push(c):e[a]=[c]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];if(a){a.sort((function(t,e){return t-e}));for(var o=null,s=1;s<a.length;++s){var l=a[s]-a[s-1];l>0&&(o=null===o?l:Math.min(o,l))}n[i]=o}}return n}function p(t){var e=h(t),n=[];return(0,r.__)(t,(function(t){var r,a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,d=e[l],f=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);r=d?f/p*d:f}else{var g=t.getData();r=Math.abs(s[1]-s[0])/g.count()}var m=(0,i.lo)(t.get("barWidth"),r),v=(0,i.lo)(t.get("barMaxWidth"),r),y=(0,i.lo)(t.get("barMinWidth")||(b(t)?.5:1),r),x=t.get("barGap"),S=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:S,axisKey:c(o),stackId:u(t)})})),g(n)}function g(t){var e={};(0,r.__)(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,a=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[r]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var d=t.barGap;null!=d&&(a.gap=d);var f=t.barCategoryGap;null!=f&&(a.categoryGap=f)}));var n={};return(0,r.__)(e,(function(t,e){n[e]={};var a=t.stacks,o=t.bandWidth,s=t.categoryGap;if(null==s){var l=(0,r.HP)(a).length;s=Math.max(35-4*l,15)+"%"}var u=(0,i.lo)(s,o),c=(0,i.lo)(t.gap,1),d=t.remainedWidth,f=t.autoWidthCount,h=(d-u)/(f+(f-1)*c);h=Math.max(h,0),(0,r.__)(a,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,d-=r+c*r,f--}else{var r=h;e&&e<r&&(r=Math.min(e,d)),n&&n>r&&(r=n),r!==h&&(t.width=r,d-=r+c*r,f--)}})),h=(d-u)/(f+(f-1)*c),h=Math.max(h,0);var p,g=0;(0,r.__)(a,(function(t,e){t.width||(t.width=h),p=t,g+=t.width*(1+c)})),p&&(g-=p.width*c);var m=-g/2;(0,r.__)(a,(function(t,r){n[e][r]=n[e][r]||{bandWidth:o,offset:m,width:t.width},m+=t.width*(1+c)}))})),n}function m(t,e,n){if(t&&e){var r=t[c(e)];return null!=r&&null!=n?r[u(n)]:r}}function v(t,e){var n=f(t,e),i=p(n);(0,r.__)(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),a=u(t),o=i[c(r)][a],s=o.offset,l=o.width;e.setLayout({bandWidth:o.bandWidth,offset:s,size:l})}))}function y(t){return{seriesType:t,plan:(0,o.A)(),reset:function(t){if(x(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=e.getDimensionIndex(e.mapDimension(i.dim)),l=e.getDimensionIndex(e.mapDimension(r.dim)),u=t.get("showBackground",!0),c=e.mapDimension(i.dim),d=e.getCalculationInfo("stackResultDimension"),f=(0,a.sJ)(e,c)&&!!e.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),p=S(r,i),g=b(t),m=t.get("barMinHeight")||0,v=d&&e.getDimensionIndex(d),y=e.getLayout("size"),_=e.getLayout("offset");return{progress:function(t,e){var r,i=t.count,a=g&&(0,s.J)(3*i),c=g&&u&&(0,s.J)(3*i),d=g&&(0,s.J)(i),x=n.master.getRect(),b=h?x.width:x.height,S=e.getStore(),M=0;while(null!=(r=t.next())){var w=S.get(f?v:o,r),A=S.get(l,r),I=p,D=void 0;f&&(D=+w-S.get(o,r));var T=void 0,C=void 0,L=void 0,k=void 0;if(h){var O=n.dataToPoint([w,A]);if(f){var P=n.dataToPoint([D,A]);I=P[0]}T=I,C=O[1]+_,L=O[0]-I,k=y,Math.abs(L)<m&&(L=(L<0?-1:1)*m)}else{O=n.dataToPoint([A,w]);if(f){P=n.dataToPoint([A,D]);I=P[1]}T=O[0]+_,C=I,L=y,k=O[1]-I,Math.abs(k)<m&&(k=(k<=0?-1:1)*m)}g?(a[M]=T,a[M+1]=C,a[M+2]=h?L:k,c&&(c[M]=h?x.x:T,c[M+1]=h?C:x.y,c[M+2]=b),d[r]=r):e.setItemLayout(r,{x:T,y:C,width:L,height:k}),M+=3}g&&e.setLayout({largePoints:a,largeDataIndices:d,largeBackgroundPoints:c,valueAxisHorizontal:h})}}}}}}function x(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function b(t){return t.pipelineContext&&t.pipelineContext.large}function S(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}},95926:function(t,e,n){"use strict";var r=n(98026),i=n(24326),a=n(65008);function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}function l(t,e,n){var i={},l=u(r.pb(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),u=s(n,r),c=o(t),d=l[u][c],f=d.offset,h=d.width,p=n.getOtherAxis(r),g=t.coordinateSystem.cx,m=t.coordinateSystem.cy,v=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;i[c]=i[c]||[];for(var x=e.mapDimension(p.dim),b=e.mapDimension(r.dim),S=(0,a.sJ)(e,x),_="radius"!==r.dim||!t.get("roundCap",!0),M=p.dataToCoord(0),w=0,A=e.count();w<A;w++){var I=e.get(x,w),D=e.get(b,w),T=I>=0?"p":"n",C=M;S&&(i[c][D]||(i[c][D]={p:M,n:M}),C=i[c][D][T]);var L=void 0,k=void 0,O=void 0,P=void 0;if("radius"===p.dim){var B=p.dataToCoord(I)-M,$=r.dataToCoord(D);Math.abs(B)<v&&(B=(B<0?-1:1)*v),L=C,k=C+B,O=$-f,P=O-h,S&&(i[c][D][T]=k)}else{var R=p.dataToCoord(I,_)-M,W=r.dataToCoord(D);Math.abs(R)<y&&(R=(R<0?-1:1)*y),L=W+f,k=L+h,O=C,P=C+R,S&&(i[c][D][T]=P)}e.setItemLayout(w,{cx:g,cy:m,r0:L,r:k,startAngle:-O*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:O>=P})}}}))}function u(t){var e={};r.__(t,(function(t,n){var r=t.getData(),a=t.coordinateSystem,l=a.getBaseAxis(),u=s(a,l),c=l.getExtent(),d="category"===l.type?l.getBandWidth():Math.abs(c[1]-c[0])/r.count(),f=e[u]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=f.stacks;e[u]=f;var p=o(t);h[p]||f.autoWidthCount++,h[p]=h[p]||{width:0,maxWidth:0};var g=(0,i.lo)(t.get("barWidth"),d),m=(0,i.lo)(t.get("barMaxWidth"),d),v=t.get("barGap"),y=t.get("barCategoryGap");g&&!h[p].width&&(g=Math.min(f.remainedWidth,g),h[p].width=g,f.remainedWidth-=g),m&&(h[p].maxWidth=m),null!=v&&(f.gap=v),null!=y&&(f.categoryGap=y)}));var n={};return r.__(e,(function(t,e){n[e]={};var a=t.stacks,o=t.bandWidth,s=(0,i.lo)(t.categoryGap,o),l=(0,i.lo)(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),r.__(a,(function(t,e){var n=t.maxWidth;n&&n<d&&(n=Math.min(n,u),t.width&&(n=Math.min(n,t.width)),u-=n,t.width=n,c--)})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var f,h=0;r.__(a,(function(t,e){t.width||(t.width=d),f=t,h+=t.width*(1+l)})),f&&(h-=f.width*l);var p=-h/2;r.__(a,(function(t,r){n[e][r]=n[e][r]||{offset:p,width:t.width},p+=t.width*(1+l)}))})),n}e.A=l},30682:function(t,e,n){"use strict";n.d(e,{A:function(){return s}});var r=n(98026),i=n(87582),a=n(65008),o=n(8957);function s(t,e){return{seriesType:t,plan:(0,i.A)(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(i){var u=(0,r.Tj)(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),c=u.length,d=n.getCalculationInfo("stackResultDimension");(0,a.sJ)(n,u[0])&&(u[0]=d),(0,a.sJ)(n,u[1])&&(u[1]=d);var f=n.getStore(),h=n.getDimensionIndex(u[0]),p=n.getDimensionIndex(u[1]);return c&&{progress:function(t,e){for(var n=t.end-t.start,r=l&&(0,o.J)(n*c),a=[],s=[],u=t.start,d=0;u<t.end;u++){var g=void 0;if(1===c){var m=f.get(h,u);g=i.dataToPoint(m,null,s)}else a[0]=f.get(h,u),a[1]=f.get(p,u),g=i.dataToPoint(a,null,s);l?(r[d++]=g[0],r[d++]=g[1]):e.setItemLayout(u,g.slice())}l&&e.setLayout("points",r)}}}}}}},16884:function(t,e,n){"use strict";n.d(e,{I:function(){return a},l:function(){return s}});var r=n(98026),i=n(48170);function a(t,e){function n(e,n){var r=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){r.push(t.seriesIndex)})),r}(0,r.__)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,a){e=(0,r.X$)({},e),a.dispatchAction((0,r.X$)(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function o(t,e,n,a,o){var s=t+e;n.isSilent(s)||a.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,a=t.option.selectedMap,l=o.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var c=t.getData(),d=(0,i.le)(c,o.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,r.cy)(d)?c.getName(d[0]):c.getName(d),selected:(0,r.Kg)(a)?a:(0,r.X$)({},a)})}}))}function s(t,e,n){t.on("selectchanged",(function(t){var r=n.getModel();t.isFromClick?(o("map","selectchanged",e,r,t),o("pie","selectchanged",e,r,t)):"select"===t.fromAction?(o("map","selected",e,r,t),o("pie","selected",e,r,t)):"unselect"===t.fromAction&&(o("map","unselected",e,r,t),o("pie","unselected",e,r,t))}))}},14716:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(98026),i=n(43870),a=n(10992),o=n(82980),s=n(43471),l=Math.PI;function u(t,e){e=e||{},r.NT(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new i.A,u=new a.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(u);var c,d=new o.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),f=new a.A({style:{fill:"none"},textContent:d,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(f),e.showSpinner&&(c=new s.A({shape:{startAngle:-l/2,endAngle:-l/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),c.animateShape(!0).when(1e3,{endAngle:3*l/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*l/2}).delay(300).start("circularInOut"),n.add(c)),n.resize=function(){var n=d.getBoundingRect().width,r=e.showSpinner?e.spinnerRadius:0,i=(t.getWidth()-2*r-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:r),a=t.getHeight()/2;e.showSpinner&&c.setShape({cx:i,cy:a}),f.setShape({x:i-r,y:a-r,width:2*r,height:2*r}),u.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}},15915:function(t,e,n){"use strict";var r=n(15215),i=n(98026),a=n(5202),o=n(12616),s=n(30693),l=n(48170),u=n(34253),c=(0,l.$r)(),d=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=o.$Q("ec_cpt_model"),i}return(0,r.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=u.ad(this),r=n?u.vs(t):{},a=e.getTheme();i.h1(t,a.get(this.mainType)),i.h1(t,this.getDefaultOption()),n&&u.YA(t,r,n)},e.prototype.mergeOption=function(t,e){i.h1(this.option,t,!0);var n=u.ad(this);n&&u.YA(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){var n=[],r=t;while(r){var a=r.prototype.defaultOption;a&&n.push(a),r=r.superClass}for(var o={},l=n.length-1;l>=0;l--)o=i.h1(o,n[l],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return(0,l.JO)(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},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}(a.A);function f(t){var e=[];return i.__(d.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=i.Tj(e,(function(t){return(0,s.CC)(t).main})),"dataset"!==t&&i.qh(e,"dataset")<=0&&e.unshift("dataset"),e}(0,s.q7)(d,a.A),(0,s.tQ)(d),o.A6(d),o.vf(d,f),e.A=d},61715:function(t,e,n){"use strict";n.d(e,{A:function(){return A}});var r=n(15215),i=n(98026),a=n(48170),o=n(5202),s=n(15915),l="";"undefined"!==typeof navigator&&(l=navigator.platform||"");var u,c,d,f="rgba(0, 0, 0, 0.2)",h={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:f,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:f,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:f,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:f,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:f,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:f,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:l.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},p=n(23071),g=n(7442),m=n(96501),v="\0_ec_inner",y=1;var x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.init=function(t,e,n,r,i,a){r=r||{},this.option=null,this._theme=new o.A(r),this._locale=new o.A(i),this._optionManager=a},e.prototype.setOption=function(t,e,n){var r=w(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,w(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var a=r.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(a,e)):d(this,a),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=r.getMediaOption(this);s.length&&(0,i.__)(s,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,r=this._componentsMap,o=this._componentsCount,l=[],c=(0,i.nt)(),d=e&&e.replaceMergeMainTypeMap;function f(e){var l=(0,g.a)(this,e,a.qB(t[e])),c=r.get(e),f=c?d&&d.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=a.O2(c,l,f);a.GX(h,e,s.A),n[e]=null,r.set(e,null),o.set(e,0);var p,m=[],v=[],y=0;(0,i.__)(h,(function(t,n){var r=t.existing,a=t.newOption;if(a){var o="series"===e,l=s.A.getClass(e,t.keyInfo.subType,!o);if(!l)return;if("tooltip"===e){if(p)return void 0;p=!0}if(r&&r.constructor===l)r.name=t.keyInfo.name,r.mergeOption(a,this),r.optionUpdated(a,!1);else{var u=(0,i.X$)({componentIndex:n},t.keyInfo);r=new l(a,this,this,u),(0,i.X$)(r,u),t.brandNew&&(r.__requireNewView=!0),r.init(a,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(m.push(r.option),v.push(r),y++):(m.push(void 0),v.push(void 0))}),this),n[e]=m,r.set(e,v),o.set(e,y),"series"===e&&u(this)}(0,p.ps)(this),(0,i.__)(t,(function(t,e){null!=t&&(s.A.hasClass(e)?e&&(l.push(e),c.set(e,!0)):n[e]=null==n[e]?(0,i.o8)(t):(0,i.h1)(n[e],t,!0))})),d&&d.each((function(t,e){s.A.hasClass(e)&&!c.get(e)&&(l.push(e),c.set(e,!0))})),s.A.topologicalTravel(l,s.A.getAllClassMainTypes(),f,this),this._seriesIndices||u(this)},e.prototype.getOption=function(){var t=(0,i.o8)(this.option);return(0,i.__)(t,(function(e,n){if(s.A.hasClass(n)){for(var r=a.qB(e),i=r.length,o=!1,l=i-1;l>=0;l--)r[l]&&!a.oh(r[l])?o=!0:(r[l]=null,!o&&i--);r.length=i,t[n]=r}})),delete t[v],t},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,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,o=t.id,s=t.name,l=this._componentsMap.get(e);return l&&l.length?(null!=r?(n=[],(0,i.__)(a.qB(r),(function(t){l[t]&&n.push(l[t])}))):n=null!=o?_("id",o,l):null!=s?_("name",s,l):(0,i.pb)(l,(function(t){return!!t})),M(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,r=o(e),a=r?this.queryComponents(r):(0,i.pb)(this._componentsMap.get(n),(function(t){return!!t}));return s(M(a,t));function o(t){var e=n+"Index",r=n+"Id",i=n+"Name";return!t||null==t[e]&&null==t[r]&&null==t[i]?null:{mainType:n,index:t[e],id:t[r],name:t[i]}}function s(e){return t.filter?(0,i.pb)(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if((0,i.Tn)(t)){var a=e,o=t;r.each((function(t,e){for(var n=0;t&&n<t.length;n++){var r=t[n];r&&o.call(a,e,r,r.componentIndex)}}))}else for(var s=(0,i.Kg)(t)?r.get(t):(0,i.Gv)(t)?this.findComponents(t):null,l=0;s&&l<s.length;l++){var u=s[l];u&&e.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=a.vS(t,null);return(0,i.pb)(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,i.pb)(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return(0,i.pb)(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){c(this),(0,i.__)(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},e.prototype.eachRawSeries=function(t,e){(0,i.__)(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){c(this),(0,i.__)(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,i.__)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return c(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){c(this);var n=[];(0,i.__)(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];t.call(e,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,i.nt)(n)},e.prototype.restoreData=function(t){u(this);var e=this._componentsMap,n=[];e.each((function(t,e){s.A.hasClass(e)&&n.push(e)})),s.A.topologicalTravel(n,s.A.getAllClassMainTypes(),(function(n){(0,i.__)(e.get(n),(function(e){!e||"series"===n&&b(e,t)||e.restoreData()}))}))},e.internalField=function(){u=function(t){var e=t._seriesIndices=[];(0,i.__)(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=(0,i.nt)(e)},c=function(t){0},d=function(t,e){t.option={},t.option[v]=y,t._componentsMap=(0,i.nt)({series:[]}),t._componentsCount=(0,i.nt)();var n=e.aria;(0,i.Gv)(n)&&null==n.enabled&&(n.enabled=!0),S(e,t._theme.option),(0,i.h1)(e,h,!1),t._mergeOption(e,null)}}(),e}(o.A);function b(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}function S(t,e){var n=t.color&&!t.colorLayer;(0,i.__)(e,(function(e,r){"colorLayer"===r&&n||s.A.hasClass(r)||("object"===typeof e?t[r]=t[r]?(0,i.h1)(t[r],e,!1):(0,i.o8)(e):null==t[r]&&(t[r]=e))}))}function _(t,e,n){if((0,i.cy)(e)){var r=(0,i.nt)();return(0,i.__)(e,(function(t){if(null!=t){var e=a.vS(t,null);null!=e&&r.set(t,!0)}})),(0,i.pb)(n,(function(e){return e&&r.get(e[t])}))}var o=a.vS(e,null);return(0,i.pb)(n,(function(e){return e&&null!=o&&e[t]===o}))}function M(t,e){return e.hasOwnProperty("subType")?(0,i.pb)(t,(function(t){return t&&t.subType===e.subType})):t}function w(t){var e=(0,i.nt)();return t&&(0,i.__)(a.qB(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}(0,i.co)(x,m.X);var A=x},5202:function(t,e,n){"use strict";n.d(e,{A:function(){return b}});var r=n(38123),i=n(30693),a=n(32944),o=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=(0,a.A)(o),l=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return s(this,t,e)},t}(),u=n(89632),c=n(82980),d=["textStyle","color"],f=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new c.Ay,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(d):null)},t.prototype.getFont=function(){return(0,u.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<f.length;n++)e[f[n]]=this.getShallow(f[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),g=p,m=n(8317),v=n(14962),y=n(98026),x=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,y.h1)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null,a=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new t(a,n,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t((0,y.o8)(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!r.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length;r++)if(t[r]&&(n=n&&"object"===typeof n?n[t[r]]:null,null==n))break;return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,i.gq)(x),(0,i.Od)(x),(0,y.co)(x,m.J),(0,y.co)(x,v.s),(0,y.co)(x,l),(0,y.co)(x,g);var b=x},8348:function(t,e,n){"use strict";var r=n(48170),i=n(98026),a=/^(min|max)?(.+)$/,o=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,i.__)((0,r.qB)(t.series),(function(t){t&&t.data&&(0,i.iu)(t.data)&&(0,i.En)(t.data)})),(0,i.__)((0,r.qB)(t.dataset),(function(t){t&&t.source&&(0,i.iu)(t.source)&&(0,i.En)(t.source)}))),t=(0,i.o8)(t);var a=this._optionBackup,o=s(t,e,!a);this._newBaseOption=o.baseOption,a?(o.timelineOptions.length&&(a.timelineOptions=o.timelineOptions),o.mediaList.length&&(a.mediaList=o.mediaList),o.mediaDefault&&(a.mediaDefault=o.mediaDefault)):this._optionBackup=o},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,i.o8)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=(0,i.o8)(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!r.length&&!a)return s;for(var u=0,d=r.length;u<d;u++)l(r[u].query,e,n)&&o.push(u);return!o.length&&a&&(o=[-1]),o.length&&!c(o,this._currentMediaIndices)&&(s=(0,i.Tj)(o,(function(t){return(0,i.o8)(-1===t?a.option:r[t].option)}))),this._currentMediaIndices=o,s},t}();function s(t,e,n){var r,a,o=[],s=t.baseOption,l=t.timeline,u=t.options,c=t.media,d=!!t.media,f=!!(u||l||s&&s.timeline);function h(t){(0,i.__)(e,(function(e){e(t,n)}))}return s?(a=s,a.timeline||(a.timeline=l)):((f||d)&&(t.options=t.media=null),a=t),d&&(0,i.cy)(c)&&(0,i.__)(c,(function(t){t&&t.option&&(t.query?o.push(t):r||(r=t))})),h(a),(0,i.__)(u,(function(t){return h(t)})),(0,i.__)(o,(function(t){return h(t.option)})),{baseOption:a,timelineOptions:u||[],mediaDefault:r,mediaList:o}}function l(t,e,n){var r={width:e,height:n,aspectratio:e/n},o=!0;return(0,i.__)(t,(function(t,e){var n=e.match(a);if(n&&n[1]&&n[2]){var i=n[1],s=n[2].toLowerCase();u(r[s],t,i)||(o=!1)}})),o}function u(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function c(t,e){return t.join(",")===e.join(",")}e.A=o},47355:function(t,e,n){"use strict";n.d(e,{U:function(){return v}});var r=n(15215),i=n(98026),a=n(38123),o=n(48170),s=n(15915),l=n(96501),u=n(9427),c=n(34253),d=n(49431),f=n(30693),h=n(40972),p=n(4235),g=o.$r();function m(t,e){return t.getName(e)||t.getId(e)}var v="__universalTransitionEnabled",y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,r.C6)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,d.U)({count:S,reset:_}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var r=g(this).sourceManager=new h.R(this);r.prepareSource();var i=this.getInitialData(t,n);w(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,x(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.ad)(this),r=n?(0,c.vs)(t):{},a=this.subType;s.A.hasClass(a)&&(a+="Series"),i.h1(t,e.getTheme().get(this.subType)),i.h1(t,this.getDefaultOption()),o.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.YA)(t,r,n)},e.prototype.mergeOption=function(t,e){t=i.h1(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,t,n);var r=g(this).sourceManager;r.dirty(),r.prepareSource();var a=this.getInitialData(t,e);w(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,g(this).dataBeforeProcessed=a,x(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(t){if(t&&!i.iu(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&o.M5(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=I(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return g(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=I(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}g(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.nt(t)},e.prototype.getSourceManager=function(){return g(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return g(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return(0,p.J)({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(a.A.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=l.X.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a<t.length;a++){var o=t[a],s=m(i,o);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.HP(t),n=[],r=0;r<e.length;r++){var a=t[e[r]];a>=0&&n.push(a)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[m(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,a=this.option,o=a.selectedMode,s=e.length;if(o&&s)if("series"===o)a.selectedMap="all";else if("multiple"===o){i.Gv(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u<s;u++){var c=e[u],d=m(t,c);l[d]=!0,this._selectedDataIndicesMap[d]=t.getRawIndex(c)}}else if("single"===o||!0===o){var f=e[s-1];d=m(t,f);a.selectedMap=(n={},n[d]=!0,n),this._selectedDataIndicesMap=(r={},r[d]=t.getRawIndex(f),r)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.A.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s.A);function x(t){var e=t.name;o.O0(t)||(t.name=b(t)||e)}function b(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return i.__(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}function S(t){return t.model.getRawData().count()}function _(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function w(t,e){i.__(i.yB(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,i.cF(A,e))}))}function A(t,e){var n=I(t);return n&&n.setOutputEnd((e||this).count()),e}function I(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i.co(y,u.J),i.co(y,l.X),(0,f.q7)(y,s.A),e.A=y},7442:function(t,e,n){"use strict";n.d(e,{S:function(){return a},a:function(){return o}});var r=n(98026),i=(0,r.nt)();function a(t,e){(0,r.vA)(null==i.get(t)&&e),i.set(t,e)}function o(t,e,n){var r=i.get(e);if(!r)return n;var a=r(t);return a?n.concat(a):n}},9427:function(t,e,n){"use strict";n.d(e,{J:function(){return s},L:function(){return l}});var r=n(98026),i=n(58267),a=n(83412),o=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),a=n.getName(t),o=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,f=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:a,dataIndex:i,data:o,dataType:e,value:r,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var c=this.getData(n),d=this.getDataParams(t,n);if(u&&(d.value=u.interpolatedValue),null!=s&&r.cy(d.value)&&(d.value=d.value[s]),!l){var f=c.getItemModel(t);l=f.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(r.Tn(l))return d.status=e,d.dimensionIndex=s,l(d);if(r.Kg(l)){var h=(0,a.YK)(l,d);return h.replace(o,(function(e,n){var a=n.length,o=n;"["===o.charAt(0)&&"]"===o.charAt(a-1)&&(o=+o.slice(1,a-1));var s=(0,i.QE)(c,t,o);if(u&&r.cy(u.interpolatedValue)){var l=c.getDimensionIndex(o);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return(0,i.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return r.Gv(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},14962:function(t,e,n){"use strict";n.d(e,{L:function(){return i},s:function(){return o}});var r=n(32944),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],a=(0,r.A)(i),o=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return a(this,t,e)},t}()},8317:function(t,e,n){"use strict";n.d(e,{J:function(){return o},m:function(){return i}});var r=n(32944),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],a=(0,r.A)(i),o=function(){function t(){}return t.prototype.getLineStyle=function(t){return a(this,t)},t}()},32944:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(98026);function i(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,a){for(var o={},s=0;s<t.length;s++){var l=t[s][1];if(!(i&&r.qh(i,l)>=0||a&&r.qh(a,l)<0)){var u=n.getShallow(l,e);null!=u&&(o[t[s][0]]=u)}}return o}}},96501:function(t,e,n){"use strict";n.d(e,{X:function(){return o},x:function(){return s}});var r=n(48170),i=(0,r.$r)(),a=(0,r.$r)(),o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var a=(0,r.qB)(this.get("color",!0)),o=this.get("colorLayer",!0);return u(this,i,a,o,t,e,n)},t.prototype.clearColorPalette=function(){c(this,i)},t}();function s(t,e,n,i){var o=(0,r.qB)(t.get(["aria","decal","decals"]));return u(t,a,o,null,e,n,i)}function l(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}function u(t,e,n,r,i,a,o){a=a||t;var s=e(a),u=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var d=null!=o&&r?l(r,o):n;if(d=d||n,d&&d.length){var f=d[u];return i&&(c[i]=f),s.paletteIdx=(u+1)%d.length,f}}function c(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}},90106:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var r=n(98026),i=n(48170),a=function(){function t(t){this.coordSysDims=[],this.axisMap=(0,r.nt)(),this.categoryAxisMap=(0,r.nt)(),this.coordSysName=t}return t}();function o(t){var e=t.get("coordinateSystem"),n=new a(e),r=s[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var s={cartesian2d:function(t,e,n,r){var a=t.getReferringComponents("xAxis",i.US).models[0],o=t.getReferringComponents("yAxis",i.US).models[0];e.coordSysDims=["x","y"],n.set("x",a),n.set("y",o),l(a)&&(r.set("x",a),e.firstCategoryDimIndex=0),l(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var a=t.getReferringComponents("singleAxis",i.US).models[0];e.coordSysDims=["single"],n.set("single",a),l(a)&&(r.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var a=t.getReferringComponents("polar",i.US).models[0],o=a.findAxisModel("radiusAxis"),s=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",s),l(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),l(s)&&(r.set("angle",s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,o=a.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=o.dimensions.slice();(0,r.__)(o.parallelAxisIndex,(function(t,r){var o=a.getComponent("parallelAxis",t),u=s[r];n.set(u,o),l(o)&&(i.set(u,o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))}))}};function l(t){return"category"===t.get("type")}},32138:function(t,e,n){"use strict";n.d(e,{A:function(){return T}});var r=n(98026),i=n(48170),a=r.__,o=r.Gv,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=s.length;n<i;n++){var a=s[n],o=e.normal,l=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?r.h1(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),l&&l[a]&&(t[a]=t[a]||{},t[a].emphasis?r.h1(t[a].emphasis,l[a]):t[a].emphasis=l[a],l[a]=null)}}function u(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,a=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,r.NT(t[e],i)):t[e]=i),a&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a,a.focus&&(t.emphasis.focus=a.focus),a.blurScope&&(t.emphasis.blurScope=a.blurScope))}}function c(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function d(t,e){var n=o(t)&&t[e],r=o(n)&&n.textStyle;if(r){0;for(var a=0,s=i.JS.length;a<s;a++){var l=i.JS[a];r.hasOwnProperty(l)&&(n[l]=r[l])}}}function f(t){t&&(c(t),d(t,"label"),t.emphasis&&d(t.emphasis,"label"))}function h(t){if(o(t)){l(t),c(t),d(t,"label"),d(t,"upperLabel"),d(t,"edgeLabel"),t.emphasis&&(d(t.emphasis,"label"),d(t.emphasis,"upperLabel"),d(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(l(e),f(e));var n=t.markLine;n&&(l(n),f(n));var i=t.markArea;i&&f(i);var a=t.data;if("graph"===t.type){a=a||t.nodes;var s=t.links||t.edges;if(s&&!r.iu(s))for(var h=0;h<s.length;h++)f(s[h]);r.__(t.categories,(function(t){c(t)}))}if(a&&!r.iu(a))for(h=0;h<a.length;h++)f(a[h]);if(e=t.markPoint,e&&e.data){var p=e.data;for(h=0;h<p.length;h++)f(p[h])}if(n=t.markLine,n&&n.data){var g=n.data;for(h=0;h<g.length;h++)r.cy(g[h])?(f(g[h][0]),f(g[h][1])):f(g[h])}"gauge"===t.type?(d(t,"axisLabel"),d(t,"title"),d(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),r.__(t.levels,(function(t){c(t)}))):"tree"===t.type&&c(t.leaves)}}function p(t){return r.cy(t)?t:t?[t]:[]}function g(t){return(r.cy(t)?t[0]:t)||{}}function m(t,e){a(p(t.series),(function(t){o(t)&&h(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),a(n,(function(e){a(p(t[e]),(function(t){t&&(d(t,"axisLabel"),d(t.axisPointer,"label"))}))})),a(p(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;d(e,"axisLabel"),d(e&&e.axisPointer,"label")})),a(p(t.calendar),(function(t){u(t,"itemStyle"),d(t,"dayLabel"),d(t,"monthLabel"),d(t,"yearLabel")})),a(p(t.radar),(function(t){d(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),a(p(t.geo),(function(t){o(t)&&(f(t),a(p(t.regions),(function(t){f(t)})))})),a(p(t.timeline),(function(t){f(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;r.cy(e)&&r.__(e,(function(t){r.Gv(t)&&(u(t,"label"),u(t,"itemStyle"))}))})),a(p(t.toolbox),(function(t){u(t,"iconStyle"),a(t.feature,(function(t){u(t,"iconStyle")}))})),d(g(t.axisPointer),"label"),d(g(t.tooltip).axisPointer,"label")}function v(t,e){for(var n=e.split(","),r=t,i=0;i<n.length;i++)if(r=r&&r[n[i]],null==r)break;return r}function y(t,e,n,r){for(var i,a=e.split(","),o=t,s=0;s<a.length-1;s++)i=a[s],null==o[i]&&(o[i]={}),o=o[i];(r||null==o[a[s]])&&(o[a[s]]=n)}function x(t){t&&(0,r.__)(b,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var b=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],S=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],_=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function M(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<_.length;n++){var r=_[n][1],i=_[n][0];null!=e[r]&&(e[i]=e[r])}}function w(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function A(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function I(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function D(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&D(t[n].children,e)}function T(t,e){m(t,e),t.series=(0,i.qB)(t.series),(0,r.__)(t.series,(function(t){if((0,r.Gv)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),w(t.label);var n=t.data;if(n&&!(0,r.iu)(n))for(var i=0;i<n.length;i++)w(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var a=v(t,"pointer.color");null!=a&&y(t,"itemStyle.color",a)}else if("bar"===e){M(t),M(t.backgroundStyle),M(t.emphasis);n=t.data;if(n&&!(0,r.iu)(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(M(n[i]),M(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),A(t),D(t.data,A)}else"graph"===e||"sankey"===e?I(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,r.NT)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),x(t)}})),t.dataRange&&(t.visualMap=t.dataRange),(0,r.__)(S,(function(e){var n=t[e];n&&((0,r.cy)(n)||(n=[n]),(0,r.__)(n,(function(t){x(t)})))}))}},78587:function(t,e,n){"use strict";function r(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var r=t.getData();r.filterSelf((function(t){for(var e=r.getName(t),i=0;i<n.length;i++)if(!n[i].isSelected(e))return!1;return!0}))}}}}n.d(e,{A:function(){return r}})},37959:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(98026),i={average:function(t){for(var e=0,n=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},minmax:function(t){for(var e=-1/0,n=-1/0,r=0;r<t.length;r++){var i=t[r],a=Math.abs(i);a>e&&(e=a,n=i)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},a=function(t){return Math.round(t.length/2)};function o(t){return{seriesType:t,reset:function(t,e,n){var o=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=o.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),d=l.getOtherAxis(c),f=c.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(f[1]-f[0])*(h||1),g=Math.round(u/p);if(isFinite(g)&&g>1){"lttb"===s&&t.setData(o.lttbDownSample(o.mapDimension(d.dim),1/g));var m=void 0;(0,r.Kg)(s)?m=i[s]:(0,r.Tn)(s)&&(m=s),m&&t.setData(o.downSample(o.mapDimension(d.dim),1/g,m,a))}}}}}},7213:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(98026),i=n(24326);function a(t){var e=(0,r.nt)();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),a={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(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(a)}})),e.each(o)}function o(t){(0,r.__)(t,(function(e,n){var r=[],a=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],s=e.data,l=e.isStackedByIndex,u=e.seriesModel.get("stackStrategy")||"samesign";s.modify(o,(function(o,c,d){var f,h,p=s.get(e.stackedDimension,d);if(isNaN(p))return a;l?h=s.getRawIndex(d):f=s.get(e.stackedByDimension,d);for(var g=NaN,m=n-1;m>=0;m--){var v=t[m];if(l||(h=v.data.rawIndexOf(v.stackedByDimension,f)),h>=0){var y=v.data.getByRawIndex(v.stackResultDimension,h);if("all"===u||"positive"===u&&y>0||"negative"===u&&y<0||"samesign"===u&&p>=0&&y>0||"samesign"===u&&p<=0&&y<0){p=(0,i.Tr)(p,y),g=y;break}}}return r[0]=p,r[1]=g,r}))}))}},82796:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(98026);function i(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!((0,r.Et)(i)&&!isNaN(i)&&i<0)}))}}}}}]);