12345678910111213 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0701":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},"0829":function(e,t){e.exports="4.2.60"},"18a9":function(e,t,n){},"18e2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("ae5f"));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="";if(a="/".concat(e.route.split("?")[0]),e.options){var o={};for(var s in e.options)"user_id"!=s&&"scene"!=s&&"params"!=s&&"first_id"!=s&&"select_cat_id"!=s&&"path"!=s&&"share_openid"!=s&&"custom_params"!=s&&"room_id"!=s&&"openid"!=s&&("page_id"==s?e.options[s]>0&&(o[s]=e.options[s]):o[s]=e.options[s]);o=r.objectToUrlParams(o),o&&(a+="?"+o)}return console.log(a),a}};t.default=o},"2b50":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,radarGridCount:3,radarLabelTextMargin:15,gaugeLabelTextMargin:15},r=Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t,n=Object(e),r=1;r<arguments.length;r++)if(t=arguments[r],null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n},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,l=r.length;s<l;s++)if(s<e[o])i.data.push(null);else{for(var c=0,u=0;u<e[o];u++)c+=r[s-u][1];i.data.push(+(c/e[o]).toFixed(3))}a.push(i)}return a}function l(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 c(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>=Math.max(e[t-1].y,e[t+1].y)||e[t].y<=Math.min(e[t-1].y,e[t+1].y))}var r=.2,i=.2,a=null,o=null,s=null,l=null;if(1>t?(a=e[0].x+(e[1].x-e[0].x)*r,o=e[0].y+(e[1].y-e[0].y)*r):(a=e[t].x+(e[t+1].x-e[t-1].x)*r,o=e[t].y+(e[t+1].y-e[t-1].y)*r),t>e.length-3){var c=e.length-1;s=e[c].x-(e[c].x-e[c-1].x)*i,l=e[c].y-(e[c].y-e[c-1].y)*i}else s=e[t+1].x-(e[t+2].x-e[t].x)*i,l=e[t+1].y-(e[t+2].y-e[t].y)*i;return n(e,t+1)&&(l=e[t+1].y),n(e,t)&&(o=e[t].y),{ctrA:{x:a,y:o},ctrB:{x:s,y:l}}}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 y(e){return e.reduce((function(e,t){return(e.data?e.data:e).concat(t.data)}),[])}function m(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 x(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 _(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 S(e,t,n,r){for(var i,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},o=e.map((function(e){return{text:a.format?a.format(e,r[n]):e.name+": "+e.data,color:e.color}})),s=[],l={x:0,y:0},c=0;c<t.length;c++)i=t[c],"undefined"!=typeof i[n]&&null!==i[n]&&s.push(i[n]);for(var u,p=0;p<s.length;p++)u=s[p],l.x=Math.round(u.x),l.y+=u.y;return l.y/=s.length,{textList:o,offset:l}}function A(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=[],l={x:0,y:0},c=0;c<t.length;c++)o=t[c],"undefined"!=typeof o[n]&&null!==o[n]&&s.push(o[n]);for(var u,p=0;p<s.length;p++)u=s[p],l.x=Math.round(u.x),l.y+=u.y;return l.y/=s.length,{textList:a,offset:l}}function k(e,t,n,r,i,a){var o=a.color.upFill,s=a.color.downFill,l=[o,o,s,o],c=[],u={text:i[r],color:null};c.push(u),t.map((function(t){0==r&&0>t.data[1]-t.data[0]?l[1]=s:(t.data[0]<e[r-1][1]&&(l[0]=s),t.data[1]<t.data[0]&&(l[1]=s),t.data[2]>e[r-1][1]&&(l[2]=o),t.data[3]<e[r-1][1]&&(l[3]=s));var n={text:"开盘:"+t.data[0],color:l[0]},i={text:"收盘:"+t.data[1],color:l[1]},a={text:"最低:"+t.data[2],color:l[2]},u={text:"最高:"+t.data[3],color:l[3]};c.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:c,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 T(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=-1,o=0;return("line"==n.type||"area"==n.type)&&"justify"==n.xAxis.boundaryGap&&(o=n.chartData.eachSpacing/2),j(e,n,r)&&t.forEach((function(t,n){e.x+i+o>t&&(a=n)})),a}function O(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 l=0;l<r.length;l++){a+=1;var c=r[l].area;if(e.x>c[0]&&e.x<c[2]&&e.y>c[1]&&e.y<c[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(E(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 l=t.angleList.map((function(e){return e=o(-1*e),e}));l.forEach((function(e,t){var n=o(e-i/2),l=o(e+i/2);l<n&&(l+=2*r),(s>=n&&s<=l||s+2*r>=n&&s+2*r<=l)&&(a=t)}))}return a}function L(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 M(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 D(e,t){for(var n,r=-1,i=t.chartData.mapData,a=t.series,o=Ee(e.y,e.x,i.bounds,i.scale,i.xoffset,i.yoffset),s=[o.x,o.y],l=0,c=a.length;l<c;l++)if(n=a[l].geometry.coordinates,Ie(s,n)){r=l;break}return r}function R(e,t){var n=-1;if(E(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],c(r,i._start_,i._start_+2*i._proportion_*Math.PI)){n=a;break}}return n}function E(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 I(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,l=t.legend.margin,c=t.legend.fontSize,u=15*t.pixelRatio,p=5*t.pixelRatio,d=i(t.legend.lineHeight*t.pixelRatio,c);if("top"==t.legend.position||"bottom"==t.legend.position){for(var f=[],h=0,g=[],y=[],m=0;m<e.length;m++){var x=e[m],_=u+p+v(x.name||"undefined",c)+t.legend.itemGap;h+_>t.width-t.padding[1]-t.padding[3]?(f.push(y),g.push(h-t.legend.itemGap),h=_,y=[x]):(h+=_,y.push(x))}if(y.length){f.push(y),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*l,o.points=f}}else{var w=e.length,S=t.height-t.padding[0]-t.padding[2]-2*l-2*s,A=Math.min(a(S/d),w);switch(o.area.height=A*d+2*s,o.area.wholeHeight=A*d+2*s,t.legend.float){case"top":o.area.start.y=t.padding[0]+l,o.area.end.y=t.padding[0]+l+o.area.height;break;case"bottom":o.area.start.y=t.height-t.padding[2]-l-o.area.height,o.area.end.y=t.height-t.padding[2]-l;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%A?w/A:a(w/A+1),T=[],O=0;O<P;O++)k=e.slice(O*A,O*A+A),T.push(k);if(o.points=T,T.length){for(var C=0;C<T.length;C++){for(var j,$=T[C],L=0,M=0;M<$.length;M++)j=u+p+v($[M].name||"undefined",c)+t.legend.itemGap,j>L&&(L=j);o.widthArr.push(L),o.heightArr.push($.length*d+2*s)}for(var D=0,R=0;R<o.widthArr.length;R++)D+=o.widthArr[R];o.area.width=D-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]+l,o.area.end.y=t.padding[0]+l+o.area.height;break;case"bottom":o.area.start.y=t.height-t.padding[2]-o.area.height-l,o.area.end.y=t.height-t.padding[2]-l;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 z(e,t,n,r){var i={angle:0,xAxisHeight:n.xAxisHeight},a=e.map((function(e){return v(e)})),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 N(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 l=a(s.max,a.apply(null,y(r))),c=[],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/l,a.position=d(n*a.proportion*o*Math.cos(a.angle),n*a.proportion*o*Math.sin(a.angle),t),s.data.push(a)})),c.push(s)},p=0;p<r.length;p++)u(p);return c}function B(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,l=0;l<e.length;l++)s=e[l],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 c,u=0;u<e.length;u++)c=e[u],c._start_=a,a+=2*c._proportion_*Math.PI;return e}function W(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 H(e,t,n,r){for(var i,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=0,s=0,l=[],c=0;c<e.length;c++)i=e[c],i.data=null===i.data?0:i.data,o+=i.data,l.push(i.data);for(var u,p=Math.min.apply(null,l),d=Math.max.apply(null,l),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 U(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 V(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 G(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 q(e){e=B(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 X(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 J(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 Q(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 K(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 Y(e,t,n,r,i,a){var o=Math.round,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:1,l=[],c=a.height-a.area[0]-a.area[2];return e.forEach((function(e,u){if(null===e)l.push(null);else{var p=[];e.forEach((function(e){var l={x:r[u]+o(i/2)},d=e.value||e,f=c*(d-t)/(n-t);f*=s,l.y=a.height-o(f)-a.area[2],p.push(l)})),l.push(p)}})),l}function Z(e,t,n,r,i,a){var o=Math.round,s=7<arguments.length&&void 0!==arguments[7]?arguments[7]:1,l="center";("line"==a.type||"area"==a.type)&&(l=a.xAxis.boundaryGap);var c=[],u=a.height-a.area[0]-a.area[2];return e.forEach((function(e,p){if(null===e)c.push(null);else{var d={};d.color=e.color,d.x=r[p],"center"==l&&(d.x+=o(i/2));var f=e;"object"==typeof e&&null!=e&&(f=e.value);var h=u*(f-t)/(n-t);h*=s,d.y=a.height-o(h)-a.area[2],c.push(d)}})),c}function ee(e,t,n,r,i,a,o,s,l){var c=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]+c(i/2)};if(0<s){for(var h=0,g=0;g<=s;g++)h+=l[g].data[o];var v=h-e,y=d*(h-t)/(n-t),m=d*(v-t)/(n-t)}else h=e,y=d*(h-t)/(n-t),m=0;var x=m;y*=u,x*=u,f.y=a.height-c(y)-a.area[2],f.y0=a.height-c(x)-a.area[2],p.push(f)}})),p}function te(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?m(e,t.categories.length):y(e);var l=[];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?e.map((function(e){l.push(e)})):l.push(e.value):l.push(e)}));var c=0,u=0;if(0<l.length&&(c=a.apply(this,l),u=o.apply(this,l)),-1<s?("number"==typeof t.yAxis.data[s].min&&(c=a(t.yAxis.data[s].min,c)),"number"==typeof t.yAxis.data[s].max&&(u=o(t.yAxis.data[s].max,u))):("number"==typeof t.yAxis.min&&(c=a(t.yAxis.min,c)),"number"==typeof t.yAxis.max&&(u=o(t.yAxis.max,u))),c===u){var p=u||10;u+=p}for(var d=g(c,u),f=d.minRange,h=d.maxRange,v=[],x=(h-f)/n.yAxisSplit,_=0;_<=n.yAxisSplit;_++)v.push(f+x*_);return v.reverse()}function ne(e,t,n){var a=Math.max,o=r({},{type:""},t.extra.column),s=t.yAxis.data.length,l=Array(s);if(0<s){for(var c=0;c<s;c++){l[c]=[];for(var u=0;u<e.length;u++)e[u].index==c&&l[c].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]=te(l[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 c=r.calibration?4*t.pixelRatio:0;h[e].width+=c+3*t.pixelRatio,!0===r.disabled&&(h[e].width=0),p=r},y=0;y<s;y++)g(y,p)}else{d=[,],f=[,],h=[,];d[0]=te(e,t,n,o.type),h[0]={position:"left",width:0};var m=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,m)+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 re(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 l=r[s].shift(),c=r[s].pop(),u=l-(l-c)*(e-a)/i;u=n.yAxis.data[s].format?n.yAxis.data[s].format(+u):u.toFixed(0),o.push(u+"")}return o}function ie(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 ae(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 oe(e,t,n,r,i){r.beginPath(),r.setStrokeStyle("#ffffff"),r.setLineWidth(1*i.pixelRatio),r.setFillStyle(t),"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+3.5*i.pixelRatio,e.y),r.arc(e.x,e.y,4*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 se(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||"",l=e.title.color||t.titleColor,c=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(c),n.fillText(s,h,g),n.closePath(),n.stroke()}if(o){var y=v(o,i),m=r.x-y/2+(e.title.offsetX||0),x=r.y+i/2+(e.title.offsetY||0);s&&(x-=(p+d)/2),n.beginPath(),n.setFontSize(i),n.setFillStyle(l),n.fillText(o,m,x),n.closePath(),n.stroke()}}function le(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].value);var s=t.format?t.format(o):o;r.fillText(s+"",e.x-v(s,t.textSize||n.fontSize)/2,e.y-2),r.closePath(),r.stroke()}}))}function ce(e,t,n,r,i,a){var o=Math.PI;t-=e.width/2+i.gaugeLabelTextMargin;for(var s=e.startAngle-e.endAngle+1,l=s/e.splitLine.splitNumber,c=e.endNumber-e.startNumber,u=c/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 y=h.x,m=h.y;a.beginPath(),a.setFontSize(i.fontSize),a.setFillStyle(e.labelColor||"#666666"),a.fillText(g,y,m+i.fontSize/2),a.closePath(),a.stroke(),p+=l,2<=p&&(p%=2),d+=u}}function ue(e,t,n,r,a,o){var s=r.extra.radar||{};t+=a.radarLabelTextMargin,e.forEach((function(e,l){var c={x:t*Math.cos(e),y:t*Math.sin(e)},u=d(c.x,c.y,n),p=u.x,f=u.y;i.approximatelyEqual(c.x,0)?p-=v(r.categories[l]||"")/2:0>c.x&&(p-=v(r.categories[l]||"")),o.beginPath(),o.setFontSize(a.fontSize),o.setFillStyle(s.labelColor||"#666666"),o.fillText(r.categories[l]||"",p,f+a.fontSize/2),o.closePath(),o.stroke()}))}function pe(e,t,n,r,a,o){for(var s=Math.cos,l=Math.sin,c=Math.min,u=Math.max,p=Math.PI,h=n.pieChartLinePadding,g=[],y=null,m=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}})),x=0;x<m.length;x++){var _=m[x],b=s(_.arc)*(_.radius+h),w=l(_.arc)*(_.radius+h),S=s(_.arc)*_.radius,A=l(_.arc)*_.radius,k=0<=b?b+n.pieChartTextPadding:b-n.pieChartTextPadding,P=w,T=v(_.text),O=P;y&&i.isSameXCoordinateArea(y.start,{x:k})&&(O=0<k?c(P,y.start.y):0>b||0<P?u(P,y.start.y):c(P,y.start.y)),0>k&&(k-=T);var C={lineStart:{x:S,y:A},lineEnd:{x:b,y:w},start:{x:k,y:O},width:T,height:n.fontSize,text:_.text,color:_.color,textColor:_.textColor,textSize:_.textSize};y=f(C,y),g.push(y)}for(var j=0;j<g.length;j++){var $=g[j],L=d($.lineStart.x,$.lineStart.y,o),M=d($.lineEnd.x,$.lineEnd.y,o),D=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(L.x,L.y);var R=0>$.start.x?D.x+$.width:D.x,E=0>$.start.x?D.x-5:D.x+5;r.quadraticCurveTo(M.x,M.y,R,D.y),r.moveTo(L.x,L.y),r.stroke(),r.closePath(),r.beginPath(),r.moveTo(D.x+$.width,D.y),r.arc(R,D.y,2,0,2*p),r.closePath(),r.fill(),r.beginPath(),r.setFontSize($.textSize||n.fontSize),r.setFillStyle($.textColor||"#666666"),r.fillText($.text,E,D.y+3),r.closePath(),r.stroke(),r.closePath()}}function de(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 l=t.categories[t.tooltip.index];r.setFontSize(n.fontSize);var c=v(l,n.fontSize),u=e-.5*c,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,c+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(l+"",u,p+n.toolTipPadding+n.fontSize),r.closePath(),r.stroke()}}function fe(e,t,n){for(var i,o=r({},{type:"solid",dashLength:4,data:[]},e.extra.markLine),s=e.area[3],l=e.width-e.area[1],c=ie(o.data,e),u=0;u<c.length;u++)if(i=r({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},c[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(l,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,y=i.y;n.setFillStyle(a(i.labelBgColor,i.labelBgOpacity)),n.setStrokeStyle(i.labelBgColor),n.setLineWidth(1*e.pixelRatio),n.beginPath(),n.rect(f,y-.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,y+.5*t.fontSize),n.stroke()}}function he(e,t,n,i){var o=Math.max,s=r({},{gridType:"solid",dashLength:4},e.extra.tooltip),l=e.area[3],c=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(l,e.tooltip.offset.y),n.lineTo(c,e.tooltip.offset.y),n.stroke(),n.setLineDash([]),s.yAxisLabel)for(var u=re(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,y=void 0,m=void 0,x=v(u[h],t.fontSize);"left"==p[h].position?(g=d-p[h].width,y=o(g,g+x+2*t.toolTipPadding)):(g=f,y=o(g+p[h].width,g+x+2*t.toolTipPadding)),m=y-g;var _=g+(m-x)/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,m,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],_,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 ge(e,t,n,i,o){var s=r({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.tooltip),l=t.area[0],c=t.height-t.area[2];i.beginPath(),i.setFillStyle(a(s.activeBgColor,s.activeBgOpacity)),i.rect(e-o/2,l,o,c-l),i.closePath(),i.fill()}function ve(e,t,n,i,o){var s=Math.round,l=r({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},n.extra.tooltip),c=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)&&de(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=c+u+4*i.toolTipPadding+Math.max.apply(null,f),g=2*i.toolTipPadding+e.length*i.toolTipLineHeight;0==l.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(l.bgColor||i.toolTipBackground,l.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,c,i.fontSize),o.closePath()}})),e.forEach((function(e,n){var r=t.x+p+2*i.toolTipPadding+c+u;d&&(r=t.x-h-p+2*i.toolTipPadding+ +c+u);var a=t.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*n+i.toolTipPadding;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(l.fontColor),o.fillText(e.text,r,a+i.fontSize),o.closePath(),o.stroke()})))}function ye(e,t,n,i){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=t.chartData.xAxisData,s=o.xAxisPoints,l=o.eachSpacing,c=r({},{type:"group",width:l/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_/l)-2,d=p+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===a&&ge(t.tooltip.offset.x,t,n,i,l),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(c.type){case"group":var y=Z(v,h,g,s,l,t,n,a),m=ee(v,h,g,s,l,t,n,o,e,a);u.push(m),y=X(y,l,e.length,o,n,t);for(var x,_=0;_<y.length;_++)if(x=y[_],null!==x&&_>p&&_<d){i.beginPath(),i.setStrokeStyle(x.color||r.color),i.setLineWidth(1),i.setFillStyle(x.color||r.color);var b=x.x-x.width/2,w=t.height-x.y-t.area[2];i.moveTo(b-1,x.y),i.lineTo(b+x.width-2,x.y),i.lineTo(b+x.width-2,t.height-t.area[2]),i.lineTo(b,t.height-t.area[2]),i.lineTo(b,x.y),i.closePath(),i.stroke(),i.fill()}break;case"stack":y=ee(v,h,g,s,l,t,n,o,e,a);u.push(y),y=Q(y,l,e.length,o,n,t,e);for(var S,A=0;A<y.length;A++)if(S=y[A],null!==S&&A>p&&A<d){i.beginPath(),i.setFillStyle(S.color||r.color);b=S.x-S.width/2+1,w=t.height-S.y-t.area[2];var k=t.height-S.y0-t.area[2];0<o&&(w-=k),i.moveTo(b,S.y),i.fillRect(b,S.y,S.width-2,w),i.closePath(),i.fill()}break;case"meter":y=Z(v,h,g,s,l,t,n,a);if(u.push(y),y=J(y,l,e.length,o,n,t,c.meter.border),0==o){for(var P,T=0;T<y.length;T++)if(P=y[T],null!==P&&T>p&&T<d){i.beginPath(),i.setFillStyle(c.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<c.meter.border&&(i.beginPath(),i.setStrokeStyle(r.color),i.setLineWidth(c.meter.border*t.pixelRatio),i.moveTo(b+.5*c.meter.border,P.y+w),i.lineTo(b+.5*c.meter.border,P.y+.5*c.meter.border),i.lineTo(b+P.width-.5*c.meter.border,P.y+.5*c.meter.border),i.lineTo(b+P.width-.5*c.meter.border,P.y+w),i.stroke())}}else for(var O,C=0;C<y.length;C++)if(O=y[C],null!==O&&C>p&&C<d){i.beginPath(),i.setFillStyle(O.color||r.color);b=O.x-O.width/2,w=t.height-O.y-t.area[2];i.moveTo(b,O.y),i.fillRect(b,O.y,O.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(c.type){case"group":var h=Z(f,p,d,s,l,t,n,a);h=X(h,l,e.length,o,n,t),le(h,r,n,i);break;case"stack":h=ee(f,p,d,s,l,t,n,o,e,a);le(h,r,n,i);break;case"meter":h=Z(f,p,d,s,l,t,n,a);le(h,r,n,i)}})),i.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:l}}function me(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 l=n.chartData.xAxisData,c=l.xAxisPoints,u=l.eachSpacing,d=[];a.save();var f=-2,h=c.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 l,d=e.data,f=Z(d,r,s,c,u,n,i,o),h=F(f),y=0;y<h.length;y++){if(l=h[y],a.beginPath(),a.setStrokeStyle(e.color),a.setLineWidth(1),1===l.length)a.moveTo(l[0].x,l[0].y),a.arc(l[0].x,l[0].y,1,0,2*Math.PI);else{a.moveTo(l[0].x,l[0].y);for(var m,x=0,_=0;_<l.length;_++)if(m=l[_],0==x&&m.x>g&&(a.moveTo(m.x,m.y),x=1),0<_&&m.x>g&&m.x<v){var b=p(l,_-1);a.bezierCurveTo(b.ctrA.x,b.ctrA.y,b.ctrB.x,b.ctrB.y,m.x,m.y)}a.moveTo(l[0].x,l[0].y)}a.closePath(),a.stroke()}})),e.forEach((function(e){var t,r,l;t=[].concat(n.chartData.yAxisData.ranges[e.index]),r=t.pop(),l=t.shift();var p=e.data,g=Y(p,r,l,c,u,n,i,o);d.push(g);for(var v=F(g),y=0;y<v[0].length;y++)if(y>f&&y<h){var m=v[0][y];a.beginPath(),0<p[y][1]-p[y][0]?(a.setStrokeStyle(s.color.upLine),a.setFillStyle(s.color.upFill),a.setLineWidth(1*n.pixelRatio),a.moveTo(m[3].x,m[3].y),a.lineTo(m[1].x,m[1].y),a.lineTo(m[1].x-u/4,m[1].y),a.lineTo(m[0].x-u/4,m[0].y),a.lineTo(m[0].x,m[0].y),a.lineTo(m[2].x,m[2].y),a.lineTo(m[0].x,m[0].y),a.lineTo(m[0].x+u/4,m[0].y),a.lineTo(m[1].x+u/4,m[1].y),a.lineTo(m[1].x,m[1].y),a.moveTo(m[3].x,m[3].y)):(a.setStrokeStyle(s.color.downLine),a.setFillStyle(s.color.downFill),a.setLineWidth(1*n.pixelRatio),a.moveTo(m[3].x,m[3].y),a.lineTo(m[0].x,m[0].y),a.lineTo(m[0].x-u/4,m[0].y),a.lineTo(m[1].x-u/4,m[1].y),a.lineTo(m[1].x,m[1].y),a.lineTo(m[2].x,m[2].y),a.lineTo(m[1].x,m[1].y),a.lineTo(m[1].x+u/4,m[1].y),a.lineTo(m[0].x+u/4,m[0].y),a.lineTo(m[0].x,m[0].y),a.moveTo(m[3].x,m[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}function xe(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},t.extra.area),l=t.chartData.xAxisData,c=l.xAxisPoints,u=l.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,l,v;r=[].concat(t.chartData.yAxisData.ranges[e.index]),l=r.pop(),v=r.shift();var y=e.data,m=Z(y,l,v,c,u,t,n,o);f.push(m);for(var x,_=F(m),b=0;b<_.length;b++){if(x=_[b],i.beginPath(),i.setStrokeStyle(a(e.color,s.opacity)),i.setFillStyle(a(e.color,s.opacity)),i.setLineWidth(s.width*t.pixelRatio),1<x.length){var w=x[0],S=x[x.length-1];i.moveTo(w.x,w.y);var A=0;if("curve"===s.type){for(var k,P=0;P<x.length;P++)if(k=x[P],0==A&&k.x>h&&(i.moveTo(k.x,k.y),A=1),0<P&&k.x>h&&k.x<g){var T=p(x,P-1);i.bezierCurveTo(T.ctrA.x,T.ctrA.y,T.ctrB.x,T.ctrB.y,k.x,k.y)}}else for(var O,C=0;C<x.length;C++)O=x[C],0==A&&O.x>h&&(i.moveTo(O.x,O.y),A=1),0<C&&O.x>h&&O.x<g&&i.lineTo(O.x,O.y);i.lineTo(S.x,d),i.lineTo(w.x,d),i.lineTo(w.x,w.y)}else{var j=x[0];i.moveTo(j.x-u/2,j.y),i.lineTo(j.x+u/2,j.y),i.lineTo(j.x+u/2,d),i.lineTo(j.x-u/2,d),i.moveTo(j.x-u/2,j.y)}if(i.closePath(),i.fill(),s.addLine){if("dash"==e.lineType){var $=e.dashLength?e.dashLength:8;$*=t.pixelRatio,i.setLineDash([$,$])}if(i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(s.width*t.pixelRatio),1===x.length)i.moveTo(x[0].x,x[0].y),i.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{i.moveTo(x[0].x,x[0].y);var L=0;if("curve"===s.type){for(var M,D=0;D<x.length;D++)if(M=x[D],0==L&&M.x>h&&(i.moveTo(M.x,M.y),L=1),0<D&&M.x>h&&M.x<g){var R=p(x,D-1);i.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,M.x,M.y)}}else for(var E,I=0;I<x.length;I++)E=x[I],0==L&&E.x>h&&(i.moveTo(E.x,E.y),L=1),0<I&&E.x>h&&E.x<g&&i.lineTo(E.x,E.y);i.moveTo(x[0].x,x[0].y)}i.stroke(),i.setLineDash([])}}!1!==t.dataPointShape&&oe(m,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 l=e.data,p=Z(l,a,s,c,u,t,n,o);le(p,e,n,i)})),i.restore(),{xAxisPoints:c,calPoints:f,eachSpacing:u}}function _e(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,l=s.xAxisPoints,c=s.eachSpacing,u=[];i.save();var d=0,f=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(i.translate(t._scrollDistance_,0),d=-t._scrollDistance_-c+t.area[3],f=d+(t.xAxis.itemCount+4)*c),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=Z(g,s,h,l,c,t,n,a);u.push(v);var y=F(v);if("dash"==e.lineType){var m=e.dashLength?e.dashLength:8;m*=t.pixelRatio,i.setLineDash([m,m])}i.beginPath(),i.setStrokeStyle(e.color),i.setLineWidth(o.width),y.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,l=0;l<e.length;l++)s=e[l],0==t&&s.x>d&&(i.moveTo(s.x,s.y),t=1),0<l&&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&&oe(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=Z(u,o,s,l,c,t,n,a);le(p,e,n,i)})),i.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:c}}function be(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,o=t.chartData.xAxisData,s=o.xAxisPoints,l=o.eachSpacing,c=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,y=t.width+l;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=Math.floor(-t._scrollDistance_/l)-2,g=h+t.xAxis.itemCount+4,v=-t._scrollDistance_-l+t.area[3],y=v+(t.xAxis.itemCount+4)*l),e.forEach((function(e){var o,m,x;o=[].concat(t.chartData.yAxisData.ranges[e.index]),m=o.pop(),x=o.shift();var _=e.data,b=Z(_,m,x,s,l,t,n,i);if(u.push(b),"column"==e.type){b=X(b,l,f,d,n,t);for(var w,S=0;S<b.length;S++)if(w=b[S],null!==w&&S>h&&S<g){r.beginPath(),r.setStrokeStyle(w.color||e.color),r.setLineWidth(1),r.setFillStyle(w.color||e.color);var A=w.x-w.width/2;t.height,w.y,t.area[2];r.moveTo(A,w.y),r.moveTo(A-1,w.y),r.lineTo(A+w.width-2,w.y),r.lineTo(A+w.width-2,t.height-t.area[2]),r.lineTo(A,t.height-t.area[2]),r.lineTo(A,w.y),r.closePath(),r.stroke(),r.fill(),r.closePath(),r.fill()}d+=1}if("area"==e.type)for(var k,P=F(b),T=0;T<P.length;T++){if(k=P[T],r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(a(e.color,.2)),r.setLineWidth(2*t.pixelRatio),1<k.length){var O=k[0],C=k[k.length-1];r.moveTo(O.x,O.y);var j=0;if("curve"===e.style){for(var $,L=0;L<k.length;L++)if($=k[L],0==j&&$.x>v&&(r.moveTo($.x,$.y),j=1),0<L&&$.x>v&&$.x<y){var M=p(k,L-1);r.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,$.x,$.y)}}else for(var D,R=0;R<k.length;R++)D=k[R],0==j&&D.x>v&&(r.moveTo(D.x,D.y),j=1),0<R&&D.x>v&&D.x<y&&r.lineTo(D.x,D.y);r.lineTo(C.x,c),r.lineTo(O.x,c),r.lineTo(O.x,O.y)}else{var E=k[0];r.moveTo(E.x-l/2,E.y),r.lineTo(E.x+l/2,E.y),r.lineTo(E.x+l/2,c),r.lineTo(E.x-l/2,c),r.moveTo(E.x-l/2,E.y)}r.closePath(),r.fill()}if("line"==e.type){var I=F(b);I.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<y){var l=p(n,s-1);r.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,o.x,o.y)}}else for(var c,u=0;u<n.length;u++)c=n[u],0==a&&c.x>v&&(r.moveTo(c.x,c.y),a=1),0<u&&c.x>v&&c.x<y&&r.lineTo(c.x,c.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&&oe(b,e.color,e.pointShape,r,t)})),!1!==t.dataLabel&&1===i){d=0;e.forEach((function(e){var a,o,c;a=[].concat(t.chartData.yAxisData.ranges[e.index]),o=a.pop(),c=a.shift();var u=e.data,p=Z(u,o,c,s,l,t,n,i);"column"===e.type?(p=X(p,l,f,d,n,t),le(p,e,n,r),d+=1):le(p,e,n,r)}))}return r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:l}}function we(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)&&he(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&&ve(e.tooltip.textList,e.tooltip.offset,e,t,n,i,a),n.restore()}function Se(e,t,n,r){var i=Math.ceil,a=t.chartData.xAxisData,o=a.xAxisPoints,s=a.startX,l=a.endX,c=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=l-s,y=c*(o.length-1),m=0;t._scrollDistance_&&(m=-t._scrollDistance_*g/y),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pixelRatio),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(s,h),r.lineTo(l,h),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pixelRatio),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(s+m,h),r.lineTo(s+m+g*g/y,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-c/2,d),r.lineTo(e-c/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 x=e.length;t.xAxis.labelCount&&(x=t.xAxis.itemCount?i(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,x-=1);for(var _=i(e.length/x),b=[],w=e.length,S=0;S<w;S++)0==S%_?b.push(e[S]):b.push("");b[w-1]=e[w-1];var A=t.xAxis.fontSize||n.fontSize;0===n._xAxisTextAngle_?b.forEach((function(e,i){var a=-v(e,A)/2;"center"==p&&(a+=c/2);var s=0;t.xAxis.scrollShow&&(s=6*t.pixelRatio),r.beginPath(),r.setFontSize(A),r.setFillStyle(t.xAxis.fontColor||"#666666"),r.fillText(e,o[i]+a,d+A+(n.xAxisHeight-s-A)/2),r.closePath(),r.stroke()})):b.forEach((function(e,i){r.save(),r.beginPath(),r.setFontSize(A),r.setFillStyle(t.xAxis.fontColor||"#666666");var a=v(e),s=-a;"center"==p&&(s+=c/2);var l=u(o[i]+c/2,d+A/2+5,t.height),f=l.transX+15,h=l.transY;r.rotate(-1*n._xAxisTextAngle_),r.translate(f,h),r.fillText(e,o[i]+s,d+A+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(l,t.height-t.area[2]),r.stroke())}function Ae(e,t,n,r){if(!0!==t.yAxis.disableGrid){for(var i=t.height-t.area[0]-t.area[2],a=i/n.yAxisSplit,o=t.area[3],s=t.chartData.xAxisData.xAxisPoints,l=t.chartData.xAxisData.eachSpacing,c=l*(s.length-1),u=[],p=0;p<n.yAxisSplit+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+c,e),r.stroke()})),r.setLineDash([]),r.restore()}}function ke(e,t,n,r){if(!0!==t.yAxis.disabled){var i=t.height-t.area[0]-t.area[2],a=i/n.yAxisSplit,o=t.area[3],s=t.width-t.area[1],l=t.height-t.area[2],c=l+n.xAxisHeight;t.xAxis.scrollShow&&(c-=3*t.pixelRatio),t.xAxis.rotateLabel&&(c=t.height-t.area[2]+3),r.beginPath(),r.setFillStyle(t.background||"#ffffff"),0>t._scrollDistance_&&r.fillRect(0,0,o,c),1==t.enableScroll&&r.fillRect(s,0,t.width,c),r.closePath(),r.stroke();for(var u=[],p=0;p<=n.yAxisSplit;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]:l;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 c=e.titleFontSize||n.fontSize,p=e.title;r.beginPath(),r.setFontSize(c),r.setFillStyle(e.titleFontColor||"#666666"),"left"==s.position?r.fillText(p,f-v(p,c)/2,t.area[0]-10*t.pixelRatio):r.fillText(p,h-v(p,c)/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},y=0;y<t.yAxis.data.length;y++)g(d,y)}}function Pe(e,t,n,r,i){if(!1!==t.legend.show){var a=i.legendData,o=a.points,s=a.area,l=t.legend.padding,c=t.legend.fontSize,u=15*t.pixelRatio,p=5*t.pixelRatio,d=t.legend.itemGap,f=Math.max(t.legend.lineHeight*t.pixelRatio,c);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,y=0;"top"==t.legend.position||"bottom"==t.legend.position?(g=s.start.x+(s.width-o)/2,y=s.start.y+l+i*f):(o=0==i?0:a.widthArr[i-1],g=s.start.x+l+o,y=s.start.y+l+(s.height-h)/2),r.setFontSize(n.fontSize);for(var m,x=0;x<e.length;x++){switch(m=e[x],m.area=[0,0,0,0],m.area[0]=g,m.area[1]=y,m.area[3]=y+f,r.beginPath(),r.setLineWidth(1*t.pixelRatio),r.setStrokeStyle(m.show?m.color:t.legend.hiddenColor),r.setFillStyle(m.show?m.color:t.legend.hiddenColor),m.legendShape){case"line":r.moveTo(g,y+.5*f-2*t.pixelRatio),r.fillRect(g,y+.5*f-2*t.pixelRatio,15*t.pixelRatio,4*t.pixelRatio);break;case"triangle":r.moveTo(g+7.5*t.pixelRatio,y+.5*f-5*t.pixelRatio),r.lineTo(g+2.5*t.pixelRatio,y+.5*f+5*t.pixelRatio),r.lineTo(g+12.5*t.pixelRatio,y+.5*f+5*t.pixelRatio),r.lineTo(g+7.5*t.pixelRatio,y+.5*f-5*t.pixelRatio);break;case"diamond":r.moveTo(g+7.5*t.pixelRatio,y+.5*f-5*t.pixelRatio),r.lineTo(g+2.5*t.pixelRatio,y+.5*f),r.lineTo(g+7.5*t.pixelRatio,y+.5*f+5*t.pixelRatio),r.lineTo(g+12.5*t.pixelRatio,y+.5*f),r.lineTo(g+7.5*t.pixelRatio,y+.5*f-5*t.pixelRatio);break;case"circle":r.moveTo(g+7.5*t.pixelRatio,y+.5*f),r.arc(g+7.5*t.pixelRatio,y+.5*f,5*t.pixelRatio,0,2*Math.PI);break;case"rect":r.moveTo(g,y+.5*f-5*t.pixelRatio),r.fillRect(g,y+.5*f-5*t.pixelRatio,15*t.pixelRatio,10*t.pixelRatio);break;default:r.moveTo(g,y+.5*f-5*t.pixelRatio),r.fillRect(g,y+.5*f-5*t.pixelRatio,15*t.pixelRatio,10*t.pixelRatio)}r.closePath(),r.fill(),r.stroke(),g+=u+p,r.beginPath(),r.setFontSize(c),r.setFillStyle(m.show?t.legend.fontColor:t.legend.hiddenColor),r.fillText(m.name,g,y+(.5*f+.5*c-2)),r.closePath(),r.stroke(),"top"==t.legend.position||"bottom"==t.legend.position?(g+=v(m.name,c)+d,m.area[2]=g):(m.area[2]=g+v(m.name,c)+d,g-=u+p,y+=f)}}))}}function Te(e,t,n,i){var o=Math.PI,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,l=r({},{activeOpacity:.5,activeRadius:10*t.pixelRatio,offsetAngle:0,labelWidth:15*t.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},t.extra.pie),c={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=l.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=B(e,u,s);var p=l.activeRadius;if(e=e.map((function(e){return e._start_+=l.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(c.x,c.y),i.arc(c.x,c.y,e._radius_+p,e._start_,e._start_+2*e._proportion_*o),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(l.borderWidth*t.pixelRatio),i.lineJoin="round",i.setStrokeStyle(l.borderColor),i.setFillStyle(e.color),i.moveTo(c.x,c.y),i.arc(c.x,c.y,e._radius_,e._start_,e._start_+2*e._proportion_*o),i.closePath(),i.fill(),1==l.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(c.x,c.y),i.arc(c.x,c.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&&pe(e,t,n,i,u,c)}return 1===s&&"ring"===t.type&&se(t,n,i,c),{center:c,radius:u,series:e}}function Oe(e,t,n,i){var o=Math.PI,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,l=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=l.activeRadius);var c={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=l.minRadius||.5*u;e=H(e,l.type,p,u,s);var d=l.activeRadius;if(e=e.map((function(e){return e._start_+=(l.offsetAngle||0)*o/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(i.beginPath(),i.setFillStyle(a(e.color,l.activeOpacity||.5)),i.moveTo(c.x,c.y),i.arc(c.x,c.y,d+e._radius_,e._start_,e._start_+2*e._rose_proportion_*o),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(l.borderWidth*t.pixelRatio),i.lineJoin="round",i.setStrokeStyle(l.borderColor),i.setFillStyle(e.color),i.moveTo(c.x,c.y),i.arc(c.x,c.y,e._radius_,e._start_,e._start_+2*e._rose_proportion_*o),i.closePath(),i.fill(),1==l.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&&pe(e,t,n,i,u,c)}return{center:c,radius:u,series:e}}function Ce(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:"price-sort-default.png",width:12*t.pixelRatio},t.extra.arcbar);e=U(e,s,o);var l={x:t.width/2,y:t.height/2},c=Math.min(l.x,l.y);c-=5*t.pixelRatio,c-=s.width/2,i.setLineWidth(s.width),i.setStrokeStyle(s.backgroundColor||"#E9E9E9"),i.setLineCap("round"),i.beginPath(),"price-sort-default.png"==s.type?i.arc(l.x,l.y,c,s.startAngle*a,s.endAngle*a,!1):i.arc(l.x,l.y,c,0,2*a,!1),i.stroke();for(var u,p=0;p<e.length;p++)u=e[p],i.setLineWidth(s.width),i.setStrokeStyle(u.color),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,c,s.startAngle*a,u._proportion_*a,!1),i.stroke();return se(t,n,i,l),{center:l,radius:c,series:e}}function je(e,t,n,i,o){var s=Math.PI,l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:1,c=r({},{type:"price-sort-default.png",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==c.oldAngle&&(c.oldAngle=c.startAngle),null==c.oldData&&(c.oldData=0),e=V(e,c.startAngle,c.endAngle);var u={x:n.width/2,y:n.height/2},p=Math.min(u.x,u.y);p-=5*n.pixelRatio,p-=c.width/2;var d=p-c.width,f=0;if("progress"==c.type){var h=p-3*c.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(c.width),o.setStrokeStyle(a(t[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(u.x,u.y,d,c.startAngle*s,c.endAngle*s,!1),o.stroke(),f=c.startAngle-c.endAngle+1;c.splitLine.splitNumber;var v=f/c.splitLine.splitNumber/c.splitLine.childNumber,y=-p-.5*c.width-c.splitLine.fixRadius,m=-p-c.width-c.splitLine.fixRadius+c.splitLine.width;o.save(),o.translate(u.x,u.y),o.rotate((c.startAngle-1)*s);for(var x=c.splitLine.splitNumber*c.splitLine.childNumber+1,_=t[0].data*l,b=0;b<x;b++)o.beginPath(),_>b/x?o.setStrokeStyle(a(t[0].color,1)):o.setStrokeStyle(a(t[0].color,.3)),o.setLineWidth(3*n.pixelRatio),o.moveTo(y,0),o.lineTo(m,0),o.stroke(),o.rotate(v*s);o.restore(),t=U(t,c,l),o.setLineWidth(c.width);var w=o.createLinearGradient(u.x-d,u.y,u.x+d,u.y);w.addColorStop("0",a(t[0].color,.2)),w.addColorStop("1.0",a(t[0].color,1)),o.setStrokeStyle(w),o.setLineCap("round"),o.beginPath(),o.arc(u.x,u.y,d,c.startAngle*s,t[0]._proportion_*s,!1),o.stroke();var S=p-2.5*c.width;o.save(),o.translate(u.x,u.y),o.rotate((t[0]._proportion_-1)*s),o.beginPath(),o.setLineWidth(c.width/3);var A=o.createLinearGradient(0,.6*-S,0,.6*S);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,S,.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(-S-c.width/3/2,-4),o.lineTo(-S-c.width/3/2-4,0),o.lineTo(-S-c.width/3/2,4),o.lineTo(-S-c.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(c.width),o.setLineCap("butt");for(var k,P=0;P<e.length;P++)k=e[P],o.beginPath(),o.setStrokeStyle(k.color),o.arc(u.x,u.y,p,k._startAngle_*s,k._endAngle_*s,!1),o.stroke();o.save(),f=c.startAngle-c.endAngle+1;var T=f/c.splitLine.splitNumber,O=f/c.splitLine.splitNumber/c.splitLine.childNumber,C=-p-.5*c.width-c.splitLine.fixRadius,j=-p-.5*c.width-c.splitLine.fixRadius+c.splitLine.width,$=-p-.5*c.width-c.splitLine.fixRadius+c.splitLine.childWidth;o.translate(u.x,u.y),o.rotate((c.startAngle-1)*s);for(var L=0;L<c.splitLine.splitNumber+1;L++)o.beginPath(),o.setStrokeStyle(c.splitLine.color),o.setLineWidth(2*n.pixelRatio),o.moveTo(C,0),o.lineTo(j,0),o.stroke(),o.rotate(T*s);o.restore(),o.save(),o.translate(u.x,u.y),o.rotate((c.startAngle-1)*s);for(var M=0;M<c.splitLine.splitNumber*c.splitLine.childNumber+1;M++)o.beginPath(),o.setStrokeStyle(c.splitLine.color),o.setLineWidth(1*n.pixelRatio),o.moveTo(C,0),o.lineTo($,0),o.stroke(),o.rotate(O*s);o.restore(),t=G(t,e,c,l);for(var D,R=0;R<t.length;R++)D=t[R],o.save(),o.translate(u.x,u.y),o.rotate((D._proportion_-1)*s),o.beginPath(),o.setFillStyle(D.color),o.moveTo(c.pointer.width,0),o.lineTo(0,-c.pointer.width/2),o.lineTo(-d,0),o.lineTo(0,c.pointer.width/2),o.lineTo(c.pointer.width,0),o.closePath(),o.fill(),o.beginPath(),o.setFillStyle("#FFFFFF"),o.arc(0,0,c.pointer.width/6,0,2*s,!1),o.fill(),o.restore();!1!==n.dataLabel&&ce(c,p,u,n,i,o)}return se(n,i,o,u),1===l&&"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 $e(e,t,n,i){var o=Math.cos,s=Math.sin,l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1,c=r({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2},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(c.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 r={};i.beginPath(),i.setLineWidth(1*t.pixelRatio),i.setStrokeStyle(c.gridColor),u.forEach((function(t,a){var l=d(f/n.radarGridCount*e*o(t),f/n.radarGridCount*e*s(t),p);0===a?(r=l,i.moveTo(l.x,l.y)):i.lineTo(l.x,l.y)})),i.lineTo(r.x,r.y),i.stroke(),i.closePath()},g=1;g<=n.radarGridCount;g++)h(g);var v=N(u,p,f,e,t,l);return v.forEach((function(e){if(i.beginPath(),i.setFillStyle(a(e.color,c.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}));oe(n,e.color,e.pointShape,i,t)}})),ue(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 De(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],l=t[o][1],c={x:s,y:l};r.xMin=r.xMin<c.x?r.xMin:c.x,r.xMax=r.xMax>c.x?r.xMax:c.x,r.yMin=r.yMin<c.y?r.yMin:c.y,r.yMax=r.yMax>c.y?r.yMax:c.y}}}return r}function Re(e,t,n,r,i,a){return{x:(t-n.xMin)*r+i,y:(n.yMax-e)*r+a}}function Ee(e,t,n,r,i,a){return{x:(t-i)/r+n.xMin,y:n.yMax-(e-a)/r}}function Fe(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 Ie(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];Fe(e,o,s)&&(r+=1)}}return!(1!=r%2)}function ze(e,t,n,i){var o,s,l=Math.abs,c=r({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),u=e,p=De(u),d=t.width/l(p.xMax-p.xMin),f=t.height/l(p.yMax-p.yMin),h=d<f?d:f,g=t.width/2-l(p.xMax-p.xMin)/2*h,y=t.height/2-l(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 m=0;m<u.length;m++){i.beginPath(),i.setLineWidth(c.borderWidth*t.pixelRatio),i.setStrokeStyle(c.borderColor),i.setFillStyle(a(e[m].color,c.fillOpacity)),t.tooltip&&t.tooltip.index==m&&(i.setStrokeStyle(c.activeBorderColor),i.setFillStyle(a(c.activeFillColor,c.activeFillOpacity)));for(var x=u[m].geometry.coordinates,_=0;_<x.length;_++){o=x[_],1==o.length&&(o=o[0]);for(var b=0;b<o.length;b++)s=Re(o[b][1],o[b][0],p,h,g,y),0==b?(i.beginPath(),i.moveTo(s.x,s.y)):i.lineTo(s.x,s.y);i.fill(),1==c.border&&i.stroke()}if(1==t.dataLabel){var w=u[m].properties.centroid;if(w){s=Re(w[1],w[0],p,h,g,y);var S=u[m].textSize||n.fontSize,A=u[m].properties.name;i.beginPath(),i.setFontSize(S),i.setFillStyle(u[m].textColor||"#666666"),i.fillText(A,s.x-v(A,S)/2,s.y+S/2),i.closePath(),i.stroke()}}}t.chartData.mapData={bounds:p,scale:h,xoffset:g,yoffset:y},we(t,n,i,1),i.draw()}function Ne(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,l=n[r].textSize,c=v(s,l),u=0;;){u++,i=Le(-e.width/2,e.width/2,5)-c/2,a=Le(-e.height/2,e.height/2,5)+l/2,o=[i-5+e.width/2,a-5-l+e.height/2,i+c+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,y=void 0,m=void 0,x=n[f].name,_=n[f].textSize,b=v(x,_),w=d(),S=0;;){S++;var A=void 0;if(w?(h=Le(-e.width/2,e.width/2,5)-b/2,g=Le(-e.height/2,e.height/2,5)+_/2,y=[g-5-b+e.width/2,-h-5+e.height/2,g+5+e.width/2,-h+_+5+e.height/2],m=[e.width-(e.width/2-e.height/2)-(-h+_+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+_+5+e.height/2)+_,e.height/2-e.width/2+(g-5-b+e.width/2)+b+5],A=Me(m,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)+_/2,y=[h-5+e.width/2,g-5-_+e.height/2,h+b+5+e.width/2,g+5+e.height/2],A=Me(y,n,e.width,e.height)),!A)break;if(1e3==S){y=[-1e3,-1e3,-1e3,-1e3];break}}w?(n[f].area=m,n[f].areav=y):n[f].area=y,n[f].rotate=w}}return n}function Be(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 l=o[s].name,c=o[s].textSize,u=v(l,c);i.beginPath(),i.setStrokeStyle(o[s].color),i.setFillStyle(o[s].color),i.setFontSize(c),o[s].rotate?0<o[s].areav[0]&&(t.tooltip&&t.tooltip.index==s?i.strokeText(l,(o[s].areav[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].areav[1]+5+c-t.height/2)*a):i.fillText(l,(o[s].areav[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].areav[1]+5+c-t.height/2)*a)):0<o[s].area[0]&&(t.tooltip&&t.tooltip.index==s?i.strokeText(l,(o[s].area[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].area[1]+5+c-t.height/2)*a):i.fillText(l,(o[s].area[0]+5-t.width/2)*a-u*(1-a)/2,(o[s].area[1]+5+c-t.height/2)*a)),i.stroke(),i.restore()}i.restore()}function We(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),l=(t.height-t.area[0]-t.area[2])/e.length,c={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=W(e,p,o),i.save(),i.translate(c.x,c.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,-l),i.lineTo(e[d].radius+u,-l),i.lineTo(u,0),i.lineTo(-u,0),i.closePath(),i.fill()),e[d].funnelArea=[c.x-e[d].radius,c.y-l,c.x+e[d].radius,c.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,-l),i.lineTo(e[d].radius,-l),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,-l),i.lineTo(e[d].radius+u,-l),i.lineTo(e[d-1].radius+u,0),i.lineTo(0,0),i.closePath(),i.fill()),e[d].funnelArea=[c.x-e[d].radius,c.y-l*(d+1),c.x+e[d].radius,c.y-l*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,-l),i.lineTo(e[d].radius,-l),i.lineTo(e[d-1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==s.border&&i.stroke()),i.translate(0,-l);return i.restore(),!1!==t.dataLabel&&1===o&&He(e,t,i,l,s.labelAlign,u,c),{center:c,radius:p,series:e}}function He(e,t,n,r,a,o,s){for(var l=Math.PI,c=0;c<e.length;c++){var u=void 0,p=void 0,d=void 0,f=void 0,h=e[c],g=h.format?h.format(+h._proportion_.toFixed(2)):i.toFixed(100*h._proportion_)+"%";"right"==a?(u=0==c?(h.funnelArea[2]+s.x)/2:(h.funnelArea[2]+e[c-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*l),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==c?(h.funnelArea[0]+s.x)/2:(h.funnelArea[0]+e[c-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*l),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 Ue(e,t){t.draw()}var Ve={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 Ge(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=Ve[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 qe(e,t,n,i){var a=this,o=t.series,l=t.categories;o=h(o,t,n);var c=t.animation?t.duration:0;this.animationInstance&&this.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=I(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 y={},m=0;if("line"===t.type||"column"===t.type||"area"===t.type||"mix"===t.type||"candle"===t.type){if(y=ne(o,t,n),m=y.yAxisWidth,t.yAxis.showTitle){for(var x=0,_=0;_<t.yAxis.data.length;_++)x=Math.max(x,t.yAxis.data[_].titleFontSize?t.yAxis.data[_].titleFontSize:n.fontSize);t.area[0]+=(x+6)*t.pixelRatio}for(var b=0,w=0,S=0;S<m.length;S++)"left"==m[S].position?(t.area[3]+=0<w?m[S].width+t.yAxis.padding:m[S].width,w+=1):(t.area[1]+=0<b?m[S].width+t.yAxis.padding:m[S].width,b+=1)}else n.yAxisWidth=m;if(t.chartData.yAxisData=y,t.categories&&t.categories.length){t.chartData.xAxisData=K(t.categories,t,n);var A=z(t.categories,t,n,t.chartData.xAxisData.eachSpacing),k=A.xAxisHeight,T=A.angle;n.xAxisHeight=k,n._xAxisTextAngle_=T,t.area[2]+=k,t.chartData.categoriesData=A}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var O=0,C=t.chartData.xAxisData.xAxisPoints,j=t.chartData.xAxisData.startX,$=t.chartData.xAxisData.endX,L=t.chartData.xAxisData.eachSpacing,M=L*(C.length-1);O=$-j-M,a.scrollOption={currentOffset:O,startTouchX:O,distance:0,lastMoveTime:0},t._scrollDistance_=O}switch(("pie"===e||"ring"===e||"rose"===e)&&(n._pieTextMaxLength_=!1===t.dataLabel?0:q(u)),e){case"word":var D=r({},{type:"normal",autoColors:!0},t.extra.word);(1==t.updateData||null==t.updateData)&&(t.chartData.wordCloudData=Ne(t,D.type)),this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Be(o,t,n,i,e),Ue(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 Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.funnelData=We(o,t,n,i,e),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new Ge({timing:"easeIn",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Ae(l,t,n,i),Se(l,t,n,i);var r=_e(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,c=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=c,ke(o,t,n,i),!1!==t.enableMarkLine&&1===e&&fe(t,n,i),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e,c,a),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Ge({timing:"easeIn",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Ae(l,t,n,i),Se(l,t,n,i);var r=be(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,c=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=c,ke(o,t,n,i),!1!==t.enableMarkLine&&1===e&&fe(t,n,i),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e,c,a),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new Ge({timing:"easeIn",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Ae(l,t,n,i),Se(l,t,n,i);var r=ye(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,c=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=c,ke(o,t,n,i),!1!==t.enableMarkLine&&1===e&&fe(t,n,i),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e,c,a),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new Ge({timing:"easeIn",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Ae(l,t,n,i),Se(l,t,n,i);var r=xe(o,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,c=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=c,ke(o,t,n,i),!1!==t.enableMarkLine&&1===e&&fe(t,n,i),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e,c,a),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.pieData=Te(o,t,n,i,e),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.pieData=Oe(o,t,n,i,e),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.radarData=$e(o,t,n,i,e),Pe(t.series,t,n,i,t.chartData),we(t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.arcbarData=Ce(o,t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Ge({timing:"easeInOut",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),t.chartData.gaugeData=je(l,o,t,n,i,e),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Ge({timing:"easeIn",duration:c,onProcess:function(e){i.clearRect(0,0,t.width,t.height),t.rotate&&ae(i,t),Ae(l,t,n,i),Se(l,t,n,i);var r=me(o,u,t,n,i,e),a=r.xAxisPoints,s=r.calPoints,c=r.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=c,ke(o,t,n,i),!1!==t.enableMarkLine&&1===e&&fe(t,n,i),Pe(u||t.series,t,n,i,t.chartData),we(t,n,i,e,c,a),Ue(t,i)},onAnimationFinish:function(){a.event.trigger("renderComplete")}})}}function Xe(){this.events={}}Ge.prototype.stop=function(){this.isStop=!0},Xe.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Xe.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 Je=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;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 Xe,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=i,qe.call(this,e.type,e,i,this.context)};Je.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=ne(this.opts.series,this.opts,this.config),i=n.yAxisWidth;this.config.yAxisWidth=i;var a=0,o=K(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,u=o.eachSpacing,p=u*(s.length-1);a=c-l-p,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a}qe.call(this,this.opts.type,this.opts,this.config,this.context)},Je.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=ne(this.opts.series,this.opts,this.config),i=r.yAxisWidth;this.config.yAxisWidth=i;var a=0,o=K(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,u=o.eachSpacing,p=c-l,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,qe.call(this,this.opts.type,this.opts,this.config,this.context)}else console.log("请启用滚动条后使用!")},Je.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Je.prototype.addEventListener=function(e,t){this.event.addEventListener(e,t)},Je.prototype.getCurrentDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=x(t,this.opts,e);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?R({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?L({x:n.x,y:n.y},this.opts.chartData.funnelData):"map"===this.opts.type?D({x:n.x,y:n.y},this.opts):"word"===this.opts.type?M({x:n.x,y:n.y},this.opts.chartData.wordCloudData):T({x:n.x,y:n.y},this.opts.chartData.xAxisPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Je.prototype.getLegendDataIndex=function(e){var t=null;if(t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],t){var n=x(t,this.opts,e);return O({x:n.x,y:n.y},this.opts.chartData.legendData)}return-1},Je.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){x(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,qe.call(this,this.opts.type,this.opts,this.config,this.context))}},Je.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=x(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 l=_(this.opts.series,s);if(0!==l.length){var c=S(l,this.opts.chartData.calPoints,s,this.opts.categories,t),u=c.textList,p=c.offset;p.y=i.y,o.tooltip={textList:u,offset:p,option:t,index:s}}}qe.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}),l=_(this.opts.series,s);if(0!==l.length){var d=A(l,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}}}qe.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}),l=_(this.opts.series,s);if(0!==l.length){c=k(this.opts.series[0].data,l,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,t),u=c.textList,p=c.offset;p.y=i.y,o.tooltip={textList:u,offset:p,option:t,index:s}}}qe.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}),l=this.opts._series_[s],u=[{text:t.format?t.format(l):l.name+": "+l.data,color:l.color}],p={x:i.x,y:i.y};o.tooltip={textList:u,offset:p,option:t,index:s}}qe.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}),l=this.opts._series_[s],u=[{text:t.format?t.format(l):l.properties.name,color:l.color}],p={x:i.x,y:i.y};o.tooltip={textList:u,offset:p,option:t,index:s}}o.updateData=!1,qe.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}),l=_(this.opts.series,s);if(0!==l.length){u=l.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}}}qe.call(this,o.type,o,this.config,this.context)}},Je.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=r({},this.opts,{_scrollDistance_:e,animation:!1});qe.call(this,this.opts.type,t,this.config,this.context)},Je.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var n=x(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},Je.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=x(a,this.opts,e);o=s.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,u=l(this,c+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=u-c;var p=r({},this.opts,{_scrollDistance_:c+o,animation:!1});return qe.call(this,p.type,p,this.config,this.context),c+o}}},Je.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=Je)}).call(this,n("543d")["default"])},"2f35":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.platform=void 0;var r="wxapp";t.platform=r},"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 R})),n.d(t,"install",(function(){return j})),n.d(t,"mapActions",(function(){return D})),n.d(t,"mapGetters",(function(){return M})),n.d(t,"mapMutations",(function(){return L})),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 l(e){return null!==e&&"object"===typeof e}function c(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,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var c=this._modules.root.state;b(this,c,[],this._modules.root),_(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&o(this)},y={state:{configurable:!0}};function m(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 x(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),_(e,n,t)}function _(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&&T(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=O(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,r.state)}))}var c=r.context=w(e,o,n);r.forEachMutation((function(t,n){var r=o+n;A(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:o+n,i=t.handler||t;k(e,r,i,c)})),r.forEachGetter((function(t,n){var r=o+n;P(e,r,t,c)})),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,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:r?e.commit:function(n,r,i){var a=C(n,r,i),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return S(e,t)}},state:{get:function(){return O(e.state,n)}}}),i}function S(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 A(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 c(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 T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function C(e,t,n){return l(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))}y.state.get=function(){return this._vm._data.$$state},y.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}),l=this._mutations[a];l&&(this._withCommit((function(){l.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(c){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(c){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(c){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return m(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return m(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),_(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=O(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),x(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),x(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,y);var $=I((function(e,t){var n={};return E(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=z(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})),L=I((function(e,t){var n={};return E(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=z(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})),M=I((function(e,t){var n={};return E(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||z(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),D=I((function(e,t){var n={};return E(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=z(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})),R=function(e){return{mapState:$.bind(null,e),mapGetters:M.bind(null,e),mapMutations:L.bind(null,e),mapActions:D.bind(null,e)}};function E(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)||l(e)}function I(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function z(e,t,n){var r=e._modulesNamespaceMap[n];return r}var N={Store:v,install:j,version:"3.4.0",mapState:$,mapMutations:L,mapGetters:M,mapActions:D,createNamespacedHelpers:R};t["default"]=N}.call(this,n("c8ba"))},"34b7":function(e,t){e.exports={acid:-1,version:"1.0.0",siteroot:"https://t28.9026.com",apiroot:"https://t28.9026.com/web/index.php?_mall_id=21982"}},3704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("a34a")),i=a(n("5818"));a(n("51f0"));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),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).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,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}var l={type:"global",text:"加载中",color:"#ffffff",backgroundImage:"",isShow:!1},c={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.getConfig().then((function(t){e.backgroundImage=t.__wxapp_img.mall.loading}))}},p={actionGetLoading:function(e,t){e.commit("mutSetLoading",t)}},d={namespaced:!0,state:l,getters:c,mutations:u,actions:p};t.default=d},"3bcf":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n("a34a")),i=u(n("66fd")),a=n("60c4"),o=n("2f35"),s=u(n("f3fa")),l=n("ae5f"),c=u(n("e1a5"));function u(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return v(e)||g(e,t)||f(e,t)||d()}function d(){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 f(e,t){if(e){if("string"===typeof e)return h(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)?h(e,t):void 0}}function h(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 g(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(l){i=!0,a=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}}function v(e){if(Array.isArray(e))return e}function y(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){y(a,r,i,o,s,"next",e)}function s(e){y(a,r,i,o,s,"throw",e)}o(void 0)}))}}var x=function(){var t=m(r.default.mark((function t(n){var u,d,f,h,g,v,y,m;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return u={"X-App-Platform":n.header&&n.header["X-App-Platform"]?n.header["X-App-Platform"]:o.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":"application/x-www-form-urlencoded"},t.next=3,c.default.dispatch("user/loadAccessTokenFormCache");case 3:return c.default.state.user&&c.default.state.user.accessToken&&(u["X-Access-Token"]=c.default.state.user.accessToken),c.default.state.user&&0!==c.default.state.user.tempParentId&&(u["X-User-Id"]=c.default.state.user.tempParentId+""),d={},n.url.replace(/([^=&]+)=([^&]*)/g,(function(e,t,n){d[decodeURIComponent(t)]=decodeURIComponent(n)})),-1!==(0,l.objectValues)(s.default.mch).indexOf(d.r)&&(f=e.getStorageSync("MCH2019"),u["Mch-Access-Token"]=f.token),t.next=10,e.request({url:n.url,method:n.method||"get",data:n.data,header:u});case 10:if(h=t.sent,g=p(h,2),v=g[0],y=g[1],!v){t.next=20;break}return m={code:400,msg:v.errMsg,data:v},b(m),t.abrupt("return",Promise.reject(m));case 20:return t.abrupt("return",S(y));case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=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):"")})},b=function(t){var n="刷新页面";e.showModal({title:"网络错误",content:"网络开了小差,请刷新重试下哦~",cancelText:"复制错误",confirmText:n,success:function(n){if(n.cancel){var r="code: ".concat(t.code,", \r\nmsg: ").concat(t.msg,", \r\ndetail: ")+(t.data?"string"===typeof t.data?t.data:JSON.stringify(t.data):null);e.setClipboardData({data:r,fail:function(e){console.log("错误复制失败",e)}})}n.confirm&&_()}})},w=function(t){if(!t.data)return Promise.reject({code:200,msg:"数据不存在",data:t});var n=t.data,r=n.msg,i=n.code;return i>=400?(b({code:i,msg:r,data:t.data.error||t.data.data||r}),Promise.reject(r)):-1===i?(c.default.dispatch("user/logout"),c.default.dispatch("user/accessToken"),Promise.reject(r)):-2!==i?-3===i?(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})},S=function(e){var t={code:500,msg:"服务器内部错误",data:e};switch(e.statusCode){case 200:return w(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 b(t),Promise.reject(t)},A=x;t.default=A}).call(this,n("543d")["default"])},"3d21":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),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).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,l,"next",e)}function l(e){a(o,r,i,s,l,"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)})))()}},l=s;t.default=l}).call(this,n("543d")["default"])},"414f":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),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).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,l,"next",e)}function l(e){a(o,r,i,s,l,"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)}}(),l=s;t.default=l},"477c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("5818"));function i(e){return e&&e.__esModule?e:{default:e}}var a={auth_page:{},bar_title:{},cat_style:{},copyright:{},mall:{setting:{}},navbar:{navs:[]},plugin:{},share_setting:[],share_setting_custom:{},user_center:{},__wxapp_img:{},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}},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}},l={actionGetConfig:function(e){r.default.getConfig().then((function(t){e.commit("mutSetConfig",t)})).catch((function(e){console.log(e)}))},actionHeight:function(e,t){e.commit("mutSetHeight",t)},actionResetConfig:function(e){r.default.resetConfig(),r.default.getConfig().then((function(t){e.commit("mutSetConfig",t)})).catch((function(e){console.log(e)}))}},c={namespaced:!0,state:a,getters:o,mutations:s,actions:l};t.default=c},"51f0":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n("3bcf")),i=c(n("c04f")),a=n("5a62"),o=c(n("546b")),s=c(n("528d")),l=c(n("e1a5"));function c(e){return e&&e.__esModule?e:{default:e}}var u="_USER_ACCESS_TOKEN",p=null,d={getUserInfoResolve:null,getUserInfoReject:null,getAccessToken:function(t){var n=this;return t=t||{},"undefined"===typeof t.cacheOnly&&(t.cacheOnly=!1),new Promise((function(l,c){var p=(0,a.getStorageSync)(u);if(p)return l(p);if(t.cacheOnly)return l(p);var d=getCurrentPages(),f=d[d.length-1];f.$vm.$store.commit("user/showLoginModal",!0),n.getUserInfoResolve=function(t){console.log("getUserInfoResolve->",t),e.showLoading({mask:!0,title:"正在登录"}),e.login({scopes:"auth_base",success:function(n){var p={encryptedData:t.detail.encryptedData,iv:t.detail.iv,rawData:t.detail.rawData,signature:t.detail.signature,code:n.code};(0,r.default)({url:i.default.passport.login,method:"post",data:p}).then((function(t){return e.hideLoading(),0===t.code?(o.default.trigger(s.default.EVENT_USER_LOGIN),(0,a.setStorageSync)(u,t.data.access_token),l(t.data.access_token)):c(t.msg)})).catch((function(t){e.hideLoading(),c(t)}))}})},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(a,c){if(t.refresh&&(p=null),p)return a(p);n.getAccessToken().then((function(t){e.showNavigationBarLoading(),(0,r.default)({url:i.default.user.user_info}).then((function(t){if(e.hideNavigationBarLoading(),0===t.code){if(p=t.data,o.default.trigger(s.default.EVENT_USER_REGISTER,p),"undefined"!==typeof p.register){var n=p.register;if(n.coupon_list){var r={list:n.coupon_list,type:"register"};l.default.dispatch("page/actionSetCoupon",r)}}return a(p)}return c(t.msg)})).catch((function(t){return e.hideNavigationBarLoading(),c(t)}))})).catch((function(e){return c(e)}))}))},isLogin:function(){return!!(l.default&&l.default.state.user&&l.default.state.user.accessToken)||!!(0,a.getStorageSync)(u)},loginByToken:function(e){(0,a.setStorageSync)(u,e)}};t.default=d}).call(this,n("543d")["default"])},"528d":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},"543d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Mt,t.createComponent=Vt,t.createPage=Ut,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)||c(e,t)||y(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 c(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(l){i=!0,a=l}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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function g(e){return x(e)||m(e)||y(e)||v()}function v(){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 y(e,t){if(e){if("string"===typeof e)return _(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)?_(e,t):void 0}}function m(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function x(e){if(Array.isArray(e))return _(e)}function _(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}var b=Object.prototype.toString,w=Object.prototype.hasOwnProperty;function S(e){return"function"===typeof e}function A(e){return"string"===typeof e}function k(e){return"[object Object]"===b.call(e)}function P(e,t){return w.call(e,t)}function T(){}function O(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var C=/-(\w)/g,j=O((function(e){return e.replace(C,(function(e,t){return t?t.toUpperCase():""}))})),$=["invoke","success","fail","complete","returnValue"],L={},M={};function D(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?R(n):n}function R(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function E(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)&&S(t[n])&&(e[n]=D(e[n],t[n]))}))}function I(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==$.indexOf(n)&&S(t[n])&&E(e[n],t[n])}))}function z(e,t){"string"===typeof e&&k(t)?F(M[e]||(M[e]={}),t):k(e)&&F(L,e)}function N(e,t){"string"===typeof e?k(t)?I(M[e],t):delete M[e]:k(e)&&I(L,e)}function B(e){return function(t){return e(t)||t}}function W(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}function H(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];if(n)n=Promise.resolve(B(i));else{var a=i(t);if(W(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){H(e[n],t).then((function(e){return S(r)&&r(e)||e}))}}})),t}function V(e,t){var n=[];Array.isArray(L.returnValue)&&n.push.apply(n,g(L.returnValue));var r=M[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,g(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function G(e){var t=Object.create(null);Object.keys(L).forEach((function(e){"returnValue"!==e&&(t[e]=L[e].slice())}));var n=M[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function q(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=G(e);if(o&&Object.keys(o).length){if(Array.isArray(o.invoke)){var s=H(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 W(e)?e.then((function(e){return e[1]})).catch((function(e){return e[0]})):e}},J=/^\$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,Q=/^create|Manager$/,K=["createBLEConnection"],Y=["createBLEConnection"],Z=/^on|^off/;function ee(e){return Q.test(e)&&-1===K.indexOf(e)}function te(e){return J.test(e)&&-1===Y.indexOf(e)}function ne(e){return Z.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 S(n.success)||S(n.fail)||S(n.complete)?V(e,q.apply(void 0,[e,t,n].concat(i))):V(e,re(new Promise((function(r,a){q.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,le=!1,ce=0,ue=0;function pe(){var e=wx.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,r=e.windowWidth;ce=r,ue=n,le="ios"===t}function de(e,t){if(0===ce&&pe(),e=Number(e),0===e)return 0;var n=e/se*(t||ce);return n<0&&(n=-n),n=Math.floor(n+oe),0===n&&(n=1!==ue&&le?.5:1),e<0?-n:n}var fe={promiseInterceptor:X},he=Object.freeze({__proto__:null,upx2px:de,addInterceptor:z,removeInterceptor:N,interceptors:fe}),ge=function(){function e(t,n){var r=this;d(this,e),this.id=t,this.listener={},this.emitCache={},n&&Object.keys(n).forEach((function(e){r.on(e,n[e])}))}return h(e,[{key:"emit",value: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];var i=this.listener[e];if(!i)return(this.emitCache[e]||(this.emitCache[e]=[])).push(n);i.forEach((function(e){e.fn.apply(e.fn,n)})),this.listener[e]=i.filter((function(e){return"once"!==e.type}))}},{key:"on",value:function(e,t){this._addListener(e,"on",t),this._clearCache(e)}},{key:"once",value:function(e,t){this._addListener(e,"once",t),this._clearCache(e)}},{key:"off",value:function(e,t){var n=this.listener[e];if(n)if(t)for(var r=0;r<n.length;)n[r].fn===t&&(n.splice(r,1),r--),r++;else delete this.listener[e]}},{key:"_clearCache",value:function(e){var t=this.emitCache[e];if(t)for(;t.length>0;)this.emit.apply(this,[e].concat(t.shift()))}},{key:"_addListener",value:function(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}]),e}(),ve={},ye=[],me=0;function xe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];me++;var n=new ge(me,e);return t&&(ve[me]=n,ye.push(n)),n}function _e(e){if(e){var t=ve[e];return delete ve[e],t}return ye.shift()}var be={args:function(e,t){var n=xe(e.events).id;e.url&&(e.url=e.url+(-1===e.url.indexOf("?")?"?":"&")+"__id__="+n)},returnValue:function(e,t){e.eventChannel=_e()}};function we(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 Se={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=we(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},Ae={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}}}}};function ke(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 Pe={redirectTo:Se,navigateTo:be,previewImage:Ae,getSystemInfo:{returnValue:ke},getSystemInfoSync:{returnValue:ke}},Te=["vibrate","preloadPage","unPreloadPage","loadSubPackage"],Oe=[],Ce=["success","fail","cancel","complete"];function je(e,t,n){return function(r){return t(Le(e,r,n))}}function $e(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 S(n)&&(n=n(t,a)||{}),t)if(P(n,o)){var s=n[o];S(s)&&(s=s(t[o],t,a)),s?A(s)?a[s]=t[o]:k(s)&&(a[s.name?s.name:o]=s.value):console.warn("微信小程序 ".concat(e,"暂不支持").concat(o))}else-1!==Ce.indexOf(o)?S(t[o])&&(a[o]=je(e,t[o],r)):i||(a[o]=t[o]);return a}return S(t)&&(t=je(e,t,r)),t}function Le(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S(Pe.returnValue)&&(t=Pe.returnValue(e,t)),$e(e,t,n,{},r)}function Me(e,t){if(P(Pe,e)){var n=Pe[e];return n?function(t,r){var i=n;S(n)&&(i=n(t)),t=$e(e,t,i.args,i.returnValue);var a=[t];"undefined"!==typeof r&&a.push(r),S(i.name)?e=i.name(t):A(i.name)&&(e=i.name);var o=wx[e].apply(wx,a);return te(e)?Le(e,o,i.returnValue,ee(e)):o}:function(){console.error("微信小程序 暂不支持".concat(e))}}return t}var De=Object.create(null),Re=["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"];function Ee(e){return function(t){var n=t.fail,r=t.complete,i={errMsg:"".concat(e,":fail:暂不支持 ").concat(e," 方法")};S(n)&&n(i),S(r)&&r(i)}}Re.forEach((function(e){De[e]=Ee(e)}));var Fe={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};function Ie(e){var t=e.service,n=e.success,r=e.fail,i=e.complete,a=!1;Fe[t]?(a={errMsg:"getProvider:ok",service:t,provider:Fe[t]},S(n)&&n(a)):(a={errMsg:"getProvider:fail:服务["+t+"]不存在"},S(r)&&r(a)),S(i)&&i(a)}var ze=Object.freeze({__proto__:null,getProvider:Ie}),Ne=function(){var e;return function(){return e||(e=new r.default),e}}();function Be(e,t,n){return e[t].apply(e,n)}function We(){return Be(Ne(),"$on",Array.prototype.slice.call(arguments))}function He(){return Be(Ne(),"$off",Array.prototype.slice.call(arguments))}function Ue(){return Be(Ne(),"$once",Array.prototype.slice.call(arguments))}function Ve(){return Be(Ne(),"$emit",Array.prototype.slice.call(arguments))}var Ge=Object.freeze({__proto__:null,$on:We,$off:He,$once:Ue,$emit:Ve}),qe=Object.freeze({__proto__:null}),Xe=Page,Je=Component,Qe=/:/g,Ke=O((function(e){return j(e.replace(Qe,"-"))}));function Ye(e){if(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,[Ke(n)].concat(i))}}}function Ze(e,t){var n=t[e];t[e]=n?function(){Ye(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(){Ye(this)}}Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ze("onLoad",e),Xe(e)},Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ze("created",e),Je(e)};var et=["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function tt(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){P(n,t)&&(e[t]=n[t])}))}function nt(e,t){if(!t)return!0;if(r.default.options&&Array.isArray(r.default.options[e]))return!0;if(t=t.default||t,S(t))return!!S(t.extendOptions[e])||!!(t.super&&t.super.options&&Array.isArray(t.super.options[e]));if(S(t[e]))return!0;var n=t.mixins;return Array.isArray(n)?!!n.find((function(t){return nt(e,t)})):void 0}function rt(e,t,n){t.forEach((function(t){nt(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function it(e,t){var n;return t=t.default||t,n=S(t)?t:e.extend(t),t=n.options,[n,t]}function at(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 ot(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 st(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(i){Object({VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(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 lt=[String,Number,Boolean,Object,Array,null];function ct(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function ut(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:dt(r.props,!0)})),Array.isArray(i)&&i.forEach((function(e){k(e)&&e.props&&o.push(t({properties:dt(e.props,!0)}))})),o}function pt(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function dt(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.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:ct(e)}})):k(e)&&Object.keys(e).forEach((function(t){var r=e[t];if(k(r)){var i=r.default;S(i)&&(i=i()),r.type=pt(t,r.type),n[t]={type:-1!==lt.indexOf(r.type)?r.type:null,value:i,observer:ct(t)}}else{var a=pt(t,r);n[t]={type:-1!==lt.indexOf(a)?a:null,observer:ct(t)}}})),n}function ft(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=T,e.preventDefault=T,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 ht(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 gt(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]=ht(e,t)})),r}function vt(e){for(var t={},n=1;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}function yt(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=gt(e,r,t),l=[];return n.forEach((function(e){"$event"===e?"__set_model"!==a||i?i&&!o?l.push(t.detail.__args__[0]):l.push(t):l.push(t.target.value):Array.isArray(e)&&"o"===e[0]?l.push(vt(e)):"string"===typeof e&&P(s,e)?l.push(s[e]):l.push(e)})),l}var mt="~",xt="^";function _t(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}function bt(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 wt(e){var t=this;e=ft(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)===xt;r=s?r.slice(1):r;var l=r.charAt(0)===mt;r=l?r.slice(1):r,o&&_t(i,r)&&o.forEach((function(n){var r=n[0];if(r){var i=t.$vm;if(i.$options.generic&&(i=bt(i)||i),"$emit"===r)return void i.$emit.apply(i,yt(t.$vm,e,n[1],n[2],s,r));var o=i[r];if(!S(o))throw new Error(" _vm.".concat(r," is not a function"));if(l){if(o.once)return;o.once=!0}var c=yt(t.$vm,e,n[1],n[2],s,r);a.push(o.apply(i,(Array.isArray(c)?c:[]).concat([,,,,,,,,,,e])))}}))})),"input"===i&&1===a.length&&"undefined"!==typeof a[0]?a[0]:void 0}var St=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function At(e,t){var n=t.mocks,i=t.initRefs;e.$options.store&&(r.default.prototype.$store=e.$options.store),r.default.prototype.mpHost="mp-weixin",r.default.mixin({beforeCreate:function(){this.$options.mpType&&(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,"app"!==this.mpType&&(i(this),tt(this,n)))}});var a={onLaunch:function(t){this.$vm||(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]})),rt(a,St),a}var kt=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Pt(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=Pt(r[o],t),n)return n}function Tt(e){return Behavior(e)}function Ot(){return!!this.route}function Ct(e){this.triggerEvent("__l",e)}function jt(e){var t=e.$scope;Object.defineProperty(e,"$refs",{get:function(){var e={},n=t.selectAllComponents(".vue-ref");n.forEach((function(t){var n=t.dataset.ref;e[n]=t.$vm||t}));var r=t.selectAllComponents(".vue-ref-in-for");return r.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||t)})),e}})}function $t(e){var t,n=e.detail||e.value,r=n.vuePid,i=n.vueOptions;r&&(t=Pt(this.$vm,r)),t||(t=this.$vm),i.parent=t}function Lt(e){return At(e,{mocks:kt,initRefs:jt})}function Mt(e){r.default.prototype.getOpenerEventChannel=function(){return this.__eventChannel__||(this.__eventChannel__=new ge),this.__eventChannel__};var t=r.default.prototype.__call_hook;return r.default.prototype.__call_hook=function(e,n){return"onLoad"===e&&n&&n.__id__&&(this.__eventChannel__=_e(n.__id__),delete n.__id__),t.call(this,e,n)},App(Lt(e)),e}var Dt=/[!'()*]/g,Rt=function(e){return"%"+e.charCodeAt(0).toString(16)},Et=/%2C/g,Ft=function(e){return encodeURIComponent(e).replace(Dt,Rt).replace(Et,",")};function It(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft,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 zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,i=t.initRelation,a=it(r.default,e),l=s(a,2),c=l[0],u=l[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:st(u,r.default.prototype),behaviors:ut(u,Tt),properties:dt(u.props,!1,u.__file),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};ot(e.vueId,this),i.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),at(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:$t,__e:wt}};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,c]}function Nt(e){return zt(e,{isPage:Ot,initRelation:Ct})}var Bt=["onShow","onHide","onUnload"];function Wt(e,t){t.isPage,t.initRelation;var n=Nt(e);return rt(n.methods,Bt,e),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+It(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},n}function Ht(e){return Wt(e,{isPage:Ot,initRelation:Ct})}function Ut(e){return Component(Ht(e))}function Vt(e){return Component(Nt(e))}Bt.push.apply(Bt,et),Te.forEach((function(e){Pe[e]=!1})),Oe.forEach((function(e){var t=Pe[e]&&Pe[e].name?Pe[e].name:e;wx.canIUse(t)||(Pe[e]=!1)}));var Gt={};"undefined"!==typeof Proxy?Gt=new Proxy({},{get:function(e,t){return P(e,t)?e[t]:he[t]?he[t]:qe[t]?ae(t,qe[t]):ze[t]?ae(t,ze[t]):De[t]?ae(t,De[t]):Ge[t]?Ge[t]:P(wx,t)||P(Pe,t)?ae(t,Me(t,wx[t])):void 0},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(he).forEach((function(e){Gt[e]=he[e]})),Object.keys(De).forEach((function(e){Gt[e]=ae(e,De[e])})),Object.keys(ze).forEach((function(e){Gt[e]=ae(e,De[e])})),Object.keys(Ge).forEach((function(e){Gt[e]=Ge[e]})),Object.keys(qe).forEach((function(e){Gt[e]=ae(e,qe[e])})),Object.keys(wx).forEach((function(e){(P(wx,e)||P(Pe,e))&&(Gt[e]=ae(e,Me(e,wx[e])))}))),wx.createApp=Mt,wx.createPage=Ut,wx.createComponent=Vt;var qt=Gt,Xt=qt;t.default=Xt},"546b":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}}}},5818:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("3bcf")),i=a(n("c04f"));function a(e){return e&&e.__esModule?e:{default:e}}var o=!0,s=!1,l=null,c="_APP_CONFIG",u=[],p=[],d=function(t,n){t&&u.push(t),n&&p.push(n),s||(s=!0,(0,r.default)({url:i.default.index.config}).then((function(t){if(s=!1,0===t.code){for(var n in l=t.data,e.setStorageSync(c,l),u)u[n](l);u=[]}else{for(var r in p)p[r](t.msg);p=[]}})).catch((function(e){for(var t in s=!1,p)p[t](e.msg);p=[]})))},f={getConfig:function(t){return new Promise((function(t,n){return l?t(l):(l=e.getStorageSync(c),l?(o&&(o=!1,d()),t(l)):void d(t,n))}))},resetConfig:function(){l=null,s=!1}};t.default=f}).call(this,n("543d")["default"])},"5a62":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.removeStorageSync=t.getStorageSync=t.setStorageSync=t.clearStorage=void 0;var n=function(){e.clearStorage({success:function(e){console.log(e)},fail:function(e){console.log(e)}})};t.clearStorage=n;var r=function(t,n){try{e.setStorageSync(t,n)}catch(r){console.log(r)}};t.setStorageSync=r;var i=function(t){try{return e.getStorageSync(t)}catch(n){console.log(n)}};t.getStorageSync=i;var a=function(t){try{e.removeStorageSync(t)}catch(n){console.log(n)}};t.removeStorageSync=a}).call(this,n("543d")["default"])},"60c4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.push=t.popAll=void 0;var r=n("ae5f"),i=n("5a62"),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(console.log(e),!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},"66fd":function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2020 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 l(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function p(e){return"[object RegExp]"===c.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===c?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 y=v("key,ref,slot,slot-scope,is");function m(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function _(e,t){return x.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,S=b((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),A=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 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 O(e,t){return e.bind(t)}var C=Function.prototype.bind?O:T;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 L(e){for(var t={},n=0;n<e.length;n++)e[n]&&$(t,e[n]);return t}function M(e,t,n){}var D=function(e,t,n){return!1},R=function(e){return e};function E(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 E(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 E(e[n],t[n])}))}catch(c){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(E(e[n],t))return n;return-1}function I(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var z=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:D,isReservedAttr:D,isUnknownElement:D,getTagNamespace:M,parsePlatformTagName:R,mustUseProp:D,async:!0,_lifecycleHooks:N},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(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 V=new RegExp("[^"+W.source+".$_\\d]");function G(e){if(!V.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 q,X="__proto__"in{},J="undefined"!==typeof window,Q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,K=Q&&WXEnvironment.platform.toLowerCase(),Y=J&&window.navigator.userAgent.toLowerCase(),Z=Y&&/msie|trident/.test(Y),ee=(Y&&Y.indexOf("msie 9.0"),Y&&Y.indexOf("edge/")>0),te=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===K),ne=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/),{}.watch);if(J)try{var re={};Object.defineProperty(re,"passive",{get:function(){}}),window.addEventListener("test-passive",null,re)}catch(ni){}var ie=function(){return void 0===q&&(q=!J&&!Q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),q},ae=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"===typeof e&&/native code/.test(e.toString())}var se,le="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 ce=M,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){m(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 ye(e){return new he(void 0,void 0,void 0,String(e))}function me(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 xe=Array.prototype,_e=Object.create(xe),be=["push","pop","shift","unshift","splice","sort","reverse"];be.forEach((function(e){var t=xe[e];U(_e,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(_e),Se=!0;function Ae(e){Se=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?Te(e,_e,we):Pe(e,_e):Te(e,_e,we),this.observeArray(e)):this.walk(e)};function Pe(e,t){e.__proto__=t}function Te(e,t,n){for(var r=0,i=n.length;r<i;r++){var a=n[r];U(e,a,t[a])}}function Oe(e,t){var n;if(l(e)&&!(e instanceof he))return _(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:Se&&!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,l=o&&o.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!i&&Oe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return pe.SharedObject.target&&(a.depend(),c&&(c.dep.depend(),Array.isArray(t)&&Le(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!l||(l?l.call(e,t):n=t,c=!i&&Oe(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||_(e,t)&&(delete e[t],n&&n.dep.notify())}}function Le(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)&&Le(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++)Oe(e[t])};var Me=B.optionMergeStrategies;function De(e,t){if(!t)return e;for(var n,r,i,a=le?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(r=e[n],i=t[n],_(e,n)?r!==i&&u(r)&&u(i)&&De(r,i):je(e,n,i));return e}function Re(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?De(r,i):i}:t?e?function(){return De("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ee(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 Ie(e,t,n,r){var i=Object.create(e||null);return t?$(i,t):i}Me.data=function(e,t,n){return n?Re(e,t,n):t&&"function"!==typeof t?e:Re(e,t)},N.forEach((function(e){Me[e]=Ee})),z.forEach((function(e){Me[e+"s"]=Ie})),Me.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},Me.props=Me.methods=Me.inject=Me.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return $(i,e),t&&$(i,t),i},Me.provide=Re;var ze=function(e,t){return void 0===t?e:t};function Ne(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(u(n))for(var s in n)i=n[s],a=S(s),o[a]=u(i)?i:{type:i};else 0;e.props=o}}function Be(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 We(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 He(e,t,n){if("function"===typeof t&&(t=t.options),Ne(t,n),Be(t,n),We(t),!t._base&&(t.extends&&(e=He(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=He(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)_(e,a)||s(a);function s(r){var i=Me[r]||ze;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(_(i,n))return i[n];var a=S(n);if(_(i,a))return i[a];var o=A(a);if(_(i,o))return i[o];var s=i[n]||i[a]||i[o];return s}}function Ve(e,t,n,r){var i=t[e],a=!_(n,e),o=n[e],s=Je(Boolean,i.type);if(s>-1)if(a&&!_(i,"default"))o=!1;else if(""===o||o===P(e)){var l=Je(String,i.type);(l<0||s<l)&&(o=!0)}if(void 0===o){o=Ge(r,i,e);var c=Se;Ae(!0),Oe(o),Ae(c)}return o}function Ge(e,t,n){if(_(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"!==qe(t.type)?r.call(e):r}}function qe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Xe(e,t){return qe(e)===qe(t)}function Je(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 Qe(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){Ye(ni,r,"errorCaptured hook")}}}Ye(e,t,n)}finally{fe()}}function Ke(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 Qe(e,r,i+" (Promise/async)")})),a._handled=!0)}catch(ni){Qe(ni,r,i)}return a}function Ye(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(ni){ni!==e&&Ze(ni,null,"config.errorHandler")}Ze(e,t,n)}function Ze(e,t,n){if(!J&&!Q||"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(M)}}else if(Z||"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 lt(e,t){var n;if(tt.push((function(){if(e)try{e.call(t)}catch(ni){Qe(ni,t,"nextTick")}else n&&n(t)})),nt||(nt=!0,et()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var ct=new se;function ut(e){pt(e,ct),ct.clear()}function pt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!l(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 Ke(r,null,arguments,t,"v-on handler");for(var i=r.slice(),a=0;a<i.length;a++)Ke(i[a],null,e,t,"v-on handler")}return n.fns=e,n}function ht(e,t,n,i,o,s){var l,c,u,p;for(l in e)c=e[l],u=t[l],p=dt(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=ft(c,s)),a(p.once)&&(c=e[l]=o(p.name,c,p.capture)),n(p.name,c,p.capture,p.passive,p.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&(p=dt(l),i(p.name,t[l],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||[],l=e.attrs,c=e.props;if(i(l)||i(c))for(var u in o){var p=P(u),d=yt(n,c,u,p,!0)||yt(n,l,u,p,!1);d&&n[u]&&-1!==s.indexOf(p)&&a[S(n[u])]&&(n[u]=a[S(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={},l=e.attrs,c=e.props;if(i(l)||i(c))for(var u in o){var p=P(u);yt(s,c,u,p,!0)||yt(s,l,u,p,!1)}return gt(e,t,s,a)}function yt(e,t,n,r,a){if(i(t)){if(_(t,n))return e[n]=t[n],a||delete t[n],!0;if(_(t,r))return e[n]=t[r],a||delete t[r],!0}return!1}function mt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function xt(e){return s(e)?[ye(e)]:Array.isArray(e)?bt(e):void 0}function _t(e){return i(e)&&i(e.text)&&o(e.isComment)}function bt(e,t){var n,o,l,c,u=[];for(n=0;n<e.length;n++)o=e[n],r(o)||"boolean"===typeof o||(l=u.length-1,c=u[l],Array.isArray(o)?o.length>0&&(o=bt(o,(t||"")+"_"+n),_t(o[0])&&_t(c)&&(u[l]=ye(c.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?_t(c)?u[l]=ye(c.text+o):""!==o&&u.push(ye(o)):_t(o)&&_t(c)?u[l]=ye(c.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 St(e){var t=At(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Ce(e,n,t[n])})),Ae(!0))}function At(e,t){if(e){for(var n=Object.create(null),r=le?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&&_(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var l=e[a].default;n[a]="function"===typeof l?l.call(t):l}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,l=n[s]||(n[s]=[]);"template"===a.tag?l.push.apply(l,a.children||[]):l.push(a)}}for(var c in n)n[c].every(Pt)&&delete n[c];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Tt(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 l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=Ot(t,l,e[l]))}else i={};for(var c in t)c in i||(i[c]=Ct(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),U(i,"$stable",o),U(i,"$key",s),U(i,"$hasNormal",a),i}function Ot(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]:xt(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(l(e))if(le&&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,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 Lt(e){return Ue(this.$options,"filters",e,!0)||R}function Mt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Dt(e,t,n,r,i){var a=B.keyCodes[t]||n;return i&&r&&!B.keyCodes[t]?Mt(i,r):a?Mt(a,e):r?P(r)!==t:void 0}function Rt(e,t,n,r,i){if(n)if(l(n)){var a;Array.isArray(n)&&(n=L(n));var o=function(o){if("class"===o||"style"===o||y(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||B.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=S(o),c=P(o);if(!(l in a)&&!(c 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 Et(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),It(r,"__static__"+e,!1)),r}function Ft(e,t,n){return It(e,"__once__"+t+(n?"_"+n:""),!0),e}function It(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&zt(e[r],t+"_"+r,n);else zt(e,t,n)}function zt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Nt(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 Bt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];Array.isArray(a)?Bt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Wt(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 Ht(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=E,e._i=F,e._m=Et,e._f=Lt,e._k=Dt,e._b=Rt,e._v=ye,e._e=ve,e._u=Bt,e._g=Nt,e._d=Wt,e._p=Ht}function Vt(e,t,r,i,o){var s,l=this,c=o.options;_(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=a(c._compiled),p=!u;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=At(c.inject,i),this.slots=function(){return l.$slots||Tt(e.scopedSlots,l.$slots=kt(r,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Tt(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Tt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,r){var a=an(s,e,t,n,r,p);return a&&!Array.isArray(a)&&(a.fnScopeId=c._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return an(s,e,t,n,r,p)}}function Gt(e,t,r,a,o){var s=e.options,l={},c=s.props;if(i(c))for(var u in c)l[u]=Ve(u,c,t||n);else i(r.attrs)&&Xt(l,r.attrs),i(r.props)&&Xt(l,r.props);var p=new Vt(r,l,o,a,e),d=s.render.call(null,p._c,p);if(d instanceof he)return qt(d,r,p.parent,s,p);if(Array.isArray(d)){for(var f=xt(d)||[],h=new Array(f.length),g=0;g<f.length;g++)h[g]=qt(f[g],r,p.parent,s,p);return h}}function qt(e,t,n,r,i){var a=me(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[S(n)]=t[n]}Ut(Vt.prototype);var Jt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Jt.prepatch(n,n)}else{var r=e.componentInstance=Yt(e,An);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;On(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(Ln(n,"onServiceCreated"),Ln(n,"onServiceAttached"),n._isMounted=!0,Ln(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())}},Qt=Object.keys(Jt);function Kt(e,t,n,o,s){if(!r(e)){var c=n.$options._base;if(l(e)&&(e=c.extend(e)),"function"===typeof e){var u;if(r(e.cid)&&(u=e,e=gn(u,c),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 Gt(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)}Zt(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 Yt(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 Zt(e){for(var t=e.hook||(e.hook={}),n=0;n<Qt.length;n++){var r=Qt[n],i=t[r],a=Jt[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,l;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),a===rn?r=xt(r):a===nn&&(r=mt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),o=B.isReservedTag(t)?new he(B.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!i(l=Ue(e.$options,"components",t))?new he(t,n,r,void 0,void 0,e):Kt(l,n,e,r,t)):o=Kt(t,n,e,r);return Array.isArray(o)?o:i(o)?(i(s)&&sn(o,s),i(n)&&ln(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 l=e.children[o];i(l.tag)&&(r(l.ns)||a(n)&&"svg"!==l.tag)&&sn(l,t,n)}}function ln(e){l(e.style)&&ut(e.style),l(e.class)&&ut(e.class)}function cn(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 lt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=Tt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{pn=t,e=r.call(t._renderProxy,t.$createElement)}catch(ni){Qe(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||le&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(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,c=null,u=null;n.$on("hook:destroyed",(function(){return m(o,n)}));var p=function(e){for(var t=0,n=o.length;t<n;t++)o[t].$forceUpdate();e&&(o.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},d=I((function(n){e.resolved=fn(n,t),s?o.length=0:p(!0)})),h=I((function(t){i(e.errorComp)&&(e.error=!0,p(!0))})),g=e(d,h);return l(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:c=setTimeout((function(){c=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 yn(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 mn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&wn(e,t)}function xn(e,t){un.$on(e,t)}function _n(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||{},xn,_n,bn,e),un=void 0}function Sn(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++)Ke(n[a],t,r,t,i)}return t}}var An=null;function kn(e){var t=An;return An=e,function(){An=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 Tn(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){Ln(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||m(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),Ln(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function On(e,t,r,i,a){var o=i.data.scopedSlots,s=e.$scopedSlots,l=!!(o&&!o.$stable||s!==n&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key),c=!!(a||e.$options._renderChildren||l);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){Ae(!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]=Ve(f,h,t,e)}Ae(!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),c&&(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]);Ln(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]);Ln(e,"deactivated")}}function Ln(e,t){de();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,a=n.length;i<a;i++)Ke(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),fe()}var Mn=[],Dn=[],Rn={},En=!1,Fn=!1,In=0;function zn(){In=Mn.length=Dn.length=0,Rn={},En=Fn=!1}var Nn=Date.now;if(J&&!Z){var Bn=window.performance;Bn&&"function"===typeof Bn.now&&Nn()>document.createEvent("Event").timeStamp&&(Nn=function(){return Bn.now()})}function Wn(){var e,t;for(Nn(),Fn=!0,Mn.sort((function(e,t){return e.id-t.id})),In=0;In<Mn.length;In++)e=Mn[In],e.before&&e.before(),t=e.id,Rn[t]=null,e.run();var n=Dn.slice(),r=Mn.slice();zn(),Vn(n),Hn(r),ae&&B.devtools&&ae.emit("flush")}function Hn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Ln(r,"updated")}}function Un(e){e._inactive=!1,Dn.push(e)}function Vn(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,jn(e[t],!0)}function Gn(e){var t=e.id;if(null==Rn[t]){if(Rn[t]=!0,Fn){var n=Mn.length-1;while(n>In&&Mn[n].id>e.id)n--;Mn.splice(n+1,0,e)}else Mn.push(e);En||(En=!0,lt(Wn))}}var qn=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=++qn,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=G(t),this.getter||(this.getter=M)),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;Qe(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():Gn(this)},Xn.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(ni){Qe(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||m(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var Jn={enumerable:!0,configurable:!0,get:M,set:M};function Qn(e,t,n){Jn.get=function(){return this[t][n]},Jn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Jn)}function Kn(e){e._watchers=[];var t=e.$options;t.props&&Yn(e,t.props),t.methods&&or(e,t.methods),t.data?Zn(e):Oe(e._data={},!0),t.computed&&nr(e,t.computed),t.watch&&t.watch!==ne&&sr(e,t.watch)}function Yn(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||Ae(!1);var o=function(a){i.push(a);var o=Ve(a,t,n,e);Ce(r,a,o),a in e||Qn(e,"_props",a)};for(var s in t)o(s);Ae(!0)}function Zn(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&&_(r,a)||H(a)||Qn(e,"_data",a)}Oe(t,!0)}function er(e,t){de();try{return e.call(t,t)}catch(ni){return Qe(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||M,M,tr)),i in e||rr(e,i,a)}}function rr(e,t,n){var r=!ie();"function"===typeof n?(Jn.get=r?ir(t):ar(n),Jn.set=M):(Jn.get=n.get?r&&!1!==n.cache?ir(t):ar(n.get):M,Jn.set=n.set||M),Object.defineProperty(e,t,Jn)}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]?M: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++)lr(e,n,r[i]);else lr(e,n,r)}}function lr(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function cr(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 lr(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){Qe(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=He(fr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Pn(t),mn(t),cn(t),Ln(t,"beforeCreate"),!t._$fallback&&St(t),Kn(t),!t._$fallback&&wt(t),!t._$fallback&&Ln(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=He(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 yr(e){e.mixin=function(e){return this.options=He(this.options,e),this}}function mr(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=He(n.options,e),o["super"]=n,o.options.props&&xr(o),o.options.computed&&_r(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=$({},o.options),i[r]=o,o}}function xr(e){var t=e.options.props;for(var n in t)Qn(e.prototype,"_props",n)}function _r(e){var t=e.options.computed;for(var n in t)rr(e.prototype,n,t[n])}function br(e){z.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 Sr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function Ar(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,m(n,t)}pr(gr),cr(gr),Sn(gr),Tn(gr),dn(gr);var Pr=[String,RegExp,Array],Tr={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){Ar(e,(function(e){return Sr(t,e)}))})),this.$watch("exclude",(function(t){Ar(e,(function(e){return!Sr(t,e)}))}))},render:function(){var e=this.$slots.default,t=yn(e),n=t&&t.componentOptions;if(n){var r=wr(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Sr(a,r))||o&&r&&Sr(o,r))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,m(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&kr(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Or={KeepAlive:Tr};function Cr(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:$,mergeOptions:He,defineReactive:Ce},e.set=je,e.delete=$e,e.nextTick=lt,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),z.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,$(e.options.components,Or),vr(e),yr(e),mr(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:Vt}),gr.version="2.6.11";var jr="[object Array]",$r="[object Object]";function Lr(e,t){var n={};return Mr(e,t),Dr(e,t,"",n),n}function Mr(e,t){if(e!==t){var n=Er(e),r=Er(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:Mr(a,t[i])}}else n==jr&&r==jr&&e.length>=t.length&&t.forEach((function(t,n){Mr(e[n],t)}))}}function Dr(e,t,n,r){if(e!==t){var i=Er(e),a=Er(t);if(i==$r)if(a!=$r||Object.keys(e).length<Object.keys(t).length)Rr(r,n,e);else{var o=function(i){var a=e[i],o=t[i],s=Er(a),l=Er(o);if(s!=jr&&s!=$r)a!=t[i]&&Rr(r,(""==n?"":n+".")+i,a);else if(s==jr)l!=jr||a.length<o.length?Rr(r,(""==n?"":n+".")+i,a):a.forEach((function(e,t){Dr(e,o[t],(""==n?"":n+".")+i+"["+t+"]",r)}));else if(s==$r)if(l!=$r||Object.keys(a).length<Object.keys(o).length)Rr(r,(""==n?"":n+".")+i,a);else for(var c in a)Dr(a[c],o[c],(""==n?"":n+".")+i+"."+c,r)};for(var s in e)o(s)}else i==jr?a!=jr||e.length<t.length?Rr(r,n,e):e.forEach((function(e,i){Dr(e,t[i],n+"["+i+"]",r)})):Rr(r,n,e)}}function Rr(e,t,n){e[t]=n}function Er(e){return Object.prototype.toString.call(e)}function Fr(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({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 Ir(e){return Mn.find((function(t){return e._watcher===t}))}function zr(e,t){if(!e.__next_tick_pending&&!Ir(e)){if(Object({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 lt(t,e)}if(Object({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){Qe(ni,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function Nr(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 Br=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=Nr(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:Lr(i,a);Object.keys(o).length?(Object({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 Wr(){}function Hr(e,t,n){if(!e.mpType)return e;"app"===e.mpType&&(e.$options.render=Wr),e.$options.render||(e.$options.render=Wr),!e._$fallback&&Ln(e,"beforeMount");var r=function(){e._update(e._render(),n)};return new Xn(e,r,M,{before:function(){e._isMounted&&!e._isDestroyed&&Ln(e,"beforeUpdate")}},!0),n=!1,e}function Ur(e,t){return i(e)||i(t)?Vr(e,Gr(t)):""}function Vr(e,t){return e?t?e+" "+t:e:t||""}function Gr(e){return Array.isArray(e)?qr(e):l(e)?Xr(e):"string"===typeof e?e:""}function qr(e){for(var t,n="",r=0,a=e.length;r<a;r++)i(t=Gr(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 Jr=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 Qr(e){return Array.isArray(e)?L(e):"string"===typeof e?Jr(e):e}var Kr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Yr(e,t){var n=t.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?e[r]:Yr(e[r],n.slice(1).join("."))}function Zr(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var i=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 zr(this,e)},Kr.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=St,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=Ke(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 Yr(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=Qr(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(l(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","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__=Br,gr.prototype.$mount=function(e,t){return Hr(this,e,t)},ti(gr),Zr(gr),t["default"]=gr}.call(this,n("c8ba"))},"6b9a":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},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},"6fd3":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 l={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({},l)}).then((function(e){0===e.code&&s(e.data)}));break;case"gift":for(var c={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++)c.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(c),a.$storage.setStorageSync("GIFT_CART",d)}else a.$storage.setStorageSync("GIFT_CART",[c]);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 l=o;t.default=l}).call(this,n("543d")["default"])},"705e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("c04f")),i=a(n("3bcf"));function a(e){return e&&e.__esModule?e:{default:e}}var o={home_pages:{},type:""},s={},l={getHomePages:function(e,t){console.table(t),e.type=t.type,e.home_pages=t.home_pages}},c={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)})).catch((function(e){console.log(e)}))}},u={namespaced:!0,state:o,getters:s,mutations:l,actions:c};t.default=u},7246: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},7525: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},7600: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"),l=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"),c=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(),l[n])while(h.last()&&c[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 y="";while(0===n)y+="<",e=e.substring(1),n=e.indexOf("<");y+=n<0?e:e.substring(0,n),e=n<0?"":e.substring(n),t.chars&&t.chars(y)}if(e===f)throw new Error("Parse Error: ".concat(e));f=e}g()}var f=d;t.default=f},"7ad1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("3bcf")),i=a(n("c04f"));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},"7e54":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("ae5f"),i=s(n("3bcf")),a=s(n("c04f")),o=s(n("e1a5"));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){console.log(e),e=e||{title:"这是一个分享页面",path:"/pages/index/index",params:{}},"undefined"===typeof e.params&&(e.params={});var t=0;return this.$user.isLogin()&&this.$store.state.user.info&&(t=this.$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(t),0!=Object.keys(e.params).length&&(e.path+="&"+(0,r.objectToUrlParams)(e.params))):(e.params.path=e.path,e.params.user_id=t,e.path="/pages/index/index?scene=share&user_id=".concat(t,"¶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(e){}))}),1e3),console.log(e),e},c=l;t.default=c},"83a5":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},"8bd6":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 l(e,t){return/^\/\//.test(e)?"https:".concat(e):/^\//.test(e)?"https://".concat(t).concat(e):Array.isArray(e)?c(e,t):e}function c(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: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",l=a.toStringTag||"@@toStringTag",c="object"===typeof e,u=t.regeneratorRuntime;if(u)c&&(e.exports=u);else{u=t.regeneratorRuntime=c?e.exports:{},u.wrap=_;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",g={},v={};v[o]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(L([])));m&&m!==r&&i.call(m,o)&&(v=m);var x=A.prototype=w.prototype=Object.create(v);S.prototype=x.constructor=A,A.constructor=S,A[l]=S.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,A):(e.__proto__=A,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(x),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(_(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(x),x[l]="Generator",x[o]=function(){return this},x.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=L,$.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 l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)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:L(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function _(e,t,n,r){var i=t&&t.prototype instanceof w?t:w,a=Object.create(i.prototype),o=new $(r||[]);return a._invoke=T(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 S(){}function A(){}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 l=s.arg,c=l.value;return c&&"object"===typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,a,o)}),(function(e){t("throw",e,a,o)})):Promise.resolve(c).then((function(e){l.value=e,a(l)}),(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 T(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 M()}n.method=i,n.arg=a;while(1){var o=n.delegate;if(o){var s=O(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 l=b(e,t,n);if("normal"===l.type){if(r=n.done?h:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}function O(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,O(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 L(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:M}}function M(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a257:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("60c4"),i=n("5a62"),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":console.log(t.url),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],success:function(e){console.log(e)},fail:function(e){console.log(e)}})}else t.appId&&e.navigateToMiniProgram({appId:t.appId,success:function(e){console.log(e)},fail:function(e){console.log(e)}});break;case"clear_cache":(0,i.clearStorage)();break;case"map":e.openLocation({latitude:Number(t.latitude),longitude:Number(t.longitude),name:t.address,success:function(){console.log("success")}});break;case"reload":e.redirectTo({url:this.$platDiff.routeWithOption()});break}},o=a;t.default=o}).call(this,n("543d")["default"])},a34a:function(e,t,n){e.exports=n("bbdd")},a413:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={copyText:function(t){e.setClipboardData({data:t,success:function(){e.hideLoading(),e.showToast({title:"复制成功",icon:"none"})}})}};t.default=n}).call(this,n("543d")["default"])},ae5f:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),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 l(e){return e*s/180}var c,u,p,d,f,h,g,v=l((n+i)/2),y=l((n-i)/2),m=l((r-a)/2),x=Math.sin(y),_=Math.sin(m),b=Math.sin(v),w=o,S=1/298.257;return x*=x,_*=_,b*=b,c=x*(1-_)+(1-b)*_,u=(1-x)*(1-_)+b*_,p=Math.atan(Math.sqrt(c/u)),d=Math.sqrt(c*u)/p,f=2*p*w,h=(3*d-1)/2/u,g=(3*d+1)/2/c,f*(1+S*(h*b*(1-x)-g*(1-b)*x))};t.earthDistance=s;var l=function(e){var t=[];for(var n in e)t.push(e[n]);return t};t.objectValues=l;var c=function(e){for(var t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n="",r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n};t.randomString=c;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=!1,h=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){f||(f=!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){console.log(e),i("fail")}}),"video"===n&&e.saveVideoToPhotosAlbum({filePath:t.tempFilePath,success:function(){r("success")},fail:function(e){console.log(e),i("fail")}})},fail:function(e){console.log(e),i("fail")}});if("video"===n){var s=(new Date).getTime(),l=6e4;o.onProgressUpdate((function(e){var t=(new Date).getTime();t-s>l&&(o.abort(),i("fail"))}))}}catch(a){console.error(a.message),i("fail")}}))}))).then((function(t){f=!1,e.hideLoading(),r("success")})).catch((function(t){f=!1,e.hideLoading(),e.showToast({title:"下载失败"}),i("fail")}))})).catch((function(t){e.showModal({title:"提示",content:"授权失败,请稍后重新获取",showCancel:!1}),i("fail")}))}))};t.batchSave=h;var g=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 l in s)s[l]=s[l].split("="),o[s[l][0]]=s[l][1];for(var c in a)delete o[a[c]];return r=JSON.stringify(o).replace(/[\"\{\}]/g,"").replace(/\:/g,"=").replace(/\,/g,"&"),r.length?i+"?"+r:i};t.deleteUrlParam=g}).call(this,n("543d")["default"])},b094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("c04f")),i=a(n("3bcf"));function a(e){return e&&e.__esModule?e:{default:e}}var o={data:null},s={data:function(e){return e.data},foot_bar:function(e){return e.data.foot_bar}},l={data:function(e,t){e.data=t}},c={data:function(e){(0,i.default)({url:r.default.user.config}).then((function(t){0===t.code&&t.data&&t.data.config&&t.data.config.user_center&&e.commit("data",t.data.config.user_center)})).catch((function(e){}))}},u={namespaced:!0,state:o,getters:s,mutations:l,actions:c};t.default=u},b1fb: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];console.log("in payment.js setAll ok:",e)}},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},ba04: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},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}},c04f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("f3fa")),i=a(n("34b7"));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},l=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)},c=l(i.default);t.default=c},c799:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;l(n("ae5f"));var r=o(n("e1a5")),i=o(n("51f0")),a=n("5a62");function o(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(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}var c=function(t){if(console.log(t),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 l=s.split("?")[0],c="?",u=0;u<o.length;u++)c+="".concat(o[u].key,"=").concat(o[u].value,"&");l+=c.slice(0,c.length-1),"?"===c&&(l=s),console.log(l),e.navigateTo({url:l});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 y="",m=1;m<v.length;m++)m+1!==v.length&&(y+="".concat(v[m],"=").concat(v[m+1]));h[v[0]]=y}else h[v[0]]=v[1]}var x=h,_="",b="";_=x.app_id||"",b=x.path||"",console.log(b),e.navigateToMiniProgram({appId:_,path:b,success:function(e){console.log("打开小程序成功",e)},fail:function(e){console.log("打开小程序失败",e)}});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}}},u=c;t.default=u}).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},c97d: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"])},cc08:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("8bd6")),i=a(n("7600"));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"),l=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"),c=o("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");function u(e){var t=/<body.*>([^]*)<\/body>/.test(e);return t?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":l[e]?u.tagType="inline":c[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 y=o[0]||f;void 0===y.nodes&&(y.nodes=[]),y.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},d1cf: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},d45a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={formData:null},i={mutSetFormData:function(e,t){e.formData=t}},a={},o={namespaced:!0,state:r,mutations:i,actions:a};t.default=o},dbd8:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("3bcf"));function i(e){return e&&e.__esModule?e:{default:e}}var a={theme:"",address_id:"",store_id:"",form_data:{},big_gift_pic:""},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";break;case 2:e.theme="romantic-powder-gift";break;case 3:e.theme="taste-red-gift";break;case 4:e.theme="elegant-purple-gift";break;case 5:e.theme="fresh-green-gift";break;case 6:e.theme="business-blue-gift";break;default:e.theme="streamer-gold-gift"}},setFormData:function(e,t){e.form_data=t}},l={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)):1===t.code&&console.log(t)})).catch((function(){e.hideLoading()}))}},c={namespaced:!0,state:a,getters:o,mutations:s,actions:l};t.default=c}).call(this,n("543d")["default"])},dd79: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,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)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=c(e);e=v.address,g.phone=v.phone;var y=u(e);e=y.address,g.postalCode=y.postalCode;var m=e.split(" ").filter((function(e){return e})).map((function(e){return e.trim()}));if(m.forEach((function(e){if(g.province[0]&&g.city[0]&&g.area[0])g.detail.push(e);else{var t;1===d&&(t=l(e,g)),0===d&&(t=s(e,g,n,r,i));var a=t,o=a.province,c=a.city,u=a.area,p=a.detail;g.province=o||[],g.area=u||[],g.city=c||[],g.detail=g.detail.concat(p||[])}})),!g.name){var x=JSON.parse(JSON.stringify(g.detail));x.sort((function(e,t){return e.length-t.length})),g.name=x[0];var _=g.detail.findIndex((function(e){return e===g.name}));g.detail.splice(_,1)}var b=g.province[0],w=g.city[0],S=g.area[0],A=g.detail;return Object.assign(g,{province:b&&b.name||"",city:w&&w.name||"",area:S&&S.name||"",detail:A&&A.length>0&&A.join("")||""})},s=function(e,t,n,r,i){var a=t.province||[],o=t.city||[],s=t.area||[],l=[],c="";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=[],c=p,a.push(h))}a[0]&&(e=e.replace(c,""))}if(0===o.length){for(var g=1;g<e.length;g++){var v=e.substring(0,g+1),y=new RegExp('{"code":"[0-9]{1,6}","name":"'.concat(v,'[一-龥]*?","provinceCode":"').concat(a[0]?"".concat(a[0].code):"[0-9]{1,6}",'"}'),"g"),m=r.match(y);if(!m)break;var x=JSON.parse(m[0]);1===m.length&&(o=[],c=v,o.push(x))}if(o[0]){var _=o[0].provinceCode;if(e=e.replace(c,""),0===a.length){var b=new RegExp('{"code":"'.concat(_,'","name":"[一-龥]+?"}'),"g"),w=n.match(b);a.push(JSON.parse(w[0]))}}}if(0===s.length){for(var S=1;S<e.length;S++){var A=e.substring(0,S+1),k=new RegExp('{"code":"[0-9]{1,6}","name":"'.concat(A,'[一-龥]*?","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 T=JSON.parse(P[0]);1===P.length&&(s=[],c=A,s.push(T))}if(s[0]){var O=s[0],C=O.provinceCode,j=O.cityCode;if(e=e.replace(c,""),0===a.length){var $=new RegExp('{"code":"'.concat(C,'","name":"[一-龥]+?"}'),"g"),L=n.match($);a.push(JSON.parse(L[0]))}if(0===o.length){var M=new RegExp('{"code":"'.concat(j,'","name":"[一-龥]+?","provinceCode":"').concat(C,'"}'),"g"),D=r.match(M);o.push(JSON.parse(D[0]))}}}return e.length>0&&l.push(e),{province:a,city:o,area:s,detail:l}},l=function(e,t){var n=[],i=[],a=[],o=[];if(t.province[0])n=t.province;else{var s,l=r(provinces);try{for(l.s();!(s=l.n()).done;){for(var c=s.value,u=c.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(c),e=e.replace(p,"");break}}}catch(w){l.e(w)}finally{l.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="",l=r.length;l>1;l--){var c=r.substring(0,l);if(0===e.indexOf(c)){s=c;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 y=v();if("break"===y)break}}catch(w){g.e(w)}finally{g.f()}}var m,x=r(areas);try{var _=function(){var t=m.value,r=t.name,o=t.provinceCode,s=t.cityCode,l=n[0],c=i[0];if(l||c){if(l&&l.code===o||(c&&c.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),!c&&i.push(cities.find((function(e){return e.code===s}))),!l&&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(x.s();!(m=x.n()).done;){var b=_();if("break"===b)break}}catch(w){x.e(w)}finally{x.f()}return e.length>0&&o.push(e),{province:n,city:i,area:a,detail:o}},c=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},e1a5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n("66fd")),i=m(n("2f62")),a=m(n("477c")),o=m(n("ebd6")),s=m(n("6b9a")),l=m(n("705e")),c=m(n("d45a")),u=m(n("0701")),p=m(n("3704")),d=m(n("b1fb")),f=m(n("7246")),h=m(n("ba04")),g=m(n("b094")),v=m(n("83a5")),y=m(n("dbd8"));function m(e){return e&&e.__esModule?e:{default:e}}r.default.use(i.default);var x=new i.default.Store({modules:{mallConfig:a.default,user:o.default,gConfig:s.default,index:l.default,orderSubmit:c.default,pagination:u.default,loading:p.default,payment:d.default,scanCode:f.default,page:h.default,userCenter:g.default,iPhoneX:v.default,gift:y.default}}),_=x;t.default=_},ebd6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("51f0"));function i(e){return e&&e.__esModule?e:{default:e}}var a={accessToken:null,info:null,showLoginModal:!1,tempParentId:0},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}},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}},l={accessToken:function(e){r.default.isLogin()||e.commit("accessToken",null),r.default.getAccessToken().then((function(t){e.commit("accessToken",t)})).catch((function(e){}))},info:function(e){r.default.isLogin()||e.commit("accessToken",null),r.default.getAccessToken().then((function(t){e.commit("accessToken",t),r.default.getInfo().then((function(t){e.commit("info",t)})).catch((function(e){}))})).catch((function(e){}))},refreshInfo: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)})).catch((function(e){}))},logout:function(e){e.commit("accessToken",null),r.default.loginByToken(null)}},c={namespaced:!0,state:a,getters:o,mutations:s,actions:l};t.default=c},ecb4:function(e,t){},eebc: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),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).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,l,"next",e)}function l(e){a(o,r,i,s,l,"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)}}(),l=s;t.default=l},f0c5:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s,l,c){var u,p="function"===typeof e?e.options:e;if(l){p.components||(p.components={});var d=Object.prototype.hasOwnProperty;for(var f in l)d.call(l,f)&&!d.call(p.components,f)&&(p.components[f]=l[f])}if(c&&((c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(p.mixins||(p.mixins=[])).push(c)),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}))},f3fa:function(e,t,n){"use strict";var r;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={index:{config:"api/index/config",index:"api/index/index",buy_data:"api/index/purchase"},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",config:"api/user/config",is_clerk:"api/user/is-clerk-user"},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"},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"},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"},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"},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"},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"},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"},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:{share:"api/qrcode/share",goods:"api/qrcode/goods",topic:"api/qrcode/topic",footprint:"api/qrcode/footprint"},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"},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"},pt:{index:"plugin/pintuan/api/index/index",goods:"plugin/pintuan/api/goods/index",detail:"plugin/pintuan/api/goods/detail",cats:"plugin/pintuan/api/goods/cats",order_preview:"plugin/pintuan/api/order/order-preview",order_submit:"plugin/pintuan/api/order/submit",list:"plugin/pintuan/api/order/pintuan-list",pt_detail:"plugin/pintuan/api/order/pintuan-detail",order:"plugin/pintuan/api/order/list",poster:"plugin/pintuan/api/index/poster",order_poster:"plugin/pintuan/api/order/poster"},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"},app_admin:(r={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",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/index",verify:"api/admin/cash/verify",user_cash:"api/admin/cash/cash",postage:"api/admin/postage-rule/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"},i(r,"shou_huo","api/admin/order/shou-huo"),i(r,"goods_edit","api/admin/goods/edit"),i(r,"sellerRemark","api/admin/order/seller-remark"),i(r,"confirm","api/admin/order/confirm"),i(r,"queue","api/admin/review/queue-status"),r),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/goods/index",estimate:"plugin/miaosha/api/goods/estimate",goods_detail:"plugin/miaosha/api/goods/detail",cats:"plugin/miaosha/api/goods/cats",goods_info:"plugin/miaosha/api/goods/miaosha",order_preview:"plugin/miaosha/api/order/order-preview",order_submit:"plugin/miaosha/api/order/submit",today_goods:"plugin/miaosha/api/goods/today-miaosha",time_list:"plugin/miaosha/api/goods/time-list",add_cart:"plugin/miaosha/api/index/add-cart",cart_edit:"plugin/miaosha/api/index/cart-edit",poster:"plugin/miaosha/api/index/poster"},diy:{page_store:"plugin/diy/api/page/store",receive:"plugin/diy/api/ad-award/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",order_submit:"plugin/vip_card/api/order/submit",pay_data:"plugin/vip_card/api/order/pay-data"},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"},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"},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"},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"},live:{index:"api/live/index",playback:"api/live/play-back"},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"}},o=a;t.default=o}}]);
|