Showing preview only (872K chars total). Download the full file or copy to clipboard to get everything.
Repository: NervJS/taro-sample-weapp
Branch: next
Commit: cba5600f7110
Files: 45
Total size: 840.4 KB
Directory structure:
gitextract_obvxj0lv/
├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── README.md
├── babel.config.js
├── config/
│ ├── dev.js
│ ├── index.js
│ └── prod.js
├── package.json
├── project.config.json
└── src/
├── app.config.js
├── app.js
├── app.scss
├── components/
│ ├── ec-canvas/
│ │ ├── ec-canvas.js
│ │ ├── ec-canvas.json
│ │ ├── ec-canvas.wxml
│ │ ├── ec-canvas.wxss
│ │ ├── echarts.js
│ │ └── wx-canvas.js
│ ├── tab/
│ │ ├── tab.js
│ │ ├── tab.json
│ │ └── tab.wxml
│ └── wxParse/
│ ├── html2json.js
│ ├── htmlparser.js
│ ├── index.js
│ ├── index.wxml
│ ├── showdown.js
│ ├── wxDiscode.js
│ ├── wxParse.js
│ ├── wxParse.wxml
│ └── wxParse.wxss
├── index.html
├── pages/
│ ├── echarts/
│ │ ├── echarts.config.js
│ │ ├── echarts.js
│ │ └── echarts.scss
│ ├── index/
│ │ ├── index.config.js
│ │ ├── index.js
│ │ └── index.scss
│ ├── native/
│ │ ├── native.js
│ │ ├── native.json
│ │ ├── native.wxml
│ │ └── native.wxss
│ └── wxParse/
│ ├── wxParse.config.js
│ └── wxParse.js
└── utils/
└── util.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
================================================
FILE: .eslintrc.js
================================================
module.exports = {
'extends': [
// add more generic rulesets here, such as:
// 'eslint:recommended',
'taro/react'
]
}
================================================
FILE: .gitignore
================================================
dist/
.temp/
.rn_temp/
node_modules/
.DS_Store
================================================
FILE: README.md
================================================
# taro-sample-weapp
## 说明
Taro 与小程序原生融合的示例项目,包括:
* wxParse 示例
* echarts-for-weixin 示例
* 混写原生页面示例
## 安装与运行
首先需要全局安装 cli 开发工具 `@tarojs/cli`
```bash
$ npm i -g @tarojs/cli
$ yarn global add @tarojs/cli
```
然后执行如下命令,运行完后打开微信开发者工具,选择项目根目录进行预览
```bash
$ taro build --type weapp --watch
```
================================================
FILE: babel.config.js
================================================
module.exports = {
presets: [
['taro', {
framework: 'react',
ts: false
}]
]
}
================================================
FILE: config/dev.js
================================================
module.exports = {
env: {
NODE_ENV: '"development"'
},
defineConstants: {
},
weapp: {},
h5: {}
}
================================================
FILE: config/index.js
================================================
const config = {
projectName: 'taro-sample-weapp',
date: '2018-9-10',
designWidth: 750,
deviceRatio: {
'640': 2.34 / 2,
'750': 1,
'828': 1.81 / 2
},
sourceRoot: 'src',
outputRoot: 'dist',
framework: 'react',
defineConstants: {
},
copy: {
patterns: [
{ from: 'src/components/wxParse/wxParse.wxss', to: 'dist/components/wxParse/wxParse.wxss'},
{ from: 'src/components/wxParse/wxParse.wxml', to: 'dist/components/wxParse/wxParse.wxml'}
],
options: {}
},
weapp: {
compile: {
exclude: ['src/components/ec-canvas/echarts.js']
},
module: {
}
},
h5: {
publicPath: '/',
staticDirectory: 'static',
module: {
postcss: {
}
}
}
}
module.exports = function (merge) {
if (process.env.NODE_ENV === 'development') {
return merge({}, config, require('./dev'))
}
return merge({}, config, require('./prod'))
}
================================================
FILE: config/prod.js
================================================
module.exports = {
env: {
NODE_ENV: '"production"'
},
defineConstants: {
},
weapp: {},
h5: {}
}
================================================
FILE: package.json
================================================
{
"name": "taro-sample-weapp",
"version": "1.0.0",
"private": true,
"description": "与小程序原生融合的示例项目",
"main": "index.js",
"scripts": {
"build:weapp": "taro build --type weapp",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.8.4",
"@tarojs/components": "3.2.0",
"@tarojs/react": "3.2.0",
"@tarojs/runtime": "3.2.0",
"@tarojs/taro": "3.2.0",
"autoprefixer": "^9.7.4",
"nervjs": "^1.5.4",
"react": "^16.11.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/preset-typescript": "^7.8.3",
"@tarojs/mini-runner": "3.2.0",
"@types/node": "^10.5.8",
"@types/react": "^16.4.8",
"@types/redux-actions": "^2.3.0",
"@types/webpack-env": "^1.13.6",
"babel-loader": "^8.0.6",
"babel-preset-taro": "3.0.0-alpha.5",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-taro": "3.0.0-alpha.5",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^1.6.1"
}
}
================================================
FILE: project.config.json
================================================
{
"miniprogramRoot": "dist/",
"projectname": "taro-sample-weapp",
"description": "与小程序原生融合的示例项目",
"appid": "touristappid",
"setting": {
"urlCheck": true,
"es6": false,
"postcss": false,
"minified": false,
"newFeature": true
},
"compileType": "miniprogram",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {}
}
================================================
FILE: src/app.config.js
================================================
export default {
pages: [
'pages/index/index',
'pages/wxParse/wxParse',
'pages/echarts/echarts',
'pages/native/native'
],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black'
}
}
================================================
FILE: src/app.js
================================================
import Taro from '@tarojs/taro'
import React from 'react'
import './app.scss'
class App extends React.Component {
componentDidMount () {}
componentDidShow () {}
componentDidHide () {}
componentCatchError () {}
render () {
return (
this.props.children
)
}
}
export default App
================================================
FILE: src/app.scss
================================================
================================================
FILE: src/components/ec-canvas/ec-canvas.js
================================================
import WxCanvas from './wx-canvas';
import * as echarts from './echarts';
let ctx;
Component({
properties: {
canvasId: {
type: String,
value: 'ec-canvas'
},
ec: {
type: Object
}
},
data: {
},
ready: function () {
if (!this.data.ec) {
console.warn('组件需绑定 ec 变量,例:<ec-canvas id="mychart-dom-bar" '
+ 'canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>');
return;
}
if (!this.data.ec.lazyLoad) {
this.init();
}
},
methods: {
init: function (callback) {
const version = wx.version.version.split('.').map(n => parseInt(n, 10));
const isValid = version[0] > 1 || (version[0] === 1 && version[1] > 9)
|| (version[0] === 1 && version[1] === 9 && version[2] >= 91);
if (!isValid) {
console.error('微信基础库版本过低,需大于等于 1.9.91。'
+ '参见:https://github.com/ecomfe/echarts-for-weixin'
+ '#%E5%BE%AE%E4%BF%A1%E7%89%88%E6%9C%AC%E8%A6%81%E6%B1%82');
return;
}
ctx = wx.createCanvasContext(this.data.canvasId, this);
const canvas = new WxCanvas(ctx, this.data.canvasId);
echarts.setCanvasCreator(() => {
return canvas;
});
var query = wx.createSelectorQuery().in(this);
query.select('.ec-canvas').boundingClientRect(res => {
if (typeof callback === 'function') {
this.chart = callback(canvas, res.width, res.height);
}
else if (this.data.ec && this.data.ec.onInit) {
this.chart = this.data.ec.onInit(canvas, res.width, res.height);
}
}).exec();
},
canvasToTempFilePath(opt) {
if (!opt.canvasId) {
opt.canvasId = this.data.canvasId;
}
ctx.draw(true, () => {
wx.canvasToTempFilePath(opt, this);
});
},
touchStart(e) {
if (this.chart && e.touches.length > 0) {
var touch = e.touches[0];
this.chart._zr.handler.dispatch('mousedown', {
zrX: touch.x,
zrY: touch.y
});
this.chart._zr.handler.dispatch('mousemove', {
zrX: touch.x,
zrY: touch.y
});
}
},
touchMove(e) {
if (this.chart && e.touches.length > 0) {
var touch = e.touches[0];
this.chart._zr.handler.dispatch('mousemove', {
zrX: touch.x,
zrY: touch.y
});
}
},
touchEnd(e) {
if (this.chart) {
const touch = e.changedTouches ? e.changedTouches[0] : {};
this.chart._zr.handler.dispatch('mouseup', {
zrX: touch.x,
zrY: touch.y
});
this.chart._zr.handler.dispatch('click', {
zrX: touch.x,
zrY: touch.y
});
}
}
}
});
================================================
FILE: src/components/ec-canvas/ec-canvas.json
================================================
{
"component": true,
"usingComponents": {}
}
================================================
FILE: src/components/ec-canvas/ec-canvas.wxml
================================================
<canvas class="ec-canvas" canvas-id="{{ canvasId }}"
bindinit="init"
bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}">
</canvas>
================================================
FILE: src/components/ec-canvas/ec-canvas.wxss
================================================
.ec-canvas {
width: 100%;
height: 100%;
}
================================================
FILE: src/components/ec-canvas/echarts.js
================================================
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t,e){"createCanvas"===t&&(Gx=null),Bx[t]=e}function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=kx.call(t);if("[object Array]"===n){if(!O(t)){e=[];for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}else if(Lx[n]){if(!O(t)){var r=t.constructor;if(t.constructor.from)e=r.from(t);else{e=new r(t.length);for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}}else if(!Cx[n]&&!O(t)&&!M(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]))}return e}function n(t,e,o){if(!w(e)||!w(t))return o?i(e):t;for(var a in e)if(e.hasOwnProperty(a)){var r=t[a],s=e[a];!w(s)||!w(r)||y(s)||y(r)||M(s)||M(r)||b(s)||b(r)||O(s)||O(r)?!o&&a in t||(t[a]=i(e[a],!0)):n(r,s,o)}return t}function o(t,e){for(var i=t[0],o=1,a=t.length;o<a;o++)i=n(i,t[o],e);return i}function a(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function r(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function s(){return Gx||(Gx=Vx().getContext("2d")),Gx}function l(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function u(t,e){function i(){}var n=t.prototype;i.prototype=e.prototype,t.prototype=new i;for(var o in n)t.prototype[o]=n[o];t.prototype.constructor=t,t.superClass=e}function h(t,e,i){r(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,i)}function c(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===Nx)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,o=t.length;n<o;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function f(t,e,i){if(t&&e){if(t.map&&t.map===Rx)return t.map(e,i);for(var n=[],o=0,a=t.length;o<a;o++)n.push(e.call(i,t[o],o,t));return n}}function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===zx)return t.reduce(e,i,n);for(var o=0,a=t.length;o<a;o++)i=e.call(n,i,t[o],o,t);return i}}function g(t,e,i){if(t&&e){if(t.filter&&t.filter===Ox)return t.filter(e,i);for(var n=[],o=0,a=t.length;o<a;o++)e.call(i,t[o],o,t)&&n.push(t[o]);return n}}function m(t,e){var i=Ex.call(arguments,2);return function(){return t.apply(e,i.concat(Ex.call(arguments)))}}function v(t){var e=Ex.call(arguments,1);return function(){return t.apply(this,e.concat(Ex.call(arguments)))}}function y(t){return"[object Array]"===kx.call(t)}function x(t){return"function"==typeof t}function _(t){return"[object String]"===kx.call(t)}function w(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function b(t){return!!Cx[kx.call(t)]}function S(t){return!!Lx[kx.call(t)]}function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function I(t){return t!=t}function D(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function T(t,e){return null!=t?t:e}function A(t,e,i){return null!=t?t:null!=e?e:i}function C(){return Function.call.apply(Ex,arguments)}function L(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function k(t,e){if(!t)throw new Error(e)}function P(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function N(t){t[Fx]=!0}function O(t){return t[Fx]}function E(t){function e(t,e){i?n.set(t,e):n.set(e,t)}var i=y(t),n=this;t instanceof E?t.each(e):t&&d(t,e)}function R(t){return new E(t)}function z(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var o=t.length;for(n=0;n<e.length;n++)i[n+o]=e[n];return i}function B(){}function V(t,e){var i=new Hx(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function G(t,e){return t[0]=e[0],t[1]=e[1],t}function F(t){var e=new Hx(2);return e[0]=t[0],e[1]=t[1],e}function W(t,e,i){return t[0]=e,t[1]=i,t}function H(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function Z(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function U(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function j(t){return Math.sqrt(X(t))}function X(t){return t[0]*t[0]+t[1]*t[1]}function Y(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function q(t,e){var i=j(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function K(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function $(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function J(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function Q(t,e,i){var n=e[0],o=e[1];return t[0]=i[0]*n+i[2]*o+i[4],t[1]=i[1]*n+i[3]*o+i[5],t}function tt(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function et(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}function it(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function nt(t,e){return{target:t,topTarget:e&&e.topTarget}}function ot(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which}}function at(){}function rt(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,i))return!1;o.silent&&(n=!0),o=o.parent}return!n||$x}return!1}function st(){var t=new t_(6);return lt(t),t}function lt(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ut(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ht(t,e,i){var n=e[0]*i[0]+e[2]*i[1],o=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],r=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=o,t[2]=a,t[3]=r,t[4]=s,t[5]=l,t}function ct(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function dt(t,e,i){var n=e[0],o=e[2],a=e[4],r=e[1],s=e[3],l=e[5],u=Math.sin(i),h=Math.cos(i);return t[0]=n*h+r*u,t[1]=-n*u+r*h,t[2]=o*h+s*u,t[3]=-o*u+h*s,t[4]=h*a+u*l,t[5]=h*l-u*a,t}function ft(t,e,i){var n=i[0],o=i[1];return t[0]=e[0]*n,t[1]=e[1]*o,t[2]=e[2]*n,t[3]=e[3]*o,t[4]=e[4]*n,t[5]=e[5]*o,t}function pt(t,e){var i=e[0],n=e[2],o=e[4],a=e[1],r=e[3],s=e[5],l=i*r-a*n;return l?(l=1/l,t[0]=r*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-r*o)*l,t[5]=(a*o-i*s)*l,t):null}function gt(t){var e=st();return ut(e,t),e}function mt(t){return t>n_||t<-n_}function vt(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}function yt(t){return(t=Math.round(t))<0?0:t>255?255:t}function xt(t){return(t=Math.round(t))<0?0:t>360?360:t}function _t(t){return t<0?0:t>1?1:t}function wt(t){return yt(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function bt(t){return _t(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function St(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function Mt(t,e,i){return t+(e-t)*i}function It(t,e,i,n,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t}function Dt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Tt(t,e){g_&&Dt(g_,e),g_=p_.put(t,g_||e.slice())}function At(t,e){if(t){e=e||[];var i=p_.get(t);if(i)return Dt(e,i);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in f_)return Dt(e,f_[n]),Tt(t,e),e;if("#"!==n.charAt(0)){var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var r=n.substr(0,o),s=n.substr(o+1,a-(o+1)).split(","),l=1;switch(r){case"rgba":if(4!==s.length)return void It(e,0,0,0,1);l=bt(s.pop());case"rgb":return 3!==s.length?void It(e,0,0,0,1):(It(e,wt(s[0]),wt(s[1]),wt(s[2]),l),Tt(t,e),e);case"hsla":return 4!==s.length?void It(e,0,0,0,1):(s[3]=bt(s[3]),Ct(s,e),Tt(t,e),e);case"hsl":return 3!==s.length?void It(e,0,0,0,1):(Ct(s,e),Tt(t,e),e);default:return}}It(e,0,0,0,1)}else{if(4===n.length)return(u=parseInt(n.substr(1),16))>=0&&u<=4095?(It(e,(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1),Tt(t,e),e):void It(e,0,0,0,1);if(7===n.length){var u=parseInt(n.substr(1),16);return u>=0&&u<=16777215?(It(e,(16711680&u)>>16,(65280&u)>>8,255&u,1),Tt(t,e),e):void It(e,0,0,0,1)}}}}function Ct(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=bt(t[1]),o=bt(t[2]),a=o<=.5?o*(n+1):o+n-o*n,r=2*o-a;return e=e||[],It(e,yt(255*St(r,a,i+1/3)),yt(255*St(r,a,i)),yt(255*St(r,a,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Lt(t){if(t){var e,i,n=t[0]/255,o=t[1]/255,a=t[2]/255,r=Math.min(n,o,a),s=Math.max(n,o,a),l=s-r,u=(s+r)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+r):l/(2-s-r);var h=((s-n)/6+l/2)/l,c=((s-o)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:o===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function kt(t,e){var i=At(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return zt(i,4===i.length?"rgba":"rgb")}}function Pt(t){var e=At(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Nt(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=e[o],s=e[a],l=n-o;return i[0]=yt(Mt(r[0],s[0],l)),i[1]=yt(Mt(r[1],s[1],l)),i[2]=yt(Mt(r[2],s[2],l)),i[3]=_t(Mt(r[3],s[3],l)),i}}function Ot(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=At(e[o]),s=At(e[a]),l=n-o,u=zt([yt(Mt(r[0],s[0],l)),yt(Mt(r[1],s[1],l)),yt(Mt(r[2],s[2],l)),_t(Mt(r[3],s[3],l))],"rgba");return i?{color:u,leftIndex:o,rightIndex:a,value:n}:u}}function Et(t,e,i,n){if(t=At(t))return t=Lt(t),null!=e&&(t[0]=xt(e)),null!=i&&(t[1]=bt(i)),null!=n&&(t[2]=bt(n)),zt(Ct(t),"rgba")}function Rt(t,e){if((t=At(t))&&null!=e)return t[3]=_t(e),zt(t,"rgba")}function zt(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function Bt(t,e){return t[e]}function Vt(t,e,i){t[e]=i}function Gt(t,e,i){return(e-t)*i+t}function Ft(t,e,i){return i>.5?e:t}function Wt(t,e,i,n,o){var a=t.length;if(1==o)for(s=0;s<a;s++)n[s]=Gt(t[s],e[s],i);else for(var r=a&&t[0].length,s=0;s<a;s++)for(var l=0;l<r;l++)n[s][l]=Gt(t[s][l],e[s][l],i)}function Ht(t,e,i){var n=t.length,o=e.length;if(n!==o)if(n>o)t.length=o;else for(r=n;r<o;r++)t.push(1===i?e[r]:x_.call(e[r]));for(var a=t[0]&&t[0].length,r=0;r<t.length;r++)if(1===i)isNaN(t[r])&&(t[r]=e[r]);else for(var s=0;s<a;s++)isNaN(t[r][s])&&(t[r][s]=e[r][s])}function Zt(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)return!1;if(1===i){for(a=0;a<n;a++)if(t[a]!==e[a])return!1}else for(var o=t[0].length,a=0;a<n;a++)for(var r=0;r<o;r++)if(t[a][r]!==e[a][r])return!1;return!0}function Ut(t,e,i,n,o,a,r,s,l){var u=t.length;if(1==l)for(c=0;c<u;c++)s[c]=jt(t[c],e[c],i[c],n[c],o,a,r);else for(var h=t[0].length,c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=jt(t[c][d],e[c][d],i[c][d],n[c][d],o,a,r)}function jt(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*r+(-3*(e-i)-2*s-l)*a+s*o+e}function Xt(t){if(c(t)){var e=t.length;if(c(t[0])){for(var i=[],n=0;n<e;n++)i.push(x_.call(t[n]));return i}return x_.call(t)}return t}function Yt(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function qt(t){var e=t[t.length-1].value;return c(e&&e[0])?2:1}function Kt(t,e,i,n,o,a){var r=t._getter,s=t._setter,l="spline"===e,u=n.length;if(u){var h,d=c(n[0].value),f=!1,p=!1,g=d?qt(n):0;n.sort(function(t,e){return t.time-e.time}),h=n[u-1].time;for(var m=[],v=[],y=n[0].value,x=!0,_=0;_<u;_++){m.push(n[_].time/h);var w=n[_].value;if(d&&Zt(w,y,g)||!d&&w===y||(x=!1),y=w,"string"==typeof w){var b=At(w);b?(w=b,f=!0):p=!0}v.push(w)}if(a||!x){for(var S=v[u-1],_=0;_<u-1;_++)d?Ht(v[_],S,g):!isNaN(v[_])||isNaN(S)||p||f||(v[_]=S);d&&Ht(r(t._target,o),S,g);var M,I,D,T,A,C,L=0,k=0;if(f)var P=[0,0,0,0];var N=new vt({target:t._target,life:h,loop:t._loop,delay:t._delay,onframe:function(t,e){var i;if(e<0)i=0;else if(e<k){for(i=M=Math.min(L+1,u-1);i>=0&&!(m[i]<=e);i--);i=Math.min(i,u-2)}else{for(i=L;i<u&&!(m[i]>e);i++);i=Math.min(i-1,u-2)}L=i,k=e;var n=m[i+1]-m[i];if(0!==n)if(I=(e-m[i])/n,l)if(T=v[i],D=v[0===i?i:i-1],A=v[i>u-2?u-1:i+1],C=v[i>u-3?u-1:i+2],d)Ut(D,T,A,C,I,I*I,I*I*I,r(t,o),g);else{if(f)a=Ut(D,T,A,C,I,I*I,I*I*I,P,1),a=Yt(P);else{if(p)return Ft(T,A,I);a=jt(D,T,A,C,I,I*I,I*I*I)}s(t,o,a)}else if(d)Wt(v[i],v[i+1],I,r(t,o),g);else{var a;if(f)Wt(v[i],v[i+1],I,P,1),a=Yt(P);else{if(p)return Ft(v[i],v[i+1],I);a=Gt(v[i],v[i+1],I)}s(t,o,a)}},ondestroy:i});return e&&"spline"!==e&&(N.easing=e),N}}}function $t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}function Jt(t){for(var e=0;t>=k_;)e|=1&t,t>>=1;return t+e}function Qt(t,e,i,n){var o=e+1;if(o===i)return 1;if(n(t[o++],t[e])<0){for(;o<i&&n(t[o],t[o-1])<0;)o++;te(t,e,o)}else for(;o<i&&n(t[o],t[o-1])>=0;)o++;return o-e}function te(t,e,i){for(i--;e<i;){var n=t[e];t[e++]=t[i],t[i--]=n}}function ee(t,e,i,n,o){for(n===e&&n++;n<i;n++){for(var a,r=t[n],s=e,l=n;s<l;)o(r,t[a=s+l>>>1])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=r}}function ie(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])>0){for(s=n-o;l<s&&a(t,e[i+o+l])>0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}else{for(s=o+1;l<s&&a(t,e[i+o-l])<=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=r;r=o-l,l=o-u}for(r++;r<l;){var h=r+(l-r>>>1);a(t,e[i+h])>0?r=h+1:l=h}return l}function ne(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])<0){for(s=o+1;l<s&&a(t,e[i+o-l])<0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=r;r=o-l,l=o-u}else{for(s=n-o;l<s&&a(t,e[i+o+l])>=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}for(r++;r<l;){var h=r+(l-r>>>1);a(t,e[i+h])<0?l=h:r=h+1}return l}function oe(t,e){function i(i){var s=a[i],u=r[i],h=a[i+1],c=r[i+1];r[i]=u+c,i===l-3&&(a[i+1]=a[i+2],r[i+1]=r[i+2]),l--;var d=ne(t[h],t,s,u,0,e);s+=d,0!==(u-=d)&&0!==(c=ie(t[s+u-1],t,h,c,c-1,e))&&(u<=c?n(s,u,h,c):o(s,u,h,c))}function n(i,n,o,a){var r=0;for(r=0;r<n;r++)u[r]=t[i+r];var l=0,h=o,c=i;if(t[c++]=t[h++],0!=--a)if(1!==n){for(var d,f,p,g=s;;){d=0,f=0,p=!1;do{if(e(t[h],u[l])<0){if(t[c++]=t[h++],f++,d=0,0==--a){p=!0;break}}else if(t[c++]=u[l++],d++,f=0,1==--n){p=!0;break}}while((d|f)<g);if(p)break;do{if(0!==(d=ne(t[h],u,l,n,0,e))){for(r=0;r<d;r++)t[c+r]=u[l+r];if(c+=d,l+=d,(n-=d)<=1){p=!0;break}}if(t[c++]=t[h++],0==--a){p=!0;break}if(0!==(f=ie(u[l],t,h,a,0,e))){for(r=0;r<f;r++)t[c+r]=t[h+r];if(c+=f,h+=f,0===(a-=f)){p=!0;break}}if(t[c++]=u[l++],1==--n){p=!0;break}g--}while(d>=P_||f>=P_);if(p)break;g<0&&(g=0),g+=2}if((s=g)<1&&(s=1),1===n){for(r=0;r<a;r++)t[c+r]=t[h+r];t[c+a]=u[l]}else{if(0===n)throw new Error;for(r=0;r<n;r++)t[c+r]=u[l+r]}}else{for(r=0;r<a;r++)t[c+r]=t[h+r];t[c+a]=u[l]}else for(r=0;r<n;r++)t[c+r]=u[l+r]}function o(i,n,o,a){var r=0;for(r=0;r<a;r++)u[r]=t[o+r];var l=i+n-1,h=a-1,c=o+a-1,d=0,f=0;if(t[c--]=t[l--],0!=--n)if(1!==a){for(var p=s;;){var g=0,m=0,v=!1;do{if(e(u[h],t[l])<0){if(t[c--]=t[l--],g++,m=0,0==--n){v=!0;break}}else if(t[c--]=u[h--],m++,g=0,1==--a){v=!0;break}}while((g|m)<p);if(v)break;do{if(0!=(g=n-ne(u[h],t,i,n,n-1,e))){for(n-=g,f=(c-=g)+1,d=(l-=g)+1,r=g-1;r>=0;r--)t[f+r]=t[d+r];if(0===n){v=!0;break}}if(t[c--]=u[h--],1==--a){v=!0;break}if(0!=(m=a-ie(t[l],u,0,a,a-1,e))){for(a-=m,f=(c-=m)+1,d=(h-=m)+1,r=0;r<m;r++)t[f+r]=u[d+r];if(a<=1){v=!0;break}}if(t[c--]=t[l--],0==--n){v=!0;break}p--}while(g>=P_||m>=P_);if(v)break;p<0&&(p=0),p+=2}if((s=p)<1&&(s=1),1===a){for(f=(c-=n)+1,d=(l-=n)+1,r=n-1;r>=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else{if(0===a)throw new Error;for(d=c-(a-1),r=0;r<a;r++)t[d+r]=u[r]}}else{for(f=(c-=n)+1,d=(l-=n)+1,r=n-1;r>=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else for(d=c-(a-1),r=0;r<a;r++)t[d+r]=u[r]}var a,r,s=P_,l=0,u=[];a=[],r=[],this.mergeRuns=function(){for(;l>1;){var t=l-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;i(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&r[t-1]<r[t+1]&&t--,i(t)}},this.pushRun=function(t,e){a[l]=t,r[l]=e,l+=1}}function ae(t,e,i,n){i||(i=0),n||(n=t.length);var o=n-i;if(!(o<2)){var a=0;if(o<k_)return a=Qt(t,i,n,e),void ee(t,i,n,i+a,e);var r=new oe(t,e),s=Jt(o);do{if((a=Qt(t,i,n,e))<s){var l=o;l>s&&(l=s),ee(t,i,i+l,i+a,e),a=l}r.pushRun(i,a),r.mergeRuns(),o-=a,i+=a}while(0!==o);r.forceMergeRuns()}}function re(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function se(t,e,i){var n=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,o=o*i.width+i.x,a=a*i.height+i.y,r=r*i.height+i.y),n=isNaN(n)?0:n,o=isNaN(o)?1:o,a=isNaN(a)?0:a,r=isNaN(r)?0:r,t.createLinearGradient(n,a,o,r)}function le(t,e,i){var n=i.width,o=i.height,a=Math.min(n,o),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*n+i.x,s=s*o+i.y,l*=a),t.createRadialGradient(r,s,0,r,s,l)}function ue(){return!1}function he(t,e,i){var n=Vx(),o=e.getWidth(),a=e.getHeight(),r=n.style;return r&&(r.position="absolute",r.left=0,r.top=0,r.width=o+"px",r.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=o*i,n.height=a*i,n}function ce(t){if("string"==typeof t){var e=Z_.get(t);return e&&e.image}return t}function de(t,e,i,n,o){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var a=Z_.get(t),r={hostEl:i,cb:n,cbPayload:o};return a?!pe(e=a.image)&&a.pending.push(r):(!e&&(e=new Image),e.onload=fe,Z_.put(t,e.__cachedImgObj={image:e,pending:[r]}),e.src=e.__zrImageSrc=t),e}return t}return e}function fe(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function pe(t){return t&&t.width&&t.height}function ge(t,e){var i=t+":"+(e=e||q_);if(U_[i])return U_[i];for(var n=(t+"").split("\n"),o=0,a=0,r=n.length;a<r;a++)o=Math.max(Te(n[a],e).width,o);return j_>X_&&(j_=0,U_={}),j_++,U_[i]=o,o}function me(t,e,i,n,o,a,r){return a?ye(t,e,i,n,o,a,r):ve(t,e,i,n,o,r)}function ve(t,e,i,n,o,a){var r=Ae(t,e,o,a),s=ge(t,e);o&&(s+=o[1]+o[3]);var l=r.outerHeight,u=new $t(xe(0,s,i),_e(0,l,n),s,l);return u.lineHeight=r.lineHeight,u}function ye(t,e,i,n,o,a,r){var s=Ce(t,{rich:a,truncate:r,font:e,textAlign:i,textPadding:o}),l=s.outerWidth,u=s.outerHeight;return new $t(xe(0,l,i),_e(0,u,n),l,u)}function xe(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function _e(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function we(t,e,i){var n=e.x,o=e.y,a=e.height,r=e.width,s=a/2,l="left",u="top";switch(t){case"left":n-=i,o+=s,l="right",u="middle";break;case"right":n+=i+r,o+=s,u="middle";break;case"top":n+=r/2,o-=i,l="center",u="bottom";break;case"bottom":n+=r/2,o+=a+i,l="center";break;case"inside":n+=r/2,o+=s,l="center",u="middle";break;case"insideLeft":n+=i,o+=s,u="middle";break;case"insideRight":n+=r-i,o+=s,l="right",u="middle";break;case"insideTop":n+=r/2,o+=i,l="center";break;case"insideBottom":n+=r/2,o+=a-i,l="center",u="bottom";break;case"insideTopLeft":n+=i,o+=i;break;case"insideTopRight":n+=r-i,o+=i,l="right";break;case"insideBottomLeft":n+=i,o+=a-i,u="bottom";break;case"insideBottomRight":n+=r-i,o+=a-i,l="right",u="bottom"}return{x:n,y:o,textAlign:l,textVerticalAlign:u}}function be(t,e,i,n,o){if(!e)return"";var a=(t+"").split("\n");o=Se(e,i,n,o);for(var r=0,s=a.length;r<s;r++)a[r]=Me(a[r],o);return a.join("\n")}function Se(t,e,i,n){(n=a({},n)).font=e;var i=T(i,"...");n.maxIterations=T(n.maxIterations,2);var o=n.minChar=T(n.minChar,0);n.cnCharWidth=ge("国",e);var r=n.ascCharWidth=ge("a",e);n.placeholder=T(n.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=r;l++)s-=r;var u=ge(i);return u>s&&(i="",u=0),s=t-u,n.ellipsis=i,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=t,n}function Me(t,e){var i=e.containerWidth,n=e.font,o=e.contentWidth;if(!i)return"";var a=ge(t,n);if(a<=i)return t;for(var r=0;;r++){if(a<=o||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?Ie(t,o,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*o/a):0;a=ge(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function Ie(t,e,i,n){for(var o=0,a=0,r=t.length;a<r&&o<e;a++){var s=t.charCodeAt(a);o+=0<=s&&s<=127?i:n}return a}function De(t){return ge("国",t)}function Te(t,e){return K_.measureText(t,e)}function Ae(t,e,i,n){null!=t&&(t+="");var o=De(e),a=t?t.split("\n"):[],r=a.length*o,s=r;if(i&&(s+=i[0]+i[2]),t&&n){var l=n.outerHeight,u=n.outerWidth;if(null!=l&&s>l)t="",a=[];else if(null!=u)for(var h=Se(u-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),c=0,d=a.length;c<d;c++)a[c]=Me(a[c],h)}return{lines:a,height:r,outerHeight:s,lineHeight:o}}function Ce(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;for(var n,o=Y_.lastIndex=0;null!=(n=Y_.exec(t));){var a=n.index;a>o&&Le(i,t.substring(o,a)),Le(i,n[2],n[1]),o=Y_.lastIndex}o<t.length&&Le(i,t.substring(o,t.length));var r=i.lines,s=0,l=0,u=[],h=e.textPadding,c=e.truncate,d=c&&c.outerWidth,f=c&&c.outerHeight;h&&(null!=d&&(d-=h[1]+h[3]),null!=f&&(f-=h[0]+h[2]));for(L=0;L<r.length;L++){for(var p=r[L],g=0,m=0,v=0;v<p.tokens.length;v++){var y=(k=p.tokens[v]).styleName&&e.rich[k.styleName]||{},x=k.textPadding=y.textPadding,_=k.font=y.font||e.font,w=k.textHeight=T(y.textHeight,De(_));if(x&&(w+=x[0]+x[2]),k.height=w,k.lineHeight=A(y.textLineHeight,e.textLineHeight,w),k.textAlign=y&&y.textAlign||e.textAlign,k.textVerticalAlign=y&&y.textVerticalAlign||"middle",null!=f&&s+k.lineHeight>f)return{lines:[],width:0,height:0};k.textWidth=ge(k.text,_);var b=y.textWidth,S=null==b||"auto"===b;if("string"==typeof b&&"%"===b.charAt(b.length-1))k.percentWidth=b,u.push(k),b=0;else{if(S){b=k.textWidth;var M=y.textBackgroundColor,I=M&&M.image;I&&pe(I=ce(I))&&(b=Math.max(b,I.width*w/I.height))}var D=x?x[1]+x[3]:0;b+=D;var C=null!=d?d-m:null;null!=C&&C<b&&(!S||C<D?(k.text="",k.textWidth=b=0):(k.text=be(k.text,C-D,_,c.ellipsis,{minChar:c.minChar}),k.textWidth=ge(k.text,_),b=k.textWidth+D))}m+=k.width=b,y&&(g=Math.max(g,k.lineHeight))}p.width=m,p.lineHeight=g,s+=g,l=Math.max(l,m)}i.outerWidth=i.width=T(e.textWidth,l),i.outerHeight=i.height=T(e.textHeight,s),h&&(i.outerWidth+=h[1]+h[3],i.outerHeight+=h[0]+h[2]);for(var L=0;L<u.length;L++){var k=u[L],P=k.percentWidth;k.width=parseInt(P,10)/100*l}return i}function Le(t,e,i){for(var n=""===e,o=e.split("\n"),a=t.lines,r=0;r<o.length;r++){var s=o[r],l={styleName:i,text:s,isLineHolder:!s&&!n};if(r)a.push({tokens:[l]});else{var u=(a[a.length-1]||(a[0]={tokens:[]})).tokens,h=u.length;1===h&&u[0].isLineHolder?u[0]=l:(s||!h||n)&&u.push(l)}}}function ke(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&P(e)||t.textFont||t.font}function Pe(t,e){var i,n,o,a,r=e.x,s=e.y,l=e.width,u=e.height,h=e.r;l<0&&(r+=l,l=-l),u<0&&(s+=u,u=-u),"number"==typeof h?i=n=o=a=h:h instanceof Array?1===h.length?i=n=o=a=h[0]:2===h.length?(i=o=h[0],n=a=h[1]):3===h.length?(i=h[0],n=a=h[1],o=h[2]):(i=h[0],n=h[1],o=h[2],a=h[3]):i=n=o=a=0;var c;i+n>l&&(i*=l/(c=i+n),n*=l/c),o+a>l&&(o*=l/(c=o+a),a*=l/c),n+o>u&&(n*=u/(c=n+o),o*=u/c),i+a>u&&(i*=u/(c=i+a),a*=u/c),t.moveTo(r+i,s),t.lineTo(r+l-n,s),0!==n&&t.arc(r+l-n,s+n,n,-Math.PI/2,0),t.lineTo(r+l,s+u-o),0!==o&&t.arc(r+l-o,s+u-o,o,0,Math.PI/2),t.lineTo(r+a,s+u),0!==a&&t.arc(r+a,s+u-a,a,Math.PI/2,Math.PI),t.lineTo(r,s+i),0!==i&&t.arc(r+i,s+i,i,Math.PI,1.5*Math.PI)}function Ne(t){return Oe(t),d(t.rich,Oe),t}function Oe(t){if(t){t.font=ke(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||$_[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||J_[i]?i:"top",t.textPadding&&(t.textPadding=L(t.textPadding))}}function Ee(t,e,i,n,o){n.rich?ze(t,e,i,n,o):Re(t,e,i,n,o)}function Re(t,e,i,n,o){var a=Ue(e,"font",n.font||q_),r=n.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=Ae(i,a,r,n.truncate));var l=s.outerHeight,u=s.lines,h=s.lineHeight,c=Ze(l,n,o),d=c.baseX,f=c.baseY,p=c.textAlign,g=c.textVerticalAlign;Ve(e,n,o,d,f);var m=_e(f,l,g),v=d,y=m,x=Fe(n);if(x||r){var _=ge(i,a);r&&(_+=r[1]+r[3]);var w=xe(d,_,p);x&&We(t,e,n,w,m,_,l),r&&(v=qe(d,p,r),y+=r[0])}Ue(e,"textAlign",p||"left"),Ue(e,"textBaseline","middle"),Ue(e,"shadowBlur",n.textShadowBlur||0),Ue(e,"shadowColor",n.textShadowColor||"transparent"),Ue(e,"shadowOffsetX",n.textShadowOffsetX||0),Ue(e,"shadowOffsetY",n.textShadowOffsetY||0),y+=h/2;var b=n.textStrokeWidth,S=je(n.textStroke,b),M=Xe(n.textFill);S&&(Ue(e,"lineWidth",b),Ue(e,"strokeStyle",S)),M&&Ue(e,"fillStyle",M);for(var I=0;I<u.length;I++)S&&e.strokeText(u[I],v,y),M&&e.fillText(u[I],v,y),y+=h}function ze(t,e,i,n,o){var a=t.__textCotentBlock;a&&!t.__dirty||(a=t.__textCotentBlock=Ce(i,n)),Be(t,e,a,n,o)}function Be(t,e,i,n,o){var a=i.width,r=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=Ze(s,n,o),h=u.baseX,c=u.baseY,d=u.textAlign,f=u.textVerticalAlign;Ve(e,n,o,h,c);var p=xe(h,r,d),g=_e(c,s,f),m=p,v=g;l&&(m+=l[3],v+=l[0]);var y=m+a;Fe(n)&&We(t,e,n,p,g,r,s);for(var x=0;x<i.lines.length;x++){for(var _,w=i.lines[x],b=w.tokens,S=b.length,M=w.lineHeight,I=w.width,D=0,T=m,A=y,C=S-1;D<S&&(!(_=b[D]).textAlign||"left"===_.textAlign);)Ge(t,e,_,n,M,v,T,"left"),I-=_.width,T+=_.width,D++;for(;C>=0&&"right"===(_=b[C]).textAlign;)Ge(t,e,_,n,M,v,A,"right"),I-=_.width,A-=_.width,C--;for(T+=(a-(T-m)-(y-A)-I)/2;D<=C;)Ge(t,e,_=b[D],n,M,v,T+_.width/2,"center"),T+=_.width,D++;v+=M}}function Ve(t,e,i,n,o){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,o=i.height/2+i.y):a&&(n=a[0]+i.x,o=a[1]+i.y),t.translate(n,o),t.rotate(-e.textRotation),t.translate(-n,-o)}}function Ge(t,e,i,n,o,a,r,s){var l=n.rich[i.styleName]||{},u=i.textVerticalAlign,h=a+o/2;"top"===u?h=a+i.height/2:"bottom"===u&&(h=a+o-i.height/2),!i.isLineHolder&&Fe(l)&&We(t,e,l,"right"===s?r-i.width:"center"===s?r-i.width/2:r,h-i.height/2,i.width,i.height);var c=i.textPadding;c&&(r=qe(r,s,c),h-=i.height/2-c[2]-i.textHeight/2),Ue(e,"shadowBlur",A(l.textShadowBlur,n.textShadowBlur,0)),Ue(e,"shadowColor",l.textShadowColor||n.textShadowColor||"transparent"),Ue(e,"shadowOffsetX",A(l.textShadowOffsetX,n.textShadowOffsetX,0)),Ue(e,"shadowOffsetY",A(l.textShadowOffsetY,n.textShadowOffsetY,0)),Ue(e,"textAlign",s),Ue(e,"textBaseline","middle"),Ue(e,"font",i.font||q_);var d=je(l.textStroke||n.textStroke,p),f=Xe(l.textFill||n.textFill),p=T(l.textStrokeWidth,n.textStrokeWidth);d&&(Ue(e,"lineWidth",p),Ue(e,"strokeStyle",d),e.strokeText(i.text,r,h)),f&&(Ue(e,"fillStyle",f),e.fillText(i.text,r,h))}function Fe(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function We(t,e,i,n,o,a,r){var s=i.textBackgroundColor,l=i.textBorderWidth,u=i.textBorderColor,h=_(s);if(Ue(e,"shadowBlur",i.textBoxShadowBlur||0),Ue(e,"shadowColor",i.textBoxShadowColor||"transparent"),Ue(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),Ue(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),h||l&&u){e.beginPath();var c=i.textBorderRadius;c?Pe(e,{x:n,y:o,width:a,height:r,r:c}):e.rect(n,o,a,r),e.closePath()}if(h)Ue(e,"fillStyle",s),e.fill();else if(w(s)){var d=s.image;(d=de(d,null,t,He,s))&&pe(d)&&e.drawImage(d,n,o,a,r)}l&&u&&(Ue(e,"lineWidth",l),Ue(e,"strokeStyle",u),e.stroke())}function He(t,e){e.image=t}function Ze(t,e,i){var n=e.x||0,o=e.y||0,a=e.textAlign,r=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+Ye(s[0],i.width),o=i.y+Ye(s[1],i.height);else{var l=we(s,i,e.textDistance);n=l.x,o=l.y,a=a||l.textAlign,r=r||l.textVerticalAlign}var u=e.textOffset;u&&(n+=u[0],o+=u[1])}return{baseX:n,baseY:o,textAlign:a,textVerticalAlign:r}}function Ue(t,e,i){return t[e]=E_(t,e,i),t[e]}function je(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Xe(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Ye(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function qe(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function Ke(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}function $e(t){t=t||{},D_.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new z_(t.style,this),this._rect=null,this.__clipPaths=[]}function Je(t){$e.call(this,t)}function Qe(t){return parseInt(t,10)}function ti(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}function ei(t,e,i){return ew.copy(t.getBoundingRect()),t.transform&&ew.applyTransform(t.transform),iw.width=e,iw.height=i,!ew.intersect(iw)}function ii(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0}function ni(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e),e.beginPath(),n.buildPath(e,n.shape),e.clip(),n.restoreTransform(e)}}function oi(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}function ai(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function ri(t,e,i,n){return i=i||{},n||!Ax.canvasSupported?si(t,e,i):Ax.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):si(t,e,i),i}function si(t,e,i){var n=ai(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}function li(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var o="touchend"!=n?e.targetTouches[0]:e.changedTouches[0];o&&ri(t,o,e,i)}else ri(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&aw.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ui(t,e,i){ow?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function hi(t,e,i){ow?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}function ci(t){return t.which>1}function di(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function fi(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}function pi(t){return"mousewheel"===t&&Ax.browser.firefox?"DOMMouseScroll":t}function gi(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var o=n.recognize(e,t.handler.findHover(e.zrX,e.zrY,null).target,t.dom);if("end"===i&&n.clear(),o){var a=o.type;e.gestureEvent=a,t.handler.dispatchToElement({target:o.target},a,o.event)}}function mi(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}function vi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function yi(t){function e(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}d(cw,function(e){t._handlers[e]=m(pw[e],t)}),d(fw,function(e){t._handlers[e]=m(pw[e],t)}),d(hw,function(i){t._handlers[i]=e(pw[i],t)})}function xi(t){function e(e,i){d(e,function(e){ui(t,pi(e),i._handlers[e])},i)}Kx.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._gestureMgr=new lw,this._handlers={},yi(this),Ax.pointerEventsSupported?e(fw,this):(Ax.touchEventsSupported&&e(cw,this),e(hw,this))}function _i(t,e){var i=new xw(Dx(),t,e);return yw[i.id]=i,i}function wi(t,e){vw[t]=e}function bi(t){delete yw[t]}function Si(t){return t instanceof Array?t:null==t?[]:[t]}function Mi(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,o=i.length;n<o;n++){var a=i[n];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}function Ii(t){return!bw(t)||Sw(t)||t instanceof Date?t:t.value}function Di(t){return bw(t)&&!(t instanceof Array)}function Ti(t,e){e=(e||[]).slice();var i=f(t||[],function(t,e){return{exist:t}});return ww(e,function(t,n){if(bw(t)){for(o=0;o<i.length;o++)if(!i[o].option&&null!=t.id&&i[o].exist.id===t.id+"")return i[o].option=t,void(e[n]=null);for(var o=0;o<i.length;o++){var a=i[o].exist;if(!(i[o].option||null!=a.id&&null!=t.id||null==t.name||Li(t)||Li(a)||a.name!==t.name+""))return i[o].option=t,void(e[n]=null)}}}),ww(e,function(t,e){if(bw(t)){for(var n=0;n<i.length;n++){var o=i[n].exist;if(!i[n].option&&!Li(o)&&null==t.id){i[n].option=t;break}}n>=i.length&&i.push({option:t})}}),i}function Ai(t){var e=R();ww(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),ww(t,function(t,i){var n=t.option;k(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})}),ww(t,function(t,i){var n=t.exist,o=t.option,a=t.keyInfo;if(bw(o)){if(a.name=null!=o.name?o.name+"":n?n.name:Mw+i,n)a.id=n.id;else if(null!=o.id)a.id=o.id+"";else{var r=0;do{a.id="\0"+a.name+"\0"+r++}while(e.get(a.id))}e.set(a.id,t)}})}function Ci(t){var e=t.name;return!(!e||!e.indexOf(Mw))}function Li(t){return bw(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function ki(t,e){function i(t,e,i){for(var n=0,o=t.length;n<o;n++)for(var a=t[n].seriesId,r=Si(t[n].dataIndex),s=i&&i[a],l=0,u=r.length;l<u;l++){var h=r[l];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function n(t,e){var i=[];for(var o in t)if(t.hasOwnProperty(o)&&null!=t[o])if(e)i.push(+o);else{var a=n(t[o],!0);a.length&&i.push({seriesId:o,dataIndex:a})}return i}var o={},a={};return i(t||[],o),i(e||[],a,o),[n(o),n(a)]}function Pi(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?y(e.dataIndex)?f(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?y(e.name)?f(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function Ni(){var t="__\0ec_inner_"+Dw+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}function Oi(t,e,i){if(_(e)){var n={};n[e+"Index"]=0,e=n}var o=i&&i.defaultMainType;!o||Ei(e,o+"Index")||Ei(e,o+"Id")||Ei(e,o+"Name")||(e[o+"Index"]=0);var a={};return ww(e,function(n,o){var n=e[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var r=o.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],u=(r[2]||"").toLowerCase();if(!(!s||!u||null==n||"index"===u&&"none"===n||i&&i.includeMainTypes&&l(i.includeMainTypes,s)<0)){var h={mainType:s};"index"===u&&"all"===n||(h[u]=n);var c=t.queryComponents(h);a[s+"Models"]=c,a[s+"Model"]=c[0]}}else a[o]=n}),a}function Ei(t,e){return t&&t.hasOwnProperty(e)}function Ri(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function zi(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function Bi(t){var e={main:"",sub:""};return t&&(t=t.split(Tw),e.main=t[0]||"",e.sub=t[1]||""),e}function Vi(t){k(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function Gi(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a(i.prototype,t),i.extend=this.extend,i.superCall=Wi,i.superApply=Hi,u(i,this),i.superClass=e,i}}function Fi(t){var e=["__\0is_clz",Cw++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Wi(t,e){var i=C(arguments,2);return this.superClass.prototype[e].apply(t,i)}function Hi(t,e,i){return this.superClass.prototype[e].apply(t,i)}function Zi(t,e){function i(t){var e=n[t.main];return e&&e[Aw]||((e=n[t.main]={})[Aw]=!0),e}e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(Vi(e),(e=Bi(e)).sub?e.sub!==Aw&&(i(e)[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,i){var o=n[t];if(o&&o[Aw]&&(o=e?o[e]:null),i&&!o)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return o},t.getClassesByMainType=function(t){t=Bi(t);var e=[],i=n[t.main];return i&&i[Aw]?d(i,function(t,i){i!==Aw&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=Bi(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return d(n,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=Bi(t);var e=n[t.main];return e&&e[Aw]},t.parseClassType=Bi,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var i=o.call(this,e);return t.registerClass(i,e.type)})}return t}function Ui(t){return t>-zw&&t<zw}function ji(t){return t>zw||t<-zw}function Xi(t,e,i,n,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*n+3*a*i)}function Yi(t,e,i,n,o){var a=1-o;return 3*(((e-t)*a+2*(i-e)*o)*a+(n-i)*o*o)}function qi(t,e,i,n,o,a){var r=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-o,h=s*s-3*r*l,c=s*l-9*r*u,d=l*l-3*s*u,f=0;if(Ui(h)&&Ui(c))Ui(s)?a[0]=0:(M=-l/s)>=0&&M<=1&&(a[f++]=M);else{var p=c*c-4*h*d;if(Ui(p)){var g=c/h,m=-g/2;(M=-s/r+g)>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m)}else if(p>0){var v=Rw(p),y=h*s+1.5*r*(-c+v),x=h*s+1.5*r*(-c-v);(M=(-s-((y=y<0?-Ew(-y,Gw):Ew(y,Gw))+(x=x<0?-Ew(-x,Gw):Ew(x,Gw))))/(3*r))>=0&&M<=1&&(a[f++]=M)}else{var _=(2*h*s-3*r*c)/(2*Rw(h*h*h)),w=Math.acos(_)/3,b=Rw(h),S=Math.cos(w),M=(-s-2*b*S)/(3*r),m=(-s+b*(S+Vw*Math.sin(w)))/(3*r),I=(-s+b*(S-Vw*Math.sin(w)))/(3*r);M>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m),I>=0&&I<=1&&(a[f++]=I)}}return f}function Ki(t,e,i,n,o){var a=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,s=3*e-3*t,l=0;if(Ui(r))ji(a)&&(c=-s/a)>=0&&c<=1&&(o[l++]=c);else{var u=a*a-4*r*s;if(Ui(u))o[0]=-a/(2*r);else if(u>0){var h=Rw(u),c=(-a+h)/(2*r),d=(-a-h)/(2*r);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function $i(t,e,i,n,o,a){var r=(e-t)*o+t,s=(i-e)*o+e,l=(n-i)*o+i,u=(s-r)*o+r,h=(l-s)*o+s,c=(h-u)*o+u;a[0]=t,a[1]=r,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n}function Ji(t,e,i,n,o,a,r,s,l,u,h){var c,d,f,p,g,m=.005,v=1/0;Fw[0]=l,Fw[1]=u;for(var y=0;y<1;y+=.05)Ww[0]=Xi(t,i,o,r,y),Ww[1]=Xi(e,n,a,s,y),(p=Xx(Fw,Ww))<v&&(c=y,v=p);v=1/0;for(var x=0;x<32&&!(m<Bw);x++)d=c-m,f=c+m,Ww[0]=Xi(t,i,o,r,d),Ww[1]=Xi(e,n,a,s,d),p=Xx(Ww,Fw),d>=0&&p<v?(c=d,v=p):(Hw[0]=Xi(t,i,o,r,f),Hw[1]=Xi(e,n,a,s,f),g=Xx(Hw,Fw),f<=1&&g<v?(c=f,v=g):m*=.5);return h&&(h[0]=Xi(t,i,o,r,c),h[1]=Xi(e,n,a,s,c)),Rw(v)}function Qi(t,e,i,n){var o=1-n;return o*(o*t+2*n*e)+n*n*i}function tn(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function en(t,e,i,n,o){var a=t-2*e+i,r=2*(e-t),s=t-n,l=0;if(Ui(a))ji(r)&&(c=-s/r)>=0&&c<=1&&(o[l++]=c);else{var u=r*r-4*a*s;if(Ui(u))(c=-r/(2*a))>=0&&c<=1&&(o[l++]=c);else if(u>0){var h=Rw(u),c=(-r+h)/(2*a),d=(-r-h)/(2*a);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function nn(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function on(t,e,i,n,o){var a=(e-t)*n+t,r=(i-e)*n+e,s=(r-a)*n+a;o[0]=t,o[1]=a,o[2]=s,o[3]=s,o[4]=r,o[5]=i}function an(t,e,i,n,o,a,r,s,l){var u,h=.005,c=1/0;Fw[0]=r,Fw[1]=s;for(var d=0;d<1;d+=.05)Ww[0]=Qi(t,i,o,d),Ww[1]=Qi(e,n,a,d),(m=Xx(Fw,Ww))<c&&(u=d,c=m);c=1/0;for(var f=0;f<32&&!(h<Bw);f++){var p=u-h,g=u+h;Ww[0]=Qi(t,i,o,p),Ww[1]=Qi(e,n,a,p);var m=Xx(Ww,Fw);if(p>=0&&m<c)u=p,c=m;else{Hw[0]=Qi(t,i,o,g),Hw[1]=Qi(e,n,a,g);var v=Xx(Hw,Fw);g<=1&&v<c?(u=g,c=v):h*=.5}}return l&&(l[0]=Qi(t,i,o,u),l[1]=Qi(e,n,a,u)),Rw(c)}function rn(t,e,i){if(0!==t.length){var n,o=t[0],a=o[0],r=o[0],s=o[1],l=o[1];for(n=1;n<t.length;n++)o=t[n],a=Zw(a,o[0]),r=Uw(r,o[0]),s=Zw(s,o[1]),l=Uw(l,o[1]);e[0]=a,e[1]=s,i[0]=r,i[1]=l}}function sn(t,e,i,n,o,a){o[0]=Zw(t,i),o[1]=Zw(e,n),a[0]=Uw(t,i),a[1]=Uw(e,n)}function ln(t,e,i,n,o,a,r,s,l,u){var h,c=Ki,d=Xi,f=c(t,i,o,r,Jw);for(l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0,h=0;h<f;h++){var p=d(t,i,o,r,Jw[h]);l[0]=Zw(p,l[0]),u[0]=Uw(p,u[0])}for(f=c(e,n,a,s,Qw),h=0;h<f;h++){var g=d(e,n,a,s,Qw[h]);l[1]=Zw(g,l[1]),u[1]=Uw(g,u[1])}l[0]=Zw(t,l[0]),u[0]=Uw(t,u[0]),l[0]=Zw(r,l[0]),u[0]=Uw(r,u[0]),l[1]=Zw(e,l[1]),u[1]=Uw(e,u[1]),l[1]=Zw(s,l[1]),u[1]=Uw(s,u[1])}function un(t,e,i,n,o,a,r,s){var l=nn,u=Qi,h=Uw(Zw(l(t,i,o),1),0),c=Uw(Zw(l(e,n,a),1),0),d=u(t,i,o,h),f=u(e,n,a,c);r[0]=Zw(t,o,d),r[1]=Zw(e,a,f),s[0]=Uw(t,o,d),s[1]=Uw(e,a,f)}function hn(t,e,i,n,o,a,r,s,l){var u=tt,h=et,c=Math.abs(o-a);if(c%Yw<1e-4&&c>1e-4)return s[0]=t-i,s[1]=e-n,l[0]=t+i,void(l[1]=e+n);if(qw[0]=Xw(o)*i+t,qw[1]=jw(o)*n+e,Kw[0]=Xw(a)*i+t,Kw[1]=jw(a)*n+e,u(s,qw,Kw),h(l,qw,Kw),(o%=Yw)<0&&(o+=Yw),(a%=Yw)<0&&(a+=Yw),o>a&&!r?a+=Yw:o<a&&r&&(o+=Yw),r){var d=a;a=o,o=d}for(var f=0;f<a;f+=Math.PI/2)f>o&&($w[0]=Xw(f)*i+t,$w[1]=jw(f)*n+e,u(s,$w,s),h(l,$w,l))}function cn(t,e,i,n,o,a,r){if(0===o)return!1;var s=o,l=0,u=t;if(r>e+s&&r>n+s||r<e-s&&r<n-s||a>t+s&&a>i+s||a<t-s&&a<i-s)return!1;if(t===i)return Math.abs(a-t)<=s/2;var h=(l=(e-n)/(t-i))*a-r+(u=(t*n-i*e)/(t-i));return h*h/(l*l+1)<=s/2*s/2}function dn(t,e,i,n,o,a,r,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e+c&&h>n+c&&h>a+c&&h>s+c||h<e-c&&h<n-c&&h<a-c&&h<s-c||u>t+c&&u>i+c&&u>o+c&&u>r+c||u<t-c&&u<i-c&&u<o-c&&u<r-c)&&Ji(t,e,i,n,o,a,r,s,u,h,null)<=c/2}function fn(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;return!(l>e+u&&l>n+u&&l>a+u||l<e-u&&l<n-u&&l<a-u||s>t+u&&s>i+u&&s>o+u||s<t-u&&s<i-u&&s<o-u)&&an(t,e,i,n,o,a,s,l,null)<=u/2}function pn(t){return(t%=fb)<0&&(t+=fb),t}function gn(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>i||h+u<i)return!1;if(Math.abs(n-o)%pb<1e-4)return!0;if(a){var c=n;n=pn(o),o=pn(c)}else n=pn(n),o=pn(o);n>o&&(o+=pb);var d=Math.atan2(l,s);return d<0&&(d+=pb),d>=n&&d<=o||d+pb>=n&&d+pb<=o}function mn(t,e,i,n,o,a){if(a>e&&a>n||a<e&&a<n)return 0;if(n===e)return 0;var r=n<e?1:-1,s=(a-e)/(n-e);return 1!==s&&0!==s||(r=n<e?.5:-.5),s*(i-t)+t>o?r:0}function vn(t,e){return Math.abs(t-e)<vb}function yn(){var t=xb[0];xb[0]=xb[1],xb[1]=t}function xn(t,e,i,n,o,a,r,s,l,u){if(u>e&&u>n&&u>a&&u>s||u<e&&u<n&&u<a&&u<s)return 0;var h=qi(e,n,a,s,u,yb);if(0===h)return 0;for(var c,d,f=0,p=-1,g=0;g<h;g++){var m=yb[g],v=0===m||1===m?.5:1;Xi(t,i,o,r,m)<l||(p<0&&(p=Ki(e,n,a,s,xb),xb[1]<xb[0]&&p>1&&yn(),c=Xi(e,n,a,s,xb[0]),p>1&&(d=Xi(e,n,a,s,xb[1]))),2==p?m<xb[0]?f+=c<e?v:-v:m<xb[1]?f+=d<c?v:-v:f+=s<d?v:-v:m<xb[0]?f+=c<e?v:-v:f+=s<c?v:-v)}return f}function _n(t,e,i,n,o,a,r,s){if(s>e&&s>n&&s>a||s<e&&s<n&&s<a)return 0;var l=en(e,n,a,s,yb);if(0===l)return 0;var u=nn(e,n,a);if(u>=0&&u<=1){for(var h=0,c=Qi(e,n,a,u),d=0;d<l;d++){f=0===yb[d]||1===yb[d]?.5:1;(p=Qi(t,i,o,yb[d]))<r||(yb[d]<u?h+=c<e?f:-f:h+=a<c?f:-f)}return h}var f=0===yb[0]||1===yb[0]?.5:1,p=Qi(t,i,o,yb[0]);return p<r?0:a<e?f:-f}function wn(t,e,i,n,o,a,r,s){if((s-=e)>i||s<-i)return 0;u=Math.sqrt(i*i-s*s);yb[0]=-u,yb[1]=u;var l=Math.abs(n-o);if(l<1e-4)return 0;if(l%mb<1e-4){n=0,o=mb;p=a?1:-1;return r>=yb[0]+t&&r<=yb[1]+t?p:0}if(a){var u=n;n=pn(o),o=pn(u)}else n=pn(n),o=pn(o);n>o&&(o+=mb);for(var h=0,c=0;c<2;c++){var d=yb[c];if(d+t>r){var f=Math.atan2(s,d),p=a?1:-1;f<0&&(f=mb+f),(f>=n&&f<=o||f+mb>=n&&f+mb<=o)&&(f>Math.PI/2&&f<1.5*Math.PI&&(p=-p),h+=p)}}return h}function bn(t,e,i,n,o){for(var a=0,r=0,s=0,l=0,u=0,h=0;h<t.length;){var c=t[h++];switch(c===gb.M&&h>1&&(i||(a+=mn(r,s,l,u,n,o))),1==h&&(l=r=t[h],u=s=t[h+1]),c){case gb.M:r=l=t[h++],s=u=t[h++];break;case gb.L:if(i){if(cn(r,s,t[h],t[h+1],e,n,o))return!0}else a+=mn(r,s,t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case gb.C:if(i){if(dn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=xn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case gb.Q:if(i){if(fn(r,s,t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=_n(r,s,t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case gb.A:var d=t[h++],f=t[h++],p=t[h++],g=t[h++],m=t[h++],v=t[h++],y=(t[h++],1-t[h++]),x=Math.cos(m)*p+d,_=Math.sin(m)*g+f;h>1?a+=mn(r,s,x,_,n,o):(l=x,u=_);var w=(n-d)*g/p+d;if(i){if(gn(d,f,g,m,m+v,y,e,w,o))return!0}else a+=wn(d,f,g,m,m+v,y,w,o);r=Math.cos(m+v)*p+d,s=Math.sin(m+v)*g+f;break;case gb.R:l=r=t[h++],u=s=t[h++];var x=l+t[h++],_=u+t[h++];if(i){if(cn(l,u,x,u,e,n,o)||cn(x,u,x,_,e,n,o)||cn(x,_,l,_,e,n,o)||cn(l,_,l,u,e,n,o))return!0}else a+=mn(x,u,x,_,n,o),a+=mn(l,_,l,u,n,o);break;case gb.Z:if(i){if(cn(r,s,l,u,e,n,o))return!0}else a+=mn(r,s,l,u,n,o);r=l,s=u}}return i||vn(s,u)||(a+=mn(r,s,l,u,n,o)||0),0!==a}function Sn(t,e,i){return bn(t,0,!1,e,i)}function Mn(t,e,i,n){return bn(t,e,!0,i,n)}function In(t){$e.call(this,t),this.path=null}function Dn(t,e,i,n,o,a,r,s,l,u,h){var c=l*(Pb/180),d=kb(c)*(t-i)/2+Lb(c)*(e-n)/2,f=-1*Lb(c)*(t-i)/2+kb(c)*(e-n)/2,p=d*d/(r*r)+f*f/(s*s);p>1&&(r*=Cb(p),s*=Cb(p));var g=(o===a?-1:1)*Cb((r*r*(s*s)-r*r*(f*f)-s*s*(d*d))/(r*r*(f*f)+s*s*(d*d)))||0,m=g*r*f/s,v=g*-s*d/r,y=(t+i)/2+kb(c)*m-Lb(c)*v,x=(e+n)/2+Lb(c)*m+kb(c)*v,_=Eb([1,0],[(d-m)/r,(f-v)/s]),w=[(d-m)/r,(f-v)/s],b=[(-1*d-m)/r,(-1*f-v)/s],S=Eb(w,b);Ob(w,b)<=-1&&(S=Pb),Ob(w,b)>=1&&(S=0),0===a&&S>0&&(S-=2*Pb),1===a&&S<0&&(S+=2*Pb),h.addData(u,y,x,r,s,_,S,c,a)}function Tn(t){if(!t)return[];var e,i=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e<Ab.length;e++)i=i.replace(new RegExp(Ab[e],"g"),"|"+Ab[e]);var n,o=i.split("|"),a=0,r=0,s=new db,l=db.CMD;for(e=1;e<o.length;e++){var u,h=o[e],c=h.charAt(0),d=0,f=h.slice(1).replace(/e,-/g,"e-").split(",");f.length>0&&""===f[0]&&f.shift();for(var p=0;p<f.length;p++)f[p]=parseFloat(f[p]);for(;d<f.length&&!isNaN(f[d])&&!isNaN(f[0]);){var g,m,v,y,x,_,w,b=a,S=r;switch(c){case"l":a+=f[d++],r+=f[d++],u=l.L,s.addData(u,a,r);break;case"L":a=f[d++],r=f[d++],u=l.L,s.addData(u,a,r);break;case"m":a+=f[d++],r+=f[d++],u=l.M,s.addData(u,a,r),c="l";break;case"M":a=f[d++],r=f[d++],u=l.M,s.addData(u,a,r),c="L";break;case"h":a+=f[d++],u=l.L,s.addData(u,a,r);break;case"H":a=f[d++],u=l.L,s.addData(u,a,r);break;case"v":r+=f[d++],u=l.L,s.addData(u,a,r);break;case"V":r=f[d++],u=l.L,s.addData(u,a,r);break;case"C":u=l.C,s.addData(u,f[d++],f[d++],f[d++],f[d++],f[d++],f[d++]),a=f[d-2],r=f[d-1];break;case"c":u=l.C,s.addData(u,f[d++]+a,f[d++]+r,f[d++]+a,f[d++]+r,f[d++]+a,f[d++]+r),a+=f[d-2],r+=f[d-1];break;case"S":g=a,m=r;var M=s.len(),I=s.data;n===l.C&&(g+=a-I[M-4],m+=r-I[M-3]),u=l.C,b=f[d++],S=f[d++],a=f[d++],r=f[d++],s.addData(u,g,m,b,S,a,r);break;case"s":g=a,m=r;var M=s.len(),I=s.data;n===l.C&&(g+=a-I[M-4],m+=r-I[M-3]),u=l.C,b=a+f[d++],S=r+f[d++],a+=f[d++],r+=f[d++],s.addData(u,g,m,b,S,a,r);break;case"Q":b=f[d++],S=f[d++],a=f[d++],r=f[d++],u=l.Q,s.addData(u,b,S,a,r);break;case"q":b=f[d++]+a,S=f[d++]+r,a+=f[d++],r+=f[d++],u=l.Q,s.addData(u,b,S,a,r);break;case"T":g=a,m=r;var M=s.len(),I=s.data;n===l.Q&&(g+=a-I[M-4],m+=r-I[M-3]),a=f[d++],r=f[d++],u=l.Q,s.addData(u,g,m,a,r);break;case"t":g=a,m=r;var M=s.len(),I=s.data;n===l.Q&&(g+=a-I[M-4],m+=r-I[M-3]),a+=f[d++],r+=f[d++],u=l.Q,s.addData(u,g,m,a,r);break;case"A":v=f[d++],y=f[d++],x=f[d++],_=f[d++],w=f[d++],Dn(b=a,S=r,a=f[d++],r=f[d++],_,w,v,y,x,u=l.A,s);break;case"a":v=f[d++],y=f[d++],x=f[d++],_=f[d++],w=f[d++],Dn(b=a,S=r,a+=f[d++],r+=f[d++],_,w,v,y,x,u=l.A,s)}}"z"!==c&&"Z"!==c||(u=l.Z,s.addData(u)),n=u}return s.toStatic(),s}function An(t,e){var i=Tn(t);return e=e||{},e.buildPath=function(t){if(t.setData)t.setData(i.data),(e=t.getContext())&&t.rebuildPath(e);else{var e=t;i.rebuildPath(e)}},e.applyTransform=function(t){Tb(i,t),this.dirty(!0)},e}function Cn(t,e){return new In(An(t,e))}function Ln(t,e){return In.extend(An(t,e))}function kn(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*r+(-3*(e-i)-2*s-l)*a+s*o+e}function Pn(t,e,i){var n=e.points,o=e.smooth;if(n&&n.length>=2){if(o&&"spline"!==o){var a=Hb(n,o,i,e.smoothConstraint);t.moveTo(n[0][0],n[0][1]);for(var r=n.length,s=0;s<(i?r:r-1);s++){var l=a[2*s],u=a[2*s+1],h=n[(s+1)%r];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===o&&(n=Wb(n,i)),t.moveTo(n[0][0],n[0][1]);for(var s=1,c=n.length;s<c;s++)t.lineTo(n[s][0],n[s][1])}i&&t.closePath()}}function Nn(t,e,i){var n=t.cpx2,o=t.cpy2;return null===n||null===o?[(i?Yi:Xi)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?Yi:Xi)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?tn:Qi)(t.x1,t.cpx1,t.x2,e),(i?tn:Qi)(t.y1,t.cpy1,t.y2,e)]}function On(t){$e.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}function En(t){return In.extend(t)}function Rn(t,e,i,n){var o=Cn(t,e),a=o.getBoundingRect();return i&&("center"===n&&(i=Bn(i,a)),Vn(o,i)),o}function zn(t,e,i){var n=new Je({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var o={width:t.width,height:t.height};n.setStyle(Bn(e,o))}}});return n}function Bn(t,e){var i,n=e.width/e.height,o=t.height*n;return i=o<=t.width?t.height:(o=t.width)/n,{x:t.x+t.width/2-o/2,y:t.y+t.height/2-i/2,width:o,height:i}}function Vn(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculateTransform(e);t.applyTransform(i)}}function Gn(t){var e=t.shape,i=t.style.lineWidth;return iS(2*e.x1)===iS(2*e.x2)&&(e.x1=e.x2=Wn(e.x1,i,!0)),iS(2*e.y1)===iS(2*e.y2)&&(e.y1=e.y2=Wn(e.y1,i,!0)),t}function Fn(t){var e=t.shape,i=t.style.lineWidth,n=e.x,o=e.y,a=e.width,r=e.height;return e.x=Wn(e.x,i,!0),e.y=Wn(e.y,i,!0),e.width=Math.max(Wn(n+a,i,!1)-e.x,0===a?0:1),e.height=Math.max(Wn(o+r,i,!1)-e.y,0===r?0:1),t}function Wn(t,e,i){var n=iS(2*t);return(n+iS(e))%2==0?n/2:(n+(i?1:-1))/2}function Hn(t){return null!=t&&"none"!=t}function Zn(t){return"string"==typeof t?kt(t,-.1):t}function Un(t){if(t.__hoverStlDirty){var e=t.style.stroke,i=t.style.fill,n=t.__hoverStl;n.fill=n.fill||(Hn(i)?Zn(i):null),n.stroke=n.stroke||(Hn(e)?Zn(e):null);var o={};for(var a in n)null!=n[a]&&(o[a]=t.style[a]);t.__normalStl=o,t.__hoverStlDirty=!1}}function jn(t){if(!t.__isHover){if(Un(t),t.useHoverLayer)t.__zr&&t.__zr.addHover(t,t.__hoverStl);else{var e=t.style,i=e.insideRollbackOpt;i&&uo(e),e.extendFrom(t.__hoverStl),i&&(lo(e,e.insideOriginalTextPosition,i),null==e.textFill&&(e.textFill=i.autoColor)),t.dirty(!1),t.z2+=1}t.__isHover=!0}}function Xn(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function Yn(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&jn(t)}):jn(t)}function qn(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&Xn(t)}):Xn(t)}function Kn(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&Un(t)}function $n(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&Yn(this)}function Jn(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&qn(this)}function Qn(){this.__isEmphasis=!0,Yn(this)}function to(){this.__isEmphasis=!1,qn(this)}function eo(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&Kn(t,e)}):Kn(t,e),t.on("mouseover",$n).on("mouseout",Jn),t.on("emphasis",Qn).on("normal",to)}function io(t,e,i,n,o,a,r){var s,l=(o=o||aS).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,c=i.getShallow("show"),d=n.getShallow("show");(c||d)&&(l&&(s=l.getFormattedLabel(u,"normal",null,h)),null==s&&(s=x(o.defaultText)?o.defaultText(u,o):o.defaultText));var f=c?s:null,p=d?T(l?l.getFormattedLabel(u,"emphasis",null,h):null,s):null;null==f&&null==p||(no(t,i,a,o),no(e,n,r,o,!0)),t.text=f,e.text=p}function no(t,e,i,n,o){return oo(t,e,n,o),i&&a(t,i),t.host&&t.host.dirty&&t.host.dirty(!1),t}function oo(t,e,i,n){if((i=i||aS).isRectText){var o=e.getShallow("position")||(n?null:"inside");"outside"===o&&(o="top"),t.textPosition=o,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=T(e.getShallow("distance"),n?null:5)}var r,s=e.ecModel,l=s&&s.option.textStyle,u=ao(e);if(u){r={};for(var h in u)if(u.hasOwnProperty(h)){var c=e.getModel(["rich",h]);ro(r[h]={},c,l,i,n)}}return t.rich=r,ro(t,e,l,i,n,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function ao(t){for(var e;t&&t!==t.ecModel;){var i=(t.option||aS).rich;if(i){e=e||{};for(var n in i)i.hasOwnProperty(n)&&(e[n]=1)}t=t.parentModel}return e}function ro(t,e,i,n,o,a){if(i=!o&&i||aS,t.textFill=so(e.getShallow("color"),n)||i.color,t.textStroke=so(e.getShallow("textBorderColor"),n)||i.textBorderColor,t.textStrokeWidth=T(e.getShallow("textBorderWidth"),i.textBorderWidth),!o){if(a){var r=t.textPosition;t.insideRollback=lo(t,r,n),t.insideOriginalTextPosition=r,t.insideRollbackOpt=n}null==t.textFill&&(t.textFill=n.autoColor)}t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&n.disableBox||(t.textBackgroundColor=so(e.getShallow("backgroundColor"),n),t.textPadding=e.getShallow("padding"),t.textBorderColor=so(e.getShallow("borderColor"),n),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function so(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function lo(t,e,i){var n,o=i.useInsideStyle;return null==t.textFill&&!1!==o&&(!0===o||i.isRectText&&e&&"string"==typeof e&&e.indexOf("inside")>=0)&&(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=i.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),n}function uo(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth)}function ho(t,e){var i=e||e.getModel("textStyle");return P([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function co(t,e,i,n,o,a){if("function"==typeof o&&(a=o,o=null),n&&n.isAnimationEnabled()){var r=t?"Update":"",s=n.getShallow("animationDuration"+r),l=n.getShallow("animationEasing"+r),u=n.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(o,n.getAnimationDelayParams?n.getAnimationDelayParams(e,o):null)),"function"==typeof s&&(s=s(o)),s>0?e.animateTo(i,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function fo(t,e,i,n,o){co(!0,t,e,i,n,o)}function po(t,e,i,n,o){co(!1,t,e,i,n,o)}function go(t,e){for(var i=lt([]);t&&t!==e;)ht(i,t.getLocalTransform(),i),t=t.parent;return i}function mo(t,e,i){return e&&!c(e)&&(e=o_.getLocalTransform(e)),i&&(e=pt([],e)),Q([],t,e)}function vo(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),o=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-o:"bottom"===t?o:0];return a=mo(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function yo(t,e,i,n){function o(t){var e={position:F(t.position),rotation:t.rotation};return t.shape&&(e.shape=a({},t.shape)),e}if(t&&e){var r=function(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=o(t);t.attr(o(e)),fo(t,n,i,t.dataIndex)}}})}}function xo(t,e){return f(t,function(t){var i=t[0];i=nS(i,e.x),i=oS(i,e.x+e.width);var n=t[1];return n=nS(n,e.y),n=oS(n,e.y+e.height),[i,n]})}function _o(t,e,i){var n=(e=a({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(n.image=t.slice(8),r(n,i),new Je(e)):Rn(t.replace("path://",""),e,i,"center")}function wo(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function bo(t,e,i){for(var n=0;n<e.length&&(!e[n]||null!=(t=t&&"object"==typeof t?t[e[n]]:null));n++);return null==t&&i&&(t=i.get(e)),t}function So(t,e){var i=fS(t).getParent;return i?i.call(t,e):t.parentModel}function Mo(t){return[t||"",pS++,Math.random().toFixed(5)].join("_")}function Io(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}function Do(t,e,i,n){var o=e[1]-e[0],a=i[1]-i[0];if(0===o)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(o>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/o*a+i[0]}function To(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?Io(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Ao(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function Co(t){return t.sort(function(t,e){return t-e}),t}function Lo(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}function ko(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var o=e.indexOf(".");return o<0?0:e.length-1-o}function Po(t,e){var i=Math.log,n=Math.LN10,o=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),r=Math.min(Math.max(-o+a,0),20);return isFinite(r)?r:20}function No(t,e,i){if(!t[e])return 0;var n=p(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return 0;for(var o=Math.pow(10,i),a=f(t,function(t){return(isNaN(t)?0:t)/n*o*100}),r=100*o,s=f(a,function(t){return Math.floor(t)}),l=p(s,function(t,e){return t+e},0),u=f(a,function(t,e){return t-s[e]});l<r;){for(var h=Number.NEGATIVE_INFINITY,c=null,d=0,g=u.length;d<g;++d)u[d]>h&&(h=u[d],c=d);++s[c],u[c]=0,++l}return s[e]/o}function Oo(t){var e=2*Math.PI;return(t%e+e)%e}function Eo(t){return t>-gS&&t<gS}function Ro(t){if(t instanceof Date)return t;if("string"==typeof t){var e=vS.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function zo(t){return Math.pow(10,Bo(t))}function Bo(t){return Math.floor(Math.log(t)/Math.LN10)}function Vo(t,e){var i,n=Bo(t),o=Math.pow(10,n),a=t/o;return i=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=i*o,n>=-20?+t.toFixed(n<0?-n:0):t}function Go(t){function e(t,i,n){return t.interval[n]<i.interval[n]||t.interval[n]===i.interval[n]&&(t.close[n]-i.close[n]==(n?-1:1)||!n&&e(t,i,1))}t.sort(function(t,i){return e(t,i,0)?-1:1});for(var i=-1/0,n=1,o=0;o<t.length;){for(var a=t[o].interval,r=t[o].close,s=0;s<2;s++)a[s]<=i&&(a[s]=i,r[s]=s?1:1-n),i=a[s],n=r[s];a[0]===a[1]&&r[0]*r[1]!=1?t.splice(o,1):o++}return t}function Fo(t){return t-parseFloat(t)>=0}function Wo(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Ho(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function Zo(t){return null==t?"":(t+"").replace(_S,function(t,e){return wS[e]})}function Uo(t,e,i){y(e)||(e=[e]);var n=e.length;if(!n)return"";for(var o=e[0].$vars||[],a=0;a<o.length;a++){var r=bS[a];t=t.replace(SS(r),SS(r,0))}for(var s=0;s<n;s++)for(var l=0;l<o.length;l++){var u=e[s][o[l]];t=t.replace(SS(bS[l],s),i?Zo(u):u)}return t}function jo(t,e,i){return d(e,function(e,n){t=t.replace("{"+n+"}",i?Zo(e):e)}),t}function Xo(t,e){var i=(t=_(t)?{color:t,extraCssText:e}:t||{}).color,n=t.type,e=t.extraCssText;return i?"subItem"===n?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Zo(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+Zo(i)+";"+(e||"")+'"></span>':""}function Yo(t,e){return t+="","0000".substr(0,e-t.length)+t}function qo(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=Ro(e),o=i?"UTC":"",a=n["get"+o+"FullYear"](),r=n["get"+o+"Month"]()+1,s=n["get"+o+"Date"](),l=n["get"+o+"Hours"](),u=n["get"+o+"Minutes"](),h=n["get"+o+"Seconds"](),c=n["get"+o+"Milliseconds"]();return t=t.replace("MM",Yo(r,2)).replace("M",r).replace("yyyy",a).replace("yy",a%100).replace("dd",Yo(s,2)).replace("d",s).replace("hh",Yo(l,2)).replace("h",l).replace("mm",Yo(u,2)).replace("m",u).replace("ss",Yo(h,2)).replace("s",h).replace("SSS",Yo(c,3))}function Ko(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function $o(t,e,i,n,o){var a=0,r=0;null==n&&(n=1/0),null==o&&(o=1/0);var s=0;e.eachChild(function(l,u){var h,c,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(h=a+m)>n||l.newline?(a=0,h=m,r+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(c=r+v)>o||l.newline?(a+=s+i,r=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=r,"horizontal"===t?a=h+i:r=c+i)})}function Jo(t,e,i){var n=e.width,o=e.height,a=To(t.x,n),r=To(t.y,o),s=To(t.x2,n),l=To(t.y2,o);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=n),(isNaN(r)||isNaN(parseFloat(t.y)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.y2)))&&(l=o),i=xS(i||0),{width:Math.max(s-a-i[1]-i[3],0),height:Math.max(l-r-i[0]-i[2],0)}}function Qo(t,e,i){i=xS(i||0);var n=e.width,o=e.height,a=To(t.left,n),r=To(t.top,o),s=To(t.right,n),l=To(t.bottom,o),u=To(t.width,n),h=To(t.height,o),c=i[2]+i[0],d=i[1]+i[3],f=t.aspect;switch(isNaN(u)&&(u=n-s-d-a),isNaN(h)&&(h=o-l-c-r),null!=f&&(isNaN(u)&&isNaN(h)&&(f>n/o?u=.8*n:h=.8*o),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(a)&&(a=n-s-u-d),isNaN(r)&&(r=o-l-h-c),t.left||t.right){case"center":a=n/2-u/2-i[3];break;case"right":a=n-u-d}switch(t.top||t.bottom){case"middle":case"center":r=o/2-h/2-i[0];break;case"bottom":r=o-h-c}a=a||0,r=r||0,isNaN(u)&&(u=n-d-a-(s||0)),isNaN(h)&&(h=o-c-r-(l||0));var p=new $t(a+i[3],r+i[0],u,h);return p.margin=i,p}function ta(t,e,i,n,o){var a=!o||!o.hv||o.hv[0],s=!o||!o.hv||o.hv[1],l=o&&o.boundingMode||"all";if(a||s){var u;if("raw"===l)u="group"===t.type?new $t(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(u=u.clone()).applyTransform(h)}e=Qo(r({width:u.width,height:u.height},e),i,n);var c=t.position,d=a?e.x-u.x:0,f=s?e.y-u.y:0;t.attr("position","raw"===l?[d,f]:[c[0]+d,c[1]+f])}}function ea(t,e){return null!=t[CS[e][0]]||null!=t[CS[e][1]]&&null!=t[CS[e][2]]}function ia(t,e,i){function n(i,n){var r={},l=0,u={},h=0;if(TS(i,function(e){u[e]=t[e]}),TS(i,function(t){o(e,t)&&(r[t]=u[t]=e[t]),a(r,t)&&l++,a(u,t)&&h++}),s[n])return a(e,i[1])?u[i[2]]=null:a(e,i[2])&&(u[i[1]]=null),u;if(2!==h&&l){if(l>=2)return r;for(var c=0;c<i.length;c++){var d=i[c];if(!o(r,d)&&o(t,d)){r[d]=t[d];break}}return r}return u}function o(t,e){return t.hasOwnProperty(e)}function a(t,e){return null!=t[e]&&"auto"!==t[e]}function r(t,e,i){TS(t,function(t){e[t]=i[t]})}!w(i)&&(i={});var s=i.ignoreSize;!y(s)&&(s=[s,s]);var l=n(CS[0],0),u=n(CS[1],1);r(CS[0],t,l),r(CS[1],t,u)}function na(t){return oa({},t)}function oa(t,e){return e&&t&&TS(AS,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}function aa(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}function ra(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:R(),categoryAxisMap:R()},n=zS[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}function sa(t){return"category"===t.get("type")}function la(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===FS?{}:[]),this.sourceFormat=t.sourceFormat||WS,this.seriesLayoutBy=t.seriesLayoutBy||ZS,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&R(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}function ua(t){var e=t.option.source,i=WS;if(S(e))i=HS;else if(y(e))for(var n=0,o=e.length;n<o;n++){var a=e[n];if(null!=a){if(y(a)){i=VS;break}if(w(a)){i=GS;break}}}else if(w(e)){for(var r in e)if(e.hasOwnProperty(r)&&c(e[r])){i=FS;break}}else if(null!=e)throw new Error("Invalid data");jS(t).sourceFormat=i}function ha(t){return jS(t).source}function ca(t){jS(t).datasetMap=R()}function da(t){var e=t.option,i=e.data,n=S(i)?HS:BS,o=!1,a=e.seriesLayoutBy,r=e.sourceHeader,s=e.dimensions,l=ya(t);if(l){var u=l.option;i=u.source,n=jS(l).sourceFormat,o=!0,a=a||u.seriesLayoutBy,null==r&&(r=u.sourceHeader),s=s||u.dimensions}var h=fa(i,n,a,r,s),c=e.encode;!c&&l&&(c=va(t,l,i,n,a,h)),jS(t).source=new la({data:i,fromDataset:o,seriesLayoutBy:a,sourceFormat:n,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectCount:h.dimensionsDetectCount,encodeDefine:c})}function fa(t,e,i,n,o){if(!t)return{dimensionsDefine:pa(o)};var a,r,s;if(e===VS)"auto"===n||null==n?ga(function(t){null!=t&&"-"!==t&&(_(t)?null==r&&(r=1):r=0)},i,t,10):r=n?1:0,o||1!==r||(o=[],ga(function(t,e){o[e]=null!=t?t:""},i,t)),a=o?o.length:i===US?t.length:t[0]?t[0].length:null;else if(e===GS)o||(o=ma(t),s=!0);else if(e===FS)o||(o=[],s=!0,d(t,function(t,e){o.push(e)}));else if(e===BS){var l=Ii(t[0]);a=y(l)&&l.length||1}var u;return s&&d(o,function(t,e){"name"===(w(t)?t.name:t)&&(u=e)}),{startIndex:r,dimensionsDefine:pa(o),dimensionsDetectCount:a,potentialNameDimIndex:u}}function pa(t){if(t){var e=R();return f(t,function(t,i){if(null==(t=a({},w(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function ga(t,e,i,n){if(null==n&&(n=1/0),e===US)for(a=0;a<i.length&&a<n;a++)t(i[a]?i[a][0]:null,a);else for(var o=i[0]||[],a=0;a<o.length&&a<n;a++)t(o[a],a)}function ma(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e){var n=[];return d(e,function(t,e){n.push(e)}),n}}function va(t,e,i,n,o,a){var r=ra(t),s={},l=[],u=[],h=t.subType,c=R(["pie","map","funnel"]),f=R(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(r&&null!=f.get(h)){var p=t.ecModel,g=jS(p).datasetMap,m=e.uid+"_"+o,v=g.get(m)||g.set(m,{categoryWayDim:1,valueWayDim:0});d(r.coordSysDims,function(t){if(null==r.firstCategoryDimIndex){e=v.valueWayDim++;s[t]=e,u.push(e)}else if(r.categoryAxisMap.get(t))s[t]=0,l.push(0);else{var e=v.categoryWayDim++;s[t]=e,u.push(e)}})}else if(null!=c.get(h)){for(var y,x=0;x<5&&null==y;x++)_a(i,n,o,a.dimensionsDefine,a.startIndex,x)||(y=x);if(null!=y){s.value=y;var _=a.potentialNameDimIndex||Math.max(y-1,0);u.push(_),l.push(_)}}return l.length&&(s.itemName=l),u.length&&(s.seriesName=u),s}function ya(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function xa(t,e){return _a(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function _a(t,e,i,n,o,a){function r(t){return(null==t||!isFinite(t)||""===t)&&(!(!_(t)||"-"===t)||void 0)}var s;if(S(t))return!1;var l;if(n&&(l=w(l=n[a])?l.name:l),e===VS)if(i===US){for(var u=t[a],h=0;h<(u||[]).length&&h<5;h++)if(null!=(s=r(u[o+h])))return s}else for(h=0;h<t.length&&h<5;h++){var c=t[o+h];if(c&&null!=(s=r(c[a])))return s}else if(e===GS){if(!l)return;for(h=0;h<t.length&&h<5;h++)if((d=t[h])&&null!=(s=r(d[l])))return s}else if(e===FS){if(!l)return;if(!(u=t[l])||S(u))return!1;for(h=0;h<u.length&&h<5;h++)if(null!=(s=r(u[h])))return s}else if(e===BS)for(h=0;h<t.length&&h<5;h++){var d=t[h],f=Ii(d);if(!y(f))return!1;if(null!=(s=r(f[a])))return s}return!1}function wa(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,o=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=o&&t.name!==o}}function ba(t,e){var o=t.color&&!t.colorLayer;d(e,function(e,a){"colorLayer"===a&&o||PS.hasClass(a)||("object"==typeof e?t[a]=t[a]?n(t[a],e,!1):i(e):null==t[a]&&(t[a]=e))})}function Sa(t){t=t,this.option={},this.option[XS]=1,this._componentsMap=R({series:[]}),this._seriesIndices,this._seriesIndicesMap,ba(t,this._theme.option),n(t,OS,!1),this.mergeOption(t)}function Ma(t,e){y(e)||(e=e?[e]:[]);var i={};return d(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}function Ia(t,e,i){return e.type?e.type:i?i.subType:PS.determineSubType(t,e)}function Da(t,e){t._seriesIndicesMap=R(t._seriesIndices=f(e,function(t){return t.componentIndex})||[])}function Ta(t,e){return e.hasOwnProperty("subType")?g(t,function(t){return t.subType===e.subType}):t}function Aa(t){d(qS,function(e){this[e]=m(t[e],t)},this)}function Ca(){this._coordinateSystems=[]}function La(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function ka(t,e,i){var n,o,a=[],r=[],s=t.timeline;if(t.baseOption&&(o=t.baseOption),(s||t.options)&&(o=o||{},a=(t.options||[]).slice()),t.media){o=o||{};var l=t.media;$S(l,function(t){t&&t.option&&(t.query?r.push(t):n||(n=t))})}return o||(o=t),o.timeline||(o.timeline=s),$S([o].concat(a).concat(f(r,function(t){return t.option})),function(t){$S(e,function(e){e(t,i)})}),{baseOption:o,timelineOptions:a,mediaDefault:n,mediaList:r}}function Pa(t,e,i){var n={width:e,height:i,aspectratio:e/i},o=!0;return d(t,function(t,e){var i=e.match(eM);if(i&&i[1]&&i[2]){var a=i[1],r=i[2].toLowerCase();Na(n[r],t,a)||(o=!1)}}),o}function Na(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function Oa(t,e){return t.join(",")===e.join(",")}function Ea(t,e){$S(e=e||{},function(e,i){if(null!=e){var n=t[i];if(PS.hasClass(i)){e=Si(e);var o=Ti(n=Si(n),e);t[i]=QS(o,function(t){return t.option&&t.exist?tM(t.exist,t.option,!0):t.exist||t.option})}else t[i]=tM(n,e,!0)}})}function Ra(t){var e=t&&t.itemStyle;if(e)for(var i=0,o=oM.length;i<o;i++){var a=oM[i],r=e.normal,s=e.emphasis;r&&r[a]&&(t[a]=t[a]||{},t[a].normal?n(t[a].normal,r[a]):t[a].normal=r[a],r[a]=null),s&&s[a]&&(t[a]=t[a]||{},t[a].emphasis?n(t[a].emphasis,s[a]):t[a].emphasis=s[a],s[a]=null)}}function za(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,o=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,r(t[e],n)):t[e]=n),o&&(t.emphasis=t.emphasis||{},t.emphasis[e]=o)}}function Ba(t){za(t,"itemStyle"),za(t,"lineStyle"),za(t,"areaStyle"),za(t,"label"),za(t,"labelLine"),za(t,"upperLabel"),za(t,"edgeLabel")}function Va(t,e){var i=nM(t)&&t[e],n=nM(i)&&i.textStyle;if(n)for(var o=0,a=Iw.length;o<a;o++){var e=Iw[o];n.hasOwnProperty(e)&&(i[e]=n[e])}}function Ga(t){t&&(Ba(t),Va(t,"label"),t.emphasis&&Va(t.emphasis,"label"))}function Fa(t){if(nM(t)){Ra(t),Ba(t),Va(t,"label"),Va(t,"upperLabel"),Va(t,"edgeLabel"),t.emphasis&&(Va(t.emphasis,"label"),Va(t.emphasis,"upperLabel"),Va(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Ra(e),Ga(e));var i=t.markLine;i&&(Ra(i),Ga(i));var n=t.markArea;n&&Ga(n);var o=t.data;if("graph"===t.type){o=o||t.nodes;var a=t.links||t.edges;if(a&&!S(a))for(s=0;s<a.length;s++)Ga(a[s]);d(t.categories,function(t){Ba(t)})}if(o&&!S(o))for(s=0;s<o.length;s++)Ga(o[s]);if((e=t.markPoint)&&e.data)for(var r=e.data,s=0;s<r.length;s++)Ga(r[s]);if((i=t.markLine)&&i.data)for(var l=i.data,s=0;s<l.length;s++)y(l[s])?(Ga(l[s][0]),Ga(l[s][1])):Ga(l[s]);"gauge"===t.type?(Va(t,"axisLabel"),Va(t,"title"),Va(t,"detail")):"treemap"===t.type?(za(t.breadcrumb,"itemStyle"),d(t.levels,function(t){Ba(t)})):"tree"===t.type&&Ba(t.leaves)}}function Wa(t){return y(t)?t:t?[t]:[]}function Ha(t){return(y(t)?t[0]:t)||{}}function Za(t,e){e=e.split(",");for(var i=t,n=0;n<e.length&&null!=(i=i&&i[e[n]]);n++);return i}function Ua(t,e,i,n){e=e.split(",");for(var o,a=t,r=0;r<e.length-1;r++)null==a[o=e[r]]&&(a[o]={}),a=a[o];(n||null==a[e[r]])&&(a[e[r]]=i)}function ja(t){d(rM,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}function Xa(t){d(t,function(e,i){var n=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex,l=r.map(a,function(a,l,u){var h=r.get(e.stackedDimension,u);if(isNaN(h))return o;var c,d;s?d=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=t[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&m>0||h<=0&&m<0){h+=m,f=m;break}}}return n[0]=h,n[1]=f,n});r.hostModel.setData(l),e.data=l})}function Ya(t,e){la.isInstance(t)||(t=la.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===HS&&(this._offset=0,this._dimSize=e,this._data=i),a(this,hM[n===VS?n+"_"+t.seriesLayoutBy:n])}function qa(){return this._data.length}function Ka(t){return this._data[t]}function $a(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}function Ja(t,e,i,n){return null!=i?t[i]:t}function Qa(t,e,i,n){return tr(t[n],this._dimensionInfos[e])}function tr(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMeta;return n?n.parseAndCollect(t):t}return"time"===i&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+Ro(t)),null==t||""===t?NaN:+t}function er(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var o,a,r=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(o=s.name,a=s.index),cM[r](n,e,a,o)}}}function ir(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;if(n===BS||n===GS){var o=t.getRawDataItem(e);return n!==BS||w(o)||(o=null),o?o[i]:void 0}}}function nr(t){return new or(t)}function or(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}function ar(t,e){t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null;var i,n;!e&&t._reset&&(i=t._reset(t.context))&&i.progress&&(n=i.forceFirstProgress,i=i.progress),t._progress=i;var o=t._downstream;return o&&o.dirty(),n}function rr(t){var e=t.name;Ci(t)||(t.name=sr(t)||e)}function sr(t){var e=t.getRawData(),i=[];return d(e.mapDimension("seriesName",!0),function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}function lr(t){return t.model.getRawData().count()}function ur(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),hr}function hr(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function cr(t,e){d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,v(dr,e))})}function dr(t){var e=fr(t);e&&e.setOutputEnd(this.count())}function fr(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var o=n.agentStubMap;o&&(n=o.get(t.uid))}return n}}function pr(){this.group=new L_,this.uid=Mo("viewChart"),this.renderTask=nr({plan:vr,reset:yr}),this.renderTask.context={view:this}}function gr(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i<t.childCount();i++)gr(t.childAt(i),e)}function mr(t,e,i){var n=Pi(t,e);null!=n?d(Si(n),function(e){gr(t.getItemGraphicEl(e),i)}):t.eachItemGraphicEl(function(t){gr(t,i)})}function vr(t){return bM(t.model)}function yr(t){var e=t.model,i=t.ecModel,n=t.api,o=t.payload,a=e.pipelineContext.canProgressiveRender,r=t.view,s=o&&wM(o).updateMethod,l=a?"incrementalPrepareRender":s&&r[s]?s:"render";return"render"!==l&&r[l](e,i,n,o),MM[l]}function xr(t,e,i){function n(){h=(new Date).getTime(),c=null,t.apply(r,s||[])}var o,a,r,s,l,u=0,h=0,c=null;e=e||0;var d=function(){o=(new Date).getTime(),r=this,s=arguments;var t=l||e,d=l||i;l=null,a=o-(d?u:h)-t,clearTimeout(c),d?c=setTimeout(n,t):a>=0?n():c=setTimeout(n,-a),u=o};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function _r(t,e,i,n){var o=t[e];if(o){var a=o[IM]||o,r=o[TM];if(o[DM]!==i||r!==n){if(null==i||!n)return t[e]=a;(o=t[e]=xr(a,i,"debounce"===n))[IM]=a,o[TM]=n,o[DM]=i}return o}}function wr(t,e){var i=t[e];i&&i[IM]&&(t[e]=i[IM])}function br(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;var i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=R()}function Sr(t,e,i,n,o){function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}o=o||{};var r;d(e,function(e,s){if(!o.visualType||o.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){a(o,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),NM(h,n);var f=t.getPerformArgs(h,o.block);d.each(function(t){t.perform(f)}),r|=h.perform(f)}else u&&u.each(function(s,l){a(o,s)&&s.dirty();var u=t.getPerformArgs(s,o.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(s.context.model),NM(s,n),r|=s.perform(u)})}}),t.unfinished|=r}function Mr(t,e,i,n,o){function a(i){var a=i.uid,s=r.get(a)||r.set(a,nr({plan:Lr,reset:kr,count:Nr}));s.context={model:i,ecModel:n,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},Or(t,i,s)}var r=i.seriesTaskMap||(i.seriesTaskMap=R()),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(a):s?n.eachRawSeriesByType(s,a):l&&l(n,o).each(a);var u=t._pipelineMap;r.each(function(t,e){u.get(e)||(t.dispose(),r.removeKey(e))})}function Ir(t,e,i,n,o){function a(e){var i=e.uid,n=s.get(i);n||(n=s.set(i,nr({reset:Tr,onDirty:Cr})),r.dirty()),n.context={model:e,overallProgress:h,isOverallFilter:c},n.agent=r,n.__block=h,Or(t,e,n)}var r=i.overallTask=i.overallTask||nr({reset:Dr});r.context={ecModel:n,api:o,overallReset:e.overallReset,scheduler:t};var s=r.agentStubMap=r.agentStubMap||R(),l=e.seriesType,u=e.getTargetSeries,h=!0,c=e.isOverallFilter;l?n.eachRawSeriesByType(l,a):u?u(n,o).each(a):(h=!1,d(n.getSeries(),a));var f=t._pipelineMap;s.each(function(t,e){f.get(e)||(t.dispose(),r.dirty(),s.removeKey(e))})}function Dr(t){t.overallReset(t.ecModel,t.api,t.payload)}function Tr(t,e){return t.overallProgress&&Ar}function Ar(){this.agent.dirty(),this.getDownstream().dirty()}function Cr(){this.agent&&this.agent.dirty()}function Lr(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function kr(t){if(t.useClearVisual&&t.data.clearAllVisual(),(t.resetDefines=Si(t.reset(t.model,t.ecModel,t.api,t.payload))).length)return Pr}function Pr(t,e){for(var i=e.data,n=e.resetDefines,o=0;o<n.length;o++){var a=n[o];if(a&&a.dataEach)for(var r=t.start;r<t.end;r++)a.dataEach(i,r);else a&&a.progress&&a.progress(t,i)}}function Nr(t){return t.data.count()}function Or(t,e,i){var n=e.uid,o=t._pipelineMap.get(n);!o.head&&(o.head=i),o.tail&&o.tail.pipe(i),o.tail=i,i.__idxInPipeline=o.count++,i.__pipeline=o}function Er(t){OM=null;try{t(EM,RM)}catch(t){}return OM}function Rr(t,e){for(var i in e.prototype)t[i]=B}function zr(t){return function(e,i,n){e=e&&e.toLowerCase(),Kx.prototype[t].call(this,e,i,n)}}function Br(){Kx.call(this)}function Vr(t,e,n){function o(t,e){return t.__prio-e.__prio}n=n||{},"string"==typeof e&&(e=lI[e]),this.id,this.group,this._dom=t;var a=this._zr=_i(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=xr(m(a.flush,a),17),(e=i(e))&&lM(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new Ca;var r=this._api=ns(this);ae(sI,o),ae(oI,o),this._scheduler=new br(this,r,oI,sI),Kx.call(this),this._messageCenter=new Br,this._initEvents(),this.resize=m(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),Xr(a,this),N(this)}function Gr(t,e,i){var n,o=this._model,a=this._coordSysMgr.getCoordinateSystems();e=Oi(o,e);for(var r=0;r<a.length;r++){var s=a[r];if(s[t]&&null!=(n=s[t](o,e,i)))return n}}function Fr(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),Yr(t,"component",e,i),Yr(t,"chart",e,i),i.plan()}function Wr(t,e,i,n,o){function a(n){n&&n.__alive&&n[e]&&n[e](n.__model,r,t._api,i)}var r=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};o&&(l.subType=o),r&&r.eachComponent(l,function(e,i){a(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else WM(t._componentsViews.concat(t._chartsViews),a)}function Hr(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function Zr(t,e){var i=t.type,n=t.escapeConnect,o=iI[i],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop();l=null!=l[0]&&UM(l[0]),this[KM]=!0;var h=[t],c=!1;t.batch&&(c=!0,h=f(t.batch,function(e){return e=r(a({},e),t),e.batch=null,e}));var d,p=[],g="highlight"===i||"downplay"===i;WM(h,function(t){d=o.action(t,this._model,this._api),(d=d||a({},t)).type=s.event||d.type,p.push(d),g?Wr(this,u,t,"series"):l&&Wr(this,u,t,l.main,l.sub)},this),"none"===u||g||l||(this[$M]?(Fr(this),tI.update.call(this,t),this[$M]=!1):tI[u].call(this,t)),d=c?{type:s.event||i,escapeConnect:n,batch:p}:p[0],this[KM]=!1,!e&&this._messageCenter.trigger(d.type,d)}function Ur(t){for(var e=this._pendingActions;e.length;){var i=e.shift();Zr.call(this,i,t)}}function jr(t){!t&&this.trigger("updated")}function Xr(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[$M]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}function Yr(t,e,i,n){function o(t){var e="_ec_"+t.id+"_"+t.type,o=s[e];if(!o){var h=UM(t.type);(o=new(a?yM.getClass(h.main,h.sub):pr.getClass(h.sub))).init(i,u),s[e]=o,r.push(o),l.add(o.group)}t.__viewId=o.__id=e,o.__alive=!0,o.__model=t,o.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&n.prepareView(o,t,i,u)}for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,s=a?t._componentsMap:t._chartsMap,l=t._zr,u=t._api,h=0;h<r.length;h++)r[h].__alive=!1;a?i.eachComponent(function(t,e){"series"!==t&&o(e)}):i.eachSeries(o);for(h=0;h<r.length;){var c=r[h];c.__alive?h++:(!a&&c.renderTask.dispose(),l.remove(c.group),c.dispose(i,u),r.splice(h,1),delete s[c.__id],c.__id=c.group.__ecComponentInfo=null)}}function qr(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function Kr(t,e,i,n){$r(t,e,i,n),WM(t._chartsViews,function(t){t.__alive=!1}),Jr(t,e,i,n),WM(t._chartsViews,function(t){t.__alive||t.remove(e,i)})}function $r(t,e,i,n,o){WM(o||t._componentsViews,function(t){var o=t.__model;t.render(o,e,i,n),is(o,t)})}function Jr(t,e,i,n,o){var a,r=t._scheduler;e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var s=i.renderTask;r.updatePayload(s,n),o&&o.get(e.uid)&&s.dirty(),a|=s.perform(r.getPerformArgs(s)),i.group.silent=!!e.get("silent"),is(e,i),es(e,i)}),r.unfinished|=a,ts(t._zr,e),LM(t._zr.dom,e)}function Qr(t,e){WM(rI,function(i){i(t,e)})}function ts(t,e){var i=t.storage,n=0;i.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!Ax.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function es(t,e){var i=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",i)})})}function is(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}function ns(t){var e=t._coordSysMgr;return a(new Aa(t),{getCoordinateSystems:m(e.getCoordinateSystems,e),getComponentByElement:function(e){for(;e;){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function os(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][i]=e}var i="__connectUpdateStatus";WM(nI,function(n,o){t._messageCenter.on(o,function(n){if(cI[t.group]&&0!==t[i]){if(n&&n.escapeConnect)return;var o=t.makeActionFromEvent(n),a=[];WM(hI,function(e){e!==t&&e.group===t.group&&a.push(e)}),e(a,0),WM(a,function(t){1!==t[i]&&t.dispatchAction(o)}),e(a,2)}})})}function as(t){cI[t]=!1}function rs(t){return hI[zi(t,pI)]}function ss(t,e){lI[t]=e}function ls(t){aI.push(t)}function us(t,e){ps(oI,t,e,jM)}function hs(t,e,i){"function"==typeof e&&(i=e,e="");var n=ZM(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,FM(JM.test(n)&&JM.test(e)),iI[n]||(iI[n]={action:i,actionInfo:t}),nI[e]=n}function cs(t,e){Ca.register(t,e)}function ds(t,e){ps(sI,t,e,XM,"layout")}function fs(t,e){ps(sI,t,e,YM,"visual")}function ps(t,e,i,n,o){(HM(e)||ZM(e))&&(i=e,e=n);var a=br.wrapStageHandler(i,o);return a.__prio=e,a.__raw=i,t.push(a),a}function gs(t,e){uI[t]=e}function ms(t){return PS.extend(t)}function vs(t){return yM.extend(t)}function ys(t){return vM.extend(t)}function xs(t){return pr.extend(t)}function _s(t){return gI[t]}function ws(t){return t}function bs(t,e,i,n,o){this._old=t,this._new=e,this._oldKeyGetter=i||ws,this._newKeyGetter=n||ws,this.context=o}function Ss(t,e,i,n,o){for(var a=0;a<t.length;a++){var r="_ec_"+o[n](t[a],a),s=e[r];null==s?(i.push(r),e[r]=a):(s.length||(e[r]=s=[s]),s.push(a))}}function Ms(t){var e={},i=e.encode={},n=R(),o=[];d(t.dimensions,function(e){var a=t.getDimensionInfo(e),r=a.coordDim;if(r){var s=i[r];i.hasOwnProperty(r)||(s=i[r]=[]),s[a.coordDimIndex]=e,a.isExtraCoord||(n.set(r,1),Ds(a.type)&&(o[0]=e))}vI.each(function(t,e){var n=i[e];i.hasOwnProperty(e)||(n=i[e]=[]);var o=a.otherDims[e];null!=o&&!1!==o&&(n[o]=a.name)})});var a=[],r={};n.each(function(t,e){var n=i[e];r[e]=n[0],a=a.concat(n)}),e.dataDimsOnCoord=a,e.encodeFirstDimNotExtra=r;var s=i.label;s&&s.length&&(o=s.slice());var l=o.slice(),u=i.tooltip;return u&&u.length&&(l=u.slice()),i.defaultedLabel=o,i.defaultedTooltip=l,e}function Is(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Ds(t){return!("ordinal"===t||"time"===t)}function Ts(t){return t._rawCount>65535?bI:SI}function As(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Cs(t,e){d(MI.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods}function Ls(t){var e=t._invertedIndicesMap;d(e,function(i,n){var o=t._dimensionInfos[n].ordinalMeta;if(o){i=e[n]=new bI(o.categories.length);for(a=0;a<i.length;a++)i[a]=NaN;for(var a=0;a<t._count;a++)i[t.get(n,a)]=a}})}function ks(t){return t}function Ps(t){return t<this._count&&t>=0?this._indices[t]:-1}function Ns(t,e){var i=t._idList[e];return null==i&&(i=t._getIdFromStore(e)),null==i&&(i=_I+e),i}function Os(t){return y(t)||(t=[t]),t}function Es(t,e){var i=t.dimensions,n=new II(f(i,t.getDimensionInfo,t),t.hostModel);Cs(n,t);for(var o=n._storage={},r=t._storage,s=a({},t._rawExtent),u=0;u<i.length;u++){var h=i[u];r[h]&&(l(e,h)>=0?(o[h]=Rs(r[h]),s[h]=zs()):o[h]=r[h])}return n}function Rs(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=As(t[i]);return e}function zs(){return[1/0,-1/0]}function Bs(t,e,n){function o(t,e,i){null!=vI.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,h.set(e,!0))}la.isInstance(e)||(e=la.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var s=(n.dimsDef||[]).slice(),l=R(n.encodeDef),u=R(),h=R(),c=[],f=Vs(e,t,s,n.dimCount),p=0;p<f;p++){var g=s[p]=a({},w(s[p])?s[p]:{name:s[p]}),m=g.name,v=c[p]={otherDims:{}};null!=m&&null==u.get(m)&&(v.name=v.displayName=m,u.set(m,p)),null!=g.type&&(v.type=g.type),null!=g.displayName&&(v.displayName=g.displayName)}l.each(function(t,e){t=Si(t).slice();var i=l.set(e,[]);d(t,function(t,n){_(t)&&(t=u.get(t)),null!=t&&t<f&&(i[n]=t,o(c[t],e,n))})});var y=0;d(t,function(t,e){var n,t,a,s;if(_(t))n=t,t={};else{n=t.name;var u=t.ordinalMeta;t.ordinalMeta=null,(t=i(t)).ordinalMeta=u,a=t.dimsDef,s=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var h=Si(l.get(n));if(!h.length)for(var f=0;f<(a&&a.length||1);f++){for(;y<c.length&&null!=c[y].coordDim;)y++;y<c.length&&h.push(y++)}d(h,function(e,i){var l=c[e];o(r(l,t),n,i),null==l.name&&a&&(l.name=l.displayName=a[i]),s&&r(l.otherDims,s)})});var x=n.generateCoord,b=n.generateCoordCount,S=null!=b;b=x?b||1:0;for(var M=x||"value",I=0;I<f;I++)null==(v=c[I]=c[I]||{}).coordDim&&(v.coordDim=Gs(M,h,S),v.coordDimIndex=0,(!x||b<=0)&&(v.isExtraCoord=!0),b--),null==v.name&&(v.name=Gs(v.coordDim,u)),null==v.type&&xa(e,I,v.name)&&(v.type="ordinal");return c}function Vs(t,e,i,n){var o=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n||0);return d(e,function(t){var e=t.dimsDef;e&&(o=Math.max(o,e.length))}),o}function Gs(t,e,i){if(i||null!=e.get(t)){for(var n=0;null!=e.get(t+n);)n++;t+=n}return e.set(t,!0),t}function Fs(t,e,i){var n,o,a,r,s=(i=i||{}).byIndex,l=i.stackedCoordDimension,u=!(!t||!t.get("stack"));if(d(e,function(t,i){_(t)&&(e[i]=t={name:t}),u&&!t.isExtraCoord&&(s||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(o=t))}),o&&(s||n)){a="__\0ecstackresult",r="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var h=o.coordDim,c=o.type,f=0;d(e,function(t){t.coordDim===h&&f++}),e.push({name:a,coordDim:h,coordDimIndex:f,type:c,isExtraCoord:!0,isCalculationCoord:!0}),f++,e.push({name:r,coordDim:r,coordDimIndex:f,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:s,stackedOverDimension:r,stackResultDimension:a}}function Ws(t,e,i){return e&&e===t.getCalculationInfo("stackedDimension")&&(null!=i?i===t.getCalculationInfo("stackedByDimension"):t.getCalculationInfo("isStackedByIndex"))}function Hs(t,e,i){i=i||{},la.isInstance(t)||(t=la.seriesDataToSource(t));var n,o=e.get("coordinateSystem"),a=Ca.get(o),r=ra(e);r&&(n=f(r.coordSysDims,function(t){var e={name:t},i=r.axisMap.get(t);if(i){var n=i.get("type");e.type=Is(n)}return e})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]);var s,l,u=AI(t,{coordDimensions:n,generateCoord:i.generateCoord});r&&d(u,function(t,e){var i=t.coordDim,n=r.categoryAxisMap.get(i);n&&(null==s&&(s=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(l=!0)}),l||null==s||(u[s].otherDims.itemName=0);var h=Fs(e,u),c=new II(u,e);c.setCalculationInfo(h);var p=null!=s&&Zs(t)?function(t,e,i,n){return n===s?i:this.defaultDimValueGetter(t,e,i,n)}:null;return c.hasItemOption=!1,c.initData(t,null,p),c}function Zs(t){if(t.sourceFormat===BS){var e=Us(t.data||[]);return null!=e&&!y(Ii(e))}}function Us(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}function js(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}function Xs(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}function Ys(t){return t._map||(t._map=R(t.categories))}function qs(t){return w(t)&&null!=t.value?t.value:t+""}function Ks(t,e,i,n){var o={},a=t[1]-t[0],r=o.interval=Vo(a/e,!0);null!=i&&r<i&&(r=o.interval=i),null!=n&&r>n&&(r=o.interval=n);var s=o.intervalPrecision=$s(r);return Qs(o.niceTickExtent=[PI(Math.ceil(t[0]/r)*r,s),PI(Math.floor(t[1]/r)*r,s)],t),o}function $s(t){return ko(t)+2}function Js(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function Qs(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Js(t,0,e),Js(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function tl(t,e,i,n){var o=[];if(!t)return o;e[0]<i[0]&&o.push(e[0]);for(var a=i[0];a<=i[1]&&(o.push(a),(a=PI(a+t,n))!==o[o.length-1]);)if(o.length>1e4)return[];return e[1]>(o.length?o[o.length-1]:i[1])&&o.push(e[1]),o}function el(t){return t.get("stack")||EI+t.seriesIndex}function il(t){return t.dim+t.index}function nl(t,e){var i=[],n=t.axis;if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<t.count;a++)i.push(r({bandWidth:o,axisKey:"axis0",stackId:EI+a},t));for(var s=al(i,e),l=[],a=0;a<t.count;a++){var u=s.axis0[EI+a];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function ol(t,e){return al(f(t,function(t){var e=t.getData(),i=t.coordinateSystem.getBaseAxis(),n=i.getExtent(),o="category"===i.type?i.getBandWidth():Math.abs(n[1]-n[0])/e.count();return{bandWidth:o,barWidth:To(t.get("barWidth"),o),barMaxWidth:To(t.get("barMaxWidth"),o),barGap:t.get("barGap"),barCategoryGap:t.get("barCategoryGap"),axisKey:il(i),stackId:el(t)}}),e)}function al(t,e){var i={};d(t,function(t,e){var n=t.axisKey,o=t.bandWidth,a=i[n]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},r=a.stacks;i[n]=a;var s=t.stackId;r[s]||a.autoWidthCount++,r[s]=r[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!r[s].width&&(r[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(r[s].maxWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var c=t.barCategoryGap;null!=c&&(a.categoryGap=c)});var n={};return d(i,function(t,e){n[e]={};var i=t.stacks,o=t.bandWidth,a=To(t.categoryGap,o),r=To(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*r);u=Math.max(u,0),d(i,function(t,e){var i=t.maxWidth;i&&i<u&&(i=Math.min(i,s),t.width&&(i=Math.min(i,t.width)),s-=i,t.width=i,l--)}),u=(s-a)/(l+(l-1)*r),u=Math.max(u,0);var h,c=0;d(i,function(t,e){t.width||(t.width=u),h=t,c+=t.width*(1+r)}),h&&(c-=h.width*r);var f=-c/2;d(i,function(t,i){n[e][i]=n[e][i]||{offset:f,width:t.width},f+=t.width*(1+r)})}),n}function rl(t,e,i){var n=[];e.eachSeriesByType(t,function(t){t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type&&n.push(t)});var o=ol(n),a={};d(n,function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),r=el(t),s=o[il(n)][r],u=s.offset,h=s.width,c=i.getOtherAxis(n),d=t.get("barMinHeight")||0;a[r]=a[r]||[],e.setLayout({offset:u,size:h});for(var f=e.mapDimension(c.dim),p=e.mapDimension(n.dim),g=Ws(e,f,p),m=c.isHorizontal(),v=l(n.getAxesOnZeroOf(),c)>=0||g?c.toGlobalCoord(c.dataToCoord(0)):c.getGlobalExtent()[0],y=0,x=e.count();y<x;y++){var _=e.get(f,y),w=e.get(p,y);if(!isNaN(_)){var b=_>=0?"p":"n",S=v;g&&(a[r][w]||(a[r][w]={p:v,n:v}),S=a[r][w][b]);var M,I,D,T;if(m)M=S,I=(A=i.dataToPoint([_,w]))[1]+u,D=A[0]-v,T=h,Math.abs(D)<d&&(D=(D<0?-1:1)*d),g&&(a[r][w][b]+=D);else{var A=i.dataToPoint([w,_]);M=A[0]+u,I=S,D=h,T=A[1]-v,Math.abs(T)<d&&(T=(T<=0?-1:1)*d),g&&(a[r][w][b]+=T)}e.setItemLayout(y,{x:M,y:I,width:D,height:T})}}},this)}function sl(t,e){return UI(t,ZI(e))}function ll(t,e){var i,n,o,a=t.type,r=e.getMin(),s=e.getMax(),l=null!=r,u=null!=s,h=t.getExtent();"ordinal"===a?i=e.getCategories().length:(y(n=e.get("boundaryGap"))||(n=[n||0,n||0]),"boolean"==typeof n[0]&&(n=[0,0]),n[0]=To(n[0],1),n[1]=To(n[1],1),o=h[1]-h[0]||Math.abs(h[0])),null==r&&(r="ordinal"===a?i?0:NaN:h[0]-n[0]*o),null==s&&(s="ordinal"===a?i?i-1:NaN:h[1]+n[1]*o),"dataMin"===r?r=h[0]:"function"==typeof r&&(r=r({min:h[0],max:h[1]})),"dataMax"===s?s=h[1]:"function"==typeof s&&(s=s({min:h[0],max:h[1]})),(null==r||!isFinite(r))&&(r=NaN),(null==s||!isFinite(s))&&(s=NaN),t.setBlank(I(r)||I(s)),e.getNeedCrossZero()&&(r>0&&s>0&&!l&&(r=0),r<0&&s<0&&!u&&(s=0));var c=e.ecModel;if(c&&"time"===a){var d,f=[];if(c.eachSeriesByType("bar",function(t){t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type&&(f.push(t),d|=t.getBaseAxis()===e.axis)}),d){var p=ul(r,s,e,f);r=p.min,s=p.max}}return[r,s]}function ul(t,e,i,n){var o=i.axis.getExtent(),a=o[1]-o[0],r=ol(n)[i.axis.dim+i.axis.index];if(void 0===r)return{min:t,max:e};var s=1/0;d(r,function(t){s=Math.min(t.offset,s)});var l=-1/0;d(r,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/a)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}function hl(t,e){var i=ll(t,e),n=null!=e.getMin(),o=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:o,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function cl(t,e){if(e=e||t.get("type"))switch(e){case"category":return new kI(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new OI;default:return(js.getClass(e)||OI).create(t)}}function dl(t,e,i,n,o){var a,r=0,s=0,l=(n-o)/180*Math.PI,u=1;e.length>40&&(u=Math.floor(e.length/40));for(var h=0;h<t.length;h+=u){var c=t[h],d=me(e[h],i,"center","top");d.x+=c*Math.cos(l),d.y+=c*Math.sin(l),d.width*=1.3,d.height*=1.3,a?a.intersect(d)?(s++,r=Math.max(r,s)):(a.union(d),s=0):a=d.clone()}return 0===r&&u>1?u:(r+1)*u-1}function fl(t,e){var i=t.scale,n=i.getTicksLabels(),o=i.getTicks();return"string"==typeof e?(e=function(t){return function(e){return t.replace("{value}",null!=e?e:"")}}(e),f(n,e)):"function"==typeof e?f(o,function(i,n){return e(pl(t,i),n)},this):n}function pl(t,e){return"category"===t.type?t.scale.getLabel(e):e}function gl(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function ml(t,e,i,n,o,a,r){var s=0===t.indexOf("empty");s&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var l;return l=0===t.indexOf("image://")?zn(t.slice(8),new $t(e,i,n,o),r?"center":"cover"):0===t.indexOf("path://")?Rn(t.slice(7),{},new $t(e,i,n,o),r?"center":"cover"):new oD({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),l.__isEmptyBrush=s,l.setColor=gl,l.setColor(a),l}function vl(t,e){return Math.abs(t-e)<sD}function yl(t,e,i){var n=0,o=t[0];if(!o)return!1;for(var a=1;a<t.length;a++){var r=t[a];n+=mn(o[0],o[1],r[0],r[1],e,i),o=r}var s=t[0];return vl(o[0],s[0])&&vl(o[1],s[1])||(n+=mn(o[0],o[1],s[0],s[1],e,i)),0!==n}function xl(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}function _l(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n<i.length;n++)for(var o=i[n].geometry,a=o.coordinates,r=o.encodeOffsets,s=0;s<a.length;s++){var l=a[s];if("Polygon"===o.type)a[s]=wl(l,r[s],e);else if("MultiPolygon"===o.type)for(var u=0;u<l.length;u++){var h=l[u];l[u]=wl(h,r[s][u],e)}}return t.UTF8Encoding=!1,t}function wl(t,e,i){for(var n=[],o=e[0],a=e[1],r=0;r<t.length;r+=2){var s=t.charCodeAt(r)-64,l=t.charCodeAt(r+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),o=s+=o,a=l+=a,n.push([s/i,l/i])}return n}function bl(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}function Sl(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return er(t,e,i[0]);if(n){for(var o=[],a=0;a<i.length;a++){var r=er(t,e,i[a]);o.push(r)}return o.join(" ")}}function Ml(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]}function Il(t){return[t[0]/2,t[1]/2]}function Dl(t,e,i){L_.call(this),this.updateData(t,e,i)}function Tl(t,e){this.parent.drift(t,e)}function Al(t){this.group=new L_,this._symbolCtor=t||Dl}function Cl(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function Ll(t){return null==t||w(t)||(t={isIgnore:t}),t||{}}function kl(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}function Pl(t,e,i){var n=t.getBaseAxis(),o=t.getOtherAxis(n),a=Nl(o,i),r=n.dim,s=o.dim,l=e.mapDimension(s),u=e.mapDimension(r),h="x"===s||"radius"===s?1:0,c=Ws(e,l,u);return{dataDimsForPoint:f(t.dimensions,function(t){return e.mapDimension(t)}),valueStart:a,valueAxisDim:s,baseAxisDim:r,stacked:c,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Nl(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function Ol(t,e,i,n){var o=NaN;t.stacked&&(o=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(o)&&(o=t.valueStart);var a=t.baseDataOffset,r=[];return r[a]=i.get(t.baseDim,n),r[1-a]=o,e.dataToPoint(r)}function El(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}function Rl(t){return isNaN(t[0])||isNaN(t[1])}function zl(t,e,i,n,o,a,r,s,l,u,h){return null==u?Bl(e,"x")?Vl(t,e,i,n,o,a,r,s,l,"x",h):Bl(e,"y")?Vl(t,e,i,n,o,a,r,s,l,"y",h):Gl.apply(this,arguments):"none"!==u&&Bl(e,u)?Vl.apply(this,arguments):Gl.apply(this,arguments)}function Bl(t,e){if(t.length<=1)return!0;for(var i="x"===e?0:1,n=t[0][i],o=0,a=1;a<t.length;++a){var r=t[a][i]-n;if(!isNaN(r)&&!isNaN(o)&&0!==r&&0!==o&&r>=0!=o>=0)return!1;isNaN(r)||0===r||(o=r,n=t[a][i])}return!0}function Vl(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[d];if(d>=o||d<0)break;if(Rl(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]);else if(l>0){var g=e[c],m="y"===u?1:0,v=(p[m]-g[m])*l;MD(DD,g),DD[m]=g[m]+v,MD(TD,p),TD[m]=p[m]-v,t.bezierCurveTo(DD[0],DD[1],TD[0],TD[1],p[0],p[1])}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Gl(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[d];if(d>=o||d<0)break;if(Rl(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]),MD(DD,p);else if(l>0){var g=d+a,m=e[g];if(h)for(;m&&Rl(e[g]);)m=e[g+=a];var v=.5,y=e[c];if(!(m=e[g])||Rl(m))MD(TD,p);else{Rl(m)&&!h&&(m=p),U(ID,m,y);var x,_;if("x"===u||"y"===u){var w="x"===u?0:1;x=Math.abs(p[w]-y[w]),_=Math.abs(p[w]-m[w])}else x=jx(p,y),_=jx(p,m);SD(TD,p,ID,-l*(1-(v=_/(_+x))))}wD(DD,DD,s),bD(DD,DD,r),wD(TD,TD,s),bD(TD,TD,r),t.bezierCurveTo(DD[0],DD[1],TD[0],TD[1],p[0],p[1]),SD(DD,p,ID,l*v)}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Fl(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var o=0;o<t.length;o++){var a=t[o];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[0]>n[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}function Wl(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var n=t[i],o=e[i];if(n[0]!==o[0]||n[1]!==o[1])return}return!0}}function Hl(t){return"number"==typeof t?t:t?.5:0}function Zl(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function Ul(t,e,i){if(!i.valueDim)return[];for(var n=[],o=0,a=e.count();o<a;o++)n.push(Ol(i,t,e,o));return n}function jl(t,e,i){var n=Zl(t.getAxis("x")),o=Zl(t.getAxis("y")),a=t.getBaseAxis().isHorizontal(),r=Math.min(n[0],n[1]),s=Math.min(o[0],o[1]),l=Math.max(n[0],n[1])-r,u=Math.max(o[0],o[1])-s,h=i.get("lineStyle.width")||2,c=i.get("clipOverflow")?h/2:Math.max(l,u);a?(s-=c,u+=2*c):(r-=c,l+=2*c),r=Ao(r,1),s=Ao(s,1),l=Ao(l,1),u=Ao(u,1);var d=new jb({shape:{x:r,y:s,width:l,height:u}});return e&&(d.shape[a?"width":"height"]=0,po(d,{shape:{width:l,height:u}},i)),d}function Xl(t,e,i){var n=t.getAngleAxis(),o=t.getRadiusAxis().getExtent(),a=n.getExtent(),r=Math.PI/180,s=new Gb({shape:{cx:Ao(t.cx,1),cy:Ao(t.cy,1),r0:Ao(o[0],1),r:Ao(o[1],1),startAngle:-a[0]*r,endAngle:-a[1]*r,clockwise:n.inverse}});return e&&(s.shape.endAngle=-a[0]*r,po(s,{shape:{endAngle:-a[1]*r}},i)),s}function Yl(t,e,i){return"polar"===t.type?Xl(t,e,i):jl(t,e,i)}function ql(t,e,i){for(var n=e.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,a=[],r=0;r<t.length-1;r++){var s=t[r+1],l=t[r];a.push(l);var u=[];switch(i){case"end":u[o]=s[o],u[1-o]=l[1-o],a.push(u);break;case"middle":var h=(l[o]+s[o])/2,c=[];u[o]=c[o]=h,u[1-o]=l[1-o],c[1-o]=s[1-o],a.push(u),a.push(c);break;default:u[o]=l[o],u[1-o]=s[1-o],a.push(u)}}return t[r]&&a.push(t[r]),a}function Kl(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var n,o,a=i.length-1;a>=0;a--){var r=i[a].dimension,s=t.dimensions[r],l=t.getDimensionInfo(s);if("x"===(n=l&&l.coordDim)||"y"===n){o=i[a];break}}if(o){var u=e.getAxis(n),h=f(o.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,p=o.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),p.reverse());var g=h[0].coord-10,m=h[c-1].coord+10,v=m-g;if(v<.001)return"transparent";d(h,function(t){t.offset=(t.coord-g)/v}),h.push({offset:c?h[c-1].offset:.5,color:p[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:p[0]||"transparent"});var y=new Qb(0,0,0,0,h,!0);return y[n]=g,y[n+"2"]=m,y}}}function $l(t){return this._axes[t]}function Jl(t){OD.call(this,t)}function Ql(t,e){return e.type||(e.data?"category":"value")}function tu(t,e,i){return t.getCoordSysModel()===e}function eu(t,e){var i=e*Math.PI/180,n=t.plain(),o=n.width,a=n.height,r=o*Math.cos(i)+a*Math.sin(i),s=o*Math.sin(i)+a*Math.cos(i);return new $t(n.x,n.y,r,s)}function iu(t){var e,i=t.model,n=i.get("axisLabel.show")?i.getFormattedLabels():[],o=i.getModel("axisLabel"),a=1,r=n.length;r>40&&(a=Math.ceil(r/40));for(var s=0;s<r;s+=a)if(!t.isLabelIgnored(s)){var l=eu(o.getTextRect(n[s]),o.get("rotate")||0);e?e.union(l):e=l}return e}function nu(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}function ou(t,e,i){i.getAxesOnZeroOf=function(){return n?[n]:[]};var n,o=t[e],a=i.model,r=a.get("axisLine.onZero"),s=a.get("axisLine.onZeroAxisIndex");if(r)if(null==s){for(var l in o)if(o.hasOwnProperty(l)&&au(o[l])){n=o[l];break}}else au(o[s])&&(n=o[s])}function au(t){return t&&"category"!==t.type&&"time"!==t.type&&HD(t)}function ru(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}function su(t,e){return f(jD,function(e){return t.getReferringComponents(e)[0]})}function lu(t){return"cartesian2d"===t.get("coordinateSystem")}function uu(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}function hu(t,e,i,n){var o,a,r=Oo(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return Eo(r-XD/2)?(a=l?"bottom":"top",o="center"):Eo(r-1.5*XD)?(a=l?"top":"bottom",o="center"):(a="middle",o=r<1.5*XD&&r>XD/2?l?"left":"right":l?"right":"left"),{rotation:r,textAlign:o,textVerticalAlign:a}}function cu(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function du(t,e,i){var n=t.get("axisLabel.showMinLabel"),o=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var a=e[0],r=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],h=i[1],c=i[i.length-1],d=i[i.length-2];!1===n?(fu(a),fu(u)):pu(a,r)&&(n?(fu(r),fu(h)):(fu(a),fu(u))),!1===o?(fu(s),fu(c)):pu(l,s)&&(o?(fu(l),fu(d)):(fu(s),fu(c)))}function fu(t){t&&(t.ignore=!0)}function pu(t,e,i){var n=t&&t.getBoundingRect().clone(),o=e&&e.getBoundingRect().clone();if(n&&o){var a=lt([]);return dt(a,a,-t.rotation),n.applyTransform(ht([],a,t.getLocalTransform())),o.applyTransform(ht([],a,e.getLocalTransform())),n.intersect(o)}}function gu(t){return"middle"===t||"center"===t}function mu(t,e,i){var n=e.axis;if(e.get("axisTick.show")&&!n.scale.isBlank()){for(var o=e.getModel("axisTick"),a=o.getModel("lineStyle"),s=o.get("length"),l=JD(o,i.labelInterval),u=n.getTicksCoords(o.get("alignWithLabel")),h=n.scale.getTicks(),c=e.get("axisLabel.showMinLabel"),d=e.get("axisLabel.showMaxLabel"),f=[],p=[],g=t._transform,m=[],v=u.length,y=0;y<v;y++)if(!$D(n,y,l,v,c,d)){var x=u[y];f[0]=x,f[1]=0,p[0]=x,p[1]=i.tickDirection*s,g&&(Q(f,f,g),Q(p,p,g));var _=new Xb(Gn({anid:"tick_"+h[y],shape:{x1:f[0],y1:f[1],x2:p[0],y2:p[1]},style:r(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(_),m.push(_)}return m}}function vu(t,e,i){var n=e.axis;if(D(i.axisLabelShow,e.get("axisLabel.show"))&&!n.scale.isBlank()){var o=e.getModel("axisLabel"),a=o.get("margin"),r=n.scale.getTicks(),s=e.getFormattedLabels(),l=(D(i.labelRotate,o.get("rotate"))||0)*XD/180,u=KD(i.rotation,l,i.labelDirection),h=e.getCategories(!0),c=[],f=cu(e),p=e.get("triggerEvent"),g=e.get("axisLabel.showMinLabel"),m=e.get("axisLabel.showMaxLabel");return d(r,function(l,d){if(!$D(n,d,i.labelInterval,r.length,g,m)){var v=o;h&&h[l]&&h[l].textStyle&&(v=new wo(h[l].textStyle,o,e.ecModel));var y=v.getTextColor()||e.get("axisLine.lineStyle.color"),x=[n.dataToCoord(l),i.labelOffset+i.labelDirection*a],_=n.scale.getLabel(l),w=new Rb({anid:"label_"+l,position:x,rotation:u.rotation,silent:f,z2:10});no(w.style,v,{text:s[d],textAlign:v.getShallow("align",!0)||u.textAlign,textVerticalAlign:v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||u.textVerticalAlign,textFill:"function"==typeof y?y("category"===n.type?_:"value"===n.type?l+"":l,d):y}),p&&(w.eventData=uu(e),w.eventData.targetType="axisLabel",w.eventData.value=_),t._dumbGroup.add(w),w.updateTransform(),c.push(w),t.group.add(w),w.decomposeTransform()}}),c}}function yu(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return xu(i,t,e),i.seriesInvolved&&wu(i,t),i}function xu(t,e,i){var n=e.getComponent("tooltip"),o=e.getComponent("axisPointer"),a=o.get("link",!0)||[],r=[];QD(i.getCoordinateSystems(),function(i){function s(n,s,l){var c=l.model.getModel("axisPointer",o),d=c.get("show");if(d&&("auto"!==d||n||Tu(c))){null==s&&(s=c.get("triggerTooltip"));var f=(c=n?_u(l,h,o,e,n,s):c).get("snap"),p=Au(l.model),g=s||f||"category"===l.type,m=t.axesInfo[p]={key:p,axis:l,coordSys:i,axisPointerModel:c,triggerTooltip:s,involveSeries:g,snap:f,useHandle:Tu(c),seriesModels:[]};u[p]=m,t.seriesInvolved|=g;var v=bu(a,l);if(null!=v){var y=r[v]||(r[v]={axesInfo:{}});y.axesInfo[p]=m,y.mapper=a[v].mapper,m.linkGroup=y}}}if(i.axisPointerEnabled){var l=Au(i.model),u=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=i;var h=i.model.getModel("tooltip",n);if(QD(i.getAxes(),tT(s,!1,null)),i.getTooltipAxes&&n&&h.get("show")){var c="axis"===h.get("trigger"),d="cross"===h.get("axisPointer.type"),f=i.getTooltipAxes(h.get("axisPointer.axis"));(c||d)&&QD(f.baseAxes,tT(s,!d||"cross",c)),d&&QD(f.otherAxes,tT(s,"cross",!1))}}})}function _u(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};QD(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=i(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get("label.show");if(h.show=null==c||c,!s){var d=u.lineStyle=l.get("crossStyle");d&&r(h,d.textStyle)}}return t.model.getModel("axisPointer",new wo(u,n,o))}function wu(t,e){e.eachSeries(function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),o=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==o&&!1!==e.get("axisPointer.show",!0)&&QD(t.coordSysAxesInfo[Au(i.model)],function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})},this)}function bu(t,e){for(var i=e.model,n=e.dim,o=0;o<t.length;o++){var a=t[o]||{};if(Su(a[n+"AxisId"],i.id)||Su(a[n+"AxisIndex"],i.componentIndex)||Su(a[n+"AxisName"],i.name))return o}}function Su(t,e){return"all"===t||y(t)&&l(t,e)>=0||t===e}function Mu(t){var e=Iu(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,o=i.option,a=i.get("status"),r=i.get("value");null!=r&&(r=n.parse(r));var s=Tu(i);null==a&&(o.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==r||r>l[1])&&(r=l[1]),r<l[0]&&(r=l[0]),o.value=r,s&&(o.status=e.axis.scale.isBlank()?"hide":"show")}}function Iu(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Au(t)]}function Du(t){var e=Iu(t);return e&&e.axisPointerModel}function Tu(t){return!!t.get("handle.show")}function Au(t){return t.type+"||"+t.id}function Cu(t,e,i,n,o,a){var r=eT.getAxisPointerClass(t.axisPointerClass);if(r){var s=Du(e);s?(t._axisPointer||(t._axisPointer=new r)).render(e,s,n,a):Lu(t,n)}}function Lu(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}function ku(t,e,i){i=i||{};var n=t.coordinateSystem,o=e.axis,a={},r=o.getAxesOnZeroOf()[0],s=o.position,l=r?"onZero":s,u=o.dim,h=n.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===u?[c[2]-f,c[3]+f]:[c[0]-f,c[1]+f];if(r){var g=r.toGlobalCoord(r.dataToCoord(0));p[d.onZero]=Math.max(Math.min(g,p[1]),p[0])}a.position=["y"===u?p[d[l]]:c[0],"x"===u?p[d[l]]:c[3]],a.rotation=Math.PI/2*("x"===u?0:1);a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=r?p[d[s]]-p[d.onZero]:0,e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),D(i.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var m=e.get("axisLabel.rotate");return a.labelRotate="top"===l?-m:m,a.labelInterval=o.getLabelInterval(),a.z2=1,a}function Pu(t,e,i,n,o,a,r){io(t,e,i.getModel("label"),i.getModel("emphasis.label"),{labelFetcher:o,labelDataIndex:a,defaultText:Sl(o.getData(),a),isRectText:!0,autoColor:n}),Nu(t),Nu(e)}function Nu(t,e){"outside"===t.textPosition&&(t.textPosition=e)}function Ou(t,e,i){i.style.text=null,fo(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function Eu(t,e,i){i.style.text=null,fo(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}function Ru(t,e,i,n,o,a,s,l){var u=e.getItemVisual(i,"color"),h=e.getItemVisual(i,"opacity"),c=n.getModel("itemStyle"),d=n.getModel("emphasis.itemStyle").getBarItemStyle();l||t.setShape("r",c.get("barBorderRadius")||0),t.useStyle(r({fill:u,opacity:h},c.getBarItemStyle()));var f=n.getShallow("cursor");f&&t.attr("cursor",f);var p=s?o.height>0?"bottom":"top":o.width>0?"left":"right";l||Pu(t.style,d,n,u,a,i,p),eo(t,d)}function zu(t,e){var i=t.get(cT)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}function Bu(t,e,i,n){var o=e.getData(),a=this.dataIndex,r=o.getName(a),s=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:r,seriesId:e.id}),o.each(function(t){Vu(o.getItemGraphicEl(t),o.getItemLayout(t),e.isSelected(o.getName(t)),s,i)})}function Vu(t,e,i,n,o){var a=(e.startAngle+e.endAngle)/2,r=Math.cos(a),s=Math.sin(a),l=i?n:0,u=[r*l,s*l];o?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function Gu(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function n(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}L_.call(this);var o=new Gb({z2:2}),a=new Ub,r=new Rb;this.add(o),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function Fu(t,e,i,n,o,a,r){function s(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function l(t,e,i,n,o,a){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++)if("center"!==t[s].position){var u=Math.abs(t[s].y-n),h=t[s].len,c=t[s].len2,d=u<o+h?Math.sqrt((o+h+c)*(o+h+c)-u*u):Math.abs(t[s].x-i);e&&d>=r&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=i+d*a,r=d}}t.sort(function(t,e){return t.y-e.y});for(var u,h=0,c=t.length,d=[],f=[],p=0;p<c;p++)(u=t[p].y-h)<0&&function(e,i,n,o){for(var a=e;a<i;a++)if(t[a].y+=n,a>e&&a+1<i&&t[a+1].y>t[a].y+t[a].height)return void s(a,n/2);s(i-1,n/2)}(p,c,-u),h=t[p].y+t[p].height;r-h<0&&s(c-1,h-r);for(p=0;p<c;p++)t[p].y>=i?f.push(t[p]):d.push(t[p]);l(d,!1,e,i,n,o),l(f,!0,e,i,n,o)}function Wu(t,e,i,n,o,a){for(var r=[],s=[],l=0;l<t.length;l++)t[l].x<e?r.push(t[l]):s.push(t[l]);Fu(s,e,i,n,1,o,a),Fu(r,e,i,n,-1,o,a);for(l=0;l<t.length;l++){var u=t[l].linePoints;if(u){var h=u[1][0]-u[2][0];t[l].x<e?u[2][0]=t[l].x+3:u[2][0]=t[l].x-3,u[1][1]=u[2][1]=t[l].y,u[1][0]=u[2][0]+h}}}function Hu(){this.group=new L_}function Zu(t,e,i){cD.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}function Uu(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=f(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new Zu(i,new OI);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.startAngle}function ju(t,e){return r({show:e},t)}function Xu(t){return y(t)||(t=[+t,+t]),t}function Yu(){o_.call(this)}function qu(t){this.name=t,this.zoomLimit,o_.call(this),this._roamTransformable=new Yu,this._rawTransformable=new Yu,this._center,this._zoom}function Ku(t,e,i,n){var o=i.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[t](n):null}function $u(t,e,i,n,o){qu.call(this,t),this.map=e,this._nameCoordMap=R(),this.loadGeoJson(i,n,o)}function Ju(t,e,i,n){var o=i.geoModel,a=i.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem||(a.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[t](n):null}function Qu(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],o=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(o[0])||isNaN(o[1])||this.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1])}var a,r=this.getBoundingRect(),s=t.get("layoutCenter"),l=t.get("layoutSize"),u=e.getWidth(),h=e.getHeight(),c=t.get("aspectScale")||.75,d=r.width/r.height*c,f=!1;s&&l&&(s=[To(s[0],u),To(s[1],h)],l=To(l,Math.min(u,h)),isNaN(s[0])||isNaN(s[1])||isNaN(l)||(f=!0));if(f){var p={};d>1?(p.width=l,p.height=l/d):(p.height=l,p.width=l*d),p.y=s[1]-p.height/2,p.x=s[0]-p.width/2}else(a=t.getBoxLayoutParams()).aspect=d,p=Qo(a,{width:u,height:h});this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function th(t,e){d(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}function eh(t,e,i){oh(t)[e]=i}function ih(t,e,i){var n=oh(t);n[e]===i&&(n[e]=null)}function nh(t,e){return!!oh(t)[e]}function oh(t){return t[GT]||(t[GT]={})}function ah(t){this.pointerChecker,this._zr=t,this._opt={};var e=m,n=e(rh,this),o=e(sh,this),a=e(lh,this),s=e(uh,this),l=e(hh,this);Kx.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,u){this.disable(),this._opt=r(i(u)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",l))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",a),t.off("mousewheel",s),t.off("pinch",l)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function rh(t){if(!(ci(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function sh(t){if(!ci(t)&&dh(this,"moveOnMouseMove",t)&&this._dragging&&"pinch"!==t.gestureEvent&&!nh(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,o=this._y,a=e-n,r=i-o;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&rw(t.event),this.trigger("pan",a,r,n,o,e,i)}}function lh(t){ci(t)||(this._dragging=!1)}function uh(t){if(dh(this,"zoomOnMouseWheel",t)&&0!==t.wheelDelta){var e=t.wheelDelta>0?1.1:1/1.1;ch.call(this,t,e,t.offsetX,t.offsetY)}}function hh(t){if(!nh(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;ch.call(this,t,e,t.pinchX,t.pinchY)}}function ch(t,e,i,n){this.pointerChecker&&this.pointerChecker(t,i,n)&&(rw(t.event),this.trigger("zoom",e,i,n))}function dh(t,e,i){var n=t._opt[e];return n&&(!_(n)||i.event[n+"Key"])}function fh(t,e,i){var n=t.target,o=n.position;o[0]+=e,o[1]+=i,n.dirty()}function ph(t,e,i,n){var o=t.target,a=t.zoomLimit,r=o.position,s=o.scale,l=t.zoom=t.zoom||1;if(l*=e,a){var u=a.min||0,h=a.max||1/0;l=Math.max(Math.min(h,l),u)}var c=l/t.zoom;t.zoom=l,r[0]-=(i-r[0])*(c-1),r[1]-=(n-r[1])*(c-1),s[0]*=c,s[1]*=c,o.dirty()}function gh(t,e,i){var n=e.getComponentByElement(t.topTarget),o=n&&n.coordinateSystem;return n&&n!==i&&!FT[n.mainType]&&o&&o.model!==i}function mh(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(i.fill=n),i}function vh(t,e,i,n,o){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var r=a.target;!r.__regions;)r=r.parent;if(r){var s={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:f(r.__regions,function(t){return{name:t.name,from:o.uid}})};s[e.mainType+"Id"]=e.id,n.dispatchAction(s),yh(e,i)}}}))}function yh(t,e){e.eachChild(function(e){d(e.__regions,function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")})})}function xh(t,e){var i=new L_;this._controller=new ah(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag}function _h(t,e,i){var n=t.getZoom(),o=t.getCenter(),a=e.zoom,r=t.dataToPoint(o);if(null!=e.dx&&null!=e.dy){r[0]-=e.dx,r[1]-=e.dy;o=t.pointToData(r);t.setCenter(o)}if(null!=a){if(i){var s=i.min||0,l=i.max||1/0;a=Math.max(Math.min(n*a,l),s)/n}t.scale[0]*=a,t.scale[1]*=a;var u=t.position,h=(e.originX-u[0])*(a-1),c=(e.originY-u[1])*(a-1);u[0]-=h,u[1]-=c,t.updateTransform();o=t.pointToData(r);t.setCenter(o),t.setZoom(a*n)}return{center:t.getCenter(),zoom:t.getZoom()}}function wh(t,e){var i={};return d(t,function(t){t.each(t.mapDimension("value"),function(e,n){var o="ec-"+t.getName(n);i[o]=i[o]||[],isNaN(e)||i[o].push(e)})}),t[0].map(t[0].mapDimension("value"),function(n,o){for(var a="ec-"+t[0].getName(o),r=0,s=1/0,l=-1/0,u=i[a].length,h=0;h<u;h++)s=Math.min(s,i[a][h]),l=Math.max(l,i[a][h]),r+=i[a][h];var c;return c="min"===e?s:"max"===e?l:"average"===e?r/u:r,0===u?NaN:c})}function bh(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,Ah(e,i,t),WT(i,function(i){WT(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,v(Sh,t))})}),e.wrapMethod("cloneShallow",v(Ih,t)),WT(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,v(Mh,t))}),k(i[e.dataType]===e)}function Sh(t,e){if(Th(this)){var i=a({},this[HT]);i[this.dataType]=e,Ah(e,i,t)}else Ch(e,this.dataType,this[ZT],t);return e}function Mh(t,e){return t.struct&&t.struct.update(this),e}function Ih(t,e){return WT(e[HT],function(i,n){i!==e&&Ch(i.cloneShallow(),n,e,t)}),e}function Dh(t){var e=this[ZT];return null==t||null==e?e:e[HT][t]}function Th(t){return t[ZT]===t}function Ah(t,e,i){t[HT]={},WT(e,function(e,n){Ch(e,n,t,i)})}function Ch(t,e,i,n){i[HT][e]=t,t[ZT]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=Dh}function Lh(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=f(e||[],function(e){return new wo(e,t,t.ecModel)}),this.leavesModel=new wo(i||{},t,t.ecModel)}function kh(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}function Ph(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,i,n=[t];e=n.pop();)if(i=e.children,e.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},n.push(a)}}function Nh(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,o=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){Bh(t);var a=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;o?(t.hierNode.prelim=o.hierNode.prelim+e(t,o),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else o&&(t.hierNode.prelim=o.hierNode.prelim+e(t,o));t.parentNode.hierNode.defaultAncestor=Vh(t,o,t.parentNode.hierNode.defaultAncestor||n[0],e)}function Oh(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function Eh(t){return arguments.length?t:Zh}function Rh(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function zh(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Bh(t){for(var e=t.children,i=e.length,n=0,o=0;--i>=0;){var a=e[i];a.hierNode.prelim+=n,a.hierNode.modifier+=n,o+=a.hierNode.change,n+=a.hierNode.shift+o}}function Vh(t,e,i,n){if(e){for(var o=t,a=t,r=a.parentNode.children[0],s=e,l=o.hierNode.modifier,u=a.hierNode.modifier,h=r.hierNode.modifier,c=s.hierNode.modifier;s=Gh(s),a=Fh(a),s&&a;){o=Gh(o),r=Fh(r),o.hierNode.ancestor=t;var d=s.hierNode.prelim+c-a.hierNode.prelim-u+n(s,a);d>0&&(Hh(Wh(s,t,i),t,d),u+=d,l+=d),c+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=o.hierNode.modifier,h+=r.hierNode.modifier}s&&!Gh(o)&&(o.hierNode.thread=s,o.hierNode.modifier+=c-l),a&&!Fh(r)&&(r.hierNode.thread=a,r.hierNode.modifier+=u-h,i=t)}return i}function Gh(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function Fh(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function Wh(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function Hh(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function Zh(t,e){return t.parentNode===e.parentNode?1:2}function Uh(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)&&"none"!==t.getItemVisual(e,"symbol")}function jh(t,e,i){return i.itemModel=e,i.itemStyle=e.getModel("itemStyle").getItemStyle(),i.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),i.lineStyle=e.getModel("lineStyle").getLineStyle(),i.labelModel=e.getModel("label"),i.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?i.symbolInnerColor=i.itemStyle.fill:i.symbolInnerColor="#fff",i}function Xh(t,e,i,n,o,a){var s=!i,l=t.tree.getNodeByDataIndex(e),a=jh(l,l.getModel(),a),u=t.tree.root,h=l.parentNode===u?l:l.parentNode||l,c=t.getItemGraphicEl(h.dataIndex),d=h.getLayout(),f=c?{x:c.position[0],y:c.position[1],rawX:c.__radialOldRawX,rawY:c.__radialOldRawY}:d,p=l.getLayout();s?(i=new Dl(t,e,a)).attr("position",[f.x,f.y]):i.updateData(t,e,a),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=p.rawX,i.__radialRawY=p.rawY,n.add(i),t.setItemGraphicEl(e,i),fo(i,{position:[p.x,p.y]},o);var g=i.getSymbolPath();if("radial"===a.layout){var m,v,y=u.children[0],x=y.getLayout(),_=y.children.length;if(p.x===x.x&&!0===l.isExpand){var w={};w.x=(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,w.y=(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2,(m=Math.atan2(w.y-x.y,w.x-x.x))<0&&(m=2*Math.PI+m),(v=w.x<x.x)&&(m-=Math.PI)}else(m=Math.atan2(p.y-x.y,p.x-x.x))<0&&(m=2*Math.PI+m),0===l.children.length||0!==l.children.length&&!1===l.isExpand?(v=p.x<x.x)&&(m-=Math.PI):(v=p.x>x.x)||(m-=Math.PI);var b=v?"left":"right";g.setStyle({textPosition:b,textRotation:-m,textOrigin:"center",verticalAlign:"middle"})}if(l.parentNode&&l.parentNode!==u){var S=i.__edge;S||(S=i.__edge=new qb({shape:qh(a,f,f),style:r({opacity:0},a.lineStyle)})),fo(S,{shape:qh(a,d,p),style:{opacity:1}},o),n.add(S)}}function Yh(t,e,i,n,o,a){for(var r,s=t.tree.getNodeByDataIndex(e),l=t.tree.root,a=jh(s,s.getModel(),a),u=s.parentNode===l?s:s.parentNode||s;null==(r=u.getLayout());)u=u.parentNode===l?u:u.parentNode||u;fo(i,{position:[r.x+1,r.y+1]},o,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var h=i.__edge;h&&fo(h,{shape:qh(a,r,r),style:{opacity:0}},o,function(){n.remove(h)})}function qh(t,e,i){var n,o,a,r,s=t.orient;if("radial"===t.layout){var l=e.rawX,u=e.rawY,h=i.rawX,c=i.rawY,d=Rh(l,u),f=Rh(l,u+(c-u)*t.curvature),p=Rh(h,c+(u-c)*t.curvature),g=Rh(h,c);return{x1:d.x,y1:d.y,x2:g.x,y2:g.y,cpx1:f.x,cpy1:f.y,cpx2:p.x,cpy2:p.y}}var l=e.x,u=e.y,h=i.x,c=i.y;return"LR"!==s&&"RL"!==s||(n=l+(h-l)*t.curvature,o=u,a=h+(l-h)*t.curvature,r=c),"TB"!==s&&"BT"!==s||(n=l,o=u+(c-u)*t.curvature,a=h,r=c+(u-c)*t.curvature),{x1:l,y1:u,x2:h,y2:c,cpx1:n,cpy1:o,cpx2:a,cpy2:r}}function Kh(t,e,i){for(var n,o=[t],a=[];n=o.pop();)if(a.push(n),n.isExpand){var r=n.children;if(r.length)for(var s=0;s<r.length;s++)o.push(r[s])}for(;n=a.pop();)e(n,i)}function $h(t,e){for(var i,n=[t];i=n.pop();)if(e(i),i.isExpand){var o=i.children;if(o.length)for(var a=o.length-1;a>=0;a--)n.push(o[a])}}function Jh(t,e,i){if(t&&l(e,t.type)>=0){var n=i.getData().tree.root,o=t.targetNode;if(o&&n.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=n.getNodeById(a)))return{node:o}}}function Qh(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function tc(t,e){return l(Qh(t),e)>=0}function ec(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}function ic(t){var e=0;d(t.children,function(t){ic(t);var i=t.value;y(i)&&(i=i[0]),e+=i});var i=t.value;y(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),y(t.value)?t.value[0]=i:t.value=i}function nc(t,e){var i=e.get("color");if(i){var n;return d(t=t||[],function(t){var e=new wo(t),i=e.get("color");(e.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)}),n||((t[0]||(t[0]={})).color=i.slice()),t}}function oc(t){this.group=new L_,t.add(this.group)}function ac(t,e,i,n,o,a){var r=[[o?t:t-XT,e],[t+i,e],[t+i,e+n],[o?t:t-XT,e+n]];return!a&&r.splice(2,0,[t+i+XT,e+n/2]),!o&&r.push([t,e+n/2]),r}function rc(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&ec(i,e)}}function sc(){var t,e=[],i={};return{add:function(t,n,o,a,r){return _(a)&&(r=a,a=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:n,time:o,delay:a,easing:r}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,o=0,a=e.length;o<a;o++){var r=e[o];r.el.animateTo(r.target,r.time,r.delay,r.easing,function(){--n||(e.length=0,i={},t&&t())})}return this}}}function lc(t,e,n,o,r,s,l,u,h,c){function d(t,e){w?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function f(e,n,o,a,r,s){var u=l.getModel(),h=D(t.getFormattedLabel(l.dataIndex,"normal",null,null,s?"upperLabel":"label"),u.get("name"));if(!s&&v.isLeafRoot){var c=t.get("drillDownIcon",!0);h=c?c+" "+h:h}var d=u.getModel(s?tA:JT),f=u.getModel(s?eA:QT),p=d.getShallow("show");io(e,n,d,f,{defaultText:p?h:null,autoColor:o,isRectText:!0}),s&&(e.textRect=i(s)),e.truncate=p&&d.get("ellipsis")?{outerWidth:a,outerHeight:r,minChar:2}:null}function p(t,i,o,a){var s=null!=S&&n[t][S],l=r[t];return s?(n[t][S]=null,g(l,s,t)):w||((s=new i({z:uc(o,a)})).__tmDepth=o,s.__tmStorageName=t,m(l,s,t)),e[t][b]=s}function g(t,e,i){(t[b]={}).old="nodeGroup"===i?e.position.slice():a({},e.shape)}function m(t,e,i){var n=t[b]={},a=l.parentNode;if(a&&(!o||"drillDown"===o.direction)){var s=0,u=0,h=r.background[a.getRawIndex()];!o&&h&&h.old&&(s=h.old.width,u=h.old.height),n.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}n.fadein="nodeGroup"!==i}if(l){var v=l.getLayout();if(v&&v.isInView){var y=v.width,x=v.height,_=v.borderWidth,w=v.invisible,b=l.getRawIndex(),S=u&&u.getRawIndex(),M=l.viewChildren,I=v.upperHeight,T=M&&M.length,A=l.getModel("itemStyle"),C=l.getModel("emphasis.itemStyle"),L=p("nodeGroup",qT);if(L){if(h.add(L),L.attr("position",[v.x||0,v.y||0]),L.__tmNodeWidth=y,L.__tmNodeHeight=x,v.isAboveViewRoot)return L;var k=p("background",KT,c,nA);if(k&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:y,height:x});var o=l.getVisual("borderColor",!0),a=C.get("borderColor");d(i,function(){var t=rA(A);t.fill=o;var e=aA(C);if(e.fill=a,n){var r=y-2*_;f(t,e,o,r,I,{x:_,y:0,width:r,height:I})}else t.text=e.text=null;i.setStyle(t),eo(i,e)}),e.add(i)}(L,k,T&&v.upperHeight),!T){var P=p("content",KT,c,oA);P&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(y-2*_,0),o=Math.max(x-2*_,0);i.culling=!0,i.setShape({x:_,y:_,width:n,height:o});var a=l.getVisual("color",!0);d(i,function(){var t=rA(A);t.fill=a;var e=aA(C);f(t,e,a,n,o),i.setStyle(t),eo(i,e)}),e.add(i)}(L,P)}return L}}}}function uc(t,e){var i=t*iA+e;return(i-1)/i}function hc(t){var e=t.pieceList;t.hasSpecialVisual=!1,d(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}function cc(t){var e=t.categories,i=t.visual,n=t.categoryMap={};if(uA(e,function(t,e){n[t]=e}),!y(i)){var o=[];w(i)?uA(i,function(t,e){var i=n[e];o[null!=i?i:cA]=t}):o[cA]=i,i=_c(t,o)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}function dc(t,e){var i=t.visual,n=[];w(i)?uA(i,function(t){n.push(t)}):null!=i&&n.push(i);e||1!==n.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(n[1]=n[0]),_c(t,n)}function fc(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:yc([0,1])}}function pc(t){var e=this.option.visual;return e[Math.round(Do(t,[0,1],[0,e.length-1],!0))]||{}}function gc(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function mc(t){var e=this.option.visual;return e[this.option.loop&&t!==cA?t%e.length:t]}function vc(){return this.option.visual[0]}function yc(t){return{linear:function(e){return Do(e,t,this.option.visual,!0)},category:mc,piecewise:function(e,i){var n=xc.call(this,i);return null==n&&(n=Do(e,t,this.option.visual,!0)),n},fixed:vc}}function xc(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[dA.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function _c(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=f(e,function(t){return At(t)})),e}function wc(t,e,i){return t?e<=i:e<i}function bc(t,e,i,n,o,a){var r=t.getModel(),s=t.getLayout();if(s&&!s.invisible&&s.isInView){var l,u=t.getModel(mA),h=Sc(u,e,i[t.depth],n),c=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(c=Ic(f,l=Mc(h))),t.setVisual("borderColor",c);var p=t.viewChildren;if(p&&p.length){var g=Tc(t,r,s,u,h,p);d(p,function(t,e){(t.depth>=o.length||t===o[t.depth])&&bc(t,Cc(r,h,t,e,g,a),i,n,o,a)})}else l=Mc(h),t.setVisual("color",l)}}function Sc(t,e,i,n){var o=a({},e);return d(["color","colorAlpha","colorSaturation"],function(a){var r=t.get(a,!0);null==r&&i&&(r=i[a]),null==r&&(r=e[a]),null==r&&(r=n.get(a)),null!=r&&(o[a]=r)}),o}function Mc(t){var e=Dc(t,"color");if(e){var i=Dc(t,"colorAlpha"),n=Dc(t,"colorSaturation");return n&&(e=Et(e,null,null,n)),i&&(e=Rt(e,i)),e}}function Ic(t,e){return null!=e?Et(e,null,null,t):null}function Dc(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function Tc(t,e,i,n,o,a){if(a&&a.length){var r=Ac(e,"color")||null!=o.color&&"none"!==o.color&&(Ac(e,"colorAlpha")||Ac(e,"colorSaturation"));if(r){var s=e.get("visualMin"),l=e.get("visualMax"),u=i.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:r.name,dataExtent:u,visual:r.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var d=new dA(c);return d.__drColorMappingBy=h,d}}}function Ac(t,e){var i=t.get(e);return gA(i)&&i.length?{name:e,range:i}:null}function Cc(t,e,i,n,o,r){var s=a({},e);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,h="index"===u?n:"id"===u?r.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(h)}return s}function Lc(t,e,i,n){var o,a;if(!t.isRemoved()){var r=t.getLayout();o=r.width,a=r.height;var s=(f=t.getModel()).get(bA),l=f.get(SA)/2,u=Gc(f),h=Math.max(s,u),c=s-l,d=h-l,f=t.getModel();t.setLayout({borderWidth:s,upperHeight:h,upperLabelHeight:u},!0);var p=(o=yA(o-2*c,0))*(a=yA(a-c-d,0)),g=kc(t,f,p,e,i,n);if(g.length){var m={x:c,y:d,width:o,height:a},v=xA(o,a),y=1/0,x=[];x.area=0;for(var _=0,w=g.length;_<w;){var b=g[_];x.push(b),x.area+=b.getLayout().area;var S=Ec(x,v,e.squareRatio);S<=y?(_++,y=S):(x.area-=x.pop().getLayout().area,Rc(x,v,m,l,!1),v=xA(m.width,m.height),x.length=x.area=0,y=1/0)}if(x.length&&Rc(x,v,m,l,!0),!i){var M=f.get("childrenVisibleMin");null!=M&&p<M&&(i=!0)}for(var _=0,w=g.length;_<w;_++)Lc(g[_],e,i,n+1)}}}function kc(t,e,i,n,o,a){var r=t.children||[],s=n.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=n.leafDepth&&n.leafDepth<=a;if(o&&!l)return t.viewChildren=[];Nc(r=g(r,function(t){return!t.isRemoved()}),s);var u=Oc(e,r,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=Pc(e,i,u.sum,s,r),0===u.sum)return t.viewChildren=[];for(var h=0,c=r.length;h<c;h++){var d=r[h].getValue()/u.sum*i;r[h].setLayout({area:d})}return l&&(r.length&&t.setLayout({isLeafRoot:!0},!0),r.length=0),t.viewChildren=r,t.setLayout({dataExtent:u.dataExtent},!0),r}function Pc(t,e,i,n,o){if(!n)return i;for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===n?r-l-1:l].getValue();u/i*e<a&&(s=l,i-=u)}return"asc"===n?o.splice(0,r-s):o.splice(s,r-s),i}function Nc(t,e){return e&&t.sort(function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n}),t}function Oc(t,e,i){for(var n=0,o=0,a=e.length;o<a;o++)n+=e[o].getValue();var r=t.get("visualDimension");if(e&&e.length)if("value"===r&&i)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&s.reverse();else{var s=[1/0,-1/0];wA(e,function(t){var e=t.getValue(r);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function Ec(t,e,i){for(var n,o=0,a=1/0,r=0,s=t.length;r<s;r++)(n=t[r].getLayout().area)&&(n<a&&(a=n),n>o&&(o=n));var l=t.area*t.area,u=e*e*i;return l?yA(u*o/l,l/(u*a)):1/0}function Rc(t,e,i,n,o){var a=e===i.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=i[s[a]],h=e?t.area/e:0;(o||h>i[l[r]])&&(h=i[l[r]]);for(var c=0,d=t.length;c<d;c++){var f=t[c],p={},g=h?f.getLayout().area/h:0,m=p[l[r]]=yA(h-2*n,0),v=i[s[a]]+i[l[a]]-u,y=c===d-1||v<g?v:g,x=p[l[a]]=yA(y-2*n,0);p[s[r]]=i[s[r]]+xA(n,m/2),p[s[a]]=u+xA(n,x/2),u+=y,f.setLayout(p,!0)}i[s[r]]+=h,i[l[r]]-=h}function zc(t,e,i,n,o){var a=(e||{}).node,r=[n,o];if(!a||a===i)return r;for(var s,l=n*o,u=l*t.option.zoomToNodeRatio;s=a.parentNode;){for(var h=0,c=s.children,d=0,f=c.length;d<f;d++)h+=c[d].getValue();var p=a.getValue();if(0===p)return r;u*=h/p;var g=s.getModel(),m=g.get(bA);(u+=4*m*m+(3*m+Math.max(m,Gc(g)))*Math.pow(u,.5))>mS&&(u=mS),a=s}u<l&&(u=l);var v=Math.pow(u/l,.5);return[n*v,o*v]}function Bc(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var o=i.node,a=o.getLayout();if(!a)return n;for(var r=[a.width/2,a.height/2],s=o;s;){var l=s.getLayout();r[0]+=l.x,r[1]+=l.y,s=s.parentNode}return{x:t.width/2-r[0],y:t.height/2-r[1]}}function Vc(t,e,i,n,o){var a=t.getLayout(),r=i[o],s=r&&r===t;if(!(r&&!s||o===i.length&&t!==n)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var l=new $t(e.x-a.x,e.y-a.y,e.width,e.height);wA(t.viewChildren||[],function(t){Vc(t,l,i,n,o+1)})}}function Gc(t){return t.get(MA)?t.get(IA):0}function Fc(t){return"_EC_"+t}function Wc(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function Hc(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}function Zc(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}function Uc(t){return"_"+t+"Type"}function jc(t,e,i){var n=e.getItemVisual(i,"color"),o=e.getItemVisual(i,t),a=e.getItemVisual(i,t+"Size");if(o&&"none"!==o){y(a)||(a=[a,a]);var r=ml(o,-a[0]/2,-a[1]/2,a[0],a[1],n);return r.name=t,r}}function Xc(t){var e=new OA({name:"line"});return Yc(e.shape,t),e}function Yc(t,e){var i=e[0],n=e[1],o=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,o?(t.cpx1=o[0],t.cpy1=o[1]):(t.cpx1=NaN,t.cpy1=NaN)}function qc(t,e,i){L_.call(this),this._createLine(t,e,i)}function Kc(t){this._ctor=t||qc,this.group=new L_}function $c(t,e,i,n){if(ed(e.getItemLayout(i))){var o=new t._ctor(e,i,n);e.setItemGraphicEl(i,o),t.group.add(o)}}function Jc(t,e,i,n,o,a){var r=e.getItemGraphicEl(n);ed(i.getItemLayout(o))?(r?r.updateData(i,o,a):r=new t._ctor(i,o,a),i.setItemGraphicEl(o,r),t.group.add(r)):t.group.remove(r)}function Qc(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function td(t){return isNaN(t[0])||isNaN(t[1])}function ed(t){return!td(t[0])&&!td(t[1])}function id(t,e,i){for(var n,o=t[0],a=t[1],r=t[2],s=1/0,l=i*i,u=.1,h=.1;h<=.9;h+=.1)BA[0]=FA(o[0],a[0],r[0],h),BA[1]=FA(o[1],a[1],r[1],h),(f=HA(WA(BA,e)-l))<s&&(s=f,n=h);for(var c=0;c<32;c++){var d=n+u;VA[0]=FA(o[0],a[0],r[0],n),VA[1]=FA(o[1],a[1],r[1],n),GA[0]=FA(o[0],a[0],r[0],d),GA[1]=FA(o[1],a[1],r[1],d);var f=WA(VA,e)-l;if(HA(f)<.01)break;var p=WA(GA,e)-l;u/=2,f<0?p>=0?n+=u:n-=u:p>=0?n-=u:n+=u}return n}function nd(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function od(t,e,i){var n=t.getGraphicEl(),o=nd(t,e);null!=i&&(null==o&&(o=1),o*=i),n.downplay&&n.downplay(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",o)})}function ad(t,e){var i=nd(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}function rd(t){return t instanceof Array||(t=[t,t]),t}function sd(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),ld(i)}}function ld(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,i=F(t.node1.getLayout()),n=F(t.node2.getLayout()),o=[i,n];+e&&o.push([(i[0]+n[0])/2-(i[1]-n[1])*e,(i[1]+n[1])/2-(n[0]-i[0])*e]),t.setLayout(o)})}function ud(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=e.getBoundingRect(),n=t.getData(),o=n.graph,a=0,r=n.getSum("value"),s=2*Math.PI/(r||n.count()),l=i.width/2+i.x,u=i.height/2+i.y,h=Math.min(i.width,i.height)/2;o.eachNode(function(t){var e=t.getValue("value");a+=s*(r?e:1)/2,t.setLayout([h*Math.cos(a)+l,h*Math.sin(a)+u]),a+=s*(r?e:1)/2}),n.setLayout({cx:l,cy:u}),o.eachEdge(function(t){var e,i=t.getModel().get("lineStyle.curveness")||0,n=F(t.node1.getLayout()),o=F(t.node2.getLayout()),a=(n[0]+o[0])/2,r=(n[1]+o[1])/2;+i&&(e=[l*(i*=3)+a*(1-i),u*i+r*(1-i)]),t.setLayout([n,o,e])})}}function hd(t,e,i){for(var n=i.rect,o=n.width,a=n.height,r=[n.x+o/2,n.y+a/2],s=null==i.gravity?.1:i.gravity,l=0;l<t.length;l++){var u=t[l];u.p||(u.p=V(o*(Math.random()-.5)+r[0],a*(Math.random()-.5)+r[1])),u.pp=F(u.p),u.edges=null}var h=.6;return{warmUp:function(){h=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(i){for(var n=[],o=t.length,a=0;a<e.length;a++){var l=e[a],u=l.n1;U(n,(p=l.n2).p,u.p);var c=j(n)-l.d,d=p.w/(u.w+p.w);isNaN(d)&&(d=0),q(n,n),!u.fixed&&XA(u.p,u.p,n,d*c*h),!p.fixed&&XA(p.p,p.p,n,-(1-d)*c*h)}for(a=0;a<o;a++)(v=t[a]).fixed||(U(n,r,v.p),XA(v.p,v.p,n,s*h));for(a=0;a<o;a++)for(var u=t[a],f=a+1;f<o;f++){var p=t[f];U(n,p.p,u.p),0===(c=j(n))&&(W(n,Math.random()-.5,Math.random()-.5),c=1);var g=(u.rep+p.rep)/c/c;!u.fixed&&XA(u.pp,u.pp,n,g),!p.fixed&&XA(p.pp,p.pp,n,-g)}for(var m=[],a=0;a<o;a++){var v=t[a];v.fixed||(U(m,v.p,v.pp),XA(v.p,v.p,m,h),G(v.pp,v.p))}h*=.992,i&&i(t,e,h<.01)}}}function cd(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,Qo(n,{width:e.getWidth(),height:e.getHeight()})}function dd(t,e){var i=t.get("center"),n=e.getWidth(),o=e.getHeight(),a=Math.min(n,o);return{cx:To(i[0],e.getWidth()),cy:To(i[1],e.getHeight()),r:To(t.get("radius"),a/2)}}function fd(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}function pd(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function n(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}L_.call(this);var o=new Zb,a=new Ub,r=new Rb;this.add(o),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function gd(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function md(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,function(t){return t}),o=[],a="ascending"===e,r=0,s=t.count();r<s;r++)o[r]=r;return"function"==typeof e?o.sort(e):"none"!==e&&o.sort(function(t,e){return a?n[t]-n[e]:n[e]-n[t]}),o}function vd(t){t.each(function(e){var i,n,o,a,r=t.getItemModel(e),s=r.getModel("label").get("position"),l=r.getModel("labelLine"),u=t.getItemLayout(e),h=u.points,c="inner"===s||"inside"===s||"center"===s;if(c)i="center",a=[[n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4],[n,o]];else{var d,f,p,g=l.get("length");"left"===s?(d=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,n=(p=d-g)-5,i="right"):(d=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,n=(p=d+g)+5,i="left");var m=f;a=[[d,f],[p,m]],o=m}u.label={linePoints:a,x:n,y:o,verticalAlign:"middle",textAlign:i,inside:c}})}function yd(t){if(!t.parallel){var e=!1;d(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function xd(t){d(Si(t.parallelAxis),function(e){if(w(e)){var i=e.parallelIndex||0,o=Si(t.parallel)[i];o&&o.parallelAxisDefault&&n(e,o.parallelAxisDefault,!1)}})}function _d(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function wd(t,e){return Math.min(e[1],Math.max(e[0],t))}function bd(t,e,i){this._axesMap=R(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function Sd(t,e){return iC(nC(t,e[0]),e[1])}function Md(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function Id(t,e){var i,n,o=e.layoutLength,a=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],u=a,h=!0):(i=o-(r-1-t)*s,n=s),{position:i,axisNameAvailableWidth:u,axisLabelShow:h,nameTruncateMaxWidth:n}}function Dd(t){Kx.call(this),this._zr=t,this.group=new L_,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+bC++,this._handlers={},hC(SC,function(t,e){this._handlers[e]=m(t,this)},this)}function Td(t,e){var o=t._zr;t._enableGlobalPan||eh(o,yC,t._uid),hC(t._handlers,function(t,e){o.on(e,t)}),t._brushType=e.brushType,t._brushOption=n(i(wC),e,!0)}function Ad(t){var e=t._zr;ih(e,yC,t._uid),hC(t._handlers,function(t,i){e.off(i,t)}),t._brushType=t._brushOption=null}function Cd(t,e){var i=MC[e.brushType].createCover(t,e);return i.__brushOption=e,Pd(i,e),t.group.add(i),i}function Ld(t,e){var i=Od(e);return i.endCreating&&(i.endCreating(t,e),Pd(e,e.__brushOption)),e}function kd(t,e){var i=e.__brushOption;Od(e).updateCoverShape(t,e,i.range,i)}function Pd(t,e){var i=e.z;null==i&&(i=gC),t.traverse(function(t){t.z=i,t.z2=i})}function Nd(t,e){Od(e).updateCommon(t,e),kd(t,e)}function Od(t){return MC[t.__brushOption.brushType]}function Ed(t,e,i){var n=t._panels;if(!n)return!0;var o,a=t._transform;return hC(n,function(t){t.isTargetByCursor(e,i,a)&&(o=t)}),o}function Rd(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function zd(t){var e=t._covers,i=e.length;return hC(e,function(e){t.group.remove(e)},t),e.length=0,!!i}function Bd(t,e){var n=cC(t._covers,function(t){var e=t.__brushOption,n=i(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function Vd(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],o=i[0]-n[0],a=i[1]-n[1];return pC(o*o+a*a,.5)>mC}function Gd(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function Fd(t,e,i,n){var o=new L_;return o.add(new jb({name:"main",style:Ud(i),silent:!0,draggable:!0,cursor:"move",drift:uC(t,e,o,"nswe"),ondragend:uC(Bd,e,{isEnd:!0})})),hC(n,function(i){o.add(new jb({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:uC(t,e,o,i),ondragend:uC(Bd,e,{isEnd:!0})}))}),o}function Wd(t,e,i,n){var o=n.brushStyle.lineWidth||0,a=fC(o,vC),r=i[0][0],s=i[1][0],l=r-o/2,u=s-o/2,h=i[0][1],c=i[1][1],d=h-a+o/2,f=c-a+o/2,p=h-r,g=c-s,m=p+o,v=g+o;Zd(t,e,"main",r,s,p,g),n.transformable&&(Zd(t,e,"w",l,u,a,v),Zd(t,e,"e",d,u,a,v),Zd(t,e,"n",l,u,m,a),Zd(t,e,"s",l,f,m,a),Zd(t,e,"nw",l,u,a,a),Zd(t,e,"ne",d,u,a,a),Zd(t,e,"sw",l,f,a,a),Zd(t,e,"se",d,f,a,a))}function Hd(t,e){var i=e.__brushOption,n=i.transformable,o=e.childAt(0);o.useStyle(Ud(i)),o.attr({silent:!n,cursor:n?"move":"default"}),hC(["w","e","n","s","se","sw","ne","nw"],function(i){var o=e.childOfName(i),a=Yd(t,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?_C[a]+"-resize":null})})}function Zd(t,e,i,n,o,a,r){var s=e.childOfName(i);s&&s.setShape(Qd(Jd(t,e,[[n,o],[n+a,o+r]])))}function Ud(t){return r({strokeNoScale:!0},t.brushStyle)}function jd(t,e,i,n){var o=[dC(t,i),dC(e,n)],a=[fC(t,i),fC(e,n)];return[[o[0],a[0]],[o[1],a[1]]]}function Xd(t){return go(t.group)}function Yd(t,e){if(e.length>1)return("e"===(i=[Yd(t,(e=e.split(""))[0]),Yd(t,e[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i=vo({w:"left",e:"right",n:"top",s:"bottom"}[e],Xd(t));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}function qd(t,e,i,n,o,a,r,s){var l=n.__brushOption,u=t(l.range),h=$d(i,a,r);hC(o.split(""),function(t){var e=xC[t];u[e[0]][e[1]]+=h[e[0]]}),l.range=e(jd(u[0][0],u[1][0],u[0][1],u[1][1])),Nd(i,n),Bd(i,{isEnd:!1})}function Kd(t,e,i,n,o){var a=e.__brushOption.range,r=$d(t,i,n);hC(a,function(t){t[0]+=r[0],t[1]+=r[1]}),Nd(t,e),Bd(t,{isEnd:!1})}function $d(t,e,i){var n=t.group,o=n.transformCoordToLocal(e,i),a=n.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function Jd(t,e,n){var o=Rd(t,e);return o&&!0!==o?o.clipPath(n,t._transform):i(n)}function Qd(t){var e=dC(t[0][0],t[1][0]),i=dC(t[0][1],t[1][1]);return{x:e,y:i,width:fC(t[0][0],t[1][0])-e,height:fC(t[0][1],t[1][1])-i}}function tf(t,e,i){if(t._brushType){var n=t._zr,o=t._covers,a=Ed(t,e,i);if(!t._dragging)for(var r=0;r<o.length;r++){var s=o[r].__brushOption;if(a&&(!0===a||s.panelId===a.panelId)&&MC[s.brushType].contain(o[r],i[0],i[1]))return}a&&n.setCursorStyle("crosshair")}}function ef(t){var e=t.event;e.preventDefault&&e.preventDefault()}function nf(t,e,i){return t.childOfName("main").contain(e,i)}function of(t,e,n,o){var a,r=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),Vd(t)||r){if(s&&!r){"single"===l.brushMode&&zd(t);var u=i(l);u.brushType=af(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=t._creatingCover=Cd(t,u),t._covers.push(r)}if(r){var h=MC[af(t._brushType,s)];r.__brushOption.range=h.getCreatingRange(Jd(t,r,t._track)),o&&(Ld(t,r),h.updateCommon(t,r)),kd(t,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&Ed(t,e,n)&&zd(t)&&(a={isEnd:o,removeOnClick:!0});return a}function af(t,e){return"auto"===t?e.defaultBrushType:t}function rf(t){if(this._dragging){ef(t);var e=of(this,t,this.group.transformCoordToLocal(t.offsetX,t.offsetY),!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&Bd(this,e)}}function sf(t){return{createCover:function(e,i){return Fd(uC(qd,function(e){var i=[e,[0,100]];return t&&i.reverse(),i},function(e){return e[t]}),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=Gd(e);return[dC(i[0][t],i[1][t]),fC(i[0][t],i[1][t])]},updateCoverShape:function(e,i,n,o){var a,r=Rd(e,i);if(!0!==r&&r.getLinearBrushOtherExtent)a=r.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,a];t&&l.reverse(),Wd(e,i,l,o)},updateCommon:Hd,contain:nf}}function lf(t){return t=cf(t),function(e,i){return xo(e,t)}}function uf(t,e){return t=cf(t),function(i){var n=null!=e?e:i,o=n?t.width:t.height,a=n?t.x:t.y;return[a,a+(o||0)]}}function hf(t,e,i){return t=cf(t),function(n,o,a){return t.contain(o[0],o[1])&&!gh(n,e,i)}}function cf(t){return $t.create(t)}function df(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}function ff(t){var e=t.axis;return f(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function pf(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}function gf(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}function mf(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(i){var n=t.encodeDefine=R();d(i.dimensions,function(t){var e=vf(t);n.set(t,e)})}}}function vf(t){return+t.replace("dim","")}function yf(t,e,i){var n=t.model,o=t.getRect(),a=new jb({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),r="horizontal"===n.get("layout")?"width":"height";return a.setShape(r,0),po(a,{shape:{width:o.width,height:o.height}},e,i),a}function xf(t,e,i,n){for(var o=[],a=0;a<i.length;a++){var r=i[a],s=t.get(t.mapDimension(r),e);bf(s,n.getAxis(r).type)||o.push(n.dataToPoint(s,r))}return o}function _f(t,e,i,n,o){var a=xf(t,i,n,o),r=new Ub({shape:{points:a},silent:!0,z2:10});e.add(r),t.setItemGraphicEl(i,r)}function wf(t,e){var i=t.hostModel.getModel("lineStyle"),n=i.getLineStyle();t.eachItemGraphicEl(function(o,r){if(t.hasItemOption){var s=t.getItemModel(r).getModel("lineStyle",i);n=s.getLineStyle(["color","stroke"])}o.useStyle(a(n,{fill:null,stroke:t.getItemVisual(r,"color"),opacity:t.getItemVisual(r,"opacity")})),o.shape.smooth=e})}function bf(t,e){return"category"===e?null==t:null==t||isNaN(t)}function Sf(t,e,i){var n=new jb({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return po(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}function Mf(){function t(e,n){if(n>=i.length)return e;for(var o=-1,a=e.length,r=i[n++],s={},l={};++o<a;){var u=r(e[o]),h=l[u];h?h.push(e[o]):l[u]=[e[o]]}return d(l,function(e,i){s[i]=t(e,n)}),s}function e(t,o){if(o>=i.length)return t;var a=[],r=n[o++];return d(t,function(t,i){a.push({key:i,values:e(t,o)})}),r?a.sort(function(t,e){return r(t.key,e.key)}):a}var i=[],n=[];return{key:function(t){return i.push(t),this},sortKeys:function(t){return n[i.length-1]=t,this},entries:function(i){return e(t(i,0),0)}}}function If(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Df(t,e,i,n,o,a,r){Af(t,i,o),kf(t,e,a,n,r),Bf(t)}function Tf(t){d(t,function(t){var e=Ff(t.outEdges,Uf),i=Ff(t.inEdges,Uf),n=Math.max(e,i);t.setLayout({value:n},!0)})}function Af(t,e,i){for(var n=t,o=null,a=0;n.length;){o=[];for(var r=0,s=n.length;r<s;r++){var l=n[r];l.setLayout({x:a},!0),l.setLayout({dx:e},!0);for(var u=0,h=l.outEdges.length;u<h;u++)o.push(l.outEdges[u].node2)}n=o,++a}Cf(t,a),Lf(t,(i-e)/(a-1))}function Cf(t,e){d(t,function(t){t.outEdges.length||t.setLayout({x:e-1},!0)})}function Lf(t,e){d(t,function(t){var i=t.getLayout().x*e;t.setLayout({x:i},!0)})}function kf(t,e,i,n,o){var a=Mf().key(function(t){return t.getLayout().x}).sortKeys(Zf).entries(t).map(function(t){return t.values});Pf(t,a,e,i,n),Nf(a,n,i);for(var r=1;o>0;o--)Of(a,r*=.99),Nf(a,n,i),Rf(a,r),Nf(a,n,i)}function Pf(t,e,i,n,o){var a=[];d(e,function(t){var e=t.length,i=0;d(t,function(t){i+=t.getLayout().value});var r=(n-(e-1)*o)/i;a.push(r)}),a.sort(function(t,e){return t-e});var r=a[0];d(e,function(t){d(t,function(t,e){t.setLayout({y:e},!0);var i=t.getLayout().value*r;t.setLayout({dy:i},!0)})}),d(i,function(t){var e=+t.getValue()*r;t.setLayout({dy:e},!0)})}function Nf(t,e,i){d(t,function(t){var n,o,a,r=0,s=t.length;for(t.sort(Hf),a=0;a<s;a++){if(n=t[a],(o=r-n.getLayout().y)>0){l=n.getLayout().y+o;n.setLayout({y:l},!0)}r=n.getLayout().y+n.getLayout().dy+e}if((o=r-e-i)>0){var l=n.getLayout().y-o;for(n.setLayout({y:l},!0),r=n.getLayout().y,a=s-2;a>=0;--a)(o=(n=t[a]).getLayout().y+n.getLayout().dy+e-r)>0&&(l=n.getLayout().y-o,n.setLayout({y:l},!0)),r=n.getLayout().y}})}function Of(t,e){d(t.slice().reverse(),function(t){d(t,function(t){if(t.outEdges.length){var i=Ff(t.outEdges,Ef)/Ff(t.outEdges,Uf),n=t.getLayout().y+(i-Wf(t))*e;t.setLayout({y:n},!0)}})})}function Ef(t){return Wf(t.node2)*t.getValue()}function Rf(t,e){d(t,function(t){d(t,function(t){if(t.inEdges.length){var i=Ff(t.inEdges,zf)/Ff(t.inEdges,Uf),n=t.getLayout().y+(i-Wf(t))*e;t.setLayout({y:n},!0)}})})}function zf(t){return Wf(t.node1)*t.getValue()}function Bf(t){d(t,function(t){t.outEdges.sort(Vf),t.inEdges.sort(Gf)}),d(t,function(t){var e=0,i=0;d(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),d(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}function Vf(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function Gf(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function Ff(t,e){for(var i=0,n=t.length,o=-1;++o<n;){var a=+e.call(t,t[o],o);isNaN(a)||(i+=a)}return i}function Wf(t){return t.getLayout().y+t.getLayout().dy/2}function Hf(t,e){return t.getLayout().y-e.getLayout().y}function Zf(t,e){return t<e?-1:t>e?1:t===e?0:NaN}function Uf(t){return t.getValue()}function jf(t,e,i,n){L_.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(t,e,n),this.updateData(t,e,n),this._seriesModel}function Xf(t,e,i){return f(t,function(t){return t=t.slice(),t[e]=i.initBaseline,t})}function Yf(t){var e={};return d(t,function(t,i){e["ends"+i]=t}),e}function qf(t){this.group=new L_,this.styleUpdater=t}function Kf(t,e,i){var n=e.getItemModel(i),o=n.getModel(RC),a=e.getItemVisual(i,"color"),r=o.getItemStyle(["borderColor"]),s=t.childAt(t.whiskerIndex);s.style.set(r),s.style.stroke=a,s.dirty();var l=t.childAt(t.bodyIndex);l.style.set(r),l.style.stroke=a,l.dirty(),eo(t,n.getModel(zC).getItemStyle())}function $f(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var n=t.getBaseAxis(),o=l(i,n);o<0&&(o=i.length,i[o]=n,e[o]={axis:n,seriesModels:[]}),e[o].seriesModels.push(t)}),e}function Jf(t){var e,i,n=t.axis,o=t.seriesModels,a=o.length,r=t.boxWidthList=[],s=t.boxOffsetList=[],l=[];if("category"===n.type)i=n.getBandWidth();else{var u=0;VC(o,function(t){u=Math.max(u,t.getData().count())}),e=n.getExtent(),Math.abs(e[1]-e[0])}VC(o,function(t){var e=t.get("boxWidth");y(e)||(e=[e,e]),l.push([To(e[0],i)||0,To(e[1],i)||0])});var h=.8*i-2,c=h/a*.3,d=(h-c*(a-1))/a,f=d/2-h/2;VC(o,function(t,e){s.push(f),f+=c+d,r.push(Math.min(Math.max(d,l[e][0]),l[e][1]))})}function Qf(t,e,i){var n,o=t.coordinateSystem,a=t.getData(),r=i/2,s=t.get("layout"),l="horizontal"===s?0:1,u=1-l,h=["x","y"],c=[];d(a.dimensions,function(t){var e=a.getDimensionInfo(t).coordDim;e===h[u]?c.push(t):e===h[l]&&(n=t)}),null==n||c.length<5||a.each([n].concat(c),function(){function t(t){var i=[];i[l]=d,i[u]=t;var n;return isNaN(d)||isNaN(t)?n=[NaN,NaN]:(n=o.dataToPoint(i))[l]+=e,n}function i(t,e){var i=t.slice(),n=t.slice();i[l]+=r,n[l]-=r,e?y.push(i,n):y.push(n,i)}function n(t){var e=[t.slice(),t.slice()];e[0][l]-=r,e[1][l]+=r,v.push(e)}var h=arguments,d=h[0],f=h[c.length+1],p=t(h[3]),g=t(h[1]),m=t(h[5]),v=[[g,t(h[2])],[m,t(h[4])]];n(g),n(m),n(p);var y=[];i(v[0][1],0),i(v[1][1],1),a.setItemLayout(f,{chartLayout:s,initBaseline:p[u],median:p,bodyEnds:y,whiskerEnds:v})})}function tp(t,e,i){var n=e.getItemModel(i),o=n.getModel(GC),a=e.getItemVisual(i,"color"),r=e.getItemVisual(i,"borderColor")||a,s=o.getItemStyle(["color","color0","borderColor","borderColor0"]),l=t.childAt(t.whiskerIndex);l.useStyle(s),l.style.stroke=r;var u=t.childAt(t.bodyIndex);u.useStyle(s),u.style.fill=a,u.style.stroke=r,eo(t,n.getModel(FC).getItemStyle())}function ep(t,e){var i,n=t.getBaseAxis(),o="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),a=To(jC(t.get("barMaxWidth"),o),o),r=To(jC(t.get("barMinWidth"),1),o),s=t.get("barWidth");return null!=s?To(s,o):Math.max(Math.min(o/2,a),r)}function ip(t){return y(t)||(t=[+t,+t]),t}function np(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function op(t,e){L_.call(this);var i=new Dl(t,e),n=new L_;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}function ap(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=f(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),o([e,t[0],t[1]])}))}function rp(t,e,i){L_.call(this),this.add(this.createLine(t,e,i)),this._updateEffectSymbol(t,e)}function sp(t,e,i){L_.call(this),this._createPolyline(t,e,i)}function lp(t,e,i){rp.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}function up(){this.group=new L_}function hp(t){return t instanceof Array||(t=[t,t]),t}function cp(){var t=Vx();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}function dp(t,e,i){var n=t[1]-t[0],o=(e=f(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,a=0;return function(t){for(n=a;n<o;n++)if((r=e[n].interval)[0]<=t&&t<=r[1]){a=n;break}if(n===o)for(var n=a-1;n>=0;n--){var r=e[n].interval;if(r[0]<=t&&t<=r[1]){a=n;break}}return n>=0&&n<o&&i[n]}}function fp(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}function pp(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}function gp(t,e,i,n){var o=t.getItemLayout(e),a=i.get("symbolRepeat"),r=i.get("symbolClip"),s=i.get("symbolPosition")||"start",l=(i.get("symbolRotate")||0)*Math.PI/180||0,u=i.get("symbolPatternSize")||2,h=i.isAnimationEnabled(),c={dataIndex:e,layout:o,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:r,symbolRepeat:a,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:h?i:null,hoverAnimation:h&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};mp(i,a,o,n,c),yp(t,e,o,a,r,c.boundingLength,c.pxSign,u,n,c),xp(i,c.symbolScale,l,n,c);var d=c.symbolSize,f=i.get("symbolOffset");return y(f)&&(f=[To(f[0],d[0]),To(f[1],d[1])]),_p(i,d,o,a,r,f,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,n,c),c}function mp(t,e,i,n,o){var a,r=n.valueDim,s=t.get("symbolBoundingData"),l=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),h=1-+(i[r.wh]<=0);if(y(s)){var c=[vp(l,s[0])-u,vp(l,s[1])-u];c[1]<c[0]&&c.reverse(),a=c[h]}else a=null!=s?vp(l,s)-u:e?n.coordSysExtent[r.index][h]-u:i[r.wh];o.boundingLength=a,e&&(o.repeatCutLength=i[r.wh]),o.pxSign=a>0?1:a<0?-1:0}function vp(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function yp(t,e,i,n,o,a,r,s,l,u){var h=l.valueDim,c=l.categoryDim,d=Math.abs(i[c.wh]),f=t.getItemVisual(e,"symbolSize");y(f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]),f[c.index]=To(f[c.index],d),f[h.index]=To(f[h.index],n?d:Math.abs(a)),u.symbolSize=f,(u.symbolScale=[f[0]/s,f[1]/s])[h.index]*=(l.isHorizontal?-1:1)*r}function xp(t,e,i,n,o){var a=t.get(sL)||0;a&&(uL.attr({scale:e.slice(),rotation:i}),uL.updateTransform(),a/=uL.getLineScale(),a*=e[n.valueDim.index]),o.valueLineWidth=a}function _p(t,e,i,n,o,r,s,l,u,h,c,d){var f=c.categoryDim,p=c.valueDim,g=d.pxSign,m=Math.max(e[p.index]+l,0),v=m;if(n){var y=Math.abs(u),x=D(t.get("symbolMargin"),"15%")+"",_=!1;x.lastIndexOf("!")===x.length-1&&(_=!0,x=x.slice(0,x.length-1)),x=To(x,e[p.index]);var w=Math.max(m+2*x,0),b=_?0:2*x,S=Fo(n),M=S?n:zp((y+b)/w);w=m+2*(x=(y-M*m)/2/(_?M:M-1)),b=_?0:2*x,S||"fixed"===n||(M=h?zp((Math.abs(h)+b)/w):0),v=M*w-b,d.repeatTimes=M,d.symbolMargin=x}var I=g*(v/2),T=d.pathPosition=[];T[f.index]=i[f.wh]/2,T[p.index]="start"===s?I:"end"===s?u-I:u/2,r&&(T[0]+=r[0],T[1]+=r[1]);var A=d.bundlePosition=[];A[f.index]=i[f.xy],A[p.index]=i[p.xy];var C=d.barRectShape=a({},i);C[p.wh]=g*Math.max(Math.abs(i[p.wh]),Math.abs(T[p.index]+I)),C[f.wh]=i[f.wh];var L=d.clipShape={};L[f.xy]=-i[f.xy],L[f.wh]=c.ecSize[f.wh],L[p.xy]=0,L[p.wh]=i[p.wh]}function wp(t){var e=t.symbolPatternSize,i=ml(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function bp(t,e,i,n){function o(t){var e=l.slice(),n=i.pxSign,o=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(o=h-1-t),e[u.index]=d*(o-h/2+.5)+l[u.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}var a=t.__pictorialBundle,r=i.symbolSize,s=i.valueLineWidth,l=i.pathPosition,u=e.valueDim,h=i.repeatTimes||0,c=0,d=r[e.valueDim.index]+s+2*i.symbolMargin;for(Op(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=h,c<h?Ep(t,null,o(c),i,n):Ep(t,null,{scale:[0,0]},i,n,function(){a.remove(t)}),Cp(t,i),c++});c<h;c++){var f=wp(i);f.__pictorialAnimationIndex=c,f.__pictorialRepeatTimes=h,a.add(f);var p=o(c);Ep(f,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},i,n),f.on("mouseover",function(){Op(t,function(t){t.trigger("emphasis")})}).on("mouseout",function(){Op(t,function(t){t.trigger("normal")})}),Cp(f,i)}}function Sp(t,e,i,n){var o=t.__pictorialBundle,a=t.__pictorialMainPath;a?Ep(a,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(a=t.__pictorialMainPath=wp(i),o.add(a),Ep(a,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),a.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),Cp(a,i)}function Mp(t,e,i){var n=a({},e.barRectShape),o=t.__pictorialBarRect;o?Ep(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new jb({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function Ip(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,r=a({},i.clipShape),s=e.valueDim,l=i.animationModel,u=i.dataIndex;if(o)fo(o,{shape:r},l,u);else{r[s.wh]=0,o=new jb({shape:r}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[s.wh]=i.clipShape[s.wh],sS[n?"updateProps":"initProps"](o,{shape:h},l,u)}}}function Dp(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=Tp,i.isAnimationEnabled=Ap,i}function Tp(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function Ap(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Cp(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function Lp(t,e,i,n){var o=new L_,a=new L_;return o.add(a),o.__pictorialBundle=a,a.attr("position",i.bundlePosition.slice()),i.symbolRepeat?bp(o,e,i):Sp(o,e,i),Mp(o,i,n),Ip(o,e,i,n),o.__pictorialShapeStr=Np(t,i),o.__pictorialSymbolMeta=i,o}function kp(t,e,i){var n=i.animationModel,o=i.dataIndex;fo(t.__pictorialBundle,{position:i.bundlePosition.slice()},n,o),i.symbolRepeat?bp(t,e,i,!0):Sp(t,e,i,!0),Mp(t,i,!0),Ip(t,e,i,!0)}function Pp(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var a=[];Op(n,function(t){a.push(t)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),d(a,function(t){fo(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function Np(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Op(t,e,i){d(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function Ep(t,e,i,n,o,a){e&&t.attr(e),n.symbolClip&&!o?i&&t.attr(i):i&&sS[o?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,a)}function Rp(t,e,i){var n=i.color,o=i.dataIndex,a=i.itemModel,s=a.getModel("itemStyle").getItemStyle(["color"]),l=a.getModel("emphasis.itemStyle").getItemStyle(),u=a.getShallow("cursor");Op(t,function(t){t.setColor(n),t.setStyle(r({fill:n,opacity:i.opacity},s)),eo(t,l),u&&(t.cursor=u),t.z2=i.z2});var h={},c=e.valueDim.posDesc[+(i.boundingLength>0)],d=t.__pictorialBarRect;Pu(d.style,h,a,n,e.seriesModel,o,c),eo(d,h)}function zp(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}function Bp(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}function Vp(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,o={},a=n.position,r=n.orient,s=i.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};o.position=["vertical"===r?u.vertical[a]:l[0],"horizontal"===r?u.horizontal[a]:l[3]];o.rotation=Math.PI/2*{horizontal:0,vertical:1}[r];o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],t.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),D(e.labelInside,t.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var h=e.rotate;return null==h&&(h=t.get("axisLabel.rotate")),o.labelRotation="top"===a?-h:h,o.labelInterval=n.getLabelInterval(),o.z2=1,o}function Gp(t,e,i,n,o){var r=t.axis;if(!r.scale.isBlank()&&r.containData(e))if(t.involveSeries){var s=Fp(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&a(o,l[0]),!n&&t.snap&&r.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l,o),i.showTooltip(t,s,u)}else i.showPointer(t,e)}function Fp(t,e){var i=e.axis,n=i.dim,o=t,a=[],r=Number.MAX_VALUE,s=-1;return vL(e.seriesModels,function(e,l){var u,h,c=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(c,t,i);h=d.dataIndices,u=d.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===i.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=r&&((p<r||f>=0&&s<0)&&(r=p,s=f,o=u,a.length=0),vL(h,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:o}}function Wp(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function Hp(t,e,i,n){var o=i.payloadBatch,a=e.axis,r=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&o.length){var l=e.coordSys.model,u=Au(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:a.dim,axisIndex:r.componentIndex,axisType:r.type,axisId:r.id,value:n,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:o.slice()})}}function Zp(t,e,i){var n=i.axesInfo=[];vL(e,function(e,i){var o=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(o.status="show"),o.value=a.value,o.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(o.status="hide"),"show"===o.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:o.value})})}function Up(t,e,i,n){if(!qp(e)&&t.list.length){var o=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function jp(t,e,i){var n=i.getZr(),o=xL(n).axisPointerLastHighlights||{},a=xL(n).axisPointerLastHighlights={};vL(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&vL(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t})});var r=[],s=[];d(o,function(t,e){!a[e]&&s.push(t)}),d(a,function(t,e){!o[e]&&r.push(t)}),s.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:s}),r.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:r})}function Xp(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function Yp(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function qp(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Kp(t,e,i){if(!Ax.node){var n=e.getZr();_L(n).records||(_L(n).records={}),$p(n,e),(_L(n).records[t]||(_L(n).records[t]={})).handler=i}}function $p(t,e){function i(i,n){t.on(i,function(i){var o=eg(e);wL(_L(t).records,function(t){t&&n(t,i,o.dispatchAction)}),Jp(o.pendings,e)})}_L(t).initialized||(_L(t).initialized=!0,i("click",v(tg,"click")),i("mousemove",v(tg,"mousemove")),i("globalout",Qp))}function Jp(t,e){var i,n=t.showTip.length,o=t.hideTip.length;n?i=t.showTip[n-1]:o&&(i=t.hideTip[o-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function Qp(t,e,i){t.handler("leave",null,i)}function tg(t,e,i,n){e.handler(t,i,n)}function eg(t){var e={showTip:[],hideTip:[]},i=function(n){var o=e[n.type];o?o.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function ig(t,e){if(!Ax.node){var i=e.getZr();(_L(i).records||{})[t]&&(_L(i).records[t]=null)}}function ng(){}function og(t,e,i,n){ag(SL(i).lastProp,n)||(SL(i).lastProp=n,e?fo(i,n,t):(i.stopAnimation(),i.attr(n)))}function ag(t,e){if(w(t)&&w(e)){var i=!0;return d(e,function(e,n){i=i&&ag(t[n],e)}),!!i}return t===e}function rg(t,e){t[e.get("label.show")?"show":"hide"]()}function sg(t){return{position:t.position.slice(),rotation:t.rotation||0}}function lg(t,e,i){var n=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=o&&(t.zlevel=o),t.silent=i)})}function ug(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e}function hg(t,e,i,n,o){var a=dg(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),r=i.getModel("label"),s=xS(r.get("padding")||0),l=r.getFont(),u=me(a,l),h=o.position,c=u.width+s[1]+s[3],d=u.height+s[0]+s[2],f=o.align;"right"===f&&(h[0]-=c),"center"===f&&(h[0]-=c/2);var p=o.verticalAlign;"bottom"===p&&(h[1]-=d),"middle"===p&&(h[1]-=d/2),cg(h,c,d,n);var g=r.get("backgroundColor");g&&"auto"!==g||(g=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:c,height:d,r:r.get("borderRadius")},position:h.slice(),style:{text:a,textFont:l,textFill:r.getTextColor(),textPosition:"inside",fill:g,stroke:r.get("borderColor")||"transparent",lineWidth:r.get("borderWidth")||0,shadowBlur:r.get("shadowBlur"),shadowColor:r.get("shadowColor"),shadowOffsetX:r.get("shadowOffsetX"),shadowOffsetY:r.get("shadowOffsetY")},z2:10}}function cg(t,e,i,n){var o=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,o)-e,t[1]=Math.min(t[1]+i,a)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function dg(t,e,i,n,o){var a=e.scale.getLabel(t,{precision:o.precision}),r=o.formatter;if(r){var s={value:pl(e,t),seriesData:[]};d(n,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,o=e&&e.getDataParams(n);o&&s.seriesData.push(o)}),_(r)?a=r.replace("{value}",a):x(r)&&(a=r(s))}return a}function fg(t,e,i){var n=st();return dt(n,n,i.rotation),ct(n,n,i.position),mo([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function pg(t,e,i,n,o,a){var r=YD.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=o.get("label.margin"),hg(e,n,o,a,{position:fg(n.axis,t,i),align:r.textAlign,verticalAlign:r.textVerticalAlign})}function gg(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function mg(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function vg(t,e,i,n,o,a){return{cx:t,cy:e,r0:i,r:n,startAngle:o,endAngle:a,clockwise:!0}}function yg(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}function xg(t){return"x"===t.dim?0:1}function _g(t){return t.isHorizontal()?0:1}function wg(t,e){var i=t.getRect();return[i[AL[e]],i[AL[e]]+i[CL[e]]]}function bg(t,e,i){var n=new jb({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return po(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}function Sg(t,e,i){if(t.count())for(var n,o=e.coordinateSystem,a=e.getLayerSeries(),r=t.mapDimension("single"),s=t.mapDimension("value"),l=f(a,function(e){return f(e.indices,function(e){var i=o.dataToPoint(t.get(r,e));return i[1]=t.get(s,e),i})}),u=Mg(l),h=u.y0,c=i/u.max,d=a.length,p=a[0].indices.length,g=0;g<p;++g){n=h[g]*c,t.setItemLayout(a[0].indices[g],{layerIndex:0,x:l[0][g][0],y0:n,y:l[0][g][1]*c});for(var m=1;m<d;++m)n+=l[m-1][g][1]*c,t.setItemLayout(a[m].indices[g],{layerIndex:m,x:l[m][g][0],y0:n,y:l[m][g][1]*c})}}function Mg(t){for(var e=t.length,i=t[0].length,n=[],o=[],a=0,r={},s=0;s<i;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];u>a&&(a=u),n.push(u)}for(var h=0;h<i;++h)o[h]=(a-n[h])/2;a=0;for(var c=0;c<i;++c){var d=n[c]+o[c];d>a&&(a=d)}return r.y0=o,r.max=a,r}function Ig(t){var e=0;d(t.children,function(t){Ig(t);var i=t.value;y(i)&&(i=i[0]),e+=i});var i=t.value;y(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),y(t.value)?t.value[0]=i:t.value=i}function Dg(t,e,i){function n(){r.ignore=r.hoverIgnore}function o(){r.ignore=r.normalIgnore}L_.call(this);var a=new Gb({z2:OL}),r=new Rb({z2:EL,silent:t.getModel("label").get("silent")});this.add(a),this.add(r),this.updateData(!0,t,"normal",e,i),this.on("emphasis",n).on("normal",o).on("mouseover",n).on("mouseout",o)}function Tg(t,e,i){var n=t.getVisual("color"),o=t.getVisual("visualMeta");o&&0!==o.length||(n=null);var a=t.getModel("itemStyle").get("color");if(a)return a;if(n)return n;if(0===t.depth)return i.option.color[0];var r=i.option.color.length;return a=i.option.color[Ag(t)%r]}function Ag(t){for(var e=t;e.depth>1;)e=e.parentNode;return l(t.getAncestors()[0].children,e)}function Cg(t,e,i){return i!==NL.NONE&&(i===NL.SELF?t===e:i===NL.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function Lg(t,e){var i=t.children||[];t.children=kg(i,e),i.length&&d(t.children,function(t){Lg(t,e)})}function kg(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}function Pg(t,e){return e=e||[0,0],f(["x","y"],function(i,n){var o=this.getAxis(i),a=e[n],r=t[n]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-r)-o.dataToCoord(a+r))},this)}function Ng(t,e){return e=e||[0,0],f([0,1],function(i){var n=e[i],o=t[i]/2,a=[],r=[];return a[i]=n-o,r[i]=n+o,a[1-i]=r[1-i]=e[1-i],Math.abs(this.dataToPoint(a)[i]-this.dataToPoint(r)[i])},this)}function Og(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,o=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-o)-i.dataToCoord(n+o))}function Eg(t,e){return f(["Radius","Angle"],function(i,n){var o=this["get"+i+"Axis"](),a=e[n],r=t[n]/2,s="dataTo"+i,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===i&&(l=l*Math.PI/180),l},this)}function Rg(t){var e,i=t.type;if("path"===i){var n=t.shape;(e=Rn(n.pathData,null,{x:n.x||0,y:n.y||0,width:n.width||0,height:n.height||0},"center")).__customPathData=t.pathData}else"image"===i?(e=new Je({})).__customImagePath=t.style.image:"text"===i?(e=new Rb({})).__customText=t.style.text:e=new(0,sS[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}function zg(t,e,n,o,a,r){var s={},l=n.style||{};if(n.shape&&(s.shape=i(n.shape)),n.position&&(s.position=n.position.slice()),n.scale&&(s.scale=n.scale.slice()),n.origin&&(s.origin=n.origin.slice()),n.rotation&&(s.rotation=n.rotation),"image"===t.type&&n.style){u=s.style={};d(["x","y","width","height"],function(e){Bg(e,u,l,t.style,r)})}if("text"===t.type&&n.style){var u=s.style={};d(["x","y"],function(e){Bg(e,u,l,t.style,r)}),!l.hasOwnProperty("textFill")&&l.fill&&(l.textFill=l.fill),!l.hasOwnProperty("textStroke")&&l.stroke&&(l.textStroke=l.stroke)}if("group"!==t.type&&(t.useStyle(l),r)){t.style.opacity=0;var h=l.opacity;null==h&&(h=1),po(t,{style:{opacity:h}},o,e)}r?t.attr(s):fo(t,s,o,e),t.attr({z2:n.z2||0,silent:n.silent}),!1!==n.styleEmphasis&&eo(t,n.styleEmphasis)}function Bg(t,e,i,n,o){null==i[t]||o||(e[t]=i[t],i[t]=n[t])}function Vg(t,e,i,n){function o(t){null==t&&(t=h),v&&(c=e.getItemModel(t),d=c.getModel(WL),f=c.getModel(HL),p=e.getItemVisual(t,"color"),v=!1)}var s=t.get("renderItem"),l=t.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():UL[l.type](l));var h,c,d,f,p,g=r({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,i){return null==i&&(i=h),e.get(e.getDimension(t||0),i)},style:function(i,n){null==n&&(n=h),o(n);var r=c.getModel(GL).getItemStyle();null!=p&&(r.fill=p);var s=e.getItemVisual(n,"opacity");return null!=s&&(r.opacity=s),no(r,d,null,{autoColor:p,isRectText:!0}),r.text=d.getShallow("show")?T(t.getFormattedLabel(n,"normal"),Sl(e,n)):null,i&&a(r,i),r},styleEmphasis:function(i,n){null==n&&(n=h),o(n);var r=c.getModel(FL).getItemStyle();return no(r,f,null,{isRectText:!0},!0),r.text=f.getShallow("show")?A(t.getFormattedLabel(n,"emphasis"),t.getFormattedLabel(n,"normal"),Sl(e,n)):null,i&&a(r,i),r},visual:function(t,i){return null==i&&(i=h),e.getItemVisual(i,t)},barLayout:function(t){if(l.getBaseAxis)return nl(r({axis:l.getBaseAxis()},t),n)},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(t){return ho(t,i)}},u.api||{}),m={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:u.coordSys,dataInsideLength:e.count(),encode:Gg(t.getData())},v=!0;return function(t){return h=t,v=!0,s&&s(r({dataIndexInside:t,dataIndex:e.getRawIndex(t)},m),g)||{}}}function Gg(t){var e={};return d(t.dimensions,function(i,n){var o=t.getDimensionInfo(i);if(!o.isExtraCoord){var a=o.coordDim;(e[a]=e[a]||[])[o.coordDimIndex]=n}}),e}function Fg(t,e,i,n,o,a){return(t=Wg(t,e,i,n,o,a))&&a.setItemGraphicEl(e,t),t}function Wg(t,e,i,n,o,a){var r=i.type;if(!t||r===t.__customGraphicType||"path"===r&&i.pathData===t.__customPathData||"image"===r&&i.style.image===t.__customImagePath||"text"===r&&i.style.text===t.__customText||(o.remove(t),t=null),null!=r){var s=!t;if(!t&&(t=Rg(i)),zg(t,e,i,n,a,s),"group"===r){var l=t.children()||[],u=i.children||[];if(i.diffChildrenByName)Hg({oldChildren:l,newChildren:u,dataIndex:e,animatableModel:n,group:t,data:a});else{for(var h=0;h<u.length;h++)Wg(t.childAt(h),e,u[h],n,t,a);for(;h<l.length;h++)l[h]&&t.remove(l[h])}}return o.add(t),t}}function Hg(t){new bs(t.oldChildren,t.newChildren,Zg,Zg,t).add(Ug).update(Ug).remove(jg).execute()}function Zg(t,e){var i=t&&t.name;return null!=i?i:ZL+e}function Ug(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null;Wg(null!=e?i.oldChildren[e]:null,i.dataIndex,n,i.animatableModel,i.group,i.data)}function jg(t){var e=this.context,i=e.oldChildren[t];i&&e.group.remove(i)}function Xg(t,e,i,n){var o=i.type,a=new(0,sS[o.charAt(0).toUpperCase()+o.slice(1)])(i);e.add(a),n.set(t,a),a.__ecGraphicId=t}function Yg(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){Yg(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function qg(t){return t=a({},t),d(["id","parentId","$action","hv","bounding"].concat(AS),function(e){delete t[e]}),t}function Kg(t,e){var i;return d(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}function $g(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function Jg(t,e,i){var o=a({},i),r=t[e],s=i.$action||"merge";"merge"===s?r?(n(r,o,!0),ia(r,o,{ignoreSize:!0}),oa(i,r)):t[e]=o:"replace"===s?t[e]=o:"remove"===s&&r&&(t[e]=null)}function Qg(t,e){t&&(t.hv=e.hv=[Kg(e,["left","right"]),Kg(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function tm(t,e,i){var n,o={},a="toggleSelected"===t;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name)),d(i.getData(),function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&n:o[e]=n}})}),{name:e.name,selected:o}}function em(t,e,i){var n=e.getBoxLayoutParams(),o=e.get("padding"),a={width:i.getWidth(),height:i.getHeight()},r=Qo(n,a,o);LS(e.get("orient"),t,e.get("itemGap"),r.width,r.height),ta(t,n,a,o)}function im(t,e){var i=xS(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new jb({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}function nm(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function om(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"highlight",seriesName:t.name,name:e})}function am(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"downplay",seriesName:t.name,name:e})}function rm(t,e,i){var n=[1,1];n[t.getOrient().index]=0,ia(e,i,{type:"box",ignoreSize:n})}function sm(t){var e="left "+t+"s cubic-bezier(0.23, 1, 0.32, 1),top "+t+"s cubic-bezier(0.23, 1, 0.32, 1)";return f(ak,function(t){return t+"transition:"+e}).join(";")}function lm(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),nk(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function um(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),o=t.getModel("textStyle"),a=t.get("padding");return i&&e.push(sm(i)),n&&(Ax.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+Pt(n)),e.push("filter:alpha(opacity=70)"))),nk(["width","color","radius"],function(i){var n="border-"+i,o=ok(n),a=t.get(o);null!=a&&e.push(n+":"+a+("color"===i?"":"px"))}),e.push(lm(o)),null!=a&&e.push("padding:"+xS(a).join("px ")+"px"),e.join(";")+";"}function hm(t,e){if(Ax.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!o._enterable){var i=n.handler;li(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}function cm(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(wo.isInstance(i)&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new wo(i,e,e.ecModel))}return e}function dm(t,e){return t.dispatchAction||m(e.dispatchAction,e)}function fm(t,e,i,n,o,a,r){var s=gm(i),l=s.width,u=s.height;return null!=a&&(t+l+a>n?t-=l+a:t+=a),null!=r&&(e+u+r>o?e-=u+r:e+=r),[t,e]}function pm(t,e,i,n,o){var a=gm(i),r=a.width,s=a.height;return t=Math.min(t+r,n)-r,e=Math.min(e+s,o)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function gm(t){var e=t.clientWidth,i=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(t);n&&(e+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),i+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:i}}function mm(t,e,i){var n=i[0],o=i[1],a=0,r=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-n/2,r=e.y+l/2-o/2;break;case"top":a=e.x+s/2-n/2,r=e.y-o-5;break;case"bottom":a=e.x+s/2-n/2,r=e.y+l+5;break;case"left":a=e.x-n-5,r=e.y+l/2-o/2;break;case"right":a=e.x+s+5,r=e.y+l/2-o/2}return[a,r]}function vm(t){return"center"===t||"middle"===t}function ym(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function xm(t){return t.dim}function _m(t,e){var i={};d(t,function(t,e){var n=t.getData(),o=t.coordinateSystem.getBaseAxis(),a=o.getExtent(),r="category"===o.type?o.getBandWidth():Math.abs(a[1]-a[0])/n.count(),s=i[xm(o)]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},l=s.stacks;i[xm(o)]=s;var u=ym(t);l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var h=To(t.get("barWidth"),r),c=To(t.get("barMaxWidth"),r),d=t.get("barGap"),f=t.get("barCategoryGap");h&&!l[u].width&&(h=Math.min(s.remainedWidth,h),l[u].width=h,s.remainedWidth-=h),c&&(l[u].maxWidth=c),null!=d&&(s.gap=d),null!=f&&(s.categoryGap=f)});var n={};return d(i,function(t,e){n[e]={};var i=t.stacks,o=t.bandWidth,a=To(t.categoryGap,o),r=To(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*r);u=Math.max(u,0),d(i,function(t,e){var i=t.maxWidth;i&&i<u&&(i=Math.min(i,s),t.width&&(i=Math.min(i,t.width)),s-=i,t.width=i,l--)}),u=(s-a)/(l+(l-1)*r),u=Math.max(u,0);var h,c=0;d(i,function(t,e){t.width||(t.width=u),h=t,c+=t.width*(1+r)}),h&&(c-=h.width*r);var f=-c/2;d(i,function(t,i){n[e][i]=n[e][i]||{offset:f,width:t.width},f+=t.width*(1+r)})}),n}function wm(t,e){cD.call(this,"radius",t,e),this.type="category"}function bm(t,e){e=e||[0,360],cD.call(this,"angle",t,e),this.type="category"}function Sm(t,e){return e.type||(e.data?"category":"value")}function Mm(t,e,i){var n=e.get("center"),o=i.getWidth(),a=i.getHeight();t.cx=To(n[0],o),t.cy=To(n[1],a);var r=t.getRadiusAxis(),s=Math.min(o,a)/2,l=To(e.get("radius"),s);r.inverse?r.setExtent(l,0):r.setExtent(0,l)}function Im(t,e){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();d(e.mapDimension("radius",!0),function(t){o.scale.unionExtentFromData(e,t)}),d(e.mapDimension("angle",!0),function(t){n.scale.unionExtentFromData(e,t)})}}),hl(n.scale,n.model),hl(o.scale,o.model),"category"===n.type&&!n.onBand){var a=n.getExtent(),r=360/n.scale.count();n.inverse?a[1]+=r:a[1]-=r,n.setExtent(a[0],a[1])}}function Dm(t,e){if(t.type=e.get("type"),t.scale=cl(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}function Tm(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),o=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:o[0],y2:o[1]}}function Am(t){return t.getRadiusAxis().inverse?0:1}function Cm(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}function Lm(t,e,i,n,o){var a=e.axis,r=a.dataToCoord(t),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=n.getRadiusAxis().getExtent();if("radius"===a.dim){var d=st();dt(d,d,s),ct(d,d,[n.cx,n.cy]),l=mo([r,-o],d);var f=e.getModel("axisLabel").get("rotate")||0,p=YD.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,h=p.textVerticalAlign}else{var g=c[1];l=n.coordToPoint([g+o,r]);var m=n.cx,v=n.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}function km(t,e){e.update="updateView",hs(e,function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},function(i){i[t](e.name),d(i.coordinateSystem.regions,function(t){n[t.name]=i.isSelected(t.name)||!1})}),{selected:n,name:e.name}})}function Pm(t){var e={};d(t,function(t){e[t]=1}),t.length=0,d(e,function(e,i){t.push(i)})}function Nm(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Om(t,e,n){function o(){var t=function(){};return t.prototype.__hidden=t.
gitextract_obvxj0lv/
├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── README.md
├── babel.config.js
├── config/
│ ├── dev.js
│ ├── index.js
│ └── prod.js
├── package.json
├── project.config.json
└── src/
├── app.config.js
├── app.js
├── app.scss
├── components/
│ ├── ec-canvas/
│ │ ├── ec-canvas.js
│ │ ├── ec-canvas.json
│ │ ├── ec-canvas.wxml
│ │ ├── ec-canvas.wxss
│ │ ├── echarts.js
│ │ └── wx-canvas.js
│ ├── tab/
│ │ ├── tab.js
│ │ ├── tab.json
│ │ └── tab.wxml
│ └── wxParse/
│ ├── html2json.js
│ ├── htmlparser.js
│ ├── index.js
│ ├── index.wxml
│ ├── showdown.js
│ ├── wxDiscode.js
│ ├── wxParse.js
│ ├── wxParse.wxml
│ └── wxParse.wxss
├── index.html
├── pages/
│ ├── echarts/
│ │ ├── echarts.config.js
│ │ ├── echarts.js
│ │ └── echarts.scss
│ ├── index/
│ │ ├── index.config.js
│ │ ├── index.js
│ │ └── index.scss
│ ├── native/
│ │ ├── native.js
│ │ ├── native.json
│ │ ├── native.wxml
│ │ └── native.wxss
│ └── wxParse/
│ ├── wxParse.config.js
│ └── wxParse.js
└── utils/
└── util.js
SYMBOL INDEX (1250 symbols across 16 files)
FILE: src/app.js
class App (line 6) | class App extends React.Component {
method componentDidMount (line 7) | componentDidMount () {}
method componentDidShow (line 9) | componentDidShow () {}
method componentDidHide (line 11) | componentDidHide () {}
method componentCatchError (line 13) | componentCatchError () {}
method render (line 15) | render () {
FILE: src/components/ec-canvas/ec-canvas.js
method canvasToTempFilePath (line 65) | canvasToTempFilePath(opt) {
method touchStart (line 75) | touchStart(e) {
method touchMove (line 89) | touchMove(e) {
method touchEnd (line 99) | touchEnd(e) {
FILE: src/components/ec-canvas/echarts.js
function e (line 1) | function e(t,e){"createCanvas"===t&&(Gx=null),Bx[t]=e}
function i (line 1) | function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=kx.call(...
function n (line 1) | function n(t,e,o){if(!w(e)||!w(t))return o?i(e):t;for(var a in e)if(e.ha...
function o (line 1) | function o(t,e){for(var i=t[0],o=1,a=t.length;o<a;o++)i=n(i,t[o],e);retu...
function a (line 1) | function a(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}
function r (line 1) | function r(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null...
function s (line 1) | function s(){return Gx||(Gx=Vx().getContext("2d")),Gx}
function l (line 1) | function l(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.l...
function u (line 1) | function u(t,e){function i(){}var n=t.prototype;i.prototype=e.prototype,...
function h (line 1) | function h(t,e,i){r(t="prototype"in t?t.prototype:t,e="prototype"in e?e....
function c (line 1) | function c(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}
function d (line 1) | function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===Nx)t.forEach(e,i);el...
function f (line 1) | function f(t,e,i){if(t&&e){if(t.map&&t.map===Rx)return t.map(e,i);for(va...
function p (line 1) | function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===zx)return t.reduce(...
function g (line 1) | function g(t,e,i){if(t&&e){if(t.filter&&t.filter===Ox)return t.filter(e,...
function m (line 1) | function m(t,e){var i=Ex.call(arguments,2);return function(){return t.ap...
function v (line 1) | function v(t){var e=Ex.call(arguments,1);return function(){return t.appl...
function y (line 1) | function y(t){return"[object Array]"===kx.call(t)}
function x (line 1) | function x(t){return"function"==typeof t}
function _ (line 1) | function _(t){return"[object String]"===kx.call(t)}
function w (line 1) | function w(t){var e=typeof t;return"function"===e||!!t&&"object"==e}
function b (line 1) | function b(t){return!!Cx[kx.call(t)]}
function S (line 1) | function S(t){return!!Lx[kx.call(t)]}
function M (line 1) | function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"ob...
function I (line 1) | function I(t){return t!=t}
function D (line 1) | function D(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[...
function T (line 1) | function T(t,e){return null!=t?t:e}
function A (line 1) | function A(t,e,i){return null!=t?t:null!=e?e:i}
function C (line 1) | function C(){return Function.call.apply(Ex,arguments)}
function L (line 1) | function L(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;retur...
function k (line 1) | function k(t,e){if(!t)throw new Error(e)}
function P (line 1) | function P(t){return null==t?null:"function"==typeof t.trim?t.trim():t.r...
function N (line 1) | function N(t){t[Fx]=!0}
function O (line 1) | function O(t){return t[Fx]}
function E (line 1) | function E(t){function e(t,e){i?n.set(t,e):n.set(e,t)}var i=y(t),n=this;...
function R (line 1) | function R(t){return new E(t)}
function z (line 1) | function z(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.l...
function B (line 1) | function B(){}
function V (line 1) | function V(t,e){var i=new Hx(2);return null==t&&(t=0),null==e&&(e=0),i[0...
function G (line 1) | function G(t,e){return t[0]=e[0],t[1]=e[1],t}
function F (line 1) | function F(t){var e=new Hx(2);return e[0]=t[0],e[1]=t[1],e}
function W (line 1) | function W(t,e,i){return t[0]=e,t[1]=i,t}
function H (line 1) | function H(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}
function Z (line 1) | function Z(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}
function U (line 1) | function U(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}
function j (line 1) | function j(t){return Math.sqrt(X(t))}
function X (line 1) | function X(t){return t[0]*t[0]+t[1]*t[1]}
function Y (line 1) | function Y(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}
function q (line 1) | function q(t,e){var i=j(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1...
function K (line 1) | function K(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[...
function $ (line 1) | function $(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}
function J (line 1) | function J(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1...
function Q (line 1) | function Q(t,e,i){var n=e[0],o=e[1];return t[0]=i[0]*n+i[2]*o+i[4],t[1]=...
function tt (line 1) | function tt(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[...
function et (line 1) | function et(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[...
function it (line 1) | function it(){this.on("mousedown",this._dragStart,this),this.on("mousemo...
function nt (line 1) | function nt(t,e){return{target:t,topTarget:e&&e.topTarget}}
function ot (line 1) | function ot(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.top...
function at (line 1) | function at(){}
function rt (line 1) | function rt(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(v...
function st (line 1) | function st(){var t=new t_(6);return lt(t),t}
function lt (line 1) | function lt(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}
function ut (line 1) | function ut(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4...
function ht (line 1) | function ht(t,e,i){var n=e[0]*i[0]+e[2]*i[1],o=e[1]*i[0]+e[3]*i[1],a=e[0...
function ct (line 1) | function ct(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e...
function dt (line 1) | function dt(t,e,i){var n=e[0],o=e[2],a=e[4],r=e[1],s=e[3],l=e[5],u=Math....
function ft (line 1) | function ft(t,e,i){var n=i[0],o=i[1];return t[0]=e[0]*n,t[1]=e[1]*o,t[2]...
function pt (line 1) | function pt(t,e){var i=e[0],n=e[2],o=e[4],a=e[1],r=e[3],s=e[5],l=i*r-a*n...
function gt (line 1) | function gt(t){var e=st();return ut(e,t),e}
function mt (line 1) | function mt(t){return t>n_||t<-n_}
function vt (line 1) | function vt(t){this._target=t.target,this._life=t.life||1e3,this._delay=...
function yt (line 1) | function yt(t){return(t=Math.round(t))<0?0:t>255?255:t}
function xt (line 1) | function xt(t){return(t=Math.round(t))<0?0:t>360?360:t}
function _t (line 1) | function _t(t){return t<0?0:t>1?1:t}
function wt (line 1) | function wt(t){return yt(t.length&&"%"===t.charAt(t.length-1)?parseFloat...
function bt (line 1) | function bt(t){return _t(t.length&&"%"===t.charAt(t.length-1)?parseFloat...
function St (line 1) | function St(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e...
function Mt (line 1) | function Mt(t,e,i){return t+(e-t)*i}
function It (line 1) | function It(t,e,i,n,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t}
function Dt (line 1) | function Dt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}
function Tt (line 1) | function Tt(t,e){g_&&Dt(g_,e),g_=p_.put(t,g_||e.slice())}
function At (line 1) | function At(t,e){if(t){e=e||[];var i=p_.get(t);if(i)return Dt(e,i);var n...
function Ct (line 1) | function Ct(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=bt(t[1]),o=b...
function Lt (line 1) | function Lt(t){if(t){var e,i,n=t[0]/255,o=t[1]/255,a=t[2]/255,r=Math.min...
function kt (line 1) | function kt(t,e){var i=At(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-...
function Pt (line 1) | function Pt(t){var e=At(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[...
function Nt (line 1) | function Nt(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length...
function Ot (line 1) | function Ot(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Ma...
function Et (line 1) | function Et(t,e,i,n){if(t=At(t))return t=Lt(t),null!=e&&(t[0]=xt(e)),nul...
function Rt (line 1) | function Rt(t,e){if((t=At(t))&&null!=e)return t[3]=_t(e),zt(t,"rgba")}
function zt (line 1) | function zt(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgb...
function Bt (line 1) | function Bt(t,e){return t[e]}
function Vt (line 1) | function Vt(t,e,i){t[e]=i}
function Gt (line 1) | function Gt(t,e,i){return(e-t)*i+t}
function Ft (line 1) | function Ft(t,e,i){return i>.5?e:t}
function Wt (line 1) | function Wt(t,e,i,n,o){var a=t.length;if(1==o)for(s=0;s<a;s++)n[s]=Gt(t[...
function Ht (line 1) | function Ht(t,e,i){var n=t.length,o=e.length;if(n!==o)if(n>o)t.length=o;...
function Zt (line 1) | function Zt(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)retu...
function Ut (line 1) | function Ut(t,e,i,n,o,a,r,s,l){var u=t.length;if(1==l)for(c=0;c<u;c++)s[...
function jt (line 1) | function jt(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)...
function Xt (line 1) | function Xt(t){if(c(t)){var e=t.length;if(c(t[0])){for(var i=[],n=0;n<e;...
function Yt (line 1) | function Yt(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=M...
function qt (line 1) | function qt(t){var e=t[t.length-1].value;return c(e&&e[0])?2:1}
function Kt (line 1) | function Kt(t,e,i,n,o,a){var r=t._getter,s=t._setter,l="spline"===e,u=n....
function $t (line 1) | function $t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e...
function Jt (line 1) | function Jt(t){for(var e=0;t>=k_;)e|=1&t,t>>=1;return t+e}
function Qt (line 1) | function Qt(t,e,i,n){var o=e+1;if(o===i)return 1;if(n(t[o++],t[e])<0){fo...
function te (line 1) | function te(t,e,i){for(i--;e<i;){var n=t[e];t[e++]=t[i],t[i--]=n}}
function ee (line 1) | function ee(t,e,i,n,o){for(n===e&&n++;n<i;n++){for(var a,r=t[n],s=e,l=n;...
function ie (line 1) | function ie(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])>0){for(s=n-o;l<s...
function ne (line 1) | function ne(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])<0){for(s=o+1;l<s...
function oe (line 1) | function oe(t,e){function i(i){var s=a[i],u=r[i],h=a[i+1],c=r[i+1];r[i]=...
function ae (line 1) | function ae(t,e,i,n){i||(i=0),n||(n=t.length);var o=n-i;if(!(o<2)){var a...
function re (line 1) | function re(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:...
function se (line 1) | function se(t,e,i){var n=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y...
function le (line 1) | function le(t,e,i){var n=i.width,o=i.height,a=Math.min(n,o),r=null==e.x?...
function ue (line 1) | function ue(){return!1}
function he (line 1) | function he(t,e,i){var n=Vx(),o=e.getWidth(),a=e.getHeight(),r=n.style;r...
function ce (line 1) | function ce(t){if("string"==typeof t){var e=Z_.get(t);return e&&e.image}...
function de (line 1) | function de(t,e,i,n,o){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc...
function fe (line 1) | function fe(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=...
function pe (line 1) | function pe(t){return t&&t.width&&t.height}
function ge (line 1) | function ge(t,e){var i=t+":"+(e=e||q_);if(U_[i])return U_[i];for(var n=(...
function me (line 1) | function me(t,e,i,n,o,a,r){return a?ye(t,e,i,n,o,a,r):ve(t,e,i,n,o,r)}
function ve (line 1) | function ve(t,e,i,n,o,a){var r=Ae(t,e,o,a),s=ge(t,e);o&&(s+=o[1]+o[3]);v...
function ye (line 1) | function ye(t,e,i,n,o,a,r){var s=Ce(t,{rich:a,truncate:r,font:e,textAlig...
function xe (line 1) | function xe(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}
function _e (line 1) | function _e(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}
function we (line 1) | function we(t,e,i){var n=e.x,o=e.y,a=e.height,r=e.width,s=a/2,l="left",u...
function be (line 1) | function be(t,e,i,n,o){if(!e)return"";var a=(t+"").split("\n");o=Se(e,i,...
function Se (line 1) | function Se(t,e,i,n){(n=a({},n)).font=e;var i=T(i,"...");n.maxIterations...
function Me (line 1) | function Me(t,e){var i=e.containerWidth,n=e.font,o=e.contentWidth;if(!i)...
function Ie (line 1) | function Ie(t,e,i,n){for(var o=0,a=0,r=t.length;a<r&&o<e;a++){var s=t.ch...
function De (line 1) | function De(t){return ge("国",t)}
function Te (line 1) | function Te(t,e){return K_.measureText(t,e)}
function Ae (line 1) | function Ae(t,e,i,n){null!=t&&(t+="");var o=De(e),a=t?t.split("\n"):[],r...
function Ce (line 1) | function Ce(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!...
function Le (line 1) | function Le(t,e,i){for(var n=""===e,o=e.split("\n"),a=t.lines,r=0;r<o.le...
function ke (line 1) | function ke(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeig...
function Pe (line 1) | function Pe(t,e){var i,n,o,a,r=e.x,s=e.y,l=e.width,u=e.height,h=e.r;l<0&...
function Ne (line 1) | function Ne(t){return Oe(t),d(t.rich,Oe),t}
function Oe (line 1) | function Oe(t){if(t){t.font=ke(t);var e=t.textAlign;"middle"===e&&(e="ce...
function Ee (line 1) | function Ee(t,e,i,n,o){n.rich?ze(t,e,i,n,o):Re(t,e,i,n,o)}
function Re (line 1) | function Re(t,e,i,n,o){var a=Ue(e,"font",n.font||q_),r=n.textPadding,s=t...
function ze (line 1) | function ze(t,e,i,n,o){var a=t.__textCotentBlock;a&&!t.__dirty||(a=t.__t...
function Be (line 1) | function Be(t,e,i,n,o){var a=i.width,r=i.outerWidth,s=i.outerHeight,l=n....
function Ve (line 1) | function Ve(t,e,i,n,o){if(i&&e.textRotation){var a=e.textOrigin;"center"...
function Ge (line 1) | function Ge(t,e,i,n,o,a,r,s){var l=n.rich[i.styleName]||{},u=i.textVerti...
function Fe (line 1) | function Fe(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBo...
function We (line 1) | function We(t,e,i,n,o,a,r){var s=i.textBackgroundColor,l=i.textBorderWid...
function He (line 1) | function He(t,e){e.image=t}
function Ze (line 1) | function Ze(t,e,i){var n=e.x||0,o=e.y||0,a=e.textAlign,r=e.textVerticalA...
function Ue (line 1) | function Ue(t,e,i){return t[e]=E_(t,e,i),t[e]}
function je (line 1) | function je(t,e){return null==t||e<=0||"transparent"===t||"none"===t?nul...
function Xe (line 1) | function Xe(t){return null==t||"none"===t?null:t.image||t.colorStops?"#0...
function Ye (line 1) | function Ye(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFlo...
function qe (line 1) | function qe(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2...
function Ke (line 1) | function Ke(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorder...
function $e (line 1) | function $e(t){t=t||{},D_.call(this,t);for(var e in t)t.hasOwnProperty(e...
function Je (line 1) | function Je(t){$e.call(this,t)}
function Qe (line 1) | function Qe(t){return parseInt(t,10)}
function ti (line 1) | function ti(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&...
function ei (line 1) | function ei(t,e,i){return ew.copy(t.getBoundingRect()),t.transform&&ew.a...
function ii (line 1) | function ii(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!...
function ni (line 1) | function ni(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e...
function oi (line 1) | function oi(t,e){var i=document.createElement("div");return i.style.cssT...
function ai (line 1) | function ai(t){return t.getBoundingClientRect?t.getBoundingClientRect():...
function ri (line 1) | function ri(t,e,i,n){return i=i||{},n||!Ax.canvasSupported?si(t,e,i):Ax....
function si (line 1) | function si(t,e,i){var n=ai(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n....
function li (line 1) | function li(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.typ...
function ui (line 1) | function ui(t,e,i){ow?t.addEventListener(e,i):t.attachEvent("on"+e,i)}
function hi (line 1) | function hi(t,e,i){ow?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}
function ci (line 1) | function ci(t){return t.which>1}
function di (line 1) | function di(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(...
function fi (line 1) | function fi(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}
function pi (line 1) | function pi(t){return"mousewheel"===t&&Ax.browser.firefox?"DOMMouseScrol...
function gi (line 1) | function gi(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var o=n.re...
function mi (line 1) | function mi(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=...
function vi (line 1) | function vi(t){var e=t.pointerType;return"pen"===e||"touch"===e}
function yi (line 1) | function yi(t){function e(t,e){return function(){if(!e._touching)return ...
function xi (line 1) | function xi(t){function e(e,i){d(e,function(e){ui(t,pi(e),i._handlers[e]...
function _i (line 1) | function _i(t,e){var i=new xw(Dx(),t,e);return yw[i.id]=i,i}
function wi (line 1) | function wi(t,e){vw[t]=e}
function bi (line 1) | function bi(t){delete yw[t]}
function Si (line 1) | function Si(t){return t instanceof Array?t:null==t?[]:[t]}
function Mi (line 1) | function Mi(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.empha...
function Ii (line 1) | function Ii(t){return!bw(t)||Sw(t)||t instanceof Date?t:t.value}
function Di (line 1) | function Di(t){return bw(t)&&!(t instanceof Array)}
function Ti (line 1) | function Ti(t,e){e=(e||[]).slice();var i=f(t||[],function(t,e){return{ex...
function Ai (line 1) | function Ai(t){var e=R();ww(t,function(t,i){var n=t.exist;n&&e.set(n.id,...
function Ci (line 1) | function Ci(t){var e=t.name;return!(!e||!e.indexOf(Mw))}
function Li (line 1) | function Li(t){return bw(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}
function ki (line 1) | function ki(t,e){function i(t,e,i){for(var n=0,o=t.length;n<o;n++)for(va...
function Pi (line 1) | function Pi(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=...
function Ni (line 1) | function Ni(){var t="__\0ec_inner_"+Dw+++"_"+Math.random().toFixed(5);re...
function Oi (line 1) | function Oi(t,e,i){if(_(e)){var n={};n[e+"Index"]=0,e=n}var o=i&&i.defau...
function Ei (line 1) | function Ei(t,e){return t&&t.hasOwnProperty(e)}
function Ri (line 1) | function Ri(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}
function zi (line 1) | function zi(t,e){return t.getAttribute?t.getAttribute(e):t[e]}
function Bi (line 1) | function Bi(t){var e={main:"",sub:""};return t&&(t=t.split(Tw),e.main=t[...
function Vi (line 1) | function Vi(t){k(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'component...
function Gi (line 1) | function Gi(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=func...
function Fi (line 1) | function Fi(t){var e=["__\0is_clz",Cw++,Math.random().toFixed(3)].join("...
function Wi (line 1) | function Wi(t,e){var i=C(arguments,2);return this.superClass.prototype[e...
function Hi (line 1) | function Hi(t,e,i){return this.superClass.prototype[e].apply(t,i)}
function Zi (line 1) | function Zi(t,e){function i(t){var e=n[t.main];return e&&e[Aw]||((e=n[t....
function Ui (line 1) | function Ui(t){return t>-zw&&t<zw}
function ji (line 1) | function ji(t){return t>zw||t<-zw}
function Xi (line 1) | function Xi(t,e,i,n,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*n+3*a*i)}
function Yi (line 1) | function Yi(t,e,i,n,o){var a=1-o;return 3*(((e-t)*a+2*(i-e)*o)*a+(n-i)*o...
function qi (line 1) | function qi(t,e,i,n,o,a){var r=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-o...
function Ki (line 1) | function Ki(t,e,i,n,o){var a=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,s=3*e-3*t,l=...
function $i (line 1) | function $i(t,e,i,n,o,a){var r=(e-t)*o+t,s=(i-e)*o+e,l=(n-i)*o+i,u=(s-r)...
function Ji (line 1) | function Ji(t,e,i,n,o,a,r,s,l,u,h){var c,d,f,p,g,m=.005,v=1/0;Fw[0]=l,Fw...
function Qi (line 1) | function Qi(t,e,i,n){var o=1-n;return o*(o*t+2*n*e)+n*n*i}
function tn (line 1) | function tn(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}
function en (line 1) | function en(t,e,i,n,o){var a=t-2*e+i,r=2*(e-t),s=t-n,l=0;if(Ui(a))ji(r)&...
function nn (line 1) | function nn(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}
function on (line 1) | function on(t,e,i,n,o){var a=(e-t)*n+t,r=(i-e)*n+e,s=(r-a)*n+a;o[0]=t,o[...
function an (line 1) | function an(t,e,i,n,o,a,r,s,l){var u,h=.005,c=1/0;Fw[0]=r,Fw[1]=s;for(va...
function rn (line 1) | function rn(t,e,i){if(0!==t.length){var n,o=t[0],a=o[0],r=o[0],s=o[1],l=...
function sn (line 1) | function sn(t,e,i,n,o,a){o[0]=Zw(t,i),o[1]=Zw(e,n),a[0]=Uw(t,i),a[1]=Uw(...
function ln (line 1) | function ln(t,e,i,n,o,a,r,s,l,u){var h,c=Ki,d=Xi,f=c(t,i,o,r,Jw);for(l[0...
function un (line 1) | function un(t,e,i,n,o,a,r,s){var l=nn,u=Qi,h=Uw(Zw(l(t,i,o),1),0),c=Uw(Z...
function hn (line 1) | function hn(t,e,i,n,o,a,r,s,l){var u=tt,h=et,c=Math.abs(o-a);if(c%Yw<1e-...
function cn (line 1) | function cn(t,e,i,n,o,a,r){if(0===o)return!1;var s=o,l=0,u=t;if(r>e+s&&r...
function dn (line 1) | function dn(t,e,i,n,o,a,r,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e...
function fn (line 1) | function fn(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;return!(l>e+u&&...
function pn (line 1) | function pn(t){return(t%=fb)<0&&(t+=fb),t}
function gn (line 1) | function gn(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;s-=t,l-=e;var h...
function mn (line 1) | function mn(t,e,i,n,o,a){if(a>e&&a>n||a<e&&a<n)return 0;if(n===e)return ...
function vn (line 1) | function vn(t,e){return Math.abs(t-e)<vb}
function yn (line 1) | function yn(){var t=xb[0];xb[0]=xb[1],xb[1]=t}
function xn (line 1) | function xn(t,e,i,n,o,a,r,s,l,u){if(u>e&&u>n&&u>a&&u>s||u<e&&u<n&&u<a&&u...
function _n (line 1) | function _n(t,e,i,n,o,a,r,s){if(s>e&&s>n&&s>a||s<e&&s<n&&s<a)return 0;va...
function wn (line 1) | function wn(t,e,i,n,o,a,r,s){if((s-=e)>i||s<-i)return 0;u=Math.sqrt(i*i-...
function bn (line 1) | function bn(t,e,i,n,o){for(var a=0,r=0,s=0,l=0,u=0,h=0;h<t.length;){var ...
function Sn (line 1) | function Sn(t,e,i){return bn(t,0,!1,e,i)}
function Mn (line 1) | function Mn(t,e,i,n){return bn(t,e,!0,i,n)}
function In (line 1) | function In(t){$e.call(this,t),this.path=null}
function Dn (line 1) | function Dn(t,e,i,n,o,a,r,s,l,u,h){var c=l*(Pb/180),d=kb(c)*(t-i)/2+Lb(c...
function Tn (line 1) | function Tn(t){if(!t)return[];var e,i=t.replace(/-/g," -").replace(/ /g...
function An (line 1) | function An(t,e){var i=Tn(t);return e=e||{},e.buildPath=function(t){if(t...
function Cn (line 1) | function Cn(t,e){return new In(An(t,e))}
function Ln (line 1) | function Ln(t,e){return In.extend(An(t,e))}
function kn (line 1) | function kn(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)...
function Pn (line 1) | function Pn(t,e,i){var n=e.points,o=e.smooth;if(n&&n.length>=2){if(o&&"s...
function Nn (line 1) | function Nn(t,e,i){var n=t.cpx2,o=t.cpy2;return null===n||null===o?[(i?Y...
function On (line 1) | function On(t){$e.call(this,t),this._displayables=[],this._temporaryDisp...
function En (line 1) | function En(t){return In.extend(t)}
function Rn (line 1) | function Rn(t,e,i,n){var o=Cn(t,e),a=o.getBoundingRect();return i&&("cen...
function zn (line 1) | function zn(t,e,i){var n=new Je({style:{image:t,x:e.x,y:e.y,width:e.widt...
function Bn (line 1) | function Bn(t,e){var i,n=e.width/e.height,o=t.height*n;return i=o<=t.wid...
function Vn (line 1) | function Vn(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculat...
function Gn (line 1) | function Gn(t){var e=t.shape,i=t.style.lineWidth;return iS(2*e.x1)===iS(...
function Fn (line 1) | function Fn(t){var e=t.shape,i=t.style.lineWidth,n=e.x,o=e.y,a=e.width,r...
function Wn (line 1) | function Wn(t,e,i){var n=iS(2*t);return(n+iS(e))%2==0?n/2:(n+(i?1:-1))/2}
function Hn (line 1) | function Hn(t){return null!=t&&"none"!=t}
function Zn (line 1) | function Zn(t){return"string"==typeof t?kt(t,-.1):t}
function Un (line 1) | function Un(t){if(t.__hoverStlDirty){var e=t.style.stroke,i=t.style.fill...
function jn (line 1) | function jn(t){if(!t.__isHover){if(Un(t),t.useHoverLayer)t.__zr&&t.__zr....
function Xn (line 1) | function Xn(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__z...
function Yn (line 1) | function Yn(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&...
function qn (line 1) | function qn(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&...
function Kn (line 1) | function Kn(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t...
function $n (line 1) | function $n(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasi...
function Jn (line 1) | function Jn(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasi...
function Qn (line 1) | function Qn(){this.__isEmphasis=!0,Yn(this)}
function to (line 1) | function to(){this.__isEmphasis=!1,qn(this)}
function eo (line 1) | function eo(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group...
function io (line 1) | function io(t,e,i,n,o,a,r){var s,l=(o=o||aS).labelFetcher,u=o.labelDataI...
function no (line 1) | function no(t,e,i,n,o){return oo(t,e,n,o),i&&a(t,i),t.host&&t.host.dirty...
function oo (line 1) | function oo(t,e,i,n){if((i=i||aS).isRectText){var o=e.getShallow("positi...
function ao (line 1) | function ao(t){for(var e;t&&t!==t.ecModel;){var i=(t.option||aS).rich;if...
function ro (line 1) | function ro(t,e,i,n,o,a){if(i=!o&&i||aS,t.textFill=so(e.getShallow("colo...
function so (line 1) | function so(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}
function lo (line 1) | function lo(t,e,i){var n,o=i.useInsideStyle;return null==t.textFill&&!1!...
function uo (line 1) | function uo(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textSt...
function ho (line 1) | function ho(t,e){var i=e||e.getModel("textStyle");return P([t.fontStyle|...
function co (line 1) | function co(t,e,i,n,o,a){if("function"==typeof o&&(a=o,o=null),n&&n.isAn...
function fo (line 1) | function fo(t,e,i,n,o){co(!0,t,e,i,n,o)}
function po (line 1) | function po(t,e,i,n,o){co(!1,t,e,i,n,o)}
function go (line 1) | function go(t,e){for(var i=lt([]);t&&t!==e;)ht(i,t.getLocalTransform(),i...
function mo (line 1) | function mo(t,e,i){return e&&!c(e)&&(e=o_.getLocalTransform(e)),i&&(e=pt...
function vo (line 1) | function vo(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/...
function yo (line 1) | function yo(t,e,i,n){function o(t){var e={position:F(t.position),rotatio...
function xo (line 1) | function xo(t,e){return f(t,function(t){var i=t[0];i=nS(i,e.x),i=oS(i,e....
function _o (line 1) | function _o(t,e,i){var n=(e=a({rectHover:!0},e)).style={strokeNoScale:!0...
function wo (line 1) | function wo(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}
function bo (line 1) | function bo(t,e,i){for(var n=0;n<e.length&&(!e[n]||null!=(t=t&&"object"=...
function So (line 1) | function So(t,e){var i=fS(t).getParent;return i?i.call(t,e):t.parentModel}
function Mo (line 1) | function Mo(t){return[t||"",pS++,Math.random().toFixed(5)].join("_")}
function Io (line 1) | function Io(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}
function Do (line 1) | function Do(t,e,i,n){var o=e[1]-e[0],a=i[1]-i[0];if(0===o)return 0===a?i...
function To (line 1) | function To(t,e){switch(t){case"center":case"middle":t="50%";break;case"...
function Ao (line 1) | function Ao(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t...
function Co (line 1) | function Co(t){return t.sort(function(t,e){return t-e}),t}
function Lo (line 1) | function Lo(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)...
function ko (line 1) | function ko(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slic...
function Po (line 1) | function Po(t,e){var i=Math.log,n=Math.LN10,o=Math.floor(i(t[1]-t[0])/n)...
function No (line 1) | function No(t,e,i){if(!t[e])return 0;var n=p(t,function(t,e){return t+(i...
function Oo (line 1) | function Oo(t){var e=2*Math.PI;return(t%e+e)%e}
function Eo (line 1) | function Eo(t){return t>-gS&&t<gS}
function Ro (line 1) | function Ro(t){if(t instanceof Date)return t;if("string"==typeof t){var ...
function zo (line 1) | function zo(t){return Math.pow(10,Bo(t))}
function Bo (line 1) | function Bo(t){return Math.floor(Math.log(t)/Math.LN10)}
function Vo (line 1) | function Vo(t,e){var i,n=Bo(t),o=Math.pow(10,n),a=t/o;return i=e?a<1.5?1...
function Go (line 1) | function Go(t){function e(t,i,n){return t.interval[n]<i.interval[n]||t.i...
function Fo (line 1) | function Fo(t){return t-parseFloat(t)>=0}
function Wo (line 1) | function Wo(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d...
function Ho (line 1) | function Ho(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function...
function Zo (line 1) | function Zo(t){return null==t?"":(t+"").replace(_S,function(t,e){return ...
function Uo (line 1) | function Uo(t,e,i){y(e)||(e=[e]);var n=e.length;if(!n)return"";for(var o...
function jo (line 1) | function jo(t,e,i){return d(e,function(e,n){t=t.replace("{"+n+"}",i?Zo(e...
function Xo (line 1) | function Xo(t,e){var i=(t=_(t)?{color:t,extraCssText:e}:t||{}).color,n=t...
function Yo (line 1) | function Yo(t,e){return t+="","0000".substr(0,e-t.length)+t}
function qo (line 1) | function qo(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!=...
function Ko (line 1) | function Ko(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}
function $o (line 1) | function $o(t,e,i,n,o){var a=0,r=0;null==n&&(n=1/0),null==o&&(o=1/0);var...
function Jo (line 1) | function Jo(t,e,i){var n=e.width,o=e.height,a=To(t.x,n),r=To(t.y,o),s=To...
function Qo (line 1) | function Qo(t,e,i){i=xS(i||0);var n=e.width,o=e.height,a=To(t.left,n),r=...
function ta (line 1) | function ta(t,e,i,n,o){var a=!o||!o.hv||o.hv[0],s=!o||!o.hv||o.hv[1],l=o...
function ea (line 1) | function ea(t,e){return null!=t[CS[e][0]]||null!=t[CS[e][1]]&&null!=t[CS...
function ia (line 1) | function ia(t,e,i){function n(i,n){var r={},l=0,u={},h=0;if(TS(i,functio...
function na (line 1) | function na(t){return oa({},t)}
function oa (line 1) | function oa(t,e){return e&&t&&TS(AS,function(i){e.hasOwnProperty(i)&&(t[...
function aa (line 1) | function aa(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return ...
function ra (line 1) | function ra(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSy...
function sa (line 1) | function sa(t){return"category"===t.get("type")}
function la (line 1) | function la(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourc...
function ua (line 1) | function ua(t){var e=t.option.source,i=WS;if(S(e))i=HS;else if(y(e))for(...
function ha (line 1) | function ha(t){return jS(t).source}
function ca (line 1) | function ca(t){jS(t).datasetMap=R()}
function da (line 1) | function da(t){var e=t.option,i=e.data,n=S(i)?HS:BS,o=!1,a=e.seriesLayou...
function fa (line 1) | function fa(t,e,i,n,o){if(!t)return{dimensionsDefine:pa(o)};var a,r,s;if...
function pa (line 1) | function pa(t){if(t){var e=R();return f(t,function(t,i){if(null==(t=a({}...
function ga (line 1) | function ga(t,e,i,n){if(null==n&&(n=1/0),e===US)for(a=0;a<i.length&&a<n;...
function ma (line 1) | function ma(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e){var n=[];re...
function va (line 1) | function va(t,e,i,n,o,a){var r=ra(t),s={},l=[],u=[],h=t.subType,c=R(["pi...
function ya (line 1) | function ya(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("...
function xa (line 1) | function xa(t,e){return _a(t.data,t.sourceFormat,t.seriesLayoutBy,t.dime...
function _a (line 1) | function _a(t,e,i,n,o,a){function r(t){return(null==t||!isFinite(t)||""=...
function wa (line 1) | function wa(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,o=e.seriesName;r...
function ba (line 1) | function ba(t,e){var o=t.color&&!t.colorLayer;d(e,function(e,a){"colorLa...
function Sa (line 1) | function Sa(t){t=t,this.option={},this.option[XS]=1,this._componentsMap=...
function Ma (line 1) | function Ma(t,e){y(e)||(e=e?[e]:[]);var i={};return d(e,function(e){i[e]...
function Ia (line 1) | function Ia(t,e,i){return e.type?e.type:i?i.subType:PS.determineSubType(...
function Da (line 1) | function Da(t,e){t._seriesIndicesMap=R(t._seriesIndices=f(e,function(t){...
function Ta (line 1) | function Ta(t,e){return e.hasOwnProperty("subType")?g(t,function(t){retu...
function Aa (line 1) | function Aa(t){d(qS,function(e){this[e]=m(t[e],t)},this)}
function Ca (line 1) | function Ca(){this._coordinateSystems=[]}
function La (line 1) | function La(t){this._api=t,this._timelineOptions=[],this._mediaList=[],t...
function ka (line 1) | function ka(t,e,i){var n,o,a=[],r=[],s=t.timeline;if(t.baseOption&&(o=t....
function Pa (line 1) | function Pa(t,e,i){var n={width:e,height:i,aspectratio:e/i},o=!0;return ...
function Na (line 1) | function Na(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}
function Oa (line 1) | function Oa(t,e){return t.join(",")===e.join(",")}
function Ea (line 1) | function Ea(t,e){$S(e=e||{},function(e,i){if(null!=e){var n=t[i];if(PS.h...
function Ra (line 1) | function Ra(t){var e=t&&t.itemStyle;if(e)for(var i=0,o=oM.length;i<o;i++...
function za (line 1) | function za(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e]....
function Ba (line 1) | function Ba(t){za(t,"itemStyle"),za(t,"lineStyle"),za(t,"areaStyle"),za(...
function Va (line 1) | function Va(t,e){var i=nM(t)&&t[e],n=nM(i)&&i.textStyle;if(n)for(var o=0...
function Ga (line 1) | function Ga(t){t&&(Ba(t),Va(t,"label"),t.emphasis&&Va(t.emphasis,"label"))}
function Fa (line 1) | function Fa(t){if(nM(t)){Ra(t),Ba(t),Va(t,"label"),Va(t,"upperLabel"),Va...
function Wa (line 1) | function Wa(t){return y(t)?t:t?[t]:[]}
function Ha (line 1) | function Ha(t){return(y(t)?t[0]:t)||{}}
function Za (line 1) | function Za(t,e){e=e.split(",");for(var i=t,n=0;n<e.length&&null!=(i=i&&...
function Ua (line 1) | function Ua(t,e,i,n){e=e.split(",");for(var o,a=t,r=0;r<e.length-1;r++)n...
function ja (line 1) | function ja(t){d(rM,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}
function Xa (line 1) | function Xa(t){d(t,function(e,i){var n=[],o=[NaN,NaN],a=[e.stackResultDi...
function Ya (line 1) | function Ya(t,e){la.isInstance(t)||(t=la.seriesDataToSource(t)),this._so...
function qa (line 1) | function qa(){return this._data.length}
function Ka (line 1) | function Ka(t){return this._data[t]}
function $a (line 1) | function $a(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}
function Ja (line 1) | function Ja(t,e,i,n){return null!=i?t[i]:t}
function Qa (line 1) | function Qa(t,e,i,n){return tr(t[n],this._dimensionInfos[e])}
function tr (line 1) | function tr(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMet...
function er (line 1) | function er(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var o,a,r...
function ir (line 1) | function ir(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;...
function nr (line 1) | function nr(t){return new or(t)}
function or (line 1) | function or(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count...
function ar (line 1) | function ar(t,e){t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutput...
function rr (line 1) | function rr(t){var e=t.name;Ci(t)||(t.name=sr(t)||e)}
function sr (line 1) | function sr(t){var e=t.getRawData(),i=[];return d(e.mapDimension("series...
function lr (line 1) | function lr(t){return t.model.getRawData().count()}
function ur (line 1) | function ur(t){var e=t.model;return e.setData(e.getRawData().cloneShallo...
function hr (line 1) | function hr(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneS...
function cr (line 1) | function cr(t,e){d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,v(dr,e...
function dr (line 1) | function dr(t){var e=fr(t);e&&e.setOutputEnd(this.count())}
function fr (line 1) | function fr(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid)...
function pr (line 1) | function pr(){this.group=new L_,this.uid=Mo("viewChart"),this.renderTask...
function gr (line 1) | function gr(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i<t.c...
function mr (line 1) | function mr(t,e,i){var n=Pi(t,e);null!=n?d(Si(n),function(e){gr(t.getIte...
function vr (line 1) | function vr(t){return bM(t.model)}
function yr (line 1) | function yr(t){var e=t.model,i=t.ecModel,n=t.api,o=t.payload,a=e.pipelin...
function xr (line 1) | function xr(t,e,i){function n(){h=(new Date).getTime(),c=null,t.apply(r,...
function _r (line 1) | function _r(t,e,i,n){var o=t[e];if(o){var a=o[IM]||o,r=o[TM];if(o[DM]!==...
function wr (line 1) | function wr(t,e){var i=t[e];i&&i[IM]&&(t[e]=i[IM])}
function br (line 1) | function br(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;var i=...
function Sr (line 1) | function Sr(t,e,i,n,o){function a(t,e){return t.setDirty&&(!t.dirtyMap||...
function Mr (line 1) | function Mr(t,e,i,n,o){function a(i){var a=i.uid,s=r.get(a)||r.set(a,nr(...
function Ir (line 1) | function Ir(t,e,i,n,o){function a(e){var i=e.uid,n=s.get(i);n||(n=s.set(...
function Dr (line 1) | function Dr(t){t.overallReset(t.ecModel,t.api,t.payload)}
function Tr (line 1) | function Tr(t,e){return t.overallProgress&&Ar}
function Ar (line 1) | function Ar(){this.agent.dirty(),this.getDownstream().dirty()}
function Cr (line 1) | function Cr(){this.agent&&this.agent.dirty()}
function Lr (line 1) | function Lr(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}
function kr (line 1) | function kr(t){if(t.useClearVisual&&t.data.clearAllVisual(),(t.resetDefi...
function Pr (line 1) | function Pr(t,e){for(var i=e.data,n=e.resetDefines,o=0;o<n.length;o++){v...
function Nr (line 1) | function Nr(t){return t.data.count()}
function Or (line 1) | function Or(t,e,i){var n=e.uid,o=t._pipelineMap.get(n);!o.head&&(o.head=...
function Er (line 1) | function Er(t){OM=null;try{t(EM,RM)}catch(t){}return OM}
function Rr (line 1) | function Rr(t,e){for(var i in e.prototype)t[i]=B}
function zr (line 1) | function zr(t){return function(e,i,n){e=e&&e.toLowerCase(),Kx.prototype[...
function Br (line 1) | function Br(){Kx.call(this)}
function Vr (line 1) | function Vr(t,e,n){function o(t,e){return t.__prio-e.__prio}n=n||{},"str...
function Gr (line 1) | function Gr(t,e,i){var n,o=this._model,a=this._coordSysMgr.getCoordinate...
function Fr (line 1) | function Fr(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.pre...
function Wr (line 1) | function Wr(t,e,i,n,o){function a(n){n&&n.__alive&&n[e]&&n[e](n.__model,...
function Hr (line 1) | function Hr(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function...
function Zr (line 1) | function Zr(t,e){var i=t.type,n=t.escapeConnect,o=iI[i],s=o.actionInfo,l...
function Ur (line 1) | function Ur(t){for(var e=this._pendingActions;e.length;){var i=e.shift()...
function jr (line 1) | function jr(t){!t&&this.trigger("updated")}
function Xr (line 1) | function Xr(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.ani...
function Yr (line 1) | function Yr(t,e,i,n){function o(t){var e="_ec_"+t.id+"_"+t.type,o=s[e];i...
function qr (line 1) | function qr(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearCol...
function Kr (line 1) | function Kr(t,e,i,n){$r(t,e,i,n),WM(t._chartsViews,function(t){t.__alive...
function $r (line 1) | function $r(t,e,i,n,o){WM(o||t._componentsViews,function(t){var o=t.__mo...
function Jr (line 1) | function Jr(t,e,i,n,o){var a,r=t._scheduler;e.eachSeries(function(e){var...
function Qr (line 1) | function Qr(t,e){WM(rI,function(i){i(t,e)})}
function ts (line 1) | function ts(t,e){var i=t.storage,n=0;i.traverse(function(t){t.isGroup||n...
function es (line 1) | function es(t,e){var i=t.get("blendMode")||null;e.group.traverse(functio...
function is (line 1) | function is(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(fun...
function ns (line 1) | function ns(t){var e=t._coordSysMgr;return a(new Aa(t),{getCoordinateSys...
function os (line 1) | function os(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][i]=e}var ...
function as (line 1) | function as(t){cI[t]=!1}
function rs (line 1) | function rs(t){return hI[zi(t,pI)]}
function ss (line 1) | function ss(t,e){lI[t]=e}
function ls (line 1) | function ls(t){aI.push(t)}
function us (line 1) | function us(t,e){ps(oI,t,e,jM)}
function hs (line 1) | function hs(t,e,i){"function"==typeof e&&(i=e,e="");var n=ZM(t)?t.type:[...
function cs (line 1) | function cs(t,e){Ca.register(t,e)}
function ds (line 1) | function ds(t,e){ps(sI,t,e,XM,"layout")}
function fs (line 1) | function fs(t,e){ps(sI,t,e,YM,"visual")}
function ps (line 1) | function ps(t,e,i,n,o){(HM(e)||ZM(e))&&(i=e,e=n);var a=br.wrapStageHandl...
function gs (line 1) | function gs(t,e){uI[t]=e}
function ms (line 1) | function ms(t){return PS.extend(t)}
function vs (line 1) | function vs(t){return yM.extend(t)}
function ys (line 1) | function ys(t){return vM.extend(t)}
function xs (line 1) | function xs(t){return pr.extend(t)}
function _s (line 1) | function _s(t){return gI[t]}
function ws (line 1) | function ws(t){return t}
function bs (line 1) | function bs(t,e,i,n,o){this._old=t,this._new=e,this._oldKeyGetter=i||ws,...
function Ss (line 1) | function Ss(t,e,i,n,o){for(var a=0;a<t.length;a++){var r="_ec_"+o[n](t[a...
function Ms (line 1) | function Ms(t){var e={},i=e.encode={},n=R(),o=[];d(t.dimensions,function...
function Is (line 1) | function Is(t){return"category"===t?"ordinal":"time"===t?"time":"float"}
function Ds (line 1) | function Ds(t){return!("ordinal"===t||"time"===t)}
function Ts (line 1) | function Ts(t){return t._rawCount>65535?bI:SI}
function As (line 1) | function As(t){var e=t.constructor;return e===Array?t.slice():new e(t)}
function Cs (line 1) | function Cs(t,e){d(MI.concat(e.__wrappedMethods||[]),function(i){e.hasOw...
function Ls (line 1) | function Ls(t){var e=t._invertedIndicesMap;d(e,function(i,n){var o=t._di...
function ks (line 1) | function ks(t){return t}
function Ps (line 1) | function Ps(t){return t<this._count&&t>=0?this._indices[t]:-1}
function Ns (line 1) | function Ns(t,e){var i=t._idList[e];return null==i&&(i=t._getIdFromStore...
function Os (line 1) | function Os(t){return y(t)||(t=[t]),t}
function Es (line 1) | function Es(t,e){var i=t.dimensions,n=new II(f(i,t.getDimensionInfo,t),t...
function Rs (line 1) | function Rs(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=As(...
function zs (line 1) | function zs(){return[1/0,-1/0]}
function Bs (line 1) | function Bs(t,e,n){function o(t,e,i){null!=vI.get(e)?t.otherDims[e]=i:(t...
function Vs (line 1) | function Vs(t,e,i,n){var o=Math.max(t.dimensionsDetectCount||1,e.length,...
function Gs (line 1) | function Gs(t,e,i){if(i||null!=e.get(t)){for(var n=0;null!=e.get(t+n);)n...
function Fs (line 1) | function Fs(t,e,i){var n,o,a,r,s=(i=i||{}).byIndex,l=i.stackedCoordDimen...
function Ws (line 1) | function Ws(t,e,i){return e&&e===t.getCalculationInfo("stackedDimension"...
function Hs (line 1) | function Hs(t,e,i){i=i||{},la.isInstance(t)||(t=la.seriesDataToSource(t)...
function Zs (line 1) | function Zs(t){if(t.sourceFormat===BS){var e=Us(t.data||[]);return null!...
function Us (line 1) | function Us(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}
function js (line 1) | function js(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interva...
function Xs (line 1) | function Xs(t){this.categories=t.categories||[],this._needCollect=t.need...
function Ys (line 1) | function Ys(t){return t._map||(t._map=R(t.categories))}
function qs (line 1) | function qs(t){return w(t)&&null!=t.value?t.value:t+""}
function Ks (line 1) | function Ks(t,e,i,n){var o={},a=t[1]-t[0],r=o.interval=Vo(a/e,!0);null!=...
function $s (line 1) | function $s(t){return ko(t)+2}
function Js (line 1) | function Js(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}
function Qs (line 1) | function Qs(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1...
function tl (line 1) | function tl(t,e,i,n){var o=[];if(!t)return o;e[0]<i[0]&&o.push(e[0]);for...
function el (line 1) | function el(t){return t.get("stack")||EI+t.seriesIndex}
function il (line 1) | function il(t){return t.dim+t.index}
function nl (line 1) | function nl(t,e){var i=[],n=t.axis;if("category"===n.type){for(var o=n.g...
function ol (line 1) | function ol(t,e){return al(f(t,function(t){var e=t.getData(),i=t.coordin...
function al (line 1) | function al(t,e){var i={};d(t,function(t,e){var n=t.axisKey,o=t.bandWidt...
function rl (line 1) | function rl(t,e,i){var n=[];e.eachSeriesByType(t,function(t){t.coordinat...
function sl (line 1) | function sl(t,e){return UI(t,ZI(e))}
function ll (line 1) | function ll(t,e){var i,n,o,a=t.type,r=e.getMin(),s=e.getMax(),l=null!=r,...
function ul (line 1) | function ul(t,e,i,n){var o=i.axis.getExtent(),a=o[1]-o[0],r=ol(n)[i.axis...
function hl (line 1) | function hl(t,e){var i=ll(t,e),n=null!=e.getMin(),o=null!=e.getMax(),a=e...
function cl (line 1) | function cl(t,e){if(e=e||t.get("type"))switch(e){case"category":return n...
function dl (line 1) | function dl(t,e,i,n,o){var a,r=0,s=0,l=(n-o)/180*Math.PI,u=1;e.length>40...
function fl (line 1) | function fl(t,e){var i=t.scale,n=i.getTicksLabels(),o=i.getTicks();retur...
function pl (line 1) | function pl(t,e){return"category"===t.type?t.scale.getLabel(e):e}
function gl (line 1) | function gl(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n...
function ml (line 1) | function ml(t,e,i,n,o,a,r){var s=0===t.indexOf("empty");s&&(t=t.substr(5...
function vl (line 1) | function vl(t,e){return Math.abs(t-e)<sD}
function yl (line 1) | function yl(t,e,i){var n=0,o=t[0];if(!o)return!1;for(var a=1;a<t.length;...
function xl (line 1) | function xl(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else...
function _l (line 1) | function _l(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e...
function wl (line 1) | function wl(t,e,i){for(var n=[],o=e[0],a=e[1],r=0;r<t.length;r+=2){var s...
function bl (line 1) | function bl(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}
function Sl (line 1) | function Sl(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if...
function Ml (line 1) | function Ml(t,e){var i=t.getItemVisual(e,"symbolSize");return i instance...
function Il (line 1) | function Il(t){return[t[0]/2,t[1]/2]}
function Dl (line 1) | function Dl(t,e,i){L_.call(this),this.updateData(t,e,i)}
function Tl (line 1) | function Tl(t,e){this.parent.drift(t,e)}
function Al (line 1) | function Al(t){this.group=new L_,this._symbolCtor=t||Dl}
function Cl (line 1) | function Cl(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&...
function Ll (line 1) | function Ll(t){return null==t||w(t)||(t={isIgnore:t}),t||{}}
function kl (line 1) | function kl(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle"...
function Pl (line 1) | function Pl(t,e,i){var n=t.getBaseAxis(),o=t.getOtherAxis(n),a=Nl(o,i),r...
function Nl (line 1) | function Nl(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:...
function Ol (line 1) | function Ol(t,e,i,n){var o=NaN;t.stacked&&(o=i.get(i.getCalculationInfo(...
function El (line 1) | function El(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"...
function Rl (line 1) | function Rl(t){return isNaN(t[0])||isNaN(t[1])}
function zl (line 1) | function zl(t,e,i,n,o,a,r,s,l,u,h){return null==u?Bl(e,"x")?Vl(t,e,i,n,o...
function Bl (line 1) | function Bl(t,e){if(t.length<=1)return!0;for(var i="x"===e?0:1,n=t[0][i]...
function Vl (line 1) | function Vl(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[...
function Gl (line 1) | function Gl(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[...
function Fl (line 1) | function Fl(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var o=0;o<t.leng...
function Wl (line 1) | function Wl(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var...
function Hl (line 1) | function Hl(t){return"number"==typeof t?t:t?.5:0}
function Zl (line 1) | function Zl(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWid...
function Ul (line 1) | function Ul(t,e,i){if(!i.valueDim)return[];for(var n=[],o=0,a=e.count();...
function jl (line 1) | function jl(t,e,i){var n=Zl(t.getAxis("x")),o=Zl(t.getAxis("y")),a=t.get...
function Xl (line 1) | function Xl(t,e,i){var n=t.getAngleAxis(),o=t.getRadiusAxis().getExtent(...
function Yl (line 1) | function Yl(t,e,i){return"polar"===t.type?Xl(t,e,i):jl(t,e,i)}
function ql (line 1) | function ql(t,e,i){for(var n=e.getBaseAxis(),o="x"===n.dim||"radius"===n...
function Kl (line 1) | function Kl(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count...
function $l (line 1) | function $l(t){return this._axes[t]}
function Jl (line 1) | function Jl(t){OD.call(this,t)}
function Ql (line 1) | function Ql(t,e){return e.type||(e.data?"category":"value")}
function tu (line 1) | function tu(t,e,i){return t.getCoordSysModel()===e}
function eu (line 1) | function eu(t,e){var i=e*Math.PI/180,n=t.plain(),o=n.width,a=n.height,r=...
function iu (line 1) | function iu(t){var e,i=t.model,n=i.get("axisLabel.show")?i.getFormattedL...
function nu (line 1) | function nu(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap=...
function ou (line 1) | function ou(t,e,i){i.getAxesOnZeroOf=function(){return n?[n]:[]};var n,o...
function au (line 1) | function au(t){return t&&"category"!==t.type&&"time"!==t.type&&HD(t)}
function ru (line 1) | function ru(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t...
function su (line 1) | function su(t,e){return f(jD,function(e){return t.getReferringComponents...
function lu (line 1) | function lu(t){return"cartesian2d"===t.get("coordinateSystem")}
function uu (line 1) | function uu(t){var e={componentType:t.mainType};return e[t.mainType+"Ind...
function hu (line 1) | function hu(t,e,i,n){var o,a,r=Oo(i-t.rotation),s=n[0]>n[1],l="start"===...
function cu (line 1) | function cu(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("t...
function du (line 1) | function du(t,e,i){var n=t.get("axisLabel.showMinLabel"),o=t.get("axisLa...
function fu (line 1) | function fu(t){t&&(t.ignore=!0)}
function pu (line 1) | function pu(t,e,i){var n=t&&t.getBoundingRect().clone(),o=e&&e.getBoundi...
function gu (line 1) | function gu(t){return"middle"===t||"center"===t}
function mu (line 1) | function mu(t,e,i){var n=e.axis;if(e.get("axisTick.show")&&!n.scale.isBl...
function vu (line 1) | function vu(t,e,i){var n=e.axis;if(D(i.axisLabelShow,e.get("axisLabel.sh...
function yu (line 1) | function yu(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{...
function xu (line 1) | function xu(t,e,i){var n=e.getComponent("tooltip"),o=e.getComponent("axi...
function _u (line 1) | function _u(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};QD(["type"...
function wu (line 1) | function wu(t,e){e.eachSeries(function(e){var i=e.coordinateSystem,n=e.g...
function bu (line 1) | function bu(t,e){for(var i=e.model,n=e.dim,o=0;o<t.length;o++){var a=t[o...
function Su (line 1) | function Su(t,e){return"all"===t||y(t)&&l(t,e)>=0||t===e}
function Mu (line 1) | function Mu(t){var e=Iu(t);if(e){var i=e.axisPointerModel,n=e.axis.scale...
function Iu (line 1) | function Iu(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSy...
function Du (line 1) | function Du(t){var e=Iu(t);return e&&e.axisPointerModel}
function Tu (line 1) | function Tu(t){return!!t.get("handle.show")}
function Au (line 1) | function Au(t){return t.type+"||"+t.id}
function Cu (line 1) | function Cu(t,e,i,n,o,a){var r=eT.getAxisPointerClass(t.axisPointerClass...
function Lu (line 1) | function Lu(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer...
function ku (line 1) | function ku(t,e,i){i=i||{};var n=t.coordinateSystem,o=e.axis,a={},r=o.ge...
function Pu (line 1) | function Pu(t,e,i,n,o,a,r){io(t,e,i.getModel("label"),i.getModel("emphas...
function Nu (line 1) | function Nu(t,e){"outside"===t.textPosition&&(t.textPosition=e)}
function Ou (line 1) | function Ou(t,e,i){i.style.text=null,fo(i,{shape:{width:0}},e,t,function...
function Eu (line 1) | function Eu(t,e,i){i.style.text=null,fo(i,{shape:{r:i.shape.r0}},e,t,fun...
function Ru (line 1) | function Ru(t,e,i,n,o,a,s,l){var u=e.getItemVisual(i,"color"),h=e.getIte...
function zu (line 1) | function zu(t,e){var i=t.get(cT)||0;return Math.min(i,Math.abs(e.width),...
function Bu (line 1) | function Bu(t,e,i,n){var o=e.getData(),a=this.dataIndex,r=o.getName(a),s...
function Vu (line 1) | function Vu(t,e,i,n,o){var a=(e.startAngle+e.endAngle)/2,r=Math.cos(a),s...
function Gu (line 1) | function Gu(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgn...
function Fu (line 1) | function Fu(t,e,i,n,o,a,r){function s(e,i){for(var n=e;n>=0&&(t[n].y-=i,...
function Wu (line 1) | function Wu(t,e,i,n,o,a){for(var r=[],s=[],l=0;l<t.length;l++)t[l].x<e?r...
function Hu (line 1) | function Hu(){this.group=new L_}
function Zu (line 1) | function Zu(t,e,i){cD.call(this,t,e,i),this.type="value",this.angle=0,th...
function Uu (line 1) | function Uu(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=...
function ju (line 1) | function ju(t,e){return r({show:e},t)}
function Xu (line 1) | function Xu(t){return y(t)||(t=[+t,+t]),t}
function Yu (line 1) | function Yu(){o_.call(this)}
function qu (line 1) | function qu(t){this.name=t,this.zoomLimit,o_.call(this),this._roamTransf...
function Ku (line 1) | function Ku(t,e,i,n){var o=i.seriesModel,a=o?o.coordinateSystem:null;ret...
function $u (line 1) | function $u(t,e,i,n,o){qu.call(this,t),this.map=e,this._nameCoordMap=R()...
function Ju (line 1) | function Ju(t,e,i,n){var o=i.geoModel,a=i.seriesModel,r=o?o.coordinateSy...
function Qu (line 1) | function Qu(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],o=...
function th (line 1) | function th(t,e){d(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}
function eh (line 1) | function eh(t,e,i){oh(t)[e]=i}
function ih (line 1) | function ih(t,e,i){var n=oh(t);n[e]===i&&(n[e]=null)}
function nh (line 1) | function nh(t,e){return!!oh(t)[e]}
function oh (line 1) | function oh(t){return t[GT]||(t[GT]={})}
function ah (line 1) | function ah(t){this.pointerChecker,this._zr=t,this._opt={};var e=m,n=e(r...
function rh (line 1) | function rh(t){if(!(ci(t)||t.target&&t.target.draggable)){var e=t.offset...
function sh (line 1) | function sh(t){if(!ci(t)&&dh(this,"moveOnMouseMove",t)&&this._dragging&&...
function lh (line 1) | function lh(t){ci(t)||(this._dragging=!1)}
function uh (line 1) | function uh(t){if(dh(this,"zoomOnMouseWheel",t)&&0!==t.wheelDelta){var e...
function hh (line 1) | function hh(t){if(!nh(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/...
function ch (line 1) | function ch(t,e,i,n){this.pointerChecker&&this.pointerChecker(t,i,n)&&(r...
function dh (line 1) | function dh(t,e,i){var n=t._opt[e];return n&&(!_(n)||i.event[n+"Key"])}
function fh (line 1) | function fh(t,e,i){var n=t.target,o=n.position;o[0]+=e,o[1]+=i,n.dirty()}
function ph (line 1) | function ph(t,e,i,n){var o=t.target,a=t.zoomLimit,r=o.position,s=o.scale...
function gh (line 1) | function gh(t,e,i){var n=e.getComponentByElement(t.topTarget),o=n&&n.coo...
function mh (line 1) | function mh(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null...
function vh (line 1) | function vh(t,e,i,n,o){i.off("click"),i.off("mousedown"),e.get("selected...
function yh (line 1) | function yh(t,e){e.eachChild(function(e){d(e.__regions,function(i){e.tri...
function xh (line 1) | function xh(t,e){var i=new L_;this._controller=new ah(t.getZr()),this._c...
function _h (line 1) | function _h(t,e,i){var n=t.getZoom(),o=t.getCenter(),a=e.zoom,r=t.dataTo...
function wh (line 1) | function wh(t,e){var i={};return d(t,function(t){t.each(t.mapDimension("...
function bh (line 1) | function bh(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={ma...
function Sh (line 1) | function Sh(t,e){if(Th(this)){var i=a({},this[HT]);i[this.dataType]=e,Ah...
function Mh (line 1) | function Mh(t,e){return t.struct&&t.struct.update(this),e}
function Ih (line 1) | function Ih(t,e){return WT(e[HT],function(i,n){i!==e&&Ch(i.cloneShallow(...
function Dh (line 1) | function Dh(t){var e=this[ZT];return null==t||null==e?e:e[HT][t]}
function Th (line 1) | function Th(t){return t[ZT]===t}
function Ah (line 1) | function Ah(t,e,i){t[HT]={},WT(e,function(e,n){Ch(e,n,t,i)})}
function Ch (line 1) | function Ch(t,e,i,n){i[HT][e]=t,t[ZT]=i,t.dataType=e,n.struct&&(t[n.stru...
function Lh (line 1) | function Lh(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,t...
function kh (line 1) | function kh(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentN...
function Ph (line 1) | function Ph(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modi...
function Nh (line 1) | function Nh(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,...
function Oh (line 1) | function Oh(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t....
function Eh (line 1) | function Eh(t){return arguments.length?t:Zh}
function Rh (line 1) | function Rh(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Ma...
function zh (line 1) | function zh(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),he...
function Bh (line 1) | function Bh(t){for(var e=t.children,i=e.length,n=0,o=0;--i>=0;){var a=e[...
function Vh (line 1) | function Vh(t,e,i,n){if(e){for(var o=t,a=t,r=a.parentNode.children[0],s=...
function Gh (line 1) | function Gh(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1...
function Fh (line 1) | function Fh(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierN...
function Wh (line 1) | function Wh(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?...
function Hh (line 1) | function Hh(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change...
function Zh (line 1) | function Zh(t,e){return t.parentNode===e.parentNode?1:2}
function Uh (line 1) | function Uh(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(...
function jh (line 1) | function jh(t,e,i){return i.itemModel=e,i.itemStyle=e.getModel("itemStyl...
function Xh (line 1) | function Xh(t,e,i,n,o,a){var s=!i,l=t.tree.getNodeByDataIndex(e),a=jh(l,...
function Yh (line 1) | function Yh(t,e,i,n,o,a){for(var r,s=t.tree.getNodeByDataIndex(e),l=t.tr...
function qh (line 1) | function qh(t,e,i){var n,o,a,r,s=t.orient;if("radial"===t.layout){var l=...
function Kh (line 1) | function Kh(t,e,i){for(var n,o=[t],a=[];n=o.pop();)if(a.push(n),n.isExpa...
function $h (line 1) | function $h(t,e){for(var i,n=[t];i=n.pop();)if(e(i),i.isExpand){var o=i....
function Jh (line 1) | function Jh(t,e,i){if(t&&l(e,t.type)>=0){var n=i.getData().tree.root,o=t...
function Qh (line 1) | function Qh(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reve...
function tc (line 1) | function tc(t,e){return l(Qh(t),e)>=0}
function ec (line 1) | function ec(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,...
function ic (line 1) | function ic(t){var e=0;d(t.children,function(t){ic(t);var i=t.value;y(i)...
function nc (line 1) | function nc(t,e){var i=e.get("color");if(i){var n;return d(t=t||[],funct...
function oc (line 1) | function oc(t){this.group=new L_,t.add(this.group)}
function ac (line 1) | function ac(t,e,i,n,o,a){var r=[[o?t:t-XT,e],[t+i,e],[t+i,e+n],[o?t:t-XT...
function rc (line 1) | function rc(t,e,i){t.eventData={componentType:"series",componentSubType:...
function sc (line 1) | function sc(){var t,e=[],i={};return{add:function(t,n,o,a,r){return _(a)...
function lc (line 1) | function lc(t,e,n,o,r,s,l,u,h,c){function d(t,e){w?!t.invisible&&s.push(...
function uc (line 1) | function uc(t,e){var i=t*iA+e;return(i-1)/i}
function hc (line 1) | function hc(t){var e=t.pieceList;t.hasSpecialVisual=!1,d(e,function(e,i)...
function cc (line 1) | function cc(t){var e=t.categories,i=t.visual,n=t.categoryMap={};if(uA(e,...
function dc (line 1) | function dc(t,e){var i=t.visual,n=[];w(i)?uA(i,function(t){n.push(t)}):n...
function fc (line 1) | function fc(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisua...
function pc (line 1) | function pc(t){var e=this.option.visual;return e[Math.round(Do(t,[0,1],[...
function gc (line 1) | function gc(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}
function mc (line 1) | function mc(t){var e=this.option.visual;return e[this.option.loop&&t!==c...
function vc (line 1) | function vc(){return this.option.visual[0]}
function yc (line 1) | function yc(t){return{linear:function(e){return Do(e,t,this.option.visua...
function xc (line 1) | function xc(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){va...
function _c (line 1) | function _c(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=f(e...
function wc (line 1) | function wc(t,e,i){return t?e<=i:e<i}
function bc (line 1) | function bc(t,e,i,n,o,a){var r=t.getModel(),s=t.getLayout();if(s&&!s.inv...
function Sc (line 1) | function Sc(t,e,i,n){var o=a({},e);return d(["color","colorAlpha","color...
function Mc (line 1) | function Mc(t){var e=Dc(t,"color");if(e){var i=Dc(t,"colorAlpha"),n=Dc(t...
function Ic (line 1) | function Ic(t,e){return null!=e?Et(e,null,null,t):null}
function Dc (line 1) | function Dc(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}
function Tc (line 1) | function Tc(t,e,i,n,o,a){if(a&&a.length){var r=Ac(e,"color")||null!=o.co...
function Ac (line 1) | function Ac(t,e){var i=t.get(e);return gA(i)&&i.length?{name:e,range:i}:...
function Cc (line 1) | function Cc(t,e,i,n,o,r){var s=a({},e);if(o){var l=o.type,u="color"===l&...
function Lc (line 1) | function Lc(t,e,i,n){var o,a;if(!t.isRemoved()){var r=t.getLayout();o=r....
function kc (line 1) | function kc(t,e,i,n,o,a){var r=t.children||[],s=n.sort;"asc"!==s&&"desc"...
function Pc (line 1) | function Pc(t,e,i,n,o){if(!n)return i;for(var a=t.get("visibleMin"),r=o....
function Nc (line 1) | function Nc(t,e){return e&&t.sort(function(t,i){var n="asc"===e?t.getVal...
function Oc (line 1) | function Oc(t,e,i){for(var n=0,o=0,a=e.length;o<a;o++)n+=e[o].getValue()...
function Ec (line 1) | function Ec(t,e,i){for(var n,o=0,a=1/0,r=0,s=t.length;r<s;r++)(n=t[r].ge...
function Rc (line 1) | function Rc(t,e,i,n,o){var a=e===i.width?0:1,r=1-a,s=["x","y"],l=["width...
function zc (line 1) | function zc(t,e,i,n,o){var a=(e||{}).node,r=[n,o];if(!a||a===i)return r;...
function Bc (line 1) | function Bc(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return...
function Vc (line 1) | function Vc(t,e,i,n,o){var a=t.getLayout(),r=i[o],s=r&&r===t;if(!(r&&!s|...
function Gc (line 1) | function Gc(t){return t.get(MA)?t.get(IA):0}
function Fc (line 1) | function Fc(t){return"_EC_"+t}
function Wc (line 1) | function Wc(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],t...
function Hc (line 1) | function Hc(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}
function Zc (line 1) | function Zc(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}
function Uc (line 1) | function Uc(t){return"_"+t+"Type"}
function jc (line 1) | function jc(t,e,i){var n=e.getItemVisual(i,"color"),o=e.getItemVisual(i,...
function Xc (line 1) | function Xc(t){var e=new OA({name:"line"});return Yc(e.shape,t),e}
function Yc (line 1) | function Yc(t,e){var i=e[0],n=e[1],o=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],...
function qc (line 1) | function qc(t,e,i){L_.call(this),this._createLine(t,e,i)}
function Kc (line 1) | function Kc(t){this._ctor=t||qc,this.group=new L_}
function $c (line 1) | function $c(t,e,i,n){if(ed(e.getItemLayout(i))){var o=new t._ctor(e,i,n)...
function Jc (line 1) | function Jc(t,e,i,n,o,a){var r=e.getItemGraphicEl(n);ed(i.getItemLayout(...
function Qc (line 1) | function Qc(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle"...
function td (line 1) | function td(t){return isNaN(t[0])||isNaN(t[1])}
function ed (line 1) | function ed(t){return!td(t[0])&&!td(t[1])}
function id (line 1) | function id(t,e,i){for(var n,o=t[0],a=t[1],r=t[2],s=1/0,l=i*i,u=.1,h=.1;...
function nd (line 1) | function nd(t,e){return t.getVisual("opacity")||t.getModel().get(e)}
function od (line 1) | function od(t,e,i){var n=t.getGraphicEl(),o=nd(t,e);null!=i&&(null==o&&(...
function ad (line 1) | function ad(t,e){var i=nd(t,e),n=t.getGraphicEl();n.highlight&&n.highlig...
function rd (line 1) | function rd(t){return t instanceof Array||(t=[t,t]),t}
function sd (line 1) | function sd(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t....
function ld (line 1) | function ld(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle....
function ud (line 1) | function ud(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=e....
function hd (line 1) | function hd(t,e,i){for(var n=i.rect,o=n.width,a=n.height,r=[n.x+o/2,n.y+...
function cd (line 1) | function cd(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,Qo(n,{...
function dd (line 1) | function dd(t,e){var i=t.get("center"),n=e.getWidth(),o=e.getHeight(),a=...
function fd (line 1) | function fd(t,e){return e&&("string"==typeof e?t=e.replace("{value}",nul...
function pd (line 1) | function pd(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgn...
function gd (line 1) | function gd(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),he...
function md (line 1) | function md(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,functi...
function vd (line 1) | function vd(t){t.each(function(e){var i,n,o,a,r=t.getItemModel(e),s=r.ge...
function yd (line 1) | function yd(t){if(!t.parallel){var e=!1;d(t.series,function(t){t&&"paral...
function xd (line 1) | function xd(t){d(Si(t.parallelAxis),function(e){if(w(e)){var i=e.paralle...
function _d (line 1) | function _d(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i...
function wd (line 1) | function wd(t,e){return Math.min(e[1],Math.max(e[0],t))}
function bd (line 1) | function bd(t,e,i){this._axesMap=R(),this._axesLayout={},this.dimensions...
function Sd (line 1) | function Sd(t,e){return iC(nC(t,e[0]),e[1])}
function Md (line 1) | function Md(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*...
function Id (line 1) | function Id(t,e){var i,n,o=e.layoutLength,a=e.axisExpandWidth,r=e.axisCo...
function Dd (line 1) | function Dd(t){Kx.call(this),this._zr=t,this.group=new L_,this._brushTyp...
function Td (line 1) | function Td(t,e){var o=t._zr;t._enableGlobalPan||eh(o,yC,t._uid),hC(t._h...
function Ad (line 1) | function Ad(t){var e=t._zr;ih(e,yC,t._uid),hC(t._handlers,function(t,i){...
function Cd (line 1) | function Cd(t,e){var i=MC[e.brushType].createCover(t,e);return i.__brush...
function Ld (line 1) | function Ld(t,e){var i=Od(e);return i.endCreating&&(i.endCreating(t,e),P...
function kd (line 1) | function kd(t,e){var i=e.__brushOption;Od(e).updateCoverShape(t,e,i.rang...
function Pd (line 1) | function Pd(t,e){var i=e.z;null==i&&(i=gC),t.traverse(function(t){t.z=i,...
function Nd (line 1) | function Nd(t,e){Od(e).updateCommon(t,e),kd(t,e)}
function Od (line 1) | function Od(t){return MC[t.__brushOption.brushType]}
function Ed (line 1) | function Ed(t,e,i){var n=t._panels;if(!n)return!0;var o,a=t._transform;r...
function Rd (line 1) | function Rd(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.pa...
function zd (line 1) | function zd(t){var e=t._covers,i=e.length;return hC(e,function(e){t.grou...
function Bd (line 1) | function Bd(t,e){var n=cC(t._covers,function(t){var e=t.__brushOption,n=...
function Vd (line 1) | function Vd(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],...
function Gd (line 1) | function Gd(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}
function Fd (line 1) | function Fd(t,e,i,n){var o=new L_;return o.add(new jb({name:"main",style...
function Wd (line 1) | function Wd(t,e,i,n){var o=n.brushStyle.lineWidth||0,a=fC(o,vC),r=i[0][0...
function Hd (line 1) | function Hd(t,e){var i=e.__brushOption,n=i.transformable,o=e.childAt(0);...
function Zd (line 1) | function Zd(t,e,i,n,o,a,r){var s=e.childOfName(i);s&&s.setShape(Qd(Jd(t,...
function Ud (line 1) | function Ud(t){return r({strokeNoScale:!0},t.brushStyle)}
function jd (line 1) | function jd(t,e,i,n){var o=[dC(t,i),dC(e,n)],a=[fC(t,i),fC(e,n)];return[...
function Xd (line 1) | function Xd(t){return go(t.group)}
function Yd (line 1) | function Yd(t,e){if(e.length>1)return("e"===(i=[Yd(t,(e=e.split(""))[0])...
function qd (line 1) | function qd(t,e,i,n,o,a,r,s){var l=n.__brushOption,u=t(l.range),h=$d(i,a...
function Kd (line 1) | function Kd(t,e,i,n,o){var a=e.__brushOption.range,r=$d(t,i,n);hC(a,func...
function $d (line 1) | function $d(t,e,i){var n=t.group,o=n.transformCoordToLocal(e,i),a=n.tran...
function Jd (line 1) | function Jd(t,e,n){var o=Rd(t,e);return o&&!0!==o?o.clipPath(n,t._transf...
function Qd (line 1) | function Qd(t){var e=dC(t[0][0],t[1][0]),i=dC(t[0][1],t[1][1]);return{x:...
function tf (line 1) | function tf(t,e,i){if(t._brushType){var n=t._zr,o=t._covers,a=Ed(t,e,i);...
function ef (line 1) | function ef(t){var e=t.event;e.preventDefault&&e.preventDefault()}
function nf (line 1) | function nf(t,e,i){return t.childOfName("main").contain(e,i)}
function of (line 1) | function of(t,e,n,o){var a,r=t._creatingCover,s=t._creatingPanel,l=t._br...
function af (line 1) | function af(t,e){return"auto"===t?e.defaultBrushType:t}
function rf (line 1) | function rf(t){if(this._dragging){ef(t);var e=of(this,t,this.group.trans...
function sf (line 1) | function sf(t){return{createCover:function(e,i){return Fd(uC(qd,function...
function lf (line 1) | function lf(t){return t=cf(t),function(e,i){return xo(e,t)}}
function uf (line 1) | function uf(t,e){return t=cf(t),function(i){var n=null!=e?e:i,o=n?t.widt...
function hf (line 1) | function hf(t,e,i){return t=cf(t),function(n,o,a){return t.contain(o[0],...
function cf (line 1) | function cf(t){return $t.create(t)}
function df (line 1) | function df(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents...
function ff (line 1) | function ff(t){var e=t.axis;return f(t.activeIntervals,function(t){retur...
function pf (line 1) | function pf(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}
function gf (line 1) | function gf(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("a...
function mf (line 1) | function mf(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("paral...
function vf (line 1) | function vf(t){return+t.replace("dim","")}
function yf (line 1) | function yf(t,e,i){var n=t.model,o=t.getRect(),a=new jb({shape:{x:o.x,y:...
function xf (line 1) | function xf(t,e,i,n){for(var o=[],a=0;a<i.length;a++){var r=i[a],s=t.get...
function _f (line 1) | function _f(t,e,i,n,o){var a=xf(t,i,n,o),r=new Ub({shape:{points:a},sile...
function wf (line 1) | function wf(t,e){var i=t.hostModel.getModel("lineStyle"),n=i.getLineStyl...
function bf (line 1) | function bf(t,e){return"category"===e?null==t:null==t||isNaN(t)}
function Sf (line 1) | function Sf(t,e,i){var n=new jb({shape:{x:t.x-10,y:t.y-10,width:0,height...
function Mf (line 1) | function Mf(){function t(e,n){if(n>=i.length)return e;for(var o=-1,a=e.l...
function If (line 1) | function If(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),he...
function Df (line 1) | function Df(t,e,i,n,o,a,r){Af(t,i,o),kf(t,e,a,n,r),Bf(t)}
function Tf (line 1) | function Tf(t){d(t,function(t){var e=Ff(t.outEdges,Uf),i=Ff(t.inEdges,Uf...
function Af (line 1) | function Af(t,e,i){for(var n=t,o=null,a=0;n.length;){o=[];for(var r=0,s=...
function Cf (line 1) | function Cf(t,e){d(t,function(t){t.outEdges.length||t.setLayout({x:e-1},...
function Lf (line 1) | function Lf(t,e){d(t,function(t){var i=t.getLayout().x*e;t.setLayout({x:...
function kf (line 1) | function kf(t,e,i,n,o){var a=Mf().key(function(t){return t.getLayout().x...
function Pf (line 1) | function Pf(t,e,i,n,o){var a=[];d(e,function(t){var e=t.length,i=0;d(t,f...
function Nf (line 1) | function Nf(t,e,i){d(t,function(t){var n,o,a,r=0,s=t.length;for(t.sort(H...
function Of (line 1) | function Of(t,e){d(t.slice().reverse(),function(t){d(t,function(t){if(t....
function Ef (line 1) | function Ef(t){return Wf(t.node2)*t.getValue()}
function Rf (line 1) | function Rf(t,e){d(t,function(t){d(t,function(t){if(t.inEdges.length){va...
function zf (line 1) | function zf(t){return Wf(t.node1)*t.getValue()}
function Bf (line 1) | function Bf(t){d(t,function(t){t.outEdges.sort(Vf),t.inEdges.sort(Gf)}),...
function Vf (line 1) | function Vf(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}
function Gf (line 1) | function Gf(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}
function Ff (line 1) | function Ff(t,e){for(var i=0,n=t.length,o=-1;++o<n;){var a=+e.call(t,t[o...
function Wf (line 1) | function Wf(t){return t.getLayout().y+t.getLayout().dy/2}
function Hf (line 1) | function Hf(t,e){return t.getLayout().y-e.getLayout().y}
function Zf (line 1) | function Zf(t,e){return t<e?-1:t>e?1:t===e?0:NaN}
function Uf (line 1) | function Uf(t){return t.getValue()}
function jf (line 1) | function jf(t,e,i,n){L_.call(this),this.bodyIndex,this.whiskerIndex,this...
function Xf (line 1) | function Xf(t,e,i){return f(t,function(t){return t=t.slice(),t[e]=i.init...
function Yf (line 1) | function Yf(t){var e={};return d(t,function(t,i){e["ends"+i]=t}),e}
function qf (line 1) | function qf(t){this.group=new L_,this.styleUpdater=t}
function Kf (line 1) | function Kf(t,e,i){var n=e.getItemModel(i),o=n.getModel(RC),a=e.getItemV...
function $f (line 1) | function $f(t){var e=[],i=[];return t.eachSeriesByType("boxplot",functio...
function Jf (line 1) | function Jf(t){var e,i,n=t.axis,o=t.seriesModels,a=o.length,r=t.boxWidth...
function Qf (line 1) | function Qf(t,e,i){var n,o=t.coordinateSystem,a=t.getData(),r=i/2,s=t.ge...
function tp (line 1) | function tp(t,e,i){var n=e.getItemModel(i),o=n.getModel(GC),a=e.getItemV...
function ep (line 1) | function ep(t,e){var i,n=t.getBaseAxis(),o="category"===n.type?n.getBand...
function ip (line 1) | function ip(t){return y(t)||(t=[+t,+t]),t}
function np (line 1) | function np(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,s...
function op (line 1) | function op(t,e){L_.call(this);var i=new Dl(t,e),n=new L_;this.add(i),th...
function ap (line 1) | function ap(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=f(e...
function rp (line 1) | function rp(t,e,i){L_.call(this),this.add(this.createLine(t,e,i)),this._...
function sp (line 1) | function sp(t,e,i){L_.call(this),this._createPolyline(t,e,i)}
function lp (line 1) | function lp(t,e,i){rp.call(this,t,e,i),this._lastFrame=0,this._lastFrame...
function up (line 1) | function up(){this.group=new L_}
function hp (line 1) | function hp(t){return t instanceof Array||(t=[t,t]),t}
function cp (line 1) | function cp(){var t=Vx();this.canvas=t,this.blurSize=30,this.pointSize=2...
function dp (line 1) | function dp(t,e,i){var n=t[1]-t[0],o=(e=f(e,function(e){return{interval:...
function fp (line 1) | function fp(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],...
function pp (line 1) | function pp(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}
function gp (line 1) | function gp(t,e,i,n){var o=t.getItemLayout(e),a=i.get("symbolRepeat"),r=...
function mp (line 1) | function mp(t,e,i,n,o){var a,r=n.valueDim,s=t.get("symbolBoundingData"),...
function vp (line 1) | function vp(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}
function yp (line 1) | function yp(t,e,i,n,o,a,r,s,l,u){var h=l.valueDim,c=l.categoryDim,d=Math...
function xp (line 1) | function xp(t,e,i,n,o){var a=t.get(sL)||0;a&&(uL.attr({scale:e.slice(),r...
function _p (line 1) | function _p(t,e,i,n,o,r,s,l,u,h,c,d){var f=c.categoryDim,p=c.valueDim,g=...
function wp (line 1) | function wp(t){var e=t.symbolPatternSize,i=ml(t.symbolType,-e/2,-e/2,e,e...
function bp (line 1) | function bp(t,e,i,n){function o(t){var e=l.slice(),n=i.pxSign,o=t;return...
function Sp (line 1) | function Sp(t,e,i,n){var o=t.__pictorialBundle,a=t.__pictorialMainPath;a...
function Mp (line 1) | function Mp(t,e,i){var n=a({},e.barRectShape),o=t.__pictorialBarRect;o?E...
function Ip (line 1) | function Ip(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,r=a({}...
function Dp (line 1) | function Dp(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParam...
function Tp (line 1) | function Tp(t){return{index:t.__pictorialAnimationIndex,count:t.__pictor...
function Ap (line 1) | function Ap(){return this.parentModel.isAnimationEnabled()&&!!this.getSh...
function Cp (line 1) | function Cp(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.sli...
function Lp (line 1) | function Lp(t,e,i,n){var o=new L_,a=new L_;return o.add(a),o.__pictorial...
function kp (line 1) | function kp(t,e,i){var n=i.animationModel,o=i.dataIndex;fo(t.__pictorial...
function Pp (line 1) | function Pp(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);v...
function Np (line 1) | function Np(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!...
function Op (line 1) | function Op(t,e,i){d(t.__pictorialBundle.children(),function(n){n!==t.__...
function Ep (line 1) | function Ep(t,e,i,n,o,a){e&&t.attr(e),n.symbolClip&&!o?i&&t.attr(i):i&&s...
function Rp (line 1) | function Rp(t,e,i){var n=i.color,o=i.dataIndex,a=i.itemModel,s=a.getMode...
function zp (line 1) | function zp(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil...
function Bp (line 1) | function Bp(t,e,i){this.dimension="single",this.dimensions=["single"],th...
function Vp (line 1) | function Vp(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,o={},a=n.posi...
function Gp (line 1) | function Gp(t,e,i,n,o){var r=t.axis;if(!r.scale.isBlank()&&r.containData...
function Fp (line 1) | function Fp(t,e){var i=e.axis,n=i.dim,o=t,a=[],r=Number.MAX_VALUE,s=-1;r...
function Wp (line 1) | function Wp(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}
function Hp (line 1) | function Hp(t,e,i,n){var o=i.payloadBatch,a=e.axis,r=a.model,s=e.axisPoi...
function Zp (line 1) | function Zp(t,e,i){var n=i.axesInfo=[];vL(e,function(e,i){var o=e.axisPo...
function Up (line 1) | function Up(t,e,i,n){if(!qp(e)&&t.list.length){var o=((t.list[0].dataByA...
function jp (line 1) | function jp(t,e,i){var n=i.getZr(),o=xL(n).axisPointerLastHighlights||{}...
function Xp (line 1) | function Xp(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis....
function Yp (line 1) | function Yp(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.a...
function qp (line 1) | function qp(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}
function Kp (line 1) | function Kp(t,e,i){if(!Ax.node){var n=e.getZr();_L(n).records||(_L(n).re...
function $p (line 1) | function $p(t,e){function i(i,n){t.on(i,function(i){var o=eg(e);wL(_L(t)...
function Jp (line 1) | function Jp(t,e){var i,n=t.showTip.length,o=t.hideTip.length;n?i=t.showT...
function Qp (line 1) | function Qp(t,e,i){t.handler("leave",null,i)}
function tg (line 1) | function tg(t,e,i,n){e.handler(t,i,n)}
function eg (line 1) | function eg(t){var e={showTip:[],hideTip:[]},i=function(n){var o=e[n.typ...
function ig (line 1) | function ig(t,e){if(!Ax.node){var i=e.getZr();(_L(i).records||{})[t]&&(_...
function ng (line 1) | function ng(){}
function og (line 1) | function og(t,e,i,n){ag(SL(i).lastProp,n)||(SL(i).lastProp=n,e?fo(i,n,t)...
function ag (line 1) | function ag(t,e){if(w(t)&&w(e)){var i=!0;return d(e,function(e,n){i=i&&a...
function rg (line 1) | function rg(t,e){t[e.get("label.show")?"show":"hide"]()}
function sg (line 1) | function sg(t){return{position:t.position.slice(),rotation:t.rotation||0}}
function lg (line 1) | function lg(t,e,i){var n=e.get("z"),o=e.get("zlevel");t&&t.traverse(func...
function ug (line 1) | function ug(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line...
function hg (line 1) | function hg(t,e,i,n,o){var a=dg(i.get("value"),e.axis,e.ecModel,i.get("s...
function cg (line 1) | function cg(t,e,i,n){var o=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[...
function dg (line 1) | function dg(t,e,i,n,o){var a=e.scale.getLabel(t,{precision:o.precision})...
function fg (line 1) | function fg(t,e,i){var n=st();return dt(n,n,i.rotation),ct(n,n,i.positio...
function pg (line 1) | function pg(t,e,i,n,o,a){var r=YD.innerTextLayout(i.rotation,0,i.labelDi...
function gg (line 1) | function gg(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}
function mg (line 1) | function mg(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-...
function vg (line 1) | function vg(t,e,i,n,o,a){return{cx:t,cy:e,r0:i,r:n,startAngle:o,endAngle...
function yg (line 1) | function yg(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCarte...
function xg (line 1) | function xg(t){return"x"===t.dim?0:1}
function _g (line 1) | function _g(t){return t.isHorizontal()?0:1}
function wg (line 1) | function wg(t,e){var i=t.getRect();return[i[AL[e]],i[AL[e]]+i[CL[e]]]}
function bg (line 1) | function bg(t,e,i){var n=new jb({shape:{x:t.x-10,y:t.y-10,width:0,height...
function Sg (line 1) | function Sg(t,e,i){if(t.count())for(var n,o=e.coordinateSystem,a=e.getLa...
function Mg (line 1) | function Mg(t){for(var e=t.length,i=t[0].length,n=[],o=[],a=0,r={},s=0;s...
function Ig (line 1) | function Ig(t){var e=0;d(t.children,function(t){Ig(t);var i=t.value;y(i)...
function Dg (line 1) | function Dg(t,e,i){function n(){r.ignore=r.hoverIgnore}function o(){r.ig...
function Tg (line 1) | function Tg(t,e,i){var n=t.getVisual("color"),o=t.getVisual("visualMeta"...
function Ag (line 1) | function Ag(t){for(var e=t;e.depth>1;)e=e.parentNode;return l(t.getAnces...
function Cg (line 1) | function Cg(t,e,i){return i!==NL.NONE&&(i===NL.SELF?t===e:i===NL.ANCESTO...
function Lg (line 1) | function Lg(t,e){var i=t.children||[];t.children=kg(i,e),i.length&&d(t.c...
function kg (line 1) | function kg(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===...
function Pg (line 1) | function Pg(t,e){return e=e||[0,0],f(["x","y"],function(i,n){var o=this....
function Ng (line 1) | function Ng(t,e){return e=e||[0,0],f([0,1],function(i){var n=e[i],o=t[i]...
function Og (line 1) | function Og(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,o=(t i...
function Eg (line 1) | function Eg(t,e){return f(["Radius","Angle"],function(i,n){var o=this["g...
function Rg (line 1) | function Rg(t){var e,i=t.type;if("path"===i){var n=t.shape;(e=Rn(n.pathD...
function zg (line 1) | function zg(t,e,n,o,a,r){var s={},l=n.style||{};if(n.shape&&(s.shape=i(n...
function Bg (line 1) | function Bg(t,e,i,n,o){null==i[t]||o||(e[t]=i[t],i[t]=n[t])}
function Vg (line 1) | function Vg(t,e,i,n){function o(t){null==t&&(t=h),v&&(c=e.getItemModel(t...
function Gg (line 1) | function Gg(t){var e={};return d(t.dimensions,function(i,n){var o=t.getD...
function Fg (line 1) | function Fg(t,e,i,n,o,a){return(t=Wg(t,e,i,n,o,a))&&a.setItemGraphicEl(e...
function Wg (line 1) | function Wg(t,e,i,n,o,a){var r=i.type;if(!t||r===t.__customGraphicType||...
function Hg (line 1) | function Hg(t){new bs(t.oldChildren,t.newChildren,Zg,Zg,t).add(Ug).updat...
function Zg (line 1) | function Zg(t,e){var i=t&&t.name;return null!=i?i:ZL+e}
function Ug (line 1) | function Ug(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null;Wg(n...
function jg (line 1) | function jg(t){var e=this.context,i=e.oldChildren[t];i&&e.group.remove(i)}
function Xg (line 1) | function Xg(t,e,i,n){var o=i.type,a=new(0,sS[o.charAt(0).toUpperCase()+o...
function Yg (line 1) | function Yg(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(func...
function qg (line 1) | function qg(t){return t=a({},t),d(["id","parentId","$action","hv","bound...
function Kg (line 1) | function Kg(t,e){var i;return d(e,function(e){null!=t[e]&&"auto"!==t[e]&...
function $g (line 1) | function $g(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=...
function Jg (line 1) | function Jg(t,e,i){var o=a({},i),r=t[e],s=i.$action||"merge";"merge"===s...
function Qg (line 1) | function Qg(t,e){t&&(t.hv=e.hv=[Kg(e,["left","right"]),Kg(e,["top","bott...
function tm (line 1) | function tm(t,e,i){var n,o={},a="toggleSelected"===t;return i.eachCompon...
function em (line 1) | function em(t,e,i){var n=e.getBoxLayoutParams(),o=e.get("padding"),a={wi...
function im (line 1) | function im(t,e){var i=xS(e.get("padding")),n=e.getItemStyle(["color","o...
function nm (line 1) | function nm(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}
function om (line 1) | function om(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useH...
function am (line 1) | function am(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useH...
function rm (line 1) | function rm(t,e,i){var n=[1,1];n[t.getOrient().index]=0,ia(e,i,{type:"bo...
function sm (line 1) | function sm(t){var e="left "+t+"s cubic-bezier(0.23, 1, 0.32, 1),top "+t...
function lm (line 1) | function lm(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&...
function um (line 1) | function um(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroun...
function hm (line 1) | function hm(t,e){if(Ax.wxa)return null;var i=document.createElement("div...
function cm (line 1) | function cm(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(wo.isInsta...
function dm (line 1) | function dm(t,e){return t.dispatchAction||m(e.dispatchAction,e)}
function fm (line 1) | function fm(t,e,i,n,o,a,r){var s=gm(i),l=s.width,u=s.height;return null!...
function pm (line 1) | function pm(t,e,i,n,o){var a=gm(i),r=a.width,s=a.height;return t=Math.mi...
function gm (line 1) | function gm(t){var e=t.clientWidth,i=t.clientHeight;if(document.defaultV...
function mm (line 1) | function mm(t,e,i){var n=i[0],o=i[1],a=0,r=0,s=e.width,l=e.height;switch...
function vm (line 1) | function vm(t){return"center"===t||"middle"===t}
function ym (line 1) | function ym(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}
function xm (line 1) | function xm(t){return t.dim}
function _m (line 1) | function _m(t,e){var i={};d(t,function(t,e){var n=t.getData(),o=t.coordi...
function wm (line 1) | function wm(t,e){cD.call(this,"radius",t,e),this.type="category"}
function bm (line 1) | function bm(t,e){e=e||[0,360],cD.call(this,"angle",t,e),this.type="categ...
function Sm (line 1) | function Sm(t,e){return e.type||(e.data?"category":"value")}
function Mm (line 1) | function Mm(t,e,i){var n=e.get("center"),o=i.getWidth(),a=i.getHeight();...
function Im (line 1) | function Im(t,e){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n....
function Dm (line 1) | function Dm(t,e){if(t.type=e.get("type"),t.scale=cl(e),t.onBand=e.get("b...
function Tm (line 1) | function Tm(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoi...
function Am (line 1) | function Am(t){return t.getRadiusAxis().inverse?0:1}
function Cm (line 1) | function Cm(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,la...
function Lm (line 1) | function Lm(t,e,i,n,o){var a=e.axis,r=a.dataToCoord(t),s=n.getAngleAxis(...
function km (line 1) | function km(t,e){e.update="updateView",hs(e,function(e,i){var n={};retur...
function Pm (line 1) | function Pm(t){var e={};d(t,function(t){e[t]=1}),t.length=0,d(e,function...
function Nm (line 1) | function Nm(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}
function Om (line 1) | function Om(t,e,n){function o(){var t=function(){};return t.prototype.__...
function Em (line 1) | function Em(t,e,n){var o;d(n,function(t){e.hasOwnProperty(t)&&Nm(e[t])&&...
function Rm (line 1) | function Rm(t,e,i,n,o,a){function r(t){return i.getItemVisual(h,t)}funct...
function zm (line 1) | function zm(t,e,i,n){var o={};return d(t,function(t){var i=dA.prepareVis...
function Bm (line 1) | function Bm(t){var e=["x","y"],i=["width","height"];return{point:functio...
function Vm (line 1) | function Vm(t,e){return e[0]<=t&&t<=e[1]}
function Gm (line 1) | function Gm(t,e,i,n,o){for(var a=0,r=o[o.length-1];a<o.length;a++){var s...
function Fm (line 1) | function Fm(t,e,i,n,o,a,r,s){var l=Hm(i-t,o-r,n-e,a-s);if(Wm(l))return!1...
function Wm (line 1) | function Wm(t){return t<=1e-6&&t>=-1e-6}
function Hm (line 1) | function Hm(t,e,i,n){return t*n-e*i}
function Zm (line 1) | function Zm(t,e,i){var n=this._targetInfoList=[],o={},a=jm(e,t);bk(Ak,fu...
function Um (line 1) | function Um(t){return t[0]>t[1]&&t.reverse(),t}
function jm (line 1) | function jm(t,e){return Oi(t,e,{includeMainTypes:Dk})}
function Xm (line 1) | function Xm(t,e,i,n){var o=i.getAxis(["x","y"][t]),a=Um(f([0,1],function...
function Ym (line 1) | function Ym(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}
function qm (line 1) | function qm(t,e){var i=Km(t),n=Km(e),o=[i[0]/n[0],i[1]/n[1]];return isNa...
function Km (line 1) | function Km(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}
function $m (line 1) | function $m(t,e,i,n,o){if(o){var a=t.getZr();a[Ek]||(a[Ok]||(a[Ok]=Jm),_...
function Jm (line 1) | function Jm(t,e){if(!t.isDisposed()){var i=t.getZr();i[Ek]=!0,t.dispatch...
function Qm (line 1) | function Qm(t,e,i,n){for(var o=0,a=e.length;o<a;o++){var r=e[o];if(t[r.b...
function tv (line 1) | function tv(t){var e=t.brushSelector;if(_(e)){var i=[];return d(wk,funct...
function ev (line 1) | function ev(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(...
function iv (line 1) | function iv(t){var e=t.selectors={};return d(wk[t.brushType],function(i,...
function nv (line 1) | function nv(t){return new $t(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1...
function ov (line 1) | function ov(t,e){return n({brushType:t.brushType,brushMode:t.brushMode,t...
function av (line 1) | function av(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPane...
function rv (line 1) | function rv(t,e){Vk[t]=e}
function sv (line 1) | function sv(t){return Vk[t]}
function lv (line 1) | function lv(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushTyp...
function uv (line 1) | function uv(t,e,i){this._model=t}
function hv (line 1) | function hv(t,e,i,n){var o=i.calendarModel,a=i.seriesModel,r=o?o.coordin...
function cv (line 1) | function cv(t,e){var i=t.cellSize;y(i)?1===i.length&&(i[1]=i[0]):i=t.cel...
function dv (line 1) | function dv(t){return l(Uk,t)>=0}
function fv (line 1) | function fv(t,e,i){function n(t,e){return l(e.nodes,t)>=0}function o(t,n...
function pv (line 1) | function pv(t,e,i){var n=[1/0,-1/0];return Xk(i,function(t){var i=t.getD...
function gv (line 1) | function gv(t,e){var i=t.getAxisModel(),n=i.getMin(!0),o="category"===i....
function mv (line 1) | function mv(t,e){var i=t.getAxisModel(),n=t._percentWindow,o=t._valueWin...
function vv (line 1) | function vv(t){var e=t._minMaxSpan={},i=t._dataZoomModel;Xk(["min","max"...
function yv (line 1) | function yv(t){var e={};return Kk(["start","end","startValue","endValue"...
function xv (line 1) | function xv(t,e){var i=t._rangePropMode,n=t.get("rangeMode");Kk([["start...
function _v (line 1) | function _v(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}
function wv (line 1) | function wv(t){return"vertical"===t?"ns-resize":"ew-resize"}
function bv (line 1) | function bv(t,e){var i=Dv(t),n=e.dataZoomId,o=e.coordId;d(i,function(t,i...
function Sv (line 1) | function Sv(t,e){var i=Dv(t);d(i,function(t){t.controller.dispose();var ...
function Mv (line 1) | function Mv(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var i=0,n=t.batc...
function Iv (line 1) | function Iv(t){return t.type+"\0_"+t.id}
function Dv (line 1) | function Dv(t){var e=t.getZr();return e[hP]||(e[hP]={})}
function Tv (line 1) | function Tv(t,e){var i=new ah(t.getZr());return i.on("pan",uP(Cv,e)),i.o...
function Av (line 1) | function Av(t){d(t,function(e,i){e.count||(e.controller.dispose(),delete...
function Cv (line 1) | function Cv(t,e,i,n,o,a,r){kv(t,function(s){return s.panGetRange(t.contr...
function Lv (line 1) | function Lv(t,e,i,n){kv(t,function(o){return o.zoomGetRange(t.controller...
function kv (line 1) | function kv(t,e){var i=[];d(t.dataZoomInfos,function(t){var n=e(t);!t.di...
function Pv (line 1) | function Pv(t,e){t.dispatchAction({type:"dataZoom",batch:e})}
function Nv (line 1) | function Nv(t){var e,i={},n={type_true:2,type_move:1,type_false:0,type_u...
function Ov (line 1) | function Ov(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}
function Ev (line 1) | function Ev(t,e,i,n){for(var o=e.targetVisuals[n],a=dA.prepareVisualType...
function Rv (line 1) | function Rv(t,e,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])...
function zv (line 1) | function zv(t,e,i){var n=t.option,o=n.align;if(null!=o&&"auto"!==o)retur...
function Bv (line 1) | function Bv(t){return d(t||[],function(e){null!=t.dataIndex&&(t.dataInde...
function Vv (line 1) | function Vv(t,e,i,n){return new Zb({shape:{points:t},draggable:!!i,curso...
function Gv (line 1) | function Gv(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}
function Fv (line 1) | function Fv(t,e,i,n){return t?[[0,-PP(e,NP(i,0))],[EP,0],[0,PP(e,NP(n-i,...
function Wv (line 1) | function Wv(t,e,i){var n=OP/2,o=t.get("hoverLinkDataSize");return o&&(n=...
function Hv (line 1) | function Hv(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("...
function Zv (line 1) | function Zv(t){return"vertical"===t?"ns-resize":"ew-resize"}
function Uv (line 1) | function Uv(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}
function jv (line 1) | function jv(t){Mi(t,"label",["show"])}
function Xv (line 1) | function Xv(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}
function Yv (line 1) | function Yv(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}
function qv (line 1) | function qv(t,e,i,n,o,a){var r=[],s=Ws(e,n,i)?e.getCalculationInfo("stac...
function Kv (line 1) | function Kv(t,e){var n=t.getData(),o=t.coordinateSystem;if(e&&!Yv(e)&&!y...
function $v (line 1) | function $v(t,e,i,n){var o={};return null!=t.valueIndex||null!=t.valueDi...
function Jv (line 1) | function Jv(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);fo...
function Qv (line 1) | function Qv(t,e){return!(t&&t.containData&&e.coord&&!Xv(e))||t.containDa...
function ty (line 1) | function ty(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value}
function ey (line 1) | function ey(t,e,i){if("average"===i){var n=0,o=0;return t.each(e,functio...
function iy (line 1) | function iy(t,e,i){var n=e.coordinateSystem;t.each(function(o){var a,r=t...
function ny (line 1) | function ny(t,e,i){var n;n=t?f(t&&t.dimensions,function(t){return r({nam...
function oy (line 1) | function oy(t){return!isNaN(t)&&!isFinite(t)}
function ay (line 1) | function ay(t,e,i,n){var o=1-t,a=n.dimensions[t];return oy(e[o])&&oy(i[o...
function ry (line 1) | function ry(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coor...
function sy (line 1) | function sy(t,e,i,n,o){var a,r=n.coordinateSystem,s=t.getItemModel(e),l=...
function ly (line 1) | function ly(t,e,i){var n;n=t?f(t&&t.dimensions,function(t){return r({nam...
function uy (line 1) | function uy(t){return!isNaN(t)&&!isFinite(t)}
function hy (line 1) | function hy(t,e,i,n){var o=1-t;return uy(e[o])&&uy(i[o])}
function cy (line 1) | function cy(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t...
function dy (line 1) | function dy(t,e,i,n,o){var a,r=n.coordinateSystem,s=t.getItemModel(e),l=...
function fy (line 1) | function fy(t,e,i){var n,o;t?(n=f(t&&t.dimensions,function(t){var i=e.ge...
function py (line 1) | function py(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.a...
function gy (line 1) | function gy(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emph...
function my (line 1) | function my(t,e){return t.hasOwnProperty(e)}
function vy (line 1) | function vy(t,e){return Qo(t.getBoxLayoutParams(),{width:e.getWidth(),he...
function yy (line 1) | function yy(t,e,n,o){return Rn(t.get(e).replace(/^path:\/\//,""),i(o||{}...
function xy (line 1) | function xy(t,e,i,o,a,r){var s=e.get("color");a?(a.setColor(s),i.add(a),...
function _y (line 1) | function _y(t,e,i,n,o){if(!t.dragging){var a=n.getModel("checkpointStyle...
function wy (line 1) | function wy(t){return 0===t.indexOf("my")}
function by (line 1) | function by(t){this.model=t}
function Sy (line 1) | function Sy(t){this.model=t}
function My (line 1) | function My(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var...
function Iy (line 1) | function Iy(t){var e=[];return d(t,function(t,i){var n=t.categoryAxis,o=...
function Dy (line 1) | function Dy(t){return f(t,function(t){var e=t.getRawData(),i=[t.name],n=...
function Ty (line 1) | function Ty(t){var e=My(t);return{value:g([Iy(e.seriesGroupByCategoryAxi...
function Ay (line 1) | function Ay(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}
function Cy (line 1) | function Cy(t){if(t.slice(0,t.indexOf("\n")).indexOf(uN)>=0)return!0}
function Ly (line 1) | function Ly(t){for(var e=t.split(/\n+/g),i=[],n=f(Ay(e.shift()).split(hN...
function ky (line 1) | function ky(t){for(var e=t.split(/\n+/g),i=Ay(e.shift()),n=[],o=0;o<e.le...
function Py (line 1) | function Py(t,e){var i={series:[]};return d(t.split(new RegExp("\n*"+lN+...
function Ny (line 1) | function Ny(t){this._dom=null,this.model=t}
function Oy (line 1) | function Oy(t,e){return f(t,function(t,i){var n=e&&e[i];return w(n)&&!y(...
function Ey (line 1) | function Ey(t,e){var i=Vy(t);cN(e,function(e,n){for(var o=i.length-1;o>=...
function Ry (line 1) | function Ry(t){var e=Vy(t),i=e[e.length-1];e.length>1&&e.pop();var n={};...
function zy (line 1) | function zy(t){t[dN]=null}
function By (line 1) | function By(t){return Vy(t).length}
function Vy (line 1) | function Vy(t){var e=t[dN];return e||(e=t[dN]=[{}]),e}
function Gy (line 1) | function Gy(t,e,i){(this._brushController=new Dd(i.getZr())).on("brush",...
function Fy (line 1) | function Fy(t){var e={};return d(["xAxisIndex","yAxisIndex"],function(i)...
function Wy (line 1) | function Wy(t,e){t.setIconStatus("back",By(e)>1?"emphasis":"normal")}
function Hy (line 1) | function Hy(t,e,i,n,o){var a=i._isZoomActive;n&&"takeGlobalCursor"===n.t...
function Zy (line 1) | function Zy(t){this.model=t}
function Uy (line 1) | function Uy(t){return xN(t)}
function jy (line 1) | function jy(){if(!bN&&SN){bN=!0;var t=SN.styleSheets;t.length<31?SN.crea...
function Xy (line 1) | function Xy(t){return parseInt(t,10)}
function Yy (line 1) | function Yy(t,e){jy(),this.root=t,this.storage=e;var i=document.createEl...
function qy (line 1) | function qy(t){return function(){M_('In IE8.0 VML mode painter not suppo...
function Ky (line 1) | function Ky(t){return document.createElementNS(nO,t)}
function $y (line 1) | function $y(t){return sO(1e4*t)/1e4}
function Jy (line 1) | function Jy(t){return t<fO&&t>-fO}
function Qy (line 1) | function Qy(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==rO}
function tx (line 1) | function tx(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==rO}
function ex (line 1) | function ex(t,e){e&&ix(t,"transform","matrix("+aO.call(e,",")+")")}
function ix (line 1) | function ix(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttr...
function nx (line 1) | function nx(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}
function ox (line 1) | function ox(t,e,i){if(Qy(e,i)){var n=i?e.textFill:e.fill;n="transparent"...
function ax (line 1) | function ax(t){for(var e=[],i=t.data,n=t.len(),o=0;o<n;){var a="",r=0;sw...
function rx (line 1) | function rx(t){return"middle"===t?"middle":"bottom"===t?"baseline":"hang...
function sx (line 1) | function sx(){}
function lx (line 1) | function lx(t,e,i,n){for(var o=0,a=e.length,r=0,s=0;o<a;o++){var l=e[o];...
function ux (line 1) | function ux(t){return{newPos:t.newPos,components:t.components.slice(0)}}
function hx (line 1) | function hx(t,e,i,n,o){this._zrId=t,this._svgRoot=e,this._tagNames="stri...
function cx (line 1) | function cx(t,e){hx.call(this,t,e,["linearGradient","radialGradient"],"_...
function dx (line 1) | function dx(t,e){hx.call(this,t,e,"clipPath","__clippath_in_use__")}
function fx (line 1) | function fx(t,e){hx.call(this,t,e,["filter"],"__filter_in_use__","_shado...
function px (line 1) | function px(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY...
function gx (line 1) | function gx(t){return parseInt(t,10)}
function mx (line 1) | function mx(t){return t instanceof In?pO:t instanceof Je?gO:t instanceof...
function vx (line 1) | function vx(t,e){return e&&t&&e.parentNode!==t}
function yx (line 1) | function yx(t,e,i){if(vx(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e...
function xx (line 1) | function xx(t,e){if(vx(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t....
function _x (line 1) | function _x(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}
function bx (line 1) | function bx(t){return t.__textSvgEl}
function Sx (line 1) | function Sx(t){return t.__svgEl}
function Mx (line 1) | function Mx(t){return function(){M_('In SVG mode painter not support met...
function e (line 1) | function e(t){i&&(i.__endIndex!==t&&(i.__dirty=!0),i.__endIndex=t)}
function t (line 1) | function t(){e._running&&(H_(t),!e._paused&&e._update())}
function i (line 1) | function i(t){var i={},a=[];return d(t,function(r){var s=n(i,r),u=o(s.or...
function n (line 1) | function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}
function o (line 1) | function o(t,e){var i=[];return d(t,function(t){l(e,t)>=0&&i.push(t)}),i}
function a (line 1) | function a(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}
function n (line 1) | function n(t){return Zo(Wo(t))}
function n (line 1) | function n(t,i){var n=o.getDimensionInfo(i);if(n&&!1!==n.otherDims.toolt...
function i (line 1) | function i(t,e){if("string"!=typeof t)return t;var i=t;return d(e,functi...
function n (line 1) | function n(t){var e=a.get(t);if(null==e){for(var i=t.split("."),n=CM.ari...
function o (line 1) | function o(t){return CM.series.typeNames[t]||"自定义图"}
function n (line 1) | function n(){WD(a,function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,...
function n (line 1) | function n(i){return function(n,s){if(tu(n,t,e)){var l=n.get("position")...
function i (line 1) | function i(t,e,i){WD(t.mapDimension(e.dim,!0),function(i){e.scale.unionE...
function n (line 1) | function n(){s.stopAnimation(!0),s.animateTo({shape:{r:h.r+l.get("hoverO...
function o (line 1) | function o(){s.stopAnimation(!0),s.animateTo({shape:{r:h.r}},300,"elasti...
function i (line 1) | function i(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),i=t/e...
function e (line 1) | function e(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}
function o (line 1) | function o(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemV...
function a (line 1) | function a(e,i,n,a,r,s){n.removeAll();for(var l=0;l<i.length-1;l++){var ...
function s (line 1) | function s(t){return f(t,function(t){return[l.cx,l.cy]})}
function n (line 1) | function n(){l.attr("ignore",m)}
function o (line 1) | function o(){l.attr("ignore",g)}
function n (line 1) | function n(){var e={type:"geoRoam",componentType:l};return e[l+"Id"]=t.i...
function n (line 1) | function n(t,e){var i=t.value;r=Math.max(r,y(i)?i.length:1),a.push(t);va...
function n (line 1) | function n(t,e,i,o,a){function r(t){return t.getId()}function s(r,s){var...
function n (line 1) | function n(e,i){var n=Math.abs(e-t);n<a&&(a=n,o=i)}
function n (line 1) | function n(t){return(t=this.parsePath(t))&&"label"===t[0]?r:this.parentM...
function i (line 1) | function i(t){var e=t.getVisual("symbolSize");return e instanceof Array&...
function e (line 1) | function e(t,e){return(null!=t.id?t.id:a+e)+"-"+t.brushType}
function o (line 1) | function o(e,i){var n=t[e];if(null!=i&&r[i]===u)s[e]=r[i];else{var o=s[e...
function t (line 1) | function t(t){var e=[];return e[r]=d,e[s]=t,isNaN(d)||isNaN(t)?[NaN,NaN]...
function e (line 1) | function e(t,e){var i=t.slice(),n=t.slice();i[r]=Wn(i[r]+o/2,1,!1),n[r]=...
function l (line 1) | function l(t){return t[r]=Wn(t[r],1),t}
function n (line 1) | function n(t){return t.name}
function o (line 1) | function o(e,i,n){var o=this._layers;if("remove"!==e){for(var u,h=[],c=[...
function n (line 1) | function n(t){var e=r.get(t);return null==e?a.get(t):e}
function o (line 1) | function o(i,n){if(c||!i||i.getValue()||(i=null),i!==l&&n!==l)if(n&&n.pi...
function a (line 1) | function a(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}
function i (line 1) | function i(t){return t.getId()}
function n (line 1) | function n(i,n){o(null==i?null:t[i],null==n?null:e[n])}
function o (line 1) | function o(t,i){var o=t+"DataIndex",l=_o(e.get("pageIcons",!0)[e.getOrie...
function e (line 1) | function e(t){var e=t.getBoundingRect().clone();return e[f]+=t.position[...
function l (line 1) | function l(t){return"all"===m||v[t]}
function u (line 1) | function u(t){return!!t.length}
function h (line 1) | function h(t,e){var i=t.coordinateSystem;w|=i.hasAxisBrushed(),l(e)&&i.e...
function c (line 1) | function c(i,n,o){var a=tv(i);if(a&&!ev(e,n)&&(d(b,function(n){a[n.brush...
function i (line 1) | function i(t,e){return null!=t[e]&&"auto"!==t[e]}
function o (line 1) | function o(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoint...
function i (line 1) | function i(t){return t>=r[0]&&t<=r[1]}
function t (line 1) | function t(t,e,i,n){for(var o,a=0;a<i.length;a++)if(i[a].model===t){o=i[...
function e (line 1) | function e(t){var e=go(n.handles[t].parent,this.group),i=vo(0===t?"right...
function n (line 1) | function n(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min...
function t (line 1) | function t(t){wP(o.color)&&!t.inRange&&(t.inRange={color:o.color.slice()...
function e (line 1) | function e(e,i){o.push({value:e,color:t(e,i)})}
function n (line 1) | function n(t){return s[t]}
function o (line 1) | function o(t,e){s[t]=e}
function t (line 1) | function t(t,e,i){return t&&t[e]&&(w(t[e])?t[e].hasOwnProperty(i):t[e]==...
function e (line 1) | function e(e,a){var r=o.getRepresentValue({interval:e});a||(a=o.getValue...
function i (line 1) | function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dis...
function o (line 1) | function o(e,i,o){var a=e.getItemModel(i);sy(e,i,o,t,n),e.setItemVisual(...
function i (line 1) | function i(t){var e=t.position;t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}
function n (line 1) | function n(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}
function o (line 1) | function o(t,e,i,n,o){t[n]+=i[n][o]-e[n][o]}
function o (line 1) | function o(t,i,o,h){if(t){var c=yy(n,i,u,{position:t,origin:[a/2,0],rota...
function o (line 1) | function o(o,r){var s,c=h[o],d=h[r],f=new wo(l[c],t,t.ecModel);if(c&&!d)...
function a (line 1) | function a(n,o,a){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.i...
function i (line 1) | function i(){n.removeChild(a),x._dom=null}
function i (line 1) | function i(t,e,i){var r=e.getAxis(t),s=r.model,l=n(t,s,a),u=l.findRepres...
function n (line 1) | function n(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subT...
function e (line 1) | function e(t,e){if(e){var o=t+"Index",a=e[o];null==a||"all"==a||y(a)||(a...
function i (line 1) | function i(e,i){var n=t[e];y(n)||(n=n?[n]:[]),pN(n,i)}
FILE: src/components/ec-canvas/wx-canvas.js
class WxCanvas (line 1) | class WxCanvas {
method constructor (line 2) | constructor(ctx, canvasId) {
method getContext (line 12) | getContext(contextType) {
method setChart (line 26) | setChart(chart) {
method attachEvent (line 30) | attachEvent () {
method detachEvent (line 34) | detachEvent() {
method _initCanvas (line 38) | _initCanvas(zrender, ctx) {
method _initStyle (line 49) | _initStyle(ctx) {
method _initEvent (line 71) | _initEvent() {
FILE: src/components/tab/tab.js
method clickHandler (line 39) | clickHandler () {
FILE: src/components/wxParse/html2json.js
function makeMap (line 38) | function makeMap(str) {
function q (line 45) | function q(v) {
function removeDOCTYPE (line 49) | function removeDOCTYPE(html) {
function trimHtml (line 56) | function trimHtml(html) {
function html2json (line 65) | function html2json(html, bindName) {
function transEmojiStr (line 258) | function transEmojiStr(str){
function emojisInit (line 293) | function emojisInit(reg='',baseSrc="/wxParse/emojis/",emojis){
FILE: src/components/wxParse/htmlparser.js
function HTMLParser (line 38) | function HTMLParser(html, handler) {
function makeMap (line 185) | function makeMap(str) {
FILE: src/components/wxParse/index.js
method ready (line 12) | ready () {
FILE: src/components/wxParse/showdown.js
function getDefaultOpts (line 15) | function getDefaultOpts(simple) {
function validate (line 310) | function validate(extension, name) {
function escapeCharactersCallback (line 509) | function escapeCharactersCallback(wholeMatch, m1) {
function _constructor (line 749) | function _constructor() {
function _parseExtension (line 781) | function _parseExtension(ext, name) {
function legacyExtensionLoading (line 845) | function legacyExtensionLoading(ext, name) {
function listen (line 877) | function listen(name, callback) {
function rTrimInputText (line 892) | function rTrimInputText(text) {
function replaceLink (line 1262) | function replaceLink(wm, link) {
function replaceMail (line 1270) | function replaceMail(wholeMatch, m1) {
function headerId (line 1877) | function headerId(m) {
function writeImageTag (line 1913) | function writeImageTag (wholeMatch, altText, linkId, url, width, height,...
function processListItems (line 2017) | function processListItems (listStr, trimTrailing) {
function parseConsecutiveLists (line 2105) | function parseConsecutiveLists(list, listType, trimTrailing) {
function parseStyles (line 2399) | function parseStyles(sLine) {
function parseHeaders (line 2411) | function parseHeaders(header, style) {
function parseCells (line 2422) | function parseCells(cell, style) {
function buildTable (line 2427) | function buildTable(headers, cells) {
FILE: src/components/wxParse/wxDiscode.js
function strNumDiscode (line 2) | function strNumDiscode(str){
function strGreeceDiscode (line 44) | function strGreeceDiscode(str){
function strcharacterDiscode (line 104) | function strcharacterDiscode(str){
function strOtherDiscode (line 120) | function strOtherDiscode(str){
function strMoreDiscode (line 178) | function strMoreDiscode(str){
function strDiscode (line 186) | function strDiscode(str){
function urlToHttpUrl (line 194) | function urlToHttpUrl(url,rep){
FILE: src/components/wxParse/wxParse.js
function wxParse (line 31) | function wxParse(bindName = 'wxParseData', type='html', data='<div class...
function wxParseImgTap (line 55) | function wxParseImgTap(e) {
function wxParseImgLoad (line 70) | function wxParseImgLoad(e) {
function calMoreImageInfo (line 79) | function calMoreImageInfo(e, idx, that, bindName) {
function wxAutoImageCal (line 105) | function wxAutoImageCal(originalWidth, originalHeight,that,bindName) {
function wxParseTemArray (line 129) | function wxParseTemArray(temArrayName,bindNameReg,total,that){
function emojisInit (line 149) | function emojisInit(reg='',baseSrc="/wxParse/emojis/",emojis){
FILE: src/pages/echarts/echarts.js
function initChart (line 7) | function initChart(canvas, width, height) {
class Echarts (line 86) | class Echarts extends React.Component {
method render (line 94) | render () {
FILE: src/pages/index/index.js
class Index (line 7) | class Index extends React.Component {
method gotoWxParse (line 9) | gotoWxParse () {
method gotoEcharts (line 15) | gotoEcharts () {
method gotoNative (line 21) | gotoNative () {
method tabEvent (line 27) | tabEvent (e) {
method render (line 31) | render () {
FILE: src/pages/native/native.js
method created (line 8) | created (options) {
method onReady (line 12) | onReady () {
method viewTap (line 17) | viewTap () {
method handler (line 25) | handler (e) {
FILE: src/pages/wxParse/wxParse.js
class WxParsePage (line 9) | class WxParsePage extends React.Component {
method render (line 18) | render () {
FILE: src/utils/util.js
function add (line 1) | function add (a, b) {
Condensed preview — 45 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (889K chars).
[
{
"path": ".editorconfig",
"chars": 197,
"preview": "# http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\ncharset = utf-8\ntrim_trailing_whitespace"
},
{
"path": ".eslintrc.js",
"chars": 134,
"preview": "module.exports = {\n 'extends': [\n // add more generic rulesets here, such as:\n // 'eslint:recommended',\n 'taro"
},
{
"path": ".gitignore",
"chars": 47,
"preview": "dist/\n.temp/\n.rn_temp/\nnode_modules/\n.DS_Store\n"
},
{
"path": "README.md",
"chars": 292,
"preview": "# taro-sample-weapp\n\n## 说明\n\nTaro 与小程序原生融合的示例项目,包括:\n\n* wxParse 示例\n* echarts-for-weixin 示例\n* 混写原生页面示例\n\n## 安装与运行\n\n首先需要全局安装 "
},
{
"path": "babel.config.js",
"chars": 102,
"preview": "module.exports = {\n presets: [\n ['taro', {\n framework: 'react',\n ts: false\n }]\n ]\n}\n"
},
{
"path": "config/dev.js",
"chars": 113,
"preview": "module.exports = {\n env: {\n NODE_ENV: '\"development\"'\n },\n defineConstants: {\n },\n weapp: {},\n h5: {}\n}\n"
},
{
"path": "config/index.js",
"chars": 920,
"preview": "const config = {\n projectName: 'taro-sample-weapp',\n date: '2018-9-10',\n designWidth: 750,\n deviceRatio: {\n '640'"
},
{
"path": "config/prod.js",
"chars": 112,
"preview": "module.exports = {\n env: {\n NODE_ENV: '\"production\"'\n },\n defineConstants: {\n },\n weapp: {},\n h5: {}\n}\n"
},
{
"path": "package.json",
"chars": 1433,
"preview": "{\n \"name\": \"taro-sample-weapp\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"description\": \"与小程序原生融合的示例项目\",\n \"main"
},
{
"path": "project.config.json",
"chars": 354,
"preview": "{\n\t\"miniprogramRoot\": \"dist/\",\n\t\"projectname\": \"taro-sample-weapp\",\n\t\"description\": \"与小程序原生融合的示例项目\",\n\t\"appid\": \"tourista"
},
{
"path": "src/app.config.js",
"chars": 310,
"preview": "export default {\n pages: [\n 'pages/index/index',\n 'pages/wxParse/wxParse',\n 'pages/echarts/echarts',\n 'page"
},
{
"path": "src/app.js",
"chars": 309,
"preview": "import Taro from '@tarojs/taro'\nimport React from 'react'\n\nimport './app.scss'\n\nclass App extends React.Component {\n co"
},
{
"path": "src/app.scss",
"chars": 0,
"preview": ""
},
{
"path": "src/components/ec-canvas/ec-canvas.js",
"chars": 2737,
"preview": "import WxCanvas from './wx-canvas';\nimport * as echarts from './echarts';\n\nlet ctx;\n\nComponent({\n properties: {\n can"
},
{
"path": "src/components/ec-canvas/ec-canvas.json",
"chars": 48,
"preview": "{\n \"component\": true,\n \"usingComponents\": {}\n}"
},
{
"path": "src/components/ec-canvas/ec-canvas.wxml",
"chars": 251,
"preview": "<canvas class=\"ec-canvas\" canvas-id=\"{{ canvasId }}\"\nbindinit=\"init\"\nbindtouchstart=\"{{ ec.disableTouch ? '' : 'touchSta"
},
{
"path": "src/components/ec-canvas/ec-canvas.wxss",
"chars": 46,
"preview": ".ec-canvas {\n width: 100%;\n height: 100%;\n}\n"
},
{
"path": "src/components/ec-canvas/echarts.js",
"chars": 707421,
"preview": "!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?def"
},
{
"path": "src/components/ec-canvas/wx-canvas.js",
"chars": 2159,
"preview": "export default class WxCanvas {\n constructor(ctx, canvasId) {\n this.ctx = ctx;\n this.canvasId = canvasId;\n thi"
},
{
"path": "src/components/tab/tab.js",
"chars": 1030,
"preview": "Component({\n\n behaviors: [],\n\n properties: {\n myProperty: { // 属性名\n type: String, // 类型(必填),目前接受的类型包括:String, "
},
{
"path": "src/components/tab/tab.json",
"chars": 52,
"preview": "{\n \"component\": true,\n \"usingComponents\": {\n }\n}\n"
},
{
"path": "src/components/tab/tab.wxml",
"chars": 67,
"preview": "<view class=\"tab\" bindtap=\"clickHandler\">\n {{myProperty}}\n</view>\n"
},
{
"path": "src/components/wxParse/html2json.js",
"chars": 9914,
"preview": "/**\n * html2Json 改造来自: https://github.com/Jxck/html2json\n * \n * \n * author: Di (微信小程序开发工程师)\n * organization: WeAppDev(微信"
},
{
"path": "src/components/wxParse/htmlparser.js",
"chars": 5513,
"preview": "/**\r\n * \r\n * htmlParser改造自: https://github.com/blowsie/Pure-JavaScript-HTML5-Parser\r\n * \r\n * author: Di (微信小程序开发工程师)\r\n *"
},
{
"path": "src/components/wxParse/index.js",
"chars": 231,
"preview": "import Fuck from './wxParse'\n\nimport './wxParse.wxss'\n\nComponent({\n properties: {\n html: {\n type: String,\n "
},
{
"path": "src/components/wxParse/index.wxml",
"chars": 98,
"preview": "<import src='./wxParse.wxml' />\n<template is='wxParse' data='{{wxParseData:wxParseData.nodes}}'/>\n"
},
{
"path": "src/components/wxParse/showdown.js",
"chars": 72235,
"preview": "/**\n * \n * showdown: https://github.com/showdownjs/showdown\n * \n * author: Di (微信小程序开发工程师)\n * organization: WeAppDev(微信小"
},
{
"path": "src/components/wxParse/wxDiscode.js",
"chars": 6761,
"preview": "// HTML 支持的数学符号\nfunction strNumDiscode(str){\n str = str.replace(/∀/g, '∀');\n str = str.replace(/∂/g, '"
},
{
"path": "src/components/wxParse/wxParse.js",
"chars": 4319,
"preview": "/**\n * author: Di (微信小程序开发工程师)\n * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)\n * 垂直微信小程序开发交流社区\n"
},
{
"path": "src/components/wxParse/wxParse.wxml",
"chars": 32192,
"preview": "<!--**\n * author: Di (微信小程序开发工程师)\n * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)\n * 垂直微信小程序开发交流"
},
{
"path": "src/components/wxParse/wxParse.wxss",
"chars": 4001,
"preview": "\n/**\n * author: Di (微信小程序开发工程师)\n * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)\n * 垂直微信小程序开发交流社区"
},
{
"path": "src/index.html",
"chars": 1015,
"preview": "<!DOCTYPE html>\n<html>\n<head>\n <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\">\n <meta content=\"wid"
},
{
"path": "src/pages/echarts/echarts.config.js",
"chars": 310,
"preview": "module.exports = {\n navigationBarTitleText: 'echarts-for-weixin 示例项目',\n navigationBarTextStyle: 'black',\n navigationB"
},
{
"path": "src/pages/echarts/echarts.js",
"chars": 2261,
"preview": "import React from 'react'\nimport { View } from '@tarojs/components'\nimport * as echarts from '../../components/ec-canvas"
},
{
"path": "src/pages/echarts/echarts.scss",
"chars": 254,
"preview": ".echarts {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n\n display: flex;\n flex-direction: colum"
},
{
"path": "src/pages/index/index.config.js",
"chars": 114,
"preview": "export default {\n navigationBarTitleText: '首页',\n usingComponents: {\n 'tab': '../../components/tab/tab'\n }\n}\n"
},
{
"path": "src/pages/index/index.js",
"chars": 1169,
"preview": "import Taro from '@tarojs/taro'\nimport React from 'react'\nimport { View, Text, Button } from '@tarojs/components'\n\nimpor"
},
{
"path": "src/pages/index/index.scss",
"chars": 138,
"preview": ".title {\n text-align: center;\n line-height: 80px;\n font-size: 36px;\n}\n.main {\n padding: 0 50px;\n}\n.wrapper {\n margi"
},
{
"path": "src/pages/native/native.js",
"chars": 556,
"preview": "const { add } = require('../../utils/util')\n\nPage({\n data: {\n text: 'This is page data.',\n x: add(1, 2)\n },\n cr"
},
{
"path": "src/pages/native/native.json",
"chars": 255,
"preview": "{\n \"navigationBarBackgroundColor\": \"#ffffff\",\n \"navigationBarTextStyle\": \"black\",\n \"navigationBarTitleText\": \"混写页面示例\""
},
{
"path": "src/pages/native/native.wxml",
"chars": 126,
"preview": "<view class=\"native\" bindtap=\"viewTap\">\n <text>{{text}}{{x}}</text>\n <tab myProperty=\"kkl\" bindmyevent=\"handler\" />\n</"
},
{
"path": "src/pages/native/native.wxss",
"chars": 26,
"preview": ".native {\n color: red;\n}\n"
},
{
"path": "src/pages/wxParse/wxParse.config.js",
"chars": 290,
"preview": "export default {\n navigationBarBackgroundColor: '#ffffff',\n navigationBarTextStyle: 'black',\n navigationBarTitleText:"
},
{
"path": "src/pages/wxParse/wxParse.js",
"chars": 582,
"preview": "import React from 'react'\nimport { View } from '@tarojs/components'\n\n// import ParseComponent from './wxParseComponent'\n"
},
{
"path": "src/utils/util.js",
"chars": 46,
"preview": "export function add (a, b) {\n return a + b\n}\n"
}
]
About this extraction
This page contains the full source code of the NervJS/taro-sample-weapp GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 45 files (840.4 KB), approximately 297.2k tokens, and a symbol index with 1250 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.