12345678910111213141516171819 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"01ed":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.showActionSheet=t.showModal=t.hideLoading=t.showLoading=t.hideToast=t.showToast=void 0;var n=function(t){e.showToast(t)};t.showToast=n;var r=function(){e.hideToast()};t.hideToast=r;var i=function(t){e.showLoading(t)};t.showLoading=i;var a=function(){e.hideLoading()};t.hideLoading=a;var o=function(t){e.showModal(t)};t.showModal=o;var s=function(t){e.showActionSheet(t)};t.showActionSheet=s}).call(this,n("543d")["default"])},"0816":function(e,t){function n(e){this.resolveFunc=function(){},this.rejectFunc=function(){},e(this.resolve.bind(this),this.reject.bind(this))}n.prototype.resolve=function(e){var t=this;setTimeout((function(){t.resolveFunc(e)}),0)},n.prototype.reject=function(e){var t=this;setTimeout((function(){t.rejectFunc(e)}),0)},n.prototype.then=function(e,t){return this.resolveFunc=e,this.rejectFunc=t,this},e.exports={_resolveStorage:{},_addResolve:function(e,t,n){this._resolveStorage[e]||(this._resolveStorage[e]=[]),this._resolveStorage[e].push({resolve:t,removeEventAfterTrigger:n})},on:function(e,t){var r=this;return new n((function(n){"undefined"===typeof t&&(t=!0),r._addResolve(e,n,t)}))},trigger:function(e,t){if(this._resolveStorage[e]&&this._resolveStorage[e].length){var n=[];for(var r in this._resolveStorage[e])this._resolveStorage[e][r].resolve(t),this._resolveStorage[e][r].removeEventAfterTrigger||n.push(this._resolveStorage[e][r]);this._resolveStorage[e]=n}}}},"0ff8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={emptyHeight:0,botNavHei:110,XBoolean:!1},i={getBoolEmpty:function(e){return{emptyHeight:e.emptyHeight,XBoolean:e.XBoolean}},getNavHei:function(e){return e.botNavHei},getBotHeight:function(e){return e.emptyHeight+e.botNavHei},getAll:function(e){return e},getEmpty:function(e){return e.emptyHeight}},a={setXBoolean:function(e,t){e.XBoolean=t},setEmptyHeight:function(e,t){e.emptyHeight=t}},o={setIphone:function(e,t){(t.model.indexOf("iPhone X")>-1||t.model.indexOf("iPhone12")>-1||t.model.indexOf("iPhone 11")>-1)&&(e.commit("setXBoolean",!0),e.commit("setEmptyHeight",50))}},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},2433:function(e,t){e.exports={acid:-1,version:"1.0.0",siteroot:"https://t11.9026.com",apiroot:"https://t11.9026.com/web/index.php?_mall_id=10001"}},"2d0a":function(e,t){},"2f62":function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * vuex v3.4.0
- * (c) 2020 Evan You
- * @license MIT
- */
- function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"Store",(function(){return v})),n.d(t,"createNamespacedHelpers",(function(){return M})),n.d(t,"install",(function(){return j})),n.d(t,"mapActions",(function(){return L})),n.d(t,"mapGetters",(function(){return E})),n.d(t,"mapMutations",(function(){return D})),n.d(t,"mapState",(function(){return $}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}function u(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){s(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,d);var f=function(e){this.register([],e,!1)};function h(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;h(e.concat(r),t.getChild(r),n.modules[r])}}f.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},f.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},f.prototype.update=function(e){h([],this.root,e)},f.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new p(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)},f.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var g;var v=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&j(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return c.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;b(this,l,[],this._modules.root),x(this,l),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&o(this)},m={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;b(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};s(i,(function(t,n){a[n]=u(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:a}),g.config.silent=o,e.strict&&O(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),g.nextTick((function(){return r.$destroy()})))}function b(e,t,n,r,i){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!i){var s=T(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){g.set(s,c,r.state)}))}var l=r.context=w(e,o,n);r.forEachMutation((function(t,n){var r=o+n;S(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:o+n,i=t.handler||t;k(e,r,i,l)})),r.forEachGetter((function(t,n){var r=o+n;P(e,r,t,l)})),r.forEachChild((function(r,a){b(e,t,n.concat(a),r,i)}))}function w(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var a=C(n,r,i),o=a.payload,s=a.options,c=a.type;return s&&s.root||(c=t+c),e.dispatch(c,o)},commit:r?e.commit:function(n,r,i){var a=C(n,r,i),o=a.payload,s=a.options,c=a.type;s&&s.root||(c=t+c),e.commit(c,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return A(e,t)}},state:{get:function(){return T(e.state,n)}}}),i}function A(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function k(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return l(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function P(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function O(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(e,t){return t.reduce((function(e,t){return e[t]}),e)}function C(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function j(e){g&&e===g||(g=e,r(g))}m.state.get=function(){return this._vm._data.$$state},m.state.set=function(e){0},v.prototype.commit=function(e,t,n){var r=this,i=C(e,t,n),a=i.type,o=i.payload,s=(i.options,{type:a,payload:o}),c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},v.prototype.dispatch=function(e,t){var n=this,r=C(e,t),i=r.type,a=r.payload,o={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(l){0}var c=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(l){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),b(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=T(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),_(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,m);var $=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=N(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),D=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=N(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),E=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||N(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),L=R((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=N(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),M=function(e){return{mapState:$.bind(null,e),mapGetters:E.bind(null,e),mapMutations:D.bind(null,e),mapActions:L.bind(null,e)}};function I(e){return F(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function F(e){return Array.isArray(e)||c(e)}function R(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function N(e,t,n){var r=e._modulesNamespaceMap[n];return r}var B={Store:v,install:j,version:"3.4.0",mapState:$,mapMutations:D,mapGetters:E,mapActions:L,createNamespacedHelpers:M};t["default"]=B}.call(this,n("c8ba"))},"36a5":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.removeStorage=t.setStorage=t.getStorage=t.removeStorageSync=t.getStorageSync=t.setStorageSync=t.clearStorage=void 0;r(n("2433"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(){e.clearStorageSync()};t.clearStorage=i;var a=function(t,n){e.setStorageSync(t,n)};t.setStorageSync=a;var o=function(t){return e.getStorageSync(t)};t.getStorageSync=o;var s=function(t){var n=t.key,r=t.success,i=t.fail;e.getStorage({key:n,success:function(e){r&&r(e)},fail:function(){i&&i()}})};t.getStorage=s;var c=function(t){var n=t.key,r=t.data,i=t.success,a=t.fail;e.setStorage({key:n,data:r,success:function(e){i&&i(e)},fail:function(){a&&a()}})};t.setStorage=c;var l=function(t){e.removeStorageSync(t)};t.removeStorageSync=l;var u=function(t){var n=t.key,r=t.success,i=t.fail;e.removeStorage({key:n,success:function(e){r&&r(e)},fail:function(){i&&i()}})};t.removeStorage=u}).call(this,n("543d")["default"])},"39cc":function(e,t){e.exports="4.4.8"},"3cd0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={install:function(e){e.mixin({onLoad:function(){console.log("全局混入的钩子函数")}})}};t.default=r},"3f114":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={EVENT_USER_LOGIN:"event_user_login",EVENT_USER_REGISTER:"event_user_register",EVENT_VIDEO_END:"event_video_end",EVENT_POPUP:"popUpEvent"};t.default=r},4212:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("9c53"));function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var o={route:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e){var t=getCurrentPages();t.length&&(e=t[t.length-1])}var n="";return n="/".concat(e.route.split("?")[0]),n},routeWithOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e){var t=getCurrentPages();t.length&&(e=t[t.length-1])}var n="";return n="/".concat(e.route.split("?")[0]),e.options&&(n+="?"+r.objectToUrlParams(e.options)),n},tabBarUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e){var n=getCurrentPages();if(n.length){var i=n.length-t>0&&t>0?n.length-t:0;e=n[n.length-1-i]}}var a="";a="/".concat(e.route.split("?")[0]);var o={};if(o=e.options,o){var s={};for(var c in o)"user_id"!=c&&"scene"!=c&&"params"!=c&&"first_id"!=c&&"select_cat_id"!=c&&"path"!=c&&"share_openid"!=c&&"custom_params"!=c&&"room_id"!=c&&"openid"!=c&&"multipleSlots"!=c&&"addGlobalClass"!=c&&("page_id"==c?o[c]>0&&(s[c]=o[c]):s[c]=o[c]);s=r.objectToUrlParams(s),s&&(a+="?"+s)}return a},reload:function(){getCurrentPages()[getCurrentPages().length-1].onShow()}};t.default=o},"4c11":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("a2ac")),i=a(n("2433"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(e,t){var n={};for(var r in t){var i=o({},r,{});for(var a in t[r])i[r][a]="".concat(e).concat(t[r][a]);n[r]=i[r]}return n},c=function(e){var t="";if(e.acid>0){var n=e.siteroot.substr(0,e.siteroot.indexOf("app/index.php"))+"addons/zjhj_bd/web/index.php";t=n+"?_acid="+e.acid+"&r="}else t=e.apiroot+"&r=";return s(t,r.default)},l=c(i.default);t.default=l},"543d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=It,t.createComponent=Xt,t.createPage=Gt,t.createPlugin=Jt,t.createSubpackageApp=Kt,t.default=void 0;var r=i(n("66fd"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){return u(e)||l(e,t)||h(e,t)||c()}function c(){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 l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}}function u(e){if(Array.isArray(e))return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return v(e)||g(e)||h(e)||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 h(e,t){if(e){if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function g(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function v(e){if(Array.isArray(e))return m(e)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e){return decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function _(){var e,t=wx.getStorageSync("uni_id_token")||"",n=t.split(".");if(!t||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse(y(n[1]))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}function x(e){e.prototype.uniIDHasRole=function(e){var t=_(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=_(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=_(),t=e.tokenExpired;return t>Date.now()}}var b=Object.prototype.toString,w=Object.prototype.hasOwnProperty;function A(e){return"function"===typeof e}function S(e){return"string"===typeof e}function k(e){return"[object Object]"===b.call(e)}function P(e,t){return w.call(e,t)}function O(){}function T(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var C=/-(\w)/g,j=T((function(e){return e.replace(C,(function(e,t){return t?t.toUpperCase():""}))})),$=["invoke","success","fail","complete","returnValue"],D={},E={};function L(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?M(n):n}function M(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function I(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function F(e,t){Object.keys(t).forEach((function(n){-1!==$.indexOf(n)&&A(t[n])&&(e[n]=L(e[n],t[n]))}))}function R(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==$.indexOf(n)&&A(t[n])&&I(e[n],t[n])}))}function N(e,t){"string"===typeof e&&k(t)?F(E[e]||(E[e]={}),t):k(e)&&F(D,e)}function B(e,t){"string"===typeof e?k(t)?R(E[e],t):delete E[e]:k(e)&&R(D,e)}function z(e){return function(t){return e(t)||t}}function H(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}function W(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];if(n)n=Promise.resolve(z(i));else{var a=i(t);if(H(a)&&(n=Promise.resolve(a)),!1===a)return{then:function(){}}}}return n||{then:function(e){return e(t)}}}function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(t){W(e[n],t).then((function(e){return A(r)&&r(e)||e}))}}})),t}function q(e,t){var n=[];Array.isArray(D.returnValue)&&n.push.apply(n,d(D.returnValue));var r=E[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,d(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function V(e){var t=Object.create(null);Object.keys(D).forEach((function(e){"returnValue"!==e&&(t[e]=D[e].slice())}));var n=E[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function G(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),a=3;a<r;a++)i[a-3]=arguments[a];var o=V(e);if(o&&Object.keys(o).length){if(Array.isArray(o.invoke)){var s=W(o.invoke,n);return s.then((function(e){return t.apply(void 0,[U(o,e)].concat(i))}))}return t.apply(void 0,[U(o,n)].concat(i))}return t.apply(void 0,[n].concat(i))}var X={returnValue:function(e){return H(e)?new Promise((function(t,n){e.then((function(e){e[0]?n(e[0]):t(e[1])}))})):e}},K=/^\$|Window$|WindowStyle$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,J=/^create|Manager$/,Q=["createBLEConnection"],Z=["createBLEConnection"],Y=/^on|^off/;function ee(e){return J.test(e)&&-1===Q.indexOf(e)}function te(e){return K.test(e)&&-1===Z.indexOf(e)}function ne(e){return Y.test(e)&&"onPush"!==e}function re(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function ie(e){return!(ee(e)||te(e)||ne(e))}function ae(e,t){return ie(e)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return A(n.success)||A(n.fail)||A(n.complete)?q(e,G.apply(void 0,[e,t,n].concat(i))):q(e,re(new Promise((function(r,a){G.apply(void 0,[e,t,Object.assign({},n,{success:r,fail:a})].concat(i))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))});var oe=1e-4,se=750,ce=!1,le=0,ue=0;function pe(){var e=wx.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,r=e.windowWidth;le=r,ue=n,ce="ios"===t}function de(e,t){if(0===le&&pe(),e=Number(e),0===e)return 0;var n=e/se*(t||le);return n<0&&(n=-n),n=Math.floor(n+oe),0===n&&(n=1!==ue&&ce?.5:1),e<0?-n:n}var fe={promiseInterceptor:X},he=Object.freeze({__proto__:null,upx2px:de,addInterceptor:N,removeInterceptor:B,interceptors:fe});function ge(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}var ve,me={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=ge(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},ye={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r<t)||e!==n[t]}))):e.current=n[0],{indicator:!1,loop:!1}}}}},_e="__DC_STAT_UUID";function xe(e){ve=ve||wx.getStorageSync(_e),ve||(ve=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:_e,data:ve})),e.deviceId=ve}function be(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.windowHeight-t.bottom}}}var we={returnValue:function(e){xe(e),be(e)}},Ae={redirectTo:me,previewImage:ye,getSystemInfo:we,getSystemInfoSync:we},Se=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],ke=[],Pe=["success","fail","cancel","complete"];function Oe(e,t,n){return function(r){return t(Ce(e,r,n))}}function Te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(k(t)){var a=!0===i?t:{};for(var o in A(n)&&(n=n(t,a)||{}),t)if(P(n,o)){var s=n[o];A(s)&&(s=s(t[o],t,a)),s?S(s)?a[s]=t[o]:k(s)&&(a[s.name?s.name:o]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(o,"'"))}else-1!==Pe.indexOf(o)?A(t[o])&&(a[o]=Oe(e,t[o],r)):i||(a[o]=t[o]);return a}return A(t)&&(t=Oe(e,t,r)),t}function Ce(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return A(Ae.returnValue)&&(t=Ae.returnValue(e,t)),Te(e,t,n,{},r)}function je(e,t){if(P(Ae,e)){var n=Ae[e];return n?function(t,r){var i=n;A(n)&&(i=n(t)),t=Te(e,t,i.args,i.returnValue);var a=[t];"undefined"!==typeof r&&a.push(r),A(i.name)?e=i.name(t):S(i.name)&&(e=i.name);var o=wx[e].apply(wx,a);return te(e)?Ce(e,o,i.returnValue,ee(e)):o}:function(){console.error("Platform '微信小程序' does not support '".concat(e,"'."))}}return t}var $e=Object.create(null),De=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function Ee(e){return function(t){var n=t.fail,r=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};A(n)&&n(i),A(r)&&r(i)}}De.forEach((function(e){$e[e]=Ee(e)}));var Le={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function Me(e){var t=e.service,n=e.success,r=e.fail,i=e.complete,a=!1;Le[t]?(a={errMsg:"getProvider:ok",service:t,provider:Le[t]},A(n)&&n(a)):(a={errMsg:"getProvider:fail service not found"},A(r)&&r(a)),A(i)&&i(a)}var Ie=Object.freeze({__proto__:null,getProvider:Me}),Fe=function(){var e;return function(){return e||(e=new r.default),e}}();function Re(e,t,n){return e[t].apply(e,n)}function Ne(){return Re(Fe(),"$on",Array.prototype.slice.call(arguments))}function Be(){return Re(Fe(),"$off",Array.prototype.slice.call(arguments))}function ze(){return Re(Fe(),"$once",Array.prototype.slice.call(arguments))}function He(){return Re(Fe(),"$emit",Array.prototype.slice.call(arguments))}var We=Object.freeze({__proto__:null,$on:Ne,$off:Be,$once:ze,$emit:He}),Ue=Object.freeze({__proto__:null}),qe=Page,Ve=Component,Ge=/:/g,Xe=T((function(e){return j(e.replace(Ge,"-"))}));function Ke(e){if(wx.canIUse&&wx.canIUse("nextTick")){var t=e.triggerEvent;e.triggerEvent=function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return t.apply(e,[Xe(n)].concat(i))}}}function Je(e,t){var n=t[e];t[e]=n?function(){Ke(this);for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(this,t)}:function(){Ke(this)}}qe.__$wrappered||(qe.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Je("onLoad",e),qe(e)},Page.after=qe.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Je("created",e),Ve(e)});var Qe=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function Ze(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){P(n,t)&&(e[t]=n[t])}))}function Ye(e,t){if(!t)return!0;if(r.default.options&&Array.isArray(r.default.options[e]))return!0;if(t=t.default||t,A(t))return!!A(t.extendOptions[e])||!!(t.super&&t.super.options&&Array.isArray(t.super.options[e]));if(A(t[e]))return!0;var n=t.mixins;return Array.isArray(n)?!!n.find((function(t){return Ye(e,t)})):void 0}function et(e,t,n){t.forEach((function(t){Ye(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function tt(e,t){var n;return t=t.default||t,n=A(t)?t:e.extend(t),t=n.options,[n,t]}function nt(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function rt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function it(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(i){Object({VUE_APP_NAME:"tpx",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(i){}return k(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||P(n,e)||(n[e]=r[e])})),n}var at=[String,Number,Boolean,Object,Array,null];function ot(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function st(e,t){var n=e.behaviors,r=e.extends,i=e.mixins,a=e.props;a||(e.props=a=[]);var o=[];return Array.isArray(n)&&n.forEach((function(e){o.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(a)?(a.push("name"),a.push("value")):(a.name={type:String,default:""},a.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),k(r)&&r.props&&o.push(t({properties:lt(r.props,!0)})),Array.isArray(i)&&i.forEach((function(e){k(e)&&e.props&&o.push(t({properties:lt(e.props,!0)}))})),o}function ct(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function lt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return t||(n.vueId={type:String,value:""},n.generic={type:Object,value:null},n.scopedSlotsCompiler={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){n[e]={type:null,observer:ot(e)}})):k(e)&&Object.keys(e).forEach((function(t){var r=e[t];if(k(r)){var i=r.default;A(i)&&(i=i()),r.type=ct(t,r.type),n[t]={type:-1!==at.indexOf(r.type)?r.type:null,value:i,observer:ot(t)}}else{var a=ct(t,r);n[t]={type:-1!==at.indexOf(a)?a:null,observer:ot(t)}}})),n}function ut(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=O,e.preventDefault=O,e.target=e.target||{},P(e,"detail")||(e.detail={}),P(e,"markerId")&&(e.detail="object"===typeof e.detail?e.detail:{},e.detail.markerId=e.markerId),k(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}function pt(e,t){var n=e;return t.forEach((function(t){var r=t[0],i=t[2];if(r||"undefined"!==typeof i){var a,o=t[1],s=t[3];Number.isInteger(r)?a=r:r?"string"===typeof r&&r&&(a=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):a=n,Number.isInteger(a)?n=i:o?Array.isArray(a)?n=a.find((function(t){return e.__get_value(o,t)===i})):k(a)?n=Object.keys(a).find((function(t){return e.__get_value(o,a[t])===i})):console.error("v-for 暂不支持循环数据:",a):n=a[i],s&&(n=e.__get_value(s,n))}})),n}function dt(e,t,n){var r={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?r["$"+i]=n:"arguments"===t?n.detail&&n.detail.__args__?r["$"+i]=n.detail.__args__:r["$"+i]=[n]:0===t.indexOf("$event.")?r["$"+i]=e.__get_value(t.replace("$event.",""),n):r["$"+i]=e.__get_value(t):r["$"+i]=e:r["$"+i]=pt(e,t)})),r}function ft(e){for(var t={},n=1;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}function ht(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,o=!1;if(i&&(o=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return o?[t]:t.detail.__args__||t.detail;var s=dt(e,r,t),c=[];return n.forEach((function(e){"$event"===e?"__set_model"!==a||i?i&&!o?c.push(t.detail.__args__[0]):c.push(t):c.push(t.target.value):Array.isArray(e)&&"o"===e[0]?c.push(ft(e)):"string"===typeof e&&P(s,e)?c.push(s[e]):c.push(e)})),c}var gt="~",vt="^";function mt(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function yt(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}function _t(e){var t=this;e=ut(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var i=e.type,a=[];return r.forEach((function(n){var r=n[0],o=n[1],s=r.charAt(0)===vt;r=s?r.slice(1):r;var c=r.charAt(0)===gt;r=c?r.slice(1):r,o&&mt(i,r)&&o.forEach((function(n){var r=n[0];if(r){var i=t.$vm;if(i.$options.generic&&(i=yt(i)||i),"$emit"===r)return void i.$emit.apply(i,ht(t.$vm,e,n[1],n[2],s,r));var o=i[r];if(!A(o))throw new Error(" _vm.".concat(r," is not a function"));if(c){if(o.once)return;o.once=!0}var l=ht(t.$vm,e,n[1],n[2],s,r);l=Array.isArray(l)?l:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(o.toString())&&(l=l.concat([,,,,,,,,,,e])),a.push(o.apply(i,l))}}))})),"input"===i&&1===a.length&&"undefined"!==typeof a[0]?a[0]:void 0}var xt={},bt=[];function wt(e){if(e){var t=xt[e];return delete xt[e],t}return bt.shift()}var At=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function St(){r.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=r.default.prototype.__call_hook;r.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=wt(n.__id__),delete n.__id__),e.call(this,t,n)}}function kt(){var e={},t={};r.default.prototype.$hasScopedSlotsParams=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destory",(function(){delete t[n]}))),r},r.default.prototype.$getScopedSlotsParams=function(n,r,i){var a=e[n];if(a){var o=a[r]||{};return i?o[i]:o}t[n]=this,this.$on("hook:destory",(function(){delete t[n]}))},r.default.prototype.$setScopedSlotsParams=function(n,r){var i=this.$options.propsData.vueId;if(i){var a=i.split(",")[0],o=e[a]=e[a]||{};o[n]=r,t[a]&&t[a].$forceUpdate()}},r.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}function Pt(e,t){var n=t.mocks,i=t.initRefs;St(),kt(),e.$options.store&&(r.default.prototype.$store=e.$options.store),x(r.default),r.default.prototype.mpHost="mp-weixin",r.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=p({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(i(this),Ze(this,n))}}});var a={onLaunch:function(t){this.$vm||(wx.canIUse&&!wx.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=e,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",t),this.$vm.__call_hook("onLaunch",t))}};a.globalData=e.$options.globalData||{};var o=e.$options.methods;return o&&Object.keys(o).forEach((function(e){a[e]=o[e]})),et(a,At),a}var Ot=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Tt(e,t){for(var n,r=e.$children,i=r.length-1;i>=0;i--){var a=r[i];if(a.$scope._$vueId===t)return a}for(var o=r.length-1;o>=0;o--)if(n=Tt(r[o],t),n)return n}function Ct(e){return Behavior(e)}function jt(){return!!this.route}function $t(e){this.triggerEvent("__l",e)}function Dt(e,t,n){var r=e.selectAllComponents(t);r.forEach((function(e){var r=e.dataset.ref;n[r]=e.$vm||e,"scoped"===e.dataset.vueGeneric&&e.selectAllComponents(".scoped-ref").forEach((function(e){Dt(e,t,n)}))}))}function Et(e){var t=e.$scope;Object.defineProperty(e,"$refs",{get:function(){var e={};Dt(t,".vue-ref",e);var n=t.selectAllComponents(".vue-ref-in-for");return n.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||t)})),e}})}function Lt(e){var t,n=e.detail||e.value,r=n.vuePid,i=n.vueOptions;r&&(t=Tt(this.$vm,r)),t||(t=this.$vm),i.parent=t}function Mt(e){return Pt(e,{mocks:Ot,initRefs:Et})}function It(e){return App(Mt(e)),e}var Ft=/[!'()*]/g,Rt=function(e){return"%"+e.charCodeAt(0).toString(16)},Nt=/%2C/g,Bt=function(e){return encodeURIComponent(e).replace(Ft,Rt).replace(Nt,",")};function zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var i=[];return r.forEach((function(e){void 0!==e&&(null===e?i.push(t(n)):i.push(t(n)+"="+t(e)))})),i.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,i=t.initRelation,a=tt(r.default,e),c=s(a,2),l=c[0],u=c[1],p=o({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(p,u["mp-weixin"].options);var d={options:p,data:it(u,r.default.prototype),behaviors:st(u,Ct),properties:lt(u.props,!1,u.__file),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};rt(e.vueId,this),i.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new l(t),nt(this.$vm,e.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(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Lt,__e:_t}};return u.externalClasses&&(d.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),n?d:[d,l]}function Wt(e){return Ht(e,{isPage:jt,initRelation:$t})}var Ut=["onShow","onHide","onUnload"];function qt(e,t){t.isPage,t.initRelation;var n=Wt(e);return et(n.methods,Ut,e),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+zt(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},n}function Vt(e){return qt(e,{isPage:jt,initRelation:$t})}function Gt(e){return Component(Vt(e))}function Xt(e){return Component(Wt(e))}function Kt(e){var t=Mt(e),n=getApp({allowDefault:!0});e.$scope=n;var r=n.globalData;if(r&&Object.keys(t.globalData).forEach((function(e){P(r,e)||(r[e]=t.globalData[e])})),Object.keys(t).forEach((function(e){P(n,e)||(n[e]=t[e])})),A(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.__call_hook("onShow",n)})),A(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.__call_hook("onHide",n)})),A(t.onLaunch)){var i=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.__call_hook("onLaunch",i)}return e}function Jt(e){var t=Mt(e);if(A(t.onShow)&&wx.onAppShow&&wx.onAppShow((function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.onShow.apply(e,r)})),A(t.onHide)&&wx.onAppHide&&wx.onAppHide((function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.onHide.apply(e,r)})),A(t.onLaunch)){var n=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();t.onLaunch.call(e,n)}return e}Ut.push.apply(Ut,Qe),Se.forEach((function(e){Ae[e]=!1})),ke.forEach((function(e){var t=Ae[e]&&Ae[e].name?Ae[e].name:e;wx.canIUse(t)||(Ae[e]=!1)}));var Qt={};"undefined"!==typeof Proxy?Qt=new Proxy({},{get:function(e,t){return P(e,t)?e[t]:he[t]?he[t]:Ue[t]?ae(t,Ue[t]):Ie[t]?ae(t,Ie[t]):$e[t]?ae(t,$e[t]):We[t]?We[t]:P(wx,t)||P(Ae,t)?ae(t,je(t,wx[t])):void 0},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(he).forEach((function(e){Qt[e]=he[e]})),Object.keys($e).forEach((function(e){Qt[e]=ae(e,$e[e])})),Object.keys(Ie).forEach((function(e){Qt[e]=ae(e,$e[e])})),Object.keys(We).forEach((function(e){Qt[e]=We[e]})),Object.keys(Ue).forEach((function(e){Qt[e]=ae(e,Ue[e])})),Object.keys(wx).forEach((function(e){(P(wx,e)||P(Ae,e))&&(Qt[e]=ae(e,je(e,wx[e])))}))),wx.createApp=It,wx.createPage=Gt,wx.createComponent=Xt,wx.createSubpackageApp=Kt,wx.createPlugin=Jt;var Zt=Qt,Yt=Zt;t.default=Yt},5879:function(e,t,n){},"5b34":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("f932")),i=o(n("4c11")),a=o(n("66fd"));function o(e){return e&&e.__esModule?e:{default:e}}var s=!0,c=!1,l=null,u="_APP_CONFIG",p=[],d=[],f=function(e,t){e&&p.push(e),t&&d.push(t),c||(c=!0,(0,r.default)({url:i.default.index.config}).then((function(e){if(c=!1,0===e.code){for(var t in l=e.data,a.default.prototype.$storage.setStorageSync(u,l),p)p[t](l);p=[]}else{for(var n in d)d[n](e.msg);d=[]}})).catch((function(e){for(var t in c=!1,d)d[t](e.msg);d=[]})))},h={getConfig:function(e){return new Promise((function(e,t){return l?e(l):(l=a.default.prototype.$storage.getStorageSync(u),l?(s&&(s=!1,f()),e(l)):void f(e,t))}))},resetConfig:function(){l=null,a.default.prototype.$storage.removeStorageSync(u),c=!1}};t.default=h},"5b534":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("da52")),i=o(n("6950")),a=n("36a5");function o(e){return e&&e.__esModule?e:{default:e}}var s=function(t){if(t.open_type||t.params||t.page_url){var n=t.open_type,o=t.params,s=t.page_url;switch(!Array.isArray(o)&&"[object String]"===Object.prototype.toString.call(o)&&o&&(o=JSON.parse(o)),n){case"reLaunch":e.reLaunch({url:o[0].value});break;case"redirect":e.redirectTo({url:o[0].value});break;case"navigate":for(var c=s.split("?")[0],l="?",u=0;u<o.length;u++)l+="".concat(o[u].key,"=").concat(o[u].value,"&");c+=l.slice(0,l.length-1),"?"===l&&(c=s),e.navigateTo({url:c});break;case"app_admin":1==r.default.state.user.info.identity.is_admin&&e.navigateTo({url:t.url});break;case"back":e.navigateBack({});break;case"tel":e.makePhoneCall({phoneNumber:o[0].value});break;case"web":e.navigateTo({url:"".concat(s.split("?")[0],"?url=").concat(encodeURIComponent(o[0].value))});break;case"app":for(var p="",d=0;d<o.length;d++)p+="".concat(o[d].key,"=").concat(o[d].value,"&");if("string"!==typeof p)return;var f=p.split("&"),h={};for(var g in f)if("string"===typeof f[g]&&f[g].length){var v=f[g].split("=");if(2!==v.length){for(var m="",y=1;y<v.length;y++)y+1!==v.length&&(m+="".concat(v[y],"=").concat(v[y+1]));h[v[0]]=m}else h[v[0]]=v[1]}var _=h,x="",b="";x=_.app_id||"",b=_.path||"",e.navigateToMiniProgram({appId:x,path:b});break;case"clear_cache":e.showModal({title:"提示",content:"确认清理缓存?",cancelText:"取消",confirmText:"确认",success:function(t){t.confirm&&(e.showLoading({title:"清理缓存..."}),(0,a.clearStorage)(),i.default&&r.default&&r.default.state.user.accessToken&&i.default.loginByToken(r.default.state.user.accessToken),r.default.dispatch("mallConfig/actionResetConfig"),e.hideLoading(),e.showToast({title:"清理完成",duration:1e3}))}});break;case"map":break}}},c=s;t.default=c}).call(this,n("543d")["default"])},"5b88":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(t){return new Promise((function(n,r){wx.requestSubscribeMessage?wx.requestSubscribeMessage({tmplIds:t,success:function(e){n(e)},fail:function(e){r(e)}}):e.showModal({title:"提示",content:"当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。",showCancel:!1,success:function(e){r({})}})}))},r=n;t.default=r}).call(this,n("543d")["default"])},"5ca1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z0-9_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z0-9_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;function o(e){for(var t={},n=e.split(","),r=0;r<n.length;r+=1)t[n[r]]=!0;return t}var s=o("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),c=o("address,code,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),l=o("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=o("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),p=o("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");function d(e,t){var n,o,d,f=e,h=[];function g(e,n){var r;if(n){for(n=n.toLowerCase(),r=h.length-1;r>=0;r-=1)if(h[r]===n)break}else r=0;if(r>=0){for(var i=h.length-1;i>=r;i-=1)t.end&&t.end(h[i]);h.length=r}}function v(e,n,r,i){if(n=n.toLowerCase(),c[n])while(h.last()&&l[h.last()])g("",h.last());if(u[n]&&h.last()===n&&g("",n),i=s[n]||!!i,i||h.push(n),t.start){var o=[];r.replace(a,(function(e,t){var n=arguments[2]||arguments[3]||arguments[4]||(p[t]?t:"");o.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,o,i)}}h.last=function(){return h[h.length-1]};while(e){if(o=!0,0===e.indexOf("</")?(d=e.match(i),d&&(e=e.substring(d[0].length),d[0].replace(i,g),o=!1)):0===e.indexOf("<")&&(d=e.match(r),d&&(e=e.substring(d[0].length),d[0].replace(r,v),o=!1)),o){n=e.indexOf("<");var m="";while(0===n)m+="<",e=e.substring(1),n=e.indexOf("<");m+=n<0?e:e.substring(0,n),e=n<0?"":e.substring(n),t.chars&&t.chars(m)}if(e===f)throw new Error("Parse Error: ".concat(e));f=e}g()}var f=d;t.default=f},"66fd":function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2021 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function p(e){return"[object RegExp]"===l.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}v("slot,component",!0);var m=v("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function x(e,t){return _.call(e,t)}function b(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var w=/-(\w)/g,A=b((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),S=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,P=b((function(e){return e.replace(k,"-$1").toLowerCase()}));function O(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function T(e,t){return e.bind(t)}var C=Function.prototype.bind?T:O;function j(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function $(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n<e.length;n++)e[n]&&$(t,e[n]);return t}function E(e,t,n){}var L=function(e,t,n){return!1},M=function(e){return e};function I(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every((function(e,n){return I(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return I(e[n],t[n])}))}catch(l){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(I(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var N=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:E,parsePlatformTagName:M,mustUseProp:L,async:!0,_lifecycleHooks:B},H=/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 W(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function U(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=new RegExp("[^"+H.source+".$_\\d]");function V(e){if(!q.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var G,X="__proto__"in{},K="undefined"!==typeof window,J="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Q=J&&WXEnvironment.platform.toLowerCase(),Z=K&&window.navigator.userAgent.toLowerCase(),Y=Z&&/msie|trident/.test(Z),ee=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),te=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Q),ne=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(K)try{var re={};Object.defineProperty(re,"passive",{get:function(){}}),window.addEventListener("test-passive",null,re)}catch(ni){}var ie=function(){return void 0===G&&(G=!K&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},ae=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"===typeof e&&/native code/.test(e.toString())}var se,ce="undefined"!==typeof Symbol&&oe(Symbol)&&"undefined"!==typeof Reflect&&oe(Reflect.ownKeys);se="undefined"!==typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=E,ue=0,pe=function(){this.id=ue++,this.subs=[]};function de(e){pe.SharedObject.targetStack.push(e),pe.SharedObject.target=e,pe.target=e}function fe(){pe.SharedObject.targetStack.pop(),pe.SharedObject.target=pe.SharedObject.targetStack[pe.SharedObject.targetStack.length-1],pe.target=pe.SharedObject.target}pe.prototype.addSub=function(e){this.subs.push(e)},pe.prototype.removeSub=function(e){y(this.subs,e)},pe.prototype.depend=function(){pe.SharedObject.target&&pe.SharedObject.target.addDep(this)},pe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},pe.SharedObject={},pe.SharedObject.target=null,pe.SharedObject.targetStack=[];var he=function(e,t,n,r,i,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.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},ge={child:{configurable:!0}};ge.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,ge);var ve=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function me(e){return new he(void 0,void 0,void 0,String(e))}function ye(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var _e=Array.prototype,xe=Object.create(_e),be=["push","pop","shift","unshift","splice","sort","reverse"];be.forEach((function(e){var t=_e[e];U(xe,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&o.observeArray(i),o.dep.notify(),a}))}));var we=Object.getOwnPropertyNames(xe),Ae=!0;function Se(e){Ae=e}var ke=function(e){this.value=e,this.dep=new pe,this.vmCount=0,U(e,"__ob__",this),Array.isArray(e)?(X?e.push!==e.__proto__.push?Oe(e,xe,we):Pe(e,xe):Oe(e,xe,we),this.observeArray(e)):this.walk(e)};function Pe(e,t){e.__proto__=t}function Oe(e,t,n){for(var r=0,i=n.length;r<i;r++){var a=n[r];U(e,a,t[a])}}function Te(e,t){var n;if(c(e)&&!(e instanceof he))return x(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:Ae&&!ie()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function Ce(e,t,n,r,i){var a=new pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var s=o&&o.get,c=o&&o.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!i&&Te(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return pe.SharedObject.target&&(a.depend(),l&&(l.dep.depend(),Array.isArray(t)&&De(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!c||(c?c.call(e,t):n=t,l=!i&&Te(t),a.notify())}})}}function je(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ce(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function $e(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||x(e,t)&&(delete e[t],n&&n.dep.notify())}}function De(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&De(t)}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ce(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Te(e[t])};var Ee=z.optionMergeStrategies;function Le(e,t){if(!t)return e;for(var n,r,i,a=ce?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(r=e[n],i=t[n],x(e,n)?r!==i&&u(r)&&u(i)&&Le(r,i):je(e,n,i));return e}function Me(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Le(r,i):i}:t?e?function(){return Le("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ie(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?Fe(n):n}function Fe(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function Re(e,t,n,r){var i=Object.create(e||null);return t?$(i,t):i}Ee.data=function(e,t,n){return n?Me(e,t,n):t&&"function"!==typeof t?e:Me(e,t)},B.forEach((function(e){Ee[e]=Ie})),N.forEach((function(e){Ee[e+"s"]=Re})),Ee.watch=function(e,t,n,r){if(e===ne&&(e=void 0),t===ne&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in $(i,e),t){var o=i[a],s=t[a];o&&!Array.isArray(o)&&(o=[o]),i[a]=o?o.concat(s):Array.isArray(s)?s:[s]}return i},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return $(i,e),t&&$(i,t),i},Ee.provide=Me;var Ne=function(e,t){return void 0===t?e:t};function Be(e,t){var n=e.props;if(n){var r,i,a,o={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=A(i),o[a]={type:null})}else if(u(n))for(var s in n)i=n[s],a=A(s),o[a]=u(i)?i:{type:i};else 0;e.props=o}}function ze(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var a in n){var o=n[a];r[a]=u(o)?$({from:a},o):{from:o}}else 0}}function He(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}function We(e,t,n){if("function"===typeof t&&(t=t.options),Be(t,n),ze(t,n),He(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=We(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)x(e,a)||s(a);function s(r){var i=Ee[r]||Ne;o[r]=i(e[r],t[r],n,r)}return o}function Ue(e,t,n,r){if("string"===typeof n){var i=e[t];if(x(i,n))return i[n];var a=A(n);if(x(i,a))return i[a];var o=S(a);if(x(i,o))return i[o];var s=i[n]||i[a]||i[o];return s}}function qe(e,t,n,r){var i=t[e],a=!x(n,e),o=n[e],s=Ke(Boolean,i.type);if(s>-1)if(a&&!x(i,"default"))o=!1;else if(""===o||o===P(e)){var c=Ke(String,i.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=Ve(r,i,e);var l=Ae;Se(!0),Te(o),Se(l)}return o}function Ve(e,t,n){if(x(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==Ge(t.type)?r.call(e):r}}function Ge(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Xe(e,t){return Ge(e)===Ge(t)}function Ke(e,t){if(!Array.isArray(t))return Xe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Xe(t[n],e))return n;return-1}function Je(e,t,n){de();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=!1===i[a].call(r,e,t,n);if(o)return}catch(ni){Ze(ni,r,"errorCaptured hook")}}}Ze(e,t,n)}finally{fe()}}function Qe(e,t,n,r,i){var a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&f(a)&&!a._handled&&(a.catch((function(e){return Je(e,r,i+" (Promise/async)")})),a._handled=!0)}catch(ni){Je(ni,r,i)}return a}function Ze(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(ni){ni!==e&&Ye(ni,null,"config.errorHandler")}Ye(e,t,n)}function Ye(e,t,n){if(!K&&!J||"undefined"===typeof console)throw e;console.error(e)}var et,tt=[],nt=!1;function rt(){nt=!1;var e=tt.slice(0);tt.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&oe(Promise)){var it=Promise.resolve();et=function(){it.then(rt),te&&setTimeout(E)}}else if(Y||"undefined"===typeof MutationObserver||!oe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())et="undefined"!==typeof setImmediate&&oe(setImmediate)?function(){setImmediate(rt)}:function(){setTimeout(rt,0)};else{var at=1,ot=new MutationObserver(rt),st=document.createTextNode(String(at));ot.observe(st,{characterData:!0}),et=function(){at=(at+1)%2,st.data=String(at)}}function ct(e,t){var n;if(tt.push((function(){if(e)try{e.call(t)}catch(ni){Je(ni,t,"nextTick")}else n&&n(t)})),nt||(nt=!0,et()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var lt=new se;function ut(e){pt(e,lt),lt.clear()}function pt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof he)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i){n=e.length;while(n--)pt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)pt(e[r[n]],t)}}}var dt=b((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function ft(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Qe(r,null,arguments,t,"v-on handler");for(var i=r.slice(),a=0;a<i.length;a++)Qe(i[a],null,e,t,"v-on handler")}return n.fns=e,n}function ht(e,t,n,i,o,s){var c,l,u,p;for(c in e)l=e[c],u=t[c],p=dt(c),r(l)||(r(u)?(r(l.fns)&&(l=e[c]=ft(l,s)),a(p.once)&&(l=e[c]=o(p.name,l,p.capture)),n(p.name,l,p.capture,p.passive,p.params)):l!==u&&(u.fns=l,e[c]=u));for(c in t)r(e[c])&&(p=dt(c),i(p.name,t[c],p.capture))}function gt(e,t,n,a){var o=t.options.mpOptions&&t.options.mpOptions.properties;if(r(o))return n;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,l=e.props;if(i(c)||i(l))for(var u in o){var p=P(u),d=mt(n,l,u,p,!0)||mt(n,c,u,p,!1);d&&n[u]&&-1!==s.indexOf(p)&&a[A(n[u])]&&(n[u]=a[A(n[u])])}return n}function vt(e,t,n,a){var o=t.options.props;if(r(o))return gt(e,t,{},a);var s={},c=e.attrs,l=e.props;if(i(c)||i(l))for(var u in o){var p=P(u);mt(s,l,u,p,!0)||mt(s,c,u,p,!1)}return gt(e,t,s,a)}function mt(e,t,n,r,a){if(i(t)){if(x(t,n))return e[n]=t[n],a||delete t[n],!0;if(x(t,r))return e[n]=t[r],a||delete t[r],!0}return!1}function yt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function _t(e){return s(e)?[me(e)]:Array.isArray(e)?bt(e):void 0}function xt(e){return i(e)&&i(e.text)&&o(e.isComment)}function bt(e,t){var n,o,c,l,u=[];for(n=0;n<e.length;n++)o=e[n],r(o)||"boolean"===typeof o||(c=u.length-1,l=u[c],Array.isArray(o)?o.length>0&&(o=bt(o,(t||"")+"_"+n),xt(o[0])&&xt(l)&&(u[c]=me(l.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?xt(l)?u[c]=me(l.text+o):""!==o&&u.push(me(o)):xt(o)&&xt(l)?u[c]=me(l.text+o.text):(a(e._isVList)&&i(o.tag)&&r(o.key)&&i(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function wt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function At(e){var t=St(e.$options.inject,e);t&&(Se(!1),Object.keys(t).forEach((function(n){Ce(e,n,t[n])})),Se(!0))}function St(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var a=r[i];if("__ob__"!==a){var o=e[a].from,s=t;while(s){if(s._provided&&x(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var c=e[a].default;n[a]="function"===typeof c?c.call(t):c}else 0}}return n}}function kt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var a=e[r],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)a.asyncMeta&&a.asyncMeta.data&&"page"===a.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(a):(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(Pt)&&delete n[l];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ot(e,t,r){var i,a=Object.keys(t).length>0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&r&&r!==n&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Tt(t,c,e[c]))}else i={};for(var l in t)l in i||(i[l]=Ct(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),U(i,"$stable",o),U(i,"$key",s),U(i,"$hasNormal",a),i}function Tt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:_t(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Ct(e,t){return function(){return e[t]}}function jt(e,t){var n,r,a,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,a=e.length;r<a;r++)n[r]=t(e[r],r,r,r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(c(e))if(ce&&e[Symbol.iterator]){n=[];var l=e[Symbol.iterator](),u=l.next();while(!u.done)n.push(t(u.value,n.length,r,r++)),u=l.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,a=o.length;r<a;r++)s=o[r],n[r]=t(e[s],s,r,r);return i(n)||(n=[]),n._isVList=!0,n}function $t(e,t,n,r){var i,a=this.$scopedSlots[e];a?(n=n||{},r&&(n=$($({},r),n)),i=a(n,this,n._i)||t):i=this.$slots[e]||t;var o=n&&n.slot;return o?this.$createElement("template",{slot:o},i):i}function Dt(e){return Ue(this.$options,"filters",e,!0)||M}function Et(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Lt(e,t,n,r,i){var a=z.keyCodes[t]||n;return i&&r&&!z.keyCodes[t]?Et(i,r):a?Et(a,e):r?P(r)!==t:void 0}function Mt(e,t,n,r,i){if(n)if(c(n)){var a;Array.isArray(n)&&(n=D(n));var o=function(o){if("class"===o||"style"===o||m(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||z.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=A(o),l=P(o);if(!(c in a)&&!(l in a)&&(a[o]=n[o],i)){var u=e.on||(e.on={});u["update:"+o]=function(e){n[o]=e}}};for(var s in n)o(s)}else;return e}function It(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Rt(r,"__static__"+e,!1)),r}function Ft(e,t,n){return Rt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Rt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&Nt(e[r],t+"_"+r,n);else Nt(e,t,n)}function Nt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Bt(e,t){if(t)if(u(t)){var n=e.on=e.on?$({},e.on):{};for(var r in t){var i=n[r],a=t[r];n[r]=i?[].concat(i,a):a}}else;return e}function zt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];Array.isArray(a)?zt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Ht(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Wt(e,t){return"string"===typeof e?t+e:e}function Ut(e){e._o=Ft,e._n=g,e._s=h,e._l=jt,e._t=$t,e._q=I,e._i=F,e._m=It,e._f=Dt,e._k=Lt,e._b=Mt,e._v=me,e._e=ve,e._u=zt,e._g=Bt,e._d=Ht,e._p=Wt}function qt(e,t,r,i,o){var s,c=this,l=o.options;x(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=a(l._compiled),p=!u;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=St(l.inject,i),this.slots=function(){return c.$slots||Ot(e.scopedSlots,c.$slots=kt(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ot(e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ot(e.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var a=an(s,e,t,n,r,p);return a&&!Array.isArray(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return an(s,e,t,n,r,p)}}function Vt(e,t,r,a,o){var s=e.options,c={},l=s.props;if(i(l))for(var u in l)c[u]=qe(u,l,t||n);else i(r.attrs)&&Xt(c,r.attrs),i(r.props)&&Xt(c,r.props);var p=new qt(r,c,o,a,e),d=s.render.call(null,p._c,p);if(d instanceof he)return Gt(d,r,p.parent,s,p);if(Array.isArray(d)){for(var f=_t(d)||[],h=new Array(f.length),g=0;g<f.length;g++)h[g]=Gt(f[g],r,p.parent,s,p);return h}}function Gt(e,t,n,r,i){var a=ye(e);return a.fnContext=n,a.fnOptions=r,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function Xt(e,t){for(var n in t)e[A(n)]=t[n]}Ut(qt.prototype);var Kt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Kt.prepatch(n,n)}else{var r=e.componentInstance=Zt(e,Sn);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;Tn(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(Dn(n,"onServiceCreated"),Dn(n,"onServiceAttached"),n._isMounted=!0,Dn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Un(n):jn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?$n(t,!0):t.$destroy())}},Jt=Object.keys(Kt);function Qt(e,t,n,o,s){if(!r(e)){var l=n.$options._base;if(c(e)&&(e=l.extend(e)),"function"===typeof e){var u;if(r(e.cid)&&(u=e,e=gn(u,l),void 0===e))return hn(u,t,n,o,s);t=t||{},fr(e),i(t.model)&&tn(e.options,t);var p=vt(t,e,s,n);if(a(e.options.functional))return Vt(e,p,t,n,o);var d=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}Yt(t);var h=e.options.name||s,g=new he("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:d,tag:s,children:o},u);return g}}}function Zt(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function Yt(e){for(var t=e.hook||(e.hook={}),n=0;n<Jt.length;n++){var r=Jt[n],i=t[r],a=Kt[r];i===a||i&&i._merged||(t[r]=i?en(a,i):a)}}function en(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function tn(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var a=t.on||(t.on={}),o=a[r],s=t.model.callback;i(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(a[r]=[s].concat(o)):a[r]=s}var nn=1,rn=2;function an(e,t,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),a(o)&&(i=rn),on(e,t,n,r,i)}function on(e,t,n,r,a){if(i(n)&&i(n.__ob__))return ve();if(i(n)&&i(n.is)&&(t=n.is),!t)return ve();var o,s,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),a===rn?r=_t(r):a===nn&&(r=yt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),o=z.isReservedTag(t)?new he(z.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!i(c=Ue(e.$options,"components",t))?new he(t,n,r,void 0,void 0,e):Qt(c,n,e,r,t)):o=Qt(t,n,e,r);return Array.isArray(o)?o:i(o)?(i(s)&&sn(o,s),i(n)&&cn(n),o):ve()}function sn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),i(e.children))for(var o=0,s=e.children.length;o<s;o++){var c=e.children[o];i(c.tag)&&(r(c.ns)||a(n)&&"svg"!==c.tag)&&sn(c,t,n)}}function cn(e){c(e.style)&&ut(e.style),c(e.class)&&ut(e.class)}function ln(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=kt(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return an(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return an(e,t,n,r,i,!0)};var a=r&&r.data;Ce(e,"$attrs",a&&a.attrs||n,null,!0),Ce(e,"$listeners",t._parentListeners||n,null,!0)}var un,pn=null;function dn(e){Ut(e.prototype),e.prototype.$nextTick=function(e){return ct(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=Ot(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{pn=t,e=r.call(t._renderProxy,t.$createElement)}catch(ni){Je(ni,t,"render"),e=t._vnode}finally{pn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=ve()),e.parent=i,e}}function fn(e,t){return(e.__esModule||ce&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function hn(e,t,n,r,i){var a=ve();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}function gn(e,t){if(a(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=pn;if(n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var o=e.owners=[n],s=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return y(o,n)}));var p=function(e){for(var t=0,n=o.length;t<n;t++)o[t].$forceUpdate();e&&(o.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=R((function(n){e.resolved=fn(n,t),s?o.length=0:p(!0)})),h=R((function(t){i(e.errorComp)&&(e.error=!0,p(!0))})),g=e(d,h);return c(g)&&(f(g)?r(e.resolved)&&g.then(d,h):f(g.component)&&(g.component.then(d,h),i(g.error)&&(e.errorComp=fn(g.error,t)),i(g.loading)&&(e.loadingComp=fn(g.loading,t),0===g.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,p(!1))}),g.delay||200)),i(g.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&h(null)}),g.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function vn(e){return e.isComment&&e.asyncFactory}function mn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||vn(n)))return n}}function yn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&wn(e,t)}function _n(e,t){un.$on(e,t)}function xn(e,t){un.$off(e,t)}function bn(e,t){var n=un;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function wn(e,t,n){un=e,ht(t,n||{},_n,xn,bn,e),un=void 0}function An(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;var s=o.length;while(s--)if(a=o[s],a===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;a<o;a++)Qe(n[a],t,r,t,i)}return t}}var Sn=null;function kn(e){var t=Sn;return Sn=e,function(){Sn=t}}function Pn(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function On(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,a=kn(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),a(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Dn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Dn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Tn(e,t,r,i,a){var o=i.data.scopedSlots,s=e.$scopedSlots,c=!!(o&&!o.$stable||s!==n&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key),l=!!(a||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=a,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){Se(!1);for(var u=e._props,p=e.$options._propKeys||[],d=0;d<p.length;d++){var f=p[d],h=e.$options.props;u[f]=qe(f,h,t,e)}Se(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),r=r||n;var g=e.$options._parentListeners;e.$options._parentListeners=r,wn(e,r,g),l&&(e.$slots=kt(a,i.context),e.$forceUpdate())}function Cn(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function jn(e,t){if(t){if(e._directInactive=!1,Cn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)jn(e.$children[n]);Dn(e,"activated")}}function $n(e,t){if((!t||(e._directInactive=!0,!Cn(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)$n(e.$children[n]);Dn(e,"deactivated")}}function Dn(e,t){de();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,a=n.length;i<a;i++)Qe(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),fe()}var En=[],Ln=[],Mn={},In=!1,Fn=!1,Rn=0;function Nn(){Rn=En.length=Ln.length=0,Mn={},In=Fn=!1}var Bn=Date.now;if(K&&!Y){var zn=window.performance;zn&&"function"===typeof zn.now&&Bn()>document.createEvent("Event").timeStamp&&(Bn=function(){return zn.now()})}function Hn(){var e,t;for(Bn(),Fn=!0,En.sort((function(e,t){return e.id-t.id})),Rn=0;Rn<En.length;Rn++)e=En[Rn],e.before&&e.before(),t=e.id,Mn[t]=null,e.run();var n=Ln.slice(),r=En.slice();Nn(),qn(n),Wn(r),ae&&z.devtools&&ae.emit("flush")}function Wn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Dn(r,"updated")}}function Un(e){e._inactive=!1,Ln.push(e)}function qn(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,jn(e[t],!0)}function Vn(e){var t=e.id;if(null==Mn[t]){if(Mn[t]=!0,Fn){var n=En.length-1;while(n>Rn&&En[n].id>e.id)n--;En.splice(n+1,0,e)}else En.push(e);In||(In=!0,ct(Hn))}}var Gn=0,Xn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Gn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="","function"===typeof t?this.getter=t:(this.getter=V(t),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};Xn.prototype.get=function(){var e;de(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(ni){if(!this.user)throw ni;Je(ni,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ut(e),fe(),this.cleanupDeps()}return e},Xn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Xn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.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},Xn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Vn(this)},Xn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(ni){Je(ni,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Xn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Xn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},Xn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var Kn={enumerable:!0,configurable:!0,get:E,set:E};function Jn(e,t,n){Kn.get=function(){return this[t][n]},Kn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Kn)}function Qn(e){e._watchers=[];var t=e.$options;t.props&&Zn(e,t.props),t.methods&&or(e,t.methods),t.data?Yn(e):Te(e._data={},!0),t.computed&&nr(e,t.computed),t.watch&&t.watch!==ne&&sr(e,t.watch)}function Zn(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||Se(!1);var o=function(a){i.push(a);var o=qe(a,t,n,e);Ce(r,a,o),a in e||Jn(e,"_props",a)};for(var s in t)o(s);Se(!0)}function Yn(e){var t=e.$options.data;t=e._data="function"===typeof t?er(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&x(r,a)||W(a)||Jn(e,"_data",a)}Te(t,!0)}function er(e,t){de();try{return e.call(t,t)}catch(ni){return Je(ni,t,"data()"),{}}finally{fe()}}var tr={lazy:!0};function nr(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var i in t){var a=t[i],o="function"===typeof a?a:a.get;0,r||(n[i]=new Xn(e,o||E,E,tr)),i in e||rr(e,i,a)}}function rr(e,t,n){var r=!ie();"function"===typeof n?(Kn.get=r?ir(t):ar(n),Kn.set=E):(Kn.get=n.get?r&&!1!==n.cache?ir(t):ar(n.get):E,Kn.set=n.set||E),Object.defineProperty(e,t,Kn)}function ir(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),pe.SharedObject.target&&t.depend(),t.value}}function ar(e){return function(){return e.call(this,this)}}function or(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?E:C(t[n],e)}function sr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)cr(e,n,r[i]);else cr(e,n,r)}}function cr(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function lr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=je,e.prototype.$delete=$e,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return cr(r,e,t,n);n=n||{},n.user=!0;var i=new Xn(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(a){Je(a,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var ur=0;function pr(e){e.prototype._init=function(e){var t=this;t._uid=ur++,t._isVue=!0,e&&e._isComponent?dr(t,e):t.$options=We(fr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Pn(t),yn(t),ln(t),Dn(t,"beforeCreate"),!t._$fallback&&At(t),Qn(t),!t._$fallback&&wt(t),!t._$fallback&&Dn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function dr(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function fr(e){var t=e.options;if(e.super){var n=fr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=hr(e);i&&$(e.extendOptions,i),t=e.options=We(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function hr(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function gr(e){this._init(e)}function vr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=j(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function mr(e){e.mixin=function(e){return this.options=We(this.options,e),this}}function yr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=We(n.options,e),o["super"]=n,o.options.props&&_r(o),o.options.computed&&xr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,N.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=$({},o.options),i[r]=o,o}}function _r(e){var t=e.options.props;for(var n in t)Jn(e.prototype,"_props",n)}function xr(e){var t=e.options.computed;for(var n in t)rr(e.prototype,n,t[n])}function br(e){N.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function wr(e){return e&&(e.Ctor.options.name||e.tag)}function Ar(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function Sr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=wr(o.componentOptions);s&&!t(s)&&kr(n,a,r,i)}}}function kr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}pr(gr),lr(gr),An(gr),On(gr),dn(gr);var Pr=[String,RegExp,Array],Or={name:"keep-alive",abstract:!0,props:{include:Pr,exclude:Pr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)kr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Sr(e,(function(e){return Ar(t,e)}))})),this.$watch("exclude",(function(t){Sr(e,(function(e){return!Ar(t,e)}))}))},render:function(){var e=this.$slots.default,t=mn(e),n=t&&t.componentOptions;if(n){var r=wr(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Ar(a,r))||o&&r&&Ar(o,r))return t;var s=this,c=s.cache,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,y(l,u),l.push(u)):(c[u]=t,l.push(u),this.max&&l.length>parseInt(this.max)&&kr(c,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Tr={KeepAlive:Or};function Cr(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:$,mergeOptions:We,defineReactive:Ce},e.set=je,e.delete=$e,e.nextTick=ct,e.observable=function(e){return Te(e),e},e.options=Object.create(null),N.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,$(e.options.components,Tr),vr(e),mr(e),yr(e),br(e)}Cr(gr),Object.defineProperty(gr.prototype,"$isServer",{get:ie}),Object.defineProperty(gr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gr,"FunctionalRenderContext",{value:qt}),gr.version="2.6.11";var jr="[object Array]",$r="[object Object]";function Dr(e,t){var n={};return Er(e,t),Lr(e,t,"",n),n}function Er(e,t){if(e!==t){var n=Ir(e),r=Ir(t);if(n==$r&&r==$r){if(Object.keys(e).length>=Object.keys(t).length)for(var i in t){var a=e[i];void 0===a?e[i]=null:Er(a,t[i])}}else n==jr&&r==jr&&e.length>=t.length&&t.forEach((function(t,n){Er(e[n],t)}))}}function Lr(e,t,n,r){if(e!==t){var i=Ir(e),a=Ir(t);if(i==$r)if(a!=$r||Object.keys(e).length<Object.keys(t).length)Mr(r,n,e);else{var o=function(i){var a=e[i],o=t[i],s=Ir(a),c=Ir(o);if(s!=jr&&s!=$r)a!==t[i]&&Mr(r,(""==n?"":n+".")+i,a);else if(s==jr)c!=jr||a.length<o.length?Mr(r,(""==n?"":n+".")+i,a):a.forEach((function(e,t){Lr(e,o[t],(""==n?"":n+".")+i+"["+t+"]",r)}));else if(s==$r)if(c!=$r||Object.keys(a).length<Object.keys(o).length)Mr(r,(""==n?"":n+".")+i,a);else for(var l in a)Lr(a[l],o[l],(""==n?"":n+".")+i+"."+l,r)};for(var s in e)o(s)}else i==jr?a!=jr||e.length<t.length?Mr(r,n,e):e.forEach((function(e,i){Lr(e,t[i],n+"["+i+"]",r)})):Mr(r,n,e)}}function Mr(e,t,n){e[t]=n}function Ir(e){return Object.prototype.toString.call(e)}function Fr(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({VUE_APP_NAME:"tpx",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var n=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var r=0;r<n.length;r++)n[r]()}}function Rr(e){return En.find((function(t){return e._watcher===t}))}function Nr(e,t){if(!e.__next_tick_pending&&!Rr(e)){if(Object({VUE_APP_NAME:"tpx",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextVueTick")}return ct(t,e)}if(Object({VUE_APP_NAME:"tpx",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var r=e.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+e._uid+"]:nextMPTick")}var i;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(ni){Je(ni,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function Br(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t))}var zr=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=Br(this)}catch(s){console.error(s)}i.__webviewId__=r.data.__webviewId__;var a=Object.create(null);Object.keys(i).forEach((function(e){a[e]=r.data[e]}));var o=!1===this.$shouldDiffData?i:Dr(i,a);Object.keys(o).length?(Object({VUE_APP_NAME:"tpx",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(o)),this.__next_tick_pending=!0,r.setData(o,(function(){n.__next_tick_pending=!1,Fr(n)}))):Fr(this)}};function Hr(){}function Wr(e,t,n){if(!e.mpType)return e;"app"===e.mpType&&(e.$options.render=Hr),e.$options.render||(e.$options.render=Hr),!e._$fallback&&Dn(e,"beforeMount");var r=function(){e._update(e._render(),n)};return new Xn(e,r,E,{before:function(){e._isMounted&&!e._isDestroyed&&Dn(e,"beforeUpdate")}},!0),n=!1,e}function Ur(e,t){return i(e)||i(t)?qr(e,Vr(t)):""}function qr(e,t){return e?t?e+" "+t:e:t||""}function Vr(e){return Array.isArray(e)?Gr(e):c(e)?Xr(e):"string"===typeof e?e:""}function Gr(e){for(var t,n="",r=0,a=e.length;r<a;r++)i(t=Vr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Xr(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Kr=b((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Jr(e){return Array.isArray(e)?D(e):"string"===typeof e?Kr(e):e}var Qr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Zr(e,t){var n=t.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?e[r]:Zr(e[r],n.slice(1).join("."))}function Yr(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){return this.$scope&&e&&this.$scope["triggerEvent"](e,{__args__:j(arguments,1)}),t.apply(this,arguments)},e.prototype.$nextTick=function(e){return Nr(this,e)},Qr.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=wt,e.prototype.__init_injections=At,e.prototype.__call_hook=function(e,t){var n=this;de();var r,i=n.$options[e],a=e+" hook";if(i)for(var o=0,s=i.length;o<s;o++)r=Qe(i[o],n,t?[t]:null,n,a);return n._hasHookEvent&&n.$emit("hook:"+e,t),fe(),r},e.prototype.__set_model=function(e,t,n,r){Array.isArray(r)&&(-1!==r.indexOf("trim")&&(n=n.trim()),-1!==r.indexOf("number")&&(n=this._n(n))),e||(e=this),e[t]=n},e.prototype.__set_sync=function(e,t,n){e||(e=this),e[t]=n},e.prototype.__get_orig=function(e){return u(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return Zr(t||this,e)},e.prototype.__get_class=function(e,t){return Ur(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var n=Jr(e),r=t?$(t,n):n;return Object.keys(r).map((function(e){return P(e)+":"+r[e]})).join(";")},e.prototype.__map=function(e,t){var n,r,i,a,o;if(Array.isArray(e)){for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);return n}if(c(e)){for(a=Object.keys(e),n=Object.create(null),r=0,i=a.length;r<i;r++)o=a[r],n[o]=t(e[o],o,r);return n}if("number"===typeof e){for(n=new Array(e),r=0,i=e;r<i;r++)n[r]=t(r,r);return n}return[]}}var ei=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function ti(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==ei.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;ei.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=ei}gr.prototype.__patch__=zr,gr.prototype.$mount=function(e,t){return Wr(this,e,t)},ti(gr),Yr(gr),t["default"]=gr}.call(this,n("c8ba"))},6950:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n("4c11")),i=c(n("0816")),a=c(n("3f114")),o=c(n("da52")),s=c(n("66fd"));function c(e){return e&&e.__esModule?e:{default:e}}var l="_USER_ACCESS_TOKEN",u=null,p={getUserInfoResolve:null,getUserInfoReject:null,getAccessToken:function(t){var n=this;return t=t||{},"undefined"===typeof t.cacheOnly&&(t.cacheOnly=!1),new Promise((function(o,c){var u=s.default.prototype.$storage.getStorageSync(l);if(u)return o(u);if(t.cacheOnly)return o(u);var p=getCurrentPages(),d=p[p.length-1];d.$vm.$store.commit("user/showLoginModal",!0),n.getUserInfoResolve=function(t){e.showLoading({mask:!0,title:"正在登录"}),e.login({scopes:"auth_base",success:function(n){var u={encryptedData:t.detail.encryptedData,iv:t.detail.iv,rawData:t.detail.rawData,signature:t.detail.signature,code:n.code};s.default.prototype.$request({url:r.default.passport.login,method:"post",data:u}).then((function(t){return e.hideLoading(),0===t.code?(i.default.trigger(a.default.EVENT_USER_LOGIN),s.default.prototype.$storage.setStorageSync(l,t.data.access_token),o(t.data.access_token)):c(t.msg)})).catch((function(t){e.hideLoading(),c(t)}))},fail:function(e){c(e)}})},n.getUserInfoReject=function(e){c(e)}}))},getInfo:function(t){var n=this;return t=t||{},"undefined"===typeof t.refresh&&(t.refresh=!1),new Promise((function(c,l){if(t.refresh&&(u=null),u)return c(u);n.getAccessToken().then((function(t){e.showNavigationBarLoading(),s.default.prototype.$request({url:r.default.user.user_info}).then((function(t){if(e.hideNavigationBarLoading(),0===t.code){var n=t.data.platform;if(s.default.prototype.$storage.setStorageSync("platform",n),u=JSON.parse(JSON.stringify(t.data)),i.default.trigger(a.default.EVENT_USER_REGISTER,u),"undefined"!==typeof u.register){var r=u.register;if(r.coupon_list){var p={list:r.coupon_list,type:"register"};o.default.dispatch("page/actionSetCoupon",p)}}return c(u)}return l(t.msg)})).catch((function(t){return e.hideNavigationBarLoading(),l(t)}))})).catch((function(e){return l(e)}))}))},isLogin:function(){return!!(o.default&&o.default.state.user&&o.default.state.user.accessToken)||!!s.default.prototype.$storage.getStorageSync(l)},loginByToken:function(e){s.default.prototype.$storage.setStorageSync(l,e)},silentLogin:function(){}};t.default=p}).call(this,n("543d")["default"])},"6b92":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){var t=this;return new Promise((function(n,r){try{var i=null;i=t.createSelectorQuery(),i.select(".".concat(e)).boundingClientRect(),i.exec((function(e){n(e)}))}catch(a){r(a)}}))},i=r;t.default=i},"725b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("5b88")),i=c(n("01ed")),a=l(n("4c11")),o=l(n("f932"));function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){i.showLoading({mask:!0}),(0,o.default)({url:a.default.goods.remind,data:{goods_id:e}}).then((function(e){i.hideLoading(),0===e.code&&i.showToast({title:"订阅成功,开售前5分钟提醒您",icon:"none"})})).catch((function(e){i.hideLoading()}))},p=function(e,t){(0,r.default)(e).then((function(e){u(t)})).catch((function(e){u(t)}))},d=p;t.default=d},"7bf4":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("f932"));function i(e){return e&&e.__esModule?e:{default:e}}var a={theme:"",address_id:"",store_id:"",form_data:{},big_gift_pic:"",theme_id:""},o={},s={addressId:function(e,t){e.address_id=t},storeId:function(e,t){e.store_id=t},setGiftPic:function(e,t){e.big_gift_pic=t},setTheme:function(e,t){switch(t){case 1:e.theme="streamer-gold-gift",e.theme_id="d";break;case 2:e.theme="romantic-powder-gift",e.theme_id="c";break;case 3:e.theme="taste-red-gift",e.theme_id="f";break;case 4:e.theme="elegant-purple-gift",e.theme_id="e";break;case 5:e.theme="fresh-green-gift",e.theme_id="g";break;case 6:e.theme="business-blue-gift",e.theme_id="h";break;default:e.theme="streamer-gold-gift",e.theme_id="d"}},setFormData:function(e,t){e.form_data=t}},c={getConfig:function(t,n){(0,r.default)({url:n,method:"get"}).then((function(t){e.hideLoading(),0===t.code&&context.commit("setTheme",Number(t.data.theme.id))})).catch((function(){e.hideLoading()}))}},l={namespaced:!0,state:a,getters:o,mutations:s,actions:c};t.default=l}).call(this,n("543d")["default"])},"82e5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={formData:null,mchNoCouponStatusList:[]},i={getMchNoCouponStatusList:function(e){return e.mchNoCouponStatusList}},a={mutSetFormData:function(e,t){e.formData=t},mutSetMchNoCouponStatusList:function(e,t){e.mchNoCouponStatusList=t}},o={},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},"839a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9c53"),i=l(n("f932")),a=l(n("4c11")),o=l(n("da52")),s=l(n("6950")),c=l(n("66fd"));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){e=e||{title:"这是一个分享页面",path:"/pages/index/index",params:{}},"undefined"===typeof e.params&&(e.params={});var n=0;return s.default.isLogin()&&c.default.prototype.$store.state.user.info&&(n=c.default.prototype.$store.state.user.info.options.user_id),"undefined"===typeof e.path||"/pages/index/index"===e.path&&"undefined"===typeof e.params.page_id?(e.path="/pages/index/index?user_id=".concat(n),0!=Object.keys(e.params).length&&(e.path+="&"+(0,r.objectToUrlParams)(e.params))):(e.params.path=e.path,e.params.user_id=n,e.path="/pages/index/index?scene=share&user_id=".concat(n,"¶ms=").concat(JSON.stringify(e.params))),setTimeout((function(){(0,i.default)({url:a.default.coupon.share_coupon}).then((function(e){if(0===e.code){var t={list:e.data.list,type:"share"};o.default.dispatch("page/actionSetCoupon",t)}})).catch((function(){}))}),1e3),e},p=u;t.default=p},"84a5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={userCoupon:null},i={mutSetUserCoupon:function(e,t){e.userCoupon=t}},a={},o={namespaced:!0,state:r,mutations:i,actions:a};t.default=o},"855e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={reportAndError:{boolean:!1,content:"网络开了会儿小差, 请刷新重试下哦~"},tabBarBoolean:!1,systemInfo:{SDKVersion:"",batteryLevel:0,brand:"",errMsg:"",fontSizeSetting:0,language:"0",model:"",pixelRatio:0,platform:"",safeArea:{bottom:0,height:0,left:0,right:0,top:0,width:0},screenHeight:0,screenWidth:0,statusBarHeight:0,system:"",version:"",windowHeight:0,windowWidth:0},mBarHeight:44,tabBarHeight:0,iphone:!1,iphoneHeight:0,promptBox:{text:"",show:!1,call:-1},imageWidth:0},i={reportAndErrorObj:function(e){return e.reportAndError}},a={reportAndErrorObj:function(e,t){e.reportAndError=t},reportAndErrorB:function(e,t){e.reportAndError.boolean=t},setTabBarBoolean:function(e,t){var n=getCurrentPages(),r=null;n.length&&(r=n[n.length-1]);var i=void 0;i="/".concat(r.route.split("?")[0]);for(var a=0;a<t.length;a++)if(i.includes(t[a].url.split("?")[0]))return e.tabBarBoolean=!0;return e.tabBarBoolean=!1},setSystemInfo:function(e,t){e.systemInfo=t,e.imageWidth=t.windowWidth},setPromptBox:function(e,t){e.promptBox=t},setPromptBoxCall:function(e,t){e.promptBox.call=t},setHeight:function(e,t){e.tabBarHeight=t},setiPhoneHeight:function(e,t){e.iphoneHeight=t},setiPhoneBoolean:function(e,t){e.iphone=t},setImageWidth:function(e,t){e.imageWidth=e.systemInfo.windowWidth-e.systemInfo.windowWidth/750*t}},o={setImageWidth:function(e,t){e.commit("setImageWidth",t)},reportAndErrorObj:function(e,t){e.commit("reportAndErrorObj",t)},reportAndErrorB:function(e,t){e.commit("reportAndErrorB",t)},setTabBarBoolean:function(e,t){e.commit("setTabBarBoolean",t)},setSystemInfo:function(e,t){e.commit("setSystemInfo",t)},setHeight:function(e,t){e.commit("setHeight",t)},setiPhoneBoolean:function(e,t){e.commit("setiPhoneBoolean",t)},setPromptBox:function(e,t){e.commit("setPromptBox",t)},setPromptBoxCall:function(e,t){e.commit("setPromptBoxCall",t)},setiPhoneHeight:function(e,t){e.commit("setiPhoneHeight",t)}},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},8630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={status:!1},i={getStatus:function(e){return e.status}},a={status:function(e,t){e.status=t}},o={},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},"874f":function(e,t,n){"use strict";function r(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!==typeof e&&"function"!==typeof e)return e;var t=r(e)?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===typeof e[n]?i(e[n]):e[n]);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i;t.default=a},8896:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("bcbc"));i(n("66fd"));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,i){(0,r.default)(t,"file").then((function(r){e.uploadFile({url:t.url,filePath:t.filePath,name:"file",fileType:t.fileType,formData:{file:t.filePath,file_name:t.fileName,mch_id:t.mch_id},header:r,success:function(e){return n(e)},fail:function(e){return i(e)}})}))}))},o=a;t.default=o}).call(this,n("543d")["default"])},"8ac0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("a34a")),i=a(n("66fd"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)}))}}var c={type:"global",text:"加载中",color:"#ffffff",backgroundImage:"",isShow:!1},l={getType:function(e){return e.type},getText:function(e){return e.text},getColor:function(e){return e.color},getBackgroundImage:function(){var e=s(r.default.mark((function e(t){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t.backgroundImage);case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),getIsShow:function(e){return e.isShow}},u={mutSetLoading:function(e,t){for(var n in t)e[n]=t[n];e.backgroundImage||i.default.prototype.$mallConfig.getConfig().then((function(t){e.backgroundImage=t.__wxapp_img.mall.loading}))}},p={actionGetLoading:function(e,t){e.commit("mutSetLoading",t)}},d={namespaced:!0,state:c,getters:l,mutations:u,actions:p};t.default=d},"8cba":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("66fd"));function i(e){return e&&e.__esModule?e:{default:e}}var a={auth_page:{pic_url:""},bar_title:{},cat_style:{},copyright:{},mall:{setting:{theme_color:"classic-red"}},navbar:{navs:[]},plugin:{vip_card:{setting:{background:"#f7f7f7"}}},share_setting:[],share_setting_custom:{},user_center:{},__wxapp_img:{},theme_color:{key:"a",color:"#ff4544",background:"#ff4544",border:"#ff4544",border_s:"#f39800",background_s:"#f39800",main_text:"#ffffff",secondary_text:"#ffffff",border_m:"border-color: #ff4544;border-bottom-color: transparent;border-left-color: transparent;border-right-color: transparent;",background_o:"rgba(255,69,68, 0.1)",background_p:"rgba(255,69,68, 0.2)",background_l:"rgba(255,69,68, 0.35)",background_q:"rgba(255,69,68, 0.8)",background_gradient:"linear-gradient(140deg, #ff4544, #f39800)",background_gradient_l:"linear-gradient(to right, rgba(255,69,68, 1), rgba(255,69,68, 0.5))",background_gradient_o:"linear-gradient(to right, rgba(255,69,68, 1), rgba(255,69,68, 0.7))",background_s_gradient_o:"linear-gradient(to right, rgb(243,152,0),rgba(243,152,0, 0.7))",background_gradient_btn:"linear-gradient(to left, rgb(255,69,68),rgba(255,69,68, 0.7))",background_s_gradient_btn:"linear-gradient(to right, rgb(243,152,0),rgba(243,152,0, 0.7))"},theme:"classic-red",windowHeight:{height:0,width:0,boolean:!1}},o={getNavBar:function(e){return e.navbar},getNavBarNavs:function(e){for(var t=0,n=e.navbar.navs.length;t<n;t++);},getUserCenter:function(e){return e.user_center},getWxappImg:function(e){return e.__wxapp_img},getCatStyle:function(e){return e.cat_style},getVip:function(e){return e.plugin.vip_card},getVideo:function(e){return e.mall.setting.is_goods_video},getShowCart:function(e){return e.mall.setting.is_show_cart},getTheme:function(e){return e.theme_color},getSetting:function(e){return e.mall.setting}},s={mutSetConfig:function(e,t){for(var n in t){if("navbar"===n)for(var r=0;r<t[n].navs.length;r++)t[n].navs[r].id=r;e[n]=t[n]}},mutSetHeight:function(e,t){e.windowHeight=t}},c={actionGetConfig:function(e){r.default.prototype.$mallConfig.getConfig().then((function(t){e.commit("mutSetConfig",t)})).catch((function(){}))},actionHeight:function(e,t){e.commit("mutSetHeight",t)},actionResetConfig:function(e){r.default.prototype.$mallConfig.resetConfig(),r.default.prototype.$mallConfig.getConfig().then((function(t){e.commit("mutSetConfig",t)})).catch((function(){}))}},l={namespaced:!0,state:a,getters:o,mutations:s,actions:c};t.default=l},"8e3b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("a34a"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,c,"next",e)}function c(e){a(o,r,i,s,c,"throw",e)}s(void 0)}))}}var s={setNavigationBarTitle:function(t,n){return o(r.default.mark((function i(){var a,o;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!(Object.keys(t).length>0)){r.next=9;break}a=0,o=t.length;case 2:if(!(a<o)){r.next=9;break}if(!n.includes(t[a].value)){r.next=6;break}return e.setNavigationBarTitle({title:t[a].new_name}),r.abrupt("return",t[a].new_name);case 6:a++,r.next=2;break;case 9:case"end":return r.stop()}}),i)})))()}},c=s;t.default=c}).call(this,n("543d")["default"])},"8e43":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onload=void 0;r(n("839a")),r(n("66fd"));function r(e){return e&&e.__esModule?e:{default:e}}var i=function(){};t.onload=i},"95b5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={year:1},i={namespaced:!0,state:r};t.default=i},"96a7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("4c11")),i=a(n("f932"));function a(e){return e&&e.__esModule?e:{default:e}}var o={home_pages:{},type:""},s={},c={getHomePages:function(e,t){e.type=t.type,e.home_pages=t.home_pages}},l={getHomePages:function(e){(0,i.default)({url:"".concat(r.default.index.index,"&page_id=0&longitude=&latitude=")}).then((function(t){e.commit("getHomePages",t.data)}))}},u={namespaced:!0,state:o,getters:s,mutations:c,actions:l};t.default=u},"96cf":function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",l="object"===typeof e,u=t.regeneratorRuntime;if(u)l&&(e.exports=u);else{u=t.regeneratorRuntime=l?e.exports:{},u.wrap=x;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",g={},v={};v[o]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(D([])));y&&y!==r&&i.call(y,o)&&(v=y);var _=S.prototype=w.prototype=Object.create(v);A.prototype=_.constructor=S,S.constructor=A,S[c]=A.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===A||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(_),e},u.awrap=function(e){return{__await:e}},k(P.prototype),P.prototype[s]=function(){return this},u.AsyncIterator=P,u.async=function(e,t,n,r){var i=new P(x(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(_),_[c]="Generator",_[o]=function(){return this},_.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=D,$.prototype={constructor:$,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:D(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function x(e,t,n,r){var i=t&&t.prototype instanceof w?t:w,a=Object.create(i.prototype),o=new $(r||[]);return a._invoke=O(e,n,o),a}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function w(){}function A(){}function S(){}function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function P(e){function t(n,r,a,o){var s=b(e[n],e,r);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,a,o)}),(function(e){t("throw",e,a,o)})):Promise.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return t("throw",e,a,o)}))}o(s.arg)}var n;function r(e,r){function i(){return new Promise((function(n,i){t(e,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function O(e,t,n){var r=p;return function(i,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return E()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=b(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function T(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,T(e,t),"throw"===t.method))return g;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=b(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,g;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function $(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function D(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){while(++r<e.length)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}return{next:E}}function E(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},"984d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.platform=void 0;var r="wxapp";t.platform=r},"9abe":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("6950"));function i(e){return e&&e.__esModule?e:{default:e}}var a={accessToken:null,info:null,showLoginModal:!1,tempParentId:0,showAttention:!1,showAttentionTwo:!1,sign:{mobile:"",pic_captcha:"",sms_captcha:"",validate_code_id:-1},isSign:!1},o={accessToken:function(e){return e.accessToken},info:function(e){return e.info},showLoginModal:function(e){return e.showLoginModal},tempParentId:function(e){return e.tempParentId},is_vip:function(e){return e.is_vip_card_user},showAttention:function(e){return e.showAttention},showAttentionTwo:function(e){return e.showAttentionTwo},sign:function(e){return e.sign},isSign:function(e){return e.isSign}},s={accessToken:function(e,t){e.accessToken=t},info:function(e,t){e.info=t},showLoginModal:function(e,t){e.showLoginModal=t},tempParentId:function(e,t){e.tempParentId=t},showAttention:function(e,t){e.showAttention=t},showAttentionTwo:function(e,t){e.showAttentionTwo=t},sign:function(e,t){e.sign=t},isSign:function(e,t){e.isSign=t}},c={sign:function(e,t){e.commit("sign",t)},isSign:function(e,t){e.commit("isSign",t)},accessToken:function(e){r.default.isLogin()||e.commit("accessToken",null),r.default.getAccessToken().then((function(t){e.commit("accessToken",t)}))},info:function(e,t){r.default.isLogin()||e.commit("accessToken",null),r.default.getAccessToken().then((function(n){e.commit("accessToken",n),r.default.getInfo(t).then((function(t){e.commit("info",t)}))})).catch((function(t){e.commit("showLoginModal",!0)}))},refreshInfo:function(e){e.commit("accessToken",null)},refresh:function(e){r.default.isLogin()||e.commit("accessToken",null),r.default.getAccessToken().then((function(t){e.commit("accessToken",t),r.default.getInfo({refresh:!0}).then((function(t){e.commit("info",t)})).catch((function(e){}))})).catch((function(e){}))},setTempParentId:function(e,t){e.commit("tempParentId",t)},loadAccessTokenFormCache:function(e){e.accessToken||r.default.getAccessToken({cacheOnly:!0}).then((function(t){t&&e.commit("accessToken",t)}))},logout:function(e){e.commit("accessToken",null),r.default.loginByToken(null)},showAttention:function(e,t){e.commit("showAttention",t)},showAttentionTwo:function(e,t){e.commit("showAttentionTwo",t)}},l={namespaced:!0,state:a,getters:o,mutations:s,actions:c};t.default=l},"9c53":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.h5Address=t.getUrlParam=t.uniCopy=t.deepClone=t.debounce=t.throttle=t.colorRgba=t.deleteUrlParam=t.batchSave=t.hideLoading=t.showLoading=t.urlParamsToObject=t.randomString=t.objectValues=t.earthDistance=t.timeDifference=t.objectToUrlParams=t.strtotime=t.datetime=t.time=void 0;var n=function(){return parseInt(Math.round(new Date/1e3))};t.time=n;var r=function(e,t){"undefined"!==typeof e&&null!==e||(e="Y-m-d h:i:s"),"undefined"!==typeof t&&null!==t||(t=this.time());var n=new Date;n.setTime(1e3*t);var r={Y:n.getFullYear(),"m+":n.getMonth()+1<10?"0".concat(n.getMonth()+1):n.getMonth()+1,"d+":n.getDate()<10?"0".concat(n.getDate()):n.getDate(),"h+":n.getHours()<10?"0".concat(n.getHours()):n.getHours(),"i+":n.getMinutes()<10?"0".concat(n.getMinutes()):n.getMinutes(),"s+":n.getSeconds()<10?"0".concat(n.getSeconds()):n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),"S+":n.getMilliseconds()};for(var i in r)new RegExp("("+i+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?r[i]:("00"+r[i]).substr((""+r[i]).length)));return e};t.datetime=r;var i=function(e){};t.strtotime=i;var a=function(e,t){var n="";for(var r in e)n+="&"+r+"="+(t?encodeURIComponent(e[r]):e[r]);return n.substr(1)};t.objectToUrlParams=a;var o=function(e,t){var n=parseInt((t-e)/1e3),r=0,i=0,a=0,o=0;return n>0?(r=Math.floor(n/86400),i=Math.floor(n/3600)-24*r,a=Math.floor(n/60)-24*r*60-60*i,o=Math.floor(n)-24*r*60*60-60*i*60-60*a,{d:r,h:i<10?"0"+i:i,m:a<10?"0"+a:a,s:o<10?"0"+o:o}):null};t.timeDifference=o;var s=function(e,t){var n=parseFloat(e.lat),r=parseFloat(e.lng),i=parseFloat(t.lat),a=parseFloat(t.lng),o=6378137,s=Math.PI;function c(e){return e*s/180}var l,u,p,d,f,h,g,v=c((n+i)/2),m=c((n-i)/2),y=c((r-a)/2),_=Math.sin(m),x=Math.sin(y),b=Math.sin(v),w=o,A=1/298.257;return _*=_,x*=x,b*=b,l=_*(1-x)+(1-b)*x,u=(1-_)*(1-x)+b*x,p=Math.atan(Math.sqrt(l/u)),d=Math.sqrt(l*u)/p,f=2*p*w,h=(3*d-1)/2/u,g=(3*d+1)/2/l,f*(1+A*(h*b*(1-_)-g*(1-b)*_))};t.earthDistance=s;var c=function(e){var t=[];for(var n in e)t.push(e[n]);return t};t.objectValues=c;var l=function(e){for(var t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n="",r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n};t.randomString=l;var u=function(e){var t=e.split("&"),n={};for(var r in t)if("string"===typeof t[r]&&t[r].length){var i=t[r].split("=");2===i.length&&(n[i[0]]=i[1])}return n};t.urlParamsToObject=u;var p=function(){e.showLoading({title:"加载中",mask:!0})};t.showLoading=p;var d=function(){e.hideLoading()};t.hideLoading=d;var f=function(e){e.success,e.fail};t.h5Address=f;var h=!1,g=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image";return new Promise((function(r,i){t instanceof Array||(t=[t]);var a="image"===n?"图片":"视频";new Promise((function(t,n){var r=null;r="scope.writePhotosAlbum",e.authorize({scope:r,success:function(e){t("success")},fail:function(i){e.showModal({title:"提示",content:"您好,请先授权保存到相册权限",showCancel:!1,success:function(i){i.confirm&&e.openSetting({success:function(e){e.authSetting[r]?t("success"):n("fail")}})}})}})})).then((function(t){h||(h=!0),e.showLoading({title:a+"保存中",mask:!0})})).then((function(a){Promise.all(t.map((function(t){return new Promise((function(r,i){try{var o=e.downloadFile({url:t,success:function(t){"image"===n&&e.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){r("success")},fail:function(e){i("fail")}}),"video"===n&&e.saveVideoToPhotosAlbum({filePath:t.tempFilePath,success:function(){r("success")},fail:function(e){i("fail")}})},fail:function(e){i("fail")}});if("video"===n){var s=(new Date).getTime(),c=6e4;o.onProgressUpdate((function(e){var t=(new Date).getTime();t-s>c&&(o.abort(),i("fail"))}))}}catch(a){i("fail")}}))}))).then((function(){h=!1,e.hideLoading(),r("success")})).catch((function(){h=!1,e.hideLoading(),e.showToast({title:"下载失败"}),i("fail")}))})).catch((function(){e.showModal({title:"提示",content:"授权失败,请稍后重新获取",showCancel:!1}),i("fail")}))}))};t.batchSave=g;var v=function(e,t,n){if(isNaN(e.indexOf("?"))||e.indexOf("?")<0)return e;var r=e.substr(e.indexOf("?")+1),i=e.substr(0,e.indexOf("?"));if(n)return i;var a=[];a="object"===typeof t?t:[t];var o={},s=r.split("&");for(var c in s)s[c]=s[c].split("="),o[s[c][0]]=s[c][1];for(var l in a)delete o[a[l]];return r=JSON.stringify(o).replace(/[\"\{\}]/g,"").replace(/\:/g,"=").replace(/\,/g,"&"),r.length?i+"?"+r:i};t.deleteUrlParam=v;var m,y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,r=e.toLowerCase();if(r&&n.test(r)){if(4===r.length){for(var i="#",a=1;a<4;a+=1)i+=r.slice(a,a+1).concat(r.slice(a,a+1));r=i}for(var o=[],s=1;s<7;s+=2)o.push(parseInt("0x"+r.slice(s,s+2)));return"rgba("+o.join(",")+","+t+")"}return r};t.colorRgba=y;var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n?m||(m=!0,"function"===typeof e&&e(),setTimeout((function(){m=!1}),t)):m||(m=!0,setTimeout((function(){m=!1,"function"===typeof e&&e()}),t))};t.throttle=_;var x=null,b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==x&&clearTimeout(x),n){var r=!x;x=setTimeout((function(){x=null}),t),r&&"function"===typeof e&&e()}else x=setTimeout((function(){"function"===typeof e&&e()}),t)};t.debounce=b;var w=function e(t){function n(e){return"[object Array]"===Object.prototype.toString.call(e)}if([null,void 0,NaN,!1].includes(t))return t;if("object"!==typeof t&&"function"!==typeof t)return t;var r=n(t)?[]:{};for(var i in t)t.hasOwnProperty(i)&&(r[i]="object"===typeof t[i]?e(t[i]):t[i]);return r};t.deepClone=w;var A=function(t){var n=t.data,r=t.success;t.error;e.setClipboardData({data:n,success:function(){r&&r()}})};t.uniCopy=A;var S=function(e){};t.getUrlParam=S}).call(this,n("543d")["default"])},"9f19":function(e,t,n){"use strict";function r(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)}function i(e){return/^1[23456789]\d{9}$/.test(e)}function a(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)}function o(e){return!/Invalid|NaN/.test(new Date(e.replace(/-/g,"/")).toString())}function s(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)}function c(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function l(e){return/^\d+$/.test(e)}function u(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)}function p(e){var t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)}function d(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)}function f(e){var t=/^[\u4e00-\u9fa5]+$/gi;return t.test(e)}function h(e){return/^[a-zA-Z]*$/.test(e)}function g(e){var t=/^[0-9a-zA-Z]*$/g;return t.test(e)}function v(e,t){return e.indexOf(t)>=0}function m(e,t){return e>=t[0]&&e<=t[1]}function y(e,t){return e.length>=t[0]&&e.length<=t[1]}function _(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function x(e){var t=/(^\d+$)|(^$)|(^([0-9]{3,4}-)?\d{7,8}$)|(^400[0-9]{7}$)|(^800[0-9]{7}$)|(^(400)-(\d{3})-(\d{4})(.)(\d{1,4})$)|(^(400)-(\d{3})-(\d{4}$))/;return t.test(e)}function b(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function w(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1}function A(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var k={email:r,mobile:i,url:a,date:o,dateISO:s,number:c,digits:l,idCard:u,carNo:p,amount:d,chinese:f,letter:h,enOrNum:g,contains:v,range:m,rangeLength:y,empty:b,isEmpty:b,jsonString:w,landline:_,object:S,array:A,umobile:x};t.default=k},a2ac:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={index:{config:"api/index/config",newIndex:"api/index/new-index",tplIndex:"api/index/tpl-index",index:"api/index/index",buy_data:"api/index/purchase",extra:"api/index/index-extra",status:"api/index/shop-status",indexWechat:"api/index/index-wechat"},finance:{cash:"api/finance/cash",config:"api/finance/config",list:"api/finance/list"},payment:{get_payments:"api/payment/get-payments",pay_data:"api/payment/pay-data",pay_buy_balance:"api/payment/pay-buy-balance",pay_buy_huodao:"api/payment/pay-buy-huodao"},upload:{file:"api/attachment/upload"},default:{district:"api/default/district",goods_list:"api/default/goods-list",search_list:"api/default/search-list",cart_list:"api/default/cats-list&cat_id=",qrcode_parameter:"api/default/qr-code-parameter",cat_list:"api/cat/list",cat_goods:"api/cat/goods"},passport:{login:"api/passport/login"},user:{user_info:"api/user/user-info",address:"api/user/address",wechat_district:"api/user/wechat-district",address_save:"api/user/address-save",address_detail:"api/user/address-detail",address_default:"api/user/address-default",address_destroy:"api/user/address-destroy",auto_address_info:"api/default/auto-address-info",my_favorite_goods:"api/user/my-favorite-goods",my_favorite_topic:"api/user/my-favorite-topic",favorite_add:"api/user/favorite-add",favorite_remove:"api/user/favorite-remove",favorite_batch_remove:"/api/user/favorite-batch-remove",config:"api/user/config",is_clerk:"api/user/is-clerk-user",doAuth:"api/user/do-auth"},article:{list:"api/default/article-list",detail:"api/default/article"},coupon:{list:"api/coupon/list",detail:"api/coupon/detail",receive:"api/coupon/receive",user_coupon:"api/coupon/user-coupon",user_coupon_detail:"api/coupon/user-coupon-detail",share_coupon:"api/coupon/share-coupon",give:"api/coupon/give"},city:{cityName:"api/default/district",goodsList:"api/default/goods-list"},balance:{index:"api/balance/index",logs:"api/balance/logs",log_detail:"api/balance/log-detail"},order:{preview:"api/order/preview",submit:"api/order/submit",pay_data:"api/order/pay-data",usable_coupon_list:"api/order/usable-coupon-list",store_list:"api/order/store-list",list:"api/order/list",detail:"api/order/detail",appraise:"api/order/appraise",express_detail:"api/order/express-detail",clerk_affirm_pay:"api/order/clerk-affirm-pay",order_clerk:"api/order/order-clerk",clerk_qr_code:"api/order/clerk-qr-code",apply_refund:"api/order/apply-refund",refund_submit:"api/order/refund-submit",refund_detail:"api/order/refund-detail",refund_send:"api/order/refund-send",confirm:"api/order/confirm",cancel:"api/order/cancel",list_pay_data:"api/order/list-pay-data",pay_result:"api/order/pay-result",customer:"api/express/get-customer",delivery:"api/express/delivery-config",order_express_list:"api/express/order-express-list",cancel_cause_list:"api/order/cancel-cause-list",cancel_refund:"api/order/cancel-refund",cancel_apply:"api/order/cancel-apply",city_map:"api/order/city-map"},video:{index:"api/video/index"},topic:{type:"api/topic/type",list:"api/topic/list",detail:"api/topic/detail",favorite:"api/topic/favorite",qrcode:"api/qrcode/topic"},member:{index:"api/mall-member/index",all:"api/mall-member/all-member",coupon:"api/mall-member/member-coupon",goods:"api/mall-member/member-goods",cats:"api/mall-member/goods-cats",purchase:"api/mall-member/purchase-member",receive:"api/mall-member/coupon-receive",detail:"api/mall-member/detail",set_password:"api/mall-member/set-pay-password",update_password:"api/mall-member/update-pay-password",verify_password:"api/mall-member/verify-pay-password"},recharge:{index:"api/recharge/index",setting:"api/recharge/setting",balance_recharge:"api/recharge/balance-recharge"},store:{list:"api/store/list",detail:"api/store/detail"},goods:{detail:"api/goods/detail",attr:"api/goods/attr",comments_list:"api/goods/comments-list",recommend:"api/goods/recommend",new_recommend:"api/goods/new-recommend",cat_style:"api/goods/cat-style",goods_video_list:"/api/goods/goods-list",poster:"/api/goods/poster",hot_search:"/api/goods/hot-search",addMaterial:"/api/video-number/add-material",articleUrl:"/api/video-number/get-article-url",remind:"api/goods/remind"},card:{index:"api/card/user-card",detail:"api/card/user-card-detail",qrcode:"api/card/card-qrcode",clerk:"api/card/card-clerk",history:"api/card/clerk-history",give:"api/card/give",receive:"api/card/receive"},share:{apply:"api/share/apply",index:"api/share/index",setting:"api/share/setting",customize:"api/share/customize",brokerage:"api/share/brokerage",team:"api/share/team",cash:"api/share/cash",cash_list:"api/share/cash-list",apply_status:"api/share/apply-status",share_order:"api/share/share-order",bind_parent:"api/share/bind-parent",poster:"api/qrcode/share",new_apply_status:"api/share/new-apply-status",level:"api/share/level",level_up:"api/share/level-up"},pond:{index:"plugin/pond/api/pond/index",lottery:"plugin/pond/api/pond/lottery",prize:"plugin/pond/api/pond/prize",send:"plugin/pond/api/pond/send",setting:"plugin/pond/api/pond/setting",order_preview:"plugin/pond/api/pond/order-preview",order_submit:"plugin/pond/api/pond/order-submit",poster:"plugin/pond/api/pond/poster"},scratch:{index:"plugin/scratch/api/scratch/index",receive:"plugin/scratch/api/scratch/receive",setting:"plugin/scratch/api/scratch/setting",prize:"plugin/scratch/api/scratch/prize",record:"plugin/scratch/api/scratch/record",order_preview:"plugin/scratch/api/scratch/order-preview",order_submit:"plugin/scratch/api/scratch/order-submit",poster:"plugin/scratch/api/scratch/poster"},bonus:{order:"plugin/bonus/api/order/index",index:"plugin/bonus/api/index/index",apply:"plugin/bonus/api/index/apply",status:"plugin/bonus/api/index/apply-status",team:"plugin/bonus/api/order/team-bonus",setting:"plugin/bonus/api/index/setting",clear:"plugin/bonus/api/index/clear-apply",cash:"plugin/bonus/api/index/cash",detail:"plugin/bonus/api/cash/index",member:"plugin/bonus/api/index/all-member",data:"plugin/bonus/api/order/data"},lottery:{index:"plugin/lottery/api/lottery/index",setting:"plugin/lottery/api/lottery/setting",detail:"plugin/lottery/api/lottery/detail",prize:"plugin/lottery/api/lottery/prize",clerk:"plugin/lottery/api/lottery/clerk",code:"plugin/lottery/api/lottery/code",order_preview:"plugin/lottery/api/lottery/order-preview",order_submit:"plugin/lottery/api/lottery/order-submit",goods:"plugin/lottery/api/lottery/goods",poster:"plugin/lottery/api/lottery/poster",poster_config:"plugin/lottery/api/poster/config",poster_generate:"plugin/lottery/api/poster/generate"},check_in:{index:"plugin/check_in/api/index/index",user:"plugin/check_in/api/index/user",customize:"plugin/check_in/api/index/customize",sign_in:"plugin/check_in/api/index/sign-in",sign_in_result:"plugin/check_in/api/index/sign-in-result",sign_in_day:"plugin/check_in/api/index/sign-in-day"},quick:{index:"api/quick/index",goods_list:"api/quick/goods-list",cart:"api/quick/cart"},step:{index:"plugin/step/api/step/index",setting:"plugin/step/api/step/setting",ranking:"plugin/step/api/step/ranking",goods:"plugin/step/api/step/goods",activity_detail:"plugin/step/api/step/activity-detail",activity:"plugin/step/api/step/activity",activity_log:"plugin/step/api/step/activity-log",activity_join:"plugin/step/api/step/activity-join",activity_submit:"plugin/step/api/step/activity-submit",invite_list:"plugin/step/api/step/invite-list",convert:"plugin/step/api/step/convert",log:"plugin/step/api/step/log",step_convert:"plugin/step/api/step/step-convert",remind:"plugin/step/api/step/remind",order_preview:"plugin/step/api/step/order-preview",order_submit:"plugin/step/api/step/order-submit",goods_detail:"plugin/step/api/step/goods-detail",poster:"plugin/step/api/step/poster",goods_poster:"plugin/step/api/step/goods-poster",receive:"plugin/step/api/step/receive",poster_config:"plugin/step/api/poster/config",poster_generate:"plugin/step/api/poster/generate"},cart:{edit:"api/cart/edit",delete:"api/cart/delete",list:"api/cart/list",add:"api/cart/add"},fxhb:{index:"plugin/fxhb/api/index/index",join:"plugin/fxhb/api/index/join",join_result:"plugin/fxhb/api/index/join-result",detail:"plugin/fxhb/api/index/detail",recommend:"plugin/fxhb/api/index/recommend"},scan_code_pay:{index:"plugin/scan_code_pay/api/index/index",preview:"plugin/scan_code_pay/api/order/preview",submit:"plugin/scan_code_pay/api/order/submit",qr_code:"plugin/scan_code_pay/api/index/qr-code",coupons:"plugin/scan_code_pay/api/order/coupons",cancel:"plugin/scan_code_pay/api/order/cancel"},phone:{binding:"api/phone/binding",code:"api/user/phone-code"},book:{cats:"plugin/booking/api/booking/cats",clerk_code:"plugin/booking/api/order-list/clerk-code",order_submit:"plugin/booking/api/order/order-submit",order_preview:"plugin/booking/api/order/order-preview",detail:"plugin/booking/api/goods/detail",list:"plugin/booking/api/goods/list",setting:"plugin/booking/api/booking/setting",order_list:"plugin/booking/api/order-list/index",order_detail:"plugin/booking/api/order-list/detail",store_list:"plugin/booking/api/booking/store-list",poster:"plugin/booking/api/booking/poster",poster_config:"plugin/booking/api/poster/config",poster_generate:"plugin/booking/api/poster/generate"},poster:{share:"api/qrcode/share",goods:"api/qrcode/goods",topic:"api/qrcode/topic",footprint:"api/qrcode/footprint",goods_new:"api/qrcode/goods-new",card:"api/card/give-poster",coupon:"api/coupon/give-poster",card_share:"api/qrcode/card-share",coupon_share:"api/qrcode/coupon-share"},bargain:{banner:"plugin/bargain/api/index/banner",goods_list:"plugin/bargain/api/goods/list",goods_detail:"plugin/bargain/api/goods/detail",list:"plugin/bargain/api/order/bargain-list",bargain_submit:"plugin/bargain/api/order/bargain-submit",bargain_result:"plugin/bargain/api/order/bargain-result",order_preview:"plugin/bargain/api/order/order-preview",order_submit:"plugin/bargain/api/order/order-submit",user_join_bargain:"plugin/bargain/api/order/user-join-bargain",user_join_bargain_result:"plugin/bargain/api/order/user-join-bargain-result",activity:"plugin/bargain/api/order/activity",setting:"plugin/bargain/api/index/index",poster:"plugin/bargain/api/index/poster",poster_config:"plugin/bargain/api/poster/config",poster_generate:"plugin/bargain/api/poster/generate"},integral_mall:{index:"plugin/integral_mall/api/index/index",coupon:"plugin/integral_mall/api/coupon/index",cats:"plugin/integral_mall/api/goods/cats",detail:"plugin/integral_mall/api/coupon/detail",goods_detail:"plugin/integral_mall/api/goods/detail",coupon_submit:"plugin/integral_mall/api/coupon-order/order-submit",goods:"plugin/integral_mall/api/goods/index",log:"api/integral-log/index",order:"plugin/integral_mall/api/order/index",coupon_order:"plugin/integral_mall/api/coupon-order/index",order_preview:"plugin/integral_mall/api/order/order-preview",order_submit:"plugin/integral_mall/api/order/order-submit",coupon_pay:"plugin/integral_mall/api/coupon-order/order-pay-data",poster:"plugin/integral_mall/api/index/poster",poster_config:"plugin/integral_mall/api/poster/config",poster_generate:"plugin/integral_mall/api/poster/generate"},pt:{index:"plugin/pintuan/api/v2/index/index",goods:"plugin/pintuan/api/v2/goods/index",detail:"plugin/pintuan/api/v2/goods/detail",cats:"plugin/pintuan/api/v2/goods/cats",order_preview:"plugin/pintuan/api/v2/order/order-preview",order_submit:"plugin/pintuan/api/v2/order/submit",list:"plugin/pintuan/api/v2/order/pintuan-list",pt_detail:"plugin/pintuan/api/v2/order/pintuan-detail",order:"plugin/pintuan/api/v2/order/list",poster:"plugin/pintuan/api/v2/index/poster",order_poster:"plugin/pintuan/api/v2/order/poster",poster_config:"plugin/pintuan/api/v2/poster/config",poster_generate:"plugin/pintuan/api/v2/poster/generate"},mch:{index:"plugin/mch/api/mch/index",detail:"plugin/mch/api/mch/detail",category:"plugin/mch/api/mch/category",goods:"plugin/mch/api/goods/index",goods_detail:"plugin/mch/api/goods/detail",cat_style:"plugin/mch/api/goods/cat-style",cats_list:"api/cat/list",setting:"plugin/mch/api/mch/setting",visit:"plugin/mch/api/mch/add-visit",order_list:"plugin/mch/api/order/index",order_detail:"plugin/mch/api/order/detail",manage_index:"plugin/mch/api/mch/manage-index",qr_code:"plugin/mch/api/mch/qr-code",qr_code_parameter:"api/default/qr-code-parameter",statistic:"plugin/mch/api/mch/statistic",year_list:"plugin/mch/api/mch/year-list",property:"plugin/mch/api/property/index",account_log:"plugin/mch/api/property/account-log",cash_log:"plugin/mch/api/property/cash-log",order_close_log:"plugin/mch/api/property/order-close-log",cash_submit:"plugin/mch/api/property/cash-submit",order_send:"plugin/mch/api/order/order-send",express_list:"api/order/express-list",refund_detail:"plugin/mch/api/order/refund-detail",mch_status:"plugin/mch/api/mch/mch-status",apply:"plugin/mch/api/mch/apply",login:"plugin/mch/api/mch/login",order_print:"plugin/mch/api/order/print",update_total_price:"plugin/mch/api/order/update-total-price",update_price:"plugin/mch/api/order/update-price",refund_handle:"plugin/mch/api/order/refund-handle",update_password:"plugin/mch/api/mch/update-password",switch_status:"plugin/mch/api/goods/switch-status",destroy:"plugin/mch/api/goods/destroy",cancel:"plugin/mch/api/order/cancel",order_preview:"plugin/mch/api/order/preview",order_submit:"plugin/mch/api/order/submit",apply_status:"plugin/mch/api/goods/apply-status",qr_code_login:"plugin/mch/api/mch/qr-code-login",poster:"plugin/mch/api/mch/poster",edit:"plugin/mch/api/goods/edit",cat:"plugin/mch/api/goods/cats",postage:"plugin/mch/api/goods/rules",service:"plugin/mch/api/goods/services",mch_cat:"plugin/mch/api/goods/mch-cats",mch_cat_edit:"plugin/mch/api/goods/cat-edit",mch_cat_destroy:"plugin/mch/api/goods/cat-destroy",poster_config:"plugin/mch/api/poster/config",poster_generate:"plugin/mch/api/poster/generate",update_address:"plugin/mch/api/order/update-address",goods_edit:"plugin/mch/api/goods/edit",delivery_rules:"plugin/mch/api/goods/free-delivery-rules",force_cancel:"plugin/mch/api/order/force-cancel"},app_admin:{index:"api/admin/data-statistics/all_data",send:"api/admin/order/send",goods:"api/admin/goods/index",table:"api/admin/data-statistics/table",express:"api/order/express-list",goods_switch:"api/admin/goods/switch-status",goods_destroy:"api/admin/goods/destroy",comments:"api/admin/order-comments/index",comments_top:"api/admin/order-comments/update-top",comments_reply:"api/admin/order-comments/reply",comments_show:"api/admin/order-comments/show",user:"api/admin/user/index",share:"api/admin/share/index",clerk:"api/admin/user/clerk",integral:"api/admin/user/integral",balance:"api/admin/user/balance",setting:"api/admin/mall/setting",review:"api/admin/review/index",tabs:"api/admin/review/tabs",review_detail:"api/admin/review/detail",review_switch:"api/admin/review/switch-status",order:"api/admin/order/index",update_price:"api/admin/order/update-total-price",update_address:"api/admin/order/update-address",address_list:"api/admin/order/address-list",express_detail:"api/order/express-detail",cancel:"api/admin/order/cancel",force_cancel:"api/admin/order/force-cancel",detail:"api/admin/order/detail",refund:"api/admin/order/refund",refund_handle:"api/admin/order/refund-handle",edit:"api/admin/goods/edit",service:"api/admin/service/options",card:"api/admin/card/options",cat:"api/admin/cat/options",order_num:"api/admin/order/order-num",print:"api/admin/order/print",refund_address:"api/admin/refund-address/index",refund_address_edit:"api/admin/refund-address/edit",clerk_destroy:"api/admin/user/clerk-destroy",address_destroy:"api/admin/refund-address/destroy",clerk_edit:"api/admin/user/clerk-edit",cash:"api/admin/cash/list",verify:"api/admin/cash/verify",user_cash:"api/admin/cash/cash",postage:"api/admin/postage-rule/all-list",delivery_rules:"api/admin/free-delivery-rules/all-list",shou_huo:"api/admin/order/shou-huo",delivery:"api/admin/order/delivery",remark:"api/admin/user/update-user-remark",remarkName:"api/admin/user/update-user-remark-name",level:"api/admin/user/update-user-level",goods_edit:"api/admin/goods/edit",sellerRemark:"api/admin/order/seller-remark",confirm:"api/admin/order/confirm",queue:"api/admin/review/queue-status",cash_save:"api/admin/cash/save",goods_config:"/api/admin/goods/goods-config",ecard_api_url:"",refund_detail:"api/admin/order/refund-detail",tabs_v2:"api/admin/v2/review/tabs",review_v2:"api/admin/v2/review/index",review_switch_v2:"api/admin/v2/review/switch-status",cash_tabs:"api/admin/cash/tabs",review_detail_v2:"api/admin/v2/review/detail",cat_edit:"api/admin/cat/edit",cat_destroy:"api/admin/cat/destroy",pick_link:"api/admin/cat/pick-link"},clerk:{info:"plugin/clerk/api/index/clerk-info",order:"plugin/clerk/api/index/order",my:"plugin/clerk/api/index/my-order",detail:"plugin/clerk/api/index/detail",card:"plugin/clerk/api/index/card",my_card:"plugin/clerk/api/index/my-card",card_detail:"api/card/user-card-detail",statistics:"plugin/clerk/api/index/statistics",qrcode_parameter:"api/default/qr-code-parameter"},miaosha:{goods:"plugin/miaosha/api/v2/goods/index",estimate:"plugin/miaosha/api/v2/goods/estimate",goods_detail:"plugin/miaosha/api/v2/goods/detail",cats:"plugin/miaosha/api/v2/goods/cats",goods_info:"plugin/miaosha/api/v2/goods/miaosha",order_preview:"plugin/miaosha/api/v2/order/order-preview",order_submit:"plugin/miaosha/api/v2/order/submit",today_goods:"plugin/miaosha/api/v2/goods/today-miaosha",time_list:"plugin/miaosha/api/v2/goods/time-list",add_cart:"plugin/miaosha/api/v2/index/add-cart",cart_edit:"plugin/miaosha/api/v2/index/cart-edit",poster:"plugin/miaosha/api/v2/index/poster",poster_config:"plugin/miaosha/api/v2/poster/config",poster_generate:"plugin/miaosha/api/v2/poster/generate"},diy:{page_store:"plugin/diy/api/page/store",receive:"plugin/diy/api/ad-award/receive",coupon_receive:"plugin/diy/api/coupon/receive"},vip_card:{index:"plugin/vip_card/api/index/index",card:"plugin/vip_card/api/index/card",order_preview:"plugin/vip_card/api/order/preview",card_detail:"plugin/vip_card/api/index/card-detail",setting:"plugin/vip_card/api/index/setting",right:"plugin/vip_card/api/index/right",index_right:"plugin/vip_card/api/index/index-right",order_submit:"plugin/vip_card/api/order/submit",pay_data:"plugin/vip_card/api/order/pay-data",recommend:"plugin/vip_card/api/index/recommend",poster:"plugin/vip_card/api/index/poster"},advance:{goods:"plugin/advance/api/goods/index",banner:"plugin/advance/api/goods/banner",detail:"plugin/advance/api/goods/detail",poster:"plugin/advance/api/goods/poster",order_submit:"plugin/advance/api/order/advance",order:"plugin/advance/api/order/my-advance",order_preview:"plugin/advance/api/order/order-preview",order_sub:"plugin/advance/api/order/order-submit",order_detail:"plugin/advance/api/order/detail",pay_data:"plugin/advance/api/order/pay-data",get_payments:"plugin/advance/api/payment/get-payments",goods_list:"plugin/advance/api/goods/index",poster_config:"plugin/advance/api/poster/config",poster_generate:"plugin/advance/api/poster/generate"},gift:{order_submit:"/plugin/gift/api/gift-order/order-submit",order_preview:"/plugin/gift/api/gift-order/order-preview",config:"plugin/gift/api/gift-index/config",pay_data:"plugin/gift/api/gift-order/pay-data",gift:"plugin/gift/api/gift-index/gift",poster:"plugin/gift/api/gift-index/poster",send_list:"plugin/gift/api/order-list/send-list",send_detail:"plugin/gift/api/order-list/send-detail",turn:"plugin/gift/api/gift-order/turn",get_turn:"plugin/gift/api/gift-order/get-turn",my_join:"plugin/gift/api/gift-join/my-join",my_win:"plugin/gift/api/gift-join/my-win",win_detail:"plugin/gift/api/gift-join/win-detail",join:"plugin/gift/api/gift-join/join",join_status:"plugin/gift/api/gift-join/join-status",join_detail:"plugin/gift/api/gift-join/join-detail",preview:"plugin/gift/api/gift-order/gift-convert-preview",convert:"plugin/gift/api/gift-order/gift-convert",list:"plugin/gift/api/goods/goods-list",goods:"plugin/gift/api/goods/detail",cancel:"plugin/gift/api/gift-order/order-cancel"},foot:{index:"api/footprint/footprint",list:"api/footprint/index",del:"api/footprint/footprint-del"},quick_share:{poster_list:"plugin/quick_share/api/goods/poster-list",goods:"plugin/quick_share/api/goods/index",poster:"plugin/quick_share/api/goods/poster",setting:"plugin/quick_share/api/setting/index",poster_config:"plugin/quick_share/api/poster/config",poster_generate:"plugin/quick_share/api/poster/generate"},stock:{status:"plugin/stock/api/index/apply-status",index:"plugin/stock/api/index/index",setting:"plugin/stock/api/index/setting",apply:"plugin/stock/api/index/apply",clear:"plugin/stock/api/index/clear-apply",cash:"plugin/stock/api/index/cash",detail:"plugin/stock/api/cash/index",level:"plugin/stock/api/index/level",info:"plugin/stock/api/index/info",up:"plugin/stock/api/index/level-up",bonus:"plugin/stock/api/cash/bonus-detail"},region:{status:"plugin/region/api/index/apply-status",index:"plugin/region/api/index/index",setting:"plugin/region/api/index/setting",apply:"plugin/region/api/index/apply",clear:"plugin/region/api/index/clear-apply",cash:"plugin/region/api/index/cash",detail:"plugin/region/api/cash/index",level:"plugin/region/api/index/level",info:"plugin/region/api/index/info",level_up:"plugin/region/api/index/level-up",clear_up:"plugin/region/api/index/clear-level-up"},template:{template:"api/message/template"},pick:{goods_list:"plugin/pick/api/index/goods-list",goods:"/plugin/pick/api/index/goods-detail",order_preview:"/plugin/pick/api/pick-order/order-preview",order_submit:"/plugin/pick/api/pick-order/order-submit",poster:"plugin/pick/api/index/poster",add:"plugin/pick/api/cart/add",list:"plugin/pick/api/cart/list",edit:"plugin/pick/api/cart/edit",delete:"plugin/pick/api/cart/delete",poster_config:"plugin/pick/api/poster/config",poster_generate:"plugin/pick/api/poster/generate"},live:{index:"api/live/index",playback:"api/live/play-back"},ecard:{index:"plugin/ecard/api/index/index"},composition:{index:"plugin/composition/api/index/index",config:"plugin/composition/api/index/config",detail:"plugin/composition/api/index/detail",composition_detail:"plugin/composition/api/index/composition-detail",order_preview:"plugin/composition/api/index/order-preview",order_submit:"plugin/composition/api/index/order-submit"},favorite:{cats:"api/user/favorite-cats",my_favorite_goods:"api/user/my-new-favorite-goods"},flash_sale:{list:"/plugin/flash_sale/api/index/goods-list",detail:"/plugin/flash_sale/api/index/goods-detail",add_cart:"/plugin/flash_sale/api/index/add-cart",poster_config:"plugin/flash_sale/api/poster/config",poster_generate:"plugin/flash_sale/api/poster/generate"},full_reduce:{list:"api/goods/full-reduce-goods-list",index:"api/full-reduce/index"},community:{setting:"plugin/community/api/index/setting-data",index:"plugin/community/api/middleman/index",apply:"plugin/community/api/middleman/apply",apply_result:"plugin/community/api/middleman/apply-result",apply_pay:"plugin/community/api/middleman/apply-pay",activity_list:"plugin/community/api/activity/list",activity_detail:"plugin/community/api/activity/detail",activity_log:"plugin/community/api/activity/log",user_activity:"plugin/community/api/activity/activity",activity_goods:"plugin/community/api/activity/goods-list",middle_list:"plugin/community/api/order/middle-list",middle_detail:"plugin/community/api/order/middle-detail",order_list:"plugin/community/api/order/list",order_detail:"plugin/community/api/order/detail",poster:"plugin/community/api/activity/poster-config",middleman_list:"plugin/community/api/middleman/list",cats:"plugin/community/api/activity/goods-cats",cart_add:"plugin/community/api/cart/add",cart_result:"plugin/community/api/cart/add-result",cart:"plugin/community/api/cart/index",cart_delete:"plugin/community/api/cart/delete",cart_edit:"plugin/community/api/cart/edit",goods_config:"plugin/community/api/goods/config",profit_list:"plugin/community/api/middleman/profit-list",profit_detail:"plugin/community/api/middleman/profit-detail",order_preview:"plugin/community/api/order/order-preview",order_submit:"plugin/community/api/order/order-submit",notice:"plugin/community/api/middleman/notice",list:"plugin/community/api/activity/activity-list",bind:"plugin/community/api/middleman/bind",goods_detail:"plugin/community/api/goods/detail",switch:"plugin/community/api/goods/switch",edit_address:"plugin/community/api/middleman/edit-address",confirm:"plugin/community/api/order/confirm",goods_generate:"plugin/community/api/goods/generate",poster_share:"plugin/community/api/poster-share/generate"},exchange:{list:"plugin/exchange/api/index/card-goods-list",code:"plugin/exchange/api/index/get-code",detail:"plugin/exchange/api/index/card-goods-detail",me_list:"plugin/exchange/api/index/me-card-list",me_detail:"plugin/exchange/api/index/me-card-detail",order_preview:"plugin/exchange/api/index/e-order-preview",order_submit:"plugin/exchange/api/index/e-order-submit",exchange_preview:"plugin/exchange/api/index/c-order-preview",exchange_submit:"plugin/exchange/api/index/c-order-submit",setting:"plugin/exchange/api/index/setting",log:"plugin/exchange/api/index/me-log",info:"plugin/exchange/api/index/show-info",unite:"plugin/exchange/api/index/unite",covert:"plugin/exchange/api/index/covert",log_detail:"plugin/exchange/api/index/me-log-detail",qrcode:"plugin/exchange/api/index/qrcode",poster_generate:"plugin/exchange/api/poster/generate",poster_config:"plugin/exchange/api/poster/config"},wholesale:{index:"plugin/wholesale/api/goods/index",detail:"plugin/wholesale/api/goods/detail",cart:"plugin/wholesale/api/cart/add-cart",cats:"plugin/wholesale/api/goods/cats",order_preview:"plugin/wholesale/api/order/order-preview",order_submit:"plugin/wholesale/api/order/order-submit",poster_config:"plugin/wholesale/api/poster/config",poster_generate:"plugin/wholesale/api/poster/generate"},teller:{code:"plugin/teller/api/member/pay-code",search:"plugin/teller/api/member/search-pay-code"}},i=r;t.default=i},a34a:function(e,t,n){e.exports=n("bbdd")},a760:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={list:{},show:null,first:{},is_storage:!1,setList:function(e){"undefined"===typeof this.list[e]&&(this.list[e]=!0)}};t.default=r},a99b:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABQCAYAAADvCdDvAAAKeUlEQVR4Xu1da5AU1Rk9351lF1h2euexCAQFfKYkBYaUj+DbojCWohitGEsNmuAjmqQ0krKSYHykMCbEJFbKKkOikWgqoqjxEU2oUtRQESpUqUmopABjgIjATvdMNwKBnemT6oFZl3Wnp/tOD+7udP+d75z73XN6bt++fftrgeZhWTyCgkugMBGA0qSJYUQPFDaMAJ5OJsUUHUUsmzcBuA9Amw4+xnxUARK2q3BVaEMsm+cB+AOA0NjYCH8FCBRCi2ra/IsAn43FjV4BCvaEMiTn8JOK+Gf0qcSMngKhDbEc3gvitli+xigQyhCSCcvBZgEmNCadmDWUIQcu5i/GsjVOgVCGmDaXCfCFxqUTMwc2ZFOBqTEKW4UYWY9sLvEjaEwKJAEBcSSALw/nITOwIVaB10PwYD1mEHg8Y8jl9XBYFg0m8NJwnXYHN8ThKhCn6orpEu9ICTMyGXF0OSq4QoFHuoINw3G5JpAhO2we3QKs174zF+wtuTitq1PW1mtGBW85fAvE9Kj4BgtPIEPMPO8She/pJk3glowhP9PFD4SzHK4EcVaUnIOBq6YhJCXvYCNQvqCGPlzg+awhF4YG1gA0rSGWw9NBvK4jKIEtewSfnpgUUwfvh2laQ0yHS4S4VkPQIko4J52WP2tga0Ka0pANG9iW7sI2EXTWVKh/gMLCdIcsCo0LCGhKQ/IOLybxdECNesMIvJxOYraIuGGxQeOb0hDT4XIhLgkqkhfnAtvdBE4YO0a2hcGFjW06Q8p3xC3YFnKpxCVxXqZTVoQVOGx80xmSdziPxCNhhIpiaSRoe01niGnTWy/6XFCBDsQ9mDbkqyExWuFNZYjjMFsEtoIYEVKt2JCQgvUPH/BO3dzJ68TFLzS4Y0M0ROsLGdiQAv8kgtka3LEhGqL5GlIoMOUqbNcYrrwp72+yhsyrM6dA8Ka5huTyvFop/DqQKv2CXGBjJoljRYQ6+DAYy+GrIM4MgxkKsR8ZsswCl4u3X1fzIPDNjCE/1YQHgpFssxxsEuCwQIAhFHSQIevWsXXcJ5ATQUcdfSAFvyTx8KgWbN61C5H+W9iCsSNacDeIi+rIcdBCDzKkeyfPTrh4ZdBm2wSJHWRILs/vK4WFTdDvQdvFgwyxCnwVMvwulINW/QES6zWEZItpw1aC0UOpA8Mt115DrA84DSW8Pdw6ONT602tIzuE8FXJ1d6h1dijk++E/xOFiEAuGQtLDOcdeQ0ybLwrgvaoWHx+jAh8OWTY3KODojzGXuOnKG1RPPMHErHOxBwj9/CMWMWIFyv+QfJ6TqPCfiLljOg0FyoZ053l2QsVLJhr6RQ4pG2LZvALAY5Gzx4ShFSgbYha4QASLQ6NjQOQKVAxZLBLfg0SurgZhZchaCuBLGvgYErECZUNyNp9TwJyIuWM6DQUqQ9ZrIjhDAx9DIlZgvyEO3xZiWsTcMZ2GAvsNsflvAaZo4GNIxApUDNk2HHdwRKzVIaGrGOII6tppckiSbYZGKteQ3UKMaoYOD/Y+xoYMMocabYhLYI0Aa4nyBrzRII4ncNYwGiLpEm8qwWoCO0i0CXAcBGcLkArrd6MM8V5te0i1YVFqlGzqn9RWcnSrg/kKuANAOmzSgyWewDIK7swm5V/9cyLZau3EFSQWKWB80JwjN4TATgEuSxvyUq0kTJMTkcDzIjihVuyg+l2w1yXmZw2puULuOMwUgeVBy4BEbUjRJc7Ndkrg7ai2zXQPsFoBxwwq0asnwyJx+dhOWRY0361bObqtHSsFOKkWJmpDFqUNCb0VNWfzJAW8MRTKLXmbyDOd8pVawvb/vfA/HlXci38o+BeA27/aG0GpIwI2ijhCtx6W6fApIT4ftqOHNF7QM7IFU0aPlvd02s3ZfEABN/phK8vvVwJ4VKeRCobA0owhV+ty5PKcqxSe0cUfCpwLrMgacq5uWzmbJytgtR/eK7xQLqScK/DbSuFOEK06DZaI67s6ZYkO1sOU3/wlunXxhwJH4I6MIXfrtuWV2TUd7FJV6uV7ZgC4sLey9dY8J7UqzAExQamD67qTuLg8v65+XJA2xKsHr31YNvf5bUVygd8qwRbtBnzHCiRReziZn0nKQ/W0bxa4WQSHD8RB4I2MITMDlRo3HT4pxKXVknFdzM2m5FndZA8USusBkKjKITg9nZRVum344UyTh0sLNvtyK9yQ7hCd18V7aU2b71WrquoSa7OdcmIgQ3IFPqwE11RLmC5uzaTkJ7pibS/wyBGCd3zxJUxPp+Vvum344SzSgIOC75+I+HGmU76l2/42sr3VgVcEdMBvrXhVlDKGzApkiGnzdgGqjp8EXswYcr5usmaB14n4FytgEYbuLC5IXpZNC/7LHW+mDZkRhGugmG6HcxLEc1VPasGvMkm5NpAheYdzSd9ZUHEfcey4TnlXJ2HT5loBPlM1WWBTxpDJOtxBMVaBr6HGo2wXOCVryJqgnH3jLIcvgKh60hK4OWPI/YEM2WIz3Y7yLKj6p40Ez6aTMjdssqbDa4R42A/nAkuzdUyrg+Rk2rxL4F991QVWZ5I4TURKQTgrMUHq5ve4OOGwlLwdyBCP2HT4shDn+ApHfDfbKfcETda2eWIReEWAMX6YkuCirqRU/bsHbc8vLv8Bp7OEtwJw/TxtyDcCxJVDuh0eK8QqBXT5YDamDSkvHwU2JGfzShXgBpLEfdsMfGeqiDeNrXp4N4MiWCpSnnJWPQi8n05ikoh4s7CGHrWGzkrjFCzt2Y2bxo2TXX4Jde/kWcrF47Uekbt9TuTAhqxcyZZpM7A+yIYIF1gvgh9KB55Ki9i9Hdn/cumZSuFmEBcEUbfkYkFXSrwPkDX8MAu8VARPBmnIK4NLYHGr4HfJpOT69FFZO3EKXHxdBJfVOum9ZSfHxeQpKSnP8gIb4gWbBV4iguVBEi7HCIpkuRBzjkS7AMeI+A9PfbkP1E/5lIjsDdxmHYHe/ZDl4HUBTgtB47qAt3PHqzM5Eiz30QiKL7m4tavPLUMoQ7xGLIfPgAh98Q6aYJ84VxRmpTpkpQZWG2KaPJ4JrFXS+H0GLvHXjIGZIlKsJBzaEO9bIu2CNY1+huESC7Odjav96+dY3uZV3oJp2BEkzFlAwY59JZw8PiUHvSwV2hCv0cIeTinthbcFdcB1mTCJVYl9IG3I1yLg0abIFXibEtyrTeAPzJeI2QN9MULLEK+t9/Oc3KrwggBTI0zaqx50j86Drghz6KXK2bxRAfcDaImKn8R/S8ScsSkZcIqtbYiX4I4dHJNoxf2yf52rLi4C2+nihmxKfh9V56PgsSyezgQeEc0vRPTL4bkRCvM7OqTqo4a6RKw0tiPPMxIKPxBgZlgRCHhz+SXKxd2pA1O/sByNjic50nLgLSzeorm95+8Ebs8ma6+IR2JIRRDL4al0MQ8K5wt9v3dYcgFv/WrZPoXHxvucMY0WOwx/N9mhbFwuCl888Amoqg/0CHhffv4jgUfTSawIWvowUkP6ds5bUhfBcQliAgXtAIoKKFDwLnqwrpErt2FE1o3dsoWjRnZgqkrgKCkhJYJWV7Dbe/LXBqzv6PBujsPXn/w//FxsjNmKo98AAAAASUVORK5CYII="},ad56:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("f932")),i=a(n("4c11"));function a(e){return e&&e.__esModule?e:{default:e}}var o={getAward:function(e,t){var n=this;return new Promise((function(a,o){(0,r.default)({url:i.default.check_in.sign_in,data:{status:e,day:t||1}}).then((function(e){if(0!=e.code)return o(e.msg);n.checkInResult(e.data.queueId,e.data.token).then((function(e){return a(e)})).catch((function(e){return o(e)}))})).catch((function(e){return o(e)}))}))},checkInResult:function(e,t){var n=this;return new Promise((function(a,o){(0,r.default)({url:i.default.check_in.sign_in_result,data:{queueId:e,token:t}}).then((function(r){return 0!=r.code?o(r.msg):1!=r.data.retry?a(r.data):void n.checkInResult(e,t).then((function(e){return a(e)})).catch((function(e){return o(e)}))})).catch((function(e){return o(e)}))}))}};t.default=o},b41f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={reportAndError:{boolean:!1,content:"网络开了会儿小差, 请刷新重试下哦~"},is_edit:!1},i={reportAndErrorObj:function(e){return e.reportAndError},is_edit:function(e){return e.is_edit}},a={reportAndErrorObj:function(e,t){e.reportAndError=t},is_edit:function(e,t){e.is_edit=t}},o={reportAndErrorObj:function(e,t){e.commit("reportAndErrorObj",t)},is_edit:function(e,t){e.commit("is_edit",t)}},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},b6a2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={id:null,showPayment:!1,payData:null,payType:null,resolve:null,reject:null},i={id:function(e){return e.id},showPayment:function(e){return e.showPayment},payData:function(e){return e.payData},payType:function(e){return e.payType},resolve:function(e){return e.resolve},reject:function(e){return e.reject}},a={id:function(e,t){e.id=t},showPayment:function(e,t){e.showPayment=t},payData:function(e,t){e.payData=t},payType:function(e,t){e.payType=t},resolve:function(e,t){e.resolve=t},reject:function(e,t){e.reject=t},setAll:function(e,t){for(var n in t)e[n]=t[n]}},o={reset:function(e){e.commit("id",null),e.commit("showPayment",!1),e.commit("payData",null),e.commit("payType",null),e.commit("resolve",null),e.commit("reject",null)}},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},b6a25:function(e,t,n){"use strict";(function(e){function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=null,o=function(t,n,i,o){switch(a=i,n){case"advance":var c={goods_id:t.goods_id,goods_attr_id:t.id,goods_num:t.number};a.$request({url:a.$api.advance.order_submit,method:"post",data:r({},c)}).then((function(e){0===e.code&&s(e.data)}));break;case"gift":for(var l={name:o.name,price:t.price,attr:{id:t.id,attr_list:t.attr_list,stock:t.stock,goods_id:t.goods_id},attr_str:"",pic_url:t.pic_url?t.pic_url:o.cover_pic,number:t.number},u=0;u<t.attr_list.length;u++)l.attr_str+="".concat(t.attr_list[u].attr_group_name,":").concat(t.attr_list[u].attr_name," ");if(a.$storage.getStorageSync("GIFT_CART")){for(var p=0,d=a.$storage.getStorageSync("GIFT_CART"),f=0;f<d.length;f++)d[f].attr.id===t.id?d[f].number+=t.number:p+=1;p===d.length&&d.push(l),a.$storage.setStorageSync("GIFT_CART",d)}else a.$storage.setStorageSync("GIFT_CART",[l]);e.showToast({title:"加入成功",icon:"none"});break;case"pintuan":break;default:break}};function s(t){a.$request({url:a.$api.advance.pay_data,method:"post",data:r({},t)}).then((function(n){0===n.code?n.data.hasOwnProperty("id")?a.$payment.pay(n.data.id).then((function(){e.navigateTo({url:"/plugins/advance/order/order"})})).catch((function(){e.navigateTo({url:"/plugins/advance/order/order"})})):setTimeout((function(){s(t)}),1e3):e.showModal({title:"提示",content:n.msg})}))}var c=o;t.default=c}).call(this,n("543d")["default"])},b6ab:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("66fd"));function i(e){return e&&e.__esModule?e:{default:e}}var a={data:{}},o={data:function(e){return e.data},userCenter:function(e){return e.data}},s={data:function(e,t){e.data=t}},c={data:function(e){r.default.prototype.$request({url:r.default.prototype.$api.user.config}).then((function(t){var n=t.data,r=t.code;if(0===r){var i=n.config;n&&i&&i.user_center&&e.commit("data",i.user_center)}}))}},l={namespaced:!0,state:a,getters:o,mutations:s,actions:c};t.default=l},b71c:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABYCAYAAAAKsfL4AAAQgUlEQVR4Xu1de5QcVZn/fdUzY0Jmunq6upOABidysoiRd0448oryDA9BDS4rIKxkYY+s4CqvXcIeURSX1V3loUck7LLiA2UBQRAM7OYBQgTEB46KgoBZN8l0V3dXdRxIerp+e25N99DT0496dfdk3fprpuu73/3u73ff97tfCbr0jOV5tBbDSUIsJrALxGgfcFciIb/rkgmes/ntb/mGZBqnieBoAikQNojNcHC3YYjtWZEHQfEgE0pke4H79Gu4HcSRDRSVHeAWI45LReS1UBlFlNi0uBLEV0WwqF4lgTyIy42E3BZRdugoAfkdPLBcxiMakG5lsENsnHgNpyxcKH+MqmBB9GTzPE/ToMCNtUpP4NOGLv8QJI/6NB0jQIHPMh6FasIeHgI/dOI4KS1S9CAeuUjW4rka8K/twK9m7BDXpRKyJqwhHSHAL/jVQhB40onjxG6T4Bf8KXsFnzficnkYEiInICj4vSIhKPhRkRApAWaRb4OD9QLMD1MrutUSchbPAXC7126nWZkYoiVERkAF/P8SYEEY8Gv62A2GjuNEpByFvnodmRxPicXwXQB9UegPSkIkBEQNfk139DFDly9GAVCtDtNknH14od3szG++QUgITUCnwFeFJ7ElqePNIkK/YLSSz1u8hMANUeoMOiaEIqCT4E91RSXsl0rJr6MEy7T4gACnRKmzVpeflhCYgG6ArwrlEMenEqLWE5E9ZoHPieDtkSlsoMgrCYEI6Bb4bjcEvMPQZXOUYJkWfyTA8ih1NtLlhQTfBHQTfAClchxG1Aszs8BbRfBXnSbArUBtpqi+COgy+Mr4u424nBE1UPki30kH66PW20yfA9yc0uXiRu89E9B18Inxfg0Hx+Pym1rDX3qJc9oBNzKCWKGA/qrcjh3YuWiRvFqbLmvxfg14dztdUb1vRoInAjI2/0wjNgqwMCqD2ugpOQ7enxqW+5ScWeAqCC4lcLAGtCWg0ZhIYhTAjUkda9W09pUChweB9SI4sEtlQiMS2hKgwBdivQbs1SVDS47gzFRc7lX5ZQtcowk+HVXeDrGOOs5Q44pt0yg5+M9ektCSgF6DnytwDSIEv0oiBY+XxrFSnT/0moSmBPxfBX+qJQk2lYdwaq9bQkMCegD+BDWcYwzJtxVAnar59d1Y7a5rL1oCHayeQUDPwbd5JYh/jKrPb6enlyQ4xN9NI6DX4JsFXiaCz7UDLer3tSRUZkfrRLAs6nzq9U0j4E8V/KmBueY4NJ9nwhE80mkSpgjIvcq9uRNPiOCNnWa9on9an9+rmt9qTOgGCS4BJCVn43EBDv9TBr8XLcElYMziyX3Ag/8P/usI1I4JnWwJLgFmgWtFsLoLBNR3OxeK4JYu5Bsoi26QMEmAxccEDd0GAxneJNE08C2LyRLxe00wL0wmBH4lgudJvCaCuSQWQDAijGbPqtMkuATkbP4Q7Gj/Pw18BXjG4lkx4BtBwSfwe4d4XzohP26kQ00l9yAOjAmWU8NyEkcHPYAnsFlzcNLwsBSi7o6qBPw7iHODgtEmXVmADw3rcketXKbAy2OCfwqSpwJ/gnjXAh9e1Wqikc9jKWM4DsBKAiv87KqSeEYjjo+aBJeAQpGrHAf/EQSMduA7wPkpXb6m5CyLy3Vdnqq0gLNjwNf95lkP/tY8RwY0nEtiLoAdQmzVgBdiMYzG42I2009yXsHGqjLxFU3ctG2fTpBQnYbGckU8K8QBba3wLqDczqfANws8E4K1yTjSyg3d3XchXhF4HwPqwd9e4Fv6xPXC27uRWQReAfAkgce0MjYND2O03r3FLPB4AvcFISGXo84YHhLgHd5hmS45tRCrnHaptcBwUGU16aaBn7X5Xo1Qm2z9ZeCstC7fUrI5ixcB+JKX/PyC34SQbRA8BAcPjRfxQPWELAwJGXJIs/GDoCRM34oocFlMsA7hSGgKvgJFzVqScRwkIrtcEmxeAeL6ViREAX69fkewcWL89fsIvSJh5mZcOBJagl8FgYJbjbhcWP3ftHmp0N2Aa7Q1/kqJOKY64Lbrdry0pqrMbCBhBgHKuLE8D+7T3Jbg6WJFpUCewJ8qfJ2XgFng+yG4XoDFroxggg7un9OPj8ybJ1vVT1GCP1tIaEiAMs6nj78v8KdqqeCrw0P4sIg41d/GLC4RQu8HXkwkJF/9Xd0z6xMoz+uGA66fmj+buqOGBzJVAyv3u9ZprX39JxwHq1PDk1PN2gHXCygk7o0Bq2vBrk+XyfOdmoZvddIjI/LuyMID6oZlm7Hti4YuH2t5KG+aXIQYbhDB6QC0OoU/heDiZFweV79X/O3vBvAGL+DXyGQJfHnCwT3zE+5UcUKtOKnhCArOF+K9TcYHn9m0Fg9LgkP8eEDDiWr9QbI/Z+PvASiAE7U5k3hJBFcldblzsrf18ORy3NuJYYVGLCwDNomn5g/LT6pJswUeC8GDmn/wZ/QIACYADHgwK3KRsCQQeHrcxorqFJfkHNPCEaK5d6Mn1N1oI45natcjnghoVVK1IHFieF5rczPGAcYEsACk62tF5EiGUBiaBOJzRkKu8GpCaAJa7eso0El8XgbwzdQe8oeqUWaRS0GcD+AiYSBPN6/lCyQXhgQS4yhjT6836kMTkLO5AcSK+pISWNcHfEDXJdcMhWyW+0k/7hNgSSCkOpgoDAllwenpuNzvxbzQBJg2twjxprqB5t6kjjNFpKR+Vw61Q2kcyTIWaMCLN8Xx1DWV6ee2Iuf3l/GoCPb3YnA3ZYKSQOBvDV08XYEKT4DFlwV4cxUYNbWsBV9NTUHcUrsfT8GoaDgrOSg/V+lcp4Bd+NlsHBuCkOAAf5PS5cteKksUBHxfgJNUZjPAb3H9n0ChDzhB1+VplTZb4JWadM8hyws4VRm/JIiGFcNDsslLHuEJsKnm6rf5AX+qtQAv58bw1iVLZKfaop4gtkV1b9dL4f3IeCWBxH8ndYx4vd8cmoBRcmChhc8kdVxV7fN9Xf8XnJaMy/cUGKbNn0V8LuEH47ayXkgQ4Nz6E8BWikMTUK/cF/huv4Urkglx3RFNiw8LcGJbJHoo0IoEAjcaunzUj3mREuAbfABl4oJ0QtZOjiHsKxaRKBGHCnA2gA/Mxi6pEQkATjQScpkf8JVsZAQEAR+CEkvYxzBkSyPDx/I8KKbhO7vDOsEv8FX5SAgIBP7kCdknDF0+pYxxN+CIRbt2YfvChTJWNXBrkemBMpS38kFBC9mpdOqmjTOEk2uv0Y6OcmDp0skTPy9PaALMIv9cHHzTb8iX6v3ZTIZ7ST++pIl7Y1GFCqNDbEIMH04Nya9UIbZv54LYHPxEA/b0UqhuyhD4tRA3QFBwiFUi2MvO4djFi73FwAtFgG0zVXLwOxEM+Sl0FXy1y8qY69nwlvr0boA8walGXJ5Q73IW1Zjg25XFj12NZAkUBT7LB3zS0OUaL3mHIsC0uVoIdwD1+ngBv0ZXZlyw35viYq5fz74DDsEfwgaD8mqnK0dczRjuheOexvmJg/RCUhdP+1uhCMhavFYDrvZaKJ/gVzDAxw1dvqD+MS3eKcCZXvMLLUdcnUzIZ3xfUheUknHxdKYRloCLNK++PZWYCa26nSaA3ZHUxXWdzNm8Xq0bQgPrR0EAEgi8bOgy6WDQ5glHwDjfiBJebHcSFqTmV+0msdZIyAXq/8wfuaf2GhZjAG+Hg1UCHB/lVLopVj5JoI9DmVAEKIOzFlUruLkZEGHAV/rLwNlpXdQsa8Zj2jwcxB2NBvF2Nc/3e48kkPiFU8Lh6bS3+KehCXD75gIvoOCmupbgELhORZgN0O1U+/+nk3Ecrg7q3TGRlHr/zmKR6Z1lPKwJDvENqt8E00l4UICRWhUEfurswsnp9KQvk5cnEgJURvk8RyhQTrgjBLZJDPckB+U517OiDxv81lICvxzQ8K7BQWRMW/kPuceXb1XTQgLfjw1gzfBceVnlXdlJVZ7XM6azXkDwI+MQa1IJuW7bNs7r38PdKjlMiIky8FgqjruqG5JedUZGQLMMczY3gq19ZOrT1oBv5m03nPCM+wsETIdYmU7IM25XuIPHaWU84rXgIeQoGo4ZHpINIXRMJe0oAabJpdKHX/gxtBb8nIVviGpVzZ/sQAz7Dw6KOkdQhzrPaoKDveangnALsF2FsfE5mH87qctfeM2nlVxnCSjwDBHc5dVQn+BPqhV8NhmXq1wC8rxW0zyvS0oUrDDi8mTO4kf8kEDBz424RBJnqKMEFHbwOMdjtxAI/MkNvccNXY5yxyGLHyTgukl6eQjYEKz0SwKJTUZCZniCeMmzXqajBJDcI2e72wfT3PNa9fkeup1pySl4wojLEepHNduSPhxTdrCvigvqxdMiEAmCK5NxCXTHrasEqMxMmx8SugNpwydoza8qI/AFQ5ePN1Kes3gyia80+hpGrbwfEgiM7oxj+V4i40FqfNcJcPtmtVgT3ABOD5St5s3KoXVwEKbfmq/0qimpNoADqtPRRoAUi5xfWSe0HJxrSagsLtXAPO1LGg7wPPtwTHqe/E8U4E8OYV163IsfMfw1iaVq6k7g4WIOt46MoBQEfIdQURBPU1F1czt4AB18VIBDSZRAbHRK+Jd0ehKoQoHDE4InNWDfVsV1SVBHi7pszhS4TNNwEYj9RbADDn4woePm+SI7ooSsawQ0M9q0eI0An/BTKAW+AKcbCXkka/EcTXAbOMOjOusAp6Z0+VGFhGWOQP1d72ZfP6aMvQq8TW2B+7EpqGxPCai4tGREEPdagDrwW373hYDlCJanK7FHsxa/pwGntsuLgsuMuPxzO7ko3veUgFyO+yMG1z3Ry+MH/JpB+k5DF7VloCYErhNZu7wITKVpJxv2fU8JyNjcN0Z4Ck0fBPzKQJ0zdDEqk4HDNKBtIHAH+FpKl/PCguslfU8JuIbULi5CeVe3DAobFPwKADuTurjRdjMFHhITNAzwUQsWHZxvDMu/eQEwrExPCXBrpc3zNLof0mn4hARfTVWfMnQ5zG0N5JycjfsrBzkN8yPxXFLHsupl8rAAt0vfcwKUgTmbl1duzE+zxyHGBXhPZbbj60NrNQU/O1lzoLNlC+fOHcJ3NcEJ9eA4wIvox4ra2zztAAz7flYQ4A6QBZ4AgXLtWwZxP/a5ARo+ZQzJLyt7PKpLaPmJwQaA3piq+GqqD/egH7eXxvHBBQuw07TU9yvxlyLYh0RGNNw9TnyyW9PPqq2zhoBmNSln80jQjfXv63NT9ZHKTZu3CHGhQ9yTSsiqsDU3qvSznoCsxUc14Fg/Ba4HP1vgFZq8HhSkTByaTsizfnR2SnZWE+BGurKhPnPrycdGgTSj5jeIxuvnDlengN8tuiCSWr6InfWbeE1nTDODgDQMhdzNlW47Amd1C3AHZ4ubBXCnka0eLzV/Kr3gqGqIhXZ6O/1+1hOQyfO0mOZ+87GprX7AVyHMDF1aBtLoNOi1+mc9AZVWoIJeqM2xGfY6wE0pXS6pFkp5bE8Qyq19RrwjAr8Z0HDU0NDr9w+6CXajvHYLApThOZvvpoNrq997IfCSQ1yfTsiM6LuWxSUTwE0CN0ylWjvsInDPgIZLhoYk02vQd7sWUGuwWlC92o9+Lwsmk4xPWEjP17FVIjpCjJq83aYFRF3w2aLvfwFGFAJ6pGhb7gAAAABJRU5ErkJggg=="},b91a:function(e,t,n){"use strict";function r(e){return e=e.replace(/∀/g,"∀"),e=e.replace(/∂/g,"∂"),e=e.replace(/∃/g,"∃"),e=e.replace(/∅/g,"∅"),e=e.replace(/∇/g,"∇"),e=e.replace(/∈/g,"∈"),e=e.replace(/∉/g,"∉"),e=e.replace(/∋/g,"∋"),e=e.replace(/∏/g,"∏"),e=e.replace(/∑/g,"∑"),e=e.replace(/−/g,"−"),e=e.replace(/∗/g,"∗"),e=e.replace(/√/g,"√"),e=e.replace(/∝/g,"∝"),e=e.replace(/∞/g,"∞"),e=e.replace(/∠/g,"∠"),e=e.replace(/∧/g,"∧"),e=e.replace(/∨/g,"∨"),e=e.replace(/∩/g,"∩"),e=e.replace(/∪/g,"∪"),e=e.replace(/∫/g,"∫"),e=e.replace(/∴/g,"∴"),e=e.replace(/∼/g,"∼"),e=e.replace(/≅/g,"≅"),e=e.replace(/≈/g,"≈"),e=e.replace(/≠/g,"≠"),e=e.replace(/≤/g,"≤"),e=e.replace(/≥/g,"≥"),e=e.replace(/⊂/g,"⊂"),e=e.replace(/⊃/g,"⊃"),e=e.replace(/⊄/g,"⊄"),e=e.replace(/⊆/g,"⊆"),e=e.replace(/⊇/g,"⊇"),e=e.replace(/⊕/g,"⊕"),e=e.replace(/⊗/g,"⊗"),e=e.replace(/⊥/g,"⊥"),e=e.replace(/⋅/g,"⋅"),e}function i(e){return e=e.replace(/Α/g,"Α"),e=e.replace(/Β/g,"Β"),e=e.replace(/Γ/g,"Γ"),e=e.replace(/Δ/g,"Δ"),e=e.replace(/Ε/g,"Ε"),e=e.replace(/Ζ/g,"Ζ"),e=e.replace(/Η/g,"Η"),e=e.replace(/Θ/g,"Θ"),e=e.replace(/Ι/g,"Ι"),e=e.replace(/Κ/g,"Κ"),e=e.replace(/Λ/g,"Λ"),e=e.replace(/Μ/g,"Μ"),e=e.replace(/Ν/g,"Ν"),e=e.replace(/Ξ/g,"Ν"),e=e.replace(/Ο/g,"Ο"),e=e.replace(/Π/g,"Π"),e=e.replace(/Ρ/g,"Ρ"),e=e.replace(/Σ/g,"Σ"),e=e.replace(/Τ/g,"Τ"),e=e.replace(/Υ/g,"Υ"),e=e.replace(/Φ/g,"Φ"),e=e.replace(/Χ/g,"Χ"),e=e.replace(/Ψ/g,"Ψ"),e=e.replace(/Ω/g,"Ω"),e=e.replace(/α/g,"α"),e=e.replace(/β/g,"β"),e=e.replace(/γ/g,"γ"),e=e.replace(/δ/g,"δ"),e=e.replace(/ε/g,"ε"),e=e.replace(/ζ/g,"ζ"),e=e.replace(/η/g,"η"),e=e.replace(/θ/g,"θ"),e=e.replace(/ι/g,"ι"),e=e.replace(/κ/g,"κ"),e=e.replace(/λ/g,"λ"),e=e.replace(/μ/g,"μ"),e=e.replace(/ν/g,"ν"),e=e.replace(/ξ/g,"ξ"),e=e.replace(/ο/g,"ο"),e=e.replace(/π/g,"π"),e=e.replace(/ρ/g,"ρ"),e=e.replace(/ς/g,"ς"),e=e.replace(/σ/g,"σ"),e=e.replace(/τ/g,"τ"),e=e.replace(/υ/g,"υ"),e=e.replace(/φ/g,"φ"),e=e.replace(/χ/g,"χ"),e=e.replace(/ψ/g,"ψ"),e=e.replace(/ω/g,"ω"),e=e.replace(/ϑ/g,"ϑ"),e=e.replace(/ϒ/g,"ϒ"),e=e.replace(/ϖ/g,"ϖ"),e=e.replace(/·/g,"·"),e}function a(e){return e=e.replace(/ /g," "),e=e.replace(/ /g," "),e=e.replace(/ /g," "),e=e.replace(/"/g,"'"),e=e.replace(/&/g,"&"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=e.replace(/•/g,"•"),e}function o(e){return e=e.replace(/Œ/g,"Œ"),e=e.replace(/œ/g,"œ"),e=e.replace(/Š/g,"Š"),e=e.replace(/š/g,"š"),e=e.replace(/Ÿ/g,"Ÿ"),e=e.replace(/ƒ/g,"ƒ"),e=e.replace(/ˆ/g,"ˆ"),e=e.replace(/˜/g,"˜"),e=e.replace(/ /g,""),e=e.replace(/ /g,""),e=e.replace(/ /g,""),e=e.replace(/‌/g,""),e=e.replace(/‍/g,""),e=e.replace(/‎/g,""),e=e.replace(/‏/g,""),e=e.replace(/–/g,"–"),e=e.replace(/—/g,"—"),e=e.replace(/‘/g,"‘"),e=e.replace(/’/g,"’"),e=e.replace(/‚/g,"‚"),e=e.replace(/“/g,"“"),e=e.replace(/”/g,"”"),e=e.replace(/„/g,"„"),e=e.replace(/†/g,"†"),e=e.replace(/‡/g,"‡"),e=e.replace(/•/g,"•"),e=e.replace(/…/g,"…"),e=e.replace(/‰/g,"‰"),e=e.replace(/′/g,"′"),e=e.replace(/″/g,"″"),e=e.replace(/‹/g,"‹"),e=e.replace(/›/g,"›"),e=e.replace(/‾/g,"‾"),e=e.replace(/€/g,"€"),e=e.replace(/™/g,"™"),e=e.replace(/←/g,"←"),e=e.replace(/↑/g,"↑"),e=e.replace(/→/g,"→"),e=e.replace(/↓/g,"↓"),e=e.replace(/↔/g,"↔"),e=e.replace(/↵/g,"↵"),e=e.replace(/⌈/g,"⌈"),e=e.replace(/⌉/g,"⌉"),e=e.replace(/⌊/g,"⌊"),e=e.replace(/⌋/g,"⌋"),e=e.replace(/◊/g,"◊"),e=e.replace(/♠/g,"♠"),e=e.replace(/♣/g,"♣"),e=e.replace(/♥/g,"♥"),e=e.replace(/♦/g,"♦"),e=e.replace(/'/g,"'"),e}function s(e){return e=r(e),e=i(e),e=a(e),e=o(e),e}function c(e,t){return/^\/\//.test(e)?"https:".concat(e):/^\//.test(e)?"https://".concat(t).concat(e):Array.isArray(e)?l(e,t):e}function l(e,t){for(var n=0;n<e.length;n++)if(""!==e[n])return/^\/\//.test(e[n])?"https:".concat(e[n]):/^\//.test(e[n])?"https://".concat(t).concat(e[n]):e[n]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={strDiscode:s,urlToHttpUrl:c};t.default=u},bbdd:function(e,t,n){var r=function(){return this||"object"===typeof self&&self}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n("96cf"),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(o){r.regeneratorRuntime=void 0}},bc3b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("a34a"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,c,"next",e)}function c(e){a(o,r,i,s,c,"throw",e)}s(void 0)}))}}var s=function(){var e=o(r.default.mark((function e(t){var n;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n={type:"global",text:"加载中",color:"#ffffff",backgroundImage:""},t=Object.assign(n,t),t.isShow=!0,this.$store.dispatch("loading/actionGetLoading",t);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),c=s;t.default=c},bcbc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("a34a")),i=n("c345"),a=l(n("66fd")),o=l(n("da52")),s=n("9c53"),c=l(n("a2ac"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){u(a,r,i,o,s,"next",e)}function s(e){u(a,r,i,o,s,"throw",e)}o(void 0)}))}}var d=function(){var e=p(r.default.mark((function e(t,n){var l,u,p;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l={"X-App-Platform":t.header&&t.header["X-App-Platform"]?t.header["X-App-Platform"]:a.default.prototype.$platform,"X-Form-Id-List":JSON.stringify((0,i.popAll)()),"X-Requested-With":t.header&&t.header["X-Requested-With"]?t.header["X-Requested-With"]:"XMLHttpRequest","X-App-Version":a.default.prototype.$appVersion,"content-type":n?"multipart/form-data":"application/x-www-form-urlencoded"},e.next=3,o.default.dispatch("user/loadAccessTokenFormCache");case 3:return o.default.state.user&&o.default.state.user.accessToken&&(l["X-Access-Token"]=o.default.state.user.accessToken),o.default.state.user&&0!==o.default.state.user.tempParentId&&(l["X-User-Id"]=o.default.state.user.tempParentId+""),u={},t.url.replace(/([^=&]+)=([^&]*)/g,(function(e,t,n){u[decodeURIComponent(t)]=decodeURIComponent(n)})),-1!==(0,s.objectValues)(c.default.mch).indexOf(u.r)&&(p=a.default.prototype.$storage.getStorageSync("MCH2019"),l["Mch-Access-Token"]=p.token),e.abrupt("return",l);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=d;t.default=f},bf81:function(e,t,n){"use strict";function r(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t,n,r,i){var a="object"===typeof t?t:{},o=a.type,d=void 0===o?0:o,f=a.textFilter,h=void 0===f?[]:f;if(!e)return{};var g={phone:"",province:[],city:[],area:[],detail:[],name:""};e=p(e,h);var v=l(e);e=v.address,g.phone=v.phone;var m=u(e);e=m.address,g.postalCode=m.postalCode;var y=e.split(" ").filter((function(e){return e})).map((function(e){return e.trim()}));if(y.forEach((function(e){if(g.province[0]&&g.city[0]&&g.area[0])g.detail.push(e);else{var t;1===d&&(t=c(e,g)),0===d&&(t=s(e,g,n,r,i));var a=t,o=a.province,l=a.city,u=a.area,p=a.detail;g.province=o||[],g.area=u||[],g.city=l||[],g.detail=g.detail.concat(p||[])}})),!g.name){var _=JSON.parse(JSON.stringify(g.detail));_.sort((function(e,t){return e.length-t.length})),g.name=_[0];var x=g.detail.findIndex((function(e){return e===g.name}));g.detail.splice(x,1)}var b=g.province[0],w=g.city[0],A=g.area[0],S=g.detail;return Object.assign(g,{province:b&&b.name||"",city:w&&w.name||"",area:A&&A.name||"",detail:S&&S.length>0&&S.join("")||""})},s=function(e,t,n,r,i){var a=t.province||[],o=t.city||[],s=t.area||[],c=[],l="";if(0===a.length){for(var u=1;u<e.length;u++){var p=e.substring(0,u+1),d=new RegExp('{"code":"[0-9]{1,6}","name":"'.concat(p,'[一-龥]*?"}'),"g"),f=n.match(d);if(!f)break;var h=JSON.parse(f[0]);1===f.length&&(a=[],l=p,a.push(h))}a[0]&&(e=e.replace(l,""))}if(0===o.length){for(var g=1;g<e.length;g++){var v=e.substring(0,g+1),m=new RegExp('{"code":"[0-9]{1,6}","name":"'.concat(v,'[一-龥]*?","provinceCode":"').concat(a[0]?"".concat(a[0].code):"[0-9]{1,6}",'"}'),"g"),y=r.match(m);if(!y)break;var _=JSON.parse(y[0]);1===y.length&&(o=[],l=v,o.push(_))}if(o[0]){var x=o[0].provinceCode;if(e=e.replace(l,""),0===a.length){var b=new RegExp('{"code":"'.concat(x,'","name":"[一-龥]+?"}'),"g"),w=n.match(b);a.push(JSON.parse(w[0]))}}}if(0===s.length){for(var A=1;A<e.length;A++){var S=e.substring(0,A+1),k=new RegExp('{"code":"[0-9]{1,6}","name":"'.concat(S,'[一-龥]*?","cityCode":"').concat(o[0]?o[0].code:"[0-9]{1,6}",'","provinceCode":"').concat(a[0]?"".concat(a[0].code):"[0-9]{1,6}",'"}'),"g"),P=i.match(k);if(!P)break;var O=JSON.parse(P[0]);1===P.length&&(s=[],l=S,s.push(O))}if(s[0]){var T=s[0],C=T.provinceCode,j=T.cityCode;if(e=e.replace(l,""),0===a.length){var $=new RegExp('{"code":"'.concat(C,'","name":"[一-龥]+?"}'),"g"),D=n.match($);a.push(JSON.parse(D[0]))}if(0===o.length){var E=new RegExp('{"code":"'.concat(j,'","name":"[一-龥]+?","provinceCode":"').concat(C,'"}'),"g"),L=r.match(E);o.push(JSON.parse(L[0]))}}}return e.length>0&&c.push(e),{province:a,city:o,area:s,detail:c}},c=function(e,t){var n=[],i=[],a=[],o=[];if(t.province[0])n=t.province;else{var s,c=r(provinces);try{for(c.s();!(s=c.n()).done;){for(var l=s.value,u=l.name,p="",d=u.length;d>1;d--){var f=u.substring(0,d);if(0===e.indexOf(f)){p=f;break}}if(p){n.push(l),e=e.replace(p,"");break}}}catch(w){c.e(w)}finally{c.f()}}if(t.city[0])i=t.city;else{var h,g=r(cities);try{var v=function(){var t=h.value,r=t.name,a=t.provinceCode,o=n[0];if(o){if(o.code===a){for(var s="",c=r.length;c>1;c--){var l=r.substring(0,c);if(0===e.indexOf(l)){s=l;break}}if(s)return i.push(t),e=e.replace(s,""),"break"}}else{for(var u=r.length;u>1;u--){var p=r.substring(0,u);if(0===e.indexOf(p)){i.push(t),n.push(provinces.find((function(e){return e.code===a}))),e=e.replace(p,"");break}}if(i.length>0)return"break"}};for(g.s();!(h=g.n()).done;){var m=v();if("break"===m)break}}catch(w){g.e(w)}finally{g.f()}}var y,_=r(areas);try{var x=function(){var t=y.value,r=t.name,o=t.provinceCode,s=t.cityCode,c=n[0],l=i[0];if(c||l){if(c&&c.code===o||(l&&l.code)===s){for(var u="",p=r.length;p>1;p--){var d=r.substring(0,p);if(0===e.indexOf(d)){u=d;break}}if(u)return a.push(t),!l&&i.push(cities.find((function(e){return e.code===s}))),!c&&n.push(provinces.find((function(e){return e.code===o}))),e=e.replace(u,""),"break"}}else{for(var f=r.length;f>1;f--){var h=r.substring(0,f);if(0===e.indexOf(h)){a.push(t),i.push(cities.find((function(e){return e.code===s}))),n.push(provinces.find((function(e){return e.code===o}))),e=e.replace(h,"");break}}if(a.length>0)return"break"}};for(_.s();!(y=_.n()).done;){var b=x();if("break"===b)break}}catch(w){_.e(w)}finally{_.f()}return e.length>0&&o.push(e),{province:n,city:i,area:a,detail:o}},l=function(e){var t="";e=e.replace(/(\d{3})-(\d{4})-(\d{4})/g,"$1$2$3"),e=e.replace(/(\d{3}) (\d{4}) (\d{4})/g,"$1$2$3"),e=e.replace(/(\d{4}) \d{4} \d{4}/g,"$1$2$3"),e=e.replace(/(\d{4})/g,"$1");var n=/(\d{7,12})|(\d{3,4}-\d{6,8})|(86-[1][0-9]{10})|(86[1][0-9]{10})|([1][0-9]{10})/g,r=n.exec(e);return r&&(t=r[0],e=e.replace(r[0]," ")),{address:e,phone:t}},u=function(e){var t="",n=/\d{6}/g,r=n.exec(e);return r&&(t=r[0],e=e.replace(r[0]," ")),{address:e,postalCode:t}},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e=e.replace(/\r\n/g," ").replace(/\n/g," ").replace(/\t/g," ");var n=["详细地址","收货地址","收件地址","地址","所在地区","地区","姓名","收货人","收件人","联系人","收","邮编","联系电话","电话","联系人手机号码","手机号码","手机号"].concat(t);n.forEach((function(t){e=e.replace(new RegExp(t,"g")," ")}));var r=new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“’。,、?]","g");return e=e.replace(r," "),e=e.replace(/ {2,}/g," "),e},d=o;t.default=d},c345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.push=t.popAll=void 0;var r=n("9c53"),i=n("36a5"),a=function(){var e=(0,i.getStorageSync)("_FORM_ID_LIST");return(0,i.setStorageSync)("_FORM_ID_LIST",[]),e||[]};t.popAll=a;var o=function(e){if(!e||"the formId is a mock one"===e)return!1;var t=(0,i.getStorageSync)("_FORM_ID_LIST");t&&t.length||(t=[]);var n={value:e,type:0,remains:1,expires_at:(0,r.datetime)(null,(0,r.time)()+604800-60)};t.push(n),(0,i.setStorageSync)("_FORM_ID_LIST",t)};t.push=o},c6a4:function(e,t,n){"use strict";(function(t){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},r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];function i(e,t){for(var n in t)e[n]=e[n]&&"[object Object]"===e[n].toString()?i(e[n],t[n]):e[n]=t[n];return e}if(null==e)throw new TypeError("Cannot convert undefined or null to object");return!n||0>=n.length||n.forEach((function(t){e=i(e,t)})),e},i={toFixed:function(e,t){return t=t||2,this.isFloat(e)&&(e=e.toFixed(t)),e},isFloat:function(e){return 0!=e%1},approximatelyEqual:function(e,t){return 1e-10>Math.abs(e-t)},isSameSign:function(e,t){var n=Math.abs;return n(e)===e&&n(t)===t||n(e)!==e&&n(t)!==t},isSameXCoordinateArea:function(e,t){return this.isSameSign(e.x,t.x)},isCollision:function(e,t){e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height,t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height;var n=t.start.x>e.end.x||t.end.x<e.start.x||t.end.y>e.start.y||t.start.y<e.end.y;return!n}};function a(e,t){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=e.replace(n,(function(e,t,n,r){return t+t+n+n+r+r})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),a=parseInt(i[1],16),o=parseInt(i[2],16),s=parseInt(i[3],16);return"rgba("+a+","+o+","+s+","+t+")"}function o(e,t,n){if(isNaN(e))throw new Error("[uCharts] unvalid series data!");n=n||10,t=t||"upper";for(var r=1;1>n;)n*=10,r*=10;for(e="upper"===t?Math.ceil(e*r):Math.floor(e*r);0!=e%n;)"upper"===t?e++:e--;return e/r}function s(e,t,n,r){for(var i,a=[],o=0;o<e.length;o++){i={data:[],name:t[o],color:n[o]};for(var s=0,c=r.length;s<c;s++)if(s<e[o])i.data.push(null);else{for(var l=0,u=0;u<e[o];u++)l+=r[s-u][1];i.data.push(+(l/e[o]).toFixed(3))}a.push(i)}return a}function c(e,t,n,r,i){var a=i.width-i.area[1]-i.area[3],o=n.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1),s=t;return 0<=t?(s=0,e.event.trigger("scrollLeft")):Math.abs(t)>=o-a&&(s=a-o,e.event.trigger("scrollRight")),s}function l(e,t,n){function r(e){for(;0>e;)e+=2*i;for(;e>2*i;)e-=2*i;return e}var i=Math.PI;return e=r(e),t=r(t),n=r(n),t>n&&(n+=2*i,e<t&&(e+=2*i)),e>=t&&e<=n}function u(e,t,n){var r=e,i=n-t,a=r+(n-i-r)/1.4142135623730951;return a*=-1,{transX:a,transY:.41421356237309515*(n-i)-(n-i-r)/1.4142135623730951}}function p(e,t){function n(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].y>=i(e[t-1].y,e[t+1].y)||e[t].y<=r(e[t-1].y,e[t+1].y))}var r=Math.min,i=Math.max,a=.2,o=.2,s=null,c=null,l=null,u=null;if(1>t?(s=e[0].x+(e[1].x-e[0].x)*a,c=e[0].y+(e[1].y-e[0].y)*a):(s=e[t].x+(e[t+1].x-e[t-1].x)*a,c=e[t].y+(e[t+1].y-e[t-1].y)*a),t>e.length-3){var p=e.length-1;l=e[p].x-(e[p].x-e[p-1].x)*o,u=e[p].y-(e[p].y-e[p-1].y)*o}else l=e[t+1].x-(e[t+2].x-e[t].x)*o,u=e[t+1].y-(e[t+2].y-e[t].y)*o;return n(e,t+1)&&(u=e[t+1].y),n(e,t)&&(c=e[t].y),(c>=i(e[t].y,e[t+1].y)||c<=r(e[t].y,e[t+1].y))&&(c=e[t].y),(u>=i(e[t].y,e[t+1].y)||u<=r(e[t].y,e[t+1].y))&&(u=e[t+1].y),{ctrA:{x:s,y:c},ctrB:{x:l,y:u}}}function d(e,t,n){return{x:n.x+e,y:n.y-t}}function f(e,t){if(t)for(;i.isCollision(e,t);)0<e.start.x?e.start.y--:0>e.start.x||0<e.start.y?e.start.y++:e.start.y--;return e}function h(e,t,n){var r=0;return e.map((function(e){if(e.color||(e.color=n.colors[r],r=(r+1)%n.colors.length),e.index||(e.index=0),e.type||(e.type=t.type),"undefined"==typeof e.show&&(e.show=!0),e.type||(e.type=t.type),e.pointShape||(e.pointShape="circle"),!e.legendShape)switch(e.type){case"line":e.legendShape="line";break;case"column":e.legendShape="rect";break;case"area":e.legendShape="triangle";break;default:e.legendShape="circle"}return e}))}function g(e,t){var n=0,r=t-e;return n=1e4<=r?1e3:1e3<=r?100:100<=r?10:10<=r?5:1<=r?1:.1<=r?.1:.01<=r?.01:.001<=r?.001:1e-4<=r?1e-4:1e-5<=r?1e-5:1e-6,{minRange:o(e,"lower",n),maxRange:o(t,"upper",n)}}function v(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:n.fontSize;e+="";e=e.split("");for(var r,i=0,a=0;a<e.length;a++)r=e[a],i+=/[a-zA-Z]/.test(r)?7:/[0-9]/.test(r)?5.5:/\./.test(r)?2.7:/-/.test(r)?3.25:/[\u4e00-\u9fa5]/.test(r)?10:/\(|\)/.test(r)?3.73:/\s/.test(r)?2.5:/%/.test(r)?8:10;return i*t/10}function m(e){return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data)}),[])}function y(e,t){for(var n=Array(t),r=0;r<n.length;r++)n[r]=0;for(var i=0;i<e.length;i++)for(r=0;r<n.length;r++)n[r]+=e[i].data[r];return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data).concat(n)}),[])}function _(e,t,n){var r,i;return e.clientX?t.rotate?(i=t.height-e.clientX*t.pixelRatio,r=(e.pageY-n.currentTarget.offsetTop-t.height/t.pixelRatio/2*(t.pixelRatio-1))*t.pixelRatio):(r=e.clientX*t.pixelRatio,i=(e.pageY-n.currentTarget.offsetTop-t.height/t.pixelRatio/2*(t.pixelRatio-1))*t.pixelRatio):t.rotate?(i=t.height-e.x*t.pixelRatio,r=e.y*t.pixelRatio):(r=e.x*t.pixelRatio,i=e.y*t.pixelRatio),{x:r,y:i}}function x(e,t){for(var n,r=[],i=0;i<e.length;i++)if(n=e[i],null!==n.data[t]&&"undefined"!=typeof n.data[t]&&n.show){var a={};a.color=n.color,a.type=n.type,a.style=n.style,a.pointShape=n.pointShape,a.disableLegend=n.disableLegend,a.name=n.name,a.show=n.show,a.data=n.format?n.format(n.data[t]):n.data[t],r.push(a)}return r}function b(e){var t=e.map((function(e){return v(e)}));return Math.max.apply(null,t)}function w(e){for(var t=Math.PI,n=[],r=0;r<e;r++)n.push(2*t/e*r);return n.map((function(e){return-1*e+t/2}))}function A(e,t,n,r){for(var i,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},o=e.map((function(e){var t=[];return t=r||e.data,{text:a.format?a.format(e,t[n]):e.name+": "+e.data,color:e.color}})),s=[],c={x:0,y:0},l=0;l<t.length;l++)i=t[l],"undefined"!=typeof i[n]&&null!==i[n]&&s.push(i[n]);for(var u,p=0;p<s.length;p++)u=s[p],c.x=Math.round(u.x),c.y+=u.y;return c.y/=s.length,{textList:o,offset:c}}function S(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=e.map((function(e){return{text:i.format?i.format(e,r[n]):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));for(var o,s=[],c={x:0,y:0},l=0;l<t.length;l++)o=t[l],"undefined"!=typeof o[n]&&null!==o[n]&&s.push(o[n]);for(var u,p=0;p<s.length;p++)u=s[p],c.x=Math.round(u.x),c.y+=u.y;return c.y/=s.length,{textList:a,offset:c}}function k(e,t,n,r,i,a){var o=a.color.upFill,s=a.color.downFill,c=[o,o,s,o],l=[],u={text:i[r],color:null};l.push(u),t.map((function(t){0==r&&0>t.data[1]-t.data[0]?c[1]=s:(t.data[0]<e[r-1][1]&&(c[0]=s),t.data[1]<t.data[0]&&(c[1]=s),t.data[2]>e[r-1][1]&&(c[2]=o),t.data[3]<e[r-1][1]&&(c[3]=s));var n={text:"开盘:"+t.data[0],color:c[0]},i={text:"收盘:"+t.data[1],color:c[1]},a={text:"最低:"+t.data[2],color:c[2]},u={text:"最高:"+t.data[3],color:c[3]};l.push(n,i,a,u)}));for(var p,d=[],f={x:0,y:0},h=0;h<n.length;h++)p=n[h],"undefined"!=typeof p[r]&&null!==p[r]&&d.push(p[r]);return f.x=Math.round(d[0][0].x),{textList:l,offset:f}}function P(e){for(var t=[],n=0;n<e.length;n++)1==e[n].show&&t.push(e[n]);return t}function O(e,t,n,r){for(var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=-1,o=0,s=[],c=0;c<t[0].length;c++)s.push(t[0][c].x);return("line"==n.type||"area"==n.type)&&"justify"==n.xAxis.boundaryGap&&(o=n.chartData.eachSpacing/2),n.categories||(o=0),j(e,n,r)&&s.forEach((function(t,n){e.x+i+o>t&&(a=n)})),a}function T(e,t){var n=-1;if(C(e,t.area)){for(var r,i=t.points,a=-1,o=0,s=i.length;o<s;o++){r=i[o];for(var c=0;c<r.length;c++){a+=1;var l=r[c].area;if(e.x>l[0]&&e.x<l[2]&&e.y>l[1]&&e.y<l[3]){n=a;break}}}return n}return n}function C(e,t){return e.x>t.start.x&&e.x<t.end.x&&e.y>t.start.y&&e.y<t.end.y}function j(e,t){return e.x<=t.width-t.area[1]+10&&e.x>=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function $(e,t,n){var r=Math.PI,i=2*r/n,a=-1;if(I(e,t.center,t.radius)){var o=function(e){return 0>e&&(e+=2*r),e>2*r&&(e-=2*r),e},s=Math.atan2(t.center.y-e.y,e.x-t.center.x);s*=-1,0>s&&(s+=2*r);var c=t.angleList.map((function(e){return e=o(-1*e),e}));c.forEach((function(e,t){var n=o(e-i/2),c=o(e+i/2);c<n&&(c+=2*r),(s>=n&&s<=c||s+2*r>=n&&s+2*r<=c)&&(a=t)}))}return a}function D(e,t){for(var n,r=-1,i=0,a=t.series.length;i<a;i++)if(n=t.series[i],e.x>n.funnelArea[0]&&e.x<n.funnelArea[2]&&e.y>n.funnelArea[1]&&e.y<n.funnelArea[3]){r=i;break}return r}function E(e,t){for(var n,r=-1,i=0,a=t.length;i<a;i++)if(n=t[i],e.x>n.area[0]&&e.x<n.area[2]&&e.y>n.area[1]&&e.y<n.area[3]){r=i;break}return r}function L(e,t){for(var n,r=-1,i=t.chartData.mapData,a=t.series,o=Re(e.y,e.x,i.bounds,i.scale,i.xoffset,i.yoffset),s=[o.x,o.y],c=0,l=a.length;c<l;c++)if(n=a[c].geometry.coordinates,Be(s,n)){r=c;break}return r}function M(e,t){var n=-1;if(I(e,t.center,t.radius)){var r=Math.atan2(t.center.y-e.y,e.x-t.center.x);r=-r;for(var i,a=0,o=t.series.length;a<o;a++)if(i=t.series[a],l(r,i._start_,i._start_+2*i._proportion_*Math.PI)){n=a;break}}return n}function I(e,t,n){var r=Math.pow;return r(e.x-t.x,2)+r(e.y-t.y,2)<=r(n,2)}function F(e){var t=[],n=[];return e.forEach((function(e){null===e?(n.length&&t.push(n),n=[]):n.push(e)})),n.length&&t.push(n),t}function R(e,t,n,r){var i=Math.max,a=Math.floor,o={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===t.legend.show)return r.legendData=o,o;var s=t.legend.padding,c=t.legend.margin,l=t.legend.fontSize,u=15*t.pixelRatio,p=5*t.pixelRatio,d=i(t.legend.lineHeight*t.pixelRatio,l);if("top"==t.legend.position||"bottom"==t.legend.position){for(var f=[],h=0,g=[],m=[],y=0;y<e.length;y++){var _=e[y],x=u+p+v(_.name||"undefined",l)+t.legend.itemGap;h+x>t.width-t.padding[1]-t.padding[3]?(f.push(m),g.push(h-t.legend.itemGap),h=x,m=[_]):(h+=x,m.push(_))}if(m.length){f.push(m),g.push(h-t.legend.itemGap),o.widthArr=g;var b=i.apply(null,g);switch(t.legend.float){case"left":o.area.start.x=t.padding[3],o.area.end.x=t.padding[3]+2*s;break;case"right":o.area.start.x=t.width-t.padding[1]-b-2*s,o.area.end.x=t.width-t.padding[1];break;default:o.area.start.x=(t.width-b)/2-s,o.area.end.x=(t.width+b)/2+s}o.area.width=b+2*s,o.area.wholeWidth=b+2*s,o.area.height=f.length*d+2*s,o.area.wholeHeight=f.length*d+2*s+2*c,o.points=f}}else{var w=e.length,A=t.height-t.padding[0]-t.padding[2]-2*c-2*s,S=Math.min(a(A/d),w);switch(o.area.height=S*d+2*s,o.area.wholeHeight=S*d+2*s,t.legend.float){case"top":o.area.start.y=t.padding[0]+c,o.area.end.y=t.padding[0]+c+o.area.height;break;case"bottom":o.area.start.y=t.height-t.padding[2]-c-o.area.height,o.area.end.y=t.height-t.padding[2]-c;break;default:o.area.start.y=(t.height-o.area.height)/2,o.area.end.y=(t.height+o.area.height)/2}for(var k,P=0==w%S?w/S:a(w/S+1),O=[],T=0;T<P;T++)k=e.slice(T*S,T*S+S),O.push(k);if(o.points=O,O.length){for(var C=0;C<O.length;C++){for(var j,$=O[C],D=0,E=0;E<$.length;E++)j=u+p+v($[E].name||"undefined",l)+t.legend.itemGap,j>D&&(D=j);o.widthArr.push(D),o.heightArr.push($.length*d+2*s)}for(var L=0,M=0;M<o.widthArr.length;M++)L+=o.widthArr[M];o.area.width=L-t.legend.itemGap+2*s,o.area.wholeWidth=o.area.width+s}}switch(t.legend.position){case"top":o.area.start.y=t.padding[0]+c,o.area.end.y=t.padding[0]+c+o.area.height;break;case"bottom":o.area.start.y=t.height-t.padding[2]-o.area.height-c,o.area.end.y=t.height-t.padding[2]-c;break;case"left":o.area.start.x=t.padding[3],o.area.end.x=t.padding[3]+o.area.width;break;case"right":o.area.start.x=t.width-t.padding[1]-o.area.width,o.area.end.x=t.width-t.padding[1]}return r.legendData=o,o}function N(e,t,n,r){var i={angle:0,xAxisHeight:n.xAxisHeight},a=e.map((function(e){return v(e,t.xAxis.fontSize||n.fontSize)})),o=Math.max.apply(this,a);return 1==t.xAxis.rotateLabel&&o+2*n.xAxisTextPadding>r&&(i.angle=45*Math.PI/180,i.xAxisHeight=2*n.xAxisTextPadding+o*Math.sin(i.angle)),i}function B(e,t){var n=Math.min,r=Math.max,i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:-1,a=m(e),o=[];a=a.filter((function(e){return"object"==typeof e&&null!==e?e.constructor==Array?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"==typeof e?e.constructor==Array?"candle"==t.type?e.map((function(e){o.push(e)})):o.push(e[0]):o.push(e.value):o.push(e)}));var s=0,c=0;if(0<o.length&&(s=n.apply(this,o),c=r.apply(this,o)),-1<i?("number"==typeof t.xAxis.data[i].min&&(s=n(t.xAxis.data[i].min,s)),"number"==typeof t.xAxis.data[i].max&&(c=r(t.xAxis.data[i].max,c))):("number"==typeof t.xAxis.min&&(s=n(t.xAxis.min,s)),"number"==typeof t.xAxis.max&&(c=r(t.xAxis.max,c))),s===c){var l=c||10;c+=l}for(var u=g(s,c),p=u.minRange,d=u.maxRange,f=[],h=(d-p)/t.xAxis.splitNumber,v=0;v<=t.xAxis.splitNumber;v++)f.push(p+h*v);return f}function z(e,t,n){var r={angle:0,xAxisHeight:n.xAxisHeight};r.ranges=B(e,t,n),r.rangesFormat=r.ranges.map((function(e){return e=t.xAxis.format?t.xAxis.format(e):i.toFixed(e,2),e}));var a=r.ranges.map((function(e){return e=i.toFixed(e,2),e=t.xAxis.format?t.xAxis.format(+e):e,e}));r=Object.assign(r,Y(a,t,n));var o=r.eachSpacing,s=a.map((function(e){return v(e)})),c=Math.max.apply(this,s);return c+2*n.xAxisTextPadding>o&&(r.angle=45*Math.PI/180,r.xAxisHeight=2*n.xAxisTextPadding+c*Math.sin(r.angle)),!0===t.xAxis.disabled&&(r.xAxisHeight=0),r}function H(e,t,n,r,i){var a=Math.max,o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1,s=i.extra.radar||{};s.max=s.max||0;for(var c=a(s.max,a.apply(null,m(r))),l=[],u=function(i){var a=r[i],s={};s.color=a.color,s.legendShape=a.legendShape,s.pointShape=a.pointShape,s.data=[],a.data.forEach((function(r,i){var a={};a.angle=e[i],a.proportion=r/c,a.position=d(n*a.proportion*o*Math.cos(a.angle),n*a.proportion*o*Math.sin(a.angle),t),s.data.push(a)})),l.push(s)},p=0;p<r.length;p++)u(p);return l}function W(e,t){for(var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,i=0,a=0,o=0;o<e.length;o++)n=e[o],n.data=null===n.data?0:n.data,i+=n.data;for(var s,c=0;c<e.length;c++)s=e[c],s.data=null===s.data?0:s.data,s._proportion_=0===i?1/e.length*r:s.data/i*r,s._radius_=t;for(var l,u=0;u<e.length;u++)l=e[u],l._start_=a,a+=2*l._proportion_*Math.PI;return e}function U(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1;e=e.sort((function(e,t){return parseInt(t.data)-parseInt(e.data)}));for(var r=0;r<e.length;r++)e[r].radius=e[r].data/e[0].data*t*n,e[r]._proportion_=e[r].data/e[0].data;return e.reverse()}function q(e,t,n,r){for(var i,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=0,s=0,c=[],l=0;l<e.length;l++)i=e[l],i.data=null===i.data?0:i.data,o+=i.data,c.push(i.data);for(var u,p=Math.min.apply(null,c),d=Math.max.apply(null,c),f=0;f<e.length;f++)u=e[f],u.data=null===u.data?0:u.data,0===o||"area"==t?(u._proportion_=u.data/o*a,u._rose_proportion_=1/e.length*a):(u._proportion_=u.data/o*a,u._rose_proportion_=u.data/o*a),u._radius_=n+(r-n)*((u.data-p)/(d-p));for(var h,g=0;g<e.length;g++)h=e[g],h._start_=s,s+=2*h._rose_proportion_*Math.PI;return e}function V(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r,i=0;i<e.length;i++){r=e[i],r.data=null===r.data?0:r.data;var a=void 0;a="circle"==t.type?2:t.endAngle<t.startAngle?2+t.endAngle-t.startAngle:t.startAngle-t.endAngle,r._proportion_=a*r.data*n+t.startAngle,2<=r._proportion_&&(r._proportion_%=2)}return e}function G(e,t,n){for(var r=t,i=0;i<e.length;i++)e[i].value=null===e[i].value?0:e[i].value,e[i]._startAngle_=r,e[i]._endAngle_=(t-n+1)*e[i].value+t,2<=e[i]._endAngle_&&(e[i]._endAngle_%=2),r=e[i]._endAngle_;return e}function X(e,t,n){for(var r,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1,a=0;a<e.length;a++){if(r=e[a],r.data=null===r.data?0:r.data,"auto"==n.pointer.color){for(var o=0;o<t.length;o++)if(r.data<=t[o].value){r.color=t[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._proportion_=r.data>=n.oldData?(r._endAngle_-r._oldAngle_)*i+n.oldAngle:r._oldAngle_-(r._oldAngle_-r._endAngle_)*i,2<=r._proportion_&&(r._proportion_%=2)}return e}function K(e){e=W(e);for(var t=0,n=0;n<e.length;n++){var r=e[n],a=r.format?r.format(+r._proportion_.toFixed(2)):i.toFixed(100*r._proportion_)+"%";t=Math.max(t,v(a))}return t}function J(e,t,n,r,i,a){return e.map((function(e){return null===e?null:(e.width=Math.ceil((t-2*i.columePadding)/n),a.extra.column&&a.extra.column.width&&0<+a.extra.column.width&&(e.width=Math.min(e.width,+a.extra.column.width)),0>=e.width&&(e.width=1),e.x+=(r+.5-n/2)*e.width,e)}))}function Q(e,t,n,r,i,a,o){return e.map((function(e){return null===e?null:(e.width=Math.ceil((t-2*i.columePadding)/2),a.extra.column&&a.extra.column.width&&0<+a.extra.column.width&&(e.width=Math.min(e.width,+a.extra.column.width)),0<r&&(e.width-=2*o),e)}))}function Z(e,t,n,r,i,a){return e.map((function(e){return null===e?null:(e.width=Math.ceil((t-2*i.columePadding)/2),a.extra.column&&a.extra.column.width&&0<+a.extra.column.width&&(e.width=Math.min(e.width,+a.extra.column.width)),e)}))}function Y(e,t){var n=t.width-t.area[1]-t.area[3],r=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type)&&1<r&&"justify"==t.xAxis.boundaryGap&&(r-=1);var i=n/r,a=[],o=t.area[3],s=t.width-t.area[1];return e.forEach((function(e,t){a.push(o+t*i)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?a.push(o+e.length*i):a.push(s)),{xAxisPoints:a,startX:o,endX:s,eachSpacing:i}}function ee(e,t,n,r,i,a){var o=Math.round,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:1,c=[],l=a.height-a.area[0]-a.area[2];return e.forEach((function(e,u){if(null===e)c.push(null);else{var p=[];e.forEach((function(e){var c={x:r[u]+o(i/2)},d=e.value||e,f=l*(d-t)/(n-t);f*=s,c.y=a.height-o(f)-a.area[2],p.push(c)})),c.push(p)}})),c}function te(e,t,n,r,i,a){var o=Math.round,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:1,c="center";("line"==a.type||"area"==a.type)&&(c=a.xAxis.boundaryGap);var l=[],u=a.height-a.area[0]-a.area[2],p=a.width-a.area[1]-a.area[3];return e.forEach((function(e,d){if(null===e)l.push(null);else{var f={color:e.color,x:r[d]},h=e;if("object"==typeof e&&null!==e)if(e.constructor==Array){var g,v,m;g=[].concat(a.chartData.xAxisData.ranges),v=g.shift(),m=g.pop(),h=e[1],f.x=a.area[3]+p*(e[0]-v)/(m-v)}else h=e.value;"center"==c&&(f.x+=o(i/2));var y=u*(h-t)/(n-t);y*=s,f.y=a.height-o(y)-a.area[2],l.push(f)}})),l}function ne(e,t,n,r,i,a,o,s,c){var l=Math.round,u=9<arguments.length&&void 0!==arguments[9]?arguments[9]:1,p=[],d=a.height-a.area[0]-a.area[2];return e.forEach((function(e,o){if(null===e)p.push(null);else{var f={color:e.color,x:r[o]+l(i/2)};if(0<s){for(var h=0,g=0;g<=s;g++)h+=c[g].data[o];var v=h-e,m=d*(h-t)/(n-t),y=d*(v-t)/(n-t)}else h=e,m=d*(h-t)/(n-t),y=0;var _=y;m*=u,_*=u,f.y=a.height-l(m)-a.area[2],f.y0=a.height-l(_)-a.area[2],p.push(f)}})),p}function re(e,t,n,r){var i,a=Math.min,o=Math.max,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==r?y(e,t.categories.length):m(e);var c=[];i=i.filter((function(e){return"object"==typeof e&&null!==e?e.constructor==Array?null!==e:null!==e.value:null!==e})),i.map((function(e){"object"==typeof e?e.constructor==Array?"candle"==t.type?e.map((function(e){c.push(e)})):c.push(e[1]):c.push(e.value):c.push(e)}));var l=0,u=0;if(0<c.length&&(l=a.apply(this,c),u=o.apply(this,c)),-1<s?("number"==typeof t.yAxis.data[s].min&&(l=a(t.yAxis.data[s].min,l)),"number"==typeof t.yAxis.data[s].max&&(u=o(t.yAxis.data[s].max,u))):("number"==typeof t.yAxis.min&&(l=a(t.yAxis.min,l)),"number"==typeof t.yAxis.max&&(u=o(t.yAxis.max,u))),l===u){var p=u||10;u+=p}for(var d=g(l,u),f=d.minRange,h=d.maxRange,v=[],_=(h-f)/t.yAxis.splitNumber,x=0;x<=t.yAxis.splitNumber;x++)v.push(f+_*x);return v.reverse()}function ie(e,t,n){var a=Math.max,o=r({},{type:""},t.extra.column),s=t.yAxis.data.length,c=Array(s);if(0<s){for(var l=0;l<s;l++){c[l]=[];for(var u=0;u<e.length;u++)e[u].index==l&&c[l].push(e[u])}for(var p,d=Array(s),f=Array(s),h=Array(s),g=function(e,r){r=t.yAxis.data[e],1==t.yAxis.disabled&&(r.disabled=!0),d[e]=re(c[e],t,n,o.type,e);var s=r.fontSize||n.fontSize;h[e]={position:r.position?r.position:"left",width:0},f[e]=d[e].map((function(t){return p=r,t=i.toFixed(t,6),t=r.format?r.format(+t):t,h[e].width=a(h[e].width,v(t,s)+5),t}));var l=r.calibration?4*t.pixelRatio:0;h[e].width+=l+3*t.pixelRatio,!0===r.disabled&&(h[e].width=0),p=r},m=0;m<s;m++)g(m,p)}else{d=[,],f=[,],h=[,];d[0]=re(e,t,n,o.type),h[0]={position:"left",width:0};var y=t.yAxis.fontSize||n.fontSize;f[0]=d[0].map((function(e){return e=i.toFixed(e,6),e=t.yAxis.format?t.yAxis.format(+e):e,h[0].width=a(h[0].width,v(e,y)+5),e})),h[0].width+=3*t.pixelRatio,!0===t.yAxis.disabled?(h[0]={position:"left",width:0},t.yAxis.data[0]={disabled:!0}):t.yAxis.data[0]={disabled:!1,position:"left",max:t.yAxis.max,min:t.yAxis.min,format:t.yAxis.format}}return{rangesFormat:f,ranges:d,yAxisWidth:h}}function ae(e,t,n){for(var r=[].concat(n.chartData.yAxisData.ranges),i=n.height-n.area[0]-n.area[2],a=n.area[0],o=[],s=0;s<r.length;s++){var c=r[s].shift(),l=r[s].pop(),u=c-(c-l)*(e-a)/i;u=n.yAxis.data[s].format?n.yAxis.data[s].format(+u):u.toFixed(0),o.push(u+"")}return o}function oe(e,t){for(var n,r,i=t.height-t.area[0]-t.area[2],a=0;a<e.length;a++){e[a].yAxisIndex=e[a].yAxisIndex?e[a].yAxisIndex:0;var o=[].concat(t.chartData.yAxisData.ranges[e[a].yAxisIndex]);n=o.pop(),r=o.shift();var s=i*(e[a].value-n)/(r-n);e[a].y=t.height-Math.round(s)-t.area[2]}return e}function se(e,t){var n=Math.PI;!0===t.rotateLock?!0!==t._rotate_&&(e.translate(t.height,0),e.rotate(90*n/180),t._rotate_=!0):(e.translate(t.height,0),e.rotate(90*n/180))}function ce(e,t,n,r,i){r.beginPath(),"hollow"==i.dataPointShapeType?(r.setStrokeStyle(t),r.setFillStyle(i.background),r.setLineWidth(2*i.pixelRatio)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*i.pixelRatio)),"diamond"===n?e.forEach((function(e){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))})):"circle"===n?e.forEach((function(e){null!==e&&(r.moveTo(e.x+2.5*i.pixelRatio,e.y),r.arc(e.x,e.y,3*i.pixelRatio,0,2*Math.PI,!1))})):"rect"===n?e.forEach((function(e){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))})):"triangle"==n&&e.forEach((function(e){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))})),r.closePath(),r.fill(),r.stroke()}function le(e,t,n,r){var i=e.title.fontSize||t.titleFontSize,a=e.subtitle.fontSize||t.subtitleFontSize,o=e.title.name||"",s=e.subtitle.name||"",c=e.title.color||t.titleColor,l=e.subtitle.color||t.subtitleColor,u=o?i:0,p=s?a:0,d=5;if(s){var f=v(s,a),h=r.x-f/2+(e.subtitle.offsetX||0),g=r.y+a/2+(e.subtitle.offsetY||0);o&&(g+=(u+d)/2),n.beginPath(),n.setFontSize(a),n.setFillStyle(l),n.fillText(s,h,g),n.closePath(),n.stroke()}if(o){var m=v(o,i),y=r.x-m/2+(e.title.offsetX||0),_=r.y+i/2+(e.title.offsetY||0);s&&(_-=(p+d)/2),n.beginPath(),n.setFontSize(i),n.setFillStyle(c),n.fillText(o,y,_),n.closePath(),n.stroke()}}function ue(e,t,n,r){var i=t.data;e.forEach((function(e,a){if(null!==e){r.beginPath(),r.setFontSize(t.textSize||n.fontSize),r.setFillStyle(t.textColor||"#666666");var o=i[a];"object"==typeof i[a]&&null!==i[a]&&(o=i[a].constructor==Array?i[a][1]:i[a].value);var s=t.format?t.format(o):o;r.fillText(s+"",e.x-v(s,t.textSize||n.fontSize)/2,e.y-4),r.closePath(),r.stroke()}}))}function pe(e,t,n,r,i,a){var o=Math.PI;t-=e.width/2+i.gaugeLabelTextMargin;for(var s=e.startAngle-e.endAngle+1,c=s/e.splitLine.splitNumber,l=e.endNumber-e.startNumber,u=l/e.splitLine.splitNumber,p=e.startAngle,d=e.startNumber,f=0;f<e.splitLine.splitNumber+1;f++){var h={x:t*Math.cos(p*o),y:t*Math.sin(p*o)},g=e.labelFormat?e.labelFormat(d):d;h.x+=n.x-v(g)/2,h.y+=n.y;var m=h.x,y=h.y;a.beginPath(),a.setFontSize(i.fontSize),a.setFillStyle(e.labelColor||"#666666"),a.fillText(g,m,y+i.fontSize/2),a.closePath(),a.stroke(),p+=c,2<=p&&(p%=2),d+=u}}function de(e,t,n,r,a,o){var s=r.extra.radar||{};t+=a.radarLabelTextMargin,e.forEach((function(e,c){var l={x:t*Math.cos(e),y:t*Math.sin(e)},u=d(l.x,l.y,n),p=u.x,f=u.y;i.approximatelyEqual(l.x,0)?p-=v(r.categories[c]||"")/2:0>l.x&&(p-=v(r.categories[c]||"")),o.beginPath(),o.setFontSize(a.fontSize),o.setFillStyle(s.labelColor||"#666666"),o.fillText(r.categories[c]||"",p,f+a.fontSize/2),o.closePath(),o.stroke()}))}function fe(e,t,n,r,a,o){for(var s=Math.cos,c=Math.sin,l=Math.min,u=Math.max,p=Math.PI,h=n.pieChartLinePadding,g=[],m=null,y=e.map((function(e){var t=e.format?e.format(+e._proportion_.toFixed(2)):i.toFixed(100*e._proportion_.toFixed(4))+"%";e._rose_proportion_&&(e._proportion_=e._rose_proportion_);var n=2*p-(e._start_+2*p*e._proportion_/2),r=e.color,a=e._radius_;return{arc:n,text:t,color:r,radius:a,textColor:e.textColor,textSize:e.textSize}})),_=0;_<y.length;_++){var x=y[_],b=s(x.arc)*(x.radius+h),w=c(x.arc)*(x.radius+h),A=s(x.arc)*x.radius,S=c(x.arc)*x.radius,k=0<=b?b+n.pieChartTextPadding:b-n.pieChartTextPadding,P=w,O=v(x.text,x.textSize||n.fontSize),T=P;m&&i.isSameXCoordinateArea(m.start,{x:k})&&(T=0<k?l(P,m.start.y):0>b||0<P?u(P,m.start.y):l(P,m.start.y)),0>k&&(k-=O);var C={lineStart:{x:A,y:S},lineEnd:{x:b,y:w},start:{x:k,y:T},width:O,height:n.fontSize,text:x.text,color:x.color,textColor:x.textColor,textSize:x.textSize};m=f(C,m),g.push(m)}for(var j=0;j<g.length;j++){var $=g[j],D=d($.lineStart.x,$.lineStart.y,o),E=d($.lineEnd.x,$.lineEnd.y,o),L=d($.start.x,$.start.y,o);r.setLineWidth(1*t.pixelRatio),r.setFontSize(n.fontSize),r.beginPath(),r.setStrokeStyle($.color),r.setFillStyle($.color),r.moveTo(D.x,D.y);var M=0>$.start.x?L.x+$.width:L.x,I=0>$.start.x?L.x-5:L.x+5;r.quadraticCurveTo(E.x,E.y,M,L.y),r.moveTo(D.x,D.y),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(L.x+$.width,L.y),r.arc(M,L.y,2,0,2*p),r.closePath(),r.fill(),r.beginPath(),r.setFontSize($.textSize||n.fontSize),r.setFillStyle($.textColor||"#666666"),r.fillText($.text,I,L.y+3),r.closePath(),r.stroke(),r.closePath()}}function he(e,t,n,r){var i=t.extra.tooltip||{};i.gridType=null==i.gridType?"solid":i.gridType,i.dashLength=null==i.dashLength?4:i.dashLength;var o=t.area[0],s=t.height-t.area[2];if("dash"==i.gridType&&r.setLineDash([i.dashLength,i.dashLength]),r.setStrokeStyle(i.gridColor||"#cccccc"),r.setLineWidth(1*t.pixelRatio),r.beginPath(),r.moveTo(e,o),r.lineTo(e,s),r.stroke(),r.setLineDash([]),i.xAxisLabel){var c=t.categories[t.tooltip.index];r.setFontSize(n.fontSize);var l=v(c,n.fontSize),u=e-.5*l,p=s;r.beginPath(),r.setFillStyle(a(i.labelBgColor||n.toolTipBackground,i.labelBgOpacity||n.toolTipOpacity)),r.setStrokeStyle(i.labelBgColor||n.toolTipBackground),r.setLineWidth(1*t.pixelRatio),r.rect(u-n.toolTipPadding,p,l+2*n.toolTipPadding,n.fontSize+2*n.toolTipPadding),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(i.labelFontColor||n.fontColor),r.fillText(c+"",u,p+n.toolTipPadding+n.fontSize),r.closePath(),r.stroke()}}function ge(e,t,n){for(var i,o=r({},{type:"solid",dashLength:4,data:[]},e.extra.markLine),s=e.area[3],c=e.width-e.area[1],l=oe(o.data,e),u=0;u<l.length;u++)if(i=r({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},l[u]),"dash"==o.type&&n.setLineDash([o.dashLength,o.dashLength]),n.setStrokeStyle(i.lineColor),n.setLineWidth(1*e.pixelRatio),n.beginPath(),n.moveTo(s,i.y),n.lineTo(c,i.y),n.stroke(),n.setLineDash([]),i.showLabel){var p=e.yAxis.format?e.yAxis.format(+i.value):i.value;n.setFontSize(t.fontSize);var d=v(p,t.fontSize),f=e.padding[3]+t.yAxisTitleWidth-t.toolTipPadding,h=Math.max(e.area[3],d+2*t.toolTipPadding),g=h-f,m=i.y;n.setFillStyle(a(i.labelBgColor,i.labelBgOpacity)),n.setStrokeStyle(i.labelBgColor),n.setLineWidth(1*e.pixelRatio),n.beginPath(),n.rect(f,m-.5*t.fontSize-t.toolTipPadding,g,t.fontSize+2*t.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(t.fontSize),n.setFillStyle(i.labelFontColor),n.fillText(p+"",f+(g-d)/2,m+.5*t.fontSize),n.stroke()}}function ve(e,t,n,i){var o=Math.max,s=r({},{gridType:"solid",dashLength:4},e.extra.tooltip),c=e.area[3],l=e.width-e.area[1];if("dash"==s.gridType&&n.setLineDash([s.dashLength,s.dashLength]),n.setStrokeStyle(s.gridColor||"#cccccc"),n.setLineWidth(1*e.pixelRatio),n.beginPath(),n.moveTo(c,e.tooltip.offset.y),n.lineTo(l,e.tooltip.offset.y),n.stroke(),n.setLineDash([]),s.yAxisLabel)for(var u=ae(e.tooltip.offset.y,e.series,e,t,i),p=e.chartData.yAxisData.yAxisWidth,d=e.area[3],f=e.width-e.area[1],h=0;h<u.length;h++){n.setFontSize(t.fontSize);var g=void 0,m=void 0,y=void 0,_=v(u[h],t.fontSize);"left"==p[h].position?(g=d-p[h].width,m=o(g,g+_+2*t.toolTipPadding)):(g=f,m=o(g+p[h].width,g+_+2*t.toolTipPadding)),y=m-g;var x=g+(y-_)/2,b=e.tooltip.offset.y;n.beginPath(),n.setFillStyle(a(s.labelBgColor||t.toolTipBackground,s.labelBgOpacity||t.toolTipOpacity)),n.setStrokeStyle(s.labelBgColor||t.toolTipBackground),n.setLineWidth(1*e.pixelRatio),n.rect(g,b-.5*t.fontSize-t.toolTipPadding,y,t.fontSize+2*t.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(t.fontSize),n.setFillStyle(s.labelFontColor||t.fontColor),n.fillText(u[h],x,b+.5*t.fontSize),n.closePath(),n.stroke(),"left"==p[h].position?d-=p[h].width+e.yAxis.padding:f+=p[h].width+e.yAxis.padding}}function me(e,t,n,i,o){var s=r({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.tooltip),c=t.area[0],l=t.height-t.area[2];i.beginPath(),i.setFillStyle(a(s.activeBgColor,s.activeBgOpacity)),i.rect(e-o/2,c,o,l-c),i.closePath(),i.fill()}function ye(e,t,n,i,o){var s=Math.round,c=r({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},n.extra.tooltip),l=4*n.pixelRatio,u=5*n.pixelRatio,p=8*n.pixelRatio,d=!1;("line"==n.type||"area"==n.type||"candle"==n.type||"mix"==n.type)&&he(n.tooltip.offset.x,n,i,o),t=r({x:0,y:0},t),t.y-=8*n.pixelRatio;var f=e.map((function(e){return v(e.text,i.fontSize)})),h=l+u+4*i.toolTipPadding+Math.max.apply(null,f),g=2*i.toolTipPadding+e.length*i.toolTipLineHeight;0==c.showBox||(t.x-Math.abs(n._scrollDistance_)+p+h>n.width&&(d=!0),g+t.y>n.height&&(t.y=n.height-g),o.beginPath(),o.setFillStyle(a(c.bgColor||i.toolTipBackground,c.bgOpacity||i.toolTipOpacity)),d?(o.moveTo(t.x,t.y+10*n.pixelRatio),o.lineTo(t.x-p,t.y+10*n.pixelRatio-5*n.pixelRatio),o.lineTo(t.x-p,t.y),o.lineTo(t.x-p-s(h),t.y),o.lineTo(t.x-p-s(h),t.y+g),o.lineTo(t.x-p,t.y+g),o.lineTo(t.x-p,t.y+10*n.pixelRatio+5*n.pixelRatio),o.lineTo(t.x,t.y+10*n.pixelRatio)):(o.moveTo(t.x,t.y+10*n.pixelRatio),o.lineTo(t.x+p,t.y+10*n.pixelRatio-5*n.pixelRatio),o.lineTo(t.x+p,t.y),o.lineTo(t.x+p+s(h),t.y),o.lineTo(t.x+p+s(h),t.y+g),o.lineTo(t.x+p,t.y+g),o.lineTo(t.x+p,t.y+10*n.pixelRatio+5*n.pixelRatio),o.lineTo(t.x,t.y+10*n.pixelRatio)),o.closePath(),o.fill(),e.forEach((function(e,n){if(null!==e.color){o.beginPath(),o.setFillStyle(e.color);var r=t.x+p+2*i.toolTipPadding,a=t.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*n+i.toolTipPadding+1;d&&(r=t.x-h-p+2*i.toolTipPadding),o.fillRect(r,a,l,i.fontSize),o.closePath()}})),e.forEach((function(e,n){var r=t.x+p+2*i.toolTipPadding+l+u;d&&(r=t.x-h-p+2*i.toolTipPadding+ +l+u);var a=t.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*n+i.toolTipPadding;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(c.fontColor),o.fillText(e.text,r,a+i.fontSize),o.closePath(),o.stroke()})))}function _e(e,t,n,i){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=t.chartData.xAxisData,s=o.xAxisPoints,c=o.eachSpacing,l=r({},{type:"group",width:c/2,meter:{border:4,fillColor:"#FFFFFF"}},t.extra.column),u=[];i.save();var p=-2,d=s.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),p=Math.floor(-t._scrollDistance_/c)-2,d=p+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===a&&me(t.tooltip.offset.x,t,n,i,c),e.forEach((function(r,o){var f,h,g;f=[].concat(t.chartData.yAxisData.ranges[r.index]),h=f.pop(),g=f.shift();var v=r.data;switch(l.type){case"group":var m=te(v,h,g,s,c,t,n,a),y=ne(v,h,g,s,c,t,n,o,e,a);u.push(y),m=J(m,c,e.length,o,n,t);for(var _,x=0;x<m.length;x++)if(_=m[x],null!==_&&x>p&&x<d){i.beginPath(),i.setStrokeStyle(_.color||r.color),i.setLineWidth(1),i.setFillStyle(_.color||r.color);var b=_.x-_.width/2,w=t.height-_.y-t.area[2];i.moveTo(b-1,_.y),i.lineTo(b+_.width-2,_.y),i.lineTo(b+_.width-2,t.height-t.area[2]),i.lineTo(b,t.height-t.area[2]),i.lineTo(b,_.y),i.closePath(),i.stroke(),i.fill()}break;case"stack":m=ne(v,h,g,s,c,t,n,o,e,a);u.push(m),m=Z(m,c,e.length,o,n,t,e);for(var A,S=0;S<m.length;S++)if(A=m[S],null!==A&&S>p&&S<d){i.beginPath(),i.setFillStyle(A.color||r.color);b=A.x-A.width/2+1,w=t.height-A.y-t.area[2];var k=t.height-A.y0-t.area[2];0<o&&(w-=k),i.moveTo(b,A.y),i.fillRect(b,A.y,A.width-2,w),i.closePath(),i.fill()}break;case"meter":m=te(v,h,g,s,c,t,n,a);if(u.push(m),m=Q(m,c,e.length,o,n,t,l.meter.border),0==o){for(var P,O=0;O<m.length;O++)if(P=m[O],null!==P&&O>p&&O<d){i.beginPath(),i.setFillStyle(l.meter.fillColor);b=P.x-P.width/2,w=t.height-P.y-t.area[2];i.moveTo(b,P.y),i.fillRect(b,P.y,P.width,w),i.closePath(),i.fill(),0<l.meter.border&&(i.beginPath(),i.setStrokeStyle(r.color),i.setLineWidth(l.meter.border*t.pixelRatio),i.moveTo(b+.5*l.meter.border,P.y+w),i.lineTo(b+.5*l.meter.border,P.y+.5*l.meter.border),i.lineTo(b+P.width-.5*l.meter.border,P.y+.5*l.meter.border),i.lineTo(b+P.width-.5*l.meter.border,P.y+w),i.stroke())}}else for(var T,C=0;C<m.length;C++)if(T=m[C],null!==T&&C>p&&C<d){i.beginPath(),i.setFillStyle(T.color||r.color);b=T.x-T.width/2,w=t.height-T.y-t.area[2];i.moveTo(b,T.y),i.fillRect(b,T.y,T.width,w),i.closePath(),i.fill()}}})),!1!==t.dataLabel&&1===a&&e.forEach((function(r,o){var u,p,d;u=[].concat(t.chartData.yAxisData.ranges[r.index]),p=u.pop(),d=u.shift();var f=r.data;switch(l.type){case"group":var h=te(f,p,d,s,c,t,n,a);h=J(h,c,e.length,o,n,t),ue(h,r,n,i);break;case"stack":h=ne(f,p,d,s,c,t,n,o,e,a);ue(h,r,n,i);break;case"meter":h=te(f,p,d,s,c,t,n,a);ue(h,r,n,i)}})),i.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function xe(e,t,n,i,a){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1,s=r({},{color:{},average:{}},n.extra.candle);s.color=r({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=r({},{show:!1,name:[],day:[],color:i.colors},s.average),n.extra.candle=s;var c=n.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,d=[];a.save();var f=-2,h=l.length+2,g=0,v=n.width+u;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(a.translate(n._scrollDistance_,0),f=Math.floor(-n._scrollDistance_/u)-2,h=f+n.xAxis.itemCount+4,g=-n._scrollDistance_-u+n.area[3],v=g+(n.xAxis.itemCount+4)*u),s.average.show&&t.forEach((function(e){var t,r,s;t=[].concat(n.chartData.yAxisData.ranges[e.index]),r=t.pop(),s=t.shift();for(var c,d=e.data,f=te(d,r,s,l,u,n,i,o),h=F(f),m=0;m<h.length;m++){if(c=h[m],a.beginPath(),a.setStrokeStyle(e.color),a.setLineWidth(1),1===c.length)a.moveTo(c[0].x,c[0].y),a.arc(c[0].x,c[0].y,1,0,2*Math.PI);else{a.moveTo(c[0].x,c[0].y);for(var y,_=0,x=0;x<c.length;x++)if(y=c[x],0==_&&y.x>g&&(a.moveTo(y.x,y.y),_=1),0<x&&y.x>g&&y.x<v){var b=p(c,x-1);a.bezierCurveTo(b.ctrA.x,b.ctrA.y,b.ctrB.x,b.ctrB.y,y.x,y.y)}a.moveTo(c[0].x,c[0].y)}a.closePath(),a.stroke()}})),e.forEach((function(e){var t,r,c;t=[].concat(n.chartData.yAxisData.ranges[e.index]),r=t.pop(),c=t.shift();var p=e.data,g=ee(p,r,c,l,u,n,i,o);d.push(g);for(var v=F(g),m=0;m<v[0].length;m++)if(m>f&&m<h){var y=v[0][m];a.beginPath(),0<p[m][1]-p[m][0]?(a.setStrokeStyle(s.color.upLine),a.setFillStyle(s.color.upFill),a.setLineWidth(1*n.pixelRatio),a.moveTo(y[3].x,y[3].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.moveTo(y[3].x,y[3].y)):(a.setStrokeStyle(s.color.downLine),a.setFillStyle(s.color.downFill),a.setLineWidth(1*n.pixelRatio),a.moveTo(y[3].x,y[3].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.moveTo(y[3].x,y[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:u}}function be(e,t,n,i){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,s=r({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},t.extra.area),c=t.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,d=t.height-t.area[2],f=[];i.save();var h=0,g=t.width+u;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),h=-t._scrollDistance_-u+t.area[3],g=h+(t.xAxis.itemCount+4)*u),e.forEach((function(e){var r,c,v;r=[].concat(t.chartData.yAxisData.ranges[e.index]),c=r.pop(),v=r.shift();var m=e.data,y=te(m,c,v,l,u,t,n,o);f.push(y);for(var _,x=F(y),b=0;b<x.length;b++){if(_=x[b],i.beginPath(),i.setStrokeStyle(a(e.color,s.opacity)),s.gradient){var w=i.createLinearGradient(0,t.area[0],0,t.height-t.area[2]);w.addColorStop("0",a(e.color,s.opacity)),w.addColorStop("1.0",a("#FFFFFF",.1)),i.setFillStyle(w)}else i.setFillStyle(a(e.color,s.opacity));if(i.setLineWidth(s.width*t.pixelRatio),1<_.length){var A=_[0],S=_[_.length-1];i.moveTo(A.x,A.y);var k=0;if("curve"===s.type){for(var P,O=0;O<_.length;O++)if(P=_[O],0==k&&P.x>h&&(i.moveTo(P.x,P.y),k=1),0<O&&P.x>h&&P.x<g){var T=p(_,O-1);i.bezierCurveTo(T.ctrA.x,T.ctrA.y,T.ctrB.x,T.ctrB.y,P.x,P.y)}}else for(var C,j=0;j<_.length;j++)C=_[j],0==k&&C.x>h&&(i.moveTo(C.x,C.y),k=1),0<j&&C.x>h&&C.x<g&&i.lineTo(C.x,C.y);i.lineTo(S.x,d),i.lineTo(A.x,d),i.lineTo(A.x,A.y)}else{var $=_[0];i.moveTo($.x-u/2,$.y),i.lineTo($.x+u/2,$.y),i.lineTo($.x+u/2,d),i.lineTo($.x-u/2,d),i.moveTo($.x-u/2,$.y)}if(i.closePath(),i.fill(),s.addLine){if("dash"==e.lineType){var D=e.dashLength?e.dashLength:8;D*=t.pixelRatio,i.setLineDash([D,D])}if(i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(s.width*t.pixelRatio),1===_.length)i.moveTo(_[0].x,_[0].y),i.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{i.moveTo(_[0].x,_[0].y);var E=0;if("curve"===s.type){for(var L,M=0;M<_.length;M++)if(L=_[M],0==E&&L.x>h&&(i.moveTo(L.x,L.y),E=1),0<M&&L.x>h&&L.x<g){var I=p(_,M-1);i.bezierCurveTo(I.ctrA.x,I.ctrA.y,I.ctrB.x,I.ctrB.y,L.x,L.y)}}else for(var R,N=0;N<_.length;N++)R=_[N],0==E&&R.x>h&&(i.moveTo(R.x,R.y),E=1),0<N&&R.x>h&&R.x<g&&i.lineTo(R.x,R.y);i.moveTo(_[0].x,_[0].y)}i.stroke(),i.setLineDash([])}}!1!==t.dataPointShape&&ce(y,e.color,e.pointShape,i,t)})),!1!==t.dataLabel&&1===o&&e.forEach((function(e){var r,a,s;r=[].concat(t.chartData.yAxisData.ranges[e.index]),a=r.pop(),s=r.shift();var c=e.data,p=te(c,a,s,l,u,t,n,o);ue(p,e,n,i)})),i.restore(),{xAxisPoints:l,calPoints:f,eachSpacing:u}}function we(e,t,n,i){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=r({},{type:"straight",width:2},t.extra.line);o.width*=t.pixelRatio;var s=t.chartData.xAxisData,c=s.xAxisPoints,l=s.eachSpacing,u=[];i.save();var d=0,f=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),d=-t._scrollDistance_-l+t.area[3],f=d+(t.xAxis.itemCount+4)*l),e.forEach((function(e){var r,s,h;r=[].concat(t.chartData.yAxisData.ranges[e.index]),s=r.pop(),h=r.shift();var g=e.data,v=te(g,s,h,c,l,t,n,a);u.push(v);var m=F(v);if("dash"==e.lineType){var y=e.dashLength?e.dashLength:8;y*=t.pixelRatio,i.setLineDash([y,y])}i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(o.width),m.forEach((function(e){if(1===e.length)i.moveTo(e[0].x,e[0].y),i.arc(e[0].x,e[0].y,1,0,2*Math.PI);else{i.moveTo(e[0].x,e[0].y);var t=0;if("curve"===o.type){for(var n,r=0;r<e.length;r++)if(n=e[r],0==t&&n.x>d&&(i.moveTo(n.x,n.y),t=1),0<r&&n.x>d&&n.x<f){var a=p(e,r-1);i.bezierCurveTo(a.ctrA.x,a.ctrA.y,a.ctrB.x,a.ctrB.y,n.x,n.y)}}else for(var s,c=0;c<e.length;c++)s=e[c],0==t&&s.x>d&&(i.moveTo(s.x,s.y),t=1),0<c&&s.x>d&&s.x<f&&i.lineTo(s.x,s.y);i.moveTo(e[0].x,e[0].y)}})),i.stroke(),i.setLineDash([]),!1!==t.dataPointShape&&ce(v,e.color,e.pointShape,i,t)})),!1!==t.dataLabel&&1===a&&e.forEach((function(e){var r,o,s;r=[].concat(t.chartData.yAxisData.ranges[e.index]),o=r.pop(),s=r.shift();var u=e.data,p=te(u,o,s,c,l,t,n,a);ue(p,e,n,i)})),i.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}function Ae(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=t.chartData.xAxisData,s=o.xAxisPoints,c=o.eachSpacing,l=t.height-t.area[2],u=[],d=0,f=0;e.forEach((function(e){"column"==e.type&&(f+=1)})),r.save();var h=-2,g=s.length+2,v=0,m=t.width+c;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=Math.floor(-t._scrollDistance_/c)-2,g=h+t.xAxis.itemCount+4,v=-t._scrollDistance_-c+t.area[3],m=v+(t.xAxis.itemCount+4)*c),e.forEach((function(e){var o,y,_;o=[].concat(t.chartData.yAxisData.ranges[e.index]),y=o.pop(),_=o.shift();var x=e.data,b=te(x,y,_,s,c,t,n,i);if(u.push(b),"column"==e.type){b=J(b,c,f,d,n,t);for(var w,A=0;A<b.length;A++)if(w=b[A],null!==w&&A>h&&A<g){r.beginPath(),r.setStrokeStyle(w.color||e.color),r.setLineWidth(1),r.setFillStyle(w.color||e.color);var S=w.x-w.width/2;t.height,w.y,t.area[2];r.moveTo(S,w.y),r.moveTo(S-1,w.y),r.lineTo(S+w.width-2,w.y),r.lineTo(S+w.width-2,t.height-t.area[2]),r.lineTo(S,t.height-t.area[2]),r.lineTo(S,w.y),r.closePath(),r.stroke(),r.fill(),r.closePath(),r.fill()}d+=1}if("area"==e.type)for(var k,P=F(b),O=0;O<P.length;O++){if(k=P[O],r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(a(e.color,.2)),r.setLineWidth(2*t.pixelRatio),1<k.length){var T=k[0],C=k[k.length-1];r.moveTo(T.x,T.y);var j=0;if("curve"===e.style){for(var $,D=0;D<k.length;D++)if($=k[D],0==j&&$.x>v&&(r.moveTo($.x,$.y),j=1),0<D&&$.x>v&&$.x<m){var E=p(k,D-1);r.bezierCurveTo(E.ctrA.x,E.ctrA.y,E.ctrB.x,E.ctrB.y,$.x,$.y)}}else for(var L,M=0;M<k.length;M++)L=k[M],0==j&&L.x>v&&(r.moveTo(L.x,L.y),j=1),0<M&&L.x>v&&L.x<m&&r.lineTo(L.x,L.y);r.lineTo(C.x,l),r.lineTo(T.x,l),r.lineTo(T.x,T.y)}else{var I=k[0];r.moveTo(I.x-c/2,I.y),r.lineTo(I.x+c/2,I.y),r.lineTo(I.x+c/2,l),r.lineTo(I.x-c/2,l),r.moveTo(I.x-c/2,I.y)}r.closePath(),r.fill()}if("line"==e.type){var R=F(b);R.forEach((function(n){if("dash"==e.lineType){var i=e.dashLength?e.dashLength:8;i*=t.pixelRatio,r.setLineDash([i,i])}if(r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(2*t.pixelRatio),1===n.length)r.moveTo(n[0].x,n[0].y),r.arc(n[0].x,n[0].y,1,0,2*Math.PI);else{r.moveTo(n[0].x,n[0].y);var a=0;if("curve"==e.style){for(var o,s=0;s<n.length;s++)if(o=n[s],0==a&&o.x>v&&(r.moveTo(o.x,o.y),a=1),0<s&&o.x>v&&o.x<m){var c=p(n,s-1);r.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,o.x,o.y)}}else for(var l,u=0;u<n.length;u++)l=n[u],0==a&&l.x>v&&(r.moveTo(l.x,l.y),a=1),0<u&&l.x>v&&l.x<m&&r.lineTo(l.x,l.y);r.moveTo(n[0].x,n[0].y)}r.stroke(),r.setLineDash([])}))}"point"==e.type&&(e.addPoint=!0),1==e.addPoint&&"column"!==e.type&&ce(b,e.color,e.pointShape,r,t)})),!1!==t.dataLabel&&1===i){d=0;e.forEach((function(e){var a,o,l;a=[].concat(t.chartData.yAxisData.ranges[e.index]),o=a.pop(),l=a.shift();var u=e.data,p=te(u,o,l,s,c,t,n,i);"column"===e.type?(p=J(p,c,f,d,n,t),ue(p,e,n,r),d+=1):ue(p,e,n,r)}))}return r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}function Se(e,t,n,r,i,a){var o=e.extra.tooltip||{};o.horizentalLine&&e.tooltip&&1===r&&("line"==e.type||"area"==e.type||"column"==e.type||"candle"==e.type||"mix"==e.type)&&ve(e,t,n,i,a),n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&n.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&ye(e.tooltip.textList,e.tooltip.offset,e,t,n,i,a),n.restore()}function ke(e,t,n,r){var i=Math.ceil,a=t.chartData.xAxisData,o=a.xAxisPoints,s=a.startX,c=a.endX,l=a.eachSpacing,p="center";("line"==t.type||"area"==t.type)&&(p=t.xAxis.boundaryGap);var d=t.height-t.area[2],f=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var h=t.height-t.area[2]+n.xAxisHeight,g=c-s,m=l*(o.length-1),y=0;t._scrollDistance_&&(y=-t._scrollDistance_*g/m),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pixelRatio),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(s,h),r.lineTo(c,h),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pixelRatio),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(s+y,h),r.lineTo(s+y+g*g/m,h),r.stroke(),r.closePath(),r.setLineCap("butt")}if(r.save(),t._scrollDistance_&&0!==t._scrollDistance_&&r.translate(t._scrollDistance_,0),!0===t.xAxis.calibration&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pixelRatio),o.forEach((function(e,n){0<n&&(r.beginPath(),r.moveTo(e-l/2,d),r.lineTo(e-l/2,d+3*t.pixelRatio),r.closePath(),r.stroke())}))),!0!==t.xAxis.disableGrid&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pixelRatio),"dash"==t.xAxis.gridType&&r.setLineDash([t.xAxis.dashLength,t.xAxis.dashLength]),t.xAxis.gridEval=t.xAxis.gridEval||1,o.forEach((function(e,n){0==n%t.xAxis.gridEval&&(r.beginPath(),r.moveTo(e,d),r.lineTo(e,f),r.stroke())})),r.setLineDash([])),!0!==t.xAxis.disabled){var _=e.length;t.xAxis.labelCount&&(_=t.xAxis.itemCount?i(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,_-=1);for(var x=i(e.length/_),b=[],w=e.length,A=0;A<w;A++)0==A%x?b.push(e[A]):b.push("");b[w-1]=e[w-1];var S=t.xAxis.fontSize||n.fontSize;0===n._xAxisTextAngle_?b.forEach((function(e,i){var a=-v(e+"",S)/2;"center"==p&&(a+=l/2);var s=0;t.xAxis.scrollShow&&(s=6*t.pixelRatio),r.beginPath(),r.setFontSize(S),r.setFillStyle(t.xAxis.fontColor||"#666666"),r.fillText(e+"",o[i]+a,d+S+(n.xAxisHeight-s-S)/2),r.closePath(),r.stroke()})):b.forEach((function(e,i){r.save(),r.beginPath(),r.setFontSize(S),r.setFillStyle(t.xAxis.fontColor||"#666666");var a=v(e+"",S),s=-a;"center"==p&&(s+=l/2);var c=u(o[i]+l/2,d+S/2+5,t.height),f=c.transX,h=c.transY;r.rotate(-1*n._xAxisTextAngle_),r.translate(f,h),r.fillText(e+"",o[i]+s,d+S+5),r.closePath(),r.stroke(),r.restore()}))}r.restore(),t.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(t.xAxis.axisLineColor),r.setLineWidth(1*t.pixelRatio),r.moveTo(s,t.height-t.area[2]),r.lineTo(c,t.height-t.area[2]),r.stroke())}function Pe(e,t,n,r){if(!0!==t.yAxis.disableGrid){for(var i=t.height-t.area[0]-t.area[2],a=i/t.yAxis.splitNumber,o=t.area[3],s=t.chartData.xAxisData.xAxisPoints,c=t.chartData.xAxisData.eachSpacing,l=c*(s.length-1),u=[],p=0;p<t.yAxis.splitNumber+1;p++)u.push(t.height-t.area[2]-a*p);r.save(),t._scrollDistance_&&0!==t._scrollDistance_&&r.translate(t._scrollDistance_,0),"dash"==t.yAxis.gridType&&r.setLineDash([t.yAxis.dashLength,t.yAxis.dashLength]),r.setStrokeStyle(t.yAxis.gridColor),r.setLineWidth(1*t.pixelRatio),u.forEach((function(e){r.beginPath(),r.moveTo(o,e),r.lineTo(o+l,e),r.stroke()})),r.setLineDash([]),r.restore()}}function Oe(e,t,n,r){if(!0!==t.yAxis.disabled){var i=t.height-t.area[0]-t.area[2],a=i/t.yAxis.splitNumber,o=t.area[3],s=t.width-t.area[1],c=t.height-t.area[2],l=c+n.xAxisHeight;t.xAxis.scrollShow&&(l-=3*t.pixelRatio),t.xAxis.rotateLabel&&(l=t.height-t.area[2]+3),r.beginPath(),r.setFillStyle(t.background||"#ffffff"),0>t._scrollDistance_&&r.fillRect(0,0,o,l),1==t.enableScroll&&r.fillRect(s,0,t.width,l),r.closePath(),r.stroke();for(var u=[],p=0;p<=t.yAxis.splitNumber;p++)u.push(t.area[0]+a*p);for(var d,f=t.area[3],h=t.width-t.area[1],g=function(e,i){if(e=t.yAxis.data[i],!0!==e.disabled){var a=t.chartData.yAxisData.rangesFormat[i],o=e.fontSize||n.fontSize,s=t.chartData.yAxisData.yAxisWidth[i];if(a.forEach((function(n,i){var a=u[i]?u[i]:c;r.beginPath(),r.setFontSize(o),r.setLineWidth(1*t.pixelRatio),r.setStrokeStyle(e.axisLineColor||"#cccccc"),r.setFillStyle(e.fontColor||"#666666"),"left"==s.position?(r.fillText(n+"",f-s.width,a+o/2),1==e.calibration&&(r.moveTo(f,a),r.lineTo(f-3*t.pixelRatio,a))):(r.fillText(n+"",h+4*t.pixelRatio,a+o/2),1==e.calibration&&(r.moveTo(h,a),r.lineTo(h+3*t.pixelRatio,a))),r.closePath(),r.stroke()})),!1!==e.axisLine&&(r.beginPath(),r.setStrokeStyle(e.axisLineColor||"#cccccc"),r.setLineWidth(1*t.pixelRatio),"left"==s.position?(r.moveTo(f,t.height-t.area[2]),r.lineTo(f,t.area[0])):(r.moveTo(h,t.height-t.area[2]),r.lineTo(h,t.area[0])),r.stroke()),t.yAxis.showTitle){var l=e.titleFontSize||n.fontSize,p=e.title;r.beginPath(),r.setFontSize(l),r.setFillStyle(e.titleFontColor||"#666666"),"left"==s.position?r.fillText(p,f-v(p,l)/2,t.area[0]-10*t.pixelRatio):r.fillText(p,h-v(p,l)/2,t.area[0]-10*t.pixelRatio),r.closePath(),r.stroke()}"left"==s.position?f-=s.width+t.yAxis.padding:h+=s.width+t.yAxis.padding}d=e},m=0;m<t.yAxis.data.length;m++)g(d,m)}}function Te(e,t,n,r,i){if(!1!==t.legend.show){var a=i.legendData,o=a.points,s=a.area,c=t.legend.padding,l=t.legend.fontSize,u=15*t.pixelRatio,p=5*t.pixelRatio,d=t.legend.itemGap,f=Math.max(t.legend.lineHeight*t.pixelRatio,l);r.beginPath(),r.setLineWidth(t.legend.borderWidth),r.setStrokeStyle(t.legend.borderColor),r.setFillStyle(t.legend.backgroundColor),r.moveTo(s.start.x,s.start.y),r.rect(s.start.x,s.start.y,s.width,s.height),r.closePath(),r.fill(),r.stroke(),o.forEach((function(e,i){var o=0,h=0;o=a.widthArr[i],h=a.heightArr[i];var g=0,m=0;"top"==t.legend.position||"bottom"==t.legend.position?(g=s.start.x+(s.width-o)/2,m=s.start.y+c+i*f):(o=0==i?0:a.widthArr[i-1],g=s.start.x+c+o,m=s.start.y+c+(s.height-h)/2),r.setFontSize(n.fontSize);for(var y,_=0;_<e.length;_++){switch(y=e[_],y.area=[0,0,0,0],y.area[0]=g,y.area[1]=m,y.area[3]=m+f,r.beginPath(),r.setLineWidth(1*t.pixelRatio),r.setStrokeStyle(y.show?y.color:t.legend.hiddenColor),r.setFillStyle(y.show?y.color:t.legend.hiddenColor),y.legendShape){case"line":r.moveTo(g,m+.5*f-2*t.pixelRatio),r.fillRect(g,m+.5*f-2*t.pixelRatio,15*t.pixelRatio,4*t.pixelRatio);break;case"triangle":r.moveTo(g+7.5*t.pixelRatio,m+.5*f-5*t.pixelRatio),r.lineTo(g+2.5*t.pixelRatio,m+.5*f+5*t.pixelRatio),r.lineTo(g+12.5*t.pixelRatio,m+.5*f+5*t.pixelRatio),r.lineTo(g+7.5*t.pixelRatio,m+.5*f-5*t.pixelRatio);break;case"diamond":r.moveTo(g+7.5*t.pixelRatio,m+.5*f-5*t.pixelRatio),r.lineTo(g+2.5*t.pixelRatio,m+.5*f),r.lineTo(g+7.5*t.pixelRatio,m+.5*f+5*t.pixelRatio),r.lineTo(g+12.5*t.pixelRatio,m+.5*f),r.lineTo(g+7.5*t.pixelRatio,m+.5*f-5*t.pixelRatio);break;case"circle":r.moveTo(g+7.5*t.pixelRatio,m+.5*f),r.arc(g+7.5*t.pixelRatio,m+.5*f,5*t.pixelRatio,0,2*Math.PI);break;case"rect":r.moveTo(g,m+.5*f-5*t.pixelRatio),r.fillRect(g,m+.5*f-5*t.pixelRatio,15*t.pixelRatio,10*t.pixelRatio);break;default:r.moveTo(g,m+.5*f-5*t.pixelRatio),r.fillRect(g,m+.5*f-5*t.pixelRatio,15*t.pixelRatio,10*t.pixelRatio)}r.closePath(),r.fill(),r.stroke(),g+=u+p,r.beginPath(),r.setFontSize(l),r.setFillStyle(y.show?t.legend.fontColor:t.legend.hiddenColor),r.fillText(y.name,g,m+(.5*f+.5*l-2)),r.closePath(),r.stroke(),"top"==t.legend.position||"bottom"==t.legend.position?(g+=v(y.name,l)+d,y.area[2]=g):(y.area[2]=g+v(y.name,l)+d,g-=u+p,m+=f)}}))}}function Ce(e,t,n,i){var o=Math.PI,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,c=r({},{activeOpacity:.5,activeRadius:10*t.pixelRatio,offsetAngle:0,labelWidth:15*t.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},t.extra.pie),l={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2};0==n.pieChartLinePadding&&(n.pieChartLinePadding=c.activeRadius);var u=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);e=W(e,u,s);var p=c.activeRadius;if(e=e.map((function(e){return e._start_+=c.offsetAngle*o/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(i.beginPath(),i.setFillStyle(a(e.color,t.extra.pie.activeOpacity||.5)),i.moveTo(l.x,l.y),i.arc(l.x,l.y,e._radius_+p,e._start_,e._start_+2*e._proportion_*o),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(c.borderWidth*t.pixelRatio),i.lineJoin="round",i.setStrokeStyle(c.borderColor),i.setFillStyle(e.color),i.moveTo(l.x,l.y),i.arc(l.x,l.y,e._radius_,e._start_,e._start_+2*e._proportion_*o),i.closePath(),i.fill(),1==c.border&&i.stroke()})),"ring"===t.type){var d=.6*u;"number"==typeof t.extra.pie.ringWidth&&0<t.extra.pie.ringWidth&&(d=Math.max(0,u-t.extra.pie.ringWidth)),i.beginPath(),i.setFillStyle(t.background||"#ffffff"),i.moveTo(l.x,l.y),i.arc(l.x,l.y,d,0,2*o),i.closePath(),i.fill()}if(!1!==t.dataLabel&&1===s){for(var f=!1,h=0,g=e.length;h<g;h++)if(0<e[h].data){f=!0;break}f&&fe(e,t,n,i,u,l)}return 1===s&&"ring"===t.type&&le(t,n,i,l),{center:l,radius:u,series:e}}function je(e,t,n,i){var o=Math.PI,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,c=r({},{type:"area",activeOpacity:.5,activeRadius:10*t.pixelRatio,offsetAngle:0,labelWidth:15*t.pixelRatio,border:!1,borderWidth:2,borderColor:"#FFFFFF"},t.extra.rose);0==n.pieChartLinePadding&&(n.pieChartLinePadding=c.activeRadius);var l={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},u=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding),p=c.minRadius||.5*u;e=q(e,c.type,p,u,s);var d=c.activeRadius;if(e=e.map((function(e){return e._start_+=(c.offsetAngle||0)*o/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(i.beginPath(),i.setFillStyle(a(e.color,c.activeOpacity||.5)),i.moveTo(l.x,l.y),i.arc(l.x,l.y,d+e._radius_,e._start_,e._start_+2*e._rose_proportion_*o),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(c.borderWidth*t.pixelRatio),i.lineJoin="round",i.setStrokeStyle(c.borderColor),i.setFillStyle(e.color),i.moveTo(l.x,l.y),i.arc(l.x,l.y,e._radius_,e._start_,e._start_+2*e._rose_proportion_*o),i.closePath(),i.fill(),1==c.border&&i.stroke()})),!1!==t.dataLabel&&1===s){for(var f=!1,h=0,g=e.length;h<g;h++)if(0<e[h].data){f=!0;break}f&&fe(e,t,n,i,u,l)}return{center:l,radius:u,series:e}}function $e(e,t,n,i){var a=Math.PI,o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,s=r({},{startAngle:.75,endAngle:.25,type:"default",width:12*t.pixelRatio,gap:2*t.pixelRatio},t.extra.arcbar);e=V(e,s,o);var c,l=s.center?s.center:{x:t.width/2,y:t.height/2};s.radius?c=s.radius:(c=Math.min(l.x,l.y),c-=5*t.pixelRatio,c-=s.width/2);for(var u,p=0;p<e.length;p++)u=e[p],i.setLineWidth(s.width),i.setStrokeStyle(s.backgroundColor||"#E9E9E9"),i.setLineCap("round"),i.beginPath(),"default"==s.type?i.arc(l.x,l.y,c-(s.width+s.gap)*p,s.startAngle*a,s.endAngle*a,!1):i.arc(l.x,l.y,c-(s.width+s.gap)*p,0,2*a,!1),i.stroke(),i.setLineWidth(s.width),i.setStrokeStyle(u.color),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,c-(s.width+s.gap)*p,s.startAngle*a,u._proportion_*a,!1),i.stroke();return le(t,n,i,l),{center:l,radius:c,series:e}}function De(e,t,n,i,o){var s=Math.PI,c=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1,l=r({},{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);null==l.oldAngle&&(l.oldAngle=l.startAngle),null==l.oldData&&(l.oldData=0),e=G(e,l.startAngle,l.endAngle);var u={x:n.width/2,y:n.height/2},p=Math.min(u.x,u.y);p-=5*n.pixelRatio,p-=l.width/2;var d=p-l.width,f=0;if("progress"==l.type){var h=p-3*l.width;o.beginPath();var g=o.createLinearGradient(u.x,u.y-h,u.x,u.y+h);g.addColorStop("0",a(t[0].color,.3)),g.addColorStop("1.0",a("#FFFFFF",.1)),o.setFillStyle(g),o.arc(u.x,u.y,h,0,2*s,!1),o.fill(),o.setLineWidth(l.width),o.setStrokeStyle(a(t[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(u.x,u.y,d,l.startAngle*s,l.endAngle*s,!1),o.stroke(),f=l.startAngle-l.endAngle+1;l.splitLine.splitNumber;var v=f/l.splitLine.splitNumber/l.splitLine.childNumber,m=-p-.5*l.width-l.splitLine.fixRadius,y=-p-l.width-l.splitLine.fixRadius+l.splitLine.width;o.save(),o.translate(u.x,u.y),o.rotate((l.startAngle-1)*s);for(var _=l.splitLine.splitNumber*l.splitLine.childNumber+1,x=t[0].data*c,b=0;b<_;b++)o.beginPath(),x>b/_?o.setStrokeStyle(a(t[0].color,1)):o.setStrokeStyle(a(t[0].color,.3)),o.setLineWidth(3*n.pixelRatio),o.moveTo(m,0),o.lineTo(y,0),o.stroke(),o.rotate(v*s);o.restore(),t=V(t,l,c),o.setLineWidth(l.width),o.setStrokeStyle(t[0].color),o.setLineCap("round"),o.beginPath(),o.arc(u.x,u.y,d,l.startAngle*s,t[0]._proportion_*s,!1),o.stroke();var w=p-2.5*l.width;o.save(),o.translate(u.x,u.y),o.rotate((t[0]._proportion_-1)*s),o.beginPath(),o.setLineWidth(l.width/3);var A=o.createLinearGradient(0,.6*-w,0,.6*w);A.addColorStop("0",a("#FFFFFF",0)),A.addColorStop("0.5",a(t[0].color,1)),A.addColorStop("1.0",a("#FFFFFF",0)),o.setStrokeStyle(A),o.arc(0,0,w,.85*s,1.15*s,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(t[0].color),o.setFillStyle(t[0].color),o.moveTo(-w-l.width/3/2,-4),o.lineTo(-w-l.width/3/2-4,0),o.lineTo(-w-l.width/3/2,4),o.lineTo(-w-l.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(l.width),o.setLineCap("butt");for(var S,k=0;k<e.length;k++)S=e[k],o.beginPath(),o.setStrokeStyle(S.color),o.arc(u.x,u.y,p,S._startAngle_*s,S._endAngle_*s,!1),o.stroke();o.save(),f=l.startAngle-l.endAngle+1;var P=f/l.splitLine.splitNumber,O=f/l.splitLine.splitNumber/l.splitLine.childNumber,T=-p-.5*l.width-l.splitLine.fixRadius,C=-p-.5*l.width-l.splitLine.fixRadius+l.splitLine.width,j=-p-.5*l.width-l.splitLine.fixRadius+l.splitLine.childWidth;o.translate(u.x,u.y),o.rotate((l.startAngle-1)*s);for(var $=0;$<l.splitLine.splitNumber+1;$++)o.beginPath(),o.setStrokeStyle(l.splitLine.color),o.setLineWidth(2*n.pixelRatio),o.moveTo(T,0),o.lineTo(C,0),o.stroke(),o.rotate(P*s);o.restore(),o.save(),o.translate(u.x,u.y),o.rotate((l.startAngle-1)*s);for(var D=0;D<l.splitLine.splitNumber*l.splitLine.childNumber+1;D++)o.beginPath(),o.setStrokeStyle(l.splitLine.color),o.setLineWidth(1*n.pixelRatio),o.moveTo(T,0),o.lineTo(j,0),o.stroke(),o.rotate(O*s);o.restore(),t=X(t,e,l,c);for(var E,L=0;L<t.length;L++)E=t[L],o.save(),o.translate(u.x,u.y),o.rotate((E._proportion_-1)*s),o.beginPath(),o.setFillStyle(E.color),o.moveTo(l.pointer.width,0),o.lineTo(0,-l.pointer.width/2),o.lineTo(-d,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*s,!1),o.fill(),o.restore();!1!==n.dataLabel&&pe(l,p,u,n,i,o)}return le(n,i,o,u),1===c&&"gauge"===n.type&&(n.extra.gauge.oldAngle=t[0]._proportion_,n.extra.gauge.oldData=t[0].data),{center:u,radius:p,innerRadius:d,categories:e,totalAngle:f}}function Ee(e,t,n,i){var o=Math.cos,s=Math.sin,c=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,l=r({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},t.extra.radar),u=w(t.categories.length),p={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},f=Math.min(p.x-(b(t.categories)+n.radarLabelTextMargin),p.y-n.radarLabelTextMargin);f-=t.padding[1],i.beginPath(),i.setLineWidth(1*t.pixelRatio),i.setStrokeStyle(l.gridColor),u.forEach((function(e){var t=d(f*o(e),f*s(e),p);i.moveTo(p.x,p.y),i.lineTo(t.x,t.y)})),i.stroke(),i.closePath();for(var h=function(e){var n={};i.beginPath(),i.setLineWidth(1*t.pixelRatio),i.setStrokeStyle(l.gridColor),u.forEach((function(t,r){var a=d(f/l.gridCount*e*o(t),f/l.gridCount*e*s(t),p);0===r?(n=a,i.moveTo(a.x,a.y)):i.lineTo(a.x,a.y)})),i.lineTo(n.x,n.y),i.stroke(),i.closePath()},g=1;g<=l.gridCount;g++)h(g);var v=H(u,p,f,e,t,c);return v.forEach((function(e){if(i.beginPath(),i.setFillStyle(a(e.color,l.opacity)),e.data.forEach((function(e,t){0===t?i.moveTo(e.position.x,e.position.y):i.lineTo(e.position.x,e.position.y)})),i.closePath(),i.fill(),!1!==t.dataPointShape){var n=e.data.map((function(e){return e.position}));ce(n,e.color,e.pointShape,i,t)}})),de(u,f,p,t,n,i),{center:p,radius:f,angleList:u}}function Le(e,t,n){n=0==n?1:n;for(var r=[],i=0;i<n;i++)r[i]=Math.random();return Math.floor(r.reduce((function(e,t){return e+t}))/n*(t-e))+e}function Me(e,t,n,r){for(var i=!1,a=0;a<t.length;a++)if(t[a].area){if(!(e[3]<t[a].area[1]||e[0]>t[a].area[2]||e[1]>t[a].area[3]||e[2]<t[a].area[0])){i=!0;break}if(0>e[0]||0>e[1]||e[2]>n||e[3]>r){i=!0;break}i=!1}return i}function Ie(e){for(var t,n,r={xMin:180,xMax:0,yMin:90,yMax:0},i=0;i<e.length;i++){n=e[i].geometry.coordinates;for(var a=0;a<n.length;a++){t=n[a],1==t.length&&(t=t[0]);for(var o=0;o<t.length;o++){var s=t[o][0],c=t[o][1],l={x:s,y:c};r.xMin=r.xMin<l.x?r.xMin:l.x,r.xMax=r.xMax>l.x?r.xMax:l.x,r.yMin=r.yMin<l.y?r.yMin:l.y,r.yMax=r.yMax>l.y?r.yMax:l.y}}}return r}function Fe(e,t,n,r,i,a){return{x:(t-n.xMin)*r+i,y:(n.yMax-e)*r+a}}function Re(e,t,n,r,i,a){return{x:(t-i)/r+n.xMin,y:n.yMax-(e-a)/r}}function Ne(e,t,n){if(t[1]==n[1])return!1;if(t[1]>e[1]&&n[1]>e[1])return!1;if(t[1]<e[1]&&n[1]<e[1])return!1;if(t[1]==e[1]&&n[1]>e[1])return!1;if(n[1]==e[1]&&t[1]>e[1])return!1;if(t[0]<e[0]&&n[1]<e[1])return!1;var r=n[0]-(n[0]-t[0])*(n[1]-e[1])/(n[1]-t[1]);return!(r<e[0])}function Be(e,t){for(var n,r=0,i=0;i<t.length;i++){n=t[i][0],1==t.length&&(n=t[i][0]);for(var a=0;a<n.length-1;a++){var o=n[a],s=n[a+1];Ne(e,o,s)&&(r+=1)}}return!(1!=r%2)}function ze(e,t,n,i){var o,s,c=Math.abs,l=r({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),u=e,p=Ie(u),d=t.width/c(p.xMax-p.xMin),f=t.height/c(p.yMax-p.yMin),h=d<f?d:f,g=t.width/2-c(p.xMax-p.xMin)/2*h,m=t.height/2-c(p.yMax-p.yMin)/2*h;i.beginPath(),i.clearRect(0,0,t.width,t.height),i.setFillStyle(t.background||"#FFFFFF"),i.rect(0,0,t.width,t.height),i.fill();for(var y=0;y<u.length;y++){i.beginPath(),i.setLineWidth(l.borderWidth*t.pixelRatio),i.setStrokeStyle(l.borderColor),i.setFillStyle(a(e[y].color,l.fillOpacity)),t.tooltip&&t.tooltip.index==y&&(i.setStrokeStyle(l.activeBorderColor),i.setFillStyle(a(l.activeFillColor,l.activeFillOpacity)));for(var _=u[y].geometry.coordinates,x=0;x<_.length;x++){o=_[x],1==o.length&&(o=o[0]);for(var b=0;b<o.length;b++)s=Fe(o[b][1],o[b][0],p,h,g,m),0==b?(i.beginPath(),i.moveTo(s.x,s.y)):i.lineTo(s.x,s.y);i.fill(),1==l.border&&i.stroke()}if(1==t.dataLabel){var w=u[y].properties.centroid;if(w){s=Fe(w[1],w[0],p,h,g,m);var A=u[y].textSize||n.fontSize,S=u[y].properties.name;i.beginPath(),i.setFontSize(A),i.setFillStyle(u[y].textColor||"#666666"),i.fillText(S,s.x-v(S,A)/2,s.y+A/2),i.closePath(),i.stroke()}}}t.chartData.mapData={bounds:p,scale:h,xoffset:g,yoffset:m},Se(t,n,i,1),i.draw()}function He(e,t){var n=e.series.sort((function(e,t){return parseInt(t.textSize)-parseInt(e.textSize)}));switch(t){case"normal":for(var r=0;r<n.length;r++){for(var i=void 0,a=void 0,o=void 0,s=n[r].name,c=n[r].textSize,l=v(s,c),u=0;;){u++,i=Le(-e.width/2,e.width/2,5)-l/2,a=Le(-e.height/2,e.height/2,5)+c/2,o=[i-5+e.width/2,a-5-c+e.height/2,i+l+5+e.width/2,a+5+e.height/2];var p=Me(o,n,e.width,e.height);if(!p)break;if(1e3==u){o=[-100,-100,-100,-100];break}}n[r].area=o}break;case"vertical":for(var d=function(){return!!(.7<Math.random())},f=0;f<n.length;f++){for(var h=void 0,g=void 0,m=void 0,y=void 0,_=n[f].name,x=n[f].textSize,b=v(_,x),w=d(),A=0;;){A++;var S=void 0;if(w?(h=Le(-e.width/2,e.width/2,5)-b/2,g=Le(-e.height/2,e.height/2,5)+x/2,m=[g-5-b+e.width/2,-h-5+e.height/2,g+5+e.width/2,-h+x+5+e.height/2],y=[e.width-(e.width/2-e.height/2)-(-h+x+5+e.height/2)-5,e.height/2-e.width/2+(g-5-b+e.width/2)-5,e.width-(e.width/2-e.height/2)-(-h+x+5+e.height/2)+x,e.height/2-e.width/2+(g-5-b+e.width/2)+b+5],S=Me(y,n,e.height,e.width)):(h=Le(-e.width/2,e.width/2,5)-b/2,g=Le(-e.height/2,e.height/2,5)+x/2,m=[h-5+e.width/2,g-5-x+e.height/2,h+b+5+e.width/2,g+5+e.height/2],S=Me(m,n,e.width,e.height)),!S)break;if(1e3==A){m=[-1e3,-1e3,-1e3,-1e3];break}}w?(n[f].area=y,n[f].areav=m):n[f].area=m,n[f].rotate=w}}return n}function We(e,t,n,i){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1;r({},{type:"normal",autoColors:!0},t.extra.word);i.beginPath(),i.setFillStyle(t.background||"#FFFFFF"),i.rect(0,0,t.width,t.height),i.fill(),i.save();var o=t.chartData.wordCloudData;i.translate(t.width/2,t.height/2);for(var s=0;s<o.length;s++){i.save(),o[s].rotate&&i.rotate(90*Math.PI/180);var c=o[s].name,l=o[s].textSize,u=v(c,l);i.beginPath(),i.setStrokeStyle(o[s].color),i.setFillStyle(o[s].color),i.setFontSize(l),o[s].rotate?0<o[s].areav[0]&&(t.tooltip&&t.tooltip.index==s?i.strokeText(c,(o[s].areav[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].areav[1]+5+l-t.height/2)*a):i.fillText(c,(o[s].areav[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].areav[1]+5+l-t.height/2)*a)):0<o[s].area[0]&&(t.tooltip&&t.tooltip.index==s?i.strokeText(c,(o[s].area[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].area[1]+5+l-t.height/2)*a):i.fillText(c,(o[s].area[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].area[1]+5+l-t.height/2)*a)),i.stroke(),i.restore()}i.restore()}function Ue(e,t,n,i){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,s=r({},{activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"},t.extra.funnel),c=(t.height-t.area[0]-t.area[2])/e.length,l={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},u=s.activeWidth,p=Math.min((t.width-t.area[1]-t.area[3])/2-u,(t.height-t.area[0]-t.area[2])/2-u);e=U(e,p,o),i.save(),i.translate(l.x,l.y);for(var d=0;d<e.length;d++)0==d?(t.tooltip&&t.tooltip.index==d&&(i.beginPath(),i.setFillStyle(a(e[d].color,s.activeOpacity)),i.moveTo(-u,0),i.lineTo(-e[d].radius-u,-c),i.lineTo(e[d].radius+u,-c),i.lineTo(u,0),i.lineTo(-u,0),i.closePath(),i.fill()),e[d].funnelArea=[l.x-e[d].radius,l.y-c,l.x+e[d].radius,l.y],i.beginPath(),i.setLineWidth(s.borderWidth*t.pixelRatio),i.setStrokeStyle(s.borderColor),i.setFillStyle(a(e[d].color,s.fillOpacity)),i.moveTo(0,0),i.lineTo(-e[d].radius,-c),i.lineTo(e[d].radius,-c),i.lineTo(0,0),i.closePath(),i.fill(),1==s.border&&i.stroke()):(t.tooltip&&t.tooltip.index==d&&(i.beginPath(),i.setFillStyle(a(e[d].color,s.activeOpacity)),i.moveTo(0,0),i.lineTo(-e[d-1].radius-u,0),i.lineTo(-e[d].radius-u,-c),i.lineTo(e[d].radius+u,-c),i.lineTo(e[d-1].radius+u,0),i.lineTo(0,0),i.closePath(),i.fill()),e[d].funnelArea=[l.x-e[d].radius,l.y-c*(d+1),l.x+e[d].radius,l.y-c*d],i.beginPath(),i.setLineWidth(s.borderWidth*t.pixelRatio),i.setStrokeStyle(s.borderColor),i.setFillStyle(a(e[d].color,s.fillOpacity)),i.moveTo(0,0),i.lineTo(-e[d-1].radius,0),i.lineTo(-e[d].radius,-c),i.lineTo(e[d].radius,-c),i.lineTo(e[d-1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==s.border&&i.stroke()),i.translate(0,-c);return i.restore(),!1!==t.dataLabel&&1===o&&qe(e,t,i,c,s.labelAlign,u,l),{center:l,radius:p,series:e}}function qe(e,t,n,r,a,o,s){for(var c=Math.PI,l=0;l<e.length;l++){var u=void 0,p=void 0,d=void 0,f=void 0,h=e[l],g=h.format?h.format(+h._proportion_.toFixed(2)):i.toFixed(100*h._proportion_)+"%";"right"==a?(u=0==l?(h.funnelArea[2]+s.x)/2:(h.funnelArea[2]+e[l-1].funnelArea[2])/2,p=u+2*o,d=h.funnelArea[1]+r/2,f=h.textSize||t.fontSize,n.setLineWidth(1*t.pixelRatio),n.setStrokeStyle(h.color),n.setFillStyle(h.color),n.beginPath(),n.moveTo(u,d),n.lineTo(p,d),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(p,d),n.arc(p,d,2,0,2*c),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(f),n.setFillStyle(h.textColor||"#666666"),n.fillText(g,p+5,d+f/2-2),n.closePath(),n.stroke(),n.closePath()):(u=0==l?(h.funnelArea[0]+s.x)/2:(h.funnelArea[0]+e[l-1].funnelArea[0])/2,p=u-2*o,d=h.funnelArea[1]+r/2,f=h.textSize||t.fontSize,n.setLineWidth(1*t.pixelRatio),n.setStrokeStyle(h.color),n.setFillStyle(h.color),n.beginPath(),n.moveTo(u,d),n.lineTo(p,d),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(p,d),n.arc(p,d,2,0,2*c),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(f),n.setFillStyle(h.textColor||"#666666"),n.fillText(g,p-5-v(g),d+f/2-2),n.closePath(),n.stroke(),n.closePath())}}function Ve(e,t){t.draw()}var Ge={easeIn:function(e){return Math.pow(e,3)},easeOut:function(e){return Math.pow(e-1,3)+1},easeInOut:function(e){var t=Math.pow;return 1>(e/=.5)?.5*t(e,3):.5*(t(e-2,3)+2)},linear:function(e){return e}};function Xe(e){this.isStop=!1,e.duration="undefined"==typeof e.duration?1e3:e.duration,e.timing=e.timing||"linear";var t=function(){return"undefined"==typeof setTimeout?"undefined"==typeof requestAnimationFrame?function(e){e(null)}:requestAnimationFrame:function(e,t){setTimeout((function(){var t=+new Date;e(t)}),t)}}(),n=null,r=function(i){if(null===i||!0===this.isStop)return e.onProcess&&e.onProcess(1),void(e.onAnimationFinish&&e.onAnimationFinish());if(null===n&&(n=i),i-n<e.duration){var a=(i-n)/e.duration,o=Ge[e.timing];a=o(a),e.onProcess&&e.onProcess(a),t(r,17)}else e.onProcess&&e.onProcess(1),e.onAnimationFinish&&e.onAnimationFinish()};r=r.bind(this),t(r,17)}function Ke(e,t,n,i){var a=this,o=t.series,c=t.categories;o=h(o,t,n);var l=t.animation?t.duration:0;a.animationInstance&&a.animationInstance.stop();var u=null;if("candle"==e){var p=r({},t.extra.candle.average);p.show?(u=s(p.day,p.name,p.color,o[0].data),u=h(u,t,n),t.seriesMA=u):u=t.seriesMA?t.seriesMA=h(t.seriesMA,t,n):o}else u=o;t._series_=o=P(o),t.area=[,,,,];for(var d=0;4>d;d++)t.area[d]=t.padding[d];var f=R(u,t,n,t.chartData),g=f.area.wholeHeight,v=f.area.wholeWidth;switch(t.legend.position){case"top":t.area[0]+=g;break;case"bottom":t.area[2]+=g;break;case"left":t.area[3]+=v;break;case"right":t.area[1]+=v}var m={},y=0;if("line"===t.type||"column"===t.type||"area"===t.type||"mix"===t.type||"candle"===t.type){if(m=ie(o,t,n),y=m.yAxisWidth,t.yAxis.showTitle){for(var _=0,x=0;x<t.yAxis.data.length;x++)_=Math.max(_,t.yAxis.data[x].titleFontSize?t.yAxis.data[x].titleFontSize:n.fontSize);t.area[0]+=(_+6)*t.pixelRatio}for(var b=0,w=0,A=0;A<y.length;A++)"left"==y[A].position?(t.area[3]+=0<w?y[A].width+t.yAxis.padding:y[A].width,w+=1):(t.area[1]+=0<b?y[A].width+t.yAxis.padding:y[A].width,b+=1)}else n.yAxisWidth=y;if(t.chartData.yAxisData=m,t.categories&&t.categories.length){t.chartData.xAxisData=Y(t.categories,t,n);var S=N(t.categories,t,n,t.chartData.xAxisData.eachSpacing),k=S.xAxisHeight,O=S.angle;n.xAxisHeight=k,n._xAxisTextAngle_=O,t.area[2]+=k,t.chartData.categoriesData=S}else if("line"===t.type||"area"===t.type||"points"===t.type){t.chartData.xAxisData=z(o,t,n),c=t.chartData.xAxisData.rangesFormat;var T=N(c,t,n,t.chartData.xAxisData.eachSpacing),C=T.xAxisHeight,j=T.angle;n.xAxisHeight=C,n._xAxisTextAngle_=j,t.area[2]+=C,t.chartData.categoriesData=T}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var $=0,D=t.chartData.xAxisData.xAxisPoints,E=t.chartData.xAxisData.startX,L=t.chartData.xAxisData.endX,M=t.chartData.xAxisData.eachSpacing,I=M*(D.length-1);$=L-E-I,a.scrollOption={currentOffset:$,startTouchX:$,distance:0,lastMoveTime:0},t._scrollDistance_=$}switch(("pie"===e||"ring"===e||"rose"===e)&&(n._pieTextMaxLength_=!1===t.dataLabel?0:K(u)),e){case"word":var F=r({},{type:"normal",autoColors:!0},t.extra.word);(1==t.updateData||null==t.updateData)&&(t.chartData.wordCloudData=He(t,F.type)),this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),We(o,t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,t.width,t.height),ze(o,t,n,i);break;case"funnel":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.funnelData=Ue(o,t,n,i,e),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new Xe({timing:"easeIn",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),Pe(c,t,n,i),ke(c,t,n,i);var r=we(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=l,Oe(o,t,n,i),!1!==t.enableMarkLine&&1===e&&ge(t,n,i),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e,l,a),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Xe({timing:"easeIn",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),Pe(c,t,n,i),ke(c,t,n,i);var r=Ae(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=l,Oe(o,t,n,i),!1!==t.enableMarkLine&&1===e&&ge(t,n,i),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e,l,a),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new Xe({timing:"easeIn",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),Pe(c,t,n,i),ke(c,t,n,i);var r=_e(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=l,Oe(o,t,n,i),!1!==t.enableMarkLine&&1===e&&ge(t,n,i),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e,l,a),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new Xe({timing:"easeIn",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),Pe(c,t,n,i),ke(c,t,n,i);var r=be(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=l,Oe(o,t,n,i),!1!==t.enableMarkLine&&1===e&&ge(t,n,i),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e,l,a),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.pieData=Ce(o,t,n,i,e),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.pieData=je(o,t,n,i,e),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.radarData=Ee(o,t,n,i,e),Te(t.series,t,n,i,t.chartData),Se(t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.arcbarData=$e(o,t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Xe({timing:"easeInOut",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),t.chartData.gaugeData=De(c,o,t,n,i,e),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Xe({timing:"easeIn",duration:l,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&se(i,t),Pe(c,t,n,i),ke(c,t,n,i);var r=xe(o,u,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,l=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=l,Oe(o,t,n,i),!1!==t.enableMarkLine&&1===e&&ge(t,n,i),Te(u||t.series,t,n,i,t.chartData),Se(t,n,i,e,l,a),Ve(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}})}}function Je(){this.events={}}Xe.prototype.stop=function(){this.isStop=!0},Je.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Je.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t.slice(1);!this.events[r]||this.events[r].forEach((function(e){try{e.apply(null,i)}catch(t){console.error(t)}}))};var Qe=function(e){e.pixelRatio=e.pixelRatio?e.pixelRatio:1,e.fontSize=e.fontSize?e.fontSize*e.pixelRatio:13*e.pixelRatio,e.title=r({},e.title),e.subtitle=r({},e.subtitle),e.duration=e.duration?e.duration:1e3,e.yAxis=r({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*e.pixelRatio,gridColor:"#cccccc",padding:10,fontColor:"#666666"},e.yAxis),e.yAxis.dashLength*=e.pixelRatio,e.yAxis.padding*=e.pixelRatio,e.xAxis=r({},{rotateLabel:!1,type:"calibration",gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},e.xAxis),e.xAxis.dashLength*=e.pixelRatio,e.legend=r({},{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:e.fontSize,lineHeight:e.fontSize,fontColor:"#333333",format:{},hiddenColor:"#CECECE"},e.legend),e.legend.borderWidth*=e.pixelRatio,e.legend.itemGap*=e.pixelRatio,e.legend.padding*=e.pixelRatio,e.legend.margin*=e.pixelRatio,e.extra=r({},e.extra),e.rotate=!!e.rotate,e.animation=!!e.animation,e.rotate=!!e.rotate;var i=JSON.parse(JSON.stringify(n));if(i.colors=e.colors?e.colors:i.colors,i.yAxisTitleWidth=!0!==e.yAxis.disabled&&e.yAxis.title?i.yAxisTitleWidth:0,("pie"==e.type||"ring"==e.type)&&(i.pieChartLinePadding=!1===e.dataLabel?0:e.extra.pie.labelWidth*e.pixelRatio||i.pieChartLinePadding*e.pixelRatio),"rose"==e.type&&(i.pieChartLinePadding=!1===e.dataLabel?0:e.extra.rose.labelWidth*e.pixelRatio||i.pieChartLinePadding*e.pixelRatio),i.pieChartTextPadding=!1===e.dataLabel?0:i.pieChartTextPadding*e.pixelRatio,i.yAxisSplit=e.yAxis.splitNumber?e.yAxis.splitNumber:n.yAxisSplit,i.rotate=e.rotate,e.rotate){var a=e.width,o=e.height;e.width=o,e.height=a}e.padding=e.padding?e.padding:i.padding;for(var s=0;4>s;s++)e.padding[s]*=e.pixelRatio;i.yAxisWidth=n.yAxisWidth*e.pixelRatio,i.xAxisHeight=n.xAxisHeight*e.pixelRatio,e.enableScroll&&e.xAxis.scrollShow&&(i.xAxisHeight+=6*e.pixelRatio),i.xAxisLineHeight=n.xAxisLineHeight*e.pixelRatio,i.fontSize=e.fontSize,i.titleFontSize=n.titleFontSize*e.pixelRatio,i.subtitleFontSize=n.subtitleFontSize*e.pixelRatio,i.toolTipPadding=n.toolTipPadding*e.pixelRatio,i.toolTipLineHeight=n.toolTipLineHeight*e.pixelRatio,i.columePadding=n.columePadding*e.pixelRatio,e.$this=e.$this?e.$this:this,this.context=t.createCanvasContext(e.canvasId,e.$this),e.chartData={},this.event=new Je,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=i,Ke.call(this,e.type,e,i,this.context)};Qe.prototype.updateData=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.opts=r({},this.opts,e),this.opts.updateData=!0;var t=e.scrollPosition||"current";switch(t){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=ie(this.opts.series,this.opts,this.config),i=n.yAxisWidth;this.config.yAxisWidth=i;var a=0,o=Y(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,p=u*(s.length-1);a=l-c-p,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a}Ke.call(this,this.opts.type,this.opts,this.config,this.context)},Qe.prototype.zoom=function(){var e=Math.round,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var n=e(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+e(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;var r=ie(this.opts.series,this.opts,this.config),i=r.yAxisWidth;this.config.yAxisWidth=i;var a=0,o=Y(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,p=l-c,d=p-u*(s.length-1);a=p/2-u*n,0<a&&(a=0),a<d&&(a=d),this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a,Ke.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("请启用滚动条后使用!")},Qe.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Qe.prototype.addEventListener=function(e,t){this.event.addEventListener(e,t)},Qe.prototype.getCurrentDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=_(t,this.opts,e);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?M({x:n.x,y:n.y},this.opts.chartData.pieData):"radar"===this.opts.type?$({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?D({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?L({x:n.x,y:n.y},this.opts):"word"===this.opts.type?E({x:n.x,y:n.y},this.opts.chartData.wordCloudData):O({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Qe.prototype.getLegendDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=_(t,this.opts,e);return T({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},Qe.prototype.touchLegend=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;if(n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n){_(n,this.opts,e);var r=this.getLegendDataIndex(e);0<=r&&(this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ke.call(this,this.opts.type,this.opts,this.config,this.context))}},Qe.prototype.showToolTip=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n||console.log("touchError");var i=_(n,this.opts,e),a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var s=this.getCurrentDataIndex(e);if(-1<s){var c=x(this.opts.series,s);if(0!==c.length){var l=A(c,this.opts.chartData.calPoints,s,this.opts.categories,t),u=l.textList,p=l.offset;p.y=i.y,o.tooltip={textList:u,offset:p,option:t,index:s}}}Ke.call(this,o.type,o,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e);if(-1<s){a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){var d=S(c,this.opts.chartData.calPoints,s,this.opts.categories,t);u=d.textList,p=d.offset;p.y=i.y,o.tooltip={textList:u,offset:p,option:t,index:s}}}Ke.call(this,o.type,o,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e);if(-1<s){a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){l=k(this.opts.series[0].data,c,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,t),u=l.textList,p=l.offset;p.y=i.y,o.tooltip={textList:u,offset:p,option:t,index:s}}}Ke.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(e);if(-1<s){a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1}),c=this.opts._series_[s],u=[{text:t.format?t.format(c):c.name+": "+c.data,color:c.color}],p={x:i.x,y:i.y};o.tooltip={textList:u,offset:p,option:t,index:s}}Ke.call(this,o.type,o,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){s=this.getCurrentDataIndex(e);if(-1<s){a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1}),c=this.opts._series_[s],u=[{text:t.format?t.format(c):c.properties.name,color:c.color}],p={x:i.x,y:i.y};o.tooltip={textList:u,offset:p,option:t,index:s}}o.updateData=!1,Ke.call(this,o.type,o,this.config,this.context)}if("radar"===this.opts.type){s=this.getCurrentDataIndex(e);if(-1<s){a=this.scrollOption.currentOffset,o=r({},this.opts,{_scrollDistance_:a,animation:!1}),c=x(this.opts.series,s);if(0!==c.length){u=c.map((function(e){return{text:t.format?t.format(e):e.name+": "+e.data,color:e.color}})),p={x:i.x,y:i.y};o.tooltip={textList:u,offset:p,option:t,index:s}}}Ke.call(this,o.type,o,this.config,this.context)}},Qe.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=r({},this.opts,{_scrollDistance_:e,animation:!1});Ke.call(this,this.opts.type,t,this.config,this.context)},Qe.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var n=_(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},Qe.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.extra.touchMoveLimit||20,n=Date.now(),i=n-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/t))){this.scrollOption.lastMoveTime=n;var a=null;if(a=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],a&&!0===this.opts.enableScroll){var o,s=_(a,this.opts,e);o=s.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,u=c(this,l+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=u-l;var p=r({},this.opts,{_scrollDistance_:l+o,animation:!1});return Ke.call(this,p.type,p,this.config,this.context),l+o}}},Qe.prototype.scrollEnd=function(){if(!0===this.opts.enableScroll){var e=this.scrollOption,t=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=t+n,this.scrollOption.distance=0}},"object"==typeof e.exports&&(e.exports=Qe)}).call(this,n("543d")["default"])},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},caee:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("a34a"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,c,"next",e)}function c(e){a(o,r,i,s,c,"throw",e)}s(void 0)}))}}var s=function(){var e=o(r.default.mark((function e(t){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=t||{},t.isShow=!1,this.$store.dispatch("loading/actionGetLoading",t);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),c=s;t.default=c},cf71:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={scrollTop:0,isScanQrCode:!1,coupon:{list:[],type:""},query:null},i={getScrollTop:function(e){return e.scrollTop},getIsScanQrCode:function(e){return e.isScanQrCode},getCoupon:function(e){return e.coupon},getQuery:function(e){return e.query}},a={mutSetScrollTop:function(e,t){e.scrollTop=t},mutSetIsScanQrCode:function(e,t){e.isScanQrCode=t},mutSetCoupon:function(e,t){e.coupon=t},mutSetQuery:function(e,t){e.query=t}},o={actionSetScrollTop:function(e,t){e.commit("mutSetScrollTop",t)},actionSetIsScanQrCode:function(e,t){e.commit("mutSetIsScanQrCode",t)},actionSetCoupon:function(e,t){e.commit("mutSetCoupon",t)},actionSetQeury:function(e,t){e.commit("mutSetQuery",t)}},s={namespaced:!0,state:r,getters:i,mutations:a,actions:o};t.default=s},d265:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("b91a")),i=a(n("5ca1"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t={},n=e.split(","),r=0;r<n.length;r+=1)t[n[r]]=!0;return t}var s=o("br,code,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=o("a,abbr,acronym,applet,b,basefont,bdo,big,button,cite,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),l=o("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");function u(e){return/<body.*>([^]*)<\/body>/.test(e)?RegExp.$1:e}function p(e){return e.replace(/<!--.*?-->/gi,"").replace(/\/\*.*?\*\//gi,"").replace(/[ ]+</gi,"<").replace(/<script[^]*<\/script>/gi,"").replace(/<style[^]*<\/style>/gi,"")}function d(){var e={};return wx.getSystemInfo({success:function(t){e.width=t.windowWidth,e.height=t.windowHeight}}),e}function f(e,t,n,a){e=u(e),e=p(e),e=r.default.strDiscode(e);var o=[],f={nodes:[],imageUrls:[]},h=d();function g(e){this.node="element",this.tag=e,this.$screen=h}return(0,i.default)(e,{start:function(e,i,a){var u=new g(e);if(0!==o.length){var p=o[0];void 0===p.nodes&&(p.nodes=[])}if(s[e]?u.tagType="block":c[e]?u.tagType="inline":l[e]&&(u.tagType="closeSelf"),u.attr=i.reduce((function(e,t){var n=t.name,r=t.value;return"class"===n&&(u.classStr=r),"style"===n&&(u.styleStr=r),r.match(/ /)&&(r=r.split(" ")),e[n]?Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r,e}),{}),u.classStr?u.classStr+=" ".concat(u.tag):u.classStr=u.tag,"inline"===u.tagType&&(u.classStr+=" inline"),"img"===u.tag){var d=u.attr.src;d=r.default.urlToHttpUrl(d,n.domain),Object.assign(u.attr,n,{src:d||""}),d&&f.imageUrls.push(d)}if("a"===u.tag&&(u.attr.href=u.attr.href||""),"font"===u.tag){var h=["x-small","small","medium","large","x-large","xx-large","-webkit-xxx-large"],v={color:"color",face:"font-family",size:"font-size"};u.styleStr||(u.styleStr=""),Object.keys(v).forEach((function(e){if(u.attr[e]){var t="size"===e?h[u.attr[e]-1]:u.attr[e];u.styleStr+="".concat(v[e],": ").concat(t,";")}}))}if("source"===u.tag&&(f.source=u.attr.src),t.start&&t.start(u,f),a){var m=o[0]||f;void 0===m.nodes&&(m.nodes=[]),m.nodes.push(u)}else o.unshift(u)},end:function(e){var n=o.shift();if(n.tag!==e&&console.error("invalid state: mismatch end tag"),"video"===n.tag&&f.source&&(n.attr.src=f.source,delete f.source),t.end&&t.end(n,f),0===o.length)f.nodes.push(n);else{var r=o[0];r.nodes||(r.nodes=[]),r.nodes.push(n)}},chars:function(e){if(e.trim()){var n={node:"text",text:e};if(t.chars&&t.chars(n,f),0===o.length)f.nodes.push(n);else{var r=o[0];void 0===r.nodes&&(r.nodes=[]),r.nodes.push(n)}}}}),f}var h=f;t.default=h},d32f0:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("c345"),i=n("36a5"),a=function(t){switch(t.form&&(0,r.push)(t.e.detail.formId),t.open_type){case"redirect":e.redirectTo({url:t.url});break;case"navigate":e.navigateTo({url:t.url});break;case"app_admin":1==t.$store.state.user.info.identity.is_admin&&e.navigateTo({url:t.url});break;case"tel":t.params?e.makePhoneCall({phoneNumber:t.params[0].value}):t.number&&e.makePhoneCall({phoneNumber:t.number});break;case"web":e.navigateTo({url:t.url});break;case"app":if(t.url){var n=t.url.split("?")[1];e.navigateToMiniProgram({appId:n.slice(0,25).split("=")[1],path:n.slice(n.indexOf("&")+1,n.length).split("=")[1]})}else t.appId&&e.navigateToMiniProgram({appId:t.appId});break;case"clear_cache":(0,i.clearStorage)();break;case"map":e.openLocation({latitude:Number(t.latitude),longitude:Number(t.longitude),name:t.address});break;case"reload":e.redirectTo({url:this.$platDiff.routeWithOption()});break}},o=a;t.default=o}).call(this,n("543d")["default"])},d63b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};t.default=r},da52:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=x(n("66fd")),i=x(n("2f62")),a=x(n("8cba")),o=x(n("9abe")),s=x(n("855e")),c=x(n("96a7")),l=x(n("82e5")),u=x(n("95b5")),p=x(n("8ac0")),d=x(n("b6a2")),f=x(n("84a5")),h=x(n("cf71")),g=x(n("b6ab")),v=x(n("0ff8")),m=x(n("7bf4")),y=x(n("b41f")),_=x(n("8630"));function x(e){return e&&e.__esModule?e:{default:e}}r.default.use(i.default);var b=new i.default.Store({modules:{mallConfig:a.default,user:o.default,gConfig:s.default,index:c.default,orderSubmit:l.default,pagination:u.default,loading:p.default,payment:d.default,scanCode:f.default,page:h.default,userCenter:g.default,iPhoneX:v.default,gift:m.default,cart:y.default,share:_.default}}),w=b;t.default=w},e143:function(e,t,n){"use strict";n.r(t),function(e,n){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2021 Evan You
- * Released under the MIT License.
- */
- var r=Object.freeze({});function i(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function o(e){return!0===e}function s(e){return!1===e}function c(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function p(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}m("slot,component",!0);var y=m("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function b(e,t){return x.call(e,t)}function w(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var A=/-(\w)/g,S=w((function(e){return e.replace(A,(function(e,t){return t?t.toUpperCase():""}))})),k=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),P=/\B([A-Z])/g,O=w((function(e){return e.replace(P,"-$1").toLowerCase()}));function T(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function C(e,t){return e.bind(t)}var j=Function.prototype.bind?C:T;function $(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function D(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n<e.length;n++)e[n]&&D(t,e[n]);return t}function L(e,t,n){}var M=function(e,t,n){return!1},I=function(e){return e};function F(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every((function(e,n){return F(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return F(e[n],t[n])}))}catch(c){return!1}}function R(e,t){for(var n=0;n<e.length;n++)if(F(e[n],t))return n;return-1}function N(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var B="data-server-rendered",z=["component","directive","filter"],H=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:L,parsePlatformTagName:I,mustUseProp:M,async:!0,_lifecycleHooks:H},U=/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 q(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var G=new RegExp("[^"+U.source+".$_\\d]");function X(e){if(!G.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var K,J="__proto__"in{},Q="undefined"!==typeof window,Z="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Y=Z&&WXEnvironment.platform.toLowerCase(),ee=Q&&window.navigator.userAgent.toLowerCase(),te=ee&&/msie|trident/.test(ee),ne=ee&&ee.indexOf("msie 9.0")>0,re=ee&&ee.indexOf("edge/")>0,ie=(ee&&ee.indexOf("android"),ee&&/iphone|ipad|ipod|ios/.test(ee)||"ios"===Y),ae=(ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee),ee&&ee.match(/firefox\/(\d+)/)),oe={}.watch,se=!1;if(Q)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ce)}catch(Do){}var le=function(){return void 0===K&&(K=!Q&&!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},ue=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pe(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,fe="undefined"!==typeof Symbol&&pe(Symbol)&&"undefined"!==typeof Reflect&&pe(Reflect.ownKeys);de="undefined"!==typeof Set&&pe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var he=L,ge=0,ve=function(){this.id=ge++,this.subs=[]};function me(e){ve.SharedObject.targetStack.push(e),ve.SharedObject.target=e,ve.target=e}function ye(){ve.SharedObject.targetStack.pop(),ve.SharedObject.target=ve.SharedObject.targetStack[ve.SharedObject.targetStack.length-1],ve.target=ve.SharedObject.target}ve.prototype.addSub=function(e){this.subs.push(e)},ve.prototype.removeSub=function(e){_(this.subs,e)},ve.prototype.depend=function(){ve.SharedObject.target&&ve.SharedObject.target.addDep(this)},ve.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},ve.SharedObject={},ve.SharedObject.target=null,ve.SharedObject.targetStack=[];var _e=function(e,t,n,r,i,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.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},xe={child:{configurable:!0}};xe.child.get=function(){return this.componentInstance},Object.defineProperties(_e.prototype,xe);var be=function(e){void 0===e&&(e="");var t=new _e;return t.text=e,t.isComment=!0,t};function we(e){return new _e(void 0,void 0,void 0,String(e))}function Ae(e){var t=new _e(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Se=Array.prototype,ke=Object.create(Se),Pe=["push","pop","shift","unshift","splice","sort","reverse"];Pe.forEach((function(e){var t=Se[e];V(ke,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&o.observeArray(i),o.dep.notify(),a}))}));var Oe=Object.getOwnPropertyNames(ke),Te=!0;function Ce(e){Te=e}var je=function(e){this.value=e,this.dep=new ve,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)?(J?$e(e,ke):De(e,ke,Oe),this.observeArray(e)):this.walk(e)};function $e(e,t){e.__proto__=t}function De(e,t,n){for(var r=0,i=n.length;r<i;r++){var a=n[r];V(e,a,t[a])}}function Ee(e,t){var n;if(l(e)&&!(e instanceof _e))return b(e,"__ob__")&&e.__ob__ instanceof je?n=e.__ob__:Te&&!le()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new je(e)),t&&n&&n.vmCount++,n}function Le(e,t,n,r,i){var a=new ve,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var s=o&&o.get,c=o&&o.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!i&&Ee(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ve.SharedObject.target&&(a.depend(),l&&(l.dep.depend(),Array.isArray(t)&&Fe(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!c||(c?c.call(e,t):n=t,l=!i&&Ee(t),a.notify())}})}}function Me(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Le(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Ie(e,t){if(Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||b(e,t)&&(delete e[t],n&&n.dep.notify())}}function Fe(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Fe(t)}je.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Le(e,t[n])},je.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ee(e[t])};var Re=W.optionMergeStrategies;function Ne(e,t){if(!t)return e;for(var n,r,i,a=fe?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(r=e[n],i=t[n],b(e,n)?r!==i&&p(r)&&p(i)&&Ne(r,i):Me(e,n,i));return e}function Be(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Ne(r,i):i}:t?e?function(){return Ne("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function ze(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?He(n):n}function He(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function We(e,t,n,r){var i=Object.create(e||null);return t?D(i,t):i}Re.data=function(e,t,n){return n?Be(e,t,n):t&&"function"!==typeof t?e:Be(e,t)},H.forEach((function(e){Re[e]=ze})),z.forEach((function(e){Re[e+"s"]=We})),Re.watch=function(e,t,n,r){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in D(i,e),t){var o=i[a],s=t[a];o&&!Array.isArray(o)&&(o=[o]),i[a]=o?o.concat(s):Array.isArray(s)?s:[s]}return i},Re.props=Re.methods=Re.inject=Re.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return D(i,e),t&&D(i,t),i},Re.provide=Be;var Ue=function(e,t){return void 0===t?e:t};function qe(e,t){var n=e.props;if(n){var r,i,a,o={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=S(i),o[a]={type:null})}else if(p(n))for(var s in n)i=n[s],a=S(s),o[a]=p(i)?i:{type:i};else 0;e.props=o}}function Ve(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(p(n))for(var a in n){var o=n[a];r[a]=p(o)?D({from:a},o):{from:o}}else 0}}function Ge(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}function Xe(e,t,n){if("function"===typeof t&&(t=t.options),qe(t,n),Ve(t,n),Ge(t),!t._base&&(t.extends&&(e=Xe(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Xe(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)b(e,a)||s(a);function s(r){var i=Re[r]||Ue;o[r]=i(e[r],t[r],n,r)}return o}function Ke(e,t,n,r){if("string"===typeof n){var i=e[t];if(b(i,n))return i[n];var a=S(n);if(b(i,a))return i[a];var o=k(a);if(b(i,o))return i[o];var s=i[n]||i[a]||i[o];return s}}function Je(e,t,n,r){var i=t[e],a=!b(n,e),o=n[e],s=et(Boolean,i.type);if(s>-1)if(a&&!b(i,"default"))o=!1;else if(""===o||o===O(e)){var c=et(String,i.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=Qe(r,i,e);var l=Te;Ce(!0),Ee(o),Ce(l)}return o}function Qe(e,t,n){if(b(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==Ze(t.type)?r.call(e):r}}function Ze(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ye(e,t){return Ze(e)===Ze(t)}function et(e,t){if(!Array.isArray(t))return Ye(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ye(t[n],e))return n;return-1}function tt(e,t,n){me();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=!1===i[a].call(r,e,t,n);if(o)return}catch(Do){rt(Do,r,"errorCaptured hook")}}}rt(e,t,n)}finally{ye()}}function nt(e,t,n,r,i){var a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&h(a)&&!a._handled&&(a.catch((function(e){return tt(e,r,i+" (Promise/async)")})),a._handled=!0)}catch(Do){tt(Do,r,i)}return a}function rt(e,t,n){if(W.errorHandler)try{return W.errorHandler.call(null,e,t,n)}catch(Do){Do!==e&&it(Do,null,"config.errorHandler")}it(e,t,n)}function it(e,t,n){if(!Q&&!Z||"undefined"===typeof console)throw e;console.error(e)}var at,ot=!1,st=[],ct=!1;function lt(){ct=!1;var e=st.slice(0);st.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&pe(Promise)){var ut=Promise.resolve();at=function(){ut.then(lt),ie&&setTimeout(L)},ot=!0}else if(te||"undefined"===typeof MutationObserver||!pe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())at="undefined"!==typeof setImmediate&&pe(setImmediate)?function(){setImmediate(lt)}:function(){setTimeout(lt,0)};else{var pt=1,dt=new MutationObserver(lt),ft=document.createTextNode(String(pt));dt.observe(ft,{characterData:!0}),at=function(){pt=(pt+1)%2,ft.data=String(pt)},ot=!0}function ht(e,t){var n;if(st.push((function(){if(e)try{e.call(t)}catch(Do){tt(Do,t,"nextTick")}else n&&n(t)})),ct||(ct=!0,at()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var gt=new de;function vt(e){mt(e,gt),gt.clear()}function mt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!l(e)||Object.isFrozen(e)||e instanceof _e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i){n=e.length;while(n--)mt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)mt(e[r[n]],t)}}}var yt=w((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function _t(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return nt(r,null,arguments,t,"v-on handler");for(var i=r.slice(),a=0;a<i.length;a++)nt(i[a],null,e,t,"v-on handler")}return n.fns=e,n}function xt(e,t,n,r,a,s){var c,l,u,p;for(c in e)l=e[c],u=t[c],p=yt(c),i(l)||(i(u)?(i(l.fns)&&(l=e[c]=_t(l,s)),o(p.once)&&(l=e[c]=a(p.name,l,p.capture)),n(p.name,l,p.capture,p.passive,p.params)):l!==u&&(u.fns=l,e[c]=u));for(c in t)i(e[c])&&(p=yt(c),r(p.name,t[c],p.capture))}function bt(e,t,n){var r;e instanceof _e&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),_(r.fns,c)}i(s)?r=_t([c]):a(s.fns)&&o(s.merged)?(r=s,r.fns.push(c)):r=_t([s,c]),r.merged=!0,e[t]=r}function wt(e,t,n,r){var o=t.options.mpOptions&&t.options.mpOptions.properties;if(i(o))return n;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,l=e.props;if(a(c)||a(l))for(var u in o){var p=O(u),d=St(n,l,u,p,!0)||St(n,c,u,p,!1);d&&n[u]&&-1!==s.indexOf(p)&&r[S(n[u])]&&(n[u]=r[S(n[u])])}return n}function At(e,t,n,r){var o=t.options.props;if(i(o))return wt(e,t,{},r);var s={},c=e.attrs,l=e.props;if(a(c)||a(l))for(var u in o){var p=O(u);St(s,l,u,p,!0)||St(s,c,u,p,!1)}return wt(e,t,s,r)}function St(e,t,n,r,i){if(a(t)){if(b(t,n))return e[n]=t[n],i||delete t[n],!0;if(b(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function kt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Pt(e){return c(e)?[we(e)]:Array.isArray(e)?Tt(e):void 0}function Ot(e){return a(e)&&a(e.text)&&s(e.isComment)}function Tt(e,t){var n,r,s,l,u=[];for(n=0;n<e.length;n++)r=e[n],i(r)||"boolean"===typeof r||(s=u.length-1,l=u[s],Array.isArray(r)?r.length>0&&(r=Tt(r,(t||"")+"_"+n),Ot(r[0])&&Ot(l)&&(u[s]=we(l.text+r[0].text),r.shift()),u.push.apply(u,r)):c(r)?Ot(l)?u[s]=we(l.text+r):""!==r&&u.push(we(r)):Ot(r)&&Ot(l)?u[s]=we(l.text+r.text):(o(e._isVList)&&a(r.tag)&&i(r.key)&&a(t)&&(r.key="__vlist"+t+"_"+n+"__"),u.push(r)));return u}function Ct(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function jt(e){var t=$t(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach((function(n){Le(e,n,t[n])})),Ce(!0))}function $t(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var a=r[i];if("__ob__"!==a){var o=e[a].from,s=t;while(s){if(s._provided&&b(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var c=e[a].default;n[a]="function"===typeof c?c.call(t):c}else 0}}return n}}function Dt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var a=e[r],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)a.asyncMeta&&a.asyncMeta.data&&"page"===a.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(a):(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(Et)&&delete n[l];return n}function Et(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Lt(e,t,n){var i,a=Object.keys(t).length>0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==r&&s===n.$key&&!a&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Mt(t,c,e[c]))}else i={};for(var l in t)l in i||(i[l]=It(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",o),V(i,"$key",s),V(i,"$hasNormal",a),i}function Mt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Pt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function It(e,t){return function(){return e[t]}}function Ft(e,t){var n,r,i,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r,r,r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(l(e))if(fe&&e[Symbol.iterator]){n=[];var c=e[Symbol.iterator](),u=c.next();while(!u.done)n.push(t(u.value,n.length,r,r++)),u=c.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)s=o[r],n[r]=t(e[s],s,r,r);return a(n)||(n=[]),n._isVList=!0,n}function Rt(e,t,n,r){var i,a=this.$scopedSlots[e];a?(n=n||{},r&&(n=D(D({},r),n)),i=a(n,this,n._i)||t):i=this.$slots[e]||t;var o=n&&n.slot;return o?this.$createElement("template",{slot:o},i):i}function Nt(e){return Ke(this.$options,"filters",e,!0)||I}function Bt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function zt(e,t,n,r,i){var a=W.keyCodes[t]||n;return i&&r&&!W.keyCodes[t]?Bt(i,r):a?Bt(a,e):r?O(r)!==t:void 0}function Ht(e,t,n,r,i){if(n)if(l(n)){var a;Array.isArray(n)&&(n=E(n));var o=function(o){if("class"===o||"style"===o||y(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||W.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=S(o),l=O(o);if(!(c in a)&&!(l in a)&&(a[o]=n[o],i)){var u=e.on||(e.on={});u["update:"+o]=function(e){n[o]=e}}};for(var s in n)o(s)}else;return e}function Wt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),qt(r,"__static__"+e,!1)),r}function Ut(e,t,n){return qt(e,"__once__"+t+(n?"_"+n:""),!0),e}function qt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&Vt(e[r],t+"_"+r,n);else Vt(e,t,n)}function Vt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Gt(e,t){if(t)if(p(t)){var n=e.on=e.on?D({},e.on):{};for(var r in t){var i=n[r],a=t[r];n[r]=i?[].concat(i,a):a}}else;return e}function Xt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];Array.isArray(a)?Xt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Kt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Jt(e,t){return"string"===typeof e?t+e:e}function Qt(e){e._o=Ut,e._n=v,e._s=g,e._l=Ft,e._t=Rt,e._q=F,e._i=R,e._m=Wt,e._f=Nt,e._k=zt,e._b=Ht,e._v=we,e._e=be,e._u=Xt,e._g=Gt,e._d=Kt,e._p=Jt}function Zt(e,t,n,i,a){var s,c=this,l=a.options;b(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=o(l._compiled),p=!u;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=$t(l.inject,i),this.slots=function(){return c.$slots||Lt(e.scopedSlots,c.$slots=Dt(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Lt(e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Lt(e.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var a=dn(s,e,t,n,r,p);return a&&!Array.isArray(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return dn(s,e,t,n,r,p)}}function Yt(e,t,n,i,o){var s=e.options,c={},l=s.props;if(a(l))for(var u in l)c[u]=Je(u,l,t||r);else a(n.attrs)&&tn(c,n.attrs),a(n.props)&&tn(c,n.props);var p=new Zt(n,c,o,i,e),d=s.render.call(null,p._c,p);if(d instanceof _e)return en(d,n,p.parent,s,p);if(Array.isArray(d)){for(var f=Pt(d)||[],h=new Array(f.length),g=0;g<f.length;g++)h[g]=en(f[g],n,p.parent,s,p);return h}}function en(e,t,n,r,i){var a=Ae(e);return a.fnContext=n,a.fnOptions=r,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function tn(e,t){for(var n in t)e[S(n)]=t[n]}Qt(Zt.prototype);var nn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;nn.prepatch(n,n)}else{var r=e.componentInstance=on(e,$n);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;In(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(Bn(n,"onServiceCreated"),Bn(n,"onServiceAttached"),n._isMounted=!0,Bn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Yn(n):Rn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Nn(t,!0):t.$destroy())}},rn=Object.keys(nn);function an(e,t,n,r,s){if(!i(e)){var c=n.$options._base;if(l(e)&&(e=c.extend(e)),"function"===typeof e){var u;if(i(e.cid)&&(u=e,e=wn(u,c),void 0===e))return bn(u,t,n,r,s);t=t||{},wr(e),a(t.model)&&ln(e.options,t);var p=At(t,e,s,n);if(o(e.options.functional))return Yt(e,p,t,n,r);var d=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}sn(t);var h=e.options.name||s,g=new _e("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:p,listeners:d,tag:s,children:r},u);return g}}}function on(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function sn(e){for(var t=e.hook||(e.hook={}),n=0;n<rn.length;n++){var r=rn[n],i=t[r],a=nn[r];i===a||i&&i._merged||(t[r]=i?cn(a,i):a)}}function cn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function ln(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],s=t.model.callback;a(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(i[r]=[s].concat(o)):i[r]=s}var un=1,pn=2;function dn(e,t,n,r,i,a){return(Array.isArray(n)||c(n))&&(i=r,r=n,n=void 0),o(a)&&(i=pn),fn(e,t,n,r,i)}function fn(e,t,n,r,i){if(a(n)&&a(n.__ob__))return be();if(a(n)&&a(n.is)&&(t=n.is),!t)return be();var o,s,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===pn?r=Pt(r):i===un&&(r=kt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||W.getTagNamespace(t),o=W.isReservedTag(t)?new _e(W.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!a(c=Ke(e.$options,"components",t))?new _e(t,n,r,void 0,void 0,e):an(c,n,e,r,t)):o=an(t,n,e,r);return Array.isArray(o)?o:a(o)?(a(s)&&hn(o,s),a(n)&&gn(n),o):be()}function hn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),a(e.children))for(var r=0,s=e.children.length;r<s;r++){var c=e.children[r];a(c.tag)&&(i(c.ns)||o(n)&&"svg"!==c.tag)&&hn(c,t,n)}}function gn(e){l(e.style)&&vt(e.style),l(e.class)&&vt(e.class)}function vn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=Dt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return dn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return dn(e,t,n,r,i,!0)};var a=n&&n.data;Le(e,"$attrs",a&&a.attrs||r,null,!0),Le(e,"$listeners",t._parentListeners||r,null,!0)}var mn,yn=null;function _n(e){Qt(e.prototype),e.prototype.$nextTick=function(e){return ht(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=Lt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{yn=t,e=r.call(t._renderProxy,t.$createElement)}catch(Do){tt(Do,t,"render"),e=t._vnode}finally{yn=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof _e||(e=be()),e.parent=i,e}}function xn(e,t){return(e.__esModule||fe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function bn(e,t,n,r,i){var a=be();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}function wn(e,t){if(o(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=yn;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),o(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var r=e.owners=[n],s=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return _(r,n)}));var p=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},d=N((function(n){e.resolved=xn(n,t),s?r.length=0:p(!0)})),f=N((function(t){a(e.errorComp)&&(e.error=!0,p(!0))})),g=e(d,f);return l(g)&&(h(g)?i(e.resolved)&&g.then(d,f):h(g.component)&&(g.component.then(d,f),a(g.error)&&(e.errorComp=xn(g.error,t)),a(g.loading)&&(e.loadingComp=xn(g.loading,t),0===g.delay?e.loading=!0:c=setTimeout((function(){c=null,i(e.resolved)&&i(e.error)&&(e.loading=!0,p(!1))}),g.delay||200)),a(g.timeout)&&(u=setTimeout((function(){u=null,i(e.resolved)&&f(null)}),g.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function An(e){return e.isComment&&e.asyncFactory}function Sn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||An(n)))return n}}function kn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Cn(e,t)}function Pn(e,t){mn.$on(e,t)}function On(e,t){mn.$off(e,t)}function Tn(e,t){var n=mn;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function Cn(e,t,n){mn=e,xt(t,n||{},Pn,On,Tn,e),mn=void 0}function jn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;var s=o.length;while(s--)if(a=o[s],a===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?$(n):n;for(var r=$(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;a<o;a++)nt(n[a],t,r,t,i)}return t}}var $n=null;function Dn(e){var t=$n;return $n=e,function(){$n=t}}function En(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Ln(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,a=Dn(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),a(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Bn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Bn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Mn(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=be),Bn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new rr(e,r,L,{before:function(){e._isMounted&&!e._isDestroyed&&Bn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(Bn(e,"onServiceCreated"),Bn(e,"onServiceAttached"),e._isMounted=!0,Bn(e,"mounted")),e}function In(e,t,n,i,a){var o=i.data.scopedSlots,s=e.$scopedSlots,c=!!(o&&!o.$stable||s!==r&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key),l=!!(a||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=a,e.$attrs=i.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){Ce(!1);for(var u=e._props,p=e.$options._propKeys||[],d=0;d<p.length;d++){var f=p[d],h=e.$options.props;u[f]=Je(f,h,t,e)}Ce(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||r;var g=e.$options._parentListeners;e.$options._parentListeners=n,Cn(e,n,g),l&&(e.$slots=Dt(a,i.context),e.$forceUpdate())}function Fn(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Rn(e,t){if(t){if(e._directInactive=!1,Fn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Rn(e.$children[n]);Bn(e,"activated")}}function Nn(e,t){if((!t||(e._directInactive=!0,!Fn(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Nn(e.$children[n]);Bn(e,"deactivated")}}function Bn(e,t){me();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,a=n.length;i<a;i++)nt(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ye()}var zn=[],Hn=[],Wn={},Un=!1,qn=!1,Vn=0;function Gn(){Vn=zn.length=Hn.length=0,Wn={},Un=qn=!1}var Xn=0,Kn=Date.now;if(Q&&!te){var Jn=window.performance;Jn&&"function"===typeof Jn.now&&Kn()>document.createEvent("Event").timeStamp&&(Kn=function(){return Jn.now()})}function Qn(){var e,t;for(Xn=Kn(),qn=!0,zn.sort((function(e,t){return e.id-t.id})),Vn=0;Vn<zn.length;Vn++)e=zn[Vn],e.before&&e.before(),t=e.id,Wn[t]=null,e.run();var n=Hn.slice(),r=zn.slice();Gn(),er(n),Zn(r),ue&&W.devtools&&ue.emit("flush")}function Zn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Bn(r,"updated")}}function Yn(e){e._inactive=!1,Hn.push(e)}function er(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Rn(e[t],!0)}function tr(e){var t=e.id;if(null==Wn[t]){if(Wn[t]=!0,qn){var n=zn.length-1;while(n>Vn&&zn[n].id>e.id)n--;zn.splice(n+1,0,e)}else zn.push(e);Un||(Un=!0,ht(Qn))}}var nr=0,rr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=X(t),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var e;me(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Do){if(!this.user)throw Do;tt(Do,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&vt(e),ye(),this.cleanupDeps()}return e},rr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},rr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.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},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},rr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Do){tt(Do,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:L,set:L};function ar(e,t,n){ir.get=function(){return this[t][n]},ir.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ir)}function or(e){e._watchers=[];var t=e.$options;t.props&&sr(e,t.props),t.methods&&gr(e,t.methods),t.data?cr(e):Ee(e._data={},!0),t.computed&&pr(e,t.computed),t.watch&&t.watch!==oe&&vr(e,t.watch)}function sr(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||Ce(!1);var o=function(a){i.push(a);var o=Je(a,t,n,e);Le(r,a,o),a in e||ar(e,"_props",a)};for(var s in t)o(s);Ce(!0)}function cr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},p(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&b(r,a)||q(a)||ar(e,"_data",a)}Ee(t,!0)}function lr(e,t){me();try{return e.call(t,t)}catch(Do){return tt(Do,t,"data()"),{}}finally{ye()}}var ur={lazy:!0};function pr(e,t){var n=e._computedWatchers=Object.create(null),r=le();for(var i in t){var a=t[i],o="function"===typeof a?a:a.get;0,r||(n[i]=new rr(e,o||L,L,ur)),i in e||dr(e,i,a)}}function dr(e,t,n){var r=!le();"function"===typeof n?(ir.get=r?fr(t):hr(n),ir.set=L):(ir.get=n.get?r&&!1!==n.cache?fr(t):hr(n.get):L,ir.set=n.set||L),Object.defineProperty(e,t,ir)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ve.SharedObject.target&&t.depend(),t.value}}function hr(e){return function(){return e.call(this,this)}}function gr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?L:j(t[n],e)}function vr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)mr(e,n,r[i]);else mr(e,n,r)}}function mr(e,t,n,r){return p(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function yr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Me,e.prototype.$delete=Ie,e.prototype.$watch=function(e,t,n){var r=this;if(p(t))return mr(r,e,t,n);n=n||{},n.user=!0;var i=new rr(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(a){tt(a,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var _r=0;function xr(e){e.prototype._init=function(e){var t=this;t._uid=_r++,t._isVue=!0,e&&e._isComponent?br(t,e):t.$options=Xe(wr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,En(t),kn(t),vn(t),Bn(t,"beforeCreate"),!t._$fallback&&jt(t),or(t),!t._$fallback&&Ct(t),!t._$fallback&&Bn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function br(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function wr(e){var t=e.options;if(e.super){var n=wr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=Ar(e);i&&D(e.extendOptions,i),t=e.options=Xe(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Ar(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function Sr(e){this._init(e)}function kr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Pr(e){e.mixin=function(e){return this.options=Xe(this.options,e),this}}function Or(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Xe(n.options,e),o["super"]=n,o.options.props&&Tr(o),o.options.computed&&Cr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,z.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=D({},o.options),i[r]=o,o}}function Tr(e){var t=e.options.props;for(var n in t)ar(e.prototype,"_props",n)}function Cr(e){var t=e.options.computed;for(var n in t)dr(e.prototype,n,t[n])}function jr(e){z.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function $r(e){return e&&(e.Ctor.options.name||e.tag)}function Dr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Er(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=$r(o.componentOptions);s&&!t(s)&&Lr(n,a,r,i)}}}function Lr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,_(n,t)}xr(Sr),yr(Sr),jn(Sr),Ln(Sr),_n(Sr);var Mr=[String,RegExp,Array],Ir={name:"keep-alive",abstract:!0,props:{include:Mr,exclude:Mr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Lr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Er(e,(function(e){return Dr(t,e)}))})),this.$watch("exclude",(function(t){Er(e,(function(e){return!Dr(t,e)}))}))},render:function(){var e=this.$slots.default,t=Sn(e),n=t&&t.componentOptions;if(n){var r=$r(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Dr(a,r))||o&&r&&Dr(o,r))return t;var s=this,c=s.cache,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,_(l,u),l.push(u)):(c[u]=t,l.push(u),this.max&&l.length>parseInt(this.max)&&Lr(c,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Fr={KeepAlive:Ir};function Rr(e){var t={get:function(){return W}};Object.defineProperty(e,"config",t),e.util={warn:he,extend:D,mergeOptions:Xe,defineReactive:Le},e.set=Me,e.delete=Ie,e.nextTick=ht,e.observable=function(e){return Ee(e),e},e.options=Object.create(null),z.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,D(e.options.components,Fr),kr(e),Pr(e),Or(e),jr(e)}Rr(Sr),Object.defineProperty(Sr.prototype,"$isServer",{get:le}),Object.defineProperty(Sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sr,"FunctionalRenderContext",{value:Zt}),Sr.version="2.6.11";var Nr=m("style,class"),Br=m("input,textarea,option,select,progress"),zr=function(e,t,n){return"value"===n&&Br(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Hr=m("contenteditable,draggable,spellcheck"),Wr=m("events,caret,typing,plaintext-only"),Ur=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&Wr(t)?t:"true"},qr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Gr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Xr=function(e){return Gr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Jr(e){var t=e.data,n=e,r=e;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Qr(r.data,t));while(a(n=n.parent))n&&n.data&&(t=Qr(t,n.data));return Zr(t.staticClass,t.class)}function Qr(e,t){return{staticClass:Yr(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Zr(e,t){return a(e)||a(t)?Yr(e,ei(t)):""}function Yr(e,t){return e?t?e+" "+t:e:t||""}function ei(e){return Array.isArray(e)?ti(e):l(e)?ni(e):"string"===typeof e?e:""}function ti(e){for(var t,n="",r=0,i=e.length;r<i;r++)a(t=ei(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function ni(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ii=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ai=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ii(e)||ai(e)};function si(e){return ai(e)?"svg":"math"===e?"math":void 0}var ci=Object.create(null);function li(e){if(!Q)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=ci[e])return ci[e];var t=document.createElement(e);return e.indexOf("-")>-1?ci[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ci[e]=/HTMLUnknownElement/.test(t.toString())}var ui=m("text,number,password,search,email,tel,url");function pi(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function di(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ri[e],t)}function hi(e){return document.createTextNode(e)}function gi(e){return document.createComment(e)}function vi(e,t,n){e.insertBefore(t,n)}function mi(e,t){e.removeChild(t)}function yi(e,t){e.appendChild(t)}function _i(e){return e.parentNode}function xi(e){return e.nextSibling}function bi(e){return e.tagName}function wi(e,t){e.textContent=t}function Ai(e,t){e.setAttribute(t,"")}var Si=Object.freeze({createElement:di,createElementNS:fi,createTextNode:hi,createComment:gi,insertBefore:vi,removeChild:mi,appendChild:yi,parentNode:_i,nextSibling:xi,tagName:bi,setTextContent:wi,setStyleScope:Ai}),ki={create:function(e,t){Pi(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Pi(e,!0),Pi(t))},destroy:function(e){Pi(e,!0)}};function Pi(e,t){var n=e.data.ref;if(a(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?_(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Oi=new _e("",{},[]),Ti=["create","activate","update","remove","destroy"];function Ci(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&ji(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function ji(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,i=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===i||ui(r)&&ui(i)}function $i(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,a(i)&&(o[i]=r);return o}function Di(e){var t,n,r={},s=e.modules,l=e.nodeOps;for(t=0;t<Ti.length;++t)for(r[Ti[t]]=[],n=0;n<s.length;++n)a(s[n][Ti[t]])&&r[Ti[t]].push(s[n][Ti[t]]);function u(e){return new _e(l.tagName(e).toLowerCase(),{},[],void 0,e)}function p(e,t){function n(){0===--n.listeners&&d(e)}return n.listeners=t,n}function d(e){var t=l.parentNode(e);a(t)&&l.removeChild(t,e)}function f(e,t,n,r,i,s,c){if(a(e.elm)&&a(s)&&(e=s[c]=Ae(e)),e.isRootInsert=!i,!h(e,t,n,r)){var u=e.data,p=e.children,d=e.tag;a(d)?(e.elm=e.ns?l.createElementNS(e.ns,d):l.createElement(d,e),w(e),_(e,p,t),a(u)&&b(e,t),y(n,e.elm,r)):o(e.isComment)?(e.elm=l.createComment(e.text),y(n,e.elm,r)):(e.elm=l.createTextNode(e.text),y(n,e.elm,r))}}function h(e,t,n,r){var i=e.data;if(a(i)){var s=a(e.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(e,!1),a(e.componentInstance))return g(e,t),y(n,e.elm,r),o(s)&&v(e,t,n,r),!0}}function g(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,x(e)?(b(e,t),w(e)):(Pi(e),t.push(e))}function v(e,t,n,i){var o,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Oi,s);t.push(s);break}y(n,e.elm,i)}function y(e,t,n){a(e)&&(a(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function _(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else c(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function x(e){while(e.componentInstance)e=e.componentInstance._vnode;return a(e.tag)}function b(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Oi,e);t=e.data.hook,a(t)&&(a(t.create)&&t.create(Oi,e),a(t.insert)&&n.push(e))}function w(e){var t;if(a(t=e.fnScopeId))l.setStyleScope(e.elm,t);else{var n=e;while(n)a(t=n.context)&&a(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent}a(t=$n)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function A(e,t,n,r,i,a){for(;r<=i;++r)f(n[r],a,e,t,!1,n,r)}function S(e){var t,n,i=e.data;if(a(i))for(a(t=i.hook)&&a(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)S(e.children[n])}function k(e,t,n){for(;t<=n;++t){var r=e[t];a(r)&&(a(r.tag)?(P(r),S(r)):d(r.elm))}}function P(e,t){if(a(t)||a(e.data)){var n,i=r.remove.length+1;for(a(t)?t.listeners+=i:t=p(e.elm,i),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&P(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else d(e.elm)}function O(e,t,n,r,o){var s,c,u,p,d=0,h=0,g=t.length-1,v=t[0],m=t[g],y=n.length-1,_=n[0],x=n[y],b=!o;while(d<=g&&h<=y)i(v)?v=t[++d]:i(m)?m=t[--g]:Ci(v,_)?(C(v,_,r,n,h),v=t[++d],_=n[++h]):Ci(m,x)?(C(m,x,r,n,y),m=t[--g],x=n[--y]):Ci(v,x)?(C(v,x,r,n,y),b&&l.insertBefore(e,v.elm,l.nextSibling(m.elm)),v=t[++d],x=n[--y]):Ci(m,_)?(C(m,_,r,n,h),b&&l.insertBefore(e,m.elm,v.elm),m=t[--g],_=n[++h]):(i(s)&&(s=$i(t,d,g)),c=a(_.key)?s[_.key]:T(_,t,d,g),i(c)?f(_,r,e,v.elm,!1,n,h):(u=t[c],Ci(u,_)?(C(u,_,r,n,h),t[c]=void 0,b&&l.insertBefore(e,u.elm,v.elm)):f(_,r,e,v.elm,!1,n,h)),_=n[++h]);d>g?(p=i(n[y+1])?null:n[y+1].elm,A(e,p,n,h,y,r)):h>y&&k(t,d,g)}function T(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(a(o)&&Ci(e,o))return i}}function C(e,t,n,s,c,u){if(e!==t){a(t.elm)&&a(s)&&(t=s[c]=Ae(t));var p=t.elm=e.elm;if(o(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?D(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,f=t.data;a(f)&&a(d=f.hook)&&a(d=d.prepatch)&&d(e,t);var h=e.children,g=t.children;if(a(f)&&x(t)){for(d=0;d<r.update.length;++d)r.update[d](e,t);a(d=f.hook)&&a(d=d.update)&&d(e,t)}i(t.text)?a(h)&&a(g)?h!==g&&O(p,h,g,n,u):a(g)?(a(e.text)&&l.setTextContent(p,""),A(p,null,g,0,g.length-1,n)):a(h)?k(h,0,h.length-1):a(e.text)&&l.setTextContent(p,""):e.text!==t.text&&l.setTextContent(p,t.text),a(f)&&a(d=f.hook)&&a(d=d.postpatch)&&d(e,t)}}}function j(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var $=m("attrs,class,staticClass,staticStyle,key");function D(e,t,n,r){var i,s=t.tag,c=t.data,l=t.children;if(r=r||c&&c.pre,t.elm=e,o(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(i=c.hook)&&a(i=i.init)&&i(t,!0),a(i=t.componentInstance)))return g(t,n),!0;if(a(s)){if(a(l))if(e.hasChildNodes())if(a(i=c)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var u=!0,p=e.firstChild,d=0;d<l.length;d++){if(!p||!D(p,l[d],n,r)){u=!1;break}p=p.nextSibling}if(!u||p)return!1}else _(t,l,n);if(a(c)){var f=!1;for(var h in c)if(!$(h)){f=!0,b(t,n);break}!f&&c["class"]&&vt(c["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!i(t)){var c=!1,p=[];if(i(e))c=!0,f(t,p);else{var d=a(e.nodeType);if(!d&&Ci(e,t))C(e,t,p,null,null,s);else{if(d){if(1===e.nodeType&&e.hasAttribute(B)&&(e.removeAttribute(B),n=!0),o(n)&&D(e,t,p))return j(t,p,!0),e;e=u(e)}var h=e.elm,g=l.parentNode(h);if(f(t,p,h._leaveCb?null:g,l.nextSibling(h)),a(t.parent)){var v=t.parent,m=x(t);while(v){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=t.elm,m){for(var _=0;_<r.create.length;++_)r.create[_](Oi,v);var b=v.data.hook.insert;if(b.merged)for(var w=1;w<b.fns.length;w++)b.fns[w]()}else Pi(v);v=v.parent}}a(g)?k([e],0,0):a(e.tag)&&S(e)}}return j(t,p,c),t.elm}a(e)&&S(e)}}var Ei={create:Li,update:Li,destroy:function(e){Li(e,Oi)}};function Li(e,t){(e.data.directives||t.data.directives)&&Mi(e,t)}function Mi(e,t){var n,r,i,a=e===Oi,o=t===Oi,s=Fi(e.data.directives,e.context),c=Fi(t.data.directives,t.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ni(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Ni(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var p=function(){for(var n=0;n<l.length;n++)Ni(l[n],"inserted",t,e)};a?bt(t,"insert",p):p()}if(u.length&&bt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Ni(u[n],"componentUpdated",t,e)})),!a)for(n in s)c[n]||Ni(s[n],"unbind",e,e,o)}var Ii=Object.create(null);function Fi(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)r=e[n],r.modifiers||(r.modifiers=Ii),i[Ri(r)]=r,r.def=Ke(t.$options,"directives",r.name,!0);return i}function Ri(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ni(e,t,n,r,i){var a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,r,i)}catch(Do){tt(Do,n.context,"directive "+e.name+" "+t+" hook")}}var Bi=[ki,Ei];function zi(e,t){var n={};return Object.keys(e).forEach((function(r){t[r]&&(n[e[r]]=t[r],delete t[r])})),n}function Hi(e,t){if(!i(e.data.wxsProps)||!i(t.data.wxsProps)){var n=e.$wxsWatches,r=Object.keys(t.data.wxsProps);if(n||r.length){n||(n={});var a=zi(t.data.wxsProps,t.data.attrs),o=t.context;t.$wxsWatches={},Object.keys(a).forEach((function(e){var r=e;t.context.wxsProps&&(r="wxsProps."+e),t.$wxsWatches[e]=n[e]||t.context.$watch(r,(function(n,r){a[e](n,r,o.$getComponentDescriptor(o,!0),t.elm.__vue__.$getComponentDescriptor(t.elm.__vue__,!1))}),{deep:!0})})),Object.keys(n).forEach((function(e){t.$wxsWatches[e]||(n[e](),delete n[e])}))}}}var Wi={create:Hi,update:Hi};function Ui(e,t){var n=t.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(e.data.attrs)||!i(t.data.attrs))){var r,o,s,c=t.elm,l=e.data.attrs||{},u=t.data.attrs||{};for(r in a(u.__ob__)&&(u=t.data.attrs=D({},u)),u)o=u[r],s=l[r],s!==o&&qi(c,r,o);for(r in(te||re)&&u.value!==l.value&&qi(c,"value",u.value),l)i(u[r])&&(Gr(r)?c.removeAttributeNS(Vr,Xr(r)):Hr(r)||c.removeAttribute(r))}}function qi(e,t,n){e.tagName.indexOf("-")>-1?Vi(e,t,n):qr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Hr(t)?e.setAttribute(t,Ur(t,n)):Gr(t)?Kr(n)?e.removeAttributeNS(Vr,Xr(t)):e.setAttributeNS(Vr,t,n):Vi(e,t,n)}function Vi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(te&&!ne&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Gi={create:Ui,update:Ui};function Xi(e,t){var n=t.elm,r=t.data,o=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class))&&i(n.__wxsAddClass)&&i(n.__wxsRemoveClass))){var s=Jr(t),c=n._transitionClasses;if(a(c)&&(s=Yr(s,ei(c))),Array.isArray(n.__wxsRemoveClass)&&n.__wxsRemoveClass.length){var l=s.split(/\s+/);n.__wxsRemoveClass.forEach((function(e){var t=l.findIndex((function(t){return t===e}));-1!==t&&l.splice(t,1)})),s=l.join(" "),n.__wxsRemoveClass.length=0}if(n.__wxsAddClass){var u=s.split(/\s+/).concat(n.__wxsAddClass.split(/\s+/)),p=Object.create(null);u.forEach((function(e){e&&(p[e]=1)})),s=Object.keys(p).join(" ")}var d=t.context,f=d.$options.mpOptions&&d.$options.mpOptions.externalClasses;Array.isArray(f)&&f.forEach((function(e){var t=d[S(e)];t&&(s=s.replace(e,t))})),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ki,Ji={create:Xi,update:Xi},Qi="__r",Zi="__c";function Yi(e){if(a(e[Qi])){var t=te?"change":"input";e[t]=[].concat(e[Qi],e[t]||[]),delete e[Qi]}a(e[Zi])&&(e.change=[].concat(e[Zi],e.change||[]),delete e[Zi])}function ea(e,t,n){var r=Ki;return function i(){var a=t.apply(null,arguments);null!==a&&ra(e,i,n,r)}}var ta=ot&&!(ae&&Number(ae[1])<=53);function na(e,t,n,r){if(ta){var i=Xn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Ki.addEventListener(e,t,se?{capture:n,passive:r}:n)}function ra(e,t,n,r){(r||Ki).removeEventListener(e,t._wrapper||t,n)}function ia(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ki=t.elm,Yi(n),xt(n,r,na,ra,ea,t.context),Ki=void 0}}var aa,oa={create:ia,update:ia};function sa(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,o=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in a(c.__ob__)&&(c=t.data.domProps=D({},c)),s)n in c||(o[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);ca(o,l)&&(o.value=l)}else if("innerHTML"===n&&ai(o.tagName)&&i(o.innerHTML)){aa=aa||document.createElement("div"),aa.innerHTML="<svg>"+r+"</svg>";var u=aa.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(r!==s[n])try{o[n]=r}catch(Do){}}}}function ca(e,t){return!e.composing&&("OPTION"===e.tagName||la(e,t)||ua(e,t))}function la(e,t){var n=!0;try{n=document.activeElement!==e}catch(Do){}return n&&e.value!==t}function ua(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var pa={create:sa,update:sa},da=w((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function fa(e){var t=ha(e.style);return e.staticStyle?D(e.staticStyle,t):t}function ha(e){return Array.isArray(e)?E(e):"string"===typeof e?da(e):e}function ga(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=fa(i.data))&&D(r,n)}(n=fa(e.data))&&D(r,n);var a=e;while(a=a.parent)a.data&&(n=fa(a.data))&&D(r,n);return r}var va,ma=/^--/,ya=/\s*!important$/,_a=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,xa=function(e){return"string"===typeof e?e.replace(_a,(function(e,t){return n.upx2px(t)+"px"})):e},ba=/url\(\s*['"](.+?\.(jpg|gif|png))['"]\s*\)/,wa=/url\(\s*([a-zA-Z0-9\.\-\_\/]+?\.(jpg|gif|png))\s*\)/,Aa=function(e,t){if("string"===typeof e&&-1!==e.indexOf("url(")){var n=e.match(ba)||e.match(wa);n&&3===n.length&&(e=e.replace(n[1],t._$getRealPath(n[1])))}return e},Sa=function(e,t,n,r){if(r&&r._$getRealPath&&n&&(n=Aa(n,r)),ma.test(t))e.style.setProperty(t,n);else if(ya.test(n))e.style.setProperty(O(t),n.replace(ya,""),"important");else{var i=Pa(t);if(Array.isArray(n))for(var a=0,o=n.length;a<o;a++)e.style[i]=xa(n[a]);else e.style[i]=xa(n)}},ka=["Webkit","Moz","ms"],Pa=w((function(e){if(va=va||document.createElement("div").style,e=S(e),"filter"!==e&&e in va)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<ka.length;n++){var r=ka[n]+t;if(r in va)return r}}));function Oa(e,t){var n=t.data,r=e.data,o=t.elm;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style)&&i(o.__wxsStyle))){var s,c,l=r.staticStyle,u=r.normalizedStyle||r.style||{},p=l||u,d=ha(t.data.style)||{};t.data.normalizedStyle=a(d.__ob__)?D({},d):d;var f=ga(t,!0);for(c in o.__wxsStyle&&(Object.assign(t.data.normalizedStyle,o.__wxsStyle),Object.assign(f,o.__wxsStyle)),p)i(f[c])&&Sa(o,c,"");for(c in f)s=f[c],s!==p[c]&&Sa(o,c,null==s?"":s,t.context)}}var Ta={create:Oa,update:Oa},Ca=/\s+/;function ja(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ca).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $a(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ca).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Da(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&D(t,Ea(e.name||"v")),D(t,e),t}return"string"===typeof e?Ea(e):void 0}}var Ea=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),La=Q&&!ne,Ma="transition",Ia="animation",Fa="transition",Ra="transitionend",Na="animation",Ba="animationend";La&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fa="WebkitTransition",Ra="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Na="WebkitAnimation",Ba="webkitAnimationEnd"));var za=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ha(e){za((function(){za(e)}))}function Wa(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ja(e,t))}function Ua(e,t){e._transitionClasses&&_(e._transitionClasses,t),$a(e,t)}function qa(e,t,n){var r=Ga(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Ma?Ra:Ba,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout((function(){c<o&&l()}),a+1),e.addEventListener(s,u)}var Va=/\b(transform|all)(,|$)/;function Ga(e,t){var n,r=window.getComputedStyle(e),i=(r[Fa+"Delay"]||"").split(", "),a=(r[Fa+"Duration"]||"").split(", "),o=Xa(i,a),s=(r[Na+"Delay"]||"").split(", "),c=(r[Na+"Duration"]||"").split(", "),l=Xa(s,c),u=0,p=0;t===Ma?o>0&&(n=Ma,u=o,p=a.length):t===Ia?l>0&&(n=Ia,u=l,p=c.length):(u=Math.max(o,l),n=u>0?o>l?Ma:Ia:null,p=n?n===Ma?a.length:c.length:0);var d=n===Ma&&Va.test(r[Fa+"Property"]);return{type:n,timeout:u,propCount:p,hasTransform:d}}function Xa(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return Ka(t)+Ka(e[n])})))}function Ka(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ja(e,t){var n=e.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Da(e.data.transition);if(!i(r)&&!a(n._enterCb)&&1===n.nodeType){var o=r.css,s=r.type,c=r.enterClass,u=r.enterToClass,p=r.enterActiveClass,d=r.appearClass,f=r.appearToClass,h=r.appearActiveClass,g=r.beforeEnter,m=r.enter,y=r.afterEnter,_=r.enterCancelled,x=r.beforeAppear,b=r.appear,w=r.afterAppear,A=r.appearCancelled,S=r.duration,k=$n,P=$n.$vnode;while(P&&P.parent)k=P.context,P=P.parent;var O=!k._isMounted||!e.isRootInsert;if(!O||b||""===b){var T=O&&d?d:c,C=O&&h?h:p,j=O&&f?f:u,$=O&&x||g,D=O&&"function"===typeof b?b:m,E=O&&w||y,L=O&&A||_,M=v(l(S)?S.enter:S);0;var I=!1!==o&&!ne,F=Ya(D),R=n._enterCb=N((function(){I&&(Ua(n,j),Ua(n,C)),R.cancelled?(I&&Ua(n,T),L&&L(n)):E&&E(n),n._enterCb=null}));e.data.show||bt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),D&&D(n,R)})),$&&$(n),I&&(Wa(n,T),Wa(n,C),Ha((function(){Ua(n,T),R.cancelled||(Wa(n,j),F||(Za(M)?setTimeout(R,M):qa(n,s,R)))}))),e.data.show&&(t&&t(),D&&D(n,R)),I||F||R()}}}function Qa(e,t){var n=e.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Da(e.data.transition);if(i(r)||1!==n.nodeType)return t();if(!a(n._leaveCb)){var o=r.css,s=r.type,c=r.leaveClass,u=r.leaveToClass,p=r.leaveActiveClass,d=r.beforeLeave,f=r.leave,h=r.afterLeave,g=r.leaveCancelled,m=r.delayLeave,y=r.duration,_=!1!==o&&!ne,x=Ya(f),b=v(l(y)?y.leave:y);0;var w=n._leaveCb=N((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(Ua(n,u),Ua(n,p)),w.cancelled?(_&&Ua(n,c),g&&g(n)):(t(),h&&h(n)),n._leaveCb=null}));m?m(A):A()}function A(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),_&&(Wa(n,c),Wa(n,p),Ha((function(){Ua(n,c),w.cancelled||(Wa(n,u),x||(Za(b)?setTimeout(w,b):qa(n,s,w)))}))),f&&f(n,w),_||x||w())}}function Za(e){return"number"===typeof e&&!isNaN(e)}function Ya(e){if(i(e))return!1;var t=e.fns;return a(t)?Ya(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function eo(e,t){!0!==t.data.show&&Ja(t)}var to=Q?{create:eo,activate:eo,remove:function(e,t){!0!==e.data.show?Qa(e,t):t()}}:{},no=[Wi,Gi,Ji,oa,pa,Ta,to],ro=no.concat(Bi),io=Di({nodeOps:Si,modules:ro});ne&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&fo(e,"input")}));var ao={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?bt(n,"postpatch",(function(){ao.componentUpdated(e,t,n)})):oo(e,t,n.context),e._vOptions=[].map.call(e.options,lo)):("textarea"===n.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",uo),e.addEventListener("compositionend",po),e.addEventListener("change",po),ne&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){oo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,lo);if(i.some((function(e,t){return!F(e,r[t])}))){var a=e.multiple?t.value.some((function(e){return co(e,i)})):t.value!==t.oldValue&&co(t.value,i);a&&fo(e,"change")}}}};function oo(e,t,n){so(e,t,n),(te||re)&&setTimeout((function(){so(e,t,n)}),0)}function so(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s<c;s++)if(o=e.options[s],i)a=R(r,lo(o))>-1,o.selected!==a&&(o.selected=a);else if(F(lo(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function co(e,t){return t.every((function(t){return!F(t,e)}))}function lo(e){return"_value"in e?e._value:e.value}function uo(e){e.target.composing=!0}function po(e){e.target.composing&&(e.target.composing=!1,fo(e.target,"input"))}function fo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ho(e){return!e.componentInstance||e.data&&e.data.transition?e:ho(e.componentInstance._vnode)}var go={bind:function(e,t,n){var r=t.value;n=ho(n);var i=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ja(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=ho(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,r?Ja(n,(function(){e.style.display=e.__vOriginalDisplay})):Qa(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},vo={model:ao,show:go},mo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function yo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?yo(Sn(t.children)):e}function _o(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[S(a)]=i[a];return t}function xo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function bo(e){while(e=e.parent)if(e.data.transition)return!0}function wo(e,t){return t.key===e.key&&t.tag===e.tag}var Ao=function(e){return e.tag||An(e)},So=function(e){return"show"===e.name},ko={name:"transition",props:mo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ao),n.length)){0;var r=this.mode;0;var i=n[0];if(bo(this.$vnode))return i;var a=yo(i);if(!a)return i;if(this._leaving)return xo(e,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:c(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=_o(this),l=this._vnode,u=yo(l);if(a.data.directives&&a.data.directives.some(So)&&(a.data.show=!0),u&&u.data&&!wo(a,u)&&!An(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var p=u.data.transition=D({},s);if("out-in"===r)return this._leaving=!0,bt(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),xo(e,i);if("in-out"===r){if(An(a))return l;var d,f=function(){d()};bt(s,"afterEnter",f),bt(s,"enterCancelled",f),bt(p,"delayLeave",(function(e){d=e}))}}return i}}},Po=D({tag:String,moveClass:String},mo);delete Po.mode;var Oo={props:Po,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Dn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=_o(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))a.push(c),n[c.key]=c,(c.data||(c.data={})).transition=o;else;}if(r){for(var l=[],u=[],p=0;p<r.length;p++){var d=r[p];d.data.transition=o,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):u.push(d)}this.kept=e(t,null,l),this.removed=u}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(To),e.forEach(Co),e.forEach(jo),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Wa(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ra,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ra,e),n._moveCb=null,Ua(n,t))})}})))},methods:{hasMove:function(e,t){if(!La)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){$a(n,e)})),ja(n,t),n.style.display="none",this.$el.appendChild(n);var r=Ga(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function To(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Co(e){e.data.newPos=e.elm.getBoundingClientRect()}function jo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}var $o={Transition:ko,TransitionGroup:Oo};Sr.config.mustUseProp=zr,Sr.config.isReservedTag=oi,Sr.config.isReservedAttr=Nr,Sr.config.getTagNamespace=si,Sr.config.isUnknownElement=li,D(Sr.options.directives,vo),D(Sr.options.components,$o),Sr.prototype.__patch__=Q?io:L,Sr.prototype.__call_hook=function(e,t){var n=this;me();var r,i=n.$options[e],a=e+" hook";if(i)for(var o=0,s=i.length;o<s;o++)r=nt(i[o],n,t?[t]:null,n,a);return n._hasHookEvent&&n.$emit("hook:"+e,t),ye(),r},Sr.prototype.$mount=function(e,t){return e=e&&Q?pi(e):void 0,Mn(this,e,t)},Q&&setTimeout((function(){W.devtools&&ue&&ue.emit("init",Sr)}),0),t["default"]=Sr}.call(this,n("c8ba"),n("543d")["default"])},e829:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={onLoad:function(){console.log("--商品混入--")},computed:{remindParams:function(){return{sell_time:this.sell_time,goods_id:this.goods?this.goods.id:0,template_message_list:this.template_message_list,buy_text:"立即购买"}},rightRemindText:function(){return this.remindParams.sell_time>300?"开售提醒我":this.remindParams.sell_time>0?"即将开售":this.remindParams.buy_text}},methods:{rightTip:function(){this.remindParams.sell_time<300?console.log("小于5分钟不进行开售提醒"):this.$goodsRemind(this.remindParams.template_message_list,this.remindParams.goods_id)}}};t.default=r},f0c5:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s,c,l){var u,p="function"===typeof e?e.options:e;if(c){p.components||(p.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(p.components,f)&&(p.components[f]=c[f])}if(l&&((l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(p.mixins||(p.mixins=[])).push(l)),t&&(p.render=t,p.staticRenderFns=n,p._compiled=!0),r&&(p.functional=!0),a&&(p._scopeId="data-v-"+a),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},p._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(p.functional){p._injectStyles=u;var h=p.render;p.render=function(e,t){return u.call(t),h(e,t)}}else{var g=p.beforeCreate;p.beforeCreate=g?[].concat(g,u):[u]}return{exports:e,options:p}}n.d(t,"a",(function(){return r}))},f932:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n("a34a")),i=s(n("66fd")),a=n("c345"),o=s(n("a2ac"));s(n("2433"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return f(e)||d(e,t)||u(e,t)||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 u(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}}function f(e){if(Array.isArray(e))return e}function h(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){h(a,r,i,o,s,"next",e)}function s(e){h(a,r,i,o,s,"throw",e)}o(void 0)}))}}var v=function(){var t=g(r.default.mark((function t(n){var s,l,u,p,d,f,h,g;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s={"X-App-Platform":n.header&&n.header["X-App-Platform"]?n.header["X-App-Platform"]:i.default.prototype.$platform,"X-Form-Id-List":JSON.stringify((0,a.popAll)()),"X-Requested-With":n.header&&n.header["X-Requested-With"]?n.header["X-Requested-With"]:"XMLHttpRequest","X-App-Version":i.default.prototype.$appVersion,"content-type":n.header&&n.header.contentType?n.header["content-type"]:"application/x-www-form-urlencoded"},t.next=3,i.default.prototype.$store.dispatch("user/loadAccessTokenFormCache");case 3:return i.default.prototype.$store.state.user&&i.default.prototype.$store.state.user.accessToken&&(s["X-Access-Token"]=i.default.prototype.$store.state.user.accessToken),i.default.prototype.$store.state.user&&0!==i.default.prototype.$store.state.user.tempParentId&&(s["X-User-Id"]=i.default.prototype.$store.state.user.tempParentId+""),l={},n.url.replace(/([^=&]+)=([^&]*)/g,(function(e,t,n){l[decodeURIComponent(t)]=decodeURIComponent(n)})),-1!==i.default.prototype.$utils.objectValues(o.default.mch).indexOf(l.r)&&(u=i.default.prototype.$storage.getStorageSync("MCH2019"),s["Mch-Access-Token"]=u.token),t.next=10,e.request({url:n.url,method:n.method||"get",data:n.data,header:s});case 10:if(p=t.sent,d=c(p,2),f=d[0],h=d[1],!f){t.next=20;break}return g={code:400,msg:f.errMsg,data:f},y(g),t.abrupt("return",Promise.reject(g));case 20:return t.abrupt("return",x(h));case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),m=function(){var t=getCurrentPages(),n=t[t.length-1],r=n.options||{},i=n.route||"";0!==i.indexOf("/")&&(i="/"+i);var a="";for(var o in r)a+="".concat(o,"=").concat(r[o],"&");e.redirectTo({url:i+(a?"?".concat(a):"")})},y=function(t){var n="刷新页面";e.showModal({title:"网络错误",content:"网络开了小差,请刷新重试下哦~",cancelText:"复制错误",confirmText:n,success:function(e){if(e.cancel){var n="code: ".concat(t.code,", \r\nmsg: ").concat(t.msg,", \r\ndetail: ")+(t.data?"string"===typeof t.data?t.data:JSON.stringify(t.data):null);i.default.prototype.$utils.uniCopy({data:n})}e.confirm&&m()}})},_=function(t){if(!t.data)return Promise.reject({code:200,msg:"数据不存在",data:t});var n=t.data,r=n.msg,a=n.code;return a>=400?(y({code:a,msg:r,data:t.data.error||t.data.data||r}),Promise.reject(r)):2===a?Promise.reject(r):-1===a?(i.default.prototype.$store.dispatch("user/logout"),i.default.prototype.$store.dispatch("user/accessToken"),Promise.reject(r)):-2!==a?-3===a?(e.redirectTo({url:"/plugins/mch/mch/login/login"}),Promise.reject(r)):Promise.resolve(t.data):void e.redirectTo({url:"/pages/disabled/disabled?text="+t.data.data.text})},x=function(e){var t={code:500,msg:"服务器内部错误",data:e};switch(e.statusCode){case 200:return _(e);case 404:t={code:404,msg:"资源获取不到",data:e};break;case 500:t={code:500,msg:"服务器内部错误",data:e};break;case 503:t={code:503,msg:"服务不可用",data:e};break;case 504:t={code:504,msg:"网关超时",data:e};break;case 400:t={code:400,msg:"服务器不理解请求的语法",data:e};break;case 403:t={code:403,msg:"服务器拒绝请求",data:e};break;case 405:t={code:405,msg:"方法禁用",data:e};break;case 406:t={code:406,msg:"无法使用请求的内容特性响应请求的网页",data:e};break;case 407:t={code:407,msg:"需要代理授权",data:e};break;case 408:t={code:408,msg:"请求超时",data:e};break;case 409:t={code:409,msg:"冲突",data:e};break;case 410:t={code:410,msg:"已删除",data:e};break;case 411:t={code:411,msg:"需要有效长度",data:e};break;case 412:t={code:412,msg:"服务器未满足请求者在请求中设置的其中一个前提条件",data:e};break;case 413:t={code:413,msg:"请求实体过大",data:e};break;case 414:t={code:414,msg:"求情URI过长",data:e};break;case 415:t={code:415,msg:"不支持的媒体类型",data:e};break;case 416:t={code:416,msg:"请求范围不符合要求",data:e};break;case 417:t={code:417,msg:"未满足期望值",data:e};break;default:break}return y(t),Promise.reject(t)},b=v;t.default=b}).call(this,n("543d")["default"])},f93a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={copyText:function(t){this.$utils.uniCopy({data:t,success:function(){e.hideLoading(),e.showToast({title:"复制成功",icon:"none"})}})}};t.default=n}).call(this,n("543d")["default"])},f9b9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("9c53"));function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var o=function(e){e=e||{title:"这是一个分享页面",query:{}},"undefined"===typeof e.query&&(e.query={});var t=0;return this.$user.isLogin()&&this.$store.state.user.info&&(t=this.$store.state.user.info.options.user_id),e.query.user_id=t,e.query=r.objectToUrlParams(e.query),e},s=o;t.default=s}}]);
|