From cbe3af7565f6e24b9c0aa78530500b85825bda07 Mon Sep 17 00:00:00 2001 From: topuser <1549469775@qq.com> Date: Wed, 27 Nov 2019 00:11:01 +0800 Subject: [PATCH] add --- README.md | 30 +- api/index.js | 16 - assets/style/_global.scss | 17 + assets/style/var.scss | 5 + common/getJson.js | 1109 ------------------------------------ common/option.js | 96 ---- components/base/_base-model.vue | 2 +- docs/.nojekyll | 0 docs/200.html | 9 - docs/README.md | 11 - docs/_nuxt/02f154bff9392ab47ea0.js | 2 - docs/_nuxt/100e629bf9959497fc76.js | 1 - docs/_nuxt/4d63b374d12d0c512fe1.js | 2 - docs/_nuxt/884302fa3fe4fc621eae.js | 2 - docs/_nuxt/LICENSES | 52 -- docs/_nuxt/a69e7f7b78ae7067d8d5.js | 1 - docs/_nuxt/ca1ba156dfe080d242ef.js | 1 - docs/_nuxt/dc129e08ed4ceb79aa72.js | 1 - docs/favicon.ico | Bin 1150 -> 0 bytes docs/image/bluedialog.png | Bin 926 -> 0 bytes docs/image/icon0.png | Bin 1081 -> 0 bytes docs/image/icon1.png | Bin 1061 -> 0 bytes docs/image/icon2.png | Bin 906 -> 0 bytes docs/image/icon3.png | Bin 751 -> 0 bytes docs/image/left.png | Bin 1096 -> 0 bytes docs/image/logo.png | Bin 3533 -> 0 bytes docs/image/right.png | Bin 1107 -> 0 bytes docs/image/xu.png | Bin 258 -> 0 bytes docs/index.html | 9 - docs/js/flexible.js | 77 --- docs/login/index.html | 11 - layouts/default.vue | 59 +- nuxt.config.js | 21 +- package-lock.json | 90 --- package.json | 3 - pages/index.vue | 63 +- pages/login/index.scss | 297 ---------- pages/login/index.vue | 94 --- plugins/axios.js | 10 +- store/index.js | 19 +- 40 files changed, 112 insertions(+), 1998 deletions(-) delete mode 100644 api/index.js create mode 100644 assets/style/var.scss delete mode 100644 common/getJson.js delete mode 100644 common/option.js delete mode 100644 docs/.nojekyll delete mode 100644 docs/200.html delete mode 100644 docs/README.md delete mode 100644 docs/_nuxt/02f154bff9392ab47ea0.js delete mode 100644 docs/_nuxt/100e629bf9959497fc76.js delete mode 100644 docs/_nuxt/4d63b374d12d0c512fe1.js delete mode 100644 docs/_nuxt/884302fa3fe4fc621eae.js delete mode 100644 docs/_nuxt/LICENSES delete mode 100644 docs/_nuxt/a69e7f7b78ae7067d8d5.js delete mode 100644 docs/_nuxt/ca1ba156dfe080d242ef.js delete mode 100644 docs/_nuxt/dc129e08ed4ceb79aa72.js delete mode 100644 docs/favicon.ico delete mode 100644 docs/image/bluedialog.png delete mode 100644 docs/image/icon0.png delete mode 100644 docs/image/icon1.png delete mode 100644 docs/image/icon2.png delete mode 100644 docs/image/icon3.png delete mode 100644 docs/image/left.png delete mode 100644 docs/image/logo.png delete mode 100644 docs/image/right.png delete mode 100644 docs/image/xu.png delete mode 100644 docs/index.html delete mode 100644 docs/js/flexible.js delete mode 100644 docs/login/index.html delete mode 100644 pages/login/index.scss delete mode 100644 pages/login/index.vue diff --git a/README.md b/README.md index 0b13040..56451cd 100644 --- a/README.md +++ b/README.md @@ -1,29 +1 @@ -# huaqian - -> My primo Nuxt.js project - -## Build Setup - -``` bash -# install dependencies -$ npm run install - -# serve with hot reload at localhost:3000 -$ npm run dev - -# build for production and launch server -$ npm run build -$ npm run start - -# generate static project -$ npm run generate -``` - -For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). - - -1 - -2 - -3 +@nuxtjs/style-resources 这鬼东西无效,直接用配置文件的css加载scss文件 \ No newline at end of file diff --git a/api/index.js b/api/index.js deleted file mode 100644 index 2ff0120..0000000 --- a/api/index.js +++ /dev/null @@ -1,16 +0,0 @@ -// import $axios from '@nuxtjs/axios' -// console.log($axios({ -// method:'POST', -// url:'/', -// data:{}, -// params:{} -// })); - -// export default ($axios)=>{ -// return { -// register(){$axios({ -// method:'POST', -// url:'' -// })} -// } -// } \ No newline at end of file diff --git a/assets/style/_global.scss b/assets/style/_global.scss index fc717e2..2044e62 100644 --- a/assets/style/_global.scss +++ b/assets/style/_global.scss @@ -1,8 +1,25 @@ +@import "./var.scss"; @import "./common.scss"; html{ width: 100vw; height: 100vh; +} + +.light{ + background-color: $light-sidenav-bg; + color: $light-sidenav-color; +} + +.dark{ + background-color: $dark-sidenav-bg; + color: $dark-sidenav-color; +} + + +img { + max-width: 100%; + height: auto; } \ No newline at end of file diff --git a/assets/style/var.scss b/assets/style/var.scss new file mode 100644 index 0000000..0ded00d --- /dev/null +++ b/assets/style/var.scss @@ -0,0 +1,5 @@ +$light-sidenav-bg:#fff; +$light-sidenav-color:#000; + +$dark-sidenav-bg:#000; +$dark-sidenav-color:#fff; \ No newline at end of file diff --git a/common/getJson.js b/common/getJson.js deleted file mode 100644 index f09f676..0000000 --- a/common/getJson.js +++ /dev/null @@ -1,1109 +0,0 @@ -// Generated by Haxe 4.0.0+ef18b627e -var serve = {}; -(function ($hx_exports, $global) { - "use strict"; - $hx_exports["jiaoyisuo"] = $hx_exports["jiaoyisuo"] || {}; - class HxOverrides { - static iter(a) { - return { - cur: 0, - arr: a, - hasNext: function () { - return this.cur < this.arr.length; - }, - next: function () { - return this.arr[this.cur++]; - } - }; - } - } - HxOverrides.__name__ = true; - class MainBoCai { - constructor() {} - static main2() {} - static main() { - // MainBoCai.genJson(100); - } - static genJson(total) { - var data = jiaoyisuo_JYSHelper.makeTestData(total); - var tree = jiaoyisuo_JYSHelper.makeTree(data, 0); - var json = jiaoyisuo_JYSHelper.makeJson(tree, data); - console.log("src/MainBoCai.hx:39:", json); - return json; - } - } - $hx_exports["MainBoCai"] = MainBoCai; - MainBoCai.__name__ = true; - Object.assign(MainBoCai.prototype, { - __class__: MainBoCai - }); - Math.__name__ = true; - class Std { - static string(s) { - return js_Boot.__string_rec(s, ""); - } - } - Std.__name__ = true; - class _$UInt_UInt_$Impl_$ { - static toFloat(this1) { - var int = this1; - if (int < 0) { - return 4294967296.0 + int; - } else { - return int + 0.0; - } - } - } - _$UInt_UInt_$Impl_$.__name__ = true; - class haxe_IMap {} - haxe_IMap.__name__ = true; - haxe_IMap.__isInterface__ = true; - class haxe_ds_IntMap { - constructor() { - this.h = {}; - } - keys() { - var a = []; - for (var key in this.h) this.h.hasOwnProperty(key) ? a.push(key | 0) : null; - return HxOverrides.iter(a); - } - iterator() { - return { - ref: this.h, - it: this.keys(), - hasNext: function () { - return this.it.hasNext(); - }, - next: function () { - var i = this.it.next(); - return this.ref[i]; - } - }; - } - } - haxe_ds_IntMap.__name__ = true; - haxe_ds_IntMap.__interfaces__ = [haxe_IMap]; - Object.assign(haxe_ds_IntMap.prototype, { - __class__: haxe_ds_IntMap - }); - class haxe_ds_StringMap { - constructor() { - this.h = {}; - } - setReserved(key, value) { - if (this.rh == null) { - this.rh = {}; - } - this.rh["$" + key] = value; - } - getReserved(key) { - if (this.rh == null) { - return null; - } else { - return this.rh["$" + key]; - } - } - } - haxe_ds_StringMap.__name__ = true; - haxe_ds_StringMap.__interfaces__ = [haxe_IMap]; - Object.assign(haxe_ds_StringMap.prototype, { - __class__: haxe_ds_StringMap - }); - class jiaoyisuo_JYSHelper { - static makeTestData(total) { - var arr = new haxe_ds_IntMap(); - var tt = [100, 200, 500]; - var _g = []; - var _g1 = 0; - var _g2 = Math.floor(101 * Math.random()); - while (_g1 < _g2) { - var i = _g1++; - _g.push(tt[Math.floor((tt.length - 1 + 1) * Math.random())]); - } - var node = { - id: 0, - parent: -1, - chargeMoney: _g, - money: (1 + Math.floor(10 * Math.random())) * 1000, - loseMoeny: (1 + Math.floor(10 * Math.random())) * 10, - jiCha: (1 + Math.floor(3 * Math.random())) * 10 / 100, - sum: 0 - }; - arr.h[0] = node; - var index = 0; - var parentArray = []; - parentArray.push(0); - var _g3 = 1; - var _g4 = total; - while (_g3 < _g4) { - var i1 = _g3++; - var id = index + 1; - var parentID = parentArray[Math.floor((parentArray.length - 1 + 1) * Math.random())]; - parentArray.push(id); - var _g31 = []; - var _g41 = 0; - var _g5 = 1 + Math.floor(10 * Math.random()); - while (_g41 < _g5) { - var i2 = _g41++; - _g31.push(tt[Math.floor((tt.length - 1 + 1) * Math.random())]); - } - var mode = { - id: id, - parent: parentID, - chargeMoney: _g31, - money: (1 + Math.floor(10 * Math.random())) * 1000, - loseMoeny: (1 + Math.floor(10 * Math.random())) * 10, - jiCha: (1 + Math.floor(3 * Math.random())) * 10 / 100, - sum: 0 - }; - arr.h[id] = mode; - ++index; - } - return arr; - } - static makeTree(arr, id) { - if (id == null) { - id = 0; - } - console.log("src/jiaoyisuo/JYSHelper.hx:75:", "开始构建树" + Std.string(id == null ? null : _$UInt_UInt_$Impl_$.toFloat(id))); - var currentNode = arr.h[id]; - var root = arr.h[id]; - var can = new haxe_ds_IntMap(); - var e = arr.iterator(); - while (e.hasNext()) { - var e1 = e.next(); - var loop = true; - var current = e1; - if (!can.h.hasOwnProperty(current.id)) { - while (current.parent != -1 && loop) - if (current.parent == root.id) { - can.h[current.id] = current; - loop = false; - if (current.id != e1.id) { - current = e1; - while (current.parent != -1) { - if (!can.h.hasOwnProperty(current.parent)) { - if (current.parent == root.id) { - break; - } - var v = arr.h[current.parent]; - can.h[current.parent] = v; - } - current = arr.h[current.parent]; - } - } - } else { - current = arr.h[current.parent]; - } - } - } - console.log("src/jiaoyisuo/JYSHelper.hx:113:", "构建树--------------------------"); - var treeRoot = new polygonal_ds_TreeNode(id); - arr.h[id].node = treeRoot; - var rootParentID = arr.h[id].parent; - var e2 = can.iterator(); - while (e2.hasNext()) { - var e3 = e2.next(); - var node = arr.h[e3.id].node; - if (e3.id != id && node == null) { - node = new polygonal_ds_TreeNode(e3.id); - arr.h[e3.id].node = node; - } - if (e3.parent != rootParentID) { - if (arr.h.hasOwnProperty(e3.parent)) { - var parentNode = arr.h[e3.parent].node; - if (parentNode == null) { - parentNode = new polygonal_ds_TreeNode(e3.parent); - arr.h[e3.parent].node = parentNode; - } - if (parentNode.val == e3.parent) { - parentNode.appendNode(node); - } else { - if (treeRoot.find(node.val) == null) { - treeRoot.appendNode(node); - } - console.log("src/jiaoyisuo/JYSHelper.hx:142:", " fter id=" + e3.id + " parent=" + e3.parent + " node=" + node.val + " nodeparent=" + arr.h[e3.parent].node.val); - } - } else { - console.log("src/jiaoyisuo/JYSHelper.hx:145:", "fucking...沒有?" + e3.parent); - } - } - } - console.log("src/jiaoyisuo/JYSHelper.hx:150:", treeRoot.toString()); - return treeRoot; - } - static makeJson(root, arr) { - var node = arr.h[root.val]; - var jsonRoot = { - name: node.id + "", - value: node.money + "", - children: [], - collapsed: false - }; - var map = new haxe_ds_StringMap(); - var k = jsonRoot.name; - if (__map_reserved[k] != null) { - map.setReserved(k, jsonRoot); - } else { - map.h[k] = jsonRoot; - } - root.preorder(function (node1, preflight, userData) { - if (node1.parent != null) { - var mNode = arr.h[node1.val]; - var currentNode = {}; - if (node1.children != null) { - var k1 = mNode.id + ""; - var v = { - name: mNode.id + "", - value: mNode.money + "", - children: [] - }; - if (__map_reserved[k1] != null) { - map.setReserved(k1, v); - } else { - map.h[k1] = v; - } - currentNode = v; - } else { - currentNode = { - name: mNode.id + "", - value: mNode.money + "" - }; - } - var key = mNode.parent + ""; - (__map_reserved[key] != null ? map.getReserved(key) : map.h[key]).children.push(currentNode); - } - return true; - }, null, false, true); - var content = JSON.stringify(jsonRoot); - return content; - } - static caleDynamicIncomeFromChild(root, arr) { - var persents_0 = 0.05; - var persents_1 = 0.08; - var persents_2 = 0.12; - var persents_3 = 0.16; - var persents_4 = 0.2; - var scores_0 = 2; - var scores_1 = 12; - var scores_2 = 30; - var scores_3 = 60; - var scores_4 = 120; - var rootClone = root.clone(); - var childs = rootClone.childIterator(); - var nodeSumArray = []; - var e = childs; - while (e.hasNext()) { - var e1 = e.next(); - var currentNode = rootClone.find(e1); - var sum = [0]; - currentNode.preorder((function (sum1) { - return function (node, preflight, userData) { - sum1[0] += arr.h[node.val].money; - return true; - }; - })(sum), null, false, true); - nodeSumArray.push({ - node: e1, - sum: sum[0] - }); - } - nodeSumArray.sort(function (a, b) { - if (a.sum > b.sum) { - return -1; - } else { - return 1; - } - }); - console.log("src/jiaoyisuo/JYSHelper.hx:226:", "去掉极大值-----------" + nodeSumArray[0].node + "所有节点"); - if (nodeSumArray.length > 1) { - var nodeU = rootClone.find(nodeSumArray[0].node); - nodeU.unlink(); - } else { - console.log("src/jiaoyisuo/JYSHelper.hx:233:", "只有1个节点 不裁剪"); - } - var sum2 = 0; - var sum21 = 0; - rootClone.preorder(function (node1, preflight1, userData1) { - if (node1.depth() > 0) { - sum2 += arr.h[node1.val].money; - sum21 += arr.h[node1.val].staitcIncome; - } - return true; - }, null, false, true); - return arr; - } - static caleRecommandIncome(id, root, arr, maxLevel) { - if (maxLevel == null) { - maxLevel = 8; - } - var node = arr.h[id]; - var total = node.money; - var rootID = root.parent.val; - var currentNode = root.find(id); - var level = 0; - while (currentNode.parent != null) - if (level < maxLevel) { - arr.h[currentNode.parent.val].recommendMoney += total * 5 / 100 * 10 / 100; - currentNode = currentNode.parent; - } - } - static caleStaticIncome(target, win) { - if (win) { - target.staitcIncome = target.gameUSDT * (0.1 + 0.19999999999999998 * Math.random()); - } else { - target.staitcIncome = target.gameUSDT * 5 / 100; - } - } - static caleTearmIncome() {} - static getlimtIncome() {} - static getShareIncome() {} - static freezingMoney() {} - static getDividendEveryData() {} - static initData() {} - static getMNode() {} - } - $hx_exports["jiaoyisuo"]["JYSHelper"] = jiaoyisuo_JYSHelper; - jiaoyisuo_JYSHelper.__name__ = true; - class js__$Boot_HaxeError extends Error { - constructor(val) { - super(); - this.val = val; - if (Error.captureStackTrace) { - Error.captureStackTrace(this, js__$Boot_HaxeError); - } - } - } - js__$Boot_HaxeError.__name__ = true; - js__$Boot_HaxeError.__super__ = Error; - Object.assign(js__$Boot_HaxeError.prototype, { - __class__: js__$Boot_HaxeError - }); - class js_Boot { - static getClass(o) { - if (o == null) { - return null; - } else if (((o) instanceof Array)) { - return Array; - } else { - var cl = o.__class__; - if (cl != null) { - return cl; - } - var name = js_Boot.__nativeClassName(o); - if (name != null) { - return js_Boot.__resolveNativeClass(name); - } - return null; - } - } - static __string_rec(o, s) { - if (o == null) { - return "null"; - } - if (s.length >= 5) { - return "<...>"; - } - var t = typeof (o); - if (t == "function" && (o.__name__ || o.__ename__)) { - t = "object"; - } - switch (t) { - case "function": - return "<function>"; - case "object": - if (((o) instanceof Array)) { - var str = "["; - s += "\t"; - var _g3 = 0; - var _g11 = o.length; - while (_g3 < _g11) { - var i = _g3++; - str += (i > 0 ? "," : "") + js_Boot.__string_rec(o[i], s); - } - str += "]"; - return str; - } - var tostr; - try { - tostr = o.toString; - } catch (e1) { - var e2 = ((e1) instanceof js__$Boot_HaxeError) ? e1.val : e1; - return "???"; - } - if (tostr != null && tostr != Object.toString && typeof (tostr) == "function") { - var s2 = o.toString(); - if (s2 != "[object Object]") { - return s2; - } - } - var str1 = "{\n"; - s += "\t"; - var hasp = o.hasOwnProperty != null; - var k = null; - for (k in o) { - if (hasp && !o.hasOwnProperty(k)) { - continue; - } - if (k == "prototype" || k == "__class__" || k == "__super__" || k == "__interfaces__" || k == "__properties__") { - continue; - } - if (str1.length != 2) { - str1 += ", \n"; - } - str1 += s + k + " : " + js_Boot.__string_rec(o[k], s); - } - s = s.substring(1); - str1 += "\n" + s + "}"; - return str1; - case "string": - return o; - default: - return String(o); - } - } - static __interfLoop(cc, cl) { - if (cc == null) { - return false; - } - if (cc == cl) { - return true; - } - if (Object.prototype.hasOwnProperty.call(cc, "__interfaces__")) { - var intf = cc.__interfaces__; - var _g = 0; - var _g1 = intf.length; - while (_g < _g1) { - var i = _g++; - var i1 = intf[i]; - if (i1 == cl || js_Boot.__interfLoop(i1, cl)) { - return true; - } - } - } - return js_Boot.__interfLoop(cc.__super__, cl); - } - static __instanceof(o, cl) { - if (cl == null) { - return false; - } - switch (cl) { - case Array: - return ((o) instanceof Array); - case Bool: - return typeof (o) == "boolean"; - case Dynamic: - return o != null; - case Float: - return typeof (o) == "number"; - case Int: - if (typeof (o) == "number") { - return ((o | 0) === o); - } else { - return false; - } - break; - case String: - return typeof (o) == "string"; - default: - if (o != null) { - if (typeof (cl) == "function") { - if (js_Boot.__downcastCheck(o, cl)) { - return true; - } - } else if (typeof (cl) == "object" && js_Boot.__isNativeObj(cl)) { - if (((o) instanceof cl)) { - return true; - } - } - } else { - return false; - } - if (cl == Class ? o.__name__ != null : false) { - return true; - } - if (cl == Enum ? o.__ename__ != null : false) { - return true; - } - return false; - } - } - static __downcastCheck(o, cl) { - if (!((o) instanceof cl)) { - if (cl.__isInterface__) { - return js_Boot.__interfLoop(js_Boot.getClass(o), cl); - } else { - return false; - } - } else { - return true; - } - } - static __cast(o, t) { - if (o == null || js_Boot.__instanceof(o, t)) { - return o; - } else { - throw new js__$Boot_HaxeError("Cannot cast " + Std.string(o) + " to " + Std.string(t)); - } - } - static __nativeClassName(o) { - var name = js_Boot.__toStr.call(o).slice(8, -1); - if (name == "Object" || name == "Function" || name == "Math" || name == "JSON") { - return null; - } - return name; - } - static __isNativeObj(o) { - return js_Boot.__nativeClassName(o) != null; - } - static __resolveNativeClass(name) { - return $global[name]; - } - } - js_Boot.__name__ = true; - class polygonal_ds_Hashable {} - polygonal_ds_Hashable.__name__ = true; - polygonal_ds_Hashable.__isInterface__ = true; - class polygonal_ds_Collection {} - polygonal_ds_Collection.__name__ = true; - polygonal_ds_Collection.__isInterface__ = true; - polygonal_ds_Collection.__interfaces__ = [polygonal_ds_Hashable]; - Object.assign(polygonal_ds_Collection.prototype, { - __class__: polygonal_ds_Collection - }); - class polygonal_ds_Itr {} - polygonal_ds_Itr.__name__ = true; - polygonal_ds_Itr.__isInterface__ = true; - Object.assign(polygonal_ds_Itr.prototype, { - __class__: polygonal_ds_Itr - }); - class polygonal_ds_Cloneable {} - polygonal_ds_Cloneable.__name__ = true; - polygonal_ds_Cloneable.__isInterface__ = true; - Object.assign(polygonal_ds_Cloneable.prototype, { - __class__: polygonal_ds_Cloneable - }); - class polygonal_ds_TreeNode { - constructor(val, parent) { - this.mExtraInfo = 0; - this.val = val; - this.parent = parent; - this.children = null; - this.prev = null; - this.next = null; - this.mTail = null; - this.mNextInStack = null; - this.mPrevInStack = null; - if (this.parent != null) { - parent.mExtraInfo = parent.mExtraInfo & 65535 | (parent.mExtraInfo >>> 16) + 1 << 16; - if (parent.children != null) { - var tail = parent.mTail; - tail.next = this; - this.prev = tail; - this.next = null; - } else { - parent.children = this; - } - parent.mTail = this; - } - } - depth() { - if (this.parent == null) { - return 0; - } else { - var node = this; - var c = 0; - while (node.parent != null) { - ++c; - node = node.parent; - } - return c; - } - } - height() { - var h = 0; - var node = this.children; - while (node != null) { - var y = node.height(); - h = h > y ? h : y; - node = node.next; - } - return 1 + h; - } - unlink() { - if (this.parent != null) { - if (this.parent.children == this) { - this.parent.children = this.next; - } - if (this.parent.mTail == this) { - this.parent.mTail = this.prev; - } - var _this = this.parent; - _this.mExtraInfo = _this.mExtraInfo & 65535 | (_this.mExtraInfo >>> 16) - 1 << 16; - this.parent = null; - } - if (this.prev != null) { - this.prev.next = this.next; - } - if (this.next != null) { - this.next.prev = this.prev; - } - this.next = this.prev = null; - this.mNextInStack = null; - this.mPrevInStack = null; - return this; - } - appendNode(node) { - node.unlink(); - node.parent = this; - this.mExtraInfo = this.mExtraInfo & 65535 | (this.mExtraInfo >>> 16) + 1 << 16; - if (this.children != null) { - this.mTail.next = node; - node.prev = this.mTail; - node.next = null; - this.mTail = node; - } else { - this.mTail = node; - this.children = node; - } - return this; - } - find(val) { - var top = this; - while (top != null) { - var node = top; - var top1 = top; - var t = top1; - top1 = top1.mPrevInStack; - if (top1 != null) { - top1.mNextInStack = null; - } - t.mPrevInStack = null; - top = top1; - if (node.val == val) { - return node; - } - var n = node.children; - if (n != null) { - var c = node.mTail; - while (c != null) { - if (top != null) { - top.mNextInStack = c; - c.mPrevInStack = top; - } - top = c; - c = c.prev; - } - } - } - return null; - } - preorder($process, userData, preflight, iterative) { - if (iterative == null) { - iterative = false; - } - if (preflight == null) { - preflight = false; - } - if (this.parent == null && this.children == null) { - if ($process == null) { - var v = this.val; - if (preflight) { - if (v.visit(true, userData)) { - v.visit(false, userData); - } - } else { - v.visit(false, userData); - } - } else if (preflight) { - if ($process(this, true, userData)) { - $process(this, false, userData); - } - } else { - $process(this, false, userData); - } - return this; - } - if (iterative == false) { - if ($process == null) { - if (preflight) { - var v1 = this.val; - if (v1.visit(true, userData)) { - if (v1.visit(false, userData)) { - var child = this.children; - var hook; - while (child != null) { - hook = child.next; - if (!this.preOrderInternalVisitablePreflight(child, userData)) { - return this; - } - child = hook; - } - } - } - } else { - var v2 = this.val; - if (v2.visit(false, userData)) { - var child1 = this.children; - var hook1; - while (child1 != null) { - hook1 = child1.next; - if (!this.preOrderInternalVisitable(child1, userData)) { - return this; - } - child1 = hook1; - } - } - } - } else if (preflight) { - if ($process(this, true, userData)) { - if ($process(this, false, userData)) { - var child2 = this.children; - var hook2; - while (child2 != null) { - hook2 = child2.next; - if (!this.preOrderInternalPreflight(child2, $process, userData)) { - return this; - } - child2 = hook2; - } - } - } - } else if ($process(this, false, userData)) { - var child3 = this.children; - var hook3; - while (child3 != null) { - hook3 = child3.next; - if (!this.preOrderInternal(child3, $process, userData)) { - return this; - } - child3 = hook3; - } - } - } else { - var top = this; - if ($process == null) { - if (preflight) { - while (top != null) { - var node = top; - var top1 = top; - var t = top1; - top1 = top1.mPrevInStack; - if (top1 != null) { - top1.mNextInStack = null; - } - t.mPrevInStack = null; - top = top1; - var v3 = node.val; - if (!v3.visit(true, userData)) { - continue; - } - if (!v3.visit(false, userData)) { - return this; - } - var n = node.children; - if (n != null) { - var c = node.mTail; - while (c != null) { - if (top != null) { - top.mNextInStack = c; - c.mPrevInStack = top; - } - top = c; - c = c.prev; - } - } - } - } else { - while (top != null) { - var node1 = top; - var top2 = top; - var t1 = top2; - top2 = top2.mPrevInStack; - if (top2 != null) { - top2.mNextInStack = null; - } - t1.mPrevInStack = null; - top = top2; - var v4 = node1.val; - if (!v4.visit(false, userData)) { - return this; - } - var n1 = node1.children; - if (n1 != null) { - var c1 = node1.mTail; - while (c1 != null) { - if (top != null) { - top.mNextInStack = c1; - c1.mPrevInStack = top; - } - top = c1; - c1 = c1.prev; - } - } - } - } - } else if (preflight) { - while (top != null) { - var node2 = top; - var top3 = top; - var t2 = top3; - top3 = top3.mPrevInStack; - if (top3 != null) { - top3.mNextInStack = null; - } - t2.mPrevInStack = null; - top = top3; - if (!$process(node2, true, userData)) { - continue; - } - if (!$process(node2, false, userData)) { - return this; - } - var n2 = node2.children; - if (n2 != null) { - var c2 = node2.mTail; - while (c2 != null) { - if (top != null) { - top.mNextInStack = c2; - c2.mPrevInStack = top; - } - top = c2; - c2 = c2.prev; - } - } - } - } else { - while (top != null) { - var node3 = top; - var top4 = top; - var t3 = top4; - top4 = top4.mPrevInStack; - if (top4 != null) { - top4.mNextInStack = null; - } - t3.mPrevInStack = null; - top = top4; - if (!$process(node3, false, userData)) { - return this; - } - var n3 = node3.children; - if (n3 != null) { - var c3 = node3.mTail; - while (c3 != null) { - if (top != null) { - top.mNextInStack = c3; - c3.mPrevInStack = top; - } - top = c3; - c3 = c3.prev; - } - } - } - } - } - return this; - } - toString() { - var b_b = ""; - var _gthis = this; - b_b += Std.string("[ Tree size=" + this.get_size() + " depth=" + this.depth() + " height=" + this.height()); - if (this.children == null) { - b_b += "\n"; - b_b += " "; - b_b += Std.string(Std.string(this.val)); - b_b += "\n"; - b_b += "]"; - return b_b; - } - b_b += "\n"; - this.preorder(function (node, preflight, userData) { - var d = node.depth(); - var _g = 0; - var _g1 = d; - while (_g < _g1) { - var i = _g++; - if (i == d - 1) { - b_b += " +--- "; - } else { - b_b += " | "; - } - } - if (node == _gthis) { - b_b += " "; - } - b_b += Std.string(Std.string(node.val) + "\n"); - return true; - }, null); - b_b += "]"; - return b_b; - } - childIterator() { - return new polygonal_ds_ChildTreeIterator(this); - } - preOrderInternal(node, $process, userData) { - if ($process(node, false, userData)) { - if (node.children != null) { - var walker = node.children; - while (walker != null) { - if (!this.preOrderInternal(walker, $process, userData)) { - return false; - } - walker = walker.next; - } - } - return true; - } - return false; - } - preOrderInternalPreflight(node, $process, userData) { - if ($process(node, true, userData)) { - if ($process(node, false, userData)) { - if (node.children != null) { - var walker = node.children; - while (walker != null) { - if (!this.preOrderInternalPreflight(walker, $process, userData)) { - return false; - } - walker = walker.next; - } - } - return true; - } - } - return false; - } - preOrderInternalVisitable(node, userData) { - var v = node.val; - if (v.visit(false, userData)) { - if (node.children != null) { - var walker = node.children; - var hook; - while (walker != null) { - hook = walker.next; - if (!this.preOrderInternalVisitable(walker, userData)) { - return false; - } - walker = hook; - } - } - return true; - } - return false; - } - preOrderInternalVisitablePreflight(node, userData) { - var v = node.val; - if (v.visit(true, userData)) { - if (v.visit(false, userData)) { - if (node.children != null) { - var walker = node.children; - var hook; - while (walker != null) { - hook = walker.next; - if (!this.preOrderInternalVisitablePreflight(walker, userData)) { - return false; - } - walker = hook; - } - } - return true; - } - } - return false; - } - get_size() { - var c = 1; - var node = this.children; - while (node != null) { - c += node.get_size(); - node = node.next; - } - return c; - } - clone(byRef, copier) { - if (byRef == null) { - byRef = true; - } - var stack = []; - var copy = new polygonal_ds_TreeNode(copier != null ? copier(this.val) : this.val); - stack[0] = this; - stack[1] = copy; - var i = 2; - while (i > 0) { - var c = stack[--i]; - var n = stack[--i]; - c.mExtraInfo = c.mExtraInfo & 65535 | n.mExtraInfo >>> 16 << 16; - if (n.children != null) { - var nchild = n.children; - var x = nchild.val; - var x1 = byRef ? x : copier == null ? (js_Boot.__cast(x, polygonal_ds_Cloneable)).clone() : copier(x); - var cchild = c.children = new polygonal_ds_TreeNode(x1, c); - stack[i++] = nchild; - stack[i++] = cchild; - nchild = nchild.next; - while (nchild != null) { - var x2 = nchild.val; - x1 = byRef ? x2 : copier == null ? (js_Boot.__cast(x2, polygonal_ds_Cloneable)).clone() : copier(x2); - cchild.next = new polygonal_ds_TreeNode(x1, c); - cchild = cchild.next; - c.mTail = cchild; - stack[i++] = nchild; - stack[i++] = cchild; - nchild = nchild.next; - } - } - } - return copy; - } - } - polygonal_ds_TreeNode.__name__ = true; - polygonal_ds_TreeNode.__interfaces__ = [polygonal_ds_Collection]; - Object.assign(polygonal_ds_TreeNode.prototype, { - __class__: polygonal_ds_TreeNode - }); - class polygonal_ds_ChildTreeIterator { - constructor(x) { - this.mObject = x; - this.mWalker = this.mObject.children; - this.mHook = null; - } - hasNext() { - return this.mWalker != null; - } - next() { - var x = this.mWalker.val; - this.mHook = this.mWalker; - this.mWalker = this.mWalker.next; - return x; - } - } - polygonal_ds_ChildTreeIterator.__name__ = true; - polygonal_ds_ChildTreeIterator.__interfaces__ = [polygonal_ds_Itr]; - Object.assign(polygonal_ds_ChildTreeIterator.prototype, { - __class__: polygonal_ds_ChildTreeIterator - }); - class polygonal_ds_Visitable {} - polygonal_ds_Visitable.__name__ = true; - polygonal_ds_Visitable.__isInterface__ = true; - Object.assign(polygonal_ds_Visitable.prototype, { - __class__: polygonal_ds_Visitable - }); - String.prototype.__class__ = String; - String.__name__ = true; - Array.__name__ = true; - var Int = {}; - var Dynamic = {}; - var Float = Number; - var Bool = Boolean; - var Class = {}; - var Enum = {}; - var __map_reserved = {}; - Object.defineProperty(js__$Boot_HaxeError.prototype, "message", { - get: function () { - return String(this.val); - } - }); - js_Boot.__toStr = ({}).toString; - MainBoCai.main(); -})(serve, serve); -export default serve; \ No newline at end of file diff --git a/common/option.js b/common/option.js deleted file mode 100644 index 235fdd4..0000000 --- a/common/option.js +++ /dev/null @@ -1,96 +0,0 @@ -export default (realData, str, ctrlDown, cb) => { - return { - tooltip: { - trigger: 'item', - triggerOn: 'mousemove' - }, - series: [{ - type: 'tree', - roam: true, - data: [realData], - symbol: 'emptycircle', - left: '3%', - right: '3%', - top: '8%', - bottom: '20%', - // 缩放 - zoom: 1, - diyExpand: (name, isExpand) => { - if (ctrlDown) { - return !isExpand - } else { - // 收缩 - cb && cb(isExpand); - return isExpand - } - }, - symbolSize: (v, param) => { - if (str && param.name.match(str)) { - return 35 - } else { - return 20; - } - }, - symbol: (v, param) => { - if (Number(param.name) % 2 == 0) { - return 'image://https://cn.bing.com/th?id=OIP.1e3YVW946dgy5uJH764JXwHaFj&pid=Api&rs=1' - } else { - return 'emptycircle'; - } - }, - symbolKeepAspect: false, - layout: 'orthogonal', - orient: 'TB', - - expandAndCollapse: true, - initialTreeDepth: -1, - label: { - normal: { - show: true, - position: 'top', - verticalAlign: 'middle', - align: 'middle', - fontSize: 20, - distance: 10, - formatter: function (param) { - if (str && param.name.match(str)) { - return '{a|' + param.name + '}' - } else { - return param.name; - } - }, - rich: { - a: { - color: 'red', - fontSize: 26, - fontWeight: 'bolder', - lineHeight: 10 - } - } - }, - // 高亮悬浮 - emphasis: { - fontSize: 26, - distance: 10, - fontWeight: 'bolder', - color: 'red' - } - }, - - leaves: { - label: { - normal: { - fontSize: 20, - show: true, - distance: 10, - position: 'top', - verticalAlign: 'middle', - align: 'middle' - } - } - }, - // animation: false, - animationDurationUpdate: 750 - }] - } -} \ No newline at end of file diff --git a/components/base/_base-model.vue b/components/base/_base-model.vue index 1a7f3a0..6182a11 100644 --- a/components/base/_base-model.vue +++ b/components/base/_base-model.vue @@ -1,6 +1,6 @@ <template> <transition name="fade"> - <div class="_model" v-show="value" v-focus @keyup.esc="onEsc"> + <div class="_model" v-show="value"> <div class="_mask" @click="hide"></div> <transition name="slide-fade"> <div class="_panel" v-show="value">asssssssssssssssssss</div> diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/docs/200.html b/docs/200.html deleted file mode 100644 index 41a69a1..0000000 --- a/docs/200.html +++ /dev/null @@ -1,9 +0,0 @@ -<!doctype html> -<html data-n-head=""> - <head data-n-head=""> - <title data-n-head="true">Beer</title><meta data-n-head="true" charset="utf-8"><meta data-n-head="true" name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta data-n-head="true" data-hid="description" name="description" content="My primo Nuxt.js project"><link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico"><link rel="preload" href="/website/_nuxt/ca1ba156dfe080d242ef.js" as="script"><link rel="preload" href="/website/_nuxt/4d63b374d12d0c512fe1.js" as="script"><link rel="preload" href="/website/_nuxt/02f154bff9392ab47ea0.js" as="script"><link rel="preload" href="/website/_nuxt/a69e7f7b78ae7067d8d5.js" as="script"> - </head> - <body data-n-head=""> - <div id="__nuxt"><style>#nuxt-loading{visibility:hidden;opacity:0;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;animation:nuxtLoadingIn 10s ease;-webkit-animation:nuxtLoadingIn 10s ease;animation-fill-mode:forwards;overflow:hidden}@keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}@-webkit-keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}#nuxt-loading>div,#nuxt-loading>div:after{border-radius:50%;width:5rem;height:5rem}#nuxt-loading>div{font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid #f5f5f5;border-left:.5rem solid #fff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:nuxtLoading 1.1s infinite linear;animation:nuxtLoading 1.1s infinite linear}#nuxt-loading.error>div{border-left:.5rem solid #ff4500;animation-duration:5s}@-webkit-keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script>window.addEventListener("error",function(){var e=document.getElementById("nuxt-loading");e&&(e.className+=" error")})</script><div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div></div> - <script type="text/javascript" src="/website/_nuxt/ca1ba156dfe080d242ef.js"></script><script type="text/javascript" src="/website/_nuxt/4d63b374d12d0c512fe1.js"></script><script type="text/javascript" src="/website/_nuxt/02f154bff9392ab47ea0.js"></script><script type="text/javascript" src="/website/_nuxt/a69e7f7b78ae7067d8d5.js"></script></body> -</html> diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index cf00435..0000000 --- a/docs/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# STATIC - -**This directory is not required, you can delete it if you don't want to use it.** - -This directory contains your static files. -Each file inside this directory is mapped to `/`. -Thus you'd want to delete this README.md before deploying to production. - -Example: `/static/robots.txt` is mapped as `/robots.txt`. - -More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static). diff --git a/docs/_nuxt/02f154bff9392ab47ea0.js b/docs/_nuxt/02f154bff9392ab47ea0.js deleted file mode 100644 index bf61760..0000000 --- a/docs/_nuxt/02f154bff9392ab47ea0.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see LICENSES */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{106:function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},107:function(e,t,n){"use strict";t.a=function(e,t){return t=t||{},new Promise(function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(JSON.parse(s.responseText))},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var f in s.open(t.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,n){o.push(t=t.toLowerCase()),u.push([t,n]),i[t]=i[t]?i[t]+","+n:n}),n(a())},s.onerror=r,s.withCredentials="include"==t.credentials,t.headers)s.setRequestHeader(f,t.headers[f]);s.send(t.body||null)})}},109:function(e,t,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var n=t.parent,r=t.slots,o=t.props,f=r(),c=f.default;void 0===c&&(c=[]);var l=f.placeholder;return n._isMounted?c:(n.$once("hook:mounted",function(){n.$forceUpdate()}),o.placeholderTag&&(o.placeholder||l)?e(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||l):c.length>0?c.map(function(){return e(!1)}):e(!1))}};e.exports=r},110:function(e,t,n){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,source,t){return e.concat(source).map(function(element){return n(element,t)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(symbol){return e.propertyIsEnumerable(symbol)}):[]}(e))}function f(e,source,t){var r={};return t.isMergeableObject(e)&&o(e).forEach(function(o){r[o]=n(e[o],t)}),o(source).forEach(function(o){t.isMergeableObject(source[o])&&e[o]?r[o]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(o,t)(e[o],source[o],t):r[o]=n(source[o],t)}),r}function c(t,source,o){(o=o||{}).arrayMerge=o.arrayMerge||r,o.isMergeableObject=o.isMergeableObject||e;var c=Array.isArray(source);return c===Array.isArray(t)?c?o.arrayMerge(t,source,o):f(t,source,o):n(source,o)}return c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return c(e,n,t)},{})},c}()},112:function(e,t,n){e.exports=n(186).default},113:function(e,t,n){var r=n(205),o=n(206)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=o},164:function(e,t,n){var content=n(165);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(32).default)("290f013b",content,!0,{sourceMap:!1})},165:function(e,t,n){(e.exports=n(31)(!1)).push([e.i,'a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}[hidden]{display:none}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}',""])},186:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNetworkError=l,t.isRetryableError=v,t.isSafeRequestError=y,t.isIdempotentRequestError=h,t.isNetworkOrIdempotentRequestError=m,t.exponentialDelay=R,t.default=T;var r,o=n(187),f=(r=o)&&r.__esModule?r:{default:r};var c="axios-retry";function l(e){return!e.response&&Boolean(e.code)&&"ECONNABORTED"!==e.code&&(0,f.default)(e)}var d=["get","head","options"],E=d.concat(["put","delete"]);function v(e){return"ECONNABORTED"!==e.code&&(!e.response||e.response.status>=500&&e.response.status<=599)}function y(e){return!!e.config&&(v(e)&&-1!==d.indexOf(e.config.method))}function h(e){return!!e.config&&(v(e)&&-1!==E.indexOf(e.config.method))}function m(e){return l(e)||h(e)}function x(){return 0}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=100*Math.pow(2,e);return t+.2*t*Math.random()}function _(e){var t=e[c]||{};return t.retryCount=t.retryCount||0,e[c]=t,t}function T(e,t){e.interceptors.request.use(function(e){return _(e).lastRequestTime=Date.now(),e}),e.interceptors.response.use(null,function(n){var r=n.config;if(!r)return Promise.reject(n);var o=function(e,t){return Object.assign({},t,e[c])}(r,t),f=o.retries,l=void 0===f?3:f,d=o.retryCondition,E=void 0===d?m:d,v=o.retryDelay,y=void 0===v?x:v,h=o.shouldResetTimeout,R=void 0!==h&&h,T=_(r);if(E(n)&&T.retryCount<l){T.retryCount+=1;var O=y(T.retryCount,n);if(function(e,t){e.defaults.agent===t.agent&&delete t.agent,e.defaults.httpAgent===t.httpAgent&&delete t.httpAgent,e.defaults.httpsAgent===t.httpsAgent&&delete t.httpsAgent}(e,r),!R&&r.timeout&&T.lastRequestTime){var A=Date.now()-T.lastRequestTime;r.timeout=Math.max(r.timeout-A-O,1)}return r.transformRequest=[function(data){return data}],new Promise(function(t){return setTimeout(function(){return t(e(r))},O)})}return Promise.reject(n)})}T.isNetworkError=l,T.isSafeRequestError=y,T.isIdempotentRequestError=h,T.isNetworkOrIdempotentRequestError=m,T.exponentialDelay=R,T.isRetryableError=v},187:function(e,t,n){"use strict";var r=["ETIMEDOUT","ECONNRESET","EADDRINUSE","ESOCKETTIMEDOUT","ECONNREFUSED","EPIPE"],o=["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED"];e.exports=function(e){return!e||!e.code||(-1!==r.indexOf(e.code)||-1===o.indexOf(e.code))}},189:function(e,t,n){var r=n(190),o=n(106),f=n(192),c=n(53);e.exports=function(e){return function(t){t=c(t);var n=o(t)?f(t):void 0,l=n?n[0]:t.charAt(0),d=n?r(n,1).join(""):t.slice(1);return l[e]()+d}}},190:function(e,t,n){var r=n(191);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},191:function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var f=Array(o);++r<o;)f[r]=e[r+t];return f}},192:function(e,t,n){var r=n(193),o=n(106),f=n(194);e.exports=function(e){return o(e)?f(e):r(e)}},193:function(e,t){e.exports=function(e){return e.split("")}},194:function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",f="[^\\ud800-\\udfff]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",d="(?:"+r+"|"+o+")"+"?",E="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+[f,c,l].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),v="(?:"+[f+r+"?",r,c,l,n].join("|")+")",y=RegExp(o+"(?="+o+")|"+v+E,"g");e.exports=function(e){return e.match(y)||[]}},195:function(e,t,n){var r=n(71),o=n(198),f=n(199),c=n(200),l=1/0,d=r?r.prototype:void 0,E=d?d.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(f(t))return o(t,e)+"";if(c(t))return E?E.call(t):"";var n=t+"";return"0"==n&&1/t==-l?"-0":n}},196:function(e,t,n){var r=n(197),o="object"==typeof self&&self&&self.Object===Object&&self,f=r||o||Function("return this")();e.exports=f},197:function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(19))},198:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},199:function(e,t){var n=Array.isArray;e.exports=n},200:function(e,t,n){var r=n(201),o=n(204),f="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==f}},201:function(e,t,n){var r=n(71),o=n(202),f=n(203),c="[object Null]",l="[object Undefined]",d=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?l:c:d&&d in Object(e)?o(e):f(e)}},202:function(e,t,n){var r=n(71),o=Object.prototype,f=o.hasOwnProperty,c=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=f.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[l]=n:delete e[l]),o}},203:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},204:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},205:function(e,t,n){var r=n(53),o=n(72);e.exports=function(e){return o(r(e).toLowerCase())}},206:function(e,t,n){var r=n(207),o=n(208),f=n(211),c=RegExp("['’]","g");e.exports=function(e){return function(t){return r(f(o(t).replace(c,"")),e,"")}}},207:function(e,t){e.exports=function(e,t,n,r){var o=-1,f=null==e?0:e.length;for(r&&f&&(n=e[++o]);++o<f;)n=t(n,e[o],o,e);return n}},208:function(e,t,n){var r=n(209),o=n(53),f=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,c=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(f,r).replace(c,"")}},209:function(e,t,n){var r=n(210)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},210:function(e,t){e.exports=function(object){return function(e){return null==object?void 0:object[e]}}},211:function(e,t,n){var r=n(212),o=n(213),f=n(53),c=n(214);e.exports=function(e,pattern,t){return e=f(e),void 0===(pattern=t?void 0:pattern)?o(e)?c(e):r(e):e.match(pattern)||[]}},212:function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},213:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},214:function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",f="[\\u2700-\\u27bf]",c="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",v="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+c+"|"+l+")",h="(?:"+v+"|"+l+")",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?"+m+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",d,E].join("|")+")[\\ufe0e\\ufe0f]?"+m+")*"),R="(?:"+[f,d,E].join("|")+")"+x,_=RegExp([v+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,v,"$"].join("|")+")",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,v+y,"$"].join("|")+")",v+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,R].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},220:function(e,t,n){"use strict";n(110)},27:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},28:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},31:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var content=function(e,t){var content=e[1]||"",n=e[3];if(!n)return content;if(t&&"function"==typeof btoa){var r=(f=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(f))))+" */"),o=n.sources.map(function(source){return"/*# sourceURL="+n.sourceRoot+source+" */"});return[content].concat(o).concat([r]).join("\n")}var f;return[content].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+content+"}":content}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];null!=o&&(r[o]=!0)}for(i=0;i<e.length;i++){var f=e[i];null!=f[0]&&r[f[0]]||(n&&!f[2]?f[2]=n:n&&(f[2]="("+f[2]+") and ("+n+")"),t.push(f))}},t}},32:function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],f=o[0],c={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[f]?r[f].parts.push(c):n.push(r[f]={id:f,parts:[c]})}return n}n.r(t),n.d(t,"default",function(){return m});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},head=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,l=0,d=!1,E=function(){},v=null,y="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,n,o){d=n,v=o||{};var c=r(e,t);return x(c),function(t){for(var n=[],i=0;i<c.length;i++){var o=c[i];(l=f[o.id]).refs--,n.push(l)}t?x(c=r(e,t)):c=[];for(i=0;i<n.length;i++){var l;if(0===(l=n[i]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete f[l.id]}}}}function x(e){for(var i=0;i<e.length;i++){var t=e[i],n=f[t.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](t.parts[r]);for(;r<t.parts.length;r++)n.parts.push(_(t.parts[r]));n.parts.length>t.parts.length&&(n.parts.length=t.parts.length)}else{var o=[];for(r=0;r<t.parts.length;r++)o.push(_(t.parts[r]));f[t.id]={id:t.id,refs:1,parts:o}}}}function R(){var e=document.createElement("style");return e.type="text/css",head.appendChild(e),e}function _(e){var t,n,r=document.querySelector("style["+y+'~="'+e.id+'"]');if(r){if(d)return E;r.parentNode.removeChild(r)}if(h){var o=l++;r=c||(c=R()),t=A.bind(null,r,o,!1),n=A.bind(null,r,o,!0)}else r=R(),t=function(e,t){var n=t.css,r=t.media,o=t.sourceMap;r&&e.setAttribute("media",r);v.ssrId&&e.setAttribute(y,t.id);o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var T,O=(T=[],function(e,t){return T[e]=t,T.filter(Boolean).join("\n")});function A(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=O(t,o);else{var f=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(f,c[t]):e.appendChild(f)}}},38:function(e,t,n){"use strict";function r(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=[],n=!0,r=!1,o=void 0;try{for(var f,c=e[Symbol.iterator]();!(n=(f=c.next()).done)&&(t.push(f.value),!i||t.length!==i);n=!0);}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return t}(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",function(){return r})},5:function(e,t,n){"use strict";function r(e,t,n,r,o,f,c){try{var l=e[f](c),d=l.value}catch(e){return void n(e)}l.done?t(d):Promise.resolve(d).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,f){var c=e.apply(t,n);function l(e){r(c,o,f,l,d,"next",e)}function d(e){r(c,o,f,l,d,"throw",e)}l(void 0)})}}n.d(t,"a",function(){return o})},53:function(e,t,n){var r=n(195);e.exports=function(e){return null==e?"":r(e)}},71:function(e,t,n){var r=n(196).Symbol;e.exports=r},72:function(e,t,n){var r=n(189)("toUpperCase");e.exports=r}}]); \ No newline at end of file diff --git a/docs/_nuxt/100e629bf9959497fc76.js b/docs/_nuxt/100e629bf9959497fc76.js deleted file mode 100644 index 7ef7cb3..0000000 --- a/docs/_nuxt/100e629bf9959497fc76.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{241:function(e,n,t){"use strict";t.r(n);t(39);var r=t(5),l=t(228),o=(t(223),t(27)),c=t(232),h=t(225),f=t(224),_=t(233),v=t(240),m=(t(40),t(116),t(117),t(234),t(18),t(13),t(238)),d=t(239),y={};!function(e,n){e.jiaoyisuo=e.jiaoyisuo||{};var t=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"iter",value:function(a){return{cur:0,arr:a,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}}}]),e}();t.__name__=!0;var r=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"main2",value:function(){}},{key:"main",value:function(){}},{key:"genJson",value:function(e){var data=x.makeTestData(e),n=x.makeTree(data,0),t=x.makeJson(n,data);return console.log("src/MainBoCai.hx:39:",t),t}}]),e}();e.MainBoCai=r,r.__name__=!0,Object.assign(r.prototype,{__class__:r}),Math.__name__=!0;var l=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"string",value:function(s){return S.__string_rec(s,"")}}]),e}();l.__name__=!0;var y=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"toFloat",value:function(e){return e<0?4294967296+e:e+0}}]),e}();y.__name__=!0;var k=function e(){Object(m.a)(this,e)};k.__name__=!0,k.__isInterface__=!0;var O=function(){function e(){Object(m.a)(this,e),this.h={}}return Object(d.a)(e,[{key:"keys",value:function(){var a=[];for(var e in this.h)this.h.hasOwnProperty(e)&&a.push(0|e);return t.iter(a)}},{key:"iterator",value:function(){return{ref:this.h,it:this.keys(),hasNext:function(){return this.it.hasNext()},next:function(){var i=this.it.next();return this.ref[i]}}}}]),e}();O.__name__=!0,O.__interfaces__=[k],Object.assign(O.prototype,{__class__:O});var j=function(){function e(){Object(m.a)(this,e),this.h={}}return Object(d.a)(e,[{key:"setReserved",value:function(e,n){null==this.rh&&(this.rh={}),this.rh["$"+e]=n}},{key:"getReserved",value:function(e){return null==this.rh?null:this.rh["$"+e]}}]),e}();j.__name__=!0,j.__interfaces__=[k],Object.assign(j.prototype,{__class__:j});var x=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"makeTestData",value:function(e){for(var n=new O,t=[100,200,500],r=[],l=0,o=Math.floor(101*Math.random());l<o;){l++;r.push(t[Math.floor((t.length-1+1)*Math.random())])}var c={id:0,parent:-1,chargeMoney:r,money:1e3*(1+Math.floor(10*Math.random())),loseMoeny:10*(1+Math.floor(10*Math.random())),jiCha:10*(1+Math.floor(3*Math.random()))/100,sum:0};n.h[0]=c;var h=0,f=[];f.push(0);for(var _=1,v=e;_<v;){_++;var m=h+1,d=f[Math.floor((f.length-1+1)*Math.random())];f.push(m);for(var y=[],k=0,j=1+Math.floor(10*Math.random());k<j;){k++;y.push(t[Math.floor((t.length-1+1)*Math.random())])}var x={id:m,parent:d,chargeMoney:y,money:1e3*(1+Math.floor(10*Math.random())),loseMoeny:10*(1+Math.floor(10*Math.random())),jiCha:10*(1+Math.floor(3*Math.random()))/100,sum:0};n.h[m]=x,++h}return n}},{key:"makeTree",value:function(e,n){null==n&&(n=0),console.log("src/jiaoyisuo/JYSHelper.hx:75:","开始构建树"+l.string(null==n?null:y.toFloat(n)));e.h[n];for(var t=e.h[n],r=new O,o=e.iterator();o.hasNext();){var c=o.next(),h=!0,f=c;if(!r.h.hasOwnProperty(f.id))for(;-1!=f.parent&&h;)if(f.parent==t.id){if(r.h[f.id]=f,h=!1,f.id!=c.id)for(f=c;-1!=f.parent;){if(!r.h.hasOwnProperty(f.parent)){if(f.parent==t.id)break;var _=e.h[f.parent];r.h[f.parent]=_}f=e.h[f.parent]}}else f=e.h[f.parent]}console.log("src/jiaoyisuo/JYSHelper.hx:113:","构建树--------------------------");var v=new T(n);e.h[n].node=v;for(var m=e.h[n].parent,d=r.iterator();d.hasNext();){var k=d.next(),j=e.h[k.id].node;if(k.id!=n&&null==j&&(j=new T(k.id),e.h[k.id].node=j),k.parent!=m)if(e.h.hasOwnProperty(k.parent)){var x=e.h[k.parent].node;null==x&&(x=new T(k.parent),e.h[k.parent].node=x),x.val==k.parent?x.appendNode(j):(null==v.find(j.val)&&v.appendNode(j),console.log("src/jiaoyisuo/JYSHelper.hx:142:"," fter id="+k.id+" parent="+k.parent+" node="+j.val+" nodeparent="+e.h[k.parent].node.val))}else console.log("src/jiaoyisuo/JYSHelper.hx:145:","fucking...沒有?"+k.parent)}return console.log("src/jiaoyisuo/JYSHelper.hx:150:",v.toString()),v}},{key:"makeJson",value:function(e,n){var t=n.h[e.val],r={name:t.id+"",value:t.money+"",children:[],collapsed:!1},map=new j,l=r.name;return null!=R[l]?map.setReserved(l,r):map.h[l]=r,e.preorder(function(e,t,r){if(null!=e.parent){var l=n.h[e.val],o={};if(null!=e.children){var c=l.id+"",h={name:l.id+"",value:l.money+"",children:[]};null!=R[c]?map.setReserved(c,h):map.h[c]=h,o=h}else o={name:l.id+"",value:l.money+""};var f=l.parent+"";(null!=R[f]?map.getReserved(f):map.h[f]).children.push(o)}return!0},null,!1,!0),JSON.stringify(r)}},{key:"caleDynamicIncomeFromChild",value:function(e,n){for(var t=e.clone(),r=[],l=t.childIterator();l.hasNext();){var o=l.next(),c=[0];t.find(o).preorder(function(e){return function(t,r,l){return e[0]+=n.h[t.val].money,!0}}(c),null,!1,!0),r.push({node:o,sum:c[0]})}(r.sort(function(a,b){return a.sum>b.sum?-1:1}),console.log("src/jiaoyisuo/JYSHelper.hx:226:","去掉极大值-----------"+r[0].node+"所有节点"),r.length>1)?t.find(r[0].node).unlink():console.log("src/jiaoyisuo/JYSHelper.hx:233:","只有1个节点 不裁剪");return t.preorder(function(e,t,r){return e.depth()>0&&(n.h[e.val].money,n.h[e.val].staitcIncome),!0},null,!1,!0),n}},{key:"caleRecommandIncome",value:function(e,n,t,r){null==r&&(r=8);for(var l=t.h[e].money,o=(n.parent.val,n.find(e));null!=o.parent;)0<r&&(t.h[o.parent.val].recommendMoney+=5*l/100*10/100,o=o.parent)}},{key:"caleStaticIncome",value:function(e,n){e.staitcIncome=n?e.gameUSDT*(.1+.19999999999999998*Math.random()):5*e.gameUSDT/100}},{key:"caleTearmIncome",value:function(){}},{key:"getlimtIncome",value:function(){}},{key:"getShareIncome",value:function(){}},{key:"freezingMoney",value:function(){}},{key:"getDividendEveryData",value:function(){}},{key:"initData",value:function(){}},{key:"getMNode",value:function(){}}]),e}();e.jiaoyisuo.JYSHelper=x,x.__name__=!0;var I=function(e){function n(e){var t;return Object(m.a)(this,n),(t=Object(c.a)(this,Object(h.a)(n).call(this))).val=e,Error.captureStackTrace&&Error.captureStackTrace(Object(f.a)(t),n),t}return Object(_.a)(n,e),n}(Object(v.a)(Error));I.__name__=!0,I.__super__=Error,Object.assign(I.prototype,{__class__:I});var S=function(){function e(){Object(m.a)(this,e)}return Object(d.a)(e,null,[{key:"getClass",value:function(n){if(null==n)return null;if(n instanceof Array)return Array;var t=n.__class__;if(null!=t)return t;var r=e.__nativeClassName(n);return null!=r?e.__resolveNativeClass(r):null}},{key:"__string_rec",value:function(n,s){if(null==n)return"null";if(s.length>=5)return"<...>";var t=Object(o.a)(n);switch("function"==t&&(n.__name__||n.__ename__)&&(t="object"),t){case"function":return"<function>";case"object":if(n instanceof Array){var r="[";s+="\t";for(var l=0,c=n.length;l<c;){var i=l++;r+=(i>0?",":"")+e.__string_rec(n[i],s)}return r+="]"}var h;try{h=n.toString}catch(e){e instanceof I&&e.val;return"???"}if(null!=h&&h!=Object.toString&&"function"==typeof h){var f=n.toString();if("[object Object]"!=f)return f}var _="{\n";s+="\t";var v=null!=n.hasOwnProperty,m=null;for(m in n)v&&!n.hasOwnProperty(m)||"prototype"!=m&&"__class__"!=m&&"__super__"!=m&&"__interfaces__"!=m&&"__properties__"!=m&&(2!=_.length&&(_+=", \n"),_+=s+m+" : "+e.__string_rec(n[m],s));return _+="\n"+(s=s.substring(1))+"}";case"string":return n;default:return String(n)}}},{key:"__interfLoop",value:function(n,t){if(null==n)return!1;if(n==t)return!0;if(Object.prototype.hasOwnProperty.call(n,"__interfaces__"))for(var r=n.__interfaces__,l=0,o=r.length;l<o;){var c=r[l++];if(c==t||e.__interfLoop(c,t))return!0}return e.__interfLoop(n.__super__,t)}},{key:"__instanceof",value:function(n,t){if(null==t)return!1;switch(t){case Array:return n instanceof Array;case z:return"boolean"==typeof n;case D:return null!=n;case H:return"number"==typeof n;case J:return"number"==typeof n&&(0|n)===n;case String:return"string"==typeof n;default:if(null==n)return!1;if("function"==typeof t){if(e.__downcastCheck(n,t))return!0}else if("object"==Object(o.a)(t)&&e.__isNativeObj(t)&&n instanceof t)return!0;return t==A&&null!=n.__name__||t==F&&null!=n.__ename__}}},{key:"__downcastCheck",value:function(n,t){return n instanceof t||!!t.__isInterface__&&e.__interfLoop(e.getClass(n),t)}},{key:"__cast",value:function(n,t){if(null==n||e.__instanceof(n,t))return n;throw new I("Cannot cast "+l.string(n)+" to "+l.string(t))}},{key:"__nativeClassName",value:function(n){var t=e.__toStr.call(n).slice(8,-1);return"Object"==t||"Function"==t||"Math"==t||"JSON"==t?null:t}},{key:"__isNativeObj",value:function(n){return null!=e.__nativeClassName(n)}},{key:"__resolveNativeClass",value:function(e){return n[e]}}]),e}();S.__name__=!0;var w=function e(){Object(m.a)(this,e)};w.__name__=!0,w.__isInterface__=!0;var M=function e(){Object(m.a)(this,e)};M.__name__=!0,M.__isInterface__=!0,M.__interfaces__=[w],Object.assign(M.prototype,{__class__:M});var N=function e(){Object(m.a)(this,e)};N.__name__=!0,N.__isInterface__=!0,Object.assign(N.prototype,{__class__:N});var P=function e(){Object(m.a)(this,e)};P.__name__=!0,P.__isInterface__=!0,Object.assign(P.prototype,{__class__:P});var T=function(){function e(n,t){if(Object(m.a)(this,e),this.mExtraInfo=0,this.val=n,this.parent=t,this.children=null,this.prev=null,this.next=null,this.mTail=null,this.mNextInStack=null,this.mPrevInStack=null,null!=this.parent){if(t.mExtraInfo=65535&t.mExtraInfo|1+(t.mExtraInfo>>>16)<<16,null!=t.children){var r=t.mTail;r.next=this,this.prev=r,this.next=null}else t.children=this;t.mTail=this}}return Object(d.a)(e,[{key:"depth",value:function(){if(null==this.parent)return 0;for(var e=this,n=0;null!=e.parent;)++n,e=e.parent;return n}},{key:"height",value:function(){for(var e=0,n=this.children;null!=n;){var t=n.height();e=e>t?e:t,n=n.next}return 1+e}},{key:"unlink",value:function(){if(null!=this.parent){this.parent.children==this&&(this.parent.children=this.next),this.parent.mTail==this&&(this.parent.mTail=this.prev);var e=this.parent;e.mExtraInfo=65535&e.mExtraInfo|(e.mExtraInfo>>>16)-1<<16,this.parent=null}return null!=this.prev&&(this.prev.next=this.next),null!=this.next&&(this.next.prev=this.prev),this.next=this.prev=null,this.mNextInStack=null,this.mPrevInStack=null,this}},{key:"appendNode",value:function(e){return e.unlink(),e.parent=this,this.mExtraInfo=65535&this.mExtraInfo|1+(this.mExtraInfo>>>16)<<16,null!=this.children?(this.mTail.next=e,e.prev=this.mTail,e.next=null,this.mTail=e):(this.mTail=e,this.children=e),this}},{key:"find",value:function(e){for(var n=this;null!=n;){var t=n,r=n,l=r;if(null!=(r=r.mPrevInStack)&&(r.mNextInStack=null),l.mPrevInStack=null,n=r,t.val==e)return t;if(null!=t.children)for(var o=t.mTail;null!=o;)null!=n&&(n.mNextInStack=o,o.mPrevInStack=n),n=o,o=o.prev}return null}},{key:"preorder",value:function(e,n,t,r){if(null==r&&(r=!1),null==t&&(t=!1),null==this.parent&&null==this.children){if(null==e){var l=this.val;t?l.visit(!0,n)&&l.visit(!1,n):l.visit(!1,n)}else t?e(this,!0,n)&&e(this,!1,n):e(this,!1,n);return this}if(0==r){if(null==e)if(t){var o=this.val;if(o.visit(!0,n)&&o.visit(!1,n))for(var c,h=this.children;null!=h;){if(c=h.next,!this.preOrderInternalVisitablePreflight(h,n))return this;h=c}}else{if(this.val.visit(!1,n))for(var f,_=this.children;null!=_;){if(f=_.next,!this.preOrderInternalVisitable(_,n))return this;_=f}}else if(t){if(e(this,!0,n)&&e(this,!1,n))for(var v,m=this.children;null!=m;){if(v=m.next,!this.preOrderInternalPreflight(m,e,n))return this;m=v}}else if(e(this,!1,n))for(var d,y=this.children;null!=y;){if(d=y.next,!this.preOrderInternal(y,e,n))return this;y=d}}else{var k=this;if(null==e)if(t)for(;null!=k;){var O=k,j=k,x=j;null!=(j=j.mPrevInStack)&&(j.mNextInStack=null),x.mPrevInStack=null,k=j;var I=O.val;if(I.visit(!0,n)){if(!I.visit(!1,n))return this;if(null!=O.children)for(var S=O.mTail;null!=S;)null!=k&&(k.mNextInStack=S,S.mPrevInStack=k),k=S,S=S.prev}}else for(;null!=k;){var w=k,M=k,N=M;if(null!=(M=M.mPrevInStack)&&(M.mNextInStack=null),N.mPrevInStack=null,k=M,!w.val.visit(!1,n))return this;if(null!=w.children)for(var P=w.mTail;null!=P;)null!=k&&(k.mNextInStack=P,P.mPrevInStack=k),k=P,P=P.prev}else if(t)for(;null!=k;){var T=k,C=k,E=C;if(null!=(C=C.mPrevInStack)&&(C.mNextInStack=null),E.mPrevInStack=null,k=C,e(T,!0,n)){if(!e(T,!1,n))return this;if(null!=T.children)for(var J=T.mTail;null!=J;)null!=k&&(k.mNextInStack=J,J.mPrevInStack=k),k=J,J=J.prev}}else for(;null!=k;){var D=k,H=k,z=H;if(null!=(H=H.mPrevInStack)&&(H.mNextInStack=null),z.mPrevInStack=null,k=H,!e(D,!1,n))return this;if(null!=D.children)for(var A=D.mTail;null!=A;)null!=k&&(k.mNextInStack=A,A.mPrevInStack=k),k=A,A=A.prev}}return this}},{key:"toString",value:function(){var e="",n=this;return e+=l.string("[ Tree size="+this.get_size()+" depth="+this.depth()+" height="+this.height()),null==this.children?(e+="\n",e+=" ",e+=l.string(l.string(this.val)),e+="\n",e+="]"):(e+="\n",this.preorder(function(t,r,o){for(var c=t.depth(),h=0,f=c;h<f;){var i=h++;e+=i==c-1?" +--- ":" | "}return t==n&&(e+=" "),e+=l.string(l.string(t.val)+"\n"),!0},null),e+="]")}},{key:"childIterator",value:function(){return new C(this)}},{key:"preOrderInternal",value:function(e,n,t){if(n(e,!1,t)){if(null!=e.children)for(var r=e.children;null!=r;){if(!this.preOrderInternal(r,n,t))return!1;r=r.next}return!0}return!1}},{key:"preOrderInternalPreflight",value:function(e,n,t){if(n(e,!0,t)&&n(e,!1,t)){if(null!=e.children)for(var r=e.children;null!=r;){if(!this.preOrderInternalPreflight(r,n,t))return!1;r=r.next}return!0}return!1}},{key:"preOrderInternalVisitable",value:function(e,n){if(e.val.visit(!1,n)){if(null!=e.children)for(var t,r=e.children;null!=r;){if(t=r.next,!this.preOrderInternalVisitable(r,n))return!1;r=t}return!0}return!1}},{key:"preOrderInternalVisitablePreflight",value:function(e,n){var t=e.val;if(t.visit(!0,n)&&t.visit(!1,n)){if(null!=e.children)for(var r,l=e.children;null!=l;){if(r=l.next,!this.preOrderInternalVisitablePreflight(l,n))return!1;l=r}return!0}return!1}},{key:"get_size",value:function(){for(var e=1,n=this.children;null!=n;)e+=n.get_size(),n=n.next;return e}},{key:"clone",value:function(n,t){null==n&&(n=!0);var r=[],l=new e(null!=t?t(this.val):this.val);r[0]=this,r[1]=l;for(var i=2;i>0;){var o=r[--i],c=r[--i];if(o.mExtraInfo=65535&o.mExtraInfo|c.mExtraInfo>>>16<<16,null!=c.children){var h=c.children,f=h.val,_=n?f:null==t?S.__cast(f,P).clone():t(f),v=o.children=new e(_,o);for(r[i++]=h,r[i++]=v,h=h.next;null!=h;){var m=h.val;_=n?m:null==t?S.__cast(m,P).clone():t(m),v.next=new e(_,o),v=v.next,o.mTail=v,r[i++]=h,r[i++]=v,h=h.next}}}return l}}]),e}();T.__name__=!0,T.__interfaces__=[M],Object.assign(T.prototype,{__class__:T});var C=function(){function e(n){Object(m.a)(this,e),this.mObject=n,this.mWalker=this.mObject.children,this.mHook=null}return Object(d.a)(e,[{key:"hasNext",value:function(){return null!=this.mWalker}},{key:"next",value:function(){var e=this.mWalker.val;return this.mHook=this.mWalker,this.mWalker=this.mWalker.next,e}}]),e}();C.__name__=!0,C.__interfaces__=[N],Object.assign(C.prototype,{__class__:C});var E=function e(){Object(m.a)(this,e)};E.__name__=!0,E.__isInterface__=!0,Object.assign(E.prototype,{__class__:E}),String.prototype.__class__=String,String.__name__=!0,Array.__name__=!0;var J={},D={},H=Number,z=Boolean,A={},F={},R={};Object.defineProperty(I.prototype,"message",{get:function(){return String(this.val)}}),S.__toStr={}.toString,r.main()}(y,y);var k,O,j=y,x=t(28),I=(t(115),{asyncData:(O=Object(r.a)(regeneratorRuntime.mark(function e(n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.$axios,e.abrupt("return",{});case 2:case"end":return e.stop()}},e)})),function(e){return O.apply(this,arguments)}),fetch:(k=Object(r.a)(regeneratorRuntime.mark(function e(n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.store,n.params,n.$axios;case 1:case"end":return e.stop()}},e)})),function(e){return k.apply(this,arguments)}),mounted:function(){var e=this;console.log(j.MainBoCai);var n=JSON.parse(j.MainBoCai.genJson(200));l.echartTree.init(document.getElementById("main")).setOption(function(e,n,t,r){var l;return{tooltip:{trigger:"item",triggerOn:"mousemove"},series:[(l={type:"tree",roam:!0,data:[e],symbol:"emptycircle",left:"3%",right:"3%",top:"8%",bottom:"20%",zoom:1,diyExpand:function(e,n){return t?!n:(r&&r(n),n)},symbolSize:function(e,param){return n&¶m.name.match(n)?35:20}},Object(x.a)(l,"symbol",function(e,param){return Number(param.name)%2==0?"image://https://cn.bing.com/th?id=OIP.1e3YVW946dgy5uJH764JXwHaFj&pid=Api&rs=1":"emptycircle"}),Object(x.a)(l,"symbolKeepAspect",!1),Object(x.a)(l,"layout","orthogonal"),Object(x.a)(l,"orient","TB"),Object(x.a)(l,"expandAndCollapse",!0),Object(x.a)(l,"initialTreeDepth",-1),Object(x.a)(l,"label",{normal:{show:!0,position:"top",verticalAlign:"middle",align:"middle",fontSize:20,distance:10,formatter:function(param){return n&¶m.name.match(n)?"{a|"+param.name+"}":param.name},rich:{a:{color:"red",fontSize:26,fontWeight:"bolder",lineHeight:10}}},emphasis:{fontSize:26,distance:10,fontWeight:"bolder",color:"red"}}),Object(x.a)(l,"leaves",{label:{normal:{fontSize:20,show:!0,distance:10,position:"top",verticalAlign:"middle",align:"middle"}}}),Object(x.a)(l,"animationDurationUpdate",750),l)]}}(n,"708",this.ctrlDown,function(){console.log("dsa"),e.showModel=!0})),document.onkeydown=this.ctrlDownFunc,document.onkeyup=this.ctrlUpFunc},destroyed:function(){document.onkeydown=null,document.onkeyup=null},data:function(){return{ctrlDown:!1,showModel:!1}},methods:{ctrlDownFunc:function(e){e.keyCode&&17==e.keyCode&&(this.ctrlDown=!0)},ctrlUpFunc:function(e){e.keyCode&&17==e.keyCode&&(this.ctrlDown=!1)}}}),S=t(14),component=Object(S.a)(I,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"home",on:{keydown:function(n){return n.ctrlKey?e.ctrlDownFunc(n):null},keyup:function(n){return n.ctrlKey?e.ctrlUpFunc(n):null}}},[t("div",{staticStyle:{width:"100%",height:"100vh"},attrs:{id:"main"}}),e._v(" "),t("BaseModel",{model:{value:e.showModel,callback:function(n){e.showModel=n},expression:"showModel"}})],1)},[],!1,null,null,null);n.default=component.exports}}]); \ No newline at end of file diff --git a/docs/_nuxt/4d63b374d12d0c512fe1.js b/docs/_nuxt/4d63b374d12d0c512fe1.js deleted file mode 100644 index 9ff2f10..0000000 --- a/docs/_nuxt/4d63b374d12d0c512fe1.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see LICENSES */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(t,e,n){"use strict";(function(t,n){var r=Object.freeze({});function o(t){return null==t}function c(t){return null!=t}function f(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function h(t){return null!==t&&"object"==typeof t}var d=Object.prototype.toString;function v(t){return"[object Object]"===d.call(t)}function y(t){return"[object RegExp]"===d.call(t)}function m(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function _(t){return c(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function w(t){return null==t?"":Array.isArray(t)||v(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function x(t){var e=parseFloat(t);return isNaN(e)?t:e}function O(t,e){for(var map=Object.create(null),n=t.split(","),i=0;i<n.length;i++)map[n[i]]=!0;return e?function(t){return map[t.toLowerCase()]}:function(t){return map[t]}}O("slot,component",!0);var S=O("key,ref,slot,slot-scope,is");function A(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var C=Object.prototype.hasOwnProperty;function E(t,e){return C.call(t,e)}function k(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var j=/-(\w)/g,$=k(function(t){return t.replace(j,function(t,e){return e?e.toUpperCase():""})}),T=k(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),P=/\B([A-Z])/g,I=k(function(t){return t.replace(P,"-$1").toLowerCase()});var L=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(a){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,a):t.call(e)}return n._length=t.length,n};function R(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function N(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},i=0;i<t.length;i++)t[i]&&N(e,t[i]);return e}function D(a,b,t){}var F=function(a,b,t){return!1},U=function(t){return t};function B(a,b){if(a===b)return!0;var t=h(a),e=h(b);if(!t||!e)return!t&&!e&&String(a)===String(b);try{var n=Array.isArray(a),r=Array.isArray(b);if(n&&r)return a.length===b.length&&a.every(function(t,i){return B(t,b[i])});if(a instanceof Date&&b instanceof Date)return a.getTime()===b.getTime();if(n||r)return!1;var o=Object.keys(a),c=Object.keys(b);return o.length===c.length&&o.every(function(t){return B(a[t],b[t])})}catch(t){return!1}}function H(t,e){for(var i=0;i<t.length;i++)if(B(t[i],e))return i;return-1}function V(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var z="data-server-rendered",G=["component","directive","filter"],K=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:D,parsePlatformTagName:U,mustUseProp:F,async:!0,_lifecycleHooks:K},J=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function X(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Y=new RegExp("[^"+J.source+".$_\\d]");var Q,Z="__proto__"in{},tt="undefined"!=typeof window,et="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,nt=et&&WXEnvironment.platform.toLowerCase(),ot=tt&&window.navigator.userAgent.toLowerCase(),it=ot&&/msie|trident/.test(ot),at=ot&&ot.indexOf("msie 9.0")>0,st=ot&&ot.indexOf("edge/")>0,ct=(ot&&ot.indexOf("android"),ot&&/iphone|ipad|ipod|ios/.test(ot)||"ios"===nt),ut=(ot&&/chrome\/\d+/.test(ot),ot&&/phantomjs/.test(ot),ot&&ot.match(/firefox\/(\d+)/)),ft={}.watch,lt=!1;if(tt)try{var pt={};Object.defineProperty(pt,"passive",{get:function(){lt=!0}}),window.addEventListener("test-passive",null,pt)}catch(t){}var ht=function(){return void 0===Q&&(Q=!tt&&!et&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),Q},vt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function yt(t){return"function"==typeof t&&/native code/.test(t.toString())}var mt,gt="undefined"!=typeof Symbol&&yt(Symbol)&&"undefined"!=typeof Reflect&&yt(Reflect.ownKeys);mt="undefined"!=typeof Set&&yt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var bt=D,_t=0,wt=function(){this.id=_t++,this.subs=[]};wt.prototype.addSub=function(sub){this.subs.push(sub)},wt.prototype.removeSub=function(sub){A(this.subs,sub)},wt.prototype.depend=function(){wt.target&&wt.target.addDep(this)},wt.prototype.notify=function(){var t=this.subs.slice();for(var i=0,e=t.length;i<e;i++)t[i].update()},wt.target=null;var xt=[];function Ot(t){xt.push(t),wt.target=t}function St(){xt.pop(),wt.target=xt[xt.length-1]}var At=function(t,data,e,text,n,r,o,c){this.tag=t,this.data=data,this.children=e,this.text=text,this.elm=n,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=data&&data.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ct={child:{configurable:!0}};Ct.child.get=function(){return this.componentInstance},Object.defineProperties(At.prototype,Ct);var Et=function(text){void 0===text&&(text="");var t=new At;return t.text=text,t.isComment=!0,t};function kt(t){return new At(void 0,void 0,void 0,String(t))}function jt(t){var e=new At(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var $t=Array.prototype,Tt=Object.create($t);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=$t[t];X(Tt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,c=e.apply(this,n),f=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&f.observeArray(o),f.dep.notify(),c})});var Pt=Object.getOwnPropertyNames(Tt),It=!0;function Lt(t){It=t}var Rt=function(t){this.value=t,this.dep=new wt,this.vmCount=0,X(t,"__ob__",this),Array.isArray(t)?(Z?function(t,e){t.__proto__=e}(t,Tt):function(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];X(t,o,e[o])}}(t,Tt,Pt),this.observeArray(t)):this.walk(t)};function Nt(t,e){var n;if(h(t)&&!(t instanceof At))return E(t,"__ob__")&&t.__ob__ instanceof Rt?n=t.__ob__:It&&!ht()&&(Array.isArray(t)||v(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Rt(t)),e&&n&&n.vmCount++,n}function Mt(t,e,n,r,o){var c=new wt,f=Object.getOwnPropertyDescriptor(t,e);if(!f||!1!==f.configurable){var l=f&&f.get,h=f&&f.set;l&&!h||2!==arguments.length||(n=t[e]);var d=!o&&Nt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return wt.target&&(c.depend(),d&&(d.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,i=0,r=e.length;i<r;i++)(n=e[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=l?l.call(t):n;e===r||e!=e&&r!=r||l&&!h||(h?h.call(t,e):n=e,d=!o&&Nt(e),c.notify())}})}}function Dt(t,e,n){if(Array.isArray(t)&&m(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Mt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function del(t,e){if(Array.isArray(t)&&m(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||E(t,e)&&(delete t[e],n&&n.dep.notify())}}Rt.prototype.walk=function(t){for(var e=Object.keys(t),i=0;i<e.length;i++)Mt(t,e[i])},Rt.prototype.observeArray=function(t){for(var i=0,e=t.length;i<e;i++)Nt(t[i])};var Ft=W.optionMergeStrategies;function Ut(t,e){if(!e)return t;for(var n,r,o,c=gt?Reflect.ownKeys(e):Object.keys(e),i=0;i<c.length;i++)"__ob__"!==(n=c[i])&&(r=t[n],o=e[n],E(t,n)?r!==o&&v(r)&&v(o)&&Ut(r,o):Dt(t,n,o));return t}function Bt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?Ut(r,o):o}:e?t?function(){return Ut("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function qt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],i=0;i<t.length;i++)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(n):n}function Ht(t,e,n,r){var o=Object.create(t||null);return e?N(o,e):o}Ft.data=function(t,e,n){return n?Bt(t,e,n):e&&"function"!=typeof e?t:Bt(t,e)},K.forEach(function(t){Ft[t]=qt}),G.forEach(function(t){Ft[t+"s"]=Ht}),Ft.watch=function(t,e,n,r){if(t===ft&&(t=void 0),e===ft&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var c in N(o,t),e){var f=o[c],l=e[c];f&&!Array.isArray(f)&&(f=[f]),o[c]=f?f.concat(l):Array.isArray(l)?l:[l]}return o},Ft.props=Ft.methods=Ft.inject=Ft.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return N(o,t),e&&N(o,e),o},Ft.provide=Bt;var Vt=function(t,e){return void 0===e?t:e};function zt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(o[$(r)]={type:null});else if(v(n))for(var c in n)r=n[c],o[$(c)]=v(r)?r:{type:r};else 0;t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(v(n))for(var o in n){var c=n[o];r[o]=v(c)?N({from:o},c):{from:c}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=zt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=zt(t,e.mixins[i],n);var o,c={};for(o in t)f(o);for(o in e)E(t,o)||f(o);function f(r){var o=Ft[r]||Vt;c[r]=o(t[r],e[r],n,r)}return c}function Gt(t,e,n,r){if("string"==typeof n){var o=t[e];if(E(o,n))return o[n];var c=$(n);if(E(o,c))return o[c];var f=T(c);return E(o,f)?o[f]:o[n]||o[c]||o[f]}}function Kt(t,e,n,r){var o=e[t],c=!E(n,t),f=n[t],l=Xt(Boolean,o.type);if(l>-1)if(c&&!E(o,"default"))f=!1;else if(""===f||f===I(t)){var h=Xt(String,o.type);(h<0||l<h)&&(f=!0)}if(void 0===f){f=function(t,e,n){if(!E(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==Wt(e.type)?r.call(t):r}(r,o,t);var d=It;Lt(!0),Nt(f),Lt(d)}return f}function Wt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Jt(a,b){return Wt(a)===Wt(b)}function Xt(t,e){if(!Array.isArray(e))return Jt(e,t)?0:-1;for(var i=0,n=e.length;i<n;i++)if(Jt(e[i],t))return i;return-1}function Yt(t,e,n){Ot();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){Zt(t,r,"errorCaptured hook")}}Zt(t,e,n)}finally{St()}}function Qt(t,e,n,r,o){var c;try{(c=n?t.apply(e,n):t.call(e))&&!c._isVue&&_(c)&&!c._handled&&(c.catch(function(t){return Yt(t,r,o+" (Promise/async)")}),c._handled=!0)}catch(t){Yt(t,r,o)}return c}function Zt(t,e,n){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,n)}catch(e){e!==t&&te(e,null,"config.errorHandler")}te(t,e,n)}function te(t,e,n){if(!tt&&!et||"undefined"==typeof console)throw t;console.error(t)}var ee,ne=!1,re=[],oe=!1;function ie(){oe=!1;var t=re.slice(0);re.length=0;for(var i=0;i<t.length;i++)t[i]()}if("undefined"!=typeof Promise&&yt(Promise)){var p=Promise.resolve();ee=function(){p.then(ie),ct&&setTimeout(D)},ne=!0}else if(it||"undefined"==typeof MutationObserver||!yt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ee=void 0!==n&&yt(n)?function(){n(ie)}:function(){setTimeout(ie,0)};else{var ae=1,se=new MutationObserver(ie),ce=document.createTextNode(String(ae));se.observe(ce,{characterData:!0}),ee=function(){ae=(ae+1)%2,ce.data=String(ae)},ne=!0}function ue(t,e){var n;if(re.push(function(){if(t)try{t.call(e)}catch(t){Yt(t,e,"nextTick")}else n&&n(e)}),oe||(oe=!0,ee()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}var fe=new mt;function le(t){!function t(e,n){var i,r;var o=Array.isArray(e);if(!o&&!h(e)||Object.isFrozen(e)||e instanceof At)return;if(e.__ob__){var c=e.__ob__.dep.id;if(n.has(c))return;n.add(c)}if(o)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}(t,fe),fe.clear()}var pe=k(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}});function he(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Qt(r,null,arguments,e,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)Qt(o[i],null,t,e,"v-on handler")}return n.fns=t,n}function de(t,e,n,r,c,l){var h,d,v,y;for(h in t)d=t[h],v=e[h],y=pe(h),o(d)||(o(v)?(o(d.fns)&&(d=t[h]=he(d,l)),f(y.once)&&(d=t[h]=c(y.name,d,y.capture)),n(y.name,d,y.capture,y.passive,y.params)):d!==v&&(v.fns=d,t[h]=v));for(h in e)o(t[h])&&r((y=pe(h)).name,e[h],y.capture)}function ve(t,e,n){var r;t instanceof At&&(t=t.data.hook||(t.data.hook={}));var l=t[e];function h(){n.apply(this,arguments),A(r.fns,h)}o(l)?r=he([h]):c(l.fns)&&f(l.merged)?(r=l).fns.push(h):r=he([l,h]),r.merged=!0,t[e]=r}function ye(t,e,n,r,o){if(c(e)){if(E(e,n))return t[n]=e[n],o||delete e[n],!0;if(E(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function me(t){return l(t)?[kt(t)]:Array.isArray(t)?function t(e,n){var r=[];var i,h,d,v;for(i=0;i<e.length;i++)o(h=e[i])||"boolean"==typeof h||(d=r.length-1,v=r[d],Array.isArray(h)?h.length>0&&(ge((h=t(h,(n||"")+"_"+i))[0])&&ge(v)&&(r[d]=kt(v.text+h[0].text),h.shift()),r.push.apply(r,h)):l(h)?ge(v)?r[d]=kt(v.text+h):""!==h&&r.push(kt(h)):ge(h)&&ge(v)?r[d]=kt(v.text+h.text):(f(e._isVList)&&c(h.tag)&&o(h.key)&&c(n)&&(h.key="__vlist"+n+"_"+i+"__"),r.push(h)));return r}(t):void 0}function ge(t){return c(t)&&c(t.text)&&!1===t.isComment}function be(t,e){if(t){for(var n=Object.create(null),r=gt?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var c=t[o].from,source=e;source;){if(source._provided&&E(source._provided,c)){n[o]=source._provided[c];break}source=source.$parent}if(!source)if("default"in t[o]){var f=t[o].default;n[o]="function"==typeof f?f.call(e):f}else 0}}return n}}function _e(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],data=o.data;if(data&&data.attrs&&data.attrs.slot&&delete data.attrs.slot,o.context!==e&&o.fnContext!==e||!data||null==data.slot)(n.default||(n.default=[])).push(o);else{var c=data.slot,slot=n[c]||(n[c]=[]);"template"===o.tag?slot.push.apply(slot,o.children||[]):slot.push(o)}}for(var f in n)n[f].every(we)&&delete n[f];return n}function we(t){return t.isComment&&!t.asyncFactory||" "===t.text}function xe(t,e,n){var o,c=Object.keys(e).length>0,f=t?!!t.$stable:!c,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(f&&n&&n!==r&&l===n.$key&&!c&&!n.$hasNormal)return n;for(var h in o={},t)t[h]&&"$"!==h[0]&&(o[h]=Oe(e,h,t[h]))}else o={};for(var d in e)d in o||(o[d]=Se(e,d));return t&&Object.isExtensible(t)&&(t._normalized=o),X(o,"$stable",f),X(o,"$key",l),X(o,"$hasNormal",c),o}function Oe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:me(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Se(t,e){return function(){return t[e]}}function Ae(t,e){var n,i,r,o,f;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;i<r;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(h(t))if(gt&&t[Symbol.iterator]){n=[];for(var l=t[Symbol.iterator](),d=l.next();!d.done;)n.push(e(d.value,n.length)),d=l.next()}else for(o=Object.keys(t),n=new Array(o.length),i=0,r=o.length;i<r;i++)f=o[i],n[i]=e(t[f],f,i);return c(n)||(n=[]),n._isVList=!0,n}function Ce(t,e,n,r){var o,c=this.$scopedSlots[t];c?(n=n||{},r&&(n=N(N({},r),n)),o=c(n)||e):o=this.$slots[t]||e;var f=n&&n.slot;return f?this.$createElement("template",{slot:f},o):o}function Ee(t){return Gt(this.$options,"filters",t)||U}function ke(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function je(t,e,n,r,o){var c=W.keyCodes[e]||n;return o&&r&&!W.keyCodes[e]?ke(o,r):c?ke(c,t):r?I(r)!==e:void 0}function $e(data,t,e,n,r){if(e)if(h(e)){var o;Array.isArray(e)&&(e=M(e));var c=function(c){if("class"===c||"style"===c||S(c))o=data;else{var f=data.attrs&&data.attrs.type;o=n||W.mustUseProp(t,f,c)?data.domProps||(data.domProps={}):data.attrs||(data.attrs={})}var l=$(c),h=I(c);l in o||h in o||(o[c]=e[c],r&&((data.on||(data.on={}))["update:"+c]=function(t){e[c]=t}))};for(var f in e)c(f)}else;return data}function Te(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(Ie(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function Pe(t,e,n){return Ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ie(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Le(t[i],e+"_"+i,n);else Le(t,e,n)}function Le(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Re(data,t){if(t)if(v(t)){var e=data.on=data.on?N({},data.on):{};for(var n in t){var r=e[n],o=t[n];e[n]=r?[].concat(r,o):o}}else;return data}function Ne(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var slot=t[i];Array.isArray(slot)?Ne(slot,e,n):slot&&(slot.proxy&&(slot.fn.proxy=!0),e[slot.key]=slot.fn)}return r&&(e.$key=r),e}function Me(t,e){for(var i=0;i<e.length;i+=2){var n=e[i];"string"==typeof n&&n&&(t[e[i]]=e[i+1])}return t}function De(t,symbol){return"string"==typeof t?symbol+t:t}function Fe(t){t._o=Pe,t._n=x,t._s=w,t._l=Ae,t._t=Ce,t._q=B,t._i=H,t._m=Te,t._f=Ee,t._k=je,t._b=$e,t._v=kt,t._e=Et,t._u=Ne,t._g=Re,t._d=Me,t._p=De}function Ue(data,t,e,n,o){var c,l=this,h=o.options;E(n,"_uid")?(c=Object.create(n))._original=n:(c=n,n=n._original);var d=f(h._compiled),v=!d;this.data=data,this.props=t,this.children=e,this.parent=n,this.listeners=data.on||r,this.injections=be(h.inject,n),this.slots=function(){return l.$slots||xe(data.scopedSlots,l.$slots=_e(e,n)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return xe(data.scopedSlots,this.slots())}}),d&&(this.$options=h,this.$slots=this.slots(),this.$scopedSlots=xe(data.scopedSlots,this.$slots)),h._scopeId?this._c=function(a,b,t,e){var r=Je(c,a,b,t,e,v);return r&&!Array.isArray(r)&&(r.fnScopeId=h._scopeId,r.fnContext=n),r}:this._c=function(a,b,t,e){return Je(c,a,b,t,e,v)}}function Be(t,data,e,n,r){var o=jt(t);return o.fnContext=e,o.fnOptions=n,data.slot&&((o.data||(o.data={})).slot=data.slot),o}function qe(t,e){for(var n in e)t[$(n)]=e[n]}Fe(Ue.prototype);var He={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;He.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;c(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,an)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,c){0;var f=o.data.scopedSlots,l=t.$scopedSlots,h=!!(f&&!f.$stable||l!==r&&!l.$stable||f&&t.$scopedSlots.$key!==f.$key),d=!!(c||t.$options._renderChildren||h);t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o);if(t.$options._renderChildren=c,t.$attrs=o.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){Lt(!1);for(var v=t._props,y=t.$options._propKeys||[],i=0;i<y.length;i++){var m=y[i],_=t.$options.props;v[m]=Kt(m,_,e,t)}Lt(!0),t.$options.propsData=e}n=n||r;var w=t.$options._parentListeners;t.$options._parentListeners=n,on(t,n,w),d&&(t.$slots=_e(c,o.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,fn(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,pn.push(e)):un(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,cn(e)))return;if(!e._inactive){e._inactive=!0;for(var i=0;i<e.$children.length;i++)t(e.$children[i]);fn(e,"deactivated")}}(e,!0):e.$destroy())}},Ve=Object.keys(He);function ze(t,data,e,n,l){if(!o(t)){var d=e.$options._base;if(h(t)&&(t=d.extend(t)),"function"==typeof t){var v;if(o(t.cid)&&void 0===(t=function(t,e){if(f(t.error)&&c(t.errorComp))return t.errorComp;if(c(t.resolved))return t.resolved;var n=Ye;n&&c(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(f(t.loading)&&c(t.loadingComp))return t.loadingComp;if(n&&!c(t.owners)){var r=t.owners=[n],l=!0,d=null,v=null;n.$on("hook:destroyed",function(){return A(r,n)});var y=function(t){for(var i=0,e=r.length;i<e;i++)r[i].$forceUpdate();t&&(r.length=0,null!==d&&(clearTimeout(d),d=null),null!==v&&(clearTimeout(v),v=null))},m=V(function(n){t.resolved=Qe(n,e),l?r.length=0:y(!0)}),w=V(function(e){c(t.errorComp)&&(t.error=!0,y(!0))}),x=t(m,w);return h(x)&&(_(x)?o(t.resolved)&&x.then(m,w):_(x.component)&&(x.component.then(m,w),c(x.error)&&(t.errorComp=Qe(x.error,e)),c(x.loading)&&(t.loadingComp=Qe(x.loading,e),0===x.delay?t.loading=!0:d=setTimeout(function(){d=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,y(!1))},x.delay||200)),c(x.timeout)&&(v=setTimeout(function(){v=null,o(t.resolved)&&w(null)},x.timeout)))),l=!1,t.loading?t.loadingComp:t.resolved}}(v=t,d)))return function(t,data,e,n,r){var o=Et();return o.asyncFactory=t,o.asyncMeta={data:data,context:e,children:n,tag:r},o}(v,data,e,n,l);data=data||{},Pn(t),c(data.model)&&function(t,data){var e=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(data.attrs||(data.attrs={}))[e]=data.model.value;var r=data.on||(data.on={}),o=r[n],f=data.model.callback;c(o)?(Array.isArray(o)?-1===o.indexOf(f):o!==f)&&(r[n]=[f].concat(o)):r[n]=f}(t.options,data);var y=function(data,t,e){var n=t.options.props;if(!o(n)){var r={},f=data.attrs,l=data.props;if(c(f)||c(l))for(var h in n){var d=I(h);ye(r,l,h,d,!0)||ye(r,f,h,d,!1)}return r}}(data,t);if(f(t.options.functional))return function(t,e,data,n,o){var f=t.options,l={},h=f.props;if(c(h))for(var d in h)l[d]=Kt(d,h,e||r);else c(data.attrs)&&qe(l,data.attrs),c(data.props)&&qe(l,data.props);var v=new Ue(data,l,o,n,t),y=f.render.call(null,v._c,v);if(y instanceof At)return Be(y,data,v.parent,f,v);if(Array.isArray(y)){for(var m=me(y)||[],_=new Array(m.length),i=0;i<m.length;i++)_[i]=Be(m[i],data,v.parent,f,v);return _}}(t,y,data,e,n);var m=data.on;if(data.on=data.nativeOn,f(t.options.abstract)){var slot=data.slot;data={},slot&&(data.slot=slot)}!function(data){for(var t=data.hook||(data.hook={}),i=0;i<Ve.length;i++){var e=Ve[i],n=t[e],r=He[e];n===r||n&&n._merged||(t[e]=n?Ge(r,n):r)}}(data);var w=t.options.name||l;return new At("vue-component-"+t.cid+(w?"-"+w:""),data,void 0,void 0,void 0,e,{Ctor:t,propsData:y,listeners:m,tag:l,children:n},v)}}}function Ge(t,e){var n=function(a,b){t(a,b),e(a,b)};return n._merged=!0,n}var Ke=1,We=2;function Je(t,e,data,n,r,d){return(Array.isArray(data)||l(data))&&(r=n,n=data,data=void 0),f(d)&&(r=We),function(t,e,data,n,r){if(c(data)&&c(data.__ob__))return Et();c(data)&&c(data.is)&&(e=data.is);if(!e)return Et();0;Array.isArray(n)&&"function"==typeof n[0]&&((data=data||{}).scopedSlots={default:n[0]},n.length=0);r===We?n=me(n):r===Ke&&(n=function(t){for(var i=0;i<t.length;i++)if(Array.isArray(t[i]))return Array.prototype.concat.apply([],t);return t}(n));var l,d;if("string"==typeof e){var v;d=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),l=W.isReservedTag(e)?new At(W.parsePlatformTagName(e),data,n,void 0,void 0,t):data&&data.pre||!c(v=Gt(t.$options,"components",e))?new At(e,data,n,void 0,void 0,t):ze(v,data,t,n,e)}else l=ze(e,data,t,n);return Array.isArray(l)?l:c(l)?(c(d)&&function t(e,n,r){e.ns=n;"foreignObject"===e.tag&&(n=void 0,r=!0);if(c(e.children))for(var i=0,l=e.children.length;i<l;i++){var h=e.children[i];c(h.tag)&&(o(h.ns)||f(r)&&"svg"!==h.tag)&&t(h,n,r)}}(l,d),c(data)&&function(data){h(data.style)&&le(data.style);h(data.class)&&le(data.class)}(data),l):Et()}(t,e,data,n,r)}var Xe,Ye=null;function Qe(t,base){return(t.__esModule||gt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?base.extend(t):t}function Ze(t){return t.isComment&&t.asyncFactory}function tn(t){if(Array.isArray(t))for(var i=0;i<t.length;i++){var e=t[i];if(c(e)&&(c(e.componentOptions)||Ze(e)))return e}}function en(t,e){Xe.$on(t,e)}function nn(t,e){Xe.$off(t,e)}function rn(t,e){var n=Xe;return function r(){var o=e.apply(null,arguments);null!==o&&n.$off(t,r)}}function on(t,e,n){Xe=t,de(e,n||{},en,nn,rn,t),Xe=void 0}var an=null;function sn(t){var e=an;return an=t,function(){an=e}}function cn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function un(t,e){if(e){if(t._directInactive=!1,cn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var i=0;i<t.$children.length;i++)un(t.$children[i]);fn(t,"activated")}}function fn(t,e){Ot();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Qt(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),St()}var ln=[],pn=[],hn={},dn=!1,vn=!1,yn=0;var mn=0,gn=Date.now;if(tt&&!it){var bn=window.performance;bn&&"function"==typeof bn.now&&gn()>document.createEvent("Event").timeStamp&&(gn=function(){return bn.now()})}function _n(){var t,e;for(mn=gn(),vn=!0,ln.sort(function(a,b){return a.id-b.id}),yn=0;yn<ln.length;yn++)(t=ln[yn]).before&&t.before(),e=t.id,hn[e]=null,t.run();var n=pn.slice(),r=ln.slice();yn=ln.length=pn.length=0,hn={},dn=vn=!1,function(t){for(var i=0;i<t.length;i++)t[i]._inactive=!0,un(t[i],!0)}(n),function(t){var i=t.length;for(;i--;){var e=t[i],n=e.vm;n._watcher===e&&n._isMounted&&!n._isDestroyed&&fn(n,"updated")}}(r),vt&&W.devtools&&vt.emit("flush")}var wn=0,xn=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++wn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new mt,this.newDepIds=new mt,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(path){if(!Y.test(path)){var t=path.split(".");return function(e){for(var i=0;i<t.length;i++){if(!e)return;e=e[t[i]]}return e}}}(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};xn.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Yt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&le(t),St(),this.cleanupDeps()}return t},xn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},xn.prototype.cleanupDeps=function(){for(var i=this.deps.length;i--;){var t=this.deps[i];this.newDepIds.has(t.id)||t.removeSub(this)}var e=this.depIds;this.depIds=this.newDepIds,this.newDepIds=e,this.newDepIds.clear(),e=this.deps,this.deps=this.newDeps,this.newDeps=e,this.newDeps.length=0},xn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==hn[e]){if(hn[e]=!0,vn){for(var i=ln.length-1;i>yn&&ln[i].id>t.id;)i--;ln.splice(i+1,0,t)}else ln.push(t);dn||(dn=!0,ue(_n))}}(this)},xn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Yt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},xn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},xn.prototype.depend=function(){for(var i=this.deps.length;i--;)this.deps[i].depend()},xn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||A(this.vm._watchers,this);for(var i=this.deps.length;i--;)this.deps[i].removeSub(this);this.active=!1}};var On={enumerable:!0,configurable:!0,get:D,set:D};function Sn(t,e,n){On.get=function(){return this[e][n]},On.set=function(t){this[e][n]=t},Object.defineProperty(t,n,On)}function An(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&Lt(!1);var c=function(c){o.push(c);var f=Kt(c,e,n,t);Mt(r,c,f),c in t||Sn(t,"_props",c)};for(var f in e)c(f);Lt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?D:L(e[n],t)}(t,e.methods),e.data?function(t){var data=t.$options.data;v(data=t._data="function"==typeof data?function(data,t){Ot();try{return data.call(t,t)}catch(e){return Yt(e,t,"data()"),{}}finally{St()}}(data,t):data||{})||(data={});var e=Object.keys(data),n=t.$options.props,i=(t.$options.methods,e.length);for(;i--;){var r=e[i];0,n&&E(n,r)||(o=void 0,36!==(o=(r+"").charCodeAt(0))&&95!==o&&Sn(t,"_data",r))}var o;Nt(data,!0)}(t):Nt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ht();for(var o in e){var c=e[o],f="function"==typeof c?c:c.get;0,r||(n[o]=new xn(t,f||D,D,Cn)),o in t||En(t,o,c)}}(t,e.computed),e.watch&&e.watch!==ft&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)$n(t,n,r[i]);else $n(t,n,r)}}(t,e.watch)}var Cn={lazy:!0};function En(t,e,n){var r=!ht();"function"==typeof n?(On.get=r?kn(e):jn(n),On.set=D):(On.get=n.get?r&&!1!==n.cache?kn(e):jn(n.get):D,On.set=n.set||D),Object.defineProperty(t,e,On)}function kn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),wt.target&&e.depend(),e.value}}function jn(t){return function(){return t.call(this,this)}}function $n(t,e,n,r){return v(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Tn=0;function Pn(t){var e=t.options;if(t.super){var n=Pn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&N(t.extendOptions,r),(e=t.options=zt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function In(t){this._init(t)}function Ln(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var c=t.name||n.options.name;var f=function(t){this._init(t)};return(f.prototype=Object.create(n.prototype)).constructor=f,f.cid=e++,f.options=zt(n.options,t),f.super=n,f.options.props&&function(t){var e=t.options.props;for(var n in e)Sn(t.prototype,"_props",n)}(f),f.options.computed&&function(t){var e=t.options.computed;for(var n in e)En(t.prototype,n,e[n])}(f),f.extend=n.extend,f.mixin=n.mixin,f.use=n.use,G.forEach(function(t){f[t]=n[t]}),c&&(f.options.components[c]=f),f.superOptions=n.options,f.extendOptions=t,f.sealedOptions=N({},f.options),o[r]=f,f}}function Rn(t){return t&&(t.Ctor.options.name||t.tag)}function Nn(pattern,t){return Array.isArray(pattern)?pattern.indexOf(t)>-1:"string"==typeof pattern?pattern.split(",").indexOf(t)>-1:!!y(pattern)&&pattern.test(t)}function Mn(t,filter){var e=t.cache,n=t.keys,r=t._vnode;for(var o in e){var c=e[o];if(c){var f=Rn(c.componentOptions);f&&!filter(f)&&Dn(e,o,n,r)}}}function Dn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,A(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Tn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=zt(Pn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&on(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=_e(e._renderChildren,o),t.$scopedSlots=r,t._c=function(a,b,e,n){return Je(t,a,b,e,n,!1)},t.$createElement=function(a,b,e,n){return Je(t,a,b,e,n,!0)};var c=n&&n.data;Mt(t,"$attrs",c&&c.attrs||r,null,!0),Mt(t,"$listeners",e._parentListeners||r,null,!0)}(e),fn(e,"beforeCreate"),function(t){var e=be(t.$options.inject,t);e&&(Lt(!1),Object.keys(e).forEach(function(n){Mt(t,n,e[n])}),Lt(!0))}(e),An(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),fn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(In),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Dt,t.prototype.$delete=del,t.prototype.$watch=function(t,e,n){if(v(e))return $n(this,t,e,n);(n=n||{}).user=!0;var r=new xn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Yt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(In),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var c,f=n._events[t];if(!f)return n;if(!e)return n._events[t]=null,n;for(var i=f.length;i--;)if((c=f[i])===e||c.fn===e){f.splice(i,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?R(n):n;for(var r=R(arguments,1),o='event handler for "'+t+'"',i=0,c=n.length;i<c;i++)Qt(n[i],e,r,e,o)}return e}}(In),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,c=sn(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),c(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){fn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||A(e.$children,t),t._watcher&&t._watcher.teardown();for(var i=t._watchers.length;i--;)t._watchers[i].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),fn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(In),function(t){Fe(t.prototype),t.prototype.$nextTick=function(t){return ue(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&(e.$scopedSlots=xe(o.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=o;try{Ye=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Yt(n,e,"render"),t=e._vnode}finally{Ye=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof At||(t=Et()),t.parent=o,t}}(In);var Fn=[String,RegExp,Array],Un={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Fn,exclude:Fn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Dn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Mn(t,function(t){return Nn(e,t)})}),this.$watch("exclude",function(e){Mn(t,function(t){return!Nn(e,t)})})},render:function(){var slot=this.$slots.default,t=tn(slot),e=t&&t.componentOptions;if(e){var n=Rn(e),r=this.include,o=this.exclude;if(r&&(!n||!Nn(r,n))||o&&n&&Nn(o,n))return t;var c=this.cache,f=this.keys,l=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;c[l]?(t.componentInstance=c[l].componentInstance,A(f,l),f.push(l)):(c[l]=t,f.push(l),this.max&&f.length>parseInt(this.max)&&Dn(c,f[0],f,this._vnode)),t.data.keepAlive=!0}return t||slot&&slot[0]}}};!function(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:bt,extend:N,mergeOptions:zt,defineReactive:Mt},t.set=Dt,t.delete=del,t.nextTick=ue,t.observable=function(t){return Nt(t),t},t.options=Object.create(null),G.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,N(t.options.components,Un),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=R(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=zt(this.options,t),this}}(t),Ln(t),function(t){G.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&v(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(In),Object.defineProperty(In.prototype,"$isServer",{get:ht}),Object.defineProperty(In.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(In,"FunctionalRenderContext",{value:Ue}),In.version="2.6.10";var Bn=O("style,class"),qn=O("input,textarea,option,select,progress"),Hn=O("contenteditable,draggable,spellcheck"),Vn=O("events,caret,typing,plaintext-only"),zn=function(t,e){return Xn(e)||"false"===e?"false":"contenteditable"===t&&Vn(e)?e:"true"},Gn=O("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Kn="http://www.w3.org/1999/xlink",Wn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Jn=function(t){return Wn(t)?t.slice(6,t.length):""},Xn=function(t){return null==t||!1===t};function Yn(t){for(var data=t.data,e=t,n=t;c(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(data=Qn(n.data,data));for(;c(e=e.parent);)e&&e.data&&(data=Qn(data,e.data));return function(t,e){if(c(t)||c(e))return Zn(t,er(e));return""}(data.staticClass,data.class)}function Qn(t,e){return{staticClass:Zn(t.staticClass,e.staticClass),class:c(t.class)?[t.class,e.class]:e.class}}function Zn(a,b){return a?b?a+" "+b:a:b||""}function er(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i<r;i++)c(e=er(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):h(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var nr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},rr=O("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),or=O("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ir=function(t){return rr(t)||or(t)};var ar=Object.create(null);var sr=O("text,number,password,search,email,tel,url");var cr=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(nr[t],e)},createTextNode:function(text){return document.createTextNode(text)},createComment:function(text){return document.createComment(text)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,text){t.textContent=text},setStyleScope:function(t,e){t.setAttribute(e,"")}}),ur={create:function(t,e){fr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(fr(t,!0),fr(e))},destroy:function(t){fr(t,!0)}};function fr(t,e){var n=t.data.ref;if(c(n)){var r=t.context,o=t.componentInstance||t.elm,f=r.$refs;e?Array.isArray(f[n])?A(f[n],o):f[n]===o&&(f[n]=void 0):t.data.refInFor?Array.isArray(f[n])?f[n].indexOf(o)<0&&f[n].push(o):f[n]=[o]:f[n]=o}}var lr=new At("",{},[]),pr=["create","activate","update","remove","destroy"];function dr(a,b){return a.key===b.key&&(a.tag===b.tag&&a.isComment===b.isComment&&c(a.data)===c(b.data)&&function(a,b){if("input"!==a.tag)return!0;var i,t=c(i=a.data)&&c(i=i.attrs)&&i.type,e=c(i=b.data)&&c(i=i.attrs)&&i.type;return t===e||sr(t)&&sr(e)}(a,b)||f(a.isAsyncPlaceholder)&&a.asyncFactory===b.asyncFactory&&o(b.asyncFactory.error))}function vr(t,e,n){var i,r,map={};for(i=e;i<=n;++i)c(r=t[i].key)&&(map[r]=i);return map}var yr={create:mr,update:mr,destroy:function(t){mr(t,lr)}};function mr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,c=t===lr,f=e===lr,l=_r(t.data.directives,t.context),h=_r(e.data.directives,e.context),d=[],v=[];for(n in h)r=l[n],o=h[n],r?(o.oldValue=r.value,o.oldArg=r.arg,xr(o,"update",e,t),o.def&&o.def.componentUpdated&&v.push(o)):(xr(o,"bind",e,t),o.def&&o.def.inserted&&d.push(o));if(d.length){var y=function(){for(var i=0;i<d.length;i++)xr(d[i],"inserted",e,t)};c?ve(e,"insert",y):y()}v.length&&ve(e,"postpatch",function(){for(var i=0;i<v.length;i++)xr(v[i],"componentUpdated",e,t)});if(!c)for(n in l)h[n]||xr(l[n],"unbind",t,t,f)}(t,e)}var gr=Object.create(null);function _r(t,e){var i,n,r=Object.create(null);if(!t)return r;for(i=0;i<t.length;i++)(n=t[i]).modifiers||(n.modifiers=gr),r[wr(n)]=n,n.def=Gt(e.$options,"directives",n.name);return r}function wr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function xr(t,e,n,r,o){var c=t.def&&t.def[e];if(c)try{c(n.elm,t,n,r,o)}catch(r){Yt(r,n.context,"directive "+t.name+" "+e+" hook")}}var Or=[ur,yr];function Sr(t,e){var n=e.componentOptions;if(!(c(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,f,l=e.elm,h=t.data.attrs||{},d=e.data.attrs||{};for(r in c(d.__ob__)&&(d=e.data.attrs=N({},d)),d)f=d[r],h[r]!==f&&Ar(l,r,f);for(r in(it||st)&&d.value!==h.value&&Ar(l,"value",d.value),h)o(d[r])&&(Wn(r)?l.removeAttributeNS(Kn,Jn(r)):Hn(r)||l.removeAttribute(r))}}function Ar(t,e,n){t.tagName.indexOf("-")>-1?Cr(t,e,n):Gn(e)?Xn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hn(e)?t.setAttribute(e,zn(e,n)):Wn(e)?Xn(n)?t.removeAttributeNS(Kn,Jn(e)):t.setAttributeNS(Kn,e,n):Cr(t,e,n)}function Cr(t,e,n){if(Xn(n))t.removeAttribute(e);else{if(it&&!at&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Er={create:Sr,update:Sr};function kr(t,e){var n=e.elm,data=e.data,r=t.data;if(!(o(data.staticClass)&&o(data.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var f=Yn(e),l=n._transitionClasses;c(l)&&(f=Zn(f,er(l))),f!==n._prevClass&&(n.setAttribute("class",f),n._prevClass=f)}}var jr,$r={create:kr,update:kr},Tr="__r",Pr="__c";function Ir(t,e,n){var r=jr;return function o(){var c=e.apply(null,arguments);null!==c&&Nr(t,o,n,r)}}var Lr=ne&&!(ut&&Number(ut[1])<=53);function Rr(t,e,n,r){if(Lr){var o=mn,c=e;e=c._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return c.apply(this,arguments)}}jr.addEventListener(t,e,lt?{capture:n,passive:r}:n)}function Nr(t,e,n,r){(r||jr).removeEventListener(t,e._wrapper||e,n)}function Mr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};jr=e.elm,function(t){if(c(t[Tr])){var e=it?"change":"input";t[e]=[].concat(t[Tr],t[e]||[]),delete t[Tr]}c(t[Pr])&&(t.change=[].concat(t[Pr],t.change||[]),delete t[Pr])}(n),de(n,r,Rr,Nr,Ir,e.context),jr=void 0}}var Dr,Fr={create:Mr,update:Mr};function Ur(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,f=e.elm,l=t.data.domProps||{},h=e.data.domProps||{};for(n in c(h.__ob__)&&(h=e.data.domProps=N({},h)),l)n in h||(f[n]="");for(n in h){if(r=h[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===l[n])continue;1===f.childNodes.length&&f.removeChild(f.childNodes[0])}if("value"===n&&"PROGRESS"!==f.tagName){f._value=r;var d=o(r)?"":String(r);Br(f,d)&&(f.value=d)}else if("innerHTML"===n&&or(f.tagName)&&o(f.innerHTML)){(Dr=Dr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var svg=Dr.firstChild;f.firstChild;)f.removeChild(f.firstChild);for(;svg.firstChild;)f.appendChild(svg.firstChild)}else if(r!==l[n])try{f[n]=r}catch(t){}}}}function Br(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(c(r)){if(r.number)return x(n)!==x(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var qr={create:Ur,update:Ur},Hr=k(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Vr(data){var style=zr(data.style);return data.staticStyle?N(data.staticStyle,style):style}function zr(t){return Array.isArray(t)?M(t):"string"==typeof t?Hr(t):t}var Gr,Kr=/^--/,Wr=/\s*!important$/,Jr=function(t,e,n){if(Kr.test(e))t.style.setProperty(e,n);else if(Wr.test(n))t.style.setProperty(I(e),n.replace(Wr,""),"important");else{var r=Yr(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Xr=["Webkit","Moz","ms"],Yr=k(function(t){if(Gr=Gr||document.createElement("div").style,"filter"!==(t=$(t))&&t in Gr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<Xr.length;i++){var n=Xr[i]+e;if(n in Gr)return n}});function Qr(t,e){var data=e.data,n=t.data;if(!(o(data.staticStyle)&&o(data.style)&&o(n.staticStyle)&&o(n.style))){var r,f,l=e.elm,h=n.staticStyle,d=n.normalizedStyle||n.style||{},v=h||d,style=zr(e.data.style)||{};e.data.normalizedStyle=c(style.__ob__)?N({},style):style;var y=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Vr(o.data))&&N(r,n);(n=Vr(t.data))&&N(r,n);for(var c=t;c=c.parent;)c.data&&(n=Vr(c.data))&&N(r,n);return r}(e,!0);for(f in v)o(y[f])&&Jr(l,f,"");for(f in y)(r=y[f])!==v[f]&&Jr(l,f,null==r?"":r)}}var style={create:Qr,update:Qr},Zr=/\s+/;function to(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Zr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function eo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Zr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function no(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&N(e,ro(t.name||"v")),N(e,t),e}return"string"==typeof t?ro(t):void 0}}var ro=k(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),oo=tt&&!at,io="transition",ao="animation",so="transition",co="transitionend",uo="animation",fo="animationend";oo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(so="WebkitTransition",co="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(uo="WebkitAnimation",fo="webkitAnimationEnd"));var lo=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function po(t){lo(function(){lo(t)})}function ho(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),to(t,e))}function vo(t,e){t._transitionClasses&&A(t._transitionClasses,e),eo(t,e)}function yo(t,e,n){var r=go(t,e),o=r.type,c=r.timeout,f=r.propCount;if(!o)return n();var l=o===io?co:fo,h=0,d=function(){t.removeEventListener(l,v),n()},v=function(e){e.target===t&&++h>=f&&d()};setTimeout(function(){h<f&&d()},c+1),t.addEventListener(l,v)}var mo=/\b(transform|all)(,|$)/;function go(t,e){var n,r=window.getComputedStyle(t),o=(r[so+"Delay"]||"").split(", "),c=(r[so+"Duration"]||"").split(", "),f=bo(o,c),l=(r[uo+"Delay"]||"").split(", "),h=(r[uo+"Duration"]||"").split(", "),d=bo(l,h),v=0,y=0;return e===io?f>0&&(n=io,v=f,y=c.length):e===ao?d>0&&(n=ao,v=d,y=h.length):y=(n=(v=Math.max(f,d))>0?f>d?io:ao:null)?n===io?c.length:h.length:0,{type:n,timeout:v,propCount:y,hasTransform:n===io&&mo.test(r[so+"Property"])}}function bo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,i){return _o(e)+_o(t[i])}))}function _o(s){return 1e3*Number(s.slice(0,-1).replace(",","."))}function wo(t,e){var n=t.elm;c(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var data=no(t.data.transition);if(!o(data)&&!c(n._enterCb)&&1===n.nodeType){for(var r=data.css,f=data.type,l=data.enterClass,d=data.enterToClass,v=data.enterActiveClass,y=data.appearClass,m=data.appearToClass,_=data.appearActiveClass,w=data.beforeEnter,O=data.enter,S=data.afterEnter,A=data.enterCancelled,C=data.beforeAppear,E=data.appear,k=data.afterAppear,j=data.appearCancelled,$=data.duration,T=an,P=an.$vnode;P&&P.parent;)T=P.context,P=P.parent;var I=!T._isMounted||!t.isRootInsert;if(!I||E||""===E){var L=I&&y?y:l,R=I&&_?_:v,N=I&&m?m:d,M=I&&C||w,D=I&&"function"==typeof E?E:O,F=I&&k||S,U=I&&j||A,B=x(h($)?$.enter:$);0;var H=!1!==r&&!at,z=So(D),G=n._enterCb=V(function(){H&&(vo(n,N),vo(n,R)),G.cancelled?(H&&vo(n,L),U&&U(n)):F&&F(n),n._enterCb=null});t.data.show||ve(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),D&&D(n,G)}),M&&M(n),H&&(ho(n,L),ho(n,R),po(function(){vo(n,L),G.cancelled||(ho(n,N),z||(Oo(B)?setTimeout(G,B):yo(n,f,G)))})),t.data.show&&(e&&e(),D&&D(n,G)),H||z||G()}}}function xo(t,e){var n=t.elm;c(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var data=no(t.data.transition);if(o(data)||1!==n.nodeType)return e();if(!c(n._leaveCb)){var r=data.css,f=data.type,l=data.leaveClass,d=data.leaveToClass,v=data.leaveActiveClass,y=data.beforeLeave,m=data.leave,_=data.afterLeave,w=data.leaveCancelled,O=data.delayLeave,S=data.duration,A=!1!==r&&!at,C=So(m),E=x(h(S)?S.leave:S);0;var k=n._leaveCb=V(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),A&&(vo(n,d),vo(n,v)),k.cancelled?(A&&vo(n,l),w&&w(n)):(e(),_&&_(n)),n._leaveCb=null});O?O(j):j()}function j(){k.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),y&&y(n),A&&(ho(n,l),ho(n,v),po(function(){vo(n,l),k.cancelled||(ho(n,d),C||(Oo(E)?setTimeout(k,E):yo(n,f,k)))})),m&&m(n,k),A||C||k())}}function Oo(t){return"number"==typeof t&&!isNaN(t)}function So(t){if(o(t))return!1;var e=t.fns;return c(e)?So(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ao(t,e){!0!==e.data.show&&wo(e)}var Co=function(t){var i,e,n={},r=t.modules,h=t.nodeOps;for(i=0;i<pr.length;++i)for(n[pr[i]]=[],e=0;e<r.length;++e)c(r[e][pr[i]])&&n[pr[i]].push(r[e][pr[i]]);function d(t){var e=h.parentNode(t);c(e)&&h.removeChild(e,t)}function v(t,e,r,o,l,d,v){if(c(t.elm)&&c(d)&&(t=d[v]=jt(t)),t.isRootInsert=!l,!function(t,e,r,o){var i=t.data;if(c(i)){var l=c(t.componentInstance)&&i.keepAlive;if(c(i=i.hook)&&c(i=i.init)&&i(t,!1),c(t.componentInstance))return y(t,e),m(r,t.elm,o),f(l)&&function(t,e,r,o){var i,f=t;for(;f.componentInstance;)if(f=f.componentInstance._vnode,c(i=f.data)&&c(i=i.transition)){for(i=0;i<n.activate.length;++i)n.activate[i](lr,f);e.push(f);break}m(r,t.elm,o)}(t,e,r,o),!0}}(t,e,r,o)){var data=t.data,w=t.children,O=t.tag;c(O)?(t.elm=t.ns?h.createElementNS(t.ns,O):h.createElement(O,t),S(t),_(t,w,e),c(data)&&x(t,e),m(r,t.elm,o)):f(t.isComment)?(t.elm=h.createComment(t.text),m(r,t.elm,o)):(t.elm=h.createTextNode(t.text),m(r,t.elm,o))}}function y(t,e){c(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,w(t)?(x(t,e),S(t)):(fr(t),e.push(t))}function m(t,e,n){c(t)&&(c(n)?h.parentNode(n)===t&&h.insertBefore(t,e,n):h.appendChild(t,e))}function _(t,e,n){if(Array.isArray(e)){0;for(var i=0;i<e.length;++i)v(e[i],n,t.elm,null,!0,e,i)}else l(t.text)&&h.appendChild(t.elm,h.createTextNode(String(t.text)))}function w(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return c(t.tag)}function x(t,e){for(var r=0;r<n.create.length;++r)n.create[r](lr,t);c(i=t.data.hook)&&(c(i.create)&&i.create(lr,t),c(i.insert)&&e.push(t))}function S(t){var i;if(c(i=t.fnScopeId))h.setStyleScope(t.elm,i);else for(var e=t;e;)c(i=e.context)&&c(i=i.$options._scopeId)&&h.setStyleScope(t.elm,i),e=e.parent;c(i=an)&&i!==t.context&&i!==t.fnContext&&c(i=i.$options._scopeId)&&h.setStyleScope(t.elm,i)}function A(t,e,n,r,o,c){for(;r<=o;++r)v(n[r],c,t,e,!1,n,r)}function C(t){var i,e,data=t.data;if(c(data))for(c(i=data.hook)&&c(i=i.destroy)&&i(t),i=0;i<n.destroy.length;++i)n.destroy[i](t);if(c(i=t.children))for(e=0;e<t.children.length;++e)C(t.children[e])}function E(t,e,n,r){for(;n<=r;++n){var o=e[n];c(o)&&(c(o.tag)?(k(o),C(o)):d(o.elm))}}function k(t,e){if(c(e)||c(t.data)){var i,r=n.remove.length+1;for(c(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&d(t)}return n.listeners=e,n}(t.elm,r),c(i=t.componentInstance)&&c(i=i._vnode)&&c(i.data)&&k(i,e),i=0;i<n.remove.length;++i)n.remove[i](t,e);c(i=t.data.hook)&&c(i=i.remove)?i(t,e):e()}else d(t.elm)}function j(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(c(o)&&dr(t,o))return i}}function $(t,e,r,l,d,y){if(t!==e){c(e.elm)&&c(l)&&(e=l[d]=jt(e));var m=e.elm=t.elm;if(f(t.isAsyncPlaceholder))c(e.asyncFactory.resolved)?I(t.elm,e,r):e.isAsyncPlaceholder=!0;else if(f(e.isStatic)&&f(t.isStatic)&&e.key===t.key&&(f(e.isCloned)||f(e.isOnce)))e.componentInstance=t.componentInstance;else{var i,data=e.data;c(data)&&c(i=data.hook)&&c(i=i.prepatch)&&i(t,e);var _=t.children,x=e.children;if(c(data)&&w(e)){for(i=0;i<n.update.length;++i)n.update[i](t,e);c(i=data.hook)&&c(i=i.update)&&i(t,e)}o(e.text)?c(_)&&c(x)?_!==x&&function(t,e,n,r,f){var l,d,y,m=0,_=0,w=e.length-1,x=e[0],O=e[w],S=n.length-1,C=n[0],k=n[S],T=!f;for(0;m<=w&&_<=S;)o(x)?x=e[++m]:o(O)?O=e[--w]:dr(x,C)?($(x,C,r,n,_),x=e[++m],C=n[++_]):dr(O,k)?($(O,k,r,n,S),O=e[--w],k=n[--S]):dr(x,k)?($(x,k,r,n,S),T&&h.insertBefore(t,x.elm,h.nextSibling(O.elm)),x=e[++m],k=n[--S]):dr(O,C)?($(O,C,r,n,_),T&&h.insertBefore(t,O.elm,x.elm),O=e[--w],C=n[++_]):(o(l)&&(l=vr(e,m,w)),o(d=c(C.key)?l[C.key]:j(C,e,m,w))?v(C,r,t,x.elm,!1,n,_):dr(y=e[d],C)?($(y,C,r,n,_),e[d]=void 0,T&&h.insertBefore(t,y.elm,x.elm)):v(C,r,t,x.elm,!1,n,_),C=n[++_]);m>w?A(t,o(n[S+1])?null:n[S+1].elm,n,_,S,r):_>S&&E(0,e,m,w)}(m,_,x,r,y):c(x)?(c(t.text)&&h.setTextContent(m,""),A(m,null,x,0,x.length-1,r)):c(_)?E(0,_,0,_.length-1):c(t.text)&&h.setTextContent(m,""):t.text!==e.text&&h.setTextContent(m,e.text),c(data)&&c(i=data.hook)&&c(i=i.postpatch)&&i(t,e)}}}function T(t,e,n){if(f(n)&&c(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var P=O("attrs,class,staticClass,staticStyle,key");function I(t,e,n,r){var i,o=e.tag,data=e.data,l=e.children;if(r=r||data&&data.pre,e.elm=t,f(e.isComment)&&c(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(c(data)&&(c(i=data.hook)&&c(i=i.init)&&i(e,!0),c(i=e.componentInstance)))return y(e,n),!0;if(c(o)){if(c(l))if(t.hasChildNodes())if(c(i=data)&&c(i=i.domProps)&&c(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var h=!0,d=t.firstChild,v=0;v<l.length;v++){if(!d||!I(d,l[v],n,r)){h=!1;break}d=d.nextSibling}if(!h||d)return!1}else _(e,l,n);if(c(data)){var m=!1;for(var w in data)if(!P(w)){m=!0,x(e,n);break}!m&&data.class&&le(data.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,r,l){if(!o(e)){var d,y=!1,m=[];if(o(t))y=!0,v(e,m);else{var _=c(t.nodeType);if(!_&&dr(t,e))$(t,e,m,null,null,l);else{if(_){if(1===t.nodeType&&t.hasAttribute(z)&&(t.removeAttribute(z),r=!0),f(r)&&I(t,e,m))return T(e,m,!0),t;d=t,t=new At(h.tagName(d).toLowerCase(),{},[],void 0,d)}var x=t.elm,O=h.parentNode(x);if(v(e,m,x._leaveCb?null:O,h.nextSibling(x)),c(e.parent))for(var S=e.parent,A=w(e);S;){for(var i=0;i<n.destroy.length;++i)n.destroy[i](S);if(S.elm=e.elm,A){for(var k=0;k<n.create.length;++k)n.create[k](lr,S);var j=S.data.hook.insert;if(j.merged)for(var P=1;P<j.fns.length;P++)j.fns[P]()}else fr(S);S=S.parent}c(O)?E(0,[t],0,0):c(t.tag)&&C(t)}}return T(e,m,y),e.elm}c(t)&&C(t)}}({nodeOps:cr,modules:[Er,$r,Fr,qr,style,tt?{create:Ao,activate:Ao,remove:function(t,e){!0!==t.data.show?xo(t,e):e()}}:{}].concat(Or)});at&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Lo(t,"input")});var Eo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ve(n,"postpatch",function(){Eo.componentUpdated(t,e,n)}):ko(t,e,n.context),t._vOptions=[].map.call(t.options,To)):("textarea"===n.tag||sr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Po),t.addEventListener("compositionend",Io),t.addEventListener("change",Io),at&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ko(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,To);if(o.some(function(t,i){return!B(t,r[i])}))(t.multiple?e.value.some(function(t){return $o(t,o)}):e.value!==e.oldValue&&$o(e.value,o))&&Lo(t,"change")}}};function ko(t,e,n){jo(t,e,n),(it||st)&&setTimeout(function(){jo(t,e,n)},0)}function jo(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var c,option,i=0,f=t.options.length;i<f;i++)if(option=t.options[i],o)c=H(r,To(option))>-1,option.selected!==c&&(option.selected=c);else if(B(To(option),r))return void(t.selectedIndex!==i&&(t.selectedIndex=i));o||(t.selectedIndex=-1)}}function $o(t,e){return e.every(function(e){return!B(e,t)})}function To(option){return"_value"in option?option._value:option.value}function Po(t){t.target.composing=!0}function Io(t){t.target.composing&&(t.target.composing=!1,Lo(t.target,"input"))}function Lo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ro(t){return!t.componentInstance||t.data&&t.data.transition?t:Ro(t.componentInstance._vnode)}var No={model:Eo,show:{bind:function(t,e,n){var r=e.value,o=(n=Ro(n)).data&&n.data.transition,c=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,wo(n,function(){t.style.display=c})):t.style.display=r?c:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Ro(n)).data&&n.data.transition?(n.data.show=!0,r?wo(n,function(){t.style.display=t.__vOriginalDisplay}):xo(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},Mo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Do(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Do(tn(e.children)):t}function Fo(t){var data={},e=t.$options;for(var n in e.propsData)data[n]=t[n];var r=e._parentListeners;for(var o in r)data[$(o)]=r[o];return data}function Uo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Bo=function(t){return t.tag||Ze(t)},qo=function(t){return"show"===t.name},Ho={name:"transition",props:Mo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Bo)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var c=Do(o);if(!c)return o;if(this._leaving)return Uo(t,o);var f="__transition-"+this._uid+"-";c.key=null==c.key?c.isComment?f+"comment":f+c.tag:l(c.key)?0===String(c.key).indexOf(f)?c.key:f+c.key:c.key;var data=(c.data||(c.data={})).transition=Fo(this),h=this._vnode,d=Do(h);if(c.data.directives&&c.data.directives.some(qo)&&(c.data.show=!0),d&&d.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(c,d)&&!Ze(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var v=d.data.transition=N({},data);if("out-in"===r)return this._leaving=!0,ve(v,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Uo(t,o);if("in-out"===r){if(Ze(c))return h;var y,m=function(){y()};ve(data,"afterEnter",m),ve(data,"enterCancelled",m),ve(v,"delayLeave",function(t){y=t})}}return o}}},Vo=N({tag:String,moveClass:String},Mo);function zo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Go(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ko(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var s=t.elm.style;s.transform=s.WebkitTransform="translate("+r+"px,"+o+"px)",s.transitionDuration="0s"}}delete Vo.mode;var Wo={Transition:Ho,TransitionGroup:{props:Vo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=sn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",map=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],c=Fo(this),i=0;i<r.length;i++){var f=r[i];if(f.tag)if(null!=f.key&&0!==String(f.key).indexOf("__vlist"))o.push(f),map[f.key]=f,(f.data||(f.data={})).transition=c;else;}if(n){for(var l=[],h=[],d=0;d<n.length;d++){var v=n[d];v.data.transition=c,v.data.pos=v.elm.getBoundingClientRect(),map[v.key]?l.push(v):h.push(v)}this.kept=t(e,null,l),this.removed=h}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(zo),t.forEach(Go),t.forEach(Ko),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,s=n.style;ho(n,e),s.transform=s.WebkitTransform=s.transitionDuration="",n.addEventListener(co,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(co,t),n._moveCb=null,vo(n,e))})}}))},methods:{hasMove:function(t,e){if(!oo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){eo(n,t)}),to(n,e),n.style.display="none",this.$el.appendChild(n);var r=go(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};In.config.mustUseProp=function(t,e,n){return"value"===n&&qn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},In.config.isReservedTag=ir,In.config.isReservedAttr=Bn,In.config.getTagNamespace=function(t){return or(t)?"svg":"math"===t?"math":void 0},In.config.isUnknownElement=function(t){if(!tt)return!0;if(ir(t))return!1;if(t=t.toLowerCase(),null!=ar[t])return ar[t];var e=document.createElement(t);return t.indexOf("-")>-1?ar[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ar[t]=/HTMLUnknownElement/.test(e.toString())},N(In.options.directives,No),N(In.options.components,Wo),In.prototype.__patch__=tt?Co:D,In.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=Et),fn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new xn(t,r,D,{before:function(){t._isMounted&&!t._isDestroyed&&fn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,fn(t,"mounted")),t}(this,t=t&&tt?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},tt&&setTimeout(function(){W.devtools&&vt&&vt.emit("init",In)},0),e.a=In}).call(this,n(19),n(158).setImmediate)},,function(t,e,n){var r=n(42)("wks"),o=n(36),c=n(3).Symbol,f="function"==typeof c;(t.exports=function(t){return r[t]||(r[t]=f&&c[t]||(f?c:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},,function(t,e,n){"use strict";var r=n(98),o=n(171),c=Object.prototype.toString;function f(t){return"[object Array]"===c.call(t)}function l(t){return null!==t&&"object"==typeof t}function h(t){return"[object Function]"===c.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),f(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:f,isArrayBuffer:function(t){return"[object ArrayBuffer]"===c.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:l,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===c.call(t)},isFile:function(t){return"[object File]"===c.call(t)},isBlob:function(t){return"[object Blob]"===c.call(t)},isFunction:h,isStream:function(t){return l(t)&&h(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:d,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var i=0,r=arguments.length;i<r;i++)d(arguments[i],n);return e},deepMerge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]="object"==typeof n?t({},n):n}for(var i=0,r=arguments.length;i<r;i++)d(arguments[i],n);return e},extend:function(a,b,t){return d(b,function(e,n){a[n]=t&&"function"==typeof e?r(e,t):e}),a},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){var r=n(3),o=n(15),c=n(16),f=n(12),l=n(29),h=function(t,e,source){var n,d,v,y,m=t&h.F,_=t&h.G,w=t&h.S,x=t&h.P,O=t&h.B,S=_?r:w?r[e]||(r[e]={}):(r[e]||{}).prototype,A=_?o:o[e]||(o[e]={}),C=A.prototype||(A.prototype={});for(n in _&&(source=e),source)v=((d=!m&&S&&void 0!==S[n])?S:source)[n],y=O&&d?l(v,r):x&&"function"==typeof v?l(Function.call,v):v,S&&f(S,n,v,t&h.U),A[n]!=v&&c(A,n,y),x&&C[n]!=v&&(C[n]=v)};r.core=o,h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,h.U=64,h.R=128,t.exports=h},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(82),c=n(59),f=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=c(e,!0),r(n),o)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(3),o=n(16),c=n(17),f=n(36)("src"),l=n(121),h=(""+l).split("toString");n(15).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,n,l){var d="function"==typeof n;d&&(c(n,"name")||o(n,"name",e)),t[e]!==n&&(d&&(c(n,f)||o(n,f,t[e]?""+t[e]:h.join(String(e)))),t===r?t[e]=n:l?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[f]||l.call(this)})},function(t,e,n){"use strict";var r=n(48),o={};o[n(2)("toStringTag")]="z",o+""!="[object z]"&&n(12)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){"use strict";function r(t,e,n,r,o,c,f,l){var h,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),c&&(d._scopeId="data-v-"+c),f?(h=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(f)},d._ssrRegister=h):o&&(h=l?function(){o.call(this,this.$root.$options.shadowRoot)}:o),h)if(d.functional){d._injectStyles=h;var v=d.render;d.render=function(t,e){return h.call(e),v(t,e)}}else{var y=d.beforeCreate;d.beforeCreate=y?[].concat(y,h):[h]}return{exports:t,options:d}}n.d(e,"a",function(){return r})},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(9),o=n(35);t.exports=n(8)?function(object,t,e){return r.f(object,t,o(1,e))}:function(object,t,e){return object[t]=e,object}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){for(var r=n(91),o=n(25),c=n(12),f=n(3),l=n(16),h=n(37),d=n(2),v=d("iterator"),y=d("toStringTag"),m=h.Array,_={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},w=o(_),i=0;i<w.length;i++){var x,O=w[i],S=_[O],A=f[O],C=A&&A.prototype;if(C&&(C[v]||l(C,v,m),C[y]||l(C,y,O),h[O]=m,S))for(x in r)C[x]||c(C,x,r[x],!0)}},function(t,e){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(t){"object"==typeof window&&(g=window)}t.exports=g},function(t,e,n){var r=n(77),o=n(22);t.exports=function(t){return r(o(t))}},,function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(33),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(83),o=n(63);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(3),o=n(17),c=n(8),f=n(7),l=n(12),h=n(126).KEY,d=n(10),v=n(42),y=n(44),m=n(36),_=n(2),w=n(87),x=n(86),O=n(127),S=n(114),A=n(4),C=n(11),E=n(30),k=n(20),j=n(59),$=n(35),T=n(76),P=n(128),I=n(60),L=n(45),R=n(9),N=n(25),M=I.f,D=R.f,F=P.f,U=r.Symbol,B=r.JSON,H=B&&B.stringify,V=_("_hidden"),z=_("toPrimitive"),G={}.propertyIsEnumerable,K=v("symbol-registry"),W=v("symbols"),J=v("op-symbols"),X=Object.prototype,Y="function"==typeof U&&!!L.f,Q=r.QObject,Z=!Q||!Q.prototype||!Q.prototype.findChild,tt=c&&d(function(){return 7!=T(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(X,e);r&&delete X[e],D(t,e,n),r&&t!==X&&D(X,e,r)}:D,et=function(t){var e=W[t]=T(U.prototype);return e._k=t,e},nt=Y&&"symbol"==typeof U.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof U},ot=function(t,e,n){return t===X&&ot(J,e,n),A(t),e=j(e,!0),A(n),o(W,e)?(n.enumerable?(o(t,V)&&t[V][e]&&(t[V][e]=!1),n=T(n,{enumerable:$(0,!1)})):(o(t,V)||D(t,V,$(1,{})),t[V][e]=!0),tt(t,e,n)):D(t,e,n)},it=function(t,e){A(t);for(var n,r=O(e=k(e)),i=0,o=r.length;o>i;)ot(t,n=r[i++],e[n]);return t},at=function(t){var e=G.call(this,t=j(t,!0));return!(this===X&&o(W,t)&&!o(J,t))&&(!(e||!o(this,t)||!o(W,t)||o(this,V)&&this[V][t])||e)},st=function(t,e){if(t=k(t),e=j(e,!0),t!==X||!o(W,e)||o(J,e)){var n=M(t,e);return!n||!o(W,e)||o(t,V)&&t[V][e]||(n.enumerable=!0),n}},ct=function(t){for(var e,n=F(k(t)),r=[],i=0;n.length>i;)o(W,e=n[i++])||e==V||e==h||r.push(e);return r},ut=function(t){for(var e,n=t===X,r=F(n?J:k(t)),c=[],i=0;r.length>i;)!o(W,e=r[i++])||n&&!o(X,e)||c.push(W[e]);return c};Y||(l((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var t=m(arguments.length>0?arguments[0]:void 0),e=function(n){this===X&&e.call(J,n),o(this,V)&&o(this[V],t)&&(this[V][t]=!1),tt(this,t,$(1,n))};return c&&Z&&tt(X,t,{configurable:!0,set:e}),et(t)}).prototype,"toString",function(){return this._k}),I.f=st,R.f=ot,n(41).f=P.f=ct,n(46).f=at,L.f=ut,c&&!n(34)&&l(X,"propertyIsEnumerable",at,!0),w.f=function(t){return et(_(t))}),f(f.G+f.W+f.F*!Y,{Symbol:U});for(var ft="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),lt=0;ft.length>lt;)_(ft[lt++]);for(var pt=N(_.store),ht=0;pt.length>ht;)x(pt[ht++]);f(f.S+f.F*!Y,"Symbol",{for:function(t){return o(K,t+="")?K[t]:K[t]=U(t)},keyFor:function(t){if(!nt(t))throw TypeError(t+" is not a symbol!");for(var e in K)if(K[e]===t)return e},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),f(f.S+f.F*!Y,"Object",{create:function(t,e){return void 0===e?T(t):it(T(t),e)},defineProperty:ot,defineProperties:it,getOwnPropertyDescriptor:st,getOwnPropertyNames:ct,getOwnPropertySymbols:ut});var vt=d(function(){L.f(1)});f(f.S+f.F*vt,"Object",{getOwnPropertySymbols:function(t){return L.f(E(t))}}),B&&f(f.S+f.F*(!Y||d(function(){var t=U();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(C(e)||void 0!==t)&&!nt(t))return S(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!nt(e))return e}),r[1]=e,H.apply(B,r)}}),U.prototype[z]||n(16)(U.prototype,z,U.prototype.valueOf),y(U,"Symbol"),y(Math,"Math",!0),y(r.JSON,"JSON",!0)},,,function(t,e,n){var r=n(43);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(a){return t.call(e,a)};case 2:return function(a,b){return t.call(e,a,b)};case 3:return function(a,b,n){return t.call(e,a,b,n)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(22);t.exports=function(t){return Object(r(t))}},,,function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={}},,function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",f=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function h(t,e,n,r){var o=e&&e.prototype instanceof x?e:x,c=Object.create(o.prototype),f=new L(r||[]);return c._invoke=function(t,e,n){var r=v;return function(o,c){if(r===m)throw new Error("Generator is already running");if(r===_){if("throw"===o)throw c;return N()}for(n.method=o,n.arg=c;;){var f=n.delegate;if(f){var l=T(f,n);if(l){if(l===w)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===v)throw r=_,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=m;var h=d(t,e,n);if("normal"===h.type){if(r=n.done?_:y,h.arg===w)continue;return{value:h.arg,done:n.done}}"throw"===h.type&&(r=_,n.method="throw",n.arg=h.arg)}}}(t,n,f),c}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var v="suspendedStart",y="suspendedYield",m="executing",_="completed",w={};function x(){}function O(){}function S(){}var A={};A[c]=function(){return this};var C=Object.getPrototypeOf,E=C&&C(C(R([])));E&&E!==n&&r.call(E,c)&&(A=E);var k=S.prototype=x.prototype=Object.create(A);function j(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function $(t){var e;this._invoke=function(n,o){function c(){return new Promise(function(e,c){!function e(n,o,c,f){var l=d(t[n],t,o);if("throw"!==l.type){var h=l.arg,v=h.value;return v&&"object"==typeof v&&r.call(v,"__await")?Promise.resolve(v.__await).then(function(t){e("next",t,c,f)},function(t){e("throw",t,c,f)}):Promise.resolve(v).then(function(t){h.value=t,c(h)},function(t){return e("throw",t,c,f)})}f(l.arg)}(n,o,e,c)})}return e=e?e.then(c,c):c()}}function T(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method))return w;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,w;var c=o.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,w):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,w)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function R(t){if(t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}return{next:N}}function N(){return{value:e,done:!0}}return O.prototype=k.constructor=S,S.constructor=O,S[l]=O.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(k),t},t.awrap=function(t){return{__await:t}},j($.prototype),$.prototype[f]=function(){return this},t.AsyncIterator=$,t.async=function(e,n,r,o){var c=new $(h(e,n,r,o));return t.isGeneratorFunction(n)?c:c.next().then(function(t){return t.done?t.value:c.next()})},j(k),k[l]="Generator",k[c]=function(){return this},k.toString=function(){return"[object Generator]"},t.keys=function(object){var t=[];for(var e in object)t.push(e);return t.reverse(),function e(){for(;t.length;){var n=t.pop();if(n in object)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return f.type="throw",f.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],f=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),h=r.call(c,"finallyLoc");if(l&&h){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),w},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),w}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;I(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),w}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){var r=n(9).f,o=Function.prototype,c=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(c)[1]}catch(t){return""}}})},function(t,e,n){var r=n(83),o=n(63).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(15),o=n(3),c=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(9).f,o=n(17),c=n(2)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(48),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var c=n.call(t,e);if("object"!=typeof c)throw new TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){var r=n(23),o=n(2)("toStringTag"),c="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,f;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:c?r(e):"Object"==(f=r(e))&&"function"==typeof e.callee?"Arguments":f}},function(t,e,n){"use strict";n(129);var r=n(12),o=n(16),c=n(10),f=n(22),l=n(2),h=n(66),d=l("species"),v=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),y=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var m=l(t),_=!c(function(){var e={};return e[m]=function(){return 7},7!=""[t](e)}),w=_?!c(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[d]=function(){return n}),n[m](""),!e}):void 0;if(!_||!w||"replace"===t&&!v||"split"===t&&!y){var x=/./[m],O=n(f,m,""[t],function(t,e,n,r,o){return e.exec===h?_&&!o?{done:!0,value:x.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),S=O[0],A=O[1];r(String.prototype,t,S),o(RegExp.prototype,m,2==e?function(t,e){return A.call(t,this,e)}:function(t){return A.call(t,this)})}}},function(t,e,n){"use strict";var r=n(4);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(30),o=n(25);n(131)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r=n(4),o=n(30),c=n(24),f=n(33),l=n(65),h=n(47),d=Math.max,v=Math.min,y=Math.floor,m=/\$([$&`']|\d\d?|<[^>]*>)/g,_=/\$([$&`']|\d\d?)/g;n(49)("replace",2,function(t,e,n,w){return[function(r,o){var c=t(this),f=null==r?void 0:r[e];return void 0!==f?f.call(r,c,o):n.call(String(c),r,o)},function(t,e){var o=w(n,t,this,e);if(o.done)return o.value;var y=r(t),m=String(this),_="function"==typeof e;_||(e=String(e));var O=y.global;if(O){var S=y.unicode;y.lastIndex=0}for(var A=[];;){var C=h(y,m);if(null===C)break;if(A.push(C),!O)break;""===String(C[0])&&(y.lastIndex=l(m,c(y.lastIndex),S))}for(var E,k="",j=0,i=0;i<A.length;i++){C=A[i];for(var $=String(C[0]),T=d(v(f(C.index),m.length),0),P=[],I=1;I<C.length;I++)P.push(void 0===(E=C[I])?E:String(E));var L=C.groups;if(_){var R=[$].concat(P,T,m);void 0!==L&&R.push(L);var N=String(e.apply(void 0,R))}else N=x($,m,T,P,L,e);T>=j&&(k+=m.slice(j,T)+N,j=T+$.length)}return k+m.slice(j)}];function x(t,e,r,c,f,l){var h=r+t.length,d=c.length,v=_;return void 0!==f&&(f=o(f),v=m),n.call(l,v,function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(h);case"<":l=f[o.slice(1,-1)];break;default:var v=+o;if(0===v)return n;if(v>d){var m=y(v/10);return 0===m?n:m<=d?void 0===c[m-1]?o.charAt(1):c[m-1]+o.charAt(1):n}l=c[v-1]}return void 0===l?"":l})}})},,,,,,,function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(46),o=n(35),c=n(20),f=n(59),l=n(17),h=n(82),d=Object.getOwnPropertyDescriptor;e.f=n(8)?d:function(t,e){if(t=c(t),e=f(e,!0),h)try{return d(t,e)}catch(t){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(11),o=n(3).document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){n(86)("asyncIterator")},function(t,e,n){"use strict";var r=n(80)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){"use strict";var r,o,c=n(50),f=RegExp.prototype.exec,l=String.prototype.replace,h=f,d=(r=/a/,o=/b*/g,f.call(r,"a"),f.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),v=void 0!==/()??/.exec("")[1];(d||v)&&(h=function(t){var e,n,r,i,o=this;return v&&(n=new RegExp("^"+o.source+"$(?!\\s)",c.call(o))),d&&(e=o.lastIndex),r=f.call(o,t),d&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),v&&r&&r.length>1&&l.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),t.exports=h},function(t,e,n){"use strict";var r=n(7),o=n(84)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(78)("includes")},function(t,e,n){var r=n(11),o=n(23),c=n(2)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[c])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(4),o=n(43),c=n(2)("species");t.exports=function(t,e){var n,f=r(t).constructor;return void 0===f||null==(n=r(f)[c])?e:o(n)}},function(t,e,n){var r=n(7),o=n(148),c=n(20),f=n(60),l=n(149);r(r.S,"Object",{getOwnPropertyDescriptors:function(object){for(var t,desc,e=c(object),n=f.f,r=o(e),h={},i=0;r.length>i;)void 0!==(desc=n(e,t=r[i++]))&&l(h,t,desc);return h}})},,,,function(t,e,n){"use strict";function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){return e instanceof t||e&&(e.name===t.name||e._name===t._name)}function c(a,b){for(var t in b)a[t]=b[t];return a}var f={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,data=e.data;data.routerView=!0;for(var f=o.$createElement,l=n.name,h=o.$route,d=o._routerViewCache||(o._routerViewCache={}),v=0,y=!1;o&&o._routerRoot!==o;){var m=o.$vnode&&o.$vnode.data;m&&(m.routerView&&v++,m.keepAlive&&o._inactive&&(y=!0)),o=o.$parent}if(data.routerViewDepth=v,y)return f(d[l],data,r);var _=h.matched[v];if(!_)return d[l]=null,f();var component=d[l]=_.components[l];data.registerRouteInstance=function(t,e){var n=_.instances[l];(e&&n!==t||!e&&n===t)&&(_.instances[l]=e)},(data.hook||(data.hook={})).prepatch=function(t,e){_.instances[l]=e.componentInstance},data.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==_.instances[l]&&(_.instances[l]=t.componentInstance)};var w=data.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(h,_.props&&_.props[l]);if(w){w=data.props=c({},w);var x=data.attrs=data.attrs||{};for(var O in w)component.props&&O in component.props||(x[O]=w[O],delete w[O])}return f(component,data,r)}};var l=/[!'()*]/g,h=function(t){return"%"+t.charCodeAt(0).toString(16)},d=/%2C/g,v=function(t){return encodeURIComponent(t).replace(l,h).replace(d,",")},y=decodeURIComponent;function m(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(param){var t=param.replace(/\+/g," ").split("="),n=y(t.shift()),r=t.length>0?y(t.join("=")):null;void 0===e[n]?e[n]=r:Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]}),e):e}function _(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return v(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(v(e)):r.push(v(e)+"="+v(t)))}),r.join("&")}return v(e)+"="+v(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var w=/\/?$/;function x(t,e,n,r){var o=r&&r.options.stringifyQuery,c=e.query||{};try{c=O(c)}catch(t){}var f={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:c,params:e.params||{},fullPath:C(e,o),matched:t?A(t):[]};return n&&(f.redirectedFrom=C(n,o)),Object.freeze(f)}function O(t){if(Array.isArray(t))return t.map(O);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=O(t[n]);return e}return t}var S=x(null,{path:"/"});function A(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function C(t,e){var path=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(path||"/")+(e||_)(n)+r}function E(a,b){return b===S?a===b:!!b&&(a.path&&b.path?a.path.replace(w,"")===b.path.replace(w,"")&&a.hash===b.hash&&k(a.query,b.query):!(!a.name||!b.name)&&(a.name===b.name&&a.hash===b.hash&&k(a.query,b.query)&&k(a.params,b.params)))}function k(a,b){if(void 0===a&&(a={}),void 0===b&&(b={}),!a||!b)return a===b;var t=Object.keys(a),e=Object.keys(b);return t.length===e.length&&t.every(function(t){var e=a[t],n=b[t];return"object"==typeof e&&"object"==typeof n?k(e,n):String(e)===String(n)})}function j(t,base,e){var n=t.charAt(0);if("/"===n)return t;if("?"===n||"#"===n)return base+t;var r=base.split("/");e&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),i=0;i<o.length;i++){var c=o[i];".."===c?r.pop():"."!==c&&r.push(c)}return""!==r[0]&&r.unshift(""),r.join("/")}function $(path){return path.replace(/\/\//g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=K,I=D,L=function(t,e){return U(D(t,e))},R=U,N=G,M=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function D(t,e){for(var n,r=[],o=0,c=0,path="",f=e&&e.delimiter||"/";null!=(n=M.exec(t));){var l=n[0],h=n[1],d=n.index;if(path+=t.slice(c,d),c=d+l.length,h)path+=h[1];else{var v=t[c],y=n[2],m=n[3],_=n[4],w=n[5],x=n[6],O=n[7];path&&(r.push(path),path="");var S=null!=y&&null!=v&&v!==y,A="+"===x||"*"===x,C="?"===x||"*"===x,E=n[2]||f,pattern=_||w;r.push({name:m||o++,prefix:y||"",delimiter:E,optional:C,repeat:A,partial:S,asterisk:!!O,pattern:pattern?H(pattern):O?".*":"[^"+B(E)+"]+?"})}}return c<t.length&&(path+=t.substr(c)),path&&r.push(path),r}function F(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function U(t){for(var e=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(e[i]=new RegExp("^(?:"+t[i].pattern+")$"));return function(n,r){for(var path="",data=n||{},o=(r||{}).pretty?F:encodeURIComponent,i=0;i<t.length;i++){var c=t[i];if("string"!=typeof c){var f,l=data[c.name];if(null==l){if(c.optional){c.partial&&(path+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(T(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(f=o(l[h]),!e[i].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");path+=(0===h?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?encodeURI(l).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):o(l),!e[i].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');path+=c.prefix+f}}else path+=c}return path}}function B(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function H(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function V(t,e){return t.keys=e,t}function z(t){return t.sensitive?"":"i"}function G(t,e,n){T(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,o=!1!==n.end,c="",i=0;i<t.length;i++){var f=t[i];if("string"==typeof f)c+=B(f);else{var l=B(f.prefix),h="(?:"+f.pattern+")";e.push(f),f.repeat&&(h+="(?:"+l+h+")*"),c+=h=f.optional?f.partial?l+"("+h+")?":"(?:"+l+"("+h+"))?":l+"("+h+")"}}var d=B(n.delimiter||"/"),v=c.slice(-d.length)===d;return r||(c=(v?c.slice(0,-d.length):c)+"(?:"+d+"(?=$))?"),c+=o?"$":r&&v?"":"(?="+d+"|$)",V(new RegExp("^"+c,z(n)),e)}function K(path,t,e){return T(t)||(e=t||e,t=[]),e=e||{},path instanceof RegExp?function(path,t){var e=path.source.match(/\((?!\?)/g);if(e)for(var i=0;i<e.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return V(path,t)}(path,t):T(path)?function(path,t,e){for(var n=[],i=0;i<path.length;i++)n.push(K(path[i],t,e).source);return V(new RegExp("(?:"+n.join("|")+")",z(e)),t)}(path,t,e):function(path,t,e){return G(D(path,e),t,e)}(path,t,e)}P.parse=I,P.compile=L,P.tokensToFunction=R,P.tokensToRegExp=N;var W=Object.create(null);function J(path,t,e){t=t||{};try{var n=W[path]||(W[path]=P.compile(path));return t.pathMatch&&(t[0]=t.pathMatch),n(t,{pretty:!0})}catch(t){return""}finally{delete t[0]}}function X(t,e,n,r){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name)return c({},t);if(!o.path&&o.params&&e){(o=c({},o))._normalized=!0;var f=c(c({},e.params),o.params);if(e.name)o.name=e.name,o.params=f;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=J(l,f,e.path)}else 0;return o}var h=function(path){var t="",e="",n=path.indexOf("#");n>=0&&(t=path.slice(n),path=path.slice(0,n));var r=path.indexOf("?");return r>=0&&(e=path.slice(r+1),path=path.slice(0,r)),{path:path,query:e,hash:t}}(o.path||""),d=e&&e.path||"/",path=h.path?j(h.path,d,n||o.append):d,v=function(t,e,n){void 0===e&&(e={});var r,o=n||m;try{r=o(t||"")}catch(t){r={}}for(var c in e)r[c]=e[c];return r}(h.query,o.query,r&&r.options.parseQuery),y=o.hash||h.hash;return y&&"#"!==y.charAt(0)&&(y="#"+y),{_normalized:!0,path:path,query:v,hash:y}}var Y,Q=[String,Object],Z=[String,Array],tt=function(){},et={name:"RouterLink",props:{to:{type:Q,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Z,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),f=o.location,l=o.route,h=o.href,d={},v=n.options.linkActiveClass,y=n.options.linkExactActiveClass,m=null==v?"router-link-active":v,_=null==y?"router-link-exact-active":y,O=null==this.activeClass?m:this.activeClass,S=null==this.exactActiveClass?_:this.exactActiveClass,A=l.redirectedFrom?x(null,X(l.redirectedFrom),null,n):l;d[S]=E(r,A),d[O]=this.exact?d[S]:function(t,e){return 0===t.path.replace(w,"/").indexOf(e.path.replace(w,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,A);var C=function(t){nt(t)&&(e.replace?n.replace(f,tt):n.push(f,tt))},k={click:nt};Array.isArray(this.event)?this.event.forEach(function(t){k[t]=C}):k[this.event]=C;var data={class:d},j=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:h,route:l,navigate:C,isActive:d[O],isExactActive:d[S]});if(j){if(1===j.length)return j[0];if(j.length>1||!j.length)return 0===j.length?t():t("span",{},j)}if("a"===this.tag)data.on=k,data.attrs={href:h};else{var a=function t(e){if(e)for(var n,i=0;i<e.length;i++){if("a"===(n=e[i]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(a)a.isStatic=!1,(a.data=c({},a.data)).on=k,(a.data.attrs=c({},a.data.attrs)).href=h;else data.on=k}return t(this.tag,data,this.$slots.default)}};function nt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var ot="undefined"!=typeof window;function it(t,e,n,r){var o=e||[],c=n||Object.create(null),f=r||Object.create(null);t.forEach(function(t){!function t(e,n,r,o,c,f){var path=o.path;var l=o.name;0;var h=o.pathToRegexpOptions||{};var d=function(path,t,e){e||(path=path.replace(/\/$/,""));if("/"===path[0])return path;if(null==t)return path;return $(t.path+"/"+path)}(path,c,h.strict);"boolean"==typeof o.caseSensitive&&(h.sensitive=o.caseSensitive);var v={path:d,regex:at(d,h),components:o.components||{default:o.component},instances:{},name:l,parent:c,matchAs:f,redirect:o.redirect,beforeEnter:o.beforeEnter,meta:o.meta||{},props:null==o.props?{}:o.components?o.props:{default:o.props}};o.children&&o.children.forEach(function(o){var c=f?$(f+"/"+o.path):void 0;t(e,n,r,o,v,c)});n[v.path]||(e.push(v.path),n[v.path]=v);if(void 0!==o.alias)for(var y=Array.isArray(o.alias)?o.alias:[o.alias],i=0;i<y.length;++i){var m=y[i];0;var _={path:m,children:o.children};t(e,n,r,_,c,v.path||"/")}l&&(r[l]||(r[l]=v))}(o,c,f,t)});for(var i=0,l=o.length;i<l;i++)"*"===o[i]&&(o.push(o.splice(i,1)[0]),l--,i--);return{pathList:o,pathMap:c,nameMap:f}}function at(path,t){return P(path,[],t)}function st(t,e){var n=it(t),r=n.pathList,o=n.pathMap,c=n.nameMap;function f(t,n,f){var l=X(t,n,!1,e),d=l.name;if(d){var v=c[d];if(!v)return h(null,l);var y=v.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof l.params&&(l.params={}),n&&"object"==typeof n.params)for(var m in n.params)!(m in l.params)&&y.indexOf(m)>-1&&(l.params[m]=n.params[m]);return l.path=J(v.path,l.params),h(v,l,f)}if(l.path){l.params={};for(var i=0;i<r.length;i++){var path=r[i],_=o[path];if(ct(_.regex,l.path,l.params))return h(_,l,f)}}return h(null,l)}function l(t,n){var r=t.redirect,o="function"==typeof r?r(x(t,n,null,e)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return h(null,n);var l=o,d=l.name,path=l.path,v=n.query,y=n.hash,m=n.params;if(v=l.hasOwnProperty("query")?l.query:v,y=l.hasOwnProperty("hash")?l.hash:y,m=l.hasOwnProperty("params")?l.params:m,d){c[d];return f({_normalized:!0,name:d,query:v,hash:y,params:m},void 0,n)}if(path){var _=function(path,t){return j(path,t.parent?t.parent.path:"/",!0)}(path,t);return f({_normalized:!0,path:J(_,m),query:v,hash:y},void 0,n)}return h(null,n)}function h(t,n,r){return t&&t.redirect?l(t,r||n):t&&t.matchAs?function(t,e,n){var r=f({_normalized:!0,path:J(n,e.params)});if(r){var o=r.matched,c=o[o.length-1];return e.params=r.params,h(c,e)}return h(null,e)}(0,n,t.matchAs):x(t,n,r,e)}return{match:f,addRoutes:function(t){it(t,r,o,c)}}}function ct(t,path,e){var n=path.match(t);if(!n)return!1;if(!e)return!0;for(var i=1,r=n.length;i<r;++i){var o=t.keys[i-1],c="string"==typeof n[i]?decodeURIComponent(n[i]):n[i];o&&(e[o.name||"pathMatch"]=c)}return!0}var ut=Object.create(null);function ft(){var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,"");window.history.replaceState({key:St()},"",e),window.addEventListener("popstate",function(t){var e;pt(),t.state&&t.state.key&&(e=t.state.key,xt=e)})}function lt(t,e,n,r){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick(function(){var c=function(){var t=St();if(t)return ut[t]}(),f=o.call(t,e,n,r?c:null);f&&("function"==typeof f.then?f.then(function(t){gt(t,c)}).catch(function(t){0}):gt(f,c))})}}function pt(){var t=St();t&&(ut[t]={x:window.pageXOffset,y:window.pageYOffset})}function ht(t){return yt(t.x)||yt(t.y)}function vt(t){return{x:yt(t.x)?t.x:window.pageXOffset,y:yt(t.y)?t.y:window.pageYOffset}}function yt(t){return"number"==typeof t}var mt=/^#\d/;function gt(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var o=mt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(o){var c=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(o,c={x:yt((n=c).x)?n.x:0,y:yt(n.y)?n.y:0})}else ht(t)&&(e=vt(t))}else r&&ht(t)&&(e=vt(t));e&&window.scrollTo(e.x,e.y)}var bt,_t=ot&&((-1===(bt=window.navigator.userAgent).indexOf("Android 2.")&&-1===bt.indexOf("Android 4.0")||-1===bt.indexOf("Mobile Safari")||-1!==bt.indexOf("Chrome")||-1!==bt.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history),wt=ot&&window.performance&&window.performance.now?window.performance:Date,xt=Ot();function Ot(){return wt.now().toFixed(3)}function St(){return xt}function At(t,e){pt();var n=window.history;try{e?n.replaceState({key:xt},"",t):(xt=Ot(),n.pushState({key:xt},"",t))}catch(n){window.location[e?"replace":"assign"](t)}}function Ct(t){At(t,!0)}function Et(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function kt(t){return function(e,n,o){var c=!1,f=0,l=null;jt(t,function(t,e,n,h){if("function"==typeof t&&void 0===t.cid){c=!0,f++;var d,v=Pt(function(e){var r;((r=e).__esModule||Tt&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Y.extend(e),n.components[h]=e,--f<=0&&o()}),y=Pt(function(t){var e="Failed to resolve async component "+h+": "+t;l||(l=r(t)?t:new Error(e),o(l))});try{d=t(v,y)}catch(t){y(t)}if(d)if("function"==typeof d.then)d.then(v,y);else{var m=d.component;m&&"function"==typeof m.then&&m.then(v,y)}}}),c||o()}}function jt(t,e){return $t(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function $t(t){return Array.prototype.concat.apply([],t)}var Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Pt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var It=function(t){function e(){t.call(this,"Navigating to current location is not allowed"),this.name=this._name="NavigationDuplicated"}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error);It._name="NavigationDuplicated";var Lt=function(t,base){this.router=t,this.base=function(base){if(!base)if(ot){var t=document.querySelector("base");base=(base=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else base="/";"/"!==base.charAt(0)&&(base="/"+base);return base.replace(/\/$/,"")}(base),this.current=S,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Rt(t,e,n,r){var o=jt(t,function(t,r,o,c){var f=function(t,e){"function"!=typeof t&&(t=Y.extend(t));return t.options[e]}(t,e);if(f)return Array.isArray(f)?f.map(function(t){return n(t,r,o,c)}):n(f,r,o,c)});return $t(r?o.reverse():o)}function Nt(t,e){if(e)return function(){return t.apply(e,arguments)}}Lt.prototype.listen=function(t){this.cb=t},Lt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Lt.prototype.onError=function(t){this.errorCbs.push(t)},Lt.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},Lt.prototype.confirmTransition=function(t,e,n){var c=this,f=this.current,l=function(t){!o(It,t)&&r(t)&&(c.errorCbs.length?c.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)};if(E(t,f)&&t.matched.length===f.matched.length)return this.ensureURL(),l(new It(t));var h=function(t,e){var i,n=Math.max(t.length,e.length);for(i=0;i<n&&t[i]===e[i];i++);return{updated:e.slice(0,i),activated:e.slice(i),deactivated:t.slice(i)}}(this.current.matched,t.matched),d=h.updated,v=h.deactivated,y=h.activated,m=[].concat(function(t){return Rt(t,"beforeRouteLeave",Nt,!0)}(v),this.router.beforeHooks,function(t){return Rt(t,"beforeRouteUpdate",Nt)}(d),y.map(function(t){return t.beforeEnter}),kt(y));this.pending=t;var _=function(e,n){if(c.pending!==t)return l();try{e(t,f,function(t){!1===t||r(t)?(c.ensureURL(!0),l(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(l(),"object"==typeof t&&t.replace?c.replace(t):c.push(t)):n(t)})}catch(t){l(t)}};Et(m,_,function(){var n=[];Et(function(t,e,n){return Rt(t,"beforeRouteEnter",function(t,r,o,c){return function(t,e,n,r,o){return function(c,f,l){return t(c,f,function(t){"function"==typeof t&&r.push(function(){!function t(e,n,r,o){n[r]&&!n[r]._isBeingDestroyed?e(n[r]):o()&&setTimeout(function(){t(e,n,r,o)},16)}(t,e.instances,n,o)}),l(t)})}}(t,o,c,e,n)})}(y,n,function(){return c.current===t}).concat(c.router.resolveHooks),_,function(){if(c.pending!==t)return l();c.pending=null,e(t),c.router.app&&c.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},Lt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Mt=function(t){function e(e,base){var n=this;t.call(this,e,base);var r=e.options.scrollBehavior,o=_t&&r;o&&ft();var c=Dt(this.base);window.addEventListener("popstate",function(t){var r=n.current,f=Dt(n.base);n.current===S&&f===c||n.transitionTo(f,function(t){o&<(e,t,r,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){At($(r.base+t.fullPath)),lt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Ct($(r.base+t.fullPath)),lt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Dt(this.base)!==this.current.fullPath){var e=$(this.base+this.current.fullPath);t?At(e):Ct(e)}},e.prototype.getCurrentLocation=function(){return Dt(this.base)},e}(Lt);function Dt(base){var path=decodeURI(window.location.pathname);return base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash}var Ft=function(t){function e(e,base,n){t.call(this,e,base),n&&function(base){var t=Dt(base);if(!/^\/#/.test(t))return window.location.replace($(base+"/#"+t)),!0}(this.base)||Ut()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router.options.scrollBehavior,n=_t&&e;n&&ft(),window.addEventListener(_t?"popstate":"hashchange",function(){var e=t.current;Ut()&&t.transitionTo(Bt(),function(r){n&<(t.router,r,e,!0),_t||Vt(r.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Ht(t.fullPath),lt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Vt(t.fullPath),lt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Bt()!==e&&(t?Ht(e):Vt(e))},e.prototype.getCurrentLocation=function(){return Bt()},e}(Lt);function Ut(){var path=Bt();return"/"===path.charAt(0)||(Vt("/"+path),!1)}function Bt(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";var n=(t=t.slice(e+1)).indexOf("?");if(n<0){var r=t.indexOf("#");t=r>-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function qt(path){var t=window.location.href,i=t.indexOf("#");return(i>=0?t.slice(0,i):t)+"#"+path}function Ht(path){_t?At(qt(path)):window.location.hash=path}function Vt(path){_t?Ct(qt(path)):window.location.replace(qt(path))}var zt=function(t){function e(e,base){t.call(this,e,base),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)},function(t){o(It,t)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Lt),Gt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=st(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!_t&&!1!==t.fallback,this.fallback&&(e="hash"),ot||(e="abstract"),this.mode=e,e){case"history":this.history=new Mt(this,t.base);break;case"hash":this.history=new Ft(this,t.base,this.fallback);break;case"abstract":this.history=new zt(this,t.base);break;default:0}},Kt={currentRoute:{configurable:!0}};function Wt(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}Gt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Kt.currentRoute.get=function(){return this.history&&this.history.current},Gt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)}),!this.app){this.app=t;var n=this.history;if(n instanceof Mt)n.transitionTo(n.getCurrentLocation());else if(n instanceof Ft){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Gt.prototype.beforeEach=function(t){return Wt(this.beforeHooks,t)},Gt.prototype.beforeResolve=function(t){return Wt(this.resolveHooks,t)},Gt.prototype.afterEach=function(t){return Wt(this.afterHooks,t)},Gt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Gt.prototype.onError=function(t){this.history.onError(t)},Gt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.push(t,e,n)});this.history.push(t,e,n)},Gt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.replace(t,e,n)});this.history.replace(t,e,n)},Gt.prototype.go=function(t){this.history.go(t)},Gt.prototype.back=function(){this.go(-1)},Gt.prototype.forward=function(){this.go(1)},Gt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Gt.prototype.resolve=function(t,e,n){var r=X(t,e=e||this.history.current,n,this),o=this.match(r,e),c=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(base,t,e){var path="hash"===e?"#"+t:t;return base?$(base+"/"+path):path}(this.history.base,c,this.mode),normalizedTo:r,resolved:o}},Gt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==S&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Gt.prototype,Kt),Gt.install=function t(e){if(!t.installed||Y!==e){t.installed=!0,Y=e;var n=function(t){return void 0!==t},r=function(t,e){var i=t.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",f),e.component("RouterLink",et);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Gt.version="3.1.2",ot&&window.Vue&&window.Vue.use(Gt),e.a=Gt},function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){r(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,c);var f=function(t){this.register([],t,!1)};f.prototype.get=function(path){return path.reduce(function(t,e){return t.getChild(e)},this.root)},f.prototype.getNamespace=function(path){var t=this.root;return path.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},f.prototype.update=function(t){!function t(path,e,n){0;e.update(n);if(n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;t(path.concat(r),e.getChild(r),n.modules[r])}}([],this.root,t)},f.prototype.register=function(path,t,e){var n=this;void 0===e&&(e=!0);var c=new o(t,e);0===path.length?this.root=c:this.get(path.slice(0,-1)).addChild(path[path.length-1],c);t.modules&&r(t.modules,function(t,r){n.register(path.concat(r),t,e)})},f.prototype.unregister=function(path){var t=this.get(path.slice(0,-1)),e=path[path.length-1];t.getChild(e).runtime&&t.removeChild(e)};var l;var h=function(t){var e=this;void 0===t&&(t={}),!l&&"undefined"!=typeof window&&window.Vue&&O(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l;var c=this,h=this.dispatch,d=this.commit;this.dispatch=function(t,e){return h.call(c,t,e)},this.commit=function(t,e,n){return d.call(c,t,e,n)},this.strict=o;var v=this._modules.root.state;_(this,v,[],this._modules.root),m(this,v),r.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:l.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){n.emit("vuex:mutation",t,e)}))}(this)},d={state:{configurable:!0}};function v(t,e){return e.indexOf(t)<0&&e.push(t),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function y(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;_(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var o=t._vm;t.getters={};var c=t._wrappedGetters,f={};r(c,function(e,n){f[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var h=l.config.silent;l.config.silent=!0,t._vm=new l({data:{$$state:e},computed:f}),l.config.silent=h,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),o&&(n&&t._withCommit(function(){o._data.$$state=null}),l.nextTick(function(){return o.$destroy()}))}function _(t,e,path,n,r){var o=!path.length,c=t._modules.getNamespace(path);if(n.namespaced&&(t._modulesNamespaceMap[c]=n),!o&&!r){var f=w(e,path.slice(0,-1)),h=path[path.length-1];t._withCommit(function(){l.set(f,h,n.state)})}var d=n.context=function(t,e,path){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,o){var c=x(n,r,o),f=c.payload,l=c.options,h=c.type;return l&&l.root||(h=e+h),t.dispatch(h,f)},commit:n?t.commit:function(n,r,o){var c=x(n,r,o),f=c.payload,l=c.options,h=c.type;l&&l.root||(h=e+h),t.commit(h,f,l)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var c=o.slice(r);Object.defineProperty(n,c,{get:function(){return t.getters[o]},enumerable:!0})}}),n}(t,e)}},state:{get:function(){return w(t.state,path)}}}),r}(t,c,path);n.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,c+n,e,d)}),n.forEachAction(function(e,n){var r=e.root?n:c+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,o){var c,f=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return(c=f)&&"function"==typeof c.then||(f=Promise.resolve(f)),t._devtoolHook?f.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):f})}(t,r,o,d)}),n.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,c+n,e,d)}),n.forEachChild(function(n,o){_(t,e,path.concat(o),n,r)})}function w(t,path){return path.length?path.reduce(function(t,e){return t[e]},t):t}function x(t,e,n){var r;return null!==(r=t)&&"object"==typeof r&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function O(t){l&&t===l||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(l=t)}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(t){0},h.prototype.commit=function(t,e,n){var r=this,o=x(t,e,n),c=o.type,f=o.payload,l=(o.options,{type:c,payload:f}),h=this._mutations[c];h&&(this._withCommit(function(){h.forEach(function(t){t(f)})}),this._subscribers.forEach(function(sub){return sub(l,r.state)}))},h.prototype.dispatch=function(t,e){var n=this,r=x(t,e),o=r.type,c=r.payload,f={type:o,payload:c},l=this._actions[o];if(l){try{this._actionSubscribers.filter(function(sub){return sub.before}).forEach(function(sub){return sub.before(f,n.state)})}catch(t){0}return(l.length>1?Promise.all(l.map(function(t){return t(c)})):l[0](c)).then(function(t){try{n._actionSubscribers.filter(function(sub){return sub.after}).forEach(function(sub){return sub.after(f,n.state)})}catch(t){0}return t})}},h.prototype.subscribe=function(t){return v(t,this._subscribers)},h.prototype.subscribeAction=function(t){return v("function"==typeof t?{before:t}:t,this._actionSubscribers)},h.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},h.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},h.prototype.registerModule=function(path,t,e){void 0===e&&(e={}),"string"==typeof path&&(path=[path]),this._modules.register(path,t),_(this,this.state,path,this._modules.get(path),e.preserveState),m(this,this.state)},h.prototype.unregisterModule=function(path){var t=this;"string"==typeof path&&(path=[path]),this._modules.unregister(path),this._withCommit(function(){var e=w(t.state,path.slice(0,-1));l.delete(e,path[path.length-1])}),y(this)},h.prototype.hotUpdate=function(t){this._modules.update(t),y(this,!0)},h.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(h.prototype,d);var S=j(function(t,e){var n={};return k(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=$(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),A=j(function(t,e){var n={};return k(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var c=$(this.$store,"mapMutations",t);if(!c)return;r=c.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),C=j(function(t,e){var n={};return k(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||$(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),E=j(function(t,e){var n={};return k(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var c=$(this.$store,"mapActions",t);if(!c)return;r=c.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n});function k(map){return Array.isArray(map)?map.map(function(t){return{key:t,val:t}}):Object.keys(map).map(function(t){return{key:t,val:map[t]}})}function j(t){return function(e,map){return"string"!=typeof e?(map=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,map)}}function $(t,e,n){return t._modulesNamespaceMap[n]}var T={Store:h,install:O,version:"3.1.1",mapState:S,mapMutations:A,mapGetters:C,mapActions:E,createNamespacedHelpers:function(t){return{mapState:S.bind(null,t),mapGetters:C.bind(null,t),mapMutations:A.bind(null,t),mapActions:E.bind(null,t)}}};e.a=T}).call(this,n(19))},function(t,e,n){var r=n(4),o=n(123),c=n(63),f=n(62)("IE_PROTO"),l=function(){},h=function(){var t,iframe=n(61)("iframe"),i=c.length;for(iframe.style.display="none",n(85).appendChild(iframe),iframe.src="javascript:",(t=iframe.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),h=t.F;i--;)delete h.prototype[c[i]];return h()};t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=r(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(2)("unscopables"),o=Array.prototype;null==o[r]&&n(16)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(80)(!0);n(81)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(33),o=n(22);t.exports=function(t){return function(e,n){var a,b,s=String(o(e)),i=r(n),c=s.length;return i<0||i>=c?t?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===c||(b=s.charCodeAt(i+1))<56320||b>57343?t?s.charAt(i):a:t?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(34),o=n(7),c=n(12),f=n(16),l=n(37),h=n(122),d=n(44),v=n(125),y=n(2)("iterator"),m=!([].keys&&"next"in[].keys()),_=function(){return this};t.exports=function(t,e,n,w,x,O,S){h(n,e,w);var A,C,E,k=function(t){if(!m&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",$="values"==x,T=!1,P=t.prototype,I=P[y]||P["@@iterator"]||x&&P[x],L=I||k(x),R=x?$?k("entries"):L:void 0,N="Array"==e&&P.entries||I;if(N&&(E=v(N.call(new t)))!==Object.prototype&&E.next&&(d(E,j,!0),r||"function"==typeof E[y]||f(E,y,_)),$&&I&&"values"!==I.name&&(T=!0,L=function(){return I.call(this)}),r&&!S||!m&&!T&&P[y]||f(P,y,L),l[e]=L,l[j]=_,x)if(A={values:$?L:k("values"),keys:O?L:k("keys"),entries:R},S)for(C in A)C in P||c(P,C,A[C]);else o(o.P+o.F*(m||T),e,A);return A}},function(t,e,n){t.exports=!n(8)&&!n(10)(function(){return 7!=Object.defineProperty(n(61)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(17),o=n(20),c=n(84)(!1),f=n(62)("IE_PROTO");t.exports=function(object,t){var e,n=o(object),i=0,l=[];for(e in n)e!=f&&r(n,e)&&l.push(e);for(;t.length>i;)r(n,e=t[i++])&&(~c(l,e)||l.push(e));return l}},function(t,e,n){var r=n(20),o=n(24),c=n(124);t.exports=function(t){return function(e,n,f){var l,h=r(e),d=o(h.length),v=c(f,d);if(t&&n!=n){for(;d>v;)if((l=h[v++])!=l)return!0}else for(;d>v;v++)if((t||v in h)&&h[v]===n)return t||v||0;return!t&&-1}}},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(3),o=n(15),c=n(34),f=n(87),l=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=c?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:f.f(t)})}},function(t,e,n){e.f=n(2)},function(t,e,n){"use strict";var r=n(7),o=n(89);r(r.P+r.F*n(90)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(68),o=n(22);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(2)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){"use strict";var r=n(78),o=n(130),c=n(37),f=n(20);t.exports=n(81)(Array,"Array",function(t,e){this._t=f(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),c.Arguments=c.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r,o,c,f=n(29),l=n(138),html=n(85),h=n(61),d=n(3),v=d.process,y=d.setImmediate,m=d.clearImmediate,_=d.MessageChannel,w=d.Dispatch,x=0,O={},S=function(){var t=+this;if(O.hasOwnProperty(t)){var e=O[t];delete O[t],e()}},A=function(t){S.call(t.data)};y&&m||(y=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return O[++x]=function(){l("function"==typeof t?t:Function(t),e)},r(x),x},m=function(t){delete O[t]},"process"==n(23)(v)?r=function(t){v.nextTick(f(S,t,1))}:w&&w.now?r=function(t){w.now(f(S,t,1))}:_?(c=(o=new _).port2,o.port1.onmessage=A,r=f(c.postMessage,c,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(r=function(t){d.postMessage(t+"","*")},d.addEventListener("message",A,!1)):r="onreadystatechange"in h("script")?function(t){html.appendChild(h("script")).onreadystatechange=function(){html.removeChild(this),S.call(t)}}:function(t){setTimeout(f(S,t,1),0)}),t.exports={set:y,clear:m}},function(t,e,n){"use strict";var r=n(43);function o(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(4),o=n(11),c=n(93);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=c.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(3),o=n(9),c=n(8),f=n(2)("species");t.exports=function(t){var e=r[t];c&&e&&!e[f]&&o.f(e,f,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(68),o=n(4),c=n(69),f=n(65),l=n(24),h=n(47),d=n(66),v=n(10),y=Math.min,m=[].push,_=!v(function(){RegExp(4294967295,"y")});n(49)("split",2,function(t,e,n,v){var w;return w="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var c,f,l,output=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=void 0===e?4294967295:e>>>0,_=new RegExp(t.source,h+"g");(c=d.call(_,o))&&!((f=_.lastIndex)>v&&(output.push(o.slice(v,c.index)),c.length>1&&c.index<o.length&&m.apply(output,c.slice(1)),l=c[0].length,v=f,output.length>=y));)_.lastIndex===c.index&&_.lastIndex++;return v===o.length?!l&&_.test("")||output.push(""):output.push(o.slice(v)),output.length>y?output.slice(0,y):output}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),c=null==n?void 0:n[e];return void 0!==c?c.call(n,o,r):w.call(String(o),n,r)},function(t,e){var r=v(w,t,this,e,w!==n);if(r.done)return r.value;var d=o(t),m=String(this),x=c(d,RegExp),O=d.unicode,S=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(_?"y":"g"),A=new x(_?d:"^(?:"+d.source+")",S),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===m.length)return null===h(A,m)?[m]:[];for(var p=0,q=0,E=[];q<m.length;){A.lastIndex=_?q:0;var k,j=h(A,_?m:m.slice(q));if(null===j||(k=y(l(A.lastIndex+(_?0:q)),m.length))===p)q=f(m,q,O);else{if(E.push(m.slice(p,q)),E.length===C)return E;for(var i=1;i<=j.length-1;i++)if(E.push(j[i]),E.length===C)return E;q=p=k}}return E.push(m.slice(p)),E}]})},function(t,e){var n,r,o=t.exports={};function c(){throw new Error("setTimeout has not been defined")}function f(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===c||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:c}catch(t){n=c}try{r="function"==typeof clearTimeout?clearTimeout:f}catch(t){r=f}}();var h,d=[],v=!1,y=-1;function m(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&_())}function _(){if(!v){var t=l(m);v=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,v=!1,function(marker){if(r===clearTimeout)return clearTimeout(marker);if((r===f||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(marker);try{r(marker)}catch(t){try{return r.call(null,marker)}catch(t){return r.call(this,marker)}}}(t)}}function w(t,e){this.fun=t,this.array=e}function x(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];d.push(new w(t,e)),1!==d.length||v||l(_)},w.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=x,o.addListener=x,o.once=x,o.off=x,o.removeListener=x,o.removeAllListeners=x,o.emit=x,o.prependListener=x,o.prependOnceListener=x,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(6);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var c;if(n)c=n(e);else if(r.isURLSearchParams(e))c=e.toString();else{var f=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),f.push(o(e)+"="+o(t))}))}),c=f.join("&")}if(c){var l=t.indexOf("#");-1!==l&&(t=t.slice(0,l)),t+=(-1===t.indexOf("?")?"?":"&")+c}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(6),o=n(176),c={"Content-Type":"application/x-www-form-urlencoded"};function f(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,h={adapter:(void 0!==e&&"[object process]"===Object.prototype.toString.call(e)?l=n(102):"undefined"!=typeof XMLHttpRequest&&(l=n(102)),l),transformRequest:[function(data,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(data)||r.isArrayBuffer(data)||r.isBuffer(data)||r.isStream(data)||r.isFile(data)||r.isBlob(data)?data:r.isArrayBufferView(data)?data.buffer:r.isURLSearchParams(data)?(f(t,"application/x-www-form-urlencoded;charset=utf-8"),data.toString()):r.isObject(data)?(f(t,"application/json;charset=utf-8"),JSON.stringify(data)):data}],transformResponse:[function(data){if("string"==typeof data)try{data=JSON.parse(data)}catch(t){}return data}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};h.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){h.headers[t]={}}),r.forEach(["post","put","patch"],function(t){h.headers[t]=r.merge(c)}),t.exports=h}).call(this,n(97))},function(t,e,n){"use strict";var r=n(6),o=n(177),c=n(99),f=n(179),l=n(180),h=n(103);t.exports=function(t){return new Promise(function(e,d){var v=t.data,y=t.headers;r.isFormData(v)&&delete y["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",w=t.auth.password||"";y.Authorization="Basic "+btoa(_+":"+w)}if(m.open(t.method.toUpperCase(),c(t.url,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in m?f(m.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m};o(e,d,r),m=null}},m.onabort=function(){m&&(d(h("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){d(h("Network Error",t,null,m)),m=null},m.ontimeout=function(){d(h("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var x=n(181),O=(t.withCredentials||l(t.url))&&t.xsrfCookieName?x.read(t.xsrfCookieName):void 0;O&&(y[t.xsrfHeaderName]=O)}if("setRequestHeader"in m&&r.forEach(y,function(t,e){void 0===v&&"content-type"===e.toLowerCase()?delete y[e]:m.setRequestHeader(e,t)}),t.withCredentials&&(m.withCredentials=!0),t.responseType)try{m.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){m&&(m.abort(),d(t),m=null)}),void 0===v&&(v=null),m.send(v)})}},function(t,e,n){"use strict";var r=n(178);t.exports=function(t,e,code,n,o){var c=new Error(t);return r(c,e,code,n,o)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){e=e||{};var n={};return r.forEach(["url","method","params","data"],function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(["headers","auth","proxy"],function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},,,function(t,e,n){(function(e){var n;n=function(){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var c,f,l=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(e,source){for(var c,f,l=arguments,h=o(e),s=1;s<arguments.length;s++){for(var d in c=Object(l[s]))n.call(c,d)&&(h[d]=c[d]);if(t){f=t(c);for(var i=0;i<f.length;i++)r.call(c,f[i])&&(h[f[i]]=c[f[i]])}}return h},h="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},d=function(t,e){return t(e={exports:{}},e.exports),e.exports}(function(t,e){t.exports=function(){var t=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var n=Object.prototype.toString.call(t);return"[object RegExp]"===n||"[object Date]"===n||function(t){return t.$$typeof===e}(t)}(t)},e="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(t,e){return!1!==e.clone&&e.isMergeableObject(t)?c((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function r(t,source,e){return t.concat(source).map(function(element){return n(element,e)})}function o(t,source,e){var r={};return e.isMergeableObject(t)&&Object.keys(t).forEach(function(o){r[o]=n(t[o],e)}),Object.keys(source).forEach(function(o){e.isMergeableObject(source[o])&&t[o]?r[o]=function(t,e){if(!e.customMerge)return c;var n=e.customMerge(t);return"function"==typeof n?n:c}(o,e)(t[o],source[o],e):r[o]=n(source[o],e)}),r}function c(e,source,c){(c=c||{}).arrayMerge=c.arrayMerge||r,c.isMergeableObject=c.isMergeableObject||t;var f=Array.isArray(source);return f===Array.isArray(e)?f?c.arrayMerge(e,source,c):o(e,source,c):n(source,c)}return c.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return c(t,n,e)},{})},c}()}),v="[object Object]",y=Function.prototype,m=Object.prototype,_=y.toString,w=m.hasOwnProperty,x=_.call(Object),O=m.toString,S=(c=Object.getPrototypeOf,f=Object,function(t){return c(f(t))}),A=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||O.call(t)!=v||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=S(t);if(null===e)return!0;var n=w.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==x},C=1/0,E="[object Symbol]",k="object"==typeof h&&h&&h.Object===Object&&h,j="object"==typeof self&&self&&self.Object===Object&&self,$=k||j||Function("return this")(),T=Object.prototype,P=0,I=T.toString,L=$.Symbol,R=L?L.prototype:void 0,N=R?R.toString:void 0;function M(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&I.call(t)==E}(t))return N?N.call(t):"";var e=t+"";return"0"==e&&1/t==-C?"-0":e}var D=function(t){var e,n=++P;return(null==(e=t)?"":M(e))+n},F=function(t){return"undefined"==typeof window?String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'")};function U(t){void 0===t&&(t={});var e=t.keyName,n=t.tagIDKeyName,r=t.metaTemplateKeyName,o=t.contentKeyName;return function(component){var t=function t(e,n){void 0===n&&(n={});var r,o,component=e.component,option=e.option,c=e.deep,f=e.arrayMerge,l=e.metaTemplateKeyName,h=e.tagIDKeyName,v=e.contentKeyName,y=component.$options;if(component._inactive)return n;if(void 0!==y[option]&&null!==y[option]){var data=y[option];"function"==typeof data&&(data=data.call(component)),n="object"==typeof data?d(n,data,{arrayMerge:f}):data}return c&&component.$children.length&&component.$children.forEach(function(e){n=t({component:e,option:option,deep:c,arrayMerge:f},n)}),l&&n.hasOwnProperty("meta")&&(n.meta=Object.keys(n.meta).map(function(t){var e=n.meta[t];if(!e.hasOwnProperty(l)||!e.hasOwnProperty(v)||void 0===e[l])return n.meta[t];var template=e[l];return delete e[l],template&&(e.content="function"==typeof template?template(e.content):template.replace(/%s/g,e.content)),e}),n.meta=(r=n.meta,o=function(t){return t.hasOwnProperty(h)?t[h]:D()},r.filter(function(t,i,e){return i===e.length-1||o(t)!==o(e[i+1])}))),n}({component:component,option:e,deep:!0,metaTemplateKeyName:r,tagIDKeyName:n,contentKeyName:o,arrayMerge:function(t,source){var e=[];for(var c in t){var f=t[c],l=!1;for(var h in source){var d=source[h];if(f[n]&&f[n]===d[n]){var v=f[r],y=d[r];v&&!y&&(d[o]=B(component)(v)(d[o])),v&&y&&!d[o]&&(d[o]=B(component)(y)(f[o]),delete d[r]),l=!0;break}}l||e.push(f)}return e.concat(source)}});t.title&&(t.titleChunk=t.title),t.titleTemplate&&(t.title=B(component)(t.titleTemplate)(t.titleChunk||"")),t.base&&(t.base=Object.keys(t.base).length?[t.base]:[]);var c=t.__dangerouslyDisableSanitizers,f=t.__dangerouslyDisableSanitizersByTagID,l=function(t){return Object.keys(t).reduce(function(e,r){var o=c&&c.indexOf(r)>-1,h=t[n];!o&&h&&(o=f&&f[h]&&f[h].indexOf(r)>-1);var d,v=t[r];return e[r]=v,"__dangerouslyDisableSanitizers"===r||"__dangerouslyDisableSanitizersByTagID"===r?e:(o?e[r]=v:"string"==typeof v?e[r]=F(v):A(v)?e[r]=l(v):(d=v,(Array.isArray?Array.isArray(d):"[object Array]"===Object.prototype.toString.call(d))?e[r]=v.map(l):e[r]=v),e)},{})};return t=d({title:"",titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},meta:[],base:[],link:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},t),t=l(t)}}var B=function(component){return function(template){return function(t){return"function"==typeof template?template.call(component,t):template.replace(/%s/g,t)}}};function H(t){return void 0===t&&(t={}),function(e,data){switch(e){case"title":return function(t){void 0===t&&(t={});var e=t.attribute;return function(t,data){return{text:function(){return String(data).trim()?"<"+t+" "+e+'="true">'+data+"</"+t+">":""}}}}(t)(e,data);case"htmlAttrs":case"bodyAttrs":case"headAttrs":return function(t){void 0===t&&(t={});var e=t.attribute;return function(t,data){return{text:function(){var t="",n=[];for(var r in data)data.hasOwnProperty(r)&&(n.push(r),t+=(void 0!==data[r]?r+'="'+data[r]+'"':r)+" ");return(t+=e+'="'+n.join(",")+'"').trim()}}}}(t)(e,data);default:return function(t){void 0===t&&(t={});var e=t.attribute;return function(n,r){return{text:function(o){void 0===o&&(o={});var body=o.body;return void 0===body&&(body=!1),r.reduce(function(r,o){if(0===Object.keys(o).length)return r;if(!!o.body!==body)return r;var c=Object.keys(o).reduce(function(e,n){switch(n){case"innerHTML":case"cssText":case"once":return e;default:return-1!==[t.tagIDKeyName,"body"].indexOf(n)?e+" data-"+n+'="'+o[n]+'"':void 0===o[n]?e+" "+n:e+" "+n+'="'+o[n]+'"'}},"").trim(),content=o.innerHTML||o.cssText||"",f=o.once?"":e+'="true" ',l=-1===["base","meta","link"].indexOf(n);return l&&["noscript","script","style"].indexOf(n)>-1?r+"<"+n+" "+f+c+">"+content+"</"+n+">":r+"<"+n+" "+f+c+(l?"/":"")+">"},"")}}}}(t)(e,data)}}}function V(t){return void 0===t&&(t={}),function(){var e=U(t)(this.$root);for(var n in e)e.hasOwnProperty(n)&&"titleTemplate"!==n&&"titleChunk"!==n&&(e[n]=H(t)(n,e[n]));return e}}function z(t){void 0===t&&(t={});var e=t.attribute;return function(t,n){var r=n.getAttribute(e),o=r?r.split(","):[],c=[].concat(o);for(var f in t)if(t.hasOwnProperty(f)){var l=t[f]||"";n.setAttribute(f,l),-1===o.indexOf(f)&&o.push(f);var h=c.indexOf(f);-1!==h&&c.splice(h,1)}for(var i=c.length-1;i>=0;i--)n.removeAttribute(c[i]);o.length===c.length?n.removeAttribute(e):n.setAttribute(e,o.join(","))}}var G=Function.prototype.call.bind(Array.prototype.slice);function K(t){void 0===t&&(t={});var e=t.ssrAttribute;return function(n){var r=document.getElementsByTagName("html")[0];if(null===r.getAttribute(e)){var o={},c={};Object.keys(n).forEach(function(e){switch(e){case"title":void 0===(title=n.title)&&(title=document.title),document.title=title;break;case"htmlAttrs":z(t)(n[e],r);break;case"bodyAttrs":z(t)(n[e],document.getElementsByTagName("body")[0]);break;case"headAttrs":z(t)(n[e],document.getElementsByTagName("head")[0]);break;case"titleChunk":case"titleTemplate":case"changed":case"__dangerouslyDisableSanitizers":break;default:var f=document.getElementsByTagName("head")[0],l=document.getElementsByTagName("body")[0],h=function(t){void 0===t&&(t={});var e=t.attribute;return function(n,r,o,c){var f,l=G(o.querySelectorAll(n+"["+e+"]")),h=G(c.querySelectorAll(n+"["+e+'][data-body="true"]')),d=[];if(r.length>1){var v=[];r=r.map(function(t){var e=JSON.stringify(t);if(v.indexOf(e)<0)return v.push(e),t}).filter(function(t){return t})}r&&r.length&&r.forEach(function(r){var o=document.createElement(n),c=!0!==r.body?l:h;for(var v in r)if(r.hasOwnProperty(v))if("innerHTML"===v)o.innerHTML=r.innerHTML;else if("cssText"===v)o.styleSheet?o.styleSheet.cssText=r.cssText:o.appendChild(document.createTextNode(r.cssText));else if(-1!==[t.tagIDKeyName,"body"].indexOf(v)){var y="data-"+v,m=void 0===r[v]?"":r[v];o.setAttribute(y,m)}else{var _=void 0===r[v]?"":r[v];o.setAttribute(v,_)}o.setAttribute(e,"true"),c.some(function(t,e){return f=e,o.isEqualNode(t)})?c.splice(f,1):d.push(o)});var y=l.concat(h);return y.forEach(function(t){return t.parentNode.removeChild(t)}),d.forEach(function(t){"true"===t.getAttribute("data-body")?c.appendChild(t):o.appendChild(t)}),{oldTags:y,newTags:d}}}(t)(e,n[e],f,l),d=h.oldTags,v=h.newTags;v.length&&(o[e]=v,c[e]=d)}var title}),"function"==typeof n.changed&&n.changed.call(this,n,o,c)}else r.removeAttribute(e)}}function W(t){return void 0===t&&(t={}),function(){var e=U(t)(this.$root);return K(t).call(this,e),e}}var J=("undefined"!=typeof window?window.cancelAnimationFrame:null)||clearTimeout,X=("undefined"!=typeof window?window.requestAnimationFrame:null)||function(t){return setTimeout(t,0)};function Y(t,e){return J(t),X(function(){t=null,e()})}var Q="metaInfo",Z="data-vue-meta",tt="data-vue-meta-server-rendered",et="vmid",nt="template",ot="content";function it(t,e){void 0===e&&(e={}),e=l({keyName:Q,contentKeyName:ot,metaTemplateKeyName:nt,attribute:Z,ssrAttribute:tt,tagIDKeyName:et},e),t.prototype.$meta=function(t){return void 0===t&&(t={}),function(){return{inject:V(t).bind(this),refresh:W(t).bind(this)}}}(e);var n=null;t.mixin({beforeCreate:function(){void 0!==this.$options[e.keyName]&&(this._hasMetaInfo=!0),"function"==typeof this.$options[e.keyName]&&(void 0===this.$options.computed&&(this.$options.computed={}),this.$options.computed.$metaInfo=this.$options[e.keyName])},created:function(){var t=this;!this.$isServer&&this.$metaInfo&&this.$watch("$metaInfo",function(){n=Y(n,function(){return t.$meta().refresh()})})},activated:function(){var t=this;this._hasMetaInfo&&(n=Y(n,function(){return t.$meta().refresh()}))},deactivated:function(){var t=this;this._hasMetaInfo&&(n=Y(n,function(){return t.$meta().refresh()}))},beforeMount:function(){var t=this;this._hasMetaInfo&&(n=Y(n,function(){return t.$meta().refresh()}))},destroyed:function(){var t=this;if(!this.$isServer&&this._hasMetaInfo)var e=setInterval(function(){t.$el&&null!==t.$el.offsetParent||(clearInterval(e),t.$parent&&(n=Y(n,function(){return t.$meta().refresh()})))},50)}})}return"undefined"!=typeof window&&void 0!==window.Vue&&Vue.use(it),it.version="1.6.0",it},t.exports=n()}).call(this,n(19))},,,function(t,e,n){t.exports=n(170)},,,function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(4),o=n(24),c=n(65),f=n(47);n(49)("match",1,function(t,e,n,l){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=l(n,t,this);if(e.done)return e.value;var h=r(t),d=String(this);if(!h.global)return f(h,d);var v=h.unicode;h.lastIndex=0;for(var y,m=[],_=0;null!==(y=f(h,d));){var w=String(y[0]);m[_]=w,""===w&&(h.lastIndex=c(d,o(h.lastIndex),v)),_++}return 0===_?null:m}]})},function(t,e,n){"use strict";n(153);var r=n(4),o=n(50),c=n(8),f=/./.toString,l=function(t){n(12)(RegExp.prototype,"toString",t,!0)};n(10)(function(){return"/a/b"!=f.call({source:"a",flags:"b"})})?l(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!c&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=f.name&&l(function(){return f.call(this)})},function(t,e,n){var r=Date.prototype,o=r.toString,c=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(12)(r,"toString",function(){var t=c.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(11),o=n(155).set;t.exports=function(t,e,n){var c,f=e.constructor;return f!==n&&"function"==typeof f&&(c=f.prototype)!==n.prototype&&r(c)&&o&&o(t,c),t}},,,function(t,e,n){t.exports=n(42)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";var r=n(76),o=n(35),c=n(44),f={};n(16)(f,n(2)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(f,{next:o(1,n)}),c(t,e+" Iterator")}},function(t,e,n){var r=n(9),o=n(4),c=n(25);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,f=c(e),l=f.length,i=0;l>i;)r.f(t,n=f[i++],e[n]);return t}},function(t,e,n){var r=n(33),o=Math.max,c=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):c(t,e)}},function(t,e,n){var r=n(17),o=n(30),c=n(62)("IE_PROTO"),f=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,n){var r=n(36)("meta"),o=n(11),c=n(17),f=n(9).f,l=0,h=Object.isExtensible||function(){return!0},d=!n(10)(function(){return h(Object.preventExtensions({}))}),v=function(t){f(t,r,{value:{i:"O"+ ++l,w:{}}})},meta=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,r)){if(!h(t))return"F";if(!e)return"E";v(t)}return t[r].i},getWeak:function(t,e){if(!c(t,r)){if(!h(t))return!0;if(!e)return!1;v(t)}return t[r].w},onFreeze:function(t){return d&&meta.NEED&&h(t)&&!c(t,r)&&v(t),t}}},function(t,e,n){var r=n(25),o=n(45),c=n(46);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var f,l=n(t),h=c.f,i=0;l.length>i;)h.call(t,f=l[i++])&&e.push(f);return e}},function(t,e,n){var r=n(20),o=n(41).f,c={}.toString,f="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return f&&"[object Window]"==c.call(t)?function(t){try{return o(t)}catch(t){return f.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(66);n(7)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(7),o=n(15),c=n(10);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],f={};f[t]=e(n),r(r.S+r.F*c(function(){n(1)}),"Object",f)}},function(t,e,n){"use strict";var r,o,c,f,l=n(34),h=n(3),d=n(29),v=n(48),y=n(7),m=n(11),_=n(43),w=n(133),x=n(134),O=n(69),S=n(92).set,A=n(139)(),C=n(93),E=n(140),k=n(141),j=n(94),$=h.TypeError,T=h.process,P=T&&T.versions,I=P&&P.v8||"",L=h.Promise,R="process"==v(T),N=function(){},M=o=C.f,D=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[n(2)("species")]=function(t){t(N,N)};return(R||"function"==typeof PromiseRejectionEvent)&&t.then(N)instanceof e&&0!==I.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(t){}}(),F=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},U=function(t,e){if(!t._n){t._n=!0;var n=t._c;A(function(){for(var r=t._v,o=1==t._s,i=0,c=function(e){var n,c,f,l=o?e.ok:e.fail,h=e.resolve,d=e.reject,v=e.domain;try{l?(o||(2==t._h&&V(t),t._h=1),!0===l?n=r:(v&&v.enter(),n=l(r),v&&(v.exit(),f=!0)),n===e.promise?d($("Promise-chain cycle")):(c=F(n))?c.call(n,h,d):h(n)):d(r)}catch(t){v&&!f&&v.exit(),d(t)}};n.length>i;)c(n[i++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){S.call(h,function(){var e,n,r,o=t._v,c=H(t);if(c&&(e=E(function(){R?T.emit("unhandledRejection",o,t):(n=h.onunhandledrejection)?n({promise:t,reason:o}):(r=h.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=R||H(t)?2:1),t._a=void 0,c&&e.e)throw e.v})},H=function(t){return 1!==t._h&&0===(t._a||t._c).length},V=function(t){S.call(h,function(){var e;R?T.emit("rejectionHandled",t):(e=h.onrejectionhandled)&&e({promise:t,reason:t._v})})},z=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),U(e,!0))},G=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw $("Promise can't be resolved itself");(e=F(t))?A(function(){var r={_w:n,_d:!1};try{e.call(t,d(G,r,1),d(z,r,1))}catch(t){z.call(r,t)}}):(n._v=t,n._s=1,U(n,!1))}catch(t){z.call({_w:n,_d:!1},t)}}};D||(L=function(t){w(this,L,"Promise","_h"),_(t),r.call(this);try{t(d(G,this,1),d(z,this,1))}catch(t){z.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(142)(L.prototype,{then:function(t,e){var n=M(O(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=R?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&U(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),c=function(){var t=new r;this.promise=t,this.resolve=d(G,t,1),this.reject=d(z,t,1)},C.f=M=function(t){return t===L||t===f?new c(t):o(t)}),y(y.G+y.W+y.F*!D,{Promise:L}),n(44)(L,"Promise"),n(95)("Promise"),f=n(15).Promise,y(y.S+y.F*!D,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),y(y.S+y.F*(l||!D),"Promise",{resolve:function(t){return j(l&&this===f?L:this,t)}}),y(y.S+y.F*!(D&&n(143)(function(t){L.all(t).catch(N)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,c=E(function(){var n=[],c=0,f=1;x(t,!1,function(t){var l=c++,h=!1;n.push(void 0),f++,e.resolve(t).then(function(t){h||(h=!0,n[l]=t,--f||r(n))},o)}),--f||r(n)});return c.e&&o(c.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=E(function(){x(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(29),o=n(135),c=n(136),f=n(4),l=n(24),h=n(137),d={},v={};(e=t.exports=function(t,e,n,y,m){var _,w,x,O,S=m?function(){return t}:h(t),A=r(n,y,e?2:1),C=0;if("function"!=typeof S)throw TypeError(t+" is not iterable!");if(c(S)){for(_=l(t.length);_>C;C++)if((O=e?A(f(w=t[C])[0],w[1]):A(t[C]))===d||O===v)return O}else for(x=S.call(t);!(w=x.next()).done;)if((O=o(x,A,w.value,e))===d||O===v)return O}).BREAK=d,e.RETURN=v},function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var c=t.return;throw void 0!==c&&r(c.call(t)),e}}},function(t,e,n){var r=n(37),o=n(2)("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||c[o]===t)}},function(t,e,n){var r=n(48),o=n(2)("iterator"),c=n(37);t.exports=n(15).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||c[r(t)]}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(3),o=n(92).set,c=r.MutationObserver||r.WebKitMutationObserver,f=r.process,l=r.Promise,h="process"==n(23)(f);t.exports=function(){var head,t,e,n=function(){var n,r;for(h&&(n=f.domain)&&n.exit();head;){r=head.fn,head=head.next;try{r()}catch(n){throw head?e():t=void 0,n}}t=void 0,n&&n.enter()};if(h)e=function(){f.nextTick(n)};else if(!c||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var d=l.resolve(void 0);e=function(){d.then(n)}}else e=function(){o.call(r,n)};else{var v=!0,y=document.createTextNode("");new c(n).observe(y,{characterData:!0}),e=function(){y.data=v=!v}}return function(n){var r={fn:n,next:void 0};t&&(t.next=r),head||(head=r,e()),t=r}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(3).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(2)("iterator"),o=!1;try{var c=[7][r]();c.return=function(){o=!0},Array.from(c,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var c=[7],f=c[r]();f.next=function(){return{done:n=!0}},c[r]=function(){return f},t(c)}catch(t){}return n}},function(t,e,n){var r=n(7);r(r.S+r.F,"Object",{assign:n(145)})},function(t,e,n){"use strict";var r=n(8),o=n(25),c=n(45),f=n(46),l=n(30),h=n(77),d=Object.assign;t.exports=!d||n(10)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=d({},t)[n]||Object.keys(d({},e)).join("")!=r})?function(t,source){for(var e=l(t),n=arguments.length,d=1,v=c.f,y=f.f;n>d;)for(var m,_=h(arguments[d++]),w=v?o(_).concat(v(_)):o(_),x=w.length,O=0;x>O;)m=w[O++],r&&!y.call(_,m)||(e[m]=_[m]);return e}:d},function(t,e,n){"use strict";var r=n(7),o=n(15),c=n(3),f=n(69),l=n(94);r(r.P+r.R,"Promise",{finally:function(t){var e=f(this,o.Promise||c.Promise),n="function"==typeof t;return this.then(n?function(n){return l(e,t()).then(function(){return n})}:t,n?function(n){return l(e,t()).then(function(){throw n})}:t)}})},,function(t,e,n){var r=n(41),o=n(45),c=n(4),f=n(3).Reflect;t.exports=f&&f.ownKeys||function(t){var e=r.f(c(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(9),o=n(35);t.exports=function(object,t,e){t in object?r.f(object,t,o(0,e)):object[t]=e}},function(t,e,n){"use strict";var r=n(7),o=n(24),c=n(89),f="".startsWith;r(r.P+r.F*n(90)("startsWith"),"String",{startsWith:function(t){var e=c(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return f?f.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){var r=n(7);r(r.P,"String",{repeat:n(152)})},function(t,e,n){"use strict";var r=n(33),o=n(22);t.exports=function(t){var e=String(o(this)),n="",c=r(t);if(c<0||c==1/0)throw RangeError("Count can't be negative");for(;c>0;(c>>>=1)&&(e+=e))1&c&&(n+=e);return n}},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(50)})},function(t,e,n){var r=n(3),o=n(118),c=n(9).f,f=n(41).f,l=n(68),h=n(50),d=r.RegExp,v=d,y=d.prototype,m=/a/g,_=/a/g,w=new d(m)!==m;if(n(8)&&(!w||n(10)(function(){return _[n(2)("match")]=!1,d(m)!=m||d(_)==_||"/a/i"!=d(m,"i")}))){d=function(p,t){var e=this instanceof d,n=l(p),r=void 0===t;return!e&&n&&p.constructor===d&&r?p:o(w?new v(n&&!r?p.source:p,t):v((n=p instanceof d)?p.source:p,n&&r?h.call(p):t),e?this:y,d)};for(var x=function(t){t in d||c(d,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},O=f(v),i=0;O.length>i;)x(O[i++]);y.constructor=d,d.prototype=y,n(12)(r,"RegExp",d)}n(95)("RegExp")},function(t,e,n){var r=n(11),o=n(4),c=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(29)(Function.call,n(60).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return c(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:c}},function(t,e,n){"use strict";var r=n(4),o=n(157),c=n(47);n(49)("search",1,function(t,e,n,f){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=f(n,t,this);if(e.done)return e.value;var l=r(t),h=String(this),d=l.lastIndex;o(d,0)||(l.lastIndex=0);var v=c(l,h);return o(l.lastIndex,d)||(l.lastIndex=d),null===v?-1:v.index}]})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function c(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new c(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new c(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(159),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(19))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,html,o,c,f,l=1,h={},d=!1,v=t.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(t);y=y&&y.setTimeout?y:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){_(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){_(t.data)},r=function(t){o.port2.postMessage(t)}):v&&"onreadystatechange"in v.createElement("script")?(html=v.documentElement,r=function(t){var script=v.createElement("script");script.onreadystatechange=function(){_(t),script.onreadystatechange=null,html.removeChild(script),script=null},html.appendChild(script)}):r=function(t){setTimeout(_,0,t)}:(c="setImmediate$"+Math.random()+"$",f=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(c)&&_(+e.data.slice(c.length))},t.addEventListener?t.addEventListener("message",f,!1):t.attachEvent("onmessage",f),r=function(e){t.postMessage(c+e,"*")}),y.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var n={callback:t,args:e};return h[l]=n,r(l),l++},y.clearImmediate=m}function m(t){delete h[t]}function _(t){if(d)setTimeout(_,0,t);else{var e=h[t];if(e){d=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{m(t),d=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(19),n(97))},,,,,,,,,,,function(t,e,n){"use strict";var r=n(6),o=n(98),c=n(172),f=n(104);function l(t){var e=new c(t),n=o(c.prototype.request,e);return r.extend(n,c.prototype,e),r.extend(n,e),n}var h=l(n(101));h.Axios=c,h.create=function(t){return l(f(h.defaults,t))},h.Cancel=n(105),h.CancelToken=n(184),h.isCancel=n(100),h.all=function(t){return Promise.all(t)},h.spread=n(185),t.exports=h,t.exports.default=h},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(6),o=n(99),c=n(173),f=n(174),l=n(104);function h(t){this.defaults=t,this.interceptors={request:new c,response:new c}}h.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=l(this.defaults,t)).method=t.method?t.method.toLowerCase():"get";var e=[f,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},h.prototype.getUri=function(t){return t=l(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(t){h.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}}),r.forEach(["post","put","patch"],function(t){h.prototype[t]=function(e,data,n){return this.request(r.merge(n||{},{method:t,url:e,data:data}))}}),t.exports=h},function(t,e,n){"use strict";var r=n(6);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";var r=n(6),o=n(175),c=n(100),f=n(101),l=n(182),h=n(183);function d(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return d(t),t.baseURL&&!l(t.url)&&(t.url=h(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||f.adapter)(t).then(function(e){return d(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return c(e)||(d(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(6);t.exports=function(data,t,e){return r.forEach(e,function(e){data=e(data,t)}),data}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(103);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,code,n,r){return t.config=e,code&&(t.code=code),t.request=n,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(6),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,c={};return t?(r.forEach(t.split("\n"),function(line){if(i=line.indexOf(":"),e=r.trim(line.substr(0,i)).toLowerCase(),n=r.trim(line.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([n]):c[e]?c[e]+", "+n:n}}),c):c}},function(t,e,n){"use strict";var r=n(6);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(6);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,path,o,c){var f=[];f.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&f.push("expires="+new Date(n).toGMTString()),r.isString(path)&&f.push("path="+path),r.isString(o)&&f.push("domain="+o),!0===c&&f.push("secure"),document.cookie=f.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(105);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}}]]); \ No newline at end of file diff --git a/docs/_nuxt/884302fa3fe4fc621eae.js b/docs/_nuxt/884302fa3fe4fc621eae.js deleted file mode 100644 index 8b614dd..0000000 --- a/docs/_nuxt/884302fa3fe4fc621eae.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see LICENSES */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{222:function(t,e,n){"use strict";function r(t,p){return(r=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t})(t,p)}n.d(e,"a",function(){return r})},223:function(t,e,n){"use strict";var r=n(3),o=n(17),l=n(23),h=n(118),c=n(59),d=n(10),f=n(41).f,v=n(60).f,m=n(9).f,y=n(230).trim,_=r.Number,x=_,w=_.prototype,S="Number"==l(n(76)(w)),M="trim"in String.prototype,I=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,l=(e=M?e.trim():y(e,3)).charCodeAt(0);if(43===l||45===l){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===l){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var code,h=e.slice(2),i=0,d=h.length;i<d;i++)if((code=h.charCodeAt(i))<48||code>o)return NaN;return parseInt(h,r)}}return+e};if(!_(" 0o1")||!_("0b1")||_("+0x1")){_=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof _&&(S?d(function(){w.valueOf.call(n)}):"Number"!=l(n))?h(new x(I(e)),n,_):I(e)};for(var T,C=n(8)?f(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),D=0;C.length>D;D++)o(x,T=C[D])&&!o(_,T)&&m(_,T,v(x,T));_.prototype=w,w.constructor=_,n(12)(r,"Number",_)}},224:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",function(){return r})},225:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",function(){return r})},228:function(t,e,n){const r=n(229);t.exports={echartTree:r}},229:function(t,e,n){!function(t){"use strict";var e,n,r,o,l,h,c=2311,d=function(){return c++},f="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:(e=navigator.userAgent,n={},r=e.match(/Firefox\/([\d.]+)/),o=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),l=e.match(/Edge\/([\d.]+)/),h=/micromessenger/i.test(e),r&&(n.firefox=!0,n.version=r[1]),o&&(n.ie=!0,n.version=o[1]),l&&(n.edge=!0,n.version=l[1]),h&&(n.weChat=!0),{browser:n,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!=typeof document}),v={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},m={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},y=Object.prototype.toString,_=Array.prototype,x=_.forEach,w=_.filter,S=_.slice,M=_.map,I=_.reduce,T={};function C(t,e){"createCanvas"===t&&(O=null),T[t]=e}function D(source){if(null==source||"object"!=typeof source)return source;var t=source,e=y.call(source);if("[object Array]"===e){if(!lt(source)){t=[];for(var i=0,n=source.length;i<n;i++)t[i]=D(source[i])}}else if(m[e]){if(!lt(source)){var r=source.constructor;if(source.constructor.from)t=r.from(source);else for(t=new r(source.length),i=0,n=source.length;i<n;i++)t[i]=D(source[i])}}else if(!v[e]&&!lt(source)&&!K(source))for(var o in t={},source)source.hasOwnProperty(o)&&(t[o]=D(source[o]));return t}function k(t,source,e){if(!j(source)||!j(t))return e?D(source):t;for(var n in source)if(source.hasOwnProperty(n)){var r=t[n],o=source[n];!j(o)||!j(r)||G(o)||G(r)||K(o)||K(r)||U(o)||U(r)||lt(o)||lt(r)?!e&&n in t||(t[n]=D(source[n])):k(r,o,e)}return t}function A(t,source){for(var e in source)source.hasOwnProperty(e)&&(t[e]=source[e]);return t}function P(t,source,e){for(var n in source)source.hasOwnProperty(n)&&(e?null!=source[n]:null==t[n])&&(t[n]=source[n]);return t}var O,L=function(){return T.createCanvas()};function N(){return O||(O=L().getContext("2d")),O}function B(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 R(t,e){var n=t.prototype;function r(){}for(var o in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(o)&&(t.prototype[o]=n[o]);t.prototype.constructor=t,t.superClass=e}function E(t,source,e){P(t="prototype"in t?t.prototype:t,source="prototype"in source?source.prototype:source,e)}function z(data){if(data)return"string"!=typeof data&&"number"==typeof data.length}function F(t,e,n){if(t&&e)if(t.forEach&&t.forEach===x)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function map(t,e,n){if(t&&e){if(t.map&&t.map===M)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}}function H(t,e,n,r){if(t&&e){if(t.reduce&&t.reduce===I)return t.reduce(e,n,r);for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function filter(t,e,n){if(t&&e){if(t.filter&&t.filter===w)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}}function V(t,e){var n=S.call(arguments,2);return function(){return t.apply(e,n.concat(S.call(arguments)))}}function W(t){var e=S.call(arguments,1);return function(){return t.apply(this,e.concat(S.call(arguments)))}}function G(t){return"[object Array]"===y.call(t)}function X(t){return"function"==typeof t}function Y(t){return"[object String]"===y.call(t)}function j(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function U(t){return!!v[y.call(t)]}function Z(t){return!!m[y.call(t)]}function K(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function $(t){return t!=t}function Q(t){for(var i=0,e=arguments.length;i<e;i++)if(null!=arguments[i])return arguments[i]}function J(t,e){return null!=t?t:e}function tt(t,e,n){return null!=t?t:null!=e?e:n}function et(){return Function.call.apply(S,arguments)}function nt(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 it(t,e){if(!t)throw new Error(e)}function at(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}T.createCanvas=function(){return document.createElement("canvas")};var ot="__ec_primitive__";function st(t){t[ot]=!0}function lt(t){return t[ot]}function ht(t){var e=G(t);this.data={};var n=this;function r(t,r){e?n.set(t,r):n.set(r,t)}t instanceof ht?t.each(r):t&&F(t,r)}function ut(t){return new ht(t)}function ct(){}ht.prototype={constructor:ht,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=V(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}};var ft=(Object.freeze||Object)({$override:C,clone:D,merge:k,mergeAll:function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=k(n,t[i],e);return n},extend:A,defaults:P,createCanvas:L,getContext:N,indexOf:B,inherits:R,mixin:E,isArrayLike:z,each:F,map:map,reduce:H,filter:filter,find:function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]},bind:V,curry:W,isArray:G,isFunction:X,isString:Y,isObject:j,isBuiltInObject:U,isTypedArray:Z,isDom:K,eqNaN:$,retrieve:Q,retrieve2:J,retrieve3:tt,slice:et,normalizeCssArray:nt,assert:it,trim:at,setAsPrimitive:st,isPrimitive:lt,createHashMap:ut,concatArray:function(a,b){for(var t=new a.constructor(a.length+b.length),i=0;i<a.length;i++)t[i]=a[i];var e=a.length;for(i=0;i<b.length;i++)t[i+e]=b[i];return t},noop:ct}),pt="undefined"==typeof Float32Array?Array:Float32Array;function gt(t,e){var n=new pt(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function vt(t,e){return t[0]=e[0],t[1]=e[1],t}function mt(t){var e=new pt(2);return e[0]=t[0],e[1]=t[1],e}function yt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function sub(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function _t(t){return Math.sqrt(wt(t))}var xt=_t;function wt(t){return t[0]*t[0]+t[1]*t[1]}var bt=wt;function St(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function Mt(t,e){var n=_t(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function It(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Tt=It;function Ct(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Dt=Ct;function kt(t,e,n){var r=e[0],o=e[1];return t[0]=n[0]*r+n[2]*o+n[4],t[1]=n[1]*r+n[3]*o+n[5],t}function At(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Pt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Ot=(Object.freeze||Object)({create:gt,copy:vt,clone:mt,set:function(t,a,b){return t[0]=a,t[1]=b,t},add:yt,scaleAndAdd:function(t,e,n,a){return t[0]=e[0]+n[0]*a,t[1]=e[1]+n[1]*a,t},sub:sub,len:_t,length:xt,lenSquare:wt,lengthSquare:bt,mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:St,normalize:Mt,distance:It,dist:Tt,distanceSquare:Ct,distSquare:Dt,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:function(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t},applyTransform:kt,min:At,max:Pt});function Lt(){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 param(t,e){return{target:t,topTarget:e&&e.topTarget}}Lt.prototype={constructor:Lt,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(param(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,o=n-this._x,l=r-this._y;this._x=n,this._y=r,e.drift(o,l,t),this.dispatchToElement(param(e,t),"drag",t.event);var h=this.findHover(n,r,e).target,c=this._dropTarget;this._dropTarget=h,e!==h&&(c&&h!==c&&this.dispatchToElement(param(c,t),"dragleave",t.event),h&&h!==c&&this.dispatchToElement(param(h,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(param(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(param(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var Nt=Array.prototype.slice,Bt=function(t){this._$handlers={},this._$eventProcessor=t};function Rt(t,e,n,r,o,l){var h=t._$handlers;if("function"==typeof n&&(o=r,r=n,n=null),!r||!e)return t;n=function(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}(t,n),h[e]||(h[e]=[]);for(var i=0;i<h[e].length;i++)if(h[e][i].h===r)return t;var c={h:r,one:l,query:n,ctx:o||t,callAtLast:r.zrEventfulCallAtLast},d=h[e].length-1,f=h[e][d];return f&&f.callAtLast?h[e].splice(d,0,c):h[e].push(c),t}Bt.prototype={constructor:Bt,one:function(t,e,n,r){return Rt(this,t,e,n,r,!0)},on:function(t,e,n,r){return Rt(this,t,e,n,r,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var r=arguments,o=r.length;o>3&&(r=Nt.call(r,1));for(var l=e.length,i=0;i<l;){var h=e[i];if(n&&n.filter&&null!=h.query&&!n.filter(t,h.query))i++;else{switch(o){case 1:h.h.call(h.ctx);break;case 2:h.h.call(h.ctx,r[1]);break;case 3:h.h.call(h.ctx,r[1],r[2]);break;default:h.h.apply(h.ctx,r)}h.one?(e.splice(i,1),l--):i++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var r=arguments,o=r.length;o>4&&(r=Nt.call(r,1,r.length-1));for(var l=r[r.length-1],h=e.length,i=0;i<h;){var c=e[i];if(n&&n.filter&&null!=c.query&&!n.filter(t,c.query))i++;else{switch(o){case 1:c.h.call(l);break;case 2:c.h.call(l,r[1]);break;case 3:c.h.call(l,r[1],r[2]);break;default:c.h.apply(l,r)}c.one?(e.splice(i,1),h--):i++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this}};var Et=Math.log(2);function zt(t,e,n,r,o,l){var h=r+"-"+o,c=t.length;if(l.hasOwnProperty(h))return l[h];if(1===e){var d=Math.round(Math.log((1<<c)-1&~o)/Et);return t[n][d]}for(var f=r|1<<n,v=n+1;r&1<<v;)v++;for(var m=0,y=0,_=0;y<c;y++){var x=1<<y;x&o||(m+=(_%2?-1:1)*t[n][y]*zt(t,e-1,v,f,o|x,l),_++)}return l[h]=m,m}var Ft="undefined"!=typeof window&&!!window.addEventListener,Ht=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Vt="___zrEVENTSAVED",Wt=[];function Gt(t,e,n,r){return n=n||{},r||!f.canvasSupported?Xt(t,e,n):f.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Xt(t,e,n),n}function Xt(t,e,n){if(t.getBoundingClientRect&&f.domSupported){var r=e.clientX,o=e.clientY;if("CANVAS"===t.nodeName.toUpperCase()){var l=t.getBoundingClientRect();return n.zrX=r-l.left,void(n.zrY=o-l.top)}var h=t[Vt]||(t[Vt]={}),c=function(t,e){for(var n=e.transformer,r=e.srcCoords,o=!0,l=[],h=[],i=0;i<4;i++){var rect=t[i].getBoundingClientRect(),c=2*i,d=rect.left,f=rect.top;l.push(d,f),o&=r&&d===r[c]&&f===r[c+1],h.push(t[i].offsetLeft,t[i].offsetTop)}return o?n:(e.srcCoords=l,e.transformer=function(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},o=zt(n,8,0,0,0,r);if(0!==o){for(var l=[],i=0;i<8;i++)for(var h=0;h<8;h++)null==l[h]&&(l[h]=0),l[h]+=((i+h)%2?-1:1)*zt(n,7,0===i?1:0,1<<i,1<<h,r)/o*e[i];return function(t,e,n){var r=e*l[6]+n*l[7]+1;t[0]=(e*l[0]+n*l[1]+l[2])/r,t[1]=(e*l[3]+n*l[4]+l[5])/r}}}(l,h))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],o=["top","bottom"],i=0;i<4;i++){var marker=document.createElement("div"),l=marker.style,h=i%2,c=(i>>1)%2;l.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",r[h]+":0",o[c]+":0",r[1-h]+":auto",o[1-c]+":auto",""].join("!important;"),t.appendChild(marker),n.push(marker)}return n}(t,h),h);if(c)return c(Wt,r,o),n.zrX=Wt[0],void(n.zrY=Wt[1])}n.zrX=n.zrY=0}function Yt(t,e,n){if(null!=(e=e||window.event).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var o="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];o&&Gt(t,o,e,n)}else Gt(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var button=e.button;return null==e.which&&void 0!==button&&Ht.test(e.type)&&(e.which=1&button?1:2&button?3:4&button?2:0),e}function jt(t,e,n){Ft?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}var Ut=Ft?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function qt(t){return 2===t.which||3===t.which}var Zt=function(){this._track=[]};function Kt(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}Zt.prototype={constructor:Zt,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var r=t.touches;if(r){for(var o={points:[],touches:[],target:e,event:t},i=0,l=r.length;i<l;i++){var h=r[i],c=Gt(n,h,{});o.points.push([c.zrX,c.zrY]),o.touches.push(h)}this._track.push(o)}},_recognize:function(t){for(var e in $t)if($t.hasOwnProperty(e)){var n=$t[e](this._track,t);if(n)return n}}};var $t={pinch:function(track,t){var e=track.length;if(e){var n,r=(track[e-1]||{}).points,o=(track[e-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var l=Kt(r)/Kt(o);!isFinite(l)&&(l=1),t.pinchScale=l;var h=[((n=r)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return t.pinchX=h[0],t.pinchY=h[1],{type:"pinch",target:track[0].target,event:t}}}}},Qt="silent";function Jt(t){Ut(this.event)}function te(){}te.prototype.dispose=function(){};var ee=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ne=function(t,e,n,r){Bt.call(this),this.storage=t,this.painter=e,this.painterRoot=r,n=n||new te,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,Lt.call(this),this.setHandlerProxy(n)};function ie(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,n))return!1;o.silent&&(r=!0),o=o.parent}return!r||Qt}return!1}ne.prototype={constructor:ne,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(F(ee,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var l=this._hovered=this.findHover(e,n),h=l.target,c=this.proxy;c.setCursor&&c.setCursor(h?h.cursor:"default"),o&&h!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(l,"mousemove",t),h&&h!==o&&this.dispatchToElement(l,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,element=t.toElement||t.relatedTarget;do{element=element&&element.parentNode}while(element&&9!==element.nodeType&&!(e=element===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var o="on"+e,l=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Jt}}(e,t,n);r&&(r[o]&&(l.cancelBubble=r[o].call(r,l)),r.trigger(e,l),r=r.parent,!l.cancelBubble););l.cancelBubble||(this.trigger(e,l),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,l),t.trigger&&t.trigger(e,l)}))}},findHover:function(t,e,n){for(var r=this.storage.getDisplayList(),o={x:t,y:e},i=r.length-1;i>=0;i--){var l;if(r[i]!==n&&!r[i].ignore&&(l=ie(r[i],t,e))&&(!o.topTarget&&(o.topTarget=r[i]),l!==Qt)){o.target=r[i];break}}return o},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new Zt);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var o=r.type;t.gestureEvent=o,this.dispatchToElement({target:r.target},o,r.event)}}},F(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){ne.prototype[t]=function(e){var n=this.findHover(e.zrX,e.zrY),r=n.target;if("mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Tt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),E(ne,Bt),E(ne,Lt);var re="undefined"==typeof Float32Array?Array:Float32Array;function ae(){var t=new re(6);return oe(t),t}function oe(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function se(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 le(t,e,n){var r=e[0]*n[0]+e[2]*n[1],o=e[1]*n[0]+e[3]*n[1],l=e[0]*n[2]+e[2]*n[3],h=e[1]*n[2]+e[3]*n[3],c=e[0]*n[4]+e[2]*n[5]+e[4],d=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=o,t[2]=l,t[3]=h,t[4]=c,t[5]=d,t}function he(t,a,e){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4]+e[0],t[5]=a[5]+e[1],t}function ue(t,a,e){var n=a[0],r=a[2],o=a[4],l=a[1],h=a[3],c=a[5],d=Math.sin(e),f=Math.cos(e);return t[0]=n*f+l*d,t[1]=-n*d+l*f,t[2]=r*f+h*d,t[3]=-r*d+f*h,t[4]=f*o+d*c,t[5]=f*c-d*o,t}function ce(t,a,e){var n=e[0],r=e[1];return t[0]=a[0]*n,t[1]=a[1]*r,t[2]=a[2]*n,t[3]=a[3]*r,t[4]=a[4]*n,t[5]=a[5]*r,t}function de(t,a){var e=a[0],n=a[2],r=a[4],o=a[1],l=a[3],h=a[5],c=e*l-o*n;return c?(c=1/c,t[0]=l*c,t[1]=-o*c,t[2]=-n*c,t[3]=e*c,t[4]=(n*h-l*r)*c,t[5]=(o*r-e*h)*c,t):null}var fe=(Object.freeze||Object)({create:ae,identity:oe,copy:se,mul:le,translate:he,rotate:ue,scale:ce,invert:de,clone:function(a){var b=ae();return se(b,a),b}}),pe=oe,ge=5e-5;function ve(t){return t>ge||t<-ge}var me=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},ye=me.prototype;ye.transform=null,ye.needLocalTransform=function(){return ve(this.rotation)||ve(this.position[0])||ve(this.position[1])||ve(this.scale[0]-1)||ve(this.scale[1]-1)};var _e=[];ye.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||ae(),n?this.getLocalTransform(r):pe(r),e&&(n?le(r,t.transform,r):se(r,t.transform)),this.transform=r;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(_e);var l=_e[0]<0?-1:1,h=_e[1]<0?-1:1,c=((_e[0]-l)*o+l)/_e[0]||0,d=((_e[1]-h)*o+h)/_e[1]||0;r[0]*=c,r[1]*=c,r[2]*=d,r[3]*=d}this.invTransform=this.invTransform||ae(),de(this.invTransform,r)}else r&&pe(r)},ye.getLocalTransform=function(t){return me.getLocalTransform(this,t)},ye.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},ye.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var xe=[],we=ae();ye.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=this.position,o=this.scale;ve(e-1)&&(e=Math.sqrt(e)),ve(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),r[0]=t[4],r[1]=t[5],o[0]=e,o[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},ye.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(le(xe,t.invTransform,e),e=xe);var n=this.origin;n&&(n[0]||n[1])&&(we[4]=n[0],we[5]=n[1],le(xe,e,we),xe[4]-=n[0],xe[5]-=n[1],e=xe),this.setLocalTransform(e)}},ye.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},ye.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&kt(n,n,r),n},ye.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&kt(n,n,r),n},me.getLocalTransform=function(t,e){pe(e=e||[]);var n=t.origin,r=t.scale||[1,1],o=t.rotation||0,l=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),ce(e,e,r),o&&ue(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=l[0],e[5]+=l[1],e};var be={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var s,a=.1;return 0===t?0:1===t?1:(!a||a<1?(a=1,s=.1):s=.4*Math.asin(1/a)/(2*Math.PI),-a*Math.pow(2,10*(t-=1))*Math.sin((t-s)*(2*Math.PI)/.4))},elasticOut:function(t){var s,a=.1;return 0===t?0:1===t?1:(!a||a<1?(a=1,s=.1):s=.4*Math.asin(1/a)/(2*Math.PI),a*Math.pow(2,-10*t)*Math.sin((t-s)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var s,a=.1;return 0===t?0:1===t?1:(!a||a<1?(a=1,s=.1):s=.4*Math.asin(1/a)/(2*Math.PI),(t*=2)<1?a*Math.pow(2,10*(t-=1))*Math.sin((t-s)*(2*Math.PI)/.4)*-.5:a*Math.pow(2,-10*(t-=1))*Math.sin((t-s)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var s=1.70158;return t*t*((s+1)*t-s)},backOut:function(t){var s=1.70158;return--t*t*((s+1)*t+s)+1},backInOut:function(t){var s=2.5949095;return(t*=2)<1?t*t*((s+1)*t-s)*.5:.5*((t-=2)*t*((s+1)*t+s)+2)},bounceIn:function(t){return 1-be.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*be.bounceIn(2*t):.5*be.bounceOut(2*t-1)+.5}};function Se(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}Se.prototype={constructor:Se,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,o="string"==typeof r?be[r]:r,l="function"==typeof o?o(n):n;return this.fire("frame",l),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var Me=function(){this.head=null,this.tail=null,this._len=0},Ie=Me.prototype;Ie.insert=function(t){var e=new Te(t);return this.insertEntry(e),e},Ie.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},Ie.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},Ie.len=function(){return this._len},Ie.clear=function(){this.head=this.tail=null,this._len=0};var Te=function(t){this.value=t,this.next,this.prev},Ce=function(t){this._list=new Me,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},De=Ce.prototype;De.put=function(t,e){var n=this._list,map=this._map,r=null;if(null==map[t]){var o=n.len(),l=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var h=n.head;n.remove(h),delete map[h.key],r=h.value,this._lastRemovedEntry=h}l?l.value=e:l=new Te(e),l.key=t,n.insertEntry(l),map[t]=l}return r},De.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},De.clear=function(){this._list.clear(),this._map={}};var ke={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ae(i){return(i=Math.round(i))<0?0:i>255?255:i}function Pe(t){return t<0?0:t>1?1:t}function Oe(t){return t.length&&"%"===t.charAt(t.length-1)?Ae(parseFloat(t)/100*255):Ae(parseInt(t,10))}function Le(t){return t.length&&"%"===t.charAt(t.length-1)?Pe(parseFloat(t)/100):Pe(parseFloat(t))}function Ne(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Be(a,b,p){return a+(b-a)*p}function Re(t,e,g,b,a){return t[0]=e,t[1]=g,t[2]=b,t[3]=a,t}function Ee(t,a){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t}var ze=new Ce(20),Fe=null;function He(t,e){Fe&&Ee(Fe,e),Fe=ze.put(t,Fe||e.slice())}function Ve(t,e){if(t){e=e||[];var n=ze.get(t);if(n)return Ee(e,n);var r,o=(t+="").replace(/ /g,"").toLowerCase();if(o in ke)return Ee(e,ke[o]),He(t,e),e;if("#"===o.charAt(0))return 4===o.length?(r=parseInt(o.substr(1),16))>=0&&r<=4095?(Re(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),He(t,e),e):void Re(e,0,0,0,1):7===o.length?(r=parseInt(o.substr(1),16))>=0&&r<=16777215?(Re(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),He(t,e),e):void Re(e,0,0,0,1):void 0;var l=o.indexOf("("),h=o.indexOf(")");if(-1!==l&&h+1===o.length){var c=o.substr(0,l),d=o.substr(l+1,h-(l+1)).split(","),f=1;switch(c){case"rgba":if(4!==d.length)return void Re(e,0,0,0,1);f=Le(d.pop());case"rgb":return 3!==d.length?void Re(e,0,0,0,1):(Re(e,Oe(d[0]),Oe(d[1]),Oe(d[2]),f),He(t,e),e);case"hsla":return 4!==d.length?void Re(e,0,0,0,1):(d[3]=Le(d[3]),We(d,e),He(t,e),e);case"hsl":return 3!==d.length?void Re(e,0,0,0,1):(We(d,e),He(t,e),e);default:return}}Re(e,0,0,0,1)}}function We(t,e){var n=(parseFloat(t[0])%360+360)%360/360,s=Le(t[1]),r=Le(t[2]),o=r<=.5?r*(s+1):r+s-r*s,l=2*r-o;return Re(e=e||[],Ae(255*Ne(l,o,n+1/3)),Ae(255*Ne(l,o,n)),Ae(255*Ne(l,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Ge(t,e){var n=Ve(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return Ze(n,4===n.length?"rgba":"rgb")}}function Xe(t){var e=Ve(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Ye(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),o=Math.floor(r),l=Math.ceil(r),h=e[o],c=e[l],d=r-o;return n[0]=Ae(Be(h[0],c[0],d)),n[1]=Ae(Be(h[1],c[1],d)),n[2]=Ae(Be(h[2],c[2],d)),n[3]=Pe(Be(h[3],c[3],d)),n}}var je=Ye;function Ue(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),o=Math.floor(r),l=Math.ceil(r),h=Ve(e[o]),c=Ve(e[l]),d=r-o,f=Ze([Ae(Be(h[0],c[0],d)),Ae(Be(h[1],c[1],d)),Ae(Be(h[2],c[2],d)),Pe(Be(h[3],c[3],d))],"rgba");return n?{color:f,leftIndex:o,rightIndex:l,value:r}:f}}var qe=Ue;function Ze(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}var Ke=(Object.freeze||Object)({parse:Ve,lift:Ge,toHex:Xe,fastLerp:Ye,fastMapToColor:je,lerp:Ue,mapToColor:qe,modifyHSL:function(t,e,s,n){if(t=Ve(t))return t=function(t){if(t){var e,n,r=t[0]/255,o=t[1]/255,l=t[2]/255,h=Math.min(r,o,l),c=Math.max(r,o,l),d=c-h,f=(c+h)/2;if(0===d)e=0,n=0;else{n=f<.5?d/(c+h):d/(2-c-h);var v=((c-r)/6+d/2)/d,m=((c-o)/6+d/2)/d,y=((c-l)/6+d/2)/d;r===c?e=y-m:o===c?e=1/3+v-y:l===c&&(e=2/3+m-v),e<0&&(e+=1),e>1&&(e-=1)}var _=[360*e,n,f];return null!=t[3]&&_.push(t[3]),_}}(t),null!=e&&(t[0]=function(i){return(i=Math.round(i))<0?0:i>360?360:i}(e)),null!=s&&(t[1]=Le(s)),null!=n&&(t[2]=Le(n)),Ze(We(t),"rgba")},modifyAlpha:function(t,e){if((t=Ve(t))&&null!=e)return t[3]=Pe(e),Ze(t,"rgba")},stringify:Ze}),$e=Array.prototype.slice;function Qe(t,e){return t[e]}function Je(t,e,n){t[e]=n}function tn(t,e,n){return(e-t)*n+t}function en(t,e,n){return n>.5?e:t}function nn(t,e,n,r,o){var l=t.length;if(1===o)for(var i=0;i<l;i++)r[i]=tn(t[i],e[i],n);else{var h=l&&t[0].length;for(i=0;i<l;i++)for(var c=0;c<h;c++)r[i][c]=tn(t[i][c],e[i][c],n)}}function rn(t,e,n){var r=t.length,o=e.length;if(r!==o)if(r>o)t.length=o;else for(var i=r;i<o;i++)t.push(1===n?e[i]:$e.call(e[i]));var l=t[0]&&t[0].length;for(i=0;i<t.length;i++)if(1===n)isNaN(t[i])&&(t[i]=e[i]);else for(var h=0;h<l;h++)isNaN(t[i][h])&&(t[i][h]=e[i][h])}function an(t,e,n){if(t===e)return!0;var r=t.length;if(r!==e.length)return!1;if(1===n){for(var i=0;i<r;i++)if(t[i]!==e[i])return!1}else{var o=t[0].length;for(i=0;i<r;i++)for(var l=0;l<o;l++)if(t[i][l]!==e[i][l])return!1}return!0}function on(t,e,n,r,o,l,h,c,d){var f=t.length;if(1===d)for(var i=0;i<f;i++)c[i]=sn(t[i],e[i],n[i],r[i],o,l,h);else{var v=t[0].length;for(i=0;i<f;i++)for(var m=0;m<v;m++)c[i][m]=sn(t[i][m],e[i][m],n[i][m],r[i][m],o,l,h)}}function sn(t,e,n,r,o,l,h){var c=.5*(n-t),d=.5*(r-e);return(2*(e-n)+c+d)*h+(-3*(e-n)-2*c-d)*l+c*o+e}function ln(t){if(z(t)){var e=t.length;if(z(t[0])){for(var n=[],i=0;i<e;i++)n.push($e.call(t[i]));return n}return $e.call(t)}return t}function hn(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function un(t,e,n,r,o,l){var h=t._getter,c=t._setter,d="spline"===e,f=r.length;if(f){var v,m=z(r[0].value),y=!1,_=!1,x=m?function(t){var e=t[t.length-1].value;return z(e&&e[0])?2:1}(r):0;r.sort(function(a,b){return a.time-b.time}),v=r[f-1].time;for(var w=[],S=[],M=r[0].value,I=!0,i=0;i<f;i++){w.push(r[i].time/v);var T=r[i].value;if(m&&an(T,M,x)||!m&&T===M||(I=!1),M=T,"string"==typeof T){var C=Ve(T);C?(T=C,y=!0):_=!0}S.push(T)}if(l||!I){var D=S[f-1];for(i=0;i<f-1;i++)m?rn(S[i],D,x):!isNaN(S[i])||isNaN(D)||_||y||(S[i]=D);m&&rn(h(t._target,o),D,x);var k,A,P,O,L,N=0,B=0;if(y)var R=[0,0,0,0];var E=new Se({target:t._target,life:v,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<B){for(n=Math.min(N+1,f-1);n>=0&&!(w[n]<=e);n--);n=Math.min(n,f-2)}else{for(n=N;n<f&&!(w[n]>e);n++);n=Math.min(n-1,f-2)}N=n,B=e;var r=w[n+1]-w[n];if(0!==r)if(k=(e-w[n])/r,d)if(P=S[n],A=S[0===n?n:n-1],O=S[n>f-2?f-1:n+1],L=S[n>f-3?f-1:n+2],m)on(A,P,O,L,k,k*k,k*k*k,h(t,o),x);else{if(y)l=on(A,P,O,L,k,k*k,k*k*k,R,1),l=hn(R);else{if(_)return en(P,O,k);l=sn(A,P,O,L,k,k*k,k*k*k)}c(t,o,l)}else if(m)nn(S[n],S[n+1],k,h(t,o),x);else{var l;if(y)nn(S[n],S[n+1],k,R,1),l=hn(R);else{if(_)return en(S[n],S[n+1],k);l=tn(S[n],S[n+1],k)}c(t,o,l)}},ondestroy:n});return e&&"spline"!==e&&(E.easing=e),E}}}var cn=function(t,e,n,r){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||Qe,this._setter=r||Je,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};cn.prototype={when:function(time,t){var e=this._tracks;for(var n in t)if(t.hasOwnProperty(n)){if(!e[n]){e[n]=[];var r=this._getter(this._target,n);if(null==r)continue;0!==time&&e[n].push({time:0,value:ln(r)})}e[n].push({time:time,value:t[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var i=0;i<this._clipList.length;i++)this._clipList[i].pause();this._paused=!0},resume:function(){for(var i=0;i<this._clipList.length;i++)this._clipList[i].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var n,r=this,o=0,l=function(){--o||r._doneCallback()};for(var h in this._tracks)if(this._tracks.hasOwnProperty(h)){var c=un(this,t,l,this._tracks[h],h,e);c&&(this._clipList.push(c),o++,this.animation&&this.animation.addClip(c),n=c)}if(n){var d=n.onframe;n.onframe=function(t,e){d(t,e);for(var i=0;i<r._onframeList.length;i++)r._onframeList[i](t,e)}}return o||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var r=e[i];t&&r.onframe(this._target,1),n&&n.removeClip(r)}e.length=0},delay:function(time){return this._delay=time,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var dn=1;"undefined"!=typeof window&&(dn=Math.max(window.devicePixelRatio||1,1));var fn=dn,pn=function(){},gn=pn,vn=function(){this.animators=[]};function mn(t,e,time,n,r,o,l,h){Y(n)?(o=r,r=n,n=0):X(r)?(o=r,r="linear",n=0):X(n)?(o=n,n=0):X(time)?(o=time,time=500):time||(time=500),t.stopAnimation(),function t(e,path,source,n,time,r,o){var l={},h=0;for(var c in n)n.hasOwnProperty(c)&&(null!=source[c]?j(n[c])&&!z(n[c])?t(e,path?path+"."+c:c,source[c],n[c],time,r,o):(o?(l[c]=source[c],yn(e,path,c,n[c])):l[c]=n[c],h++):null==n[c]||o||yn(e,path,c,n[c]));h>0&&e.animate(path,!1).when(null==time?500:time,l).delay(r||0)}(t,"",t,e,time,n,h);var c=t.animators.slice(),d=c.length;function f(){--d||o&&o()}d||o&&o();for(var i=0;i<c.length;i++)c[i].done(f).start(r,l)}function yn(t,path,e,n){if(path){var r={};r[path]={},r[path][e]=n,t.attr(r)}else t.attr(e,n)}vn.prototype={constructor:vn,animate:function(path,t){var e,n=!1,r=this,o=this.__zr;if(path){var l=path.split("."),h=r;n="shape"===l[0];for(var i=0,c=l.length;i<c;i++)h&&(h=h[l[i]]);h&&(e=h)}else e=r;if(e){var d=r.animators,f=new cn(e,t);return f.during(function(t){r.dirty(n)}).done(function(){d.splice(B(d,f),1)}),d.push(f),o&&o.animation.addAnimator(f),f}gn('Property "'+path+'" is not existed in element '+r.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,time,e,n,r,o){mn(this,t,time,e,n,r,o)},animateFrom:function(t,time,e,n,r,o){mn(this,t,time,e,n,r,o,!0)}};var _n=function(t){me.call(this,t),Bt.call(this,t),vn.call(this,t),this.id=t.id||d()};_n.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(j(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},E(_n,vn),E(_n,me),E(_n,Bt);var xn,wn,bn,rt,Sn=kt,Mn=Math.min,In=Math.max;function Tn(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}Tn.prototype={constructor:Tn,union:function(t){var e=Mn(t.x,this.x),n=Mn(t.y,this.y);this.width=In(t.x+t.width,this.x+this.width)-e,this.height=In(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(xn=[],wn=[],bn=[],rt=[],function(t){if(t){xn[0]=bn[0]=this.x,xn[1]=rt[1]=this.y,wn[0]=rt[0]=this.x+this.width,wn[1]=bn[1]=this.y+this.height,Sn(xn,xn,t),Sn(wn,wn,t),Sn(bn,bn,t),Sn(rt,rt,t),this.x=Mn(xn[0],wn[0],bn[0],rt[0]),this.y=Mn(xn[1],wn[1],bn[1],rt[1]);var e=In(xn[0],wn[0],bn[0],rt[0]),n=In(xn[1],wn[1],bn[1],rt[1]);this.width=e-this.x,this.height=n-this.y}}),calculateTransform:function(b){var a=this,t=b.width/a.width,e=b.height/a.height,n=ae();return he(n,n,[-a.x,-a.y]),ce(n,n,[t,e]),he(n,n,[b.x,b.y]),n},intersect:function(b){if(!b)return!1;b instanceof Tn||(b=Tn.create(b));var a=this,t=a.x,e=a.x+a.width,n=a.y,r=a.y+a.height,o=b.x,l=b.x+b.width,h=b.y,c=b.y+b.height;return!(e<o||l<t||r<h||c<n)},contain:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new Tn(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},Tn.create=function(rect){return new Tn(rect.x,rect.y,rect.width,rect.height)};var Cn=function(t){for(var e in t=t||{},_n.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};Cn.prototype={constructor:Cn,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof Cn&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,o=B(r,t);return o<0?this:(r.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof Cn&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,i,e=this._children,n=this.__storage;for(i=0;i<e.length;i++)t=e[i],n&&(n.delFromStorage(t),t instanceof Cn&&t.delChildrenFromStorage(n)),t.parent=null;return e.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var i=0;i<this._children.length;i++){var e=this._children[i];t.addToStorage(e),e instanceof Cn&&e.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var i=0;i<this._children.length;i++){var e=this._children[i];t.delFromStorage(e),e instanceof Cn&&e.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var rect=null,e=new Tn(0,0,0,0),n=t||this._children,r=[],i=0;i<n.length;i++){var o=n[i];if(!o.ignore&&!o.invisible){var l=o.getBoundingRect(),h=o.getLocalTransform(r);h?(e.copy(l),e.applyTransform(h),(rect=rect||e.clone()).union(e)):(rect=rect||l.clone()).union(l)}}return rect||e}},R(Cn,_n);var Dn=32,kn=7;function An(t,e,n,r){var o=e+1;if(o===n)return 1;if(r(t[o++],t[e])<0){for(;o<n&&r(t[o],t[o-1])<0;)o++;!function(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}(t,e,o)}else for(;o<n&&r(t[o],t[o-1])>=0;)o++;return o-e}function Pn(t,e,n,r,o){for(r===e&&r++;r<n;r++){for(var l,h=t[r],c=e,d=r;c<d;)o(h,t[l=c+d>>>1])<0?d=l:c=l+1;var f=r-c;switch(f){case 3:t[c+3]=t[c+2];case 2:t[c+2]=t[c+1];case 1:t[c+1]=t[c];break;default:for(;f>0;)t[c+f]=t[c+f-1],f--}t[c]=h}}function On(t,e,n,r,o,l){var h=0,c=0,d=1;if(l(t,e[n+o])>0){for(c=r-o;d<c&&l(t,e[n+o+d])>0;)h=d,(d=1+(d<<1))<=0&&(d=c);d>c&&(d=c),h+=o,d+=o}else{for(c=o+1;d<c&&l(t,e[n+o-d])<=0;)h=d,(d=1+(d<<1))<=0&&(d=c);d>c&&(d=c);var f=h;h=o-d,d=o-f}for(h++;h<d;){var v=h+(d-h>>>1);l(t,e[n+v])>0?h=v+1:d=v}return d}function Ln(t,e,n,r,o,l){var h=0,c=0,d=1;if(l(t,e[n+o])<0){for(c=o+1;d<c&&l(t,e[n+o-d])<0;)h=d,(d=1+(d<<1))<=0&&(d=c);d>c&&(d=c);var f=h;h=o-d,d=o-f}else{for(c=r-o;d<c&&l(t,e[n+o+d])>=0;)h=d,(d=1+(d<<1))<=0&&(d=c);d>c&&(d=c),h+=o,d+=o}for(h++;h<d;){var v=h+(d-h>>>1);l(t,e[n+v])<0?d=v:h=v+1}return d}function Nn(t,e){var n,r,o=kn,l=0,h=[];function c(i){var c=n[i],d=r[i],f=n[i+1],v=r[i+1];r[i]=d+v,i===l-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),l--;var m=Ln(t[f],t,c,d,0,e);c+=m,0!=(d-=m)&&0!==(v=On(t[c+d-1],t,f,v,v-1,e))&&(d<=v?function(n,r,l,c){var i=0;for(i=0;i<r;i++)h[i]=t[n+i];var d=0,f=l,v=n;if(t[v++]=t[f++],0!=--c)if(1!==r){for(var m,y,_,x=o;;){m=0,y=0,_=!1;do{if(e(t[f],h[d])<0){if(t[v++]=t[f++],y++,m=0,0==--c){_=!0;break}}else if(t[v++]=h[d++],m++,y=0,1==--r){_=!0;break}}while((m|y)<x);if(_)break;do{if(0!==(m=Ln(t[f],h,d,r,0,e))){for(i=0;i<m;i++)t[v+i]=h[d+i];if(v+=m,d+=m,(r-=m)<=1){_=!0;break}}if(t[v++]=t[f++],0==--c){_=!0;break}if(0!==(y=On(h[d],t,f,c,0,e))){for(i=0;i<y;i++)t[v+i]=t[f+i];if(v+=y,f+=y,0==(c-=y)){_=!0;break}}if(t[v++]=h[d++],1==--r){_=!0;break}x--}while(m>=kn||y>=kn);if(_)break;x<0&&(x=0),x+=2}if((o=x)<1&&(o=1),1===r){for(i=0;i<c;i++)t[v+i]=t[f+i];t[v+c]=h[d]}else{if(0===r)throw new Error;for(i=0;i<r;i++)t[v+i]=h[d+i]}}else{for(i=0;i<c;i++)t[v+i]=t[f+i];t[v+c]=h[d]}else for(i=0;i<r;i++)t[v+i]=h[d+i]}(c,d,f,v):function(n,r,l,c){var i=0;for(i=0;i<c;i++)h[i]=t[l+i];var d=n+r-1,f=c-1,v=l+c-1,m=0,y=0;if(t[v--]=t[d--],0!=--r)if(1!==c){for(var _=o;;){var x=0,w=0,S=!1;do{if(e(h[f],t[d])<0){if(t[v--]=t[d--],x++,w=0,0==--r){S=!0;break}}else if(t[v--]=h[f--],w++,x=0,1==--c){S=!0;break}}while((x|w)<_);if(S)break;do{if(0!=(x=r-Ln(h[f],t,n,r,r-1,e))){for(r-=x,y=1+(v-=x),m=1+(d-=x),i=x-1;i>=0;i--)t[y+i]=t[m+i];if(0===r){S=!0;break}}if(t[v--]=h[f--],1==--c){S=!0;break}if(0!=(w=c-On(t[d],h,0,c,c-1,e))){for(c-=w,y=1+(v-=w),m=1+(f-=w),i=0;i<w;i++)t[y+i]=h[m+i];if(c<=1){S=!0;break}}if(t[v--]=t[d--],0==--r){S=!0;break}_--}while(x>=kn||w>=kn);if(S)break;_<0&&(_=0),_+=2}if((o=_)<1&&(o=1),1===c){for(y=1+(v-=r),m=1+(d-=r),i=r-1;i>=0;i--)t[y+i]=t[m+i];t[v]=h[f]}else{if(0===c)throw new Error;for(m=v-(c-1),i=0;i<c;i++)t[m+i]=h[i]}}else{for(y=1+(v-=r),m=1+(d-=r),i=r-1;i>=0;i--)t[y+i]=t[m+i];t[v]=h[f]}else for(m=v-(c-1),i=0;i<c;i++)t[m+i]=h[i]}(c,d,f,v))}n=[],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;c(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&r[t-1]<r[t+1]&&t--,c(t)}},this.pushRun=function(t,e){n[l]=t,r[l]=e,l+=1}}function Bn(t,e,n,r){n||(n=0),r||(r=t.length);var o=r-n;if(!(o<2)){var l=0;if(o<Dn)Pn(t,n,r,n+(l=An(t,n,r,e)),e);else{var h=new Nn(t,e),c=function(t){for(var e=0;t>=Dn;)e|=1&t,t>>=1;return t+e}(o);do{if((l=An(t,n,r,e))<c){var d=o;d>c&&(d=c),Pn(t,n,n+d,n+l,e),l=d}h.pushRun(n,l),h.mergeRuns(),o-=l,n+=l}while(0!==o);h.forceMergeRuns()}}}function Rn(a,b){return a.zlevel===b.zlevel?a.z===b.z?a.z2-b.z2:a.z-b.z:a.zlevel-b.zlevel}var En=function(){this._roots=[],this._displayList=[],this._displayListLen=0};En.prototype={constructor:En,traverse:function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,f.canvasSupported&&Bn(n,Rn)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var r=t.clipPath;if(r){e=e?e.slice():[];for(var o=r,l=t;o;)o.parent=l,o.updateTransform(),e.push(o),l=o,o=o.clipPath}if(t.isGroup){for(var h=t._children,i=0;i<h.length;i++){var c=h[i];t.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof Cn&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var i=0;i<this._roots.length;i++){var e=this._roots[i];e instanceof Cn&&e.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){i=0;for(var n=t.length;i<n;i++)this.delRoot(t[i])}else{var r=B(this._roots,t);r>=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof Cn&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:Rn};var zn={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1},Fn=function(t,e,n){return zn.hasOwnProperty(e)?n*t.dpr:n},Hn={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},Vn=9,Wn=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],Gn=function(t){this.extendFrom(t,!1)};function Xn(t,e,rect){var n=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,l=null==e.y2?0:e.y2;return e.global||(n=n*rect.width+rect.x,r=r*rect.width+rect.x,o=o*rect.height+rect.y,l=l*rect.height+rect.y),n=isNaN(n)?0:n,r=isNaN(r)?1:r,o=isNaN(o)?0:o,l=isNaN(l)?0:l,t.createLinearGradient(n,o,r,l)}function Yn(t,e,rect){var n=rect.width,r=rect.height,o=Math.min(n,r),l=null==e.x?.5:e.x,h=null==e.y?.5:e.y,c=null==e.r?.5:e.r;return e.global||(l=l*n+rect.x,h=h*r+rect.y,c*=o),t.createRadialGradient(l,h,0,l,h,c)}Gn.prototype={constructor:Gn,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var r=n&&n.style,o=!r||t.__attrCachedBy!==Hn.STYLE_BIND;t.__attrCachedBy=Hn.STYLE_BIND;for(var i=0;i<Wn.length;i++){var l=Wn[i],h=l[0];(o||this[h]!==r[h])&&(t[h]=Fn(t,h,this[h]||l[1]))}if((o||this.fill!==r.fill)&&(t.fillStyle=this.fill),(o||this.stroke!==r.stroke)&&(t.strokeStyle=this.stroke),(o||this.opacity!==r.opacity)&&(t.globalAlpha=null==this.opacity?1:this.opacity),(o||this.blend!==r.blend)&&(t.globalCompositeOperation=this.blend||"source-over"),this.hasStroke()){var c=this.lineWidth;t.lineWidth=c/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,rect){for(var n=("radial"===e.type?Yn:Xn)(t,e,rect),r=e.colorStops,i=0;i<r.length;i++)n.addColorStop(r[i].offset,r[i].color);return n}};for(var jn=Gn.prototype,i=0;i<Wn.length;i++){var Un=Wn[i];Un[0]in jn||(jn[Un[0]]=Un[1])}Gn.getGradient=jn.getGradient;var qn=function(image,t){this.image=image,this.repeat=t,this.type="pattern"};function Zn(){return!1}function Kn(t,e,n){var r=L(),o=e.getWidth(),l=e.getHeight(),h=r.style;return h&&(h.position="absolute",h.left=0,h.top=0,h.width=o+"px",h.height=l+"px",r.setAttribute("data-zr-dom-id",t)),r.width=o*n,r.height=l*n,r}qn.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var $n=function(t,e,n){var r;n=n||fn,"string"==typeof t?r=Kn(t,e,n):j(t)&&(t=(r=t).id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=Zn,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};$n.prototype={constructor:$n,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=Kn("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,r=this.dom,o=r.style,l=this.domBack;o&&(o.width=t+"px",o.height=e+"px"),r.width=t*n,r.height=e*n,l&&(l.width=t*n,l.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,r=this.dom,o=this.ctx,l=r.width,h=r.height,c=(e=e||this.clearColor,this.motionBlur&&!t),d=this.lastFrameAlpha,f=this.dpr;if(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,l/f,h/f)),o.clearRect(0,0,l,h),e&&"transparent"!==e&&(e.colorStops?(n=e.__canvasGradient||Gn.getGradient(o,e,{x:0,y:0,width:l,height:h}),e.__canvasGradient=n):e.image&&(n=qn.prototype.getCanvasPattern.call(e,o)),o.save(),o.fillStyle=n||e,o.fillRect(0,0,l,h),o.restore()),c){var v=this.domBack;o.save(),o.globalAlpha=d,o.drawImage(v,0,0,l,h),o.restore()}}};var Qn="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)},Jn=new Ce(50);function ti(t){if("string"==typeof t){var e=Jn.get(t);return e&&e.image}return t}function ei(t,image,e,n,r){if(t){if("string"==typeof t){if(image&&image.__zrImageSrc===t||!e)return image;var o=Jn.get(t),l={hostEl:e,cb:n,cbPayload:r};return o?!ii(image=o.image)&&o.pending.push(l):((image=new Image).onload=image.onerror=ni,Jn.put(t,image.__cachedImgObj={image:image,pending:[l]}),image.src=image.__zrImageSrc=t),image}return t}return image}function ni(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<t.pending.length;i++){var e=t.pending[i],n=e.cb;n&&n(this,e.cbPayload),e.hostEl.dirty()}t.pending.length=0}function ii(image){return image&&image.width&&image.height}var ri={},ai=0,oi=5e3,si=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,hi="12px sans-serif",ui={};function ci(text,t){var e=text+":"+(t=t||hi);if(ri[e])return ri[e];for(var n=(text+"").split("\n"),r=0,i=0,o=n.length;i<o;i++)r=Math.max(wi(n[i],t).width,r);return ai>oi&&(ai=0,ri={}),ai++,ri[e]=r,r}function di(text,t,e,n,r,o,l,h){return l?function(text,t,e,n,r,o,l,h){var c=Si(text,{rich:l,truncate:h,font:t,textAlign:e,textPadding:r,textLineHeight:o}),d=c.outerWidth,f=c.outerHeight,v=fi(0,d,e),m=pi(0,f,n);return new Tn(v,m,d,f)}(text,t,e,n,r,o,l,h):function(text,t,e,n,r,o,l){var h=bi(text,t,r,o,l),c=ci(text,t);r&&(c+=r[1]+r[3]);var d=h.outerHeight,f=fi(0,c,e),v=pi(0,d,n),rect=new Tn(f,v,c,d);return rect.lineHeight=h.lineHeight,rect}(text,t,e,n,r,o,h)}function fi(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function pi(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function gi(t,style,rect){var e=style.textPosition,n=style.textDistance,r=rect.x,o=rect.y,l=rect.height,h=rect.width,c=l/2,d="left",f="top";switch(e){case"left":r-=n,o+=c,d="right",f="middle";break;case"right":r+=n+h,o+=c,f="middle";break;case"top":r+=h/2,o-=n,d="center",f="bottom";break;case"bottom":r+=h/2,o+=l+n,d="center";break;case"inside":r+=h/2,o+=c,d="center",f="middle";break;case"insideLeft":r+=n,o+=c,f="middle";break;case"insideRight":r+=h-n,o+=c,d="right",f="middle";break;case"insideTop":r+=h/2,o+=n,d="center";break;case"insideBottom":r+=h/2,o+=l-n,d="center",f="bottom";break;case"insideTopLeft":r+=n,o+=n;break;case"insideTopRight":r+=h-n,o+=n,d="right";break;case"insideBottomLeft":r+=n,o+=l-n,f="bottom";break;case"insideBottomRight":r+=h-n,o+=l-n,d="right",f="bottom"}return(t=t||{}).x=r,t.y=o,t.textAlign=d,t.textVerticalAlign=f,t}function vi(text,t,e,n,r){if(!t)return"";var o=(text+"").split("\n");r=mi(t,e,n,r);for(var i=0,l=o.length;i<l;i++)o[i]=yi(o[i],r);return o.join("\n")}function mi(t,e,n,r){(r=A({},r)).font=e,n=J(n,"..."),r.maxIterations=J(r.maxIterations,2);var o=r.minChar=J(r.minChar,0);r.cnCharWidth=ci("国",e);var l=r.ascCharWidth=ci("a",e);r.placeholder=J(r.placeholder,"");for(var h=t=Math.max(0,t-1),i=0;i<o&&h>=l;i++)h-=l;var c=ci(n,e);return c>h&&(n="",c=0),h=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=h,r.containerWidth=t,r}function yi(t,e){var n=e.containerWidth,r=e.font,o=e.contentWidth;if(!n)return"";var l=ci(t,r);if(l<=n)return t;for(var h=0;;h++){if(l<=o||h>=e.maxIterations){t+=e.ellipsis;break}var c=0===h?_i(t,o,e.ascCharWidth,e.cnCharWidth):l>0?Math.floor(t.length*o/l):0;l=ci(t=t.substr(0,c),r)}return""===t&&(t=e.placeholder),t}function _i(text,t,e,n){for(var r=0,i=0,o=text.length;i<o&&r<t;i++){var l=text.charCodeAt(i);r+=0<=l&&l<=127?e:n}return i}function xi(t){return ci("国",t)}function wi(text,t){return ui.measureText(text,t)}function bi(text,t,e,n,r){null!=text&&(text+="");var o=J(n,xi(t)),l=text?text.split("\n"):[],h=l.length*o,c=h;if(e&&(c+=e[0]+e[2]),text&&r){var d=r.outerHeight,f=r.outerWidth;if(null!=d&&c>d)text="",l=[];else if(null!=f)for(var v=mi(f-(e?e[1]+e[3]:0),t,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),i=0,m=l.length;i<m;i++)l[i]=yi(l[i],v)}return{lines:l,height:h,outerHeight:c,lineHeight:o}}function Si(text,style){var t={lines:[],width:0,height:0};if(null!=text&&(text+=""),!text)return t;for(var e,n=si.lastIndex=0;null!=(e=si.exec(text));){var r=e.index;r>n&&Mi(t,text.substring(n,r)),Mi(t,e[2],e[1]),n=si.lastIndex}n<text.length&&Mi(t,text.substring(n,text.length));var o=t.lines,l=0,h=0,c=[],d=style.textPadding,f=style.truncate,v=f&&f.outerWidth,m=f&&f.outerHeight;d&&(null!=v&&(v-=d[1]+d[3]),null!=m&&(m-=d[0]+d[2]));for(var i=0;i<o.length;i++){for(var line=o[i],y=0,_=0,x=0;x<line.tokens.length;x++){var w=(O=line.tokens[x]).styleName&&style.rich[O.styleName]||{},S=O.textPadding=w.textPadding,M=O.font=w.font||style.font,I=O.textHeight=J(w.textHeight,xi(M));if(S&&(I+=S[0]+S[2]),O.height=I,O.lineHeight=tt(w.textLineHeight,style.textLineHeight,I),O.textAlign=w&&w.textAlign||style.textAlign,O.textVerticalAlign=w&&w.textVerticalAlign||"middle",null!=m&&l+O.lineHeight>m)return{lines:[],width:0,height:0};O.textWidth=ci(O.text,M);var T=w.textWidth,C=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))O.percentWidth=T,c.push(O),T=0;else{if(C){T=O.textWidth;var D=w.textBackgroundColor,k=D&&D.image;k&&ii(k=ti(k))&&(T=Math.max(T,k.width*I/k.height))}var A=S?S[1]+S[3]:0;T+=A;var P=null!=v?v-_:null;null!=P&&P<T&&(!C||P<A?(O.text="",O.textWidth=T=0):(O.text=vi(O.text,P-A,M,f.ellipsis,{minChar:f.minChar}),O.textWidth=ci(O.text,M),T=O.textWidth+A))}_+=O.width=T,w&&(y=Math.max(y,O.lineHeight))}line.width=_,line.lineHeight=y,l+=y,h=Math.max(h,_)}for(t.outerWidth=t.width=J(style.textWidth,h),t.outerHeight=t.height=J(style.textHeight,l),d&&(t.outerWidth+=d[1]+d[3],t.outerHeight+=d[0]+d[2]),i=0;i<c.length;i++){var O,L=(O=c[i]).percentWidth;O.width=parseInt(L,10)/100*h}return t}function Mi(t,e,n){for(var r=""===e,o=e.split("\n"),l=t.lines,i=0;i<o.length;i++){var text=o[i],h={styleName:n,text:text,isLineHolder:!text&&!r};if(i)l.push({tokens:[h]});else{var c=(l[l.length-1]||(l[0]={tokens:[]})).tokens,d=c.length;1===d&&c[0].isLineHolder?c[0]=h:(text||!d||r)&&c.push(h)}}}function Ii(t,e){var n,r,o,l,h,c=e.x,d=e.y,f=e.width,v=e.height,m=e.r;f<0&&(c+=f,f=-f),v<0&&(d+=v,v=-v),"number"==typeof m?n=r=o=l=m:m instanceof Array?1===m.length?n=r=o=l=m[0]:2===m.length?(n=o=m[0],r=l=m[1]):3===m.length?(n=m[0],r=l=m[1],o=m[2]):(n=m[0],r=m[1],o=m[2],l=m[3]):n=r=o=l=0,n+r>f&&(n*=f/(h=n+r),r*=f/h),o+l>f&&(o*=f/(h=o+l),l*=f/h),r+o>v&&(r*=v/(h=r+o),o*=v/h),n+l>v&&(n*=v/(h=n+l),l*=v/h),t.moveTo(c+n,d),t.lineTo(c+f-r,d),0!==r&&t.arc(c+f-r,d+r,r,-Math.PI/2,0),t.lineTo(c+f,d+v-o),0!==o&&t.arc(c+f-o,d+v-o,o,0,Math.PI/2),t.lineTo(c+l,d+v),0!==l&&t.arc(c+l,d+v-l,l,Math.PI/2,Math.PI),t.lineTo(c,d+n),0!==n&&t.arc(c+n,d+n,n,Math.PI,1.5*Math.PI)}ui.measureText=function(text,t){var e=N();return e.font=t||hi,e.measureText(text)};var Ti=hi,Ci={left:1,right:1,center:1},Di={top:1,bottom:1,middle:1},ki=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],Ai={},Pi={};function Oi(style){return Li(style),F(style.rich,Li),style}function Li(style){if(style){style.font=function(style){var t=(style.fontSize||style.fontFamily)&&[style.fontStyle,style.fontWeight,(style.fontSize||12)+"px",style.fontFamily||"sans-serif"].join(" ");return t&&at(t)||style.textFont||style.font}(style);var t=style.textAlign;"middle"===t&&(t="center"),style.textAlign=null==t||Ci[t]?t:"left";var e=style.textVerticalAlign||style.textBaseline;"center"===e&&(e="middle"),style.textVerticalAlign=null==e||Di[e]?e:"top",style.textPadding&&(style.textPadding=nt(style.textPadding))}}function Ni(t,e,text,style,rect,n){style.rich?function(t,e,text,style,rect,n){n!==Vn&&(e.__attrCachedBy=Hn.NONE);var r=t.__textCotentBlock;r&&!t.__dirtyText||(r=t.__textCotentBlock=Si(text,style)),function(t,e,n,style,rect){var r=n.width,o=n.outerWidth,l=n.outerHeight,h=style.textPadding,c=Hi(Pi,t,style,rect),d=c.baseX,f=c.baseY,v=c.textAlign,m=c.textVerticalAlign;Bi(e,style,rect,d,f);var y=fi(d,o,v),_=pi(f,l,m),x=y,w=_;h&&(x+=h[3],w+=h[0]);var S=x+r;Ei(style)&&zi(t,e,style,y,_,o,l);for(var i=0;i<n.lines.length;i++){for(var M,line=n.lines[i],I=line.tokens,T=I.length,C=line.lineHeight,D=line.width,k=0,A=x,P=S,O=T-1;k<T&&(!(M=I[k]).textAlign||"left"===M.textAlign);)Ri(t,e,M,style,C,w,A,"left"),D-=M.width,A+=M.width,k++;for(;O>=0&&"right"===(M=I[O]).textAlign;)Ri(t,e,M,style,C,w,P,"right"),D-=M.width,P-=M.width,O--;for(A+=(r-(A-x)-(S-P)-D)/2;k<=O;)M=I[k],Ri(t,e,M,style,C,w,A+M.width/2,"center"),A+=M.width,k++;w+=C}}(t,e,r,style,rect)}(t,e,text,style,rect,n):function(t,e,text,style,rect,n){var r,o=Ei(style),l=!1,h=e.__attrCachedBy===Hn.PLAIN_TEXT;n!==Vn?(n&&(r=n.style,l=!o&&h&&r),e.__attrCachedBy=o?Hn.NONE:Hn.PLAIN_TEXT):h&&(e.__attrCachedBy=Hn.NONE);var c=style.font||Ti;l&&c===(r.font||Ti)||(e.font=c);var d=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,d=t.__computedFont=e.font);var f=style.textPadding,v=style.textLineHeight,m=t.__textCotentBlock;m&&!t.__dirtyText||(m=t.__textCotentBlock=bi(text,d,f,v,style.truncate));var y=m.outerHeight,_=m.lines,x=m.lineHeight,w=Hi(Pi,t,style,rect),S=w.baseX,M=w.baseY,I=w.textAlign||"left",T=w.textVerticalAlign;Bi(e,style,rect,S,M);var C=pi(M,y,T),D=S,k=C;if(o||f){var A=ci(text,d);f&&(A+=f[1]+f[3]);var P=fi(S,A,I);o&&zi(t,e,style,P,C,A,y),f&&(D=Yi(S,I,f),k+=f[0])}e.textAlign=I,e.textBaseline="middle",e.globalAlpha=style.opacity||1;for(var i=0;i<ki.length;i++){var O=ki[i],L=O[0],N=O[1],B=style[L];l&&B===r[L]||(e[N]=Fn(e,N,B||O[2]))}k+=x/2;var R=style.textStrokeWidth,E=l?r.textStrokeWidth:null,z=!l||R!==E,F=!l||z||style.textStroke!==r.textStroke,H=Wi(style.textStroke,R),V=Gi(style.textFill);if(H&&(z&&(e.lineWidth=R),F&&(e.strokeStyle=H)),V&&(l&&style.textFill===r.textFill||(e.fillStyle=V)),1===_.length)H&&e.strokeText(_[0],D,k),V&&e.fillText(_[0],D,k);else for(i=0;i<_.length;i++)H&&e.strokeText(_[i],D,k),V&&e.fillText(_[i],D,k),k+=x}(t,e,text,style,rect,n)}function Bi(t,style,rect,e,n){if(rect&&style.textRotation){var r=style.textOrigin;"center"===r?(e=rect.width/2+rect.x,n=rect.height/2+rect.y):r&&(e=r[0]+rect.x,n=r[1]+rect.y),t.translate(e,n),t.rotate(-style.textRotation),t.translate(-e,-n)}}function Ri(t,e,n,style,r,o,l,h){var c=style.rich[n.styleName]||{};c.text=n.text;var d=n.textVerticalAlign,f=o+r/2;"top"===d?f=o+n.height/2:"bottom"===d&&(f=o+r-n.height/2),!n.isLineHolder&&Ei(c)&&zi(t,e,c,"right"===h?l-n.width:"center"===h?l-n.width/2:l,f-n.height/2,n.width,n.height);var v=n.textPadding;v&&(l=Yi(l,h,v),f-=n.height/2-v[2]-n.textHeight/2),Vi(e,"shadowBlur",tt(c.textShadowBlur,style.textShadowBlur,0)),Vi(e,"shadowColor",c.textShadowColor||style.textShadowColor||"transparent"),Vi(e,"shadowOffsetX",tt(c.textShadowOffsetX,style.textShadowOffsetX,0)),Vi(e,"shadowOffsetY",tt(c.textShadowOffsetY,style.textShadowOffsetY,0)),Vi(e,"textAlign",h),Vi(e,"textBaseline","middle"),Vi(e,"font",n.font||Ti);var m=Wi(c.textStroke||style.textStroke,_),y=Gi(c.textFill||style.textFill),_=J(c.textStrokeWidth,style.textStrokeWidth);m&&(Vi(e,"lineWidth",_),Vi(e,"strokeStyle",m),e.strokeText(n.text,l,f)),y&&(Vi(e,"fillStyle",y),e.fillText(n.text,l,f))}function Ei(style){return!!(style.textBackgroundColor||style.textBorderWidth&&style.textBorderColor)}function zi(t,e,style,n,r,o,l){var h=style.textBackgroundColor,c=style.textBorderWidth,d=style.textBorderColor,f=Y(h);if(Vi(e,"shadowBlur",style.textBoxShadowBlur||0),Vi(e,"shadowColor",style.textBoxShadowColor||"transparent"),Vi(e,"shadowOffsetX",style.textBoxShadowOffsetX||0),Vi(e,"shadowOffsetY",style.textBoxShadowOffsetY||0),f||c&&d){e.beginPath();var v=style.textBorderRadius;v?Ii(e,{x:n,y:r,width:o,height:l,r:v}):e.rect(n,r,o,l),e.closePath()}if(f)if(Vi(e,"fillStyle",h),null!=style.fillOpacity){var m=e.globalAlpha;e.globalAlpha=style.fillOpacity*style.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(j(h)){var image=h.image;(image=ei(image,null,t,Fi,h))&&ii(image)&&e.drawImage(image,n,r,o,l)}c&&d&&(Vi(e,"lineWidth",c),Vi(e,"strokeStyle",d),null!=style.strokeOpacity?(m=e.globalAlpha,e.globalAlpha=style.strokeOpacity*style.opacity,e.stroke(),e.globalAlpha=m):e.stroke())}function Fi(image,t){t.image=image}function Hi(t,e,style,rect){var n=style.x||0,r=style.y||0,o=style.textAlign,l=style.textVerticalAlign;if(rect){var h=style.textPosition;if(h instanceof Array)n=rect.x+Xi(h[0],rect.width),r=rect.y+Xi(h[1],rect.height);else{var c=e&&e.calculateTextPosition?e.calculateTextPosition(Ai,style,rect):gi(Ai,style,rect);n=c.x,r=c.y,o=o||c.textAlign,l=l||c.textVerticalAlign}var d=style.textOffset;d&&(n+=d[0],r+=d[1])}return(t=t||{}).baseX=n,t.baseY=r,t.textAlign=o,t.textVerticalAlign=l,t}function Vi(t,e,n){return t[e]=Fn(t,e,n),t[e]}function Wi(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Gi(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Xi(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Yi(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function ji(text,style){return null!=text&&(text||style.textBackgroundColor||style.textBorderWidth&&style.textBorderColor||style.textPadding)}var Ui=new Tn,qi=function(){};function Zi(t){for(var e in t=t||{},_n.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new Gn(t.style,this),this._rect=null,this.__clipPaths=null}function Ki(t){Zi.call(this,t)}function $i(t){return parseInt(t,10)}qi.prototype={constructor:qi,drawRectText:function(t,rect){var style=this.style;rect=style.textRect||rect,this.__dirty&&Oi(style);var text=style.text;if(null!=text&&(text+=""),ji(text,style)){t.save();var e=this.transform;style.transformText?this.setTransform(t):e&&(Ui.copy(rect),Ui.applyTransform(e),rect=Ui),Ni(this,t,text,style,rect,Vn),t.restore()}}},Zi.prototype={constructor:Zi,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?_n.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new Gn(t,this),this.dirty(!1),this},calculateTextPosition:null},R(Zi,_n),E(Zi,qi),Ki.prototype={constructor:Ki,type:"image",brush:function(t,e){var style=this.style,n=style.image;style.bind(t,this,e);var image=this._image=ei(n,this._image,this,this.onload);if(image&&ii(image)){var r=style.x||0,o=style.y||0,l=style.width,h=style.height,c=image.width/image.height;if(null==l&&null!=h?l=h*c:null==h&&null!=l?h=l/c:null==l&&null==h&&(l=image.width,h=image.height),this.setTransform(t),style.sWidth&&style.sHeight){var d=style.sx||0,f=style.sy||0;t.drawImage(image,d,f,style.sWidth,style.sHeight,r,o,l,h)}else if(style.sx&&style.sy){var v=l-(d=style.sx),m=h-(f=style.sy);t.drawImage(image,d,f,v,m,r,o,l,h)}else t.drawImage(image,r,o,l,h);null!=style.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var style=this.style;return this._rect||(this._rect=new Tn(style.x||0,style.y||0,style.width||0,style.height||0)),this._rect}},R(Ki,Zi);var Qi=new Tn(0,0,0,0),Ji=new Tn(0,0,0,0),er=function(t,e,n){this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=A({},n||{}),this.dpr=n.devicePixelRatio||fn,this._singleCanvas=r,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var l=this._zlevelList=[],h=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var c=t.width,d=t.height;null!=n.width&&(c=n.width),null!=n.height&&(d=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=d*this.dpr,this._width=c,this._height=d;var f=new $n(t,this,this.dpr);f.__builtin__=!0,f.initContext(),h[314159]=f,f.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var v=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(v)}this._hoverlayer=null,this._hoverElements=[]};er.prototype={constructor:er,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var l=0===i?this._backgroundColor:null;o.refresh(l)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return n.__from=t,t.__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,r=B(n,e);r>=0&&n.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var n=e[i].__from;n&&(n.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){Bn(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(1e5));var r={};n.ctx.save();for(var i=0;i<e;){var o=t[i],l=o.__from;l&&l.__zr?(i++,l.invisible||(o.transform=l.transform,o.invTransform=l.invTransform,o.__clipPaths=l.__clipPaths,this._doPaintEl(o,n,!0,r))):(t.splice(i,1),l.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!r){var o=this;Qn(function(){o._paintList(t,e,n)})}}},_compositeManually:function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(r){r.virtual&&t.drawImage(r.dom,0,0,e,n)})},_doPaintList:function(t,e){for(var n=[],r=0;r<this._zlevelList.length;r++){var o=this._zlevelList[r];(c=this._layers[o]).__builtin__&&c!==this._hoverlayer&&(c.__dirty||e)&&n.push(c)}for(var l=!0,h=0;h<n.length;h++){var c,d=(c=n[h]).ctx,v={};d.save();var m=e?c.__startIndex:c.__drawIndex,y=!e&&c.incremental&&Date.now,_=y&&Date.now(),x=c.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(c.__startIndex===c.__endIndex)c.clear(!1,x);else if(m===c.__startIndex){var w=t[m];w.incremental&&w.notClear&&!e||c.clear(!1,x)}-1===m&&(console.error("For some unknown reason. drawIndex is -1"),m=c.__startIndex);for(var i=m;i<c.__endIndex;i++){var S=t[i];if(this._doPaintEl(S,c,e,v),S.__dirty=S.__dirtyText=!1,y&&Date.now()-_>15)break}c.__drawIndex=i,c.__drawIndex<c.__endIndex&&(l=!1),v.prevElClipPaths&&d.restore(),d.restore()}return f.wxa&&F(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),l},_doPaintEl:function(t,e,n,r){var o=e.ctx,l=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!l||l[0]||l[3])&&(!t.culling||!function(t,e,n){return Qi.copy(t.getBoundingRect()),t.transform&&Qi.applyTransform(t.transform),Ji.width=e,Ji.height=n,!Qi.intersect(Ji)}(t,this._width,this._height))){var h=t.__clipPaths,c=r.prevElClipPaths;c&&!function(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;return!1}(h,c)||(c&&(o.restore(),r.prevElClipPaths=null,r.prevEl=null),h&&(o.save(),function(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)}}(h,o),r.prevElClipPaths=h)),t.beforeBrush&&t.beforeBrush(o),t.brush(o,r.prevEl||null),r.prevEl=t,t.afterBrush&&t.afterBrush(o)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new $n("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]&&k(n,this._layerConfig[t],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n=this._layers,r=this._zlevelList,o=r.length,l=null,i=-1,h=this._domRoot;if(n[t])gn("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(o>0&&t>r[0]){for(i=0;i<o-1&&!(r[i]<t&&r[i+1]>t);i++);l=n[r[i]]}if(r.splice(i+1,0,t),n[t]=e,!e.virtual)if(l){var c=l.dom;c.nextSibling?h.insertBefore(e.dom,c.nextSibling):h.appendChild(e.dom)}else h.firstChild?h.insertBefore(e.dom,h.firstChild):h.appendChild(e.dom)}else gn("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],(n=this._layers[r]).__builtin__&&t.call(e,n,r)},eachOtherLayer:function(t,e){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],(n=this._layers[r]).__builtin__||t.call(e,n,r)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){n&&(n.__endIndex!==t&&(n.__dirty=!0),n.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i=1;i<t.length;i++)if((o=t[i]).zlevel!==t[i-1].zlevel||o.incremental){this._needsManuallyCompositing=!0;break}var n=null,r=0;for(i=0;i<t.length;i++){var o,l,h=(o=t[i]).zlevel;o.incremental?((l=this.getLayer(h+.001,this._needsManuallyCompositing)).incremental=!0,r=1):l=this.getLayer(h+(r>0?.01:0),this._needsManuallyCompositing),l.__builtin__||gn("ZLevel "+h+" has been used by unkown layer "+l.id),l!==n&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),n=l),o.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?k(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];r!==t&&r!==t+.01||k(this._layers[r],n[t],!0)}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],n.splice(B(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);F(this._progressiveLayers,function(n){n.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new $n("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,r=e.dom.height,o=e.ctx;this.eachLayer(function(t){t.__builtin__?o.drawImage(t.dom,0,0,n,r):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var l={},h=this.storage.getDisplayList(!0),i=0;i<h.length;i++){var c=h[i];this._doPaintEl(c,e,!0,l)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],r=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],l=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var h=this.root,c=document.defaultView.getComputedStyle(h);return(h[r]||$i(c[n])||$i(h.style[n]))-($i(c[o])||0)-($i(c[l])||0)|0},pathToImage:function(path,t){t=t||this.dpr;var canvas=document.createElement("canvas"),e=canvas.getContext("2d"),rect=path.getBoundingRect(),style=path.style,n=style.shadowBlur*t,r=style.shadowOffsetX*t,o=style.shadowOffsetY*t,l=style.hasStroke()?style.lineWidth:0,h=Math.max(l/2,-r+n),c=Math.max(l/2,r+n),d=Math.max(l/2,-o+n),f=Math.max(l/2,o+n),v=rect.width+h+c,m=rect.height+d+f;canvas.width=v*t,canvas.height=m*t,e.scale(t,t),e.clearRect(0,0,v,m),e.dpr=t;var y={position:path.position,rotation:path.rotation,scale:path.scale};path.position=[h-rect.x,d-rect.y],path.rotation=0,path.scale=[1,1],path.updateTransform(),path&&path.brush(e);var _=new Ki({style:{x:0,y:0,image:canvas}});return null!=y.position&&(_.position=path.position=y.position),null!=y.rotation&&(_.rotation=path.rotation=y.rotation),null!=y.scale&&(_.scale=path.scale=y.scale),_}};var nr=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,Bt.call(this)};nr.prototype={constructor:nr,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=B(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var time=(new Date).getTime()-this._pausedTime,t=time-this._time,e=this._clips,n=e.length,r=[],o=[],i=0;i<n;i++){var l=e[i],h=l.step(time,t);h&&(r.push(h),o.push(l))}for(i=0;i<n;)e[i]._needsRemove?(e[i]=e[n-1],e.pop(),n--):i++;for(n=r.length,i=0;i<n;i++)o[i].fire(r[i]);this._time=time,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0,Qn(function e(){t._running&&(Qn(e),!t._paused&&t._update())})},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){var n=new cn(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(n),n}},E(nr,Bt);var ir=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],rr=["touchstart","touchend","touchmove"],ar={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},or=map(ir,function(t){var e=t.replace("mouse","pointer");return ar[e]?e:t});function sr(t){return"mousewheel"===t&&f.browser.firefox?"DOMMouseScroll":t}function lr(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var ur={mousemove:function(t){t=Yt(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var element=(t=Yt(this.dom,t)).toElement||t.relatedTarget;if(element!==this.dom)for(;element&&9!==element.nodeType;){if(element===this.dom)return;element=element.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=Yt(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),ur.mousemove.call(this,t),ur.mousedown.call(this,t),lr(this)},touchmove:function(t){(t=Yt(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"change"),ur.mousemove.call(this,t),lr(this)},touchend:function(t){(t=Yt(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"end"),ur.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&ur.click.call(this,t),lr(this)},pointerdown:function(t){ur.mousedown.call(this,t)},pointermove:function(t){cr(t)||ur.mousemove.call(this,t)},pointerup:function(t){ur.mouseup.call(this,t)},pointerout:function(t){cr(t)||ur.mouseout.call(this,t)}};function cr(t){var e=t.pointerType;return"pen"===e||"touch"===e}function dr(t){var e;function n(e,n){F(e,function(e){!function(t,e,n){Ft?t.addEventListener(e,n):t.attachEvent("on"+e,n)}(t,sr(e),n._handlers[e])},n)}Bt.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},e=this,F(rr,function(t){e._handlers[t]=V(ur[t],e)}),F(or,function(t){e._handlers[t]=V(ur[t],e)}),F(ir,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(ur[t],e)}),f.pointerEventsSupported?n(or,this):(f.touchEventsSupported&&n(rr,this),n(ir,this))}F(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){ur[t]=function(e){e=Yt(this.dom,e),this.trigger(t,e)}});var fr=dr.prototype;fr.dispose=function(){for(var t=ir.concat(rr),i=0;i<t.length;i++){var e=t[i];jt(this.dom,sr(e),this._handlers[e])}},fr.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},E(dr,Bt);var pr=!f.canvasSupported,gr={canvas:er},vr={};function mr(t,e){var n=new yr(d(),t,e);return vr[n.id]=n,n}var yr=function(t,e,n){n=n||{},this.dom=e,this.id=t;var r=this,o=new En,l=n.renderer;if(pr){if(!gr.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");l="vml"}else l&&gr[l]||(l="canvas");var h=new gr[l](e,o,n,t);this.storage=o,this.painter=h;var c=f.node||f.worker?null:new dr(h.getViewportRoot());this.handler=new ne(o,h,c,h.root),this.animation=new nr({stage:{update:V(this.flush,this)}}),this.animation.start(),this._needsRefresh;var d=o.delFromStorage,v=o.addToStorage;o.delFromStorage=function(t){d.call(o,t),t&&t.removeSelfFromZr(r)},o.addToStorage=function(t){v.call(o,t),t.addSelfToZr(r)}};yr.prototype={constructor:yr,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,style){if(this.painter.addHover){var e=this.painter.addHover(t,style);return this.refreshHover(),e}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete vr[t]}};var _r=(Object.freeze||Object)({version:"4.1.1",init:mr,dispose:function(t){if(t)t.dispose();else{for(var e in vr)vr.hasOwnProperty(e)&&vr[e].dispose();vr={}}return this},getInstance:function(t){return vr[t]},registerPainter:function(t,e){gr[t]=e}}),xr=F,wr=j,Sr=G,Mr="series\0";function Ir(t){return t instanceof Array?t:null==t?[]:[t]}function Tr(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var Cr=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Dr(t){return!wr(t)||Sr(t)||t instanceof Date?t:t.value}function kr(t,e){e=(e||[]).slice();var n=map(t||[],function(t,e){return{exist:t}});return xr(e,function(t,r){if(wr(t)){for(var i=0;i<n.length;i++)if(!n[i].option&&null!=t.id&&n[i].exist.id===t.id+"")return n[i].option=t,void(e[r]=null);for(i=0;i<n.length;i++){var o=n[i].exist;if(!(n[i].option||null!=o.id&&null!=t.id||null==t.name||Pr(t)||Pr(o)||o.name!==t.name+""))return n[i].option=t,void(e[r]=null)}}}),xr(e,function(t,e){if(wr(t)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!Pr(r)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}}),n}function Ar(t){var e=t.name;return!(!e||!e.indexOf(Mr))}function Pr(t){return wr(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function Or(data,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?G(t.dataIndex)?map(t.dataIndex,function(t){return data.indexOfRawIndex(t)}):data.indexOfRawIndex(t.dataIndex):null!=t.name?G(t.name)?map(t.name,function(t){return data.indexOfName(t)}):data.indexOfName(t.name):void 0}function Lr(){var t="__\0ec_inner_"+Nr+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var Nr=0;function Br(t,e,n){if(Y(e)){var r={};r[e+"Index"]=0,e=r}var o=n&&n.defaultMainType;!o||Rr(e,o+"Index")||Rr(e,o+"Id")||Rr(e,o+"Name")||(e[o+"Index"]=0);var l={};return xr(e,function(r,o){if(r=e[o],"dataIndex"!==o&&"dataIndexInside"!==o){var h=o.match(/^(\w+)(Index|Id|Name)$/)||[],c=h[1],d=(h[2]||"").toLowerCase();if(!(!c||!d||null==r||"index"===d&&"none"===r||n&&n.includeMainTypes&&B(n.includeMainTypes,c)<0)){var f={mainType:c};"index"===d&&"all"===r||(f[d]=r);var v=t.queryComponents(f);l[c+"Models"]=v,l[c+"Model"]=v[0]}}else l[o]=r}),l}function Rr(t,e){return t&&t.hasOwnProperty(e)}function Er(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function zr(t){return"auto"===t?f.domSupported?"html":"richText":t||"html"}var Fr=".",Hr="___EC__COMPONENT__CONTAINER___";function Vr(t){var e={main:"",sub:""};return t&&(t=t.split(Fr),e.main=t[0]||"",e.sub=t[1]||""),e}function Wr(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return A(n.prototype,t),n.extend=this.extend,n.superCall=Yr,n.superApply=jr,R(n,this),n.superClass=e,n}}var Gr=0;function Xr(t){var e=["__\0is_clz",Gr++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Yr(t,e){var n=et(arguments,2);return this.superClass.prototype[e].apply(t,n)}function jr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Ur(t,e){e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(function(t){it(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=Vr(e)).sub?e.sub!==Hr&&((function(t){var e=n[t.main];return e&&e[Hr]||((e=n[t.main]={})[Hr]=!0),e}(e))[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,r){var o=n[t];if(o&&o[Hr]&&(o=e?o[e]:null),r&&!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=Vr(t);var e=[],r=n[t.main];return r&&r[Hr]?F(r,function(t,n){n!==Hr&&e.push(t)}):e.push(r),e},t.hasClass=function(t){return t=Vr(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return F(n,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=Vr(t);var e=n[t.main];return e&&e[Hr]},t.parseClassType=Vr,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var n=r.call(this,e);return t.registerClass(n,e.type)})}return t}var qr=function(t){for(var i=0;i<t.length;i++)t[i][1]||(t[i][1]=t[i][0]);return function(e,n,r){for(var style={},i=0;i<t.length;i++){var o=t[i][1];if(!(n&&B(n,o)>=0||r&&B(r,o)<0)){var l=e.getShallow(o);null!=l&&(style[t[i][0]]=l)}}return style}},Zr=qr([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),Kr={getLineStyle:function(t){var style=Zr(this,t);return style.lineDash=this.getLineDash(style.lineWidth),style},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),r=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[r,r]:[n,n])}},$r=qr([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Qr={getAreaStyle:function(t,e){return $r(this,t,e)}},Jr=Math.pow,ta=Math.sqrt,ea=1e-8,na=1e-4,ia=ta(3),ra=1/3,aa=gt(),oa=gt(),sa=gt();function la(t){return t>-ea&&t<ea}function ha(t){return t>ea||t<-ea}function ua(t,e,n,r,o){var l=1-o;return l*l*(l*t+3*o*e)+o*o*(o*r+3*l*n)}function ca(t,e,n,r,o){var l=1-o;return 3*(((e-t)*l+2*(n-e)*o)*l+(r-n)*o*o)}function da(t,e,n,r,o){var b=6*n-12*e+6*t,a=9*e+3*r-3*t-9*n,l=3*e-3*t,h=0;if(la(a))ha(b)&&(d=-l/b)>=0&&d<=1&&(o[h++]=d);else{var c=b*b-4*a*l;if(la(c))o[0]=-b/(2*a);else if(c>0){var d,f=ta(c),v=(-b-f)/(2*a);(d=(-b+f)/(2*a))>=0&&d<=1&&(o[h++]=d),v>=0&&v<=1&&(o[h++]=v)}}return h}function fa(t,e,n,r,o,l){var h=(e-t)*o+t,c=(n-e)*o+e,d=(r-n)*o+n,f=(c-h)*o+h,v=(d-c)*o+c,m=(v-f)*o+f;l[0]=t,l[1]=h,l[2]=f,l[3]=m,l[4]=m,l[5]=v,l[6]=d,l[7]=r}function pa(t,e,n,r){var o=1-r;return o*(o*t+2*r*e)+r*r*n}function ga(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function va(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function ma(t,e,n,r,o){var l=(e-t)*r+t,h=(n-e)*r+e,c=(h-l)*r+l;o[0]=t,o[1]=l,o[2]=c,o[3]=c,o[4]=h,o[5]=n}var ya=Math.min,_a=Math.max,xa=Math.sin,wa=Math.cos,ba=2*Math.PI,Sa=gt(),Ma=gt(),Ia=gt();function Ta(t,e,n){if(0!==t.length){var i,p=t[0],r=p[0],o=p[0],l=p[1],h=p[1];for(i=1;i<t.length;i++)p=t[i],r=ya(r,p[0]),o=_a(o,p[0]),l=ya(l,p[1]),h=_a(h,p[1]);e[0]=r,e[1]=l,n[0]=o,n[1]=h}}function Ca(t,e,n,r,o,l){o[0]=ya(t,n),o[1]=ya(e,r),l[0]=_a(t,n),l[1]=_a(e,r)}var Da=[],ka=[];function Aa(t,e,n,r,o,l,h,c,d,f){var i,v=da,m=ua,y=v(t,n,o,h,Da);for(d[0]=1/0,d[1]=1/0,f[0]=-1/0,f[1]=-1/0,i=0;i<y;i++){var _=m(t,n,o,h,Da[i]);d[0]=ya(_,d[0]),f[0]=_a(_,f[0])}for(y=v(e,r,l,c,ka),i=0;i<y;i++){var x=m(e,r,l,c,ka[i]);d[1]=ya(x,d[1]),f[1]=_a(x,f[1])}d[0]=ya(t,d[0]),f[0]=_a(t,f[0]),d[0]=ya(h,d[0]),f[0]=_a(h,f[0]),d[1]=ya(e,d[1]),f[1]=_a(e,f[1]),d[1]=ya(c,d[1]),f[1]=_a(c,f[1])}function Pa(t,e,n,r,o,l,h,c){var d=va,f=pa,v=_a(ya(d(t,n,o),1),0),m=_a(ya(d(e,r,l),1),0),y=f(t,n,o,v),_=f(e,r,l,m);h[0]=ya(t,o,y),h[1]=ya(e,l,_),c[0]=_a(t,o,y),c[1]=_a(e,l,_)}function Oa(t,e,n,r,o,l,h,c,d){var f=At,v=Pt,m=Math.abs(o-l);if(m%ba<1e-4&&m>1e-4)return c[0]=t-n,c[1]=e-r,d[0]=t+n,void(d[1]=e+r);if(Sa[0]=wa(o)*n+t,Sa[1]=xa(o)*r+e,Ma[0]=wa(l)*n+t,Ma[1]=xa(l)*r+e,f(c,Sa,Ma),v(d,Sa,Ma),(o%=ba)<0&&(o+=ba),(l%=ba)<0&&(l+=ba),o>l&&!h?l+=ba:o<l&&h&&(o+=ba),h){var y=l;l=o,o=y}for(var _=0;_<l;_+=Math.PI/2)_>o&&(Ia[0]=wa(_)*n+t,Ia[1]=xa(_)*r+e,f(c,Ia,c),v(d,Ia,d))}var La={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Na=[],Ba=[],Ra=[],Ea=[],za=Math.min,Fa=Math.max,Ha=Math.cos,Va=Math.sin,Wa=Math.sqrt,Ga=Math.abs,Xa="undefined"!=typeof Float32Array,Ya=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};function ja(t,e,n,r,o,l,h){if(0===o)return!1;var c=o,d=0;if(h>e+c&&h>r+c||h<e-c&&h<r-c||l>t+c&&l>n+c||l<t-c&&l<n-c)return!1;if(t===n)return Math.abs(l-t)<=c/2;var f=(d=(e-r)/(t-n))*l-h+(t*r-n*e)/(t-n);return f*f/(d*d+1)<=c/2*c/2}function Ua(t,e,n,r,o,l,h,c,d,f,v){if(0===d)return!1;var m=d;return!(v>e+m&&v>r+m&&v>l+m&&v>c+m||v<e-m&&v<r-m&&v<l-m&&v<c-m||f>t+m&&f>n+m&&f>o+m&&f>h+m||f<t-m&&f<n-m&&f<o-m&&f<h-m)&&function(t,e,n,r,o,l,h,c,d,f,v){var m,y,_,x,w,S=.005,M=1/0;aa[0]=d,aa[1]=f;for(var I=0;I<1;I+=.05)oa[0]=ua(t,n,o,h,I),oa[1]=ua(e,r,l,c,I),(x=Dt(aa,oa))<M&&(m=I,M=x);M=1/0;for(var i=0;i<32&&!(S<na);i++)y=m-S,_=m+S,oa[0]=ua(t,n,o,h,y),oa[1]=ua(e,r,l,c,y),x=Dt(oa,aa),y>=0&&x<M?(m=y,M=x):(sa[0]=ua(t,n,o,h,_),sa[1]=ua(e,r,l,c,_),w=Dt(sa,aa),_<=1&&w<M?(m=_,M=w):S*=.5);return v&&(v[0]=ua(t,n,o,h,m),v[1]=ua(e,r,l,c,m)),ta(M)}(t,e,n,r,o,l,h,c,f,v,null)<=m/2}function qa(t,e,n,r,o,l,h,c,d){if(0===h)return!1;var f=h;return!(d>e+f&&d>r+f&&d>l+f||d<e-f&&d<r-f&&d<l-f||c>t+f&&c>n+f&&c>o+f||c<t-f&&c<n-f&&c<o-f)&&function(t,e,n,r,o,l,h,c,d){var f,v=.005,m=1/0;aa[0]=h,aa[1]=c;for(var y=0;y<1;y+=.05)oa[0]=pa(t,n,o,y),oa[1]=pa(e,r,l,y),(w=Dt(aa,oa))<m&&(f=y,m=w);m=1/0;for(var i=0;i<32&&!(v<na);i++){var _=f-v,x=f+v;oa[0]=pa(t,n,o,_),oa[1]=pa(e,r,l,_);var w=Dt(oa,aa);if(_>=0&&w<m)f=_,m=w;else{sa[0]=pa(t,n,o,x),sa[1]=pa(e,r,l,x);var S=Dt(sa,aa);x<=1&&S<m?(f=x,m=S):v*=.5}}return d&&(d[0]=pa(t,n,o,f),d[1]=pa(e,r,l,f)),ta(m)}(t,e,n,r,o,l,c,d,null)<=f/2}Ya.prototype={constructor:Ya,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=Ga(n/fn/t)||0,this._uy=Ga(n/fn/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(La.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=Ga(t-this._xi)>this._ux||Ga(e-this._yi)>this._uy||this._len<5;return this.addData(La.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,o,l){return this.addData(La.C,t,e,n,r,o,l),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,o,l):this._ctx.bezierCurveTo(t,e,n,r,o,l)),this._xi=o,this._yi=l,this},quadraticCurveTo:function(t,e,n,r){return this.addData(La.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,o,l){return this.addData(La.A,t,e,n,n,r,o-r,0,l?0:1),this._ctx&&this._ctx.arc(t,e,n,r,o,l),this._xi=Ha(o)*n+t,this._yi=Va(o)*n+e,this},arcTo:function(t,e,n,r,o){return this._ctx&&this._ctx.arcTo(t,e,n,r,o),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(La.R,t,e,n,r),this},closePath:function(){this.addData(La.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(data){var t=data.length;this.data&&this.data.length===t||!Xa||(this.data=new Float32Array(t));for(var i=0;i<t;i++)this.data[i]=data[i];this._len=t},appendPath:function(path){path instanceof Array||(path=[path]);for(var t=path.length,e=0,n=this._len,i=0;i<t;i++)e+=path[i].len();for(Xa&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+e)),i=0;i<t;i++)for(var r=path[i].data,o=0;o<r.length;o++)this.data[n++]=r[o];this._len=n},addData:function(t){if(this._saveData){var data=this.data;this._len+arguments.length>data.length&&(this._expandData(),data=this.data);for(var i=0;i<arguments.length;i++)data[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],i=0;i<this._len;i++)t[i]=this.data[i];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,r,o=this._dashSum,l=this._dashOffset,h=this._lineDash,c=this._ctx,d=this._xi,f=this._yi,v=t-d,m=e-f,y=Wa(v*v+m*m),_=d,x=f,w=h.length;for(l<0&&(l=o+l),_-=(l%=o)*(v/=y),x-=l*(m/=y);v>0&&_<=t||v<0&&_>=t||0===v&&(m>0&&x<=e||m<0&&x>=e);)_+=v*(n=h[r=this._dashIdx]),x+=m*n,this._dashIdx=(r+1)%w,v>0&&_<d||v<0&&_>d||m>0&&x<f||m<0&&x>f||c[r%2?"moveTo":"lineTo"](v>=0?za(_,t):Fa(_,t),m>=0?za(x,e):Fa(x,e));v=_-t,m=x-e,this._dashOffset=-Wa(v*v+m*m)},_dashedBezierTo:function(t,e,n,r,o,l){var h,c,d,f,v,m=this._dashSum,y=this._dashOffset,_=this._lineDash,x=this._ctx,w=this._xi,S=this._yi,M=ua,I=0,T=this._dashIdx,C=_.length,D=0;for(y<0&&(y=m+y),y%=m,h=0;h<1;h+=.1)c=M(w,t,n,o,h+.1)-M(w,t,n,o,h),d=M(S,e,r,l,h+.1)-M(S,e,r,l,h),I+=Wa(c*c+d*d);for(;T<C&&!((D+=_[T])>y);T++);for(h=(D-y)/I;h<=1;)f=M(w,t,n,o,h),v=M(S,e,r,l,h),T%2?x.moveTo(f,v):x.lineTo(f,v),h+=_[T]/I,T=(T+1)%C;T%2!=0&&x.lineTo(o,l),c=o-f,d=l-v,this._dashOffset=-Wa(c*c+d*d)},_dashedQuadraticTo:function(t,e,n,r){var o=n,l=r;n=(n+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,r,o,l)},toStatic:function(){var data=this.data;data instanceof Array&&(data.length=this._len,Xa&&(this.data=new Float32Array(data)))},getBoundingRect:function(){Na[0]=Na[1]=Ra[0]=Ra[1]=Number.MAX_VALUE,Ba[0]=Ba[1]=Ea[0]=Ea[1]=-Number.MAX_VALUE;for(var data=this.data,t=0,e=0,n=0,r=0,i=0;i<data.length;){var o=data[i++];switch(1===i&&(n=t=data[i],r=e=data[i+1]),o){case La.M:t=n=data[i++],e=r=data[i++],Ra[0]=n,Ra[1]=r,Ea[0]=n,Ea[1]=r;break;case La.L:Ca(t,e,data[i],data[i+1],Ra,Ea),t=data[i++],e=data[i++];break;case La.C:Aa(t,e,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],Ra,Ea),t=data[i++],e=data[i++];break;case La.Q:Pa(t,e,data[i++],data[i++],data[i],data[i+1],Ra,Ea),t=data[i++],e=data[i++];break;case La.A:var l=data[i++],h=data[i++],c=data[i++],d=data[i++],f=data[i++],v=data[i++]+f;i+=1;var m=1-data[i++];1===i&&(n=Ha(f)*c+l,r=Va(f)*d+h),Oa(l,h,c,d,f,v,m,Ra,Ea),t=Ha(v)*c+l,e=Va(v)*d+h;break;case La.R:Ca(n=t=data[i++],r=e=data[i++],n+data[i++],r+data[i++],Ra,Ea);break;case La.Z:t=n,e=r}At(Na,Na,Ra),Pt(Ba,Ba,Ea)}return 0===i&&(Na[0]=Na[1]=Ba[0]=Ba[1]=0),new Tn(Na[0],Na[1],Ba[0]-Na[0],Ba[1]-Na[1])},rebuildPath:function(t){for(var e,n,r,o,l,h,c=this.data,d=this._ux,f=this._uy,v=this._len,i=0;i<v;){var m=c[i++];switch(1===i&&(e=r=c[i],n=o=c[i+1]),m){case La.M:e=r=c[i++],n=o=c[i++],t.moveTo(r,o);break;case La.L:l=c[i++],h=c[i++],(Ga(l-r)>d||Ga(h-o)>f||i===v-1)&&(t.lineTo(l,h),r=l,o=h);break;case La.C:t.bezierCurveTo(c[i++],c[i++],c[i++],c[i++],c[i++],c[i++]),r=c[i-2],o=c[i-1];break;case La.Q:t.quadraticCurveTo(c[i++],c[i++],c[i++],c[i++]),r=c[i-2],o=c[i-1];break;case La.A:var y=c[i++],_=c[i++],x=c[i++],w=c[i++],S=c[i++],M=c[i++],I=c[i++],T=c[i++],C=x>w?x:w,D=x>w?1:x/w,k=x>w?w/x:1,A=S+M;Math.abs(x-w)>.001?(t.translate(y,_),t.rotate(I),t.scale(D,k),t.arc(0,0,C,S,A,1-T),t.scale(1/D,1/k),t.rotate(-I),t.translate(-y,-_)):t.arc(y,_,C,S,A,1-T),1===i&&(e=Ha(S)*x+y,n=Va(S)*w+_),r=Ha(A)*x+y,o=Va(A)*w+_;break;case La.R:e=r=c[i],n=o=c[i+1],t.rect(c[i++],c[i++],c[i++],c[i++]);break;case La.Z:t.closePath(),r=e,o=n}}}},Ya.CMD=La;var Za=2*Math.PI;function Ka(t){return(t%=Za)<0&&(t+=Za),t}var $a=2*Math.PI;function Qa(t,e,n,r,o,l,h,c,d){if(0===h)return!1;var f=h;c-=t,d-=e;var v=Math.sqrt(c*c+d*d);if(v-f>n||v+f<n)return!1;if(Math.abs(r-o)%$a<1e-4)return!0;if(l){var m=r;r=Ka(o),o=Ka(m)}else r=Ka(r),o=Ka(o);r>o&&(o+=$a);var y=Math.atan2(d,c);return y<0&&(y+=$a),y>=r&&y<=o||y+$a>=r&&y+$a<=o}function Ja(t,e,n,r,o,l){if(l>e&&l>r||l<e&&l<r)return 0;if(r===e)return 0;var h=r<e?1:-1,c=(l-e)/(r-e);1!==c&&0!==c||(h=r<e?.5:-.5);var d=c*(n-t)+t;return d===o?1/0:d>o?h:0}var to=Ya.CMD,eo=2*Math.PI,no=1e-4,io=[-1,-1,-1],ro=[-1,-1];function ao(t,e,n,r,o,l,h,c,d,f){if(f>e&&f>r&&f>l&&f>c||f<e&&f<r&&f<l&&f<c)return 0;var v,m=function(t,e,n,r,o,l){var a=r+3*(e-n)-t,b=3*(n-2*e+t),h=3*(e-t),c=t-o,d=b*b-3*a*h,f=b*h-9*a*c,v=h*h-3*b*c,m=0;if(la(d)&&la(f))la(b)?l[0]=0:(k=-h/b)>=0&&k<=1&&(l[m++]=k);else{var y=f*f-4*d*v;if(la(y)){var _=f/d,x=-_/2;(k=-b/a+_)>=0&&k<=1&&(l[m++]=k),x>=0&&x<=1&&(l[m++]=x)}else if(y>0){var w=ta(y),S=d*b+1.5*a*(-f+w),M=d*b+1.5*a*(-f-w);(k=(-b-((S=S<0?-Jr(-S,ra):Jr(S,ra))+(M=M<0?-Jr(-M,ra):Jr(M,ra))))/(3*a))>=0&&k<=1&&(l[m++]=k)}else{var I=(2*d*b-3*a*f)/(2*ta(d*d*d)),T=Math.acos(I)/3,C=ta(d),D=Math.cos(T),k=(-b-2*C*D)/(3*a),A=(x=(-b+C*(D+ia*Math.sin(T)))/(3*a),(-b+C*(D-ia*Math.sin(T)))/(3*a));k>=0&&k<=1&&(l[m++]=k),x>=0&&x<=1&&(l[m++]=x),A>=0&&A<=1&&(l[m++]=A)}}return m}(e,r,l,c,f,io);if(0===m)return 0;for(var y,_,x=0,w=-1,i=0;i<m;i++){var S=io[i],M=0===S||1===S?.5:1;ua(t,n,o,h,S)<d||(w<0&&(w=da(e,r,l,c,ro),ro[1]<ro[0]&&w>1&&(v=void 0,v=ro[0],ro[0]=ro[1],ro[1]=v),y=ua(e,r,l,c,ro[0]),w>1&&(_=ua(e,r,l,c,ro[1]))),2===w?S<ro[0]?x+=y<e?M:-M:S<ro[1]?x+=_<y?M:-M:x+=c<_?M:-M:S<ro[0]?x+=y<e?M:-M:x+=c<y?M:-M)}return x}function oo(t,e,n,r,o,l,h,c){if(c>e&&c>r&&c>l||c<e&&c<r&&c<l)return 0;var d=function(t,e,n,r,o){var a=t-2*e+n,b=2*(e-t),l=t-r,h=0;if(la(a))ha(b)&&(d=-l/b)>=0&&d<=1&&(o[h++]=d);else{var c=b*b-4*a*l;if(la(c))(d=-b/(2*a))>=0&&d<=1&&(o[h++]=d);else if(c>0){var d,f=ta(c),v=(-b-f)/(2*a);(d=(-b+f)/(2*a))>=0&&d<=1&&(o[h++]=d),v>=0&&v<=1&&(o[h++]=v)}}return h}(e,r,l,c,io);if(0===d)return 0;var f=va(e,r,l);if(f>=0&&f<=1){for(var v=0,m=pa(e,r,l,f),i=0;i<d;i++){var y=0===io[i]||1===io[i]?.5:1;pa(t,n,o,io[i])<h||(io[i]<f?v+=m<e?y:-y:v+=l<m?y:-y)}return v}return y=0===io[0]||1===io[0]?.5:1,pa(t,n,o,io[0])<h?0:l<e?y:-y}function so(t,e,n,r,o,l,h,c){if((c-=e)>n||c<-n)return 0;var d=Math.sqrt(n*n-c*c);io[0]=-d,io[1]=d;var f=Math.abs(r-o);if(f<1e-4)return 0;if(f%eo<1e-4){r=0,o=eo;var v=l?1:-1;return h>=io[0]+t&&h<=io[1]+t?v:0}l?(d=r,r=Ka(o),o=Ka(d)):(r=Ka(r),o=Ka(o)),r>o&&(o+=eo);for(var m=0,i=0;i<2;i++){var y=io[i];if(y+t>h){var _=Math.atan2(c,y);v=l?1:-1,_<0&&(_=eo+_),(_>=r&&_<=o||_+eo>=r&&_+eo<=o)&&(_>Math.PI/2&&_<1.5*Math.PI&&(v=-v),m+=v)}}return m}function lo(data,t,e,n,r){for(var a,b,o=0,l=0,h=0,c=0,d=0,i=0;i<data.length;){var f=data[i++];switch(f===to.M&&i>1&&(e||(o+=Ja(l,h,c,d,n,r))),1===i&&(c=l=data[i],d=h=data[i+1]),f){case to.M:l=c=data[i++],h=d=data[i++];break;case to.L:if(e){if(ja(l,h,data[i],data[i+1],t,n,r))return!0}else o+=Ja(l,h,data[i],data[i+1],n,r)||0;l=data[i++],h=data[i++];break;case to.C:if(e){if(Ua(l,h,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],t,n,r))return!0}else o+=ao(l,h,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],n,r)||0;l=data[i++],h=data[i++];break;case to.Q:if(e){if(qa(l,h,data[i++],data[i++],data[i],data[i+1],t,n,r))return!0}else o+=oo(l,h,data[i++],data[i++],data[i],data[i+1],n,r)||0;l=data[i++],h=data[i++];break;case to.A:var v=data[i++],m=data[i++],y=data[i++],_=data[i++],x=data[i++],w=data[i++];i+=1;var S=1-data[i++],M=Math.cos(x)*y+v,I=Math.sin(x)*_+m;i>1?o+=Ja(l,h,M,I,n,r):(c=M,d=I);var T=(n-v)*_/y+v;if(e){if(Qa(v,m,_,x,x+w,S,t,T,r))return!0}else o+=so(v,m,_,x,x+w,S,T,r);l=Math.cos(x+w)*y+v,h=Math.sin(x+w)*_+m;break;case to.R:if(c=l=data[i++],d=h=data[i++],M=c+data[i++],I=d+data[i++],e){if(ja(c,d,M,d,t,n,r)||ja(M,d,M,I,t,n,r)||ja(M,I,c,I,t,n,r)||ja(c,I,c,d,t,n,r))return!0}else o+=Ja(M,d,M,I,n,r),o+=Ja(c,I,c,d,n,r);break;case to.Z:if(e){if(ja(l,h,c,d,t,n,r))return!0}else o+=Ja(l,h,c,d,n,r);l=c,h=d}}return e||(a=h,b=d,Math.abs(a-b)<no)||(o+=Ja(l,h,c,d,n,r)||0),0!==o}var ho=qn.prototype.getCanvasPattern,uo=Math.abs,co=new Ya(!0);function fo(t){Zi.call(this,t),this.path=null}fo.prototype={constructor:fo,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var rect,style=this.style,path=this.path||co,n=style.hasStroke(),r=style.hasFill(),o=style.fill,l=style.stroke,h=r&&!!o.colorStops,c=n&&!!l.colorStops,d=r&&!!o.image,f=n&&!!l.image;style.bind(t,this,e),this.setTransform(t),this.__dirty&&(h&&(rect=rect||this.getBoundingRect(),this._fillGradient=style.getGradient(t,o,rect)),c&&(rect=rect||this.getBoundingRect(),this._strokeGradient=style.getGradient(t,l,rect))),h?t.fillStyle=this._fillGradient:d&&(t.fillStyle=ho.call(o,t)),c?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=ho.call(l,t));var v=style.lineDash,m=style.lineDashOffset,y=!!t.setLineDash,_=this.getGlobalScale();if(path.setScale(_[0],_[1],this.segmentIgnoreThreshold),this.__dirtyPath||v&&!y&&n?(path.beginPath(t),v&&!y&&(path.setLineDash(v),path.setLineDashOffset(m)),this.buildPath(path,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),r)if(null!=style.fillOpacity){var x=t.globalAlpha;t.globalAlpha=style.fillOpacity*style.opacity,path.fill(t),t.globalAlpha=x}else path.fill(t);v&&y&&(t.setLineDash(v),t.lineDashOffset=m),n&&(null!=style.strokeOpacity?(x=t.globalAlpha,t.globalAlpha=style.strokeOpacity*style.opacity,path.stroke(t),t.globalAlpha=x):path.stroke(t)),v&&y&&t.setLineDash([]),null!=style.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new Ya},getBoundingRect:function(){var rect=this._rect,style=this.style,t=!rect;if(t){var path=this.path;path||(path=this.path=new Ya),this.__dirtyPath&&(path.beginPath(),this.buildPath(path,this.shape,!1)),rect=path.getBoundingRect()}if(this._rect=rect,style.hasStroke()){var e=this._rectWithStroke||(this._rectWithStroke=rect.clone());if(this.__dirty||t){e.copy(rect);var n=style.lineWidth,r=style.strokeNoScale?this.getLineScale():1;style.hasFill()||(n=Math.max(n,this.strokeContainThreshold||4)),r>1e-10&&(e.width+=n/r,e.height+=n/r,e.x-=n/r/2,e.y-=n/r/2)}return e}return rect},contain:function(t,e){var n=this.transformCoordToLocal(t,e),rect=this.getBoundingRect(),style=this.style;if(t=n[0],e=n[1],rect.contain(t,e)){var r=this.path.data;if(style.hasStroke()){var o=style.lineWidth,l=style.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(style.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,r){return lo(t,e,!0,n,r)}(r,o/l,t,e)))return!0}if(style.hasFill())return function(t,e,n){return lo(t,0,!1,e,n)}(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):Zi.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(j(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&uo(t[0]-1)>1e-10&&uo(t[3]-1)>1e-10?Math.sqrt(uo(t[0]*t[3]-t[2]*t[1])):1}},fo.extend=function(t){var e=function(e){fo.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var o in n)!r.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(r[o]=n[o])}t.init&&t.init.call(this,e)};for(var n in R(e,fo),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},R(fo,Zi);var po=Ya.CMD,go=[[],[],[]],vo=Math.sqrt,mo=Math.atan2,yo=function(path,t){var e,n,i,r,o,data=path.data,l=po.M,h=po.C,c=po.L,d=po.R,f=po.A,v=po.Q;for(i=0,r=0;i<data.length;){switch(e=data[i++],r=i,n=0,e){case l:case c:n=1;break;case h:n=3;break;case v:n=2;break;case f:var m=t[4],y=t[5],_=vo(t[0]*t[0]+t[1]*t[1]),x=vo(t[2]*t[2]+t[3]*t[3]),w=mo(-t[1]/x,t[0]/_);data[i]*=_,data[i++]+=m,data[i]*=x,data[i++]+=y,data[i++]*=_,data[i++]*=x,data[i++]+=w,data[i++]+=w,r=i+=2;break;case d:p[0]=data[i++],p[1]=data[i++],kt(p,p,t),data[r++]=p[0],data[r++]=p[1],p[0]+=data[i++],p[1]+=data[i++],kt(p,p,t),data[r++]=p[0],data[r++]=p[1]}for(o=0;o<n;o++){var p;(p=go[o])[0]=data[i++],p[1]=data[i++],kt(p,p,t),data[r++]=p[0],data[r++]=p[1]}}},_o=Math.sqrt,xo=Math.sin,wo=Math.cos,bo=Math.PI,So=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},Mo=function(u,t){return(u[0]*t[0]+u[1]*t[1])/(So(u)*So(t))},Io=function(u,t){return(u[0]*t[1]<u[1]*t[0]?-1:1)*Math.acos(Mo(u,t))};function To(t,e,n,r,o,l,h,c,d,f,path){var v=d*(bo/180),m=wo(v)*(t-n)/2+xo(v)*(e-r)/2,y=-1*xo(v)*(t-n)/2+wo(v)*(e-r)/2,_=m*m/(h*h)+y*y/(c*c);_>1&&(h*=_o(_),c*=_o(_));var x=(o===l?-1:1)*_o((h*h*(c*c)-h*h*(y*y)-c*c*(m*m))/(h*h*(y*y)+c*c*(m*m)))||0,w=x*h*y/c,S=x*-c*m/h,M=(t+n)/2+wo(v)*w-xo(v)*S,I=(e+r)/2+xo(v)*w+wo(v)*S,T=Io([1,0],[(m-w)/h,(y-S)/c]),u=[(m-w)/h,(y-S)/c],C=[(-1*m-w)/h,(-1*y-S)/c],D=Io(u,C);Mo(u,C)<=-1&&(D=bo),Mo(u,C)>=1&&(D=0),0===l&&D>0&&(D-=2*bo),1===l&&D<0&&(D+=2*bo),path.addData(f,M,I,h,c,T,D,v,l)}var Co=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Do=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function ko(t,e){var n=function(data){if(!data)return new Ya;for(var t,e=0,n=0,r=e,o=n,path=new Ya,l=Ya.CMD,h=data.match(Co),c=0;c<h.length;c++){for(var d,f=h[c],v=f.charAt(0),p=f.match(Do)||[],m=p.length,i=0;i<m;i++)p[i]=parseFloat(p[i]);for(var y=0;y<m;){var _,x,w,S,M,I,T,C=e,D=n;switch(v){case"l":e+=p[y++],n+=p[y++],d=l.L,path.addData(d,e,n);break;case"L":e=p[y++],n=p[y++],d=l.L,path.addData(d,e,n);break;case"m":e+=p[y++],n+=p[y++],d=l.M,path.addData(d,e,n),r=e,o=n,v="l";break;case"M":e=p[y++],n=p[y++],d=l.M,path.addData(d,e,n),r=e,o=n,v="L";break;case"h":e+=p[y++],d=l.L,path.addData(d,e,n);break;case"H":e=p[y++],d=l.L,path.addData(d,e,n);break;case"v":n+=p[y++],d=l.L,path.addData(d,e,n);break;case"V":n=p[y++],d=l.L,path.addData(d,e,n);break;case"C":d=l.C,path.addData(d,p[y++],p[y++],p[y++],p[y++],p[y++],p[y++]),e=p[y-2],n=p[y-1];break;case"c":d=l.C,path.addData(d,p[y++]+e,p[y++]+n,p[y++]+e,p[y++]+n,p[y++]+e,p[y++]+n),e+=p[y-2],n+=p[y-1];break;case"S":_=e,x=n;var k=path.len(),A=path.data;t===l.C&&(_+=e-A[k-4],x+=n-A[k-3]),d=l.C,C=p[y++],D=p[y++],e=p[y++],n=p[y++],path.addData(d,_,x,C,D,e,n);break;case"s":_=e,x=n,k=path.len(),A=path.data,t===l.C&&(_+=e-A[k-4],x+=n-A[k-3]),d=l.C,C=e+p[y++],D=n+p[y++],e+=p[y++],n+=p[y++],path.addData(d,_,x,C,D,e,n);break;case"Q":C=p[y++],D=p[y++],e=p[y++],n=p[y++],d=l.Q,path.addData(d,C,D,e,n);break;case"q":C=p[y++]+e,D=p[y++]+n,e+=p[y++],n+=p[y++],d=l.Q,path.addData(d,C,D,e,n);break;case"T":_=e,x=n,k=path.len(),A=path.data,t===l.Q&&(_+=e-A[k-4],x+=n-A[k-3]),e=p[y++],n=p[y++],d=l.Q,path.addData(d,_,x,e,n);break;case"t":_=e,x=n,k=path.len(),A=path.data,t===l.Q&&(_+=e-A[k-4],x+=n-A[k-3]),e+=p[y++],n+=p[y++],d=l.Q,path.addData(d,_,x,e,n);break;case"A":w=p[y++],S=p[y++],M=p[y++],I=p[y++],T=p[y++],To(C=e,D=n,e=p[y++],n=p[y++],I,T,w,S,M,d=l.A,path);break;case"a":w=p[y++],S=p[y++],M=p[y++],I=p[y++],T=p[y++],To(C=e,D=n,e+=p[y++],n+=p[y++],I,T,w,S,M,d=l.A,path)}}"z"!==v&&"Z"!==v||(d=l.Z,path.addData(d),e=r,n=o),t=d}return path.toStatic(),path}(t);return(e=e||{}).buildPath=function(path){if(path.setData)path.setData(n.data),(t=path.getContext())&&path.rebuildPath(t);else{var t=path;n.rebuildPath(t)}},e.applyTransform=function(t){yo(n,t),this.dirty(!0)},e}function Ao(t,e){return new fo(ko(t,e))}var Po=function(t){Zi.call(this,t)};Po.prototype={constructor:Po,type:"text",brush:function(t,e){var style=this.style;this.__dirty&&Oi(style),style.fill=style.stroke=style.shadowBlur=style.shadowColor=style.shadowOffsetX=style.shadowOffsetY=null;var text=style.text;null!=text&&(text+=""),ji(text,style)?(this.setTransform(t),Ni(this,t,text,style,null,e),this.restoreTransform(t)):t.__attrCachedBy=Hn.NONE},getBoundingRect:function(){var style=this.style;if(this.__dirty&&Oi(style),!this._rect){var text=style.text;null!=text?text+="":text="";var rect=di(style.text+"",style.font,style.textAlign,style.textVerticalAlign,style.textPadding,style.textLineHeight,style.rich);if(rect.x+=style.x||0,rect.y+=style.y||0,Wi(style.textStroke,style.textStrokeWidth)){var t=style.textStrokeWidth;rect.x-=t/2,rect.y-=t/2,rect.width+=t,rect.height+=t}this._rect=rect}return this._rect}},R(Po,Zi);var Oo,Lo=fo.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),No=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]],Bo=fo.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:(Oo=fo.prototype.brush,f.browser.ie&&f.browser.version>=11?function(){var t,e=this.__clipPaths,style=this.style;if(e)for(var i=0;i<e.length;i++){var n=e[i],r=n&&n.shape,o=n&&n.type;if(r&&("sector"===o&&r.startAngle===r.endAngle||"rect"===o&&(!r.width||!r.height))){for(var l=0;l<No.length;l++)No[l][2]=style[No[l][0]],style[No[l][0]]=No[l][1];t=!0;break}}if(Oo.apply(this,arguments),t)for(l=0;l<No.length;l++)style[No[l][0]]=No[l][2]}:Oo),buildPath:function(t,e){var n=e.cx,r=e.cy,o=Math.max(e.r0||0,0),l=Math.max(e.r,0),h=e.startAngle,c=e.endAngle,d=e.clockwise,f=Math.cos(h),v=Math.sin(h);t.moveTo(f*o+n,v*o+r),t.lineTo(f*l+n,v*l+r),t.arc(n,r,l,h,c,!d),t.lineTo(Math.cos(c)*o+n,Math.sin(c)*o+r),0!==o&&t.arc(n,r,o,c,h,d),t.closePath()}}),Ro=fo.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,r=e.cy,o=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,o,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,o,!0)}});function Eo(t,e,n,r,o,l,h){var c=.5*(n-t),d=.5*(r-e);return(2*(e-n)+c+d)*h+(-3*(e-n)-2*c-d)*l+c*o+e}var zo=function(t,e){for(var n=t.length,r=[],o=0,i=1;i<n;i++)o+=It(t[i-1],t[i]);var l=o/2;for(l=l<n?n:l,i=0;i<l;i++){var h,c,d,f=i/(l-1)*(e?n:n-1),v=Math.floor(f),m=f-v,y=t[v%n];e?(h=t[(v-1+n)%n],c=t[(v+1)%n],d=t[(v+2)%n]):(h=t[0===v?v:v-1],c=t[v>n-2?n-1:v+1],d=t[v>n-3?n-1:v+2]);var _=m*m,x=m*_;r.push([Eo(h[0],y[0],c[0],d[0],m,_,x),Eo(h[1],y[1],c[1],d[1],m,_,x)])}return r},Fo=function(t,e,n,r){var o,l,h,c,d=[],f=[],v=[],m=[];if(r){h=[1/0,1/0],c=[-1/0,-1/0];for(var i=0,y=t.length;i<y;i++)At(h,h,t[i]),Pt(c,c,t[i]);At(h,h,r[0]),Pt(c,c,r[1])}for(i=0,y=t.length;i<y;i++){var _=t[i];if(n)o=t[i?i-1:y-1],l=t[(i+1)%y];else{if(0===i||i===y-1){d.push(mt(t[i]));continue}o=t[i-1],l=t[i+1]}sub(f,l,o),St(f,f,e);var x=It(_,o),w=It(_,l),S=x+w;0!==S&&(x/=S,w/=S),St(v,f,-x),St(m,f,w);var M=yt([],_,v),I=yt([],_,m);r&&(Pt(M,M,h),At(M,M,c),Pt(I,I,h),At(I,I,c)),d.push(M),d.push(I)}return n&&d.push(d.shift()),d};function Ho(t,e,n){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var l=Fo(r,o,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var h=r.length,i=0;i<(n?h:h-1);i++){var c=l[2*i],d=l[2*i+1],p=r[(i+1)%h];t.bezierCurveTo(c[0],c[1],d[0],d[1],p[0],p[1])}}else{"spline"===o&&(r=zo(r,n)),t.moveTo(r[0][0],r[0][1]),i=1;for(var f=r.length;i<f;i++)t.lineTo(r[i][0],r[i][1])}n&&t.closePath()}}var Vo=fo.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){Ho(t,e,!0)}}),Wo=fo.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){Ho(t,e,!1)}}),Go=Math.round;function Xo(t,e,style){var n=style&&style.lineWidth;if(e&&n){var r=e.x1,o=e.x2,l=e.y1,h=e.y2;Go(2*r)===Go(2*o)?t.x1=t.x2=jo(r,n,!0):(t.x1=r,t.x2=o),Go(2*l)===Go(2*h)?t.y1=t.y2=jo(l,n,!0):(t.y1=l,t.y2=h)}}function Yo(t,e,style){var n=style&&style.lineWidth;if(e&&n){var r=e.x,o=e.y,l=e.width,h=e.height;t.x=jo(r,n,!0),t.y=jo(o,n,!0),t.width=Math.max(jo(r+l,n,!1)-t.x,0===l?0:1),t.height=Math.max(jo(o+h,n,!1)-t.y,0===h?0:1)}}function jo(t,e,n){var r=Go(2*t);return(r+Go(e))%2==0?r/2:(r+(n?1:-1))/2}var Uo={},qo=fo.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,r,o,l;this.subPixelOptimize?(Yo(Uo,e,this.style),n=Uo.x,r=Uo.y,o=Uo.width,l=Uo.height,Uo.r=e.r,e=Uo):(n=e.x,r=e.y,o=e.width,l=e.height),e.r?Ii(t,e):t.rect(n,r,o,l),t.closePath()}}),Zo={},Ko=fo.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,r,o,l;this.subPixelOptimize?(Xo(Zo,e,this.style),n=Zo.x1,r=Zo.y1,o=Zo.x2,l=Zo.y2):(n=e.x1,r=e.y1,o=e.x2,l=e.y2);var h=e.percent;0!==h&&(t.moveTo(n,r),h<1&&(o=n*(1-h)+o*h,l=r*(1-h)+l*h),t.lineTo(o,l))},pointAt:function(p){var t=this.shape;return[t.x1*(1-p)+t.x2*p,t.y1*(1-p)+t.y2*p]}}),$o=[];function Qo(t,e,n){var r=t.cpx2,o=t.cpy2;return null===r||null===o?[(n?ca:ua)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?ca:ua)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?ga:pa)(t.x1,t.cpx1,t.x2,e),(n?ga:pa)(t.y1,t.cpy1,t.y2,e)]}var Jo=fo.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,r=e.y1,o=e.x2,l=e.y2,h=e.cpx1,c=e.cpy1,d=e.cpx2,f=e.cpy2,v=e.percent;0!==v&&(t.moveTo(n,r),null==d||null==f?(v<1&&(ma(n,h,o,v,$o),h=$o[1],o=$o[2],ma(r,c,l,v,$o),c=$o[1],l=$o[2]),t.quadraticCurveTo(h,c,o,l)):(v<1&&(fa(n,h,d,o,v,$o),h=$o[1],d=$o[2],o=$o[3],fa(r,c,f,l,v,$o),c=$o[1],f=$o[2],l=$o[3]),t.bezierCurveTo(h,c,d,f,o,l)))},pointAt:function(t){return Qo(this.shape,t,!1)},tangentAt:function(t){var p=Qo(this.shape,t,!0);return Mt(p,p)}}),ts=fo.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,r=e.cy,o=Math.max(e.r,0),l=e.startAngle,h=e.endAngle,c=e.clockwise,d=Math.cos(l),f=Math.sin(l);t.moveTo(d*o+n,f*o+r),t.arc(n,r,o,l,h,!c)}}),es=fo.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],i=0;i<t.length;i++)t[i].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),fo.prototype.getBoundingRect.call(this)}}),ns=function(t){this.colorStops=t||[]};ns.prototype={constructor:ns,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var is=function(t,e,n,r,o,l){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=l||!1,ns.call(this,o)};is.prototype={constructor:is},R(is,ns);var rs=function(t,e,n,r,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,ns.call(this,r)};function as(t){Zi.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}rs.prototype={constructor:rs},R(rs,ns),as.prototype.incremental=!0,as.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},as.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},as.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},as.prototype.eachPendingDisplayable=function(t){for(var i=this._cursor;i<this._displayables.length;i++)t&&t(this._displayables[i]);for(i=0;i<this._temporaryDisplayables.length;i++)t&&t(this._temporaryDisplayables[i])},as.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;i++)(t=this._displayables[i]).parent=this,t.update(),t.parent=null;for(i=0;i<this._temporaryDisplayables.length;i++){var t;(t=this._temporaryDisplayables[i]).parent=this,t.update(),t.parent=null}},as.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++)(n=this._displayables[i]).beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t);for(this._cursor=i,i=0;i<this._temporaryDisplayables.length;i++){var n;(n=this._temporaryDisplayables[i]).beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var os=[];as.prototype.getBoundingRect=function(){if(!this._rect){for(var rect=new Tn(1/0,1/0,-1/0,-1/0),i=0;i<this._displayables.length;i++){var t=this._displayables[i],e=t.getBoundingRect().clone();t.needLocalTransform()&&e.applyTransform(t.getLocalTransform(os)),rect.union(e)}this._rect=rect}return this._rect},as.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0;return!1},R(as,Zi);var ss=Math.max,ls=Math.min,hs={},us=1,cs="emphasis",ds="normal",fs=1,ps={},gs={};function vs(t){return fo.extend(t)}function ms(t,e){gs[t]=e}function ys(t,e,rect,n){var path=Ao(t,e);return rect&&("center"===n&&(rect=xs(rect,path.getBoundingRect())),bs(path,rect)),path}function _s(t,rect,e){var path=new Ki({style:{image:t,x:rect.x,y:rect.y,width:rect.width,height:rect.height},onload:function(img){if("center"===e){var t={width:img.width,height:img.height};path.setStyle(xs(rect,t))}}});return path}function xs(rect,t){var e,n=t.width/t.height,r=rect.height*n;return e=r<=rect.width?rect.height:(r=rect.width)/n,{x:rect.x+rect.width/2-r/2,y:rect.y+rect.height/2-e/2,width:r,height:e}}var ws=function(t,e){for(var n=[],r=t.length,i=0;i<r;i++){var o=t[i];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}var l=new fo(e);return l.createPathProxy(),l.buildPath=function(path){path.appendPath(n);var t=path.getContext();t&&path.rebuildPath(t)},l};function bs(path,rect){if(path.applyTransform){var t=path.getBoundingRect().calculateTransform(rect);path.applyTransform(t)}}var Ss=jo;function Ms(t){return null!=t&&"none"!==t}var Is=ut(),Ts=0;function Cs(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,r=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=r?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var o=t,l=t.style;r&&(l=(o=n.addHover(t)).style),Us(l),r||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var r=t.style;for(var o in e)null!=e[o]&&(n[o]=r[o]);n.fill=r.fill,n.stroke=r.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(o),l.extendFrom(e),Ds(l,e,"fill"),Ds(l,e,"stroke"),js(l),r||(t.dirty(!1),t.z2+=us)}}}function Ds(t,e,n){!Ms(e[n])&&Ms(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=Is.get(t);return e||(e=Ge(t,-.1),Ts<1e4&&(Is.set(t,e),Ts++)),e}(t[n]))}function ks(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var style=t.style,n=t.__cachedNormalStl;n&&(Us(style),t.setStyle(n),js(style));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===us&&(t.z2=r)}}function As(t,e,n){var r,o=ds,l=ds;t.__highlighted&&(o=cs,r=!0),e(t,n),t.__highlighted&&(l=cs,r=!0),t.isGroup&&t.traverse(function(t){!t.isGroup&&e(t,n)}),r&&t.__highDownOnUpdate&&t.__highDownOnUpdate(o,l)}function Ps(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,ks(t),Cs(t))}function Os(t){!Rs(this,t)&&!this.__highByOuter&&As(this,Cs)}function Ls(t){!Rs(this,t)&&!this.__highByOuter&&As(this,ks)}function Ns(t){this.__highByOuter|=1<<(t||0),As(this,Cs)}function Bs(t){!(this.__highByOuter&=~(1<<(t||0)))&&As(this,ks)}function Rs(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Es(t,e){zs(t,!0),As(t,Ps,e)}function zs(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var r=n?"off":"on";t[r]("mouseover",Os)[r]("mouseout",Ls),t[r]("emphasis",Ns)[r]("normal",Bs),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function Fs(t){return!(!t||!t.__highDownDispatcher)}function Hs(t){var e=ps[t];return null==e&&fs<=32&&(e=ps[t]=fs++),e}function Vs(t,e,n,r,o,l,h){var c,d=(o=o||hs).labelFetcher,f=o.labelDataIndex,v=o.labelDimIndex,m=n.getShallow("show"),y=r.getShallow("show");(m||y)&&(d&&(c=d.getFormattedLabel(f,"normal",null,v)),null==c&&(c=X(o.defaultText)?o.defaultText(f,o):o.defaultText));var _=m?c:null,x=y?J(d?d.getFormattedLabel(f,"emphasis",null,v):null,c):null;null==_&&null==x||(Ws(t,n,l,o),Ws(e,r,h,o,!0)),t.text=_,e.text=x}function Ws(t,e,n,r,o){return Gs(t,e,r,o),n&&A(t,n),t}function Gs(t,e,n,r){if((n=n||hs).isRectText){var o;n.getTextPosition?o=n.getTextPosition(e,r):"outside"===(o=e.getShallow("position")||(r?null:"inside"))&&(o="top"),t.textPosition=o,t.textOffset=e.getShallow("offset");var l=e.getShallow("rotate");null!=l&&(l*=Math.PI/180),t.textRotation=l,t.textDistance=J(e.getShallow("distance"),r?null:5)}var h,c=e.ecModel,d=c&&c.option.textStyle,f=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||hs).rich;if(n)for(var r in e=e||{},n)n.hasOwnProperty(r)&&(e[r]=1);t=t.parentModel}return e}(e);if(f)for(var v in h={},f)if(f.hasOwnProperty(v)){var m=e.getModel(["rich",v]);Xs(h[v]={},m,d,n,r)}return t.rich=h,Xs(t,e,d,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function Xs(t,e,n,r,o,l){n=!o&&n||hs,t.textFill=Ys(e.getShallow("color"),r)||n.color,t.textStroke=Ys(e.getShallow("textBorderColor"),r)||n.textBorderColor,t.textStrokeWidth=J(e.getShallow("textBorderWidth"),n.textBorderWidth),o||(l&&(t.insideRollbackOpt=r,js(t)),null==t.textFill&&(t.textFill=r.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),l&&r.disableBox||(t.textBackgroundColor=Ys(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=Ys(e.getShallow("borderColor"),r),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function Ys(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function js(t){var e,n=t.textPosition,r=t.insideRollbackOpt;if(r&&null==t.textFill){var o=r.autoColor,l=r.isRectText,h=r.useInsideStyle,c=!1!==h&&(!0===h||l&&n&&"string"==typeof n&&n.indexOf("inside")>=0),d=!c&&null!=o;(c||d)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),c&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=o,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),d&&(t.textFill=o)}t.insideRollback=e}function Us(style){var t=style.insideRollback;t&&(style.textFill=t.textFill,style.textStroke=t.textStroke,style.textStrokeWidth=t.textStrokeWidth,style.insideRollback=null)}function qs(t,e){var n=e||e.getModel("textStyle");return at([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function Zs(t,e,n,r,o,l){if("function"==typeof o&&(l=o,o=null),r&&r.isAnimationEnabled()){var h=t?"Update":"",c=r.getShallow("animationDuration"+h),d=r.getShallow("animationEasing"+h),f=r.getShallow("animationDelay"+h);"function"==typeof f&&(f=f(o,r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null)),"function"==typeof c&&(c=c(o)),c>0?e.animateTo(n,c,f||0,d,l,!!l):(e.stopAnimation(),e.attr(n),l&&l())}else e.stopAnimation(),e.attr(n),l&&l()}function Ks(t,e,n,r,o){Zs(!0,t,e,n,r,o)}function $s(t,e,n,r,o){Zs(!1,t,e,n,r,o)}function Qs(t,e,n){return e&&!z(e)&&(e=me.getLocalTransform(e)),n&&(e=de([],e)),kt([],t,e)}function Js(t,e,rect){var style=(e=A({rectHover:!0},e)).style={strokeNoScale:!0};if(rect=rect||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(style.image=t.slice(8),P(style,rect),new Ki(e)):ys(t.replace("path://",""),e,rect,"center")}function tl(t,e,n,r,o,l,h,c){var d,f=n-t,v=r-e,m=h-o,y=c-l,_=el(m,y,f,v);if((d=_)<=1e-6&&d>=-1e-6)return!1;var x=t-o,w=e-l,q=el(x,w,f,v)/_;if(q<0||q>1)return!1;var p=el(x,w,m,y)/_;return!(p<0||p>1)}function el(t,e,n,r){return t*r-n*e}ms("circle",Lo),ms("sector",Bo),ms("ring",Ro),ms("polygon",Vo),ms("polyline",Wo),ms("rect",qo),ms("line",Ko),ms("bezierCurve",Jo),ms("arc",ts);var nl=(Object.freeze||Object)({Z2_EMPHASIS_LIFT:us,CACHED_LABEL_STYLE_PROPERTIES:{color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},extendShape:vs,extendPath:function(t,e){return function(t,e){return fo.extend(ko(t,e))}(t,e)},registerShape:ms,getShapeClass:function(t){if(gs.hasOwnProperty(t))return gs[t]},makePath:ys,makeImage:_s,mergePath:ws,resizePath:bs,subPixelOptimizeLine:function(param){return Xo(param.shape,param.shape,param.style),param},subPixelOptimizeRect:function(param){return Yo(param.shape,param.shape,param.style),param},subPixelOptimize:Ss,setElementHoverStyle:Ps,setHoverStyle:Es,setAsHighDownDispatcher:zs,isHighDownDispatcher:Fs,getHighlightDigit:Hs,setLabelStyle:Vs,modifyLabelStyle:function(t,e,n){var r=t.style;e&&(Us(r),t.setStyle(e),js(r)),r=t.__hoverStl,n&&r&&(Us(r),A(r,n),js(r))},setTextStyle:Ws,setText:function(t,e,n){var r,o={isRectText:!0};!1===n?r=!0:o.autoColor=n,Gs(t,e,o,r)},getFont:qs,updateProps:Ks,initProps:$s,getTransform:function(t,e){for(var n=oe([]);t&&t!==e;)le(n,t.getLocalTransform(),n),t=t.parent;return n},applyTransform:Qs,transformDirection:function(t,e,n){var r=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]),l=["left"===t?-r:"right"===t?r:0,"top"===t?-o:"bottom"===t?o:0];return l=Qs(l,e,n),Math.abs(l[0])>Math.abs(l[1])?l[0]>0?"right":"left":l[1]>0?"bottom":"top"},groupTransition:function(t,e,n,r){if(t&&e){var o,l=(o={},t.traverse(function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)}),o);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=l[t.anid];if(e){var r=h(t);t.attr(h(e)),Ks(t,r,n,t.dataIndex)}}})}function h(t){var e={position:mt(t.position),rotation:t.rotation};return t.shape&&(e.shape=A({},t.shape)),e}},clipPointsByRect:function(t,rect){return map(t,function(t){var e=t[0];e=ss(e,rect.x),e=ls(e,rect.x+rect.width);var n=t[1];return n=ss(n,rect.y),[e,n=ls(n,rect.y+rect.height)]})},clipRectByRect:function(t,rect){var e=ss(t.x,rect.x),n=ls(t.x+t.width,rect.x+rect.width),r=ss(t.y,rect.y),o=ls(t.y+t.height,rect.y+rect.height);if(n>=e&&o>=r)return{x:e,y:r,width:n-e,height:o-r}},createIcon:Js,linePolygonIntersect:function(t,e,n,r,o){for(var i=0,l=o[o.length-1];i<o.length;i++){var p=o[i];if(tl(t,e,n,r,p[0],p[1],l[0],l[1]))return!0;l=p}},lineLineIntersect:tl,Group:Cn,Image:Ki,Text:Po,Circle:Lo,Sector:Bo,Ring:Ro,Polygon:Vo,Polyline:Wo,Rect:qo,Line:Ko,BezierCurve:Jo,Arc:ts,IncrementalDisplayable:as,CompoundPath:es,LinearGradient:is,RadialGradient:rs,BoundingRect:Tn}),il=["textStyle","color"],rl={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(il):null)},getFont:function(){return qs({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(text){return di(text,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}},al=qr([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),sl={getItemStyle:function(t,e){var style=al(this,t,e),n=this.getBorderLineDash();return n&&(style.lineDash=n),style},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}},ll=E,hl=Lr();function cl(option,t,e){this.parentModel=t,this.ecModel=e,this.option=option}function fl(t,e,n){for(var i=0;i<e.length&&(!e[i]||null!=(t=t&&"object"==typeof t?t[e[i]]:null));i++);return null==t&&n&&(t=n.get(e)),t}function pl(t,path){var e=hl(t).getParent;return e?e.call(t,path):t.parentModel}cl.prototype={constructor:cl,init:null,mergeOption:function(option){k(this.option,option,!0)},get:function(path,t){return null==path?this.option:fl(this.option,this.parsePath(path),!t&&pl(this,path))},getShallow:function(t,e){var option=this.option,n=null==option?option:option[t],r=!e&&pl(this,t);return null==n&&r&&(n=r.getShallow(t)),n},getModel:function(path,t){var e;return new cl(null==path?this.option:fl(this.option,path=this.parsePath(path)),t=t||(e=pl(this,path))&&e.getModel(path),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(D(this.option))},setReadOnly:function(t){},parsePath:function(path){return"string"==typeof path&&(path=path.split(".")),path},customizeGetParent:function(t){hl(this).getParent=t},isAnimationEnabled:function(){if(!f.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},Wr(cl),Xr(cl),ll(cl,Kr),ll(cl,Qr),ll(cl,rl),ll(cl,sl);var base=0;function gl(t){return[t||"",base++,Math.random().toFixed(5)].join("_")}var vl=1e-4;function ml(t,e,n,r){var o=e[1]-e[0],l=n[1]-n[0];if(0===o)return 0===l?n[0]:(n[0]+n[1])/2;if(r)if(o>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/o*l+n[0]}function yl(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?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function _l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function xl(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var o=e.indexOf(".");return o<0?0:e.length-1-o}function wl(t,e){var n=Math.log,r=Math.LN10,o=Math.floor(n(t[1]-t[0])/r),l=Math.round(n(Math.abs(e[1]-e[0]))/r),h=Math.min(Math.max(-o+l,0),20);return isFinite(h)?h:20}function bl(t){var e=2*Math.PI;return(t%e+e)%e}function Sl(t){return t>-vl&&t<vl}var Ml=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Il(t){if(t instanceof Date)return t;if("string"==typeof t){var e=Ml.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(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 Tl(t){return Math.pow(10,Cl(t))}function Cl(t){return Math.floor(Math.log(t)/Math.LN10)}function Dl(t,e){var n=Cl(t),r=Math.pow(10,n),o=t/r;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}var kl=(Object.freeze||Object)({linearMap:ml,parsePercent:yl,round:_l,asc:function(t){return t.sort(function(a,b){return a-b}),t},getPrecision:function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},getPrecisionSafe:xl,getPixelPrecision:wl,getPercentWithPrecision:function(t,e,n){if(!t[e])return 0;var r=H(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return 0;for(var o=Math.pow(10,n),l=map(t,function(t){return(isNaN(t)?0:t)/r*o*100}),h=100*o,c=map(l,function(t){return Math.floor(t)}),d=H(c,function(t,e){return t+e},0),f=map(l,function(t,e){return t-c[e]});d<h;){for(var v=Number.NEGATIVE_INFINITY,m=null,i=0,y=f.length;i<y;++i)f[i]>v&&(v=f[i],m=i);++c[m],f[m]=0,++d}return c[e]/o},MAX_SAFE_INTEGER:9007199254740991,remRadian:bl,isRadianAroundZero:Sl,parseDate:Il,quantity:Tl,nice:Dl,quantile:function(t,p){var e=(t.length-1)*p+1,n=Math.floor(e),r=+t[n-1],o=e-n;return o?r+o*(t[n]-r):r},reformIntervals:function(t){t.sort(function(a,b){return function t(a,b,e){return a.interval[e]<b.interval[e]||a.interval[e]===b.interval[e]&&(a.close[e]-b.close[e]==(e?-1:1)||!e&&t(a,b,1))}(a,b,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,l=0;l<2;l++)r[l]<=e&&(r[l]=e,o[l]=l?1:1-n),e=r[l],n=o[l];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t},isNumeric:function(t){return t-parseFloat(t)>=0}});function Al(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Pl(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Ol=nt,Ll=/([&<>"'])/g,Nl={"&":"&","<":"<",">":">",'"':""","'":"'"};function Bl(source){return null==source?"":(source+"").replace(Ll,function(t,e){return Nl[e]})}var Rl=["a","b","c","d","e","f","g"],El=function(t,e){return"{"+t+(null==e?"":e)+"}"};function zl(t,e,n){G(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],i=0;i<o.length;i++){var l=Rl[i];t=t.replace(El(l),El(l,0))}for(var h=0;h<r;h++)for(var c=0;c<o.length;c++){var d=e[h][o[c]];t=t.replace(El(Rl[c],h),n?Bl(d):d)}return t}function Fl(t,e){var n=(t=Y(t)?{color:t,extraCssText:e}:t||{}).color,r=t.type,o=(e=t.extraCssText,t.renderMode||"html"),l=t.markerId||"X";return n?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Bl(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+Bl(n)+";"+(e||"")+'"></span>':{renderMode:o,content:"{marker"+l+"|} ",style:{color:n}}:""}function Hl(t,e){return"0000".substr(0,e-(t+="").length)+t}function Vl(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=Il(e),o=n?"UTC":"",l=r["get"+o+"FullYear"](),h=r["get"+o+"Month"]()+1,c=r["get"+o+"Date"](),d=r["get"+o+"Hours"](),f=r["get"+o+"Minutes"](),s=r["get"+o+"Seconds"](),v=r["get"+o+"Milliseconds"]();return t=t.replace("MM",Hl(h,2)).replace("M",h).replace("yyyy",l).replace("yy",l%100).replace("dd",Hl(c,2)).replace("d",c).replace("hh",Hl(d,2)).replace("h",d).replace("mm",Hl(f,2)).replace("m",f).replace("ss",Hl(s,2)).replace("s",s).replace("SSS",Hl(v,3))}var Wl=vi,Gl=(Object.freeze||Object)({addCommas:Al,toCamelCase:Pl,normalizeCssArray:Ol,encodeHTML:Bl,formatTpl:zl,formatTplSimple:function(t,param,e){return F(param,function(n,r){t=t.replace("{"+r+"}",e?Bl(n):n)}),t},getTooltipMarker:Fl,formatTime:Vl,capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:Wl,getTextBoundingRect:function(t){return di(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},getTextRect:function(text,t,e,n,r,o,l,h){return di(text,t,e,n,r,h,o,l)}}),Xl=F,Yl=["left","right","top","bottom","width","height"],jl=[["width","left","right"],["height","top","bottom"]];function Ul(t,e,n,r,o){var l=0,h=0;null==r&&(r=1/0),null==o&&(o=1/0);var c=0;e.eachChild(function(d,f){var v,m,y=d.position,rect=d.getBoundingRect(),_=e.childAt(f+1),x=_&&_.getBoundingRect();if("horizontal"===t){var w=rect.width+(x?-x.x+rect.x:0);(v=l+w)>r||d.newline?(l=0,v=w,h+=c+n,c=rect.height):c=Math.max(c,rect.height)}else{var S=rect.height+(x?-x.y+rect.y:0);(m=h+S)>o||d.newline?(l+=c+n,h=0,m=S,c=rect.width):c=Math.max(c,rect.width)}d.newline||(y[0]=l,y[1]=h,"horizontal"===t?l=v+n:h=m+n)})}var ql=Ul;function Zl(t,e,n){n=Ol(n||0);var r=e.width,o=e.height,l=yl(t.left,r),h=yl(t.top,o),c=yl(t.right,r),d=yl(t.bottom,o),f=yl(t.width,r),v=yl(t.height,o),m=n[2]+n[0],y=n[1]+n[3],_=t.aspect;switch(isNaN(f)&&(f=r-c-y-l),isNaN(v)&&(v=o-d-m-h),null!=_&&(isNaN(f)&&isNaN(v)&&(_>r/o?f=.8*r:v=.8*o),isNaN(f)&&(f=_*v),isNaN(v)&&(v=f/_)),isNaN(l)&&(l=r-c-f-y),isNaN(h)&&(h=o-d-v-m),t.left||t.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-y}switch(t.top||t.bottom){case"middle":case"center":h=o/2-v/2-n[0];break;case"bottom":h=o-v-m}l=l||0,h=h||0,isNaN(f)&&(f=r-y-l-(c||0)),isNaN(v)&&(v=o-m-h-(d||0));var rect=new Tn(l+n[3],h+n[0],f,v);return rect.margin=n,rect}function Kl(t,e,n){!j(n)&&(n={});var r=n.ignoreSize;!G(r)&&(r=[r,r]);var o=h(jl[0],0),l=h(jl[1],1);function h(n,o){var l={},h=0,f={},v=0;if(Xl(n,function(e){f[e]=t[e]}),Xl(n,function(t){c(e,t)&&(l[t]=f[t]=e[t]),d(l,t)&&h++,d(f,t)&&v++}),r[o])return d(e,n[1])?f[n[2]]=null:d(e,n[2])&&(f[n[1]]=null),f;if(2!==v&&h){if(h>=2)return l;for(var i=0;i<n.length;i++){var m=n[i];if(!c(l,m)&&c(t,m)){l[m]=t[m];break}}return l}return f}function c(t,e){return t.hasOwnProperty(e)}function d(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,source){Xl(t,function(t){e[t]=source[t]})}f(jl[0],t,o),f(jl[1],t,l)}function $l(source){return function(t,source){return source&&t&&Xl(Yl,function(e){source.hasOwnProperty(e)&&(t[e]=source[e])}),t}({},source)}W(Ul,"vertical"),W(Ul,"horizontal");var Ql,Jl,eh=Lr(),nh=cl.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(option,t,e,n){cl.call(this,option,t,e,n),this.uid=gl("ec_cpt_model")},init:function(option,t,e,n){this.mergeDefaultAndTheme(option,e)},mergeDefaultAndTheme:function(option,t){var e=this.layoutMode,n=e?$l(option):{};k(option,t.getTheme().get(this.mainType)),k(option,this.getDefaultOption()),e&&Kl(option,n,e)},mergeOption:function(option,t){k(this.option,option,!0);var e=this.layoutMode;e&&Kl(this.option,option,e)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=eh(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var r=n.prototype.defaultOption;r&&e.push(r),n=n.superClass}for(var o={},i=e.length-1;i>=0;i--)o=k(o,e[i],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});Ur(nh,{registerWhenExtend:!0}),Jl={},(Ql=nh).registerSubTypeDefaulter=function(t,e){t=Vr(t),Jl[t.main]=e},Ql.determineSubType=function(t,option){var e=option.type;if(!e){var n=Vr(t).main;Ql.hasSubTypes(t)&&Jl[n]&&(e=Jl[n](option))}return e},function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,r,o,l){if(t.length){var h=function(t){var r={},o=[];return F(t,function(l){var h=n(r,l),c=function(t,e){var n=[];return F(t,function(t){B(e,t)>=0&&n.push(t)}),n}(h.originalDeps=e(l),t);h.entryCount=c.length,0===h.entryCount&&o.push(l),F(c,function(t){B(h.predecessor,t)<0&&h.predecessor.push(t);var e=n(r,t);B(e.successor,t)<0&&e.successor.push(l)})}),{graph:r,noEntryList:o}}(r),c=h.graph,d=h.noEntryList,f={};for(F(t,function(t){f[t]=!0});d.length;){var v=d.pop(),m=c[v],y=!!f[v];y&&(o.call(l,v,m.originalDeps.slice()),delete f[v]),F(m.successor,y?x:_)}F(f,function(){throw new Error("Circle dependency may exists")})}function _(t){c[t].entryCount--,0===c[t].entryCount&&d.push(t)}function x(t){f[t]=!0,_(t)}}}(nh,function(t){var e=[];return F(nh.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=map(e,function(t){return Vr(t).main}),"dataset"!==t&&B(e,"dataset")<=0&&e.unshift("dataset"),e}),E(nh,{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}});var ih="";"undefined"!=typeof navigator&&(ih=navigator.platform||"");var rh={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:ih.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},ah=Lr(),oh={clearColorPalette:function(){ah(this).colorIdx=0,ah(this).colorNameMap={}},getColorFromPalette:function(t,e,n){var r=ah(e=e||this),o=r.colorIdx||0,l=r.colorNameMap=r.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var h=Ir(this.get("color",!0)),c=this.get("colorLayer",!0),d=null!=n&&c?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(c,n):h;if((d=d||h)&&d.length){var f=d[o];return t&&(l[t]=f),r.colorIdx=(o+1)%d.length,f}}};function sh(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:ut(),categoryAxisMap:ut()},r=lh[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var lh={cartesian2d:function(t,e,n,r){var o=t.getReferringComponents("xAxis")[0],l=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",o),n.set("y",l),hh(o)&&(r.set("x",o),e.firstCategoryDimIndex=0),hh(l)&&(r.set("y",l),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,r){var o=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",o),hh(o)&&(r.set("single",o),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var o=t.getReferringComponents("polar")[0],l=o.findAxisModel("radiusAxis"),h=o.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",l),n.set("angle",h),hh(l)&&(r.set("radius",l),e.firstCategoryDimIndex=0),hh(h)&&(r.set("angle",h),e.firstCategoryDimIndex=1)},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,l=o.getComponent("parallel",t.get("parallelIndex")),h=e.coordSysDims=l.dimensions.slice();F(l.parallelAxisIndex,function(t,l){var c=o.getComponent("parallelAxis",t),d=h[l];n.set(d,c),hh(c)&&null==e.firstCategoryDimIndex&&(r.set(d,c),e.firstCategoryDimIndex=l)})}};function hh(t){return"category"===t.get("type")}var uh="original",ch="arrayRows",dh="objectRows",fh="keyedColumns",ph="unknown",gh="typedArray",vh="column",mh="row";function yh(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===fh?{}:[]),this.sourceFormat=t.sourceFormat||ph,this.seriesLayoutBy=t.seriesLayoutBy||vh,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&ut(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}yh.seriesDataToSource=function(data){return new yh({data:data,sourceFormat:Z(data)?gh:uh,fromDataset:!1})},Xr(yh);var _h=Lr();function xh(t){var e=t.option,data=e.data,n=Z(data)?gh:uh,r=!1,o=e.seriesLayoutBy,l=e.sourceHeader,h=e.dimensions,c=function(t){var option=t.option;if(!option.data)return t.ecModel.getComponent("dataset",option.datasetIndex||0)}(t);if(c){var d=c.option;data=d.source,n=_h(c).sourceFormat,r=!0,o=o||d.seriesLayoutBy,null==l&&(l=d.sourceHeader),h=h||d.dimensions}var f=function(data,t,e,n,r){if(!data)return{dimensionsDefine:wh(r)};var o,l,h,c;if(t===ch)"auto"===n||null==n?bh(function(t){null!=t&&"-"!==t&&(Y(t)?null==l&&(l=1):l=0)},e,data,10):l=n?1:0,r||1!==l||(r=[],bh(function(t,e){r[e]=null!=t?t:""},e,data)),o=r?r.length:e===mh?data.length:data[0]?data[0].length:null;else if(t===dh)r||(r=function(data){for(var t,e=0;e<data.length&&!(t=data[e++]););if(t){var n=[];return F(t,function(t,e){n.push(e)}),n}}(data),h=!0);else if(t===fh)r||(r=[],h=!0,F(data,function(t,e){r.push(e)}));else if(t===uh){var d=Dr(data[0]);o=G(d)&&d.length||1}return h&&F(r,function(t,e){"name"===(j(t)?t.name:t)&&(c=e)}),{startIndex:l,dimensionsDefine:wh(r),dimensionsDetectCount:o,potentialNameDimIndex:c}}(data,n,o,l,h),v=e.encode;!v&&c&&(v=function(t,e,data,n,r,o){var l=sh(t),h={},c=[],d=[],f=t.subType,v=ut(["pie","map","funnel"]),m=ut(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(l&&null!=m.get(f)){var y=t.ecModel,_=_h(y).datasetMap,x=e.uid+"_"+r,w=_.get(x)||_.set(x,{categoryWayDim:1,valueWayDim:0});F(l.coordSysDims,function(t){if(null==l.firstCategoryDimIndex){var e=w.valueWayDim++;h[t]=e,d.push(e)}else l.categoryAxisMap.get(t)?(h[t]=0,c.push(0)):(e=w.categoryWayDim++,h[t]=e,d.push(e))})}else if(null!=v.get(f)){for(var S,i=0;i<5&&null==S;i++)Mh(data,n,r,o.dimensionsDefine,o.startIndex,i)||(S=i);if(null!=S){h.value=S;var M=o.potentialNameDimIndex||Math.max(S-1,0);d.push(M),c.push(M)}}return c.length&&(h.itemName=c),d.length&&(h.seriesName=d),h}(t,c,data,n,o,f)),_h(t).source=new yh({data:data,fromDataset:r,seriesLayoutBy:o,sourceFormat:n,dimensionsDefine:f.dimensionsDefine,startIndex:f.startIndex,dimensionsDetectCount:f.dimensionsDetectCount,encodeDefine:v})}function wh(t){if(t){var e=ut();return map(t,function(t,n){if(null==(t=A({},j(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var r=e.get(t.name);return r?t.name+="-"+r.count++:e.set(t.name,{count:1}),t})}}function bh(t,e,data,n){if(null==n&&(n=1/0),e===mh)for(var i=0;i<data.length&&i<n;i++)t(data[i]?data[i][0]:null,i);else{var r=data[0]||[];for(i=0;i<r.length&&i<n;i++)t(r[i],i)}}function Sh(source,t){return Mh(source.data,source.sourceFormat,source.seriesLayoutBy,source.dimensionsDefine,source.startIndex,t)}function Mh(data,t,e,n,r,o){var l,h;if(Z(data))return!1;if(n&&(h=j(h=n[o])?h.name:h),t===ch)if(e===mh){for(var c=data[o],i=0;i<(c||[]).length&&i<5;i++)if(null!=(l=m(c[r+i])))return l}else for(i=0;i<data.length&&i<5;i++){var d=data[r+i];if(d&&null!=(l=m(d[o])))return l}else if(t===dh){if(!h)return;for(i=0;i<data.length&&i<5;i++)if((f=data[i])&&null!=(l=m(f[h])))return l}else if(t===fh){if(!h)return;if(!(c=data[h])||Z(c))return!1;for(i=0;i<c.length&&i<5;i++)if(null!=(l=m(c[i])))return l}else if(t===uh)for(i=0;i<data.length&&i<5;i++){var f,v=Dr(f=data[i]);if(!G(v))return!1;if(null!=(l=m(v[o])))return l}function m(t){return(null==t||!isFinite(t)||""===t)&&(!(!Y(t)||"-"===t)||void 0)}return!1}var Ih="\0_ec_inner",Th=cl.extend({init:function(option,t,e,n){e=e||{},this.option=null,this._theme=new cl(e),this._optionManager=n},setOption:function(option,t){it(!(Ih in option),"please use chart.getOption()"),this._optionManager.setOption(option,t),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(r)):function(t){t=t,this.option={},this.option[Ih]=1,this._componentsMap=ut({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(option,t){var e=option.color&&!option.colorLayer;F(t,function(t,n){"colorLayer"===n&&e||nh.hasClass(n)||("object"==typeof t?option[n]=option[n]?k(option[n],t,!1):D(t):null==option[n]&&(option[n]=t))})}(t,this._theme.option),k(t,rh,!1),this.mergeOption(t)}.call(this,r),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(this.mergeOption(o),e=!0)}if(!t||"recreate"===t||"media"===t){var l=n.getMediaOption(this,this._api);l.length&&F(l,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var option=this.option,e=this._componentsMap,n=[];_h(this).datasetMap=ut(),F(t,function(t,e){null!=t&&(nh.hasClass(e)?e&&n.push(e):option[e]=null==option[e]?D(t):k(option[e],t,!0))}),nh.topologicalTravel(n,nh.getAllClassMainTypes(),function(n,r){var o=Ir(t[n]),l=kr(e.get(n),o);(function(t){var e=ut();xr(t,function(t,n){var r=t.exist;r&&e.set(r.id,t)}),xr(t,function(t,n){var r=t.option;it(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),xr(t,function(t,n){var r=t.exist,o=t.option,l=t.keyInfo;if(wr(o)){if(l.name=null!=o.name?o.name+"":r?r.name:Mr+n,r)l.id=r.id;else if(null!=o.id)l.id=o.id+"";else{var h=0;do{l.id="\0"+l.name+"\0"+h++}while(e.get(l.id))}e.set(l.id,t)}})})(l),F(l,function(t,e){var r=t.option;j(r)&&(t.keyInfo.mainType=n,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:nh.determineSubType(t,e)}(n,r,t.exist))});var h=function(t,e){G(e)||(e=e?[e]:[]);var n={};return F(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}(e,r);option[n]=[],e.set(n,[]),F(l,function(t,r){var o=t.exist,l=t.option;if(it(j(l)||o,"Empty component definition"),l){var c=nh.getClass(n,t.keyInfo.subType,!0);if(o&&o instanceof c)o.name=t.keyInfo.name,o.mergeOption(l,this),o.optionUpdated(l,!1);else{var d=A({dependentModels:h,componentIndex:r},t.keyInfo);A(o=new c(l,this,this,d),d),o.init(l,this,this,d),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);e.get(n)[r]=o,option[n][r]=o.option},this),"series"===n&&Ch(this,e.get("series"))},this),this._seriesIndicesMap=ut(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var option=D(this.option);return F(option,function(t,e){if(nh.hasClass(e)){for(var i=(t=Ir(t)).length-1;i>=0;i--)Pr(t[i])&&t.splice(i,1);option[e]=t}}),delete option[Ih],option},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,o=t.id,l=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=r)G(r)||(r=[r]),n=filter(map(r,function(t){return h[t]}),function(t){return!!t});else if(null!=o){var c=G(o);n=filter(h,function(t){return c&&B(o,t.id)>=0||!c&&t.id===o})}else if(null!=l){var d=G(l);n=filter(h,function(t){return d&&B(l,t.name)>=0||!d&&t.name===l})}else n=h.slice();return Dh(n,t)},findComponents:function(t){var q,e,n,r,o,l=t.query,h=t.mainType,c=(e=h+"Index",n=h+"Id",r=h+"Name",!(q=l)||null==q[e]&&null==q[n]&&null==q[r]?null:{mainType:h,index:q[e],id:q[n],name:q[r]}),d=c?this.queryComponents(c):this._componentsMap.get(h);return o=Dh(d,t),t.filter?filter(o,t.filter):o},eachComponent:function(t,e,n){var r=this._componentsMap;"function"==typeof t?(n=e,e=t,r.each(function(t,r){F(t,function(component,t){e.call(n,r,component,t)})})):Y(t)?F(r.get(t),e,n):j(t)&&F(this.findComponents(t),e,n)},getSeriesByName:function(t){return filter(this._componentsMap.get("series"),function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){return filter(this._componentsMap.get("series"),function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){F(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)},this)},eachRawSeries:function(t,e){F(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){F(this._seriesIndices,function(r){var o=this._componentsMap.get("series")[r];o.subType===t&&e.call(n,o,r)},this)},eachRawSeriesByType:function(t,e,n){return F(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){Ch(this,filter(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;Ch(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),nh.topologicalTravel(n,nh.getAllClassMainTypes(),function(n,r){F(e.get(n),function(component){("series"!==n||!function(t,e){if(e){var n=e.seiresIndex,r=e.seriesId,o=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=o&&t.name!==o}}(component,t))&&component.restoreData()})})}});function Ch(t,e){t._seriesIndicesMap=ut(t._seriesIndices=map(e,function(t){return t.componentIndex})||[])}function Dh(t,e){return e.hasOwnProperty("subType")?filter(t,function(t){return t.subType===e.subType}):t}E(Th,oh);var kh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function Ah(t){F(kh,function(e){this[e]=V(t[e],t)},this)}var Ph={};function Oh(){this._coordinateSystems=[]}Oh.prototype={constructor:Oh,create:function(t,e){var n=[];F(Ph,function(r,o){var l=r.create(t,e);n=n.concat(l||[])}),this._coordinateSystems=n},update:function(t,e){F(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},Oh.register=function(t,e){Ph[t]=e},Oh.get=function(t){return Ph[t]};var Lh=F,Nh=D,Bh=map,Rh=k,Eh=/^(min|max)?(.+)$/;function zh(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function Fh(t,e,n){var r={width:e,height:n,aspectratio:e/n},o=!0;return F(t,function(t,e){var n=e.match(Eh);if(n&&n[1]&&n[2]){var l=n[1],h=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(r[h],t,l)||(o=!1)}}),o}zh.prototype={constructor:zh,setOption:function(t,e){t&&F(Ir(t.series),function(t){t&&t.data&&Z(t.data)&&st(t.data)}),t=Nh(t);var n,r,o=this._optionBackup,l=function(t,e,n){var r,o,l=[],h=[],c=t.timeline;if(t.baseOption&&(o=t.baseOption),(c||t.options)&&(o=o||{},l=(t.options||[]).slice()),t.media){o=o||{};var d=t.media;Lh(d,function(t){t&&t.option&&(t.query?h.push(t):r||(r=t))})}return o||(o=t),o.timeline||(o.timeline=c),Lh([o].concat(l).concat(map(h,function(t){return t.option})),function(option){Lh(e,function(t){t(option,n)})}),{baseOption:o,timelineOptions:l,mediaDefault:r,mediaList:h}}.call(this,t,e,!o);this._newBaseOption=l.baseOption,o?(n=o.baseOption,r=l.baseOption,Lh(r=r||{},function(t,e){if(null!=t){var r=n[e];if(nh.hasClass(e)){t=Ir(t);var o=kr(r=Ir(r),t);n[e]=Bh(o,function(t){return t.option&&t.exist?Rh(t.exist,t.option,!0):t.exist||t.option})}else n[e]=Rh(r,t,!0)}}),l.timelineOptions.length&&(o.timelineOptions=l.timelineOptions),l.mediaList.length&&(o.mediaList=l.mediaList),l.mediaDefault&&(o.mediaDefault=l.mediaDefault)):this._optionBackup=l},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=Bh(e.timelineOptions,Nh),this._mediaList=Bh(e.mediaList,Nh),this._mediaDefault=Nh(e.mediaDefault),this._currentMediaIndices=[],Nh(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var option,e=this._timelineOptions;if(e.length){var n=t.getComponent("timeline");n&&(option=Nh(e[n.getCurrentIndex()],!0))}return option},getMediaOption:function(t){var e,n,r=this._api.getWidth(),o=this._api.getHeight(),l=this._mediaList,h=this._mediaDefault,c=[],d=[];if(!l.length&&!h)return d;for(var i=0,f=l.length;i<f;i++)Fh(l[i].query,r,o)&&c.push(i);return!c.length&&h&&(c=[-1]),c.length&&(e=c,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(d=Bh(c,function(t){return Nh(-1===t?h.option:l[t].option)})),this._currentMediaIndices=c,d}};var Hh=F,Vh=j,Wh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Gh(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=Wh.length;i<n;i++){var r=Wh[i],o=e.normal,l=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?k(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),l&&l[r]&&(t[r]=t[r]||{},t[r].emphasis?k(t[r].emphasis,l[r]):t[r].emphasis=l[r],l[r]=null)}}function Xh(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,o=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,P(t[e],r)):t[e]=r),o&&(t.emphasis=t.emphasis||{},t.emphasis[e]=o)}}function Yh(t){Xh(t,"itemStyle"),Xh(t,"lineStyle"),Xh(t,"areaStyle"),Xh(t,"label"),Xh(t,"labelLine"),Xh(t,"upperLabel"),Xh(t,"edgeLabel")}function jh(t,e){var n=Vh(t)&&t[e],r=Vh(n)&&n.textStyle;if(r)for(var i=0,o=Cr.length;i<o;i++)e=Cr[i],r.hasOwnProperty(e)&&(n[e]=r[e])}function Uh(t){t&&(Yh(t),jh(t,"label"),t.emphasis&&jh(t.emphasis,"label"))}function qh(t){return G(t)?t:t?[t]:[]}function Zh(t){return(G(t)?t[0]:t)||{}}var Kh=function(option,t){Hh(qh(option.series),function(t){Vh(t)&&function(t){if(Vh(t)){Gh(t),Yh(t),jh(t,"label"),jh(t,"upperLabel"),jh(t,"edgeLabel"),t.emphasis&&(jh(t.emphasis,"label"),jh(t.emphasis,"upperLabel"),jh(t.emphasis,"edgeLabel")),(n=t.markPoint)&&(Gh(n),Uh(n)),(r=t.markLine)&&(Gh(r),Uh(r));var e=t.markArea;e&&Uh(e);var n,r,data=t.data;if("graph"===t.type){data=data||t.nodes;var o=t.links||t.edges;if(o&&!Z(o))for(var i=0;i<o.length;i++)Uh(o[i]);F(t.categories,function(t){Yh(t)})}if(data&&!Z(data))for(i=0;i<data.length;i++)Uh(data[i]);if((n=t.markPoint)&&n.data){var l=n.data;for(i=0;i<l.length;i++)Uh(l[i])}if((r=t.markLine)&&r.data){var h=r.data;for(i=0;i<h.length;i++)G(h[i])?(Uh(h[i][0]),Uh(h[i][1])):Uh(h[i])}"gauge"===t.type?(jh(t,"axisLabel"),jh(t,"title"),jh(t,"detail")):"treemap"===t.type?(Xh(t.breadcrumb,"itemStyle"),F(t.levels,function(t){Yh(t)})):"tree"===t.type&&Yh(t.leaves)}}(t)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),Hh(e,function(t){Hh(qh(option[t]),function(t){t&&(jh(t,"axisLabel"),jh(t.axisPointer,"label"))})}),Hh(qh(option.parallel),function(t){var e=t&&t.parallelAxisDefault;jh(e,"axisLabel"),jh(e&&e.axisPointer,"label")}),Hh(qh(option.calendar),function(t){Xh(t,"itemStyle"),jh(t,"dayLabel"),jh(t,"monthLabel"),jh(t,"yearLabel")}),Hh(qh(option.radar),function(t){jh(t,"name")}),Hh(qh(option.geo),function(t){Vh(t)&&(Uh(t),Hh(qh(t.regions),function(t){Uh(t)}))}),Hh(qh(option.timeline),function(t){Uh(t),Xh(t,"label"),Xh(t,"itemStyle"),Xh(t,"controlStyle",!0);var data=t.data;G(data)&&F(data,function(t){j(t)&&(Xh(t,"label"),Xh(t,"itemStyle"))})}),Hh(qh(option.toolbox),function(t){Xh(t,"iconStyle"),Hh(t.feature,function(t){Xh(t,"iconStyle")})}),jh(Zh(option.axisPointer),"label"),jh(Zh(option.tooltip).axisPointer,"label")};function $h(option){F(Qh,function(t){t[0]in option&&!(t[1]in option)&&(option[t[1]]=option[t[0]])})}var Qh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Jh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=function(option,t){Kh(option,t),option.series=Ir(option.series),F(option.series,function(t){if(j(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=function(t,path){path=path.split(",");for(var e=t,i=0;i<path.length&&null!=(e=e&&e[path[i]]);i++);return e}(t,"pointer.color");null!=n&&function(t,path,e,n){path=path.split(",");for(var r,o=t,i=0;i<path.length-1;i++)null==o[r=path[i]]&&(o[r]={}),o=o[r];(n||null==o[path[i]])&&(o[path[i]]=e)}(t,"itemStyle.color",n)}$h(t)}}),option.dataRange&&(option.visualMap=option.dataRange),F(Jh,function(t){var e=option[t];e&&(G(e)||(e=[e]),F(e,function(option){$h(option)}))})};function eu(t){F(t,function(e,n){var r=[],o=[NaN,NaN],l=[e.stackResultDimension,e.stackedOverDimension],h=e.data,c=e.isStackedByIndex,d=h.map(l,function(l,d,f){var v,m,y=h.get(e.stackedDimension,f);if(isNaN(y))return o;c?m=h.getRawIndex(f):v=h.get(e.stackedByDimension,f);for(var _=NaN,x=n-1;x>=0;x--){var w=t[x];if(c||(m=w.data.rawIndexOf(w.stackedByDimension,v)),m>=0){var S=w.data.getByRawIndex(w.stackResultDimension,m);if(y>=0&&S>0||y<=0&&S<0){y+=S,_=S;break}}}return r[0]=y,r[1]=_,r});h.hostModel.setData(d),e.data=d})}function nu(source,t){yh.isInstance(source)||(source=yh.seriesDataToSource(source)),this._source=source;var data=this._data=source.data,e=source.sourceFormat;e===gh&&(this._offset=0,this._dimSize=t,this._data=data),A(this,ru[e===ch?e+"_"+source.seriesLayoutBy:e])}var iu=nu.prototype;iu.pure=!1,iu.persistent=!0,iu.getSource=function(){return this._source};var ru={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:su},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],data=this._data,i=0;i<data.length;i++){var n=data[i];e.push(n?n[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:au,getItem:ou,appendData:su},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,col=this._data[t];return col?col.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var col=this._data[n[i].name];e.push(col?col[t]:null)}return e},appendData:function(t){var data=this._data;F(t,function(t,e){for(var n=data[e]||(data[e]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},original:{count:au,getItem:ou,appendData:su},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function au(){return this._data.length}function ou(t){return this._data[t]}function su(t){for(var i=0;i<t.length;i++)this._data.push(t[i])}var lu={arrayRows:hu,objectRows:function(t,e,n,r){return null!=n?t[r]:t},keyedColumns:hu,original:function(t,e,n,r){var o=Dr(t);return null!=n&&o instanceof Array?o[n]:o},typedArray:hu};function hu(t,e,n,r){return null!=n?t[n]:t}var uu={arrayRows:cu,objectRows:function(t,e,n,r){return du(t[e],this._dimensionInfos[e])},keyedColumns:cu,original:function(t,e,n,r){var o=t&&(null==t.value?t:t.value);return!this._rawData.pure&&function(t){return wr(t)&&!(t instanceof Array)}(t)&&(this.hasItemOption=!0),du(o instanceof Array?o[r]:o,this._dimensionInfos[e])},typedArray:function(t,e,n,r){return t[r]}};function cu(t,e,n,r){return du(t[r],this._dimensionInfos[e])}function du(t,e){var n=e&&e.type;if("ordinal"===n){var r=e&&e.ordinalMeta;return r?r.parseAndCollect(t):t}return"time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+Il(t)),null==t||""===t?NaN:+t}function fu(data,t,e){if(data){var n=data.getRawDataItem(t);if(null!=n){var r,o,l=data.getProvider().getSource().sourceFormat,h=data.getDimensionInfo(e);return h&&(r=h.name,o=h.index),lu[l](n,t,o,r)}}}var pu=/\{@(.+?)\}/g,gu={getDataParams:function(t,e){var data=this.getData(e),n=this.getRawValue(t,e),r=data.getRawIndex(t),o=data.getName(t),l=data.getRawDataItem(t),h=data.getItemVisual(t,"color"),c=data.getItemVisual(t,"borderColor"),d=this.ecModel.getComponent("tooltip"),f=zr(d&&d.get("renderMode")),v=this.mainType,m="series"===v,y=data.userOutput;return{componentType:v,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:m?this.subType:null,seriesIndex:this.seriesIndex,seriesId:m?this.id:null,seriesName:m?this.name:null,name:o,dataIndex:r,data:l,dataType:e,value:n,color:h,borderColor:c,dimensionNames:y?y.dimensionNames:null,encode:y?y.encode:null,marker:Fl({color:h,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,r,o){e=e||"normal";var data=this.getData(n),l=data.getItemModel(t),h=this.getDataParams(t,n);null!=r&&h.value instanceof Array&&(h.value=h.value[r]);var c=l.get("normal"===e?[o||"label","formatter"]:[e,o||"label","formatter"]);return"function"==typeof c?(h.status=e,h.dimensionIndex=r,c(h)):"string"==typeof c?zl(c,h).replace(pu,function(e,n){var r=n.length;return"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),fu(data,t,n)}):void 0},getRawValue:function(t,e){return fu(this.getData(e),t)},formatTooltip:function(){}};function vu(t){return new mu(t)}function mu(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var yu=mu.prototype;yu.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var l,h=v(this._modBy),c=this._modDataCount||0,d=v(t&&t.modBy),f=t&&t.modDataCount||0;function v(t){return!(t>=1)&&(t=1),t}h===d&&c===f||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,l=function(t,e){var progress,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((progress=t._reset(t.context))&&progress.progress&&(n=progress.forceFirstProgress,progress=progress.progress),G(progress)&&!progress.length&&(progress=null)),t._progress=progress,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),n}(this,r)),this._modBy=d,this._modDataCount=f;var m=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var y=this._dueIndex,_=Math.min(null!=m?this._dueIndex+m:1/0,this._dueEnd);if(!r&&(l||y<_)){var progress=this._progress;if(G(progress))for(var i=0;i<progress.length;i++)xu(this,progress[i],y,_,d,f);else xu(this,progress,y,_,d,f)}this._dueIndex=_;var x=null!=this._settedOutputEnd?this._settedOutputEnd:_;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var _u=function(){var t,e,n,r,o,l={reset:function(s,d,f,v){e=s,t=d,n=f,r=v,o=Math.ceil(r/n),l.next=n>1&&r>0?c:h}};return l;function h(){return e<t?e++:null}function c(){var l=e%o*n+Math.ceil(e/o),h=e>=t?null:l<r?l:e;return e++,h}}();function xu(t,progress,e,n,r,o){_u.reset(e,n,r,o),t._callingProgress=progress,t._callingProgress({start:e,end:n,count:n-e,next:_u.next},t.context)}yu.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},yu.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},yu.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},yu.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},yu.getUpstream=function(){return this._upstream},yu.getDownstream=function(){return this._downstream},yu.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t};var wu=Lr(),bu=nh.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(option,t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=vu({count:Mu,reset:Iu}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(option,e),xh(this);var data=this.getInitialData(option,e);Cu(data,this),this.dataTask.context.data=data,wu(this).dataBeforeProcessed=data,Su(this)},mergeDefaultAndTheme:function(option,t){var e=this.layoutMode,n=e?$l(option):{},r=this.subType;nh.hasClass(r)&&(r+="Series"),k(option,t.getTheme().get(this.subType)),k(option,this.getDefaultOption()),Tr(option,"label",["show"]),this.fillDataTextStyle(option.data),e&&Kl(option,n,e)},mergeOption:function(t,e){t=k(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&Kl(this.option,t,n),xh(this);var data=this.getInitialData(t,e);Cu(data,this),this.dataTask.dirty(),this.dataTask.context.data=data,wu(this).dataBeforeProcessed=data,Su(this)},fillDataTextStyle:function(data){if(data&&!Z(data))for(var t=["show"],i=0;i<data.length;i++)data[i]&&data[i].label&&Tr(data[i],"label",t)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=ku(this);if(e){var data=e.context.data;return null==t?data:data.getLinkedData(t)}return wu(this).data},setData:function(data){var t=ku(this);if(t){var e=t.context;e.data!==data&&t.modifyOutputEnd&&t.setOutputEnd(data.count()),e.outputData=data,t!==this.dataTask&&(e.data=data)}wu(this).data=data},getSource:function(){return _h(this).source},getRawData:function(){return wu(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n,r){var o=this,l="html"===(r=r||"html")?"<br/>":"\n",h="richText"===r,c={},d=0;function f(t){return{renderMode:r,content:Bl(Al(t)),style:c}}var data=this.getData(),v=data.mapDimension("defaultedTooltip",!0),m=v.length,y=this.getRawValue(t),_=G(y),x=data.getItemVisual(t,"color");j(x)&&x.colorStops&&(x=(x.colorStops[0]||{}).color),x=x||"transparent";var content=(m>1||_&&!m?function(n){var l=H(n,function(t,e,n){var r=data.getDimensionInfo(n);return t|(r&&!1!==r.tooltip&&null!=r.displayName)},0),f=[];function m(t,n){var v=data.getDimensionInfo(n);if(v&&!1!==v.otherDims.tooltip){var m=v.type,y="sub"+o.seriesIndex+"at"+d,_=Fl({color:x,type:"subItem",renderMode:r,markerId:y}),w="string"==typeof _?_:_.content,S=(l?w+Bl(v.displayName||"-")+": ":"")+Bl("ordinal"===m?t+"":"time"===m?e?"":Vl("yyyy/MM/dd hh:mm:ss",t):Al(t));S&&f.push(S),h&&(c[y]=x,++d)}}v.length?F(v,function(e){m(fu(data,t,e),e)}):F(n,m);var y=l?h?"\n":"<br/>":"",content=y+f.join(y||", ");return{renderMode:r,content:content,style:c}}(y):f(m?fu(data,t,v[0]):_?y[0]:y)).content,w=o.seriesIndex+"at"+d,S=Fl({color:x,type:"item",renderMode:r,markerId:w});c[w]=x,++d;var M=data.getName(t),I=this.name;Ar(this)||(I=""),I=I?Bl(I)+(e?": ":l):"";var T="string"==typeof S?S:S.content;return{html:e?T+I+content:I+T+(M?Bl(M)+": "+content:content),markers:c}},isAnimationEnabled:function(){if(f.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var r=this.ecModel,o=oh.getColorFromPalette.call(this,t,e,n);return o||(o=r.getColorFromPalette(t,e,n)),o},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function Su(t){var e=t.name;Ar(t)||(t.name=function(t){var data=t.getRawData(),e=data.mapDimension("seriesName",!0),n=[];return F(e,function(t){var e=data.getDimensionInfo(t);e.displayName&&n.push(e.displayName)}),n.join(" ")}(t)||e)}function Mu(t){return t.model.getRawData().count()}function Iu(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Tu}function Tu(param,t){param.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Cu(data,t){F(data.CHANGABLE_METHODS,function(e){data.wrapMethod(e,W(Du,t))})}function Du(t){var e=ku(t);e&&e.setOutputEnd(this.count())}function ku(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var o=r.agentStubMap;o&&(r=o.get(t.uid))}return r}}E(bu,gu),E(bu,oh);var Au=function(){this.group=new Cn,this.uid=gl("viewComponent")};Au.prototype={constructor:Au,init:function(t,e){},render:function(t,e,n,r){},dispose:function(){},filterForExposedEvent:null};var Pu=Au.prototype;Pu.updateView=Pu.updateLayout=Pu.updateVisual=function(t,e,n,r){},Wr(Au),Ur(Au,{registerWhenExtend:!0});var Ou=function(){var t=Lr();return function(e){var n=t(e),r=e.pipelineContext,o=n.large,l=n.progressiveRender,h=n.large=r.large,c=n.progressiveRender=r.progressiveRender;return!!(o^h||l^c)&&"reset"}},Lu=Lr(),Nu=Ou();function Bu(){this.group=new Cn,this.uid=gl("viewChart"),this.renderTask=vu({plan:Fu,reset:Hu}),this.renderTask.context={view:this}}Bu.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,r){},highlight:function(t,e,n,r){zu(t.getData(),r,"emphasis")},downplay:function(t,e,n,r){zu(t.getData(),r,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var Ru=Bu.prototype;function Eu(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!Fs(t)))for(var i=0,r=t.childCount();i<r;i++)Eu(t.childAt(i),e,n)}function zu(data,t,e){var n=Or(data,t),r=t&&null!=t.highlightKey?Hs(t.highlightKey):null;null!=n?F(Ir(n),function(t){Eu(data.getItemGraphicEl(t),e,r)}):data.eachItemGraphicEl(function(t){Eu(t,e,r)})}function Fu(t){return Nu(t.model)}function Hu(t){var e=t.model,n=t.ecModel,r=t.api,o=t.payload,l=e.pipelineContext.progressiveRender,view=t.view,h=o&&Lu(o).updateMethod,c=l?"incrementalPrepareRender":h&&view[h]?h:"render";return"render"!==c&&view[c](e,n,r,o),Vu[c]}Ru.updateView=Ru.updateLayout=Ru.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},Wr(Bu),Ur(Bu,{registerWhenExtend:!0}),Bu.markUpdateMethod=function(t,e){Lu(t).updateMethod=e};var Vu={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Wu="\0__throttleOriginMethod",Gu="\0__throttleRate",Xu="\0__throttleType";function Yu(t,e,n){var r,o,l,h,c,d=0,f=0,v=null;function m(){f=(new Date).getTime(),v=null,t.apply(l,h||[])}e=e||0;var y=function(){r=(new Date).getTime(),l=this,h=arguments;var t=c||e,y=c||n;c=null,o=r-(y?d:f)-t,clearTimeout(v),y?v=setTimeout(m,t):o>=0?m():v=setTimeout(m,-o),d=r};return y.clear=function(){v&&(clearTimeout(v),v=null)},y.debounceNextCall=function(t){c=t},y}var ju={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var data=t.getData(),n=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(n)||t.getColorFromPalette(t.name,null,e.getSeriesCount());data.setVisual("color",r);var o=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=t.get(o);if(data.setVisual("borderColor",l),!e.isSeriesFiltered(t))return"function"!=typeof r||r instanceof ns||data.each(function(e){data.setItemVisual(e,"color",r(t.getDataParams(e)))}),{dataEach:data.hasItemOption?function(data,t){var e=data.getItemModel(t),r=e.get(n,!0),l=e.get(o,!0);null!=r&&data.setItemVisual(t,"color",r),null!=l&&data.setItemVisual(t,"borderColor",l)}:null}}},Uu={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},qu=function(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var r=0;e.eachSeries(function(t,e){++r},this);var o,l=n.get("data.maxCount")||10,h=n.get("series.maxCount")||10,c=Math.min(r,h);if(!(r<1)){var title=function(){var title=e.getModel("title").option;return title&&title.length&&(title=title[0]),title&&title.text}();o=title?f(v("general.withTitle"),{title:title}):v("general.withoutTitle");var d=[];o+=f(v(r>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:r}),e.eachSeries(function(t,e){if(e<c){var n,o=t.get("name"),h="series."+(r>1?"multiple":"single")+".";n=f(n=v(o?h+"withName":h+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(x=t.subType,Uu.series.typeNames[x]||"自定义图")});var data=t.getData();window.data=data,data.count()>l?n+=f(v("data.partialData"),{displayCnt:l}):n+=v("data.allData");for(var m=[],i=0;i<data.count();i++)if(i<l){var y=data.getName(i),_=fu(data,i);m.push(f(v(y?"data.withName":"data.withoutName"),{name:y,value:_}))}n+=m.join(v("data.separator.middle"))+v("data.separator.end"),d.push(n)}var x}),o+=d.join(v("series.multiple.separator.middle"))+v("series.multiple.separator.end"),t.setAttribute("aria-label",o)}}function f(t,e){if("string"!=typeof t)return t;var n=t;return F(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function v(path){var t=n.get(path);if(null==t){for(var e=path.split("."),r=Uu.aria,i=0;i<e.length;++i)r=r[e[i]];return r}return t}},Zu=Math.PI;function Ku(t,e,n,r){this.ecInstance=t,this.api=e,this.unfinished,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r),this._stageTaskMap=ut()}var $u=Ku.prototype;function Qu(t,e,n,r,o){var l;function h(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}o=o||{},F(e,function(e,c){if(!o.visualType||o.visualType===e.visualType){var d=t._stageTaskMap.get(e.uid),f=d.seriesTaskMap,v=d.overallTask;if(v){var m,y=v.agentStubMap;y.each(function(t){h(o,t)&&(t.dirty(),m=!0)}),m&&v.dirty(),Ju(v,r);var _=t.getPerformArgs(v,o.block);y.each(function(t){t.perform(_)}),l|=v.perform(_)}else f&&f.each(function(c,d){h(o,c)&&c.dirty();var f=t.getPerformArgs(c,o.block);f.skip=!e.performRawSeries&&n.isSeriesFiltered(c.context.model),Ju(c,r),l|=c.perform(f)})}}),t.unfinished|=l}$u.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},$u.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,o=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,l=r&&r.modDataCount;return{step:o,modBy:null!=l?Math.ceil(l/o):null,modDataCount:l}}},$u.getPipeline=function(t){return this._pipelineMap.get(t)},$u.updateStreamModes=function(t,view){var e=this._pipelineMap.get(t.uid),n=t.getData().count(),r=e.progressiveEnabled&&view.incrementalPrepareRender&&n>=e.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),l="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=e.context={progressiveRender:r,modDataCount:l,large:o}},$u.restorePipelines=function(t){var e=this,n=e._pipelineMap=ut();t.eachSeries(function(t){var r=t.getProgressive(),o=t.uid;n.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),hc(e,t,t.dataTask)})},$u.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;F(this._allHandlers,function(r){var o=t.get(r.uid)||t.set(r.uid,[]);r.reset&&function(t,e,n,r,o){var l=n.seriesTaskMap||(n.seriesTaskMap=ut()),h=e.seriesType,c=e.getTargetSeries;function d(n){var h=n.uid,c=l.get(h)||l.set(h,vu({plan:rc,reset:ac,count:lc}));c.context={model:n,ecModel:r,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},hc(t,n,c)}e.createOnAllSeries?r.eachRawSeries(d):h?r.eachRawSeriesByType(h,d):c&&c(r,o).each(d);var f=t._pipelineMap;l.each(function(t,e){f.get(e)||(t.dispose(),l.removeKey(e))})}(this,r,o,e,n),r.overallReset&&function(t,e,n,r,o){var l=n.overallTask=n.overallTask||vu({reset:tc});l.context={ecModel:r,api:o,overallReset:e.overallReset,scheduler:t};var h=l.agentStubMap=l.agentStubMap||ut(),c=e.seriesType,d=e.getTargetSeries,f=!0,v=e.modifyOutputEnd;function m(e){var n=e.uid,r=h.get(n);r||(r=h.set(n,vu({reset:ec,onDirty:ic})),l.dirty()),r.context={model:e,overallProgress:f,modifyOutputEnd:v},r.agent=l,r.__block=f,hc(t,e,r)}c?r.eachRawSeriesByType(c,m):d?d(r,o).each(m):(f=!1,F(r.getSeries(),m));var y=t._pipelineMap;h.each(function(t,e){y.get(e)||(t.dispose(),l.dirty(),h.removeKey(e))})}(this,r,o,e,n)},this)},$u.prepareView=function(view,t,e,n){var r=view.renderTask,o=r.context;o.model=t,o.ecModel=e,o.api=n,r.__block=!view.incrementalPrepareRender,hc(this,t,r)},$u.performDataProcessorTasks=function(t,e){Qu(this,this._dataProcessorHandlers,t,e,{block:!0})},$u.performVisualTasks=function(t,e,n){Qu(this,this._visualHandlers,t,e,n)},$u.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},$u.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var Ju=$u.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function tc(t){t.overallReset(t.ecModel,t.api,t.payload)}function ec(t,e){return t.overallProgress&&nc}function nc(){this.agent.dirty(),this.getDownstream().dirty()}function ic(){this.agent&&this.agent.dirty()}function rc(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function ac(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Ir(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?map(e,function(t,e){return sc(e)}):oc}var oc=sc(0);function sc(t){return function(e,n){var data=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var i=e.start;i<e.end;i++)r.dataEach(data,i);else r&&r.progress&&r.progress(e,data)}}function lc(t){return t.data.count()}function hc(t,e,n){var r=e.uid,o=t._pipelineMap.get(r);!o.head&&(o.head=n),o.tail&&o.tail.pipe(n),o.tail=n,n.__idxInPipeline=o.count++,n.__pipeline=o}function uc(t){cc=null;try{t(dc,fc)}catch(t){}return cc}Ku.wrapStageHandler=function(t,e){return X(t)&&(t={overallReset:t,seriesType:uc(t)}),t.uid=gl("stageHandler"),e&&(t.visualType=e),t};var cc,dc={},fc={};function pc(t,e){for(var n in e.prototype)t[n]=ct}pc(dc,Th),pc(fc,Ah),dc.eachSeriesByType=dc.eachRawSeriesByType=function(t){cc=t},dc.eachComponent=function(t){"series"===t.mainType&&t.subType&&(cc=t.subType)};var gc=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],vc={color:gc,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],gc]},mc=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],yc={color:mc,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:mc[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:mc},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};yc.categoryAxis.splitLine.show=!1,nh.extend({type:"dataset",defaultOption:{seriesLayoutBy:vh,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){!function(t){var data=t.option.source,e=ph;if(Z(data))e=gh;else if(G(data)){0===data.length&&(e=ch);for(var i=0,n=data.length;i<n;i++){var r=data[i];if(null!=r){if(G(r)){e=ch;break}if(j(r)){e=dh;break}}}}else if(j(data)){for(var o in data)if(data.hasOwnProperty(o)&&z(data[o])){e=fh;break}}else if(null!=data)throw new Error("Invalid data");_h(t).sourceFormat=e}(this)}}),Au.extend({type:"dataset"});var _c=fo.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,r=e.cx,o=e.cy,a=e.rx,b=e.ry,l=a*n,h=b*n;t.moveTo(r-a,o),t.bezierCurveTo(r-a,o-h,r-l,o-b,r,o-b),t.bezierCurveTo(r+l,o-b,r+a,o-h,r+a,o),t.bezierCurveTo(r+a,o+h,r+l,o+b,r,o+b),t.bezierCurveTo(r-l,o+b,r-a,o+h,r-a,o),t.closePath()}}),xc=/[\s,]+/;function wc(svg){for(Y(svg)&&(svg=(new DOMParser).parseFromString(svg,"text/xml")),9===svg.nodeType&&(svg=svg.firstChild);"svg"!==svg.nodeName.toLowerCase()||1!==svg.nodeType;)svg=svg.nextSibling;return svg}function bc(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}bc.prototype.parse=function(t,e){e=e||{};var svg=wc(t);if(!svg)throw new Error("Illegal svg");var n=new Cn;this._root=n;var r=svg.getAttribute("viewBox")||"",o=parseFloat(svg.getAttribute("width")||e.width),l=parseFloat(svg.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),Dc(svg,n,null,!0);for(var h,c,d=svg.firstChild;d;)this._parseNode(d,n),d=d.nextSibling;if(r){var f=at(r).split(xc);f.length>=4&&(h={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(h&&null!=o&&null!=l&&(c=function(t,e,n){var r=e/t.width,o=n/t.height,l=Math.min(r,o),h=[l,l],c=[-(t.x+t.width/2)*l+e/2,-(t.y+t.height/2)*l+n/2];return{scale:h,position:c}}(h,o,l),!e.ignoreViewBox)){var v=n;(n=new Cn).add(v),v.scale=c.scale.slice(),v.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||n.setClipPath(new qo({shape:{x:0,y:0,width:o,height:l}})),{root:n,width:o,height:l,viewBoxRect:h,viewBoxTransform:c}},bc.prototype._parseNode=function(t,e){var n,r,o=t.nodeName.toLowerCase();if("defs"===o?this._isDefine=!0:"text"===o&&(this._isText=!0),this._isDefine){if(r=Mc[o]){var l=r.call(this,t),h=t.getAttribute("id");h&&(this._defs[h]=l)}}else(r=Sc[o])&&(n=r.call(this,t,e),e.add(n));for(var c=t.firstChild;c;)1===c.nodeType&&this._parseNode(c,n),3===c.nodeType&&this._isText&&this._parseText(c,n),c=c.nextSibling;"defs"===o?this._isDefine=!1:"text"===o&&(this._isText=!1)},bc.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var text=new Po({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});Ic(e,text),Dc(t,text,this._defs);var o=text.style.fontSize;o&&o<9&&(text.style.fontSize=9,text.scale=text.scale||[1,1],text.scale[0]*=o/9,text.scale[1]*=o/9);var rect=text.getBoundingRect();return this._textX+=rect.width,e.add(text),text};var Sc={g:function(t,e){var g=new Cn;return Ic(e,g),Dc(t,g,this._defs),g},rect:function(t,e){var rect=new qo;return Ic(e,rect),Dc(t,rect,this._defs),rect.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),rect},circle:function(t,e){var circle=new Lo;return Ic(e,circle),Dc(t,circle,this._defs),circle.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),circle},line:function(t,e){var line=new Ko;return Ic(e,line),Dc(t,line,this._defs),line.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),line},ellipse:function(t,e){var ellipse=new _c;return Ic(e,ellipse),Dc(t,ellipse,this._defs),ellipse.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),ellipse},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=Tc(n));var polygon=new Vo({shape:{points:n||[]}});return Ic(e,polygon),Dc(t,polygon,this._defs),polygon},polyline:function(t,e){var path=new fo;Ic(e,path),Dc(t,path,this._defs);var n=t.getAttribute("points");return n&&(n=Tc(n)),new Wo({shape:{points:n||[]}})},image:function(t,e){var img=new Ki;return Ic(e,img),Dc(t,img,this._defs),img.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),img},text:function(t,e){var n=t.getAttribute("x")||0,r=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,l=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(l);var g=new Cn;return Ic(e,g),Dc(t,g,this._defs),g},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=t.getAttribute("dx")||0,l=t.getAttribute("dy")||0,g=new Cn;return Ic(e,g),Dc(t,g,this._defs),this._textX+=o,this._textY+=l,g},path:function(t,e){var path=Ao(t.getAttribute("d")||"");return Ic(e,path),Dc(t,path,this._defs),path}},Mc={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),r=parseInt(t.getAttribute("x2")||10,10),o=parseInt(t.getAttribute("y2")||0,10),l=new is(e,n,r,o);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o=n.getAttribute("stop-color")||"#000000";e.addColorStop(r,o)}n=n.nextSibling}}(t,l),l},radialgradient:function(t){}};function Ic(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),P(e.__inheritedStyle,t.__inheritedStyle))}function Tc(t){for(var e=at(t).split(xc),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}var Cc={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function Dc(t,e,defs,n){var r=e.__inheritedStyle||{},o="text"===e.type;if(1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=null,o=[];n.replace(Pc,function(t,e,n){o.push(e,n)});for(var i=o.length-1;i>0;i-=2){var l=o[i],h=o[i-1];switch(r=r||ae(),h){case"translate":l=at(l).split(xc),he(r,r,[parseFloat(l[0]),parseFloat(l[1]||0)]);break;case"scale":l=at(l).split(xc),ce(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":l=at(l).split(xc),ue(r,r,parseFloat(l[0]));break;case"skew":l=at(l).split(xc),console.warn("Skew transform is not supported yet");break;case"matrix":l=at(l).split(xc),r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),A(r,function(t){var style=t.getAttribute("style"),e={};if(!style)return e;var n,r={};for(Oc.lastIndex=0;null!=(n=Oc.exec(style));)r[n[1]]=n[2];for(var o in Cc)Cc.hasOwnProperty(o)&&null!=r[o]&&(e[Cc[o]]=r[o]);return e}(t)),!n))for(var l in Cc)if(Cc.hasOwnProperty(l)){var h=t.getAttribute(l);null!=h&&(r[Cc[l]]=h)}var c=o?"textFill":"fill",d=o?"textStroke":"stroke";e.style=e.style||new Gn;var f=e.style;null!=r.fill&&f.set(c,Ac(r.fill,defs)),null!=r.stroke&&f.set(d,Ac(r.stroke,defs)),F(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&f.set(e,parseFloat(r[t]))}),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),F(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=r[t]&&f.set(t,r[t])}),r.lineDash&&(e.style.lineDash=at(r.lineDash).split(xc)),f[d]&&"none"!==f[d]&&(e[d]=!0),e.__inheritedStyle=r}var kc=/url\(\s*#(.*?)\)/;function Ac(t,defs){var e=defs&&t&&t.match(kc);return e?defs[at(e[1])]:t}var Pc=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,Oc=/([^\s:;]+)\s*:\s*([^:;]+)/g,Lc=ut(),Nc={registerMap:function(t,e,n){var r;return G(e)?r=e:e.svg?r=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),r=[{type:"geoJSON",source:e,specialAreas:n}]),F(r,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,Bc[e])(t)}),Lc.set(t,r)},retrieveMap:function(t){return Lc.get(t)}},Bc={geoJSON:function(t){var source=t.source;t.geoJSON=Y(source)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(source):new Function("return ("+source+");")():source},svg:function(t){t.svgXML=wc(t.source)}},Rc=it,Ec=F,zc=X,Fc=j,Hc=nh.parseClassType,Vc=1e3,Wc=1e3,Gc=3e3,Xc={PROCESSOR:{FILTER:Vc,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:Wc,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:Gc,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},Yc="__flagInMainProcess",jc="__optionUpdated",Uc=/^[a-zA-Z0-9_]+$/;function qc(t,e){return function(n,r,o){!e&&this._disposed||(n=n&&n.toLowerCase(),Bt.prototype[t].call(this,n,r,o))}}function Zc(){Bt.call(this)}function Kc(t,e,n){n=n||{},"string"==typeof e&&(e=bd[e]),this.id,this.group,this._dom=t;var r=this._zr=mr(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=Yu(V(r.flush,r),17),(e=D(e))&&tu(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new Oh;var o,l,h=this._api=(l=(o=this)._coordSysMgr,A(new Ah(o),{getCoordinateSystems:V(l.getCoordinateSystems,l),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return o._model.getComponent(e.mainType,e.index);t=t.parent}}}));function c(a,b){return a.__prio-b.__prio}Bn(wd,c),Bn(yd,c),this._scheduler=new Ku(this,h,yd,wd),Bt.call(this,this._ecEventProcessor=new gd),this._messageCenter=new Zc,this._initEvents(),this.resize=V(this.resize,this),this._pendingActions=[],r.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[jc]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}(r,this),st(this)}Zc.prototype.on=qc("on",!0),Zc.prototype.off=qc("off",!0),Zc.prototype.one=qc("one",!0),E(Zc,Bt);var $c=Kc.prototype;function Qc(t,e,n){if(!this._disposed){var r,o=this._model,l=this._coordSysMgr.getCoordinateSystems();e=Br(o,e);for(var i=0;i<l.length;i++){var h=l[i];if(h[t]&&null!=(r=h[t](o,e,n)))return r}}}$c._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[jc]){var e=this[jc].silent;this[Yc]=!0,ed(this),Jc.update.call(this),this[Yc]=!1,this[jc]=!1,ad.call(this,e),od.call(this,e)}else if(t.unfinished){var n=1,r=this._model;this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(r),t.performDataProcessorTasks(r),id(this,r),t.performVisualTasks(r),ud(this,this._model,0,"remain"),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},$c.getDom=function(){return this._dom},$c.getZr=function(){return this._zr},$c.setOption=function(option,t,e){if(!this._disposed){var n;if(Fc(t)&&(e=t.lazyUpdate,n=t.silent,t=t.notMerge),this[Yc]=!0,!this._model||t){var r=new zh(this._api),o=this._theme,l=this._model=new Th;l.scheduler=this._scheduler,l.init(null,null,o,r)}this._model.setOption(option,_d),e?(this[jc]={silent:n},this[Yc]=!1):(ed(this),Jc.update.call(this),this._zr.flush(),this[jc]=!1,this[Yc]=!1,ad.call(this,n),od.call(this,n))}},$c.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},$c.getModel=function(){return this._model},$c.getOption=function(){return this._model&&this._model.getOption()},$c.getWidth=function(){return this._zr.getWidth()},$c.getHeight=function(){return this._zr.getHeight()},$c.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},$c.getRenderedCanvas=function(t){if(f.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},$c.getSvgDataUrl=function(){if(f.svgSupported){var t=this._zr;return F(t.storage.getDisplayList(),function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},$c.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,r=[],o=this;Ec(e,function(t){n.eachComponent({mainType:t},function(component){var view=o._componentsMap[component.__viewId];view.group.ignore||(r.push(view),view.group.ignore=!0)})});var l="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Ec(r,function(view){view.group.ignore=!1}),l}},$c.getConnectedDataURL=function(t){if(!this._disposed&&f.canvasSupported){var e=this.group,n=Math.min,r=Math.max;if(Id[e]){var o=1/0,l=1/0,h=-1/0,c=-1/0,d=[],v=t&&t.pixelRatio||1;F(Md,function(f,v){if(f.group===e){var canvas=f.getRenderedCanvas(D(t)),m=f.getDom().getBoundingClientRect();o=n(m.left,o),l=n(m.top,l),h=r(m.right,h),c=r(m.bottom,c),d.push({dom:canvas,left:m.left,top:m.top})}});var m=(h*=v)-(o*=v),y=(c*=v)-(l*=v),_=L();_.width=m,_.height=y;var x=mr(_);return t.connectedBackgroundColor&&x.add(new qo({shape:{x:0,y:0,width:m,height:y},style:{fill:t.connectedBackgroundColor}})),Ec(d,function(t){var img=new Ki({style:{x:t.left*v-o,y:t.top*v-l,image:t.dom}});x.add(img)}),x.refreshImmediately(),_.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},$c.convertToPixel=W(Qc,"convertToPixel"),$c.convertFromPixel=W(Qc,"convertFromPixel"),$c.containPixel=function(t,e){var n;if(!this._disposed)return F(t=Br(this._model,t),function(t,r){r.indexOf("Models")>=0&&F(t,function(t){var o=t.coordinateSystem;if(o&&o.containPoint)n|=!!o.containPoint(e);else if("seriesModels"===r){var view=this._chartsMap[t.__viewId];view&&view.containPoint&&(n|=view.containPoint(e,t))}},this)},this),!!n},$c.getVisual=function(t,e){var data=(t=Br(this._model,t,{defaultMainType:"series"})).seriesModel.getData(),n=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?data.indexOfRawIndex(t.dataIndex):null;return null!=n?data.getItemVisual(n,e):data.getVisual(e)},$c.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},$c.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var Jc={prepareAndUpdate:function(t){ed(this),Jc.update.call(this,t)},update:function(t){var e=this._model,n=this._api,r=this._zr,o=this._coordSysMgr,l=this._scheduler;if(e){l.restoreData(e,t),l.performSeriesTasks(e),o.create(e,n),l.performDataProcessorTasks(e,t),id(this,e),o.update(e,n),ld(e),l.performVisualTasks(e,t),hd(this,e,n,t);var h=e.get("backgroundColor")||"transparent";if(f.canvasSupported)r.setBackgroundColor(h);else{var c=Ve(h);h=Ze(c,"rgb"),0===c[3]&&(h="transparent")}cd(e,n)}},updateTransform:function(t){var e=this._model,n=this,r=this._api;if(e){var o=[];e.eachComponent(function(l,h){var c=n.getViewOfComponentModel(h);if(c&&c.__alive)if(c.updateTransform){var d=c.updateTransform(h,e,r,t);d&&d.update&&o.push(c)}else o.push(c)});var l=ut();e.eachSeries(function(o){var h=n._chartsMap[o.__viewId];if(h.updateTransform){var c=h.updateTransform(o,e,r,t);c&&c.update&&l.set(o.uid,1)}else l.set(o.uid,1)}),ld(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:l}),ud(n,e,0,t,l),cd(e,this._api)}},updateView:function(t){var e=this._model;e&&(Bu.markUpdateMethod(t,"updateView"),ld(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),hd(this,this._model,this._api,t),cd(e,this._api))},updateVisual:function(t){Jc.update.call(this,t)},updateLayout:function(t){Jc.update.call(this,t)}};function ed(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),sd(t,"component",e,n),sd(t,"chart",e,n),n.plan()}function nd(t,e,n,r,o){var l=t._model;if(r){var h={};h[r+"Id"]=n[r+"Id"],h[r+"Index"]=n[r+"Index"],h[r+"Name"]=n[r+"Name"];var c={mainType:r,query:h};o&&(c.subType=o);var d=n.excludeSeriesId;null!=d&&(d=ut(Ir(d))),l&&l.eachComponent(c,function(e){d&&null!=d.get(e.id)||f(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else Ec(t._componentsViews.concat(t._chartsViews),f);function f(view){view&&view.__alive&&view[e]&&view[e](view.__model,l,t._api,n)}}function id(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries(function(t){r.updateStreamModes(t,n[t.__viewId])})}function rd(t,e){var n=t.type,r=t.escapeConnect,o=vd[n],l=o.actionInfo,h=(l.update||"update").split(":"),c=h.pop();h=null!=h[0]&&Hc(h[0]),this[Yc]=!0;var d=[t],f=!1;t.batch&&(f=!0,d=map(t.batch,function(e){return(e=P(A({},e),t)).batch=null,e}));var v,m=[],y="highlight"===n||"downplay"===n;Ec(d,function(t){(v=(v=o.action(t,this._model,this._api))||A({},t)).type=l.event||v.type,m.push(v),y?nd(this,c,t,"series"):h&&nd(this,c,t,h.main,h.sub)},this),"none"===c||y||h||(this[jc]?(ed(this),Jc.update.call(this,t),this[jc]=!1):Jc[c].call(this,t)),v=f?{type:l.event||n,escapeConnect:r,batch:m}:m[0],this[Yc]=!1,!e&&this._messageCenter.trigger(v.type,v)}function ad(t){for(var e=this._pendingActions;e.length;){var n=e.shift();rd.call(this,n,t)}}function od(t){!t&&this.trigger("updated")}function sd(t,e,n,r){for(var o="component"===e,l=o?t._componentsViews:t._chartsViews,h=o?t._componentsMap:t._chartsMap,c=t._zr,d=t._api,i=0;i<l.length;i++)l[i].__alive=!1;function f(t){var e="_ec_"+t.id+"_"+t.type,view=h[e];if(!view){var f=Hc(t.type);(view=new(o?Au.getClass(f.main,f.sub):Bu.getClass(f.sub))).init(n,d),h[e]=view,l.push(view),c.add(view.group)}t.__viewId=view.__id=e,view.__alive=!0,view.__model=t,view.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!o&&r.prepareView(view,t,n,d)}for(o?n.eachComponent(function(t,e){"series"!==t&&f(e)}):n.eachSeries(f),i=0;i<l.length;){var view=l[i];view.__alive?i++:(!o&&view.renderTask.dispose(),c.remove(view.group),view.dispose(n,d),l.splice(i,1),delete h[view.__id],view.__id=view.group.__ecComponentInfo=null)}}function ld(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function hd(t,e,n,r){!function(t,e,n,r,o){Ec(o||t._componentsViews,function(t){var o=t.__model;t.render(o,e,n,r),pd(o,t)})}(t,e,n,r),Ec(t._chartsViews,function(t){t.__alive=!1}),ud(t,e,0,r),Ec(t._chartsViews,function(t){t.__alive||t.remove(e,n)})}function ud(t,e,n,r,o){var l,h=t._scheduler;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var c=n.renderTask;h.updatePayload(c,r),o&&o.get(e.uid)&&c.dirty(),l|=c.perform(h.getPerformArgs(c)),n.group.silent=!!e.get("silent"),pd(e,n),function(t,e){var n=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}(e,n)}),h.unfinished|=l,function(t,e){var n=t._zr.storage,r=0;n.traverse(function(t){r++}),r>e.get("hoverLayerThreshold")&&!f.node&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse(function(t){t.useHoverLayer=!0})}})}(t,e),qu(t._zr.dom,e)}function cd(t,e){Ec(xd,function(n){n(t,e)})}$c.resize=function(t){if(!this._disposed){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[Yc]=!0,n&&ed(this),Jc.update.call(this),this[Yc]=!1,ad.call(this,r),od.call(this,r)}}},$c.showLoading=function(t,e){if(!this._disposed&&(Fc(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Sd[t])){var n=Sd[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},$c.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},$c.makeActionFromEvent=function(t){var e=A({},t);return e.type=md[t.type],e},$c.dispatchAction=function(t,e){this._disposed||(Fc(e)||(e={silent:!!e}),vd[t.type]&&this._model&&(this[Yc]?this._pendingActions.push(t):(rd.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&f.browser.weChat&&this._throttledZrFlush(),ad.call(this,e.silent),od.call(this,e.silent))))},$c.appendData=function(t){if(!this._disposed){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},$c.on=qc("on",!1),$c.off=qc("off",!1),$c.one=qc("one",!1);var fd=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function pd(t,view){var e=t.get("z"),n=t.get("zlevel");view.group.traverse(function(t){"group"!==t.type&&(null!=e&&(t.z=e),null!=n&&(t.zlevel=n))})}function gd(){this.eventInfo}$c._initEvents=function(){Ec(fd,function(t){var e=function(e){var n,r=this.getModel(),o=e.target;if("globalout"===t)n={};else if(o&&null!=o.dataIndex){var l=o.dataModel||r.getSeriesByIndex(o.seriesIndex);n=l&&l.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=A({},o.eventData));if(n){var h=n.componentType,c=n.componentIndex;"markLine"!==h&&"markPoint"!==h&&"markArea"!==h||(h="series",c=n.seriesIndex);var d=h&&null!=c&&r.getComponent(h,c),view=d&&this["series"===d.mainType?"_chartsMap":"_componentsMap"][d.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:d,view:view},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),Ec(md,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},$c.isDisposed=function(){return this._disposed},$c.clear=function(){this._disposed||this.setOption({series:[]},!0)},$c.dispose=function(){if(!this._disposed){this._disposed=!0,Er(this.getDom(),Dd,"");var t=this._api,e=this._model;Ec(this._componentsViews,function(component){component.dispose(e,t)}),Ec(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete Md[this.id]}},E(Kc,Bt),gd.prototype={constructor:gd,normalizeQuery:function(t){var e={},n={},r={};if(Y(t)){var o=Hc(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var l=["Index","Name","Id"],h={name:1,dataIndex:1,dataType:1};F(t,function(t,o){for(var c=!1,i=0;i<l.length;i++){var d=l[i],f=o.lastIndexOf(d);if(f>0&&f===o.length-d.length){var v=o.slice(0,f);"data"!==v&&(e.mainType=v,e[d.toLowerCase()]=t,c=!0)}}h.hasOwnProperty(o)&&(n[o]=t,c=!0),c||(r[o]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:r}},filter:function(t,e,n){var r=this.eventInfo;if(!r)return!0;var o=r.targetEl,l=r.packedEvent,h=r.model,view=r.view;if(!h||!view)return!0;var c=e.cptQuery,d=e.dataQuery;return f(c,h,"mainType")&&f(c,h,"subType")&&f(c,h,"index","componentIndex")&&f(c,h,"name")&&f(c,h,"id")&&f(d,l,"name")&&f(d,l,"dataIndex")&&f(d,l,"dataType")&&(!view.filterForExposedEvent||view.filterForExposedEvent(t,e.otherQuery,o,l));function f(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var vd={},md={},yd=[],_d=[],xd=[],wd=[],bd={},Sd={},Md={},Id={},Td=new Date-0,Cd=new Date-0,Dd="_echarts_instance_";function kd(t){Id[t]=!1}var Ad=kd;function Pd(t){return Md[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,Dd)]}function Od(t,e){bd[t]=e}function Ld(t){_d.push(t)}function Nd(t,e){zd(yd,t,e,Vc)}function Bd(t,e,n){"function"==typeof e&&(n=e,e="");var r=Fc(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,Rc(Uc.test(r)&&Uc.test(e)),vd[r]||(vd[r]={action:n,actionInfo:t}),md[e]=r}function Rd(t,e){zd(wd,t,e,Wc,"layout")}function Ed(t,e){zd(wd,t,e,Gc,"visual")}function zd(t,e,n,r,o){(zc(e)||Fc(e))&&(n=e,e=r);var l=Ku.wrapStageHandler(n,o);return l.__prio=e,l.__raw=n,t.push(l),l}function Fd(t,e){Sd[t]=e}function Hd(t){return nh.extend(t)}function Vd(t){return Au.extend(t)}function Wd(t){return Bu.extend(t)}function Gd(t){return t}function Xd(t,e,n,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Gd,this._newKeyGetter=r||Gd,this.context=o}function Yd(t,map,e,n,r){for(var i=0;i<t.length;i++){var o="_ec_"+r[n](t[i],i),l=map[o];null==l?(e.push(o),map[o]=i):(l.length||(map[o]=l=[l]),l.push(i))}}Ed(2e3,ju),Ld(tu),Nd(900,function(t){var e=ut();t.eachSeries(function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),data=t.getData(),o={stackResultDimension:data.getCalculationInfo("stackResultDimension"),stackedOverDimension:data.getCalculationInfo("stackedOverDimension"),stackedDimension:data.getCalculationInfo("stackedDimension"),stackedByDimension:data.getCalculationInfo("stackedByDimension"),isStackedByIndex:data.getCalculationInfo("isStackedByIndex"),data:data,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&data.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}}),e.each(eu)}),Fd("default",function(t,e){P(e=e||{},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var mask=new qo({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),n=new ts({shape:{startAngle:-Zu/2,endAngle:-Zu/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),r=new qo({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});n.animateShape(!0).when(1e3,{endAngle:3*Zu/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*Zu/2}).delay(300).start("circularInOut");var o=new Cn;return o.add(n),o.add(r),o.add(mask),o.resize=function(){var e=t.getWidth()/2,o=t.getHeight()/2;n.setShape({cx:e,cy:o});var l=n.shape.r;r.setShape({x:e-l,y:o-l,width:2*l,height:2*l}),mask.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},o.resize(),o}),Bd({type:"highlight",event:"highlight",update:"highlight"},ct),Bd({type:"downplay",event:"downplay",update:"downplay"},ct),Od("light",vc),Od("dark",yc),Xd.prototype={constructor:Xd,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},r=[],o=[];for(Yd(t,{},r,"_oldKeyGetter",this),Yd(e,n,o,"_newKeyGetter",this),i=0;i<t.length;i++)null!=(h=n[l=r[i]])?((d=h.length)?(1===d&&(n[l]=null),h=h.unshift()):n[l]=null,this._update&&this._update(h,i)):this._remove&&this._remove(i);for(var i=0;i<o.length;i++){var l=o[i];if(n.hasOwnProperty(l)){var h;if(null==(h=n[l]))continue;if(h.length)for(var c=0,d=h.length;c<d;c++)this._add&&this._add(h[c]);else this._add&&this._add(h)}}}};var jd=ut(["tooltip","label","itemName","itemId","seriesName"]);function Ud(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}var qd=j,Zd=-1,Kd="e\0\0",$d={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},Qd="undefined"==typeof Uint32Array?Array:Uint32Array,Jd="undefined"==typeof Int32Array?Array:Int32Array,tf="undefined"==typeof Uint16Array?Array:Uint16Array;function ef(t){return t._rawCount>65535?Qd:tf}var nf=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],rf=["_extent","_approximateExtent","_rawExtent"];function af(t,source){F(nf.concat(source.__wrappedMethods||[]),function(e){source.hasOwnProperty(e)&&(t[e]=source[e])}),t.__wrappedMethods=source.__wrappedMethods,F(rf,function(e){t[e]=D(source[e])}),t._calculationInfo=A(source._calculationInfo)}var of=function(t,e){t=t||["x","y"];for(var n={},r=[],o={},i=0;i<t.length;i++){var l=t[i];Y(l)&&(l={name:l});var h=l.name;l.type=l.type||"float",l.coordDim||(l.coordDim=h,l.coordDimIndex=0),l.otherDims=l.otherDims||{},r.push(h),n[h]=l,l.index=i,l.createInvertedIndices&&(o[h]=[])}this.dimensions=r,this._dimensionInfos=n,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=function(data){var summary={},t=summary.encode={},e=ut(),n=[],r=[],o=summary.userOutput={dimensionNames:data.dimensions.slice(),encode:{}};F(data.dimensions,function(l){var h,c=data.getDimensionInfo(l),d=c.coordDim;if(d){var f=c.coordDimIndex;Ud(t,d)[f]=l,c.isExtraCoord||(e.set(d,1),"ordinal"!==(h=c.type)&&"time"!==h&&(n[0]=l),Ud(o.encode,d)[f]=c.index),c.defaultTooltip&&r.push(l)}jd.each(function(e,n){var r=Ud(t,n),o=c.otherDims[n];null!=o&&!1!==o&&(r[o]=c.name)})});var l=[],h={};e.each(function(e,n){var r=t[n];h[n]=r[0],l=l.concat(r)}),summary.dataDimsOnCoord=l,summary.encodeFirstDimNotExtra=h;var c=t.label;c&&c.length&&(n=c.slice());var d=t.tooltip;return d&&d.length?r=d.slice():r.length||(r=n.slice()),t.defaultedLabel=n,t.defaultedTooltip=r,summary}(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},sf=of.prototype;function lf(t,e,n,r,o){var l=$d[e.type],h=r-1,c=e.name,d=t[c][h];if(d&&d.length<n){for(var f=new l(Math.min(o-h*n,n)),v=0;v<d.length;v++)f[v]=d[v];t[c][h]=f}for(var m=r*n;m<o;m+=n)t[c].push(new l(Math.min(o-m,n)))}function hf(t){var e=t._invertedIndicesMap;F(e,function(n,r){var o=t._dimensionInfos[r].ordinalMeta;if(o){n=e[r]=new Jd(o.categories.length);for(var i=0;i<n.length;i++)n[i]=Zd;for(i=0;i<t._count;i++)n[t.get(r,i)]=i}})}function uf(t,e,n){var r;if(null!=e){var o=t._chunkSize,l=Math.floor(n/o),h=n%o,c=t.dimensions[e],d=t._storage[c][l];if(d){r=d[h];var f=t._dimensionInfos[c].ordinalMeta;f&&f.categories.length&&(r=f.categories[r])}}return r}function cf(t){return t}function df(t){return t<this._count&&t>=0?this._indices[t]:-1}function ff(t,e){var n=t._idList[e];return null==n&&(n=uf(t,t._idDimIdx,e)),null==n&&(n=Kd+e),n}function pf(t){return G(t)||(t=[t]),t}function gf(t,e){var n=t.dimensions,r=new of(map(n,t.getDimensionInfo,t),t.hostModel);af(r,t);for(var o=r._storage={},l=t._storage,i=0;i<n.length;i++){var h=n[i];l[h]&&(B(e,h)>=0?(o[h]=vf(l[h]),r._rawExtent[h]=[1/0,-1/0],r._extent[h]=null):o[h]=l[h])}return r}function vf(t){for(var e,n,r=new Array(t.length),o=0;o<t.length;o++)r[o]=(e=t[o],n=void 0,(n=e.constructor)===Array?e.slice():new n(e));return r}sf.type="list",sf.hasItemOption=!0,sf.getDimension=function(t){return"number"!=typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},sf.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},sf.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},sf.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return!0===e?(r||[]).slice():r&&r[e]},sf.initData=function(data,t,e){(yh.isInstance(data)||z(data))&&(data=new nu(data,this.dimensions.length)),this._rawData=data,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},e||(this.hasItemOption=!1),this.defaultDimValueGetter=uu[this._rawData.getSource().sourceFormat],this._dimValueGetter=e=e||this.defaultDimValueGetter,this._dimValueGetterArrayRows=uu.arrayRows,this._rawExtent={},this._initDataFromProvider(0,data.count()),data.pure&&(this.hasItemOption=!1)},sf.getProvider=function(){return this._rawData},sf.appendData=function(data){var t=this._rawData,e=this.count();t.appendData(data);var n=t.count();t.persistent||(n+=e),this._initDataFromProvider(e,n)},sf.appendValues=function(t,e){for(var n=this._chunkSize,r=this._storage,o=this.dimensions,l=o.length,h=this._rawExtent,c=this.count(),d=c+Math.max(t.length,e?e.length:0),f=this._chunkCount,i=0;i<l;i++)h[S=o[i]]||(h[S]=[1/0,-1/0]),r[S]||(r[S]=[]),lf(r,this._dimensionInfos[S],n,f,d),this._chunkCount=r[S].length;for(var v=new Array(l),m=c;m<d;m++){for(var y=m-c,_=Math.floor(m/n),x=m%n,w=0;w<l;w++){var S=o[w],M=this._dimValueGetterArrayRows(t[y]||v,S,y,w);r[S][_][x]=M;var I=h[S];M<I[0]&&(I[0]=M),M>I[1]&&(I[1]=M)}e&&(this._nameList[m]=e[y])}this._rawCount=this._count=d,this._extent={},hf(this)},sf._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,r=this._chunkSize,o=this._rawData,l=this._storage,h=this.dimensions,c=h.length,d=this._dimensionInfos,f=this._nameList,v=this._idList,m=this._rawExtent,y=this._nameRepeatCount={},_=this._chunkCount,i=0;i<c;i++){m[C=h[i]]||(m[C]=[1/0,-1/0]);var x=d[C];0===x.otherDims.itemName&&(n=this._nameDimIdx=i),0===x.otherDims.itemId&&(this._idDimIdx=i),l[C]||(l[C]=[]),lf(l,x,r,_,e),this._chunkCount=l[C].length}for(var w=new Array(c),S=t;S<e;S++){w=o.getItem(S,w);for(var M=Math.floor(S/r),I=S%r,T=0;T<c;T++){var C,D=l[C=h[T]][M],k=this._dimValueGetter(w,C,S,T);D[I]=k;var A=m[C];k<A[0]&&(A[0]=k),k>A[1]&&(A[1]=k)}if(!o.pure){var P=f[S];if(w&&null==P)if(null!=w.name)f[S]=P=w.name;else if(null!=n){var O=h[n],L=l[O][M];if(L){P=L[I];var N=d[O].ordinalMeta;N&&N.categories.length&&(P=N.categories[P])}}var B=null==w?null:w.id;null==B&&null!=P&&(y[P]=y[P]||0,B=P,y[P]>0&&(B+="__ec__"+y[P]),y[P]++),null!=B&&(v[S]=B)}}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=e,this._extent={},hf(this)}},sf.count=function(){return this._count},sf.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i<n;i++)r[i]=t[i]}else r=new e(t.buffer,0,n)}else{var r=new(e=ef(this))(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},sf.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var r=Math.floor(e/this._chunkSize),o=e%this._chunkSize;return n[t][r][o]},sf.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;var r=Math.floor(e/this._chunkSize),o=e%this._chunkSize;return n[r][o]},sf._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),r=e%this._chunkSize;return this._storage[t][n][r]},sf.getValues=function(t,e){var n=[];G(t)||(e=t,t=this.dimensions);for(var i=0,r=t.length;i<r;i++)n.push(this.get(t[i],e));return n},sf.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this.get(e[i],t)))return!1;return!0},sf.getDataExtent=function(t){t=this.getDimension(t);var e=[1/0,-1/0];if(!this._storage[t])return e;var n,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(n=this._extent[t])return n.slice();for(var o=(n=e)[0],l=n[1],i=0;i<r;i++){var h=this._getFast(t,this.getRawIndex(i));h<o&&(o=h),h>l&&(l=h)}return n=[o,l],this._extent[t]=n,n},sf.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},sf.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},sf.getCalculationInfo=function(t){return this._calculationInfo[t]},sf.setCalculationInfo=function(t,e){qd(t)?A(this._calculationInfo,t):this._calculationInfo[t]=e},sf.getSum=function(t){var e=0;if(this._storage[t])for(var i=0,n=this.count();i<n;i++){var r=this.get(t,i);isNaN(r)||(e+=r)}return e},sf.getMedian=function(t){var e=[];this.each(t,function(t,n){isNaN(t)||e.push(t)});var n=[].concat(e).sort(function(a,b){return a-b}),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},sf.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?Zd:n},sf.indexOfName=function(t){for(var i=0,e=this.count();i<e;i++)if(this.getName(i)===t)return i;return-1},sf.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,o=this._count-1;r<=o;){var l=(r+o)/2|0;if(e[l]<t)r=l+1;else{if(!(e[l]>t))return l;o=l-1}}return-1},sf.indicesOfNearest=function(t,e,n){var r=[];if(!this._storage[t])return r;null==n&&(n=1/0);for(var o=Number.MAX_VALUE,l=-1,i=0,h=this.count();i<h;i++){var c=e-this.get(t,i),d=Math.abs(c);c<=n&&d<=o&&((d<o||c>=0&&l<0)&&(o=d,l=c,r.length=0),r.push(i))}return r},sf.getRawIndex=cf,sf.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},sf.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||uf(this,this._nameDimIdx,e)||""},sf.getId=function(t){return ff(this,this.getRawIndex(t))},sf.each=function(t,e,n,r){if(this._count){"function"==typeof t&&(r=n,n=e,e=t,t=[]),n=n||r||this;for(var o=(t=map(pf(t),this.getDimension,this)).length,i=0;i<this.count();i++)switch(o){case 0:e.call(n,i);break;case 1:e.call(n,this.get(t[0],i),i);break;case 2:e.call(n,this.get(t[0],i),this.get(t[1],i),i);break;default:for(var l=0,h=[];l<o;l++)h[l]=this.get(t[l],i);h[l]=i,e.apply(n,h)}}},sf.filterSelf=function(t,e,n,r){if(this._count){"function"==typeof t&&(r=n,n=e,e=t,t=[]),n=n||r||this,t=map(pf(t),this.getDimension,this);for(var o=this.count(),l=new(ef(this))(o),h=[],c=t.length,d=0,f=t[0],i=0;i<o;i++){var v,m=this.getRawIndex(i);if(0===c)v=e.call(n,i);else if(1===c){var y=this._getFast(f,m);v=e.call(n,y,i)}else{for(var _=0;_<c;_++)h[_]=this._getFast(f,m);h[_]=i,v=e.apply(n,h)}v&&(l[d++]=m)}return d<o&&(this._indices=l),this._count=d,this._extent={},this.getRawIndex=this._indices?df:cf,this}},sf.selectRange=function(t){if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var r=e.length;if(r){var o=this.count(),l=new(ef(this))(o),h=0,c=e[0],d=t[c][0],f=t[c][1],v=!1;if(!this._indices){var m=0;if(1===r){for(var y=this._storage[e[0]],_=0;_<this._chunkCount;_++)for(var x=y[_],w=Math.min(this._count-_*this._chunkSize,this._chunkSize),i=0;i<w;i++)((C=x[i])>=d&&C<=f||isNaN(C))&&(l[h++]=m),m++;v=!0}else if(2===r){y=this._storage[c];var S=this._storage[e[1]],M=t[e[1]][0],I=t[e[1]][1];for(_=0;_<this._chunkCount;_++){x=y[_];var T=S[_];for(w=Math.min(this._count-_*this._chunkSize,this._chunkSize),i=0;i<w;i++){var C=x[i],D=T[i];(C>=d&&C<=f||isNaN(C))&&(D>=M&&D<=I||isNaN(D))&&(l[h++]=m),m++}}v=!0}}if(!v)if(1===r)for(i=0;i<o;i++){var k=this.getRawIndex(i);((C=this._getFast(c,k))>=d&&C<=f||isNaN(C))&&(l[h++]=k)}else for(i=0;i<o;i++){var A=!0;for(k=this.getRawIndex(i),_=0;_<r;_++){var P=e[_];((C=this._getFast(n,k))<t[P][0]||C>t[P][1])&&(A=!1)}A&&(l[h++]=this.getRawIndex(i))}return h<o&&(this._indices=l),this._count=h,this._extent={},this.getRawIndex=this._indices?df:cf,this}}},sf.mapArray=function(t,e,n,r){"function"==typeof t&&(r=n,n=e,e=t,t=[]),n=n||r||this;var o=[];return this.each(t,function(){o.push(e&&e.apply(this,arguments))},n),o},sf.map=function(t,e,n,r){n=n||r||this;var o=gf(this,t=map(pf(t),this.getDimension,this));o._indices=this._indices,o.getRawIndex=o._indices?df:cf;for(var l=o._storage,h=[],c=this._chunkSize,d=t.length,f=this.count(),v=[],m=o._rawExtent,y=0;y<f;y++){for(var _=0;_<d;_++)v[_]=this.get(t[_],y);v[d]=y;var x=e&&e.apply(n,v);if(null!=x){"object"!=typeof x&&(h[0]=x,x=h);for(var w=this.getRawIndex(y),S=Math.floor(w/c),M=w%c,i=0;i<x.length;i++){var I=t[i],T=x[i],C=m[I],D=l[I];D&&(D[S][M]=T),T<C[0]&&(C[0]=T),T>C[1]&&(C[1]=T)}}}return o},sf.downSample=function(t,e,n,r){for(var o=gf(this,[t]),l=o._storage,h=[],c=Math.floor(1/e),d=l[t],f=this.count(),v=this._chunkSize,m=o._rawExtent[t],y=new(ef(this))(f),_=0,i=0;i<f;i+=c){c>f-i&&(c=f-i,h.length=c);for(var x=0;x<c;x++){var w=this.getRawIndex(i+x),S=Math.floor(w/v),M=w%v;h[x]=d[S][M]}var I=n(h),T=this.getRawIndex(Math.min(i+r(h,I)||0,f-1)),C=T%v;d[Math.floor(T/v)][C]=I,I<m[0]&&(m[0]=I),I>m[1]&&(m[1]=I),y[_++]=T}return o._count=_,o._indices=y,o.getRawIndex=df,o},sf.getItemModel=function(t){var e=this.hostModel;return new cl(this.getRawDataItem(t),e,e&&e.ecModel)},sf.diff=function(t){var e=this;return new Xd(t?t.getIndices():[],this.getIndices(),function(e){return ff(t,e)},function(t){return ff(e,t)})},sf.getVisual=function(t){var e=this._visual;return e&&e[t]},sf.setVisual=function(t,e){if(qd(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},sf.setLayout=function(t,e){if(qd(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},sf.getLayout=function(t){return this._layout[t]},sf.getItemLayout=function(t){return this._itemLayouts[t]},sf.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?A(this._itemLayouts[t]||{},e):e},sf.clearItemLayouts=function(){this._itemLayouts.length=0},sf.getItemVisual=function(t,e,n){var r=this._itemVisuals[t],o=r&&r[e];return null!=o||n?o:this.getVisual(e)},sf.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=r,qd(e))for(var l in e)e.hasOwnProperty(l)&&(r[l]=e[l],o[l]=!0);else r[e]=n,o[e]=!0},sf.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var mf=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};function yf(t,source,e){yh.isInstance(source)||(source=yh.seriesDataToSource(source)),e=e||{},t=(t||[]).slice();for(var n=(e.dimsDef||[]).slice(),r=ut(e.encodeDef),o=ut(),l=ut(),h=[],c=function(source,t,e,n){var r=Math.max(source.dimensionsDetectCount||1,t.length,e.length,n||0);return F(t,function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))}),r}(source,t,n,e.dimCount),i=0;i<c;i++){var d=n[i]=A({},j(n[i])?n[i]:{name:n[i]}),f=d.name,v=h[i]={otherDims:{}};null!=f&&null==o.get(f)&&(v.name=v.displayName=f,o.set(f,i)),null!=d.type&&(v.type=d.type),null!=d.displayName&&(v.displayName=d.displayName)}r.each(function(t,e){if(1===(t=Ir(t).slice()).length&&!Y(t[0])&&t[0]<0)r.set(e,!1);else{var n=r.set(e,[]);F(t,function(t,r){Y(t)&&(t=o.get(t)),null!=t&&t<c&&(n[r]=t,y(h[t],e,r))})}});var m=0;function y(t,e,n){null!=jd.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,l.set(e,!0))}F(t,function(t,e){var n,o,l;if(Y(t))n=t,t={};else{n=t.name;var c=t.ordinalMeta;t.ordinalMeta=null,(t=D(t)).ordinalMeta=c,o=t.dimsDef,l=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}if(!1!==(d=r.get(n))){var d;if(!(d=Ir(d)).length)for(var i=0;i<(o&&o.length||1);i++){for(;m<h.length&&null!=h[m].coordDim;)m++;m<h.length&&d.push(m++)}F(d,function(e,r){var c=h[e];if(y(P(c,t),n,r),null==c.name&&o){var d=o[r];!j(d)&&(d={name:d}),c.name=c.displayName=d.name,c.defaultTooltip=d.defaultTooltip}l&&P(c.otherDims,l)})}});var _=e.generateCoord,x=e.generateCoordCount,w=null!=x;x=_?x||1:0;for(var S=_||"value",M=0;M<c;M++)null==(v=h[M]=h[M]||{}).coordDim&&(v.coordDim=_f(S,l,w),v.coordDimIndex=0,(!_||x<=0)&&(v.isExtraCoord=!0),x--),null==v.name&&(v.name=_f(v.coordDim,o)),null==v.type&&Sh(source,M,v.name)&&(v.type="ordinal");return h}function _f(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}sf.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(mf,e)),this._graphicEls[t]=e},sf.getItemGraphicEl=function(t){return this._graphicEls[t]},sf.eachItemGraphicEl=function(t,e){F(this._graphicEls,function(n,r){n&&t&&t.call(e,n,r)})},sf.cloneShallow=function(t){if(!t){var e=map(this.dimensions,this.getDimensionInfo,this);t=new of(e,this.hostModel)}if(t._storage=this._storage,af(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?df:cf,t},sf.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(et(arguments)))})},sf.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],sf.CHANGABLE_METHODS=["filterSelf","selectRange"];var xf=function(source,t){return yf((t=t||{}).coordDimensions||[],source,{dimsDef:t.dimensionsDefine||source.dimensionsDefine,encodeDef:t.encodeDefine||source.encodeDefine,dimCount:t.dimensionsCount,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})};function wf(t,e,n){var r,o,l,h,c=(n=n||{}).byIndex,d=n.stackedCoordDimension,f=!(!t||!t.get("stack"));if(F(e,function(t,n){Y(t)&&(e[n]=t={name:t}),f&&!t.isExtraCoord&&(c||r||!t.ordinalMeta||(r=t),o||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(o=t))}),!o||c||r||(c=!0),o){l="__\0ecstackresult",h="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var v=o.coordDim,m=o.type,y=0;F(e,function(t){t.coordDim===v&&y++}),e.push({name:l,coordDim:v,coordDimIndex:y,type:m,isExtraCoord:!0,isCalculationCoord:!0}),y++,e.push({name:h,coordDim:h,coordDimIndex:y,type:m,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:r&&r.name,isStackedByIndex:c,stackedOverDimension:h,stackResultDimension:l}}function bf(data,t){return!!t&&t===data.getCalculationInfo("stackedDimension")}function Sf(source,t,e){e=e||{},yh.isInstance(source)||(source=yh.seriesDataToSource(source));var n,r=t.get("coordinateSystem"),o=Oh.get(r),l=sh(t);l&&(n=map(l.coordSysDims,function(t){var e={name:t},n=l.axisMap.get(t);if(n){var r=n.get("type");e.type=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}(r)}return e})),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]);var h,c,d=xf(source,{coordDimensions:n,generateCoord:e.generateCoord});l&&F(d,function(t,e){var n=t.coordDim,r=l.categoryAxisMap.get(n);r&&(null==h&&(h=e),t.ordinalMeta=r.getOrdinalMeta()),null!=t.otherDims.itemName&&(c=!0)}),c||null==h||(d[h].otherDims.itemName=0);var f=wf(t,d),v=new of(d,t);v.setCalculationInfo(f);var m=null!=h&&function(source){if(source.sourceFormat===uh){var t=function(data){for(var i=0;i<data.length&&null==data[i];)i++;return data[i]}(source.data||[]);return null!=t&&!G(Dr(t))}}(source)?function(t,e,n,r){return r===h?n:this.defaultDimValueGetter(t,e,n,r)}:null;return v.hasItemOption=!1,v.initData(source,null,m),v}function Mf(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}function If(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}Mf.prototype.parse=function(t){return t},Mf.prototype.getSetting=function(t){return this._setting[t]},Mf.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},Mf.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},Mf.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},Mf.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},Mf.prototype.unionExtentFromData=function(data,t){this.unionExtent(data.getApproximateExtent(t))},Mf.prototype.getExtent=function(){return this._extent.slice()},Mf.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},Mf.prototype.isBlank=function(){return this._isBlank},Mf.prototype.setBlank=function(t){this._isBlank=t},Mf.prototype.getLabel=null,Wr(Mf),Ur(Mf,{registerWhenExtend:!0}),If.createByAxisModel=function(t){var option=t.option,data=option.data,e=data&&map(data,Df);return new If({categories:e,needCollect:!e,deduplication:!1!==option.dedplication})};var Tf=If.prototype;function Cf(t){return t._map||(t._map=ut(t.categories))}function Df(t){return j(t)&&null!=t.value?t.value:t+""}Tf.getOrdinal=function(t){return Cf(this).get(t)},Tf.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=Cf(this);return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e};var kf=Mf.prototype,Af=Mf.extend({type:"ordinal",init:function(t,e){t&&!G(t)||(t=new If({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),kf.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return kf.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(kf.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(data,t){this.unionExtent(data.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:ct,niceExtent:ct});Af.create=function(){return new Af};var Pf=_l;function Of(t){return xl(t)+2}function Lf(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Nf(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Lf(t,0,e),Lf(t,1,e),t[0]>t[1]&&(t[0]=t[1])}var Bf=_l,Rf=Mf.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),Rf.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Of(t)},getTicks:function(){return function(t,e,n,r){var o=[];if(!t)return o;e[0]<n[0]&&o.push(e[0]);for(var l=n[0];l<=n[1]&&(o.push(l),(l=Pf(l+t,r))!==o[o.length-1]);)if(o.length>1e4)return[];return e[1]>(o.length?o[o.length-1]:n[1])&&o.push(e[1]),o}(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(data,t){if(null==data)return"";var e=t&&t.precision;return null==e?e=xl(data)||0:"auto"===e&&(e=this._intervalPrecision),Al(data=Bf(data,e,!0))},niceTicks:function(t,e,n){t=t||5;var r=this._extent,span=r[1]-r[0];if(isFinite(span)){span<0&&(span=-span,r.reverse());var o=function(t,e,n,r){var o={},span=t[1]-t[0],l=o.interval=Dl(span/e,!0);null!=n&&l<n&&(l=o.interval=n),null!=r&&l>r&&(l=o.interval=r);var h=o.intervalPrecision=Of(l);return Nf(o.niceTickExtent=[Pf(Math.ceil(t[0]/l)*l,h),Pf(Math.floor(t[1]/l)*l,h)],t),o}(r,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;var span=e[1]-e[0];isFinite(span)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=Bf(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=Bf(Math.ceil(e[1]/r)*r))}});Rf.create=function(){return new Rf};var Ef="__ec_stack_";function zf(t){return t.get("stack")||Ef+t.seriesIndex}function Ff(t){return t.dim+t.index}function Hf(t){var e=[];return F(t,function(t){var data=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=n.getExtent(),o="category"===n.type?n.getBandWidth():Math.abs(r[1]-r[0])/data.count(),l=yl(t.get("barWidth"),o),h=yl(t.get("barMaxWidth"),o),c=t.get("barGap"),d=t.get("barCategoryGap");e.push({bandWidth:o,barWidth:l,barMaxWidth:h,barGap:c,barCategoryGap:d,axisKey:Ff(n),stackId:zf(t)})}),function(t){var e={};F(t,function(t,n){var r=t.axisKey,o=t.bandWidth,l=e[r]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=l.stacks;e[r]=l;var c=t.stackId;h[c]||l.autoWidthCount++,h[c]=h[c]||{width:0,maxWidth:0};var d=t.barWidth;d&&!h[c].width&&(h[c].width=d,d=Math.min(l.remainedWidth,d),l.remainedWidth-=d);var f=t.barMaxWidth;f&&(h[c].maxWidth=f);var v=t.barGap;null!=v&&(l.gap=v);var m=t.barCategoryGap;null!=m&&(l.categoryGap=m)});var n={};return F(e,function(t,e){n[e]={};var r=t.stacks,o=t.bandWidth,l=yl(t.categoryGap,o),h=yl(t.gap,1),c=t.remainedWidth,d=t.autoWidthCount,f=(c-l)/(d+(d-1)*h);f=Math.max(f,0),F(r,function(t,e){var n=t.maxWidth;n&&n<f&&(n=Math.min(n,c),t.width&&(n=Math.min(n,t.width)),c-=n,t.width=n,d--)}),f=(c-l)/(d+(d-1)*h),f=Math.max(f,0);var v,m=0;F(r,function(t,e){t.width||(t.width=f),v=t,m+=t.width*(1+h)}),v&&(m-=v.width*h);var y=-m/2;F(r,function(t,r){n[e][r]=n[e][r]||{bandWidth:o,offset:y,width:t.width},y+=t.width*(1+h)})}),n}(e)}function Vf(t,e,n){if(t&&e){var r=t[Ff(e)];return null!=r&&null!=n&&(r=r[zf(n)]),r}}function Wf(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Gf(t){return t.pipelineContext&&t.pipelineContext.large}"undefined"!=typeof Float32Array?Float32Array:Array,Ou();var Xf=Rf.prototype,Yf=Math.ceil,jf=Math.floor,Uf=Rf.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return Vl(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=_l(jf(e[0]/r)*r)),t.fixMax||(e[1]=_l(Yf(e[1]/r)*r))},niceTicks:function(t,e,n){t=t||10;var r=this._extent,span=r[1]-r[0],o=span/t;null!=e&&o<e&&(o=e),null!=n&&o>n&&(o=n);var l=qf.length,h=function(a,t,e,n){for(;e<n;){var r=e+n>>>1;a[r][1]<t?e=r+1:n=r}return e}(qf,o,0,l),c=qf[Math.min(h,l-1)],d=c[1];"year"===c[0]&&(d*=Dl(span/d/t,!0));var f=this.getSetting("useUTC")?0:60*new Date(+r[0]||+r[1]).getTimezoneOffset()*1e3,v=[Math.round(Yf((r[0]-f)/d)*d+f),Math.round(jf((r[1]-f)/d)*d+f)];Nf(v,r),this._stepLvl=c,this._interval=d,this._niceExtent=v},parse:function(t){return+Il(t)}});F(["contain","normalize"],function(t){Uf.prototype[t]=function(e){return Xf[t].call(this,this.parse(e))}});var qf=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];Uf.create=function(t){return new Uf({useUTC:t.ecModel.get("useUTC")})};var Zf=Mf.prototype,Kf=Rf.prototype,$f=xl,Qf=_l,Jf=Math.floor,tp=Math.ceil,ep=Math.pow,np=Math.log,ip=Mf.extend({type:"log",base:10,$constructor:function(){Mf.apply(this,arguments),this._originalScale=new Rf},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return map(Kf.getTicks.call(this),function(r){var o=_l(ep(this.base,r));return o=r===e[0]&&t.__fixMin?ap(o,n[0]):o,o=r===e[1]&&t.__fixMax?ap(o,n[1]):o},this)},getLabel:Kf.getLabel,scale:function(t){return t=Zf.scale.call(this,t),ep(this.base,t)},setExtent:function(t,e){var base=this.base;t=np(t)/np(base),e=np(e)/np(base),Kf.setExtent.call(this,t,e)},getExtent:function(){var base=this.base,t=Zf.getExtent.call(this);t[0]=ep(base,t[0]),t[1]=ep(base,t[1]);var e=this._originalScale,n=e.getExtent();return e.__fixMin&&(t[0]=ap(t[0],n[0])),e.__fixMax&&(t[1]=ap(t[1],n[1])),t},unionExtent:function(t){this._originalScale.unionExtent(t);var base=this.base;t[0]=np(t[0])/np(base),t[1]=np(t[1])/np(base),Zf.unionExtent.call(this,t)},unionExtentFromData:function(data,t){this.unionExtent(data.getApproximateExtent(t))},niceTicks:function(t){t=t||10;var e=this._extent,span=e[1]-e[0];if(!(span===1/0||span<=0)){var n=Tl(span);for(t/span*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var r=[_l(tp(e[0]/n)*n),_l(Jf(e[1]/n)*n)];this._interval=n,this._niceExtent=r}},niceExtent:function(t){Kf.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function ap(t,e){return Qf(t,$f(e))}function op(t,e){var n,r,span,o=t.type,l=e.getMin(),h=e.getMax(),c=null!=l,d=null!=h,f=t.getExtent();"ordinal"===o?n=e.getCategories().length:(G(r=e.get("boundaryGap"))||(r=[r||0,r||0]),"boolean"==typeof r[0]&&(r=[0,0]),r[0]=yl(r[0],1),r[1]=yl(r[1],1),span=f[1]-f[0]||Math.abs(f[0])),null==l&&(l="ordinal"===o?n?0:NaN:f[0]-r[0]*span),null==h&&(h="ordinal"===o?n?n-1:NaN:f[1]+r[1]*span),"dataMin"===l?l=f[0]:"function"==typeof l&&(l=l({min:f[0],max:f[1]})),"dataMax"===h?h=f[1]:"function"==typeof h&&(h=h({min:f[0],max:f[1]})),(null==l||!isFinite(l))&&(l=NaN),(null==h||!isFinite(h))&&(h=NaN),t.setBlank($(l)||$(h)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(l>0&&h>0&&!c&&(l=0),l<0&&h<0&&!d&&(h=0));var v=e.ecModel;if(v&&"time"===o){var m,y=function(t,e){var n=[];return e.eachSeriesByType(t,function(t){Wf(t)&&!Gf(t)&&n.push(t)}),n}("bar",v);if(F(y,function(t){m|=t.getBaseAxis()===e.axis}),m){var _=Hf(y),x=function(t,e,n,r){var o=n.axis.getExtent(),l=o[1]-o[0],h=Vf(r,n.axis);if(void 0===h)return{min:t,max:e};var c=1/0;F(h,function(t){c=Math.min(t.offset,c)});var d=-1/0;F(h,function(t){d=Math.max(t.offset+t.width,d)}),c=Math.abs(c),d=Math.abs(d);var f=c+d,v=e-t,m=v/(1-(c+d)/l)-v;return{min:t-=m*(c/f),max:e+=m*(d/f)}}(l,h,e,_);l=x.min,h=x.max}}return[l,h]}function sp(t){var e,n=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,o){return null!=r&&(o=e-r),n(lp(t,e),o)}:function(e){return t.scale.getLabel(e)}}function lp(t,e){return"category"===t.type?t.scale.getLabel(e):e}function hp(t){var e=t.get("interval");return null==e?"auto":e}function up(t){return"category"===t.type&&0===hp(t.getLabelModel())}F(["contain","normalize"],function(t){ip.prototype[t]=function(e){return e=np(e)/np(this.base),Zf[t].call(this,e)}}),ip.create=function(){return new ip};var cp={getMin:function(t){var option=this.option,e=t||null==option.rangeStart?option.min:option.rangeStart;return this.axis&&null!=e&&"dataMin"!==e&&"function"!=typeof e&&!$(e)&&(e=this.axis.scale.parse(e)),e},getMax:function(t){var option=this.option,e=t||null==option.rangeEnd?option.max:option.rangeEnd;return this.axis&&null!=e&&"dataMax"!==e&&"function"!=typeof e&&!$(e)&&(e=this.axis.scale.parse(e)),e},getNeedCrossZero:function(){var option=this.option;return null==option.rangeStart&&null==option.rangeEnd&&!option.scale},getCoordSysModel:ct,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}},dp=vs({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(path,t){var e=t.cx,n=t.cy,r=t.width/2,o=t.height/2;path.moveTo(e,n-o),path.lineTo(e+r,n+o),path.lineTo(e-r,n+o),path.closePath()}}),fp=vs({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(path,t){var e=t.cx,n=t.cy,r=t.width/2,o=t.height/2;path.moveTo(e,n-o),path.lineTo(e+r,n),path.lineTo(e,n+o),path.lineTo(e-r,n),path.closePath()}}),pp=vs({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(path,t){var e=t.x,n=t.y,r=t.width/5*3,o=Math.max(r,t.height),l=r/2,h=l*l/(o-l),c=n-o+l+h,d=Math.asin(h/l),f=Math.cos(d)*l,v=Math.sin(d),m=Math.cos(d),y=.6*l,_=.7*l;path.moveTo(e-f,c+h),path.arc(e,c,l,Math.PI-d,2*Math.PI+d),path.bezierCurveTo(e+f-v*y,c+h+m*y,e,n-_,e,n),path.bezierCurveTo(e,n-_,e-f+v*y,c+h+m*y,e-f,c+h),path.closePath()}}),gp=vs({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,o=e.x,l=e.y,h=r/3*2;t.moveTo(o,l),t.lineTo(o+h,l+n),t.lineTo(o,l+n/4*3),t.lineTo(o-h,l+n),t.lineTo(o,l),t.closePath()}}),vp={line:function(t,e,n,r,o){o.x1=t,o.y1=e+r/2,o.x2=t+n,o.y2=e+r/2},rect:function(t,e,n,r,o){o.x=t,o.y=e,o.width=n,o.height=r},roundRect:function(t,e,n,r,o){o.x=t,o.y=e,o.width=n,o.height=r,o.r=Math.min(n,r)/4},square:function(t,e,n,r,o){var l=Math.min(n,r);o.x=t,o.y=e,o.width=l,o.height=l},circle:function(t,e,n,r,o){o.cx=t+n/2,o.cy=e+r/2,o.r=Math.min(n,r)/2},diamond:function(t,e,n,r,o){o.cx=t+n/2,o.cy=e+r/2,o.width=n,o.height=r},pin:function(t,e,n,r,o){o.x=t+n/2,o.y=e+r/2,o.width=n,o.height=r},arrow:function(t,e,n,r,o){o.x=t+n/2,o.y=e+r/2,o.width=n,o.height=r},triangle:function(t,e,n,r,o){o.cx=t+n/2,o.cy=e+r/2,o.width=n,o.height=r}},mp={};F({line:Ko,rect:qo,roundRect:qo,square:qo,circle:Lo,diamond:fp,pin:pp,arrow:gp,triangle:dp},function(t,e){mp[e]=new t});var yp=vs({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,style,rect){var e=gi(t,style,rect),n=this.shape;return n&&"pin"===n.symbolType&&"inside"===style.textPosition&&(e.y=rect.y+.4*rect.height),e},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var o=mp[r];o||(o=mp[r="rect"]),vp[r](e.x,e.y,e.width,e.height,o.shape),o.buildPath(t,o.shape,n)}}});function _p(t,e){if("image"!==this.type){var n=this.style,r=this.shape;r&&"line"===r.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function xp(t,e,n,r,o,l,h){var c,d=0===t.indexOf("empty");return d&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(c=0===t.indexOf("image://")?_s(t.slice(8),new Tn(e,n,r,o),h?"center":"cover"):0===t.indexOf("path://")?ys(t.slice(7),{},new Tn(e,n,r,o),h?"center":"cover"):new yp({shape:{symbolType:t,x:e,y:n,width:r,height:o}})).__isEmptyBrush=d,c.setColor=_p,c.setColor(l),c}var wp={isDimensionStacked:bf,enableDataStack:wf,getStackedDimension:function(data,t){return bf(data,t)?data.getCalculationInfo("stackResultDimension"):t}},bp=(Object.freeze||Object)({createList:function(t){return Sf(t.getSource(),t)},getLayoutRect:Zl,dataStack:wp,createScale:function(t,option){var e=option;cl.isInstance(option)||E(e=new cl(option),cp);var n=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Af(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new Rf;default:return(Mf.getClass(e)||Rf).create(t)}}(e);return n.setExtent(t[0],t[1]),function(t,e){var n=op(t,e),r=null!=e.getMin(),o=null!=e.getMax(),l=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var h=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:l,fixMin:r,fixMax:o,minInterval:"interval"===h||"time"===h?e.get("minInterval"):null,maxInterval:"interval"===h||"time"===h?e.get("maxInterval"):null});var c=e.get("interval");null!=c&&t.setInterval&&t.setInterval(c)}(n,e),n},mixinAxisModelCommonMethods:function(t){E(t,cp)},completeDimensions:yf,createDimensions:xf,createSymbol:xp}),Sp=1e-8;function Mp(a,b){return Math.abs(a-b)<Sp}function Ip(t,e,n){var r=0,p=t[0];if(!p)return!1;for(var i=1;i<t.length;i++){var o=t[i];r+=Ja(p[0],p[1],o[0],o[1],e,n),p=o}var l=t[0];return Mp(p[0],l[0])&&Mp(p[1],l[1])||(r+=Ja(p[0],p[1],l[0],l[1],e,n)),0!==r}function Tp(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var rect=this.getBoundingRect();n=[rect.x+rect.width/2,rect.y+rect.height/2]}this.center=n}function Cp(t,e,n){for(var r=[],o=e[0],l=e[1],i=0;i<t.length;i+=2){var h=t.charCodeAt(i)-64,c=t.charCodeAt(i+1)-64;h=h>>1^-(1&h),c=c>>1^-(1&c),o=h+=o,l=c+=l,r.push([h/n,c/n])}return r}Tp.prototype={constructor:Tp,properties:null,getBoundingRect:function(){var rect=this._rect;if(rect)return rect;for(var t=Number.MAX_VALUE,e=[t,t],n=[-t,-t],r=[],o=[],l=this.geometries,i=0;i<l.length;i++)"polygon"===l[i].type&&(Ta(l[i].exterior,r,o),At(e,e,r),Pt(n,n,o));return 0===i&&(e[0]=e[1]=n[0]=n[1]=0),this._rect=new Tn(e[0],e[1],n[0]-e[0],n[1]-e[1])},contain:function(t){var rect=this.getBoundingRect(),e=this.geometries;if(!rect.contain(t[0],t[1]))return!1;t:for(var i=0,n=e.length;i<n;i++)if("polygon"===e[i].type){var r=e[i].exterior,o=e[i].interiors;if(Ip(r,t[0],t[1])){for(var l=0;l<(o?o.length:0);l++)if(Ip(o[l]))continue t;return!0}}return!1},transformTo:function(t,e,n,r){var rect=this.getBoundingRect(),o=rect.width/rect.height;n?r||(r=n/o):n=o*r;for(var l=new Tn(t,e,n,r),h=rect.calculateTransform(l),c=this.geometries,i=0;i<c.length;i++)if("polygon"===c[i].type){for(var d=c[i].exterior,f=c[i].interiors,p=0;p<d.length;p++)kt(d[p],d[p],h);for(var v=0;v<(f?f.length:0);v++)for(p=0;p<f[v].length;p++)kt(f[v][p],f[v][p],h)}(rect=this._rect).copy(l),this.center=[rect.x+rect.width/2,rect.y+rect.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new Tp(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var Dp=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,r=0;r<n.length;r++)for(var o=n[r].geometry,l=o.coordinates,h=o.encodeOffsets,c=0;c<l.length;c++){var d=l[c];if("Polygon"===o.type)l[c]=Cp(d,h[c],e);else if("MultiPolygon"===o.type)for(var f=0;f<d.length;f++){var polygon=d[f];d[f]=Cp(polygon,h[c][f],e)}}t.UTF8Encoding=!1}(t),map(filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,n=t.geometry,r=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===n.type&&F(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var l=new Tp(e.name,o,e.cp);return l.properties=e,l})},kp=Lr();function Ap(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=Op(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=sp(t);return{labels:map(e,function(e,r){return{formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)}function Pp(t,e){return"category"===t.type?function(t,e){var n,r,o=Lp(t,"ticks"),l=hp(e),h=Np(o,l);if(h)return h;if(e.get("show")&&!t.scale.isBlank()||(n=[]),X(l))n=Ep(t,l,!0);else if("auto"===l){var c=Op(t,t.getLabelModel());r=c.labelCategoryInterval,n=map(c.labels,function(t){return t.tickValue})}else n=Rp(t,r=l,!0);return Bp(o,l,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:t.scale.getTicks()}}function Op(t,e){var n,r,o=Lp(t,"labels"),l=hp(e),h=Np(o,l);return h||(X(l)?n=Ep(t,l):(r="auto"===l?function(t){var e=kp(t).autoInterval;return null!=e?e:kp(t).autoInterval=t.calculateCategoryInterval()}(t):l,n=Rp(t,r)),Bp(o,l,{labels:n,labelCategoryInterval:r}))}function Lp(t,e){return kp(t)[e]||(kp(t)[e]=[])}function Np(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function Bp(t,e,n){return t.push({key:e,value:n}),n}function Rp(t,e,n){var r=sp(t),o=t.scale,l=o.getExtent(),h=t.getLabelModel(),c=[],d=Math.max((e||0)+1,1),f=l[0],v=o.count();0!==f&&d>1&&v/d>2&&(f=Math.round(Math.ceil(f/d)*d));var m=up(t),y=h.get("showMinLabel")||m,_=h.get("showMaxLabel")||m;y&&f!==l[0]&&w(l[0]);for(var x=f;x<=l[1];x+=d)w(x);function w(t){c.push(n?t:{formattedLabel:r(t),rawLabel:o.getLabel(t),tickValue:t})}return _&&x-d!==l[1]&&w(l[1]),c}function Ep(t,e,n){var r=t.scale,o=sp(t),l=[];return F(r.getTicks(),function(t){var h=r.getLabel(t);e(t,h)&&l.push(n?t:{formattedLabel:o(t),rawLabel:h,tickValue:t})}),l}var zp=[0,1],Fp=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function Hp(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}Fp.prototype={constructor:Fp,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},containData:function(data){return this.contain(this.dataToCoord(data))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return wl(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(data,t){var e=this._extent,n=this.scale;return data=n.normalize(data),this.onBand&&"ordinal"===n.type&&Hp(e=e.slice(),n.count()),ml(data,zp,e,t)},coordToData:function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&Hp(n=n.slice(),r.count());var o=ml(t,n,zp,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=Pp(this,e),r=map(n.ticks,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),o=e.get("alignWithLabel");return function(t,e,n,r,o){var l=e.length;if(t.onBand&&!r&&l){var h,c=t.getExtent();if(1===l)e[0].coord=c[0],h=e[1]={coord:c[0]};else{var d=e[1].coord-e[0].coord;F(e,function(t){t.coord-=d/2;var e=e||0;e%2>0&&(t.coord-=d/(2*(e+1)))}),h={coord:e[l-1].coord+d},e.push(h)}var f=c[0]>c[1];v(e[0].coord,c[0])&&(o?e[0].coord=c[0]:e.shift()),o&&v(c[0],e[0].coord)&&e.unshift({coord:c[0]}),v(c[1],h.coord)&&(o?h.coord=c[1]:e.pop()),o&&v(h.coord,c[1])&&e.push({coord:c[1]})}function v(a,b){return f?a>b:a<b}}(this,r,n.tickCategoryInterval,o,t.clamp),r},getViewLabels:function(){return Ap(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=sp(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,o=t.scale,l=o.getExtent(),h=o.count();if(l[1]-l[0]<1)return 0;var c=1;h>40&&(c=Math.max(1,Math.floor(h/40)));for(var d=l[0],f=t.dataToCoord(d+1)-t.dataToCoord(d),v=Math.abs(f*Math.cos(r)),m=Math.abs(f*Math.sin(r)),y=0,_=0;d<=l[1];d+=c){var x,w,rect=di(n(d),e.font,"center","top");x=1.3*rect.width,w=1.3*rect.height,y=Math.max(y,x,7),_=Math.max(_,w,7)}var S=y/v,M=_/m;isNaN(S)&&(S=1/0),isNaN(M)&&(M=1/0);var I=Math.max(0,Math.floor(Math.min(S,M))),T=kp(t.model),C=T.lastAutoInterval,D=T.lastTickCount;return null!=C&&null!=D&&Math.abs(C-I)<=1&&Math.abs(D-h)<=1&&C>I?I=C:(T.lastTickCount=h,T.lastAutoInterval=I),I}(this)}};var Vp=Dp,Wp={};F(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){Wp[t]=ft[t]});var Gp={};F(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){Gp[t]=nl[t]});var Xp=F,Yp="\0__link_datas",jp="\0__link_mainData";function Up(t,e){if((data=this)[jp]===data){var n=A({},this[Yp]);n[this.dataType]=e,$p(e,n,t)}else Qp(e,this.dataType,this[jp],t);var data;return e}function qp(t,e){return t.struct&&t.struct.update(this),e}function Zp(t,e){return Xp(e[Yp],function(data,n){data!==e&&Qp(data.cloneShallow(),n,e,t)}),e}function Kp(t){var e=this[jp];return null==t||null==e?e:e[Yp][t]}function $p(t,e,n){t[Yp]={},Xp(e,function(data,e){Qp(data,e,t,n)})}function Qp(data,t,e,n){e[Yp][t]=data,data[jp]=e,data.dataType=t,n.struct&&(data[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=data),data.getLinkedData=Kp}var Jp=function(t,e){this.name=t||"",this.depth=0,this.mcHereShow=!0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function tg(t,e,n){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=map(e||[],function(e){return new cl(e,t,t.ecModel)}),this.leavesModel=new cl(n||{},t,t.ecModel)}function eg(data,t,e){Cn.call(this),this.updateData(data,t,e)}Jp.prototype={constructor:Jp,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),Y(t=t||{})&&(t={order:t});var r,o=t.order||"preorder",l=this[t.attr||"children"];"preorder"===o&&(r=e.call(n,this));for(var i=0;!r&&i<l.length;i++)l[i].eachNode(t,e,n);"postorder"===o&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var i=0,e=this.children,n=e.length;i<n;i++){var r=e[i].getNodeById(t);if(r)return r}},contains:function(t){if(t===this)return!0;for(var i=0,e=this.children,n=e.length;i<n;i++){var r=e[i].contains(t);if(r)return r}},getAncestors:function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var data=this.hostTree.data;return data.get(data.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(path){if(!(this.dataIndex<0)){var t,e=this.hostTree,n=e.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(t=this.getLeavesModel()),n.getModel(path,(r||t||e.hostModel).getModel(path))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},tg.prototype={constructor:tg,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var data=this.data,t=this._nodes,i=0,e=t.length;i<e;i++)t[i].dataIndex=-1;for(i=0,e=data.count();i<e;i++)t[data.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},tg.createTree=function(t,e,n){var r=new tg(e,n.levels,n.leaves),o=[],l=1;!function t(e,n){var h=e.value;l=Math.max(l,G(h)?h.length:1),o.push(e);var c=new Jp(e.name,r);null!=e.mcHereShow&&(c.mcHereShow=e.mcHereShow),n?function(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}(c,n):r.root=c,r._nodes.push(c);var d=e.children;if(d)for(var i=0;i<d.length;i++)t(d[i],c)}(t),r.root.updateDepthAndHeight(0);var h,c,d,f=xf(o,{coordDimensions:["value"],dimensionsCount:l}),v=new of(f,e);return v.initData(o),c=(h={mainData:v,struct:r,structAttr:"tree"}).mainData,(d=h.datas)||(d={main:c},h.datasAttr={main:"data"}),h.datas=h.mainData=null,$p(c,d,h),Xp(d,function(data){Xp(c.TRANSFERABLE_METHODS,function(t){data.wrapMethod(t,W(Up,h))})}),c.wrapMethod("cloneShallow",W(Zp,h)),Xp(c.CHANGABLE_METHODS,function(t){c.wrapMethod(t,W(qp,h))}),it(d[c.dataType]===c),r.update(),r},bu.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(option){var t={name:option.name,children:option.data},e=option.leaves||{},n={};n.leaves=e;var r=tg.createTree(t,this,n),o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var l=option.expandAndCollapse&&option.initialTreeDepth>=0?option.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l}),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],r=e.getNodeByDataIndex(t),o=r.getValue(),l=r.name;r&&r!==n;)l=r.parentNode.name+"."+l,r=r.parentNode;return Bl(l+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});var ng=eg.prototype,ig=eg.getSymbolSize=function(data,t){var e=data.getItemVisual(t,"symbolSize");return e instanceof Array?e.slice():[+e,+e]};function rg(t){return[t[0]/2,t[1]/2]}function ag(t,e){this.parent.drift(t,e)}ng._createSymbol=function(t,data,e,n,r){this.removeAll();var o=xp(t,-1,-1,2,2,data.getItemVisual(e,"color"),r);o.attr({z2:100,culling:!0,scale:rg(n)}),o.drift=ag,this._symbolType=t,this.add(o)},ng.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},ng.getSymbolPath=function(){return this.childAt(0)},ng.getScale=function(){return this.childAt(0).scale},ng.highlight=function(){this.childAt(0).trigger("emphasis")},ng.downplay=function(){this.childAt(0).trigger("normal")},ng.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},ng.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},ng.updateData=function(data,t,e){this.silent=!1;var n=data.getItemVisual(t,"symbol")||"circle",r=data.hostModel,o=ig(data,t),l=n!==this._symbolType;if(l){var h=data.getItemVisual(t,"symbolKeepAspect");this._createSymbol(n,data,t,o,h)}else(c=this.childAt(0)).silent=!1,Ks(c,{scale:rg(o)},r,t);if(this._updateCommon(data,t,o,e),l){var c=this.childAt(0),d=e&&e.fadeIn,f={scale:c.scale.slice()};d&&(f.style={opacity:c.style.opacity}),c.scale=[0,0],d&&(c.style.opacity=0),$s(c,f,r,t)}this._seriesModel=r};var og=["itemStyle"],sg=["emphasis","itemStyle"],lg=["label"],hg=["emphasis","label"];function ug(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,r=n[1]/n[0],o={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(o,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}function cg(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,o=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,r=0,o=0;--n>=0;){var l=e[n];l.hierNode.prelim+=r,l.hierNode.modifier+=r,o+=l.hierNode.change,r+=l.hierNode.shift+o}}(t);var l=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;o?(t.hierNode.prelim=o.hierNode.prelim+e(t,o),t.hierNode.modifier=t.hierNode.prelim-l):t.hierNode.prelim=l}else o&&(t.hierNode.prelim=o.hierNode.prelim+e(t,o));t.parentNode.hierNode.defaultAncestor=function(t,e,n,r){if(e){for(var o=t,l=t,h=l.parentNode.children[0],c=e,d=o.hierNode.modifier,f=l.hierNode.modifier,v=h.hierNode.modifier,m=c.hierNode.modifier;c=gg(c),l=vg(l),c&&l;){o=gg(o),h=vg(h),o.hierNode.ancestor=t;var y=c.hierNode.prelim+m-l.hierNode.prelim-f+r(c,l);y>0&&(yg(mg(c,t,n),t,y),f+=y,d+=y),m+=c.hierNode.modifier,f+=l.hierNode.modifier,d+=o.hierNode.modifier,v+=h.hierNode.modifier}c&&!gg(o)&&(o.hierNode.thread=c,o.hierNode.modifier+=m-d),l&&!vg(h)&&(h.hierNode.thread=l,h.hierNode.modifier+=f-v,n=t)}return n}(t,o,t.parentNode.hierNode.defaultAncestor||r[0],e)}function dg(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function fg(t){return arguments.length?t:_g}function pg(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n}function gg(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function vg(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function mg(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function yg(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function _g(t,e){return t.parentNode===e.parentNode?1:2}ng._updateCommon=function(data,t,e,n){var r=this.childAt(0),o=data.hostModel,l=data.getItemVisual(t,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0});var h=n&&n.itemStyle,c=n&&n.hoverItemStyle,d=n&&n.symbolRotate,f=n&&n.symbolOffset,v=n&&n.labelModel,m=n&&n.hoverLabelModel,y=n&&n.hoverAnimation,_=n&&n.cursorStyle;if(!n||data.hasItemOption){var x=n&&n.itemModel?n.itemModel:data.getItemModel(t);h=x.getModel(og).getItemStyle(["color"]),c=x.getModel(sg).getItemStyle(),d=x.getShallow("symbolRotate"),f=x.getShallow("symbolOffset"),v=x.getModel(lg),m=x.getModel(hg),y=x.getShallow("hoverAnimation"),_=x.getShallow("cursor")}else c=A({},c);var w=r.style;r.attr("rotation",(d||0)*Math.PI/180||0),f&&r.attr("position",[yl(f[0],e[0]),yl(f[1],e[1])]),_&&r.attr("cursor",_),r.setColor(l,n&&n.symbolInnerColor),r.setStyle(h);var S=data.getItemVisual(t,"opacity");null!=S&&(w.opacity=S);var M=data.getItemVisual(t,"liftZ"),I=r.__z2Origin;null!=M?null==I&&(r.__z2Origin=r.z2,r.z2+=M):null!=I&&(r.z2=I,r.__z2Origin=null);var T=n&&n.useNameLabel;Vs(w,c,v,m,{labelFetcher:o,labelDataIndex:t,defaultText:function(t,e){return T?data.getName(t):function(data,t){var e=data.mapDimension("defaultedLabel",!0),n=e.length;if(1===n)return fu(data,t,e[0]);if(n){for(var r=[],i=0;i<e.length;i++){var o=fu(data,t,e[i]);r.push(o)}return r.join(" ")}}(data,t)},isRectText:!0,autoColor:l}),r.__symbolOriginalScale=rg(e),r.hoverStyle=c,r.highDownOnUpdate=y&&o.isAnimationEnabled()?ug:null,Es(r)},ng.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),Ks(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},R(eg,Cn);var xg=kt;function wg(){me.call(this)}function bg(t){this.name=t,this.zoomLimit,me.call(this),this._roamTransformable=new wg,this._rawTransformable=new wg,this._center,this._zoom}function Sg(t,e,n,r){var o=n.seriesModel,l=o?o.coordinateSystem:null;return l===this?l[t](r):null}E(wg,me),bg.prototype={constructor:bg,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new Tn(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new Tn(t,e,n,r)},transformTo:function(t,e,n,r){var rect=this.getBoundingRect(),o=this._rawTransformable;o.transform=rect.calculateTransform(new Tn(t,e,n,r)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=kt([],r,t),n=kt([],n,t),e.origin=r,e.position=[n[0]-r[0],n[1]-r[1]],e.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),se(this.transform||(this.transform=[]),e.transform||ae()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],de(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var rect=this.getBoundingRect().clone();return rect.applyTransform(this.transform),rect},dataToPoint:function(data,t,e){var n=t?this._rawTransform:this.transform;return e=e||[],n?xg(e,data,n):vt(e,data)},pointToData:function(t){var e=this.invTransform;return e?xg([],t,e):[t[0],t[1]]},convertToPixel:W(Sg,"dataToPoint"),convertFromPixel:W(Sg,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},E(bg,me);var Mg="\0_ec_interaction_mutex";function Ig(t,e){return!!function(t){return t[Mg]||(t[Mg]={})}(t)[e]}function Tg(t){this.pointerChecker,this._zr=t,this._opt={};var e=V,n=e(Cg,this),r=e(Dg,this),o=e(kg,this),l=e(Ag,this),h=e(Pg,this);Bt.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,c){this.disable(),this._opt=P(D(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",l),t.on("pinch",h))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",l),t.off("pinch",h)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function Cg(t){if(!(qt(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function Dg(t){if(this._dragging&&Ng("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!Ig(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,r=this._x,o=this._y,l=e-r,h=n-o;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&Ut(t.event),Lg(this,"pan","moveOnMouseMove",t,{dx:l,dy:h,oldX:r,oldY:o,newX:e,newY:n})}}function kg(t){qt(t)||(this._dragging=!1)}function Ag(t){var e=Ng("zoomOnMouseWheel",t,this._opt),n=Ng("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,o=Math.abs(r),l=t.offsetX,h=t.offsetY;if(0!==r&&(e||n)){if(e){var c=o>3?1.4:o>1?1.2:1.1;Og(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?c:1/c,originX:l,originY:h})}if(n){var d=Math.abs(r);Og(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(d>3?.4:d>1?.15:.05),originX:l,originY:h})}}}function Pg(t){Ig(this._zr,"globalPan")||Og(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function Og(t,e,n,r,o){t.pointerChecker&&t.pointerChecker(r,o.originX,o.originY)&&(Ut(r.event),Lg(t,e,n,r,o))}function Lg(t,e,n,r,o){o.isAvailableBehavior=V(Ng,null,n,r),t.trigger(e,o)}function Ng(t,e,n){var r=n[t];return!t||r&&(!Y(r)||e.event[r+"Key"])}Bd({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),E(Tg,Bt);var Bg,Rg,Eg={axisPointer:1,tooltip:1,brush:1};function zg(data,t){var e=data.getItemLayout(t);return e&&!isNaN(e.x)&&!isNaN(e.y)&&"none"!==data.getItemVisual(t,"symbol")}function Fg(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function Hg(data,t,e,n,r,o){var l=!e,h=data.tree.getNodeByDataIndex(t),c=h.getModel(),d=(o=Fg(h,c,o),data.tree.root),source=h.parentNode===d?h:h.parentNode||h,f=data.getItemGraphicEl(source.dataIndex),v=source.getLayout(),m=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:v,y=h.getLayout();l?(e=new eg(data,t,o)).attr("position",[m.x,m.y]):e.updateData(data,t,o),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=y.rawX,e.__radialRawY=y.rawY,n.add(e),data.setItemGraphicEl(t,e),Ks(e,{position:[y.x,y.y]},r);var _=e.getSymbolPath();if("radial"===o.layout){var x,w,S=d.children[0],M=S.getLayout(),I=S.children.length;if(y.x===M.x&&!0===h.isExpand){var T={};T.x=(S.children[0].getLayout().x+S.children[I-1].getLayout().x)/2,T.y=(S.children[0].getLayout().y+S.children[I-1].getLayout().y)/2,(x=Math.atan2(T.y-M.y,T.x-M.x))<0&&(x=2*Math.PI+x),(w=T.x<M.x)&&(x-=Math.PI)}else(x=Math.atan2(y.y-M.y,y.x-M.x))<0&&(x=2*Math.PI+x),0===h.children.length||0!==h.children.length&&!1===h.isExpand?(w=y.x<M.x)&&(x-=Math.PI):(w=y.x>M.x)||(x-=Math.PI);var C=w?"left":"right";_.setStyle({textPosition:C,textRotation:-x,textOrigin:"center",verticalAlign:"middle"})}if(h.parentNode&&h.parentNode!==d){var D=e.__edge;D||(D=e.__edge=new Jo({shape:Wg(o,m,m),style:P({opacity:0,strokeNoScale:!0},o.lineStyle)})),Ks(D,{shape:Wg(o,v,y),style:{opacity:1}},r),n.add(D)}}function Vg(data,t,e,n,r,o){for(var l,h=data.tree.getNodeByDataIndex(t),c=data.tree.root,d=h.getModel(),source=(o=Fg(h,d,o),h.parentNode===c?h:h.parentNode||h);null==(l=source.getLayout());)source=source.parentNode===c?source:source.parentNode||source;Ks(e,{position:[l.x+1,l.y+1]},r,function(){n.remove(e),data.setItemGraphicEl(t,null)}),e.fadeOut(null,{keepLabel:!0});var f=e.__edge;f&&Ks(f,{shape:Wg(o,l,l),style:{opacity:0}},r,function(){n.remove(f)})}function Wg(t,e,n){var r,o,l,h,c,d,f,v,m=t.orient;if("radial"===t.layout){c=e.rawX,f=e.rawY,d=n.rawX,v=n.rawY;var y=pg(c,f),_=pg(c,f+(v-f)*t.curvature),x=pg(d,v+(f-v)*t.curvature),w=pg(d,v);return{x1:y.x,y1:y.y,x2:w.x,y2:w.y,cpx1:_.x,cpy1:_.y,cpx2:x.x,cpy2:x.y}}return c=e.x,f=e.y,d=n.x,v=n.y,"LR"!==m&&"RL"!==m||(r=c+(d-c)*t.curvature,o=f,l=d+(c-d)*t.curvature,h=v),"TB"!==m&&"BT"!==m||(r=c,o=f+(v-f)*t.curvature,l=d,h=v+(f-v)*t.curvature),{x1:c,y1:f,x2:d,y2:v,cpx1:r,cpy1:o,cpx2:l,cpy2:h}}function Gg(t,e){for(var n,r=[t];n=r.pop();)if(e(n),n.isExpand){var o=n.children;if(o.length)for(var i=o.length-1;i>=0;i--)r.push(o[i])}}Wd({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new Cn,this._controller=new Tg(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,n,r){var data=t.getData(),o=t.layoutInfo,l=this._mainGroup,h=t.get("layout");"radial"===h?l.attr("position",[o.x+o.width/2,o.y+o.height/2]):l.attr("position",[o.x,o.y]),this._updateViewCoordSys(t,o,h),this._updateController(t,e,n);var c=this._data,d={expandAndCollapse:t.get("expandAndCollapse"),layout:h,orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};data.diff(c).add(function(e){zg(data,e)&&Hg(data,e,null,l,t,d)}).update(function(e,n){var r=c.getItemGraphicEl(n);zg(data,e)?Hg(data,e,r,l,t,d):r&&Vg(c,n,r,l,t,d)}).remove(function(e){var n=c.getItemGraphicEl(e);n&&Vg(c,e,n,l,t,d)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===d.expandAndCollapse&&data.eachItemGraphicEl(function(e,r){e.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:r})})}),this._data=data},_updateViewCoordSys:function(t){var data=t.getData(),e=[];data.each(function(t){var n=data.getItemLayout(t);!n||isNaN(n.x)||isNaN(n.y)||e.push([+n.x,+n.y])});var n=[],r=[];Ta(e,n,r);var o=this._min,l=this._max;r[0]-n[0]==0&&(n[0]=o?o[0]:n[0]-1,r[0]=l?l[0]:r[0]+1),r[1]-n[1]==0&&(n[1]=o?o[1]:n[1]-1,r[1]=l?l[1]:r[1]+1);var h=t.coordinateSystem=new bg;h.zoomLimit=t.get("scaleLimit"),h.setBoundingRect(n[0],n[1],r[0]-n[0],r[1]-n[1]),h.setCenter(t.get("center")),h.setZoom(t.get("zoom")),this.group.attr({position:h.position,scale:h.scale}),this._viewCoordSys=h,this._min=n,this._max=r},_updateController:function(t,e,n){var r=this._controller,o=this._controllerHost,l=this.group;r.setPointerChecker(function(e,r,o){var rect=l.getBoundingRect();return rect.applyTransform(l.transform),rect.contain(r,o)&&!function(t,e,n){var r=e.getComponentByElement(t.topTarget),o=r&&r.coordinateSystem;return r&&r!==n&&!Eg[r.mainType]&&o&&o.model!==n}(e,n,t)}),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(e){!function(t,e,n){var r=t.target,o=r.position;o[0]+=e,o[1]+=n,r.dirty()}(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})},this).on("zoom",function(e){!function(t,e,n,r){var o=t.target,l=t.zoomLimit,h=o.position,c=o.scale,d=t.zoom=t.zoom||1;if(d*=e,l){var f=l.min||0,v=l.max||1/0;d=Math.max(Math.min(v,d),f)}var m=d/t.zoom;t.zoom=d,h[0]-=(n-h[0])*(m-1),h[1]-=(r-h[1])*(m-1),c[0]*=m,c[1]*=m,o.dirty()}(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)},this)},_updateNodeAndLinkScale:function(t){var data=t.getData(),e=this._getNodeGlobalScale(t),n=[e,e];data.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,r=e.scale,o=r&&r[0]||1;return((e.getZoom()-1)*n+1)/o},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}}),Bd({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(n){var r=t.dataIndex,o=n.getData().tree.getNodeByDataIndex(r);let l=e.option.series[0].diyExpand;o.isExpand=null!=l&&"function"==typeof l?l(o.name,o.isExpand):!o.isExpand})}),Bd({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=function(view,t,e){var n=view.getZoom(),r=view.getCenter(),o=t.zoom,l=view.dataToPoint(r);if(null!=t.dx&&null!=t.dy&&(l[0]-=t.dx,l[1]-=t.dy,r=view.pointToData(l),view.setCenter(r)),null!=o){if(e){var h=e.min||0,c=e.max||1/0;o=Math.max(Math.min(n*o,c),h)/n}view.scale[0]*=o,view.scale[1]*=o;var d=view.position,f=(t.originX-d[0])*(o-1),v=(t.originY-d[1])*(o-1);d[0]-=f,d[1]-=v,view.updateTransform(),r=view.pointToData(l),view.setCenter(r),view.setZoom(o*n)}return{center:view.getCenter(),zoom:view.getZoom()}}(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})}),Ed((Bg="circle",{seriesType:"tree",performRawSeries:!0,reset:function(t,e,n){var data=t.getData(),r=t.get("symbol"),o=t.get("symbolSize"),l=t.get("symbolKeepAspect"),h=X(r),c=X(o),d=h||c,f=!h&&r?r:Bg,v=c?null:o;if(data.setVisual({legendSymbol:Rg||f,symbol:f,symbolSize:v,symbolKeepAspect:l}),!e.isSeriesFiltered(t))return{dataEach:data.hasItemOption||d?function(data,e){if(d){var n=t.getRawValue(e),l=t.getDataParams(e);h&&data.setItemVisual(e,"symbol",r(n,l)),c&&data.setItemVisual(e,"symbolSize",o(n,l))}if(data.hasItemOption){var f=data.getItemModel(e),v=f.getShallow("symbol",!0),m=f.getShallow("symbolSize",!0),y=f.getShallow("symbolKeepAspect",!0);null!=v&&data.setItemVisual(e,"symbol",v),null!=m&&data.setItemVisual(e,"symbolSize",m),null!=y&&data.setItemVisual(e,"symbolKeepAspect",y)}}:null}}})),Rd(function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=function(t,e){return Zl(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var r=t.get("layout"),o=0,l=0,h=null;"radial"===r?(o=2*Math.PI,l=Math.min(n.height,n.width)/2,h=fg(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=n.width,l=n.height,h=fg());var c=t.getData().tree.root,d=c.children[0];if(d){!function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,r=[t];e=r.pop();)if(n=e.children,e.isExpand&&n.length)for(var i=n.length-1;i>=0;i--){var o=n[i];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:i,thread:null},r.push(o)}}(c),function(t,e,n){for(var r,o=[t],l=[];r=o.pop();)if(l.push(r),r.isExpand){var h=r.children;if(h.length)for(var i=0;i<h.length;i++)o.push(h[i])}for(;r=l.pop();)e(r,n)}(d,cg,h),c.hierNode.modifier=-d.hierNode.prelim,Gg(d,dg);var f=d,v=d,m=d;Gg(d,function(t){var e=t.getLayout().x;e<f.getLayout().x&&(f=t),e>v.getLayout().x&&(v=t),t.depth>m.depth&&(m=t)});var y=f===v?1:h(f,v)/2,_=y-f.getLayout().x,x=0,w=0,S=0,M=0;if("radial"===r)x=o/(v.getLayout().x+y+_),w=l/(m.depth-1||1),Gg(d,function(t){S=(t.getLayout().x+_)*x,M=(t.depth-1)*w;var e=pg(S,M);t.setLayout({x:e.x,y:e.y,rawX:S,rawY:M},!0)});else{var I=t.getOrient();"RL"===I||"LR"===I?(w=l/(v.getLayout().x+y+_),x=o/(m.depth-1||1),Gg(d,function(t){M=(t.getLayout().x+_)*w,S="LR"===I?(t.depth-1)*x:o-(t.depth-1)*x,t.setLayout({x:S,y:M},!0)})):"TB"!==I&&"BT"!==I||(x=o/(v.getLayout().x+y+_),w=l/(m.depth-1||1),Gg(d,function(t){S=(t.getLayout().x+_)*x,M="TB"===I?(t.depth-1)*w:l-(t.depth-1)*w,t.setLayout({x:S,y:M},!0)}))}}}(t,e)})}),Hd({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),Vd({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,o=t.getModel("textStyle"),l=t.getModel("subtextStyle"),h=t.get("textAlign"),c=J(t.get("textBaseline"),t.get("textVerticalAlign")),d=new Po({style:Ws({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),v=t.get("subtext"),m=new Po({style:Ws({},l,{text:v,textFill:l.getTextColor(),y:f.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),link=t.get("link"),y=t.get("sublink"),_=t.get("triggerEvent",!0);d.silent=!link&&!_,m.silent=!y&&!_,link&&d.on("click",function(){window.open(link,"_"+t.get("target"))}),y&&m.on("click",function(){window.open(y,"_"+t.get("subtarget"))}),d.eventData=m.eventData=_?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(d),v&&r.add(m);var x=r.getBoundingRect(),w=t.getBoxLayoutParams();w.width=x.width,w.height=x.height;var S=Zl(w,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));h||("middle"===(h=t.get("left")||t.get("right"))&&(h="center"),"right"===h?S.x+=S.width:"center"===h&&(S.x+=S.width/2)),c||("center"===(c=t.get("top")||t.get("bottom"))&&(c="middle"),"bottom"===c?S.y+=S.height:"middle"===c&&(S.y+=S.height/2),c=c||"top"),r.attr("position",[S.x,S.y]);var M={textAlign:h,textVerticalAlign:c};d.setStyle(M),m.setStyle(M),x=r.getBoundingRect();var I=S.margin,style=t.getItemStyle(["color","opacity"]);style.fill=t.get("backgroundColor");var rect=new qo({shape:{x:x.x-I[3],y:x.y-I[0],width:x.width+I[1]+I[3],height:x.height+I[0]+I[2],r:t.get("borderRadius")},style:style,subPixelOptimize:!0,silent:!0});r.add(rect)}}});var Xg=Uu.legend.selector,Yg={all:{type:"all",title:D(Xg.all)},inverse:{type:"inverse",title:D(Xg.inverse)}},jg=Hd({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(option,t,e){this.mergeDefaultAndTheme(option,e),option.selected=option.selected||{},this._updateSelector(option)},mergeOption:function(option){jg.superCall(this,"mergeOption",option),this._updateSelector(option)},_updateSelector:function(option){var t=option.selector;!0===t&&(t=option.selector=["all","inverse"]),G(t)&&F(t,function(e,n){Y(e)&&(e={type:e}),t[n]=k(e,Yg[e.type])})},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],n=[];t.eachRawSeries(function(r){var o,l=r.name;if(n.push(l),r.legendDataProvider){var data=r.legendDataProvider(),h=data.mapArray(data.getName);t.isSeriesFiltered(r)||(n=n.concat(h)),h.length?e=e.concat(h):o=!0}else o=!0;o&&Ar(r)&&e.push(r.name)}),this._availableNames=n;var r=map(this.get("data")||e,function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new cl(t,this,this.ecModel)},this);this._data=r},getData:function(){return this._data},select:function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&F(this._data,function(t){e[t.get("name")]=!1}),e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var data=this._data,t=this.option.selected;F(data,function(e){t[e.get("name",!0)]=!0})},inverseSelect:function(){var data=this._data,t=this.option.selected;F(data,function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]})},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&B(this._availableNames,t)>=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}});function Ug(t,e,n){var r,o={},l="toggleSelected"===t;return n.eachComponent("legend",function(n){l&&null!=r?n[r?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),r=n.isSelected(e.name)),F(n.getData(),function(t){var e=t.get("name");if("\n"!==e&&""!==e){var r=n.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&r:o[e]=r}})}),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:e.name,selected:o}}Bd("legendToggleSelect","legendselectchanged",W(Ug,"toggleSelected")),Bd("legendAllSelect","legendselectall",W(Ug,"allSelect")),Bd("legendInverseSelect","legendinverseselect",W(Ug,"inverseSelect")),Bd("legendSelect","legendselected",W(Ug,"select")),Bd("legendUnSelect","legendunselected",W(Ug,"unSelect"));var qg=W,Zg=F,Kg=Cn,$g=Vd({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new Kg),this._backgroundEl,this.group.add(this._selectorGroup=new Kg),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var o=t.get("align"),l=t.get("orient");o&&"auto"!==o||(o="right"===t.get("left")&&"vertical"===l?"right":"left");var h=t.get("selector",!0),c=t.get("selectorPosition",!0);!h||c&&"auto"!==c||(c="horizontal"===l?"end":"start"),this.renderInner(o,t,e,n,h,l,c);var d=t.getBoxLayoutParams(),f={width:n.getWidth(),height:n.getHeight()},v=t.get("padding"),m=Zl(d,f,v),y=this.layoutInner(t,o,m,r,h,c),_=Zl(P({width:y.width,height:y.height},d),f,v);this.group.attr("position",[_.x-y.x,_.y-y.y]),this.group.add(this._backgroundEl=function(rect,t){var e=Ol(t.get("padding")),style=t.getItemStyle(["color","opacity"]);return style.fill=t.get("backgroundColor"),rect=new qo({shape:{x:rect.x-e[3],y:rect.y-e[0],width:rect.width+e[1]+e[3],height:rect.height+e[0]+e[2],r:t.get("borderRadius")},style:style,silent:!0,z2:-1})}(y,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,n,r,o,l,h){var c=this.getContentGroup(),d=ut(),f=e.get("selectedMode"),v=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&v.push(t.id)}),Zg(e.getData(),function(o,l){var h=o.get("name");if(this.newlineDisabled||""!==h&&"\n"!==h){var m=n.getSeriesByName(h)[0];if(!d.get(h))if(m){var data=m.getData(),y=data.getVisual("color"),_=data.getVisual("borderColor");"function"==typeof y&&(y=y(m.getDataParams(0))),"function"==typeof _&&(_=_(m.getDataParams(0)));var x=data.getVisual("legendSymbol")||"roundRect",w=data.getVisual("symbol");this._createItem(h,l,o,e,x,w,t,y,_,f).on("click",qg(Jg,h,r)).on("mouseover",qg(tv,m.name,null,r,v)).on("mouseout",qg(ev,m.name,null,r,v)),d.set(h,!0)}else n.eachRawSeries(function(n){if(!d.get(h)&&n.legendDataProvider){var data=n.legendDataProvider(),c=data.indexOfName(h);if(c<0)return;var m=data.getItemVisual(c,"color"),y=data.getItemVisual(c,"borderColor");this._createItem(h,l,o,e,"roundRect",null,t,m,y,f).on("click",qg(Jg,h,r)).on("mouseover",qg(tv,null,h,r,v)).on("mouseout",qg(ev,null,h,r,v)),d.set(h,!0)}},this)}else c.add(new Kg({newline:!0}))},this),o&&this._createSelector(o,e,r,l,h)},_createSelector:function(t,e,n,r,o){var l=this.getSelectorGroup();Zg(t,function(t){!function(t){var r=t.type,o=new Po({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});l.add(o);var h=e.getModel("selectorLabel"),c=e.getModel("emphasis.selectorLabel");Vs(o.style,o.hoverStyle={},h,c,{defaultText:t.title,isRectText:!1}),Es(o)}(t)})},_createItem:function(t,e,n,r,o,l,h,c,d,f){var v=r.get("itemWidth"),m=r.get("itemHeight"),y=r.get("inactiveColor"),_=r.get("inactiveBorderColor"),x=r.get("symbolKeepAspect"),w=r.getModel("itemStyle"),S=r.isSelected(t),M=new Kg,I=n.getModel("textStyle"),T=n.get("icon"),C=n.getModel("tooltip"),D=C.parentModel,k=xp(o=T||o,0,0,v,m,S?c:y,null==x||x);if(M.add(Qg(k,o,w,d,_,S)),!T&&l&&(l!==o||"none"===l)){var P=.8*m;"none"===l&&(l="circle");var O=xp(l,(v-P)/2,(m-P)/2,P,P,S?c:y,null==x||x);M.add(Qg(O,l,w,d,_,S))}var L="left"===h?v+5:-5,N=h,B=r.get("formatter"),content=t;"string"==typeof B&&B?content=B.replace("{name}",null!=t?t:""):"function"==typeof B&&(content=B(t)),M.add(new Po({style:Ws({},I,{text:content,x:L,y:m/2,textFill:S?I.getTextColor():y,textAlign:N,textVerticalAlign:"middle"})}));var R=new qo({shape:M.getBoundingRect(),invisible:!0,tooltip:C.get("show")?A({content:t,formatter:D.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:r.componentIndex,name:t,$vars:["name"]}},C.option):null});return M.add(R),M.eachChild(function(t){t.silent=!0}),R.silent=!f,this.getContentGroup().add(M),Es(M),M.__legendDataIndex=e,M},layoutInner:function(t,e,n,r,o,l){var h=this.getContentGroup(),c=this.getSelectorGroup();ql(t.get("orient"),h,t.get("itemGap"),n.width,n.height);var d=h.getBoundingRect(),f=[-d.x,-d.y];if(o){ql("horizontal",c,t.get("selectorItemGap",!0));var v=c.getBoundingRect(),m=[-v.x,-v.y],y=t.get("selectorButtonGap",!0),_=t.getOrient().index,x=0===_?"width":"height",w=0===_?"height":"width",S=0===_?"y":"x";"end"===l?m[_]+=d[x]+y:f[_]+=v[x]+y,m[1-_]+=d[w]/2-v[w]/2,c.attr("position",m),h.attr("position",f);var M={x:0,y:0};return M[x]=d[x]+y+v[x],M[w]=Math.max(d[w],v[w]),M[S]=Math.min(0,v[S]+m[1-_]),M}return h.attr("position",f),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function Qg(symbol,t,e,n,r,o){var l;return"line"!==t&&t.indexOf("empty")<0?(l=e.getItemStyle(),symbol.style.stroke=n,o||(l.stroke=r)):l=e.getItemStyle(["borderWidth","borderColor"]),symbol.setStyle(l)}function Jg(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function tv(t,e,n,r){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:r})}function ev(t,e,n,r){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:r})}Nd(Xc.PROCESSOR.SERIES_FILTER,function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0})}),nh.registerSubTypeDefaulter("legend",function(){return"plain"});var nv=jg.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(option,t,e,n){var r=$l(option);nv.superCall(this,"init",option,t,e,n),iv(this,option,r)},mergeOption:function(option,t){nv.superCall(this,"mergeOption",option,t),iv(this,this.option,option)}});function iv(t,e,n){var r=[1,1];r[t.getOrient().index]=0,Kl(e,n,{type:"box",ignoreSize:r})}var rv=Cn,av=["width","height"],ov=["x","y"],sv=$g.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){sv.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new rv),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new rv),this._showController},resetInner:function(){sv.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,r,o,l,h){var c=this;sv.superCall(this,"renderInner",t,e,n,r,o,l,h);var d=this._controllerGroup,f=e.get("pageIconSize",!0);G(f)||(f=[f,f]),m("pagePrev",0);var v=e.getModel("pageTextStyle");function m(t,n){var o=t+"DataIndex",l=Js(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:V(c._pageGo,c,o,e,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});l.name=t,d.add(l)}d.add(new Po({name:"pageText",style:{textFill:v.getTextColor(),font:v.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),m("pageNext",1)},layoutInner:function(t,e,n,r,o,l){var h=this.getSelectorGroup(),c=t.getOrient().index,d=av[c],f=ov[c],v=av[1-c],m=ov[1-c];o&&ql("horizontal",h,t.get("selectorItemGap",!0));var y=t.get("selectorButtonGap",!0),_=h.getBoundingRect(),x=[-_.x,-_.y],w=D(n);o&&(w[d]=n[d]-_[d]-y);var S=this._layoutContentAndController(t,r,w,c,d,v,m);if(o){if("end"===l)x[c]+=S[d]+y;else{var M=_[d]+y;x[c]-=M,S[f]-=M}S[d]+=_[d]+y,x[1-c]+=S[m]+S[v]/2-_[v]/2,S[v]=Math.max(S[v],_[v]),S[m]=Math.min(S[m],_[m]+x[1-c]),h.attr("position",x)}return S},_layoutContentAndController:function(t,e,n,r,o,l,h){var c=this.getContentGroup(),d=this._containerGroup,f=this._controllerGroup;ql(t.get("orient"),c,t.get("itemGap"),r?n.width:null,r?null:n.height),ql("horizontal",f,t.get("pageButtonItemGap",!0));var v=c.getBoundingRect(),m=f.getBoundingRect(),y=this._showController=v[o]>n[o],_=[-v.x,-v.y];e||(_[r]=c.position[r]);var x=[0,0],w=[-m.x,-m.y],S=J(t.get("pageButtonGap",!0),t.get("itemGap",!0));y&&("end"===t.get("pageButtonPosition",!0)?w[r]+=n[o]-m[o]:x[r]+=m[o]+S),w[1-r]+=v[l]/2-m[l]/2,c.attr("position",_),d.attr("position",x),f.attr("position",w);var M={x:0,y:0};if(M[o]=y?n[o]:v[o],M[l]=Math.max(v[l],m[l]),M[h]=Math.min(0,m[h]+w[1-r]),d.__rectSize=n[o],y){var I={x:0,y:0};I[o]=Math.max(n[o]-m[o]-S,0),I[l]=M[l],d.setClipPath(new qo({shape:I})),d.__rectSize=I[o]}else f.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var T=this._getPageInfo(t);return null!=T.pageIndex&&Ks(c,{position:T.contentPosition},!!y&&t),this._updatePageInfoView(t,T),M},_pageGo:function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;F(["pagePrev","pageNext"],function(r){var o=null!=e[r+"DataIndex"],l=n.childOfName(r);l&&(l.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),l.cursor=o?"pointer":"default")});var r=n.childOfName("pageText"),o=t.get("pageFormatter"),l=e.pageIndex,h=null!=l?l+1:0,c=e.pageCount;r&&o&&r.setStyle("text",Y(o)?o.replace("{current}",h).replace("{total}",c):o({current:h,total:c}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,o=t.getOrient().index,l=av[o],h=ov[o],c=this._findTargetItemIndex(e),d=n.children(),f=d[c],v=d.length,m=v?1:0,y={contentPosition:n.position.slice(),pageCount:m,pageIndex:m-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return y;var _=M(f);y.contentPosition[o]=-_.s;for(var i=c+1,x=_,w=_,S=null;i<=v;++i)(!(S=M(d[i]))&&w.e>x.s+r||S&&!I(S,x.s))&&(x=w.i>x.i?w:S)&&(null==y.pageNextDataIndex&&(y.pageNextDataIndex=x.i),++y.pageCount),w=S;for(i=c-1,x=_,w=_,S=null;i>=-1;--i)(S=M(d[i]))&&I(w,S.s)||!(x.i<w.i)||(w=x,null==y.pagePrevDataIndex&&(y.pagePrevDataIndex=x.i),++y.pageCount,++y.pageIndex),x=S;return y;function M(t){if(t){var e=t.getBoundingRect(),n=e[h]+t.position[o];return{s:n,e:n+e[l],i:t.__legendDataIndex}}}function I(t,e){return t.e>=e&&t.s<=e+r}},_findTargetItemIndex:function(t){var e,n,r=this.getContentGroup();return this._showController&&r.eachChild(function(r,o){var l=r.__legendDataIndex;null==n&&null!=l&&(n=o),l===t&&(e=o)}),null!=e?e:n}});Bd("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})});var lv=F,hv=W;function uv(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var r=e.getComponent("tooltip"),o=e.getComponent("axisPointer"),l=o.get("link",!0)||[],h=[];lv(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var c=gv(n.model),d=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=n;var f=n.model.getModel("tooltip",r);if(lv(n.getAxes(),hv(_,!1,null)),n.getTooltipAxes&&r&&f.get("show")){var v="axis"===f.get("trigger"),m="cross"===f.get("axisPointer.type"),y=n.getTooltipAxes(f.get("axisPointer.axis"));(v||m)&&lv(y.baseAxes,hv(_,!m||"cross",v)),m&&lv(y.otherAxes,hv(_,"cross",!1))}}function _(r,c,v){var m=v.model.getModel("axisPointer",o),y=m.get("show");if(y&&("auto"!==y||r||pv(m))){null==c&&(c=m.get("triggerTooltip"));var _=(m=r?function(t,e,n,r,o,l){var h=e.getModel("axisPointer"),c={};lv(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){c[t]=D(h.get(t))}),c.snap="category"!==t.type&&!!l,"cross"===h.get("type")&&(c.type="line");var d=c.label||(c.label={});if(null==d.show&&(d.show=!1),"cross"===o){var f=h.get("label.show");if(d.show=null==f||f,!l){var v=c.lineStyle=h.get("crossStyle");v&&P(d,v.textStyle)}}return t.model.getModel("axisPointer",new cl(c,n,r))}(v,f,o,e,r,c):m).get("snap"),x=gv(v.model),w=c||_||"category"===v.type,S=t.axesInfo[x]={key:x,axis:v,coordSys:n,axisPointerModel:m,triggerTooltip:c,involveSeries:w,snap:_,useHandle:pv(m),seriesModels:[]};d[x]=S,t.seriesInvolved|=w;var M=function(t,e){for(var n=e.model,r=e.dim,i=0;i<t.length;i++){var o=t[i]||{};if(cv(o[r+"AxisId"],n.id)||cv(o[r+"AxisIndex"],n.componentIndex)||cv(o[r+"AxisName"],n.name))return i}}(l,v);if(null!=M){var I=h[M]||(h[M]={axesInfo:{}});I.axesInfo[x]=S,I.mapper=l[M].mapper,S.linkGroup=I}}}})}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,r=e.get("tooltip.trigger",!0),o=e.get("tooltip.show",!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==o&&!1!==e.get("axisPointer.show",!0)&&lv(t.coordSysAxesInfo[gv(n.model)],function(t){var r=t.axis;n.getAxis(r.dim)===r&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})},this)}(n,t),n}function cv(t,e){return"all"===t||G(t)&&B(t,e)>=0||t===e}function dv(t){var e=fv(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,option=n.option,o=n.get("status"),l=n.get("value");null!=l&&(l=r.parse(l));var h=pv(n);null==o&&(option.status=h?"show":"hide");var c=r.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==l||l>c[1])&&(l=c[1]),l<c[0]&&(l=c[0]),option.value=l,h&&(option.status=e.axis.scale.isBlank()?"hide":"show")}}function fv(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[gv(t)]}function pv(t){return!!t.get("handle.show")}function gv(t){return t.type+"||"+t.id}var vv=function(t,e){var n,r=[],o=t.seriesIndex;if(null==o||!(n=e.getSeriesByIndex(o)))return{point:[]};var data=n.getData(),l=Or(data,t);if(null==l||l<0||G(l))return{point:[]};var h=data.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(data.getValues(map(c.dimensions,function(t){return data.mapDimension(t)}),l,!0))||[];else if(h){var rect=h.getBoundingRect().clone();rect.applyTransform(h.transform),r=[rect.x+rect.width/2,rect.y+rect.height/2]}return{point:r,el:h}},mv=F,yv=W,_v=Lr();function xv(t,e,n,r,o){var l=t.axis;if(!l.scale.isBlank()&&l.containData(e))if(t.involveSeries){var h=function(t,e){var n=e.axis,r=n.dim,o=t,l=[],h=Number.MAX_VALUE,c=-1;return mv(e.seriesModels,function(e,d){var f,v,m=e.getData().mapDimension(r,!0);if(e.getAxisTooltipData){var y=e.getAxisTooltipData(m,t,n);v=y.dataIndices,f=y.nestestValue}else{if(!(v=e.getData().indicesOfNearest(m[0],t,"category"===n.type?.5:null)).length)return;f=e.getData().get(m[0],v[0])}if(null!=f&&isFinite(f)){var _=t-f,x=Math.abs(_);x<=h&&((x<h||_>=0&&c<0)&&(h=x,c=_,o=f,l.length=0),mv(v,function(t){l.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:l,snapToValue:o}}(e,t),c=h.payloadBatch,d=h.snapToValue;c[0]&&null==o.seriesIndex&&A(o,c[0]),!r&&t.snap&&l.containData(d)&&null!=d&&(e=d),n.showPointer(t,e,c,o),n.showTooltip(t,h,d)}else n.showPointer(t,e)}function wv(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function bv(t,e,n,r){var o=n.payloadBatch,l=e.axis,h=l.model,c=e.axisPointerModel;if(e.triggerTooltip&&o.length){var d=e.coordSys.model,f=gv(d),v=t.map[f];v||(v=t.map[f]={coordSysId:d.id,coordSysIndex:d.componentIndex,coordSysType:d.type,coordSysMainType:d.mainType,dataByAxis:[]},t.list.push(v)),v.dataByAxis.push({axisDim:l.dim,axisIndex:h.componentIndex,axisType:h.type,axisId:h.id,value:r,valueLabelOpt:{precision:c.get("label.precision"),formatter:c.get("label.formatter")},seriesDataIndices:o.slice()})}}function Sv(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function Mv(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}Hd({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});var Iv=Lr(),Tv=F;function Cv(t,e,n){if(!f.node){var r=e.getZr();Iv(r).records||(Iv(r).records={}),function(t,e){function n(n,r){t.on(n,function(n){var o=function(t){var e={showTip:[],hideTip:[]},n=function(r){var o=e[r.type];o?o.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}(e);Tv(Iv(t).records,function(t){t&&r(t,n,o.dispatchAction)}),function(t,e){var n,r=t.showTip.length,o=t.hideTip.length;r?n=t.showTip[r-1]:o&&(n=t.hideTip[o-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(o.pendings,e)})}Iv(t).initialized||(Iv(t).initialized=!0,n("click",W(kv,"click")),n("mousemove",W(kv,"mousemove")),n("globalout",Dv))}(r,e),(Iv(r).records[t]||(Iv(r).records[t]={})).handler=n}}function Dv(t,e,n){t.handler("leave",null,n)}function kv(t,e,n,r){e.handler(t,n,r)}function Av(t,e){if(!f.node){var n=e.getZr();(Iv(n).records||{})[t]&&(Iv(n).records[t]=null)}}var Pv=Vd({type:"axisPointer",render:function(t,e,n){var r=e.getComponent("tooltip"),o=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";Cv("axisPointer",n,function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){Av(e.getZr(),"axisPointer"),Pv.superApply(this._model,"remove",arguments)},dispose:function(t,e){Av("axisPointer",e),Pv.superApply(this._model,"dispose",arguments)}}),Ov=Lr(),Lv=D,Nv=V;function Bv(){}function Rv(t,e,n,r){(function t(e,n){if(j(e)&&j(n)){var r=!0;return F(n,function(n,o){r=r&&t(e[o],n)}),!!r}return e===n})(Ov(n).lastProp,r)||(Ov(n).lastProp=r,e?Ks(n,r,t):(n.stopAnimation(),n.attr(r)))}function Ev(t,e){t[e.get("label.show")?"show":"hide"]()}function zv(t){return{position:t.position.slice(),rotation:t.rotation||0}}function Fv(t,e,n){var r=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=o&&(t.zlevel=o),t.silent=n)})}Bv.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,r){var o=e.get("value"),l=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==o||this._lastStatus!==l){this._lastValue=o,this._lastStatus=l;var h=this._group,c=this._handle;if(!l||"hide"===l)return h&&h.hide(),void(c&&c.hide());h&&h.show(),c&&c.show();var d={};this.makeElOption(d,o,t,e,n);var f=d.graphicKey;f!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=f;var v=this._moveAnimation=this.determineAnimation(t,e);if(h){var m=W(Rv,e,v);this.updatePointerEl(h,d,m,e),this.updateLabelEl(h,d,m,e)}else h=this._group=new Cn,this.createPointerEl(h,d,t,e),this.createLabelEl(h,d,t,e),n.getZr().add(h);Fv(h,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,o="category"===r.type,l=e.get("snap");if(!l&&!o)return!1;if("auto"===n||null==n){var h=this.animationThreshold;if(o&&r.getBandWidth()>h)return!0;if(l){var c=fv(t).seriesDataCount,d=r.getExtent();return Math.abs(d[0]-d[1])/c>h}return!1}return!0===n},makeElOption:function(t,e,n,r,o){},createPointerEl:function(t,e,n,r){var o=e.pointer;if(o){var l=Ov(t).pointerEl=new nl[o.type](Lv(e.pointer));t.add(l)}},createLabelEl:function(t,e,n,r){if(e.label){var o=Ov(t).labelEl=new qo(Lv(e.label));t.add(o),Ev(o,r)}},updatePointerEl:function(t,e,n){var r=Ov(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,r){var o=Ov(t).labelEl;o&&(o.setStyle(e.label.style),n(o,{shape:e.label.shape,position:e.label.position}),Ev(o,r))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),o=this._handle,l=n.getModel("handle"),h=n.get("status");if(!l.get("show")||!h||"hide"===h)return o&&r.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=Js(l.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Ut(t.event)},onmousedown:Nv(this._onHandleDragMove,this,0,0),drift:Nv(this._onHandleDragMove,this),ondragend:Nv(this._onHandleDragEnd,this)}),r.add(o)),Fv(o,n,!1),o.setStyle(l.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var c=l.get("size");G(c)||(c=[c,c]),o.attr("scale",[c[0]/2,c[1]/2]),function(t,e,n,r){var o=t[e];if(o){var l=o[Wu]||o,h=o[Xu];if(o[Gu]!==n||h!==r){if(null==n||!r)return t[e]=l;(o=t[e]=Yu(l,n,"debounce"===r))[Wu]=l,o[Xu]=r,o[Gu]=n}}}(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){Rv(this._axisPointerModel,!e&&this._moveAnimation,this._handle,zv(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(zv(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(zv(r)),Ov(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},Bv.prototype.constructor=Bv,Wr(Bv);var Hv=Math.PI,Vv=function(t,e){this.opt=e,this.axisModel=t,P(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new Cn;var n=new Cn({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};Vv.prototype={constructor:Vv,hasBuilder:function(t){return!!Wv[t]},add:function(t){Wv[t].call(this)},getGroup:function(){return this.group}};var Wv={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,o=[n[0],0],l=[n[1],0];r&&(kt(o,o,r),kt(l,l,r));var h=A({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new Ko({anid:"line",subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var c=e.get("axisLine.symbol"),d=e.get("axisLine.symbolSize"),f=e.get("axisLine.symbolOffset")||0;if("number"==typeof f&&(f=[f,f]),null!=c){"string"==typeof c&&(c=[c,c]),"string"!=typeof d&&"number"!=typeof d||(d=[d,d]);var v=d[0],m=d[1];F([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((o[0]-l[0])*(o[0]-l[0])+(o[1]-l[1])*(o[1]-l[1]))}],function(e,n){if("none"!==c[n]&&null!=c[n]){var symbol=xp(c[n],-v/2,-m/2,v,m,h.stroke,!0),r=e.r+e.offset,l=[o[0]+r*Math.cos(t.rotation),o[1]-r*Math.sin(t.rotation)];symbol.attr({rotation:e.rotate,position:l,silent:!0,z2:11}),this.group.add(symbol)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=function(t,e,n){var r=e.axis;if(e.get("axisTick.show")&&!r.scale.isBlank()){for(var o=e.getModel("axisTick"),l=o.getModel("lineStyle"),h=o.get("length"),c=r.getTicksCoords(),d=[],f=[],v=t._transform,m=[],i=0;i<c.length;i++){var y=c[i].coord;d[0]=y,d[1]=0,f[0]=y,f[1]=n.tickDirection*h,v&&(kt(d,d,v),kt(f,f,v));var _=new Ko({anid:"tick_"+c[i].tickValue,subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:P(l.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0});t.group.add(_),m.push(_)}return m}}(this,t,e),r=function(t,e,n){var r=e.axis;if(Q(n.axisLabelShow,e.get("axisLabel.show"))&&!r.scale.isBlank()){var o=e.getModel("axisLabel"),l=o.get("margin"),h=r.getViewLabels(),c=(Q(n.labelRotate,o.get("rotate"))||0)*Hv/180,d=Xv(n.rotation,c,n.labelDirection),f=e.getCategories&&e.getCategories(!0),v=[],m=Yv(e),y=e.get("triggerEvent");return F(h,function(h,c){var _=h.tickValue,x=h.formattedLabel,w=h.rawLabel,S=o;f&&f[_]&&f[_].textStyle&&(S=new cl(f[_].textStyle,o,e.ecModel));var M=S.getTextColor()||e.get("axisLine.lineStyle.color"),I=[r.dataToCoord(_),n.labelOffset+n.labelDirection*l],T=new Po({anid:"label_"+_,position:I,rotation:d.rotation,silent:m,z2:10});Ws(T.style,S,{text:x,textAlign:S.getShallow("align",!0)||d.textAlign,textVerticalAlign:S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||d.textVerticalAlign,textFill:"function"==typeof M?M("category"===r.type?w:"value"===r.type?_+"":_,c):M}),y&&(T.eventData=Gv(e),T.eventData.targetType="axisLabel",T.eventData.value=w),t._dumbGroup.add(T),T.updateTransform(),v.push(T),t.group.add(T),T.decomposeTransform()}),v}}(this,t,e);!function(t,e,n){if(!up(t.axis)){var r=t.get("axisLabel.showMinLabel"),o=t.get("axisLabel.showMaxLabel");n=n||[];var l=(e=e||[])[0],h=e[1],c=e[e.length-1],d=e[e.length-2],f=n[0],v=n[1],m=n[n.length-1],y=n[n.length-2];!1===r?(jv(l),jv(f)):Uv(l,h)&&(r?(jv(h),jv(v)):(jv(l),jv(f))),!1===o?(jv(c),jv(m)):Uv(d,c)&&(o?(jv(d),jv(y)):(jv(c),jv(m)))}}(t,r,n)},axisName:function(){var t=this.opt,e=this.axisModel,n=Q(t.axisName,e.get("name"));if(n){var r,o,l=e.get("nameLocation"),h=t.nameDirection,c=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,f=this.axisModel.axis.getExtent(),v=f[0]>f[1]?-1:1,m=["start"===l?f[0]-v*d:"end"===l?f[1]+v*d:(f[0]+f[1])/2,qv(l)?t.labelOffset+h*d:0],y=e.get("nameRotate");null!=y&&(y=y*Hv/180),qv(l)?r=Xv(t.rotation,null!=y?y:t.rotation,h):(r=function(t,e,n,r){var o,l,h=bl(n-t.rotation),c=r[0]>r[1],d="start"===e&&!c||"start"!==e&&c;return Sl(h-Hv/2)?(l=d?"bottom":"top",o="center"):Sl(h-1.5*Hv)?(l=d?"top":"bottom",o="center"):(l="middle",o=h<1.5*Hv&&h>Hv/2?d?"left":"right":d?"right":"left"),{rotation:h,textAlign:o,textVerticalAlign:l}}(t,l,y||0,f),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var _=c.getFont(),x=e.get("nameTruncate",!0)||{},w=x.ellipsis,S=Q(t.nameTruncateMaxWidth,x.maxWidth,o),M=null!=w&&null!=S?Wl(n,S,_,w,{minChar:2,placeholder:x.placeholder}):n,I=e.get("tooltip",!0),T=e.mainType,C={componentType:T,name:n,$vars:["name"]};C[T+"Index"]=e.componentIndex;var D=new Po({anid:"name",__fullText:n,__truncatedText:M,position:m,rotation:r.rotation,silent:Yv(e),z2:1,tooltip:I&&I.show?A({content:n,formatter:function(){return n},formatterParams:C},I):null});Ws(D.style,c,{text:M,textFont:_,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:c.get("align")||r.textAlign,textVerticalAlign:c.get("verticalAlign")||r.textVerticalAlign}),e.get("triggerEvent")&&(D.eventData=Gv(e),D.eventData.targetType="axisName",D.eventData.name=n),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},Gv=Vv.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},Xv=Vv.innerTextLayout=function(t,e,n){var r,o,l=bl(e-t);return Sl(l)?(o=n>0?"top":"bottom",r="center"):Sl(l-Hv)?(o=n>0?"bottom":"top",r="center"):(o="middle",r=l>0&&l<Hv?n>0?"right":"left":n>0?"left":"right"),{rotation:l,textAlign:r,textVerticalAlign:o}},Yv=Vv.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function jv(t){t&&(t.ignore=!0)}function Uv(t,e,n){var r=t&&t.getBoundingRect().clone(),o=e&&e.getBoundingRect().clone();if(r&&o){var l=oe([]);return ue(l,l,-t.rotation),r.applyTransform(le([],l,t.getLocalTransform())),o.applyTransform(le([],l,e.getLocalTransform())),r.intersect(o)}}function qv(t){return"middle"===t||"center"===t}function Zv(t,e,n,r,o){var text=Kv(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),l=n.getModel("label"),h=Ol(l.get("padding")||0),c=l.getFont(),d=di(text,c),f=o.position,v=d.width+h[1]+h[3],m=d.height+h[0]+h[2],y=o.align;"right"===y&&(f[0]-=v),"center"===y&&(f[0]-=v/2);var _=o.verticalAlign;"bottom"===_&&(f[1]-=m),"middle"===_&&(f[1]-=m/2),function(t,e,n,r){var o=r.getWidth(),l=r.getHeight();t[0]=Math.min(t[0]+e,o)-e,t[1]=Math.min(t[1]+n,l)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(f,v,m,r);var x=l.get("backgroundColor");x&&"auto"!==x||(x=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:m,r:l.get("borderRadius")},position:f.slice(),style:{text:text,textFont:c,textFill:l.getTextColor(),textPosition:"inside",textPadding:h,fill:x,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function Kv(t,e,n,r,o){t=e.scale.parse(t);var text=e.scale.getLabel(t,{precision:o.precision}),l=o.formatter;if(l){var h={value:lp(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};F(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,o=e&&e.getDataParams(r);o&&h.seriesData.push(o)}),Y(l)?text=l.replace("{value}",text):X(l)&&(text=l(h))}return text}function $v(t,e,n){var r=ae();return ue(r,r,n.rotation),he(r,r,n.position),Qs([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Qv(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,l={},h=o.getAxesOnZeroOf()[0],c=o.position,d=h?"onZero":c,f=o.dim,rect=r.getRect(),v=[rect.x,rect.x+rect.width,rect.y,rect.y+rect.height],m={left:0,right:1,top:0,bottom:1,onZero:2},y=e.get("offset")||0,_="x"===f?[v[2]-y,v[3]+y]:[v[0]-y,v[1]+y];if(h){var x=h.toGlobalCoord(h.dataToCoord(0));_[m.onZero]=Math.max(Math.min(x,_[1]),_[0])}l.position=["y"===f?_[m[d]]:v[0],"x"===f?_[m[d]]:v[3]],l.rotation=Math.PI/2*("x"===f?0:1),l.labelDirection=l.tickDirection=l.nameDirection={top:-1,bottom:1,left:-1,right:1}[c],l.labelOffset=h?_[m[c]]-_[m.onZero]:0,e.get("axisTick.inside")&&(l.tickDirection=-l.tickDirection),Q(n.labelInside,e.get("axisLabel.inside"))&&(l.labelDirection=-l.labelDirection);var w=e.get("axisLabel.rotate");return l.labelRotate="top"===d?-w:w,l.z2=1,l}var Jv=Vd({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,r){this.axisPointerClass&&dv(t),Jv.superApply(this,"render",arguments),tm(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,r,o){tm(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),Jv.superApply(this,"remove",arguments)},dispose:function(t,e){nm(this,e),Jv.superApply(this,"dispose",arguments)}});function tm(t,e,n,r,o,l){var h=Jv.getAxisPointerClass(t.axisPointerClass);if(h){var c=function(t){var e=fv(t);return e&&e.axisPointerModel}(e);c?(t._axisPointer||(t._axisPointer=new h)).render(e,c,r,l):nm(t,r)}}function nm(t,e,n){var r=t._axisPointer;r&&r.dispose(e,n),t._axisPointer=null}var im=[];Jv.registerAxisPointerClass=function(t,e){im[t]=e},Jv.getAxisPointerClass=function(t){return t&&im[t]};var rm=Bv.extend({makeElOption:function(t,e,n,r,o){var l=n.axis,h=l.grid,c=r.get("type"),d=am(h,l).getOtherAxis(l).getGlobalExtent(),f=l.toGlobalCoord(l.dataToCoord(e,!0));if(c&&"none"!==c){var v=function(t){var style,e=t.get("type"),n=t.getModel(e+"Style");return"line"===e?(style=n.getLineStyle()).fill=null:"shadow"===e&&((style=n.getAreaStyle()).stroke=null),style}(r),m=om[c](l,f,d);m.style=v,t.graphicKey=m.type,t.pointer=m}!function(t,e,n,r,o,l){var h=Vv.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=o.get("label.margin"),Zv(e,r,o,l,{position:$v(r.axis,t,n),align:h.textAlign,verticalAlign:h.textVerticalAlign})}(e,t,Qv(h.model,n),n,r,o)},getHandleTransform:function(t,e,n){var r=Qv(e.axis.grid.model,e,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:$v(e.axis,t,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,r){var o=n.axis,l=o.grid,h=o.getGlobalExtent(!0),c=am(l,o).getOtherAxis(o).getGlobalExtent(),d="x"===o.dim?0:1,f=t.position;f[d]+=e[d],f[d]=Math.min(h[1],f[d]),f[d]=Math.max(h[0],f[d]);var v=(c[1]+c[0])/2,m=[v,v];return m[d]=f[d],{position:f,rotation:t.rotation,cursorPoint:m,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][d]}}});function am(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var om={line:function(t,e,n){var r,o,l;return{type:"Line",subPixelOptimize:!0,shape:(r=[e,n[0]],o=[e,n[1]],l=sm(t),{x1:r[l=l||0],y1:r[1-l],x2:o[l],y2:o[1-l]})}},shadow:function(t,e,n){var r,o,l,h=Math.max(1,t.getBandWidth()),span=n[1]-n[0];return{type:"Rect",shape:(r=[e-h/2,n[0]],o=[h,span],l=sm(t),{x:r[l=l||0],y:r[1-l],width:o[l],height:o[1-l]})}}};function sm(t){return"x"===t.dim?0:1}Jv.registerAxisPointerClass("CartesianAxisPointer",rm),Ld(function(option){if(option){(!option.axisPointer||0===option.axisPointer.length)&&(option.axisPointer={});var link=option.axisPointer.link;link&&!G(link)&&(option.axisPointer.link=[link])}}),Nd(Xc.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=uv(t,e)}),Bd({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},function(t,e,n){var r=t.currTrigger,o=[t.x,t.y],l=t,h=t.dispatchAction||V(n.dispatchAction,n),c=e.getComponent("axisPointer").coordSysAxesInfo;if(c){Mv(o)&&(o=vv({seriesIndex:l.seriesIndex,dataIndex:l.dataIndex},e).point);var d=Mv(o),f=l.axesInfo,v=c.axesInfo,m="leave"===r||Mv(o),y={},_={},x={list:[],map:{}},w={showPointer:yv(wv,_),showTooltip:yv(bv,x)};mv(c.coordSysMap,function(t,e){var n=d||t.containPoint(o);mv(c.coordSysAxesInfo[e],function(t,e){var r=t.axis,l=function(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}}(f,t);if(!m&&n&&(!f||l)){var h=l&&l.value;null!=h||d||(h=r.pointToData(o)),null!=h&&xv(t,h,w,!1,y)}})});var S={};return mv(v,function(t,e){var n=t.linkGroup;n&&!_[e]&&mv(n.axesInfo,function(e,r){var o=_[r];if(e!==t&&o){var l=o.value;n.mapper&&(l=t.axis.scale.parse(n.mapper(l,Sv(e),Sv(t)))),S[t.key]=l}})}),mv(S,function(t,e){xv(v[e],t,w,!0,y)}),function(t,e,n){var r=n.axesInfo=[];mv(e,function(e,n){var option=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(option.status="show"),option.value=o.value,option.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(option.status="hide"),"show"===option.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:option.value})})}(_,v,y),function(t,e,n,r){if(!Mv(e)&&t.list.length){var o=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}(x,o,t,h),function(t,e,n){var r=n.getZr(),o=_v(r).axisPointerLastHighlights||{},l=_v(r).axisPointerLastHighlights={};mv(t,function(t,e){var option=t.axisPointerModel.option;"show"===option.status&&mv(option.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;l[e]=t})});var h=[],c=[];F(o,function(t,e){!l[e]&&c.push(t)}),F(l,function(t,e){!o[e]&&h.push(t)}),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),h.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:h})}(v,0,n),y}}),Hd({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});var lm=F,hm=Pl,um=["","-webkit-","-moz-","-o-"];function cm(t){var e,n,r=[],o=t.get("transitionDuration"),l=t.get("backgroundColor"),h=t.getModel("textStyle"),c=t.get("padding");return o&&r.push((n="left "+(e=o)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)",map(um,function(t){return t+"transition:"+n}).join(";"))),l&&(f.canvasSupported?r.push("background-Color:"+l):(r.push("background-Color:#"+Xe(l)),r.push("filter:alpha(opacity=70)"))),lm(["width","color","radius"],function(e){var n="border-"+e,o=hm(n),l=t.get(o);null!=l&&r.push(n+":"+l+("color"===e?"":"px"))}),r.push(function(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();return r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px"),lm(["decoration","align"],function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)}),e.join(";")}(h)),null!=c&&r.push("padding:"+Ol(c).join("px ")+"px"),r.join(";")+";"}function dm(t,e){if(f.wxa)return null;var n=document.createElement("div"),r=this._zr=e.getZr();this.el=n,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(n),this._container=t,this._show=!1,this._hideTimeout;var o=this;n.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!o._enterable){var n=r.handler;Yt(t,e,!0),n.dispatch("mousemove",e)}},n.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}function fm(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}dm.prototype={constructor:dm,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==e.position&&(n.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+cm(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(content){this.el.innerHTML=null==content?"":content},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n,r=this._zr;r&&r.painter&&(n=r.painter.getViewportRootOffset())&&(t+=n.offsetLeft,e+=n.offsetTop);var style=this.el.style;style.left=t+"px",style.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(time){!this._show||this._inContent&&this._enterable||(time?(this._hideDelay=time,this._show=!1,this._hideTimeout=setTimeout(V(this.hide,this),time)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}},fm.prototype={constructor:fm,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(content,t,e){this.el&&this._zr.remove(this.el);for(var n={},text=content,r=text.indexOf("{marker");r>=0;){var o=text.indexOf("|}"),l=text.substr(r+"{marker".length,o-r-"{marker".length);l.indexOf("sub")>-1?n["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[l],textOffset:[3,0]}:n["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[l]},r=(text=text.substr(o+1)).indexOf("{marker")}this.el=new Po({style:{rich:n,text:content,textLineHeight:20,textBackgroundColor:e.get("backgroundColor"),textBorderRadius:e.get("borderRadius"),textFill:e.get("textStyle.color"),textPadding:e.get("padding")},z:e.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(time){!this._show||this._inContent&&this._enterable||(time?(this._hideDelay=time,this._show=!1,this._hideTimeout=setTimeout(V(this.hide,this),time)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var pm=V,gm=F,vm=yl,mm=new qo({shape:{x:-1,y:-1,width:2,height:2}});function ym(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(cl.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new cl(n,e,e.ecModel))}return e}function _m(t,e){return t.dispatchAction||V(e.dispatchAction,e)}function xm(t){return"center"===t||"middle"===t}Vd({type:"tooltip",init:function(t,e){if(!f.node){var n,r=t.getComponent("tooltip").get("renderMode");this._renderMode=zr(r),"html"===this._renderMode?(n=new dm(e.getDom(),e),this._newLine="<br/>"):(n=new fm(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!f.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");Cv("itemTooltip",this._api,pm(function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY})})}},manuallyShowTip:function(t,e,n,r){if(r.from!==this.uid&&!f.node){var o=_m(r,n);this._ticket="";var l=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var h=mm;h.position=[r.x,r.y],h.update(),h.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:h},o)}else if(l)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,event:{},dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=vv(r,e),d=c.point[0],v=c.point[1];null!=d&&null!=v&&this._tryShow({offsetX:d,offsetY:v,position:r.position,target:c.el,event:{}},o)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target,event:{}},o))}},manuallyHideTip:function(t,e,n,r){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(_m(r,n))},_manuallyAxisShowTip:function(t,e,n,r){var o=r.seriesIndex,l=r.dataIndex,h=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=l&&null!=h){var c=e.getSeriesByIndex(o);if(c&&"axis"===(t=ym([c.getData().getItemModel(l),c,(c.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:l,position:r.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=V(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,r=this._tooltipModel,o=[e.offsetX,e.offsetY],l=[],h=[],c=ym([e.tooltipOption,r]),d=this._renderMode,f=this._newLine,v={};gm(t,function(t){gm(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,o=[];if(e&&null!=r){var c=Kv(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);F(t.seriesDataIndices,function(l){var f=n.getSeriesByIndex(l.seriesIndex),m=l.dataIndexInside,y=f&&f.getDataParams(m);if(y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=lp(e.axis,r),y.axisValueLabel=c,y){h.push(y);var html,_=f.formatTooltip(m,!0,null,d);if(j(_)){html=_.html;var x=_.markers;k(v,x)}else html=_;o.push(html)}});var m=c;"html"!==d?l.push(o.join(f)):l.push((m?Bl(m)+f:"")+o.join(f))}})},this),l.reverse(),l=l.join(this._newLine+this._newLine);var m=e.position;this._showOrMove(c,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(c,m,o[0],o[1],this._tooltipContent,h):this._showTooltipContent(c,l,h,Math.random(),o[0],o[1],m,void 0,v)})},_showSeriesItemTooltip:function(t,e,n){var r=this._ecModel,o=e.seriesIndex,l=r.getSeriesByIndex(o),h=e.dataModel||l,c=e.dataIndex,d=e.dataType,data=h.getData(),f=ym([data.getItemModel(c),h,l&&(l.coordinateSystem||{}).model,this._tooltipModel]),v=f.get("trigger");if(null==v||"item"===v){var m,y,_=h.getDataParams(c,d),x=h.formatTooltip(c,!1,d,this._renderMode);j(x)?(m=x.html,y=x.markers):(m=x,y=null);var w="item_"+h.name+"_"+c;this._showOrMove(f,function(){this._showTooltipContent(f,m,_,w,t.offsetX,t.offsetY,t.position,t.target,y)}),n({type:"showTip",dataIndexInside:c,dataIndex:data.getRawIndex(c),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var r=e.tooltip;"string"==typeof r&&(r={content:r,formatter:r});var o=new cl(r,this._tooltipModel,this._ecModel),l=o.get("content"),h=Math.random();this._showOrMove(o,function(){this._showTooltipContent(o,l,o.get("formatterParams")||{},h,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,r,o,l,h,c,d){if(this._ticket="",t.get("showContent")&&t.get("show")){var f=this._tooltipContent,v=t.get("formatter");h=h||t.get("position");var html=e;if(v&&"string"==typeof v)html=zl(v,n,!0);else if("function"==typeof v){var m=pm(function(e,html){e===this._ticket&&(f.setContent(html,d,t),this._updatePosition(t,h,o,l,f,n,c))},this);this._ticket=r,html=v(n,r,m)}f.setContent(html,d,t),f.show(t),this._updatePosition(t,h,o,l,f,n,c)}},_updatePosition:function(t,e,n,r,content,o,l){var h=this._api.getWidth(),c=this._api.getHeight();e=e||t.get("position");var d=content.getSize(),f=t.get("align"),v=t.get("verticalAlign"),rect=l&&l.getBoundingRect().clone();if(l&&rect.applyTransform(l.transform),"function"==typeof e&&(e=e([n,r],o,content.el,rect,{viewSize:[h,c],contentSize:d.slice()})),G(e))n=vm(e[0],h),r=vm(e[1],c);else if(j(e)){e.width=d[0],e.height=d[1];var m=Zl(e,{width:h,height:c});n=m.x,r=m.y,f=null,v=null}else if("string"==typeof e&&l){var y=function(t,rect,e){var n=e[0],r=e[1],o=0,l=0,h=rect.width,c=rect.height;switch(t){case"inside":o=rect.x+h/2-n/2,l=rect.y+c/2-r/2;break;case"top":o=rect.x+h/2-n/2,l=rect.y-r-5;break;case"bottom":o=rect.x+h/2-n/2,l=rect.y+c+5;break;case"left":o=rect.x-n-5,l=rect.y+c/2-r/2;break;case"right":o=rect.x+h+5,l=rect.y+c/2-r/2}return[o,l]}(e,rect,d);n=y[0],r=y[1]}else y=function(t,e,content,n,r,o,l){var h=content.getOuterSize(),c=h.width,d=h.height;return null!=o&&(t+c+o>n?t-=c+o:t+=o),null!=l&&(e+d+l>r?e-=d+l:e+=l),[t,e]}(n,r,content,h,c,f?null:20,v?null:20),n=y[0],r=y[1];f&&(n-=xm(f)?d[0]/2:"right"===f?d[0]:0),v&&(r-=xm(v)?d[1]/2:"bottom"===v?d[1]:0),t.get("confine")&&(y=function(t,e,content,n,r){var o=content.getOuterSize(),l=o.width,h=o.height;return t=Math.min(t+l,n)-l,e=Math.min(e+h,r)-h,[t=Math.max(t,0),e=Math.max(e,0)]}(n,r,content,h,c),n=y[0],r=y[1]),content.moveTo(n,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&gm(e,function(e,r){var o=e.dataByAxis||{},l=(t[r]||{}).dataByAxis||[];(n&=o.length===l.length)&&gm(o,function(t,e){var r=l[e]||{},o=t.seriesDataIndices||[],h=r.seriesDataIndices||[];(n&=t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&o.length===h.length)&&gm(o,function(t,e){var r=h[e];n&=t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex})})}),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){f.node||(this._tooltipContent.hide(),Av("itemTooltip",e))}}),Bd({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),Bd({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){}),t.version="4.4.0",t.dependencies={zrender:"4.1.1"},t.PRIORITY=Xc,t.init=function(t,e,n){var r=Pd(t);if(r)return r;var o=new Kc(t,e,n);return o.id="ec_"+Td++,Md[o.id]=o,Er(t,Dd,o.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i<t.length;i++)t[i][e]=n}Ec(md,function(r,o){t._messageCenter.on(o,function(r){if(Id[t.group]&&0!==t[e]){if(r&&r.escapeConnect)return;var o=t.makeActionFromEvent(r),l=[];Ec(Md,function(e){e!==t&&e.group===t.group&&l.push(e)}),n(l,0),Ec(l,function(t){1!==t[e]&&t.dispatchAction(o)}),n(l,2)}})})}(o),o},t.connect=function(t){if(G(t)){var e=t;t=null,Ec(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+Cd++,Ec(e,function(e){e.group=t})}return Id[t]=!0,t},t.disConnect=kd,t.disconnect=Ad,t.dispose=function(t){"string"==typeof t?t=Md[t]:t instanceof Kc||(t=Pd(t)),t instanceof Kc&&!t.isDisposed()&&t.dispose()},t.getInstanceByDom=Pd,t.getInstanceById=function(t){return Md[t]},t.registerTheme=Od,t.registerPreprocessor=Ld,t.registerProcessor=Nd,t.registerPostUpdate=function(t){xd.push(t)},t.registerAction=Bd,t.registerCoordinateSystem=function(t,e){Oh.register(t,e)},t.getCoordinateSystemDimensions=function(t){var e=Oh.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},t.registerLayout=Rd,t.registerVisual=Ed,t.registerLoading=Fd,t.extendComponentModel=Hd,t.extendComponentView=Vd,t.extendSeriesModel=function(t){return bu.extend(t)},t.extendChartView=Wd,t.setCanvasCreator=function(t){C("createCanvas",t)},t.registerMap=function(t,e,n){Nc.registerMap(t,e,n)},t.getMap=function(t){var e=Nc.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}},t.dataTool={},t.zrender=_r,t.number=kl,t.format=Gl,t.throttle=Yu,t.helper=bp,t.matrix=fe,t.vector=Ot,t.color=Ke,t.parseGeoJSON=Dp,t.parseGeoJson=Vp,t.util=Wp,t.graphic=Gp,t.List=of,t.Model=cl,t.Axis=Fp,t.env=f}(e)},230:function(t,e,n){var r=n(7),o=n(22),l=n(10),h=n(231),c="["+h+"]",d=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),v=function(t,e,n){var o={},c=l(function(){return!!h[t]()||" "!=" "[t]()}),d=o[t]=c?e(m):h[t];n&&(o[n]=d),r(r.P+r.F*c,"String",o)},m=v.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(d,"")),2&e&&(t=t.replace(f,"")),t};t.exports=v},231:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},232:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n(27),o=n(224);function l(t,e){return!e||"object"!==Object(r.a)(e)&&"function"!=typeof e?Object(o.a)(t):e}},233:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(222);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(r.a)(t,e)}},234:function(t,e,n){"use strict";var r=n(7),o=n(235)(5),l=!0;"find"in[]&&Array(1).find(function(){l=!1}),r(r.P+r.F*l,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(78)("find")},235:function(t,e,n){var r=n(29),o=n(77),l=n(30),h=n(24),c=n(236);t.exports=function(t,e){var n=1==t,d=2==t,f=3==t,v=4==t,m=6==t,y=5==t||m,_=e||c;return function(e,c,x){for(var w,S,M=l(e),I=o(M),T=r(c,x,3),C=h(I.length),D=0,k=n?_(e,C):d?_(e,0):void 0;C>D;D++)if((y||D in I)&&(S=T(w=I[D],D,M),t))if(n)k[D]=S;else if(S)switch(t){case 3:return!0;case 5:return w;case 6:return D;case 2:k.push(w)}else if(v)return!1;return m?-1:f||v?v:k}}},236:function(t,e,n){var r=n(237);t.exports=function(t,e){return new(r(t))(e)}},237:function(t,e,n){var r=n(11),o=n(114),l=n(2)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[l])&&(e=void 0)),void 0===e?Array:e}},238:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},239:function(t,e,n){"use strict";function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return o})},240:function(t,e,n){"use strict";var r=n(225),o=n(222);function l(t,e,n){return(l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var a=[null];a.push.apply(a,e);var r=new(Function.bind.apply(t,a));return n&&Object(o.a)(r,n.prototype),r}).apply(null,arguments)}function h(t){var e="function"==typeof Map?new Map:void 0;return(h=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,h)}function h(){return l(t,arguments,Object(r.a)(this).constructor)}return h.prototype=Object.create(t.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),Object(o.a)(h,t)})(t)}n.d(e,"a",function(){return h})}}]); \ No newline at end of file diff --git a/docs/_nuxt/LICENSES b/docs/_nuxt/LICENSES deleted file mode 100644 index 49497d9..0000000 --- a/docs/_nuxt/LICENSES +++ /dev/null @@ -1,52 +0,0 @@ -/*! - * Vue.js v2.6.10 - * (c) 2014-2019 Evan You - * Released under the MIT License. - */ - -/*! - * vue-router v3.1.2 - * (c) 2019 Evan You - * @license MIT - */ - -/** - * vuex v3.1.1 - * (c) 2019 Evan You - * @license MIT - */ - -/** - * vue-meta v1.6.0 - * (c) 2019 Declan de Wet & Sébastien Chopin (@Atinux) - * @license MIT - */ - -/* - object-assign - (c) Sindre Sorhus - @license MIT - */ - -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh <https://feross.org> - * @license MIT - */ - -/*! - * vue-no-ssr v1.1.1 - * (c) 2018-present egoist <0x142857@gmail.com> - * Released under the MIT License. - */ - -/*! - * ZRender, a high performance 2d drawing library. - * - * Copyright (c) 2013, Baidu Inc. - * All rights reserved. - * - * LICENSE - * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt - */ diff --git a/docs/_nuxt/a69e7f7b78ae7067d8d5.js b/docs/_nuxt/a69e7f7b78ae7067d8d5.js deleted file mode 100644 index 5e369da..0000000 --- a/docs/_nuxt/a69e7f7b78ae7067d8d5.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1:function(t,e,n){"use strict";n.d(e,"i",function(){return m}),n.d(e,"j",function(){return v}),n.d(e,"a",function(){return x}),n.d(e,"o",function(){return y}),n.d(e,"e",function(){return w}),n.d(e,"f",function(){return _}),n.d(e,"c",function(){return O}),n.d(e,"n",function(){return j}),n.d(e,"h",function(){return C}),n.d(e,"p",function(){return $}),n.d(e,"k",function(){return R}),n.d(e,"m",function(){return P}),n.d(e,"d",function(){return S}),n.d(e,"b",function(){return T}),n.d(e,"g",function(){return N}),n.d(e,"l",function(){return D});n(70),n(26);var r=n(38),o=(n(96),n(150),n(151),n(27)),c=(n(116),n(117),n(154),n(156),n(52),n(39),n(5)),f=(n(79),n(18),n(13),n(51),n(40),n(28)),l=n(0);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,n)}return e}function h(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(source,!0).forEach(function(e){Object(f.a)(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(source).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}function m(t){l.a.config.errorHandler&&l.a.config.errorHandler(t)}function v(t){return t.then(function(t){return t.default||t})}function x(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h({},data,{},e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function y(t){return t.options&&t._Ctor===t?t:(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=l.a.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file),t)}function w(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.prototype.concat.apply([],t.matched.map(function(t,n){return Object.keys(t.components).map(function(r){return e&&e.push(n),t.components[r]})}))}function _(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Array.prototype.concat.apply([],t.matched.map(function(t,n){return Object.keys(t.instances).map(function(r){return e&&e.push(n),t.instances[r]})}))}function O(t,e){return Array.prototype.concat.apply([],t.matched.map(function(t,n){return Object.keys(t.components).reduce(function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r},[])}))}function j(t){return Promise.all(O(t,function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,r,o){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e||e.options){t.next=4;break}return t.next=3,e();case 3:e=t.sent;case 4:return r.components[o]=y(e),t.abrupt("return",r.components[o]);case 6:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function C(t){return k.apply(this,arguments)}function k(){return(k=Object(c.a)(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,j(e);case 4:return t.abrupt("return",h({},e,{meta:w(e).map(function(t,n){return h({},t.options.meta,{},(e.matched[n]||{}).meta)})}));case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function $(t,e){return E.apply(this,arguments)}function E(){return(E=Object(c.a)(regeneratorRuntime.mark(function t(e,n){var c,f,l,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/website/",env:{baseUrl:"http://localhost:3000"}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=U(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([C(n.route),C(n.from)]);case 3:c=t.sent,f=Object(r.a)(c,2),l=f[0],d=f[1],n.route&&(e.context.route=l),n.from&&(e.context.from=d),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=Boolean(n.isHMR),e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}},t)}))).apply(this,arguments)}function R(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():P(t[0],e).then(function(){return R(t.slice(1),e)})}function P(t,e){var n;return(n=2===t.length?new Promise(function(n){t(e,function(t,data){t&&e.error(t),n(data=data||{})})}):t(e))&&(n instanceof Promise||"function"==typeof n.then)||(n=Promise.resolve(n)),n}function S(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function T(t,e){return function(t){for(var e=new Array(t.length),i=0;i<t.length;i++)"object"===Object(o.a)(t[i])&&(e[i]=new RegExp("^(?:"+t[i].pattern+")$"));return function(n,r){for(var path="",data=n||{},o=(r||{}).pretty?L:encodeURIComponent,c=0;c<t.length;c++){var f=t[c];if("string"!=typeof f){var l=data[f.name||"pathMatch"],d=void 0;if(null==l){if(f.optional){f.partial&&(path+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(Array.isArray(l)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(d=o(l[h]),!e[c].test(d))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(d)+"`");path+=(0===h?f.prefix:f.delimiter)+d}}else{if(d=f.asterisk?encodeURI(l).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):o(l),!e[c].test(d))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+d+'"');path+=f.prefix+d}}else path+=f}return path}}(function(t,e){var n,r=[],o=0,c=0,path="",f=e&&e.delimiter||"/";for(;null!=(n=A.exec(t));){var l=n[0],d=n[1],h=n.index;if(path+=t.slice(c,h),c=h+l.length,d)path+=d[1];else{var m=t[c],v=n[2],x=n[3],y=n[4],w=n[5],_=n[6],O=n[7];path&&(r.push(path),path="");var j=null!=v&&null!=m&&m!==v,C="+"===_||"*"===_,k="?"===_||"*"===_,$=n[2]||f,pattern=y||w;r.push({name:x||o++,prefix:v||"",delimiter:$,optional:k,repeat:C,partial:j,asterisk:Boolean(O),pattern:pattern?I(pattern):O?".*":"[^"+M($)+"]+?"})}}c<t.length&&(path+=t.substr(c));path&&r.push(path);return r}(t,e))}function N(t,e){var n={},r=h({},t,{},e);for(var o in r)String(t[o])!==String(e[o])&&(n[o]=!0);return n}function D(t){var e;if(t.message||"string"==typeof t)e=t.message||t;else try{e=JSON.stringify(t,null,2)}catch(n){e="[".concat(t.constructor.name,"]")}return h({},t,{message:e,statusCode:t.statusCode||t.status||t.response&&t.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(t){window.onNuxtReadyCbs.push(t)};var A=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function L(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function M(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function I(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function U(t,e){var n,o=t.indexOf("://");-1!==o?(n=t.substring(0,o),t=t.substring(o+3)):t.startsWith("//")&&(t=t.substring(2));var c,f=t.split("/"),l=(n?n+"://":"//")+f.shift(),path=f.filter(Boolean).join("/");if(2===(f=path.split("#")).length){var d=f,h=Object(r.a)(d,2);path=h[0],c=h[1]}return l+=path?"/"+path:"",e&&"{}"!==JSON.stringify(e)&&(l+=(2===t.split("?").length?"&":"?")+function(t){return Object.keys(t).sort().map(function(e){var n=t[e];return null==n?"":Array.isArray(n)?n.slice().map(function(t){return[e,"=",t].join("")}).join("&"):e+"="+n}).filter(Boolean).join("&")}(e)),l+=c?"#"+c:""}},119:function(t,e,n){t.exports=n(120)},120:function(t,e,n){"use strict";n.r(e),function(t){n(79),n(64),n(26);var e=n(27),r=(n(39),n(115),n(5)),o=(n(67),n(88),n(18),n(13),n(51),n(40),n(91),n(132),n(144),n(146),n(0)),c=n(107),f=n(73),l=n(1),d=n(21),h=n(58);o.a.component(h.a.name,h.a),o.a.component("NLink",h.a),t.fetch||(t.fetch=c.a);var m,v,x=[],y=window.__NUXT__||{};Object.assign(o.a.config,{silent:!0,performance:!1});var w=o.a.config.errorHandler||console.error;function _(t,e,n){var r=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r<e;r++)n[r-2]=arguments[r];return option.apply(void 0,n)}return option}(component,"transition",e,n)||{};return"string"==typeof t?{name:t}:t};return t.map(function(t){var e=Object.assign({},r(t));if(n&&n.matched.length&&n.matched[0].components.default){var o=r(n.matched[0].components.default);Object.keys(o).filter(function(t){return o[t]&&t.toLowerCase().includes("leave")}).forEach(function(t){e[t]=o[t]})}return e})}function O(t,e,n){return j.apply(this,arguments)}function j(){return(j=Object(r.a)(regeneratorRuntime.mark(function t(e,n,r){var o,c,f,d,h=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._pathChanged=Boolean(m.nuxt.err)||n.path!==e.path,this._queryChanged=JSON.stringify(e.query)!==JSON.stringify(n.query),this._diffQuery=this._queryChanged?Object(l.g)(e.query,n.query):[],this._pathChanged&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),t.prev=4,t.next=7,Object(l.n)(e);case 7:o=t.sent,!this._pathChanged&&this._queryChanged&&o.some(function(t){var e=t.options.watchQuery;return!0===e||!!Array.isArray(e)&&e.some(function(t){return h._diffQuery[t]})})&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),r(),t.next=23;break;case 12:if(t.prev=12,t.t0=t.catch(4),c=t.t0||{},f=c.statusCode||c.status||c.response&&c.response.status||500,d=c.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(d)){t.next=20;break}return window.location.reload(!0),t.abrupt("return");case 20:this.error({statusCode:f,message:d}),this.$nuxt.$emit("routeChanged",e,n,c),r();case 23:case"end":return t.stop()}},t,this,[[4,12]])}))).apply(this,arguments)}function C(t,e){return y.serverRendered&&e&&Object(l.a)(t,e),t._Ctor=t,t}function k(t){var path=Object(l.d)(t.options.base,t.options.mode);return Object(l.c)(t.match(path),function(){var t=Object(r.a)(regeneratorRuntime.mark(function t(e,n,r,o,c){var f;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e||e.options){t.next=4;break}return t.next=3,e();case 3:e=t.sent;case 4:return f=C(Object(l.o)(e),y.data?y.data[c]:null),r.components[o]=f,t.abrupt("return",f);case 7:case"end":return t.stop()}},t)}));return function(e,n,r,o,c){return t.apply(this,arguments)}}())}function $(t,e,n){var r=this,o=[],c=!1;if(void 0!==n&&(o=[],(n=Object(l.o)(n)).options.middleware&&(o=o.concat(n.options.middleware)),t.forEach(function(t){t.options.middleware&&(o=o.concat(t.options.middleware))})),o=o.map(function(t){return"function"==typeof t?t:("function"!=typeof f.a[t]&&(c=!0,r.error({statusCode:500,message:"Unknown middleware "+t})),f.a[t])}),!c)return Object(l.k)(o,e)}function E(t,e,n){return R.apply(this,arguments)}function R(){return(R=Object(r.a)(regeneratorRuntime.mark(function t(e,n,r){var o,c,f,h,v,y,w,O,j,C,k,E,R,P,S,T,N=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==this._pathChanged||!1!==this._queryChanged){t.next=2;break}return t.abrupt("return",r());case 2:return e===n?x=[]:(o=[],x=Object(l.e)(n,o).map(function(t,i){return Object(l.b)(n.matched[o[i]].path)(n.params)})),c=!1,f=function(path){n.path===path.path&&N.$loading.finish&&N.$loading.finish(),n.path!==path.path&&N.$loading.pause&&N.$loading.pause(),c||(c=!0,r(path))},t.next=7,Object(l.p)(m,{route:e,from:n,next:f.bind(this)});case 7:if(this._dateLastError=m.nuxt.dateErr,this._hadError=Boolean(m.nuxt.err),h=[],(v=Object(l.e)(e,h)).length){t.next=25;break}return t.next=14,$.call(this,v,m.context);case 14:if(!c){t.next=16;break}return t.abrupt("return");case 16:return t.next=18,this.loadLayout("function"==typeof d.a.layout?d.a.layout(m.context):d.a.layout);case 18:return y=t.sent,t.next=21,$.call(this,v,m.context,y);case 21:if(!c){t.next=23;break}return t.abrupt("return");case 23:return m.context.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",r());case 25:return v.forEach(function(t){t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)}),this.setTransitions(_(v,e,n)),t.prev=27,t.next=30,$.call(this,v,m.context);case 30:if(!c){t.next=32;break}return t.abrupt("return");case 32:if(!m.context._errored){t.next=34;break}return t.abrupt("return",r());case 34:return"function"==typeof(w=v[0].options.layout)&&(w=w(m.context)),t.next=38,this.loadLayout(w);case 38:return w=t.sent,t.next=41,$.call(this,v,m.context,w);case 41:if(!c){t.next=43;break}return t.abrupt("return");case 43:if(!m.context._errored){t.next=45;break}return t.abrupt("return",r());case 45:O=!0,t.prev=46,j=!0,C=!1,k=void 0,t.prev=50,E=v[Symbol.iterator]();case 52:if(j=(R=E.next()).done){t.next=64;break}if("function"==typeof(P=R.value).options.validate){t.next=56;break}return t.abrupt("continue",61);case 56:return t.next=58,P.options.validate(m.context);case 58:if(O=t.sent){t.next=61;break}return t.abrupt("break",64);case 61:j=!0,t.next=52;break;case 64:t.next=70;break;case 66:t.prev=66,t.t0=t.catch(50),C=!0,k=t.t0;case 70:t.prev=70,t.prev=71,j||null==E.return||E.return();case 73:if(t.prev=73,!C){t.next=76;break}throw k;case 76:return t.finish(73);case 77:return t.finish(70);case 78:t.next=84;break;case 80:return t.prev=80,t.t1=t.catch(46),this.error({statusCode:t.t1.statusCode||"500",message:t.t1.message}),t.abrupt("return",r());case 84:if(O){t.next=87;break}return this.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",r());case 87:return t.next=89,Promise.all(v.map(function(t,i){if(t._path=Object(l.b)(e.matched[h[i]].path)(e.params),t._dataRefresh=!1,N._pathChanged&&N._queryChanged||t._path!==x[i])t._dataRefresh=!0;else if(!N._pathChanged&&N._queryChanged){var n=t.options.watchQuery;!0===n?t._dataRefresh=!0:Array.isArray(n)&&(t._dataRefresh=n.some(function(t){return N._diffQuery[t]}))}if(!N._hadError&&N._isMounted&&!t._dataRefresh)return Promise.resolve();var r=[],o=t.options.asyncData&&"function"==typeof t.options.asyncData,c=Boolean(t.options.fetch),f=o&&c?30:45;if(o){var d=Object(l.m)(t.options.asyncData,m.context).then(function(e){Object(l.a)(t,e),N.$loading.increase&&N.$loading.increase(f)});r.push(d)}if(N.$loading.manual=!1===t.options.loading,c){var p=t.options.fetch(m.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then(function(t){N.$loading.increase&&N.$loading.increase(f)}),r.push(p)}return Promise.all(r)}));case 89:c||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),r()),t.next=106;break;case 92:if(t.prev=92,t.t2=t.catch(27),"ERR_REDIRECT"!==(S=t.t2||{}).message){t.next=97;break}return t.abrupt("return",this.$nuxt.$emit("routeChanged",e,n,S));case 97:return x=[],Object(l.i)(S),"function"==typeof(T=d.a.layout)&&(T=T(m.context)),t.next=103,this.loadLayout(T);case 103:this.error(S),this.$nuxt.$emit("routeChanged",e,n,S),r();case 106:case"end":return t.stop()}},t,this,[[27,92],[46,80],[50,66,70,78],[71,,73,77]])}))).apply(this,arguments)}function P(t,n){Object(l.c)(t,function(t,n,r,c){return"object"!==Object(e.a)(t)||t.options||((t=o.a.extend(t))._Ctor=t,r.components[c]=t),t})}function S(t){this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&this.error();var e=this.$options.nuxt.err?d.a.layout:t.matched[0].components.default.options.layout;"function"==typeof e&&(e=e(m.context)),this.setLayout(e)}function T(t,e){var n=this;if(!1!==this._pathChanged||!1!==this._queryChanged){var r=[],c=Object(l.f)(t,r),f=Object(l.e)(t,r);o.a.nextTick(function(){c.forEach(function(t,i){if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&f[i]===t.constructor&&!0!==t.$vnode.data.keepAlive&&"function"==typeof t.constructor.options.data){var e=t.constructor.options.data.call(t);for(var n in e)o.a.set(t.$data,n,e[n]);window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")})}}),S.call(n,t)})}}function N(t){window.onNuxtReadyCbs.forEach(function(e){"function"==typeof e&&e(t)}),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t),v.afterEach(function(e,n){o.a.nextTick(function(){return t.$nuxt.$emit("routeChanged",e,n)})})}function D(){return(D=Object(r.a)(regeneratorRuntime.mark(function t(e){var n,r,c,f,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return m=e.app,v=e.router,e.store,t.next=5,Promise.all(k(v));case 5:return n=t.sent,r=new o.a(m),c=y.layout||"default",t.next=10,r.loadLayout(c);case 10:if(r.setLayout(c),f=function(){r.$mount("#__nuxt"),v.afterEach(P),v.afterEach(T.bind(r)),o.a.nextTick(function(){N(r)})},r.setTransitions=r.$options.nuxt.setTransitions.bind(r),n.length&&(r.setTransitions(_(n,v.currentRoute)),x=v.currentRoute.matched.map(function(t){return Object(l.b)(t.path)(v.currentRoute.params)})),r.$loading={},y.error&&r.error(y.error),v.beforeEach(O.bind(r)),v.beforeEach(E.bind(r)),!y.serverRendered){t.next=21;break}return f(),t.abrupt("return");case 21:d=function(){P(v.currentRoute,v.currentRoute),S.call(r,v.currentRoute),f()},E.call(r,v.currentRoute,v.currentRoute,function(path){if(path){var t=v.afterEach(function(e,n){t(),d()});v.push(path,void 0,function(t){t&&w(t)})}else d()});case 23:case"end":return t.stop()}},t)}))).apply(this,arguments)}Object(d.b)().then(function(t){return D.apply(this,arguments)}).catch(w)}.call(this,n(19))},147:function(t,e,n){"use strict";n.r(e),e.default=function(t){t.store,t.redirect}},160:function(t,e,n){"use strict";var r=n(54);n.n(r).a},161:function(t,e,n){(t.exports=n(31)(!1)).push([t.i,".__nuxt-error-page{padding:1rem;background:#f7f8fb;color:#47494e;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;font-family:sans-serif;font-weight:100!important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;position:absolute;top:0;left:0;right:0;bottom:0}.__nuxt-error-page .error{max-width:450px}.__nuxt-error-page .title{font-size:1.5rem;margin-top:15px;color:#47494e;margin-bottom:8px}.__nuxt-error-page .description{color:#7f828b;line-height:21px;margin-bottom:10px}.__nuxt-error-page a{color:#7f828b!important;text-decoration:none}.__nuxt-error-page .logo{position:fixed;left:12px;bottom:12px}",""])},162:function(t,e,n){"use strict";var r=n(55);n.n(r).a},163:function(t,e,n){(t.exports=n(31)(!1)).push([t.i,".nuxt-progress{position:fixed;top:0;left:0;right:0;height:2px;width:0;opacity:1;transition:width .1s,opacity .4s;background-color:#fff;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}",""])},166:function(t,e,n){"use strict";var r=n(56);n.n(r).a},167:function(t,e,n){(t.exports=n(31)(!1)).push([t.i,"html[data-v-e0d65c42]{width:100vw;height:100vh}.default.layout[data-v-e0d65c42]{background:#f5f5d5;position:fixed;left:0;right:0;bottom:0;top:0}",""])},168:function(t,e,n){"use strict";n.r(e),n.d(e,"state",function(){return r}),n.d(e,"getters",function(){return o}),n.d(e,"mutations",function(){return c}),n.d(e,"actions",function(){return f});n(220);var r=function(){return{user:{}}},o={user:function(t){return t.user}},c={SET_USER:function(t,e){t.user=e}},f={nuxtServerInit:function(t,e){t.commit,e.req,e.res}}},169:function(t,e,n){"use strict";n.r(e),n.d(e,"state",function(){return c}),n.d(e,"mutations",function(){return f}),n.d(e,"actions",function(){return l});n(39);var r,o=n(5),c=function(){return{list:[],ip:""}},f={add:function(t,text){t.list.push({text:text,done:!1})},remove:function(t,e){var n=e.todo;t.list.splice(t.list.indexOf(n),1)},toggle:function(t,e){e.done=!e.done},SET_IP:function(t,e){t.ip=e}},l={getIP:(r=Object(o.a)(regeneratorRuntime.mark(function t(e){var n,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,this.$axios.$get("http://icanhazip.com");case 3:r=t.sent,n("SET_IP",r);case 5:case"end":return t.stop()}},t,this)})),function(t){return r.apply(this,arguments)})}},188:function(t,e){},21:function(t,e,n){"use strict";n(70),n(26),n(18),n(51),n(13);var r=n(28),o=(n(39),n(5)),c=(n(40),n(0)),f=n(108),l=n.n(f),d=n(74),h=n(1),m=function(){return Object(h.j)(n.e(3).then(n.bind(null,242)))},v=function(){return Object(h.j)(Promise.all([n.e(6),n.e(2)]).then(n.bind(null,241)))};c.a.use(d.a),"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual",window.addEventListener("beforeunload",function(){window.history.scrollRestoration="auto"}),window.addEventListener("load",function(){window.history.scrollRestoration="manual"}));var x=function(t,e,n){var r=!1;return t.matched.length<2&&t.matched.every(function(t){return!1!==t.components.default.options.scrollToTop})?r={x:0,y:0}:t.matched.some(function(t){return t.components.default.options.scrollToTop})&&(r={x:0,y:0}),n&&(r=n),new Promise(function(e){window.$nuxt.$once("triggerScroll",function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)})})};var y=n(109);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,n)}return e}var _=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(source,!0).forEach(function(e){Object(r.a)(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(source).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}({},n.n(y).a,{name:"NoSsr"}),O={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props;data.nuxtChild=!0;for(var o=n,c=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,l=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&l++,n=n.$parent;data.nuxtChildDepth=l;var d=c[l]||f,h={};j.forEach(function(t){void 0!==d[t]&&(h[t]=d[t])});var m={};C.forEach(function(t){"function"==typeof d[t]&&(m[t]=d[t].bind(o))});var v=m.beforeEnter;m.beforeEnter=function(t){if(window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")}),v)return v.call(o,t)};var x=[t("router-view",data)];return r.keepAlive&&(x=[t("keep-alive",{props:r.keepAliveProps},x)]),t("transition",{props:h,on:m},x)}},j=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],C=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],k={name:"NuxtError",props:{error:{type:Object,default:null}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"}]}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}}},$=(n(160),n(14)),E=Object($.a)(k,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"__nuxt-error-page"},[n("div",{staticClass:"error"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[n("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?n("p",{staticClass:"description"},[n("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt.js")])])}],!1,null,null,null).exports,R=(n(52),n(38)),P={name:"Nuxt",components:{NuxtChild:O,NuxtError:E},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(h.b)(this.$route.matched[0].path)(this.$route.params);var t=Object(R.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){return this.nuxt.err?t("NuxtError",{props:{error:this.nuxt.err}}):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},S={name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(function(){return t.startTimer()},this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout(function(){t.show=!1,t.$nextTick(function(){t.percent=0,t.reversed=!1})},500),this},fail:function(){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100?(t.skipTimerCount=1,t.reversed=!t.reversed):t.percent<=0&&(t.skipTimerCount=1,t.reversed=!t.reversed)))},100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}},T=(n(162),Object($.a)(S,void 0,void 0,!1,null,null,null).exports),N=(n(164),{components:{}}),D=(n(166),{_default:Object($.a)(N,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"default layout"},[e("nuxt")],1)},[],!1,null,"e0d65c42",null).exports}),A={head:{title:"Beer",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{hid:"description",name:"description",content:"My primo Nuxt.js project"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"}],style:[],script:[]},render:function(t,e){var n=t("NuxtLoading",{ref:"loading"}),r=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")})}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:""}},beforeCreate:function(){c.a.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){c.a.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error},mounted:function(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout:function(t){return t&&D["_"+t]||(t="default"),this.layoutName=t,this.layout=D["_"+t],this.layout},loadLayout:function(t){return t&&D["_"+t]||(t="default"),Promise.resolve(D["_"+t])}},components:{NuxtLoading:T}},L=(n(67),n(96),n(75));c.a.use(L.a);var M=["state","getters","actions","mutations"],I={};(I=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),B(t,e)}(n(168),"store/index.js")).modules=I.modules||{},function(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs|ts)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);if(t="state"===r?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var n=Object.assign({},t);return function(){return n}}return B(t,e)}(t,o):B(t,o),M.includes(r)){var c=r;H(z(I,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);for(var f=z(I,n),l=0,d=M;l<d.length;l++){var h=d[l];H(f,t[h],h)}!1===t.namespaced&&delete f.namespaced}}(n(169),"todos.js");var U=I instanceof Function?I:function(){return new L.a.Store(Object.assign({strict:!1},I))};function B(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}function z(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,r=void 0!==n&&n;if(!e.length||r&&1===e.length)return t;var o=e.shift();return t.modules[o]=t.modules[o]||{},t.modules[o].namespaced=!0,t.modules[o].modules=t.modules[o].modules||{},z(t.modules[o],e,{isProperty:r})}function H(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}n(64);for(var J=n(111),F=n.n(J),K=n(112),Q=n.n(K),X={setHeader:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=!0,o=!1,c=void 0;try{for(var f,l=(Array.isArray(n)?n:[n])[Symbol.iterator]();!(r=(f=l.next()).done);r=!0){var d=f.value;if(!e)return void delete this.defaults.headers[d][t];this.defaults.headers[d][t]=e}}catch(t){o=!0,c=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use(function(e){return t(e)||e})},onResponse:function(t){this.interceptors.response.use(function(e){return t(e)||e})},onRequestError:function(t){this.interceptors.request.use(void 0,function(e){return t(e)||Promise.reject(e)})},onResponseError:function(t){this.interceptors.response.use(void 0,function(e){return t(e)||Promise.reject(e)})},onError:function(t){this.onRequestError(t),this.onResponseError(t)}},V=function(){var t=Y[W];X["$"+t]=function(){return this[t].apply(this,arguments).then(function(t){return t&&t.data})}},W=0,Y=["request","delete","get","head","options","post","put","patch"];W<Y.length;W++)V();var G=function(t,e){var n={baseURL:"https://beer.poorman.top",headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}};n.headers.common=t.req&&t.req.headers?Object.assign({},t.req.headers):{},delete n.headers.common.accept,delete n.headers.common.host,delete n.headers.common["cf-ray"],delete n.headers.common["cf-connecting-ip"],delete n.headers.common["content-length"];var r=F.a.create(n);!function(t){for(var e in X)t[e]=X[e].bind(t)}(r),function(t,e){var n={finish:function(){},start:function(){},fail:function(){},set:function(){}},r=function(){return window.$nuxt&&window.$nuxt.$loading&&window.$nuxt.$loading.set?window.$nuxt.$loading:n},o=0;t.onRequest(function(t){t&&!1===t.progress||o++}),t.onResponse(function(t){t&&t.config&&!1===t.config.progress||--o<=0&&(o=0,r().finish())}),t.onError(function(t){t&&t.config&&!1===t.config.progress||(o--,r().fail(),r().finish())});var c=function(t){if(o){var progress=100*t.loaded/(t.total*o);r().set(Math.min(100,progress))}};t.defaults.onUploadProgress=c,t.defaults.onDownloadProgress=c}(r),Q()(r,{retries:3}),t.$axios=r,e("axios",r)};c.a.directive("focus",{inserted:function(t){t.focus()}}),c.a.directive("stopsubmit",{inserted:function(t){t.addEventListener("submit",function(t){t.preventDefault()})}});n(188);var Z=function(t){var e=t.$axios,n=(t.store,t.redirect);e.setHeader("Content-Type","application/json"),e.onRequest(function(t){console.log("Making request to "+t.url)}),e.onResponse(function(t){return t.data.success?Promise.resolve(t):Promise.reject(t.data)}),e.onError(function(t){400===parseInt(t.response&&t.response.status)&&n("/400")})},tt=n(72),et=n.n(tt),nt=n(113),ot=n.n(nt),it=n(215);function at(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,n)}return e}function st(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?at(source,!0).forEach(function(e){Object(r.a)(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):at(source).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}it.keys().forEach(function(t){var e=it(t),n=et()(ot()(t.replace(/^\.\/_/,"").replace(/\.\w+$/,"")));c.a.component(n,e.default||e)}),n.d(e,"b",function(){return ct}),n.d(e,"a",function(){return E}),c.a.component(_.name,_),c.a.component(O.name,O),c.a.component("NChild",O),c.a.component(P.name,P),c.a.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var ut={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function ct(t){return ft.apply(this,arguments)}function ft(){return(ft=Object(o.a)(regeneratorRuntime.mark(function t(e){var n,r,o,f,l,y,path,w;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new d.a({mode:"history",base:decodeURI("/website/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:x,routes:[{path:"/login",component:m,name:"login"},{path:"/",component:v,name:"index"}],fallback:!1});case 2:return n=t.sent,(r=U(e)).$router=n,o=r.registerModule,r.registerModule=function(path,t,e){return o.call(r,path,t,Object.assign({preserveState:!0},e))},f=st({router:n,store:r,nuxt:{defaultTransition:ut,transitions:[ut],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map(function(t){return t=t?"string"==typeof t?Object.assign({},ut,{name:t}):Object.assign({},ut,t):ut}),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,f.context._errored=Boolean(t),t=t?Object(h.l)(t):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},A),r.app=f,l=e?e.next:function(t){return f.router.push(t)},e?y=n.resolve(e.url).route:(path=Object(h.d)(n.options.base),y=n.resolve(path).route),t.next=13,Object(h.p)(f,{route:y,next:l,error:f.nuxt.error.bind(f),store:r,payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 13:if(w=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject(key, value) has no value provided");f[t="$"+t]=e,r[t]=f[t];var n="__nuxt_"+t+"_installed__";c.a[n]||(c.a[n]=!0,c.a.use(function(){c.a.prototype.hasOwnProperty(t)||Object.defineProperty(c.a.prototype,t,{get:function(){return this.$root.$options[t]}})}))},window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),"function"!=typeof G){t.next=18;break}return t.next=18,G(f.context,w);case 18:t.next=21;break;case 21:if("function"!=typeof Z){t.next=24;break}return t.next=24,Z(f.context,w);case 24:t.next=27;break;case 27:t.next=30;break;case 30:return t.abrupt("return",{app:f,store:r,router:n});case 31:case"end":return t.stop()}},t)}))).apply(this,arguments)}},215:function(t,e,n){var map={"./_base-loading.vue":219,"./_base-model.vue":218};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=215},216:function(t,e,n){"use strict";var r=n(57);n.n(r).a},217:function(t,e,n){(t.exports=n(31)(!1)).push([t.i,"html[data-v-6dfaae3a]{width:100vw;height:100vh}.fade-enter-active[data-v-6dfaae3a],.fade-leave-active[data-v-6dfaae3a]{transition:opacity .5s}.fade-enter[data-v-6dfaae3a],.fade-leave-to[data-v-6dfaae3a]{opacity:0}.slide-fade-enter-active[data-v-6dfaae3a],.slide-fade-leave-active[data-v-6dfaae3a]{transition:all .5s}.slide-fade-enter[data-v-6dfaae3a],.slide-fade-leave-to[data-v-6dfaae3a]{transform:translateY(-300%);opacity:0}._model[data-v-6dfaae3a],._model ._mask[data-v-6dfaae3a]{position:fixed;top:0;left:0;right:0;bottom:0}._model ._mask[data-v-6dfaae3a]{background-color:rgba(0,0,0,.21961)}._model ._panel[data-v-6dfaae3a]{position:fixed;width:500px;top:100px;left:0;right:0;margin:0 auto;background-color:#fff}",""])},218:function(t,e,n){"use strict";n.r(e);var r={props:{value:{type:Boolean,default:!1}},data:function(){return{hideMe:!1}},methods:{onEsc:function(){this.show&&this.closeOnEsc&&this.$emit("input",!1)},hide:function(){this.$emit("input",!1)}}},o=(n(216),n(14)),component=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"},{name:"focus",rawName:"v-focus"}],staticClass:"_model",on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.onEsc(e)}}},[n("div",{staticClass:"_mask",on:{click:t.hide}}),t._v(" "),n("transition",{attrs:{name:"slide-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"_panel"},[t._v("asssssssssssssssssss")])])],1)])},[],!1,null,"6dfaae3a",null);e.default=component.exports},219:function(t,e,n){"use strict";n.r(e);var r=n(14),component=Object(r.a)({},function(){var t=this.$createElement;return(this._self._c||t)("div",[this._v("\n dsads\n")])},[],!1,null,null,null);e.default=component.exports},54:function(t,e,n){var content=n(161);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(32).default)("b675d82e",content,!0,{sourceMap:!1})},55:function(t,e,n){var content=n(163);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(32).default)("17cfdfa9",content,!0,{sourceMap:!1})},56:function(t,e,n){var content=n(167);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(32).default)("1112905c",content,!0,{sourceMap:!1})},57:function(t,e,n){var content=n(217);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(32).default)("6e47f87d",content,!0,{sourceMap:!1})},58:function(t,e,n){"use strict";n(13),n(64),n(26),n(18),n(67),n(88);var r=n(0),o=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},c=window.IntersectionObserver&&new window.IntersectionObserver(function(t){t.forEach(function(t){var e=t.intersectionRatio,link=t.target;e<=0||link.__prefetch()})});e.a={name:"NuxtLink",extends:r.a.component("RouterLink"),props:{noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.noPrefetch||o(this.observe,{timeout:2e3})},beforeDestroy:function(){this.__observed&&(c.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){c&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetch.bind(this),c.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map(function(t){return t.components.default}).filter(function(t){return"function"==typeof t&&!t.options&&!t.__prefetched})},prefetch:function(){if(this.canPrefetch()){c.unobserve(this.$el);var t=this.getPrefetchComponents(),e=!0,n=!1,r=void 0;try{for(var o,f=t[Symbol.iterator]();!(e=(o=f.next()).done);e=!0){var l=o.value,d=l();d instanceof Promise&&d.catch(function(){}),l.__prefetched=!0}}catch(t){n=!0,r=t}finally{try{e||null==f.return||f.return()}finally{if(n)throw r}}}}}}},73:function(t,e,n){"use strict";var r={};r.auth=n(147),r.auth=r.auth.default||r.auth,e.a=r}},[[119,4,1,5]]]); \ No newline at end of file diff --git a/docs/_nuxt/ca1ba156dfe080d242ef.js b/docs/_nuxt/ca1ba156dfe080d242ef.js deleted file mode 100644 index 02e4e9b..0000000 --- a/docs/_nuxt/ca1ba156dfe080d242ef.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function r(data){for(var r,n,f=data[0],l=data[1],d=data[2],i=0,h=[];i<f.length;i++)n=f[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&h.push(o[n][0]),o[n]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(v&&v(data);h.length;)h.shift()();return c.push.apply(c,d||[]),t()}function t(){for(var e,i=0;i<c.length;i++){for(var r=c[i],t=!0,n=1;n<r.length;n++){var l=r[n];0!==o[l]&&(t=!1)}t&&(c.splice(i--,1),e=f(f.s=r[0]))}return e}var n={},o={4:0},c=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,script=document.createElement("script");script.charset="utf-8",script.timeout=120,f.nc&&script.setAttribute("nonce",f.nc),script.src=function(e){return f.p+""+{2:"100e629bf9959497fc76",3:"dc129e08ed4ceb79aa72",6:"884302fa3fe4fc621eae"}[e]+".js"}(e);var l=new Error;c=function(r){script.onerror=script.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",l.name="ChunkLoadError",l.type=n,l.request=c,t[1](l)}o[e]=void 0}};var d=setTimeout(function(){c({type:"timeout",target:script})},12e4);script.onerror=script.onload=c,document.head.appendChild(script)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(object,e){return Object.prototype.hasOwnProperty.call(object,e)},f.p="/website/_nuxt/",f.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],d=l.push.bind(l);l.push=r,l=l.slice();for(var i=0;i<l.length;i++)r(l[i]);var v=d;t()}([]); \ No newline at end of file diff --git a/docs/_nuxt/dc129e08ed4ceb79aa72.js b/docs/_nuxt/dc129e08ed4ceb79aa72.js deleted file mode 100644 index ac683d6..0000000 --- a/docs/_nuxt/dc129e08ed4ceb79aa72.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{221:function(t,e,n){var content=n(227);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(32).default)("7ccdbc4d",content,!0,{sourceMap:!1})},226:function(t,e,n){"use strict";var r=n(221);n.n(r).a},227:function(t,e,n){(t.exports=n(31)(!1)).push([t.i,"html[data-v-31363c82]{width:100vw;height:100vh}*[data-v-31363c82]{box-sizing:border-box}.page[data-v-31363c82]{font-family:Montserrat,sans-serif;background:#f6f5f7;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh}h1[data-v-31363c82]{font-weight:700;margin:0}p[data-v-31363c82]{font-size:14px;line-height:20px;letter-spacing:.5px;margin:20px 0 30px}span[data-v-31363c82]{font-size:12px}a[data-v-31363c82]{color:#333;font-size:14px;text-decoration:none;margin:15px 0}.dowebok[data-v-31363c82]{background:#fff;border-radius:10px;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);position:relative;overflow:hidden;width:768px;max-width:100%;min-height:480px}.form-container form[data-v-31363c82]{background:#fff;display:flex;flex-direction:column;padding:0 50px;height:100%;justify-content:center;align-items:center;text-align:center}.social-container[data-v-31363c82]{margin:20px 0}.social-container a[data-v-31363c82]{border:1px solid #ddd;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;height:40px;width:40px}.social-container a[data-v-31363c82]:hover{background-color:#eee}.form-container input[data-v-31363c82]{background:#eee;border:none;padding:12px 15px;margin:8px 0;width:100%;outline:none}button[data-v-31363c82]{border-radius:20px;border:1px solid #ff4b2b;background:#ff4b2b;color:#fff;font-size:12px;font-weight:700;padding:12px 45px;letter-spacing:1px;text-transform:uppercase;transition:transform 80ms ease-in;cursor:pointer}button[data-v-31363c82]:active{transform:scale(.95)}button[data-v-31363c82]:focus{outline:none}button.ghost[data-v-31363c82]{background:transparent;border-color:#fff}.form-container[data-v-31363c82]{position:absolute;top:0;height:100%;transition:all .6s ease-in-out}.sign-in-container[data-v-31363c82]{left:0;width:50%;z-index:2}.sign-up-container[data-v-31363c82]{left:0;width:50%;z-index:1;opacity:0}.overlay-container[data-v-31363c82]{position:absolute;top:0;left:50%;width:50%;overflow:hidden;z-index:100}.overlay[data-v-31363c82],.overlay-container[data-v-31363c82]{height:100%;transition:transform .6s ease-in-out}.overlay[data-v-31363c82]{background:#ff416c;background:linear-gradient(90deg,#ff4b2b,#ff416c) no-repeat 0 0/cover;color:#fff;position:relative;left:-100%;width:200%;transform:translateY(0)}.overlay-panel[data-v-31363c82]{position:absolute;top:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 40px;height:100%;width:50%;text-align:center;transform:translateY(0);transition:transform .6s ease-in-out}.overlay-right[data-v-31363c82]{right:0;transform:translateY(0)}.overlay-left[data-v-31363c82]{transform:translateY(-20%)}.dowebok.right-panel-active .sign-in-container[data-v-31363c82]{transform:translateY(100%)}.dowebok.right-panel-active .overlay-container[data-v-31363c82]{transform:translateX(-100%)}.dowebok.right-panel-active .sign-up-container[data-v-31363c82]{transform:translateX(100%);opacity:1;z-index:5}.dowebok.right-panel-active .overlay[data-v-31363c82]{transform:translateX(50%)}.dowebok.right-panel-active .overlay-left[data-v-31363c82]{transform:translateY(0)}.dowebok.right-panel-active .overlay-right[data-v-31363c82]{transform:translateY(20%)}",""])},242:function(t,e,n){"use strict";n.r(e);n(39);var r,o,c=n(5),l={asyncData:(o=Object(c.a)(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.$axios,t.abrupt("return",{});case 2:case"end":return t.stop()}},t)})),function(t){return o.apply(this,arguments)}),data:function(){return{data:{},form:{username:"",password:""}}},methods:{login:(r=Object(c.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.$axios.$post("/api/login",this.form);case 3:this.data=t.sent,t.next=10;break;case 6:t.prev=6,t.t0=t.catch(0),this.data=t.t0,console.log(t.t0);case 10:case"end":return t.stop()}},t,this,[[0,6]])})),function(){return r.apply(this,arguments)})},mounted:function(){var t=document.getElementById("signUp"),e=document.getElementById("signIn"),n=document.getElementById("dowebok");t.addEventListener("click",function(){n.classList.add("right-panel-active")}),e.addEventListener("click",function(){n.classList.remove("right-panel-active")})}},d=(n(226),n(14)),component=Object(d.a)(l,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page"},[t._v("\n ppp"+t._s(t.data)+"\n "),n("div",{staticClass:"dowebok",attrs:{id:"dowebok"}},[n("div",{staticClass:"form-container sign-up-container"},[n("form",{directives:[{name:"stopsubmit",rawName:"v-stopsubmit"}],attrs:{action:"#"}},[n("h1",[t._v("注册")]),t._v(" "),t._m(0),t._v(" "),n("span",[t._v("或使用邮箱注册")]),t._v(" "),n("input",{attrs:{type:"text",placeholder:"姓名"}}),t._v(" "),n("input",{attrs:{type:"email",placeholder:"电子邮箱"}}),t._v(" "),n("input",{attrs:{type:"password",placeholder:"密码"}}),t._v(" "),n("button",[t._v("注册")])])]),t._v(" "),n("div",{staticClass:"form-container sign-in-container"},[n("form",{directives:[{name:"stopsubmit",rawName:"v-stopsubmit"}],attrs:{action:"#"}},[n("h1",[t._v("登录")]),t._v(" "),t._m(1),t._v(" "),n("span",[t._v("或使用您的帐号")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.username,expression:"form.username"}],attrs:{type:"text",placeholder:"账号"},domProps:{value:t.form.username},on:{input:function(e){e.target.composing||t.$set(t.form,"username",e.target.value)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.password,expression:"form.password"}],attrs:{type:"password",placeholder:"密码"},domProps:{value:t.form.password},on:{input:function(e){e.target.composing||t.$set(t.form,"password",e.target.value)}}}),t._v(" "),n("a",{attrs:{href:"#"}},[t._v("忘记密码?")]),t._v(" "),n("button",{on:{click:t.login}},[t._v("登录")])])]),t._v(" "),t._m(2)])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"social-container"},[e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-facebook-f"})]),this._v(" "),e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-google-plus-g"})]),this._v(" "),e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-linkedin-in"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"social-container"},[e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-facebook-f"})]),this._v(" "),e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-google-plus-g"})]),this._v(" "),e("a",{staticClass:"social",attrs:{href:"#"}},[e("i",{staticClass:"fab fa-linkedin-in"})])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"overlay-container"},[n("div",{staticClass:"overlay"},[n("div",{staticClass:"overlay-panel overlay-left"},[n("h1",[t._v("已有帐号?")]),t._v(" "),n("p",[t._v("请使用您的帐号进行登录")]),t._v(" "),n("button",{staticClass:"ghost",attrs:{id:"signIn"}},[t._v("登录")])]),t._v(" "),n("div",{staticClass:"overlay-panel overlay-right"},[n("h1",[t._v("没有帐号?")]),t._v(" "),n("p",[t._v("立即注册加入我们,和我们一起开始旅程吧")]),t._v(" "),n("button",{staticClass:"ghost",attrs:{id:"signUp"}},[t._v("注册")])])])])}],!1,null,"31363c82",null);e.default=component.exports}}]); \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico deleted file mode 100644 index 382fecbbf96d6e1e614e0e2cc8b73e355bd946cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmZQzU<5(|0R|wcz>vYhz#zuJz@P!dKp~(AL>x#lFaYI-8)(_-RMWh}@jndLuXgyK z;A{Fn&J#OMi823Q&|nS5g-td!^Y<rkwCr%a57Q5#^Qx?{>-RSMpI2!G(|^BVz5@p+ zJll3Uhal^3+~)8<DcB6djI<OBnBM;d&9))PaRGG0eq=LBdTmkkC-|HF&##5LyV2$V zvR)9oV~3-D^A4xK$Y!L*nZwP<%CUs_xxxBxQIm~6x_%J9b*JMDWc}3(?f=Jnnf^}- zGlRRku)$^~HoYLRp8dWe%{v|6Bb$+(Yxys?1ZsDq&4<c1TTxv4LE<etoC=WjH*a)Y zSkP$w0u*P3jkbmO^n&E}?{8pf+39#4VusVl?wxL8g^kw9xkXkpX3k7wC8QrD-@L=w z1EjxohjTHA-|)YIskGI>0K_I1H1Blkn|X#f`-nA@7V7^0XJCNg21cM?f%pJ31V3PB ZU;yC{{0s~~<bn7;1H)gSdJu-`0RTsU0uulL diff --git a/docs/image/bluedialog.png b/docs/image/bluedialog.png deleted file mode 100644 index fe6afc3c3b7e84a8a2bb60ca968bf9f2841c743c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 926 zcmeAS@N?(olHy`uVBq!ia0vp^yMZ{LgAGV-vELZXz`&g9>Eakt5%>1yey`hsGHoBf zrwF=KaT{LXF1WNX*!bFS&WryXvu=y*k$sysN2Z9s^_6ajV2q8bpX`z?X7+z7=cz9~ ztoZ)(Uk5htNj+-IZ<hx2O?sme8U62UKdY2R!R(ZYlTIGZ*`qQ0cY5^B)z3YzNlQFu z;kF5Rpw|3pRnM}|k7vEPb%IG(T;rstq~G&!)tecWD{kuqOn$w|a&CBVL_>hXn-=Ze zANMufXl>9`C_A%KR;!FRfvZEdIIF!YmU#wK((yUB7A9S1Sk`dEaCzB^8>XYm21kGd zv|aug>S<=sE!zc(Por7q`m;B6>paNtX`D1?%Gtl0*WS7MS>^SNr+iCAcbr_XN9**} z#V22u$xd0UV(ob?L-o$>oW|QK-BWz@(jFhR{kHrM&+^axs+Id+y$_gt`1Jb6{HyD( zf1j7%sD8Ze|LINU|6{Vhg-_i$rRJxh^#0hZ)%z~HHO3{xt5z)B&bYZ-bnn4^Tpyg? zH+fj+f8+Z7zd^jpT4Q(ACF?i+jQU^JRc!g1r@!$(H&8L_rqiZ-kNz`%(0Wg`_uIX9 zrr+!v#jC0%cE??*e!~xBUe~!*^FJ~newqBcxw6xu?q3bEi#->&{*V2-+<DhS_lsAU t-IyN#>*>Mm;`jOQ{rS=&R^ihaFSaKz@95j0f53dl;OXk;vd$@?2>`u_ufhNT diff --git a/docs/image/icon0.png b/docs/image/icon0.png deleted file mode 100644 index 6b5998a383aab39b19f93c491ff638619fb9adb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1081 zcmV-91jhS`P)<h;3K|Lk000e1NJLTq001EX001Kh1^@s68Z2XE000C4Nkl<ZScSdV zUx-vy9Ki9<j@g5hVi5$IE;pj0GPYd|f+dO-vVuUc32J-^Ho~GmFA6<GR-_Qwe{iF+ z=B05(dWkTHLWU62WkT#Pcw34ff_AdVqR8#xoa<ii&aAUC_Jhkk_x{fL{l52ie&^rq zo1UK5OWCmNyH2Xh@GzdhKY2x8|K^W-3Nbv;4;NrzLA4x5@EPvGDcaIJeJsO<F6zC9 zsls(6>Q>`(l;;D{hr6&3-{YOGkvq%c2)Yf<J459g@j7mZ&woakUdVpDJQqYsNT4UN zKnUk^cmv0~aIhOk3-1==LHvs?cs7>XLY$9xg+4op7w|NG?ZSB`JKMZlfje<88hJ$# zVgYsuIq)0q#@=~2pG$thK)jzOMTlo2z;WDyW{&{ik9f_JJjAWoB=pm|vju20C+FQJ z8=?#GnlK!nLT_iVE+Ov2RrppMyZ@(T-SJqwZ^7Tg1O4lT1Wl{u<nne6E46eJwxV7w zCu=ITbQJ3`lB+g`ZH?w+Iu}F<*W)_;935*kC&!T@snpVu4sEmd^-3+>iX8<27{%e? zf&S!75Nl(3kJDGT@pxZfY*eYGNzUN{A)%p;i>l?MPZ-`QmS!I}7sO4mTujD}5V?1C zVI;vswVbS}mXj7#%gH!4N8R9D(J0~SSpFifXf!7$vM;IB(jrLq{0RnQd8}x>T296r z&B?xab<B$rE{WwI+vqdHrywe|bTB$@;mcgziB3+=Bqc0~<#r2G)+HmATDr6VR5yF$ za@G*P$MS_mWej0mNUqT~5UpN8OvUo09qQzxF@glGYB?Dbawe0(SuN+5D=>}8626Kr zubBg)6`h=#8=zWFQZu<QI=d;u1N~FO1O3y(1O1x{s?6WlB^-<oH@7nqhg{YrnW6Dq zl`MG&E46fAmOGVNnpA4(zSyo+Xp{GMu!N7|!#bV!oOuJSI0s~qV`kQy5lmHT=`@a+ ziCl5&E}5BM_Lgu!=-U;zy&XYxni(m6k!m^FEX<JgHt<7@=45eEyd(NcaUeT)Jc{i& zENpI1wu9-BWGOI&$FV&N|ClgY4dH=v2q4-YivD(FRB%Fw20V{d=Lld`v@iNQk%u5` z(|2MKKETQz1FVd87ezn2GevPUY!ni8IX>09h^&hCmPh*=^U5N`31NS+UpRMW4d#1h z&D(z{+F2Iuu8n>=LJ$_R+whhUx>s>XI0|$NQ;PKu;gx9T?Pzz_LfPpU_!sUM`tU{J zEc(8X(R<<-9mP-4=n`S=xmK77*9l(^KL|;<rxS5E|0fnjphwVl)7wFg;U&DO5dO1) z$jfSBR$YxNaj_7E<HGUo8=(t66egsuegpjn()b+>UwJ0+00000NkvXXu0mjf5d{8w diff --git a/docs/image/icon1.png b/docs/image/icon1.png deleted file mode 100644 index 7d636aaaf0a19c873be3693821ccf03a85dac059..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1061 zcmV+=1ls$FP)<h;3K|Lk000e1NJLTq001Wd001Ef1^@s6TKcjm000B*Nkl<ZScSdV zU5Hgx6bJC%y-qzCA`(I|g46M#!ZJ)T3Wn51P#+3}yf0l}qAAkI>R~2&5XDeI`amn1 z=z}f@cPxo0%AAH`hzPZL=!=4`0~G~PIz|?S*~8w)xt+Op=AP@=9}Z{lefD1azt>u4 z?Y(xPtAAJybmBJLjH@vpvvCGL<7<43_whp>!6$aDn$*_O!ngu%#}=$caf-gHa3B7` zF!tk3oXbPBRdP4sS=<=wf8Yo{z!&%tzvD7oiN#onHRy@Yr??-V%oMpI9>X@w!mrqc z7ckyr%x8EHPhu|a!J~0uA7MKl7qr?E8ky))9Ka62q)%WG_D(@8i}BchQ6yW4@(x7# zZIPRWL6mSB>+uLqwJI=!Q+PPaIUVH=#(8p++lf1bm9NC%Hc4f1ILaH3@^|JXw;Fvo ziwzi^Az~>;qujG`p2@KzgY<{E1kVV*v0VrQ7X!mu3t!ZAybIUh8|-P;xqE5XF{qT1 z<@N35YVA(+3ZVl|VxUq=`s@4U4EX2G`cQoDz+X*>?Z&cfd%0Tc5uCiIu6Z8%%GKJj zTx=SUy8+h=+s|MVV$TbH(g<n$!AdD9R7yz!_X^ruR<712EhrDUb+P<9{?3r<ji&6y z@$BGowU!7Pt5r(L#<aasN(M~0M^AQKW{%z6OS{f(8ay#+5k=e*%Z(hOM=)i-pp7h& z_#SHTEnUn7Y3|xs{<6XMp^?$C!pP`Yv!5g-cXA4HNrP`KlbavQ-)BFLjE)UVGk#ut zHzJp!ZE_vLCQa-6<^`d9X;&Y1H~4gH)8L8v`tl-vi<LPSn^<0S2*;s0xWWX{R*{-> z-V}Xm^_A$q=Y2TF&ps@Fb>mh4i3mk}70Zir604uM5xHfVKDkjeaYDT{@8C))84|SD zD3+z<CdJ2AQ4~(EgcHM5`9U)rM^diVj-(CcYOUAA&e1lx4k25r3BUY$yp>bNfS50o ztF>$*GZeMk6eFW!{pfF$eHDewXkV;vlT&+@QgTq(J+d0wQz<2D^2o}f5RWmlh2v7E zkSRTPAwt_hGtCi_;;pf~7fb#pPE(@Zgs<ThL5pu=;SA5U5Z?)I^m1Nuuvz#)76`fK zOlfdQl(!(t-`ozlGs5}qL&5)2LG6T?RQ{GIr!&f37w5@Mj&J~2i<blw@5fOgrE8UB zG4?+yM1t9ZDc8zzz-X2U{fWB;-+M~9Qg}nSIXWb0;B)*GCz~tm&DRM#%?3eJ1V7sv z$K}FwY1$#Y8;L$BTrWHjpXu-|p2mw>G-F<JqTqe;St0BqD}?*G%LT2C;}_w6?kL_7 f_UyK<zEb=Pgq!jqwT?2400000NkvXXu0mjf3Ah3F diff --git a/docs/image/icon2.png b/docs/image/icon2.png deleted file mode 100644 index 027235cf9a4cb1aceef4afc80573dee91aa5b852..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 906 zcmV;519kj~P)<h;3K|Lk000e1NJLTq001EX001Kh1^@s68Z2XE0009~Nkl<ZScSdU zO=w(I6u|M{gisMG7%Q~kCV3)A4T^N9wnf{8QcyR^(CUbb+8|NXg_t60S{J4W;zum> z1C)+RC$p-%(5PT=*OG-~Rh(v36|Gq)A{sg_?irFyGn1LgkOP;)J74cVckVs+zFf6h z1p`OF(?GW31w4&G+<`yvBQD?!{;E&9`rf0B>fIzg>-e9+6?}j_0U-3=uwTKmEx)l% zh<ES>cHjpb#9g>0^ue(2Kr!OG3ULVISi&eC!FgQ6zoE~EeKg|6bvPqyL2Q+#8D7N6 zb!wc9IQS5^cLU;iY?r3`Y>RcyM*KD%%*I*}PlldsvsNwssct|FhHkiL8_4&e@9PG{ zw$Q(}S?l+@{0%|WifwPR)}5iRcLQQRbn7iI$)39W4MBVz`lU8&)#5L71LAXOJv@xV zE!H_4@z<p;+m__|$G%<5eh6Pmo$ytB+N8#))TDY*SPNpk!>m!;{z_`Yz0&?)d3J2E z`s|pDxbd|BT9Mu+zGL_aALF4IYsoKoy;A_1pQ8KlCi>Q?@h5)n6rdTzF<ivG(tY7I zsgvFsV=!!2a8JY@N3L5C$MH69;9cyL7T!Gmi7_9xoe^^bZ{eeEK#WGQzi}X7mYU=* zMa+T7d0CpFjv?-s?h#dKi%z#uXF77Kn21^(K}<^9?~D$*p5;sL7JSkP#6IlCZ#dck zKut!Z#ksc=h*v_tFJ0$1ReGfB`xE#NpKUe(sbfAKdfM_`qM_`5us_2kjLgn0louu* z1BFs$3PUSG%NQ%>vr2A)LaFkGv}kKGgVX1R2g*H`+wnIo01O4dsxDe6RVJ_>!^M1- z!`;YmD*QtMFjmZGxrkBo_uzprTv`X<B6dlOuU>{wF6Of`6!TdHr?J0Ks$>CJDdw{i zD{@BA_uSOgBR%L3W2G4cW@hIW#_ElQQl(G&)%E$c=Up*Y`2%zjS&!w9m8R=qc5dNB z16QL1ZgGXbZ^iRX`MtQU*~>RW*83`NMH>FX75+s{W^BU{#eB9X{oh%gtM+_3#wvd- z*gjOcF%zVnFce#{_JSk091F0FEP6#vPDwLV?k2<xrV6D>Rk{`~Vi=0~YzAYPD3mJI gh{-T=Zg^nvf37Ry8I%Iw_W%F@07*qoM6N<$g2L^yFaQ7m diff --git a/docs/image/icon3.png b/docs/image/icon3.png deleted file mode 100644 index 24f0dc5791d129ae5b6b637f5f5e8d011b84ca38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 751 zcmV<L0ucR)P)<h;3K|Lk000e1NJLTq001HY001Tk1^@s6q1H*%0008ENkl<ZScUDF zTWb?h5XXOs0g)=UikDic35JSBl!Ep}swgT{q`nmt>w`BGeDX#63DgHafR`%N3#f>K zASi(f0a3KZ8(vV7MS2lywMDF;Vtklc-JWif%|>=#99aH)X3lK>=bYJ@*+dG30zt`+ z%lSjVQ6Sybme}C5MFV3|LjDsmCE^w%iH`1n^6=)y_+H?IhpFjGc4Qhbw*vn$67%WT z2Alz^fZIAAahcZx9CnP?>y-meI`p6Y5Qzg_z+~VXuu;cb%!!$-)uUtpXl{(#WOA9T zb<Ec1kF50-tnEtTJkS6P1Fb-lk7xZ6KSVYwo(6h>Q##%gG?9gh&lS%qwgQt%_}VdZ z#WeVdkr|3ZiZ6jYkN{G^(}^52St|{s-E8IVNEC<wX7ahGxU$UW`6e<`@spu{ptvF^ zA}PhZp||5@QBXweH|DOPw-gunB@!#6uFL^;>HS5+)~8tOmx$LLsR6D6)xa&_zF{8) zegadFKrVJ&Koa6OBAb8#7l&S8E3gxI1grx3f!!03{pxX1+kk5rIVXx_NVh6lha5pC zQePeeYm}gyR3oo;u`7ivx&=6360y(Kbh4!z*@Y(HZLy_#kQcyyy&prwOJ-eH;g6eg z13AVdl9z@coL2D{e>3xUTNwtCdSEK>0r(Ook!6ZcoXRkWELD6KHj$*_o3M%4ja4pe zB6W(EQyDao2ryso`<#ZLi7ZA6qlHnMf+o_Uc*isZO{87%dYDA^0n3r<d($*}DSGFC zSHL?Y!1{sr$QPa|Rlsbdo2y0IhX!CZuteu{06*M_45-sY|6y$}LUP#QS5ssj$N~-m zm)wjoq}S+Vd~-Ai97oD@5_$jYfqB3zU^>zaIb{_1i0s%PlC)kUpBoR6%IhjI<h=Yg hz0O@2DfUC9<ToL1lx5MX&w2m=002ovPDHLkV1ko@Rg?e# diff --git a/docs/image/left.png b/docs/image/left.png deleted file mode 100644 index d8c835baf998bb74d95d60b16272f7b8ea76e073..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1096 zcmeAS@N?(olHy`uVBq!ia0vp^)<B%e!3HE-lB4|@7+Cl{T^vIy;@-}E?l0;na`gPh z?^4y>vu-56*ZsIy{?Fo20cF9X9V-HRG`w<dBs(6L*(4D2T=0?K={-B;Ie*{#_w3G2 z<L~!w*0L}ppK)T?&A5iiz`OqR5jVy?Y#01LarYW_Gt6N%uoiZZKIYFL+hog?5PNLF z;|zV)YD44exl3=aNYLNfxGK4W)hv8z_a@hyJZ=ki6tXEr33eek(-=bU>;Q@?2i&n> z7W6jJ%Zs^V(JZKuH>a^fRZ84kFK^C4jvocdruF-oBX|@1ypo?tZJYgM14FMNlPzyT zq1FMtM0bxeAGXzf`g6ROu6{4{P4?uuU0ug!m@@P&U$D+Qg82d0$$qg1a~aBxu$6IY zPdlH?Zt5X>V}?O8k9Mi(mPIqOBN}-ozuC58^<|4$`>onUj@BIDdct_JUF?DCRl_AS z4Kr#FX8pUT@beVY9=QV(=Oi3mR9PLWep=^1HDeAp?;G!%g?z4QtZU+@HI#B4I5pwG zzQm(OE}M=oT2~hFobe1ls|-_^POS>N&Vkbma~KVjSqd~FSl8%H%GW(Gn^EQjXPAyX zLyX$bvrK#B4~X4AuyBg(^9ue2lb^hgIxtCE+d1l;u!YH*2sY1eQCH@Mv#!~>uOazB z*V5@v7O+;ZGU$570ZotC`O$QevRFc{*_M|Dc^ea07db4Q5}-O~{~3v5jstGjw-_cK zU9|MYF4Y9hzzfCPUNUncbAX<n@MiOh-3z!P&dFWzU<{jMtJ1D>!0Vg;j!9;s5vp8X z5;>}KCtv;S);lw}QS^lJq`zXNTc=)`wrS&1CT-WLzps^tafOJ-q`GMycqM4mxGEw% zzA5BlK<eSnr3|;VEHn)RnjV}<I=t<cdUkE7>ZO<44AtH&KUMo$RoeEcW`M20%PUC- zxdJ|i9QayUC2@dl`IM{eN1OKgewxX8CHtxp+neG^+jSOX<({hDD|*5Ca8~8S-&s3n z8YK5Hu)f+lU0SGYmF`1FhS@b|E}xt)DfEr+<Z`j^q4!q(xw^Zxsn+q+GS-mO-FM7S zc(XbkSap4IS4-|ZEB_12i}>$vxOGFj^mjs_smEH2Cv*0Cf9hm4@w$C!`KGm2A71TQ zy-+k|UR%JoY*YW&>DpU1Ubl&TW&0&+-+}f`!B<<pGv1J54!Qr5`J3Fy<I^g4i5=J& zvA{0j{)9K18m#oY|D9j3Gwj>^Rn3NK9_@KnAJ!%Q&y0{v{>E^_Ztm=lf9=;LPQAL~ z|Egn~{g$~!`bYE5%8sb*cPM=p!R~ye$>&(j0X63E{S%pHuQB1xU!!rmfMN39JsKqP zd`@k<I(zl)S971d{k-kxs(soIVkQ6g9jKLM`O6%zE^ks-Szs2hgkbP=^>bP0l+XkK D_bKwV diff --git a/docs/image/logo.png b/docs/image/logo.png deleted file mode 100644 index 98f4a69be704045a407674883bd774385b82df73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3533 zcmV;;4KnhHP)<h;3K|Lk000e1NJLTq007Vc001ip1^@s63GoK5000e?Nkl<Zc%1EB zO^9X175-|}ftbWeM_f6{qKAMHA&V9zB19)|Oky&cg>Mi=1;HLBix2{14;V;xzKMiD z77pEkKq5-$HV_??5W8s;FfpUuD@B4#cYbsi(k~`5qVw}*QC07qSGRuez3)wr^aq#j zcdP2Fx^>T~Q>Xr}B8ir89e{5G_zHl}ntN{pcoD!)0KA#WbG_lY1Hfm@y?+Auz2W(5 zOXc0c4w{2x)9W&lkCQydFfNdM!o-d7JYnL7aL(iv;~C49S(jasQ)7N*JJ?QWL3y5z z2)v7@N$&RW?5@ExQ6<W#$5~UhEs~2)*oM8v_9DaOnj$$zvYUw4CD|i6-D2Le=DFud z&N+E4ny_fOwmVdga0IX$z*7JY6{b50;2r=U3Z7>H94zEn1n_|187q`h!7ys8vjM<b zpCzT#ArU^PWECSS0LdBXI#^Ij9S_9mm^f1a`T%ZJN^J(>ZUC^#b1cMJP`)VuYl8E* zQtFrqTLfSgXI&|EW0Sl*c~43ySL(LNyGcG@U@;_KCwX-XJTz&27Hy&yh`Kek*rL;o zlLd}&%+h1M0&%BJT#LC#+%*wzEf8nUDSu-tL~YHybwYB+d5^*J*UWoT=w4o<e041b z0K5TUKY)J&xDvpx0DQFukHtY#7HQEY3X(kxTT?){-u;5~T>x_cX3VWF$wg_wJm>@1 z6lr=S5wIEuFtm;{Bzx8p2+WHA7eZDl7u1$dD#a3j4oBOMO$@D5mt;<!D<yS136yr> zt_1KLfKH9PUIp+q09%IV1pv3#;PGJvz}*1Ow8U3|ujgf2&Yrlnpp-i7iC5{unY3LD zmB6BJcw8a(<v)*6;rDjENX`P77yN^+oM`~8us7~bQCpg2RG+I298yXxWt2e*b*YPy zg6tt2DzQK%LjMEj@2k+m((g9p387;+zkx9-k%UKi;8Pw?x_RjGy4|EcbVG0~*8(V| z4jWmqO4K9ShqgBEXrR15XX44U0MIuIHIlB-AL?OLc|y-Joe{@HvGvJOI17qF9;MX2 zK%DB0jO!C5S2O#CM@70LB>zNmkNLfa<SUsxM+DE&%rvVcKgmqLrsQ(!O!^E11S;I^ z@4MKb_7`doe{<B&u_Iq?A$#PIdbDi>k+{h?by1hQwA{?}f%ZU8hTfDB_ger?h~Fom zyABr`@;m|HJpfN8(%lZ-id$>fDyW6LhtXEs7jGK6d*<t+0YhuEqLf-_p=bx7yJ1U8 zsdZCMS0Qbg0AStZ4-C6+o6x?BudGQ>TjWZ;Fk?h4Cr*hanJ5@<dH0Y!mDy5Bi{V~Z zXY!mU`Mn6wk<7B3;?U}~b<J?JrKkJb)TbNA#T+lfWGnUDi$zb|x2QcwMUUla8-?W= zTRNv$Q44epfZqa0Ih7XxJObcn5uQ~5H)Qa<58yHAku~3vof7~)0Ps@)yCPgSLAS7X z0{B-V-&{;%wBNoC?V!d4&sv&63!CyMsD*pIX^Ts31*P?qWuIoX)$e=mt*87kRxQsu z#^(do0*8KQNt()g_4-Bhx3<?%&)1}Ip5*-jj#8fY#P7aI8{)m+q)FlR1W%C<#Nld# zc~O4@nBR6rzY~g+cySiXfpBR_Tu95(i^R)?JD?CMv$a5L)N@qH=Pjv|Qn=h~$tQHV z8L&Vl7UMwxPY1&HLi;?QPw<=ta2~+N#l24f_#?D0^NuHt&GQ$CTcR7FpJhK<utdgR ziTW(Ya@4XO9JK&VCo}C_k^F5fgS<a2!uw9VESS+i>(lk6PH=npKr4t_Am20RSw)Vv zw0lXum7$CulDwPY7JDzr)0sT)N5W4Vu24RA8;%s-O7LV^pg{c%kQ0Z(GI`=jU&7n^ zQ@8Lvajm7&m~>e_P$*srGTuiq>gJyrzt-p>9SgJ<z#jm3$G-*6LeKm^9|+Io`4HOj zd@K@YpW(U<eoOS6Da*3}u88n_F2OTy*f|&gSk8Q}-qA1PlME(VjgXIH(y}dFbRQ@N z21XA{2udu*8IlJXw><A;^6Y0|KE;D~7`Gq?4QC1|i#9F`RO*kcF>|EO;qIAx8=gyA zDtX^xD-y40ty*TCB;(XYE;olhZ3Q{pG!{rf_t{ex<9+Cv{?$PEE&#s<aBTt4DuDk0 z_%Y&^=vu>l6SVK;;-ukxA;Gf``dM!Q(E5uDK`C{N+DFJ439?IhnymRs`A@#^(A*I` z_p`y4d?0~V*29@RWf#>QJ<KM$H>8CE)?&n3=?5}+-X(dPC+(L^SPBm$%CMh#mgwFD zPl*K@_#>V$iLorPr{4l~J(slhi{ie;S|nc4fJR3BH$jd<4iE@;dp@;B4{0pWLy7YI z7r@s6yqt*lU<S_}08V+r?1<Zo0Io{p@l+&y)$sf#!SfJ+U&acXi=0KDlZJ1^$`QOx z8%M~>lu~Lb6t4l=_JJB%A6C~et^+vWjvnUXasXe9gvW&5#VrkaP9d#Cu{<nZ&ftkX z^G5>IqkXdLl{=Bz#*Wm1LPQp2G8LyyQ2Uhg7~Og@P@X2lF+9q=F3uGRp6_Pzz{HK= zicFqI6FjYS;R@<@VqG|Mzm3VmTEp0x<sQC>F>`acSy5s>l`h3ivbziMMVF5OxH+TD zXA$2<@cm4ln@!vh&X~M%cpi&{7cVqrjhTIiVlkZ}n!Xe((3W5mx}}xa6qgGbmb;L& zSXrI)W2+bHhHD-}Yutz4GLqbSl7n3UUWtTX1>F_8HG}KV89Xs1x*2I7D3*uCtr<MA zXTGFCeTYa8dL(aOpnJ3w2|I4Xnx2cW9bkMo>!+?mZzgQ*xh@CrbHuk*Tj7rlVFP+u zO>CIf@_ZA(OHSDB(8JU*p|^R&upjB6Y(PJADb@j$R=m5ddE66*GZ-G^F%94lwbNWO zJli9=u9R}ERt$%c9_pTku8&x}K6D+oT2Dq{d^>fUO`;kS#k@^!siEv$OfTj4@#GFY zubDiW4q?AS{mdUlA4p=0WG4{jTgoGmJ(1h6jIyi}^G))XM2UEziB#|5D=s(5t`(3r zS0cQf$+MsNLceWSBILeEPF8_7sOLJQV0zcgIpJ&0??y^w%HaA(8>}j}Z?DxBYwpyQ zBpGq#s*GhO_G>w1?7G6Ay8!eq#+4|C=QPO=GULUB{x0S%D6OqL+};Z03aFhBb(JT% zn3UDyvT7+2{fa{h%OY<&>0E1M6)Ago-N)S)D({q4;h)56?7y=ep}**>v5P9ZWw5%6 zc#%~h+@e;D+|}4Kp7c4h{~c2vR{=<)z@fTv?oV;_oIRH(xue%f<69Tl<dUc;5ZK;k zy1gXd@TB_(^Mw9Q#)W>Oo9gPoDaSYzNDAvbt6ifl>Jv=Cf-T)nTr#k^&%_N`8#1yG zRYnSgPcy7Y4Dq_$V}@6O+EgN!=QP_9`irt7wG>WS#-Tt~VdM^3yUuHkqT9p5GZ8qn zMA2>>wZ-tA6_Gl4Wq?FHd$zY!(x8*?a`PfsASwK>F^%&iA5QSR&i0h&;Y^;_5<Hi@ z0!8wzd?kY8Jyc|d!{fQKd=*(S1^IMx@~FdIP==9rnmU=Z$x&1i-vRI=#J67q`T)i| zp^yIc;Rw=4TUnm59Bs9O9Z2LH?b}p|>InTVRQLVtD9;YI9a0tn(1Q47R96r9@Fakv z;&-ml{{=&#-vhnk;fM%7n#uE$DeI2%>|i1&Ib41mXIcYV=<S)-uC=Snvx6N>28GV_ zmDIDfZDG}Lf@P<mx>y!G<GPmVob?u|Q#m=<VPqKC#Mxkjtpg?xJ3_R@$OstqaCa=+ zE^mpAyv<RJgt>K7Sa!LRVr1mdlP8_H-ZFAHsF712S?`tADS~B^SzS1ZGtj$JPZp;0 z;ddBXjBB8GrRMlqE>4;<U6PhZyu8_%&_>cvL4R`NxcPL-A?O96bvMR!p%-(e7Fo`) z;fJw|V0QrQGi6`F=mK09$CLrg_l^Sb?3er6s1J!1=rcrY{@qdq0`zfI_n?^)orGSM zeFnhQ&_2%>YVu6-<5~mj+al*I^kI$b7~L(Iiy7#x*9!oklv;uLpj9am^`z?z^z#3d z0xdubW|JeeW*|Q3rIbqT)9H!&@1wfU$v(s2lPsn_7ErHllc=LWz)*>jpCk0Z75e`H z_*)I0MNIz7bO%HW*ciro*wbM;X!w#%*F~N*T8b`o%en}??K`G~_I$d^&dxdzU9Q-C z)G+{`HhDKaxu_00(5E?B1zxJFK!6t9`v5#skmeawh2AP-DbIblNS}4gfIO(ZgRn5q zLT_$U(1I~jqeWkb7WP?a;kRFhTZyJ}V3c_ldc&DQh7}SU(`xxY&}E+`Ic+xg9Y`fG zN^=<68dbWyW*^g(?OvKjU>4!ymixB+=AFfqQg-2VSv}5j>2(>&$4Q=J7#B$XknvB` zUuNQ5i13^<c}?^a_beYoko!zF7*Gm2pLwTt@QVi%Saq7ofaA=-Ac85g92l_2JXM60 z+M%Cw;?*5Qkb?sok#Z06G`|<=IoH61$?XxTK?GTMv3lzm85og^HU;cDl24k#oHf@b z$rB{6FW|Y}q}dca8;1M37Ry_FT`HhnKenBZ`@JOLlZpQW{9+WEW_?2y00000NkvXX Hu0mjfFOs!z diff --git a/docs/image/right.png b/docs/image/right.png deleted file mode 100644 index 4297c1b6f2696486f8ad244d08541549e89a50f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1107 zcmV-Z1g!gsP)<h;3K|Lk000e1NJLTq0027x003zS1^@s6gkxJz000CUNkl<ZcwX(D zS8r4?5QWd7i{3>?6wyTo(Rt>9-;6{r3Lz1pNdzT?P$GJVz@QV|MA^lg?1Rgd*YlXH z?ECqQ$77H8E&;&I768}{U=@H_`dcP83Sb1lLy})<W(xtF0WdogKo`bu09OTj6u{by zLC4Wv3id)~uG>ntQNdp909D5j3v8}R7iEjG8H_-2;|xS}A{1qdvKfp(apMd`ECH&x zadG1eMxeNH1|pVdT-><0aRwt$+&BXfOEfNST--Q=5vZdZ{{rv^z}%`h?roUs2KyPn zb&>+sjes=(j`^ak6RfJ^S9Bd<GMt&|R=_eJz;%MXP4aa!l$o6duskQ&CnO&`Ko<iz zr#f;junI;})tcN_7h2@Py5Qo)QoFI{r{<~VYlE4Y0+RxiH%kfoXY9HT`N;vg1Hevi zlvP71VY^5UJ3v<hIPPnnPHsOHY(L392dHk^oegyXEd}gb05==~X=W9W6oG?SY}oGr zE{|tOP0{x-fb~Hr6U^Da0Irez;Beoq0QQCiRogL@?IAhn09^s#WQc&&+*d5v0g}BA z(0KsP1DF$9)mX~DuXZwW;|Vjf832^`E{y>i1NLVXkbXE+Jpf=+EYQ%fQc_FII|ryB z1sl~u&e=Ya{SHv=O-})k8%MQJutOxf9iTdD(UwhtDY}J#RbsCMUx|KmKso_HOHC5< z4Xdr1GNf+~Rh2X-c}QlyVQ-PtX1u}7OlhFf!KCIBc7)_j2dENzoj54bPij742TArg zVD;sw?MW%C&V9maM{}t~VA38n*w(Gxf%FNhK8HzmIn>pmnShgi_02b|ID1JB)G<hf zfK{5P6GPWQTJ(H)@}P%+Rr_BmV13JR!puw&S?;{3-FfEobD?1Mj4w#ub-1%Y1sr`T z3JELDR;Lpi0UY$HT03ophE;y7`KwZ7gPGYO02|tQNMD}`4XfuAsDPU{23m&X&faP{ z(+x@tSUtmYlJ^|yMolGS!HTn+<d6e+Gl2cmsp8}RF=4d~$(^+<HP7E80M_{cnyQVM zuzHSG8+*-PonWZe6U<`63Z&H;@{(#R80>5+1+0Kul`FRZ*cVFLRIr-AI=*SR86(IL z75DMMO9iX`KUN2G&6NV(rO^DH?_1%Nuwr>e^1dTF2RU0#4J*z&Bwsmzw*lDWQ{6hi zPIdgMQszouz;%EXORGws*CW`vzzX;&$p@2FG&8RSusXputiNWa0=4S5-gZTGgB7q! zoH~}(i@3a2<m(9QD<1vVPJs<Jw22!o$|e>dSocNQU_+a@;i7C}0fKd3lnpkti5o7; zCKe!A_eI%YLz}qaqHJOTf^}b%4K}oi8<w&i_2%l1dMA13ylr07sCvEru8e<2;E}F3 Z`~$0-Z<3-kB1ixL002ovPDHLkV1mP0^Me2Y diff --git a/docs/image/xu.png b/docs/image/xu.png deleted file mode 100644 index 6ea430391d6217c880fac3781ae26e07c6c17071..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 258 zcmeAS@N?(olHy`uVBq!ia0y~yV4DJDGjXs1$*^tqCxO&SPZ!6KjK;U;4EY=#Mcf{K zc3ByGtHn!MOZ%e6)3;ALgOXLPrk<1AVzsp8P=~nSr*fg^A;vq)jpDDGoE3^-5dD7c zfXEHz+6N3g72BBAp4u>9bJ%`I|A5SmEoH~oZg)@MnA0G*fwd~Nj5W+5_T8?MmzS1$ zPuGjZ!l*lNRkOQ4HSXN|UuORI>VAb!UuO~<xocBN>dRA?rY_a?4xhG82ZzAlxv$xT X*5<PstFPG!^b~`qtDnm{r-UW|AJlJB diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 9bd3996..0000000 --- a/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ -<!doctype html> -<html data-n-head-ssr data-n-head=""> - <head data-n-head=""> - <title data-n-head="true">Beer</title><meta data-n-head="true" charset="utf-8"><meta data-n-head="true" name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta data-n-head="true" data-hid="description" name="description" content="My primo Nuxt.js project"><link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico"><base href="/website/"><link rel="preload" href="/website/_nuxt/ca1ba156dfe080d242ef.js" as="script"><link rel="preload" href="/website/_nuxt/4d63b374d12d0c512fe1.js" as="script"><link rel="preload" href="/website/_nuxt/02f154bff9392ab47ea0.js" as="script"><link rel="preload" href="/website/_nuxt/a69e7f7b78ae7067d8d5.js" as="script"><link rel="preload" href="/website/_nuxt/100e629bf9959497fc76.js" as="script"><style data-vue-ssr-id="290f013b:0 17cfdfa9:0 1112905c:0 6e47f87d:0">a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}[hidden]{display:none}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}.nuxt-progress{position:fixed;top:0;left:0;right:0;height:2px;width:0;opacity:1;transition:width .1s,opacity .4s;background-color:#fff;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}html[data-v-e0d65c42]{width:100vw;height:100vh}.default.layout[data-v-e0d65c42]{background:#f5f5d5;position:fixed;left:0;right:0;bottom:0;top:0}html[data-v-6dfaae3a]{width:100vw;height:100vh}.fade-enter-active[data-v-6dfaae3a],.fade-leave-active[data-v-6dfaae3a]{transition:opacity .5s}.fade-enter[data-v-6dfaae3a],.fade-leave-to[data-v-6dfaae3a]{opacity:0}.slide-fade-enter-active[data-v-6dfaae3a],.slide-fade-leave-active[data-v-6dfaae3a]{transition:all .5s}.slide-fade-enter[data-v-6dfaae3a],.slide-fade-leave-to[data-v-6dfaae3a]{transform:translateY(-300%);opacity:0}._model ._mask[data-v-6dfaae3a],._model[data-v-6dfaae3a]{position:fixed;top:0;left:0;right:0;bottom:0}._model ._mask[data-v-6dfaae3a]{background-color:rgba(0,0,0,.21961)}._model ._panel[data-v-6dfaae3a]{position:fixed;width:500px;top:100px;left:0;right:0;margin:0 auto;background-color:#fff}</style> - </head> - <body data-n-head=""> - <div data-server-rendered="true" id="__nuxt"><!----><div id="__layout"><div class="default layout" data-v-e0d65c42><div class="home" data-v-e0d65c42><div id="main" style="width:100%;height:100vh"></div> <div class="_model" style="display:none" data-v-6dfaae3a data-v-6dfaae3a><div class="_mask" data-v-6dfaae3a></div> <div class="_panel" style="display:none" data-v-6dfaae3a data-v-6dfaae3a>asssssssssssssssssss</div></div></div></div></div></div><script>window.__NUXT__={layout:"default",data:[{}],error:null,state:{user:{},todos:{list:[],ip:""}},serverRendered:!0}</script><script src="/website/_nuxt/ca1ba156dfe080d242ef.js" defer></script><script src="/website/_nuxt/100e629bf9959497fc76.js" defer></script><script src="/website/_nuxt/4d63b374d12d0c512fe1.js" defer></script><script src="/website/_nuxt/02f154bff9392ab47ea0.js" defer></script><script src="/website/_nuxt/a69e7f7b78ae7067d8d5.js" defer></script> - </body> -</html> diff --git a/docs/js/flexible.js b/docs/js/flexible.js deleted file mode 100644 index abe9bd8..0000000 --- a/docs/js/flexible.js +++ /dev/null @@ -1,77 +0,0 @@ -(function (designWidth, maxWidth) { - var doc = document, - win = window; - var docEl = doc.documentElement; - var metaEl, - metaElCon; - var styleText, - remStyle = document.createElement("style"); - var tid; - - function refreshRem() { - // var width = parseInt(window.screen.width); // uc有bug - var width = docEl.getBoundingClientRect().width; - if (!maxWidth) { - maxWidth = 540; - }; - if (width > maxWidth) { // 淘宝做法:限制在540的屏幕下,这样100%就跟10rem不一样了 - width = maxWidth; - } - var rem = width * 100 / designWidth; - // var rem = width / 10; // 如果要兼容vw的话分成10份 淘宝做法 - //docEl.style.fontSize = rem + "px"; //旧的做法,在uc浏览器下面会有切换横竖屏时定义了font-size的标签不起作用的bug - remStyle.innerHTML = 'html{font-size:' + rem + 'px;}'; - } - - // 设置 viewport ,有的话修改 没有的话设置 - metaEl = doc.querySelector('meta[name="viewport"]'); - // 20171219修改:增加 viewport-fit=cover ,用于适配iphoneX - metaElCon = "width=device-width,initial-scale=1,maximum-scale=1.0,user-scalable=no,viewport-fit=cover"; - if (metaEl) { - metaEl.setAttribute("content", metaElCon); - } else { - metaEl = doc.createElement("meta"); - metaEl.setAttribute("name", "viewport"); - metaEl.setAttribute("content", metaElCon); - if (docEl.firstElementChild) { - docEl.firstElementChild.appendChild(metaEl); - } else { - var wrap = doc.createElement("div"); - wrap.appendChild(metaEl); - doc.write(wrap.innerHTML); - wrap = null; - } - } - - //要等 wiewport 设置好后才能执行 refreshRem,不然 refreshRem 会执行2次; - refreshRem(); - - if (docEl.firstElementChild) { - docEl.firstElementChild.appendChild(remStyle); - } else { - var wrap = doc.createElement("div"); - wrap.appendChild(remStyle); - doc.write(wrap.innerHTML); - wrap = null; - } - - win.addEventListener("resize", function () { - clearTimeout(tid); //防止执行两次 - tid = setTimeout(refreshRem, 300); - }, false); - - win.addEventListener("pageshow", function (e) { - if (e.persisted) { // 浏览器后退的时候重新计算 - clearTimeout(tid); - tid = setTimeout(refreshRem, 300); - } - }, false); - - if (doc.readyState === "complete") { - doc.body.style.fontSize = "16px"; - } else { - doc.addEventListener("DOMContentLoaded", function (e) { - doc.body.style.fontSize = "16px"; - }, false); - } -})(750, 750); \ No newline at end of file diff --git a/docs/login/index.html b/docs/login/index.html deleted file mode 100644 index 01ad6ac..0000000 --- a/docs/login/index.html +++ /dev/null @@ -1,11 +0,0 @@ -<!doctype html> -<html data-n-head-ssr data-n-head=""> - <head data-n-head=""> - <title data-n-head="true">Beer</title><meta data-n-head="true" charset="utf-8"><meta data-n-head="true" name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta data-n-head="true" data-hid="description" name="description" content="My primo Nuxt.js project"><link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico"><base href="/website/"><link rel="preload" href="/website/_nuxt/ca1ba156dfe080d242ef.js" as="script"><link rel="preload" href="/website/_nuxt/4d63b374d12d0c512fe1.js" as="script"><link rel="preload" href="/website/_nuxt/02f154bff9392ab47ea0.js" as="script"><link rel="preload" href="/website/_nuxt/a69e7f7b78ae7067d8d5.js" as="script"><link rel="preload" href="/website/_nuxt/dc129e08ed4ceb79aa72.js" as="script"><style data-vue-ssr-id="290f013b:0 17cfdfa9:0 1112905c:0 7ccdbc4d:0">a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}[hidden]{display:none}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}.nuxt-progress{position:fixed;top:0;left:0;right:0;height:2px;width:0;opacity:1;transition:width .1s,opacity .4s;background-color:#fff;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}html[data-v-e0d65c42]{width:100vw;height:100vh}.default.layout[data-v-e0d65c42]{background:#f5f5d5;position:fixed;left:0;right:0;bottom:0;top:0}html[data-v-31363c82]{width:100vw;height:100vh}[data-v-31363c82]{box-sizing:border-box}.page[data-v-31363c82]{font-family:Montserrat,sans-serif;background:#f6f5f7;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh}h1[data-v-31363c82]{font-weight:700;margin:0}p[data-v-31363c82]{font-size:14px;line-height:20px;letter-spacing:.5px;margin:20px 0 30px}span[data-v-31363c82]{font-size:12px}a[data-v-31363c82]{color:#333;font-size:14px;text-decoration:none;margin:15px 0}.dowebok[data-v-31363c82]{background:#fff;border-radius:10px;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);position:relative;overflow:hidden;width:768px;max-width:100%;min-height:480px}.form-container form[data-v-31363c82]{background:#fff;display:flex;flex-direction:column;padding:0 50px;height:100%;justify-content:center;align-items:center;text-align:center}.social-container[data-v-31363c82]{margin:20px 0}.social-container a[data-v-31363c82]{border:1px solid #ddd;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;height:40px;width:40px}.social-container a[data-v-31363c82]:hover{background-color:#eee}.form-container input[data-v-31363c82]{background:#eee;border:none;padding:12px 15px;margin:8px 0;width:100%;outline:0}button[data-v-31363c82]{border-radius:20px;border:1px solid #ff4b2b;background:#ff4b2b;color:#fff;font-size:12px;font-weight:700;padding:12px 45px;letter-spacing:1px;text-transform:uppercase;transition:transform 80ms ease-in;cursor:pointer}button[data-v-31363c82]:active{transform:scale(.95)}button[data-v-31363c82]:focus{outline:0}button.ghost[data-v-31363c82]{background:0 0;border-color:#fff}.form-container[data-v-31363c82]{position:absolute;top:0;height:100%;transition:all .6s ease-in-out}.sign-in-container[data-v-31363c82]{left:0;width:50%;z-index:2}.sign-up-container[data-v-31363c82]{left:0;width:50%;z-index:1;opacity:0}.overlay-container[data-v-31363c82]{position:absolute;top:0;left:50%;width:50%;overflow:hidden;z-index:100}.overlay-container[data-v-31363c82],.overlay[data-v-31363c82]{height:100%;transition:transform .6s ease-in-out}.overlay[data-v-31363c82]{background:#ff416c;background:linear-gradient(90deg,#ff4b2b,#ff416c) no-repeat 0 0/cover;color:#fff;position:relative;left:-100%;width:200%;transform:translateY(0)}.overlay-panel[data-v-31363c82]{position:absolute;top:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 40px;height:100%;width:50%;text-align:center;transform:translateY(0);transition:transform .6s ease-in-out}.overlay-right[data-v-31363c82]{right:0;transform:translateY(0)}.overlay-left[data-v-31363c82]{transform:translateY(-20%)}.dowebok.right-panel-active .sign-in-container[data-v-31363c82]{transform:translateY(100%)}.dowebok.right-panel-active .overlay-container[data-v-31363c82]{transform:translateX(-100%)}.dowebok.right-panel-active .sign-up-container[data-v-31363c82]{transform:translateX(100%);opacity:1;z-index:5}.dowebok.right-panel-active .overlay[data-v-31363c82]{transform:translateX(50%)}.dowebok.right-panel-active .overlay-left[data-v-31363c82]{transform:translateY(0)}.dowebok.right-panel-active .overlay-right[data-v-31363c82]{transform:translateY(20%)}</style> - </head> - <body data-n-head=""> - <div data-server-rendered="true" id="__nuxt"><!----><div id="__layout"><div class="default layout" data-v-e0d65c42><div class="page" data-v-31363c82 data-v-e0d65c42> - ppp{} - <div id="dowebok" class="dowebok" data-v-31363c82><div class="form-container sign-up-container" data-v-31363c82><form action="#" data-v-31363c82><h1 data-v-31363c82>注册</h1> <div class="social-container" data-v-31363c82><a href="#" class="social" data-v-31363c82><i class="fab fa-facebook-f" data-v-31363c82></i></a> <a href="#" class="social" data-v-31363c82><i class="fab fa-google-plus-g" data-v-31363c82></i></a> <a href="#" class="social" data-v-31363c82><i class="fab fa-linkedin-in" data-v-31363c82></i></a></div> <span data-v-31363c82>或使用邮箱注册</span> <input placeholder="姓名" data-v-31363c82> <input type="email" placeholder="电子邮箱" data-v-31363c82> <input type="password" placeholder="密码" data-v-31363c82> <button data-v-31363c82>注册</button></form></div> <div class="form-container sign-in-container" data-v-31363c82><form action="#" data-v-31363c82><h1 data-v-31363c82>登录</h1> <div class="social-container" data-v-31363c82><a href="#" class="social" data-v-31363c82><i class="fab fa-facebook-f" data-v-31363c82></i></a> <a href="#" class="social" data-v-31363c82><i class="fab fa-google-plus-g" data-v-31363c82></i></a> <a href="#" class="social" data-v-31363c82><i class="fab fa-linkedin-in" data-v-31363c82></i></a></div> <span data-v-31363c82>或使用您的帐号</span> <input placeholder="账号" data-v-31363c82> <input type="password" placeholder="密码" data-v-31363c82> <a href="#" data-v-31363c82>忘记密码?</a> <button data-v-31363c82>登录</button></form></div> <div class="overlay-container" data-v-31363c82><div class="overlay" data-v-31363c82><div class="overlay-panel overlay-left" data-v-31363c82><h1 data-v-31363c82>已有帐号?</h1> <p data-v-31363c82>请使用您的帐号进行登录</p> <button id="signIn" class="ghost" data-v-31363c82>登录</button></div> <div class="overlay-panel overlay-right" data-v-31363c82><h1 data-v-31363c82>没有帐号?</h1> <p data-v-31363c82>立即注册加入我们,和我们一起开始旅程吧</p> <button id="signUp" class="ghost" data-v-31363c82>注册</button></div></div></div></div></div></div></div></div><script>window.__NUXT__={layout:"default",data:[{}],error:null,state:{user:{},todos:{list:[],ip:""}},serverRendered:!0}</script><script src="/website/_nuxt/ca1ba156dfe080d242ef.js" defer></script><script src="/website/_nuxt/dc129e08ed4ceb79aa72.js" defer></script><script src="/website/_nuxt/4d63b374d12d0c512fe1.js" defer></script><script src="/website/_nuxt/02f154bff9392ab47ea0.js" defer></script><script src="/website/_nuxt/a69e7f7b78ae7067d8d5.js" defer></script> - </body> -</html> diff --git a/layouts/default.vue b/layouts/default.vue index b7d5c15..714ccaa 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,20 +1,59 @@ <template> - <div class="default layout"> - <nuxt /> + <div class="default"> + <div id="aside" class="page-sidenav" :class="theme"> + <div class="sidenav"> + <div class="logo px-md-4 py-md-4"> + <a href="#" class="navbar-brand" style="width:140px;"> + <img v-if="theme=='light'" src="https://theme.nicetheme.xyz/lighthouse/wp-content/themes/Lighthouse-1.0.1/images/logo.png" alt="nicetheme"> + <img v-if="theme=='dark'" src="https://theme.nicetheme.xyz/lighthouse/wp-content/themes/Lighthouse-1.0.1/images/logo-dark.png" alt="nicetheme"> + </a> + </div> + </div> + </div> + <div class="page-content" :class="theme"> + <nuxt /> + </div> </div> </template> <script> +// https://www.runoob.com/bootstrap4/bootstrap4-tutorial.html export default { - components: {} + components: {}, + mounted(){ + console.log(this); + + }, + computed:{ + theme(){ + return this.$store.getters.theme + } + } }; </script> <style lang="scss" scoped> -.default.layout { - background: #f5f5d5; - position: fixed; - left: 0; - right: 0; - bottom: 0; - top: 0; + +.default { + display: flex; + .page-sidenav { + z-index: 1000; + min-width: 13rem; + height: 100vh; + &.light{ + background-color: #f4f6fb; + } + &.dark{ + background-color: #000000; + } + } + .page-content { + flex: 1 1 auto!important; + min-height: 100vh; + &.light{ + background-color: #ffffff; + } + &.dark{ + background-color: #000000; + } + } } </style> diff --git a/nuxt.config.js b/nuxt.config.js index d23f989..13455cc 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,6 @@ const path = require('path'); +console.log(__dirname+'/assets/style/_global.scss'); + module.exports = { mode: 'universal', /* @@ -32,9 +34,6 @@ module.exports = { // 相对路径打包 base: process.env.NODE_ENV === 'production' && process.env.BASE ? process.env.BASE : '/' }, - generate: { - dir: 'docs' - }, env: { baseUrl: process.env.BASE_URL || 'http://localhost:3000' }, @@ -48,7 +47,9 @@ module.exports = { ** Global CSS */ css: [ - 'reset-css/reset.css', + // 'reset-css/reset.css', + 'bootstrap/dist/css/bootstrap.min.css', + './assets/style/_global.scss' ], /* ** Plugins to load before mounting the App @@ -66,7 +67,6 @@ module.exports = { ** Nuxt.js modules */ modules: [ - '@nuxtjs/style-resources', // 使用bootstrap-vue // 'bootstrap-vue/nuxt', '@nuxtjs/axios' @@ -78,17 +78,10 @@ module.exports = { retries: 3 }, proxy: process.env.NODE_ENV === 'production' ? false : true, - baseURL: process.env.NODE_ENV === 'production' && process.env.BASE ? 'https://beer.poorman.top' : '' + // baseURL: process.env.NODE_ENV === 'production' && process.env.BASE ? 'https://beer.poorman.top' : '' }, proxy: { - '/api': 'https://beer.poorman.top' - }, - styleResources: { - // your settings here - sass: [], - scss: ['./assets/style/_global.scss'], - less: [], - stylus: [] + '/api': 'http://gank.io',//'https://beer.poorman.top', }, /* ** Build configuration diff --git a/package-lock.json b/package-lock.json index f43daa5..22733b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1151,16 +1151,6 @@ "http-proxy-middleware": "^0.19.1" } }, - "@nuxtjs/style-resources": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@nuxtjs/style-resources/-/style-resources-1.0.0.tgz", - "integrity": "sha512-tDRcC/pm8B0Kpxtzb/1/HOBkv3/kPD+2FiCiUBGMB7YriRud9OUPw1pnYCsAH9ftwpMJS4k4XOyUY8FCTk6OxA==", - "requires": { - "consola": "^2.4.0", - "glob-all": "^3.1.0", - "sass-resources-loader": "^2.0.0" - } - }, "@nuxtjs/youch": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/@nuxtjs/youch/-/youch-4.2.3.tgz", @@ -1729,14 +1719,6 @@ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" }, - "async": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", - "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", - "requires": { - "lodash": "^4.17.14" - } - }, "async-each": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", @@ -4337,30 +4319,6 @@ "path-is-absolute": "^1.0.0" } }, - "glob-all": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-all/-/glob-all-3.1.0.tgz", - "integrity": "sha1-iRPd+17hrHgSZWJBsD1SF8ZLAqs=", - "requires": { - "glob": "^7.0.5", - "yargs": "~1.2.6" - }, - "dependencies": { - "minimist": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", - "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=" - }, - "yargs": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz", - "integrity": "sha1-nHtKgv1dWVsr8Xq23MQxNUMv40s=", - "requires": { - "minimist": "^0.1.0" - } - } - } - }, "glob-parent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz", @@ -8958,54 +8916,6 @@ "semver": "^5.5.0" } }, - "sass-resources-loader": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/sass-resources-loader/-/sass-resources-loader-2.0.1.tgz", - "integrity": "sha512-UsjQWm01xglINC1kPidYwKOBBzOElVupm9RwtOkRlY0hPA4GKi2KFsn4BZypRD1kudaXgUnGnfbiVOE7c+ybAg==", - "requires": { - "async": "^2.1.4", - "chalk": "^1.1.3", - "glob": "^7.1.1", - "loader-utils": "^1.0.4" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", diff --git a/package.json b/package.json index 8e713b3..9458ed2 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,10 @@ "dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server", "build": "nuxt build", "start": "cross-env NODE_ENV=production node server/index.js", - "github": "cross-env BASE=/website/ nuxt generate", "generate": "nuxt generate" }, "dependencies": { "@nuxtjs/axios": "^5.6.0", - "@nuxtjs/style-resources": "^1.0.0", "autoprefixer": "^9.6.1", "bootstrap-vue": "^2.0.0-rc.27", "cross-env": "^5.2.0", @@ -30,7 +28,6 @@ "postcss-loader": "^3.0.0", "reset-css": "^4.0.1", "sass-loader": "^7.2.0", - "sass-resources-loader": "^2.0.1", "vuex-persistedstate": "^2.5.4" }, "devDependencies": { diff --git a/pages/index.vue b/pages/index.vue index 84b305b..a4afe88 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,59 +1,22 @@ <template> - <div class='home' @keydown.ctrl="ctrlDownFunc" @keyup.ctrl="ctrlUpFunc"> - <div id="main" style="width: 100%;height:100vh;"></div> - <BaseModel v-model="showModel"></BaseModel> - </div> + <div @click="change">asdsaddsa</div> + <!-- {{data.category[0]}} --> </template> <script> - import { echartTree } from "echart-tree"; - import Util from "@@/common/getJson"; - import option from "@@/common/option"; - export default { - async asyncData({ $axios }) { - return {} - }, - async fetch({ store, params, $axios }) { - - }, - mounted() { - console.log(Util.MainBoCai); - - var realData = JSON.parse(Util.MainBoCai.genJson(200)); - let str = '708'; - var myChart = echartTree.init(document.getElementById('main')); - myChart.setOption(option(realData, str, this.ctrlDown, () => { - console.log('dsa'); - this.showModel = true; - })); - document.onkeydown = this.ctrlDownFunc - document.onkeyup = this.ctrlUpFunc - }, - destroyed() { - document.onkeydown = null; - document.onkeyup = null; - }, - data() { - return { - ctrlDown: false, - showModel: false - } - }, - methods: { - ctrlDownFunc(event) { - if (event.keyCode && event.keyCode == 17) { // ctrl 键 - //要做的事情 - this.ctrlDown = true; - } - }, - ctrlUpFunc(event) { - if (event.keyCode && event.keyCode == 17) { // ctrl 键 - //要做的事情 - this.ctrlDown = false; - } - } +export default { + async asyncData({ $axios }) { + let data = await $axios.$get("/api/today"); + return { + data + }; + }, + methods:{ + change(){ + this.$store.dispatch('changeTheme') } } +}; </script> <style lang='scss'> diff --git a/pages/login/index.scss b/pages/login/index.scss deleted file mode 100644 index a11eca3..0000000 --- a/pages/login/index.scss +++ /dev/null @@ -1,297 +0,0 @@ -* { - box-sizing: border-box; -} - -.page { - font-family: 'Montserrat', sans-serif; - background: #f6f5f7; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: 100vh; - // margin: -20px 0 50px; -} - -h1 { - font-weight: bold; - margin: 0; -} - -p { - font-size: 14px; - line-height: 20px; - letter-spacing: .5px; - margin: 20px 0 30px; -} - -span { - font-size: 12px; -} - -a { - color: #333; - font-size: 14px; - text-decoration: none; - margin: 15px 0; -} - -.dowebok { - background: #fff; - border-radius: 10px; - box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22); - position: relative; - overflow: hidden; - width: 768px; - max-width: 100%; - min-height: 480px; -} - -.form-container form { - background: #fff; - display: flex; - flex-direction: column; - padding: 0 50px; - height: 100%; - justify-content: center; - align-items: center; - text-align: center; -} - -.social-container { - margin: 20px 0; -} - -.social-container a { - border: 1px solid #ddd; - border-radius: 50%; - display: inline-flex; - justify-content: center; - align-items: center; - margin: 0 5px; - height: 40px; - width: 40px; -} - -.social-container a:hover { - background-color: #eee; -} - -.form-container input { - background: #eee; - border: none; - padding: 12px 15px; - margin: 8px 0; - width: 100%; - outline: none; -} - -button { - border-radius: 20px; - border: 1px solid #ff4b2b; - background: #ff4b2b; - color: #fff; - font-size: 12px; - font-weight: bold; - padding: 12px 45px; - letter-spacing: 1px; - text-transform: uppercase; - transition: transform 80ms ease-in; - cursor: pointer; -} - -button:active { - transform: scale(.95); -} - -button:focus { - outline: none; -} - -button.ghost { - background: transparent; - border-color: #fff; -} - -.form-container { - position: absolute; - top: 0; - height: 100%; - transition: all .6s ease-in-out; -} - -.sign-in-container { - left: 0; - width: 50%; - z-index: 2; -} - -.sign-up-container { - left: 0; - width: 50%; - z-index: 1; - opacity: 0; -} - -.overlay-container { - position: absolute; - top: 0; - left: 50%; - width: 50%; - height: 100%; - overflow: hidden; - transition: transform .6s ease-in-out; - z-index: 100; -} - -.overlay { - background: #ff416c; - background: linear-gradient(to right, #ff4b2b, #ff416c) no-repeat 0 0 / cover; - color: #fff; - position: relative; - left: -100%; - height: 100%; - width: 200%; - transform: translateY(0); - transition: transform .6s ease-in-out; -} - -.overlay-panel { - position: absolute; - top: 0; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - padding: 0 40px; - height: 100%; - width: 50%; - text-align: center; - transform: translateY(0); - transition: transform .6s ease-in-out; -} - -.overlay-right { - right: 0; - transform: translateY(0); -} - -.overlay-left { - transform: translateY(-20%); -} - -/* Move signin to right */ -.dowebok.right-panel-active .sign-in-container { - transform: translateY(100%); -} - -/* Move overlay to left */ -.dowebok.right-panel-active .overlay-container { - transform: translateX(-100%); -} - -/* Bring signup over signin */ -.dowebok.right-panel-active .sign-up-container { - transform: translateX(100%); - opacity: 1; - z-index: 5; -} - -/* Move overlay back to right */ -.dowebok.right-panel-active .overlay { - transform: translateX(50%); -} - -/* Bring back the text to center */ -.dowebok.right-panel-active .overlay-left { - transform: translateY(0); -} - -/* Same effect for right */ -.dowebok.right-panel-active .overlay-right { - transform: translateY(20%); -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pages/login/index.vue b/pages/login/index.vue deleted file mode 100644 index 14d97d5..0000000 --- a/pages/login/index.vue +++ /dev/null @@ -1,94 +0,0 @@ -<template> - <div class="page"> - ppp{{data}} - <div class="dowebok" id="dowebok"> - <div class="form-container sign-up-container"> - <form action="#" v-stopsubmit> - <h1>注册</h1> - <div class="social-container"> - <a href="#" class="social"><i class="fab fa-facebook-f"></i></a> - <a href="#" class="social"><i class="fab fa-google-plus-g"></i></a> - <a href="#" class="social"><i class="fab fa-linkedin-in"></i></a> - </div> - <span>或使用邮箱注册</span> - <input type="text" placeholder="姓名"> - <input type="email" placeholder="电子邮箱"> - <input type="password" placeholder="密码"> - <button>注册</button> - </form> - </div> - <div class="form-container sign-in-container"> - <form action="#" v-stopsubmit> - <h1>登录</h1> - <div class="social-container"> - <a href="#" class="social"><i class="fab fa-facebook-f"></i></a> - <a href="#" class="social"><i class="fab fa-google-plus-g"></i></a> - <a href="#" class="social"><i class="fab fa-linkedin-in"></i></a> - </div> - <span>或使用您的帐号</span> - <input type="text" v-model="form.username" placeholder="账号"> - <input type="password" v-model="form.password" placeholder="密码"> - <a href="#">忘记密码?</a> - <button @click="login">登录</button> - </form> - </div> - <div class="overlay-container"> - <div class="overlay"> - <div class="overlay-panel overlay-left"> - <h1>已有帐号?</h1> - <p>请使用您的帐号进行登录</p> - <button class="ghost" id="signIn">登录</button> - </div> - <div class="overlay-panel overlay-right"> - <h1>没有帐号?</h1> - <p>立即注册加入我们,和我们一起开始旅程吧</p> - <button class="ghost" id="signUp">注册</button> - </div> - </div> - </div> - </div> - </div> -</template> -<script> -export default { - async asyncData({ $axios }) { - return {} - }, - data(){ - return { - data:{}, - form:{ - username:"", - password:"" - } - } - }, - methods:{ - async login(){ - try { - this.data = await this.$axios.$post('/api/login',this.form) - } catch (error) { - this.data = error - console.log(error); - } - } - }, - mounted(){ - var signUpButton = document.getElementById('signUp') - var signInButton = document.getElementById('signIn') - var container = document.getElementById('dowebok') - - signUpButton.addEventListener('click', function () { - container.classList.add('right-panel-active') - }) - - signInButton.addEventListener('click', function () { - container.classList.remove('right-panel-active') - }) - - } -} -</script> -<style lang="scss" scoped> -@import './index.scss'; -</style> diff --git a/plugins/axios.js b/plugins/axios.js index a63ded2..683e100 100644 --- a/plugins/axios.js +++ b/plugins/axios.js @@ -1,4 +1,4 @@ -import $api from '../api/index' ; +// import $api from '../api/index' ; // onRequest(config) // onResponse(response) // onError(err) @@ -19,10 +19,10 @@ export default function ({ $axios,store, redirect }) { console.log('Making request to ' + config.url) }) $axios.onResponse(config => { - if(!config.data.success){ - return Promise.reject(config.data) - } - return Promise.resolve(config) + if(config.status == 200){ + // return config.data; + } + // return config }) $axios.onError(error => { const code = parseInt(error.response && error.response.status) diff --git a/store/index.js b/store/index.js index fc22f94..0d0b585 100644 --- a/store/index.js +++ b/store/index.js @@ -8,22 +8,31 @@ import createPersistedState from 'vuex-persistedstate' // }) ] export const state = () => ({ - user: {} + theme:"light" }) export const getters = { - user(state){ - return state.user; + theme(state){ + return state.theme } } export const mutations = { - SET_USER (state,user) { - state.user=user; + SET_THEME (state,theme) { + if (theme) { + state.theme=theme; + }else if (state.theme=='light'){ + state.theme='dark'; + }else{ + state.theme='light'; + } } } export const actions = { + changeTheme({commit},theme){ + commit('SET_THEME',theme) + }, nuxtServerInit({ commit }, { req, res }) { // if (req.session && req.session.user) { // const { username, password } = req.session.user