From 91912c622f0e685c5f60310ab82dcdeee3e1a90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Thu, 30 Sep 2021 17:46:44 +0800 Subject: [PATCH] =?UTF-8?q?vip=E7=A1=AE=E5=AE=9A=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=90=8E=E9=80=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 19 +++++++++++++------ pages/clearOpen/clearOpen.vue | 1 + pages/employees/add.vue | 2 +- pages/vip/vip.vue | 5 +++-- unpackage/dist/build/h5/index.html | 2 +- .../{index.7da88982.js => index.99b6d957.js} | 2 +- .../js/pages-clearOpen-clearOpen.aba2c2c5.js | 1 + .../js/pages-clearOpen-clearOpen.afc42e02.js | 1 - .../js/pages-employees-list.d01aa04a.js | 1 + .../js/pages-employees-list.e6180ed1.js | 1 - ...7997b.js => pages-index-index.ad081819.js} | 4 ++-- .../h5/static/js/pages-vip-vip.2b35ffa4.js | 1 + .../h5/static/js/pages-vip-vip.f458f114.js | 1 - 13 files changed, 25 insertions(+), 16 deletions(-) rename unpackage/dist/build/h5/static/js/{index.7da88982.js => index.99b6d957.js} (99%) create mode 100644 unpackage/dist/build/h5/static/js/pages-clearOpen-clearOpen.aba2c2c5.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-clearOpen-clearOpen.afc42e02.js create mode 100644 unpackage/dist/build/h5/static/js/pages-employees-list.d01aa04a.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-employees-list.e6180ed1.js rename unpackage/dist/build/h5/static/js/{pages-index-index.9ed7997b.js => pages-index-index.ad081819.js} (61%) create mode 100644 unpackage/dist/build/h5/static/js/pages-vip-vip.2b35ffa4.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js diff --git a/manifest.json b/manifest.json index b0dfc34..f574301 100644 --- a/manifest.json +++ b/manifest.json @@ -5,12 +5,19 @@ "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, - "h5": { - "title": "链商星球", - "router": { - "mode": "history" - } - }, + "h5" : { + "title" : "链商星球", + "router" : { + "mode" : "history" + }, + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "RY5BZ-7XNKS-IBMO6-637EZ-SMFQE-43FGN" + } + } + } + }, /* 5+App特有相关 */ "app-plus" : { "usingComponents" : true, diff --git a/pages/clearOpen/clearOpen.vue b/pages/clearOpen/clearOpen.vue index 1d63cac..5ef0cbf 100644 --- a/pages/clearOpen/clearOpen.vue +++ b/pages/clearOpen/clearOpen.vue @@ -14,6 +14,7 @@ }, created() { this.$store.commit('setCode', '') + this.text = '清理完成' } } diff --git a/pages/employees/add.vue b/pages/employees/add.vue index 4744720..ffdded2 100644 --- a/pages/employees/add.vue +++ b/pages/employees/add.vue @@ -25,7 +25,7 @@ - + {{section[sectionIndex].name}} diff --git a/pages/vip/vip.vue b/pages/vip/vip.vue index cf790d8..2f2bac6 100644 --- a/pages/vip/vip.vue +++ b/pages/vip/vip.vue @@ -244,8 +244,9 @@ export default { uni.showModal({ title : '提示', content : '支付成功,恭喜您成功开通', - cancelColor: '#8b64fd', - success() { + showCancel:false, + confirmColor: '#8b64fd', + success : ()=> { this.$Router.back() } }) diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index 47bf7c5..940fbb6 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@ 链商星球
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/index.7da88982.js b/unpackage/dist/build/h5/static/js/index.99b6d957.js similarity index 99% rename from unpackage/dist/build/h5/static/js/index.7da88982.js rename to unpackage/dist/build/h5/static/js/index.99b6d957.js index bd83239..c5e168d 100644 --- a/unpackage/dist/build/h5/static/js/index.7da88982.js +++ b/unpackage/dist/build/h5/static/js/index.99b6d957.js @@ -1 +1 @@ -(function(t){function n(n){for(var i,r,p=n[0],g=n[1],m=n[2],d=0,s=[];d0?n("uni-collapse",[t._l(t.lists,(function(e,i){return[n("uni-collapse-item",{key:i+"_0",attrs:{"show-animation":!0,open:0===i},scopedSlots:t._u([{key:"title",fn:function(){return[n("v-uni-view",{staticClass:"collapse-title"},[t._v(t._s(e.name))])]},proxy:!0}],null,!0)},[e.data.length>0?t._l(e.data,(function(e,a){return n("v-uni-view",{key:a,staticClass:"employees-border"},[n("uni-swipe-action",[n("uni-swipe-action-item",{attrs:{rightOptions:t.options},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onEmployees(e,i,a)}}},[n("v-uni-view",{staticClass:"employees-item"},[n("v-uni-view",{staticClass:"cover"},[""===e.user.avatar?[t._v(t._s(e.name.slice(0,1)))]:[n("v-uni-image",{staticClass:"cover-img",attrs:{src:e.user.avatar,mode:"aspectFill"}})]],2),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"nickname nowrap"},[t._v(t._s(e.name)),n("v-uni-text",[t._v(t._s(e.job))])],1),n("v-uni-view",{staticClass:"job nowrap"},t._l(e.permission,(function(e,i){return n("v-uni-text",{key:i},[t._v(t._s(e))])})),1)],1)],1)],1)],1)],1)})):[n("v-uni-view",{staticClass:"employees-null"},[t._v("店铺暂无员工")])]],2)]}))],2):n("v-uni-view",{staticClass:"list-null"},[n("v-uni-image",{staticClass:"icon",attrs:{src:i("72e9"),mode:"widthFix"}}),n("v-uni-view",{staticClass:"sub-title"},[t._v("暂无员工")]),n("v-uni-view",{staticClass:"sub-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addEmployees.apply(void 0,arguments)}}},[t._v("添加员工")])],1)],1)},o=[]},"24a0":function(t,e,i){"use strict";var n=i("61a6"),a=i.n(n);a.a},"276f":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-74f2fd6f]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-74f2fd6f]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-74f2fd6f]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-74f2fd6f]{padding-top:0}.vertical[data-v-74f2fd6f], .list-null[data-v-74f2fd6f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-74f2fd6f]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-74f2fd6f]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-74f2fd6f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-74f2fd6f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-74f2fd6f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.collapse-title[data-v-74f2fd6f]{padding:0 %?30?%;line-height:%?90?%;font-weight:700;font-size:%?30?%}.employees-item[data-v-74f2fd6f]{background:#fff;padding:%?20?% %?30?%;position:relative}.employees-item[data-v-74f2fd6f]::before{position:absolute;bottom:0;left:%?128?%;right:0;content:" ";height:%?1?%;background:#ddd}.employees-item .cover[data-v-74f2fd6f]{position:absolute;top:%?20?%;left:%?30?%;background:#8b64fd;color:#fff;height:%?88?%;width:%?88?%;line-height:%?88?%;text-align:center;border-radius:50%;overflow:hidden;font-size:%?30?%}.employees-item .cover .cover-img[data-v-74f2fd6f]{width:100%;height:100%;position:absolute;top:0;left:0}.employees-item .content[data-v-74f2fd6f]{height:%?88?%;padding-left:%?108?%}.employees-item .content .nickname[data-v-74f2fd6f]{line-height:%?40?%;font-size:%?32?%;padding-bottom:%?10?%}.employees-item .content .nickname uni-text[data-v-74f2fd6f]{font-size:%?26?%;color:#999;padding-left:%?10?%}.employees-item .content .job[data-v-74f2fd6f]{line-height:%?38?%}.employees-item .content .job uni-text[data-v-74f2fd6f]{background-color:#eff4f2;color:#555;padding:0 %?10?%;line-height:%?38?%;margin-left:%?15?%;display:inline-block}.employees-item .content .job uni-text[data-v-74f2fd6f]:first-child{margin-left:0}.list-null[data-v-74f2fd6f]{width:100vw;height:100vh;box-sizing:border-box;text-align:center;background:#fff;padding-bottom:20vh}.list-null .sub-title[data-v-74f2fd6f]{color:#555;font-size:%?28?%}.list-null .icon[data-v-74f2fd6f]{width:%?288?%}.list-null .sub-btn[data-v-74f2fd6f]{width:%?200?%;height:%?70?%;line-height:%?70?%;text-align:center;background:#8b64fd;color:#fff;display:inline-block;margin-top:%?60?%}.employees-null[data-v-74f2fd6f]{text-align:center;line-height:10vh;padding-bottom:%?30?%;font-size:%?28?%;color:#555}.header-flex[data-v-74f2fd6f]{background:#fff;padding:%?15?% %?30?%;display:flex;justify-content:space-between;margin-bottom:%?20?%;line-height:%?60?%;color:#555}.header-flex .add-btn[data-v-74f2fd6f]{background:#8b64fd;color:#fff;width:%?150?%;text-align:center;font-size:%?28?%}',""]),t.exports=e},"365e":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t._t("default")],2)},o=[]},"419f":function(t,e,i){"use strict";i.r(e);var n=i("207f"),a=i("d585");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("c806");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"74f2fd6f",null,!1,n["a"],s);e["default"]=r.exports},"43cc":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-swipe"},[i("v-uni-view",{wxsProps:{"change:prop":"is_show"},staticClass:"uni-swipe_box",attrs:{"change:prop":t.renderswipe.showWatch,prop:t.is_show,"data-threshold":t.threshold,"data-disabled":t.disabled+""},on:{touchstart:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchstart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchmove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchend(e,t.$getComponentDescriptor())}}},[i("v-uni-view",{staticClass:"uni-swipe_button-group button-group--left"},[t._t("left",t._l(t.leftOptions,(function(e,n){return i("v-uni-view",{key:n,staticClass:"uni-swipe_button button-hock",style:{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.appTouchStart.apply(void 0,arguments)},touchend:function(i){arguments[0]=i=t.$handleEvent(i),t.appTouchEnd(i,n,e,"left")},click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.onClickForPC(n,e,"left")}}},[i("v-uni-text",{staticClass:"uni-swipe_button-text",style:{color:e.style&&e.style.color?e.style.color:"#FFFFFF"}},[t._v(t._s(e.text))])],1)})))],2),i("v-uni-view",{staticClass:"uni-swipe_text--center"},[t._t("default")],2),i("v-uni-view",{staticClass:"uni-swipe_button-group button-group--right"},[t._t("right",t._l(t.rightOptions,(function(e,n){return i("v-uni-view",{key:n,staticClass:"uni-swipe_button button-hock",style:{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.appTouchStart.apply(void 0,arguments)},touchend:function(i){arguments[0]=i=t.$handleEvent(i),t.appTouchEnd(i,n,e,"right")},click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.onClickForPC(n,e,"right")}}},[i("v-uni-text",{staticClass:"uni-swipe_button-text",style:{color:e.style&&e.style.color?e.style.color:"#FFFFFF"}},[t._v(t._s(e.text))])],1)})))],2)],1)],1)},o=[]},"4eda":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-collapse"},[t._t("default")],2)},o=[]},"4f85":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=10,a={showWatch:function(t,e,i,n,a){var o=a.state;this.getDom(n,i,a),t&&"none"!==t?this.openState(t,n,i,a):(o.left&&this.openState("none",n,i,a),this.resetTouchStatus(n,a))},touchstart:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;this.getDom(n,e,i),a=this.getDisabledType(a),a||(n.requestAnimationFrame((function(){n.removeClass("ani"),e.callMethod("closeSwipe")})),o.x=o.left||0,this.stopTouchStart(t,e,i))},touchmove:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;if(a=this.getDisabledType(a),!a&&(this.stopTouchMove(t,i),"horizontal"===o.direction)){t.preventDefault&&t.preventDefault();var s=o.x+o.deltaX;this.move(s,n,e,i)}},touchend:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;a=this.getDisabledType(a),a||this.moveDirection(o.left,n,e,i)},move:function(t,e,i,n){t=t||0;var a=n.state,o=a.leftWidth,s=a.rightWidth;a.left=this.range(t,-s,o),e.requestAnimationFrame((function(){e.setStyle({transform:"translateX("+a.left+"px)","-webkit-transform":"translateX("+a.left+"px)"})}))},getDom:function(t,e,i){var n=i.state,a=e.$el.querySelector(".button-group--left"),o=e.$el.querySelector(".button-group--right");n.leftWidth=a.offsetWidth||0,n.rightWidth=o.offsetWidth||0,n.threshold=t.getDataset().threshold},getDisabledType:function(t){return("string"===typeof t?JSON.parse(t):t)||!1},range:function(t,e,i){return Math.min(Math.max(t,e),i)},moveDirection:function(t,e,i,n){var a=n.state,o=a.threshold,s=(a.position,a.isopen||"none"),l=a.leftWidth,r=a.rightWidth;0!==a.deltaX?"none"===s&&r>0&&-t>o||"none"!==s&&r>0&&r+t0&&t>o||"none"!==s&&l>0&&l-te&&t>n?"horizontal":e>t&&e>n?"vertical":""},resetTouchStatus:function(t,e){var i=e.state;i.direction="",i.deltaX=0,i.deltaY=0,i.offsetX=0,i.offsetY=0},stopTouchStart:function(t,e,i){var n=t.instance,a=i.state;this.resetTouchStatus(n,i);var o=t.touches[0];a.startX=o.clientX,a.startY=o.clientY},stopTouchMove:function(t,e){t.instance;var i=e.state,n=t.touches[0];i.deltaX=n.clientX-i.startX,i.deltaY=n.clientY-i.startY,i.offsetY=Math.abs(i.deltaY),i.offsetX=Math.abs(i.deltaX),i.direction=i.direction||this.getDirection(i.offsetX,i.offsetY)}};e.default=a},5001:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};e.default=n},"53e2":function(t,e,i){"use strict";var n=i("4ea4");i("4160"),i("a434"),i("a9e3"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("b3a9")),o=n(i("c2f3")),s=n(i("5001")),l={mixins:[a.default,o.default,s.default],emits:["click","change"],props:{show:{type:String,default:"none"},disabled:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},threshold:{type:Number,default:20},leftOptions:{type:Array,default:function(){return[]}},rightOptions:{type:Array,default:function(){return[]}}},destroyed:function(){this.__isUnmounted||this.uninstall()},methods:{uninstall:function(){var t=this;this.swipeaction&&this.swipeaction.children.forEach((function(e,i){e===t&&t.swipeaction.children.splice(i,1)}))},getSwipeAction:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniSwipeAction",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=l},"56c5":function(t,e,i){"use strict";i.r(e);var n=i("0282"),a=i("b3d1");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("e230");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"a8d8138e",null,!1,n["a"],s);e["default"]=r.exports},"57dc":function(t,e,i){t.exports=i.p+"static/fonts/uni.75745d34.ttf"},"57e8":function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniSwipeAction",data:function(){return{}},created:function(){this.children=[]},methods:{resize:function(){},closeAll:function(){this.children.forEach((function(t){t.is_show="none"}))},closeOther:function(t){this.openItem&&this.openItem!==t&&(this.openItem.is_show="none"),this.openItem=t}}};e.default=n},"5f33":function(t,e,i){"use strict";i.r(e);var n=i("caa6"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"61a6":function(t,e,i){var n=i("d6aa");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("ca62c750",n,!0,{sourceMap:!1,shadowMode:!1})},6876:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{staticClass:"uni-icons",class:[t.fontFamily,t.fontFamily?t.type:""],style:{color:t.color,"font-size":t.size+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._onClick.apply(void 0,arguments)}}},[t._v(t._s(t.fontFamily?"":t.icons[t.type]))])},o=[]},"6ab2":function(t,e,i){"use strict";i.r(e);var n=i("57e8"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"6b93":function(t,e,i){"use strict";i.r(e);var n=i("b9b0"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"72e9":function(t,e){t.exports="data:image/png;base64,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"},"78d2":function(t,e,i){"use strict";i.r(e);var n=i("53e2"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"89ef":function(t,e,i){var n=i("24fb"),a=i("1de5"),o=i("57dc");e=n(!1);var s=a(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"924e":function(t,e,i){"use strict";i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("d1aa"),a={data:function(){return{loding:!0,lists:[],total:0,options:[{text:"编辑",type:"PUT",style:{backgroundColor:"#8b64fd"}},{text:"删除",type:"DELETE",style:{backgroundColor:"#e93340"}}]}},onShow:function(){var t=this;(0,n.employees)().then((function(e){t.lists=e.data,t.total=e.total,t.loding=!1}))},methods:{onEmployees:function(t,e,i){var a=this,o=t.content.type,s=this.lists[e].data[i];"PUT"!=o?uni.showModal({title:"提示",content:"删除后无法恢复,确定删除员工["+s.name+"]吗?",cancelText:"取消",cancelColor:"#555",confirmText:"确认",confirmColor:"#8b64fd",success:function(t){t.confirm&&(0,n.employeesDelete)(s.employee_id).then((function(t){uni.showToast({title:t,icon:"none"}),a.lists[e].data.splice(i,1)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}}):this.$Router.push({name:"employeesAdd",params:{type:"PUT",id:s.employee_id}})},addEmployees:function(){var t=this;this.lists.length<=0?uni.showModal({title:"提示",content:"暂未创建门店,无法添加员工",cancelText:"稍后创建",cancelColor:"#555",confirmText:"立即创建",confirmColor:"#8b64fd",success:function(e){e.confirm&&t.$Router.push({name:"shopCreate"})}}):this.$Router.push({name:"employeesAdd"})}}};e.default=a},"92d5":function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniCollapse",emits:["change","activeItem","input","update:modelValue"],props:{value:{type:[String,Array],default:""},modelValue:{type:[String,Array],default:""},accordion:{type:[Boolean,String],default:!1}},data:function(){return{}},computed:{dataValue:function(){var t="string"===typeof this.value&&""===this.value||Array.isArray(this.value)&&0===this.value.length;"string"===typeof this.modelValue&&""===this.modelValue||Array.isArray(this.modelValue)&&this.modelValue.length;return t?this.modelValue:this.value}},watch:{dataValue:function(t){this.setOpen(t)}},created:function(){this.childrens=[],this.names=[]},mounted:function(){this.setOpen(this.dataValue)},methods:{setOpen:function(t){var e=this,i="string"===typeof t,n=Array.isArray(t);this.childrens.forEach((function(a,o){if(i&&t===a.nameSync){if(!e.accordion)return void console.warn("accordion 属性为 false ,v-model 类型应该为 array");a.isOpen=!0}n&&t.forEach((function(t){if(t===a.nameSync){if(e.accordion)return void console.warn("accordion 属性为 true ,v-model 类型应该为 string");a.isOpen=!0}}))})),this.emit(t)},setAccordion:function(t){this.accordion&&this.childrens.forEach((function(e,i){t!==e&&(e.isOpen=!1)}))},resize:function(){this.childrens.forEach((function(t,e){t.getCollapseHeight()}))},onChange:function(t,e){var i=[];this.accordion?i=t?e.nameSync:"":this.childrens.forEach((function(t,e){t.isOpen&&i.push(t.nameSync)})),this.$emit("change",i),this.emit(i)},emit:function(t){this.$emit("input",t),this.$emit("update:modelValue",t)}}};e.default=n},"99ac":function(t,e,i){"use strict";var n=i("a9a0"),a=i.n(n);a.a},a9a0:function(t,e,i){var n=i("89ef");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2acee188",n,!0,{sourceMap:!1,shadowMode:!1})},ab66:function(t,e,i){var n=i("276f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("170c26bc",n,!0,{sourceMap:!1,shadowMode:!1})},ae2f:function(t,e,i){"use strict";function n(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!0,n=0;n0){i=!1;break}return i}i("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.isPC=n},b3a9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("ae2f"),a={data:function(){return{is_show:"none"}},watch:{show:function(t){this.is_show=this.show}},created:function(){this.swipeaction=this.getSwipeAction(),void 0!==this.swipeaction.children&&this.swipeaction.children.push(this)},mounted:function(){this.is_show=this.show},methods:{closeSwipe:function(t){this.autoClose&&this.swipeaction.closeOther(this)},change:function(t){this.$emit("change",t.open),this.is_show!==t.open&&(this.is_show=t.open)},appTouchStart:function(t){if(!(0,n.isPC)()){var e=t.changedTouches[0].clientX;this.clientX=e,this.timestamp=(new Date).getTime()}},appTouchEnd:function(t,e,i,a){if(!(0,n.isPC)()){var o=t.changedTouches[0].clientX,s=Math.abs(this.clientX-o),l=(new Date).getTime()-this.timestamp;s<40&&l<300&&this.$emit("click",{content:i,index:e,position:a})}},onClickForPC:function(t,e,i){(0,n.isPC)()&&this.$emit("click",{content:e,index:t,position:i})}}};e.default=a},b3d1:function(t,e,i){"use strict";i.r(e);var n=i("c51e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},b4dd:function(t,e,i){var n=i("b580");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("aa2cdc60",n,!0,{sourceMap:!1,shadowMode:!1})},b580:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-4e8a7aa1]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-4e8a7aa1]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-4e8a7aa1]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-4e8a7aa1]{padding-top:0}.vertical[data-v-4e8a7aa1]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-4e8a7aa1]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-4e8a7aa1]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-swipe[data-v-4e8a7aa1]{position:relative;overflow:hidden}.uni-swipe_box[data-v-4e8a7aa1]{display:flex;flex-shrink:0;position:relative}.uni-swipe_text--center[data-v-4e8a7aa1]{width:100%;cursor:grab}.uni-swipe_button-group[data-v-4e8a7aa1]{box-sizing:border-box;display:flex;flex-direction:row;position:absolute;top:0;bottom:0;cursor:pointer}.button-group--left[data-v-4e8a7aa1]{left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.button-group--right[data-v-4e8a7aa1]{right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uni-swipe_button[data-v-4e8a7aa1]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0 20px}.uni-swipe_button-text[data-v-4e8a7aa1]{flex-shrink:0;font-size:14px}.ani[data-v-4e8a7aa1]{transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.165,.84,.44,1)}',""]),t.exports=e},b9b0:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("4f85")),o={mounted:function(t,e,i){this.state={}},methods:{showWatch:function(t,e,i,n){a.default.showWatch(t,e,i,n,this)},touchstart:function(t,e){a.default.touchstart(t,e,this)},touchmove:function(t,e){a.default.touchmove(t,e,this)},touchend:function(t,e){a.default.touchend(t,e,this)}}};e.default=o},bb1e:function(t,e,i){"use strict";i.r(e);var n=i("365e"),a=i("6ab2");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"21bfece5",null,!1,n["a"],s);e["default"]=r.exports},c2f3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};e.default=n},c3e5:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-a8d8138e]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-a8d8138e]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-a8d8138e]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-a8d8138e]{padding-top:0}.vertical[data-v-a8d8138e]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-a8d8138e]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-a8d8138e]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-collapse-item[data-v-a8d8138e]{box-sizing:border-box}.uni-collapse-item__title[data-v-a8d8138e]{display:flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;transition:border-bottom-color .3s}.uni-collapse-item__title-wrap[data-v-a8d8138e]{width:100%;flex:1}.uni-collapse-item__title-box[data-v-a8d8138e]{padding:0 15px;display:flex;width:100%;box-sizing:border-box;flex-direction:row;justify-content:space-between;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;font-size:13px;font-weight:500;cursor:pointer;outline:none}.uni-collapse-item__title-box.is-disabled .uni-collapse-item__title-text[data-v-a8d8138e]{color:silver}.uni-collapse-item__title.uni-collapse-item-border[data-v-a8d8138e]{border-bottom:1px solid #ebeef5}.uni-collapse-item__title.is-open[data-v-a8d8138e]{border-bottom-color:transparent}.uni-collapse-item__title-img[data-v-a8d8138e]{height:26px;width:26px;margin-right:10px}.uni-collapse-item__title-text[data-v-a8d8138e]{flex:1;font-size:14px;white-space:nowrap;color:inherit;overflow:hidden;text-overflow:ellipsis}.uni-collapse-item__title-arrow[data-v-a8d8138e]{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:20px;height:20px;margin-right:10px;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.uni-collapse-item__title-arrow-active[data-v-a8d8138e]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.uni-collapse-item__wrap[data-v-a8d8138e]{will-change:height;box-sizing:border-box;background-color:#fff;overflow:hidden;position:relative;height:0}.uni-collapse-item__wrap.is--transition[data-v-a8d8138e]{transition-property:height,border-bottom-width;transition-duration:.3s;will-change:height}.uni-collapse-item__wrap-content[data-v-a8d8138e]{position:absolute;font-size:13px;color:#303133;border-bottom-color:transparent;border-bottom-style:solid;border-bottom-width:0}.uni-collapse-item__wrap-content.uni-collapse-item--border[data-v-a8d8138e]{border-bottom-width:1px;border-bottom-color:red;border-bottom-color:#ebeef5}.uni-collapse-item__wrap-content.open[data-v-a8d8138e]{position:relative}.uni-collapse-item--animation[data-v-a8d8138e]{transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;transition-timing-function:ease}',""]),t.exports=e},c51e:function(t,e,i){"use strict";i("4160"),i("c975"),i("a434"),i("a9e3"),i("d3b7"),i("ac1f"),i("25f0"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniCollapseItem",props:{title:{type:String,default:""},name:{type:[Number,String],default:""},disabled:{type:Boolean,default:!1},showAnimation:{type:Boolean,default:!0},open:{type:Boolean,default:!1},thumb:{type:String,default:""},titleBorder:{type:String,default:"auto"},border:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0}},data:function(){var t="Uni_".concat(Math.ceil(1e6*Math.random()).toString(36));return{isOpen:!1,isheight:null,height:0,elId:t,nameSync:0}},watch:{open:function(t){this.isOpen=t,this.onClick(t,"init")}},updated:function(t){var e=this;this.$nextTick((function(){e.init(!0)}))},created:function(){this.collapse=this.getCollapse(),this.oldHeight=0},destroyed:function(){this.__isUnmounted||this.uninstall()},mounted:function(){this.collapse&&(""!==this.name?this.nameSync=this.name:this.nameSync=this.collapse.childrens.length+"",-1===this.collapse.names.indexOf(this.nameSync)?this.collapse.names.push(this.nameSync):console.warn("name 值 ".concat(this.nameSync," 重复")),-1===this.collapse.childrens.indexOf(this)&&this.collapse.childrens.push(this),this.init())},methods:{init:function(t){this.getCollapseHeight(t)},uninstall:function(){var t=this;this.collapse&&(this.collapse.childrens.forEach((function(e,i){e===t&&t.collapse.childrens.splice(i,1)})),this.collapse.names.forEach((function(e,i){e===t.nameSync&&t.collapse.names.splice(i,1)})))},onClick:function(t,e){this.disabled||(this.isOpen=t,this.isOpen&&this.collapse&&this.collapse.setAccordion(this),"init"!==e&&this.collapse.onChange(t,this))},getCollapseHeight:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=uni.createSelectorQuery().in(this);n.select("#".concat(this.elId)).fields({size:!0},(function(n){if(!(i>=10)){if(!n)return i++,void e.getCollapseHeight(!1,i);e.height=n.height,e.isheight=!0,t||e.onClick(e.open,"init")}})).exec()},getNvueHwight:function(t){var e=this;dom.getComponentRect(this.$refs["collapse--hook"],(function(i){if(i&&i.result&&i.size){if(e.height=i.size.height,e.isheight=!0,t)return;e.onClick(e.open,"init")}}))},getCollapse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniCollapse",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},c713:function(t,e,i){var n=i("c3e5");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4add12e4",n,!0,{sourceMap:!1,shadowMode:!1})},c806:function(t,e,i){"use strict";var n=i("ab66"),a=i.n(n);a.a},caa6:function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=o},d1aa:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.employeesTool=e.employeesPut=e.employeesDelete=e.employeesInfo=e.addEmployees=e.employeesConfig=e.employees=void 0;var n=i("89d9"),a=function(){return(0,n.request)({url:"companies/employees"})};e.employees=a;var o=function(){return(0,n.request)({url:"companies/employees/create"})};e.employeesConfig=o;var s=function(t){return(0,n.request)({url:"companies/employees",method:"POST",data:t})};e.addEmployees=s;var l=function(t){return(0,n.request)({url:"companies/employees/"+t})};e.employeesInfo=l;var r=function(t){return(0,n.request)({url:"companies/employees/"+t,method:"DELETE"})};e.employeesDelete=r;var d=function(t,e){return(0,n.request)({url:"companies/employees/"+t,method:"PUT",data:e})};e.employeesPut=d;var c=function(){return(0,n.request)({url:"companies/employees/permission"})};e.employeesTool=c},d585:function(t,e,i){"use strict";i.r(e);var n=i("924e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},d6aa:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-1de35e38]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-1de35e38]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-1de35e38]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-1de35e38]{padding-top:0}.vertical[data-v-1de35e38]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-1de35e38]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-1de35e38]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-collapse[data-v-1de35e38]{width:100%;display:flex;flex-direction:column;background-color:#fff}',""]),t.exports=e},e230:function(t,e,i){"use strict";var n=i("c713"),a=i.n(n);a.a},e437:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=n},e89d:function(t,e,i){"use strict";i.r(e);var n=i("92d5"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},ea29:function(t,e,i){"use strict";var n=function(t){(t.options.wxs||(t.options.wxs={}))["wxsswipe"]=function(t){var e=10,i=!1;function n(t,e,i,n){var a=n.getState();r(n,i),t&&"none"!==t?f(t,n,i):(a.left&&f("none",n,i),p(n))}function a(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();r(i,e),n=("string"===typeof n?JSON.parse(n):n)||!1,n||(i.requestAnimationFrame((function(){i.removeClass("ani"),e.callMethod("closeSwipe")})),a.x=a.left||0,h(t,e))}function o(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();n=("string"===typeof n?JSON.parse(n):n)||!1,n||(v(t),"horizontal"===a.direction&&(t.preventDefault&&t.preventDefault(),l(a.x+a.deltaX,i,e)))}function s(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();n=("string"===typeof n?JSON.parse(n):n)||!1,n||c(a.left,i,e)}function l(t,e,i){t=t||0;var n=e.getState(),a=n.leftWidth,o=n.rightWidth;n.left=d(t,-o,a),e.requestAnimationFrame((function(){e.setStyle({transform:"translateX("+n.left+"px)","-webkit-transform":"translateX("+n.left+"px)"})}))}function r(t,e){var i=t.getState(),n=e.selectComponent(".button-group--left"),a=e.selectComponent(".button-group--right"),o={width:0},s={width:0};o=n.getBoundingClientRect(),s=a.getBoundingClientRect(),i.leftWidth=o.width||0,i.rightWidth=s.width||0,i.threshold=t.getDataset().threshold}function d(t,e,i){return Math.min(Math.max(t,e),i)}function c(t,e,i){var n=e.getState(),a=n.threshold,o=(n.position,n.isopen||"none"),s=n.leftWidth,l=n.rightWidth;0!==n.deltaX?f("none"===o&&l>0&&-t>a||"none"!==o&&l>0&&l+t0&&t>a||"none"!==o&&s>0&&s-ti&&t>e?"horizontal":i>t&&i>e?"vertical":""}function p(t){var e=t.getState();e.direction="",e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0}function h(t){var e=t.instance,n=e.getState();p(e);var a=t.touches[0];i&&m()&&(a=t),n.startX=a.clientX,n.startY=a.clientY}function v(t){var e=t.instance,n=e.getState(),a=t.touches[0];i&&m()&&(a=t),n.deltaX=a.clientX-n.startX,n.deltaY=a.clientY-n.startY,n.offsetY=Math.abs(n.deltaY),n.offsetX=Math.abs(n.deltaX),n.direction=n.direction||u(n.offsetX,n.offsetY)}function m(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!0,n=0;n0){i=!1;break}return i}"object"===typeof window&&(i=!0);var b=!1;function w(t,e){i&&m()&&(a(t,e),b=!0)}function g(t,e){i&&m()&&b&&o(t,e)}function x(t,e){i&&m()&&(s(t,e),b=!1)}function y(t,e){i&&m()&&(b=!1)}return t.exports={showWatch:n,touchstart:a,touchmove:o,touchend:s,mousedown:w,mousemove:g,mouseup:x,mouseleave:y},t.exports}({exports:{}})};e["a"]=n},f1a7:function(t,e,i){"use strict";i.r(e);var n=i("6876"),a=i("5f33");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("99ac");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],s);e["default"]=r.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-employees-list.e6180ed1.js b/unpackage/dist/build/h5/static/js/pages-employees-list.e6180ed1.js deleted file mode 100644 index 35f7d19..0000000 --- a/unpackage/dist/build/h5/static/js/pages-employees-list.e6180ed1.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-employees-list"],{"0282":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniIcons:i("f1a7").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-collapse-item"},[i("v-uni-view",{staticClass:"uni-collapse-item__title",class:{"is-open":t.isOpen&&"auto"===t.titleBorder,"uni-collapse-item-border":"none"!==t.titleBorder},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick(!t.isOpen)}}},[i("v-uni-view",{staticClass:"uni-collapse-item__title-wrap"},[t._t("title",[i("v-uni-view",{staticClass:"uni-collapse-item__title-box",class:{"is-disabled":t.disabled}},[t.thumb?i("v-uni-image",{staticClass:"uni-collapse-item__title-img",attrs:{src:t.thumb}}):t._e(),i("v-uni-text",{staticClass:"uni-collapse-item__title-text"},[t._v(t._s(t.title))])],1)])],2),t.showArrow?i("v-uni-view",{staticClass:"uni-collapse-item__title-arrow",class:{"uni-collapse-item__title-arrow-active":t.isOpen,"uni-collapse-item--animation":!0===t.showAnimation}},[i("uni-icons",{attrs:{color:t.disabled?"#ddd":"#bbb",size:"14",type:"arrowdown"}})],1):t._e()],1),i("v-uni-view",{staticClass:"uni-collapse-item__wrap",class:{"is--transition":t.showAnimation},style:{height:(t.isOpen?t.height:0)+"px"}},[i("v-uni-view",{ref:"collapse--hook",staticClass:"uni-collapse-item__wrap-content",class:{open:t.isheight,"uni-collapse-item--border":t.border&&t.isOpen},attrs:{id:t.elId}},[t._t("default")],2)],1)],1)},o=[]},"094e":function(t,e,i){"use strict";i.r(e);var n=i("43cc"),a=i("6b93");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var s=i("78d2");for(var o in s)"default"!==o&&function(t){i.d(e,t,(function(){return s[t]}))}(o);i("1f1a");var l=i("f0c5"),r=i("ea29");a["default"].__module="renderswipe";var c=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"4e8a7aa1",null,!1,n["a"],a["default"]);"function"===typeof r["a"]&&Object(r["a"])(c),e["default"]=c.exports},1800:function(t,e,i){"use strict";i.r(e);var n=i("4eda"),a=i("e89d");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("24a0");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"1de35e38",null,!1,n["a"],s);e["default"]=r.exports},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1f1a":function(t,e,i){"use strict";var n=i("b4dd"),a=i.n(n);a.a},"24a0":function(t,e,i){"use strict";var n=i("61a6"),a=i.n(n);a.a},"30f4":function(t,e,i){var n=i("5a5f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("dfad7746",n,!0,{sourceMap:!1,shadowMode:!1})},"365e":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t._t("default")],2)},o=[]},"419f":function(t,e,i){"use strict";i.r(e);var n=i("d4ac"),a=i("d585");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("8ce9");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"2b438c13",null,!1,n["a"],s);e["default"]=r.exports},"43cc":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-swipe"},[i("v-uni-view",{wxsProps:{"change:prop":"is_show"},staticClass:"uni-swipe_box",attrs:{"change:prop":t.renderswipe.showWatch,prop:t.is_show,"data-threshold":t.threshold,"data-disabled":t.disabled+""},on:{touchstart:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchstart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchmove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.renderswipe.touchend(e,t.$getComponentDescriptor())}}},[i("v-uni-view",{staticClass:"uni-swipe_button-group button-group--left"},[t._t("left",t._l(t.leftOptions,(function(e,n){return i("v-uni-view",{key:n,staticClass:"uni-swipe_button button-hock",style:{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.appTouchStart.apply(void 0,arguments)},touchend:function(i){arguments[0]=i=t.$handleEvent(i),t.appTouchEnd(i,n,e,"left")},click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.onClickForPC(n,e,"left")}}},[i("v-uni-text",{staticClass:"uni-swipe_button-text",style:{color:e.style&&e.style.color?e.style.color:"#FFFFFF"}},[t._v(t._s(e.text))])],1)})))],2),i("v-uni-view",{staticClass:"uni-swipe_text--center"},[t._t("default")],2),i("v-uni-view",{staticClass:"uni-swipe_button-group button-group--right"},[t._t("right",t._l(t.rightOptions,(function(e,n){return i("v-uni-view",{key:n,staticClass:"uni-swipe_button button-hock",style:{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.appTouchStart.apply(void 0,arguments)},touchend:function(i){arguments[0]=i=t.$handleEvent(i),t.appTouchEnd(i,n,e,"right")},click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.onClickForPC(n,e,"right")}}},[i("v-uni-text",{staticClass:"uni-swipe_button-text",style:{color:e.style&&e.style.color?e.style.color:"#FFFFFF"}},[t._v(t._s(e.text))])],1)})))],2)],1)],1)},o=[]},"4eda":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-collapse"},[t._t("default")],2)},o=[]},"4f85":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=10,a={showWatch:function(t,e,i,n,a){var o=a.state;this.getDom(n,i,a),t&&"none"!==t?this.openState(t,n,i,a):(o.left&&this.openState("none",n,i,a),this.resetTouchStatus(n,a))},touchstart:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;this.getDom(n,e,i),a=this.getDisabledType(a),a||(n.requestAnimationFrame((function(){n.removeClass("ani"),e.callMethod("closeSwipe")})),o.x=o.left||0,this.stopTouchStart(t,e,i))},touchmove:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;if(a=this.getDisabledType(a),!a&&(this.stopTouchMove(t,i),"horizontal"===o.direction)){t.preventDefault&&t.preventDefault();var s=o.x+o.deltaX;this.move(s,n,e,i)}},touchend:function(t,e,i){var n=t.instance,a=n.getDataset().disabled,o=i.state;a=this.getDisabledType(a),a||this.moveDirection(o.left,n,e,i)},move:function(t,e,i,n){t=t||0;var a=n.state,o=a.leftWidth,s=a.rightWidth;a.left=this.range(t,-s,o),e.requestAnimationFrame((function(){e.setStyle({transform:"translateX("+a.left+"px)","-webkit-transform":"translateX("+a.left+"px)"})}))},getDom:function(t,e,i){var n=i.state,a=e.$el.querySelector(".button-group--left"),o=e.$el.querySelector(".button-group--right");n.leftWidth=a.offsetWidth||0,n.rightWidth=o.offsetWidth||0,n.threshold=t.getDataset().threshold},getDisabledType:function(t){return("string"===typeof t?JSON.parse(t):t)||!1},range:function(t,e,i){return Math.min(Math.max(t,e),i)},moveDirection:function(t,e,i,n){var a=n.state,o=a.threshold,s=(a.position,a.isopen||"none"),l=a.leftWidth,r=a.rightWidth;0!==a.deltaX?"none"===s&&r>0&&-t>o||"none"!==s&&r>0&&r+t0&&t>o||"none"!==s&&l>0&&l-te&&t>n?"horizontal":e>t&&e>n?"vertical":""},resetTouchStatus:function(t,e){var i=e.state;i.direction="",i.deltaX=0,i.deltaY=0,i.offsetX=0,i.offsetY=0},stopTouchStart:function(t,e,i){var n=t.instance,a=i.state;this.resetTouchStatus(n,i);var o=t.touches[0];a.startX=o.clientX,a.startY=o.clientY},stopTouchMove:function(t,e){t.instance;var i=e.state,n=t.touches[0];i.deltaX=n.clientX-i.startX,i.deltaY=n.clientY-i.startY,i.offsetY=Math.abs(i.deltaY),i.offsetX=Math.abs(i.deltaX),i.direction=i.direction||this.getDirection(i.offsetX,i.offsetY)}};e.default=a},5001:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};e.default=n},"53e2":function(t,e,i){"use strict";var n=i("4ea4");i("4160"),i("a434"),i("a9e3"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("b3a9")),o=n(i("c2f3")),s=n(i("5001")),l={mixins:[a.default,o.default,s.default],emits:["click","change"],props:{show:{type:String,default:"none"},disabled:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},threshold:{type:Number,default:20},leftOptions:{type:Array,default:function(){return[]}},rightOptions:{type:Array,default:function(){return[]}}},destroyed:function(){this.__isUnmounted||this.uninstall()},methods:{uninstall:function(){var t=this;this.swipeaction&&this.swipeaction.children.forEach((function(e,i){e===t&&t.swipeaction.children.splice(i,1)}))},getSwipeAction:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniSwipeAction",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=l},"56c5":function(t,e,i){"use strict";i.r(e);var n=i("0282"),a=i("b3d1");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("e230");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"a8d8138e",null,!1,n["a"],s);e["default"]=r.exports},"57dc":function(t,e,i){t.exports=i.p+"static/fonts/uni.75745d34.ttf"},"57e8":function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniSwipeAction",data:function(){return{}},created:function(){this.children=[]},methods:{resize:function(){},closeAll:function(){this.children.forEach((function(t){t.is_show="none"}))},closeOther:function(t){this.openItem&&this.openItem!==t&&(this.openItem.is_show="none"),this.openItem=t}}};e.default=n},"5a5f":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-2b438c13]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-2b438c13]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-2b438c13]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-2b438c13]{padding-top:0}.vertical[data-v-2b438c13], .list-null[data-v-2b438c13]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-2b438c13]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-2b438c13]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-2b438c13]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-2b438c13]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-2b438c13]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.collapse-title[data-v-2b438c13]{padding:0 %?30?%;line-height:%?90?%;font-weight:700;font-size:%?30?%}.employees-item[data-v-2b438c13]{background:#fff;padding:%?20?% %?30?%;position:relative}.employees-item[data-v-2b438c13]::before{position:absolute;bottom:0;left:%?128?%;right:0;content:" ";height:%?1?%;background:#ddd}.employees-item .cover[data-v-2b438c13]{position:absolute;top:%?20?%;left:%?30?%;background:#8b64fd;color:#fff;height:%?88?%;width:%?88?%;line-height:%?88?%;text-align:center;border-radius:50%;overflow:hidden;font-size:%?30?%}.employees-item .cover .cover-img[data-v-2b438c13]{width:100%;height:100%;position:absolute;top:0;left:0}.employees-item .content[data-v-2b438c13]{height:%?88?%;padding-left:%?108?%}.employees-item .content .nickname[data-v-2b438c13]{line-height:%?40?%;font-size:%?32?%;padding-bottom:%?10?%}.employees-item .content .nickname uni-text[data-v-2b438c13]{font-size:%?26?%;color:#999;padding-left:%?10?%}.employees-item .content .job[data-v-2b438c13]{line-height:%?38?%}.employees-item .content .job uni-text[data-v-2b438c13]{background-color:#eff4f2;color:#555;padding:0 %?10?%;line-height:%?38?%;margin-left:%?15?%;display:inline-block}.employees-item .content .job uni-text[data-v-2b438c13]:first-child{margin-left:0}.list-null[data-v-2b438c13]{width:100vw;height:100vh;box-sizing:border-box;text-align:center;background:#fff;padding-bottom:20vh}.list-null .sub-title[data-v-2b438c13]{color:#555;font-size:%?28?%}.list-null .icon[data-v-2b438c13]{width:%?288?%}.list-null .sub-btn[data-v-2b438c13]{width:%?200?%;height:%?70?%;line-height:%?70?%;text-align:center;background:#8b64fd;color:#fff;display:inline-block;margin-top:%?60?%}.employees-null[data-v-2b438c13]{text-align:center;line-height:10vh;padding-bottom:%?30?%;font-size:%?28?%;color:#555}.header-flex[data-v-2b438c13]{background:#fff;padding:%?15?% %?30?%;display:flex;justify-content:space-between;margin-bottom:%?20?%;line-height:%?60?%;color:#555}.header-flex .add-btn[data-v-2b438c13]{background:#8b64fd;color:#fff;width:%?150?%;text-align:center;font-size:%?28?%}',""]),t.exports=e},"5f33":function(t,e,i){"use strict";i.r(e);var n=i("caa6"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"61a6":function(t,e,i){var n=i("d6aa");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("ca62c750",n,!0,{sourceMap:!1,shadowMode:!1})},6876:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{staticClass:"uni-icons",class:[t.fontFamily,t.fontFamily?t.type:""],style:{color:t.color,"font-size":t.size+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._onClick.apply(void 0,arguments)}}},[t._v(t._s(t.fontFamily?"":t.icons[t.type]))])},o=[]},"6ab2":function(t,e,i){"use strict";i.r(e);var n=i("57e8"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"6b93":function(t,e,i){"use strict";i.r(e);var n=i("b9b0"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"72e9":function(t,e){t.exports="data:image/png;base64,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"},"78d2":function(t,e,i){"use strict";i.r(e);var n=i("53e2"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"89ef":function(t,e,i){var n=i("24fb"),a=i("1de5"),o=i("57dc");e=n(!1);var s=a(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"8ce9":function(t,e,i){"use strict";var n=i("30f4"),a=i.n(n);a.a},"924e":function(t,e,i){"use strict";i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("d1aa"),a={data:function(){return{loding:!0,lists:[],total:0,options:[{text:"编辑",type:"PUT",style:{backgroundColor:"#8b64fd"}},{text:"删除",type:"DELETE",style:{backgroundColor:"#e93340"}}]}},onShow:function(){var t=this;(0,n.employees)().then((function(e){t.lists=e.data,t.total=e.total,t.loding=!1}))},methods:{onEmployees:function(t,e,i){var a=this,o=t.content.type,s=this.lists[e].data[i];"PUT"!=o?uni.showModal({title:"提示",content:"删除后无法恢复,确定删除员工["+s.name+"]吗?",cancelText:"取消",cancelColor:"#555",confirmText:"确认",confirmColor:"#8b64fd",success:function(t){t.confirm&&(0,n.employeesDelete)(s.employee_id).then((function(t){uni.showToast({title:t,icon:"none"}),a.lists[e].data.splice(i,1)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}}):this.$Router.push({name:"employeesAdd",params:{type:"PUT",id:s.employee_id}})},addEmployees:function(){var t=this;this.lists.length<=0?uni.showModal({title:"提示",content:"暂未创建门店,无法添加员工",cancelText:"稍后创建",cancelColor:"#555",confirmText:"立即创建",confirmColor:"#8b64fd",success:function(e){e.confirm&&t.$Router.push({name:"shopCreate"})}}):this.$Router.push({name:"employeesAdd"})}}};e.default=a},"92d5":function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniCollapse",emits:["change","activeItem","input","update:modelValue"],props:{value:{type:[String,Array],default:""},modelValue:{type:[String,Array],default:""},accordion:{type:[Boolean,String],default:!1}},data:function(){return{}},computed:{dataValue:function(){var t="string"===typeof this.value&&""===this.value||Array.isArray(this.value)&&0===this.value.length;"string"===typeof this.modelValue&&""===this.modelValue||Array.isArray(this.modelValue)&&this.modelValue.length;return t?this.modelValue:this.value}},watch:{dataValue:function(t){this.setOpen(t)}},created:function(){this.childrens=[],this.names=[]},mounted:function(){this.setOpen(this.dataValue)},methods:{setOpen:function(t){var e=this,i="string"===typeof t,n=Array.isArray(t);this.childrens.forEach((function(a,o){if(i&&t===a.nameSync){if(!e.accordion)return void console.warn("accordion 属性为 false ,v-model 类型应该为 array");a.isOpen=!0}n&&t.forEach((function(t){if(t===a.nameSync){if(e.accordion)return void console.warn("accordion 属性为 true ,v-model 类型应该为 string");a.isOpen=!0}}))})),this.emit(t)},setAccordion:function(t){this.accordion&&this.childrens.forEach((function(e,i){t!==e&&(e.isOpen=!1)}))},resize:function(){this.childrens.forEach((function(t,e){t.getCollapseHeight()}))},onChange:function(t,e){var i=[];this.accordion?i=t?e.nameSync:"":this.childrens.forEach((function(t,e){t.isOpen&&i.push(t.nameSync)})),this.$emit("change",i),this.emit(i)},emit:function(t){this.$emit("input",t),this.$emit("update:modelValue",t)}}};e.default=n},"99ac":function(t,e,i){"use strict";var n=i("a9a0"),a=i.n(n);a.a},a9a0:function(t,e,i){var n=i("89ef");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2acee188",n,!0,{sourceMap:!1,shadowMode:!1})},ae2f:function(t,e,i){"use strict";function n(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!0,n=0;n0){i=!1;break}return i}i("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.isPC=n},b3a9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("ae2f"),a={data:function(){return{is_show:"none"}},watch:{show:function(t){this.is_show=this.show}},created:function(){this.swipeaction=this.getSwipeAction(),void 0!==this.swipeaction.children&&this.swipeaction.children.push(this)},mounted:function(){this.is_show=this.show},methods:{closeSwipe:function(t){this.autoClose&&this.swipeaction.closeOther(this)},change:function(t){this.$emit("change",t.open),this.is_show!==t.open&&(this.is_show=t.open)},appTouchStart:function(t){if(!(0,n.isPC)()){var e=t.changedTouches[0].clientX;this.clientX=e,this.timestamp=(new Date).getTime()}},appTouchEnd:function(t,e,i,a){if(!(0,n.isPC)()){var o=t.changedTouches[0].clientX,s=Math.abs(this.clientX-o),l=(new Date).getTime()-this.timestamp;s<40&&l<300&&this.$emit("click",{content:i,index:e,position:a})}},onClickForPC:function(t,e,i){(0,n.isPC)()&&this.$emit("click",{content:e,index:t,position:i})}}};e.default=a},b3d1:function(t,e,i){"use strict";i.r(e);var n=i("c51e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},b4dd:function(t,e,i){var n=i("b580");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("aa2cdc60",n,!0,{sourceMap:!1,shadowMode:!1})},b580:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-4e8a7aa1]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-4e8a7aa1]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-4e8a7aa1]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-4e8a7aa1]{padding-top:0}.vertical[data-v-4e8a7aa1]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-4e8a7aa1]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-4e8a7aa1]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-4e8a7aa1]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-swipe[data-v-4e8a7aa1]{position:relative;overflow:hidden}.uni-swipe_box[data-v-4e8a7aa1]{display:flex;flex-shrink:0;position:relative}.uni-swipe_text--center[data-v-4e8a7aa1]{width:100%;cursor:grab}.uni-swipe_button-group[data-v-4e8a7aa1]{box-sizing:border-box;display:flex;flex-direction:row;position:absolute;top:0;bottom:0;cursor:pointer}.button-group--left[data-v-4e8a7aa1]{left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.button-group--right[data-v-4e8a7aa1]{right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uni-swipe_button[data-v-4e8a7aa1]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0 20px}.uni-swipe_button-text[data-v-4e8a7aa1]{flex-shrink:0;font-size:14px}.ani[data-v-4e8a7aa1]{transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.165,.84,.44,1)}',""]),t.exports=e},b9b0:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("4f85")),o={mounted:function(t,e,i){this.state={}},methods:{showWatch:function(t,e,i,n){a.default.showWatch(t,e,i,n,this)},touchstart:function(t,e){a.default.touchstart(t,e,this)},touchmove:function(t,e){a.default.touchmove(t,e,this)},touchend:function(t,e){a.default.touchend(t,e,this)}}};e.default=o},bb1e:function(t,e,i){"use strict";i.r(e);var n=i("365e"),a=i("6ab2");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"21bfece5",null,!1,n["a"],s);e["default"]=r.exports},c2f3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};e.default=n},c3e5:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-a8d8138e]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-a8d8138e]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-a8d8138e]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-a8d8138e]{padding-top:0}.vertical[data-v-a8d8138e]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-a8d8138e]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-a8d8138e]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-a8d8138e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-collapse-item[data-v-a8d8138e]{box-sizing:border-box}.uni-collapse-item__title[data-v-a8d8138e]{display:flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;transition:border-bottom-color .3s}.uni-collapse-item__title-wrap[data-v-a8d8138e]{width:100%;flex:1}.uni-collapse-item__title-box[data-v-a8d8138e]{padding:0 15px;display:flex;width:100%;box-sizing:border-box;flex-direction:row;justify-content:space-between;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;font-size:13px;font-weight:500;cursor:pointer;outline:none}.uni-collapse-item__title-box.is-disabled .uni-collapse-item__title-text[data-v-a8d8138e]{color:silver}.uni-collapse-item__title.uni-collapse-item-border[data-v-a8d8138e]{border-bottom:1px solid #ebeef5}.uni-collapse-item__title.is-open[data-v-a8d8138e]{border-bottom-color:transparent}.uni-collapse-item__title-img[data-v-a8d8138e]{height:26px;width:26px;margin-right:10px}.uni-collapse-item__title-text[data-v-a8d8138e]{flex:1;font-size:14px;white-space:nowrap;color:inherit;overflow:hidden;text-overflow:ellipsis}.uni-collapse-item__title-arrow[data-v-a8d8138e]{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:20px;height:20px;margin-right:10px;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.uni-collapse-item__title-arrow-active[data-v-a8d8138e]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.uni-collapse-item__wrap[data-v-a8d8138e]{will-change:height;box-sizing:border-box;background-color:#fff;overflow:hidden;position:relative;height:0}.uni-collapse-item__wrap.is--transition[data-v-a8d8138e]{transition-property:height,border-bottom-width;transition-duration:.3s;will-change:height}.uni-collapse-item__wrap-content[data-v-a8d8138e]{position:absolute;font-size:13px;color:#303133;border-bottom-color:transparent;border-bottom-style:solid;border-bottom-width:0}.uni-collapse-item__wrap-content.uni-collapse-item--border[data-v-a8d8138e]{border-bottom-width:1px;border-bottom-color:red;border-bottom-color:#ebeef5}.uni-collapse-item__wrap-content.open[data-v-a8d8138e]{position:relative}.uni-collapse-item--animation[data-v-a8d8138e]{transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;transition-timing-function:ease}',""]),t.exports=e},c51e:function(t,e,i){"use strict";i("4160"),i("c975"),i("a434"),i("a9e3"),i("d3b7"),i("ac1f"),i("25f0"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uniCollapseItem",props:{title:{type:String,default:""},name:{type:[Number,String],default:""},disabled:{type:Boolean,default:!1},showAnimation:{type:Boolean,default:!0},open:{type:Boolean,default:!1},thumb:{type:String,default:""},titleBorder:{type:String,default:"auto"},border:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0}},data:function(){var t="Uni_".concat(Math.ceil(1e6*Math.random()).toString(36));return{isOpen:!1,isheight:null,height:0,elId:t,nameSync:0}},watch:{open:function(t){this.isOpen=t,this.onClick(t,"init")}},updated:function(t){var e=this;this.$nextTick((function(){e.init(!0)}))},created:function(){this.collapse=this.getCollapse(),this.oldHeight=0},destroyed:function(){this.__isUnmounted||this.uninstall()},mounted:function(){this.collapse&&(""!==this.name?this.nameSync=this.name:this.nameSync=this.collapse.childrens.length+"",-1===this.collapse.names.indexOf(this.nameSync)?this.collapse.names.push(this.nameSync):console.warn("name 值 ".concat(this.nameSync," 重复")),-1===this.collapse.childrens.indexOf(this)&&this.collapse.childrens.push(this),this.init())},methods:{init:function(t){this.getCollapseHeight(t)},uninstall:function(){var t=this;this.collapse&&(this.collapse.childrens.forEach((function(e,i){e===t&&t.collapse.childrens.splice(i,1)})),this.collapse.names.forEach((function(e,i){e===t.nameSync&&t.collapse.names.splice(i,1)})))},onClick:function(t,e){this.disabled||(this.isOpen=t,this.isOpen&&this.collapse&&this.collapse.setAccordion(this),"init"!==e&&this.collapse.onChange(t,this))},getCollapseHeight:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=uni.createSelectorQuery().in(this);n.select("#".concat(this.elId)).fields({size:!0},(function(n){if(!(i>=10)){if(!n)return i++,void e.getCollapseHeight(!1,i);e.height=n.height,e.isheight=!0,t||e.onClick(e.open,"init")}})).exec()},getNvueHwight:function(t){var e=this;dom.getComponentRect(this.$refs["collapse--hook"],(function(i){if(i&&i.result&&i.size){if(e.height=i.size.height,e.isheight=!0,t)return;e.onClick(e.open,"init")}}))},getCollapse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniCollapse",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},c713:function(t,e,i){var n=i("c3e5");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4add12e4",n,!0,{sourceMap:!1,shadowMode:!1})},caa6:function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=o},d1aa:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.employeesTool=e.employeesPut=e.employeesDelete=e.employeesInfo=e.addEmployees=e.employeesConfig=e.employees=void 0;var n=i("89d9"),a=function(){return(0,n.request)({url:"companies/employees"})};e.employees=a;var o=function(){return(0,n.request)({url:"companies/employees/create"})};e.employeesConfig=o;var s=function(t){return(0,n.request)({url:"companies/employees",method:"POST",data:t})};e.addEmployees=s;var l=function(t){return(0,n.request)({url:"companies/employees/"+t})};e.employeesInfo=l;var r=function(t){return(0,n.request)({url:"companies/employees/"+t,method:"DELETE"})};e.employeesDelete=r;var c=function(t,e){return(0,n.request)({url:"companies/employees/"+t,method:"PUT",data:e})};e.employeesPut=c;var d=function(){return(0,n.request)({url:"companies/employees/permission"})};e.employeesTool=d},d4ac:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniCollapse:i("1800").default,uniCollapseItem:i("56c5").default,uniSwipeAction:i("bb1e").default,uniSwipeActionItem:i("094e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.loding?t._e():n("v-uni-view",{staticClass:"ios-bottom"},[n("v-uni-view",{staticClass:"header-flex"},[t._v("员工数量 "+t._s(t.total)+" 人"),n("v-uni-view",{staticClass:"add-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addEmployees.apply(void 0,arguments)}}},[t._v("添加员工")])],1),t.lists.length>0?n("uni-collapse",[t._l(t.lists,(function(e,i){return[n("uni-collapse-item",{key:i+"_0",attrs:{"show-animation":!0,open:0===i},scopedSlots:t._u([{key:"title",fn:function(){return[n("v-uni-view",{staticClass:"collapse-title"},[t._v(t._s(e.name))])]},proxy:!0}],null,!0)},[e.data.length>0?t._l(e.data,(function(e,a){return n("v-uni-view",{key:a,staticClass:"employees-border"},[n("uni-swipe-action",[n("uni-swipe-action-item",{attrs:{rightOptions:t.options},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onEmployees(e,i,a)}}},[n("v-uni-view",{staticClass:"employees-item"},[n("v-uni-view",{staticClass:"cover"},[""===e.user.avatar?[t._v(t._s(e.name.slice(0,1)))]:[n("v-uni-image",{staticClass:"cover-img",attrs:{src:e.user.avatar,mode:"aspectFill"}})]],2),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"nickname nowrap"},[t._v(t._s(e.name)),n("v-uni-text",[t._v(t._s(e.job))])],1),n("v-uni-view",{staticClass:"job nowrap"},t._l(e.permission,(function(e,i){return n("v-uni-text",{key:i},[t._v(t._s(e))])})),1)],1)],1)],1)],1)],1)})):[n("v-uni-view",{staticClass:"employees-null"},[t._v("店铺暂无员工")])]],2)]}))],2):n("v-uni-view",{staticClass:"list-null"},[n("v-uni-image",{staticClass:"icon",attrs:{src:i("72e9"),mode:"widthFix"}}),n("v-uni-view",{staticClass:"sub-title"},[t._v("暂未添加员工")]),n("v-uni-view",{staticClass:"sub-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"employeesAdd"})}}},[t._v("添加员工")])],1)],1)},o=[]},d585:function(t,e,i){"use strict";i.r(e);var n=i("924e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},d6aa:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-1de35e38]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-1de35e38]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-1de35e38]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-1de35e38]{padding-top:0}.vertical[data-v-1de35e38]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-1de35e38]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-1de35e38]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-1de35e38]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-collapse[data-v-1de35e38]{width:100%;display:flex;flex-direction:column;background-color:#fff}',""]),t.exports=e},e230:function(t,e,i){"use strict";var n=i("c713"),a=i.n(n);a.a},e437:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=n},e89d:function(t,e,i){"use strict";i.r(e);var n=i("92d5"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},ea29:function(t,e,i){"use strict";var n=function(t){(t.options.wxs||(t.options.wxs={}))["wxsswipe"]=function(t){var e=10,i=!1;function n(t,e,i,n){var a=n.getState();r(n,i),t&&"none"!==t?u(t,n,i):(a.left&&u("none",n,i),p(n))}function a(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();r(i,e),n=("string"===typeof n?JSON.parse(n):n)||!1,n||(i.requestAnimationFrame((function(){i.removeClass("ani"),e.callMethod("closeSwipe")})),a.x=a.left||0,h(t,e))}function o(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();n=("string"===typeof n?JSON.parse(n):n)||!1,n||(v(t),"horizontal"===a.direction&&(t.preventDefault&&t.preventDefault(),l(a.x+a.deltaX,i,e)))}function s(t,e){var i=t.instance,n=i.getDataset().disabled,a=i.getState();n=("string"===typeof n?JSON.parse(n):n)||!1,n||d(a.left,i,e)}function l(t,e,i){t=t||0;var n=e.getState(),a=n.leftWidth,o=n.rightWidth;n.left=c(t,-o,a),e.requestAnimationFrame((function(){e.setStyle({transform:"translateX("+n.left+"px)","-webkit-transform":"translateX("+n.left+"px)"})}))}function r(t,e){var i=t.getState(),n=e.selectComponent(".button-group--left"),a=e.selectComponent(".button-group--right"),o={width:0},s={width:0};o=n.getBoundingClientRect(),s=a.getBoundingClientRect(),i.leftWidth=o.width||0,i.rightWidth=s.width||0,i.threshold=t.getDataset().threshold}function c(t,e,i){return Math.min(Math.max(t,e),i)}function d(t,e,i){var n=e.getState(),a=n.threshold,o=(n.position,n.isopen||"none"),s=n.leftWidth,l=n.rightWidth;0!==n.deltaX?u("none"===o&&l>0&&-t>a||"none"!==o&&l>0&&l+t0&&t>a||"none"!==o&&s>0&&s-ti&&t>e?"horizontal":i>t&&i>e?"vertical":""}function p(t){var e=t.getState();e.direction="",e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0}function h(t){var e=t.instance,n=e.getState();p(e);var a=t.touches[0];i&&b()&&(a=t),n.startX=a.clientX,n.startY=a.clientY}function v(t){var e=t.instance,n=e.getState(),a=t.touches[0];i&&b()&&(a=t),n.deltaX=a.clientX-n.startX,n.deltaY=a.clientY-n.startY,n.offsetY=Math.abs(n.deltaY),n.offsetX=Math.abs(n.deltaX),n.direction=n.direction||f(n.offsetX,n.offsetY)}function b(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!0,n=0;n0){i=!1;break}return i}"object"===typeof window&&(i=!0);var m=!1;function w(t,e){i&&b()&&(a(t,e),m=!0)}function g(t,e){i&&b()&&m&&o(t,e)}function x(t,e){i&&b()&&(s(t,e),m=!1)}function y(t,e){i&&b()&&(m=!1)}return t.exports={showWatch:n,touchstart:a,touchmove:o,touchend:s,mousedown:w,mousemove:g,mouseup:x,mouseleave:y},t.exports}({exports:{}})};e["a"]=n},f1a7:function(t,e,i){"use strict";i.r(e);var n=i("6876"),a=i("5f33");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("99ac");var s,l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],s);e["default"]=r.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-index-index.9ed7997b.js b/unpackage/dist/build/h5/static/js/pages-index-index.ad081819.js similarity index 61% rename from unpackage/dist/build/h5/static/js/pages-index-index.9ed7997b.js rename to unpackage/dist/build/h5/static/js/pages-index-index.ad081819.js index f6cf890..a23b85d 100644 --- a/unpackage/dist/build/h5/static/js/pages-index-index.9ed7997b.js +++ b/unpackage/dist/build/h5/static/js/pages-index-index.ad081819.js @@ -1,4 +1,4 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"163c":function(t,e,n){t.exports=n.p+"static/media/crystal.826fc717.mp3"},"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"2bb4":function(t,e,n){"use strict";n.r(e);var i=n("a752"),r=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},"2c06":function(t,e,n){var i=n("7a54");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("482afed3",i,!0,{sourceMap:!1,shadowMode:!1})},"2ec7":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.canvasId?n("v-uni-view",{staticClass:"l-f2",style:t.customStyle},[t.isMask?n("v-uni-cover-view",{staticClass:"l-f2__mask"}):t._e(),t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{type:"2d",id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{width:t.nodeWidth,height:t.nodeHeight,"canvas-id":t.canvasId,id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}),t.isCloud?n("v-uni-view",{staticStyle:{width:"2048px",height:"2048px",position:"fixed",left:"9999px"}},[t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{type:"2d","canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{"canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}})],1):t._e()],1):t._e()},a=[]},"35b3":function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"3c48":function(t,e,n){"use strict";function i(t,e){t=t.split("."),e=e.split(".");var n=Math.max(t.length,e.length);while(t.lengtha)return 1;if(r1&&void 0!==e[1]?e[1]:null,i.next=3,n.getContext(n.canvasId);case 3:if(r=i.sent,!n.isCloud){i.next=17;break}if(a=null,!n.imageMask){i.next=13;break}return n.isMask=!0,i.next=10,n.getImageMask(r);case 10:a=i.sent,n.imageData=a,n.isMask=!1;case 13:return i.next=15,n.getContext(n.canvasId+"_cloud");case 15:s=i.sent,r=Object.assign({},r,{cloud:s,imageMask:a});case 17:return i.next=19,t(r);case 19:o=i.sent,o&&(o.repaint(),n.chart=o,n.canvasEl=o.get("el"),n.isInited=!0);case 21:case"end":return i.stop()}}),i)})))()},changeData:function(t){this.chart&&this.chart.changeData(t||this.source)},clear:function(){this.chart&&this.chart.clear()},destroy:function(){this.chart&&this.chart.destroy()},repaint:function(){this.changeData(this.source)},reset:function(t){var e=this;this.$watch("isInited",(function(n){return n&&t(e.chart)}),{immediate:!0})},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.use2dCanvas,i=this.canvasId,r=this.config;return new Promise((function(a,s){var o=Object.assign({canvasId:i,success:a,fail:s},e);if(n){var l=r[i].canvas;delete o.canvasId,o.canvas=l}uni.canvasToTempFilePath(o,t)}))},getImageMask:function(t){var e=this;return new Promise((function(n){uni.getImageInfo({src:e.imageMask,success:function(){var i=(0,r.default)(regeneratorRuntime.mark((function i(a){var s,o,l,c,u,h;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!a.path){i.next=17;break}if(s=t.context,o=t.width,l=t.height,c=t.canvas,!e.use2dCanvas){i.next=7;break}u=function(){var t=c.createImage();t.crossOrigin="",t.src=a.path,t.onload=(0,r.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.drawImage(t,0,0,a.width,a.height,0,0,o,l),i=s.getImageData(0,0,o,l).data,s.clearRect(0,0,o,l),n(i);case 4:case"end":return e.stop()}}),e)})))},u(),i.next=17;break;case 7:return s.drawImage(a.path,0,0,a.width,a.height,0,0,o,l),i.next=10,e.canvasDraw(s);case 10:return i.next=12,s.getImageData(0,0,o,l);case 12:return h=i.sent,s.clearRect(0,0,o,l),i.next=16,e.canvasDraw(s);case 16:n(h);case 17:case"end":return i.stop()}}),i)})));function a(t){return i.apply(this,arguments)}return a}(),fail:function(t){console.error(JSON.stringify(t)),n(null)}})}))},canvasDraw:function(t){return new Promise((function(e){t.draw(!1,(function(){setTimeout((function(){e(!0)}),100)}))}))},getContext:function(t){var e,n=this,i=this.use2dCanvas,r=this.type,o=void 0===r?"2d":r,l=this.config;return(null===(e=l[t])||void 0===e?void 0:e.context)?Promise.resolve(l[t]):new Promise(i?function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).fields({node:!0,size:!0}).exec((function(i){var r=i[0],l=r.node,c=r.width,u=r.height;c=c||300,u=u||300;var h=l.getContext(o);t.includes("_cloud")||(n.width=c,n.height=u),l.width=c*s.pixelRatio,l.height=u*s.pixelRatio,n.config[t]={context:(0,a.default)(h),width:c,height:u,pixelRatio:s.pixelRatio,canvas:l},e(n.config[t])}))}:function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).boundingClientRect().exec((function(i){if(i){var r=i[0],o=r.width,l=r.height;o=o||300,l=l||300;var c=uni.createCanvasContext(t,n);t.includes("_cloud")||(n.width=o,n.height=l),n.config[t]={context:(0,a.default)(c),width:o,height:l,pixelRatio:s.pixelRatio},e(n.config[t])}}))})},touchStart:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchstart",(0,s.wrapEvent)(t))},touchMove:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchmove",(0,s.wrapEvent)(t))},touchEnd:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchend",(0,s.wrapEvent)(t))}}};e.default=o},"6b934":function(t,e,n){var i=n("23e7"),r=Math.log,a=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*a}})},"6c57":function(t,e,n){var i=n("23e7"),r=n("da84");i({global:!0},{globalThis:r})},7039:function(t,e,n){var i=n("23e7"),r=n("d039"),a=n("057f").f,s=r((function(){return!Object.getOwnPropertyNames(1)}));i({target:"Object",stat:!0,forced:s},{getOwnPropertyNames:a})},"7a54":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-2a6a561c]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-2a6a561c]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-2a6a561c]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-2a6a561c]{padding-top:0}.vertical[data-v-2a6a561c]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-2a6a561c]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-2a6a561c]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-toast[data-v-2a6a561c]{position:fixed;z-index:-1;transition:opacity .3s;text-align:center;color:#fff;border-radius:%?8?%;background:#585858;\ndisplay:flex;flex-direction:row;\nalign-items:center;justify-content:center;font-size:%?28?%;opacity:0;pointer-events:none;padding:%?18?% %?40?%}.u-toast.u-show[data-v-2a6a561c]{opacity:1}.u-icon[data-v-2a6a561c]{margin-right:%?10?%;\ndisplay:flex;flex-direction:row;\nalign-items:center;line-height:normal}.u-position-center[data-v-2a6a561c]{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:70%}.u-position-top[data-v-2a6a561c]{left:50%;top:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-position-bottom[data-v-2a6a561c]{left:50%;bottom:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-type-primary[data-v-2a6a561c]{color:#2979ff;background-color:#ecf5ff;border:1px solid #d7eafe}.u-type-success[data-v-2a6a561c]{color:#19be6b;background-color:#dbf1e1;border:1px solid #bef5c8}.u-type-error[data-v-2a6a561c]{color:#fa3534;background-color:#fef0f0;border:1px solid #fde2e2}.u-type-warning[data-v-2a6a561c]{color:#f90;background-color:#fdf6ec;border:1px solid #faecd8}.u-type-info[data-v-2a6a561c]{color:#909399;background-color:#f4f4f5;border:1px solid #ebeef5}.u-type-default[data-v-2a6a561c]{color:#fff;background-color:#585858}',""]),t.exports=e},"862c":function(t,e,n){"use strict";var i=n("53ee"),r=n.n(i);r.a},"89ef":function(t,e,n){var i=n("24fb"),r=n("1de5"),a=n("57dc");e=i(!1);var s=r(a);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"8ae7":function(t,e){t.exports="data:image/png;base64,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"},"8ba4":function(t,e,n){var i=n("23e7"),r=n("5e89");i({target:"Number",stat:!0},{isInteger:r})},"8c28":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uIcon:n("08da").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-toast",class:[t.isShow?"u-show":"","u-type-"+t.tmpConfig.type,"u-position-"+t.tmpConfig.position],style:{zIndex:t.uZIndex}},[n("v-uni-view",{staticClass:"u-icon-wrap"},[t.tmpConfig.icon?n("u-icon",{staticClass:"u-icon",attrs:{name:t.iconName,size:30,color:t.tmpConfig.type}}):t._e()],1),n("v-uni-text",{staticClass:"u-text"},[t._v(t._s(t.tmpConfig.title))])],1)},a=[]},"93f3":function(t,e,n){"use strict";var i=n("fe87"),r=n.n(i);r.a},9769:function(t,e){t.exports="data:image/png;base64,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"},"99a6":function(t,e,n){var i=n("c0f5");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("752da84a",i,!0,{sourceMap:!1,shadowMode:!1})},"99ac":function(t,e,n){"use strict";var i=n("a9a0"),r=n.n(i);r.a},"9e2c":function(t,e,n){"use strict";var i=n("4ea4");n("4160"),n("b64b"),n("d3b7"),n("e25e"),n("ac1f"),n("5319"),n("1276"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("2909")),a=n("3c48"),s={fillStyle:"FillStyle",fontSize:"FontSize",globalAlpha:"GlobalAlpha",opacity:"GlobalAlpha",lineCap:"LineCap",lineJoin:"LineJoin",lineWidth:"LineWidth",miterLimit:"MiterLimit",strokeStyle:"StrokeStyle",textAlign:"TextAlign",textBaseline:"TextBaseline",shadow:"Shadow",font:"FontSize"};function o(t){for(var e=0,n=0;n0&&t.charCodeAt(n)<128?e++:e+=2;return e}var l=/(\d*\.?\d*)px/,c=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])\b/g,u=function(t){return t.uniTransform=t.transform,t.transform=function(){for(var e=arguments.length,n=new Array(e),i=0;i6&&n.pop(),t.uniTransform.apply(t,n)},t.getImageData||(t.getImageData=function(){for(var e=arguments.length,n=new Array(e),i=0;i=0&&this.tmpConfig.icon){var t=this.$u.type2icon(this.tmpConfig.type);return t}},uZIndex:function(){return this.isShow?this.zIndex?this.zIndex:this.$u.zIndex.toast:"999999"}},methods:{show:function(t){var e=this;this.tmpConfig=this.$u.deepMerge(this.config,t),this.timer&&(clearTimeout(this.timer),this.timer=null),this.isShow=!0,this.timer=setTimeout((function(){e.isShow=!1,clearTimeout(e.timer),e.timer=null,"function"===typeof e.tmpConfig.callback&&e.tmpConfig.callback(),e.timeEnd()}),this.tmpConfig.duration)},hide:function(){this.isShow=!1,this.timer&&(clearTimeout(this.timer),this.timer=null)},timeEnd:function(){if(this.tmpConfig.url){if("/"!=this.tmpConfig.url[0]&&(this.tmpConfig.url="/"+this.tmpConfig.url),Object.keys(this.tmpConfig.params).length){var t="";/.*\/.*\?.*=.*/.test(this.tmpConfig.url)?(t=this.$u.queryParams(this.tmpConfig.params,!1),this.tmpConfig.url=this.tmpConfig.url+"&"+t):(t=this.$u.queryParams(this.tmpConfig.params),this.tmpConfig.url+=t)}this.tmpConfig.isTab?uni.switchTab({url:this.tmpConfig.url}):uni.navigateTo({url:this.tmpConfig.url})}else this.tmpConfig.back&&this.$u.route({type:"back"})}}};e.default=i},a9a0:function(t,e,n){var i=n("89ef");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("2acee188",i,!0,{sourceMap:!1,shadowMode:!1})},ac42:function(t,e,n){"use strict";var i=n("2c06"),r=n.n(i);r.a},bc29:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-2207815a]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-2207815a]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-2207815a]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-2207815a]{padding-top:0}.vertical[data-v-2207815a]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-2207815a]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-2207815a]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-2207815a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-2207815a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-2207815a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-2207815a]{min-height:calc(100vh - 60px);background:#1f1922;overflow:hidden}.situation[data-v-2207815a]{margin:0 %?30?%;background-image:linear-gradient(180deg,#2b2449,#1f1922);border-radius:%?20?%;padding:%?30?% %?15?% %?60?%}.situation .header[data-v-2207815a]{display:flex;flex-wrap:wrap;padding-bottom:%?30?%}.situation .header .number[data-v-2207815a]{color:#fff;font-size:%?32?%;font-weight:700;line-height:%?70?%}.situation .header .title[data-v-2207815a]{color:hsla(0,0%,100%,.4);font-size:%?26?%;line-height:%?40?%}.situation .header .header-item[data-v-2207815a]{width:50%;padding:%?15?%;padding-bottom:%?30?%;box-sizing:border-box}.situation .header .header-item[data-v-2207815a]:first-child{width:100%}.situation .header .header-item:first-child .number[data-v-2207815a]{font-size:%?32?%}.situation .chart[data-v-2207815a]{background:rgba(43,36,73,.8);padding:%?15?%;border-radius:%?10?%}.situation .chart .title[data-v-2207815a]{text-align:center;line-height:%?80?%;color:hsla(0,0%,100%,.4);font-size:%?26?%}.situation .chart .chart-f2[data-v-2207815a]{height:200px}.total[data-v-2207815a]{position:relative;margin:%?30?%;background:#2b2449;padding:0;display:flex;border-radius:%?20?%}.total .item[data-v-2207815a]{width:50%;padding:0 %?30?%;text-align:center;color:#fff;font-size:%?26?%;line-height:%?76?%}.total .item uni-image[data-v-2207815a]{width:%?38?%;height:%?38?%;vertical-align:top;margin-top:calc((%?76?% - %?38?%) / 2);margin-right:%?15?%}.total[data-v-2207815a]::before{position:absolute;top:0;bottom:0;content:"";width:%?2?%;left:50%;background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.7),transparent)}.help-icon[data-v-2207815a]{margin-left:%?10?%;opacity:.7}.ore[data-v-2207815a]{position:relative;padding-top:120%}.ore > uni-image[data-v-2207815a]{width:100%;position:absolute;top:0;left:0}.ore .ore-lists[data-v-2207815a]{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1}.ore .ore-lists .oct-float-item[data-v-2207815a], .ore .ore-lists .ore-item-nav[data-v-2207815a], .ore .ore-lists .ore-item[data-v-2207815a], .ore .ore-lists .oct-login[data-v-2207815a]{position:absolute;text-align:center}.ore .ore-lists .oct-float-item .text[data-v-2207815a], .ore .ore-lists .ore-item-nav .text[data-v-2207815a], .ore .ore-lists .ore-item .text[data-v-2207815a], .ore .ore-lists .oct-login .text[data-v-2207815a]{color:#fff;font-size:%?22?%;line-height:%?40?%;text-shadow:0 %?3?% %?3?% rgba(0,0,0,.2)}.ore .ore-lists .oct-float-item .oct-icon[data-v-2207815a], .ore .ore-lists .ore-item-nav .oct-icon[data-v-2207815a], .ore .ore-lists .ore-item .oct-icon[data-v-2207815a], .ore .ore-lists .oct-login .oct-icon[data-v-2207815a]{display:inline-block;width:%?58?%;height:%?58?%;line-height:%?58?%;background:radial-gradient(circle at 50% 50%,rgba(202,102,224,0) 40%,#ca66e0);border-radius:50%;box-shadow:0 0 %?5?% %?5?% rgba(202,102,224,.5)}.ore .ore-lists .oct-float-item .oct-icon .icon[data-v-2207815a], .ore .ore-lists .ore-item-nav .oct-icon .icon[data-v-2207815a], .ore .ore-lists .ore-item .oct-icon .icon[data-v-2207815a], .ore .ore-lists .oct-login .oct-icon .icon[data-v-2207815a]{margin-top:%?10?%;height:%?38?%;width:%?38?%}.ore .ore-lists .ore-item-nav[data-v-2207815a]{right:%?30?%;top:12%}.ore .ore-lists .oct-login[data-v-2207815a]{left:42%;top:45%}.task-block[data-v-2207815a]{white-space:nowrap;margin-bottom:%?30?%}.task-block .item[data-v-2207815a]{background:#2b2449;display:inline-block;margin-left:%?30?%;width:%?260?%;border-radius:%?20?%;text-align:center;padding:%?20?% %?15?%}.task-block .item[data-v-2207815a]:first-child{margin-left:%?30?%}.task-block .item[data-v-2207815a]:last-child{margin-right:%?30?%}.task-block .item .icon[data-v-2207815a]{display:inline-block;margin:%?15?% 0;width:%?98?%;height:%?98?%;line-height:%?98?%;background:#1f183d;border-radius:50%;text-align:center}.task-block .item .icon uni-image[data-v-2207815a]{width:%?56?%;height:%?56?%;vertical-align:middle}.task-block .item .text[data-v-2207815a]{font-size:%?26?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}.task-block .item .title[data-v-2207815a]{font-size:%?30?%;color:#fff;font-weight:700;line-height:%?50?%}.task-block .item .submit-title[data-v-2207815a]{font-size:%?22?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}',""]),t.exports=e},bff0:function(t,e,n){"use strict";var i=n("4ea4");n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("60bc"),a=i(n("e75e")),s=i(n("f052")),o={components:{lF2:s.default},data:function(){return{isAuth:!1,chains:{balance:0,height:0,number:0,score:0,up:0},account:{coin:0,crystal:0},crystalArr:[],allIds:[],categoryArr:[],help:{},userAuth:{certification:!1,company:!1,vip:!1}}},onShow:function(){this.isAuth=""!=this.$store.state.token,this.getIndex()},methods:{showHelp:function(t){uni.showModal({title:"提示",content:this.help[t],showCancel:!1,confirmColor:"#8b64fd"})},navAccount:function(t){this.isAuth?this.$Router.push({name:t}):this.$Router.push({name:"Login"})},issueGoosd:function(){var t=this,e="",n="";this.userAuth.certification&&this.userAuth.company&&this.userAuth.vip?this.$Router.push({name:"goodsManagement"}):(this.userAuth.certification||(e="暂未完成个人认证,无法发布商品权证",n="Personal"),this.userAuth.company||(e="暂未开通平台会员节点,无法发布商品权证",n="vipIndex"),this.userAuth.vip||(e="企业未认证或企业认证审核中,无法发布商品权证",n="User"),uni.showModal({title:"提示",content:e,cancelColor:"#555",cancelText:"稍后",confirmText:"vipIndex"===n?"去开通":"去认证",confirmColor:"#8b64fd",success:function(e){e.confirm&&t.$Router.push({name:n})}}))},ledCrystal:function(t){var e=this,i=uni.createInnerAudioContext();i.autoplay=!0,i.src=n("163c"),(0,r.thawlog)({thaw_id:this.crystalArr[t].log_id,all_ids:this.allIds}).then((function(i){uni.showToast({image:n("9769"),title:"+"+e.crystalArr[t].amount,duration:2e3}),e.$set(e.account,"crystal",i.crystal),e.ids=i.all_ids,"[]"!==JSON.stringify(i.last)?e.$set(e.crystalArr,t,i.last):e.$set(e.crystalArr,t,{amount:null})})).catch((function(t){uni.showToast({icon:"none",title:t})}))},getIndex:function(){var t=this;Promise.all([(0,r.crystals)(),(0,r.chain)()]).then((function(e){var n=e[0],i=e[1];n.needLogin||(t.account={coin:n.coin,crystal:n.crystal},t.userAuth={certification:n.is_certification,company:n.is_company,vip:n.is_vip},t.crystalArr=n.crystal_array,t.allIds=n.all_ids),t.chains=i.data,t.categoryArr=i.tasks,t.help=i.help,t.showCartc(i.movement)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},showCartc:function(t){this.$refs.chartChange.init((function(e){e.appendPadding=[10,30,10,15];var n=new a.default.Chart(e);return n.source(t,{date:{range:[0,1],type:"timeCat",mask:"MM-DD"},value:{tickCount:5}}),n.legend({position:"bottom",offsetY:0,offsetX:30}),n.area().position("date*value").color("name",["#5881d3","#ca66e0"]).shape("smooth"),n.line().position("date*value").color("name",["#5881d3","#ca66e0"]).shape("smooth",(function(t){return"预期收益率"===t?"line":"实际收益率"===t?"dash":void 0})),n.render(),n}))},JumpUrl:function(t,e){var n=t.openType;switch(n){case"switchTab":this.$Router.pushTab({name:t.path});break;case"web":window.location.href=t.path;break;case"navigateTo":this.$Router.push({name:t.path});break}}}};e.default=o},c0f5:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 星球旋转 */.ball[data-v-2207815a]{position:absolute;height:%?480?%;width:%?480?%;top:50%;left:50%;margin-top:%?-240?%;margin-left:%?-240?%;border-radius:50%;-webkit-transform-style:preserve-3d;background:url(/static/background/chain-back-02.png) repeat-x;\n\t/* background-size: auto 100%; */background-size:%?1616?%;-webkit-animation:move-map-data-v-2207815a 60s infinite linear;-moz-animation:move-map-data-v-2207815a 60s infinite linear;-o-animation:move-map-data-v-2207815a 60s infinite linear;-ms-animation:move-map-data-v-2207815a 60s infinite linear;animation:move-map-data-v-2207815a 60s infinite linear;box-shadow:0 0 %?50?% %?50?% rgba(31,25,34,.2)}.shadow[data-v-2207815a]{position:absolute;top:1%;left:5%;width:90%;height:90%;border-radius:50%;-webkit-filter:blur(5px);filter:blur(5px);z-index:3;background:radial-gradient(circle at 50% 0,hsla(0,0%,100%,.6),hsla(0,0%,100%,0) 58%)}.ball[data-v-2207815a]:before,\n.ball[data-v-2207815a]::after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;border-radius:50%;-webkit-filter:blur(5px);filter:blur(5px);z-index:2}.ball[data-v-2207815a]:before{background:radial-gradient(circle at 100% 50%,#5881d3,hsla(0,0%,100%,0) 45%)}.ball[data-v-2207815a]::after{background:radial-gradient(circle at 0 50%,#ca66e0,hsla(0,0%,100%,0) 45%)}@-webkit-keyframes move-map-data-v-2207815a{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}@-ms-keyframes move-map-data-v-2207815a{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}@keyframes move-map-data-v-2207815a{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}\n/* 水晶漂浮动画 */.oct-float[data-v-2207815a]{-webkit-animation:4s octfloat-data-v-2207815a infinite;animation:4s octfloat-data-v-2207815a infinite}@-webkit-keyframes octfloat-data-v-2207815a{0%{margin-top:0}50%{margin-top:%?10?%}100%{margin-top:0}}@keyframes octfloat-data-v-2207815a{0%{margin-top:0}50%{margin-top:%?10?%}100%{margin-top:0}}',""]),t.exports=e},c35a:function(t,e,n){var i=n("23e7"),r=n("7e12");i({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},c87c:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uniIcons:n("f1a7").default,uToast:n("4d12").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"total"},[i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("walletProperty")}}},[i("v-uni-image",{attrs:{src:n("e547")}}),t._v(t._s(t.isAuth?"能量球"+t.account.coin:"查看能量球"))],1),i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("Fragment")}}},[i("v-uni-image",{attrs:{src:n("9769")}}),t._v(t._s(t.isAuth?"能量碎片"+t.account.crystal:"查看能量碎片"))],1)],1),i("v-uni-view",{staticClass:"ore"},[i("v-uni-image",{staticClass:"ore-back",attrs:{src:n("fa4b"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"ball"},[i("v-uni-view",{staticClass:"shadow"})],1),t.isAuth?[i("v-uni-view",{staticClass:"ore-lists"},[t._l(t.crystalArr,(function(e,r){return i("v-uni-view",{key:r,staticClass:"oct-float ore-item",style:{left:e.left+"%",top:e.top+"%"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ledCrystal(r)}}},[null!==e.amount?[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v(t._s(e.amount||"-"))])]:t._e()],2)})),i("v-uni-view",{staticClass:"oct-float ore-item-nav",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issueGoosd.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("8ae7"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("发权证"),i("uni-icons",{attrs:{type:"arrowright",color:"#FFFFFF",size:"12"}})],1)],1)],2)]:[i("v-uni-view",{staticClass:"ore-lists"},[i("v-uni-view",{staticClass:"oct-float oct-login",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"Login"})}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("登录后领取")])],1)],1)]],2),i("v-uni-scroll-view",{staticClass:"task-block",attrs:{"scroll-x":"true"}},t._l(t.categoryArr,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.JumpUrl(e.url,e.title)}}},[i("v-uni-view",{staticClass:"text nowrap"},[t._v(t._s(e.sub_title))]),i("v-uni-view",{staticClass:"icon"},[i("v-uni-image",{attrs:{src:e.cover}})],1),i("v-uni-view",{staticClass:"title nowrap"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"submit-title nowrap"},[t._v("能量碎片"+t._s(e.tips))])],1)})),1),i("v-uni-view",{staticClass:"situation"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("平台能量球余量"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("balance")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.balance))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("上期能量球价值"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("up")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.up))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("昨日瓜分能量碎片"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("score")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.score))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("区块链高度"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("height")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.height))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("已开通节点数"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("number")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.number))])],1)],1),i("v-uni-view",{staticClass:"chart"},[i("v-uni-view",{staticClass:"title"},[t._v("累计盈利和能量球价值走势图")]),i("v-uni-view",{staticClass:"chart-f2"},[i("l-f2",{ref:"chartChange"})],1)],1),i("u-toast",{ref:"uToast"})],1)],1)},a=[]},caa6:function(t,e,n){"use strict";var i=n("4ea4");n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("e437")),a={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:r.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=a},cb29:function(t,e,n){var i=n("23e7"),r=n("81d5"),a=n("44d2");i({target:"Array",proto:!0},{fill:r}),a("fill")},d1a6:function(t,e,n){"use strict";n.r(e);var i=n("c87c"),r=n("62f9");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("4818"),n("862c");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"2207815a",null,!1,i["a"],s);e["default"]=l.exports},dca8:function(t,e,n){var i=n("23e7"),r=n("bb2f"),a=n("d039"),s=n("861d"),o=n("f183").onFreeze,l=Object.freeze,c=a((function(){l(1)}));i({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(t){return l&&s(t)?l(o(t)):t}})},e437:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=i},e547:function(t,e){t.exports="data:image/png;base64,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"},e75e:function(t,e,n){(function(t){n("a4d3"),n("e01a"),n("d28b"),n("99af"),n("cb29"),n("4de4"),n("4160"),n("a630"),n("caad"),n("c975"),n("d81d"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("a434"),n("6c57"),n("6b934"),n("a9e3"),n("35b3"),n("8ba4"),n("c35a"),n("dca8"),n("7039"),n("3410"),n("b64b"),n("131a"),n("d3b7"),n("acd8"),n("e25e"),n("4d63"),n("ac1f"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("1276"),n("159b"),n("ddb0"),function(t,n){n(e)}(0,(function(e){"use strict";var n=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},i=function(t,e){if(!n(t))return t;for(var i=[],r=0;r-1})(e,t)||e.push(t)})),e};function v(t){if(n(t))return t[0]}function m(t){if(n(t))return t[t.length-1]}var y=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},x=function(t){return a(t,"Number")},b=function(t){return o(t)?"":t.toString()},w=function(t){var e=b(t);return e.charAt(0).toLowerCase()+e.substring(1)};function _(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var S=function(t){var e=b(t);return e.charAt(0).toUpperCase()+e.substring(1)},k={}.toString,C=function(t){return a(t,"Boolean")},M=function(t){return a(t,"Date")},P=Object.prototype;function A(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function T(t,e,n,i){return e&&A(t,e),n&&A(t,n),i&&A(t,i),t}function I(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(e.hasOwnProperty(r)){var a=e[r];null!==a&&d(a)?(d(t[r])||(t[r]={}),n0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),M(t)&&(t=t.getTime()),t}var dt=Object.freeze({__proto__:null,Array:W,upperFirst:S,lowerFirst:w,isString:p,isNumber:x,isBoolean:C,isFunction:s,isDate:M,isArray:l,isNil:o,isObject:c,isPlainObject:d,isEqual:F,deepMix:D,mix:T,each:u,uniq:g,find:function(t,e){if(!l(t))return null;var n;if(s(e)&&(n=e),d(e)&&(n=function(t){return function(t,e){var n=h(e),i=n.length;if(o(t))return!i;for(var r=0;r=0;return n?r?2*Math.PI-i:i:r?i:2*Math.PI-i},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},clone:function(t){return[t[0],t[1]]},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},transformMat2d:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}},Pt=[1,0,0,1,0,0],At=function(){var t=e.prototype;function e(t){var e,n;this._initDefaultCfg(),T(this,t),this.plot?(e=this.plot.bl,n=this.plot.tr,this.start=e,this.end=n):(e=this.start,n=this.end),this.init(e,n)}return t._initDefaultCfg=function(){},t._scale=function(t,e){var n=this.matrix,i=this.center;Ct.translate(n,n,[i.x,i.y]),Ct.scale(n,n,[t,e]),Ct.translate(n,n,[-i.x,-i.y])},t.init=function(t,e){this.matrix=[].concat(Pt),this.center={x:(e.x-t.x)/2+t.x,y:(e.y-t.y)/2+t.y},this.scale&&this._scale(this.scale[0],this.scale[1])},t.convertPoint=function(t){var e=this._convertPoint(t),n=e.x,i=e.y;if(!Ct.isChanged(this.matrix))return{x:n,y:i};var r=[n,i];return Mt.transformMat2d(r,r,this.matrix),{x:r[0],y:r[1]}},t.invertPoint=function(t){return this._invertPoint(t)},t._convertPoint=function(t){return t},t._invertPoint=function(t){return t},t.reset=function(t){this.plot=t;var e=t.bl,n=t.tr;this.start=e,this.end=n,this.init(e,n)},e}(),Tt=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="cartesian",this.transposed=!1,this.isRect=!0},n.init=function(e,n){t.prototype.init.call(this,e,n),this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},n._convertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y;return{x:r.start+(r.end-r.start)*t[n],y:a.start+(a.end-a.start)*t[i]}},n._invertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y,s={};return s[n]=(t.x-r.start)/(r.end-r.start),s[i]=(t.y-a.start)/(a.end-a.start),s},e}(At);function It(t,e){return p(e)?e:t.invert(t.scale(e))}At.Cartesian=Tt,At.Rect=Tt;var Dt=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,i=this.callback;if(t.callback){var r=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),a=0;aa&&(a=u)}(re.max)&&e.change({min:r,max:a})},n._sort=function(t){var e=this.getXScale(),n=e.field,i=e.type;"identity"!==i&&e.values.length>1&&u(t,(function(t){t.sort((function(t,r){return"timeCat"===i?ft(t._origin[n])-ft(r._origin[n]):e.translate(t._origin[n])-e.translate(r._origin[n])}))})),this.set("hasSorted",!0),this.set("dataArray",t)},n.paint=function(){var t=this.get("mappingData"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this._beforeMapping(t);for(var i=0,r=t.length;i5?c:h,u=t.slice(0,5).map((function(t){var e=t._origin;return i.getText(e[i.field])+":"+r.getText(e[r.field])}));e.push(_(o,{index:n+1,count:a,part:3,name:s[p.field],values:u.join(" ")}))}}}))}t.set("ariaLabel",e.join(""))}},n.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},n.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return this.get("startOnZero")?n<=0&&e<=0?n:e>=0?e:0:e},n._normalizeValues=function(t,e){var n=[];if(l(t))for(var i=0,r=t.length;ie);r++){if(i[i.length-1][1]<=e){r=i.length-1;break}if(i[r][0]<=e&&i[r][1]>e)break}}else{(i=t.values).sort((function(t,e){return t-e}));for(var o=i.length;re)&&!((i[r-1]+i[r])/2<=e&&(i[r+1]+i[r])/2>e);r++)if((i[i.length-2]+i[i.length-1])/2<=e){r=i.length-1;break}}return i[r]},n.getSnapRecords=function(t){var e=this,n=e.get("coord"),i=e.getXScale(),r=e.getYScale(),a=i.field,s=e.get("dataArray");this.get("hasSorted")||this._sort(s);var c=[],u=n.invertPoint(t),h=u.x;e.isInCircle()&&!n.transposed&&h>(1+i.rangeMax())/2&&(h=i.rangeMin());var f=i.invert(h);i.isCategory||(f=e._getSnap(i,f));var d=[];if(s.forEach((function(t){t.forEach((function(t){var n=o(t._origin)?t[a]:t._origin[a];e._isEqual(n,f,i)&&d.push(t)}))})),this.hasAdjust("stack")&&n.isPolar&&n.transposed){if(h>=0&&h<=1){var p=r.invert(u.y);p=e._getSnap(r,p,d),d.forEach((function(t){(l(p)?t._originY.toString()===p.toString():t._originY===p)&&c.push(t)}))}}else c=d;return c},n.getRecords=function(t){var e=this,n=this.getXScale(),i=this.get("dataArray"),r=n.field;return i.map((function(i){for(var a=i.length-1;a>=0;a--){var s=i[a],l=o(s._origin)?s[r]:s._origin[r];if(e._isEqual(l,t,n))return s}return null}))},n._isEqual=function(t,e,n){return"timeCat"===n.type?ft(t)===e:e===t},n.position=function(t){return this._setAttrOptions("position",{field:t}),this},n.color=function(t,e){return this._createAttrOption("color",t,e,mt.colors),this},n.size=function(t,e){return this._createAttrOption("size",t,e,mt.sizes),this},n.shape=function(t,e){var n=this.get("type"),i=mt.shapes[n]||[];return this._createAttrOption("shape",t,e,i),this},n.style=function(t,e){var n,i=this.get("styleOptions");return i||(i={},this.set("styleOptions",i)),c(t)&&(e=t,t=null),t&&(n=Zt(t)),i.fields=n,i.style=e,this},n.adjust=function(t){return p(t)&&(t={type:t}),this.set("adjust",t),this},n.animate=function(t){return this.set("animateCfg",t),this},n.changeData=function(t){this.set("data",t),this.set("scales",{}),this.get("isInit")&&(this.set("isInit",!1),this.init())},n.clearInner=function(){var t=this.get("container");t&&t.clear()},n.reset=function(){this.set("isInit",!1),this.set("attrs",{}),this.set("attrOptions",{}),this.set("adjust",null),this.clearInner()},n.clear=function(){this.clearInner()},n.destroy=function(){this.set("isInit",!1),this.clear(),t.prototype.destroy.call(this)},n._display=function(t){this.set("visible",t);var e=this.get("container"),n=e.get("canvas");e.set("visible",t),n.draw()},n.show=function(){this._display(!0)},n.hide=function(){this._display(!1)},e}(St),Qt={};function $t(t){return Qt[t]}function te(t,e){Qt[t]=e}var ee=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){T(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return N(this.ticks,(function(e,n){return c(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return o(i)||!s(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){T(this,this.__cfg__),this.setDomain(),E(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(p(t)){var n=$t(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else s(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return v(this.range)},t.prototype.rangeMax=function(){return m(this.range)},t.prototype.calcPercent=function(t,e,n){return x(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),ne=function(t,e){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)}; +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"062d":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-512a0e89]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-512a0e89]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-512a0e89]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-512a0e89]{padding-top:0}.vertical[data-v-512a0e89]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-512a0e89]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-512a0e89]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-512a0e89]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-512a0e89]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-512a0e89]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-512a0e89]{min-height:calc(100vh - 60px);background:#1f1922;overflow:hidden}.situation[data-v-512a0e89]{margin:0 %?30?%;background-image:linear-gradient(180deg,#2b2449,#1f1922);border-radius:%?20?%;padding:%?30?% %?15?% %?60?%}.situation .header[data-v-512a0e89]{display:flex;flex-wrap:wrap;padding-bottom:%?30?%}.situation .header .number[data-v-512a0e89]{color:#fff;font-size:%?32?%;font-weight:700;line-height:%?70?%}.situation .header .title[data-v-512a0e89]{color:hsla(0,0%,100%,.4);font-size:%?26?%;line-height:%?40?%}.situation .header .header-item[data-v-512a0e89]{width:50%;padding:%?15?%;padding-bottom:%?30?%;box-sizing:border-box}.situation .chart[data-v-512a0e89]{background:rgba(43,36,73,.8);padding:%?15?%;border-radius:%?10?%}.situation .chart .title[data-v-512a0e89]{text-align:center;line-height:%?80?%;color:hsla(0,0%,100%,.4);font-size:%?26?%}.situation .chart .chart-f2[data-v-512a0e89]{height:200px}.total[data-v-512a0e89]{position:relative;margin:%?30?%;background:#2b2449;padding:0;display:flex;border-radius:%?20?%}.total .item[data-v-512a0e89]{width:50%;padding:0 %?30?%;text-align:center;color:#fff;font-size:%?26?%;line-height:%?76?%}.total .item uni-image[data-v-512a0e89]{width:%?38?%;height:%?38?%;vertical-align:top;margin-top:calc((%?76?% - %?38?%) / 2);margin-right:%?15?%}.total[data-v-512a0e89]::before{position:absolute;top:0;bottom:0;content:"";width:%?2?%;left:50%;background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.7),transparent)}.help-icon[data-v-512a0e89]{margin-left:%?10?%;opacity:.7}.ore[data-v-512a0e89]{position:relative;padding-top:120%}.ore > uni-image[data-v-512a0e89]{width:100%;position:absolute;top:0;left:0}.ore .ore-lists[data-v-512a0e89]{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1}.ore .ore-lists .oct-float-item[data-v-512a0e89], .ore .ore-lists .ore-item-nav[data-v-512a0e89], .ore .ore-lists .ore-item[data-v-512a0e89], .ore .ore-lists .oct-login[data-v-512a0e89]{position:absolute;text-align:center}.ore .ore-lists .oct-float-item .text[data-v-512a0e89], .ore .ore-lists .ore-item-nav .text[data-v-512a0e89], .ore .ore-lists .ore-item .text[data-v-512a0e89], .ore .ore-lists .oct-login .text[data-v-512a0e89]{color:#fff;font-size:%?22?%;line-height:%?40?%;text-shadow:0 %?3?% %?3?% rgba(0,0,0,.2)}.ore .ore-lists .oct-float-item .oct-icon[data-v-512a0e89], .ore .ore-lists .ore-item-nav .oct-icon[data-v-512a0e89], .ore .ore-lists .ore-item .oct-icon[data-v-512a0e89], .ore .ore-lists .oct-login .oct-icon[data-v-512a0e89]{display:inline-block;width:%?58?%;height:%?58?%;line-height:%?58?%;background:radial-gradient(circle at 50% 50%,rgba(202,102,224,0) 40%,#ca66e0);border-radius:50%;box-shadow:0 0 %?5?% %?5?% rgba(202,102,224,.5)}.ore .ore-lists .oct-float-item .oct-icon .icon[data-v-512a0e89], .ore .ore-lists .ore-item-nav .oct-icon .icon[data-v-512a0e89], .ore .ore-lists .ore-item .oct-icon .icon[data-v-512a0e89], .ore .ore-lists .oct-login .oct-icon .icon[data-v-512a0e89]{margin-top:%?10?%;height:%?38?%;width:%?38?%}.ore .ore-lists .ore-item-nav[data-v-512a0e89]{right:%?30?%;top:12%}.ore .ore-lists .oct-login[data-v-512a0e89]{left:42%;top:45%}.task-block[data-v-512a0e89]{white-space:nowrap;margin-bottom:%?30?%}.task-block .item[data-v-512a0e89]{background:#2b2449;display:inline-block;margin-left:%?30?%;width:%?260?%;border-radius:%?20?%;text-align:center;padding:%?20?% %?15?%}.task-block .item[data-v-512a0e89]:first-child{margin-left:%?30?%}.task-block .item[data-v-512a0e89]:last-child{margin-right:%?30?%}.task-block .item .icon[data-v-512a0e89]{display:inline-block;margin:%?15?% 0;width:%?98?%;height:%?98?%;line-height:%?98?%;background:#1f183d;border-radius:50%;text-align:center}.task-block .item .icon uni-image[data-v-512a0e89]{width:%?56?%;height:%?56?%;vertical-align:middle}.task-block .item .text[data-v-512a0e89]{font-size:%?26?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}.task-block .item .title[data-v-512a0e89]{font-size:%?30?%;color:#fff;font-weight:700;line-height:%?50?%}.task-block .item .submit-title[data-v-512a0e89]{font-size:%?22?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}',""]),t.exports=e},"163c":function(t,e,n){t.exports=n.p+"static/media/crystal.826fc717.mp3"},"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"2bb4":function(t,e,n){"use strict";n.r(e);var i=n("a752"),r=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},"2c06":function(t,e,n){var i=n("7a54");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("482afed3",i,!0,{sourceMap:!1,shadowMode:!1})},"2ec7":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.canvasId?n("v-uni-view",{staticClass:"l-f2",style:t.customStyle},[t.isMask?n("v-uni-cover-view",{staticClass:"l-f2__mask"}):t._e(),t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{type:"2d",id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{width:t.nodeWidth,height:t.nodeHeight,"canvas-id":t.canvasId,id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}),t.isCloud?n("v-uni-view",{staticStyle:{width:"2048px",height:"2048px",position:"fixed",left:"9999px"}},[t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{type:"2d","canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{"canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}})],1):t._e()],1):t._e()},a=[]},"35b3":function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"3c48":function(t,e,n){"use strict";function i(t,e){t=t.split("."),e=e.split(".");var n=Math.max(t.length,e.length);while(t.lengtha)return 1;if(r1&&void 0!==e[1]?e[1]:null,i.next=3,n.getContext(n.canvasId);case 3:if(r=i.sent,!n.isCloud){i.next=17;break}if(a=null,!n.imageMask){i.next=13;break}return n.isMask=!0,i.next=10,n.getImageMask(r);case 10:a=i.sent,n.imageData=a,n.isMask=!1;case 13:return i.next=15,n.getContext(n.canvasId+"_cloud");case 15:s=i.sent,r=Object.assign({},r,{cloud:s,imageMask:a});case 17:return i.next=19,t(r);case 19:o=i.sent,o&&(o.repaint(),n.chart=o,n.canvasEl=o.get("el"),n.isInited=!0);case 21:case"end":return i.stop()}}),i)})))()},changeData:function(t){this.chart&&this.chart.changeData(t||this.source)},clear:function(){this.chart&&this.chart.clear()},destroy:function(){this.chart&&this.chart.destroy()},repaint:function(){this.changeData(this.source)},reset:function(t){var e=this;this.$watch("isInited",(function(n){return n&&t(e.chart)}),{immediate:!0})},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.use2dCanvas,i=this.canvasId,r=this.config;return new Promise((function(a,s){var o=Object.assign({canvasId:i,success:a,fail:s},e);if(n){var l=r[i].canvas;delete o.canvasId,o.canvas=l}uni.canvasToTempFilePath(o,t)}))},getImageMask:function(t){var e=this;return new Promise((function(n){uni.getImageInfo({src:e.imageMask,success:function(){var i=(0,r.default)(regeneratorRuntime.mark((function i(a){var s,o,l,c,u,h;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!a.path){i.next=17;break}if(s=t.context,o=t.width,l=t.height,c=t.canvas,!e.use2dCanvas){i.next=7;break}u=function(){var t=c.createImage();t.crossOrigin="",t.src=a.path,t.onload=(0,r.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.drawImage(t,0,0,a.width,a.height,0,0,o,l),i=s.getImageData(0,0,o,l).data,s.clearRect(0,0,o,l),n(i);case 4:case"end":return e.stop()}}),e)})))},u(),i.next=17;break;case 7:return s.drawImage(a.path,0,0,a.width,a.height,0,0,o,l),i.next=10,e.canvasDraw(s);case 10:return i.next=12,s.getImageData(0,0,o,l);case 12:return h=i.sent,s.clearRect(0,0,o,l),i.next=16,e.canvasDraw(s);case 16:n(h);case 17:case"end":return i.stop()}}),i)})));function a(t){return i.apply(this,arguments)}return a}(),fail:function(t){console.error(JSON.stringify(t)),n(null)}})}))},canvasDraw:function(t){return new Promise((function(e){t.draw(!1,(function(){setTimeout((function(){e(!0)}),100)}))}))},getContext:function(t){var e,n=this,i=this.use2dCanvas,r=this.type,o=void 0===r?"2d":r,l=this.config;return(null===(e=l[t])||void 0===e?void 0:e.context)?Promise.resolve(l[t]):new Promise(i?function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).fields({node:!0,size:!0}).exec((function(i){var r=i[0],l=r.node,c=r.width,u=r.height;c=c||300,u=u||300;var h=l.getContext(o);t.includes("_cloud")||(n.width=c,n.height=u),l.width=c*s.pixelRatio,l.height=u*s.pixelRatio,n.config[t]={context:(0,a.default)(h),width:c,height:u,pixelRatio:s.pixelRatio,canvas:l},e(n.config[t])}))}:function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).boundingClientRect().exec((function(i){if(i){var r=i[0],o=r.width,l=r.height;o=o||300,l=l||300;var c=uni.createCanvasContext(t,n);t.includes("_cloud")||(n.width=o,n.height=l),n.config[t]={context:(0,a.default)(c),width:o,height:l,pixelRatio:s.pixelRatio},e(n.config[t])}}))})},touchStart:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchstart",(0,s.wrapEvent)(t))},touchMove:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchmove",(0,s.wrapEvent)(t))},touchEnd:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchend",(0,s.wrapEvent)(t))}}};e.default=o},"6b934":function(t,e,n){var i=n("23e7"),r=Math.log,a=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*a}})},"6c57":function(t,e,n){var i=n("23e7"),r=n("da84");i({global:!0},{globalThis:r})},7039:function(t,e,n){var i=n("23e7"),r=n("d039"),a=n("057f").f,s=r((function(){return!Object.getOwnPropertyNames(1)}));i({target:"Object",stat:!0,forced:s},{getOwnPropertyNames:a})},"7a54":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-2a6a561c]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-2a6a561c]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-2a6a561c]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-2a6a561c]{padding-top:0}.vertical[data-v-2a6a561c]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-2a6a561c]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-2a6a561c]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-2a6a561c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-toast[data-v-2a6a561c]{position:fixed;z-index:-1;transition:opacity .3s;text-align:center;color:#fff;border-radius:%?8?%;background:#585858;\ndisplay:flex;flex-direction:row;\nalign-items:center;justify-content:center;font-size:%?28?%;opacity:0;pointer-events:none;padding:%?18?% %?40?%}.u-toast.u-show[data-v-2a6a561c]{opacity:1}.u-icon[data-v-2a6a561c]{margin-right:%?10?%;\ndisplay:flex;flex-direction:row;\nalign-items:center;line-height:normal}.u-position-center[data-v-2a6a561c]{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:70%}.u-position-top[data-v-2a6a561c]{left:50%;top:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-position-bottom[data-v-2a6a561c]{left:50%;bottom:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-type-primary[data-v-2a6a561c]{color:#2979ff;background-color:#ecf5ff;border:1px solid #d7eafe}.u-type-success[data-v-2a6a561c]{color:#19be6b;background-color:#dbf1e1;border:1px solid #bef5c8}.u-type-error[data-v-2a6a561c]{color:#fa3534;background-color:#fef0f0;border:1px solid #fde2e2}.u-type-warning[data-v-2a6a561c]{color:#f90;background-color:#fdf6ec;border:1px solid #faecd8}.u-type-info[data-v-2a6a561c]{color:#909399;background-color:#f4f4f5;border:1px solid #ebeef5}.u-type-default[data-v-2a6a561c]{color:#fff;background-color:#585858}',""]),t.exports=e},"89ef":function(t,e,n){var i=n("24fb"),r=n("1de5"),a=n("57dc");e=i(!1);var s=r(a);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"8ae7":function(t,e){t.exports="data:image/png;base64,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"},"8ba4":function(t,e,n){var i=n("23e7"),r=n("5e89");i({target:"Number",stat:!0},{isInteger:r})},"8c28":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uIcon:n("08da").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-toast",class:[t.isShow?"u-show":"","u-type-"+t.tmpConfig.type,"u-position-"+t.tmpConfig.position],style:{zIndex:t.uZIndex}},[n("v-uni-view",{staticClass:"u-icon-wrap"},[t.tmpConfig.icon?n("u-icon",{staticClass:"u-icon",attrs:{name:t.iconName,size:30,color:t.tmpConfig.type}}):t._e()],1),n("v-uni-text",{staticClass:"u-text"},[t._v(t._s(t.tmpConfig.title))])],1)},a=[]},"93f3":function(t,e,n){"use strict";var i=n("fe87"),r=n.n(i);r.a},9769:function(t,e){t.exports="data:image/png;base64,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"},"99ac":function(t,e,n){"use strict";var i=n("a9a0"),r=n.n(i);r.a},"9e2c":function(t,e,n){"use strict";var i=n("4ea4");n("4160"),n("b64b"),n("d3b7"),n("e25e"),n("ac1f"),n("5319"),n("1276"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("2909")),a=n("3c48"),s={fillStyle:"FillStyle",fontSize:"FontSize",globalAlpha:"GlobalAlpha",opacity:"GlobalAlpha",lineCap:"LineCap",lineJoin:"LineJoin",lineWidth:"LineWidth",miterLimit:"MiterLimit",strokeStyle:"StrokeStyle",textAlign:"TextAlign",textBaseline:"TextBaseline",shadow:"Shadow",font:"FontSize"};function o(t){for(var e=0,n=0;n0&&t.charCodeAt(n)<128?e++:e+=2;return e}var l=/(\d*\.?\d*)px/,c=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])\b/g,u=function(t){return t.uniTransform=t.transform,t.transform=function(){for(var e=arguments.length,n=new Array(e),i=0;i6&&n.pop(),t.uniTransform.apply(t,n)},t.getImageData||(t.getImageData=function(){for(var e=arguments.length,n=new Array(e),i=0;i=0&&this.tmpConfig.icon){var t=this.$u.type2icon(this.tmpConfig.type);return t}},uZIndex:function(){return this.isShow?this.zIndex?this.zIndex:this.$u.zIndex.toast:"999999"}},methods:{show:function(t){var e=this;this.tmpConfig=this.$u.deepMerge(this.config,t),this.timer&&(clearTimeout(this.timer),this.timer=null),this.isShow=!0,this.timer=setTimeout((function(){e.isShow=!1,clearTimeout(e.timer),e.timer=null,"function"===typeof e.tmpConfig.callback&&e.tmpConfig.callback(),e.timeEnd()}),this.tmpConfig.duration)},hide:function(){this.isShow=!1,this.timer&&(clearTimeout(this.timer),this.timer=null)},timeEnd:function(){if(this.tmpConfig.url){if("/"!=this.tmpConfig.url[0]&&(this.tmpConfig.url="/"+this.tmpConfig.url),Object.keys(this.tmpConfig.params).length){var t="";/.*\/.*\?.*=.*/.test(this.tmpConfig.url)?(t=this.$u.queryParams(this.tmpConfig.params,!1),this.tmpConfig.url=this.tmpConfig.url+"&"+t):(t=this.$u.queryParams(this.tmpConfig.params),this.tmpConfig.url+=t)}this.tmpConfig.isTab?uni.switchTab({url:this.tmpConfig.url}):uni.navigateTo({url:this.tmpConfig.url})}else this.tmpConfig.back&&this.$u.route({type:"back"})}}};e.default=i},a9a0:function(t,e,n){var i=n("89ef");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("2acee188",i,!0,{sourceMap:!1,shadowMode:!1})},ac42:function(t,e,n){"use strict";var i=n("2c06"),r=n.n(i);r.a},b222:function(t,e,n){"use strict";var i=n("5265"),r=n.n(i);r.a},bc30:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uniIcons:n("f1a7").default,uToast:n("4d12").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"total"},[i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("walletProperty")}}},[i("v-uni-image",{attrs:{src:n("e547")}}),t._v(t._s(t.isAuth?"能量球"+t.account.coin:"查看能量球"))],1),i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("Fragment")}}},[i("v-uni-image",{attrs:{src:n("9769")}}),t._v(t._s(t.isAuth?"能量碎片"+t.account.crystal:"查看能量碎片"))],1)],1),i("v-uni-view",{staticClass:"ore"},[i("v-uni-image",{staticClass:"ore-back",attrs:{src:n("fa4b"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"ball"},[i("v-uni-view",{staticClass:"shadow"})],1),t.isAuth?[i("v-uni-view",{staticClass:"ore-lists"},[t._l(t.crystalArr,(function(e,r){return i("v-uni-view",{key:r,staticClass:"oct-float ore-item",style:{left:e.left+"%",top:e.top+"%"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ledCrystal(r)}}},[null!==e.amount?[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v(t._s(e.amount||"-"))])]:t._e()],2)})),i("v-uni-view",{staticClass:"oct-float ore-item-nav",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issueGoosd.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("8ae7"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("发权证"),i("uni-icons",{attrs:{type:"arrowright",color:"#FFFFFF",size:"12"}})],1)],1)],2)]:[i("v-uni-view",{staticClass:"ore-lists"},[i("v-uni-view",{staticClass:"oct-float oct-login",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"Login"})}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("登录后领取")])],1)],1)]],2),i("v-uni-scroll-view",{staticClass:"task-block",attrs:{"scroll-x":"true"}},t._l(t.categoryArr,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.JumpUrl(e.url,e.title)}}},[i("v-uni-view",{staticClass:"text nowrap"},[t._v(t._s(e.sub_title))]),i("v-uni-view",{staticClass:"icon"},[i("v-uni-image",{attrs:{src:e.cover}})],1),i("v-uni-view",{staticClass:"title nowrap"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"submit-title nowrap"},[t._v("能量碎片"+t._s(e.tips))])],1)})),1),i("v-uni-view",{staticClass:"situation"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("平台能量球余量"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("balance")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.balance))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("上期发放能量球"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("up")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.up))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("当前能量球价值"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("up")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.up))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("昨日瓜分能量碎片"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("score")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.score))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("区块链高度"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("height")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.height))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("已开通节点数"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("number")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.number))])],1)],1),i("v-uni-view",{staticClass:"chart"},[i("v-uni-view",{staticClass:"title"},[t._v("累计盈利和能量球价值走势图")]),i("v-uni-view",{staticClass:"chart-f2"},[i("l-f2",{ref:"chartChange"})],1)],1),i("u-toast",{ref:"uToast"})],1)],1)},a=[]},bd2e:function(t,e,n){"use strict";var i=n("fff7"),r=n.n(i);r.a},bff0:function(t,e,n){"use strict";var i=n("4ea4");n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("60bc"),a=i(n("e75e")),s=i(n("f052")),o={components:{lF2:s.default},data:function(){return{isAuth:!1,chains:{balance:0,height:0,number:0,score:0,up:0},account:{coin:0,crystal:0},crystalArr:[],allIds:[],categoryArr:[],help:{},userAuth:{certification:!1,company:!1,vip:!1}}},onShow:function(){this.isAuth=""!=this.$store.state.token,this.getIndex()},methods:{showHelp:function(t){uni.showModal({title:"提示",content:this.help[t],showCancel:!1,confirmColor:"#8b64fd"})},navAccount:function(t){this.isAuth?this.$Router.push({name:t}):this.$Router.push({name:"Login"})},issueGoosd:function(){var t=this,e="",n="";this.userAuth.certification&&this.userAuth.company&&this.userAuth.vip?this.$Router.push({name:"goodsManagement"}):(this.userAuth.certification||(e="暂未完成个人认证,无法发布商品权证",n="Personal"),this.userAuth.company||(e="暂未开通平台会员节点,无法发布商品权证",n="vipIndex"),this.userAuth.vip||(e="企业未认证或企业认证审核中,无法发布商品权证",n="User"),uni.showModal({title:"提示",content:e,cancelColor:"#555",cancelText:"稍后",confirmText:"vipIndex"===n?"去开通":"去认证",confirmColor:"#8b64fd",success:function(e){e.confirm&&t.$Router.push({name:n})}}))},ledCrystal:function(t){var e=this,i=uni.createInnerAudioContext();i.autoplay=!0,i.src=n("163c"),(0,r.thawlog)({thaw_id:this.crystalArr[t].log_id,all_ids:this.allIds}).then((function(i){uni.showToast({image:n("9769"),title:"+"+e.crystalArr[t].amount,duration:2e3}),e.$set(e.account,"crystal",i.crystal),e.ids=i.all_ids,"[]"!==JSON.stringify(i.last)?e.$set(e.crystalArr,t,i.last):e.$set(e.crystalArr,t,{amount:null})})).catch((function(t){uni.showToast({icon:"none",title:t})}))},getIndex:function(){var t=this;Promise.all([(0,r.crystals)(),(0,r.chain)()]).then((function(e){var n=e[0],i=e[1];n.needLogin||(t.account={coin:n.coin,crystal:n.crystal},t.userAuth={certification:n.is_certification,company:n.is_company,vip:n.is_vip},t.crystalArr=n.crystal_array,t.allIds=n.all_ids),t.chains=i.data,t.categoryArr=i.tasks,t.help=i.help,t.showCartc(i.movement)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},showCartc:function(t){console.log(t),this.$refs.chartChange.init((function(e){e.appendPadding=[10,30,10,15];var n=new a.default.Chart(e);return n.source(t,{date:{range:[0,1],type:"timeCat",mask:"MM-DD"},value:{tickCount:0}}),n.legend({position:"bottom",offsetY:0,offsetX:30}),n.area().position("date*value").color("name",["#5881d3","#ca66e0"]).shape("smooth"),n.line().position("date*value").color("name",["#5881d3","#ca66e0"]).shape("smooth",(function(t){return"预期收益率"===t||"实际收益率"===t?"line":void 0})),n.render(),n}))},JumpUrl:function(t,e){var n=t.openType;switch(n){case"switchTab":this.$Router.pushTab({name:t.path});break;case"web":window.location.href=t.path;break;case"navigateTo":this.$Router.push({name:t.path});break}}}};e.default=o},c35a:function(t,e,n){var i=n("23e7"),r=n("7e12");i({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},c999:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 星球旋转 */.ball[data-v-512a0e89]{position:absolute;height:%?480?%;width:%?480?%;top:50%;left:50%;margin-top:%?-240?%;margin-left:%?-240?%;border-radius:50%;-webkit-transform-style:preserve-3d;background:url(/static/background/chain-back-02.png) repeat-x;\n\t/* background-size: auto 100%; */background-size:%?1616?%;-webkit-animation:move-map-data-v-512a0e89 60s infinite linear;-moz-animation:move-map-data-v-512a0e89 60s infinite linear;-o-animation:move-map-data-v-512a0e89 60s infinite linear;-ms-animation:move-map-data-v-512a0e89 60s infinite linear;animation:move-map-data-v-512a0e89 60s infinite linear;box-shadow:0 0 %?50?% %?50?% rgba(31,25,34,.2)}.shadow[data-v-512a0e89]{position:absolute;top:1%;left:5%;width:90%;height:90%;border-radius:50%;-webkit-filter:blur(5px);filter:blur(5px);z-index:3;background:radial-gradient(circle at 50% 0,hsla(0,0%,100%,.6),hsla(0,0%,100%,0) 58%)}.ball[data-v-512a0e89]:before,\n.ball[data-v-512a0e89]::after{position:absolute;top:0;left:0;content:"";width:100%;height:100%;border-radius:50%;-webkit-filter:blur(5px);filter:blur(5px);z-index:2}.ball[data-v-512a0e89]:before{background:radial-gradient(circle at 100% 50%,#5881d3,hsla(0,0%,100%,0) 45%)}.ball[data-v-512a0e89]::after{background:radial-gradient(circle at 0 50%,#ca66e0,hsla(0,0%,100%,0) 45%)}@-webkit-keyframes move-map-data-v-512a0e89{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}@-ms-keyframes move-map-data-v-512a0e89{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}@keyframes move-map-data-v-512a0e89{0%{background-position:%?-1616?% 0}100%{background-position:0 0}}\n/* 水晶漂浮动画 */.oct-float[data-v-512a0e89]{-webkit-animation:4s octfloat-data-v-512a0e89 infinite;animation:4s octfloat-data-v-512a0e89 infinite}@-webkit-keyframes octfloat-data-v-512a0e89{0%{margin-top:0}50%{margin-top:%?10?%}100%{margin-top:0}}@keyframes octfloat-data-v-512a0e89{0%{margin-top:0}50%{margin-top:%?10?%}100%{margin-top:0}}',""]),t.exports=e},caa6:function(t,e,n){"use strict";var i=n("4ea4");n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("e437")),a={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:r.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=a},cb29:function(t,e,n){var i=n("23e7"),r=n("81d5"),a=n("44d2");i({target:"Array",proto:!0},{fill:r}),a("fill")},d1a6:function(t,e,n){"use strict";n.r(e);var i=n("bc30"),r=n("62f9");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("b222"),n("bd2e");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"512a0e89",null,!1,i["a"],s);e["default"]=l.exports},dca8:function(t,e,n){var i=n("23e7"),r=n("bb2f"),a=n("d039"),s=n("861d"),o=n("f183").onFreeze,l=Object.freeze,c=a((function(){l(1)}));i({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(t){return l&&s(t)?l(o(t)):t}})},e437:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=i},e547:function(t,e){t.exports="data:image/png;base64,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"},e75e:function(t,e,n){(function(t){n("a4d3"),n("e01a"),n("d28b"),n("99af"),n("cb29"),n("4de4"),n("4160"),n("a630"),n("caad"),n("c975"),n("d81d"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("a434"),n("6c57"),n("6b934"),n("a9e3"),n("35b3"),n("8ba4"),n("c35a"),n("dca8"),n("7039"),n("3410"),n("b64b"),n("131a"),n("d3b7"),n("acd8"),n("e25e"),n("4d63"),n("ac1f"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("1276"),n("159b"),n("ddb0"),function(t,n){n(e)}(0,(function(e){"use strict";var n=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},i=function(t,e){if(!n(t))return t;for(var i=[],r=0;r-1})(e,t)||e.push(t)})),e};function v(t){if(n(t))return t[0]}function m(t){if(n(t))return t[t.length-1]}var y=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},x=function(t){return a(t,"Number")},b=function(t){return o(t)?"":t.toString()},w=function(t){var e=b(t);return e.charAt(0).toLowerCase()+e.substring(1)};function _(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var S=function(t){var e=b(t);return e.charAt(0).toUpperCase()+e.substring(1)},C={}.toString,k=function(t){return a(t,"Boolean")},M=function(t){return a(t,"Date")},P=Object.prototype;function A(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function T(t,e,n,i){return e&&A(t,e),n&&A(t,n),i&&A(t,i),t}function I(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(e.hasOwnProperty(r)){var a=e[r];null!==a&&d(a)?(d(t[r])||(t[r]={}),n0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),M(t)&&(t=t.getTime()),t}var dt=Object.freeze({__proto__:null,Array:W,upperFirst:S,lowerFirst:w,isString:p,isNumber:x,isBoolean:k,isFunction:s,isDate:M,isArray:l,isNil:o,isObject:c,isPlainObject:d,isEqual:F,deepMix:D,mix:T,each:u,uniq:g,find:function(t,e){if(!l(t))return null;var n;if(s(e)&&(n=e),d(e)&&(n=function(t){return function(t,e){var n=h(e),i=n.length;if(o(t))return!i;for(var r=0;r=0;return n?r?2*Math.PI-i:i:r?i:2*Math.PI-i},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},clone:function(t){return[t[0],t[1]]},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},transformMat2d:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}},Pt=[1,0,0,1,0,0],At=function(){var t=e.prototype;function e(t){var e,n;this._initDefaultCfg(),T(this,t),this.plot?(e=this.plot.bl,n=this.plot.tr,this.start=e,this.end=n):(e=this.start,n=this.end),this.init(e,n)}return t._initDefaultCfg=function(){},t._scale=function(t,e){var n=this.matrix,i=this.center;kt.translate(n,n,[i.x,i.y]),kt.scale(n,n,[t,e]),kt.translate(n,n,[-i.x,-i.y])},t.init=function(t,e){this.matrix=[].concat(Pt),this.center={x:(e.x-t.x)/2+t.x,y:(e.y-t.y)/2+t.y},this.scale&&this._scale(this.scale[0],this.scale[1])},t.convertPoint=function(t){var e=this._convertPoint(t),n=e.x,i=e.y;if(!kt.isChanged(this.matrix))return{x:n,y:i};var r=[n,i];return Mt.transformMat2d(r,r,this.matrix),{x:r[0],y:r[1]}},t.invertPoint=function(t){return this._invertPoint(t)},t._convertPoint=function(t){return t},t._invertPoint=function(t){return t},t.reset=function(t){this.plot=t;var e=t.bl,n=t.tr;this.start=e,this.end=n,this.init(e,n)},e}(),Tt=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="cartesian",this.transposed=!1,this.isRect=!0},n.init=function(e,n){t.prototype.init.call(this,e,n),this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},n._convertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y;return{x:r.start+(r.end-r.start)*t[n],y:a.start+(a.end-a.start)*t[i]}},n._invertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y,s={};return s[n]=(t.x-r.start)/(r.end-r.start),s[i]=(t.y-a.start)/(a.end-a.start),s},e}(At);function It(t,e){return p(e)?e:t.invert(t.scale(e))}At.Cartesian=Tt,At.Rect=Tt;var Dt=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,i=this.callback;if(t.callback){var r=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),a=0;aa&&(a=u)}(re.max)&&e.change({min:r,max:a})},n._sort=function(t){var e=this.getXScale(),n=e.field,i=e.type;"identity"!==i&&e.values.length>1&&u(t,(function(t){t.sort((function(t,r){return"timeCat"===i?ft(t._origin[n])-ft(r._origin[n]):e.translate(t._origin[n])-e.translate(r._origin[n])}))})),this.set("hasSorted",!0),this.set("dataArray",t)},n.paint=function(){var t=this.get("mappingData"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this._beforeMapping(t);for(var i=0,r=t.length;i5?c:h,u=t.slice(0,5).map((function(t){var e=t._origin;return i.getText(e[i.field])+":"+r.getText(e[r.field])}));e.push(_(o,{index:n+1,count:a,part:3,name:s[p.field],values:u.join(" ")}))}}}))}t.set("ariaLabel",e.join(""))}},n.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},n.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return this.get("startOnZero")?n<=0&&e<=0?n:e>=0?e:0:e},n._normalizeValues=function(t,e){var n=[];if(l(t))for(var i=0,r=t.length;ie);r++){if(i[i.length-1][1]<=e){r=i.length-1;break}if(i[r][0]<=e&&i[r][1]>e)break}}else{(i=t.values).sort((function(t,e){return t-e}));for(var o=i.length;re)&&!((i[r-1]+i[r])/2<=e&&(i[r+1]+i[r])/2>e);r++)if((i[i.length-2]+i[i.length-1])/2<=e){r=i.length-1;break}}return i[r]},n.getSnapRecords=function(t){var e=this,n=e.get("coord"),i=e.getXScale(),r=e.getYScale(),a=i.field,s=e.get("dataArray");this.get("hasSorted")||this._sort(s);var c=[],u=n.invertPoint(t),h=u.x;e.isInCircle()&&!n.transposed&&h>(1+i.rangeMax())/2&&(h=i.rangeMin());var f=i.invert(h);i.isCategory||(f=e._getSnap(i,f));var d=[];if(s.forEach((function(t){t.forEach((function(t){var n=o(t._origin)?t[a]:t._origin[a];e._isEqual(n,f,i)&&d.push(t)}))})),this.hasAdjust("stack")&&n.isPolar&&n.transposed){if(h>=0&&h<=1){var p=r.invert(u.y);p=e._getSnap(r,p,d),d.forEach((function(t){(l(p)?t._originY.toString()===p.toString():t._originY===p)&&c.push(t)}))}}else c=d;return c},n.getRecords=function(t){var e=this,n=this.getXScale(),i=this.get("dataArray"),r=n.field;return i.map((function(i){for(var a=i.length-1;a>=0;a--){var s=i[a],l=o(s._origin)?s[r]:s._origin[r];if(e._isEqual(l,t,n))return s}return null}))},n._isEqual=function(t,e,n){return"timeCat"===n.type?ft(t)===e:e===t},n.position=function(t){return this._setAttrOptions("position",{field:t}),this},n.color=function(t,e){return this._createAttrOption("color",t,e,mt.colors),this},n.size=function(t,e){return this._createAttrOption("size",t,e,mt.sizes),this},n.shape=function(t,e){var n=this.get("type"),i=mt.shapes[n]||[];return this._createAttrOption("shape",t,e,i),this},n.style=function(t,e){var n,i=this.get("styleOptions");return i||(i={},this.set("styleOptions",i)),c(t)&&(e=t,t=null),t&&(n=Zt(t)),i.fields=n,i.style=e,this},n.adjust=function(t){return p(t)&&(t={type:t}),this.set("adjust",t),this},n.animate=function(t){return this.set("animateCfg",t),this},n.changeData=function(t){this.set("data",t),this.set("scales",{}),this.get("isInit")&&(this.set("isInit",!1),this.init())},n.clearInner=function(){var t=this.get("container");t&&t.clear()},n.reset=function(){this.set("isInit",!1),this.set("attrs",{}),this.set("attrOptions",{}),this.set("adjust",null),this.clearInner()},n.clear=function(){this.clearInner()},n.destroy=function(){this.set("isInit",!1),this.clear(),t.prototype.destroy.call(this)},n._display=function(t){this.set("visible",t);var e=this.get("container"),n=e.get("canvas");e.set("visible",t),n.draw()},n.show=function(){this._display(!0)},n.hide=function(){this._display(!1)},e}(St),Qt={};function $t(t){return Qt[t]}function te(t,e){Qt[t]=e}var ee=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){T(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return N(this.ticks,(function(e,n){return c(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return o(i)||!s(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){T(this,this.__cfg__),this.setDomain(),E(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(p(t)){var n=$t(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else s(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return v(this.range)},t.prototype.rangeMax=function(){return m(this.range)},t.prototype.calcPercent=function(t,e,n){return x(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),ne=function(t,e){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -12,4 +12,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */function ie(t,e){function n(){this.constructor=t}ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function re(){for(var t=0,e=0,n=arguments.length;ethis.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}},e}(ee),se=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,oe="[^\\s]+",le=/\[([^]*?)\]/gm;function ce(t,e){for(var n=[],i=0,r=t.length;i-1?i:null}};function he(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},ve=he({},ge),me=function(t){return ve=he(ve,t)},ye=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},xe=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length0?"-":"+")+xe(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+xe(Math.floor(Math.abs(e)/60),2)+":"+xe(Math.abs(e)%60,2)}},we=function(t){return+t-1},_e=[null,"[1-9]\\d?"],Se=[null,oe],ke=["isPm",oe,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],Ce=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],Me={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+oe,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",we],MM:["month","\\d\\d",we],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:_e,dd:_e,ddd:Se,dddd:Se,MMM:["month",oe,ue("monthNamesShort")],MMMM:["month",oe,ue("monthNames")],a:ke,A:ke,ZZ:Ce,Z:Ce},Pe={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ae=function(t){return he(Pe,t)},Te=function(t,e,n){if(void 0===e&&(e=Pe.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var i=[];e=(e=Pe[e]||e).replace(le,(function(t,e){return i.push(e),"@@@"}));var r=he(he({},ve),n);return(e=e.replace(se,(function(e){return be[e](t,r)}))).replace(/@@@/g,(function(){return i.shift()}))};function Ie(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Pe[e]||e,t.length>1e3)return null;var i={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},r=[],a=[],s=e.replace(le,(function(t,e){return a.push(ye(e)),"@@@"})),o={},l={};s=ye(s).replace(se,(function(t){var e=Me[t],n=e[0],i=e[1],a=e[3];if(o[n])throw new Error("Invalid format. "+n+" specified twice in format");return o[n]=!0,a&&(l[a]=!0),r.push(e),"("+i+")"})),Object.keys(l).forEach((function(t){if(!o[t])throw new Error("Invalid format. "+t+" is required in specified format")})),s=s.replace(/@@@/g,(function(){return a.shift()}));var c=t.match(new RegExp(s,"i"));if(!c)return null;for(var u=he(he({},ve),n),h=1;h0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),M(t)&&(t=t.getTime()),t}var Fe=36e5,Ne=24*Fe,ze=31*Ne,Xe=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",Fe],["HH",6*Fe],["HH",12*Fe],["YYYY-MM-DD",Ne],["YYYY-MM-DD",4*Ne],["YYYY-WW",7*Ne],["YYYY-MM",ze],["YYYY-MM",4*ze],["YYYY-MM",6*ze],["YYYY",380*Ne]];function Re(t,e,n){var i,r=(i=function(t){return t[1]},function(t,e,n,r){for(var a=o(n)?0:n,s=o(r)?t.length:r;a>>1;i(t[l])>e?s=l:a=l+1}return a})(Xe,(e-t)/n)-1,a=Xe[r];return r<0?a=Xe[0]:r>=Xe.length&&(a=m(Xe)),a}var Le=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return ie(e,t),e.prototype.translate=function(t){t=Ee(t);var e=this.values.indexOf(t);return-1===e&&(e=x(t)&&t-1){var i=this.values[n],r=this.formatter;return r?r(i,e):Oe(i,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;u(e,(function(t,n){e[n]=Ee(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(ae),Be=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return ie(e,t),e.prototype.scale=function(t){if(o(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=v(e),i=m(e);nthis.max&&(this.max=i),o(this.minLimit)||(this.min=n),o(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(l(t[0])){for(var n=[],i=0;ithis.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=i(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(ee),je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return ie(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Be);function Ge(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function He(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function We(t,e,n){o(n)&&(n=Math.max.apply(null,t));var i=n;return u(t,(function(t){t>0&&t1&&(i=1),i}var Ve=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return ie(e,t),e.prototype.invert=function(t){var e,n=this.base,i=He(n,this.max),r=this.rangeMin(),a=this.rangeMax()-r,s=this.positiveMin;if(s){if(0===t)return 0;var o=1/(i-(e=He(n,s/n)))*a;if(t=0?1:-1;return Math.pow(a,n)*s},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent;return(Ge(i,t)-Ge(i,n))/(Ge(i,e)-Ge(i,n))},e}(Be),Je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return ie(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):Oe(n,this.mask)},e.prototype.scale=function(e){var n=e;return(p(n)||M(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ee(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(o(e)&&x(e)||(this.min=this.translate(this.min)),o(n)&&x(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],r=1/0,a=r,s=0;u(t,(function(t){var e=Ee(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");r>e?(a=r,r=e):a>e&&(a=e),s1&&(this.minTickInterval=a-r),o(e)&&(this.min=r),o(n)&&(this.max=s)}},e}(je),Ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return ie(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),r=Math.floor(i*(n-1));if(r>=n-1)return m(e);if(r<0)return v(e);var a=e[r],s=r/(n-1);return a+(i-s)/((r+1)/(n-1)-s)*(e[r+1]-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(m(e)!==this.max&&e.push(this.max),v(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tm(e))return 1;var n=0;return u(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(Be),Ze=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return ie(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Ue),Ke={};function Qe(t){return Ke[t]}function $e(t,e){if(Qe(t))throw new Error("type '"+t+"' existed.");Ke[t]=e}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return ie(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&x(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(ee),en=[1,5,2,2.5,4,3],nn=100*Number.EPSILON;function rn(t,e,n,i,r,a){var s=z(e),o=Y(e,t),l=0,c=function(t,e){return(t%e+e)%e}(i,a);return(c=0&&(l=1),1-o/(s-1)-n+l}function an(t,e,n){var i=z(e);return 1-Y(e,t)/(i-1)-n+1}function sn(t,e,n,i,r,a){var s=(t-1)/(a-r),o=(e-1)/(Math.max(a,i)-Math.min(n,r));return 2-Math.max(s/o,o/s)}function on(t,e){return t>=e?2-(t-1)/(e-1):1}function ln(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function cn(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function un(t,e,n,i,r,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===r&&(r=en),void 0===a&&(a=[.25,.2,.5,.05]),"number"!=typeof t||"number"!=typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},o=1;o<1/0;){for(var l=0,c=r;lw)g+=1;else{for(var _=b;_<=w;_+=1){var S=_*(y/o),k=S+y*(f-1),C=y,M=rn(u,r,o,S,k,C),P=ln(t,e,S,k),A=sn(f,n,t,e,S,k),T=a[0]*M+a[1]*P+a[2]*A+1*a[3];T>s.score&&(!i||S<=t&&k>=e)&&(s.lmin=S,s.lmax=k,s.lstep=C,s.score=T)}g+=1}}f+=1}}o+=1}for(var I=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),D=[],Y=s.lmin;Y<=s.lmax;Y+=s.lstep)D.push(Y);var O=I?N(D,(function(t){return Number.parseFloat(t.toFixed(I))})):D;return{min:Math.min(t,v(O)),max:Math.max(e,m(O)),ticks:O}}function hn(t){var e=t.values,n=t.tickInterval,r=t.tickCount,a=e;if(x(n))return i(a,(function(t,e){return e%n==0}));var s=t.min,l=t.max;if(o(s)&&(s=0),o(l)&&(l=e.length-1),x(r)&&r=s&&t<=l})).map((function(t){return e[t]}))}return e.slice(s,l+1)}var fn=Math.sqrt(50),dn=Math.sqrt(10),pn=Math.sqrt(2),gn=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var i,r=this._domain.slice(),a=0,s=this._domain.length-1,o=this._domain[a],l=this._domain[s];return l0?i=vn(o=Math.floor(o/i)*i,l=Math.ceil(l/i)*i,t):i<0&&(i=vn(o=Math.ceil(o*i)/i,l=Math.floor(l*i)/i,t)),i>0?(r[a]=Math.floor(o/i)*i,r[s]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[a]=Math.ceil(o*i)/i,r[s]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var i,r,a,s,o=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),a=new Array(r=Math.ceil(e-t+1));++o=0?(a>=fn?10:a>=dn?5:a>=pn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=fn?10:a>=dn?5:a>=pn?2:1)}function mn(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function yn(t,e,n){var i=mn(t,n,"floor"),r=mn(e,n,"ceil");i=y(i,n),r=y(r,n);for(var a=[],s=i;s<=r;s+=n){var o=y(s,n);a.push(o)}return{min:i,max:r,ticks:a}}function xn(t,e,n){var i,r=t.minLimit,a=t.maxLimit,s=t.min,l=t.max,c=t.tickCount,u=void 0===c?5:c,h=o(r)?o(e)?s:e:r,f=o(a)?o(n)?l:n:a;if(h>f&&(f=(i=[h,f])[0],h=i[1]),u<=2)return[h,f];for(var d=(f-h)/(u-1),p=[],g=0;g1&&(r*=Math.ceil(s)),i&&r31536e6)for(var l=_n(n),c=Math.ceil(a/31536e6),u=o;u<=l+c;u+=c)s.push(Sn(u));else if(a>ze){var h=Math.ceil(a/ze),f=kn(e),d=function(t,e){var n=_n(t),i=_n(e),r=kn(t);return 12*(i-n)+(kn(e)-r)%12}(e,n);for(u=0;u<=d+h;u+=h)s.push(Cn(o,u+f))}else if(a>Ne){var p=(x=new Date(e)).getFullYear(),g=x.getMonth(),v=x.getDate(),m=Math.ceil(a/Ne),y=function(t,e){return Math.ceil((e-t)/Ne)}(e,n);for(u=0;uFe){p=(x=new Date(e)).getFullYear(),g=x.getMonth(),m=x.getDate();var x,b=x.getHours(),w=Math.ceil(a/Fe),_=function(t,e){return Math.ceil((e-t)/Fe)}(e,n);for(u=0;u<=_+w;u+=w)s.push(new Date(p,g,m,b+u).getTime())}else if(a>6e4){var S=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),k=Math.ceil(a/6e4);for(u=0;u<=S+k;u+=k)s.push(e+6e4*u)}else{var C=a;C<1e3&&(C=1e3);var M=1e3*Math.floor(e/1e3),P=Math.ceil((n-e)/1e3),A=Math.ceil(C/1e3);for(u=0;u=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s})),te("log",(function(t){var e,n=t.base,i=t.tickCount,r=t.min,a=t.max,s=t.values,o=He(n,a);if(r>0)e=Math.floor(He(n,r));else{var l=We(s,n,a);e=Math.floor(He(n,l))}for(var c=o-e,u=Math.ceil(c/i),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n}))})),te("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],a=0;a=n?r[r.length-1]=s:r.push(s)),r},Pn=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function An(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function Tn(t){var e=t.interval,n=t.tickCount,i=t.max,r=t.min;return Math.floor(r/e)*e+(n-1)*e>=i}function In(t){var e=t.toString(),n=e.indexOf("."),i=e.indexOf("e-"),r=i>=0?parseInt(e.substr(i+2),10):e.substr(n+1).length;return r>20&&(r=20),r}function Dn(t,e){return parseFloat(t.toFixed(e))}var Yn=Qe("linear"),On=Qe("identity"),En=Qe("category"),Fn=Qe("timeCat");function Nn(t){Object.keys(t).forEach((function(e){delete t[e]}))}te("cat",Mn),te("time-cat",Mn),te("wilkinson-extended",(function(t){var e=t||{},n=e.tickCount,i=e.tickInterval,r=t||{},a=r.min,s=r.max;a=isNaN(a)?0:a,s=isNaN(s)?0:s;var o=n&&n>=2?n:5,l=i||function(t){var e=t.tickCount,n=t.min,i=t.max;if(n===i)return 1*An(i);for(var r=(i-n)/(e-1),a=An(r),s=r/a,o=i/a,l=n/a,c=0,u=0;u0?t.change({min:0}):r<0&&t.change({max:0}))},e.clear=function(){Nn(this.defs),Nn(this.scales),this.data=null},t}(),Xn=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),T(this,t),this.draw()}return t._initDefaultCfg=function(){this.ticks=[],this.tickLine={},this.offsetFactor=1,this.frontContainer=null,this.backContainer=null,this.gridPoints=[]},t.draw=function(){var t=this.line,e=this.tickLine,n=this.label,i=this.grid;i&&this.drawGrid(i),e&&this.drawTicks(e),t&&this.drawLine(t),n&&this.drawLabels()},t.drawTicks=function(t){var e=this,n=e.ticks,i=t.length,r=e.getContainer(t.top);u(n,(function(n){var a=e.getOffsetPoint(n.value),s=e.getSidePoint(a,i);r.addShape("line",{className:"axis-tick",attrs:T({x1:a.x,y1:a.y,x2:s.x,y2:s.y},t)})._id=e._id+"-ticks"}))},t.drawLabels=function(){var t=this,e=t.labelOffset;u(t.labels,(function(n){var i=t.getContainer(n.get("top")),r=t.getOffsetPoint(n.get("value")),a=t.getSidePoint(r,e),s=a.x,o=a.y;n.attr(T({x:s,y:o},t.getTextAlignInfo(r,e),n.get("textStyle"))),n._id=t._id+"-"+n.attr("text"),i.add(n)}))},t.drawLine=function(){},t.drawGrid=function(t){var e=this,n=e.gridPoints,i=e.ticks,r=t,a=n.length;u(n,(function(n,o){if(s(t)){var l=i[o]||{},c=t(l.text,o,a);r=c?T({},mt._defaultAxis.grid,c):null}if(r){var u,h=r.type,f=n.points,d=e.getContainer(r.top);if("arc"===h){var p=e.center,g=e.startAngle,v=e.endAngle,m=Mt.length([f[0].x-p.x,f[0].y-p.y]);u=d.addShape("Arc",{className:"axis-grid",attrs:T({x:p.x,y:p.y,startAngle:g,endAngle:v,r:m},r)})}else u=d.addShape("Polyline",{className:"axis-grid",attrs:T({points:f},r)});u._id=n._id}}))},t.getOffsetPoint=function(){},t.getAxisVector=function(){},t.getOffsetVector=function(t,e){var n=this.getAxisVector(t),i=Mt.normalize([],n),r=this.offsetFactor,a=[-1*i[1]*r,i[0]*r];return Mt.scale([],a,e)},t.getSidePoint=function(t,e){var n=this.getOffsetVector(t,e);return{x:t.x+n[0],y:t.y+n[1]}},t.getTextAlignInfo=function(t,e){var n=this.getOffsetVector(t,e);return{textAlign:n[0]>0?"left":n[0]<0?"right":"center",textBaseline:n[1]>0?"top":n[1]<0?"bottom":"middle"}},t.getContainer=function(t){var e=this.frontContainer,n=this.backContainer;return t?e:n},e}(),Rn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.start=null,this.end=null},n.getOffsetPoint=function(t){var e=this.start,n=this.end;return{x:e.x+(n.x-e.x)*t,y:e.y+(n.y-e.y)*t}},n.getAxisVector=function(){var t=this.start,e=this.end;return[e.x-t.x,e.y-t.y]},n.drawLine=function(t){var e=this.getContainer(t.top),n=this.start,i=this.end;e.addShape("line",{className:"axis-line",attrs:T({x1:n.x,y1:n.y,x2:i.x,y2:i.y},t)})},e}(Xn);Xn.Line=Rn;var Ln=function(){function t(t){this.axisCfg={},this.frontPlot=null,this.backPlot=null,this.axes={},T(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.axisCfg;return!e||!1===e[t]},e._getLinePosition=function(t,e,n,i){var r="",a=t.field,s=this.axisCfg;return s[a]&&s[a].position?r=s[a].position:"x"===e?r=i?"left":"bottom":"y"===e&&(r=n?"right":"left",i&&(r="bottom")),r},e._getLineCfg=function(t,e,n){var i,r,a=1;return"x"===e?(i={x:0,y:0},r={x:1,y:0}):"right"===n?(i={x:1,y:0},r={x:1,y:1}):(i={x:0,y:0},r={x:0,y:1},a=-1),t.transposed&&(a*=-1),{offsetFactor:a,start:t.convertPoint(i),end:t.convertPoint(r)}},e._getCircleCfg=function(t){return{startAngle:t.startAngle,endAngle:t.endAngle,center:t.center,radius:t.circleRadius}},e._getRadiusCfg=function(t){var e,n;return t.transposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(n)}},e._getAxisCfg=function(t,e,n,i,r){var a=this,o=this,l=this.axisCfg,c=e.getTicks(),h=D({ticks:c,frontContainer:this.frontPlot,backContainer:this.backPlot},r,l[e.field]),f=[],d=h.label,p=c.length,g=0,v=0,m=d;return u(c,(function(t,e){if(s(d)){var n=d(t.text,e,p);m=n?T({},mt._defaultAxis.label,n):null}if(m){var i={};m.textAlign&&(i.textAlign=m.textAlign),m.textBaseline&&(i.textBaseline=m.textBaseline);var r=(m.top?a.frontPlot:a.backPlot).addShape("text",{className:"axis-label",aria:!1,attrs:T({x:0,y:0,text:t.text,fontFamily:o.chart.get("canvas").get("fontFamily")},m),value:t.value,textStyle:i,top:m.top,context:o.chart.get("canvas").get("context")});f.push(r);var l=r.getBBox(),c=l.width,u=l.height;g=Math.max(g,c),v=Math.max(v,u)}})),h.labels=f,h.maxWidth=g,h.maxHeight=v,h},e._createAxis=function(t,e,n,i,r){void 0===r&&(r="");var a,s,o,l=t.type,c=t.transposed;if("cartesian"===l||"rect"===l){var u=this._getLinePosition(e,i,r,c);(o=mt.axis[u]).position=u,a="Line",s=u}else"x"===i&&!c||"y"===i&&c?(o=mt.axis.circle,a="Circle",s="circle"):(o=mt.axis.radius,a="Line",s="radius");var h=this._getAxisCfg(t,e,n,i,o);h.type=a,h.dimType=i,h.verticalScale=n,h.index=r,this.axes[s]=h},e.createAxis=function(t,e,n){var i=this;e&&!i._isHide(e.field)&&i._createAxis(t,e,n[0],"x"),u(n,(function(n,r){i._isHide(n.field)||i._createAxis(t,n,e,"y",r)}));var r=this.axes,a=i.chart;if(a._isAutoPadding()){var s=ut(a.get("padding")),l=ut(a.get("appendPadding")),c=a.get("legendRange")||{top:0,right:0,bottom:0,left:0},h=["auto"===s[0]?c.top+2*l[0]:s[0],"auto"===s[1]?c.right+l[1]:s[1],"auto"===s[2]?c.bottom+l[2]:s[2],"auto"===s[3]?c.left+l[3]:s[3]];if(t.isPolar){var f=r.circle;if(f){var d=f.maxHeight,p=f.maxWidth,g=f.labelOffset;h[0]+=d+g,h[1]+=p+g,h[2]+=d+g,h[3]+=p+g}}else{if(r.right&&"auto"===s[1]){var v=r.right,m=v.maxWidth,y=v.labelOffset;h[1]+=m+y}if(r.left&&"auto"===s[3]){var x=r.left,b=x.maxWidth,w=x.labelOffset;h[3]+=b+w}if(r.bottom&&"auto"===s[2]){var _=r.bottom,S=_.maxHeight,k=_.labelOffset;h[2]+=S+k}}a.set("_padding",h),a._updateLayout(h)}u(r,(function(e){var n,r=e.type,a=e.grid,s=e.verticalScale,l=e.ticks,c=e.dimType,h=e.position,f=e.index;if(t.isPolar?"Line"===r?n=i._getRadiusCfg(t):"Circle"===r&&(n=i._getCircleCfg(t)):n=i._getLineCfg(t,c,h),a&&s){var d=[],p=function(t){var e=t.slice(0);if(e.length>0){var n=e[0],i=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==i.value&&e.push({value:1})}return e}(s.getTicks());u(l,(function(e){var n=[];u(p,(function(i){var r="x"===c?e.value:i.value,a="x"===c?i.value:e.value;if(r>=0&&r<=1&&a>=0&&a<=1){var s=t.convertPoint({x:r,y:a});n.push(s)}})),d.push({points:n,_id:"axis-"+c+f+"-grid-"+e.tickValue})})),e.gridPoints=d,t.isPolar&&(e.center=t.center,e.startAngle=t.startAngle,e.endAngle=t.endAngle)}n._id="axis-"+c,o(f)||(n._id="axis-"+c+f),new Xn[r](T(e,n))}))},e.clear=function(){this.axes={},this.frontPlot.clear(),this.backPlot.clear()},t}(),Bn=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.abs(n)>Math.abs(i)?n>0?"right":"left":i>0?"down":"up"},jn=function(t,e){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)},Gn=function(){function t(t){var e=this,n=t.canvas,i=t.el;yt(this,"_click",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEvent("click",t)})),yt(this,"_start",(function(t){var n,i,r=ot(t,e.canvas);r&&(t.points=r,e.emitEvent("touchstart",t),e.reset(),e.startTime=Date.now(),e.startPoints=r,r.length>1?(e.startDistance=jn(r[0],r[1]),e.center=(n=r[0],i=r[1],{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2})):e.pressTimeout=setTimeout((function(){t.direction="none",e.emitStart("press",t),e.emitEvent("press",t),e.eventType="press",e.direction="none"}),250))})),yt(this,"_move",(function(t){var n=ot(t,e.canvas);if(n){e.clearPressTimeout(),t.points=n,e.emitEvent("touchmove",t);var i=e.startPoints;if(i)if(n.length>1){var r=e.startDistance,a=jn(n[0],n[1]);t.zoom=a/r,t.center=e.center,e.emitStart("pinch",t),e.emitEvent("pinch",t)}else{var s=n[0].x-i[0].x,o=n[0].y-i[0].y,l=e.direction||Bn(i[0],n[0]);e.direction=l;var c=e.getEventType(n);t.direction=l,t.deltaX=s,t.deltaY=o,e.emitStart(c,t),e.emitEvent(c,t);var u=e.lastMoveTime,h=Date.now();h-u>0&&(e.prevMoveTime=u,e.prevMovePoints=e.lastMovePoints,e.lastMoveTime=h,e.lastMovePoints=n)}}})),yt(this,"_end",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEnd(t),e.emitEvent("touchend",t);var i=e.lastMoveTime;if(Date.now()-i<100){var r=i-(e.prevMoveTime||e.startTime);if(r>0){var a=e.prevMovePoints||e.startPoints,s=e.lastMovePoints,o=jn(a[0],s[0])/r;o>.3&&(t.velocity=o,t.direction=Bn(a[0],s[0]),e.emitEvent("swipe",t))}}e.reset();var l=t.touches;l&&l.length>0&&e._start(t)})),yt(this,"_cancel",(function(t){e.emitEvent("touchcancel",t),e.reset()})),this.canvas=n,this.delegateEvent(i),this.processEvent={}}var e=t.prototype;return e.delegateEvent=function(t){t.addEventListener("click",this._click),t.addEventListener("touchstart",this._start),t.addEventListener("touchmove",this._move),t.addEventListener("touchend",this._end),t.addEventListener("touchcancel",this._cancel)},e.emitEvent=function(t,e){this.canvas.emit(t,e)},e.getEventType=function(t){var e,n=this.eventType,i=this.canvas,r=this.startTime,a=this.startPoints;if(n)return n;var s=i.__events.pan;return e=s&&s.length?Date.now()-r>250&&jn(a[0],t[0])<10?"press":"pan":"press",this.eventType=e,e},e.enable=function(t){this.processEvent[t]=!0},e.isProcess=function(t){return this.processEvent[t]},e.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(i){e.emitEvent(i+"end",t),delete n[i]}))},e.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},t}(),Hn=function(t){function e(e){var n;return(n=t.call(this)||this).context=e,n.width=0,n.height=0,n.style={},n.currentStyle={},n.attrs={},n.isCanvasElement=!0,n}bt(e,t);var n=e.prototype;return n.getContext=function(){return this.context},n.getBoundingClientRect=function(){return{top:0,right:this.width,bottom:this.height,left:0}},n.setAttribute=function(t,e){this.attrs[t]=e},n.addEventListener=function(t,e){this.on(t,e)},n.removeEventListener=function(t,e){this.off(t,e)},n.dispatchEvent=function(t,e){this.emit(t,e)},e}(_t),Wn=function(t){return t?function(t){if(!t)return!1;if(1!==t.nodeType||!t.nodeName||"canvas"!==t.nodeName.toLowerCase())return!1;var e=!1;try{t.addEventListener("eventTest",(function(){e=!0})),t.dispatchEvent(new Event("eventTest"))}catch(t){e=!1}return e}(t.canvas)?t.canvas:new Hn(t):null};function Vn(t,e){u(t,(function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])}))}function qn(t,e,n){if("("===t[1])try{var i=t[0];if("l"===i)return function(t,e,n){var i,r,a=t.split(" "),s=a[0].slice(2,a[0].length-1);i=parseFloat(s)*Math.PI/180,r=2*Math.PI,s=(i%r+r)%r;var o,l,c=a.slice(1),u=e.getBBox(),h=u.minX,f=u.minY,d=u.maxX,p=u.maxY;s>=0&&s<.5*Math.PI?(o={x:h,y:f},l={x:d,y:p}):.5*Math.PI<=s&&s-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},t.attr=function(t,e){var n=this;if(n.get("destroyed"))return null;var i=arguments.length;if(0===i)return n._attrs.attrs;if(c(t)){for(var r in this._attrs.bbox=null,t)n._setAttr(r,t[r]);return n._afterAttrsSet&&n._afterAttrsSet(),n}return 2===i?(this._attrs.bbox=null,n._setAttr(t,e),n._afterAttrsSet&&n._afterAttrsSet(),n):n._getAttr(t)},t.getParent=function(){return this.get("parent")},t.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},t.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},t.restoreContext=function(t){t.restore()},t.resetContext=function(t){var e=this._attrs.attrs;for(var n in e)if(Un.indexOf(n)>-1){var i=e[n];"fillStyle"!==n&&"strokeStyle"!==n||!i||(i=qn(i,this,t)),"lineDash"===n&&t.setLineDash&&l(i)?t.setLineDash(i):t[n]=i}},t.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},t.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},t.drawInner=function(){},t.show=function(){return this.set("visible",!0),this},t.hide=function(){return this.set("visible",!1),this},t.isVisible=function(){return this.get("visible")},t.getAriaLabel=function(){var t=this._attrs,e=t.destroyed,n=t.visible,i=t.isShape,r=t.aria;if(!e&&n&&(!i||r))return this._getAriaLabel()},t._getAriaLabel=function(){return this._attrs.ariaLabel},t._removeFromParent=function(){var t=this.get("parent");return t&&G(t.get("children"),this),this},t.remove=function(t){t?this.destroy():this._removeFromParent()},t.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},t.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},t.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},t.getMatrix=function(){return this._attrs.attrs.matrix},t.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},t.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=Ct.transform(e,t),this},t.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},t.translate=function(t,e){var n=this._attrs.attrs.matrix;Ct.translate(n,n,[t,e])},t.rotate=function(t){var e=this._attrs.attrs.matrix;Ct.rotate(e,e,t)},t.scale=function(t,e){var n=this._attrs.attrs.matrix;Ct.scale(n,n,[t,e])},t.moveTo=function(t,e){var n=this._attrs.x||0,i=this._attrs.y||0;this.translate(t-n,e-i),this.set("x",t),this.set("y",e)},t.apply=function(t){var e=this._attrs.attrs.matrix;return Mt.transformMat2d(t,t,e),this},t.resetTransform=function(t){var e=this._attrs.attrs.matrix;Ct.isChanged(e)&&t.transform(e[0],e[1],e[2],e[3],e[4],e[5],!0)},t.isDestroyed=function(){return this.get("destroyed")},e}(),Qn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1,isShape:!0,attrs:{}}},n.getType=function(){return this._attrs.type},n.drawInner=function(t){var e=this.get("attrs");this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var i=e.fillOpacity;o(i)||1===i?t.fill():(t.globalAlpha=i,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&e.lineWidth>0){var r=e.strokeOpacity;o(r)||1===r||(t.globalAlpha=r),t.stroke()}},n.getBBox=function(){var t=this._attrs.bbox;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},n.calculateBox=function(){return null},n.createPath=function(){},e}(Kn),$n=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="rect"},n.getDefaultAttrs=function(){return{x:0,y:0,width:0,height:0,radius:0,lineWidth:0}},n.createRadiusPath=function(t,e,n,i,r,a){a=function(t,e,n){if(!((t=ut(t))[0]||t[1]||t[2]||t[3]))return t;var i=Math.max(t[0]+t[1],t[2]+t[3]),r=Math.max(t[0]+t[3],t[1]+t[2]),a=Math.min(e/i,n/r);return a<1?t.map((function(t){return t*a})):t}(a,i,r),t.moveTo(e+a[0],n),t.lineTo(e+i-a[1],n),t.arc(e+i-a[1],n+a[1],a[1],-Math.PI/2,0,!1),t.lineTo(e+i,n+r-a[2]),t.arc(e+i-a[2],n+r-a[2],a[2],0,Math.PI/2,!1),t.lineTo(e+a[3],n+r),t.arc(e+a[3],n+r-a[3],a[3],Math.PI/2,Math.PI,!1),t.lineTo(e,n+a[0]),t.arc(e+a[0],n+a[0],a[0],Math.PI,3*Math.PI/2,!1),t.closePath()},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.width,a=e.height,s=e.radius;t.beginPath(),s&&r*a?this.createRadiusPath(t,n,i,r,a,s):t.rect(n,i,r,a)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},e}(Qn),ti=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!1,this._attrs.canStroke=!1,this._attrs.loading=!1,this._attrs.image=null,this._attrs.type="image"},n.createPath=function(t){var e=this,n=this.get("attrs").src;if(!this.get("loading")){var i=this.get("image");if(i)this.drawImage(t,i);else if(n&&Image){this.set("loading",!0);var r=new Image;r.src=n,r.crossOrigin="Anonymous",r.onload=function(){e.set("loading",!1),e.set("image",r),e.drawImage(t,r)}}}},n.drawImage=function(t,e){var n=this._attrs,i=n.attrs;if(!n.destroyed){var r=i.x,a=i.y,s=i.width,l=i.height,c=i.sx,u=i.sy,h=i.swidth,f=i.sheight,d=i.radius;d&&(t.save(),this.createRadiusPath(t,r,a,s,l,d),t.clip()),o(c)||o(u)||o(h)||o(f)?t.drawImage(e,r,a,s,l):t.drawImage(e,c,u,h,f,r,a,s,l),d&&t.restore()}},e}($n),ei=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="circle"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r;return{minX:e-i,maxX:e+i,minY:n-i,maxY:n+i}},e}(Qn),ni=Mt.create(),ii=Mt.create(),ri=Mt.create();function ai(t,e,n,i,r){var a=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*n+t*(-6*n+3*n*t))*t+(3*i-3*i*t)*a+r*(a*t)}function si(t){for(var e,n,i,r,a,s=1/0,o=-1/0,l=1/0,c=-1/0,u={x:t[0],y:t[1]},h={x:t[2],y:t[3]},f={x:t[4],y:t[5]},d={x:t[6],y:t[7]},p=0;p<100;p++){var g={x:ai(a=p/100,(e=u).x,(n=h).x,(i=f).x,(r=d).x),y:ai(a,e.y,n.y,i.y,r.y)};g.xo&&(o=g.x),g.yc&&(c=g.y)}return{minX:s,minY:l,maxX:o,maxY:c}}function oi(t,e){if(0!==t.length){for(var n=t[0],i=n.x,r=n.x,a=n.y,s=n.y,o=t.length,l=1;l1e-4)return{minX:t-n,minY:e-n,maxX:t+n,maxY:e+n};ni[0]=Math.cos(i)*n+t,ni[1]=Math.sin(i)*n+e,ii[0]=Math.cos(r)*n+t,ii[1]=Math.sin(r)*n+e;var o=[0,0],l=[0,0];if(Mt.min(o,ni,ii),Mt.max(l,ni,ii),(i%=2*Math.PI)<0&&(i+=2*Math.PI),(r%=2*Math.PI)<0&&(r+=2*Math.PI),i>r&&!a?r+=2*Math.PI:ii&&(ri[0]=Math.cos(u)*n+t,ri[1]=Math.sin(u)*n+e,Mt.min(o,ri,o),Mt.max(l,ri,l));return{minX:o[0],minY:o[1],maxX:l[0],maxY:l[1]}}var ci=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.type="line"},n.getDefaultAttrs=function(){return{x1:0,y1:0,x2:0,y2:0,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x1,i=e.y1,r=e.x2,a=e.y2;t.beginPath(),t.moveTo(n,i),t.lineTo(r,a)},n.calculateBox=function(){var t=this.get("attrs");return function(t,e,n,i,r){return r=r/2||0,{minX:Math.min(t,n)-r,minY:Math.min(e,i)-r,maxX:Math.max(t,n)+r,maxY:Math.max(e,i)+r}}(t.x1,t.y1,t.x2,t.y2,t.lineWidth)},e}(Qn),ui=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polygon"},n.getDefaultAttrs=function(){return{points:null,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs").points;t.beginPath();for(var n=0,i=e.length;ni&&(i=l.maxX),l.minYa&&(a=l.maxY)}return{minX:n-(e=e/2||0),minY:r-e,maxX:i+e,maxY:a+e}}(a,i)}return oi(r,i)},e}(Qn),gi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.canFill=!0,this._attrs.type="arc"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r,a=e.startAngle,s=e.endAngle,o=e.anticlockwise;t.beginPath(),a!==s&&t.arc(n,i,r,a,s,o)},n.calculateBox=function(){var t=this.get("attrs");return li(t.x,t.y,t.r,t.startAngle,t.endAngle,t.anticlockwise)},e}(Qn),vi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="sector"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0,r:0,r0:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.startAngle,a=e.endAngle,s=e.r,o=e.r0,l=e.anticlockwise;t.beginPath();var c=Math.cos(r),u=Math.sin(r);t.moveTo(c*o+n,u*o+i),t.lineTo(c*s+n,u*s+i),(Math.abs(a-r)>1e-4||0===r&&a<0)&&(t.arc(n,i,s,r,a,l),t.lineTo(Math.cos(a)*o+n,Math.sin(a)*o+i),0!==o&&t.arc(n,i,o,a,r,!l)),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r,r=t.r0,a=t.startAngle,s=t.endAngle,o=t.anticlockwise,l=li(e,n,i,a,s,o),c=li(e,n,r,a,s,o);return{minX:Math.min(l.minX,c.minX),minY:Math.min(l.minY,c.minY),maxX:Math.max(l.maxX,c.maxX),maxY:Math.max(l.maxY,c.maxY)}},e}(Qn),mi=function(t){var e=t.width,n=t.height,i=t.rotate,r=Math.abs(i);return{width:Math.abs(e*Math.cos(r)+n*Math.sin(r)),height:Math.abs(n*Math.cos(r)+e*Math.sin(r))}},yi=0,xi={},bi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},n.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},n._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,n=t.fontFamily,i=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+i+" "+e+"px "+n},n._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,n=null,i=1;p(e)&&-1!==e.indexOf("\n")&&(i=(n=e.split("\n")).length),t.lineCount=i,t.textArr=n}this.set("attrs",t)},n._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},n._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},n.drawInner=function(t){var e=this._attrs.attrs,n=e.text,i=e.x,r=e.y;if(!(o(n)||isNaN(i)||isNaN(r))){var a=e.textArr,s=1*e.fontSize,l=this._getSpaceingY();e.rotate&&(t.translate(i,r),t.rotate(e.rotate),i=0,r=0);var c,u,h=e.textBaseline;if(a&&(c=this._getTextHeight()),this.hasFill()){var f=e.fillOpacity;if(o(f)||1===f||(t.globalAlpha=f),a)for(var d=0,p=a.length;d5e3&&(yi=0,xi={}),yi++,xi[a]=s,s}},e}(Qn),wi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.createPath=null,this._attrs.type="custom"},n.createPath=function(t){var e=this.get("createPath");e&&e.call(this,t)},n.calculateBox=function(){var t=this.get("calculateBox");return t&&t.call(this)},e}(Qn),_i={circle:function(t,e,n,i){i.arc(t,e,n,0,2*Math.PI,!1)},square:function(t,e,n,i){i.moveTo(t-n,e-n),i.lineTo(t+n,e-n),i.lineTo(t+n,e+n),i.lineTo(t-n,e+n),i.closePath()}},Si=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="marker"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0}},n.createPath=function(t){var e,n=this.get("attrs"),i=n.x,r=n.y,a=n.radius,o=n.symbol||"circle";e=s(o)?o:_i[o],t.beginPath(),e(i,r,a,t,this)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.radius;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},e}(Qn);Qn.Rect=$n,Qn.Image=ti,Qn.Circle=ei,Qn.Line=ci,Qn.Polygon=ui,Qn.Polyline=pi,Qn.Arc=gi,Qn.Sector=vi,Qn.Text=bi,Qn.Custom=wi,Qn.Marker=Si;var ki={},Ci={getGroupClass:function(){},getChildren:function(){return this.get("children")},addShape:function(t,e){void 0===e&&(e={});var n=ki[t];n||(n=S(t),ki[t]=n);var i=new Qn[n](e);return this.add(i),i},addGroup:function(t){var e=new(this.getGroupClass())(t);return this.add(e),e},contain:function(t){return this.get("children").indexOf(t)>-1},sort:function(){for(var t=this.get("children"),e=0,n=t.length;e=r.x&&n<=a.x&&i>=r.y&&i<=s.y}var Fi=Object.freeze({__proto__:null,getClip:Oi,isPointInPlot:Ei});function Ni(t,e){return t-e}var zi=function(t){bt(n,t),n.initPlugins=function(){return{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,s,o=this.descriptors(t),l=o.length;for(i=0;i0;)t.shift().destroy()},e._clearGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e=0&&(e.lineWidth=t.size),T(e,t.style),T({},mt.shape.line,e)}(e);return"dash"===t&&(r.lineDash=mt.lineDash),function(t,e,n,i){var r=t.points;if(r.length&&l(r[0].y)){for(var a=[],s=[],o=0,c=r.length;o1?mt.widthRatio.multiplePie:mt.widthRatio.rose:(n.isLinear&&(s*=a[1]-a[0]),o=mt.widthRatio.column),s*=o,this.hasAdjust("dodge")&&(s/=i.length),t=s,this.set("defaultSize",t)}return t},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),i=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),r=0;return n&&i&&(r=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2))),r},_getWidth:function(){var t=this.get("_width");if(!t){var e=this.get("coord");t=e&&e.isPolar&&!e.transposed?(e.endAngle-e.startAngle)*e.circleRadius:this.getDimWidth("x"),this.set("_width",t)}return t},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return o(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(o(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};function Ki(t){var e,n,i=t.x,r=t.y,a=t.y0,s=t.size,o=a,c=r;return l(r)&&(c=r[1],o=r[0]),l(i)?(e=i[0],n=i[1]):(e=i-s/2,n=i+s/2),[{x:e,y:o},{x:e,y:c},{x:n,y:c},{x:n,y:o}]}jt.registerFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Ki(t)}}),jt.registerShape("interval","rect",{draw:function(t,e){var n=this.parsePoints(t.points),i=T({fill:t.color},mt.shape.interval,t.style);if(t.isInCircle){var r=n.slice(0);this._coord.transposed&&(r=[n[0],n[3],n[2],n[1]]);var a=t.center,s=a.x,o=a.y,l=[1,0],c=[r[0].x-s,r[0].y-o],u=[r[1].x-s,r[1].y-o],h=[r[2].x-s,r[2].y-o],f=Mt.angleTo(l,u),d=Mt.angleTo(l,h),p=Mt.length(c),g=Mt.length(u);return f>=1.5*Math.PI&&(f-=2*Math.PI),d>=1.5*Math.PI&&(d-=2*Math.PI),e.addShape("Sector",{className:"interval",attrs:T({x:s,y:o,r:g,r0:p,startAngle:f,endAngle:d},i)})}var v=function(t){for(var e=[],n=[],i=0,r=t.length;i=0?"positive":"negative";r[d][f]||(r[d][f]=0),c[n]=[r[d][f],h+r[d][f]],r[d][f]+=h}}},i}(qt);qt.Stack=ar;var sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or=function(t){var e=void 0===t?"undefined":sr(t);return null!==t&&"object"===e||"function"===e},lr=function(t,e){if(t)if(ir(t))for(var n=0,i=t.length;ni&&(n=t,i=r)})),n}},fr={merge:function(t){for(var e=[],n=0;n0&&l<=1&&(i*=l),this.x={start:this.startAngle,end:this.endAngle},this.y={start:i*a,end:i},this.center=r,this.circleRadius=i},n._convertPoint=function(t){var e=this.center,n=this.transposed,i=n?"y":"x",r=n?"x":"y",a=this.x,s=this.y,o=a.start+(a.end-a.start)*t[i],l=s.start+(s.end-s.start)*t[r];return{x:e.x+Math.cos(o)*l,y:e.y+Math.sin(o)*l}},n._invertPoint=function(t){var e=this.center,n=this.transposed,i=this.x,r=this.y,a=n?"y":"x",s=n?"x":"y",o=[1,0,0,1,0,0];Ct.rotate(o,o,i.start);var l=[1,0];Mt.transformMat2d(l,l,o),l=[l[0],l[1]];var c=[t.x-e.x,t.y-e.y];if(Mt.zero(c))return{x:0,y:0};var u=Mt.angleTo(l,c,i.end0?f:-f;var d=(h-r.start)/(r.end-r.start),p={};return p[a]=f,p[s]=d,p},e}(At);At.Polar=pr;var gr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.radius=null,this.center=null},n.getOffsetPoint=function(t){var e=this.startAngle,n=e+(this.endAngle-e)*t;return this._getCirclePoint(n)},n._getCirclePoint=function(t,e){var n=this.center;return e=e||this.radius,{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},n.getTextAlignInfo=function(t,e){var n,i=this.getOffsetVector(t,e),r="middle";return i[0]>0?n="left":i[0]<0?n="right":(n="center",i[1]>0?r="top":i[1]<0&&(r="bottom")),{textAlign:n,textBaseline:r}},n.getAxisVector=function(t){var e=this.center,n=this.offsetFactor;return[(t.y-e.y)*n,-1*(t.x-e.x)*n]},n.drawLine=function(t){var e=this.center,n=this.radius,i=this.startAngle,r=this.endAngle;this.getContainer(t.top).addShape("arc",{className:"axis-line",attrs:T({x:e.x,y:e.y,r:n,startAngle:i,endAngle:r},t)})},e}(Xn);Xn.Circle=gr;var vr={min:0,median:.5,max:1},mr=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),D(this,t)}return t._initDefaultCfg=function(){},t._getNormalizedValue=function(t,e){return o(vr[t])?e.scale(t):vr[t]},t.parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,i=parseFloat(e[1])/100,r=t.start,a=t.end,s=Math.abs(r.x-a.x),o=Math.abs(r.y-a.y);return{x:s*n+Math.min(r.x,a.x),y:o*i+Math.min(r.y,a.y)}},t.parsePoint=function(t,e){var n=this.xScale,i=this.yScales;if(s(e)&&(e=e(n,i)),p(e[0])&&-1!==e[0].indexOf("%")&&!isNaN(e[0].slice(0,-1)))return this.parsePercentPoint(t,e);var r=this._getNormalizedValue(e[0],n),a=this._getNormalizedValue(e[1],i[0]),o=t.convertPoint({x:r,y:a});return this.limitInPlot?r>=0&&r<=1&&a>=0&&a<=1?o:null:o},t.render=function(){},t.repaint=function(){this.remove();var t=this.coord,e=this.container,n=this.canvas;e&&!e.isDestroyed()&&(this.render(t,e),n.draw())},t.remove=function(){var t=this.element;t&&t.remove(!0)},t.changeVisible=function(t){this.visible=t;var e=this.element;e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},e}(),yr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="arc",this.start=[],this.end=[],this.style={stroke:"#999",lineWidth:1}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=t.center,a=Math.sqrt((n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y)),s=Math.atan2(n.y-r.y,n.x-r.x),o=Math.atan2(i.y-r.y,i.x-r.x),l=e.addShape("arc",{className:"guide-arc",attrs:T({x:r.x,y:r.y,r:a,startAngle:s,endAngle:o},this.style)});return this.element=l,l}},e}(mr);function xr(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function br(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]}mr.Arc=yr;var wr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="html",this.position=null,this.alignX="center",this.alignY="middle",this.offsetX=null,this.offsetY=null,this.html=null},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n){var i=br(this.html);i=xr(i,{position:"absolute",top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"hidden"});var r=e.get("canvas").get("el"),a=r.parentNode;a=xr(a,{position:"relative"});var s=br('
');a.appendChild(s),s.appendChild(i);var o=r.offsetTop,l=r.offsetLeft,c=this.alignX,u=this.alignY,h=this.offsetX,f=this.offsetY,d=function(t,e,n,i){var r=[];return"left"===t&&"top"===e?(r[0]=0,r[1]=0):"right"===t&&"top"===e?(r[0]=-n,r[1]=0):"left"===t&&"bottom"===e?(r[0]=0,r[1]=Math.floor(-i)):"right"===t&&"bottom"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i)):"right"===t&&"middle"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i/2)):"left"===t&&"middle"===e?(r[0]=0,r[1]=Math.floor(-i/2)):"center"===t&&"bottom"===e?(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i)):"center"===t&&"top"===e?(r[0]=Math.floor(-n/2),r[1]=0):(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i/2)),r}(c,u,tt(i),et(i));n.x=n.x+d[0]+l,n.y=n.y+d[1]+o,h&&(n.x+=h),f&&(n.y+=f),xr(i,{top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"visible"}),this.element=s}},n.remove=function(){var t=this.element;t&&t.parentNode&&t.parentNode.removeChild(t)},e}(mr);mr.Html=wr;var _r=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="line",this.start=[],this.end=[],this.style={stroke:"#000",lineWidth:1}},n.render=function(t,e){var n=[];if(n[0]=this.parsePoint(t,this.start),n[1]=this.parsePoint(t,this.end),n[0]&&n[1]){var i=e.addShape("Line",{className:"guide-line",attrs:T({x1:n[0].x,y1:n[0].y,x2:n[1].x,y2:n[1].y},this.style)});return this.element=i,i}},e}(mr);mr.Line=_r;var Sr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="rect",this.start=[],this.end=[],this.style={fill:"#CCD7EB",opacity:.4}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=e.addShape("rect",{className:"guide-rect",attrs:T({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),width:Math.abs(i.x-n.x),height:Math.abs(n.y-i.y)},this.style)});return this.element=r,r}},e}(mr);mr.Rect=Sr;var kr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="text",this.position=null,this.content=null,this.style={fill:"#000"},this.offsetX=0,this.offsetY=0},n.render=function(t,e){var n=this.position,i=this.parsePoint(t,n);if(i){var r=this.content,a=this.style,s=this.offsetX,o=this.offsetY;s&&(i.x+=s),o&&(i.y+=o);var l=e.addShape("text",{className:"guide-text",attrs:T({x:i.x,y:i.y,text:r},a)});return this.element=l,l}},e}(mr);mr.Text=kr;var Cr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="tag",this.position=null,this.content=null,this.direct="tl",this.autoAdjust=!0,this.offsetX=0,this.offsetY=0,this.side=4,this.background={padding:5,radius:2,fill:"#1890FF"},this.textStyle={fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},this.withPoint=!0,this.pointStyle={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n._getDirect=function(t,e,n,i){var r=this.direct,a=this.side,s=t.get("canvas"),o=s.get("width"),l=s.get("height"),c=e.x,u=e.y,h=r[0],f=r[1];"t"===h&&u-a-i<0?h="b":"b"===h&&u+a+i>l&&(h="t");var d="c"===h?a:0;return"l"===f&&c-d-n<0?f="r":"r"===f&&c+d+n>o?f="l":"c"===f&&(n/2+c+d>o?f="l":c-n/2-d<0&&(f="r")),h+f},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n&&!isNaN(n.x)&&!isNaN(n.y)){var i=this.content,r=this.background,a=this.textStyle,s=[],o=e.addGroup({className:"guide-tag"});if(this.withPoint){var l=o.addShape("Circle",{className:"guide-tag-point",attrs:T({x:n.x,y:n.y},this.pointStyle)});s.push(l)}var c=o.addGroup(),u=c.addShape("text",{className:"guide-tag-text",zIndex:1,attrs:T({x:0,y:0,text:i},a)});s.push(u);var h=u.getBBox(),f=ut(r.padding),d=h.width+f[1]+f[3],p=h.height+f[0]+f[2],g=h.minY-f[0],v=h.minX-f[3],m=c.addShape("rect",{className:"guide-tag-bg",zIndex:-1,attrs:T({x:v,y:g,width:d,height:p},r)});s.push(m);var y,x=this.autoAdjust?this._getDirect(e,n,d,p):this.direct,b=this.side,w=n.x+this.offsetX,_=n.y+this.offsetY,S=ut(r.radius);"tl"===x?(y=[{x:d+v-b-1,y:p+g-1},{x:d+v,y:p+g-1},{x:d+v,y:p+b+g}],S[2]=0,w-=d,_=_-b-p):"cl"===x?(y=[{x:d+v-1,y:(p-b)/2+g-1},{x:d+v-1,y:(p+b)/2+g+1},{x:d+b+v,y:p/2+g}],w=w-d-b,_-=p/2):"bl"===x?(y=[{x:d+v,y:-b+g},{x:d+v-b-1,y:g+1},{x:d+v,y:g+1}],S[1]=0,w-=d,_+=b):"bc"===x?(y=[{x:d/2+v,y:-b+g},{x:(d-b)/2+v-1,y:g+1},{x:(d+b)/2+v+1,y:g+1}],w-=d/2,_+=b):"br"===x?(y=[{x:v,y:g-b},{x:v,y:g+1},{x:v+b+1,y:g+1}],S[0]=0,_+=b):"cr"===x?(y=[{x:v-b,y:p/2+g},{x:v+1,y:(p-b)/2+g-1},{x:v+1,y:(p+b)/2+g+1}],w+=b,_-=p/2):"tr"===x?(y=[{x:v,y:p+b+g},{x:v,y:p+g-1},{x:b+v+1,y:p+g-1}],S[3]=0,_=_-p-b):"tc"===x&&(y=[{x:(d-b)/2+v-1,y:p+g-1},{x:(d+b)/2+v+1,y:p+g-1},{x:d/2+v,y:p+b+g}],w-=d/2,_=_-p-b);var k=c.addShape("Polygon",{className:"guide-tag-side",zIndex:0,attrs:{points:y,fill:r.fill}});return s.push(k),m.attr("radius",S),c.moveTo(w-v,_-g),c.sort(),this.element=o,s}},e}(mr);mr.Tag=Cr;var Mr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="point",this.position=null,this.offsetX=0,this.offsetY=0,this.style={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(!n)return null;var i=e.addShape("Circle",{className:"guide-point",attrs:T({x:n.x+this.offsetX,y:n.y+this.offsetY},this.style)});return this.element=i,i},e}(mr);mr.Point=Mr;var Pr=function(){var t=e.prototype;function e(t){D(this,this.getDefaultCfg(),t),this._init(),this._renderTitle(),this._renderItems()}return t.getDefaultCfg=function(){return{showTitle:!1,title:null,items:null,titleGap:12,itemGap:10,itemMarginBottom:12,itemFormatter:null,itemWidth:null,wordSpace:6,x:0,y:0,layout:"horizontal",joinString:": "}},t._init=function(){var t=this.parent;if(t){var e=t.addGroup({zIndex:this.zIndex||0});this.container=e;var n=e.addGroup();this.wrapper=n;var i=n.addGroup({className:"itemsGroup"});this.itemsGroup=i}},t._renderTitle=function(t){t=t||this.title;var e=this.titleShape,n=0;if(this.showTitle&&t){if(e&&!e.get("destroyed"))e.attr("text",t);else{var i=this.wrapper,r=this.titleStyle;e=i.addShape("text",{className:"title",attrs:T({x:0,y:0,text:t},r)}),this.titleShape=e}n=e.getBBox().height+this.titleGap}this._titleHeight=n},t._renderItems=function(t){var e=this;(t=t||e.items)&&(e.reversed&&t.reverse(),u(t,(function(t,n){e._addItem(t,n)})),t.length>1&&this._adjustItems(),this._renderBackground())},t._renderBackground=function(){var t=this.background;if(t){var e=this.container,n=this.wrapper.getBBox(),i=n.minX,r=n.minY,a=n.width,s=n.height,o=t.padding||[0,0,0,0],l=T({x:i-(o=ut(o))[3],y:r-o[0],width:a+o[1]+o[3],height:s+o[0]+o[2]},t),c=this.backShape;c?c.attr(l):c=e.addShape("Rect",{zIndex:-1,attrs:l}),this.backShape=c,e.sort()}},t._addItem=function(t){var e,n=this.itemsGroup.addGroup({name:t.name,value:t.value,dataValue:t.dataValue,checked:t.checked}),i=this.unCheckStyle,r=this.unCheckColor,a=this.nameStyle,s=this.valueStyle,o=this.wordSpace,l=t.marker,c=t.value,u=0;if(r&&(i.fill=r),l){var h=T({x:l.radius||3,y:this._titleHeight},l);!1===t.checked&&T(h,i),u+=n.addShape("marker",{className:"item-marker",attrs:h}).getBBox().width+o}var f=t.name;if(f){var d=this.joinString||"";f=c?f+d:f,e=n.addShape("text",{className:"name",attrs:T({x:u,y:this._titleHeight,text:this._formatItemValue(f)},a,!1===t.checked?i:null)})}if(c){var p=u;e&&(p+=e.getBBox().width),n.addShape("text",{className:"value",attrs:T({x:p,y:this._titleHeight,text:c},s,!1===t.checked?i:null)})}return n},t._formatItemValue=function(t){var e=this.itemFormatter;return e&&(t=e.call(this,t)),t},t._getMaxItemWidth=function(){var t=this.itemWidth;if(x(t)||o(t))return t;if("auto"===t){for(var e=this.itemsGroup.get("children"),n=e.length,i=0,r=0;r1e-4&&(o++,l=0),d.moveTo(l,o*e),u.push({x:l,y:o*e+s-g/2,width:1.375*v,height:1.375*g}),l+=t+r}this.legendHitBoxes=u},t._adjustVertical=function(){for(var t,e,n=this.maxLength,i=this.itemsGroup,r=this.itemGap,a=this.itemMarginBottom,s=this.itemWidth,o=this._titleHeight,l=i.get("children"),c=0,u=0,h=0,f=[],d=0,p=l.length;du&&(u=t+r),n-c=e.br.y&&(o=e.br.y-r),s<0&&(s=e.tl.x,n&&n.attr("x1",e.tl.x+a)),i.updatePosition(s,o)}},t.setXTipContent=function(t){var e=this.xTip;t=s(e)?e(t):T({text:t},e),this.xTipBox&&this.xTipBox.updateContent(t)},t.setXTipPosition=function(t){var e=this.showXTip,n=this.canvas,i=this.plotRange,r=this.xTipBox,a=this.crosshairsShapeY;if(e){var s=n.get("height"),o=r.getWidth(),l=r.getHeight(),c=t-o/2,u=i.br.y;c<=i.tl.x&&(c=i.tl.x),c+o>=i.tr.x&&(c=i.tr.x-o),s-u1?(t[0].x+t[t.length-1].x)/2:t[0].x)-h/2+i)p.x&&(g=p.x-h),s){var m=v+f;s.attr("points",[{x:o-3,y:m},{x:o+3,y:m},{x:o,y:m+4}]);var y=e.backShape,x=ut(y.attr("radius"));o===d.x?(x[3]=0,s.attr("points",[{x:d.x,y:m},{x:d.x+4,y:m},{x:d.x,y:m+4}])):o===p.x&&(x[2]=0,s.attr("points",[{x:p.x-4,y:m},{x:p.x,y:m},{x:p.x,y:m+4}])),y.attr("radius",x)}e.moveTo(g-c,v-u)}},t.setMarkers=function(t){void 0===t&&(t={});var e=t,n=e.items,i=e.style,r=e.type,a=this._getMarkerGroup(r);if("circle"===r)for(var s=0,o=n.length;s16&&(e.showTooltip(r),e.timeStamp=s)}else e.hideTooltip()}})),yt(this,"handleHideEvent",(function(){e.enable&&e.hideTooltip()})),this.enable=!0,this.cfg={},this.tooltip=null,this.chart=null,this.timeStamp=0,T(this,t);var n=this.chart.get("canvas");this.canvas=n,this.canvasDom=n.get("el")}var e=t.prototype;return e._setCrosshairsCfg=function(){var t=this.chart,e=T({},mt.tooltip),n=t.get("geoms"),i=[];u(n,(function(t){var e=t.get("type");-1===i.indexOf(e)&&i.push(e)}));var r=t.get("coord").type;return!n.length||"cartesian"!==r&&"rect"!==r||1===i.length&&-1!==["line","area","path","point"].indexOf(i[0])&&T(e,{showCrosshairs:!0}),e},e._getMaxLength=function(t){void 0===t&&(t={});var e=t,n=e.layout,i=e.plotRange;return"horizontal"===n?i.br.x-i.bl.x:i.bl.y-i.tr.y},e.render=function(){if(!this.tooltip){var t=this.chart,e=t.get("canvas"),n=t.get("frontPlot").addGroup({className:"tooltipContainer",zIndex:10}),i=t.get("backPlot").addGroup({className:"tooltipContainer"}),r=t.get("plotRange"),a=t.get("coord"),s=this._setCrosshairsCfg(),o=this.cfg,l=D({plotRange:r,frontPlot:n,backPlot:i,canvas:e,fixed:a.transposed||a.isPolar},s,o);l.maxLength=this._getMaxLength(l),this._tooltipCfg=l;var c=new Tr(l);this.tooltip=c,l.alwaysShow&&this.prePoint&&this.showTooltip(this.prePoint),this.bindEvents()}},e.clear=function(){var t=this.tooltip;t&&(t.destroy(),this.unBindEvents()),this.tooltip=null,this._lastActive=null},e._getTooltipMarkerStyle=function(t){void 0===t&&(t={});var e=t,n=e.type,i=e.items,r=this._tooltipCfg;if("rect"===n){var a,s,o,l,c=this.chart,u=c.get("plotRange"),h=u.tl,f=u.br,d=c.get("coord"),p=i[0],g=i[i.length-1],v=p.width;d.transposed?(a=h.x,s=g.y-.75*v,o=f.x-h.x,l=p.y-g.y+1.5*v):(a=p.x-.75*v,s=h.y,o=g.x-p.x+1.5*v,l=f.y-h.y),t.style=T({x:a,y:s,width:o,height:l,fill:"#CCD6EC",opacity:.3},r.tooltipMarkerStyle)}else t.style=T({radius:4,fill:"#fff",lineWidth:2},r.tooltipMarkerStyle);return t},e._setTooltip=function(t,e,n){void 0===n&&(n={}),this.prePoint=t;var i=this._lastActive,r=this.tooltip,a=this._tooltipCfg;e=Er(e);var s=this.chart,o=s.get("coord"),l=s.getYScales()[0],c=a.snap;if(!1===c&&l.isLinear){var u,h,f=o.invertPoint(t);Ei(t,s.get("plotRange"))&&(o.transposed?(u=l.invert(f.x),h=t.x,r.setXTipContent(u),r.setXTipPosition(h),r.setYCrosshairPosition(h)):(u=l.invert(f.y),h=t.y,r.setYTipContent(u),r.setYTipPosition(h),r.setXCrosshairPosition(h)))}if(a.onShow&&a.onShow({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n}),d=i,p=e,JSON.stringify(d)!==JSON.stringify(p)){var d,p;this._lastActive=e;var g=a.onChange;g&&g({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n});var v=e[0],m=v.title||v.name,y=v.x;if(e.length>1&&(y=(e[0].x+e[e.length-1].x)/2),r.setContent(m,e,o.transposed),r.setPosition(e,t),o.transposed){var x=v.y;e.length>1&&(x=(e[0].y+e[e.length-1].y)/2),r.setYTipContent(m),r.setYTipPosition(x),r.setXCrosshairPosition(x),c&&(r.setXTipContent(v.value),r.setXTipPosition(y),r.setYCrosshairPosition(y))}else r.setXTipContent(m),r.setXTipPosition(y),r.setYCrosshairPosition(y),c&&(r.setYTipContent(v.value),r.setYTipPosition(v.y),r.setXCrosshairPosition(v.y));var b=n.items;a.showTooltipMarker&&b.length?(n=this._getTooltipMarkerStyle(n),r.setMarkers(n)):r.clearMarkers(),r.show()}else!1===c&&(ht(a.crosshairsType,"y")||a.showYTip)&&this.chart.get("canvas").draw()},e.showTooltip=function(t){var e,n,i=this.chart,r=[],a=[],s=this._tooltipCfg,o=s.showItemMarker,c=s.itemMarkerStyle,h=s.alwaysShow;o&&(n=c);var f=i.get("geoms"),d=i.get("coord");if(u(f,(function(i){if(i.get("visible")){var s=i.get("type"),o=i.getSnapRecords(t),c=i.get("adjust");if("interval"===s&&c&&"symmetric"===c.type)return;u(o,(function(t){var o=t.x,c=t.y,u=t._origin,h=t.color;if((o||!isNaN(o))&&(c||!isNaN(c))){var f={x:o,y:l(c)?c[1]:c,color:h||mt.defaultColor,origin:u,name:Dr(i,u),value:Yr(i,u),title:Or(i,u)};n&&(f.marker=T({fill:h||mt.defaultColor},n)),a.push(f),-1!==["line","area","path"].indexOf(s)?(e="circle",r.push(f)):"interval"!==s||"cartesian"!==d.type&&"rect"!==d.type||(e="rect",f.width=i.getSize(t._origin),r.push(f))}}))}})),a.length){var p={items:r,type:e};this._setTooltip(t,a,p)}else h||this.hideTooltip()},e.hideTooltip=function(){var t=this._tooltipCfg;this._lastActive=null;var e=this.tooltip;e&&(e.hide(),t.onHide&&t.onHide({tooltip:e}),this.chart.get("canvas").draw())},e._handleEvent=function(t,e,n){var i=this.canvas;u([].concat(t),(function(t){"bind"===n?i.on(t,e):i.off(t,e)}))},e.bindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"bind"),i||this._handleEvent(n,this.handleHideEvent,"bind")},e.unBindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"unBind"),i||this._handleEvent(n,this.handleHideEvent,"unBind")},t}();function Nr(t){var e=new Fr({chart:t});t.set("tooltipController",e),t.tooltip=function(t,n){return c(t)&&(n=t,t=!0),e.enable=t,n&&(e.cfg=n),this}}function zr(t){var e=t.get("tooltipController");e.render(),t.showTooltip=function(t){return e.showTooltip(t),this},t.hideTooltip=function(){return e.hideTooltip(),this}}function Xr(t){t.get("tooltipController").clear()}var Rr={init:Nr,afterGeomDraw:zr,clearInner:Xr},Lr=Object.freeze({__proto__:null,init:Nr,afterGeomDraw:zr,clearInner:Xr,default:Rr});mt.guide=D({line:{style:{stroke:"#a3a3a3",lineWidth:1},top:!0},text:{style:{fill:"#787878",textAlign:"center",textBaseline:"middle"},offsetX:0,offsetY:0,top:!0},rect:{style:{fill:"#fafafa"},top:!1},arc:{style:{stroke:"#a3a3a3"},top:!0},html:{offsetX:0,offsetY:0,alignX:"center",alignY:"middle"},tag:{top:!0,offsetX:0,offsetY:0,side:4,background:{padding:5,radius:2,fill:"#1890FF"},textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"}},point:{top:!0,offsetX:0,offsetY:0,style:{fill:"#fff",r:3,lineWidth:2,stroke:"#1890ff"}}},mt.guide||{});var Br=function(){function t(t){this.guides=[],this.xScale=null,this.yScales=null,this.guideShapes=[],T(this,t)}var e=t.prototype;return e._toString=function(t){return s(t)&&(t=t(this.xScale,this.yScales)),t.toString()},e._getId=function(t,e){var n=e.id;if(!n){var i=e.type;n="arc"===i||"line"===i||"rect"===i?this._toString(e.start)+"-"+this._toString(e.end):this._toString(e.position)}return n},e.paint=function(t){var e=this,n=e.chart,i=e.guides,r=e.xScale,a=e.yScales,s=[];u(i,(function(i,o){var l;i.xScale=r,i.yScales=a,"regionFilter"===i.type?i.chart=n:l=i.top?e.frontPlot:e.backPlot,i.coord=t,i.container=l,i.canvas=n.get("canvas");var c=i.render(t,l);if(c){var u=e._getId(c,i);[].concat(c).forEach((function(t){t._id=t.get("className")+"-"+u,t.set("index",o),s.push(t)}))}})),e.guideShapes=s},e.clear=function(){return this.reset(),this.guides=[],this},e.reset=function(){u(this.guides,(function(t){t.remove()}))},e._createGuide=function(t,e){var n=S(t),i=new mr[n](D({},mt.guide[t],e));return this.guides.push(i),i},e.line=function(t){return void 0===t&&(t={}),this._createGuide("line",t)},e.text=function(t){return void 0===t&&(t={}),this._createGuide("text",t)},e.arc=function(t){return void 0===t&&(t={}),this._createGuide("arc",t)},e.html=function(t){return void 0===t&&(t={}),this._createGuide("html",t)},e.rect=function(t){return void 0===t&&(t={}),this._createGuide("rect",t)},e.tag=function(t){return void 0===t&&(t={}),this._createGuide("tag",t)},e.point=function(t){return void 0===t&&(t={}),this._createGuide("point",t)},e.regionFilter=function(t){return void 0===t&&(t={}),this._createGuide("regionFilter",t)},t}();function jr(t){var e=new Br({frontPlot:t.get("frontPlot").addGroup({zIndex:20,className:"guideContainer"}),backPlot:t.get("backPlot").addGroup({className:"guideContainer"})});t.set("guideController",e),t.guide=function(){return e}}function Gr(t){var e=t.get("guideController");if(e.guides.length){var n=t.getXScale(),i=t.getYScales(),r=t.get("coord");e.xScale=n,e.yScales=i,e.chart=t,e.paint(r)}}function Hr(t){t.get("guideController").clear()}function Wr(t){t.get("guideController").reset()}var Vr={init:jr,afterGeomDraw:Gr,clear:Hr,repaint:Wr},qr=Object.freeze({__proto__:null,init:jr,afterGeomDraw:Gr,clear:Hr,repaint:Wr,default:Vr}),Jr={itemMarginBottom:12,itemGap:10,showTitle:!1,titleStyle:{fontSize:12,fill:"#808080",textAlign:"start",textBaseline:"top"},nameStyle:{fill:"#808080",fontSize:12,textAlign:"start",textBaseline:"middle"},valueStyle:{fill:"#000000",fontSize:12,textAlign:"start",textBaseline:"middle"},unCheckStyle:{fill:"#bfbfbf"},itemWidth:"auto",wordSpace:6,selectedMode:"multiple"};mt.legend=D({common:Jr,right:T({position:"right",layout:"vertical"},Jr),left:T({position:"left",layout:"vertical"},Jr),top:T({position:"top",layout:"horizontal"},Jr),bottom:T({position:"bottom",layout:"horizontal"},Jr)},mt.legend||{});var Ur=function(){function t(t){var e=this;yt(this,"handleEvent",(function(t){var n=e,i=n.chart,r=lt(t,i),a=function(t,e){var i=null;return u(n.legends,(function(n){u(n,(function(n){var r=n.itemsGroup,a=n.legendHitBoxes,s=r.get("children");if(s.length){var o=n.x,l=n.y;u(a,(function(r,a){if(t>=r.x+o&&t<=r.x+r.width+o&&e>=r.y+l&&e<=r.height+r.y+l)return i={clickedItem:s[a],clickedLegend:n},!1}))}}))})),i}(r.x,r.y);if(a&&!1!==a.clickedLegend.clickable){var s=a.clickedItem,o=a.clickedLegend;if(o.onClick)t.clickedItem=s,o.onClick(t);else if(!o.custom){var l=s.get("checked"),c=s.get("dataValue"),h=o.filteredVals,f=o.field;"single"===o.selectedMode?i.filter(f,(function(t){return t===c})):(l?h.push(c):G(h,c),i.filter(f,(function(t){return-1===h.indexOf(t)}))),i.repaint()}}})),this.legendCfg={},this.enable=!0,this.position="top",T(this,t);var n=this.chart;this.canvasDom=n.get("canvas").get("el"),this.clear()}var e=t.prototype;return e.addLegend=function(t,e,n){var i=this.legendCfg,r=t.field,a=i[r];if(!1===a)return null;if(a&&a.custom)this.addCustomLegend(r);else{var s=i.position||this.position;a&&a.position&&(s=a.position),t.isCategory&&this._addCategoryLegend(t,e,s,n)}},e.addCustomLegend=function(t){var e=this.legendCfg;t&&e[t]&&(e=e[t]);var n=e.position||this.position,i=this.legends;i[n]=i[n]||[];var r=e.items;if(!r)return null;var a=this.container;u(r,(function(t){d(t.marker)?t.marker.radius=t.marker.radius||3:t.marker={symbol:t.marker||"circle",fill:t.fill,radius:3},t.checked=!!o(t.checked)||t.checked,t.name=t.name||t.value}));var s=new Pr(D({},mt.legend[n],e,{maxLength:this._getMaxLength(n),items:r,parent:a}));i[n].push(s)},e.clear=function(){u(this.legends,(function(t){u(t,(function(t){t.clear()}))})),this.legends={},this.unBindEvents()},e._isFiltered=function(t,e,n){var i=!1;return u(e,(function(e){if(i=i||t.getText(e)===t.getText(n))return!1})),i},e._getMaxLength=function(t){var e=this.chart,n=ut(e.get("appendPadding"));return"right"===t||"left"===t?e.get("height")-(n[0]+n[2]):e.get("width")-(n[1]+n[3])},e._addCategoryLegend=function(t,e,n,i){var r=this,a=r.legendCfg,s=r.legends,o=r.container,l=r.chart,c=t.field;s[n]=s[n]||[];var h="circle";a[c]&&a[c].marker?h=a[c].marker:a.marker&&(h=a.marker),u(e,(function(e){d(h)?T(e.marker,h):e.marker.symbol=h,i&&(e.checked=!r._isFiltered(t,i,e.dataValue))})),l.get("legendItems")[c]=e;var f=D({},mt.legend[n],a[c]||a,{maxLength:r._getMaxLength(n),items:e,field:c,filteredVals:i,parent:o});f.showTitle&&D(f,{title:t.alias||t.field});var p=new Pr(f);return s[n].push(p),p},e._alignLegend=function(t,e,n){var i=this.plotRange,r=i.tl,a=i.bl,s=this.chart,o=t.offsetX||0,l=t.offsetY||0,c=s.get("width"),u=s.get("height"),h=ut(s.get("appendPadding")),f=t.getHeight(),d=t.getWidth(),p=0,g=0;if("left"===n||"right"===n){var v=t.verticalAlign||"middle",m=Math.abs(r.y-a.y);p="left"===n?h[3]:c-d-h[1],g=(m-f)/2+r.y,"top"===v?g=r.y:"bottom"===v&&(g=a.y-f),e&&(g=e.get("y")-f-12)}else{var y=t.align||"left";if(p=h[3],"center"===y?p=c/2-d/2:"right"===y&&(p=c-(d+h[1])),g="top"===n?h[0]+Math.abs(t.container.getBBox().minY):u-f,e){var x=e.getWidth();p=e.x+x+12}}"bottom"===n&&l>0&&(l=0),"right"===n&&o>0&&(o=0),t.moveTo(p+o,g+l)},e.alignLegends=function(){var t=this;return u(t.legends,(function(e,n){u(e,(function(i,r){var a=e[r-1];t._alignLegend(i,a,n)}))})),t},e.bindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";rt(this.canvasDom,t,this.handleEvent)},e.unBindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";at(this.canvasDom,t,this.handleEvent)},t}();function Zr(t){var e=new Ur({container:t.get("backPlot").addGroup(),plotRange:t.get("plotRange"),chart:t});t.set("legendController",e),t.legend=function(t,n){var i=e.legendCfg;return e.enable=!0,C(t)?(e.enable=t,i=n||{}):c(t)?i=t:i[t]=n,e.legendCfg=i,this}}function Kr(t){var e=t.get("legendController");if(!e.enable)return null;var n=e.legendCfg,i=e.container;if(n&&n.custom)e.addCustomLegend();else{var r=t.getLegendItems(),a=t.get("scales"),s=t.get("filters");u(r,(function(t,n){var i,r=a[n],o=r.values;i=s&&s[n]?o.filter((function(t){return!s[n](t)})):[],e.addLegend(r,t,i)}))}n&&!1!==n.clickable&&e.bindEvents();var o=e.legends,l={top:0,right:0,bottom:0,left:0};u(o,(function(e,n){var i=0;u(e,(function(t){var e=t.getWidth(),r=t.getHeight();"top"===n||"bottom"===n?(i=Math.max(i,r),t.offsetY>0&&(i+=t.offsetY)):(i=Math.max(i,e),t.offsetX>0&&(i+=t.offsetX))})),l[n]=i+function(t,e){var n=0;switch(e=ut(e),t){case"top":n=e[0];break;case"right":n=e[1];break;case"bottom":n=e[2];break;case"left":n=e[3]}return n}(n,t.get("appendPadding"))})),t.set("legendRange",l),Object.keys(o).length?i.set("ariaLabel",vt.legend.prefix):i.set("ariaLabel",null)}function Qr(t){t.get("legendController").alignLegends()}function $r(t){t.get("legendController").clear(),t.set("legendRange",null)}var ta={init:Zr,beforeGeomDraw:Kr,afterGeomDraw:Qr,clearInner:$r},ea=Object.freeze({__proto__:null,init:Zr,beforeGeomDraw:Kr,afterGeomDraw:Qr,clearInner:$r,default:ta}),na="object"==typeof performance&&performance.now?performance:Date,ia=function(){function t(){this.anims=[],this.time=null,this.playing=!1,this.canvas=[]}var e=t.prototype;return e.play=function(){var t=this;t.time=na.now(),t.playing=!0,Pi((function e(){t.playing&&(Pi(e),t.update())}))},e.stop=function(){this.playing=!1,this.time=null,this.canvas=[]},e.pushAnim=function(t){this.playing||this.play();var e=t.delay,n=t.duration,i=this.time+e,r=i+n;t.startTime=i,t.endTime=r,this.anims.push(t)},e.update=function(){var t=na.now();if(this.canvas=[],this.anims.length){for(var e=0;e=n.startTime&&!n.hasStarted&&(n.hasStarted=!0,n.onStart&&n.onStart());var l=(t-n.startTime)/o;if(l=Math.max(0,Math.min(l,1)),l=n.easing(l),n.onFrame)n.onFrame(l);else for(var c in s){var u=(0,s[c])(l),h=void 0;if("points"===c){h=[];for(var f=Math.max(r.points.length,a.points.length),d=0;d=n.endTime&&!n.hasEnded&&(n.hasEnded=!0,n.onEnd&&n.onEnd()),1===l&&(this.anims.splice(e,1),e--)}}}this.canvas.map((function(t){return t.draw(),t})),this.time=na.now()}else this.stop()},t}();function ra(t){return t}function aa(t){return 1-sa(1-t)}function sa(t){return(t/=1)<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}var oa=Object.freeze({__proto__:null,linear:ra,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)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i/(2*Math.PI)*Math.asin(1/n),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:aa,bounceOut:sa,bounceInOut:function(t){return t<.5?.5*aa(2*t):.5*sa(2*t-1)+.5}});function la(t){for(var e=[],n=0,i=t.length;nl.x?i.x:l.x,s=l.y+h/2):"xy"===r&&(n.isPolar?(a=n.center.x,s=n.center.y):(a=(l.x+c.x)/2,s=(l.y+c.y)/2));var d=pa(f,[a,s],r);f.isClip=!0,f.endState={matrix:d},f.set("canvas",t.get("canvas")),t.attr("clip",f),ga(f,f.endState,e,(function(){t.attr("clip",null),f.remove(!0)}))}function xa(t,e,n){for(var i=t.get("children"),r=0,a=i.length;r-1&&(t="guide-tag"),c(n)?n[t]:!1!==n&&null}function Oa(){(Ca=new ia).play()}function Ea(t){if(!1!==t.get("animate")){var e=t.get("isUpdate"),n=t.get("canvas"),i=t.get("coord"),r=t.get("geoms"),a=n.get("caches")||[];0===a.length&&(e=!1);var l=Aa(r,t,i),c=t.get("axisController"),h=c.frontPlot,f=c.backPlot,d=h.get("children").concat(f.get("children")),p=[];t.get("guideController")&&(p=t.get("guideController").guideShapes);var g,v,m=[];d.concat(p).forEach((function(e){var n=Ya(e.get("className"),t);e.set("coord",i),e.set("animateCfg",n),m.push(e),l.push(e)})),n.set("caches",function(t){for(var e={},n=0,i=t.length;n1?[1-a,1]:[o,l],this.updateRange(e)}},e.updateRange=function(t){var e=this.values,n=t[0],i=t[1];n=Math.max(0,n),i=Math.min(1,i),this.range=[n,i];var r=e.length,a=n*r,s=i*r,o=e.slice(a,s);this.repaint(o)},e.repaint=function(t){var e=this.chart,n=this.getPinchScale(),i=n.values,r=n.ticks;(function(t,e){if(t.length!==e.length)return!1;var n=t.length-1;return t[0]===e[0]&&t[n]===e[n]})(i,t)||(this.updateScale(n,{ticks:r,values:t}),this.updateFollowScale(n,t),e.repaint())},e.updateFollowScale=function(t,e){var n=this.chart,i=this.getFollowScale(),r=t.field,a=t.type,s=i.field,o=[],l={};e.forEach((function(t){l[t]=!0})),n.get("data").forEach((function(t){if("timeCat"===a){var e=ft(t[r]);l[e]&&o.push(t[s])}}));var c=H(o),u=c.min,h=c.max;this.updateScale(i,{min:u,max:h,nice:!0})},e.updateScale=function(t,e){t&&t.change(e)},e.updateTicks=function(){var t=this.chart,e=this.values,n=this.getPinchScale(),i=n.values,r=n.tickCount,a=Math.round(r*e.length/i.length),s=$t("cat")({tickCount:a,values:e});this.updateScale(n,{ticks:s,values:i}),t.repaint()},e.destroy=function(){var t=this.chart;t.off("afterinit",this._afterinit),t.off("afterdatachange",this._afterdatachange)},t}(),La=function(){var t=e.prototype;function e(t,e){var n=this;yt(this,"type",""),yt(this,"startEvent","touchstart"),yt(this,"processEvent","touchmove"),yt(this,"endEvent","touchend"),yt(this,"resetEvent",null),yt(this,"context",null),yt(this,"_start",(function(t){n.preStart&&n.preStart(t),n.start(t),n.onStart&&n.onStart(t)})),yt(this,"_process",(function(t){n.preProcess&&n.preProcess(t),n.process(t),n.onProcess&&n.onProcess(t)})),yt(this,"_end",(function(t){n.preEnd&&n.preEnd(t),n.end(t),n.onEnd&&n.onEnd(t)})),yt(this,"_reset",(function(t){n.preReset&&n.preReset(t),n.reset(t),n.onReset&&n.onReset(t)})),T(this,this.getDefaultCfg(),t),this.context=this.getInteractionContext(e),this.chart=e;var i=this.range;i&&(this.context.range=i),this._bindEvents(e)}return t.getDefaultCfg=function(){return{}},t.getInteractionContext=function(t){var e=t.get("interactionContext");return e||(e=new Ra(t),t.set("interactionContext",e),e)},t._bindEvents=function(t){var e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.on(e,this._start),a.on(n,this._process),a.on(i,this._end),a.on(r,this._reset)},t._clearEvents=function(){var t=this.chart,e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.off(e,this._start),a.off(n,this._process),a.off(i,this._end),a.off(r,this._start)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t.destroy=function(){this.context.destroy(),this._clearEvents()},e}(),Ba=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:"pan",startEvent:"panstart",processEvent:"pan",endEvent:"panend"}},n.start=function(){this.context.start()},n.process=function(t){var e=t.direction,n=t.deltaX;if("up"!==e&&"down"!==e){t.preventDefault&&t.preventDefault();var i=this.context,r=i.chart.get("coord"),a=r.start,s=n/(r.end.x-a.x);i.doMove(s)}},e}(La),ja=function(t){bt(n,t);var e=n.prototype;function n(e,n){var i;return T(wt(i=t.call(this,e,n)||this).context,e),i}return e.getDefaultCfg=function(){return{type:"pinch",startEvent:"pinchstart",processEvent:"pinch",endEvent:"pinchend"}},e.start=function(){this.context.start()},e.process=function(t){t.preventDefault&&t.preventDefault();var e=t.zoom,n=t.center,i=this.context,r=i.chart.get("coord"),a=r.start,s=r.end,o=s.x-a.x,l=Math.abs(n.x-a.x)/o,c=Math.abs(s.x-n.x)/o;i.doZoom(l,c,e)},e.end=function(){this.context.updateTicks()},n}(La);zi.registerInteraction("pan",Ba),zi.registerInteraction("pinch",ja);var Ga={Marker:Qn.Marker,Tooltip:Tr};zi.plugins.register([Lr,ea,qr,za]);var Ha={Component:Ga,Global:mt,Chart:zi,Shape:jt,G:Yi,Util:dt,Helper:Fi,track:Xi,Animate:da};e.Animate=da,e.Chart=zi,e.Component=Ga,e.G=Yi,e.Global=mt,e.Helper=Fi,e.Shape=jt,e.Util=dt,e.default=Ha,e.track=Xi,Object.defineProperty(e,"__esModule",{value:!0})}))}).call(this,n("c8ba"))},f052:function(t,e,n){"use strict";n.r(e);var i=n("2ec7"),r=n("4fb4");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("93f3");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"32d2e1d6",null,!1,i["a"],s);e["default"]=l.exports},f1a7:function(t,e,n){"use strict";n.r(e);var i=n("6876"),r=n("5f33");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("99ac");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"218f84fe",null,!1,i["a"],s);e["default"]=l.exports},f8cb:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".l-f2[data-v-32d2e1d6]{width:100%;height:100%;position:relative}.l-f2__mask[data-v-32d2e1d6]{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;z-index:1}.l-f2__canvas[data-v-32d2e1d6]{width:100%;height:100%}",""]),t.exports=e},fa4b:function(t,e,n){t.exports=n.p+"static/img/chain-back-00.599e7c68.png"},fe87:function(t,e,n){var i=n("f8cb");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("6ddd28b6",i,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file + ***************************************************************************** */function ie(t,e){function n(){this.constructor=t}ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function re(){for(var t=0,e=0,n=arguments.length;ethis.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}},e}(ee),se=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,oe="[^\\s]+",le=/\[([^]*?)\]/gm;function ce(t,e){for(var n=[],i=0,r=t.length;i-1?i:null}};function he(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},ve=he({},ge),me=function(t){return ve=he(ve,t)},ye=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},xe=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length0?"-":"+")+xe(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+xe(Math.floor(Math.abs(e)/60),2)+":"+xe(Math.abs(e)%60,2)}},we=function(t){return+t-1},_e=[null,"[1-9]\\d?"],Se=[null,oe],Ce=["isPm",oe,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],ke=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],Me={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+oe,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",we],MM:["month","\\d\\d",we],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:_e,dd:_e,ddd:Se,dddd:Se,MMM:["month",oe,ue("monthNamesShort")],MMMM:["month",oe,ue("monthNames")],a:Ce,A:Ce,ZZ:ke,Z:ke},Pe={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ae=function(t){return he(Pe,t)},Te=function(t,e,n){if(void 0===e&&(e=Pe.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var i=[];e=(e=Pe[e]||e).replace(le,(function(t,e){return i.push(e),"@@@"}));var r=he(he({},ve),n);return(e=e.replace(se,(function(e){return be[e](t,r)}))).replace(/@@@/g,(function(){return i.shift()}))};function Ie(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Pe[e]||e,t.length>1e3)return null;var i={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},r=[],a=[],s=e.replace(le,(function(t,e){return a.push(ye(e)),"@@@"})),o={},l={};s=ye(s).replace(se,(function(t){var e=Me[t],n=e[0],i=e[1],a=e[3];if(o[n])throw new Error("Invalid format. "+n+" specified twice in format");return o[n]=!0,a&&(l[a]=!0),r.push(e),"("+i+")"})),Object.keys(l).forEach((function(t){if(!o[t])throw new Error("Invalid format. "+t+" is required in specified format")})),s=s.replace(/@@@/g,(function(){return a.shift()}));var c=t.match(new RegExp(s,"i"));if(!c)return null;for(var u=he(he({},ve),n),h=1;h0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),M(t)&&(t=t.getTime()),t}var Fe=36e5,Ne=24*Fe,ze=31*Ne,Xe=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",Fe],["HH",6*Fe],["HH",12*Fe],["YYYY-MM-DD",Ne],["YYYY-MM-DD",4*Ne],["YYYY-WW",7*Ne],["YYYY-MM",ze],["YYYY-MM",4*ze],["YYYY-MM",6*ze],["YYYY",380*Ne]];function Re(t,e,n){var i,r=(i=function(t){return t[1]},function(t,e,n,r){for(var a=o(n)?0:n,s=o(r)?t.length:r;a>>1;i(t[l])>e?s=l:a=l+1}return a})(Xe,(e-t)/n)-1,a=Xe[r];return r<0?a=Xe[0]:r>=Xe.length&&(a=m(Xe)),a}var Le=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return ie(e,t),e.prototype.translate=function(t){t=Ee(t);var e=this.values.indexOf(t);return-1===e&&(e=x(t)&&t-1){var i=this.values[n],r=this.formatter;return r?r(i,e):Oe(i,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;u(e,(function(t,n){e[n]=Ee(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(ae),Be=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return ie(e,t),e.prototype.scale=function(t){if(o(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=v(e),i=m(e);nthis.max&&(this.max=i),o(this.minLimit)||(this.min=n),o(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(l(t[0])){for(var n=[],i=0;ithis.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=i(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(ee),je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return ie(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Be);function Ge(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function He(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function We(t,e,n){o(n)&&(n=Math.max.apply(null,t));var i=n;return u(t,(function(t){t>0&&t1&&(i=1),i}var Ve=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return ie(e,t),e.prototype.invert=function(t){var e,n=this.base,i=He(n,this.max),r=this.rangeMin(),a=this.rangeMax()-r,s=this.positiveMin;if(s){if(0===t)return 0;var o=1/(i-(e=He(n,s/n)))*a;if(t=0?1:-1;return Math.pow(a,n)*s},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent;return(Ge(i,t)-Ge(i,n))/(Ge(i,e)-Ge(i,n))},e}(Be),Je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return ie(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):Oe(n,this.mask)},e.prototype.scale=function(e){var n=e;return(p(n)||M(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ee(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(o(e)&&x(e)||(this.min=this.translate(this.min)),o(n)&&x(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],r=1/0,a=r,s=0;u(t,(function(t){var e=Ee(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");r>e?(a=r,r=e):a>e&&(a=e),s1&&(this.minTickInterval=a-r),o(e)&&(this.min=r),o(n)&&(this.max=s)}},e}(je),Ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return ie(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),r=Math.floor(i*(n-1));if(r>=n-1)return m(e);if(r<0)return v(e);var a=e[r],s=r/(n-1);return a+(i-s)/((r+1)/(n-1)-s)*(e[r+1]-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(m(e)!==this.max&&e.push(this.max),v(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tm(e))return 1;var n=0;return u(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(Be),Ze=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return ie(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Ue),Ke={};function Qe(t){return Ke[t]}function $e(t,e){if(Qe(t))throw new Error("type '"+t+"' existed.");Ke[t]=e}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return ie(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&x(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(ee),en=[1,5,2,2.5,4,3],nn=100*Number.EPSILON;function rn(t,e,n,i,r,a){var s=z(e),o=Y(e,t),l=0,c=function(t,e){return(t%e+e)%e}(i,a);return(c=0&&(l=1),1-o/(s-1)-n+l}function an(t,e,n){var i=z(e);return 1-Y(e,t)/(i-1)-n+1}function sn(t,e,n,i,r,a){var s=(t-1)/(a-r),o=(e-1)/(Math.max(a,i)-Math.min(n,r));return 2-Math.max(s/o,o/s)}function on(t,e){return t>=e?2-(t-1)/(e-1):1}function ln(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function cn(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function un(t,e,n,i,r,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===r&&(r=en),void 0===a&&(a=[.25,.2,.5,.05]),"number"!=typeof t||"number"!=typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},o=1;o<1/0;){for(var l=0,c=r;lw)g+=1;else{for(var _=b;_<=w;_+=1){var S=_*(y/o),C=S+y*(f-1),k=y,M=rn(u,r,o,S,C,k),P=ln(t,e,S,C),A=sn(f,n,t,e,S,C),T=a[0]*M+a[1]*P+a[2]*A+1*a[3];T>s.score&&(!i||S<=t&&C>=e)&&(s.lmin=S,s.lmax=C,s.lstep=k,s.score=T)}g+=1}}f+=1}}o+=1}for(var I=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),D=[],Y=s.lmin;Y<=s.lmax;Y+=s.lstep)D.push(Y);var O=I?N(D,(function(t){return Number.parseFloat(t.toFixed(I))})):D;return{min:Math.min(t,v(O)),max:Math.max(e,m(O)),ticks:O}}function hn(t){var e=t.values,n=t.tickInterval,r=t.tickCount,a=e;if(x(n))return i(a,(function(t,e){return e%n==0}));var s=t.min,l=t.max;if(o(s)&&(s=0),o(l)&&(l=e.length-1),x(r)&&r=s&&t<=l})).map((function(t){return e[t]}))}return e.slice(s,l+1)}var fn=Math.sqrt(50),dn=Math.sqrt(10),pn=Math.sqrt(2),gn=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var i,r=this._domain.slice(),a=0,s=this._domain.length-1,o=this._domain[a],l=this._domain[s];return l0?i=vn(o=Math.floor(o/i)*i,l=Math.ceil(l/i)*i,t):i<0&&(i=vn(o=Math.ceil(o*i)/i,l=Math.floor(l*i)/i,t)),i>0?(r[a]=Math.floor(o/i)*i,r[s]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[a]=Math.ceil(o*i)/i,r[s]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var i,r,a,s,o=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),a=new Array(r=Math.ceil(e-t+1));++o=0?(a>=fn?10:a>=dn?5:a>=pn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=fn?10:a>=dn?5:a>=pn?2:1)}function mn(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function yn(t,e,n){var i=mn(t,n,"floor"),r=mn(e,n,"ceil");i=y(i,n),r=y(r,n);for(var a=[],s=i;s<=r;s+=n){var o=y(s,n);a.push(o)}return{min:i,max:r,ticks:a}}function xn(t,e,n){var i,r=t.minLimit,a=t.maxLimit,s=t.min,l=t.max,c=t.tickCount,u=void 0===c?5:c,h=o(r)?o(e)?s:e:r,f=o(a)?o(n)?l:n:a;if(h>f&&(f=(i=[h,f])[0],h=i[1]),u<=2)return[h,f];for(var d=(f-h)/(u-1),p=[],g=0;g1&&(r*=Math.ceil(s)),i&&r31536e6)for(var l=_n(n),c=Math.ceil(a/31536e6),u=o;u<=l+c;u+=c)s.push(Sn(u));else if(a>ze){var h=Math.ceil(a/ze),f=Cn(e),d=function(t,e){var n=_n(t),i=_n(e),r=Cn(t);return 12*(i-n)+(Cn(e)-r)%12}(e,n);for(u=0;u<=d+h;u+=h)s.push(kn(o,u+f))}else if(a>Ne){var p=(x=new Date(e)).getFullYear(),g=x.getMonth(),v=x.getDate(),m=Math.ceil(a/Ne),y=function(t,e){return Math.ceil((e-t)/Ne)}(e,n);for(u=0;uFe){p=(x=new Date(e)).getFullYear(),g=x.getMonth(),m=x.getDate();var x,b=x.getHours(),w=Math.ceil(a/Fe),_=function(t,e){return Math.ceil((e-t)/Fe)}(e,n);for(u=0;u<=_+w;u+=w)s.push(new Date(p,g,m,b+u).getTime())}else if(a>6e4){var S=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),C=Math.ceil(a/6e4);for(u=0;u<=S+C;u+=C)s.push(e+6e4*u)}else{var k=a;k<1e3&&(k=1e3);var M=1e3*Math.floor(e/1e3),P=Math.ceil((n-e)/1e3),A=Math.ceil(k/1e3);for(u=0;u=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s})),te("log",(function(t){var e,n=t.base,i=t.tickCount,r=t.min,a=t.max,s=t.values,o=He(n,a);if(r>0)e=Math.floor(He(n,r));else{var l=We(s,n,a);e=Math.floor(He(n,l))}for(var c=o-e,u=Math.ceil(c/i),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n}))})),te("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],a=0;a=n?r[r.length-1]=s:r.push(s)),r},Pn=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function An(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function Tn(t){var e=t.interval,n=t.tickCount,i=t.max,r=t.min;return Math.floor(r/e)*e+(n-1)*e>=i}function In(t){var e=t.toString(),n=e.indexOf("."),i=e.indexOf("e-"),r=i>=0?parseInt(e.substr(i+2),10):e.substr(n+1).length;return r>20&&(r=20),r}function Dn(t,e){return parseFloat(t.toFixed(e))}var Yn=Qe("linear"),On=Qe("identity"),En=Qe("category"),Fn=Qe("timeCat");function Nn(t){Object.keys(t).forEach((function(e){delete t[e]}))}te("cat",Mn),te("time-cat",Mn),te("wilkinson-extended",(function(t){var e=t||{},n=e.tickCount,i=e.tickInterval,r=t||{},a=r.min,s=r.max;a=isNaN(a)?0:a,s=isNaN(s)?0:s;var o=n&&n>=2?n:5,l=i||function(t){var e=t.tickCount,n=t.min,i=t.max;if(n===i)return 1*An(i);for(var r=(i-n)/(e-1),a=An(r),s=r/a,o=i/a,l=n/a,c=0,u=0;u0?t.change({min:0}):r<0&&t.change({max:0}))},e.clear=function(){Nn(this.defs),Nn(this.scales),this.data=null},t}(),Xn=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),T(this,t),this.draw()}return t._initDefaultCfg=function(){this.ticks=[],this.tickLine={},this.offsetFactor=1,this.frontContainer=null,this.backContainer=null,this.gridPoints=[]},t.draw=function(){var t=this.line,e=this.tickLine,n=this.label,i=this.grid;i&&this.drawGrid(i),e&&this.drawTicks(e),t&&this.drawLine(t),n&&this.drawLabels()},t.drawTicks=function(t){var e=this,n=e.ticks,i=t.length,r=e.getContainer(t.top);u(n,(function(n){var a=e.getOffsetPoint(n.value),s=e.getSidePoint(a,i);r.addShape("line",{className:"axis-tick",attrs:T({x1:a.x,y1:a.y,x2:s.x,y2:s.y},t)})._id=e._id+"-ticks"}))},t.drawLabels=function(){var t=this,e=t.labelOffset;u(t.labels,(function(n){var i=t.getContainer(n.get("top")),r=t.getOffsetPoint(n.get("value")),a=t.getSidePoint(r,e),s=a.x,o=a.y;n.attr(T({x:s,y:o},t.getTextAlignInfo(r,e),n.get("textStyle"))),n._id=t._id+"-"+n.attr("text"),i.add(n)}))},t.drawLine=function(){},t.drawGrid=function(t){var e=this,n=e.gridPoints,i=e.ticks,r=t,a=n.length;u(n,(function(n,o){if(s(t)){var l=i[o]||{},c=t(l.text,o,a);r=c?T({},mt._defaultAxis.grid,c):null}if(r){var u,h=r.type,f=n.points,d=e.getContainer(r.top);if("arc"===h){var p=e.center,g=e.startAngle,v=e.endAngle,m=Mt.length([f[0].x-p.x,f[0].y-p.y]);u=d.addShape("Arc",{className:"axis-grid",attrs:T({x:p.x,y:p.y,startAngle:g,endAngle:v,r:m},r)})}else u=d.addShape("Polyline",{className:"axis-grid",attrs:T({points:f},r)});u._id=n._id}}))},t.getOffsetPoint=function(){},t.getAxisVector=function(){},t.getOffsetVector=function(t,e){var n=this.getAxisVector(t),i=Mt.normalize([],n),r=this.offsetFactor,a=[-1*i[1]*r,i[0]*r];return Mt.scale([],a,e)},t.getSidePoint=function(t,e){var n=this.getOffsetVector(t,e);return{x:t.x+n[0],y:t.y+n[1]}},t.getTextAlignInfo=function(t,e){var n=this.getOffsetVector(t,e);return{textAlign:n[0]>0?"left":n[0]<0?"right":"center",textBaseline:n[1]>0?"top":n[1]<0?"bottom":"middle"}},t.getContainer=function(t){var e=this.frontContainer,n=this.backContainer;return t?e:n},e}(),Rn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.start=null,this.end=null},n.getOffsetPoint=function(t){var e=this.start,n=this.end;return{x:e.x+(n.x-e.x)*t,y:e.y+(n.y-e.y)*t}},n.getAxisVector=function(){var t=this.start,e=this.end;return[e.x-t.x,e.y-t.y]},n.drawLine=function(t){var e=this.getContainer(t.top),n=this.start,i=this.end;e.addShape("line",{className:"axis-line",attrs:T({x1:n.x,y1:n.y,x2:i.x,y2:i.y},t)})},e}(Xn);Xn.Line=Rn;var Ln=function(){function t(t){this.axisCfg={},this.frontPlot=null,this.backPlot=null,this.axes={},T(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.axisCfg;return!e||!1===e[t]},e._getLinePosition=function(t,e,n,i){var r="",a=t.field,s=this.axisCfg;return s[a]&&s[a].position?r=s[a].position:"x"===e?r=i?"left":"bottom":"y"===e&&(r=n?"right":"left",i&&(r="bottom")),r},e._getLineCfg=function(t,e,n){var i,r,a=1;return"x"===e?(i={x:0,y:0},r={x:1,y:0}):"right"===n?(i={x:1,y:0},r={x:1,y:1}):(i={x:0,y:0},r={x:0,y:1},a=-1),t.transposed&&(a*=-1),{offsetFactor:a,start:t.convertPoint(i),end:t.convertPoint(r)}},e._getCircleCfg=function(t){return{startAngle:t.startAngle,endAngle:t.endAngle,center:t.center,radius:t.circleRadius}},e._getRadiusCfg=function(t){var e,n;return t.transposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(n)}},e._getAxisCfg=function(t,e,n,i,r){var a=this,o=this,l=this.axisCfg,c=e.getTicks(),h=D({ticks:c,frontContainer:this.frontPlot,backContainer:this.backPlot},r,l[e.field]),f=[],d=h.label,p=c.length,g=0,v=0,m=d;return u(c,(function(t,e){if(s(d)){var n=d(t.text,e,p);m=n?T({},mt._defaultAxis.label,n):null}if(m){var i={};m.textAlign&&(i.textAlign=m.textAlign),m.textBaseline&&(i.textBaseline=m.textBaseline);var r=(m.top?a.frontPlot:a.backPlot).addShape("text",{className:"axis-label",aria:!1,attrs:T({x:0,y:0,text:t.text,fontFamily:o.chart.get("canvas").get("fontFamily")},m),value:t.value,textStyle:i,top:m.top,context:o.chart.get("canvas").get("context")});f.push(r);var l=r.getBBox(),c=l.width,u=l.height;g=Math.max(g,c),v=Math.max(v,u)}})),h.labels=f,h.maxWidth=g,h.maxHeight=v,h},e._createAxis=function(t,e,n,i,r){void 0===r&&(r="");var a,s,o,l=t.type,c=t.transposed;if("cartesian"===l||"rect"===l){var u=this._getLinePosition(e,i,r,c);(o=mt.axis[u]).position=u,a="Line",s=u}else"x"===i&&!c||"y"===i&&c?(o=mt.axis.circle,a="Circle",s="circle"):(o=mt.axis.radius,a="Line",s="radius");var h=this._getAxisCfg(t,e,n,i,o);h.type=a,h.dimType=i,h.verticalScale=n,h.index=r,this.axes[s]=h},e.createAxis=function(t,e,n){var i=this;e&&!i._isHide(e.field)&&i._createAxis(t,e,n[0],"x"),u(n,(function(n,r){i._isHide(n.field)||i._createAxis(t,n,e,"y",r)}));var r=this.axes,a=i.chart;if(a._isAutoPadding()){var s=ut(a.get("padding")),l=ut(a.get("appendPadding")),c=a.get("legendRange")||{top:0,right:0,bottom:0,left:0},h=["auto"===s[0]?c.top+2*l[0]:s[0],"auto"===s[1]?c.right+l[1]:s[1],"auto"===s[2]?c.bottom+l[2]:s[2],"auto"===s[3]?c.left+l[3]:s[3]];if(t.isPolar){var f=r.circle;if(f){var d=f.maxHeight,p=f.maxWidth,g=f.labelOffset;h[0]+=d+g,h[1]+=p+g,h[2]+=d+g,h[3]+=p+g}}else{if(r.right&&"auto"===s[1]){var v=r.right,m=v.maxWidth,y=v.labelOffset;h[1]+=m+y}if(r.left&&"auto"===s[3]){var x=r.left,b=x.maxWidth,w=x.labelOffset;h[3]+=b+w}if(r.bottom&&"auto"===s[2]){var _=r.bottom,S=_.maxHeight,C=_.labelOffset;h[2]+=S+C}}a.set("_padding",h),a._updateLayout(h)}u(r,(function(e){var n,r=e.type,a=e.grid,s=e.verticalScale,l=e.ticks,c=e.dimType,h=e.position,f=e.index;if(t.isPolar?"Line"===r?n=i._getRadiusCfg(t):"Circle"===r&&(n=i._getCircleCfg(t)):n=i._getLineCfg(t,c,h),a&&s){var d=[],p=function(t){var e=t.slice(0);if(e.length>0){var n=e[0],i=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==i.value&&e.push({value:1})}return e}(s.getTicks());u(l,(function(e){var n=[];u(p,(function(i){var r="x"===c?e.value:i.value,a="x"===c?i.value:e.value;if(r>=0&&r<=1&&a>=0&&a<=1){var s=t.convertPoint({x:r,y:a});n.push(s)}})),d.push({points:n,_id:"axis-"+c+f+"-grid-"+e.tickValue})})),e.gridPoints=d,t.isPolar&&(e.center=t.center,e.startAngle=t.startAngle,e.endAngle=t.endAngle)}n._id="axis-"+c,o(f)||(n._id="axis-"+c+f),new Xn[r](T(e,n))}))},e.clear=function(){this.axes={},this.frontPlot.clear(),this.backPlot.clear()},t}(),Bn=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.abs(n)>Math.abs(i)?n>0?"right":"left":i>0?"down":"up"},jn=function(t,e){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)},Gn=function(){function t(t){var e=this,n=t.canvas,i=t.el;yt(this,"_click",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEvent("click",t)})),yt(this,"_start",(function(t){var n,i,r=ot(t,e.canvas);r&&(t.points=r,e.emitEvent("touchstart",t),e.reset(),e.startTime=Date.now(),e.startPoints=r,r.length>1?(e.startDistance=jn(r[0],r[1]),e.center=(n=r[0],i=r[1],{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2})):e.pressTimeout=setTimeout((function(){t.direction="none",e.emitStart("press",t),e.emitEvent("press",t),e.eventType="press",e.direction="none"}),250))})),yt(this,"_move",(function(t){var n=ot(t,e.canvas);if(n){e.clearPressTimeout(),t.points=n,e.emitEvent("touchmove",t);var i=e.startPoints;if(i)if(n.length>1){var r=e.startDistance,a=jn(n[0],n[1]);t.zoom=a/r,t.center=e.center,e.emitStart("pinch",t),e.emitEvent("pinch",t)}else{var s=n[0].x-i[0].x,o=n[0].y-i[0].y,l=e.direction||Bn(i[0],n[0]);e.direction=l;var c=e.getEventType(n);t.direction=l,t.deltaX=s,t.deltaY=o,e.emitStart(c,t),e.emitEvent(c,t);var u=e.lastMoveTime,h=Date.now();h-u>0&&(e.prevMoveTime=u,e.prevMovePoints=e.lastMovePoints,e.lastMoveTime=h,e.lastMovePoints=n)}}})),yt(this,"_end",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEnd(t),e.emitEvent("touchend",t);var i=e.lastMoveTime;if(Date.now()-i<100){var r=i-(e.prevMoveTime||e.startTime);if(r>0){var a=e.prevMovePoints||e.startPoints,s=e.lastMovePoints,o=jn(a[0],s[0])/r;o>.3&&(t.velocity=o,t.direction=Bn(a[0],s[0]),e.emitEvent("swipe",t))}}e.reset();var l=t.touches;l&&l.length>0&&e._start(t)})),yt(this,"_cancel",(function(t){e.emitEvent("touchcancel",t),e.reset()})),this.canvas=n,this.delegateEvent(i),this.processEvent={}}var e=t.prototype;return e.delegateEvent=function(t){t.addEventListener("click",this._click),t.addEventListener("touchstart",this._start),t.addEventListener("touchmove",this._move),t.addEventListener("touchend",this._end),t.addEventListener("touchcancel",this._cancel)},e.emitEvent=function(t,e){this.canvas.emit(t,e)},e.getEventType=function(t){var e,n=this.eventType,i=this.canvas,r=this.startTime,a=this.startPoints;if(n)return n;var s=i.__events.pan;return e=s&&s.length?Date.now()-r>250&&jn(a[0],t[0])<10?"press":"pan":"press",this.eventType=e,e},e.enable=function(t){this.processEvent[t]=!0},e.isProcess=function(t){return this.processEvent[t]},e.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(i){e.emitEvent(i+"end",t),delete n[i]}))},e.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},t}(),Hn=function(t){function e(e){var n;return(n=t.call(this)||this).context=e,n.width=0,n.height=0,n.style={},n.currentStyle={},n.attrs={},n.isCanvasElement=!0,n}bt(e,t);var n=e.prototype;return n.getContext=function(){return this.context},n.getBoundingClientRect=function(){return{top:0,right:this.width,bottom:this.height,left:0}},n.setAttribute=function(t,e){this.attrs[t]=e},n.addEventListener=function(t,e){this.on(t,e)},n.removeEventListener=function(t,e){this.off(t,e)},n.dispatchEvent=function(t,e){this.emit(t,e)},e}(_t),Wn=function(t){return t?function(t){if(!t)return!1;if(1!==t.nodeType||!t.nodeName||"canvas"!==t.nodeName.toLowerCase())return!1;var e=!1;try{t.addEventListener("eventTest",(function(){e=!0})),t.dispatchEvent(new Event("eventTest"))}catch(t){e=!1}return e}(t.canvas)?t.canvas:new Hn(t):null};function Vn(t,e){u(t,(function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])}))}function qn(t,e,n){if("("===t[1])try{var i=t[0];if("l"===i)return function(t,e,n){var i,r,a=t.split(" "),s=a[0].slice(2,a[0].length-1);i=parseFloat(s)*Math.PI/180,r=2*Math.PI,s=(i%r+r)%r;var o,l,c=a.slice(1),u=e.getBBox(),h=u.minX,f=u.minY,d=u.maxX,p=u.maxY;s>=0&&s<.5*Math.PI?(o={x:h,y:f},l={x:d,y:p}):.5*Math.PI<=s&&s-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},t.attr=function(t,e){var n=this;if(n.get("destroyed"))return null;var i=arguments.length;if(0===i)return n._attrs.attrs;if(c(t)){for(var r in this._attrs.bbox=null,t)n._setAttr(r,t[r]);return n._afterAttrsSet&&n._afterAttrsSet(),n}return 2===i?(this._attrs.bbox=null,n._setAttr(t,e),n._afterAttrsSet&&n._afterAttrsSet(),n):n._getAttr(t)},t.getParent=function(){return this.get("parent")},t.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},t.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},t.restoreContext=function(t){t.restore()},t.resetContext=function(t){var e=this._attrs.attrs;for(var n in e)if(Un.indexOf(n)>-1){var i=e[n];"fillStyle"!==n&&"strokeStyle"!==n||!i||(i=qn(i,this,t)),"lineDash"===n&&t.setLineDash&&l(i)?t.setLineDash(i):t[n]=i}},t.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},t.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},t.drawInner=function(){},t.show=function(){return this.set("visible",!0),this},t.hide=function(){return this.set("visible",!1),this},t.isVisible=function(){return this.get("visible")},t.getAriaLabel=function(){var t=this._attrs,e=t.destroyed,n=t.visible,i=t.isShape,r=t.aria;if(!e&&n&&(!i||r))return this._getAriaLabel()},t._getAriaLabel=function(){return this._attrs.ariaLabel},t._removeFromParent=function(){var t=this.get("parent");return t&&G(t.get("children"),this),this},t.remove=function(t){t?this.destroy():this._removeFromParent()},t.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},t.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},t.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},t.getMatrix=function(){return this._attrs.attrs.matrix},t.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},t.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=kt.transform(e,t),this},t.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},t.translate=function(t,e){var n=this._attrs.attrs.matrix;kt.translate(n,n,[t,e])},t.rotate=function(t){var e=this._attrs.attrs.matrix;kt.rotate(e,e,t)},t.scale=function(t,e){var n=this._attrs.attrs.matrix;kt.scale(n,n,[t,e])},t.moveTo=function(t,e){var n=this._attrs.x||0,i=this._attrs.y||0;this.translate(t-n,e-i),this.set("x",t),this.set("y",e)},t.apply=function(t){var e=this._attrs.attrs.matrix;return Mt.transformMat2d(t,t,e),this},t.resetTransform=function(t){var e=this._attrs.attrs.matrix;kt.isChanged(e)&&t.transform(e[0],e[1],e[2],e[3],e[4],e[5],!0)},t.isDestroyed=function(){return this.get("destroyed")},e}(),Qn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1,isShape:!0,attrs:{}}},n.getType=function(){return this._attrs.type},n.drawInner=function(t){var e=this.get("attrs");this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var i=e.fillOpacity;o(i)||1===i?t.fill():(t.globalAlpha=i,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&e.lineWidth>0){var r=e.strokeOpacity;o(r)||1===r||(t.globalAlpha=r),t.stroke()}},n.getBBox=function(){var t=this._attrs.bbox;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},n.calculateBox=function(){return null},n.createPath=function(){},e}(Kn),$n=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="rect"},n.getDefaultAttrs=function(){return{x:0,y:0,width:0,height:0,radius:0,lineWidth:0}},n.createRadiusPath=function(t,e,n,i,r,a){a=function(t,e,n){if(!((t=ut(t))[0]||t[1]||t[2]||t[3]))return t;var i=Math.max(t[0]+t[1],t[2]+t[3]),r=Math.max(t[0]+t[3],t[1]+t[2]),a=Math.min(e/i,n/r);return a<1?t.map((function(t){return t*a})):t}(a,i,r),t.moveTo(e+a[0],n),t.lineTo(e+i-a[1],n),t.arc(e+i-a[1],n+a[1],a[1],-Math.PI/2,0,!1),t.lineTo(e+i,n+r-a[2]),t.arc(e+i-a[2],n+r-a[2],a[2],0,Math.PI/2,!1),t.lineTo(e+a[3],n+r),t.arc(e+a[3],n+r-a[3],a[3],Math.PI/2,Math.PI,!1),t.lineTo(e,n+a[0]),t.arc(e+a[0],n+a[0],a[0],Math.PI,3*Math.PI/2,!1),t.closePath()},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.width,a=e.height,s=e.radius;t.beginPath(),s&&r*a?this.createRadiusPath(t,n,i,r,a,s):t.rect(n,i,r,a)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},e}(Qn),ti=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!1,this._attrs.canStroke=!1,this._attrs.loading=!1,this._attrs.image=null,this._attrs.type="image"},n.createPath=function(t){var e=this,n=this.get("attrs").src;if(!this.get("loading")){var i=this.get("image");if(i)this.drawImage(t,i);else if(n&&Image){this.set("loading",!0);var r=new Image;r.src=n,r.crossOrigin="Anonymous",r.onload=function(){e.set("loading",!1),e.set("image",r),e.drawImage(t,r)}}}},n.drawImage=function(t,e){var n=this._attrs,i=n.attrs;if(!n.destroyed){var r=i.x,a=i.y,s=i.width,l=i.height,c=i.sx,u=i.sy,h=i.swidth,f=i.sheight,d=i.radius;d&&(t.save(),this.createRadiusPath(t,r,a,s,l,d),t.clip()),o(c)||o(u)||o(h)||o(f)?t.drawImage(e,r,a,s,l):t.drawImage(e,c,u,h,f,r,a,s,l),d&&t.restore()}},e}($n),ei=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="circle"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r;return{minX:e-i,maxX:e+i,minY:n-i,maxY:n+i}},e}(Qn),ni=Mt.create(),ii=Mt.create(),ri=Mt.create();function ai(t,e,n,i,r){var a=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*n+t*(-6*n+3*n*t))*t+(3*i-3*i*t)*a+r*(a*t)}function si(t){for(var e,n,i,r,a,s=1/0,o=-1/0,l=1/0,c=-1/0,u={x:t[0],y:t[1]},h={x:t[2],y:t[3]},f={x:t[4],y:t[5]},d={x:t[6],y:t[7]},p=0;p<100;p++){var g={x:ai(a=p/100,(e=u).x,(n=h).x,(i=f).x,(r=d).x),y:ai(a,e.y,n.y,i.y,r.y)};g.xo&&(o=g.x),g.yc&&(c=g.y)}return{minX:s,minY:l,maxX:o,maxY:c}}function oi(t,e){if(0!==t.length){for(var n=t[0],i=n.x,r=n.x,a=n.y,s=n.y,o=t.length,l=1;l1e-4)return{minX:t-n,minY:e-n,maxX:t+n,maxY:e+n};ni[0]=Math.cos(i)*n+t,ni[1]=Math.sin(i)*n+e,ii[0]=Math.cos(r)*n+t,ii[1]=Math.sin(r)*n+e;var o=[0,0],l=[0,0];if(Mt.min(o,ni,ii),Mt.max(l,ni,ii),(i%=2*Math.PI)<0&&(i+=2*Math.PI),(r%=2*Math.PI)<0&&(r+=2*Math.PI),i>r&&!a?r+=2*Math.PI:ii&&(ri[0]=Math.cos(u)*n+t,ri[1]=Math.sin(u)*n+e,Mt.min(o,ri,o),Mt.max(l,ri,l));return{minX:o[0],minY:o[1],maxX:l[0],maxY:l[1]}}var ci=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.type="line"},n.getDefaultAttrs=function(){return{x1:0,y1:0,x2:0,y2:0,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x1,i=e.y1,r=e.x2,a=e.y2;t.beginPath(),t.moveTo(n,i),t.lineTo(r,a)},n.calculateBox=function(){var t=this.get("attrs");return function(t,e,n,i,r){return r=r/2||0,{minX:Math.min(t,n)-r,minY:Math.min(e,i)-r,maxX:Math.max(t,n)+r,maxY:Math.max(e,i)+r}}(t.x1,t.y1,t.x2,t.y2,t.lineWidth)},e}(Qn),ui=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polygon"},n.getDefaultAttrs=function(){return{points:null,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs").points;t.beginPath();for(var n=0,i=e.length;ni&&(i=l.maxX),l.minYa&&(a=l.maxY)}return{minX:n-(e=e/2||0),minY:r-e,maxX:i+e,maxY:a+e}}(a,i)}return oi(r,i)},e}(Qn),gi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.canFill=!0,this._attrs.type="arc"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r,a=e.startAngle,s=e.endAngle,o=e.anticlockwise;t.beginPath(),a!==s&&t.arc(n,i,r,a,s,o)},n.calculateBox=function(){var t=this.get("attrs");return li(t.x,t.y,t.r,t.startAngle,t.endAngle,t.anticlockwise)},e}(Qn),vi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="sector"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0,r:0,r0:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.startAngle,a=e.endAngle,s=e.r,o=e.r0,l=e.anticlockwise;t.beginPath();var c=Math.cos(r),u=Math.sin(r);t.moveTo(c*o+n,u*o+i),t.lineTo(c*s+n,u*s+i),(Math.abs(a-r)>1e-4||0===r&&a<0)&&(t.arc(n,i,s,r,a,l),t.lineTo(Math.cos(a)*o+n,Math.sin(a)*o+i),0!==o&&t.arc(n,i,o,a,r,!l)),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r,r=t.r0,a=t.startAngle,s=t.endAngle,o=t.anticlockwise,l=li(e,n,i,a,s,o),c=li(e,n,r,a,s,o);return{minX:Math.min(l.minX,c.minX),minY:Math.min(l.minY,c.minY),maxX:Math.max(l.maxX,c.maxX),maxY:Math.max(l.maxY,c.maxY)}},e}(Qn),mi=function(t){var e=t.width,n=t.height,i=t.rotate,r=Math.abs(i);return{width:Math.abs(e*Math.cos(r)+n*Math.sin(r)),height:Math.abs(n*Math.cos(r)+e*Math.sin(r))}},yi=0,xi={},bi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},n.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},n._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,n=t.fontFamily,i=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+i+" "+e+"px "+n},n._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,n=null,i=1;p(e)&&-1!==e.indexOf("\n")&&(i=(n=e.split("\n")).length),t.lineCount=i,t.textArr=n}this.set("attrs",t)},n._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},n._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},n.drawInner=function(t){var e=this._attrs.attrs,n=e.text,i=e.x,r=e.y;if(!(o(n)||isNaN(i)||isNaN(r))){var a=e.textArr,s=1*e.fontSize,l=this._getSpaceingY();e.rotate&&(t.translate(i,r),t.rotate(e.rotate),i=0,r=0);var c,u,h=e.textBaseline;if(a&&(c=this._getTextHeight()),this.hasFill()){var f=e.fillOpacity;if(o(f)||1===f||(t.globalAlpha=f),a)for(var d=0,p=a.length;d5e3&&(yi=0,xi={}),yi++,xi[a]=s,s}},e}(Qn),wi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.createPath=null,this._attrs.type="custom"},n.createPath=function(t){var e=this.get("createPath");e&&e.call(this,t)},n.calculateBox=function(){var t=this.get("calculateBox");return t&&t.call(this)},e}(Qn),_i={circle:function(t,e,n,i){i.arc(t,e,n,0,2*Math.PI,!1)},square:function(t,e,n,i){i.moveTo(t-n,e-n),i.lineTo(t+n,e-n),i.lineTo(t+n,e+n),i.lineTo(t-n,e+n),i.closePath()}},Si=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="marker"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0}},n.createPath=function(t){var e,n=this.get("attrs"),i=n.x,r=n.y,a=n.radius,o=n.symbol||"circle";e=s(o)?o:_i[o],t.beginPath(),e(i,r,a,t,this)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.radius;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},e}(Qn);Qn.Rect=$n,Qn.Image=ti,Qn.Circle=ei,Qn.Line=ci,Qn.Polygon=ui,Qn.Polyline=pi,Qn.Arc=gi,Qn.Sector=vi,Qn.Text=bi,Qn.Custom=wi,Qn.Marker=Si;var Ci={},ki={getGroupClass:function(){},getChildren:function(){return this.get("children")},addShape:function(t,e){void 0===e&&(e={});var n=Ci[t];n||(n=S(t),Ci[t]=n);var i=new Qn[n](e);return this.add(i),i},addGroup:function(t){var e=new(this.getGroupClass())(t);return this.add(e),e},contain:function(t){return this.get("children").indexOf(t)>-1},sort:function(){for(var t=this.get("children"),e=0,n=t.length;e=r.x&&n<=a.x&&i>=r.y&&i<=s.y}var Fi=Object.freeze({__proto__:null,getClip:Oi,isPointInPlot:Ei});function Ni(t,e){return t-e}var zi=function(t){bt(n,t),n.initPlugins=function(){return{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,s,o=this.descriptors(t),l=o.length;for(i=0;i0;)t.shift().destroy()},e._clearGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e=0&&(e.lineWidth=t.size),T(e,t.style),T({},mt.shape.line,e)}(e);return"dash"===t&&(r.lineDash=mt.lineDash),function(t,e,n,i){var r=t.points;if(r.length&&l(r[0].y)){for(var a=[],s=[],o=0,c=r.length;o1?mt.widthRatio.multiplePie:mt.widthRatio.rose:(n.isLinear&&(s*=a[1]-a[0]),o=mt.widthRatio.column),s*=o,this.hasAdjust("dodge")&&(s/=i.length),t=s,this.set("defaultSize",t)}return t},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),i=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),r=0;return n&&i&&(r=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2))),r},_getWidth:function(){var t=this.get("_width");if(!t){var e=this.get("coord");t=e&&e.isPolar&&!e.transposed?(e.endAngle-e.startAngle)*e.circleRadius:this.getDimWidth("x"),this.set("_width",t)}return t},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return o(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(o(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};function Ki(t){var e,n,i=t.x,r=t.y,a=t.y0,s=t.size,o=a,c=r;return l(r)&&(c=r[1],o=r[0]),l(i)?(e=i[0],n=i[1]):(e=i-s/2,n=i+s/2),[{x:e,y:o},{x:e,y:c},{x:n,y:c},{x:n,y:o}]}jt.registerFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Ki(t)}}),jt.registerShape("interval","rect",{draw:function(t,e){var n=this.parsePoints(t.points),i=T({fill:t.color},mt.shape.interval,t.style);if(t.isInCircle){var r=n.slice(0);this._coord.transposed&&(r=[n[0],n[3],n[2],n[1]]);var a=t.center,s=a.x,o=a.y,l=[1,0],c=[r[0].x-s,r[0].y-o],u=[r[1].x-s,r[1].y-o],h=[r[2].x-s,r[2].y-o],f=Mt.angleTo(l,u),d=Mt.angleTo(l,h),p=Mt.length(c),g=Mt.length(u);return f>=1.5*Math.PI&&(f-=2*Math.PI),d>=1.5*Math.PI&&(d-=2*Math.PI),e.addShape("Sector",{className:"interval",attrs:T({x:s,y:o,r:g,r0:p,startAngle:f,endAngle:d},i)})}var v=function(t){for(var e=[],n=[],i=0,r=t.length;i=0?"positive":"negative";r[d][f]||(r[d][f]=0),c[n]=[r[d][f],h+r[d][f]],r[d][f]+=h}}},i}(qt);qt.Stack=ar;var sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or=function(t){var e=void 0===t?"undefined":sr(t);return null!==t&&"object"===e||"function"===e},lr=function(t,e){if(t)if(ir(t))for(var n=0,i=t.length;ni&&(n=t,i=r)})),n}},fr={merge:function(t){for(var e=[],n=0;n0&&l<=1&&(i*=l),this.x={start:this.startAngle,end:this.endAngle},this.y={start:i*a,end:i},this.center=r,this.circleRadius=i},n._convertPoint=function(t){var e=this.center,n=this.transposed,i=n?"y":"x",r=n?"x":"y",a=this.x,s=this.y,o=a.start+(a.end-a.start)*t[i],l=s.start+(s.end-s.start)*t[r];return{x:e.x+Math.cos(o)*l,y:e.y+Math.sin(o)*l}},n._invertPoint=function(t){var e=this.center,n=this.transposed,i=this.x,r=this.y,a=n?"y":"x",s=n?"x":"y",o=[1,0,0,1,0,0];kt.rotate(o,o,i.start);var l=[1,0];Mt.transformMat2d(l,l,o),l=[l[0],l[1]];var c=[t.x-e.x,t.y-e.y];if(Mt.zero(c))return{x:0,y:0};var u=Mt.angleTo(l,c,i.end0?f:-f;var d=(h-r.start)/(r.end-r.start),p={};return p[a]=f,p[s]=d,p},e}(At);At.Polar=pr;var gr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.radius=null,this.center=null},n.getOffsetPoint=function(t){var e=this.startAngle,n=e+(this.endAngle-e)*t;return this._getCirclePoint(n)},n._getCirclePoint=function(t,e){var n=this.center;return e=e||this.radius,{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},n.getTextAlignInfo=function(t,e){var n,i=this.getOffsetVector(t,e),r="middle";return i[0]>0?n="left":i[0]<0?n="right":(n="center",i[1]>0?r="top":i[1]<0&&(r="bottom")),{textAlign:n,textBaseline:r}},n.getAxisVector=function(t){var e=this.center,n=this.offsetFactor;return[(t.y-e.y)*n,-1*(t.x-e.x)*n]},n.drawLine=function(t){var e=this.center,n=this.radius,i=this.startAngle,r=this.endAngle;this.getContainer(t.top).addShape("arc",{className:"axis-line",attrs:T({x:e.x,y:e.y,r:n,startAngle:i,endAngle:r},t)})},e}(Xn);Xn.Circle=gr;var vr={min:0,median:.5,max:1},mr=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),D(this,t)}return t._initDefaultCfg=function(){},t._getNormalizedValue=function(t,e){return o(vr[t])?e.scale(t):vr[t]},t.parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,i=parseFloat(e[1])/100,r=t.start,a=t.end,s=Math.abs(r.x-a.x),o=Math.abs(r.y-a.y);return{x:s*n+Math.min(r.x,a.x),y:o*i+Math.min(r.y,a.y)}},t.parsePoint=function(t,e){var n=this.xScale,i=this.yScales;if(s(e)&&(e=e(n,i)),p(e[0])&&-1!==e[0].indexOf("%")&&!isNaN(e[0].slice(0,-1)))return this.parsePercentPoint(t,e);var r=this._getNormalizedValue(e[0],n),a=this._getNormalizedValue(e[1],i[0]),o=t.convertPoint({x:r,y:a});return this.limitInPlot?r>=0&&r<=1&&a>=0&&a<=1?o:null:o},t.render=function(){},t.repaint=function(){this.remove();var t=this.coord,e=this.container,n=this.canvas;e&&!e.isDestroyed()&&(this.render(t,e),n.draw())},t.remove=function(){var t=this.element;t&&t.remove(!0)},t.changeVisible=function(t){this.visible=t;var e=this.element;e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},e}(),yr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="arc",this.start=[],this.end=[],this.style={stroke:"#999",lineWidth:1}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=t.center,a=Math.sqrt((n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y)),s=Math.atan2(n.y-r.y,n.x-r.x),o=Math.atan2(i.y-r.y,i.x-r.x),l=e.addShape("arc",{className:"guide-arc",attrs:T({x:r.x,y:r.y,r:a,startAngle:s,endAngle:o},this.style)});return this.element=l,l}},e}(mr);function xr(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function br(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]}mr.Arc=yr;var wr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="html",this.position=null,this.alignX="center",this.alignY="middle",this.offsetX=null,this.offsetY=null,this.html=null},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n){var i=br(this.html);i=xr(i,{position:"absolute",top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"hidden"});var r=e.get("canvas").get("el"),a=r.parentNode;a=xr(a,{position:"relative"});var s=br('
');a.appendChild(s),s.appendChild(i);var o=r.offsetTop,l=r.offsetLeft,c=this.alignX,u=this.alignY,h=this.offsetX,f=this.offsetY,d=function(t,e,n,i){var r=[];return"left"===t&&"top"===e?(r[0]=0,r[1]=0):"right"===t&&"top"===e?(r[0]=-n,r[1]=0):"left"===t&&"bottom"===e?(r[0]=0,r[1]=Math.floor(-i)):"right"===t&&"bottom"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i)):"right"===t&&"middle"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i/2)):"left"===t&&"middle"===e?(r[0]=0,r[1]=Math.floor(-i/2)):"center"===t&&"bottom"===e?(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i)):"center"===t&&"top"===e?(r[0]=Math.floor(-n/2),r[1]=0):(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i/2)),r}(c,u,tt(i),et(i));n.x=n.x+d[0]+l,n.y=n.y+d[1]+o,h&&(n.x+=h),f&&(n.y+=f),xr(i,{top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"visible"}),this.element=s}},n.remove=function(){var t=this.element;t&&t.parentNode&&t.parentNode.removeChild(t)},e}(mr);mr.Html=wr;var _r=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="line",this.start=[],this.end=[],this.style={stroke:"#000",lineWidth:1}},n.render=function(t,e){var n=[];if(n[0]=this.parsePoint(t,this.start),n[1]=this.parsePoint(t,this.end),n[0]&&n[1]){var i=e.addShape("Line",{className:"guide-line",attrs:T({x1:n[0].x,y1:n[0].y,x2:n[1].x,y2:n[1].y},this.style)});return this.element=i,i}},e}(mr);mr.Line=_r;var Sr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="rect",this.start=[],this.end=[],this.style={fill:"#CCD7EB",opacity:.4}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=e.addShape("rect",{className:"guide-rect",attrs:T({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),width:Math.abs(i.x-n.x),height:Math.abs(n.y-i.y)},this.style)});return this.element=r,r}},e}(mr);mr.Rect=Sr;var Cr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="text",this.position=null,this.content=null,this.style={fill:"#000"},this.offsetX=0,this.offsetY=0},n.render=function(t,e){var n=this.position,i=this.parsePoint(t,n);if(i){var r=this.content,a=this.style,s=this.offsetX,o=this.offsetY;s&&(i.x+=s),o&&(i.y+=o);var l=e.addShape("text",{className:"guide-text",attrs:T({x:i.x,y:i.y,text:r},a)});return this.element=l,l}},e}(mr);mr.Text=Cr;var kr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="tag",this.position=null,this.content=null,this.direct="tl",this.autoAdjust=!0,this.offsetX=0,this.offsetY=0,this.side=4,this.background={padding:5,radius:2,fill:"#1890FF"},this.textStyle={fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},this.withPoint=!0,this.pointStyle={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n._getDirect=function(t,e,n,i){var r=this.direct,a=this.side,s=t.get("canvas"),o=s.get("width"),l=s.get("height"),c=e.x,u=e.y,h=r[0],f=r[1];"t"===h&&u-a-i<0?h="b":"b"===h&&u+a+i>l&&(h="t");var d="c"===h?a:0;return"l"===f&&c-d-n<0?f="r":"r"===f&&c+d+n>o?f="l":"c"===f&&(n/2+c+d>o?f="l":c-n/2-d<0&&(f="r")),h+f},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n&&!isNaN(n.x)&&!isNaN(n.y)){var i=this.content,r=this.background,a=this.textStyle,s=[],o=e.addGroup({className:"guide-tag"});if(this.withPoint){var l=o.addShape("Circle",{className:"guide-tag-point",attrs:T({x:n.x,y:n.y},this.pointStyle)});s.push(l)}var c=o.addGroup(),u=c.addShape("text",{className:"guide-tag-text",zIndex:1,attrs:T({x:0,y:0,text:i},a)});s.push(u);var h=u.getBBox(),f=ut(r.padding),d=h.width+f[1]+f[3],p=h.height+f[0]+f[2],g=h.minY-f[0],v=h.minX-f[3],m=c.addShape("rect",{className:"guide-tag-bg",zIndex:-1,attrs:T({x:v,y:g,width:d,height:p},r)});s.push(m);var y,x=this.autoAdjust?this._getDirect(e,n,d,p):this.direct,b=this.side,w=n.x+this.offsetX,_=n.y+this.offsetY,S=ut(r.radius);"tl"===x?(y=[{x:d+v-b-1,y:p+g-1},{x:d+v,y:p+g-1},{x:d+v,y:p+b+g}],S[2]=0,w-=d,_=_-b-p):"cl"===x?(y=[{x:d+v-1,y:(p-b)/2+g-1},{x:d+v-1,y:(p+b)/2+g+1},{x:d+b+v,y:p/2+g}],w=w-d-b,_-=p/2):"bl"===x?(y=[{x:d+v,y:-b+g},{x:d+v-b-1,y:g+1},{x:d+v,y:g+1}],S[1]=0,w-=d,_+=b):"bc"===x?(y=[{x:d/2+v,y:-b+g},{x:(d-b)/2+v-1,y:g+1},{x:(d+b)/2+v+1,y:g+1}],w-=d/2,_+=b):"br"===x?(y=[{x:v,y:g-b},{x:v,y:g+1},{x:v+b+1,y:g+1}],S[0]=0,_+=b):"cr"===x?(y=[{x:v-b,y:p/2+g},{x:v+1,y:(p-b)/2+g-1},{x:v+1,y:(p+b)/2+g+1}],w+=b,_-=p/2):"tr"===x?(y=[{x:v,y:p+b+g},{x:v,y:p+g-1},{x:b+v+1,y:p+g-1}],S[3]=0,_=_-p-b):"tc"===x&&(y=[{x:(d-b)/2+v-1,y:p+g-1},{x:(d+b)/2+v+1,y:p+g-1},{x:d/2+v,y:p+b+g}],w-=d/2,_=_-p-b);var C=c.addShape("Polygon",{className:"guide-tag-side",zIndex:0,attrs:{points:y,fill:r.fill}});return s.push(C),m.attr("radius",S),c.moveTo(w-v,_-g),c.sort(),this.element=o,s}},e}(mr);mr.Tag=kr;var Mr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="point",this.position=null,this.offsetX=0,this.offsetY=0,this.style={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(!n)return null;var i=e.addShape("Circle",{className:"guide-point",attrs:T({x:n.x+this.offsetX,y:n.y+this.offsetY},this.style)});return this.element=i,i},e}(mr);mr.Point=Mr;var Pr=function(){var t=e.prototype;function e(t){D(this,this.getDefaultCfg(),t),this._init(),this._renderTitle(),this._renderItems()}return t.getDefaultCfg=function(){return{showTitle:!1,title:null,items:null,titleGap:12,itemGap:10,itemMarginBottom:12,itemFormatter:null,itemWidth:null,wordSpace:6,x:0,y:0,layout:"horizontal",joinString:": "}},t._init=function(){var t=this.parent;if(t){var e=t.addGroup({zIndex:this.zIndex||0});this.container=e;var n=e.addGroup();this.wrapper=n;var i=n.addGroup({className:"itemsGroup"});this.itemsGroup=i}},t._renderTitle=function(t){t=t||this.title;var e=this.titleShape,n=0;if(this.showTitle&&t){if(e&&!e.get("destroyed"))e.attr("text",t);else{var i=this.wrapper,r=this.titleStyle;e=i.addShape("text",{className:"title",attrs:T({x:0,y:0,text:t},r)}),this.titleShape=e}n=e.getBBox().height+this.titleGap}this._titleHeight=n},t._renderItems=function(t){var e=this;(t=t||e.items)&&(e.reversed&&t.reverse(),u(t,(function(t,n){e._addItem(t,n)})),t.length>1&&this._adjustItems(),this._renderBackground())},t._renderBackground=function(){var t=this.background;if(t){var e=this.container,n=this.wrapper.getBBox(),i=n.minX,r=n.minY,a=n.width,s=n.height,o=t.padding||[0,0,0,0],l=T({x:i-(o=ut(o))[3],y:r-o[0],width:a+o[1]+o[3],height:s+o[0]+o[2]},t),c=this.backShape;c?c.attr(l):c=e.addShape("Rect",{zIndex:-1,attrs:l}),this.backShape=c,e.sort()}},t._addItem=function(t){var e,n=this.itemsGroup.addGroup({name:t.name,value:t.value,dataValue:t.dataValue,checked:t.checked}),i=this.unCheckStyle,r=this.unCheckColor,a=this.nameStyle,s=this.valueStyle,o=this.wordSpace,l=t.marker,c=t.value,u=0;if(r&&(i.fill=r),l){var h=T({x:l.radius||3,y:this._titleHeight},l);!1===t.checked&&T(h,i),u+=n.addShape("marker",{className:"item-marker",attrs:h}).getBBox().width+o}var f=t.name;if(f){var d=this.joinString||"";f=c?f+d:f,e=n.addShape("text",{className:"name",attrs:T({x:u,y:this._titleHeight,text:this._formatItemValue(f)},a,!1===t.checked?i:null)})}if(c){var p=u;e&&(p+=e.getBBox().width),n.addShape("text",{className:"value",attrs:T({x:p,y:this._titleHeight,text:c},s,!1===t.checked?i:null)})}return n},t._formatItemValue=function(t){var e=this.itemFormatter;return e&&(t=e.call(this,t)),t},t._getMaxItemWidth=function(){var t=this.itemWidth;if(x(t)||o(t))return t;if("auto"===t){for(var e=this.itemsGroup.get("children"),n=e.length,i=0,r=0;r1e-4&&(o++,l=0),d.moveTo(l,o*e),u.push({x:l,y:o*e+s-g/2,width:1.375*v,height:1.375*g}),l+=t+r}this.legendHitBoxes=u},t._adjustVertical=function(){for(var t,e,n=this.maxLength,i=this.itemsGroup,r=this.itemGap,a=this.itemMarginBottom,s=this.itemWidth,o=this._titleHeight,l=i.get("children"),c=0,u=0,h=0,f=[],d=0,p=l.length;du&&(u=t+r),n-c=e.br.y&&(o=e.br.y-r),s<0&&(s=e.tl.x,n&&n.attr("x1",e.tl.x+a)),i.updatePosition(s,o)}},t.setXTipContent=function(t){var e=this.xTip;t=s(e)?e(t):T({text:t},e),this.xTipBox&&this.xTipBox.updateContent(t)},t.setXTipPosition=function(t){var e=this.showXTip,n=this.canvas,i=this.plotRange,r=this.xTipBox,a=this.crosshairsShapeY;if(e){var s=n.get("height"),o=r.getWidth(),l=r.getHeight(),c=t-o/2,u=i.br.y;c<=i.tl.x&&(c=i.tl.x),c+o>=i.tr.x&&(c=i.tr.x-o),s-u1?(t[0].x+t[t.length-1].x)/2:t[0].x)-h/2+i)p.x&&(g=p.x-h),s){var m=v+f;s.attr("points",[{x:o-3,y:m},{x:o+3,y:m},{x:o,y:m+4}]);var y=e.backShape,x=ut(y.attr("radius"));o===d.x?(x[3]=0,s.attr("points",[{x:d.x,y:m},{x:d.x+4,y:m},{x:d.x,y:m+4}])):o===p.x&&(x[2]=0,s.attr("points",[{x:p.x-4,y:m},{x:p.x,y:m},{x:p.x,y:m+4}])),y.attr("radius",x)}e.moveTo(g-c,v-u)}},t.setMarkers=function(t){void 0===t&&(t={});var e=t,n=e.items,i=e.style,r=e.type,a=this._getMarkerGroup(r);if("circle"===r)for(var s=0,o=n.length;s16&&(e.showTooltip(r),e.timeStamp=s)}else e.hideTooltip()}})),yt(this,"handleHideEvent",(function(){e.enable&&e.hideTooltip()})),this.enable=!0,this.cfg={},this.tooltip=null,this.chart=null,this.timeStamp=0,T(this,t);var n=this.chart.get("canvas");this.canvas=n,this.canvasDom=n.get("el")}var e=t.prototype;return e._setCrosshairsCfg=function(){var t=this.chart,e=T({},mt.tooltip),n=t.get("geoms"),i=[];u(n,(function(t){var e=t.get("type");-1===i.indexOf(e)&&i.push(e)}));var r=t.get("coord").type;return!n.length||"cartesian"!==r&&"rect"!==r||1===i.length&&-1!==["line","area","path","point"].indexOf(i[0])&&T(e,{showCrosshairs:!0}),e},e._getMaxLength=function(t){void 0===t&&(t={});var e=t,n=e.layout,i=e.plotRange;return"horizontal"===n?i.br.x-i.bl.x:i.bl.y-i.tr.y},e.render=function(){if(!this.tooltip){var t=this.chart,e=t.get("canvas"),n=t.get("frontPlot").addGroup({className:"tooltipContainer",zIndex:10}),i=t.get("backPlot").addGroup({className:"tooltipContainer"}),r=t.get("plotRange"),a=t.get("coord"),s=this._setCrosshairsCfg(),o=this.cfg,l=D({plotRange:r,frontPlot:n,backPlot:i,canvas:e,fixed:a.transposed||a.isPolar},s,o);l.maxLength=this._getMaxLength(l),this._tooltipCfg=l;var c=new Tr(l);this.tooltip=c,l.alwaysShow&&this.prePoint&&this.showTooltip(this.prePoint),this.bindEvents()}},e.clear=function(){var t=this.tooltip;t&&(t.destroy(),this.unBindEvents()),this.tooltip=null,this._lastActive=null},e._getTooltipMarkerStyle=function(t){void 0===t&&(t={});var e=t,n=e.type,i=e.items,r=this._tooltipCfg;if("rect"===n){var a,s,o,l,c=this.chart,u=c.get("plotRange"),h=u.tl,f=u.br,d=c.get("coord"),p=i[0],g=i[i.length-1],v=p.width;d.transposed?(a=h.x,s=g.y-.75*v,o=f.x-h.x,l=p.y-g.y+1.5*v):(a=p.x-.75*v,s=h.y,o=g.x-p.x+1.5*v,l=f.y-h.y),t.style=T({x:a,y:s,width:o,height:l,fill:"#CCD6EC",opacity:.3},r.tooltipMarkerStyle)}else t.style=T({radius:4,fill:"#fff",lineWidth:2},r.tooltipMarkerStyle);return t},e._setTooltip=function(t,e,n){void 0===n&&(n={}),this.prePoint=t;var i=this._lastActive,r=this.tooltip,a=this._tooltipCfg;e=Er(e);var s=this.chart,o=s.get("coord"),l=s.getYScales()[0],c=a.snap;if(!1===c&&l.isLinear){var u,h,f=o.invertPoint(t);Ei(t,s.get("plotRange"))&&(o.transposed?(u=l.invert(f.x),h=t.x,r.setXTipContent(u),r.setXTipPosition(h),r.setYCrosshairPosition(h)):(u=l.invert(f.y),h=t.y,r.setYTipContent(u),r.setYTipPosition(h),r.setXCrosshairPosition(h)))}if(a.onShow&&a.onShow({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n}),d=i,p=e,JSON.stringify(d)!==JSON.stringify(p)){var d,p;this._lastActive=e;var g=a.onChange;g&&g({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n});var v=e[0],m=v.title||v.name,y=v.x;if(e.length>1&&(y=(e[0].x+e[e.length-1].x)/2),r.setContent(m,e,o.transposed),r.setPosition(e,t),o.transposed){var x=v.y;e.length>1&&(x=(e[0].y+e[e.length-1].y)/2),r.setYTipContent(m),r.setYTipPosition(x),r.setXCrosshairPosition(x),c&&(r.setXTipContent(v.value),r.setXTipPosition(y),r.setYCrosshairPosition(y))}else r.setXTipContent(m),r.setXTipPosition(y),r.setYCrosshairPosition(y),c&&(r.setYTipContent(v.value),r.setYTipPosition(v.y),r.setXCrosshairPosition(v.y));var b=n.items;a.showTooltipMarker&&b.length?(n=this._getTooltipMarkerStyle(n),r.setMarkers(n)):r.clearMarkers(),r.show()}else!1===c&&(ht(a.crosshairsType,"y")||a.showYTip)&&this.chart.get("canvas").draw()},e.showTooltip=function(t){var e,n,i=this.chart,r=[],a=[],s=this._tooltipCfg,o=s.showItemMarker,c=s.itemMarkerStyle,h=s.alwaysShow;o&&(n=c);var f=i.get("geoms"),d=i.get("coord");if(u(f,(function(i){if(i.get("visible")){var s=i.get("type"),o=i.getSnapRecords(t),c=i.get("adjust");if("interval"===s&&c&&"symmetric"===c.type)return;u(o,(function(t){var o=t.x,c=t.y,u=t._origin,h=t.color;if((o||!isNaN(o))&&(c||!isNaN(c))){var f={x:o,y:l(c)?c[1]:c,color:h||mt.defaultColor,origin:u,name:Dr(i,u),value:Yr(i,u),title:Or(i,u)};n&&(f.marker=T({fill:h||mt.defaultColor},n)),a.push(f),-1!==["line","area","path"].indexOf(s)?(e="circle",r.push(f)):"interval"!==s||"cartesian"!==d.type&&"rect"!==d.type||(e="rect",f.width=i.getSize(t._origin),r.push(f))}}))}})),a.length){var p={items:r,type:e};this._setTooltip(t,a,p)}else h||this.hideTooltip()},e.hideTooltip=function(){var t=this._tooltipCfg;this._lastActive=null;var e=this.tooltip;e&&(e.hide(),t.onHide&&t.onHide({tooltip:e}),this.chart.get("canvas").draw())},e._handleEvent=function(t,e,n){var i=this.canvas;u([].concat(t),(function(t){"bind"===n?i.on(t,e):i.off(t,e)}))},e.bindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"bind"),i||this._handleEvent(n,this.handleHideEvent,"bind")},e.unBindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"unBind"),i||this._handleEvent(n,this.handleHideEvent,"unBind")},t}();function Nr(t){var e=new Fr({chart:t});t.set("tooltipController",e),t.tooltip=function(t,n){return c(t)&&(n=t,t=!0),e.enable=t,n&&(e.cfg=n),this}}function zr(t){var e=t.get("tooltipController");e.render(),t.showTooltip=function(t){return e.showTooltip(t),this},t.hideTooltip=function(){return e.hideTooltip(),this}}function Xr(t){t.get("tooltipController").clear()}var Rr={init:Nr,afterGeomDraw:zr,clearInner:Xr},Lr=Object.freeze({__proto__:null,init:Nr,afterGeomDraw:zr,clearInner:Xr,default:Rr});mt.guide=D({line:{style:{stroke:"#a3a3a3",lineWidth:1},top:!0},text:{style:{fill:"#787878",textAlign:"center",textBaseline:"middle"},offsetX:0,offsetY:0,top:!0},rect:{style:{fill:"#fafafa"},top:!1},arc:{style:{stroke:"#a3a3a3"},top:!0},html:{offsetX:0,offsetY:0,alignX:"center",alignY:"middle"},tag:{top:!0,offsetX:0,offsetY:0,side:4,background:{padding:5,radius:2,fill:"#1890FF"},textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"}},point:{top:!0,offsetX:0,offsetY:0,style:{fill:"#fff",r:3,lineWidth:2,stroke:"#1890ff"}}},mt.guide||{});var Br=function(){function t(t){this.guides=[],this.xScale=null,this.yScales=null,this.guideShapes=[],T(this,t)}var e=t.prototype;return e._toString=function(t){return s(t)&&(t=t(this.xScale,this.yScales)),t.toString()},e._getId=function(t,e){var n=e.id;if(!n){var i=e.type;n="arc"===i||"line"===i||"rect"===i?this._toString(e.start)+"-"+this._toString(e.end):this._toString(e.position)}return n},e.paint=function(t){var e=this,n=e.chart,i=e.guides,r=e.xScale,a=e.yScales,s=[];u(i,(function(i,o){var l;i.xScale=r,i.yScales=a,"regionFilter"===i.type?i.chart=n:l=i.top?e.frontPlot:e.backPlot,i.coord=t,i.container=l,i.canvas=n.get("canvas");var c=i.render(t,l);if(c){var u=e._getId(c,i);[].concat(c).forEach((function(t){t._id=t.get("className")+"-"+u,t.set("index",o),s.push(t)}))}})),e.guideShapes=s},e.clear=function(){return this.reset(),this.guides=[],this},e.reset=function(){u(this.guides,(function(t){t.remove()}))},e._createGuide=function(t,e){var n=S(t),i=new mr[n](D({},mt.guide[t],e));return this.guides.push(i),i},e.line=function(t){return void 0===t&&(t={}),this._createGuide("line",t)},e.text=function(t){return void 0===t&&(t={}),this._createGuide("text",t)},e.arc=function(t){return void 0===t&&(t={}),this._createGuide("arc",t)},e.html=function(t){return void 0===t&&(t={}),this._createGuide("html",t)},e.rect=function(t){return void 0===t&&(t={}),this._createGuide("rect",t)},e.tag=function(t){return void 0===t&&(t={}),this._createGuide("tag",t)},e.point=function(t){return void 0===t&&(t={}),this._createGuide("point",t)},e.regionFilter=function(t){return void 0===t&&(t={}),this._createGuide("regionFilter",t)},t}();function jr(t){var e=new Br({frontPlot:t.get("frontPlot").addGroup({zIndex:20,className:"guideContainer"}),backPlot:t.get("backPlot").addGroup({className:"guideContainer"})});t.set("guideController",e),t.guide=function(){return e}}function Gr(t){var e=t.get("guideController");if(e.guides.length){var n=t.getXScale(),i=t.getYScales(),r=t.get("coord");e.xScale=n,e.yScales=i,e.chart=t,e.paint(r)}}function Hr(t){t.get("guideController").clear()}function Wr(t){t.get("guideController").reset()}var Vr={init:jr,afterGeomDraw:Gr,clear:Hr,repaint:Wr},qr=Object.freeze({__proto__:null,init:jr,afterGeomDraw:Gr,clear:Hr,repaint:Wr,default:Vr}),Jr={itemMarginBottom:12,itemGap:10,showTitle:!1,titleStyle:{fontSize:12,fill:"#808080",textAlign:"start",textBaseline:"top"},nameStyle:{fill:"#808080",fontSize:12,textAlign:"start",textBaseline:"middle"},valueStyle:{fill:"#000000",fontSize:12,textAlign:"start",textBaseline:"middle"},unCheckStyle:{fill:"#bfbfbf"},itemWidth:"auto",wordSpace:6,selectedMode:"multiple"};mt.legend=D({common:Jr,right:T({position:"right",layout:"vertical"},Jr),left:T({position:"left",layout:"vertical"},Jr),top:T({position:"top",layout:"horizontal"},Jr),bottom:T({position:"bottom",layout:"horizontal"},Jr)},mt.legend||{});var Ur=function(){function t(t){var e=this;yt(this,"handleEvent",(function(t){var n=e,i=n.chart,r=lt(t,i),a=function(t,e){var i=null;return u(n.legends,(function(n){u(n,(function(n){var r=n.itemsGroup,a=n.legendHitBoxes,s=r.get("children");if(s.length){var o=n.x,l=n.y;u(a,(function(r,a){if(t>=r.x+o&&t<=r.x+r.width+o&&e>=r.y+l&&e<=r.height+r.y+l)return i={clickedItem:s[a],clickedLegend:n},!1}))}}))})),i}(r.x,r.y);if(a&&!1!==a.clickedLegend.clickable){var s=a.clickedItem,o=a.clickedLegend;if(o.onClick)t.clickedItem=s,o.onClick(t);else if(!o.custom){var l=s.get("checked"),c=s.get("dataValue"),h=o.filteredVals,f=o.field;"single"===o.selectedMode?i.filter(f,(function(t){return t===c})):(l?h.push(c):G(h,c),i.filter(f,(function(t){return-1===h.indexOf(t)}))),i.repaint()}}})),this.legendCfg={},this.enable=!0,this.position="top",T(this,t);var n=this.chart;this.canvasDom=n.get("canvas").get("el"),this.clear()}var e=t.prototype;return e.addLegend=function(t,e,n){var i=this.legendCfg,r=t.field,a=i[r];if(!1===a)return null;if(a&&a.custom)this.addCustomLegend(r);else{var s=i.position||this.position;a&&a.position&&(s=a.position),t.isCategory&&this._addCategoryLegend(t,e,s,n)}},e.addCustomLegend=function(t){var e=this.legendCfg;t&&e[t]&&(e=e[t]);var n=e.position||this.position,i=this.legends;i[n]=i[n]||[];var r=e.items;if(!r)return null;var a=this.container;u(r,(function(t){d(t.marker)?t.marker.radius=t.marker.radius||3:t.marker={symbol:t.marker||"circle",fill:t.fill,radius:3},t.checked=!!o(t.checked)||t.checked,t.name=t.name||t.value}));var s=new Pr(D({},mt.legend[n],e,{maxLength:this._getMaxLength(n),items:r,parent:a}));i[n].push(s)},e.clear=function(){u(this.legends,(function(t){u(t,(function(t){t.clear()}))})),this.legends={},this.unBindEvents()},e._isFiltered=function(t,e,n){var i=!1;return u(e,(function(e){if(i=i||t.getText(e)===t.getText(n))return!1})),i},e._getMaxLength=function(t){var e=this.chart,n=ut(e.get("appendPadding"));return"right"===t||"left"===t?e.get("height")-(n[0]+n[2]):e.get("width")-(n[1]+n[3])},e._addCategoryLegend=function(t,e,n,i){var r=this,a=r.legendCfg,s=r.legends,o=r.container,l=r.chart,c=t.field;s[n]=s[n]||[];var h="circle";a[c]&&a[c].marker?h=a[c].marker:a.marker&&(h=a.marker),u(e,(function(e){d(h)?T(e.marker,h):e.marker.symbol=h,i&&(e.checked=!r._isFiltered(t,i,e.dataValue))})),l.get("legendItems")[c]=e;var f=D({},mt.legend[n],a[c]||a,{maxLength:r._getMaxLength(n),items:e,field:c,filteredVals:i,parent:o});f.showTitle&&D(f,{title:t.alias||t.field});var p=new Pr(f);return s[n].push(p),p},e._alignLegend=function(t,e,n){var i=this.plotRange,r=i.tl,a=i.bl,s=this.chart,o=t.offsetX||0,l=t.offsetY||0,c=s.get("width"),u=s.get("height"),h=ut(s.get("appendPadding")),f=t.getHeight(),d=t.getWidth(),p=0,g=0;if("left"===n||"right"===n){var v=t.verticalAlign||"middle",m=Math.abs(r.y-a.y);p="left"===n?h[3]:c-d-h[1],g=(m-f)/2+r.y,"top"===v?g=r.y:"bottom"===v&&(g=a.y-f),e&&(g=e.get("y")-f-12)}else{var y=t.align||"left";if(p=h[3],"center"===y?p=c/2-d/2:"right"===y&&(p=c-(d+h[1])),g="top"===n?h[0]+Math.abs(t.container.getBBox().minY):u-f,e){var x=e.getWidth();p=e.x+x+12}}"bottom"===n&&l>0&&(l=0),"right"===n&&o>0&&(o=0),t.moveTo(p+o,g+l)},e.alignLegends=function(){var t=this;return u(t.legends,(function(e,n){u(e,(function(i,r){var a=e[r-1];t._alignLegend(i,a,n)}))})),t},e.bindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";rt(this.canvasDom,t,this.handleEvent)},e.unBindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";at(this.canvasDom,t,this.handleEvent)},t}();function Zr(t){var e=new Ur({container:t.get("backPlot").addGroup(),plotRange:t.get("plotRange"),chart:t});t.set("legendController",e),t.legend=function(t,n){var i=e.legendCfg;return e.enable=!0,k(t)?(e.enable=t,i=n||{}):c(t)?i=t:i[t]=n,e.legendCfg=i,this}}function Kr(t){var e=t.get("legendController");if(!e.enable)return null;var n=e.legendCfg,i=e.container;if(n&&n.custom)e.addCustomLegend();else{var r=t.getLegendItems(),a=t.get("scales"),s=t.get("filters");u(r,(function(t,n){var i,r=a[n],o=r.values;i=s&&s[n]?o.filter((function(t){return!s[n](t)})):[],e.addLegend(r,t,i)}))}n&&!1!==n.clickable&&e.bindEvents();var o=e.legends,l={top:0,right:0,bottom:0,left:0};u(o,(function(e,n){var i=0;u(e,(function(t){var e=t.getWidth(),r=t.getHeight();"top"===n||"bottom"===n?(i=Math.max(i,r),t.offsetY>0&&(i+=t.offsetY)):(i=Math.max(i,e),t.offsetX>0&&(i+=t.offsetX))})),l[n]=i+function(t,e){var n=0;switch(e=ut(e),t){case"top":n=e[0];break;case"right":n=e[1];break;case"bottom":n=e[2];break;case"left":n=e[3]}return n}(n,t.get("appendPadding"))})),t.set("legendRange",l),Object.keys(o).length?i.set("ariaLabel",vt.legend.prefix):i.set("ariaLabel",null)}function Qr(t){t.get("legendController").alignLegends()}function $r(t){t.get("legendController").clear(),t.set("legendRange",null)}var ta={init:Zr,beforeGeomDraw:Kr,afterGeomDraw:Qr,clearInner:$r},ea=Object.freeze({__proto__:null,init:Zr,beforeGeomDraw:Kr,afterGeomDraw:Qr,clearInner:$r,default:ta}),na="object"==typeof performance&&performance.now?performance:Date,ia=function(){function t(){this.anims=[],this.time=null,this.playing=!1,this.canvas=[]}var e=t.prototype;return e.play=function(){var t=this;t.time=na.now(),t.playing=!0,Pi((function e(){t.playing&&(Pi(e),t.update())}))},e.stop=function(){this.playing=!1,this.time=null,this.canvas=[]},e.pushAnim=function(t){this.playing||this.play();var e=t.delay,n=t.duration,i=this.time+e,r=i+n;t.startTime=i,t.endTime=r,this.anims.push(t)},e.update=function(){var t=na.now();if(this.canvas=[],this.anims.length){for(var e=0;e=n.startTime&&!n.hasStarted&&(n.hasStarted=!0,n.onStart&&n.onStart());var l=(t-n.startTime)/o;if(l=Math.max(0,Math.min(l,1)),l=n.easing(l),n.onFrame)n.onFrame(l);else for(var c in s){var u=(0,s[c])(l),h=void 0;if("points"===c){h=[];for(var f=Math.max(r.points.length,a.points.length),d=0;d=n.endTime&&!n.hasEnded&&(n.hasEnded=!0,n.onEnd&&n.onEnd()),1===l&&(this.anims.splice(e,1),e--)}}}this.canvas.map((function(t){return t.draw(),t})),this.time=na.now()}else this.stop()},t}();function ra(t){return t}function aa(t){return 1-sa(1-t)}function sa(t){return(t/=1)<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}var oa=Object.freeze({__proto__:null,linear:ra,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)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i/(2*Math.PI)*Math.asin(1/n),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:aa,bounceOut:sa,bounceInOut:function(t){return t<.5?.5*aa(2*t):.5*sa(2*t-1)+.5}});function la(t){for(var e=[],n=0,i=t.length;nl.x?i.x:l.x,s=l.y+h/2):"xy"===r&&(n.isPolar?(a=n.center.x,s=n.center.y):(a=(l.x+c.x)/2,s=(l.y+c.y)/2));var d=pa(f,[a,s],r);f.isClip=!0,f.endState={matrix:d},f.set("canvas",t.get("canvas")),t.attr("clip",f),ga(f,f.endState,e,(function(){t.attr("clip",null),f.remove(!0)}))}function xa(t,e,n){for(var i=t.get("children"),r=0,a=i.length;r-1&&(t="guide-tag"),c(n)?n[t]:!1!==n&&null}function Oa(){(ka=new ia).play()}function Ea(t){if(!1!==t.get("animate")){var e=t.get("isUpdate"),n=t.get("canvas"),i=t.get("coord"),r=t.get("geoms"),a=n.get("caches")||[];0===a.length&&(e=!1);var l=Aa(r,t,i),c=t.get("axisController"),h=c.frontPlot,f=c.backPlot,d=h.get("children").concat(f.get("children")),p=[];t.get("guideController")&&(p=t.get("guideController").guideShapes);var g,v,m=[];d.concat(p).forEach((function(e){var n=Ya(e.get("className"),t);e.set("coord",i),e.set("animateCfg",n),m.push(e),l.push(e)})),n.set("caches",function(t){for(var e={},n=0,i=t.length;n1?[1-a,1]:[o,l],this.updateRange(e)}},e.updateRange=function(t){var e=this.values,n=t[0],i=t[1];n=Math.max(0,n),i=Math.min(1,i),this.range=[n,i];var r=e.length,a=n*r,s=i*r,o=e.slice(a,s);this.repaint(o)},e.repaint=function(t){var e=this.chart,n=this.getPinchScale(),i=n.values,r=n.ticks;(function(t,e){if(t.length!==e.length)return!1;var n=t.length-1;return t[0]===e[0]&&t[n]===e[n]})(i,t)||(this.updateScale(n,{ticks:r,values:t}),this.updateFollowScale(n,t),e.repaint())},e.updateFollowScale=function(t,e){var n=this.chart,i=this.getFollowScale(),r=t.field,a=t.type,s=i.field,o=[],l={};e.forEach((function(t){l[t]=!0})),n.get("data").forEach((function(t){if("timeCat"===a){var e=ft(t[r]);l[e]&&o.push(t[s])}}));var c=H(o),u=c.min,h=c.max;this.updateScale(i,{min:u,max:h,nice:!0})},e.updateScale=function(t,e){t&&t.change(e)},e.updateTicks=function(){var t=this.chart,e=this.values,n=this.getPinchScale(),i=n.values,r=n.tickCount,a=Math.round(r*e.length/i.length),s=$t("cat")({tickCount:a,values:e});this.updateScale(n,{ticks:s,values:i}),t.repaint()},e.destroy=function(){var t=this.chart;t.off("afterinit",this._afterinit),t.off("afterdatachange",this._afterdatachange)},t}(),La=function(){var t=e.prototype;function e(t,e){var n=this;yt(this,"type",""),yt(this,"startEvent","touchstart"),yt(this,"processEvent","touchmove"),yt(this,"endEvent","touchend"),yt(this,"resetEvent",null),yt(this,"context",null),yt(this,"_start",(function(t){n.preStart&&n.preStart(t),n.start(t),n.onStart&&n.onStart(t)})),yt(this,"_process",(function(t){n.preProcess&&n.preProcess(t),n.process(t),n.onProcess&&n.onProcess(t)})),yt(this,"_end",(function(t){n.preEnd&&n.preEnd(t),n.end(t),n.onEnd&&n.onEnd(t)})),yt(this,"_reset",(function(t){n.preReset&&n.preReset(t),n.reset(t),n.onReset&&n.onReset(t)})),T(this,this.getDefaultCfg(),t),this.context=this.getInteractionContext(e),this.chart=e;var i=this.range;i&&(this.context.range=i),this._bindEvents(e)}return t.getDefaultCfg=function(){return{}},t.getInteractionContext=function(t){var e=t.get("interactionContext");return e||(e=new Ra(t),t.set("interactionContext",e),e)},t._bindEvents=function(t){var e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.on(e,this._start),a.on(n,this._process),a.on(i,this._end),a.on(r,this._reset)},t._clearEvents=function(){var t=this.chart,e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.off(e,this._start),a.off(n,this._process),a.off(i,this._end),a.off(r,this._start)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t.destroy=function(){this.context.destroy(),this._clearEvents()},e}(),Ba=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:"pan",startEvent:"panstart",processEvent:"pan",endEvent:"panend"}},n.start=function(){this.context.start()},n.process=function(t){var e=t.direction,n=t.deltaX;if("up"!==e&&"down"!==e){t.preventDefault&&t.preventDefault();var i=this.context,r=i.chart.get("coord"),a=r.start,s=n/(r.end.x-a.x);i.doMove(s)}},e}(La),ja=function(t){bt(n,t);var e=n.prototype;function n(e,n){var i;return T(wt(i=t.call(this,e,n)||this).context,e),i}return e.getDefaultCfg=function(){return{type:"pinch",startEvent:"pinchstart",processEvent:"pinch",endEvent:"pinchend"}},e.start=function(){this.context.start()},e.process=function(t){t.preventDefault&&t.preventDefault();var e=t.zoom,n=t.center,i=this.context,r=i.chart.get("coord"),a=r.start,s=r.end,o=s.x-a.x,l=Math.abs(n.x-a.x)/o,c=Math.abs(s.x-n.x)/o;i.doZoom(l,c,e)},e.end=function(){this.context.updateTicks()},n}(La);zi.registerInteraction("pan",Ba),zi.registerInteraction("pinch",ja);var Ga={Marker:Qn.Marker,Tooltip:Tr};zi.plugins.register([Lr,ea,qr,za]);var Ha={Component:Ga,Global:mt,Chart:zi,Shape:jt,G:Yi,Util:dt,Helper:Fi,track:Xi,Animate:da};e.Animate=da,e.Chart=zi,e.Component=Ga,e.G=Yi,e.Global=mt,e.Helper=Fi,e.Shape=jt,e.Util=dt,e.default=Ha,e.track=Xi,Object.defineProperty(e,"__esModule",{value:!0})}))}).call(this,n("c8ba"))},f052:function(t,e,n){"use strict";n.r(e);var i=n("2ec7"),r=n("4fb4");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("93f3");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"32d2e1d6",null,!1,i["a"],s);e["default"]=l.exports},f1a7:function(t,e,n){"use strict";n.r(e);var i=n("6876"),r=n("5f33");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("99ac");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"218f84fe",null,!1,i["a"],s);e["default"]=l.exports},f8cb:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".l-f2[data-v-32d2e1d6]{width:100%;height:100%;position:relative}.l-f2__mask[data-v-32d2e1d6]{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;z-index:1}.l-f2__canvas[data-v-32d2e1d6]{width:100%;height:100%}",""]),t.exports=e},fa4b:function(t,e,n){t.exports=n.p+"static/img/chain-back-00.599e7c68.png"},fe87:function(t,e,n){var i=n("f8cb");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("6ddd28b6",i,!0,{sourceMap:!1,shadowMode:!1})},fff7:function(t,e,n){var i=n("062d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("12522bd2",i,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-vip.2b35ffa4.js b/unpackage/dist/build/h5/static/js/pages-vip-vip.2b35ffa4.js new file mode 100644 index 0000000..e882185 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-vip-vip.2b35ffa4.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-vip"],{"1de5":function(e,i,t){"use strict";e.exports=function(e,i){return i||(i={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),i.hash&&(e+=i.hash),/["'() \t\n]/.test(e)||i.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1f56":function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABACAMAAAC3B3BDAAAAM1BMVEUAAADb29vc3Nzb29vb29vb29vc3Nzb29vc3Nza2trb29vb29vb29va2trd3d3b29vb29u1O//tAAAAEHRSTlMAv9LHt4TgXz438nHGmUwq97zaPgAAAHhJREFUWMPt1bsOgCAMhWGQcvfC+z+tNjrK1JJgPP/W5RuaJjUIIYTQfEWiOEBtV/ouMWvV2YXZoM46Zhewv2X3zd4VZssz+CxTU+uURKzvsXYMSyI299hDuFz7hro854GB/S476OkQs6s6W5mtRj0fgjcIIYTQdJ2WxQ1J9tuhiAAAAABJRU5ErkJggg=="},2342:function(e,i,t){var n=t("24fb");i=n(!1),i.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-9ae465a6]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-9ae465a6]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-9ae465a6]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-9ae465a6]{padding-top:0}.vertical[data-v-9ae465a6]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-9ae465a6]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-9ae465a6]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-9ae465a6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-9ae465a6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-9ae465a6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.canBack[data-v-9ae465a6]{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);left:0;top:0;z-index:99}.canPop[data-v-9ae465a6]{position:absolute;background-color:#fff;left:%?100?%;right:%?100?%;top:30%;z-index:101;padding:%?30?%;box-sizing:border-box;border-radius:%?10?%;text-align:center}.canPop .canPop-tips[data-v-9ae465a6]{position:absolute;right:%?20?%;top:%?32?%;width:%?32?%;height:%?32?%;z-index:1002}.canPop .canPop-cont[data-v-9ae465a6]{font-size:%?32?%;font-weight:600}.canPop .canPop-cover[data-v-9ae465a6]{margin:%?60?% auto %?40?%;width:%?240?%;height:%?240?%;border:%?2?% solid #f3f3f3}.canPop .canPop-btn[data-v-9ae465a6]{text-align:center;background:#8b64fd;border-radius:0;height:%?90?%;line-height:%?90?%;font-size:%?32?%;color:#fff}.canPop .canPop-btn[data-v-9ae465a6]::after{border:none}.vip-container[data-v-9ae465a6]{width:%?750?%;height:%?340?%;margin-top:%?30?%}.swiper-item[data-v-9ae465a6]{width:%?640?%;height:%?340?%;display:flex}.vip-item[data-v-9ae465a6]{width:%?640?%;height:%?340?%;border-radius:%?20?%;position:relative}.vip-item .vip-back[data-v-9ae465a6]{position:absolute;left:0;top:0;width:100%;height:100%}.vip-item .vip-cont[data-v-9ae465a6]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:9;padding:%?45?% %?70?%;box-sizing:border-box}.vip-item .vip-cont .vip-name[data-v-9ae465a6]{display:flex;font-size:%?46?%;color:#fff;font-weight:600}.vip-item .vip-cont .vip-name .vip-name-img[data-v-9ae465a6]{width:%?36?%;height:%?36?%;margin:%?12?% %?20?%}.vip-item .vip-cont .vip-number[data-v-9ae465a6]{margin:%?10?% 0 %?40?%;color:#fff;font-size:%?32?%;opacity:.8}.vip-item .vip-cont .vip-tips[data-v-9ae465a6]{font-size:%?30?%;background-color:#e8ebf6;display:inline-block;border-radius:%?80?%;height:%?60?%;line-height:%?60?%;padding:0 %?30?%}.vip-item .vip-cont .vip-tips .vip-tips-text[data-v-9ae465a6]{font-weight:700;-webkit-background-clip:text;background-clip:text;color:transparent}.vip-item .vip-cont .vip-tips .vip-tips-color-00[data-v-9ae465a6]{background-image:linear-gradient(180deg,#6189f0,#b6b9c1)}.vip-item .vip-cont .vip-tips .vip-tips-color-01[data-v-9ae465a6]{background-image:linear-gradient(0deg,#ffd459,#ff6c52)}.vip-item .vip-cont .vip-tips .vip-tips-color-02[data-v-9ae465a6]{background-image:linear-gradient(0deg,#e0c9fe,#892edb)}.vip-item .vip-cont .vip-tips .vip-tips-color-03[data-v-9ae465a6]{background-image:linear-gradient(0deg,#f6b237,#f035e3)}.vip-item .vip-cont .vip-tips .vip-tips-color-04[data-v-9ae465a6]{background-image:linear-gradient(0deg,#c455ec,#5f76e9)}.privilege[data-v-9ae465a6]{padding:%?20?% %?30?% %?80?%;box-sizing:border-box}.privilege .privilege-list[data-v-9ae465a6]{margin-bottom:%?50?%;display:flex}.privilege .privilege-list .privilege-img[data-v-9ae465a6]{width:%?74?%;height:%?74?%}.privilege .privilege-list .privilege-text[data-v-9ae465a6]{width:calc(100% - %?74?%);padding-left:%?40?%;font-size:%?32?%;color:#999;line-height:%?52?%}.privilege .privilege-list .privilege-text .privilege-name[data-v-9ae465a6]{font-size:%?40?%;color:#000;margin:%?10?% 0 %?20?%}.privilege .privilege-list .privilege-text .privilege-label.active[data-v-9ae465a6]{color:#f6b338}.privilege .privilege-list .privilege-text .privilege-right[data-v-9ae465a6]{color:#7877eb}.agree[data-v-9ae465a6]{margin:%?30?% 0;text-align:center}.agree .agree-tips[data-v-9ae465a6]{background-color:#999;display:inline-block;padding:%?14?% %?30?%;color:#fff;border-radius:%?60?%}.agree-btn[data-v-9ae465a6]{display:flex;font-size:%?30?%;text-align:left;color:#999;padding:%?30?%}.notice[data-v-9ae465a6]{font-size:%?28?%;color:#555;padding:%?30?% %?60?% %?60?%}.notice .title[data-v-9ae465a6]{padding-bottom:%?15?%;font-weight:700}.notice .item[data-v-9ae465a6]{padding-bottom:%?15?%;line-height:%?40?%;text-align:justify}.footer[data-v-9ae465a6]{padding:0 %?30?%;box-sizing:border-box;text-align:center}.footer .footer-btn[data-v-9ae465a6]{width:74%}.privilege[data-v-9ae465a6]{padding:%?30?%}.privilege .title[data-v-9ae465a6]{font-weight:700;color:#322711;font-size:%?32?%;text-align:center;line-height:%?90?%}.privilege .privilege-box[data-v-9ae465a6]{display:flex;flex-wrap:wrap;padding:%?30?% 0}.privilege .privilege-box .item[data-v-9ae465a6]{width:25%;padding:%?15?%;box-sizing:border-box;text-align:center}.privilege .privilege-box .item .icon[data-v-9ae465a6]{width:%?78?%;height:%?78?%;background:#bd995d;border-radius:50%;vertical-align:top}.privilege .privilege-box .item .text[data-v-9ae465a6]{font-size:%?26?%;color:#201212;line-height:%?60?%}.cards[data-v-9ae465a6]{position:relative;background:#1f1b1c}.cards .card[data-v-9ae465a6]{position:relative;margin:0 %?30?%;background:linear-gradient(90deg,#3b3d4a,#231d1f);padding:%?15?%;border-radius:%?10?%;z-index:2}.cards .card .card-content[data-v-9ae465a6]{position:relative;border:solid %?1?% hsla(0,0%,100%,.4);border-radius:%?10?%;padding:%?30?% %?180?% %?60?% %?148?%;min-height:%?98?%}.cards .card .card-content .cover[data-v-9ae465a6]{position:absolute;left:%?30?%;top:%?30?%;width:%?98?%;height:%?98?%;border-radius:50%}.cards .card .card-content .user[data-v-9ae465a6]{color:hsla(0,0%,100%,.7);line-height:%?58?%;font-size:%?30?%}.cards .card .card-content .sub-time[data-v-9ae465a6]{line-height:%?40?%;color:#e6ce9e;font-size:%?26?%}.cards .card .card-content .btn[data-v-9ae465a6]{position:absolute;color:#261f0f;background:#e6ce9e;width:%?160?%;border-radius:%?30?%;font-size:%?28?%;right:%?30?%;top:%?50?%;line-height:%?58?%;text-align:center}.cards .cards-angle[data-v-9ae465a6]{position:absolute;left:0;bottom:0;width:100%;z-index:3}.cards[data-v-9ae465a6]::after{content:" ";height:%?70?%;background:#b29671;position:absolute;width:100%;bottom:0;border-radius:%?10?%;z-index:0}.tabs[data-v-9ae465a6]{background:#1f1b1c;color:#fff;padding:0 0 %?30?% 0;display:flex;justify-content:center;font-size:%?30?%}.tabs .item[data-v-9ae465a6]{margin:0 %?30?%;line-height:%?70?%;height:%?70?%;color:hsla(0,0%,100%,.6)}.tabs .item.show[data-v-9ae465a6]{position:relative;font-weight:700;font-size:%?32?%;color:#fff}.tabs .item.show[data-v-9ae465a6]::after{position:absolute;bottom:0;left:20%;width:60%;height:%?6?%;border-radius:%?3?%;content:" ";background:#fff}',""]),e.exports=i},5117:function(e,i,t){var n=t("2342");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("70a1e3a7",n,!0,{sourceMap:!1,shadowMode:!1})},"57dc":function(e,i,t){e.exports=t.p+"static/fonts/uni.75745d34.ttf"},"5a13":function(e,i,t){"use strict";t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var n={uniIcons:t("f1a7").default},a=function(){var e=this,i=e.$createElement,n=e._self._c||i;return e.loding?e._e():n("v-uni-view",{staticClass:"content"},[e.canForm?n("v-uni-view",{staticClass:"canBack"}):e._e(),e.canForm?n("v-uni-view",{staticClass:"canPop"},[n("v-uni-image",{staticClass:"canPop-tips",attrs:{src:"/static/user/order-cancelPay.png",mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canClick.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"canPop-cont"},[e._v("上传打款凭证")]),n("v-uni-image",{staticClass:"canPop-cover",attrs:{src:e.canFromImg.showpath||t("1f56"),mode:"aspectFill"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.updImg()}}}),n("v-uni-view",{staticClass:"canPop-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canSubmit.apply(void 0,arguments)}}},[e._v("提交")])],1):e._e(),n("v-uni-swiper",{staticClass:"vip-container",attrs:{"previous-margin":"55rpx","next-margin":"55rpx",current:e.tabsIndex,circular:!0},on:{change:function(i){arguments[0]=i=e.$handleEvent(i),e.swiperChange.apply(void 0,arguments)}}},e._l(e.identitie,(function(i,a){return n("v-uni-swiper-item",{key:a,staticClass:"swiper-item"},[n("v-uni-view",{staticClass:"vip-item",class:e.tabsIndex==a?"color-item-img":""},[n("v-uni-image",{staticClass:"vip-back",attrs:{src:i.card_cover,mode:"scaleToFill"}}),n("v-uni-view",{staticClass:"vip-cont"},[n("v-uni-view",{staticClass:"vip-name"},[e._v(e._s(i.name)),n("v-uni-image",{staticClass:"vip-name-img",attrs:{src:t("faba"),mode:"widthFix"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showRemark(i.name,i.node_definition)}}})],1),i.count?n("v-uni-view",{staticClass:"vip-number"},[e._v(e._s(i.count.stock>0?"剩余名额:"+i.count.residue:"不限名数"))]):e._e(),n("v-uni-view",{staticClass:"vip-tips"},[2==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-01"},[e._v(e._s(i.title))]):3==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-02"},[e._v(e._s(i.title))]):4==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-03"},[e._v(e._s(i.title))]):5==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-04"},[e._v(e._s(i.title))]):e._e()],1)],1)],1)],1)})),1),n("v-uni-view",{staticClass:"privilege"},[n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_00.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点定义")]),e._v(e._s(e.identitie[e.tabsIndex].node_definition))],1)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_01.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("升级条件")]),e.openCondition.energy_shard?[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.energy_shard.finish}},[e._v(e._s(e.openCondition.energy_shard.message)),e.openCondition.energy_shard.finish?n("uni-icons",{attrs:{type:"checkmarkempty",size:"17",color:"#f6b338"}}):e._e()],1),e.openCondition.energy_shard.finish?n("v-uni-view",{staticClass:"privilege-label"},[e._v(e._s(e.openCondition.service_charge.message))]):n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]:[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]],2)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_02.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点权益")]),e._l(e.identitie[e.tabsIndex].rights,(function(i,t){return n("v-uni-view",{key:t,staticClass:"privilege-label privilege-right"},[e._v("&"+e._s(i.remark))])}))],2)],1)],1),n("v-uni-view",{staticClass:"agree"},[n("v-uni-view",{staticClass:"agree-tips",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.$Router.push({name:"vipAgree",params:{type:"vipAgree"}})}}},[e._v("请仔细阅读并确认服务协议")])],1),n("v-uni-view",{staticClass:"agree-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.agreeChange.apply(void 0,arguments)}}},[n("v-uni-radio",{staticStyle:{transform:"scale(.7)"},attrs:{checked:e.selected,color:"#7c52fc"}}),e._v("会员服务协议")],1),n("v-uni-view",{staticClass:"footer"},[n("v-uni-image",{staticClass:"footer-btn",attrs:{src:e.identitie[e.tabsIndex].button_cover,mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.openOrder.apply(void 0,arguments)}}})],1)],1)},o=[]},"5f33":function(e,i,t){"use strict";t.r(i);var n=t("caa6"),a=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(i,e,(function(){return n[e]}))}(o);i["default"]=a.a},6876:function(e,i,t){"use strict";var n;t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-text",{staticClass:"uni-icons",class:[e.fontFamily,e.fontFamily?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e._onClick.apply(void 0,arguments)}}},[e._v(e._s(e.fontFamily?"":e.icons[e.type]))])},o=[]},6934:function(e,i,t){var n=t("f3ca");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("cc4aa2a8",n,!0,{sourceMap:!1,shadowMode:!1})},"6c98":function(e,i,t){"use strict";var n=t("6934"),a=t.n(n);a.a},7898:function(e,i,t){"use strict";var n=t("5117"),a=t.n(n);a.a},8882:function(e,i,t){var n;t("c975"),t("ac1f"),t("466d"),t("5319"),t("1276");var a=t("9523");!function(a,o){n=function(){return o(a)}.call(i,t,i,e),void 0===n||(e.exports=n)}(window,(function(e,i){if(!e.jWeixin){var t,n,o={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e={};for(var i in o)e[o[i]]=i;return e}(),s=e.document,c=s.title,d=navigator.userAgent.toLowerCase(),l=navigator.platform.toLowerCase(),u=!(!l.match("mac")&&!l.match("win")),p=-1!=d.indexOf("wxdebugger"),f=-1!=d.indexOf("micromessenger"),v=-1!=d.indexOf("android"),g=-1!=d.indexOf("iphone")||-1!=d.indexOf("ipad"),h=(n=d.match(/micromessenger\/(\d+\.\d+\.\d+)/)||d.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",m={initStartTime:E(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},b={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:g?1:v?2:-1,clientVersion:h,url:encodeURIComponent(location.href)},w={},y={_completes:[]},x={state:0,data:{}};z((function(){m.initEndTime=E()}));var _=!1,k=[],A=(t={config:function(i){V("config",w=i);var t=!1!==w.check;z((function(){if(t)S(o.config,{verifyJsApiList:O(w.jsApiList),verifyOpenTagList:O(w.openTagList)},function(){y._complete=function(e){m.preVerifyEndTime=E(),x.state=1,x.data=e},y.success=function(e){b.isPreVerifyOk=0},y.fail=function(e){y._fail?y._fail(e):x.state=-1};var e=y._completes;return e.push((function(){!function(){if(!(u||p||w.debug||h<"6.0.2"||b.systemType<0)){var e=new Image;b.appId=w.appId,b.initTime=m.initEndTime-m.initStartTime,b.preVerifyTime=m.preVerifyEndTime-m.preVerifyStartTime,A.getNetworkType({isInnerInvoke:!0,success:function(i){b.networkType=i.networkType;var t="https://open.weixin.qq.com/sdk/report?v="+b.version+"&o="+b.isPreVerifyOk+"&s="+b.systemType+"&c="+b.clientVersion+"&a="+b.appId+"&n="+b.networkType+"&i="+b.initTime+"&p="+b.preVerifyTime+"&u="+b.url;e.src=t}})}}()})),y.complete=function(i){for(var t=0,n=e.length;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){c=!0,r=e},f:function(){try{s||null==t["return"]||t["return"]()}finally{if(c)throw r}}}}},caa6:function(e,i,t){"use strict";var n=t("4ea4");t("a9e3"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(t("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};i.default=o},e437:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};i.default=n},ef1b:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uploads=void 0;var n=t("89d9"),a=function(e){return(0,n.uploading)(e)};i.uploads=a},f1a7:function(e,i,t){"use strict";t.r(i);var n=t("6876"),a=t("5f33");for(var o in a)"default"!==o&&function(e){t.d(i,e,(function(){return a[e]}))}(o);t("99ac");var r,s=t("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],r);i["default"]=c.exports},f3ca:function(e,i,t){var n=t("24fb");i=n(!1),i.push([e.i,"uni-page-body[data-v-9ae465a6]{background-color:#fff}body.?%PAGE?%[data-v-9ae465a6]{background-color:#fff}",""]),e.exports=i},faba:function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAM1BMVEX///8AAAD///////////////////////////////////////////////////////////+Q8lQ3AAAAEXRSTlOAABE+dTEHN0gpbSNhZ1xSHHylzX4AAAD+SURBVDjLZVPdooYgCJuI/37V+z/tqVMi4q5iWzAy4RSoBe9DIc0pQzgYL44Ud0NgKLA3hnjA4EfacDF2lGmgydb+k+c2DFHaBnrKUL+aPsN4x0v0LxG/hiD6RBXqNozpj+B7z0/j8pHRQRqkmz/H6Chd4TogtFhnW8iKvpQsBmEvFGygGRwBadPb3ALwyEbu9CwjZYY3+v/JYhrMCI6rDm9C5ltvmkig7Yh5SQzXzQa0joRbQlTmuo6Ei+uf1s03g14aSGvG0zmsqdxaxtdAegtdtfHTFjUjsJ73GIxDefXFuaqVuZirZ071jNvlpSxdOJO+vILYgs/ZpxYV+Qe1SgWAQc5UYwAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js b/unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js deleted file mode 100644 index 23c47ca..0000000 --- a/unpackage/dist/build/h5/static/js/pages-vip-vip.f458f114.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-vip"],{"1db4":function(e,i,t){"use strict";var n=t("ca41"),a=t.n(n);a.a},"1de5":function(e,i,t){"use strict";e.exports=function(e,i){return i||(i={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),i.hash&&(e+=i.hash),/["'() \t\n]/.test(e)||i.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1f56":function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABACAMAAAC3B3BDAAAAM1BMVEUAAADb29vc3Nzb29vb29vb29vc3Nzb29vc3Nza2trb29vb29vb29va2trd3d3b29vb29u1O//tAAAAEHRSTlMAv9LHt4TgXz438nHGmUwq97zaPgAAAHhJREFUWMPt1bsOgCAMhWGQcvfC+z+tNjrK1JJgPP/W5RuaJjUIIYTQfEWiOEBtV/ouMWvV2YXZoM46Zhewv2X3zd4VZssz+CxTU+uURKzvsXYMSyI299hDuFz7hro854GB/S476OkQs6s6W5mtRj0fgjcIIYTQdJ2WxQ1J9tuhiAAAAABJRU5ErkJggg=="},"57dc":function(e,i,t){e.exports=t.p+"static/fonts/uni.75745d34.ttf"},"5f33":function(e,i,t){"use strict";t.r(i);var n=t("caa6"),a=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(i,e,(function(){return n[e]}))}(o);i["default"]=a.a},6876:function(e,i,t){"use strict";var n;t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-text",{staticClass:"uni-icons",class:[e.fontFamily,e.fontFamily?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e._onClick.apply(void 0,arguments)}}},[e._v(e._s(e.fontFamily?"":e.icons[e.type]))])},o=[]},8393:function(e,i,t){var n=t("9eb0");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("2ce3e76e",n,!0,{sourceMap:!1,shadowMode:!1})},8882:function(e,i,t){var n;t("c975"),t("ac1f"),t("466d"),t("5319"),t("1276");var a=t("9523");!function(a,o){n=function(){return o(a)}.call(i,t,i,e),void 0===n||(e.exports=n)}(window,(function(e,i){if(!e.jWeixin){var t,n,o={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e={};for(var i in o)e[o[i]]=i;return e}(),s=e.document,c=s.title,d=navigator.userAgent.toLowerCase(),l=navigator.platform.toLowerCase(),u=!(!l.match("mac")&&!l.match("win")),p=-1!=d.indexOf("wxdebugger"),f=-1!=d.indexOf("micromessenger"),v=-1!=d.indexOf("android"),g=-1!=d.indexOf("iphone")||-1!=d.indexOf("ipad"),h=(n=d.match(/micromessenger\/(\d+\.\d+\.\d+)/)||d.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",m={initStartTime:E(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},b={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:g?1:v?2:-1,clientVersion:h,url:encodeURIComponent(location.href)},w={},y={_completes:[]},x={state:0,data:{}};z((function(){m.initEndTime=E()}));var _=!1,k=[],A=(t={config:function(i){V("config",w=i);var t=!1!==w.check;z((function(){if(t)S(o.config,{verifyJsApiList:O(w.jsApiList),verifyOpenTagList:O(w.openTagList)},function(){y._complete=function(e){m.preVerifyEndTime=E(),x.state=1,x.data=e},y.success=function(e){b.isPreVerifyOk=0},y.fail=function(e){y._fail?y._fail(e):x.state=-1};var e=y._completes;return e.push((function(){!function(){if(!(u||p||w.debug||h<"6.0.2"||b.systemType<0)){var e=new Image;b.appId=w.appId,b.initTime=m.initEndTime-m.initStartTime,b.preVerifyTime=m.preVerifyEndTime-m.preVerifyStartTime,A.getNetworkType({isInnerInvoke:!0,success:function(i){b.networkType=i.networkType;var t="https://open.weixin.qq.com/sdk/report?v="+b.version+"&o="+b.isPreVerifyOk+"&s="+b.systemType+"&c="+b.clientVersion+"&a="+b.appId+"&n="+b.networkType+"&i="+b.initTime+"&p="+b.preVerifyTime+"&u="+b.url;e.src=t}})}}()})),y.complete=function(i){for(var t=0,n=e.length;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){c=!0,r=e},f:function(){try{s||null==t["return"]||t["return"]()}finally{if(c)throw r}}}}},bb58:function(e,i,t){"use strict";t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var n={uniIcons:t("f1a7").default},a=function(){var e=this,i=e.$createElement,n=e._self._c||i;return e.loding?e._e():n("v-uni-view",{staticClass:"content"},[e.canForm?n("v-uni-view",{staticClass:"canBack"}):e._e(),e.canForm?n("v-uni-view",{staticClass:"canPop"},[n("v-uni-image",{staticClass:"canPop-tips",attrs:{src:"/static/user/order-cancelPay.png",mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canClick.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"canPop-cont"},[e._v("上传打款凭证")]),n("v-uni-image",{staticClass:"canPop-cover",attrs:{src:e.canFromImg.showpath||t("1f56"),mode:"aspectFill"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.updImg()}}}),n("v-uni-view",{staticClass:"canPop-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canSubmit.apply(void 0,arguments)}}},[e._v("提交")])],1):e._e(),n("v-uni-swiper",{staticClass:"vip-container",attrs:{"previous-margin":"55rpx","next-margin":"55rpx",current:e.tabsIndex,circular:!0},on:{change:function(i){arguments[0]=i=e.$handleEvent(i),e.swiperChange.apply(void 0,arguments)}}},e._l(e.identitie,(function(i,a){return n("v-uni-swiper-item",{key:a,staticClass:"swiper-item"},[n("v-uni-view",{staticClass:"vip-item",class:e.tabsIndex==a?"color-item-img":""},[n("v-uni-image",{staticClass:"vip-back",attrs:{src:i.card_cover,mode:"scaleToFill"}}),n("v-uni-view",{staticClass:"vip-cont"},[n("v-uni-view",{staticClass:"vip-name"},[e._v(e._s(i.name)),n("v-uni-image",{staticClass:"vip-name-img",attrs:{src:t("faba"),mode:"widthFix"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showRemark(i.name,i.node_definition)}}})],1),i.count?n("v-uni-view",{staticClass:"vip-number"},[e._v(e._s(i.count.stock>0?"剩余名额:"+i.count.residue:"不限名数"))]):e._e(),n("v-uni-view",{staticClass:"vip-tips"},[2==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-01"},[e._v(e._s(i.title))]):3==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-02"},[e._v(e._s(i.title))]):4==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-03"},[e._v(e._s(i.title))]):5==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-04"},[e._v(e._s(i.title))]):e._e()],1)],1)],1)],1)})),1),n("v-uni-view",{staticClass:"privilege"},[n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_00.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点定义")]),e._v(e._s(e.identitie[e.tabsIndex].node_definition))],1)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_01.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("升级条件")]),e.openCondition.energy_shard?[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.energy_shard.finish}},[e._v(e._s(e.openCondition.energy_shard.message)),e.openCondition.energy_shard.finish?n("uni-icons",{attrs:{type:"checkmarkempty",size:"17",color:"#f6b338"}}):e._e()],1),e.openCondition.energy_shard.finish?n("v-uni-view",{staticClass:"privilege-label"},[e._v(e._s(e.openCondition.service_charge.message))]):n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]:[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]],2)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_02.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点权益")]),e._l(e.identitie[e.tabsIndex].rights,(function(i,t){return n("v-uni-view",{key:t,staticClass:"privilege-label privilege-right"},[e._v("&"+e._s(i.remark))])}))],2)],1)],1),n("v-uni-view",{staticClass:"agree"},[n("v-uni-view",{staticClass:"agree-tips",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.$Router.push({name:"vipAgree",params:{type:"vipAgree"}})}}},[e._v("请仔细阅读并确认服务协议")])],1),n("v-uni-view",{staticClass:"agree-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.agreeChange.apply(void 0,arguments)}}},[n("v-uni-radio",{staticStyle:{transform:"scale(.7)"},attrs:{checked:e.selected,color:"#7c52fc"}}),e._v("会员服务协议")],1),n("v-uni-view",{staticClass:"footer"},[n("v-uni-image",{staticClass:"footer-btn",attrs:{src:e.identitie[e.tabsIndex].button_cover,mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.openOrder.apply(void 0,arguments)}}})],1)],1)},o=[]},ca41:function(e,i,t){var n=t("e78d");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("1f542c6c",n,!0,{sourceMap:!1,shadowMode:!1})},caa6:function(e,i,t){"use strict";var n=t("4ea4");t("a9e3"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(t("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};i.default=o},e437:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};i.default=n},e78d:function(e,i,t){var n=t("24fb");i=n(!1),i.push([e.i,"uni-page-body[data-v-2134e145]{background-color:#fff}body.?%PAGE?%[data-v-2134e145]{background-color:#fff}",""]),e.exports=i},ef1b:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uploads=void 0;var n=t("89d9"),a=function(e){return(0,n.uploading)(e)};i.uploads=a},f1a7:function(e,i,t){"use strict";t.r(i);var n=t("6876"),a=t("5f33");for(var o in a)"default"!==o&&function(e){t.d(i,e,(function(){return a[e]}))}(o);t("99ac");var r,s=t("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],r);i["default"]=c.exports},faba:function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAM1BMVEX///8AAAD///////////////////////////////////////////////////////////+Q8lQ3AAAAEXRSTlOAABE+dTEHN0gpbSNhZ1xSHHylzX4AAAD+SURBVDjLZVPdooYgCJuI/37V+z/tqVMi4q5iWzAy4RSoBe9DIc0pQzgYL44Ud0NgKLA3hnjA4EfacDF2lGmgydb+k+c2DFHaBnrKUL+aPsN4x0v0LxG/hiD6RBXqNozpj+B7z0/j8pHRQRqkmz/H6Chd4TogtFhnW8iKvpQsBmEvFGygGRwBadPb3ALwyEbu9CwjZYY3+v/JYhrMCI6rDm9C5ltvmkig7Yh5SQzXzQa0joRbQlTmuo6Ei+uf1s03g14aSGvG0zmsqdxaxtdAegtdtfHTFjUjsJ73GIxDefXFuaqVuZirZ071jNvlpSxdOJO+vILYgs/ZpxYV+Qe1SgWAQc5UYwAAAABJRU5ErkJggg=="}}]); \ No newline at end of file