(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"0046":function(t,e,n){var r=n("6d8b"),i=r.each,o=r.createHashMap,a=n("4f85"),s=n("3301"),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return u(n,this),s(n,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),r=[];return e.eachActiveState(n,(function(e,i){t===e&&r.push(n.getRawIndex(i))})),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(t,e){if(!t.encodeDefine){var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(n){var r=t.encodeDefine=o();i(n.dimensions,(function(t){var e=c(t);r.set(t,e)}))}}}function c(t){return+t.replace("dim","")}t.exports=l},"004f":function(t,e,n){var r=n("6d8b"),i=n("72b6"),o=n("2306"),a=n("a15a"),s=a.createSymbol,l=n("f934"),u=n("cbb0"),c=i.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,a=i.getFont(),s=i.getTextColor(),u=this._getItemAlign(),c=e.itemSize,f=this._getViewData(),h=f.endsText,d=r.retrieve(e.get("showLabel",!0),!h);function p(i){var l=i.piece,f=new o.Group;f.onclick=r.bind(this._onItemClick,this,l),this._enableHoverLink(f,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(f,h,[0,0,c[0],c[1]]),d){var p=this.visualMapModel.getValueState(h);f.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}t.add(f)}h&&this._renderEndsText(t,h[0],c,d,u),r.each(f.viewPieceList,p,this),h&&this._renderEndsText(t,h[1],c,d,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:u.makeHighDownBatch(n.findTargetDataIndices(e),n)})}t.on("mouseover",r.bind(n,this,"highlight")).on("mouseout",r.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,r,i){if(e){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?i:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var t=this.visualMapModel,e=r.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return("horizontal"===i?o:!o)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(s(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,i=r.clone(n.selected),o=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[o]=!0,r.each(i,(function(t,e){i[e]=e===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}}),f=c;t.exports=f},"0050":function(t,e,n){"use strict";(function(e){function n(t){return t instanceof e?e.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function r(t){return t=t||{},t.circles?i(t):t.proto?o:r;function e(t,e){for(var r=Object.keys(t),i=new Array(r.length),o=0;o1&&"boolean"!==typeof e)throw new u('"allowMissing" argument must be a boolean');if(null===I(/^%?[^%]*%?$/,t))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(t),r=n.length>0?n[0]:"",i=R("%"+r+"%",e),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],M(n,O([0,1],c)));for(var f=1,h=!0;f=n.length){var y=d(a,p);h=!!y,a=h&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else h=k(a,p),a=a[p];h&&!s&&(_[o]=a)}}return a}},"00d8":function(t,e,n){var r=n("6d8b");function i(t,e){return e=e||[0,0],r.map([0,1],(function(n){var r=e[n],i=t[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:r.bind(i,t)}}}t.exports=o},"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0141":function(t,e,n){var r=n("6d8b"),i=n("9850"),o=n("6cc5"),a=n("5b87");function s(t,e,n,r){o.call(this,t),this.map=e;var i=a.load(e,n);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=null==r||r,this.regions=i.regions,this._rect=i.boundingRect}function l(t,e,n,r){var i=n.geoModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](r):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:3,e=new Map;return{get:function(n){var r=n.match(T).length;if(e.has(r))return e.get(r);var i=parseFloat((1/Math.sqrt(r)).toFixed(t));return e.set(r,i),i},clear:function(){e.clear()}}}var P=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.getFn,i=void 0===r?E.getFn:r;e(this,t),this.norm=I(3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return r(t,[{key:"setSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=t}},{key:"setIndexRecords",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=t}},{key:"setKeys",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach((function(e,n){t._keysMap[e.id]=n}))}},{key:"create",value:function(){var t=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(e,n){t._addString(e,n)})):this.docs.forEach((function(e,n){t._addObject(e,n)})),this.norm.clear())}},{key:"add",value:function(t){var e=this.size();g(t)?this._addString(t,e):this._addObject(t,e)}},{key:"removeAt",value:function(t){this.records.splice(t,1);for(var e=t,n=this.size();e2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?E.getFn:r,o=new P({getFn:i});return o.setKeys(t.map(k)),o.setSources(e),o.create(),o}function D(t,e){var n=t.matches;e.matches=[],b(n)&&n.forEach((function(t){if(b(t.indices)&&t.indices.length){var n={indices:t.indices,value:t.value};t.key&&(n.key=t.key.src),t.idx>-1&&(n.refIndex=t.idx),e.matches.push(n)}}))}function R(t,e){e.score=t.score}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.errors,r=void 0===n?0:n,i=e.currentLocation,o=void 0===i?0:i,a=e.expectedLocation,s=void 0===a?0:a,l=e.distance,u=void 0===l?E.distance:l,c=e.ignoreLocation,f=void 0===c?E.ignoreLocation:c,h=r/t.length;if(f)return h;var d=Math.abs(s-o);return u?h+d/u:d?1:h}function j(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.minMatchCharLength,n=[],r=-1,i=-1,o=0,a=t.length;o=e&&n.push([r,i]),r=-1)}return t[o-1]&&o-r>=e&&n.push([r,o-1]),n}function B(t){for(var e={},n=0,r=t.length;n1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?E.location:o,s=i.threshold,l=void 0===s?E.threshold:s,u=i.distance,c=void 0===u?E.distance:u,f=i.includeMatches,h=void 0===f?E.includeMatches:f,d=i.findAllMatches,p=void 0===d?E.findAllMatches:d,g=i.minMatchCharLength,v=void 0===g?E.minMatchCharLength:g,y=i.isCaseSensitive,m=void 0===y?E.isCaseSensitive:y,b=i.ignoreLocation,x=void 0===b?E.ignoreLocation:b;if(e(this,t),this.options={location:a,threshold:l,distance:c,includeMatches:h,findAllMatches:p,minMatchCharLength:v,isCaseSensitive:m,ignoreLocation:x},this.pattern=m?n:n.toLowerCase(),this.chunks=[],this.pattern.length){var _=function(t,e){r.chunks.push({pattern:t,alphabet:B(t),startIndex:e})},w=this.pattern.length;if(w>32){for(var S=0,C=w%32,A=w-C;S3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?E.location:i,a=r.distance,s=void 0===a?E.distance:a,l=r.threshold,u=void 0===l?E.threshold:l,c=r.findAllMatches,f=void 0===c?E.findAllMatches:c,h=r.minMatchCharLength,d=void 0===h?E.minMatchCharLength:h,p=r.includeMatches,g=void 0===p?E.includeMatches:p,v=r.ignoreLocation,y=void 0===v?E.ignoreLocation:v;if(e.length>32)throw new Error(S(32));for(var m,b=e.length,x=t.length,_=Math.max(0,Math.min(o,x)),w=u,C=_,A=d>1||g,k=A?Array(x):[];(m=t.indexOf(e,C))>-1;){var O=N(e,{currentLocation:m,expectedLocation:_,distance:s,ignoreLocation:y});if(w=Math.min(O,w),C=m+b,A)for(var M=0;M=z;H-=1){var W=H-1,G=n[t.charAt(W)];if(A&&(k[W]=+!!G),q[H]=(q[H+1]<<1|1)&G,D&&(q[H]|=(T[H+1]|T[H])<<1|1|T[H+1]),q[H]&L&&(I=N(e,{errors:D,currentLocation:W,expectedLocation:_,distance:s,ignoreLocation:y}))<=w){if(w=I,(C=W)<=_)break;z=Math.max(1,2*_-C)}}var U=N(e,{errors:D+1,currentLocation:_,expectedLocation:_,distance:s,ignoreLocation:y});if(U>w)break;T=q}var $={isMatch:C>=0,score:Math.max(.001,I)};if(A){var K=j(k,d);K.length?g&&($.indices=K):$.isMatch=!1}return $}(t,n,i,{location:a+o,distance:s,threshold:l,findAllMatches:u,minMatchCharLength:c,includeMatches:r,ignoreLocation:f}),y=v.isMatch,m=v.score,b=v.indices;y&&(g=!0),p+=m,y&&b&&(d=[].concat(h(d),h(b)))}));var v={isMatch:g,score:g?p/this.chunks.length:1};return g&&r&&(v.indices=d),v}}]),t}(),z=function(){function t(n){e(this,t),this.pattern=n}return r(t,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(t){return V(t,this.multiRegex)}},{key:"isSingleMatch",value:function(t){return V(t,this.singleRegex)}}]),t}();function V(t,e){var n=t.match(e);return n?n[1]:null}var q=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),i}(z),H=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),i}(z),W=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),i}(z),G=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),i}(z),U=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),i}(z),$=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){var e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),i}(z),K=function(t){s(i,t);var n=f(i);function i(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.location,s=void 0===a?E.location:a,l=o.threshold,u=void 0===l?E.threshold:l,c=o.distance,f=void 0===c?E.distance:c,h=o.includeMatches,d=void 0===h?E.includeMatches:h,p=o.findAllMatches,g=void 0===p?E.findAllMatches:p,v=o.minMatchCharLength,y=void 0===v?E.minMatchCharLength:v,m=o.isCaseSensitive,b=void 0===m?E.isCaseSensitive:m,x=o.ignoreLocation,_=void 0===x?E.ignoreLocation:x;return e(this,i),(r=n.call(this,t))._bitapSearch=new F(t,{location:s,threshold:u,distance:f,includeMatches:d,findAllMatches:g,minMatchCharLength:y,isCaseSensitive:b,ignoreLocation:_}),r}return r(i,[{key:"search",value:function(t){return this._bitapSearch.searchIn(t)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),i}(z),Y=function(t){s(i,t);var n=f(i);function i(t){return e(this,i),n.call(this,t)}return r(i,[{key:"search",value:function(t){for(var e,n=0,r=[],i=this.pattern.length;(e=t.indexOf(this.pattern,n))>-1;)n=e+i,r.push([e,n-1]);var o=!!r.length;return{isMatch:o,score:o?1:0,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),i}(z),Z=[q,Y,W,G,$,U,H,K],X=Z.length,Q=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function J(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.split("|").map((function(t){for(var n=t.trim().split(Q).filter((function(t){return t&&!!t.trim()})),r=[],i=0,o=n.length;i1&&void 0!==arguments[1]?arguments[1]:{},i=r.isCaseSensitive,o=void 0===i?E.isCaseSensitive:i,a=r.includeMatches,s=void 0===a?E.includeMatches:a,l=r.minMatchCharLength,u=void 0===l?E.minMatchCharLength:l,c=r.ignoreLocation,f=void 0===c?E.ignoreLocation:c,h=r.findAllMatches,d=void 0===h?E.findAllMatches:h,p=r.location,g=void 0===p?E.location:p,v=r.threshold,y=void 0===v?E.threshold:v,m=r.distance,b=void 0===m?E.distance:m;e(this,t),this.query=null,this.options={isCaseSensitive:o,includeMatches:s,minMatchCharLength:u,findAllMatches:d,ignoreLocation:f,location:g,threshold:y,distance:b},this.pattern=o?n:n.toLowerCase(),this.query=J(this.pattern,this.options)}return r(t,[{key:"searchIn",value:function(t){var e=this.query;if(!e)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;t=n.isCaseSensitive?t:t.toLowerCase();for(var i=0,o=[],a=0,s=0,l=e.length;s1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;e(this,t),this.options=a({},E,{},r),this.options.useExtendedSearch,this._keyStore=new A(this.options.keys),this.setCollection(n,i)}return r(t,[{key:"setCollection",value:function(t,e){if(this._docs=t,e&&!(e instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=e||L(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(t){b(t)&&(this._docs.push(t),this._myIndex.add(t))}},{key:"remove",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},e=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,a=i.includeScore,s=i.shouldSort,l=i.sortFn,u=i.ignoreFieldNorm,c=g(t)?g(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return dt(c,{ignoreFieldNorm:u}),s&&c.sort(l),v(r)&&r>-1&&(c=c.slice(0,r)),pt(c,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(t){var e=rt(t,this.options),n=this._myIndex.records,r=[];return n.forEach((function(t){var n=t.v,i=t.i,o=t.n;if(b(n)){var a=e.searchIn(n),s=a.isMatch,l=a.score,u=a.indices;s&&r.push({item:n,idx:i,matches:[{score:l,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(t){var e=this,n=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.auto,i=void 0===r||r,o=function t(n){var r=Object.keys(n),o=ut(n);if(!o&&r.length>1&&!lt(n))return t(ft(n));if(ct(n)){var a=o?n[at]:r[0],s=o?n[st]:n[a];if(!g(s))throw new Error(w(a));var l={keyId:M(a),pattern:s};return i&&(l.searcher=rt(s,e)),l}var u={children:[],operator:r[0]};return r.forEach((function(e){var r=n[e];p(r)&&r.forEach((function(e){u.children.push(t(e))}))})),u};return lt(t)||(t=ft(t)),o(t)}(t,this.options),r=this._myIndex.records,i={},o=[];return r.forEach((function(t){var r=t.$,a=t.i;if(b(r)){var s=function t(n,r,i){if(!n.children){var o=n.keyId,a=n.searcher,s=e._findMatches({key:e._keyStore.get(o),value:e._myIndex.getValueForItemAtKeyId(r,o),searcher:a});return s&&s.length?[{idx:i,item:r,matches:s}]:[]}switch(n.operator){case it:for(var l=[],u=0,c=n.children.length;u2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?E.includeMatches:r,o=n.includeScore,a=void 0===o?E.includeScore:o,s=[];return i&&s.push(D),a&&s.push(R),t.map((function(t){var n=t.idx,r={item:e[n],refIndex:n};return s.length&&s.forEach((function(e){e(t,r)})),r}))}return ht.version="6.4.3",ht.createIndex=L,ht.parseIndex=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.getFn,r=void 0===n?E.getFn:n,i=t.keys,o=t.records,a=new P({getFn:r});return a.setKeys(i),a.setIndexRecords(o),a},ht.config=E,function(){nt.push.apply(nt,arguments)}(et),ht},t.exports=r()},"030c":function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var i=n("3bd2"),o=n("1beb");n("3fb5")(u,i);for(var a=r(o.prototype),s=0;sl)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},"042d":function(t,e,n){},"04d1":function(t,e,n){var r=n("342f"),i=r.match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},"04f6":function(t,e){var n=32,r=7;function i(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function o(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){while(i=0)i++;return i-e}function a(t,e,n){n--;while(e>>1,i(a,t[o])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function l(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){s=r-i;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(ls&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function u(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])<0){s=i+1;while(ls&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function c(t,e){var n,i,o=r,a=0,s=0;a=t.length;var c=[];function f(t,e){n[s]=t,i[s]=e,s+=1}function h(){while(s>1){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;p(t)}}function d(){while(s>1){var t=s-2;t>0&&i[t-1]=r||v>=r);if(y)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===i){for(f=0;f=0;f--)t[v+f]=t[g+f];if(0===i){x=!0;break}}if(t[p--]=c[d--],1===--s){x=!0;break}if(b=s-l(t[h],c,0,s,s-1,e),0!==b){for(p-=b,d-=b,s-=b,v=p+1,g=d+1,f=0;f=r||b>=r);if(x)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===s){for(p-=i,h-=i,v=p+1,g=h+1,f=i-1;f>=0;f--)t[v+f]=t[g+f];t[p]=c[d]}else{if(0===s)throw new Error;for(g=p-(s-1),f=0;f=0;f--)t[v+f]=t[g+f];t[p]=c[d]}else for(g=p-(s-1),f=0;fh&&(d=h),s(t,r,r+d,r+u,e),u=d}f.pushRun(r,u),f.mergeRuns(),l-=u,r+=u}while(0!==l);f.forceMergeRuns()}}t.exports=f},"04f8":function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"04fb":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n("7037")),o=r(n("970b"));n("0ca1");var a=r(n("9886")),s=n("5557"),l=n("a736"),u=function t(e){if((0,o["default"])(this,t),!e)return console.error("Charts Missing parameters!"),!1;var n=e.clientWidth,r=e.clientHeight,i=document.createElement("canvas");i.setAttribute("width",n),i.setAttribute("height",r),e.appendChild(i);var s={container:e,canvas:i,render:new a["default"](i),option:null};Object.assign(this,s)};e["default"]=u,u.prototype.setOption=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t||"object"!==(0,i["default"])(t))return console.error("setOption Missing parameters!"),!1;e&&this.render.graphs.forEach((function(t){return t.animationEnd()}));var n=(0,s.deepClone)(t,!0);(0,l.mergeColor)(this,n),(0,l.grid)(this,n),(0,l.axis)(this,n),(0,l.radarAxis)(this,n),(0,l.title)(this,n),(0,l.bar)(this,n),(0,l.line)(this,n),(0,l.pie)(this,n),(0,l.radar)(this,n),(0,l.gauge)(this,n),(0,l.legend)(this,n),this.option=t,this.render.launchAnimation()},u.prototype.resize=function(){var t=this.container,e=this.canvas,n=this.render,r=this.option,i=t.clientWidth,o=t.clientHeight;e.setAttribute("width",i),e.setAttribute("height",o),n.area=[i,o],this.setOption(r)}},"050c":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"bezierCurveToPolyline",{enumerable:!0,get:function(){return i.bezierCurveToPolyline}}),Object.defineProperty(e,"getBezierCurveLength",{enumerable:!0,get:function(){return i.getBezierCurveLength}}),Object.defineProperty(e,"polylineToBezierCurve",{enumerable:!0,get:function(){return o["default"]}}),e["default"]=void 0;var i=n("2db9"),o=r(n("ae10")),a={bezierCurveToPolyline:i.bezierCurveToPolyline,getBezierCurveLength:i.getBezierCurveLength,polylineToBezierCurve:o["default"]};e["default"]=a},"051b":function(t,e,n){var r=n("1a14"),i=n("10db");t.exports=n("0bad")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"057f":function(t,e,n){var r=n("c6b6"),i=n("fc6a"),o=n("241c").f,a=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return o(t)}catch(e){return a(s)}};t.exports.f=function(t){return s&&"Window"==r(t)?l(t):o(i(t))}},"05ee":function(t,e,n){"use strict";const r=n(0),i=n("34eb")("mqttjs:tcp");function o(t,e){e.port=e.port||1883,e.hostname=e.hostname||e.host||"localhost";const n=e.port,o=e.hostname;return i("port %d and host %s",n,o),r.createConnection(n,o)}t.exports=o},"05f5":function(t,e,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"0655":function(t,e,n){var r=n("8728"),i=1e-8;function o(t,e){return Math.abs(t-e)1&&void 0!==arguments[1]?arguments[1]:{},n=e.xAxis,r=e.yAxis,i=e.series,o=[];n&&r&&i&&(o=m(n,r),o=b(o),o=o.filter((function(t){var e=t.show;return e})),o=x(o),o=_(o,i),o=D(o),o=R(o,t),o=N(o,t),o=B(o,t),o=F(o,t)),(0,l.doUpdate)({chart:t,series:o,key:"axisLine",getGraphConfig:z}),(0,l.doUpdate)({chart:t,series:o,key:"axisTick",getGraphConfig:H}),(0,l.doUpdate)({chart:t,series:o,key:"axisLabel",getGraphConfig:U}),(0,l.doUpdate)({chart:t,series:o,key:"axisName",getGraphConfig:X}),(0,l.doUpdate)({chart:t,series:o,key:"splitLine",getGraphConfig:et}),t.axisData=o}function m(t,e){var n,r,i=[],o=[];t instanceof Array?(n=i).push.apply(n,(0,s["default"])(t)):i.push(t);e instanceof Array?(r=o).push.apply(r,(0,s["default"])(e)):o.push(e);return i.splice(2),o.splice(2),i=i.map((function(t,e){return d(d({},t),{},{index:e,axis:"x"})})),o=o.map((function(t,e){return d(d({},t),{},{index:e,axis:"y"})})),[].concat((0,s["default"])(i),(0,s["default"])(o))}function b(t){var e=t.filter((function(t){var e=t.axis;return"x"===e})),n=t.filter((function(t){var e=t.axis;return"y"===e}));return e=e.map((function(t){return(0,c.deepMerge)((0,f.deepClone)(u.xAxisConfig),t)})),n=n.map((function(t){return(0,c.deepMerge)((0,f.deepClone)(u.yAxisConfig),t)})),[].concat((0,s["default"])(e),(0,s["default"])(n))}function x(t){var e=t.filter((function(t){var e=t.data;return"value"===e})),n=t.filter((function(t){var e=t.data;return"value"!==e}));return e.forEach((function(t){"boolean"!==typeof t.boundaryGap&&(t.boundaryGap=!1)})),n.forEach((function(t){"boolean"!==typeof t.boundaryGap&&(t.boundaryGap=!0)})),[].concat((0,s["default"])(e),(0,s["default"])(n))}function _(t,e){var n=t.filter((function(t){var e=t.data;return"value"===e})),r=t.filter((function(t){var e=t.data;return e instanceof Array}));return n=w(n,e),r=P(r),[].concat((0,s["default"])(n),(0,s["default"])(r))}function w(t,e){return t.map((function(t){var n=S(t,e),r=k(t,n),i=(0,o["default"])(r,2),a=i[0],s=i[1],l=L(a,s,t),u=t.axisLabel.formatter,c=[];return c=a<0&&s>0?E(a,s,l):T(a,s,l),c=c.map((function(t){return parseFloat(t.toFixed(2))})),d(d({},t),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:I(c,u)})}))}function S(t,e){if(e=e.filter((function(t){var e=t.show,n=t.type;return!1!==e&&"pie"!==n})),0===e.length)return[0,0];var n=t.index,r=t.axis;e=A(e);var i=r+"Axis",o=e.filter((function(t){return t[i]===n}));return o.length||(o=e),C(o)}function C(t){if(t){var e=Math.min.apply(Math,(0,s["default"])(t.map((function(t){var e=t.data;return Math.min.apply(Math,(0,s["default"])((0,c.filterNonNumber)(e)))})))),n=Math.max.apply(Math,(0,s["default"])(t.map((function(t){var e=t.data;return Math.max.apply(Math,(0,s["default"])((0,c.filterNonNumber)(e)))}))));return[e,n]}}function A(t){var e=(0,f.deepClone)(t,!0);return t.forEach((function(n,r){var i=(0,c.mergeSameStackData)(n,t);e[r].data=i})),e}function k(t,e){var n=t.min,r=t.max,a=t.axis,s=(0,o["default"])(e,2),l=s[0],u=s[1],c=(0,i["default"])(n),f=(0,i["default"])(r);if(M(n)||(n=p[a+"AxisConfig"].min,c="string"),M(r)||(r=p[a+"AxisConfig"].max,f="string"),"string"===c){n=parseInt(l-g(l*parseFloat(n)/100));var h=O(n);n=parseFloat((n/h-.1).toFixed(1))*h}if("string"===f){r=parseInt(u+g(u*parseFloat(r)/100));var d=O(r);r=parseFloat((r/d+.1).toFixed(1))*d}return[n,r]}function O(t){var e=g(t).toString(),n=e.length,r=e.replace(/0*$/g,"").indexOf("0"),i=n-1;return-1!==r&&(i-=r),v(10,i)}function M(t){var e=(0,i["default"])(t),n="string"===e&&/^\d+%$/.test(t),r="number"===e;return n||r}function E(t,e,n){var r=[],i=[],o=0,a=0;do{r.push(o-=n)}while(o>t);do{i.push(a+=n)}while(a1&&(u=parseInt(u.toString().replace(/\d$/,"0"))),0===u&&(u=1),"number"===typeof i&&uo?o:u}function D(t){var e=t.filter((function(t){var e=t.axis;return"x"===e})),n=t.filter((function(t){var e=t.axis;return"y"===e}));return e[0]&&!e[0].position&&(e[0].position=u.xAxisConfig.position),e[1]&&!e[1].position&&(e[1].position="bottom"===e[0].position?"top":"bottom"),n[0]&&!n[0].position&&(n[0].position=u.yAxisConfig.position),n[1]&&!n[1].position&&(n[1].position="left"===n[0].position?"right":"left"),[].concat((0,s["default"])(e),(0,s["default"])(n))}function R(t,e){var n=e.gridArea,r=n.x,i=n.y,o=n.w,a=n.h;return t=t.map((function(t){var e=t.position,n=[];return"left"===e?n=[[r,i],[r,i+a]].reverse():"right"===e?n=[[r+o,i],[r+o,i+a]].reverse():"top"===e?n=[[r,i],[r+o,i]]:"bottom"===e&&(n=[[r,i+a],[r+o,i+a]]),d(d({},t),{},{linePosition:n})})),t}function N(t,e){return t.map((function(t){var e=t.axis,n=t.linePosition,r=t.position,i=t.label,a=t.boundaryGap;"boolean"!==typeof a&&(a=p[e+"AxisConfig"].boundaryGap);var s=i.length,l=(0,o["default"])(n,2),u=(0,o["default"])(l[0],2),c=u[0],f=u[1],h=(0,o["default"])(l[1],2),g=h[0],v=h[1],y="x"===e?g-c:v-f,m=y/(a?s:s-1),b=new Array(s).fill(0).map((function(t,n){return"x"===e?[c+m*(a?n+.5:n),f]:[c,f+m*(a?n+.5:n)]})),x=j(e,a,r,b,m);return d(d({},t),{},{tickPosition:b,tickLinePosition:x,tickGap:m})}))}function j(t,e,n,r,i){var a="x"===t?1:0,s=5;"x"===t&&"top"===n&&(s=-5),"y"===t&&"left"===n&&(s=-5);var l=r.map((function(t){var e=(0,f.deepClone)(t);return e[a]+=s,[(0,f.deepClone)(t),e]}));return e?(a="x"===t?0:1,s=i/2,l.forEach((function(t){var e=(0,o["default"])(t,2),n=e[0],r=e[1];n[a]+=s,r[a]+=s})),l):l}function B(t,e){return t.map((function(t){var e=t.nameGap,n=t.nameLocation,r=t.position,i=t.linePosition,a=(0,o["default"])(i,2),l=a[0],u=a[1],c=(0,s["default"])(l);"end"===n&&(c=(0,s["default"])(u)),"center"===n&&(c[0]=(l[0]+u[0])/2,c[1]=(l[1]+u[1])/2);var f=0;"top"===r&&"center"===n&&(f=1),"bottom"===r&&"center"===n&&(f=1),"left"===r&&"center"!==n&&(f=1),"right"===r&&"center"!==n&&(f=1);var h=e;return"top"===r&&"end"!==n&&(h*=-1),"left"===r&&"start"!==n&&(h*=-1),"bottom"===r&&"start"===n&&(h*=-1),"right"===r&&"end"===n&&(h*=-1),c[f]+=h,d(d({},t),{},{namePosition:c})}))}function F(t,e){var n=e.gridArea,r=n.w,i=n.h;return t.map((function(t){var e=t.tickLinePosition,n=t.position,a=t.boundaryGap,l=0,u=r;"top"!==n&&"bottom"!==n||(l=1),"top"!==n&&"bottom"!==n||(u=i),"right"!==n&&"bottom"!==n||(u*=-1);var c=e.map((function(t){var e=(0,o["default"])(t,1),n=e[0],r=(0,s["default"])(n);return r[l]+=u,[(0,s["default"])(n),r]}));return a||c.shift(),d(d({},t),{},{splitLinePosition:c})}))}function z(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel;return[{name:"polyline",index:r,visible:t.axisLine.show,animationCurve:e,animationFrame:n,shape:V(t),style:q(t)}]}function V(t){var e=t.linePosition;return{points:e}}function q(t){return t.axisLine.style}function H(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=W(t),o=G(t);return i.map((function(i){return{name:"polyline",index:r,visible:t.axisTick.show,animationCurve:e,animationFrame:n,shape:i,style:o}}))}function W(t){var e=t.tickLinePosition;return e.map((function(t){return{points:t}}))}function G(t){return t.axisTick.style}function U(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=$(t),o=Y(t,i);return i.map((function(i,a){return{name:"text",index:r,visible:t.axisLabel.show,animationCurve:e,animationFrame:n,shape:i,style:o[a],setGraphCenter:function(){}}}))}function $(t){var e=t.label,n=t.tickPosition,r=t.position;return n.map((function(t,n){return{position:K(t,r),content:e[n].toString()}}))}function K(t,e){var n=0,r=10;return"top"!==e&&"bottom"!==e||(n=1),"top"!==e&&"left"!==e||(r=-10),t=(0,f.deepClone)(t),t[n]+=r,t}function Y(t,e){var n=t.position,r=t.axisLabel.style,i=Z(n);r=(0,c.deepMerge)(i,r);var o=e.map((function(t){var e=t.position;return d(d({},r),{},{graphCenter:e})}));return o}function Z(t){return"left"===t?{textAlign:"right",textBaseline:"middle"}:"right"===t?{textAlign:"left",textBaseline:"middle"}:"top"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===t?{textAlign:"center",textBaseline:"top"}:void 0}function X(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel;return[{name:"text",index:r,animationCurve:e,animationFrame:n,shape:Q(t),style:J(t)}]}function Q(t){var e=t.name,n=t.namePosition;return{content:e,position:n}}function J(t){var e=t.nameLocation,n=t.position,r=t.nameTextStyle,i=tt(n,e);return(0,c.deepMerge)(i,r)}function tt(t,e){return"top"===t&&"start"===e||"bottom"===t&&"start"===e||"left"===t&&"center"===e?{textAlign:"right",textBaseline:"middle"}:"top"===t&&"end"===e||"bottom"===t&&"end"===e||"right"===t&&"center"===e?{textAlign:"left",textBaseline:"middle"}:"top"===t&&"center"===e||"left"===t&&"end"===e||"right"===t&&"end"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===t&&"center"===e||"left"===t&&"start"===e||"right"===t&&"start"===e?{textAlign:"center",textBaseline:"top"}:void 0}function et(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=nt(t),o=rt(t);return i.map((function(i){return{name:"polyline",index:r,visible:t.splitLine.show,animationCurve:e,animationFrame:n,shape:i,style:o}}))}function nt(t){var e=t.splitLinePosition;return e.map((function(t){return{points:t}}))}function rt(t){return t.splitLine.style}},"06ad":function(t,e,n){var r=n("4436"),i=n("41ef"),o=n("6d8b"),a=o.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function u(t,e,n){t[e]=n}function c(t,e,n){return(e-t)*n+t}function f(t,e,n){return n>.5?e:t}function h(t,e,n,r,i){var o=t.length;if(1===i)for(var a=0;ai;if(o)t.length=i;else for(var a=r;a=0;n--)if(M[n]<=e)break;n=Math.min(n,_-2)}else{for(n=q;n<_;n++)if(M[n]>e)break;n=Math.min(n-1,_-2)}q=n,H=e;var r=M[n+1]-M[n];if(0!==r)if(j=(e-M[n])/r,x)if(F=E[n],B=E[0===n?n:n-1],z=E[n>_-2?_-1:n+1],V=E[n>_-3?_-1:n+2],C)g(B,F,z,V,j,j*j,j*j*j,u(t,s),O);else{if(A)i=g(B,F,z,V,j,j*j,j*j*j,W,1),i=m(W);else{if(k)return f(F,z,j);i=v(B,F,z,V,j,j*j,j*j*j)}y(t,s,i)}else if(C)h(E[n],E[n+1],j,u(t,s),O);else{var i;if(A)h(E[n],E[n+1],j,W,1),i=m(W);else{if(k)return f(E[n],E[n+1],j);i=c(E[n],E[n+1],j)}y(t,s,i)}},U=new r({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:G,ondestroy:n});return e&&"spline"!==e&&(U.easing=e),U}}}var _=function(t,e,n,r){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||l,this._setter=r||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(t,e){var n=this._tracks;for(var r in e)if(e.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==t&&n[r].push({time:0,value:y(i)})}n[r].push({time:t,value:e[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;te&&(e=r.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){var e=a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){var i=a.findPieceIndex(e,this._pieceList);i===t&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=t(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}}}),f={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),r=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;var a=(r[1]-r[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var s=0,l=r[0];s","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function h(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var d=c;t.exports=d},"072d":function(t,e,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),u=Object.assign;t.exports=!u||n("4b8b")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=s(t),u=arguments.length,c=1,f=o.f,h=a.f;while(u>c){var d,p=l(arguments[c++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},"07d7":function(t,e,n){var r=n("6d8b"),i=n("41ef"),o=n("607d"),a=n("65ed"),s=n("22d1"),l=n("eda2"),u=r.each,c=l.toCamelCase,f=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+t+"s "+e+",top "+t+"s "+e;return r.map(f,(function(t){return t+"transition:"+n})).join(";")}function p(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont());var i=t.get("lineHeight");null==i&&(i=Math.round(3*n/2)),n&&e.push("line-height:"+i+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),u(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}function g(t){var e=[],n=t.get("transitionDuration"),r=t.get("backgroundColor"),o=t.getModel("textStyle"),a=t.get("padding");return n&&e.push(d(n)),r&&(s.canvasSupported?e.push("background-Color:"+r):(e.push("background-Color:#"+i.toHex(r)),e.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(n){var r="border-"+n,i=c(r),o=t.get(i);null!=o&&e.push(r+":"+o+("color"===n?"":"px"))})),e.push(p(o)),null!=a&&e.push("padding:"+l.normalizeCssArray(a).join("px ")+"px"),e.join(";")+";"}function v(t,e,n,r,i){var o=e&&e.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(t,s,document.body,r,i)}else{t[0]=r,t[1]=i;var l=o&&o.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function y(t,e,n){if(s.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],v(this._styleCoord,i,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(r):t.appendChild(r),this._container=t,this._show=!1,this._hideTimeout;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=i.handler,n=i.painter.getViewportRoot();o.normalizeEvent(n,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}y.prototype={constructor:y,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),r=e.style;"absolute"!==r.position&&"absolute"!==n.position&&(r.position="relative");var i=t.get("alwaysShowContent");i&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),r=e*this._zr.getHeight();this.moveTo(n,r)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText=h+g(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;v(n,this._zr,this._appendToBody,t,e);var r=this.el.style;r.left=n[0]+"px",r.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var m=y;t.exports=m},"07e6":function(t,e,n){n("4d85"),n("a7531")},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0817":function(t,e,n){var r=n("3eba");n("f306"),n("0046"),n("60d7");var i=n("ab71");r.registerVisual(i)},"083a":function(t,e,n){"use strict";var r=n("0d51"),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+r(e)+" of "+r(t))}},"085d":function(t,e,n){var r=n("3eba");n("bd92"),n("19e2");var i=n("eabf"),o=n("4c99"),a=n("09b1");r.registerPreprocessor(i),r.registerVisual(o),r.registerLayout(a)},"08c3":function(t,e,n){var r=n("6d8b"),i=n("84ce"),o=function(t,e,n,r){i.call(this,t,e,n),this.type=r||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(o,i);var a=o;t.exports=a},"0983":function(t,e,n){var r=n("c901");t.exports=function(t){return Object(r(t))}},"09b1":function(t,e,n){var r=n("2306"),i=r.subPixelOptimize,o=n("cccd"),a=n("3842"),s=a.parsePercent,l=n("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,f={seriesType:"candlestick",plan:o(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=d(t,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),u=n.mapDimension(s[a],!0),f=u[0],p=u[1],g=u[2],v=u[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==l||u.length<4))return{progress:t.pipelineContext.large?m:y};function y(t,n){var s;while(null!=(s=t.next())){var u=n.get(l,s),c=n.get(f,s),d=n.get(p,s),y=n.get(g,s),m=n.get(v,s),b=Math.min(c,d),x=Math.max(c,d),_=k(b,u),w=k(x,u),S=k(y,u),C=k(m,u),A=[];O(A,w,0),O(A,_,1),A.push(E(C),E(w),E(S),E(_)),n.setItemLayout(s,{sign:h(n,s,c,d,p),initBaseline:c>d?w[a]:_[a],ends:A,brushRect:M(y,m,u)})}function k(t,n){var r=[];return r[o]=n,r[a]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function O(t,e,n){var a=e.slice(),s=e.slice();a[o]=i(a[o]+r/2,1,!1),s[o]=i(s[o]-r/2,1,!0),n?t.push(a,s):t.push(s,a)}function M(t,e,n){var i=k(t,n),s=k(e,n);return i[o]-=r/2,s[o]-=r/2,{x:i[0],y:i[1],width:a?r:s[0]-i[0],height:a?s[1]-i[1]:r}}function E(t){return t[o]=i(t[o],1),t}}function m(t,n){var r,i,s=new c(4*t.count),u=0,d=[],y=[];while(null!=(i=t.next())){var m=n.get(l,i),b=n.get(f,i),x=n.get(p,i),_=n.get(g,i),w=n.get(v,i);isNaN(m)||isNaN(_)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=h(n,i,b,x,p),d[o]=m,d[a]=_,r=e.dataToPoint(d,null,y),s[u++]=r?r[0]:NaN,s[u++]=r?r[1]:NaN,d[a]=w,r=e.dataToPoint(d,null,y),s[u++]=r?r[1]:NaN)}n.setLayout("largePoints",s)}}};function h(t,e,n,r,i){var o;return o=n>r?-1:n0?t.get(i,e-1)<=r?1:-1:1,o}function d(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=s(u(t.get("barMaxWidth"),i),i),a=s(u(t.get("barMinWidth"),1),i),l=t.get("barWidth");return null!=l?s(l,i):Math.max(Math.min(i/2,o),a)}t.exports=f},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b"),l=n("848b"),u=l.validators;function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var c=[a,void 0];Array.prototype.unshift.apply(c,n),c=c.concat(o),i=Promise.resolve(t);while(c.length)i=i.then(c.shift(),c.shift());return i}var f=t;while(n.length){var h=n.shift(),d=n.shift();try{f=h(f)}catch(p){d(p);break}}try{i=a(f)}catch(p){return Promise.reject(p)}while(o.length)i=i.then(o.shift(),o.shift());return i},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=c},"0a36":function(t,e,n){"use strict";var r={__proto__:null,foo:{}},i=Object;t.exports=function(){return{__proto__:r}.foo===r.foo&&!(r instanceof i)}},"0a6d":function(t,e,n){n("e4d1"),n("7f72")},"0ae2":function(t,e,n){var r=n("9876"),i=n("fed5"),o=n("1917");t.exports=function(t){var e=r(t),n=i.f;if(n){var a,s=n(t),l=o.f,u=0;while(s.length>u)l.call(t,a=s[u++])&&e.push(a)}return e}},"0b16":function(t,e,n){"use strict";var r=n("1985");function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(l),c=["'"].concat(u),f=["%","/","?",";","#"].concat(c),h=["/","?","#"],d=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n("184d");function x(t,e,n){if(t&&"object"===typeof t&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}function _(t){return"string"===typeof t&&(t=x(t)),t instanceof i?t.format():i.prototype.format.call(t)}function w(t,e){return x(t,!1,!0).resolve(e)}function S(t,e){return t?x(t,!1,!0).resolveObject(e):e}i.prototype.parse=function(t,e,n){if("string"!==typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),a=-1!==i&&i127?D+="x":D+=L[R];if(!D.match(p)){var j=I.slice(0,M),B=I.slice(M+1),F=L.match(g);F&&(j.push(F[1]),B.unshift(F[2])),B.length&&(x="/"+B.join(".")+x),this.hostname=j.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var z=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+z,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==x[0]&&(x="/"+x))}if(!v[S])for(M=0,P=c.length;M0)&&n.host.split("@");C&&(n.auth=C.shift(),n.hostname=C.shift(),n.host=n.hostname)}return n.search=t.search,n.query=t.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var A=w.slice(-1)[0],k=(n.host||t.host||w.length>1)&&("."===A||".."===A)||""===A,O=0,M=w.length;M>=0;M--)A=w[M],"."===A?w.splice(M,1):".."===A?(w.splice(M,1),O++):O&&(w.splice(M,1),O--);if(!x&&!_)for(;O--;O)w.unshift("..");!x||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),k&&"/"!==w.join("/").substr(-1)&&w.push("");var E=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(S){n.hostname=E?"":w.length?w.shift():"",n.host=n.hostname;C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.hostname=C.shift(),n.host=n.hostname)}return x=x||n.host&&w.length,x&&!E&&w.unshift(""),w.length>0?n.pathname=w.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=x,e.resolve=w,e.resolveObject=S,e.format=_,e.Url=i},"0b42":function(t,e,n){var r=n("e8b5"),i=n("68ee"),o=n("861d"),a=n("b622"),s=a("species"),l=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,i(e)&&(e===l||r(e.prototype))?e=void 0:o(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?l:e}},"0b43":function(t,e,n){var r=n("04f8");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"0b44":function(t,e,n){var r=n("607d"),i=function(){this._track=[]};function o(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function a(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}i.prototype={constructor:i,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var o={points:[],touches:[],target:e,event:t},a=0,s=i.length;a1&&r&&r.length>1){var s=o(r)/o(i);!isFinite(s)&&(s=1),e.pinchScale=s;var l=a(r);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=i;t.exports=l},"0b4b":function(t,e,n){n("d28f"),n("f14c"),n("0ee7"),n("ebf9")},"0b99":function(t,e,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"0bad":function(t,e,n){t.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c12":function(t,e){function n(){}function r(t,e,n,r){for(var i=0,o=e.length,a=0,s=0;i=a&&f+1>=s){for(var h=[],d=0;d=a&&d+1>=s)return r(o,u.components,e,t);c[n]=u}else c[n]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){var i=e.length,o=n.length,a=t.newPos,s=a-r,l=0;while(a+1i&&(i=e);var s=i%2?i+2:i+3;a=[];for(var l=0;l=0)&&(D=t);var N=new l.Text({position:E(e.center.slice()),scale:[1/v.scale[0],1/v.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},b,x,{labelFetcher:D,labelDataIndex:R,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!m){var j=[1/c[0],1/c[1]];l.updateProps(N,{scale:j},t)}n.add(N)}if(s)s.setItemGraphicEl(o,n);else{u=t.getRegionModel(e.name);i.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:u&&u.option||{}}}var B=n.__regions||(n.__regions=[]);B.push(e),n.highDownSilentOnTouch=!!t.get("selectedMode"),l.setHoverStyle(n,y),f.add(n)})),this._updateController(t,e,n),p(this,t,f,n,i),g(t,f)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&r.each(u.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,n){var i=t.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=i.getZoom(),a.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}a.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,o.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(r.extend(c(),{dx:t.dx,dy:t.dy}))}),this),a.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(r.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),a.setPointerChecker((function(e,r,o){return i.getViewRectAfterRoam().contain(r,o)&&!s(e,n,t)}))}};var y=v;t.exports=y},"0c47":function(t,e,n){var r=n("da84"),i=n("d44e");i(r.JSON,"JSON",!0)},"0ca1":function(t,e,n){"use strict";var r=n("4ea4"),i=r(n("9523")),o=r(n("448a")),a=n("9886"),s=n("b06d"),l=n("5557"),u=n("a870"),c=n("becb");function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e0?s:0,c,f,!h);var d=(0,l.getCircleRadianPoint)(i,a,u,f).map((function(t){return parseInt(t)+.5})),p=(0,l.getCircleRadianPoint)(i,a,s,c).map((function(t){return parseInt(t)+.5}));n.lineTo.apply(n,(0,o["default"])(d)),n.arc(i,a,u>0?u:0,f,c,h),n.lineTo.apply(n,(0,o["default"])(p)),n.closePath(),n.stroke(),n.fill()}},p={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(t){var e=t.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(t){return"number"!==typeof e[t]}))||(console.error("AgArc shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=e.style,o=i.gradient;o=o.map((function(t){return(0,u.getColorFromRgbValue)(t)})),1===o.length&&(o=[o[0],o[0]]);var a=o.length-1,s=r.gradientStartAngle,f=r.gradientEndAngle,h=r.startAngle,d=r.endAngle,p=r.r,g=r.rx,v=r.ry;null===s&&(s=h),null===f&&(f=d);var y=(f-s)/a;y===2*Math.PI&&(y=2*Math.PI-.001);for(var m=0;md&&(S=d,C=!0),n.arc(g,v,p,w,S),n.strokeStyle=_,n.stroke(),C)break}}},g={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(t){var e=t.shape,n=e.number,r=e.content,i=e.position;return n instanceof Array&&"string"===typeof r&&i instanceof Array||(console.error("NumberText shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=r.number,o=r.content,a=r.toFixed,l=r.rowGap,u=r.formatter,c=o.split("{nt}"),f="";c.forEach((function(t,e){var n=i[e];"number"!==typeof n&&(n=""),"number"===typeof n&&(n=n.toFixed(a),"function"===typeof u&&(n=u(n))),f+=t+(n||"")})),s.text.draw({ctx:n},{shape:h(h({},r),{},{content:f,rowGap:l})})}},v={shape:{x:0,y:0,w:0,h:0},validator:function(t){var e=t.shape,n=e.x,r=e.y,i=e.w,o=e.h;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.x,o=r.y,a=r.w,s=r.h,l=s/2;n.strokeStyle=n.fillStyle,n.moveTo(i,o+l),n.lineTo(i+a,o+l),n.lineWidth=1,n.stroke(),n.beginPath();var u=l-10;u<=0&&(u=3),n.arc(i+a/2,o+l,u,0,2*Math.PI),n.lineWidth=5,n.stroke(),n.fillStyle="#fff",n.fill()},hoverCheck:function(t,e){var n=e.shape,r=n.x,i=n.y,o=n.w,a=n.h;return(0,l.checkPointIsInRect)(t,r,i,o,a)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.x,o=n.y,a=n.w,s=n.h;r.graphCenter=[i+a/2,o+s/2]}};(0,a.extendNewGraph)("pie",d),(0,a.extendNewGraph)("agArc",p),(0,a.extendNewGraph)("numberText",g),(0,a.extendNewGraph)("lineIcon",v)},"0cb2":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,h){var d=n+t.length,p=r.length,g=c;return void 0!==f&&(f=i(f),g=u),s(h,g,(function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,d);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=o(c/10);return 0===h?i:h<=p?void 0===r[h-1]?a(s,1):r[h-1]+a(s,1):i}u=r[c-1]}return void 0===u?"":u}))}},"0cd4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.radarAxisConfig=void 0;var r={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};e.radarAxisConfig=r},"0cde":function(t,e,n){var r=n("1687"),i=n("401b"),o=r.identity,a=5e-5;function s(t){return t>a||t<-a}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(n||e){i=i||r.create(),n?this.getLocalTransform(i):o(i),e&&(n?r.mul(i,t.transform,i):r.copy(i,t.transform)),this.transform=i;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,f=((c[1]-l)*a+l)/c[1]||0;i[0]*=u,i[1]*=u,i[2]*=f,i[3]*=f}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&o(i)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var f=[],h=r.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=this.position,i=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),r[0]=t[4],r[1]=t[5],i[0]=e,i[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r.mul(f,t.invTransform,e),e=f);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(f,e,h),f[4]-=n[0],f[5]-=n[1],e=f),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(t,e){e=e||[],o(e);var n=t.origin,i=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),r.scale(e,e,i),a&&r.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var d=l;t.exports=d},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d25":function(t,e,n){"use strict";t.exports=TypeError},"0d26":function(t,e,n){var r=n("e330"),i=Error,o=r("".replace),a=function(t){return String(i(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=o(t,s,"");return t}},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0da8":function(t,e,n){var r=n("19eb"),i=n("9850"),o=n("6d8b"),a=n("5e76");function s(t){r.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,r=n.image;n.bind(t,this,e);var i=this._image=a.createOrUpdateImage(r,this._image,this,this.onload);if(i&&a.isImageReady(i)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=i.width/i.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=i.width,u=i.height),this.setTransform(t),n.sWidth&&n.sHeight){var f=n.sx||0,h=n.sy||0;t.drawImage(i,f,h,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){f=n.sx,h=n.sy;var d=l-f,p=u-h;t.drawImage(i,f,h,d,p,o,s,l,u)}else t.drawImage(i,o,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new i(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(s,r);var l=s;t.exports=l},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e0f":function(t,e,n){var r=n("5f14"),i=n("6d8b");function o(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes;if(n.length){var o=1/0,a=-1/0;i.each(n,(function(t){var e=t.getLayout().value;ea&&(a=e)})),i.each(n,(function(e){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:t.get("color")}),i=n.mapValueToVisual(e.getLayout().value),s=e.getModel().get("itemStyle.color");null!=s?e.setVisual("color",s):e.setVisual("color",i)}))}}))}t.exports=o},"0e15":function(t,e,n){var r=n("597f");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},"0e8b":function(t,e,n){"use strict";(function(e,r){var i;t.exports=E,E.ReadableState=M;n("faa1").EventEmitter;var o=function(t,e){return t.listeners(e).length},a=n("b98b"),s=n("1c35").Buffer,l=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function u(t){return s.from(t)}function c(t){return s.isBuffer(t)||t instanceof l}var f,h=n(4);f=h&&h.debuglog?h.debuglog("stream"):function(){};var d,p,g,v=n("e937"),y=n("f482"),m=n("86c6"),b=m.getHighWaterMark,x=n("9bfc").codes,_=x.ERR_INVALID_ARG_TYPE,w=x.ERR_STREAM_PUSH_AFTER_EOF,S=x.ERR_METHOD_NOT_IMPLEMENTED,C=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(E,a);var A=y.errorOrDestroy,k=["error","close","destroy","pause","resume"];function O(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function M(t,e,r){i=i||n("a493"),t=t||{},"boolean"!==typeof r&&(r=e instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",r),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=n("aa22").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(i=i||n("a493"),!(this instanceof E))return new E(t);var e=this instanceof i;this._readableState=new M(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,i){f("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,N(t,a);else if(i||(o=P(a,e)),o)A(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=u(e)),r)a.endEmitted?A(t,new C):I(t,a,e,!0);else if(a.ended)A(t,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?I(t,a,e,!1):F(t,a)):I(t,a,e,!1)}else r||(a.reading=!1,F(t,a));return!a.ended&&(a.length=L?t=L:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function R(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=D(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function N(t,e){if(f("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,B(t)))}}function j(t){var e=t._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(B,t))}function B(t){var e=t._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,U(t)}function F(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(z,t,e))}function z(t,e){while(!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function H(t){f("readable nexttick read 0"),t.read(0)}function W(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(G,t,e))}function G(t,e){f("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),U(t),e.flowing&&!e.reading&&t.read(0)}function U(t){var e=t._readableState;f("flow",e.flowing);while(e.flowing&&null!==t.read());}function $(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function K(t){var e=t._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(Y,e,t))}function Y(t,e){if(f("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function Z(t,e){for(var n=0,r=t.length;n=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?K(this):j(this),null;if(t=R(t,e),0===t&&e.ended)return 0===e.length&&K(this),null;var r,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t0?$(t,e):null,null===r?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&K(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(t){A(this,new S("_read()"))},E.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t);break}i.pipesCount+=1,f("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,s=a?u:m;function l(t,e){f("onunpipe"),t===n&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,d())}function u(){f("onend"),t.end()}i.endEmitted?r.nextTick(s):n.once("end",s),t.on("unpipe",l);var c=V(n);t.on("drain",c);var h=!1;function d(){f("cleanup"),t.removeListener("close",v),t.removeListener("finish",y),t.removeListener("drain",c),t.removeListener("error",g),t.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",p),h=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||c()}function p(e){f("ondata");var r=t.write(e);f("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==Z(i.pipes,t))&&!h&&(f("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function g(e){f("onerror",e),m(),t.removeListener("error",g),0===o(t,"error")&&A(t,e)}function v(){t.removeListener("finish",y),m()}function y(){f("onfinish"),t.removeListener("close",v),m()}function m(){f("unpipe"),n.unpipe(t)}return n.on("data",p),O(t,"error",g),t.once("close",v),t.once("finish",y),t.emit("pipe",n),i.flowing||(f("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,f("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(H,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(q,this),n},E.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(q,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!t.readableListening,W(this,t)),t.paused=!1,this},E.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){if(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=e.push(i);o||(r=!0,t.pause())}})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;on[s],v=[-d.x,-d.y];e||(v[a]=c.position[a]);var y=[0,0],m=[-p.x,-p.y],b=r.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(g){var x=t.get("pageButtonPosition",!0);"end"===x?m[a]+=n[s]-p[s]:y[a]+=p[s]+b}m[1-a]+=d[l]/2-p[l]/2,c.attr("position",v),f.attr("position",y),h.attr("position",m);var _={x:0,y:0};if(_[s]=g?n[s]:d[s],_[l]=Math.max(d[l],p[l]),_[u]=Math.min(0,p[u]+m[1-a]),f.__rectSize=n[s],g){var w={x:0,y:0};w[s]=Math.max(n[s]-p[s]-b,0),w[l]=_[l],f.setClipPath(new i.Rect({shape:w})),f.__rectSize=w[s]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(t);return null!=S.pageIndex&&i.updateProps(c,{position:S.contentPosition},!!g&&t),this._updatePageInfoView(t,S),_},_pageGo:function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&o&&i.setStyle("text",r.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,o=l[i],a=u[i],s=this._findTargetItemIndex(e),c=n.children(),f=c[s],h=c.length,d=h?1:0,p={contentPosition:n.position.slice(),pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var g=x(f);p.contentPosition[i]=-g.s;for(var v=s+1,y=g,m=g,b=null;v<=h;++v)b=x(c[v]),(!b&&m.e>y.s+r||b&&!_(b,y.s))&&(y=m.i>y.i?m:b,y&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=y.i),++p.pageCount)),m=b;for(v=s-1,y=g,m=g,b=null;v>=-1;--v)b=x(c[v]),b&&_(m,b.s)||!(y.i=e&&t.s<=e+r}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var e,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===t&&(e=i)})),null!=e?e:n}}),f=c;t.exports=f},"0f55":function(t,e,n){var r=n("6d8b"),i=n("84ce"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(o,i);var a=o;t.exports=a},"0f7c":function(t,e,n){"use strict";var r=n("688e");t.exports=Function.prototype.bind||r},"0f99":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("e0d3")),o=i.makeInner,a=i.getDataItemValue,s=n("6d8b"),l=s.createHashMap,u=s.each,c=s.map,f=s.isArray,h=s.isString,d=s.isObject,p=s.isTypedArray,g=s.isArrayLike,v=s.extend,y=(s.assert,n("ec6f")),m=n("93d0"),b=m.SOURCE_FORMAT_ORIGINAL,x=m.SOURCE_FORMAT_ARRAY_ROWS,_=m.SOURCE_FORMAT_OBJECT_ROWS,w=m.SOURCE_FORMAT_KEYED_COLUMNS,S=m.SOURCE_FORMAT_UNKNOWN,C=m.SOURCE_FORMAT_TYPED_ARRAY,A=m.SERIES_LAYOUT_BY_ROW,k={Must:1,Might:2,Not:3},O=o();function M(t){var e=t.option.source,n=S;if(p(e))n=C;else if(f(e)){0===e.length&&(n=x);for(var r=0,i=e.length;r0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var h=c;f&&(h=c(n)),r.__t>0&&(h=-s*r.__t),r.__t=0;var d=r.animate("",l).when(s,{__t:1}).delay(h).during((function(){i.updateSymbolPosition(r)}));l||d.done((function(){i.remove(r)})),d.start()}this._period=s,this._loop=l}},f.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},f.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},f.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},f.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t,o=t.position,a=[o[0],o[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;o[0]=s(e[0],r[0],n[0],i),o[1]=s(e[1],r[1],n[1],i);var f=c(e[0],r[0],n[0],i),h=c(e[1],r[1],n[1],i);if(t.rotation=-Math.atan2(h,f)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastTb)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1098:function(t,e,n){"use strict";e.__esModule=!0;var r=n("17ed"),i=l(r),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(t){return typeof t}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function l(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof a.default&&"symbol"===s(i.default)?function(t){return"undefined"===typeof t?"undefined":s(t)}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"===typeof t?"undefined":s(t)}},"10cc":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("9850"),a=n("2b8c"),s=n("a890"),l=n("88b3"),u=n("bd9e"),c=["inBrush","outOfBrush"],f="__ecBrushSelect",h="__ecInBrushSelectEvent",d=r.PRIORITY.VISUAL.BRUSH;function p(t){t.eachComponent({mainType:"brush"},(function(e){var n=e.brushTargetManager=new u(e.option,t);n.setInputRanges(e.areas,t)}))}function g(t,e,n,r,i){if(i){var o=t.getZr();if(!o[h]){o[f]||(o[f]=v);var a=l.createOrUpdate(o,f,n,e);a(t,r)}}}function v(t,e){if(!t.isDisposed()){var n=t.getZr();n[h]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[h]=!1}}function y(t,e,n,r){for(var i=0,o=e.length;ie[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&w(e)}};function w(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},"10db":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1111:function(t,e,n){var r=n("3eba");n("67a8"),n("4784");var i=n("7f96"),o=n("87c3");r.registerVisual(i("effectScatter","circle")),r.registerLayout(o("effectScatter"))},1148:function(t,e,n){"use strict";var r=n("5926"),i=n("577e"),o=n("1d80"),a=RangeError;t.exports=function(t){var e=i(o(this)),n="",s=r(t);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},"11b0":function(t,e,n){function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0"),t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"11b09":function(t,e,n){},1276:function(t,e,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),a=n("d784"),s=n("825a"),l=n("7234"),u=n("44e7"),c=n("1d80"),f=n("4840"),h=n("8aa5"),d=n("50c4"),p=n("577e"),g=n("dc4a"),v=n("4dae"),y=n("14c3"),m=n("9263"),b=n("9f7f"),x=n("d039"),_=b.UNSUPPORTED_Y,w=4294967295,S=Math.min,C=[].push,A=o(/./.exec),k=o(C),O=o("".slice),M=!x((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=p(c(this)),a=void 0===n?w:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!u(t))return i(e,o,t,a);var s,l,f,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,y=new RegExp(t.source,d+"g");while(s=i(m,y,o)){if(l=y.lastIndex,l>g&&(k(h,O(o,g,s.index)),s.length>1&&s.index=a))break;y.lastIndex===s.index&&y.lastIndex++}return g===o.length?!f&&A(y,"")||k(h,""):k(h,O(o,g)),h.length>a?v(h,0,a):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=c(this),a=l(e)?void 0:g(e,t);return a?i(a,e,r,n):i(o,p(r),e,n)},function(t,r){var i=s(this),a=p(t),l=n(o,i,a,r,o!==e);if(l.done)return l.value;var u=f(i,RegExp),c=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"g":"y"),v=new u(_?"^(?:"+i.source+")":i,g),m=void 0===r?w:r>>>0;if(0===m)return[];if(0===a.length)return null===y(v,a)?[a]:[];var b=0,x=0,C=[];while(x-1))throw new C(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new m("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||W(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=d.destroy,M.prototype._undestroy=d.undestroy,M.prototype._destroy=function(t,e){e(t)}}).call(this,n("c8ba"),n("4362"))},"13d2":function(t,e,n){var r=n("d039"),i=n("1626"),o=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,l=n("8925"),u=n("69f3"),c=u.enforce,f=u.get,h=Object.defineProperty,d=a&&!r((function(){return 8!==h((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=c(t);return o(r,"source")||(r.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return i(this)&&f(this).source||l(this)}),"toString")},"13d5":function(t,e,n){"use strict";var r=n("23e7"),i=n("d58f").left,o=n("a640"),a=n("2d00"),s=n("605d"),l=o("reduce"),u=!s&&a>79&&a<83;r({target:"Array",proto:!0,forced:!l||u},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},1409:function(t,e,n){"use strict";t.exports=ReferenceError},1418:function(t,e,n){var r=n("6d8b"),i=n("a15a"),o=i.createSymbol,a=n("2306"),s=n("3842"),l=s.parsePercent,u=n("c775"),c=u.getDefaultLabel;function f(t,e,n){a.Group.call(this),this.updateData(t,e,n)}var h=f.prototype,d=f.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}h._createSymbol=function(t,e,n,r,i){this.removeAll();var a=e.getItemVisual(n,"color"),s=o(t,-1,-1,2,2,a,i);s.attr({z2:100,culling:!0,scale:p(r)}),s.drift=g,this._symbolType=t,this.add(s)},h.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},h.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},h.updateData=function(t,e,n){this.silent=!1;var r=t.getItemVisual(e,"symbol")||"circle",i=t.hostModel,o=d(t,e),s=r!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(r,t,e,o,l)}else{var u=this.childAt(0);u.silent=!1,a.updateProps(u,{scale:p(o)},i,e)}if(this._updateCommon(t,e,o,n),s){u=this.childAt(0);var c=n&&n.fadeIn,f={scale:u.scale.slice()};c&&(f.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),a.initProps(u,f,i,e)}this._seriesModel=i};var v=["itemStyle"],y=["emphasis","itemStyle"],m=["label"],b=["emphasis","label"];function x(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(t,e,n,i){var o=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var f=i&&i.itemStyle,h=i&&i.hoverItemStyle,d=i&&i.symbolOffset,g=i&&i.labelModel,_=i&&i.hoverLabelModel,w=i&&i.hoverAnimation,S=i&&i.cursorStyle;if(!i||t.hasItemOption){var C=i&&i.itemModel?i.itemModel:t.getItemModel(e);f=C.getModel(v).getItemStyle(["color"]),h=C.getModel(y).getItemStyle(),d=C.getShallow("symbolOffset"),g=C.getModel(m),_=C.getModel(b),w=C.getShallow("hoverAnimation"),S=C.getShallow("cursor")}else h=r.extend({},h);var A=o.style,k=t.getItemVisual(e,"symbolRotate");o.attr("rotation",(k||0)*Math.PI/180||0),d&&o.attr("position",[l(d[0],n[0]),l(d[1],n[1])]),S&&o.attr("cursor",S),o.setColor(u,i&&i.symbolInnerColor),o.setStyle(f);var O=t.getItemVisual(e,"opacity");null!=O&&(A.opacity=O);var M=t.getItemVisual(e,"liftZ"),E=o.__z2Origin;null!=M?null==E&&(o.__z2Origin=o.z2,o.z2+=M):null!=E&&(o.z2=E,o.__z2Origin=null);var T=i&&i.useNameLabel;function I(e,n){return T?t.getName(e):c(t,e)}a.setLabelStyle(A,h,g,_,{labelFetcher:s,labelDataIndex:e,defaultText:I,isRectText:!0,autoColor:u}),o.__symbolOriginalScale=p(n),o.hoverStyle=h,o.highDownOnUpdate=w&&s.isAnimationEnabled()?x:null,a.setHoverStyle(o)},h.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},r.inherits(f,a.Group);var _=f;t.exports=_},1466:function(t,e,n){var r=n("3eba"),i=n("2306"),o=n("6d8b"),a=n("a15a");function s(t){return o.isArray(t)||(t=[+t,+t]),t}var l=r.extendChartView({type:"radar",render:function(t,e,n){var r=t.coordinateSystem,l=this.group,u=t.getData(),c=this._data;function f(t,e){var n=t.getItemVisual(e,"symbol")||"circle",r=t.getItemVisual(e,"color");if("none"!==n){var i=s(t.getItemVisual(e,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,r),l=t.getItemVisual(e,"symbolRotate")||0;return o.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2],rotation:l*Math.PI/180||0}),o}}function h(e,n,r,o,a,s){r.removeAll();for(var l=0;l100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var l=parseFloat(e[1]),u=(e[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*a;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*i;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function u(t){var e=Math.abs(t);return e>=o?Math.round(t/o)+"d":e>=i?Math.round(t/i)+"h":e>=r?Math.round(t/r)+"m":e>=n?Math.round(t/n)+"s":t+"ms"}function c(t){var e=Math.abs(t);return e>=o?f(t,e,o,"day"):e>=i?f(t,e,i,"hour"):e>=r?f(t,e,r,"minute"):e>=n?f(t,e,n,"second"):t+" ms"}function f(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return l(t);if("number"===n&&isFinite(t))return e.long?c(t):u(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"14c3":function(t,e,n){var r=n("c65b"),i=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=r(n,t,e);return null!==u&&i(u),u}if("RegExp"===a(t))return r(s,t,e);throw l("RegExp#exec called on incompatible receiver")}},"14d3":function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("fab2"),a=n("6679"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,a=i.getAngleAxis(),u=n.getTicksCoords(),f=n.getMinorTicksCoords(),h=a.getExtent()[0],d=n.getExtent(),p=c(i,t,h),g=new o(t,p);r.each(s,g.add,g),this.group.add(g.getGroup()),r.each(l,(function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,i,h,d,u,f)}),this)}},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var f=[],h=0;h0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=c;if(null!=g.color&&(v=i.defaults({color:g.color},c)),g=i.merge(i.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:d,nameTextStyle:v,triggerEvent:p},!1),f||(g.name=""),"string"===typeof h){var y=g.name;g.name=h.replace("{value}",null!=y?y:"")}else"function"===typeof h&&(g.name=h(g.name,g));var m=i.extend(new a(g,null,this.ecModel),s);return m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),f=c;t.exports=f},1792:function(t,e){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function r(t,e){if("china"===t){var r=n[e.name];if(r){var i=e.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}t.exports=r},"17b8":function(t,e,n){var r=n("3014"),i=r.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},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}}});t.exports=i},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=i("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"17d6":function(t,e,n){var r=n("6d8b"),i=n("22d1"),o=n("e0d3"),a=o.makeInner,s=a(),l=r.each;function u(t,e,n){if(!i.node){var r=e.getZr();s(r).records||(s(r).records={}),c(r,e);var o=s(r).records[t]||(s(r).records[t]={});o.handler=n}}function c(t,e){function n(n,r){t.on(n,(function(n){var i=p(e);l(s(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),f(i.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,n("click",r.curry(d,"click")),n("mousemove",r.curry(d,"mousemove")),n("globalout",h))}function f(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function h(t,e,n){t.handler("leave",null,n)}function d(t,e,n,r){e.handler(t,n,r)}function p(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function g(t,e){if(!i.node){var n=e.getZr(),r=(s(n).records||{})[t];r&&(s(n).records[t]=null)}}e.register=u,e.unregister=g},"17ed":function(t,e,n){t.exports={default:n("511f"),__esModule:!0}},1836:function(t,e,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},"184d":function(t,e,n){"use strict";var r=n("f177"),i=n("2500"),o=n("bbc7");t.exports={formats:o,parse:i,stringify:r}},"18ad":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.doUpdate=d,e.Updater=void 0;var i=r(n("448a")),o=r(n("7037")),a=r(n("970b")),s=function t(e,n){(0,a["default"])(this,t);var r=e.chart,i=e.key,o=e.getGraphConfig;"function"===typeof o?(r[i]||(this.graphs=r[i]=[]),Object.assign(this,e),this.update(n)):console.warn("Updater need function getGraphConfig!")};function l(t,e){var n=t.graphs,r=t.chart.render,i=n.length,o=e.length;if(i>o){var a=n.splice(o);a.forEach((function(t){return t.forEach((function(t){return r.delGraph(t)}))}))}}function u(t,e,n,r){var i=r.getGraphConfig,o=r.chart.render,a=r.beforeChange,s=i(e,r);c(t,s,o),t.forEach((function(t,e){var n=s[e];"function"===typeof a&&a(t,n),h(t,n)}))}function c(t,e,n){var r=t.length,o=e.length;if(o>r){var a=t.slice(-1)[0],s=o-r,l=new Array(s).fill(0).map((function(t){return n.clone(a)}));t.push.apply(t,(0,i["default"])(l))}else if(o0&&void 0!==arguments[0]?arguments[0]:{},e=t.chart,n=t.series,r=t.key,i=t.getGraphConfig,o=t.getStartGraphConfig,a=t.beforeChange,l=t.beforeUpdate,u=t.afterAddGraph;e[r]?e[r].update(n):e[r]=new s({chart:e,key:r,getGraphConfig:i,getStartGraphConfig:o,beforeChange:a,beforeUpdate:l,afterAddGraph:u},n)}e.Updater=s,s.prototype.update=function(t){var e=this,n=this.graphs,r=this.beforeUpdate;if(l(this,t),t.length){var i=(0,o["default"])(r);t.forEach((function(t,o){"function"===i&&r(n,t,o,e);var a=n[o];a?u(a,t,o,e):f(n,t,o,e)}))}}},"18c0":function(t,e,n){var r=n("6d8b"),i=n("e0d8"),o=n("8e43"),a=i.prototype,s=i.extend({type:"ordinal",init:function(t,e){t&&!r.isArray(t)||(t=new o({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),a.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return a.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(a.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});s.create=function(){return new s};var l=s;t.exports=l},1917:function(t,e){e.f={}.propertyIsEnumerable},1953:function(t,e,n){var r=n("2449"),i=r.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=i},1985:function(t,e,n){(function(t,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,u=36,c=1,f=26,h=38,d=700,p=72,g=128,v="-",y=/^xn--/,m=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,S=String.fromCharCode;function C(t){throw new RangeError(x[t])}function A(t,e){var n=t.length,r=[];while(n--)r[n]=e(t[n]);return r}function k(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(b,".");var i=t.split("."),o=A(i,e).join(".");return r+o}function O(t){var e,n,r=[],i=0,o=t.length;while(i=55296&&e<=56319&&i65535&&(t-=65536,e+=S(t>>>10&1023|55296),t=56320|1023&t),e+=S(t),e})).join("")}function E(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:u}function T(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,n){var r=0;for(t=n?w(t/d):t>>1,t+=w(t/e);t>_*f>>1;r+=u)t=w(t/_);return w(r+(_+1)*t/(t+h))}function P(t){var e,n,r,i,o,a,s,h,d,y,m=[],b=t.length,x=0,_=g,S=p;for(n=t.lastIndexOf(v),n<0&&(n=0),r=0;r=128&&C("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=b&&C("invalid-input"),h=E(t.charCodeAt(i++)),(h>=u||h>w((l-x)/a))&&C("overflow"),x+=h*a,d=s<=S?c:s>=S+f?f:s-S,hw(l/y)&&C("overflow"),a*=y}e=m.length+1,S=I(x-o,e,0==o),w(x/e)>l-_&&C("overflow"),_+=w(x/e),x%=e,m.splice(x++,0,_)}return M(m)}function L(t){var e,n,r,i,o,a,s,h,d,y,m,b,x,_,A,k=[];for(t=O(t),b=t.length,e=g,n=0,o=p,a=0;a=e&&mw((l-n)/x)&&C("overflow"),n+=(s-e)*x,e=s,a=0;al&&C("overflow"),m==e){for(h=n,d=u;;d+=u){if(y=d<=o?c:d>=o+f?f:d-o,h0?"P":"N",o=r.getVisual("borderColor"+i)||r.getVisual("color"+i),a=n.getModel(u).getItemStyle(f);e.useStyle(a),e.style.fill=null,e.style.stroke=o}var _=h;t.exports=_},"19eb":function(t,e,n){var r=n("6d8b"),i=n("2b61"),o=n("d5b7"),a=n("9e2e");function s(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new i(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new i(t,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,o),r.mixin(s,a);var l=s;t.exports=l},"19fa":function(t,e,n){var r=n("fc5e"),i=n("c901");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(t,e,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;e.f=n("0bad")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"1a2d":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"1ab3":function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("e887");function a(t,e,n,r){var i=e.getData(),o=this.dataIndex,a=i.getName(o),l=e.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:t,name:a,seriesId:e.id}),i.each((function(t){s(i.getItemGraphicEl(t),i.getItemLayout(t),e.isSelected(i.getName(t)),l,n)}))}function s(t,e,n,r,i){var o=(e.startAngle+e.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?r:0,u=[a*l,s*l];i?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.updateData(t,e,!0)}var u=l.prototype;u.updateData=function(t,e,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),u=t.hostModel,c=t.getItemModel(e),f=t.getItemLayout(e),h=r.extend({},f);h.label=null;var d=u.getShallow("animationTypeUpdate");if(n){o.setShape(h);var p=u.getShallow("animationType");"scale"===p?(o.shape.r=f.r0,i.initProps(o,{shape:{r:f.r}},u,e)):(o.shape.endAngle=f.startAngle,i.updateProps(o,{shape:{endAngle:f.endAngle}},u,e))}else"expansion"===d?o.setShape(h):i.updateProps(o,{shape:h},u,e);var g=t.getItemVisual(e,"color");o.useStyle(r.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),o.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var v=c.getShallow("cursor");v&&o.attr("cursor",v),s(this,t.getItemLayout(e),u.isSelected(t.getName(e)),u.get("selectedOffset"),u.get("animation"));var y=!n&&"transition"===d;this._updateLabel(t,e,y),this.highDownOnUpdate=u.get("silent")?null:function(t,e){var n=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===e?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:f.r+u.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:f.r}},300,"elasticOut")))},i.setHoverStyle(this)},u._updateLabel=function(t,e,n){var r=this.childAt(1),o=this.childAt(2),a=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=l.label,c=t.getItemVisual(e,"color");if(!u||isNaN(u.x)||isNaN(u.y))o.ignore=o.normalIgnore=o.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var f={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},h={x:u.x,y:u.y};n?(i.updateProps(r,{shape:f},a,e),i.updateProps(o,{style:h},a,e)):(r.attr({shape:f}),o.attr({style:h})),o.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var d=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),v=s.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color");i.setLabelStyle(o.style,o.hoverStyle={},d,p,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),o.ignore=o.normalIgnore=!d.get("show"),o.hoverIgnore=!p.get("show"),r.ignore=r.normalIgnore=!g.get("show"),r.hoverIgnore=!v.get("show"),r.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),r.setStyle(g.getModel("lineStyle").getLineStyle()),r.hoverStyle=v.getModel("lineStyle").getLineStyle();var y=g.get("smooth");y&&!0===y&&(y=.4),r.setShape({smooth:y})}},r.inherits(l,i.Group);var c=o.extend({type:"pie",init:function(){var t=new i.Group;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var o=t.getData(),s=this._data,u=this.group,c=e.get("animation"),f=!s,h=t.get("animationType"),d=t.get("animationTypeUpdate"),p=r.curry(a,this.uid,t,c,n),g=t.get("selectedMode");if(o.diff(s).add((function(t){var e=new l(o,t);f&&"scale"!==h&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),o.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){var n=s.getItemGraphicEl(e);f||"transition"===d||n.eachChild((function(t){t.stopAnimation(!0)})),n.updateData(o,t),n.off("click"),g&&n.on("click",p),u.add(n),o.setItemGraphicEl(t,n)})).remove((function(t){var e=s.getItemGraphicEl(t);u.remove(e)})).execute(),c&&o.count()>0&&(f?"scale"!==h:"transition"!==d)){for(var v=o.getItemLayout(0),y=1;isNaN(v.startAngle)&&y=r.r0}}}),f=c;t.exports=f},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1beb":function(t,e,n){"use strict";(function(e,r){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){G(e,t)}}var o;t.exports=M,M.WritableState=O;var a={deprecate:n("b7d1")},s=n("946b"),l=n("1c35").Buffer,u=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function c(t){return l.from(t)}function f(t){return l.isBuffer(t)||t instanceof u}var h,d=n("015d"),p=n("75d2"),g=p.getHighWaterMark,v=n("e142").codes,y=v.ERR_INVALID_ARG_TYPE,m=v.ERR_METHOD_NOT_IMPLEMENTED,b=v.ERR_MULTIPLE_CALLBACK,x=v.ERR_STREAM_CANNOT_PIPE,_=v.ERR_STREAM_DESTROYED,w=v.ERR_STREAM_NULL_VALUES,S=v.ERR_STREAM_WRITE_AFTER_END,C=v.ERR_UNKNOWN_ENCODING,A=d.errorOrDestroy;function k(){}function O(t,e,r){o=o||n("030c"),t=t||{},"boolean"!==typeof r&&(r=e instanceof o),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=g(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){N(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function M(t){o=o||n("030c");var e=this instanceof o;if(!e&&!h.call(M,this))return new M(t);this._writableState=new O(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e){var n=new S;A(t,n),r.nextTick(e,n)}function T(t,e,n,i){var o;return null===n?o=new w:"string"===typeof n||e.objectMode||(o=new y("chunk",["string","Buffer"],n)),!o||(A(t,o),r.nextTick(i,o),!1)}function I(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,n)),e}function P(t,e,n,r,i,o){if(!n){var a=I(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var l=e.length-1))throw new C(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new m("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||W(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=d.destroy,M.prototype._undestroy=d.undestroy,M.prototype._destroy=function(t,e){e(t)}}).call(this,n("c8ba"),n("4362"))},"1c35":function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n("1fb5"),i=n("9152"),o=n("bf74");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),u.alloc(+t)}function x(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return Z(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return N(this,e,n);case"base64":return I(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function w(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function S(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:C(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var f=!0,h=0;hi&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:o=t[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return D(r)}e.Buffer=u,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return c(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return h(null,t,e,n)},u.allocUnsafe=function(t){return d(null,t)},u.allocUnsafeSlow=function(t){return d(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,s=Math.min(o,a),l=this.slice(r,i),c=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return A(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return M(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function D(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);var n="",r=0;while(rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function V(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function q(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function H(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,r,o){return o||H(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function G(t,e,n,r,o){return o||H(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(i*=256))r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=this[t],i=1,o=0;while(++o=i&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;z(this,t,e,n,i,0)}var o=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+o]=t/a&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);z(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;this[e]=255&t;while(++o>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);z(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function X(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r)}return o}function J(t){return r.toByteArray($(t))}function tt(t,e,n,r){for(var i=0;i=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},"1c59":function(t,e,n){"use strict";var r=n("6d61"),i=n("6566");r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},"1c5f":function(t,e,n){var r=n("401b"),i=n("6d8b"),o=n("0c37"),a=o.getCurvenessForEdge;function s(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),l(n,t)}}function l(t,e){t.eachEdge((function(t,n){var o=i.retrieve3(t.getModel().get("lineStyle.curveness"),-a(t,e,n,!0),0),s=r.clone(t.node1.getLayout()),l=r.clone(t.node2.getLayout()),u=[s,l];+o&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*o,(s[1]+l[1])/2-(l[0]-s[0])*o]),t.setLayout(u)}))}e.simpleLayout=s,e.simpleLayoutEdge=l},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(l){}return n}},"1ccf":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("fd27"),a=n("3842"),s=a.parsePercent,l=n("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,f=n("2039"),h=n("ee1a"),d=h.getStackedDimension;function p(t,e,n){var r=e.get("center"),o=n.getWidth(),a=n.getHeight();t.cx=s(r[0],o),t.cy=s(r[1],a);var l=t.getRadiusAxis(),u=Math.min(o,a)/2,c=e.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(t,e){var n=this,r=n.getAngleAxis(),o=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();i.each(e.mapDimension("radius",!0),(function(t){o.scale.unionExtentFromData(e,d(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){r.scale.unionExtentFromData(e,d(e,t))}))}})),c(r.scale,r.model),c(o.scale,o.model),"category"===r.type&&!r.onBand){var a=r.getExtent(),s=360/r.scale.count();r.inverse?a[1]+=s:a[1]-=s,r.setExtent(a[0],a[1])}}function v(t,e){if(t.type=e.get("type"),t.scale=u(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n("78f0");var y={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){var i=new o(r);i.update=g;var a=i.getRadiusAxis(),s=i.getAngleAxis(),l=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");v(a,l),v(s,u),p(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}};f.register("polar",y)},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e32":function(t,e,n){var r=n("6d8b"),i=n("3842"),o=i.parsePercent,a=n("ee1a"),s=a.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t,e){return e.dim+t.model.componentIndex}function c(t,e,n){var i={},o=f(r.filter(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(),a=u(n,r),c=l(t),f=o[a][c],h=f.offset,d=f.width,p=n.getOtherAxis(r),g=t.coordinateSystem.cx,v=t.coordinateSystem.cy,y=t.get("barMinHeight")||0,m=t.get("barMinAngle")||0;i[c]=i[c]||[];for(var b=e.mapDimension(p.dim),x=e.mapDimension(r.dim),_=s(e,b),w="radius"!==r.dim||!t.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),C=0,A=e.count();C=0?"p":"n",L=S;if(_&&(i[c][I]||(i[c][I]={p:S,n:S}),L=i[c][I][P]),"radius"===p.dim){var D=p.dataToRadius(T)-S,R=r.dataToAngle(I);Math.abs(D)=i/3?1:2),l=e.y-r(a)*o*(o>=i/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+r(a)*o),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(a)*o,e.y-r(a)*o),t.lineTo(s,l)}});t.exports=i},"1f1a":function(t,e,n){var r=n("6d8b"),i=n("e0d3"),o=n("6cb7"),a=n("4319"),s=n("7023"),l=n("eeea"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),i.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=r.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new a(n,e)),t}),r.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new a(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t),r=n.get(("normal"===e?"":e+".")+"label.formatter"),i={name:t};return"function"===typeof r?(i.status=e,r(i)):"string"===typeof r?r.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});r.mixin(u,s);var c=u;t.exports=c},"1f55":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.gauge=g;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("cc6d"),c=n("5557"),f=n("becb"),h=n("a870");function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n=e.series;n||(n=[]);var r=(0,f.initNeedSeries)(n,u.gaugeConfig,"gauge");r=v(r,t),r=y(r,t),r=m(r,t),r=b(r,t),r=x(r,t),r=_(r,t),r=w(r,t),r=S(r,t),r=C(r,t),r=A(r,t),(0,l.doUpdate)({chart:t,series:r,key:"gaugeAxisTick",getGraphConfig:O}),(0,l.doUpdate)({chart:t,series:r,key:"gaugeAxisLabel",getGraphConfig:T}),(0,l.doUpdate)({chart:t,series:r,key:"gaugeBackgroundArc",getGraphConfig:L,getStartGraphConfig:N}),(0,l.doUpdate)({chart:t,series:r,key:"gaugeArc",getGraphConfig:j,getStartGraphConfig:z,beforeChange:V}),(0,l.doUpdate)({chart:t,series:r,key:"gaugePointer",getGraphConfig:q,getStartGraphConfig:U}),(0,l.doUpdate)({chart:t,series:r,key:"gaugeDetails",getGraphConfig:$})}function v(t,e){var n=e.render.area;return t.forEach((function(t){var e=t.center;e=e.map((function(t,e){return"number"===typeof t?t:parseInt(t)/100*n[e]})),t.center=e})),t}function y(t,e){var n=e.render.area,r=Math.min.apply(Math,(0,s["default"])(n))/2;return t.forEach((function(t){var e=t.radius;"number"!==typeof e&&(e=parseInt(e)/100*r),t.radius=e})),t}function m(t,e){var n=e.render.area,r=Math.min.apply(Math,(0,s["default"])(n))/2;return t.forEach((function(t){var e=t.radius,n=t.data,i=t.arcLineWidth;n.forEach((function(t){var n=t.radius,o=t.lineWidth;n||(n=e),"number"!==typeof n&&(n=parseInt(n)/100*r),t.radius=n,o||(o=i),t.lineWidth=o}))})),t}function b(t,e){return t.forEach((function(t){var e=t.startAngle,n=t.endAngle,r=t.data,i=t.min,o=t.max,a=n-e,s=o-i;r.forEach((function(t){var n=t.value,r=Math.abs((n-i)/s*a);t.startAngle=e,t.endAngle=e+r}))})),t}function x(t,e){return t.forEach((function(t){var e=t.data;e.forEach((function(t){var e=t.color,n=t.gradient;n&&n.length||(n=e),n instanceof Array||(n=[n]),t.gradient=n}))})),t}function _(t,e){return t.forEach((function(t){var e=t.startAngle,n=t.endAngle,r=t.splitNum,i=t.center,o=t.radius,a=t.arcLineWidth,l=t.axisTick,u=l.tickLength,f=l.style.lineWidth,h=n-e,d=o-a/2,p=d-u,g=h/(r-1),v=2*Math.PI*o*h/(2*Math.PI),y=Math.ceil(f/2)/v*h;t.tickAngles=[],t.tickInnerRadius=[],t.tickPosition=new Array(r).fill(0).map((function(n,o){var a=e+g*o;return 0===o&&(a+=y),o===r-1&&(a-=y),t.tickAngles[o]=a,t.tickInnerRadius[o]=p,[c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([d,a])),c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([p,a]))]}))})),t}function w(t,e){return t.forEach((function(t){var e=t.center,n=t.tickInnerRadius,r=t.tickAngles,i=t.axisLabel.labelGap,o=r.map((function(t,o){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(e).concat([n[o]-i,r[o]]))})),l=o.map((function(t){var n=(0,a["default"])(t,2),r=n[0],i=n[1];return{textAlign:r>e[0]?"right":"left",textBaseline:i>e[1]?"bottom":"top"}}));t.labelPosition=o,t.labelAlign=l})),t}function S(t,e){return t.forEach((function(t){var e=t.axisLabel,n=t.min,r=t.max,i=t.splitNum,a=e.data,s=e.formatter,l=(r-n)/(i-1),u=new Array(i).fill(0).map((function(t,e){return parseInt(n+l*e)})),c=(0,o["default"])(s);a=(0,f.deepMerge)(u,a).map((function(t,e){var n=t;return"string"===c&&(n=s.replace("{value}",t)),"function"===c&&(n=s({value:t,index:e})),n})),e.data=a})),t}function C(t,e){return t.forEach((function(t){var e=t.data,n=t.details,r=t.center,i=n.position,o=n.offset,a=e.map((function(t){var e=t.startAngle,n=t.endAngle,a=t.radius,l=null;return"center"===i?l=r:"start"===i?l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([a,e])):"end"===i&&(l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([a,n]))),k(l,o)}));t.detailsPosition=a})),t}function A(t,e){return t.forEach((function(t){var e=t.data,n=t.details,r=n.formatter,i=(0,o["default"])(r),a=e.map((function(t){var e=t.value;return"string"===i&&(e=r.replace("{value}","{nt}"),e=e.replace("{name}",t.name)),"function"===i&&(e=r(t)),e.toString()}));t.detailsContent=a})),t}function k(t,e){var n=(0,a["default"])(t,2),r=n[0],i=n[1],o=(0,a["default"])(e,2),s=o[0],l=o[1];return[r+s,i+l]}function O(t){var e=t.tickPosition,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"polyline",index:i,visible:t.axisTick.show,animationCurve:n,animationFrame:r,shape:M(t,o),style:E(t,o)}}))}function M(t,e){var n=t.tickPosition;return{points:n[e]}}function E(t,e){var n=t.axisTick.style;return n}function T(t){var e=t.labelPosition,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"text",index:i,visible:t.axisLabel.show,animationCurve:n,animationFrame:r,shape:I(t,o),style:P(t,o)}}))}function I(t,e){var n=t.labelPosition,r=t.axisLabel.data;return{content:r[e].toString(),position:n[e]}}function P(t,e){var n=t.labelAlign,r=t.axisLabel,i=r.style;return(0,f.deepMerge)(p({},n[e]),i)}function L(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel;return[{name:"arc",index:r,visible:t.backgroundArc.show,animationCurve:e,animationFrame:n,shape:D(t),style:R(t)}]}function D(t){var e=t.startAngle,n=t.endAngle,r=t.center,i=t.radius;return{rx:r[0],ry:r[1],r:i,startAngle:e,endAngle:n}}function R(t){var e=t.backgroundArc,n=t.arcLineWidth,r=e.style;return(0,f.deepMerge)({lineWidth:n},r)}function N(t){var e=L(t)[0],n=p({},e.shape);return n.endAngle=e.shape.startAngle,e.shape=n,[e]}function j(t){var e=t.data,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"agArc",index:i,animationCurve:n,animationFrame:r,shape:B(t,o),style:F(t,o)}}))}function B(t,e){var n=t.data,r=t.center,i=t.endAngle,o=n[e],a=o.radius,s=o.startAngle,l=o.endAngle,u=o.localGradient;return u&&(i=l),{rx:r[0],ry:r[1],r:a,startAngle:s,endAngle:l,gradientEndAngle:i}}function F(t,e){var n=t.data,r=t.dataItemStyle,i=n[e],o=i.lineWidth,a=i.gradient;return a=a.map((function(t){return(0,h.getRgbaValue)(t)})),(0,f.deepMerge)({lineWidth:o,gradient:a},r)}function z(t){var e=j(t);return e.map((function(t){var e=p({},t.shape);e.endAngle=t.shape.startAngle,t.shape=e})),e}function V(t,e){var n=t.style.gradient,r=n.length,i=e.style.gradient.length;if(r>i)n.splice(i);else{var o=n.slice(-1)[0];n.push.apply(n,(0,s["default"])(new Array(i-r).fill(0).map((function(t){return(0,s["default"])(o)}))))}}function q(t){var e=t.animationCurve,n=t.animationFrame,r=t.center,i=t.rLevel;return[{name:"polyline",index:i,visible:t.pointer.show,animationCurve:e,animationFrame:n,shape:H(t),style:W(t),setGraphCenter:function(t,e){e.style.graphCenter=r}}]}function H(t){var e=t.center;return{points:G(e),close:!0}}function W(t){var e=t.startAngle,n=t.endAngle,r=t.min,i=t.max,o=t.data,a=t.pointer,s=t.center,l=a.valueIndex,u=a.style,c=o[l]?o[l].value:0,h=(c-r)/(i-r)*(n-e)+e+Math.PI/2;return(0,f.deepMerge)({rotate:(0,f.radianToAngle)(h),scale:[1,1],graphCenter:s},u)}function G(t){var e=(0,a["default"])(t,2),n=e[0],r=e[1],i=[n,r-40],o=[n+5,r],s=[n,r+10],l=[n-5,r];return[i,o,s,l]}function U(t){var e=t.startAngle,n=q(t)[0];return n.style.rotate=(0,f.radianToAngle)(e+Math.PI/2),[n]}function $(t){var e=t.detailsPosition,n=t.animationCurve,r=t.animationFrame,i=t.rLevel,o=t.details.show;return e.map((function(e,a){return{name:"numberText",index:i,visible:o,animationCurve:n,animationFrame:r,shape:K(t,a),style:Y(t,a)}}))}function K(t,e){var n=t.detailsPosition,r=t.detailsContent,i=t.data,o=t.details,a=n[e],s=r[e],l=i[e].value,u=o.valueToFixed;return{number:[l],content:s,position:a,toFixed:u}}function Y(t,e){var n=t.details,r=t.data,i=n.style,o=r[e].color;return(0,f.deepMerge)({fill:o},i)}},"1f68":function(t,e,n){"use strict";var r=n("83ab"),i=n("edd0"),o=n("861d"),a=n("7b0b"),s=n("1d80"),l=Object.getPrototypeOf,u=Object.setPrototypeOf,c=Object.prototype,f="__proto__";if(r&&l&&u&&!(f in c))try{i(c,f,{configurable:!0,get:function(){return l(a(this))},set:function(t){var e=s(this);(o(t)||null===t)&&o(e)&&u(e,t)}})}catch(h){}},"1fab":function(t,e){var n=Array.prototype.slice,r=function(t){this._$handlers={},this._$eventProcessor=t};function i(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}function o(t,e,n,r,o,a){var s=t._$handlers;if("function"===typeof n&&(o=r,r=n,n=null),!r||!e)return t;n=i(t,n),s[e]||(s[e]=[]);for(var l=0;l3&&(i=n.call(i,1));for(var a=e.length,s=0;s4&&(i=n.call(i,1,i.length-1));for(var a=i[i.length-1],s=e.length,l=0;l0)&&this[this._states[this._stateCounter]]()&&!this.error)this._stateCounter++,s("parse: state complete. _stateCounter is now: %d",this._stateCounter),s("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return s("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){const t=this._list.readUInt8(0);return this.packet.cmd=a.types[t>>a.CMD_SHIFT],this.packet.retain=0!==(t&a.RETAIN_MASK),this.packet.qos=t>>a.QOS_SHIFT&a.QOS_MASK,this.packet.dup=0!==(t&a.DUP_MASK),s("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0}_parseLength(){const t=this._parseVarByteNum(!0);return t&&(this.packet.length=t.value,this._list.consume(t.bytes)),s("_parseLength %d",t.value),!!t}_parsePayload(){s("_parsePayload: payload %O",this._list);let t=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}t=!0}return s("_parsePayload complete result: %s",t),t}_parseConnect(){let t,e,n,r;s("_parseConnect");const i={},o=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(o.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(o.protocolVersion=this._list.readUInt8(this._pos),o.protocolVersion>=128&&(o.bridgeMode=!0,o.protocolVersion=o.protocolVersion-128),3!==o.protocolVersion&&4!==o.protocolVersion&&5!==o.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(i.username=this._list.readUInt8(this._pos)&a.USERNAME_MASK,i.password=this._list.readUInt8(this._pos)&a.PASSWORD_MASK,i.will=this._list.readUInt8(this._pos)&a.WILL_FLAG_MASK,i.will&&(o.will={},o.will.retain=0!==(this._list.readUInt8(this._pos)&a.WILL_RETAIN_MASK),o.will.qos=(this._list.readUInt8(this._pos)&a.WILL_QOS_MASK)>>a.WILL_QOS_SHIFT),o.clean=0!==(this._list.readUInt8(this._pos)&a.CLEAN_SESSION_MASK),this._pos++,o.keepalive=this._parseNum(),-1===o.keepalive)return this._emitError(new Error("Packet too short"));if(5===o.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(o.properties=t)}const u=this._parseString();if(null===u)return this._emitError(new Error("Packet too short"));if(o.clientId=u,s("_parseConnect: packet.clientId: %s",o.clientId),i.will){if(5===o.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(o.will.properties=t)}if(t=this._parseString(),null===t)return this._emitError(new Error("Cannot parse will topic"));if(o.will.topic=t,s("_parseConnect: packet.will.topic: %s",o.will.topic),e=this._parseBuffer(),null===e)return this._emitError(new Error("Cannot parse will payload"));o.will.payload=e,s("_parseConnect: packet.will.paylaod: %s",o.will.payload)}if(i.username){if(r=this._parseString(),null===r)return this._emitError(new Error("Cannot parse username"));o.username=r,s("_parseConnect: packet.username: %s",o.username)}if(i.password){if(n=this._parseBuffer(),null===n)return this._emitError(new Error("Cannot parse password"));o.password=n}return this.settings=o,s("_parseConnect: complete"),o}_parseConnack(){s("_parseConnack");const t=this.packet;if(this._list.length<1)return null;if(t.sessionPresent=!!(this._list.readUInt8(this._pos++)&a.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?t.reasonCode=this._list.readUInt8(this._pos++):t.reasonCode=0;else{if(this._list.length<2)return null;t.returnCode=this._list.readUInt8(this._pos++)}if(-1===t.returnCode||-1===t.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}s("_parseConnack: complete")}_parsePublish(){s("_parsePublish");const t=this.packet;if(t.topic=this._parseString(),null===t.topic)return this._emitError(new Error("Cannot parse topic"));if(!(t.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}t.payload=this._list.slice(this._pos,t.length),s("_parsePublish: payload from buffer list: %o",t.payload)}}_parseSubscribe(){s("_parseSubscribe");const t=this.packet;let e,n,r,i,o,l,u;if(1!==t.qos)return this._emitError(new Error("Wrong subscribe header"));if(t.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}while(this._pos=t.length)return this._emitError(new Error("Malformed Subscribe Payload"));n=this._parseByte(),r=n&a.SUBSCRIBE_OPTIONS_QOS_MASK,l=0!==(n>>a.SUBSCRIBE_OPTIONS_NL_SHIFT&a.SUBSCRIBE_OPTIONS_NL_MASK),o=0!==(n>>a.SUBSCRIBE_OPTIONS_RAP_SHIFT&a.SUBSCRIBE_OPTIONS_RAP_MASK),i=n>>a.SUBSCRIBE_OPTIONS_RH_SHIFT&a.SUBSCRIBE_OPTIONS_RH_MASK,u={topic:e,qos:r},5===this.settings.protocolVersion?(u.nl=l,u.rap=o,u.rh=i):this.settings.bridgeMode&&(u.rh=0,u.rap=!0,u.nl=!0),s("_parseSubscribe: push subscription `%s` to subscription",u),t.subscriptions.push(u)}}}_parseSuback(){s("_parseSuback");const t=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}while(this._pos2?(t.reasonCode=this._parseByte(),s("_parseConfirmation: packet.reasonCode `%d`",t.reasonCode)):t.reasonCode=0,t.length>3)){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}return!0}_parseDisconnect(){const t=this.packet;if(s("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?t.reasonCode=this._parseByte():t.reasonCode=0;const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(t.properties=e)}return s("_parseDisconnect result: true"),!0}_parseAuth(){s("_parseAuth");const t=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));t.reasonCode=this._parseByte();const e=this._parseProperties();return Object.getOwnPropertyNames(e).length&&(t.properties=e),s("_parseAuth: result: true"),!0}_parseMessageId(){const t=this.packet;return t.messageId=this._parseNum(),null===t.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(s("_parseMessageId: packet.messageId %d",t.messageId),!0)}_parseString(t){const e=this._parseNum(),n=e+this._pos;if(-1===e||n>this._list.length||n>this.packet.length)return null;const r=this._list.toString("utf8",this._pos,n);return this._pos+=e,s("_parseString: result: %s",r),r}_parseStringPair(){return s("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){const t=this._parseNum(),e=t+this._pos;if(-1===t||e>this._list.length||e>this.packet.length)return null;const n=this._list.slice(this._pos,e);return this._pos+=t,s("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;const t=this._list.readUInt16BE(this._pos);return this._pos+=2,s("_parseNum: result: %s",t),t}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;const t=this._list.readUInt32BE(this._pos);return this._pos+=4,s("_parse4ByteNum: result: %s",t),t}_parseVarByteNum(t){s("_parseVarByteNum");const e=4;let n,r=0,i=1,o=0,l=!1;const u=this._pos?this._pos:0;while(r=r&&this._emitError(new Error("Invalid variable byte integer")),u&&(this._pos+=r),l=!!l&&(t?{bytes:r,value:o}:o),s("_parseVarByteNum: result: %o",l),l}_parseByte(){let t;return this._pos0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function c(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function f(t,e,n){return 3*(e+n)/4-n}function h(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(f(t,a,s)),c=0,h=s>0?a-4:a;for(n=0;n>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l}function d(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function p(t,e,n){for(var r,i=[],o=e;ol?l:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2023:function(t,e,n){var r=n("6d8b"),i={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:r.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=i},2039:function(t,e,n){var r=n("6d8b"),i={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(t,e){var n=[];r.each(i,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){r.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(t,e){i[t]=e},o.get=function(t){return i[t]};var a=o;t.exports=a},"204e":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.bar=p;var i=r(n("7037")),o=r(n("9523")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("9d85"),c=n("5557"),f=n("becb");function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n=e.xAxis,r=e.yAxis,i=e.series,o=[];n&&r&&i&&(o=(0,f.initNeedSeries)(i,u.barConfig,"bar"),o=g(o,t),o=v(o,t),o=k(o,t)),(0,l.doUpdate)({chart:t,series:o.slice(-1),key:"backgroundBar",getGraphConfig:L}),o.reverse(),(0,l.doUpdate)({chart:t,series:o,key:"bar",getGraphConfig:j,getStartGraphConfig:G,beforeUpdate:Y}),(0,l.doUpdate)({chart:t,series:o,key:"barLabel",getGraphConfig:Z})}function g(t,e){var n=e.axisData;return t.forEach((function(t){var e=t.xAxisIndex,r=t.yAxisIndex;"number"!==typeof e&&(e=0),"number"!==typeof r&&(r=0);var i=n.find((function(t){var n=t.axis,r=t.index;return"".concat(n).concat(r)==="x".concat(e)})),o=n.find((function(t){var e=t.axis,n=t.index;return"".concat(e).concat(n)==="y".concat(r)})),a=[i,o],s=a.findIndex((function(t){var e=t.data;return"value"===e}));t.valueAxis=a[s],t.labelAxis=a[1-s]})),t}function v(t,e){var n=m(t);return n.forEach((function(t){y(t),x(t),_(t,e),w(t),A(t)})),t}function y(t){var e=b(t);e=e.map((function(t){return{stack:t,index:-1}}));var n=0;t.forEach((function(t){var r=t.stack;if(r){var i=e.find((function(t){var e=t.stack;return e===r}));-1===i.index&&(i.index=n,n++),t.barIndex=i.index}else t.barIndex=n,n++}))}function m(t){var e=t.map((function(t){var e=t.labelAxis,n=e.axis,r=e.index;return n+r}));return e=(0,s["default"])(new Set(e)),e.map((function(e){return t.filter((function(t){var n=t.labelAxis,r=n.axis,i=n.index;return r+i===e}))}))}function b(t){var e=[];return t.forEach((function(t){var n=t.stack;n&&e.push(n)})),(0,s["default"])(new Set(e))}function x(t){var e=(0,s["default"])(new Set(t.map((function(t){var e=t.barIndex;return e})))).length;t.forEach((function(t){return t.barNum=e}))}function _(t){var e=t.slice(-1)[0],n=e.barCategoryGap,r=e.labelAxis.tickGap,i=0;i="number"===typeof n?n:(1-parseInt(n)/100)*r,t.forEach((function(t){return t.barCategoryWidth=i}))}function w(t){var e=t.slice(-1)[0],n=e.barCategoryWidth,r=e.barWidth,i=e.barGap,o=e.barNum,s=[];"number"===typeof r||"auto"!==r?s=S(n,r,i,o):"auto"===r&&(s=C(n,r,i,o));var l=s,u=(0,a["default"])(l,2),c=u[0],f=u[1];t.forEach((function(t){t.barWidth=c,t.barGap=f}))}function S(t,e,n){var r=0,i=0;return r="number"===typeof e?e:parseInt(e)/100*t,i="number"===typeof n?n:parseInt(n)/100*r,[r,i]}function C(t,e,n,r){var i=0,o=0,a=t/r;if("number"===typeof n)o=n,i=a-o;else{var s=10+parseInt(n)/10;0===s?(i=2*a,o=-i):(i=a/s*10,o=a-i)}return[i,o]}function A(t){var e=t.slice(-1)[0],n=e.barGap,r=e.barWidth,i=e.barNum,o=(n+r)*i-n;t.forEach((function(t){return t.barAllWidthAndGap=o}))}function k(t,e){return t=M(t),t=O(t),t=T(t),t=I(t),t}function O(t){return t.map((function(t){var e=t.labelAxis,n=t.barAllWidthAndGap,r=t.barGap,i=t.barWidth,o=t.barIndex,a=e.tickGap,s=e.tickPosition,l=e.axis,u="x"===l?0:1,c=s.map((function(t,e){var l=s[e][u]-a/2,c=l+(a-n)/2;return c+(o+.5)*i+o*r}));return d(d({},t),{},{barLabelAxisPos:c})}))}function M(t){return t.map((function(e){var n=(0,f.mergeSameStackData)(e,t);n=E(e,n);var r=e.valueAxis,i=r.axis,o=r.minValue,a=r.maxValue,s=r.linePosition,l=P(o,a,o<0?0:o,s,i),u=n.map((function(t){return P(o,a,t,s,i)})),c=u.map((function(t){return[l,t]}));return d(d({},e),{},{barValueAxisPos:c})}))}function E(t,e){var n=t.data;return e.map((function(t,e){return"number"===typeof n[e]?t:null})).filter((function(t){return null!==t}))}function T(t){return t.map((function(t){var e=t.barLabelAxisPos,n=t.data;return n.forEach((function(t,n){"number"!==typeof t&&(e[n]=null)})),d(d({},t),{},{barLabelAxisPos:e.filter((function(t){return null!==t}))})}))}function I(t){return t.forEach((function(t){var e=t.data,n=t.barLabelAxisPos,r=t.barValueAxisPos,i=e.filter((function(t){return"number"===typeof t})).length,o=n.length;o>i&&(n.splice(i),r.splice(i))})),t}function P(t,e,n,r,i){if("number"!==typeof n)return null;var o=e-t,a="x"===i?0:1,s=r[1][a]-r[0][a],l=(n-t)/o;0===o&&(l=0);var u=l*s;return u+r[0][a]}function L(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=D(t),o=N(t);return i.map((function(i){return{name:"rect",index:r,visible:t.backgroundBar.show,animationCurve:e,animationFrame:n,shape:i,style:o}}))}function D(t){var e=t.labelAxis,n=t.valueAxis,r=e.tickPosition,i=n.axis,o=n.linePosition,a=R(t),s=a/2,l="x"===i?0:1,u=r.map((function(t){return t[1-l]})),c=[o[0][l],o[1][l]],f=c[0],h=c[1];return u.map((function(t){return"x"===i?{x:f,y:t-s,w:h-f,h:a}:{x:t-s,y:h,w:a,h:f-h}}))}function R(t){var e=t.barAllWidthAndGap,n=t.barCategoryWidth,r=t.backgroundBar,i=r.width;return"number"===typeof i?i:"auto"===i?e:parseInt(i)/100*n}function N(t){return t.backgroundBar.style}function j(t){var e=t.barLabelAxisPos,n=t.animationCurve,r=t.animationFrame,i=t.rLevel,o=B(t);return e.map((function(e,a){return{name:o,index:i,animationCurve:n,animationFrame:r,shape:F(t,a),style:H(t,a)}}))}function B(t){var e=t.shapeType;return"leftEchelon"===e||"rightEchelon"===e?"polyline":"rect"}function F(t,e){var n=t.shapeType;return"leftEchelon"===n?z(t,e):"rightEchelon"===n?V(t,e):q(t,e)}function z(t,e){var n=t.barValueAxisPos,r=t.barLabelAxisPos,i=t.barWidth,o=t.echelonOffset,s=(0,a["default"])(n[e],2),l=s[0],u=s[1],c=r[e],f=i/2,h=t.valueAxis.axis,d=[];return"x"===h?(d[0]=[u,c-f],d[1]=[u,c+f],d[2]=[l,c+f],d[3]=[l+o,c-f],u-lthis._ux||b(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,i,o){return this.addData(u.C,t,e,n,r,i,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,i,o):this._ctx.bezierCurveTo(t,e,n,r,i,o)),this._xi=i,this._yi=o,this},quadraticCurveTo:function(t,e,n,r){return this.addData(u.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,i,o){return this.addData(u.A,t,e,n,n,r,i-r,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=v(i)*n+t,this._yi=y(i)*n+e,this},arcTo:function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(u.R,t,e,n,r),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&d<=t||c<0&&d>=t||0===c&&(f>0&&v<=e||f<0&&v>=e))r=this._dashIdx,n=a[r],d+=c*n,v+=f*n,this._dashIdx=(r+1)%y,c>0&&dl||f>0&&vu||s[r%2?"moveTo":"lineTo"](c>=0?p(d,t):g(d,t),f>=0?p(v,e):g(v,e));c=d-t,f=v-e,this._dashOffset=-m(c*c+f*f)},_dashedBezierTo:function(t,e,n,i,o,a){var s,l,u,c,f,h=this._dashSum,d=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,y=this._yi,b=r.cubicAt,x=0,_=this._dashIdx,w=p.length,S=0;for(d<0&&(d=h+d),d%=h,s=0;s<1;s+=.1)l=b(v,t,n,o,s+.1)-b(v,t,n,o,s),u=b(y,e,i,a,s+.1)-b(y,e,i,a,s),x+=m(l*l+u*u);for(;_d)break;s=(S-d)/x;while(s<=1)c=b(v,t,n,o,s),f=b(y,e,i,a,s),_%2?g.moveTo(c,f):g.lineTo(c,f),s+=p[_]/x,_=(_+1)%w;_%2!==0&&g.lineTo(o,a),l=o-c,u=a-f,this._dashOffset=-m(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,r){var i=n,o=r;n=(n+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,r,i,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=h[0]=h[1]=Number.MAX_VALUE,f[0]=f[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,r=0,s=0,l=0;ll||b(a-i)>c||h===f-1)&&(t.lineTo(o,a),r=o,i=a);break;case u.C:t.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case u.Q:t.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case u.A:var p=s[h++],g=s[h++],m=s[h++],x=s[h++],_=s[h++],w=s[h++],S=s[h++],C=s[h++],A=m>x?m:x,k=m>x?1:m/x,O=m>x?x/m:1,M=Math.abs(m-x)>.001,E=_+w;M?(t.translate(p,g),t.rotate(S),t.scale(k,O),t.arc(0,0,A,_,E,1-C),t.scale(1/k,1/O),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,A,_,E,1-C),1===h&&(e=v(_)*m+p,n=y(_)*x+g),r=v(E)*m+p,i=y(E)*x+g;break;case u.R:e=r=s[h],n=i=s[h+1],t.rect(s[h++],s[h++],s[h++],s[h++]);break;case u.Z:t.closePath(),r=e,i=n}}}},_.CMD=u;var w=_;t.exports=w},2145:function(t,e){var n={};function r(t,e){n[t]=e}function i(t){return n[t]}e.register=r,e.get=i},2163:function(t,e,n){var r=n("4f85"),i=n("06c7"),o=n("eda2"),a=o.encodeHTML,s=n("4319"),l=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},r=new s(n,this,this.ecModel),o=i.createTree(e,this,a);function a(t){t.wrapMethod("getItemModel",(function(t,e){var n=o.getNodeByDataIndex(e);return n.children.length&&n.isExpand||(t.parentModel=r),t}))}var l=0;o.eachNode("preorder",(function(t){t.depth>l&&(l=t.depth)}));var u=t.expandAndCollapse,c=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return o.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=c})),o.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){var e=this.getData().tree,n=e.root.children[0],r=e.getNodeByDataIndex(t),i=r.getValue(),o=r.name;while(r&&r!==n)o=r.parentNode.name+"."+o,r=r.parentNode;return a(o+(isNaN(i)||null==i?"":" : "+i))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=l},"216a":function(t,e,n){var r=n("6d8b"),i=n("3842"),o=n("eda2"),a=n("944e"),s=n("89e3"),l=s.prototype,u=Math.ceil,c=Math.floor,f=1e3,h=60*f,d=60*h,p=24*d,g=function(t,e,n,r){while(n>>1;t[i][1]n&&(s=n);var l=y.length,f=g(y,s,0,l),h=y[Math.min(f,l-1)],d=h[1];if("year"===h[0]){var p=o/d,v=i.nice(p/t,!0);d*=v}var m=this.getSetting("useUTC")?0:60*new Date(+r[0]||+r[1]).getTimezoneOffset()*1e3,b=[Math.round(u((r[0]-m)/d)*d+m),Math.round(c((r[1]-m)/d)*d+m)];a.fixExtent(b,r),this._stepLvl=h,this._interval=d,this._niceExtent=b},parse:function(t){return+i.parseDate(t)}});r.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var y=[["hh:mm:ss",f],["hh:mm:ss",5*f],["hh:mm:ss",10*f],["hh:mm:ss",15*f],["hh:mm:ss",30*f],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",5*h],["hh:mm\nMM-dd",10*h],["hh:mm\nMM-dd",15*h],["hh:mm\nMM-dd",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",2*d],["hh:mm\nMM-dd",6*d],["hh:mm\nMM-dd",12*d],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var m=v;t.exports=m},"217b":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3301")),o=n("4f85"),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},"217c":function(t,e,n){var r=n("6d8b"),i=n("6cb7");n("df3a");var o=i.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){i.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&r.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);r.each(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))}});t.exports=o},"21a1":function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=t((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var a=e.slice();return r.forEach((function(r,s){"undefined"===typeof a[s]?a[s]=n(r,i):t(r)?a[s]=o(e[s],r,i):-1===e.indexOf(r)&&a.push(n(r,i))})),a}function i(e,r,i){var a={};return t(e)&&Object.keys(e).forEach((function(t){a[t]=n(e[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&e[s]?a[s]=o(e[s],r[s],i):a[s]=n(r[s],i)})),a}function o(t,e,o){var a=Array.isArray(e),s=o||{arrayMerge:r},l=s.arrayMerge||r;return a?Array.isArray(t)?l(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))}));function r(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).map((function(t){t(n)})),(t["*"]||[]).map((function(t){t(e,n)}))}}}var i=t((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),o=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},a=i.svg,s=i.xlink,l={};l[a.name]=a.uri,l[s.name]=s.uri;var u,c=function(t,e){void 0===t&&(t="");var r=n(l,e||{}),i=o(r);return""+t+""},f=i.svg,h=i.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[f.name]=f.uri,u[h.name]=h.uri,u)},p=function(t){this.config=n(d,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this,n=e.symbols,r=this.find(t.id);return r?(n[n.indexOf(r)]=t,!1):(n.push(t),!0)},p.prototype.remove=function(t){var e=this,n=e.symbols,r=this.find(t);return!!r&&(n.splice(n.indexOf(r),1),r.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config,e=t.attrs,n=this.symbols.map((function(t){return t.stringify()})).join("");return c(n,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var g=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};g.prototype.stringify=function(){return this.content},g.prototype.toString=function(){return this.stringify()},g.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var v=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return v(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(g),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(t){return Array.prototype.slice.call(t,0)},x={isChrome:function(){return/chrome/i.test(navigator.userAgent)},isFirefox:function(){return/firefox/i.test(navigator.userAgent)},isIE:function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},isEdge:function(){return/edge/i.test(navigator.userAgent)}},_=function(t,e){var n=document.createEvent("CustomEvent");n.initCustomEvent(t,!1,!1,e),window.dispatchEvent(n)},w=function(t){var e=[];return b(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})),e},S=function(t){return(t||window.location.href).split("#")[0]},C=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){_(t,{oldUrl:r,newUrl:n})}))}])},A="linearGradient, radialGradient, pattern, mask, clipPath",k=function(t,e){return void 0===e&&(e=A),b(t.querySelectorAll("symbol")).forEach((function(t){b(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t};function O(t,e){var n=b(t).reduce((function(t,n){if(!n.attributes)return t;var r=b(n.attributes),i=e?r.filter(e):r;return t.concat(i)}),[]);return n}var M=i.xlink.uri,E="xlink:href",T=/[{}|\\\^\[\]`"<>]/g;function I(t){return t.replace(T,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}function P(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function L(t,e,n){return b(t).forEach((function(t){var r=t.getAttribute(E);if(r&&0===r.indexOf(e)){var i=r.replace(e,n);t.setAttributeNS(M,E,i)}})),t}var D,R=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],N=R.map((function(t){return"["+t+"]"})).join(","),j=function(t,e,n,r){var i=I(n),o=I(r),a=t.querySelectorAll(N),s=O(a,(function(t){var e=t.localName,n=t.value;return-1!==R.indexOf(e)&&-1!==n.indexOf("url("+i)}));s.forEach((function(t){return t.value=t.value.replace(new RegExp(P(i),"g"),o)})),L(e,i,o)},B={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},F=function(t){function e(e){var i=this;void 0===e&&(e={}),t.call(this,n(m,e));var o=r();this._emitter=o,this.node=null;var a=this,s=a.config;if(s.autoConfigure&&this._autoConfigure(e),s.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");o.on(B.MOUNT,(function(){return i.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,u),s.locationChangeAngularEmitter&&C(s.locationChangeEvent),o.on(B.MOUNT,(function(t){s.moveGradientsOutsideSymbol&&k(t)})),o.on(B.SYMBOL_MOUNT,(function(t){s.moveGradientsOutsideSymbol&&k(t.parentNode),(x.isIE()||x.isEdge())&&w(t)}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this,n=e.config;"undefined"===typeof t.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof t.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter="undefined"!==typeof window.angular),"undefined"===typeof t.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=x.isFirefox())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=this,r=t.prototype.add.call(this,e);return this.isMounted&&r&&(e.mount(n.node),this._emitter.emit(B.SYMBOL_MOUNT,e.node)),r},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B.SYMBOL_MOUNT,t.node)})),b(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(B.MOUNT,r),r},e.prototype.destroy=function(){var t=this,e=t.config,n=t.symbols,r=t._emitter;n.forEach((function(t){return t.destroy()})),r.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1);var n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t,i=n.render();return this.node=i,e&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(B.MOUNT,i),i},e.prototype.render=function(){return v(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return j(this.node,n,S(t)+"#",S(e)+"#"),!0},Object.defineProperties(e.prototype,i),e}(p),z=t((function(t){ /*! * domready (c) Dustin Diaz 2014 - License MIT */ !function(e,n){t.exports=n()}(0,(function(){var t,e=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,t=function(){n.removeEventListener(i,t),o=1;while(t=e.shift())t()}),function(t){o?setTimeout(t,0):e.push(t)}}))})),V="__SVG_SPRITE_NODE__",q="__SVG_SPRITE__",H=!!window[q];H?D=window[q]:(D=new F({attrs:{id:V,"aria-hidden":"true"}}),window[q]=D);var W=function(){var t=document.getElementById(V);t?D.attach(t):D.mount(document.body,!0)};document.body?W():z(W);var G=D;return G}))}).call(this,n("c8ba"))},"21a6":function(t,e,n){(function(n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function r(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){l(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,n){var s=a.URL||a.webkitURL,l=document.createElement("a");e=e||t.name||"download",l.download=e,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?o(l):i(l.href)?r(t,e,n):o(l,l.target="_blank")):(l.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,a){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),n);else if(i(t))r(t,n,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}}:function(t,e,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return r(t,e,n);var o="application/octet-stream"===t.type,l=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&l||s)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var t=c.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},c.readAsDataURL(t)}else{var f=a.URL||a.webkitURL,h=f.createObjectURL(t);i?i.location=h:location.href=h,i=null,setTimeout((function(){f.revokeObjectURL(h)}),4e4)}});a.saveAs=l.saveAs=l,t.exports=l}))}).call(this,n("c8ba"))},"222a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieConfig=void 0;var r={show:!0,name:"",radius:"50%",center:["50%","50%"],startAngle:-Math.PI/2,roseType:!1,roseSort:!0,roseIncrement:"auto",data:[],insideLabel:{show:!1,formatter:"{percent}%",style:{fontSize:10,fill:"#fff",textAlign:"center",textBaseline:"middle"}},outsideLabel:{show:!0,formatter:"{name}",style:{fontSize:11},labelLineBendGap:"20%",labelLineEndLength:50,labelLineStyle:{lineWidth:1}},pieStyle:{},percentToFixed:0,rLevel:10,animationDelayGap:60,animationCurve:"easeOutCubic",startAnimationCurve:"easeOutBack",animationFrame:50};e.pieConfig=r},2236:function(t,e,n){var r=n("5a43");function i(t){if(Array.isArray(t))return r(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},2266:function(t,e,n){var r=n("0366"),i=n("c65b"),o=n("825a"),a=n("0d51"),s=n("e95a"),l=n("07fa"),u=n("3a9b"),c=n("9a1f"),f=n("35a1"),h=n("2a62"),d=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,n){var v,y,m,b,x,_,w,S=n&&n.that,C=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),M=r(e,S),E=function(t){return v&&h(v,"normal",t),new p(!0,t)},T=function(t){return C?(o(t),O?M(t[0],t[1],E):M(t[0],t[1])):O?M(t,E):M(t)};if(A)v=t.iterator;else if(k)v=t;else{if(y=f(t),!y)throw d(a(t)+" is not iterable");if(s(y)){for(m=0,b=l(t);b>m;m++)if(x=T(t[m]),x&&u(g,x))return x;return new p(!1)}v=c(t,y)}_=A?t.next:v.next;while(!(w=i(_,v)).done){try{x=T(w.value)}catch(I){h(v,"throw",I)}if("object"==typeof x&&x&&u(g,x))return x}return new p(!1)}},"22d1":function(t,e){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i(navigator.userAgent);var r=n;function i(t){var e={},n={},r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}t.exports=r},"22da":function(t,e,n){var r=n("f934");function i(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var e,n,r=[t];while(e=r.pop())if(n=e.children,e.isExpand&&n.length)for(var i=n.length,o=i-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}function o(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,i=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){c(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=f(t,i,t.parentNode.hierNode.defaultAncestor||r[0],e)}function a(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:v}function l(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n}function u(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function c(t){var e=t.children,n=e.length,r=0,i=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function f(t,e,n,r){if(e){var i=t,o=t,a=o.parentNode.children[0],s=e,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,f=s.hierNode.modifier;while(s=h(s),o=d(o),s&&o){i=h(i),a=d(a),i.hierNode.ancestor=t;var v=s.hierNode.prelim+f-o.hierNode.prelim-u+r(s,o);v>0&&(g(p(s,t,n),t,v),u+=v,l+=v),f+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-l),o&&!d(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}function h(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function d(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function g(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function v(t,e){return t.parentNode===e.parentNode?1:2}e.init=i,e.firstWalk=o,e.secondWalk=a,e.separation=s,e.radialCoordinate=l,e.getViewRect=u},2306:function(t,e,n){var r=n("6d8b"),i=n("342d"),o=n("41ef"),a=n("1687"),s=n("401b"),l=n("cbe5"),u=n("0cde"),c=n("0da8");e.Image=c;var f=n("e1fc");e.Group=f;var h=n("76a5");e.Text=h;var d=n("d9fc");e.Circle=d;var p=n("4aa2");e.Sector=p;var g=n("4573");e.Ring=g;var v=n("87b1");e.Polygon=v;var y=n("d498");e.Polyline=y;var m=n("c7a2");e.Rect=m;var b=n("cb11");e.Line=b;var x=n("ac0f");e.BezierCurve=x;var _=n("8d32");e.Arc=_;var w=n("d4c6");e.CompoundPath=w;var S=n("48a9");e.LinearGradient=S;var C=n("dded");e.RadialGradient=C;var A=n("9850");e.BoundingRect=A;var k=n("392f");e.IncrementalDisplayable=k;var O=n("9cf9"),M=Math.max,E=Math.min,T={},I=1,P={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",D="normal",R=1,N={},j={};function B(t){return l.extend(t)}function F(t,e){return i.extendFromString(t,e)}function z(t,e){j[t]=e}function V(t){if(j.hasOwnProperty(t))return j[t]}function q(t,e,n,r){var o=i.createFromString(t,e);return n&&("center"===r&&(n=W(n,o.getBoundingRect())),U(o,n)),o}function H(t,e,n){var r=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(W(e,i))}}});return r}function W(t,e){var n,r=e.width/e.height,i=t.height*r;i<=t.width?n=t.height:(i=t.width,n=i/r);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var G=i.mergePath;function U(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function $(t){return O.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function K(t){return O.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var Y=O.subPixelOptimize;function Z(t){return null!=t&&"none"!==t}var X=r.createHashMap(),Q=0;function J(t){if("string"!==typeof t)return t;var e=X.get(t);return e||(e=o.lift(t,-.1),Q<1e4&&(X.set(t,e),Q++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var r=t.style;for(var i in e)null!=e[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,r=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=r?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var i=t,o=t.style;r&&(i=n.addHover(t),o=i.style),Ct(o),r||tt(i),o.extendFrom(e),nt(o,e,"fill"),nt(o,e,"stroke"),St(o),r||(t.dirty(!1),t.z2+=I)}}}function nt(t,e,n){!Z(e[n])&&Z(t[n])&&(t[n]=J(t[n]))}function rt(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,r=t.__cachedNormalStl;r&&(Ct(n),t.setStyle(r),St(n));var i=t.__cachedNormalZ2;null!=i&&t.z2-i===I&&(t.z2=i)}}function it(t,e,n){var r,i=D,o=D;t.__highlighted&&(i=L,r=!0),e(t,n),t.__highlighted&&(o=L,r=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,n)})),r&&t.__highDownOnUpdate&&t.__highDownOnUpdate(i,o)}function ot(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,rt(t),et(t))}function at(t){!ct(this,t)&&!this.__highByOuter&&it(this,et)}function st(t){!ct(this,t)&&!this.__highByOuter&&it(this,rt)}function lt(t){this.__highByOuter|=1<<(t||0),it(this,et)}function ut(t){!(this.__highByOuter&=~(1<<(t||0)))&&it(this,rt)}function ct(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ft(t,e){ht(t,!0),it(t,ot,e)}function ht(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var r=n?"off":"on";t[r]("mouseover",at)[r]("mouseout",st),t[r]("emphasis",lt)[r]("normal",ut),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function dt(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=N[t];return null==e&&R<=32&&(e=N[t]=R++),e}function gt(t,e,n,i,o,a,s){o=o||T;var l,u=o.labelFetcher,c=o.labelDataIndex,f=o.labelDimIndex,h=o.labelProp,d=n.getShallow("show"),p=i.getShallow("show");(d||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,f,h)),null==l&&(l=r.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=d?l:null,v=p?r.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,f,h):null,l):null;null==g&&null==v||(yt(t,n,a,o),yt(e,i,s,o,!0)),t.text=g,e.text=v}function vt(t,e,n){var i=t.style;e&&(Ct(i),t.setStyle(e),St(i)),i=t.__hoverStl,n&&i&&(Ct(i),r.extend(i,n),St(i))}function yt(t,e,n,i,o){return bt(t,e,i,o),n&&r.extend(t,n),t}function mt(t,e,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,bt(t,e,i,r)}function bt(t,e,n,i){if(n=n||T,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(e,i):(o=e.getShallow("position")||(i?null:"inside"),"outside"===o&&(o="top")),t.textPosition=o,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=r.retrieve2(e.getShallow("distance"),i?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=xt(e);if(c)for(var f in s={},c)if(c.hasOwnProperty(f)){var h=e.getModel(["rich",f]);_t(s[f]={},h,u,n,i)}return t.rich=s,_t(t,e,u,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function xt(t){var e;while(t&&t!==t.ecModel){var n=(t.option||T).rich;if(n)for(var r in e=e||{},n)n.hasOwnProperty(r)&&(e[r]=1);t=t.parentModel}return e}function _t(t,e,n,i,o,a){n=!o&&n||T,t.textFill=wt(e.getShallow("color"),i)||n.color,t.textStroke=wt(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=r.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(t.insideRollbackOpt=i,St(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&i.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,n=t.textPosition,r=t.insideRollbackOpt;if(r&&null==t.textFill){var i=r.autoColor,o=r.isRectText,a=r.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=i;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=i,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=i)}t.insideRollback=e}function Ct(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function At(t,e){var n=e&&e.getModel("textStyle");return r.trim([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(" "))}function kt(t,e,n,r,i,o){"function"===typeof i&&(o=i,i=null);var a=r&&r.isAnimationEnabled();if(a){var s=t?"Update":"",l=r.getShallow("animationDuration"+s),u=r.getShallow("animationEasing"+s),c=r.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"===typeof l&&(l=l(i)),l>0?e.animateTo(n,l,c||0,u,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function Ot(t,e,n,r,i){kt(!0,t,e,n,r,i)}function Mt(t,e,n,r,i){kt(!1,t,e,n,r,i)}function Et(t,e){var n=a.identity([]);while(t&&t!==e)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function Tt(t,e,n){return e&&!r.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function It(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=Tt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Pt(t,e,n,i){if(t&&e){var o=a(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var r=l(t);t.attr(l(e)),Ot(t,r,n,t.dataIndex)}}}))}function a(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=r.extend({},t.shape)),e}}function Lt(t,e){return r.map(t,(function(t){var n=t[0];n=M(n,e.x),n=E(n,e.x+e.width);var r=t[1];return r=M(r,e.y),r=E(r,e.y+e.height),[n,r]}))}function Dt(t,e){var n=M(t.x,e.x),r=E(t.x+t.width,e.x+e.width),i=M(t.y,e.y),o=E(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Rt(t,e,n){e=r.extend({rectHover:!0},e);var i=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),r.defaults(i,n),new c(e)):q(t.replace("path://",""),e,n,"center")}function Nt(t,e,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var v=Bt(d,p,c,f)/h;return!(v<0||v>1)}function Bt(t,e,n,r){return t*r-n*e}function Ft(t){return t<=1e-6&&t>=-1e-6}z("circle",d),z("sector",p),z("ring",g),z("polygon",v),z("polyline",y),z("rect",m),z("line",b),z("bezierCurve",x),z("arc",_),e.Z2_EMPHASIS_LIFT=I,e.CACHED_LABEL_STYLE_PROPERTIES=P,e.extendShape=B,e.extendPath=F,e.registerShape=z,e.getShapeClass=V,e.makePath=q,e.makeImage=H,e.mergePath=G,e.resizePath=U,e.subPixelOptimizeLine=$,e.subPixelOptimizeRect=K,e.subPixelOptimize=Y,e.setElementHoverStyle=ot,e.setHoverStyle=ft,e.setAsHighDownDispatcher=ht,e.isHighDownDispatcher=dt,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=vt,e.setTextStyle=yt,e.setText=mt,e.getFont=At,e.updateProps=Ot,e.initProps=Mt,e.getTransform=Et,e.applyTransform=Tt,e.transformDirection=It,e.groupTransition=Pt,e.clipPointsByRect=Lt,e.clipRectByRect=Dt,e.createIcon=Rt,e.linePolygonIntersect=Nt,e.lineLineIntersect=jt},2325:function(t,e,n){var r=n("6d8b"),i=n("607d"),o=n("2306"),a=n("88b3"),s=n("7dcf"),l=n("3842"),u=n("f934"),c=n("ef6a"),f=o.Rect,h=l.linearMap,d=l.asc,p=r.bind,g=r.each,v=7,y=1,m=30,b="horizontal",x="vertical",_=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,r){S.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},o=this._orient===b?{right:i.width-n.x-n.width,top:i.height-m-v,width:n.width,height:m}:{right:v,top:n.y,width:m,height:n.height},a=u.getLayoutParams(t.option);r.each(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=u.getLayoutRect(a,i,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===x&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==b||i?n===b&&i?{scale:a?[-1,1]:[-1,-1]}:n!==x||i?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new f({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new f({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,i=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var s=i.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],f=[0,e[0]],d=[[e[0],0],[0,0]],p=[],g=f[1]/(i.count()-1),v=0,y=Math.round(i.count()/e[0]);i.each([a],(function(t,e){if(y>0&&e%y)v+=g;else{var n=null==t||isNaN(t)||""===t,r=n?0:h(t,s,c,!0);n&&!u&&e?(d.push([d[d.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(d.push([v,0]),p.push([v,0])),d.push([v,r]),p.push([v,r]),v+=g,u=n}}));var m=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:d},style:r.defaults({fill:m.get("dataBackgroundColor")},m.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:m.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(o,a){var s=t.getAxisProxy(o.name,a).getTargetSeriesModels();r.each(s,(function(t){if(!n&&!(!0!==e&&r.indexOf(w,t.get("type"))<0)){var s,l=i.getComponent(o.axis,a).axis,u=C(o.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],r=this._displayables.barGroup,i=this._size,a=this.dataZoomModel;r.add(t.filler=new f({draggable:!0,cursor:A(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),r.add(new f({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:y,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var i=o.createIcon(a.get("handleIcon"),{cursor:A(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(i.style.fill=u),r.add(e[t]=i);var c=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[h(t[0],[0,100],e,!0),h(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?h(o.minSpan,a,i,!0):null,null!=o.maxSpan?h(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=d([h(r[0],i,a,!0),h(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,r=d(n.slice()),i=this._size;g([0,1],(function(t){var r=e.handles[t],o=this._handleHeight;r.attr({scale:[o/2,o/2],position:[n[t],i[1]/2-o/2]})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var f=d(this._handleEnds.slice());function h(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+_,u=o.applyTransform([f[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],textVerticalAlign:i===b?"middle":s,textAlign:i===b?s:"center",text:a[t]})}h.call(this,0),h.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return r.isFunction(i)?i(t,a):r.isString(i)?i.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,r){this._dragging=!0,i.stop(r.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([e,n],a,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function C(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function A(t){return"vertical"===t?"ns-resize":"ew-resize"}var k=S;t.exports=k},"237f":function(t,e,n){var r=n("6d8b"),i=n("6179"),o=n("7368"),a=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");function c(t,e,n,c,f){for(var h=new o(c),d=0;d "+b)),v++)}var x,_=n.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)x=u(t,n);else{var w=l.get(_),S=w&&"view"!==w.type&&w.dimensions||[];r.indexOf(S,"value")<0&&S.concat(["value"]);var C=s(t,{coordDimensions:S});x=new i(C,n),x.initData(t)}var A=new i(["value"],n);return A.initData(g,p),f&&f(x,A),a({mainData:x,struct:h,structAttr:"graph",datas:{node:x,edge:A},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}t.exports=c},"23cb":function(t,e,n){var r=n("5926"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23dc":function(t,e,n){var r=n("d44e");r(Math,"Math",!0)},"23e0":function(t,e,n){var r=n("6d8b"),i=n("7887"),o=n("89e3"),a=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("2039"),f=n("8c2a");function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=r.map(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,r=new i(n,"log"===t.get("axisType")?new f:new o);return r.name=t.get("name"),r.model=t,t.axis=r,this.dimensions.push(n),r}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],r=n.angle,i=this.cx+t*Math.cos(r),o=this.cy-t*Math.sin(r);return[i,o]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=Math.sqrt(e*e+n*n);e/=r,n/=r;for(var i,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;ln[0]&&isFinite(g)&&isFinite(n[0]))}else{var d=i.getTicks().length-1;d>o&&(h=s(h));var p=Math.ceil(n[1]/h)*h,g=a.round(p-h*o);i.setExtent(g,p),i.setInterval(h)}}))},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",(function(r){var i=new h(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},c.register("radar",h);var d=h;t.exports=d},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,f,h,d,p,g=t.target,v=t.global,y=t.stat;if(c=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,c)for(f in e){if(d=e[f],t.dontCallGetSet?(p=i(c,f),h=p&&p.value):h=c[f],n=u(v?f:g+(y?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),a(c,f,d,t)}}},"23ee":function(t,e,n){var r=n("3eba");n("879e"),n("9704"),n("d747");var i=n("675a"),o=n("7f96"),a=n("2943"),s=n("de6e"),l=n("d357"),u=n("adda"),c=n("5866"),f=n("7b0c");r.registerProcessor(i),r.registerVisual(o("graph","circle",null)),r.registerVisual(a),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),r.registerLayout(c),r.registerCoordinateSystem("graphView",{create:f})},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),o=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function l(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(a)})),t.exports=c}).call(this,n("4362"))},2449:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("6d8b"),a=n("22d1"),s=n("e0d3"),l=n("eda2"),u=n("38a2"),c=l.addCommas,f=l.encodeHTML;function h(t){s.defaultEmphasis(t,"label",["show"])}var d=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,r){var i=this.constructor,a=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[a];n&&n.data?(s?s._mergeOption(n,e,!0):(r&&h(n),o.each(n.data,(function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)})),s=new i(n,this,e),o.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t,e,n,r){var i=this.getData(),a=this.getRawValue(t),s=o.isArray(a)?o.map(a,c).join(", "):c(a),l=i.getName(t),u=f(this.name),h="html"===r?"
":"\n";return(null!=a||l)&&(u+=h),l&&(u+=f(l),null!=a&&(u+=" : ")),null!=a&&(u+=f(s)),u},getData:function(){return this._data},setData:function(t){this._data=t}});o.mixin(d,u);var p=d;t.exports=p},"24b9":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("f934")),o=n("3842"),a=o.parsePercent,s=o.linearMap;function l(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],o="ascending"===e,a=0,s=t.count();a-1?t.split(","):t},u="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",f=function(t,e){var n,f={__proto__:null},h=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,p=h.split(e.delimiter,d),g=-1,v=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(m=o(m)?[m]:m);var w=i.call(f,y);w&&"combine"===e.duplicates?f[y]=r.combine(f[y],m):w&&"last"!==e.duplicates||(f[y]=m)}return f},h=function(t,e,n,r){for(var i=r?e:l(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&""===i?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,f=parseInt(c,10);n.parseArrays||""!==c?!isNaN(f)&&s!==c&&String(f)===c&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(a=[],a[f]=i):"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i},d=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&a.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}var f=0;while(n.depth>0&&null!==(l=s.exec(o))&&f1&&void 0!==arguments[1]?arguments[1]:{},n=e.xAxis,r=e.yAxis,i=e.series,o=[];n&&r&&i&&(o=(0,f.initNeedSeries)(i,u.lineConfig,"line"),o=y(o,t)),(0,l.doUpdate)({chart:t,series:o,key:"lineArea",getGraphConfig:w,getStartGraphConfig:O,beforeUpdate:M,beforeChange:E}),(0,l.doUpdate)({chart:t,series:o,key:"line",getGraphConfig:T,getStartGraphConfig:D,beforeUpdate:M,beforeChange:E}),(0,l.doUpdate)({chart:t,series:o,key:"linePoint",getGraphConfig:R,getStartGraphConfig:B}),(0,l.doUpdate)({chart:t,series:o,key:"lineLabel",getGraphConfig:F})}function y(t,e){var n=e.axisData;return t.map((function(e){var r=(0,f.mergeSameStackData)(e,t);r=m(e,r);var i=b(e,n),o=x(r,i),a=_(i);return d(d({},e),{},{linePosition:o.filter((function(t){return t})),lineFillBottomPos:a})}))}function m(t,e){var n=t.data;return e.map((function(t,e){return"number"===typeof n[e]?t:null}))}function b(t,e){var n=t.xAxisIndex,r=t.yAxisIndex,i=e.find((function(t){var e=t.axis,r=t.index;return"x"===e&&r===n})),o=e.find((function(t){var e=t.axis,n=t.index;return"y"===e&&n===r}));return[i,o]}function x(t,e){var n=e.findIndex((function(t){var e=t.data;return"value"===e})),r=e[n],i=e[1-n],o=r.linePosition,a=r.axis,s=i.tickPosition,l=s.length,u="x"===a?0:1,c=o[0][u],f=o[1][u],h=f-c,d=r.maxValue,p=r.minValue,g=d-p,v=new Array(l).fill(0).map((function(e,n){var r=t[n];if("number"!==typeof r)return null;var i=(r-p)/g;return 0===g&&(i=0),i*h+c}));return v.map((function(t,e){if(e>=l||"number"!==typeof t)return null;var n=[t,s[e][1-u]];return 0===u||n.reverse(),n}))}function _(t){var e=t.find((function(t){var e=t.data;return"value"===e})),n=e.axis,r=e.linePosition,i=e.minValue,o=e.maxValue,a="x"===n?0:1,s=r[0][a];if(i<0&&o>0){var l=o-i,u=Math.abs(r[0][a]-r[1][a]),c=Math.abs(i)/l*u;"y"===n&&(c*=-1),s+=c}return{changeIndex:a,changeValue:s}}function w(t){var e=t.animationCurve,n=t.animationFrame,r=t.lineFillBottomPos,i=t.rLevel;return[{name:I(t),index:i,animationCurve:e,animationFrame:n,visible:t.lineArea.show,lineFillBottomPos:r,shape:S(t),style:C(t),drawed:k}]}function S(t){var e=t.linePosition;return{points:e}}function C(t){var e=t.lineArea,n=t.color,r=e.gradient,i=e.style,o=[i.fill||n],a=(0,f.deepMerge)(o,r);1===a.length&&a.push(a[0]);var s=A(t);return i=d(d({},i),{},{stroke:"rgba(0, 0, 0, 0)"}),(0,f.deepMerge)({gradientColor:a,gradientParams:s,gradientType:"linear",gradientWith:"fill"},i)}function A(t){var e=t.lineFillBottomPos,n=t.linePosition,r=e.changeIndex,i=e.changeValue,o=n.map((function(t){return t[r]})),s=Math.max.apply(Math,(0,a["default"])(o)),l=Math.min.apply(Math,(0,a["default"])(o)),u=s;return 1===r&&(u=l),1===r?[0,u,0,i]:[u,0,i,0]}function k(t,e){var n=t.lineFillBottomPos,r=t.shape,i=e.ctx,o=r.points,s=n.changeIndex,l=n.changeValue,u=(0,a["default"])(o[o.length-1]),c=(0,a["default"])(o[0]);u[s]=l,c[s]=l,i.lineTo.apply(i,(0,a["default"])(u)),i.lineTo.apply(i,(0,a["default"])(c)),i.closePath(),i.fill()}function O(t){var e=w(t)[0],n=d({},e.style);return n.opacity=0,e.style=n,[e]}function M(t,e,n,r){var i=t[n];if(i){var o=I(e),a=r.chart.render,s=i[0].name,l=o!==s;l&&(i.forEach((function(t){return a.delGraph(t)})),t[n]=null)}}function E(t,e){var n=e.shape.points,r=t.shape.points,i=r.length,o=n.length;if(o>i){var s=r.slice(-1)[0],l=new Array(o-i).fill(0).map((function(t){return(0,a["default"])(s)}));r.push.apply(r,(0,a["default"])(l))}else o1&&void 0!==arguments[1]&&arguments[1];if(!e)return(0,f.getPolylineLength)(t);var n=p(t);return g(n)}function D(t){var e=t.lineStyle.lineDash,n=T(t)[0],r=n.style.lineDash;return r=e?[0,0]:(0,a["default"])(r).reverse(),n.style.lineDash=r,[n]}function R(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=N(t),o=j(t);return i.map((function(i){return{name:"circle",index:r+2,visible:t.linePoint.show,animationCurve:e,animationFrame:n,shape:i,style:o}}))}function N(t){var e=t.linePosition,n=t.linePoint.radius;return e.map((function(t){var e=(0,o["default"])(t,2),r=e[0],i=e[1];return{r:n,rx:r,ry:i}}))}function j(t){var e=t.color,n=t.linePoint.style;return(0,f.deepMerge)({stroke:e},n)}function B(t){var e=R(t);return e.forEach((function(t){t.shape.r=.1})),e}function F(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel,i=z(t),o=G(t);return i.map((function(i,a){return{name:"text",index:r+3,visible:t.label.show,animationCurve:e,animationFrame:n,shape:i,style:o}}))}function z(t){var e=W(t),n=V(t);return e.map((function(t,e){return{content:t,position:n[e]}}))}function V(t){var e=t.linePosition,n=t.lineFillBottomPos,r=t.label,i=r.position,o=r.offset,s=n.changeIndex,l=n.changeValue;return e.map((function(t){if("bottom"===i&&(t=(0,a["default"])(t),t[s]=l),"center"===i){var e=(0,a["default"])(t);e[s]=l,t=H(t,e)}return q(t,o)}))}function q(t,e){var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[r+s,i+l]}function H(t,e){var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[(r+s)/2,(i+l)/2]}function W(t){var e=t.data,n=t.label.formatter;if(e=e.filter((function(t){return"number"===typeof t})).map((function(t){return t.toString()})),!n)return e;var r=(0,i["default"])(n);return"string"===r?e.map((function(t){return n.replace("{value}",t)})):"function"===r?e.map((function(t,e){return n({value:t,index:e})})):e}function G(t){var e=t.color,n=t.label.style;return(0,f.deepMerge)({fill:e},n)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("5a34"),a=n("1d80"),s=n("577e"),l=n("ab13"),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(t){return!!~u(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},2554:function(t,e,n){"use strict";var r=function(t){return i(t)&&!o(t)};function i(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||l(t)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(t){return t.$$typeof===s}function u(t){return Array.isArray(t)?[]:{}}function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m(u(t),t,e):t}function f(t,e,n){return t.concat(e).map((function(t){return c(t,n)}))}function h(t,e){if(!e.customMerge)return m;var n=e.customMerge(t);return"function"===typeof n?n:m}function d(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return Object.propertyIsEnumerable.call(t,e)})):[]}function p(t){return Object.keys(t).concat(d(t))}function g(t,e){try{return e in t}catch(n){return!1}}function v(t,e){return g(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function y(t,e,n){var r={};return n.isMergeableObject(t)&&p(t).forEach((function(e){r[e]=c(t[e],n)})),p(e).forEach((function(i){v(t,i)||(g(t,i)&&n.isMergeableObject(e[i])?r[i]=h(i,n)(t[i],e[i],n):r[i]=c(e[i],n))})),r}function m(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(e),o=Array.isArray(t),a=i===o;return a?i?n.arrayMerge(t,e,n):y(t,e,n):c(e,n)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return m(t,n,e)}),{})};var b=m;t.exports=b},"255c":function(t,e,n){var r=n("3eba"),i=n("d4d1"),o=i.Polygon,a=n("2306"),s=n("6d8b"),l=s.bind,u=s.extend,c=n("80f0"),f=r.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,n){var r=t.getData(),i=this.group,s=t.getLayerSeries(),f=r.getLayout("layoutInfo"),d=f.rect,p=f.boundaryGap;function g(t){return t.name}i.attr("position",[0,d.y+p[0]]);var v=new c(this._layersSeries||[],s,g,g),y={};function m(e,n,l){var c=this._layers;if("remove"!==e){for(var f,d,p,g=[],v=[],m=s[n].indices,b=0;b-1e3&&t<1e3||A.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var r=t<0?-E(-t):E(t);if(r!==t){var i=String(r),o=_.call(e,i.length+1);return w.call(i,n,"$&_")+"."+w.call(w.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(e,n,"$&_")}var B=n(6),F=B.custom,z=Z(F)?F:null;function V(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function q(t){return w.call(String(t),/"/g,""")}function H(t){return"[object Array]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function W(t){return"[object Date]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function G(t){return"[object RegExp]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function U(t){return"[object Error]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function $(t){return"[object String]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function K(t){return"[object Number]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function Y(t){return"[object Boolean]"===tt(t)&&(!D||!("object"===typeof t&&D in t))}function Z(t){if(L)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!P)return!1;try{return P.call(t),!0}catch(e){}return!1}function X(t){if(!t||"object"!==typeof t||!T)return!1;try{return T.call(t),!0}catch(e){}return!1}t.exports=function t(n,r,i,s){var l=r||{};if(J(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(J(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=!J(l,"customInspect")||l.customInspect;if("boolean"!==typeof f&&"symbol"!==f)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(J(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(J(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=l.numericSeparator;if("undefined"===typeof n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return ut(n,l);if("number"===typeof n){if(0===n)return 1/0/n>0?"0":"-0";var d=String(n);return h?j(n,d):d}if("bigint"===typeof n){var p=String(n)+"n";return h?j(n,p):p}var g="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=g&&g>0&&"object"===typeof n)return H(n)?"[Array]":"[Object]";var v=gt(l,i);if("undefined"===typeof s)s=[];else if(nt(s,n)>=0)return"[Circular]";function m(e,n,r){if(n&&(s=M.call(s),s.push(n)),r){var o={depth:l.depth};return J(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),t(e,o,i+1,s)}return t(e,l,i+1,s)}if("function"===typeof n&&!G(n)){var b=et(n),x=yt(n,m);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(x.length>0?" { "+O.call(x,", ")+" }":"")}if(Z(n)){var S=L?w.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(n);return"object"!==typeof n||L?S:ft(S)}if(lt(n)){for(var A="<"+C.call(String(n.nodeName)),E=n.attributes||[],I=0;I",A}if(H(n)){if(0===n.length)return"[]";var F=yt(n,m);return v&&!pt(F)?"["+vt(F,v)+"]":"[ "+O.call(F,", ")+" ]"}if(U(n)){var Q=yt(n,m);return"cause"in Error.prototype||!("cause"in n)||R.call(n,"cause")?0===Q.length?"["+String(n)+"]":"{ ["+String(n)+"] "+O.call(Q,", ")+" }":"{ ["+String(n)+"] "+O.call(k.call("[cause]: "+m(n.cause),Q),", ")+" }"}if("object"===typeof n&&f){if(z&&"function"===typeof n[z]&&B)return B(n,{depth:g-i});if("symbol"!==f&&"function"===typeof n.inspect)return n.inspect()}if(rt(n)){var ct=[];return a&&a.call(n,(function(t,e){ct.push(m(e,n,!0)+" => "+m(t,n))})),dt("Map",o.call(n),ct,v)}if(at(n)){var mt=[];return c&&c.call(n,(function(t){mt.push(m(t,n))})),dt("Set",u.call(n),mt,v)}if(it(n))return ht("WeakMap");if(st(n))return ht("WeakSet");if(ot(n))return ht("WeakRef");if(K(n))return ft(m(Number(n)));if(X(n))return ft(m(T.call(n)));if(Y(n))return ft(y.call(n));if($(n))return ft(m(String(n)));if("undefined"!==typeof window&&n===window)return"{ [object Window] }";if(n===e)return"{ [object globalThis] }";if(!W(n)&&!G(n)){var bt=yt(n,m),xt=N?N(n)===Object.prototype:n instanceof Object||n.constructor===Object,_t=n instanceof Object?"":"null prototype",wt=!xt&&D&&Object(n)===n&&D in n?_.call(tt(n),8,-1):_t?"Object":"",St=xt||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"",Ct=St+(wt||_t?"["+O.call(k.call([],wt||[],_t||[]),": ")+"] ":"");return 0===bt.length?Ct+"{}":v?Ct+"{"+vt(bt,v)+"}":Ct+"{ "+O.call(bt,", ")+" }"}return String(n)};var Q=Object.prototype.hasOwnProperty||function(t){return t in this};function J(t,e){return Q.call(t,e)}function tt(t){return m.call(t)}function et(t){if(t.name)return t.name;var e=x.call(b.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ut(_.call(t,0,e.maxStringLength),e)+r}var i=w.call(w.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ct);return V(i,"single",e)}function ct(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+S.call(e.toString(16))}function ft(t){return"Object("+t+")"}function ht(t){return t+" { ? }"}function dt(t,e,n,r){var i=r?vt(n,r):O.call(n,", ");return t+" ("+e+") {"+i+"}"}function pt(t){for(var e=0;e=0)return!1;return!0}function gt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=O.call(Array(t.indent+1)," ")}return{base:n,prev:O.call(Array(e+1),n)}}function vt(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+O.call(t,","+n)+"\n"+e.prev}function yt(t,e){var n=H(t),r=[];if(n){r.length=t.length;for(var i=0;i=0||i&&r.indexOf(i,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[a][0]]=l)}}return o}}t.exports=i},2848:function(t,e,n){},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("6b75");function i(t){if(Array.isArray(t))return Object(r["a"])(t)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function o(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var a=n("06c5");n("d9e2");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return i(t)||o(t)||Object(a["a"])(t)||s()}},"292e":function(t,e,n){var r=n("3842"),i=r.parsePercent,o=r.linearMap,a=n("f934"),s=n("bb70"),l=n("6d8b"),u=2*Math.PI,c=Math.PI/180;function f(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function h(t,e,n,r){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),a=f(t,n),h=t.get("center"),d=t.get("radius");l.isArray(d)||(d=[0,d]),l.isArray(h)||(h=[h,h]);var p=i(a.width,n.getWidth()),g=i(a.height,n.getHeight()),v=Math.min(p,g),y=i(h[0],p)+a.x,m=i(h[1],g)+a.y,b=i(d[0],v/2),x=i(d[1],v/2),_=-t.get("startAngle")*c,w=t.get("minAngle")*c,S=0;e.each(r,(function(t){!isNaN(t)&&S++}));var C=e.getSum(r),A=Math.PI/(C||S)*2,k=t.get("clockwise"),O=t.get("roseType"),M=t.get("stillShowZeroSum"),E=e.getDataExtent(r);E[0]=0;var T=u,I=0,P=_,L=k?1:-1;if(e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:k,cx:y,cy:m,r0:b,r:O?NaN:x,viewRect:a});else{r="area"!==O?0===C&&M?A:t*A:u/S,r0){t=new Array(arguments.length-2);for(var e=0;e=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function x(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var w=/-(\w)/g,S=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,k=_((function(t){return t.replace(A,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var E=Function.prototype.bind?M:O;function T(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function I(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n0,nt=J&&J.indexOf("edge/")>0,rt=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),it=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(Z)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Sa){}var lt=function(){return void 0===K&&(K=!Z&&!X&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),K},ut=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,ht="undefined"!==typeof Symbol&&ct(Symbol)&&"undefined"!==typeof Reflect&&ct(Reflect.ownKeys);ft="undefined"!==typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=L,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){m(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!x(i,"default"))a=!1;else if(""===a||a===k(t)){var l=te(String,i.type);(l<0||s0&&(a=Oe(a,(e||"")+"_"+n),ke(a[0])&&ke(u)&&(c[l]=wt(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?ke(u)?c[l]=wt(u.text+a):""!==a&&c.push(wt(a)):ke(a)&&ke(u)?c[l]=wt(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),c.push(a)));return c}function Me(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ee(t){var e=Te(t.$options.inject,t);e&&(Et(!1),Object.keys(e).forEach((function(n){Dt(t,n,e[n])})),Et(!0))}function Te(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=De(e,l,t[l]))}else i={};for(var u in e)u in i||(i[u]=Re(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),G(i,"$stable",a),G(i,"$key",s),G(i,"$hasNormal",o),i}function De(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ae(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Re(t,e){return function(){return t[e]}}function Ne(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Kn=function(){return Yn.now()})}function Zn(){var t,e;for($n=Kn(),Wn=!0,zn.sort((function(t,e){return t.id-e.id})),Gn=0;GnGn&&zn[n].id>t.id)n--;zn.splice(n+1,0,t)}else zn.push(t);Hn||(Hn=!0,pe(Zn))}}var er=0,nr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++er,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=$(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Sa){if(!this.user)throw Sa;ee(Sa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),mt(),this.cleanupDeps()}return t},nr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},nr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},nr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Sa){ee(Sa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:L,set:L};function ir(t,e,n){rr.get=function(){return this[e][n]},rr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,rr)}function or(t){t._watchers=[];var e=t.$options;e.props&&ar(t,e.props),e.methods&&pr(t,e.methods),e.data?sr(t):Lt(t._data={},!0),e.computed&&cr(t,e.computed),e.watch&&e.watch!==ot&&gr(t,e.watch)}function ar(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Et(!1);var a=function(o){i.push(o);var a=Zt(o,e,n,t);Dt(r,o,a),o in t||ir(t,"_props",o)};for(var s in e)a(s);Et(!0)}function sr(t){var e=t.$options.data;e=t._data="function"===typeof e?lr(e,t):e||{},c(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&x(r,o)||W(o)||ir(t,"_data",o)}Lt(e,!0)}function lr(t,e){yt();try{return t.call(e,e)}catch(Sa){return ee(Sa,e,"data()"),{}}finally{mt()}}var ur={lazy:!0};function cr(t,e){var n=t._computedWatchers=Object.create(null),r=lt();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(t,a||L,L,ur)),i in t||fr(t,i,o)}}function fr(t,e,n){var r=!lt();"function"===typeof n?(rr.get=r?hr(e):dr(n),rr.set=L):(rr.get=n.get?r&&!1!==n.cache?hr(e):dr(n.get):L,rr.set=n.set||L),Object.defineProperty(t,e,rr)}function hr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function pr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:E(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ar(t){t.mixin=function(t){return this.options=Kt(this.options,t),this}}function kr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Kt(n.options,t),a["super"]=n,a.options.props&&Or(a),a.options.computed&&Mr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=I({},a.options),i[r]=a,a}}function Or(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Mr(t){var e=t.options.computed;for(var n in e)fr(t.prototype,n,e[n])}function Er(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Tr(t){return t&&(t.Ctor.options.name||t.tag)}function Ir(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Pr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Tr(a.componentOptions);s&&!e(s)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}br(Sr),yr(Sr),En(Sr),Ln(Sr),mn(Sr);var Dr=[String,RegExp,Array],Rr={name:"keep-alive",abstract:!0,props:{include:Dr,exclude:Dr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Pr(t,(function(t){return Ir(e,t)}))})),this.$watch("exclude",(function(e){Pr(t,(function(t){return!Ir(e,t)}))}))},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var r=Tr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Ir(o,r))||a&&r&&Ir(a,r))return e;var s=this,l=s.cache,u=s.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;l[c]?(e.componentInstance=l[c].componentInstance,m(u,c),u.push(c)):(l[c]=e,u.push(c),this.max&&u.length>parseInt(this.max)&&Lr(l,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Nr={KeepAlive:Rr};function jr(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:I,mergeOptions:Kt,defineReactive:Dt},t.set=Rt,t.delete=Nt,t.nextTick=pe,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,I(t.options.components,Nr),Cr(t),Ar(t),kr(t),Er(t)}jr(Sr),Object.defineProperty(Sr.prototype,"$isServer",{get:lt}),Object.defineProperty(Sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sr,"FunctionalRenderContext",{value:Xe}),Sr.version="2.6.12";var Br=v("style,class"),Fr=v("input,textarea,option,select,progress"),zr=function(t,e,n){return"value"===n&&Fr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vr=v("contenteditable,draggable,spellcheck"),qr=v("events,caret,typing,plaintext-only"),Hr=function(t,e){return Kr(e)||"false"===e?"false":"contenteditable"===t&&qr(e)?e:"true"},Wr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Gr="http://www.w3.org/1999/xlink",Ur=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},$r=function(t){return Ur(t)?t.slice(6,t.length):""},Kr=function(t){return null==t||!1===t};function Yr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Zr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Zr(e,n.data));return Xr(e.staticClass,e.class)}function Zr(t,e){return{staticClass:Qr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Xr(t,e){return i(t)||i(e)?Qr(t,Jr(e)):""}function Qr(t,e){return t?e?t+" "+e:t:e||""}function Jr(t){return Array.isArray(t)?ti(t):l(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,n="",r=0,o=t.length;r-1?si[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:si[t]=/HTMLUnknownElement/.test(e.toString())}var ui=v("text,number,password,search,email,tel,url");function ci(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function fi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(t,e){return document.createElementNS(ni[t],e)}function di(t){return document.createTextNode(t)}function pi(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function vi(t,e){t.removeChild(e)}function yi(t,e){t.appendChild(e)}function mi(t){return t.parentNode}function bi(t){return t.nextSibling}function xi(t){return t.tagName}function _i(t,e){t.textContent=e}function wi(t,e){t.setAttribute(e,"")}var Si=Object.freeze({createElement:fi,createElementNS:hi,createTextNode:di,createComment:pi,insertBefore:gi,removeChild:vi,appendChild:yi,parentNode:mi,nextSibling:bi,tagName:xi,setTextContent:_i,setStyleScope:wi}),Ci={create:function(t,e){Ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ai(t,!0),Ai(e))},destroy:function(t){Ai(t,!0)}};function Ai(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ki=new bt("",{},[]),Oi=["create","activate","update","remove","destroy"];function Mi(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Ei(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Ei(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||ui(r)&&ui(o)}function Ti(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function Ii(t){var e,n,a={},l=t.modules,u=t.nodeOps;for(e=0;eg?(f=r(n[m+1])?null:n[m+1].elm,S(t,f,n,p,m,o)):p>m&&A(e,h,g)}function M(t,e,n,r){for(var o=n;o-1?qi(t,e,n):Wr(e)?Kr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vr(e)?t.setAttribute(e,Hr(e,n)):Ur(e)?Kr(n)?t.removeAttributeNS(Gr,$r(e)):t.setAttributeNS(Gr,e,n):qi(t,e,n)}function qi(t,e,n){if(Kr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Hi={create:zi,update:zi};function Wi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Yr(e),l=n._transitionClasses;i(l)&&(s=Qr(s,Jr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Gi,Ui={create:Wi,update:Wi},$i="__r",Ki="__c";function Yi(t){if(i(t[$i])){var e=tt?"change":"input";t[e]=[].concat(t[$i],t[e]||[]),delete t[$i]}i(t[Ki])&&(t.change=[].concat(t[Ki],t.change||[]),delete t[Ki])}function Zi(t,e,n){var r=Gi;return function i(){var o=e.apply(null,arguments);null!==o&&Ji(t,i,n,r)}}var Xi=ae&&!(it&&Number(it[1])<=53);function Qi(t,e,n,r){if(Xi){var i=$n,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Gi.addEventListener(t,e,at?{capture:n,passive:r}:n)}function Ji(t,e,n,r){(r||Gi).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Gi=e.elm,Yi(n),xe(n,i,Qi,Ji,Zi,e.context),Gi=void 0}}var eo,no={create:to,update:to};function ro(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in i(l.__ob__)&&(l=e.data.domProps=I({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML=""+o+"";var c=eo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Sa){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||ao(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Sa){}return n&&t.value!==e}function ao(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var so={create:ro,update:ro},lo=_((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function uo(t){var e=co(t.style);return t.staticStyle?I(t.staticStyle,e):e}function co(t){return Array.isArray(t)?P(t):"string"===typeof t?lo(t):t}function fo(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=uo(i.data))&&I(r,n)}(n=uo(t.data))&&I(r,n);var o=t;while(o=o.parent)o.data&&(n=uo(o.data))&&I(r,n);return r}var ho,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(k(e),n.replace(go,""),"important");else{var r=mo(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(_o).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function So(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(_o).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Co(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&I(e,Ao(t.name||"v")),I(e,t),e}return"string"===typeof t?Ao(t):void 0}}var Ao=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),ko=Z&&!et,Oo="transition",Mo="animation",Eo="transition",To="transitionend",Io="animation",Po="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Eo="WebkitTransition",To="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Io="WebkitAnimation",Po="webkitAnimationEnd"));var Lo=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Do(t){Lo((function(){Lo(t)}))}function Ro(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),wo(t,e))}function No(t,e){t._transitionClasses&&m(t._transitionClasses,e),So(t,e)}function jo(t,e,n){var r=Fo(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Oo?To:Po,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l0&&(n=Oo,c=a,f=o.length):e===Mo?u>0&&(n=Mo,c=u,f=l.length):(c=Math.max(a,u),n=c>0?a>u?Oo:Mo:null,f=n?n===Oo?o.length:l.length:0);var h=n===Oo&&Bo.test(r[Eo+"Property"]);return{type:n,timeout:c,propCount:f,hasTransform:h}}function zo(t,e){while(t.length1}function Uo(t,e){!0!==e.data.show&&qo(e)}var $o=Z?{create:Uo,activate:Uo,remove:function(t,e){!0!==t.data.show?Ho(t,e):e()}}:{},Ko=[Hi,Ui,no,so,xo,$o],Yo=Ko.concat(Fi),Zo=Ii({nodeOps:Si,modules:Yo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ia(t,"input")}));var Xo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?_e(n,"postpatch",(function(){Xo.componentUpdated(t,e,n)})):Qo(t,e,n.context),t._vOptions=[].map.call(t.options,ea)):("textarea"===n.tag||ui(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",na),t.addEventListener("compositionend",ra),t.addEventListener("change",ra),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Qo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,ea);if(i.some((function(t,e){return!N(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ta(t,i)})):e.value!==e.oldValue&&ta(e.value,i);o&&ia(t,"change")}}}};function Qo(t,e,n){Jo(t,e,n),(tt||nt)&&setTimeout((function(){Jo(t,e,n)}),0)}function Jo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(N(ea(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ta(t,e){return e.every((function(e){return!N(e,t)}))}function ea(t){return"_value"in t?t._value:t.value}function na(t){t.target.composing=!0}function ra(t){t.target.composing&&(t.target.composing=!1,ia(t.target,"input"))}function ia(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oa(t){return!t.componentInstance||t.data&&t.data.transition?t:oa(t.componentInstance._vnode)}var aa={bind:function(t,e,n){var r=e.value;n=oa(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,qo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?qo(n,(function(){t.style.display=t.__vOriginalDisplay})):Ho(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},sa={model:Xo,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ua(Sn(e.children)):t}function ca(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function fa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ha(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var pa=function(t){return t.tag||wn(t)},ga=function(t){return"show"===t.name},va={name:"transition",props:la,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var r=this.mode;0;var i=n[0];if(ha(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return fa(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(ga)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!wn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var f=c.data.transition=I({},l);if("out-in"===r)return this._leaving=!0,_e(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fa(t,i);if("in-out"===r){if(wn(o))return u;var h,d=function(){h()};_e(l,"afterEnter",d),_e(l,"enterCancelled",d),_e(f,"delayLeave",(function(t){h=t}))}}return i}}},ya=I({tag:String,moveClass:String},la);delete ya.mode;var ma={props:ya,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=In(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var r="radial"===e.type?u:l,i=r(t,e,n),o=e.colorStops,a=0;a1?arguments[1]:void 0,e.length)),r=s(t);return h?h(e,r,n):d(e,n,n+r.length)===r}})},"2cf4":function(t,e){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=0,i=n;e.debugMode=r,e.devicePixelRatio=i},"2cf49":function(t,e,n){var r,i,o,a,s=n("da84"),l=n("2ba4"),u=n("0366"),c=n("1626"),f=n("1a2d"),h=n("d039"),d=n("1be4"),p=n("f36a"),g=n("cc12"),v=n("d6d6"),y=n("1cdc"),m=n("605d"),b=s.setImmediate,x=s.clearImmediate,_=s.process,w=s.Dispatch,S=s.Function,C=s.MessageChannel,A=s.String,k=0,O={},M="onreadystatechange";try{r=s.location}catch(L){}var E=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},T=function(t){return function(){E(t)}},I=function(t){E(t.data)},P=function(t){s.postMessage(A(t),r.protocol+"//"+r.host)};b&&x||(b=function(t){v(arguments.length,1);var e=c(t)?t:S(t),n=p(arguments,1);return O[++k]=function(){l(e,void 0,n)},i(k),k},x=function(t){delete O[t]},m?i=function(t){_.nextTick(T(t))}:w&&w.now?i=function(t){w.now(T(t))}:C&&!y?(o=new C,a=o.port2,o.port1.onmessage=I,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!h(P)?(i=P,s.addEventListener("message",I,!1)):i=M in g("script")?function(t){d.appendChild(g("script"))[M]=function(){d.removeChild(this),E(t)}}:function(t){setTimeout(T(t),0)}),t.exports={set:b,clear:x}},"2cfc":function(t,e,n){var r=n("3eba");n("4338"),n("bcbe"),n("c62c"),n("cb8f"),n("f138"),r.extendComponentView({type:"single"})},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(r=c.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},"2db9":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.bezierCurveToPolyline=b,e.getBezierCurveLength=x,e["default"]=void 0;var i=r(n("278c")),o=r(n("448a")),a=Math.sqrt,s=Math.pow,l=Math.ceil,u=Math.abs,c=50;function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=t.length-1,r=t[0],i=t[n][2],a=t.slice(1),s=a.map((function(t,e){var n=0===e?r:a[e-1][2];return h.apply(void 0,[n].concat((0,o["default"])(t)))})),l=new Array(n).fill(c),u=v(s,l),f=m(u,s,a,e);return f.segmentPoints.push(i),f}function h(t,e,n,r){return function(i){var o=1-i,a=s(o,3),l=s(o,2),u=s(i,3),c=s(i,2);return[t[0]*a+3*e[0]*i*l+3*n[0]*c*o+r[0]*u,t[1]*a+3*e[1]*i*l+3*n[1]*c*o+r[1]*u]}}function d(t,e){var n=(0,i["default"])(t,2),r=n[0],o=n[1],l=(0,i["default"])(e,2),u=l[0],c=l[1];return a(s(r-u,2)+s(o-c,2))}function p(t){return t.reduce((function(t,e){return t+e}),0)}function g(t){return t.map((function(t,e){return new Array(t.length-1).fill(0).map((function(e,n){return d(t[n],t[n+1])}))}))}function v(t,e){return t.map((function(t,n){var r=1/e[n];return new Array(e[n]).fill("").map((function(e,n){return t(n*r)}))}))}function y(t,e){return t.map((function(t){return t.map((function(t){return u(t-e)}))})).map((function(t){return p(t)})).reduce((function(t,e){return t+e}),0)}function m(t,e,n,r){var i=4,o=1,a=function(){var a=t.reduce((function(t,e){return t+e.length}),0);t.forEach((function(t,e){return t.push(n[e][2])}));var s=g(t),u=s.reduce((function(t,e){return t+e.length}),0),c=s.map((function(t){return p(t)})),f=p(c),h=f/u,d=y(s,h);if(d<=r)return"break";a=l(h/r*a*1.1);var m=c.map((function(t){return l(t/f*a)}));t=v(e,m),a=t.reduce((function(t,e){return t+e.length}),0);var b=JSON.parse(JSON.stringify(t));b.forEach((function(t,e){return t.push(n[e][2])})),s=g(b),u=s.reduce((function(t,e){return t+e.length}),0),c=s.map((function(t){return p(t)})),f=p(c),h=f/u;var x=1/a/10;e.forEach((function(e,n){for(var r=m[n],o=new Array(r).fill("").map((function(t,e){return e/m[n]})),a=0;a1&&(o[c]=1),o[c]<0&&(o[c]=0),t[n][c]=e(o[c])}})),i*=4,o++};do{var s=a();if("break"===s)break}while(i<=1025);return t=t.reduce((function(t,e){return t.concat(e)}),[]),{segmentPoints:t,cycles:o,rounds:i}}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!t)return console.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(t instanceof Array))return console.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof e)return console.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var n=f(t,e),r=n.segmentPoints;return r}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!t)return console.error("getBezierCurveLength: Missing parameters!"),!1;if(!(t instanceof Array))return console.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof e)return console.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var n=f(t,e),r=n.segmentPoints,i=g([r])[0],o=p(i);return o}var _=b;e["default"]=_},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f31":function(t,e,n){var r=n("3eba"),i=n("ae75");n("10cc"),n("f31f"),n("c2dd"),n("b8ec"),n("fecb"),r.registerPreprocessor(i)},"2f45":function(t,e,n){var r=n("6d8b"),i=r.each,o=r.createHashMap,a=(r.assert,n("4e08")),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},n=e.encode={},r=o(),a=[],l=[],c=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};i(t.dimensions,(function(e){var i=t.getDimensionInfo(e),o=i.coordDim;if(o){var h=i.coordDimIndex;u(n,o)[h]=e,i.isExtraCoord||(r.set(o,1),f(i.type)&&(a[0]=e),u(c.encode,o)[h]=i.index),i.defaultTooltip&&l.push(e)}s.each((function(t,e){var r=u(n,e),o=i.otherDims[e];null!=o&&!1!==o&&(r[o]=i.name)}))}));var h=[],d={};r.each((function(t,e){var r=n[e];d[e]=r[0],h=h.concat(r)})),e.dataDimsOnCoord=h,e.encodeFirstDimNotExtra=d;var p=n.label;p&&p.length&&(a=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,e}function u(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function c(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function f(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=c},"2f62":function(t,e,n){"use strict";(function(t){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return R})),n.d(e,"c",(function(){return L}));var i="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=l(t[n],e)})),r}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function c(t){return null!==t&&"object"===typeof t}function f(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){u(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var g=function(t){this.register([],t,!1)};function v(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;v(t.concat(r),e.getChild(r),n.modules[r])}}g.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},g.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},g.prototype.update=function(t){v([],this.root,t)},g.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new d(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&u(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},g.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},g.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var y;var m=function(t){var e=this;void 0===t&&(t={}),!y&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new g(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return l.call(i,t,e,n)},this.strict=r;var u=this._modules.root.state;S(this,u,[],this._modules.root),w(this,u),n.forEach((function(t){return t(e)}));var c=void 0!==t.devtools?t.devtools:y.config.devtools;c&&a(this)},b={state:{configurable:!0}};function x(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,o={};u(i,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=y.config.silent;y.config.silent=!0,t._vm=new y({data:{$$state:e},computed:o}),y.config.silent=a,t.strict&&E(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),y.nextTick((function(){return r.$destroy()})))}function S(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=T(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){y.set(s,l,r.state)}))}var u=r.context=C(t,a,n);r.forEachMutation((function(e,n){var r=a+n;k(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;O(t,r,i,u)})),r.forEachGetter((function(e,n){var r=a+n;M(t,r,e,u)})),r.forEachChild((function(r,o){S(t,e,n.concat(o),r,i)}))}function C(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=I(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:r?t.commit:function(n,r,i){var o=I(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return A(t,e)}},state:{get:function(){return T(t.state,n)}}}),i}function A(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function k(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function O(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return f(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function M(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function E(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.reduce((function(t,e){return t[e]}),t)}function I(t,e,n){return c(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){y&&t===y||(y=t,r(y))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},m.prototype.commit=function(t,e,n){var r=this,i=I(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},m.prototype.dispatch=function(t,e){var n=this,r=I(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},m.prototype.subscribe=function(t,e){return x(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return x(n,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=T(e.state,t.slice(0,-1));y.delete(n,t[t.length-1])})),_(this)},m.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},m.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,b);var L=z((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=V(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),D=z((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=V(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),R=z((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||V(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),N=z((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=V(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),j=function(t){return{mapState:L.bind(null,t),mapGetters:R.bind(null,t),mapMutations:D.bind(null,t),mapActions:N.bind(null,t)}};function B(t){return F(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function F(t){return Array.isArray(t)||c(t)}function z(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function V(t,e,n){var r=t._modulesNamespaceMap[n];return r}function q(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var i=t.mutationTransformer;void 0===i&&(i=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var f=l(t.state);"undefined"!==typeof c&&(s&&t.subscribe((function(t,o){var a=l(o);if(n(t,f,a)){var s=G(),u=i(t),h="mutation "+t.type+s;H(c,h,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),W(c)}f=a})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var r=G(),i=a(t),s="action "+t.type+r;H(c,s,e),c.log("%c action","color: #03A9F4; font-weight: bold",i),W(c)}})))}}function H(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(i){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function G(){var t=new Date;return" @ "+$(t.getHours(),2)+":"+$(t.getMinutes(),2)+":"+$(t.getSeconds(),2)+"."+$(t.getMilliseconds(),3)}function U(t,e){return new Array(e+1).join(t)}function $(t,e){return U("0",e-t.toString().length)+t}var K={Store:m,install:P,version:"3.6.2",mapState:L,mapMutations:D,mapGetters:R,mapActions:N,createNamespacedHelpers:j,createLogger:q};e["a"]=K}).call(this,n("c8ba"))},"2f73":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("1e32");n("1ccf"),n("f5e6"),n("792e"),n("cb8f"),n("6acf"),r.registerLayout(i.curry(o,"bar")),r.extendComponentView({type:"polar"})},"2f91":function(t,e){var n=["itemStyle","borderColor"];function r(t,e){var r=t.get("color");t.eachRawSeriesByType("boxplot",(function(e){var i=r[e.seriesIndex%r.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(n)||i}),t.isSeriesFiltered(e)||o.each((function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(n,!0)})}))}))}t.exports=r},"2f9a":function(t,e){t.exports=function(){}},"2fae":function(t,e,n){"use strict";function r(t){var e=this;if(e instanceof r||(e=new r),e.tail=null,e.head=null,e.length=0,t&&"function"===typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n1)n=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=t(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(t,e){var n,r=this.tail;if(arguments.length>1)n=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=t(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var t=new Array(this.length),e=0,n=this.head;null!==n;e++)t[e]=n.value,n=n.next;return t},r.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,n=this.tail;null!==n;e++)t[e]=n.value,n=n.prev;return t},r.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var n=new r;if(ethis.length&&(e=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(e=this.length);for(var i=this.length,o=this.tail;null!==o&&i>e;i--)o=o.prev;for(;null!==o&&i>t;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(t,e,...n){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var r=0,o=this.head;null!==o&&r=4&&(u={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(u&&null!=a&&null!=l&&(c=z(u,a,l),!e.ignoreViewBox)){var d=i;i=new r,i.add(d),d.scale=c.scale.slice(),d.position=c.position.slice()}return e.ignoreRootClip||null==a||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:i,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},k.prototype._parseNode=function(t,e){var n,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){var i=M[r];if(i){var o=i.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else{i=O[r];i&&(n=i.call(this,t,e),e.add(n))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},k.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new o({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});T(e,i),L(t,i,this._defs);var a=i.style.fontSize;a&&a<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=a/9,i.scale[1]*=a/9);var s=i.getBoundingRect();return this._textX+=s.width,e.add(i),i};var O={g:function(t,e){var n=new r;return T(e,n),L(t,n,this._defs),n},rect:function(t,e){var n=new s;return T(e,n),L(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return T(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return T(e,n),L(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return T(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=I(n));var r=new f({shape:{points:n||[]}});return T(e,r),L(t,r,this._defs),r},polyline:function(t,e){var n=new c;T(e,n),L(t,n,this._defs);var r=t.getAttribute("points");r&&(r=I(r));var i=new h({shape:{points:r||[]}});return i},image:function(t,e){var n=new i;return T(e,n),L(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,i=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var s=new r;return T(e,s),L(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,s=new r;return T(e,s),L(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",r=y(n);return T(e,r),L(t,r,this._defs),r}},M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),r=parseInt(t.getAttribute("x2")||10,10),i=parseInt(t.getAttribute("y2")||0,10),o=new d(e,n,r,i);return E(t,o),o},radialgradient:function(t){}};function E(t,e){var n=t.firstChild;while(n){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";e.addColorStop(r,i)}n=n.nextSibling}}function T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function I(t){for(var e=w(t).split(C),n=[],r=0;r0;o-=2){var a=i[o],s=i[o-1];switch(r=r||g.create(),s){case"translate":a=w(a).split(C),g.translate(r,r,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=w(a).split(C),g.scale(r,r,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=w(a).split(C),g.rotate(r,r,parseFloat(a[0]));break;case"skew":a=w(a).split(C),console.warn("Skew transform is not supported yet");break;case"matrix":a=w(a).split(C);r[0]=parseFloat(a[0]),r[1]=parseFloat(a[1]),r[2]=parseFloat(a[2]),r[3]=parseFloat(a[3]),r[4]=parseFloat(a[4]),r[5]=parseFloat(a[5]);break}}e.setLocalTransform(r)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t){var e=t.getAttribute("style"),n={};if(!e)return n;var r,i={};B.lastIndex=0;while(null!=(r=B.exec(e)))i[r[1]]=r[2];for(var o in P)P.hasOwnProperty(o)&&null!=i[o]&&(n[P[o]]=i[o]);return n}function z(t,e,n){var r=e/t.width,i=n/t.height,o=Math.min(r,i),a=[o,o],s=[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2];return{scale:a,position:s}}function V(t,e){var n=new k;return n.parse(t,e)}e.parseXML=A,e.makeViewBoxTransform=z,e.parseSVG=V},"307a":function(t,e,n){var r=n("6d8b"),i=n("eaea"),o=n("3842"),a=[20,140],s=i.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=a[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=a[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):r.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,u=e.length;a=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(y,20))),g.coord[d]=v.coord[d]=u,i=[g,v,{type:s,valueIndex:i.valueIndex,value:u}]}return i=[a.dataTransform(t,i[0]),a.dataTransform(t,i[1]),r.extend({},i[2])],i[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,r){var i=1-t,o=r.dimensions[t];return h(e[i])&&h(n[i])&&e[t]===n[t]&&r.getAxis(o).containData(e[t])}function p(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(d(1,n,r,t)||d(0,n,r,t)))return!0}return a.dataFilter(t,e[0])&&a.dataFilter(t,e[1])}function g(t,e,n,r,i){var a,s=r.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get("x"),i.getWidth()),c=o.parsePercent(l.get("y"),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var f=s.dimensions,d=t.get(f[0],e),p=t.get(f[1],e);a=s.dataToPoint([d,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");f=s.dimensions;h(t.get(f[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):h(t.get(f[1],e))&&(a[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];t.setItemLayout(e,a)}var v=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var r=e.getData(),i=e.__from,o=e.__to;i.each((function(e){g(i,e,!0,t,n),g(o,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,n,i){var o=t.coordinateSystem,a=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(a)||u.set(a,new s);this.group.add(c.group);var f=y(o,t,e),h=f.from,d=f.to,p=f.line;e.__from=h,e.__to=d,e.setData(p);var v=e.get("symbol"),m=e.get("symbolSize");function b(e,n,r){var o=e.getItemModel(n);g(e,n,r,t,i),e.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||m[r?0:1],symbol:o.get("symbol",!0)||v[r?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}r.isArray(v)||(v=[v,v]),"number"===typeof m&&(m=[m,m]),f.from.each((function(t){b(h,t,!0),b(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).get("lineStyle.color");p.setItemVisual(t,{color:e||h.getItemVisual(t,"color")}),p.setItemLayout(t,[h.getItemLayout(t),d.getItemLayout(t)]),p.setItemVisual(t,{fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol")})})),c.updateData(p),f.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function y(t,e,n){var o;o=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var s=new i(o,n),l=new i(o,n),u=new i([],n),c=r.map(n.get("data"),r.curry(f,e,t,n));t&&(c=r.filter(c,r.curry(p,t)));var h=t?a.dimValueGetter:function(t){return t.value};return s.initData(r.map(c,(function(t){return t[0]})),null,h),l.initData(r.map(c,(function(t){return t[1]})),null,h),u.initData(r.map(c,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}t.exports=v},"30a3":function(t,e,n){var r=n("6d8b"),i=n("607d"),o=i.Dispatcher,a=n("98b7"),s=n("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n
'};function n(t,e,n){return tn?n:t}function r(t){return 100*(-1+t)}function i(t,n,i){var o;return o="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"},o.transition="all "+n+"ms "+i,o}t.configure=function(t){var n,r;for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(r){var s=t.isStarted();r=n(r,e.minimum,1),t.status=1===r?null:r;var l=t.render(!s),u=l.querySelector(e.barSelector),c=e.speed,f=e.easing;return l.offsetWidth,o((function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),a(u,i(r,c,f)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),c)}),c)):setTimeout(n,c)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout((function(){t.status&&(t.trickle(),n())}),e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!==typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){n--,0===n?(e=0,t.done()):t.set((e-n)/e)})),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=e.template;var o,s=i.querySelector(e.barSelector),u=n?"-100":r(t.status||0),c=document.querySelector(e.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),e.showSpinner||(o=i.querySelector(e.spinnerSelector),o&&f(o)),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(i),i},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var o=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),a=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;var r,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);while(i--)if(r=t[i]+o,r in n)return r;return e}function i(t){return t=n(t),e[t]||(e[t]=r(t))}function o(t,e,n){e=i(e),t.style[e]=n}return function(t,e){var n,r,i=arguments;if(2==i.length)for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&o(t,n,r);else o(t,i[1],i[2])}}();function s(t,e){var n="string"==typeof t?t:c(t);return n.indexOf(" "+e+" ")>=0}function l(t,e){var n=c(t),r=n+e;s(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=c(t);s(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function c(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t}))},"32a1":function(t,e,n){var r=n("6d8b"),i=n("7dcf"),o=n("ef6a"),a=n("5576"),s=r.bind,l=i.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,n,i){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),r.each(this.getTargetCoordInfo(),(function(e,i){var o=r.map(e,(function(t){return a.generateCoordId(t.model)}));r.each(e,(function(e){var l=e.model,c={};r.each(["pan","zoom","scrollMove"],(function(t){c[t]=s(u[t],this,e,i)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(t,e,n){return l.coordinateSystem.containPoint([e,n])},dataZoomId:t.id,dataZoomModel:t,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,n,r){var i=this._range,a=i.slice(),s=t.axisModels[0];if(s){var l=f[e](null,[r.originX,r.originY],s,n,t),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,h.minSpan,h.maxSpan),this._range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}},pan:c((function(t,e,n,r,i,o){var a=f[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:c((function(t,e,n,r,i,o){var a=f[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function c(t){return function(e,n,r,i){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,n,r,i);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var f={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},h=l;t.exports=h},"32c3":function(t,e,n){"use strict";var r;function i(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var o=n("e142").codes,a=o.ERR_MISSING_ARGS,s=o.ERR_STREAM_DESTROYED;function l(t){if(t)throw t}function u(t){return t.setHeader&&"function"===typeof t.abort}function c(t,e,o,a){a=i(a);var l=!1;t.on("close",(function(){l=!0})),void 0===r&&(r=n("ddda")),r(t,{readable:e,writable:o},(function(t){if(t)return a(t);l=!0,a()}));var c=!1;return function(e){if(!l&&!c)return c=!0,u(t)?t.abort():"function"===typeof t.destroy?t.destroy():void a(e||new s("pipe"))}}function f(t){t()}function h(t,e){return t.pipe(e)}function d(t){return t.length?"function"!==typeof t[t.length-1]?l:t.pop():l}function p(){for(var t=arguments.length,e=new Array(t),n=0;n0;return c(t,a,s,(function(t){r||(r=t),t&&o.forEach(f),a||(o.forEach(f),i(r))}))}));return e.reduce(h)}t.exports=p},3301:function(t,e,n){var r=n("6d8b"),i=n("6179"),o=n("b1d4"),a=n("93d0"),s=a.SOURCE_FORMAT_ORIGINAL,l=n("2f45"),u=l.getDimensionTypeByAxis,c=n("e0d3"),f=c.getDataItemValue,h=n("2039"),d=n("8b7f"),p=d.getCoordSysInfoBySeries,g=n("ec6f"),v=n("ee1a"),y=v.enableDataStack,m=n("0f99"),b=m.makeSeriesEncodeForAxisCoordSys;function x(t,e,n){n=n||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var a,s=e.get("coordinateSystem"),l=h.get(s),c=p(e);c&&(a=r.map(c.coordSysDims,(function(t){var e={name:t},n=c.axisMap.get(t);if(n){var r=n.get("type");e.type=u(r)}return e}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var f,d,v=o(t,{coordDimensions:a,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(b,a,e):null});c&&r.each(v,(function(t,e){var n=t.coordDim,r=c.categoryAxisMap.get(n);r&&(null==f&&(f=e),t.ordinalMeta=r.getOrdinalMeta()),null!=t.otherDims.itemName&&(d=!0)})),d||null==f||(v[f].otherDims.itemName=0);var m=y(e,v),x=new i(v,e);x.setCalculationInfo(m);var w=null!=f&&_(t)?function(t,e,n,r){return r===f?n:this.defaultDimValueGetter(t,e,n,r)}:null;return x.hasItemOption=!1,x.initData(t,null,w),x}function _(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!r.isArray(f(e))}}function w(t){var e=0;while(ethis.length||t<0)return;const e=this._offset(t);return this._bufs[e[0]][e[1]]},o.prototype.slice=function(t,e){return"number"===typeof t&&t<0&&(t+=this.length),"number"===typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},o.prototype.copy=function(t,e,n,i){if(("number"!==typeof n||n<0)&&(n=0),("number"!==typeof i||i>this.length)&&(i=this.length),n>=this.length)return t||r.alloc(0);if(i<=0)return t||r.alloc(0);const o=!!t,a=this._offset(n),s=i-n;let l=s,u=o&&e||0,c=a[1];if(0===n&&i===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:r.concat(this._bufs,this.length);for(let e=0;ee)){this._bufs[r].copy(t,u,c,c+l),u+=e;break}this._bufs[r].copy(t,u,c),u+=e,l-=e,c&&(c=0)}return t.length>u?t.slice(0,u):t},o.prototype.shallowSlice=function(t,e){if(t=t||0,e="number"!==typeof e?this.length:e,t<0&&(t+=this.length),e<0&&(e+=this.length),t===e)return this._new();const n=this._offset(t),r=this._offset(e),i=this._bufs.slice(n[0],r[0]+1);return 0===r[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,r[1]),0!==n[1]&&(i[0]=i[0].slice(n[1])),this._new(i)},o.prototype.toString=function(t,e,n){return this.slice(e,n).toString(t)},o.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;while(this._bufs.length){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},o.prototype.duplicate=function(){const t=this._new();for(let e=0;ethis.length?this.length:e;const i=this._offset(e);let o=i[0],a=i[1];for(;o=t.length){const n=e.indexOf(t,a);if(-1!==n)return this._reverseOffset([o,n]);a=e.length-t.length+1}else{const e=this._reverseOffset([o,a]);if(this._match(e,t))return e;a++}}a=0}return-1},o.prototype._match=function(t,e){if(this.length-t0?1:a<0?-1:0}function b(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function x(t,e,n,r,o,a,s,l,c,f){var h=c.valueDim,d=c.categoryDim,p=Math.abs(n[d.wh]),g=t.getItemVisual(e,"symbolSize");i.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[d.index]=u(g[d.index],p),g[h.index]=u(g[h.index],r?p:Math.abs(a)),f.symbolSize=g;var v=f.symbolScale=[g[0]/l,g[1]/l];v[h.index]*=(c.isHorizontal?-1:1)*s}function _(t,e,n,r,i){var o=t.get(d)||0;o&&(g.attr({scale:e.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o}function w(t,e,n,r,o,a,s,l,f,h,d,p){var g=d.categoryDim,v=d.valueDim,y=p.pxSign,m=Math.max(e[v.index]+l,0),b=m;if(r){var x=Math.abs(f),_=i.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;_.lastIndexOf("!")===_.length-1&&(w=!0,_=_.slice(0,_.length-1)),_=u(_,e[v.index]);var S=Math.max(m+2*_,0),C=w?0:2*_,A=c(r),k=A?r:F((x+C)/S),O=x-k*m;_=O/2/(w?k:k-1),S=m+2*_,C=w?0:2*_,A||"fixed"===r||(k=h?F((Math.abs(h)+C)/S):0),b=k*S-C,p.repeatTimes=k,p.symbolMargin=_}var M=y*(b/2),E=p.pathPosition=[];E[g.index]=n[g.wh]/2,E[v.index]="start"===s?M:"end"===s?f-M:f/2,a&&(E[0]+=a[0],E[1]+=a[1]);var T=p.bundlePosition=[];T[g.index]=n[g.xy],T[v.index]=n[v.xy];var I=p.barRectShape=i.extend({},n);I[v.wh]=y*Math.max(Math.abs(n[v.wh]),Math.abs(E[v.index]+M)),I[g.wh]=n[g.wh];var P=p.clipShape={};P[g.xy]=-n[g.xy],P[g.wh]=d.ecSize[g.wh],P[v.xy]=0,P[v.wh]=n[v.wh]}function S(t){var e=t.symbolPatternSize,n=s(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function C(t,e,n,r){var i=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,f=o[e.valueDim.index]+a+2*n.symbolMargin;for(N(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:r<0)&&(i=u-1-t),e[l.index]=f*(i-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){N(t,(function(t){t.trigger("emphasis")}))}function v(){N(t,(function(t){t.trigger("normal")}))}}function A(t,e,n,r){var i=t.__pictorialBundle,o=t.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?j(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(o=t.__pictorialMainPath=S(n),i.add(o),j(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),o.on("mouseover",a).on("mouseout",s)),I(o,n)}function k(t,e,n){var r=i.extend({},e.barRectShape),a=t.__pictorialBarRect;a?j(a,null,{shape:r},e,n):(a=t.__pictorialBarRect=new o.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function O(t,e,n,r){if(n.symbolClip){var a=t.__pictorialClipPath,s=i.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var f={};f[l.wh]=n.clipShape[l.wh],o[r?"updateProps":"initProps"](a,{shape:f},u,c)}}}function M(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=E,n.isAnimationEnabled=T,n}function E(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function T(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function I(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function P(t,e,n,r){var i=new o.Group,a=new o.Group;return i.add(a),i.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?C(i,e,n):A(i,e,n),k(i,n,r),O(i,e,n,r),i.__pictorialShapeStr=R(t,n),i.__pictorialSymbolMeta=n,i}function L(t,e,n){var r=n.animationModel,i=n.dataIndex,a=t.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},r,i),n.symbolRepeat?C(t,e,n,!0):A(t,e,n,!0),k(t,n,!0),O(t,e,n,!0)}function D(t,e,n,r){var a=r.__pictorialBarRect;a&&(a.style.text=null);var s=[];N(r,(function(t){s.push(t)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(t){o.updateProps(t,{scale:[0,0]},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function R(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,n){i.each(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function j(t,e,n,r,i,a){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&o[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function B(t,e,n){var r=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(t,(function(t){t.setColor(r),t.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),o.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=n.z2}));var f={},d=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;h(p.style,f,s,r,e.seriesModel,a,d),o.setHoverStyle(p,f)}function F(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var z=v;t.exports=z},"335d":function(t,e,n){},3397:function(t,e,n){var r=n("7a41");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3409:function(t,e,n){e.parser=n("1fad").parser,e.generate=n("7f0f"),e.writeToStream=n("7135")},"340d":function(t,e,n){var r=n("6d8b"),i=n("e887"),o=n("4e47"),a=n("80f0"),s=n("eda2"),l=s.windowOpen,u="sunburstRootToNode",c=i.extend({type:"sunburst",init:function(){},render:function(t,e,n,i){var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),f=this.group,h=t.get("renderLabelForZeroData"),d=[];c.eachNode((function(t){d.push(t)}));var p=this._oldChildren||[];if(y(d,p),x(u,c),i&&i.highlight&&i.highlight.piece){var g=t.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(g)}else if(i&&i.unhighlight){var v=this.virtualPiece;!v&&u.children.length&&(v=u.children[0].piece),v&&v.onNormal()}function y(t,e){function n(t){return t.getId()}function i(n,r){var i=null==n?null:t[n],o=null==r?null:e[r];m(i,o)}0===t.length&&0===e.length||new a(e,t,n,n).add(i).update(i).remove(r.curry(i,null)).execute()}function m(n,r){if(h||!n||n.getValue()||(n=null),n!==u&&r!==u)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",t,e),l.setItemGraphicEl(n.dataIndex,r.piece)):b(r);else if(n){var i=new o(n,t,e);f.add(i),l.setItemGraphicEl(n.dataIndex,i)}}function b(t){t&&t.piece&&(f.remove(t.piece),t.piece=null)}function x(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new o(n,t,e),f.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(t){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(f.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=d},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1,r=t.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";l(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData(),r=n.getItemLayout(0);if(r){var i=t[0]-r.cx,o=t[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}}}),f=c;t.exports=f},3410:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177"),l=i((function(){a(1)}));r({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"342d":function(t,e,n){var r=n("cbe5"),i=n("20c8"),o=n("ee84"),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},f=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},h=function(t,e){return(t[0]*e[1]1&&(c*=a(x),d*=a(x));var _=(i===o?-1:1)*a((c*c*(d*d)-c*c*(b*b)-d*d*(m*m))/(c*c*(b*b)+d*d*(m*m)))||0,w=_*c*b/d,S=_*-d*m/c,C=(t+n)/2+l(y)*w-s(y)*S,A=(e+r)/2+s(y)*w+l(y)*S,k=h([1,0],[(m-w)/c,(b-S)/d]),O=[(m-w)/c,(b-S)/d],M=[(-1*m-w)/c,(-1*b-S)/d],E=h(O,M);f(O,M)<=-1&&(E=u),f(O,M)>=1&&(E=0),0===o&&E>0&&(E-=2*u),1===o&&E<0&&(E+=2*u),v.addData(g,C,A,c,d,k,E,y,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new i;for(var e,n=0,r=0,o=n,a=r,s=new i,l=i.CMD,u=t.match(p),c=0;c=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:m/2},h="vertical"===r?i.height:i.width,d=t.getModel("controlStyle"),p=d.get("show",!0),g=p?d.get("itemSize"):0,v=p?d.get("itemGap"):0,y=g+v,b=t.get("label.rotate")||0;b=b*m/180;var _=d.get("position",!0),w=p&&d.get("showPlayBtn",!0),S=p&&d.get("showPrevBtn",!0),C=p&&d.get("showNextBtn",!0),A=0,k=h;return"left"===_||"bottom"===_?(w&&(o=[0,0],A+=y),S&&(a=[A,0],A+=y),C&&(s=[k-g,0],k-=y)):(w&&(o=[k-g,0],k-=y),S&&(a=[0,0],A+=y),C&&(s=[k-g,0],k-=y)),l=[A,k],t.get("inverse")&&l.reverse(),{viewRect:i,mainLength:h,orient:r,rotation:f[r],labelRotation:b,labelPosOpt:n,labelAlign:t.get("label.align")||u[r],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[r],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:v}},_position:function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var a=o.create(),s=i.x,l=i.y+i.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-m/2),o.translate(a,a,[s,l]),i=i.clone(),i.applyTransform(a)}var u=y(i),c=y(n.getBoundingRect()),f=y(r.getBoundingRect()),h=n.position,d=r.position;d[0]=h[0]=u[0][0];var p=t.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;b(h,c,u,1,g),b(d,f,u,1,1-g)}else{g=p>=0?0:1;b(h,c,u,1,g),d[1]=h[1]+p}function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function b(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}n.attr("position",h),r.attr("position",d),n.rotation=r.rotation=t.rotation,v(n),v(r)},_createAxis:function(t,e){var n=e.getData(),r=e.get("axisType"),i=h.createScaleByModel(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.niceTicks();var a=new u("value",i,t.axisExtent,r);return a.model=e,a},_createGroup:function(t){var e=this["_"+t]=new a.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,i){var o=n.getExtent();i.get("lineStyle.show")&&e.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var i=r.getData(),o=n.scale.getTicks();y(o,(function(t){var o=n.dataToCoord(t),s=i.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:v(this._changeTimeline,this,t)},f=w(s,l,e,c);a.setHoverStyle(f,u.getItemStyle()),s.get("tooltip")?(f.dataIndex=t,f.dataModel=r):f.dataIndex=f.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){var i=n.getLabelModel();if(i.get("show")){var o=r.getData(),s=n.getViewLabels();y(s,(function(r){var i=r.tickValue,s=o.getItemModel(i),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(r.tickValue),f=new a.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:v(this._changeTimeline,this,i),silent:!1});a.setTextStyle(f.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(f),a.setHoverStyle(f,a.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,r){var i=t.controlSize,o=t.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-i/2,i,i],c=r.getPlayState(),f=r.get("inverse",!0);function h(t,n,c,f){if(t){var h={position:t,origin:[i/2,0],rotation:f?-o:0,rectHover:!0,style:s,onclick:c},d=_(r,n,u,h);e.add(d),a.setHoverStyle(d,l)}}h(t.nextBtnPosition,"controlStyle.nextIcon",v(this._changeTimeline,this,f?"-":"+")),h(t.prevBtnPosition,"controlStyle.prevIcon",v(this._changeTimeline,this,f?"+":"-")),h(t.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),v(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(t,e,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=v(s._handlePointerDrag,s),t.ondragend=v(s._handlePointerDragend,s),S(t,o,n,r,!0)},onUpdate:function(t){S(t,o,n,r)}};this._currentPointer=w(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],r=this._axis,i=d.asc(r.getExtent().slice());n>i[1]&&(n=i[1]),n=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)}function a(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}}function s(){let t;try{t=e.storage.getItem("debug")}catch(n){}return!t&&"undefined"!==typeof r&&"env"in r&&(t=Object({NODE_ENV:"production",VUE_APP_BAI_DU_AK:"nAtaBg9FYzav6c8P9rF9qzsWZfT8O0PD",VUE_APP_BASE_API:"/prod-api",VUE_APP_MQTT_SERVER_URL:"",VUE_APP_TITLE:"FastBee物联网系统",BASE_URL:"/"}).DEBUG),t}function l(){try{return localStorage}catch(t){}}e.formatArgs=o,e.save=a,e.load=s,e.useColors=i,e.storage=l(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n("dc90")(e);const{formatters:u}=t.exports;u.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("4362"))},3511:function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},3529:function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266"),u=n("5eed");r({target:"Promise",stat:!0,forced:u},{race:function(t){var e=this,n=a.f(e),r=n.reject,u=s((function(){var a=o(e.resolve);l(t,(function(t){i(a,e,t).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},"357d":function(t,e,n){},"35a1":function(t,e,n){var r=n("f5df"),i=n("dc4a"),o=n("7234"),a=n("3f8c"),s=n("b622"),l=s("iterator");t.exports=function(t){if(!o(t))return i(t,l)||i(t,"@@iterator")||a[r(t)]}},3648:function(t,e,n){},3790:function(t,e,n){var r=n("3a56"),i=r.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),o=i;t.exports=o},"37e8":function(t,e,n){var r=n("83ab"),i=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),l=n("df75");e.f=r&&!i?Object.defineProperties:function(t,e){a(t);var n,r=s(e),i=l(e),u=i.length,c=0;while(u>c)o.f(t,n=i[c++],r[n]);return t}},3835:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return s}));n("a4d3"),n("e01a"),n("d28b"),n("14d9"),n("d3b7"),n("3ca3"),n("ddb0");function i(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}}var o=n("06c5");n("d9e2");function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){return r(t)||i(t,e)||Object(o["a"])(t,e)||a()}},3842:function(t,e,n){var r=n("6d8b"),i=1e-4;function o(t){return t.replace(/^\s+|\s+$/g,"")}function a(t,e,n,r){var i=e[1]-e[0],o=n[1]-n[0];if(0===i)return 0===o?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/i*o+n[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?o(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function f(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var i=e.indexOf(".");return i<0?0:e.length-1-i}function h(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function d(t,e,n){if(!t[e])return 0;var i=r.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;var o=Math.pow(10,n),a=r.map(t,(function(t){return(isNaN(t)?0:t)/i*o*100})),s=100*o,l=r.map(a,(function(t){return Math.floor(t)})),u=r.reduce(l,(function(t,e){return t+e}),0),c=r.map(a,(function(t,e){return t-l[e]}));while(uf&&(f=c[d],h=d);++l[h],c[h]=0,++u}return l[e]/o}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-i&&t=10&&e++,e}function _(t,e){var n,r=x(t),i=Math.pow(10,r),o=t/i;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*i,r>=-20?+t.toFixed(r<0?-r:0):t}function w(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r=0}e.linearMap=a,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=f,e.getPixelPrecision=h,e.getPercentWithPrecision=d,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=v,e.parseDate=m,e.quantity=b,e.quantityExponent=x,e.nice=_,e.quantile=w,e.reformIntervals=S,e.isNumeric=C},"386b":function(t,e,n){"use strict";var r;function i(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var o=n("9bfc").codes,a=o.ERR_MISSING_ARGS,s=o.ERR_STREAM_DESTROYED;function l(t){if(t)throw t}function u(t){return t.setHeader&&"function"===typeof t.abort}function c(t,e,o,a){a=i(a);var l=!1;t.on("close",(function(){l=!0})),void 0===r&&(r=n("bf09")),r(t,{readable:e,writable:o},(function(t){if(t)return a(t);l=!0,a()}));var c=!1;return function(e){if(!l&&!c)return c=!0,u(t)?t.abort():"function"===typeof t.destroy?t.destroy():void a(e||new s("pipe"))}}function f(t){t()}function h(t,e){return t.pipe(e)}function d(t){return t.length?"function"!==typeof t[t.length-1]?l:t.pop():l}function p(){for(var t=arguments.length,e=new Array(t),n=0;n0;return c(t,a,s,(function(t){r||(r=t),t&&o.forEach(f),a||(o.forEach(f),i(r))}))}));return e.reduce(h)}t.exports=p},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},"38a2":function(t,e,n){var r=n("2b17"),i=r.retrieveRawValue,o=n("eda2"),a=o.getTooltipMarker,s=o.formatTpl,l=n("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,f={getDataParams:function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color"),c=n.getItemVisual(t,"borderColor"),f=this.ecModel.getComponent("tooltip"),h=f&&f.get("renderMode"),d=u(h),p=this.mainType,g="series"===p,v=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:i,data:s,dataType:e,value:r,color:l,borderColor:c,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:a({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,r,o){e=e||"normal";var a=this.getData(n),l=a.getItemModel(t),u=this.getDataParams(t,n);null!=r&&u.value instanceof Array&&(u.value=u.value[r]);var f=l.get("normal"===e?[o||"label","formatter"]:[e,o||"label","formatter"]);if("function"===typeof f)return u.status=e,u.dimensionIndex=r,f(u);if("string"===typeof f){var h=s(f,u);return h.replace(c,(function(e,n){var r=n.length;return"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),i(a,t,n)}))}},getRawValue:function(t,e){return i(this.getData(e),t)},formatTooltip:function(){}};t.exports=f},3901:function(t,e,n){var r=n("282b"),i=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(t){var e=i(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),r=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[r,r]:[n,n])}};t.exports=o},"392f":function(t,e,n){var r=n("6d8b"),i=r.inherits,o=n("19eb"),a=n("9850");function s(t){o.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;nc)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},"3a34":function(t,e,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a56":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("6d8b"),a=n("22d1"),s=n("e0d3"),l=n("50e5"),u=n("cc39"),c=o.each,f=l.eachAxisDim,h=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var r=d(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this.doInit(r)},mergeOption:function(t){var e=d(t);o.merge(this.option,t,!0),o.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var e=this.option;a.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),p(this,t);var n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,r,i){var o=this.dependentModels[e.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new u(e.name,n,this,i));t[e.name+"_"+n]=a}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();f((function(e){var n=e.axisIndex;t[n]=s.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;f((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,r=this.dependentModels;if(t){var i="vertical"===e?"y":"x";r[i+"Axis"].length?(n[i+"AxisIndex"]=[0],t=!1):c(r.singleAxis,(function(r){t&&r.get("orient",!0)===e&&(n.singleAxisIndex=[r.componentIndex],t=!1)}))}t&&f((function(e){if(t){var r=[],i=this.dependentModels[e.axis];if(i.length&&!r.length)for(var o=0,a=i.length;o0?100:20}},getFirstTargetAxisModel:function(){var t;return f((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;f((function(r){c(this.get(r.axisIndex),(function(i){t.call(e,r,i,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),p(this,t)},setCalculatedRange:function(t){var e=this.option;c(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function p(t,e){var n=t._rangePropMode,r=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,i){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[i]="percent":!o&&a?n[i]="value":r?n[i]=r[i]:o&&(n[i]="percent")}))}var g=h;t.exports=g},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3bbe":function(t,e,n){var r=n("1626"),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},"3bd2":function(t,e,n){"use strict";(function(e,r){var i;t.exports=E,E.ReadableState=M;n("faa1").EventEmitter;var o=function(t,e){return t.listeners(e).length},a=n("946b"),s=n("1c35").Buffer,l=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function u(t){return s.from(t)}function c(t){return s.isBuffer(t)||t instanceof l}var f,h=n(8);f=h&&h.debuglog?h.debuglog("stream"):function(){};var d,p,g,v=n("86ef"),y=n("015d"),m=n("75d2"),b=m.getHighWaterMark,x=n("e142").codes,_=x.ERR_INVALID_ARG_TYPE,w=x.ERR_STREAM_PUSH_AFTER_EOF,S=x.ERR_METHOD_NOT_IMPLEMENTED,C=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(E,a);var A=y.errorOrDestroy,k=["error","close","destroy","pause","resume"];function O(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function M(t,e,r){i=i||n("030c"),t=t||{},"boolean"!==typeof r&&(r=e instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",r),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=n("aa22").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(i=i||n("030c"),!(this instanceof E))return new E(t);var e=this instanceof i;this._readableState=new M(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,i){f("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,N(t,a);else if(i||(o=P(a,e)),o)A(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=u(e)),r)a.endEmitted?A(t,new C):I(t,a,e,!0);else if(a.ended)A(t,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?I(t,a,e,!1):F(t,a)):I(t,a,e,!1)}else r||(a.reading=!1,F(t,a));return!a.ended&&(a.length=L?t=L:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function R(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=D(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function N(t,e){if(f("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,B(t)))}}function j(t){var e=t._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(B,t))}function B(t){var e=t._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,U(t)}function F(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(z,t,e))}function z(t,e){while(!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function H(t){f("readable nexttick read 0"),t.read(0)}function W(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(G,t,e))}function G(t,e){f("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),U(t),e.flowing&&!e.reading&&t.read(0)}function U(t){var e=t._readableState;f("flow",e.flowing);while(e.flowing&&null!==t.read());}function $(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function K(t){var e=t._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(Y,e,t))}function Y(t,e){if(f("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function Z(t,e){for(var n=0,r=t.length;n=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?K(this):j(this),null;if(t=R(t,e),0===t&&e.ended)return 0===e.length&&K(this),null;var r,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t0?$(t,e):null,null===r?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&K(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(t){A(this,new S("_read()"))},E.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t);break}i.pipesCount+=1,f("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,s=a?u:m;function l(t,e){f("onunpipe"),t===n&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,d())}function u(){f("onend"),t.end()}i.endEmitted?r.nextTick(s):n.once("end",s),t.on("unpipe",l);var c=V(n);t.on("drain",c);var h=!1;function d(){f("cleanup"),t.removeListener("close",v),t.removeListener("finish",y),t.removeListener("drain",c),t.removeListener("error",g),t.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",p),h=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||c()}function p(e){f("ondata");var r=t.write(e);f("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==Z(i.pipes,t))&&!h&&(f("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function g(e){f("onerror",e),m(),t.removeListener("error",g),0===o(t,"error")&&A(t,e)}function v(){t.removeListener("finish",y),m()}function y(){f("onfinish"),t.removeListener("close",v),m()}function m(){f("unpipe"),n.unpipe(t)}return n.on("data",p),O(t,"error",g),t.once("close",v),t.once("finish",y),t.emit("pipe",n),i.flowing||(f("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,f("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(H,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(q,this),n},E.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(q,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!t.readableListening,W(this,t)),t.paused=!1,this},E.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){if(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=e.push(i);o||(r=!0,t.pause())}})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o=n.length?s(void 0,!0):(t=r(n,i),e.index+=t.length,s(t,!1))}))},"3cd6":function(t,e,n){var r=n("6d8b"),i=n("48a9"),o=n("607d"),a=n("72b6"),s=n("2306"),l=n("3842"),u=n("ef6a"),c=n("cbb0"),f=n("e0d3"),h=l.linearMap,d=r.each,p=Math.min,g=Math.max,v=12,y=6,m=a.extend({type:"visualMap.continuous",init:function(){m.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var r=e[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,l=this._shapes.barGroup,u=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),f=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===f?"middle":c,textAlign:"horizontal"===f?c:"center",text:r,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,o=this._orient,a=this._useHandle,s=c.getItemAlign(e,this.api,i),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=b()),l.add(n.inRange=b(null,a?C(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),f=g(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,i,f,o,s),this._createHandle(l,1,i,f,o,s)),this._createIndicator(l,i,f,o),t.add(l)},_createHandle:function(t,e,n,i,a){var l=r.bind(this._dragHandle,this,e,!1),u=r.bind(this._dragHandle,this,e,!0),c=b(x(e,i),C(this._orient),l,u);c.position[0]=n[0],t.add(c);var f=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(t){o.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:f.getFont(),textFill:f.getTextColor()}});this.group.add(h);var d=["horizontal"===a?i/2:1.5*i,"horizontal"===a?0===e?-1.5*i:1.5*i:0===e?-i/2:i/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=d,p.handleLabels[e]=h},_createIndicator:function(t,e,n,r){var i=b([[0,0]],"move");i.position[0]=e[0],i.attr({invisible:!0,silent:!0}),t.add(i);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===r?n/2:y+3,0],u=this._shapes;u.indicator=i,u.indicatorLabel=a,u.indicatorLabelPoint=l},_dragHandle:function(t,e,n,r){if(this._useHandle){if(this._dragging=!e,!e){var i=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(t,i[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),r=[0,t.itemSize[1]];this._handleEnds=[h(e[0],n,r,!0),h(e[1],n,r,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];u(e,r,i,t,0);var o=n.getExtent();this._dataInterval=[h(r[0],i,o,!0),h(r[1],i,o,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),r=this._shapes,i=[0,e.itemSize[1]],o=t?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(t,e,n,r){var o={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,o),s=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new i(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var n=100,r=[],i=(t[1]-t[0])/n;r.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;ot[1])break;r.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return r.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),r},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels;d([0,1],(function(a){var l=i[a];l.setStyle("fill",e.handlesColor[a]),l.position[1]=t[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:r.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,l=[0,a[1]],u=h(t,o,l,!0),c=this._shapes,f=c.indicator;if(f){f.position[1]=u,f.attr("invisible",!1),f.setShape("points",_(!!n,r,u,a[1]));var d={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",d);f.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(f,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),m=this._orient;v.setStyle({text:(n||"")+i.formatValueText(e),textVerticalAlign:"horizontal"===m?y:"middle",textAlign:"horizontal"===m?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);r[1]=p(g(0,r[1]),n[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();t=p(g(i[0],t),i[1]);var a=w(n,o,i),s=[t-a,t+a],l=h(t,i,o,!0),u=[h(s[0],i,o,!0),h(s[1],i,o,!0)];s[0]i[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var d=this._hoverLinkDataIndices,v=[];(e||S(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var y=f.compressBatches(d,v);this._dispatchHighDown("downplay",c.makeHighDownBatch(y[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(y[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var r=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(e.dataType),o=i.get(n.getDataDimension(i),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,i){var o=s.getTransform(e,i?null:this.group);return s[r.isArray(t)?"applyTransform":"transformDirection"](t,o,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function b(t,e,n,r){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){o.stop(t.event)},ondragend:r})}function x(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function _(t,e,n,r){return t?[[0,-p(e,g(n,0))],[y,0],[0,p(e,g(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,n){var r=v/2,i=t.get("hoverLinkDataSize");return i&&(r=h(i,e,n,!0)/2),r}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function C(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=m;t.exports=A},"3d67":function(t,e,n){"use strict";n.r(e),n.d(e,"Stack",(function(){return u})),n.d(e,"Queue",(function(){return h})),n.d(e,"PriorityQueue",(function(){return y})),n.d(e,"Vector",(function(){return I})),n.d(e,"LinkList",(function(){return N})),n.d(e,"Deque",(function(){return H})),n.d(e,"OrderedSet",(function(){return at})),n.d(e,"OrderedMap",(function(){return ht})),n.d(e,"HashSet",(function(){return _t})),n.d(e,"HashMap",(function(){return kt}));var r=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){function t(t){void 0===t&&(t=0),this.iteratorType=t}return t.prototype.equals=function(t){return this.o===t.o},t}(),o=function(){function t(){this.M=0}return Object.defineProperty(t.prototype,"length",{get:function(){return this.M},enumerable:!1,configurable:!0}),t.prototype.size=function(){return this.M},t.prototype.empty=function(){return 0===this.M},t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(o),s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(e){void 0===e&&(e=[]);var n=t.call(this)||this;n.nt=[];var r=n;return e.forEach((function(t){r.push(t)})),n}return s(e,t),e.prototype.clear=function(){this.M=0,this.nt=[]},e.prototype.push=function(t){return this.nt.push(t),this.M+=1,this.M},e.prototype.pop=function(){if(0!==this.M)return this.M-=1,this.nt.pop()},e.prototype.top=function(){return this.nt[this.M-1]},e}(o),u=l,c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e){void 0===e&&(e=[]);var n=t.call(this)||this;n.A=0,n.tt=[];var r=n;return e.forEach((function(t){r.push(t)})),n}return c(e,t),e.prototype.clear=function(){this.tt=[],this.M=this.A=0},e.prototype.push=function(t){var e=this.tt.length;if(this.A/e>.5&&this.A+this.M>=e&&e>4096){for(var n=this.M,r=0;r0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},g=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;ie?-1:t>1,s=i.M-1>>1;s>=0;--s)i.ri(s,a);return i}return d(e,t),e.prototype.ti=function(t){var e=this.ii[t];while(t>0){var n=t-1>>1,r=this.ii[n];if(this.$(r,e)<=0)break;this.ii[t]=r,t=n}this.ii[t]=e},e.prototype.ri=function(t,e){var n=this.ii[t];while(t0&&(r=i,o=this.ii[i]),this.$(o,n)>=0)break;this.ii[t]=o,t=r}this.ii[t]=n},e.prototype.clear=function(){this.M=0,this.ii.length=0},e.prototype.push=function(t){this.ii.push(t),this.ti(this.M),this.M+=1},e.prototype.pop=function(){if(0!==this.M){var t=this.ii[0],e=this.ii.pop();return this.M-=1,this.M&&(this.ii[0]=e,this.ri(0,this.M>>1)),t}},e.prototype.top=function(){return this.ii[0]},e.prototype.find=function(t){return this.ii.indexOf(t)>=0},e.prototype.remove=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(0===e?this.pop():e===this.M-1?(this.ii.pop(),this.M-=1):(this.ii.splice(e,1,this.ii.pop()),this.M-=1,this.ti(e),this.ri(e,this.M>>1)),!0)},e.prototype.updateItem=function(t){var e=this.ii.indexOf(t);return!(e<0)&&(this.ti(e),this.ri(e,this.M>>1),!0)},e.prototype.toArray=function(){return g([],p(this.ii),!1)},e}(o),y=v,m=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e}(a),x=b;function _(){throw new RangeError("Iterator access denied!")}var w=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){function e(e,n){var r=t.call(this,n)||this;return r.o=e,0===r.iteratorType?(r.pre=function(){return 0===this.o&&_(),this.o-=1,this},r.next=function(){return this.o===this.container.size()&&_(),this.o+=1,this}):(r.pre=function(){return this.o===this.container.size()-1&&_(),this.o+=1,this},r.next=function(){return-1===this.o&&_(),this.o-=1,this}),r}return w(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.container.getElementByPos(this.o)},set:function(t){this.container.setElementByPos(this.o,t)},enumerable:!1,configurable:!0}),e}(i),C=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},O=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(t){function e(e,n,r){var i=t.call(this,e,r)||this;return i.container=n,i}return C(e,t),e.prototype.copy=function(){return new e(this.o,this.container,this.iteratorType)},e}(S),T=function(t){function e(e,n){void 0===e&&(e=[]),void 0===n&&(n=!0);var r=t.call(this)||this;if(Array.isArray(e))r.J=n?O([],k(e),!1):e,r.M=e.length;else{r.J=[];var i=r;e.forEach((function(t){i.pushBack(t)}))}return r}return C(e,t),e.prototype.clear=function(){this.M=0,this.J.length=0},e.prototype.begin=function(){return new E(0,this)},e.prototype.end=function(){return new E(this.M,this)},e.prototype.rBegin=function(){return new E(this.M-1,this,1)},e.prototype.rEnd=function(){return new E(-1,this,1)},e.prototype.front=function(){return this.J[0]},e.prototype.back=function(){return this.J[this.M-1]},e.prototype.getElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J[t]},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;return this.J.splice(t,1),this.M-=1,this.M},e.prototype.eraseElementByValue=function(t){for(var e=0,n=0;nthis.M-1)throw new RangeError;this.J[t]=e},e.prototype.insert=function(t,e,n){var r;if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;return(r=this.J).splice.apply(r,O([t,0],k(new Array(n).fill(e)),!1)),this.M+=n,this.M},e.prototype.find=function(t){for(var e=0;e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.p},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e.prototype.eraseElementByValue=function(t){var e=this.H;while(e!==this.h)e.p===t&&this.G(e),e=e.m;return this.M},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&_(),t=t.next(),this.G(e),t},e.prototype.pushBack=function(t){return this.F(t,this.l),this.M},e.prototype.popBack=function(){if(0!==this.M){var t=this.l.p;return this.G(this.l),t}},e.prototype.pushFront=function(t){return this.F(t,this.h),this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.H.p;return this.G(this.H),t}},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.H;while(t--)n=n.m;n.p=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(n<=0)return this.M;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var r=this.H,i=1;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},z=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i>1)-(a>>1),r.S=r.k=r.B-i%r.B>>1;var s=r;return e.forEach((function(t){s.pushBack(t)})),r}return j(e,t),e.prototype.O=function(){for(var t=[],e=Math.max(this.C>>1,1),n=0;n>1},e.prototype.begin=function(){return new V(0,this)},e.prototype.end=function(){return new V(this.M,this)},e.prototype.rBegin=function(){return new V(this.M-1,this,1)},e.prototype.rEnd=function(){return new V(-1,this,1)},e.prototype.front=function(){if(0!==this.M)return this.j[this.A][this.S]},e.prototype.back=function(){if(0!==this.M)return this.j[this.R][this.k]},e.prototype.pushBack=function(t){return this.M&&(this.k0?this.k-=1:this.R>0?(this.R-=1,this.k=this.B-1):(this.R=this.C-1,this.k=this.B-1)),this.M-=1,t}},e.prototype.pushFront=function(t){return this.M&&(this.S>0?this.S-=1:this.A>0?(this.A-=1,this.S=this.B-1):(this.A=this.C-1,this.S=this.B-1),this.A===this.R&&this.S===this.k&&this.O()),this.M+=1,this.j[this.A][this.S]=t,this.M},e.prototype.popFront=function(){if(0!==this.M){var t=this.j[this.A][this.S];return 1!==this.M&&(this.Sthis.M-1)throw new RangeError;var e=this.T(t),n=e.curNodeBucketIndex,r=e.curNodePointerIndex;return this.j[n][r]},e.prototype.setElementByPos=function(t,e){if(t<0||t>this.M-1)throw new RangeError;var n=this.T(t),r=n.curNodeBucketIndex,i=n.curNodePointerIndex;this.j[r][i]=e},e.prototype.insert=function(t,e,n){if(void 0===n&&(n=1),t<0||t>this.M)throw new RangeError;if(0===t)while(n--)this.pushFront(e);else if(t===this.M)while(n--)this.pushBack(e);else{for(var r=[],i=t;ithis.M-1)throw new RangeError;if(0===t)this.popFront();else if(t===this.M-1)this.popBack();else{for(var e=[],n=t+1;nt)this.popBack();return this.M},e.prototype.sort=function(t){for(var e=[],n=0;n0)&&!(r=o.next()).done)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a},Y=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Z=function(t){function e(e,n){void 0===e&&(e=function(t,e){return te?1:0}),void 0===n&&(n=!1);var r=t.call(this)||this;return r.W=void 0,r.$=e,n?(r.re=U,r.v=function(t,e,n){var r=this.se(t,e,n);if(r){var i=r.rr;while(i!==this.h)i.tr+=1,i=i.rr;var o=this.fe(r);if(o){var a=o,s=a.parentNode,l=a.grandParent,u=a.curNode;s.ie(),l.ie(),u.ie()}}return this.M},r.G=function(t){var e=this.he(t);while(e!==this.h)e.tr-=1,e=e.rr}):(r.re=G,r.v=function(t,e,n){var r=this.se(t,e,n);return r&&this.fe(r),this.M},r.G=r.he),r.h=new r.re,r}return $(e,t),e.prototype.U=function(t,e){var n=this.h;while(t){var r=this.$(t.u,e);if(r<0)t=t.N;else{if(!(r>0))return t;n=t,t=t.K}}return n},e.prototype.X=function(t,e){var n=this.h;while(t){var r=this.$(t.u,e);r<=0?t=t.N:(n=t,t=t.K)}return n},e.prototype.Y=function(t,e){var n=this.h;while(t){var r=this.$(t.u,e);if(r<0)n=t,t=t.N;else{if(!(r>0))return t;t=t.K}}return n},e.prototype.Z=function(t,e){var n=this.h;while(t){var r=this.$(t.u,e);r<0?(n=t,t=t.N):t=t.K}return n},e.prototype.ue=function(t){while(1){var e=t.rr;if(e===this.h)return;if(1===t.ee)return void(t.ee=0);if(t===e.K){var n=e.N;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.ne():e.ne();else{if(n.N&&1===n.N.ee)return n.ee=e.ee,e.ee=0,n.N.ee=0,void(e===this.W?this.W=e.ne():e.ne());n.K&&1===n.K.ee?(n.ee=1,n.K.ee=0,n.te()):(n.ee=1,t=e)}}else{n=e.K;if(1===n.ee)n.ee=0,e.ee=1,e===this.W?this.W=e.te():e.te();else{if(n.K&&1===n.K.ee)return n.ee=e.ee,e.ee=0,n.K.ee=0,void(e===this.W?this.W=e.te():e.te());n.N&&1===n.N.ee?(n.ee=1,n.N.ee=0,n.ne()):(n.ee=1,t=e)}}}},e.prototype.he=function(t){var e,n;if(1===this.M)return this.clear(),this.h;var r=t;while(r.K||r.N){if(r.N){r=r.N;while(r.K)r=r.K}else r=r.K;e=K([r.u,t.u],2),t.u=e[0],r.u=e[1],n=K([r.p,t.p],2),t.p=n[0],r.p=n[1],t=r}this.h.K===r?this.h.K=r.rr:this.h.N===r&&(this.h.N=r.rr),this.ue(r);var i=r.rr;return r===i.K?i.K=void 0:i.N=void 0,this.M-=1,this.W.ee=0,i},e.prototype.ae=function(t,e){if(void 0===t)return!1;var n=this.ae(t.K,e);return!!n||(!!e(t)||this.ae(t.N,e))},e.prototype.fe=function(t){while(1){var e=t.rr;if(0===e.ee)return;var n=e.rr;if(e===n.K){var r=n.N;if(r&&1===r.ee){if(r.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.N){if(t.ee=0,t.K&&(t.K.rr=e),t.N&&(t.N.rr=n),e.N=t.K,n.K=t.N,t.K=e,t.N=n,n===this.W)this.W=t,this.h.rr=t;else{var i=n.rr;i.K===n?i.K=t:i.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.te():n.te(),n.ee=1}else{r=n.K;if(r&&1===r.ee){if(r.ee=e.ee=0,n===this.W)return;n.ee=1,t=n;continue}if(t===e.K){if(t.ee=0,t.K&&(t.K.rr=n),t.N&&(t.N.rr=e),n.N=t.K,e.K=t.N,t.K=n,t.N=e,n===this.W)this.W=t,this.h.rr=t;else{i=n.rr;i.K===n?i.K=t:i.N=t}return t.rr=n.rr,e.rr=t,n.rr=t,n.ee=1,{parentNode:e,grandParent:n,curNode:t}}e.ee=0,n===this.W?this.W=n.ne():n.ne(),n.ee=1}return}},e.prototype.se=function(t,e,n){if(void 0===this.W)return this.M+=1,this.W=new this.re(t,e),this.W.ee=0,this.W.rr=this.h,this.h.rr=this.W,this.h.K=this.W,void(this.h.N=this.W);var r,i=this.h.K,o=this.$(i.u,t);if(0!==o){if(o>0)i.K=new this.re(t,e),i.K.rr=i,r=i.K,this.h.K=r;else{var a=this.h.N,s=this.$(a.u,t);if(0===s)return void(a.p=e);if(s<0)a.N=new this.re(t,e),a.N.rr=a,r=a.N,this.h.N=r;else{if(void 0!==n){var l=n.o;if(l!==this.h){var u=this.$(l.u,t);if(0===u)return void(l.p=e);if(u>0){var c=l.L(),f=this.$(c.u,t);if(0===f)return void(c.p=e);f<0&&(r=new this.re(t,e),void 0===c.N?(c.N=r,r.rr=c):(l.K=r,r.rr=l))}}}if(void 0===r){r=this.W;while(1){var h=this.$(r.u,t);if(h>0){if(void 0===r.K){r.K=new this.re(t,e),r.K.rr=r,r=r.K;break}r=r.K}else{if(!(h<0))return void(r.p=e);if(void 0===r.N){r.N=new this.re(t,e),r.N.rr=r,r=r.N;break}r=r.N}}}}}return this.M+=1,r}i.p=e},e.prototype.g=function(t,e){while(t){var n=this.$(t.u,e);if(n<0)t=t.N;else{if(!(n>0))return t;t=t.K}}return t||this.h},e.prototype.clear=function(){this.M=0,this.W=void 0,this.h.rr=void 0,this.h.K=this.h.N=void 0},e.prototype.updateKeyByIterator=function(t,e){var n=t.o;if(n===this.h&&_(),1===this.M)return n.u=e,!0;if(n===this.h.K)return this.$(n.m().u,e)>0&&(n.u=e,!0);if(n===this.h.N)return this.$(n.L().u,e)<0&&(n.u=e,!0);var r=n.L().u;if(this.$(r,e)>=0)return!1;var i=n.m().u;return!(this.$(i,e)<=0)&&(n.u=e,!0)},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=0,n=this;return this.ae(this.W,(function(r){return t===e?(n.G(r),!0):(e+=1,!1)})),this.M},e.prototype.eraseElementByKey=function(t){if(0===this.M)return!1;var e=this.g(this.W,t);return e!==this.h&&(this.G(e),!0)},e.prototype.eraseElementByIterator=function(t){var e=t.o;e===this.h&&_();var n=void 0===e.N,r=0===t.iteratorType;return r?n&&t.next():n&&void 0!==e.K||t.next(),this.G(e),t},e.prototype.forEach=function(t){var e,n,r=0;try{for(var i=Y(this),o=i.next();!o.done;o=i.next()){var a=o.value;t(a,r++,this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},e.prototype.getElementByPos=function(t){var e,n,r;if(t<0||t>this.M-1)throw new RangeError;var i=0;try{for(var o=Y(this),a=o.next();!a.done;a=o.next()){var s=a.value;if(i===t){r=s;break}i+=1}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},e.prototype.getHeight=function(){if(0===this.M)return 0;var t=function(e){return e?Math.max(t(e.K),t(e.N))+1:0};return t(this.W)},e}(a),X=Z,Q=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(t){function e(e,n,r){var i=t.call(this,r)||this;return i.o=e,i.h=n,0===i.iteratorType?(i.pre=function(){return this.o===this.h.K&&_(),this.o=this.o.L(),this},i.next=function(){return this.o===this.h&&_(),this.o=this.o.m(),this}):(i.pre=function(){return this.o===this.h.N&&_(),this.o=this.o.m(),this},i.next=function(){return this.o===this.h&&_(),this.o=this.o.L(),this}),i}return Q(e,t),Object.defineProperty(e.prototype,"index",{get:function(){var t=this.o,e=this.h.rr;if(t===this.h)return e?e.tr-1:0;var n=0;t.K&&(n+=t.K.tr);while(t!==e){var r=t.rr;t===r.N&&(n+=1,r.K&&(n+=r.K.tr)),t=r}return n},enumerable:!1,configurable:!0}),e}(i),tt=J,et=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},it=function(t){function e(e,n,r,i){var o=t.call(this,e,n,i)||this;return o.container=r,o}return et(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){return this.o===this.h&&_(),this.o.u},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ot=function(t){function e(e,n,r){void 0===e&&(e=[]);var i=t.call(this,n,r)||this,o=i;return e.forEach((function(t){o.insert(t)})),i}return et(e,t),e.prototype.P=function(t){return nt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,rt(this.P(t.K))];case 1:return e.sent(),[4,t.u];case 2:return e.sent(),[5,rt(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new it(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new it(this.h,this.h,this)},e.prototype.rBegin=function(){return new it(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new it(this.h,this.h,this,1)},e.prototype.front=function(){return this.h.K?this.h.K.u:void 0},e.prototype.back=function(){return this.h.N?this.h.N.u:void 0},e.prototype.insert=function(t,e){return this.v(t,void 0,e)},e.prototype.find=function(t){var e=this.g(this.W,t);return new it(e,this.h,this)},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new it(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new it(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new it(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new it(e,this.h,this)},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.insert(t)})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(X),at=ot,st=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lt=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},ct=function(t){function e(e,n,r,i){var o=t.call(this,e,n,i)||this;return o.container=r,o}return st(e,t),Object.defineProperty(e.prototype,"pointer",{get:function(){this.o===this.h&&_();var t=this;return new Proxy([],{get:function(e,n){return"0"===n?t.o.u:"1"===n?t.o.p:void 0},set:function(e,n,r){if("1"!==n)throw new TypeError("props must be 1");return t.o.p=r,!0}})},enumerable:!1,configurable:!0}),e.prototype.copy=function(){return new e(this.o,this.h,this.container,this.iteratorType)},e}(tt),ft=function(t){function e(e,n,r){void 0===e&&(e=[]);var i=t.call(this,n,r)||this,o=i;return e.forEach((function(t){o.setElement(t[0],t[1])})),i}return st(e,t),e.prototype.P=function(t){return lt(this,(function(e){switch(e.label){case 0:return void 0===t?[2]:[5,ut(this.P(t.K))];case 1:return e.sent(),[4,[t.u,t.p]];case 2:return e.sent(),[5,ut(this.P(t.N))];case 3:return e.sent(),[2]}}))},e.prototype.begin=function(){return new ct(this.h.K||this.h,this.h,this)},e.prototype.end=function(){return new ct(this.h,this.h,this)},e.prototype.rBegin=function(){return new ct(this.h.N||this.h,this.h,this,1)},e.prototype.rEnd=function(){return new ct(this.h,this.h,this,1)},e.prototype.front=function(){if(0!==this.M){var t=this.h.K;return[t.u,t.p]}},e.prototype.back=function(){if(0!==this.M){var t=this.h.N;return[t.u,t.p]}},e.prototype.lowerBound=function(t){var e=this.U(this.W,t);return new ct(e,this.h,this)},e.prototype.upperBound=function(t){var e=this.X(this.W,t);return new ct(e,this.h,this)},e.prototype.reverseLowerBound=function(t){var e=this.Y(this.W,t);return new ct(e,this.h,this)},e.prototype.reverseUpperBound=function(t){var e=this.Z(this.W,t);return new ct(e,this.h,this)},e.prototype.setElement=function(t,e,n){return this.v(t,e,n)},e.prototype.find=function(t){var e=this.g(this.W,t);return new ct(e,this.h,this)},e.prototype.getElementByKey=function(t){var e=this.g(this.W,t);return e.p},e.prototype.union=function(t){var e=this;return t.forEach((function(t){e.setElement(t[0],t[1])})),this.M},e.prototype[Symbol.iterator]=function(){return this.P(this.W)},e}(X),ht=ft;function dt(t){var e=typeof t;return"object"===e&&null!==t||"function"===e}var pt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=function(t){function e(e,n,r){var i=t.call(this,r)||this;return i.o=e,i.h=n,0===i.iteratorType?(i.pre=function(){return this.o.L===this.h&&_(),this.o=this.o.L,this},i.next=function(){return this.o===this.h&&_(),this.o=this.o.m,this}):(i.pre=function(){return this.o.m===this.h&&_(),this.o=this.o.m,this},i.next=function(){return this.o===this.h&&_(),this.o=this.o.L,this}),i}return pt(e,t),e}(i),vt=function(t){function e(){var e=t.call(this)||this;return e._=[],e.I={},e.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(e.I,null),e.h={},e.h.L=e.h.m=e.H=e.l=e.h,e}return pt(e,t),e.prototype.G=function(t){var e=t.L,n=t.m;e.m=n,n.L=e,t===this.H&&(this.H=n),t===this.l&&(this.l=e),this.M-=1},e.prototype.v=function(t,e,n){var r;if(void 0===n&&(n=dt(t)),n){var i=t[this.HASH_TAG];if(void 0!==i)return this._[i].p=e,this.M;Object.defineProperty(t,this.HASH_TAG,{value:this._.length,configurable:!0}),r={u:t,p:e,L:this.l,m:this.h},this._.push(r)}else{var o=this.I[t];if(o)return o.p=e,this.M;r={u:t,p:e,L:this.l,m:this.h},this.I[t]=r}return 0===this.M?(this.H=r,this.h.m=r):this.l.m=r,this.l=r,this.h.L=r,++this.M},e.prototype.g=function(t,e){if(void 0===e&&(e=dt(t)),e){var n=t[this.HASH_TAG];return void 0===n?this.h:this._[n]}return this.I[t]||this.h},e.prototype.clear=function(){var t=this.HASH_TAG;this._.forEach((function(e){delete e.u[t]})),this._=[],this.I={},Object.setPrototypeOf(this.I,null),this.M=0,this.H=this.l=this.h.L=this.h.m=this.h},e.prototype.eraseElementByKey=function(t,e){var n;if(void 0===e&&(e=dt(t)),e){var r=t[this.HASH_TAG];if(void 0===r)return!1;delete t[this.HASH_TAG],n=this._[r],delete this._[r]}else{if(n=this.I[t],void 0===n)return!1;delete this.I[t]}return this.G(n),!0},e.prototype.eraseElementByIterator=function(t){var e=t.o;return e===this.h&&_(),this.G(e),t.next()},e.prototype.eraseElementByPos=function(t){if(t<0||t>this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return this.G(e),this.M},e}(a),yt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mt=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return e.u},e.prototype.find=function(t,e){var n=this.g(t,e);return new bt(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t(n.u,e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return mt(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,t.u];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(vt),_t=xt,wt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),St=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]this.M-1)throw new RangeError;var e=this.H;while(t--)e=e.m;return[e.u,e.p]},e.prototype.find=function(t,e){var n=this.g(t,e);return new Ct(n,this.h,this)},e.prototype.forEach=function(t){var e=0,n=this.H;while(n!==this.h)t([n.u,n.p],e++,this),n=n.m},e.prototype[Symbol.iterator]=function(){return function(){var t;return St(this,(function(e){switch(e.label){case 0:t=this.H,e.label=1;case 1:return t===this.h?[3,3]:[4,[t.u,t.p]];case 2:return e.sent(),t=t.m,[3,1];case 3:return[2]}}))}.bind(this)()},e}(vt),kt=At},"3e8a":function(t,e,n){},"3eb1":function(t,e,n){"use strict";var r=n("0f7c"),i=n("00ce"),o=n("d009"),a=n("0d25"),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||r.call(l,s),c=n("71c9"),f=i("%Math.max%");t.exports=function(t){if("function"!==typeof t)throw new a("a function is required");var e=u(r,l,arguments);return o(e,1+f(0,t.length-(arguments.length-1)),!0)};var h=function(){return u(r,s,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},"3eba":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("697e7")),o=n("6d8b"),a=n("41ef"),s=n("22d1"),l=n("04f6"),u=n("1fab"),c=n("7e63"),f=n("843e"),h=n("2039"),d=n("ca98"),p=n("fb05"),g=n("d15d"),v=n("6cb7"),y=n("4f85"),m=n("b12f"),b=n("e887"),x=n("2306"),_=n("e0d3"),w=n("88b3"),S=w.throttle,C=n("fd63"),A=n("b809"),k=n("998c"),O=n("69ff"),M=n("c533"),E=n("f219");n("0352");var T=n("ec34"),I=o.assert,P=o.each,L=o.isFunction,D=o.isObject,R=v.parseClassType,N="4.9.0",j={zrender:"4.3.2"},B=1,F=1e3,z=800,V=900,q=5e3,H=1e3,W=1100,G=2e3,U=3e3,$=3500,K=4e3,Y=5e3,Z={PROCESSOR:{FILTER:F,SERIES_FILTER:z,STATISTIC:q},VISUAL:{LAYOUT:H,PROGRESSIVE_LAYOUT:W,GLOBAL:G,CHART:U,POST_CHART_LAYOUT:$,COMPONENT:K,BRUSH:Y}},X="__flagInMainProcess",Q="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(n,r,i){e||!this._disposed?(n=n&&n.toLowerCase(),u.prototype[t].call(this,n,r,i)):xt(this.id)}}function et(){u.call(this)}function nt(t,e,n){n=n||{},"string"===typeof e&&(e=Pt[e]),this.id,this.group,this._dom=t;var r="canvas",a=this._zr=i.init(t,{renderer:n.renderer||r,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=S(o.bind(a.flush,a),17);e=o.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var s=this._api=Ct(this);function c(t,e){return t.__prio-e.__prio}l(It,c),l(Mt,c),this._scheduler=new O(this,s,Mt,It),u.call(this,this._ecEventProcessor=new At),this._messageCenter=new et,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),ht(a,this),o.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),o.mixin(et,u);var rt=nt.prototype;function it(t,e,n){if(this._disposed)xt(this.id);else{var r,i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},rt.getDom=function(){return this._dom},rt.getZr=function(){return this._zr},rt.setOption=function(t,e,n){if(this._disposed)xt(this.id);else{var r;if(D(e)&&(n=e.lazyUpdate,r=e.silent,e=e.notMerge),this[X]=!0,!this._model||e){var i=new d(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,i)}this._model.setOption(t,Et),n?(this[Q]={silent:r},this[X]=!1):(at(this),ot.update.call(this),this._zr.flush(),this[Q]=!1,this[X]=!1,ct.call(this,r),ft.call(this,r))}},rt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},rt.getModel=function(){return this._model},rt.getOption=function(){return this._model&&this._model.getOption()},rt.getWidth=function(){return this._zr.getWidth()},rt.getHeight=function(){return this._zr.getHeight()},rt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},rt.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},rt.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return o.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},rt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,r=[],i=this;P(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(r,(function(t){t.group.ignore=!1})),o}xt(this.id)},rt.getConnectedDataURL=function(t){if(this._disposed)xt(this.id);else if(s.canvasSupported){var e="svg"===t.type,n=this.group,r=Math.min,a=Math.max,l=1/0;if(Rt[n]){var u=l,c=l,f=-l,h=-l,d=[],p=t&&t.pixelRatio||1;o.each(Dt,(function(i,s){if(i.group===n){var l=e?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(o.clone(t)),p=i.getDom().getBoundingClientRect();u=r(p.left,u),c=r(p.top,c),f=a(p.right,f),h=a(p.bottom,h),d.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,f*=p,h*=p;var g=f-u,v=h-c,y=o.createCanvas(),m=i.init(y,{renderer:e?"svg":"canvas"});if(m.resize({width:g,height:v}),e){var b="";return P(d,(function(t){var e=t.left-u,n=t.top-c;b+=''+t.dom+""})),m.painter.getSvgRoot().innerHTML=b,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new x.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),P(d,(function(t){var e=new x.Image({style:{x:t.left*p-u,y:t.top*p-c,image:t.dom}});m.add(e)})),m.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},rt.convertToPixel=o.curry(it,"convertToPixel"),rt.convertFromPixel=o.curry(it,"convertFromPixel"),rt.containPixel=function(t,e){if(!this._disposed){var n,r=this._model;return t=_.parseFinder(r,t),o.each(t,(function(t,r){r.indexOf("Models")>=0&&o.each(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}}),this)}),this),!!n}xt(this.id)},rt.getVisual=function(t,e){var n=this._model;t=_.parseFinder(n,t,{defaultMainType:"series"});var r=t.seriesModel,i=r.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=o?i.getItemVisual(o,e):i.getVisual(e)},rt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},rt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var ot={prepareAndUpdate:function(t){at(this),ot.update.call(this,t)},update:function(t){var e=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,o=this._scheduler;if(e){o.restoreData(e,t),o.performSeriesTasks(e),i.create(e,n),o.performDataProcessorTasks(e,t),lt(this,e),i.update(e,n),pt(e),o.performVisualTasks(e,t),gt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)r.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}mt(e,n)}},updateTransform:function(t){var e=this._model,n=this,r=this._api;if(e){var i=[];e.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,r,t);l&&l.update&&i.push(s)}else i.push(s)}));var a=o.createHashMap();e.eachSeries((function(i){var o=n._chartsMap[i.__viewId];if(o.updateTransform){var s=o.updateTransform(i,e,r,t);s&&s.update&&a.set(i.uid,1)}else a.set(i.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),yt(n,e,r,t,a),mt(e,this._api)}},updateView:function(t){var e=this._model;e&&(b.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),mt(e,this._api))},updateVisual:function(t){ot.update.call(this,t)},updateLayout:function(t){ot.update.call(this,t)}};function at(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),dt(t,"component",e,n),dt(t,"chart",e,n),n.plan()}function st(t,e,n,r,i){var a=t._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var u=n.excludeSeriesId;null!=u&&(u=o.createHashMap(_.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else P(t._componentsViews.concat(t._chartsViews),c);function c(r){r&&r.__alive&&r[e]&&r[e](r.__model,a,t._api,n)}}function lt(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries((function(t){r.updateStreamModes(t,n[t.__viewId])}))}function ut(t,e){var n=t.type,r=t.escapeConnect,i=kt[n],a=i.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[X]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=o.map(t.batch,(function(e){return e=o.defaults(o.extend({},e),t),e.batch=null,e})));var f,h=[],d="highlight"===n||"downplay"===n;P(u,(function(t){f=i.action(t,this._model,this._api),f=f||o.extend({},t),f.type=a.event||f.type,h.push(f),d?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||d||s||(this[Q]?(at(this),ot.update.call(this,t),this[Q]=!1):ot[l].call(this,t)),f=c?{type:a.event||n,escapeConnect:r,batch:h}:h[0],this[X]=!1,!e&&this._messageCenter.trigger(f.type,f)}function ct(t){var e=this._pendingActions;while(e.length){var n=e.shift();ut.call(this,n,t)}}function ft(t){!t&&this.trigger("updated")}function ht(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[Q]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function dt(t,e,n,r){for(var i="component"===e,o=i?t._componentsViews:t._chartsViews,a=i?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",n)}))}))}function St(t,e){var n=t.get("z"),r=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r))}))}function Ct(t){var e=t._coordSysMgr;return o.extend(new f(t),{getCoordinateSystems:o.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function At(){this.eventInfo}rt._initEvents=function(){P(bt,(function(t){var e=function(e){var n,r=this.getModel(),i=e.target,a="globalout"===t;if(a)n={};else if(i&&null!=i.dataIndex){var s=i.dataModel||r.getSeriesByIndex(i.seriesIndex);n=s&&s.getDataParams(i.dataIndex,i.dataType,i)||{}}else i&&i.eventData&&(n=o.extend({},i.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&r.getComponent(l,u),f=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:i,packedEvent:n,model:c,view:f},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),P(Ot,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},rt.isDisposed=function(){return this._disposed},rt.clear=function(){this._disposed?xt(this.id):this.setOption({series:[]},!0)},rt.dispose=function(){if(this._disposed)xt(this.id);else{this._disposed=!0,_.setAttribute(this.getDom(),Bt,"");var t=this._api,e=this._model;P(this._componentsViews,(function(n){n.dispose(e,t)})),P(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete Dt[this.id]}},o.mixin(nt,u),At.prototype={constructor:At,normalizeQuery:function(t){var e={},n={},r={};if(o.isString(t)){var i=R(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(t,(function(t,i){for(var o=!1,l=0;l0&&c===i.length-u.length){var f=i.slice(0,c);"data"!==f&&(e.mainType=f,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(i)&&(n[i]=t,o=!0),o||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},filter:function(t,e,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,o));function c(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var kt={},Ot={},Mt=[],Et=[],Tt=[],It=[],Pt={},Lt={},Dt={},Rt={},Nt=new Date-0,jt=new Date-0,Bt="_echarts_instance_";function Ft(t){var e=0,n=1,r=2,i="__connectUpdateStatus";function o(t,e){for(var n=0;n-x}function S(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==d}function C(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==d}function A(t,e){e&&k(t,"transform","matrix("+h.call(e,",")+")")}function k(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function O(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function M(t,e,n,r){if(S(e,n)){var i=n?e.textFill:e.fill;i="transparent"===i?d:i,k(t,"fill",i),k(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else k(t,"fill",d);if(C(e,n)){var o=n?e.textStroke:e.stroke;o="transparent"===o?d:o,k(t,"stroke",o);var a=n?e.textStrokeWidth:e.lineWidth,s=!n&&e.strokeNoScale?r.getLineScale():1;k(t,"stroke-width",a/s),k(t,"paint-order",n?"stroke":"fill"),k(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(k(t,"stroke-dasharray",e.lineDash.join(",")),k(t,"stroke-dashoffset",p(e.lineDashOffset||0))):k(t,"stroke-dasharray",""),e.lineCap&&k(t,"stroke-linecap",e.lineCap),e.lineJoin&&k(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&k(t,"stroke-miterlimit",e.miterLimit)}else k(t,"stroke",d)}function E(t){for(var e=[],n=t.data,r=t.len(),i=0;i=m:-x>=m),O=x>0?x%m:x%m+m,M=!1;M=!!k||!w(A)&&O>=y===!!C;var E=_(l+c*v(d)),T=_(u+h*g(d));k&&(x=C?m-1e-4:1e-4-m,M=!0,9===i&&e.push("M",E,T));var I=_(l+c*v(d+x)),P=_(u+h*g(d+x));e.push("A",_(c),_(h),p(S*b),+M,+C,I,P);break;case f.Z:a="Z";break;case f.R:I=_(n[i++]),P=_(n[i++]);var L=_(n[i++]),D=_(n[i++]);e.push("M",I,P,"L",I+L,P,"L",I+L,P+D,"L",I,P+D,"L",I,P);break}a&&e.push(a);for(var R=0;RP){for(;T255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function f(t,e,n){return t+(e-t)*n}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new r(20),g=null;function v(t,e){g&&d(g,e),g=p.put(t,g||e.slice())}function y(t,e){if(t){e=e||[];var n=p.get(t);if(n)return d(e,n);t+="";var r=t.replace(/ /g,"").toLowerCase();if(r in i)return d(e,i[r]),v(t,e),e;if("#"!==r.charAt(0)){var o=r.indexOf("("),a=r.indexOf(")");if(-1!==o&&a+1===r.length){var s=r.substr(0,o),c=r.substr(o+1,a-(o+1)).split(","),f=1;switch(s){case"rgba":if(4!==c.length)return void h(e,0,0,0,1);f=u(c.pop());case"rgb":return 3!==c.length?void h(e,0,0,0,1):(h(e,l(c[0]),l(c[1]),l(c[2]),f),v(t,e),e);case"hsla":return 4!==c.length?void h(e,0,0,0,1):(c[3]=u(c[3]),m(c,e),v(t,e),e);case"hsl":return 3!==c.length?void h(e,0,0,0,1):(m(c,e),v(t,e),e);default:return}}h(e,0,0,0,1)}else{if(4===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=4095?(h(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),v(t,e),e):void h(e,0,0,0,1)}if(7===r.length){g=parseInt(r.substr(1),16);return g>=0&&g<=16777215?(h(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),v(t,e),e):void h(e,0,0,0,1)}}}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=u(t[1]),i=u(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return e=e||[],h(e,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,f=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?e=h-f:i===s?e=1/3+c-h:o===s&&(e=2/3+f-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}function x(t,e){var n=y(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:t[r]<0&&(n[r]=0);return M(n,4===n.length?"rgba":"rgb")}}function _(t){var e=y(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=e[i],u=e[a],c=r-i;return n[0]=o(f(l[0],u[0],c)),n[1]=o(f(l[1],u[1],c)),n[2]=o(f(l[2],u[2],c)),n[3]=s(f(l[3],u[3],c)),n}}var S=w;function C(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=y(e[i]),u=y(e[a]),c=r-i,h=M([o(f(l[0],u[0],c)),o(f(l[1],u[1],c)),o(f(l[2],u[2],c)),s(f(l[3],u[3],c))],"rgba");return n?{color:h,leftIndex:i,rightIndex:a,value:r}:h}}var A=C;function k(t,e,n,r){if(t=y(t),t)return t=b(t),null!=e&&(t[0]=a(e)),null!=n&&(t[1]=u(n)),null!=r&&(t[2]=u(r)),M(m(t),"rgba")}function O(t,e){if(t=y(t),t&&null!=e)return t[3]=s(e),M(t,"rgba")}function M(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=y,e.lift=x,e.toHex=_,e.fastLerp=w,e.fastMapToColor=S,e.lerp=C,e.mapToColor=A,e.modifyHSL=k,e.modifyAlpha=O,e.stringify=M},"41f6":function(t,e,n){},"428f":function(t,e,n){var r=n("da84");t.exports=r},"42e5":function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var r=n;t.exports=r},"42f6":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("22d1"),a=n("07d7"),s=n("82f9"),l=n("eda2"),u=n("3842"),c=n("2306"),f=n("133d"),h=n("f934"),d=n("4319"),p=n("17d6"),g=n("697e"),v=n("ff2e"),y=n("e0d3"),m=y.getTooltipRenderMode,b=i.bind,x=i.each,_=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=r.extendComponentView({type:"tooltip",init:function(t,e){if(!o.node){var n,r=t.getComponent("tooltip"),i=r.get("renderMode");this._renderMode=m(i),"html"===this._renderMode?(n=new a(e.getDom(),e,{appendToBody:r.get("appendToBody",!0)}),this._newLine="
"):(n=new s(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!o.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,b((function(t,n,r){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(t,e,n,r){if(r.from!==this.uid&&!o.node){var i=A(r,n);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=w;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var l=f(r,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:l.el},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},manuallyHideTip:function(t,e,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(A(r,n))},_manuallyAxisShowTip:function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s){var l=s.getData();t=C([l.getItemModel(o),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},_tryShow:function(t,e){var n=t.target,r=this._tooltipModel;if(r){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=i.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,r=this._tooltipModel,o=[e.offsetX,e.offsetY],a=[],s=[],u=C([e.tooltipOption,r]),c=this._renderMode,f=this._newLine,h={};x(t,(function(t){x(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,o=[];if(e&&null!=r){var u=v.getValueLabel(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);i.each(t.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),f=a.dataIndexInside,d=l&&l.getDataParams(f);if(d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=g.getAxisRawValue(e.axis,r),d.axisValueLabel=u,d){s.push(d);var p,v=l.formatTooltip(f,!0,null,c);if(i.isObject(v)){p=v.html;var y=v.markers;i.merge(h,y)}else p=v;o.push(p)}}));var d=u;"html"!==c?a.push(o.join(f)):a.push((d?l.encodeHTML(d)+f:"")+o.join(f))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var d=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,d,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],d,void 0,h)}))},_showSeriesItemTooltip:function(t,e,n){var r=this._ecModel,o=e.seriesIndex,a=r.getSeriesByIndex(o),s=e.dataModel||a,l=e.dataIndex,u=e.dataType,c=s.getData(u),f=C([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),h=f.get("trigger");if(null==h||"item"===h){var d,p,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);i.isObject(v)?(d=v.html,p=v.markers):(d=v,p=null);var y="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,d,g,y,t.offsetX,t.offsetY,t.position,t.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var r=e.tooltip;if("string"===typeof r){var i=r;r={content:i,formatter:i}}var o=new d(r,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,r,i,o,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,f=t.get("formatter");a=a||t.get("position");var h=e;if(f&&"string"===typeof f)h=l.formatTpl(f,n,!0);else if("function"===typeof f){var d=b((function(e,r){e===this._ticket&&(c.setContent(r,u,t),this._updatePosition(t,a,i,o,c,n,s))}),this);this._ticket=r,h=f(n,r,d)}c.setContent(h,u,t),c.show(t),this._updatePosition(t,a,i,o,c,n,s)}},_updatePosition:function(t,e,n,r,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=o.getSize(),f=t.get("align"),d=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([n,r],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),i.isArray(e))n=_(e[0],l),r=_(e[1],u);else if(i.isObject(e)){e.width=c[0],e.height=c[1];var g=h.getLayoutRect(e,{width:l,height:u});n=g.x,r=g.y,f=null,d=null}else if("string"===typeof e&&s){var v=M(e,p,c);n=v[0],r=v[1]}else{v=k(n,r,o,l,u,f?null:20,d?null:20);n=v[0],r=v[1]}if(f&&(n-=E(f)?c[0]/2:"right"===f?c[0]:0),d&&(r-=E(d)?c[1]/2:"bottom"===d?c[1]:0),t.get("confine")){v=O(n,r,o,l,u);n=v[0],r=v[1]}o.moveTo(n,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&x(e,(function(e,r){var i=e.dataByAxis||{},o=t[r]||{},a=o.dataByAxis||[];n&=i.length===a.length,n&&x(i,(function(t,e){var r=a[e]||{},i=t.seriesDataIndices||[],o=r.seriesDataIndices||[];n&=t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&i.length===o.length,n&&x(i,(function(t,e){var r=o[e];n&=t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function C(t){var e=t.pop();while(t.length){var n=t.pop();n&&(d.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),e=new d(n,e,e.ecModel))}return e}function A(t,e){return t.dispatchAction||i.bind(e.dispatchAction,e)}function k(t,e,n,r,i,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(t+l+o>r?t-=l+o:t+=o),null!=a&&(e+u+a>i?e-=u+a:e+=a),[t,e]}function O(t,e,n,r,i){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function M(t,e,n){var r=n[0],i=n[1],o=5,a=0,s=0,l=e.width,u=e.height;switch(t){case"inside":a=e.x+l/2-r/2,s=e.y+u/2-i/2;break;case"top":a=e.x+l/2-r/2,s=e.y-i-o;break;case"bottom":a=e.x+l/2-r/2,s=e.y+u+o;break;case"left":a=e.x-r-o,s=e.y+u/2-i/2;break;case"right":a=e.x+l+o,s=e.y+u/2-i/2}return[a,s]}function E(t){return"center"===t||"middle"===t}t.exports=S},4319:function(t,e,n){var r=n("6d8b"),i=n("22d1"),o=n("e0d3"),a=o.makeInner,s=n("625e"),l=s.enableClassExtend,u=s.enableClassCheck,c=n("3901"),f=n("9bdb"),h=n("fe21"),d=n("551f"),p=r.mixin,g=a();function v(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function y(t,e,n){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.grid;n=(0,u.deepMerge)((0,s.deepClone)(l.gridConfig,!0),n||{}),(0,a.doUpdate)({chart:t,series:[n],key:"grid",getGraphConfig:d})}function d(t,e){var n=t.animationCurve,r=t.animationFrame,i=t.rLevel,o=p(t,e),a=v(t);return e.chart.gridArea=f({},o),[{name:"rect",index:i,animationCurve:n,animationFrame:r,shape:o,style:a}]}function p(t,e){var n=(0,i["default"])(e.chart.render.area,2),r=n[0],o=n[1],a=g(t.left,r),s=g(t.right,r),l=g(t.top,o),u=g(t.bottom,o),c=r-a-s,f=o-l-u;return{x:a,y:l,w:c,h:f}}function g(t,e){return"number"===typeof t?t:"string"!==typeof t?0:e*parseInt(t)/100}function v(t){var e=t.style;return e}},"470c":function(t,e,n){},"471e":function(t,e){function n(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}t.exports=n},4738:function(t,e,n){var r=n("da84"),i=n("d256"),o=n("1626"),a=n("94ca"),s=n("8925"),l=n("b622"),u=n("6069"),c=n("6c59"),f=n("c430"),h=n("2d00"),d=i&&i.prototype,p=l("species"),g=!1,v=o(r.PromiseRejectionEvent),y=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===h)return!0;if(f&&(!d["catch"]||!d["finally"]))return!0;if(!h||h<51||!/native code/.test(t)){var n=new i((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))},o=n.constructor={};if(o[p]=r,g=n.then((function(){}))instanceof r,!g)return!0}return!e&&(u||c)&&!v}));t.exports={CONSTRUCTOR:y,REJECTION_EVENT:v,SUBCLASSING:g}},4754:function(t,e){t.exports=function(t,e){return{value:t,done:e}}},4784:function(t,e,n){var r=n("3eba"),i=n("f706"),o=n("c8ef"),a=n("1687"),s=n("87c3"),l=r.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new i(o)},render:function(t,e,n){var r=t.getData(),i=this._symbolDraw;i.updateData(r),this.group.add(i.group)},updateTransform:function(t,e,n){var r=t.getData();this.group.dirty();var i=s().reset(t);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=a.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},"480e":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("2306"),a=n("cd84"),s=n("6d8b");function l(t,e,n){var r=t[1]-t[0];e=s.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}));var i=e.length,o=0;return function(t){for(var r=o;r=0;r--){a=e[r].interval;if(a[0]<=t&&t<=a[1]){o=r;break}}return r>=0&&r=e[0]&&t<=e[1]}}function c(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var f=i.extendChartView({type:"heatmap",render:function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):c(i)&&this._renderOnGeo(i,t,r,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,r){var i=e.coordinateSystem;i&&this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,r,i){var a,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),f=u.getAxis("y");a=c.getBandWidth(),l=f.getBandWidth()}for(var h=this.group,d=t.getData(),p="itemStyle",g="emphasis.itemStyle",v="label",y="emphasis.label",m=t.getModel(p).getItemStyle(["color"]),b=t.getModel(g).getItemStyle(),x=t.getModel(v),_=t.getModel(y),w=u.type,S="cartesian2d"===w?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],C=n;C=0?r+=g:r-=g:x>=0?r-=g:r+=g}return r}function p(t,e){var n=[],o=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,r){var c=t.getLayout(),f=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");c.__original||(c.__original=[i.clone(c[0]),i.clone(c[1])],c[2]&&c.__original.push(i.clone(c[2])));var p=c.__original;if(null!=c[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),f&&"none"!==f){var g=a(t.node1),v=d(s,p[0],g*e);o(s[0][0],s[1][0],s[2][0],v,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],v,n),s[0][1]=n[3],s[1][1]=n[4]}if(h&&"none"!==h){g=a(t.node2),v=d(s,p[1],g*e);o(s[0][0],s[1][0],s[2][0],v,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],v,n),s[1][1]=n[1],s[2][1]=n[2]}i.copy(c[0],s[0]),i.copy(c[1],s[2]),i.copy(c[2],s[1])}else{if(i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(u,l[1],l[0]),i.normalize(u,u),f&&"none"!==f){g=a(t.node1);i.scaleAndAdd(l[0],l[0],u,g*e)}if(h&&"none"!==h){g=a(t.node2);i.scaleAndAdd(l[1],l[1],u,-g*e)}i.copy(c[0],l[0]),i.copy(c[1],l[1])}}))}t.exports=p},4840:function(t,e,n){var r=n("825a"),i=n("5087"),o=n("7234"),a=n("b622"),s=a("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||o(n=r(a)[s])?e:i(n)}},"485a":function(t,e,n){var r=n("c65b"),i=n("1626"),o=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},"48a9":function(t,e,n){var r=n("6d8b"),i=n("42e5"),o=function(t,e,n,r,o,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=a||!1,i.call(this,o)};o.prototype={constructor:o},r.inherits(o,i);var a=o;t.exports=a},"48ac":function(t,e,n){var r=n("3eba"),i=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=i;t.exports=o},"48c7":function(t,e,n){var r=n("6d8b"),i=n("6cb7"),o=n("9e47"),a=n("2023"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}r.merge(s.prototype,a);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;t.exports=c},4942:function(t,e,n){var r=n("2cf4"),i=r.debugMode,o=function(){};1===i&&(o=console.error);var a=o;t.exports=a},"498a":function(t,e,n){"use strict";var r=n("23e7"),i=n("58a8").trim,o=n("c8d2");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"49bc":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.gridConfig=void 0;var r={left:"10%",right:"10%",top:60,bottom:60,style:{fill:"rgba(0, 0, 0, 0)"},rLevel:-30,animationCurve:"easeOutCubic",animationFrame:30};e.gridConfig=r},"49e8":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("d81e"),a=o.updateCenterAndZoom;r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=a(r,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&i.each(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))},"4a01":function(t,e,n){var r=n("6d8b"),i=n("1fab"),o=n("607d"),a=n("a4fe");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=r.bind,n=e(l,this),o=e(u,this),a=e(c,this),s=e(f,this),d=e(h,this);i.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,i){this.disable(),this._opt=r.defaults(r.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",d))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",a),t.off("mousewheel",s),t.off("pinch",d)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(o.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function u(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,r=this._x,i=this._y,s=e-r,l=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:r,oldY:i,newX:e,newY:n})}}function c(t){o.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function f(t){var e=g("zoomOnMouseWheel",t,this._opt),n=g("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,i=Math.abs(r),o=t.offsetX,a=t.offsetY;if(0!==r&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;d(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);d(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a})}}}function h(t){if(!a.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;d(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function d(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(o.stop(r.event),p(t,e,n,r,i))}function p(t,e,n,i,o){o.isAvailableBehavior=r.bind(g,null,n,i),t.trigger(e,o)}function g(t,e,n){var i=n[t];return!t||i&&(!r.isString(i)||e.event[i+"Key"])}r.mixin(s,i);var v=s;t.exports=v},"4a3f":function(t,e,n){var r=n("401b"),i=r.create,o=r.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),f=1/3,h=i(),d=i(),p=i();function g(t){return t>-l&&tl||t<-l}function y(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function m(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function b(t,e,n,r,i,o){var l=r+3*(e-n)-t,u=3*(n-2*e+t),h=3*(e-t),d=t-i,p=u*u-3*l*h,v=u*h-9*l*d,y=h*h-3*u*d,m=0;if(g(p)&&g(v))if(g(u))o[0]=0;else{var b=-h/u;b>=0&&b<=1&&(o[m++]=b)}else{var x=v*v-4*p*y;if(g(x)){var _=v/p,w=(b=-u/l+_,-_/2);b>=0&&b<=1&&(o[m++]=b),w>=0&&w<=1&&(o[m++]=w)}else if(x>0){var S=s(x),C=p*u+1.5*l*(-v+S),A=p*u+1.5*l*(-v-S);C=C<0?-a(-C,f):a(C,f),A=A<0?-a(-A,f):a(A,f);b=(-u-(C+A))/(3*l);b>=0&&b<=1&&(o[m++]=b)}else{var k=(2*p*u-3*l*v)/(2*s(p*p*p)),O=Math.acos(k)/3,M=s(p),E=Math.cos(O),T=(b=(-u-2*M*E)/(3*l),w=(-u+M*(E+c*Math.sin(O)))/(3*l),(-u+M*(E-c*Math.sin(O)))/(3*l));b>=0&&b<=1&&(o[m++]=b),w>=0&&w<=1&&(o[m++]=w),T>=0&&T<=1&&(o[m++]=T)}}return m}function x(t,e,n,r,i){var o=6*n-12*e+6*t,a=9*e+3*r-3*t-9*n,l=3*e-3*t,u=0;if(g(a)){if(v(o)){var c=-l/o;c>=0&&c<=1&&(i[u++]=c)}}else{var f=o*o-4*a*l;if(g(f))i[0]=-o/(2*a);else if(f>0){var h=s(f),d=(c=(-o+h)/(2*a),(-o-h)/(2*a));c>=0&&c<=1&&(i[u++]=c),d>=0&&d<=1&&(i[u++]=d)}}return u}function _(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,f=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function w(t,e,n,r,i,a,l,c,f,g,v){var m,b,x,_,w,S=.005,C=1/0;h[0]=f,h[1]=g;for(var A=0;A<1;A+=.05)d[0]=y(t,n,i,l,A),d[1]=y(e,r,a,c,A),_=o(h,d),_=0&&_=0&&c<=1&&(i[u++]=c)}}else{var f=a*a-4*o*l;if(g(f)){c=-a/(2*o);c>=0&&c<=1&&(i[u++]=c)}else if(f>0){var h=s(f),d=(c=(-a+h)/(2*o),(-a-h)/(2*o));c>=0&&c<=1&&(i[u++]=c),d>=0&&d<=1&&(i[u++]=d)}}return u}function k(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function O(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function M(t,e,n,r,i,a,l,c,f){var g,v=.005,y=1/0;h[0]=l,h[1]=c;for(var m=0;m<1;m+=.05){d[0]=S(t,n,i,m),d[1]=S(e,r,a,m);var b=o(h,d);b=0&&b=0;--r)if(e[r]===t)return!0;return!1}),n):null:n[0]},g.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"===typeof e&&e(t);else{var r=this.add(t);r&&(t[this._domName]=r)}}},g.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},g.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},g.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return o.each(this._tagNames,(function(n){var r=t.getElementsByTagName(n);e=e.concat([].slice.call(r))})),e},g.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;o.each(t,(function(t){t[e._markLabel]=d}))},g.prototype.markUsed=function(t){t&&(t[this._markLabel]=p)},g.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;o.each(e,(function(e){e[n._markLabel]!==p&&t.removeChild(e)}))}},g.prototype.getSvgProxy=function(t){return t instanceof a?c:t instanceof s?f:t instanceof l?h:c},g.prototype.getTextSvgElement=function(t){return t.__textSvgEl},g.prototype.getSvgElement=function(t){return t.__svgEl};var v=g;t.exports=v},"4b08":function(t,e,n){var r=n("7dcf"),i=r.extend({type:"dataZoom.select"});t.exports=i},"4b8b":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"4bf6":function(t,e,n){var r=n("66fc"),i=n("697e"),o=n("f934"),a=o.getLayoutRect,s=n("6d8b"),l=s.each;function u(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(t,e,n){var o=this.dimension,a=new r(o,i.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===a.type;a.onBand=s&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),t.axis=a,a.model=t,a.coordinateSystem=this,this._axis=a},update:function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();l(e.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),i.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=a({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),r=n?[0,t.width]:[0,t.height],i=e.reverse?1:0;e.setExtent(r[i],r[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),r=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord=i?function(t){return t-e}:function(t){return r-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}};var c=u;t.exports=c},"4c86":function(t,e,n){var r=n("6d8b"),i=r.each,o=n("bda7"),a=n("e0d3"),s=a.makeInner,l=n("320a"),u=n("1792"),c=n("6bd4"),f=n("a7f2"),h=s(),d={load:function(t,e,n){var r=h(e).parsed;if(r)return r;var a,s=e.specialAreas||{},d=e.geoJSON;try{a=d?o(d,n):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(t,a),i(a,(function(e){var n=e.name;u(t,e),c(t,e),f(t,e);var r=s[n];r&&e.transformTo(r.left,r.top,r.width,r.height)})),h(e).parsed={regions:a,boundingRect:p(a)}}};function p(t){for(var e,n=0;n0?a:s)}function c(t,e){return e.get(t>0?i:o)}}};t.exports=l},"4d20":function(t,e,n){var r=n("1917"),i=n("10db"),o=n("6ca1"),a=n("3397"),s=n("9c0e"),l=n("faf5"),u=Object.getOwnPropertyDescriptor;e.f=n("0bad")?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},"4d62":function(t,e,n){var r=n("2306"),i=n("6d8b"),o=n("e887");function a(t,e){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore):(i.ignore=i.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(t,e,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var o=this.childAt(0),a=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),r.initProps(o,{style:{opacity:c}},a,e)):r.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,e);var f=s.getModel("itemStyle"),h=t.getItemVisual(e,"color");o.setStyle(i.defaults({lineJoin:"round",fill:h},f.getItemStyle(["opacity"]))),o.hoverStyle=f.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),r.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");r.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,e),r.updateProps(i,{style:{x:l.x,y:l.y}},o,e),i.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=a.getModel("label"),f=a.getModel("emphasis.label"),h=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color");r.setLabelStyle(i.style,i.hoverStyle={},c,f,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!f.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:u}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},i.inherits(a,r.Group);var u=o.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),i=this._data,o=this.group;r.diff(i).add((function(t){var e=new a(r,t);r.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),o.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=i.getItemGraphicEl(t);o.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;t.exports=c},"4d63":function(t,e,n){var r=n("83ab"),i=n("da84"),o=n("e330"),a=n("94ca"),s=n("7156"),l=n("9112"),u=n("241c").f,c=n("3a9b"),f=n("44e7"),h=n("577e"),d=n("90d8"),p=n("9f7f"),g=n("aeb0"),v=n("cb2d"),y=n("d039"),m=n("1a2d"),b=n("69f3").enforce,x=n("2626"),_=n("b622"),w=n("fce3"),S=n("107c"),C=_("match"),A=i.RegExp,k=A.prototype,O=i.SyntaxError,M=o(k.exec),E=o("".charAt),T=o("".replace),I=o("".indexOf),P=o("".slice),L=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,R=/a/g,N=new A(D)!==D,j=p.MISSED_STICKY,B=p.UNSUPPORTED_Y,F=r&&(!N||j||w||S||y((function(){return R[C]=!1,A(D)!=D||A(R)==R||"/a/i"!=A(D,"i")}))),z=function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)e=E(t,r),"\\"!==e?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+E(t,++r);return i},V=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,l=!1,u=0,c="";r<=n;r++){if(e=E(t,r),"\\"===e)e+=E(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:M(L,P(t,r+1))&&(r+=2,l=!0),i+=e,u++;continue;case">"===e&&l:if(""===c||m(a,c))throw new O("Invalid capture group name");a[c]=!0,o[o.length]=[c,u],l=!1,c="";continue}l?c+=e:i+=e}return[i,o]};if(a("RegExp",F)){for(var q=function(t,e){var n,r,i,o,a,u,p=c(k,this),g=f(t),v=void 0===e,y=[],m=t;if(!p&&g&&v&&t.constructor===q)return t;if((g||c(k,t))&&(t=t.source,v&&(e=d(m))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),m=t,w&&"dotAll"in D&&(r=!!e&&I(e,"s")>-1,r&&(e=T(e,/s/g,""))),n=e,j&&"sticky"in D&&(i=!!e&&I(e,"y")>-1,i&&B&&(e=T(e,/y/g,""))),S&&(o=V(t),t=o[0],y=o[1]),a=s(A(t,e),p?this:k,q),(r||i||y.length)&&(u=b(a),r&&(u.dotAll=!0,u.raw=q(z(t),n)),i&&(u.sticky=!0),y.length&&(u.groups=y)),t!==m)try{l(a,"source",""===m?"(?:)":m)}catch(x){}return a},H=u(A),W=0;H.length>W;)g(q,A,H[W++]);k.constructor=q,q.prototype=k,v(i,"RegExp",q,{constructor:!0})}x("RegExp")},"4d64":function(t,e,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(t){return function(e,n,a){var s,l=r(e),u=o(l),c=i(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4d84":function(t,e,n){"use strict";const r=n("3d67").OrderedSet,i=n("34eb")("number-allocator:trace"),o=n("34eb")("number-allocator:error");function a(t,e){this.low=t,this.high=e}function s(t,e){if(!(this instanceof s))return new s(t,e);this.min=t,this.max=e,this.ss=new r([],(t,e)=>t.compare(e)),i("Create"),this.clear()}a.prototype.equals=function(t){return this.low===t.low&&this.high===t.high},a.prototype.compare=function(t){return this.lowt)&&(r===t?(this.ss.updateKeyByIterator(n,new a(r+1,o)),i("use():"+t),!0):o===t?(this.ss.updateKeyByIterator(n,new a(r,o-1)),i("use():"+t),!0):(this.ss.updateKeyByIterator(n,new a(t+1,o)),this.ss.insert(new a(r,t-1)),i("use():"+t),!0))}return i("use():failed"),!1},s.prototype.free=function(t){if(tthis.max)return void o("free():"+t+" is out of range");const e=new a(t,t),n=this.ss.upperBound(e);if(n.equals(this.ss.end())){if(n.equals(this.ss.begin()))return void this.ss.insert(e);n.pre();const r=n.pointer.high,i=n.pointer.high;i+1===t?this.ss.updateKeyByIterator(n,new a(r,t)):this.ss.insert(e)}else if(n.equals(this.ss.begin()))if(t+1===n.pointer.low){const e=n.pointer.high;this.ss.updateKeyByIterator(n,new a(t,e))}else this.ss.insert(e);else{const r=n.pointer.low,i=n.pointer.high;n.pre();const o=n.pointer.low,s=n.pointer.high;s+1===t?t+1===r?(this.ss.eraseElementByIterator(n),this.ss.updateKeyByIterator(n,new a(o,i))):this.ss.updateKeyByIterator(n,new a(o,t)):t+1===r?(this.ss.eraseElementByIterator(n.next()),this.ss.insert(new a(t,i))):this.ss.insert(e)}i("free():"+t)},s.prototype.clear=function(){i("clear()"),this.ss.clear(),this.ss.insert(new a(this.min,this.max))},s.prototype.intervalCount=function(){return this.ss.size()},s.prototype.dump=function(){console.log("length:"+this.ss.size());for(const t of this.ss)console.log(t)},t.exports=s},"4d85":function(t,e,n){var r=n("e46b"),i=n("4f85"),o=i.extend({type:"series.gauge",getInitialData:function(t,e){return r(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),a=o;t.exports=a},"4d88":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"4dae":function(t,e,n){var r=n("23cb"),i=n("07fa"),o=n("8418"),a=Array,s=Math.max;t.exports=function(t,e,n){for(var l=i(t),u=r(e,l),c=r(void 0===n?l:n,l),f=a(s(c-u,0)),h=0;u1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("c65b"),o=n("7b0b"),a=n("9bdd"),s=n("e95a"),l=n("68ee"),u=n("07fa"),c=n("8418"),f=n("9a1f"),h=n("35a1"),d=Array;t.exports=function(t){var e=o(t),n=l(this),p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g;v&&(g=r(g,p>2?arguments[2]:void 0));var y,m,b,x,_,w,S=h(e),C=0;if(!S||this===d&&s(S))for(y=u(e),m=n?new this(y):d(y);y>C;C++)w=v?g(e[C],C):e[C],c(m,C,w);else for(x=f(e,S),_=x.next,m=n?new this:[];!(b=i(_,x)).done;C++)w=v?a(x,g,[b.value,C],!0):b.value,c(m,C,w);return m.length=C,m}},"4e08":function(t,e,n){(function(t){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof t&&(n=t.__DEV__),"undefined"===typeof n&&(n=!0);var r=n;e.__DEV__=r}).call(this,n("c8ba"))},"4e10":function(t,e,n){var r=n("6d8b"),i=n("e46b"),o=n("4f85"),a=n("eda2"),s=a.encodeHTML,l=a.addCommas,u=n("7023"),c=n("2b17"),f=c.retrieveRawAttr,h=n("5b87"),d=n("0f99"),p=d.makeSeriesEncodeForNameBased,g=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(p,this)}),n=e.mapDimension("value"),o=r.createHashMap(),a=[],s=[],l=0,u=e.count();l":"\n";return c.join(", ")+p+s(a+" : "+o)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,r=n.getRegion(e);return r&&n.dataToPoint(r.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});r.mixin(g,u);var v=g;t.exports=v},"4e47":function(t,e,n){var r=n("6d8b"),i=n("2306"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(t,e,n){i.Group.call(this);var r=new i.Sector({z2:a});r.seriesIndex=e.seriesIndex;var o=new i.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(r),this.add(o),this.updateData(!0,t,"normal",e,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(t,e,n,o,a){this.node=e,e.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),c=r.extend({},u);c.label=null;var h=f(e,o,a);p(e,o,h);var d,g=l.getModel("itemStyle").getItemStyle();if("normal"===n)d=g;else{var v=l.getModel(n+".itemStyle").getItemStyle();d=r.merge(v,g)}d=r.defaults({lineJoin:"bevel",fill:d.fill||h},d),t?(s.setShape(c),s.shape.r=u.r0,i.updateProps(s,{shape:{r:u.r}},o,e.dataIndex),s.useStyle(d)):"object"===typeof d.fill&&d.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:c},o),s.useStyle(d)):i.updateProps(s,{shape:c,style:d},o),this._updateLabel(o,h,n);var y=l.getShallow("cursor");if(y&&s.attr("cursor",y),t){var m=o.getShallow("highlightPolicy");this._initEvents(s,e,o,m)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,i.setHoverStyle(this)},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):d(n,e.node,t)?n.piece.childAt(0).trigger("highlight"):t!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter"),c=u?n:"normal",f=r.retrieve(t.getFormattedLabel(this.node.dataIndex,c,null,null,"label"),this.node.name);!1===O("show")&&(f="");var h=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var p=h.endAngle-h.startAngle;null!=d&&Math.abs(p)Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(v=h.r0+_,y>Math.PI/2&&(w="right")):"right"===w&&(v=h.r-_,y>Math.PI/2&&(w="left")):(v=(h.r+h.r0)/2,w="center"),g.attr("style",{text:f,textAlign:w,textVerticalAlign:O("verticalAlign")||"middle",opacity:O("opacity")});var S=v*m+h.cx,C=v*b+h.cy;g.attr("position",[S,C]);var A=O("rotate"),k=0;function O(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===A?(k=-y,k<-Math.PI/2&&(k+=Math.PI)):"tangential"===A?(k=Math.PI/2-y,k>Math.PI/2?k-=Math.PI:k<-Math.PI/2&&(k+=Math.PI)):"number"===typeof A&&(k=A*Math.PI/180),g.attr("rotation",k)},u._initEvents=function(t,e,n,r){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,o=function(){i.onEmphasis(r)},a=function(){i.onNormal()},s=function(){i.onDownplay()},l=function(){i.onHighlight()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},r.inherits(l,i.Group);var c=l;function f(t,e,n){var r=t.getVisual("color"),i=t.getVisual("visualMeta");i&&0!==i.length||(r=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(r)return r;if(0===t.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[h(t)%a],o}function h(t){var e=t;while(e.depth>1)e=e.parentNode;var n=t.getAncestors()[0];return r.indexOf(n.children,e)}function d(t,e,n){return n!==o.NONE&&(n===o.SELF?t===e:n===o.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function p(t,e,n){var r=e.getData();r.setItemVisual(t.dataIndex,"color",n)}t.exports=c},"4e71":function(t,e,n){n("e198")("observable")},"4e82":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("59ed"),a=n("7b0b"),s=n("07fa"),l=n("083a"),u=n("577e"),c=n("d039"),f=n("addb"),h=n("a640"),d=n("04d1"),p=n("d998"),g=n("2d00"),v=n("512ce"),y=[],m=i(y.sort),b=i(y.push),x=c((function(){y.sort(void 0)})),_=c((function(){y.sort(null)})),w=h("sort"),S=!c((function(){if(g)return g<70;if(!(d&&d>3)){if(p)return!0;if(v)return v<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)y.push({k:e+r,v:n})}for(y.sort((function(t,e){return e.v-t.v})),r=0;ru(n)?1:-1}};r({target:"Array",proto:!0,forced:C},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var n,r,i=[],u=s(e);for(r=0;r',p=window.open();p.document.write(d)}else{var g=document.createElement("a");g.download=i+"."+a,g.target="_blank",g.href=s;var v=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(v)}},o.register("saveAsImage",s);var u=s;t.exports=u},"4ea4":function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"4eb1":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.radar=g;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("9d85"),c=n("5557"),f=n("a870"),h=n("becb");function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n=e.series;n||(n=[]);var r=(0,h.initNeedSeries)(n,u.radarConfig,"radar");r=v(r,t),r=y(r,t),r=m(r,t),(0,l.doUpdate)({chart:t,series:r,key:"radar",getGraphConfig:b,getStartGraphConfig:x,beforeChange:S}),(0,l.doUpdate)({chart:t,series:r,key:"radarPoint",getGraphConfig:C,getStartGraphConfig:A}),(0,l.doUpdate)({chart:t,series:r,key:"radarLabel",getGraphConfig:M})}function v(t,e){var n=e.radarAxis;if(!n)return[];var r=n.indicator,i=n.axisLineAngles,o=n.radius,a=n.centerPos;return t.forEach((function(t){var e=t.data;t.dataRadius=[],t.radarPosition=r.map((function(n,r){var l=n.max,u=n.min,f=e[r];"number"!==typeof l&&(l=f),"number"!==typeof u&&(u=0),"number"!==typeof f&&(f=u);var h=(f-u)/(l-u)*o;return t.dataRadius[r]=h,c.getCircleRadianPoint.apply(void 0,(0,s["default"])(a).concat([h,i[r]]))}))})),t}function y(t,e){var n=e.radarAxis;if(!n)return[];var r=n.centerPos,i=n.axisLineAngles;return t.forEach((function(t){var e=t.dataRadius,n=t.label,o=n.labelGap;t.labelPosition=e.map((function(t,e){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([t+o,i[e]]))}))})),t}function m(t,e){var n=e.radarAxis;if(!n)return[];var r=(0,a["default"])(n.centerPos,2),i=r[0],o=r[1];return t.forEach((function(t){var e=t.labelPosition,n=e.map((function(t){var e=(0,a["default"])(t,2),n=e[0],r=e[1],s=n>i?"left":"right",l=r>o?"top":"bottom";return{textAlign:s,textBaseline:l}}));t.labelAlign=n})),t}function b(t){var e=t.animationCurve,n=t.animationFrame,r=t.rLevel;return[{name:"polyline",index:r,animationCurve:e,animationFrame:n,shape:_(t),style:w(t)}]}function x(t,e){var n=e.chart.radarAxis.centerPos,r=b(t)[0],i=r.shape.points.length,o=new Array(i).fill(0).map((function(t){return(0,s["default"])(n)}));return r.shape.points=o,[r]}function _(t){var e=t.radarPosition;return{points:e,close:!0}}function w(t){var e=t.radarStyle,n=t.color,r=(0,f.getRgbaValue)(n);r[3]=.5;var i={stroke:n,fill:(0,f.getColorFromRgbValue)(r)};return(0,h.deepMerge)(i,e)}function S(t,e){var n=e.shape,r=t.shape.points,i=r.length,o=n.points.length;if(o>i){var a=r.slice(-1)[0],l=new Array(o-i).fill(0).map((function(t){return(0,s["default"])(a)}));r.push.apply(r,(0,s["default"])(l))}else o":"\n",h="richText"===r,d={},p=0;function g(n){var a=i.reduce(n,(function(t,e,n){var r=y.getDimensionInfo(n);return t|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),f=[];function g(t,n){var i=y.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var g=i.type,v="sub"+o.seriesIndex+"at"+p,m=c({color:w,type:"subItem",renderMode:r,markerId:v}),b="string"===typeof m?m:m.content,x=(a?b+l(i.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));x&&f.push(x),h&&(d[v]=w,++p)}}m.length?i.each(m,(function(e){g(C(y,t,e),e)})):i.each(n,g);var v=a?h?"\n":"
":"",b=v+f.join(v||", ");return{renderMode:r,content:b,style:d}}function v(t){return{renderMode:r,content:l(u(t)),style:d}}var y=this.getData(),m=y.mapDimension("defaultedTooltip",!0),b=m.length,x=this.getRawValue(t),_=i.isArray(x),w=y.getItemVisual(t,"color");i.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=b>1||_&&!b?g(x):v(b?C(y,t,m[0]):_?x[0]:x),A=S.content,k=o.seriesIndex+"at"+p,O=c({color:w,type:"item",renderMode:r,markerId:k});d[k]=w,++p;var M=y.getName(t),E=this.name;f.isNameSpecified(this)||(E=""),E=E?l(E)+(e?": ":a):"";var T="string"===typeof O?O:O.content,I=e?T+E+A:E+T+(M?l(M)+": "+A:A);return{html:I,markers:d}},isAnimationEnabled:function(){if(o.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var r=this.ecModel,i=d.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function O(t){var e=t.name;f.isNameSpecified(t)||(t.name=M(t)||e)}function M(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),r=[];return i.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}function E(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),I}function I(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function P(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(L,e))}))}function L(t){var e=D(t);e&&e.setOutputEnd(this.count())}function D(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.mixin(k,p),i.mixin(k,d);var R=k;t.exports=R},"4fac":function(t,e,n){var r=n("620b"),i=n("9c2c");function o(t,e,n){var o=e.points,a=e.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=i(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],f=s[2*u+1],h=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],f[0],f[1],h[0],h[1])}}else{"spline"===a&&(o=r(o,n)),t.moveTo(o[0][0],o[0][1]);u=1;for(var d=o.length;u0?i(r(t),9007199254740991):0}},"50e5":function(t,e,n){var r=n("6d8b"),i=n("eda2"),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(t){return r.indexOf(a,t)>=0}function l(t,e){t=t.slice();var n=r.map(t,i.capitalFirst);e=(e||[]).slice();var o=r.map(e,i.capitalFirst);return function(i,a){r.each(t,(function(t,r){for(var s={name:t,capital:n[r]},l=0;l=0}function o(t,i){var o=!1;return e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]&&(o=!0)}))})),o}function a(t,i){i.nodes.push(t),e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]=!0}))}))}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=u,e.createLinkedNodesFinder=c},"511f":function(t,e,n){n("0b99"),n("658f"),t.exports=n("fcd4").f("iterator")},"512c":function(t,e,n){var r=n("ef08"),i=n("5524"),o=n("9c0c"),a=n("051b"),s=n("9c0e"),l="prototype",u=function(t,e,n){var c,f,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,b=p?i:i[e]||(i[e]={}),x=b[l],_=p?r:g?r[e]:(r[e]||{})[l];for(c in p&&(n=e),n)f=!d&&_&&void 0!==_[c],f&&s(b,c)||(h=f?_[c]:n[c],b[c]=p&&"function"!=typeof _[c]?n[c]:y&&f?o(h,r):m&&_[c]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((b.virtual||(b.virtual={}))[c]=h,t&u.R&&x&&!x[c]&&a(x,c,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"512ce":function(t,e,n){var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},5156:function(t,e,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n("1696");t.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},"51e9":function(t,e,n){"use strict";const r=n("f214").Duplex,i=n("3fb5"),o=n("33013");function a(t){if(!(this instanceof a))return new a(t);if("function"===typeof t){this._callback=t;const e=function(t){this._callback&&(this._callback(t),this._callback=null)}.bind(this);this.on("pipe",(function(t){t.on("error",e)})),this.on("unpipe",(function(t){t.removeListener("error",e)})),t=null}o._init.call(this,t),r.call(this)}i(a,r),Object.assign(a.prototype,o.prototype),a.prototype._new=function(t){return new a(t)},a.prototype._write=function(t,e,n){this._appendBuffer(t),"function"===typeof n&&n()},a.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)},a.prototype.end=function(t){r.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)},a.prototype._destroy=function(t,e){this._bufs.length=0,this.length=0,e(t)},a.prototype._isBufferList=function(t){return t instanceof a||t instanceof o||a.isBufferList(t)},a.isBufferList=o.isBufferList,t.exports=a,t.exports.BufferListStream=a,t.exports.BufferList=o},"51eb":function(t,e,n){"use strict";var r=n("825a"),i=n("485a"),o=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw o("Incorrect hint");return i(this,t)}},5270:function(t,e,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),a=n("2444"),s=n("7a77");function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){l(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return l(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(l(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"527a":function(t,e,n){var r=n("6d8b"),i=n("3842");function o(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,r={},o=n.getRect();r.rect=o;var s=t.get("boundaryGap"),l=n.getAxis();if(r.boundaryGap=s,"horizontal"===l.orient){s[0]=i.parsePercent(s[0],o.height),s[1]=i.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];a(e,t,u)}else{s[0]=i.parsePercent(s[0],o.width),s[1]=i.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];a(e,t,c)}e.setLayout("layoutInfo",r)}))}function a(t,e,n){if(t.count())for(var i,o=e.coordinateSystem,a=e.getLayerSeries(),l=t.mapDimension("single"),u=t.mapDimension("value"),c=r.map(a,(function(e){return r.map(e.indices,(function(e){var n=o.dataToPoint(t.get(l,e));return n[1]=t.get(u,e),n}))})),f=s(c),h=f.y0,d=n/f.max,p=a.length,g=a[0].indices.length,v=0;vo&&(o=u),r.push(u)}for(var c=0;co&&(o=h)}return a.y0=i,a.max=o,a}t.exports=o},5319:function(t,e,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),a=n("d784"),s=n("d039"),l=n("825a"),u=n("1626"),c=n("7234"),f=n("5926"),h=n("50c4"),d=n("577e"),p=n("1d80"),g=n("8aa5"),v=n("dc4a"),y=n("0cb2"),m=n("14c3"),b=n("b622"),x=b("replace"),_=Math.max,w=Math.min,S=o([].concat),C=o([].push),A=o("".indexOf),k=o("".slice),O=function(t){return void 0===t?t:String(t)},M=function(){return"$0"==="a".replace(/./,"$0")}(),E=function(){return!!/./[x]&&""===/./[x]("a","$0")}(),T=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}));a("replace",(function(t,e,n){var o=E?"$":"$0";return[function(t,n){var r=p(this),o=c(t)?void 0:v(t,x);return o?i(o,t,r,n):i(e,d(r),t,n)},function(t,i){var a=l(this),s=d(t);if("string"==typeof i&&-1===A(i,o)&&-1===A(i,"$<")){var c=n(e,a,s,i);if(c.done)return c.value}var p=u(i);p||(i=d(i));var v=a.global;if(v){var b=a.unicode;a.lastIndex=0}var x=[];while(1){var M=m(a,s);if(null===M)break;if(C(x,M),!v)break;var E=d(M[0]);""===E&&(a.lastIndex=g(s,h(a.lastIndex),b))}for(var T="",I=0,P=0;P=I&&(T+=k(s,I,D)+F,I=D+L.length)}return T+k(s,I)}]}),!T||!M||E)},"53a8":function(t,e){t.exports=r;var n=Object.prototype.hasOwnProperty;function r(){for(var t={},e=0;e-1?i(n):n}},"54fb":function(t,e){function n(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),n=t.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:r,color:i})}))}t.exports=n},"551f":function(t,e,n){var r=n("282b"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(t,e){var n=i(this,t,e),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=o},5522:function(t,e,n){n("23e0"),n("1748"),n("6c12")},5524:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n("a4d3"),n("4de4"),n("14d9"),n("e439"),n("dbb4"),n("b64b"),n("d3b7"),n("159b");var r=n("ade3");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];if(!t)return t;var n=JSON.parse,r=JSON.stringify;if(!e)return n(r(t));var i=t instanceof Array?[]:{};if(t&&"object"===(0,a["default"])(t))for(var o in t)t.hasOwnProperty(o)&&(t[o]&&"object"===(0,a["default"])(t[o])?i[o]=p(t[o],!0):i[o]=t[o]);return i}function g(t){return t.map((function(t){var e=(0,o["default"])(t,2),n=e[0],r=e[1];return[parseInt(n)+.5,parseInt(r)+.5]}))}function v(t,e,n,r){return y(t,[e,n])<=r}function y(t,e){var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),u=a[0],c=a[1],f=s(r-u),h=s(i-c);return l(f*f+h*h)}function m(t,e){for(var n=0,r=(0,o["default"])(t,2),i=r[0],a=r[1],s=e.length,l=1,u=e[0];l<=s;l++){var c=e[l%s];if(i>h(u[0],c[0])&&i<=f(u[0],c[0])&&a<=f(u[1],c[1])&&u[0]!==c[0]){var d=(i-u[0])*(c[1]-u[1])/(c[0]-u[0])+u[1];(u[1]===c[1]||a<=d)&&n++}u=c}return n%2===1}function b(t,e,n,r,i,a,s){if(!t)return!1;if(y(t,[e,n])>r)return!1;if(!s){var l=p([a,i]),u=(0,o["default"])(l,2);i=u[0],a=u[1]}var c=i>a;if(c){var f=[a,i];i=f[0],a=f[1]}var h=a-i;if(h>=2*d)return!0;var g=(0,o["default"])(t,2),v=g[0],m=g[1],b=O(e,n,r,i),_=(0,o["default"])(b,2),w=_[0],S=_[1],C=O(e,n,r,a),A=(0,o["default"])(C,2),k=A[0],M=A[1],E=[v-e,m-n],T=[w-e,S-n],I=[k-e,M-n],P=h>d;if(P){var L=p([I,T]),D=(0,o["default"])(L,2);T=D[0],I=D[1]}var R=x(T,E)&&!x(I,E);return P&&(R=!R),c&&(R=!R),R}function x(t,e){var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return-i*s+r*l>0}function _(t,e,n){var r=n/2,a=e.map((function(t){var e=(0,o["default"])(t,2),n=e[0],i=e[1];return[n,i-r]})),s=e.map((function(t){var e=(0,o["default"])(t,2),n=e[0],i=e[1];return[n,i+r]})),l=[].concat((0,i["default"])(a),(0,i["default"])(s.reverse()));return m(t,l)}function w(t,e,n,r,i){var a=(0,o["default"])(t,2),s=a[0],l=a[1];return!(se+r)&&!(l>n+i)))}function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!e)return!1;if(t%360===0)return e;var r=(0,o["default"])(e,2),i=r[0],a=r[1],s=(0,o["default"])(n,2),l=s[0],f=s[1];return t*=d/180,[(i-l)*c(t)-(a-f)*u(t)+l,(i-l)*u(t)+(a-f)*c(t)+f]}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!e)return!1;if(1===t)return e;var r=(0,o["default"])(e,2),i=r[0],a=r[1],s=(0,o["default"])(n,2),l=s[0],u=s[1],c=(0,o["default"])(t,2),f=c[0],h=c[1],d=i-l,p=a-u;return[d*f+l,p*h+u]}function A(t,e){if(!t||!e)return!1;var n=(0,o["default"])(e,2),r=n[0],i=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[r+s,i+l]}function k(t,e,n){if(!t||!e||!n)return!1;var r=(0,o["default"])(t,2),i=r[0],a=r[1],u=(0,o["default"])(e,2),c=u[0],f=u[1],h=(0,o["default"])(n,2),d=h[0],p=h[1],g=p-f,v=c-d,y=f*(d-c)-c*(p-f),m=s(g*i+v*a+y),b=l(g*g+v*v);return m/b}function O(t,e,n,r){return[t+c(r)*n,e+u(r)*n]}function M(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*d,o=2*d/r,a=new Array(r).fill("").map((function(t,e){return e*o+i}));return a.map((function(r){return O(t,e,n,r)}))}var E={deepClone:p,eliminateBlur:g,checkPointIsInCircle:v,checkPointIsInPolygon:m,checkPointIsInSector:b,checkPointIsNearPolyline:_,getTwoPointDistance:y,getRotatePointPos:S,getScalePointPos:C,getTranslatePointPos:A,getCircleRadianPoint:O,getRegularPolygonPoints:M,getDistanceBetweenPointAndLine:k};e["default"]=E},5576:function(t,e,n){var r=n("6d8b"),i=n("4a01"),o=n("88b3"),a="\0_ec_dataZoom_roams";function s(t,e){var n=c(t),i=e.dataZoomId,a=e.coordId;r.each(n,(function(t,n){var o=t.dataZoomInfos;o[i]&&r.indexOf(e.allCoordIds,a)<0&&(delete o[i],t.count--)})),h(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=f(t,s),s.dispatchAction=r.curry(d,t)),!s.dataZoomInfos[i]&&s.count++,s.dataZoomInfos[i]=e;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(s,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function l(t,e){var n=c(t);r.each(n,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),h(n)}function u(t){return t.type+"\0_"+t.id}function c(t){var e=t.getZr();return e[a]||(e[a]={})}function f(t,e){var n=new i(t.getZr());return r.each(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(n){var i=[];r.each(e.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var o=(r.getRange||{})[t],a=o&&o(e.controller,n);!r.dataZoomModel.get("disabled",!0)&&a&&i.push({dataZoomId:r.dataZoomId,start:a[0],end:a[1]})}})),i.length&&e.dispatchAction(i)}))})),n}function h(t){r.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function d(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function p(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return r.each(t,(function(t){var r=t.dataZoomModel,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),o&=r.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}e.register=s,e.unregister=l,e.generateCoordId=u},"55ac":function(t,e,n){var r=n("6d8b");function i(t,e,n){if(t&&r.indexOf(e,t.type)>=0){var i=n.getData().tree.root,o=t.targetNode;if("string"===typeof o&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function a(t,e){var n=o(t);return r.indexOf(n,e)>=0}function s(t,e){var n=[];while(t){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}e.retrieveTargetInfo=i,e.getPathToRoot=o,e.aboveViewRoot=a,e.wrapTreePathInfo=s},"562e":function(t,e,n){var r=n("6d8b");function i(t){null!=t&&r.extend(this,t),this.otherDims={}}var o=i;t.exports=o},"566b":function(t,e,n){var r=n("d633");function i(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function o(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},n=t.name||"Function wrapped with `once`";return e.onceError=n+" shouldn't be called more than once",e.called=!1,e}t.exports=r(i),t.exports.strict=r(o),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})}))},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.3",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE",source:"https://github.com/zloirock/core-js"})},5693:function(t,e){function n(t,e){var n,r,i,o,a,s=e.x,l=e.y,u=e.width,c=e.height,f=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof f?n=r=i=o=f:f instanceof Array?1===f.length?n=r=i=o=f[0]:2===f.length?(n=i=f[0],r=o=f[1]):3===f.length?(n=f[0],r=o=f[1],i=f[2]):(n=f[0],r=f[1],i=f[2],o=f[3]):n=r=i=o=0,n+r>u&&(a=n+r,n*=u/a,r*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),r+i>c&&(a=r+i,r*=c/a,i*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-r,l),0!==r&&t.arc(s+u-r,l+r,r,-Math.PI/2,0),t.lineTo(s+u,l+c-i),0!==i&&t.arc(s+u-i,l+c-i,i,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}e.buildPath=n},"56ef":function(t,e,n){var r=n("d066"),i=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},"577e":function(t,e,n){var r=n("f5df"),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},"57b9":function(t,e,n){var r=n("c65b"),i=n("d066"),o=n("b622"),a=n("cb2d");t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return r(n,this)}),{arity:1})}},5866:function(t,e,n){var r=n("ef2b"),i=r.forceLayout,o=n("1c5f"),a=o.simpleLayout,s=n("94e4"),l=s.circularLayout,u=n("3842"),c=u.linearMap,f=n("401b"),h=n("6d8b"),d=n("0c37"),p=d.getCurvenessForEdge;function g(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},r=t.getGraph(),o=r.data,s=r.edgeData,u=t.getModel("force"),d=u.get("initLayout");t.preservedPoints?o.each((function(t){var e=o.getId(t);o.setItemLayout(t,n[e]||[NaN,NaN])})):d&&"none"!==d?"circular"===d&&l(t,"value"):a(t);var g=o.getDataExtent("value"),v=s.getDataExtent("value"),y=u.get("repulsion"),m=u.get("edgeLength");h.isArray(y)||(y=[y,y]),h.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var b=o.mapArray("value",(function(t,e){var n=o.getItemLayout(e),r=c(t,g,y);return isNaN(r)&&(r=(y[0]+y[1])/2),{w:r,rep:r,fixed:o.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),x=s.mapArray("value",(function(e,n){var i=r.getEdgeByIndex(n),o=c(e,v,m);isNaN(o)&&(o=(m[0]+m[1])/2);var a=i.getModel(),s=h.retrieve3(a.get("lineStyle.curveness"),-p(i,t,n,!0),0);return{n1:b[i.node1.dataIndex],n2:b[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),_=(e=t.coordinateSystem,e.getBoundingRect()),w=i(b,x,{rect:_,gravity:u.get("gravity"),friction:u.get("friction")}),S=w.step;w.step=function(t){for(var e=0,i=b.length;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function y(t){return Array.isArray(t)}function m(t){return"undefined"===typeof t}function b(t){return"object"===a(t)}function x(t){return"object"===a(t)&&null!==t}function _(t){return"function"===typeof t}function w(t){return"string"===typeof t}function S(){try{return!m(window)}catch(t){return!1}}var C=S(),A=C?window:t,k=A.console||{};function O(t){k&&k.warn&&k.warn(t)}var M=function(){return O("This vue app/component has no vue-meta configuration")},E={title:void 0,titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},base:[],link:[],meta:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},T="_vueMeta",I="metaInfo",P="data-vue-meta",L="data-vue-meta-server-rendered",D="vmid",R="template",N="content",j="ssr",B=10,F=!0,z={keyName:I,attribute:P,ssrAttribute:L,tagIDKeyName:D,contentKeyName:N,metaTemplateKeyName:R,waitOnDestroyed:F,debounceWait:B,ssrAppId:j},V=Object.keys(E),q=[V[12],V[13]],H=[V[1],V[2],"changed"].concat(q),W=[V[3],V[4],V[5]],G=["link","style","script"],U=["base","meta","link"],$=["noscript","script","style"],K=["innerHTML","cssText","json"],Y=["once","skip","template"],Z=["body","pbody"],X=["allowfullscreen","amp","amp-boilerplate","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],Q=null;function J(t,e,n){var r=t.debounceWait;e[T].initialized||!e[T].initializing&&"watcher"!==n||(e[T].initialized=null),e[T].initialized&&!e[T].pausing&&tt((function(){e.$meta().refresh()}),r)}function tt(t,e){if(e=void 0===e?10:e,e)return clearTimeout(Q),Q=setTimeout((function(){t()}),e),Q;t()}function et(t,e,n){if(Array.prototype.find)return t.find(e,n);for(var r=0;r/g,">"],[/"/g,"""],[/'/g,"'"]],wt=[[/&/g,"&"],[//g,">"],[/"/g,'"'],[/'/g,"'"]];function St(t,e,n,r){var i=e.tagIDKeyName,o=n.doEscape,a=void 0===o?function(t){return t}:o,s={};for(var l in t){var u=t[l];if(it(H,l))s[l]=u;else{var c=q[0];if(n[c]&&it(n[c],l))s[l]=u;else{var f=t[i];if(f&&(c=q[1],n[c]&&n[c][f]&&it(n[c][f],l)))s[l]=u;else if(w(u)?s[l]=a(u):y(u)?s[l]=u.map((function(t){return x(t)?St(t,e,n,!0):a(t)})):x(u)?s[l]=St(u,e,n,!0):s[l]=u,r){var h=a(l);l!==h&&(s[h]=s[l],delete s[l])}}}}return s}function Ct(t,e,n){n=n||[];var r={doEscape:function(t){return n.reduce((function(t,e){return t.replace(e[0],e[1])}),t)}};return q.forEach((function(t,n){if(0===n)xt(e,t);else if(1===n)for(var i in e[t])xt(e[t],i);r[t]=e[t]})),St(e,t,r)}function At(t,e,n,r){var i=t.component,o=t.metaTemplateKeyName,a=t.contentKeyName;return!0!==n&&!0!==e[o]&&(m(n)&&e[o]&&(n=e[o],e[o]=!0),n?(m(r)&&(r=e[a]),e[a]=_(n)?n.call(i,r):n.replace(/%s/g,r),!0):(delete e[o],!1))}function kt(t,e,n){var r=t.component,i=t.tagIDKeyName,o=t.metaTemplateKeyName,a=t.contentKeyName,s=[];return e.length||n.length?(e.forEach((function(t,e){if(t[i]){var l=nt(n,(function(e){return e[i]===t[i]})),u=n[l];if(-1!==l){if(a in u&&void 0===u[a]||"innerHTML"in u&&void 0===u.innerHTML)return s.push(t),void n.splice(l,1);if(null!==u[a]&&null!==u.innerHTML){var c=t[o];if(c){var f=u[o];if(!f)return At({component:r,metaTemplateKeyName:o,contentKeyName:a},u,c),void(u.template=!0);u[a]||At({component:r,metaTemplateKeyName:o,contentKeyName:a},u,void 0,t[a])}}else n.splice(l,1)}else s.push(t)}else s.push(t)})),s.concat(n)):s}var Ot=!1;function Mt(t,e,n){return n=n||{},void 0===e.title&&delete e.title,W.forEach((function(t){if(e[t])for(var n in e[t])n in e[t]&&void 0===e[t][n]&&(it(X,n)&&!Ot&&(O("VueMeta: Please note that since v2 the value undefined is not used to indicate boolean attributes anymore, see migration guide for details"),Ot=!0),delete e[t][n])})),i()(t,e,{arrayMerge:function(t,e){return kt(n,t,e)}})}function Et(t,e){return Tt(t||{},e,E)}function Tt(t,e,n){if(n=n||{},e._inactive)return n;t=t||{};var r=t,i=r.keyName,o=e.$metaInfo,a=e.$options,s=e.$children;if(a[i]){var l=o||a[i];b(l)&&(n=Mt(n,l,t))}return s.length&&s.forEach((function(e){ht(e)&&(n=Tt(t,e,n))})),n}var It=[];function Pt(t){return"complete"===(t||document).readyState}function Lt(t,e){1===arguments.length&&(e=t,t=""),It.push([t,e])}function Dt(t,e,n,r){var i=t.tagIDKeyName,o=!1;return n.forEach((function(t){t[i]&&t.callback&&(o=!0,Lt("".concat(e,"[data-").concat(i,'="').concat(t[i],'"]'),t.callback))})),r&&o?Rt():o}function Rt(){Pt()?Nt():document.onreadystatechange=function(){Nt()}}function Nt(t){It.forEach((function(e){var n=e[0],r=e[1],i="".concat(n,'[onload="this.__vm_l=1"]'),o=[];t||(o=rt(ot(i))),t&&t.matches(i)&&(o=[t]),o.forEach((function(t){if(!t.__vm_cb){var e=function(){t.__vm_cb=!0,ct(t,"onload"),r(t)};t.__vm_l?e():t.__vm_ev||(t.__vm_ev=!0,t.addEventListener("load",e))}}))}))}var jt,Bt={};function Ft(t,e,n,r,i){var o=e||{},a=o.attribute,s=i.getAttribute(a);s&&(Bt[n]=JSON.parse(decodeURI(s)),ct(i,a));var l=Bt[n]||{},u=[];for(var c in l)void 0!==l[c]&&t in l[c]&&(u.push(c),r[c]||delete l[c][t]);for(var f in r){var h=l[f];h&&h[t]===r[f]||(u.push(f),void 0!==r[f]&&(l[f]=l[f]||{},l[f][t]=r[f]))}for(var d=0,p=u;d1){var d=[];r=r.filter((function(t){var e=JSON.stringify(t),n=!it(d,e);return d.push(e),n}))}r.forEach((function(e){if(!e.skip){var r=document.createElement(n);e.once||r.setAttribute(s,t),Object.keys(e).forEach((function(t){if(!it(Y,t))if("innerHTML"!==t)if("json"!==t)if("cssText"!==t)if("callback"!==t){var n=it(u,t)?"data-".concat(t):t,i=it(X,t);if(!i||e[t]){var o=i?"":e[t];r.setAttribute(n,o)}}else r.onload=function(){return e[t](r)};else r.styleSheet?r.styleSheet.cssText=e.cssText:r.appendChild(document.createTextNode(e.cssText));else r.innerHTML=JSON.stringify(e.json);else r.innerHTML=e.innerHTML}));var i,o=h[st(e)],a=o.some((function(t,e){return i=e,r.isEqualNode(t)}));a&&(i||0===i)?o.splice(i,1):c.push(r)}}));var p=[];for(var g in h)Array.prototype.push.apply(p,h[g]);return p.forEach((function(t){t.parentNode.removeChild(t)})),c.forEach((function(t){t.hasAttribute("data-body")?o.appendChild(t):t.hasAttribute("data-pbody")?o.insertBefore(t,o.firstChild):i.appendChild(t)})),{oldTags:p,newTags:c}}function qt(t,e,n){e=e||{};var r=e,i=r.ssrAttribute,o=r.ssrAppId,a={},s=at(a,"html");if(t===o&&s.hasAttribute(i)){ct(s,i);var l=!1;return G.forEach((function(t){n[t]&&Dt(e,t,n[t])&&(l=!0)})),l&&Rt(),!1}var u={},c={};for(var f in n)if(!it(H,f))if("title"!==f){if(it(W,f)){var h=f.substr(0,4);Ft(t,e,f,n[f],at(a,h))}else if(y(n[f])){var d=Vt(t,e,f,n[f],at(a,"head"),at(a,"body")),p=d.oldTags,g=d.newTags;g.length&&(u[f]=g,c[f]=p)}}else zt(n.title);return{tagsAdded:u,tagsRemoved:c}}function Ht(t,e,n){return{set:function(r){return Wt(t,e,n,r)},remove:function(){return Gt(t,e,n)}}}function Wt(t,e,n,r){if(t&&t.$el)return qt(e,n,r);jt=jt||{},jt[e]=r}function Gt(t,e,n){if(t&&t.$el){var r,i={},o=v(W);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.substr(0,4);Ft(e,n,a,{},at(i,s))}}catch(l){o.e(l)}finally{o.f()}return ut(n,e)}jt[e]&&(delete jt[e],$t())}function Ut(){return jt}function $t(t){!t&&Object.keys(jt).length||(jt=void 0)}function Kt(t,e,n,r){t=t||{},n=n||[];var i=t,o=i.tagIDKeyName;return e.title&&(e.titleChunk=e.title),e.titleTemplate&&"%s"!==e.titleTemplate&&At({component:r,contentKeyName:"title"},e,e.titleTemplate,e.titleChunk||""),e.base&&(e.base=Object.keys(e.base).length?[e.base]:[]),e.meta&&(e.meta=e.meta.filter((function(t,e,n){var r=!!t[o];if(!r)return!0;var i=e===nt(n,(function(e){return e[o]===t[o]}));return i})),e.meta.forEach((function(e){return At(t,e)}))),Ct(t,e,n)}function Yt(t,e){if(e=e||{},!t[T])return M(),{};var n=Et(e,t),r=Kt(e,n,wt,t),i=t[T].appId,o=qt(i,e,r);o&&_(r.changed)&&(r.changed(r,o.tagsAdded,o.tagsRemoved),o={addedTags:o.tagsAdded,removedTags:o.tagsRemoved});var a=Ut();if(a){for(var s in a)qt(s,e,a[s]),delete a[s];$t(!0)}return{vm:t,metaInfo:r,tags:o}}function Zt(t,e,n,r){var i=r.addSsrAttribute,o=t||{},a=o.attribute,s=o.ssrAttribute,l="";for(var u in n){var f=n[u],h=[];for(var d in f)h.push.apply(h,c([].concat(f[d])));h.length&&(l+=X.includes(u)&&h.some(Boolean)?"".concat(u):"".concat(u,'="').concat(h.join(" "),'"'),l+=" ")}return l&&(l+="".concat(a,'="').concat(encodeURI(JSON.stringify(n)),'"')),"htmlAttrs"===e&&i?"".concat(s).concat(l?" ":"").concat(l):l}function Xt(t,e,n,r){var i=r||{},o=i.ln;return n?"<".concat(e,">").concat(n,"").concat(o?"\n":""):""}function Qt(t,e,n,r){var i=t||{},o=i.ssrAppId,a=i.attribute,s=i.tagIDKeyName,l=r||{},u=l.appId,f=l.isSSR,h=void 0===f||f,d=l.body,p=void 0!==d&&d,g=l.pbody,v=void 0!==g&&g,y=l.ln,m=void 0!==y&&y,b=[s].concat(c(Z));return n&&n.length?n.reduce((function(t,n){if(n.skip)return t;var r=Object.keys(n);if(0===r.length)return t;if(Boolean(n.body)!==p||Boolean(n.pbody)!==v)return t;var i=n.once?"":" ".concat(a,'="').concat(u||(!1===h?"1":o),'"');for(var s in n)if(!K.includes(s)&&!Y.includes(s))if("callback"!==s){var l="";b.includes(s)&&(l="data-");var c=!l&&X.includes(s);c&&!n[s]||(i+=" ".concat(l).concat(s)+(c?"":'="'.concat(n[s],'"')))}else i+=' onload="this.__vm_l=1"';var f="";n.json&&(f=JSON.stringify(n.json));var d=n.innerHTML||n.cssText||f,g=!U.includes(e),y=g&&$.includes(e);return"".concat(t,"<").concat(e).concat(i).concat(!y&&g?"/":"",">")+(y?"".concat(d,""):"")+(m?"\n":"")}),""):""}function Jt(t,e,n){var r={data:e,extraData:void 0,addInfo:function(t,e){this.extraData=this.extraData||{},this.extraData[t]=e},callInjectors:function(t){var e=this.injectors;return(t.body||t.pbody?"":e.title.text(t))+e.meta.text(t)+e.base.text(t)+e.link.text(t)+e.style.text(t)+e.script.text(t)+e.noscript.text(t)},injectors:{head:function(t){return r.callInjectors(u(u({},n),{},{ln:t}))},bodyPrepend:function(t){return r.callInjectors(u(u({},n),{},{ln:t,pbody:!0}))},bodyAppend:function(t){return r.callInjectors(u(u({},n),{},{ln:t,body:!0}))}}},i=function(e){if(H.includes(e))return"continue";r.injectors[e]={text:function(i){var o=!0===i;if(i=u(u({addSsrAttribute:o},n),i),"title"===e)return Xt(t,e,r.data[e],i);if(W.includes(e)){var a={},l=r.data[e];if(l){var c=!1===i.isSSR?"1":t.ssrAppId;for(var f in l)a[f]=s({},c,l[f])}if(r.extraData)for(var h in r.extraData){var d=r.extraData[h][e];if(d)for(var p in d)a[p]=u(u({},a[p]),{},s({},h,d[p]))}return Zt(t,e,a,i)}var g=Qt(t,e,r.data[e],i);if(r.extraData)for(var v in r.extraData){var y=r.extraData[v][e],m=Qt(t,e,y,u({appId:v},i));g="".concat(g).concat(m)}return g}}};for(var o in E)i(o);return r}function te(t,e,n){if(!t[T])return M(),{};var r=Et(e,t),i=Kt(e,r,_t,t),o=Jt(e,i,n),a=Ut();if(a){for(var s in a)o.addInfo(s,a[s]),delete a[s];$t(!0)}return o.injectors}function ee(t){t=t||{};var e=this.$root;return{getOptions:function(){return bt(t)},setOptions:function(n){var r="refreshOnceOnNavigation";n&&n[r]&&(t.refreshOnceOnNavigation=!!n[r],gt(e));var i="debounceWait";if(n&&i in n){var o=parseInt(n[i]);isNaN(o)||(t.debounceWait=o)}var a="waitOnDestroyed";n&&a in n&&(t.waitOnDestroyed=!!n[a])},refresh:function(){return Yt(e,t)},inject:function(n){return te(e,t,n)},pause:function(){return dt(e)},resume:function(){return pt(e)},addApp:function(n){return Ht(e,n,t)}}}function ne(t,e){e=mt(e);var n=Kt(e,t,_t),r=Jt(e,n);return r.injectors}function re(t,e){t.__vuemeta_installed||(t.__vuemeta_installed=!0,e=mt(e),t.prototype.$meta=function(){return ee.call(this,e)},t.mixin(yt(t,e)))}var ie={version:o,install:re,generate:function(t,e){return ne(t,e)},hasMetaInfo:ft};e["a"]=ie}).call(this,n("c8ba"))},"58df":function(t,e,n){var r=n("6d8b"),i=n("2306");function o(t,e,n,o){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=o.coordinateSystem.getRect(),f=a.getTicksCoords({tickModel:s,clamp:!0});if(f.length){var h=u.length,d=t.__splitAreaColors,p=r.createHashMap(),g=0;if(d)for(var v=0;vt?u():!0!==e&&(i=setTimeout(r?c:u,void 0===r?t-s:t))}return"boolean"!==typeof e&&(r=n,n=e,e=void 0),a}},"59ed":function(t,e,n){var r=n("1626"),i=n("0d51"),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},"5a34":function(t,e,n){var r=n("44e7"),i=TypeError;t.exports=function(t){if(r(t))throw i("The method doesn't accept regular expressions");return t}},"5a43":function(t,e){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;a--)null==n[a]&&(delete i[e[a]],e.pop())}function p(t,e){var n=t.visual,i=[];r.isObject(n)?s(n,(function(t){i.push(t)})):null!=n&&i.push(n);var o={color:1,symbol:1};e||1!==i.length||o.hasOwnProperty(t.type)||(i[1]=i[0]),w(t,i)}function g(t){return{applyVisual:function(e,n,r){e=this.mapValueToVisual(e),r("color",t(n("color"),e))},_doMap:x([0,1])}}function v(t){var e=this.option.visual;return e[Math.round(a(t,[0,1],[0,e.length-1],!0))]||{}}function y(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function m(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function b(){return this.option.visual[0]}function x(t){return{linear:function(e){return a(e,t,this.option.visual,!0)},category:m,piecewise:function(e,n){var r=_.call(this,n);return null==r&&(r=a(e,t,this.option.visual,!0)),r},fixed:b}}function _(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=c.findPieceIndex(t,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=r.map(e,(function(t){return i.parse(t)}))),e}var S={linear:function(t){return a(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=c.findPieceIndex(t,e,!0);if(null!=n)return a(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:r.noop};function C(t,e,n){return t?e<=n:e=0;if(i){var o="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];o&&f(t,o,e,n)}else f(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&u.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function g(t,e,n,r){l?t.addEventListener(e,n,r):t.attachEvent("on"+e,n)}function v(t,e,n,r){l?t.removeEventListener(e,n,r):t.detachEvent("on"+e,n)}var y=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function m(t){return 2===t.which||3===t.which}function b(t){return t.which>1}e.clientToLocal=f,e.getNativeEvent=d,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=v,e.stop=y,e.isMiddleOrRightButtonOnMouseUpDown=m,e.notLeftMouse=b},"60d7":function(t,e,n){var r=n("2306"),i=n("e887"),o=.3,a=i.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,n,i){var o=this._dataGroup,a=t.getData(),h=this._data,d=t.coordinateSystem,p=d.dimensions,g=c(t);function v(t){var e=u(a,o,t,p,d);f(e,a,t,g)}function y(e,n){var o=h.getItemGraphicEl(n),s=l(a,e,p,d);a.setItemGraphicEl(e,o);var u=i&&!1===i.animation?null:t;r.updateProps(o,{shape:{points:s}},u,e),f(o,a,e,g)}function m(t){var e=h.getItemGraphicEl(t);o.remove(e)}if(a.diff(h).add(v).update(y).remove(m).execute(),!this._initialized){this._initialized=!0;var b=s(d,t,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(b)}this._data=a},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var r=e.getData(),i=e.coordinateSystem,o=i.dimensions,a=c(e),s=t.start;sa){var g,v=f(arguments[a++]),y=h?p(s(v),h(v)):s(v),m=y.length,b=0;while(m>b)g=y[b++],r&&!o(d,v,g)||(n[g]=v[g])}return n}:h},"60e3":function(t,e,n){var r=n("6d8b"),i={get:function(t,e,n){var i=r.clone((o[t]||{})[e]);return n&&r.isArray(i)?i[i.length-1]:i}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=i;t.exports=a},"60f1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.legendConfig=void 0;var r={show:!0,orient:"horizontal",left:"auto",right:"auto",top:"auto",bottom:"auto",itemGap:10,iconWidth:25,iconHeight:10,selectAble:!0,data:[],textStyle:{fontFamily:"Arial",fontSize:13,fill:"#000"},iconStyle:{},textUnselectedStyle:{fontFamily:"Arial",fontSize:13,fill:"#999"},iconUnselectedStyle:{fill:"#999"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};e.legendConfig=r},"60f7":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.legend=f;var i=r(n("9523")),o=r(n("278c")),a=r(n("7037")),s=n("18ad"),l=n("5557"),u=n("9d85"),c=n("becb");function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.legend;n?(n=(0,c.deepMerge)((0,l.deepClone)(u.legendConfig,!0),n),n=h(n),n=d(n,e,t),n=p(n,t),n=y(n,t),n=[n]):n=[],(0,s.doUpdate)({chart:t,series:n,key:"legendIcon",getGraphConfig:M}),(0,s.doUpdate)({chart:t,series:n,key:"legendText",getGraphConfig:I})}function h(t){var e=t.data;return t.data=e.map((function(t){var e=(0,a["default"])(t);return"string"===e?{name:t}:"object"===e?t:{name:""}})),t}function d(t,e,n){var r=e.series,i=n.legendStatus,o=t.data.filter((function(t){var e=t.name,n=r.find((function(t){var n=t.name;return e===n}));return!!n&&(t.color||(t.color=n.color),t.icon||(t.icon=n.type),t)}));return i&&i.length===t.data.length||(i=new Array(t.data.length).fill(!0)),o.forEach((function(t,e){return t.status=i[e]})),t.data=o,n.legendStatus=i,t}function p(t,e){var n=e.render.ctx,r=t.data,i=t.textStyle,o=t.textUnselectedStyle;return r.forEach((function(t){var e=t.status,r=t.name;t.textWidth=g(n,r,e?i:o)})),t}function g(t,e,n){return t.font=v(n),t.measureText(e).width}function v(t){var e=t.fontFamily,n=t.fontSize;return"".concat(n,"px ").concat(e)}function y(t,e){var n=t.orient;return"vertical"===n?C(t,e):m(t,e),t}function m(t,e){var n=t.iconHeight,r=t.itemGap,i=b(t,e),o=i.map((function(n){return _(n,t,e)})),a=w(t,e),s={textAlign:"left",textBaseline:"middle"};i.forEach((function(t,e){return t.forEach((function(t){var i=t.iconPosition,l=t.textPosition,u=o[e],c=a+e*(r+n);t.iconPosition=S(i,[u,c]),t.textPosition=S(l,[u,c]),t.align=s}))}))}function b(t,e){var n=t.data,r=t.iconWidth,i=e.render.area[0],o=0,a=[[]];return n.forEach((function(e,n){var s=x(o,n,t),l=s+r+5+e.textWidth;l>=i&&(o=n,s=x(o,n,t),a.push([])),e.iconPosition=[s,0],e.textPosition=[s+r+5,0],a.slice(-1)[0].push(e)})),a}function x(t,e,n){var r=n.data,i=n.iconWidth,o=n.itemGap,a=r.slice(t,e);return(0,c.mulAdd)(a.map((function(t){var e=t.textWidth;return e})))+(e-t)*(o+5+i)}function _(t,e,n){var r=e.left,i=e.right,o=e.iconWidth,a=e.itemGap,s=n.render.area[0],l=t.length,u=(0,c.mulAdd)(t.map((function(t){var e=t.textWidth;return e})))+l*(5+o)+(l-1)*a,f=[r,i].findIndex((function(t){return"auto"!==t}));return-1===f?(s-u)/2:0===f?"number"===typeof r?r:parseInt(r)/100*s:("number"!==typeof i&&(i=parseInt(i)/100*s),s-(u+i))}function w(t,e){var n=t.top,r=t.bottom,i=t.iconHeight,o=e.render.area[1],a=[n,r].findIndex((function(t){return"auto"!==t})),s=i/2;if(-1===a){var l=e.gridArea,u=l.y,c=l.h;return u+c+45-s}return 0===a?"number"===typeof n?n-s:parseInt(n)/100*o-s:("number"!==typeof r&&(r=parseInt(r)/100*o),o-r-s)}function S(t,e){var n=(0,o["default"])(t,2),r=n[0],i=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[r+s,i+l]}function C(t,e){var n=A(t,e),r=(0,o["default"])(n,2),i=r[0],a=r[1],s=k(t,e);O(t,i);var l={textAlign:"left",textBaseline:"middle"};t.data.forEach((function(t){var e=t.textPosition,n=t.iconPosition;t.textPosition=S(e,[a,s]),t.iconPosition=S(n,[a,s]),t.align=l}))}function A(t,e){var n=t.left,r=t.right,i=e.render.area[0],o=[n,r].findIndex((function(t){return"auto"!==t}));if(-1===o)return[!0,i-10];var a=[n,r][o];return"number"!==typeof a&&(a=parseInt(a)/100*i),[Boolean(o),a]}function k(t,e){var n=t.iconHeight,r=t.itemGap,i=t.data,o=t.top,a=t.bottom,s=e.render.area[1],l=i.length,u=l*n+(l-1)*r,c=[o,a].findIndex((function(t){return"auto"!==t}));if(-1===c)return(s-u)/2;var f=[o,a][c];return"number"!==typeof f&&(f=parseInt(f)/100*s),1===c&&(f=s-f-u),f}function O(t,e){var n=t.data,r=t.iconWidth,i=t.iconHeight,o=t.itemGap,a=i/2;n.forEach((function(t,n){var s=t.textWidth,l=(i+o)*n+a,u=e?0-r:0,c=e?u-5-s:r+5;t.iconPosition=[u,l],t.textPosition=[c,l]}))}function M(t,e){var n=t.data,r=t.selectAble,o=t.animationCurve,a=t.animationFrame,s=t.rLevel;return n.map((function(n,l){return(0,i["default"])({name:"line"===n.icon?"lineIcon":"rect",index:s,visible:t.show,hover:r,click:r,animationCurve:o,animationFrame:a,shape:E(t,l),style:T(t,l)},"click",R(t,l,e))}))}function E(t,e){var n=t.data,r=t.iconWidth,i=t.iconHeight,a=(0,o["default"])(n[e].iconPosition,2),s=a[0],l=a[1],u=i/2;return{x:s,y:l-u,w:r,h:i}}function T(t,e){var n=t.data,r=t.iconStyle,i=t.iconUnselectedStyle,o=n[e],a=o.status,s=o.color,l=a?r:i;return(0,c.deepMerge)({fill:s},l)}function I(t,e){var n=t.data,r=t.selectAble,i=t.animationCurve,o=t.animationFrame,a=t.rLevel;return n.map((function(n,s){return{name:"text",index:a,visible:t.show,hover:r,animationCurve:i,animationFrame:o,hoverRect:D(t,s),shape:P(t,s),style:L(t,s),click:R(t,s,e)}}))}function P(t,e){var n=t.data[e],r=n.textPosition,i=n.name;return{content:i,position:r}}function L(t,e){var n=t.textStyle,r=t.textUnselectedStyle,i=t.data[e],o=i.status,a=i.align,s=o?n:r;return(0,c.deepMerge)((0,l.deepClone)(s,!0),a)}function D(t,e){var n=t.textStyle,r=t.textUnselectedStyle,i=t.data[e],a=i.status,s=(0,o["default"])(i.textPosition,2),l=s[0],u=s[1],c=i.textWidth,f=a?n:r,h=f.fontSize;return[l,u-h/2,c,h]}function R(t,e,n){var r=t.data[e].name;return function(){var t=n.chart,i=t.legendStatus,o=t.option,a=!i[e],s=o.series.find((function(t){var e=t.name;return e===r}));s.show=a,i[e]=a,n.chart.setOption(o)}}},6155:function(t,e,n){const r=n("4d84");t.exports.NumberAllocator=r},6179:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("4319"),a=n("80f0"),s=n("ec6f"),l=n("2b17"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,f=n("2f45"),h=f.summarizeDimensions,d=n("562e"),p=i.isObject,g="undefined",v=-1,y="e\0\0",m={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},b=typeof Uint32Array===g?Array:Uint32Array,x=typeof Int32Array===g?Array:Int32Array,_=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?b:_}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],A=["_extent","_approximateExtent","_rawExtent"];function k(t,e){i.each(C.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,i.each(A,(function(n){t[n]=i.clone(e[n])})),t._calculationInfo=i.extend(e._calculationInfo)}var O=function(t,e){t=t||["x","y"];for(var n={},r=[],o={},a=0;a=0?this._indices[t]:-1}function D(t,e){var n=t._idList[e];return null==n&&(n=I(t,t._idDimIdx,e)),null==n&&(n=y+e),n}function R(t){return i.isArray(t)||(t=[t]),t}function N(t,e){var n=t.dimensions,r=new O(i.map(n,t.getDimensionInfo,t),t.hostModel);k(r,t);for(var o=r._storage={},a=t._storage,s=0;s=0?(o[l]=j(a[l]),r._rawExtent[l]=B(),r._extent[l]=null):o[l]=a[l])}return r}function j(t){for(var e=new Array(t.length),n=0;nb[1]&&(b[1]=m)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},T(this)},M._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,r=this._chunkSize,i=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,f=this._rawExtent,h=this._nameRepeatCount={},d=this._chunkCount,p=0;pC[1]&&(C[1]=S)}if(!i.pure){var A=u[m];if(y&&null==A)if(null!=y.name)u[m]=A=y.name;else if(null!=n){var k=a[n],O=o[k][b];if(O){A=O[x];var M=l[k].ordinalMeta;M&&M.categories.length&&(A=M.categories[A])}}var I=null==y?null:y.id;null==I&&null!=A&&(h[A]=h[A]||0,I=A,h[A]>0&&(I+="__ec__"+h[A]),h[A]++),null!=I&&(c[m]=I)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent={},T(this)}},M.count=function(){return this._count},M.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){i=new e(n);for(var r=0;r=0&&e=0&&es&&(s=u)}return r=[a,s],this._extent[t]=r,r},M.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},M.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},M.getCalculationInfo=function(t){return this._calculationInfo[t]},M.setCalculationInfo=function(t,e){p(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},M.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var r=0,i=this.count();r=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;i=o-1}}return-1},M.indicesOfNearest=function(t,e,n){var r=this._storage,i=r[t],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(a=h,s=f,l=0),f===s&&(o[l++]=u))}return o.length=l,o},M.getRawIndex=P,M.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=u&&m<=c||isNaN(m))&&(a[s++]=h),h++}f=!0}else if(2===r){d=this._storage[l];var b=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(p=0;p=u&&m<=c||isNaN(m))&&(C>=x&&C<=_||isNaN(C))&&(a[s++]=h),h++}}f=!0}}if(!f)if(1===r)for(y=0;y=u&&m<=c||isNaN(m))&&(a[s++]=A)}else for(y=0;yt[O][1])&&(k=!1)}k&&(a[s++]=this.getRawIndex(y))}return sw[1]&&(w[1]=_)}}}return o},M.downSample=function(t,e,n,r){for(var i=N(this,[t]),o=i._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=this._chunkSize,f=i._rawExtent[t],h=new(w(this))(u),d=0,p=0;pu-p&&(s=u-p,a.length=s);for(var g=0;gf[1]&&(f[1]=b),h[d++]=x}return i._count=d,i._indices=h,i.getRawIndex=L,i},M.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},M.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return D(t,e)}),(function(t){return D(e,t)}))},M.getVisual=function(t){var e=this._visual;return e&&e[t]},M.setVisual=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},M.setLayout=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},M.getLayout=function(t){return this._layout[t]},M.getItemLayout=function(t){return this._itemLayouts[t]},M.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},M.clearItemLayouts=function(){this._itemLayouts.length=0},M.getItemVisual=function(t,e,n){var r=this._itemVisuals[t],i=r&&r[e];return null!=i||n?i:this.getVisual(e)},M.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{},i=this.hasItemVisual;if(this._itemVisuals[t]=r,p(e))for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o],i[o]=!0);else r[e]=n,i[e]=!0},M.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};M.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(F,e)),this._graphicEls[t]=e},M.getItemGraphicEl=function(t){return this._graphicEls[t]},M.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},M.cloneShallow=function(t){if(!t){var e=i.map(this.dimensions,this.getDimensionInfo,this);t=new O(e,this.hostModel)}if(t._storage=this._storage,k(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?L:P,t},M.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},M.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],M.CHANGABLE_METHODS=["filterSelf","selectRange"];var z=O;t.exports=z},"620b":function(t,e,n){var r=n("401b"),i=r.distance;function o(t,e,n,r,i,o,a){var s=.5*(n-t),l=.5*(r-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*i+e}function a(t,e){for(var n=t.length,r=[],a=0,s=1;sn-2?n-1:d+1],f=t[d>n-3?n-1:d+2]);var v=p*p,y=p*v;r.push([o(u[0],g[0],c[0],f[0],p,v,y),o(u[1],g[1],c[1],f[1],p,v,y)])}return r}t.exports=a},"625e":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=".",a="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(o),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return i.extend(n.prototype,t),n.extend=this.extend,n.superCall=h,n.superApply=d,i.inherits(n,this),n.superClass=e,n}}var c=0;function f(t){var e=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function h(t,e){var n=i.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function d(t,e,n){return this.superClass.prototype[e].apply(t,n)}function p(t,e){e=e||{};var n={};function r(t){var e=n[t.main];return e&&e[a]||(e=n[t.main]={},e[a]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==a){var i=r(e);i[e.sub]=t}}else n[e.main]=t;return t},t.getClass=function(t,e,r){var i=n[t];if(i&&i[a]&&(i=e?i[e]:null),r&&!i)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){t=s(t);var e=[],r=n[t.main];return r&&r[a]?i.each(r,(function(t,n){n!==a&&e.push(t)})):e.push(r),e},t.hasClass=function(t){return t=s(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return i.each(n,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=s(t);var e=n[t.main];return e&&e[a]},t.parseClassType=s,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var n=o.call(this,e);return t.registerClass(n,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=u,e.enableClassCheck=f,e.enableClassManagement=p,e.setReadOnly=g},"627c":function(t,e,n){var r=n("6d8b"),i=n("3eba"),o=n("2306"),a=n("f934"),s=a.getLayoutRect,l=n("eda2"),u=l.windowOpen;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,a=t.getModel("textStyle"),l=t.getModel("subtextStyle"),c=t.get("textAlign"),f=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),h=new o.Text({style:o.setTextStyle({},a,{text:t.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),d=h.getBoundingRect(),p=t.get("subtext"),g=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:d.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=t.get("link"),y=t.get("sublink"),m=t.get("triggerEvent",!0);h.silent=!v&&!m,g.silent=!y&&!m,v&&h.on("click",(function(){u(v,"_"+t.get("target"))})),y&&g.on("click",(function(){u(y,"_"+t.get("subtarget"))})),h.eventData=g.eventData=m?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(h),p&&i.add(g);var b=i.getBoundingRect(),x=t.getBoxLayoutParams();x.width=b.width,x.height=b.height;var _=s(x,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));c||(c=t.get("left")||t.get("right"),"middle"===c&&(c="center"),"right"===c?_.x+=_.width:"center"===c&&(_.x+=_.width/2)),f||(f=t.get("top")||t.get("bottom"),"center"===f&&(f="middle"),"bottom"===f?_.y+=_.height:"middle"===f&&(_.y+=_.height/2),f=f||"top"),i.attr("position",[_.x,_.y]);var w={textAlign:c,textVerticalAlign:f};h.setStyle(w),g.setStyle(w),b=i.getBoundingRect();var S=_.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var A=new o.Rect({shape:{x:b.x-S[3],y:b.y-S[0],width:b.width+S[1]+S[3],height:b.height+S[0]+S[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});i.add(A)}}})},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"62fd":function(t,e,n){},6374:function(t,e,n){var r=n("da84"),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"63f00":function(t,e,n){"use strict";const r=n("2fae"),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),f=Symbol("lruList"),h=Symbol("cache"),d=Symbol("updateAgeOnGet"),p=()=>1;class g{constructor(t){if("number"===typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!==typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[i]=t.max||1/0;const e=t.length||p;if(this[a]="function"!==typeof e?p:e,this[s]=t.stale||!1,t.maxAge&&"number"!==typeof t.maxAge)throw new TypeError("maxAge must be a number");this[l]=t.maxAge||0,this[u]=t.dispose,this[c]=t.noDisposeOnSet||!1,this[d]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!==typeof t||t<0)throw new TypeError("max must be a non-negative number");this[i]=t||1/0,m(this)}get max(){return this[i]}set allowStale(t){this[s]=!!t}get allowStale(){return this[s]}set maxAge(t){if("number"!==typeof t)throw new TypeError("maxAge must be a non-negative number");this[l]=t,m(this)}get maxAge(){return this[l]}set lengthCalculator(t){"function"!==typeof t&&(t=p),t!==this[a]&&(this[a]=t,this[o]=0,this[f].forEach(t=>{t.length=this[a](t.value,t.key),this[o]+=t.length})),m(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[f].length}rforEach(t,e){e=e||this;for(let n=this[f].tail;null!==n;){const r=n.prev;_(this,t,n,e),n=r}}forEach(t,e){e=e||this;for(let n=this[f].head;null!==n;){const r=n.next;_(this,t,n,e),n=r}}keys(){return this[f].toArray().map(t=>t.key)}values(){return this[f].toArray().map(t=>t.value)}reset(){this[u]&&this[f]&&this[f].length&&this[f].forEach(t=>this[u](t.key,t.value)),this[h]=new Map,this[f]=new r,this[o]=0}dump(){return this[f].map(t=>!y(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[f]}set(t,e,n){if(n=n||this[l],n&&"number"!==typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[a](e,t);if(this[h].has(t)){if(s>this[i])return b(this,this[h].get(t)),!1;const a=this[h].get(t),l=a.value;return this[u]&&(this[c]||this[u](t,l.value)),l.now=r,l.maxAge=n,l.value=e,this[o]+=s-l.length,l.length=s,this.get(t),m(this),!0}const d=new x(t,e,s,r,n);return d.length>this[i]?(this[u]&&this[u](t,e),!1):(this[o]+=d.length,this[f].unshift(d),this[h].set(t,this[f].head),m(this),!0)}has(t){if(!this[h].has(t))return!1;const e=this[h].get(t).value;return!y(this,e)}get(t){return v(this,t,!0)}peek(t){return v(this,t,!1)}pop(){const t=this[f].tail;return t?(b(this,t),t.value):null}del(t){b(this,this[h].get(t))}load(t){this.reset();const e=Date.now();for(let n=t.length-1;n>=0;n--){const r=t[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const t=i-e;t>0&&this.set(r.k,r.v,t)}}}prune(){this[h].forEach((t,e)=>v(this,e,!1))}}const v=(t,e,n)=>{const r=t[h].get(e);if(r){const e=r.value;if(y(t,e)){if(b(t,r),!t[s])return}else n&&(t[d]&&(r.value.now=Date.now()),t[f].unshiftNode(r));return e.value}},y=(t,e)=>{if(!e||!e.maxAge&&!t[l])return!1;const n=Date.now()-e.now;return e.maxAge?n>e.maxAge:t[l]&&n>t[l]},m=t=>{if(t[o]>t[i])for(let e=t[f].tail;t[o]>t[i]&&null!==e;){const n=e.prev;b(t,e),e=n}},b=(t,e)=>{if(e){const n=e.value;t[u]&&t[u](n.key,n.value),t[o]-=n.length,t[h].delete(n.key),t[f].removeNode(e)}};class x{constructor(t,e,n,r,i){this.key=t,this.value=e,this.length=n,this.now=r,this.maxAge=i||0}}const _=(t,e,n,r)=>{let i=n.value;y(t,i)&&(b(t,n),t[s]||(i=void 0)),i&&e.call(r,i.value,i.key,t)};t.exports=g},6438:function(t,e,n){var r=n("03d6"),i=n("9742").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"64b0":function(t,e,n){"use strict";var r=n("71c9"),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},"652a":function(t,e,n){"use strict";var r;function i(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var o=n("fbd7").codes,a=o.ERR_MISSING_ARGS,s=o.ERR_STREAM_DESTROYED;function l(t){if(t)throw t}function u(t){return t.setHeader&&"function"===typeof t.abort}function c(t,e,o,a){a=i(a);var l=!1;t.on("close",(function(){l=!0})),void 0===r&&(r=n("d9e1")),r(t,{readable:e,writable:o},(function(t){if(t)return a(t);l=!0,a()}));var c=!1;return function(e){if(!l&&!c)return c=!0,u(t)?t.abort():"function"===typeof t.destroy?t.destroy():void a(e||new s("pipe"))}}function f(t){t()}function h(t,e){return t.pipe(e)}function d(t){return t.length?"function"!==typeof t[t.length-1]?l:t.pop():l}function p(){for(var t=arguments.length,e=new Array(t),n=0;n0;return c(t,a,s,(function(t){r||(r=t),t&&o.forEach(f),a||(o.forEach(f),i(r))}))}));return e.reduce(h)}t.exports=p},6547:function(t,e,n){var r=n("e330"),i=n("5926"),o=n("577e"),a=n("1d80"),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(t){return function(e,n){var r,c,f=o(a(e)),h=i(n),d=f.length;return h<0||h>=d?t?"":void 0:(r=l(f,h),r<55296||r>56319||h+1===d||(c=l(f,h+1))<56320||c>57343?t?s(f,h):r:t?u(f,h,h+2):c-56320+(r-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},6566:function(t,e,n){"use strict";var r=n("9bf2").f,i=n("7c73"),o=n("6964"),a=n("0366"),s=n("19aa"),l=n("7234"),u=n("2266"),c=n("c6d2"),f=n("4754"),h=n("2626"),d=n("83ab"),p=n("f183").fastKey,g=n("69f3"),v=g.set,y=g.getterFor;t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,h),v(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),d||(t.size=0),l(r)||u(r,t[c],{that:t,AS_ENTRIES:n})})),h=f.prototype,g=y(e),m=function(t,e,n){var r,i,o=g(t),a=b(t,e);return a?a.value=n:(o.last=a={index:i=p(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var n,r=g(t),i=p(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(h,{clear:function(){var t=this,e=g(t),n=e.index,r=e.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:t.size=0},delete:function(t){var e=this,n=g(e),r=b(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){var e,n=g(this),r=a(t,arguments.length>1?arguments[1]:void 0);while(e=e?e.next:n.first){r(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!b(this,t)}}),o(h,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&r(h,"size",{get:function(){return g(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",i=y(e),o=y(r);c(t,e,(function(t,e){v(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){var t=o(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?f("keys"==e?n.key:"values"==e?n.value:[n.key,n.value],!1):(t.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),h(e)}}},6569:function(t,e,n){var r=n("6d8b"),i=n("e0d3");function o(t){a(t),s(t)}function a(t){if(!t.parallel){var e=!1;r.each(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function s(t){var e=i.normalizeToArray(t.parallelAxis);r.each(e,(function(e){if(r.isObject(e)){var n=e.parallelIndex||0,o=i.normalizeToArray(t.parallel)[n];o&&o.parallelAxisDefault&&r.merge(e,o.parallelAxisDefault,!1)}}))}t.exports=o},6582:function(t,e,n){var r=n("cccd"),i={seriesType:"lines",plan:r(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),r=t.pipelineContext.large;function i(i,o){var a=[];if(r){var s,l=i.end-i.start;if(n){for(var u=0,c=i.start;c>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function f(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],a=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var f=t[c].getBoundingClientRect(),h=2*c,d=f.left,p=f.top;l.push(d,p),s=s&&a&&d===a[h]&&p===a[h+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&i?i:(e.srcCoords=l,e[r]=n?o(u,l):o(l,u))}function h(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=u,e.isCanvasEl=h},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},6613:function(t,e,n){n("a630"),n("fb6a"),n("b0c0"),n("d3b7"),n("ac1f"),n("00b4"),n("25f0"),n("3ca3");var r=n("5a43");function i(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},6679:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("cd33"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,r){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),s(this,t,e,n,r,!0)},updateAxisPointer:function(t,e,n,r,i){s(this,t,e,n,r,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),a.superApply(this,"dispose",arguments)}});function s(t,e,n,r,i,s){var u=a.getAxisPointerClass(t.axisPointerClass);if(u){var c=o.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,r,s):l(t,r)}}function l(t,e,n){var r=t._axisPointer;r&&r.dispose(e,n),t._axisPointer=null}var u=[];a.registerAxisPointerClass=function(t,e){u[t]=e},a.getAxisPointerClass=function(t){return t&&u[t]};var c=a;t.exports=c},"66a4":function(t,e,n){var r=n("6d8b");function i(t){var e=t&&t.timeline;r.isArray(e)||(e=e?[e]:[]),r.each(e,(function(t){t&&o(t)}))}function o(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),a(t),s(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});s(i,"position")||(i.position=t.controlPosition),"none"!==i.position||s(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}r.each(t.data||[],(function(t){r.isObject(t)&&!r.isArray(t)&&(!s(t,"value")&&s(t,"name")&&(t.value=t.name),a(t))}))}function a(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},o=i.normal||(i.normal={}),a={normal:1,emphasis:1};r.each(i,(function(t,e){a[e]||s(o,e)||(o[e]=t)})),n.label&&!s(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function s(t,e){return t.hasOwnProperty(e)}t.exports=i},"66fc":function(t,e,n){var r=n("6d8b"),i=n("84ce"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(o,i);var a=o;t.exports=a},"675a":function(t,e){function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getGraph(),i=r.data,o=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t),r=n.getShallow("category");if(null!=r){"number"===typeof r&&(r=o[r]);for(var a=0;a0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*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}}};function E(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function T(t,e,n,r,i,s,u,c){var f=e.getItemVisual(n,"color"),h=e.getItemVisual(n,"opacity"),d=e.getVisual("borderColor"),p=r.getModel("itemStyle"),g=r.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(o.defaults({stroke:E(i)?"none":d,fill:E(i)?"none":f,opacity:h},p.getBarItemStyle()));var v=r.getShallow("cursor");v&&t.attr("cursor",v);var y=u?i.height>0?"bottom":"top":i.width>0?"left":"right";c||l(t.style,g,r,f,s,n,y),E(i)&&(g.fill=g.stroke="none"),a.setHoverStyle(t,g)}function I(t,e){var n=t.get(m)||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,r,i)}var P=f.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,r=this.__startPoint,i=this.__baseDimIdx,o=0;o=0?n:null}),30,!1);function R(t,e,n){var r=t.__baseDimIdx,i=1-r,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[i];b[0]=e,b[1]=n;for(var u=b[r],c=b[1-r],f=u-s,h=u+s,d=0,p=o.length/2;d=f&&v<=h&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return a[d]}return-1}function N(t,e,n){var r=n.getVisual("borderColor")||n.getVisual("color"),i=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(i),t.style.fill=null,t.style.stroke=r,t.style.lineWidth=n.getLayout("barWidth")}function j(t,e,n){var r=e.get("borderColor")||e.get("color"),i=e.getItemStyle(["color","borderColor"]);t.useStyle(i),t.style.fill=null,t.style.stroke=r,t.style.lineWidth=n.getLayout("barWidth")}function B(t,e,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:t?r.r0:e.r0,r:t?r.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:r.x,y:t?r.y:e.y,width:t?e.width:r.width,height:t?r.height:e.height}}function F(t,e,n){var r="polar"===t.type?a.Sector:a.Rect;return new r({shape:B(e,n,t),silent:!0,z2:0})}t.exports=_},"67d9":function(t,e,n){"use strict";t.exports=URIError},"67ee":function(t,e,n){"use strict";t.exports=SyntaxError},6858:function(t,e,n){"use strict";var r=n("2f9a"),i=n("ea34"),o=n("8a0d"),a=n("6ca1");t.exports=n("393a")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},"688e":function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,o=Math.max,a="[object Function]",s=function(t,e){for(var n=[],r=0;re+c&&u>r+c&&u>a+c||ut+c&&l>n+c&&l>o+c||li)Z(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?C(t):X(C(t),e)},J=function(t){var e=F.call(this,t=w(t,!0));return!(this===H&&i(V,t)&&!i(q,t))&&(!(e||!i(this,t)||!i(V,t)||i(this,j)&&this[j][t])||e)},tt=function(t,e){if(t=_(t),e=w(e,!0),t!==H||!i(V,e)||i(q,e)){var n=T(t,e);return!n||!i(V,e)||i(t,j)&&t[j][e]||(n.enumerable=!0),n}},et=function(t){var e,n=P(_(t)),r=[],o=0;while(n.length>o)i(V,e=n[o++])||e==j||e==l||r.push(e);return r},nt=function(t){var e,n=t===H,r=P(n?q:_(t)),o=[],a=0;while(r.length>a)!i(V,e=r[a++])||n&&!i(H,e)||o.push(V[e]);return o};W||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(q,n),i(this,j)&&i(this[j],t)&&(this[j][t]=!1),$(this,t,S(1,n))};return o&&U&&$(H,t,{configurable:!0,set:e}),K(t)},s(L[N],"toString",(function(){return this._k})),k.f=tt,M.f=Z,n("6438").f=A.f=et,n("1917").f=J,O.f=nt,o&&!n("e444")&&s(H,"propertyIsEnumerable",J,!0),p.f=function(t){return K(d(t))}),a(a.G+a.W+a.F*!W,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=E(d.store),at=0;ot.length>at;)g(ot[at++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return i(z,t+="")?z[t]:z[t]=L(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){O.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return O.f(x(t))}}),D&&a(a.S+a.F*(!W||u((function(){var t=L();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!Y(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,R.apply(D,r)}}),L[N][B]||n("051b")(L[N],B,L[N].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},6964:function(t,e,n){var r=n("cb2d");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},"697e":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("18c0"),a=n("89e3"),s=n("e0d8"),l=n("3842"),u=n("9d57"),c=u.prepareLayoutBarSeries,f=u.makeColumnLayout,h=u.retrieveColumnLayout,d=n("9850");function p(t,e){var n,r,o,a=t.type,s=e.getMin(),u=e.getMax(),h=t.getExtent();"ordinal"===a?n=e.getCategories().length:(r=e.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"===typeof r[0]&&(r=[0,0]),r[0]=l.parsePercent(r[0],1),r[1]=l.parsePercent(r[1],1),o=h[1]-h[0]||Math.abs(h[0])),"dataMin"===s?s=h[0]:"function"===typeof s&&(s=s({min:h[0],max:h[1]})),"dataMax"===u?u=h[1]:"function"===typeof u&&(u=u({min:h[0],max:h[1]}));var d=null!=s,p=null!=u;null==s&&(s="ordinal"===a?n?0:NaN:h[0]-r[0]*o),null==u&&(u="ordinal"===a?n?n-1:NaN:h[1]+r[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(i.eqNaN(s)||i.eqNaN(u)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&u>0&&!d&&(s=0),s<0&&u<0&&!p&&(u=0));var v=e.ecModel;if(v&&"time"===a){var y,m=c("bar",v);if(i.each(m,(function(t){y|=t.getBaseAxis()===e.axis})),y){var b=f(m),x=g(s,u,e,b);s=x.min,u=x.max}}return{extent:[s,u],fixMin:d,fixMax:p}}function g(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;i.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,f=e-t,d=1-(l+u)/a,p=f/d-f;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function v(t,e){var n=p(t,e),r=n.extent,i=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(r[0],r[1]),t.niceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)}function y(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new o(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(e)||a).create(t)}}function m(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function b(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e),e):"function"===typeof e?function(r,i){return null!=n&&(i=r-n),e(x(t,r),i)}:function(e){return t.scale.getLabel(e)}}function x(t,e){return"category"===t.type?t.scale.getLabel(e):e}function _(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var r,i,o="category"===t.type,a=n.getExtent();o?i=n.count():(r=n.getTicks(),i=r.length);var s,l=t.getLabelModel(),u=b(t),c=1;i>40&&(c=Math.ceil(i/40));for(var f=0;fn.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},m.getPipeline=function(t){return this._pipelineMap.get(t)},m.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData(),i=r.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},m.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),P(e,t,t.dataTask)}))},m.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,[]);r.reset&&_(this,r,i,e,n),r.overallReset&&w(this,r,i,e,n)}),this)},m.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,P(this,e,i)},m.performDataProcessorTasks=function(t,e){b(this,this._dataProcessorHandlers,t,e,{block:!0})},m.performVisualTasks=function(t,e,n){b(this,this._visualHandlers,t,e,n)},m.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},m.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var x=m.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function _(t,e,n,r,i){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=e.seriesType,l=e.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:O,reset:M,count:I}));s.context={model:n,ecModel:r,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},P(t,n,s)}e.createOnAllSeries?r.eachRawSeries(u):a?r.eachRawSeriesByType(a,u):l&&l(r,i).each(u);var f=t._pipelineMap;o.each((function(t,e){f.get(e)||(t.dispose(),o.removeKey(e))}))}function w(t,e,n,r,o){var a=n.overallTask=n.overallTask||c({reset:S});a.context={ecModel:r,api:o,overallReset:e.overallReset,scheduler:t};var l=a.agentStubMap=a.agentStubMap||s(),u=e.seriesType,f=e.getTargetSeries,h=!0,d=e.modifyOutputEnd;function p(e){var n=e.uid,r=l.get(n);r||(r=l.set(n,c({reset:C,onDirty:k})),a.dirty()),r.context={model:e,overallProgress:h,modifyOutputEnd:d},r.agent=a,r.__block=h,P(t,e,r)}u?r.eachRawSeriesByType(u,p):f?f(r,o).each(p):(h=!1,i(r.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),a.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function C(t,e){return t.overallProgress&&A}function A(){this.agent.dirty(),this.getDownstream().dirty()}function k(){this.agent&&this.agent.dirty()}function O(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function M(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?o(e,(function(t,e){return T(e)})):E}var E=T(0);function T(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o=0;l--)if(r[l]<=e)break;l=Math.min(l,i-2)}else{for(var l=o;le)break;l=Math.min(l-1,i-2)}a.lerp(t.position,n[l],n[l+1],(e-r[l])/(r[l+1]-r[l]));var u=n[l+1][0]-n[l][0],c=n[l+1][1]-n[l][1];t.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},i.inherits(s,o);var u=s;t.exports=u},"6acf":function(t,e,n){var r=n("eda2"),i=n("dcb3"),o=n("2306"),a=n("ff2e"),s=n("1687"),l=n("fab2"),u=n("6679"),c=i.extend({makeElOption:function(t,e,n,i,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),d=c.getExtent();l=s["dataTo"+r.capitalFirst(s.dim)](e);var p=i.get("type");if(p&&"none"!==p){var g=a.buildElStyle(i),v=h[p](s,u,l,d,g);v.style=g,t.graphicKey=v.type,t.pointer=v}var y=i.get("label.margin"),m=f(e,n,i,u,y);a.buildLabelElOption(t,n,i,o,m)}});function f(t,e,n,r,i){var a=e.axis,u=a.dataToCoord(t),c=r.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var f,h,d,p=r.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[r.cx,r.cy]),f=o.applyTransform([u,-i],g);var v=e.getModel("axisLabel").get("rotate")||0,y=l.innerTextLayout(c,v*Math.PI/180,-1);h=y.textAlign,d=y.textVerticalAlign}else{var m=p[1];f=r.coordToPoint([m+i,u]);var b=r.cx,x=r.cy;h=Math.abs(f[0]-b)/m<.3?"center":f[0]>b?"left":"right",d=Math.abs(f[1]-x)/m<.3?"middle":f[1]>x?"top":"bottom"}return{position:f,align:h,verticalAlign:d}}var h={line:function(t,e,n,r,i){return"angle"===t.dim?{type:"Line",shape:a.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,i){var o=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var d=c;t.exports=d},"6b75":function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]&&arguments[0],e=this.mergedConfig,n=this.chart,r=e.radius,i=e.activeRadius,a=e.lineWidth,s=Math.min.apply(Math,Object(o["a"])(n.render.area))/2,l=a/2,u=t?i:r;"number"!==typeof u&&(u=parseInt(u)/100*s);var c=u-l,f=u+l;return[c,f]},ringAnimation:function(){var t=this,e=this.activeIndex,n=this.getRingOption,r=this.chart,i=this.getRealRadius,o=i(),a=i(!0),s=n(),l=s.series[0].data;l.forEach((function(t,n){t.radius=n===e?a:o})),r.setOption(s,!0);var u=s.series[0].activeTimeGap;this.animationHandler=setTimeout((function(n){e+=1,e>=l.length&&(e=0),t.activeIndex=e,t.ringAnimation()}),u)}},mounted:function(){var t=this.init;t()},beforeDestroy:function(){var t=this.animationHandler;clearTimeout(t)}},w=_,S=Object(m["a"])(w,r,i,!1,null,null,null),C=S.exports,A=function(t){t.component(C.name,C)},k=(n("fe7b"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-1"},[n("svg",{staticClass:"border",attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"10, 27 10, "+(t.height-27)+" 13, "+(t.height-24)+" 13, "+(t.height-21)+" 24, "+(t.height-11)+"\n 38, "+(t.height-11)+" 41, "+(t.height-8)+" 73, "+(t.height-8)+" 75, "+(t.height-10)+" 81, "+(t.height-10)+"\n 85, "+(t.height-6)+" "+(t.width-85)+", "+(t.height-6)+" "+(t.width-81)+", "+(t.height-10)+" "+(t.width-75)+", "+(t.height-10)+"\n "+(t.width-73)+", "+(t.height-8)+" "+(t.width-41)+", "+(t.height-8)+" "+(t.width-38)+", "+(t.height-11)+"\n "+(t.width-24)+", "+(t.height-11)+" "+(t.width-13)+", "+(t.height-21)+" "+(t.width-13)+", "+(t.height-24)+"\n "+(t.width-10)+", "+(t.height-27)+" "+(t.width-10)+", 27 "+(t.width-13)+", 25 "+(t.width-13)+", 21\n "+(t.width-24)+", 11 "+(t.width-38)+", 11 "+(t.width-41)+", 8 "+(t.width-73)+", 8 "+(t.width-75)+", 10\n "+(t.width-81)+", 10 "+(t.width-85)+", 6 85, 6 81, 10 75, 10 73, 8 41, 8 38, 11 24, 11 13, 21 13, 24"}})]),t._l(t.border,(function(e){return n("svg",{key:e,class:e+" border",attrs:{width:"150px",height:"150px"}},[n("polygon",{attrs:{fill:t.mergedColor[0],points:"6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"}},[n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[0]+";"+t.mergedColor[1]+";"+t.mergedColor[0],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{fill:t.mergedColor[1],points:"27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"}},[n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[0]+";"+t.mergedColor[1],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{fill:t.mergedColor[0],points:"9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"}},[n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[0]+";"+t.mergedColor[1]+";transparent",dur:"1s",begin:"0s",repeatCount:"indefinite"}})])])})),n("div",{staticClass:"border-box-content"},[t._t("default")],2)],2)}),O=[];function M(t,e){return 1===arguments.length?parseInt(Math.random()*t+1,10):parseInt(Math.random()*(e-t+1)+t,10)}function E(t,e){let n;return function(){clearTimeout(n);const[r,i]=[this,arguments];n=setTimeout(()=>{e.apply(r,i)},t)}}function T(t,e){const n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,r=new n(e);return r.observe(t,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),r}function I(t,e){const n=Math.abs(t[0]-e[0]),r=Math.abs(t[1]-e[1]);return Math.sqrt(n*n+r*r)}function P(t){return(t?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx").replace(/[xy]/g,(function(t){const e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)}))}var L={data(){return{dom:"",width:0,height:0,debounceInitWHFun:"",domObserver:""}},methods:{async autoResizeMixinInit(){const{initWH:t,getDebounceInitWHFun:e,bindDomResizeCallback:n,afterAutoResizeMixinInit:r}=this;await t(!1),e(),n(),"function"===typeof r&&r()},initWH(t=!0){const{$nextTick:e,$refs:n,ref:r,onResize:i}=this;return new Promise(o=>{e(e=>{const a=this.dom=n[r];this.width=a?a.clientWidth:0,this.height=a?a.clientHeight:0,a?this.width&&this.height||console.warn("DataV: Component width or height is 0px, rendering abnormality may occur!"):console.warn("DataV: Failed to get dom node, component rendering may be abnormal!"),"function"===typeof i&&t&&i(),o()})})},getDebounceInitWHFun(){const{initWH:t}=this;this.debounceInitWHFun=E(100,t)},bindDomResizeCallback(){const{dom:t,debounceInitWHFun:e}=this;this.domObserver=T(t,e),window.addEventListener("resize",e)},unbindDomResizeCallback(){let{domObserver:t,debounceInitWHFun:e}=this;t&&(t.disconnect(),t.takeRecords(),t=null,window.removeEventListener("resize",e))}},mounted(){const{autoResizeMixinInit:t}=this;t()},beforeDestroy(){const{unbindDomResizeCallback:t}=this;t()}},D={name:"DvBorderBox1",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-1",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#4fd2dd","#235fa7"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},R=D,N=Object(m["a"])(R,k,O,!1,null,null,null),j=(N.exports,n("6ccd"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-10",style:"box-shadow: inset 0 0 25px 3px "+t.mergedColor[0]},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 4, 0 "+(t.width-4)+", 0 "+t.width+", 4 "+t.width+", "+(t.height-4)+" "+(t.width-4)+", "+t.height+"\n 4, "+t.height+" 0, "+(t.height-4)+" 0, 4\n "}})]),t._l(t.border,(function(e){return n("svg",{key:e,class:e+" dv-border-svg-container",attrs:{width:"150px",height:"150px"}},[n("polygon",{attrs:{fill:t.mergedColor[1],points:"40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3"}})])})),n("div",{staticClass:"border-box-content"},[t._t("default")],2)],2)}),B=[],F={name:"DvBorderBox10",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-10",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#1d48c4","#d3e1f8"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},z=F,V=Object(m["a"])(z,j,B,!1,null,null,null),q=(V.exports,n("4656"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-11"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("defs",[n("filter",{attrs:{id:t.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[n("feMorphology",{attrs:{operator:"dilate",radius:"2",in:"SourceAlpha",result:"thicken"}}),n("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"3",result:"blurred"}}),n("feFlood",{attrs:{"flood-color":t.mergedColor[1],result:"glowColor"}}),n("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),n("feMerge",[n("feMergeNode",{attrs:{in:"softGlowColored"}}),n("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 20, 32 "+(.5*t.width-t.titleWidth/2)+", 32 "+(.5*t.width-t.titleWidth/2+20)+", 53\n "+(.5*t.width+t.titleWidth/2-20)+", 53 "+(.5*t.width+t.titleWidth/2)+", 32\n "+(t.width-20)+", 32 "+(t.width-8)+", 48 "+(t.width-8)+", "+(t.height-25)+" "+(t.width-20)+", "+(t.height-8)+"\n 20, "+(t.height-8)+" 8, "+(t.height-25)+" 8, 50\n "}}),n("polyline",{attrs:{stroke:t.mergedColor[0],filter:"url(#"+t.filterId+")",points:"\n "+(t.width-t.titleWidth)/2+", 30\n 20, 30 7, 50 7, "+(50+(t.height-167)/2)+"\n 13, "+(55+(t.height-167)/2)+" 13, "+(135+(t.height-167)/2)+"\n 7, "+(140+(t.height-167)/2)+" 7, "+(t.height-27)+"\n 20, "+(t.height-7)+" "+(t.width-20)+", "+(t.height-7)+" "+(t.width-7)+", "+(t.height-27)+"\n "+(t.width-7)+", "+(140+(t.height-167)/2)+" "+(t.width-13)+", "+(135+(t.height-167)/2)+"\n "+(t.width-13)+", "+(55+(t.height-167)/2)+" "+(t.width-7)+", "+(50+(t.height-167)/2)+"\n "+(t.width-7)+", 50 "+(t.width-20)+", 30 "+(t.width+t.titleWidth)/2+", 30\n "+((t.width+t.titleWidth)/2-20)+", 7 "+((t.width-t.titleWidth)/2+20)+", 7\n "+(t.width-t.titleWidth)/2+", 30 "+((t.width-t.titleWidth)/2+20)+", 52\n "+((t.width+t.titleWidth)/2-20)+", 52 "+(t.width+t.titleWidth)/2+", 30\n "}}),n("polygon",{attrs:{stroke:t.mergedColor[0],fill:"transparent",points:"\n "+((t.width+t.titleWidth)/2-5)+", 30 "+((t.width+t.titleWidth)/2-21)+", 11\n "+((t.width+t.titleWidth)/2-27)+", 11 "+((t.width+t.titleWidth)/2-8)+", 34\n "}}),n("polygon",{attrs:{stroke:t.mergedColor[0],fill:"transparent",points:"\n "+((t.width-t.titleWidth)/2+5)+", 30 "+((t.width-t.titleWidth)/2+22)+", 49\n "+((t.width-t.titleWidth)/2+28)+", 49 "+((t.width-t.titleWidth)/2+8)+", 26\n "}}),n("polygon",{attrs:{stroke:t.mergedColor[0],fill:t.fade(t.mergedColor[1]||t.defaultColor[1],30),filter:"url(#"+t.filterId+")",points:"\n "+((t.width+t.titleWidth)/2-11)+", 37 "+((t.width+t.titleWidth)/2-32)+", 11\n "+((t.width-t.titleWidth)/2+23)+", 11 "+((t.width-t.titleWidth)/2+11)+", 23\n "+((t.width-t.titleWidth)/2+33)+", 49 "+((t.width+t.titleWidth)/2-22)+", 49\n "}}),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"1",points:"\n "+((t.width-t.titleWidth)/2-10)+", 37 "+((t.width-t.titleWidth)/2-31)+", 37\n "+((t.width-t.titleWidth)/2-25)+", 46 "+((t.width-t.titleWidth)/2-4)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"0.7",points:"\n "+((t.width-t.titleWidth)/2-40)+", 37 "+((t.width-t.titleWidth)/2-61)+", 37\n "+((t.width-t.titleWidth)/2-55)+", 46 "+((t.width-t.titleWidth)/2-34)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"0.5",points:"\n "+((t.width-t.titleWidth)/2-70)+", 37 "+((t.width-t.titleWidth)/2-91)+", 37\n "+((t.width-t.titleWidth)/2-85)+", 46 "+((t.width-t.titleWidth)/2-64)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"1",points:"\n "+((t.width+t.titleWidth)/2+30)+", 37 "+((t.width+t.titleWidth)/2+9)+", 37\n "+((t.width+t.titleWidth)/2+3)+", 46 "+((t.width+t.titleWidth)/2+24)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"0.7",points:"\n "+((t.width+t.titleWidth)/2+60)+", 37 "+((t.width+t.titleWidth)/2+39)+", 37\n "+((t.width+t.titleWidth)/2+33)+", 46 "+((t.width+t.titleWidth)/2+54)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("polygon",{attrs:{filter:"url(#"+t.filterId+")",fill:t.mergedColor[0],opacity:"0.5",points:"\n "+((t.width+t.titleWidth)/2+90)+", 37 "+((t.width+t.titleWidth)/2+69)+", 37\n "+((t.width+t.titleWidth)/2+63)+", 46 "+((t.width+t.titleWidth)/2+84)+", 46\n "}},[n("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),n("text",{staticClass:"dv-border-box-11-title",attrs:{x:""+t.width/2,y:"32",fill:"#fff","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"}},[t._v(" "+t._s(t.title)+" ")]),n("polygon",{attrs:{fill:t.mergedColor[0],filter:"url(#"+t.filterId+")",points:"\n 7, "+(53+(t.height-167)/2)+" 11, "+(57+(t.height-167)/2)+"\n 11, "+(133+(t.height-167)/2)+" 7, "+(137+(t.height-167)/2)+"\n "}}),n("polygon",{attrs:{fill:t.mergedColor[0],filter:"url(#"+t.filterId+")",points:"\n "+(t.width-7)+", "+(53+(t.height-167)/2)+" "+(t.width-11)+", "+(57+(t.height-167)/2)+"\n "+(t.width-11)+", "+(133+(t.height-167)/2)+" "+(t.width-7)+", "+(137+(t.height-167)/2)+"\n "}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),H=[],W=(n("a9e3"),n("a870")),G={name:"DvBorderBox11",mixins:[L],props:{color:{type:Array,default:function(){return[]}},titleWidth:{type:Number,default:250},title:{type:String,default:""},backgroundColor:{type:String,default:"transparent"}},data:function(){var t=P();return{ref:"border-box-11",filterId:"border-box-11-filterId-".concat(t),defaultColor:["#8aaafb","#1f33a2"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])},fade:W["fade"]},mounted:function(){var t=this.mergeColor;t()}},U=G,$=Object(m["a"])(U,q,H,!1,null,null,null),K=($.exports,n("3c0e"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-12"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("defs",[n("filter",{attrs:{id:t.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[n("feMorphology",{attrs:{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"}}),n("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"2",result:"blurred"}}),n("feFlood",{attrs:{"flood-color":t.fade(t.mergedColor[1]||t.defaultColor[1],70),result:"glowColor"}},[n("animate",{attrs:{attributeName:"flood-color",values:"\n "+t.fade(t.mergedColor[1]||t.defaultColor[1],70)+";\n "+t.fade(t.mergedColor[1]||t.defaultColor[1],30)+";\n "+t.fade(t.mergedColor[1]||t.defaultColor[1],70)+";\n ",dur:"3s",begin:"0s",repeatCount:"indefinite"}})]),n("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),n("feMerge",[n("feMergeNode",{attrs:{in:"softGlowColored"}}),n("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),t.width&&t.height?n("path",{attrs:{fill:t.backgroundColor,"stroke-width":"2",stroke:t.mergedColor[0],d:"\n M15 5 L "+(t.width-15)+" 5 Q "+(t.width-5)+" 5, "+(t.width-5)+" 15\n L "+(t.width-5)+" "+(t.height-15)+" Q "+(t.width-5)+" "+(t.height-5)+", "+(t.width-15)+" "+(t.height-5)+"\n L 15, "+(t.height-5)+" Q 5 "+(t.height-5)+" 5 "+(t.height-15)+" L 5 15\n Q 5 5 15 5\n "}}):t._e(),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+t.filterId+")",stroke:t.mergedColor[1],d:"M 20 5 L 15 5 Q 5 5 5 15 L 5 20"}}),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+t.filterId+")",stroke:t.mergedColor[1],d:"M "+(t.width-20)+" 5 L "+(t.width-15)+" 5 Q "+(t.width-5)+" 5 "+(t.width-5)+" 15 L "+(t.width-5)+" 20"}}),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+t.filterId+")",stroke:t.mergedColor[1],d:"\n M "+(t.width-20)+" "+(t.height-5)+" L "+(t.width-15)+" "+(t.height-5)+"\n Q "+(t.width-5)+" "+(t.height-5)+" "+(t.width-5)+" "+(t.height-15)+"\n L "+(t.width-5)+" "+(t.height-20)+"\n "}}),n("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+t.filterId+")",stroke:t.mergedColor[1],d:"\n M 20 "+(t.height-5)+" L 15 "+(t.height-5)+"\n Q 5 "+(t.height-5)+" 5 "+(t.height-15)+"\n L 5 "+(t.height-20)+"\n "}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),Y=[],Z={name:"DvBorderBox12",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var t=P();return{ref:"border-box-12",filterId:"borderr-box-12-filterId-".concat(t),defaultColor:["#2e6099","#7ce7fd"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])},fade:W["fade"]},mounted:function(){var t=this.mergeColor;t()}},X=Z,Q=Object(m["a"])(X,K,Y,!1,null,null,null),J=(Q.exports,n("470c"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-13"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("path",{attrs:{fill:t.backgroundColor,stroke:t.mergedColor[0],d:"\n M 5 20 L 5 10 L 12 3 L 60 3 L 68 10\n L "+(t.width-20)+" 10 L "+(t.width-5)+" 25\n L "+(t.width-5)+" "+(t.height-5)+" L 20 "+(t.height-5)+"\n L 5 "+(t.height-20)+" L 5 20\n "}}),n("path",{attrs:{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:t.mergedColor[0],d:"M 16 9 L 61 9"}}),n("path",{attrs:{fill:"transparent",stroke:t.mergedColor[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"}}),n("path",{attrs:{fill:"transparent",stroke:t.mergedColor[1],d:"M "+(t.width-5)+" "+(t.height-30)+" L "+(t.width-5)+" "+(t.height-5)+" L "+(t.width-30)+" "+(t.height-5)}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),tt=[],et={name:"DvBorderBox13",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-13",defaultColor:["#6586ec","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},nt=et,rt=Object(m["a"])(nt,J,tt,!1,null,null,null),it=rt.exports,ot=function(t){t.component(it.name,it)},at=(n("b72d"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-2"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 7, 7 "+(t.width-7)+", 7 "+(t.width-7)+", "+(t.height-7)+" 7, "+(t.height-7)+"\n "}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"2, 2 "+(t.width-2)+" ,2 "+(t.width-2)+", "+(t.height-2)+" 2, "+(t.height-2)+" 2, 2"}}),n("polyline",{attrs:{stroke:t.mergedColor[1],points:"6, 6 "+(t.width-6)+", 6 "+(t.width-6)+", "+(t.height-6)+" 6, "+(t.height-6)+" 6, 6"}}),n("circle",{attrs:{fill:t.mergedColor[0],cx:"11",cy:"11",r:"1"}}),n("circle",{attrs:{fill:t.mergedColor[0],cx:t.width-11,cy:"11",r:"1"}}),n("circle",{attrs:{fill:t.mergedColor[0],cx:t.width-11,cy:t.height-11,r:"1"}}),n("circle",{attrs:{fill:t.mergedColor[0],cx:"11",cy:t.height-11,r:"1"}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),st=[],lt={name:"DvBorderBox2",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-2",defaultColor:["#fff","rgba(255, 255, 255, 0.6)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},ut=lt,ct=Object(m["a"])(ut,at,st,!1,null,null,null),ft=(ct.exports,n("1e4c"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-3"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 23, 23 "+(t.width-24)+", 23 "+(t.width-24)+", "+(t.height-24)+" 23, "+(t.height-24)+"\n "}}),n("polyline",{staticClass:"dv-bb3-line1",attrs:{stroke:t.mergedColor[0],points:"4, 4 "+(t.width-22)+" ,4 "+(t.width-22)+", "+(t.height-22)+" 4, "+(t.height-22)+" 4, 4"}}),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:t.mergedColor[1],points:"10, 10 "+(t.width-16)+", 10 "+(t.width-16)+", "+(t.height-16)+" 10, "+(t.height-16)+" 10, 10"}}),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:t.mergedColor[1],points:"16, 16 "+(t.width-10)+", 16 "+(t.width-10)+", "+(t.height-10)+" 16, "+(t.height-10)+" 16, 16"}}),n("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:t.mergedColor[1],points:"22, 22 "+(t.width-4)+", 22 "+(t.width-4)+", "+(t.height-4)+" 22, "+(t.height-4)+" 22, 22"}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),ht=[],dt={name:"DvBorderBox3",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-3",defaultColor:["#2862b7","#2862b7"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},pt=dt,gt=Object(m["a"])(pt,ft,ht,!1,null,null,null),vt=(gt.exports,n("1dac"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-4"},[n("svg",{class:"dv-border-svg-container "+(t.reverse&&"dv-reverse"),attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n "+(t.width-15)+", 22 170, 22 150, 7 40, 7 28, 21 32, 24\n 16, 42 16, "+(t.height-32)+" 41, "+(t.height-7)+" "+(t.width-15)+", "+(t.height-7)+"\n "}}),n("polyline",{staticClass:"dv-bb4-line-1",attrs:{stroke:t.mergedColor[0],points:"145, "+(t.height-5)+" 40, "+(t.height-5)+" 10, "+(t.height-35)+"\n 10, 40 40, 5 150, 5 170, 20 "+(t.width-15)+", 20"}}),n("polyline",{staticClass:"dv-bb4-line-2",attrs:{stroke:t.mergedColor[1],points:"245, "+(t.height-1)+" 36, "+(t.height-1)+" 14, "+(t.height-23)+"\n 14, "+(t.height-100)}}),n("polyline",{staticClass:"dv-bb4-line-3",attrs:{stroke:t.mergedColor[0],points:"7, "+(t.height-40)+" 7, "+(t.height-75)}}),n("polyline",{staticClass:"dv-bb4-line-4",attrs:{stroke:t.mergedColor[0],points:"28, 24 13, 41 13, 64"}}),n("polyline",{staticClass:"dv-bb4-line-5",attrs:{stroke:t.mergedColor[0],points:"5, 45 5, 140"}}),n("polyline",{staticClass:"dv-bb4-line-6",attrs:{stroke:t.mergedColor[1],points:"14, 75 14, 180"}}),n("polyline",{staticClass:"dv-bb4-line-7",attrs:{stroke:t.mergedColor[1],points:"55, 11 147, 11 167, 26 250, 26"}}),n("polyline",{staticClass:"dv-bb4-line-8",attrs:{stroke:t.mergedColor[1],points:"158, 5 173, 16"}}),n("polyline",{staticClass:"dv-bb4-line-9",attrs:{stroke:t.mergedColor[0],points:"200, 17 "+(t.width-10)+", 17"}}),n("polyline",{staticClass:"dv-bb4-line-10",attrs:{stroke:t.mergedColor[1],points:"385, 17 "+(t.width-10)+", 17"}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),yt=[],mt={name:"DvBorderBox4",mixins:[L],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-4",defaultColor:["red","rgba(0,0,255,0.8)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},bt=mt,xt=Object(m["a"])(bt,vt,yt,!1,null,null,null),_t=(xt.exports,n("042d"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-5"},[n("svg",{class:"dv-border-svg-container "+(t.reverse&&"dv-reverse"),attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 10, 22 "+(t.width-22)+", 22 "+(t.width-22)+", "+(t.height-86)+" "+(t.width-84)+", "+(t.height-24)+" 10, "+(t.height-24)+"\n "}}),n("polyline",{staticClass:"dv-bb5-line-1",attrs:{stroke:t.mergedColor[0],points:"8, 5 "+(t.width-5)+", 5 "+(t.width-5)+", "+(t.height-100)+"\n "+(t.width-100)+", "+(t.height-5)+" 8, "+(t.height-5)+" 8, 5"}}),n("polyline",{staticClass:"dv-bb5-line-2",attrs:{stroke:t.mergedColor[1],points:"3, 5 "+(t.width-20)+", 5 "+(t.width-20)+", "+(t.height-60)+"\n "+(t.width-74)+", "+(t.height-5)+" 3, "+(t.height-5)+" 3, 5"}}),n("polyline",{staticClass:"dv-bb5-line-3",attrs:{stroke:t.mergedColor[1],points:"50, 13 "+(t.width-35)+", 13"}}),n("polyline",{staticClass:"dv-bb5-line-4",attrs:{stroke:t.mergedColor[1],points:"15, 20 "+(t.width-35)+", 20"}}),n("polyline",{staticClass:"dv-bb5-line-5",attrs:{stroke:t.mergedColor[1],points:"15, "+(t.height-20)+" "+(t.width-110)+", "+(t.height-20)}}),n("polyline",{staticClass:"dv-bb5-line-6",attrs:{stroke:t.mergedColor[1],points:"15, "+(t.height-13)+" "+(t.width-110)+", "+(t.height-13)}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),wt=[],St={name:"DvBorderBox5",mixins:[L],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-5",defaultColor:["rgba(255, 255, 255, 0.35)","rgba(255, 255, 255, 0.20)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Ct=St,At=Object(m["a"])(Ct,_t,wt,!1,null,null,null),kt=(At.exports,n("4e86"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-6"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 9, 7 "+(t.width-9)+", 7 "+(t.width-9)+", "+(t.height-7)+" 9, "+(t.height-7)+"\n "}}),n("circle",{attrs:{fill:t.mergedColor[1],cx:"5",cy:"5",r:"2"}}),n("circle",{attrs:{fill:t.mergedColor[1],cx:t.width-5,cy:"5",r:"2"}}),n("circle",{attrs:{fill:t.mergedColor[1],cx:t.width-5,cy:t.height-5,r:"2"}}),n("circle",{attrs:{fill:t.mergedColor[1],cx:"5",cy:t.height-5,r:"2"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"10, 4 "+(t.width-10)+", 4"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"10, "+(t.height-4)+" "+(t.width-10)+", "+(t.height-4)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"5, 70 5, "+(t.height-70)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.width-5+", 70 "+(t.width-5)+", "+(t.height-70)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"3, 10, 3, 50"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"7, 30 7, 80"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.width-3+", 10 "+(t.width-3)+", 50"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.width-7+", 30 "+(t.width-7)+", 80"}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"3, "+(t.height-10)+" 3, "+(t.height-50)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:"7, "+(t.height-30)+" 7, "+(t.height-80)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.width-3+", "+(t.height-10)+" "+(t.width-3)+", "+(t.height-50)}}),n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.width-7+", "+(t.height-30)+" "+(t.width-7)+", "+(t.height-80)}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),Ot=[],Mt={name:"DvBorderBox6",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-6",defaultColor:["rgba(255, 255, 255, 0.35)","gray"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Et=Mt,Tt=Object(m["a"])(Et,kt,Ot,!1,null,null,null),It=(Tt.exports,n("3648"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-7",style:"box-shadow: inset 0 0 40px "+t.mergedColor[0]+"; border: 1px solid "+t.mergedColor[0]+"; background-color: "+t.backgroundColor},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:t.mergedColor[0],points:"0, 25 0, 0 25, 0"}}),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:t.mergedColor[0],points:t.width-25+", 0 "+t.width+", 0 "+t.width+", 25"}}),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:t.mergedColor[0],points:t.width-25+", "+t.height+" "+t.width+", "+t.height+" "+t.width+", "+(t.height-25)}}),n("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:t.mergedColor[0],points:"0, "+(t.height-25)+" 0, "+t.height+" 25, "+t.height}}),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:t.mergedColor[1],points:"0, 10 0, 0 10, 0"}}),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:t.mergedColor[1],points:t.width-10+", 0 "+t.width+", 0 "+t.width+", 10"}}),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:t.mergedColor[1],points:t.width-10+", "+t.height+" "+t.width+", "+t.height+" "+t.width+", "+(t.height-10)}}),n("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:t.mergedColor[1],points:"0, "+(t.height-10)+" 0, "+t.height+" 10, "+t.height}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),Pt=[],Lt={name:"DvBorderBox7",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-7",defaultColor:["rgba(128,128,128,0.3)","rgba(128,128,128,0.5)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Dt=Lt,Rt=Object(m["a"])(Dt,It,Pt,!1,null,null,null),Nt=(Rt.exports,n("733c"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-8"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("defs",[n("path",{attrs:{id:t.path,d:t.pathD,fill:"transparent"}}),n("radialGradient",{attrs:{id:t.gradient,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),n("mask",{attrs:{id:t.mask}},[n("circle",{attrs:{cx:"0",cy:"0",r:"150",fill:"url(#"+t.gradient+")"}},[n("animateMotion",{attrs:{dur:t.dur+"s",path:t.pathD,rotate:"auto",repeatCount:"indefinite"}})],1)])],1),n("polygon",{attrs:{fill:t.backgroundColor,points:"5, 5 "+(t.width-5)+", 5 "+(t.width-5)+" "+(t.height-5)+" 5, "+(t.height-5)}}),n("use",{attrs:{stroke:t.mergedColor[0],"stroke-width":"1","xlink:href":"#"+t.path}}),n("use",{attrs:{stroke:t.mergedColor[1],"stroke-width":"3","xlink:href":"#"+t.path,mask:"url(#"+t.mask+")"}},[n("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+t.length,to:t.length+", 0",dur:t.dur+"s",repeatCount:"indefinite"}})])]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),jt=[],Bt=(n("99af"),{name:"DvBorderBox8",mixins:[L],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3},backgroundColor:{type:String,default:"transparent"},reverse:{type:Boolean,default:!1}},data:function(){var t=P();return{ref:"border-box-8",path:"border-box-8-path-".concat(t),gradient:"border-box-8-gradient-".concat(t),mask:"border-box-8-mask-".concat(t),defaultColor:["#235fa7","#4fd2dd"],mergedColor:[]}},computed:{length:function(){var t=this.width,e=this.height;return 2*(t+e-5)},pathD:function(){var t=this.reverse,e=this.width,n=this.height;return t?"M 2.5, 2.5 L 2.5, ".concat(n-2.5," L ").concat(e-2.5,", ").concat(n-2.5," L ").concat(e-2.5,", 2.5 L 2.5, 2.5"):"M2.5, 2.5 L".concat(e-2.5,", 2.5 L").concat(e-2.5,", ").concat(n-2.5," L2.5, ").concat(n-2.5," L2.5, 2.5")}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}}),Ft=Bt,zt=Object(m["a"])(Ft,Nt,jt,!1,null,null,null),Vt=zt.exports,qt=function(t){t.component(Vt.name,Vt)},Ht=(n("6fc2"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-border-box-9"},[n("svg",{staticClass:"dv-border-svg-container",attrs:{width:t.width,height:t.height}},[n("defs",[n("linearGradient",{attrs:{id:t.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"100%"}},[n("animate",{attrs:{attributeName:"x1",values:"0%;100%;0%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"x2",values:"100%;0%;100%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),n("stop",{attrs:{offset:"0%","stop-color":t.mergedColor[0]}},[n("animate",{attrs:{attributeName:"stop-color",values:t.mergedColor[0]+";"+t.mergedColor[1]+";"+t.mergedColor[0],dur:"10s",begin:"0s",repeatCount:"indefinite"}})]),n("stop",{attrs:{offset:"100%","stop-color":t.mergedColor[1]}},[n("animate",{attrs:{attributeName:"stop-color",values:t.mergedColor[1]+";"+t.mergedColor[0]+";"+t.mergedColor[1],dur:"10s",begin:"0s",repeatCount:"indefinite"}})])],1),n("mask",{attrs:{id:t.maskId}},[n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.4*t.height+" 8, 3, "+(.4*t.width+7)+", 3"}}),n("polyline",{attrs:{fill:"#fff",points:"8, "+.15*t.height+" 8, 3, "+(.1*t.width+7)+", 3\n "+.1*t.width+", 8 14, 8 14, "+(.15*t.height-7)+"\n "}}),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.5*t.width+", 3 "+(t.width-3)+", 3, "+(t.width-3)+", "+.25*t.height}}),n("polyline",{attrs:{fill:"#fff",points:"\n "+.52*t.width+", 3 "+.58*t.width+", 3\n "+(.58*t.width-7)+", 9 "+(.52*t.width+7)+", 9\n "}}),n("polyline",{attrs:{fill:"#fff",points:"\n "+.9*t.width+", 3 "+(t.width-3)+", 3 "+(t.width-3)+", "+.1*t.height+"\n "+(t.width-9)+", "+(.1*t.height-7)+" "+(t.width-9)+", 9 "+(.9*t.width+7)+", 9\n "}}),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.5*t.height+" 8, "+(t.height-3)+" "+(.3*t.width+7)+", "+(t.height-3)}}),n("polyline",{attrs:{fill:"#fff",points:"\n 8, "+.55*t.height+" 8, "+.7*t.height+"\n 2, "+(.7*t.height-7)+" 2, "+(.55*t.height+7)+"\n "}}),n("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.35*t.width+", "+(t.height-3)+" "+(t.width-3)+", "+(t.height-3)+" "+(t.width-3)+", "+.35*t.height}}),n("polyline",{attrs:{fill:"#fff",points:"\n "+.92*t.width+", "+(t.height-3)+" "+(t.width-3)+", "+(t.height-3)+" "+(t.width-3)+", "+.8*t.height+"\n "+(t.width-9)+", "+(.8*t.height+7)+" "+(t.width-9)+", "+(t.height-9)+" "+(.92*t.width+7)+", "+(t.height-9)+"\n "}})])],1),n("polygon",{attrs:{fill:t.backgroundColor,points:"\n 15, 9 "+(.1*t.width+1)+", 9 "+(.1*t.width+4)+", 6 "+(.52*t.width+2)+", 6\n "+(.52*t.width+6)+", 10 "+(.58*t.width-7)+", 10 "+(.58*t.width-2)+", 6\n "+(.9*t.width+2)+", 6 "+(.9*t.width+6)+", 10 "+(t.width-10)+", 10 "+(t.width-10)+", "+(.1*t.height-6)+"\n "+(t.width-6)+", "+(.1*t.height-1)+" "+(t.width-6)+", "+(.8*t.height+1)+" "+(t.width-10)+", "+(.8*t.height+6)+"\n "+(t.width-10)+", "+(t.height-10)+" "+(.92*t.width+7)+", "+(t.height-10)+" "+(.92*t.width+2)+", "+(t.height-6)+"\n 11, "+(t.height-6)+" 11, "+(.15*t.height-2)+" 15, "+(.15*t.height-7)+"\n "}}),n("rect",{attrs:{x:"0",y:"0",width:t.width,height:t.height,fill:"url(#"+t.gradientId+")",mask:"url(#"+t.maskId+")"}})]),n("div",{staticClass:"border-box-content"},[t._t("default")],2)])}),Wt=[],Gt={name:"DvBorderBox9",mixins:[L],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var t=P();return{ref:"border-box-9",gradientId:"border-box-9-gradient-".concat(t),maskId:"border-box-9-mask-".concat(t),defaultColor:["#11eefd","#0078d2"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Ut=Gt,$t=Object(m["a"])(Ut,Ht,Wt,!1,null,null,null),Kt=($t.exports,n("335d"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dv-capsule-chart"},[t.mergedConfig?[n("div",{staticClass:"label-column"},[t._l(t.mergedConfig.data,(function(e){return n("div",{key:e.name},[t._v(t._s(e.name))])})),n("div")],2),n("div",{staticClass:"capsule-container"},[t._l(t.capsuleLength,(function(e,r){return n("div",{key:r,staticClass:"capsule-item"},[n("div",{staticClass:"capsule-item-column",style:"width: "+100*e+"%; background-color: "+t.mergedConfig.colors[r%t.mergedConfig.colors.length]+";"},[t.mergedConfig.showValue?n("div",{staticClass:"capsule-item-value"},[t._v(t._s(t.capsuleValue[r]))]):t._e()])])})),n("div",{staticClass:"unit-label"},t._l(t.labelData,(function(e,r){return n("div",{key:e+r},[t._v(t._s(e))])})),0)],2),t.mergedConfig.unit?n("div",{staticClass:"unit-text"},[t._v(t._s(t.mergedConfig.unit))]):t._e()]:t._e()],2)}),Yt=[],Zt=(n("cb29"),n("a630"),n("6062"),n("3ca3"),n("ddb0"),{name:"DvCapsuleChart",props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultConfig:{data:[],colors:["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293"],unit:"",showValue:!1},mergedConfig:null,capsuleLength:[],capsuleValue:[],labelData:[],labelDataLength:[]}},watch:{config:function(){var t=this.calcData;t()}},methods:{calcData:function(){var t=this.mergeConfig,e=this.calcCapsuleLengthAndLabelData;t(),e()},mergeConfig:function(){var t=this.config,e=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||{})},calcCapsuleLengthAndLabelData:function(){var t=this.mergedConfig.data;if(t.length){var e=t.map((function(t){var e=t.value;return e})),n=Math.max.apply(Math,Object(o["a"])(e));this.capsuleValue=e,this.capsuleLength=e.map((function(t){return n?t/n:0}));var r=n/5,i=Array.from(new Set(new Array(6).fill(0).map((function(t,e){return Math.ceil(e*r)}))));this.labelData=i,this.labelDataLength=Array.from(i).map((function(t){return n?t/n:0}))}}},mounted:function(){var t=this.calcData;t()}}),Xt=Zt,Qt=Object(m["a"])(Xt,Kt,Yt,!1,null,null,null),Jt=Qt.exports,te=function(t){t.component(Jt.name,Jt)},ee=(n("8261"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-charts-container"},[n("div",{ref:t.chartRef,staticClass:"charts-canvas-container"})])}),ne=[],re={name:"DvCharts",mixins:[L],props:{option:{type:Object,default:function(){return{}}}},data:function(){var t=P();return{ref:"charts-container-".concat(t),chartRef:"chart-".concat(t),chart:null}},watch:{option:function(){var t=this.chart,e=this.option;t&&(e||(e={}),t.setOption(e,!0))}},methods:{afterAutoResizeMixinInit:function(){var t=this.initChart;t()},initChart:function(){var t=this.$refs,e=this.chartRef,n=this.option,r=this.chart=new l.a(t[e]);n&&r.setOption(n)},onResize:function(){var t=this.chart;t&&t.resize()}}},ie=re,oe=Object(m["a"])(ie,ee,ne,!1,null,null,null),ae=(oe.exports,n("7ed3"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-conical-column-chart"},[n("svg",{attrs:{width:t.width,height:t.height}},t._l(t.column,(function(e,r){return n("g",{key:r},[n("path",{attrs:{d:e.d,fill:t.mergedConfig.columnColor}}),n("text",{style:"fontSize:"+t.mergedConfig.fontSize+"px",attrs:{fill:t.mergedConfig.textColor,x:e.x,y:t.height-4}},[t._v(" "+t._s(e.name)+" ")]),t.mergedConfig.img.length?n("image",{attrs:{"xlink:href":t.mergedConfig.img[r%t.mergedConfig.img.length],width:t.mergedConfig.imgSideLength,height:t.mergedConfig.imgSideLength,x:e.x-t.mergedConfig.imgSideLength/2,y:e.y-t.mergedConfig.imgSideLength}}):t._e(),t.mergedConfig.showValue?n("text",{style:"fontSize:"+t.mergedConfig.fontSize+"px",attrs:{fill:t.mergedConfig.textColor,x:e.x,y:e.textY}},[t._v(" "+t._s(e.value)+" ")]):t._e()])})),0)])}),se=[],le=(n("4e82"),{name:"DvConicalColumnChart",mixins:[L],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"conical-column-chart",defaultConfig:{data:[],img:[],fontSize:12,imgSideLength:30,columnColor:"rgba(0, 194, 255, 0.4)",textColor:"#fff",showValue:!1},mergedConfig:null,column:[]}},watch:{config:function(){var t=this.calcData;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcData;t()},onResize:function(){var t=this.calcData;t()},calcData:function(){var t=this.mergeConfig,e=this.initData,n=this.calcSVGPath;t(),e(),n()},mergeConfig:function(){var t=this.defaultConfig,e=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(t,!0),e||{})},initData:function(){var t=this.mergedConfig,e=t.data;e=Object(g["deepClone"])(e,!0),e.sort((function(t,e){var n=t.value,r=e.value;return n>r?-1:n.6?n("rect",{key:r,attrs:{fill:t.mergedColor[0],x:e[0]-t.halfPointSideLength,y:e[1]-t.halfPointSideLength,width:t.pointSideLength,height:t.pointSideLength}},[Math.random()>.6?n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[0]+";transparent",dur:"1s",begin:2*Math.random(),repeatCount:"indefinite"}}):t._e()]):t._e()]})),t.rects[0]?n("rect",{attrs:{fill:t.mergedColor[1],x:t.rects[0][0]-t.pointSideLength,y:t.rects[0][1]-t.pointSideLength,width:2*t.pointSideLength,height:2*t.pointSideLength}},[n("animate",{attrs:{attributeName:"width",values:"0;"+2*t.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"height",values:"0;"+2*t.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"x",values:t.rects[0][0]+";"+(t.rects[0][0]-t.pointSideLength),dur:"2s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"y",values:t.rects[0][1]+";"+(t.rects[0][1]-t.pointSideLength),dur:"2s",repeatCount:"indefinite"}})]):t._e(),t.rects[1]?n("rect",{attrs:{fill:t.mergedColor[1],x:t.rects[1][0]-40,y:t.rects[1][1]-t.pointSideLength,width:40,height:2*t.pointSideLength}},[n("animate",{attrs:{attributeName:"width",values:"0;40;0",dur:"2s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"x",values:t.rects[1][0]+";"+(t.rects[1][0]-40)+";"+t.rects[1][0],dur:"2s",repeatCount:"indefinite"}})]):t._e()],2)])}),he=[],de={name:"DvDecoration1",mixins:[L],props:{color:{type:Array,default:function(){return[]}}},data:function(){var t=2.5;return{ref:"decoration-1",svgWH:[200,50],svgScale:[1,1],rowNum:4,rowPoints:20,pointSideLength:t,halfPointSideLength:t/2,points:[],rects:[],defaultColor:["#fff","#0de7c2"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcSVGData;t()},calcSVGData:function(){var t=this.calcPointsPosition,e=this.calcRectsPosition,n=this.calcScale;t(),e(),n()},calcPointsPosition:function(){var t=this.svgWH,e=this.rowNum,n=this.rowPoints,r=Object(f["a"])(t,2),i=r[0],a=r[1],s=i/(n+1),l=a/(e+1),u=new Array(e).fill(0).map((function(t,e){return new Array(n).fill(0).map((function(t,n){return[s*(n+1),l*(e+1)]}))}));this.points=u.reduce((function(t,e){return[].concat(Object(o["a"])(t),Object(o["a"])(e))}),[])},calcRectsPosition:function(){var t=this.points,e=this.rowPoints,n=t[2*e-1],r=t[2*e-3];this.rects=[n,r]},calcScale:function(){var t=this.width,e=this.height,n=this.svgWH,r=Object(f["a"])(n,2),i=r[0],o=r[1];this.svgScale=[t/i,e/o]},onResize:function(){var t=this.calcSVGData;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},pe=de,ge=Object(m["a"])(pe,fe,he,!1,null,null,null),ve=(ge.exports,n("c423"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-10"},[n("svg",{attrs:{width:t.width,height:t.height}},[n("polyline",{attrs:{stroke:t.mergedColor[1],"stroke-width":"2",points:"0, "+t.height/2+" "+t.width+", "+t.height/2}}),n("polyline",{attrs:{stroke:t.mergedColor[0],"stroke-width":"2",points:"5, "+t.height/2+" "+(.2*t.width-3)+", "+t.height/2,"stroke-dasharray":"0, "+.2*t.width,fill:"freeze"}},[n("animate",{attrs:{id:t.animationId2,attributeName:"stroke-dasharray",values:"0, "+.2*t.width+";"+.2*t.width+", 0;",dur:"3s",begin:t.animationId1+".end",fill:"freeze"}}),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*t.width+", 0;0, "+.2*t.width,dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})]),n("polyline",{attrs:{stroke:t.mergedColor[0],"stroke-width":"2",points:.2*t.width+3+", "+t.height/2+" "+(.8*t.width-3)+", "+t.height/2,"stroke-dasharray":"0, "+.6*t.width}},[n("animate",{attrs:{id:t.animationId4,attributeName:"stroke-dasharray",values:"0, "+.6*t.width+";"+.6*t.width+", 0",dur:"3s",begin:t.animationId3+".end + 1s",fill:"freeze"}}),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.6*t.width+", 0;0, "+.6*t.width,dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})]),n("polyline",{attrs:{stroke:t.mergedColor[0],"stroke-width":"2",points:.8*t.width+3+", "+t.height/2+" "+(t.width-5)+", "+t.height/2,"stroke-dasharray":"0, "+.2*t.width}},[n("animate",{attrs:{id:t.animationId6,attributeName:"stroke-dasharray",values:"0, "+.2*t.width+";"+.2*t.width+", 0",dur:"3s",begin:t.animationId5+".end + 1s",fill:"freeze"}}),n("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*t.width+", 0;0, "+.3*t.width,dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})]),n("circle",{attrs:{cx:"2",cy:t.height/2,r:"2",fill:t.mergedColor[1]}},[n("animate",{attrs:{id:t.animationId1,attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[0],begin:"0s;"+t.animationId7+".end",dur:"0.3s",fill:"freeze"}})]),n("circle",{attrs:{cx:.2*t.width,cy:t.height/2,r:"2",fill:t.mergedColor[1]}},[n("animate",{attrs:{id:t.animationId3,attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[0],begin:t.animationId2+".end",dur:"0.3s",fill:"freeze"}}),n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[1],dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})]),n("circle",{attrs:{cx:.8*t.width,cy:t.height/2,r:"2",fill:t.mergedColor[1]}},[n("animate",{attrs:{id:t.animationId5,attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[0],begin:t.animationId4+".end",dur:"0.3s",fill:"freeze"}}),n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[1],dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})]),n("circle",{attrs:{cx:t.width-2,cy:t.height/2,r:"2",fill:t.mergedColor[1]}},[n("animate",{attrs:{id:t.animationId7,attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[0],begin:t.animationId6+".end",dur:"0.3s",fill:"freeze"}}),n("animate",{attrs:{attributeName:"fill",values:t.mergedColor[1]+";"+t.mergedColor[1],dur:"0.01s",begin:t.animationId7+".end",fill:"freeze"}})])])])}),ye=[],me={name:"DvDecoration10",mixins:[L],props:{color:{type:Array,default:function(){return[]}}},data:function(){var t=P();return{ref:"decoration-10",animationId1:"d10ani1".concat(t),animationId2:"d10ani2".concat(t),animationId3:"d10ani3".concat(t),animationId4:"d10ani4".concat(t),animationId5:"d10ani5".concat(t),animationId6:"d10ani6".concat(t),animationId7:"d10ani7".concat(t),defaultColor:["#00c2ff","rgba(0, 194, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},be=me,xe=Object(m["a"])(be,ve,ye,!1,null,null,null),_e=(xe.exports,n("3e8a"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-11"},[n("svg",{attrs:{width:t.width,height:t.height}},[n("polygon",{attrs:{fill:t.fade(t.mergedColor[1]||t.defaultColor[1],10),stroke:t.mergedColor[1],points:"20 10, 25 4, 55 4 60 10"}}),n("polygon",{attrs:{fill:t.fade(t.mergedColor[1]||t.defaultColor[1],10),stroke:t.mergedColor[1],points:"20 "+(t.height-10)+", 25 "+(t.height-4)+", 55 "+(t.height-4)+" 60 "+(t.height-10)}}),n("polygon",{attrs:{fill:t.fade(t.mergedColor[1]||t.defaultColor[1],10),stroke:t.mergedColor[1],points:t.width-20+" 10, "+(t.width-25)+" 4, "+(t.width-55)+" 4 "+(t.width-60)+" 10"}}),n("polygon",{attrs:{fill:t.fade(t.mergedColor[1]||t.defaultColor[1],10),stroke:t.mergedColor[1],points:t.width-20+" "+(t.height-10)+", "+(t.width-25)+" "+(t.height-4)+", "+(t.width-55)+" "+(t.height-4)+" "+(t.width-60)+" "+(t.height-10)}}),n("polygon",{attrs:{fill:t.fade(t.mergedColor[0]||t.defaultColor[0],20),stroke:t.mergedColor[0],points:"\n 20 10, 5 "+t.height/2+" 20 "+(t.height-10)+"\n "+(t.width-20)+" "+(t.height-10)+" "+(t.width-5)+" "+t.height/2+" "+(t.width-20)+" 10\n "}}),n("polyline",{attrs:{fill:"transparent",stroke:t.fade(t.mergedColor[0]||t.defaultColor[0],70),points:"25 18, 15 "+t.height/2+" 25 "+(t.height-18)}}),n("polyline",{attrs:{fill:"transparent",stroke:t.fade(t.mergedColor[0]||t.defaultColor[0],70),points:t.width-25+" 18, "+(t.width-15)+" "+t.height/2+" "+(t.width-25)+" "+(t.height-18)}})]),n("div",{staticClass:"decoration-content"},[t._t("default")],2)])}),we=[],Se={name:"DvDecoration11",mixins:[L],props:{color:{type:Array,default:function(){return[]}}},data:function(){return{ref:"decoration-11",defaultColor:["#1a98fc","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])},fade:W["fade"]},mounted:function(){var t=this.mergeColor;t()}},Ce=Se,Ae=Object(m["a"])(Ce,_e,we,!1,null,null,null),ke=(Ae.exports,n("e11f"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-12"},[n("svg",{attrs:{width:t.width,height:t.height}},[n("defs",[n("g",{attrs:{id:t.gId}},t._l(t.pathD,(function(e,r){return n("path",{key:e,attrs:{stroke:t.pathColor[r],"stroke-width":t.width/2,fill:"transparent",d:e}})})),0),n("radialGradient",{attrs:{id:t.gradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"transparent","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":t.fade(t.mergedColor[1]||t.defaultColor[1],30),"stop-opacity":"1"}})],1)],1),t._l(t.circleR,(function(e){return n("circle",{key:e,attrs:{r:e,cx:t.x,cy:t.y,stroke:t.mergedColor[1],"stroke-width":.5,fill:"transparent"}})})),n("circle",{attrs:{r:"1",cx:t.x,cy:t.y,stroke:"transparent",fill:"url(#"+t.gradientId+")"}},[n("animate",{attrs:{attributeName:"r",values:"1;"+t.width/2,dur:t.haloDur+"s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:t.haloDur+"s",repeatCount:"indefinite"}})]),n("circle",{attrs:{r:"2",cx:t.x,cy:t.y,fill:t.mergedColor[1]}}),t.showSplitLine?n("g",t._l(t.splitLinePoints,(function(e){return n("polyline",{key:e,attrs:{points:e,stroke:t.mergedColor[1],"stroke-width":.5,opacity:"0.5"}})})),0):t._e(),t._l(t.arcD,(function(e){return n("path",{key:e,attrs:{d:e,stroke:t.mergedColor[1],"stroke-width":"2",fill:"transparent"}})})),n("use",{attrs:{"xlink:href":"#"+t.gId}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, "+t.x+" "+t.y+";360, "+t.x+" "+t.y,dur:t.scanDur+"s",repeatCount:"indefinite"}})],1)],2),n("div",{staticClass:"decoration-content"},[t._t("default")],2)])}),Oe=[],Me=(n("a15b"),{name:"DvDecoration12",mixins:[L],props:{color:{type:Array,default:function(){return[]}},scanDur:{type:Number,default:3},haloDur:{type:Number,default:2}},data:function(){var t=P();return{ref:"decoration-12",gId:"decoration-12-g-".concat(t),gradientId:"decoration-12-gradient-".concat(t),defaultColor:["#2783ce","#2cf7fe"],mergedColor:[],pathD:[],pathColor:[],circleR:[],splitLinePoints:[],arcD:[],segment:30,sectorAngle:Math.PI/3,ringNum:3,ringWidth:1,showSplitLine:!0}},watch:{color:function(){var t=this.mergeColor;t()}},computed:{x:function(){var t=this.width;return t/2},y:function(){var t=this.height;return t/2}},methods:{init:function(){var t=this.mergeColor,e=this.calcPathD,n=this.calcPathColor,r=this.calcCircleR,i=this.calcSplitLinePoints,o=this.calcArcD;t(),e(),n(),r(),i(),o()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])},calcPathD:function(){var t=this.x,e=this.y,n=this.width,r=this.segment,i=this.sectorAngle,o=-Math.PI/2,a=i/r,s=n/4,l=Object(g["getCircleRadianPoint"])(t,e,s,o);this.pathD=new Array(r).fill("").map((function(n,r){var i=Object(g["getCircleRadianPoint"])(t,e,s,o-(r+1)*a).map((function(t){return t.toFixed(5)})),u="M".concat(l.join(",")," A").concat(s,", ").concat(s," 0 0 0 ").concat(i.join(","));return l=i,u}))},calcPathColor:function(){var t=Object(f["a"])(this.mergedColor,1),e=t[0],n=this.segment,r=100/(n-1);this.pathColor=new Array(n).fill(e).map((function(t,n){return Object(W["fade"])(e,100-n*r)}))},calcCircleR:function(){this.segment;var t=this.ringNum,e=this.width,n=this.ringWidth,r=(e/2-n/2)/t;this.circleR=new Array(t).fill(0).map((function(t,e){return r*(e+1)}))},calcSplitLinePoints:function(){var t=this.x,e=this.y,n=this.width,r=Math.PI/6,i=n/2;this.splitLinePoints=new Array(6).fill("").map((function(n,o){var a=r*(o+1),s=a+Math.PI,l=Object(g["getCircleRadianPoint"])(t,e,i,a),u=Object(g["getCircleRadianPoint"])(t,e,i,s);return"".concat(l.join(",")," ").concat(u.join(","))}))},calcArcD:function(){var t=this.x,e=this.y,n=this.width,r=Math.PI/6,i=n/2-1;this.arcD=new Array(4).fill("").map((function(n,o){var a=r*(3*o+1),s=a+r,l=Object(g["getCircleRadianPoint"])(t,e,i,a),u=Object(g["getCircleRadianPoint"])(t,e,i,s);return"M".concat(l.join(",")," A").concat(t,", ").concat(e," 0 0 1 ").concat(u.join(","))}))},afterAutoResizeMixinInit:function(){var t=this.init;t()},fade:W["fade"]}}),Ee=Me,Te=Object(m["a"])(Ee,ke,Oe,!1,null,null,null),Ie=Te.exports,Pe=function(t){t.component(Ie.name,Ie)},Le=(n("9b06"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-2"},[n("svg",{attrs:{width:t.width+"px",height:t.height+"px"}},[n("rect",{attrs:{x:t.x,y:t.y,width:t.w,height:t.h,fill:t.mergedColor[0]}},[n("animate",{attrs:{attributeName:t.reverse?"height":"width",from:"0",to:t.reverse?t.height:t.width,dur:t.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:".42,0,.58,1",repeatCount:"indefinite"}})]),n("rect",{attrs:{x:t.x,y:t.y,width:"1",height:"1",fill:t.mergedColor[1]}},[n("animate",{attrs:{attributeName:t.reverse?"y":"x",from:"0",to:t.reverse?t.height:t.width,dur:t.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.42,0,0.58,1",repeatCount:"indefinite"}})])])])}),De=[],Re={name:"DvDecoration2",mixins:[L],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:6}},data:function(){return{ref:"decoration-2",x:0,y:0,w:0,h:0,defaultColor:["#3faacb","#fff"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()},reverse:function(){var t=this.calcSVGData;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcSVGData;t()},calcSVGData:function(){var t=this.reverse,e=this.width,n=this.height;t?(this.w=1,this.h=n,this.x=e/2,this.y=0):(this.w=e,this.h=1,this.x=0,this.y=n/2)},onResize:function(){var t=this.calcSVGData;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Ne=Re,je=Object(m["a"])(Ne,Le,De,!1,null,null,null),Be=(je.exports,n("5e07"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-3"},[n("svg",{style:"transform:scale("+t.svgScale[0]+","+t.svgScale[1]+");",attrs:{width:t.svgWH[0]+"px",height:t.svgWH[1]+"px"}},[t._l(t.points,(function(e,r){return[n("rect",{key:r,attrs:{fill:t.mergedColor[0],x:e[0]-t.halfPointSideLength,y:e[1]-t.halfPointSideLength,width:t.pointSideLength,height:t.pointSideLength}},[Math.random()>.6?n("animate",{attrs:{attributeName:"fill",values:""+t.mergedColor.join(";"),dur:Math.random()+1+"s",begin:2*Math.random(),repeatCount:"indefinite"}}):t._e()])]}))],2)])}),Fe=[],ze={name:"DvDecoration3",mixins:[L],props:{color:{type:Array,default:function(){return[]}}},data:function(){var t=7;return{ref:"decoration-3",svgWH:[300,35],svgScale:[1,1],rowNum:2,rowPoints:25,pointSideLength:t,halfPointSideLength:t/2,points:[],defaultColor:["#7acaec","transparent"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcSVGData;t()},calcSVGData:function(){var t=this.calcPointsPosition,e=this.calcScale;t(),e()},calcPointsPosition:function(){var t=this.svgWH,e=this.rowNum,n=this.rowPoints,r=Object(f["a"])(t,2),i=r[0],a=r[1],s=i/(n+1),l=a/(e+1),u=new Array(e).fill(0).map((function(t,e){return new Array(n).fill(0).map((function(t,n){return[s*(n+1),l*(e+1)]}))}));this.points=u.reduce((function(t,e){return[].concat(Object(o["a"])(t),Object(o["a"])(e))}),[])},calcScale:function(){var t=this.width,e=this.height,n=this.svgWH,r=Object(f["a"])(n,2),i=r[0],o=r[1];this.svgScale=[t/i,e/o]},onResize:function(){var t=this.calcSVGData;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Ve=ze,qe=Object(m["a"])(Ve,Be,Fe,!1,null,null,null),He=qe.exports,We=function(t){t.component(He.name,He)},Ge=(n("c2ca"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-4"},[n("div",{class:"container "+(t.reverse?"reverse":"normal"),style:t.reverse?"width:"+t.width+"px;height:5px;animation-duration:"+t.dur+"s":"width:5px;height:"+t.height+"px;animation-duration:"+t.dur+"s"},[n("svg",{attrs:{width:t.reverse?t.width:5,height:t.reverse?5:t.height}},[n("polyline",{attrs:{stroke:t.mergedColor[0],points:t.reverse?"0, 2.5 "+t.width+", 2.5":"2.5, 0 2.5, "+t.height}}),n("polyline",{staticClass:"bold-line",attrs:{stroke:t.mergedColor[1],"stroke-width":"3","stroke-dasharray":"20, 80","stroke-dashoffset":"-30",points:t.reverse?"0, 2.5 "+t.width+", 2.5":"2.5, 0 2.5, "+t.height}})])])])}),Ue=[],$e={name:"DvDecoration4",mixins:[L],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:3}},data:function(){return{ref:"decoration-4",defaultColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Ke=$e,Ye=Object(m["a"])(Ke,Ge,Ue,!1,null,null,null),Ze=(Ye.exports,n("2848"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-5"},[n("svg",{attrs:{width:t.width,height:t.height}},[n("polyline",{attrs:{fill:"transparent",stroke:t.mergedColor[0],"stroke-width":"3",points:t.line1Points}},[n("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+t.line1Length/2+", 0, "+t.line1Length/2,to:"0, 0, "+t.line1Length+", 0",dur:t.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.4,1,0.49,0.98",repeatCount:"indefinite"}})]),n("polyline",{attrs:{fill:"transparent",stroke:t.mergedColor[1],"stroke-width":"2",points:t.line2Points}},[n("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+t.line2Length/2+", 0, "+t.line2Length/2,to:"0, 0, "+t.line2Length+", 0",dur:t.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:".4,1,.49,.98",repeatCount:"indefinite"}})])])])}),Xe=[],Qe={name:"DvDecoration5",mixins:[L],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:1.2}},data:function(){return{ref:"decoration-5",line1Points:"",line2Points:"",line1Length:0,line2Length:0,defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcSVGData;t()},calcSVGData:function(){var t=this.width,e=this.height,n=[[0,.2*e],[.18*t,.2*e],[.2*t,.4*e],[.25*t,.4*e],[.27*t,.6*e],[.72*t,.6*e],[.75*t,.4*e],[.8*t,.4*e],[.82*t,.2*e],[t,.2*e]],r=[[.3*t,.8*e],[.7*t,.8*e]],i=Object(p["getPolylineLength"])(n),o=Object(p["getPolylineLength"])(r);n=n.map((function(t){return t.join(",")})).join(" "),r=r.map((function(t){return t.join(",")})).join(" "),this.line1Points=n,this.line2Points=r,this.line1Length=i,this.line2Length=o},onResize:function(){var t=this.calcSVGData;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},Je=Qe,tn=Object(m["a"])(Je,Ze,Xe,!1,null,null,null),en=(tn.exports,n("c7c8"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-6"},[n("svg",{style:"transform:scale("+t.svgScale[0]+","+t.svgScale[1]+");",attrs:{width:t.svgWH[0]+"px",height:t.svgWH[1]+"px"}},[t._l(t.points,(function(e,r){return[n("rect",{key:r,attrs:{fill:t.mergedColor[Math.random()>.5?0:1],x:e[0]-t.halfRectWidth,y:e[1]-t.heights[r]/2,width:t.rectWidth,height:t.heights[r]}},[n("animate",{attrs:{attributeName:"y",values:e[1]-t.minHeights[r]/2+";"+(e[1]-t.heights[r]/2)+";"+(e[1]-t.minHeights[r]/2),dur:t.randoms[r]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"height",values:t.minHeights[r]+";"+t.heights[r]+";"+t.minHeights[r],dur:t.randoms[r]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}})])]}))],2)])}),nn=[],rn={name:"DvDecoration6",mixins:[L],props:{color:{type:Array,default:function(){return[]}}},data:function(){var t=7;return{ref:"decoration-6",svgWH:[300,35],svgScale:[1,1],rowNum:1,rowPoints:40,rectWidth:t,halfRectWidth:t/2,points:[],heights:[],minHeights:[],randoms:[],defaultColor:["#7acaec","#7acaec"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcSVGData;t()},calcSVGData:function(){var t=this.calcPointsPosition,e=this.calcScale;t(),e()},calcPointsPosition:function(){var t=this.svgWH,e=this.rowNum,n=this.rowPoints,r=Object(f["a"])(t,2),i=r[0],a=r[1],s=i/(n+1),l=a/(e+1),u=new Array(e).fill(0).map((function(t,e){return new Array(n).fill(0).map((function(t,n){return[s*(n+1),l*(e+1)]}))}));this.points=u.reduce((function(t,e){return[].concat(Object(o["a"])(t),Object(o["a"])(e))}),[]);var c=this.heights=new Array(e*n).fill(0).map((function(t){return Math.random()>.8?M(.7*a,a):M(.2*a,.5*a)}));this.minHeights=new Array(e*n).fill(0).map((function(t,e){return c[e]*Math.random()})),this.randoms=new Array(e*n).fill(0).map((function(t){return Math.random()+1.5}))},calcScale:function(){var t=this.width,e=this.height,n=this.svgWH,r=Object(f["a"])(n,2),i=r[0],o=r[1];this.svgScale=[t/i,e/o]},onResize:function(){var t=this.calcSVGData;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},on=rn,an=Object(m["a"])(on,en,nn,!1,null,null,null),sn=(an.exports,n("d51d"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dv-decoration-7"},[n("svg",{attrs:{width:"21px",height:"20px"}},[n("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:t.mergedColor[0],points:"10, 0 19, 10 10, 20"}}),n("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:t.mergedColor[1],points:"2, 0 11, 10 2, 20"}})]),t._t("default"),n("svg",{attrs:{width:"21px",height:"20px"}},[n("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:t.mergedColor[0],points:"11, 0 2, 10 11, 20"}}),n("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:t.mergedColor[1],points:"19, 0 10, 10 19, 20"}})])],2)}),ln=[],un={name:"DvDecoration7",props:{color:{type:Array,default:function(){return[]}}},data:function(){return{defaultColor:["#1dc1f5","#1dc1f5"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},cn=un,fn=Object(m["a"])(cn,sn,ln,!1,null,null,null),hn=(fn.exports,n("357d"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-8"},[n("svg",{attrs:{width:t.width,height:t.height}},[n("polyline",{attrs:{stroke:t.mergedColor[0],"stroke-width":"2",fill:"transparent",points:t.xPos(0)+", 0 "+t.xPos(30)+", "+t.height/2}}),n("polyline",{attrs:{stroke:t.mergedColor[0],"stroke-width":"2",fill:"transparent",points:t.xPos(20)+", 0 "+t.xPos(50)+", "+t.height/2+" "+t.xPos(t.width)+", "+t.height/2}}),n("polyline",{attrs:{stroke:t.mergedColor[1],fill:"transparent","stroke-width":"3",points:t.xPos(0)+", "+(t.height-3)+", "+t.xPos(200)+", "+(t.height-3)}})])])}),dn=[],pn={name:"DvDecoration8",mixins:[L],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1}},data:function(){return{ref:"decoration-8",defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{xPos:function(t){var e=this.reverse,n=this.width;return e?n-t:t},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])}},mounted:function(){var t=this.mergeColor;t()}},gn=pn,vn=Object(m["a"])(gn,hn,dn,!1,null,null,null),yn=(vn.exports,n("9ab4"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-decoration-9"},[n("svg",{style:"transform:scale("+t.svgScale[0]+","+t.svgScale[1]+");",attrs:{width:t.svgWH[0]+"px",height:t.svgWH[1]+"px"}},[n("defs",[n("polygon",{attrs:{id:t.polygonId,points:"15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5"}})]),n("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:t.mergedColor[1],"stroke-width":"10","stroke-dasharray":"80, 100, 30, 100"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:t.dur+"s",repeatCount:"indefinite"}})],1),n("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:t.mergedColor[0],"stroke-width":"6","stroke-dasharray":"50, 66, 100, 66"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;-360 50 50",dur:t.dur+"s",repeatCount:"indefinite"}})],1),n("circle",{attrs:{cx:"50",cy:"50",r:"38",fill:"transparent",stroke:t.fade(t.mergedColor[1]||t.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}}),t._l(new Array(20).fill(0),(function(e,r){return n("use",{key:r,attrs:{"xlink:href":"#"+t.polygonId,stroke:t.mergedColor[1],fill:Math.random()>.4?"transparent":t.mergedColor[0]}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:t.dur+"s",begin:r*t.dur/20+"s",repeatCount:"indefinite"}})],1)})),n("circle",{attrs:{cx:"50",cy:"50",r:"26",fill:"transparent",stroke:t.fade(t.mergedColor[1]||t.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}})],2),t._t("default")],2)}),mn=[],bn={name:"DvDecoration9",mixins:[L],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3}},data:function(){var t=P();return{ref:"decoration-9",polygonId:"decoration-9-polygon-".concat(t),svgWH:[100,100],svgScale:[1,1],defaultColor:["rgba(3, 166, 224, 0.8)","rgba(3, 166, 224, 0.5)"],mergedColor:[]}},watch:{color:function(){var t=this.mergeColor;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcScale;t()},calcScale:function(){var t=this.width,e=this.height,n=this.svgWH,r=Object(f["a"])(n,2),i=r[0],o=r[1];this.svgScale=[t/i,e/o]},onResize:function(){var t=this.calcScale;t()},mergeColor:function(){var t=this.color,e=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||[])},fade:W["fade"]},mounted:function(){var t=this.mergeColor;t()}},xn=bn,_n=Object(m["a"])(xn,yn,mn,!1,null,null,null),wn=_n.exports,Sn=function(t){t.component(wn.name,wn)},Cn=(n("bc96"),function(t){t.component(x.name,x)}),An=(n("41f6"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"dv-flyline-chart",staticClass:"dv-flyline-chart",style:"background-image: url("+(t.mergedConfig?t.mergedConfig.bgImgUrl:"")+")",on:{click:t.consoleClickPos}},[t.mergedConfig?n("svg",{attrs:{width:t.width,height:t.height}},[n("defs",[n("radialGradient",{attrs:{id:t.gradientId,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),n("radialGradient",{attrs:{id:t.gradient2Id,cx:"50%",cy:"50%",r:"50%"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),n("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1),t.paths[0]?n("circle",{attrs:{id:"circle"+t.paths[0].toString(),cx:t.paths[0][2][0],cy:t.paths[0][2][1]}},[n("animate",{attrs:{attributeName:"r",values:"1;"+t.mergedConfig.halo.radius,dur:t.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}}),n("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:t.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}})]):t._e()],1),t.paths[0]?n("image",{attrs:{"xlink:href":t.mergedConfig.centerPointImg.url,width:t.mergedConfig.centerPointImg.width,height:t.mergedConfig.centerPointImg.height,x:t.paths[0][2][0]-t.mergedConfig.centerPointImg.width/2,y:t.paths[0][2][1]-t.mergedConfig.centerPointImg.height/2}}):t._e(),n("mask",{attrs:{id:"maskhalo"+t.paths[0].toString()}},[t.paths[0]?n("use",{attrs:{"xlink:href":"#circle"+t.paths[0].toString(),fill:"url(#"+t.gradient2Id+")"}}):t._e()]),t.paths[0]&&t.mergedConfig.halo.show?n("use",{attrs:{"xlink:href":"#circle"+t.paths[0].toString(),fill:t.mergedConfig.halo.color,mask:"url(#maskhalo"+t.paths[0].toString()+")"}}):t._e(),t._l(t.paths,(function(e,r){return n("g",{key:r},[n("defs",[n("path",{ref:"path"+r,refInFor:!0,attrs:{id:"path"+e.toString(),d:"M"+e[0].toString()+" Q"+e[1].toString()+" "+e[2].toString(),fill:"transparent"}})]),n("use",{attrs:{"xlink:href":"#path"+e.toString(),"stroke-width":t.mergedConfig.lineWidth,stroke:t.mergedConfig.orbitColor}}),t.lengths[r]?n("use",{attrs:{"xlink:href":"#path"+e.toString(),"stroke-width":t.mergedConfig.lineWidth,stroke:t.mergedConfig.flylineColor,mask:"url(#mask"+t.unique+e.toString()+")"}},[n("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+t.lengths[r],to:t.lengths[r]+", 0",dur:t.times[r]||0,repeatCount:"indefinite"}})]):t._e(),n("mask",{attrs:{id:"mask"+t.unique+e.toString()}},[n("circle",{attrs:{cx:"0",cy:"0",r:t.mergedConfig.flylineRadius,fill:"url(#"+t.gradientId+")"}},[n("animateMotion",{attrs:{dur:t.times[r]||0,path:"M"+e[0].toString()+" Q"+e[1].toString()+" "+e[2].toString(),rotate:"auto",repeatCount:"indefinite"}})],1)]),n("image",{attrs:{"xlink:href":t.mergedConfig.pointsImg.url,width:t.mergedConfig.pointsImg.width,height:t.mergedConfig.pointsImg.height,x:e[0][0]-t.mergedConfig.pointsImg.width/2,y:e[0][1]-t.mergedConfig.pointsImg.height/2}}),n("text",{style:"fontSize:"+t.mergedConfig.text.fontSize+"px;",attrs:{fill:t.mergedConfig.text.color,x:e[0][0]+t.mergedConfig.text.offset[0],y:e[0][1]+t.mergedConfig.text.offset[1]}},[t._v(" "+t._s(t.texts[r])+" ")])])}))],2):t._e()])}),kn=[],On=n("c7eb"),Mn=n("1da1"),En={name:"DvFlylineChart",mixins:[L],props:{config:{type:Object,default:function(){return{}}},dev:{type:Boolean,default:!1}},data:function(){var t=P();return{ref:"dv-flyline-chart",unique:Math.random(),maskId:"flyline-mask-id-".concat(t),maskCircleId:"mask-circle-id-".concat(t),gradientId:"gradient-id-".concat(t),gradient2Id:"gradient2-id-".concat(t),defaultConfig:{centerPoint:[0,0],points:[],lineWidth:1,orbitColor:"rgba(103, 224, 227, .2)",flylineColor:"#ffde93",k:-.5,curvature:5,flylineRadius:100,duration:[20,30],relative:!0,bgImgUrl:"",text:{offset:[0,15],color:"#ffdb5c",fontSize:12},halo:{show:!0,duration:30,color:"#fb7293",radius:120},centerPointImg:{width:40,height:40,url:""},pointsImg:{width:15,height:15,url:""}},mergedConfig:null,paths:[],lengths:[],times:[],texts:[]}},watch:{config:function(){var t=this.calcData;t()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcData;t()},onResize:function(){var t=this.calcData;t()},calcData:function(){var t=this;return Object(Mn["a"])(Object(On["a"])().mark((function e(){var n,r,i,o,a;return Object(On["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.mergeConfig,r=t.createFlylinePaths,i=t.calcLineLengths,n(),r(),e.next=5,i();case 5:o=t.calcTimes,a=t.calcTexts,o(),a();case 8:case"end":return e.stop()}}),e)})))()},mergeConfig:function(){var t=this.config,e=this.defaultConfig,n=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||{}),r=n.points;n.points=r.map((function(t){return t instanceof Array?{position:t,text:""}:t})),this.mergedConfig=n},createFlylinePaths:function(){var t=this.getPath,e=this.mergedConfig,n=this.width,r=this.height,i=e.centerPoint,o=e.points,a=e.relative;o=o.map((function(t){var e=t.position;return e})),a&&(i=[n*i[0],r*i[1]],o=o.map((function(t){var e=Object(f["a"])(t,2),i=e[0],o=e[1];return[n*i,r*o]}))),this.paths=o.map((function(e){return t(i,e)}))},getPath:function(t,e){var n=this.getControlPoint,r=n(t,e);return[e,r,t]},getControlPoint:function(t,e){var n=Object(f["a"])(t,2),r=n[0],i=n[1],o=Object(f["a"])(e,2),a=o[0],s=o[1],l=this.getKLinePointByx,u=this.mergedConfig,c=u.curvature,h=u.k,d=(r+a)/2,p=(i+s)/2,g=I([r,i],[a,s]),v=g/c,y=v/2,m=d,b=p;do{m+=y,b=l(h,[d,p],m)[1]}while(I([d,p],[m,b])0?t.rectWidth:0,height:t.rectHeight>0?t.rectHeight:0}}),n("polyline",{attrs:{"stroke-width":t.polylineWidth,"stroke-dasharray":t.mergedConfig?t.mergedConfig.lineDash.join(","):"0",stroke:"url(#"+t.polylineGradient+")",points:t.points}}),n("text",{attrs:{stroke:t.mergedConfig?t.mergedConfig.textColor:"#fff",fill:t.mergedConfig?t.mergedConfig.textColor:"#fff",x:t.width/2,y:t.height/2}},[t._v(" "+t._s(t.details)+" ")])])])}),Zn=[],Xn=(n("ac1f"),n("5319"),{name:"DvPercentPond",props:{config:{type:Object,default:function(){return{}}}},data:function(){var t=P();return{gradientId1:"percent-pond-gradientId1-".concat(t),gradientId2:"percent-pond-gradientId2-".concat(t),width:0,height:0,defaultConfig:{value:0,colors:["#3DE7C9","#00BAFF"],borderWidth:3,borderGap:3,lineDash:[5,1],textColor:"#fff",borderRadius:5,localGradient:!1,formatter:"{value}%"},mergedConfig:null}},computed:{rectWidth:function(){var t=this.mergedConfig,e=this.width;if(!t)return 0;var n=t.borderWidth;return e-n},rectHeight:function(){var t=this.mergedConfig,e=this.height;if(!t)return 0;var n=t.borderWidth;return e-n},points:function(){var t=this.mergedConfig,e=this.width,n=this.height,r=n/2;if(!t)return"0, ".concat(r," 0, ").concat(r);var i=t.borderWidth,o=t.borderGap,a=t.value,s=(e-2*(i+o))/100*a;return"\n ".concat(i+o,", ").concat(r,"\n ").concat(i+o+s,", ").concat(r+.001,"\n ")},polylineWidth:function(){var t=this.mergedConfig,e=this.height;if(!t)return 0;var n=t.borderWidth,r=t.borderGap;return e-2*(n+r)},linearGradient:function(){var t=this.mergedConfig;if(!t)return[];var e=t.colors,n=e.length,r=100/(n-1);return e.map((function(t,e){return[r*e,t]}))},polylineGradient:function(){var t=this.gradientId1,e=this.gradientId2,n=this.mergedConfig;return n&&n.localGradient?t:e},gradient2XPos:function(){var t=this.mergedConfig;if(!t)return"100%";var e=t.value;return"".concat(200-e,"%")},details:function(){var t=this.mergedConfig;if(!t)return"";var e=t.value,n=t.formatter;return n.replace("{value}",e)}},watch:{config:function(){var t=this.mergeConfig;t()}},methods:{init:function(){var t=this;return Object(Mn["a"])(Object(On["a"])().mark((function e(){var n,r,i;return Object(On["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.initWH,r=t.config,i=t.mergeConfig,e.next=3,n();case 3:if(r){e.next=5;break}return e.abrupt("return");case 5:i();case 6:case"end":return e.stop()}}),e)})))()},initWH:function(){var t=this;return Object(Mn["a"])(Object(On["a"])().mark((function e(){var n,r,i,o,a;return Object(On["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.$nextTick,r=t.$refs,e.next=3,n();case 3:i=r["percent-pond"],o=i.clientWidth,a=i.clientHeight,t.width=o,t.height=a;case 6:case"end":return e.stop()}}),e)})))()},mergeConfig:function(){var t=this.config,e=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||{})}},mounted:function(){var t=this.init;t()}}),Qn=Xn,Jn=Object(m["a"])(Qn,Yn,Zn,!1,null,null,null),tr=(Jn.exports,n("037e"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-scroll-board"},[t.header.length&&t.mergedConfig?n("div",{staticClass:"header",style:"background-color: "+t.mergedConfig.headerBGC+";"},t._l(t.header,(function(e,r){return n("div",{key:""+e+r,staticClass:"header-item",style:"\n height: "+t.mergedConfig.headerHeight+"px;\n line-height: "+t.mergedConfig.headerHeight+"px;\n width: "+t.widths[r]+"px;\n ",attrs:{align:t.aligns[r]},domProps:{innerHTML:t._s(e)}})})),0):t._e(),t.mergedConfig?n("div",{staticClass:"rows",style:"height: "+(t.height-(t.header.length?t.mergedConfig.headerHeight:0))+"px;"},t._l(t.rows,(function(e,r){return n("div",{key:""+e.toString()+e.scroll,staticClass:"row-item",style:"\n height: "+t.heights[r]+"px;\n line-height: "+t.heights[r]+"px;\n background-color: "+t.mergedConfig[e.rowIndex%2===0?"evenRowBGC":"oddRowBGC"]+";\n "},t._l(e.ceils,(function(i,o){return n("div",{key:""+i+r+o,staticClass:"ceil",style:"width: "+t.widths[o]+"px;",attrs:{align:t.aligns[o]},domProps:{innerHTML:t._s(i)},on:{click:function(n){return t.emitEvent("click",r,o,e,i)},mouseenter:function(n){return t.handleHover(!0,r,o,e,i)},mouseleave:function(e){return t.handleHover(!1)}}})})),0)})),0):t._e()])}),er=[],nr=(n("14d9"),n("fb6a"),n("a434"),{name:"DvScrollBoard",mixins:[L],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-board",defaultConfig:{header:[],data:[],rowNum:5,headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732",waitTime:2e3,headerHeight:35,columnWidth:[],align:[],index:!1,indexHeader:"#",carousel:"single",hoverPause:!0},mergedConfig:null,header:[],rowsData:[],rows:[],widths:[],heights:[],avgHeight:0,aligns:[],animationIndex:0,animationHandler:"",updater:0,needCalc:!1}},watch:{config:function(){var t=this.stopAnimation,e=this.calcData;t(),this.animationIndex=0,e()}},methods:{handleHover:function(t,e,n,r,i){var o=this.mergedConfig,a=this.emitEvent,s=this.stopAnimation,l=this.animation;t&&a("mouseover",e,n,r,i),o.hoverPause&&(t?s():l(!0))},afterAutoResizeMixinInit:function(){var t=this.calcData;t()},onResize:function(){var t=this.mergedConfig,e=this.calcWidths,n=this.calcHeights;t&&(e(),n())},calcData:function(){var t=this.mergeConfig,e=this.calcHeaderData,n=this.calcRowsData;t(),e(),n();var r=this.calcWidths,i=this.calcHeights,o=this.calcAligns;r(),i(),o();var a=this.animation;a(!0)},mergeConfig:function(){var t=this.config,e=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||{})},calcHeaderData:function(){var t=this.mergedConfig,e=t.header,n=t.index,r=t.indexHeader;e.length?(e=Object(o["a"])(e),n&&e.unshift(r),this.header=e):this.header=[]},calcRowsData:function(){var t=this.mergedConfig,e=t.data,n=t.index,r=t.headerBGC,i=t.rowNum;n&&(e=e.map((function(t,e){t=Object(o["a"])(t);var n='').concat(e+1,"");return t.unshift(n),t}))),e=e.map((function(t,e){return{ceils:t,rowIndex:e}}));var s=e.length;s>i&&s<2*i&&(e=[].concat(Object(o["a"])(e),Object(o["a"])(e))),e=e.map((function(t,e){return Object(a["a"])(Object(a["a"])({},t),{},{scroll:e})})),this.rowsData=e,this.rows=e},calcWidths:function(){var t=this.width,e=this.mergedConfig,n=this.rowsData,r=e.columnWidth,i=e.header,o=r.reduce((function(t,e){return t+e}),0),a=0;n[0]?a=n[0].ceils.length:i.length&&(a=i.length);var s=(t-o)/(a-r.length),l=new Array(a).fill(s);this.widths=Object(p["deepMerge"])(l,r)},calcHeights:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.height,n=this.mergedConfig,r=this.header,i=n.headerHeight,o=n.rowNum,a=n.data,s=e;r.length&&(s-=i);var l=s/o;this.avgHeight=l,t||(this.heights=new Array(a.length).fill(l))},calcAligns:function(){var t=this.header,e=this.mergedConfig,n=t.length,r=new Array(n).fill("left"),i=e.align;this.aligns=Object(p["deepMerge"])(r,i)},animation:function(){var t=arguments,e=this;return Object(Mn["a"])(Object(On["a"])().mark((function n(){var r,i,a,s,l,u,c,f,h,d,p,g,v,y,m,b,x,_;return Object(On["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.length>0&&void 0!==t[0]&&t[0],a=e.needCalc,s=e.calcHeights,l=e.calcRowsData,a&&(l(),s(),e.needCalc=!1),u=e.avgHeight,c=e.animationIndex,f=e.mergedConfig,h=e.rowsData,d=e.animation,p=e.updater,g=f.waitTime,v=f.carousel,y=f.rowNum,m=h.length,!(y>=m)){n.next=8;break}return n.abrupt("return");case 8:if(!i){n.next=13;break}return n.next=11,new Promise((function(t){return setTimeout(t,g)}));case 11:if(p===e.updater){n.next=13;break}return n.abrupt("return");case 13:return b="single"===v?1:y,x=h.slice(c),x.push.apply(x,Object(o["a"])(h.slice(0,c))),e.rows=x.slice(0,"page"===v?2*y:y+1),e.heights=new Array(m).fill(u),n.next=20,new Promise((function(t){return setTimeout(t,300)}));case 20:if(p===e.updater){n.next=22;break}return n.abrupt("return");case 22:(r=e.heights).splice.apply(r,[0,b].concat(Object(o["a"])(new Array(b).fill(0)))),c+=b,_=c-m,_>=0&&(c=_),e.animationIndex=c,e.animationHandler=setTimeout(d,g-300);case 28:case"end":return n.stop()}}),n)})))()},stopAnimation:function(){var t=this.animationHandler,e=this.updater;this.updater=(e+1)%999999,t&&clearTimeout(t)},emitEvent:function(t,e,n,r,i){var o=r.ceils,a=r.rowIndex;this.$emit(t,{row:o,ceil:i,rowIndex:a,columnIndex:n})},updateRows:function(t,e){var n=this.mergedConfig,r=this.animationHandler,i=this.animation;this.mergedConfig=Object(a["a"])(Object(a["a"])({},n),{},{data:Object(o["a"])(t)}),this.needCalc=!0,"number"===typeof e&&(this.animationIndex=e),r||i(!0)}},destroyed:function(){var t=this.stopAnimation;t()}}),rr=nr,ir=Object(m["a"])(rr,tr,er,!1,null,null,null),or=ir.exports,ar=function(t){t.component(or.name,or)},sr=(n("c280"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:t.ref,staticClass:"dv-scroll-ranking-board"},t._l(t.rows,(function(e,r){return n("div",{key:e.toString()+e.scroll,staticClass:"row-item",style:"height: "+t.heights[r]+"px;"},[n("div",{staticClass:"ranking-info"},[n("div",{staticClass:"rank"},[t._v("No."+t._s(e.ranking))]),n("div",{staticClass:"info-name",domProps:{innerHTML:t._s(e.name)}}),n("div",{staticClass:"ranking-value"},[t._v(t._s(t.mergedConfig.valueFormatter?t.mergedConfig.valueFormatter(e):e.value+t.mergedConfig.unit))])]),n("div",{staticClass:"ranking-column"},[n("div",{staticClass:"inside-column",style:"width: "+e.percent+"%;"},[n("div",{staticClass:"shine"})])])])})),0)}),lr=[],ur={name:"DvScrollRankingBoard",mixins:[L],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-ranking-board",defaultConfig:{data:[],rowNum:5,waitTime:2e3,carousel:"single",unit:"",sort:!0,valueFormatter:null},mergedConfig:null,rowsData:[],rows:[],heights:[],animationIndex:0,animationHandler:"",updater:0}},watch:{config:function(){var t=this.stopAnimation,e=this.calcData;t(),e()}},methods:{afterAutoResizeMixinInit:function(){var t=this.calcData;t()},onResize:function(){var t=this.mergedConfig,e=this.calcHeights;t&&e(!0)},calcData:function(){var t=this.mergeConfig,e=this.calcRowsData;t(),e();var n=this.calcHeights;n();var r=this.animation;r(!0)},mergeConfig:function(){var t=this.config,e=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t||{})},calcRowsData:function(){var t=this.mergedConfig,e=t.data,n=t.rowNum,r=t.sort;r&&e.sort((function(t,e){var n=t.value,r=e.value;return n>r?-1:nn&&f<2*n&&(e=[].concat(Object(o["a"])(e),Object(o["a"])(e))),e=e.map((function(t,e){return Object(a["a"])(Object(a["a"])({},t),{},{scroll:e})})),this.rowsData=e,this.rows=e},calcHeights:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.height,n=this.mergedConfig,r=n.rowNum,i=n.data,o=e/r;this.avgHeight=o,t||(this.heights=new Array(i.length).fill(o))},animation:function(){var t=arguments,e=this;return Object(Mn["a"])(Object(On["a"])().mark((function n(){var r,i,a,s,l,u,c,f,h,d,p,g,v,y,m;return Object(On["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.length>0&&void 0!==t[0]&&t[0],a=e.avgHeight,s=e.animationIndex,l=e.mergedConfig,u=e.rowsData,c=e.animation,f=e.updater,h=l.waitTime,d=l.carousel,p=l.rowNum,g=u.length,!(p>=g)){n.next=6;break}return n.abrupt("return");case 6:if(!i){n.next=11;break}return n.next=9,new Promise((function(t){return setTimeout(t,h)}));case 9:if(f===e.updater){n.next=11;break}return n.abrupt("return");case 11:return v="single"===d?1:p,y=u.slice(s),y.push.apply(y,Object(o["a"])(u.slice(0,s))),e.rows=y.slice(0,p+1),e.heights=new Array(g).fill(a),n.next=18,new Promise((function(t){return setTimeout(t,300)}));case 18:if(f===e.updater){n.next=20;break}return n.abrupt("return");case 20:(r=e.heights).splice.apply(r,[0,v].concat(Object(o["a"])(new Array(v).fill(0)))),s+=v,m=s-g,m>=0&&(s=m),e.animationIndex=s,e.animationHandler=setTimeout(c,h-300);case 26:case"end":return n.stop()}}),n)})))()},stopAnimation:function(){var t=this.animationHandler,e=this.updater;this.updater=(e+1)%999999,t&&clearTimeout(t)}},destroyed:function(){var t=this.stopAnimation;t()}},cr=ur,fr=Object(m["a"])(cr,sr,lr,!1,null,null,null),hr=(fr.exports,n("fa10"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dv-water-pond-level"},[t.renderer?n("svg",[n("defs",[n("linearGradient",{attrs:{id:t.gradientId,x1:"0%",y1:"0%",x2:"0%",y2:"100%"}},t._l(t.svgBorderGradient,(function(t){return n("stop",{key:t[0],attrs:{offset:t[0],"stop-color":t[1]}})})),1)],1),t.renderer?n("text",{attrs:{stroke:"url(#"+t.gradientId+")",fill:"url(#"+t.gradientId+")",x:t.renderer.area[0]/2+8,y:t.renderer.area[1]/2+8}},[t._v(" "+t._s(t.details)+" ")]):t._e(),t.shape&&"round"!==t.shape?n("rect",{attrs:{x:"2",y:"2",rx:"roundRect"===t.shape?10:0,ry:"roundRect"===t.shape?10:0,width:t.renderer.area[0]+12,height:t.renderer.area[1]+12,stroke:"url(#"+t.gradientId+")"}}):n("ellipse",{attrs:{cx:t.renderer.area[0]/2+8,cy:t.renderer.area[1]/2+8,rx:t.renderer.area[0]/2+5,ry:t.renderer.area[1]/2+5,stroke:"url(#"+t.gradientId+")"}})]):t._e(),n("canvas",{ref:"water-pond-level",style:"border-radius: "+t.radius+";"})])}),dr=[],pr={name:"DvWaterLevelPond",props:{config:Object,default:function(){return{}}},data:function(){var t=P();return{gradientId:"water-level-pond-".concat(t),defaultConfig:{data:[],shape:"rect",waveNum:3,waveHeight:40,waveOpacity:.4,colors:["#3DE7C9","#00BAFF"],formatter:"{value}%"},mergedConfig:{},renderer:null,svgBorderGradient:[],details:"",waves:[],animation:!1}},computed:{radius:function(){var t=this.mergedConfig.shape;return"round"===t?"50%":"rect"===t?"0":"roundRect"===t?"10px":"0"},shape:function(){var t=this.mergedConfig.shape;return t||"rect"}},watch:{config:function(){var t=this.calcData,e=this.renderer;e.delAllGraph(),this.waves=[],setTimeout(t,0)}},methods:{init:function(){var t=this.initRender,e=this.config,n=this.calcData;t(),e&&n()},initRender:function(){var t=this.$refs;this.renderer=new d.a(t["water-pond-level"])},calcData:function(){var t=this.mergeConfig,e=this.calcSvgBorderGradient,n=this.calcDetails;t(),e(),n();var r=this.addWave,i=this.animationWave;r(),i()},mergeConfig:function(){var t=this.config,e=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(g["deepClone"])(e,!0),t)},calcSvgBorderGradient:function(){var t=this.mergedConfig.colors,e=t.length,n=100/(e-1);this.svgBorderGradient=t.map((function(t,e){return[n*e,t]}))},calcDetails:function(){var t=this.mergedConfig,e=t.data,n=t.formatter;if(e.length){var r=Math.max.apply(Math,Object(o["a"])(e));this.details=n.replace("{value}",r)}else this.details=""},addWave:function(){var t=this.renderer,e=this.getWaveShapes,n=this.getWaveStyle,r=this.drawed,i=e(),o=n();this.waves=i.map((function(e){return t.add({name:"smoothline",animationFrame:300,shape:e,style:o,drawed:r})}))},getWaveShapes:function(){var t=this.mergedConfig,e=this.renderer,n=this.mergeOffset,r=t.waveNum,i=t.waveHeight,o=t.data,a=Object(f["a"])(e.area,2),s=a[0],l=a[1],u=4*r+4,c=s/r/2;return o.map((function(t){var e=new Array(u).fill(0).map((function(e,n){var r=s-c*n,o=(1-t/100)*l,a=n%2===0?o:o-i;return[r,a]}));return e=e.map((function(t){return n(t,[2*c,0])})),{points:e}}))},mergeOffset:function(t,e){var n=Object(f["a"])(t,2),r=n[0],i=n[1],o=Object(f["a"])(e,2),a=o[0],s=o[1];return[r+a,i+s]},getWaveStyle:function(){var t=this.renderer,e=this.mergedConfig,n=t.area[1];return{gradientColor:e.colors,gradientType:"linear",gradientParams:[0,0,0,n],gradientWith:"fill",opacity:e.waveOpacity,translate:[0,0]}},drawed:function(t,e){var n=t.shape.points,r=e.ctx,i=e.area,o=n[0],a=n.slice(-1)[0],s=i[1];r.lineTo(a[0],s),r.lineTo(o[0],s),r.closePath(),r.fill()},animationWave:function(){var t=arguments,e=this;return Object(Mn["a"])(Object(On["a"])().mark((function n(){var r,i,o,a,s;return Object(On["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=t.length>0&&void 0!==t[0]?t[0]:1,i=e.waves,o=e.renderer,a=e.animation,!a){n.next=4;break}return n.abrupt("return");case 4:return e.animation=!0,s=o.area[0],i.forEach((function(t){t.attr("style",{translate:[0,0]}),t.animation("style",{translate:[s,0]},!0)})),n.next=9,o.launchAnimation();case 9:if(e.animation=!1,o.graphs.length){n.next=12;break}return n.abrupt("return");case 12:e.animationWave(r+1);case 13:case"end":return n.stop()}}),n)})))()}},mounted:function(){var t=this.init;t()},beforeDestroy:function(){var t=this.renderer;t.delAllGraph(),this.waves=[]}},gr=pr,vr=Object(m["a"])(gr,hr,dr,!1,null,null,null),yr=vr.exports,mr=function(t){t.component(yr.name,yr)}},"6c57":function(t,e,n){var r=n("23e7"),i=n("da84");r({global:!0,forced:i.globalThis!==i},{globalThis:i})},"6c59":function(t,e){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},"6ca1":function(t,e,n){var r=n("9fbb"),i=n("c901");t.exports=function(t){return r(i(t))}},"6cb7":function(t,e,n){var r=n("6d8b"),i=n("4319"),o=n("8918"),a=n("625e"),s=a.enableClassManagement,l=a.parseClassType,u=n("e0d3"),c=u.makeInner,f=n("f934"),h=n("de1c"),d=c(),p=i.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,r){i.call(this,t,e,n,r),this.uid=o.getUID("ec_cpt_model")},init:function(t,e,n,r){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?f.getLayoutParams(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&f.mergeLayoutParam(t,i,n)},mergeOption:function(t,e){r.merge(this.option,t,!0);var n=this.layoutMode;n&&f.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=d(this);if(!t.defaultOption){var e=[],n=this.constructor;while(n){var i=n.prototype.defaultOption;i&&e.push(i),n=n.superClass}for(var o={},a=e.length-1;a>=0;a--)o=r.merge(o,e[a],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return r.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=r.map(e,(function(t){return l(t).main})),"dataset"!==t&&r.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),r.mixin(p,h);var v=p;t.exports=v},"6cc5":function(t,e,n){var r=n("6d8b"),i=n("401b"),o=n("1687"),a=n("9850"),s=n("0cde"),l=i.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function f(t,e,n,r){var i=n.seriesModel,o=i?i.coordinateSystem:null;return o===this?o[t](r):null}r.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new a(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new a(t,e,n,r)},transformTo:function(t,e,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new a(t,e,n,r)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=i.applyTransform([],r,t),n=i.applyTransform([],n,t),e.origin=r,e.position=[n[0]-r[0],n[1]-r[1]],e.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),o.copy(this.transform||(this.transform=[]),e.transform||o.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?r.slice(t):o.create(),rawScale:r.slice(e.scale),rawPosition:r.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var r=e?this._rawTransform:this.transform;return n=n||[],r?l(n,t,r):i.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:r.curry(f,"dataToPoint"),convertFromPixel:r.curry(f,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},r.mixin(c,s);var h=c;t.exports=h},"6ccd":function(t,e,n){},"6cd8":function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("1418"),a=n("22da"),s=a.radialCoordinate,l=n("3eba"),u=n("e263"),c=n("6cc5"),f=n("01ef"),h=n("4a01"),d=n("c526"),p=d.onIrrelevantElement,g=n("4e08"),v=(g.__DEV__,n("3842")),y=v.parsePercent,m=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,o=n[0],a=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=y(e.forkPosition,1),f=[];f[l]=i[l],f[u]=i[u]+(a[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(f[0],f[1]),t.moveTo(o[0],o[1]),f[l]=o[l],t.lineTo(f[0],f[1]),f[l]=a[l],t.lineTo(f[0],f[1]),t.lineTo(a[0],a[1]);for(var h=1;hw.x,b||(m-=Math.PI));var k=b?"left":"right",O=s.labelModel.get("rotate"),M=O*(Math.PI/180);y.setStyle({textPosition:s.labelModel.get("position")||k,textRotation:null==O?-m:M,textOrigin:"center",verticalAlign:"middle"})}S(a,u,f,n,g,p,v,r,s)}function S(t,e,n,o,a,s,l,u,c){var f=c.edgeShape,h=o.__edge;if("curve"===f)e.parentNode&&e.parentNode!==n&&(h||(h=o.__edge=new i.BezierCurve({shape:A(c,a,a),style:r.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),i.updateProps(h,{shape:A(c,s,l),style:r.defaults({opacity:1},c.lineStyle)},t));else if("polyline"===f&&"orthogonal"===c.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var d=e.children,p=[],g=0;g=0;o--)r.push(i[o])}}e.eachAfter=n,e.eachBefore=r},"6dd8":function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,r=u.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),h=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),M="undefined"!==typeof WeakMap?new WeakMap:new n,E=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new O(e,n,this);M.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=M.get(this))[t].apply(e,arguments)}}));var T=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:E}();e["default"]=T}.call(this,n("c8ba"))},"6eb9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lineConfig=void 0;var r={show:!0,name:"",stack:"",smooth:!1,xAxisIndex:0,yAxisIndex:0,data:[],lineStyle:{lineWidth:1},linePoint:{show:!0,radius:2,style:{fill:"#fff",lineWidth:1}},lineArea:{show:!1,gradient:[],style:{opacity:.5}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};e.lineConfig=r},"6f4f":function(t,e,n){var r=n("77e9"),i=n("85e7"),o=n("9742"),a=n("5a94")("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n("05f5")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("9141").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[l][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"6fc2":function(t,e,n){},"6fda":function(t,e,n){var r=n("6d8b"),i=r.each,o="\0_ec_hist_store";function a(t,e){var n=c(t);i(e,(function(e,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(e)}function s(t){var e=c(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return i(n,(function(t,n){for(var i=e.length-1;i>=0;i--){t=e[i][n];if(t){r[n]=t;break}}})),r}function l(t){t[o]=null}function u(t){return c(t).length}function c(t){var e=t[o];return e||(e=t[o]=[{}]),e}e.push=a,e.pop=s,e.clear=l,e.count=u},7023:function(t,e,n){var r=n("6d8b"),i={updateSelectedMap:function(t){this._targetList=r.isArray(t)?t.slice():[],this._selectTargetMap=r.reduce(t||[],(function(t,e){return t.set(e.name,e),t}),r.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t),r=this.get("selectedMode");"single"===r&&this._selectTargetMap.each((function(t){t.selected=!1})),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}};t.exports=i},7037:function(t,e,n){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,r(e)}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},7058:function(t,e,n){"use strict";t.exports=i;var r=n("3ca2");function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n("3fb5")(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},7135:function(t,e,n){(function(e){const r=n("b289"),i=e.allocUnsafe(0),o=e.from([0]),a=n("f0cb"),s=n("966d").nextTick,l=n("34eb")("mqtt-packet:writeToStream"),u=a.cache,c=a.generateNumber,f=a.generateCache,h=a.genBufVariableByteInt,d=a.generate4ByteBuffer;let p=L,g=!0;function v(t,e,n){switch(l("generate called"),e.cork&&(e.cork(),s(y,e)),g&&(g=!1,f()),l("generate: packet.cmd: %s",t.cmd),t.cmd){case"connect":return m(t,e,n);case"connack":return b(t,e,n);case"publish":return x(t,e,n);case"puback":case"pubrec":case"pubrel":case"pubcomp":return _(t,e,n);case"subscribe":return w(t,e,n);case"suback":return S(t,e,n);case"unsubscribe":return C(t,e,n);case"unsuback":return A(t,e,n);case"pingreq":case"pingresp":return k(t,e,n);case"disconnect":return O(t,e,n);case"auth":return M(t,e,n);default:return e.emit("error",new Error("Unknown command")),!1}}function y(t){t.uncork()}function m(t,n,i){const o=t||{},a=o.protocolId||"MQTT";let s=o.protocolVersion||4;const l=o.will;let u=o.clean;const c=o.keepalive||0,f=o.clientId||"",h=o.username,d=o.password,g=o.properties;void 0===u&&(u=!0);let v=0;if(!a||"string"!==typeof a&&!e.isBuffer(a))return n.emit("error",new Error("Invalid protocolId")),!1;if(v+=a.length+2,3!==s&&4!==s&&5!==s)return n.emit("error",new Error("Invalid protocol version")),!1;if(v+=1,("string"===typeof f||e.isBuffer(f))&&(f||s>=4)&&(f||u))v+=e.byteLength(f)+2;else{if(s<4)return n.emit("error",new Error("clientId must be supplied before 3.1.1")),!1;if(1*u===0)return n.emit("error",new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!==typeof c||c<0||c>65535||c%1!==0)return n.emit("error",new Error("Invalid keepalive")),!1;if(v+=2,v+=1,5===s){var y=j(n,g);if(!y)return!1;v+=y.length}if(l){if("object"!==typeof l)return n.emit("error",new Error("Invalid will")),!1;if(!l.topic||"string"!==typeof l.topic)return n.emit("error",new Error("Invalid will topic")),!1;if(v+=e.byteLength(l.topic)+2,v+=2,l.payload){if(!(l.payload.length>=0))return n.emit("error",new Error("Invalid will payload")),!1;"string"===typeof l.payload?v+=e.byteLength(l.payload):v+=l.payload.length}var m={};if(5===s){if(m=j(n,l.properties),!m)return!1;v+=m.length}}let b=!1;if(null!=h){if(!q(h))return n.emit("error",new Error("Invalid username")),!1;b=!0,v+=e.byteLength(h)+2}if(null!=d){if(!b)return n.emit("error",new Error("Username is required to use password")),!1;if(!q(d))return n.emit("error",new Error("Invalid password")),!1;v+=V(d)+2}n.write(r.CONNECT_HEADER),T(n,v),N(n,a),o.bridgeMode&&(s+=128),n.write(131===s?r.VERSION131:132===s?r.VERSION132:4===s?r.VERSION4:5===s?r.VERSION5:r.VERSION3);let x=0;return x|=null!=h?r.USERNAME_MASK:0,x|=null!=d?r.PASSWORD_MASK:0,x|=l&&l.retain?r.WILL_RETAIN_MASK:0,x|=l&&l.qos?l.qos<0&&p(n,d),null!=y&&y.write(),l("publish: payload: %o",h),n.write(h)}function _(t,n,i){const o=i?i.protocolVersion:4,a=t||{},s=a.cmd||"puback",l=a.messageId,u=a.dup&&"pubrel"===s?r.DUP_MASK:0;let c=0;const f=a.reasonCode,h=a.properties;let d=5===o?3:2;if("pubrel"===s&&(c=1),"number"!==typeof l)return n.emit("error",new Error("Invalid messageId")),!1;let g=null;if(5===o&&"object"===typeof h){if(g=B(n,h,i,d),!g)return!1;d+=g.length}return n.write(r.ACKS[s][c][u][0]),T(n,d),p(n,l),5===o&&n.write(e.from([f])),null!==g&&g.write(),!0}function w(t,n,i){l("subscribe: packet: ");const o=i?i.protocolVersion:4,a=t||{},s=a.dup?r.DUP_MASK:0,u=a.messageId,c=a.subscriptions,f=a.properties;let h=0;if("number"!==typeof u)return n.emit("error",new Error("Invalid messageId")),!1;h+=2;let d=null;if(5===o){if(d=j(n,f),!d)return!1;h+=d.length}if("object"!==typeof c||!c.length)return n.emit("error",new Error("Invalid subscriptions")),!1;for(let r=0;r2)return n.emit("error",new Error("Invalid subscriptions - invalid Retain Handling")),!1}h+=e.byteLength(t)+2+1}l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),n.write(r.SUBSCRIBE_HEADER[1][s?1:0][0]),T(n,h),p(n,u),null!==d&&d.write();let g=!0;for(const l of c){const t=l.topic,i=l.qos,a=+l.nl,s=+l.rap,u=l.rh;let c;I(n,t),c=r.SUBSCRIBE_OPTIONS_QOS[i],5===o&&(c|=a?r.SUBSCRIBE_OPTIONS_NL:0,c|=s?r.SUBSCRIBE_OPTIONS_RAP:0,c|=u?r.SUBSCRIBE_OPTIONS_RH[u]:0),g=n.write(e.from([c]))}return g}function S(t,n,i){const o=i?i.protocolVersion:4,a=t||{},s=a.messageId,l=a.granted,u=a.properties;let c=0;if("number"!==typeof s)return n.emit("error",new Error("Invalid messageId")),!1;if(c+=2,"object"!==typeof l||!l.length)return n.emit("error",new Error("Invalid qos vector")),!1;for(let e=0;er.VARBYTEINT_MAX)return t.emit("error",new Error("Invalid variable byte integer: "+e)),!1;let n=E[e];return n||(n=h(e),e<16384&&(E[e]=n)),l("writeVarByteInt: writing to stream: %o",n),t.write(n)}function I(t,n){const r=e.byteLength(n);return p(t,r),l("writeString: %s",n),t.write(n,"utf8")}function P(t,e,n){I(t,e),I(t,n)}function L(t,e){return l("writeNumberCached: number: %d",e),l("writeNumberCached: %o",u[e]),t.write(u[e])}function D(t,e){const n=c(e);return l("writeNumberGenerated: %o",n),t.write(n)}function R(t,e){const n=d(e);return l("write4ByteNumber: %o",n),t.write(n)}function N(t,e){"string"===typeof e?I(t,e):e?(p(t,e.length),t.write(e)):p(t,0)}function j(t,n){if("object"!==typeof n||null!=n.length)return{length:1,write(){z(t,{},0)}};let i=0;function o(n,i){const o=r.propertiesTypes[n];let a=0;switch(o){case"byte":if("boolean"!==typeof i)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=2;break;case"int8":if("number"!==typeof i||i<0||i>255)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=2;break;case"binary":if(i&&null===i)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=1+e.byteLength(i)+2;break;case"int16":if("number"!==typeof i||i<0||i>65535)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=3;break;case"int32":if("number"!==typeof i||i<0||i>4294967295)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=5;break;case"var":if("number"!==typeof i||i<0||i>268435455)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=1+e.byteLength(h(i));break;case"string":if("string"!==typeof i)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=3+e.byteLength(i.toString());break;case"pair":if("object"!==typeof i)return t.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;a+=Object.getOwnPropertyNames(i).reduce((t,n)=>{const r=i[n];return Array.isArray(r)?t+=r.reduce((t,r)=>(t+=3+e.byteLength(n.toString())+2+e.byteLength(r.toString()),t),0):t+=3+e.byteLength(n.toString())+2+e.byteLength(i[n].toString()),t},0);break;default:return t.emit("error",new Error(`Invalid property ${n}: ${i}`)),!1}return a}if(n)for(const e in n){let t=0,r=0;const a=n[e];if(Array.isArray(a))for(let n=0;no){const n=i.shift();if(!n||!e[n])return!1;delete e[n],a=j(t,e)}return a}function F(t,n,i){const o=r.propertiesTypes[n];switch(o){case"byte":t.write(e.from([r.properties[n]])),t.write(e.from([+i]));break;case"int8":t.write(e.from([r.properties[n]])),t.write(e.from([i]));break;case"binary":t.write(e.from([r.properties[n]])),N(t,i);break;case"int16":t.write(e.from([r.properties[n]])),p(t,i);break;case"int32":t.write(e.from([r.properties[n]])),R(t,i);break;case"var":t.write(e.from([r.properties[n]])),T(t,i);break;case"string":t.write(e.from([r.properties[n]])),I(t,i);break;case"pair":Object.getOwnPropertyNames(i).forEach(o=>{const a=i[o];Array.isArray(a)?a.forEach(i=>{t.write(e.from([r.properties[n]])),P(t,o.toString(),i.toString())}):(t.write(e.from([r.properties[n]])),P(t,o.toString(),a.toString()))});break;default:return t.emit("error",new Error(`Invalid property ${n} value: ${i}`)),!1}}function z(t,e,n){T(t,n);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]){const n=e[r];if(Array.isArray(n))for(let e=0;e "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),v=g;t.exports=v},"729e":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.pie=p;var i=r(n("9523")),o=r(n("7037")),a=r(n("278c")),s=r(n("448a")),l=n("18ad"),u=n("222a"),c=n("5557"),f=n("becb");function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n=e.series;n||(n=[]);var r=(0,f.initNeedSeries)(n,u.pieConfig,"pie");r=g(r,t),r=v(r,t),r=m(r,t),r=_(r),r=C(r,t),r=k(r),r=M(r),r=E(r),(0,l.doUpdate)({chart:t,series:r,key:"pie",getGraphConfig:R,getStartGraphConfig:N,beforeChange:j}),(0,l.doUpdate)({chart:t,series:r,key:"pieInsideLabel",getGraphConfig:z}),(0,l.doUpdate)({chart:t,series:r,key:"pieOutsideLabelLine",getGraphConfig:H,getStartGraphConfig:W}),(0,l.doUpdate)({chart:t,series:r,key:"pieOutsideLabel",getGraphConfig:$,getStartGraphConfig:K})}function g(t,e){var n=e.render.area;return t.forEach((function(t){var e=t.center;e=e.map((function(t,e){return"number"===typeof t?t:parseInt(t)/100*n[e]})),t.center=e})),t}function v(t,e){var n=Math.min.apply(Math,(0,s["default"])(e.render.area))/2;return t.forEach((function(t){var e=t.radius,r=t.data;e=y(e,n),r.forEach((function(t){var r=t.radius;r||(r=e),r=y(r,n),t.radius=r})),t.radius=e})),t}function y(t,e){return t instanceof Array||(t=[0,t]),t=t.map((function(t){return"number"===typeof t?t:parseInt(t)/100*e})),t}function m(t,e){var n=t.filter((function(t){var e=t.roseType;return e}));return n.forEach((function(t){var e=t.radius,n=t.data,r=t.roseSort,i=x(t),o=(0,s["default"])(n);n=b(n),n.forEach((function(t,n){t.radius[1]=e[1]-i*n})),r?n.reverse():t.data=o,t.roseIncrement=i})),t}function b(t){return t.sort((function(t,e){var n=t.value,r=e.value;return n===r?0:n>r?-1:n1&&void 0!==arguments[1]?arguments[1]:0,n=t.toString(),r=n.split("."),i=r[1]||"0",o=i.slice(0,e);return r[1]=o,parseFloat(r.join("."))}function S(t){return(0,f.mulAdd)(t.map((function(t){var e=t.value;return e})))}function C(t){return t.forEach((function(t){var e=t.startAngle,n=t.data;n.forEach((function(t,r){var i=A(n,r),o=(0,a["default"])(i,2),s=o[0],l=o[1];t.startAngle=e+s,t.endAngle=e+l}))})),t}function A(t,e){var n=2*Math.PI,r=t.slice(0,e+1),i=(0,f.mulAdd)(r.map((function(t){var e=t.percent;return e}))),o=t[e].percent,a=i-o;return[n*a/100,n*i/100]}function k(t){return t.forEach((function(t){var e=t.data;e.forEach((function(e){e.insideLabelPos=O(t,e)}))})),t}function O(t,e){var n=t.center,r=e.startAngle,i=e.endAngle,o=(0,a["default"])(e.radius,2),l=o[0],u=o[1],f=(l+u)/2,h=(r+i)/2;return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([f,h]))}function M(t){return t.forEach((function(t){var e=t.data,n=t.center;e.forEach((function(t){var e=t.startAngle,r=t.endAngle,i=t.radius,o=(e+r)/2,a=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([i[1],o]));t.edgeCenterPos=a}))})),t}function E(t){return t.forEach((function(t){var e=P(t),n=P(t,!1);e=L(e),n=L(n),D(e,t),D(n,t,!1)})),t}function T(t){var e=t.outsideLabel.labelLineBendGap,n=I(t);return"number"!==typeof e&&(e=parseInt(e)/100*n),e+n}function I(t){var e=t.data,n=e.map((function(t){var e=(0,a["default"])(t.radius,2),n=(e[0],e[1]);return n}));return Math.max.apply(Math,(0,s["default"])(n))}function P(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.data,r=t.center,i=r[0];return n.filter((function(t){var n=t.edgeCenterPos,r=n[0];return e?r<=i:r>i}))}function L(t){return t.sort((function(t,e){var n=(0,a["default"])(t.edgeCenterPos,2),r=(n[0],n[1]),i=(0,a["default"])(e.edgeCenterPos,2),o=(i[0],i[1]);return r>o?1:r2&&void 0!==arguments[2])||arguments[2],r=e.center,i=e.outsideLabel,o=T(e);t.forEach((function(t){var e=t.edgeCenterPos,a=t.startAngle,l=t.endAngle,u=i.labelLineEndLength,h=(a+l)/2,d=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([o,h])),p=(0,s["default"])(d);p[0]+=u*(n?-1:1),t.labelLine=[e,d,p],t.labelLineLength=(0,f.getPolylineLength)(t.labelLine),t.align={textAlign:"left",textBaseline:"middle"},n&&(t.align.textAlign="right")}))}function R(t){var e=t.data,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"pie",index:i,animationCurve:n,animationFrame:r,shape:B(t,o),style:F(t,o)}}))}function N(t){var e=t.animationDelayGap,n=t.startAnimationCurve,r=R(t);return r.forEach((function(t,r){t.animationCurve=n,t.animationDelay=r*e,t.shape.or=t.shape.ir})),r}function j(t){t.animationDelay=0}function B(t,e){var n=t.center,r=t.data,i=r[e],o=i.radius,a=i.startAngle,s=i.endAngle;return{startAngle:a,endAngle:s,ir:o[0],or:o[1],rx:n[0],ry:n[1]}}function F(t,e){var n=t.pieStyle,r=t.data,i=r[e],o=i.color;return(0,f.deepMerge)({fill:o},n)}function z(t){var e=t.animationCurve,n=t.animationFrame,r=t.data,i=t.rLevel;return r.map((function(r,o){return{name:"text",index:i,visible:t.insideLabel.show,animationCurve:e,animationFrame:n,shape:V(t,o),style:q(t,o)}}))}function V(t,e){var n=t.insideLabel,r=t.data,i=n.formatter,a=r[e],s=(0,o["default"])(i),l="";return"string"===s&&(l=i.replace("{name}",a.name),l=l.replace("{percent}",a.percentForLabel),l=l.replace("{value}",a.value)),"function"===s&&(l=i(a)),{content:l,position:a.insideLabelPos}}function q(t,e){var n=t.insideLabel.style;return n}function H(t){var e=t.animationCurve,n=t.animationFrame,r=t.data,i=t.rLevel;return r.map((function(r,o){return{name:"polyline",index:i,visible:t.outsideLabel.show,animationCurve:e,animationFrame:n,shape:G(t,o),style:U(t,o)}}))}function W(t){var e=t.data,n=H(t);return n.forEach((function(t,n){t.style.lineDash=[0,e[n].labelLineLength]})),n}function G(t,e){var n=t.data,r=n[e];return{points:r.labelLine}}function U(t,e){var n=t.outsideLabel,r=t.data,i=n.labelLineStyle,o=r[e].color;return(0,f.deepMerge)({stroke:o,lineDash:[r[e].labelLineLength,0]},i)}function $(t){var e=t.animationCurve,n=t.animationFrame,r=t.data,i=t.rLevel;return r.map((function(r,o){return{name:"text",index:i,visible:t.outsideLabel.show,animationCurve:e,animationFrame:n,shape:Y(t,o),style:Z(t,o)}}))}function K(t){var e=t.data,n=$(t);return n.forEach((function(t,n){t.shape.position=e[n].labelLine[1]})),n}function Y(t,e){var n=t.outsideLabel,r=t.data,i=n.formatter,a=r[e],s=a.labelLine,l=a.name,u=a.percentForLabel,c=a.value,f=(0,o["default"])(i),h="";return"string"===f&&(h=i.replace("{name}",l),h=h.replace("{percent}",u),h=h.replace("{value}",c)),"function"===f&&(h=i(r[e])),{content:h,position:s[2]}}function Z(t,e){var n=t.outsideLabel,r=t.data,i=r[e],o=i.color,a=i.align,s=n.style;return(0,f.deepMerge)(d({fill:o},a),s)}},"72b6":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("2306"),a=n("eda2"),s=n("f934"),l=n("5f14"),u=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,r){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=a.normalizeCssArray(e.get("padding")||0),r=t.getBoundingRect();t.add(new o.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){n=n||{};var r=n.forceState,o=this.visualMapModel,a={};if("symbol"===e&&(a.symbol=o.get("itemSymbol")),"color"===e){var s=o.get("contentColor");a.color=s}function u(t){return a[t]}function c(t,e){a[t]=e}var f=o.controllerVisuals[r||o.getValueState(t)],h=l.prepareVisualTypes(f);return i.each(h,(function(r){var i=f[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=f.__alphaForOpacity),l.dependsOn(r,e)&&i&&i.applyVisual(t,u,c)})),a[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:i.noop});t.exports=u},"733c":function(t,e,n){},7368:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("625e"),a=o.enableClassCheck;function s(t){return"_EC_"+t}var l=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function f(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[s(t)]){var r=new c(t,e);return r.hostGraph=this,this.nodes.push(r),n[s(t)]=r,r}},u.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},u.getNodeById=function(t){return this._nodesMap[s(t)]},u.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),c.isInstance(t)||(t=r[s(t)]),c.isInstance(e)||(e=r[s(e)]),t&&e){var o=t.id+"-"+e.id,a=new f(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),i[o]=a,a}},u.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},u.getEdge=function(t,e){c.isInstance(t)&&(t=t.id),c.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},u.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i=0&&t.call(e,n[i],i)},u.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},u.breadthFirstTraverse=function(t,e,n,r){if(c.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[t][e].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};i.mixin(c,h("hostGraph","data")),i.mixin(f,h("hostGraph","edgeData")),l.Node=c,l.Edge=f,a(c),a(f);var d=l;t.exports=d},"73ca":function(t,e,n){var r=n("2306"),i=n("7e5b");function o(t){this._ctor=t||i,this.group=new r.Group}var a=o.prototype;function s(t,e,n,r){var i=e.getItemLayout(n);if(h(i)){var o=new t._ctor(e,n,r);e.setItemGraphicEl(n,o),t.group.add(o)}}function l(t,e,n,r,i,o){var a=e.getItemGraphicEl(r);h(n.getItemLayout(i))?(a?a.updateData(n,i,o):a=new t._ctor(n,i,o),n.setItemGraphicEl(i,a),t.group.add(a)):t.group.remove(a)}function u(t){return t.animators&&t.animators.length>0}function c(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function f(t){return isNaN(t[0])||isNaN(t[1])}function h(t){return!f(t[0])&&!f(t[1])}a.isPersistent=function(){return!0},a.updateData=function(t){var e=this,n=e.group,r=e._lineData;e._lineData=t,r||n.removeAll();var i=c(t);t.diff(r).add((function(n){s(e,t,n,i)})).update((function(n,o){l(e,r,t,o,n,i)})).remove((function(t){n.remove(r.getItemGraphicEl(t))})).execute()},a.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},a.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(t,e){function n(t){t.isGroup||u(t)||(t.incremental=t.useHoverLayer=!0)}for(var r=t.start;r=0)return!0}var y=new RegExp("["+c+"]+","g");function m(t){for(var e=t.split(/\n+/g),n=g(e.shift()).split(y),r=[],o=i.map(n,(function(t){return{name:t,data:[]}})),a=0;a3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(t,e);if(r)r(t,e,{configurable:null===u&&f?f.configurable:!u,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===l&&f?f.writable:!l});else{if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},"7a41":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){var r=n("1d80"),i=Object;t.exports=function(t){return i(r(t))}},"7b0c":function(t,e,n){var r=n("6cc5"),i=n("f934"),o=i.getLayoutRect,a=n("e263");function s(t,e,n){var r=t.getBoxLayoutParams();return r.aspect=n,o(r,{width:e.getWidth(),height:e.getHeight()})}function l(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var o=t.getData(),l=o.mapArray((function(t){var e=o.getItemModel(t);return[+e.get("x"),+e.get("y")]})),u=[],c=[];a.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var f=(c[0]-u[0])/(c[1]-u[1]),h=s(t,e,f);isNaN(f)&&(u=[h.x,h.y],c=[h.x+h.width,h.y+h.height]);var d=c[0]-u[0],p=c[1]-u[1],g=h.width,v=h.height,y=t.coordinateSystem=new r;y.zoomLimit=t.get("scaleLimit"),y.setBoundingRect(u[0],u[1],d,p),y.setViewRect(h.x,h.y,g,v),y.setCenter(t.get("center")),y.setZoom(t.get("zoom")),n.push(y)}})),n}t.exports=l},"7b3e":function(t,e,n){"use strict";var r,i=n("a3de"); /** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ function o(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},"7b6a":function(t,e,n){"use strict";t.exports=c;var r=n("e142").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n("030c");function u(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length1?"emphasis":"normal")}function b(t,e,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(y(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}g._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new a(y(this.model.option),r,{include:["grid"]});i.matchOutputRanges(t,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[r],n,e)}})),s.push(r,n),this._dispatchZoomAction(n)}function o(t,e,i){var o=e.getAxis(t),a=o.model,s=u(t,a,r),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(i=l(0,i.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}function u(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(t,e.componentIndex);i&&(r=n)})),r}},g._dispatchZoomAction=function(t){var e=[];h(t,(function(t,n){e.push(i.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),r.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);i.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(t,n){if(n){var r=t+"Index",o=n[r];null==o||"all"===o||i.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(t,(function(a,s){if(null==o||"all"===o||-1!==i.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:d+t+s};l[r]=s,e.push(l)}}))}}function a(e,n){var r=t[e];i.isArray(r)||(r=r?[r]:[]),h(r,n)}}));var x=p;t.exports=x},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),f=">",h="<",d="prototype",p="script",g=c("IE_PROTO"),v=function(){},y=function(t){return h+p+f+t+h+"/"+p+f},m=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&r?m(r):b():m(r);var t=a.length;while(t--)delete x[d][a[t]];return x()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[d]=i(t),n=new v,v[d]=null,n[g]=t):n=x(),void 0===e?n:o.f(n,e)}},"7cc8":function(t,e,n){},"7d6d":function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function r(t,e,r){return n.hasOwnProperty(e)?r*t.dpr:r}t.exports=r},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dcf":function(t,e,n){var r=n("b12f"),i=r.extend({type:"dataZoom",render:function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};function r(t,e,n,r){for(var i,o=0;o0&&(w[0]=-w[0],w[1]=-w[1]);var C,A=d[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var k=-Math.atan2(d[1],d[0]);c[0].8?"left":f[0]<-.8?"right":"center",v=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":p=[-f[0]*b+u[0],-f[1]*x+u[1]],g=f[0]>.8?"right":f[0]<-.8?"left":"center",v=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[b*A+u[0],u[1]+C],g=d[0]<0?"right":"left",y=[-b*A,-C];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+C],g="center",y=[0,-C];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-b*A+c[0],c[1]+C],g=d[0]>=0?"right":"left",y=[b*A,-C];break}r.attr({style:{textVerticalAlign:r.__verticalAlign||v,textAlign:r.__textAlign||g},position:p,scale:[o,o],origin:y})}}}}function v(t,e,n){s.Group.call(this),this._createLine(t,e,n)}var y=v.prototype;y.beforeUpdate=g,y._createLine=function(t,e,n){var i=t.hostModel,o=t.getItemLayout(e),a=d(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},i,e),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(c,(function(n){var r=h(n,t,e);this.add(r),this[f(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},y.updateData=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),l={shape:{}};p(l.shape,a),s.updateProps(o,l,i,e),r.each(c,(function(n){var r=t.getItemVisual(e,n),i=f(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=h(n,t,e);this.add(o)}this[i]=r}),this),this._updateCommonStl(t,e,n)},y._updateCommonStl=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,f=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var d=t.getItemModel(e);a=d.getModel("lineStyle").getLineStyle(),l=d.getModel("emphasis.lineStyle").getLineStyle(),f=d.getModel("label"),h=d.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=r.retrieve3(t.getItemVisual(e,"opacity"),a.opacity,1);o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=l,r.each(c,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var v,y,m=f.getShallow("show"),b=h.getShallow("show"),x=this.childOfName("label");if((m||b)&&(v=p||"#000",y=i.getFormattedLabel(e,"normal",t.dataType),null==y)){var _=i.getRawValue(e);y=null==_?t.getName(e):isFinite(_)?u(_):_}var w=m?y:null,S=b?r.retrieve2(i.getFormattedLabel(e,"emphasis",t.dataType),y):null,C=x.style;if(null!=w||null!=S){s.setTextStyle(x.style,f,{text:w},{autoColor:v}),x.__textAlign=C.textAlign,x.__verticalAlign=C.textVerticalAlign,x.__position=f.get("position")||"middle";var A=f.get("distance");r.isArray(A)||(A=[A,A]),x.__labelDistance=A}x.hoverStyle=null!=S?{text:S,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},x.ignore=!m&&!b,s.setHoverStyle(this)},y.highlight=function(){this.trigger("emphasis")},y.downplay=function(){this.trigger("normal")},y.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},y.setLinePoints=function(t){var e=this.childOfName("line");p(e.shape,t),e.dirty()},r.inherits(v,s.Group);var m=v;t.exports=m},"7e63":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=i.each,a=i.filter,s=i.map,l=i.isArray,u=i.indexOf,c=i.isObject,f=i.isString,h=i.createHashMap,d=i.assert,p=i.clone,g=i.merge,v=i.extend,y=i.mixin,m=n("e0d3"),b=n("4319"),x=n("6cb7"),_=n("8971"),w=n("e47b"),S=n("0f99"),C=S.resetSourceDefaulter,A="\0_ec_inner",k=b.extend({init:function(t,e,n,r){n=n||{},this.option=null,this._theme=new b(n),this._optionManager=r},setOption:function(t,e){d(!(A in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(r)):E.call(this,r),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var i=n.getTimelineOption(this);i&&(this.mergeOption(i),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,r=[];function i(r,i){var a=m.normalizeToArray(t[r]),s=m.mappingToExists(n.get(r),a);m.makeIdAndName(s),o(s,(function(t,e){var n=t.option;c(n)&&(t.keyInfo.mainType=r,t.keyInfo.subType=I(r,n,t.exist))}));var l=T(n,i);e[r]=[],n.set(r,[]),o(s,(function(t,i){var o=t.exist,a=t.option;if(d(c(a)||o,"Empty component definition"),a){var s=x.getClass(r,t.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=t.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var u=v({dependentModels:l,componentIndex:i},t.keyInfo);o=new s(a,this,this,u),v(o,u),o.init(a,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(r)[i]=o,e[r][i]=o.option}),this),"series"===r&&P(this,n.get("series"))}C(this),o(t,(function(t,n){null!=t&&(x.hasClass(n)?n&&r.push(n):e[n]=null==e[n]?p(t):g(e[n],t,!0))})),x.topologicalTravel(r,x.getAllClassMainTypes(),i,this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return o(t,(function(e,n){if(x.hasClass(n)){e=m.normalizeToArray(e);for(var r=e.length-1;r>=0;r--)m.isIdInner(e[r])&&e.splice(r,1);t[n]=e}})),delete t[A],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,i=t.id,o=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=r)l(r)||(r=[r]),n=a(s(r,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=i){var f=l(i);n=a(c,(function(t){return f&&u(i,t.id)>=0||!f&&t.id===i}))}else if(null!=o){var h=l(o);n=a(c,(function(t){return h&&u(o,t.name)>=0||!h&&t.name===o}))}else n=c.slice();return L(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,r=o(e),i=r?this.queryComponents(r):this._componentsMap.get(n);return s(L(i,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?a(e,t.filter):e}},eachComponent:function(t,e,n){var r=this._componentsMap;if("function"===typeof t)n=e,e=t,r.each((function(t,r){o(t,(function(t,i){e.call(n,r,t,i)}))}));else if(f(t))o(r.get(t),e,n);else if(c(t)){var i=this.findComponents(t);o(i,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){D(this),o(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},eachRawSeries:function(t,e){o(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){D(this),o(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},eachRawSeriesByType:function(t,e,n){return o(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return D(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){D(this);var n=a(this._componentsMap.get("series"),t,e);P(this,n)},restoreData:function(t){var e=this._componentsMap;P(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),x.topologicalTravel(n,x.getAllClassMainTypes(),(function(n,r){o(e.get(n),(function(e){("series"!==n||!O(e,t))&&e.restoreData()}))}))}});function O(t,e){if(e){var n=e.seiresIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}function M(t,e){var n=t.color&&!t.colorLayer;o(e,(function(e,r){"colorLayer"===r&&n||x.hasClass(r)||("object"===typeof e?t[r]=t[r]?g(t[r],e,!1):p(e):null==t[r]&&(t[r]=e))}))}function E(t){t=t,this.option={},this.option[A]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,M(t,this._theme.option),g(t,_,!1),this.mergeOption(t)}function T(t,e){l(e)||(e=e?[e]:[]);var n={};return o(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}function I(t,e,n){var r=e.type?e.type:n?n.subType:x.determineSubType(t,e);return r}function P(t,e){t._seriesIndicesMap=h(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function L(t,e){return e.hasOwnProperty("subType")?a(t,(function(t){return t.subType===e.subType})):t}function D(t){}y(k,w);var R=k;t.exports=R},"7ec2":function(t,e,n){n("a4d3"),n("e01a"),n("b636"),n("d28b"),n("944a"),n("d9e2"),n("14d9"),n("fb6a"),n("b0c0"),n("0c47"),n("23dc"),n("3410"),n("1f68"),n("131a"),n("d3b7"),n("3ca3"),n("159b"),n("ddb0");var r=n("7037")["default"];function i(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return n},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",f=l.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),a=new L(r||[]);return s(o,"_invoke",{value:E(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=d;var g="suspendedStart",v="suspendedYield",y="executing",m="completed",b={};function x(){}function _(){}function w(){}var S={};h(S,u,(function(){return this}));var C=Object.getPrototypeOf,A=C&&C(C(D([])));A&&A!==o&&a.call(A,u)&&(S=A);var k=w.prototype=x.prototype=Object.create(S);function O(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function M(t,e){function n(i,o,s,l){var u=p(t[i],t,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==r(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(f).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var i=g;return function(o,a){if(i===y)throw Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var u=p(t,n,r);if("normal"===u.type){if(i=r.done?m:v,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=m,r.method="throw",r.arg=u.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator["return"]&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=p(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},n}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7ed3":function(t,e,n){},"7f0f":function(t,e,n){(function(e){const r=n("7135"),i=n("faa1");function o(t,e){const n=new a;return r(t,n,e),n.concat()}class a extends i{constructor(){super(),this._array=new Array(20),this._i=0}write(t){return this._array[this._i++]=t,!0}concat(){let t=0;const n=new Array(this._array.length),r=this._array;let i,o=0;for(i=0;i=0;c--)null==i[c]?i.splice(c,1):delete i[c].$action},_flatten:function(t,e,n){o.each(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var r=t.children;"group"===t.type&&r&&this._flatten(r,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function d(t,e,n,r){var i=n.type,o=f.hasOwnProperty(i)?f[i]:s.getShapeClass(i),a=new o(n);e.add(a),r.set(t,a),a.__ecGraphicId=t}function p(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){p(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function g(t){return t=o.extend({},t),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(e){delete t[e]})),t}function v(t,e){var n;return o.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function y(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var r=e.parentOption;r?e.parentId=r.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function m(t,e,n){var r=o.extend({},n),i=t[e],a=n.$action||"merge";"merge"===a?i?(o.merge(i,r,!0),l.mergeLayoutParam(i,r,{ignoreSize:!0}),l.copyLayoutParams(n,i)):t[e]=r:"replace"===a?t[e]=r:"remove"===a&&i&&(t[e]=null)}function b(t,e){t&&(t.hv=e.hv=[v(e,["left","right"]),v(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function x(t,e,n){var r=t.eventData;t.silent||t.ignore||r||(r=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),r&&(r.info=t.info)}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group;o.each(e,(function(e){var i=e.$action,o=e.id,a=n.get(o),s=e.parentId,l=null!=s?n.get(s):r,u=e.style;"text"===e.type&&u&&(e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(e);i&&"merge"!==i?"replace"===i?(p(a,n),d(o,l,c,n)):"remove"===i&&p(a,n):a?a.attr(c):d(o,l,c,n);var f=n.get(o);f&&(f.__ecGraphicWidthOption=e.width,f.__ecGraphicHeightOption=e.height,x(f,t,e))}))}},_relocate:function(t,e){for(var n=t.option.elements,r=this.group,i=this._elMap,o=e.getWidth(),a=e.getHeight(),s=0;s=0;s--){u=n[s],f=i.get(u.id);if(f){h=f.parent;var p=h===r?{width:o,height:a}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight};l.positionElement(f,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){p(e,t)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("a18f"),n("32a1"),n("2c17"),n("9e87")},"7f73":function(t,e,n){"use strict";t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},"7f91":function(t,e,n){var r=n("2306"),i=n("401b"),o=r.Line.prototype,a=r.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=r.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return i.normalize(n,n)},_tangentAtCurve:a.tangentAt});t.exports=l},"7f96":function(t,e,n){var r=n("6d8b"),i=r.isFunction;function o(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,r,o){var a=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),c=t.get("symbolRotate"),f=i(s),h=i(l),d=i(c),p=f||h||d,g=!f&&s?s:e,v=h?null:l;if(a.setVisual({legendSymbol:n||g,symbol:g,symbolSize:v,symbolKeepAspect:u,symbolRotate:c}),!r.isSeriesFiltered(t))return{dataEach:a.hasItemOption||p?y:null};function y(e,n){if(p){var r=t.getRawValue(n),i=t.getDataParams(n);f&&e.setItemVisual(n,"symbol",s(r,i)),h&&e.setItemVisual(n,"symbolSize",l(r,i)),d&&e.setItemVisual(n,"symbolRotate",c(r,i))}if(e.hasItemOption){var o=e.getItemModel(n),a=o.getShallow("symbol",!0),u=o.getShallow("symbolSize",!0),g=o.getShallow("symbolRotate",!0),v=o.getShallow("symbolKeepAspect",!0);null!=a&&e.setItemVisual(n,"symbol",a),null!=u&&e.setItemVisual(n,"symbolSize",u),null!=g&&e.setItemVisual(n,"symbolRotate",g),null!=v&&e.setItemVisual(n,"symbolKeepAspect",v)}}}}}t.exports=o},8096:function(t,e,n){},"80f0":function(t,e){function n(t){return t}function r(t,e,r,i,o){this._old=t,this._new=e,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,this.context=o}function i(t,e,n,r,i){for(var o=0;o=0;x&&b.depth>v&&(v=b.depth),m.setLayout({depth:x?b.depth:f},!0),"vertical"===o?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var _=0;_f-1?v:f-1;a&&"left"!==a&&d(t,a,o,k);h="vertical"===o?(i-n)/k:(r-n)/k;g(t,h,o)}function h(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function d(t,e,n,r){if("right"===e){var o=[],a=t,s=0;while(a.length){for(var l=0;l0;o--)l*=.99,x(s,l,a),b(s,i,n,r,a),M(s,l,a),b(s,i,n,r,a)}function y(t,e){var n=[],r="vertical"===e?"y":"x",o=a(t,(function(t){return t.getLayout()[r]}));return o.keys.sort((function(t,e){return t-e})),i.each(o.keys,(function(t){n.push(o.buckets.get(t))})),n}function m(t,e,n,r,o,a){var s=1/0;i.each(t,(function(t){var e=t.length,l=0;i.each(t,(function(t){l+=t.getLayout().value}));var u="vertical"===a?(r-(e-1)*o)/l:(n-(e-1)*o)/l;u0&&(i=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[a]+s.getLayout()[f]+e;var d="vertical"===o?r:n;if(l=u-e-d,l>0)for(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0),u=i,h=c-2;h>=0;--h)s=t[h],l=s.getLayout()[a]+s.getLayout()[f]+e-u,l>0&&(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[a]}))}function x(t,e,n){i.each(t.slice().reverse(),(function(t){i.each(t,(function(t){if(t.outEdges.length){var r=O(t.outEdges,_,n)/O(t.outEdges,k,n);if(isNaN(r)){var i=t.outEdges.length;r=i?O(t.outEdges,w,n)/i:0}if("vertical"===n){var o=t.getLayout().x+(r-A(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(r-A(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function _(t,e){return A(t.node2,e)*t.getValue()}function w(t,e){return A(t.node2,e)}function S(t,e){return A(t.node1,e)*t.getValue()}function C(t,e){return A(t.node1,e)}function A(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function k(t){return t.getValue()}function O(t,e,n){var r=0,i=t.length,o=-1;while(++o1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);while(u>s)e[s++]=t;return e}},"825a":function(t,e,n){var r=n("861d"),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},8261:function(t,e,n){},"82eb":function(t,e){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},r=9;e.ContextCachedBy=n,e.WILL_BE_RESTORED=r},"82f9":function(t,e,n){var r=n("6d8b"),i=n("76a5"),o=n("2306");function a(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){var e=t.get("alwaysShowContent");e&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),r=e*this._zr.getHeight();this.moveTo(n,r)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);var r={},a=t,s="{marker",l="|}",u=a.indexOf(s);while(u>=0){var c=a.indexOf(l),f=a.substr(u+s.length,c-u-s.length);f.indexOf("sub")>-1?r["marker"+f]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[f],textOffset:[3,0]}:r["marker"+f]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[f]},a=a.substr(c+1),u=a.indexOf("{marker")}var h=n.getModel("textStyle"),d=h.get("fontSize"),p=n.get("textLineHeight");null==p&&(p=Math.round(3*d/2)),this.el=new i({style:o.setTextStyle({},h,{rich:r,text:t,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:p}),z:n.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;a(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},8311:function(t,e,n){"use strict";const{Buffer:r}=n("1c35"),i=n("035d").Transform,o=n("fb12");let a,s,l;function u(){const t=new i;return t._write=function(t,e,n){a.send({data:t.buffer,success:function(){n()},fail:function(t){n(new Error(t))}})},t._flush=function(t){a.close({success:function(){t()}})},t}function c(t){t.hostname||(t.hostname="localhost"),t.path||(t.path="/"),t.wsOptions||(t.wsOptions={})}function f(t,e){const n="wxs"===t.protocol?"wss":"ws";let r=n+"://"+t.hostname+t.path;return t.port&&80!==t.port&&443!==t.port&&(r=n+"://"+t.hostname+":"+t.port+t.path),"function"===typeof t.transformWsUrl&&(r=t.transformWsUrl(r,t,e)),r}function h(){a.onOpen((function(){l.setReadable(s),l.setWritable(s),l.emit("connect")})),a.onMessage((function(t){let e=t.data;e=e instanceof ArrayBuffer?r.from(e):r.from(e,"utf8"),s.push(e)})),a.onClose((function(){l.end(),l.destroy()})),a.onError((function(t){l.destroy(new Error(t.errMsg))}))}function d(t,e){if(e.hostname=e.hostname||e.host,!e.hostname)throw new Error("Could not determine host. Specify host manually.");const n="MQIsdp"===e.protocolId&&3===e.protocolVersion?"mqttv3.1":"mqtt";c(e);const r=f(e,t);a=wx.connectSocket({url:r,protocols:[n]}),s=u(),l=o.obj(),l._destroy=function(t,e){a.close({success:function(){e&&e(t)}})};const i=l.destroy;return l.destroy=function(){l.destroy=i;const t=this;setTimeout((function(){a.close({fail:function(){t._destroy(new Error)}})}),0)}.bind(l),h(),l}t.exports=d},8344:function(t,e,n){var r=n("6d8b"),i=n("f706"),o=n("3842"),a=n("6179"),s=n("923d"),l=n("88f0");function u(t,e,n){var r=e.coordinateSystem;t.each((function(i){var a,s=t.getItemModel(i),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var c=t.get(r.dimensions[0],i),f=t.get(r.dimensions[1],i);a=r.dataToPoint([c,f])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),t.setItemLayout(i,a)}))}var c=l.extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markPointModel;e&&(u(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,n,o){var a=t.coordinateSystem,s=t.id,l=t.getData(),c=this.markerGroupMap,h=c.get(s)||c.set(s,new i),d=f(a,t,e);e.setData(d),u(e.getData(),t,o),d.each((function(t){var n=d.getItemModel(t),i=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=r.isFunction(i),u=r.isFunction(o),c=r.isFunction(a);if(s||u||c){var f=e.getRawValue(t),h=e.getDataParams(t);s&&(i=i(f,h)),u&&(o=o(f,h)),c&&(a=a(f,h))}d.setItemVisual(t,{symbol:i,symbolSize:o,symbolRotate:a,color:n.get("itemStyle.color")||l.getVisual("color")})})),h.updateData(d),this.group.add(h.group),d.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),h.__keep=!0,h.group.silent=e.get("silent")||t.get("silent")}});function f(t,e,n){var i;i=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var o=new a(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,e));return t&&(l=r.filter(l,r.curry(s.dataFilter,t))),o.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),o}t.exports=c},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var r=n("d925"),i=n("e683");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},"83ba":function(t,e,n){var r=n("6d8b"),i=n("6cb7"),o=n("f934"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=i.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var i=a(t);u.superApply(this,"init",arguments),c(t,i)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var i=r.map([0,1],(function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));l(t,e,{type:"box",ignoreSize:i})}var f=u;t.exports=f},8418:function(t,e,n){"use strict";var r=n("a04b"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"841c":function(t,e,n){"use strict";var r=n("c65b"),i=n("d784"),o=n("825a"),a=n("7234"),s=n("1d80"),l=n("129f"),u=n("577e"),c=n("dc4a"),f=n("14c3");i("search",(function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:c(e,t);return i?r(i,e,n):new RegExp(e)[t](u(n))},function(t){var r=o(this),i=u(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var c=f(r,i);return l(r.lastIndex,s)||(r.lastIndex=s),null===c?-1:c.index}]}))},"843e":function(t,e,n){var r=n("6d8b"),i=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(t){r.each(i,(function(e){this[e]=r.bind(t[e],t)}),this)}var a=o;t.exports=a},8459:function(t,e,n){var r=n("3eba"),i={type:"axisAreaSelect",event:"axisAreaSelected"};r.registerAction(i,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),r.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))},"848b":function(t,e,n){"use strict";var r=n("5cce").version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function a(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),i=r.length;while(i-- >0){var o=r[i],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={assertOptions:a,validators:i}},"849b":function(t,e,n){var r=n("d9d0"),i=n("2039");function o(t,e){var n=[];return t.eachComponent("parallel",(function(i,o){var a=new r(i,t,e);a.name="parallel_"+o,a.resize(i,e),i.coordinateSystem=a,a.model=i,n.push(a)})),t.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}i.register("parallel",{create:o})},"84cd":function(t,e,n){},"84ce":function(t,e,n){var r=n("6d8b"),i=r.each,o=r.map,a=n("3842"),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n("e073"),f=c.createAxisTicks,h=c.createAxisLabels,d=c.calculateCategoryInterval,p=[0,1],g=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var n=t[1]-t[0],r=e,i=n/r/2;t[0]+=i,t[1]-=i}function y(t,e,n,r){var o=e.length;if(t.onBand&&!n&&o){var a,s,l=t.getExtent();if(1===o)e[0].coord=l[0],a=e[1]={coord:l[0]};else{var c=e[o-1].tickValue-e[0].tickValue,f=(e[o-1].coord-e[0].coord)/c;i(e,(function(t){t.coord-=f/2}));var h=t.scale.getExtent();s=1+h[1]-e[o-1].tickValue,a={coord:e[o-1].coord+f*s},e.push(a)}var d=l[0]>l[1];p(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],a.coord)&&(r?a.coord=l[1]:e.pop()),r&&p(a.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=u(t),e=u(e),d?t>e:t=n&&t<=r},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&(n=n.slice(),v(n,r.count())),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),v(n,r.count()));var i=s(t,n,p,e);return this.scale.scale(i)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=f(this,e),r=n.ticks,i=o(r,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),a=e.get("alignWithLabel");return y(this,i,a,t.clamp),i},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),r=o(n,(function(t){return o(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return r},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var m=g;t.exports=m},"84d5":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("4319"),a=n("e0d3"),s=a.isNameSpecified,l=n("29a8"),u=l.legend.selector,c={all:{type:"all",title:i.clone(u.all)},inverse:{type:"inverse",title:i.clone(u.inverse)}},f=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){f.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),i.isArray(e)&&i.each(e,(function(t,n){i.isString(t)&&(t={type:t}),e[n]=i.merge(t,c[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),h=f;t.exports=h},"84ec":function(t,e){var n=Math.log(2);function r(t,e,i,o,a,s){var l=o+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<"+l+""}},"857d":function(t,e){var n=2*Math.PI;function r(t){return t%=n,t<0&&(t+=n),t}e.normalizeRadian=r},"85c4":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n("9523")),o=r(n("448a")),a=r(n("970b")),s=r(n("a870")),l=r(n("050c")),u=n("5557"),c=r(n("b06d")),f=r(n("eb53"));function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.name;if(e){var n=c["default"].get(e);if(n){var r=new f["default"](n,t);if(r.validator(r))return r.render=this,this.graphs.push(r),this.sortGraphsByIndex(),this.drawAllGraph(),r}else console.warn("No corresponding graph configuration found!")}else console.error("add Missing parameters!")},p.prototype.sortGraphsByIndex=function(){var t=this.graphs;t.sort((function(t,e){return t.index>e.index?1:t.index===e.index?0:t.indexl)r.f(t,n=a[l++],e[n]);return t}},"85f8":function(t,e,n){"use strict";(function(e,r){var i;t.exports=E,E.ReadableState=M;n("faa1").EventEmitter;var o=function(t,e){return t.listeners(e).length},a=n("9ede"),s=n("1c35").Buffer,l=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function u(t){return s.from(t)}function c(t){return s.isBuffer(t)||t instanceof l}var f,h=n(2);f=h&&h.debuglog?h.debuglog("stream"):function(){};var d,p,g,v=n("f688"),y=n("edb3"),m=n("31b5"),b=m.getHighWaterMark,x=n("fbd7").codes,_=x.ERR_INVALID_ARG_TYPE,w=x.ERR_STREAM_PUSH_AFTER_EOF,S=x.ERR_METHOD_NOT_IMPLEMENTED,C=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(E,a);var A=y.errorOrDestroy,k=["error","close","destroy","pause","resume"];function O(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function M(t,e,r){i=i||n("be3f"),t=t||{},"boolean"!==typeof r&&(r=e instanceof i),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",r),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=n("aa22").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function E(t){if(i=i||n("be3f"),!(this instanceof E))return new E(t);var e=this instanceof i;this._readableState=new M(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,i){f("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,N(t,a);else if(i||(o=P(a,e)),o)A(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=u(e)),r)a.endEmitted?A(t,new C):I(t,a,e,!0);else if(a.ended)A(t,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?I(t,a,e,!1):F(t,a)):I(t,a,e,!1)}else r||(a.reading=!1,F(t,a));return!a.ended&&(a.length=L?t=L:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function R(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=D(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function N(t,e){if(f("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,B(t)))}}function j(t){var e=t._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(B,t))}function B(t){var e=t._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,U(t)}function F(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(z,t,e))}function z(t,e){while(!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function H(t){f("readable nexttick read 0"),t.read(0)}function W(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(G,t,e))}function G(t,e){f("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),U(t),e.flowing&&!e.reading&&t.read(0)}function U(t){var e=t._readableState;f("flow",e.flowing);while(e.flowing&&null!==t.read());}function $(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function K(t){var e=t._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(Y,e,t))}function Y(t,e){if(f("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function Z(t,e){for(var n=0,r=t.length;n=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?K(this):j(this),null;if(t=R(t,e),0===t&&e.ended)return 0===e.length&&K(this),null;var r,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t0?$(t,e):null,null===r?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&K(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(t){A(this,new S("_read()"))},E.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t);break}i.pipesCount+=1,f("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,s=a?u:m;function l(t,e){f("onunpipe"),t===n&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,d())}function u(){f("onend"),t.end()}i.endEmitted?r.nextTick(s):n.once("end",s),t.on("unpipe",l);var c=V(n);t.on("drain",c);var h=!1;function d(){f("cleanup"),t.removeListener("close",v),t.removeListener("finish",y),t.removeListener("drain",c),t.removeListener("error",g),t.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",p),h=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||c()}function p(e){f("ondata");var r=t.write(e);f("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==Z(i.pipes,t))&&!h&&(f("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function g(e){f("onerror",e),m(),t.removeListener("error",g),0===o(t,"error")&&A(t,e)}function v(){t.removeListener("finish",y),m()}function y(){f("onfinish"),t.removeListener("close",v),m()}function m(){f("unpipe"),n.unpipe(t)}return n.on("data",p),O(t,"error",g),t.once("close",v),t.once("finish",y),t.emit("pipe",n),i.flowing||(f("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,f("on readable",i.length,i.reading),i.length?j(this):i.reading||r.nextTick(H,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(q,this),n},E.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(q,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!t.readableListening,W(this,t)),t.paused=!1,this},E.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){if(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=e.push(i);o||(r=!0,t.pause())}})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";var e=this.head,n=""+e.data;while(e=e.next)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return h.alloc(0);var e=h.allocUnsafe(t>>>0),n=this.head,r=0;while(n)v(n.data,e,r),r+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return ti.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),t-=o,0===t){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=h.allocUnsafe(t),n=this.head,r=1;n.data.copy(e),t-=n.data.length;while(n=n.next){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),t-=o,0===t){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:g,value:function(t,e){return p(this,i(i({},e),{},{depth:0,customInspect:!1}))}}]),t}()},8707:function(t,e,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n("1c35"),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},"870e":function(t,e,n){var r=n("6d8b");function i(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var s=i.getIndicatorAxes();r.each(s,(function(t,r){e.each(e.mapDimension(s[r].dim),(function(t,e){n[e]=n[e]||[];var s=i.dataToPoint(t,r);n[e][r]=o(s)?s:a(i)}))})),e.each((function(t){var s=r.find(n[t],(function(t){return o(t)}))||a(i);n[t].push(s.slice()),e.setItemLayout(t,n[t])}))}}))}function o(t){return!isNaN(t[0])&&!isNaN(t[1])}function a(t){return[t.cx,t.cy]}t.exports=i},8727:function(t,e){var n="http://www.w3.org/2000/svg";function r(t){return document.createElementNS(n,t)}e.createElement=r},8728:function(t,e){function n(t,e,n,r,i,o){if(o>e&&o>r||oi?a:0}t.exports=n},"873c":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.title=u;var i=r(n("278c")),o=n("18ad"),a=n("5557"),s=n("9d85"),l=n("becb");function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];e.title&&(n[0]=(0,l.deepMerge)((0,a.deepClone)(s.titleConfig,!0),e.title)),(0,o.doUpdate)({chart:t,series:n,key:"title",getGraphConfig:c})}function c(t,e){var n=s.titleConfig.animationCurve,r=s.titleConfig.animationFrame,i=s.titleConfig.rLevel,o=f(t,e),a=h(t);return[{name:"text",index:i,visible:t.show,animationCurve:n,animationFrame:r,shape:o,style:a}]}function f(t,e){var n=t.offset,r=t.text,o=e.chart.gridArea,a=o.x,s=o.y,l=o.w,u=(0,i["default"])(n,2),c=u[0],f=u[1];return{content:r,position:[a+l/2+c,s+f]}}function h(t){var e=t.style;return e}},"879e":function(t,e,n){var r=n("3eba"),i=n("6179"),o=n("6d8b"),a=n("e0d3"),s=a.defaultEmphasis,l=n("4319"),u=n("eda2"),c=u.encodeHTML,f=n("237f"),h=n("c4a3"),d=n("0c37"),p=d.initCurvenessList,g=d.createEdgeMapForCurveness,v=r.extendSeriesModel({type:"series.graph",init:function(t){v.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new h(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){v.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){v.superApply(this,"mergeDefaultAndTheme",arguments),s(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n){p(this);var a=f(r,n,this,!0,s);return o.each(a.edges,(function(t){g(t.node1,t.node2,this,t.dataIndex)}),this),a.data}function s(t,n){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels,n=t.getShallow("category"),r=e[n];return r&&(r.parentModel=t.parentModel,t.parentModel=r),t}));var r=i.getModel("edgeLabel"),o=new l({label:r.option},r.parentModel,e),a=i.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,e);function u(t){return t=this.parsePath(t),t&&"label"===t[0]?o:t&&"emphasis"===t[0]&&"label"===t[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(u),t}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=c(l.join(" > ")),i.value&&(l+=" : "+c(i.value)),l}return v.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],(function(t){return null!=t.value?t:o.extend({value:0},t)})),e=new i(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return v.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),y=v;t.exports=y},"87b1":function(t,e,n){var r=n("cbe5"),i=n("4fac"),o=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){i.buildPath(t,e,!0)}});t.exports=o},"87c3":function(t,e,n){var r=n("6d8b"),i=r.map,o=n("cccd"),a=n("ee1a"),s=a.isDimensionStacked;function l(t){return{seriesType:t,plan:o(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,r=t.pipelineContext,o=r.large;if(n){var a=i(n.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=a.length,u=e.getCalculationInfo("stackResultDimension");return s(e,a[0])&&(a[0]=u),s(e,a[1])&&(a[1]=u),l&&{progress:c}}function c(t,e){for(var r=t.end-t.start,i=o&&new Float32Array(r*l),s=t.start,u=0,c=[],f=[];s=0?f():c=setTimeout(f,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(t){s=t},h}function a(t,e,a,s){var l=t[e];if(l){var u=l[n]||l,c=l[i],f=l[r];if(f!==a||c!==s){if(null==a||!s)return t[e]=u;l=t[e]=o(u,a,"debounce"===s),l[n]=u,l[i]=s,l[r]=a}return l}}function s(t,e){var r=t[e];r&&r[n]&&(t[e]=r[n])}e.throttle=o,e.createOrUpdate=a,e.clear=s},"88f0":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(t,e,n){var r=this.markerGroupMap;r.each((function(t){t.__keep=!1}));var i=this.type+"Model";e.eachSeries((function(t){var r=t[i];r&&this.renderSeries(t,r,e,n)}),this),r.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=o},8918:function(t,e,n){var r=n("6d8b"),i=n("625e"),o=i.parseClassType,a=0;function s(t){return[t||"",a++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=o(t),e[t.main]=n},t.determineSubType=function(n,r){var i=r.type;if(!i){var a=o(n).main;t.hasSubTypes(n)&&e[a]&&(i=e[a](r))}return i},t}function u(t,e){function n(t){var n={},a=[];return r.each(t,(function(s){var l=i(n,s),u=l.originalDeps=e(s),c=o(u,t);l.entryCount=c.length,0===l.entryCount&&a.push(s),r.each(c,(function(t){r.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=i(n,t);r.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return r.each(t,(function(t){r.indexOf(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,o){if(t.length){var a=n(e),s=a.graph,l=a.noEntryList,u={};r.each(t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),f=s[c],h=!!u[c];h&&(i.call(o,c,f.originalDeps.slice()),delete u[c]),r.each(f.successor,h?p:d)}r.each(u,(function(){throw new Error("Circle dependency may exists")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,d(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},8925:function(t,e,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},8971:function(t,e){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=r},"897a":function(t,e,n){var r=n("22d1"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(t){return r.browser.ie&&r.browser.version>=11?function(){var e,n=this.__clipPaths,r=this.style;if(n)for(var o=0;oe[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var u=o.length?o[o.length-1]:r[1];return n[1]>u&&(t?o.push(s(u+e,i)):o.push(n[1])),o},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),o=1;oi[0]&&h1&&void 0!==arguments[1]?arguments[1]:{},n=(0,i.deepClone)(r.colorConfig,!0),a=e.color,s=e.series;if(s||(s=[]),a||(a=[]),e.color=a=(0,o.deepMerge)(n,a),s.length){var l=a.length;s.forEach((function(t,e){t.color||(t.color=a[e%l])}));var u=s.filter((function(t){var e=t.type;return"pie"===e}));u.forEach((function(t){return t.data.forEach((function(t,e){return t.color=a[e%l]}))}));var c=s.filter((function(t){var e=t.type;return"gauge"===e}));c.forEach((function(t){return t.data.forEach((function(t,e){return t.color=a[e%l]}))}));var f=s.filter((function(t){var e=t.type,n=t.independentColor;return"bar"===e&&n}));f.forEach((function(t){t.independentColors||(t.independentColors=a)}))}}},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8b1a":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"8b7f":function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=i.createHashMap,a=(i.retrieve,i.each);function s(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(t){var e=t.get("coordinateSystem"),n=new s(e),r=u[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var u={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis")[0],o=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),c(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),c(o)&&(r.set("y",o),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",i),c(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar")[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,o=i.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(t,o){var a=i.getComponent("parallelAxis",t),l=s[o];n.set(l,a),c(a)&&null==e.firstCategoryDimIndex&&(r.set(l,a),e.firstCategoryDimIndex=o)}))}};function c(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=l},"8c2a":function(t,e,n){var r=n("6d8b"),i=n("e0d8"),o=n("3842"),a=n("89e3"),s=i.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,f=Math.floor,h=Math.ceil,d=Math.pow,p=Math.log,g=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new a},getTicks:function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return r.map(l.getTicks.call(this,t),(function(t){var r=o.round(d(this.base,t));return r=t===n[0]&&e.__fixMin?v(r,i[0]):r,r=t===n[1]&&e.__fixMax?v(r,i[1]):r,r}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),d(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=d(t,e[0]),e[1]=d(t,e[1]);var n=this._originalScale,r=n.getExtent();return n.__fixMin&&(e[0]=v(e[0],r[0])),n.__fixMax&&(e[1]=v(e[1],r[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var r=o.quantity(n),i=t/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var a=[o.round(h(e[0]/r)*r),o.round(f(e[1]/r)*r)];this._interval=r,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return c(t,u(e))}r.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var y=g;t.exports=y},"8c4f":function(t,e,n){"use strict"; /*! * vue-router v3.4.9 * (c) 2020 Evan You * @license MIT */function r(t,e){0}function i(t,e){for(var n in e)t[n]=e[n];return t}var o=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,l=function(t){return encodeURIComponent(t).replace(o,a).replace(s,",")};function u(t){try{return decodeURIComponent(t)}catch(e){0}return t}function c(t,e,n){void 0===e&&(e={});var r,i=n||h;try{r=i(t||"")}catch(s){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(f):f(a)}return r}var f=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=u(n.shift()),i=n.length>0?u(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(l(e)):r.push(l(e)+"="+l(t)))})),r.join("&")}return l(e)+"="+l(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function g(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=v(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:b(e,i),matched:t?m(t):[]};return n&&(a.redirectedFrom=b(n,i)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var y=g(null,{path:"/"});function m(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||d;return(n||"/")+o(r)+i}function x(t,e){return e===y?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&t.hash===e.hash&&_(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params)))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n],a=r[i];if(a!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?_(o,s):String(o)===String(s)}))}function w(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&S(t.query,e.query)}function S(t,e){for(var n in e)if(!(n in t))return!1;return!0}function C(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function T(t){return t.replace(/\/\//g,"/")}var I=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=X,L=B,D=F,R=q,N=Z,j=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=j.exec(t))){var l=n[0],u=n[1],c=n.index;if(a+=t.slice(o,c),o=c+l.length,u)a+=u[1];else{var f=t[o],h=n[2],d=n[3],p=n[4],g=n[5],v=n[6],y=n[7];a&&(r.push(a),a="");var m=null!=h&&null!=f&&f!==h,b="+"===v||"*"===v,x="?"===v||"*"===v,_=n[2]||s,w=p||g;r.push({name:d||i++,prefix:h||"",delimiter:_,optional:x,repeat:b,partial:m,asterisk:!!y,pattern:w?W(w):y?".*":"[^"+H(_)+"]+?"})}}return o1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)S.on=_,S.attrs={href:l,"aria-current":m};else{var A=st(this.$slots.default);if(A){A.isStatic=!1;var k=A.data=i({},A.data);for(var O in k.on=k.on||{},k.on){var M=k.on[O];O in _&&(k.on[O]=Array.isArray(M)?M:[M])}for(var E in _)E in k.on?k.on[E].push(_[E]):k.on[E]=b;var T=A.data.attrs=i({},A.data.attrs);T.href=l,T["aria-current"]=m}else S.on=_}return t(this.tag,S,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=J(u.path,s.params,'named route "'+l+'"'),c(u,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function zt(t,e){return Wt(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Ut(e)+'" via a navigation guard.')}function Vt(t,e){var n=Wt(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function qt(t,e){return Wt(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ht(t,e){return Wt(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Wt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Gt=["params","query","hash"];function Ut(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Gt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function $t(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Kt(t,e){return $t(t)&&t._isRouter&&(null==e||t.type===e)}function Yt(t){return function(e,n,r){var i=!1,o=0,a=null;Zt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){i=!0,o++;var l,u=te((function(e){Jt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,o--,o<=0&&r()})),c=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=$t(t)?t:new Error(e),r(a))}));try{l=t(u,c)}catch(h){c(h)}if(l)if("function"===typeof l.then)l.then(u,c);else{var f=l.component;f&&"function"===typeof f.then&&f.then(u,c)}}})),i||r()}}function Zt(t,e){return Xt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Xt(t){return Array.prototype.concat.apply([],t)}var Qt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Jt(t){return t.__esModule||Qt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Rt&&n;r&&this.listeners.push(St());var i=function(){var n=t.current,i=he(t.base);t.current===y&&i===t._startLocation||t.transitionTo(i,(function(t){r&&Ct(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Nt(T(r.base+t.fullPath)),Ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){jt(T(r.base+t.fullPath)),Ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=T(this.base+this.current.fullPath);t?Nt(e):jt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(ee);function he(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,r){t.call(this,e,n),r&&pe(this.base)||ge()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Rt&&n;r&&this.listeners.push(St());var i=function(){var e=t.current;ge()&&t.transitionTo(ve(),(function(n){r&&Ct(t.router,n,e,!0),Rt||be(n.fullPath)}))},o=Rt?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){me(t.fullPath),Ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){be(t.fullPath),Ct(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?me(e):be(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(ee);function pe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(T(t+"/#"+e)),!0}function ge(){var t=ve();return"/"===t.charAt(0)||(be("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ye(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function me(t){Rt?Nt(ye(t)):window.location.hash=t}function be(t){Rt?jt(ye(t)):window.location.replace(ye(t))}var xe=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Kt(t,Ft.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Rt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new fe(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new xe(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};function Se(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ce(t,e,n){var r="hash"===n?"#"+e:e;return t?T(t+"/"+r):r}_e.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof fe||n instanceof de){var r=function(t){var r=n.current,i=e.options.scrollBehavior,o=Rt&&i;o&&"fullPath"in t&&Ct(e,t,r,!1)},i=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return Se(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return Se(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return Se(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},_e.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=Ce(a,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,we),_e.install=lt,_e.version="3.4.9",_e.isNavigationFailure=Kt,_e.NavigationFailureType=Ft,ut&&window.Vue&&window.Vue.use(_e),e["a"]=_e},"8d32":function(t,e,n){var r=n("cbe5"),i=r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*i+n,u*i+r),t.arc(n,r,i,o,a,!s)}});t.exports=i},"8deb":function(t,e,n){var r=n("3eba");n("5522"),n("a016"),n("1466");var i=n("98e7"),o=n("7f96"),a=n("870e"),s=n("d3f4"),l=n("7891f");r.registerVisual(i("radar")),r.registerVisual(o("radar","circle")),r.registerLayout(a),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;en},ie64:function(){return b.ie()&&h},firefox:function(){return m()||r},opera:function(){return m()||i},webkit:function(){return m()||o},safari:function(){return b.webkit()},chrome:function(){return m()||a},windows:function(){return m()||u},osx:function(){return m()||l},linux:function(){return m()||c},iphone:function(){return m()||d},mobile:function(){return m()||d||p||f||v},nativeApp:function(){return m()||g},android:function(){return m()||f},ipad:function(){return m()||p}};t.exports=b},"8ec5":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("2145"),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(t,e){var n=o.get(e);n&&i.merge(t,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;t.exports=s},"8ed2":function(t,e,n){n("48c7");var r=n("6cb7"),i=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=i},"8ee0":function(t,e,n){n("3f8e");var r=n("697e7"),i=r.registerPainter,o=n("dc20");i("svg",o)},"8f47":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.transition=l,e.injectNewCurve=_,e["default"]=void 0;var i=r(n("278c")),o=r(n("7037")),a=r(n("df83")),s="linear";function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!u.apply(void 0,arguments))return!1;try{var o=c(t),a=f(o,r);return i&&"number"!==typeof n?x(e,n,a):v(e,n,a)}catch(s){return console.warn("Transition parameter may be abnormal!"),[n]}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!t||!1===e||!1===n||!r)return console.error("transition: Missing Parameters!"),!1;if((0,o["default"])(e)!==(0,o["default"])(n))return console.error("transition: Inconsistent Status Types!"),!1;var i=(0,o["default"])(n);return"string"!==i&&"boolean"!==i&&t.length?(a["default"].has(t)||t instanceof Array||console.warn("transition: Transition curve not found, default curve will be used!"),!0):(console.error("transition: Unsupported Data Type of State!"),!1)}function c(t){var e="";return e=a["default"].has(t)?a["default"].get(t):t instanceof Array?t:a["default"].get(s),e}function f(t,e){var n=1/(e-1),r=new Array(e).fill(0).map((function(t,e){return e*n})),i=r.map((function(e){return h(t,e)}));return i}function h(t,e){var n=d(t,e),r=p(n,e);return g(n,r)}function d(t,e){var n=t.length-1,r="",i="";t.findIndex((function(o,a){if(a!==n){r=o,i=t[a+1];var s=r[0][0],l=i[0][0];return e>=s&&e=n.length||t===n[t.depth]){var o=v(i,g,t,e,x,r);u(t,o,n,r)}}))}else l=f(g,t),t.setVisual("color",l)}}function c(t,e,n){var r=o.extend({},e),i=n.designatedVisualItemStyle;return o.each(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var o=t.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}function f(t){var e=d(t,"color");if(e){var n=d(t,"colorAlpha"),r=d(t,"colorSaturation");return r&&(e=i.modifyHSL(e,null,null,r)),n&&(e=i.modifyAlpha(e,n)),e}}function h(t,e){return null!=e?i.modifyHSL(e,null,null,t):null}function d(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function p(t,e,n,i,o,a){if(a&&a.length){var s=g(e,"color")||null!=o.color&&"none"!==o.color&&(g(e,"colorAlpha")||g(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=n.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var f=e.get("colorMappingBy"),h={type:s.name,dataExtent:c,visual:s.range};"color"!==h.type||"index"!==f&&"id"!==f?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new r(h);return d.__drColorMappingBy=f,d}}}function g(t,e){var n=t.get(e);return a(n)&&n.length?{name:e,range:n}:null}function v(t,e,n,r,i,a){var s=o.extend({},e);if(i){var l=i.type,u="color"===l&&i.__drColorMappingBy,c="index"===u?r:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=i.mapValueToVisual(c)}return s}t.exports=l},"90d8":function(t,e,n){var r=n("c65b"),i=n("1a2d"),o=n("3a9b"),a=n("ad6d"),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},"90e3":function(t,e,n){var r=n("e330"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9141:function(t,e,n){var r=n("ef08").document;t.exports=r&&r.documentElement},9152:function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+f>=1?h/l:h*Math.pow(2,1-f),e*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(e*l-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;t[n+d]=255&a,d+=p,a/=256,u-=8);t[n+d-p]|=128*g}},"923d":function(t,e,n){var r=n("6d8b"),i=n("3842"),o=n("ee1a"),a=o.isDimensionStacked,s=r.indexOf;function l(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function u(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function c(t,e,n,r,o,s){var l=[],u=a(e,r),c=u?e.getCalculationInfo("stackResultDimension"):r,f=m(e,c,t),h=e.indicesOfNearest(c,f)[0];l[o]=e.get(n,h),l[s]=e.get(c,h);var d=e.get(r,h),p=i.getPrecision(e.get(r,h));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,d]}var f=r.curry,h={min:f(c,"min"),max:f(c,"max"),average:f(c,"average")};function d(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!u(e)&&!r.isArray(e.coord)&&i){var o=i.dimensions,a=p(e,n,i,t);if(e=r.clone(e),e.type&&h[e.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),c=s(o,a.valueAxis.dim),f=h[e.type](n,a.baseDataDim,a.valueDataDim,l,c);e.coord=f[0],e.value=f[1]}else{for(var d=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],g=0;g<2;g++)h[d[g]]&&(d[g]=m(n,n.mapDimension(o[g]),d[g]));e.coord=d}}return e}function p(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(g(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function g(t,e){var n=t.getData(),r=n.dimensions;e=n.getDimension(e);for(var i=0;i0&&(!S.multiline||S.multiline&&"\n"!==v(A,S.lastIndex-1))&&(T="(?: "+T+")",P=" "+P,I++),n=new RegExp("^(?:"+T+")",E)),w&&(n=new RegExp("^"+T+"$(?!\\s)",E)),x&&(i=S.lastIndex),s=r(p,M?n:S,P),M?s?(s.input=b(s.input,I),s[0]=b(s[0],I),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:x&&s&&(S.lastIndex=S.global?s.index+s[0].length:i),w&&s&&s.length>1&&r(d,s[0],n,(function(){for(l=1;l1)return t.map((function(t){return d(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(u[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(t){null!=l[t]&&null!=n.className||(l[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(o=e.Scope||(e.Scope={})),e.create=c,e.find=f,e.query=h,e.register=d},function(t,e,n){var r=n(51),i=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),"object"===typeof n){if("number"===typeof t["delete"]&&"number"===typeof n["delete"])return this.ops[e-1]={delete:n["delete"]+t["delete"]},this;if("number"===typeof n["delete"]&&null!=t.insert&&(e-=1,n=this.ops[e-1],"object"!==typeof n))return this.ops.unshift(t),this;if(i(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(r){var i=t(r)?e:n;i.push(r)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var n=[],r=a.iterator(this.ops),i=0;while(i0&&n.next(o.retain-s)}var u=new l(r);while(e.hasNext()||n.hasNext())if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),f=e.next(c),h=n.next(c);if("number"===typeof h.retain){var d={};"number"===typeof f.retain?d.retain=c:d.insert=f.insert;var p=a.attributes.compose(f.attributes,h.attributes,"number"===typeof f.retain);if(p&&(d.attributes=p),u.push(d),!n.hasNext()&&i(u.ops[u.ops.length-1],d)){var g=new l(e.rest());return u.concat(g).chop()}}else"number"===typeof h["delete"]&&"number"===typeof f.retain&&u.push(h)}return u.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,u=r(n[0],n[1],e),c=a.iterator(this.ops),f=a.iterator(t.ops);return u.forEach((function(t){var e=t[1].length;while(e>0){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),o.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var s=c.next(n),l=f.next(n);i(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}e-=n}})),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";var n=a.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),u="string"===typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&t(r,{},i)},l.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var n=a.iterator(this.ops),r=a.iterator(t.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),s=n.next(o),u=r.next(o);if(s["delete"])continue;u["delete"]?i.push(u):i.retain(o,a.attributes.transform(s.attributes,u.attributes,e))}else i.retain(a.length(n.next()));return i.chop()},l.prototype.transformPosition=function(t,e){e=!!e;var n=a.iterator(this.ops),r=0;while(n.hasNext()&&r<=t){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r0&&(t1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-_)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(c.default.Block);function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:C(t.parent,e))}S.blotName="block",S.tagName="P",S.defaultChild="break",S.allowedChildren=[p.default,c.default.Embed,v.default],e.bubbleFormats=C,e.BlockEmbed=w,e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(k(this,t),this.options=E(e,r),this.container=this.options.container,null==this.container)return O.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new f.default,this.scroll=g.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new y.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(t){t===f.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(f.default.events.SCROLL_UPDATE,(function(t,e){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;T.call(n,(function(){return n.editor.update(null,e,i)}),t)}));var o=this.clipboard.convert("
"+i+"


");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),_.default.level(t)}},{key:"find",value:function(t){return t.__quill||g.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&O.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var i=t.attrName||t.blotName;"string"===typeof i?this.register("formats/"+i,t,e):Object.keys(t).forEach((function(r){n.register(r,t[r],e)}))}else null==this.imports[t]||r||O.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?g.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),o(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=I(t,e,n),a=i(o,4);return t=a[0],e=a[1],n=a[3],T.call(this,(function(){return r.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;return T.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(g.default.query(t,g.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,A({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,A({},t,e))}return n.setSelection(r,f.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(t,e,n,r,o){var a=this,s=void 0,l=I(t,e,n,r,o),u=i(l,4);return t=u[0],e=u[1],s=u[2],o=u[3],T.call(this,(function(){return a.editor.formatLine(t,e,s)}),o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var a=this,s=void 0,l=I(t,e,n,r,o),u=i(l,4);return t=u[0],e=u[1],s=u[2],o=u[3],T.call(this,(function(){return a.editor.formatText(t,e,s)}),o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=I(t,e),r=i(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=I(t,e),r=i(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return T.call(this,(function(){return i.editor.insertEmbed(e,n,r)}),o,e)}},{key:"insertText",value:function(t,e,n,r,o){var a=this,s=void 0,l=I(t,0,n,r,o),u=i(l,4);return t=u[0],s=u[2],o=u[3],T.call(this,(function(){return a.editor.insertText(t,e,s)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=I(t,e,n),a=i(o,4);return t=a[0],e=a[1],n=a[3],T.call(this,(function(){return r.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return T.call(this,(function(){t=new s.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),i=e.editor.applyDelta(t),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),i.delete(1));var a=r.compose(i);return a}),n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=I(e,n,r),a=i(o,4);e=a[0],n=a[1],r=a[3],this.selection.setRange(new v.Range(e,n),r),r!==f.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API,n=(new s.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return T.call(this,(function(){return t=new s.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function E(t,e){if(e=(0,b.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==M.DEFAULTS.theme){if(e.theme=M.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=S.default;var n=(0,b.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(e.modules)),i=r.reduce((function(t,e){var n=M.import("modules/"+e);return null==n?O.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,b.default)(!0,{},M.DEFAULTS,{modules:i},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function T(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===f.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=P(i,a,e):0!==r&&(i=P(i,n,r,e)),this.setSelection(i,f.default.sources.SILENT)),a.length()>0){var l,u,c=[f.default.events.TEXT_CHANGE,a,o,e];if((l=this.emitter).emit.apply(l,[f.default.events.EDITOR_CHANGE].concat(c)),e!==f.default.sources.SILENT)(u=this.emitter).emit.apply(u,c)}return a}function I(t,e,n,i,o){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(o=i,i=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(o=i,i=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,o=i):"string"===typeof n&&(null!=i?a[n]=i:o=n),o=o||f.default.sources.API,[t,e,a,o]}function P(t,e,n,r){if(null==t)return null;var o=void 0,a=void 0;if(e instanceof s.default){var l=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,r!==f.default.sources.USER)})),u=i(l,2);o=u[0],a=u[1]}else{var c=[t.index,t.index+t.length].map((function(t){return t=0?t+n:Math.max(e,t+n)})),h=i(c,2);o=h[0],a=h[1]}return new v.Range(o,a-o)}M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=f.default.events,M.sources=f.default.sources,M.version="1.3.7",M.imports={delta:s.default,parchment:g.default,"core/module":d.default,"core/theme":S.default},e.expandConfig=E,e.overload=I,e.default=M},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),i=e.order.indexOf(n);return r>=0||i>=0?r-i:t===n?0:t1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};i.DEFAULTS={},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(t){if(r.indexOf(t)<=r.indexOf(i)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),a=1;a0&&"number"!==typeof t[0]))}function u(t,e,n){var u,c;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=r.call(t),e=r.call(e),a(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(u=0;u=0;u--)if(f[u]!=h[u])return!1;for(u=f.length-1;u>=0;u--)if(c=f[u],!a(t[c],e[c],n))return!1;return typeof t===typeof e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var n=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n=t+n)){var a=this.newlineIndex(t,!0)+1,s=o-a+1,l=this.isolate(a,s),c=l.next;l.format(r,i),c instanceof e&&c.formatAt(0,t-a+n-s,r,i)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var i=this.descendant(g.default,t),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(f.default);_.blotName="code-block",_.tagName="PRE",_.TAB=" ",e.Code=x,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n=o&&!c.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,c);var h=e.scroll.line(t),d=i(h,2),p=d[0],g=d[1],m=(0,A.default)({},(0,v.bubbleFormats)(p));if(p instanceof y.default){var b=p.descendant(f.default.Leaf,g),x=i(b,1),_=x[0];m=(0,A.default)(m,(0,v.bubbleFormats)(_))}l=u.default.attributes.diff(m,l)||{}}else if("object"===r(a.insert)){var w=Object.keys(a.insert)[0];if(null==w)return t;e.scroll.insertAt(t,w,a.insert[w])}o+=s}return Object.keys(l).forEach((function(n){e.scroll.formatAt(t,s,n,l[n])})),t+s}),0),t.reduce((function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new s.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(t,Math.max(e,1)),a=e;o.forEach((function(e){var o=e.length();if(e instanceof d.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,i,r[i])}else e.format(i,r[i]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(t).retain(e,(0,_.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(t,e,i,r[i])})),this.update((new s.default).retain(t).retain(e,(0,_.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new s.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach((function(t){var e=i(t,1),o=e[0];o instanceof y.default?n.push(o):o instanceof f.default.Leaf&&r.push(o)})):(n=this.scroll.lines(t,e),r=this.scroll.descendants(f.default.Leaf,t,e));var o=[n,r].map((function(t){if(0===t.length)return{};var e=(0,v.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var n=t.shift();if(null==n)return e;e=I((0,v.bubbleFormats)(n),e)}return e}));return A.default.apply(A.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new s.default).retain(t).insert(O({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach((function(i){n.scroll.formatAt(t,e.length,i,r[i])})),this.update((new s.default).retain(t).insert(e,(0,_.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===y.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof b.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=i(r,2),a=o[0],l=o[1],u=0,c=new s.default;null!=a&&(u=a instanceof d.default?a.newlineIndex(l)-l+1:a.length()-l,c=a.delta().slice(l,l+u-1).insert("\n"));var f=this.getContents(t,e+u),h=f.diff((new s.default).insert(n).concat(c)),p=(new s.default).retain(t).concat(h);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(E)&&f.default.find(e[0].target)){var i=f.default.find(e[0].target),o=(0,v.bubbleFormats)(i),a=i.offset(this.scroll),l=e[0].oldValue.replace(g.default.CONTENTS,""),u=(new s.default).insert(l),c=(new s.default).insert(i.value()),h=(new s.default).retain(a).concat(u.diff(c,n));t=h.reduce((function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)}),new s.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,S.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();function I(t,e){return Object.keys(e).reduce((function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n}),{})}function P(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,_.default)(e.attributes);return delete n["image"],t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,_.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)}),new s.default)}e.default=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;y(this,t),this.index=e,this.length=n},x=function(){function t(e,n){var r=this;y(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new b(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,h.default.sources.USER),1)})),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(t,e){t===h.default.events.TEXT_CHANGE&&e.length()>0&&r.update(h.default.sources.SILENT)})),this.emitter.on(h.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(h.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(h.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,i=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(i,o,a,s)}})),this.update(h.default.sources.SILENT)}return i(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(h.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var i=void 0,o=this.scroll.leaf(t),a=r(o,2),s=a[0],l=a[1];if(null==s)return null;var u=s.position(l,!0),c=r(u,2);i=c[0],l=c[1];var f=document.createRange();if(e>0){f.setStart(i,l);var h=this.scroll.leaf(t+e),d=r(h,2);if(s=d[0],l=d[1],null==s)return null;var p=s.position(l,!0),g=r(p,2);return i=g[0],l=g[1],f.setEnd(i,l),f.getBoundingClientRect()}var v="left",y=void 0;return i instanceof Text?(l0&&(v="right")),{bottom:y.top+y.height,height:y.height,left:y[v],right:y[v],top:y.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var i=n.map((function(t){var n=r(t,2),i=n[0],o=n[1],s=a.default.find(i,!0),l=s.offset(e.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(i,o)})),o=Math.min(Math.max.apply(Math,v(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(v(i)));return new b(s,o-s)}},{key:"normalizeNative",value:function(t){if(!_(this.root,t.startContainer)||!t.collapsed&&!_(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,n=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],i=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var a=void 0,s=e.scroll.leaf(t),l=r(s,2),u=l[0],c=l[1],f=u.position(c,0!==n),h=r(f,2);a=h[0],c=h[1],i.push(a,c)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,i)),a=r(o,1),s=a[0],l=s;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,i)),c=r(u,1);l=c[0]}if(null!=s&&null!=l){var f=t.getBoundingClientRect();n.topf.bottom&&(t.scrollTop+=n.bottom-f.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,r),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"===typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,v(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,e=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],a=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(e,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var u,f=[h.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(e),t];if((s=this.emitter).emit.apply(s,[h.default.events.EDITOR_CHANGE].concat(f)),t!==h.default.sources.SILENT)(u=this.emitter).emit.apply(u,f)}}}]),t}();function _(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=b,e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=o.Scope.INLINE_BLOT,e}(i.default);e.default=a},function(t,e,n){var r=n(11),i=n(3),o={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=i(!0,{},e);for(var o in n||(r=Object.keys(r).reduce((function(t,e){return null!=r[e]&&(t[e]=r[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,i){return r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var r=Object.keys(e).reduce((function(n,r){return void 0===t[r]&&(n[r]=e[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=o.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var i={};return e.attributes&&(i.attributes=e.attributes),"number"===typeof e.retain?i.retain=t:"string"===typeof e.insert?i.insert=e.insert.substr(n,t):i.insert=e.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=o},function(t,n){var r=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,r,i;try{n=Map}catch(f){n=function(){}}try{r=Set}catch(f){r=function(){}}try{i=Promise}catch(f){i=function(){}}function o(a,s,l,u,f){"object"===typeof s&&(l=s.depth,u=s.prototype,f=s.includeNonEnumerable,s=s.circular);var h=[],d=[],p="undefined"!=typeof e;function g(a,l){if(null===a)return null;if(0===l)return a;var v,y;if("object"!=typeof a)return a;if(t(a,n))v=new n;else if(t(a,r))v=new r;else if(t(a,i))v=new i((function(t,e){a.then((function(e){t(g(e,l-1))}),(function(t){e(g(t,l-1))}))}));else if(o.__isArray(a))v=[];else if(o.__isRegExp(a))v=new RegExp(a.source,c(a)),a.lastIndex&&(v.lastIndex=a.lastIndex);else if(o.__isDate(a))v=new Date(a.getTime());else{if(p&&e.isBuffer(a))return v=e.allocUnsafe?e.allocUnsafe(a.length):new e(a.length),a.copy(v),v;t(a,Error)?v=Object.create(a):"undefined"==typeof u?(y=Object.getPrototypeOf(a),v=Object.create(y)):(v=Object.create(u),y=u)}if(s){var m=h.indexOf(a);if(-1!=m)return d[m];h.push(a),d.push(v)}for(var b in t(a,n)&&a.forEach((function(t,e){var n=g(e,l-1),r=g(t,l-1);v.set(n,r)})),t(a,r)&&a.forEach((function(t){var e=g(t,l-1);v.add(e)})),a){var x;y&&(x=Object.getOwnPropertyDescriptor(y,b)),x&&null==x.set||(v[b]=g(a[b],l-1))}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(a);for(b=0;b<_.length;b++){var w=_[b],S=Object.getOwnPropertyDescriptor(a,w);(!S||S.enumerable||f)&&(v[w]=g(a[w],l-1),S.enumerable||Object.defineProperty(v,w,{enumerable:!1}))}}if(f){var C=Object.getOwnPropertyNames(a);for(b=0;b0){if(s instanceof c.BlockEmbed||h instanceof c.BlockEmbed)return void this.optimize();if(s instanceof g.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===h))return void this.optimize()}else if(h instanceof g.default){var v=h.newlineIndex(0);v>-1&&h.split(v+1)}var y=h.children.head instanceof d.default?null:h.children.head;s.moveChildren(h,y),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,i),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==s.default.query(n,s.default.Scope.BLOCK)){var i=s.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var a=s.default.create(n,r);this.appendChild(a)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===s.default.Scope.INLINE_BLOT){var r=s.default.create(this.statics.defaultChild);r.appendChild(t),t=r}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(w,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,r){var i=[],o=r;return e.children.forEachAt(n,r,(function(e,n,r){w(e)?i.push(e):e instanceof s.default.Container&&(i=i.concat(t(e,n,o))),o-=r})),i};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=u.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,t)}}}]),e}(s.default.Scroll);S.blotName="scroll",S.className="ql-editor",S.tagName="DIV",S.defaultChild="block",S.allowedChildren=[f.default,c.BlockEmbed,y.default],e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=F(t);if(null==r||null==r.key)return E.warn("Attempted to add invalid keyboard binding",r);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),r=(0,f.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(t.bindings[o]||[]).filter((function(t){return e.match(n,t)}));if(0!==a.length){var s=t.quill.getSelection();if(null!=s&&t.quill.hasFocus()){var l=t.quill.getLine(s.index),c=i(l,2),f=c[0],h=c[1],d=t.quill.getLeaf(s.index),p=i(d,2),g=p[0],v=p[1],m=0===s.length?[g,v]:t.quill.getLeaf(s.index+s.length),b=i(m,2),x=b[0],_=b[1],w=g instanceof y.default.Text?g.value().slice(0,v):"",S=x instanceof y.default.Text?x.value().slice(_):"",C={collapsed:0===s.length,empty:0===s.length&&f.length()<=1,format:t.quill.getFormat(s),offset:h,prefix:w,suffix:S},A=a.some((function(e){if(null!=e.collapsed&&e.collapsed!==C.collapsed)return!1;if(null!=e.empty&&e.empty!==C.empty)return!1;if(null!=e.offset&&e.offset!==C.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==C.format[t]})))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=C.format[t]:!1===e.format[t]?null==C.format[t]:(0,u.default)(e.format[t],C.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(C.prefix))&&(!(null!=e.suffix&&!e.suffix.test(C.suffix))&&!0!==e.handler.call(t,s,C))}));A&&n.preventDefault()}}}}))}}]),e}(S.default);function P(t,e){var n,r=t===I.keys.LEFT?"prefix":"suffix";return n={key:t,shiftKey:e,altKey:null},A(n,r,/^$/),A(n,"handler",(function(n){var r=n.index;t===I.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof y.default.Embed)||(t===I.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index-1,b.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index+n.length+1,b.default.sources.USER),!1)})),n}function L(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=i(n,1),o=r[0],a={};if(0===e.offset){var s=this.quill.getLine(t.index-1),l=i(s,1),u=l[0];if(null!=u&&u.length()>1){var c=o.formats(),f=this.quill.getFormat(t.index-1,1);a=g.default.attributes.diff(c,f)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-h,h,b.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-h,h,a,b.default.sources.USER),this.quill.focus()}}function D(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(t.index),s=i(a,1),l=s[0];if(e.offset>=l.length()-1){var u=this.quill.getLine(t.index+1),c=i(u,1),f=c[0];if(f){var h=l.formats(),d=this.quill.getFormat(t.index,1);r=g.default.attributes.diff(h,d)||{},o=f.length()}}this.quill.deleteText(t.index,n,b.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,b.default.sources.USER)}}function R(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),i=e[e.length-1].formats();n=g.default.attributes.diff(i,r)||{}}this.quill.deleteText(t,b.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,b.default.sources.USER),this.quill.setSelection(t.index,b.default.sources.SILENT),this.quill.focus()}function N(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce((function(t,n){return y.default.query(n,y.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",r,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],b.default.sources.USER))}))}function j(t){return{key:I.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=y.default.query("code-block"),r=e.index,o=e.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),f=l.newlineIndex(u,!0)+1,h=l.newlineIndex(c+u+o),d=l.domNode.textContent.slice(f,h).split("\n");u=0,d.forEach((function(e,i){t?(l.insertAt(f+u,n.TAB),u+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(f+u,n.TAB.length),u-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),u+=e.length+1})),this.quill.update(b.default.sources.USER),this.quill.setSelection(r,o,b.default.sources.SILENT)}}}}function B(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],b.default.sources.USER)}}}function F(t){if("string"===typeof t||"number"===typeof t)return F({key:t});if("object"===("undefined"===typeof t?"undefined":r(t))&&(t=(0,s.default)(t,!1)),"string"===typeof t.key)if(null!=I.keys[t.key.toUpperCase()])t.key=I.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[T]=t.shortKey,delete t.shortKey),t}I.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},I.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:I.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",b.default.sources.USER)}},outdent:{key:I.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",b.default.sources.USER)}},"outdent backspace":{key:I.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",b.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,b.default.sources.USER)}},"indent code-block":j(!0),"outdent code-block":j(!1),"remove tab":{key:I.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,b.default.sources.USER)}},tab:{key:I.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new d.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,b.default.sources.SILENT)}},"list empty enter":{key:I.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,b.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,b.default.sources.USER)}},"checklist enter":{key:I.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],a=(0,f.default)({},r.formats(),{list:"checked"}),s=(new d.default).retain(t.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:I.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=i(n,2),o=r[0],a=r[1],s=(new d.default).retain(t.index).insert("\n",e.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(t.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=i(r,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",b.default.sources.USER),this.quill.history.cutoff();var u=(new d.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,b.default.sources.SILENT)}},"code exit":{key:I.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],a=(new d.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,b.default.sources.USER)}},"embed left":P(I.keys.LEFT,!1),"embed left shift":P(I.keys.LEFT,!0),"embed right":P(I.keys.RIGHT,!1),"embed right shift":P(I.keys.RIGHT,!0)}},e.default=I,e.SHORTKEY=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function t(t,e){for(var n=0;n-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=E(r),o=n(5),a=E(o),s=n(4),l=E(s),u=n(16),c=E(u),f=n(25),h=E(f),d=n(24),p=E(d),g=n(35),v=E(g),y=n(6),m=E(y),b=n(22),x=E(b),_=n(7),w=E(_),S=n(55),C=E(S),A=n(42),k=E(A),O=n(23),M=E(O);function E(t){return t&&t.__esModule?t:{default:t}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":c.default,"blots/container":h.default,"blots/cursor":p.default,"blots/embed":v.default,"blots/inline":m.default,"blots/scroll":x.default,"blots/text":w.default,"modules/clipboard":C.default,"modules/history":k.default,"modules/keyboard":M.default}),i.default.register(l.default,c.default,p.default,m.default,x.default,w.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){var n=this.isolate(t,e);n.remove()},t.prototype.formatAt=function(t,e,n,i){var o=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},t.prototype.insertAt=function(t,e,n){var i=null==n?r.create("text",e):r.create(e,n),o=this.split(t);this.parent.insertBefore(i,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(12);function o(t,e){var n=t.getAttribute("class")||"";return n.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=o(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=o(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(12);function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;nr&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),t=i.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(u.default);function g(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=o.default.query(t,o.default.Scope.BLOCK)})))}function v(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),n=t.length()-e;return g(t)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=p,e.getLastChangeIndex=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,c.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=D(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",c.default.sources.USER),this.quill.setSelection(r+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(w.default);function D(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function R(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)}))}e.BaseTooltip=L,e.default=P},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,n=this.iterator();while(e=n())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,n=this.head;while(null!=n){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(ts?n(r,t-s,Math.min(e,s+u-t)):n(r,0,Math.min(u,t+e-s)),s+=u}}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){var n,r=this.iterator();while(n=r())e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,i){this.update(),t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)e.push(a.pop());for(var l=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[o.DATA_KEY].mutations&&(t.domNode[o.DATA_KEY].mutations=[]),e&&l(t.parent))},u=function(t){null!=t.domNode[o.DATA_KEY]&&null!=t.domNode[o.DATA_KEY].mutations&&(t instanceof i.default&&t.children.forEach(u),t.optimize(n))},c=e,f=0;c.length>0;f+=1){if(f>=s)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(t){var e=o.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(l(o.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=o.find(t,!1);l(e,!1),e instanceof i.default&&e.children.forEach((function(t){l(t,!1)}))}))):"attributes"===t.type&&l(e.prev)),l(e))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),a=c.slice();while(a.length>0)e.push(a.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=o.find(t.target,!0);return null==e?null:null==e.domNode[o.DATA_KEY].mutations?(e.domNode[o.DATA_KEY].mutations=[t],e):(e.domNode[o.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==r&&null!=t.domNode[o.DATA_KEY]&&t.update(t.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="DIV",e}(i.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),o=n(1);function a(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach((function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var a=this.isolate(e,n);a.format(r,i)}else t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&a(r,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=o.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),o=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=o.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var i=this.split(e),a=o.create(n,r);i.parent.insertBefore(a,i)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="P",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(19),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,i){0===e&&n===this.length()?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(i.default);e.default=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(19),o=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=o.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=o.Scope.INLINE_BLOT,e}(i.default);e.default=a},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:i.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;oe.length?t:e,u=t.length>e.length?e:t,c=l.indexOf(u);if(-1!=c)return a=[[r,l.substring(0,c)],[i,u],[r,l.substring(c+u.length)]],t.length>e.length&&(a[0][0]=a[2][0]=n),a;if(1==u.length)return[[n,t],[r,e]];var h=f(t,e);if(h){var d=h[0],p=h[1],g=h[2],v=h[3],y=h[4],m=o(d,g),b=o(p,v);return m.concat([[i,y]],b)}return s(t,e)}function s(t,e){for(var i=t.length,o=e.length,a=Math.ceil((i+o)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),h=0;hi)v+=2;else if(w>o)g+=2;else if(p){var S=s+d-x;if(S>=0&&S=C)return l(t,e,O,w)}}}for(var A=-b+y;A<=b-m;A+=2){S=s+A;C=A==-b||A!=b&&f[S-1]i)m+=2;else if(k>o)y+=2;else if(!p){_=s+d-A;if(_>=0&&_=C)return l(t,e,O,w)}}}}return[[n,t],[r,e]]}function l(t,e,n,r){var i=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),l=e.substring(r),u=o(i,a),c=o(s,l);return u.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var n=0,r=Math.min(t.length,e.length),i=r,o=0;while(ne.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length=t.length?[r,i,o,a,f]:null}var o,a,s,l,f,h=i(n,r,Math.ceil(n.length/4)),d=i(n,r,Math.ceil(n.length/2));if(!h&&!d)return null;o=d?h&&h[4].length>d[4].length?h:d:h,t.length>e.length?(a=o[0],s=o[1],l=o[2],f=o[3]):(l=o[0],f=o[1],a=o[2],s=o[3]);var p=o[4];return[a,s,l,f,p]}function h(t){t.push([i,""]);var e,o=0,a=0,s=0,l="",f="";while(o1?(0!==a&&0!==s&&(e=u(f,l),0!==e&&(o-a-s>0&&t[o-a-s-1][0]==i?t[o-a-s-1][1]+=f.substring(0,e):(t.splice(0,0,[i,f.substring(0,e)]),o++),f=f.substring(e),l=l.substring(e)),e=c(f,l),0!==e&&(t[o][1]=f.substring(f.length-e)+t[o][1],f=f.substring(0,f.length-e),l=l.substring(0,l.length-e))),0===a?t.splice(o-s,a+s,[r,f]):0===s?t.splice(o-a,a+s,[n,l]):t.splice(o-a-s,a+s,[n,l],[r,f]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&t[o-1][0]==i?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,s=0,a=0,l="",f="";break}""===t[t.length-1][1]&&t.pop();var d=!1;o=1;while(o0&&r.splice(o+2,0,[s[0],l]),y(r,o,3)}return t}function v(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},a=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},s=2;s0&&l.push(t[s]);return l}function y(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1\r?\n +\<"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[_.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(n,O({},_.default.blotName,e[_.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=V(this.container,a,s);return F(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),I.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,d.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),d.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new u.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(d.default.sources.SILENT),setTimeout((function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,d.default.sources.USER),e.quill.setSelection(r.length()-n.length,d.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=i,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[P]=t[P]||[],t[P].push(s)}));break}})),[e,n]}}]),e}(y.default);function j(t,e,n){return"object"===("undefined"===typeof e?"undefined":r(e))?Object.keys(e).reduce((function(t,n){return j(t,n,e[n])}),t):t.reduce((function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,s.default)({},O({},e,n),r.attributes))}),new u.default)}function B(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function F(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length-1}function V(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new u.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(r,i){var o=V(i,e,n);return i.nodeType===t.ELEMENT_NODE&&(o=e.reduce((function(t,e){return e(i,t)}),o),o=(i[P]||[]).reduce((function(t,e){return e(i,t)}),o)),r.concat(o)}),new u.default):new u.default}function q(t,e,n){return j(n,t,!0)}function H(t,e){var n=f.default.Attributor.Attribute.keys(t),r=f.default.Attributor.Class.keys(t),i=f.default.Attributor.Style.keys(t),o={};return n.concat(r).concat(i).forEach((function(e){var n=f.default.query(e,f.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(n=D[e],null==n||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),n=R[e],null==n||n.attrName!==e&&n.keyName!==e||(n=R[e],o[n.attrName]=n.value(t)||void 0))})),Object.keys(o).length>0&&(e=j(e,o)),e}function W(t,e){var n=f.default.query(t);if(null==n)return e;if(n.prototype instanceof f.default.Embed){var r={},i=n.value(t);null!=i&&(r[n.blotName]=i,e=(new u.default).insert(r,n.formats(t)))}else"function"===typeof n.formats&&(e=j(e,n.blotName,n.formats(t)));return e}function G(t,e){return F(e,"\n")||e.insert("\n"),e}function U(){return new u.default}function $(t,e){var n=f.default.query(t);if(null==n||"list-item"!==n.blotName||!F(e,"\n"))return e;var r=-1,i=t.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(f.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:r}))}function K(t,e){return F(e,"\n")||(z(t)||e.length()>0&&t.nextSibling&&z(t.nextSibling))&&e.insert("\n"),e}function Y(t,e){if(z(t)&&null!=t.nextElementSibling&&!F(e,"\n\n")){var n=t.offsetHeight+parseFloat(B(t).marginTop)+parseFloat(B(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function Z(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===B(t).fontStyle&&(n.italic=!0),r.fontWeight&&(B(t).fontWeight.startsWith("bold")||parseInt(B(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=j(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new u.default).insert("\t").concat(e)),e}function X(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!B(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&z(t.parentNode)||null!=t.previousSibling&&z(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&z(t.parentNode)||null!=t.nextSibling&&z(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}N.DEFAULTS={matchers:[],matchVisual:!0},e.default=N,e.matchAttributor=H,e.matchBlot=W,e.matchNewline=K,e.matchSpacing=Y,e.matchText=X},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n '},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;nr.right&&(o=r.right-i.right,this.root.style.left=e+o+"px"),i.leftr.bottom){var a=i.bottom-i.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function t(t,e){for(var n=0;n
','','',''].join(""),e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29),i=nt(r),o=n(36),a=n(38),s=n(64),l=n(65),u=nt(l),c=n(66),f=nt(c),h=n(67),d=nt(h),p=n(37),g=n(26),v=n(39),y=n(40),m=n(56),b=nt(m),x=n(68),_=nt(x),w=n(27),S=nt(w),C=n(69),A=nt(C),k=n(70),O=nt(k),M=n(71),E=nt(M),T=n(72),I=nt(T),P=n(73),L=nt(P),D=n(13),R=nt(D),N=n(74),j=nt(N),B=n(75),F=nt(B),z=n(57),V=nt(z),q=n(41),H=nt(q),W=n(28),G=nt(W),U=n(59),$=nt(U),K=n(60),Y=nt(K),Z=n(61),X=nt(Z),Q=n(108),J=nt(Q),tt=n(62),et=nt(tt);function nt(t){return t&&t.__esModule?t:{default:t}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":g.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":v.FontClass,"attributors/class/size":y.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":g.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":v.FontStyle,"attributors/style/size":y.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":g.ColorStyle,"formats/font":v.FontClass,"formats/size":y.SizeClass,"formats/blockquote":u.default,"formats/code-block":R.default,"formats/header":f.default,"formats/list":d.default,"formats/bold":b.default,"formats/code":D.Code,"formats/italic":_.default,"formats/link":S.default,"formats/script":A.default,"formats/strike":O.default,"formats/underline":E.default,"formats/image":I.default,"formats/video":L.default,"formats/list/item":h.ListItem,"modules/formula":j.default,"modules/syntax":F.default,"modules/toolbar":V.default,"themes/bubble":J.default,"themes/snow":et.default,"ui/icons":H.default,"ui/picker":G.default,"ui/icon-picker":Y.default,"ui/color-picker":$.default,"ui/tooltip":X.default},!0),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var r=function(){function t(t,e){for(var n=0;n0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return h({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(c.default);y.blotName="list",y.scope=a.default.Scope.BLOCK_BLOT,y.tagName=["OL","UL"],y.defaultChild="list-item",y.allowedChildren=[v],e.ListItem=v,e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(56),i=o(r);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(i.default);u.blotName="italic",u.tagName=["EM","I"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,s.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.default.Embed);d.blotName="image",d.tagName="IMG",e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return s.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(o.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(h.default);y.className="ql-syntax";var m=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),b=function(t){function e(t,n){p(this,e);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return v(e,t),r(e,null,[{key:"register",value:function(){l.default.register(m,!0),l.default.register(y,!0)}}]),r(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(y).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=e&&this.quill.setSelection(e,l.default.sources.SILENT)}}}]),e}(c.default);b.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=y,e.CodeToken=m,e.default=b},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function t(t,e){for(var n=0;n0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(e.index,e.length);if(1===o.length)r.position(r.quill.getBounds(e));else{var a=o[o.length-1],s=r.quill.getIndex(a),u=Math.min(a.length()-1,e.index+e.length-s),c=r.quill.getBounds(new f.Range(s,u));r.position(c)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return y(e,t),i(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),e}(u.BaseTooltip);x.TEMPLATE=['','
','','',"
"].join(""),e.BubbleTooltip=x,e.default=b},function(t,e,n){t.exports=n(63)}])["default"]}))}).call(this,n("1c35").Buffer)},"933b":function(t,e,n){var r=n("b12f"),i=r.extend({type:"timeline"});t.exports=i},9390:function(t,e,n){n("d090"),n("83ba"),n("ee66")},"93bf":function(t,e,n){ /*! * screenfull * v5.0.2 - 2020-02-13 * (c) Sindre Sorhus; MIT License */ (function(){"use strict";var e="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=t.exports,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};ro&&(c=s.interval=o);var f=s.intervalPrecision=a(c),h=s.niceTickExtent=[i(Math.ceil(t[0]/c)*c,f),i(Math.floor(t[1]/c)*c,f)];return l(h,t),s}function a(t){return r.getPrecisionSafe(t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=o,e.getIntervalPrecision=a,e.fixExtent=l},"946b":function(t,e,n){t.exports=n("faa1").EventEmitter},"94b1":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("9d57"),a=o.layout,s=o.largeLayout;n("5aa9"),n("17b8"),n("67cc"),n("01ed"),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,i.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),r.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94ca":function(t,e,n){var r=n("d039"),i=n("1626"),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},"94e4":function(t,e,n){var r=n("401b"),i=n("53f3"),o=i.getSymbolSize,a=i.getNodeGlobalScale,s=n("6d8b"),l=n("0c37"),u=l.getCurvenessForEdge,c=Math.PI,f=[];function h(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),o=t.getData(),a=o.graph,l=i.width/2+i.x,c=i.height/2+i.y,f=Math.min(i.width,i.height)/2,h=o.count();o.setLayout({cx:l,cy:c}),h&&(d[e](t,n,a,o,f,l,c,h),a.eachEdge((function(e,n){var i,o=s.retrieve3(e.getModel().get("lineStyle.curveness"),u(e,t,n),0),a=r.clone(e.node1.getLayout()),f=r.clone(e.node2.getLayout()),h=(a[0]+f[0])/2,d=(a[1]+f[1])/2;+o&&(o*=3,i=[l*o+h*(1-o),c*o+d*(1-o)]),e.setLayout([a,f,i])})))}}var d={value:function(t,e,n,r,i,o,a,s){var l=0,u=r.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;l+=n,t.setLayout([i*Math.cos(l)+o,i*Math.sin(l)+a]),l+=n}))},symbolSize:function(t,e,n,r,i,s,l,u){var h=0;f.length=u;var d=a(t);n.eachNode((function(t){var e=o(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=d;var n=Math.asin(e/2/i);isNaN(n)&&(n=c/2),f[t.dataIndex]=n,h+=2*n}));var p=(2*c-h)/u/2,g=0;n.eachNode((function(t){var e=p+f[t.dataIndex];g+=e,t.setLayout([i*Math.cos(g)+s,i*Math.sin(g)+l]),g+=e}))}};e.circularLayout=h},9523:function(t,e,n){var r=n("a395");function i(t,e,n){return e=r(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"95a8":function(t,e,n){var r=n("3eba");n("1953"),n("307d"),r.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))},9619:function(t,e,n){var r=n("597f"),i=n("0e15");t.exports={throttle:r,debounce:i}},"966d":function(t,e,n){"use strict";(function(e){function n(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:o=new Array(s-1),a=0;while(ae+s&&a>r+s||at+s&&o>n+s||o=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},9876:function(t,e,n){var r=n("03d6"),i=n("9742");t.exports=Object.keys||function(t){return r(t,i)}},9886:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CRender",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(e,"extendNewGraph",{enumerable:!0,get:function(){return o.extendNewGraph}}),e["default"]=void 0;var i=r(n("85c4")),o=n("b06d"),a=i["default"];e["default"]=a},"98b7":function(t,e){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"98e7":function(t,e,n){var r=n("6d8b"),i=r.createHashMap;function o(t){return{getTargetSeries:function(e){var n={},r=i();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,r.set(t.uid,t)})),r},reset:function(t,e){var n=t.getRawData(),r={},i=t.getData();i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(e){var o,a=r[e],s=null!=a&&i.getItemVisual(a,"color",!0),l=null!=a&&i.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(e)),!s){var u=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&i.setItemVisual(a,"color",u)}if(!l){var c=o.get("itemStyle.borderColor");null!=a&&i.setItemVisual(a,"borderColor",c)}}))}}}t.exports=o},9911:function(t,e,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("link")},{link:function(t){return i(this,"a","href",t)}})},"998c":function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("e86a"),a=Math.PI;function s(t,e){e=e||{},r.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new i.Group,s=new i.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(s);var l=e.fontSize+" sans-serif",u=new i.Rect({style:{fill:"none",text:e.text,font:l,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(n.add(u),e.showSpinner){var c=new i.Arc({shape:{startAngle:-a/2,endAngle:-a/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*a/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut"),n.add(c)}return n.resize=function(){var n=o.getWidth(e.text,l),r=e.showSpinner?e.spinnerRadius:0,i=(t.getWidth()-2*r-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner?0:n/2),a=t.getHeight()/2;e.showSpinner&&c.setShape({cx:i,cy:a}),u.setShape({x:i-r,y:a-r,width:2*r,height:2*r}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}t.exports=s},"99af":function(t,e,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("07fa"),u=n("3511"),c=n("8418"),f=n("65f0"),h=n("1dde"),d=n("b622"),p=n("2d00"),g=d("isConcatSpreadable"),v=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),y=h("concat"),m=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)},b=!v||!y;r({target:"Array",proto:!0,arity:1,forced:b},{concat:function(t){var e,n,r,i,o,a=s(this),h=f(a,0),d=0;for(e=-1,r=arguments.length;e2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}function s(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function l(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function u(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i;if("string"===typeof e&&s(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be",l(t," argument"))i="The ".concat(t," ").concat(r," ").concat(a(e,"type"));else{var o=u(t,".")?"property":"argument";i='The "'.concat(t,'" ').concat(o," ").concat(r," ").concat(a(e,"type"))}return i+=". Received type ".concat(typeof n),i}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},"9c0c":function(t,e,n){var r=n("1609");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c0e":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"9c2c":function(t,e,n){var r=n("401b"),i=r.min,o=r.max,a=r.scale,s=r.distance,l=r.add,u=r.clone,c=r.sub;function f(t,e,n,r){var f,h,d,p,g=[],v=[],y=[],m=[];if(r){d=[1/0,1/0],p=[-1/0,-1/0];for(var b=0,x=t.length;b=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*es[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:r,dataExtent:s}}function C(t,e,n){for(var r,i=0,o=1/0,a=0,s=t.length;ai&&(i=r));var l=t.area*t.area,u=e*e*n;return l?c(u*i/l,l/(u*o)):1/0}function A(t,e,n,r,i){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(i||h>n[l[a]])&&(h=n[l[a]]);for(var d=0,p=t.length;ds&&(c=s),a=o}c0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function y(t){var e=v(t),n=[];return r.each(t,(function(t){var r,i=t.coordinateSystem,a=i.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,u=e[l],c=Math.abs(s[1]-s[0]),f=a.scale.getExtent(),p=Math.abs(f[1]-f[0]);r=u?c/p*u:c}else{var g=t.getData();r=Math.abs(s[1]-s[0])/g.count()}var v=o(t.get("barWidth"),r),y=o(t.get("barMaxWidth"),r),m=o(t.get("barMinWidth")||1,r),b=t.get("barGap"),x=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:v,barMaxWidth:y,barMinWidth:m,barGap:b,barCategoryGap:x,axisKey:d(a),stackId:h(t)})})),m(n)}function m(t){var e={};r.each(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var f=t.barGap;null!=f&&(o.gap=f);var h=t.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return r.each(e,(function(t,e){n[e]={};var i=t.stacks,a=t.bandWidth,s=o(t.categoryGap,a),l=o(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,f=(u-s)/(c+(c-1)*l);f=Math.max(f,0),r.each(i,(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,u-=r+l*r,c--}else{var r=f;e&&er&&(r=n),r!==f&&(t.width=r,u-=r+l*r,c--)}})),f=(u-s)/(c+(c-1)*l),f=Math.max(f,0);var h,d=0;r.each(i,(function(t,e){t.width||(t.width=f),h=t,d+=t.width*(1+l)})),h&&(d-=h.width*l);var p=-d/2;r.each(i,(function(t,r){n[e][r]=n[e][r]||{bandWidth:a,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function b(t,e,n){if(t&&e){var r=t[d(e)];return null!=r&&null!=n&&(r=r[h(n)]),r}}function x(t,e){var n=g(t,e),i=y(n),o={},a={};r.each(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),l=h(t),u=i[d(r)][l],c=u.offset,f=u.width,p=n.getOtherAxis(r),g=t.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],e.setLayout({bandWidth:u.bandWidth,offset:c,size:f});for(var v=e.mapDimension(p.dim),y=e.mapDimension(r.dim),m=s(e,v),b=p.isHorizontal(),x=C(r,p,m),_=0,w=e.count();_=0?"p":"n",I=x;if(m&&(o[l][E]||(o[l][E]={p:x,n:x}),I=o[l][E][T]),b){var P=n.dataToPoint([M,E]);S=I,A=P[1]+c,k=P[0]-x,O=f,Math.abs(k)c||(h=c),{progress:d}}function d(t,e){var c,d=t.count,p=new f(2*d),g=new f(2*d),v=new f(d),y=[],m=[],b=0,x=0;while(null!=(c=t.next()))m[u]=e.get(a,c),m[1-u]=e.get(s,c),y=n.dataToPoint(m,null,y),g[b]=l?r.x+r.width:y[0],p[b++]=y[0],g[b]=l?y[1]:r.y+r.height,p[b++]=y[1],v[x++]=c;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:g,barWidth:h,valueAxisStart:C(i,o,!1),backgroundStart:l?r.x:r.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function C(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=y,e.retrieveColumnLayout=b,e.layout=x,e.largeLayout=_},"9d85":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.changeDefaultConfig=v,Object.defineProperty(e,"colorConfig",{enumerable:!0,get:function(){return r.colorConfig}}),Object.defineProperty(e,"gridConfig",{enumerable:!0,get:function(){return i.gridConfig}}),Object.defineProperty(e,"xAxisConfig",{enumerable:!0,get:function(){return o.xAxisConfig}}),Object.defineProperty(e,"yAxisConfig",{enumerable:!0,get:function(){return o.yAxisConfig}}),Object.defineProperty(e,"titleConfig",{enumerable:!0,get:function(){return a.titleConfig}}),Object.defineProperty(e,"lineConfig",{enumerable:!0,get:function(){return s.lineConfig}}),Object.defineProperty(e,"barConfig",{enumerable:!0,get:function(){return l.barConfig}}),Object.defineProperty(e,"pieConfig",{enumerable:!0,get:function(){return u.pieConfig}}),Object.defineProperty(e,"radarAxisConfig",{enumerable:!0,get:function(){return c.radarAxisConfig}}),Object.defineProperty(e,"radarConfig",{enumerable:!0,get:function(){return f.radarConfig}}),Object.defineProperty(e,"gaugeConfig",{enumerable:!0,get:function(){return h.gaugeConfig}}),Object.defineProperty(e,"legendConfig",{enumerable:!0,get:function(){return d.legendConfig}}),e.keys=void 0;var r=n("f3cb"),i=n("49bc"),o=n("c930"),a=n("887c"),s=n("6eb9"),l=n("f111"),u=n("222a"),c=n("0cd4"),f=n("3938"),h=n("cc6d"),d=n("60f1"),p=n("becb"),g={colorConfig:r.colorConfig,gridConfig:i.gridConfig,xAxisConfig:o.xAxisConfig,yAxisConfig:o.yAxisConfig,titleConfig:a.titleConfig,lineConfig:s.lineConfig,barConfig:l.barConfig,pieConfig:u.pieConfig,radarAxisConfig:c.radarAxisConfig,radarConfig:f.radarConfig,gaugeConfig:h.gaugeConfig,legendConfig:d.legendConfig};function v(t,e){g["".concat(t,"Config")]?(0,p.deepMerge)(g["".concat(t,"Config")],e):console.warn("Change default config Error - Invalid key!")}var y=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"];e.keys=y},"9e2e":function(t,e,n){var r=n("a73c"),i=n("9850"),o=n("82eb"),a=o.WILL_BE_RESTORED,s=new i,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&r.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),r.needDrawText(i,n)){t.save();var o=this.transform;n.transformText?this.setTransform(t):o&&(s.copy(e),s.applyTransform(o),e=s),r.renderText(this,t,i,n,e,a),t.restore()}}};var u=l;t.exports=u},"9e47":function(t,e,n){var r=n("6d8b"),i=n("71ad"),o=n("6cb7"),a=n("f934"),s=a.getLayoutParams,l=a.mergeLayoutParam,u=n("8e43"),c=["value","category","time","log"];function f(t,e,n,a){r.each(c,(function(o){e.extend({type:t+"Axis."+o,mergeDefaultAndTheme:function(e,i){var a=this.layoutMode,u=a?s(e):{},c=i.getTheme();r.merge(e,c.get(o+"Axis")),r.merge(e,this.getDefaultOption()),e.type=n(t,e),a&&l(e,u,a)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:r.mergeAll([{},i[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(t+"Axis",r.curry(n,t))}t.exports=f},"9e87":function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("50e5");r.registerAction("dataZoom",(function(t,e){var n=o.createLinkedNodesFinder(i.bind(e.eachComponent,e,"dataZoom"),o.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),r=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){r.push.apply(r,n(t).nodes)})),i.each(r,(function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},"9ede":function(t,e,n){t.exports=n("faa1").EventEmitter},"9f51":function(t,e,n){var r=n("857d"),i=r.normalizeRadian,o=2*Math.PI;function a(t,e,n,r,a,s,l,u,c){if(0===l)return!1;var f=l;u-=t,c-=e;var h=Math.sqrt(u*u+c*c);if(h-f>n||h+fa&&(a+=o);var p=Math.atan2(c,u);return p<0&&(p+=o),p>=r&&p<=a||p+o>=r&&p+o<=a}e.containStroke=a},"9f7f":function(t,e,n){var r=n("d039"),i=n("da84"),o=i.RegExp,a=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=a||r((function(){return!o("a","y").sticky})),l=a||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:l,MISSED_STICKY:s,UNSUPPORTED_Y:a}},"9f82":function(t,e,n){var r=n("ee1a"),i=r.isDimensionStacked,o=n("6d8b"),a=o.map;function s(t,e,n){var r,o=t.getBaseAxis(),s=t.getOtherAxis(o),u=l(s,n),c=o.dim,f=s.dim,h=e.mapDimension(f),d=e.mapDimension(c),p="x"===f||"radius"===f?1:0,g=a(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(r|=i(e,g[0]))&&(g[0]=v),(r|=i(e,g[1]))&&(g[1]=v),{dataDimsForPoint:g,valueStart:u,valueAxisDim:f,baseAxisDim:c,stacked:!!r,valueDim:h,baseDim:d,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var n=0,r=t.scale.getExtent();return"start"===e?n=r[0]:"end"===e?n=r[1]:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function u(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,r),a[1-o]=i,e.dataToPoint(a)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},"9fa3":function(t,e,n){var r=n("4ab1"),i=n("6d8b"),o=n("1687");function a(t,e){r.call(this,t,e,"clipPath","__clippath_in_use__")}i.inherits(a,r),a.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},a.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var r,i,a=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(i=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",i),a.appendChild(r),s[l]=r);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var f=this.getSvgElement(s);r.innerHTML="",r.appendChild(f.cloneNode()),t.setAttribute("clip-path","url(#"+i+")"),e.length>1&&this.updateDom(r,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},a.prototype.markUsed=function(t){var e=this;t.__clipPaths&&i.each(t.__clipPaths,(function(t){t._dom&&r.prototype.markUsed.call(e,t._dom),t._textDom&&r.prototype.markUsed.call(e,t._textDom)}))};var s=a;t.exports=s},"9fbb":function(t,e,n){var r=n("4d88");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},a016:function(t,e,n){var r=n("4f85"),i=n("e46b"),o=n("6d8b"),a=n("eda2"),s=a.encodeHTML,l=n("c4a3"),u=r.extend({type:"series.radar",dependencies:["radar"],init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(t,e){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t,e,n,r){var i=this.getData(),a=this.coordinateSystem,l=a.getIndicatorAxes(),u=this.getData().getName(t),c="html"===r?"
":"\n";return s(""===u?this.name:u)+c+o.map(l,(function(e,n){var r=i.get(i.mapDimension(e.dim),t);return s(e.name+" : "+r)})).join(c)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,r=e.getValues(o.map(n.dimensions,(function(t){return e.mapDimension(t)})),t,!0),i=0,a=r.length;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.radar,r=[];n&&(r=p(n),r=g(r,t),r=v(r,t),r=y(r),r=m(r),r=b(r),r=[r]);var i=r;r.length&&!r[0].show&&(i=[]),(0,s.doUpdate)({chart:t,series:i,key:"radarAxisSplitArea",getGraphConfig:x,beforeUpdate:S,beforeChange:C}),(0,s.doUpdate)({chart:t,series:i,key:"radarAxisSplitLine",getGraphConfig:A,beforeUpdate:M,beforeChange:E}),(0,s.doUpdate)({chart:t,series:i,key:"radarAxisLine",getGraphConfig:T}),(0,s.doUpdate)({chart:t,series:i,key:"radarAxisLable",getGraphConfig:L}),t.radarAxis=r[0]}function p(t){return(0,c.deepMerge)((0,u.deepClone)(l.radarAxisConfig),t)}function g(t,e){var n=e.render.area,r=t.center;return t.centerPos=r.map((function(t,e){return"number"===typeof t?t:parseInt(t)/100*n[e]})),t}function v(t,e){var n=e.render.area,r=t.splitNum,i=t.radius,o=Math.min.apply(Math,(0,a["default"])(n))/2;"number"!==typeof i&&(i=parseInt(i)/100*o);var s=i/r;return t.ringRadius=new Array(r).fill(0).map((function(t,e){return s*(e+1)})),t.radius=i,t}function y(t){var e=t.indicator,n=t.centerPos,r=t.radius,i=t.startAngle,o=2*Math.PI,s=e.length,l=o/s,c=new Array(s).fill(0).map((function(t,e){return l*e+i}));return t.axisLineAngles=c,t.axisLinePosition=c.map((function(t){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([r,t]))})),t}function m(t){var e=t.ringRadius,n=e[0]/2;return t.areaRadius=e.map((function(t){return t-n})),t}function b(t){var e=t.axisLineAngles,n=t.centerPos,r=t.radius,i=t.axisLabel;return r+=i.labelGap,t.axisLabelPosition=e.map((function(t){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([r,t]))})),t}function x(t){var e=t.areaRadius,n=t.polygon,r=t.animationCurve,i=t.animationFrame,o=t.rLevel,a=n?"regPolygon":"ring";return e.map((function(e,n){return{name:a,index:o,visible:t.splitArea.show,animationCurve:r,animationFrame:i,shape:_(t,n),style:w(t,n)}}))}function _(t,e){var n=t.polygon,r=t.areaRadius,i=t.indicator,o=t.centerPos,a=i.length,s={rx:o[0],ry:o[1],r:r[e]};return n&&(s.side=a),s}function w(t,e){var n=t.splitArea,r=t.ringRadius,i=t.axisLineAngles,o=t.polygon,s=t.centerPos,l=n.color,f=n.style;f=h({fill:"rgba(0, 0, 0, 0)"},f);var d=r[0]-0;if(o){var p=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([r[0],i[0]])),g=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([r[0],i[1]]));d=(0,c.getPointToLineDistance)(s,p,g)}if(f=(0,c.deepMerge)((0,u.deepClone)(f,!0),{lineWidth:d}),!l.length)return f;var v=l.length;return(0,c.deepMerge)(f,{stroke:l[e%v]})}function S(t,e,n,r){var i=t[n];if(i){var o=r.chart.render,a=e.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(t){return o.delGraph(t)})),t[n]=null)}}function C(t,e){var n=e.shape.side;"number"===typeof n&&(t.shape.side=n)}function A(t){var e=t.ringRadius,n=t.polygon,r=t.animationCurve,i=t.animationFrame,o=t.rLevel,a=n?"regPolygon":"ring";return e.map((function(e,n){return{name:a,index:o,animationCurve:r,animationFrame:i,visible:t.splitLine.show,shape:k(t,n),style:O(t,n)}}))}function k(t,e){var n=t.ringRadius,r=t.centerPos,i=t.indicator,o=t.polygon,a={rx:r[0],ry:r[1],r:n[e]},s=i.length;return o&&(a.side=s),a}function O(t,e){var n=t.splitLine,r=n.color,i=n.style;if(i=h({fill:"rgba(0, 0, 0, 0)"},i),!r.length)return i;var o=r.length;return(0,c.deepMerge)(i,{stroke:r[e%o]})}function M(t,e,n,r){var i=t[n];if(i){var o=r.chart.render,a=e.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(t){return o.delGraph(t)})),t[n]=null)}}function E(t,e){var n=e.shape.side;"number"===typeof n&&(t.shape.side=n)}function T(t){var e=t.axisLinePosition,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"polyline",index:i,visible:t.axisLine.show,animationCurve:n,animationFrame:r,shape:I(t,o),style:P(t,o)}}))}function I(t,e){var n=t.centerPos,r=t.axisLinePosition,i=[n,r[e]];return{points:i}}function P(t,e){var n=t.axisLine,r=n.color,i=n.style;if(!r.length)return i;var o=r.length;return(0,c.deepMerge)(i,{stroke:r[e%o]})}function L(t){var e=t.axisLabelPosition,n=t.animationCurve,r=t.animationFrame,i=t.rLevel;return e.map((function(e,o){return{name:"text",index:i,visible:t.axisLabel.show,animationCurve:n,animationFrame:r,shape:D(t,o),style:R(t,o)}}))}function D(t,e){var n=t.axisLabelPosition,r=t.indicator;return{content:r[e].name,position:n[e]}}function R(t,e){var n=t.axisLabel,r=(0,i["default"])(t.centerPos,2),o=r[0],a=r[1],s=t.axisLabelPosition,l=n.color,u=n.style,f=(0,i["default"])(s[e],2),h=f[0],d=f[1],p=h>o?"left":"right",g=d>a?"top":"bottom";if(u=(0,c.deepMerge)({textAlign:p,textBaseline:g},u),!l.length)return u;var v=l.length;return(0,c.deepMerge)(u,{fill:l[e%v]})}},a157:function(t,e,n){},a15a:function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("9850"),a=n("e86a"),s=a.calculateTextPosition,l=i.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r+o),t.lineTo(n-i,r+o),t.closePath()}}),u=i.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r),t.lineTo(n,r+o),t.lineTo(n-i,r),t.closePath()}}),c=i.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,f=Math.sin(u),h=Math.cos(u),d=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-f*d,l+s+h*d,n,r-p,n,r),t.bezierCurveTo(n,r-p,n-c+f*d,l+s+h*d,n-c,l+s),t.closePath()}}),f=i.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,o=e.y,a=r/3*2;t.moveTo(i,o),t.lineTo(i+a,o+n),t.lineTo(i,o+n/4*3),t.lineTo(i-a,o+n),t.lineTo(i,o),t.closePath()}}),h={line:i.Line,rect:i.Rect,roundRect:i.Rect,square:i.Rect,circle:i.Circle,diamond:u,pin:c,arrow:f,triangle:l},d={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var o=Math.min(n,r);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},p={};r.each(h,(function(t,e){p[e]=new t}));var g=i.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=s(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.textPosition&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=p[r];i||(r="rect",i=p[r]),d[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function v(t,e){if("image"!==this.type){var n=this.style,r=this.shape;r&&"line"===r.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function y(t,e,n,r,a,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?i.makeImage(t.slice(8),new o(e,n,r,a),l?"center":"cover"):0===t.indexOf("path://")?i.makePath(t.slice(7),{},new o(e,n,r,a),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),u.__isEmptyBrush=c,u.setColor=v,u.setColor(s),u}e.createSymbol=y},a15b:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("44ad"),a=n("fc6a"),s=n("a640"),l=i([].join),u=o!=Object,c=s("join",",");r({target:"Array",proto:!0,forced:u||!c},{join:function(t){return l(a(this),void 0===t?",":t)}})},a15e:function(t,e,n){"use strict";n.r(e);var r=n("41b2"),i=n.n(r),o=n("1098"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var t=arguments.length,e=Array(t),n=0;n=o)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(n){return"[Circular]"}break;default:return t}})),l=e[r];r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},S={integer:function(t){return S.number(t)&&parseInt(t,10)===t},float:function(t){return S.number(t)&&!S.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof t},object:function(t){return"object"===("undefined"===typeof t?"undefined":a()(t))&&!S.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(w.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(w.url)},hex:function(t){return"string"===typeof t&&!!t.match(w.hex)}};function C(t,e,n,r,i){if(t.required&&void 0===e)b(t,e,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?S[s](e)||r.push(u(i.messages.types[s],t.fullField,t.type)):s&&("undefined"===typeof e?"undefined":a()(e))!==t.type&&r.push(u(i.messages.types[s],t.fullField,t.type))}}var A=C;function k(t,e,n,r,i){var o="number"===typeof t.len,a="number"===typeof t.min,s="number"===typeof t.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,h="number"===typeof e,d="string"===typeof e,p=Array.isArray(e);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(c=e.length),d&&(c=e.replace(l,"_").length),o?c!==t.len&&r.push(u(i.messages[f].len,t.fullField,t.len)):a&&!s&&ct.max?r.push(u(i.messages[f].max,t.fullField,t.max)):a&&s&&(ct.max)&&r.push(u(i.messages[f].range,t.fullField,t.min,t.max))}var O=k,M="enum";function E(t,e,n,r,i){t[M]=Array.isArray(t[M])?t[M]:[],-1===t[M].indexOf(e)&&r.push(u(i.messages[M],t.fullField,t[M].join(", ")))}var T=E;function I(t,e,n,r,i){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var o=new RegExp(t.pattern);o.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}var P=I,L={required:b,whitespace:_,type:A,range:O,enum:T,pattern:P};function D(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i,"string"),f(e,"string")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i),L.pattern(t,e,r,o,i),!0===t.whitespace&&L.whitespace(t,e,r,o,i))}n(o)}var R=D;function N(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var j=N;function B(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var F=B;function z(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var V=z;function q(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),f(e)||L.type(t,e,r,o,i)}n(o)}var H=q;function W(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var G=W;function U(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var $=U;function K(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e,"array")&&!t.required)return n();L.required(t,e,r,o,i,"array"),f(e,"array")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var Y=K;function Z(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var X=Z,Q="enum";function J(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),e&&L[Q](t,e,r,o,i)}n(o)}var tt=J;function et(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i),f(e,"string")||L.pattern(t,e,r,o,i)}n(o)}var nt=et;function rt(t,e,n,r,i){var o=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e)&&!t.required)return n();if(L.required(t,e,r,o,i),!f(e)){var s=void 0;s="number"===typeof e?new Date(e):e,L.type(t,s,r,o,i),s&&L.range(t,s.getTime(),r,o,i)}}n(o)}var it=rt;function ot(t,e,n,r,i){var o=[],s=Array.isArray(e)?"array":"undefined"===typeof e?"undefined":a()(e);L.required(t,e,r,o,i,s),n(o)}var at=ot;function st(t,e,n,r,i){var o=t.type,a=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,o)&&!t.required)return n();L.required(t,e,r,a,i,o),f(e,o)||L.type(t,e,r,a,i)}n(a)}var lt=st,ut={string:R,method:j,number:F,boolean:V,regexp:H,integer:G,float:$,array:Y,object:X,enum:tt,pattern:nt,date:it,url:lt,hex:lt,email:lt,required:at};function ct(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ft=ct();function ht(t){this.rules=null,this._messages=ft,this.define(t)}ht.prototype={messages:function(t){return t&&(this._messages=y(ct(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof t?"undefined":a()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=t,s=n,c=r;if("function"===typeof s&&(c=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var f=this.messages();f===ft&&(f=ct()),y(f,s.messages),s.messages=f}else s.messages=this.messages();var h=void 0,d=void 0,p={},m=s.keys||Object.keys(this.rules);m.forEach((function(n){h=e.rules[n],d=o[n],h.forEach((function(r){var a=r;"function"===typeof a.transform&&(o===t&&(o=i()({},o)),d=o[n]=a.transform(d)),a="function"===typeof a?{validator:a}:i()({},a),a.validator=e.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=e.getType(a),a.validator&&(p[n]=p[n]||[],p[n].push({rule:a,value:d,source:o,field:n}))}))}));var b={};g(p,s,(function(t,e){var n=t.rule,r=("object"===n.type||"array"===n.type)&&("object"===a()(n.fields)||"object"===a()(n.defaultField));function o(t,e){return i()({},e,{fullField:n.fullField+"."+t})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),c.length&&l("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(v(n)),s.first&&c.length)return b[n.field]=1,e(c);if(r){if(n.required&&!t.value)return c=n.message?[].concat(n.message).map(v(n)):s.error?[s.error(n,u(s.messages.required,n.field))]:[],e(c);var f={};if(n.defaultField)for(var h in t.value)t.value.hasOwnProperty(h)&&(f[h]=n.defaultField);for(var d in f=i()({},f,t.rule.fields),f)if(f.hasOwnProperty(d)){var p=Array.isArray(f[d])?f[d]:[f[d]];f[d]=p.map(o.bind(null,d))}var g=new ht(f);g.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),g.validate(t.value,t.rule.options||s,(function(t){e(t&&t.length?c.concat(t):t)}))}else e(c)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var f=n.validator(n,t.value,c,t.source,s);f&&f.then&&f.then((function(){return c()}),(function(t){return c(t)}))}),(function(t){x(t)}))}else c&&c();function x(t){var e=void 0,n=void 0,r=[],i={};function o(t){Array.isArray(t)?r=r.concat.apply(r,t):r.push(t)}for(e=0;e1){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?l+=s.charAt(u):c<128?l+=a[c]:c<2048?l+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?l+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(u)),l+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return l},d=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r0){t.moveTo(n[i++],n[i++]);for(var a=1;a0){var f=(s+u)/2-(l-c)*r,h=(l+c)/2-(u-s)*r;t.quadraticCurveTo(f,h,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,r=n.segs,i=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=r[l++],f=r[l++],h=1;h0){var g=(c+d)/2-(f-p)*i,v=(f+p)/2-(d-c)*i;if(a.containStroke(c,f,g,v,d,p))return s}else if(o.containStroke(c,f,d,p))return s;s++}return-1}});function l(){this.group=new r.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get("lineStyle.curveness")}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("color");i&&t.setStyle("stroke",i),t.setStyle("fill"),n||(t.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},a38e:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("53ca");n("8172"),n("d9e2"),n("efec"),n("a9e3");function i(t,e){if("object"!=Object(r["a"])(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Object(r["a"])(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function o(t){var e=i(t,"string");return"symbol"==Object(r["a"])(e)?e:e+""}},a395:function(t,e,n){var r=n("7037")["default"],i=n("e50d");function o(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},a3de:function(t,e,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("23cb"),a=n("5926"),s=n("07fa"),l=n("3a34"),u=n("3511"),c=n("65f0"),f=n("8418"),h=n("083a"),d=n("1dde"),p=d("splice"),g=Math.max,v=Math.min;r({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var n,r,d,p,y,m,b=i(this),x=s(b),_=o(t,x),w=arguments.length;for(0===w?n=r=0:1===w?(n=0,r=x-_):(n=w-2,r=v(g(a(e),0),x-_)),u(x+n-r),d=c(b,r),p=0;px-r+n;p--)h(b,p-1)}else if(n>r)for(p=x-r;p>_;p--)y=p+r-1,m=p+n-1,y in b?b[m]=b[y]:h(b,m);for(p=0;p0&&(this.aliasToTopic=new r({max:t}),this.topicToAlias={},this.numberAllocator=new i(1,t),this.max=t,this.length=0)}o.prototype.put=function(t,e){if(0===e||e>this.max)return!1;const n=this.aliasToTopic.get(e);return n&&delete this.topicToAlias[n],this.aliasToTopic.set(e,t),this.topicToAlias[t]=e,this.numberAllocator.use(e),this.length=this.aliasToTopic.length,!0},o.prototype.getTopicByAlias=function(t){return this.aliasToTopic.get(t)},o.prototype.getAliasByTopic=function(t){const e=this.topicToAlias[t];return"undefined"!==typeof e&&this.aliasToTopic.get(e),e},o.prototype.clear=function(){this.aliasToTopic.reset(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0},o.prototype.getLruAlias=function(){const t=this.numberAllocator.firstVacant();return t||this.aliasToTopic.keys()[this.aliasToTopic.length-1]},t.exports=o},a493:function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var i=n("0e8b"),o=n("f6ba");n("3fb5")(u,i);for(var a=r(o.prototype),s=0;s=0&&(_=C[N],"right"===_.textAlign))T(t,e,_,r,k,m,R,"right"),O-=_.width,R-=_.width,N--;L+=(o-(L-y)-(b-R)-O)/2;while(M<=N)_=C[M],T(t,e,_,r,k,m,L+_.width/2,"center"),L+=_.width,M++;m+=k}}function E(t,e,n,r,i){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(r=n.width/2+n.x,i=n.height/2+n.y):o&&(r=o[0]+n.x,i=o[1]+n.y),t.translate(r,i),t.rotate(-e.textRotation),t.translate(-r,-i)}}function T(t,e,n,r,a,s,l,u){var c=r.rich[n.styleName]||{};c.text=n.text;var f=n.textVerticalAlign,h=s+a/2;"top"===f?h=s+n.height/2:"bottom"===f&&(h=s+a-n.height/2),!n.isLineHolder&&I(c)&&P(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,h-n.height/2,n.width,n.height);var d=n.textPadding;d&&(l=F(l,u,d),h-=n.height/2-d[2]-n.textHeight/2),R(e,"shadowBlur",o(c.textShadowBlur,r.textShadowBlur,0)),R(e,"shadowColor",c.textShadowColor||r.textShadowColor||"transparent"),R(e,"shadowOffsetX",o(c.textShadowOffsetX,r.textShadowOffsetX,0)),R(e,"shadowOffsetY",o(c.textShadowOffsetY,r.textShadowOffsetY,0)),R(e,"textAlign",u),R(e,"textBaseline","middle"),R(e,"font",n.font||y);var p=N(c.textStroke||r.textStroke,v),g=j(c.textFill||r.textFill),v=i(c.textStrokeWidth,r.textStrokeWidth);p&&(R(e,"lineWidth",v),R(e,"strokeStyle",p),e.strokeText(n.text,l,h)),g&&(R(e,"fillStyle",g),e.fillText(n.text,l,h))}function I(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function P(t,e,n,r,i,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,d=n.textBorderColor,p=l(s);if(R(e,"shadowBlur",n.textBoxShadowBlur||0),R(e,"shadowColor",n.textBoxShadowColor||"transparent"),R(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),R(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&d){e.beginPath();var g=n.textBorderRadius;g?f.buildPath(e,{x:r,y:i,width:o,height:a,r:g}):e.rect(r,i,o,a),e.closePath()}if(p)if(R(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var y=s.image;y=h.createOrUpdateImage(y,null,t,L,s),y&&h.isImageReady(y)&&e.drawImage(y,r,i,o,a)}if(c&&d)if(R(e,"lineWidth",c),R(e,"strokeStyle",d),null!=n.strokeOpacity){v=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function L(t,e){e.image=t}function D(t,e,n,r){var i=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(r){var l=n.textPosition;if(l instanceof Array)i=r.x+B(l[0],r.width),o=r.y+B(l[1],r.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(_,n,r):c.calculateTextPosition(_,n,r);i=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var f=n.textOffset;f&&(i+=f[0],o+=f[1])}return t=t||{},t.baseX=i,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function R(t,e,n){return t[e]=d(t,e,n),t[e]}function N(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function j(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function F(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function z(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=A,e.getBoxPosition=D,e.getStroke=N,e.getFill=j,e.parsePercent=B,e.needDrawText=z},a753:function(t,e,n){},a7531:function(t,e,n){var r=n("1f0e"),i=n("2306"),o=n("e887"),a=n("3842"),s=a.parsePercent,l=a.round,u=a.linearMap;function c(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i),a=s(n[0],e.getWidth()),l=s(n[1],e.getHeight()),u=s(t.get("radius"),o/2);return{cx:a,cy:l,r:u}}function f(t,e){return e&&("string"===typeof e?t=e.replace("{value}",null!=t?t:""):"function"===typeof e&&(t=e(t))),t}var h=2*Math.PI,d=o.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var r=t.get("axisLine.lineStyle.color"),i=c(t,n);this._renderMain(t,e,n,r,i)},dispose:function(){},_renderMain:function(t,e,n,r,o){for(var a=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),c=-t.get("startAngle")/180*Math.PI,f=-t.get("endAngle")/180*Math.PI,d=(f-c)%h,p=c,g=l.get("width"),v=s.get("show"),y=0;v&&y=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:I<-.4?"left":I>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(b.get("show")&&T!==_){for(var j=0;j<=w;j++){I=Math.cos(A),P=Math.sin(A);var B=new i.Line({shape:{x1:I*g+d,y1:P*g+p,x2:I*(g-C)+d,y2:P*(g-C)+p},silent:!0,style:E});"auto"===E.stroke&&B.setStyle({stroke:r((T+j/w)/_)}),h.add(B),A+=O}A-=O}else A+=k}},_renderPointer:function(t,e,n,o,a,l,c,f){var h=this.group,d=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],v=t.getData(),y=v.mapDimension("value");v.diff(d).add((function(e){var n=new r({shape:{angle:l}});i.initProps(n,{shape:{angle:u(v.get(y,e),p,g,!0)}},t),h.add(n),v.setItemGraphicEl(e,n)})).update((function(e,n){var r=d.getItemGraphicEl(n);i.updateProps(r,{shape:{angle:u(v.get(y,e),p,g,!0)}},t),h.add(r),v.setItemGraphicEl(e,r)})).remove((function(t){var e=d.getItemGraphicEl(t);h.remove(e)})).execute(),v.eachItemGraphicEl((function(t,e){var n=v.getItemModel(e),r=n.getModel("pointer");t.setShape({x:a.cx,y:a.cy,width:s(r.get("width"),a.r),r:s(r.get("length"),a.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(u(v.get(y,e),p,[0,1],!0))),i.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else d&&d.eachItemGraphicEl((function(t){h.remove(t)}))},_renderTitle:function(t,e,n,r,o){var a=t.getData(),l=a.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var f=c.get("offsetCenter"),h=o.cx+s(f[0],o.r),d=o.cy+s(f[1],o.r),p=+t.get("min"),g=+t.get("max"),v=t.getData().get(l,0),y=r(u(v,[p,g],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},c,{x:h,y:d,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}},_renderDetail:function(t,e,n,r,o){var a=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(a.get("show")){var h=a.get("offsetCenter"),d=o.cx+s(h[0],o.r),p=o.cy+s(h[1],o.r),g=s(a.get("width"),o.r),v=s(a.get("height"),o.r),y=t.getData(),m=y.get(y.mapDimension("value"),0),b=r(u(m,[l,c],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},a,{x:d,y:p,text:f(m,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}}}),p=d;t.exports=p},a79d:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("d256"),a=n("d039"),s=n("d066"),l=n("1626"),u=n("4840"),c=n("cdf9"),f=n("cb2d"),h=o&&o.prototype,d=!!o&&a((function(){h["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(t){var e=u(this,s("Promise")),n=l(t);return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),!i&&l(o)){var p=s("Promise").prototype["finally"];h["finally"]!==p&&f(h,"finally",p,{unsafe:!0})}},a7c9:function(t,e){class n{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}}t.exports=n},a7e2:function(t,e,n){var r=n("3eba");n("7293"),n("ae46");var i=n("6582"),o=n("ee98");r.registerLayout(i),r.registerVisual(o)},a7f2:function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function r(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}t.exports=r},a870:function(t,e,n){"use strict";n.r(e),n.d(e,"darken",(function(){return m})),n.d(e,"fade",(function(){return x})),n.d(e,"getColorFromRgbValue",(function(){return y})),n.d(e,"getOpacity",(function(){return d})),n.d(e,"getRgbValue",(function(){return h})),n.d(e,"getRgbaValue",(function(){return p})),n.d(e,"isHex",(function(){return i})),n.d(e,"isRgb",(function(){return o})),n.d(e,"isRgbOrRgba",(function(){return s})),n.d(e,"isRgba",(function(){return a})),n.d(e,"lighten",(function(){return b})),n.d(e,"toHex",(function(){return v})),n.d(e,"toRgb",(function(){return g}));var r=(t=>(t.transparent="rgba(0,0,0,0)",t.black="#000000",t.silver="#C0C0C0",t.gray="#808080",t.white="#FFFFFF",t.maroon="#800000",t.red="#FF0000",t.purple="#800080",t.fuchsia="#FF00FF",t.green="#008000",t.lime="#00FF00",t.olive="#808000",t.yellow="#FFFF00",t.navy="#000080",t.blue="#0000FF",t.teal="#008080",t.aqua="#00FFFF",t.aliceblue="#f0f8ff",t.antiquewhite="#faebd7",t.aquamarine="#7fffd4",t.azure="#f0ffff",t.beige="#f5f5dc",t.bisque="#ffe4c4",t.blanchedalmond="#ffebcd",t.blueviolet="#8a2be2",t.brown="#a52a2a",t.burlywood="#deb887",t.cadetblue="#5f9ea0",t.chartreuse="#7fff00",t.chocolate="#d2691e",t.coral="#ff7f50",t.cornflowerblue="#6495ed",t.cornsilk="#fff8dc",t.crimson="#dc143c",t.cyan="#00ffff",t.darkblue="#00008b",t.darkcyan="#008b8b",t.darkgoldenrod="#b8860b",t.darkgray="#a9a9a9",t.darkgreen="#006400",t.darkgrey="#a9a9a9",t.darkkhaki="#bdb76b",t.darkmagenta="#8b008b",t.darkolivegreen="#556b2f",t.darkorange="#ff8c00",t.darkorchid="#9932cc",t.darkred="#8b0000",t.darksalmon="#e9967a",t.darkseagreen="#8fbc8f",t.darkslateblue="#483d8b",t.darkslategray="#2f4f4f",t.darkslategrey="#2f4f4f",t.darkturquoise="#00ced1",t.darkviolet="#9400d3",t.deeppink="#ff1493",t.deepskyblue="#00bfff",t.dimgray="#696969",t.dimgrey="#696969",t.dodgerblue="#1e90ff",t.firebrick="#b22222",t.floralwhite="#fffaf0",t.forestgreen="#228b22",t.gainsboro="#dcdcdc",t.ghostwhite="#f8f8ff",t.gold="#ffd700",t.goldenrod="#daa520",t.greenyellow="#adff2f",t.grey="#808080",t.honeydew="#f0fff0",t.hotpink="#ff69b4",t.indianred="#cd5c5c",t.indigo="#4b0082",t.ivory="#fffff0",t.khaki="#f0e68c",t.lavender="#e6e6fa",t.lavenderblush="#fff0f5",t.lawngreen="#7cfc00",t.lemonchiffon="#fffacd",t.lightblue="#add8e6",t.lightcoral="#f08080",t.lightcyan="#e0ffff",t.lightgoldenrodyellow="#fafad2",t.lightgray="#d3d3d3",t.lightgreen="#90ee90",t.lightgrey="#d3d3d3",t.lightpink="#ffb6c1",t.lightsalmon="#ffa07a",t.lightseagreen="#20b2aa",t.lightskyblue="#87cefa",t.lightslategray="#778899",t.lightslategrey="#778899",t.lightsteelblue="#b0c4de",t.lightyellow="#ffffe0",t.limegreen="#32cd32",t.linen="#faf0e6",t.magenta="#ff00ff",t.mediumaquamarine="#66cdaa",t.mediumblue="#0000cd",t.mediumorchid="#ba55d3",t.mediumpurple="#9370db",t.mediumseagreen="#3cb371",t.mediumslateblue="#7b68ee",t.mediumspringgreen="#00fa9a",t.mediumturquoise="#48d1cc",t.mediumvioletred="#c71585",t.midnightblue="#191970",t.mintcream="#f5fffa",t.mistyrose="#ffe4e1",t.moccasin="#ffe4b5",t.navajowhite="#ffdead",t.oldlace="#fdf5e6",t.olivedrab="#6b8e23",t.orange="#ffa500",t.orangered="#ff4500",t.orchid="#da70d6",t.palegoldenrod="#eee8aa",t.palegreen="#98fb98",t.paleturquoise="#afeeee",t.palevioletred="#db7093",t.papayawhip="#ffefd5",t.peachpuff="#ffdab9",t.peru="#cd853f",t.pink="#ffc0cb",t.plum="#dda0dd",t.powderblue="#b0e0e6",t.rosybrown="#bc8f8f",t.royalblue="#4169e1",t.saddlebrown="#8b4513",t.salmon="#fa8072",t.sandybrown="#f4a460",t.seagreen="#2e8b57",t.seashell="#fff5ee",t.sienna="#a0522d",t.skyblue="#87ceeb",t.slateblue="#6a5acd",t.slategray="#708090",t.snow="#fffafa",t.springgreen="#00ff7f",t.steelblue="#4682b4",t.tan="#d2b48c",t.thistle="#d8bfd8",t.tomato="#ff6347",t.turquoise="#40e0d0",t.violet="#ee82ee",t.wheat="#f5deb3",t.whitesmoke="#f5f5f5",t.yellowgreen="#9acd32",t))(r||{});function i(t){return"string"==typeof t&&(t=t.toLowerCase(),/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))}function o(t){return"string"==typeof t&&(t=t.toLowerCase(),/^(rgb\(|RGB\()/.test(t))}function a(t){return"string"==typeof t&&(t=t.toLowerCase(),/^(rgba|RGBA)/.test(t))}function s(t){return/^(rgb|rgba|RGB|RGBA)/.test(t)}function l(t){return r[t]}function u(t){if(i(t)||s(t))return t;const e=l(t);if(!e)throw new Error("Color: Invalid Input of "+t);return e}function c(t){t=t.replace("#",""),3===t.length&&(t=Array.from(t).map(t=>t+t).join(""));const e=t.split("");return new Array(3).fill(0).map((t,n)=>parseInt(`0x${e[2*n]}${e[2*n+1]}`))}function f(t){return t.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map(t=>parseInt(t))}function h(t){const e=u(t).toLowerCase();return i(e)?c(e):f(e)}function d(t){const e=u(t);return a(e)?Number(e.toLowerCase().split(",").slice(-1)[0].replace(/[)|\s]/g,"")):1}function p(t){const e=h(t);return e&&[...e,d(t)]}function g(t,e){const n=h(t);return"number"==typeof e?`rgba(${n.join(",")},${e})`:`rgb(${n.join(",")})`}function v(t){if(i(t))return t;const e=h(t),n=t=>Number(t).toString(16).padStart(2,"0");return"#"+e.map(n).join("")}function y(t){if(!Array.isArray(t))throw new Error(`getColorFromRgbValue: ${t} is not an array`);const{length:e}=t;if(3!==e&&4!==e)throw new Error("getColorFromRgbValue: value length should be 3 or 4");return(3===e?"rgb(":"rgba(")+t.join(",")+")"}function m(t,e=0){let n=p(t);return n=n.map((t,n)=>3===n?t:t-Math.ceil(2.55*e)).map(t=>t<0?0:t),y(n)}function b(t,e=0){let n=p(t);return n=n.map((t,n)=>3===n?t:t+Math.ceil(2.55*e)).map(t=>t>255?255:t),y(n)}function x(t,e=100){const n=h(t);return y([...n,e/100])}},a87d:function(t,e,n){var r=n("22d1"),i=n("401b"),o=i.applyTransform,a=n("9850"),s=n("41ef"),l=n("e86a"),u=n("a73c"),c=n("9e2e"),f=n("19eb"),h=n("0da8"),d=n("76a5"),p=n("cbe5"),g=n("20c8"),v=n("42e5"),y=n("d3a4"),m=g.CMD,b=Math.round,x=Math.sqrt,_=Math.abs,w=Math.cos,S=Math.sin,C=Math.max;if(!r.canvasSupported){var A=",",k="progid:DXImageTransform.Microsoft",O=21600,M=O/2,E=1e5,T=1e3,I=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=O+","+O,t.coordorigin="0,0"},P=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},L=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},D=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},R=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},N=function(t,e,n){return(parseFloat(t)||0)*E+(parseFloat(e)||0)*T+n},j=u.parsePercent,B=function(t,e,n){var r=s.parse(e);n=+n,isNaN(n)&&(n=1),r&&(t.color=L(r[0],r[1],r[2]),t.opacity=n*r[3])},F=function(t){var e=s.parse(t);return[L(e[0],e[1],e[2]),e[3]]},z=function(t,e,n){var r=e.fill;if(null!=r)if(r instanceof v){var i,a=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),f=c.width,h=c.height;if("linear"===r.type){i="gradient";var d=n.transform,p=[r.x*f,r.y*h],g=[r.x2*f,r.y2*h];d&&(o(p,p,d),o(g,g,d));var y=g[0]-p[0],m=g[1]-p[1];a=180*Math.atan2(y,m)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{i="gradientradial";p=[r.x*f,r.y*h],d=n.transform;var b=n.scale,x=f,_=h;s=[(p[0]-c.x)/x,(p[1]-c.y)/_],d&&o(p,p,d),x/=b[0]*O,_/=b[1]*O;var w=C(x,_);l=0/w,u=2*r.r/w-l}var S=r.colorStops.slice();S.sort((function(t,e){return t.offset-e.offset}));for(var A=S.length,k=[],M=[],E=0;E=2){var P=k[0][0],L=k[1][0],D=k[0][1]*e.opacity,R=k[1][1]*e.opacity;t.type=i,t.method="none",t.focus="100%",t.angle=a,t.color=P,t.color2=L,t.colors=M.join(","),t.opacity=R,t.opacity2=D}"radial"===i&&(t.focusposition=s.join(","))}else B(t,r,e.opacity)},V=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof v||B(t,e.stroke,e.opacity)},q=function(t,e,n,r){var i="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(i||!i&&n.lineWidth)?(t[i?"filled":"stroked"]="true",n[e]instanceof v&&R(t,o),o||(o=y.createNode(e)),i?z(o,n,r):V(o,n),D(t,o)):(t[i?"filled":"stroked"]="false",R(t,o))},H=[[],[],[]],W=function(t,e){var n,r,i,a,s,l,u=m.M,c=m.C,f=m.L,h=m.A,d=m.Q,p=[],g=t.data,v=t.len();for(a=0;a.01?q&&(W+=270/O):Math.abs(G-j)<1e-4?q&&WN?k-=270/O:k+=270/O:q&&Gj?C+=270/O:C-=270/O),p.push(U,b(((N-B)*L+I)*O-M),A,b(((j-F)*D+P)*O-M),A,b(((N+B)*L+I)*O-M),A,b(((j+F)*D+P)*O-M),A,b((W*L+I)*O-M),A,b((G*D+P)*O-M),A,b((C*L+I)*O-M),A,b((k*D+P)*O-M)),s=C,l=k;break;case m.R:var $=H[0],K=H[1];$[0]=g[a++],$[1]=g[a++],K[0]=$[0]+g[a++],K[1]=$[1]+g[a++],e&&(o($,$,e),o(K,K,e)),$[0]=b($[0]*O-M),K[0]=b(K[0]*O-M),$[1]=b($[1]*O-M),K[1]=b(K[1]*O-M),p.push(" m ",$[0],A,$[1]," l ",K[0],A,$[1]," l ",K[0],A,K[1]," l ",$[0],A,K[1]);break;case m.Z:p.push(" x ")}if(n>0){p.push(r);for(var Y=0;YZ&&(Y=0,K={});var n,r=X.style;try{r.font=t,n=r.fontFamily.split(",")[0]}catch(i){}e={style:r.fontStyle||$,variant:r.fontVariant||$,weight:r.fontWeight||$,size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},K[t]=e,Y++}return e};l.$override("measureText",(function(t,e){var n=y.doc;U||(U=n.createElement("div"),U.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",y.doc.body.appendChild(U));try{U.style.font=e}catch(r){}return U.innerHTML="",U.appendChild(n.createTextNode(t)),{width:U.offsetWidth}}));for(var J=new a,tt=function(t,e,n,r){var i=this.style;this.__dirty&&u.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),a){if(i.rich){var s=l.parseRichText(a,i);a=[];for(var c=0;cd?d=g:(p.lastTickCount=o,p.lastAutoInterval=d),d}},r.inherits(u,o);var c=u;t.exports=c},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("e330"),a=n("94ca"),s=n("cb2d"),l=n("1a2d"),u=n("7156"),c=n("3a9b"),f=n("d9b5"),h=n("c04e"),d=n("d039"),p=n("241c").f,g=n("06cf").f,v=n("9bf2").f,y=n("408a"),m=n("58a8").trim,b="Number",x=i[b],_=x.prototype,w=i.TypeError,S=o("".slice),C=o("".charCodeAt),A=function(t){var e=h(t,"number");return"bigint"==typeof e?e:k(e)},k=function(t){var e,n,r,i,o,a,s,l,u=h(t,"number");if(f(u))throw w("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=m(u),e=C(u,0),43===e||45===e){if(n=C(u,2),88===n||120===n)return NaN}else if(48===e){switch(C(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=S(u,2),a=o.length,s=0;si)return NaN;return parseInt(o,r)}return+u};if(a(b,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var O,M=function(t){var e=arguments.length<1?0:x(A(t)),n=this;return c(_,n)&&d((function(){y(n)}))?u(Object(e),n,M):e},E=r?p(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;E.length>T;T++)l(x,O=E[T])&&!l(M,O)&&v(M,O,g(x,O));M.prototype=_,_.constructor=M,s(i,b,M,{constructor:!0})}},aa01:function(t,e,n){var r=n("6d8b"),i=n("4f85"),o=n("06c7"),a=n("4319"),s=n("55ac"),l=s.wrapTreePathInfo,u=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};c(n);var i=r.map(t.levels||[],(function(t){return new a(t,this,e)}),this),s=o.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),r=i[n.depth];return r&&(t.parentModel=r),t}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=l(n,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function c(t){var e=0;r.each(t.children,(function(t){c(t);var n=t.value;r.isArray(n)&&(n=n[0]),e+=n}));var n=t.value;r.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),r.isArray(t.value)?t.value[0]=n:t.value=n}t.exports=u},aa22:function(t,e,n){"use strict";var r=n("8707").Buffer,i=r.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){if(!t)return"utf8";var e;while(1)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function a(t){var e=o(t);if("string"!==typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}function s(t){var e;switch(this.encoding=a(t),this.encoding){case"utf16le":this.text=p,this.end=g,e=4;break;case"utf8":this.fillLast=f,e=4;break;case"base64":this.text=v,this.end=y,e=3;break;default:return this.write=m,void(this.end=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function l(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function u(t,e,n){var r=e.length-1;if(r=0?(i>0&&(t.lastNeed=i-1),i):--r=0?(i>0&&(t.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0))}function c(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}function f(t){var e=this.lastTotal-this.lastNeed,n=c(this,t,e);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function h(t,e){var n=u(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function d(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function p(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function g(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function v(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function y(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function m(t){return t.toString(this.encoding)}function b(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=a().reset(t);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,r=e.pipelineContext,a=r.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new i,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},ac0f:function(t,e,n){var r=n("cbe5"),i=n("401b"),o=n("4a3f"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,f=o.cubicDerivativeAt,h=[];function d(t,e,n){var r=t.cpx2,i=t.cpy2;return null===r||null===i?[(n?f:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?f:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=r.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,f=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,r),null==c||null==f?(d<1&&(a(n,l,i,d,h),l=h[1],i=h[2],a(r,u,o,d,h),u=h[1],o=h[2]),t.quadraticCurveTo(l,u,i,o)):(d<1&&(s(n,l,c,i,d,h),l=h[1],c=h[2],i=h[3],s(r,u,f,o,d,h),u=h[1],f=h[2],o=h[3]),t.bezierCurveTo(l,u,c,f,i,o)))},pointAt:function(t){return d(this.shape,t,!1)},tangentAt:function(t){var e=d(this.shape,t,!0);return i.normalize(e,e)}});t.exports=p},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},adda:function(t,e,n){var r=n("94e4"),i=r.circularLayout;function o(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&i(t,"symbolSize")}))}t.exports=o},addb:function(t,e,n){var r=n("4dae"),i=Math.floor,o=function(t,e){var n=t.length,l=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,l),e),o(r(t,l),e),e)},a=function(t,e){var n,r,i=t.length,o=1;while(o0)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){var i=e.length,o=n.length,a=0,s=0;while(a1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(t instanceof Array))return console.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(t.length<=2)return console.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var i=t[0],a=t.length-1,u=new Array(a).fill(0).map((function(i,a){return[].concat((0,o["default"])(s(t,a,e,n,r)),[t[a+1]])}));return e&&l(u,i),u.unshift(t[0]),u}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,o=t.length;if(!(o<3||e>=o)){var a=e-1;a<0&&(a=n?o+a:0);var s=e+1;s>=o&&(s=n?s-o:o-1);var l=e+2;l>=o&&(l=n?l-o:o-1);var u=t[a],c=t[e],f=t[s],h=t[l];return[[c[0]+r*(f[0]-u[0]),c[1]+r*(f[1]-u[1])],[f[0]-i*(h[0]-c[0]),f[1]-i*(h[1]-c[1])]]}}function l(t,e){var n=t[0],r=t.slice(-1)[0];return t.push([u(r[1],r[2]),u(n[0],e),e]),t}function u(t,e){var n=(0,i["default"])(t,2),r=n[0],o=n[1],a=(0,i["default"])(e,2),s=a[0],l=a[1],u=s-r,c=l-o;return[s+u,l+c]}var c=a;e["default"]=c},ae46:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("73ca"),a=n("0fd3"),s=n("7e5b"),l=n("4527"),u=n("6a4c"),c=n("a38d"),f=n("6582"),h=n("b0af"),d=h.createClipPath,p=i.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var r=t.getData(),i=this._updateLineDraw(r,t),o=t.get("zlevel"),a=t.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=t.get("clip",!0)&&d(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var r=t.getData(),i=this._updateLineDraw(r,t);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var r=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=f.reset(t);o.progress&&o.progress({start:0,end:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,r=this._showEffect(e),i=!!e.get("polyline"),f=e.pipelineContext,h=f.large;return n&&r===this._hasEffet&&i===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new c:new o(i?r?u:l:r?a:s),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=h,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=p},ae69:function(t,e,n){var r=n("cbe5"),i=r.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,r=e.cx,i=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(r-o,i),t.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),t.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),t.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),t.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),t.closePath()}});t.exports=i},ae75:function(t,e,n){var r=n("6d8b"),i=["rect","polygon","keep","clear"];function o(t,e){var n=t&&t.brush;if(r.isArray(n)||(n=n?[n]:[]),n.length){var o=[];r.each(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(o=o.concat(e))}));var s=t&&t.toolbox;r.isArray(s)&&(s=s[0]),s||(s={feature:{}},t.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),a(c),e&&!c.length&&c.push.apply(c,i)}}function a(t){var e={};r.each(t,(function(t){e[t]=1})),t.length=0,r.each(e,(function(e,n){t.push(n)}))}t.exports=o},ae84:function(t,e,n){"use strict";function r(t){const e=t.split("/");for(let n=0;n3}))}},af24:function(t,e,n){n("48c7"),n("f273")},afa0:function(t,e,n){var r=n("6d8b"),i=n("22d1"),o=n("e1fc"),a=n("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},aff5:function(t,e,n){var r=n("23e7");r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},aff9:function(t,e,n){"use strict";t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}},b006:function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("fab2"),a=n("fc82"),s=n("f4a2"),l=n("2306"),u=["axisLine","axisTickLabel","axisName"],c=r.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new a(e.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(t,e,n,r){if(!f(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=d(t,e),c=s.coordinateSystem,h=t.getAreaSelectStyle(),p=h.width,g=t.axis.dim,v=c.getAxisLayout(g),y=i.extend({strokeContainThreshold:p},v),m=new o(t,y);i.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(y,h,t,s,p,n);var b=r&&!1===r.animation?null:t;l.groupTransition(a,this._axisGroup,b)}}},_refreshBrushController:function(t,e,n,r,i,o){var a=n.axis.getExtent(),u=a[1]-a[0],c=Math.min(30,.1*Math.abs(u)),f=l.BoundingRect.create({x:a[0],y:-i/2,width:u,height:i});f.x-=c,f.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(f),isTargetByCursor:s.makeRectIsTargetByCursor(f,o,r),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(f,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(h(n))},_onBrush:function(t,e){var n=this.axisModel,r=n.axis,o=i.map(t,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function f(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function h(t){var e=t.axis;return i.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function d(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var p=c;t.exports=p},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b06d:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.extendNewGraph=C,e["default"]=e.text=e.bezierCurve=e.smoothline=e.polyline=e.regPolygon=e.sector=e.arc=e.ring=e.rect=e.ellipse=e.circle=void 0;var i=r(n("448a")),o=r(n("278c")),a=r(n("050c")),s=n("5557"),l=n("e169"),u=a["default"].polylineToBezierCurve,c=a["default"].bezierCurveToPolyline,f={shape:{rx:0,ry:0,r:0},validator:function(t){var e=t.shape,n=e.rx,r=e.ry,i=e.r;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i||(console.error("Circle shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r;n.arc(i,o,a>0?a:.01,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(t,e){var n=e.shape,r=n.rx,i=n.ry,o=n.r;return(0,s.checkPointIsInCircle)(t,r,i,o)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};e.circle=f;var h={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(t){var e=t.shape,n=e.rx,r=e.ry,i=e.hr,o=e.vr;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.hr,s=r.vr;n.ellipse(i,o,a>0?a:.01,s>0?s:.01,0,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(t,e){var n=e.shape,r=n.rx,i=n.ry,o=n.hr,a=n.vr,l=Math.max(o,a),u=Math.min(o,a),c=Math.sqrt(l*l-u*u),f=[r-c,i],h=[r+c,i],d=(0,s.getTwoPointDistance)(t,f)+(0,s.getTwoPointDistance)(t,h);return d<=2*l},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};e.ellipse=h;var d={shape:{x:0,y:0,w:0,h:0},validator:function(t){var e=t.shape,n=e.x,r=e.y,i=e.w,o=e.h;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o||(console.error("Rect shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.x,o=r.y,a=r.w,s=r.h;n.rect(i,o,a,s),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(t,e){var n=e.shape,r=n.x,i=n.y,o=n.w,a=n.h;return(0,s.checkPointIsInRect)(t,r,i,o,a)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.x,o=n.y,a=n.w,s=n.h;r.graphCenter=[i+a/2,o+s/2]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape;this.attr("shape",{x:i.x+n,y:i.y+r})}};e.rect=d;var p={shape:{rx:0,ry:0,r:0},validator:function(t){var e=t.shape,n=e.rx,r=e.ry,i=e.r;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i||(console.error("Ring shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r;n.arc(i,o,a>0?a:.01,0,2*Math.PI),n.stroke(),n.closePath()},hoverCheck:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry,a=n.r,l=r.lineWidth,u=l/2,c=a-u,f=a+u,h=(0,s.getTwoPointDistance)(t,[i,o]);return h>=c&&h<=f},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};e.ring=p;var g={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(t){var e=t.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(t){return"number"!==typeof e[t]}))||(console.error("Arc shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r,s=r.startAngle,l=r.endAngle,u=r.clockWise;n.arc(i,o,a>0?a:.001,s,l,!u),n.stroke(),n.closePath()},hoverCheck:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry,a=n.r,l=n.startAngle,u=n.endAngle,c=n.clockWise,f=r.lineWidth,h=f/2,d=a-h,p=a+h;return!(0,s.checkPointIsInSector)(t,i,o,d,l,u,c)&&(0,s.checkPointIsInSector)(t,i,o,p,l,u,c)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape;this.attr("shape",{rx:i.rx+n,ry:i.ry+r})}};e.arc=g;var v={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(t){var e=t.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(t){return"number"!==typeof e[t]}))||(console.error("Sector shape configuration is abnormal!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape;n.beginPath();var i=r.rx,o=r.ry,a=r.r,s=r.startAngle,l=r.endAngle,u=r.clockWise;n.arc(i,o,a>0?a:.01,s,l,!u),n.lineTo(i,o),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(t,e){var n=e.shape,r=n.rx,i=n.ry,o=n.r,a=n.startAngle,l=n.endAngle,u=n.clockWise;return(0,s.checkPointIsInSector)(t,r,i,o,a,l,u)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape,o=i.rx,a=i.ry;this.attr("shape",{rx:o+n,ry:a+r})}};e.sector=v;var y={shape:{rx:0,ry:0,r:0,side:0},validator:function(t){var e=t.shape,n=e.side,r=["rx","ry","r","side"];return r.find((function(t){return"number"!==typeof e[t]}))?(console.error("RegPolygon shape configuration is abnormal!"),!1):!(n<3)||(console.error("RegPolygon at least trigon!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=e.cache;n.beginPath();var o=r.rx,a=r.ry,u=r.r,c=r.side;if(!i.points||i.rx!==o||i.ry!==a||i.r!==u||i.side!==c){var f=(0,s.getRegularPolygonPoints)(o,a,u,c);Object.assign(i,{points:f,rx:o,ry:a,r:u,side:c})}var h=i.points;(0,l.drawPolylinePath)(n,h),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(t,e){var n=e.cache,r=n.points;return(0,s.checkPointIsInPolygon)(t,r)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.rx,o=n.ry;r.graphCenter=[i,o]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape,a=e.cache,s=i.rx,l=i.ry;a.rx+=n,a.ry+=r,this.attr("shape",{rx:s+n,ry:l+r}),a.points=a.points.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]}))}};e.regPolygon=y;var m={shape:{points:[],close:!1},validator:function(t){var e=t.shape,n=e.points;return n instanceof Array||(console.error("Polyline points should be an array!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=e.style.lineWidth;n.beginPath();var o=r.points,a=r.close;1===i&&(o=(0,s.eliminateBlur)(o)),(0,l.drawPolylinePath)(n,o),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(t,e){var n=e.shape,r=e.style,i=n.points,o=n.close,a=r.lineWidth;return o?(0,s.checkPointIsInPolygon)(t,i):(0,s.checkPointIsNearPolyline)(t,i,a)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.points;r.graphCenter=i[0]},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape,a=i.points,s=a.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]}));this.attr("shape",{points:s})}};e.polyline=m;var b={shape:{points:[],close:!1},validator:function(t){var e=t.shape,n=e.points;return n instanceof Array||(console.error("Smoothline points should be an array!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=e.cache,o=r.points,a=r.close;if(!i.points||i.points.toString()!==o.toString()){var f=u(o,a),h=c(f);Object.assign(i,{points:(0,s.deepClone)(o,!0),bezierCurve:f,hoverPoints:h})}var d=i.bezierCurve;n.beginPath(),(0,l.drawBezierCurvePath)(n,d.slice(1),d[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(t,e){var n=e.cache,r=e.shape,i=e.style,o=n.hoverPoints,a=r.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(t,o):(0,s.checkPointIsNearPolyline)(t,o,l)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.points;r.graphCenter=i[0]},move:function(t,e){var n=t.movementX,r=t.movementY,a=e.shape,s=e.cache,l=a.points,u=l.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]}));s.points=u;var c=(0,o["default"])(s.bezierCurve[0],2),f=c[0],h=c[1],d=s.bezierCurve.slice(1);s.bezierCurve=[[f+n,h+r]].concat((0,i["default"])(d.map((function(t){return t.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]}))})))),s.hoverPoints=s.hoverPoints.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]})),this.attr("shape",{points:u})}};e.smoothline=b;var x={shape:{points:[],close:!1},validator:function(t){var e=t.shape,n=e.points;return n instanceof Array||(console.error("BezierCurve points should be an array!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,i=e.cache,o=r.points,a=r.close;if(!i.points||i.points.toString()!==o.toString()){var u=c(o,20);Object.assign(i,{points:(0,s.deepClone)(o,!0),hoverPoints:u})}n.beginPath(),(0,l.drawBezierCurvePath)(n,o.slice(1),o[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(t,e){var n=e.cache,r=e.shape,i=e.style,o=n.hoverPoints,a=r.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(t,o):(0,s.checkPointIsNearPolyline)(t,o,l)},setGraphCenter:function(t,e){var n=e.shape,r=e.style,i=n.points;r.graphCenter=i[0]},move:function(t,e){var n=t.movementX,r=t.movementY,a=e.shape,s=e.cache,l=a.points,u=(0,o["default"])(l[0],2),c=u[0],f=u[1],h=l.slice(1),d=[[c+n,f+r]].concat((0,i["default"])(h.map((function(t){return t.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]}))}))));s.points=d,s.hoverPoints=s.hoverPoints.map((function(t){var e=(0,o["default"])(t,2),i=e[0],a=e[1];return[i+n,a+r]})),this.attr("shape",{points:d})}};e.bezierCurve=x;var _={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(t){var e=t.shape,n=e.content,r=e.position,i=e.rowGap;return"string"!==typeof n?(console.error("Text content should be a string!"),!1):r instanceof Array?"number"===typeof i||(console.error("Text rowGap should be a number!"),!1):(console.error("Text position should be an array!"),!1)},draw:function(t,e){var n=t.ctx,r=e.shape,a=r.content,s=r.position,l=r.maxWidth,u=r.rowGap,c=n.textBaseline,f=n.font,h=parseInt(f.replace(/\D/g,"")),d=s,p=(0,o["default"])(d,2),g=p[0],v=p[1];a=a.split("\n");var y=a.length,m=h+u,b=y*m-u,x=0;"middle"===c&&(x=b/2,v+=h/2),"bottom"===c&&(x=b,v+=h),s=new Array(y).fill(0).map((function(t,e){return[g,v+e*m-x]})),n.beginPath(),a.forEach((function(t,e){n.fillText.apply(n,[t].concat((0,i["default"])(s[e]),[l])),n.strokeText.apply(n,[t].concat((0,i["default"])(s[e]),[l]))})),n.closePath()},hoverCheck:function(t,e){e.shape,e.style;return!1},setGraphCenter:function(t,e){var n=e.shape,r=e.style,o=n.position;r.graphCenter=(0,i["default"])(o)},move:function(t,e){var n=t.movementX,r=t.movementY,i=e.shape,a=(0,o["default"])(i.position,2),s=a[0],l=a[1];this.attr("shape",{position:[s+n,l+r]})}};e.text=_;var w=new Map([["circle",f],["ellipse",h],["rect",d],["ring",p],["arc",g],["sector",v],["regPolygon",y],["polyline",m],["smoothline",b],["bezierCurve",x],["text",_]]),S=w;function C(t,e){t&&e?e.shape?e.validator?e.draw?w.set(t,e):console.error("Required function of draw to extendNewGraph!"):console.error("Required function of validator to extendNewGraph!"):console.error("Required attribute of shape to extendNewGraph!"):console.error("ExtendNewGraph Missing Parameters!")}e["default"]=S},b0af:function(t,e,n){var r=n("2306"),i=n("3842"),o=i.round;function a(t,e,n){var i=t.getArea(),o=t.getBaseAxis().isHorizontal(),a=i.x,s=i.y,l=i.width,u=i.height,c=n.get("lineStyle.width")||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var f=new r.Rect({shape:{x:a,y:s,width:l,height:u}});return e&&(f.shape[o?"width":"height"]=0,r.initProps(f,{shape:{width:l,height:u}},n)),f}function s(t,e,n){var i=t.getArea(),a=new r.Sector({shape:{cx:o(t.cx,1),cy:o(t.cy,1),r0:o(i.r0,1),r:o(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&(a.shape.endAngle=i.startAngle,r.initProps(a,{shape:{endAngle:i.endAngle}},n)),a}function l(t,e,n){return t?"polar"===t.type?s(t,e,n):"cartesian2d"===t.type?a(t,e,n):null:null}e.createGridClipPath=a,e.createPolarClipPath=s,e.createClipPath=l},b0c0:function(t,e,n){var r=n("83ab"),i=n("5e77").EXISTS,o=n("e330"),a=n("9bf2").f,s=Function.prototype,l=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(u.exec),f="name";r&&!i&&a(s,f,{configurable:!0,get:function(){try{return c(u,l(this))[1]}catch(t){return""}}})},b11c:function(t,e,n){n("8ec5"),n("db9e"),n("4e9f"),n("d3a0"),n("767c"),n("7c4d"),n("df70")},b12f:function(t,e,n){var r=n("e1fc"),i=n("8918"),o=n("625e"),a=function(){this.group=new r,this.uid=i.getUID("viewComponent")};a.prototype={constructor:a,init:function(t,e){},render:function(t,e,n,r){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,r){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;t.exports=l},b16f:function(t,e,n){var r=n("4ab1"),i=n("6d8b"),o=n("4942"),a=n("41ef");function s(t,e){r.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(s,r),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;i.each(["fill","stroke"],(function(r){if(e.style[r]&&("linear"===e.style[r].type||"radial"===e.style[r].type)){var i,o=e.style[r],a=n.getDefs(!0);o._dom?(i=o._dom,a.contains(o._dom)||n.addDom(i)):i=n.add(o),n.markUsed(e);var s=i.getAttribute("id");t.setAttribute(r,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return o("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;r.prototype.update.call(this,t,(function(){var n=t.type,r=t._dom.tagName;"linear"===n&&"linearGradient"===r||"radial"===n&&"radialGradient"===r?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void o("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,r=0,i=n.length;r-1){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[r].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&r.prototype.markUsed.call(this,e._dom),e=t.style.stroke,e&&e._dom&&r.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},b1d4:function(t,e,n){var r=n("862d");function i(t,e){return e=e||{},r(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=i},b289:function(t,e,n){(function(e){const n=t.exports;n.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},n.codes={};for(const t in n.types){const e=n.types[t];n.codes[e]=t}n.CMD_SHIFT=4,n.CMD_MASK=240,n.DUP_MASK=8,n.QOS_MASK=3,n.QOS_SHIFT=1,n.RETAIN_MASK=1,n.VARBYTEINT_MASK=127,n.VARBYTEINT_FIN_MASK=128,n.VARBYTEINT_MAX=268435455,n.SESSIONPRESENT_MASK=1,n.SESSIONPRESENT_HEADER=e.from([n.SESSIONPRESENT_MASK]),n.CONNACK_HEADER=e.from([n.codes.connack<[0,1].map(i=>[0,1].map(o=>{const a=e.alloc(1);return a.writeUInt8(n.codes[t]<e.from([t])),n.EMPTY={pingreq:e.from([n.codes.pingreq<<4,0]),pingresp:e.from([n.codes.pingresp<<4,0]),disconnect:e.from([n.codes.disconnect<<4,0])}}).call(this,n("1c35").Buffer)},b311:function(t,e,n){ /*! * clipboard.js v2.0.8 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ (function(e,n){t.exports=n()})(0,(function(){return function(){var t={134:function(t,e,n){"use strict";n.d(e,{default:function(){return M}});var r=n(279),i=n.n(r),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function u(t){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=l()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=l()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==u(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),p=d;function g(t){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===g(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new p({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return k("action",t)}},{key:"defaultTarget",value:function(t){var e=k("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return k("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),n}(i()),M=O},828:function(t){var e=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}function r(t,n){while(t&&t.nodeType!==e){if("function"===typeof t.matches&&t.matches(n))return t;t=t.parentNode}}t.exports=r},438:function(t,e,n){var r=n(828);function i(t,e,n,r,i){var o=a.apply(this,arguments);return t.addEventListener(n,o,i),{destroy:function(){t.removeEventListener(n,o,i)}}}function o(t,e,n,r,o){return"function"===typeof t.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,n,r,o)})))}function a(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}t.exports=o},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},370:function(t,e,n){var r=n(879),i=n(438);function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return a(t,e,n);if(r.nodeList(t))return s(t,e,n);if(r.string(t))return l(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function s(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function l(t,e,n){return i(document.body,t,e,n)}t.exports=o},817:function(t){function e(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}t.exports=e},279:function(t){function e(){}e.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;for(r;rx||Math.abs(t.dy)>x)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new c(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=f.create();f.translate(s,s,[-e,-n]),f.scale(s,s,[t.scale,t.scale]),f.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var i=r.hostTree.data.getItemModel(r.dataIndex),o=i.get("link",!0),a=i.get("target",!0)||"blank";o&&g(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){function r(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,v(r,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=I(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n}});function I(){return{nodeGroup:[],background:[],content:[]}}function P(t,e,n,r,a,s,l,u,c,f){if(l){var h=l.getLayout(),d=t.getData();if(d.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var p=h.width,g=h.height,v=h.borderWidth,b=h.invisible,x=l.getRawIndex(),A=u&&u.getRawIndex(),T=l.viewChildren,I=h.upperHeight,P=T&&T.length,D=l.getModel("itemStyle"),R=l.getModel("emphasis.itemStyle"),N=G("nodeGroup",y);if(N){if(c.add(N),N.attr("position",[h.x||0,h.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=g,h.isAboveViewRoot)return N;var j=l.getModel(),B=G("background",m,f,k);if(B&&z(N,B,P&&h.upperLabelHeight),P)o.isHighDownDispatcher(N)&&o.setAsHighDownDispatcher(N,!1),B&&(o.setAsHighDownDispatcher(B,!0),d.setItemGraphicEl(l.dataIndex,B));else{var F=G("content",m,f,O);F&&V(N,F),B&&o.isHighDownDispatcher(B)&&o.setAsHighDownDispatcher(B,!1),o.setAsHighDownDispatcher(N,!0),d.setItemGraphicEl(l.dataIndex,N)}return N}}}function z(e,n,r){if(n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:g}),b)q(n);else{n.invisible=!1;var i=l.getVisual("borderColor",!0),a=R.get("borderColor"),s=E(D);s.fill=i;var u=M(R);if(u.fill=a,r){var c=p-2*v;H(s,u,i,c,I,{x:v,y:0,width:c,height:I})}else s.text=u.text=null;n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}function V(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var r=Math.max(p-2*v,0),i=Math.max(g-2*v,0);if(n.culling=!0,n.setShape({x:v,y:v,width:r,height:i}),b)q(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=E(D);s.fill=a;var u=M(R);H(s,u,a,r,i),n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}function q(t){!t.invisible&&s.push(t)}function H(e,n,r,a,s,u){var c=j.get("name"),f=j.getModel(u?S:_),d=j.getModel(u?C:w),p=f.getShallow("show");o.setLabelStyle(e,n,f,d,{defaultText:p?c:null,autoColor:r,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),W(e,u,h),W(n,u,h),u&&(e.textRect=i.clone(u)),e.truncate=p&&f.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function W(e,n,r){var i=e.text;if(!n&&r.isLeafRoot&&null!=i){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+i:i}}function G(t,r,i,o){var s=null!=A&&n[t][A],l=a[t];return s?(n[t][A]=null,U(l,s,t)):b||(s=new r({z:L(i,o)}),s.__tmDepth=i,s.__tmStorageName=t,$(l,s,t)),e[t][x]=s}function U(t,e,n){var r=t[x]={};r.old="nodeGroup"===n?e.position.slice():i.extend({},e.shape)}function $(t,e,n){var i=t[x]={},o=l.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!r&&c&&c.old&&(s=c.old.width,u=c.old.height),i.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==n}}function L(t,e){var n=t*A+e;return(n-1)/n}t.exports=T},b419:function(t,e,n){var r=n("6d8b"),i=n("2306"),o=n("4319"),a=n("6679"),s=n("fab2"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function c(t){var e=t.getRadiusAxis();return e.inverse?0:1}function f(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var h=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=r.map(n.getViewLabels(),(function(t){t=r.clone(t);return t.coord=n.dataToCoord(t.tickValue),t}));f(u),f(a),r.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,i,a,s,o,u)}),this)}},_axisLine:function(t,e,n,r,o){var a,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;a=0===o[u]?new i.Circle({shape:{cx:e.cx,cy:e.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new i.Ring({shape:{cx:e.cx,cy:e.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,o,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),f=a[c(e)],h=r.map(n,(function(t){return new i.Line({shape:u(e,[f,f+l],t.coord)})}));this.group.add(i.mergePath(h,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,o,a){if(o.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),f=(s.get("inside")?-1:1)*l.get("length"),h=a[c(e)],d=[],p=0;py?"left":"right",x=Math.abs(v[1]-m)/g<.3?"middle":v[1]>m?"top":"bottom";f&&f[u]&&f[u].textStyle&&(a=new o(f[u].textStyle,h,h.ecModel));var _=new i.Text({silent:s.isLabelSilent(t)});this.group.add(_),i.setTextStyle(_.style,a,{x:v[0],y:v[1],textFill:a.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:x}),p&&(_.eventData=s.makeAxisEventDataBase(t),_.eventData.targetType="axisLabel",_.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),f=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d0?r:n)(e)}},b4de:function(t,e,n){e=t.exports=n("3bd2"),e.Stream=e,e.Readable=e,e.Writable=n("1beb"),e.Duplex=n("030c"),e.Transform=n("7b6a"),e.PassThrough=n("aebc"),e.finished=n("ddda"),e.pipeline=n("32c3")},b4f8:function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("1a2d"),a=n("577e"),s=n("5692"),l=n("0b43"),u=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=a(t);if(o(u,e))return u[e];var n=i("Symbol")(e);return u[e]=n,c[n]=e,n}})},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),l=n("c345"),u=n("3934"),c=n("2d83"),f=n("2444"),h=n("7a77");t.exports=function(t){return new Promise((function(e,n){var d,p=t.data,g=t.headers,v=t.responseType;function y(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}r.isFormData(p)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+x)}var _=s(t.baseURL,t.url);function w(){if(m){var r="getAllResponseHeaders"in m?l(m.getAllResponseHeaders()):null,o=v&&"text"!==v&&"json"!==v?m.response:m.responseText,a={data:o,status:m.status,statusText:m.statusText,headers:r,config:t,request:m};i((function(t){e(t),y()}),(function(t){n(t),y()}),a),m=null}}if(m.open(t.method.toUpperCase(),a(_,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=w:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(w)},m.onabort=function(){m&&(n(c("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(c("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var S=(t.withCredentials||u(_))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(g[t.xsrfHeaderName]=S)}"setRequestHeader"in m&&r.forEach(g,(function(t,e){"undefined"===typeof p&&"content-type"===e.toLowerCase()?delete g[e]:m.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),v&&"json"!==v&&(m.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){m&&(n(!t||t&&t.type?new h("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),p||(p=null),m.send(p)}))}},b575:function(t,e,n){var r,i,o,a,s,l,u,c,f=n("da84"),h=n("0366"),d=n("06cf").f,p=n("2cf49").set,g=n("1cdc"),v=n("d4c3"),y=n("a4b4"),m=n("605d"),b=f.MutationObserver||f.WebKitMutationObserver,x=f.document,_=f.process,w=f.Promise,S=d(f,"queueMicrotask"),C=S&&S.value;C||(r=function(){var t,e;m&&(t=_.domain)&&t.exit();while(i){e=i.fn,i=i.next;try{e()}catch(n){throw i?a():o=void 0,n}}o=void 0,t&&t.enter()},g||m||y||!b||!x?!v&&w&&w.resolve?(u=w.resolve(void 0),u.constructor=w,c=h(u.then,u),a=function(){c(r)}):m?a=function(){_.nextTick(r)}:(p=h(p,f),a=function(){p(r)}):(s=!0,l=x.createTextNode(""),new b(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=C||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},b5c7:function(t,e,n){var r=n("282b"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(t){var e=i(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}};t.exports=o},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("1a2d"),a=n("90e3"),s=n("04f8"),l=n("fdbf"),u=i("wks"),c=r.Symbol,f=c&&c["for"],h=l?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(c,t)?u[t]=c[t]:u[t]=l&&f?f(e):h(e)}return u[t]}},b636:function(t,e,n){var r=n("e065");r("asyncIterator")},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(t){return o(i(t))}})},b680:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("5926"),a=n("408a"),s=n("1148"),l=n("d039"),u=RangeError,c=String,f=Math.floor,h=i(s),d=i("".slice),p=i(1..toFixed),g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},y=function(t,e,n){var r=-1,i=n;while(++r<6)i+=e*t[r],t[r]=i%1e7,i=f(i/1e7)},m=function(t,e){var n=6,r=0;while(--n>=0)r+=t[n],t[n]=f(r/e),r=r%e*1e7},b=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var r=c(t[e]);n=""===n?r:n+h("0",7-r.length)+r}return n},x=l((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!l((function(){p({})}));r({target:"Number",proto:!0,forced:x},{toFixed:function(t){var e,n,r,i,s=a(this),l=o(t),f=[0,0,0,0,0,0],p="",x="0";if(l<0||l>20)throw u("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(p="-",s=-s),s>1e-21)if(e=v(s*g(2,69,1))-69,n=e<0?s*g(2,-e,1):s/g(2,e,1),n*=4503599627370496,e=52-e,e>0){y(f,0,n),r=l;while(r>=7)y(f,1e7,0),r-=7;y(f,g(10,r,1),0),r=e-1;while(r>=23)m(f,1<<23),r-=23;m(f,1<0?(i=x.length,x=p+(i<=l?"0."+h("0",l-i)+x:d(x,0,i-l)+"."+d(x,i-l))):x=p+x,x}})},b719:function(t,e,n){var r=n("697e7");e.zrender=r;var i=n("1687");e.matrix=i;var o=n("401b");e.vector=o;var a=n("6d8b"),s=n("41ef");e.color=s;var l=n("2306"),u=n("3842");e.number=u;var c=n("eda2");e.format=c;var f=n("88b3");f.throttle;e.throttle=f.throttle;var h=n("1548");e.helper=h;var d=n("bda7");e.parseGeoJSON=d;var p=n("6179");e.List=p;var g=n("4319");e.Model=g;var v=n("84ce");e.Axis=v;var y=n("22d1");e.env=y;var m=d,b={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){b[t]=a[t]}));var x={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){x[t]=l[t]})),e.parseGeoJson=m,e.util=b,e.graphic=x},b727:function(t,e,n){var r=n("0366"),i=n("e330"),o=n("44ad"),a=n("7b0b"),s=n("07fa"),l=n("65f0"),u=i([].push),c=function(t){var e=1==t,n=2==t,i=3==t,c=4==t,f=6==t,h=7==t,d=5==t||f;return function(p,g,v,y){for(var m,b,x=a(p),_=o(x),w=r(g,v),S=s(_),C=0,A=y||l,k=e?A(p,S):n||h?A(p,0):void 0;S>C;C++)if((d||C in _)&&(m=_[C],b=w(m,C,x),t))if(e)k[C]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return C;case 2:u(k,m)}else switch(t){case 4:return!1;case 7:u(k,m)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},b72d:function(t,e,n){},b7d1:function(t,e,n){(function(e){function n(t,e){if(r("noDeprecation"))return t;var n=!1;function i(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return i}function r(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,n("c8ba"))},b809:function(t,e,n){var r=n("6d8b"),i=n("29a8"),o=n("2b17"),a=o.retrieveRawValue;function s(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var o=0;e.eachSeries((function(t,e){++o}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var f=v();s=f?p(g("general.withTitle"),{title:f}):g("general.withoutTitle");var h=[],d=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(d),{seriesCount:o}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";n=g(r?i+"withName":i+"withoutName"),n=p(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:y(t.subType)});var s=t.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],f=0;f=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw a}}}}},b8ec:function(t,e,n){var r=n("3eba");r.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},b980:function(t,e,n){var r=n("d039"),i=n("5c6c");t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},b98b:function(t,e,n){t.exports=n("faa1").EventEmitter},b9c7:function(t,e,n){n("e507"),t.exports=n("5524").Object.assign},ba01:function(t,e,n){t.exports=n("051b")},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bb70:function(t,e,n){var r=n("e86a"),i=n("3842"),o=i.parsePercent,a=Math.PI/180;function s(t,e,n,r,i,o,a,s,l,u){function c(e,n,r,i){for(var o=e;ol+a)break;if(t[o].y+=r,o>e&&o+1t[o].y+t[o].height)return void f(o,r/2)}f(n-1,r/2)}function f(e,n){for(var r=e;r>=0;r--){if(t[r].y-n0&&t[r].y>t[r-1].y+t[r-1].height)break}}function h(t,e,n,r,i,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(h=a-10),!e&&h<=a&&(h=a+10),t[s].x=n+h*o,a=h}}t.sort((function(t,e){return t.y-e.y}));for(var d,p=0,g=t.length,v=[],y=[],m=0;m=n?y.push(t[m]):v.push(t[m]);h(v,!1,e,n,r,i),h(y,!0,e,n,r,i)}function l(t,e,n,i,o,a,l,c){for(var f=[],h=[],d=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":T>0?"left":"right"}var q=u.get("rotate");P="number"===typeof q?q*(Math.PI/180):q?T<0?-E+Math.PI:-E:0,p=!!P,a.label={x:A,y:k,position:v,height:D.height,len:S,len2:C,linePoints:O,textAlign:M,verticalAlign:"middle",rotation:P,inside:R,labelDistance:y,labelAlignTo:m,labelMargin:b,bleedMargin:x,textRect:D,text:L,font:_},R||d.push(a.label)}})),!p&&t.get("avoidLabelOverlap")&&l(d,c,f,e,n,i,s,u)}t.exports=c},bbc7:function(t,e,n){"use strict";var r=String.prototype.replace,i=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:function(t){return r.call(t,i,"+")},RFC3986:function(t){return String(t)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},bc3a:function(t,e,n){t.exports=n("cee4")},bc5f:function(t,e,n){var r=n("6cb7");r.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},bc96:function(t,e,n){},bcaa:function(t,e,n){var r=n("4ab1"),i=n("6d8b");function o(t,e){r.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function a(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}i.inherits(o,r),o.prototype.addWithoutUpdate=function(t,e){if(e&&a(e.style)){var n;if(e._shadowDom){n=e._shadowDom;var r=this.getDefs(!0);r.contains(e._shadowDom)||this.addDom(n)}else n=this.add(e);this.markUsed(e);var i=n.getAttribute("id");t.style.filter="url(#"+i+")"}},o.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(t,e){var n=e.style;if(a(n)){var i=this;r.prototype.update.call(this,e,(function(){i.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},o.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},o.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var r,i,o,a,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)r=s.shadowOffsetX||0,i=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);r=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",r/l),n.setAttribute("dy",i/u),n.setAttribute("flood-color",a);var c=o/2/l,f=o/2/u,h=c+" "+f;n.setAttribute("stdDeviation",h),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},o.prototype.markUsed=function(t){t._shadowDom&&r.prototype.markUsed.call(this,t._shadowDom)};var s=o;t.exports=s},bcbe:function(t,e,n){var r=n("6d8b"),i=n("fab2"),o=n("2306"),a=n("edb9"),s=n("6679"),l=n("58df"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,f=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],d=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new o.Group;var c=a.layout(t),p=new i(t,c);r.each(f,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),r.each(h,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),o.groupTransition(u,this._axisGroup,t),d.superCall(this,"render",t,e,n,s)},remove:function(){c(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),r=n.getModel("lineStyle"),i=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,f=e.getTicksCoords({tickModel:n}),h=[],d=[],p=0;p0&&t.animate(e,!1).when(null==i?500:i,s).delay(o||0)}function p(t,e,n,r){if(e){var i={};i[e]={},i[e][n]=r,t.attr(i)}else t.attr(n,r)}f.prototype={constructor:f,animate:function(t,e){var n,o=!1,a=this,s=this.__zr;if(t){var l=t.split("."),u=a;o="shape"===l[0];for(var f=0,h=l.length;f=0)&&t(o,r,i)}))}var p=d.prototype;function g(t){return t[0]>t[1]&&t.reverse(),t}function v(t,e){return a.parseFinder(t,e,{includeMainTypes:h})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=x[t.brushType](0,n,e);t.__rangeOffset={offset:w[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}}))},p.matchOutputRanges=function(t,e,n){l(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&i.each(r.coordSyses,(function(r){var i=x[t.brushType](1,r,t.range);n(t,i.values,r,e)}))}),this)},p.setInputRanges=function(t,e){l(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var r=x[t.brushType](0,n.coordSys,t.coordRange),i=t.__rangeOffset;t.range=i?w[t.brushType](r.values,i.offset,C(r.xyMinMax,i.xyMinMax)):r.values}}),this)},p.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:s.makeRectPanelClipPath(r),isTargetByCursor:s.makeRectIsTargetByCursor(r,t,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(r)}}))},p.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&u(r.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=v(e,t),i=0;i=0||u(r,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:b.grid,xAxisDeclared:s[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){l(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:b.geo})}))}},m=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],b={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(o.getTransform(t)),e}},x={lineX:c(_,0),lineY:c(_,1),rect:function(t,e,n){var r=e[f[t]]([n[0][0],n[1][0]]),i=e[f[t]]([n[0][1],n[1][1]]),o=[g([r[0],i[0]]),g([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n){var r=[[1/0,-1/0],[1/0,-1/0]],o=i.map(n,(function(n){var i=e[f[t]](n);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i}));return{values:o,xyMinMax:r}}};function _(t,e,n,r){var o=n.getAxis(["x","y"][t]),a=g(i.map([0,1],(function(t){return e?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))),s=[];return s[t]=a,s[1-t]=[NaN,NaN],{values:a,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return i.map(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function S(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function C(t,e){var n=A(t),r=A(e),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function A(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var k=d;t.exports=k},bda7:function(t,e,n){var r=n("6d8b"),i=n("f279");function o(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,r=0;r>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function s(t,e){return o(t),r.map(r.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,o=t.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&r.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new i(n[e||"name"],s,n.cp);return l.properties=n,l}))}t.exports=s},bdc0:function(t,e,n){var r=n("3eba");n("d2a5"),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},be3f:function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var i=n("85f8"),o=n("13a8");n("3fb5")(u,i);for(var a=r(o.prototype),s=0;s=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c401:function(t,e,n){"use strict";var r=n("c532"),i=n("2444");t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c423:function(t,e,n){},c430:function(t,e){t.exports=!1},c4a3:function(t,e){function n(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var n=e();return n.indexOfName(t)>=0},this.indexOfName=function(e){var n=t();return n.indexOfName(e)},this.getItemVisual=function(e,n){var r=t();return r.getItemVisual(e,n)}}var r=n;t.exports=r},c4c7:function(t,e,n){"use strict";const{Buffer:r}=n("1c35"),i=n("035d").Transform,o=n("fb12");let a,s,l,u=!1;function c(){const t=new i;return t._write=function(t,e,n){a.sendSocketMessage({data:t.buffer,success:function(){n()},fail:function(){n(new Error)}})},t._flush=function(t){a.closeSocket({success:function(){t()}})},t}function f(t){t.hostname||(t.hostname="localhost"),t.path||(t.path="/"),t.wsOptions||(t.wsOptions={})}function h(t,e){const n="alis"===t.protocol?"wss":"ws";let r=n+"://"+t.hostname+t.path;return t.port&&80!==t.port&&443!==t.port&&(r=n+"://"+t.hostname+":"+t.port+t.path),"function"===typeof t.transformWsUrl&&(r=t.transformWsUrl(r,t,e)),r}function d(){u||(u=!0,a.onSocketOpen((function(){l.setReadable(s),l.setWritable(s),l.emit("connect")})),a.onSocketMessage((function(t){if("string"===typeof t.data){const e=r.from(t.data,"base64");s.push(e)}else{const e=new FileReader;e.addEventListener("load",(function(){let t=e.result;t=t instanceof ArrayBuffer?r.from(t):r.from(t,"utf8"),s.push(t)})),e.readAsArrayBuffer(t.data)}})),a.onSocketClose((function(){l.end(),l.destroy()})),a.onSocketError((function(t){l.destroy(t)})))}function p(t,e){if(e.hostname=e.hostname||e.host,!e.hostname)throw new Error("Could not determine host. Specify host manually.");const n="MQIsdp"===e.protocolId&&3===e.protocolVersion?"mqttv3.1":"mqtt";f(e);const r=h(e,t);return a=e.my,a.connectSocket({url:r,protocols:n}),s=c(),l=o.obj(),d(),l}t.exports=p},c513:function(t,e,n){var r=n("23e7"),i=n("1a2d"),o=n("d9b5"),a=n("0d51"),s=n("5692"),l=n("0b43"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(i(u,t))return u[t]}})},c515:function(t,e,n){n("849b"),n("8459"),n("b006")},c526:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};function r(t,e,r){var i=e.getComponentByElement(t.topTarget),o=i&&i.coordinateSystem;return i&&i!==r&&!n[i.mainType]&&o&&o.model!==r}e.onIrrelevantElement=r},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function l(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function f(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===i.call(t)}function v(t){return"[object File]"===i.call(t)}function y(t){return"[object Blob]"===i.call(t)}function m(t){return"[object Function]"===i.call(t)}function b(t){return d(t)&&m(t.pipe)}function x(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function _(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n1?arguments[1]:void 0)}}),o(a)},c775:function(t,e,n){var r=n("2b17"),i=r.retrieveRawValue;function o(t,e){var n=t.mapDimension("defaultedLabel",!0),r=n.length;if(1===r)return i(t,e,n[0]);if(r){for(var o=[],a=0;a=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;I(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c8d2:function(t,e,n){var r=n("5e77").PROPER,i=n("d039"),o=n("5899"),a="​…᠎";t.exports=function(t){return i((function(){return!!o[t]()||a[t]()!==a||r&&o[t].name!==t}))}},c8ef:function(t,e,n){var r=n("6d8b"),i=n("a15a"),o=i.createSymbol,a=n("2306"),s=a.Group,l=n("3842"),u=l.parsePercent,c=n("1418"),f=3;function h(t){return r.isArray(t)||(t=[+t,+t]),t}function d(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function p(t,e){s.call(this);var n=new c(t,e),r=new s;this.add(n),this.add(r),r.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=this.childAt(1),i=0;i=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1}});function u(){this.group=new r.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t,e){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},c.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),r=4*t.startIndex*2;e=new Float32Array(e.buffer,r,n)}t.setShape("points",e)}))}},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e,n){var r;this._incremental?(r=new l,this._incremental.addDisplayable(r,!0)):(r=new l({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(r,e,!!this._incremental,n)},c._setCommon=function(t,e,n,r){var i=e.hostModel;r=r||{};var a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=r.clipShape||null,t.symbolProxy=o(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=n+(t.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var f=u;t.exports=f},c973:function(t,e,n){function r(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,l,"next",t)}function l(t){r(a,i,o,s,l,"throw",t)}s(void 0)}))}}n("d3b7"),t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},ca29:function(t,e,n){var r=n("6d9a"),i=r.eachAfter,o=r.eachBefore,a=n("22da"),s=a.init,l=a.firstWalk,u=a.secondWalk,c=a.separation,f=a.radialCoordinate,h=a.getViewRect;function d(t,e){t.eachSeriesByType("tree",(function(t){p(t,e)}))}function p(t,e){var n=h(t,e);t.layoutInfo=n;var r=t.get("layout"),a=0,d=0,p=null;"radial"===r?(a=2*Math.PI,d=Math.min(n.height,n.width)/2,p=c((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(a=n.width,d=n.height,p=c());var g=t.getData().tree.root,v=g.children[0];if(v){s(g),i(v,l,p),g.hierNode.modifier=-v.hierNode.prelim,o(v,u);var y=v,m=v,b=v;o(v,(function(t){var e=t.getLayout().x;em.getLayout().x&&(m=t),t.depth>b.depth&&(b=t)}));var x=y===m?1:p(y,m)/2,_=x-y.getLayout().x,w=0,S=0,C=0,A=0;if("radial"===r)w=a/(m.getLayout().x+x+_),S=d/(b.depth-1||1),o(v,(function(t){C=(t.getLayout().x+_)*w,A=(t.depth-1)*S;var e=f(C,A);t.setLayout({x:e.x,y:e.y,rawX:C,rawY:A},!0)}));else{var k=t.getOrient();"RL"===k||"LR"===k?(S=d/(m.getLayout().x+x+_),w=a/(b.depth-1||1),o(v,(function(t){A=(t.getLayout().x+_)*S,C="LR"===k?(t.depth-1)*w:a-(t.depth-1)*w,t.setLayout({x:C,y:A},!0)}))):"TB"!==k&&"BT"!==k||(w=a/(m.getLayout().x+x+_),S=d/(b.depth-1||1),o(v,(function(t){C=(t.getLayout().x+_)*w,A="TB"===k?(t.depth-1)*S:d-(t.depth-1)*S,t.setLayout({x:C,y:A},!0)})))}}}t.exports=d},ca84:function(t,e,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),l=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);while(e.length>u)i(r,n=e[u++])&&(~a(c,n)||l(c,n));return c}},ca98:function(t,e,n){var r=n("6d8b"),i=n("e0d3"),o=n("6cb7"),a=r.each,s=r.clone,l=r.map,u=r.merge,c=/^(min|max)?(.+)$/;function f(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function h(t,e,n){var i,o,s=[],l=[],u=t.timeline;if(t.baseOption&&(o=t.baseOption),(u||t.options)&&(o=o||{},s=(t.options||[]).slice()),t.media){o=o||{};var c=t.media;a(c,(function(t){t&&t.option&&(t.query?l.push(t):i||(i=t))}))}return o||(o=t),o.timeline||(o.timeline=u),a([o].concat(s).concat(r.map(l,(function(t){return t.option}))),(function(t){a(e,(function(e){e(t,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:i,mediaList:l}}function d(t,e,n){var i={width:e,height:n,aspectratio:e/n},o=!0;return r.each(t,(function(t,e){var n=e.match(c);if(n&&n[1]&&n[2]){var r=n[1],a=n[2].toLowerCase();p(i[a],t,r)||(o=!1)}})),o}function p(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},a(e,(function(e,n){if(null!=e){var r=t[n];if(o.hasClass(n)){e=i.normalizeToArray(e),r=i.normalizeToArray(r);var a=i.mappingToExists(r,e);t[n]=l(a,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else t[n]=u(r,e,!0)}}))}f.prototype={constructor:f,setOption:function(t,e){t&&r.each(i.normalizeToArray(t.series),(function(t){t&&t.data&&r.isTypedArray(t.data)&&r.setAsPrimitive(t.data)})),t=s(t);var n=this._optionBackup,o=h.call(this,t,e,!n);this._newBaseOption=o.baseOption,n?(v(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=s(n[r.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var u=0,c=r.length;u1?arguments[1]:void 0)}}),a("includes")},cb11:function(t,e,n){var r=n("cbe5"),i=n("9cf9"),o=i.subPixelOptimizeLine,a={},s=r.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,r,i,s;this.subPixelOptimize?(o(a,e,this.style),n=a.x1,r=a.y1,i=a.x2,s=a.y2):(n=e.x1,r=e.y1,i=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(n,r),l<1&&(i=n*(1-l)+i*l,s=r*(1-l)+s*l),t.lineTo(i,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},cb29:function(t,e,n){var r=n("23e7"),i=n("81d5"),o=n("44d2");r({target:"Array",proto:!0},{fill:i}),o("fill")},cb2d:function(t,e,n){var r=n("1626"),i=n("9bf2"),o=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(c){}l?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cb69:function(t,e,n){var r=n("3301"),i=n("4f85"),o=i.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=o},cb6d:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function r(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;while(e&&!e.draggable)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(r(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,o=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(o,a,t),this.dispatchToElement(r(e,t),"drag",t.event);var s=this.findHover(n,i,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(r(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(r(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(r(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var i=n;t.exports=i},cb73:function(t,e,n){var r=n("3842"),i=r.parsePercent,o=n("6d8b"),a=Math.PI/180;function s(t,e,n,r){e.eachSeriesByType(t,(function(t){var e=t.get("center"),r=t.get("radius");o.isArray(r)||(r=[0,r]),o.isArray(e)||(e=[e,e]);var s=n.getWidth(),u=n.getHeight(),c=Math.min(s,u),f=i(e[0],s),h=i(e[1],u),d=i(r[0],c/2),p=i(r[1],c/2),g=-t.get("startAngle")*a,v=t.get("minAngle")*a,y=t.getData().tree.root,m=t.getViewRoot(),b=m.depth,x=t.get("sort");null!=x&&l(m,x);var _=0;o.each(m.children,(function(t){!isNaN(t.getValue())&&_++}));var w=m.getValue(),S=Math.PI/(w||_)*2,C=m.depth>0,A=m.height-(C?-1:1),k=(p-d)/(A||1),O=t.get("clockwise"),M=t.get("stillShowZeroSum"),E=O?1:-1,T=function(t,e){if(t){var n=e;if(t!==y){var r=t.getValue(),a=0===w&&M?S:r*S;a1e-10&&(i.width+=a/s,i.height+=a/s,i.x-=a/s/2,i.y-=a/s/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path.data;if(i.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(i.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(i.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(i.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1}},f.extend=function(t){var e=function(e){f.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var i in n)!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(r[i]=n[i])}t.init&&t.init.call(this,e)};for(var n in i.inherits(e,f),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},i.inherits(f,r);var h=f;t.exports=h},cbe9:function(t,e,n){var r=n("6d8b"),i=n("9850"),o=n("cf7e");function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var r=this.getAxis("x"),i=this.getAxis("y");return n=n||[],n[0]=r.toGlobalCoord(r.dataToCoord(t[0])),n[1]=i.toGlobalCoord(i.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),r=this.getAxis("y");return e=e||[],e[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=r.coordToData(r.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),r=Math.min(e[0],e[1]),o=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-r,s=new i(n,r,o,a);return s}},r.inherits(a,o);var s=a;t.exports=s},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc15:function(t,e,n){var r=n("b367")("wks"),i=n("8b1a"),o=n("ef08").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},cc39:function(t,e,n){var r=n("6d8b"),i=n("3842"),o=n("50e5"),a=n("ef6a"),s=r.each,l=i.asc,u=function(t,e,n,r){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=r,this._dataZoomModel=n};function c(t,e,n){var r=[1/0,-1/0];return s(n,(function(t){var n=t.getData();n&&s(n.mapDimension(e,!0),(function(t){var e=n.getApproximateExtent(t);e[0]r[1]&&(r[1]=e[1])}))})),r[1]0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?e[1]=a:i&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function h(t,e){var n=t.getAxisModel(),r=t._percentWindow,o=t._valueWindow;if(r){var a=i.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=e||0===r[0]&&100===r[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function d(t){var e=t._minMaxSpan={},n=t._dataZoomModel,r=t._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=i.linearMap(r[0]+s,r,[0,100],!0):null!=a&&(s=i.linearMap(a,[0,100],r,!0)-r[0]),e[o+"Span"]=a,e[o+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var r=this._dimName,i=e.queryComponents({mainType:r+"Axis",index:n.get(r+"AxisIndex"),id:n.get(r+"AxisId")})[0];this._axisIndex===(i&&i.componentIndex)&&t.push(n)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,r=this._dimName,i=this.ecModel,o=this.getAxisModel(),a="x"===r||"y"===r;return a?(e="gridIndex",t="x"===r?"y":"x"):(e="polarIndex",t="angle"===r?"radius":"angle"),i.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return r.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,n=this._dataExtent,r=this.getAxisModel(),o=r.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],f=[],h=[];s(["start","end"],(function(r,a){var s=t[r],l=t[r+"Value"];"percent"===u[a]?(null==s&&(s=c[a]),l=o.parse(i.linearMap(s,c,n))):(e=!0,l=null==l?n[a]:o.parse(l),s=i.linearMap(l,n,c)),h[a]=l,f[a]=s})),l(h),l(f);var d=this._minMaxSpan;function p(t,e,n,r,s){var l=s?"Span":"ValueSpan";a(0,t,n,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)e[u]=i.linearMap(t[u],n,r,!0),s&&(e[u]=o.parse(e[u]))}return e?p(h,f,n,c,!1):p(f,h,c,n,!0),{valueWindow:h,percentWindow:f}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,e),d(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,h(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;"none"!==i&&s(r,(function(t){var e=t.getData(),r=e.mapDimension(n,!0);r.length&&("weakFilter"===i?e.filterSelf((function(t){for(var n,i,a,s=0;so[1];if(u&&!c&&!f)return!0;u&&(a=!0),c&&(n=!0),f&&(i=!0)}return a&&n&&i})):s(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var r={};r[n]=o,e.selectRange(r)}})),s(r,(function(t){e.setApproximateExtent(o,t)})))}))}function a(t){return t>=o[0]&&t<=o[1]}}};var p=u;t.exports=p},cc6d:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.gaugeConfig=void 0;var r={show:!0,name:"",radius:"60%",center:["50%","50%"],startAngle:-Math.PI/4*5,endAngle:Math.PI/4,min:0,max:100,splitNum:5,arcLineWidth:15,data:[],dataItemStyle:{},axisTick:{show:!0,tickLength:6,style:{stroke:"#999",lineWidth:1}},axisLabel:{show:!0,data:[],formatter:null,labelGap:5,style:{}},pointer:{show:!0,valueIndex:0,style:{scale:[1,1],fill:"#fb7293"}},details:{show:!1,formatter:null,offset:[0,0],valueToFixed:0,position:"center",style:{fontSize:20,fontWeight:"bold",textAlign:"center",textBaseline:"middle"}},backgroundArc:{show:!0,style:{stroke:"#e0e0e0"}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};e.gaugeConfig=r},cc98:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("4738").CONSTRUCTOR,a=n("d256"),s=n("d066"),l=n("1626"),u=n("cb2d"),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&l(a)){var f=s("Promise").prototype["catch"];c["catch"]!==f&&u(c,"catch",f,{unsafe:!0})}},cca6:function(t,e,n){var r=n("23e7"),i=n("60da");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},cccd:function(t,e,n){var r=n("e0d3"),i=r.makeInner;function o(){var t=i();return function(e){var n=t(e),r=e.pipelineContext,i=n.large,o=n.progressiveRender,a=n.large=r&&r.large,s=n.progressiveRender=r&&r.progressiveRender;return!!(i^a||o^s)&&"reset"}}t.exports=o},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var r=n("6d8b"),i=n("4319"),o=r.each,a=r.curry;function s(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,t,e),n.seriesInvolved&&c(n,t),n}function l(t,e,n){var r=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),s=i.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=y(n.model),h=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=n;var d=n.model,p=d.getModel("tooltip",r);if(o(n.getAxes(),a(x,!1,null)),n.getTooltipAxes&&r&&p.get("show")){var g="axis"===p.get("trigger"),m="cross"===p.get("axisPointer.type"),b=n.getTooltipAxes(p.get("axisPointer.axis"));(g||m)&&o(b.baseAxes,a(x,!m||"cross",g)),m&&o(b.otherAxes,a(x,"cross",!1))}}function x(r,o,a){var c=a.model.getModel("axisPointer",i),d=c.get("show");if(d&&("auto"!==d||r||v(c))){null==o&&(o=c.get("triggerTooltip")),c=r?u(a,p,i,e,r,o):c;var g=c.get("snap"),m=y(a.model),b=o||g||"category"===a.type,x=t.axesInfo[m]={key:m,axis:a,coordSys:n,axisPointerModel:c,triggerTooltip:o,involveSeries:b,snap:g,useHandle:v(c),seriesModels:[]};h[m]=x,t.seriesInvolved|=b;var _=f(s,a);if(null!=_){var w=l[_]||(l[_]={axesInfo:{}});w.axesInfo[m]=x,w.mapper=s[_].mapper,x.linkGroup=w}}}}))}function u(t,e,n,a,s,l){var u=e.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=r.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var f=c.label||(c.label={});if(null==f.show&&(f.show=!1),"cross"===s){var h=u.get("label.show");if(f.show=null==h||h,!l){var d=c.lineStyle=u.get("crossStyle");d&&r.defaults(f,d.textStyle)}}return t.model.getModel("axisPointer",new i(c,n,a))}function c(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,r=e.get("tooltip.trigger",!0),i=e.get("tooltip.show",!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==e.get("axisPointer.show",!0)&&o(t.coordSysAxesInfo[y(n.model)],(function(t){var r=t.axis;n.getAxis(r.dim)===r&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function f(t,e){for(var n=e.model,r=e.dim,i=0;i=0||t===e}function d(t){var e=p(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=v(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0){var M=a(b)?l:u;b>0&&(b=b*k+C),_[w++]=M[O],_[w++]=M[O+1],_[w++]=M[O+2],_[w++]=M[O+3]*b*256}else w+=4}return h.putImageData(x,0,0),f},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=r.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},_getGradient:function(t,e,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i}};var a=o;t.exports=a},cdaa:function(t,e,n){var r=n("607d"),i=r.addEventListener,o=r.removeEventListener,a=r.normalizeEvent,s=r.getNativeEvent,l=n("6d8b"),u=n("1fab"),c=n("22d1"),f=300,h=c.domSupported,d=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=l.map(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:r}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&c.browser.firefox?"DOMMouseScroll":t}function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function y(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function m(t){t&&(t.zrByTouch=!0)}function b(t,e){return a(t.dom,new _(t,e),!0)}function x(t,e){var n=e,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return r}function _(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=_.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var S={mousedown:function(t){t=a(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=a(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||E(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=a(this.dom,t),E(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=a(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=x(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=a(this.dom,t),m(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),S.mousemove.call(this,t),S.mousedown.call(this,t)},touchmove:function(t){t=a(this.dom,t),m(t),this.handler.processGesture(t,"change"),S.mousemove.call(this,t)},touchend:function(t){t=a(this.dom,t),m(t),this.handler.processGesture(t,"end"),S.mouseup.call(this,t),+new Date-this._lastTouchMoment4294967295||l(e)!==e)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in t&&a){var c=a(t,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},d012:function(t,e){t.exports={}},d01c:function(t,e,n){var r=n("4f85"),i=n("237f"),o=n("eda2"),a=o.encodeHTML,s=n("4319"),l=n("4e08"),u=(l.__DEV__,r.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,r=t.data||t.nodes,o=t.levels,a=this.levelModels={},l=0;l=0&&(a[o[l].depth]=new s(o[l],this,e));if(r&&n){var u=i(r,n,this,!0,c);return u.data}function c(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getData().getItemLayout(e).depth,i=n.levelModels[r];return i||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getGraph().getEdgeByIndex(e),i=r.node1.getLayout().depth,o=n.levelModels[i];return o||this.parentModel})),t}))}},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getDataParams(t,n),i=r.data,o=i.source+" -- "+i.target;return r.value&&(o+=" : "+r.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(t),l=s.getLayout().value,c=this.getDataParams(t,n).data.name;if(l)o=c+" : "+l;return a(o)}return u.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=u.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var r=this.getGraph().getNodeByIndex(t),i=r.getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;t.exports=c},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),i=n("1626"),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},d070:function(t,e,n){var r=n("3eba"),i=n("6d8b");function o(t,e){e.update="updateView",r.registerAction(e,(function(e,n){var r={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;i.each(o.regions,(function(t){r[t.name]=n.isSelected(t.name)||!1}))})),{selected:r,name:e.name}}))}n("1f1a"),n("eeea"),n("7661"),n("49e8"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},d090:function(t,e,n){var r=n("6d8b"),i=n("f934"),o=n("3842"),a=n("2039"),s=864e5;function l(t,e,n){this._model=t}function u(t,e,n,r){var i=n.calendarModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](r):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=o.parseDate(t);var e=t.getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var r=t.getDate();r=r<10?"0"+r:r;var i=t.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:e,m:n,d:r,day:i,time:t.getTime(),formatedDate:e+"-"+n+"-"+r,date:t}},getNextNDay:function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];r.each([0,1],(function(t){f(a,t)&&(s[o[t]]=a[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=i.getLayoutRect(s,u);function f(t,e){return null!=t[e]&&"auto"!==t[e]}r.each([0,1],(function(t){f(a,t)||(a[t]=c[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){r.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,o=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.timea.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,r=new Date(t[0].time),i=r.getDate(),o=t[1].date.getDate();r.setDate(i+n-1);var a=r.getDate();if(a!==o){var l=r.getTime()-t[1].time>0?1:-1;while((a=r.getDate())!==o&&(r.getTime()-t[1].time)*l>0)n-=l,r.setDate(a-l)}var u=Math.floor((n+t[0].day+6)/7),c=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:u,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&er.lweek)return!1;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(r.start.d+i),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(r){var i=new l(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},a.register("calendar",l);var c=l;t.exports=c},d0b5:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n("448a")),o=r(n("970b")),a=n("a870"),s=n("5557"),l=function t(e){(0,o["default"])(this,t),this.colorProcessor(e);var n={fill:[0,0,0,1],stroke:[0,0,0,0],opacity:1,lineCap:null,lineJoin:null,lineDash:null,lineDashOffset:null,shadowBlur:0,shadowColor:[0,0,0,0],shadowOffsetX:0,shadowOffsetY:0,lineWidth:0,graphCenter:null,scale:null,rotate:null,translate:null,hoverCursor:"pointer",fontStyle:"normal",fontVarient:"normal",fontWeight:"normal",fontSize:10,fontFamily:"Arial",textAlign:"center",textBaseline:"middle",gradientColor:null,gradientType:"linear",gradientParams:null,gradientWith:"stroke",gradientStops:"auto",colors:null};Object.assign(this,n,e)};function u(t,e){t.save();var n=e.graphCenter,r=e.rotate,o=e.scale,a=e.translate;n instanceof Array&&(t.translate.apply(t,(0,i["default"])(n)),r&&t.rotate(r*Math.PI/180),o instanceof Array&&t.scale.apply(t,(0,i["default"])(o)),a&&t.translate.apply(t,(0,i["default"])(a)),t.translate(-n[0],-n[1]))}e["default"]=l,l.prototype.colorProcessor=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e?a.getColorFromRgbValue:a.getRgbaValue,r=["fill","stroke","shadowColor"],i=Object.keys(t),o=i.filter((function(t){return r.find((function(e){return e===t}))}));o.forEach((function(e){return t[e]=n(t[e])}));var s=t.gradientColor,l=t.colors;if(s&&(t.gradientColor=s.map((function(t){return n(t)}))),l){var u=Object.keys(l);u.forEach((function(t){return l[t]=n(l[t])}))}},l.prototype.initStyle=function(t){u(t,this),f(t,this),h(t,this)};var c=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];function f(t,e){var n=e.fill,r=e.stroke,o=e.shadowColor,s=e.opacity;c.forEach((function(n){(n||"number"===typeof n)&&(t[n]=e[n])})),n=(0,i["default"])(n),r=(0,i["default"])(r),o=(0,i["default"])(o),n[3]*=s,r[3]*=s,o[3]*=s,t.fillStyle=(0,a.getColorFromRgbValue)(n),t.strokeStyle=(0,a.getColorFromRgbValue)(r),t.shadowColor=(0,a.getColorFromRgbValue)(o);var l=e.lineDash,u=e.shadowBlur;l&&(l=l.map((function(t){return t>=0?t:0})),t.setLineDash(l)),"number"===typeof u&&(t.shadowBlur=u>0?u:.001);var f=e.fontStyle,h=e.fontVarient,d=e.fontWeight,p=e.fontSize,g=e.fontFamily;t.font=f+" "+h+" "+d+" "+p+"px "+g}function h(t,e){if(d(e)){var n=e.gradientColor,r=e.gradientParams,o=e.gradientType,s=e.gradientWith,l=e.gradientStops,u=e.opacity;n=n.map((function(t){var e=t[3]*u,n=(0,i["default"])(t);return n[3]=e,n})),n=n.map((function(t){return(0,a.getColorFromRgbValue)(t)})),"auto"===l&&(l=p(n));var c=t["create".concat(o.slice(0,1).toUpperCase()+o.slice(1),"Gradient")].apply(t,(0,i["default"])(r));l.forEach((function(t,e){return c.addColorStop(t,n[e])})),t["".concat(s,"Style")]=c}}function d(t){var e=t.gradientColor,n=t.gradientParams,r=t.gradientType,i=t.gradientWith,o=t.gradientStops;if(!e||!n)return!1;if(1===e.length)return console.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==r&&"radial"!==r)return console.warn("GradientType only supports linear or radial, current value is "+r),!1;var a=n.length;return"linear"===r&&4!==a||"radial"===r&&6!==a?(console.warn("The expected length of gradientParams is "+("linear"===r?"4":"6")),!1):"fill"!==i&&"stroke"!==i?(console.warn("GradientWith only supports fill or stroke, current value is "+i),!1):"auto"===o||o instanceof Array||(console.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+o),!1)}function p(t){var e=1/(t.length-1);return t.map((function(t,n){return e*n}))}l.prototype.restoreTransform=function(t){t.restore()},l.prototype.update=function(t){this.colorProcessor(t),Object.assign(this,t)},l.prototype.getStyle=function(){var t=(0,s.deepClone)(this,!0);return this.colorProcessor(t,!0),t}},d15d:function(t,e,n){var r=n("6d8b"),i=r.createHashMap,o=r.each;function a(t){var e=i();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),e.each(s)}function s(t){o(t,(function(e,n){var r=[],i=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=a.map(o,(function(o,l,u){var c,f,h=a.get(e.stackedDimension,u);if(isNaN(h))return i;s?f=a.getRawIndex(u):c=a.get(e.stackedByDimension,u);for(var d=NaN,p=n-1;p>=0;p--){var g=t[p];if(s||(f=g.data.rawIndexOf(g.stackedByDimension,c)),f>=0){var v=g.data.getByRawIndex(g.stackResultDimension,f);if(h>=0&&v>0||h<=0&&v<0){h+=v,d=v;break}}}return r[0]=h,r[1]=d,r}));a.hostModel.setData(l),e.data=l}))}t.exports=a},d16a:function(t,e,n){var r=n("fc5e"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d256:function(t,e,n){var r=n("da84");t.exports=r.Promise},d28b:function(t,e,n){var r=n("e065");r("iterator")},d28f:function(t,e,n){var r=n("3eba");n("84d5"),n("4650"),n("5e97");var i=n("903c"),o=n("6cb7");r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,i),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(t,e,n){var r=n("3eba");r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d2bb:function(t,e,n){var r=n("e330"),i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d2cf:function(t,e,n){var r=n("6d8b"),i=n("401b"),o=n("cb6d"),a=n("1fab"),s=n("607d"),l=n("0b44"),u="silent";function c(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:f}}function f(){s.stop(this.event)}function h(){}h.prototype.dispose=function(){};var d=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,n,r){a.call(this),this.storage=t,this.painter=e,this.painterRoot=r,n=n||new h,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function g(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var r,i=t;while(i){if(i.clipPath&&!i.clipPath.contain(e,n))return!1;i.silent&&(r=!0),i=i.parent}return!r||u}return!1}function v(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(r.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,r=v(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){t=t||{};var r=t.target;if(!r||!r.silent){var i="on"+e,o=c(e,t,n);while(r)if(r[i]&&(o.cancelBubble=r[i].call(r,o)),r.trigger(e,o),r=r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var r=this.storage.getDisplayList(),i={x:t,y:e},o=r.length-1;o>=0;o--){var a;if(r[o]!==n&&!r[o].ignore&&(a=g(r[o],t,e))&&(!i.topTarget&&(i.topTarget=r[o]),a!==u)){i.target=r[o];break}}return i},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i,this.dispatchToElement({target:r.target},i,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var n,r,o=e.zrX,a=e.zrY,s=v(this,o,a);if("mouseup"===t&&s||(n=this.findHover(o,a),r=n.target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||i.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),r.mixin(p,a),r.mixin(p,o);var y=p;t.exports=y},d357:function(t,e,n){var r=n("6d8b"),i=r.each,o=n("1c5f"),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var r=t.getData(),o=[];i(n.dimensions,(function(t){o=o.concat(r.mapDimension(t,!0))}));for(var l=0;l=0&&i.each(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},c),"stack"===n){var d=u.series&&u.series[0]&&u.series[0].stack===l;a=d?i.merge({stack:s.title.tiled},s.title):i.clone(s.title)}e.dispatchAction({type:"changeMagicType",currentType:n,newOption:u,newTitle:a,featureName:"magicType"})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),a.register("magicType",u);var d=u;t.exports=d},d3a4:function(t,e,n){var r,i=n("22d1"),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function u(t){return r(t)}if(l&&!i.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),r=function(t){return l.createElement("')}}catch(f){r=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=l,e.createNode=u,e.initVML=c},d3b7:function(t,e,n){var r=n("00ee"),i=n("cb2d"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d3f4:function(t,e){function n(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=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){i.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){i.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),a=o;t.exports=a},d4c3:function(t,e,n){var r=n("342f"),i=n("da84");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},d4c6:function(t,e,n){var r=n("cbe5"),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n=i||v<0)break;if(d(m)){if(p){v+=o;continue}break}if(v===n)t[o>0?"moveTo":"lineTo"](m[0],m[1]);else if(l>0){var b=e[g],x="y"===c?1:0,_=(m[x]-b[x])*l;u(f,b),f[x]=b[x]+_,u(h,m),h[x]=m[x]-_,t.bezierCurveTo(f[0],f[1],h[0],h[1],m[0],m[1])}else t.lineTo(m[0],m[1]);g=v,v+=o}return y}function v(t,e,n,r,o,p,g,v,y,m,b){for(var x=0,_=n,w=0;w=o||_<0)break;if(d(S)){if(b){_+=p;continue}break}if(_===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(f,S);else if(y>0){var C=_+p,A=e[C];if(b)while(A&&d(e[C]))C+=p,A=e[C];var k=.5,O=e[x];A=e[C];if(!A||d(A))u(h,S);else{var M,E;if(d(A)&&!b&&(A=S),i.sub(c,A,O),"x"===m||"y"===m){var T="x"===m?0:1;M=Math.abs(S[T]-O[T]),E=Math.abs(S[T]-A[T])}else M=i.dist(S,O),E=i.dist(S,A);k=E/(E+M),l(h,S,c,-y*(1-k))}a(f,f,v),s(f,f,g),a(h,h,v),s(h,h,g),t.bezierCurveTo(f[0],f[1],h[0],h[1],S[0],S[1]),l(f,S,c,y*k)}else t.lineTo(S[0],S[1]);x=_,_+=p}return w}function y(t,e){var n=[1/0,1/0],r=[-1/0,-1/0];if(e)for(var i=0;ir[0]&&(r[0]=o[0]),o[1]>r[1]&&(r[1]=o[1])}return{min:e?n:r,max:e?r:n}}var m=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(r.prototype.brush),buildPath:function(t,e){var n=e.points,r=0,i=n.length,o=y(n,e.smoothConstraint);if(e.connectNulls){for(;i>0;i--)if(!d(n[i-1]))break;for(;r0;o--)if(!d(n[o-1]))break;for(;i=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},a.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;t.exports=s},d51d:function(t,e,n){},d58f:function(t,e,n){var r=n("59ed"),i=n("7b0b"),o=n("44ad"),a=n("07fa"),s=TypeError,l=function(t){return function(e,n,l,u){r(n);var c=i(e),f=o(c),h=a(c),d=t?h-1:0,p=t?-1:1;if(l<2)while(1){if(d in f){u=f[d],d+=p;break}if(d+=p,t?d<0:h<=d)throw s("Reduce of empty array with no initial value")}for(;t?d>=0:h>d;d+=p)d in f&&(u=n(u,f[d],d,c));return u}};t.exports={left:l(!1),right:l(!0)}},d5b7:function(t,e,n){var r=n("de00"),i=n("1fab"),o=n("0cde"),a=n("bd6b"),s=n("6d8b"),l=function(t){o.call(this,t),i.call(this,t),a.call(this,t),this.id=t.id||r()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n1?arguments[1]:void 0)}})},d81e:function(t,e){function n(t,e,n){var r=t.getZoom(),i=t.getCenter(),o=e.zoom,a=t.dataToPoint(i);if(null!=e.dx&&null!=e.dy){a[0]-=e.dx,a[1]-=e.dy;i=t.pointToData(a);t.setCenter(i)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(r*o,l),s)/r}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,c=(e.originX-u[0])*(o-1),f=(e.originY-u[1])*(o-1);u[0]-=c,u[1]-=f,t.updateTransform();i=t.pointToData(a);t.setCenter(i),t.setZoom(o*r)}return{center:t.getCenter(),zoom:t.getZoom()}}e.updateCenterAndZoom=n},d833:function(t,e,n){var r=n("20c8"),i=n("9680"),o=n("e7d2"),a=n("68ab"),s=n("9f51"),l=n("857d"),u=l.normalizeRadian,c=n("4a3f"),f=n("8728"),h=r.CMD,d=2*Math.PI,p=1e-4;function g(t,e){return Math.abs(t-e)e&&u>r&&u>o&&u>s||u1&&m(),h=c.cubicAt(e,r,o,s,y[0]),g>1&&(d=c.cubicAt(e,r,o,s,y[1]))),2===g?xe&&s>r&&s>o||s=0&&u<=1){for(var f=0,h=c.quadraticAt(e,r,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);v[0]=-l,v[1]=l;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c%d<1e-4){r=0,i=d;var f=o?1:-1;return a>=v[0]+t&&a<=v[1]+t?f:0}if(o){l=r;r=u(i),i=u(l)}else r=u(r),i=u(i);r>i&&(i+=d);for(var h=0,p=0;p<2;p++){var g=v[p];if(g+t>a){var y=Math.atan2(s,g);f=o?1:-1;y<0&&(y=d+y),(y>=r&&y<=i||y+d>=r&&y+d<=i)&&(y>Math.PI/2&&y<1.5*Math.PI&&(f=-f),h+=f)}}return h}function w(t,e,n,r,l){for(var u=0,c=0,d=0,p=0,v=0,y=0;y1&&(n||(u+=f(c,d,p,v,r,l))),1===y&&(c=t[y],d=t[y+1],p=c,v=d),m){case h.M:p=t[y++],v=t[y++],c=p,d=v;break;case h.L:if(n){if(i.containStroke(c,d,t[y],t[y+1],e,r,l))return!0}else u+=f(c,d,t[y],t[y+1],r,l)||0;c=t[y++],d=t[y++];break;case h.C:if(n){if(o.containStroke(c,d,t[y++],t[y++],t[y++],t[y++],t[y],t[y+1],e,r,l))return!0}else u+=b(c,d,t[y++],t[y++],t[y++],t[y++],t[y],t[y+1],r,l)||0;c=t[y++],d=t[y++];break;case h.Q:if(n){if(a.containStroke(c,d,t[y++],t[y++],t[y],t[y+1],e,r,l))return!0}else u+=x(c,d,t[y++],t[y++],t[y],t[y+1],r,l)||0;c=t[y++],d=t[y++];break;case h.A:var w=t[y++],S=t[y++],C=t[y++],A=t[y++],k=t[y++],O=t[y++];y+=1;var M=1-t[y++],E=Math.cos(k)*C+w,T=Math.sin(k)*A+S;y>1?u+=f(c,d,E,T,r,l):(p=E,v=T);var I=(r-w)*A/C+w;if(n){if(s.containStroke(w,S,A,k,k+O,M,e,I,l))return!0}else u+=_(w,S,A,k,k+O,M,I,l);c=Math.cos(k+O)*C+w,d=Math.sin(k+O)*A+S;break;case h.R:p=c=t[y++],v=d=t[y++];var P=t[y++],L=t[y++];E=p+P,T=v+L;if(n){if(i.containStroke(p,v,E,v,e,r,l)||i.containStroke(E,v,E,T,e,r,l)||i.containStroke(E,T,p,T,e,r,l)||i.containStroke(p,T,p,v,e,r,l))return!0}else u+=f(E,v,E,T,r,l),u+=f(p,T,p,v,r,l);break;case h.Z:if(n){if(i.containStroke(c,d,p,v,e,r,l))return!0}else u+=f(c,d,p,v,r,l);c=p,d=v;break}}return n||g(d,v)||(u+=f(c,d,p,v,r,l)||0),0!==u}function S(t,e,n){return w(t,0,!1,e,n)}function C(t,e,n,r){return w(t,e,!0,n,r)}e.contain=S,e.containStroke=C},d86b:function(t,e,n){var r=n("d039");t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d998:function(t,e,n){var r=n("342f");t.exports=/MSIE|Trident/.test(r)},d9b5:function(t,e,n){var r=n("d066"),i=n("1626"),o=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},d9d0:function(t,e,n){var r=n("6d8b"),i=n("1687"),o=n("f934"),a=n("697e"),s=n("0f55"),l=n("2306"),u=n("3842"),c=n("ef6a"),f=r.each,h=Math.min,d=Math.max,p=Math.floor,g=Math.ceil,v=u.round,y=Math.PI;function m(t,e,n){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}function b(t,e){return h(d(t,e[0]),e[1])}function x(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function _(t,e){var n,r,i=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t=n&&o<=n+e.axisLength&&a>=r&&a<=r+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();f(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),a.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=b(e.get("axisExpandWidth"),l),f=b(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>f&&f>1&&c>0&&s>0,d=e.get("axisExpandWindow");if(d)t=b(d[1]-d[0],l),d[1]=d[0]+t;else{t=b(c*(f-1),l);var y=e.get("axisExpandCenter")||p(u/2);d=[c*y-t/2],d[1]=d[0]+t}var m=(s-t)/(u-f);m<3&&(m=0);var x=[p(v(d[0]/c,1))+1,g(v(d[1]/c,1))-1],_=m/c*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:m,axisExpandWindow:d,axisCount:u,winInnerIndices:x,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),f(n,(function(e,n){var a=(r.axisExpandable?_:x)(n,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:y/2,vertical:0},u=[s[o].x+t.x,s[o].y+t.y],c=l[o],f=i.create();i.rotate(f,f,c),i.translate(f,f,u),this._axesLayout[e]={position:u,rotation:c,transform:f,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];r.each(a,(function(e){s.push(t.mapDimension(e)),l.push(o.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;ci*(1-f[0])?(l="jump",a=s-i*(1-f[2])):(a=s-i*f[1])>=0&&(a=s-i*(1-f[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?c(a,r,o,"all"):l="none";else{i=r[1]-r[0];var g=o[1]*s/i;r=[d(0,g-i/2)],r[1]=h(o[1],r[0]+i),r[0]=r[1]-i}return{axisExpandWindow:r,behavior:l}}};var w=m;t.exports=w},d9e1:function(t,e,n){"use strict";var r=n("fbd7").codes.ERR_STREAM_PREMATURE_CLOSE;function i(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;in.getHeight()&&(r.textPosition="top",l=!0);var u=l?-5-i.height:d+8;a+i.width/2>n.getWidth()?(r.textPosition=["100%",u],r.textAlign="right"):a-i.width/2<0&&(r.textPosition=[0,u],r.textAlign="left")}}))}function y(i,o){var s,u=v[i],c=v[o],f=p[u],d=new l(f,t,t.ecModel);if(r&&null!=r.newTitle&&r.featureName===u&&(f.title=r.newTitle),u&&!c){if(h(u))s={model:d,onclick:d.option.onclick,featureName:u};else{var y=a.get(u);if(!y)return;s=new y(d,e,n)}g[u]=s}else{if(s=g[c],!s)return;s.model=d,s.ecModel=e,s.api=n}u||!c?d.get("show")&&!s.unusable?(m(d,s,u),d.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&r[t].trigger(e)},s.render&&s.render(d,e,n,r)):s.remove&&s.remove(e,n):s.dispose&&s.dispose(e,n)}function m(r,o,a){var l=r.getModel("iconStyle"),u=r.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():r.get("icon"),h=r.get("title")||{};if("string"===typeof c){var p=c,g=h;c={},h={},c[a]=p,h[a]=g}var v=r.iconPaths={};i.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:h[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",i.extend({content:h[c],formatter:g.get("formatter",!0)||function(){return h[c]},formatterParams:{componentType:"toolbox",name:c,title:h[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=h[c],p.on("mouseover",(function(){var e=u.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(r.get("iconStatus."+c)||"normal"),f.add(p),p.on("click",i.bind(o.onclick,o,e,n,c)),v[c]=p}))}},updateView:function(t,e,n,r){i.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,r)}))},remove:function(t,e){i.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){i.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});function h(t){return 0===t.indexOf("my")}t.exports=f},dbb4:function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){var e,n,r=a(t),i=s.f,u=o(r),c={},f=0;while(u.length>f)n=i(r,e=u[f++]),void 0!==n&&l(c,e,n);return c}})},dbbf:function(t,e,n){},dc20:function(t,e,n){var r=n("8727"),i=r.createElement,o=n("6d8b"),a=n("4942"),s=n("cbe5"),l=n("0da8"),u=n("76a5"),c=n("0c12"),f=n("b16f"),h=n("9fa3"),d=n("bcaa"),p=n("3f8e"),g=p.path,v=p.image,y=p.text;function m(t){return parseInt(t,10)}function b(t){return t instanceof s?g:t instanceof l?v:t instanceof u?y:g}function x(t,e){return e&&t&&e.parentNode!==t}function _(t,e,n){if(x(t,e)&&n){var r=n.nextSibling;r?t.insertBefore(e,r):t.appendChild(e)}}function w(t,e){if(x(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function C(t){return t.__textSvgEl}function A(t){return t.__svgEl}var k=function(t,e,n,r){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{});var a=i("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");a.appendChild(s);var l=i("g");a.appendChild(l),this.gradientManager=new f(r,l),this.clipPathManager=new h(r,l),this.shadowManager=new d(r,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,t.appendChild(u),u.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function O(t){return function(){a('In SVG mode painter not support method "'+t+'"')}}k.prototype={constructor:k,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=i("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n=this._svgRoot,r=this._visibleList,i=t.length,o=[];for(e=0;e=0;--r)if(e[r]===t)return!0;return!1}),n}return null}return n[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=n.style;i.width=t+"px",i.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],r=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||m(s[n])||m(a.style[n]))-(m(s[i])||0)-(m(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var t=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+t}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){k.prototype[t]=O(t)}));var M=k;t.exports=M},dc2f:function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var r=n;t.exports=r},dc4a:function(t,e,n){var r=n("59ed"),i=n("7234");t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},dc90:function(t,e,n){function r(t){function e(t){let e=0;for(let n=0;n{if("%%"===e)return"%";a++;const o=r.formatters[i];if("function"===typeof o){const r=t[a];e=o.call(n,r),t.splice(a,1),a--}return e}),r.formatArgs.call(n,t);const l=n.log||r.log;l.apply(n,t)}return s.namespace=t,s.useColors=r.useColors(),s.color=r.selectColor(t),s.extend=i,s.destroy=r.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(n!==r.namespaces&&(n=r.namespaces,o=r.enabled(t)),o),set:t=>{a=t}}),"function"===typeof r.init&&r.init(s),s}function i(t,e){const n=r(this.namespace+("undefined"===typeof e?":":e)+t);return n.log=this.log,n}function o(t){let e;r.save(t),r.namespaces=t,r.names=[],r.skips=[];const n=("string"===typeof t?t:"").split(/[\s,]+/),i=n.length;for(e=0;e"-"+t)].join(",");return r.enable(""),t}function s(t){if("*"===t[t.length-1])return!0;let e,n;for(e=0,n=r.skips.length;e{r[e]=t[e]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=e,r.enable(r.load()),r}t.exports=r},dc99:function(t,e,n){"use strict";t.exports=RangeError},dcb3:function(t,e,n){var r=n("6d8b"),i=n("625e"),o=n("2306"),a=n("cd33"),s=n("607d"),l=n("88b3"),u=n("e0d3"),c=u.makeInner,f=c(),h=r.clone,d=r.bind;function p(){}function g(t,e,n,r){v(f(n).lastProp,r)||(f(n).lastProp=r,e?o.updateProps(n,r,t):(n.stopAnimation(),n.attr(r)))}function v(t,e){if(r.isObject(t)&&r.isObject(e)){var n=!0;return r.each(e,(function(e,r){n=n&&v(t[r],e)})),!!n}return t===e}function y(t,e){t[e.get("label.show")?"show":"hide"]()}function m(t){return{position:t.position.slice(),rotation:t.rotation||0}}function b(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,t,e,n);var f=c.graphicKey;f!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=r.curry(g,e,h);this.updatePointerEl(l,c,d,e),this.updateLabelEl(l,c,d,e)}else l=this._group=new o.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);b(l,e,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(t).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,r,i){},createPointerEl:function(t,e,n,r){var i=e.pointer;if(i){var a=f(t).pointerEl=new o[i.type](h(e.pointer));t.add(a)}},createLabelEl:function(t,e,n,r){if(e.label){var i=f(t).labelEl=new o.Rect(h(e.label));t.add(i),y(i,r)}},updatePointerEl:function(t,e,n){var r=f(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,r){var i=f(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{shape:e.label.shape,position:e.label.position}),y(i,r))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&i.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),i.add(a)),b(a,n,!1);var f=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(u.getItemStyle(null,f));var h=u.get("size");r.isArray(h)||(h=[h,h]),a.attr("scale",[h[0]/2,h[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,m(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(m(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(m(r)),f(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},p.prototype.constructor=p,i.enableClassExtend(p);var x=p;t.exports=x},dcc3:function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n,u){var c=e+" Iterator";return t.prototype=i(r,{next:o(+!u,n)}),a(t,c,!1,!0),s[c]=l,t}},dcea:function(t,e,n){var r=n("6d8b"),i=n("e887"),o=n("2306"),a=n("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=i.extend({type:"boxplot",render:function(t,e,n){var r=t.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===t.get("layout")?1:0;r.diff(o).add((function(t){if(r.hasValue(t)){var e=r.getItemLayout(t),n=f(e,r,t,a,!0);r.setItemGraphicEl(t,n),i.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?h(s,n,r,t):n=f(s,r,t,a),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:r.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},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=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;r=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!r;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,r="/"===a.charAt(0))}return e=n(i(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),a="/"===o(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&a&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},df83:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=e.easeInOutBounce=e.easeOutBounce=e.easeInBounce=e.easeInOutElastic=e.easeOutElastic=e.easeInElastic=e.easeInOutBack=e.easeOutBack=e.easeInBack=e.easeInOutQuint=e.easeOutQuint=e.easeInQuint=e.easeInOutQuart=e.easeOutQuart=e.easeInQuart=e.easeInOutCubic=e.easeOutCubic=e.easeInCubic=e.easeInOutQuad=e.easeOutQuad=e.easeInQuad=e.easeInOutSine=e.easeOutSine=e.easeInSine=e.linear=void 0;var r=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];e.linear=r;var i=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];e.easeInSine=i;var o=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];e.easeOutSine=o;var a=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];e.easeInOutSine=a;var s=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];e.easeInQuad=s;var l=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];e.easeOutQuad=l;var u=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];e.easeInOutQuad=u;var c=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];e.easeInCubic=c;var f=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];e.easeOutCubic=f;var h=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];e.easeInOutCubic=h;var d=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];e.easeInQuart=d;var p=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];e.easeOutQuart=p;var g=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];e.easeInOutQuart=g;var v=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];e.easeInQuint=v;var y=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];e.easeOutQuint=y;var m=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];e.easeInOutQuint=m;var b=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];e.easeInBack=b;var x=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];e.easeOutBack=x;var _=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];e.easeInOutBack=_;var w=[[[0,1]],[[.474,.964],[.382,.988],[.557,.952]],[[.619,1.076],[.565,1.088],[.669,1.08]],[[.77,.916],[.712,.924],[.847,.904]],[[.911,1.304],[.872,1.316],[.961,1.34]],[[1,0]]];e.easeInElastic=w;var S=[[[0,1]],[[.073,-.32],[.034,-.328],[.104,-.344]],[[.191,.092],[.11,.06],[.256,.08]],[[.31,-.076],[.26,-.068],[.357,-.076]],[[.432,.032],[.362,.028],[.683,-.004]],[[1,0]]];e.easeOutElastic=S;var C=[[[0,1]],[[.21,.94],[.167,.884],[.252,.98]],[[.299,1.104],[.256,1.092],[.347,1.108]],[[.5,.496],[.451,.672],[.548,.324]],[[.696,-.108],[.652,-.112],[.741,-.124]],[[.805,.064],[.756,.012],[.866,.096]],[[1,0]]];e.easeInOutElastic=C;var A=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];e.easeInBounce=A;var k=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];e.easeOutBounce=k;var O=[[[0,1]],[[.102,1],[.05,.864],[.117,.86]],[[.216,.996],[.208,.844],[.227,.808]],[[.347,.996],[.343,.8],[.48,.292]],[[.635,.004],[.511,.676],[.656,.208]],[[.787,0],[.76,.2],[.795,.144]],[[.905,-.004],[.899,.164],[.944,.144]],[[1,0]]];e.easeInOutBounce=O;var M=new Map([["linear",r],["easeInSine",i],["easeOutSine",o],["easeInOutSine",a],["easeInQuad",s],["easeOutQuad",l],["easeInOutQuad",u],["easeInCubic",c],["easeOutCubic",f],["easeInOutCubic",h],["easeInQuart",d],["easeOutQuart",p],["easeInOutQuart",g],["easeInQuint",v],["easeOutQuint",y],["easeInOutQuint",m],["easeInBack",b],["easeOutBack",x],["easeInOutBack",_],["easeInElastic",w],["easeOutElastic",S],["easeInOutElastic",C],["easeInBounce",A],["easeOutBounce",k],["easeInOutBounce",O]]);e["default"]=M},df86:function(t,e,n){"use strict";(function(e,r){const i=n("faa1").EventEmitter,o=n("ea08"),a=n("e7d0"),s=n("a43f"),l=n("3409"),u=n("1e4d"),c=n("035d").Writable,f=n("3fb5"),h=n("29a2"),d=n("2a28"),p=n("ae84"),g=n("53a8"),v=n("34eb")("mqttjs:client"),y=e?e.nextTick:function(t){setTimeout(t,0)},m=r.setImmediate||function(t){y(t)},b={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0},x={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};function _(){return"mqttjs_"+Math.random().toString(16).substr(2,8)}function w(t,e){if(5===t.options.protocolVersion&&"publish"===e.cmd){let n;e.properties&&(n=e.properties.topicAlias);const r=e.topic.toString();if(t.topicAliasSend)if(n){if(0!==r.length&&(v("applyTopicAlias :: register topic: %s - alias: %d",r,n),!t.topicAliasSend.put(r,n)))return v("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}else 0!==r.length&&(t.options.autoAssignTopicAlias?(n=t.topicAliasSend.getAliasByTopic(r),n?(e.topic="",e.properties={...e.properties,topicAlias:n},v("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",r,n)):(n=t.topicAliasSend.getLruAlias(),t.topicAliasSend.put(r,n),e.properties={...e.properties,topicAlias:n},v("applyTopicAlias :: auto assign topic: %s - alias: %d",r,n))):t.options.autoUseTopicAlias&&(n=t.topicAliasSend.getAliasByTopic(r),n&&(e.topic="",e.properties={...e.properties,topicAlias:n},v("applyTopicAlias :: auto use topic: %s - alias: %d",r,n))));else if(n)return v("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}}function S(t,e){let n;e.properties&&(n=e.properties.topicAlias);let r=e.topic.toString();if(0===r.length){if("undefined"===typeof n)return new Error("Unregistered Topic Alias");if(r=t.topicAliasSend.getTopicByAlias(n),"undefined"===typeof r)return new Error("Unregistered Topic Alias");e.topic=r}n&&delete e.properties.topicAlias}function C(t,e,n){v("sendPacket :: packet: %O",e),v("sendPacket :: emitting `packetsend`"),t.emit("packetsend",e),v("sendPacket :: writing to stream");const r=l.writeToStream(e,t.stream,t.options);v("sendPacket :: writeToStream result %s",r),!r&&n&&n!==M?(v("sendPacket :: handle events on `drain` once through callback."),t.stream.once("drain",n)):n&&(v("sendPacket :: invoking cb"),n())}function A(t){t&&(v("flush: queue exists? %b",!!t),Object.keys(t).forEach((function(e){"function"===typeof t[e].cb&&(t[e].cb(new Error("Connection closed")),delete t[e])})))}function k(t){t&&(v("flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(t).forEach((function(e){t[e].volatile&&"function"===typeof t[e].cb&&(t[e].cb(new Error("Connection closed")),delete t[e])})))}function O(t,e,n,r){v("storeAndSend :: store packet with cmd %s to outgoingStore",e.cmd);let i,o=e;if("publish"===o.cmd&&(o=d(e),i=S(t,o),i))return n&&n(i);t.outgoingStore.put(o,(function(i){if(i)return n&&n(i);r(),C(t,e,n)}))}function M(t){v("nop ::",t)}function E(t,e){let n;const r=this;if(!(this instanceof E))return new E(t,e);for(n in this.options=e||{},b)"undefined"===typeof this.options[n]?this.options[n]=b[n]:this.options[n]=e[n];v("MqttClient :: options.protocol",e.protocol),v("MqttClient :: options.protocolVersion",e.protocolVersion),v("MqttClient :: options.username",e.username),v("MqttClient :: options.keepalive",e.keepalive),v("MqttClient :: options.reconnectPeriod",e.reconnectPeriod),v("MqttClient :: options.rejectUnauthorized",e.rejectUnauthorized),v("MqttClient :: options.topicAliasMaximum",e.topicAliasMaximum),this.options.clientId="string"===typeof e.clientId?e.clientId:_(),v("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===e.protocolVersion&&e.customHandleAcks?e.customHandleAcks:function(){arguments[3](0)},this.streamBuilder=t,this.messageIdProvider="undefined"===typeof this.options.messageIdProvider?new u:this.options.messageIdProvider,this.outgoingStore=e.outgoingStore||new o,this.incomingStore=e.incomingStore||new o,this.queueQoSZero=void 0===e.queueQoSZero||e.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,e.topicAliasMaximum>0&&(e.topicAliasMaximum>65535?v("MqttClient :: options.topicAliasMaximum is out of range"):this.topicAliasRecv=new a(e.topicAliasMaximum)),this.on("connect",(function(){const t=this.queue;function e(){const n=t.shift();v("deliver :: entry %o",n);let i=null;if(!n)return void r._resubscribe();i=n.packet,v("deliver :: call _sendPacket for %o",i);let o=!0;i.messageId&&0!==i.messageId&&(r.messageIdProvider.register(i.messageId)||(o=!1)),o?r._sendPacket(i,(function(t){n.cb&&n.cb(t),e()})):(v("messageId: %d has already used. The message is skipped and removed.",i.messageId),e())}v("connect :: sending queued packets"),e()})),this.on("close",(function(){v("close :: connected set to `false`"),this.connected=!1,v("close :: clearing connackTimer"),clearTimeout(this.connackTimer),v("close :: clearing ping timer"),null!==r.pingTimer&&(r.pingTimer.clear(),r.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),v("close :: calling _setupReconnect"),this._setupReconnect()})),i.call(this),v("MqttClient :: setting up stream"),this._setupStream()}f(E,i),E.prototype._setupStream=function(){const t=this,e=new c,n=l.parser(this.options);let r=null;const i=[];function o(){if(i.length)y(a);else{const t=r;r=null,t()}}function a(){v("work :: getting next packet in queue");const e=i.shift();if(e)v("work :: packet pulled from queue"),t._handlePacket(e,o);else{v("work :: no packets in queue");const t=r;r=null,v("work :: done flag is %s",!!t),t&&t()}}function s(e){v("streamErrorHandler :: error",e.message),e.code?(v("streamErrorHandler :: emitting error"),t.emit("error",e)):M(e)}v("_setupStream :: calling method to clear reconnect"),this._clearReconnect(),v("_setupStream :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),n.on("packet",(function(t){v("parser :: on packet push to packets array."),i.push(t)})),e._write=function(t,e,i){r=i,v("writable stream :: parsing buffer"),n.parse(t),a()},v("_setupStream :: pipe stream to writable stream"),this.stream.pipe(e),this.stream.on("error",s),this.stream.on("close",(function(){v("(%s)stream :: on close",t.options.clientId),k(t.outgoing),v("stream: emit close to MqttClient"),t.emit("close")})),v("_setupStream: sending packet `connect`");const u=Object.create(this.options);if(u.cmd="connect",this.topicAliasRecv&&(u.properties||(u.properties={}),this.topicAliasRecv&&(u.properties.topicAliasMaximum=this.topicAliasRecv.max)),C(this,u),n.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return t.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"===typeof this.options.authPacket){const t=g({cmd:"auth",reasonCode:0},this.options.authPacket);C(this,t)}}this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout((function(){v("!!connectTimeout hit!! Calling _cleanUp with force `true`"),t._cleanUp(!0)}),this.options.connectTimeout)},E.prototype._handlePacket=function(t,e){const n=this.options;if(5===n.protocolVersion&&n.properties&&n.properties.maximumPacketSize&&n.properties.maximumPacketSize0||!s())&&this._storeProcessingQueue.push({invoke:s,cbStorePut:n.cbStorePut,callback:r}),this},E.prototype.subscribe=function(){const t=this,e=new Array(arguments.length);for(let f=0;f0){const r={qos:n.qos};5===s&&(r.nl=n.nl||!1,r.rap=n.rap||!1,r.rh=n.rh||0,r.properties=n.properties),t._resubscribeTopics[n.topic]=r,e.push(n.topic)}})),t.messageIdToTopic[r.messageId]=e}return t.outgoing[r.messageId]={volatile:!0,cb:function(t,e){if(!t){const t=e.granted;for(let e=0;e0||!c())&&this._storeProcessingQueue.push({invoke:c,callback:o}),this},E.prototype.unsubscribe=function(){const t=this,e=new Array(arguments.length);for(let s=0;s0||!a())&&this._storeProcessingQueue.push({invoke:a,callback:r}),this},E.prototype.end=function(t,e,n){const r=this;function i(){v("end :: closeStores: closing incoming and outgoing stores"),r.disconnected=!0,r.incomingStore.close((function(t){r.outgoingStore.close((function(e){if(v("end :: closeStores: emitting end"),r.emit("end"),n){const r=t||e;v("end :: closeStores: invoking callback with args"),n(r)}}))})),r._deferredReconnect&&r._deferredReconnect()}function o(){v("end :: (%s) :: finish :: calling _cleanUp with force %s",r.options.clientId,t),r._cleanUp(t,()=>{v("end :: finish :: calling process.nextTick on closeStores"),y(i.bind(r))},e)}return v("end :: (%s)",this.options.clientId),null!=t&&"boolean"===typeof t||(n=e||M,e=t,t=!1,"object"!==typeof e&&(n=e,e=null,"function"!==typeof n&&(n=M))),"object"!==typeof e&&(n=e,e=null),v("end :: cb? %s",!!n),n=n||M,this.disconnecting?(n(),this):(this._clearReconnect(),this.disconnecting=!0,!t&&Object.keys(this.outgoing).length>0?(v("end :: (%s) :: calling finish in 10ms once outgoing is empty",r.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,o,10))):(v("end :: (%s) :: immediately calling finish",r.options.clientId),o()),this)},E.prototype.removeOutgoingMessage=function(t){const e=this.outgoing[t]?this.outgoing[t].cb:null;return delete this.outgoing[t],this.outgoingStore.del({messageId:t},(function(){e(new Error("Message removed"))})),this},E.prototype.reconnect=function(t){v("client reconnect");const e=this,n=function(){t?(e.options.incomingStore=t.incomingStore,e.options.outgoingStore=t.outgoingStore):(e.options.incomingStore=null,e.options.outgoingStore=null),e.incomingStore=e.options.incomingStore||new o,e.outgoingStore=e.options.outgoingStore||new o,e.disconnecting=!1,e.disconnected=!1,e._deferredReconnect=null,e._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=n:n(),this},E.prototype._reconnect=function(){v("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this._setupStream()}),v("client already connected. disconnecting first.")):(v("_reconnect: calling _setupStream"),this._setupStream())},E.prototype._setupReconnect=function(){const t=this;!t.disconnecting&&!t.reconnectTimer&&t.options.reconnectPeriod>0?(this.reconnecting||(v("_setupReconnect :: emit `offline` state"),this.emit("offline"),v("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),v("_setupReconnect :: setting reconnectTimer for %d ms",t.options.reconnectPeriod),t.reconnectTimer=setInterval((function(){v("reconnectTimer :: reconnect triggered!"),t._reconnect()}),t.options.reconnectPeriod)):v("_setupReconnect :: doing nothing...")},E.prototype._clearReconnect=function(){v("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)},E.prototype._cleanUp=function(t,e){const n=arguments[2];if(e&&(v("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",e)),v("_cleanUp :: forced? %s",t),t)0===this.options.reconnectPeriod&&this.options.clean&&A(this.outgoing),v("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{const t=g({cmd:"disconnect"},n);v("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(t,m.bind(null,this.stream.end.bind(this.stream)))}this.disconnecting||(v("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),null!==this.pingTimer&&(v("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),e&&!this.connected&&(v("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",e),e())},E.prototype._sendPacket=function(t,e,n){v("_sendPacket :: (%s) :: start",this.options.clientId),n=n||M,e=e||M;const r=w(this,t);if(r)e(r);else{if(!this.connected)return"auth"===t.cmd?(this._shiftPingInterval(),void C(this,t,e)):(v("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(t,e,n));switch(this._shiftPingInterval(),t.cmd){case"publish":break;case"pubrel":return void O(this,t,e,n);default:return void C(this,t,e)}switch(t.qos){case 2:case 1:O(this,t,e,n);break;case 0:default:C(this,t,e);break}v("_sendPacket :: (%s) :: end",this.options.clientId)}},E.prototype._storePacket=function(t,e,n){v("_storePacket :: packet: %o",t),v("_storePacket :: cb? %s",!!e),n=n||M;let r=t;if("publish"===r.cmd){r=d(t);const n=S(this,r);if(n)return e&&e(n)}0===(r.qos||0)&&this.queueQoSZero||"publish"!==r.cmd?this.queue.push({packet:r,cb:e}):r.qos>0?(e=this.outgoing[r.messageId]?this.outgoing[r.messageId].cb:null,this.outgoingStore.put(r,(function(t){if(t)return e&&e(t);n()}))):e&&e(new Error("No connection to broker"))},E.prototype._setupPingTimer=function(){v("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive);const t=this;!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=h((function(){t._checkPing()}),1e3*this.options.keepalive))},E.prototype._shiftPingInterval=function(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule(1e3*this.options.keepalive)},E.prototype._checkPing=function(){v("_checkPing :: checking ping..."),this.pingResp?(v("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(v("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))},E.prototype._handlePingresp=function(){this.pingResp=!0},E.prototype._handleConnack=function(t){v("_handleConnack");const e=this.options,n=e.protocolVersion,r=5===n?t.reasonCode:t.returnCode;if(clearTimeout(this.connackTimer),delete this.topicAliasSend,t.properties){if(t.properties.topicAliasMaximum){if(t.properties.topicAliasMaximum>65535)return void this.emit("error",new Error("topicAliasMaximum from broker is out of range"));t.properties.topicAliasMaximum>0&&(this.topicAliasSend=new s(t.properties.topicAliasMaximum))}t.properties.serverKeepAlive&&e.keepalive&&(e.keepalive=t.properties.serverKeepAlive,this._shiftPingInterval()),t.properties.maximumPacketSize&&(e.properties||(e.properties={}),e.properties.maximumPacketSize=t.properties.maximumPacketSize)}if(0===r)this.reconnecting=!1,this._onConnect(t);else if(r>0){const t=new Error("Connection refused: "+x[r]);t.code=r,this.emit("error",t)}},E.prototype._handleAuth=function(t){const e=this.options,n=e.protocolVersion,r=5===n?t.reasonCode:t.returnCode;if(5!==n){const t=new Error("Protocol error: Auth packets are only supported in MQTT 5. Your version:"+n);return t.code=r,void this.emit("error",t)}const i=this;this.handleAuth(t,(function(t,e){if(t)i.emit("error",t);else if(24===r)i.reconnecting=!1,i._sendPacket(e);else{const e=new Error("Connection refused: "+x[r]);t.code=r,i.emit("error",e)}}))},E.prototype.handleAuth=function(t,e){e()},E.prototype._handlePublish=function(t,e){v("_handlePublish: packet %o",t),e="undefined"!==typeof e?e:M;let n=t.topic.toString();const r=t.payload,i=t.qos,o=t.messageId,a=this,s=this.options,l=[0,16,128,131,135,144,145,151,153];if(5===this.options.protocolVersion){let e;if(t.properties&&(e=t.properties.topicAlias),"undefined"!==typeof e)if(0===n.length){if(!(e>0&&e<=65535))return v("_handlePublish :: topic alias out of range. alias: %d",e),void this.emit("error",new Error("Received Topic Alias is out of range"));{const t=this.topicAliasRecv.getTopicByAlias(e);if(!t)return v("_handlePublish :: unregistered topic alias. alias: %d",e),void this.emit("error",new Error("Received unregistered Topic Alias"));n=t,v("_handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,e)}}else{if(!this.topicAliasRecv.put(n,e))return v("_handlePublish :: topic alias out of range. alias: %d",e),void this.emit("error",new Error("Received Topic Alias is out of range"));v("_handlePublish :: registered topic: %s - alias: %d",n,e)}}switch(v("_handlePublish: qos %d",i),i){case 2:s.customHandleAcks(n,r,t,(function(n,r){return n instanceof Error||(r=n,n=null),n?a.emit("error",n):-1===l.indexOf(r)?a.emit("error",new Error("Wrong reason code for pubrec")):void(r?a._sendPacket({cmd:"pubrec",messageId:o,reasonCode:r},e):a.incomingStore.put(t,(function(){a._sendPacket({cmd:"pubrec",messageId:o},e)})))}));break;case 1:s.customHandleAcks(n,r,t,(function(i,s){return i instanceof Error||(s=i,i=null),i?a.emit("error",i):-1===l.indexOf(s)?a.emit("error",new Error("Wrong reason code for puback")):(s||a.emit("message",n,r,t),void a.handleMessage(t,(function(t){if(t)return e&&e(t);a._sendPacket({cmd:"puback",messageId:o,reasonCode:s},e)})))}));break;case 0:this.emit("message",n,r,t),this.handleMessage(t,e);break;default:v("_handlePublish: unknown QoS. Doing nothing.");break}},E.prototype.handleMessage=function(t,e){e()},E.prototype._handleAck=function(t){const e=t.messageId,n=t.cmd;let r=null;const i=this.outgoing[e]?this.outgoing[e].cb:null,o=this;let a;if(i){switch(v("_handleAck :: packet type",n),n){case"pubcomp":case"puback":{const n=t.reasonCode;n&&n>0&&16!==n&&(a=new Error("Publish error: "+x[n]),a.code=n,i(a,t)),delete this.outgoing[e],this.outgoingStore.del(t,i),this.messageIdProvider.deallocate(e),this._invokeStoreProcessingQueue();break}case"pubrec":{r={cmd:"pubrel",qos:2,messageId:e};const n=t.reasonCode;n&&n>0&&16!==n?(a=new Error("Publish error: "+x[n]),a.code=n,i(a,t)):this._sendPacket(r);break}case"suback":delete this.outgoing[e],this.messageIdProvider.deallocate(e);for(let n=0;n0)if(this.options.resubscribe)if(5===this.options.protocolVersion){v("_resubscribe: protocolVersion 5");for(let e=0;e0){const t=this._storeProcessingQueue[0];if(t&&t.invoke())return this._storeProcessingQueue.shift(),!0}return!1},E.prototype._invokeAllStoreProcessingQueue=function(){while(this._invokeStoreProcessingQueue());},E.prototype._flushStoreProcessingQueue=function(){for(const t of this._storeProcessingQueue)t.cbStorePut&&t.cbStorePut(new Error("Connection closed")),t.callback&&t.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)},t.exports=E}).call(this,n("4362"),n("c8ba"))},dfe5:function(t,e){},e017:function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var n=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n};"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var i=r((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var a=e.slice();return r.forEach((function(r,s){"undefined"===typeof a[s]?a[s]=n(r,i):t(r)?a[s]=o(e[s],r,i):-1===e.indexOf(r)&&a.push(n(r,i))})),a}function i(e,r,i){var a={};return t(e)&&Object.keys(e).forEach((function(t){a[t]=n(e[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&e[s]?a[s]=o(e[s],r[s],i):a[s]=n(r[s],i)})),a}function o(t,e,o){var a=Array.isArray(e),s=o||{arrayMerge:r},l=s.arrayMerge||r;return a?Array.isArray(t)?l(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))})),o=r((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),a=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},s=o.svg,l=o.xlink,u={};u[s.name]=s.uri,u[l.name]=l.uri;var c=function(t,e){void 0===t&&(t="");var n=i(u,e||{}),r=a(n);return""+t+""},f=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return n(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,r),e}(t);return f}))}).call(this,n("c8ba"))},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),a=n("e330"),s=n("1a2d"),l=n("1626"),u=n("3a9b"),c=n("577e"),f=n("9bf2").f,h=n("e893"),d=o.Symbol,p=d&&d.prototype;if(i&&l(d)&&(!("description"in p)||void 0!==d().description)){var g={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=u(p,this)?new d(t):void 0===t?d():d(t);return""===t&&(g[e]=!0),e};h(v,d),v.prototype=p,p.constructor=v;var y="Symbol(test)"==String(d("test")),m=a(p.valueOf),b=a(p.toString),x=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),w=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),n=y?w(e,7,-1):_(e,x,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},e057:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("2306"),a=n("c775"),s=a.getDefaultLabel,l=n("3301"),u=n("9d57"),c=u.getLayoutOnAxis,f=n("80f0"),h=n("4f85"),d=n("4319"),p=n("e887"),g=n("b0af"),v=g.createClipPath,y=n("aa3e"),m=n("00d8"),b=n("307b"),x=n("eaeb"),_=n("471e"),w=o.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],C=["emphasis","itemStyle"],A=["label"],k=["emphasis","label"],O="e\0\0",M={cartesian2d:y,geo:m,singleAxis:b,polar:x,calendar:_};function E(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=H(r);e=o.makePath(a,null,i,r.layout||"center"),e.__customPathData=a}else if("image"===n)e=new o.Image({}),e.__customImagePath=t.style.image;else if("text"===n)e=new o.Text({}),e.__customText=t.style.text;else if("group"===n)e=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);e=new s}return e.__customGraphicType=n,e.name=t.name,e}function T(t,e,n,r,a,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=i.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===t.type&&n.style){var f=u.style={};i.each(["x","y","width","height"],(function(e){I(e,f,c,t.style,s)}))}if("text"===t.type&&n.style){f=u.style={};i.each(["x","y"],(function(e){I(e,f,c,t.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==t.type&&(t.useStyle(c),s)){t.style.opacity=0;var h=c.opacity;null==h&&(h=1),o.initProps(t,{style:{opacity:h}},r,e)}s?t.attr(u):o.updateProps(t,u,r,e),n.hasOwnProperty("z2")&&t.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&t.attr("silent",n.silent),n.hasOwnProperty("invisible")&&t.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&t.attr("ignore",n.ignore),n.hasOwnProperty("info")&&t.attr("info",n.info);var d=n.styleEmphasis;o.setElementHoverStyle(t,d),l&&o.setAsHighDownDispatcher(t,!1!==d)}function I(t,e,n,r,i){null==n[t]||i||(e[t]=n[t],n[t]=r[t])}function P(t,e,n,r){var a=t.get("renderItem"),l=t.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():M[l.type](l));var f,h,d,p,g,v=i.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:x,style:_,styleEmphasis:w,visual:O,barLayout:E,currentSeriesIndices:T,font:I},u.api||{}),y={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:u.coordSys,dataInsideLength:e.count(),encode:L(t.getData())},m=!0;return function(t,n){return f=t,m=!0,a&&a(i.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},y),v)};function b(t){null==t&&(t=f),m&&(h=e.getItemModel(t),d=h.getModel(A),p=h.getModel(k),g=e.getItemVisual(t,"color"),m=!1)}function x(t,n){return null==n&&(n=f),e.get(e.getDimension(t||0),n)}function _(n,r){null==r&&(r=f),b(r);var a=h.getModel(S).getItemStyle();null!=g&&(a.fill=g);var l=e.getItemVisual(r,"opacity");null!=l&&(a.opacity=l);var u=n?z(n,d):d;return o.setTextStyle(a,u,null,{autoColor:g,isRectText:!0}),a.text=u.getShallow("show")?i.retrieve2(t.getFormattedLabel(r,"normal"),s(e,r)):null,n&&V(a,n),a}function w(n,r){null==r&&(r=f),b(r);var a=h.getModel(C).getItemStyle(),l=n?z(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?i.retrieve3(t.getFormattedLabel(r,"emphasis"),t.getFormattedLabel(r,"normal"),s(e,r)):null,n&&V(a,n),a}function O(t,n){return null==n&&(n=f),e.getItemVisual(n,t)}function E(t){if(l.getBaseAxis){var e=l.getBaseAxis();return c(i.defaults({axis:e},t),r)}}function T(){return n.getCurrentSeriesIndices()}function I(t){return o.getFont(t,n)}}function L(t){var e={};return i.each(t.dimensions,(function(n,r){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var o=i.coordDim,a=e[o]=e[o]||[];a[i.coordDimIndex]=r}})),e}function D(t,e,n,r,i,o){return t=R(t,e,n,r,i,o,!0),t&&o.setItemGraphicEl(e,t),t}function R(t,e,n,r,i,o,a){var s=!n;n=n||{};var l=n.type,u=n.shape,c=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&W(u)&&H(u)!==t.__customPathData||"image"===l&&G(c,"image")&&c.image!==t.__customImagePath||"text"===l&&G(u,"text")&&c.text!==t.__customText)&&(i.remove(t),t=null),!s){var f=!t;return!t&&(t=E(n)),T(t,e,n,r,o,f,a),"group"===l&&N(t,e,n,r,o),i.add(t),t}}function N(t,e,n,r,i){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)j({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:r,group:t,data:i});else{u&&t.removeAll();for(var c=0;c40&&(u=Math.max(1,Math.floor(s/40)));for(var c=a[0],h=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(h*Math.cos(r)),p=Math.abs(h*Math.sin(r)),g=0,v=0;c<=a[1];c+=u){var y=0,m=0,b=i.getBoundingRect(n(c),e.font,"center","top");y=1.3*b.width,m=1.3*b.height,g=Math.max(g,y,7),v=Math.max(v,m,7)}var x=g/d,_=v/p;isNaN(x)&&(x=1/0),isNaN(_)&&(_=1/0);var w=Math.max(0,Math.floor(Math.min(x,_))),C=f(t.model),A=t.getExtent(),k=C.lastAutoInterval,O=C.lastTickCount;return null!=k&&null!=O&&Math.abs(k-w)<=1&&Math.abs(O-s)<=1&&k>w&&C.axisExtend0===A[0]&&C.axisExtend1===A[1]?w=k:(C.lastTickCount=s,C.lastAutoInterval=w,C.axisExtend0=A[0],C.axisExtend1=A[1]),w}function S(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function C(t,e,n){var r=l(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),f=o[0],h=i.count();0!==f&&u>1&&h/u>2&&(f=Math.round(Math.ceil(f/u)*u));var d=c(t),p=a.get("showMinLabel")||d,g=a.get("showMaxLabel")||d;p&&f!==o[0]&&y(o[0]);for(var v=f;v<=o[1];v+=u)y(v);function y(t){s.push(n?t:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:t})}return g&&v-u!==o[1]&&y(o[1]),s}function A(t,e,n){var i=t.scale,o=l(t),a=[];return r.each(i.getTicks(),(function(t){var r=i.getLabel(t);e(t,r)&&a.push(n?t:{formattedLabel:o(t),rawLabel:r,tickValue:t})})),a}e.createAxisLabels=h,e.createAxisTicks=d,e.calculateCategoryInterval=w},e0d3:function(t,e,n){var r=n("6d8b"),i=n("22d1"),o=r.each,a=r.isObject,s=r.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function c(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r=n.length&&n.push({option:t})}})),n}function g(t){var e=r.createHashMap();o(t,(function(t,n){var r=t.exist;r&&e.set(r.id,t)})),o(t,(function(t,n){var i=t.option;r.assert(!i||null==i.id||!e.get(i.id)||e.get(i.id)===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&e.set(i.id,t),!t.keyInfo&&(t.keyInfo={})})),o(t,(function(t,n){var r=t.exist,i=t.option,o=t.keyInfo;if(a(i)){if(o.name=null!=i.name?i.name+"":r?r.name:l+n,r)o.id=r.id;else if(null!=i.id)o.id=i.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(e.get(o.id))}e.set(o.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(l))}function y(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function m(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0});var o=i;t.exports=o},e11f:function(t,e,n){},e142:function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i={};function o(t,e,n){function o(t,n,r){return"string"===typeof e?e:e(t,n,r)}n||(n=Error);var a=function(t){function e(e,n,r){return t.call(this,o(e,n,r))||this}return r(e,t),e}(n);a.prototype.name=n.name,a.prototype.code=t,i[t]=a}function a(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}function s(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function l(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function u(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i;if("string"===typeof e&&s(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be",l(t," argument"))i="The ".concat(t," ").concat(r," ").concat(a(e,"type"));else{var o=u(t,".")?"property":"argument";i='The "'.concat(t,'" ').concat(o," ").concat(r," ").concat(a(e,"type"))}return i+=". Received type ".concat(typeof n),i}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},e163:function(t,e,n){var r=n("1a2d"),i=n("1626"),o=n("7b0b"),a=n("f772"),s=n("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(r(e,l))return e[l];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof u?c:null}},e169:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.drawPolylinePath=o,e.drawBezierCurvePath=a,e["default"]=void 0;var i=r(n("448a"));function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||e.length<2)return!1;n&&t.beginPath(),e.forEach((function(e,n){return e&&(0===n?t.moveTo.apply(t,(0,i["default"])(e)):t.lineTo.apply(t,(0,i["default"])(e)))})),r&&t.closePath()}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!t||!e)return!1;r&&t.beginPath(),n&&t.moveTo.apply(t,(0,i["default"])(n)),e.forEach((function(e){return e&&t.bezierCurveTo.apply(t,(0,i["default"])(e[0]).concat((0,i["default"])(e[1]),(0,i["default"])(e[2])))})),o&&t.closePath()}var s={drawPolylinePath:o,drawBezierCurvePath:a};e["default"]=s},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e198:function(t,e,n){var r=n("ef08"),i=n("5524"),o=n("e444"),a=n("fcd4"),s=n("1a14").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},e1fc:function(t,e,n){var r=n("6d8b"),i=n("d5b7"),o=n("9850"),a=function(t){for(var e in t=t||{},i.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,o=r.indexOf(i,t);return o<0||(i.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(v){}},e263:function(t,e,n){var r=n("401b"),i=n("4a3f"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=r.create(),f=r.create(),h=r.create();function d(t,e,n){if(0!==t.length){var r,i=t[0],s=i[0],l=i[0],u=i[1],c=i[1];for(r=1;r1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(c[0]=l(o)*n+t,c[1]=s(o)*i+e,f[0]=l(a)*n+t,f[1]=s(a)*i+e,v(p,c,f),y(g,c,f),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!d?a+=u:oo&&(h[0]=l(x)*n+t,h[1]=s(x)*i+e,v(p,h,p),y(g,h,g))}e.fromPoints=d,e.fromLine=p,e.fromCubic=y,e.fromQuadratic=m,e.fromArc=b},e330:function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e34a:function(t,e,n){var r=n("8b1a")("meta"),i=n("7a41"),o=n("9c0e"),a=n("1a14").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("4b8b")((function(){return l(Object.preventExtensions({}))})),c=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},d=function(t){return u&&p.NEED&&l(t)&&!o(t,r)&&c(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},e391:function(t,e,n){var r=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},e439:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=i((function(){a(1)})),u=!s||l;r({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e444:function(t,e){t.exports=!0},e468:function(t,e,n){var r=n("e46b"),i=n("6d8b"),o=n("2f45"),a=o.getDimensionTypeByAxis,s=n("0f99"),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(t,e){var n,o,s=e.getComponent("xAxis",this.get("xAxisIndex")),u=e.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),f=u.get("type");"category"===c?(t.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===f?(t.layout="vertical",n=u.getOrdinalMeta(),o=!0):t.layout=t.layout||"horizontal";var h=["x","y"],d="horizontal"===t.layout?0:1,p=this._baseAxisDim=h[d],g=h[1-d],v=[s,u],y=v[d].get("type"),m=v[1-d].get("type"),b=t.data;if(b&&o){var x=[];i.each(b,(function(t,e){var n;t.value&&i.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):i.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,x.push(n)})),t.data=x}var _=this.defaultValueDimensions,w=[{name:p,type:a(y),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:a(m),dimsDef:_.slice()}];return r(this,{coordDimensions:w,dimensionsCount:_.length+1,encodeDefaulter:i.curry(l,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=u},e46b:function(t,e,n){var r=n("b1d4"),i=n("6179"),o=n("6d8b"),a=o.extend,s=o.isArray;function l(t,e,n){e=s(e)&&{coordDimensions:e}||a({},e);var o=t.getSource(),l=r(o,e),u=new i(l,t);return u.initData(o,n),u}t.exports=l},e47b:function(t,e,n){var r=n("e0d3"),i=r.makeInner,o=r.normalizeToArray,a=i();function s(t,e){for(var n=t.length,r=0;re)return t[r];return t[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=e||this;var r=a(e),i=r.colorIdx||0,l=r.colorNameMap=r.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),f=null!=n&&c?s(c,n):u;if(f=f||u,f&&f.length){var h=f[i];return t&&(l[t]=h),r.colorIdx=(i+1)%f.length,h}}};t.exports=l},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e507:function(t,e,n){var r=n("512c");r(r.S+r.F,"Object",{assign:n("072d")})},e50d:function(t,e,n){n("8172"),n("d9e2"),n("efec"),n("a9e3");var r=n("7037")["default"];function i(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},e538:function(t,e,n){var r=n("b622");e.f=r},e5cb:function(t,e,n){"use strict";var r=n("d066"),i=n("1a2d"),o=n("9112"),a=n("3a9b"),s=n("d2bb"),l=n("e893"),u=n("aeb0"),c=n("7156"),f=n("e391"),h=n("ab36"),d=n("0d26"),p=n("b980"),g=n("83ab"),v=n("c430");t.exports=function(t,e,n,y){var m="stackTraceLimit",b=y?2:1,x=t.split("."),_=x[x.length-1],w=r.apply(null,x);if(w){var S=w.prototype;if(!v&&i(S,"cause")&&delete S.cause,!n)return w;var C=r("Error"),A=e((function(t,e){var n=f(y?e:t,void 0),r=y?new w(t):new w;return void 0!==n&&o(r,"message",n),p&&o(r,"stack",d(r.stack,2)),this&&a(S,this)&&c(r,this,A),arguments.length>b&&h(r,arguments[b]),r}));if(A.prototype=S,"Error"!==_?s?s(A,C):l(A,C,{name:!0}):g&&m in w&&(u(A,w,m),u(A,w,"prepareStackTrace")),l(A,w),!v)try{S.name!==_&&o(S,"name",_),S.constructor=A}catch(k){}return A}}},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6cd:function(t,e,n){var r=n("6d8b");function i(){var t,e=[],n={};return{add:function(t,i,o,a,s){return r.isString(a)&&(s=a,a=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:i,time:o,delay:a,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var r=e.length,i=0,o=e.length;ithis.max)&&(this.aliasToTopic[e]=t,this.length=Object.keys(this.aliasToTopic).length,!0)},r.prototype.getTopicByAlias=function(t){return this.aliasToTopic[t]},r.prototype.clear=function(){this.aliasToTopic={}},t.exports=r},e7d2:function(t,e,n){var r=n("4a3f");function i(t,e,n,i,o,a,s,l,u,c,f){if(0===u)return!1;var h=u;if(f>e+h&&f>i+h&&f>a+h&&f>l+h||ft+h&&c>n+h&&c>o+h&&c>s+h||cd&&(h=0,f={}),h++,f[n]=i,i}function b(t,e,n,r,i,o,a,s){return a?_(t,e,n,r,i,o,a,s):x(t,e,n,r,i,o,s)}function x(t,e,n,i,o,a,s){var l=P(t,e,o,a,s),u=m(t,e);o&&(u+=o[1]+o[3]);var c=l.outerHeight,f=w(0,u,n),h=S(0,c,i),d=new r(f,h,u,c);return d.lineHeight=l.lineHeight,d}function _(t,e,n,i,o,a,s,l){var u=L(t,{rich:s,truncate:l,font:e,textAlign:n,textPadding:o,textLineHeight:a}),c=u.outerWidth,f=u.outerHeight,h=w(0,c,n),d=S(0,f,i);return new r(h,d,c,f)}function w(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function S(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function C(t,e,n){var r=e.textPosition,i=e.textDistance,o=n.x,a=n.y;i=i||0;var s=n.height,l=n.width,u=s/2,c="left",f="top";switch(r){case"left":o-=i,a+=u,c="right",f="middle";break;case"right":o+=i+l,a+=u,f="middle";break;case"top":o+=l/2,a-=i,c="center",f="bottom";break;case"bottom":o+=l/2,a+=s+i,c="center";break;case"inside":o+=l/2,a+=u,c="center",f="middle";break;case"insideLeft":o+=i,a+=u,f="middle";break;case"insideRight":o+=l-i,a+=u,c="right",f="middle";break;case"insideTop":o+=l/2,a+=i,c="center";break;case"insideBottom":o+=l/2,a+=s-i,c="center",f="bottom";break;case"insideTopLeft":o+=i,a+=i;break;case"insideTopRight":o+=l-i,a+=i,c="right";break;case"insideBottomLeft":o+=i,a+=s-i,f="bottom";break;case"insideBottomRight":o+=l-i,a+=s-i,c="right",f="bottom";break}return t=t||{},t.x=o,t.y=a,t.textAlign=c,t.textVerticalAlign=f,t}function A(t,e,n){var r={textPosition:t,textDistance:n};return C({},r,e)}function k(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=O(e,n,r,i);for(var a=0,s=o.length;a=o;u++)a-=o;var c=m(n,e);return c>a&&(n="",c=0),a=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=a,r.containerWidth=t,r}function M(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=m(t,r);if(o<=n)return t;for(var a=0;;a++){if(o<=i||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?E(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,s),o=m(t,r)}return""===t&&(t=e.placeholder),t}function E(t,e,n,r){for(var i=0,o=0,a=t.length;of)t="",a=[];else if(null!=h)for(var d=O(h-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,g=a.length;po&&D(n,t.substring(o,a)),D(n,r[2],r[1]),o=p.lastIndex}oy)return{lines:[],width:0,height:0};C.textWidth=m(C.text,M);var I=A.textWidth,P=null==I||"auto"===I;if("string"===typeof I&&"%"===I.charAt(I.length-1))C.percentWidth=I,h.push(C),I=0;else{if(P){I=C.textWidth;var L=A.textBackgroundColor,R=L&&L.image;R&&(R=i.findExistImage(R),i.isImageReady(R)&&(I=Math.max(I,R.width*E/R.height)))}var N=O?O[1]+O[3]:0;I+=N;var j=null!=v?v-w:null;null!=j&&j0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";var e=this.head,n=""+e.data;while(e=e.next)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return h.alloc(0);var e=h.allocUnsafe(t>>>0),n=this.head,r=0;while(n)v(n.data,e,r),r+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return ti.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),t-=o,0===t){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=h.allocUnsafe(t),n=this.head,r=1;n.data.copy(e),t-=n.data.length;while(n=n.next){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),t-=o,0===t){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:g,value:function(t,e){return p(this,i(i({},e),{},{depth:0,customInspect:!1}))}}]),t}()},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},e9c4:function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("2ba4"),a=n("c65b"),s=n("e330"),l=n("d039"),u=n("e8b5"),c=n("1626"),f=n("861d"),h=n("d9b5"),d=n("f36a"),p=n("04f8"),g=i("JSON","stringify"),v=s(/./.exec),y=s("".charAt),m=s("".charCodeAt),b=s("".replace),x=s(1..toString),_=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,C=!p||l((function(){var t=i("Symbol")();return"[null]"!=g([t])||"{}"!=g({a:t})||"{}"!=g(Object(t))})),A=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var n=d(arguments),r=e;if((f(e)||void 0!==t)&&!h(t))return u(e)||(e=function(t,e){if(c(r)&&(e=a(r,this,t,e)),!h(e))return e}),n[1]=e,o(g,null,n)},O=function(t,e,n){var r=y(n,e-1),i=y(n,e+1);return v(w,t)&&!v(S,i)||v(S,t)&&!v(w,r)?"\\u"+x(m(t,0),16):t};g&&r({target:"JSON",stat:!0,arity:3,forced:C||A},{stringify:function(t,e,n){var r=d(arguments),i=o(C?k:g,null,r);return A&&"string"==typeof i?b(i,_,O):i}})},e9f9:function(t,e,n){var r=n("4942"),i=n("d3a4"),o=n("6d8b"),a=o.each;function s(t){return parseInt(t,10)}function l(t,e){i.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),r=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",r.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=r,this._vmlViewport=n,this.resize();var o=e.delFromStorage,a=e.addToStorage;e.delFromStorage=function(t){o.call(e,t),t&&t.onRemove&&t.onRemove(r)},e.addToStorage=function(t){t.onAdd&&t.onAdd(r),a.call(e,t)},this._firstPaint=!0}function u(t){return function(){r('In IE8.0 VML mode painter not support method "'+t+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n"],i.isArray(t)&&(t=t.slice(),r=!0),o=e?t:r?[c(t[0]),c(t[1])]:c(t),i.isString(u)?u.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):i.isFunction(u)?r?u(t[0],t[1]):u(t):r?t[0]===l[0]?n[0]+" "+o[1]:t[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var r=t.dimensions,i=r.length-1;i>=0;i--){var o=r[i],a=t.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),o=e.controller||(e.controller={});i.merge(r,n),i.merge(o,n);var l=this.isCategory();function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=n[t];if(i.isString(e)){var r=a.get(e,"active",l);r?(n[t]={},n[t][e]=r):delete n[t]}}),this)}function c(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},p(r,(function(t,e){if(s.isValidType(e)){var n=a.get(e,"inactive",l);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function g(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:l?r:[r]}),null==s.symbol&&(s.symbol=e&&i.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=f(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(t){t>c&&(c=t)})),s.symbolSize=f(u,(function(t){return v(t,[0,c],[0,a[0]],!0)}))}}),this)}u.call(this,r),u.call(this,o),c.call(this,r,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:y,getValueState:y,getVisualMeta:y}),b=m;t.exports=b},eaeb:function(t,e,n){var r=n("6d8b");function i(t,e){return r.map(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=e[r],a=t[r]/2,s="dataTo"+n,l="category"===i.type?i.getBandWidth():Math.abs(i[s](o-a)-i[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),o=e.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:r.bind((function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a})),size:r.bind(i,t)}}}t.exports=o},eb53:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n("a34a")),o=r(n("c973")),a=r(n("7037")),s=r(n("448a")),l=r(n("970b")),u=r(n("d0b5")),c=r(n("8f47")),f=n("5557"),h=function t(e,n){(0,l["default"])(this,t),n=(0,f.deepClone)(n,!0);var r={visible:!0,drag:!1,hover:!1,index:1,animationDelay:0,animationFrame:30,animationCurve:"linear",animationPause:!1,hoverRect:null,mouseEnter:null,mouseOuter:null,click:null},i={status:"static",animationRoot:[],animationKeys:[],animationFrameState:[],cache:{}};n.shape||(n.shape={}),n.style||(n.style={});var o=Object.assign({},e.shape,n.shape);Object.assign(r,n,i),Object.assign(this,e,r),this.shape=o,this.style=new u["default"](n.style),this.addedProcessor()};function d(t){return new Promise((function(e){setTimeout(e,t)}))}e["default"]=h,h.prototype.addedProcessor=function(){"function"===typeof this.setGraphCenter&&this.setGraphCenter(null,this),"function"===typeof this.added&&this.added(this)},h.prototype.drawProcessor=function(t,e){var n=t.ctx;e.style.initStyle(n),"function"===typeof this.beforeDraw&&this.beforeDraw(this,t),e.draw(t,e),"function"===typeof this.drawed&&this.drawed(this,t),e.style.restoreTransform(n)},h.prototype.hoverCheckProcessor=function(t,e){var n=e.hoverRect,r=e.style,i=e.hoverCheck,o=r.graphCenter,a=r.rotate,l=r.scale,u=r.translate;return o&&(a&&(t=(0,f.getRotatePointPos)(-a,t,o)),l&&(t=(0,f.getScalePointPos)(l.map((function(t){return 1/t})),t,o)),u&&(t=(0,f.getTranslatePointPos)(u.map((function(t){return-1*t})),t))),n?f.checkPointIsInRect.apply(void 0,[t].concat((0,s["default"])(n))):i(t,this)},h.prototype.moveProcessor=function(t){this.move(t,this),"function"===typeof this.beforeMove&&this.beforeMove(t,this),"function"===typeof this.setGraphCenter&&this.setGraphCenter(t,this),"function"===typeof this.moved&&this.moved(t,this)},h.prototype.attr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!t||void 0===e)return!1;var n="object"===(0,a["default"])(this[t]);n&&(e=(0,f.deepClone)(e,!0));var r=this.render;"style"===t?this.style.update(e):n?Object.assign(this[t],e):this[t]=e,"index"===t&&r.sortGraphsByIndex(),r.drawAllGraph()},h.prototype.animation=function(){var t=(0,o["default"])(i["default"].mark((function t(e,n){var r,a,s,l,u,h,p,g,v,y=arguments;return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=y.length>2&&void 0!==y[2]&&y[2],"shape"===e||"style"===e){t.next=4;break}return console.error("Only supported shape and style animation!"),t.abrupt("return");case 4:if(n=(0,f.deepClone)(n,!0),"style"===e&&this.style.colorProcessor(n),a=this[e],s=Object.keys(n),l={},s.forEach((function(t){return l[t]=a[t]})),u=this.animationFrame,h=this.animationCurve,p=this.animationDelay,g=(0,c["default"])(h,l,n,u,!0),this.animationRoot.push(a),this.animationKeys.push(s),this.animationFrameState.push(g),!r){t.next=17;break}return t.abrupt("return");case 17:if(!(p>0)){t.next=20;break}return t.next=20,d(p);case 20:return v=this.render,t.abrupt("return",new Promise(function(){var t=(0,o["default"])(i["default"].mark((function t(e){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,v.launchAnimation();case 2:e();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 22:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}(),h.prototype.turnNextAnimationFrame=function(t){var e=this.animationDelay,n=this.animationRoot,r=this.animationKeys,i=this.animationFrameState,o=this.animationPause;o||Date.now()-t=0&&s<0)&&(a=g,s=p,i=c,o.length=0),l(f,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}function p(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function g(t,e,n,r){var i=n.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&i.length){var u=e.coordSys.model,c=a.makeKey(u),f=t.map[c];f||(f=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(f)),f.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:i.slice()})}}function v(t,e,n){var r=n.axesInfo=[];l(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}function y(t,e,n,r){if(!_(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}function m(t,e,n){var i=n.getZr(),o="axisPointerLastHighlights",a=c(i)[o]||{},s=c(i)[o]={};l(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],f=[];r.each(a,(function(t,e){!s[e]&&f.push(t)})),r.each(s,(function(t,e){!a[e]&&u.push(t)})),f.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:f}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function b(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function x(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function _(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=f},ebf9:function(t,e,n){var r=n("3eba");r.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))},ec02:function(t,e,n){var r=n("6d8b"),i=n("84ce"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},r.inherits(o,i);var a=o;t.exports=a},ec34:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=i.createHashMap,a=i.isString,s=i.isArray,l=i.each,u=(i.assert,n("3041")),c=u.parseXML,f=o(),h={registerMap:function(t,e,n){var r;return s(e)?r=e:e.svg?r=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),r=[{type:"geoJSON",source:e,specialAreas:n}]),l(r,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=d[e];n(t)})),f.set(t,r)},retrieveMap:function(t){return f.get(t)}},d={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=c(t.source)}};t.exports=h},ec6f:function(t,e,n){var r=n("6d8b"),i=r.createHashMap,o=r.isTypedArray,a=n("625e"),s=a.enableClassCheck,l=n("93d0"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,f=l.SOURCE_FORMAT_UNKNOWN,h=l.SOURCE_FORMAT_TYPED_ARRAY,d=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||f,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&i(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:o(t)?h:u,fromDataset:!1})},s(p);var g=p;t.exports=g},ecf8:function(t,e,n){var r=n("6d8b"),i=n("3842"),o=i.parsePercent,a=r.each;function s(t){var e=l(t);a(e,(function(t){var e=t.seriesModels;e.length&&(u(t),a(e,(function(e,n){c(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function l(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),o=r.indexOf(n,i);o<0&&(o=n.length,n[o]=i,e[o]={axis:i,seriesModels:[]}),e[o].seriesModels.push(t)})),e}function u(t){var e,n,i=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],f=[];if("category"===i.type)n=i.getBandWidth();else{var h=0;a(s,(function(t){h=Math.max(h,t.getData().count())})),e=i.getExtent(),Math.abs(e[1]-e[0])}a(s,(function(t){var e=t.get("boxWidth");r.isArray(e)||(e=[e,e]),f.push([o(e[0],n)||0,o(e[1],n)||0])}));var d=.8*n-2,p=d/l*.3,g=(d-p*(l-1))/l,v=g/2-d/2;a(s,(function(t,e){c.push(v),v+=p+g,u.push(Math.min(Math.max(g,f[e][0]),f[e][1]))}))}function c(t,e,n){var r=t.coordinateSystem,i=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var f=0;f=0&&n.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}}a.__drawIndex=y,a.__drawIndex0&&t>r[0]){for(s=0;st)break;o=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,r,i=this._zlevelList;for(r=0;r0?g:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,e(n),o=l),r.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?o.merge(n[t],e,!0):n[t]=e;for(var r=0;r1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=r.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function f(t){return null==t?"":(t+"").replace(u,(function(t,e){return c[e]}))}var h=["a","b","c","d","e","f","g"],d=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){r.isArray(e)||(e=[e]);var i=e.length;if(!i)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""}function y(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=o.parseDate(e),i=n?"UTC":"",a=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),u=r["get"+i+"Hours"](),c=r["get"+i+"Minutes"](),f=r["get"+i+"Seconds"](),h=r["get"+i+"Milliseconds"]();return t=t.replace("MM",y(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",y(l,2)).replace("d",l).replace("hh",y(u,2)).replace("h",u).replace("mm",y(c,2)).replace("m",c).replace("ss",y(f,2)).replace("s",f).replace("SSS",y(h,3)),t}function b(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var x=i.truncateText;function _(t){return i.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,n,r,o,a,s,l){return i.getBoundingRect(t,e,n,r,o,l,a,s)}function S(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)}e.addCommas=a,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=f,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=v,e.formatTime=m,e.capitalFirst=b,e.truncateText=x,e.getTextBoundingRect=_,e.getTextRect=w,e.windowOpen=S},edaf:function(t,e,n){var r=n("6d8b"),i=n("6cb7"),o=n("6179"),a=n("e0d3"),s=i.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,i=this._names=[];if("category"===n){var s=[];r.each(e,(function(t,e){var n,o=a.getDataItemValue(t);r.isObject(t)?(n=r.clone(t),n.value=e):n=e,s.push(n),r.isString(o)||null!=o&&!isNaN(o)||(o=""),i.push(o+"")})),e=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(e,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},edb3:function(t,e,n){"use strict";(function(e){function n(t,n){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(a,this,t)):e.nextTick(a,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!n&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(i,o):(o._writableState.errorEmitted=!0,e.nextTick(r,o,t)):e.nextTick(r,o,t):n?(e.nextTick(i,o),n(t)):e.nextTick(i,o)})),this)}function r(t,e){a(t,e),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(t,e){t.emit("error",e)}function s(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}t.exports={destroy:n,undestroy:o,errorOrDestroy:s}}).call(this,n("4362"))},edb9:function(t,e,n){var r=n("6d8b");function i(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,o={},a=i.position,s=i.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[a]:u[0],"horizontal"===s?c.horizontal[a]:u[3]];var f={horizontal:0,vertical:1};o.rotation=Math.PI/2*f[s];var h={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=h[a],t.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),r.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=e.rotate;return null==d&&(d=t.get("axisLabel.rotate")),o.labelRotation="top"===a?-d:d,o.z2=1,o}e.layout=i},edd0:function(t,e,n){var r=n("13d2"),i=n("9bf2");t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},ee1a:function(t,e,n){var r=n("6d8b"),i=r.each,o=r.isString;function a(t,e,n){n=n||{};var r,a,s,l,u=n.byIndex,c=n.stackedCoordDimension,f=!(!t||!t.get("stack"));if(i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),f&&!t.isExtraCoord&&(u||r||!t.ordinalMeta||(r=t),a||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(a=t))})),!a||u||r||(u=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var h=a.coordDim,d=a.type,p=0;i(e,(function(t){t.coordDim===h&&p++})),e.push({name:s,coordDim:h,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:r&&r.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=a,e.isDimensionStacked=s,e.getStackedDimension=l},ee66:function(t,e,n){var r=n("3eba"),i=n("6d8b"),o=n("2306"),a=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient();this._renderDayRect(t,o,r),this._renderLines(t,o,a,r),this._renderYearText(t,o,a,r),this._renderMonthText(t,a,r),this._renderWeekText(t,o,a,r)},_renderDayRect:function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:i});n.add(c)}},_renderLines:function(t,e,n,r){var i=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var f=u.date;f.setMonth(f.getMonth()+1),u=o.getDateInfo(f)}function h(e){i._firstDayOfMonth.push(o.getDateInfo(e)),i._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},_getEdgesPoints:function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},_drawSplitline:function(t,e,n){var r=new o.Polyline({z2:20,shape:{points:t},style:e});n.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var r=t.coordinateSystem;e=r.getDateInfo(e);for(var i=[],o=0;o<7;o++){var a=r.getNextNDay(e.time,o),s=r.dataToRect([a.time],!1);i[2*a.day]=s.tl,i[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return i},_formatterLabel:function(t,e){return"string"===typeof t&&t?a.formatTplSimple(t,e):"function"===typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,r,i){e=e.slice();var o=["center","bottom"];"bottom"===r?(e[1]+=i,o=["center","top"]):"left"===r?e[0]-=i:"right"===r?(e[0]+=i,o=["center","top"]):e[1]-=i;var a=0;return"left"!==r&&"right"!==r||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var a=i.get("margin"),s=i.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,f="horizontal"===n?0:1,h={top:[u,l[f][1]],bottom:[u,l[1-f][1]],left:[l[1-f][0],c],right:[l[f][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=i.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:d},v=this._formatterLabel(p,g),y=new o.Text({z2:30});o.setTextStyle(y.style,i,{text:v}),y.attr(this._yearTextPositionControl(y,h[s],n,s,a)),r.add(y)}},_monthTextPositionControl:function(t,e,n,r,i){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(o="center"),"start"===r&&(a="bottom")):(s+=i,e&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,e,n){var r=t.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),s=r.get("margin"),u=r.get("position"),c=r.get("align"),f=[this._tlpoints,this._blpoints];i.isString(a)&&(a=l[a.toUpperCase()]||[]);var h="start"===u?0:1,d="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g1?(g.width=c,g.height=c/d):(g.height=c,g.width=c*d),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=t.getBoxLayoutParams(),o.aspect=d,g=s.getLayoutRect(o,{width:f,height:h});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){o.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var d={dimensions:a.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",(function(t,r){var i=t.get("map"),o=t.get("aspectScale"),s=!0,l=c.retrieveMap(i);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new a(i+r,i,t.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=t.get("scaleLimit"),n.push(u),h(u,t),t.coordinateSystem=u,u.model=t,u.resize=f,u.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var r=t.get("geoIndex")||0;t.coordinateSystem=n[r]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),o.each(r,(function(t,r){var i=o.map(t,(function(t){return t.get("nameMap")})),s=new a(r,r,o.mergeAll(i));s.zoomLimit=o.retrieve.apply(null,o.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=f,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),o.each(t,(function(t){t.coordinateSystem=s,h(s,t)}))})),n},getFilledRegions:function(t,e,n){for(var r=(t||[]).slice(),i=o.createHashMap(),a=0;as&&(e[1-o]=e[o]+d.sign*s),e}function r(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function i(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=n},ef97:function(t,e,n){var r=n("3eba");n("217b"),n("f17f");var i=n("7f96"),o=n("87c3"),a=n("fdde");n("01ed"),r.registerVisual(i("line","circle","line")),r.registerLayout(o("line")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a("line"))},ef97a:function(t,e,n){var r=n("3eba");n("2163"),n("6cd8"),n("bf9b");var i=n("7f96"),o=n("ca29");r.registerVisual(i("tree","circle")),r.registerLayout(o)},efec:function(t,e,n){var r=n("1a2d"),i=n("cb2d"),o=n("51eb"),a=n("b622"),s=a("toPrimitive"),l=Date.prototype;r(l,s)||i(l,s,o)},f069:function(t,e,n){"use strict";var r=n("59ed"),i=TypeError,o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw i("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},f0cb:function(t,e,n){(function(e){const n=65536,r={},i=e.isBuffer(e.from([1,2]).subarray(0,1));function o(t){const n=e.allocUnsafe(2);return n.writeUInt8(t>>8,0),n.writeUInt8(255&t,1),n}function a(){for(let t=0;t0&&(r|=128),a.writeUInt8(r,o++)}while(t>0&&o0&&(o=0),i?a.subarray(0,o):a.slice(0,o)}function l(t){const n=e.allocUnsafe(4);return n.writeUInt32BE(t,0),n}t.exports={cache:r,generateCache:a,generateNumber:o,genBufVariableByteInt:s,generate4ByteBuffer:l}}).call(this,n("1c35").Buffer)},f111:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.barConfig=void 0;var r={show:!0,name:"",stack:"",shapeType:"normal",echelonOffset:10,barWidth:"auto",barGap:"30%",barCategoryGap:"20%",xAxisIndex:0,yAxisIndex:0,data:[],backgroundBar:{show:!1,width:"auto",style:{fill:"rgba(200, 200, 200, .4)"}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},gradient:{color:[],local:!0},barStyle:{},independentColor:!1,independentColors:[],rLevel:0,animationCurve:"easeOutCubic",animationFrame:50};e.barConfig=r},f123:function(t,e,n){var r=n("9f82"),i=r.prepareDataCoordInfo,o=r.getStackedOnPoint;function a(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function s(t,e,n,r,s,l,u,c){for(var f=a(t,e),h=[],d=[],p=[],g=[],v=[],y=[],m=[],b=i(s,e,u),x=i(l,t,c),_=0;_0?k.join(",")||null:void 0}];else if(l(y))P=y;else{var D=Object.keys(k);P=m?D.sort(m):D}var R=h?n.replace(/\./g,"%2E"):n,N=a&&l(k)&&1===k.length?R+"[]":R;if(s&&l(k)&&0===k.length)return N+"[]";for(var j=0;j0?b+m:""}},f17f:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("e263"),a=o.fromPoints,s=n("f706"),l=n("1418"),u=n("f123"),c=n("2306"),f=n("e0d3"),h=n("d4d1"),d=h.Polyline,p=h.Polygon,g=n("e887"),v=n("9f82"),y=v.prepareDataCoordInfo,m=v.getStackedOnPoint,b=n("b0af"),x=b.createGridClipPath,_=b.createPolarClipPath;function w(t,e){if(t.length===e.length){for(var n=0;n=0;a--){var s=n[a].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(r=u&&u.coordDim,"x"===r||"y"===r){o=n[a];break}}if(o){var f=e.getAxis(r),h=i.map(o.stops,(function(t){return{coord:f.toGlobalCoord(f.dataToCoord(t.value)),color:t.color}})),d=h.length,p=o.outerColors.slice();d&&h[0].coord>h[d-1].coord&&(h.reverse(),p.reverse());var g=10,v=h[0].coord-g,y=h[d-1].coord+g,m=y-v;if(m<.001)return"transparent";i.each(h,(function(t){t.offset=(t.coord-v)/m})),h.push({offset:d?h[d-1].offset:.5,color:p[1]||"transparent"}),h.unshift({offset:d?h[0].offset:.5,color:p[0]||"transparent"});var b=new c.LinearGradient(0,0,0,0,h,!0);return b[r]=v,b[r+"2"]=y,b}}}function M(t,e,n){var r=t.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!E(a,e))){var s=e.mapDimension(a.dim),l={};return i.each(a.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function E(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function T(t,e,n){if("cartesian2d"===t.type){var r=t.getBaseAxis().isHorizontal(),i=x(t,e,n);if(!n.get("clip",!0)){var o=i.shape,a=Math.max(o.width,o.height);r?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return i}return _(t,e,n)}var I=g.extend({type:"line",init:function(){var t=new c.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),c="polar"===r.type,f=this._coordSys,h=this._symbolDraw,d=this._polyline,p=this._polygon,g=this._lineGroup,v=t.get("animation"),m=!l.isEmpty(),b=l.get("origin"),x=y(r,a,b),_=A(r,a,x),S=t.get("showSymbol"),E=S&&!c&&M(t,a,r),I=this._data;I&&I.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),I.setItemGraphicEl(e,null))})),S||h.remove(),o.add(g);var P,L=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(P=r.getArea(),null!=P.width?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r1+=.5)),this._clipShapeForSymbol=P,d&&f.type===r.type&&L===this._step?(m&&!p?p=this._newPolygon(u,_,r,v):p&&!m&&(g.remove(p),p=this._polygon=null),g.setClipPath(T(r,!1,t)),S&&h.updateData(a,{isIgnore:E,clipShape:P}),a.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,_)&&w(this._points,u)||(v?this._updateAnimation(a,_,r,n,L,b):(L&&(u=k(u,r,L),_=k(_,r,L)),d.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:_})))):(S&&h.updateData(a,{isIgnore:E,clipShape:P}),L&&(u=k(u,r,L),_=k(_,r,L)),d=this._newPolyline(u,r,v),m&&(p=this._newPolygon(u,_,r,v)),g.setClipPath(T(r,!0,t)));var D=O(a,r)||a.getVisual("color");d.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"}));var R=t.get("smooth");if(R=C(t.get("smooth")),d.setShape({smooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var N=a.getCalculationInfo("stackedOnSeries"),j=0;p.useStyle(i.defaults(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel"})),N&&(j=C(N.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:j,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=u,this._step=L,this._valueOrigin=b},dispose:function(){},highlight:function(t,e,n,r){var i=t.getData(),o=f.queryDataIndex(i,r);if(!(o instanceof Array)&&null!=o&&o>=0){var a=i.getItemGraphicEl(o);if(!a){var s=i.getItemLayout(o);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;a=new l(i,o),a.position=s,a.setZ(t.get("zlevel"),t.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,i.setItemGraphicEl(o,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else g.prototype.highlight.call(this,t,e,n,r)},downplay:function(t,e,n,r){var i=t.getData(),o=f.queryDataIndex(i,r);if(null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else g.prototype.downplay.call(this,t,e,n,r)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new d({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,r,i,o){var a=this._polyline,s=this._polygon,l=t.hostModel,f=u(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),h=f.current,d=f.stackedOnCurrent,p=f.next,g=f.stackedOnNext;if(i&&(h=k(f.current,n,i),d=k(f.stackedOnCurrent,n,i),p=k(f.next,n,i),g=k(f.stackedOnNext,n,i)),S(h,p)>3e3||s&&S(d,g)>3e3)return a.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));a.shape.__points=f.current,a.shape.points=h,c.updateProps(a,{shape:{points:p}},l),s&&(s.setShape({points:h,stackedOnPoints:d}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var v=[],y=f.status,m=0;ms)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&u(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r&&null})}}};function u(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}r.registerPreprocessor(a)},f31f:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),o=n("6d8b"),a=n("2b8c"),s=n("4319"),l=["#ddd"],u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;!e&&a.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},r.hasOwnProperty("liftZ")||(r.liftZ=5)},setAreas:function(t){t&&(this.areas=o.map(t,(function(t){return c(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=c(this.option,t),this.brushType=this.brushOption.brushType}});function c(t,e){return o.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var f=u;t.exports=f},f36a:function(t,e,n){var r=n("e330");t.exports=r([].slice)},f3cb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.colorConfig=void 0;var r=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"];e.colorConfig=r},f47d:function(t,e,n){var r=n("6d8b"),i=(r.assert,r.isArray),o=n("4e08");o.__DEV__;function a(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var a,s=d(this._modBy),l=this._modDataCount||0,u=d(t&&t.modBy),h=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}s===u&&l===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=f(this,r)),this._modBy=u,this._modDataCount=h;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(a||g1&&r>0?s:a}};return o;function a(){return e=t?null:o=0;y--){var m=v[y],b=m.node,x=m.width,_=m.text;g>p.width&&(g-=x-c,x=c,_=null);var w=new r.Polygon({shape:{points:h(l,0,x,f,y===v.length-1,0===y)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,b)});this.group.add(w),d(w,t,b),l+=x+u}},remove:function(){this.group.removeAll()}};var p=f;t.exports=p},f688:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";var e=this.head,n=""+e.data;while(e=e.next)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return h.alloc(0);var e=h.allocUnsafe(t>>>0),n=this.head,r=0;while(n)v(n.data,e,r),r+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return ti.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),t-=o,0===t){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=h.allocUnsafe(t),n=this.head,r=1;n.data.copy(e),t-=n.data.length;while(n=n.next){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),t-=o,0===t){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:g,value:function(t,e){return p(this,i(i({},e),{},{depth:0,customInspect:!1}))}}]),t}()},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f6ba:function(t,e,n){"use strict";(function(e,r){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){G(e,t)}}var o;t.exports=M,M.WritableState=O;var a={deprecate:n("b7d1")},s=n("b98b"),l=n("1c35").Buffer,u=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function c(t){return l.from(t)}function f(t){return l.isBuffer(t)||t instanceof u}var h,d=n("f482"),p=n("86c6"),g=p.getHighWaterMark,v=n("9bfc").codes,y=v.ERR_INVALID_ARG_TYPE,m=v.ERR_METHOD_NOT_IMPLEMENTED,b=v.ERR_MULTIPLE_CALLBACK,x=v.ERR_STREAM_CANNOT_PIPE,_=v.ERR_STREAM_DESTROYED,w=v.ERR_STREAM_NULL_VALUES,S=v.ERR_STREAM_WRITE_AFTER_END,C=v.ERR_UNKNOWN_ENCODING,A=d.errorOrDestroy;function k(){}function O(t,e,r){o=o||n("a493"),t=t||{},"boolean"!==typeof r&&(r=e instanceof o),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=g(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){N(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function M(t){o=o||n("a493");var e=this instanceof o;if(!e&&!h.call(M,this))return new M(t);this._writableState=new O(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e){var n=new S;A(t,n),r.nextTick(e,n)}function T(t,e,n,i){var o;return null===n?o=new w:"string"===typeof n||e.objectMode||(o=new y("chunk",["string","Buffer"],n)),!o||(A(t,o),r.nextTick(i,o),!1)}function I(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,n)),e}function P(t,e,n,r,i,o){if(!n){var a=I(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var l=e.length-1))throw new C(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new m("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||W(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=d.destroy,M.prototype._undestroy=d.undestroy,M.prototype._destroy=function(t,e){e(t)}}).call(this,n("c8ba"),n("4362"))},f6ed:function(t,e,n){var r=n("6d8b");function i(t,e){var n={};return r.each(t,(function(t){t.each(t.mapDimension("value"),(function(e,r){var i="ec-"+t.getName(r);n[i]=n[i]||[],isNaN(e)||n[i].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+t[0].getName(i),s=0,l=1/0,u=-1/0,c=n[a].length,f=0;fr||l.newline?(o=0,c=v,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var y=d.height+(g?-g.y+d.y:0);f=a+y,f>i||l.newline?(o+=s+n,a=0,f=y,s=d.width):s=Math.max(s,d.width)}l.newline||(h[0]=o,h[1]=a,"horizontal"===t?o=c+n:a=f+n)}))}var h=f,d=r.curry(f,"vertical"),p=r.curry(f,"horizontal");function g(t,e,n){var r=e.width,i=e.height,o=a(t.x,r),l=a(t.y,i),u=a(t.x2,r),c=a(t.y2,i);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=r),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=i),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function v(t,e,n){n=s.normalizeCssArray(n||0);var r=e.width,o=e.height,l=a(t.left,r),u=a(t.top,o),c=a(t.right,r),f=a(t.bottom,o),h=a(t.width,r),d=a(t.height,o),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(h)&&(h=r-c-g-l),isNaN(d)&&(d=o-f-p-u),null!=v&&(isNaN(h)&&isNaN(d)&&(v>r/o?h=.8*r:d=.8*o),isNaN(h)&&(h=v*d),isNaN(d)&&(d=h/v)),isNaN(l)&&(l=r-c-h-g),isNaN(u)&&(u=o-f-d-p),t.left||t.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-g;break}switch(t.top||t.bottom){case"middle":case"center":u=o/2-d/2-n[0];break;case"bottom":u=o-d-p;break}l=l||0,u=u||0,isNaN(h)&&(h=r-g-l-(c||0)),isNaN(d)&&(d=o-p-u-(f||0));var y=new i(l+n[3],u+n[0],h,d);return y.margin=n,y}function y(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new i(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();c=c.clone(),c.applyTransform(f)}e=v(r.defaults({width:c.width,height:c.height},e),n,o);var h=t.position,d=s?e.x-c.x:0,p=l?e.y-c.y:0;t.attr("position","raw"===u?[d,p]:[h[0]+d,h[1]+p])}}function m(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function b(t,e,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=s(c[0],0),a=s(c[1],1);function s(n,r){var o={},a=0,s={},c=0,h=2;if(l(n,(function(e){s[e]=t[e]})),l(n,(function(t){u(e,t)&&(o[t]=s[t]=e[t]),f(o,t)&&a++,f(s,t)&&c++})),i[r])return f(e,n[1])?s[n[2]]=null:f(e,n[2])&&(s[n[1]]=null),s;if(c!==h&&a){if(a>=h)return o;for(var d=0;d0&&t.buffer[e])return t.buffer[e].length}return t.length}t.exports=n},fa10:function(t,e,n){},fa52:function(t,e,n){var r=n("3eba");n("febc"),n("dcea");var i=n("2f91"),o=n("ecf8");r.registerVisual(i),r.registerLayout(o)},faa1:function(t,e,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};function a(t){console&&console.warn&&console.warn(t)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var s=Number.isNaN||function(t){return t!==t};function l(){l.init.call(this)}t.exports=l,t.exports.once=x,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function c(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function f(t){return void 0===t._maxListeners?l.defaultMaxListeners:t._maxListeners}function h(t,e,n,r){var i,o,s;if(c(n),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),void 0===s)s=o[e]=n,++t._eventsCount;else if("function"===typeof s?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=f(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=s.length,a(l)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function g(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?b(i):y(i,i.length)}function v(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(t,e){for(var n=new Array(e),r=0;r0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[t];if(void 0===l)return!1;if("function"===typeof l)o(l,this,e);else{var u=l.length,c=y(l,u);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():m(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(t){var e,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r=0;r--)this.removeListener(t,e[r]);return this},l.prototype.listeners=function(t){return g(this,t,!0)},l.prototype.rawListeners=function(t){return g(this,t,!1)},l.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):v.call(t,e)},l.prototype.listenerCount=v,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},fab2:function(t,e,n){var r=n("6d8b"),i=r.retrieve,o=r.defaults,a=r.extend,s=r.each,l=n("eda2"),u=n("2306"),c=n("4319"),f=n("3842"),h=f.isRadianAroundZero,d=f.remRadian,p=n("a15a"),g=p.createSymbol,v=n("1687"),y=n("401b"),m=y.applyTransform,b=n("697e"),x=b.shouldShowAllLabels,_=Math.PI,w=function(t,e){this.opt=e,this.axisModel=t,o(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(t){return!!S[t]},add:function(t){S[t].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,i=[n[0],0],o=[n[1],0];r&&(m(i,i,r),m(o,o,r));var l=a({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:i[0],y1:i[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var c=e.get("axisLine.symbol"),f=e.get("axisLine.symbolSize"),h=e.get("axisLine.symbolOffset")||0;if("number"===typeof h&&(h=[h,h]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof f&&"number"!==typeof f||(f=[f,f]);var d=f[0],p=f[1];s([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((i[0]-o[0])*(i[0]-o[0])+(i[1]-o[1])*(i[1]-o[1]))}],(function(e,n){if("none"!==c[n]&&null!=c[n]){var r=g(c[n],-d/2,-p/2,d,p,l.stroke,!0),o=e.r+e.offset,a=[i[0]+o*Math.cos(t.rotation),i[1]-o*Math.sin(t.rotation)];r.attr({rotation:e.rotate,position:a,silent:!0,z2:11}),this.group.add(r)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=L(this,t,e),r=R(this,t,e);M(t,r,n),D(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,n=i(t.axisName,e.get("name"));if(n){var r,o,s=e.get("nameLocation"),c=t.nameDirection,f=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,d=this.axisModel.axis.getExtent(),p=d[0]>d[1]?-1:1,g=["start"===s?d[0]-p*h:"end"===s?d[1]+p*h:(d[0]+d[1])/2,I(s)?t.labelOffset+c*h:0],v=e.get("nameRotate");null!=v&&(v=v*_/180),I(s)?r=A(t.rotation,null!=v?v:t.rotation,c):(r=k(t,s,v||0,d),o=t.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var y=f.getFont(),m=e.get("nameTruncate",!0)||{},b=m.ellipsis,x=i(t.nameTruncateMaxWidth,m.maxWidth,o),w=null!=b&&null!=x?l.truncateText(n,x,y,b,{minChar:2,placeholder:m.placeholder}):n,S=e.get("tooltip",!0),M=e.mainType,E={componentType:M,name:n,$vars:["name"]};E[M+"Index"]=e.componentIndex;var T=new u.Text({anid:"name",__fullText:n,__truncatedText:w,position:g,rotation:r.rotation,silent:O(e),z2:1,tooltip:S&&S.show?a({content:n,formatter:function(){return n},formatterParams:E},S):null});u.setTextStyle(T.style,f,{text:w,textFont:y,textFill:f.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:f.get("align")||r.textAlign,textVerticalAlign:f.get("verticalAlign")||r.textVerticalAlign}),e.get("triggerEvent")&&(T.eventData=C(e),T.eventData.targetType="axisName",T.eventData.name=n),this._dumbGroup.add(T),T.updateTransform(),this.group.add(T),T.decomposeTransform()}}},C=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},A=w.innerTextLayout=function(t,e,n){var r,i,o=d(e-t);return h(o)?(i=n>0?"top":"bottom",r="center"):h(o-_)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<_?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}};function k(t,e,n,r){var i,o,a=d(n-t.rotation),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return h(a-_/2)?(o=l?"bottom":"top",i="center"):h(a-1.5*_)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*_&&a>_/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}var O=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function M(t,e,n){if(!x(t.axis)){var r=t.get("axisLabel.showMinLabel"),i=t.get("axisLabel.showMaxLabel");e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],f=n[n.length-1],h=n[n.length-2];!1===r?(E(o),E(u)):T(o,a)&&(r?(E(a),E(c)):(E(o),E(u))),!1===i?(E(s),E(f)):T(l,s)&&(i?(E(l),E(h)):(E(s),E(f)))}}function E(t){t&&(t.ignore=!0)}function T(t,e,n){var r=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(r&&i){var o=v.identity([]);return v.rotate(o,o,-t.rotation),r.applyTransform(v.mul([],o,t.getLocalTransform())),i.applyTransform(v.mul([],o,e.getLocalTransform())),r.intersect(i)}}function I(t){return"middle"===t||"center"===t}function P(t,e,n,r,i){for(var o=[],a=[],s=[],l=0;l2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}function s(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function l(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function u(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i;if("string"===typeof e&&s(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be",l(t," argument"))i="The ".concat(t," ").concat(r," ").concat(a(e,"type"));else{var o=u(t,".")?"property":"argument";i='The "'.concat(t,'" ').concat(o," ").concat(r," ").concat(a(e,"type"))}return i+=". Received type ".concat(typeof n),i}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},fc5e:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fc82:function(t,e,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),o=n("1fab"),a=n("2306"),s=n("a4fe"),l=n("80f0"),u=i.curry,c=i.each,f=i.map,h=Math.min,d=Math.max,p=Math.pow,g=1e4,v=6,y=6,m="globalPan",b={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function S(t){o.call(this),this._zr=t,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},c(it,(function(t,e){this._handlers[e]=i.bind(t,this)}),this)}function C(t,e){var n=t._zr;t._enableGlobalPan||s.take(n,m,t._uid),k(n,t._handlers),t._brushType=e.brushType,t._brushOption=i.merge(i.clone(_),e,!0)}function A(t){var e=t._zr;s.release(e,m,t._uid),O(e,t._handlers),t._brushType=t._brushOption=null}function k(t,e){c(e,(function(e,n){t.on(n,e)}))}function O(t,e){c(e,(function(e,n){t.off(n,e)}))}function M(t,e){var n=st[e.brushType].createCover(t,e);return n.__brushOption=e,I(n,e),t.group.add(n),n}function E(t,e){var n=L(e);return n.endCreating&&(n.endCreating(t,e),I(e,e.__brushOption)),e}function T(t,e){var n=e.__brushOption;L(e).updateCoverShape(t,e,n.range,n)}function I(t,e){var n=e.z;null==n&&(n=g),t.traverse((function(t){t.z=n,t.z2=n}))}function P(t,e){L(e).updateCommon(t,e),T(t,e)}function L(t){return st[t.__brushOption.brushType]}function D(t,e,n){var r,i=t._panels;if(!i)return!0;var o=t._transform;return c(i,(function(t){t.isTargetByCursor(e,n,o)&&(r=t)})),r}function R(t,e){var n=t._panels;if(!n)return!0;var r=e.__brushOption.panelId;return null==r||n[r]}function N(t){var e=t._covers,n=e.length;return c(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function j(t,e){var n=f(t._covers,(function(t){var e=t.__brushOption,n=i.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function B(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],r=e[0],i=n[0]-r[0],o=n[1]-r[1],a=p(i*i+o*o,.5);return a>v}function F(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function z(t,e,n,r){var i=new a.Group;return i.add(new a.Rect({name:"main",style:W(n),silent:!0,draggable:!0,cursor:"move",drift:u(t,e,i,"nswe"),ondragend:u(j,e,{isEnd:!0})})),c(r,(function(n){i.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(t,e,i,n),ondragend:u(j,e,{isEnd:!0})}))})),i}function V(t,e,n,r){var i=r.brushStyle.lineWidth||0,o=d(i,y),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],f=n[1][1],h=c-o+i/2,p=f-o+i/2,g=c-a,v=f-s,m=g+i,b=v+i;H(t,e,"main",a,s,g,v),r.transformable&&(H(t,e,"w",l,u,o,b),H(t,e,"e",h,u,o,b),H(t,e,"n",l,u,m,o),H(t,e,"s",l,p,m,o),H(t,e,"nw",l,u,o,o),H(t,e,"ne",h,u,o,o),H(t,e,"sw",l,p,o,o),H(t,e,"se",h,p,o,o))}function q(t,e){var n=e.__brushOption,r=n.transformable,i=e.childAt(0);i.useStyle(W(n)),i.attr({silent:!r,cursor:r?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(n){var i=e.childOfName(n),o=$(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?x[o]+"-resize":null})}))}function H(t,e,n,r,i,o,a){var s=e.childOfName(n);s&&s.setShape(Q(X(t,e,[[r,i],[r+o,i+a]])))}function W(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function G(t,e,n,r){var i=[h(t,n),h(e,r)],o=[d(t,n),d(e,r)];return[[i[0],o[0]],[i[1],o[1]]]}function U(t){return a.getTransform(t.group)}function $(t,e){if(e.length>1){e=e.split("");var n=[$(t,e[0]),$(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"};n=a.transformDirection(r[e],U(t));return i[n]}function K(t,e,n,r,i,o,a,s){var l=r.__brushOption,u=t(l.range),f=Z(n,o,a);c(i.split(""),(function(t){var e=b[t];u[e[0]][e[1]]+=f[e[0]]})),l.range=e(G(u[0][0],u[1][0],u[0][1],u[1][1])),P(n,r),j(n,{isEnd:!1})}function Y(t,e,n,r,i){var o=e.__brushOption.range,a=Z(t,n,r);c(o,(function(t){t[0]+=a[0],t[1]+=a[1]})),P(t,e),j(t,{isEnd:!1})}function Z(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function X(t,e,n){var r=R(t,e);return r&&!0!==r?r.clipPath(n,t._transform):i.clone(n)}function Q(t){var e=h(t[0][0],t[1][0]),n=h(t[0][1],t[1][1]),r=d(t[0][0],t[1][0]),i=d(t[0][1],t[1][1]);return{x:e,y:n,width:r-e,height:i-n}}function J(t,e,n){if(t._brushType&&!at(t,e)){var r=t._zr,i=t._covers,o=D(t,e,n);if(!t._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var st={lineX:lt(0),lineY:lt(1),rect:{createCover:function(t,e){return z(u(K,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=F(t);return G(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,r){V(t,e,n,r)},updateCommon:q,contain:et},polygon:{createCover:function(t,e){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:W(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new a.Polygon({name:"main",draggable:!0,drift:u(Y,t,e),ondragend:u(j,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,r){e.childAt(0).setShape({points:X(t,e,n)})},updateCommon:q,contain:et}};function lt(t){return{createCover:function(e,n){return z(u(K,(function(e){var n=[e,[0,100]];return t&&n.reverse(),n}),(function(e){return e[t]})),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var n=F(e),r=h(n[0][t],n[1][t]),i=d(n[0][t],n[1][t]);return[r,i]},updateCoverShape:function(e,n,r,i){var o,a=R(e,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[r,o];t&&l.reverse(),V(e,n,l,i)},updateCommon:q,contain:et}}var ut=S;t.exports=ut},fcb9:function(t,e,n){"use strict";(function(e){const{Buffer:r}=n("1c35"),i=n("7f73"),o=n("34eb")("mqttjs:ws"),a=n("fb12"),s=n("035d").Transform,l=["rejectUnauthorized","ca","cert","key","pfx","passphrase"],u="undefined"!==typeof e&&"browser"===e.title||"function"===typeof n;function c(t,e){let n=t.protocol+"://"+t.hostname+":"+t.port+t.path;return"function"===typeof t.transformWsUrl&&(n=t.transformWsUrl(n,t,e)),n}function f(t){const e=t;return t.hostname||(e.hostname="localhost"),t.port||("wss"===t.protocol?e.port=443:e.port=80),t.path||(e.path="/"),t.wsOptions||(e.wsOptions={}),u||"wss"!==t.protocol||l.forEach((function(n){Object.prototype.hasOwnProperty.call(t,n)&&!Object.prototype.hasOwnProperty.call(t.wsOptions,n)&&(e.wsOptions[n]=t[n])})),e}function h(t){const e=f(t);if(e.hostname||(e.hostname=e.host),!e.hostname){if("undefined"===typeof document)throw new Error("Could not determine host. Specify host manually.");const t=new URL(document.URL);e.hostname=t.hostname,e.port||(e.port=t.port)}return void 0===e.objectMode&&(e.objectMode=!(!0===e.binary||void 0===e.binary)),e}function d(t,e,n){o("createWebSocket"),o("protocol: "+n.protocolId+" "+n.protocolVersion);const r="MQIsdp"===n.protocolId&&3===n.protocolVersion?"mqttv3.1":"mqtt";o("creating new Websocket for url: "+e+" and protocol: "+r);const a=new i(e,[r],n.wsOptions);return a}function p(t,e){const n="MQIsdp"===e.protocolId&&3===e.protocolVersion?"mqttv3.1":"mqtt",r=c(e,t),i=new WebSocket(r,[n]);return i.binaryType="arraybuffer",i}function g(t,e){o("streamBuilder");const n=f(e),r=c(n,t),a=d(t,r,n),s=i.createWebSocketStream(a,n.wsOptions);return s.url=r,a.on("close",()=>{s.destroy()}),s}function v(t,e){let n;o("browserStreamBuilder");const i=h(e),l=i.browserBufferSize||524288,u=e.browserBufferTimeout||1e3,c=!e.objectMode,f=p(t,e),d=v(e,w,S);e.objectMode||(d._writev=_),d.on("close",()=>{f.close()});const g="undefined"!==typeof f.addEventListener;function v(t,e,n){const r=new s({objectModeMode:t.objectMode});return r._write=e,r._flush=n,r}function y(){n.setReadable(d),n.setWritable(d),n.emit("connect")}function m(){n.end(),n.destroy()}function b(t){n.destroy(t)}function x(t){let e=t.data;e=e instanceof ArrayBuffer?r.from(e):r.from(e,"utf8"),d.push(e)}function _(t,e){const n=new Array(t.length);for(let i=0;il&&setTimeout(w,u,t,e,n),c&&"string"===typeof t&&(t=r.from(t,"utf8"));try{f.send(t)}catch(i){return n(i)}n()}function S(t){f.close(),t()}return f.readyState===f.OPEN?n=d:(n=n=a(void 0,void 0,e),e.objectMode||(n._writev=_),g?f.addEventListener("open",y):f.onopen=y),n.socket=f,g?(f.addEventListener("close",m),f.addEventListener("error",b),f.addEventListener("message",x)):(f.onclose=m,f.onerror=b,f.onmessage=x),n}t.exports=u?v:g}).call(this,n("4362"))},fcd4:function(t,e,n){e.f=n("cc15")},fce3:function(t,e,n){var r=n("d039"),i=n("da84"),o=i.RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fd27:function(t,e,n){var r=n("9273"),i=n("a991"),o=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new i,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===t&&e.push(n),r.scale.type===t&&e.push(r),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,u=la)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI,r=Math.cos(n)*e+this.cx,i=-Math.sin(n)*e+this.cy;return[r,i]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var r=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}}};var a=o;t.exports=a},fd63:function(t,e,n){var r=n("42e5"),i=n("6d8b"),o=i.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(i),s=!o(a)||a instanceof r?null:a;a&&!s||(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",a);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=t.get(l);if(n.setVisual("borderColor",u),!e.isSeriesFiltered(t)){s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))}));var c=function(t,e){var n=t.getItemModel(e),r=n.get(i,!0),o=n.get(l,!0);null!=r&&t.setItemVisual(e,"color",r),null!=o&&t.setItemVisual(e,"borderColor",o)};return{dataEach:n.hasItemOption?c:null}}}};t.exports=a},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("04f8");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fdde:function(t,e){var n={average:function(t){for(var e=0,n=0,r=0;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1)"string"===typeof a?l=n[a]:"function"===typeof a&&(l=a),l&&t.setData(o.downSample(o.mapDimension(c.dim),1/d,l,r))}}}}t.exports=i},fe21:function(t,e,n){var r=n("e86a"),i=n("2306"),o=["textStyle","color"],a={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(o):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return r.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=a},fe34:function(t,e,n){"use strict";t.exports=c;var r=n("9bfc").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n("a493");function u(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length