vendor.js
171.8 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"079c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){var e="",n=0;t=(t||0).toString();for(var i=t.length-1;i>=0;i--)n++,e=t.charAt(i)+e,n%3||0==i||(e=","+e);return e},a={change:i};e.default=a},"0cd2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={appid:""};e.default=i},"543d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createApp=me,e.createComponent=Pe,e.createPage=Te,e.default=void 0;var i=a(n("66fd"));function a(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e){return u(t)||c(t,e)||d(t,e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,a=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(l){a=!0,r=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(a)throw r}}return n}}function u(t){if(Array.isArray(t))return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return v(t)||g(t)||d(t)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(t,e){if(t){if("string"===typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}function g(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function v(t){if(Array.isArray(t))return y(t)}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var x=Object.prototype.toString,m=Object.prototype.hasOwnProperty;function _(t){return"function"===typeof t}function b(t){return"string"===typeof t}function S(t){return"[object Object]"===x.call(t)}function w(t,e){return m.call(t,e)}function A(){}function T(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var P=/-(\w)/g,k=T((function(t){return t.replace(P,(function(t,e){return e?e.toUpperCase():""}))})),D=["invoke","success","fail","complete","returnValue"],F={},O={};function C(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?$(n):n}function $(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function M(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function R(t,e){Object.keys(e).forEach((function(n){-1!==D.indexOf(n)&&_(e[n])&&(t[n]=C(t[n],e[n]))}))}function L(t,e){t&&e&&Object.keys(e).forEach((function(n){-1!==D.indexOf(n)&&_(e[n])&&M(t[n],e[n])}))}function B(t,e){"string"===typeof t&&S(e)?R(O[t]||(O[t]={}),e):S(t)&&R(F,t)}function j(t,e){"string"===typeof t?S(e)?L(O[t],e):delete O[t]:S(t)&&L(F,t)}function I(t){return function(e){return t(e)||e}}function E(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}function z(t,e){for(var n=!1,i=0;i<t.length;i++){var a=t[i];if(n)n=Promise.then(I(a));else{var r=a(e);if(E(r)&&(n=Promise.resolve(r)),!1===r)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var i=e[n];e[n]=function(e){z(t[n],e).then((function(t){return _(i)&&i(t)||t}))}}})),e}function W(t,e){var n=[];Array.isArray(F.returnValue)&&n.push.apply(n,p(F.returnValue));var i=O[t];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,p(i.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function H(t){var e=Object.create(null);Object.keys(F).forEach((function(t){"returnValue"!==t&&(e[t]=F[t].slice())}));var n=O[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function q(t,e,n){for(var i=arguments.length,a=new Array(i>3?i-3:0),r=3;r<i;r++)a[r-3]=arguments[r];var o=H(t);if(o&&Object.keys(o).length){if(Array.isArray(o.invoke)){var s=z(o.invoke,n);return s.then((function(t){return e.apply(void 0,[N(o,t)].concat(a))}))}return e.apply(void 0,[N(o,n)].concat(a))}return e.apply(void 0,[n].concat(a))}var U={returnValue:function(t){return E(t)?t.then((function(t){return t[1]})).catch((function(t){return t[0]})):t}},V=/^\$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,X=/^create|Manager$/,G=["createBLEConnection"],J=/^on|^off/;function K(t){return X.test(t)}function Y(t){return V.test(t)&&-1===G.indexOf(t)}function Q(t){return J.test(t)&&"onPush"!==t}function Z(t){return t.then((function(t){return[null,t]})).catch((function(t){return[t]}))}function tt(t){return!(K(t)||Y(t)||Q(t))}function et(t,e){return tt(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];return _(n.success)||_(n.fail)||_(n.complete)?W(t,q.apply(void 0,[t,e,n].concat(a))):W(t,Z(new Promise((function(i,r){q.apply(void 0,[t,e,Object.assign({},n,{success:i,fail:r})].concat(a))}))))}:e}Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))});var nt=1e-4,it=750,at=!1,rt=0,ot=0;function st(){var t=wx.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,i=t.windowWidth;rt=i,ot=n,at="ios"===e}function lt(t,e){if(0===rt&&st(),t=Number(t),0===t)return 0;var n=t/it*(e||rt);return n<0&&(n=-n),n=Math.floor(n+nt),0===n?1!==ot&&at?.5:1:t<0?-n:n}var ct={promiseInterceptor:U},ut=Object.freeze({__proto__:null,upx2px:lt,interceptors:ct,addInterceptor:B,removeInterceptor:j}),ht={args:function(t){var e=parseInt(t.current);if(!isNaN(e)){var n=t.urls;if(Array.isArray(n)){var i=n.length;if(i)return e<0?e=0:e>=i&&(e=i-1),e>0?(t.current=n[e],t.urls=n.filter((function(t,i){return!(i<e)||t!==n[e]}))):t.current=n[0],{indicator:!1,loop:!1}}}}};function pt(t){if(t.safeArea){var e=t.safeArea;t.safeAreaInsets={top:e.top,left:e.left,right:t.windowWidth-e.right,bottom:t.windowHeight-e.bottom}}}var ft={previewImage:ht,getSystemInfo:{returnValue:pt},getSystemInfoSync:{returnValue:pt}},dt=["vibrate"],gt=[],vt=["success","fail","cancel","complete"];function yt(t,e,n){return function(i){return e(mt(t,i,n))}}function xt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(S(e)){var r=!0===a?e:{};for(var o in _(n)&&(n=n(e,r)||{}),e)if(w(n,o)){var s=n[o];_(s)&&(s=s(e[o],e,r)),s?b(s)?r[s]=e[o]:S(s)&&(r[s.name?s.name:o]=s.value):console.warn("微信小程序 ".concat(t,"暂不支持").concat(o))}else-1!==vt.indexOf(o)?r[o]=yt(t,e[o],i):a||(r[o]=e[o]);return r}return _(e)&&(e=yt(t,e,i)),e}function mt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _(ft.returnValue)&&(e=ft.returnValue(t,e)),xt(t,e,n,{},i)}function _t(t,e){if(w(ft,t)){var n=ft[t];return n?function(e,i){var a=n;_(n)&&(a=n(e)),e=xt(t,e,a.args,a.returnValue);var r=[e];"undefined"!==typeof i&&r.push(i);var o=wx[a.name||t].apply(wx,r);return Y(t)?mt(t,o,a.returnValue,K(t)):o}:function(){console.error("微信小程序 暂不支持".concat(t))}}return e}var bt=Object.create(null),St=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function wt(t){return function(e){var n=e.fail,i=e.complete,a={errMsg:"".concat(t,":fail:暂不支持 ").concat(t," 方法")};_(n)&&n(a),_(i)&&i(a)}}St.forEach((function(t){bt[t]=wt(t)}));var At={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function Tt(t){var e=t.service,n=t.success,i=t.fail,a=t.complete,r=!1;At[e]?(r={errMsg:"getProvider:ok",service:e,provider:At[e]},_(n)&&n(r)):(r={errMsg:"getProvider:fail:服务["+e+"]不存在"},_(i)&&i(r)),_(a)&&a(r)}var Pt=Object.freeze({__proto__:null,getProvider:Tt}),kt=function(){return"function"===typeof getUniEmitter?getUniEmitter:function(){return t||(t=new i.default),t};var t}();function Dt(t,e,n){return t[e].apply(t,n)}function Ft(){return Dt(kt(),"$on",Array.prototype.slice.call(arguments))}function Ot(){return Dt(kt(),"$off",Array.prototype.slice.call(arguments))}function Ct(){return Dt(kt(),"$once",Array.prototype.slice.call(arguments))}function $t(){return Dt(kt(),"$emit",Array.prototype.slice.call(arguments))}var Mt=Object.freeze({__proto__:null,$on:Ft,$off:Ot,$once:Ct,$emit:$t}),Rt=Object.freeze({__proto__:null}),Lt=Page,Bt=Component,jt=/:/g,It=T((function(t){return k(t.replace(jt,"-"))}));function Et(t){if(wx.canIUse("nextTick")){var e=t.triggerEvent;t.triggerEvent=function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];return e.apply(t,[It(n)].concat(a))}}}function zt(t,e){var n=e[t];e[t]=n?function(){Et(this);for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n.apply(this,e)}:function(){Et(this)}}Page=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return zt("onLoad",t),Lt(t)},Component=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return zt("created",t),Bt(t)};var Nt=["onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function Wt(t,e){var n=t.$mp[t.mpType];e.forEach((function(e){w(n,e)&&(t[e]=n[e])}))}function Ht(t,e){if(!e)return!0;if(i.default.options&&Array.isArray(i.default.options[t]))return!0;if(e=e.default||e,_(e))return!!_(e.extendOptions[t])||!!(e.super&&e.super.options&&Array.isArray(e.super.options[t]));if(_(e[t]))return!0;var n=e.mixins;return Array.isArray(n)?!!n.find((function(e){return Ht(t,e)})):void 0}function qt(t,e,n){e.forEach((function(e){Ht(e,n)&&(t[e]=function(t){return this.$vm&&this.$vm.__call_hook(e,t)})}))}function Ut(t,e){var n;return e=e.default||e,_(e)?(n=e,e=n.extendOptions):n=t.extend(e),[n,e]}function Vt(t,e){if(Array.isArray(e)&&e.length){var n=Object.create(null);e.forEach((function(t){n[t]=!0})),t.$scopedSlots=t.$slots=n}}function Xt(t,e){t=(t||"").split(",");var n=t.length;1===n?e._$vueId=t[0]:2===n&&(e._$vueId=t[0],e._$vuePid=t[1])}function Gt(t,e){var n=t.data||{},i=t.methods||{};if("function"===typeof n)try{n=n.call(e)}catch(a){Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(a){}return S(n)||(n={}),Object.keys(i).forEach((function(t){-1!==e.__lifecycle_hooks__.indexOf(t)||w(n,t)||(n[t]=i[t])})),n}var Jt=[String,Number,Boolean,Object,Array,null];function Kt(t){return function(e,n){this.$vm&&(this.$vm[t]=e)}}function Yt(t,e){var n=t["behaviors"],i=t["extends"],a=t["mixins"],r=t["props"];r||(t["props"]=r=[]);var o=[];return Array.isArray(n)&&n.forEach((function(t){o.push(t.replace("uni://","wx".concat("://"))),"uni://form-field"===t&&(Array.isArray(r)?(r.push("name"),r.push("value")):(r["name"]={type:String,default:""},r["value"]={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),S(i)&&i.props&&o.push(e({properties:Zt(i.props,!0)})),Array.isArray(a)&&a.forEach((function(t){S(t)&&t.props&&o.push(e({properties:Zt(t.props,!0)}))})),o}function Qt(t,e,n,i){return Array.isArray(e)&&1===e.length?e[0]:e}function Zt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],{});return e||(n.vueId={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(t,e){var n=Object.create(null);t.forEach((function(t){n[t]=!0})),this.setData({$slots:n})}}),Array.isArray(t)?t.forEach((function(t){n[t]={type:null,observer:Kt(t)}})):S(t)&&Object.keys(t).forEach((function(e){var i=t[e];if(S(i)){var a=i["default"];_(a)&&(a=a()),i.type=Qt(e,i.type),n[e]={type:-1!==Jt.indexOf(i.type)?i.type:null,value:a,observer:Kt(e)}}else{var r=Qt(e,i);n[e]={type:-1!==Jt.indexOf(r)?r:null,observer:Kt(e)}}})),n}function te(t){try{t.mp=JSON.parse(JSON.stringify(t))}catch(e){}return t.stopPropagation=A,t.preventDefault=A,t.target=t.target||{},w(t,"detail")||(t.detail={}),S(t.detail)&&(t.target=Object.assign({},t.target,t.detail)),t}function ee(t,e){var n=t;return e.forEach((function(e){var i=e[0],a=e[2];if(i||"undefined"!==typeof a){var r=e[1],o=e[3],s=i?t.__get_value(i,n):n;Number.isInteger(s)?n=a:r?Array.isArray(s)?n=s.find((function(e){return t.__get_value(r,e)===a})):S(s)?n=Object.keys(s).find((function(e){return t.__get_value(r,s[e])===a})):console.error("v-for 暂不支持循环数据:",s):n=s[a],o&&(n=t.__get_value(o,n))}})),n}function ne(t,e,n){var i={};return Array.isArray(e)&&e.length&&e.forEach((function(e,a){"string"===typeof e?e?"$event"===e?i["$"+a]=n:0===e.indexOf("$event.")?i["$"+a]=t.__get_value(e.replace("$event.",""),n):i["$"+a]=t.__get_value(e):i["$"+a]=t:i["$"+a]=ee(t,e)})),i}function ie(t){for(var e={},n=1;n<t.length;n++){var i=t[n];e[i[0]]=i[1]}return e}function ae(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,o=!1;if(a&&(o=e.currentTarget&&e.currentTarget.dataset&&"wx"===e.currentTarget.dataset.comType,!n.length))return o?[e]:e.detail.__args__||e.detail;var s=ne(t,i,e),l=[];return n.forEach((function(t){"$event"===t?"__set_model"!==r||a?a&&!o?l.push(e.detail.__args__[0]):l.push(e):l.push(e.target.value):Array.isArray(t)&&"o"===t[0]?l.push(ie(t)):"string"===typeof t&&w(s,t)?l.push(s[t]):l.push(t)})),l}var re="~",oe="^";function se(t,e){return t===e||"regionchange"===e&&("begin"===t||"end"===t)}function le(t){var e=this;t=te(t);var n=(t.currentTarget||t.target).dataset;if(!n)return console.warn("事件信息不存在");var i=n.eventOpts||n["event-opts"];if(!i)return console.warn("事件信息不存在");var a=t.type,r=[];return i.forEach((function(n){var i=n[0],o=n[1],s=i.charAt(0)===oe;i=s?i.slice(1):i;var l=i.charAt(0)===re;i=l?i.slice(1):i,o&&se(a,i)&&o.forEach((function(n){var i=n[0];if(i){var a=e.$vm;if(a.$options.generic&&a.$parent&&a.$parent.$parent&&(a=a.$parent.$parent),"$emit"===i)return void a.$emit.apply(a,ae(e.$vm,t,n[1],n[2],s,i));var o=a[i];if(!_(o))throw new Error(" _vm.".concat(i," is not a function"));if(l){if(o.once)return;o.once=!0}r.push(o.apply(a,ae(e.$vm,t,n[1],n[2],s,i)))}}))})),"input"===a&&1===r.length&&"undefined"!==typeof r[0]?r[0]:void 0}var ce=["onShow","onHide","onError","onPageNotFound"];function ue(t,e){var n=e.mocks,a=e.initRefs;t.$options.store&&(i.default.prototype.$store=t.$options.store),i.default.prototype.mpHost="mp-weixin",i.default.mixin({beforeCreate:function(){this.$options.mpType&&(this.mpType=this.$options.mpType,this.$mp=h({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"app"!==this.mpType&&(a(this),Wt(this,n)))}});var r={onLaunch:function(e){this.$vm||(wx.canIUse("nextTick")||console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",e),this.$vm.__call_hook("onLaunch",e))}};r.globalData=t.$options.globalData||{};var o=t.$options.methods;return o&&Object.keys(o).forEach((function(t){r[t]=o[t]})),qt(r,ce),r}var he=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function pe(t,e){for(var n,i=t.$children,a=i.length-1;a>=0;a--){var r=i[a];if(r.$scope._$vueId===e)return r}for(var o=i.length-1;o>=0;o--)if(n=pe(i[o],e),n)return n}function fe(t){return Behavior(t)}function de(){return!!this.route}function ge(t){this.triggerEvent("__l",t)}function ve(t){var e=t.$scope;Object.defineProperty(t,"$refs",{get:function(){var t={},n=e.selectAllComponents(".vue-ref");n.forEach((function(e){var n=e.dataset.ref;t[n]=e.$vm||e}));var i=e.selectAllComponents(".vue-ref-in-for");return i.forEach((function(e){var n=e.dataset.ref;t[n]||(t[n]=[]),t[n].push(e.$vm||e)})),t}})}function ye(t){var e,n=t.detail||t.value,i=n.vuePid,a=n.vueOptions;i&&(e=pe(this.$vm,i)),e||(e=this.$vm),a.parent=e}function xe(t){return ue(t,{mocks:he,initRefs:ve})}function me(t){return App(xe(t)),t}function _e(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isPage,a=e.initRelation,r=Ut(i.default,t),l=s(r,2),c=l[0],u=l[1],h=o({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"]["options"]&&Object.assign(h,u["mp-weixin"]["options"]);var p={options:h,data:Gt(u,i.default.prototype),behaviors:Yt(u,fe),properties:Zt(u.props,!1,u.__file),lifetimes:{attached:function(){var t=this.properties,e={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:t};Xt(t.vueId,this),a.call(this,{vuePid:this._$vuePid,vueOptions:e}),this.$vm=new c(e),Vt(this.$vm,t.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(t){this.$vm&&this.$vm.__call_hook("onPageShow",t)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(t){this.$vm&&this.$vm.__call_hook("onPageResize",t)}},methods:{__l:ye,__e:le}};return Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(t){p.methods[t]=function(e){return this.$vm[t](e)}})),n?p:[p,c]}function be(t){return _e(t,{isPage:de,initRelation:ge})}var Se=["onShow","onHide","onUnload"];function we(t,e){e.isPage,e.initRelation;var n=be(t);return qt(n.methods,Se,t),n.methods.onLoad=function(t){this.$vm.$mp.query=t,this.$vm.__call_hook("onLoad",t)},n}function Ae(t){return we(t,{isPage:de,initRelation:ge})}function Te(t){return Component(Ae(t))}function Pe(t){return Component(be(t))}Se.push.apply(Se,Nt),dt.forEach((function(t){ft[t]=!1})),gt.forEach((function(t){var e=ft[t]&&ft[t].name?ft[t].name:t;wx.canIUse(e)||(ft[t]=!1)}));var ke={};"undefined"!==typeof Proxy?ke=new Proxy({},{get:function(t,e){return t[e]?t[e]:ut[e]?ut[e]:Rt[e]?et(e,Rt[e]):Pt[e]?et(e,Pt[e]):bt[e]?et(e,bt[e]):Mt[e]?Mt[e]:w(wx,e)||w(ft,e)?et(e,_t(e,wx[e])):void 0},set:function(t,e,n){return t[e]=n,!0}}):(Object.keys(ut).forEach((function(t){ke[t]=ut[t]})),Object.keys(bt).forEach((function(t){ke[t]=et(t,bt[t])})),Object.keys(Pt).forEach((function(t){ke[t]=et(t,bt[t])})),Object.keys(Mt).forEach((function(t){ke[t]=Mt[t]})),Object.keys(Rt).forEach((function(t){ke[t]=et(t,Rt[t])})),Object.keys(wx).forEach((function(t){(w(wx,t)||w(ft,t))&&(ke[t]=et(t,_t(t,wx[t])))}))),wx.createApp=me,wx.createPage=Te,wx.createComponent=Pe;var De=ke,Fe=De;e.default=Fe},"66fd":function(t,e,n){"use strict";n.r(e),function(t){
/*!
* Vue.js v2.6.11
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
var n=Object.freeze({});function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function r(t){return!0===t}function o(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function h(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),i=t.split(","),a=0;a<i.length;a++)n[i[a]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function x(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function _(t,e){return m.call(t,e)}function b(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var S=/-(\w)/g,w=b((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),A=b((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,P=b((function(t){return t.replace(T,"-$1").toLowerCase()}));function k(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function D(t,e){return t.bind(e)}var F=Function.prototype.bind?D:k;function O(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function C(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n<t.length;n++)t[n]&&C(e,t[n]);return e}function M(t,e,n){}var R=function(t,e,n){return!1},L=function(t){return t};function B(t,e){if(t===e)return!0;var n=l(t),i=l(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var a=Array.isArray(t),r=Array.isArray(e);if(a&&r)return t.length===e.length&&t.every((function(t,n){return B(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(a||r)return!1;var o=Object.keys(t),s=Object.keys(e);return o.length===s.length&&o.every((function(n){return B(t[n],e[n])}))}catch(c){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(B(t[n],e))return n;return-1}function I(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var E=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:M,parsePlatformTagName:L,mustUseProp:R,async:!0,_lifecycleHooks:z},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function q(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var U=new RegExp("[^"+W.source+".$_\\d]");function V(t){if(!U.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var X,G="__proto__"in{},J="undefined"!==typeof window,K="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Y=K&&WXEnvironment.platform.toLowerCase(),Q=J&&window.navigator.userAgent.toLowerCase(),Z=Q&&/msie|trident/.test(Q),tt=(Q&&Q.indexOf("msie 9.0"),Q&&Q.indexOf("edge/")>0),et=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Y),nt=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/),{}.watch);if(J)try{var it={};Object.defineProperty(it,"passive",{get:function(){}}),window.addEventListener("test-passive",null,it)}catch(na){}var at=function(){return void 0===X&&(X=!J&&!K&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),X},rt=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"===typeof t&&/native code/.test(t.toString())}var st,lt="undefined"!==typeof Symbol&&ot(Symbol)&&"undefined"!==typeof Reflect&&ot(Reflect.ownKeys);st="undefined"!==typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=M,ut=0,ht=function(){"undefined"!==typeof SharedObject?this.id=SharedObject.uid++:this.id=ut++,this.subs=[]};function pt(t){ht.SharedObject.targetStack.push(t),ht.SharedObject.target=t}function ft(){ht.SharedObject.targetStack.pop(),ht.SharedObject.target=ht.SharedObject.targetStack[ht.SharedObject.targetStack.length-1]}ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){x(this.subs,t)},ht.prototype.depend=function(){ht.SharedObject.target&&ht.SharedObject.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ht.SharedObject="undefined"!==typeof SharedObject?SharedObject:{},ht.SharedObject.target=null,ht.SharedObject.targetStack=[];var dt=function(t,e,n,i,a,r,o,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(dt.prototype,gt);var vt=function(t){void 0===t&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function yt(t){return new dt(void 0,void 0,void 0,String(t))}function xt(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var mt=Array.prototype,_t=Object.create(mt),bt=["push","pop","shift","unshift","splice","sort","reverse"];bt.forEach((function(t){var e=mt[t];q(_t,t,(function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];var a,r=e.apply(this,n),o=this.__ob__;switch(t){case"push":case"unshift":a=n;break;case"splice":a=n.slice(2);break}return a&&o.observeArray(a),o.dep.notify(),r}))}));var St=Object.getOwnPropertyNames(_t),wt=!0;function At(t){wt=t}var Tt=function(t){this.value=t,this.dep=new ht,this.vmCount=0,q(t,"__ob__",this),Array.isArray(t)?(G?t.push!==t.__proto__.push?kt(t,_t,St):Pt(t,_t):kt(t,_t,St),this.observeArray(t)):this.walk(t)};function Pt(t,e){t.__proto__=e}function kt(t,e,n){for(var i=0,a=n.length;i<a;i++){var r=n[i];q(t,r,e[r])}}function Dt(t,e){var n;if(l(t)&&!(t instanceof dt))return _(t,"__ob__")&&t.__ob__ instanceof Tt?n=t.__ob__:wt&&!at()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Tt(t)),e&&n&&n.vmCount++,n}function Ft(t,e,n,i,a){var r=new ht,o=Object.getOwnPropertyDescriptor(t,e);if(!o||!1!==o.configurable){var s=o&&o.get,l=o&&o.set;s&&!l||2!==arguments.length||(n=t[e]);var c=!a&&Dt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ht.SharedObject.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(e)&&$t(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!==e&&i!==i||s&&!l||(l?l.call(t,e):n=e,c=!a&&Dt(e),r.notify())}})}}function Ot(t,e,n){if(Array.isArray(t)&&p(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(Ft(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Ct(t,e){if(Array.isArray(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||_(t,e)&&(delete t[e],n&&n.dep.notify())}}function $t(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&$t(e)}Tt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ft(t,e[n])},Tt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Dt(t[e])};var Mt=N.optionMergeStrategies;function Rt(t,e){if(!e)return t;for(var n,i,a,r=lt?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++)n=r[o],"__ob__"!==n&&(i=t[n],a=e[n],_(t,n)?i!==a&&u(i)&&u(a)&&Rt(i,a):Ot(t,n,a));return t}function Lt(t,e,n){return n?function(){var i="function"===typeof e?e.call(n,n):e,a="function"===typeof t?t.call(n,n):t;return i?Rt(i,a):a}:e?t?function(){return Rt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Bt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?jt(n):n}function jt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function It(t,e,n,i){var a=Object.create(t||null);return e?C(a,e):a}Mt.data=function(t,e,n){return n?Lt(t,e,n):e&&"function"!==typeof e?t:Lt(t,e)},z.forEach((function(t){Mt[t]=Bt})),E.forEach((function(t){Mt[t+"s"]=It})),Mt.watch=function(t,e,n,i){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var a={};for(var r in C(a,t),e){var o=a[r],s=e[r];o&&!Array.isArray(o)&&(o=[o]),a[r]=o?o.concat(s):Array.isArray(s)?s:[s]}return a},Mt.props=Mt.methods=Mt.inject=Mt.computed=function(t,e,n,i){if(!t)return e;var a=Object.create(null);return C(a,t),e&&C(a,e),a},Mt.provide=Lt;var Et=function(t,e){return void 0===e?t:e};function zt(t,e){var n=t.props;if(n){var i,a,r,o={};if(Array.isArray(n)){i=n.length;while(i--)a=n[i],"string"===typeof a&&(r=w(a),o[r]={type:null})}else if(u(n))for(var s in n)a=n[s],r=w(s),o[r]=u(a)?a:{type:a};else 0;t.props=o}}function Nt(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var a=0;a<n.length;a++)i[n[a]]={from:n[a]};else if(u(n))for(var r in n){var o=n[r];i[r]=u(o)?C({from:r},o):{from:o}}else 0}}function Wt(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"===typeof i&&(e[n]={bind:i,update:i})}}function Ht(t,e,n){if("function"===typeof e&&(e=e.options),zt(e,n),Nt(e,n),Wt(e),!e._base&&(e.extends&&(t=Ht(t,e.extends,n)),e.mixins))for(var i=0,a=e.mixins.length;i<a;i++)t=Ht(t,e.mixins[i],n);var r,o={};for(r in t)s(r);for(r in e)_(t,r)||s(r);function s(i){var a=Mt[i]||Et;o[i]=a(t[i],e[i],n,i)}return o}function qt(t,e,n,i){if("string"===typeof n){var a=t[e];if(_(a,n))return a[n];var r=w(n);if(_(a,r))return a[r];var o=A(r);if(_(a,o))return a[o];var s=a[n]||a[r]||a[o];return s}}function Ut(t,e,n,i){var a=e[t],r=!_(n,t),o=n[t],s=Jt(Boolean,a.type);if(s>-1)if(r&&!_(a,"default"))o=!1;else if(""===o||o===P(t)){var l=Jt(String,a.type);(l<0||s<l)&&(o=!0)}if(void 0===o){o=Vt(i,a,t);var c=wt;At(!0),Dt(o),At(c)}return o}function Vt(t,e,n){if(_(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof i&&"Function"!==Xt(e.type)?i.call(t):i}}function Xt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Gt(t,e){return Xt(t)===Xt(e)}function Jt(t,e){if(!Array.isArray(e))return Gt(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Gt(e[n],t))return n;return-1}function Kt(t,e,n){pt();try{if(e){var i=e;while(i=i.$parent){var a=i.$options.errorCaptured;if(a)for(var r=0;r<a.length;r++)try{var o=!1===a[r].call(i,t,e,n);if(o)return}catch(na){Qt(na,i,"errorCaptured hook")}}}Qt(t,e,n)}finally{ft()}}function Yt(t,e,n,i,a){var r;try{r=n?t.apply(e,n):t.call(e),r&&!r._isVue&&f(r)&&!r._handled&&(r.catch((function(t){return Kt(t,i,a+" (Promise/async)")})),r._handled=!0)}catch(na){Kt(na,i,a)}return r}function Qt(t,e,n){if(N.errorHandler)try{return N.errorHandler.call(null,t,e,n)}catch(na){na!==t&&Zt(na,null,"config.errorHandler")}Zt(t,e,n)}function Zt(t,e,n){if(!J&&!K||"undefined"===typeof console)throw t;console.error(t)}var te,ee=[],ne=!1;function ie(){ne=!1;var t=ee.slice(0);ee.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ot(Promise)){var ae=Promise.resolve();te=function(){ae.then(ie),et&&setTimeout(M)}}else if(Z||"undefined"===typeof MutationObserver||!ot(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())te="undefined"!==typeof setImmediate&&ot(setImmediate)?function(){setImmediate(ie)}:function(){setTimeout(ie,0)};else{var re=1,oe=new MutationObserver(ie),se=document.createTextNode(String(re));oe.observe(se,{characterData:!0}),te=function(){re=(re+1)%2,se.data=String(re)}}function le(t,e){var n;if(ee.push((function(){if(t)try{t.call(e)}catch(na){Kt(na,e,"nextTick")}else n&&n(e)})),ne||(ne=!0,te()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var ce=new st;function ue(t){he(t,ce),ce.clear()}function he(t,e){var n,i,a=Array.isArray(t);if(!(!a&&!l(t)||Object.isFrozen(t)||t instanceof dt)){if(t.__ob__){var r=t.__ob__.dep.id;if(e.has(r))return;e.add(r)}if(a){n=t.length;while(n--)he(t[n],e)}else{i=Object.keys(t),n=i.length;while(n--)he(t[i[n]],e)}}}var pe=b((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function fe(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return Yt(i,null,arguments,e,"v-on handler");for(var a=i.slice(),r=0;r<a.length;r++)Yt(a[r],null,t,e,"v-on handler")}return n.fns=t,n}function de(t,e,n,a,o,s){var l,c,u,h;for(l in t)c=t[l],u=e[l],h=pe(l),i(c)||(i(u)?(i(c.fns)&&(c=t[l]=fe(c,s)),r(h.once)&&(c=t[l]=o(h.name,c,h.capture)),n(h.name,c,h.capture,h.passive,h.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)i(t[l])&&(h=pe(l),a(h.name,e[l],h.capture))}function ge(t,e,n,r){var o=e.options.mpOptions&&e.options.mpOptions.properties;if(i(o))return n;var s=e.options.mpOptions.externalClasses||[],l=t.attrs,c=t.props;if(a(l)||a(c))for(var u in o){var h=P(u),p=ye(n,c,u,h,!0)||ye(n,l,u,h,!1);p&&n[u]&&-1!==s.indexOf(h)&&r[w(n[u])]&&(n[u]=r[w(n[u])])}return n}function ve(t,e,n,r){var o=e.options.props;if(i(o))return ge(t,e,{},r);var s={},l=t.attrs,c=t.props;if(a(l)||a(c))for(var u in o){var h=P(u);ye(s,c,u,h,!0)||ye(s,l,u,h,!1)}return ge(t,e,s,r)}function ye(t,e,n,i,r){if(a(e)){if(_(e,n))return t[n]=e[n],r||delete e[n],!0;if(_(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function xe(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function me(t){return s(t)?[yt(t)]:Array.isArray(t)?be(t):void 0}function _e(t){return a(t)&&a(t.text)&&o(t.isComment)}function be(t,e){var n,o,l,c,u=[];for(n=0;n<t.length;n++)o=t[n],i(o)||"boolean"===typeof o||(l=u.length-1,c=u[l],Array.isArray(o)?o.length>0&&(o=be(o,(e||"")+"_"+n),_e(o[0])&&_e(c)&&(u[l]=yt(c.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?_e(c)?u[l]=yt(c.text+o):""!==o&&u.push(yt(o)):_e(o)&&_e(c)?u[l]=yt(c.text+o.text):(r(t._isVList)&&a(o.tag)&&i(o.key)&&a(e)&&(o.key="__vlist"+e+"_"+n+"__"),u.push(o)));return u}function Se(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function we(t){var e=Ae(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){Ft(t,n,e[n])})),At(!0))}function Ae(t,e){if(t){for(var n=Object.create(null),i=lt?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++){var r=i[a];if("__ob__"!==r){var o=t[r].from,s=e;while(s){if(s._provided&&_(s._provided,o)){n[r]=s._provided[o];break}s=s.$parent}if(!s)if("default"in t[r]){var l=t[r].default;n[r]="function"===typeof l?l.call(e):l}else 0}}return n}}function Te(t,e){if(!t||!t.length)return{};for(var n={},i=0,a=t.length;i<a;i++){var r=t[i],o=r.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,r.context!==e&&r.fnContext!==e||!o||null==o.slot)r.asyncMeta&&r.asyncMeta.data&&"page"===r.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(r):(n.default||(n.default=[])).push(r);else{var s=o.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(Pe)&&delete n[c];return n}function Pe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ke(t,e,i){var a,r=Object.keys(e).length>0,o=t?!!t.$stable:!r,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&i&&i!==n&&s===i.$key&&!r&&!i.$hasNormal)return i;for(var l in a={},t)t[l]&&"$"!==l[0]&&(a[l]=De(e,l,t[l]))}else a={};for(var c in e)c in a||(a[c]=Fe(e,c));return t&&Object.isExtensible(t)&&(t._normalized=a),q(a,"$stable",o),q(a,"$key",s),q(a,"$hasNormal",r),a}function De(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:me(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function Fe(t,e){return function(){return t[e]}}function Oe(t,e){var n,i,r,o,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,r=t.length;i<r;i++)n[i]=e(t[i],i,i,i);else if("number"===typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i,i,i);else if(l(t))if(lt&&t[Symbol.iterator]){n=[];var c=t[Symbol.iterator](),u=c.next();while(!u.done)n.push(e(u.value,n.length,i++,i)),u=c.next()}else for(o=Object.keys(t),n=new Array(o.length),i=0,r=o.length;i<r;i++)s=o[i],n[i]=e(t[s],s,i,i);return a(n)||(n=[]),n._isVList=!0,n}function Ce(t,e,n,i){var a,r=this.$scopedSlots[t];r?(n=n||{},i&&(n=C(C({},i),n)),a=r(n,this,n._i)||e):a=this.$slots[t]||e;var o=n&&n.slot;return o?this.$createElement("template",{slot:o},a):a}function $e(t){return qt(this.$options,"filters",t,!0)||L}function Me(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Re(t,e,n,i,a){var r=N.keyCodes[e]||n;return a&&i&&!N.keyCodes[e]?Me(a,i):r?Me(r,t):i?P(i)!==e:void 0}function Le(t,e,n,i,a){if(n)if(l(n)){var r;Array.isArray(n)&&(n=$(n));var o=function(o){if("class"===o||"style"===o||y(o))r=t;else{var s=t.attrs&&t.attrs.type;r=i||N.mustUseProp(e,s,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=w(o),c=P(o);if(!(l in r)&&!(c in r)&&(r[o]=n[o],a)){var u=t.on||(t.on={});u["update:"+o]=function(t){n[o]=t}}};for(var s in n)o(s)}else;return t}function Be(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e?i:(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Ie(i,"__static__"+t,!1),i)}function je(t,e,n){return Ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ie(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&Ee(t[i],e+"_"+i,n);else Ee(t,e,n)}function Ee(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ze(t,e){if(e)if(u(e)){var n=t.on=t.on?C({},t.on):{};for(var i in e){var a=n[i],r=e[i];n[i]=a?[].concat(a,r):r}}else;return t}function Ne(t,e,n,i){e=e||{$stable:!n};for(var a=0;a<t.length;a++){var r=t[a];Array.isArray(r)?Ne(r,e,n):r&&(r.proxy&&(r.fn.proxy=!0),e[r.key]=r.fn)}return i&&(e.$key=i),e}function We(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function He(t,e){return"string"===typeof t?e+t:t}function qe(t){t._o=je,t._n=g,t._s=d,t._l=Oe,t._t=Ce,t._q=B,t._i=j,t._m=Be,t._f=$e,t._k=Re,t._b=Le,t._v=yt,t._e=vt,t._u=Ne,t._g=ze,t._d=We,t._p=He}function Ue(t,e,i,a,o){var s,l=this,c=o.options;_(a,"_uid")?(s=Object.create(a),s._original=a):(s=a,a=a._original);var u=r(c._compiled),h=!u;this.data=t,this.props=e,this.children=i,this.parent=a,this.listeners=t.on||n,this.injections=Ae(c.inject,a),this.slots=function(){return l.$slots||ke(t.scopedSlots,l.$slots=Te(i,a)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ke(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=ke(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var r=rn(s,t,e,n,i,h);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=a),r}:this._c=function(t,e,n,i){return rn(s,t,e,n,i,h)}}function Ve(t,e,i,r,o){var s=t.options,l={},c=s.props;if(a(c))for(var u in c)l[u]=Ut(u,c,e||n);else a(i.attrs)&&Ge(l,i.attrs),a(i.props)&&Ge(l,i.props);var h=new Ue(i,l,o,r,t),p=s.render.call(null,h._c,h);if(p instanceof dt)return Xe(p,i,h.parent,s,h);if(Array.isArray(p)){for(var f=me(p)||[],d=new Array(f.length),g=0;g<f.length;g++)d[g]=Xe(f[g],i,h.parent,s,h);return d}}function Xe(t,e,n,i,a){var r=xt(t);return r.fnContext=n,r.fnOptions=i,e.slot&&((r.data||(r.data={})).slot=e.slot),r}function Ge(t,e){for(var n in e)t[w(n)]=e[n]}qe(Ue.prototype);var Je={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Je.prepatch(n,n)}else{var i=t.componentInstance=Qe(t,An);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;Dn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||($n(n,"onServiceCreated"),$n(n,"onServiceAttached"),n._isMounted=!0,$n(n,"mounted")),t.data.keepAlive&&(e._isMounted?qn(n):On(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Cn(e,!0):e.$destroy())}},Ke=Object.keys(Je);function Ye(t,e,n,o,s){if(!i(t)){var c=n.$options._base;if(l(t)&&(t=c.extend(t)),"function"===typeof t){var u;if(i(t.cid)&&(u=t,t=gn(u,c),void 0===t))return dn(u,e,n,o,s);e=e||{},fi(t),a(e.model)&&en(t.options,e);var h=ve(e,t,s,n);if(r(t.options.functional))return Ve(t,h,e,n,o);var p=e.on;if(e.on=e.nativeOn,r(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}Ze(e);var d=t.options.name||s,g=new dt("vue-component-"+t.cid+(d?"-"+d:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:p,tag:s,children:o},u);return g}}}function Qe(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function Ze(t){for(var e=t.hook||(t.hook={}),n=0;n<Ke.length;n++){var i=Ke[n],a=e[i],r=Je[i];a===r||a&&a._merged||(e[i]=a?tn(r,a):r)}}function tn(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function en(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var r=e.on||(e.on={}),o=r[i],s=e.model.callback;a(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(r[i]=[s].concat(o)):r[i]=s}var nn=1,an=2;function rn(t,e,n,i,a,o){return(Array.isArray(n)||s(n))&&(a=i,i=n,n=void 0),r(o)&&(a=an),on(t,e,n,i,a)}function on(t,e,n,i,r){if(a(n)&&a(n.__ob__))return vt();if(a(n)&&a(n.is)&&(e=n.is),!e)return vt();var o,s,l;(Array.isArray(i)&&"function"===typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),r===an?i=me(i):r===nn&&(i=xe(i)),"string"===typeof e)?(s=t.$vnode&&t.$vnode.ns||N.getTagNamespace(e),o=N.isReservedTag(e)?new dt(N.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(l=qt(t.$options,"components",e))?new dt(e,n,i,void 0,void 0,t):Ye(l,n,t,i,e)):o=Ye(e,n,t,i);return Array.isArray(o)?o:a(o)?(a(s)&&sn(o,s),a(n)&&ln(n),o):vt()}function sn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var o=0,s=t.children.length;o<s;o++){var l=t.children[o];a(l.tag)&&(i(l.ns)||r(n)&&"svg"!==l.tag)&&sn(l,e,n)}}function ln(t){l(t.style)&&ue(t.style),l(t.class)&&ue(t.class)}function cn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,a=i&&i.context;t.$slots=Te(e._renderChildren,a),t.$scopedSlots=n,t._c=function(e,n,i,a){return rn(t,e,n,i,a,!1)},t.$createElement=function(e,n,i,a){return rn(t,e,n,i,a,!0)};var r=i&&i.data;Ft(t,"$attrs",r&&r.attrs||n,null,!0),Ft(t,"$listeners",e._parentListeners||n,null,!0)}var un,hn=null;function pn(t){qe(t.prototype),t.prototype.$nextTick=function(t){return le(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,a=n._parentVnode;a&&(e.$scopedSlots=ke(a.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=a;try{hn=e,t=i.call(e._renderProxy,e.$createElement)}catch(na){Kt(na,e,"render"),t=e._vnode}finally{hn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof dt||(t=vt()),t.parent=a,t}}function fn(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function dn(t,e,n,i,a){var r=vt();return r.asyncFactory=t,r.asyncMeta={data:e,context:n,children:i,tag:a},r}function gn(t,e){if(r(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=hn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),r(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var o=t.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return x(o,n)}));var h=function(t){for(var e=0,n=o.length;e<n;e++)o[e].$forceUpdate();t&&(o.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=I((function(n){t.resolved=fn(n,e),s?o.length=0:h(!0)})),d=I((function(e){a(t.errorComp)&&(t.error=!0,h(!0))})),g=t(p,d);return l(g)&&(f(g)?i(t.resolved)&&g.then(p,d):f(g.component)&&(g.component.then(p,d),a(g.error)&&(t.errorComp=fn(g.error,e)),a(g.loading)&&(t.loadingComp=fn(g.loading,e),0===g.delay?t.loading=!0:c=setTimeout((function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))}),g.delay||200)),a(g.timeout)&&(u=setTimeout((function(){u=null,i(t.resolved)&&d(null)}),g.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function vn(t){return t.isComment&&t.asyncFactory}function yn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||vn(n)))return n}}function xn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Sn(t,e)}function mn(t,e){un.$on(t,e)}function _n(t,e){un.$off(t,e)}function bn(t,e){var n=un;return function i(){var a=e.apply(null,arguments);null!==a&&n.$off(t,i)}}function Sn(t,e,n){un=t,de(e,n||{},mn,_n,bn,t),un=void 0}function wn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var a=0,r=t.length;a<r;a++)i.$on(t[a],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,a=t.length;i<a;i++)n.$off(t[i],e);return n}var r,o=n._events[t];if(!o)return n;if(!e)return n._events[t]=null,n;var s=o.length;while(s--)if(r=o[s],r===e||r.fn===e){o.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?O(n):n;for(var i=O(arguments,1),a='event handler for "'+t+'"',r=0,o=n.length;r<o;r++)Yt(n[r],e,i,e,a)}return e}}var An=null;function Tn(t){var e=An;return An=t,function(){An=e}}function Pn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function kn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,a=n._vnode,r=Tn(n);n._vnode=t,n.$el=a?n.__patch__(a,t):n.__patch__(n.$el,t,e,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){$n(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),$n(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Dn(t,e,i,a,r){var o=a.data.scopedSlots,s=t.$scopedSlots,l=!!(o&&!o.$stable||s!==n&&!s.$stable||o&&t.$scopedSlots.$key!==o.$key),c=!!(r||t.$options._renderChildren||l);if(t.$options._parentVnode=a,t.$vnode=a,t._vnode&&(t._vnode.parent=a),t.$options._renderChildren=r,t.$attrs=a.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){At(!1);for(var u=t._props,h=t.$options._propKeys||[],p=0;p<h.length;p++){var f=h[p],d=t.$options.props;u[f]=Ut(f,d,e,t)}At(!0),t.$options.propsData=e}t._$updateProperties&&t._$updateProperties(t),i=i||n;var g=t.$options._parentListeners;t.$options._parentListeners=i,Sn(t,i,g),c&&(t.$slots=Te(r,a.context),t.$forceUpdate())}function Fn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function On(t,e){if(e){if(t._directInactive=!1,Fn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)On(t.$children[n]);$n(t,"activated")}}function Cn(t,e){if((!e||(t._directInactive=!0,!Fn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Cn(t.$children[n]);$n(t,"deactivated")}}function $n(t,e){pt();var n=t.$options[e],i=e+" hook";if(n)for(var a=0,r=n.length;a<r;a++)Yt(n[a],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),ft()}var Mn=[],Rn=[],Ln={},Bn=!1,jn=!1,In=0;function En(){In=Mn.length=Rn.length=0,Ln={},Bn=jn=!1}var zn=Date.now;if(J&&!Z){var Nn=window.performance;Nn&&"function"===typeof Nn.now&&zn()>document.createEvent("Event").timeStamp&&(zn=function(){return Nn.now()})}function Wn(){var t,e;for(zn(),jn=!0,Mn.sort((function(t,e){return t.id-e.id})),In=0;In<Mn.length;In++)t=Mn[In],t.before&&t.before(),e=t.id,Ln[e]=null,t.run();var n=Rn.slice(),i=Mn.slice();En(),Un(n),Hn(i),rt&&N.devtools&&rt.emit("flush")}function Hn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&$n(i,"updated")}}function qn(t){t._inactive=!1,Rn.push(t)}function Un(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,On(t[e],!0)}function Vn(t){var e=t.id;if(null==Ln[e]){if(Ln[e]=!0,jn){var n=Mn.length-1;while(n>In&&Mn[n].id>t.id)n--;Mn.splice(n+1,0,t)}else Mn.push(t);Bn||(Bn=!0,le(Wn))}}var Xn=0,Gn=function(t,e,n,i,a){this.vm=t,a&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Xn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"===typeof e?this.getter=e:(this.getter=V(e),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};Gn.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(na){if(!this.user)throw na;Kt(na,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ue(t),ft(),this.cleanupDeps()}return t},Gn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Gn.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Gn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Vn(this)},Gn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(na){Kt(na,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Gn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Gn.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},Gn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var Jn={enumerable:!0,configurable:!0,get:M,set:M};function Kn(t,e,n){Jn.get=function(){return this[e][n]},Jn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Jn)}function Yn(t){t._watchers=[];var e=t.$options;e.props&&Qn(t,e.props),e.methods&&oi(t,e.methods),e.data?Zn(t):Dt(t._data={},!0),e.computed&&ni(t,e.computed),e.watch&&e.watch!==nt&&si(t,e.watch)}function Qn(t,e){var n=t.$options.propsData||{},i=t._props={},a=t.$options._propKeys=[],r=!t.$parent;r||At(!1);var o=function(r){a.push(r);var o=Ut(r,e,n,t);Ft(i,r,o),r in t||Kn(t,"_props",r)};for(var s in e)o(s);At(!0)}function Zn(t){var e=t.$options.data;e=t._data="function"===typeof e?ti(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,a=(t.$options.methods,n.length);while(a--){var r=n[a];0,i&&_(i,r)||H(r)||Kn(t,"_data",r)}Dt(e,!0)}function ti(t,e){pt();try{return t.call(e,e)}catch(na){return Kt(na,e,"data()"),{}}finally{ft()}}var ei={lazy:!0};function ni(t,e){var n=t._computedWatchers=Object.create(null),i=at();for(var a in e){var r=e[a],o="function"===typeof r?r:r.get;0,i||(n[a]=new Gn(t,o||M,M,ei)),a in t||ii(t,a,r)}}function ii(t,e,n){var i=!at();"function"===typeof n?(Jn.get=i?ai(e):ri(n),Jn.set=M):(Jn.get=n.get?i&&!1!==n.cache?ai(e):ri(n.get):M,Jn.set=n.set||M),Object.defineProperty(t,e,Jn)}function ai(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ht.SharedObject.target&&e.depend(),e.value}}function ri(t){return function(){return t.call(this,this)}}function oi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?M:F(e[n],t)}function si(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var a=0;a<i.length;a++)li(t,n,i[a]);else li(t,n,i)}}function li(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function ci(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Ct,t.prototype.$watch=function(t,e,n){var i=this;if(u(e))return li(i,t,e,n);n=n||{},n.user=!0;var a=new Gn(i,t,e,n);if(n.immediate)try{e.call(i,a.value)}catch(r){Kt(r,i,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}var ui=0;function hi(t){t.prototype._init=function(t){var e=this;e._uid=ui++,e._isVue=!0,t&&t._isComponent?pi(e,t):e.$options=Ht(fi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Pn(e),xn(e),cn(e),$n(e,"beforeCreate"),"mp-toutiao"!==e.mpHost&&we(e),Yn(e),"mp-toutiao"!==e.mpHost&&Se(e),"mp-toutiao"!==e.mpHost&&$n(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function pi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var a=i.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function fi(t){var e=t.options;if(t.super){var n=fi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var a=di(t);a&&C(t.extendOptions,a),e=t.options=Ht(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function di(t){var e,n=t.options,i=t.sealedOptions;for(var a in n)n[a]!==i[a]&&(e||(e={}),e[a]=n[a]);return e}function gi(t){this._init(t)}function vi(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function yi(t){t.mixin=function(t){return this.options=Ht(this.options,t),this}}function xi(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,a=t._Ctor||(t._Ctor={});if(a[i])return a[i];var r=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Ht(n.options,t),o["super"]=n,o.options.props&&mi(o),o.options.computed&&_i(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,E.forEach((function(t){o[t]=n[t]})),r&&(o.options.components[r]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=C({},o.options),a[i]=o,o}}function mi(t){var e=t.options.props;for(var n in e)Kn(t.prototype,"_props",n)}function _i(t){var e=t.options.computed;for(var n in e)ii(t.prototype,n,e[n])}function bi(t){E.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Si(t){return t&&(t.Ctor.options.name||t.tag)}function wi(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Ai(t,e){var n=t.cache,i=t.keys,a=t._vnode;for(var r in n){var o=n[r];if(o){var s=Si(o.componentOptions);s&&!e(s)&&Ti(n,r,i,a)}}}function Ti(t,e,n,i){var a=t[e];!a||i&&a.tag===i.tag||a.componentInstance.$destroy(),t[e]=null,x(n,e)}hi(gi),ci(gi),wn(gi),kn(gi),pn(gi);var Pi=[String,RegExp,Array],ki={name:"keep-alive",abstract:!0,props:{include:Pi,exclude:Pi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ti(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Ai(t,(function(t){return wi(e,t)}))})),this.$watch("exclude",(function(e){Ai(t,(function(t){return!wi(e,t)}))}))},render:function(){var t=this.$slots.default,e=yn(t),n=e&&e.componentOptions;if(n){var i=Si(n),a=this,r=a.include,o=a.exclude;if(r&&(!i||!wi(r,i))||o&&i&&wi(o,i))return e;var s=this,l=s.cache,c=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,x(c,u),c.push(u)):(l[u]=e,c.push(u),this.max&&c.length>parseInt(this.max)&&Ti(l,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Di={KeepAlive:ki};function Fi(t){var e={get:function(){return N}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:C,mergeOptions:Ht,defineReactive:Ft},t.set=Ot,t.delete=Ct,t.nextTick=le,t.observable=function(t){return Dt(t),t},t.options=Object.create(null),E.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,C(t.options.components,Di),vi(t),yi(t),xi(t),bi(t)}Fi(gi),Object.defineProperty(gi.prototype,"$isServer",{get:at}),Object.defineProperty(gi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gi,"FunctionalRenderContext",{value:Ue}),gi.version="2.6.11";var Oi="[object Array]",Ci="[object Object]";function $i(t,e){var n={};return Mi(t,e),Ri(t,e,"",n),n}function Mi(t,e){if(t!==e){var n=Bi(t),i=Bi(e);if(n==Ci&&i==Ci){if(Object.keys(t).length>=Object.keys(e).length)for(var a in e){var r=t[a];void 0===r?t[a]=null:Mi(r,e[a])}}else n==Oi&&i==Oi&&t.length>=e.length&&e.forEach((function(e,n){Mi(t[n],e)}))}}function Ri(t,e,n,i){if(t!==e){var a=Bi(t),r=Bi(e);if(a==Ci)if(r!=Ci||Object.keys(t).length<Object.keys(e).length)Li(i,n,t);else{var o=function(a){var r=t[a],o=e[a],s=Bi(r),l=Bi(o);if(s!=Oi&&s!=Ci)r!=e[a]&&Li(i,(""==n?"":n+".")+a,r);else if(s==Oi)l!=Oi?Li(i,(""==n?"":n+".")+a,r):r.length<o.length?Li(i,(""==n?"":n+".")+a,r):r.forEach((function(t,e){Ri(t,o[e],(""==n?"":n+".")+a+"["+e+"]",i)}));else if(s==Ci)if(l!=Ci||Object.keys(r).length<Object.keys(o).length)Li(i,(""==n?"":n+".")+a,r);else for(var c in r)Ri(r[c],o[c],(""==n?"":n+".")+a+"."+c,i)};for(var s in t)o(s)}else a==Oi?r!=Oi?Li(i,n,t):t.length<e.length?Li(i,n,t):t.forEach((function(t,a){Ri(t,e[a],n+"["+a+"]",i)})):Li(i,n,t)}}function Li(t,e,n){t[e]=n}function Bi(t){return Object.prototype.toString.call(t)}function ji(t){if(t.__next_tick_callbacks&&t.__next_tick_callbacks.length){if(Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var e=t.$scope;console.log("["+ +new Date+"]["+(e.is||e.route)+"]["+t._uid+"]:flushCallbacks["+t.__next_tick_callbacks.length+"]")}var n=t.__next_tick_callbacks.slice(0);t.__next_tick_callbacks.length=0;for(var i=0;i<n.length;i++)n[i]()}}function Ii(t){return Mn.find((function(e){return t._watcher===e}))}function Ei(t,e){if(!t.__next_tick_pending&&!Ii(t)){if(Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var n=t.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+t._uid+"]:nextVueTick")}return le(e,t)}if(Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var i=t.$scope;console.log("["+ +new Date+"]["+(i.is||i.route)+"]["+t._uid+"]:nextMPTick")}var a;if(t.__next_tick_callbacks||(t.__next_tick_callbacks=[]),t.__next_tick_callbacks.push((function(){if(e)try{e.call(t)}catch(na){Kt(na,t,"nextTick")}else a&&a(t)})),!e&&"undefined"!==typeof Promise)return new Promise((function(t){a=t}))}function zi(t){var e=Object.create(null),n=[].concat(Object.keys(t._data||{}),Object.keys(t._computedWatchers||{}));return n.reduce((function(e,n){return e[n]=t[n],e}),e),Object.assign(e,t.$mp.data||{}),Array.isArray(t.$options.behaviors)&&-1!==t.$options.behaviors.indexOf("uni://form-field")&&(e["name"]=t.name,e["value"]=t.value),JSON.parse(JSON.stringify(e))}var Ni=function(t,e){var n=this;if(null!==e&&("page"===this.mpType||"component"===this.mpType)){var i=this.$scope,a=Object.create(null);try{a=zi(this)}catch(s){console.error(s)}a.__webviewId__=i.data.__webviewId__;var r=Object.create(null);Object.keys(a).forEach((function(t){r[t]=i.data[t]}));var o=!1===this.$shouldDiffData?a:$i(a,r);Object.keys(o).length?(Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(i.is||i.route)+"]["+this._uid+"]差量更新",JSON.stringify(o)),this.__next_tick_pending=!0,i.setData(o,(function(){n.__next_tick_pending=!1,ji(n)}))):ji(this)}};function Wi(){}function Hi(t,e,n){if(!t.mpType)return t;"app"===t.mpType&&(t.$options.render=Wi),t.$options.render||(t.$options.render=Wi),"mp-toutiao"!==t.mpHost&&$n(t,"beforeMount");var i=function(){t._update(t._render(),n)};return new Gn(t,i,M,{before:function(){t._isMounted&&!t._isDestroyed&&$n(t,"beforeUpdate")}},!0),n=!1,t}function qi(t,e){return a(t)||a(e)?Ui(t,Vi(e)):""}function Ui(t,e){return t?e?t+" "+e:t:e||""}function Vi(t){return Array.isArray(t)?Xi(t):l(t)?Gi(t):"string"===typeof t?t:""}function Xi(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=Vi(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Gi(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Ji=b((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ki(t){return Array.isArray(t)?$(t):"string"===typeof t?Ji(t):t}var Yi=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Qi(t,e){var n=e.split("."),i=n[0];return 0===i.indexOf("__$n")&&(i=parseInt(i.replace("__$n",""))),1===n.length?t[i]:Qi(t[i],n.slice(1).join("."))}function Zi(t){t.config.errorHandler=function(t){console.error(t);var e=getApp();e&&e.onError&&e.onError(t)};var e=t.prototype.$emit;t.prototype.$emit=function(t){return this.$scope&&t&&this.$scope["triggerEvent"](t,{__args__:O(arguments,1)}),e.apply(this,arguments)},t.prototype.$nextTick=function(t){return Ei(this,t)},Yi.forEach((function(e){t.prototype[e]=function(t){return this.$scope&&this.$scope[e]?this.$scope[e](t):"undefined"!==typeof my?"createSelectorQuery"===e?my.createSelectorQuery(t):"createIntersectionObserver"===e?my.createIntersectionObserver(t):void 0:void 0}})),t.prototype.__init_provide=Se,t.prototype.__init_injections=we,t.prototype.__call_hook=function(t,e){var n=this;pt();var i,a=n.$options[t],r=t+" hook";if(a)for(var o=0,s=a.length;o<s;o++)i=Yt(a[o],n,e?[e]:null,n,r);return n._hasHookEvent&&n.$emit("hook:"+t,e),ft(),i},t.prototype.__set_model=function(t,e,n,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(n=n.trim()),-1!==i.indexOf("number")&&(n=this._n(n))),t||(t=this),t[e]=n},t.prototype.__set_sync=function(t,e,n){t||(t=this),t[e]=n},t.prototype.__get_orig=function(t){return u(t)&&t["$orig"]||t},t.prototype.__get_value=function(t,e){return Qi(e||this,t)},t.prototype.__get_class=function(t,e){return qi(e,t)},t.prototype.__get_style=function(t,e){if(!t&&!e)return"";var n=Ki(t),i=e?C(e,n):n;return Object.keys(i).map((function(t){return P(t)+":"+i[t]})).join(";")},t.prototype.__map=function(t,e){var n,i,a,r,o;if(Array.isArray(t)){for(n=new Array(t.length),i=0,a=t.length;i<a;i++)n[i]=e(t[i],i);return n}if(l(t)){for(r=Object.keys(t),n=Object.create(null),i=0,a=r.length;i<a;i++)o=r[i],n[o]=e(t[o],o,i);return n}return[]}}var ta=["onLaunch","onShow","onHide","onUniNViewMessage","onError","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function ea(t){var e=t.extend;t.extend=function(t){t=t||{};var n=t.methods;return n&&Object.keys(n).forEach((function(e){-1!==ta.indexOf(e)&&(t[e]=n[e],delete n[e])})),e.call(this,t)};var n=t.config.optionMergeStrategies,i=n.created;ta.forEach((function(t){n[t]=i})),t.prototype.__lifecycle_hooks__=ta}gi.prototype.__patch__=Ni,gi.prototype.$mount=function(t,e){return Hi(this,t,e)},ea(gi),Zi(gi),e["default"]=gi}.call(this,n("c8ba"))},"74ef":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={pages:{"pages/index/index":{navigationStyle:"custom"},"pages/block/block":{navigationBarTitleText:"",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/examinejingban/examinejingban":{navigationBarTitleText:"经办人审核",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/concat/concat":{navigationBarTitleText:"合同和发票",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/reviewreport/reviewreport":{navigationBarTitleText:"评审报告",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/seequestion/seequestion":{navigationBarTitleText:"查看问题",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/download/download":{navigationBarTitleText:"下载",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/question/question":{navigationBarTitleText:"问题往来",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/fujian/fujian":{navigationBarTitleText:"附件管理",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/seesongshen/seesongshen":{navigationBarTitleText:"项目送审资料",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/projectziliao/projectziliao":{navigationBarTitleText:"项目资料",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/budgetshenhe/budgetshenhe":{navigationBarTitleText:"预算项目审核",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/daiban/daiban":{navigationBarTitleText:"投资项目评审管理平台",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/yinsi/yinsi":{navigationBarTitleText:"隐私协议",navigationBarTextStyle:"black"},"pages/zhugauntaidetail/zhugauntaidetail":{navigationBarTitleText:"项目组台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zhuanjiahuidetail/zhuanjiahuidetail":{navigationBarTitleText:"专家分类台账明细",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/xiangmuleixinghuidetail/xiangmuleixinghuidetail":{navigationBarTitleText:"项目类型分类台账明细",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/songshenjinedetail/songshenjinedetail":{navigationBarTitleText:"送审金额分类台账明细",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/shenjianhuidetail/shenjianhuidetail":{navigationBarTitleText:"审减率分类台账明细",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zixundanweihuitail/zixundanweihuidetail":{navigationBarTitleText:"咨询单位分类台账明细",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zhuanjiahui/zhuanjiahui":{navigationBarTitleText:"专家分类台帐",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/xiangmuleixinghui/xiangmuleixinghui":{navigationBarTitleText:"项目类型分类汇总",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/songshenjine/songshenjine":{navigationBarTitleText:"送审金额分类汇总",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/shenjianhuizong/shenjianhuizong":{navigationBarTitleText:"审减率分类汇总",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/xiangmuzutaizhang/xiangmuzutaizhang":{navigationBarTitleText:"项目组台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zhuguantaizhang/zhugauntaizhang":{navigationBarTitleText:"主管部门台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/yusuantaidetail/yusuantaidetail":{navigationBarTitleText:"预算项目台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/yusuantaizhang/yusuantaizhang":{navigationBarTitleText:"预算项目台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/danweitaizhang/danweitaizhang":{navigationBarTitleText:"咨询单位分类台帐",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/xiangmutaizhang/xiangmutaizhang":{navigationBarTitleText:"项目台帐",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zixundanweihuizong/zixundanweihuizong":{navigationBarTitleText:"咨询单位分类台帐",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/tubiao/tubiao":{navigationBarTitleText:"项目趋势台帐",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/xiangmuprogress/xiangmuprogress":{navigationBarTitleText:"项目在审过程表",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/jieduantaizhang/jieduantaizhang":{navigationBarTitleText:"项目组台账",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zhuanjiafenpeisec/zhuanjiafenpeisec":{navigationBarTitleText:"专家分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zhuanjiafenpei/zhuanjiafenpei":{navigationBarTitleText:"专家分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zixundanweifen/zixundanweifen":{navigationBarTitleText:"咨询单位分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zixunfenpei/zixunfenpei":{navigationBarTitleText:"项目组分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/danweivote/danweivote":{navigationBarTitleText:"咨询单位投票日志",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/danweizixun/danweizixun":{navigationBarTitleText:"咨询单位分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/zixunfen/zixunfen":{navigationBarTitleText:"项目组分配",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/taizhang/taizhang":{navigationBarTitleText:"投资项目评审管理平台",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/guocheng/guocheng":{navigationBarTitleText:"投资项目评审管理平台",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"},"pages/renwu/renwu":{navigationBarTitleText:"投资项目评审管理平台",navigationBarBackgroundColor:"#0093FF",navigationBarTextStyle:"white"}},globalStyle:{navigationBarTextStyle:"white",navigationBarTitleText:"大足投资项目评审管理平台",navigationBarBackgroundColor:"#0093FF",backgroundColor:"#F8F8F8"}};e.default=i},8189:function(t){t.exports={_from:"@dcloudio/uni-stat@next",_id:"@dcloudio/uni-stat@2.0.0-261120200409001",_inBundle:!1,_integrity:"sha512-iM1vsCzUEg80lCM7rSAkh+28ahjS9zQgiGsEoHxawCD9s7rTFnSRIaOuc7WHeQt6EclGUUIrMccYHXsLsNAXZg==",_location:"/@dcloudio/uni-stat",_phantomChildren:{},_requested:{type:"tag",registry:!0,raw:"@dcloudio/uni-stat@next",name:"@dcloudio/uni-stat",escapedName:"@dcloudio%2funi-stat",scope:"@dcloudio",rawSpec:"next",saveSpec:null,fetchSpec:"next"},_requiredBy:["#USER","/","/@dcloudio/vue-cli-plugin-uni"],_resolved:"https://registry.npmjs.org/@dcloudio/uni-stat/-/uni-stat-2.0.0-261120200409001.tgz",_shasum:"e9daeef120f133bf3d4ca0505f5b2abed0e874a7",_spec:"@dcloudio/uni-stat@next",_where:"/Users/guoshengqiang/Documents/dcloud-plugins/release/uniapp-cli",author:"",bugs:{url:"https://github.com/dcloudio/uni-app/issues"},bundleDependencies:!1,deprecated:!1,description:"",devDependencies:{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5",eslint:"^6.1.0",rollup:"^1.19.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-clear":"^2.0.7","rollup-plugin-commonjs":"^10.0.2","rollup-plugin-copy":"^3.1.0","rollup-plugin-eslint":"^7.0.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-replace":"^2.2.0","rollup-plugin-uglify":"^6.0.2"},files:["dist","package.json","LICENSE"],gitHead:"ff0877f516c1cc986cf2d7eae2bf5030c58050f9",homepage:"https://github.com/dcloudio/uni-app#readme",license:"Apache-2.0",main:"dist/index.js",name:"@dcloudio/uni-stat",repository:{type:"git",url:"git+https://github.com/dcloudio/uni-app.git",directory:"packages/uni-stat"},scripts:{build:"NODE_ENV=production rollup -c rollup.config.js",dev:"NODE_ENV=development rollup -w -c rollup.config.js"},version:"2.0.0-261120200409001"}},"921b":function(t,e,n){"use strict";(function(t){var e=n("8189");function i(t){return function(){var e,n=s(t);if(o()){var i=s(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)}}function a(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?r(t):e}function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}var f=e.version,d="https://tongji.dcloud.io/uni/stat",g="https://tongji.dcloud.io/uni/stat.gif",v=1800,y=300,x=10,m="__DC_STAT_UUID",_="__DC_UUID_VALUE";function b(){var e="";if("n"===T()){try{e=plus.runtime.getDCloudId()}catch(n){e=""}return e}try{e=t.getStorageSync(m)}catch(n){e=_}if(!e){e=Date.now()+""+Math.floor(1e7*Math.random());try{t.setStorageSync(m,e)}catch(n){t.setStorageSync(m,_)}}return e}var S=function(t){var e=Object.keys(t),n=e.sort(),i={},a="";for(var r in n)i[n[r]]=t[n[r]],a+=n[r]+"="+t[n[r]]+"&";return{sign:"",options:a.substr(0,a.length-1)}},w=function(t){var e="";for(var n in t)e+=n+"="+t[n]+"&";return e.substr(0,e.length-1)},A=function(){return parseInt((new Date).getTime()/1e3)},T=function(){var t={"app-plus":"n",h5:"h5","mp-weixin":"wx","mp-alipay":"ali","mp-baidu":"bd","mp-toutiao":"tt","mp-qq":"qq"};return t["mp-weixin"]},P=function(){var e="";return"wx"!==T()&&"qq"!==T()||t.canIUse("getAccountInfoSync")&&(e=t.getAccountInfoSync().miniProgram.appId||""),e},k=function(){return"n"===T()?plus.runtime.version:""},D=function(){var t=T(),e="";return"n"===t&&(e=plus.runtime.channel),e},F=function(e){var n=T(),i="";return e||("wx"===n&&(i=t.getLaunchOptionsSync().scene),i)},O="First__Visit__Time",C="Last__Visit__Time",$=function(){var e=t.getStorageSync(O),n=0;return e?n=e:(n=A(),t.setStorageSync(O,n),t.removeStorageSync(C)),n},M=function(){var e=t.getStorageSync(C),n=0;return n=e||"",t.setStorageSync(C,A()),n},R="__page__residence__time",L=0,B=0,j=function(){return L=A(),"n"===T()&&t.setStorageSync(R,A()),L},I=function(){return B=A(),"n"===T()&&(L=t.getStorageSync(R)),B-L},E="Total__Visit__Count",z=function(){var e=t.getStorageSync(E),n=1;return e&&(n=e,n++),t.setStorageSync(E,n),n},N=function(t){var e={};for(var n in t)e[n]=encodeURIComponent(t[n]);return e},W=0,H=0,q=function(){var t=(new Date).getTime();return W=t,H=0,t},U=function(){var t=(new Date).getTime();return H=t,t},V=function(t){var e=0;if(0!==W&&(e=H-W),e=parseInt(e/1e3),e=e<1?1:e,"app"===t){var n=e>y;return{residenceTime:e,overtime:n}}if("page"===t){var i=e>v;return{residenceTime:e,overtime:i}}return{residenceTime:e}},X=function(){var t=getCurrentPages(),e=t[t.length-1],n=e.$vm;return"bd"===T()?n.$mp&&n.$mp.page.is:n.$scope&&n.$scope.route||n.$mp&&n.$mp.page.route},G=function(t){var e=getCurrentPages(),n=e[e.length-1],i=n.$vm,a=t._query,r=a&&"{}"!==JSON.stringify(a)?"?"+JSON.stringify(a):"";return t._query="","bd"===T()?i.$mp&&i.$mp.page.is+r:i.$scope&&i.$scope.route+r||i.$mp&&i.$mp.page.route+r},J=function(t){return!!("page"===t.mpType||t.$mp&&"page"===t.$mp.mpType||"page"===t.$options.mpType)},K=function(t,e){return t?"string"!==typeof t?(console.error("uni.report [eventName] 参数类型错误,只能为 String 类型"),!0):t.length>255?(console.error("uni.report [eventName] 参数长度不能大于 255"),!0):"string"!==typeof e&&"object"!==typeof e?(console.error("uni.report [options] 参数类型错误,只能为 String 或 Object 类型"),!0):"string"===typeof e&&e.length>255?(console.error("uni.report [options] 参数长度不能大于 255"),!0):"title"===t&&"string"!==typeof e?(console.error("uni.report [eventName] 参数为 title 时,[options] 参数只能为 String 类型"),!0):void 0:(console.error("uni.report 缺少 [eventName] 参数"),!0)},Y=n("74ef").default,Q=n("0cd2").default||n("0cd2"),Z=t.getSystemInfoSync(),tt=function(){function e(){u(this,e),this.self="",this._retry=0,this._platform="",this._query={},this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._operatingTime=0,this._reportingRequestData={1:[],11:[]},this.__prevent_triggering=!1,this.__licationHide=!1,this.__licationShow=!1,this._lastPageRoute="",this.statData={uuid:b(),ut:T(),mpn:P(),ak:Q.appid,usv:f,v:k(),ch:D(),cn:"",pn:"",ct:"",t:A(),tt:"",p:"android"===Z.platform?"a":"i",brand:Z.brand||"",md:Z.model,sv:Z.system.replace(/(Android|iOS)\s/,""),mpsdk:Z.SDKVersion||"",mpv:Z.version||"",lang:Z.language,pr:Z.pixelRatio,ww:Z.windowWidth,wh:Z.windowHeight,sw:Z.screenWidth,sh:Z.screenHeight}}return p(e,[{key:"_applicationShow",value:function(){if(this.__licationHide){U();var t=V("app");if(t.overtime){var e={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(e)}this.__licationHide=!1}}},{key:"_applicationHide",value:function(t,e){this.__licationHide=!0,U();var n=V();q();var i=G(this);this._sendHideRequest({urlref:i,urlref_ts:n.residenceTime},e)}},{key:"_pageShow",value:function(){var t=G(this),e=X();if(this._navigationBarTitle.config=Y&&Y.pages[e]&&Y.pages[e].titleNView&&Y.pages[e].titleNView.titleText||Y&&Y.pages[e]&&Y.pages[e].navigationBarTitleText||"",this.__licationShow)return q(),this.__licationShow=!1,void(this._lastPageRoute=t);U(),this._lastPageRoute=t;var n=V("page");if(n.overtime){var i={path:this._lastPageRoute,scene:this.statData.sc};this._sendReportRequest(i)}q()}},{key:"_pageHide",value:function(){if(!this.__licationHide){U();var t=V("page");return this._sendPageRequest({url:this._lastPageRoute,urlref:this._lastPageRoute,urlref_ts:t.residenceTime}),void(this._navigationBarTitle={config:"",page:"",report:"",lt:""})}}},{key:"_login",value:function(){this._sendEventRequest({key:"login"},0)}},{key:"_share",value:function(){this._sendEventRequest({key:"share"},0)}},{key:"_payment",value:function(t){this._sendEventRequest({key:t},0)}},{key:"_sendReportRequest",value:function(t){this._navigationBarTitle.lt="1";var e=t.query&&"{}"!==JSON.stringify(t.query)?"?"+JSON.stringify(t.query):"";this.statData.lt="1",this.statData.url=t.path+e||"",this.statData.t=A(),this.statData.sc=F(t.scene),this.statData.fvts=$(),this.statData.lvts=M(),this.statData.tvc=z(),"n"===T()?this.getProperty():this.getNetworkInfo()}},{key:"_sendPageRequest",value:function(t){var e=t.url,n=t.urlref,i=t.urlref_ts;this._navigationBarTitle.lt="11";var a={ak:this.statData.ak,uuid:this.statData.uuid,lt:"11",ut:this.statData.ut,url:e,tt:this.statData.tt,urlref:n,urlref_ts:i,ch:this.statData.ch,usv:this.statData.usv,t:A(),p:this.statData.p};this.request(a)}},{key:"_sendHideRequest",value:function(t,e){var n=t.urlref,i=t.urlref_ts,a={ak:this.statData.ak,uuid:this.statData.uuid,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:i,ch:this.statData.ch,usv:this.statData.usv,t:A(),p:this.statData.p};this.request(a,e)}},{key:"_sendEventRequest",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=void 0===e?"":e,i=t.value,a=void 0===i?"":i,r=this._lastPageRoute,o={ak:this.statData.ak,uuid:this.statData.uuid,lt:"21",ut:this.statData.ut,url:r,ch:this.statData.ch,e_n:n,e_v:"object"===typeof a?JSON.stringify(a):a.toString(),usv:this.statData.usv,t:A(),p:this.statData.p};this.request(o)}},{key:"getNetworkInfo",value:function(){var e=this;t.getNetworkType({success:function(t){e.statData.net=t.networkType,e.getLocation()}})}},{key:"getProperty",value:function(){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(e){t.statData.v=e.version||"",t.getNetworkInfo()}))}},{key:"getLocation",value:function(){var e=this;Q.getLocation?t.getLocation({type:"wgs84",geocode:!0,success:function(t){t.address&&(e.statData.cn=t.address.country,e.statData.pn=t.address.province,e.statData.ct=t.address.city),e.statData.lat=t.latitude,e.statData.lng=t.longitude,e.request(e.statData)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData))}},{key:"request",value:function(e,n){var i=this,a=A(),r=this._navigationBarTitle;e.ttn=r.page,e.ttpj=r.config,e.ttc=r.report;var o=this._reportingRequestData;if("n"===T()&&(o=t.getStorageSync("__UNI__STAT__DATA")||{}),o[e.lt]||(o[e.lt]=[]),o[e.lt].push(e),"n"===T()&&t.setStorageSync("__UNI__STAT__DATA",o),!(I()<x)||n){var s=this._reportingRequestData;"n"===T()&&(s=t.getStorageSync("__UNI__STAT__DATA")),j();var l=[],c=[],u=[],h=function(t){var e=s[t];e.forEach((function(e){var n=w(e);0===t?l.push(n):3===t?u.push(n):c.push(n)}))};for(var p in s)h(p);l.push.apply(l,c.concat(u));var d={usv:f,t:a,requests:JSON.stringify(l)};this._reportingRequestData={},"n"===T()&&t.removeStorageSync("__UNI__STAT__DATA"),"h5"!==e.ut?"n"!==T()||"a"!==this.statData.p?this._sendRequest(d):setTimeout((function(){i._sendRequest(d)}),200):this.imageRequest(d)}}},{key:"_sendRequest",value:function(e){var n=this;t.request({url:d,method:"POST",data:e,success:function(){},fail:function(t){++n._retry<3&&setTimeout((function(){n._sendRequest(e)}),1e3)}})}},{key:"imageRequest",value:function(t){var e=new Image,n=S(N(t)).options;e.src=g+"?"+n}},{key:"sendEvent",value:function(t,e){K(t,e)||("title"!==t?this._sendEventRequest({key:t,value:"object"===typeof e?JSON.stringify(e):e},1):this._navigationBarTitle.report=e)}}]),e}(),et=function(e){l(a,e);var n=i(a);function a(){var e;return u(this,a),e=n.call(this),e.instance=null,"function"===typeof t.addInterceptor&&(e.addInterceptorInit(),e.interceptLogin(),e.interceptShare(!0),e.interceptRequestPayment()),e}return p(a,null,[{key:"getInstance",value:function(){return this.instance||(this.instance=new a),this.instance}}]),p(a,[{key:"addInterceptorInit",value:function(){var e=this;t.addInterceptor("setNavigationBarTitle",{invoke:function(t){e._navigationBarTitle.page=t.title}})}},{key:"interceptLogin",value:function(){var e=this;t.addInterceptor("login",{complete:function(){e._login()}})}},{key:"interceptShare",value:function(e){var n=this;e?t.addInterceptor("share",{success:function(){n._share()},fail:function(){n._share()}}):n._share()}},{key:"interceptRequestPayment",value:function(){var e=this;t.addInterceptor("requestPayment",{success:function(){e._payment("pay_success")},fail:function(){e._payment("pay_fail")}})}},{key:"report",value:function(t,e){this.self=e,j(),this.__licationShow=!0,this._sendReportRequest(t,!0)}},{key:"load",value:function(t,e){if(!e.$scope&&!e.$mp){var n=getCurrentPages();e.$scope=n[n.length-1]}this.self=e,this._query=t}},{key:"show",value:function(t){this.self=t,J(t)?this._pageShow(t):this._applicationShow(t)}},{key:"ready",value:function(t){}},{key:"hide",value:function(t){this.self=t,J(t)?this._pageHide(t):this._applicationHide(t,!0)}},{key:"error",value:function(t){this._platform;var e="";e=t.message?t.stack:JSON.stringify(t);var n={ak:this.statData.ak,uuid:this.statData.uuid,lt:"31",ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:e,usv:this.statData.usv,t:A(),p:this.statData.p};this.request(n)}}]),a}(tt),nt=et.getInstance(),it=!1,at={onLaunch:function(t){nt.report(t,this)},onReady:function(){nt.ready(this)},onLoad:function(t){if(nt.load(t,this),this.$scope&&this.$scope.onShareAppMessage){var e=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(t){return nt.interceptShare(!1),e.call(this,t)}}},onShow:function(){it=!1,nt.show(this)},onHide:function(){it=!0,nt.hide(this)},onUnload:function(){it?it=!1:nt.hide(this)},onError:function(t){nt.error(t)}};function rt(){var e=n("66fd");(e.default||e).mixin(at),t.report=function(t,e){nt.sendEvent(t,e)}}rt()}).call(this,n("543d")["default"])},a237:function(t,e){},b047:function(t,e,n){"use strict";(function(e){var n={yAxisWidth:15,yAxisSplit:5,xAxisHeight:15,xAxisLineHeight:15,legendHeight:15,yAxisTitleWidth:15,padding:[10,10,10,10],pixelRatio:1,rotate:!1,columePadding:3,fontSize:13,dataPointShape:["circle","circle","circle","circle"],colors:["#1890ff","#2fc25b","#facc14","#f04864","#8543e0","#90ed7d"],pieChartLinePadding:15,pieChartTextPadding:5,xAxisTextPadding:3,titleColor:"#333333",titleFontSize:20,subtitleColor:"#999999",subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:15,gaugeLabelTextMargin:15},i=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(!n||n.length<=0)return t;function a(t,e){for(var n in e)t[n]=t[n]&&"[object Object]"===t[n].toString()?a(t[n],e[n]):t[n]=e[n];return t}return n.forEach((function(e){t=a(t,e)})),t},a={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var n=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!n}};function r(t,e){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=t.replace(n,(function(t,e,n,i){return e+e+n+n+i+i})),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),r=parseInt(a[1],16),o=parseInt(a[2],16),s=parseInt(a[3],16);return"rgba("+r+","+o+","+s+","+e+")"}function o(t,e,n){if(isNaN(t))throw new Error("[uCharts] unvalid series data!");n=n||10,e=e||"upper";var i=1;while(n<1)n*=10,i*=10;t="upper"===e?Math.ceil(t*i):Math.floor(t*i);while(t%n!==0)"upper"===e?t++:t--;return t/i}function s(t,e,n,i){for(var a=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:n[r]},s=0,l=i.length;s<l;s++)if(s<t[r])o.data.push(null);else{for(var c=0,u=0;u<t[r];u++)c+=i[s-u][1];o.data.push(+(c/t[r]).toFixed(3))}a.push(o)}return a}function l(t,e,n,i,a){var r=a.width-a.area[1]-a.area[3],o=n.eachSpacing*(a.chartData.xAxisData.xAxisPoints.length-1),s=e;return e>=0?(s=0,t.event.trigger("scrollLeft")):Math.abs(e)>=o-r&&(s=r-o,t.event.trigger("scrollRight")),s}function c(t,e,n){function i(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=i(t),e=i(e),n=i(n),e>n&&(n+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=n}function u(t,e,n){var i=t,a=n-e,r=i+(n-a-i)/Math.sqrt(2);r*=-1;var o=(n-a)*(Math.sqrt(2)-1)-(n-a-i)/Math.sqrt(2);return{transX:r,transY:o}}function h(t,e){function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}var i=.2,a=.2,r=null,o=null,s=null,l=null;if(e<1?(r=t[0].x+(t[1].x-t[0].x)*i,o=t[0].y+(t[1].y-t[0].y)*i):(r=t[e].x+(t[e+1].x-t[e-1].x)*i,o=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var c=t.length-1;s=t[c].x-(t[c].x-t[c-1].x)*a,l=t[c].y-(t[c].y-t[c-1].y)*a}else s=t[e+1].x-(t[e+2].x-t[e].x)*a,l=t[e+1].y-(t[e+2].y-t[e].y)*a;return n(t,e+1)&&(l=t[e+1].y),n(t,e)&&(o=t[e].y),(o>=Math.max(t[e].y,t[e+1].y)||o<=Math.min(t[e].y,t[e+1].y))&&(o=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),{ctrA:{x:r,y:o},ctrB:{x:s,y:l}}}function p(t,e,n){return{x:n.x+t,y:n.y-e}}function f(t,e){if(e)while(a.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0?t.start.y++:t.start.y>0?t.start.y++:t.start.y--;return t}function d(t,e,n){var i=0;return t.map((function(t){if(t.color||(t.color=n.colors[i],i=(i+1)%n.colors.length),t.index||(t.index=0),t.type||(t.type=e.type),"undefined"==typeof t.show&&(t.show=!0),t.type||(t.type=e.type),t.pointShape||(t.pointShape="circle"),!t.legendShape)switch(t.type){case"line":t.legendShape="line";break;case"column":t.legendShape="rect";break;case"area":t.legendShape="triangle";break;default:t.legendShape="circle"}return t}))}function g(t,e){var n=0,i=e-t;return n=i>=1e4?1e3:i>=1e3?100:i>=100?10:i>=10?5:i>=1?1:i>=.1?.1:i>=.01?.01:i>=.001?.001:i>=1e-4?1e-4:i>=1e-5?1e-5:1e-6,{minRange:o(t,"lower",n),maxRange:o(e,"upper",n)}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.fontSize;t=String(t);t=t.split("");for(var i=0,a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?i+=7:/[0-9]/.test(r)?i+=5.5:/\./.test(r)?i+=2.7:/-/.test(r)?i+=3.25:/[\u4e00-\u9fa5]/.test(r)?i+=10:/\(|\)/.test(r)?i+=3.73:/\s/.test(r)?i+=2.5:/%/.test(r)?i+=8:i+=10}return i*e/10}function y(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function x(t,e){for(var n=new Array(e),i=0;i<n.length;i++)n[i]=0;for(var a=0;a<t.length;a++)for(i=0;i<n.length;i++)n[i]+=t[a].data[i];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(n)}),[])}function m(t,e,n){var i,a;return t.clientX?e.rotate?(a=e.height-t.clientX*e.pixelRatio,i=(t.pageY-n.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):(i=t.clientX*e.pixelRatio,a=(t.pageY-n.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):e.rotate?(a=e.height-t.x*e.pixelRatio,i=t.y*e.pixelRatio):(i=t.x*e.pixelRatio,a=t.y*e.pixelRatio),{x:i,y:a}}function _(t,e){for(var n=[],i=0;i<t.length;i++){var a=t[i];if(null!==a.data[e]&&"undefined"!==typeof a.data[e]&&a.show){var r={};r.color=a.color,r.type=a.type,r.style=a.style,r.pointShape=a.pointShape,r.disableLegend=a.disableLegend,r.name=a.name,r.show=a.show,r.data=a.format?a.format(a.data[e]):a.data[e],n.push(r)}}return n}function b(t){var e=t.map((function(t){return v(t)}));return Math.max.apply(null,e)}function S(t){for(var e=2*Math.PI/t,n=[],i=0;i<t;i++)n.push(e*i);return n.map((function(t){return-1*t+Math.PI/2}))}function w(t,e,n,i){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){var e=[];return e=i||t.data,{text:a.format?a.format(t,e[n]):t.name+": "+t.data,color:t.color}})),o=[],s={x:0,y:0},l=0;l<e.length;l++){var c=e[l];"undefined"!==typeof c[n]&&null!==c[n]&&o.push(c[n])}for(var u=0;u<o.length;u++){var h=o[u];s.x=Math.round(h.x),s.y+=h.y}return s.y/=o.length,{textList:r,offset:s}}function A(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){return{text:a.format?a.format(t,i[n]):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));r=r.filter((function(t){if(!0!==t.disableLegend)return t}));for(var o=[],s={x:0,y:0},l=0;l<e.length;l++){var c=e[l];"undefined"!==typeof c[n]&&null!==c[n]&&o.push(c[n])}for(var u=0;u<o.length;u++){var h=o[u];s.x=Math.round(h.x),s.y+=h.y}return s.y/=o.length,{textList:r,offset:s}}function T(t,e,n,i,a,r){arguments.length>6&&void 0!==arguments[6]&&arguments[6];var o=r.color.upFill,s=r.color.downFill,l=[o,o,s,o],c=[],u={text:a[i],color:null};c.push(u),e.map((function(e){0==i&&e.data[1]-e.data[0]<0?l[1]=s:(e.data[0]<t[i-1][1]&&(l[0]=s),e.data[1]<e.data[0]&&(l[1]=s),e.data[2]>t[i-1][1]&&(l[2]=o),e.data[3]<t[i-1][1]&&(l[3]=s));var n={text:"开盘:"+e.data[0],color:l[0]},a={text:"收盘:"+e.data[1],color:l[1]},r={text:"最低:"+e.data[2],color:l[2]},u={text:"最高:"+e.data[3],color:l[3]};c.push(n,a,r,u)}));for(var h=[],p={x:0,y:0},f=0;f<n.length;f++){var d=n[f];"undefined"!==typeof d[i]&&null!==d[i]&&h.push(d[i])}return p.x=Math.round(h[0][0].x),{textList:c,offset:p}}function P(t){for(var e=[],n=0;n<t.length;n++)1==t[n].show&&e.push(t[n]);return e}function k(t,e,n,i){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=-1,o=0,s=[],l=0;l<e[0].length;l++)s.push(e[0][l].x);return"line"!=n.type&&"area"!=n.type||"justify"!=n.xAxis.boundaryGap||(o=n.chartData.eachSpacing/2),n.categories||(o=0),O(t,n,i)&&s.forEach((function(e,n){t.x+a+o>e&&(r=n)})),r}function D(t,e,n){var i=-1;if(F(t,e.area)){for(var a=e.points,r=-1,o=0,s=a.length;o<s;o++)for(var l=a[o],c=0;c<l.length;c++){r+=1;var u=l[c]["area"];if(t.x>u[0]&&t.x<u[2]&&t.y>u[1]&&t.y<u[3]){i=r;break}}return i}return i}function F(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}function O(t,e,n){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function C(t,e,n){var i=2*Math.PI/n,a=-1;if(B(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var n=r(t-i/2),s=r(t+i/2);s<n&&(s+=2*Math.PI),(o>=n&&o<=s||o+2*Math.PI>=n&&o+2*Math.PI<=s)&&(a=e)}))}return a}function $(t,e){for(var n=-1,i=0,a=e.series.length;i<a;i++){var r=e.series[i];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){n=i;break}}return n}function M(t,e){for(var n=-1,i=0,a=e.length;i<a;i++){var r=e[i];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){n=i;break}}return n}function R(t,e){for(var n=-1,i=e.chartData.mapData,a=e.series,r=It(t.y,t.x,i.bounds,i.scale,i.xoffset,i.yoffset),o=[r.x,r.y],s=0,l=a.length;s<l;s++){var c=a[s].geometry.coordinates;if(zt(o,c)){n=s;break}}return n}function L(t,e){var n=-1;if(B(t,e.center,e.radius)){var i=Math.atan2(e.center.y-t.y,t.x-e.center.x);i=-i;for(var a=0,r=e.series.length;a<r;a++){var o=e.series[a];if(c(i,o._start_,o._start_+2*o._proportion_*Math.PI)){n=a;break}}}return n}function B(t,e,n){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(n,2)}function j(t){var e=[],n=[];return t.forEach((function(t,i){null!==t?n.push(t):(n.length&&e.push(n),n=[])})),n.length&&e.push(n),e}function I(t,e,n,i){var a={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return i.legendData=a,a;var r=e.legend.padding,o=e.legend.margin,s=e.legend.fontSize,l=15*e.pixelRatio,c=5*e.pixelRatio,u=Math.max(e.legend.lineHeight*e.pixelRatio,s);if("top"==e.legend.position||"bottom"==e.legend.position){for(var h=[],p=0,f=[],d=[],g=0;g<t.length;g++){var y=t[g],x=l+c+v(y.name||"undefined",s)+e.legend.itemGap;p+x>e.width-e.padding[1]-e.padding[3]?(h.push(d),f.push(p-e.legend.itemGap),p=x,d=[y]):(p+=x,d.push(y))}if(d.length){h.push(d),f.push(p-e.legend.itemGap),a.widthArr=f;var m=Math.max.apply(null,f);switch(e.legend.float){case"left":a.area.start.x=e.padding[3],a.area.end.x=e.padding[3]+2*r;break;case"right":a.area.start.x=e.width-e.padding[1]-m-2*r,a.area.end.x=e.width-e.padding[1];break;default:a.area.start.x=(e.width-m)/2-r,a.area.end.x=(e.width+m)/2+r}a.area.width=m+2*r,a.area.wholeWidth=m+2*r,a.area.height=h.length*u+2*r,a.area.wholeHeight=h.length*u+2*r+2*o,a.points=h}}else{var _=t.length,b=e.height-e.padding[0]-e.padding[2]-2*o-2*r,S=Math.min(Math.floor(b/u),_);switch(a.area.height=S*u+2*r,a.area.wholeHeight=S*u+2*r,e.legend.float){case"top":a.area.start.y=e.padding[0]+o,a.area.end.y=e.padding[0]+o+a.area.height;break;case"bottom":a.area.start.y=e.height-e.padding[2]-o-a.area.height,a.area.end.y=e.height-e.padding[2]-o;break;default:a.area.start.y=(e.height-a.area.height)/2,a.area.end.y=(e.height+a.area.height)/2}for(var w=_%S===0?_/S:Math.floor(_/S+1),A=[],T=0;T<w;T++){var P=t.slice(T*S,T*S+S);A.push(P)}if(a.points=A,A.length){for(var k=0;k<A.length;k++){for(var D=A[k],F=0,O=0;O<D.length;O++){var C=l+c+v(D[O].name||"undefined",s)+e.legend.itemGap;C>F&&(F=C)}a.widthArr.push(F),a.heightArr.push(D.length*u+2*r)}for(var $=0,M=0;M<a.widthArr.length;M++)$+=a.widthArr[M];a.area.width=$-e.legend.itemGap+2*r,a.area.wholeWidth=a.area.width+r}}switch(e.legend.position){case"top":a.area.start.y=e.padding[0]+o,a.area.end.y=e.padding[0]+o+a.area.height;break;case"bottom":a.area.start.y=e.height-e.padding[2]-a.area.height-o,a.area.end.y=e.height-e.padding[2]-o;break;case"left":a.area.start.x=e.padding[3],a.area.end.x=e.padding[3]+a.area.width;break;case"right":a.area.start.x=e.width-e.padding[1]-a.area.width,a.area.end.x=e.width-e.padding[1];break}return i.legendData=a,a}function E(t,e,n,i){var a={angle:0,xAxisHeight:n.xAxisHeight},r=t.map((function(t){return v(t,e.xAxis.fontSize||n.fontSize)})),o=Math.max.apply(this,r);return 1==e.xAxis.rotateLabel&&o+2*n.xAxisTextPadding>i&&(a.angle=45*Math.PI/180,a.xAxisHeight=2*n.xAxisTextPadding+o*Math.sin(a.angle)),a}function z(t,e,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,a=y(t),r=[];a=a.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===typeof t?t.constructor==Array?"candle"==e.type?t.map((function(t){r.push(t)})):r.push(t[0]):r.push(t.value):r.push(t)}));var o=0,s=0;if(r.length>0&&(o=Math.min.apply(this,r),s=Math.max.apply(this,r)),i>-1?("number"===typeof e.xAxis.data[i].min&&(o=Math.min(e.xAxis.data[i].min,o)),"number"===typeof e.xAxis.data[i].max&&(s=Math.max(e.xAxis.data[i].max,s))):("number"===typeof e.xAxis.min&&(o=Math.min(e.xAxis.min,o)),"number"===typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),o===s){var l=s||10;s+=l}for(var c=g(o,s),u=c.minRange,h=c.maxRange,p=[],f=(h-u)/e.xAxis.splitNumber,d=0;d<=e.xAxis.splitNumber;d++)p.push(u+f*d);return p}function N(t,e,n){var i={angle:0,xAxisHeight:n.xAxisHeight};i.ranges=z(t,e,n),i.rangesFormat=i.ranges.map((function(t){return t=e.xAxis.format?e.xAxis.format(t):a.toFixed(t,2),t}));var r=i.ranges.map((function(t){return t=a.toFixed(t,2),t=e.xAxis.format?e.xAxis.format(Number(t)):t,t}));i=Object.assign(i,Z(r,e,n));var o=i.eachSpacing,s=r.map((function(t){return v(t)})),l=Math.max.apply(this,s);return l+2*n.xAxisTextPadding>o&&(i.angle=45*Math.PI/180,i.xAxisHeight=2*n.xAxisTextPadding+l*Math.sin(i.angle)),!0===e.xAxis.disabled&&(i.xAxisHeight=0),i}function W(t,e,n,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=a.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,y(i))),l=[],c=function(a){var o=i[a],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(i,a){var o={};o.angle=t[a],o.proportion=i/s,o.position=p(n*o.proportion*r*Math.cos(o.angle),n*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),l.push(c)},u=0;u<i.length;u++)c(u);return l}function H(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0,a=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,i+=o.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===i?1/t.length*n:l.data/i*n,l._radius_=e}for(var c=0;c<t.length;c++){var u=t[c];u._start_=a,a+=2*u._proportion_*Math.PI}return t}function q(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t=t.sort((function(t,e){return parseInt(e.data)-parseInt(t.data)}));for(var i=0;i<t.length;i++)t[i].radius=t[i].data/t[0].data*e*n,t[i]._proportion_=t[i].data/t[0].data;return t.reverse()}function U(t,e,n,i){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,r+=c.data,s.push(c.data)}for(var u=Math.min.apply(null,s),h=Math.max.apply(null,s),p=i-n,f=0;f<t.length;f++){var d=t[f];d.data=null===d.data?0:d.data,0===r||"area"==e?(d._proportion_=d.data/r*a,d._rose_proportion_=1/t.length*a):(d._proportion_=d.data/r*a,d._rose_proportion_=d.data/r*a),d._radius_=n+p*((d.data-u)/(h-u))}for(var g=0;g<t.length;g++){var v=t[g];v._start_=o,o+=2*v._rose_proportion_*Math.PI}return t}function V(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var i=0;i<t.length;i++){var a=t[i];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*n+e.startAngle,a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function X(t,e,n){for(var i=e-n+1,a=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=a,t[r]._endAngle_=i*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),a=t[r]._endAngle_;return t}function G(t,e,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0;a<t.length;a++){var r=t[a];if(r.data=null===r.data?0:r.data,"auto"==n.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=n.pointer.color;var s=n.startAngle-n.endAngle+1;r._endAngle_=s*r.data+n.startAngle,r._oldAngle_=n.oldAngle,n.oldAngle<n.endAngle&&(r._oldAngle_+=2),r.data>=n.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*i+n.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*i,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function J(t){t=H(t);for(var e=0,n=0;n<t.length;n++){var i=t[n],r=i.format?i.format(+i._proportion_.toFixed(2)):a.toFixed(100*i._proportion_)+"%";e=Math.max(e,v(r))}return e}function K(t,e,n,i,a,r){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*a.columePadding)/n),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),t.width<=0&&(t.width=1),t.x+=(i+.5-n/2)*t.width,t)}))}function Y(t,e,n,i,a,r,o){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*a.columePadding)/2),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),i>0&&(t.width-=2*o),t)}))}function Q(t,e,n,i,a,r,o){return t.map((function(t,n){return null===t?null:(t.width=Math.ceil((e-2*a.columePadding)/2),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),t)}))}function Z(t,e,n){var i=e.width-e.area[1]-e.area[3],a=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type)&&a>1&&"justify"==e.xAxis.boundaryGap&&(a-=1);var r=i/a,o=[],s=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){o.push(s+e*r)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?o.push(s+t.length*r):o.push(l)),{xAxisPoints:o,startX:s,endX:l,eachSpacing:r}}function tt(t,e,n,i,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)l.push(null);else{var u=[];t.forEach((function(t,l){var h={};h.x=i[o]+Math.round(a/2);var p=t.value||t,f=c*(p-e)/(n-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],u.push(h)})),l.push(u)}})),l}function et(t,e,n,i,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=r.type&&"area"!=r.type||(l=r.xAxis.boundaryGap);var c=[],u=r.height-r.area[0]-r.area[2],h=r.width-r.area[1]-r.area[3];return t.forEach((function(t,o){if(null===t)c.push(null);else{var p={};p.color=t.color,p.x=i[o];var f,d,g,v=t;if("object"===typeof t&&null!==t)if(t.constructor==Array)f=[].concat(r.chartData.xAxisData.ranges),d=f.shift(),g=f.pop(),v=t[1],p.x=r.area[3]+h*(t[0]-d)/(g-d);else v=t.value;"center"==l&&(p.x+=Math.round(a/2));var y=u*(v-e)/(n-e);y*=s,p.y=r.height-Math.round(y)-r.area[2],c.push(p)}})),c}function nt(t,e,n,i,a,r,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],h=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)u.push(null);else{var p={};if(p.color=t.color,p.x=i[o]+Math.round(a/2),s>0){for(var f=0,d=0;d<=s;d++)f+=l[d].data[o];var g=f-t,v=h*(f-e)/(n-e),y=h*(g-e)/(n-e)}else f=t,v=h*(f-e)/(n-e),y=0;var x=y;v*=c,x*=c,p.y=r.height-Math.round(v)-r.area[2],p.y0=r.height-Math.round(x)-r.area[2],u.push(p)}})),u}function it(t,e,n,i){var a,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;a="stack"==i?x(t,e.categories.length):y(t);var o=[];a=a.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===typeof t?t.constructor==Array?"candle"==e.type?t.map((function(t){o.push(t)})):o.push(t[1]):o.push(t.value):o.push(t)}));var s=0,l=0;if(o.length>0&&(s=Math.min.apply(this,o),l=Math.max.apply(this,o)),r>-1?("number"===typeof e.yAxis.data[r].min&&(s=Math.min(e.yAxis.data[r].min,s)),"number"===typeof e.yAxis.data[r].max&&(l=Math.max(e.yAxis.data[r].max,l))):("number"===typeof e.yAxis.min&&(s=Math.min(e.yAxis.min,s)),"number"===typeof e.yAxis.max&&(l=Math.max(e.yAxis.max,l))),s===l){var c=l||10;l+=c}for(var u=g(s,l),h=u.minRange,p=u.maxRange,f=[],d=(p-h)/e.yAxis.splitNumber,v=0;v<=e.yAxis.splitNumber;v++)f.push(h+d*v);return f.reverse()}function at(t,e,n){var r=i({},{type:""},e.extra.column),o=e.yAxis.data.length,s=new Array(o);if(o>0){for(var l=0;l<o;l++){s[l]=[];for(var c=0;c<t.length;c++)t[c].index==l&&s[l].push(t[c])}for(var u=new Array(o),h=new Array(o),p=new Array(o),f=function(t){var i=e.yAxis.data[t];1==e.yAxis.disabled&&(i.disabled=!0),u[t]=it(s[t],e,n,r.type,t);var o=i.fontSize||n.fontSize;p[t]={position:i.position?i.position:"left",width:0},h[t]=u[t].map((function(e){return e=a.toFixed(e,6),e=i.format?i.format(Number(e)):e,p[t].width=Math.max(p[t].width,v(e,o)+5),e}));var l=i.calibration?4*e.pixelRatio:0;p[t].width+=l+3*e.pixelRatio,!0===i.disabled&&(p[t].width=0)},d=0;d<o;d++)f(d)}else{u=new Array(1),h=new Array(1),p=new Array(1);u[0]=it(t,e,n,r.type),p[0]={position:"left",width:0};var g=e.yAxis.fontSize||n.fontSize;h[0]=u[0].map((function(t){return t=a.toFixed(t,6),t=e.yAxis.format?e.yAxis.format(Number(t)):t,p[0].width=Math.max(p[0].width,v(t,g)+5),t})),p[0].width+=3*e.pixelRatio,!0===e.yAxis.disabled?(p[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,format:e.yAxis.format}}return{rangesFormat:h,ranges:u,yAxisWidth:p}}function rt(t,e,n,i,a){for(var r=[].concat(n.chartData.yAxisData.ranges),o=n.height-n.area[0]-n.area[2],s=n.area[0],l=[],c=0;c<r.length;c++){var u=r[c].shift(),h=r[c].pop(),p=u-(u-h)*(t-s)/o;p=n.yAxis.data[c].format?n.yAxis.data[c].format(Number(p)):p.toFixed(0),l.push(String(p))}return l}function ot(t,e){for(var n,i,a=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);n=o.pop(),i=o.shift();var s=a*(t[r].value-n)/(i-n);t[r].y=e.height-Math.round(s)-e.area[2]}return t}function st(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function lt(t,e,n,i,a){i.beginPath(),"hollow"==a.dataPointShapeType?(i.setStrokeStyle(e),i.setFillStyle(a.background),i.setLineWidth(2*a.pixelRatio)):(i.setStrokeStyle("#ffffff"),i.setFillStyle(e),i.setLineWidth(1*a.pixelRatio)),"diamond"===n?t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))})):"circle"===n?t.forEach((function(t,e){null!==t&&(i.moveTo(t.x+2.5*a.pixelRatio,t.y),i.arc(t.x,t.y,3*a.pixelRatio,0,2*Math.PI,!1))})):"rect"===n?t.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))})):"triangle"===n&&t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))})),i.closePath(),i.fill(),i.stroke()}function ct(t,e,n,i){var a=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||e.titleColor,c=t.subtitle.color||e.subtitleColor,u=o?a:0,h=s?r:0,p=5;if(s){var f=v(s,r),d=i.x-f/2+(t.subtitle.offsetX||0),g=i.y+r/2+(t.subtitle.offsetY||0);o&&(g+=(u+p)/2),n.beginPath(),n.setFontSize(r),n.setFillStyle(c),n.fillText(s,d,g),n.closePath(),n.stroke()}if(o){var y=v(o,a),x=i.x-y/2+(t.title.offsetX||0),m=i.y+a/2+(t.title.offsetY||0);s&&(m-=(h+p)/2),n.beginPath(),n.setFontSize(a),n.setFillStyle(l),n.fillText(o,x,m),n.closePath(),n.stroke()}}function ut(t,e,n,i){var a=e.data;t.forEach((function(t,r){if(null!==t){i.beginPath(),i.setFontSize(e.textSize||n.fontSize),i.setFillStyle(e.textColor||"#666666");var o=a[r];"object"===typeof a[r]&&null!==a[r]&&(o=a[r].constructor==Array?a[r][1]:a[r].value);var s=e.format?e.format(o):o;i.fillText(String(s),t.x-v(s,e.textSize||n.fontSize)/2,t.y-4),i.closePath(),i.stroke()}}))}function ht(t,e,n,i,a,r){e-=t.width/2+a.gaugeLabelTextMargin;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,u=t.startAngle,h=t.startNumber,p=0;p<t.splitLine.splitNumber+1;p++){var f={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},d=t.labelFormat?t.labelFormat(h):h;f.x+=n.x-v(d)/2,f.y+=n.y;var g=f.x,y=f.y;r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(t.labelColor||"#666666"),r.fillText(d,g,y+a.fontSize/2),r.closePath(),r.stroke(),u+=s,u>=2&&(u%=2),h+=c}}function pt(t,e,n,i,r,o){var s=i.extra.radar||{};e+=r.radarLabelTextMargin,t.forEach((function(t,l){var c={x:e*Math.cos(t),y:e*Math.sin(t)},u=p(c.x,c.y,n),h=u.x,f=u.y;a.approximatelyEqual(c.x,0)?h-=v(i.categories[l]||"")/2:c.x<0&&(h-=v(i.categories[l]||"")),o.beginPath(),o.setFontSize(r.fontSize),o.setFillStyle(s.labelColor||"#666666"),o.fillText(i.categories[l]||"",h,f+r.fontSize/2),o.closePath(),o.stroke()}))}function ft(t,e,n,i,r,o){for(var s=n.pieChartLinePadding,l=[],c=null,u=t.map((function(t){var e=t.format?t.format(+t._proportion_.toFixed(2)):a.toFixed(100*t._proportion_.toFixed(4))+"%";t._rose_proportion_&&(t._proportion_=t._rose_proportion_);var n=2*Math.PI-(t._start_+2*Math.PI*t._proportion_/2),i=t.color,r=t._radius_;return{arc:n,text:e,color:i,radius:r,textColor:t.textColor,textSize:t.textSize}})),h=0;h<u.length;h++){var d=u[h],g=Math.cos(d.arc)*(d.radius+s),y=Math.sin(d.arc)*(d.radius+s),x=Math.cos(d.arc)*d.radius,m=Math.sin(d.arc)*d.radius,_=g>=0?g+n.pieChartTextPadding:g-n.pieChartTextPadding,b=y,S=v(d.text,d.textSize||n.fontSize),w=b;c&&a.isSameXCoordinateArea(c.start,{x:_})&&(w=_>0?Math.min(b,c.start.y):g<0?Math.max(b,c.start.y):b>0?Math.max(b,c.start.y):Math.min(b,c.start.y)),_<0&&(_-=S);var A={lineStart:{x:x,y:m},lineEnd:{x:g,y:y},start:{x:_,y:w},width:S,height:n.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};c=f(A,c),l.push(c)}for(var T=0;T<l.length;T++){var P=l[T],k=p(P.lineStart.x,P.lineStart.y,o),D=p(P.lineEnd.x,P.lineEnd.y,o),F=p(P.start.x,P.start.y,o);i.setLineWidth(1*e.pixelRatio),i.setFontSize(n.fontSize),i.beginPath(),i.setStrokeStyle(P.color),i.setFillStyle(P.color),i.moveTo(k.x,k.y);var O=P.start.x<0?F.x+P.width:F.x,C=P.start.x<0?F.x-5:F.x+5;i.quadraticCurveTo(D.x,D.y,O,F.y),i.moveTo(k.x,k.y),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(F.x+P.width,F.y),i.arc(O,F.y,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(P.textSize||n.fontSize),i.setFillStyle(P.textColor||"#666666"),i.fillText(P.text,C,F.y+3),i.closePath(),i.stroke(),i.closePath()}}function dt(t,e,n,i){var a=e.extra.tooltip||{};a.gridType=void 0==a.gridType?"solid":a.gridType,a.dashLength=void 0==a.dashLength?4:a.dashLength;var o=e.area[0],s=e.height-e.area[2];if("dash"==a.gridType&&i.setLineDash([a.dashLength,a.dashLength]),i.setStrokeStyle(a.gridColor||"#cccccc"),i.setLineWidth(1*e.pixelRatio),i.beginPath(),i.moveTo(t,o),i.lineTo(t,s),i.stroke(),i.setLineDash([]),a.xAxisLabel){var l=e.categories[e.tooltip.index];i.setFontSize(n.fontSize);var c=v(l,n.fontSize),u=t-.5*c,h=s;i.beginPath(),i.setFillStyle(r(a.labelBgColor||n.toolTipBackground,a.labelBgOpacity||n.toolTipOpacity)),i.setStrokeStyle(a.labelBgColor||n.toolTipBackground),i.setLineWidth(1*e.pixelRatio),i.rect(u-n.toolTipPadding,h,c+2*n.toolTipPadding,n.fontSize+2*n.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(a.labelFontColor||n.fontColor),i.fillText(String(l),u,h+n.toolTipPadding+n.fontSize),i.closePath(),i.stroke()}}function gt(t,e,n){for(var a=i({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),o=t.area[3],s=t.width-t.area[1],l=ot(a.data,t),c=0;c<l.length;c++){var u=i({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},l[c]);if("dash"==a.type&&n.setLineDash([a.dashLength,a.dashLength]),n.setStrokeStyle(u.lineColor),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.moveTo(o,u.y),n.lineTo(s,u.y),n.stroke(),n.setLineDash([]),u.showLabel){var h=t.yAxis.format?t.yAxis.format(Number(u.value)):u.value;n.setFontSize(e.fontSize);var p=v(h,e.fontSize),f=t.padding[3]+e.yAxisTitleWidth-e.toolTipPadding,d=Math.max(t.area[3],p+2*e.toolTipPadding),g=d-f,y=f+(g-p)/2,x=u.y;n.setFillStyle(r(u.labelBgColor,u.labelBgOpacity)),n.setStrokeStyle(u.labelBgColor),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.rect(f,x-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(e.fontSize),n.setFillStyle(u.labelFontColor),n.fillText(String(h),y,x+.5*e.fontSize),n.stroke()}}}function vt(t,e,n,a,o){var s=i({},{gridType:"solid",dashLength:4},t.extra.tooltip),l=t.area[3],c=t.width-t.area[1];if("dash"==s.gridType&&n.setLineDash([s.dashLength,s.dashLength]),n.setStrokeStyle(s.gridColor||"#cccccc"),n.setLineWidth(1*t.pixelRatio),n.beginPath(),n.moveTo(l,t.tooltip.offset.y),n.lineTo(c,t.tooltip.offset.y),n.stroke(),n.setLineDash([]),s.yAxisLabel)for(var u=rt(t.tooltip.offset.y,t.series,t,e,a),h=t.chartData.yAxisData.yAxisWidth,p=t.area[3],f=t.width-t.area[1],d=0;d<u.length;d++){n.setFontSize(e.fontSize);var g=v(u[d],e.fontSize),y=void 0,x=void 0,m=void 0;"left"==h[d].position?(y=p-h[d].width,x=Math.max(y,y+g+2*e.toolTipPadding)):(y=f,x=Math.max(y+h[d].width,y+g+2*e.toolTipPadding)),m=x-y;var _=y+(m-g)/2,b=t.tooltip.offset.y;n.beginPath(),n.setFillStyle(r(s.labelBgColor||e.toolTipBackground,s.labelBgOpacity||e.toolTipOpacity)),n.setStrokeStyle(s.labelBgColor||e.toolTipBackground),n.setLineWidth(1*t.pixelRatio),n.rect(y,b-.5*e.fontSize-e.toolTipPadding,m,e.fontSize+2*e.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(e.fontSize),n.setFillStyle(s.labelFontColor||e.fontColor),n.fillText(u[d],_,b+.5*e.fontSize),n.closePath(),n.stroke(),"left"==h[d].position?p-=h[d].width+t.yAxis.padding:f+=h[d].width+t.yAxis.padding}}function yt(t,e,n,a,o){var s=i({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.tooltip),l=e.area[0],c=e.height-e.area[2];a.beginPath(),a.setFillStyle(r(s.activeBgColor,s.activeBgOpacity)),a.rect(t-o/2,l,o,c-l),a.closePath(),a.fill()}function xt(t,e,n,a,o,s,l){var c=i({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},n.extra.tooltip),u=4*n.pixelRatio,h=5*n.pixelRatio,p=8*n.pixelRatio,f=!1;"line"!=n.type&&"area"!=n.type&&"candle"!=n.type&&"mix"!=n.type||dt(n.tooltip.offset.x,n,a,o),e=i({x:0,y:0},e),e.y-=8*n.pixelRatio;var d=t.map((function(t){return v(t.text,a.fontSize)})),g=u+h+4*a.toolTipPadding+Math.max.apply(null,d),y=2*a.toolTipPadding+t.length*a.toolTipLineHeight;0!=c.showBox&&(e.x-Math.abs(n._scrollDistance_)+p+g>n.width&&(f=!0),y+e.y>n.height&&(e.y=n.height-y),o.beginPath(),o.setFillStyle(r(c.bgColor||a.toolTipBackground,c.bgOpacity||a.toolTipOpacity)),f?(o.moveTo(e.x,e.y+10*n.pixelRatio),o.lineTo(e.x-p,e.y+10*n.pixelRatio-5*n.pixelRatio),o.lineTo(e.x-p,e.y),o.lineTo(e.x-p-Math.round(g),e.y),o.lineTo(e.x-p-Math.round(g),e.y+y),o.lineTo(e.x-p,e.y+y),o.lineTo(e.x-p,e.y+10*n.pixelRatio+5*n.pixelRatio),o.lineTo(e.x,e.y+10*n.pixelRatio)):(o.moveTo(e.x,e.y+10*n.pixelRatio),o.lineTo(e.x+p,e.y+10*n.pixelRatio-5*n.pixelRatio),o.lineTo(e.x+p,e.y),o.lineTo(e.x+p+Math.round(g),e.y),o.lineTo(e.x+p+Math.round(g),e.y+y),o.lineTo(e.x+p,e.y+y),o.lineTo(e.x+p,e.y+10*n.pixelRatio+5*n.pixelRatio),o.lineTo(e.x,e.y+10*n.pixelRatio)),o.closePath(),o.fill(),t.forEach((function(t,n){if(null!==t.color){o.beginPath(),o.setFillStyle(t.color);var i=e.x+p+2*a.toolTipPadding,r=e.y+(a.toolTipLineHeight-a.fontSize)/2+a.toolTipLineHeight*n+a.toolTipPadding+1;f&&(i=e.x-g-p+2*a.toolTipPadding),o.fillRect(i,r,u,a.fontSize),o.closePath()}})),t.forEach((function(t,n){var i=e.x+p+2*a.toolTipPadding+u+h;f&&(i=e.x-g-p+2*a.toolTipPadding+ +u+h);var r=e.y+(a.toolTipLineHeight-a.fontSize)/2+a.toolTipLineHeight*n+a.toolTipPadding;o.beginPath(),o.setFontSize(a.fontSize),o.setFillStyle(c.fontColor),o.fillText(t.text,i,r+a.fontSize),o.closePath(),o.stroke()})))}function mt(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,s=o.xAxisPoints,l=o.eachSpacing,c=i({},{type:"group",width:l/2,meter:{border:4,fillColor:"#FFFFFF"}},e.extra.column),u=[];a.save();var h=-2,p=s.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),h=Math.floor(-e._scrollDistance_/l)-2,p=h+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&yt(e.tooltip.offset.x,e,n,a,l),t.forEach((function(i,o){var f,d,g;f=[].concat(e.chartData.yAxisData.ranges[i.index]),d=f.pop(),g=f.shift();var v=i.data;switch(c.type){case"group":var y=et(v,d,g,s,l,e,n,r),x=nt(v,d,g,s,l,e,n,o,t,r);u.push(x),y=K(y,l,t.length,o,n,e);for(var m=0;m<y.length;m++){var _=y[m];if(null!==_&&m>h&&m<p){a.beginPath(),a.setStrokeStyle(_.color||i.color),a.setLineWidth(1),a.setFillStyle(_.color||i.color);var b=_.x-_.width/2,S=e.height-_.y-e.area[2];a.moveTo(b-1,_.y),a.lineTo(b+_.width-2,_.y),a.lineTo(b+_.width-2,e.height-e.area[2]),a.lineTo(b,e.height-e.area[2]),a.lineTo(b,_.y),a.closePath(),a.stroke(),a.fill()}}break;case"stack":y=nt(v,d,g,s,l,e,n,o,t,r);u.push(y),y=Q(y,l,t.length,o,n,e,t);for(var w=0;w<y.length;w++){var A=y[w];if(null!==A&&w>h&&w<p){a.beginPath(),a.setFillStyle(A.color||i.color);b=A.x-A.width/2+1,S=e.height-A.y-e.area[2];var T=e.height-A.y0-e.area[2];o>0&&(S-=T),a.moveTo(b,A.y),a.fillRect(b,A.y,A.width-2,S),a.closePath(),a.fill()}}break;case"meter":y=et(v,d,g,s,l,e,n,r);if(u.push(y),y=Y(y,l,t.length,o,n,e,c.meter.border),0==o)for(var P=0;P<y.length;P++){var k=y[P];if(null!==k&&P>h&&P<p){a.beginPath(),a.setFillStyle(c.meter.fillColor);b=k.x-k.width/2,S=e.height-k.y-e.area[2];a.moveTo(b,k.y),a.fillRect(b,k.y,k.width,S),a.closePath(),a.fill(),c.meter.border>0&&(a.beginPath(),a.setStrokeStyle(i.color),a.setLineWidth(c.meter.border*e.pixelRatio),a.moveTo(b+.5*c.meter.border,k.y+S),a.lineTo(b+.5*c.meter.border,k.y+.5*c.meter.border),a.lineTo(b+k.width-.5*c.meter.border,k.y+.5*c.meter.border),a.lineTo(b+k.width-.5*c.meter.border,k.y+S),a.stroke())}}else for(var D=0;D<y.length;D++){var F=y[D];if(null!==F&&D>h&&D<p){a.beginPath(),a.setFillStyle(F.color||i.color);b=F.x-F.width/2,S=e.height-F.y-e.area[2];a.moveTo(b,F.y),a.fillRect(b,F.y,F.width,S),a.closePath(),a.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(i,o){var u,h,p;u=[].concat(e.chartData.yAxisData.ranges[i.index]),h=u.pop(),p=u.shift();var f=i.data;switch(c.type){case"group":var d=et(f,h,p,s,l,e,n,r);d=K(d,l,t.length,o,n,e),ut(d,i,n,a);break;case"stack":d=nt(f,h,p,s,l,e,n,o,t,r);ut(d,i,n,a);break;case"meter":d=et(f,h,p,s,l,e,n,r);ut(d,i,n,a);break}})),a.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:l}}function _t(t,e,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=i({},{color:{},average:{}},n.extra.candle);s.color=i({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=i({},{show:!1,name:[],day:[],color:a.colors},s.average),n.extra.candle=s;var l=n.chartData.xAxisData,c=l.xAxisPoints,u=l.eachSpacing,p=[];r.save();var f=-2,d=c.length+2,g=0,v=n.width+u;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(r.translate(n._scrollDistance_,0),f=Math.floor(-n._scrollDistance_/u)-2,d=f+n.xAxis.itemCount+4,g=-n._scrollDistance_-u+n.area[3],v=g+(n.xAxis.itemCount+4)*u),s.average.show&&e.forEach((function(t,e){var i,s,l;i=[].concat(n.chartData.yAxisData.ranges[t.index]),s=i.pop(),l=i.shift();for(var p=t.data,f=et(p,s,l,c,u,n,a,o),d=j(f),y=0;y<d.length;y++){var x=d[y];if(r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(1),1===x.length)r.moveTo(x[0].x,x[0].y),r.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{r.moveTo(x[0].x,x[0].y);for(var m=0,_=0;_<x.length;_++){var b=x[_];if(0==m&&b.x>g&&(r.moveTo(b.x,b.y),m=1),_>0&&b.x>g&&b.x<v){var S=h(x,_-1);r.bezierCurveTo(S.ctrA.x,S.ctrA.y,S.ctrB.x,S.ctrB.y,b.x,b.y)}}r.moveTo(x[0].x,x[0].y)}r.closePath(),r.stroke()}})),t.forEach((function(t,e){var i,l,h;i=[].concat(n.chartData.yAxisData.ranges[t.index]),l=i.pop(),h=i.shift();var g=t.data,v=tt(g,l,h,c,u,n,a,o);p.push(v);for(var y=j(v),x=0;x<y[0].length;x++)if(x>f&&x<d){var m=y[0][x];r.beginPath(),g[x][1]-g[x][0]>0?(r.setStrokeStyle(s.color.upLine),r.setFillStyle(s.color.upFill),r.setLineWidth(1*n.pixelRatio),r.moveTo(m[3].x,m[3].y),r.lineTo(m[1].x,m[1].y),r.lineTo(m[1].x-u/4,m[1].y),r.lineTo(m[0].x-u/4,m[0].y),r.lineTo(m[0].x,m[0].y),r.lineTo(m[2].x,m[2].y),r.lineTo(m[0].x,m[0].y),r.lineTo(m[0].x+u/4,m[0].y),r.lineTo(m[1].x+u/4,m[1].y),r.lineTo(m[1].x,m[1].y),r.moveTo(m[3].x,m[3].y)):(r.setStrokeStyle(s.color.downLine),r.setFillStyle(s.color.downFill),r.setLineWidth(1*n.pixelRatio),r.moveTo(m[3].x,m[3].y),r.lineTo(m[0].x,m[0].y),r.lineTo(m[0].x-u/4,m[0].y),r.lineTo(m[1].x-u/4,m[1].y),r.lineTo(m[1].x,m[1].y),r.lineTo(m[2].x,m[2].y),r.lineTo(m[1].x,m[1].y),r.lineTo(m[1].x+u/4,m[1].y),r.lineTo(m[0].x+u/4,m[0].y),r.lineTo(m[0].x,m[0].y),r.moveTo(m[3].x,m[3].y)),r.closePath(),r.fill(),r.stroke()}})),r.restore(),{xAxisPoints:c,calPoints:p,eachSpacing:u}}function bt(t,e,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),l=e.chartData.xAxisData,c=l.xAxisPoints,u=l.eachSpacing,p=e.height-e.area[2],f=[];a.save();var d=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),d=-e._scrollDistance_-u+e.area[3],g=d+(e.xAxis.itemCount+4)*u),t.forEach((function(t,i){var l,v,y;l=[].concat(e.chartData.yAxisData.ranges[t.index]),v=l.pop(),y=l.shift();var x=t.data,m=et(x,v,y,c,u,e,n,o);f.push(m);for(var _=j(m),b=0;b<_.length;b++){var S=_[b];if(a.beginPath(),a.setStrokeStyle(r(t.color,s.opacity)),s.gradient){var w=a.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);w.addColorStop("0",r(t.color,s.opacity)),w.addColorStop("1.0",r("#FFFFFF",.1)),a.setFillStyle(w)}else a.setFillStyle(r(t.color,s.opacity));if(a.setLineWidth(s.width*e.pixelRatio),S.length>1){var A=S[0],T=S[S.length-1];a.moveTo(A.x,A.y);var P=0;if("curve"===s.type)for(var k=0;k<S.length;k++){var D=S[k];if(0==P&&D.x>d&&(a.moveTo(D.x,D.y),P=1),k>0&&D.x>d&&D.x<g){var F=h(S,k-1);a.bezierCurveTo(F.ctrA.x,F.ctrA.y,F.ctrB.x,F.ctrB.y,D.x,D.y)}}else for(var O=0;O<S.length;O++){var C=S[O];0==P&&C.x>d&&(a.moveTo(C.x,C.y),P=1),O>0&&C.x>d&&C.x<g&&a.lineTo(C.x,C.y)}a.lineTo(T.x,p),a.lineTo(A.x,p),a.lineTo(A.x,A.y)}else{var $=S[0];a.moveTo($.x-u/2,$.y),a.lineTo($.x+u/2,$.y),a.lineTo($.x+u/2,p),a.lineTo($.x-u/2,p),a.moveTo($.x-u/2,$.y)}if(a.closePath(),a.fill(),s.addLine){if("dash"==t.lineType){var M=t.dashLength?t.dashLength:8;M*=e.pixelRatio,a.setLineDash([M,M])}if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(s.width*e.pixelRatio),1===S.length)a.moveTo(S[0].x,S[0].y),a.arc(S[0].x,S[0].y,1,0,2*Math.PI);else{a.moveTo(S[0].x,S[0].y);var R=0;if("curve"===s.type)for(var L=0;L<S.length;L++){var B=S[L];if(0==R&&B.x>d&&(a.moveTo(B.x,B.y),R=1),L>0&&B.x>d&&B.x<g){var I=h(S,L-1);a.bezierCurveTo(I.ctrA.x,I.ctrA.y,I.ctrB.x,I.ctrB.y,B.x,B.y)}}else for(var E=0;E<S.length;E++){var z=S[E];0==R&&z.x>d&&(a.moveTo(z.x,z.y),R=1),E>0&&z.x>d&&z.x<g&&a.lineTo(z.x,z.y)}a.moveTo(S[0].x,S[0].y)}a.stroke(),a.setLineDash([])}}!1!==e.dataPointShape&<(m,t.color,t.pointShape,a,e)})),!1!==e.dataLabel&&1===o&&t.forEach((function(t,i){var r,s,l;r=[].concat(e.chartData.yAxisData.ranges[t.index]),s=r.pop(),l=r.shift();var h=t.data,p=et(h,s,l,c,u,e,n,o);ut(p,t,n,a)})),a.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:u}}function St(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=i({},{type:"straight",width:2},e.extra.line);o.width*=e.pixelRatio;var s=e.chartData.xAxisData,l=s.xAxisPoints,c=s.eachSpacing,u=[];a.save();var p=0,f=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),p=-e._scrollDistance_-c+e.area[3],f=p+(e.xAxis.itemCount+4)*c),t.forEach((function(t,i){var s,d,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),d=s.pop(),g=s.shift();var v=t.data,y=et(v,d,g,l,c,e,n,r);u.push(y);var x=j(y);if("dash"==t.lineType){var m=t.dashLength?t.dashLength:8;m*=e.pixelRatio,a.setLineDash([m,m])}a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(o.width),x.forEach((function(t,e){if(1===t.length)a.moveTo(t[0].x,t[0].y),a.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{a.moveTo(t[0].x,t[0].y);var n=0;if("curve"===o.type)for(var i=0;i<t.length;i++){var r=t[i];if(0==n&&r.x>p&&(a.moveTo(r.x,r.y),n=1),i>0&&r.x>p&&r.x<f){var s=h(t,i-1);a.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,r.x,r.y)}}else for(var l=0;l<t.length;l++){var c=t[l];0==n&&c.x>p&&(a.moveTo(c.x,c.y),n=1),l>0&&c.x>p&&c.x<f&&a.lineTo(c.x,c.y)}a.moveTo(t[0].x,t[0].y)}})),a.stroke(),a.setLineDash([]),!1!==e.dataPointShape&<(y,t.color,t.pointShape,a,e)})),!1!==e.dataLabel&&1===r&&t.forEach((function(t,i){var o,s,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),u=o.shift();var h=t.data,p=et(h,s,u,l,c,e,n,r);ut(p,t,n,a)})),a.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:c}}function wt(t,e,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,s=o.xAxisPoints,l=o.eachSpacing,c=e.height-e.area[2],u=[],p=0,f=0;t.forEach((function(t,e){"column"==t.type&&(f+=1)})),i.save();var d=-2,g=s.length+2,v=0,y=e.width+l;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),d=Math.floor(-e._scrollDistance_/l)-2,g=d+e.xAxis.itemCount+4,v=-e._scrollDistance_-l+e.area[3],y=v+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var x,m,_;x=[].concat(e.chartData.yAxisData.ranges[t.index]),m=x.pop(),_=x.shift();var b=t.data,S=et(b,m,_,s,l,e,n,a);if(u.push(S),"column"==t.type){S=K(S,l,f,p,n,e);for(var w=0;w<S.length;w++){var A=S[w];if(null!==A&&w>d&&w<g){i.beginPath(),i.setStrokeStyle(A.color||t.color),i.setLineWidth(1),i.setFillStyle(A.color||t.color);var T=A.x-A.width/2;e.height,A.y,e.area[2];i.moveTo(T,A.y),i.moveTo(T-1,A.y),i.lineTo(T+A.width-2,A.y),i.lineTo(T+A.width-2,e.height-e.area[2]),i.lineTo(T,e.height-e.area[2]),i.lineTo(T,A.y),i.closePath(),i.stroke(),i.fill(),i.closePath(),i.fill()}}p+=1}if("area"==t.type)for(var P=j(S),k=0;k<P.length;k++){var D=P[k];if(i.beginPath(),i.setStrokeStyle(t.color),i.setFillStyle(r(t.color,.2)),i.setLineWidth(2*e.pixelRatio),D.length>1){var F=D[0],O=D[D.length-1];i.moveTo(F.x,F.y);var C=0;if("curve"===t.style)for(var $=0;$<D.length;$++){var M=D[$];if(0==C&&M.x>v&&(i.moveTo(M.x,M.y),C=1),$>0&&M.x>v&&M.x<y){var R=h(D,$-1);i.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,M.x,M.y)}}else for(var L=0;L<D.length;L++){var B=D[L];0==C&&B.x>v&&(i.moveTo(B.x,B.y),C=1),L>0&&B.x>v&&B.x<y&&i.lineTo(B.x,B.y)}i.lineTo(O.x,c),i.lineTo(F.x,c),i.lineTo(F.x,F.y)}else{var I=D[0];i.moveTo(I.x-l/2,I.y),i.lineTo(I.x+l/2,I.y),i.lineTo(I.x+l/2,c),i.lineTo(I.x-l/2,c),i.moveTo(I.x-l/2,I.y)}i.closePath(),i.fill()}if("line"==t.type){var E=j(S);E.forEach((function(n,a){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pixelRatio,i.setLineDash([r,r])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(2*e.pixelRatio),1===n.length)i.moveTo(n[0].x,n[0].y),i.arc(n[0].x,n[0].y,1,0,2*Math.PI);else{i.moveTo(n[0].x,n[0].y);var o=0;if("curve"==t.style)for(var s=0;s<n.length;s++){var l=n[s];if(0==o&&l.x>v&&(i.moveTo(l.x,l.y),o=1),s>0&&l.x>v&&l.x<y){var c=h(n,s-1);i.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var u=0;u<n.length;u++){var p=n[u];0==o&&p.x>v&&(i.moveTo(p.x,p.y),o=1),u>0&&p.x>v&&p.x<y&&i.lineTo(p.x,p.y)}i.moveTo(n[0].x,n[0].y)}i.stroke(),i.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&<(S,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===a){p=0;t.forEach((function(t,r){var o,c,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),c=o.pop(),u=o.shift();var h=t.data,d=et(h,c,u,s,l,e,n,a);"column"!==t.type?ut(d,t,n,i):(d=K(d,l,f,p,n,e),ut(d,t,n,i),p+=1)}))}return i.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:l}}function At(t,e,n,i,a,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===i&&("line"==t.type||"area"==t.type||"column"==t.type||"candle"==t.type||"mix"==t.type)&&vt(t,e,n,a,r),n.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&n.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&xt(t.tooltip.textList,t.tooltip.offset,t,e,n,a,r),n.restore()}function Tt(t,e,n,i){var a=e.chartData.xAxisData,r=a.xAxisPoints,o=a.startX,s=a.endX,l=a.eachSpacing,c="center";"line"!=e.type&&"area"!=e.type||(c=e.xAxis.boundaryGap);var h=e.height-e.area[2],p=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var f=e.height-e.area[2]+n.xAxisHeight,d=s-o,g=l*(r.length-1),y=d*d/g,x=0;e._scrollDistance_&&(x=-e._scrollDistance_*d/g),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pixelRatio),i.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),i.moveTo(o,f),i.lineTo(s,f),i.stroke(),i.closePath(),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pixelRatio),i.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),i.moveTo(o+x,f),i.lineTo(o+x+y,f),i.stroke(),i.closePath(),i.setLineCap("butt")}if(i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pixelRatio),r.forEach((function(t,n){n>0&&(i.beginPath(),i.moveTo(t-l/2,h),i.lineTo(t-l/2,h+3*e.pixelRatio),i.closePath(),i.stroke())}))),!0!==e.xAxis.disableGrid&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pixelRatio),"dash"==e.xAxis.gridType&&i.setLineDash([e.xAxis.dashLength,e.xAxis.dashLength]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,n){n%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,h),i.lineTo(t,p),i.stroke())})),i.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var _=Math.ceil(t.length/m),b=[],S=t.length,w=0;w<S;w++)w%_!==0?b.push(""):b.push(t[w]);b[S-1]=t[S-1];var A=e.xAxis.fontSize||n.fontSize;0===n._xAxisTextAngle_?b.forEach((function(t,a){var o=-v(String(t),A)/2;"center"==c&&(o+=l/2);var s=0;e.xAxis.scrollShow&&(s=6*e.pixelRatio),i.beginPath(),i.setFontSize(A),i.setFillStyle(e.xAxis.fontColor||"#666666"),i.fillText(String(t),r[a]+o,h+A+(n.xAxisHeight-s-A)/2),i.closePath(),i.stroke()})):b.forEach((function(t,a){i.save(),i.beginPath(),i.setFontSize(A),i.setFillStyle(e.xAxis.fontColor||"#666666");var o=v(String(t),A),s=-o;"center"==c&&(s+=l/2);var p=u(r[a]+l/2,h+A/2+5,e.height),f=p.transX,d=p.transY;i.rotate(-1*n._xAxisTextAngle_),i.translate(f,d),i.fillText(String(t),r[a]+s,h+A+5),i.closePath(),i.stroke(),i.restore()}))}i.restore(),e.xAxis.axisLine&&(i.beginPath(),i.setStrokeStyle(e.xAxis.axisLineColor),i.setLineWidth(1*e.pixelRatio),i.moveTo(o,e.height-e.area[2]),i.lineTo(s,e.height-e.area[2]),i.stroke())}function Pt(t,e,n,i){if(!0!==e.yAxis.disableGrid){for(var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1),u=o+c,h=[],p=0;p<e.yAxis.splitNumber+1;p++)h.push(e.height-e.area[2]-r*p);i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&i.setLineDash([e.yAxis.dashLength,e.yAxis.dashLength]),i.setStrokeStyle(e.yAxis.gridColor),i.setLineWidth(1*e.pixelRatio),h.forEach((function(t,e){i.beginPath(),i.moveTo(o,t),i.lineTo(u,t),i.stroke()})),i.setLineDash([]),i.restore()}}function kt(t,e,n,i){if(!0!==e.yAxis.disabled){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2],c=l+n.xAxisHeight;e.xAxis.scrollShow&&(c-=3*e.pixelRatio),e.xAxis.rotateLabel&&(c=e.height-e.area[2]+3),i.beginPath(),i.setFillStyle(e.background||"#ffffff"),e._scrollDistance_<0&&i.fillRect(0,0,o,c),1==e.enableScroll&&i.fillRect(s,0,e.width,c),i.closePath(),i.stroke();for(var u=[],h=0;h<=e.yAxis.splitNumber;h++)u.push(e.area[0]+r*h);for(var p=e.area[3],f=e.width-e.area[1],d=function(t){var a=e.yAxis.data[t];if(!0!==a.disabled){var r=e.chartData.yAxisData.rangesFormat[t],o=a.fontSize||n.fontSize,s=e.chartData.yAxisData.yAxisWidth[t];if(r.forEach((function(t,n){var r=u[n]?u[n]:l;i.beginPath(),i.setFontSize(o),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(a.axisLineColor||"#cccccc"),i.setFillStyle(a.fontColor||"#666666"),"left"==s.position?(i.fillText(String(t),p-s.width,r+o/2),1==a.calibration&&(i.moveTo(p,r),i.lineTo(p-3*e.pixelRatio,r))):(i.fillText(String(t),f+4*e.pixelRatio,r+o/2),1==a.calibration&&(i.moveTo(f,r),i.lineTo(f+3*e.pixelRatio,r))),i.closePath(),i.stroke()})),!1!==a.axisLine&&(i.beginPath(),i.setStrokeStyle(a.axisLineColor||"#cccccc"),i.setLineWidth(1*e.pixelRatio),"left"==s.position?(i.moveTo(p,e.height-e.area[2]),i.lineTo(p,e.area[0])):(i.moveTo(f,e.height-e.area[2]),i.lineTo(f,e.area[0])),i.stroke()),e.yAxis.showTitle){var c=a.titleFontSize||n.fontSize,h=a.title;i.beginPath(),i.setFontSize(c),i.setFillStyle(a.titleFontColor||"#666666"),"left"==s.position?i.fillText(h,p-v(h,c)/2,e.area[0]-10*e.pixelRatio):i.fillText(h,f-v(h,c)/2,e.area[0]-10*e.pixelRatio),i.closePath(),i.stroke()}"left"==s.position?p-=s.width+e.yAxis.padding:f+=s.width+e.yAxis.padding}},g=0;g<e.yAxis.data.length;g++)d(g)}}function Dt(t,e,n,i,a){if(!1!==e.legend.show){var r=a.legendData,o=r.points,s=r.area,l=e.legend.padding,c=e.legend.fontSize,u=15*e.pixelRatio,h=5*e.pixelRatio,p=e.legend.itemGap,f=Math.max(e.legend.lineHeight*e.pixelRatio,c);i.beginPath(),i.setLineWidth(e.legend.borderWidth),i.setStrokeStyle(e.legend.borderColor),i.setFillStyle(e.legend.backgroundColor),i.moveTo(s.start.x,s.start.y),i.rect(s.start.x,s.start.y,s.width,s.height),i.closePath(),i.fill(),i.stroke(),o.forEach((function(t,a){var o=0,d=0;o=r.widthArr[a],d=r.heightArr[a];var g=0,y=0;"top"==e.legend.position||"bottom"==e.legend.position?(g=s.start.x+(s.width-o)/2,y=s.start.y+l+a*f):(o=0==a?0:r.widthArr[a-1],g=s.start.x+l+o,y=s.start.y+l+(s.height-d)/2),i.setFontSize(n.fontSize);for(var x=0;x<t.length;x++){var m=t[x];switch(m.area=[0,0,0,0],m.area[0]=g,m.area[1]=y,m.area[3]=y+f,i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),i.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":i.moveTo(g,y+.5*f-2*e.pixelRatio),i.fillRect(g,y+.5*f-2*e.pixelRatio,15*e.pixelRatio,4*e.pixelRatio);break;case"triangle":i.moveTo(g+7.5*e.pixelRatio,y+.5*f-5*e.pixelRatio),i.lineTo(g+2.5*e.pixelRatio,y+.5*f+5*e.pixelRatio),i.lineTo(g+12.5*e.pixelRatio,y+.5*f+5*e.pixelRatio),i.lineTo(g+7.5*e.pixelRatio,y+.5*f-5*e.pixelRatio);break;case"diamond":i.moveTo(g+7.5*e.pixelRatio,y+.5*f-5*e.pixelRatio),i.lineTo(g+2.5*e.pixelRatio,y+.5*f),i.lineTo(g+7.5*e.pixelRatio,y+.5*f+5*e.pixelRatio),i.lineTo(g+12.5*e.pixelRatio,y+.5*f),i.lineTo(g+7.5*e.pixelRatio,y+.5*f-5*e.pixelRatio);break;case"circle":i.moveTo(g+7.5*e.pixelRatio,y+.5*f),i.arc(g+7.5*e.pixelRatio,y+.5*f,5*e.pixelRatio,0,2*Math.PI);break;case"rect":i.moveTo(g,y+.5*f-5*e.pixelRatio),i.fillRect(g,y+.5*f-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio);break;default:i.moveTo(g,y+.5*f-5*e.pixelRatio),i.fillRect(g,y+.5*f-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio)}i.closePath(),i.fill(),i.stroke(),g+=u+h;var _=.5*f+.5*c-2;i.beginPath(),i.setFontSize(c),i.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),i.fillText(m.name,g,y+_),i.closePath(),i.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=v(m.name,c)+p,m.area[2]=g):(m.area[2]=g+v(m.name,c)+p,g-=u+h,y+=f)}}))}}function Ft(t,e,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i({},{activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.pie),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==n.pieChartLinePadding&&(n.pieChartLinePadding=s.activeRadius);var c=Math.min((e.width-e.area[1]-e.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);t=H(t,c,o);var u=s.activeRadius;if(t=t.map((function(t){return t._start_+=s.offsetAngle*Math.PI/180,t})),t.forEach((function(t,n){e.tooltip&&e.tooltip.index==n&&(a.beginPath(),a.setFillStyle(r(t.color,e.extra.pie.activeOpacity||.5)),a.moveTo(l.x,l.y),a.arc(l.x,l.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),a.closePath(),a.fill()),a.beginPath(),a.setLineWidth(s.borderWidth*e.pixelRatio),a.lineJoin="round",a.setStrokeStyle(s.borderColor),a.setFillStyle(t.color),a.moveTo(l.x,l.y),a.arc(l.x,l.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),a.closePath(),a.fill(),1==s.border&&a.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof e.extra.pie.ringWidth&&e.extra.pie.ringWidth>0&&(h=Math.max(0,c-e.extra.pie.ringWidth)),a.beginPath(),a.setFillStyle(e.background||"#ffffff"),a.moveTo(l.x,l.y),a.arc(l.x,l.y,h,0,2*Math.PI),a.closePath(),a.fill()}if(!1!==e.dataLabel&&1===o){for(var p=!1,f=0,d=t.length;f<d;f++)if(t[f].data>0){p=!0;break}p&&ft(t,e,n,a,c,l)}return 1===o&&"ring"===e.type&&ct(e,n,a,l),{center:l,radius:c,series:t}}function Ot(t,e,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i({},{type:"area",activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.rose);0==n.pieChartLinePadding&&(n.pieChartLinePadding=s.activeRadius);var l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},c=Math.min((e.width-e.area[1]-e.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding),u=s.minRadius||.5*c;t=U(t,s.type,u,c,o);var h=s.activeRadius;if(t=t.map((function(t){return t._start_+=(s.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,n){e.tooltip&&e.tooltip.index==n&&(a.beginPath(),a.setFillStyle(r(t.color,s.activeOpacity||.5)),a.moveTo(l.x,l.y),a.arc(l.x,l.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),a.closePath(),a.fill()),a.beginPath(),a.setLineWidth(s.borderWidth*e.pixelRatio),a.lineJoin="round",a.setStrokeStyle(s.borderColor),a.setFillStyle(t.color),a.moveTo(l.x,l.y),a.arc(l.x,l.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),a.closePath(),a.fill(),1==s.border&&a.stroke()})),!1!==e.dataLabel&&1===o){for(var p=!1,f=0,d=t.length;f<d;f++)if(t[f].data>0){p=!0;break}p&&ft(t,e,n,a,c,l)}return{center:l,radius:c,series:t}}function Ct(t,e,n,a){var r,o,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=i({},{startAngle:.75,endAngle:.25,type:"default",width:12*e.pixelRatio,gap:2*e.pixelRatio},e.extra.arcbar);t=V(t,l,s),r=l.center?l.center:{x:e.width/2,y:e.height/2},l.radius?o=l.radius:(o=Math.min(r.x,r.y),o-=5*e.pixelRatio,o-=l.width/2);for(var c=0;c<t.length;c++){var u=t[c];a.setLineWidth(l.width),a.setStrokeStyle(l.backgroundColor||"#E9E9E9"),a.setLineCap("round"),a.beginPath(),"default"==l.type?a.arc(r.x,r.y,o-(l.width+l.gap)*c,l.startAngle*Math.PI,l.endAngle*Math.PI,!1):a.arc(r.x,r.y,o-(l.width+l.gap)*c,0,2*Math.PI,!1),a.stroke(),a.setLineWidth(l.width),a.setStrokeStyle(u.color),a.setLineCap("round"),a.beginPath(),a.arc(r.x,r.y,o-(l.width+l.gap)*c,l.startAngle*Math.PI,u._proportion_*Math.PI,!1),a.stroke()}return ct(e,n,a,r),{center:r,radius:o,series:t}}function $t(t,e,n,a,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=i({},{type:"default",startAngle:.75,endAngle:.25,width:15,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},n.extra.gauge);void 0==l.oldAngle&&(l.oldAngle=l.startAngle),void 0==l.oldData&&(l.oldData=0),t=X(t,l.startAngle,l.endAngle);var c={x:n.width/2,y:n.height/2},u=Math.min(c.x,c.y);u-=5*n.pixelRatio,u-=l.width/2;var h=u-l.width,p=0;if("progress"==l.type){var f=u-3*l.width;o.beginPath();var d=o.createLinearGradient(c.x,c.y-f,c.x,c.y+f);d.addColorStop("0",r(e[0].color,.3)),d.addColorStop("1.0",r("#FFFFFF",.1)),o.setFillStyle(d),o.arc(c.x,c.y,f,0,2*Math.PI,!1),o.fill(),o.setLineWidth(l.width),o.setStrokeStyle(r(e[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,h,l.startAngle*Math.PI,l.endAngle*Math.PI,!1),o.stroke(),p=l.startAngle-l.endAngle+1;l.splitLine.splitNumber;var g=p/l.splitLine.splitNumber/l.splitLine.childNumber,v=-u-.5*l.width-l.splitLine.fixRadius,y=-u-l.width-l.splitLine.fixRadius+l.splitLine.width;o.save(),o.translate(c.x,c.y),o.rotate((l.startAngle-1)*Math.PI);for(var x=l.splitLine.splitNumber*l.splitLine.childNumber+1,m=e[0].data*s,_=0;_<x;_++)o.beginPath(),m>_/x?o.setStrokeStyle(r(e[0].color,1)):o.setStrokeStyle(r(e[0].color,.3)),o.setLineWidth(3*n.pixelRatio),o.moveTo(v,0),o.lineTo(y,0),o.stroke(),o.rotate(g*Math.PI);o.restore(),e=V(e,l,s),o.setLineWidth(l.width),o.setStrokeStyle(e[0].color),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,h,l.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),o.stroke();var b=u-2.5*l.width;o.save(),o.translate(c.x,c.y),o.rotate((e[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(l.width/3);var S=o.createLinearGradient(0,.6*-b,0,.6*b);S.addColorStop("0",r("#FFFFFF",0)),S.addColorStop("0.5",r(e[0].color,1)),S.addColorStop("1.0",r("#FFFFFF",0)),o.setStrokeStyle(S),o.arc(0,0,b,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(e[0].color),o.setFillStyle(e[0].color),o.moveTo(-b-l.width/3/2,-4),o.lineTo(-b-l.width/3/2-4,0),o.lineTo(-b-l.width/3/2,4),o.lineTo(-b-l.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(l.width),o.setLineCap("butt");for(var w=0;w<t.length;w++){var A=t[w];o.beginPath(),o.setStrokeStyle(A.color),o.arc(c.x,c.y,u,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),o.stroke()}o.save(),p=l.startAngle-l.endAngle+1;var T=p/l.splitLine.splitNumber,P=p/l.splitLine.splitNumber/l.splitLine.childNumber,k=-u-.5*l.width-l.splitLine.fixRadius,D=-u-.5*l.width-l.splitLine.fixRadius+l.splitLine.width,F=-u-.5*l.width-l.splitLine.fixRadius+l.splitLine.childWidth;o.translate(c.x,c.y),o.rotate((l.startAngle-1)*Math.PI);for(var O=0;O<l.splitLine.splitNumber+1;O++)o.beginPath(),o.setStrokeStyle(l.splitLine.color),o.setLineWidth(2*n.pixelRatio),o.moveTo(k,0),o.lineTo(D,0),o.stroke(),o.rotate(T*Math.PI);o.restore(),o.save(),o.translate(c.x,c.y),o.rotate((l.startAngle-1)*Math.PI);for(var C=0;C<l.splitLine.splitNumber*l.splitLine.childNumber+1;C++)o.beginPath(),o.setStrokeStyle(l.splitLine.color),o.setLineWidth(1*n.pixelRatio),o.moveTo(k,0),o.lineTo(F,0),o.stroke(),o.rotate(P*Math.PI);o.restore(),e=G(e,t,l,s);for(var $=0;$<e.length;$++){var M=e[$];o.save(),o.translate(c.x,c.y),o.rotate((M._proportion_-1)*Math.PI),o.beginPath(),o.setFillStyle(M.color),o.moveTo(l.pointer.width,0),o.lineTo(0,-l.pointer.width/2),o.lineTo(-h,0),o.lineTo(0,l.pointer.width/2),o.lineTo(l.pointer.width,0),o.closePath(),o.fill(),o.beginPath(),o.setFillStyle("#FFFFFF"),o.arc(0,0,l.pointer.width/6,0,2*Math.PI,!1),o.fill(),o.restore()}!1!==n.dataLabel&&ht(l,u,c,n,a,o)}return ct(n,a,o,c),1===s&&"gauge"===n.type&&(n.extra.gauge.oldAngle=e[0]._proportion_,n.extra.gauge.oldData=e[0].data),{center:c,radius:u,innerRadius:h,categories:t,totalAngle:p}}function Mt(t,e,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},e.extra.radar),l=S(e.categories.length),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=Math.min(c.x-(b(e.categories)+n.radarLabelTextMargin),c.y-n.radarLabelTextMargin);u-=e.padding[1],a.beginPath(),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(s.gridColor),l.forEach((function(t){var e=p(u*Math.cos(t),u*Math.sin(t),c);a.moveTo(c.x,c.y),a.lineTo(e.x,e.y)})),a.stroke(),a.closePath();for(var h=function(t){var n={};a.beginPath(),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(s.gridColor),l.forEach((function(e,i){var r=p(u/s.gridCount*t*Math.cos(e),u/s.gridCount*t*Math.sin(e),c);0===i?(n=r,a.moveTo(r.x,r.y)):a.lineTo(r.x,r.y)})),a.lineTo(n.x,n.y),a.stroke(),a.closePath()},f=1;f<=s.gridCount;f++)h(f);var d=W(l,c,u,t,e,o);return d.forEach((function(t,n){if(a.beginPath(),a.setFillStyle(r(t.color,s.opacity)),t.data.forEach((function(t,e){0===e?a.moveTo(t.position.x,t.position.y):a.lineTo(t.position.x,t.position.y)})),a.closePath(),a.fill(),!1!==e.dataPointShape){var i=t.data.map((function(t){return t.position}));lt(i,t.color,t.pointShape,a,e)}})),pt(l,u,c,e,n,a),{center:c,radius:u,angleList:l}}function Rt(t,e,n){n=0==n?1:n;for(var i=[],a=0;a<n;a++)i[a]=Math.random();return Math.floor(i.reduce((function(t,e){return t+e}))/n*(e-t))+t}function Lt(t,e,n,i){for(var a=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){a=!0;break}if(t[0]<0||t[1]<0||t[2]>n||t[3]>i){a=!0;break}a=!1}return a}function Bt(t){var e,n={};n.xMin=180,n.xMax=0,n.yMin=90,n.yMax=0;for(var i=0;i<t.length;i++)for(var a=t[i].geometry.coordinates,r=0;r<a.length;r++){e=a[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],l=e[o][1],c={x:s,y:l};n.xMin=n.xMin<c.x?n.xMin:c.x,n.xMax=n.xMax>c.x?n.xMax:c.x,n.yMin=n.yMin<c.y?n.yMin:c.y,n.yMax=n.yMax>c.y?n.yMax:c.y}}return n}function jt(t,e,n,i,a,r){return{x:(e-n.xMin)*i+a,y:(n.yMax-t)*i+r}}function It(t,e,n,i,a,r){return{x:(e-a)/i+n.xMin,y:n.yMax-(t-r)/i}}function Et(t,e,n){if(e[1]==n[1])return!1;if(e[1]>t[1]&&n[1]>t[1])return!1;if(e[1]<t[1]&&n[1]<t[1])return!1;if(e[1]==t[1]&&n[1]>t[1])return!1;if(n[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&n[1]<t[1])return!1;var i=n[0]-(n[0]-e[0])*(n[1]-t[1])/(n[1]-e[1]);return!(i<t[0])}function zt(t,e){for(var n=0,i=0;i<e.length;i++){var a=e[i][0];1==e.length&&(a=e[i][0]);for(var r=0;r<a.length-1;r++){var o=a[r],s=a[r+1];Et(t,o,s)&&(n+=1)}}return n%2==1}function Nt(t,e,n,a){var o,s,l=i({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,u=Bt(c),h=e.width/Math.abs(u.xMax-u.xMin),p=e.height/Math.abs(u.yMax-u.yMin),f=h<p?h:p,d=e.width/2-Math.abs(u.xMax-u.xMin)/2*f,g=e.height/2-Math.abs(u.yMax-u.yMin)/2*f;a.beginPath(),a.clearRect(0,0,e.width,e.height),a.setFillStyle(e.background||"#FFFFFF"),a.rect(0,0,e.width,e.height),a.fill();for(var y=0;y<c.length;y++){a.beginPath(),a.setLineWidth(l.borderWidth*e.pixelRatio),a.setStrokeStyle(l.borderColor),a.setFillStyle(r(t[y].color,l.fillOpacity)),e.tooltip&&e.tooltip.index==y&&(a.setStrokeStyle(l.activeBorderColor),a.setFillStyle(r(l.activeFillColor,l.activeFillOpacity)));for(var x=c[y].geometry.coordinates,m=0;m<x.length;m++){o=x[m],1==o.length&&(o=o[0]);for(var _=0;_<o.length;_++)s=jt(o[_][1],o[_][0],u,f,d,g),0===_?(a.beginPath(),a.moveTo(s.x,s.y)):a.lineTo(s.x,s.y);a.fill(),1==l.border&&a.stroke()}if(1==e.dataLabel){var b=c[y].properties.centroid;if(b){s=jt(b[1],b[0],u,f,d,g);var S=c[y].textSize||n.fontSize,w=c[y].properties.name;a.beginPath(),a.setFontSize(S),a.setFillStyle(c[y].textColor||"#666666"),a.fillText(w,s.x-v(w,S)/2,s.y+S/2),a.closePath(),a.stroke()}}}e.chartData.mapData={bounds:u,scale:f,xoffset:d,yoffset:g},At(e,n,a,1),a.draw()}function Wt(t,e){var n=t.series.sort((function(t,e){return parseInt(e.textSize)-parseInt(t.textSize)}));switch(e){case"normal":for(var i=0;i<n.length;i++){var a=n[i].name,r=n[i].textSize,o=v(a,r),s=void 0,l=void 0,c=void 0,u=0;while(1){u++,s=Rt(-t.width/2,t.width/2,5)-o/2,l=Rt(-t.height/2,t.height/2,5)+r/2,c=[s-5+t.width/2,l-5-r+t.height/2,s+o+5+t.width/2,l+5+t.height/2];var h=Lt(c,n,t.width,t.height);if(!h)break;if(1e3==u){c=[-100,-100,-100,-100];break}}n[i].area=c}break;case"vertical":for(var p=function(){return Math.random()>.7},f=0;f<n.length;f++){var d=n[f].name,g=n[f].textSize,y=v(d,g),x=p(),m=void 0,_=void 0,b=void 0,S=void 0,w=0;while(1){w++;var A=void 0;if(x?(m=Rt(-t.width/2,t.width/2,5)-y/2,_=Rt(-t.height/2,t.height/2,5)+g/2,b=[_-5-y+t.width/2,-m-5+t.height/2,_+5+t.width/2,-m+g+5+t.height/2],S=[t.width-(t.width/2-t.height/2)-(-m+g+5+t.height/2)-5,t.height/2-t.width/2+(_-5-y+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-m+g+5+t.height/2)+g,t.height/2-t.width/2+(_-5-y+t.width/2)+y+5],A=Lt(S,n,t.height,t.width)):(m=Rt(-t.width/2,t.width/2,5)-y/2,_=Rt(-t.height/2,t.height/2,5)+g/2,b=[m-5+t.width/2,_-5-g+t.height/2,m+y+5+t.width/2,_+5+t.height/2],A=Lt(b,n,t.width,t.height)),!A)break;if(1e3==w){b=[-1e3,-1e3,-1e3,-1e3];break}}x?(n[f].area=S,n[f].areav=b):n[f].area=b,n[f].rotate=x}break}return n}function Ht(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;i({},{type:"normal",autoColors:!0},e.extra.word);a.beginPath(),a.setFillStyle(e.background||"#FFFFFF"),a.rect(0,0,e.width,e.height),a.fill(),a.save();var o=e.chartData.wordCloudData;a.translate(e.width/2,e.height/2);for(var s=0;s<o.length;s++){a.save(),o[s].rotate&&a.rotate(90*Math.PI/180);var l=o[s].name,c=o[s].textSize,u=v(l,c);a.beginPath(),a.setStrokeStyle(o[s].color),a.setFillStyle(o[s].color),a.setFontSize(c),o[s].rotate?o[s].areav[0]>0&&(e.tooltip&&e.tooltip.index==s?a.strokeText(l,(o[s].areav[0]+5-e.width/2)*r-u*(1-r)/2,(o[s].areav[1]+5+c-e.height/2)*r):a.fillText(l,(o[s].areav[0]+5-e.width/2)*r-u*(1-r)/2,(o[s].areav[1]+5+c-e.height/2)*r)):o[s].area[0]>0&&(e.tooltip&&e.tooltip.index==s?a.strokeText(l,(o[s].area[0]+5-e.width/2)*r-u*(1-r)/2,(o[s].area[1]+5+c-e.height/2)*r):a.fillText(l,(o[s].area[0]+5-e.width/2)*r-u*(1-r)/2,(o[s].area[1]+5+c-e.height/2)*r)),a.stroke(),a.restore()}a.restore()}function qt(t,e,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i({},{activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"},e.extra.funnel),l=(e.height-e.area[0]-e.area[2])/t.length,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=s.activeWidth,h=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u);t=q(t,h,o),a.save(),a.translate(c.x,c.y);for(var p=0;p<t.length;p++)0==p?(e.tooltip&&e.tooltip.index==p&&(a.beginPath(),a.setFillStyle(r(t[p].color,s.activeOpacity)),a.moveTo(-u,0),a.lineTo(-t[p].radius-u,-l),a.lineTo(t[p].radius+u,-l),a.lineTo(u,0),a.lineTo(-u,0),a.closePath(),a.fill()),t[p].funnelArea=[c.x-t[p].radius,c.y-l,c.x+t[p].radius,c.y],a.beginPath(),a.setLineWidth(s.borderWidth*e.pixelRatio),a.setStrokeStyle(s.borderColor),a.setFillStyle(r(t[p].color,s.fillOpacity)),a.moveTo(0,0),a.lineTo(-t[p].radius,-l),a.lineTo(t[p].radius,-l),a.lineTo(0,0),a.closePath(),a.fill(),1==s.border&&a.stroke()):(e.tooltip&&e.tooltip.index==p&&(a.beginPath(),a.setFillStyle(r(t[p].color,s.activeOpacity)),a.moveTo(0,0),a.lineTo(-t[p-1].radius-u,0),a.lineTo(-t[p].radius-u,-l),a.lineTo(t[p].radius+u,-l),a.lineTo(t[p-1].radius+u,0),a.lineTo(0,0),a.closePath(),a.fill()),t[p].funnelArea=[c.x-t[p].radius,c.y-l*(p+1),c.x+t[p].radius,c.y-l*p],a.beginPath(),a.setLineWidth(s.borderWidth*e.pixelRatio),a.setStrokeStyle(s.borderColor),a.setFillStyle(r(t[p].color,s.fillOpacity)),a.moveTo(0,0),a.lineTo(-t[p-1].radius,0),a.lineTo(-t[p].radius,-l),a.lineTo(t[p].radius,-l),a.lineTo(t[p-1].radius,0),a.lineTo(0,0),a.closePath(),a.fill(),1==s.border&&a.stroke()),a.translate(0,-l);return a.restore(),!1!==e.dataLabel&&1===o&&Ut(t,e,a,l,s.labelAlign,u,c),{center:c,radius:h,series:t}}function Ut(t,e,n,i,r,o,s){for(var l=0;l<t.length;l++){var c=t[l],u=void 0,h=void 0,p=void 0,f=void 0,d=c.format?c.format(+c._proportion_.toFixed(2)):a.toFixed(100*c._proportion_)+"%";"right"==r?(u=0==l?(c.funnelArea[2]+s.x)/2:(c.funnelArea[2]+t[l-1].funnelArea[2])/2,h=u+2*o,p=c.funnelArea[1]+i/2,f=c.textSize||e.fontSize,n.setLineWidth(1*e.pixelRatio),n.setStrokeStyle(c.color),n.setFillStyle(c.color),n.beginPath(),n.moveTo(u,p),n.lineTo(h,p),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(h,p),n.arc(h,p,2,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(f),n.setFillStyle(c.textColor||"#666666"),n.fillText(d,h+5,p+f/2-2),n.closePath(),n.stroke(),n.closePath()):(u=0==l?(c.funnelArea[0]+s.x)/2:(c.funnelArea[0]+t[l-1].funnelArea[0])/2,h=u-2*o,p=c.funnelArea[1]+i/2,f=c.textSize||e.fontSize,n.setLineWidth(1*e.pixelRatio),n.setStrokeStyle(c.color),n.setFillStyle(c.color),n.beginPath(),n.moveTo(u,p),n.lineTo(h,p),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(h,p),n.arc(h,p,2,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(f),n.setFillStyle(c.textColor||"#666666"),n.fillText(d,h-5-v(d),p+f/2-2),n.closePath(),n.stroke(),n.closePath())}}function Vt(t,e){e.draw()}var Xt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Gt(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"linear";var e=17;function n(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}var i=n(),a=null,r=function(n){if(null===n||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=n),n-a<t.duration){var o=(n-a)/t.duration,s=Xt[t.timing];o=s(o),t.onProcess&&t.onProcess(o),i(r,e)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};r=r.bind(this),i(r,e)}function Jt(t,e,n,a){var r=this,o=e.series,l=e.categories;o=d(o,e,n);var c=e.animation?e.duration:0;r.animationInstance&&r.animationInstance.stop();var u=null;if("candle"==t){var h=i({},e.extra.candle.average);h.show?(u=s(h.day,h.name,h.color,o[0].data),u=d(u,e,n),e.seriesMA=u):u=e.seriesMA?e.seriesMA=d(e.seriesMA,e,n):o}else u=o;e._series_=o=P(o),e.area=new Array(4);for(var p=0;p<4;p++)e.area[p]=e.padding[p];var f=I(u,e,n,e.chartData),g=f.area.wholeHeight,v=f.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=g;break;case"bottom":e.area[2]+=g;break;case"left":e.area[3]+=v;break;case"right":e.area[1]+=v;break}var y={},x=0;if("line"===e.type||"column"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type){if(y=at(o,e,n),x=y.yAxisWidth,e.yAxis.showTitle){for(var m=0,_=0;_<e.yAxis.data.length;_++)m=Math.max(m,e.yAxis.data[_].titleFontSize?e.yAxis.data[_].titleFontSize:n.fontSize);e.area[0]+=(m+6)*e.pixelRatio}for(var b=0,S=0,w=0;w<x.length;w++)"left"==x[w].position?(e.area[3]+=S>0?x[w].width+e.yAxis.padding:x[w].width,S+=1):(e.area[1]+=b>0?x[w].width+e.yAxis.padding:x[w].width,b+=1)}else n.yAxisWidth=x;if(e.chartData.yAxisData=y,e.categories&&e.categories.length){e.chartData.xAxisData=Z(e.categories,e,n);var A=E(e.categories,e,n,e.chartData.xAxisData.eachSpacing),T=A.xAxisHeight,k=A.angle;n.xAxisHeight=T,n._xAxisTextAngle_=k,e.area[2]+=T,e.chartData.categoriesData=A}else if("line"===e.type||"area"===e.type||"points"===e.type){e.chartData.xAxisData=N(o,e,n),l=e.chartData.xAxisData.rangesFormat;var D=E(l,e,n,e.chartData.xAxisData.eachSpacing),F=D.xAxisHeight,O=D.angle;n.xAxisHeight=F,n._xAxisTextAngle_=O,e.area[2]+=F,e.chartData.categoriesData=D}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var C=0,$=e.chartData.xAxisData.xAxisPoints,M=e.chartData.xAxisData.startX,R=e.chartData.xAxisData.endX,L=e.chartData.xAxisData.eachSpacing,B=L*($.length-1),j=R-M;C=j-B,r.scrollOption={currentOffset:C,startTouchX:C,distance:0,lastMoveTime:0},e._scrollDistance_=C}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(n._pieTextMaxLength_=!1===e.dataLabel?0:J(u)),t){case"word":var z=i({},{type:"normal",autoColors:!0},e.extra.word);1!=e.updateData&&void 0!=e.updateData||(e.chartData.wordCloudData=Wt(e,z.type)),this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Ht(o,e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"map":a.clearRect(0,0,e.width,e.height),Nt(o,e,n,a);break;case"funnel":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.funnelData=qt(o,e,n,a,t),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new Gt({timing:"easeIn",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Pt(l,e,n,a),Tt(l,e,n,a);var i=St(o,e,n,a,t),r=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=s,e.chartData.eachSpacing=c,kt(o,e,n,a),!1!==e.enableMarkLine&&1===t&>(e,n,a),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t,c,r),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Gt({timing:"easeIn",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Pt(l,e,n,a),Tt(l,e,n,a);var i=wt(o,e,n,a,t),r=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=s,e.chartData.eachSpacing=c,kt(o,e,n,a),!1!==e.enableMarkLine&&1===t&>(e,n,a),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t,c,r),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new Gt({timing:"easeIn",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Pt(l,e,n,a),Tt(l,e,n,a);var i=mt(o,e,n,a,t),r=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=s,e.chartData.eachSpacing=c,kt(o,e,n,a),!1!==e.enableMarkLine&&1===t&>(e,n,a),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t,c,r),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new Gt({timing:"easeIn",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Pt(l,e,n,a),Tt(l,e,n,a);var i=bt(o,e,n,a,t),r=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=s,e.chartData.eachSpacing=c,kt(o,e,n,a),!1!==e.enableMarkLine&&1===t&>(e,n,a),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t,c,r),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.pieData=Ft(o,e,n,a,t),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.pieData=Ot(o,e,n,a,t),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.radarData=Mt(o,e,n,a,t),Dt(e.series,e,n,a,e.chartData),At(e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.arcbarData=Ct(o,e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Gt({timing:"easeInOut",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),e.chartData.gaugeData=$t(l,o,e,n,a,t),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Gt({timing:"easeIn",duration:c,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&st(a,e),Pt(l,e,n,a),Tt(l,e,n,a);var i=_t(o,u,e,n,a,t),r=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=s,e.chartData.eachSpacing=c,kt(o,e,n,a),!1!==e.enableMarkLine&&1===t&>(e,n,a),Dt(u||e.series,e,n,a,e.chartData),At(e,n,a,t,c,r),Vt(e,a)},onAnimationFinish:function(){r.event.trigger("renderComplete")}});break}}function Kt(){this.events={}}Gt.prototype.stop=function(){this.isStop=!0},Kt.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Kt.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],a=e.slice(1);this.events[i]&&this.events[i].forEach((function(t){try{t.apply(null,a)}catch(e){console.error(e)}}))};var Yt=function(t){t.pixelRatio=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize*t.pixelRatio:13*t.pixelRatio,t.title=i({},t.title),t.subtitle=i({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=i({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*t.pixelRatio,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.yAxis.dashLength*=t.pixelRatio,t.yAxis.padding*=t.pixelRatio,t.xAxis=i({},{rotateLabel:!1,type:"calibration",gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.dashLength*=t.pixelRatio,t.legend=i({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:"#333333",format:{},hiddenColor:"#CECECE"},t.legend),t.legend.borderWidth=t.legend.borderWidth*t.pixelRatio,t.legend.itemGap=t.legend.itemGap*t.pixelRatio,t.legend.padding=t.legend.padding*t.pixelRatio,t.legend.margin=t.legend.margin*t.pixelRatio,t.extra=i({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate;var a=JSON.parse(JSON.stringify(n));if(a.colors=t.colors?t.colors:a.colors,a.yAxisTitleWidth=!0!==t.yAxis.disabled&&t.yAxis.title?a.yAxisTitleWidth:0,"pie"!=t.type&&"ring"!=t.type||(a.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pixelRatio||a.pieChartLinePadding*t.pixelRatio),"rose"==t.type&&(a.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pixelRatio||a.pieChartLinePadding*t.pixelRatio),a.pieChartTextPadding=!1===t.dataLabel?0:a.pieChartTextPadding*t.pixelRatio,a.yAxisSplit=t.yAxis.splitNumber?t.yAxis.splitNumber:n.yAxisSplit,a.rotate=t.rotate,t.rotate){var r=t.width,o=t.height;t.width=o,t.height=r}t.padding=t.padding?t.padding:a.padding;for(var s=0;s<4;s++)t.padding[s]*=t.pixelRatio;a.yAxisWidth=n.yAxisWidth*t.pixelRatio,a.xAxisHeight=n.xAxisHeight*t.pixelRatio,t.enableScroll&&t.xAxis.scrollShow&&(a.xAxisHeight+=6*t.pixelRatio),a.xAxisLineHeight=n.xAxisLineHeight*t.pixelRatio,a.fontSize=t.fontSize,a.titleFontSize=n.titleFontSize*t.pixelRatio,a.subtitleFontSize=n.subtitleFontSize*t.pixelRatio,a.toolTipPadding=n.toolTipPadding*t.pixelRatio,a.toolTipLineHeight=n.toolTipLineHeight*t.pixelRatio,a.columePadding=n.columePadding*t.pixelRatio,t.$this=t.$this?t.$this:this,this.context=e.createCanvasContext(t.canvasId,t.$this),t.chartData={},this.event=new Kt,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=a,Jt.call(this,t.type,t,a,this.context)};Yt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=i({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var n=at(this.opts.series,this.opts,this.config),a=n.yAxisWidth;this.config.yAxisWidth=a;var r=0,o=Z(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,u=o.eachSpacing,h=u*(s.length-1),p=c-l;r=p-h,this.scrollOption={currentOffset:r,startTouchX:r,distance:0,lastMoveTime:0},this.opts._scrollDistance_=r;break}Jt.call(this,this.opts.type,this.opts,this.config,this.context)},Yt.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;var n=at(this.opts.series,this.opts,this.config),i=n.yAxisWidth;this.config.yAxisWidth=i;var a=0,r=Z(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,s=r.startX,l=r.endX,c=r.eachSpacing,u=c*e,h=l-s,p=h-c*(o.length-1);a=h/2-u,a>0&&(a=0),a<p&&(a=p),this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a,Jt.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("请启用滚动条后使用!")},Yt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Yt.prototype.addEventListener=function(t,e){this.event.addEventListener(t,e)},Yt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var n=m(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?L({x:n.x,y:n.y},this.opts.chartData.pieData):"radar"===this.opts.type?C({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?$({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?R({x:n.x,y:n.y},this.opts):"word"===this.opts.type?M({x:n.x,y:n.y},this.opts.chartData.wordCloudData):k({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Yt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var n=m(e,this.opts,t);return D({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},Yt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;if(n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n){m(n,this.opts,t);var i=this.getLegendDataIndex(t);i>=0&&(this.opts.series[i].show=!this.opts.series[i].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Jt.call(this,this.opts.type,this.opts,this.config,this.context))}},Yt.prototype.showToolTip=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n||console.log("touchError");var a=m(n,this.opts,t),r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var s=this.getCurrentDataIndex(t);if(s>-1){var l=_(this.opts.series,s);if(0!==l.length){var c=w(l,this.opts.chartData.calPoints,s,this.opts.categories,e),u=c.textList,h=c.offset;h.y=a.y,o.tooltip={textList:u,offset:h,option:e,index:s}}}Jt.call(this,o.type,o,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1}),l=_(this.opts.series,s);if(0!==l.length){var p=A(l,this.opts.chartData.calPoints,s,this.opts.categories,e);u=p.textList,h=p.offset;h.y=a.y,o.tooltip={textList:u,offset:h,option:e,index:s}}}Jt.call(this,o.type,o,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1}),l=_(this.opts.series,s);if(0!==l.length){c=T(this.opts.series[0].data,l,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,e),u=c.textList,h=c.offset;h.y=a.y,o.tooltip={textList:u,offset:h,option:e,index:s}}}Jt.call(this,o.type,o,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1}),l=this.opts._series_[s],u=[{text:e.format?e.format(l):l.name+": "+l.data,color:l.color}],h={x:a.x,y:a.y};o.tooltip={textList:u,offset:h,option:e,index:s}}Jt.call(this,o.type,o,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1}),l=this.opts._series_[s],u=[{text:e.format?e.format(l):l.properties.name,color:l.color}],h={x:a.x,y:a.y};o.tooltip={textList:u,offset:h,option:e,index:s}}o.updateData=!1,Jt.call(this,o.type,o,this.config,this.context)}if("radar"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){r=this.scrollOption.currentOffset,o=i({},this.opts,{_scrollDistance_:r,animation:!1}),l=_(this.opts.series,s);if(0!==l.length){u=l.map((function(t){return{text:e.format?e.format(t):t.name+": "+t.data,color:t.color}})),h={x:a.x,y:a.y};o.tooltip={textList:u,offset:h,option:e,index:s}}}Jt.call(this,o.type,o,this.config,this.context)}},Yt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=i({},this.opts,{_scrollDistance_:t,animation:!1});Jt.call(this,this.opts.type,e,this.config,this.context)},Yt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var n=m(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},Yt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.extra.touchMoveLimit||20,n=Date.now(),a=n-this.scrollOption.lastMoveTime;if(!(a<Math.floor(1e3/e))){this.scrollOption.lastMoveTime=n;var r=null;if(r=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],r&&!0===this.opts.enableScroll){var o,s=m(r,this.opts,t);o=s.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,u=l(this,c+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=u-c;var h=i({},this.opts,{_scrollDistance_:c+o,animation:!1});return Jt.call(this,h.type,h,this.config,this.context),c+o}}},Yt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,n=e.currentOffset,i=e.distance;this.scrollOption.currentOffset=n+i,this.scrollOption.distance=0}},"object"===typeof t.exports&&(t.exports=Yt)}).call(this,n("543d")["default"])},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},d8f1:function(t,e){t.exports={error:"",isJSON:function(t){if("string"==typeof t)try{var e=JSON.parse(t);return!("object"!=typeof e||!e)}catch(n){return console.log("error:"+t+"!!!"+n),!1}},isNumber:function(t){var e=/^-?[1-9][0-9]?.?[0-9]*$/;return e.test(t)}}},f0c5:function(t,e,n){"use strict";function i(t,e,n,i,a,r,o,s,l,c){var u,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var p=Object.prototype.hasOwnProperty;for(var f in l)p.call(l,f)&&!p.call(h.components,f)&&(h.components[f]=l[f])}if(c&&((c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=n,h._compiled=!0),i&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):a&&(u=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),u)if(h.functional){h._injectStyles=u;var d=h.render;h.render=function(t,e){return u.call(e),d(t,e)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:h}}n.d(e,"a",(function(){return i}))}}]);