!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&module.exports?module.exports=t():e.echarts=t()}(this,function(){var e,t;!function(){function i(e,t){if(!t)return e;if(0===e.indexOf(".")){var i=t.split("/"),r=e.split("/"),n=i.length-1,a=r.length,o=0,s=0;e:for(var l=0;a>l;l++)switch(r[l]){case"..":if(!(n>o))break e;o++,s++;break;case".":s++;break;default:break e}return i.length=n-o,r=r.slice(s),i.concat(r).join("/")}return e}function r(e){function t(t,o){if("string"==typeof t){var s=r[t];return s||(s=a(i(t,e)),r[t]=s),s}t instanceof Array&&(o=o||function(){},o.apply(this,n(t,o,e)))}var r={};return t}function n(t,r,n){for(var s=[],l=o[n],c=0,u=Math.min(t.length,r.length);u>c;c++){var h,d=i(t[c],n);switch(d){case"require":h=l&&l.require||e;break;case"exports":h=l.exports;break;case"module":h=l;break;default:h=a(d)}s.push(h)}return s}function a(e){var t=o[e];if(!t)throw new Error("No "+e);if(!t.defined){var i=t.factory,r=i.apply(this,n(t.deps||[],i,e));"undefined"!=typeof r&&(t.exports=r),t.defined=1}return t.exports}var o={};t=function(e,t,i){if(2===arguments.length&&(i=t,t=[],"function"!=typeof i)){var n=i;i=function(){return n}}o[e]={id:e,deps:t,factory:i,defined:0,exports:{},require:r(e)}},e=r("")}(),t("zrender/graphic/Gradient",["require"],function(e){var t=function(e){this.colorStops=e||[]};return t.prototype={constructor:t,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}},t}),t("zrender/core/util",["require","../graphic/Gradient"],function(e){function t(e){if("object"==typeof e&&null!==e){var i=e;if(e instanceof Array){i=[];for(var r=0,n=e.length;n>r;r++)i[r]=t(e[r])}else if(!M(e)&&!S(e)){i={};for(var a in e)e.hasOwnProperty(a)&&(i[a]=t(e[a]))}return i}return e}function i(e,r,n){if(e){if(!r)return e;for(var a in r)if(r.hasOwnProperty(a)){var o=e[a],s=r[a];!w(s)||!w(o)||x(s)||x(o)||S(s)||S(o)||M(s)||M(o)?!n&&a in e||(e[a]=t(r[a],!0)):i(o,s,n)}return e}}function r(e,t){for(var r=e[0],n=1,a=e.length;a>n;n++)r=i(r,e[n],t);return r}function n(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function a(e,t,i){for(var r in t)t.hasOwnProperty(r)&&(i?null!=t[r]:null==e[r])&&(e[r]=t[r]);return e}function o(){return document.createElement("canvas")}function s(){return L||(L=q.createCanvas().getContext("2d")),L}function l(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,r=e.length;r>i;i++)if(e[i]===t)return i}return-1}function c(e,t){function i(){}var r=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var n in r)e.prototype[n]=r[n];e.prototype.constructor=e,e.superClass=t}function u(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,a(e,t,i)}function h(e){return e?"string"==typeof e?!1:"number"==typeof e.length:void 0}function d(e,t,i){if(e&&t)if(e.forEach&&e.forEach===k)e.forEach(t,i);else if(e.length===+e.length)for(var r=0,n=e.length;n>r;r++)t.call(i,e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(i,e[a],a,e)}function p(e,t,i){if(e&&t){if(e.map&&e.map===O)return e.map(t,i);for(var r=[],n=0,a=e.length;a>n;n++)r.push(t.call(i,e[n],n,e));return r}}function f(e,t,i,r){if(e&&t){if(e.reduce&&e.reduce===E)return e.reduce(t,i,r);for(var n=0,a=e.length;a>n;n++)i=t.call(r,i,e[n],n,e);return i}}function g(e,t,i){if(e&&t){if(e.filter&&e.filter===V)return e.filter(t,i);for(var r=[],n=0,a=e.length;a>n;n++)t.call(i,e[n],n,e)&&r.push(e[n]);return r}}function m(e,t,i){if(e&&t)for(var r=0,n=e.length;n>r;r++)if(t.call(i,e[r],r,e))return e[r]}function v(e,t){var i=R.call(arguments,2);return function(){return e.apply(t,i.concat(R.call(arguments)))}}function y(e){var t=R.call(arguments,1);return function(){return e.apply(this,t.concat(R.call(arguments)))}}function x(e){return"[object Array]"===D.call(e)}function _(e){return"function"==typeof e}function b(e){return"[object String]"===D.call(e)}function w(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function M(e){return!!T[D.call(e)]||e instanceof I}function S(e){return e&&1===e.nodeType&&"string"==typeof e.nodeName}function A(e){for(var t=0,i=arguments.length;i>t;t++)if(null!=arguments[t])return arguments[t]}function z(){return Function.call.apply(R,arguments)}function C(e,t){if(!e)throw new Error(t)}var L,I=e("../graphic/Gradient"),T={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},D=Object.prototype.toString,P=Array.prototype,k=P.forEach,V=P.filter,R=P.slice,O=P.map,E=P.reduce,q={inherits:c,mixin:u,clone:t,merge:i,mergeAll:r,extend:n,defaults:a,getContext:s,createCanvas:o,indexOf:l,slice:z,find:m,isArrayLike:h,each:d,map:p,reduce:f,filter:g,bind:v,curry:y,isArray:x,isString:b,isObject:w,isFunction:_,isBuildInObject:M,isDom:S,retrieve:A,assert:C,noop:function(){}};return q}),t("echarts/util/clazz",["require","zrender/core/util"],function(e){function t(e,t){for(var i,r=e.constructor,n=e[t];(r=r.$superClass)&&(i=r.prototype[t])&&i===n;);return i}var i=e("zrender/core/util"),r={},n=".",a="___EC__COMPONENT__CONTAINER___",o=r.parseClassType=function(e){var t={main:"",sub:""};return e&&(e=e.split(n),t.main=e[0]||"",t.sub=e[1]||""),t};return r.enableClassExtend=function(e,r){e.extend=function(n){var a=function(){r&&r.apply(this,arguments),e.apply(this,arguments)};return i.extend(a.prototype,i.extend({$superCall:function(e){var r=i.slice(arguments,1);return t(this,e).apply(this,r)},$superApply:function(e,i){return t(this,e).apply(this,i)}},n)),a.extend=this.extend,i.inherits(a,this),a.$superClass=this,a}},r.enableClassManagement=function(e,t){function r(e){var t=n[e.main];return t&&t[a]||(t=n[e.main]={},t[a]=!0),t}t=t||{};var n={};if(e.registerClass=function(e,t){if(t)if(t=o(t),t.sub){if(t.sub!==a){var i=r(t);i[t.sub]=e}}else{if(n[t.main])throw new Error(t.main+"exists");n[t.main]=e}return e},e.getClass=function(e,t,i){var r=n[e];if(r&&r[a]&&(r=t?r[t]:null),i&&!r)throw new Error("Component "+e+"."+(t||"")+" not exists");return r},e.getClassesByMainType=function(e){e=o(e);var t=[],r=n[e.main];return r&&r[a]?i.each(r,function(e,i){i!==a&&t.push(e)}):t.push(r),t},e.hasClass=function(e){return e=o(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,function(t,i){e.push(i)}),e},e.hasSubTypes=function(e){e=o(e);var t=n[e.main];return t&&t[a]},e.parseClassType=o,t.registerWhenExtend){var s=e.extend;s&&(e.extend=function(t){var i=s.call(this,t);return e.registerClass(i,t.type)})}return e},r.setReadOnly=function(e,t){i.isArray(t)||(t=null!=t?[t]:[]),i.each(t,function(t){var r=e[t];Object.defineProperty&&Object.defineProperty(e,t,{value:r,writable:!1}),i.isArray(e[t])&&Object.freeze&&Object.freeze(e[t])})},r}),t("echarts/model/mixin/makeStyleMapper",["require","zrender/core/util"],function(e){var t=e("zrender/core/util");return function(e){for(var i=0;i<e.length;i++)e[i][1]||(e[i][1]=e[i][0]);return function(i){for(var r={},n=0;n<e.length;n++){var a=e[n][1];if(!(i&&t.indexOf(i,a)>=0)){var o=this.getShallow(a);null!=o&&(r[e[n][0]]=o)}}return r}}}),t("echarts/model/mixin/lineStyle",["require","./makeStyleMapper"],function(e){var t=e("./makeStyleMapper")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);return{getLineStyle:function(e){var i=t.call(this,e),r=this.getLineDash();return r&&(i.lineDash=r),i},getLineDash:function(){var e=this.get("type");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}}}),t("echarts/model/mixin/areaStyle",["require","./makeStyleMapper"],function(e){return{getAreaStyle:e("./makeStyleMapper")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]])}}),t("zrender/core/vector",[],function(){var e="undefined"==typeof Float32Array?Array:Float32Array,t={create:function(t,i){var r=new e(2);return r[0]=t||0,r[1]=i||0,r},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(t){var i=new e(2);return i[0]=t[0],i[1]=t[1],i},set:function(e,t,i){return e[0]=t,e[1]=i,e},add:function(e,t,i){re