(self["webpackChunknewfront"]=self["webpackChunknewfront"]||[]).push([[1855],{81618:function(e){"use strict";(function(t,r){e.exports=r()})(0,(function(){function e(e){var n=[];return e.AMapUI&&n.push(t(e.AMapUI)),e.Loca&&n.push(r(e.Loca)),Promise.all(n)}function t(e){return new Promise((function(t,r){var u=[];if(e.plugins)for(var l=0;l<e.plugins.length;l+=1)-1==a.AMapUI.plugins.indexOf(e.plugins[l])&&u.push(e.plugins[l]);if(i.AMapUI===n.failed)r("前次请求 AMapUI 失败");else if(i.AMapUI===n.notload){i.AMapUI=n.loading,a.AMapUI.version=e.version||a.AMapUI.version,l=a.AMapUI.version;var s=document.body||document.head,c=document.createElement("script");c.type="text/javascript",c.src="https://webapi.amap.com/ui/"+l+"/main.js",c.onerror=function(e){i.AMapUI=n.failed,r("请求 AMapUI 失败")},c.onload=function(){if(i.AMapUI=n.loaded,u.length)window.AMapUI.loadUI(u,(function(){for(var e=0,r=u.length;e<r;e++){var n=u[e].split("/").slice(-1)[0];window.AMapUI[n]=arguments[e]}for(t();o.AMapUI.length;)o.AMapUI.splice(0,1)[0]()}));else for(t();o.AMapUI.length;)o.AMapUI.splice(0,1)[0]()},s.appendChild(c)}else i.AMapUI===n.loaded?e.version&&e.version!==a.AMapUI.version?r("不允许多个版本 AMapUI 混用"):u.length?window.AMapUI.loadUI(u,(function(){for(var e=0,r=u.length;e<r;e++){var n=u[e].split("/").slice(-1)[0];window.AMapUI[n]=arguments[e]}t()})):t():e.version&&e.version!==a.AMapUI.version?r("不允许多个版本 AMapUI 混用"):o.AMapUI.push((function(e){e?r(e):u.length?window.AMapUI.loadUI(u,(function(){for(var e=0,r=u.length;e<r;e++){var n=u[e].split("/").slice(-1)[0];window.AMapUI[n]=arguments[e]}t()})):t()}))}))}function r(e){return new Promise((function(t,r){if(i.Loca===n.failed)r("前次请求 Loca 失败");else if(i.Loca===n.notload){i.Loca=n.loading,a.Loca.version=e.version||a.Loca.version;var u=a.Loca.version,l=a.AMap.version.startsWith("2"),s=u.startsWith("2");if(l&&!s||!l&&s)r("JSAPI 与 Loca 版本不对应!!");else{l=a.key,s=document.body||document.head;var c=document.createElement("script");c.type="text/javascript",c.src="https://webapi.amap.com/loca?v="+u+"&key="+l,c.onerror=function(e){i.Loca=n.failed,r("请求 AMapUI 失败")},c.onload=function(){for(i.Loca=n.loaded,t();o.Loca.length;)o.Loca.splice(0,1)[0]()},s.appendChild(c)}}else i.Loca===n.loaded?e.version&&e.version!==a.Loca.version?r("不允许多个版本 Loca 混用"):t():e.version&&e.version!==a.Loca.version?r("不允许多个版本 Loca 混用"):o.Loca.push((function(e){e?r(e):r()}))}))}if(!window)throw Error("AMap JSAPI can only be used in Browser.");var n;(function(e){e.notload="notload",e.loading="loading",e.loaded="loaded",e.failed="failed"})(n||(n={}));var a={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:n.notload,AMapUI:n.notload,Loca:n.notload},o={AMap:[],AMapUI:[],Loca:[]},u=[],l=function(e){"function"==typeof e&&(i.AMap===n.loaded?e(window.AMap):u.push(e))};return{load:function(t){return new Promise((function(r,o){if(i.AMap==n.failed)o("");else if(i.AMap==n.notload){var s=t.key,c=t.version,f=t.plugins;s?(window.AMap&&"lbs.amap.com"!==location.host&&o("禁止多种API加载方式混用"),a.key=s,a.AMap.version=c||a.AMap.version,a.AMap.plugins=f||a.AMap.plugins,i.AMap=n.loading,c=document.body||document.head,window.___onAPILoaded=function(a){if(delete window.___onAPILoaded,a)i.AMap=n.failed,o(a);else for(i.AMap=n.loaded,e(t).then((function(){r(window.AMap)}))["catch"](o);u.length;)u.splice(0,1)[0]()},f=document.createElement("script"),f.type="text/javascript",f.src="https://webapi.amap.com/maps?callback=___onAPILoaded&v="+a.AMap.version+"&key="+s+"&plugin="+a.AMap.plugins.join(","),f.onerror=function(e){i.AMap=n.failed,o(e)},c.appendChild(f)):o("请填写key")}else if(i.AMap==n.loaded)if(t.key&&t.key!==a.key)o("多个不一致的 key");else if(t.version&&t.version!==a.AMap.version)o("不允许多个版本 JSAPI 混用");else{if(s=[],t.plugins)for(c=0;c<t.plugins.length;c+=1)-1==a.AMap.plugins.indexOf(t.plugins[c])&&s.push(t.plugins[c]);s.length?window.AMap.plugin(s,(function(){e(t).then((function(){r(window.AMap)}))["catch"](o)})):e(t).then((function(){r(window.AMap)}))["catch"](o)}else if(t.key&&t.key!==a.key)o("多个不一致的 key");else if(t.version&&t.version!==a.AMap.version)o("不允许多个版本 JSAPI 混用");else{var d=[];if(t.plugins)for(c=0;c<t.plugins.length;c+=1)-1==a.AMap.plugins.indexOf(t.plugins[c])&&d.push(t.plugins[c]);l((function(){d.length?window.AMap.plugin(d,(function(){e(t).then((function(){r(window.AMap)}))["catch"](o)})):e(t).then((function(){r(window.AMap)}))["catch"](o)}))}}))},reset:function(){delete window.AMap,delete window.AMapUI,delete window.Loca,a={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:n.notload,AMapUI:n.notload,Loca:n.notload},o={AMap:[],AMapUI:[],Loca:[]}}}}))},15842:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCurveToPolyline=x,t.getBezierCurveLength=P,t["default"]=void 0;var i=a(r(99621)),o=a(r(57920)),u=Math.sqrt,l=Math.pow,s=Math.ceil,c=Math.abs,f=50;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=e.length-1,n=e[0],a=e[r][2],i=e.slice(1),u=i.map((function(e,t){var r=0===t?n:i[t-1][2];return p.apply(void 0,[r].concat((0,o["default"])(e)))})),l=new Array(r).fill(f),s=m(u,l),c=b(s,u,i,t);return c.segmentPoints.push(a),c}function p(e,t,r,n){return function(a){var i=1-a,o=l(i,3),u=l(i,2),s=l(a,3),c=l(a,2);return[e[0]*o+3*t[0]*a*u+3*r[0]*c*i+n[0]*s,e[1]*o+3*t[1]*a*u+3*r[1]*c*i+n[1]*s]}}function h(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),s=o[0],c=o[1];return u(l(n-s,2)+l(a-c,2))}function v(e){return e.reduce((function(e,t){return e+t}),0)}function g(e){return e.map((function(e,t){return new Array(e.length-1).fill(0).map((function(t,r){return h(e[r],e[r+1])}))}))}function m(e,t){return e.map((function(e,r){var n=1/t[r];return new Array(t[r]).fill("").map((function(t,r){return e(r*n)}))}))}function y(e,t){return e.map((function(e){return e.map((function(e){return c(e-t)}))})).map((function(e){return v(e)})).reduce((function(e,t){return e+t}),0)}function b(e,t,r,n){var a=4,i=1,o=function(){var o=e.reduce((function(e,t){return e+t.length}),0);e.forEach((function(e,t){return e.push(r[t][2])}));var u=g(e),l=u.reduce((function(e,t){return e+t.length}),0),c=u.map((function(e){return v(e)})),f=v(c),d=f/l,p=y(u,d);if(p<=n)return"break";o=s(d/n*o*1.1);var h=c.map((function(e){return s(e/f*o)}));e=m(t,h),o=e.reduce((function(e,t){return e+t.length}),0);var b=JSON.parse(JSON.stringify(e));b.forEach((function(e,t){return e.push(r[t][2])})),u=g(b),l=u.reduce((function(e,t){return e+t.length}),0),c=u.map((function(e){return v(e)})),f=v(c),d=f/l;var x=1/o/10;t.forEach((function(t,r){for(var n=h[r],i=new Array(n).fill("").map((function(e,t){return t/h[r]})),o=0;o<a;o++)for(var u=g([e[r]])[0],l=u.map((function(e){return e-d})),s=0,c=0;c<n;c++){if(0===c)return;s+=l[c-1],i[c]-=x*s,i[c]>1&&(i[c]=1),i[c]<0&&(i[c]=0),e[r][c]=t(i[c])}})),a*=4,i++};do{var u=o();if("break"===u)break}while(a<=1025);return e=e.reduce((function(e,t){return e.concat(t)}),[]),{segmentPoints:e,cycles:i,rounds:a}}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return n.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(e instanceof Array))return n.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return n.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var r=d(e,t),a=r.segmentPoints;return a}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return n.error("getBezierCurveLength: Missing parameters!"),!1;if(!(e instanceof Array))return n.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return n.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var r=d(e,t),a=r.segmentPoints,i=g([a])[0],o=v(i);return o}var C=x;t["default"]=C},87340:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(r(99621)),o=a(r(57920));function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(e instanceof Array))return n.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(e.length<=2)return n.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var i=e[0],u=e.length-1,c=new Array(u).fill(0).map((function(n,i){return[].concat((0,o["default"])(l(e,i,t,r,a)),[e[i+1]])}));return t&&s(c,i),c.unshift(e[0]),c}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,i=e.length;if(!(i<3||t>=i)){var o=t-1;o<0&&(o=r?i+o:0);var u=t+1;u>=i&&(u=r?u-i:i-1);var l=t+2;l>=i&&(l=r?l-i:i-1);var s=e[o],c=e[t],f=e[u],d=e[l];return[[c[0]+n*(f[0]-s[0]),c[1]+n*(f[1]-s[1])],[f[0]-a*(d[0]-c[0]),f[1]-a*(d[1]-c[1])]]}}function s(e,t){var r=e[0],n=e.slice(-1)[0];return e.push([c(n[1],n[2]),c(r[0],t),t]),e}function c(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),u=o[0],l=o[1],s=u-n,c=l-a;return[u+s,l+c]}var f=u;t["default"]=f},1546:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return a.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return a.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return i["default"]}}),t["default"]=void 0;var a=r(15842),i=n(r(87340)),o={bezierCurveToPolyline:a.bezierCurveToPolyline,getBezierCurveLength:a.getBezierCurveLength,polylineToBezierCurve:i["default"]};t["default"]=o},35751:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(r(34344)),o=a(r(57920)),u=a(r(11469)),l=a(r(94769)),s=a(r(1546)),c=r(86319),f=a(r(54234)),d=a(r(71071));function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(r,!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function e(t){if((0,u["default"])(this,e),t){var r=t.getContext("2d"),a=t.clientWidth,i=t.clientHeight,o=[a,i];t.setAttribute("width",a),t.setAttribute("height",i),this.ctx=r,this.area=o,this.animationStatus=!1,this.graphs=[],this.color=l["default"],this.bezierCurve=s["default"],t.addEventListener("mousedown",y.bind(this)),t.addEventListener("mousemove",b.bind(this)),t.addEventListener("mouseup",x.bind(this))}else n.error("CRender Missing parameters!")};function g(e,t){var r=this.graphs;m(r)?(r.forEach((function(e){return e.turnNextAnimationFrame(t)})),this.drawAllGraph(),requestAnimationFrame(g.bind(this,e,t))):e()}function m(e){return e.find((function(e){return!e.animationPause&&e.animationFrameState.length}))}function y(e){var t=this.graphs,r=t.find((function(e){return"hover"===e.status}));r&&(r.status="active")}function b(e){var t=e.offsetX,r=e.offsetY,a=[t,r],i=this.graphs,o=i.find((function(e){return"active"===e.status||"drag"===e.status}));if(o){if(!o.drag)return;return"function"!==typeof o.move?void n.error("No move method is provided, cannot be dragged!"):(o.moveProcessor(e),void(o.status="drag"))}var u=i.find((function(e){return"hover"===e.status})),l=i.filter((function(e){return e.hover&&("function"===typeof e.hoverCheck||e.hoverRect)})),s=l.find((function(e){return e.hoverCheckProcessor(a,e)}));document.body.style.cursor=s?s.style.hoverCursor:"default";var c=!1,f=!1;if(u&&(c="function"===typeof u.mouseOuter),s&&(f="function"===typeof s.mouseEnter),s||u){if(!s&&u)return c&&u.mouseOuter(e,u),void(u.status="static");if(!s||s!==u)return s&&!u?(f&&s.mouseEnter(e,s),void(s.status="hover")):void(s&&u&&s!==u&&(c&&u.mouseOuter(e,u),u.status="static",f&&s.mouseEnter(e,s),s.status="hover"))}}function x(e){var t=this.graphs,r=t.find((function(e){return"active"===e.status})),n=t.find((function(e){return"drag"===e.status}));r&&"function"===typeof r.click&&r.click(e,r),t.forEach((function(e){return e&&(e.status="static")})),r&&(r.status="hover"),n&&(n.status="hover")}t["default"]=v,v.prototype.clearArea=function(){var e,t=this.area;(e=this.ctx).clearRect.apply(e,[0,0].concat((0,o["default"])(t)))},v.prototype.add=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name;if(t){var r=f["default"].get(t);if(r){var a=new d["default"](r,e);if(a.validator(a))return a.render=this,this.graphs.push(a),this.sortGraphsByIndex(),this.drawAllGraph(),a}else n.warn("No corresponding graph configuration found!")}else n.error("add Missing parameters!")},v.prototype.sortGraphsByIndex=function(){var e=this.graphs;e.sort((function(e,t){return e.index>t.index?1:e.index===t.index?0:e.index<t.index?-1:void 0}))},v.prototype.delGraph=function(e){"function"===typeof e.delProcessor&&(e.delProcessor(this),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph())},v.prototype.delAllGraph=function(){var e=this;this.graphs.forEach((function(t){return t.delProcessor(e)})),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph()},v.prototype.drawAllGraph=function(){var e=this;this.clearArea(),this.graphs.filter((function(e){return e&&e.visible})).forEach((function(t){return t.drawProcessor(e,t)}))},v.prototype.launchAnimation=function(){var e=this,t=this.animationStatus;if(!t)return this.animationStatus=!0,new Promise((function(t){g.call(e,(function(){e.animationStatus=!1,t()}),Date.now())}))},v.prototype.clone=function(e){var t=e.style.getStyle(),r=h({},e,{style:t});return delete r.render,r=(0,c.deepClone)(r,!0),this.add(r)}},71071:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(r(78305)),o=a(r(25736)),u=a(r(54614)),l=a(r(57920)),s=a(r(11469)),c=a(r(4338)),f=a(r(11817)),d=r(86319),p=function e(t,r){(0,s["default"])(this,e),r=(0,d.deepClone)(r,!0);var n={visible:!0,drag:!1,hover:!1,index:1,animationDelay:0,animationFrame:30,animationCurve:"linear",animationPause:!1,hoverRect:null,mouseEnter:null,mouseOuter:null,click:null},a={status:"static",animationRoot:[],animationKeys:[],animationFrameState:[],cache:{}};r.shape||(r.shape={}),r.style||(r.style={});var i=Object.assign({},t.shape,r.shape);Object.assign(n,r,a),Object.assign(this,t,n),this.shape=i,this.style=new c["default"](r.style),this.addedProcessor()};function h(e){return new Promise((function(t){setTimeout(t,e)}))}t["default"]=p,p.prototype.addedProcessor=function(){"function"===typeof this.setGraphCenter&&this.setGraphCenter(null,this),"function"===typeof this.added&&this.added(this)},p.prototype.drawProcessor=function(e,t){var r=e.ctx;t.style.initStyle(r),"function"===typeof this.beforeDraw&&this.beforeDraw(this,e),t.draw(e,t),"function"===typeof this.drawed&&this.drawed(this,e),t.style.restoreTransform(r)},p.prototype.hoverCheckProcessor=function(e,t){var r=t.hoverRect,n=t.style,a=t.hoverCheck,i=n.graphCenter,o=n.rotate,u=n.scale,s=n.translate;return i&&(o&&(e=(0,d.getRotatePointPos)(-o,e,i)),u&&(e=(0,d.getScalePointPos)(u.map((function(e){return 1/e})),e,i)),s&&(e=(0,d.getTranslatePointPos)(s.map((function(e){return-1*e})),e))),r?d.checkPointIsInRect.apply(void 0,[e].concat((0,l["default"])(r))):a(e,this)},p.prototype.moveProcessor=function(e){this.move(e,this),"function"===typeof this.beforeMove&&this.beforeMove(e,this),"function"===typeof this.setGraphCenter&&this.setGraphCenter(e,this),"function"===typeof this.moved&&this.moved(e,this)},p.prototype.attr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!e||void 0===t)return!1;var r="object"===(0,u["default"])(this[e]);r&&(t=(0,d.deepClone)(t,!0));var n=this.render;"style"===e?this.style.update(t):r?Object.assign(this[e],t):this[e]=t,"index"===e&&n.sortGraphsByIndex(),n.drawAllGraph()},p.prototype.animation=function(){var e=(0,o["default"])(i["default"].mark((function e(t,r){var a,u,l,s,c,p,v,g,m,y=arguments;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=y.length>2&&void 0!==y[2]&&y[2],"shape"===t||"style"===t){e.next=4;break}return n.error("Only supported shape and style animation!"),e.abrupt("return");case 4:if(r=(0,d.deepClone)(r,!0),"style"===t&&this.style.colorProcessor(r),u=this[t],l=Object.keys(r),s={},l.forEach((function(e){return s[e]=u[e]})),c=this.animationFrame,p=this.animationCurve,v=this.animationDelay,g=(0,f["default"])(p,s,r,c,!0),this.animationRoot.push(u),this.animationKeys.push(l),this.animationFrameState.push(g),!a){e.next=17;break}return e.abrupt("return");case 17:if(!(v>0)){e.next=20;break}return e.next=20,h(v);case 20:return m=this.render,e.abrupt("return",new Promise(function(){var e=(0,o["default"])(i["default"].mark((function e(t){return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m.launchAnimation();case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 22:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),p.prototype.turnNextAnimationFrame=function(e){var t=this.animationDelay,r=this.animationRoot,n=this.animationKeys,a=this.animationFrameState,i=this.animationPause;i||Date.now()-e<t||(r.forEach((function(e,t){n[t].forEach((function(r){e[r]=a[t][0][r]}))})),a.forEach((function(e,t){e.shift();var a=0===e.length;a&&(r[t]=null),a&&(n[t]=null)})),this.animationFrameState=a.filter((function(e){return e.length})),this.animationRoot=r.filter((function(e){return e})),this.animationKeys=n.filter((function(e){return e})))},p.prototype.animationEnd=function(){var e=this.animationFrameState,t=this.animationKeys,r=this.animationRoot,n=this.render;return r.forEach((function(r,n){var a=t[n],i=e[n].pop();a.forEach((function(e){return r[e]=i[e]}))})),this.animationFrameState=[],this.animationKeys=[],this.animationRoot=[],n.drawAllGraph()},p.prototype.pauseAnimation=function(){this.attr("animationPause",!0)},p.prototype.playAnimation=function(){var e=this.render;return this.attr("animationPause",!1),new Promise(function(){var t=(0,o["default"])(i["default"].mark((function t(r){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.launchAnimation();case 2:r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},p.prototype.delProcessor=function(e){var t=this,r=e.graphs,n=r.findIndex((function(e){return e===t}));-1!==n&&("function"===typeof this.beforeDelete&&this.beforeDelete(this),r.splice(n,1,null),"function"===typeof this.deleted&&this.deleted(this))}},4338:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(r(57920)),o=a(r(11469)),u=r(94769),l=r(86319),s=function e(t){(0,o["default"])(this,e),this.colorProcessor(t);var r={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,r,t)};function c(e,t){e.save();var r=t.graphCenter,n=t.rotate,a=t.scale,o=t.translate;r instanceof Array&&(e.translate.apply(e,(0,i["default"])(r)),n&&e.rotate(n*Math.PI/180),a instanceof Array&&e.scale.apply(e,(0,i["default"])(a)),o&&e.translate.apply(e,(0,i["default"])(o)),e.translate(-r[0],-r[1]))}t["default"]=s,s.prototype.colorProcessor=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t?u.getColorFromRgbValue:u.getRgbaValue,n=["fill","stroke","shadowColor"],a=Object.keys(e),i=a.filter((function(e){return n.find((function(t){return t===e}))}));i.forEach((function(t){return e[t]=r(e[t])}));var o=e.gradientColor,l=e.colors;if(o&&(e.gradientColor=o.map((function(e){return r(e)}))),l){var s=Object.keys(l);s.forEach((function(e){return l[e]=r(l[e])}))}},s.prototype.initStyle=function(e){c(e,this),d(e,this),p(e,this)};var f=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];function d(e,t){var r=t.fill,n=t.stroke,a=t.shadowColor,o=t.opacity;f.forEach((function(r){(r||"number"===typeof r)&&(e[r]=t[r])})),r=(0,i["default"])(r),n=(0,i["default"])(n),a=(0,i["default"])(a),r[3]*=o,n[3]*=o,a[3]*=o,e.fillStyle=(0,u.getColorFromRgbValue)(r),e.strokeStyle=(0,u.getColorFromRgbValue)(n),e.shadowColor=(0,u.getColorFromRgbValue)(a);var l=t.lineDash,s=t.shadowBlur;l&&(l=l.map((function(e){return e>=0?e:0})),e.setLineDash(l)),"number"===typeof s&&(e.shadowBlur=s>0?s:.001);var c=t.fontStyle,d=t.fontVarient,p=t.fontWeight,h=t.fontSize,v=t.fontFamily;e.font=c+" "+d+" "+p+" "+h+"px "+v}function p(e,t){if(h(t)){var r=t.gradientColor,n=t.gradientParams,a=t.gradientType,o=t.gradientWith,l=t.gradientStops,s=t.opacity;r=r.map((function(e){var t=e[3]*s,r=(0,i["default"])(e);return r[3]=t,r})),r=r.map((function(e){return(0,u.getColorFromRgbValue)(e)})),"auto"===l&&(l=v(r));var c=e["create".concat(a.slice(0,1).toUpperCase()+a.slice(1),"Gradient")].apply(e,(0,i["default"])(n));l.forEach((function(e,t){return c.addColorStop(e,r[t])})),e["".concat(o,"Style")]=c}}function h(e){var t=e.gradientColor,r=e.gradientParams,a=e.gradientType,i=e.gradientWith,o=e.gradientStops;if(!t||!r)return!1;if(1===t.length)return n.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==a&&"radial"!==a)return n.warn("GradientType only supports linear or radial, current value is "+a),!1;var u=r.length;return"linear"===a&&4!==u||"radial"===a&&6!==u?(n.warn("The expected length of gradientParams is "+("linear"===a?"4":"6")),!1):"fill"!==i&&"stroke"!==i?(n.warn("GradientWith only supports fill or stroke, current value is "+i),!1):"auto"===o||o instanceof Array||(n.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+o),!1)}function v(e){var t=1/(e.length-1);return e.map((function(e,r){return t*r}))}s.prototype.restoreTransform=function(e){e.restore()},s.prototype.update=function(e){this.colorProcessor(e),Object.assign(this,e)},s.prototype.getStyle=function(){var e=(0,l.deepClone)(this,!0);return this.colorProcessor(e,!0),e}},54234:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.extendNewGraph=O,t["default"]=t.text=t.bezierCurve=t.smoothline=t.polyline=t.regPolygon=t.sector=t.arc=t.ring=t.rect=t.ellipse=t.circle=void 0;var i=a(r(57920)),o=a(r(99621)),u=a(r(1546)),l=r(86319),s=r(95805),c=u["default"].polylineToBezierCurve,f=u["default"].bezierCurveToPolyline,d={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,r=t.rx,a=t.ry,i=t.r;return"number"===typeof r&&"number"===typeof a&&"number"===typeof i||(n.error("Circle shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,o=n.r;r.arc(a,i,o>0?o:.01,0,2*Math.PI),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,a=r.ry,i=r.r;return(0,l.checkPointIsInCircle)(e,n,a,i)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape;this.attr("shape",{rx:a.rx+r,ry:a.ry+n})}};t.circle=d;var p={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(e){var t=e.shape,r=t.rx,a=t.ry,i=t.hr,o=t.vr;return"number"===typeof r&&"number"===typeof a&&"number"===typeof i&&"number"===typeof o||(n.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,o=n.hr,u=n.vr;r.ellipse(a,i,o>0?o:.01,u>0?u:.01,0,0,2*Math.PI),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,a=r.ry,i=r.hr,o=r.vr,u=Math.max(i,o),s=Math.min(i,o),c=Math.sqrt(u*u-s*s),f=[n-c,a],d=[n+c,a],p=(0,l.getTwoPointDistance)(e,f)+(0,l.getTwoPointDistance)(e,d);return p<=2*u},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape;this.attr("shape",{rx:a.rx+r,ry:a.ry+n})}};t.ellipse=p;var h={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,r=t.x,a=t.y,i=t.w,o=t.h;return"number"===typeof r&&"number"===typeof a&&"number"===typeof i&&"number"===typeof o||(n.error("Rect shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.x,i=n.y,o=n.w,u=n.h;r.rect(a,i,o,u),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.x,a=r.y,i=r.w,o=r.h;return(0,l.checkPointIsInRect)(e,n,a,i,o)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.x,i=r.y,o=r.w,u=r.h;n.graphCenter=[a+o/2,i+u/2]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape;this.attr("shape",{x:a.x+r,y:a.y+n})}};t.rect=h;var v={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,r=t.rx,a=t.ry,i=t.r;return"number"===typeof r&&"number"===typeof a&&"number"===typeof i||(n.error("Ring shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,o=n.r;r.arc(a,i,o>0?o:.01,0,2*Math.PI),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry,o=r.r,u=n.lineWidth,s=u/2,c=o-s,f=o+s,d=(0,l.getTwoPointDistance)(e,[a,i]);return d>=c&&d<=f},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape;this.attr("shape",{rx:a.rx+r,ry:a.ry+n})}};t.ring=v;var g={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(n.error("Arc shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,o=n.r,u=n.startAngle,l=n.endAngle,s=n.clockWise;r.arc(a,i,o>0?o:.001,u,l,!s),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry,o=r.r,u=r.startAngle,s=r.endAngle,c=r.clockWise,f=n.lineWidth,d=f/2,p=o-d,h=o+d;return!(0,l.checkPointIsInSector)(e,a,i,p,u,s,c)&&(0,l.checkPointIsInSector)(e,a,i,h,u,s,c)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape;this.attr("shape",{rx:a.rx+r,ry:a.ry+n})}};t.arc=g;var m={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(n.error("Sector shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,o=n.r,u=n.startAngle,l=n.endAngle,s=n.clockWise;r.arc(a,i,o>0?o:.01,u,l,!s),r.lineTo(a,i),r.closePath(),r.stroke(),r.fill()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,a=r.ry,i=r.r,o=r.startAngle,u=r.endAngle,s=r.clockWise;return(0,l.checkPointIsInSector)(e,n,a,i,o,u,s)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,i=a.rx,o=a.ry;this.attr("shape",{rx:i+r,ry:o+n})}};t.sector=m;var y={shape:{rx:0,ry:0,r:0,side:0},validator:function(e){var t=e.shape,r=t.side,a=["rx","ry","r","side"];return a.find((function(e){return"number"!==typeof t[e]}))?(n.error("RegPolygon shape configuration is abnormal!"),!1):!(r<3)||(n.error("RegPolygon at least trigon!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=t.cache;r.beginPath();var i=n.rx,o=n.ry,u=n.r,c=n.side;if(!a.points||a.rx!==i||a.ry!==o||a.r!==u||a.side!==c){var f=(0,l.getRegularPolygonPoints)(i,o,u,c);Object.assign(a,{points:f,rx:i,ry:o,r:u,side:c})}var d=a.points;(0,s.drawPolylinePath)(r,d),r.closePath(),r.stroke(),r.fill()},hoverCheck:function(e,t){var r=t.cache,n=r.points;return(0,l.checkPointIsInPolygon)(e,n)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.rx,i=r.ry;n.graphCenter=[a,i]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,i=t.cache,u=a.rx,l=a.ry;i.rx+=r,i.ry+=n,this.attr("shape",{rx:u+r,ry:l+n}),i.points=i.points.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]}))}};t.regPolygon=y;var b={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(n.error("Polyline points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=t.style.lineWidth;r.beginPath();var i=n.points,o=n.close;1===a&&(i=(0,l.eliminateBlur)(i)),(0,s.drawPolylinePath)(r,i),o?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.shape,n=t.style,a=r.points,i=r.close,o=n.lineWidth;return i?(0,l.checkPointIsInPolygon)(e,a):(0,l.checkPointIsNearPolyline)(e,a,o)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.points;n.graphCenter=a[0]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,i=a.points,u=i.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]}));this.attr("shape",{points:u})}};t.polyline=b;var x={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(n.error("Smoothline points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=t.cache,i=n.points,o=n.close;if(!a.points||a.points.toString()!==i.toString()){var u=c(i,o),d=f(u);Object.assign(a,{points:(0,l.deepClone)(i,!0),bezierCurve:u,hoverPoints:d})}var p=a.bezierCurve;r.beginPath(),(0,s.drawBezierCurvePath)(r,p.slice(1),p[0]),o?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.cache,n=t.shape,a=t.style,i=r.hoverPoints,o=n.close,u=a.lineWidth;return o?(0,l.checkPointIsInPolygon)(e,i):(0,l.checkPointIsNearPolyline)(e,i,u)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.points;n.graphCenter=a[0]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,u=t.cache,l=a.points,s=l.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]}));u.points=s;var c=(0,o["default"])(u.bezierCurve[0],2),f=c[0],d=c[1],p=u.bezierCurve.slice(1);u.bezierCurve=[[f+r,d+n]].concat((0,i["default"])(p.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]}))})))),u.hoverPoints=u.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]})),this.attr("shape",{points:s})}};t.smoothline=x;var P={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(n.error("BezierCurve points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=t.cache,i=n.points,o=n.close;if(!a.points||a.points.toString()!==i.toString()){var u=f(i,20);Object.assign(a,{points:(0,l.deepClone)(i,!0),hoverPoints:u})}r.beginPath(),(0,s.drawBezierCurvePath)(r,i.slice(1),i[0]),o?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.cache,n=t.shape,a=t.style,i=r.hoverPoints,o=n.close,u=a.lineWidth;return o?(0,l.checkPointIsInPolygon)(e,i):(0,l.checkPointIsNearPolyline)(e,i,u)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.points;n.graphCenter=a[0]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,u=t.cache,l=a.points,s=(0,o["default"])(l[0],2),c=s[0],f=s[1],d=l.slice(1),p=[[c+r,f+n]].concat((0,i["default"])(d.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]}))}))));u.points=p,u.hoverPoints=u.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),a=t[0],i=t[1];return[a+r,i+n]})),this.attr("shape",{points:p})}};t.bezierCurve=P;var C={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(e){var t=e.shape,r=t.content,a=t.position,i=t.rowGap;return"string"!==typeof r?(n.error("Text content should be a string!"),!1):a instanceof Array?"number"===typeof i||(n.error("Text rowGap should be a number!"),!1):(n.error("Text position should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=n.content,u=n.position,l=n.maxWidth,s=n.rowGap,c=r.textBaseline,f=r.font,d=parseInt(f.replace(/\D/g,"")),p=u,h=(0,o["default"])(p,2),v=h[0],g=h[1];a=a.split("\n");var m=a.length,y=d+s,b=m*y-s,x=0;"middle"===c&&(x=b/2,g+=d/2),"bottom"===c&&(x=b,g+=d),u=new Array(m).fill(0).map((function(e,t){return[v,g+t*y-x]})),r.beginPath(),a.forEach((function(e,t){r.fillText.apply(r,[e].concat((0,i["default"])(u[t]),[l])),r.strokeText.apply(r,[e].concat((0,i["default"])(u[t]),[l]))})),r.closePath()},hoverCheck:function(e,t){t.shape,t.style;return!1},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.position;n.graphCenter=(0,i["default"])(a)},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,i=(0,o["default"])(a.position,2),u=i[0],l=i[1];this.attr("shape",{position:[u+r,l+n]})}};t.text=C;var w=new Map([["circle",d],["ellipse",p],["rect",h],["ring",v],["arc",g],["sector",m],["regPolygon",y],["polyline",b],["smoothline",x],["bezierCurve",P],["text",C]]),A=w;function O(e,t){e&&t?t.shape?t.validator?t.draw?w.set(e,t):n.error("Required function of draw to extendNewGraph!"):n.error("Required function of validator to extendNewGraph!"):n.error("Required attribute of shape to extendNewGraph!"):n.error("ExtendNewGraph Missing Parameters!")}t["default"]=A},34894:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CRender",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"extendNewGraph",{enumerable:!0,get:function(){return i.extendNewGraph}}),t["default"]=void 0;var a=n(r(35751)),i=r(54234),o=a["default"];t["default"]=o},95805:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.drawPolylinePath=i,t.drawBezierCurvePath=o,t["default"]=void 0;var a=n(r(57920));function i(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||t.length<2)return!1;r&&e.beginPath(),t.forEach((function(t,r){return t&&(0===r?e.moveTo.apply(e,(0,a["default"])(t)):e.lineTo.apply(e,(0,a["default"])(t)))})),n&&e.closePath()}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e||!t)return!1;n&&e.beginPath(),r&&e.moveTo.apply(e,(0,a["default"])(r)),t.forEach((function(t){return t&&e.bezierCurveTo.apply(e,(0,a["default"])(t[0]).concat((0,a["default"])(t[1]),(0,a["default"])(t[2])))})),i&&e.closePath()}var u={drawPolylinePath:i,drawBezierCurvePath:o};t["default"]=u},86319:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=h,t.eliminateBlur=v,t.checkPointIsInCircle=g,t.getTwoPointDistance=m,t.checkPointIsInPolygon=y,t.checkPointIsInSector=b,t.checkPointIsNearPolyline=P,t.checkPointIsInRect=C,t.getRotatePointPos=w,t.getScalePointPos=A,t.getTranslatePointPos=O,t.getDistanceBetweenPointAndLine=k,t.getCircleRadianPoint=M,t.getRegularPolygonPoints=I,t["default"]=void 0;var a=n(r(57920)),i=n(r(99621)),o=n(r(54614)),u=Math.abs,l=Math.sqrt,s=Math.sin,c=Math.cos,f=Math.max,d=Math.min,p=Math.PI;function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var r=JSON.parse,n=JSON.stringify;if(!t)return r(n(e));var a=e instanceof Array?[]:{};if(e&&"object"===(0,o["default"])(e))for(var i in e)e.hasOwnProperty(i)&&(e[i]&&"object"===(0,o["default"])(e[i])?a[i]=h(e[i],!0):a[i]=e[i]);return a}function v(e){return e.map((function(e){var t=(0,i["default"])(e,2),r=t[0],n=t[1];return[parseInt(r)+.5,parseInt(n)+.5]}))}function g(e,t,r,n){return m(e,[t,r])<=n}function m(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),s=o[0],c=o[1],f=u(n-s),d=u(a-c);return l(f*f+d*d)}function y(e,t){for(var r=0,n=(0,i["default"])(e,2),a=n[0],o=n[1],u=t.length,l=1,s=t[0];l<=u;l++){var c=t[l%u];if(a>d(s[0],c[0])&&a<=f(s[0],c[0])&&o<=f(s[1],c[1])&&s[0]!==c[0]){var p=(a-s[0])*(c[1]-s[1])/(c[0]-s[0])+s[1];(s[1]===c[1]||o<=p)&&r++}s=c}return r%2===1}function b(e,t,r,n,a,o,u){if(!e)return!1;if(m(e,[t,r])>n)return!1;if(!u){var l=h([o,a]),s=(0,i["default"])(l,2);a=s[0],o=s[1]}var c=a>o;if(c){var f=[o,a];a=f[0],o=f[1]}var d=o-a;if(d>=2*p)return!0;var v=(0,i["default"])(e,2),g=v[0],y=v[1],b=M(t,r,n,a),P=(0,i["default"])(b,2),C=P[0],w=P[1],A=M(t,r,n,o),O=(0,i["default"])(A,2),k=O[0],I=O[1],L=[g-t,y-r],j=[C-t,w-r],S=[k-t,I-r],E=d>p;if(E){var G=h([S,j]),F=(0,i["default"])(G,2);j=F[0],S=F[1]}var _=x(j,L)&&!x(S,L);return E&&(_=!_),c&&(_=!_),_}function x(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),u=o[0],l=o[1];return-a*u+n*l>0}function P(e,t,r){var n=r/2,o=t.map((function(e){var t=(0,i["default"])(e,2),r=t[0],a=t[1];return[r,a-n]})),u=t.map((function(e){var t=(0,i["default"])(e,2),r=t[0],a=t[1];return[r,a+n]})),l=[].concat((0,a["default"])(o),(0,a["default"])(u.reverse()));return y(e,l)}function C(e,t,r,n,a){var o=(0,i["default"])(e,2),u=o[0],l=o[1];return!(u<t)&&(!(l<r)&&(!(u>t+n)&&!(l>r+a)))}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(e%360===0)return t;var n=(0,i["default"])(t,2),a=n[0],o=n[1],u=(0,i["default"])(r,2),l=u[0],f=u[1];return e*=p/180,[(a-l)*c(e)-(o-f)*s(e)+l,(a-l)*s(e)+(o-f)*c(e)+f]}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(1===e)return t;var n=(0,i["default"])(t,2),a=n[0],o=n[1],u=(0,i["default"])(r,2),l=u[0],s=u[1],c=(0,i["default"])(e,2),f=c[0],d=c[1],p=a-l,h=o-s;return[p*f+l,h*d+s]}function O(e,t){if(!e||!t)return!1;var r=(0,i["default"])(t,2),n=r[0],a=r[1],o=(0,i["default"])(e,2),u=o[0],l=o[1];return[n+u,a+l]}function k(e,t,r){if(!e||!t||!r)return!1;var n=(0,i["default"])(e,2),a=n[0],o=n[1],s=(0,i["default"])(t,2),c=s[0],f=s[1],d=(0,i["default"])(r,2),p=d[0],h=d[1],v=h-f,g=c-p,m=f*(p-c)-c*(h-f),y=u(v*a+g*o+m),b=l(v*v+g*g);return y/b}function M(e,t,r,n){return[e+c(n)*r,t+s(n)*r]}function I(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*p,i=2*p/n,o=new Array(n).fill("").map((function(e,t){return t*i+a}));return o.map((function(n){return M(e,t,r,n)}))}var L={deepClone:h,eliminateBlur:v,checkPointIsInCircle:g,checkPointIsInPolygon:y,checkPointIsInSector:b,checkPointIsNearPolyline:P,getTwoPointDistance:m,getRotatePointPos:w,getScalePointPos:A,getTranslatePointPos:O,getCircleRadianPoint:M,getRegularPolygonPoints:I,getDistanceBetweenPointAndLine:k};t["default"]=L},84502:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=a(r(54614)),o=a(r(11469));r(70293);var u=a(r(34894)),l=r(86319),s=r(82809),c=function e(t){if((0,o["default"])(this,e),!t)return n.error("Charts Missing parameters!"),!1;var r=t.clientWidth,a=t.clientHeight,i=document.createElement("canvas");i.setAttribute("width",r),i.setAttribute("height",a),t.appendChild(i);var l={container:t,canvas:i,render:new u["default"](i),option:null};Object.assign(this,l)};t["default"]=c,c.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,i["default"])(e))return n.error("setOption Missing parameters!"),!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var r=(0,l.deepClone)(e,!0);(0,s.mergeColor)(this,r),(0,s.grid)(this,r),(0,s.axis)(this,r),(0,s.radarAxis)(this,r),(0,s.title)(this,r),(0,s.bar)(this,r),(0,s.line)(this,r),(0,s.pie)(this,r),(0,s.radar)(this,r),(0,s.gauge)(this,r),(0,s.legend)(this,r),this.option=e,this.render.launchAnimation()},c.prototype.resize=function(){var e=this.container,t=this.canvas,r=this.render,n=this.option,a=e.clientWidth,i=e.clientHeight;t.setAttribute("width",a),t.setAttribute("height",i),r.area=[a,i],this.setOption(n)}},91302:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.doUpdate=h,t.Updater=void 0;var i=a(r(57920)),o=a(r(54614)),u=a(r(11469)),l=function e(t,r){(0,u["default"])(this,e);var a=t.chart,i=t.key,o=t.getGraphConfig;"function"===typeof o?(a[i]||(this.graphs=a[i]=[]),Object.assign(this,t),this.update(r)):n.warn("Updater need function getGraphConfig!")};function s(e,t){var r=e.graphs,n=e.chart.render,a=r.length,i=t.length;if(a>i){var o=r.splice(i);o.forEach((function(e){return e.forEach((function(e){return n.delGraph(e)}))}))}}function c(e,t,r,n){var a=n.getGraphConfig,i=n.chart.render,o=n.beforeChange,u=a(t,n);f(e,u,i),e.forEach((function(e,t){var r=u[t];"function"===typeof o&&o(e,r),p(e,r)}))}function f(e,t,r){var n=e.length,a=t.length;if(a>n){var o=e.slice(-1)[0],u=a-n,l=new Array(u).fill(0).map((function(e){return r.clone(o)}));e.push.apply(e,(0,i["default"])(l))}else if(a<n){var s=e.splice(a);s.forEach((function(e){return r.delGraph(e)}))}}function d(e,t,r,n){var a=n.getGraphConfig,i=n.getStartGraphConfig,o=n.chart,u=o.render,l=null;"function"===typeof i&&(l=i(t,n));var s=a(t,n);if(s.length){l?(e[r]=l.map((function(e){return u.add(e)})),e[r].forEach((function(e,t){var r=s[t];p(e,r)}))):e[r]=s.map((function(e){return u.add(e)}));var c=n.afterAddGraph;"function"===typeof c&&c(e[r])}}function p(e,t){var r=Object.keys(t);r.forEach((function(r){"shape"===r||"style"===r?e.animation(r,t[r],!0):e[r]=t[r]}))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chart,r=e.series,n=e.key,a=e.getGraphConfig,i=e.getStartGraphConfig,o=e.beforeChange,u=e.beforeUpdate,s=e.afterAddGraph;t[n]?t[n].update(r):t[n]=new l({chart:t,key:n,getGraphConfig:a,getStartGraphConfig:i,beforeChange:o,beforeUpdate:u,afterAddGraph:s},r)}t.Updater=l,l.prototype.update=function(e){var t=this,r=this.graphs,n=this.beforeUpdate;if(s(this,e),e.length){var a=(0,o["default"])(n);e.forEach((function(e,i){"function"===a&&n(r,e,i,t);var o=r[i];o?c(o,e,i,t):d(r,e,i,t)}))}}},16464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yAxisConfig=t.xAxisConfig=void 0;var r={name:"",show:!0,position:"bottom",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!1,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.xAxisConfig=r;var n={name:"",show:!0,position:"left",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!0,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.yAxisConfig=n},93102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.barConfig=r},7075:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorConfig=void 0;var r=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"];t.colorConfig=r},19228:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.gaugeConfig=r},10995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.gridConfig=r},24595:(e,t,r)=>{"use strict";var n=r(25108);Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaultConfig=m,Object.defineProperty(t,"colorConfig",{enumerable:!0,get:function(){return a.colorConfig}}),Object.defineProperty(t,"gridConfig",{enumerable:!0,get:function(){return i.gridConfig}}),Object.defineProperty(t,"xAxisConfig",{enumerable:!0,get:function(){return o.xAxisConfig}}),Object.defineProperty(t,"yAxisConfig",{enumerable:!0,get:function(){return o.yAxisConfig}}),Object.defineProperty(t,"titleConfig",{enumerable:!0,get:function(){return u.titleConfig}}),Object.defineProperty(t,"lineConfig",{enumerable:!0,get:function(){return l.lineConfig}}),Object.defineProperty(t,"barConfig",{enumerable:!0,get:function(){return s.barConfig}}),Object.defineProperty(t,"pieConfig",{enumerable:!0,get:function(){return c.pieConfig}}),Object.defineProperty(t,"radarAxisConfig",{enumerable:!0,get:function(){return f.radarAxisConfig}}),Object.defineProperty(t,"radarConfig",{enumerable:!0,get:function(){return d.radarConfig}}),Object.defineProperty(t,"gaugeConfig",{enumerable:!0,get:function(){return p.gaugeConfig}}),Object.defineProperty(t,"legendConfig",{enumerable:!0,get:function(){return h.legendConfig}}),t.keys=void 0;var a=r(7075),i=r(10995),o=r(16464),u=r(56201),l=r(37175),s=r(93102),c=r(22209),f=r(92752),d=r(79576),p=r(19228),h=r(2864),v=r(86676),g={colorConfig:a.colorConfig,gridConfig:i.gridConfig,xAxisConfig:o.xAxisConfig,yAxisConfig:o.yAxisConfig,titleConfig:u.titleConfig,lineConfig:l.lineConfig,barConfig:s.barConfig,pieConfig:c.pieConfig,radarAxisConfig:f.radarAxisConfig,radarConfig:d.radarConfig,gaugeConfig:p.gaugeConfig,legendConfig:h.legendConfig};function m(e,t){g["".concat(e,"Config")]?(0,v.deepMerge)(g["".concat(e,"Config")],t):n.warn("Change default config Error - Invalid key!")}var y=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"];t.keys=y},2864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.legendConfig=r},37175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.lineConfig=r},22209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.pieConfig=r},79576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarConfig=void 0;var r={show:!0,name:"",data:[],radarStyle:{lineWidth:1},point:{show:!0,radius:2,style:{fill:"#fff"}},label:{show:!0,offset:[0,0],labelGap:5,formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrane:50};t.radarConfig=r},92752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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};t.radarAxisConfig=r},56201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfig=void 0;var r={show:!0,text:"",offset:[0,-20],style:{fill:"#333",fontSize:17,fontWeight:"bold",textAlign:"center",textBaseline:"bottom"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.titleConfig=r},97951:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.axis=m;var a=n(r(54614)),i=n(r(99621)),o=n(r(34344)),u=n(r(57920)),l=r(91302),s=r(24595),c=r(86676),f=r(86319);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,o["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={xAxisConfig:s.xAxisConfig,yAxisConfig:s.yAxisConfig},v=(Math.min,Math.max,Math.abs),g=Math.pow;function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,a=t.series,i=[];r&&n&&a&&(i=y(r,n),i=b(i),i=i.filter((function(e){var t=e.show;return t})),i=x(i),i=P(i,a),i=F(i),i=_(i,e),i=T(i,e),i=R(i,e),i=B(i,e)),(0,l.doUpdate)({chart:e,series:i,key:"axisLine",getGraphConfig:D}),(0,l.doUpdate)({chart:e,series:i,key:"axisTick",getGraphConfig:N}),(0,l.doUpdate)({chart:e,series:i,key:"axisLabel",getGraphConfig:q}),(0,l.doUpdate)({chart:e,series:i,key:"axisName",getGraphConfig:K}),(0,l.doUpdate)({chart:e,series:i,key:"splitLine",getGraphConfig:te}),e.axisData=i}function y(e,t){var r,n,a=[],i=[];e instanceof Array?(r=a).push.apply(r,(0,u["default"])(e)):a.push(e);t instanceof Array?(n=i).push.apply(n,(0,u["default"])(t)):i.push(t);return a.splice(2),i.splice(2),a=a.map((function(e,t){return p(p({},e),{},{index:t,axis:"x"})})),i=i.map((function(e,t){return p(p({},e),{},{index:t,axis:"y"})})),[].concat((0,u["default"])(a),(0,u["default"])(i))}function b(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),r=e.filter((function(e){var t=e.axis;return"y"===t}));return t=t.map((function(e){return(0,c.deepMerge)((0,f.deepClone)(s.xAxisConfig),e)})),r=r.map((function(e){return(0,c.deepMerge)((0,f.deepClone)(s.yAxisConfig),e)})),[].concat((0,u["default"])(t),(0,u["default"])(r))}function x(e){var t=e.filter((function(e){var t=e.data;return"value"===t})),r=e.filter((function(e){var t=e.data;return"value"!==t}));return t.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!1)})),r.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!0)})),[].concat((0,u["default"])(t),(0,u["default"])(r))}function P(e,t){var r=e.filter((function(e){var t=e.data;return"value"===t})),n=e.filter((function(e){var t=e.data;return t instanceof Array}));return r=C(r,t),n=E(n),[].concat((0,u["default"])(r),(0,u["default"])(n))}function C(e,t){return e.map((function(e){var r=w(e,t),n=k(e,r),a=(0,i["default"])(n,2),o=a[0],u=a[1],l=G(o,u,e),s=e.axisLabel.formatter,c=[];return c=o<0&&u>0?L(o,u,l):j(o,u,l),c=c.map((function(e){return parseFloat(e.toFixed(2))})),p(p({},e),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:S(c,s)})}))}function w(e,t){if(t=t.filter((function(e){var t=e.show,r=e.type;return!1!==t&&"pie"!==r})),0===t.length)return[0,0];var r=e.index,n=e.axis;t=O(t);var a=n+"Axis",i=t.filter((function(e){return e[a]===r}));return i.length||(i=t),A(i)}function A(e){if(e){var t=Math.min.apply(Math,(0,u["default"])(e.map((function(e){var t=e.data;return Math.min.apply(Math,(0,u["default"])((0,c.filterNonNumber)(t)))})))),r=Math.max.apply(Math,(0,u["default"])(e.map((function(e){var t=e.data;return Math.max.apply(Math,(0,u["default"])((0,c.filterNonNumber)(t)))}))));return[t,r]}}function O(e){var t=(0,f.deepClone)(e,!0);return e.forEach((function(r,n){var a=(0,c.mergeSameStackData)(r,e);t[n].data=a})),t}function k(e,t){var r=e.min,n=e.max,o=e.axis,u=(0,i["default"])(t,2),l=u[0],s=u[1],c=(0,a["default"])(r),f=(0,a["default"])(n);if(I(r)||(r=h[o+"AxisConfig"].min,c="string"),I(n)||(n=h[o+"AxisConfig"].max,f="string"),"string"===c){r=parseInt(l-v(l*parseFloat(r)/100));var d=M(r);r=parseFloat((r/d-.1).toFixed(1))*d}if("string"===f){n=parseInt(s+v(s*parseFloat(n)/100));var p=M(n);n=parseFloat((n/p+.1).toFixed(1))*p}return[r,n]}function M(e){var t=v(e).toString(),r=t.length,n=t.replace(/0*$/g,"").indexOf("0"),a=r-1;return-1!==n&&(a-=n),g(10,a)}function I(e){var t=(0,a["default"])(e),r="string"===t&&/^\d+%$/.test(e),n="number"===t;return r||n}function L(e,t,r){var n=[],a=[],i=0,o=0;do{n.push(i-=r)}while(i>e);do{a.push(o+=r)}while(o<t);return[].concat((0,u["default"])(n.reverse()),[0],(0,u["default"])(a))}function j(e,t,r){var n=[e],a=e;do{n.push(a+=r)}while(a<t);return n}function S(e,t){return t?("string"===typeof t&&(e=e.map((function(e){return t.replace("{value}",e)}))),"function"===typeof t&&(e=e.map((function(e,r){return t({value:e,index:r})}))),e):e}function E(e){return e.map((function(e){var t=e.data,r=e.axisLabel.formatter;return p(p({},e),{},{label:S(t,r)})}))}function G(e,t,r){var n=r.interval,a=r.minInterval,i=r.maxInterval,o=r.splitNumber,u=r.axis,l=h[u+"AxisConfig"];if("number"!==typeof n&&(n=l.interval),"number"!==typeof a&&(a=l.minInterval),"number"!==typeof i&&(i=l.maxInterval),"number"!==typeof o&&(o=l.splitNumber),"number"===typeof n)return n;var s=parseInt((t-e)/(o-1));return s.toString().length>1&&(s=parseInt(s.toString().replace(/\d$/,"0"))),0===s&&(s=1),"number"===typeof a&&s<a?a:"number"===typeof i&&s>i?i:s}function F(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),r=e.filter((function(e){var t=e.axis;return"y"===t}));return t[0]&&!t[0].position&&(t[0].position=s.xAxisConfig.position),t[1]&&!t[1].position&&(t[1].position="bottom"===t[0].position?"top":"bottom"),r[0]&&!r[0].position&&(r[0].position=s.yAxisConfig.position),r[1]&&!r[1].position&&(r[1].position="left"===r[0].position?"right":"left"),[].concat((0,u["default"])(t),(0,u["default"])(r))}function _(e,t){var r=t.gridArea,n=r.x,a=r.y,i=r.w,o=r.h;return e=e.map((function(e){var t=e.position,r=[];return"left"===t?r=[[n,a],[n,a+o]].reverse():"right"===t?r=[[n+i,a],[n+i,a+o]].reverse():"top"===t?r=[[n,a],[n+i,a]]:"bottom"===t&&(r=[[n,a+o],[n+i,a+o]]),p(p({},e),{},{linePosition:r})})),e}function T(e,t){return e.map((function(e){var t=e.axis,r=e.linePosition,n=e.position,a=e.label,o=e.boundaryGap;"boolean"!==typeof o&&(o=h[t+"AxisConfig"].boundaryGap);var u=a.length,l=(0,i["default"])(r,2),s=(0,i["default"])(l[0],2),c=s[0],f=s[1],d=(0,i["default"])(l[1],2),v=d[0],g=d[1],m="x"===t?v-c:g-f,y=m/(o?u:u-1),b=new Array(u).fill(0).map((function(e,r){return"x"===t?[c+y*(o?r+.5:r),f]:[c,f+y*(o?r+.5:r)]})),x=U(t,o,n,b,y);return p(p({},e),{},{tickPosition:b,tickLinePosition:x,tickGap:y})}))}function U(e,t,r,n,a){var o="x"===e?1:0,u=5;"x"===e&&"top"===r&&(u=-5),"y"===e&&"left"===r&&(u=-5);var l=n.map((function(e){var t=(0,f.deepClone)(e);return t[o]+=u,[(0,f.deepClone)(e),t]}));return t?(o="x"===e?0:1,u=a/2,l.forEach((function(e){var t=(0,i["default"])(e,2),r=t[0],n=t[1];r[o]+=u,n[o]+=u})),l):l}function R(e,t){return e.map((function(e){var t=e.nameGap,r=e.nameLocation,n=e.position,a=e.linePosition,o=(0,i["default"])(a,2),l=o[0],s=o[1],c=(0,u["default"])(l);"end"===r&&(c=(0,u["default"])(s)),"center"===r&&(c[0]=(l[0]+s[0])/2,c[1]=(l[1]+s[1])/2);var f=0;"top"===n&&"center"===r&&(f=1),"bottom"===n&&"center"===r&&(f=1),"left"===n&&"center"!==r&&(f=1),"right"===n&&"center"!==r&&(f=1);var d=t;return"top"===n&&"end"!==r&&(d*=-1),"left"===n&&"start"!==r&&(d*=-1),"bottom"===n&&"start"===r&&(d*=-1),"right"===n&&"end"===r&&(d*=-1),c[f]+=d,p(p({},e),{},{namePosition:c})}))}function B(e,t){var r=t.gridArea,n=r.w,a=r.h;return e.map((function(e){var t=e.tickLinePosition,r=e.position,o=e.boundaryGap,l=0,s=n;"top"!==r&&"bottom"!==r||(l=1),"top"!==r&&"bottom"!==r||(s=a),"right"!==r&&"bottom"!==r||(s*=-1);var c=t.map((function(e){var t=(0,i["default"])(e,1),r=t[0],n=(0,u["default"])(r);return n[l]+=s,[(0,u["default"])(r),n]}));return o||c.shift(),p(p({},e),{},{splitLinePosition:c})}))}function D(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"polyline",index:n,visible:e.axisLine.show,animationCurve:t,animationFrame:r,shape:W(e),style:z(e)}]}function W(e){var t=e.linePosition;return{points:t}}function z(e){return e.axisLine.style}function N(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=V(e),i=Q(e);return a.map((function(a){return{name:"polyline",index:n,visible:e.axisTick.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function V(e){var t=e.tickLinePosition;return t.map((function(e){return{points:e}}))}function Q(e){return e.axisTick.style}function q(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=Y(e),i=H(e,a);return a.map((function(a,o){return{name:"text",index:n,visible:e.axisLabel.show,animationCurve:t,animationFrame:r,shape:a,style:i[o],setGraphCenter:function(){}}}))}function Y(e){var t=e.label,r=e.tickPosition,n=e.position;return r.map((function(e,r){return{position:X(e,n),content:t[r].toString()}}))}function X(e,t){var r=0,n=10;return"top"!==t&&"bottom"!==t||(r=1),"top"!==t&&"left"!==t||(n=-10),e=(0,f.deepClone)(e),e[r]+=n,e}function H(e,t){var r=e.position,n=e.axisLabel.style,a=J(r);n=(0,c.deepMerge)(a,n);var i=t.map((function(e){var t=e.position;return p(p({},n),{},{graphCenter:t})}));return i}function J(e){return"left"===e?{textAlign:"right",textBaseline:"middle"}:"right"===e?{textAlign:"left",textBaseline:"middle"}:"top"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e?{textAlign:"center",textBaseline:"top"}:void 0}function K(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"text",index:n,animationCurve:t,animationFrame:r,shape:$(e),style:Z(e)}]}function $(e){var t=e.name,r=e.namePosition;return{content:t,position:r}}function Z(e){var t=e.nameLocation,r=e.position,n=e.nameTextStyle,a=ee(r,t);return(0,c.deepMerge)(a,n)}function ee(e,t){return"top"===e&&"start"===t||"bottom"===e&&"start"===t||"left"===e&&"center"===t?{textAlign:"right",textBaseline:"middle"}:"top"===e&&"end"===t||"bottom"===e&&"end"===t||"right"===e&&"center"===t?{textAlign:"left",textBaseline:"middle"}:"top"===e&&"center"===t||"left"===e&&"end"===t||"right"===e&&"end"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e&&"center"===t||"left"===e&&"start"===t||"right"===e&&"start"===t?{textAlign:"center",textBaseline:"top"}:void 0}function te(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=re(e),i=ne(e);return a.map((function(a){return{name:"polyline",index:n,visible:e.splitLine.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function re(e){var t=e.splitLinePosition;return t.map((function(e){return{points:e}}))}function ne(e){return e.splitLine.style}},81094:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.bar=h;var a=n(r(54614)),i=n(r(34344)),o=n(r(99621)),u=n(r(57920)),l=r(91302),s=r(24595),c=r(86319),f=r(86676);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,a=t.series,i=[];r&&n&&a&&(i=(0,f.initNeedSeries)(a,s.barConfig,"bar"),i=v(i,e),i=g(i,e),i=k(i,e)),(0,l.doUpdate)({chart:e,series:i.slice(-1),key:"backgroundBar",getGraphConfig:G}),i.reverse(),(0,l.doUpdate)({chart:e,series:i,key:"bar",getGraphConfig:U,getStartGraphConfig:Q,beforeUpdate:H}),(0,l.doUpdate)({chart:e,series:i,key:"barLabel",getGraphConfig:J})}function v(e,t){var r=t.axisData;return e.forEach((function(e){var t=e.xAxisIndex,n=e.yAxisIndex;"number"!==typeof t&&(t=0),"number"!==typeof n&&(n=0);var a=r.find((function(e){var r=e.axis,n=e.index;return"".concat(r).concat(n)==="x".concat(t)})),i=r.find((function(e){var t=e.axis,r=e.index;return"".concat(t).concat(r)==="y".concat(n)})),o=[a,i],u=o.findIndex((function(e){var t=e.data;return"value"===t}));e.valueAxis=o[u],e.labelAxis=o[1-u]})),e}function g(e,t){var r=y(e);return r.forEach((function(e){m(e),x(e),P(e,t),C(e),O(e)})),e}function m(e){var t=b(e);t=t.map((function(e){return{stack:e,index:-1}}));var r=0;e.forEach((function(e){var n=e.stack;if(n){var a=t.find((function(e){var t=e.stack;return t===n}));-1===a.index&&(a.index=r,r++),e.barIndex=a.index}else e.barIndex=r,r++}))}function y(e){var t=e.map((function(e){var t=e.labelAxis,r=t.axis,n=t.index;return r+n}));return t=(0,u["default"])(new Set(t)),t.map((function(t){return e.filter((function(e){var r=e.labelAxis,n=r.axis,a=r.index;return n+a===t}))}))}function b(e){var t=[];return e.forEach((function(e){var r=e.stack;r&&t.push(r)})),(0,u["default"])(new Set(t))}function x(e){var t=(0,u["default"])(new Set(e.map((function(e){var t=e.barIndex;return t})))).length;e.forEach((function(e){return e.barNum=t}))}function P(e){var t=e.slice(-1)[0],r=t.barCategoryGap,n=t.labelAxis.tickGap,a=0;a="number"===typeof r?r:(1-parseInt(r)/100)*n,e.forEach((function(e){return e.barCategoryWidth=a}))}function C(e){var t=e.slice(-1)[0],r=t.barCategoryWidth,n=t.barWidth,a=t.barGap,i=t.barNum,u=[];"number"===typeof n||"auto"!==n?u=w(r,n,a,i):"auto"===n&&(u=A(r,n,a,i));var l=u,s=(0,o["default"])(l,2),c=s[0],f=s[1];e.forEach((function(e){e.barWidth=c,e.barGap=f}))}function w(e,t,r){var n=0,a=0;return n="number"===typeof t?t:parseInt(t)/100*e,a="number"===typeof r?r:parseInt(r)/100*n,[n,a]}function A(e,t,r,n){var a=0,i=0,o=e/n;if("number"===typeof r)i=r,a=o-i;else{var u=10+parseInt(r)/10;0===u?(a=2*o,i=-a):(a=o/u*10,i=o-a)}return[a,i]}function O(e){var t=e.slice(-1)[0],r=t.barGap,n=t.barWidth,a=t.barNum,i=(r+n)*a-r;e.forEach((function(e){return e.barAllWidthAndGap=i}))}function k(e,t){return e=I(e),e=M(e),e=j(e),e=S(e),e}function M(e){return e.map((function(e){var t=e.labelAxis,r=e.barAllWidthAndGap,n=e.barGap,a=e.barWidth,i=e.barIndex,o=t.tickGap,u=t.tickPosition,l=t.axis,s="x"===l?0:1,c=u.map((function(e,t){var l=u[t][s]-o/2,c=l+(o-r)/2;return c+(i+.5)*a+i*n}));return p(p({},e),{},{barLabelAxisPos:c})}))}function I(e){return e.map((function(t){var r=(0,f.mergeSameStackData)(t,e);r=L(t,r);var n=t.valueAxis,a=n.axis,i=n.minValue,o=n.maxValue,u=n.linePosition,l=E(i,o,i<0?0:i,u,a),s=r.map((function(e){return E(i,o,e,u,a)})),c=s.map((function(e){return[l,e]}));return p(p({},t),{},{barValueAxisPos:c})}))}function L(e,t){var r=e.data;return t.map((function(e,t){return"number"===typeof r[t]?e:null})).filter((function(e){return null!==e}))}function j(e){return e.map((function(e){var t=e.barLabelAxisPos,r=e.data;return r.forEach((function(e,r){"number"!==typeof e&&(t[r]=null)})),p(p({},e),{},{barLabelAxisPos:t.filter((function(e){return null!==e}))})}))}function S(e){return e.forEach((function(e){var t=e.data,r=e.barLabelAxisPos,n=e.barValueAxisPos,a=t.filter((function(e){return"number"===typeof e})).length,i=r.length;i>a&&(r.splice(a),n.splice(a))})),e}function E(e,t,r,n,a){if("number"!==typeof r)return null;var i=t-e,o="x"===a?0:1,u=n[1][o]-n[0][o],l=(r-e)/i;0===i&&(l=0);var s=l*u;return s+n[0][o]}function G(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=F(e),i=T(e);return a.map((function(a){return{name:"rect",index:n,visible:e.backgroundBar.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function F(e){var t=e.labelAxis,r=e.valueAxis,n=t.tickPosition,a=r.axis,i=r.linePosition,o=_(e),u=o/2,l="x"===a?0:1,s=n.map((function(e){return e[1-l]})),c=[i[0][l],i[1][l]],f=c[0],d=c[1];return s.map((function(e){return"x"===a?{x:f,y:e-u,w:d-f,h:o}:{x:e-u,y:d,w:o,h:f-d}}))}function _(e){var t=e.barAllWidthAndGap,r=e.barCategoryWidth,n=e.backgroundBar,a=n.width;return"number"===typeof a?a:"auto"===a?t:parseInt(a)/100*r}function T(e){return e.backgroundBar.style}function U(e){var t=e.barLabelAxisPos,r=e.animationCurve,n=e.animationFrame,a=e.rLevel,i=R(e);return t.map((function(t,o){return{name:i,index:a,animationCurve:r,animationFrame:n,shape:B(e,o),style:N(e,o)}}))}function R(e){var t=e.shapeType;return"leftEchelon"===t||"rightEchelon"===t?"polyline":"rect"}function B(e,t){var r=e.shapeType;return"leftEchelon"===r?D(e,t):"rightEchelon"===r?W(e,t):z(e,t)}function D(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,a=e.barWidth,i=e.echelonOffset,u=(0,o["default"])(r[t],2),l=u[0],s=u[1],c=n[t],f=a/2,d=e.valueAxis.axis,p=[];return"x"===d?(p[0]=[s,c-f],p[1]=[s,c+f],p[2]=[l,c+f],p[3]=[l+i,c-f],s-l<i&&p.splice(3,1)):(p[0]=[c-f,s],p[1]=[c+f,s],p[2]=[c+f,l],p[3]=[c-f,l-i],l-s<i&&p.splice(3,1)),{points:p,close:!0}}function W(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,a=e.barWidth,i=e.echelonOffset,u=(0,o["default"])(r[t],2),l=u[0],s=u[1],c=n[t],f=a/2,d=e.valueAxis.axis,p=[];return"x"===d?(p[0]=[s,c+f],p[1]=[s,c-f],p[2]=[l,c-f],p[3]=[l+i,c+f],s-l<i&&p.splice(2,1)):(p[0]=[c+f,s],p[1]=[c-f,s],p[2]=[c-f,l],p[3]=[c+f,l-i],l-s<i&&p.splice(2,1)),{points:p,close:!0}}function z(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,a=e.barWidth,i=(0,o["default"])(r[t],2),u=i[0],l=i[1],s=n[t],c=e.valueAxis.axis,f={};return"x"===c?(f.x=u,f.y=s-a/2,f.w=l-u,f.h=a):(f.x=s-a/2,f.y=l,f.w=a,f.h=u-l),f}function N(e,t){var r=e.barStyle,n=e.gradient,a=e.color,i=e.independentColor,o=e.independentColors,u=[r.fill||a],l=(0,f.deepMerge)(u,n.color);if(i){var s=o[t%o.length];l=s instanceof Array?s:[s]}1===l.length&&l.push(l[0]);var c=V(e,t);return(0,f.deepMerge)({gradientColor:l,gradientParams:c,gradientType:"linear",gradientWith:"fill"},r)}function V(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,a=e.data,i=e.valueAxis,u=i.linePosition,l=i.axis,s=(0,o["default"])(r[t],2),c=s[0],f=s[1],d=n[t],p=a[t],h=(0,o["default"])(u,2),v=h[0],g=h[1],m="x"===l?0:1,y=f;return e.gradient.local||(y=p<0?v[m]:g[m]),"y"===l?[d,y,d,c]:[y,d,c,d]}function Q(e){var t=U(e),r=e.shapeType;return t.forEach((function(t){var n=t.shape;n="leftEchelon"===r?q(n,e):"rightEchelon"===r?Y(n,e):X(n,e),t.shape=n})),t}function q(e,t){var r=t.valueAxis.axis;e=(0,c.deepClone)(e);var n=e,a=n.points,i="x"===r?0:1,o=a[2][i];return a.forEach((function(e){return e[i]=o})),e}function Y(e,t){var r=t.valueAxis.axis;e=(0,c.deepClone)(e);var n=e,a=n.points,i="x"===r?0:1,o=a[2][i];return a.forEach((function(e){return e[i]=o})),e}function X(e,t){var r=t.valueAxis.axis,n=e.x,a=e.y,i=e.w,o=e.h;return"x"===r?i=0:(a+=o,o=0),{x:n,y:a,w:i,h:o}}function H(e,t,r,n){var a=n.chart.render,i=R(t);e[r]&&e[r][0].name!==i&&(e[r].forEach((function(e){return a.delGraph(e)})),e[r]=null)}function J(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=K(e),i=te(e);return a.map((function(a){return{name:"text",index:n,visible:e.label.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function K(e){var t=$(e),r=Z(e);return r.map((function(e,r){return{position:e,content:t[r]}}))}function $(e){var t=e.data,r=e.label,n=r.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!n)return t;var i=(0,a["default"])(n);return"string"===i?t.map((function(e){return n.replace("{value}",e)})):"function"===i?t.map((function(e,t){return n({value:e,index:t})})):t}function Z(e){var t=e.label,r=e.barValueAxisPos,n=e.barLabelAxisPos,a=t.position,i=t.offset,u=e.valueAxis.axis;return r.map((function(e,t){var r=(0,o["default"])(e,2),l=r[0],s=r[1],c=n[t],f=[s,c];return"bottom"===a&&(f=[l,c]),"center"===a&&(f=[(l+s)/2,c]),"y"===u&&f.reverse(),ee(f,i)}))}function ee(e,t){var r=(0,o["default"])(e,2),n=r[0],a=r[1],i=(0,o["default"])(t,2),u=i[0],l=i[1];return[n+u,a+l]}function te(e){var t=e.color,r=e.label.style,n=e.gradient.color;return n.length&&(t=n[0]),r=(0,f.deepMerge)({fill:t},r),r}},77861:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.gauge=v;var a=n(r(34344)),i=n(r(54614)),o=n(r(99621)),u=n(r(57920)),l=r(91302),s=r(19228),c=r(86319),f=r(86676),d=r(94769);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,a["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,f.initNeedSeries)(r,s.gaugeConfig,"gauge");n=g(n,e),n=m(n,e),n=y(n,e),n=b(n,e),n=x(n,e),n=P(n,e),n=C(n,e),n=w(n,e),n=A(n,e),n=O(n,e),(0,l.doUpdate)({chart:e,series:n,key:"gaugeAxisTick",getGraphConfig:M}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeAxisLabel",getGraphConfig:j}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeBackgroundArc",getGraphConfig:G,getStartGraphConfig:T}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeArc",getGraphConfig:U,getStartGraphConfig:D,beforeChange:W}),(0,l.doUpdate)({chart:e,series:n,key:"gaugePointer",getGraphConfig:z,getStartGraphConfig:q}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeDetails",getGraphConfig:Y})}function g(e,t){var r=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e.center=t})),e}function m(e,t){var r=t.render.area,n=Math.min.apply(Math,(0,u["default"])(r))/2;return e.forEach((function(e){var t=e.radius;"number"!==typeof t&&(t=parseInt(t)/100*n),e.radius=t})),e}function y(e,t){var r=t.render.area,n=Math.min.apply(Math,(0,u["default"])(r))/2;return e.forEach((function(e){var t=e.radius,r=e.data,a=e.arcLineWidth;r.forEach((function(e){var r=e.radius,i=e.lineWidth;r||(r=t),"number"!==typeof r&&(r=parseInt(r)/100*n),e.radius=r,i||(i=a),e.lineWidth=i}))})),e}function b(e,t){return e.forEach((function(e){var t=e.startAngle,r=e.endAngle,n=e.data,a=e.min,i=e.max,o=r-t,u=i-a;n.forEach((function(e){var r=e.value,n=Math.abs((r-a)/u*o);e.startAngle=t,e.endAngle=t+n}))})),e}function x(e,t){return e.forEach((function(e){var t=e.data;t.forEach((function(e){var t=e.color,r=e.gradient;r&&r.length||(r=t),r instanceof Array||(r=[r]),e.gradient=r}))})),e}function P(e,t){return e.forEach((function(e){var t=e.startAngle,r=e.endAngle,n=e.splitNum,a=e.center,i=e.radius,o=e.arcLineWidth,l=e.axisTick,s=l.tickLength,f=l.style.lineWidth,d=r-t,p=i-o/2,h=p-s,v=d/(n-1),g=2*Math.PI*i*d/(2*Math.PI),m=Math.ceil(f/2)/g*d;e.tickAngles=[],e.tickInnerRadius=[],e.tickPosition=new Array(n).fill(0).map((function(r,i){var o=t+v*i;return 0===i&&(o+=m),i===n-1&&(o-=m),e.tickAngles[i]=o,e.tickInnerRadius[i]=h,[c.getCircleRadianPoint.apply(void 0,(0,u["default"])(a).concat([p,o])),c.getCircleRadianPoint.apply(void 0,(0,u["default"])(a).concat([h,o]))]}))})),e}function C(e,t){return e.forEach((function(e){var t=e.center,r=e.tickInnerRadius,n=e.tickAngles,a=e.axisLabel.labelGap,i=n.map((function(e,i){return c.getCircleRadianPoint.apply(void 0,(0,u["default"])(t).concat([r[i]-a,n[i]]))})),l=i.map((function(e){var r=(0,o["default"])(e,2),n=r[0],a=r[1];return{textAlign:n>t[0]?"right":"left",textBaseline:a>t[1]?"bottom":"top"}}));e.labelPosition=i,e.labelAlign=l})),e}function w(e,t){return e.forEach((function(e){var t=e.axisLabel,r=e.min,n=e.max,a=e.splitNum,o=t.data,u=t.formatter,l=(n-r)/(a-1),s=new Array(a).fill(0).map((function(e,t){return parseInt(r+l*t)})),c=(0,i["default"])(u);o=(0,f.deepMerge)(s,o).map((function(e,t){var r=e;return"string"===c&&(r=u.replace("{value}",e)),"function"===c&&(r=u({value:e,index:t})),r})),t.data=o})),e}function A(e,t){return e.forEach((function(e){var t=e.data,r=e.details,n=e.center,a=r.position,i=r.offset,o=t.map((function(e){var t=e.startAngle,r=e.endAngle,o=e.radius,l=null;return"center"===a?l=n:"start"===a?l=c.getCircleRadianPoint.apply(void 0,(0,u["default"])(n).concat([o,t])):"end"===a&&(l=c.getCircleRadianPoint.apply(void 0,(0,u["default"])(n).concat([o,r]))),k(l,i)}));e.detailsPosition=o})),e}function O(e,t){return e.forEach((function(e){var t=e.data,r=e.details,n=r.formatter,a=(0,i["default"])(n),o=t.map((function(e){var t=e.value;return"string"===a&&(t=n.replace("{value}","{nt}"),t=t.replace("{name}",e.name)),"function"===a&&(t=n(e)),t.toString()}));e.detailsContent=o})),e}function k(e,t){var r=(0,o["default"])(e,2),n=r[0],a=r[1],i=(0,o["default"])(t,2),u=i[0],l=i[1];return[n+u,a+l]}function M(e){var t=e.tickPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"polyline",index:a,visible:e.axisTick.show,animationCurve:r,animationFrame:n,shape:I(e,i),style:L(e,i)}}))}function I(e,t){var r=e.tickPosition;return{points:r[t]}}function L(e,t){var r=e.axisTick.style;return r}function j(e){var t=e.labelPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"text",index:a,visible:e.axisLabel.show,animationCurve:r,animationFrame:n,shape:S(e,i),style:E(e,i)}}))}function S(e,t){var r=e.labelPosition,n=e.axisLabel.data;return{content:n[t].toString(),position:r[t]}}function E(e,t){var r=e.labelAlign,n=e.axisLabel,a=n.style;return(0,f.deepMerge)(h({},r[t]),a)}function G(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"arc",index:n,visible:e.backgroundArc.show,animationCurve:t,animationFrame:r,shape:F(e),style:_(e)}]}function F(e){var t=e.startAngle,r=e.endAngle,n=e.center,a=e.radius;return{rx:n[0],ry:n[1],r:a,startAngle:t,endAngle:r}}function _(e){var t=e.backgroundArc,r=e.arcLineWidth,n=t.style;return(0,f.deepMerge)({lineWidth:r},n)}function T(e){var t=G(e)[0],r=h({},t.shape);return r.endAngle=t.shape.startAngle,t.shape=r,[t]}function U(e){var t=e.data,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"agArc",index:a,animationCurve:r,animationFrame:n,shape:R(e,i),style:B(e,i)}}))}function R(e,t){var r=e.data,n=e.center,a=e.endAngle,i=r[t],o=i.radius,u=i.startAngle,l=i.endAngle,s=i.localGradient;return s&&(a=l),{rx:n[0],ry:n[1],r:o,startAngle:u,endAngle:l,gradientEndAngle:a}}function B(e,t){var r=e.data,n=e.dataItemStyle,a=r[t],i=a.lineWidth,o=a.gradient;return o=o.map((function(e){return(0,d.getRgbaValue)(e)})),(0,f.deepMerge)({lineWidth:i,gradient:o},n)}function D(e){var t=U(e);return t.map((function(e){var t=h({},e.shape);t.endAngle=e.shape.startAngle,e.shape=t})),t}function W(e,t){var r=e.style.gradient,n=r.length,a=t.style.gradient.length;if(n>a)r.splice(a);else{var i=r.slice(-1)[0];r.push.apply(r,(0,u["default"])(new Array(a-n).fill(0).map((function(e){return(0,u["default"])(i)}))))}}function z(e){var t=e.animationCurve,r=e.animationFrame,n=e.center,a=e.rLevel;return[{name:"polyline",index:a,visible:e.pointer.show,animationCurve:t,animationFrame:r,shape:N(e),style:V(e),setGraphCenter:function(e,t){t.style.graphCenter=n}}]}function N(e){var t=e.center;return{points:Q(t),close:!0}}function V(e){var t=e.startAngle,r=e.endAngle,n=e.min,a=e.max,i=e.data,o=e.pointer,u=e.center,l=o.valueIndex,s=o.style,c=i[l]?i[l].value:0,d=(c-n)/(a-n)*(r-t)+t+Math.PI/2;return(0,f.deepMerge)({rotate:(0,f.radianToAngle)(d),scale:[1,1],graphCenter:u},s)}function Q(e){var t=(0,o["default"])(e,2),r=t[0],n=t[1],a=[r,n-40],i=[r+5,n],u=[r,n+10],l=[r-5,n];return[a,i,u,l]}function q(e){var t=e.startAngle,r=z(e)[0];return r.style.rotate=(0,f.radianToAngle)(t+Math.PI/2),[r]}function Y(e){var t=e.detailsPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel,i=e.details.show;return t.map((function(t,o){return{name:"numberText",index:a,visible:i,animationCurve:r,animationFrame:n,shape:X(e,o),style:H(e,o)}}))}function X(e,t){var r=e.detailsPosition,n=e.detailsContent,a=e.data,i=e.details,o=r[t],u=n[t],l=a[t].value,s=i.valueToFixed;return{number:[l],content:u,position:o,toFixed:s}}function H(e,t){var r=e.details,n=e.data,a=r.style,i=n[t].color;return(0,f.deepMerge)({fill:i},a)}},78451:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.grid=d;var a=n(r(99621)),i=n(r(34344)),o=r(91302),u=r(86319),l=r(24595),s=r(86676);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.grid;r=(0,s.deepMerge)((0,u.deepClone)(l.gridConfig,!0),r||{}),(0,o.doUpdate)({chart:e,series:[r],key:"grid",getGraphConfig:p})}function p(e,t){var r=e.animationCurve,n=e.animationFrame,a=e.rLevel,i=h(e,t),o=g(e);return t.chart.gridArea=f({},i),[{name:"rect",index:a,animationCurve:r,animationFrame:n,shape:i,style:o}]}function h(e,t){var r=(0,a["default"])(t.chart.render.area,2),n=r[0],i=r[1],o=v(e.left,n),u=v(e.right,n),l=v(e.top,i),s=v(e.bottom,i),c=n-o-u,f=i-l-s;return{x:o,y:l,w:c,h:f}}function v(e,t){return"number"===typeof e?e:"string"!==typeof e?0:t*parseInt(e)/100}function g(e){var t=e.style;return t}},82809:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mergeColor",{enumerable:!0,get:function(){return n.mergeColor}}),Object.defineProperty(t,"title",{enumerable:!0,get:function(){return a.title}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return i.grid}}),Object.defineProperty(t,"axis",{enumerable:!0,get:function(){return o.axis}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return u.line}}),Object.defineProperty(t,"bar",{enumerable:!0,get:function(){return l.bar}}),Object.defineProperty(t,"pie",{enumerable:!0,get:function(){return s.pie}}),Object.defineProperty(t,"radarAxis",{enumerable:!0,get:function(){return c.radarAxis}}),Object.defineProperty(t,"radar",{enumerable:!0,get:function(){return f.radar}}),Object.defineProperty(t,"gauge",{enumerable:!0,get:function(){return d.gauge}}),Object.defineProperty(t,"legend",{enumerable:!0,get:function(){return p.legend}});var n=r(76122),a=r(35813),i=r(78451),o=r(97951),u=r(751),l=r(81094),s=r(73537),c=r(79777),f=r(14853),d=r(77861),p=r(24388)},24388:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.legend=f;var a=n(r(34344)),i=n(r(99621)),o=n(r(54614)),u=r(91302),l=r(86319),s=r(24595),c=r(86676);function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.legend;r?(r=(0,c.deepMerge)((0,l.deepClone)(s.legendConfig,!0),r),r=d(r),r=p(r,t,e),r=h(r,e),r=m(r,e),r=[r]):r=[],(0,u.doUpdate)({chart:e,series:r,key:"legendIcon",getGraphConfig:I}),(0,u.doUpdate)({chart:e,series:r,key:"legendText",getGraphConfig:S})}function d(e){var t=e.data;return e.data=t.map((function(e){var t=(0,o["default"])(e);return"string"===t?{name:e}:"object"===t?e:{name:""}})),e}function p(e,t,r){var n=t.series,a=r.legendStatus,i=e.data.filter((function(e){var t=e.name,r=n.find((function(e){var r=e.name;return t===r}));return!!r&&(e.color||(e.color=r.color),e.icon||(e.icon=r.type),e)}));return a&&a.length===e.data.length||(a=new Array(e.data.length).fill(!0)),i.forEach((function(e,t){return e.status=a[t]})),e.data=i,r.legendStatus=a,e}function h(e,t){var r=t.render.ctx,n=e.data,a=e.textStyle,i=e.textUnselectedStyle;return n.forEach((function(e){var t=e.status,n=e.name;e.textWidth=v(r,n,t?a:i)})),e}function v(e,t,r){return e.font=g(r),e.measureText(t).width}function g(e){var t=e.fontFamily,r=e.fontSize;return"".concat(r,"px ").concat(t)}function m(e,t){var r=e.orient;return"vertical"===r?A(e,t):y(e,t),e}function y(e,t){var r=e.iconHeight,n=e.itemGap,a=b(e,t),i=a.map((function(r){return P(r,e,t)})),o=C(e,t),u={textAlign:"left",textBaseline:"middle"};a.forEach((function(e,t){return e.forEach((function(e){var a=e.iconPosition,l=e.textPosition,s=i[t],c=o+t*(n+r);e.iconPosition=w(a,[s,c]),e.textPosition=w(l,[s,c]),e.align=u}))}))}function b(e,t){var r=e.data,n=e.iconWidth,a=t.render.area[0],i=0,o=[[]];return r.forEach((function(t,r){var u=x(i,r,e),l=u+n+5+t.textWidth;l>=a&&(i=r,u=x(i,r,e),o.push([])),t.iconPosition=[u,0],t.textPosition=[u+n+5,0],o.slice(-1)[0].push(t)})),o}function x(e,t,r){var n=r.data,a=r.iconWidth,i=r.itemGap,o=n.slice(e,t);return(0,c.mulAdd)(o.map((function(e){var t=e.textWidth;return t})))+(t-e)*(i+5+a)}function P(e,t,r){var n=t.left,a=t.right,i=t.iconWidth,o=t.itemGap,u=r.render.area[0],l=e.length,s=(0,c.mulAdd)(e.map((function(e){var t=e.textWidth;return t})))+l*(5+i)+(l-1)*o,f=[n,a].findIndex((function(e){return"auto"!==e}));return-1===f?(u-s)/2:0===f?"number"===typeof n?n:parseInt(n)/100*u:("number"!==typeof a&&(a=parseInt(a)/100*u),u-(s+a))}function C(e,t){var r=e.top,n=e.bottom,a=e.iconHeight,i=t.render.area[1],o=[r,n].findIndex((function(e){return"auto"!==e})),u=a/2;if(-1===o){var l=t.gridArea,s=l.y,c=l.h;return s+c+45-u}return 0===o?"number"===typeof r?r-u:parseInt(r)/100*i-u:("number"!==typeof n&&(n=parseInt(n)/100*i),i-n-u)}function w(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),u=o[0],l=o[1];return[n+u,a+l]}function A(e,t){var r=O(e,t),n=(0,i["default"])(r,2),a=n[0],o=n[1],u=k(e,t);M(e,a);var l={textAlign:"left",textBaseline:"middle"};e.data.forEach((function(e){var t=e.textPosition,r=e.iconPosition;e.textPosition=w(t,[o,u]),e.iconPosition=w(r,[o,u]),e.align=l}))}function O(e,t){var r=e.left,n=e.right,a=t.render.area[0],i=[r,n].findIndex((function(e){return"auto"!==e}));if(-1===i)return[!0,a-10];var o=[r,n][i];return"number"!==typeof o&&(o=parseInt(o)/100*a),[Boolean(i),o]}function k(e,t){var r=e.iconHeight,n=e.itemGap,a=e.data,i=e.top,o=e.bottom,u=t.render.area[1],l=a.length,s=l*r+(l-1)*n,c=[i,o].findIndex((function(e){return"auto"!==e}));if(-1===c)return(u-s)/2;var f=[i,o][c];return"number"!==typeof f&&(f=parseInt(f)/100*u),1===c&&(f=u-f-s),f}function M(e,t){var r=e.data,n=e.iconWidth,a=e.iconHeight,i=e.itemGap,o=a/2;r.forEach((function(e,r){var u=e.textWidth,l=(a+i)*r+o,s=t?0-n:0,c=t?s-5-u:n+5;e.iconPosition=[s,l],e.textPosition=[c,l]}))}function I(e,t){var r=e.data,n=e.selectAble,i=e.animationCurve,o=e.animationFrame,u=e.rLevel;return r.map((function(r,l){return(0,a["default"])({name:"line"===r.icon?"lineIcon":"rect",index:u,visible:e.show,hover:n,click:n,animationCurve:i,animationFrame:o,shape:L(e,l),style:j(e,l)},"click",_(e,l,t))}))}function L(e,t){var r=e.data,n=e.iconWidth,a=e.iconHeight,o=(0,i["default"])(r[t].iconPosition,2),u=o[0],l=o[1],s=a/2;return{x:u,y:l-s,w:n,h:a}}function j(e,t){var r=e.data,n=e.iconStyle,a=e.iconUnselectedStyle,i=r[t],o=i.status,u=i.color,l=o?n:a;return(0,c.deepMerge)({fill:u},l)}function S(e,t){var r=e.data,n=e.selectAble,a=e.animationCurve,i=e.animationFrame,o=e.rLevel;return r.map((function(r,u){return{name:"text",index:o,visible:e.show,hover:n,animationCurve:a,animationFrame:i,hoverRect:F(e,u),shape:E(e,u),style:G(e,u),click:_(e,u,t)}}))}function E(e,t){var r=e.data[t],n=r.textPosition,a=r.name;return{content:a,position:n}}function G(e,t){var r=e.textStyle,n=e.textUnselectedStyle,a=e.data[t],i=a.status,o=a.align,u=i?r:n;return(0,c.deepMerge)((0,l.deepClone)(u,!0),o)}function F(e,t){var r=e.textStyle,n=e.textUnselectedStyle,a=e.data[t],o=a.status,u=(0,i["default"])(a.textPosition,2),l=u[0],s=u[1],c=a.textWidth,f=o?r:n,d=f.fontSize;return[l,s-d/2,c,d]}function _(e,t,r){var n=e.data[t].name;return function(){var e=r.chart,a=e.legendStatus,i=e.option,o=!a[t],u=i.series.find((function(e){var t=e.name;return t===n}));u.show=o,a[t]=o,r.chart.setOption(i)}}},751:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.line=g;var a=n(r(54614)),i=n(r(99621)),o=n(r(57920)),u=n(r(34344)),l=r(91302),s=r(24595),c=n(r(1546)),f=r(86676);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,u["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=c["default"].polylineToBezierCurve,v=c["default"].getBezierCurveLength;function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,a=t.series,i=[];r&&n&&a&&(i=(0,f.initNeedSeries)(a,s.lineConfig,"line"),i=m(i,e)),(0,l.doUpdate)({chart:e,series:i,key:"lineArea",getGraphConfig:C,getStartGraphConfig:M,beforeUpdate:I,beforeChange:L}),(0,l.doUpdate)({chart:e,series:i,key:"line",getGraphConfig:j,getStartGraphConfig:F,beforeUpdate:I,beforeChange:L}),(0,l.doUpdate)({chart:e,series:i,key:"linePoint",getGraphConfig:_,getStartGraphConfig:R}),(0,l.doUpdate)({chart:e,series:i,key:"lineLabel",getGraphConfig:B})}function m(e,t){var r=t.axisData;return e.map((function(t){var n=(0,f.mergeSameStackData)(t,e);n=y(t,n);var a=b(t,r),i=x(n,a),o=P(a);return p(p({},t),{},{linePosition:i.filter((function(e){return e})),lineFillBottomPos:o})}))}function y(e,t){var r=e.data;return t.map((function(e,t){return"number"===typeof r[t]?e:null}))}function b(e,t){var r=e.xAxisIndex,n=e.yAxisIndex,a=t.find((function(e){var t=e.axis,n=e.index;return"x"===t&&n===r})),i=t.find((function(e){var t=e.axis,r=e.index;return"y"===t&&r===n}));return[a,i]}function x(e,t){var r=t.findIndex((function(e){var t=e.data;return"value"===t})),n=t[r],a=t[1-r],i=n.linePosition,o=n.axis,u=a.tickPosition,l=u.length,s="x"===o?0:1,c=i[0][s],f=i[1][s],d=f-c,p=n.maxValue,h=n.minValue,v=p-h,g=new Array(l).fill(0).map((function(t,r){var n=e[r];if("number"!==typeof n)return null;var a=(n-h)/v;return 0===v&&(a=0),a*d+c}));return g.map((function(e,t){if(t>=l||"number"!==typeof e)return null;var r=[e,u[t][1-s]];return 0===s||r.reverse(),r}))}function P(e){var t=e.find((function(e){var t=e.data;return"value"===t})),r=t.axis,n=t.linePosition,a=t.minValue,i=t.maxValue,o="x"===r?0:1,u=n[0][o];if(a<0&&i>0){var l=i-a,s=Math.abs(n[0][o]-n[1][o]),c=Math.abs(a)/l*s;"y"===r&&(c*=-1),u+=c}return{changeIndex:o,changeValue:u}}function C(e){var t=e.animationCurve,r=e.animationFrame,n=e.lineFillBottomPos,a=e.rLevel;return[{name:S(e),index:a,animationCurve:t,animationFrame:r,visible:e.lineArea.show,lineFillBottomPos:n,shape:w(e),style:A(e),drawed:k}]}function w(e){var t=e.linePosition;return{points:t}}function A(e){var t=e.lineArea,r=e.color,n=t.gradient,a=t.style,i=[a.fill||r],o=(0,f.deepMerge)(i,n);1===o.length&&o.push(o[0]);var u=O(e);return a=p(p({},a),{},{stroke:"rgba(0, 0, 0, 0)"}),(0,f.deepMerge)({gradientColor:o,gradientParams:u,gradientType:"linear",gradientWith:"fill"},a)}function O(e){var t=e.lineFillBottomPos,r=e.linePosition,n=t.changeIndex,a=t.changeValue,i=r.map((function(e){return e[n]})),u=Math.max.apply(Math,(0,o["default"])(i)),l=Math.min.apply(Math,(0,o["default"])(i)),s=u;return 1===n&&(s=l),1===n?[0,s,0,a]:[s,0,a,0]}function k(e,t){var r=e.lineFillBottomPos,n=e.shape,a=t.ctx,i=n.points,u=r.changeIndex,l=r.changeValue,s=(0,o["default"])(i[i.length-1]),c=(0,o["default"])(i[0]);s[u]=l,c[u]=l,a.lineTo.apply(a,(0,o["default"])(s)),a.lineTo.apply(a,(0,o["default"])(c)),a.closePath(),a.fill()}function M(e){var t=C(e)[0],r=p({},t.style);return r.opacity=0,t.style=r,[t]}function I(e,t,r,n){var a=e[r];if(a){var i=S(t),o=n.chart.render,u=a[0].name,l=i!==u;l&&(a.forEach((function(e){return o.delGraph(e)})),e[r]=null)}}function L(e,t){var r=t.shape.points,n=e.shape.points,a=n.length,i=r.length;if(i>a){var u=n.slice(-1)[0],l=new Array(i-a).fill(0).map((function(e){return(0,o["default"])(u)}));n.push.apply(n,(0,o["default"])(l))}else i<a&&n.splice(i)}function j(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:S(e),index:n+1,animationCurve:t,animationFrame:r,shape:w(e),style:E(e)}]}function S(e){var t=e.smooth;return t?"smoothline":"polyline"}function E(e){var t=e.lineStyle,r=e.color,n=e.smooth,a=e.linePosition,i=G(a,n);return(0,f.deepMerge)({stroke:r,lineDash:[i,0]},t)}function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return(0,f.getPolylineLength)(e);var r=h(e);return v(r)}function F(e){var t=e.lineStyle.lineDash,r=j(e)[0],n=r.style.lineDash;return n=t?[0,0]:(0,o["default"])(n).reverse(),r.style.lineDash=n,[r]}function _(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=T(e),i=U(e);return a.map((function(a){return{name:"circle",index:n+2,visible:e.linePoint.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function T(e){var t=e.linePosition,r=e.linePoint.radius;return t.map((function(e){var t=(0,i["default"])(e,2),n=t[0],a=t[1];return{r,rx:n,ry:a}}))}function U(e){var t=e.color,r=e.linePoint.style;return(0,f.deepMerge)({stroke:t},r)}function R(e){var t=_(e);return t.forEach((function(e){e.shape.r=.1})),t}function B(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,a=D(e),i=Q(e);return a.map((function(a,o){return{name:"text",index:n+3,visible:e.label.show,animationCurve:t,animationFrame:r,shape:a,style:i}}))}function D(e){var t=V(e),r=W(e);return t.map((function(e,t){return{content:e,position:r[t]}}))}function W(e){var t=e.linePosition,r=e.lineFillBottomPos,n=e.label,a=n.position,i=n.offset,u=r.changeIndex,l=r.changeValue;return t.map((function(e){if("bottom"===a&&(e=(0,o["default"])(e),e[u]=l),"center"===a){var t=(0,o["default"])(e);t[u]=l,e=N(e,t)}return z(e,i)}))}function z(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),u=o[0],l=o[1];return[n+u,a+l]}function N(e,t){var r=(0,i["default"])(e,2),n=r[0],a=r[1],o=(0,i["default"])(t,2),u=o[0],l=o[1];return[(n+u)/2,(a+l)/2]}function V(e){var t=e.data,r=e.label.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!r)return t;var n=(0,a["default"])(r);return"string"===n?t.map((function(e){return r.replace("{value}",e)})):"function"===n?t.map((function(e,t){return r({value:e,index:t})})):t}function Q(e){var t=e.color,r=e.label.style;return(0,f.deepMerge)({fill:t},r)}},76122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeColor=o;var n=r(24595),a=r(86319),i=r(86676);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,a.deepClone)(n.colorConfig,!0),o=t.color,u=t.series;if(u||(u=[]),o||(o=[]),t.color=o=(0,i.deepMerge)(r,o),u.length){var l=o.length;u.forEach((function(e,t){e.color||(e.color=o[t%l])}));var s=u.filter((function(e){var t=e.type;return"pie"===t}));s.forEach((function(e){return e.data.forEach((function(e,t){return e.color=o[t%l]}))}));var c=u.filter((function(e){var t=e.type;return"gauge"===t}));c.forEach((function(e){return e.data.forEach((function(e,t){return e.color=o[t%l]}))}));var f=u.filter((function(e){var t=e.type,r=e.independentColor;return"bar"===t&&r}));f.forEach((function(e){e.independentColors||(e.independentColors=o)}))}}},73537:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.pie=h;var a=n(r(34344)),i=n(r(54614)),o=n(r(99621)),u=n(r(57920)),l=r(91302),s=r(22209),c=r(86319),f=r(86676);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,a["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,f.initNeedSeries)(r,s.pieConfig,"pie");n=v(n,e),n=g(n,e),n=y(n,e),n=P(n),n=A(n,e),n=k(n),n=I(n),n=L(n),(0,l.doUpdate)({chart:e,series:n,key:"pie",getGraphConfig:_,getStartGraphConfig:T,beforeChange:U}),(0,l.doUpdate)({chart:e,series:n,key:"pieInsideLabel",getGraphConfig:D}),(0,l.doUpdate)({chart:e,series:n,key:"pieOutsideLabelLine",getGraphConfig:N,getStartGraphConfig:V}),(0,l.doUpdate)({chart:e,series:n,key:"pieOutsideLabel",getGraphConfig:Y,getStartGraphConfig:X})}function v(e,t){var r=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e.center=t})),e}function g(e,t){var r=Math.min.apply(Math,(0,u["default"])(t.render.area))/2;return e.forEach((function(e){var t=e.radius,n=e.data;t=m(t,r),n.forEach((function(e){var n=e.radius;n||(n=t),n=m(n,r),e.radius=n})),e.radius=t})),e}function m(e,t){return e instanceof Array||(e=[0,e]),e=e.map((function(e){return"number"===typeof e?e:parseInt(e)/100*t})),e}function y(e,t){var r=e.filter((function(e){var t=e.roseType;return t}));return r.forEach((function(e){var t=e.radius,r=e.data,n=e.roseSort,a=x(e),i=(0,u["default"])(r);r=b(r),r.forEach((function(e,r){e.radius[1]=t[1]-a*r})),n?r.reverse():e.data=i,e.roseIncrement=a})),e}function b(e){return e.sort((function(e,t){var r=e.value,n=t.value;return r===n?0:r>n?-1:r<n?1:void 0}))}function x(e){var t=e.radius,r=e.roseIncrement;if("number"===typeof r)return r;if("auto"===r){var n=e.data,a=n.reduce((function(e,t){var r=t.radius;return[].concat((0,u["default"])(e),(0,u["default"])(r))}),[]),i=Math.min.apply(Math,(0,u["default"])(a)),o=Math.max.apply(Math,(0,u["default"])(a));return.6*(o-i)/(n.length-1||1)}return parseInt(r)/100*t[1]}function P(e){return e.forEach((function(e){var t=e.data,r=e.percentToFixed,n=w(t);t.forEach((function(e){var t=e.value;e.percent=t/n*100,e.percentForLabel=C(t/n*100,r)}));var a=(0,f.mulAdd)(t.slice(0,-1).map((function(e){var t=e.percent;return t})));t.slice(-1)[0].percent=100-a,t.slice(-1)[0].percentForLabel=C(100-a,r)})),e}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.toString(),n=r.split("."),a=n[1]||"0",i=a.slice(0,t);return n[1]=i,parseFloat(n.join("."))}function w(e){return(0,f.mulAdd)(e.map((function(e){var t=e.value;return t})))}function A(e){return e.forEach((function(e){var t=e.startAngle,r=e.data;r.forEach((function(e,n){var a=O(r,n),i=(0,o["default"])(a,2),u=i[0],l=i[1];e.startAngle=t+u,e.endAngle=t+l}))})),e}function O(e,t){var r=2*Math.PI,n=e.slice(0,t+1),a=(0,f.mulAdd)(n.map((function(e){var t=e.percent;return t}))),i=e[t].percent,o=a-i;return[r*o/100,r*a/100]}function k(e){return e.forEach((function(e){var t=e.data;t.forEach((function(t){t.insideLabelPos=M(e,t)}))})),e}function M(e,t){var r=e.center,n=t.startAngle,a=t.endAngle,i=(0,o["default"])(t.radius,2),l=i[0],s=i[1],f=(l+s)/2,d=(n+a)/2;return c.getCircleRadianPoint.apply(void 0,(0,u["default"])(r).concat([f,d]))}function I(e){return e.forEach((function(e){var t=e.data,r=e.center;t.forEach((function(e){var t=e.startAngle,n=e.endAngle,a=e.radius,i=(t+n)/2,o=c.getCircleRadianPoint.apply(void 0,(0,u["default"])(r).concat([a[1],i]));e.edgeCenterPos=o}))})),e}function L(e){return e.forEach((function(e){var t=E(e),r=E(e,!1);t=G(t),r=G(r),F(t,e),F(r,e,!1)})),e}function j(e){var t=e.outsideLabel.labelLineBendGap,r=S(e);return"number"!==typeof t&&(t=parseInt(t)/100*r),t+r}function S(e){var t=e.data,r=t.map((function(e){var t=(0,o["default"])(e.radius,2),r=(t[0],t[1]);return r}));return Math.max.apply(Math,(0,u["default"])(r))}function E(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.data,n=e.center,a=n[0];return r.filter((function(e){var r=e.edgeCenterPos,n=r[0];return t?n<=a:n>a}))}function G(e){return e.sort((function(e,t){var r=(0,o["default"])(e.edgeCenterPos,2),n=(r[0],r[1]),a=(0,o["default"])(t.edgeCenterPos,2),i=(a[0],a[1]);return n>i?1:n<i?-1:n===i?0:void 0})),e}function F(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=t.center,a=t.outsideLabel,i=j(t);e.forEach((function(e){var t=e.edgeCenterPos,o=e.startAngle,l=e.endAngle,s=a.labelLineEndLength,d=(o+l)/2,p=c.getCircleRadianPoint.apply(void 0,(0,u["default"])(n).concat([i,d])),h=(0,u["default"])(p);h[0]+=s*(r?-1:1),e.labelLine=[t,p,h],e.labelLineLength=(0,f.getPolylineLength)(e.labelLine),e.align={textAlign:"left",textBaseline:"middle"},r&&(e.align.textAlign="right")}))}function _(e){var t=e.data,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"pie",index:a,animationCurve:r,animationFrame:n,shape:R(e,i),style:B(e,i)}}))}function T(e){var t=e.animationDelayGap,r=e.startAnimationCurve,n=_(e);return n.forEach((function(e,n){e.animationCurve=r,e.animationDelay=n*t,e.shape.or=e.shape.ir})),n}function U(e){e.animationDelay=0}function R(e,t){var r=e.center,n=e.data,a=n[t],i=a.radius,o=a.startAngle,u=a.endAngle;return{startAngle:o,endAngle:u,ir:i[0],or:i[1],rx:r[0],ry:r[1]}}function B(e,t){var r=e.pieStyle,n=e.data,a=n[t],i=a.color;return(0,f.deepMerge)({fill:i},r)}function D(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,a=e.rLevel;return n.map((function(n,i){return{name:"text",index:a,visible:e.insideLabel.show,animationCurve:t,animationFrame:r,shape:W(e,i),style:z(e,i)}}))}function W(e,t){var r=e.insideLabel,n=e.data,a=r.formatter,o=n[t],u=(0,i["default"])(a),l="";return"string"===u&&(l=a.replace("{name}",o.name),l=l.replace("{percent}",o.percentForLabel),l=l.replace("{value}",o.value)),"function"===u&&(l=a(o)),{content:l,position:o.insideLabelPos}}function z(e,t){var r=e.insideLabel.style;return r}function N(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,a=e.rLevel;return n.map((function(n,i){return{name:"polyline",index:a,visible:e.outsideLabel.show,animationCurve:t,animationFrame:r,shape:Q(e,i),style:q(e,i)}}))}function V(e){var t=e.data,r=N(e);return r.forEach((function(e,r){e.style.lineDash=[0,t[r].labelLineLength]})),r}function Q(e,t){var r=e.data,n=r[t];return{points:n.labelLine}}function q(e,t){var r=e.outsideLabel,n=e.data,a=r.labelLineStyle,i=n[t].color;return(0,f.deepMerge)({stroke:i,lineDash:[n[t].labelLineLength,0]},a)}function Y(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,a=e.rLevel;return n.map((function(n,i){return{name:"text",index:a,visible:e.outsideLabel.show,animationCurve:t,animationFrame:r,shape:H(e,i),style:J(e,i)}}))}function X(e){var t=e.data,r=Y(e);return r.forEach((function(e,r){e.shape.position=t[r].labelLine[1]})),r}function H(e,t){var r=e.outsideLabel,n=e.data,a=r.formatter,o=n[t],u=o.labelLine,l=o.name,s=o.percentForLabel,c=o.value,f=(0,i["default"])(a),d="";return"string"===f&&(d=a.replace("{name}",l),d=d.replace("{percent}",s),d=d.replace("{value}",c)),"function"===f&&(d=a(n[t])),{content:d,position:u[2]}}function J(e,t){var r=e.outsideLabel,n=e.data,a=n[t],i=a.color,o=a.align,u=r.style;return(0,f.deepMerge)(p({fill:i},o),u)}},14853:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.radar=v;var a=n(r(34344)),i=n(r(54614)),o=n(r(99621)),u=n(r(57920)),l=r(91302),s=r(24595),c=r(86319),f=r(94769),d=r(86676);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,a["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,d.initNeedSeries)(r,s.radarConfig,"radar");n=g(n,e),n=m(n,e),n=y(n,e),(0,l.doUpdate)({chart:e,series:n,key:"radar",getGraphConfig:b,getStartGraphConfig:x,beforeChange:w}),(0,l.doUpdate)({chart:e,series:n,key:"radarPoint",getGraphConfig:A,getStartGraphConfig:O}),(0,l.doUpdate)({chart:e,series:n,key:"radarLabel",getGraphConfig:I})}function g(e,t){var r=t.radarAxis;if(!r)return[];var n=r.indicator,a=r.axisLineAngles,i=r.radius,o=r.centerPos;return e.forEach((function(e){var t=e.data;e.dataRadius=[],e.radarPosition=n.map((function(r,n){var l=r.max,s=r.min,f=t[n];"number"!==typeof l&&(l=f),"number"!==typeof s&&(s=0),"number"!==typeof f&&(f=s);var d=(f-s)/(l-s)*i;return e.dataRadius[n]=d,c.getCircleRadianPoint.apply(void 0,(0,u["default"])(o).concat([d,a[n]]))}))})),e}function m(e,t){var r=t.radarAxis;if(!r)return[];var n=r.centerPos,a=r.axisLineAngles;return e.forEach((function(e){var t=e.dataRadius,r=e.label,i=r.labelGap;e.labelPosition=t.map((function(e,t){return c.getCircleRadianPoint.apply(void 0,(0,u["default"])(n).concat([e+i,a[t]]))}))})),e}function y(e,t){var r=t.radarAxis;if(!r)return[];var n=(0,o["default"])(r.centerPos,2),a=n[0],i=n[1];return e.forEach((function(e){var t=e.labelPosition,r=t.map((function(e){var t=(0,o["default"])(e,2),r=t[0],n=t[1],u=r>a?"left":"right",l=n>i?"top":"bottom";return{textAlign:u,textBaseline:l}}));e.labelAlign=r})),e}function b(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"polyline",index:n,animationCurve:t,animationFrame:r,shape:P(e),style:C(e)}]}function x(e,t){var r=t.chart.radarAxis.centerPos,n=b(e)[0],a=n.shape.points.length,i=new Array(a).fill(0).map((function(e){return(0,u["default"])(r)}));return n.shape.points=i,[n]}function P(e){var t=e.radarPosition;return{points:t,close:!0}}function C(e){var t=e.radarStyle,r=e.color,n=(0,f.getRgbaValue)(r);n[3]=.5;var a={stroke:r,fill:(0,f.getColorFromRgbValue)(n)};return(0,d.deepMerge)(a,t)}function w(e,t){var r=t.shape,n=e.shape.points,a=n.length,i=r.points.length;if(i>a){var o=n.slice(-1)[0],l=new Array(i-a).fill(0).map((function(e){return(0,u["default"])(o)}));n.push.apply(n,(0,u["default"])(l))}else i<a&&n.splice(i)}function A(e){var t=e.radarPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"circle",index:a,animationCurve:r,animationFrame:n,visible:e.point.show,shape:k(e,i),style:M(e,i)}}))}function O(e){var t=A(e);return t.forEach((function(e){return e.shape.r=.01})),t}function k(e,t){var r=e.radarPosition,n=e.point,a=n.radius,i=r[t];return{rx:i[0],ry:i[1],r:a}}function M(e,t){var r=e.point,n=e.color,a=r.style;return(0,d.deepMerge)({stroke:n},a)}function I(e){var t=e.labelPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"text",index:a,visible:e.label.show,animationCurve:r,animationFrame:n,shape:L(e,i),style:S(e,i)}}))}function L(e,t){var r=e.labelPosition,n=e.label,a=e.data,o=n.offset,u=n.formatter,l=j(r[t],o),s=a[t]?a[t].toString():"0",c=(0,i["default"])(u);return"string"===c&&(s=u.replace("{value}",s)),"function"===c&&(s=u(s)),{content:s,position:l}}function j(e,t){var r=(0,o["default"])(e,2),n=r[0],a=r[1],i=(0,o["default"])(t,2),u=i[0],l=i[1];return[n+u,a+l]}function S(e,t){var r=e.label,n=e.color,a=e.labelAlign,i=r.style,o=h({fill:n},a[t]);return(0,d.deepMerge)(o,i)}},79777:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxis=p;var a=n(r(99621)),i=n(r(34344)),o=n(r(57920)),u=r(91302),l=r(24595),s=r(86319),c=r(86676);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.radar,n=[];r&&(n=h(r),n=v(n,e),n=g(n,e),n=m(n),n=y(n),n=b(n),n=[n]);var a=n;n.length&&!n[0].show&&(a=[]),(0,u.doUpdate)({chart:e,series:a,key:"radarAxisSplitArea",getGraphConfig:x,beforeUpdate:w,beforeChange:A}),(0,u.doUpdate)({chart:e,series:a,key:"radarAxisSplitLine",getGraphConfig:O,beforeUpdate:I,beforeChange:L}),(0,u.doUpdate)({chart:e,series:a,key:"radarAxisLine",getGraphConfig:j}),(0,u.doUpdate)({chart:e,series:a,key:"radarAxisLable",getGraphConfig:G}),e.radarAxis=n[0]}function h(e){return(0,c.deepMerge)((0,s.deepClone)(l.radarAxisConfig),e)}function v(e,t){var r=t.render.area,n=e.center;return e.centerPos=n.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e}function g(e,t){var r=t.render.area,n=e.splitNum,a=e.radius,i=Math.min.apply(Math,(0,o["default"])(r))/2;"number"!==typeof a&&(a=parseInt(a)/100*i);var u=a/n;return e.ringRadius=new Array(n).fill(0).map((function(e,t){return u*(t+1)})),e.radius=a,e}function m(e){var t=e.indicator,r=e.centerPos,n=e.radius,a=e.startAngle,i=2*Math.PI,u=t.length,l=i/u,c=new Array(u).fill(0).map((function(e,t){return l*t+a}));return e.axisLineAngles=c,e.axisLinePosition=c.map((function(e){return s.getCircleRadianPoint.apply(void 0,(0,o["default"])(r).concat([n,e]))})),e}function y(e){var t=e.ringRadius,r=t[0]/2;return e.areaRadius=t.map((function(e){return e-r})),e}function b(e){var t=e.axisLineAngles,r=e.centerPos,n=e.radius,a=e.axisLabel;return n+=a.labelGap,e.axisLabelPosition=t.map((function(e){return s.getCircleRadianPoint.apply(void 0,(0,o["default"])(r).concat([n,e]))})),e}function x(e){var t=e.areaRadius,r=e.polygon,n=e.animationCurve,a=e.animationFrame,i=e.rLevel,o=r?"regPolygon":"ring";return t.map((function(t,r){return{name:o,index:i,visible:e.splitArea.show,animationCurve:n,animationFrame:a,shape:P(e,r),style:C(e,r)}}))}function P(e,t){var r=e.polygon,n=e.areaRadius,a=e.indicator,i=e.centerPos,o=a.length,u={rx:i[0],ry:i[1],r:n[t]};return r&&(u.side=o),u}function C(e,t){var r=e.splitArea,n=e.ringRadius,a=e.axisLineAngles,i=e.polygon,u=e.centerPos,l=r.color,f=r.style;f=d({fill:"rgba(0, 0, 0, 0)"},f);var p=n[0]-0;if(i){var h=s.getCircleRadianPoint.apply(void 0,(0,o["default"])(u).concat([n[0],a[0]])),v=s.getCircleRadianPoint.apply(void 0,(0,o["default"])(u).concat([n[0],a[1]]));p=(0,c.getPointToLineDistance)(u,h,v)}if(f=(0,c.deepMerge)((0,s.deepClone)(f,!0),{lineWidth:p}),!l.length)return f;var g=l.length;return(0,c.deepMerge)(f,{stroke:l[t%g]})}function w(e,t,r,n){var a=e[r];if(a){var i=n.chart.render,o=t.polygon,u=a[0].name,l=o?"regPolygon":"ring",s=l!==u;s&&(a.forEach((function(e){return i.delGraph(e)})),e[r]=null)}}function A(e,t){var r=t.shape.side;"number"===typeof r&&(e.shape.side=r)}function O(e){var t=e.ringRadius,r=e.polygon,n=e.animationCurve,a=e.animationFrame,i=e.rLevel,o=r?"regPolygon":"ring";return t.map((function(t,r){return{name:o,index:i,animationCurve:n,animationFrame:a,visible:e.splitLine.show,shape:k(e,r),style:M(e,r)}}))}function k(e,t){var r=e.ringRadius,n=e.centerPos,a=e.indicator,i=e.polygon,o={rx:n[0],ry:n[1],r:r[t]},u=a.length;return i&&(o.side=u),o}function M(e,t){var r=e.splitLine,n=r.color,a=r.style;if(a=d({fill:"rgba(0, 0, 0, 0)"},a),!n.length)return a;var i=n.length;return(0,c.deepMerge)(a,{stroke:n[t%i]})}function I(e,t,r,n){var a=e[r];if(a){var i=n.chart.render,o=t.polygon,u=a[0].name,l=o?"regPolygon":"ring",s=l!==u;s&&(a.forEach((function(e){return i.delGraph(e)})),e[r]=null)}}function L(e,t){var r=t.shape.side;"number"===typeof r&&(e.shape.side=r)}function j(e){var t=e.axisLinePosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"polyline",index:a,visible:e.axisLine.show,animationCurve:r,animationFrame:n,shape:S(e,i),style:E(e,i)}}))}function S(e,t){var r=e.centerPos,n=e.axisLinePosition,a=[r,n[t]];return{points:a}}function E(e,t){var r=e.axisLine,n=r.color,a=r.style;if(!n.length)return a;var i=n.length;return(0,c.deepMerge)(a,{stroke:n[t%i]})}function G(e){var t=e.axisLabelPosition,r=e.animationCurve,n=e.animationFrame,a=e.rLevel;return t.map((function(t,i){return{name:"text",index:a,visible:e.axisLabel.show,animationCurve:r,animationFrame:n,shape:F(e,i),style:_(e,i)}}))}function F(e,t){var r=e.axisLabelPosition,n=e.indicator;return{content:n[t].name,position:r[t]}}function _(e,t){var r=e.axisLabel,n=(0,a["default"])(e.centerPos,2),i=n[0],o=n[1],u=e.axisLabelPosition,l=r.color,s=r.style,f=(0,a["default"])(u[t],2),d=f[0],p=f[1],h=d>i?"left":"right",v=p>o?"top":"bottom";if(s=(0,c.deepMerge)({textAlign:h,textBaseline:v},s),!l.length)return s;var g=l.length;return(0,c.deepMerge)(s,{fill:l[t%g]})}},35813:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.title=s;var a=n(r(99621)),i=r(91302),o=r(86319),u=r(24595),l=r(86676);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];t.title&&(r[0]=(0,l.deepMerge)((0,o.deepClone)(u.titleConfig,!0),t.title)),(0,i.doUpdate)({chart:e,series:r,key:"title",getGraphConfig:c})}function c(e,t){var r=u.titleConfig.animationCurve,n=u.titleConfig.animationFrame,a=u.titleConfig.rLevel,i=f(e,t),o=d(e);return[{name:"text",index:a,visible:e.show,animationCurve:r,animationFrame:n,shape:i,style:o}]}function f(e,t){var r=e.offset,n=e.text,i=t.chart.gridArea,o=i.x,u=i.y,l=i.w,s=(0,a["default"])(r,2),c=s[0],f=s[1];return{content:n,position:[o+l/2+c,u+f]}}function d(e){var t=e.style;return t}},70293:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965),i=a(r(34344)),o=a(r(57920)),u=r(34894),l=r(54234),s=r(86319),c=r(94769),f=r(86676);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={shape:{rx:0,ry:0,ir:0,or:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","ir","or","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(n.error("Pie shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.rx,i=n.ry,u=n.ir,l=n.or,c=n.startAngle,f=n.endAngle,d=n.clockWise;a=parseInt(a)+.5,i=parseInt(i)+.5,r.arc(a,i,u>0?u:0,c,f,!d);var p=(0,s.getCircleRadianPoint)(a,i,l,f).map((function(e){return parseInt(e)+.5})),h=(0,s.getCircleRadianPoint)(a,i,u,c).map((function(e){return parseInt(e)+.5}));r.lineTo.apply(r,(0,o["default"])(p)),r.arc(a,i,l>0?l:0,f,c,d),r.lineTo.apply(r,(0,o["default"])(h)),r.closePath(),r.stroke(),r.fill()}},v={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(n.error("AgArc shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=t.style,i=a.gradient;i=i.map((function(e){return(0,c.getColorFromRgbValue)(e)})),1===i.length&&(i=[i[0],i[0]]);var o=i.length-1,u=n.gradientStartAngle,l=n.gradientEndAngle,d=n.startAngle,p=n.endAngle,h=n.r,v=n.rx,g=n.ry;null===u&&(u=d),null===l&&(l=p);var m=(l-u)/o;m===2*Math.PI&&(m=2*Math.PI-.001);for(var y=0;y<o;y++){r.beginPath();var b=(0,s.getCircleRadianPoint)(v,g,h,d+m*y),x=(0,s.getCircleRadianPoint)(v,g,h,d+m*(y+1)),P=(0,f.getLinearGradientColor)(r,b,x,[i[y],i[y+1]]),C=d+m*y,w=d+m*(y+1),A=!1;if(w>p&&(w=p,A=!0),r.arc(v,g,h,C,w),r.strokeStyle=P,r.stroke(),A)break}}},g={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(e){var t=e.shape,r=t.number,a=t.content,i=t.position;return r instanceof Array&&"string"===typeof a&&i instanceof Array||(n.error("NumberText shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=n.number,i=n.content,o=n.toFixed,u=n.rowGap,s=n.formatter,c=i.split("{nt}"),f="";c.forEach((function(e,t){var r=a[t];"number"!==typeof r&&(r=""),"number"===typeof r&&(r=r.toFixed(o),"function"===typeof s&&(r=s(r))),f+=e+(r||"")})),l.text.draw({ctx:r},{shape:p(p({},n),{},{content:f,rowGap:u})})}},m={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,r=t.x,a=t.y,i=t.w,o=t.h;return"number"===typeof r&&"number"===typeof a&&"number"===typeof i&&"number"===typeof o||(n.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var a=n.x,i=n.y,o=n.w,u=n.h,l=u/2;r.strokeStyle=r.fillStyle,r.moveTo(a,i+l),r.lineTo(a+o,i+l),r.lineWidth=1,r.stroke(),r.beginPath();var s=l-10;s<=0&&(s=3),r.arc(a+o/2,i+l,s,0,2*Math.PI),r.lineWidth=5,r.stroke(),r.fillStyle="#fff",r.fill()},hoverCheck:function(e,t){var r=t.shape,n=r.x,a=r.y,i=r.w,o=r.h;return(0,s.checkPointIsInRect)(e,n,a,i,o)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,a=r.x,i=r.y,o=r.w,u=r.h;n.graphCenter=[a+o/2,i+u/2]}};(0,u.extendNewGraph)("pie",h),(0,u.extendNewGraph)("agArc",v),(0,u.extendNewGraph)("numberText",g),(0,u.extendNewGraph)("lineIcon",m)},17604:(e,t,r)=>{"use strict";var n=r(63965);t.ZP=void 0;var a=n(r(84502)),i=r(24595),o=a["default"];t.ZP=o},86676:(e,t,r)=>{"use strict";var n=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.filterNonNumber=u,t.deepMerge=l,t.mulAdd=s,t.mergeSameStackData=c,t.getTwoPointDistance=f,t.getLinearGradientColor=d,t.getPolylineLength=p,t.getPointToLineDistance=h,t.initNeedSeries=v,t.radianToAngle=g;var a=n(r(57920)),i=n(r(54614)),o=r(86319);function u(e){return e.filter((function(e){return"number"===typeof e}))}function l(e,t){for(var r in t)e[r]&&"object"===(0,i["default"])(e[r])?l(e[r],t[r]):"object"!==(0,i["default"])(t[r])?e[r]=t[r]:e[r]=(0,o.deepClone)(t[r],!0);return e}function s(e){return e=u(e),e.reduce((function(e,t){return e+t}),0)}function c(e,t){var r=e.stack;if(!r)return(0,a["default"])(e.data);var n=t.filter((function(e){var t=e.stack;return t===r})),i=n.findIndex((function(t){var r=t.data;return r===e.data})),o=n.splice(0,i+1).map((function(e){var t=e.data;return t})),u=o[0].length;return new Array(u).fill(0).map((function(e,t){return s(o.map((function(e){return e[t]})))}))}function f(e,t){var r=Math.abs(e[0]-t[0]),n=Math.abs(e[1]-t[1]);return Math.sqrt(r*r+n*n)}function d(e,t,r,n){if(e&&t&&r&&n.length){var i=n;"string"===typeof i&&(i=[n,n]);var o=e.createLinearGradient.apply(e,(0,a["default"])(t).concat((0,a["default"])(r))),u=1/(i.length-1);return i.forEach((function(e,t){return o.addColorStop(u*t,e)})),o}}function p(e){var t=new Array(e.length-1).fill(0).map((function(t,r){return[e[r],e[r+1]]})),r=t.map((function(e){return f.apply(void 0,(0,a["default"])(e))}));return s(r)}function h(e,t,r){var n=f(e,t),a=f(e,r),i=f(t,r);return.5*Math.sqrt((n+a+i)*(n+a-i)*(n+i-a)*(a+i-n))/i}function v(e,t,r){return e=e.filter((function(e){var t=e.type;return t===r})),e=e.map((function(e){return l((0,o.deepClone)(t,!0),e)})),e.filter((function(e){var t=e.show;return t}))}function g(e){return e/Math.PI*180}},58792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=new Map([["transparent","rgba(0,0,0,0)"],["black","#000000"],["silver","#C0C0C0"],["gray","#808080"],["white","#FFFFFF"],["maroon","#800000"],["red","#FF0000"],["purple","#800080"],["fuchsia","#FF00FF"],["green","#008000"],["lime","#00FF00"],["olive","#808000"],["yellow","#FFFF00"],["navy","#000080"],["blue","#0000FF"],["teal","#008080"],["aqua","#00FFFF"],["aliceblue","#f0f8ff"],["antiquewhite","#faebd7"],["aquamarine","#7fffd4"],["azure","#f0ffff"],["beige","#f5f5dc"],["bisque","#ffe4c4"],["blanchedalmond","#ffebcd"],["blueviolet","#8a2be2"],["brown","#a52a2a"],["burlywood","#deb887"],["cadetblue","#5f9ea0"],["chartreuse","#7fff00"],["chocolate","#d2691e"],["coral","#ff7f50"],["cornflowerblue","#6495ed"],["cornsilk","#fff8dc"],["crimson","#dc143c"],["cyan","#00ffff"],["darkblue","#00008b"],["darkcyan","#008b8b"],["darkgoldenrod","#b8860b"],["darkgray","#a9a9a9"],["darkgreen","#006400"],["darkgrey","#a9a9a9"],["darkkhaki","#bdb76b"],["darkmagenta","#8b008b"],["darkolivegreen","#556b2f"],["darkorange","#ff8c00"],["darkorchid","#9932cc"],["darkred","#8b0000"],["darksalmon","#e9967a"],["darkseagreen","#8fbc8f"],["darkslateblue","#483d8b"],["darkslategray","#2f4f4f"],["darkslategrey","#2f4f4f"],["darkturquoise","#00ced1"],["darkviolet","#9400d3"],["deeppink","#ff1493"],["deepskyblue","#00bfff"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1e90ff"],["firebrick","#b22222"],["floralwhite","#fffaf0"],["forestgreen","#228b22"],["gainsboro","#dcdcdc"],["ghostwhite","#f8f8ff"],["gold","#ffd700"],["goldenrod","#daa520"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavender","#e6e6fa"],["lavenderblush","#fff0f5"],["lawngreen","#7cfc00"],["lemonchiffon","#fffacd"],["lightblue","#add8e6"],["lightcoral","#f08080"],["lightcyan","#e0ffff"],["lightgoldenrodyellow","#fafad2"],["lightgray","#d3d3d3"],["lightgreen","#90ee90"],["lightgrey","#d3d3d3"],["lightpink","#ffb6c1"],["lightsalmon","#ffa07a"],["lightseagreen","#20b2aa"],["lightskyblue","#87cefa"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#b0c4de"],["lightyellow","#ffffe0"],["limegreen","#32cd32"],["linen","#faf0e6"],["magenta","#ff00ff"],["mediumaquamarine","#66cdaa"],["mediumblue","#0000cd"],["mediumorchid","#ba55d3"],["mediumpurple","#9370db"],["mediumseagreen","#3cb371"],["mediumslateblue","#7b68ee"],["mediumspringgreen","#00fa9a"],["mediumturquoise","#48d1cc"],["mediumvioletred","#c71585"],["midnightblue","#191970"],["mintcream","#f5fffa"],["mistyrose","#ffe4e1"],["moccasin","#ffe4b5"],["navajowhite","#ffdead"],["oldlace","#fdf5e6"],["olivedrab","#6b8e23"],["orange","#ffa500"],["orangered","#ff4500"],["orchid","#da70d6"],["palegoldenrod","#eee8aa"],["palegreen","#98fb98"],["paleturquoise","#afeeee"],["palevioletred","#db7093"],["papayawhip","#ffefd5"],["peachpuff","#ffdab9"],["peru","#cd853f"],["pink","#ffc0cb"],["plum","#dda0dd"],["powderblue","#b0e0e6"],["rosybrown","#bc8f8f"],["royalblue","#4169e1"],["saddlebrown","#8b4513"],["salmon","#fa8072"],["sandybrown","#f4a460"],["seagreen","#2e8b57"],["seashell","#fff5ee"],["sienna","#a0522d"],["skyblue","#87ceeb"],["slateblue","#6a5acd"],["slategray","#708090"],["slategrey","#708090"],["snow","#fffafa"],["springgreen","#00ff7f"],["steelblue","#4682b4"],["tan","#d2b48c"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["whitesmoke","#f5f5f5"],["yellowgreen","#9acd32"]]);t["default"]=r},94769:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.getRgbValue=d,t.getRgbaValue=v,t.getOpacity=g,t.toRgb=m,t.toHex=y,t.getColorFromRgbValue=b,t.darken=x,t.lighten=P,t.fade=C,t["default"]=void 0;var i=a(r(57920)),o=a(r(58792)),u=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,l=/^(rgb|rgba|RGB|RGBA)/,s=/^(rgba|RGBA)/;function c(e){var t=u.test(e),r=l.test(e);return t||r?e:(e=f(e),e||(n.error("Color: Invalid color!"),!1))}function f(e){return e?!!o["default"].has(e)&&o["default"].get(e):(n.error("getColorByKeywords: Missing parameters!"),!1)}function d(e){if(!e)return n.error("getRgbValue: Missing parameters!"),!1;if(e=c(e),!e)return!1;var t=u.test(e),r=l.test(e),a=e.toLowerCase();return t?p(a):r?h(a):void 0}function p(e){return e=e.replace("#",""),3===e.length&&(e=Array.from(e).map((function(e){return e+e})).join("")),e=e.split(""),new Array(3).fill(0).map((function(t,r){return parseInt("0x".concat(e[2*r]).concat(e[2*r+1]))}))}function h(e){return e.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map((function(e){return parseInt(e)}))}function v(e){if(!e)return n.error("getRgbaValue: Missing parameters!"),!1;var t=d(e);return!!t&&(t.push(g(e)),t)}function g(e){if(!e)return n.error("getOpacity: Missing parameters!"),!1;if(e=c(e),!e)return!1;var t=s.test(e);return t?(e=e.toLowerCase(),Number(e.split(",").slice(-1)[0].replace(/[)|\s]/g,""))):1}function m(e,t){if(!e)return n.error("toRgb: Missing parameters!"),!1;var r=d(e);if(!r)return!1;var a="number"===typeof t;return a?"rgba("+r.join(",")+",".concat(t,")"):"rgb("+r.join(",")+")"}function y(e){return e?u.test(e)?e:(e=d(e),!!e&&"#"+e.map((function(e){return Number(e).toString(16)})).map((function(e){return"0"===e?"00":e})).join("")):(n.error("toHex: Missing parameters!"),!1)}function b(e){if(!e)return n.error("getColorFromRgbValue: Missing parameters!"),!1;var t=e.length;if(3!==t&&4!==t)return n.error("getColorFromRgbValue: Value is illegal!"),!1;var r=3===t?"rgb(":"rgba(";return r+=e.join(",")+")",r}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)return n.error("darken: Missing parameters!"),!1;var r=v(e);return!!r&&(r=r.map((function(e,r){return 3===r?e:e-Math.ceil(2.55*t)})).map((function(e){return e<0?0:e})),b(r))}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)return n.error("lighten: Missing parameters!"),!1;var r=v(e);return!!r&&(r=r.map((function(e,r){return 3===r?e:e+Math.ceil(2.55*t)})).map((function(e){return e>255?255:e})),b(r))}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;if(!e)return n.error("fade: Missing parameters!"),!1;var r=d(e);if(!r)return!1;var a=[].concat((0,i["default"])(r),[t/100]);return b(a)}var w={fade:C,toHex:y,toRgb:m,darken:x,lighten:P,getOpacity:g,getRgbValue:d,getRgbaValue:v,getColorFromRgbValue:b};t["default"]=w},13915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.easeInOutBounce=t.easeOutBounce=t.easeInBounce=t.easeInOutElastic=t.easeOutElastic=t.easeInElastic=t.easeInOutBack=t.easeOutBack=t.easeInBack=t.easeInOutQuint=t.easeOutQuint=t.easeInQuint=t.easeInOutQuart=t.easeOutQuart=t.easeInQuart=t.easeInOutCubic=t.easeOutCubic=t.easeInCubic=t.easeInOutQuad=t.easeOutQuad=t.easeInQuad=t.easeInOutSine=t.easeOutSine=t.easeInSine=t.linear=void 0;var r=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];t.linear=r;var n=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];t.easeInSine=n;var a=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];t.easeOutSine=a;var i=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];t.easeInOutSine=i;var o=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];t.easeInQuad=o;var u=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];t.easeOutQuad=u;var l=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];t.easeInOutQuad=l;var s=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];t.easeInCubic=s;var c=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];t.easeOutCubic=c;var f=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];t.easeInOutCubic=f;var d=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];t.easeInQuart=d;var p=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];t.easeOutQuart=p;var h=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];t.easeInOutQuart=h;var v=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];t.easeInQuint=v;var g=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];t.easeOutQuint=g;var m=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];t.easeInOutQuint=m;var y=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];t.easeInBack=y;var b=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];t.easeOutBack=b;var x=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];t.easeInOutBack=x;var P=[[[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]]];t.easeInElastic=P;var C=[[[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]]];t.easeOutElastic=C;var w=[[[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]]];t.easeInOutElastic=w;var A=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];t.easeInBounce=A;var O=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];t.easeOutBounce=O;var k=[[[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]]];t.easeInOutBounce=k;var M=new Map([["linear",r],["easeInSine",n],["easeOutSine",a],["easeInOutSine",i],["easeInQuad",o],["easeOutQuad",u],["easeInOutQuad",l],["easeInCubic",s],["easeOutCubic",c],["easeInOutCubic",f],["easeInQuart",d],["easeOutQuart",p],["easeInOutQuart",h],["easeInQuint",v],["easeOutQuint",g],["easeInOutQuint",m],["easeInBack",y],["easeOutBack",b],["easeInOutBack",x],["easeInElastic",P],["easeOutElastic",C],["easeInOutElastic",w],["easeInBounce",A],["easeOutBounce",O],["easeInOutBounce",k]]);t["default"]=M},11817:(e,t,r)=>{"use strict";var n=r(25108),a=r(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.transition=s,t.injectNewCurve=C,t["default"]=void 0;var i=a(r(99621)),o=a(r(54614)),u=a(r(13915)),l="linear";function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!c.apply(void 0,arguments))return!1;try{var o=f(e),u=d(o,a);return i&&"number"!==typeof r?P(t,r,u):m(t,r,u)}catch(l){return n.warn("Transition parameter may be abnormal!"),[r]}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!e||!1===t||!1===r||!a)return n.error("transition: Missing Parameters!"),!1;if((0,o["default"])(t)!==(0,o["default"])(r))return n.error("transition: Inconsistent Status Types!"),!1;var i=(0,o["default"])(r);return"string"!==i&&"boolean"!==i&&e.length?(u["default"].has(e)||e instanceof Array||n.warn("transition: Transition curve not found, default curve will be used!"),!0):(n.error("transition: Unsupported Data Type of State!"),!1)}function f(e){var t="";return t=u["default"].has(e)?u["default"].get(e):e instanceof Array?e:u["default"].get(l),t}function d(e,t){var r=1/(t-1),n=new Array(t).fill(0).map((function(e,t){return t*r})),a=n.map((function(t){return p(e,t)}));return a}function p(e,t){var r=h(e,t),n=v(r,t);return g(r,n)}function h(e,t){var r=e.length-1,n="",a="";e.findIndex((function(i,o){if(o!==r){n=i,a=e[o+1];var u=n[0][0],l=a[0][0];return t>=u&&t<l}}));var i=n[0],o=n[2]||n[0],u=a[1]||a[0],l=a[0];return[i,o,u,l]}function v(e,t){var r=e[0][0],n=e[3][0],a=n-r,i=t-r;return i/a}function g(e,t){var r=(0,i["default"])(e,4),n=(0,i["default"])(r[0],2),a=n[1],o=(0,i["default"])(r[1],2),u=o[1],l=(0,i["default"])(r[2],2),s=l[1],c=(0,i["default"])(r[3],2),f=c[1],d=Math.pow,p=1-t,h=a*d(p,3),v=3*u*t*d(p,2),g=3*s*d(t,2)*p,m=f*d(t,3);return 1-(h+v+g+m)}function m(e,t,r){var n="object";return"number"===typeof e&&(n="number"),e instanceof Array&&(n="array"),"number"===n?y(e,t,r):"array"===n?b(e,t,r):"object"===n?x(e,t,r):r.map((function(e){return t}))}function y(e,t,r){var n=t-e;return r.map((function(t){return e+n*t}))}function b(e,t,r){var n=t.map((function(t,r){return"number"===typeof t&&t-e[r]}));return r.map((function(r){return n.map((function(n,a){return!1===n?t[a]:e[a]+n*r}))}))}function x(e,t,r){var n=Object.keys(t),a=n.map((function(t){return e[t]})),i=n.map((function(e){return t[e]})),o=b(a,i,r);return o.map((function(e){var t={};return e.forEach((function(e,r){return t[n[r]]=e})),t}))}function P(e,t,r){var n=m(e,t,r),a=function(a){var i=e[a],u=t[a];if("object"!==(0,o["default"])(u))return"continue";var l=P(i,u,r);n.forEach((function(e,t){return e[a]=l[t]}))};for(var i in t)a(i);return n}function C(e,t){e&&t?u["default"].set(e,t):n.error("InjectNewCurve Missing Parameters!")}var w=s;t["default"]=w},35837:(e,t,r)=>{var n=r(82109),a=r(17854);n({global:!0,forced:a.globalThis!==a},{globalThis:a})},69098:(e,t,r)=>{"use strict";var n=r(77710),a=r(95631);n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},51532:(e,t,r)=>{r(69098)},19668:(e,t,r)=>{"use strict";const n=r(78998);e.exports=function(){const e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},78998:e=>{"use strict";function t(e){let t=!1,r=!1,n=!1;for(let a=0;a<e.length;a++){const i=e[a];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.substr(0,a)+"-"+e.substr(a),t=!1,n=r,r=!0,a++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.substr(0,a-1)+"-"+e.substr(a-1),n=r,r=!1,t=!0):(t=i.toLowerCase()===i,n=r,r=i.toUpperCase()===i)}return e}e.exports=function(e){if(e=arguments.length>1?Array.from(arguments).map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim(),0===e.length)return"";if(1===e.length)return e.toLowerCase();if(/^[a-z0-9]+$/.test(e))return e;const r=e!==e.toLowerCase();return r&&(e=t(e)),e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}},98605:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},33608:(e,t,r)=>{function n(e){if(Array.isArray(e))return e}r(79753),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},44866:(e,t,r)=>{r(79753);var n=r(98605);function a(e){if(Array.isArray(e))return n(e)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},25736:(e,t,r)=>{function n(e,t,r,n,a,i,o){try{var u=e[i](o),l=u.value}catch(s){return void r(s)}u.done?t(l):Promise.resolve(l).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function u(e){n(o,a,i,u,l,"next",e)}function l(e){n(o,a,i,u,l,"throw",e)}u(void 0)}))}}r(41539),e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},11469:(e,t,r)=>{function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r(21703),r(96647),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},34344:(e,t,r)=>{function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(69070),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},63965:e=>{function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},54337:(e,t,r)=>{function n(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(91038),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},47440:(e,t,r)=>{function n(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i=[],o=!0,u=!1;try{for(r=r.call(e);!(o=(n=r.next()).done);o=!0)if(i.push(n.value),t&&i.length===t)break}catch(l){u=!0,a=l}finally{try{o||null==r["return"]||r["return"]()}finally{if(u)throw a}}return i}}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},423:(e,t,r)=>{function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r(21703),r(96647),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},47929:(e,t,r)=>{function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r(21703),r(96647),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},53898:(e,t,r)=>{r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),r(72443),r(39341),r(73706),r(10408),r(69070),r(78011),r(21703),r(96647),r(30489),r(89554),r(54747),r(68309),r(68304),r(65069),r(47042);var n=r(54614)["default"];function a(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=a=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof h?t:h,i=Object.create(a.prototype),o=new k(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return I()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=w(o,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,o),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}t.wrap=f;var p={};function h(){}function v(){}function g(){}var m={};c(m,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(M([])));b&&b!==r&&i.call(b,u)&&(m=b);var x=g.prototype=h.prototype=Object.create(m);function P(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(a,o,u,l){var s=d(e[a],e,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,l)}),(function(e){r("throw",e,u,l)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return r("throw",e,u,l)}))}l(s.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var a=n.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function M(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=g,c(x,"constructor",g),c(g,"constructor",v),v.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},P(C.prototype),c(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new C(f(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},P(x),c(x,s,"Generator"),c(x,u,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=M,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return o.type="throw",o.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:M(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},99621:(e,t,r)=>{var n=r(33608),a=r(47440),i=r(82282),o=r(423);function u(e,t){return n(e)||a(e,t)||i(e,t)||o()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},57920:(e,t,r)=>{var n=r(44866),a=r(54337),i=r(82282),o=r(47929);function u(e){return n(e)||a(e)||i(e)||o()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},54614:(e,t,r)=>{function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}r(82526),r(41817),r(41539),r(32165),r(78783),r(33948),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},82282:(e,t,r)=>{r(47042),r(41539),r(68309),r(91038),r(78783),r(74916),r(77601);var n=r(98605);function a(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},78305:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(35837),r(82526),r(41817),r(41539),r(32165),r(78783),r(33948);var a=r(53898)();e.exports=a;try{regeneratorRuntime=a}catch(i){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},13087:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});r(21703),r(96647);function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},62833:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});r(69070);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}}}]);