You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
630 KiB
JavaScript

2 months ago
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var h=function(t,e){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){return(y=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function m(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var i=Array(t),o=0,e=0;e<n;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i}function v(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}var w=new function(){this.browser=new v,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(w.wxa=!0,w.canvasSupported=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(w.worker=!0,w.canvasSupported=!0):"undefined"==typeof navigator?(w.node=!0,w.canvasSupported=!0,w.svgSupported=!0):(Z=navigator.userAgent,Fe=(Kt=w).browser,Pt=Z.match(/Firefox\/([\d.]+)/),H=Z.match(/MSIE\s([\d.]+)/)||Z.match(/Trident\/.+?rv:(([\d.]+))/),X=Z.match(/Edge?\/([\d.]+)/),Z=/micromessenger/i.test(Z),Pt&&(Fe.firefox=!0,Fe.version=Pt[1]),H&&(Fe.ie=!0,Fe.version=H[1]),X&&(Fe.edge=!0,Fe.version=X[1],Fe.newEdge=18<+X[1].split(".")[0]),Z&&(Fe.weChat=!0),Kt.canvasSupported=!!document.createElement("canvas").getContext,Kt.svgSupported="undefined"!=typeof SVGRect,Kt.touchEventsSupported="ontouchstart"in window&&!Fe.ie&&!Fe.edge,Kt.pointerEventsSupported="onpointerdown"in window&&(Fe.edge||Fe.ie&&11<=+Fe.version),Kt.domSupported="undefined"!=typeof document,Pt=document.documentElement.style,Kt.transform3dSupported=(Fe.ie&&"transition"in Pt||Fe.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in Pt)&&!("OTransition"in Pt),Kt.transformSupported=Kt.transform3dSupported||Fe.ie&&9<=+Fe.version);var x={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},b={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},T=Object.prototype.toString,H=Array.prototype,G=H.forEach,W=H.filter,U=H.slice,Y=H.map,X=function(){}.constructor,Z=X?X.prototype:null,K={};function $(t,e){K[t]=e}var J=2311;function Q(){return J++}function tt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function C(t){if(null==t||"object"!=typeof t)return t;var e=t,n=T.call(t);if("[object Array]"===n){if(!It(t))for(var e=[],i=0,o=t.length;i<o;i++)e[i]=C(t[i])}else if(b[n]){if(!It(t)){var r=t.constructor;if(r.from)e=r.from(t);else for(e=new r(t.length),i=0,o=t.length;i<o;i++)e[i]=C(t[i])}}else if(!x[n]&&!It(t)&&!ft(t))for(var a in e={},t)t.hasOwnProperty(a)&&(e[a]=C(t[a]));return e}function p(t,e,n){if(!k(e)||!k(t))return n?C(e):t;for(var i in e){var o,r;e.hasOwnProperty(i)&&(o=t[i],!k(r=e[i])||!k(o)||F(r)||F(o)||ft(r)||ft(o)||pt(r)||pt(o)||It(r)||It(o)?!n&&i in t||(t[i]=C(e[i])):p(o,r,n))}return t}function et(t,e){for(var n=t[0],i=1,o=t.length;i<o;i++)n=p(n,t[i],e);return n}function I(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function V(t,e,n){