(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"00c7":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("34cf")),i=r(A("3b2d")),a={version:"v2.5.0-20230101",yAxisWidth:15,xAxisHeight:22,padding:[10,10,10,10],rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,radarLabelTextMargin:13},o=function(e){for(var t=arguments.length,A=new Array(t>1?t-1:0),r=1;re.end.x||t.end.xe.start.y||t.start.y1&&(n.extra.mount.widthRatio>2&&(n.extra.mount.widthRatio=2),a+=(n.extra.mount.widthRatio-1)*A.eachSpacing);var o=t;return t>=0?(o=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",n.xAxis.scrollPosition="left"):Math.abs(t)>=a-i?(o=i-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",n.xAxis.scrollPosition="right"):(e.scrollOption.position=t,n.xAxis.scrollPosition=t),o}function f(e,t,A){function r(e){while(e<0)e+=2*Math.PI;while(e>2*Math.PI)e-=2*Math.PI;return e}return e=r(e),t=r(t),A=r(A),t>A&&(A+=2*Math.PI,e=t&&e<=A}function d(e,t){function A(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))}function r(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].x>=Math.max(e[t-1].x,e[t+1].x)||e[t].x<=Math.min(e[t-1].x,e[t+1].x))}var n=.2,i=.2,a=null,o=null,s=null,l=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*n,o=e[0].y+(e[1].y-e[0].y)*n):(a=e[t].x+(e[t+1].x-e[t-1].x)*n,o=e[t].y+(e[t+1].y-e[t-1].y)*n),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 A(e,t+1)&&(l=e[t+1].y),A(e,t)&&(o=e[t].y),r(e,t+1)&&(s=e[t+1].x),r(e,t)&&(a=e[t].x),(o>=Math.max(e[t].y,e[t+1].y)||o<=Math.min(e[t].y,e[t+1].y))&&(o=e[t].y),(l>=Math.max(e[t].y,e[t+1].y)||l<=Math.min(e[t].y,e[t+1].y))&&(l=e[t+1].y),(a>=Math.max(e[t].x,e[t+1].x)||a<=Math.min(e[t].x,e[t+1].x))&&(a=e[t].x),(s>=Math.max(e[t].x,e[t+1].x)||s<=Math.min(e[t].x,e[t+1].x))&&(s=e[t+1].x),{ctrA:{x:a,y:o},ctrB:{x:s,y:l}}}function h(e,t,A){return{x:A.x+e,y:A.y-t}}function p(e,t){if(t)while(s.isCollision(e,t))e.start.x>0?e.start.y--:e.start.x<0||e.start.y>0?e.start.y++:e.start.y--;return e}function g(e,t,A){for(var r=0,n=0;n=1e4?1e3:r>=1e3?100:r>=100?10:r>=10?5:r>=1?1:r>=.1?.1:r>=.01?.01:r>=.001?.001:r>=1e-4?1e-4:r>=1e-5?1e-5:1e-6,{minRange:c(e,"lower",A),maxRange:c(t,"upper",A)}}function B(e,t,A){var r=0;if(e=String(e),!1!==A&&void 0!==A&&A.setFontSize&&A.measureText)return A.setFontSize(t),A.measureText(e).width;e=e.split("");for(var n=0;n-1;if(i)for(var a=E(e),o=0;o5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],o={};if(r.length>0){for(var s=[],l=0;l0&&(r=n[A]),{text:i.formatter?i.formatter(e,r,A,t):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}})),f={x:Math.round(o.x),y:Math.round(o.y)};return{textList:u,offset:f}}function U(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=t.chartData.xAxisPoints[A]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:n.formatter?n.formatter(e,r[A],A,t):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));var o={x:Math.round(i),y:0};return{textList:a,offset:o}}function S(e,t,A,r,n,i){var a=A.chartData.calPoints,o=i.color.upFill,s=i.color.downFill,l=[o,o,s,o],c=[];t.map((function(t){0==r?t.data[1]-t.data[0]<0?l[1]=s:l[1]=o:(t.data[0]e[r-1][1]&&(l[2]=o),t.data[3]=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function I(e,t,A){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(A,2)}function P(e,t){var A=[],r=[];return e.forEach((function(e,n){t.connectNulls?null!==e&&r.push(e):null!==e?r.push(e):(r.length&&A.push(r),r=[])})),r.length&&A.push(r),A}function _(e,t,A,r,n){var i={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix},a=t.xAxis.fontSize*t.pix,o=e.map((function(e,A){var r=t.xAxis.formatter?t.xAxis.formatter(e,A,t):e;return B(String(r),a,n)})),s=Math.max.apply(this,o);if(1==t.xAxis.rotateLabel){i.angle=t.xAxis.rotateAngle*Math.PI/180;var l=t.xAxis.marginTop*t.pix*2+Math.abs(s*Math.sin(i.angle));l=l4&&void 0!==arguments[4]?arguments[4]:-1;n="stack"==r?w(e,t.categories.length):x(e);var o=[];n=n.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),n.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){o.push(e)})):o.push(e[0]):o.push(e.value):o.push(e)}));var s=0,l=0;if(o.length>0&&(s=Math.min.apply(this,o),l=Math.max.apply(this,o)),a>-1?("number"===typeof t.xAxis.data[a].min&&(s=Math.min(t.xAxis.data[a].min,s)),"number"===typeof t.xAxis.data[a].max&&(l=Math.max(t.xAxis.data[a].max,l))):("number"===typeof t.xAxis.min&&(s=Math.min(t.xAxis.min,s)),"number"===typeof t.xAxis.max&&(l=Math.max(t.xAxis.max,l))),s===l){var c=l||10;l+=c}for(var u=s,f=l,d=[],h=(f-u)/t.xAxis.splitNumber,p=0;p<=t.xAxis.splitNumber;p++)d.push(u+h*p);return d}(e,t,A,n.type),a.rangesFormat=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));var l=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));a=Object.assign(a,q(l,t,A));a.eachSpacing,l.map((function(e){return B(e,t.xAxis.fontSize*t.pix,r)}));return!0===t.xAxis.disabled&&(a.xAxisHeight=0),a}function L(e,t,A,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=n.extra.radar||{};a.max=a.max||0;for(var o=Math.max(a.max,Math.max.apply(null,x(r))),s=[],l=function(n){var a=r[n],l={};l.color=a.color,l.legendShape=a.legendShape,l.pointShape=a.pointShape,l.data=[],a.data.forEach((function(r,n){var a={};a.angle=e[n],a.proportion=r/o,a.value=r,a.position=h(A*a.proportion*i*Math.cos(a.angle),A*a.proportion*i*Math.sin(a.angle),t),l.data.push(a)})),s.push(l)},c=0;c2&&void 0!==arguments[2]?arguments[2]:1,r=0,n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0,a=0,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:1;1==A&&(A=.999999);for(var r=0;r=2&&(n._proportion_=n._proportion_%2)}return e}function K(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==A&&(A=.999999);for(var r=0;r=2&&(n._proportion_=n._proportion_%2)}return e}function R(e,t,A){var r;r=A=2&&(e[i]._endAngle_=e[i]._endAngle_%2),n=e[i]._endAngle_;return e}function j(e,t,A){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n=A.oldData?i._proportion_=(i._endAngle_-i._oldAngle_)*r+A.oldAngle:i._proportion_=i._oldAngle_-(i._oldAngle_-i._endAngle_)*r,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function N(e,t,A,r,n,i){return e.map((function(e){if(null===e)return null;var n=0,a=0;return"mix"==i.type?(n=i.extra.mix.column.seriesGap*i.pix||0,a=i.extra.mix.column.categoryGap*i.pix||0):(n=i.extra.column.seriesGap*i.pix||0,a=i.extra.column.categoryGap*i.pix||0),n=Math.min(n,t/A),a=Math.min(a,t/A),e.width=Math.ceil((t-2*a-n*(A-1))/A),i.extra.mix&&i.extra.mix.column.width&&+i.extra.mix.column.width>0&&(e.width=Math.min(e.width,+i.extra.mix.column.width*i.pix)),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e.x+=(r+.5-A/2)*(e.width+n),e}))}function G(e,t,A,r,n,i){return e.map((function(e){if(null===e)return null;var n=0,a=0;return n=i.extra.bar.seriesGap*i.pix||0,a=i.extra.bar.categoryGap*i.pix||0,n=Math.min(n,t/A),a=Math.min(a,t/A),e.width=Math.ceil((t-2*a-n*(A-1))/A),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e.y+=(r+.5-A/2)*(e.width+n),e}))}function V(e,t,A,r,n,i,a){var o=i.extra.column.categoryGap*i.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*o,i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),r>0&&(e.width-=a),e)}))}function W(e,t,A,r,n,i,a){var o=i.extra.column.categoryGap*i.pix||0;return e.map((function(e,A){return null===e?null:(e.width=Math.ceil(t-2*o),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function z(e,t,A,r,n,i,a){var o=i.extra.bar.categoryGap*i.pix||0;return e.map((function(e,A){return null===e?null:(e.width=Math.ceil(t-2*o),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function q(e,t,A){var r=t.width-t.area[1]-t.area[3],n=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type||"scatter"==t.type||"bubble"==t.type||"bar"==t.type)&&n>1&&"justify"==t.xAxis.boundaryGap&&(n-=1);var i=0;"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),i=t.extra.mount.widthRatio-1,n+=i);var a=r/n,o=[],s=t.area[3],l=t.width-t.area[1];return e.forEach((function(e,t){o.push(s+i/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?o.push(s+i*a+e.length*a):o.push(l)),{xAxisPoints:o,startX:s,endX:l,eachSpacing:a}}function X(e,t,A,r,n,i,a){var o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[],l=i.height-i.area[0]-i.area[2];return e.forEach((function(e,a){if(null===e)s.push(null);else{var c=[];e.forEach((function(e,s){var u={};u.x=r[a]+Math.round(n/2);var f=e.value||e,d=l*(f-t)/(A-t);d*=o,u.y=i.height-Math.round(d)-i.area[2],c.push(u)})),s.push(c)}})),s}function J(e,t,A,r,n,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=a.type&&"area"!=a.type&&"scatter"!=a.type&&"bubble"!=a.type||(l=a.xAxis.boundaryGap);var c=[],u=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)c.push(null);else{var d={};d.color=e.color,d.x=r[o];var h,p,g,y=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(a.chartData.xAxisData.ranges),p=h.shift(),g=h.pop(),y=e[1],d.x=a.area[3]+f*(e[0]-p)/(g-p),"bubble"==a.type&&(d.r=e[2],d.t=e[3]);else y=e.value;"center"==l&&(d.x+=n/2);var v=u*(y-t)/(A-t);v*=s,d.y=a.height-v-a.area[2],c.push(d)}})),c}function Y(e,t,A,r,n,a,o,s,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var c=a.xAxis.boundaryGap,u=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)u.push(null);else{var h={};if(h.color=e.color,"vertical"==s.animation){h.x=r[o];var p,g,y,v=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)p=[].concat(a.chartData.xAxisData.ranges),g=p.shift(),y=p.pop(),v=e[1],h.x=a.area[3]+d*(e[0]-g)/(y-g);else v=e.value;"center"==c&&(h.x+=n/2);var B=f*(v-t)/(A-t);B*=l,h.y=a.height-B-a.area[2],u.push(h)}else{h.x=r[0]+n*o*l;v=e;"center"==c&&(h.x+=n/2);B=f*(v-t)/(A-t);h.y=a.height-B-a.area[2],u.push(h)}}})),u}function $(e,t,A,r,n,a,o,s,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var c=[],u=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)c.push(null);else{var s={};s.color=e.color,s.x=r[o];var d,h,p,g=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)d=[].concat(a.chartData.xAxisData.ranges),h=d.shift(),p=d.pop(),g=e[1],s.x=a.area[3]+f*(e[0]-h)/(p-h);else g=e.value;s.x+=n/2;var y=u*(g*l-t)/(A-t);s.y=a.height-y-a.area[2],c.push(s)}})),c}function Z(e,t,A,r,n,i,a,o){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,l=[],c=i.height-i.area[0]-i.area[2],u=(i.width,i.area[1],i.area[3],n*a.widthRatio);return e.forEach((function(e,a){if(null===e)l.push(null);else{var o={};o.color=e.color,o.x=r[a],o.x+=n/2;var f=e.data,d=c*(f*s-t)/(A-t);o.y=i.height-d-i.area[2],o.value=f,o.width=u,l.push(o)}})),l}function ee(e,t,A,r,n,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=(a.height,a.area[0],a.area[2],a.width-a.area[1]-a.area[3]);return e.forEach((function(e,n){if(null===e)l.push(null);else{var o={};o.color=e.color,o.y=r[n];var u=e;"object"===(0,i.default)(e)&&null!==e&&(u=e.value);var f=c*(u-t)/(A-t);f*=s,o.height=f,o.value=u,o.x=f+a.area[3],l.push(o)}})),l}function te(e,t,A,r,n,a,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],f=a.height-a.area[0]-a.area[2];return e.forEach((function(e,o){if(null===e)u.push(null);else{var d={};if(d.color=e.color,d.x=r[o]+Math.round(n/2),s>0){for(var h=0,p=0;p<=s;p++)h+=l[p].data[o];var g=h-e,y=f*(h-t)/(A-t),v=f*(g-t)/(A-t)}else{h=e;"object"===(0,i.default)(e)&&null!==e&&(h=e.value);y=f*(h-t)/(A-t),v=0}var B=v;y*=c,B*=c,d.y=a.height-Math.round(y)-a.area[2],d.y0=a.height-Math.round(B)-a.area[2],u.push(d)}})),u}function Ae(e,t,A,r,n,a,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,n){if(null===e)u.push(null);else{var o={};if(o.color=e.color,o.y=r[n],s>0){for(var d=0,h=0;h<=s;h++)d+=l[h].data[n];var p=d-e,g=f*(d-t)/(A-t),y=f*(p-t)/(A-t)}else{d=e;"object"===(0,i.default)(e)&&null!==e&&(d=e.value);g=f*(d-t)/(A-t),y=0}var v=y;g*=c,v*=c,o.height=g-v,o.x=a.area[3]+g,o.x0=a.area[3]+v,u.push(o)}})),u}function re(e,t,A,r,n){var a;a="stack"==r?w(e,t.categories.length):x(e);var o=[];a=a.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){o.push(e)})):o.push(e[1]):o.push(e.value):o.push(e)}));var s=n.min||0,l=n.max||0;o.length>0&&(s=Math.min.apply(this,o),l=Math.max.apply(this,o)),s===l&&(0==l?l=10:s=0);for(var c=v(s,l),u=void 0===n.min||null===n.min?c.minRange:n.min,f=void 0===n.max||null===n.max?c.maxRange:n.max,d=(f-u)/t.yAxis.splitNumber,h=[],p=0;p<=t.yAxis.splitNumber;p++)h.push(u+d*p);return h.reverse()}function ne(e,t,A,r){var n=o({},{type:""},t.extra.column),i=t.yAxis.data.length,a=new Array(i);if(i>0){for(var l=0;l0&&0==n.tooltip.group.includes(a))){var o="number"===typeof n.tooltip.index?n.tooltip.index:n.tooltip.index[n.tooltip.group.indexOf(a)];if(r.beginPath(),"hollow"==i.activeType?(r.setStrokeStyle(t),r.setFillStyle(n.background),r.setLineWidth(2*n.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*n.pix)),"diamond"===A)e.forEach((function(e,t){null!==e&&o==t&&(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))}));else if("circle"===A)e.forEach((function(e,t){null!==e&&o==t&&(r.moveTo(e.x+2.5*n.pix,e.y),r.arc(e.x,e.y,3*n.pix,0,2*Math.PI,!1))}));else if("square"===A)e.forEach((function(e,t){null!==e&&o==t&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===A)e.forEach((function(e,t){null!==e&&o==t&&(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))}));else if("none"===A)return;r.closePath(),r.fill(),r.stroke()}}function se(e,t,A,r){var n=e.title.fontSize||t.titleFontSize,i=e.subtitle.fontSize||t.subtitleFontSize,a=e.title.name||"",o=e.subtitle.name||"",s=e.title.color||e.fontColor,l=e.subtitle.color||e.fontColor,c=a?n:0,u=o?i:0;if(o){var f=B(o,i*e.pix,A),d=r.x-f/2+(e.subtitle.offsetX||0)*e.pix,h=r.y+i*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(h+=(c*e.pix+5)/2),A.beginPath(),A.setFontSize(i*e.pix),A.setFillStyle(l),A.fillText(o,d,h),A.closePath(),A.stroke()}if(a){var p=B(a,n*e.pix,A),g=r.x-p/2+(e.title.offsetX||0),y=r.y+n*e.pix/2+(e.title.offsetY||0)*e.pix;o&&(y-=(u*e.pix+5)/2),A.beginPath(),A.setFontSize(n*e.pix),A.setFillStyle(s),A.fillText(a,g,y),A.closePath(),A.stroke()}}function le(e,t,A,r,n){var a=t.data,o=t.textOffset?t.textOffset:0;e.forEach((function(e,s){if(null!==e){r.beginPath();var l=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||n.fontColor);var c=a[s];"object"===(0,i.default)(a[s])&&null!==a[s]&&(c=a[s].constructor.toString().indexOf("Array")>-1?a[s][1]:a[s].value);var u=t.formatter?t.formatter(c,s,t,n):c;r.setTextAlign("center"),r.fillText(String(u),e.x,e.y-4+o*n.pix),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function ce(e,t,A,r,n){var a=t.data,o=t.textOffset?t.textOffset:0,s=n.extra.column.labelPosition;e.forEach((function(e,l){if(null!==e){r.beginPath();var c=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(c),r.setFillStyle(t.textColor||n.fontColor);var u=a[l];"object"===(0,i.default)(a[l])&&null!==a[l]&&(u=a[l].constructor.toString().indexOf("Array")>-1?a[l][1]:a[l].value);var f=t.formatter?t.formatter(u,l,t,n):u;r.setTextAlign("center");var d=e.y-4*n.pix+o*n.pix;e.y>t.zeroPoints&&(d=e.y+o*n.pix+c),"insideTop"==s&&(d=e.y+c+o*n.pix,e.y>t.zeroPoints&&(d=e.y-o*n.pix-4*n.pix)),"center"==s&&(d=e.y+o*n.pix+(n.height-n.area[2]-e.y+c)/2,t.zeroPointst.zeroPoints&&(d=e.y-o*n.pix-(e.y-t.zeroPoints-c)/2),"stack"==n.extra.column.type&&(d=e.y+o*n.pix+(e.y0-e.y+c)/2)),"bottom"==s&&(d=n.height-n.area[2]+o*n.pix-4*n.pix,t.zeroPointst.zeroPoints&&(d=t.zeroPoints-o*n.pix+c+2*n.pix),"stack"==n.extra.column.type&&(d=e.y0+o*n.pix-4*n.pix)),r.fillText(String(f),e.x,d),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function ue(e,t,A,r,n,i){t.data;var a=t.textOffset?t.textOffset:0;n.extra.mount.labelPosition;e.forEach((function(e,o){if(null!==e){r.beginPath();var s=t[o].textSize?t[o].textSize*n.pix:A.fontSize;r.setFontSize(s),r.setFillStyle(t[o].textColor||n.fontColor);var l=e.value,c=t[o].formatter?t[o].formatter(l,o,t,n):l;r.setTextAlign("center");var u=e.y-4*n.pix+a*n.pix;e.y>i&&(u=e.y+a*n.pix+s),r.fillText(String(c),e.x,u),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function fe(e,t,A,r,n){var a=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,o){if(null!==e){r.beginPath();var s=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(s),r.setFillStyle(t.textColor||n.fontColor);var l=a[o];"object"===(0,i.default)(a[o])&&null!==a[o]&&(l=a[o].value);var c=t.formatter?t.formatter(l,o,t,n):l;r.setTextAlign("left"),r.fillText(String(c),e.x+4*n.pix,e.y+s/2-3),r.closePath(),r.stroke()}}))}function de(e,t,A,r,n,i){var a;t-=e.width/2+e.labelOffset*r.pix,t=t<10?10:t,a=e.endAngle=2&&(c%=2),u+=l}}function he(e,t,A,r,n,i){var a=r.extra.radar||{};e.forEach((function(e,o){if(!0===a.labelPointShow&&""!==r.categories[o]){var l={x:t*Math.cos(e),y:t*Math.sin(e)},c=h(l.x,l.y,A);i.setFillStyle(a.labelPointColor),i.beginPath(),i.arc(c.x,c.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),i.closePath(),i.fill()}if(!0===a.labelShow){var u={x:(t+n.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+n.radarLabelTextMargin*r.pix)*Math.sin(e)},f=h(u.x,u.y,A),d=f.x,p=f.y;s.approximatelyEqual(u.x,0)?d-=B(r.categories[o]||"",n.fontSize,i)/2:u.x<0&&(d-=B(r.categories[o]||"",n.fontSize,i)),i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(a.labelColor||r.fontColor),i.fillText(r.categories[o]||"",d,p+n.fontSize/2),i.closePath(),i.stroke()}}))}function pe(e,t,A,r,n,i){for(var a=A.pieChartLinePadding,o=[],l=null,c=e.map((function(A,r){var n=A.formatter?A.formatter(A,r,e,t):s.toFixed(100*A._proportion_.toFixed(4))+"%";n=A.labelText?A.labelText:n;var i=2*Math.PI-(A._start_+2*Math.PI*A._proportion_/2);A._rose_proportion_&&(i=2*Math.PI-(A._start_+2*Math.PI*A._rose_proportion_/2));var a=A.color,o=A._radius_;return{arc:i,text:n,color:a,radius:o,textColor:A.textColor,textSize:A.textSize,labelShow:A.labelShow}})),u=0;u=0?d+A.pieChartTextPadding:d-A.pieChartTextPadding,w=g,m=B(f.text,f.textSize*t.pix||A.fontSize,r),b=w;l&&s.isSameXCoordinateArea(l.start,{x:x})&&(b=x>0?Math.min(w,l.start.y):d<0||w>0?Math.max(w,l.start.y):Math.min(w,l.start.y)),x<0&&(x-=m);var C={lineStart:{x:y,y:v},lineEnd:{x:d,y:g},start:{x:x,y:b},width:m,height:A.fontSize,text:f.text,color:f.color,textColor:f.textColor,textSize:f.textSize};l=p(C,l),o.push(l)}for(var F=0;Fn?n:i.activeWidth;var a=t.area[0],s=t.height-t.area[2];r.beginPath(),r.setFillStyle(l(i.activeBgColor,i.activeBgOpacity)),r.rect(e-i.activeWidth/2,a,i.activeWidth,s-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Be(e,t,A,r,n){var i=o({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],s=t.width-t.area[1];r.beginPath(),r.setFillStyle(l(i.activeBgColor,i.activeBgOpacity)),r.rect(a,e-n/2,s-a,n),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function xe(e,t,A,r,n,i,a){var s=o({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,boxPadding:3,fontColor:"#FFFFFF",fontSize:13,lineHeight:20,legendShow:!0,legendShape:"auto",splitLine:!0},A.extra.tooltip);1==s.showCategory&&A.categories&&e.unshift({text:A.categories[A.tooltip.index],color:null});var c=s.fontSize*A.pix,u=s.lineHeight*A.pix,f=s.boxPadding*A.pix,d=c,h=5*A.pix;0==s.legendShow&&(d=0,h=0);var p=s.showArrow?8*A.pix:0,g=!1;"line"!=A.type&&"mount"!=A.type&&"area"!=A.type&&"candle"!=A.type&&"mix"!=A.type||1==s.splitLine&&function(e,t,A,r){var n=t.extra.tooltip||{};n.gridType=void 0==n.gridType?"solid":n.gridType,n.dashLength=void 0==n.dashLength?4:n.dashLength;var i=t.area[0],a=t.height-t.area[2];if("dash"==n.gridType&&r.setLineDash([n.dashLength,n.dashLength]),r.setStrokeStyle(n.gridColor||"#cccccc"),r.setLineWidth(1*t.pix),r.beginPath(),r.moveTo(e,i),r.lineTo(e,a),r.stroke(),r.setLineDash([]),n.xAxisLabel){var o=t.categories[t.tooltip.index];r.setFontSize(A.fontSize);var s=B(o,A.fontSize,r),c=e-.5*s,u=a+2*t.pix;r.beginPath(),r.setFillStyle(l(n.labelBgColor||A.toolTipBackground,n.labelBgOpacity||A.toolTipOpacity)),r.setStrokeStyle(n.labelBgColor||A.toolTipBackground),r.setLineWidth(1*t.pix),r.rect(c-n.boxPadding*t.pix,u,s+2*n.boxPadding*t.pix,A.fontSize+2*n.boxPadding*t.pix),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(A.fontSize),r.setFillStyle(n.labelFontColor||t.fontColor),r.fillText(String(o),c,u+n.boxPadding*t.pix+A.fontSize),r.closePath(),r.stroke()}}(A.tooltip.offset.x,A,r,n),t=o({x:0,y:0},t),t.y-=8*A.pix;var y=e.map((function(e){return B(e.text,c,n)})),v=d+h+4*f+Math.max.apply(null,y),x=2*f+e.length*u;if(0!=s.showBox){t.x-Math.abs(A._scrollDistance_||0)+p+v>A.width&&(g=!0),x+t.y>A.height&&(t.y=A.height-x),n.beginPath(),n.setFillStyle(l(s.bgColor,s.bgOpacity)),n.setLineWidth(s.borderWidth*A.pix),n.setStrokeStyle(l(s.borderColor,s.borderOpacity));var w=s.borderRadius;g?(v+p>A.width&&(t.x=A.width+Math.abs(A._scrollDistance_||0)+p+(v-A.width)),v>t.x&&(t.x=A.width+Math.abs(A._scrollDistance_||0)+p+(v-A.width)),s.showArrow&&(n.moveTo(t.x,t.y+10*A.pix),n.lineTo(t.x-p,t.y+10*A.pix+5*A.pix)),n.arc(t.x-p-w,t.y+x-w,w,0,Math.PI/2,!1),n.arc(t.x-p-Math.round(v)+w,t.y+x-w,w,Math.PI/2,Math.PI,!1),n.arc(t.x-p-Math.round(v)+w,t.y+w,w,-Math.PI,-Math.PI/2,!1),n.arc(t.x-p-w,t.y+w,w,-Math.PI/2,0,!1),s.showArrow&&(n.lineTo(t.x-p,t.y+10*A.pix-5*A.pix),n.lineTo(t.x,t.y+10*A.pix))):(s.showArrow&&(n.moveTo(t.x,t.y+10*A.pix),n.lineTo(t.x+p,t.y+10*A.pix-5*A.pix)),n.arc(t.x+p+w,t.y+w,w,-Math.PI,-Math.PI/2,!1),n.arc(t.x+p+Math.round(v)-w,t.y+w,w,-Math.PI/2,0,!1),n.arc(t.x+p+Math.round(v)-w,t.y+x-w,w,0,Math.PI/2,!1),n.arc(t.x+p+w,t.y+x-w,w,Math.PI/2,Math.PI,!1),s.showArrow&&(n.lineTo(t.x+p,t.y+10*A.pix+5*A.pix),n.lineTo(t.x,t.y+10*A.pix))),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke(),s.legendShow&&e.forEach((function(e,r){if(null!==e.color){n.beginPath(),n.setFillStyle(e.color);var i=t.x+p+2*f,a=t.y+(u-c)/2+u*r+f+1;switch(g&&(i=t.x-v-p+2*f),e.legendShape){case"line":n.moveTo(i,a+.5*d-2*A.pix),n.fillRect(i,a+.5*d-2*A.pix,d,4*A.pix);break;case"triangle":n.moveTo(i+7.5*A.pix,a+.5*d-5*A.pix),n.lineTo(i+2.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+12.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+7.5*A.pix,a+.5*d-5*A.pix);break;case"diamond":n.moveTo(i+7.5*A.pix,a+.5*d-5*A.pix),n.lineTo(i+2.5*A.pix,a+.5*d),n.lineTo(i+7.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+12.5*A.pix,a+.5*d),n.lineTo(i+7.5*A.pix,a+.5*d-5*A.pix);break;case"circle":n.moveTo(i+7.5*A.pix,a+.5*d),n.arc(i+7.5*A.pix,a+.5*d,5*A.pix,0,2*Math.PI);break;case"rect":n.moveTo(i,a+.5*d-5*A.pix),n.fillRect(i,a+.5*d-5*A.pix,15*A.pix,10*A.pix);break;case"square":n.moveTo(i+2*A.pix,a+.5*d-5*A.pix),n.fillRect(i+2*A.pix,a+.5*d-5*A.pix,10*A.pix,10*A.pix);break;default:n.moveTo(i,a+.5*d-5*A.pix),n.fillRect(i,a+.5*d-5*A.pix,15*A.pix,10*A.pix)}n.closePath(),n.fill()}})),e.forEach((function(e,A){var r=t.x+p+2*f+d+h;g&&(r=t.x-v-p+2*f+d+h);var i=t.y+u*A+(u-c)/2-1+f+c;n.beginPath(),n.setFontSize(c),n.setTextBaseline("normal"),n.setFillStyle(s.fontColor),n.fillText(e.text,r,i),n.closePath(),n.stroke()}))}}function we(e,t,A,r,n,i){var a=e.extra.tooltip||{};a.horizentalLine&&e.tooltip&&1===r&&("line"==e.type||"area"==e.type||"column"==e.type||"mount"==e.type||"candle"==e.type||"mix"==e.type)&&ye(e,t,A),A.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&A.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xe(e.tooltip.textList,e.tooltip.offset,e,t,A),A.restore()}function me(e,t,A,r){var n=t.chartData.xAxisData,i=n.xAxisPoints,a=n.startX,o=n.endX,s=n.eachSpacing,l="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(l=t.xAxis.boundaryGap);var c=t.height-t.area[2],u=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var f=t.height-t.area[2]+A.xAxisHeight,d=o-a,h=s*(i.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),h+=(t.extra.mount.widthRatio-1)*s);var p=d*d/h,g=0;t._scrollDistance_&&(g=-t._scrollDistance_*d/h),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(a,f),r.lineTo(o,f),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+g,f),r.lineTo(a+g+p,f),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.pix),i.forEach((function(e,A){A>0&&(r.beginPath(),r.moveTo(e-s/2,c),r.lineTo(e-s/2,c+3*t.pix),r.closePath(),r.stroke())}))),!0!==t.xAxis.disableGrid&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),"dash"==t.xAxis.gridType&&r.setLineDash([t.xAxis.dashLength*t.pix,t.xAxis.dashLength*t.pix]),t.xAxis.gridEval=t.xAxis.gridEval||1,i.forEach((function(e,A){A%t.xAxis.gridEval==0&&(r.beginPath(),r.moveTo(e,c),r.lineTo(e,u),r.stroke())})),r.setLineDash([])),!0!==t.xAxis.disabled){var y=e.length;t.xAxis.labelCount&&(y=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,y-=1);for(var v=Math.ceil(e.length/y),x=[],w=e.length,m=0;m=t.area[3]-1&&u-Math.abs(o)<=t.width-t.area[1]+1&&(r.beginPath(),r.setFontSize(b),r.setFillStyle(t.xAxis.fontColor||t.fontColor),r.fillText(String(n),i[A]+a,c+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.fontSize)*t.pix/2+t.xAxis.fontSize*t.pix),r.closePath(),r.stroke())})):x.forEach((function(e,n){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,o=t._scrollDistance_||0,u="center"==l?i[n]+s/2:i[n];if(u-Math.abs(o)>=t.area[3]-1&&u-Math.abs(o)<=t.width-t.area[1]+1){r.save(),r.beginPath(),r.setFontSize(b),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var f=B(String(a),b,r),d=i[n];"center"==l&&(d=i[n]+s/2);t.xAxis.scrollShow&&6*t.pix;var h=c+t.xAxis.marginTop*t.pix+b-b*Math.abs(Math.sin(A._xAxisTextAngle_));t.xAxis.rotateAngle<0?(d-=b/2,f=0):(d+=b/2,f=-f),r.translate(d,h),r.rotate(-1*A._xAxisTextAngle_),r.fillText(String(a),f,0),r.closePath(),r.stroke(),r.restore()}}))}r.restore(),t.xAxis.title&&(r.beginPath(),r.setFontSize(t.xAxis.titleFontSize*t.pix),r.setFillStyle(t.xAxis.titleFontColor),r.fillText(String(t.xAxis.title),t.width-t.area[1]+t.xAxis.titleOffsetX*t.pix,t.height-t.area[2]+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.titleFontSize)*t.pix/2+(t.xAxis.titleFontSize+t.xAxis.titleOffsetY)*t.pix),r.closePath(),r.stroke()),t.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(t.xAxis.axisLineColor),r.setLineWidth(1*t.pix),r.moveTo(a,t.height-t.area[2]),r.lineTo(o,t.height-t.area[2]),r.stroke())}function be(e,t,A,r){if(!0!==t.yAxis.disableGrid){var n=t.height-t.area[0]-t.area[2],i=n/t.yAxis.splitNumber,a=t.area[3],o=t.chartData.xAxisData.xAxisPoints,s=t.chartData.xAxisData.eachSpacing,l=s*(o.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),l+=(t.extra.mount.widthRatio-1)*s);var c=a+l,u=[],f=1;!1===t.xAxis.axisLine&&(f=0);for(var d=f;d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==t.type?t.extra.pie:t.extra.ring),a={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==A.pieChartLinePadding&&(A.pieChartLinePadding=i.activeRadius*t.pix);var s=Math.min((t.width-t.area[1]-t.area[3])/2-A.pieChartLinePadding-A.pieChartTextPadding-A._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-A.pieChartLinePadding-A.pieChartTextPadding);s=s<10?10:s,i.customRadius>0&&(s=i.customRadius*t.pix),e=D(e,s,n);var c=i.activeRadius*t.pix;if(i.customColor=y(i.linearType,i.customColor,e,A),e=e.map((function(e){return e._start_+=i.offsetAngle*Math.PI/180,e})),e.forEach((function(e,A){t.tooltip&&t.tooltip.index==A&&(r.beginPath(),r.setFillStyle(l(e.color,i.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_+c,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(i.borderColor);var n,o=e.color;"custom"==i.linearType&&(n=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),n.addColorStop(0,l(i.customColor[e.linearIndex],1)),n.addColorStop(1,l(e.color,1)),o=n);r.setFillStyle(o),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill(),1==i.border&&r.stroke()})),"ring"===t.type){var u=.6*s;"number"===typeof i.ringWidth&&i.ringWidth>0&&(u=Math.max(0,s-i.ringWidth*t.pix)),r.beginPath(),r.setFillStyle(i.centerColor),r.moveTo(a.x,a.y),r.arc(a.x,a.y,u,0,2*Math.PI),r.closePath(),r.fill()}return!1!==t.dataLabel&&1===n&&pe(e,t,A,r,0,a),1===n&&"ring"===t.type&&se(t,A,r,a),{center:a,radius:s,series:e}}function Ue(e,t){var A=Array(2),r=20037508.34*e/180,n=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return n=20037508.34*n/180,A[0]=r,A[1]=n,A}function Se(e,t,A,r,n,i){return{x:(t-A.xMin)*r+n,y:(A.yMax-e)*r+i}}function Ee(e,t,A){if(t[1]==A[1])return!1;if(t[1]>e[1]&&A[1]>e[1])return!1;if(t[1]e[1])return!1;if(A[1]==e[1]&&t[1]>e[1])return!1;if(t[0]t[i].area[2]||e[1]>t[i].area[3]||e[2]A||e[3]>r){n=!0;break}n=!1}return n}function _e(e,t,A){var r=e.series;switch(t){case"normal":for(var n=0;n.7},h=0;h0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var n=e[0].data,i=0;it.width-t.area[1]-t.area[3]?(f.push(p),h.push(d-t.legend.itemGap*t.pix),d=x,p=[y]):(d+=x,p.push(y))}if(p.length){f.push(p),h.push(d-t.legend.itemGap*t.pix),i.widthArr=h;var w=Math.max.apply(null,h);switch(t.legend.float){case"left":i.area.start.x=t.area[3],i.area.end.x=t.area[3]+w+2*a;break;case"right":i.area.start.x=t.width-t.area[1]-w-2*a,i.area.end.x=t.width-t.area[1];break;default:i.area.start.x=(t.width-w)/2-a,i.area.end.x=(t.width+w)/2+a}i.area.width=w+2*a,i.area.wholeWidth=w+2*a,i.area.height=f.length*u+2*a,i.area.wholeHeight=f.length*u+2*a+2*o,i.points=f}}else{var m=e.length,b=t.height-t.area[0]-t.area[2]-2*o-2*a,C=Math.min(Math.floor(b/u),m);switch(i.area.height=C*u+2*a,i.area.wholeHeight=C*u+2*a,t.legend.float){case"top":i.area.start.y=t.area[0]+o,i.area.end.y=t.area[0]+o+i.area.height;break;case"bottom":i.area.start.y=t.height-t.area[2]-o-i.area.height,i.area.end.y=t.height-t.area[2]-o;break;default:i.area.start.y=(t.height-i.area.height)/2,i.area.end.y=(t.height+i.area.height)/2}for(var F=m%C===0?m/C:Math.floor(m/C+1),Q=[],U=0;UI&&(I=_)}i.widthArr.push(I),i.heightArr.push(T.length*u+2*a)}for(var k=0,L=0;L0?T[Ee].width+t.yAxis.padding*t.pix:T[Ee].width,xe+=1):"right"==T[Ee].position&&(t.area[1]+=ye>0?T[Ee].width+t.yAxis.padding*t.pix:T[Ee].width,ye+=1)}else A.yAxisWidth=T;if(t.chartData.yAxisData=S,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=q(t.categories,t);var Te=_(t.categories,t,0,t.chartData.xAxisData.eachSpacing,r),Ie=Te.xAxisHeight,Pe=Te.angle;A.xAxisHeight=Ie,A._xAxisTextAngle_=Pe,t.area[2]+=Ie,t.chartData.categoriesData=Te}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=k(c,t,A,r),u=t.chartData.xAxisData.rangesFormat;var Oe=_(u,t,0,t.chartData.xAxisData.eachSpacing,r),He=Oe.xAxisHeight,Ke=Oe.angle;A.xAxisHeight=He,A._xAxisTextAngle_=Ke,t.area[2]+=He,t.chartData.categoriesData=Oe}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var Re,je=t.chartData.xAxisData.xAxisPoints,Ne=t.chartData.xAxisData.startX,Ge=t.chartData.xAxisData.endX,Ve=t.chartData.xAxisData.eachSpacing,We=Ve*(je.length-1),ze=Ge-Ne;Re=ze-We,a.scrollOption.currentOffset=Re,a.scrollOption.startTouchX=Re,a.scrollOption.distance=0,a.scrollOption.lastMoveTime=0,t._scrollDistance_=Re}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(A._pieTextMaxLength_=!1===t.dataLabel?0:function(e,t,A,r){e=D(e);for(var n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=_e(t,i.type,r)),r.beginPath(),r.setFillStyle(t.background),r.rect(0,0,t.width,t.height),r.fill(),r.save();var a=t.chartData.wordCloudData;r.translate(t.width/2,t.height/2);for(var s=0;s0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(l,(a[s].areav[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].areav[1]+5+c-t.height/2)*n):r.fillText(l,(a[s].areav[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].areav[1]+5+c-t.height/2)*n)):a[s].area[0]>0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(l,(a[s].area[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].area[1]+5+c-t.height/2)*n):r.fillText(l,(a[s].area[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].area[1]+5+c-t.height/2)*n)),r.stroke(),r.restore()}r.restore()}(c,t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"map":r.clearRect(0,0,t.width,t.height),function(e,t,A,r){var n,i,a=o({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),s=e,c=function(e){for(var t,A={xMin:180,xMax:0,yMin:90,yMax:0},r=0;rl.x?A.xMax:l.x,A.yMin=A.yMinl.y?A.yMax:l.y}}return A}(s);if(a.mercator){var u=Ue(c.xMax,c.yMax),f=Ue(c.xMin,c.yMin);c.xMax=u[0],c.yMax=u[1],c.xMin=f[0],c.yMin=f[1]}for(var d=t.width/Math.abs(c.xMax-c.xMin),h=t.height/Math.abs(c.yMax-c.yMin),p=d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},t.extra.funnel),a=(t.height-t.area[0]-t.area[2])/e.length,s={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},c=i.activeWidth*t.pix,u=Math.min((t.width-t.area[1]-t.area[3])/2-c,(t.height-t.area[0]-t.area[2])/2-c),f=O(e,u,i,a,n);if(r.save(),r.translate(s.x,s.y),i.customColor=y(i.linearType,i.customColor,e,A),"pyramid"==i.type)for(var d=0;d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},t.extra.line);i.width*=t.pix;var a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];r.save();var f=0,h=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),f=-t._scrollDistance_-2*c+t.area[3],h=f+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var o,p,g;r.beginPath(),r.setStrokeStyle(e.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),o=[].concat(t.chartData.yAxisData.ranges[e.index]),p=o.pop(),g=o.shift();var y=e.data,v=Y(y,p,g,s,c,t,A,i,n);u.push(v);var B=P(v,e);if("dash"==e.lineType){var x=e.dashLength?e.dashLength:8;x*=t.pix,r.setLineDash([x,x])}r.beginPath();var w=e.color;if("none"!==i.linearType&&e.linearColor&&e.linearColor.length>0){for(var m=r.createLinearGradient(t.chartData.xAxisData.startX,t.height/2,t.chartData.xAxisData.endX,t.height/2),b=0;b0?r.setShadow(e.setShadow[0],e.setShadow[1],e.setShadow[2],e.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(i.width),B.forEach((function(e,t){if(1===e.length)r.moveTo(e[0].x,e[0].y);else{r.moveTo(e[0].x,e[0].y);var A=0;if("curve"===i.type)for(var n=0;nf&&(r.moveTo(a.x,a.y),A=1),n>0&&a.x>f&&a.xf&&(r.moveTo(l.x,l.y),A=1),s>0&&l.x>f&&l.xf&&(r.moveTo(u.x,u.y),A=1),c>0&&u.x>f&&u.x4&&void 0!==arguments[4]?arguments[4]:1,i=(o({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=i.xAxisPoints,s=i.eachSpacing,l=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*s+t.area[3],t.xAxis.itemCount),e.forEach((function(e,i){var o,l,c;o=[].concat(t.chartData.yAxisData.ranges[e.index]),l=o.pop(),c=o.shift();var u=e.data,f=J(u,l,c,a,s,t,A,n);r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(e.color),r.setLineWidth(1*t.pix);var d=e.pointShape;if("diamond"===d)f.forEach((function(e,t){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))}));else if("circle"===d)f.forEach((function(e,A){null!==e&&(r.moveTo(e.x+2.5*t.pix,e.y),r.arc(e.x,e.y,3*t.pix,0,2*Math.PI,!1))}));else if("square"===d)f.forEach((function(e,t){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===d)f.forEach((function(e,t){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))}));else if("triangle"===d)return;r.closePath(),r.fill(),r.stroke()})),!1!==t.dataLabel&&1===n&&e.forEach((function(e,i){var o,l,c;o=[].concat(t.chartData.yAxisData.ranges[e.index]),l=o.pop(),c=o.shift();var u=e.data,f=J(u,l,c,a,s,t,A,n);le(f,e,A,r,t)})),r.restore(),{xAxisPoints:a,calPoints:l,eachSpacing:s}}(c,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var n=function(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*c+t.area[3],t.xAxis.itemCount),e.forEach((function(e,a){var o,u,f;o=[].concat(t.chartData.yAxisData.ranges[e.index]),u=o.pop(),f=o.shift();var d=e.data,h=J(d,u,f,s,c,t,A,n);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(i.border*t.pix),r.setFillStyle(l(e.color,i.opacity)),h.forEach((function(e,A){r.moveTo(e.x+e.r,e.y),r.arc(e.x,e.y,e.r*t.pix,0,2*Math.PI,!1)})),r.closePath(),r.fill(),r.stroke(),!1!==t.dataLabel&&1===n&&h.forEach((function(n,i){r.beginPath();var a=e.textSize*t.pix||A.fontSize;r.setFontSize(a),r.setFillStyle(e.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(n.t),n.x,n.y+a/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}(c,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var i=function(e,t,A,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{width:c/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),f=o({},{opacity:.2,gradient:!1},t.extra.mix.area),h=o({},{width:2},t.extra.mix.line),p=t.height-t.area[2],g=[],v=0,B=0;e.forEach((function(e,t){"column"==e.type&&(B+=1)})),r.save();var x=-2,w=s.length+2,m=0,b=t.width+c;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),x=Math.floor(-t._scrollDistance_/c)-2,w=x+t.xAxis.itemCount+4,m=-t._scrollDistance_-2*c+t.area[3],b=m+(t.xAxis.itemCount+4)*c),u.customColor=y(u.linearType,u.customColor,e,A),e.forEach((function(e,a){var o,y,C;o=[].concat(t.chartData.yAxisData.ranges[e.index]),y=o.pop(),C=o.shift();var F=e.data,Q=J(F,y,C,s,c,t,A,i);if(g.push(Q),"column"==e.type){Q=N(Q,c,B,v,0,t);for(var U=0;Ux&&UG?G:H,K=K>G?G:K,R=R>G?G:R,j=j>G?G:j,H=H<0?0:H,K=K<0?0:K,R=R<0?0:R,j=j<0?0:j,r.arc(k+H,L+H,H,-Math.PI,-Math.PI/2),r.arc(k+D-K,L+K,K,-Math.PI/2,0),r.arc(k+D-R,L+O-R,R,0,Math.PI/2),r.arc(k+j,L+O-j,j,Math.PI/2,Math.PI)}else r.moveTo(E,S.y),r.lineTo(E+S.width,S.y),r.lineTo(E+S.width,t.height-t.area[2]),r.lineTo(E,t.height-t.area[2]),r.lineTo(E,S.y),r.setLineWidth(1),r.setStrokeStyle(I);r.setFillStyle(T),r.closePath(),r.fill()}}v+=1}if("area"==e.type)for(var V=P(Q,e),W=0;W1){var X=z[0],Y=z[z.length-1];r.moveTo(X.x,X.y);var $=0;if("curve"===e.style)for(var Z=0;Zm&&(r.moveTo(ee.x,ee.y),$=1),Z>0&&ee.x>m&&ee.xm&&(r.moveTo(re.x,re.y),$=1),Ae>0&&re.x>m&&re.xm&&(r.moveTo(s.x,s.y),a=1),o>0&&s.x>m&&s.xm&&(r.moveTo(u.x,u.y),a=1),c>0&&u.x>m&&u.x4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},t.extra.column),f=[];r.save();var d=-2,h=s.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),d=Math.floor(-t._scrollDistance_/c)-2,h=d+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&ve(t.tooltip.offset.x,t,0,r,c),u.customColor=y(u.linearType,u.customColor,e,A),e.forEach((function(a,o){var p,g,y;p=[].concat(t.chartData.yAxisData.ranges[a.index]),g=p.pop(),y=p.shift();var v=t.height-t.area[0]-t.area[2],B=v*(0-g)/(y-g),x=t.height-Math.round(B)-t.area[2];a.zeroPoints=x;var w=a.data;switch(u.type){case"group":var m=$(w,g,y,s,c,t,A,x,i),b=te(w,g,y,s,c,t,A,o,e,i);f.push(b),m=N(m,c,e.length,o,0,t);for(var C=0;Cd&&Cx?x:F.y,_=F.width,k=Math.abs(x-F.y);u.barBorderCircle&&(u.barBorderRadius=[_/2,_/2,0,0]),F.y>x&&(u.barBorderRadius=[0,0,_/2,_/2]);var L=(0,n.default)(u.barBorderRadius,4),D=L[0],O=L[1],M=L[2],H=L[3],K=Math.min(_/2,k/2);D=D>K?K:D,O=O>K?K:O,M=M>K?K:M,H=H>K?K:H,D=D<0?0:D,O=O<0?0:O,M=M<0?0:M,H=H<0?0:H,r.arc(I+D,P+D,D,-Math.PI,-Math.PI/2),r.arc(I+_-O,P+O,O,-Math.PI/2,0),r.arc(I+_-M,P+k-M,M,0,Math.PI/2),r.arc(I+H,P+k-H,H,Math.PI/2,Math.PI)}else r.moveTo(Q,F.y),r.lineTo(Q+F.width,F.y),r.lineTo(Q+F.width,x),r.lineTo(Q,x),r.lineTo(Q,F.y),r.setLineWidth(1),r.setStrokeStyle(E);r.setFillStyle(S),r.closePath(),r.fill()}}break;case"stack":m=te(w,g,y,s,c,t,A,o,e,i);f.push(m),m=W(m,c,e.length,0,0,t);for(var R=0;Rd&&R0&&(U-=G),r.setFillStyle(S),r.moveTo(Q,j.y),r.fillRect(Q,j.y,j.width,U),r.closePath(),r.fill()}}break;case"meter":m=J(w,g,y,s,c,t,A,i);f.push(m),m=V(m,c,e.length,o,0,t,u.meterBorder);for(var z=0;zd&&z0&&(r.setStrokeStyle(a.color),r.setLineWidth(u.meterBorder*t.pix)),0==o?r.setFillStyle(u.meterFillColor):r.setFillStyle(q.color||a.color);Q=q.x-q.width/2,U=t.height-q.y-t.area[2];if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var X=Q,Y=q.y,Z=q.width,ee=x-q.y;u.barBorderCircle&&(u.barBorderRadius=[Z/2,Z/2,0,0]);var Ae=(0,n.default)(u.barBorderRadius,4),re=Ae[0],ne=Ae[1],ie=Ae[2],ae=Ae[3],oe=Math.min(Z/2,ee/2);re=re>oe?oe:re,ne=ne>oe?oe:ne,ie=ie>oe?oe:ie,ae=ae>oe?oe:ae,re=re<0?0:re,ne=ne<0?0:ne,ie=ie<0?0:ie,ae=ae<0?0:ae,r.arc(X+re,Y+re,re,-Math.PI,-Math.PI/2),r.arc(X+Z-ne,Y+ne,ne,-Math.PI/2,0),r.arc(X+Z-ie,Y+ee-ie,ie,0,Math.PI/2),r.arc(X+ae,Y+ee-ae,ae,Math.PI/2,Math.PI),r.fill()}else r.moveTo(Q,q.y),r.lineTo(Q+q.width,q.y),r.lineTo(Q+q.width,x),r.lineTo(Q,x),r.lineTo(Q,q.y),r.fill();0==o&&u.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(n,a){var o,l,f;o=[].concat(t.chartData.yAxisData.ranges[n.index]),l=o.pop(),f=o.shift();var d=n.data;switch(u.type){case"group":var h=$(d,l,f,s,c,t,A,i);h=N(h,c,e.length,a,0,t),ce(h,n,A,r,t);break;case"stack":h=te(d,l,f,s,c,t,A,a,e,i);ce(h,n,A,r,t);break;case"meter":h=J(d,l,f,s,c,t,A,i);ce(h,n,A,r,t);break}})),r.restore(),{xAxisPoints:s,calPoints:f,eachSpacing:c}}(c,t,A,r,e),a=i.xAxisPoints,s=i.calPoints,f=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=f,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var i=function(e,t,A,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);u.widthRatio=u.widthRatio<=0?0:u.widthRatio,u.widthRatio=u.widthRatio>=2?2:u.widthRatio,r.save();var f,d,h,p=-2,g=s.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=Math.floor(-t._scrollDistance_/c)-2,g=p+t.xAxis.itemCount+4),u.customColor=y(u.linearType,u.customColor,e,A),f=[].concat(t.chartData.yAxisData.ranges[0]),d=f.pop(),h=f.shift();var v=t.height-t.area[0]-t.area[2],B=v*(0-d)/(h-d),x=t.height-Math.round(B)-t.area[2],w=Z(e,d,h,s,c,t,u,x,i);switch(u.type){case"bar":for(var m=0;mp&&mx?x:b.y,I=b.width,P=Math.abs(x-b.y);u.barBorderCircle&&(u.barBorderRadius=[I/2,I/2,0,0]),b.y>x&&(u.barBorderRadius=[0,0,I/2,I/2]);var _=(0,n.default)(u.barBorderRadius,4),k=_[0],L=_[1],D=_[2],O=_[3],M=Math.min(I/2,P/2);k=k>M?M:k,L=L>M?M:L,D=D>M?M:D,O=O>M?M:O,k=k<0?0:k,L=L<0?0:L,D=D<0?0:D,O=O<0?0:O,r.arc(E+k,T+k,k,-Math.PI,-Math.PI/2),r.arc(E+I-L,T+L,L,-Math.PI/2,0),r.arc(E+I-D,T+P-D,D,0,Math.PI/2),r.arc(E+O,T+P-O,O,Math.PI/2,Math.PI)}else r.moveTo(C,b.y),r.lineTo(C+b.width,b.y),r.lineTo(C+b.width,x),r.lineTo(C,x),r.lineTo(C,b.y);r.setStrokeStyle(U),r.setFillStyle(Q),u.borderWidth>0&&(r.setLineWidth(u.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var H=0;Hp&&H0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var R=0;Rp&&R0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var N=0;Np&&N0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break}if(!1!==t.dataLabel&&1===i){var V,W,z;V=[].concat(t.chartData.yAxisData.ranges[0]),W=V.pop(),z=V.shift();w=Z(e,W,z,s,c,t,u,x,i);ue(w,e,A,r,t,x)}return r.restore(),{xAxisPoints:s,calPoints:w,eachSpacing:c}}(c,t,A,r,e),a=i.xAxisPoints,s=i.calPoints,f=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=f,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),me(u,t,A,r);var i=function(e,t,A,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=[],s=(t.height-t.area[0]-t.area[2])/t.categories.length,c=0;cd&&wO?O:_,k=k>O?O:k,L=L>O?O:L,D=D>O?O:D,_=_<0?0:_,k=k<0?0:k,L=L<0?0:L,D=D<0?0:D,r.arc(S+D,T+D,D,-Math.PI,-Math.PI/2),r.arc(m.x-_,T+_,_,-Math.PI/2,0),r.arc(m.x-k,T+E-k,k,0,Math.PI/2),r.arc(S+L,T+E-L,L,Math.PI/2,Math.PI)}else r.moveTo(b,C),r.lineTo(m.x,C),r.lineTo(m.x,C+m.width),r.lineTo(b,C+m.width),r.lineTo(b,C),r.setLineWidth(1),r.setStrokeStyle(Q);r.setFillStyle(F),r.closePath(),r.fill()}}break;case"stack":B=Ae(v,g,y,a,s,t,A,c,e,i);f.push(B),B=z(B,s,e.length,0,0,t);for(var M=0;Md&&M4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},t.extra.area),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=t.height-t.area[2],f=[];r.save();var h=0,p=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=-t._scrollDistance_-2*c+t.area[3],p=h+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var o,g,y;o=[].concat(t.chartData.yAxisData.ranges[e.index]),g=o.pop(),y=o.shift();var v=e.data,B=J(v,g,y,s,c,t,A,n);f.push(B);for(var x=P(B,e),w=0;w1){var C=m[0],F=m[m.length-1];r.moveTo(C.x,C.y);var Q=0;if("curve"===i.type)for(var U=0;Uh&&(r.moveTo(S.x,S.y),Q=1),U>0&&S.x>h&&S.xh&&(r.moveTo(I.x,I.y),Q=1),T>0&&I.x>h&&I.xh&&(r.moveTo(k.x,k.y),Q=1),_>0&&k.x>h&&k.xh&&(r.moveTo(H.x,H.y),O=1),M>0&&H.x>h&&H.xh&&(r.moveTo(j.x,j.y),O=1),R>0&&j.x>h&&j.xh&&(r.moveTo(G.x,G.y),O=1),N>0&&G.x>h&&G.x4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},t.extra.rose);0==A.pieChartLinePadding&&(A.pieChartLinePadding=i.activeRadius*t.pix);var a={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},s=Math.min((t.width-t.area[1]-t.area[3])/2-A.pieChartLinePadding-A.pieChartTextPadding-A._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-A.pieChartLinePadding-A.pieChartTextPadding);s=s<10?10:s;var c=i.minRadius||.5*s;s4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},t.extra.radar),a=F(t.categories.length),s={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},c=(t.width-t.area[1]-t.area[3])/2,u=(t.height-t.area[0]-t.area[2])/2,f=Math.min(c-(C(t.categories,A.fontSize,r)+A.radarLabelTextMargin),u-A.radarLabelTextMargin);f-=A.radarLabelTextMargin*t.pix,f=f<10?10:f,f=i.radius?i.radius:f,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),a.forEach((function(e,t){var A=h(f*Math.cos(e),f*Math.sin(e),s);r.moveTo(s.x,s.y),t%i.gridEval==0&&r.lineTo(A.x,A.y)})),r.stroke(),r.closePath();for(var d=function(e){var A={};if(r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),"radar"==i.gridType)a.forEach((function(t,n){var a=h(f/i.gridCount*e*Math.cos(t),f/i.gridCount*e*Math.sin(t),s);0===n?(A=a,r.moveTo(a.x,a.y)):r.lineTo(a.x,a.y)})),r.lineTo(A.x,A.y);else{var n=h(f/i.gridCount*e*Math.cos(1.5),f/i.gridCount*e*Math.sin(1.5),s);r.arc(s.x,s.y,s.y-n.y,0,2*Math.PI,!1)}r.stroke(),r.closePath()},p=1;p<=i.gridCount;p++)d(p);i.customColor=y(i.linearType,i.customColor,e,A);var g=L(a,s,f,e,t,n);if(g.forEach((function(A,n){r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(A.color);var a,o=l(A.color,i.opacity);"custom"==i.linearType&&(a=r.createCircularGradient?r.createCircularGradient(s.x,s.y,f):r.createRadialGradient(s.x,s.y,0,s.x,s.y,f),a.addColorStop(0,l(i.customColor[e[n].linearIndex],i.opacity)),a.addColorStop(1,l(A.color,i.opacity)),o=a);if(r.setFillStyle(o),A.data.forEach((function(e,t){0===t?r.moveTo(e.position.x,e.position.y):r.lineTo(e.position.x,e.position.y)})),r.closePath(),r.fill(),!0===i.border&&r.stroke(),r.closePath(),!1!==t.dataPointShape){var c=A.data.map((function(e){return e.position}));ae(c,A.color,A.pointShape,r,t)}})),!0===i.axisLabel){var v=Math.max(i.max,Math.max.apply(null,x(e))),B=f/i.gridCount,w=t.fontSize*t.pix;r.setFontSize(w),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(p=0;p4&&void 0!==arguments[4]?arguments[4]:1,s=o({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},t.extra.arcbar);e=H(e,s,a),n=s.centerX||s.centerY?{x:s.centerX?s.centerX:t.width/2,y:s.centerY?s.centerY:t.height/2}:{x:t.width/2,y:t.height/2},s.radius?i=s.radius:(i=Math.min(n.x,n.y),i-=5*t.pix,i-=s.width/2),i=i<10?10:i,s.customColor=y(s.linearType,s.customColor,e,A);for(var c=0;c5&&void 0!==arguments[5]?arguments[5]:1,a=o({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},A.extra.gauge);void 0==a.oldAngle&&(a.oldAngle=a.startAngle),void 0==a.oldData&&(a.oldData=0),e=R(e,a.startAngle,a.endAngle);var s={x:A.width/2,y:A.height/2},c=Math.min(s.x,s.y);c-=5*A.pix,c-=a.width/2,c=c<10?10:c;var u=c-a.width,f=0;if("progress"==a.type){var d=c-3*a.width;n.beginPath();var h=n.createLinearGradient(s.x,s.y-d,s.x,s.y+d);h.addColorStop("0",l(t[0].color,.3)),h.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(h),n.arc(s.x,s.y,d,0,2*Math.PI,!1),n.fill(),n.setLineWidth(a.width),n.setStrokeStyle(l(t[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(s.x,s.y,u,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),n.stroke(),f=a.endAnglex/v?n.setStrokeStyle(l(t[0].color,1)):n.setStrokeStyle(l(t[0].color,.3)),n.setLineWidth(3*A.pix),n.moveTo(g,0),n.lineTo(y,0),n.stroke(),n.rotate(p*Math.PI);n.restore(),t=K(t,a,i),n.setLineWidth(a.width),n.setStrokeStyle(t[0].color),n.setLineCap("round"),n.beginPath(),n.arc(s.x,s.y,u,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),n.stroke();var w=c-2.5*a.width;n.save(),n.translate(s.x,s.y),n.rotate((t[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(a.width/3);var m=n.createLinearGradient(0,.6*-w,0,.6*w);m.addColorStop("0",l("#FFFFFF",0)),m.addColorStop("0.5",l(t[0].color,1)),m.addColorStop("1.0",l("#FFFFFF",0)),n.setStrokeStyle(m),n.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(t[0].color),n.setFillStyle(t[0].color),n.moveTo(-w-a.width/3/2,-4),n.lineTo(-w-a.width/3/2-4,0),n.lineTo(-w-a.width/3/2,4),n.lineTo(-w-a.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(a.width),n.setLineCap("butt");for(var b=0;b5&&void 0!==arguments[5]?arguments[5]:1,a=o({},{color:{},average:{}},A.extra.candle);a.color=o({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},a.color),a.average=o({},{show:!1,name:[],day:[],color:r.color},a.average),A.extra.candle=a;var s=A.chartData.xAxisData,l=s.xAxisPoints,c=s.eachSpacing,u=[];n.save();var f=-2,h=l.length+2,p=0,g=A.width+c;return A._scrollDistance_&&0!==A._scrollDistance_&&!0===A.enableScroll&&(n.translate(A._scrollDistance_,0),f=Math.floor(-A._scrollDistance_/c)-2,h=f+A.xAxis.itemCount+4,p=-A._scrollDistance_-2*c+A.area[3],g=p+(A.xAxis.itemCount+4)*c),(a.average.show||t)&&t.forEach((function(e,t){var a,o,s;a=[].concat(A.chartData.yAxisData.ranges[e.index]),o=a.pop(),s=a.shift();for(var u=e.data,f=J(u,o,s,l,c,A,r,i),h=P(f,e),y=0;yp&&(n.moveTo(w.x,w.y),B=1),x>0&&w.x>p&&w.xf&&v0?(n.setStrokeStyle(a.color.upLine),n.setFillStyle(a.color.upFill),n.setLineWidth(1*A.pix),n.moveTo(B[3].x,B[3].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[1].x-c/4,B[1].y),n.lineTo(B[0].x-c/4,B[0].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[2].x,B[2].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[0].x+c/4,B[0].y),n.lineTo(B[1].x+c/4,B[1].y),n.lineTo(B[1].x,B[1].y),n.moveTo(B[3].x,B[3].y)):(n.setStrokeStyle(a.color.downLine),n.setFillStyle(a.color.downFill),n.setLineWidth(1*A.pix),n.moveTo(B[3].x,B[3].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[0].x-c/4,B[0].y),n.lineTo(B[1].x-c/4,B[1].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[2].x,B[2].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[1].x+c/4,B[1].y),n.lineTo(B[0].x+c/4,B[0].y),n.lineTo(B[0].x,B[0].y),n.moveTo(B[3].x,B[3].y)),n.closePath(),n.fill(),n.stroke()}})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:c}}(c,v,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(v?0:t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break}}function Ke(){this.events={}}Me.prototype.stop=function(){this.isStop=!0},Ke.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Ke.prototype.delEventListener=function(e){this.events[e]=[]},Ke.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),A=0;A0&&void 0!==arguments[0]?arguments[0]:{};this.opts=o({},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 A=ne(this.opts.series,this.opts,this.config,this.context),r=A.yAxisWidth;this.config.yAxisWidth=r;var n=0,i=q(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,s=i.startX,l=i.endX,c=i.eachSpacing,u=c*(a.length-1),f=l-s;n=f-u,this.scrollOption={currentOffset:n,startTouchX:n,distance:0,lastMoveTime:0},this.opts._scrollDistance_=n;break}He.call(this,this.opts.type,this.opts,this.config,this.context)},Re.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var t=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var A=ne(this.opts.series,this.opts,this.config,this.context),r=A.yAxisWidth;this.config.yAxisWidth=r;var n=0,i=q(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,o=i.startX,s=i.endX,l=i.eachSpacing,c=l*t,f=s-o,d=f-l*(a.length-1);n=f/2-c,n>0&&(n=0),n=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var d=0,h=q(this.opts.categories,this.opts,this.config),p=h.xAxisPoints,g=h.startX,y=h.endX,v=h.eachSpacing,B=v*this.scrollOption.moveCurrent1,x=y-g,w=x-v*(p.length-1);d=-B+Math.min(r[0].x,r[1].x)-this.opts.area[3]-v,d>0&&(d=0),d2*Math.PI&&(e-=2*Math.PI),e},a=Math.atan2(t.center.y-e.y,e.x-t.center.x);a*=-1,a<0&&(a+=2*Math.PI);var o=t.angleList.map((function(e){return e=i(-1*e),e}));o.forEach((function(e,t){var A=i(e-r/2),o=i(e+r/2);o=A&&a<=o||a+2*Math.PI>=A&&a+2*Math.PI<=o)&&(n=t)}))}return n}({x:A.x,y:A.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(e,t){for(var A=-1,r=0,n=t.series.length;ri.funnelArea[0]&&e.xi.funnelArea[1]&&e.yi.area[0]&&e.xi.area[1]&&e.y4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=A.chartData.eachSpacing/2,o=A.chartData.yAxisPoints;return t&&t.length>0&&T(e,A,r)&&o.forEach((function(t,A){e.y+n+a>t&&(i.index=A)})),i}({x:A.x,y:A.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=A.chartData.eachSpacing/2,o=[];if(t&&t.length>0){if(A.categories){for(var s=1;st&&(i.index=A)}));else{for(var l=Array(t.length),c=0;ct.start.x&&e.xt.start.y&&e.yc[0]-0&&e.xc[1]-0&&e.y1&&void 0!==arguments[1]?arguments[1]:{},A=null;if(A=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],A){m(A,this.opts,e);var r=this.getLegendDataIndex(e);r>=0&&("candle"==this.opts.type?this.opts.seriesMA[r].show=!this.opts.seriesMA[r].show:this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,He.call(this,this.opts.type,this.opts,this.config,this.context))}},Re.prototype.showToolTip=function(e){var t=this,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r||console.log("[uCharts] 未获取到event坐标信息");var n=m(r,this.opts,e),i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1||l.length>0){var c=b(this.opts.series,l,s.group);if(0!==c.length){var u=Q(c,this.opts,l,s.group,this.opts.categories,A),f=u.textList,d=u.offset;d.y=n.y,a.tooltip={textList:void 0!==A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l,group:s.group}}}He.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e).index:A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},a._series_[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,a):c.name+": "+c.data,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:a.chartData.calPoints[l].x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}He.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1||l.length>0){c=b(this.opts.series,l,s.group);if(0!==c.length){u=Q(c,this.opts,l,s.group,this.opts.categories,A),f=u.textList,d=u.offset;d.x=n.x,a.tooltip={textList:void 0!==A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1){i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1}),c=b(this.opts.series,l);if(0!==c.length){var h=U(c,this.opts,l,this.opts.categories,A);f=h.textList,d=h.offset;d.y=n.y,a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1){i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1}),c=b(this.opts.series,l);if(0!==c.length){u=S(this.opts.series[0].data,c,this.opts,l,this.opts.categories,this.opts.extra.candle,A),f=u.textList,d=u.offset;d.y=n.y,a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},a._series_[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,a):c.name+": "+c.data,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}He.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},this.opts.series[l]);c.name=c.properties.name;f=[{text:A.formatter?A.formatter(c,void 0,l,this.opts):c.name,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},this.opts.series[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,this.opts):c.name,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=b(this.opts.series,l);if(0!==c.length){f=c.map((function(e){return{text:A.formatter?A.formatter(e,t.opts.categories[l],l,t.opts):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.opts.extra.tooltip.legendShape?e.legendShape:t.opts.extra.tooltip.legendShape}})),d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}},Re.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=o({},this.opts,{_scrollDistance_:e,animation:!1});He.call(this,this.opts.type,t,this.config,this.context)},Re.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var A=m(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=A.x)},Re.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.touchMoveLimit||60,A=Date.now(),r=A-this.scrollOption.lastMoveTime;if(!(r0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx"),e)},createMember:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx"),e)},getMemberDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx/").concat(e))},updateMember:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx/").concat(e),t)},deleteMember:function(e){return n.default.del("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx/").concat(e))},getJsjInfo:function(e,t){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqycsdjsj/GetJsjInfoByUserMonth?userId=").concat(e,"&DateTime=").concat(t))},getJsjInfoByUserMonth:function(e,t){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqycsdjsj/GetJsjInfoByUserMonth?UserId=").concat(e,"&DateTime=").concat(t))},getThisMonthJsjInfo:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqycsdjsj/Actions/GetThisMonthJsjInfo?userId=").concat(e))},getMemberOrderType:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkhxx/order-type/").concat(e))},getLqMdxx:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx/").concat(e))},getStoreList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx"),e)},getHealthUserList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/user"),e)},getAdvisorList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/user"),e)}};t.default=a},"0ee4":function(e,t){var A;A=function(){return this}();try{A=A||new Function("return this")()}catch(r){"object"===typeof window&&(A=window)}e.exports=A},"0ef2":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7ca3")),i=A("0595");function a(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},A=t.method||e.method||"GET",r={baseURL:e.baseURL||"",method:A,url:t.url||"",params:t.params||{},custom:o(o({},e.custom||{}),t.custom||{}),header:(0,i.deepMerge)(e.header||{},t.header||{})},n=["getTask","validateStatus"];if(r=o(o({},r),s(n,e,t)),"DOWNLOAD"===A);else if("UPLOAD"===A){delete r.header["content-type"],delete r.header["Content-Type"];var a=["filePath","name","formData"];a.forEach((function(e){(0,i.isUndefined)(t[e])||(r[e]=t[e])}))}else{var l=["data","timeout","dataType","responseType"];r=o(o({},r),s(l,e,t))}return r}},"10ab":function(e,t,A){"use strict";t.byteLength=function(e){var t=l(e),A=t[0],r=t[1];return 3*(A+r)/4-r},t.toByteArray=function(e){var t,A,r=l(e),a=r[0],o=r[1],s=new i(function(e,t,A){return 3*(t+A)/4-A}(0,a,o)),c=0,u=o>0?a-4:a;for(A=0;A>16&255,s[c++]=t>>8&255,s[c++]=255&t;2===o&&(t=n[e.charCodeAt(A)]<<2|n[e.charCodeAt(A+1)]>>4,s[c++]=255&t);1===o&&(t=n[e.charCodeAt(A)]<<10|n[e.charCodeAt(A+1)]<<4|n[e.charCodeAt(A+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t);return s},t.fromByteArray=function(e){for(var t,A=e.length,n=A%3,i=[],a=0,o=A-n;ao?o:a+16383));1===n?(t=e[A-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[A-2]<<8)+e[A-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var A=e.indexOf("=");-1===A&&(A=t);var r=A===t?0:4-A%4;return[A,r]}function c(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function u(e,t,A){for(var r,n=[],i=t;i0&&void 0!==arguments[0]?arguments[0]:"url",A=this[e];A&&t[this.linkType]({url:A})},$uGetRect:function(e,A){var r=this;return new Promise((function(n){t.createSelectorQuery().in(r)[A?"selectAll":"select"](e).boundingClientRect((function(e){A&&Array.isArray(e)&&e.length&&n(e),!A&&e&&n(e)})).exec()}))},getParentData:function(){var e=this,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=t.$u.$parent.call(this,A),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(t){e.parentData[t]=e.parent[t]}))},preventEvent:function(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()},noop:function(e){this.preventEvent(e)}},onReachBottom:function(){t.$emit("uOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&t.$u.test.array(this.parent.children)){var A=this.parent.children;A.map((function(t,r){t===e&&A.splice(r,1)}))}}}}).call(this,A("df3c")["default"])},"12e3":function(e,t,A){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=A("10ab"),n=A("ba37"),i=A("b0e4");function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var A=e.length;if(0===A)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return A;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*A;case"hex":return A>>>1;case"base64":return R(e).length;default:if(r)return K(e).length;t=(""+t).toLowerCase(),r=!0}}function p(e,t,A){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===A||A>this.length)&&(A=this.length),A<=0)return"";if(A>>>=0,t>>>=0,A<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return E(this,t,A);case"utf8":case"utf-8":return Q(this,t,A);case"ascii":return U(this,t,A);case"latin1":case"binary":return S(this,t,A);case"base64":return F(this,t,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,A);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,A){var r=e[t];e[t]=e[A],e[A]=r}function y(e,t,A,r,n){if(0===e.length)return-1;if("string"===typeof A?(r=A,A=0):A>2147483647?A=2147483647:A<-2147483648&&(A=-2147483648),A=+A,isNaN(A)&&(A=n?0:e.length-1),A<0&&(A=e.length+A),A>=e.length){if(n)return-1;A=e.length-1}else if(A<0){if(!n)return-1;A=0}if("string"===typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,A,r,n);if("number"===typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,A):Uint8Array.prototype.lastIndexOf.call(e,t,A):v(e,[t],A,r,n);throw new TypeError("val must be string, number or Buffer")}function v(e,t,A,r,n){var i,a=1,o=e.length,s=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,A/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(n){var c=-1;for(i=A;io&&(A=o-s),i=A;i>=0;i--){for(var u=!0,f=0;fn&&(r=n)):r=n;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,n=A%256,i.push(n),i.push(r)}return i}(t,e.length-A),e,A,r)}function F(e,t,A){return 0===t&&A===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,A))}function Q(e,t,A){A=Math.min(e.length,A);var r=[],n=t;while(n239?4:l>223?3:l>191?2:1;if(n+u<=A)switch(u){case 1:l<128&&(c=l);break;case 2:i=e[n+1],128===(192&i)&&(s=(31&l)<<6|63&i,s>127&&(c=s));break;case 3:i=e[n+1],a=e[n+2],128===(192&i)&&128===(192&a)&&(s=(15&l)<<12|(63&i)<<6|63&a,s>2047&&(s<55296||s>57343)&&(c=s));break;case 4:i=e[n+1],a=e[n+2],o=e[n+3],128===(192&i)&&128===(192&a)&&128===(192&o)&&(s=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&o,s>65535&&s<1114112&&(c=s))}null===c?(c=65533,u=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),n+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var A="",r=0;while(r0&&(e=this.toString("hex",0,A).match(/.{2}/g).join(" "),this.length>A&&(e+=" ... ")),""},s.prototype.compare=function(e,t,A,r,n){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===A&&(A=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||A>e.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&t>=A)return 0;if(r>=n)return-1;if(t>=A)return 1;if(t>>>=0,A>>>=0,r>>>=0,n>>>=0,this===e)return 0;for(var i=n-r,a=A-t,o=Math.min(i,a),l=this.slice(r,n),c=e.slice(t,A),u=0;un)&&(A=n),e.length>0&&(A<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return B(this,e,t,A);case"utf8":case"utf-8":return x(this,e,t,A);case"ascii":return w(this,e,t,A);case"latin1":case"binary":return m(this,e,t,A);case"base64":return b(this,e,t,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,A);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(e,t,A){var r="";A=Math.min(e.length,A);for(var n=t;nr)&&(A=r);for(var n="",i=t;iA)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,A,r,n,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function _(e,t,A,r){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-A,2);n>>8*(r?n:1-n)}function k(e,t,A,r){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-A,4);n>>8*(r?n:3-n)&255}function L(e,t,A,r,n,i){if(A+r>e.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("Index out of range")}function D(e,t,A,r,i){return i||L(e,0,A,4),n.write(e,t,A,r,23,4),A+4}function O(e,t,A,r,i){return i||L(e,0,A,8),n.write(e,t,A,r,52,8),A+8}s.prototype.slice=function(e,t){var A,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t0&&(n*=256))r+=this[e+--t]*n;return r},s.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,A){e|=0,t|=0,A||I(e,t,this.length);var r=this[e],n=1,i=0;while(++i=n&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,A){e|=0,t|=0,A||I(e,t,this.length);var r=t,n=1,i=this[e+--r];while(r>0&&(n*=256))i+=this[e+--r]*n;return n*=128,i>=n&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var A=this[e]|this[e+1]<<8;return 32768&A?4294901760|A:A},s.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var A=this[e+1]|this[e]<<8;return 32768&A?4294901760|A:A},s.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),n.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),n.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),n.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),n.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,A,r){if(e=+e,t|=0,A|=0,!r){var n=Math.pow(2,8*A)-1;P(this,e,t,A,n,0)}var i=1,a=0;this[t]=255&e;while(++a=0&&(a*=256))this[t+i]=e/a&255;return t+A},s.prototype.writeUInt8=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):k(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,A,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*A-1);P(this,e,t,A,n-1,-n)}var i=0,a=1,o=0;this[t]=255&e;while(++i>0)-o&255;return t+A},s.prototype.writeIntBE=function(e,t,A,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*A-1);P(this,e,t,A,n-1,-n)}var i=A-1,a=1,o=0;this[t+i]=255&e;while(--i>=0&&(a*=256))e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+A},s.prototype.writeInt8=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):k(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,A){return e=+e,t|=0,A||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,A){return D(this,e,t,!0,A)},s.prototype.writeFloatBE=function(e,t,A){return D(this,e,t,!1,A)},s.prototype.writeDoubleLE=function(e,t,A){return O(this,e,t,!0,A)},s.prototype.writeDoubleBE=function(e,t,A){return O(this,e,t,!1,A)},s.prototype.copy=function(e,t,A,r){if(A||(A=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--n)e[n+t]=this[n+A];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,A=void 0===A?this.length:A>>>0,e||(e=0),"number"===typeof e)for(i=t;i55295&&A<57344){if(!n){if(A>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}n=A;continue}if(A<56320){(t-=3)>-1&&i.push(239,191,189),n=A;continue}A=65536+(n-55296<<10|A-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,A<128){if((t-=1)<0)break;i.push(A)}else if(A<2048){if((t-=2)<0)break;i.push(A>>6|192,63&A|128)}else if(A<65536){if((t-=3)<0)break;i.push(A>>12|224,A>>6&63|128,63&A|128)}else{if(!(A<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(A>>18|240,A>>12&63|128,A>>6&63|128,63&A|128)}}return i}function R(e){return r.toByteArray(function(e){if(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(M,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}(e))}function j(e,t,A,r){for(var n=0;n=t.length||n>=e.length)break;t[n+A]=e[n]}return n}}).call(this,A("0ee4"))},1486:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],n={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["饼状图","圆环图","玫瑰图","词云图","漏斗图","地图","圆弧进度条","折线图","柱状图","山峰图","条状图","区域图","雷达图","仪表盘","K线图","混合图","时间轴折线","时间轴区域","散点图","气泡图","自定义类型"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(e,t,A){return e+"元"},yAxisDemo2:function(e,t,A){return e.toFixed(2)},xAxisDemo1:function(e,t,A){return e+"年"},xAxisDemo2:function(e,t,A){return function(e,t){var A=new Date;A.setTime(1e3*e);var r=A.getFullYear(),n=A.getMonth()+1;n=n<10?"0"+n:n;var i=A.getDate();i=i<10?"0"+i:i;var a=A.getHours();a=a<10?"0"+a:a;var o=A.getMinutes(),s=A.getSeconds();return o=o<10?"0"+o:o,s=s<10?"0"+s:s,"full"==t?r+"-"+n+"-"+i+" "+a+":"+o+":"+s:"y-m-d"==t?r+"-"+n+"-"+i:"h:m"==t?a+":"+o:"h:m:s"==t?a+":"+o+":"+s:[r,n,i,a,o,s]}(e,"h:m")},seriesDemo1:function(e,t,A,r){return e+"元"},tooltipDemo1:function(e,t,A,r){return 0==A?"随便用"+e.data+"年":"其他我没改"+e.data+"天"},pieDemo:function(e,t,A,r){if(void 0!==t)return A[t].name+":"+A[t].data+"元"}},demotype:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:r,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:r,padding:[5,5,5,5],rotate:!1,dataLabel:!0,legend:{show:!0,position:"right",lineHeight:25},title:{name:"收益率",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:r,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:r,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:r,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:r,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:r,title:{name:"百分比",fontSize:25,color:"#00FF00"},subtitle:{name:"默认标题",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2,activeType:"hollow"}}},tline:{type:"line",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2,activeType:"hollow"}}},tarea:{type:"area",color:r,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0,activeType:"hollow"}}},column:{type:"column",color:r,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:r,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:r,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1,activeType:"hollow"}}},radar:{type:"radar",color:r,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200,labelShow:!0}}},gauge:{type:"gauge",color:r,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"实时速度",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:r,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:r,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:r,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},i=n;t.default=i},"14fe":function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={submitLqKdKdjlb:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKdKdjlb"),e)},getHgjgList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/system/DataInterface/733896629660157189/Actions/Response?n=1757162571"),e)},getPxDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXmzl/").concat(e))},getMemberRemainingItems:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkhxx/GetMemberRemainingItems"),e)},getLxList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKdKdjlb"),e)},getLxDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKdKdjlb/").concat(e))},uploadFile:function(t){return new Promise((function(A,r){e.uploadFile({url:"".concat(i.default.getApiBaseUrl(),"/api/file/Uploader/annexpic"),filePath:t.path||t.tempFilePath,name:"file",header:{Authorization:e.getStorageSync("token")},success:function(e){try{var t=JSON.parse(e.data);A(t)}catch(n){r(n)}},fail:function(e){r(e)}})}))},cancelLx:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkdkdjlb/Cancel"),{remarks:t,id:e})},UpdateForNoDelete:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkdkdjlb/UpdateForNoDelete/").concat(e.id),e)},updateFile:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkdkdjlb/UpdateBillingInfo"),e)},UploadBase64Image:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/file/UploadBase64Image"),e)},GetBillingDebtInfo:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkdkdjlb/GetBillingDebtInfo/").concat(e))},GetCurrentTimeEffectiveActivityAsync:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqpackageinfo/GetCurrentTimeEffectiveActivityAsync"),e)},GetPackageItemDetailByActivityIdAsync:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqpackageinfo/GetPackageItemDetailByActivityIdAsync/")+e)},transferCard:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkdkdjlb/TransferCard"),e)},createServiceLog:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhfeedback/Create"),e)},getServiceLogsByConsumeId:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhfeedback/GetByConsumeId/").concat(e))},getServiceLogDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhfeedback/GetInfo/").concat(e))},updateServiceLog:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhfeedback/Update"),e)},lqxhfeedbackGetList:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhfeedback/GetList"),e)}};t.default=a}).call(this,A("df3c")["default"])},"151b":function(e){e.exports=JSON.parse('{"uni-calender.ok":"确定","uni-calender.cancel":"取消","uni-calender.today":"今日","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六"}')},"17a9":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}}},"1a65":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}}},"1aab":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"}}},"1b98":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}}},"1c0d":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}}},"1d60":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}}},"1f1c":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}}},"214c":function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7eb4")),i=r(A("ee10")),a=r(A("67ad")),o=r(A("0bdb")),s=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return(0,o.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(t,A){t=t&&this.addRootPath(t);var r="";return/.*\/.*\?.*=.*/.test(t)?(r=e.$u.queryParams(A,!1),t+"&".concat(r)):(r=e.$u.queryParams(A),t+r)}},{key:"route",value:function(){var t=(0,i.default)(n.default.mark((function t(){var A,r,i,a,o=arguments;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(A=o.length>0&&void 0!==o[0]?o[0]:{},r=o.length>1&&void 0!==o[1]?o[1]:{},i={},"string"===typeof A?(i.url=this.mixinParam(A,r),i.type="navigateTo"):(i=e.$u.deepMerge(this.config,A),i.url=this.mixinParam(A.url,A.params)),i.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(r.intercept&&(this.config.intercept=r.intercept),i.params=r,i=e.$u.deepMerge(this.config,i),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,A){e.$u.routeIntercept(i,t)}));case 12:a=t.sent,a&&this.openPage(i),t.next=17;break;case 16:this.openPage(i);case 17:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"openPage",value:function(t){var A=t.url,r=(t.type,t.delta),n=t.animationType,i=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:A,animationType:n,animationDuration:i}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:A}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:A}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:A}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:r})}}]),t}(),l=(new s).route;t.default=l}).call(this,A("df3c")["default"])},2288:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{status:{type:String,default:e.$u.props.loadmore.status},bgColor:{type:String,default:e.$u.props.loadmore.bgColor},icon:{type:Boolean,default:e.$u.props.loadmore.icon},fontSize:{type:[String,Number],default:e.$u.props.loadmore.fontSize},iconSize:{type:[String,Number],default:e.$u.props.loadmore.iconSize},color:{type:String,default:e.$u.props.loadmore.color},loadingIcon:{type:String,default:e.$u.props.loadmore.loadingIcon},loadmoreText:{type:String,default:e.$u.props.loadmore.loadmoreText},loadingText:{type:String,default:e.$u.props.loadmore.loadingText},nomoreText:{type:String,default:e.$u.props.loadmore.nomoreText},isDot:{type:Boolean,default:e.$u.props.loadmore.isDot},iconColor:{type:String,default:e.$u.props.loadmore.iconColor},marginTop:{type:[String,Number],default:e.$u.props.loadmore.marginTop},marginBottom:{type:[String,Number],default:e.$u.props.loadmore.marginBottom},height:{type:[String,Number],default:e.$u.props.loadmore.height},line:{type:Boolean,default:e.$u.props.loadmore.line},lineColor:{type:String,default:e.$u.props.loadmore.lineColor},dashed:{type:Boolean,default:e.$u.props.loadmore.dashed}}};t.default=A}).call(this,A("df3c")["default"])},"22bd":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={AppLogin:function(e){return n.default.postFormData("".concat(i.default.getApiBaseUrl(),"/api/oauth/Login"),e)},getCurrentUser:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/oauth/CurrentUser"))},getUsers:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/permission/Users/")+e)},logout:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/oauth/Logout"))},UploadBase64Image:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/file/UploadBase64Image"),e)},getUserList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/permission/Users"),e)},changePassword:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/permission/Users/ChangePassword"),e)}};t.default=a},"243a":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t?"".concat(e.replace(/\/+$/,""),"/").concat(t.replace(/^\/+/,"")):e}},2535:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"搜索",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}}},2679:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}}},"267e":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7ca3")),i=r(A("9475")),a=r(A("7273")),o=r(A("30f7")),s=r(A("7fd9")),l=r(A("a11a")),c=r(A("7616")),u=r(A("05e3")),f=r(A("cf2b")),d=r(A("1a65")),h=r(A("0df2")),p=r(A("2d13")),g=r(A("1f1c")),y=r(A("ee3c")),v=r(A("0e03")),B=r(A("53a7")),x=r(A("d461")),w=r(A("d5c0")),m=r(A("0b53")),b=r(A("5517")),C=r(A("d31e")),F=r(A("49d3")),Q=r(A("6be4")),U=r(A("92b3")),S=r(A("7632")),E=r(A("8465")),T=r(A("f274")),I=r(A("7505")),P=r(A("902d")),_=r(A("ebb5")),k=r(A("4548")),L=r(A("d715")),D=r(A("c937")),O=r(A("bf4d")),M=r(A("1b98")),H=r(A("f7c5")),K=r(A("c80e")),R=r(A("2fe7")),j=r(A("05f7")),N=r(A("ed0f")),G=r(A("f85d")),V=r(A("660d")),W=r(A("62b0")),z=r(A("9539")),q=r(A("64f2")),X=r(A("1aab")),J=r(A("2679")),Y=r(A("a19f")),$=r(A("f9fe")),Z=r(A("8801")),ee=r(A("5162")),te=r(A("5ff8")),Ae=r(A("e554")),re=r(A("b8a7")),ne=r(A("1d60")),ie=r(A("9021")),ae=r(A("7c6c")),oe=r(A("921b")),se=r(A("983b")),le=r(A("e0ca")),ce=r(A("d203")),ue=r(A("6c9a")),fe=r(A("d4ac")),de=r(A("81f1")),he=r(A("438d")),pe=r(A("2535")),ge=r(A("0d10")),ye=r(A("17a9")),ve=r(A("fb71")),Be=r(A("0855")),xe=r(A("2d0c7")),we=r(A("decf")),me=r(A("04f8")),be=r(A("a7ee")),Ce=r(A("f4c7")),Fe=r(A("1c0d")),Qe=r(A("e0db")),Ue=r(A("c987")),Se=r(A("b7be")),Ee=r(A("7885")),Te=r(A("3dc6")),Ie=r(A("78f2")),Pe=r(A("72ff")),_e=r(A("8f88")),ke=r(A("b6b5")),Le=r(A("6b55")),De=r(A("b655")),Oe=r(A("dccd")),Me=r(A("9d0a")),He=r(A("43e0"));function Ke(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function Re(e){for(var t=1;t=i)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(A){return"[Circular]"}break;default:return e}})),o=t[r];r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},B={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof+e},object:function(e){return"object"===(0,i.default)(e)&&!B.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(v.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(v.url)},hex:function(e){return"string"===typeof e&&!!e.match(v.hex)}};var x={required:y,whitespace:function(e,t,A,r,n){(/^\s+$/.test(t)||""===t)&&r.push(u(n.messages.whitespace,e.fullField))},type:function(e,t,A,r,n){if(e.required&&void 0===t)y(e,t,A,r,n);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?B[a](t)||r.push(u(n.messages.types[a],e.fullField,e.type)):a&&(0,i.default)(t)!==e.type&&r.push(u(n.messages.types[a],e.fullField,e.type))}},range:function(e,t,A,r,n){var i="number"===typeof e.len,a="number"===typeof e.min,o="number"===typeof e.max,s=t,l=null,c="number"===typeof t,f="string"===typeof t,d=Array.isArray(t);if(c?l="number":f?l="string":d&&(l="array"),!l)return!1;d&&(s=t.length),f&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(u(n.messages[l].len,e.fullField,e.len)):a&&!o&&se.max?r.push(u(n.messages[l].max,e.fullField,e.max)):a&&o&&(se.max)&&r.push(u(n.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,A,r,n){e["enum"]=Array.isArray(e["enum"])?e["enum"]:[],-1===e["enum"].indexOf(t)&&r.push(u(n.messages["enum"],e.fullField,e["enum"].join(", ")))},pattern:function(e,t,A,r,n){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(u(n.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||r.push(u(n.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function w(e,t,A,r,n){var i=e.type,a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(f(t,i)&&!e.required)return A();x.required(e,t,r,a,n,i),f(t,i)||x.type(e,t,r,a,n)}A(a)}var m={string:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t,"string")&&!e.required)return A();x.required(e,t,r,i,n,"string"),f(t,"string")||(x.type(e,t,r,i,n),x.range(e,t,r,i,n),x.pattern(e,t,r,i,n),!0===e.whitespace&&x.whitespace(e,t,r,i,n))}A(i)},method:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&x.type(e,t,r,i,n)}A(i)},number:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&(x.type(e,t,r,i,n),x.range(e,t,r,i,n))}A(i)},boolean:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&x.type(e,t,r,i,n)}A(i)},regexp:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),f(t)||x.type(e,t,r,i,n)}A(i)},integer:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&(x.type(e,t,r,i,n),x.range(e,t,r,i,n))}A(i)},float:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&(x.type(e,t,r,i,n),x.range(e,t,r,i,n))}A(i)},array:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t,"array")&&!e.required)return A();x.required(e,t,r,i,n,"array"),f(t,"array")||(x.type(e,t,r,i,n),x.range(e,t,r,i,n))}A(i)},object:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&x.type(e,t,r,i,n)}A(i)},enum:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n),void 0!==t&&x["enum"](e,t,r,i,n)}A(i)},pattern:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t,"string")&&!e.required)return A();x.required(e,t,r,i,n),f(t,"string")||x.pattern(e,t,r,i,n)}A(i)},date:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();var o;if(x.required(e,t,r,i,n),!f(t))o="number"===typeof t?new Date(t):t,x.type(e,o,r,i,n),o&&x.range(e,o.getTime(),r,i,n)}A(i)},url:w,hex:w,email:w,required:function(e,t,A,r,n){var a=[],o=Array.isArray(t)?"array":(0,i.default)(t);x.required(e,t,r,a,n,o),A(a)},any:function(e,t,A,r,n){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(f(t)&&!e.required)return A();x.required(e,t,r,i,n)}A(i)}};function b(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var C=b();function F(e){this.rules=null,this._messages=C,this.define(e)}F.prototype={messages:function(e){return e&&(this._messages=g(b(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,i.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");var t,A;for(t in this.rules={},e)e.hasOwnProperty(t)&&(A=e[t],this.rules[t]=Array.isArray(A)?A:[A])},validate:function(e,t,A){var r=this;void 0===t&&(t={}),void 0===A&&(A=function(){});var n,a,s=e,l=t,f=A;if("function"===typeof l&&(f=l,l={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();if(l.messages){var d=this.messages();d===C&&(d=b()),g(d,l.messages),l.messages=d}else l.messages=this.messages();var y={},v=l.keys||Object.keys(this.rules);v.forEach((function(t){n=r.rules[t],a=s[t],n.forEach((function(A){var n=A;"function"===typeof n.transform&&(s===e&&(s=o({},s)),a=s[t]=n.transform(a)),n="function"===typeof n?{validator:n}:o({},n),n.validator=r.getValidationMethod(n),n.field=t,n.fullField=n.fullField||t,n.type=r.getType(n),n.validator&&(y[t]=y[t]||[],y[t].push({rule:n,value:a,source:s,field:t}))}))}));var B={};return h(y,l,(function(e,t){var A,r=e.rule,n=("object"===r.type||"array"===r.type)&&("object"===(0,i.default)(r.fields)||"object"===(0,i.default)(r.defaultField));function a(e,t){return o(o({},t),{},{fullField:"".concat(r.fullField,".").concat(e)})}function s(A){void 0===A&&(A=[]);var i=A;if(Array.isArray(i)||(i=[i]),!l.suppressWarning&&i.length&&F.warning("async-validator:",i),i.length&&r.message&&(i=[].concat(r.message)),i=i.map(p(r)),l.first&&i.length)return B[r.field]=1,t(i);if(n){if(r.required&&!e.value)return i=r.message?[].concat(r.message).map(p(r)):l.error?[l.error(r,u(l.messages.required,r.field))]:[],t(i);var s={};if(r.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(s[c]=r.defaultField);for(var f in s=o(o({},s),e.rule.fields),s)if(s.hasOwnProperty(f)){var d=Array.isArray(s[f])?s[f]:[s[f]];s[f]=d.map(a.bind(null,f))}var h=new F(s);h.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),h.validate(e.value,e.rule.options||l,(function(e){var A=[];i&&i.length&&A.push.apply(A,i),e&&e.length&&A.push.apply(A,e),t(A.length?A:null)}))}else t(i)}n=n&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator?A=r.asyncValidator(r,e.value,s,e.source,l):r.validator&&(A=r.validator(r,e.value,s,e.source,l),!0===A?s():!1===A?s(r.message||"".concat(r.field," fails")):A instanceof Array?s(A):A instanceof Error&&s(A.message)),A&&A.then&&A.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){(function(e){var t,A=[],r={};function n(e){var t;Array.isArray(e)?A=(t=A).concat.apply(t,e):A.push(e)}for(t=0;t-1||"function"===typeof o[e])}i[a]=function(){var e={};for(var t in o)l(t)&&(e[t]=o[t]);return e}(),i[a].canIUse("getAppBaseInfo")||(i[a].getAppBaseInfo=i[a].getSystemInfoSync),i[a].canIUse("getWindowInfo")||(i[a].getWindowInfo=i[a].getSystemInfoSync),i[a].canIUse("getDeviceInfo")||(i[a].getDeviceInfo=i[a].getSystemInfoSync);var c=i[a];t.default=c},3240:function(e,t,A){"use strict";A.r(t),function(e){ /*! * Vue.js v2.6.11 * (c) 2014-2024 Evan You * Released under the MIT License. */ var A=Object.freeze({});function r(e){return void 0===e||null===e}function n(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function o(e){return null!==e&&"object"===typeof e}var s=Object.prototype.toString;function l(e){return"[object Object]"===s.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var A=Object.create(null),r=e.split(","),n=0;n-1)return e.splice(A,1)}}var y=Object.prototype.hasOwnProperty;function v(e,t){return y.call(e,t)}function B(e){var t=Object.create(null);return function(A){var r=t[A];return r||(t[A]=e(A))}}var x=/-(\w)/g,w=B((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),m=B((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),b=/\B([A-Z])/g,C=B((function(e){return e.replace(b,"-$1").toLowerCase()}));var F=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function A(A){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,A):e.call(t)}return A._length=e.length,A};function Q(e,t){t=t||0;var A=e.length-t,r=new Array(A);while(A--)r[A]=e[A+t];return r}function U(e,t){for(var A in t)e[A]=t[A];return e}function S(e){for(var t={},A=0;A0),J=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===W),Y=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),z&&z.match(/firefox\/(\d+)/),{}.watch);if(G)try{var $={};Object.defineProperty($,"passive",{get:function(){}}),window.addEventListener("test-passive",null,$)}catch(DA){}var Z=function(){return void 0===j&&(j=!G&&!V&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),j},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var Ae,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);Ae="undefined"!==typeof Set&&te(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 ne=E,ie=0,ae=function(){this.id=ie++,this.subs=[]};function oe(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function se(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){g(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,A=e.length;t-1)if(i&&!v(n,"default"))a=!1;else if(""===a||a===C(e)){var s=De(String,n.type);(s<0||o0&&(s=e(s,(A||"")+"_"+o),rt(s[0])&&rt(c)&&(u[l]=fe(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?rt(c)?u[l]=fe(c.text+s):""!==s&&u.push(fe(s)):rt(s)&&rt(c)?u[l]=fe(c.text+s.text):(i(t._isVList)&&n(s.tag)&&r(s.key)&&n(A)&&(s.key="__vlist"+A+"_"+o+"__"),u.push(s)));return u}(e):void 0}function rt(e){return n(e)&&n(e.text)&&function(e){return!1===e}(e.isComment)}function nt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function it(e){var t=at(e.$options.inject,e);t&&(ye(!1),Object.keys(t).forEach((function(A){we(e,A,t[A])})),ye(!0))}function at(e,t){if(e){for(var A=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),n=0;n0,a=e?!!e.$stable:!i,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==A&&o===r.$key&&!i&&!r.$hasNormal)return r;for(var s in n={},e)e[s]&&"$"!==s[0]&&(n[s]=ct(t,s,e[s]))}else n={};for(var l in t)l in n||(n[l]=ut(t,l));return e&&Object.isExtensible(e)&&(e._normalized=n),K(n,"$stable",a),K(n,"$key",o),K(n,"$hasNormal",i),n}function ct(e,t,A){var r=function(){var e=arguments.length?A.apply(null,arguments):A({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:At(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return A.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function ut(e,t){return function(){return e[t]}}function ft(e,t){var A,r,i,a,s;if(Array.isArray(e)||"string"===typeof e)for(A=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(Zt=function(){return eA.now()})}function tA(){var e,t;for(Zt(),Yt=!0,zt.sort((function(e,t){return e.id-t.id})),$t=0;$t$t&&zt[A].id>e.id)A--;zt.splice(A+1,0,e)}else zt.push(e);Jt||(Jt=!0,Xe(tA))}}(this)},rA.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(DA){Oe(DA,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rA.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rA.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rA.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var nA={enumerable:!0,configurable:!0,get:E,set:E};function iA(e,t,A){nA.get=function(){return this[t][A]},nA.set=function(e){this[t][A]=e},Object.defineProperty(e,A,nA)}function aA(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var A=e.$options.propsData||{},r=e._props={},n=e.$options._propKeys=[],i=!e.$parent;i||ye(!1);var a=function(i){n.push(i);var a=_e(i,t,A,e);we(r,i,a),i in e||iA(e,"_props",i)};for(var o in t)a(o);ye(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var A in t)e[A]="function"!==typeof t[A]?E:F(t[A],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){oe();try{return e.call(t,t)}catch(DA){return Oe(DA,t,"data()"),{}}finally{se()}}(t,e):t||{},l(t)||(t={});var A=Object.keys(t),r=e.$options.props,n=(e.$options.methods,A.length);while(n--){var i=A[n];0,r&&v(r,i)||H(i)||iA(e,"_data",i)}xe(t,!0)}(e):xe(e._data={},!0),t.computed&&function(e,t){var A=e._computedWatchers=Object.create(null),r=Z();for(var n in t){var i=t[n],a="function"===typeof i?i:i.get;0,r||(A[n]=new rA(e,a||E,E,oA)),n in e||sA(e,n,i)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var A in t){var r=t[A];if(Array.isArray(r))for(var n=0;n-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===s.call(e)}(e)&&e.test(t)}function vA(e,t){var A=e.cache,r=e.keys,n=e._vnode;for(var i in A){var a=A[i];if(a){var o=gA(a.componentOptions);o&&!t(o)&&BA(A,i,r,n)}}}function BA(e,t,A,r){var n=e[t];!n||r&&n.tag===r.tag||n.componentInstance.$destroy(),e[t]=null,g(A,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=fA++,t._isVue=!0,e&&e._isComponent?function(e,t){var A=e.$options=Object.create(e.constructor.options),r=t._parentVnode;A.parent=t.parent,A._parentVnode=r;var n=r.componentOptions;A.propsData=n.propsData,A._parentListeners=n.listeners,A._renderChildren=n.children,A._componentTag=n.tag,t.render&&(A.render=t.render,A.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ie(dA(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,A=t.parent;if(A&&!t.abstract){while(A.$options.abstract&&A.$parent)A=A.$parent;A.$children.push(e)}e.$parent=A,e.$root=A?A.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,n=r&&r.context;e.$slots=ot(t._renderChildren,n),e.$scopedSlots=A,e._c=function(t,A,r,n){return kt(e,t,A,r,n,!1)},e.$createElement=function(t,A,r,n){return kt(e,t,A,r,n,!0)};var i=r&&r.data;we(e,"$attrs",i&&i.attrs||A,null,!0),we(e,"$listeners",t._parentListeners||A,null,!0)}(t),Wt(t,"beforeCreate"),!t._$fallback&&it(t),aA(t),!t._$fallback&&nt(t),!t._$fallback&&Wt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(hA),function(e){var t={get:function(){return this._data}},A={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",A),e.prototype.$set=me,e.prototype.$delete=be,e.prototype.$watch=function(e,t,A){if(l(t))return uA(this,e,t,A);A=A||{},A.user=!0;var r=new rA(this,e,t,A);if(A.immediate)try{t.call(this,r.value)}catch(n){Oe(n,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(hA),function(e){var t=/^hook:/;e.prototype.$on=function(e,A){var r=this;if(Array.isArray(e))for(var n=0,i=e.length;n1?Q(A):A;for(var r=Q(arguments,1),n='event handler for "'+e+'"',i=0,a=A.length;iparseInt(this.max)&&BA(o,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},mA={KeepAlive:wA};(function(e){var t={get:function(){return O}};Object.defineProperty(e,"config",t),e.util={warn:ne,extend:U,mergeOptions:Ie,defineReactive:we},e.set=me,e.delete=be,e.nextTick=Xe,e.observable=function(e){return xe(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,U(e.options.components,mA),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var A=Q(arguments,1);return A.unshift(this),"function"===typeof e.install?e.install.apply(e,A):"function"===typeof e&&e.apply(null,A),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ie(this.options,e),this}}(e),pA(e),function(e){L.forEach((function(t){e[t]=function(e,A){return A?("component"===t&&l(A)&&(A.name=A.name||e,A=this.options._base.extend(A)),"directive"===t&&"function"===typeof A&&(A={bind:A,update:A}),this.options[t+"s"][e]=A,A):this.options[t+"s"][e]}}))}(e)})(hA),Object.defineProperty(hA.prototype,"$isServer",{get:Z}),Object.defineProperty(hA.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hA,"FunctionalRenderContext",{value:Ut}),hA.version="2.6.11";var bA="[object Array]",CA="[object Object]";function FA(e,t){var A={};return function e(t,A){if(t===A)return;var r=UA(t),n=UA(A);if(r==CA&&n==CA){if(Object.keys(t).length>=Object.keys(A).length)for(var i in A){var a=t[i];void 0===a?t[i]=null:e(a,A[i])}}else r==bA&&n==bA&&t.length>=A.length&&A.forEach((function(A,r){e(t[r],A)}))}(e,t),function e(t,A,r,n){if(t===A)return;var i=UA(t),a=UA(A);if(i==CA)if(a!=CA||Object.keys(t).length1&&(t[r[0].trim()]=r[1].trim())}})),t}));var kA=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var LA=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];hA.prototype.__patch__=function(e,t){var A=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,n=Object.create(null);try{n=function(e){var t=Object.create(null),A=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));A.reduce((function(t,A){return t[A]=e[A],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,n=r&&r.rawBindings;return n&&Object.keys(n).forEach((function(A){t[A]=e[A]})),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,TA))}(this)}catch(o){console.error(o)}n.__webviewId__=r.data.__webviewId__;var i=Object.create(null);Object.keys(n).forEach((function(e){i[e]=r.data[e]}));var a=!1===this.$shouldDiffData?n:FA(n,i);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"绿纤",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,(function(){A.__next_tick_pending=!1,SA(A)}))):SA(this)}},hA.prototype.$mount=function(e,t){return function(e,t,A){return e.mpType?("app"===e.mpType&&(e.$options.render=IA),e.$options.render||(e.$options.render=IA),!e._$fallback&&Wt(e,"beforeMount"),new rA(e,(function(){e._update(e._render(),A)}),E,{before:function(){e._isMounted&&!e._isDestroyed&&Wt(e,"beforeUpdate")}},!0),A=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var A=e.methods;return A&&Object.keys(A).forEach((function(t){-1!==LA.indexOf(t)&&(e[t]=A[t],delete A[t])})),t.call(this,e)};var A=e.config.optionMergeStrategies,r=A.created;LA.forEach((function(e){A[e]=r})),e.prototype.__lifecycle_hooks__=LA}(hA),function(e){e.config.errorHandler=function(t,A,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',A),console.error(t);var n="function"===typeof getApp&&getApp();n&&n.onError&&n.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var A=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(A)try{A.call(this.$scope,e,{__args__:Q(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return EA(this,e)},kA.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=nt,e.prototype.__init_injections=it,e.prototype.__call_hook=function(e,t){var A=this;oe();var r,n=A.$options[e],i=e+" hook";if(n)for(var a=0,o=n.length;a0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx"),e)}};t.default=a},"3c8b":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={pages:[{path:"pages/home/home",style:{navigationStyle:"custom"}},{path:"pages/index/index",style:{navigationBarTitleText:"绿纤协同平台",navigationStyle:"custom"}},{path:"pages/login/login",style:{navigationBarTitleText:"绿纤协同平台",navigationStyle:"custom"}},{path:"pages/expansion/expansion",style:{navigationBarTitleText:"绿纤拓客数据录入"}},{path:"pages/expansion-list/expansion-list",style:{navigationBarTitleText:"拓客记录"}},{path:"pages/expansion-detail/expansion-detail",style:{navigationBarTitleText:"拓客详情"}},{path:"pages/appointment/appointment",style:{navigationBarTitleText:"预约管理"}},{path:"pages/invite/invite",style:{navigationBarTitleText:"邀约管理"}},{path:"pages/member-create/member-create",style:{navigationBarTitleText:"会员建档"}},{path:"pages/member-edit/member-edit",style:{navigationBarTitleText:"修改会员信息"}},{path:"pages/refund/refund",style:{navigationBarTitleText:"退卡管理"}},{path:"pages/clue-list/clue-list",style:{navigationBarTitleText:"会员管理"}},{path:"pages/user-appointment-list/user-appointment-list",style:{navigationBarTitleText:"预约列表"}},{path:"pages/user-invite-list/user-invite-list",style:{navigationBarTitleText:"邀约记录"}},{path:"pages/invite-detail/invite-detail",style:{navigationBarTitleText:"邀约详情"}},{path:"pages/appointment-detail/appointment-detail",style:{navigationBarTitleText:"预约详情"}},{path:"pages/dailyReport/dailyReport",style:{navigationBarTitleText:"报表"}},{path:"pages/lx/lx",style:{enablePullDownRefresh:!1,navigationBarTitleText:"开单"}},{path:"pages/member-consume/member-consume",style:{enablePullDownRefresh:!1,navigationBarTitleText:"消耗"}},{path:"pages/lx-list/lx-list",style:{navigationBarTitleText:"开单记录"}},{path:"pages/lx-detail/lx-detail",style:{navigationBarTitleText:"开单详情"}},{path:"pages/consume-list/consume-list",style:{navigationBarTitleText:"耗卡记录"}},{path:"pages/consume-detail/consume-detail",style:{navigationBarTitleText:"耗卡详情"}},{path:"pages/refund-list/refund-list",style:{navigationBarTitleText:"退卡记录"}},{path:"pages/refund-detail/refund-detail",style:{navigationBarTitleText:"退卡详情"}},{path:"pages/transferCard/transferCard",style:{enablePullDownRefresh:!1,navigationBarTitleText:"转卡"}},{path:"pages/serviceDiary/serviceDiary",style:{navigationBarTitleText:"服务日志"}},{path:"pages/serviceDiary/serviceDiaryuser",style:{navigationBarTitleText:"服务日志"}},{path:"pages/addServiceLog/addServiceLog",style:{navigationBarTitleText:"新增服务日志"}},{path:"pages/web/web",style:{navigationBarTitleText:"绿纤AI问答"}},{path:"pages/log/log",style:{navigationBarTitleText:"日志"}},{path:"pages/member-rights/member-rights",style:{navigationBarTitleText:"剩余权益"}},{path:"pages/purchase-list/purchase-list",style:{navigationBarTitleText:"物品购买记录"}},{path:"pages/purchase-form/purchase-form",style:{navigationBarTitleText:"物品购买"}},{path:"pages/purchase-detail/purchase-detail",style:{navigationBarTitleText:"物品购买详情"}},{path:"pages/reimbursement-list/reimbursement-list",style:{navigationBarTitleText:"报销申请记录"}},{path:"pages/reimbursement-form/reimbursement-form",style:{navigationBarTitleText:"报销申请"}},{path:"pages/reimbursement-detail/reimbursement-detail",style:{navigationBarTitleText:"报销申请详情"}},{path:"pages/usage-list/usage-list",style:{navigationBarTitleText:"使用记录"}},{path:"pages/usage-form/usage-form",style:{navigationBarTitleText:"添加使用记录"}},{path:"pages/laundry-flow-list/laundry-flow-list",style:{navigationBarTitleText:"毛巾记录"}},{path:"pages/laundry-flow-send/laundry-flow-send",style:{navigationBarTitleText:"创建送出记录"}},{path:"pages/laundry-flow-return/laundry-flow-return",style:{navigationBarTitleText:"创建送回记录"}},{path:"pages/laundry-flow-detail/laundry-flow-detail",style:{navigationBarTitleText:"毛巾记录详情"}},{path:"pages/laundry-flow-edit/laundry-flow-edit",style:{navigationBarTitleText:"编辑记录"}},{path:"pages/reimbursement-audit-list/reimbursement-audit-list",style:{navigationBarTitleText:"报销审核记录"}},{path:"pages/reimbursement-audit-detail/reimbursement-audit-detail",style:{navigationBarTitleText:"报销审核详情"}},{path:"pages/store-list/store-list",style:{navigationBarTitleText:"门店管理"}},{path:"pages/order-records-list/order-records-list",style:{navigationBarTitleText:"旧日志"}},{path:"pages/dashboard/dashboard",style:{navigationBarTitleText:"集团驾驶舱",enablePullDownRefresh:!0}},{path:"pages/information/information",style:{navigationStyle:"custom"}},{path:"pages/me/me",style:{navigationStyle:"custom"}},{path:"pages/store-dashboard/store-dashboard",style:{navigationBarTitleText:"门店数据报表"}},{path:"pages/tech-department-dashboard/tech-department-dashboard",style:{navigationBarTitleText:"科技部数据报表"}},{path:"pages/business-unit-dashboard/business-unit-dashboard",style:{navigationBarTitleText:"事业部数据报表"}},{path:"pages/salary-query/salary-query",style:{navigationBarTitleText:"工资"}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"绿纤协同平台",navigationBarBackgroundColor:"#fff"},uniIdRouter:{}}},"3dc6":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}}},"3ed7":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{bgColor:{type:String,default:e.$u.props.gap.bgColor},height:{type:[String,Number],default:e.$u.props.gap.height},marginTop:{type:[String,Number],default:e.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:e.$u.props.gap.marginBottom}}};t.default=A}).call(this,A("df3c")["default"])},"41a3":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=r},"42ab":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getLaundryFlowList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundryFlow/GetList"),e)},createSendRecord:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundryFlow/Send"),e)},createReturnRecord:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundryFlow/Return"),e)},getSupplierList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundrySupplier/GetList"),e)},getLaundryFlowDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundryFlow/").concat(e))},getProductTypeList:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreConsumableInventory/consumable-product-type"))},updateLaundryFlow:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqLaundryFlow/Update"),e)}};t.default=a},"438d":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}}},"439a":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{openType:String},methods:{onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onError:function(e){this.$emit("error",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)}}};t.default=r},"43e0":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};t.default=r},4443:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{shape:{type:String,default:e.$u.props.search.shape},bgColor:{type:String,default:e.$u.props.search.bgColor},placeholder:{type:String,default:e.$u.props.search.placeholder},clearabled:{type:Boolean,default:e.$u.props.search.clearabled},focus:{type:Boolean,default:e.$u.props.search.focus},showAction:{type:Boolean,default:e.$u.props.search.showAction},actionStyle:{type:Object,default:e.$u.props.search.actionStyle},actionText:{type:String,default:e.$u.props.search.actionText},inputAlign:{type:String,default:e.$u.props.search.inputAlign},inputStyle:{type:Object,default:e.$u.props.search.inputStyle},disabled:{type:Boolean,default:e.$u.props.search.disabled},borderColor:{type:String,default:e.$u.props.search.borderColor},searchIconColor:{type:String,default:e.$u.props.search.searchIconColor},color:{type:String,default:e.$u.props.search.color},placeholderColor:{type:String,default:e.$u.props.search.placeholderColor},searchIcon:{type:String,default:e.$u.props.search.searchIcon},searchIconSize:{type:[Number,String],default:e.$u.props.search.searchIconSize},margin:{type:String,default:e.$u.props.search.margin},animation:{type:Boolean,default:e.$u.props.search.animation},value:{type:String,default:e.$u.props.search.value},maxlength:{type:[String,Number],default:e.$u.props.search.maxlength},height:{type:[String,Number],default:e.$u.props.search.height},label:{type:[String,Number,null],default:e.$u.props.search.label}}};t.default=A}).call(this,A("df3c")["default"])},4544:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getPurchaseList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords"),e)},getPurchaseDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords/").concat(e))},createPurchase:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords"),e)},updatePurchase:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords/").concat(e),t)},getReimbursementCategoryList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementCategory/Actions/GetNoPagingList"),e)},deletePurchase:function(e){return n.default.del("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords/").concat(e))}};t.default=a},4548:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}}},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"47d5":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{show:{type:Boolean,default:e.$u.props.toolbar.show},cancelText:{type:String,default:e.$u.props.toolbar.cancelText},confirmText:{type:String,default:e.$u.props.toolbar.confirmText},cancelColor:{type:String,default:e.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:e.$u.props.toolbar.confirmColor},title:{type:String,default:e.$u.props.toolbar.title}}};t.default=A}).call(this,A("df3c")["default"])},"47dc":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getStoreDashboardStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreDashboard/GetStatistics"),e)},getStoreMonthlyTrend:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReport/get-store-monthly-trend"),e)},getStoreItemAnalysis:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReport/get-store-item-analysis"),e)},getStoreHealthCoachAnalysis:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReport/get-store-health-coach-analysis"),e)},getStoreMemberAnalysis:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReport/get-store-member-analysis"),e)},getCategoryMonthlyPerformance:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreDashboard/GetCategoryMonthlyPerformance"),e)},getMemberConversionFunnel:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreDashboard/GetMemberConversionFunnel"),e)},getCustomerPriceProjectRelation:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreDashboard/GetCustomerPriceProjectRelation"),e)},getStoreComparisonAnalysis:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReport/get-store-comparison-analysis"),e)},getWeeklyHeatmap:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqStoreDashboard/GetWeeklyHeatmap"),e)}};t.default=a},"47ea":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"486d":function(e){e.exports=JSON.parse('{"uni-calender.ok":"確定","uni-calender.cancel":"取消","uni-calender.today":"今日","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六"}')},"486f":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i={getDashboardData:function(e){return n.default.post("/api/Extend/LqReport/get-dashboard-data",e)},getStorePerformanceTrend:function(e){return n.default.post("/api/Extend/LqReport/get-store-performance-trend",e)},getStorePerformanceRanking:function(e){return n.default.post("/api/Extend/LqReport/get-store-performance-ranking",e)},getHealthCoachPerformanceRanking:function(e){return n.default.post("/api/Extend/LqReport/get-health-coach-performance-ranking",e)},getGoldTrianglePerformanceRanking:function(e){return n.default.post("/api/Extend/LqReport/get-gold-triangle-performance-ranking",e)},getCustomerVisitFrequency:function(e){return n.default.post("/api/Extend/LqReport/get-customer-visit-frequency",e)},getItemStatistics:function(e){return n.default.post("/api/Extend/LqReport/get-item-statistics",e)},getBusinessStatistics:function(e){return n.default.post("/api/Extend/LqReport/get-business-statistics",e)},getTkStatistics:function(e){return n.default.post("/api/Extend/LqTkjlb/get-tk-statistics",e)},getHealthCoachBillingRanking:function(e){return n.default.post("/api/Extend/LqReport/get-health-coach-billing-ranking",e)},getHealthCoachConsumeRanking:function(e){return n.default.post("/api/Extend/LqReport/get-health-coach-consume-ranking",e)},getHealthCoachRefundRanking:function(e){return n.default.post("/api/Extend/LqReport/get-health-coach-refund-ranking",e)}};t.default=i},4965:function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"49d3":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}}},"4a8d":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("3b2d"));function i(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function a(e){switch((0,n.default)(e)){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return"function"===typeof e}var l={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){return!!e&&(i(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:i,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){return 7===e.length?/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(e):8===e.length&&/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:a,isEmpty:a,jsonString:function(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,n.default)(t)||!t)}catch(A){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:o,array:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)},func:s,promise:function(e){return o(e)&&s(e.then)&&s(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){var t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"===typeof e}};t.default=l},"4d4c":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(e){var t,A=348;for(t=32768;t>8;t>>=1)A+=this.lunarInfo[e-1900]&t?1:0;return A+this.leapDays(e)},leapMonth:function(e){return 15&this.lunarInfo[e-1900]},leapDays:function(e){return this.leapMonth(e)?65536&this.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:this.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var A=t-1;return 1==A?e%4==0&&e%100!=0||e%400==0?29:28:this.solarMonth[A]},toGanZhiYear:function(e){var t=(e-3)%10,A=(e-3)%12;return 0==t&&(t=10),0==A&&(A=12),this.Gan[t-1]+this.Zhi[A-1]},toAstro:function(e,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*e-(t<[20,19,21,21,21,22,23,23,23,23,22,22][e-1]?2:0),2)+"座"},toGanZhi:function(e){return this.Gan[e%10]+this.Zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var A=this.sTermInfo[e-1900],r=[parseInt("0x"+A.substr(0,5)).toString(),parseInt("0x"+A.substr(5,5)).toString(),parseInt("0x"+A.substr(10,5)).toString(),parseInt("0x"+A.substr(15,5)).toString(),parseInt("0x"+A.substr(20,5)).toString(),parseInt("0x"+A.substr(25,5)).toString()],n=[r[0].substr(0,1),r[0].substr(1,2),r[0].substr(3,1),r[0].substr(4,2),r[1].substr(0,1),r[1].substr(1,2),r[1].substr(3,1),r[1].substr(4,2),r[2].substr(0,1),r[2].substr(1,2),r[2].substr(3,1),r[2].substr(4,2),r[3].substr(0,1),r[3].substr(1,2),r[3].substr(3,1),r[3].substr(4,2),r[4].substr(0,1),r[4].substr(1,2),r[4].substr(3,1),r[4].substr(4,2),r[5].substr(0,1),r[5].substr(1,2),r[5].substr(3,1),r[5].substr(4,2)];return parseInt(n[t-1])},toChinaMonth:function(e){if(e>12||e<1)return-1;var t=this.nStr3[e-1];return t+="月",t},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=this.nStr2[Math.floor(e/10)],t+=this.nStr1[e%10]}return t},getAnimal:function(e){return this.Animals[(e-4)%12]},solar2lunar:function(e,t,A){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&A<31)return-1;if(e)r=new Date(e,parseInt(t)-1,A);else var r=new Date;var n,i=0,a=(e=r.getFullYear(),t=r.getMonth()+1,A=r.getDate(),(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5);for(n=1900;n<2101&&a>0;n++)i=this.lYearDays(n),a-=i;a<0&&(a+=i,n--);var o=new Date,s=!1;o.getFullYear()==e&&o.getMonth()+1==t&&o.getDate()==A&&(s=!0);var l=r.getDay(),c=this.nStr1[l];0==l&&(l=7);var u=n,f=this.leapMonth(n),d=!1;for(n=1;n<13&&a>0;n++)f>0&&n==f+1&&0==d?(--n,d=!0,i=this.leapDays(u)):i=this.monthDays(u,n),1==d&&n==f+1&&(d=!1),a-=i;0==a&&f>0&&n==f+1&&(d?d=!1:(d=!0,--n)),a<0&&(a+=i,--n);var h=n,p=a+1,g=t-1,y=this.toGanZhiYear(u),v=this.getTerm(e,2*t-1),B=this.getTerm(e,2*t),x=this.toGanZhi(12*(e-1900)+t+11);A>=v&&(x=this.toGanZhi(12*(e-1900)+t+12));var w=!1,m=null;v==A&&(w=!0,m=this.solarTerm[2*t-2]),B==A&&(w=!0,m=this.solarTerm[2*t-1]);var b=Date.UTC(e,g,1,0,0,0,0)/864e5+25567+10,C=this.toGanZhi(b+A-1),F=this.toAstro(t,A);return{lYear:u,lMonth:h,lDay:p,Animal:this.getAnimal(u),IMonthCn:(d?"闰":"")+this.toChinaMonth(h),IDayCn:this.toChinaDay(p),cYear:e,cMonth:t,cDay:A,gzYear:y,gzMonth:x,gzDay:C,isToday:s,isLeap:d,nWeek:l,ncWeek:"星期"+c,isTerm:w,Term:m,astro:F}},lunar2solar:function(e,t,A,r){r=!!r;var n=this.leapMonth(e);this.leapDays(e);if(r&&n!=t)return-1;if(2100==e&&12==t&&A>1||1900==e&&1==t&&A<31)return-1;var i=this.monthDays(e,t),a=i;if(r&&(a=this.leapDays(e,t)),e<1900||e>2100||A>a)return-1;for(var o=0,s=1900;s0&&(o+=this.leapDays(e),c=!0),o+=this.monthDays(e,s);r&&(o+=i);var u=Date.UTC(1900,1,30,0,0,0),f=new Date(864e5*(o+A-31)+u),d=f.getUTCFullYear(),h=f.getUTCMonth()+1,p=f.getUTCDate();return this.solar2lunar(d,h,p)}},n=r;t.default=n},"4ffb":function(e,t,A){var r=A("3b2d")["default"],n=A("3352");e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},5041:function(e,t,A){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];A?r||(r=!0,"function"===typeof e&&e(),setTimeout((function(){r=!1}),t)):r||(r=!0,setTimeout((function(){r=!1,"function"===typeof e&&e()}),t))};t.default=n},5162:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}}},5345:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__18C09B8"}},"53a7":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}}},5465:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getAppointmentList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqYyjl"),e)},createAppointment:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqYyjl"),e)},getAppointmentDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqYyjl/").concat(e))},updateAppointmentStatus:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqYyjl/").concat(e,"/status"),{status:t})},cancelAppointment:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqYyjl/").concat(e,"/cancel"))},getProjectList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXmzl"),e)},getCustomerList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx"),e)},getHealthWorkerList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/user"),e)},getCustomerTypes:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkhxx/deduct-types"))}};t.default=a},"54c0":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{name:{type:String,default:e.$u.props.checkboxGroup.name},value:{type:Array,default:e.$u.props.checkboxGroup.value},shape:{type:String,default:e.$u.props.checkboxGroup.shape},disabled:{type:Boolean,default:e.$u.props.checkboxGroup.disabled},activeColor:{type:String,default:e.$u.props.checkboxGroup.activeColor},inactiveColor:{type:String,default:e.$u.props.checkboxGroup.inactiveColor},size:{type:[String,Number],default:e.$u.props.checkboxGroup.size},placement:{type:String,default:e.$u.props.checkboxGroup.placement},labelSize:{type:[String,Number],default:e.$u.props.checkboxGroup.labelSize},labelColor:{type:[String],default:e.$u.props.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:e.$u.props.checkboxGroup.labelDisabled},iconColor:{type:String,default:e.$u.props.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:e.$u.props.checkboxGroup.iconSize},iconPlacement:{type:String,default:e.$u.props.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:e.$u.props.checkboxGroup.borderBottom}}};t.default=A}).call(this,A("df3c")["default"])},5517:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}}},"58a9":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getEmployeePerformanceStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqstatistics/get-employee-performance-statistics"),e)},GetTechTeacherStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqstatistics/GetTechTeacherStatistics"),e)}};t.default=a},"5b7a":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{show:{type:Boolean,default:e.$u.props.datetimePicker.show},showToolbar:{type:Boolean,default:e.$u.props.datetimePicker.showToolbar},value:{type:[String,Number],default:e.$u.props.datetimePicker.value},title:{type:String,default:e.$u.props.datetimePicker.title},mode:{type:String,default:e.$u.props.datetimePicker.mode},maxDate:{type:Number,default:e.$u.props.datetimePicker.maxDate},minDate:{type:Number,default:e.$u.props.datetimePicker.minDate},minHour:{type:Number,default:e.$u.props.datetimePicker.minHour},maxHour:{type:Number,default:e.$u.props.datetimePicker.maxHour},minMinute:{type:Number,default:e.$u.props.datetimePicker.minMinute},maxMinute:{type:Number,default:e.$u.props.datetimePicker.maxMinute},filter:{type:[Function,null],default:e.$u.props.datetimePicker.filter},formatter:{type:[Function,null],default:e.$u.props.datetimePicker.formatter},loading:{type:Boolean,default:e.$u.props.datetimePicker.loading},itemHeight:{type:[String,Number],default:e.$u.props.datetimePicker.itemHeight},cancelText:{type:String,default:e.$u.props.datetimePicker.cancelText},confirmText:{type:String,default:e.$u.props.datetimePicker.confirmText},cancelColor:{type:String,default:e.$u.props.datetimePicker.cancelColor},confirmColor:{type:String,default:e.$u.props.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:e.$u.props.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.datetimePicker.defaultIndex}}};t.default=A}).call(this,A("df3c")["default"])},"5ff8":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}}},"62b0":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}}},6382:function(e,t,A){var r=A("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var A=Object.prototype.toString.call(e).slice(8,-1);return"Object"===A&&e.constructor&&(A=e.constructor.name),"Map"===A||"Set"===A?Array.from(e):"Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var A=0,r=new Array(t);A=t?e:"".concat(Array(t+1-r.length).join(A)).concat(e)},p={s:h,z:function(e){var t=-e.utcOffset(),A=Math.abs(t),r=Math.floor(A/60),n=A%60;return"".concat((t<=0?"+":"-")+h(r,2,"0"),":").concat(h(n,2,"0"))},m:function e(t,A){if(t.date()0&&(A=r.data.list[0].id),t.abrupt("return",A);case 6:case"end":return t.stop()}}),t)})))()},formatTime:function(t){if(!t)return"无";var A=new Date(t);return e.$u.timeFormat(A,"yyyy-mm-dd hh:MM")},formatTimeday:function(t){if(!t)return"无";var A=new Date(t);return e.$u.timeFormat(A,"yyyy-mm-dd")},formatTimess:function(t){if(!t)return"无";var A=new Date(t);return e.$u.timeFormat(A,"yyyy-mm-dd hh:MM:ss")},getTodayRange:function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),A=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999);return[t.getTime(),A.getTime()]},getCurrentMonthRange:function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),1),A=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999);return[t.getTime(),A.getTime()]}},s=o;t.default=s}).call(this,A("df3c")["default"])},7616:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}}},7632:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}}},7647:function(e,t){function A(t,r){return e.exports=A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,A(t,r)}e.exports=A,e.exports.__esModule=!0,e.exports["default"]=e.exports},"765c":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{show:{type:Boolean,default:e.$u.props.loadingIcon.show},color:{type:String,default:e.$u.props.loadingIcon.color},textColor:{type:String,default:e.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:e.$u.props.loadingIcon.vertical},mode:{type:String,default:e.$u.props.loadingIcon.mode},size:{type:[String,Number],default:e.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:e.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:e.$u.props.loadingIcon.text},timingFunction:{type:String,default:e.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:e.$u.props.loadingIcon.inactiveColor}}};t.default=A}).call(this,A("df3c")["default"])},"77d0":function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7ca3")),i=r(A("1237")),a=r(A("b60b")),o=r(A("dcf9")),s=r(A("214c")),l=r(A("b939")),c=r(A("4a8d")),u=r(A("82f0")),f=r(A("5041")),d=r(A("bab5")),h=r(A("9475")),p=r(A("267e")),g=r(A("8bbb")),y=r(A("a865")),v=r(A("8c83"));function B(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function x(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:500,A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==r&&clearTimeout(r),A){var n=!r;r=setTimeout((function(){r=null}),t),n&&"function"===typeof e&&e()}else r=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=n},8465:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};t.default=r},8552:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{loading:{type:Boolean,default:e.$u.props.switch.loading},disabled:{type:Boolean,default:e.$u.props.switch.disabled},size:{type:[String,Number],default:e.$u.props.switch.size},activeColor:{type:String,default:e.$u.props.switch.activeColor},inactiveColor:{type:String,default:e.$u.props.switch.inactiveColor},value:{type:[Boolean,String,Number],default:e.$u.props.switch.value},activeValue:{type:[String,Number,Boolean],default:e.$u.props.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:e.$u.props.switch.inactiveValue},asyncChange:{type:Boolean,default:e.$u.props.switch.asyncChange},space:{type:[String,Number],default:e.$u.props.switch.space}}};t.default=A}).call(this,A("df3c")["default"])},"861b":function(e,t,A){"use strict";(function(e,r,n){var i=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.uniCloud=t.default=t.UniCloudError=void 0;var a=i(A("7eb4")),o=i(A("3352")),s=i(A("34cf")),l=i(A("3b2d")),c=i(A("af34")),u=i(A("ee10")),f=i(A("7ca3")),d=i(A("8ffa")),h=i(A("4ffb")),p=i(A("b4d2")),g=i(A("7ce1")),y=i(A("67ad")),v=i(A("0bdb")),B=i(A("3c8b"));function x(e,t){var A="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!A){if(Array.isArray(e)||(A=function(e,t){if(!e)return;if("string"===typeof e)return w(e,t);var A=Object.prototype.toString.call(e).slice(8,-1);"Object"===A&&e.constructor&&(A=e.constructor.name);if("Map"===A||"Set"===A)return Array.from(e);if("Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return w(e,t)}(e))||t&&e&&"number"===typeof e.length){A&&(e=A);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}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 i,a=!0,o=!1;return{s:function(){A=A.call(e)},n:function(){var e=A.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==A.return||A.return()}finally{if(o)throw i}}}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var A=0,r=new Array(t);A>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(i=0;i>>2]=A[i>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,A=this.sigBytes;t[A>>>2]&=4294967295<<32-A%4*8,t.length=e.ceil(A/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var A,r=[],n=function(t){var A=987654321,r=4294967295;return function(){var n=((A=36969*(65535&A)+(A>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return n/=4294967296,(n+=.5)*(e.random()>.5?1:-1)}},i=0;i>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,A=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(A,t/2)}},l=o.Latin1={stringify:function(e){for(var t=e.words,A=e.sigBytes,r=[],n=0;n>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,A=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(A,t)}},c=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},u=n.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var A=this._data,r=A.words,n=A.sigBytes,i=this.blockSize,o=n/(4*i),s=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*i,l=e.min(4*s,n);if(s){for(var c=0;c>>24)|4278255360&(n<<24|n>>>8)}var i=this._hash.words,a=e[t+0],s=e[t+1],d=e[t+2],h=e[t+3],p=e[t+4],g=e[t+5],y=e[t+6],v=e[t+7],B=e[t+8],x=e[t+9],w=e[t+10],m=e[t+11],b=e[t+12],C=e[t+13],F=e[t+14],Q=e[t+15],U=i[0],S=i[1],E=i[2],T=i[3];U=l(U,S,E,T,a,7,o[0]),T=l(T,U,S,E,s,12,o[1]),E=l(E,T,U,S,d,17,o[2]),S=l(S,E,T,U,h,22,o[3]),U=l(U,S,E,T,p,7,o[4]),T=l(T,U,S,E,g,12,o[5]),E=l(E,T,U,S,y,17,o[6]),S=l(S,E,T,U,v,22,o[7]),U=l(U,S,E,T,B,7,o[8]),T=l(T,U,S,E,x,12,o[9]),E=l(E,T,U,S,w,17,o[10]),S=l(S,E,T,U,m,22,o[11]),U=l(U,S,E,T,b,7,o[12]),T=l(T,U,S,E,C,12,o[13]),E=l(E,T,U,S,F,17,o[14]),U=c(U,S=l(S,E,T,U,Q,22,o[15]),E,T,s,5,o[16]),T=c(T,U,S,E,y,9,o[17]),E=c(E,T,U,S,m,14,o[18]),S=c(S,E,T,U,a,20,o[19]),U=c(U,S,E,T,g,5,o[20]),T=c(T,U,S,E,w,9,o[21]),E=c(E,T,U,S,Q,14,o[22]),S=c(S,E,T,U,p,20,o[23]),U=c(U,S,E,T,x,5,o[24]),T=c(T,U,S,E,F,9,o[25]),E=c(E,T,U,S,h,14,o[26]),S=c(S,E,T,U,B,20,o[27]),U=c(U,S,E,T,C,5,o[28]),T=c(T,U,S,E,d,9,o[29]),E=c(E,T,U,S,v,14,o[30]),U=u(U,S=c(S,E,T,U,b,20,o[31]),E,T,g,4,o[32]),T=u(T,U,S,E,B,11,o[33]),E=u(E,T,U,S,m,16,o[34]),S=u(S,E,T,U,F,23,o[35]),U=u(U,S,E,T,s,4,o[36]),T=u(T,U,S,E,p,11,o[37]),E=u(E,T,U,S,v,16,o[38]),S=u(S,E,T,U,w,23,o[39]),U=u(U,S,E,T,C,4,o[40]),T=u(T,U,S,E,a,11,o[41]),E=u(E,T,U,S,h,16,o[42]),S=u(S,E,T,U,y,23,o[43]),U=u(U,S,E,T,x,4,o[44]),T=u(T,U,S,E,b,11,o[45]),E=u(E,T,U,S,Q,16,o[46]),U=f(U,S=u(S,E,T,U,d,23,o[47]),E,T,a,6,o[48]),T=f(T,U,S,E,v,10,o[49]),E=f(E,T,U,S,F,15,o[50]),S=f(S,E,T,U,g,21,o[51]),U=f(U,S,E,T,b,6,o[52]),T=f(T,U,S,E,h,10,o[53]),E=f(E,T,U,S,w,15,o[54]),S=f(S,E,T,U,s,21,o[55]),U=f(U,S,E,T,B,6,o[56]),T=f(T,U,S,E,Q,10,o[57]),E=f(E,T,U,S,y,15,o[58]),S=f(S,E,T,U,C,21,o[59]),U=f(U,S,E,T,p,6,o[60]),T=f(T,U,S,E,m,10,o[61]),E=f(E,T,U,S,d,15,o[62]),S=f(S,E,T,U,x,21,o[63]),i[0]=i[0]+U|0,i[1]=i[1]+S|0,i[2]=i[2]+E|0,i[3]=i[3]+T|0},_doFinalize:function(){var t=this._data,A=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;A[n>>>5]|=128<<24-n%32;var i=e.floor(r/4294967296),a=r;A[15+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),A[14+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(A.length+1),this._process();for(var o=this._hash,s=o.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,A,r,n,i,a){var o=e+(t&A|~t&r)+n+a;return(o<>>32-i)+t}function c(e,t,A,r,n,i,a){var o=e+(t&r|A&~r)+n+a;return(o<>>32-i)+t}function u(e,t,A,r,n,i,a){var o=e+(t^A^r)+n+a;return(o<>>32-i)+t}function f(e,t,A,r,n,i,a){var o=e+(A^(t|~r))+n+a;return(o<>>32-i)+t}t.MD5=i._createHelper(s),t.HmacMD5=i._createHmacHelper(s)}(Math),A.MD5)})),F((function(e,t){var A;e.exports=(A=U,void function(){var e=A,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var A=e.blockSize,n=4*A;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),o=i.words,s=a.words,l=0;l>>6-a%4*2;n[i>>>2]|=(o|s)<<24-i%4*8,i++}return t.create(n,i)}e.enc.Base64={stringify:function(e){var t=e.words,A=e.sigBytes,r=this._map;e.clamp();for(var n=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,o=0;o<4&&i+.75*o>>6*(3-o)&63));var s=r.charAt(64);if(s)for(;n.length%4;)n.push(s);return n.join("")},parse:function(e){var t=e.length,A=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},A=t.createPromise,r=t.retryRule,n=void 0===r?R:r;(0,y.default)(this,e),this.createPromise=A,this.status=null,this.promise=null,this.retryRule=n}return(0,v.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case R:return this.status===D;case j:return this.status!==k}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=k,this.promise=this.createPromise().then((function(t){return e.status=L,Promise.resolve(t)}),(function(t){return e.status=D,Promise.reject(t)})),this.promise):this.promise}}]),e}(),G=function(){function e(){(0,y.default)(this,e),this._callback={}}return(0,v.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var A=this._callback[e];if(A){var r=function(e,t){for(var A=e.length-1;A>=0;A--)if(e[A]===t)return A;return-1}(A,t);A.splice(r,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],A=arguments.length,r=new Array(A>1?A-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:{};return t=Y,A=e,Object.prototype.hasOwnProperty.call(t,A)||(Y[e]=r),Y[e]}"app"===q&&(Y=r._globalUniCloudObj?r._globalUniCloudObj:r._globalUniCloudObj={});var Z=["invoke","success","fail","complete"],ee=$("_globalUniCloudInterceptor");function te(e,t){ee[e]||(ee[e]={}),M(t)&&Object.keys(t).forEach((function(A){Z.indexOf(A)>-1&&function(e,t,A){var r=ee[e][t];r||(r=ee[e][t]=[]),-1===r.indexOf(A)&&H(A)&&r.push(A)}(e,A,t[A])}))}function Ae(e,t){ee[e]||(ee[e]={}),M(t)?Object.keys(t).forEach((function(A){Z.indexOf(A)>-1&&function(e,t,A){var r=ee[e][t];if(r){var n=r.indexOf(A);n>-1&&r.splice(n,1)}}(e,A,t[A])})):delete ee[e]}function re(e,t){return e&&0!==e.length?e.reduce((function(e,A){return e.then((function(){return A(t)}))}),Promise.resolve()):Promise.resolve()}function ne(e,t){return ee[e]&&ee[e][t]||[]}function ie(e){te("callObject",e)}var ae=$("_globalUniCloudListener"),oe={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},se={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function le(e){return ae[e]||(ae[e]=[]),ae[e]}function ce(e,t){var A=le(e);A.includes(t)||A.push(t)}function ue(e,t){var A=le(e),r=A.indexOf(t);-1!==r&&A.splice(r,1)}function fe(e,t){for(var A=le(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),A}((0,g.default)(Error));t.UniCloudError=ye;var ve,Be,xe={request:function(e){return r.request(e)},uploadFile:function(e){return r.uploadFile(e)},setStorageSync:function(e,t){return r.setStorageSync(e,t)},getStorageSync:function(e){return r.getStorageSync(e)},removeStorageSync:function(e){return r.removeStorageSync(e)},clearStorageSync:function(){return r.clearStorageSync()},connectSocket:function(e){return r.connectSocket(e)}};function we(){return{token:xe.getStorageSync(I)||xe.getStorageSync("uniIdToken"),tokenExpired:xe.getStorageSync(P)}}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,A=e.tokenExpired;t&&xe.setStorageSync(I,t),A&&xe.setStorageSync(P,A)}function be(){return ve||(ve="mp-weixin"===q&&n.canIUse("getAppBaseInfo")&&n.canIUse("getDeviceInfo")?b(b({},r.getAppBaseInfo()),r.getDeviceInfo()):r.getSystemInfoSync()),ve}var Ce={};function Fe(){var e=r.getLocale&&r.getLocale()||"en";if(Be)return b(b(b({},Ce),Be),{},{locale:e,LOCALE:e});var t=be(),A=t.deviceId,n=t.osName,i=t.uniPlatform,a=t.appId,o=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var s in t)Object.hasOwnProperty.call(t,s)&&-1===o.indexOf(s)&&delete t[s];return Be=b(b({PLATFORM:i,OS:n,APPID:a,DEVICEID:A},function(){var e,t;try{if(r.getLaunchOptionsSync){if(r.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var A=r.getLaunchOptionsSync(),n=A.scene,i=A.channel;e=i,t=n}}catch(e){}return{channel:e,scene:t}}()),t),b(b(b({},Ce),Be),{},{locale:e,LOCALE:e})}var Qe,Ue={sign:function(e,t){var A="";return Object.keys(e).sort().forEach((function(t){e[t]&&(A=A+"&"+t+"="+e[t])})),A=A.slice(1),S(A,t).toString()},wrappedRequest:function(e,t){return new Promise((function(A,r){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){var n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",i=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return r(new ye({code:n,message:i,requestId:t}))}var a=e.data;if(a.error)return r(new ye({code:a.error.code,message:a.error.message,requestId:t}));a.result=a.data,a.requestId=t,delete a.data,A(a)}}))}))},toBase64:function(e){return T.stringify(E.parse(e))}},Se=function(){function e(t){var A=this;(0,y.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xe,this._getAccessTokenPromiseHub=new N({createPromise:function(){return A.requestAuth(A.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new ye({code:"AUTH_FAILED",message:"获取accessToken失败"});A.setAccessToken(e.result.accessToken)}))},retryRule:j})}return(0,v.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return Ue.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var A=this;return Promise.resolve().then((function(){return A.hasAccessToken?t?A.requestWrapped(e):A.requestWrapped(e).catch((function(t){return new Promise((function(e,A){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?A(t):e()})).then((function(){return A.getAccessToken()})).then((function(){var t=A.rebuildRequest(e);return A.request(t,!0)}))})):A.getAccessToken().then((function(){var t=A.rebuildRequest(e);return A.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Ue.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var A=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};return"auth"!==t&&(A.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Ue.sign(A,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:A,dataType:"json",header:r}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,u.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(b(b({},this.setupRequest(t)),{},{timeout:e.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,A=e.url,r=e.formData,n=e.name,i=e.filePath,a=e.fileType,o=e.onUploadProgress;return new Promise((function(e,s){var l=t.adapter.uploadFile({url:A,formData:r,name:n,filePath:i,fileType:a,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):s(new ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){s(new ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o,s,l,c,u,f,d,h,p,g,y,v,B,x,w,m,b,C;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A=t.filePath,r=t.cloudPath,n=t.fileType,i=void 0===n?"image":n,o=t.cloudPathAsRealPath,s=void 0!==o&&o,l=t.onUploadProgress,c=t.config,"string"===O(r)){e.next=3;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(r=r.trim()){e.next=5;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(r)){e.next=7;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(u=c&&c.envType||this.config.envType,!(s&&("/"!==r[0]&&(r="/"+r),r.indexOf("\\")>-1))){e.next=10;break}throw new ye({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:u,filename:s?r.split("/").pop():r,fileId:s?r:void 0});case 12:return f=e.sent.result,d="https://"+f.cdnDomain+"/"+f.ossPath,h=f.securityToken,p=f.accessKeyId,g=f.signature,y=f.host,v=f.ossPath,B=f.id,x=f.policy,w=f.ossCallbackUrl,m={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:p,Signature:g,host:y,id:B,key:v,policy:x,success_action_status:200},h&&(m["x-oss-security-token"]=h),w&&(b=JSON.stringify({callbackUrl:w,callbackBody:JSON.stringify({fileId:B,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),m.callback=Ue.toBase64(b)),C={url:"https://"+f.host,formData:m,fileName:"file",name:"file",filePath:A,fileType:i},e.next=27,this.uploadFileToOSS(Object.assign({},C,{onUploadProgress:l}));case 27:if(!w){e.next=29;break}return e.abrupt("return",{success:!0,filePath:A,fileID:d});case 29:return e.next=31,this.reportOSSUpload({id:B});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:A,fileID:d});case 33:throw new ye({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=t.fileList;return new Promise((function(t,r){Array.isArray(A)&&0!==A.length||r(new ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e.getFileInfo({fileList:A}).then((function(e){t({fileList:A.map((function(t,A){var r=e.fileList[A];return{fileID:t,tempFileURL:r&&r.url||t}}))})}))}))}},{key:"getFileInfo",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:{},A=t.fileList,Array.isArray(A)&&0!==A.length){e.next=3;break}throw new ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return r={method:"serverless.file.resource.info",params:JSON.stringify({id:A.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(r));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ee={init:function(e){var t=new Se(e),A={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return A},t.customAuth=t.auth,t}},Te="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(Qe||(Qe={}));var Ie,Pe=function(){},_e=F((function(e,t){var A;e.exports=(A=U,function(e){var t=A,r=t.lib,n=r.WordArray,i=r.Hasher,a=t.algo,o=[],s=[];!function(){function t(t){for(var A=e.sqrt(t),r=2;r<=A;r++)if(!(t%r))return!1;return!0}function A(e){return 4294967296*(e-(0|e))|0}for(var r=2,n=0;n<64;)t(r)&&(n<8&&(o[n]=A(e.pow(r,.5))),s[n]=A(e.pow(r,1/3)),n++),r++}();var l=[],c=a.SHA256=i.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var A=this._hash.words,r=A[0],n=A[1],i=A[2],a=A[3],o=A[4],c=A[5],u=A[6],f=A[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var h=l[d-15],p=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=l[d-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[d]=p+l[d-7]+y+l[d-16]}var v=r&n^r&i^n&i,B=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=f+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&c^~o&u)+s[d]+l[d];f=u,u=c,c=o,o=a+x|0,a=i,i=n,n=r,r=x+(B+v)|0}A[0]=A[0]+r|0,A[1]=A[1]+n|0,A[2]=A[2]+i|0,A[3]=A[3]+a|0,A[4]=A[4]+o|0,A[5]=A[5]+c|0,A[6]=A[6]+u|0,A[7]=A[7]+f|0},_doFinalize:function(){var t=this._data,A=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return A[n>>>5]|=128<<24-n%32,A[14+(n+64>>>9<<4)]=e.floor(r/4294967296),A[15+(n+64>>>9<<4)]=r,t.sigBytes=4*A.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(c),t.HmacSHA256=i._createHmacHelper(c)}(Math),A.SHA256)})),ke=_e,Le=F((function(e,t){e.exports=U.HmacSHA256})),De=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new ye({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var A=new Promise((function(t,A){e=function(e,r){return e?A(e):t(r)}}));return e.promise=A,e};function Oe(e){return void 0===e}function Me(e){return"[object Null]"===Object.prototype.toString.call(e)}function He(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/([\s\S]+)\s+(请前往云开发AI小助手查看问题:.*)/,"$1")}function Ke(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",A="",r=0;r=0?JSON.parse(A).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),We={},ze={};function qe(e){return We[e]}var Xe=(0,v.default)((function e(t,A){(0,y.default)(this,e),this.data=A||null,this.name=t})),Je=function(e){(0,d.default)(A,e);var t=C(A);function A(e,r){var n;return(0,y.default)(this,A),n=t.call(this,"error",{error:e,data:r}),n.error=e,n}return(0,v.default)(A)}(Xe),Ye=new(function(){function e(){(0,y.default)(this,e),this._listeners={}}return(0,v.default)(e,[{key:"on",value:function(e,t){return function(e,t,A){A[e]=A[e]||[],A[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,A){if(A&&A[e]){var r=A[e].indexOf(t);-1!==r&&A[e].splice(r,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Je)return console.error(e.error),this;var A="string"==typeof e?new Xe(e,t||{}):e,r=A.name;if(this._listens(r)){A.target=this;var n,i=this._listeners[r]?(0,c.default)(this._listeners[r]):[],a=x(i);try{for(a.s();!(n=a.n()).done;){var o=n.value;o.call(this,A)}}catch(s){a.e(s)}finally{a.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function $e(e,t){Ye.on(e,t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ye.fire(e,t)}function et(e,t){Ye.off(e,t)}var tt,At="loginStateChanged",rt="loginStateExpire",nt="loginTypeChanged",it="anonymousConverted",at="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(tt||(tt={}));var ot=function(){function e(){(0,y.default)(this,e),this._fnPromiseMap=new Map}return(0,v.default)(e,[{key:"run",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r,n=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this._fnPromiseMap.get(t),e.abrupt("return",(r||(r=new Promise(function(){var e=(0,u.default)(a.default.mark((function e(r,i){var o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n._runIdlePromise();case 3:return o=A(),e.t0=r,e.next=7,o;case 7:e.t1=e.sent,(0,e.t0)(e.t1),e.next=14;break;case 11:e.prev=11,e.t2=e["catch"](0),i(e.t2);case 14:return e.prev=14,n._fnPromiseMap.delete(t),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})));return function(t,A){return e.apply(this,arguments)}}()),this._fnPromiseMap.set(t,r)),r));case 2:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),e}(),st=function(){function e(t){(0,y.default)(this,e),this._singlePromise=new ot,this._cache=qe(t.env),this._baseURL="https://".concat(t.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new Re.adapter.reqClass({timeout:t.timeout,timeoutMsg:"请求在".concat(t.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]})}return(0,v.default)(e,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var e=this._cache.keys.deviceIdKey,t=this._cache.getStore(e);return"string"==typeof t&&t.length>=16&&t.length<=48||(t=Ke(),this._cache.setStore(e,t)),this._deviceID=t,t}},{key:"_request",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r,n,i,o,s,l=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=l.length>2&&void 0!==l[2]?l[2]:{},n={"x-request-id":Ke(),"x-device-id":this._getDeviceId()},!r.withAccessToken){e.next=9;break}return i=this._cache.keys.tokenTypeKey,e.next=6,this.getAccessToken();case 6:o=e.sent,s=this._cache.getStore(i),n.authorization="".concat(s," ").concat(o);case 9:return e.abrupt("return",this._reqClass["get"===r.method?"get":"post"]({url:"".concat(this._baseURL).concat(t),data:A,headers:n}));case 10:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n,i,o,s,l,c,f,d=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,A=t.loginTypeKey,r=t.accessTokenKey,n=t.accessTokenExpireKey,i=t.tokenTypeKey,o=this._cache.getStore(A),!o||o===tt.ANONYMOUS){e.next=3;break}throw new ye({code:"INVALID_OPERATION",message:"非匿名登录不支持刷新 access token"});case 3:return e.next=5,this._singlePromise.run("fetchAccessToken",(0,u.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,d._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)}))));case 5:return s=e.sent,l=s.access_token,c=s.expires_in,f=s.token_type,e.abrupt("return",(this._cache.setStore(i,f),this._cache.setStore(r,l),this._cache.setStore(n,Date.now()+1e3*c),l));case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(e,t){var A=!0;return e&&t&&(A=t0&&void 0!==arguments[0]?arguments[0]:{};(0,y.default)(this,e),this.config=A,this._reqClass=new Re.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=qe(this.config.env),this._localCache=(t=this.config.env,ze[t]),this.oauth=new st(this.config),ut(this._reqClass,"post",[ft]),ut(this._reqClass,"upload",[ft]),ut(this._reqClass,"download",[ft])}return(0,v.default)(e,[{key:"post",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),A=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!A){e.next=12;break}throw A;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n,i,o,s,l,c,u,f,d,h;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,A=t.accessTokenKey,r=t.accessTokenExpireKey,n=t.refreshTokenKey,i=t.loginTypeKey,o=t.anonymousUuidKey,this._cache.removeStore(A),this._cache.removeStore(r),s=this._cache.getStore(n),s){e.next=5;break}throw new ye({message:"未登录CloudBase"});case 5:return l={refresh_token:s},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(c=e.sent,!c.data.code){e.next=21;break}if(u=c.data.code,"SIGN_PARAM_INVALID"!==u&&"REFRESH_TOKEN_EXPIRED"!==u&&"INVALID_REFRESH_TOKEN"!==u){e.next=20;break}if(this._cache.getStore(i)!==tt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==u){e.next=19;break}return f=this._cache.getStore(o),d=this._cache.getStore(n),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:f,refresh_token:d});case 17:return h=e.sent,e.abrupt("return",(this.setRefreshToken(h.refresh_token),this._refreshAccessToken()));case 19:Ze(rt),this._cache.removeStore(n);case 20:throw new ye({code:c.data.code,message:"刷新access token失败:".concat(c.data.code)});case 21:if(!c.data.access_token){e.next=23;break}return e.abrupt("return",(Ze(at),this._cache.setStore(A,c.data.access_token),this._cache.setStore(r,c.data.access_token_expire+Date.now()),{accessToken:c.data.access_token,accessTokenExpire:c.data.access_token_expire}));case 23:c.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,c.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,A=t.accessTokenKey,r=t.accessTokenExpireKey,n=t.refreshTokenKey,this._cache.getStore(n)){e.next=3;break}throw new ye({message:"refresh token不存在,登录状态异常"});case 3:if(i=this._cache.getStore(A),o=this._cache.getStore(r),s=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(i,o);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}s=!1;case 12:return e.abrupt("return",(!i||!o||o2&&void 0!==arguments[2]?arguments[2]:{},r=/\?/.test(t),n="";for(var i in A)""===n?!r&&(t+="?"):n+="&",n+="".concat(i,"=").concat(encodeURIComponent(A[i]));return/^http(s)?\:\/\//.test(t+=n)?t:"".concat(e).concat(t)}(Te,"//tcb-api.tencentcloudapi.com/web",g),p&&(y+=p),e.next=28,this.post(b({url:y,data:s},u));case 28:if(v=e.sent,B=v.header&&v.header["x-tcb-trace"],B&&this._localCache.setStore(n,B),(200===Number(v.status)||200===Number(v.statusCode))&&v.data){e.next=32;break}throw new ye({code:"NETWORK_ERROR",message:"network request error"});case 32:return e.abrupt("return",v);case 33:case"end":return e.stop()}}),e,this)})));return function(t,A,r){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=o.length>1&&void 0!==o[1]?o[1]:{},r=o.length>2&&void 0!==o[2]?o[2]:{},e.next=4,this.request(t,A,b(b({},r),{},{onUploadProgress:A.onUploadProgress}));case 4:if(n=e.sent,"ACCESS_TOKEN_DISABLED"!==n.data.code&&"ACCESS_TOKEN_EXPIRED"!==n.data.code||-1!==lt.indexOf(t)){e.next=14;break}return e.next=8,this.oauth.refreshAccessToken();case 8:return e.next=10,this.request(t,A,b(b({},r),{},{onUploadProgress:A.onUploadProgress}));case 10:if(i=e.sent,!i.data.code){e.next=13;break}throw new ye({code:i.data.code,message:He(i.data.message)});case 13:return e.abrupt("return",i.data);case 14:if(!n.data.code){e.next=16;break}throw new ye({code:n.data.code,message:He(n.data.message)});case 16:return e.abrupt("return",n.data);case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,A=t.accessTokenKey,r=t.accessTokenExpireKey,n=t.refreshTokenKey;this._cache.removeStore(A),this._cache.removeStore(r),this._cache.setStore(n,e)}}]),e}(),ht={};function pt(e){return ht[e]}var gt=function(){function e(t){(0,y.default)(this,e),this.config=t,this._cache=qe(t.env),this._request=pt(t.env)}return(0,v.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,A=t.accessTokenKey,r=t.accessTokenExpireKey,n=t.refreshTokenKey;this._cache.removeStore(A),this._cache.removeStore(r),this._cache.setStore(n,e)}},{key:"setAccessToken",value:function(e,t){var A=this._cache.keys,r=A.accessTokenKey,n=A.accessTokenExpireKey;this._cache.setStore(r,e),this._cache.setStore(n,t)}},{key:"refreshUserInfo",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,A=t.data,e.abrupt("return",(this.setLocalUserInfo(A),A));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),yt=function(){function e(t){if((0,y.default)(this,e),!t)throw new ye({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=qe(this._envId),this._request=pt(this._envId),this.setUserInfo()}return(0,v.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new ye({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new ye({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,A=t.data,r=!1,n=A.users,e.abrupt("return",(n.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(r=!0)})),{users:n,hasPrimaryUid:r}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o,s,l,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=t.nickName,r=t.gender,n=t.avatarUrl,i=t.province,o=t.country,s=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:A,gender:r,avatarUrl:n,province:i,country:o,city:s});case 8:l=e.sent,c=l.data,this.setLocalUserInfo(c);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.oauth.getUserInfo();case 2:return t=e.sent,e.abrupt("return",(this.setLocalUserInfo(t),t));case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,A=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=A[t]})),this.location={country:A.country,province:A.province,city:A.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),vt=function(){function e(t){if((0,y.default)(this,e),!t)throw new ye({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=qe(t);var A=this._cache.keys,r=A.refreshTokenKey,n=A.accessTokenKey,i=A.accessTokenExpireKey,a=this._cache.getStore(r),o=this._cache.getStore(n),s=this._cache.getStore(i);this.credential={refreshToken:a,accessToken:o,accessTokenExpire:s},this.user=new yt(t)}return(0,v.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===tt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===tt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===tt.WECHAT||this.loginType===tt.WECHAT_OPEN||this.loginType===tt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),Bt=function(e){(0,d.default)(A,e);var t=C(A);function A(){return(0,y.default)(this,A),t.apply(this,arguments)}return(0,v.default)(A,[{key:"signIn",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),e.next=3,this._request.oauth.getAccessToken();case 3:return Ze(At),Ze(nt,{env:this.config.env,loginType:tt.ANONYMOUS,persistence:"local"}),t=new vt(this.config.env),e.next=8,t.user.refresh();case 8:return e.abrupt("return",t);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=this._cache.keys,r=A.anonymousUuidKey,n=A.refreshTokenKey,i=this._cache.getStore(r),o=this._cache.getStore(n),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:t});case 7:if(s=e.sent,!s.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(s.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return Ze(it,{env:this.config.env}),Ze(nt,{loginType:tt.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:s.refresh_token}});case 16:throw new ye({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,A=t.anonymousUuidKey,r=t.loginTypeKey;this._cache.removeStore(A),this._cache.setStore(A,e),this._cache.setStore(r,tt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),A}(gt),xt=function(e){(0,d.default)(A,e);var t=C(A);function A(){return(0,y.default)(this,A),t.apply(this,arguments)}return(0,v.default)(A,[{key:"signIn",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ye({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return A=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(A)||""});case 5:if(r=e.sent,!r.refresh_token){e.next=15;break}return this.setRefreshToken(r.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return Ze(At),Ze(nt,{env:this.config.env,loginType:tt.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new vt(this.config.env));case 15:throw new ye({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),A}(gt),wt=function(e){(0,d.default)(A,e);var t=C(A);function A(){return(0,y.default)(this,A),t.apply(this,arguments)}return(0,v.default)(A,[{key:"signIn",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r,n,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ye({code:"PARAM_ERROR",message:"email must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:A,refresh_token:this._cache.getStore(r)||""});case 5:if(n=e.sent,i=n.refresh_token,o=n.access_token,s=n.access_token_expire,!i){e.next=22;break}if(this.setRefreshToken(i),!o||!s){e.next=15;break}this.setAccessToken(o,s),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return Ze(At),Ze(nt,{env:this.config.env,loginType:tt.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new vt(this.config.env));case 22:throw n.code?new ye({code:n.code,message:"邮箱登录失败: ".concat(n.message)}):new ye({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:A}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()}]),A}(gt),mt=function(e){(0,d.default)(A,e);var t=C(A);function A(){return(0,y.default)(this,A),t.apply(this,arguments)}return(0,v.default)(A,[{key:"signIn",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r,n,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ye({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof A&&(A="",console.warn("password is empty")),r=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:tt.USERNAME,username:t,password:A,refresh_token:this._cache.getStore(r)||""});case 6:if(n=e.sent,i=n.refresh_token,o=n.access_token_expire,s=n.access_token,!i){e.next=23;break}if(this.setRefreshToken(i),!s||!o){e.next=16;break}this.setAccessToken(s,o),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return Ze(At),Ze(nt,{env:this.config.env,loginType:tt.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new vt(this.config.env));case 23:throw n.code?new ye({code:n.code,message:"用户名密码登录失败: ".concat(n.message)}):new ye({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()}]),A}(gt),bt=function(){function e(t){(0,y.default)(this,e),this.config=t,this._cache=qe(t.env),this._request=pt(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),$e(nt,this._onLoginTypeChanged)}return(0,v.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new Bt(this.config)}},{key:"customAuthProvider",value:function(){return new xt(this.config)}},{key:"emailAuthProvider",value:function(){return new wt(this.config)}},{key:"usernameAuthProvider",value:function(){return new mt(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,u.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Bt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new wt(this.config).signIn(t,A));case 1:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new mt(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Bt(this.config)),$e(it,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,A,r,n,i,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==tt.ANONYMOUS){e.next=2;break}throw new ye({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,A=t.refreshTokenKey,r=t.accessTokenKey,n=t.accessTokenExpireKey,i=this._cache.getStore(A),i){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:i});case 7:return o=e.sent,e.abrupt("return",(this._cache.removeStore(A),this._cache.removeStore(r),this._cache.removeStore(n),Ze(At),Ze(nt,{env:this.config.env,loginType:tt.NULL,persistence:this.config.persistence}),o));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:A}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;$e(At,(function(){var A=t.hasLoginState();e.call(t,A)}));var A=this.hasLoginState();e.call(this,A)}},{key:"onLoginStateExpired",value:function(e){$e(rt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){$e(at,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){$e(it,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;$e(nt,(function(){var A=t.hasLoginState();e.call(t,A)}))}},{key:"getAccessToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys,t=e.accessTokenKey,A=e.accessTokenExpireKey,r=this._cache.getStore(t),n=this._cache.getStore(A);return this._request.oauth.isAccessTokenExpired(r,n)?null:new vt(this.config.env)}},{key:"isUsernameRegistered",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new ye({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return A=e.sent,r=A.data,e.abrupt("return",r&&r.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new xt(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:b(b({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,A=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(A)+"/@@/"+r}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,A=t.loginType,r=t.persistence,n=t.env;n===this.config.env&&(this._cache.updatePersistence(r),this._cache.setStore(this._cache.keys.loginTypeKey,A))}}]),e}(),Ct=function(e,t){t=t||De();var A=pt(this.config.env),r=e.cloudPath,n=e.filePath,i=e.onUploadProgress,a=e.fileType,o=void 0===a?"image":a;return A.send("storage.getUploadMetadata",{path:r}).then((function(e){var a=e.data,s=a.url,l=a.authorization,c=a.token,u=a.fileId,f=a.cosFileId,d=e.requestId,h={key:r,signature:l,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":c};A.upload({url:s,data:h,file:n,name:r,fileType:o,onUploadProgress:i}).then((function(e){201===e.statusCode?t(null,{fileID:u,requestId:d}):t(new ye({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},Ft=function(e,t){t=t||De();var A=pt(this.config.env),r=e.cloudPath;return A.send("storage.getUploadMetadata",{path:r}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},Qt=function(e,t){var A=e.fileList;if(t=t||De(),!A||!Array.isArray(A))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var r,n=x(A);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(o){n.e(o)}finally{n.f()}var a={fileid_list:A};return pt(this.config.env).send("storage.batchDeleteFile",a).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},Ut=function(e,t){var A=e.fileList;t=t||De(),A&&Array.isArray(A)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var r,n=[],i=x(A);try{for(i.s();!(r=i.n()).done;){var a=r.value;"object"==(0,l.default)(a)?(a.hasOwnProperty("fileID")&&a.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:a.fileID,max_age:a.maxAge})):"string"==typeof a?n.push({fileid:a}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(s){i.e(s)}finally{i.f()}var o={file_list:n};return pt(this.config.env).send("storage.batchGetDownloadUrl",o).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},St=function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r,n,i,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileID,e.next=3,Ut.call(this,{fileList:[{fileID:r,maxAge:600}]});case 3:if(n=e.sent.fileList[0],"SUCCESS"===n.code){e.next=6;break}return e.abrupt("return",A?A(n):new Promise((function(e){e(n)})));case 6:if(i=pt(this.config.env),o=n.download_url,o=encodeURI(o),A){e.next=10;break}return e.abrupt("return",i.download({url:o}));case 10:return e.t0=A,e.next=13,i.download({url:o});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}(),Et=function(e,t){var A,r=e.name,n=e.data,i=e.query,a=e.parse,o=e.search,s=e.timeout,l=t||De();try{A=n?JSON.stringify(n):""}catch(r){return Promise.reject(r)}if(!r)return Promise.reject(new ye({code:"PARAM_ERROR",message:"函数名不能为空"}));var c={inQuery:i,parse:a,search:o,function_name:r,request_data:A};return pt(this.config.env).send("functions.invokeFunction",c,{timeout:s}).then((function(e){if(e.code)l(null,e);else{var t=e.data.response_data;if(a)l(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),l(null,{result:t,requestId:e.requestId})}catch(e){l(new ye({message:"response data must be json"}))}}return l.promise})).catch((function(e){l(e)})),l.promise},Tt={timeout:15e3,persistence:"session"},It={},Pt=function(){function e(t){(0,y.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,v.default)(e,[{key:"init",value:function(t){switch(Re.adapter||(this.requestClient=new Re.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=b(b({},Tt),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var A,r=t||Re.adapter.primaryStorage||Tt.persistence;return r!==this.config.persistence&&(this.config.persistence=r),function(e){var t=e.env;We[t]=new Ve(e),ze[t]=new Ve(b(b({},e),{},{persistence:"local"}))}(this.config),A=this.config,ht[A.env]=new dt(A),this.authObj=new bt(this.config),this.authObj}},{key:"on",value:function(e,t){return $e.apply(this,[e,t])}},{key:"off",value:function(e,t){return et.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return Et.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return Qt.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return Ut.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return St.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return Ct.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return Ft.apply(this,[e,t])}},{key:"registerExtension",value:function(e){It[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,u.default)(a.default.mark((function e(t,A){var r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=It[t],r){e.next=3;break}throw new ye({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,r.invoke(A,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,A){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,A,r=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),n=x(r);try{for(n.s();!(A=n.n()).done;){var i=A.value,a=i.isMatch,o=i.genAdapter,s=i.runtime;if(a())return{adapter:o(),runtime:s}}}catch(l){n.e(l)}finally{n.f()}}(e)||{},A=t.adapter,r=t.runtime;A&&(Re.adapter=A),r&&(Re.runtime=r)}}]),e}(),_t=new Pt;function kt(e,t,A){void 0===A&&(A={});var r=/\?/.test(t),n="";for(var i in A)""===n?!r&&(t+="?"):n+="&",n+=i+"="+encodeURIComponent(A[i]);return/^http(s)?:\/\//.test(t+=n)?t:""+e+t}var Lt=function(){function e(){(0,y.default)(this,e)}return(0,v.default)(e,[{key:"get",value:function(e){var t=e.url,A=e.data,r=e.headers,n=e.timeout;return new Promise((function(e,i){xe.request({url:kt("https:",t),data:A,method:"GET",header:r,timeout:n,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"post",value:function(e){var t=e.url,A=e.data,r=e.headers,n=e.timeout;return new Promise((function(e,i){xe.request({url:kt("https:",t),data:A,method:"POST",header:r,timeout:n,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,A){var r=e.url,n=e.file,i=e.data,a=e.headers,o=e.fileType,s=xe.uploadFile({url:kt("https:",r),name:"file",formData:Object.assign({},i),filePath:n,fileType:o,header:a,success:function(e){var A={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&i.success_action_status&&(A.statusCode=parseInt(i.success_action_status,10)),t(A)},fail:function(e){A(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),Dt={setItem:function(e,t){xe.setStorageSync(e,t)},getItem:function(e){return xe.getStorageSync(e)},removeItem:function(e){xe.removeStorageSync(e)},clear:function(){xe.clearStorageSync()}},Ot={genAdapter:function(){return{root:{},reqClass:Lt,localStorage:Dt,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};_t.useAdapters(Ot);var Mt=_t,Ht=Mt.init;Mt.init=function(e){e.env=e.spaceId;var t=Ht.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var A=t.auth;return t.auth=function(e){var t=A.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var A;t[e]=(A=t[e],function(e){e=e||{};var t=ge(e),r=t.success,n=t.fail,i=t.complete;if(!(r||n||i))return A.call(this,e);A.call(this,e).then((function(e){r&&r(e),i&&i(e)}),(function(e){n&&n(e),i&&i(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Kt=Mt;function Rt(e,t){return jt.apply(this,arguments)}function jt(){return jt=(0,u.default)(a.default.mark((function e(t,A){var r,n,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r="http://".concat(t,":").concat(A,"/system/ping"),e.prev=1,e.next=4,i={url:r,timeout:500},new Promise((function(e,t){xe.request(b(b({},i),{},{success:function(t){e(t)},fail:function(e){t(e)}}))}));case 4:return n=e.sent,e.abrupt("return",!(!n.data||0!==n.data.code));case 8:return e.prev=8,e.t0=e["catch"](1),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),jt.apply(this,arguments)}function Nt(e,t){return Gt.apply(this,arguments)}function Gt(){return Gt=(0,u.default)(a.default.mark((function e(t,A){var r,n,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n1&&void 0!==n[1])||n[1],A=!1,!A){e.next=8;break}return e.next=5,this.setupLocalRequest(t);case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=this.setupRequest(t);case 9:return t=e.t0,e.abrupt("return",Promise.resolve().then((function(){return A?r.requestLocal(t):Ue.wrappedRequest(t,r.adapter.request)})));case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"requestLocal",value:function(e){var t=this;return new Promise((function(A,r){t.adapter.request(Object.assign(e,{complete:function(e){if(e||(e={}),!e.statusCode||e.statusCode>=400){var t=e.data&&e.data.code||"SYS_ERR",n=e.data&&e.data.message||"request:fail";return r(new ye({code:t,message:n}))}A({success:!0,result:e.data})}}))}))}},{key:"setupRequest",value:function(e){var t=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),A={"Content-Type":"application/json"};A["x-serverless-sign"]=Ue.sign(t,this.config.clientSecret);var r=Fe();A["x-client-info"]=encodeURIComponent(JSON.stringify(r));var n=we(),i=n.token;return A["x-client-token"]=i,{url:this.config.requestUrl,method:"POST",data:t,dataType:"json",header:JSON.parse(JSON.stringify(A))}}},{key:"setupLocalRequest",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o,s,l,c,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=Fe(),r=we(),n=r.token,i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:A,token:n}),o=this.__dev__&&this.__dev__.debugInfo||{},s=o.address,l=o.servePort,e.next=9,Nt(s,l);case 9:return c=e.sent,u=c.address,e.abrupt("return",{url:"http://".concat(u,":").concat(l,"/").concat(Vt[t.method]),method:"POST",data:i,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(t,!1)}},{key:"getUploadFileOptions",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(t)}},{key:"reportUploadFile",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(t)}},{key:"uploadFile",value:function(e){var t,A=this,r=e.filePath,n=e.cloudPath,i=e.fileType,a=void 0===i?"image":i,o=e.onUploadProgress;if(!n)throw new ye({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getUploadFileOptions({cloudPath:n}).then((function(e){var n=e.result,i=n.url,s=n.formData,l=n.name;return t=e.result.fileUrl,new Promise((function(e,t){var n=A.adapter.uploadFile({url:i,formData:s,name:l,filePath:r,fileType:a,success:function(A){A&&A.statusCode<400?e(A):t(new ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){t(new ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&n&&"function"==typeof n.onProgressUpdate&&n.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))})).then((function(){return A.reportUploadFile({cloudPath:n})})).then((function(e){return new Promise((function(A,n){e.success?A({success:!0,filePath:r,fileID:t}):n(new ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,A={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(A).then((function(e){if(e.success)return e.result;throw new ye({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,A=e.maxAge;if(!Array.isArray(t)||0===t.length)throw new ye({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var r={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t,maxAge:A})};return this.request(r).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new ye({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),e}(),zt={init:function(e){var t=new Wt(e),A={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return A},t.customAuth=t.auth,t}},qt=F((function(e,t){e.exports=U.enc.Hex}));function Xt(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=t.data,r=t.functionName,n=t.method,i=t.headers,a=t.signHeaderKeys,o=void 0===a?[]:a,l=t.config,c=String(Date.now()),u=Xt(),f=Object.assign({},i,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":c,"x-from-function-name":r,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":u,"x-alipay-callid":u,"x-trace-id":u}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(o),h=e.split("?")||[],p=(0,s.default)(h,2),g=p[0],y=void 0===g?"":g,v=p[1],B=void 0===v?"":v,x=function(e){var t="HMAC-SHA256",A=e.signedHeaders.join(";"),r=e.signedHeaders.map((function(t){return"".concat(t.toLowerCase(),":").concat(e.headers[t],"\n")})).join(""),n=ke(e.body).toString(qt),i="".concat(e.method.toUpperCase(),"\n").concat(e.path,"\n").concat(e.query,"\n").concat(r,"\n").concat(A,"\n").concat(n,"\n"),a=ke(i).toString(qt),o="".concat(t,"\n").concat(e.timestamp,"\n").concat(a,"\n"),s=Le(o,e.secretKey).toString(qt);return"".concat(t," Credential=").concat(e.secretId,", SignedHeaders=").concat(A,", Signature=").concat(s)}({path:y,query:B,method:n,headers:f,timestamp:c,body:JSON.stringify(A),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:d.sort()});return{url:"".concat(l.endpoint).concat(e),headers:Object.assign({},f,{Authorization:x})}}function Yt(e){var t=e.url,A=e.data,r=e.method,n=void 0===r?"POST":r,i=e.headers,a=void 0===i?{}:i,o=e.timeout;return new Promise((function(e,r){xe.request({url:t,method:n,data:"object"==(0,l.default)(A)?JSON.stringify(A):A,header:a,dataType:"json",timeout:o,complete:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=a["x-trace-id"]||"";if(!t.statusCode||t.statusCode>=400){var n=t.data||{},i=n.message,o=n.errMsg,s=n.trace_id;return r(new ye({code:"SYS_ERR",message:i||o||"request:fail",requestId:s||A}))}e({status:t.statusCode,data:t.data,headers:t.header,requestId:A})}})}))}function $t(e,t){var A=e.path,r=e.data,n=e.method,i=void 0===n?"GET":n,a=Jt(A,{functionName:"",data:r,method:i,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":String(Date.now()+6e4)},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t}),o=a.url,s=a.headers;return Yt({url:o,data:r,method:i,headers:s}).then((function(e){var t=e.data||{};if(!t.success)throw new ye({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((function(e){throw new ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().replace(/^cloud:\/\//,""),A=t.indexOf("/");if(A<=0)throw new ye({code:"INVALID_PARAM",message:"fileID不合法"});var r=t.substring(0,A),n=t.substring(A+1);return r!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),n}function eA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}var tA=function(){function e(t){(0,y.default)(this,e),this.config=t}return(0,v.default)(e,[{key:"signedURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A="/ws/function/".concat(e),r=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),n=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:Xt(),timestamp:""+Date.now()}),i=[A,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return n[e]?"".concat(e,"=").concat(n[e]):null})).filter(Boolean).join("&"),"host:".concat(r)].join("\n"),a=["HMAC-SHA256",ke(i).toString(qt)].join("\n"),o=Le(a,this.config.secretKey).toString(qt),s=Object.keys(n).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(n[e]))})).join("&");return"".concat(this.config.wsEndpoint).concat(A,"?").concat(s,"&signature=").concat(o)}}]),e}(),AA=function(){function e(t){if((0,y.default)(this,e),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),t.endpoint){if("string"!=typeof t.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(t.endpoint))throw new Error("endpoint must start with https://");t.endpoint=t.endpoint.replace(/\/$/,"")}this.config=Object.assign({},t,{endpoint:t.endpoint||"https://".concat(t.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:t.wsEndpoint||"wss://".concat(t.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new tA(this.config)}return(0,v.default)(e,[{key:"callFunction",value:function(e){return function(e,t){var A=e.name,r=e.data,n=e.async,i=void 0!==n&&n,a=e.timeout,o="POST",s={"x-to-function-name":A};i&&(s["x-function-invoke-type"]="async");var l=Jt("/functions/invokeFunction",{functionName:A,data:r,method:o,headers:s,signHeaderKeys:["x-to-function-name"],config:t}),c=l.url,u=l.headers;return Yt({url:c,data:r,method:o,headers:u,timeout:a}).then((function(e){var t=0;if(i){var A=e.data||{};t="200"===A.errCode?0:A.errCode,e.data=A.data||{},e.errMsg=A.errMsg}if(0!==t)throw new ye({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((function(e){throw new ye({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}},{key:"uploadFileToOSS",value:function(e){var t=e.url,A=e.filePath,r=e.fileType,n=e.formData,i=e.onUploadProgress;return new Promise((function(e,a){var o=xe.uploadFile({url:t,filePath:A,fileType:r,formData:n,name:"file",success:function(t){t&&t.statusCode<400?e(t):a(new ye({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){a(new ye({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&o&&"function"==typeof o.onProgressUpdate&&o.onProgressUpdate((function(e){i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r,n,i,o,s,l,c,u,f,d;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A=t.filePath,r=t.cloudPath,n=void 0===r?"":r,i=t.fileType,o=void 0===i?"image":i,s=t.onUploadProgress,"string"===O(n)){e.next=3;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(n=n.trim()){e.next=5;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(n)){e.next=7;break}throw new ye({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:return e.next=9,$t({path:"/".concat(n.replace(/^\//,""),"?post_url")},this.config);case 9:return l=e.sent,c=l.file_id,u=l.upload_url,f=l.form_data,d=f&&f.reduce((function(e,t){return e[t.key]=t.value,e}),{}),e.abrupt("return",this.uploadFileToOSS({url:u,filePath:A,fileType:o,formData:d,onUploadProgress:s}).then((function(){return{fileID:c}})));case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=t.fileList,e.abrupt("return",new Promise((function(e,t){(!A||A.length<0)&&e({code:"INVALID_PARAM",message:"fileList不能为空数组"}),A.length>50&&e({code:"INVALID_PARAM",message:"fileList数组长度不能超过50"});var n,i=[],a=x(A);try{for(a.s();!(n=a.n()).done;){var o=n.value,s=void 0;"string"!==O(o)&&e({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});try{s=Zt.call(r,o)}catch(e){console.warn(e.errCode,e.errMsg),s=o}i.push({file_id:s,expire:600})}}catch(l){a.e(l)}finally{a.f()}$t({path:"/?download_url",data:{file_list:i},method:"POST"},r.config).then((function(t){var A=t.file_list,n=void 0===A?[]:A;e({fileList:n.map((function(e){return{fileID:eA.call(r,e.file_id),tempFileURL:e.download_url}}))})})).catch((function(e){return t(e)}))})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var e=(0,u.default)(a.default.mark((function e(t){var A,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=t.name,r=t.query,e.abrupt("return",xe.connectSocket({url:this._websocket.signedURL(A,r),complete:function(){}}));case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),rA={init:function(e){e.provider="alipay";var t=new AA(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function nA(e){var t,A=e.data;t=Fe();var r=JSON.parse(JSON.stringify(A||{}));if(Object.assign(r,{clientInfo:t}),!r.uniIdToken){var n=we(),i=n.token;i&&(r.uniIdToken=i)}return r}var iA=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],aA=/[\\^$.*+?()[\]{}|]/g,oA=RegExp(aA.source);function sA(e,t,A){return e.replace(new RegExp((r=t)&&oA.test(r)?r.replace(aA,"\\$&"):r,"g"),A);var r}var lA={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},cA="_globalUniCloudStatus",uA="_globalUniCloudSecureNetworkCache__{spaceId}",fA="uni-secure-network",dA={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function hA(e){var t=e||{},A=t.errSubject,r=t.subject,n=t.errCode,i=t.errMsg,a=t.code,o=t.message,s=t.cause;return new ye({subject:A||r||fA,code:n||a||dA.SYSTEM_ERROR.code,message:i||o,cause:s})}var pA;pA="0123456789abcdef";var gA;function yA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===lA.REQUEST||t===lA.RESPONSE||t===lA.BOTH}function vA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,A=e.data,r=void 0===A?{}:A;return"app"===q&&"DCloud-clientDB"===t&&"encryption"===r.redirectTo&&"getAppClientKey"===r.action}function BA(e){e.functionName,e.result,e.logPvd}function xA(e){var t=e.callFunction,A=function(A){var r=this,n=A.name;A.data=nA.call(e,{data:A.data});var i={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],a=yA(A),o=vA(A),s=a||o;return t.call(this,A).then((function(e){return e.errCode=0,!s&&BA.call(r,{functionName:n,result:e,logPvd:i}),Promise.resolve(e)}),(function(e){return!s&&BA.call(r,{functionName:n,result:e,logPvd:i}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,A=void 0===t?"":t,r=e.extraInfo,n=void 0===r?{}:r,i=e.formatter,a=void 0===i?[]:i,o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,A=e.spaceId,r=e.functionName,n=be(),i=n.appId,a=n.uniPlatform,o=n.osName,s=a;"app"===a&&(s=o);var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,A=e.spaceId,r=z;if(!r)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var n=r.find((function(e){return e.provider===t&&e.spaceId===A}));return n&&n.config}({provider:t,spaceId:A});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var c=l.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;var f=function(e,t){for(var A,r,n,i=0;i-1&&(r=a):n=a:A=a}return A||r||n}(u,r);if(!f)return!1;if((c[f]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===i&&(e.platform||"").toLowerCase()===s.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(i,", platform: ").concat(s,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),hA(dA.APP_INFO_INVALID)}({provider:a,spaceId:o,functionName:s})?new gA({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(A.bind(e))(t):r(t),Object.defineProperty(n,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),n.then((function(e){return e}))}}gA="mp-weixin"!==q&&"app"!==q?function(){return(0,v.default)((function e(){throw(0,y.default)(this,e),hA({message:"Platform ".concat(q," is not supported by secure network")})}))}():function(){return(0,v.default)((function e(){throw(0,y.default)(this,e),hA({message:"Platform ".concat(q," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var wA=Symbol("CLIENT_DB_INTERNAL");function mA(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=wA,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,A,r){if("_uniClient"===A)return null;if("symbol"==(0,l.default)(A))return e[A];if(A in e||"string"!=typeof A){var n=e[A];return"function"==typeof n?n.bind(e):n}return t.get(e,A,r)}})}function bA(e){return{on:function(t,A){e[t]=e[t]||[],e[t].indexOf(A)>-1||e[t].push(A)},off:function(t,A){e[t]=e[t]||[];var r=e[t].indexOf(A);-1!==r&&e[t].splice(r,1)}}}var CA=["db.Geo","db.command","command.aggregate"];function FA(e,t){return CA.indexOf("".concat(e,".").concat(t))>-1}function QA(e){switch(O(e)){case"array":return e.map((function(e){return QA(e)}));case"object":return e._internalType===wA||Object.keys(e).forEach((function(t){e[t]=QA(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function UA(e){return e&&e.content&&e.content.$method}var SA=function(){function e(t,A,r){(0,y.default)(this,e),this.content=t,this.prevStage=A||null,this.udb=null,this._database=r}return(0,v.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:QA(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=UA(e),A=UA(e.prevStage);if("aggregate"===t&&"collection"===A||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===UA(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=UA(e),A=UA(e.prevStage);if("aggregate"===t&&"command"===A)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return EA({$method:e,$param:QA(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var A=this.getAction(),r=this.getCommand();return r.$db.push({$method:e,$param:QA(t)}),this._database._callCloudFunction({action:A,command:r})}}]),e}();function EA(e,t,A){return mA(new SA(e,t,A),{get:function(e,t){var r="db";return e&&e.content&&(r=e.content.$method),FA(r,t)?EA({$method:t},e,A):function(){return EA({$method:t,$param:QA(Array.from(arguments))},e,A)}}})}function TA(e){var t=e.path,A=e.method;return function(){function e(){(0,y.default)(this,e),this.param=Array.from(arguments)}return(0,v.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,c.default)(t.map((function(e){return{$method:e}}))),[{$method:A,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}var IA=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=t.uniClient,r=void 0===A?{}:A,n=t.isJQL,i=void 0!==n&&n;(0,y.default)(this,e),this._uniClient=r,this._authCallBacks={},this._dbCallBacks={},r._isDefault&&(this._dbCallBacks=$("_globalUniCloudDatabaseCallback")),i||(this.auth=bA(this._authCallBacks)),this._isJQL=i,Object.assign(this,bA(this._dbCallBacks)),this.env=mA({},{get:function(e,t){return{$env:t}}}),this.Geo=mA({},{get:function(e,t){return TA({path:["Geo"],method:t})}}),this.serverDate=TA({path:[],method:"serverDate"}),this.RegExp=TA({path:[],method:"RegExp"})}return(0,v.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var A=this._dbCallBacks;A[e]&&A[e].forEach((function(e){e.apply(void 0,(0,c.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var A=this._authCallBacks;A[e]&&A[e].forEach((function(e){e.apply(void 0,(0,c.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),A=e.getCommand();if("getTemp"!==A.$db[A.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:A}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}();function PA(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return mA(new e(t),{get:function(e,t){return FA("db",t)?EA({$method:t},null,e):function(){return EA({$method:t,$param:QA(Array.from(arguments))},null,e)}}})}var _A=function(e){(0,d.default)(A,e);var t=C(A);function A(){return(0,y.default)(this,A),t.apply(this,arguments)}return(0,v.default)(A,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,A=e.action,r=e.command,n=e.multiCommand,i=e.queryList;function a(e,t){if(n&&i)for(var A=0;A0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",A=[],r=[];return e.forEach((function(e){!0===e.needLogin?A.push(HA(t,e.path)):!1===e.needLogin&&r.push(HA(t,e.path))})),{needLoginPage:A,notNeedLoginPage:r}}function RA(e){return e.split("?")[0].replace(/^\//,"")}function jA(){return function(e){var t=e&&e.$page&&e.$page.fullPath;return t?("/"!==t.charAt(0)&&(t="/"+t),t):""}(function(){var e=getCurrentPages();return e[e.length-1]}())}function NA(){return RA(jA())}function GA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var A=t.list,r=RA(e);return A.some((function(e){return e.pagePath===r}))}var VA,WA=!!B.default.uniIdRouter,zA=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.default,t=e.pages,A=void 0===t?[]:t,r=e.subPackages,n=void 0===r?[]:r,i=e.uniIdRouter,a=void 0===i?{}:i,o=e.tabBar,s=void 0===o?{}:o,l=a.loginPage,u=a.needLogin,f=void 0===u?[]:u,d=a.resToLogin,h=void 0===d||d,p=KA(A),g=p.needLoginPage,y=p.notNeedLoginPage,v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],A=[];return e.forEach((function(e){var r=e.root,n=e.pages,i=void 0===n?[]:n,a=KA(i,r),o=a.needLoginPage,s=a.notNeedLoginPage;t.push.apply(t,(0,c.default)(o)),A.push.apply(A,(0,c.default)(s))})),{needLoginPage:t,notNeedLoginPage:A}}(n),x=v.needLoginPage,w=v.notNeedLoginPage;return{loginPage:l,routerNeedLogin:f,resToLogin:h,needLoginPage:[].concat((0,c.default)(g),(0,c.default)(x)),notNeedLoginPage:[].concat((0,c.default)(y),(0,c.default)(w)),loginPageInTabBar:GA(l,s)}}(),qA=zA.loginPage,XA=zA.routerNeedLogin,JA=zA.resToLogin,YA=zA.needLoginPage,$A=zA.notNeedLoginPage,ZA=zA.loginPageInTabBar;if(YA.indexOf(qA)>-1)throw new Error("Login page [".concat(qA,'] should not be "needLogin", please check your pages.json'));function er(e){var t=NA();if("/"===e.charAt(0))return e;var A=e.split("?"),r=(0,s.default)(A,2),n=r[0],i=r[1],a=n.replace(/^\//,"").split("/"),o=t.split("/");o.pop();for(var l=0;l-1)&&(YA.indexOf(t)>-1||XA.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function Ar(e){var t=e.redirect,A=RA(t),r=RA(qA);return NA()!==r&&A!==r}function rr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,A=e.redirect;if(A&&Ar({redirect:A})){var n=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}(qA,A);ZA?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var i={navigateTo:r.navigateTo,redirectTo:r.redirectTo,switchTab:r.switchTab,reLaunch:r.reLaunch};setTimeout((function(){i[t]({url:n})}),0)}}function nr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,A={abortLoginPageJump:!1,autoToLoginPage:!1},r=function(){var e,t=we(),A=t.token,r=t.tokenExpired;if(A){if(r0)return setTimeout((function(){fe(oe.NEED_LOGIN,r)}),0),A.abortLoginPageJump=!0,A;A.autoToLoginPage=!0}return A}function ir(){!function(){var e=jA(),t=nr({url:e}),A=t.abortLoginPageJump,r=t.autoToLoginPage;A||r&&rr({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var A=e[t];r.addInterceptor(A,{invoke:function(e){var t=nr({url:e.url}),r=t.abortLoginPageJump,n=t.autoToLoginPage;return r?e:n?(rr({api:A,redirect:er(e.url)}),!1):e}})},A=0;A0&&void 0!==arguments[0]?arguments[0]:{},t=le(oe.NEED_LOGIN);pe().then((function(){var A=jA();if(A&&Ar({redirect:A}))return t.length>0?fe(oe.NEED_LOGIN,Object.assign({uniIdRedirectUrl:A},e)):void(qA&&rr({api:"navigateTo",redirect:A}))}))}(A)}))}function or(e){!function(e){e.onResponse=function(e){ce(oe.RESPONSE,e)},e.offResponse=function(e){ue(oe.RESPONSE,e)}}(e),function(e){e.onNeedLogin=function(e){ce(oe.NEED_LOGIN,e)},e.offNeedLogin=function(e){ue(oe.NEED_LOGIN,e)},WA&&($(cA).needLoginInit||($(cA).needLoginInit=!0,pe().then((function(){ir.call(e)})),JA&&ar.call(e)))}(e),function(e){e.onRefreshToken=function(e){ce(oe.REFRESH_TOKEN,e)},e.offRefreshToken=function(e){ue(oe.REFRESH_TOKEN,e)}}(e)}var sr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",lr=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function cr(){var e,t,A=we().token||"",r=A.split(".");if(!A||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=r[1],decodeURIComponent(VA(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(A){throw new Error("获取当前用户信息出错,详细错误信息为:"+A.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}VA="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!lr.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var A,r,n="",i=0;i>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return n}:atob;var ur=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var A="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function a(e,t){return e.tempFiles.forEach((function(e,A){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+A+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function o(e,t,r){var n=r.onChooseFile,i=r.onUploadProgress;return t.then((function(e){if(n){var t=n(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:A,tempFilePaths:[],tempFiles:[]}:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=A;var i=t.tempFiles,a=i.length,o=0;return new Promise((function(A){for(;o=a)!i.find((function(e){return!e.url&&!e.errMsg}))&&A(t);else{var l=i[r];e.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(e){e.index=r,e.tempFile=l,e.tempFilePath=l.path,n&&n(e)}}).then((function(e){l.url=e.fileID,r0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?o(e,function(e){var t=e.count,A=e.sizeType,n=e.sourceType,o=void 0===n?["album","camera"]:n,s=e.extension;return new Promise((function(e,n){r.chooseImage({count:t,sizeType:A,sourceType:o,extension:s,success:function(t){e(a(t,"image"))},fail:function(e){n({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?o(e,function(e){var t=e.camera,A=e.compressed,n=e.maxDuration,o=e.sourceType,s=void 0===o?["album","camera"]:o,l=e.extension;return new Promise((function(e,o){r.chooseVideo({camera:t,compressed:A,maxDuration:n,sourceType:s,extension:l,success:function(t){var A=t.tempFilePath,r=t.duration,n=t.size,i=t.height,o=t.width;e(a({errMsg:"chooseVideo:ok",tempFilePaths:[A],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:A,size:n,type:t.tempFile&&t.tempFile.type||"",width:o,height:i,duration:r,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){o({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):o(e,function(e){var t=e.count,A=e.extension;return new Promise((function(e,o){var s=r.chooseFile;if("undefined"!=typeof n&&"function"==typeof n.chooseMessageFile&&(s=n.chooseMessageFile),"function"!=typeof s)return o({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:A,success:function(t){e(a(t))},fail:function(e){o({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})),fr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(ur),dr={auto:"auto",onready:"onready",manual:"manual"};function hr(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(A){t.push(e[A])})),t}),(function(t,A){if(e.loadtime!==dr.manual){for(var r=!1,n=[],i=2;i0&&void 0!==arguments[0]?arguments[0]:{},A=t.getone,r=void 0!==A&&A,n=t.success,i=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var A=t.result,i=A.data,a=A.count;e.getcount&&(e.mixinDatacomPage.count=a),e.mixinDatacomHasMore=i.length0&&void 0!==arguments[0]?arguments[0]:{};r=r||{},A="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);var n=r.action||this.action;n&&(A=A.action(n));var i=r.collection||this.collection;A=Array.isArray(i)?(t=A).collection.apply(t,(0,c.default)(i)):A.collection(i);var a=r.where||this.where;a&&Object.keys(a).length&&(A=A.where(a));var o=r.field||this.field;o&&(A=A.field(o));var s=r.foreignKey||this.foreignKey;s&&(A=A.foreignKey(s));var l=r.groupby||this.groupby;l&&(A=A.groupBy(l));var u=r.groupField||this.groupField;u&&(A=A.groupField(u)),!0===(void 0!==r.distinct?r.distinct:this.distinct)&&(A=A.distinct());var f=r.orderby||this.orderby;f&&(A=A.orderBy(f));var d=void 0!==r.pageCurrent?r.pageCurrent:this.mixinDatacomPage.current,h=void 0!==r.pageSize?r.pageSize:this.mixinDatacomPage.size,p=void 0!==r.getcount?r.getcount:this.getcount,g=void 0!==r.gettree?r.gettree:this.gettree,y=void 0!==r.gettreepath?r.gettreepath:this.gettreepath,v={getCount:p},B={limitLevel:void 0!==r.limitlevel?r.limitlevel:this.limitlevel,startWith:void 0!==r.startwith?r.startwith:this.startwith};return g&&(v.getTree=B),y&&(v.getTreePath=B),A=A.skip(h*(d-1)).limit(h).get(v),A}}}}function pr(e){return $(uA.replace("{spaceId}",e.config.spaceId))}function gr(){return yr.apply(this,arguments)}function yr(){return yr=(0,u.default)(a.default.mark((function e(){var t,A,n,i,o,s,l,c=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=c.length>0&&void 0!==c[0]?c[0]:{},A=t.openid,n=t.callLoginByWeixin,i=void 0!==n&&n,o=pr(this),"mp-weixin"===q){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(q,"`"));case 4:if(!A||!i){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!A){e.next=8;break}return e.abrupt("return",(o.mpWeixinOpenid=A,{}));case 8:return e.next=10,new Promise((function(e,t){r.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return s=e.sent,l=this.importObject("uni-id-co",{customUI:!0}),e.next=14,l.secureNetworkHandshakeByWeixin({code:s,callLoginByWeixin:i});case 14:return o.mpWeixinCode=s,e.abrupt("return",{code:s});case 16:case"end":return e.stop()}}),e,this)}))),yr.apply(this,arguments)}function vr(e){return Br.apply(this,arguments)}function Br(){return Br=(0,u.default)(a.default.mark((function e(t){var A;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return A=pr(this),e.abrupt("return",(A.initPromise||(A.initPromise=gr.call(this,t).then((function(e){return e})).catch((function(e){throw delete A.initPromise,e}))),A.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),Br.apply(this,arguments)}function xr(e){!function(e){Ce=e}(e)}function wr(e){var t="mp-weixin"===q&&n.canIUse("getAppBaseInfo"),A={getAppBaseInfo:t?r.getAppBaseInfo:r.getSystemInfo,getPushClientId:r.getPushClientId};return function(r){return new Promise((function(n,i){t&&"getAppBaseInfo"===e?n(A[e]()):A[e](b(b({},r),{},{success:function(e){n(e)},fail:function(e){i(e)}}))}))}}var mr=function(e){(0,d.default)(A,e);var t=C(A);function A(){var e;return(0,y.default)(this,A),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,o.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,v.default)(A,[{key:"init",value:function(){var e=this;return Promise.all([wr("getAppBaseInfo")(),wr("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],A=(0,s.default)(t,2),r=A[0];r=void 0===r?{}:r;var n=r.appId,i=A[1];i=void 0===i?{}:i;var a=i.cid;if(!n)throw new Error("Invalid appId, please check the manifest.json file");if(!a)throw new Error("Invalid push client id");e._appId=n,e._pushClientId=a,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,u.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,A=t.action,r=t.messageId,n=t.message;this._payloadQueue.push({action:A,messageId:r,message:n}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,A=e.messageId,r=e.message;"end"===t?this._end({messageId:A,message:r}):"message"===t&&this._appendMessage({messageId:A,message:r})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){r.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){r.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),A}(G);var br={tcb:Kt,tencent:Kt,aliyun:Ee,private:zt,dcloud:zt,alipay:rA},Cr=new(function(){function e(){(0,y.default)(this,e)}return(0,v.default)(e,[{key:"init",value:function(e){var t={},A=br[e.provider];if(!A)throw new Error("未提供正确的provider参数");return t=A.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new N({createPromise:function(){var t=Promise.resolve();t=new Promise((function(e){setTimeout((function(){e()}),1)}));var A=e.auth();return t.then((function(){return A.getLoginState()})).then((function(e){return e?Promise.resolve():A.signInAnonymously()}))}}))}(t),xA(t),function(e){var t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),function(e){e.database=function(t){if(t&&Object.keys(t).length>0)return e.init(t).database();if(this._database)return this._database;var A=PA(_A,{uniClient:e});return this._database=A,A},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var A=PA(_A,{uniClient:e,isJQL:!0});return this._databaseForJQL=A,A}}(t),function(e){e.getCurrentUserInfo=cr,e.chooseAndUploadFile=fr.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return hr(e)}}),e.SSEChannel=mr,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=t.openid,r=t.callLoginByWeixin,n=void 0!==r&&r;return vr.call(e,{openid:A,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=xr,e.importObject=function(e){return function(t){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,l.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},A);var n=A,i=n.customUI,o=n.loadingOptions,s=n.errorOptions,c=n.parseSystemError,f=!i;return new Proxy({},{get:function(n,i){switch(i){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,A=e.interceptorName,r=e.getCallbackArgs;return(0,u.default)(a.default.mark((function e(){var n,i,o,s,l,c,u=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(n=u.length,i=new Array(n),o=0;o0&&void 0!==l[0]?l[0]:{},A=t.title,n=t.content,i=t.showCancel,o=t.cancelText,s=t.confirmText,e.abrupt("return",new Promise((function(e,t){r.showModal({title:A,content:n,showCancel:i,cancelText:o,confirmText:s,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:Q,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});case 33:if(U=n.sent,S=U.confirm,!s.retry||!S){n.next=37;break}return n.abrupt("return",d.apply(void 0,g));case 37:throw E=new ye({subject:w,code:m,message:C,requestId:h.requestId}),E.detail=h.result,fe(oe.RESPONSE,{type:se.CLOUD_OBJECT,content:E}),E;case 39:return n.abrupt("return",(fe(oe.RESPONSE,{type:se.CLOUD_OBJECT,content:h.result}),h.result));case 40:case"end":return n.stop()}}),n,null,[[5,11]])})));function d(){return n.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=e.params;return{objectName:t,methodName:i,params:A}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var A=t[e];t[e]=function(){return A.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(A){var r=this,n=!1;if("callFunction"===t){var i=A&&A.type||_.DEFAULT;n=i!==_.DEFAULT}var a="callFunction"===t&&!n,o=this._initPromiseHub.exec();A=A||{};var s=ge(A),l=s.success,c=s.fail,u=s.complete,f=o.then((function(){return n?Promise.resolve():re(ne(t,"invoke"),A)})).then((function(){return e.call(r,A)})).then((function(e){return n?Promise.resolve(e):re(ne(t,"success"),e).then((function(){return re(ne(t,"complete"),e)})).then((function(){return a&&fe(oe.RESPONSE,{type:se.CLOUD_FUNCTION,content:e}),Promise.resolve(e)}))}),(function(e){return n?Promise.reject(e):re(ne(t,"fail"),e).then((function(){return re(ne(t,"complete"),e)})).then((function(){return fe(oe.RESPONSE,{type:se.CLOUD_FUNCTION,content:e}),Promise.reject(e)}))}));if(!(l||c||u))return f;f.then((function(e){l&&l(e),u&&u(e),a&&fe(oe.RESPONSE,{type:se.CLOUD_FUNCTION,content:e})}),(function(e){c&&c(e),u&&u(e),a&&fe(oe.RESPONSE,{type:se.CLOUD_FUNCTION,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());t.uniCloud=Cr,function(){var e=X,A={};if(e&&1===e.length)A=e[0],t.uniCloud=Cr=Cr.init(A),Cr._isDefault=!0;else{var n,i=["database","getCurrentUserInfo","importObject"];n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",[].concat(["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile"],i).forEach((function(e){Cr[e]=function(){if(console.error(n),-1===i.indexOf(e))return Promise.reject(new ye({code:"SYS_ERR",message:n}));console.error(n)}}))}if(Object.assign(Cr,{get mixinDatacom(){return hr(Cr)}}),or(Cr),Cr.addInterceptor=te,Cr.removeInterceptor=Ae,Cr.interceptObject=ie,"app"===q&&(r.__uniCloud=Cr),"app"===q||"web"===q){var a=function(){return J||(J=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),J)}();a.uniCloud=Cr,a.UniCloudError=ye}}();var Fr=Cr;t.default=Fr}).call(this,A("0ee4"),A("df3c")["default"],A("3223")["default"])},8801:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,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"}}},8920:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{show:{type:Boolean,default:e.$u.props.picker.show},showToolbar:{type:Boolean,default:e.$u.props.picker.showToolbar},title:{type:String,default:e.$u.props.picker.title},columns:{type:Array,default:e.$u.props.picker.columns},loading:{type:Boolean,default:e.$u.props.picker.loading},itemHeight:{type:[String,Number],default:e.$u.props.picker.itemHeight},cancelText:{type:String,default:e.$u.props.picker.cancelText},confirmText:{type:String,default:e.$u.props.picker.confirmText},cancelColor:{type:String,default:e.$u.props.picker.cancelColor},confirmColor:{type:String,default:e.$u.props.picker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.picker.visibleItemCount},keyName:{type:String,default:e.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:e.$u.props.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:e.$u.props.picker.immediateChange}}};t.default=A}).call(this,A("df3c")["default"])},"8b3d":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("f17a")),i=r(A("151b")),a=r(A("486d")),o={en:n.default,"zh-Hans":i.default,"zh-Hant":a.default};t.default=o},"8bbb":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965}},"8c83":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="mp"},"8cd6":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7eb4")),i=r(A("7ca3")),a=r(A("ee10")),o=r(A("abe7")),s=r(A("7288"));function l(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function c(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return o.default.get("".concat(s.default.getApiBaseUrl(),"/api/Extend/LqXmzl"),e)},getProjectDetail:function(e){return o.default.get("".concat(s.default.getApiBaseUrl(),"/api/Extend/LqXmzl/").concat(e))},createProject:function(e){return o.default.post("".concat(s.default.getApiBaseUrl(),"/api/Extend/LqXmzl"),e)},updateProject:function(e,t){return o.default.put("".concat(s.default.getApiBaseUrl(),"/api/Extend/LqXmzl/").concat(e),t)},deleteProject:function(e){return o.default.del("".concat(s.default.getApiBaseUrl(),"/api/Extend/LqXmzl/").concat(e))},getProjectOptions:function(){var e=arguments,t=this;return(0,a.default)(n.default.mark((function A(){var r,i,a;return n.default.wrap((function(A){while(1)switch(A.prev=A.next){case 0:return r=e.length>0&&void 0!==e[0]?e[0]:{},A.prev=1,i=c({page:1,pageSize:1e3},r),A.next=5,t.getProjectList(i);case 5:if(a=A.sent,200!==a.code||!a.data||!a.data.list){A.next=8;break}return A.abrupt("return",a.data.list.map((function(e){return{value:e.id,label:e.xmmc,px:e.id,pxmc:e.xmmc,pxjg:e.pxjg||0,qt2:e.qt2,description:e.description||"",status:e.status||1}})));case 8:return console.warn("获取品项列表失败,使用默认数据"),A.abrupt("return",t.getDefaultProjectOptions());case 12:return A.prev=12,A.t0=A["catch"](1),console.error("获取品项选项出错:",A.t0),A.abrupt("return",t.getDefaultProjectOptions());case 16:case"end":return A.stop()}}),A,null,[[1,12]])})))()},getDefaultProjectOptions:function(){return[{value:"1",label:"品项1",px:"1",pxmc:"品项1",pxjg:100,qt2:""},{value:"2",label:"品项2",px:"2",pxmc:"品项2",pxjg:200,qt2:""}]},searchProjects:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=c(c({},t),{},{xmmc:e});return this.getProjectList(A)}};t.default=u},"8f59":function(e,t,A){"use strict";(function(t){var A="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=A.__VUE_DEVTOOLS_GLOBAL_HOOK__;function n(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var A=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(A)return A.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(A){r[A]=n(e[A],t)})),r}function i(e,t){Object.keys(e).forEach((function(A){return t(e[A],A)}))}function a(e){return null!==e&&"object"===typeof e}var o=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var A=e.state;this.state=("function"===typeof A?A():A)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(e,t){this._children[e]=t},o.prototype.removeChild=function(e){delete this._children[e]},o.prototype.getChild=function(e){return this._children[e]},o.prototype.hasChild=function(e){return e in this._children},o.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)},o.prototype.forEachChild=function(e){i(this._children,e)},o.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},o.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},o.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(o.prototype,s);var l=function(e){this.register([],e,!1)};l.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},l.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,A){return t=t.getChild(A),e+(t.namespaced?A+"/":"")}),"")},l.prototype.update=function(e){(function e(t,A,r){0;if(A.update(r),r.modules)for(var n in r.modules){if(!A.getChild(n))return void 0;e(t.concat(n),A.getChild(n),r.modules[n])}})([],this.root,e)},l.prototype.register=function(e,t,A){var r=this;void 0===A&&(A=!0);var n=new o(t,A);if(0===e.length)this.root=n;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],n)}t.modules&&i(t.modules,(function(t,n){r.register(e.concat(n),t,A)}))},l.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),A=e[e.length-1],r=t.getChild(A);r&&r.runtime&&t.removeChild(A)},l.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),A=e[e.length-1];return!!t&&t.hasChild(A)};var c;var u=function(e){var t=this;void 0===e&&(e={}),!c&&"undefined"!==typeof window&&window.Vue&&B(window.Vue);var A=e.plugins;void 0===A&&(A=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var i=this,a=this.dispatch,o=this.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,A){return o.call(i,e,t,A)},this.strict=n;var s=this._modules.root.state;g(this,s,[],this._modules.root),p(this,s),A.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:c.config.devtools;u&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function d(e,t,A){return t.indexOf(e)<0&&(A&&A.prepend?t.unshift(e):t.push(e)),function(){var A=t.indexOf(e);A>-1&&t.splice(A,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var A=e.state;g(e,A,[],e._modules.root,!0),p(e,A,t)}function p(e,t,A){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var n=e._wrappedGetters,a={};i(n,(function(t,A){a[A]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,A,{get:function(){return e._vm[A]},enumerable:!0})}));var o=c.config.silent;c.config.silent=!0,e._vm=new c({data:{$$state:t},computed:a}),c.config.silent=o,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(A&&e._withCommit((function(){r._data.$$state=null})),c.nextTick((function(){return r.$destroy()})))}function g(e,t,A,r,n){var i=!A.length,a=e._modules.getNamespace(A);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!i&&!n){var o=y(t,A.slice(0,-1)),s=A[A.length-1];e._withCommit((function(){c.set(o,s,r.state)}))}var l=r.context=function(e,t,A){var r=""===t,n={dispatch:r?e.dispatch:function(A,r,n){var i=v(A,r,n),a=i.payload,o=i.options,s=i.type;return o&&o.root||(s=t+s),e.dispatch(s,a)},commit:r?e.commit:function(A,r,n){var i=v(A,r,n),a=i.payload,o=i.options,s=i.type;o&&o.root||(s=t+s),e.commit(s,a,o)}};return Object.defineProperties(n,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var A={},r=t.length;Object.keys(e.getters).forEach((function(n){if(n.slice(0,r)===t){var i=n.slice(r);Object.defineProperty(A,i,{get:function(){return e.getters[n]},enumerable:!0})}})),e._makeLocalGettersCache[t]=A}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return y(e.state,A)}}}),n}(e,a,A);r.forEachMutation((function(t,A){var r=a+A;(function(e,t,A,r){var n=e._mutations[t]||(e._mutations[t]=[]);n.push((function(t){A.call(e,r.state,t)}))})(e,r,t,l)})),r.forEachAction((function(t,A){var r=t.root?A:a+A,n=t.handler||t;(function(e,t,A,r){var n=e._actions[t]||(e._actions[t]=[]);n.push((function(t){var n=A.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(n)||(n=Promise.resolve(n)),e._devtoolHook?n.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):n}))})(e,r,n,l)})),r.forEachGetter((function(t,A){var r=a+A;(function(e,t,A,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return A(r.state,r.getters,e.state,e.getters)}})(e,r,t,l)})),r.forEachChild((function(r,i){g(e,t,A.concat(i),r,n)}))}function y(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,A){return a(e)&&e.type&&(A=t,t=e,e=e.type),{type:e,payload:t,options:A}}function B(e){c&&e===c||(c=e, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var A=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,A.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)}}(c))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},u.prototype.commit=function(e,t,A){var r=this,n=v(e,t,A),i=n.type,a=n.payload,o=(n.options,{type:i,payload:a}),s=this._mutations[i];s&&(this._withCommit((function(){s.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(o,r.state)})))},u.prototype.dispatch=function(e,t){var A=this,r=v(e,t),n=r.type,i=r.payload,a={type:n,payload:i},o=this._actions[n];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,A.state)}))}catch(l){0}var s=o.length>1?Promise.all(o.map((function(e){return e(i)}))):o[0](i);return new Promise((function(e,t){s.then((function(t){try{A._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,A.state)}))}catch(l){0}e(t)}),(function(e){try{A._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,A.state,e)}))}catch(l){0}t(e)}))}))}},u.prototype.subscribe=function(e,t){return d(e,this._subscribers,t)},u.prototype.subscribeAction=function(e,t){var A="function"===typeof e?{before:e}:e;return d(A,this._actionSubscribers,t)},u.prototype.watch=function(e,t,A){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,A)},u.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},u.prototype.registerModule=function(e,t,A){void 0===A&&(A={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),A.preserveState),p(this,this.state)},u.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var A=y(t.state,e.slice(0,-1));c.delete(A,e[e.length-1])})),h(this)},u.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},u.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},u.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(u.prototype,f);var x=F((function(e,t){var A={};return C(t).forEach((function(t){var r=t.key,n=t.val;A[r]=function(){var t=this.$store.state,A=this.$store.getters;if(e){var r=Q(this.$store,"mapState",e);if(!r)return;t=r.context.state,A=r.context.getters}return"function"===typeof n?n.call(this,t,A):t[n]},A[r].vuex=!0})),A})),w=F((function(e,t){var A={};return C(t).forEach((function(t){var r=t.key,n=t.val;A[r]=function(){var t=[],A=arguments.length;while(A--)t[A]=arguments[A];var r=this.$store.commit;if(e){var i=Q(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof n?n.apply(this,[r].concat(t)):r.apply(this.$store,[n].concat(t))}})),A})),m=F((function(e,t){var A={};return C(t).forEach((function(t){var r=t.key,n=t.val;n=e+n,A[r]=function(){if(!e||Q(this.$store,"mapGetters",e))return this.$store.getters[n]},A[r].vuex=!0})),A})),b=F((function(e,t){var A={};return C(t).forEach((function(t){var r=t.key,n=t.val;A[r]=function(){var t=[],A=arguments.length;while(A--)t[A]=arguments[A];var r=this.$store.dispatch;if(e){var i=Q(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof n?n.apply(this,[r].concat(t)):r.apply(this.$store,[n].concat(t))}})),A}));function C(e){return function(e){return Array.isArray(e)||a(e)}(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 function(t,A){return"string"!==typeof t?(A=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,A)}}function Q(e,t,A){var r=e._modulesNamespaceMap[A];return r}function U(e,t,A){var r=A?e.groupCollapsed:e.group;try{r.call(e,t)}catch(n){e.log(t)}}function S(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function E(){var e=new Date;return" @ "+T(e.getHours(),2)+":"+T(e.getMinutes(),2)+":"+T(e.getSeconds(),2)+"."+T(e.getMilliseconds(),3)}function T(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var I={Store:u,install:B,version:"3.6.2",mapState:x,mapMutations:w,mapGetters:m,mapActions:b,createNamespacedHelpers:function(e){return{mapState:x.bind(null,e),mapGetters:m.bind(null,e),mapMutations:w.bind(null,e),mapActions:b.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var A=e.filter;void 0===A&&(A=function(e,t,A){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var u=n(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,a){var o=n(a);if(A(e,u,o)){var s=E(),l=i(e),f="mutation "+e.type+s;U(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(u)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(o)),S(c)}u=o})),l&&e.subscribeAction((function(e,A){if(a(e,A)){var r=E(),n=o(e),i="action "+e.type+r;U(c,i,t),c.log("%c action","color: #03A9F4; font-weight: bold",n),S(c)}})))}}};e.exports=I}).call(this,A("0ee4"))},"8f88":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}}},"8ffa":function(e,t,A){var r=A("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9021:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}}},"902d":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}}},"911a":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{name:{type:[String,Number,Boolean],default:e.$u.props.checkbox.name},shape:{type:String,default:e.$u.props.checkbox.shape},size:{type:[String,Number],default:e.$u.props.checkbox.size},checked:{type:Boolean,default:e.$u.props.checkbox.checked},disabled:{type:[String,Boolean],default:e.$u.props.checkbox.disabled},activeColor:{type:String,default:e.$u.props.checkbox.activeColor},inactiveColor:{type:String,default:e.$u.props.checkbox.inactiveColor},iconSize:{type:[String,Number],default:e.$u.props.checkbox.iconSize},iconColor:{type:String,default:e.$u.props.checkbox.iconColor},label:{type:[String,Number],default:e.$u.props.checkbox.label},labelSize:{type:[String,Number],default:e.$u.props.checkbox.labelSize},labelColor:{type:String,default:e.$u.props.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:e.$u.props.checkbox.labelDisabled}}};t.default=A}).call(this,A("df3c")["default"])},"921b":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}}},"92b3":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}}},"931d":function(e,t,A){var r=A("7647"),n=A("011a");e.exports=function(e,t,A){if(n())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return A&&r(a,A.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},9475:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={v:"2.0.34",version:"2.0.34",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};t.default=r},9539:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={listItem:{anchor:""}}},"983b":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}}},"99a0":function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStatistics"),e)},getPerformanceTrend:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetPerformanceTrend"),e)},getStoreRanking:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStoreRanking"),e)},getStoreDistribution:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStoreDistribution"),e)},getManagerRanking:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetManagerRanking"),e)},getManagerDistribution:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetManagerDistribution"),e)},getManagerTrend:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetManagerTrend"),e)},getStoreManagerRanking:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStoreManagerRanking"),e)},getHealthCoachRanking:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetHealthCoachRanking"),e)},getOperationStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetOperationStatistics"),e)},getComparisonAnalysis:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetComparisonAnalysis"),e)},getStoreDetailList:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStoreDetailList"),e)},getManagerDetailList:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetManagerDetailList"),e)},getStoreManagerDetailList:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetStoreManagerDetailList"),e)},getHealthCoachDetailList:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqBusinessUnitDashboard/GetHealthCoachDetailList"),e)}};t.default=a},"9a48":function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={submitRefund:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqHytkHytk"),e)},getRefundList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqHytkHytk"),e)},getRefundDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqHytkHytk/").concat(e))},updateRefund:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqHytkHytk/").concat(e),t)},deleteRefund:function(e){return n.default.del("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqHytkHytk/").concat(e))},getStoreList:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/system/DataInterface/730960205902251269/Actions/Response"))},getHealthTeacherList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/user"),e)},getTechTeacherList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/user"),e)},getProjectDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXmzl/").concat(e))},getJsjInfo:function(e,t){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqycsdjsj/GetJsjInfoByUserMonth?UserId=").concat(e,"&DateTime=").concat(t))},cancelRefund:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqhytkhytk/VoidRefundCardInfo/").concat(e)+"?remarks="+t)},uploadFile:function(t){return new Promise((function(A,r){e.uploadFile({url:"".concat(i.default.getApiBaseUrl(),"/api/file/Uploader/annexpic"),filePath:t.path||t.tempFilePath,name:"file",header:{Authorization:e.getStorageSync("token")},success:function(e){try{var t=JSON.parse(e.data);A(t)}catch(n){r(n)}},fail:function(e){r(e)}})}))}};t.default=a}).call(this,A("df3c")["default"])},"9d0a":function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}}},"9f94d":function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{color:{type:String,default:e.$u.props.line.color},length:{type:[String,Number],default:e.$u.props.line.length},direction:{type:String,default:e.$u.props.line.direction},hairline:{type:Boolean,default:e.$u.props.line.hairline},margin:{type:[String,Number],default:e.$u.props.line.margin},dashed:{type:Boolean,default:e.$u.props.line.dashed}}};t.default=A}).call(this,A("df3c")["default"])},"9fc1":function(e,t,A){var r=A("3b2d")["default"];function n(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=n=function(){return A},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,A={},i=Object.prototype,a=i.hasOwnProperty,o=Object.defineProperty||function(e,t,A){e[t]=A.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,A){return Object.defineProperty(e,t,{value:A,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,A){return e[t]=A}}function d(e,t,A,r){var n=t&&t.prototype instanceof B?t:B,i=Object.create(n.prototype),a=new P(r||[]);return o(i,"_invoke",{value:S(e,A,a)}),i}function h(e,t,A){try{return{type:"normal",arg:e.call(t,A)}}catch(e){return{type:"throw",arg:e}}}A.wrap=d;var p="suspendedStart",g="executing",y="completed",v={};function B(){}function x(){}function w(){}var m={};f(m,l,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(_([])));C&&C!==i&&a.call(C,l)&&(m=C);var F=w.prototype=B.prototype=Object.create(m);function Q(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function U(e,t){function A(n,i,o,s){var l=h(e[n],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==r(u)&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){A("next",e,o,s)}),(function(e){A("throw",e,o,s)})):t.resolve(u).then((function(e){c.value=e,o(c)}),(function(e){return A("throw",e,o,s)}))}s(l.arg)}var n;o(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,n){A(e,r,t,n)}))}return n=n?n.then(i,i):i()}})}function S(e,A,r){var n=p;return function(i,a){if(n===g)throw Error("Generator is already running");if(n===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=E(o,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=g;var l=h(e,A,r);if("normal"===l.type){if(n=r.done?y:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=y,r.method="throw",r.arg=l.arg)}}}function E(e,A){var r=A.method,n=e.iterator[r];if(n===t)return A.delegate=null,"throw"===r&&e.iterator["return"]&&(A.method="return",A.arg=t,E(e,A),"throw"===A.method)||"return"!==r&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=h(n,e.iterator,A.arg);if("throw"===i.type)return A.method="throw",A.arg=i.arg,A.delegate=null,v;var a=i.arg;return a?a.done?(A[e.resultName]=a.value,A.next=e.nextLoc,"return"!==A.method&&(A.method="next",A.arg=t),A.delegate=null,v):a:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,v)}function T(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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function _(e){if(e||""===e){var A=e[l];if(A)return A.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function A(){for(;++n=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--A){var r=this.tryEntries[A];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var A=this.tryEntries[t];if(A.finallyLoc===e)return this.complete(A.completion,A.afterLoc),I(A),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var A=this.tryEntries[t];if(A.tryLoc===e){var r=A.completion;if("throw"===r.type){var n=r.arg;I(A)}return n}}throw Error("illegal catch attempt")},delegateYield:function(e,A,r){return this.delegate={iterator:_(e),resultName:A,nextLoc:r},"next"===this.method&&(this.arg=t),v}},A}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},a0ec:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}}},a0f7:function(e,t,A){var r,n,i=A("3b2d"); /*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License */ (function(a,o){"object"===i(t)&&"undefined"!==typeof e?e.exports=o():(r=o,n="function"===typeof r?r.call(t,A,t,e):r,void 0===n||(e.exports=n))})(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var e=function(t,A){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var A in t)Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A])},e(t,A)};function t(t,A){if("function"!==typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function r(){this.constructor=t}e(t,A),t.prototype=null===A?Object.create(A):(r.prototype=A.prototype,new r)}var A=function(){return A=Object.assign||function(e){for(var t,A=1,r=arguments.length;A0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=55296&&n<=56319&&A>10),a%1024+56320)),(n+1===A||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="undefined"===typeof Uint8Array?[]:new Uint8Array(256),d=0;d=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>5],t=(t<<2)+(31&e),this.data[t];if(e<=65535)return t=this.index[2048+(e-55296>>5)],t=(t<<2)+(31&e),this.data[t];if(e>11),t=this.index[t],t+=e>>5&63,t=this.index[t],t=(t<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x="undefined"===typeof Uint8Array?[]:new Uint8Array(256),w=0;w>4,c[s++]=(15&r)<<4|n>>2,c[s++]=(3&n)<<6|63&i;return l}(e),r=Array.isArray(A)?function(e){for(var t=e.length,A=[],r=0;r0){i--;var o=r[i];if(Array.isArray(e)?-1!==e.indexOf(o):e===o){var s=A;while(s<=r.length){s++;a=r[s];if(a===t)return!0;if(a!==m)break}}if(o!==m)break}}return!1},Ae=function(e,t){var A=e;while(A>=0){var r=t[A];if(r!==m)return r;A--}return 0},re=function(e,t,A,r,n){if(0===A[r])return"×";var i=r-1;if(Array.isArray(n)&&!0===n[i])return"×";var a=i-1,o=i+1,s=t[i],l=a>=0?t[a]:0,c=t[o];if(2===s&&3===c)return"×";if(-1!==X.indexOf(s))return"!";if(-1!==X.indexOf(c))return"×";if(-1!==J.indexOf(c))return"×";if(8===Ae(i,t))return"÷";if(11===z.get(e[i]))return"×";if((s===O||s===M)&&11===z.get(e[o]))return"×";if(7===s||7===c)return"×";if(9===s)return"×";if(-1===[m,b,C].indexOf(s)&&9===c)return"×";if(-1!==[F,Q,U,I,L].indexOf(c))return"×";if(Ae(i,t)===T)return"×";if(te(23,T,i,t))return"×";if(te([F,Q],E,i,t))return"×";if(te(12,12,i,t))return"×";if(s===m)return"÷";if(23===s||23===c)return"×";if(16===c||16===s)return"÷";if(-1!==[b,C,E].indexOf(c)||14===s)return"×";if(36===l&&-1!==ee.indexOf(s))return"×";if(s===L&&36===c)return"×";if(c===S)return"×";if(-1!==q.indexOf(c)&&s===P||-1!==q.indexOf(s)&&c===P)return"×";if(s===k&&-1!==[R,O,M].indexOf(c)||-1!==[R,O,M].indexOf(s)&&c===_)return"×";if(-1!==q.indexOf(s)&&-1!==Y.indexOf(c)||-1!==Y.indexOf(s)&&-1!==q.indexOf(c))return"×";if(-1!==[k,_].indexOf(s)&&(c===P||-1!==[T,C].indexOf(c)&&t[o+1]===P)||-1!==[T,C].indexOf(s)&&c===P||s===P&&-1!==[P,L,I].indexOf(c))return"×";if(-1!==[P,L,I,F,Q].indexOf(c)){var u=i;while(u>=0){var f=t[u];if(f===P)return"×";if(-1===[L,I].indexOf(f))break;u--}}if(-1!==[k,_].indexOf(c)){u=-1!==[F,Q].indexOf(s)?a:i;while(u>=0){f=t[u];if(f===P)return"×";if(-1===[L,I].indexOf(f))break;u--}}if(j===s&&-1!==[j,N,H,K].indexOf(c)||-1!==[N,H].indexOf(s)&&-1!==[N,G].indexOf(c)||-1!==[G,K].indexOf(s)&&c===G)return"×";if(-1!==Z.indexOf(s)&&-1!==[S,_].indexOf(c)||-1!==Z.indexOf(c)&&s===k)return"×";if(-1!==q.indexOf(s)&&-1!==q.indexOf(c))return"×";if(s===I&&-1!==q.indexOf(c))return"×";if(-1!==q.concat(P).indexOf(s)&&c===T&&-1===W.indexOf(e[o])||-1!==q.concat(P).indexOf(c)&&s===Q)return"×";if(41===s&&41===c){var d=A[i],h=1;while(d>0){if(d--,41!==t[d])break;h++}if(h%2!==0)return"×"}return s===O&&c===M?"×":"÷"},ne=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var A=function(e,t){void 0===t&&(t="strict");var A=[],r=[],n=[];return e.forEach((function(e,i){var a=z.get(e);if(a>50?(n.push(!0),a-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),A.push(16);if(4===a||11===a){if(0===i)return r.push(i),A.push(D);var o=A[i-1];return-1===$.indexOf(o)?(r.push(r[i-1]),A.push(o)):(r.push(i),A.push(D))}return r.push(i),31===a?A.push("strict"===t?E:R):a===V||29===a?A.push(D):43===a?e>=131072&&e<=196605||e>=196608&&e<=262141?A.push(R):A.push(D):void A.push(a)})),[r,A,n]}(e,t.lineBreak),r=A[0],n=A[1],i=A[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map((function(e){return-1!==[P,D,V].indexOf(e)?R:e})));var a="keep-all"===t.wordBreak?i.map((function(t,A){return t&&e[A]>=19968&&e[A]<=40959})):void 0;return[r,n,a]},ie=function(){function e(e,t,A,r){this.codePoints=e,this.required="!"===t,this.start=A,this.end=r}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),ae=function(e){return e>=48&&e<=57},oe=function(e){return ae(e)||e>=65&&e<=70||e>=97&&e<=102},se=function(e){return 10===e||9===e||32===e},le=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},ce=function(e){return le(e)||ae(e)||45===e},ue=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},fe=function(e,t){return 92===e&&10!==t},de=function(e,t,A){return 45===e?le(t)||fe(t,A):!!le(e)||!(92!==e||!fe(e,t))},he=function(e,t,A){return 43===e||45===e?!!ae(t)||46===t&&ae(A):ae(46===e?t:e)},pe=function(e){var t=0,A=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(A=-1),t++);var r=[];while(ae(e[t]))r.push(e[t++]);var n=r.length?parseInt(c.apply(void 0,r),10):0;46===e[t]&&t++;var i=[];while(ae(e[t]))i.push(e[t++]);var a=i.length,o=a?parseInt(c.apply(void 0,i),10):0;69!==e[t]&&101!==e[t]||t++;var s=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(s=-1),t++);var l=[];while(ae(e[t]))l.push(e[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return A*(n+o*Math.pow(10,-a))*Math.pow(10,s*u)},ge={type:2},ye={type:3},ve={type:4},Be={type:13},xe={type:8},we={type:21},me={type:9},be={type:10},Ce={type:11},Fe={type:12},Qe={type:14},Ue={type:23},Se={type:1},Ee={type:25},Te={type:24},Ie={type:26},Pe={type:27},_e={type:28},ke={type:29},Le={type:31},De={type:32},Oe=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){var e=[],t=this.consumeToken();while(t!==De)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),A=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ce(t)||fe(A,r)){var n=de(t,A,r)?2:1,i=this.consumeName();return{type:5,value:i,flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Be;break;case 39:return this.consumeStringToken(39);case 40:return ge;case 41:return ye;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Qe;break;case 43:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return ve;case 45:var a=e,o=this.peekCodePoint(0),s=this.peekCodePoint(1);if(he(a,o,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(de(a,o,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(45===o&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Te;break;case 46:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0)){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(42===l&&(l=this.consumeCodePoint(),47===l))return this.consumeToken();if(-1===l)return this.consumeToken()}}break;case 58:return Ie;case 59:return Pe;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Ee;break;case 64:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(de(u,f,d)){i=this.consumeName();return{type:7,value:i}}break;case 91:return _e;case 92:if(fe(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return ke;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xe;break;case 123:return Ce;case 125:return Fe;case 117:case 85:var h=this.peekCodePoint(0),p=this.peekCodePoint(1);return 43!==h||!oe(p)&&63!==p||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),me;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),we;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),be;break;case-1:return De}return se(e)?(this.consumeWhiteSpace(),Le):ae(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):le(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){var e=[],t=this.consumeCodePoint();while(oe(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var A=!1;while(63===t&&e.length<6)e.push(t),t=this.consumeCodePoint(),A=!0;if(A){var r=parseInt(c.apply(void 0,e.map((function(e){return 63===e?48:e}))),16),n=parseInt(c.apply(void 0,e.map((function(e){return 63===e?70:e}))),16);return{type:30,start:r,end:n}}var i=parseInt(c.apply(void 0,e),16);if(45===this.peekCodePoint(0)&&oe(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(oe(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();n=parseInt(c.apply(void 0,a),16);return{type:30,start:i,end:n}}return{type:30,start:i,end:i}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),Ue)}while(1){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:22,value:c.apply(void 0,e)};if(se(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Ue);if(34===r||39===r||40===r||ue(r))return this.consumeBadUrlRemnants(),Ue;if(92===r){if(!fe(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ue;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){while(se(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(41===e||-1===e)return;fe(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t="";while(e>0){var A=Math.min(5e4,e);t+=c.apply(void 0,this._value.splice(0,A)),e-=A}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){var t="",A=0;do{var r=this._value[A];if(-1===r||void 0===r||r===e)return t+=this.consumeStringSlice(A),{type:0,value:t};if(10===r)return this._value.splice(0,A),Se;if(92===r){var n=this._value[A+1];-1!==n&&void 0!==n&&(10===n?(t+=this.consumeStringSlice(A),A=-1,this._value.shift()):fe(r,n)&&(t+=this.consumeStringSlice(A),t+=c(this.consumeEscapedCodePoint()),A=-1))}A++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=4,A=this.peekCodePoint(0);43!==A&&45!==A||e.push(this.consumeCodePoint());while(ae(this.peekCodePoint(0)))e.push(this.consumeCodePoint());A=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===A&&ae(r)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;while(ae(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}A=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===A||101===A)&&((43===r||45===r)&&ae(n)||ae(r))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;while(ae(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[pe(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],A=e[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(de(r,n,i)){var a=this.consumeName();return{type:15,number:t,flags:A,unit:a}}return 37===r?(this.consumeCodePoint(),{type:16,number:t,flags:A}):{type:17,number:t,flags:A}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(oe(e)){var t=c(e);while(oe(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());se(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(t,16);return 0===A||function(e){return e>=55296&&e<=57343}(A)||A>1114111?65533:A}return-1===e?65533:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(ce(t))e+=c(t);else{if(!fe(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Me=function(){function e(e){this._tokens=e}return e.create=function(t){var A=new Oe;return A.write(t),new e(A.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){var e=this.consumeToken();while(31===e.type)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){var e=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){var t={type:e,values:[]},A=this.consumeToken();while(1){if(32===A.type||ze(A,e))return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue()),A=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:18};while(1){var A=this.consumeToken();if(32===A.type||3===A.type)return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?De:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),He=function(e){return 15===e.type},Ke=function(e){return 17===e.type},Re=function(e){return 20===e.type},je=function(e){return 0===e.type},Ne=function(e,t){return Re(e)&&e.value===t},Ge=function(e){return 31!==e.type},Ve=function(e){return 31!==e.type&&4!==e.type},We=function(e){var t=[],A=[];return e.forEach((function(e){if(4===e.type){if(0===A.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(A),void(A=[])}31!==e.type&&A.push(e)})),A.length&&t.push(A),t},ze=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},qe=function(e){return 17===e.type||15===e.type},Xe=function(e){return 16===e.type||qe(e)},Je=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Ye={type:17,number:0,flags:4},$e={type:16,number:50,flags:4},Ze={type:16,number:100,flags:4},et=function(e,t,A){var r=e[0],n=e[1];return[tt(r,t),tt("undefined"!==typeof n?n:r,A)]},tt=function(e,t){if(16===e.type)return e.number/100*t;if(He(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},At={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},rt=function(e){return 15===e.type&&("deg"===e.unit||"grad"===e.unit||"rad"===e.unit||"turn"===e.unit)},nt=function(e){var t=e.filter(Re).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ye,Ye];case"to top":case"bottom":return it(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ye,Ze];case"to right":case"left":return it(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ze,Ze];case"to bottom":case"top":return it(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ze,Ye];case"to left":case"right":return it(270)}return 0},it=function(e){return Math.PI*e/180},at={name:"color",parse:function(e,t){if(18===t.type){var A=ht[t.name];if("undefined"===typeof A)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return A(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return lt(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return lt(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6);return lt(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(8===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8);return lt(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(20===t.type){var o=gt[t.value.toUpperCase()];if("undefined"!==typeof o)return o}return gt.TRANSPARENT}},ot=function(e){return 0===(255&e)},st=function(e){var t=255&e,A=255&e>>8,r=255&e>>16,n=255&e>>24;return t<255?"rgba("+n+","+r+","+A+","+t/255+")":"rgb("+n+","+r+","+A+")"},lt=function(e,t,A,r){return(e<<24|t<<16|A<<8|Math.round(255*r)<<0)>>>0},ct=function(e,t){if(17===e.type)return e.number;if(16===e.type){var A=3===t?1:255;return 3===t?e.number/100*A:Math.round(e.number/100*A)}return 0},ut=function(e,t){var A=t.filter(Ve);if(3===A.length){var r=A.map(ct),n=r[0],i=r[1],a=r[2];return lt(n,i,a,1)}if(4===A.length){var o=A.map(ct),s=(n=o[0],i=o[1],a=o[2],o[3]);return lt(n,i,a,s)}return 0};function ft(e,t,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(t-e)*A*6+e:A<.5?t:A<2/3?6*(t-e)*(2/3-A)+e:e}var dt=function(e,t){var A=t.filter(Ve),r=A[0],n=A[1],i=A[2],a=A[3],o=(17===r.type?it(r.number):At.parse(e,r))/(2*Math.PI),s=Xe(n)?n.number/100:0,l=Xe(i)?i.number/100:0,c="undefined"!==typeof a&&Xe(a)?tt(a,1):1;if(0===s)return lt(255*l,255*l,255*l,1);var u=l<=.5?l*(s+1):l+s-l*s,f=2*l-u,d=ft(f,u,o+1/3),h=ft(f,u,o),p=ft(f,u,o-1/3);return lt(255*d,255*h,255*p,c)},ht={hsl:dt,hsla:dt,rgb:ut,rgba:ut},pt=function(e,t){return at.parse(e,Me.create(t).parseComponentValue())},gt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},yt={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Re(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},vt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bt=function(e,t){var A=at.parse(e,t[0]),r=t[1];return r&&Xe(r)?{color:A,stop:r}:{color:A,stop:null}},xt=function(e,t){var A=e[0],r=e[e.length-1];null===A.stop&&(A.stop=Ye),null===r.stop&&(r.stop=Ze);for(var n=[],i=0,a=0;ai?n.push(s):n.push(i),i=s}else n.push(null)}var l=null;for(a=0;ae.optimumDistance)?{optimumCorner:t,optimumDistance:o}:e}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Ct=function(e,t){var A=it(180),r=[];return We(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(A=nt(t));if(rt(i))return void(A=(At.parse(e,i)+it(270))%it(360))}var a=Bt(e,t);r.push(a)})),{angle:A,stops:r,type:1}},Ft=function(e,t){var A=0,r=3,n=[],i=[];return We(t).forEach((function(t,a){var o=!0;if(0===a?o=t.reduce((function(e,t){if(Re(t))switch(t.value){case"center":return i.push($e),!1;case"top":case"left":return i.push(Ye),!1;case"right":case"bottom":return i.push(Ze),!1}else if(Xe(t)||qe(t))return i.push(t),!1;return e}),o):1===a&&(o=t.reduce((function(e,t){if(Re(t))switch(t.value){case"circle":return A=0,!1;case"ellipse":return A=1,!1;case"contain":case"closest-side":return r=0,!1;case"farthest-side":return r=1,!1;case"closest-corner":return r=2,!1;case"cover":case"farthest-corner":return r=3,!1}else if(qe(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),o)),o){var s=Bt(e,t);n.push(s)}})),{size:r,shape:A,stops:n,position:i,type:2}},Qt={name:"image",parse:function(e,t){if(22===t.type){var A={url:t.value,type:0};return e.cache.addImage(t.value),A}if(18===t.type){var r=St[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};var Ut,St={"linear-gradient":function(e,t){var A=it(180),r=[];return We(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&"to"===i.value)return void(A=nt(t));if(rt(i))return void(A=At.parse(e,i))}var a=Bt(e,t);r.push(a)})),{angle:A,stops:r,type:1}},"-moz-linear-gradient":Ct,"-ms-linear-gradient":Ct,"-o-linear-gradient":Ct,"-webkit-linear-gradient":Ct,"radial-gradient":function(e,t){var A=0,r=3,n=[],i=[];return We(t).forEach((function(t,a){var o=!0;if(0===a){var s=!1;o=t.reduce((function(e,t){if(s)if(Re(t))switch(t.value){case"center":return i.push($e),e;case"top":case"left":return i.push(Ye),e;case"right":case"bottom":return i.push(Ze),e}else(Xe(t)||qe(t))&&i.push(t);else if(Re(t))switch(t.value){case"circle":return A=0,!1;case"ellipse":return A=1,!1;case"at":return s=!0,!1;case"closest-side":return r=0,!1;case"cover":case"farthest-side":return r=1,!1;case"contain":case"closest-corner":return r=2,!1;case"farthest-corner":return r=3,!1}else if(qe(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),o)}if(o){var l=Bt(e,t);n.push(l)}})),{size:r,shape:A,stops:n,position:i,type:2}},"-moz-radial-gradient":Ft,"-ms-radial-gradient":Ft,"-o-radial-gradient":Ft,"-webkit-radial-gradient":Ft,"-webkit-gradient":function(e,t){var A=it(180),r=[],n=1;return We(t).forEach((function(t,A){var i=t[0];if(0===A){if(Re(i)&&"linear"===i.value)return void(n=1);if(Re(i)&&"radial"===i.value)return void(n=2)}if(18===i.type)if("from"===i.name){var a=at.parse(e,i.values[0]);r.push({stop:Ye,color:a})}else if("to"===i.name){a=at.parse(e,i.values[0]);r.push({stop:Ze,color:a})}else if("color-stop"===i.name){var o=i.values.filter(Ve);if(2===o.length){a=at.parse(e,o[1]);var s=o[0];Ke(s)&&r.push({stop:{type:16,number:100*s.number,flags:s.flags},color:a})}}})),1===n?{angle:(A+it(180))%it(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}}},Et={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var A=t[0];return 20===A.type&&"none"===A.value?[]:t.filter((function(e){return Ve(e)&&function(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!St[e.name])}(e)})).map((function(t){return Qt.parse(e,t)}))}},Tt={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Re(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},It={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return We(t).map((function(e){return e.filter(Xe)})).map(Je)}},Pt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return We(t).map((function(e){return e.filter(Re).map((function(e){return e.value})).join(" ")})).map(_t)}},_t=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(e){e["AUTO"]="auto",e["CONTAIN"]="contain",e["COVER"]="cover"})(Ut||(Ut={}));var kt,Lt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return We(t).map((function(e){return e.filter(Dt)}))}},Dt=function(e){return Re(e)||Xe(e)},Ot=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Mt=Ot("top"),Ht=Ot("right"),Kt=Ot("bottom"),Rt=Ot("left"),jt=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Je(t.filter(Xe))}}},Nt=jt("top-left"),Gt=jt("top-right"),Vt=jt("bottom-right"),Wt=jt("bottom-left"),zt=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},qt=zt("top"),Xt=zt("right"),Jt=zt("bottom"),Yt=zt("left"),$t=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return He(t)?t.number:0}}},Zt=$t("top"),eA=$t("right"),tA=$t("bottom"),AA=$t("left"),rA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},nA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},iA={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Re).reduce((function(e,t){return e|aA(t.value)}),0)}},aA=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},oA={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},sA={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(e){e["NORMAL"]="normal",e["STRICT"]="strict"})(kt||(kt={}));var lA,cA={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return kt.STRICT;case"normal":default:return kt.NORMAL}}},uA={name:"line-height",initialValue:"normal",prefix:!1,type:4},fA=function(e,t){return Re(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Xe(e)?tt(e,t):t},dA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Qt.parse(e,t)}},hA={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},pA={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},gA=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},yA=gA("top"),vA=gA("right"),BA=gA("bottom"),xA=gA("left"),wA={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Re).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},mA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},bA=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},CA=bA("top"),FA=bA("right"),QA=bA("bottom"),UA=bA("left"),SA={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},EA={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},TA={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Ne(t[0],"none")?[]:We(t).map((function(t){for(var A={color:gt.TRANSPARENT,offsetX:Ye,offsetY:Ye,blur:Ye},r=0,n=0;n1?1:0],this.overflowWrap=lr(e,mA,t.overflowWrap),this.paddingTop=lr(e,CA,t.paddingTop),this.paddingRight=lr(e,FA,t.paddingRight),this.paddingBottom=lr(e,QA,t.paddingBottom),this.paddingLeft=lr(e,UA,t.paddingLeft),this.paintOrder=lr(e,rr,t.paintOrder),this.position=lr(e,EA,t.position),this.textAlign=lr(e,SA,t.textAlign),this.textDecorationColor=lr(e,jA,null!==(A=t.textDecorationColor)&&void 0!==A?A:t.color),this.textDecorationLine=lr(e,NA,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=lr(e,TA,t.textShadow),this.textTransform=lr(e,IA,t.textTransform),this.transform=lr(e,PA,t.transform),this.transformOrigin=lr(e,DA,t.transformOrigin),this.visibility=lr(e,OA,t.visibility),this.webkitTextStrokeColor=lr(e,nr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=lr(e,ir,t.webkitTextStrokeWidth),this.wordBreak=lr(e,MA,t.wordBreak),this.zIndex=lr(e,HA,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return ot(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return XA(this.display,4)||XA(this.display,33554432)||XA(this.display,268435456)||XA(this.display,536870912)||XA(this.display,67108864)||XA(this.display,134217728)},e}(),or=function(){return function(e,t){this.content=lr(e,JA,t.content),this.quotes=lr(e,er,t.quotes)}}(),sr=function(){return function(e,t){this.counterIncrement=lr(e,YA,t.counterIncrement),this.counterReset=lr(e,$A,t.counterReset)}}(),lr=function(e,t,A){var r=new Oe,n=null!==A&&"undefined"!==typeof A?A.toString():t.initialValue;r.write(n);var i=new Me(r.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,Re(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return At.parse(e,i.parseComponentValue());case"color":return at.parse(e,i.parseComponentValue());case"image":return Qt.parse(e,i.parseComponentValue());case"length":var o=i.parseComponentValue();return qe(o)?o:Ye;case"length-percentage":var s=i.parseComponentValue();return Xe(s)?s:Ye;case"time":return KA.parse(e,i.parseComponentValue())}break}},cr=function(e,t){var A=function(e){var t=e.getAttribute("data-html2canvas-debug");switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===A||t===A},ur=function(){return function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,cr(t,3),this.styles=new ar(e,window.getComputedStyle(t,null)),un(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),cr(t,4)&&(this.flags|=16)}}(),fr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),hr=0;hr=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>5],t=(t<<2)+(31&e),this.data[t];if(e<=65535)return t=this.index[2048+(e-55296>>5)],t=(t<<2)+(31&e),this.data[t];if(e>11),t=this.index[t],t+=e>>5&63,t=this.index[t],t=(t<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),yr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Br=0;Br>10),a%1024+56320)),(n+1===A||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Qr=function(e,t){var A=function(e){var t,A,r,n,i,a=.75*e.length,o=e.length,s=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t>4,c[s++]=(15&r)<<4|n>>2,c[s++]=(3&n)<<6|63&i;return l}(e),r=Array.isArray(A)?function(e){for(var t=e.length,A=[],r=0;r=55296&&n<=56319&&A=A)return{done:!0,value:null};var e="×";while(ra.x||n.y>a.y;return a=n,0===t||o}));return e.body.removeChild(t),o}(document);return Object.defineProperty(_r,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,A=e.createElement("canvas"),r=A.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,";try{r.drawImage(t,0,0),A.toDataURL()}catch(n){return!1}return!0}(document);return Object.defineProperty(_r,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?function(e){var t=e.createElement("canvas");t.width=100,t.height=100;var A=t.getContext("2d");if(!A)return Promise.reject(!1);A.fillStyle="rgb(0, 255, 0)",A.fillRect(0,0,100,100);var r=new Image,n=t.toDataURL();r.src=n;var i=Ir(100,100,0,0,r);return A.fillStyle="red",A.fillRect(0,0,100,100),Pr(i).then((function(t){A.drawImage(t,0,0);var r=A.getImageData(0,0,100,100).data;A.fillStyle="red",A.fillRect(0,0,100,100);var i=e.createElement("div");return i.style.backgroundImage="url("+n+")",i.style.height="100px",Tr(r)?Pr(Ir(100,100,0,0,i)):Promise.reject(!1)})).then((function(e){return A.drawImage(e,0,0),Tr(A.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(_r,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=function(){return"undefined"!==typeof(new Image).crossOrigin}();return Object.defineProperty(_r,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=function(){return"string"===typeof(new XMLHttpRequest).responseType}();return Object.defineProperty(_r,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(_r,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(_r,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},kr=function(){return function(e,t){this.text=e,this.bounds=t}}(),Lr=function(e,t){var A=t.ownerDocument;if(A){var r=A.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=s(e,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return o.EMPTY},Dr=function(e,t,A){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(e,t),n.setEnd(e,t+A),n},Or=function(e){if(_r.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return function(e){var t,A=Er(e),r=[];while(!(t=A.next()).done)t.value&&r.push(t.value.slice());return r}(e)},Mr=function(e,t){return 0!==t.letterSpacing?Or(e):function(e,t){if(_r.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(e)).map((function(e){return e.segment}))}return Kr(e,t)}(e,t)},Hr=[32,160,4961,65792,65793,4153,4241],Kr=function(e,t){var A,r=function(e,t){var A=l(e),r=ne(A,t),n=r[0],i=r[1],a=r[2],o=A.length,s=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};var e="×";while(c0)if(_r.SUPPORT_RANGE_BOUNDS){var n=Dr(r,a,t.length).getClientRects();if(n.length>1){var s=Or(t),l=0;s.forEach((function(t){i.push(new kr(t,o.fromDOMRectList(e,Dr(r,l+a,t.length).getClientRects()))),l+=t.length}))}else i.push(new kr(t,o.fromDOMRectList(e,n)))}else{var c=r.splitText(t.length);i.push(new kr(t,Lr(e,r))),r=c}else _r.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));a+=t.length})),i}(e,this.text,A,t)}}(),jr=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Nr,Gr);case 2:return e.toUpperCase();default:return e}},Nr=/(^|\s|:|-|\(|\))([a-z])/g,Gr=function(e,t,A){return e.length>0?t+A.toUpperCase():e},Vr=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.src=A.currentSrc||A.src,r.intrinsicWidth=A.naturalWidth,r.intrinsicHeight=A.naturalHeight,r.context.cache.addImage(r.src),r}return t(A,e),A}(ur),Wr=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.canvas=A,r.intrinsicWidth=A.width,r.intrinsicHeight=A.height,r}return t(A,e),A}(ur),zr=function(e){function A(t,A){var r=e.call(this,t,A)||this,n=new XMLSerializer,i=s(t,A);return A.setAttribute("width",i.width+"px"),A.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(A)),r.intrinsicWidth=A.width.baseVal.value,r.intrinsicHeight=A.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(A,e),A}(ur),qr=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.value=A.value,r}return t(A,e),A}(ur),Xr=function(e){function A(t,A){var r=e.call(this,t,A)||this;return r.start=A.start,r.reversed="boolean"===typeof A.reversed&&!0===A.reversed,r}return t(A,e),A}(ur),Jr=[{type:15,flags:0,unit:"px",number:3}],Yr=[{type:16,flags:0,number:50}],$r="password",Zr=function(e){function A(t,A){var r=e.call(this,t,A)||this;switch(r.type=A.type.toLowerCase(),r.checked=A.checked,r.value=function(e){var t=e.type===$r?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t}(A),"checkbox"!==r.type&&"radio"!==r.type||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=function(e){return e.width>e.height?new o(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)r.textNodes.push(new Rr(t,i,r.styles));else if(cn(i))if(Fn(i)&&i.assignedNodes)i.assignedNodes().forEach((function(A){return e(t,A,r,n)}));else{var o=nn(t,i);o.styles.isVisible()&&(on(i,o,n)?o.flags|=4:sn(o.styles)&&(o.flags|=2),-1!==rn.indexOf(i.tagName)&&(o.flags|=8),r.elements.push(o),i.slot,i.shadowRoot?e(t,i.shadowRoot,o,n):bn(i)||gn(i)||Cn(i)||e(t,i,o,n))}}(e,t,A,A),A},on=function(e,t,A){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||yn(e)&&A.styles.isTransparent()},sn=function(e){return e.isPositioned()||e.isFloating()},ln=function(e){return e.nodeType===Node.TEXT_NODE},cn=function(e){return e.nodeType===Node.ELEMENT_NODE},un=function(e){return cn(e)&&"undefined"!==typeof e.style&&!fn(e)},fn=function(e){return"object"===i(e.className)},dn=function(e){return"LI"===e.tagName},hn=function(e){return"OL"===e.tagName},pn=function(e){return"INPUT"===e.tagName},gn=function(e){return"svg"===e.tagName},yn=function(e){return"BODY"===e.tagName},vn=function(e){return"CANVAS"===e.tagName},Bn=function(e){return"VIDEO"===e.tagName},xn=function(e){return"IMG"===e.tagName},wn=function(e){return"IFRAME"===e.tagName},mn=function(e){return"STYLE"===e.tagName},bn=function(e){return"TEXTAREA"===e.tagName},Cn=function(e){return"SELECT"===e.tagName},Fn=function(e){return"SLOT"===e.tagName},Qn=function(e){return e.tagName.indexOf("-")>0},Un=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,A=e.counterIncrement,r=e.counterReset,n=!0;null!==A&&A.forEach((function(e){var A=t.counters[e.counter];A&&0!==e.increment&&(n=!1,A.length||A.push(1),A[Math.max(0,A.length-1)]+=e.increment)}));var i=[];return n&&r.forEach((function(e){var A=t.counters[e.counter];i.push(e.counter),A||(A=t.counters[e.counter]=[]),A.push(e.reset)})),i},e}(),Sn={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},En={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Tn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},In={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Pn=function(e,t,A,r,n,i){return eA?On(e,n,i.length>0):r.integers.reduce((function(t,A,n){while(e>=A)e-=A,t+=r.values[n];return t}),"")+i},_n=function(e,t,A,r){var n="";do{A||e--,n=r(e)+n,e/=t}while(e*t>=t);return n},kn=function(e,t,A,r,n){var i=A-t+1;return(e<0?"-":"")+(_n(Math.abs(e),i,r,(function(e){return c(Math.floor(e%i)+t)}))+n)},Ln=function(e,t,A){void 0===A&&(A=". ");var r=t.length;return _n(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+A},Dn=function(e,t,A,r,n,i){if(e<-9999||e>9999)return On(e,4,n.length>0);var a=Math.abs(e),o=n;if(0===a)return t[0]+o;for(var s=0;a>0&&s<=4;s++){var l=a%10;0===l&&XA(i,1)&&""!==o?o=t[l]+o:l>1||1===l&&0===s||1===l&&1===s&&XA(i,2)||1===l&&1===s&&XA(i,4)&&e>100||1===l&&s>1&&XA(i,8)?o=t[l]+(s>0?A[s-1]:"")+o:1===l&&s>0&&(o=A[s-1]+o),a=Math.floor(a/10)}return(e<0?r:"")+o},On=function(e,t,A){var r=A?". ":"",n=A?"、":"",i=A?", ":"",a=A?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var o=kn(e,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Ln(e,"〇一二三四五六七八九",n);case 6:return Pn(e,1,3999,Sn,3,r).toLowerCase();case 7:return Pn(e,1,3999,Sn,3,r);case 8:return kn(e,945,969,!1,r);case 9:return kn(e,97,122,!1,r);case 10:return kn(e,65,90,!1,r);case 11:return kn(e,1632,1641,!0,r);case 12:case 49:return Pn(e,1,9999,En,3,r);case 35:return Pn(e,1,9999,En,3,r).toLowerCase();case 13:return kn(e,2534,2543,!0,r);case 14:case 30:return kn(e,6112,6121,!0,r);case 15:return Ln(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ln(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Dn(e,"零一二三四五六七八九","十百千萬","負",n,14);case 47:return Dn(e,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",n,15);case 42:return Dn(e,"零一二三四五六七八九","十百千萬","负",n,14);case 41:return Dn(e,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",n,15);case 26:return Dn(e,"〇一二三四五六七八九","十百千万","マイナス",n,0);case 25:return Dn(e,"零壱弐参四伍六七八九","拾百千万","マイナス",n,7);case 31:return Dn(e,"영일이삼사오육칠팔구","십백천만","마이너스",i,7);case 33:return Dn(e,"零一二三四五六七八九","十百千萬","마이너스",i,0);case 32:return Dn(e,"零壹貳參四五六七八九","拾百千","마이너스",i,7);case 18:return kn(e,2406,2415,!0,r);case 20:return Pn(e,1,19999,In,3,r);case 21:return kn(e,2790,2799,!0,r);case 22:return kn(e,2662,2671,!0,r);case 22:return Pn(e,1,10999,Tn,3,r);case 23:return Ln(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ln(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return kn(e,3302,3311,!0,r);case 28:return Ln(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ln(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return kn(e,3792,3801,!0,r);case 37:return kn(e,6160,6169,!0,r);case 38:return kn(e,4160,4169,!0,r);case 39:return kn(e,2918,2927,!0,r);case 40:return kn(e,1776,1785,!0,r);case 43:return kn(e,3046,3055,!0,r);case 44:return kn(e,3174,3183,!0,r);case 45:return kn(e,3664,3673,!0,r);case 46:return kn(e,3872,3881,!0,r);case 3:default:return kn(e,48,57,!0,r)}},Mn=function(){function e(e,t,A){if(this.context=e,this.options=A,this.scrolledElements=[],this.referenceElement=t,this.counters=new Un,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var A=this,i=Kn(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,s=i.contentWindow,l=s.document,c=Nn(i).then((function(){return r(A,void 0,void 0,(function(){var e,A;return n(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(qn),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,A=this.clonedReferenceElement,"undefined"===typeof A?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,jn(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(l,A)})).then((function(){return i}))]:[2,i]}}))}))}));return l.open(),l.write(Wn(document.doctype)+""),zn(this.referenceElement.ownerDocument,a,o),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(e){if(cr(e,2),vn(e))return this.createCanvasClone(e);if(Bn(e))return this.createVideoClone(e);if(mn(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return xn(t)&&(xn(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Qn(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Vn(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var A=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=A,r}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),"SecurityError"!==n.name)throw n}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var A=e.ownerDocument.createElement("img");try{return A.src=e.toDataURL(),A}catch(s){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var n=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&n)i.putImageData(n.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var o=a.getContextAttributes();!1===(null===o||void 0===o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(s){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var A=t.getContext("2d");try{return A&&(A.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||A.getImageData(0,0,t.width,t.height)),t}catch(n){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,A){cn(t)&&(function(e){return"SCRIPT"===e.tagName}(t)||t.hasAttribute("data-html2canvas-ignore")||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&cn(t)&&mn(t)||e.appendChild(this.cloneNode(t,A))},e.prototype.cloneChildNodes=function(e,t,A){for(var r=this,n=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;n;n=n.nextSibling)if(cn(n)&&Fn(n)&&"function"===typeof n.assignedNodes){var i=n.assignedNodes();i.length&&i.forEach((function(e){return r.appendChildNode(t,e,A)}))}else this.appendChildNode(t,n,A)},e.prototype.cloneNode=function(e,t){if(ln(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var A=e.ownerDocument.defaultView;if(A&&cn(e)&&(un(e)||fn(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var n=A.getComputedStyle(e),i=A.getComputedStyle(e,":before"),a=A.getComputedStyle(e,":after");this.referenceElement===e&&un(r)&&(this.clonedReferenceElement=r),yn(r)&&Yn(r);var o=this.counters.parse(new sr(this.context,n)),s=this.resolvePseudoContent(e,r,i,xr.BEFORE);Qn(e)&&(t=!0),Bn(e)||this.cloneChildNodes(e,r,t),s&&r.insertBefore(s,r.firstChild);var l=this.resolvePseudoContent(e,r,a,xr.AFTER);return l&&r.appendChild(l),this.counters.pop(o),(n&&(this.options.copyStyles||fn(e))&&!wn(e)||t)&&Vn(n,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(bn(e)||Cn(e))&&(bn(r)||Cn(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,A,r){var n=this;if(A){var i=A.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==A.display){this.counters.parse(new sr(this.context,A));var o=new or(this.context,A),s=a.createElement("html2canvaspseudoelement");Vn(A,s),o.content.forEach((function(t){if(0===t.type)s.appendChild(a.createTextNode(t.value));else if(22===t.type){var A=a.createElement("img");A.src=t.value,A.style.opacity="1",s.appendChild(A)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Re);r.length&&s.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ve),l=i[0],c=i[1];if(l&&Re(l)){var u=n.counters.getCounterValue(l.value),f=c&&Re(c)?pA.parse(n.context,c.value):3;s.appendChild(a.createTextNode(On(u,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(Ve),h=(l=d[0],d[1]);c=d[2];if(l&&Re(l)){var p=n.counters.getCounterValues(l.value),g=c&&Re(c)?pA.parse(n.context,c.value):3,y=h&&0===h.type?h.value:"",v=p.map((function(e){return On(e,g,!1)})).join(y);s.appendChild(a.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":s.appendChild(a.createTextNode(tr(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":s.appendChild(a.createTextNode(tr(o.quotes,--n.quoteDepth,!1)));break;default:s.appendChild(a.createTextNode(t.value))}})),s.className=Xn+" "+Jn;var l=r===xr.BEFORE?" "+Xn:" "+Jn;return fn(t)?t.className.baseValue+=l:t.className+=l,s}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(function(e){e[e["BEFORE"]=0]="BEFORE",e[e["AFTER"]=1]="AFTER"})(xr||(xr={}));var Hn,Kn=function(e,t){var A=e.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=t.width.toString(),A.height=t.height.toString(),A.scrolling="no",A.setAttribute("data-html2canvas-ignore","true"),e.body.appendChild(A),A},Rn=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},jn=function(e){return Promise.all([].slice.call(e.images,0).map(Rn))},Nn=function(e){return new Promise((function(t,A){var r=e.contentWindow;if(!r)return A("No window assigned for iframe");var n=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var A=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(A),t(e))}),50)}}))},Gn=["all","d","content"],Vn=function(e,t){for(var A=e.length-1;A>=0;A--){var r=e.item(A);-1===Gn.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},Wn=function(e){var t="";return e&&(t+=""),t},zn=function(e,t,A){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||A!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,A)},qn=function(e){var t=e[0],A=e[1],r=e[2];t.scrollLeft=A,t.scrollTop=r},Xn="___html2canvas___pseudoelement_before",Jn="___html2canvas___pseudoelement_after",Yn=function(e){$n(e,"."+Xn+':before{\n content: "" !important;\n display: none !important;\n}\n .'+Jn+':after{\n content: "" !important;\n display: none !important;\n}')},$n=function(e,t){var A=e.ownerDocument;if(A){var r=A.createElement("style");r.textContent=t,e.appendChild(r)}},Zn=function(){function e(){}return e.getOrigin=function(t){var A=e._link;return A?(A.href=t,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),ei=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:oi(e)||ni(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,A,r,i,a=this;return n(this,(function(n){switch(n.label){case 0:return t=Zn.isSameOrigin(e),A=!ii(e)&&!0===this._options.useCORS&&_r.SUPPORT_CORS_IMAGES&&!t,r=!ii(e)&&!t&&!oi(e)&&"string"===typeof this._options.proxy&&_r.SUPPORT_CORS_XHR&&!A,t||!1!==this._options.allowTaint||ii(e)||oi(e)||r||A?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(ai(i)||A)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return e(r)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(n,i){var a=_r.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===a)n(o.response);else{var e=new FileReader;e.addEventListener("load",(function(){return n(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(o.response)}else i("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=i;var s=A.indexOf("?")>-1?"&":"?";if(o.open("GET",""+A+s+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&o instanceof XMLHttpRequest&&(o.responseType=a),t._options.imageTimeout){var l=t._options.imageTimeout;o.timeout=l,o.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+r)}}o.send()}))},e}(),ti=/^data:image\/svg\+xml/i,Ai=/^data:image\/.*;base64,/i,ri=/^data:image\/.*/i,ni=function(e){return _r.SUPPORT_SVG_DRAWING||!si(e)},ii=function(e){return ri.test(e)},ai=function(e){return Ai.test(e)},oi=function(e){return"blob"===e.substr(0,4)},si=function(e){return"svg"===e.substr(-3).toLowerCase()||ti.test(e)},li=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,A){return new e(this.x+t,this.y+A)},e}(),ci=function(e,t,A){return new li(e.x+(t.x-e.x)*A,e.y+(t.y-e.y)*A)},ui=function(){function e(e,t,A,r){this.type=1,this.start=e,this.startControl=t,this.endControl=A,this.end=r}return e.prototype.subdivide=function(t,A){var r=ci(this.start,this.startControl,t),n=ci(this.startControl,this.endControl,t),i=ci(this.endControl,this.end,t),a=ci(r,n,t),o=ci(n,i,t),s=ci(a,o,t);return A?new e(this.start,r,a,s):new e(s,o,i,this.end)},e.prototype.add=function(t,A){return new e(this.start.add(t,A),this.startControl.add(t,A),this.endControl.add(t,A),this.end.add(t,A))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),fi=function(e){return 1===e.type},di=function(){return function(e){var t=e.styles,A=e.bounds,r=et(t.borderTopLeftRadius,A.width,A.height),n=r[0],i=r[1],a=et(t.borderTopRightRadius,A.width,A.height),o=a[0],s=a[1],l=et(t.borderBottomRightRadius,A.width,A.height),c=l[0],u=l[1],f=et(t.borderBottomLeftRadius,A.width,A.height),d=f[0],h=f[1],p=[];p.push((n+o)/A.width),p.push((d+c)/A.width),p.push((i+h)/A.height),p.push((s+u)/A.height);var g=Math.max.apply(Math,p);g>1&&(n/=g,i/=g,o/=g,s/=g,c/=g,u/=g,d/=g,h/=g);var y=A.width-o,v=A.height-u,B=A.width-c,x=A.height-h,w=t.borderTopWidth,m=t.borderRightWidth,b=t.borderBottomWidth,C=t.borderLeftWidth,F=tt(t.paddingTop,e.bounds.width),Q=tt(t.paddingRight,e.bounds.width),U=tt(t.paddingBottom,e.bounds.width),S=tt(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||i>0?hi(A.left+C/3,A.top+w/3,n-C/3,i-w/3,Hn.TOP_LEFT):new li(A.left+C/3,A.top+w/3),this.topRightBorderDoubleOuterBox=n>0||i>0?hi(A.left+y,A.top+w/3,o-m/3,s-w/3,Hn.TOP_RIGHT):new li(A.left+A.width-m/3,A.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?hi(A.left+B,A.top+v,c-m/3,u-b/3,Hn.BOTTOM_RIGHT):new li(A.left+A.width-m/3,A.top+A.height-b/3),this.bottomLeftBorderDoubleOuterBox=d>0||h>0?hi(A.left+C/3,A.top+x,d-C/3,h-b/3,Hn.BOTTOM_LEFT):new li(A.left+C/3,A.top+A.height-b/3),this.topLeftBorderDoubleInnerBox=n>0||i>0?hi(A.left+2*C/3,A.top+2*w/3,n-2*C/3,i-2*w/3,Hn.TOP_LEFT):new li(A.left+2*C/3,A.top+2*w/3),this.topRightBorderDoubleInnerBox=n>0||i>0?hi(A.left+y,A.top+2*w/3,o-2*m/3,s-2*w/3,Hn.TOP_RIGHT):new li(A.left+A.width-2*m/3,A.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?hi(A.left+B,A.top+v,c-2*m/3,u-2*b/3,Hn.BOTTOM_RIGHT):new li(A.left+A.width-2*m/3,A.top+A.height-2*b/3),this.bottomLeftBorderDoubleInnerBox=d>0||h>0?hi(A.left+2*C/3,A.top+x,d-2*C/3,h-2*b/3,Hn.BOTTOM_LEFT):new li(A.left+2*C/3,A.top+A.height-2*b/3),this.topLeftBorderStroke=n>0||i>0?hi(A.left+C/2,A.top+w/2,n-C/2,i-w/2,Hn.TOP_LEFT):new li(A.left+C/2,A.top+w/2),this.topRightBorderStroke=n>0||i>0?hi(A.left+y,A.top+w/2,o-m/2,s-w/2,Hn.TOP_RIGHT):new li(A.left+A.width-m/2,A.top+w/2),this.bottomRightBorderStroke=c>0||u>0?hi(A.left+B,A.top+v,c-m/2,u-b/2,Hn.BOTTOM_RIGHT):new li(A.left+A.width-m/2,A.top+A.height-b/2),this.bottomLeftBorderStroke=d>0||h>0?hi(A.left+C/2,A.top+x,d-C/2,h-b/2,Hn.BOTTOM_LEFT):new li(A.left+C/2,A.top+A.height-b/2),this.topLeftBorderBox=n>0||i>0?hi(A.left,A.top,n,i,Hn.TOP_LEFT):new li(A.left,A.top),this.topRightBorderBox=o>0||s>0?hi(A.left+y,A.top,o,s,Hn.TOP_RIGHT):new li(A.left+A.width,A.top),this.bottomRightBorderBox=c>0||u>0?hi(A.left+B,A.top+v,c,u,Hn.BOTTOM_RIGHT):new li(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=d>0||h>0?hi(A.left,A.top+x,d,h,Hn.BOTTOM_LEFT):new li(A.left,A.top+A.height),this.topLeftPaddingBox=n>0||i>0?hi(A.left+C,A.top+w,Math.max(0,n-C),Math.max(0,i-w),Hn.TOP_LEFT):new li(A.left+C,A.top+w),this.topRightPaddingBox=o>0||s>0?hi(A.left+Math.min(y,A.width-m),A.top+w,y>A.width+m?0:Math.max(0,o-m),Math.max(0,s-w),Hn.TOP_RIGHT):new li(A.left+A.width-m,A.top+w),this.bottomRightPaddingBox=c>0||u>0?hi(A.left+Math.min(B,A.width-C),A.top+Math.min(v,A.height-b),Math.max(0,c-m),Math.max(0,u-b),Hn.BOTTOM_RIGHT):new li(A.left+A.width-m,A.top+A.height-b),this.bottomLeftPaddingBox=d>0||h>0?hi(A.left+C,A.top+Math.min(x,A.height-b),Math.max(0,d-C),Math.max(0,h-b),Hn.BOTTOM_LEFT):new li(A.left+C,A.top+A.height-b),this.topLeftContentBox=n>0||i>0?hi(A.left+C+S,A.top+w+F,Math.max(0,n-(C+S)),Math.max(0,i-(w+F)),Hn.TOP_LEFT):new li(A.left+C+S,A.top+w+F),this.topRightContentBox=o>0||s>0?hi(A.left+Math.min(y,A.width+C+S),A.top+w+F,y>A.width+C+S?0:o-C+S,s-(w+F),Hn.TOP_RIGHT):new li(A.left+A.width-(m+Q),A.top+w+F),this.bottomRightContentBox=c>0||u>0?hi(A.left+Math.min(B,A.width-(C+S)),A.top+Math.min(v,A.height+w+F),Math.max(0,c-(m+Q)),u-(b+U),Hn.BOTTOM_RIGHT):new li(A.left+A.width-(m+Q),A.top+A.height-(b+U)),this.bottomLeftContentBox=d>0||h>0?hi(A.left+C+S,A.top+x,Math.max(0,d-(C+S)),h-(b+U),Hn.BOTTOM_LEFT):new li(A.left+C+S,A.top+A.height-(b+U))}}();(function(e){e[e["TOP_LEFT"]=0]="TOP_LEFT",e[e["TOP_RIGHT"]=1]="TOP_RIGHT",e[e["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",e[e["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Hn||(Hn={}));var hi=function(e,t,A,r,n){var i=(Math.sqrt(2)-1)/3*4,a=A*i,o=r*i,s=e+A,l=t+r;switch(n){case Hn.TOP_LEFT:return new ui(new li(e,l),new li(e,l-o),new li(s-a,t),new li(s,t));case Hn.TOP_RIGHT:return new ui(new li(e,t),new li(e+a,t),new li(s,l-o),new li(s,l));case Hn.BOTTOM_RIGHT:return new ui(new li(s,t),new li(s,t+o),new li(e+a,l),new li(e,l));case Hn.BOTTOM_LEFT:default:return new ui(new li(s,l),new li(s-a,l),new li(e,t+o),new li(e,t))}},pi=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},gi=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},yi=function(){return function(e,t,A){this.offsetX=e,this.offsetY=t,this.matrix=A,this.type=0,this.target=6}}(),vi=function(){return function(e,t){this.path=e,this.target=t,this.type=1}}(),Bi=function(){return function(e){this.opacity=e,this.type=2,this.target=6}}(),xi=function(e){return 1===e.type},wi=function(e,t){return e.length===t.length&&e.some((function(e,A){return e===t[A]}))},mi=function(){return function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),bi=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new di(this.container),this.container.styles.opacity<1&&this.effects.push(new Bi(this.container.styles.opacity)),null!==this.container.styles.transform){var A=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new yi(A,r,n))}if(0!==this.container.styles.overflowX){var i=pi(this.curves),a=gi(this.curves);wi(i,a)?this.effects.push(new vi(i,6)):(this.effects.push(new vi(i,2)),this.effects.push(new vi(a,4)))}}return e.prototype.getEffects=function(e){var t=-1===[2,3].indexOf(this.container.styles.position),A=this.parent,r=this.effects.slice(0);while(A){var n=A.effects.filter((function(e){return!xi(e)}));if(t||0!==A.container.styles.position||!A.parent){if(r.unshift.apply(r,n),t=-1===[2,3].indexOf(A.container.styles.position),0!==A.container.styles.overflowX){var i=pi(A.curves),a=gi(A.curves);wi(i,a)||r.unshift(new vi(a,6))}}else r.unshift.apply(r,n);A=A.parent}return r.filter((function(t){return XA(t.target,e)}))},e}(),Ci=function(e,t){for(var A=e instanceof Xr?e.start:1,r=e instanceof Xr&&e.reversed,n=0;ne.element.container.styles.zIndex.order?(d=t,!1):d>0})),c.negativeZIndex.splice(d,0,u)}else if(f>0){var h=0;c.positiveZIndex.some((function(e,t){return f>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),c.positiveZIndex.splice(h,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);e(s,u,a?u:r,l)}else i.styles.isInlineLevel()?A.inlineLevel.push(s):A.nonInlineLevel.push(s),e(s,A,r,l);XA(i.flags,8)&&Ci(i,l)}))}(t,A,A,r),Ci(t.container,r),A},Qi=function(e,t){switch(t){case 0:return Si(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Si(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Si(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Si(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Ui=function(e,t){var A=[];return fi(e)?A.push(e.subdivide(.5,!1)):A.push(e),fi(t)?A.push(t.subdivide(.5,!0)):A.push(t),A},Si=function(e,t,A,r){var n=[];return fi(e)?n.push(e.subdivide(.5,!1)):n.push(e),fi(A)?n.push(A.subdivide(.5,!0)):n.push(A),fi(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),fi(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n},Ei=function(e){var t=e.bounds,A=e.styles;return t.add(A.borderLeftWidth,A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth),-(A.borderTopWidth+A.borderBottomWidth))},Ti=function(e){var t=e.styles,A=e.bounds,r=tt(t.paddingLeft,A.width),n=tt(t.paddingRight,A.width),i=tt(t.paddingTop,A.width),a=tt(t.paddingBottom,A.width);return A.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+n),-(t.borderTopWidth+t.borderBottomWidth+i+a))},Ii=function(e,t,A){var r=function(e,t){return 0===e?t.bounds:2===e?Ti(t):Ei(t)}(Li(e.styles.backgroundOrigin,t),e),n=function(e,t){return 0===e?t.bounds:2===e?Ti(t):Ei(t)}(Li(e.styles.backgroundClip,t),e),i=ki(Li(e.styles.backgroundSize,t),A,r),a=i[0],o=i[1],s=et(Li(e.styles.backgroundPosition,t),r.width-a,r.height-o),l=Di(Li(e.styles.backgroundRepeat,t),s,i,r,n),c=Math.round(r.left+s[0]),u=Math.round(r.top+s[1]);return[l,c,u,a,o]},Pi=function(e){return Re(e)&&e.value===Ut.AUTO},_i=function(e){return"number"===typeof e},ki=function(e,t,A){var r=t[0],n=t[1],i=t[2],a=e[0],o=e[1];if(!a)return[0,0];if(Xe(a)&&o&&Xe(o))return[tt(a,A.width),tt(o,A.height)];var s=_i(i);if(Re(a)&&(a.value===Ut.CONTAIN||a.value===Ut.COVER)){if(_i(i)){var l=A.width/A.height;return l0&&e.intrinsicHeight>0){var r=Ti(e),n=gi(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(A,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,a,s,l,c,u,f,d,h,p,g,y,v,B,x,w,m;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,a=0,s=t.textNodes,n.label=1;case 1:return a0&&T>0&&(I=r.ctx.createRadialGradient(w+Q,m+U,0,w+Q,m+U,E),xt(A.stops,2*E).forEach((function(e){return I.addColorStop(e.stop,st(e.color))})),r.path(x),r.ctx.fillStyle=I,E!==T?(P=e.bounds.left+.5*e.bounds.width,_=e.bounds.top+.5*e.bounds.height,k=T/E,L=1/k,r.ctx.save(),r.ctx.translate(P,_),r.ctx.transform(1,0,0,k,0,0),r.ctx.translate(-P,-_),r.ctx.fillRect(w,L*(m-_)+_,b,C*L),r.ctx.restore()):r.ctx.fill())):(s=Ii(e,t,[null,null,null]),x=s[0],Q=s[1],U=s[2],b=s[3],C=s[4],l=wt(A.angle,b,C),c=l[0],u=l[1],f=l[2],d=l[3],h=l[4],p=document.createElement("canvas"),p.width=b,p.height=C,g=p.getContext("2d"),y=g.createLinearGradient(u,d,f,h),xt(A.stops,c).forEach((function(e){return y.addColorStop(e.stop,st(e.color))})),g.fillStyle=y,g.fillRect(0,0,b,C),b>0&&C>0&&(v=r.ctx.createPattern(p,"repeat"),r.renderRepeat(x,v,Q,U))),n.label=6;case 6:return t--,[2]}}))},r=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return i0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,a,e.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,a,e.curves)];case 10:n.sent(),n.label=11;case 11:a++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},A.prototype.renderDashedDottedBorder=function(e,t,A,i,a){return r(this,void 0,void 0,(function(){var r,o,s,l,c,u,f,d,h,p,g,y,v,B,x,w;return n(this,(function(n){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Ui(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ui(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ui(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Ui(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(i,A),o=Qi(i,A),2===a&&(this.path(o),this.ctx.clip()),fi(o[0])?(s=o[0].start.x,l=o[0].start.y):(s=o[0].x,l=o[0].y),fi(o[1])?(c=o[1].end.x,u=o[1].end.y):(c=o[1].x,u=o[1].y),f=0===A||2===A?Math.abs(s-c):Math.abs(l-u),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(o.slice(0,2)),d=t<3?3*t:2*t,h=t<3?2*t:t,3===a&&(d=t,h=t),p=!0,f<=2*d?p=!1:f<=2*d+h?(g=f/(2*d+h),d*=g,h*=g):(y=Math.floor((f+h)/(d+h)),v=(f-y*d)/(y-1),B=(f-(y+1)*d)/y,h=B<=0||Math.abs(h-v)=0;r--){var n=e[r];"."===n?e.splice(r,1):".."===n?(e.splice(r,1),A++):A&&(e.splice(r,1),A--)}if(t)for(;A--;A)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var A=[],r=0;r=-1&&!n;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=A(r(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===n(e,-1);return e=A(r(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,A){function r(e){for(var t=0;t=0;A--)if(""!==e[A])break;return t>A?[]:e.slice(t,A-t+1)}e=t.resolve(e).substr(1),A=t.resolve(A).substr(1);for(var n=r(e.split("/")),i=r(A.split("/")),a=Math.min(n.length,i.length),o=a,s=0;s=1;--i)if(t=e.charCodeAt(i),47===t){if(!n){r=i;break}}else n=!1;return-1===r?A?"/":".":A&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var A=function(e){"string"!==typeof e&&(e+="");var t,A=0,r=-1,n=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!n){A=t+1;break}}else-1===r&&(n=!1,r=t+1);return-1===r?"":e.slice(A,r)}(e);return t&&A.substr(-1*t.length)===t&&(A=A.substr(0,A.length-t.length)),A},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,A=0,r=-1,n=!0,i=0,a=e.length-1;a>=0;--a){var o=e.charCodeAt(a);if(47!==o)-1===r&&(n=!1,r=a+1),46===o?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!n){A=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===A+1?"":e.slice(t,r)};var n="b"==="ab".substr(-1)?function(e,t,A){return e.substr(t,A)}:function(e,t,A){return t<0&&(t=e.length+t),e.substr(t,A)}}).call(this,A("28d0"))},a708:function(e,t,A){var r=A("6454");e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a7ee:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}}},a865:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"};t.default=r},a93d:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{name:{type:String,default:e.$u.props.icon.name},color:{type:String,default:e.$u.props.icon.color},size:{type:[String,Number],default:e.$u.props.icon.size},bold:{type:Boolean,default:e.$u.props.icon.bold},index:{type:[String,Number],default:e.$u.props.icon.index},hoverClass:{type:String,default:e.$u.props.icon.hoverClass},customPrefix:{type:String,default:e.$u.props.icon.customPrefix},label:{type:[String,Number],default:e.$u.props.icon.label},labelPos:{type:String,default:e.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:e.$u.props.icon.labelSize},labelColor:{type:String,default:e.$u.props.icon.labelColor},space:{type:[String,Number],default:e.$u.props.icon.space},imgMode:{type:String,default:e.$u.props.icon.imgMode},width:{type:[String,Number],default:e.$u.props.icon.width},height:{type:[String,Number],default:e.$u.props.icon.height},top:{type:[String,Number],default:e.$u.props.icon.top},stop:{type:Boolean,default:e.$u.props.icon.stop}}};t.default=A}).call(this,A("df3c")["default"])},abe2:function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("3240")),i=function(){var t=e.getStorageSync("UserToken_KEY");return t||""},a=function(t){e.setStorageSync("ORDER_COUNT_KEY",t)},o=function(t){e.setStorageSync("SYSTEM_INFO_KEY",t)},s={getToken:i,addToken:function(t){e.setStorageSync("UserToken_KEY",t)},saveUser:function(t){e.setStorageSync("USERS_KEY",t)},getUser:function(){var t=e.getStorageSync("USERS_KEY")||{};return t&&t.id,t},getOrderCount:function(){var t=e.getStorageSync("ORDER_COUNT_KEY");return t||""},addOrderCount:a,updateOrderCount:function(e){e?a(e):i()},getSystemInfo:function(){return new Promise((function(t,A){var r=e.getStorageSync("SYSTEM_INFO_KEY");r&&r.statusBarHeight?t(r):e.getSystemInfo({success:function(e){t(e),o(e)},fail:function(){A()}})}))},setSystemInfo:o,getPayDomain:function(){return new Promise((function(e,t){n.default.prototype.API.PayDomain().then((function(t){t.code>0&&t.data?e(t.data):e("http://manage.casichtzh.com/")}))}))}};t.default=s}).call(this,A("df3c")["default"])},abe7:function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe2")),i=r(A("7288")),a=function(t,A,r,a){var o={};return e.getStorageSync("token")&&(o["Authorization"]=e.getStorageSync("token")),t.startsWith("http")||(t=i.default.getApiBaseUrl()+t),a&&(o=Object.assign({},o,a)),new Promise((function(i,a){e.request({url:t,data:r,method:A,header:o,timeout:5e4,success:function(t){200===t.statusCode?(600!=t.data.code&&"登录过期,请重新登录"!=t.data.msg||(e.clearStorage(),e.reLaunch({url:"/pages/login/login"})),t.data.code<0&&t.data.message?(e.showToast({icon:"none",title:t.data.data.message,duration:2e3}),a()):(t.data.code,i(t.data))):403===t.statusCode||401===t.statusCode?(n.default.addToken(""),a()):a()},fail:function(t){e.hideLoading(),a(),console.log(t)}})}))},o={get:function(e,t){return a(e,"GET",t)},post:function(e,t){return a(e,"POST",t)},del:function(e,t){return a(e,"DELETE",t)},request:a,postFormData:function(e,t){return a(e,"POST",t,{"Content-Type":"application/x-www-form-urlencoded"})},put:function(e,t){return a(e,"put",t)},postPatchJson:function(e,t){return a(e,"POST",t,{"Content-Type":"application/json-patch+json"})},getp:function(e,t){return a(e,"GET")}};t.default=o}).call(this,A("df3c")["default"])},af34:function(e,t,A){var r=A("a708"),n=A("b893"),i=A("6382"),a=A("9008");e.exports=function(e){return r(e)||n(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},afbc:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7eb4")),i=r(A("ee10")),a=(r(A("f6b9")),function(e){return{enter:"u-".concat(e,"-enter u-").concat(e,"-enter-active"),"enter-to":"u-".concat(e,"-enter-to u-").concat(e,"-enter-active"),leave:"u-".concat(e,"-leave u-").concat(e,"-leave-active"),"leave-to":"u-".concat(e,"-leave-to u-").concat(e,"-leave-active")}}),o={methods:{clickHandler:function(){this.$emit("click")},vueEnter:function(){var e=this,t=a(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick((0,i.default)(n.default.mark((function A(){return n.default.wrap((function(A){while(1)switch(A.prev=A.next){case 0:e.$emit("enter"),e.transitionEnded=!1,e.$emit("afterEnter"),e.classes=t["enter-to"];case 4:case"end":return A.stop()}}),A)}))))},vueLeave:function(){var e=this;if(this.display){var t=a(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((function(){e.transitionEnded=!1,e.$emit("leave"),setTimeout(e.onTransitionEnd,e.duration),e.classes=t["leave-to"]}))}},onTransitionEnd:function(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};t.default=o},b0e4:function(e,t){var A={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==A.call(e)}},b1d3:function(e,t,A){"use strict";function r(){this.handlers=[]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){this.handlers.forEach((function(t){null!==t&&e(t)}))};var n=r;t.default=n},b4d2:function(e,t){function A(t){return e.exports=A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,A(t)}e.exports=A,e.exports.__esModule=!0,e.exports["default"]=e.exports},b60b:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},b655:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}}},b6b5:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}}},b7be:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}}},b893:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},b8a7:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}}},b939:function(e,t,A){"use strict";function r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&A.test(e)){if(4===e.length){for(var r="#",n=1;n<4;n+=1)r+=e.slice(n,n+1).concat(e.slice(n,n+1));e=r}for(var i=[],a=1;a<7;a+=2)i.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(i[0],",").concat(i[1],",").concat(i[2],")"):i}if(/^(rgb|RGB)/.test(e)){var o=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return o.map((function(e){return Number(e)}))}return e}function n(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var A=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),r="#",n=0;n0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=r(e,!1),a=i[0],o=i[1],s=i[2],l=r(t,!1),c=l[0],u=l[1],f=l[2],d=(c-a)/A,h=(u-o)/A,p=(f-s)/A,g=[],y=0;y */ t.read=function(e,t,A,r,n){var i,a,o=8*n-r-1,s=(1<>1,c=-7,u=A?n-1:0,f=A?-1:1,d=e[t+u];for(u+=f,i=d&(1<<-c)-1,d>>=-c,c+=o;c>0;i=256*i+e[t+u],u+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+u],u+=f,c-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=l}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,A,r,n,i){var a,o,s,l=8*i-n-1,c=(1<>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),t+=a+u>=1?f/s:f*Math.pow(2,1-u),t*s>=2&&(a++,s/=2),a+u>=c?(o=0,a=c):a+u>=1?(o=(t*s-1)*Math.pow(2,n),a+=u):(o=t*Math.pow(2,u-1)*Math.pow(2,n),a=0));n>=8;e[A+d]=255&o,d+=h,o/=256,n-=8);for(a=a<0;e[A+d]=255&a,d+=h,a/=256,l-=8);e[A+d-h]|=128*p}},bab5:function(e,t,A){"use strict";(function(e){var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("34cf")),i=r(A("3b2d")),a=r(A("4a8d")),o=A("f352");function s(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!==(0,i.default)(e)&&"function"!==typeof e)return e;var t=a.default.array(e)?[]:{};for(var A in e)e.hasOwnProperty(A)&&(t[A]="object"===(0,i.default)(e[A])?s(e[A]):e[A]);return t}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):"string"===typeof t&&t.includes("-")&&!t.includes("T")?new Date(t.replace(/-/g,"/")):new Date(t):new Date;var r={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var i in r){var a=new RegExp("".concat(i,"+")).exec(A)||[],o=(0,n.default)(a,1),s=o[0];if(s){var l="y"===i&&2===s.length?2:0;A=A.replace(s,r[i].slice(l))}}return A}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var A=this;if(A.length>=e)return String(A);var r=e-A.length,n=Math.ceil(r/t.length);while(n>>=1)t+=t,1===n&&(t+=t);return t.slice(0,r)+A});var u={range:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(A)))},getPx:function(t){var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(t)?A?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?A?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):A?"".concat(parseInt(t),"px"):parseInt(t)},sleep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))},os:function(){return e.getSystemInfoSync().platform.toLowerCase()},sys:function(){return e.getSystemInfoSync()},random:function(e,t){if(e>=0&&t>0&&t>=e){var A=t-e+1;return Math.floor(Math.random()*A+e)}return 0},guid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(A=A||r.length,e)for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addStyle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(e)||"object"===(0,i.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=c(e);for(var A=e.split(";"),r={},n=0;n0&&void 0!==arguments[0]?arguments[0]:"auto",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(A=e)||void 0===A||null===(r=A.$u)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.unit)&&void 0!==t?t:"px";return i=String(i),a.default.number(i)?"".concat(i).concat(o):i},deepClone:s,deepMerge:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=s(t),"object"!==(0,i.default)(t)||"object"!==(0,i.default)(A))return!1;for(var r in A)A.hasOwnProperty(r)&&(r in t?"object"!==(0,i.default)(t[r])||"object"!==(0,i.default)(A[r])?t[r]=A[r]:t[r].concat&&A[r].concat?t[r]=t[r].concat(A[r]):t[r]=e(t[r],A[r]):t[r]=A[r]);return t},error:function(e){0},randomArray:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))},timeFormat:l,timeFrom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date)),e=parseInt(e),10==e.toString().length&&(e*=1e3);var A=(new Date).getTime()-e;A=parseInt(A/1e3);var r="";switch(!0){case A<300:r="刚刚";break;case A>=300&&A<3600:r="".concat(parseInt(A/60),"分钟前");break;case A>=3600&&A<86400:r="".concat(parseInt(A/3600),"小时前");break;case A>=86400&&A<2592e3:r="".concat(parseInt(A/86400),"天前");break;default:r=!1===t?A>=2592e3&&A<31536e3?"".concat(parseInt(A/2592e3),"个月前"):"".concat(parseInt(A/31536e3),"年前"):l(e,t)}return r},trim:c,queryParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",r=t?"?":"",n=[];-1==["indices","brackets","repeat","comma"].indexOf(A)&&(A="brackets");var i=function(t){var r=e[t];if(["",void 0,null].indexOf(r)>=0)return"continue";if(r.constructor===Array)switch(A){case"indices":for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:A})},type2icon:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var A="";switch(e){case"primary":A="info-circle";break;case"info":A="info-circle";break;case"error":A="close-circle";break;case"warning":A="error-circle";break;case"success":A="checkmark-circle";break;default:A="checkmark-circle"}return t&&(A+="-fill"),A},priceFormat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var n=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof r?",":r,s="undefined"===typeof A?".":A,l="";l=(i?(0,o.round)(n,i)+"":"".concat(Math.round(n))).split(".");var c=/(-?\d+)(\d{3})/;while(c.test(l[0]))l[0]=l[0].replace(c,"$1".concat(a,"$2"));return(l[1]||"").length1&&void 0!==arguments[1])||arguments[1],A=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?A:/s$/.test(e)?A>30?A:1e3*A:A},padZero:function(e){return"00".concat(e).slice(-2)},formValidate:function(t,A){var r=e.$u.$parent.call(t,"u-form-item"),n=e.$u.$parent.call(t,"u-form");r&&n&&n.validateField(r.prop,(function(){}),A)},getProperty:function(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var A=t.split("."),r=e[A[0]]||{},n=1;n1){var n=A[0];t[n]&&"object"===(0,i.default)(t[n])||(t[n]={});A.shift();e(t[n],A,r)}else t[A[0]]=r})(e,r,A)}else e[t]=A}},page:function(){var e,t,A=getCurrentPages();return"/".concat(null!==(e=null===(t=A[A.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")},pages:function(){var e=getCurrentPages();return e},setConfig:function(t){var A=t.props,r=void 0===A?{}:A,n=t.config,i=void 0===n?{}:n,a=t.color,o=void 0===a?{}:a,s=t.zIndex,l=void 0===s?{}:s,c=e.$u.deepMerge;e.$u.config=c(e.$u.config,i),e.$u.props=c(e.$u.props,r),e.$u.color=c(e.$u.color,o),e.$u.zIndex=c(e.$u.zIndex,l)}};t.default=u}).call(this,A("df3c")["default"])},bf4d:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("9475")),i=n.default.color,a={icon:{name:"",color:i["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:i["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=a},c2b0:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("3b2d")),i=r(A("67ad")),a=r(A("0bdb")),o=r(A("4d4c")),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=(t.date,t.selected),r=t.startDate,n=t.endDate,a=t.range;(0,i.default)(this,e),this.date=this.getDate(new Date),this.selected=A||[],this.startDate=r,this.endDate=n,this.range=a,this.cleanMultipleStatus(),this.weeks={}}return(0,a.default)(e,[{key:"setDate",value:function(e){this.selectDate=this.getDate(e),this._getWeek(this.selectDate.fullDate)}},{key:"cleanMultipleStatus",value:function(){this.multipleStatus={before:"",after:"",data:[]}}},{key:"resetSatrtDate",value:function(e){this.startDate=e}},{key:"resetEndDate",value:function(e){this.endDate=e}},{key:"getDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";e||(e=new Date),"object"!==(0,n.default)(e)&&(e=e.replace(/-/g,"/"));var r=new Date(e);switch(A){case"day":r.setDate(r.getDate()+t);break;case"month":if(31===r.getDate()&&t>0)r.setDate(r.getDate()+t);else{var i=r.getMonth();r.setMonth(i+t);var a=r.getMonth();t<0&&0!==i&&a-i>t&&r.setMonth(a+(a-i+t)),t>0&&a-i>t&&r.setMonth(a-(a-i-t))}break;case"year":r.setFullYear(r.getFullYear()+t);break}var o=r.getFullYear(),s=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,l=r.getDate()<10?"0"+r.getDate():r.getDate();return{fullDate:o+"-"+s+"-"+l,year:o,month:s,date:l,day:r.getDay()}}},{key:"_getLastMonthDays",value:function(e,t){for(var A=[],r=e;r>0;r--){var n=new Date(t.year,t.month-1,1-r).getDate();A.push({date:n,month:t.month-1,lunar:this.getlunar(t.year,t.month-1,n),disable:!0})}return A}},{key:"_currentMonthDys",value:function(e,t){for(var A=this,r=[],n=this.date.fullDate,i=function(e){var i=t.year+"-"+(t.month,t.month+"-")+(e<10?"0"+e:e),a=n===i,o=A.selected&&A.selected.find((function(e){if(A.dateEqual(i,e.date))return e})),s=!0,l=!0;A.startDate&&(s=A.dateCompare(A.startDate,i)),A.endDate&&(l=A.dateCompare(i,A.endDate));var c=A.multipleStatus.data,u=!1,f=-1;A.range&&(c&&(f=c.findIndex((function(e){return A.dateEqual(e,i)}))),-1!==f&&(u=!0));var d={fullDate:i,year:t.year,date:e,multiple:!!A.range&&u,beforeMultiple:A.dateEqual(A.multipleStatus.before,i),afterMultiple:A.dateEqual(A.multipleStatus.after,i),month:t.month,lunar:A.getlunar(t.year,t.month,e),disable:!(s&&l),isDay:a};o&&(d.extraInfo=o),r.push(d)},a=1;a<=e;a++)i(a);return r}},{key:"_getNextMonthDays",value:function(e,t){for(var A=[],r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqevent"),e)},getEvent:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqevent/")+e)},getTeamData:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqevent/team-data/").concat(e))},getStoreData:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqevent/store-data/").concat(e))},getPersonData:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqevent/person-data/").concat(e))},sendWeChatNotification:function(e){return n.default.post("https://wx.lvqianmeiye.com/api/Bot/send-text",e)},updateExpansionRemark:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqtkjlb/").concat(e.id),e)},getEmployeeStatistics:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqTkjlb/get-expansion-employee-statistics"),e)}};t.default=a},c405:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,A){var r=A.config.validateStatus,n=A.statusCode;!n||r&&!r(n)?t(A):e(A)}},c485:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{show:{type:Boolean,default:e.$u.props.transition.show},mode:{type:String,default:e.$u.props.transition.mode},duration:{type:[String,Number],default:e.$u.props.transition.duration},timingFunction:{type:String,default:e.$u.props.transition.timingFunction}}};t.default=A}).call(this,A("df3c")["default"])},c64d:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getUsageList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqInventoryUsage/GetList"),e)},batchCreateUsage:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqInventoryUsage/BatchCreate"),e)},cancelUsage:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqInventoryUsage/Cancel?id=").concat(e),null)}};t.default=a},c680:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{bgColor:{type:String,default:e.$u.props.statusBar.bgColor}}};t.default=A}).call(this,A("df3c")["default"])},c70d:function(e,t,A){var r=A("ed45"),n=A("b893"),i=A("6382"),a=A("dd3e");e.exports=function(e){return r(e)||n(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},c80e:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}}},c937:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gridItem:{name:null,bgColor:"transparent"}}},c987:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}}},ca2b:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{value:{type:[String,Number],default:e.$u.props.input.value},type:{type:String,default:e.$u.props.input.type},fixed:{type:Boolean,default:e.$u.props.input.fixed},disabled:{type:Boolean,default:e.$u.props.input.disabled},disabledColor:{type:String,default:e.$u.props.input.disabledColor},clearable:{type:Boolean,default:e.$u.props.input.clearable},password:{type:Boolean,default:e.$u.props.input.password},maxlength:{type:[String,Number],default:e.$u.props.input.maxlength},placeholder:{type:String,default:e.$u.props.input.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},showWordLimit:{type:Boolean,default:e.$u.props.input.showWordLimit},confirmType:{type:String,default:e.$u.props.input.confirmType},confirmHold:{type:Boolean,default:e.$u.props.input.confirmHold},holdKeyboard:{type:Boolean,default:e.$u.props.input.holdKeyboard},focus:{type:Boolean,default:e.$u.props.input.focus},autoBlur:{type:Boolean,default:e.$u.props.input.autoBlur},disableDefaultPadding:{type:Boolean,default:e.$u.props.input.disableDefaultPadding},cursor:{type:[String,Number],default:e.$u.props.input.cursor},cursorSpacing:{type:[String,Number],default:e.$u.props.input.cursorSpacing},selectionStart:{type:[String,Number],default:e.$u.props.input.selectionStart},selectionEnd:{type:[String,Number],default:e.$u.props.input.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.input.adjustPosition},inputAlign:{type:String,default:e.$u.props.input.inputAlign},fontSize:{type:[String,Number],default:e.$u.props.input.fontSize},color:{type:String,default:e.$u.props.input.color},prefixIcon:{type:String,default:e.$u.props.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:e.$u.props.input.prefixIconStyle},suffixIcon:{type:String,default:e.$u.props.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:e.$u.props.input.suffixIconStyle},border:{type:String,default:e.$u.props.input.border},readonly:{type:Boolean,default:e.$u.props.input.readonly},shape:{type:String,default:e.$u.props.input.shape},formatter:{type:[Function,null],default:e.$u.props.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=A}).call(this,A("df3c")["default"])},cad6:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getReimbursementList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication"),e)},getReimbursementDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/").concat(e))},createReimbursement:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication"),e)},updateReimbursement:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/").concat(e),t)},getUnreimbursedPurchaseList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqPurchaseRecords/Actions/GetNoPagingList"),e)},getStoreList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx"),e)},approveReimbursement:function(e,t){var A=new URLSearchParams;t&&t.result&&A.append("result",t.result),t&&t.opinion&&A.append("opinion",t.opinion);var r=A.toString(),a="".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/").concat(e,"/Actions/Approve").concat(r?"?"+r:"");return n.default.post(a)},rejectReimbursement:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/").concat(e,"/Actions/Reject"))},submitApproval:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/").concat(e,"/Actions/SubmitApproval"))},getMyPendingList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementApplication/Actions/PendingApproval"),e)},getEnabledWorkflowConfigList:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementWorkflowConfig/Actions/GetEnabledList"))},getWorkflowConfigDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqReimbursementWorkflowConfig/").concat(e))}};t.default=a},cc38:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("7ca3")),i=r(A("22bd")),a=r(A("c3ff")),o=r(A("5465")),s=r(A("3c02")),l=r(A("0e06")),c=r(A("8cd6")),u=r(A("14fe")),f=r(A("f896")),d=r(A("9a48")),h=r(A("58a9")),p=r(A("4544")),g=r(A("cad6")),y=r(A("f090")),v=r(A("486f")),B=r(A("a12f")),x=r(A("99a0"));function w(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function m(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},A=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var n=[t,e];e=n[0],t=n[1]}"string"!==typeof e&&(e=m());"string"!==typeof A&&(A="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var i=new x({locale:e,fallbackLocale:A,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return i.t(e,t)};else{var A=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,A||(A=!0,w(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:function(e,t,A){return i.f(e,t,A)},t:function(e,t){return a(e,t)},add:function(e,t){var A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,A)},watch:function(e){return i.watchLocale(e)},getLocale:function(){return i.getLocale()},setLocale:function(e){return i.setLocale(e)}}},t.isI18nStr=F,t.isString=void 0,t.normalizeLocale=B,t.parseI18nJson=function e(t,A,r){b||(b=new u);return S(t,(function(t,n){var i=t[n];C(i)?F(i,r)&&(t[n]=Q(i,A,r)):e(i,A,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=B(t)||t,function(e){var t=[],A=e.split("-");while(A.length)t.push(A.join("-")),A.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var i=n(A("34cf")),a=n(A("67ad")),o=n(A("0bdb")),s=n(A("3b2d")),l=function(e){return null!==e&&"object"===(0,s.default)(e)},c=["{","}"],u=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,o.default)(e,[{key:"interpolate",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(!t)return[e];var r=this._caches[e];return r||(r=h(e,A),this._caches[e]=r),p(r,t)}}]),e}();t.Formatter=u;var f=/^(?:\d)+/,d=/^(?:\w)+/;function h(e,t){var A=(0,i.default)(t,2),r=A[0],n=A[1],a=[],o=0,s="";while(o-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var A=["en","fr","es"];t&&Object.keys(t).length>0&&(A=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,A);return r||void 0}}var x=function(){function e(t){var A=t.locale,r=t.fallbackLocale,n=t.messages,i=t.watcher,o=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=o||v,this.messages=n||{},this.setLocale(A||"en"),i&&this.watchLocale(i)}return(0,o.default)(e,[{key:"setLocale",value:function(e){var t=this,A=this.locale;this.locale=B(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],A!==this.locale&&this.watchers.forEach((function(e){e(t.locale,A)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,A=this.watchers.push(e)-1;return function(){t.watchers.splice(A,1)}}},{key:"add",value:function(e,t){var A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?A?Object.assign(r,t):Object.keys(t).forEach((function(e){y(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,A){return this.formater.interpolate(e,t,A).join("")}},{key:"t",value:function(e,t,A){var r=this.message;return"string"===typeof t?(t=B(t,this.messages),t&&(r=this.messages[t])):A=t,y(r,e)?this.formater.interpolate(r[e],A).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function w(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function m(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=x;var b,C=function(e){return"string"===typeof e};function F(e,t){return e.indexOf(t[0])>-1}function Q(e,t,A){return b.interpolate(e,t,A).join("")}function U(e,t,A){return S(e,(function(e,r){(function(e,t,A,r){var n=e[t];if(C(n)){if(F(n,r)&&(e[t]=Q(n,A[0].values,r),A.length>1)){var i=e[t+"Locales"]={};A.forEach((function(e){i[e.locale]=Q(n,e.values,r)}))}}else U(n,A,r)})(e,r,t,A)})),e}function S(e,t){if(Array.isArray(e)){for(var A=0;A>>6),A[A.length]=63&t|128;else if(t<=65535)A[A.length]=224+(t>>>12),A[A.length]=t>>>6&63|128,A[A.length]=63&t|128;else{if(!(t<=1114111))throw"Unicode standart supports code points up-to U+10FFFF";A[A.length]=240+(t>>>18),A[A.length]=t>>>12&63|128,A[A.length]=t>>>6&63|128,A[A.length]=63&t|128}}return A},e.toHex32=function(e){2147483648&e&&(e&=2147483647,e+=Math.pow(2,31));var t=e.toString(16);while(t.length<8)t="0"+t;return t},e.reverseBytes=function(e){var t=0;return t+=e>>>24&255,t+=(e>>>16&255)<<8,t+=(e>>>8&255)<<16,t+=(255&e)<<24,t},e.leftRotate=function(e,t){return e<>>32-t},e.md5=function(t){for(var A=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],r=[],n=0;n<=63;n++)r[n]=Math.abs(Math.sin(n+1))*Math.pow(2,32)<<0;var i,a,o=1732584193,s=4023233417,l=2562383102,c=271733878;i=e.toUtf8ByteArr(t),t=null,a=i.length,i.push(128);var u=Math.abs(448-8*i.length%512)/8;while(u--)i.push(0);i.push(8*a&255,8*a>>8&255,8*a>>16&255,8*a>>24&255);n=4;while(n--)i.push(0);var f=e.leftRotate,d=(n=0,[]);while(n>>4&15)+A.charAt(15&t);return n}function o(e){return unescape(encodeURI(e))}function s(e){for(var t=Array(e.length>>2),A=0;A>5]|=(255&e.charCodeAt(A/8))<>5]>>>A%32&255);return t}function c(e,t){e[t>>5]|=128<>>9<<4)]=t;for(var A=1732584193,r=-271733879,n=-1732584194,i=271733878,a=0;a>>32-t}(g(g(t,e),g(r,i)),n),A)}function f(e,t,A,r,n,i,a){return u(t&A|~t&r,e,t,n,i,a)}function d(e,t,A,r,n,i,a){return u(t&r|A&~r,e,t,n,i,a)}function h(e,t,A,r,n,i,a){return u(t^A^r,e,t,n,i,a)}function p(e,t,A,r,n,i,a){return u(A^(t|~r),e,t,n,i,a)}function g(e,t){var A=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(A>>16);return r<<16|65535&A}function y(e,t){var A=e[0],r=e[1],n=e[2],i=e[3];A=B(A,r,n,i,t[0],7,-680876936),i=B(i,A,r,n,t[1],12,-389564586),n=B(n,i,A,r,t[2],17,606105819),r=B(r,n,i,A,t[3],22,-1044525330),A=B(A,r,n,i,t[4],7,-176418897),i=B(i,A,r,n,t[5],12,1200080426),n=B(n,i,A,r,t[6],17,-1473231341),r=B(r,n,i,A,t[7],22,-45705983),A=B(A,r,n,i,t[8],7,1770035416),i=B(i,A,r,n,t[9],12,-1958414417),n=B(n,i,A,r,t[10],17,-42063),r=B(r,n,i,A,t[11],22,-1990404162),A=B(A,r,n,i,t[12],7,1804603682),i=B(i,A,r,n,t[13],12,-40341101),n=B(n,i,A,r,t[14],17,-1502002290),r=B(r,n,i,A,t[15],22,1236535329),A=x(A,r,n,i,t[1],5,-165796510),i=x(i,A,r,n,t[6],9,-1069501632),n=x(n,i,A,r,t[11],14,643717713),r=x(r,n,i,A,t[0],20,-373897302),A=x(A,r,n,i,t[5],5,-701558691),i=x(i,A,r,n,t[10],9,38016083),n=x(n,i,A,r,t[15],14,-660478335),r=x(r,n,i,A,t[4],20,-405537848),A=x(A,r,n,i,t[9],5,568446438),i=x(i,A,r,n,t[14],9,-1019803690),n=x(n,i,A,r,t[3],14,-187363961),r=x(r,n,i,A,t[8],20,1163531501),A=x(A,r,n,i,t[13],5,-1444681467),i=x(i,A,r,n,t[2],9,-51403784),n=x(n,i,A,r,t[7],14,1735328473),r=x(r,n,i,A,t[12],20,-1926607734),A=w(A,r,n,i,t[5],4,-378558),i=w(i,A,r,n,t[8],11,-2022574463),n=w(n,i,A,r,t[11],16,1839030562),r=w(r,n,i,A,t[14],23,-35309556),A=w(A,r,n,i,t[1],4,-1530992060),i=w(i,A,r,n,t[4],11,1272893353),n=w(n,i,A,r,t[7],16,-155497632),r=w(r,n,i,A,t[10],23,-1094730640),A=w(A,r,n,i,t[13],4,681279174),i=w(i,A,r,n,t[0],11,-358537222),n=w(n,i,A,r,t[3],16,-722521979),r=w(r,n,i,A,t[6],23,76029189),A=w(A,r,n,i,t[9],4,-640364487),i=w(i,A,r,n,t[12],11,-421815835),n=w(n,i,A,r,t[15],16,530742520),r=w(r,n,i,A,t[2],23,-995338651),A=m(A,r,n,i,t[0],6,-198630844),i=m(i,A,r,n,t[7],10,1126891415),n=m(n,i,A,r,t[14],15,-1416354905),r=m(r,n,i,A,t[5],21,-57434055),A=m(A,r,n,i,t[12],6,1700485571),i=m(i,A,r,n,t[3],10,-1894986606),n=m(n,i,A,r,t[10],15,-1051523),r=m(r,n,i,A,t[1],21,-2054922799),A=m(A,r,n,i,t[8],6,1873313359),i=m(i,A,r,n,t[15],10,-30611744),n=m(n,i,A,r,t[6],15,-1560198380),r=m(r,n,i,A,t[13],21,1309151649),A=m(A,r,n,i,t[4],6,-145523070),i=m(i,A,r,n,t[11],10,-1120210379),n=m(n,i,A,r,t[2],15,718787259),r=m(r,n,i,A,t[9],21,-343485551),e[0]=U(A,e[0]),e[1]=U(r,e[1]),e[2]=U(n,e[2]),e[3]=U(i,e[3])}function v(e,t,A,r,n,i){return t=U(U(t,e),U(r,i)),U(t<>>32-n,A)}function B(e,t,A,r,n,i,a){return v(t&A|~t&r,e,t,n,i,a)}function x(e,t,A,r,n,i,a){return v(t&r|A&~r,e,t,n,i,a)}function w(e,t,A,r,n,i,a){return v(t^A^r,e,t,n,i,a)}function m(e,t,A,r,n,i,a){return v(A^(t|~r),e,t,n,i,a)}function b(e){var t,A=[];for(t=0;t<64;t+=4)A[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return A}var C="0123456789abcdef".split("");function F(e){for(var t="",A=0;A<4;A++)t+=C[e>>8*A+4&15]+C[e>>8*A&15];return t}function Q(e){return function(e){for(var t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(y(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*A,y(r,n),r}(e))}function U(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=Q("hello"));(function(){"0123456789abcdef".split("");if("5d41402abc4b2a76b9719d911017c592"!=Q("hello"));})();new Array(0,3614090360,3905402710,606105819,3250441966,4118548399,1200080426,2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571,2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745);var S=new Array(new Array(0,7,1),new Array(1,12,2),new Array(2,17,3),new Array(3,22,4),new Array(4,7,5),new Array(5,12,6),new Array(6,17,7),new Array(7,22,8),new Array(8,7,9),new Array(9,12,10),new Array(10,17,11),new Array(11,22,12),new Array(12,7,13),new Array(13,12,14),new Array(14,17,15),new Array(15,22,16)),E=new Array(new Array(1,5,17),new Array(6,9,18),new Array(11,14,19),new Array(0,20,20),new Array(5,5,21),new Array(10,9,22),new Array(15,14,23),new Array(4,20,24),new Array(9,5,25),new Array(14,9,26),new Array(3,14,27),new Array(8,20,28),new Array(13,5,29),new Array(2,9,30),new Array(7,14,31),new Array(12,20,32)),T=new Array(new Array(5,4,33),new Array(8,11,34),new Array(11,16,35),new Array(14,23,36),new Array(1,4,37),new Array(4,11,38),new Array(7,16,39),new Array(10,23,40),new Array(13,4,41),new Array(0,11,42),new Array(3,16,43),new Array(6,23,44),new Array(9,4,45),new Array(12,11,46),new Array(15,16,47),new Array(2,23,48)),I=new Array(new Array(0,6,49),new Array(7,10,50),new Array(14,15,51),new Array(5,21,52),new Array(12,6,53),new Array(3,10,54),new Array(10,15,55),new Array(1,21,56),new Array(8,6,57),new Array(15,10,58),new Array(6,15,59),new Array(13,21,60),new Array(4,6,61),new Array(11,10,62),new Array(2,15,63),new Array(9,21,64));new Array(new Array((function(e,t,A){return e&t|~e&A}),S),new Array((function(e,t,A){return e&A|t&~A}),E),new Array((function(e,t,A){return e^t^A}),T),new Array((function(e,t,A){return t^(e|~A)}),I));e.exports={hex_md5:n}},dccd:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}}},dcf9:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("ee3b")),i=n.default;t.default=i},dd3a:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={props:{}}},dd3e:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},decf:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={stepsItem:{title:"",desc:"",iconSize:17,error:!1}}},df0d:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getCustomerClues:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqKhxx"),e)},getMemberRemainingItems:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqkhxx/GetMemberRemainingItems"),{memberId:e})}};t.default=a},df3c:function(e,t,A){"use strict";(function(e,r){var n=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=kt,t.createComponent=Gt,t.createPage=Nt,t.createPlugin=Wt,t.createSubpackageApp=Vt,t.default=void 0;var i,a=n(A("34cf")),o=n(A("7ca3")),s=n(A("931d")),l=n(A("af34")),c=n(A("3b2d")),u=A("d3b4"),f=n(A("3240"));function d(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,r)}return A}function h(e){for(var t=1;t>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return n}:atob;var v=Object.prototype.toString,B=Object.prototype.hasOwnProperty;function x(e){return"function"===typeof e}function w(e){return"string"===typeof e}function m(e){return"[object Object]"===v.call(e)}function b(e,t){return B.call(e,t)}function C(){}function F(e){var t=Object.create(null);return function(A){var r=t[A];return r||(t[A]=e(A))}}var Q=/-(\w)/g,U=F((function(e){return e.replace(Q,(function(e,t){return t?t.toUpperCase():""}))}));function S(e){var t={};return m(e)&&Object.keys(e).sort().forEach((function(A){t[A]=e[A]})),Object.keys(t)?t:e}var E=["invoke","success","fail","complete","returnValue"],T={},I={};function P(e,t){Object.keys(t).forEach((function(A){-1!==E.indexOf(A)&&x(t[A])&&(e[A]=function(e,t){var A=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return A?function(e){for(var t=[],A=0;A1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(A){if(Array.isArray(e[A])){var r=t[A];t[A]=function(n){D(e[A],n,t).then((function(e){return x(r)&&r(e)||e}))}}})),t}function M(e,t){var A=[];Array.isArray(T.returnValue)&&A.push.apply(A,(0,l.default)(T.returnValue));var r=I[e];return r&&Array.isArray(r.returnValue)&&A.push.apply(A,(0,l.default)(r.returnValue)),A.forEach((function(e){t=e(t)||t})),t}function H(e){var t=Object.create(null);Object.keys(T).forEach((function(e){"returnValue"!==e&&(t[e]=T[e].slice())}));var A=I[e];return A&&Object.keys(A).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(A[e]))})),t}function K(e,t,A){for(var r=arguments.length,n=new Array(r>3?r-3:0),i=3;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,n=new Array(r>1?r-1:0),i=1;i-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var A=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return A||void 0}}function se(){if(x(getApp)){var e=getApp({allowDefault:!0});if(e&&e.$vm)return e.$vm.$locale}return ne()}var le=[];"undefined"!==typeof r&&(r.getLocale=se);var ce={promiseInterceptor:R},ue=Object.freeze({__proto__:null,upx2px:te,rpx2px:te,getLocale:se,setLocale:function(e){var t=!!x(getApp)&&getApp();if(!t)return!1;var A=t.$vm.$locale;return A!==e&&(t.$vm.$locale=e,le.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===le.indexOf(e)&&le.push(e)},addInterceptor:function(e,t){"string"===typeof e&&m(t)?P(I[e]||(I[e]={}),t):m(e)&&P(T,e)},removeInterceptor:function(e,t){"string"===typeof e?m(t)?_(I[e],t):delete I[e]:m(e)&&_(T,e)},interceptors:ce});var fe,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),A=t.length;while(A--){var r=t[A];if(r.$page&&r.$page.fullPath===e)return A}return-1}(e.url);if(-1!==t){var A=getCurrentPages().length-1-t;A>0&&(e.delta=A)}}}},he={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var A=e.urls;if(Array.isArray(A)){var r=A.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=A[t],e.urls=A.filter((function(e,r){return!(r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m(t)){var i=!0===n?t:{};for(var a in x(A)&&(A=A(t,i)||{}),t)if(b(A,a)){var o=A[a];x(o)&&(o=o(t[a],t,i)),o?w(o)?i[o]=t[a]:m(o)&&(i[o.name?o.name:a]=o.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Se.indexOf(a)?x(t[a])&&(i[a]=Ee(e,t[a],r)):n||(i[a]=t[a]);return i}return x(t)&&(t=Ee(e,t,r)),t}function Ie(e,t,A){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return x(Ue.returnValue)&&(t=Ue.returnValue(e,t)),Te(e,t,A,{},r)}function Pe(t,A){if(b(Ue,t)){var r=Ue[t];return r?function(A,n){var i=r;x(r)&&(i=r(A)),A=Te(t,A,i.args,i.returnValue);var a=[A];"undefined"!==typeof n&&a.push(n),x(i.name)?t=i.name(A):w(i.name)&&(t=i.name);var o=e[t].apply(e,a);return q(t)?Ie(t,o,i.returnValue,z(t)):o}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return A}var _e=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){_e[e]=function(e){return function(t){var A=t.fail,r=t.complete,n={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};x(A)&&A(n),x(r)&&r(n)}}(e)}));var ke={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Le=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,A=e.success,r=e.fail,n=e.complete,i=!1;ke[t]?(i={errMsg:"getProvider:ok",service:t,provider:ke[t]},x(A)&&A(i)):(i={errMsg:"getProvider:fail service not found"},x(r)&&r(i)),x(n)&&n(i)}}),De=function(){var e;return function(){return e||(e=new f.default),e}}();function Oe(e,t,A){return e[t].apply(e,A)}var Me,He,Ke,Re=Object.freeze({__proto__:null,$on:function(){return Oe(De(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Oe(De(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Oe(De(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Oe(De(),"$emit",Array.prototype.slice.call(arguments))}});function je(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ne(e){try{return JSON.parse(e)}catch(t){}return e}var Ge=[];function Ve(e,t){Ge.forEach((function(A){A(e,t)})),Ge.length=0}var We=[];var ze=e.getAppBaseInfo&&e.getAppBaseInfo();ze||(ze=e.getSystemInfoSync());var qe=ze?ze.host:null,Xe=qe&&"SAAASDK"===qe.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,Je=Object.freeze({__proto__:null,shareVideoMessage:Xe,getPushClientId:function(e){m(e)||(e={});var t=function(e){var t={};for(var A in e){var r=e[A];x(r)&&(t[A]=je(r),delete e[A])}return t}(e),A=t.success,r=t.fail,n=t.complete,i=x(A),a=x(r),o=x(n);Promise.resolve().then((function(){"undefined"===typeof Ke&&(Ke=!1,Me="",He="uniPush is not enabled"),Ge.push((function(e,t){var s;e?(s={errMsg:"getPushClientId:ok",cid:e},i&&A(s)):(s={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(s)),o&&n(s)})),"undefined"!==typeof Me&&Ve(Me,He)}))},onPushMessage:function(e){-1===We.indexOf(e)&&We.push(e)},offPushMessage:function(e){if(e){var t=We.indexOf(e);t>-1&&We.splice(t,1)}else We.length=0},invokePushCallback:function(e){if("enabled"===e.type)Ke=!0;else if("clientId"===e.type)Me=e.cid,He=e.errMsg,Ve(Me,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ne(e.message)},A=0;A1?t-1:0),r=1;r=0;i--){var a=n[i];if(a.$scope._$vueId===A)return a}for(var o=n.length-1;o>=0;o--)if(r=e(n[o],A),r)return r}(this.$vm,r)),t||(t=this.$vm),n.parent=t}function rt(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function nt(e){return function(e){return null!==e&&"object"===(0,c.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,o.default)({},"__v_skip",!0)}),e}var it=/_(.*)_worklet_factory_/;var at=Page,ot=Component,st=/:/g,lt=F((function(e){return U(e.replace(st,"-"))}));function ct(e){var t=e.triggerEvent,A=function(e){for(var A=arguments.length,r=new Array(A>1?A-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return ut("onLoad",e),at(e)},Page.after=at.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("created",e),ot(e)});function ft(e,t,A){t.forEach((function(t){(function e(t,A){if(!A)return!0;if(f.default.options&&Array.isArray(f.default.options[t]))return!0;if(A=A.default||A,x(A))return!!x(A.extendOptions[t])||!!(A.super&&A.super.options&&Array.isArray(A.super.options[t]));if(x(A[t])||Array.isArray(A[t]))return!0;var r=A.mixins;return Array.isArray(r)?!!r.find((function(A){return e(t,A)})):void 0})(t,A)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function dt(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];ht(t).forEach((function(t){return pt(e,t,A)}))}function ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(A){0===A.indexOf("on")&&x(e[A])&&t.push(A)})),t}function pt(e,t,A){-1!==A.indexOf(t)||b(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function gt(e,t){var A;return t=t.default||t,A=x(t)?t:e.extend(t),t=A.options,[A,t]}function yt(e,t){if(Array.isArray(t)&&t.length){var A=Object.create(null);t.forEach((function(e){A[e]=!0})),e.$scopedSlots=e.$slots=A}}function vt(e,t){e=(e||"").split(",");var A=e.length;1===A?t._$vueId=e[0]:2===A&&(t._$vueId=e[0],t._$vuePid=e[1])}function Bt(e,t){var A=e.data||{},r=e.methods||{};if("function"===typeof A)try{A=A.call(t)}catch(n){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"绿纤",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",A)}else try{A=JSON.parse(JSON.stringify(A))}catch(n){}return m(A)||(A={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||b(A,e)||(A[e]=r[e])})),A}var xt=[String,Number,Boolean,Object,Array,null];function wt(e){return function(t,A){this.$vm&&(this.$vm[e]=t)}}function mt(e,t){var A=e.behaviors,r=e.extends,n=e.mixins,i=e.props;i||(e.props=i=[]);var a=[];return Array.isArray(A)&&A.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(i)?(i.push("name"),i.push("value")):(i.name={type:String,default:""},i.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),m(r)&&r.props&&a.push(t({properties:Ct(r.props,!0)})),Array.isArray(n)&&n.forEach((function(e){m(e)&&e.props&&a.push(t({properties:Ct(e.props,!0)}))})),a}function bt(e,t,A,r){return Array.isArray(t)&&1===t.length?t[0]:t}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],A=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},A.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var A=Object.create(null);e.forEach((function(e){A[e]=!0})),this.setData({$slots:A})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:wt(e)}})):m(e)&&Object.keys(e).forEach((function(t){var A=e[t];if(m(A)){var n=A.default;x(n)&&(n=n()),A.type=bt(0,A.type),r[t]={type:-1!==xt.indexOf(A.type)?A.type:null,value:n,observer:wt(t)}}else{var i=bt(0,A);r[t]={type:-1!==xt.indexOf(i)?i:null,observer:wt(t)}}})),r}function Ft(e,t,A,r){var n={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?n["$"+i]=A:"arguments"===t?n["$"+i]=A.detail&&A.detail.__args__||r:0===t.indexOf("$event.")?n["$"+i]=e.__get_value(t.replace("$event.",""),A):n["$"+i]=e.__get_value(t):n["$"+i]=e:n["$"+i]=function(e,t){var A=e;return t.forEach((function(t){var r=t[0],n=t[2];if(r||"undefined"!==typeof n){var i,a=t[1],o=t[3];Number.isInteger(r)?i=r:r?"string"===typeof r&&r&&(i=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,A)):i=A,Number.isInteger(i)?A=n:a?Array.isArray(i)?A=i.find((function(t){return e.__get_value(a,t)===n})):m(i)?A=Object.keys(i).find((function(t){return e.__get_value(a,i[t])===n})):console.error("v-for 暂不支持循环数据:",i):A=i[n],o&&(A=e.__get_value(o,A))}})),A}(e,t)})),n}function Qt(e){for(var t={},A=1;A2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=!1,o=m(t.detail)&&t.detail.__args__||[t.detail];if(n&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!A.length))return a?[t]:o;var s=Ft(e,r,t,o),l=[];return A.forEach((function(e){"$event"===e?"__set_model"!==i||n?n&&!a?l.push(o[0]):l.push(t):l.push(t.target.value):Array.isArray(e)&&"o"===e[0]?l.push(Qt(e)):"string"===typeof e&&b(s,e)?l.push(s[e]):l.push(e)})),l}function St(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=C,e.preventDefault=C,e.target=e.target||{},b(e,"detail")||(e.detail={}),b(e,"markerId")&&(e.detail="object"===(0,c.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),m(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var A=(e.currentTarget||e.target).dataset;if(!A)return console.warn("事件信息不存在");var r=A.eventOpts||A["event-opts"];if(!r)return console.warn("事件信息不存在");var n=e.type,i=[];return r.forEach((function(A){var r=A[0],a=A[1],o="^"===r.charAt(0);r=o?r.slice(1):r;var s="~"===r.charAt(0);r=s?r.slice(1):r,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(n,r)&&a.forEach((function(A){var r=A[0];if(r){var n=t.$vm;if(n.$options.generic&&(n=function(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}(n)||n),"$emit"===r)return void n.$emit.apply(n,Ut(t.$vm,e,A[1],A[2],o,r));var a=n[r];if(!x(a)){var l="page"===t.$vm.mpType?"Page":"Component",c=t.route||t.is;throw new Error("".concat(l,' "').concat(c,'" does not have a method "').concat(r,'"'))}if(s){if(a.once)return;a.once=!0}var u=Ut(t.$vm,e,A[1],A[2],o,r);u=Array.isArray(u)?u:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(u=u.concat([,,,,,,,,,,e])),i.push(a.apply(n,u))}}))})),"input"===n&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var Et={};var Tt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function It(){f.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=f.default.prototype.__call_hook;f.default.prototype.__call_hook=function(t,A){return"onLoad"===t&&A&&A.__id__&&(this.__eventChannel__=function(e){var t=Et[e];return delete Et[e],t}(A.__id__),delete A.__id__),e.call(this,t,A)}}function Pt(t,A){var r=A.mocks,n=A.initRefs;It(),function(){var e={},t={};function A(e){var t=this.$options.propsData.vueId;if(t){var A=t.split(",")[0];e(A)}}f.default.prototype.$hasSSP=function(A){var r=e[A];return r||(t[A]=this,this.$on("hook:destroyed",(function(){delete t[A]}))),r},f.default.prototype.$getSSP=function(t,A,r){var n=e[t];if(n){var i=n[A]||[];return r?i:i[0]}},f.default.prototype.$setSSP=function(t,r){var n=0;return A.call(this,(function(A){var i=e[A],a=i[t]=i[t]||[];a.push(r),n=a.length-1})),n},f.default.prototype.$initSSP=function(){A.call(this,(function(t){e[t]={}}))},f.default.prototype.$callSSP=function(){A.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},f.default.mixin({destroyed:function(){var A=this.$options.propsData,r=A&&A.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(f.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=y(),A=t.role;return A.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=y(),A=t.permission;return this.uniIDHasRole("admin")||A.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=y(),t=e.tokenExpired;return t>Date.now()}}(f.default),f.default.prototype.mpHost="mp-weixin",f.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,o.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(n(this),function(e,t){var A=e.$mp[e.mpType];t.forEach((function(t){b(A,t)&&(e[t]=A[t])}))}(this,r))}}});var i={onLaunch:function(A){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",A),this.$vm.__call_hook("onLaunch",A))}};i.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){i[e]=a[e]})),function(e,t,A){var r=e.observable({locale:A||ie.getLocale()}),n=[];t.$watchLocale=function(e){n.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,n.forEach((function(t){return t(e)}))}})}(f.default,t,function(){var t,A=e.getAppBaseInfo(),r=A&&A.language?A.language:"en";return t=oe(r)||"en",t}()),ft(i,Tt),dt(i,t.$options),i}function _t(e){return Pt(e,{mocks:Ye,initRefs:tt})}function kt(e){return App(_t(e)),e}var Lt=/[!'()*]/g,Dt=function(e){return"%"+e.charCodeAt(0).toString(16)},Ot=/%2C/g,Mt=function(e){return encodeURIComponent(e).replace(Lt,Dt).replace(Ot,",")};function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mt,A=e?Object.keys(e).map((function(A){var r=e[A];if(void 0===r)return"";if(null===r)return t(A);if(Array.isArray(r)){var n=[];return r.forEach((function(e){void 0!==e&&(null===e?n.push(t(A)):n.push(t(A)+"="+t(e)))})),n.join("&")}return t(A)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return A?"?".concat(A):""}function Kt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=t.isPage,r=t.initRelation,n=arguments.length>2?arguments[2]:void 0,i=gt(f.default,e),o=(0,a.default)(i,2),s=o[0],l=o[1],c=h({multipleSlots:!0,addGlobalClass:!0},l.options||{});l["mp-weixin"]&&l["mp-weixin"].options&&Object.assign(c,l["mp-weixin"].options);var u={options:c,data:Bt(l,f.default.prototype),behaviors:mt(l,$e),properties:Ct(l.props,!1,l.__file,c),lifetimes:{attached:function(){var e=this.properties,t={mpType:A.call(this)?"page":"component",mpInstance:this,propsData:e};vt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new s(t),yt(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:At,__e:St}};return l.externalClasses&&(u.externalClasses=l.externalClasses),Array.isArray(l.wxsCallMethods)&&l.wxsCallMethods.forEach((function(e){u.methods[e]=function(t){return this.$vm[e](t)}})),n?[u,l,s]:A?u:[u,s]}(e,{isPage:Ze,initRelation:et},t)}var Rt=["onShow","onHide","onUnload"];function jt(e){var t=Kt(e,!0),A=(0,a.default)(t,2),r=A[0],n=A[1];return ft(r.methods,Rt,n),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Ht(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},dt(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(A){var r=A.match(it);if(r){var n=r[1];e[A]=t[A],e[n]=t[n]}}))}(r.methods,n.methods),r}function Nt(e){return Component(function(e){return jt(e)}(e))}function Gt(e){return Component(Kt(e))}function Vt(t){var A=_t(t),r=getApp({allowDefault:!0});t.$scope=r;var n=r.globalData;if(n&&Object.keys(A.globalData).forEach((function(e){b(n,e)||(n[e]=A.globalData[e])})),Object.keys(A).forEach((function(e){b(r,e)||(r[e]=A[e])})),x(A.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,A=new Array(e),r=0;r1?t-1:0),r=1;re.end.x||t.end.xe.start.y||t.start.y1&&(n.extra.mount.widthRatio>2&&(n.extra.mount.widthRatio=2),a+=(n.extra.mount.widthRatio-1)*A.eachSpacing);var o=t;return t>=0?(o=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",n.xAxis.scrollPosition="left"):Math.abs(t)>=a-i?(o=i-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",n.xAxis.scrollPosition="right"):(e.scrollOption.position=t,n.xAxis.scrollPosition=t),o}function f(e,t,A){function r(e){while(e<0)e+=2*Math.PI;while(e>2*Math.PI)e-=2*Math.PI;return e}return e=r(e),t=r(t),A=r(A),t>A&&(A+=2*Math.PI,e=t&&e<=A}function d(e,t){function A(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))}function r(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].x>=Math.max(e[t-1].x,e[t+1].x)||e[t].x<=Math.min(e[t-1].x,e[t+1].x))}var n=.2,i=.2,a=null,o=null,s=null,l=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*n,o=e[0].y+(e[1].y-e[0].y)*n):(a=e[t].x+(e[t+1].x-e[t-1].x)*n,o=e[t].y+(e[t+1].y-e[t-1].y)*n),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 A(e,t+1)&&(l=e[t+1].y),A(e,t)&&(o=e[t].y),r(e,t+1)&&(s=e[t+1].x),r(e,t)&&(a=e[t].x),(o>=Math.max(e[t].y,e[t+1].y)||o<=Math.min(e[t].y,e[t+1].y))&&(o=e[t].y),(l>=Math.max(e[t].y,e[t+1].y)||l<=Math.min(e[t].y,e[t+1].y))&&(l=e[t+1].y),(a>=Math.max(e[t].x,e[t+1].x)||a<=Math.min(e[t].x,e[t+1].x))&&(a=e[t].x),(s>=Math.max(e[t].x,e[t+1].x)||s<=Math.min(e[t].x,e[t+1].x))&&(s=e[t+1].x),{ctrA:{x:a,y:o},ctrB:{x:s,y:l}}}function h(e,t,A){return{x:A.x+e,y:A.y-t}}function p(e,t){if(t)while(s.isCollision(e,t))e.start.x>0?e.start.y--:e.start.x<0||e.start.y>0?e.start.y++:e.start.y--;return e}function g(e,t,A){for(var r=0,n=0;n=1e4?1e3:r>=1e3?100:r>=100?10:r>=10?5:r>=1?1:r>=.1?.1:r>=.01?.01:r>=.001?.001:r>=1e-4?1e-4:r>=1e-5?1e-5:1e-6,{minRange:c(e,"lower",A),maxRange:c(t,"upper",A)}}function B(e,t,A){var r=0;if(e=String(e),!1!==A&&void 0!==A&&A.setFontSize&&A.measureText)return A.setFontSize(t),A.measureText(e).width;e=e.split("");for(var n=0;n-1;if(i)for(var a=E(e),o=0;o5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],o={};if(r.length>0){for(var s=[],l=0;l0&&(r=n[A]),{text:i.formatter?i.formatter(e,r,A,t):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}})),f={x:Math.round(o.x),y:Math.round(o.y)};return{textList:u,offset:f}}function U(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=t.chartData.xAxisPoints[A]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:n.formatter?n.formatter(e,r[A],A,t):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));var o={x:Math.round(i),y:0};return{textList:a,offset:o}}function S(e,t,A,r,n,i){var a=A.chartData.calPoints,o=i.color.upFill,s=i.color.downFill,l=[o,o,s,o],c=[];t.map((function(t){0==r?t.data[1]-t.data[0]<0?l[1]=s:l[1]=o:(t.data[0]e[r-1][1]&&(l[2]=o),t.data[3]=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function I(e,t,A){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(A,2)}function P(e,t){var A=[],r=[];return e.forEach((function(e,n){t.connectNulls?null!==e&&r.push(e):null!==e?r.push(e):(r.length&&A.push(r),r=[])})),r.length&&A.push(r),A}function _(e,t,A,r,n){var i={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix},a=t.xAxis.fontSize*t.pix,o=e.map((function(e,A){var r=t.xAxis.formatter?t.xAxis.formatter(e,A,t):e;return B(String(r),a,n)})),s=Math.max.apply(this,o);if(1==t.xAxis.rotateLabel){i.angle=t.xAxis.rotateAngle*Math.PI/180;var l=t.xAxis.marginTop*t.pix*2+Math.abs(s*Math.sin(i.angle));l=l4&&void 0!==arguments[4]?arguments[4]:-1;n="stack"==r?w(e,t.categories.length):x(e);var o=[];n=n.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),n.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){o.push(e)})):o.push(e[0]):o.push(e.value):o.push(e)}));var s=0,l=0;if(o.length>0&&(s=Math.min.apply(this,o),l=Math.max.apply(this,o)),a>-1?("number"===typeof t.xAxis.data[a].min&&(s=Math.min(t.xAxis.data[a].min,s)),"number"===typeof t.xAxis.data[a].max&&(l=Math.max(t.xAxis.data[a].max,l))):("number"===typeof t.xAxis.min&&(s=Math.min(t.xAxis.min,s)),"number"===typeof t.xAxis.max&&(l=Math.max(t.xAxis.max,l))),s===l){var c=l||10;l+=c}for(var u=s,f=l,d=[],h=(f-u)/t.xAxis.splitNumber,p=0;p<=t.xAxis.splitNumber;p++)d.push(u+h*p);return d}(e,t,A,n.type),a.rangesFormat=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));var l=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));a=Object.assign(a,q(l,t,A));a.eachSpacing,l.map((function(e){return B(e,t.xAxis.fontSize*t.pix,r)}));return!0===t.xAxis.disabled&&(a.xAxisHeight=0),a}function L(e,t,A,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=n.extra.radar||{};a.max=a.max||0;for(var o=Math.max(a.max,Math.max.apply(null,x(r))),s=[],l=function(n){var a=r[n],l={};l.color=a.color,l.legendShape=a.legendShape,l.pointShape=a.pointShape,l.data=[],a.data.forEach((function(r,n){var a={};a.angle=e[n],a.proportion=r/o,a.value=r,a.position=h(A*a.proportion*i*Math.cos(a.angle),A*a.proportion*i*Math.sin(a.angle),t),l.data.push(a)})),s.push(l)},c=0;c2&&void 0!==arguments[2]?arguments[2]:1,r=0,n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0,a=0,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:1;1==A&&(A=.999999);for(var r=0;r=2&&(n._proportion_=n._proportion_%2)}return e}function K(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==A&&(A=.999999);for(var r=0;r=2&&(n._proportion_=n._proportion_%2)}return e}function R(e,t,A){var r;r=A=2&&(e[i]._endAngle_=e[i]._endAngle_%2),n=e[i]._endAngle_;return e}function j(e,t,A){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n=A.oldData?i._proportion_=(i._endAngle_-i._oldAngle_)*r+A.oldAngle:i._proportion_=i._oldAngle_-(i._oldAngle_-i._endAngle_)*r,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function N(e,t,A,r,n,i){return e.map((function(e){if(null===e)return null;var n=0,a=0;return"mix"==i.type?(n=i.extra.mix.column.seriesGap*i.pix||0,a=i.extra.mix.column.categoryGap*i.pix||0):(n=i.extra.column.seriesGap*i.pix||0,a=i.extra.column.categoryGap*i.pix||0),n=Math.min(n,t/A),a=Math.min(a,t/A),e.width=Math.ceil((t-2*a-n*(A-1))/A),i.extra.mix&&i.extra.mix.column.width&&+i.extra.mix.column.width>0&&(e.width=Math.min(e.width,+i.extra.mix.column.width*i.pix)),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e.x+=(r+.5-A/2)*(e.width+n),e}))}function G(e,t,A,r,n,i){return e.map((function(e){if(null===e)return null;var n=0,a=0;return n=i.extra.bar.seriesGap*i.pix||0,a=i.extra.bar.categoryGap*i.pix||0,n=Math.min(n,t/A),a=Math.min(a,t/A),e.width=Math.ceil((t-2*a-n*(A-1))/A),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e.y+=(r+.5-A/2)*(e.width+n),e}))}function V(e,t,A,r,n,i,a){var o=i.extra.column.categoryGap*i.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*o,i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),r>0&&(e.width-=a),e)}))}function W(e,t,A,r,n,i,a){var o=i.extra.column.categoryGap*i.pix||0;return e.map((function(e,A){return null===e?null:(e.width=Math.ceil(t-2*o),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function z(e,t,A,r,n,i,a){var o=i.extra.bar.categoryGap*i.pix||0;return e.map((function(e,A){return null===e?null:(e.width=Math.ceil(t-2*o),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function q(e,t,A){var r=t.width-t.area[1]-t.area[3],n=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type||"scatter"==t.type||"bubble"==t.type||"bar"==t.type)&&n>1&&"justify"==t.xAxis.boundaryGap&&(n-=1);var i=0;"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),i=t.extra.mount.widthRatio-1,n+=i);var a=r/n,o=[],s=t.area[3],l=t.width-t.area[1];return e.forEach((function(e,t){o.push(s+i/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?o.push(s+i*a+e.length*a):o.push(l)),{xAxisPoints:o,startX:s,endX:l,eachSpacing:a}}function X(e,t,A,r,n,i,a){var o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[],l=i.height-i.area[0]-i.area[2];return e.forEach((function(e,a){if(null===e)s.push(null);else{var c=[];e.forEach((function(e,s){var u={};u.x=r[a]+Math.round(n/2);var f=e.value||e,d=l*(f-t)/(A-t);d*=o,u.y=i.height-Math.round(d)-i.area[2],c.push(u)})),s.push(c)}})),s}function J(e,t,A,r,n,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=a.type&&"area"!=a.type&&"scatter"!=a.type&&"bubble"!=a.type||(l=a.xAxis.boundaryGap);var c=[],u=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)c.push(null);else{var d={};d.color=e.color,d.x=r[o];var h,p,g,y=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(a.chartData.xAxisData.ranges),p=h.shift(),g=h.pop(),y=e[1],d.x=a.area[3]+f*(e[0]-p)/(g-p),"bubble"==a.type&&(d.r=e[2],d.t=e[3]);else y=e.value;"center"==l&&(d.x+=n/2);var v=u*(y-t)/(A-t);v*=s,d.y=a.height-v-a.area[2],c.push(d)}})),c}function Y(e,t,A,r,n,a,o,s,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var c=a.xAxis.boundaryGap,u=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)u.push(null);else{var h={};if(h.color=e.color,"vertical"==s.animation){h.x=r[o];var p,g,y,v=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)p=[].concat(a.chartData.xAxisData.ranges),g=p.shift(),y=p.pop(),v=e[1],h.x=a.area[3]+d*(e[0]-g)/(y-g);else v=e.value;"center"==c&&(h.x+=n/2);var B=f*(v-t)/(A-t);B*=l,h.y=a.height-B-a.area[2],u.push(h)}else{h.x=r[0]+n*o*l;v=e;"center"==c&&(h.x+=n/2);B=f*(v-t)/(A-t);h.y=a.height-B-a.area[2],u.push(h)}}})),u}function $(e,t,A,r,n,a,o,s,l){l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var c=[],u=a.height-a.area[0]-a.area[2],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)c.push(null);else{var s={};s.color=e.color,s.x=r[o];var d,h,p,g=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)d=[].concat(a.chartData.xAxisData.ranges),h=d.shift(),p=d.pop(),g=e[1],s.x=a.area[3]+f*(e[0]-h)/(p-h);else g=e.value;s.x+=n/2;var y=u*(g*l-t)/(A-t);s.y=a.height-y-a.area[2],c.push(s)}})),c}function Z(e,t,A,r,n,i,a,o){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,l=[],c=i.height-i.area[0]-i.area[2],u=(i.width,i.area[1],i.area[3],n*a.widthRatio);return e.forEach((function(e,a){if(null===e)l.push(null);else{var o={};o.color=e.color,o.x=r[a],o.x+=n/2;var f=e.data,d=c*(f*s-t)/(A-t);o.y=i.height-d-i.area[2],o.value=f,o.width=u,l.push(o)}})),l}function ee(e,t,A,r,n,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=(a.height,a.area[0],a.area[2],a.width-a.area[1]-a.area[3]);return e.forEach((function(e,n){if(null===e)l.push(null);else{var o={};o.color=e.color,o.y=r[n];var u=e;"object"===(0,i.default)(e)&&null!==e&&(u=e.value);var f=c*(u-t)/(A-t);f*=s,o.height=f,o.value=u,o.x=f+a.area[3],l.push(o)}})),l}function te(e,t,A,r,n,a,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],f=a.height-a.area[0]-a.area[2];return e.forEach((function(e,o){if(null===e)u.push(null);else{var d={};if(d.color=e.color,d.x=r[o]+Math.round(n/2),s>0){for(var h=0,p=0;p<=s;p++)h+=l[p].data[o];var g=h-e,y=f*(h-t)/(A-t),v=f*(g-t)/(A-t)}else{h=e;"object"===(0,i.default)(e)&&null!==e&&(h=e.value);y=f*(h-t)/(A-t),v=0}var B=v;y*=c,B*=c,d.y=a.height-Math.round(y)-a.area[2],d.y0=a.height-Math.round(B)-a.area[2],u.push(d)}})),u}function Ae(e,t,A,r,n,a,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,u=[],f=a.width-a.area[1]-a.area[3];return e.forEach((function(e,n){if(null===e)u.push(null);else{var o={};if(o.color=e.color,o.y=r[n],s>0){for(var d=0,h=0;h<=s;h++)d+=l[h].data[n];var p=d-e,g=f*(d-t)/(A-t),y=f*(p-t)/(A-t)}else{d=e;"object"===(0,i.default)(e)&&null!==e&&(d=e.value);g=f*(d-t)/(A-t),y=0}var v=y;g*=c,v*=c,o.height=g-v,o.x=a.area[3]+g,o.x0=a.area[3]+v,u.push(o)}})),u}function re(e,t,A,r,n){var a;a="stack"==r?w(e,t.categories.length):x(e);var o=[];a=a.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){o.push(e)})):o.push(e[1]):o.push(e.value):o.push(e)}));var s=n.min||0,l=n.max||0;o.length>0&&(s=Math.min.apply(this,o),l=Math.max.apply(this,o)),s===l&&(0==l?l=10:s=0);for(var c=v(s,l),u=void 0===n.min||null===n.min?c.minRange:n.min,f=void 0===n.max||null===n.max?c.maxRange:n.max,d=(f-u)/t.yAxis.splitNumber,h=[],p=0;p<=t.yAxis.splitNumber;p++)h.push(u+d*p);return h.reverse()}function ne(e,t,A,r){var n=o({},{type:""},t.extra.column),i=t.yAxis.data.length,a=new Array(i);if(i>0){for(var l=0;l0&&0==n.tooltip.group.includes(a))){var o="number"===typeof n.tooltip.index?n.tooltip.index:n.tooltip.index[n.tooltip.group.indexOf(a)];if(r.beginPath(),"hollow"==i.activeType?(r.setStrokeStyle(t),r.setFillStyle(n.background),r.setLineWidth(2*n.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*n.pix)),"diamond"===A)e.forEach((function(e,t){null!==e&&o==t&&(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))}));else if("circle"===A)e.forEach((function(e,t){null!==e&&o==t&&(r.moveTo(e.x+2.5*n.pix,e.y),r.arc(e.x,e.y,3*n.pix,0,2*Math.PI,!1))}));else if("square"===A)e.forEach((function(e,t){null!==e&&o==t&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===A)e.forEach((function(e,t){null!==e&&o==t&&(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))}));else if("none"===A)return;r.closePath(),r.fill(),r.stroke()}}function se(e,t,A,r){var n=e.title.fontSize||t.titleFontSize,i=e.subtitle.fontSize||t.subtitleFontSize,a=e.title.name||"",o=e.subtitle.name||"",s=e.title.color||e.fontColor,l=e.subtitle.color||e.fontColor,c=a?n:0,u=o?i:0;if(o){var f=B(o,i*e.pix,A),d=r.x-f/2+(e.subtitle.offsetX||0)*e.pix,h=r.y+i*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(h+=(c*e.pix+5)/2),A.beginPath(),A.setFontSize(i*e.pix),A.setFillStyle(l),A.fillText(o,d,h),A.closePath(),A.stroke()}if(a){var p=B(a,n*e.pix,A),g=r.x-p/2+(e.title.offsetX||0),y=r.y+n*e.pix/2+(e.title.offsetY||0)*e.pix;o&&(y-=(u*e.pix+5)/2),A.beginPath(),A.setFontSize(n*e.pix),A.setFillStyle(s),A.fillText(a,g,y),A.closePath(),A.stroke()}}function le(e,t,A,r,n){var a=t.data,o=t.textOffset?t.textOffset:0;e.forEach((function(e,s){if(null!==e){r.beginPath();var l=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||n.fontColor);var c=a[s];"object"===(0,i.default)(a[s])&&null!==a[s]&&(c=a[s].constructor.toString().indexOf("Array")>-1?a[s][1]:a[s].value);var u=t.formatter?t.formatter(c,s,t,n):c;r.setTextAlign("center"),r.fillText(String(u),e.x,e.y-4+o*n.pix),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function ce(e,t,A,r,n){var a=t.data,o=t.textOffset?t.textOffset:0,s=n.extra.column.labelPosition;e.forEach((function(e,l){if(null!==e){r.beginPath();var c=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(c),r.setFillStyle(t.textColor||n.fontColor);var u=a[l];"object"===(0,i.default)(a[l])&&null!==a[l]&&(u=a[l].constructor.toString().indexOf("Array")>-1?a[l][1]:a[l].value);var f=t.formatter?t.formatter(u,l,t,n):u;r.setTextAlign("center");var d=e.y-4*n.pix+o*n.pix;e.y>t.zeroPoints&&(d=e.y+o*n.pix+c),"insideTop"==s&&(d=e.y+c+o*n.pix,e.y>t.zeroPoints&&(d=e.y-o*n.pix-4*n.pix)),"center"==s&&(d=e.y+o*n.pix+(n.height-n.area[2]-e.y+c)/2,t.zeroPointst.zeroPoints&&(d=e.y-o*n.pix-(e.y-t.zeroPoints-c)/2),"stack"==n.extra.column.type&&(d=e.y+o*n.pix+(e.y0-e.y+c)/2)),"bottom"==s&&(d=n.height-n.area[2]+o*n.pix-4*n.pix,t.zeroPointst.zeroPoints&&(d=t.zeroPoints-o*n.pix+c+2*n.pix),"stack"==n.extra.column.type&&(d=e.y0+o*n.pix-4*n.pix)),r.fillText(String(f),e.x,d),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function ue(e,t,A,r,n,i){t.data;var a=t.textOffset?t.textOffset:0;n.extra.mount.labelPosition;e.forEach((function(e,o){if(null!==e){r.beginPath();var s=t[o].textSize?t[o].textSize*n.pix:A.fontSize;r.setFontSize(s),r.setFillStyle(t[o].textColor||n.fontColor);var l=e.value,c=t[o].formatter?t[o].formatter(l,o,t,n):l;r.setTextAlign("center");var u=e.y-4*n.pix+a*n.pix;e.y>i&&(u=e.y+a*n.pix+s),r.fillText(String(c),e.x,u),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function fe(e,t,A,r,n){var a=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,o){if(null!==e){r.beginPath();var s=t.textSize?t.textSize*n.pix:A.fontSize;r.setFontSize(s),r.setFillStyle(t.textColor||n.fontColor);var l=a[o];"object"===(0,i.default)(a[o])&&null!==a[o]&&(l=a[o].value);var c=t.formatter?t.formatter(l,o,t,n):l;r.setTextAlign("left"),r.fillText(String(c),e.x+4*n.pix,e.y+s/2-3),r.closePath(),r.stroke()}}))}function de(e,t,A,r,n,i){var a;t-=e.width/2+e.labelOffset*r.pix,t=t<10?10:t,a=e.endAngle=2&&(c%=2),u+=l}}function he(e,t,A,r,n,i){var a=r.extra.radar||{};e.forEach((function(e,o){if(!0===a.labelPointShow&&""!==r.categories[o]){var l={x:t*Math.cos(e),y:t*Math.sin(e)},c=h(l.x,l.y,A);i.setFillStyle(a.labelPointColor),i.beginPath(),i.arc(c.x,c.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),i.closePath(),i.fill()}if(!0===a.labelShow){var u={x:(t+n.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+n.radarLabelTextMargin*r.pix)*Math.sin(e)},f=h(u.x,u.y,A),d=f.x,p=f.y;s.approximatelyEqual(u.x,0)?d-=B(r.categories[o]||"",n.fontSize,i)/2:u.x<0&&(d-=B(r.categories[o]||"",n.fontSize,i)),i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(a.labelColor||r.fontColor),i.fillText(r.categories[o]||"",d,p+n.fontSize/2),i.closePath(),i.stroke()}}))}function pe(e,t,A,r,n,i){for(var a=A.pieChartLinePadding,o=[],l=null,c=e.map((function(A,r){var n=A.formatter?A.formatter(A,r,e,t):s.toFixed(100*A._proportion_.toFixed(4))+"%";n=A.labelText?A.labelText:n;var i=2*Math.PI-(A._start_+2*Math.PI*A._proportion_/2);A._rose_proportion_&&(i=2*Math.PI-(A._start_+2*Math.PI*A._rose_proportion_/2));var a=A.color,o=A._radius_;return{arc:i,text:n,color:a,radius:o,textColor:A.textColor,textSize:A.textSize,labelShow:A.labelShow}})),u=0;u=0?d+A.pieChartTextPadding:d-A.pieChartTextPadding,w=g,m=B(f.text,f.textSize*t.pix||A.fontSize,r),b=w;l&&s.isSameXCoordinateArea(l.start,{x:x})&&(b=x>0?Math.min(w,l.start.y):d<0||w>0?Math.max(w,l.start.y):Math.min(w,l.start.y)),x<0&&(x-=m);var C={lineStart:{x:y,y:v},lineEnd:{x:d,y:g},start:{x:x,y:b},width:m,height:A.fontSize,text:f.text,color:f.color,textColor:f.textColor,textSize:f.textSize};l=p(C,l),o.push(l)}for(var F=0;Fn?n:i.activeWidth;var a=t.area[0],s=t.height-t.area[2];r.beginPath(),r.setFillStyle(l(i.activeBgColor,i.activeBgOpacity)),r.rect(e-i.activeWidth/2,a,i.activeWidth,s-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Be(e,t,A,r,n){var i=o({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],s=t.width-t.area[1];r.beginPath(),r.setFillStyle(l(i.activeBgColor,i.activeBgOpacity)),r.rect(a,e-n/2,s-a,n),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function xe(e,t,A,r,n,i,a){var s=o({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,boxPadding:3,fontColor:"#FFFFFF",fontSize:13,lineHeight:20,legendShow:!0,legendShape:"auto",splitLine:!0},A.extra.tooltip);1==s.showCategory&&A.categories&&e.unshift({text:A.categories[A.tooltip.index],color:null});var c=s.fontSize*A.pix,u=s.lineHeight*A.pix,f=s.boxPadding*A.pix,d=c,h=5*A.pix;0==s.legendShow&&(d=0,h=0);var p=s.showArrow?8*A.pix:0,g=!1;"line"!=A.type&&"mount"!=A.type&&"area"!=A.type&&"candle"!=A.type&&"mix"!=A.type||1==s.splitLine&&function(e,t,A,r){var n=t.extra.tooltip||{};n.gridType=void 0==n.gridType?"solid":n.gridType,n.dashLength=void 0==n.dashLength?4:n.dashLength;var i=t.area[0],a=t.height-t.area[2];if("dash"==n.gridType&&r.setLineDash([n.dashLength,n.dashLength]),r.setStrokeStyle(n.gridColor||"#cccccc"),r.setLineWidth(1*t.pix),r.beginPath(),r.moveTo(e,i),r.lineTo(e,a),r.stroke(),r.setLineDash([]),n.xAxisLabel){var o=t.categories[t.tooltip.index];r.setFontSize(A.fontSize);var s=B(o,A.fontSize,r),c=e-.5*s,u=a+2*t.pix;r.beginPath(),r.setFillStyle(l(n.labelBgColor||A.toolTipBackground,n.labelBgOpacity||A.toolTipOpacity)),r.setStrokeStyle(n.labelBgColor||A.toolTipBackground),r.setLineWidth(1*t.pix),r.rect(c-n.boxPadding*t.pix,u,s+2*n.boxPadding*t.pix,A.fontSize+2*n.boxPadding*t.pix),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(A.fontSize),r.setFillStyle(n.labelFontColor||t.fontColor),r.fillText(String(o),c,u+n.boxPadding*t.pix+A.fontSize),r.closePath(),r.stroke()}}(A.tooltip.offset.x,A,r,n),t=o({x:0,y:0},t),t.y-=8*A.pix;var y=e.map((function(e){return B(e.text,c,n)})),v=d+h+4*f+Math.max.apply(null,y),x=2*f+e.length*u;if(0!=s.showBox){t.x-Math.abs(A._scrollDistance_||0)+p+v>A.width&&(g=!0),x+t.y>A.height&&(t.y=A.height-x),n.beginPath(),n.setFillStyle(l(s.bgColor,s.bgOpacity)),n.setLineWidth(s.borderWidth*A.pix),n.setStrokeStyle(l(s.borderColor,s.borderOpacity));var w=s.borderRadius;g?(v+p>A.width&&(t.x=A.width+Math.abs(A._scrollDistance_||0)+p+(v-A.width)),v>t.x&&(t.x=A.width+Math.abs(A._scrollDistance_||0)+p+(v-A.width)),s.showArrow&&(n.moveTo(t.x,t.y+10*A.pix),n.lineTo(t.x-p,t.y+10*A.pix+5*A.pix)),n.arc(t.x-p-w,t.y+x-w,w,0,Math.PI/2,!1),n.arc(t.x-p-Math.round(v)+w,t.y+x-w,w,Math.PI/2,Math.PI,!1),n.arc(t.x-p-Math.round(v)+w,t.y+w,w,-Math.PI,-Math.PI/2,!1),n.arc(t.x-p-w,t.y+w,w,-Math.PI/2,0,!1),s.showArrow&&(n.lineTo(t.x-p,t.y+10*A.pix-5*A.pix),n.lineTo(t.x,t.y+10*A.pix))):(s.showArrow&&(n.moveTo(t.x,t.y+10*A.pix),n.lineTo(t.x+p,t.y+10*A.pix-5*A.pix)),n.arc(t.x+p+w,t.y+w,w,-Math.PI,-Math.PI/2,!1),n.arc(t.x+p+Math.round(v)-w,t.y+w,w,-Math.PI/2,0,!1),n.arc(t.x+p+Math.round(v)-w,t.y+x-w,w,0,Math.PI/2,!1),n.arc(t.x+p+w,t.y+x-w,w,Math.PI/2,Math.PI,!1),s.showArrow&&(n.lineTo(t.x+p,t.y+10*A.pix+5*A.pix),n.lineTo(t.x,t.y+10*A.pix))),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke(),s.legendShow&&e.forEach((function(e,r){if(null!==e.color){n.beginPath(),n.setFillStyle(e.color);var i=t.x+p+2*f,a=t.y+(u-c)/2+u*r+f+1;switch(g&&(i=t.x-v-p+2*f),e.legendShape){case"line":n.moveTo(i,a+.5*d-2*A.pix),n.fillRect(i,a+.5*d-2*A.pix,d,4*A.pix);break;case"triangle":n.moveTo(i+7.5*A.pix,a+.5*d-5*A.pix),n.lineTo(i+2.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+12.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+7.5*A.pix,a+.5*d-5*A.pix);break;case"diamond":n.moveTo(i+7.5*A.pix,a+.5*d-5*A.pix),n.lineTo(i+2.5*A.pix,a+.5*d),n.lineTo(i+7.5*A.pix,a+.5*d+5*A.pix),n.lineTo(i+12.5*A.pix,a+.5*d),n.lineTo(i+7.5*A.pix,a+.5*d-5*A.pix);break;case"circle":n.moveTo(i+7.5*A.pix,a+.5*d),n.arc(i+7.5*A.pix,a+.5*d,5*A.pix,0,2*Math.PI);break;case"rect":n.moveTo(i,a+.5*d-5*A.pix),n.fillRect(i,a+.5*d-5*A.pix,15*A.pix,10*A.pix);break;case"square":n.moveTo(i+2*A.pix,a+.5*d-5*A.pix),n.fillRect(i+2*A.pix,a+.5*d-5*A.pix,10*A.pix,10*A.pix);break;default:n.moveTo(i,a+.5*d-5*A.pix),n.fillRect(i,a+.5*d-5*A.pix,15*A.pix,10*A.pix)}n.closePath(),n.fill()}})),e.forEach((function(e,A){var r=t.x+p+2*f+d+h;g&&(r=t.x-v-p+2*f+d+h);var i=t.y+u*A+(u-c)/2-1+f+c;n.beginPath(),n.setFontSize(c),n.setTextBaseline("normal"),n.setFillStyle(s.fontColor),n.fillText(e.text,r,i),n.closePath(),n.stroke()}))}}function we(e,t,A,r,n,i){var a=e.extra.tooltip||{};a.horizentalLine&&e.tooltip&&1===r&&("line"==e.type||"area"==e.type||"column"==e.type||"mount"==e.type||"candle"==e.type||"mix"==e.type)&&ye(e,t,A),A.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&A.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xe(e.tooltip.textList,e.tooltip.offset,e,t,A),A.restore()}function me(e,t,A,r){var n=t.chartData.xAxisData,i=n.xAxisPoints,a=n.startX,o=n.endX,s=n.eachSpacing,l="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(l=t.xAxis.boundaryGap);var c=t.height-t.area[2],u=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var f=t.height-t.area[2]+A.xAxisHeight,d=o-a,h=s*(i.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),h+=(t.extra.mount.widthRatio-1)*s);var p=d*d/h,g=0;t._scrollDistance_&&(g=-t._scrollDistance_*d/h),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(a,f),r.lineTo(o,f),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+g,f),r.lineTo(a+g+p,f),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.pix),i.forEach((function(e,A){A>0&&(r.beginPath(),r.moveTo(e-s/2,c),r.lineTo(e-s/2,c+3*t.pix),r.closePath(),r.stroke())}))),!0!==t.xAxis.disableGrid&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),"dash"==t.xAxis.gridType&&r.setLineDash([t.xAxis.dashLength*t.pix,t.xAxis.dashLength*t.pix]),t.xAxis.gridEval=t.xAxis.gridEval||1,i.forEach((function(e,A){A%t.xAxis.gridEval==0&&(r.beginPath(),r.moveTo(e,c),r.lineTo(e,u),r.stroke())})),r.setLineDash([])),!0!==t.xAxis.disabled){var y=e.length;t.xAxis.labelCount&&(y=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,y-=1);for(var v=Math.ceil(e.length/y),x=[],w=e.length,m=0;m=t.area[3]-1&&u-Math.abs(o)<=t.width-t.area[1]+1&&(r.beginPath(),r.setFontSize(b),r.setFillStyle(t.xAxis.fontColor||t.fontColor),r.fillText(String(n),i[A]+a,c+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.fontSize)*t.pix/2+t.xAxis.fontSize*t.pix),r.closePath(),r.stroke())})):x.forEach((function(e,n){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,o=t._scrollDistance_||0,u="center"==l?i[n]+s/2:i[n];if(u-Math.abs(o)>=t.area[3]-1&&u-Math.abs(o)<=t.width-t.area[1]+1){r.save(),r.beginPath(),r.setFontSize(b),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var f=B(String(a),b,r),d=i[n];"center"==l&&(d=i[n]+s/2);t.xAxis.scrollShow&&6*t.pix;var h=c+t.xAxis.marginTop*t.pix+b-b*Math.abs(Math.sin(A._xAxisTextAngle_));t.xAxis.rotateAngle<0?(d-=b/2,f=0):(d+=b/2,f=-f),r.translate(d,h),r.rotate(-1*A._xAxisTextAngle_),r.fillText(String(a),f,0),r.closePath(),r.stroke(),r.restore()}}))}r.restore(),t.xAxis.title&&(r.beginPath(),r.setFontSize(t.xAxis.titleFontSize*t.pix),r.setFillStyle(t.xAxis.titleFontColor),r.fillText(String(t.xAxis.title),t.width-t.area[1]+t.xAxis.titleOffsetX*t.pix,t.height-t.area[2]+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.titleFontSize)*t.pix/2+(t.xAxis.titleFontSize+t.xAxis.titleOffsetY)*t.pix),r.closePath(),r.stroke()),t.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(t.xAxis.axisLineColor),r.setLineWidth(1*t.pix),r.moveTo(a,t.height-t.area[2]),r.lineTo(o,t.height-t.area[2]),r.stroke())}function be(e,t,A,r){if(!0!==t.yAxis.disableGrid){var n=t.height-t.area[0]-t.area[2],i=n/t.yAxis.splitNumber,a=t.area[3],o=t.chartData.xAxisData.xAxisPoints,s=t.chartData.xAxisData.eachSpacing,l=s*(o.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),l+=(t.extra.mount.widthRatio-1)*s);var c=a+l,u=[],f=1;!1===t.xAxis.axisLine&&(f=0);for(var d=f;d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==t.type?t.extra.pie:t.extra.ring),a={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==A.pieChartLinePadding&&(A.pieChartLinePadding=i.activeRadius*t.pix);var s=Math.min((t.width-t.area[1]-t.area[3])/2-A.pieChartLinePadding-A.pieChartTextPadding-A._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-A.pieChartLinePadding-A.pieChartTextPadding);s=s<10?10:s,i.customRadius>0&&(s=i.customRadius*t.pix),e=D(e,s,n);var c=i.activeRadius*t.pix;if(i.customColor=y(i.linearType,i.customColor,e,A),e=e.map((function(e){return e._start_+=i.offsetAngle*Math.PI/180,e})),e.forEach((function(e,A){t.tooltip&&t.tooltip.index==A&&(r.beginPath(),r.setFillStyle(l(e.color,i.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_+c,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(i.borderColor);var n,o=e.color;"custom"==i.linearType&&(n=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),n.addColorStop(0,l(i.customColor[e.linearIndex],1)),n.addColorStop(1,l(e.color,1)),o=n);r.setFillStyle(o),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill(),1==i.border&&r.stroke()})),"ring"===t.type){var u=.6*s;"number"===typeof i.ringWidth&&i.ringWidth>0&&(u=Math.max(0,s-i.ringWidth*t.pix)),r.beginPath(),r.setFillStyle(i.centerColor),r.moveTo(a.x,a.y),r.arc(a.x,a.y,u,0,2*Math.PI),r.closePath(),r.fill()}return!1!==t.dataLabel&&1===n&&pe(e,t,A,r,0,a),1===n&&"ring"===t.type&&se(t,A,r,a),{center:a,radius:s,series:e}}function Ue(e,t){var A=Array(2),r=20037508.34*e/180,n=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return n=20037508.34*n/180,A[0]=r,A[1]=n,A}function Se(e,t,A,r,n,i){return{x:(t-A.xMin)*r+n,y:(A.yMax-e)*r+i}}function Ee(e,t,A){if(t[1]==A[1])return!1;if(t[1]>e[1]&&A[1]>e[1])return!1;if(t[1]e[1])return!1;if(A[1]==e[1]&&t[1]>e[1])return!1;if(t[0]t[i].area[2]||e[1]>t[i].area[3]||e[2]A||e[3]>r){n=!0;break}n=!1}return n}function _e(e,t,A){var r=e.series;switch(t){case"normal":for(var n=0;n.7},h=0;h0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var n=e[0].data,i=0;it.width-t.area[1]-t.area[3]?(f.push(p),h.push(d-t.legend.itemGap*t.pix),d=x,p=[y]):(d+=x,p.push(y))}if(p.length){f.push(p),h.push(d-t.legend.itemGap*t.pix),i.widthArr=h;var w=Math.max.apply(null,h);switch(t.legend.float){case"left":i.area.start.x=t.area[3],i.area.end.x=t.area[3]+w+2*a;break;case"right":i.area.start.x=t.width-t.area[1]-w-2*a,i.area.end.x=t.width-t.area[1];break;default:i.area.start.x=(t.width-w)/2-a,i.area.end.x=(t.width+w)/2+a}i.area.width=w+2*a,i.area.wholeWidth=w+2*a,i.area.height=f.length*u+2*a,i.area.wholeHeight=f.length*u+2*a+2*o,i.points=f}}else{var m=e.length,b=t.height-t.area[0]-t.area[2]-2*o-2*a,C=Math.min(Math.floor(b/u),m);switch(i.area.height=C*u+2*a,i.area.wholeHeight=C*u+2*a,t.legend.float){case"top":i.area.start.y=t.area[0]+o,i.area.end.y=t.area[0]+o+i.area.height;break;case"bottom":i.area.start.y=t.height-t.area[2]-o-i.area.height,i.area.end.y=t.height-t.area[2]-o;break;default:i.area.start.y=(t.height-i.area.height)/2,i.area.end.y=(t.height+i.area.height)/2}for(var F=m%C===0?m/C:Math.floor(m/C+1),Q=[],U=0;UI&&(I=_)}i.widthArr.push(I),i.heightArr.push(T.length*u+2*a)}for(var k=0,L=0;L0?T[Ee].width+t.yAxis.padding*t.pix:T[Ee].width,xe+=1):"right"==T[Ee].position&&(t.area[1]+=ye>0?T[Ee].width+t.yAxis.padding*t.pix:T[Ee].width,ye+=1)}else A.yAxisWidth=T;if(t.chartData.yAxisData=S,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=q(t.categories,t);var Te=_(t.categories,t,0,t.chartData.xAxisData.eachSpacing,r),Ie=Te.xAxisHeight,Pe=Te.angle;A.xAxisHeight=Ie,A._xAxisTextAngle_=Pe,t.area[2]+=Ie,t.chartData.categoriesData=Te}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=k(c,t,A,r),u=t.chartData.xAxisData.rangesFormat;var Oe=_(u,t,0,t.chartData.xAxisData.eachSpacing,r),He=Oe.xAxisHeight,Ke=Oe.angle;A.xAxisHeight=He,A._xAxisTextAngle_=Ke,t.area[2]+=He,t.chartData.categoriesData=Oe}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var Re,je=t.chartData.xAxisData.xAxisPoints,Ne=t.chartData.xAxisData.startX,Ge=t.chartData.xAxisData.endX,Ve=t.chartData.xAxisData.eachSpacing,We=Ve*(je.length-1),ze=Ge-Ne;Re=ze-We,a.scrollOption.currentOffset=Re,a.scrollOption.startTouchX=Re,a.scrollOption.distance=0,a.scrollOption.lastMoveTime=0,t._scrollDistance_=Re}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(A._pieTextMaxLength_=!1===t.dataLabel?0:function(e,t,A,r){e=D(e);for(var n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=_e(t,i.type,r)),r.beginPath(),r.setFillStyle(t.background),r.rect(0,0,t.width,t.height),r.fill(),r.save();var a=t.chartData.wordCloudData;r.translate(t.width/2,t.height/2);for(var s=0;s0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(l,(a[s].areav[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].areav[1]+5+c-t.height/2)*n):r.fillText(l,(a[s].areav[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].areav[1]+5+c-t.height/2)*n)):a[s].area[0]>0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(l,(a[s].area[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].area[1]+5+c-t.height/2)*n):r.fillText(l,(a[s].area[0]+5-t.width/2)*n-u*(1-n)/2,(a[s].area[1]+5+c-t.height/2)*n)),r.stroke(),r.restore()}r.restore()}(c,t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"map":r.clearRect(0,0,t.width,t.height),function(e,t,A,r){var n,i,a=o({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),s=e,c=function(e){for(var t,A={xMin:180,xMax:0,yMin:90,yMax:0},r=0;rl.x?A.xMax:l.x,A.yMin=A.yMinl.y?A.yMax:l.y}}return A}(s);if(a.mercator){var u=Ue(c.xMax,c.yMax),f=Ue(c.xMin,c.yMin);c.xMax=u[0],c.yMax=u[1],c.xMin=f[0],c.yMin=f[1]}for(var d=t.width/Math.abs(c.xMax-c.xMin),h=t.height/Math.abs(c.yMax-c.yMin),p=d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},t.extra.funnel),a=(t.height-t.area[0]-t.area[2])/e.length,s={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},c=i.activeWidth*t.pix,u=Math.min((t.width-t.area[1]-t.area[3])/2-c,(t.height-t.area[0]-t.area[2])/2-c),f=O(e,u,i,a,n);if(r.save(),r.translate(s.x,s.y),i.customColor=y(i.linearType,i.customColor,e,A),"pyramid"==i.type)for(var d=0;d4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},t.extra.line);i.width*=t.pix;var a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];r.save();var f=0,h=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),f=-t._scrollDistance_-2*c+t.area[3],h=f+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var o,p,g;r.beginPath(),r.setStrokeStyle(e.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),o=[].concat(t.chartData.yAxisData.ranges[e.index]),p=o.pop(),g=o.shift();var y=e.data,v=Y(y,p,g,s,c,t,A,i,n);u.push(v);var B=P(v,e);if("dash"==e.lineType){var x=e.dashLength?e.dashLength:8;x*=t.pix,r.setLineDash([x,x])}r.beginPath();var w=e.color;if("none"!==i.linearType&&e.linearColor&&e.linearColor.length>0){for(var m=r.createLinearGradient(t.chartData.xAxisData.startX,t.height/2,t.chartData.xAxisData.endX,t.height/2),b=0;b0?r.setShadow(e.setShadow[0],e.setShadow[1],e.setShadow[2],e.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(i.width),B.forEach((function(e,t){if(1===e.length)r.moveTo(e[0].x,e[0].y);else{r.moveTo(e[0].x,e[0].y);var A=0;if("curve"===i.type)for(var n=0;nf&&(r.moveTo(a.x,a.y),A=1),n>0&&a.x>f&&a.xf&&(r.moveTo(l.x,l.y),A=1),s>0&&l.x>f&&l.xf&&(r.moveTo(u.x,u.y),A=1),c>0&&u.x>f&&u.x4&&void 0!==arguments[4]?arguments[4]:1,i=(o({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=i.xAxisPoints,s=i.eachSpacing,l=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*s+t.area[3],t.xAxis.itemCount),e.forEach((function(e,i){var o,l,c;o=[].concat(t.chartData.yAxisData.ranges[e.index]),l=o.pop(),c=o.shift();var u=e.data,f=J(u,l,c,a,s,t,A,n);r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(e.color),r.setLineWidth(1*t.pix);var d=e.pointShape;if("diamond"===d)f.forEach((function(e,t){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))}));else if("circle"===d)f.forEach((function(e,A){null!==e&&(r.moveTo(e.x+2.5*t.pix,e.y),r.arc(e.x,e.y,3*t.pix,0,2*Math.PI,!1))}));else if("square"===d)f.forEach((function(e,t){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===d)f.forEach((function(e,t){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))}));else if("triangle"===d)return;r.closePath(),r.fill(),r.stroke()})),!1!==t.dataLabel&&1===n&&e.forEach((function(e,i){var o,l,c;o=[].concat(t.chartData.yAxisData.ranges[e.index]),l=o.pop(),c=o.shift();var u=e.data,f=J(u,l,c,a,s,t,A,n);le(f,e,A,r,t)})),r.restore(),{xAxisPoints:a,calPoints:l,eachSpacing:s}}(c,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var n=function(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*c+t.area[3],t.xAxis.itemCount),e.forEach((function(e,a){var o,u,f;o=[].concat(t.chartData.yAxisData.ranges[e.index]),u=o.pop(),f=o.shift();var d=e.data,h=J(d,u,f,s,c,t,A,n);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(i.border*t.pix),r.setFillStyle(l(e.color,i.opacity)),h.forEach((function(e,A){r.moveTo(e.x+e.r,e.y),r.arc(e.x,e.y,e.r*t.pix,0,2*Math.PI,!1)})),r.closePath(),r.fill(),r.stroke(),!1!==t.dataLabel&&1===n&&h.forEach((function(n,i){r.beginPath();var a=e.textSize*t.pix||A.fontSize;r.setFontSize(a),r.setFillStyle(e.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(n.t),n.x,n.y+a/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:c}}(c,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var i=function(e,t,A,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{width:c/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),f=o({},{opacity:.2,gradient:!1},t.extra.mix.area),h=o({},{width:2},t.extra.mix.line),p=t.height-t.area[2],g=[],v=0,B=0;e.forEach((function(e,t){"column"==e.type&&(B+=1)})),r.save();var x=-2,w=s.length+2,m=0,b=t.width+c;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),x=Math.floor(-t._scrollDistance_/c)-2,w=x+t.xAxis.itemCount+4,m=-t._scrollDistance_-2*c+t.area[3],b=m+(t.xAxis.itemCount+4)*c),u.customColor=y(u.linearType,u.customColor,e,A),e.forEach((function(e,a){var o,y,C;o=[].concat(t.chartData.yAxisData.ranges[e.index]),y=o.pop(),C=o.shift();var F=e.data,Q=J(F,y,C,s,c,t,A,i);if(g.push(Q),"column"==e.type){Q=N(Q,c,B,v,0,t);for(var U=0;Ux&&UG?G:H,K=K>G?G:K,R=R>G?G:R,j=j>G?G:j,H=H<0?0:H,K=K<0?0:K,R=R<0?0:R,j=j<0?0:j,r.arc(k+H,L+H,H,-Math.PI,-Math.PI/2),r.arc(k+D-K,L+K,K,-Math.PI/2,0),r.arc(k+D-R,L+O-R,R,0,Math.PI/2),r.arc(k+j,L+O-j,j,Math.PI/2,Math.PI)}else r.moveTo(E,S.y),r.lineTo(E+S.width,S.y),r.lineTo(E+S.width,t.height-t.area[2]),r.lineTo(E,t.height-t.area[2]),r.lineTo(E,S.y),r.setLineWidth(1),r.setStrokeStyle(I);r.setFillStyle(T),r.closePath(),r.fill()}}v+=1}if("area"==e.type)for(var V=P(Q,e),W=0;W1){var X=z[0],Y=z[z.length-1];r.moveTo(X.x,X.y);var $=0;if("curve"===e.style)for(var Z=0;Zm&&(r.moveTo(ee.x,ee.y),$=1),Z>0&&ee.x>m&&ee.xm&&(r.moveTo(re.x,re.y),$=1),Ae>0&&re.x>m&&re.xm&&(r.moveTo(s.x,s.y),a=1),o>0&&s.x>m&&s.xm&&(r.moveTo(u.x,u.y),a=1),c>0&&u.x>m&&u.x4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},t.extra.column),f=[];r.save();var d=-2,h=s.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),d=Math.floor(-t._scrollDistance_/c)-2,h=d+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&ve(t.tooltip.offset.x,t,0,r,c),u.customColor=y(u.linearType,u.customColor,e,A),e.forEach((function(a,o){var p,g,y;p=[].concat(t.chartData.yAxisData.ranges[a.index]),g=p.pop(),y=p.shift();var v=t.height-t.area[0]-t.area[2],B=v*(0-g)/(y-g),x=t.height-Math.round(B)-t.area[2];a.zeroPoints=x;var w=a.data;switch(u.type){case"group":var m=$(w,g,y,s,c,t,A,x,i),b=te(w,g,y,s,c,t,A,o,e,i);f.push(b),m=N(m,c,e.length,o,0,t);for(var C=0;Cd&&Cx?x:F.y,_=F.width,k=Math.abs(x-F.y);u.barBorderCircle&&(u.barBorderRadius=[_/2,_/2,0,0]),F.y>x&&(u.barBorderRadius=[0,0,_/2,_/2]);var L=(0,n.default)(u.barBorderRadius,4),D=L[0],O=L[1],M=L[2],H=L[3],K=Math.min(_/2,k/2);D=D>K?K:D,O=O>K?K:O,M=M>K?K:M,H=H>K?K:H,D=D<0?0:D,O=O<0?0:O,M=M<0?0:M,H=H<0?0:H,r.arc(I+D,P+D,D,-Math.PI,-Math.PI/2),r.arc(I+_-O,P+O,O,-Math.PI/2,0),r.arc(I+_-M,P+k-M,M,0,Math.PI/2),r.arc(I+H,P+k-H,H,Math.PI/2,Math.PI)}else r.moveTo(Q,F.y),r.lineTo(Q+F.width,F.y),r.lineTo(Q+F.width,x),r.lineTo(Q,x),r.lineTo(Q,F.y),r.setLineWidth(1),r.setStrokeStyle(E);r.setFillStyle(S),r.closePath(),r.fill()}}break;case"stack":m=te(w,g,y,s,c,t,A,o,e,i);f.push(m),m=W(m,c,e.length,0,0,t);for(var R=0;Rd&&R0&&(U-=G),r.setFillStyle(S),r.moveTo(Q,j.y),r.fillRect(Q,j.y,j.width,U),r.closePath(),r.fill()}}break;case"meter":m=J(w,g,y,s,c,t,A,i);f.push(m),m=V(m,c,e.length,o,0,t,u.meterBorder);for(var z=0;zd&&z0&&(r.setStrokeStyle(a.color),r.setLineWidth(u.meterBorder*t.pix)),0==o?r.setFillStyle(u.meterFillColor):r.setFillStyle(q.color||a.color);Q=q.x-q.width/2,U=t.height-q.y-t.area[2];if(u.barBorderRadius&&4===u.barBorderRadius.length||!0===u.barBorderCircle){var X=Q,Y=q.y,Z=q.width,ee=x-q.y;u.barBorderCircle&&(u.barBorderRadius=[Z/2,Z/2,0,0]);var Ae=(0,n.default)(u.barBorderRadius,4),re=Ae[0],ne=Ae[1],ie=Ae[2],ae=Ae[3],oe=Math.min(Z/2,ee/2);re=re>oe?oe:re,ne=ne>oe?oe:ne,ie=ie>oe?oe:ie,ae=ae>oe?oe:ae,re=re<0?0:re,ne=ne<0?0:ne,ie=ie<0?0:ie,ae=ae<0?0:ae,r.arc(X+re,Y+re,re,-Math.PI,-Math.PI/2),r.arc(X+Z-ne,Y+ne,ne,-Math.PI/2,0),r.arc(X+Z-ie,Y+ee-ie,ie,0,Math.PI/2),r.arc(X+ae,Y+ee-ae,ae,Math.PI/2,Math.PI),r.fill()}else r.moveTo(Q,q.y),r.lineTo(Q+q.width,q.y),r.lineTo(Q+q.width,x),r.lineTo(Q,x),r.lineTo(Q,q.y),r.fill();0==o&&u.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(n,a){var o,l,f;o=[].concat(t.chartData.yAxisData.ranges[n.index]),l=o.pop(),f=o.shift();var d=n.data;switch(u.type){case"group":var h=$(d,l,f,s,c,t,A,i);h=N(h,c,e.length,a,0,t),ce(h,n,A,r,t);break;case"stack":h=te(d,l,f,s,c,t,A,a,e,i);ce(h,n,A,r,t);break;case"meter":h=J(d,l,f,s,c,t,A,i);ce(h,n,A,r,t);break}})),r.restore(),{xAxisPoints:s,calPoints:f,eachSpacing:c}}(c,t,A,r,e),a=i.xAxisPoints,s=i.calPoints,f=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=f,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),be(0,t,0,r),me(u,t,A,r);var i=function(e,t,A,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=o({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);u.widthRatio=u.widthRatio<=0?0:u.widthRatio,u.widthRatio=u.widthRatio>=2?2:u.widthRatio,r.save();var f,d,h,p=-2,g=s.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=Math.floor(-t._scrollDistance_/c)-2,g=p+t.xAxis.itemCount+4),u.customColor=y(u.linearType,u.customColor,e,A),f=[].concat(t.chartData.yAxisData.ranges[0]),d=f.pop(),h=f.shift();var v=t.height-t.area[0]-t.area[2],B=v*(0-d)/(h-d),x=t.height-Math.round(B)-t.area[2],w=Z(e,d,h,s,c,t,u,x,i);switch(u.type){case"bar":for(var m=0;mp&&mx?x:b.y,I=b.width,P=Math.abs(x-b.y);u.barBorderCircle&&(u.barBorderRadius=[I/2,I/2,0,0]),b.y>x&&(u.barBorderRadius=[0,0,I/2,I/2]);var _=(0,n.default)(u.barBorderRadius,4),k=_[0],L=_[1],D=_[2],O=_[3],M=Math.min(I/2,P/2);k=k>M?M:k,L=L>M?M:L,D=D>M?M:D,O=O>M?M:O,k=k<0?0:k,L=L<0?0:L,D=D<0?0:D,O=O<0?0:O,r.arc(E+k,T+k,k,-Math.PI,-Math.PI/2),r.arc(E+I-L,T+L,L,-Math.PI/2,0),r.arc(E+I-D,T+P-D,D,0,Math.PI/2),r.arc(E+O,T+P-O,O,Math.PI/2,Math.PI)}else r.moveTo(C,b.y),r.lineTo(C+b.width,b.y),r.lineTo(C+b.width,x),r.lineTo(C,x),r.lineTo(C,b.y);r.setStrokeStyle(U),r.setFillStyle(Q),u.borderWidth>0&&(r.setLineWidth(u.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var H=0;Hp&&H0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var R=0;Rp&&R0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var N=0;Np&&N0&&(r.setLineWidth(u.borderWidth*t.pix),r.stroke()),r.fill()}}break}if(!1!==t.dataLabel&&1===i){var V,W,z;V=[].concat(t.chartData.yAxisData.ranges[0]),W=V.pop(),z=V.shift();w=Z(e,W,z,s,c,t,u,x,i);ue(w,e,A,r,t,x)}return r.restore(),{xAxisPoints:s,calPoints:w,eachSpacing:c}}(c,t,A,r,e),a=i.xAxisPoints,s=i.calPoints,f=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=f,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Me({timing:t.timing,duration:p,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),me(u,t,A,r);var i=function(e,t,A,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=[],s=(t.height-t.area[0]-t.area[2])/t.categories.length,c=0;cd&&wO?O:_,k=k>O?O:k,L=L>O?O:L,D=D>O?O:D,_=_<0?0:_,k=k<0?0:k,L=L<0?0:L,D=D<0?0:D,r.arc(S+D,T+D,D,-Math.PI,-Math.PI/2),r.arc(m.x-_,T+_,_,-Math.PI/2,0),r.arc(m.x-k,T+E-k,k,0,Math.PI/2),r.arc(S+L,T+E-L,L,Math.PI/2,Math.PI)}else r.moveTo(b,C),r.lineTo(m.x,C),r.lineTo(m.x,C+m.width),r.lineTo(b,C+m.width),r.lineTo(b,C),r.setLineWidth(1),r.setStrokeStyle(Q);r.setFillStyle(F),r.closePath(),r.fill()}}break;case"stack":B=Ae(v,g,y,a,s,t,A,c,e,i);f.push(B),B=z(B,s,e.length,0,0,t);for(var M=0;Md&&M4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},t.extra.area),a=t.chartData.xAxisData,s=a.xAxisPoints,c=a.eachSpacing,u=t.height-t.area[2],f=[];r.save();var h=0,p=t.width+c;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=-t._scrollDistance_-2*c+t.area[3],p=h+(t.xAxis.itemCount+4)*c),e.forEach((function(e,a){var o,g,y;o=[].concat(t.chartData.yAxisData.ranges[e.index]),g=o.pop(),y=o.shift();var v=e.data,B=J(v,g,y,s,c,t,A,n);f.push(B);for(var x=P(B,e),w=0;w1){var C=m[0],F=m[m.length-1];r.moveTo(C.x,C.y);var Q=0;if("curve"===i.type)for(var U=0;Uh&&(r.moveTo(S.x,S.y),Q=1),U>0&&S.x>h&&S.xh&&(r.moveTo(I.x,I.y),Q=1),T>0&&I.x>h&&I.xh&&(r.moveTo(k.x,k.y),Q=1),_>0&&k.x>h&&k.xh&&(r.moveTo(H.x,H.y),O=1),M>0&&H.x>h&&H.xh&&(r.moveTo(j.x,j.y),O=1),R>0&&j.x>h&&j.xh&&(r.moveTo(G.x,G.y),O=1),N>0&&G.x>h&&G.x4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},t.extra.rose);0==A.pieChartLinePadding&&(A.pieChartLinePadding=i.activeRadius*t.pix);var a={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},s=Math.min((t.width-t.area[1]-t.area[3])/2-A.pieChartLinePadding-A.pieChartTextPadding-A._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-A.pieChartLinePadding-A.pieChartTextPadding);s=s<10?10:s;var c=i.minRadius||.5*s;s4&&void 0!==arguments[4]?arguments[4]:1,i=o({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},t.extra.radar),a=F(t.categories.length),s={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},c=(t.width-t.area[1]-t.area[3])/2,u=(t.height-t.area[0]-t.area[2])/2,f=Math.min(c-(C(t.categories,A.fontSize,r)+A.radarLabelTextMargin),u-A.radarLabelTextMargin);f-=A.radarLabelTextMargin*t.pix,f=f<10?10:f,f=i.radius?i.radius:f,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),a.forEach((function(e,t){var A=h(f*Math.cos(e),f*Math.sin(e),s);r.moveTo(s.x,s.y),t%i.gridEval==0&&r.lineTo(A.x,A.y)})),r.stroke(),r.closePath();for(var d=function(e){var A={};if(r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),"radar"==i.gridType)a.forEach((function(t,n){var a=h(f/i.gridCount*e*Math.cos(t),f/i.gridCount*e*Math.sin(t),s);0===n?(A=a,r.moveTo(a.x,a.y)):r.lineTo(a.x,a.y)})),r.lineTo(A.x,A.y);else{var n=h(f/i.gridCount*e*Math.cos(1.5),f/i.gridCount*e*Math.sin(1.5),s);r.arc(s.x,s.y,s.y-n.y,0,2*Math.PI,!1)}r.stroke(),r.closePath()},p=1;p<=i.gridCount;p++)d(p);i.customColor=y(i.linearType,i.customColor,e,A);var g=L(a,s,f,e,t,n);if(g.forEach((function(A,n){r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(A.color);var a,o=l(A.color,i.opacity);"custom"==i.linearType&&(a=r.createCircularGradient?r.createCircularGradient(s.x,s.y,f):r.createRadialGradient(s.x,s.y,0,s.x,s.y,f),a.addColorStop(0,l(i.customColor[e[n].linearIndex],i.opacity)),a.addColorStop(1,l(A.color,i.opacity)),o=a);if(r.setFillStyle(o),A.data.forEach((function(e,t){0===t?r.moveTo(e.position.x,e.position.y):r.lineTo(e.position.x,e.position.y)})),r.closePath(),r.fill(),!0===i.border&&r.stroke(),r.closePath(),!1!==t.dataPointShape){var c=A.data.map((function(e){return e.position}));ae(c,A.color,A.pointShape,r,t)}})),!0===i.axisLabel){var v=Math.max(i.max,Math.max.apply(null,x(e))),B=f/i.gridCount,w=t.fontSize*t.pix;r.setFontSize(w),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(p=0;p4&&void 0!==arguments[4]?arguments[4]:1,s=o({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},t.extra.arcbar);e=H(e,s,a),n=s.centerX||s.centerY?{x:s.centerX?s.centerX:t.width/2,y:s.centerY?s.centerY:t.height/2}:{x:t.width/2,y:t.height/2},s.radius?i=s.radius:(i=Math.min(n.x,n.y),i-=5*t.pix,i-=s.width/2),i=i<10?10:i,s.customColor=y(s.linearType,s.customColor,e,A);for(var c=0;c5&&void 0!==arguments[5]?arguments[5]:1,a=o({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},A.extra.gauge);void 0==a.oldAngle&&(a.oldAngle=a.startAngle),void 0==a.oldData&&(a.oldData=0),e=R(e,a.startAngle,a.endAngle);var s={x:A.width/2,y:A.height/2},c=Math.min(s.x,s.y);c-=5*A.pix,c-=a.width/2,c=c<10?10:c;var u=c-a.width,f=0;if("progress"==a.type){var d=c-3*a.width;n.beginPath();var h=n.createLinearGradient(s.x,s.y-d,s.x,s.y+d);h.addColorStop("0",l(t[0].color,.3)),h.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(h),n.arc(s.x,s.y,d,0,2*Math.PI,!1),n.fill(),n.setLineWidth(a.width),n.setStrokeStyle(l(t[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(s.x,s.y,u,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),n.stroke(),f=a.endAnglex/v?n.setStrokeStyle(l(t[0].color,1)):n.setStrokeStyle(l(t[0].color,.3)),n.setLineWidth(3*A.pix),n.moveTo(g,0),n.lineTo(y,0),n.stroke(),n.rotate(p*Math.PI);n.restore(),t=K(t,a,i),n.setLineWidth(a.width),n.setStrokeStyle(t[0].color),n.setLineCap("round"),n.beginPath(),n.arc(s.x,s.y,u,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),n.stroke();var w=c-2.5*a.width;n.save(),n.translate(s.x,s.y),n.rotate((t[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(a.width/3);var m=n.createLinearGradient(0,.6*-w,0,.6*w);m.addColorStop("0",l("#FFFFFF",0)),m.addColorStop("0.5",l(t[0].color,1)),m.addColorStop("1.0",l("#FFFFFF",0)),n.setStrokeStyle(m),n.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(t[0].color),n.setFillStyle(t[0].color),n.moveTo(-w-a.width/3/2,-4),n.lineTo(-w-a.width/3/2-4,0),n.lineTo(-w-a.width/3/2,4),n.lineTo(-w-a.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(a.width),n.setLineCap("butt");for(var b=0;b5&&void 0!==arguments[5]?arguments[5]:1,a=o({},{color:{},average:{}},A.extra.candle);a.color=o({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},a.color),a.average=o({},{show:!1,name:[],day:[],color:r.color},a.average),A.extra.candle=a;var s=A.chartData.xAxisData,l=s.xAxisPoints,c=s.eachSpacing,u=[];n.save();var f=-2,h=l.length+2,p=0,g=A.width+c;return A._scrollDistance_&&0!==A._scrollDistance_&&!0===A.enableScroll&&(n.translate(A._scrollDistance_,0),f=Math.floor(-A._scrollDistance_/c)-2,h=f+A.xAxis.itemCount+4,p=-A._scrollDistance_-2*c+A.area[3],g=p+(A.xAxis.itemCount+4)*c),(a.average.show||t)&&t.forEach((function(e,t){var a,o,s;a=[].concat(A.chartData.yAxisData.ranges[e.index]),o=a.pop(),s=a.shift();for(var u=e.data,f=J(u,o,s,l,c,A,r,i),h=P(f,e),y=0;yp&&(n.moveTo(w.x,w.y),B=1),x>0&&w.x>p&&w.xf&&v0?(n.setStrokeStyle(a.color.upLine),n.setFillStyle(a.color.upFill),n.setLineWidth(1*A.pix),n.moveTo(B[3].x,B[3].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[1].x-c/4,B[1].y),n.lineTo(B[0].x-c/4,B[0].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[2].x,B[2].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[0].x+c/4,B[0].y),n.lineTo(B[1].x+c/4,B[1].y),n.lineTo(B[1].x,B[1].y),n.moveTo(B[3].x,B[3].y)):(n.setStrokeStyle(a.color.downLine),n.setFillStyle(a.color.downFill),n.setLineWidth(1*A.pix),n.moveTo(B[3].x,B[3].y),n.lineTo(B[0].x,B[0].y),n.lineTo(B[0].x-c/4,B[0].y),n.lineTo(B[1].x-c/4,B[1].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[2].x,B[2].y),n.lineTo(B[1].x,B[1].y),n.lineTo(B[1].x+c/4,B[1].y),n.lineTo(B[0].x+c/4,B[0].y),n.lineTo(B[0].x,B[0].y),n.moveTo(B[3].x,B[3].y)),n.closePath(),n.fill(),n.stroke()}})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:c}}(c,v,t,A,r,e),i=n.xAxisPoints,a=n.calPoints,s=n.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Ce(0,t,A,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Fe(v?0:t.series,t,A,r,t.chartData),we(t,A,r,e),De(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break}}function Ke(){this.events={}}Me.prototype.stop=function(){this.isStop=!0},Ke.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Ke.prototype.delEventListener=function(e){this.events[e]=[]},Ke.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),A=0;A0&&void 0!==arguments[0]?arguments[0]:{};this.opts=o({},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 A=ne(this.opts.series,this.opts,this.config,this.context),r=A.yAxisWidth;this.config.yAxisWidth=r;var n=0,i=q(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,s=i.startX,l=i.endX,c=i.eachSpacing,u=c*(a.length-1),f=l-s;n=f-u,this.scrollOption={currentOffset:n,startTouchX:n,distance:0,lastMoveTime:0},this.opts._scrollDistance_=n;break}He.call(this,this.opts.type,this.opts,this.config,this.context)},Re.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var t=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var A=ne(this.opts.series,this.opts,this.config,this.context),r=A.yAxisWidth;this.config.yAxisWidth=r;var n=0,i=q(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,o=i.startX,s=i.endX,l=i.eachSpacing,c=l*t,f=s-o,d=f-l*(a.length-1);n=f/2-c,n>0&&(n=0),n=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var d=0,h=q(this.opts.categories,this.opts,this.config),p=h.xAxisPoints,g=h.startX,y=h.endX,v=h.eachSpacing,B=v*this.scrollOption.moveCurrent1,x=y-g,w=x-v*(p.length-1);d=-B+Math.min(r[0].x,r[1].x)-this.opts.area[3]-v,d>0&&(d=0),d2*Math.PI&&(e-=2*Math.PI),e},a=Math.atan2(t.center.y-e.y,e.x-t.center.x);a*=-1,a<0&&(a+=2*Math.PI);var o=t.angleList.map((function(e){return e=i(-1*e),e}));o.forEach((function(e,t){var A=i(e-r/2),o=i(e+r/2);o=A&&a<=o||a+2*Math.PI>=A&&a+2*Math.PI<=o)&&(n=t)}))}return n}({x:A.x,y:A.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(e,t){for(var A=-1,r=0,n=t.series.length;ri.funnelArea[0]&&e.xi.funnelArea[1]&&e.yi.area[0]&&e.xi.area[1]&&e.y4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=A.chartData.eachSpacing/2,o=A.chartData.yAxisPoints;return t&&t.length>0&&T(e,A,r)&&o.forEach((function(t,A){e.y+n+a>t&&(i.index=A)})),i}({x:A.x,y:A.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(e,t,A,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=A.chartData.eachSpacing/2,o=[];if(t&&t.length>0){if(A.categories){for(var s=1;st&&(i.index=A)}));else{for(var l=Array(t.length),c=0;ct.start.x&&e.xt.start.y&&e.yc[0]-0&&e.xc[1]-0&&e.y1&&void 0!==arguments[1]?arguments[1]:{},A=null;if(A=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],A){m(A,this.opts,e);var r=this.getLegendDataIndex(e);r>=0&&("candle"==this.opts.type?this.opts.seriesMA[r].show=!this.opts.seriesMA[r].show:this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,He.call(this,this.opts.type,this.opts,this.config,this.context))}},Re.prototype.showToolTip=function(e){var t=this,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r||console.log("[uCharts] 未获取到event坐标信息");var n=m(r,this.opts,e),i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1||l.length>0){var c=b(this.opts.series,l,s.group);if(0!==c.length){var u=Q(c,this.opts,l,s.group,this.opts.categories,A),f=u.textList,d=u.offset;d.y=n.y,a.tooltip={textList:void 0!==A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l,group:s.group}}}He.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e).index:A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},a._series_[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,a):c.name+": "+c.data,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:a.chartData.calPoints[l].x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}He.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1||l.length>0){c=b(this.opts.series,l,s.group);if(0!==c.length){u=Q(c,this.opts,l,s.group,this.opts.categories,A),f=u.textList,d=u.offset;d.x=n.x,a.tooltip={textList:void 0!==A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1){i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1}),c=b(this.opts.series,l);if(0!==c.length){var h=U(c,this.opts,l,this.opts.categories,A);f=h.textList,d=h.offset;d.y=n.y,a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e),l=void 0==A.index?s.index:A.index;if(l>-1){i=this.scrollOption.currentOffset,a=o({},this.opts,{_scrollDistance_:i,animation:!1}),c=b(this.opts.series,l);if(0!==c.length){u=S(this.opts.series[0].data,c,this.opts,l,this.opts.categories,this.opts.extra.candle,A),f=u.textList,d=u.offset;d.y=n.y,a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},a._series_[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,a):c.name+": "+c.data,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}He.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},this.opts.series[l]);c.name=c.properties.name;f=[{text:A.formatter?A.formatter(c,void 0,l,this.opts):c.name,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=o({},this.opts.series[l]),f=[{text:A.formatter?A.formatter(c,void 0,l,this.opts):c.name,color:c.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?c.legendShape:this.opts.extra.tooltip.legendShape}],d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){l=void 0==A.index?this.getCurrentDataIndex(e):A.index;if(l>-1){a=o({},this.opts,{animation:!1}),c=b(this.opts.series,l);if(0!==c.length){f=c.map((function(e){return{text:A.formatter?A.formatter(e,t.opts.categories[l],l,t.opts):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.opts.extra.tooltip.legendShape?e.legendShape:t.opts.extra.tooltip.legendShape}})),d={x:n.x,y:n.y};a.tooltip={textList:A.textList?A.textList:f,offset:void 0!==A.offset?A.offset:d,option:A,index:l}}}He.call(this,a.type,a,this.config,this.context)}},Re.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=o({},this.opts,{_scrollDistance_:e,animation:!1});He.call(this,this.opts.type,t,this.config,this.context)},Re.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var A=m(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=A.x)},Re.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.touchMoveLimit||60,A=Date.now(),r=A-this.scrollOption.lastMoveTime;if(!(r0&&void 0!==arguments[0]?arguments[0]:{};(0,i.default)(this,e),(0,u.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,f.default)(h(h({},c.default),t)),this.interceptors={request:new s.default,response:new s.default}}return(0,a.default)(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,l.default)(this.config,e);var t=[o.default,void 0],A=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)A=A.then(t.shift(),t.shift());return A}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware(h({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"POST"},A))}},{key:"put",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"PUT"},A))}},{key:"delete",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"DELETE"},A))}},{key:"connect",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"CONNECT"},A))}},{key:"head",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"HEAD"},A))}},{key:"options",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"OPTIONS"},A))}},{key:"trace",value:function(e,t){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"TRACE"},A))}},{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="UPLOAD",this.middleware(t)}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="DOWNLOAD",this.middleware(t)}}]),e}();t.default=p},ee3c:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cellGroup:{title:"",border:!0,customStyle:{}}}},f090:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getOrderRecordsList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqOrderRecords"),e)},getOrderRecordInfo:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqOrderRecords/").concat(e))}};t.default=a},f17a:function(e){e.exports=JSON.parse('{"uni-calender.ok":"ok","uni-calender.cancel":"cancel","uni-calender.today":"today","uni-calender.MON":"MON","uni-calender.TUE":"TUE","uni-calender.WED":"WED","uni-calender.THU":"THU","uni-calender.FRI":"FRI","uni-calender.SAT":"SAT","uni-calender.SUN":"SUN"}')},f274:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}}},f352:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=g,t.minus=d,t.plus=f,t.round=p,t.times=u;var n=r(A("c70d")),i=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function o(e){var t=e.toString().split(/[eE]/),A=(t[0].split(".")[1]||"").length-+(t[1]||0);return A>0?A:0}function s(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=o(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function l(e){i&&(e>Number.MAX_SAFE_INTEGER||e2)return c(t,u);var r=t[0],n=t[1],i=s(r),a=s(n),f=o(r)+o(n),d=i*a;return l(d),d/Math.pow(10,f)}function f(){for(var e=arguments.length,t=new Array(e),A=0;A2)return c(t,f);var r=t[0],n=t[1],i=Math.pow(10,Math.max(o(r),o(n)));return(u(r,i)+u(n,i))/i}function d(){for(var e=arguments.length,t=new Array(e),A=0;A2)return c(t,d);var r=t[0],n=t[1],i=Math.pow(10,Math.max(o(r),o(n)));return(u(r,i)-u(n,i))/i}function h(){for(var e=arguments.length,t=new Array(e),A=0;A2)return c(t,h);var r=t[0],n=t[1],i=s(r),f=s(n);return l(i),l(f),u(i/f,a(Math.pow(10,o(n)-o(r))))}function p(e,t){var A=Math.pow(10,t),r=h(Math.round(Math.abs(u(e,A))),A);return e<0&&0!==r&&(r=u(r,-1)),r}function g(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var y={times:u,plus:f,minus:d,divide:h,round:p,enableBoundaryChecking:g};t.default=y},f4c7:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeAction:{autoClose:!0}}},f509:function(e,t,A){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={props:{model:{type:Object,default:e.$u.props.form.model},rules:{type:[Object,Function,Array],default:e.$u.props.form.rules},errorType:{type:String,default:e.$u.props.form.errorType},borderBottom:{type:Boolean,default:e.$u.props.form.borderBottom},labelPosition:{type:String,default:e.$u.props.form.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.form.labelWidth},labelAlign:{type:String,default:e.$u.props.form.labelAlign},labelStyle:{type:Object,default:e.$u.props.form.labelStyle}}};t.default=A}).call(this,A("df3c")["default"])},f591:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={getStoreList:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx"),e)},getStoreDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx/").concat(e))},updateStore:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx/").concat(e),t)},getStoreSelector:function(){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqMdxx/Selector"))}};t.default=a},f6b9:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={fade:{enter:{opacity:0},"enter-to":{opacity:1},leave:{opacity:1},"leave-to":{opacity:0}},"fade-up":{enter:{opacity:0,transform:"translateY(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(100%)"}},"fade-down":{enter:{opacity:0,transform:"translateY(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(-100%)"}},"fade-left":{enter:{opacity:0,transform:"translateX(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(-100%)"}},"fade-right":{enter:{opacity:0,transform:"translateX(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(100%)"}},"slide-up":{enter:{transform:"translateY(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(100%)"}},"slide-down":{enter:{transform:"translateY(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(-100%)"}},"slide-left":{enter:{transform:"translateX(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(-100%)"}},"slide-right":{enter:{transform:"translateX(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(100%)"}},zoom:{enter:{transform:"scale(0.95)"},"enter-to":{transform:"scale(1)"},leave:{transform:"scale(1)"},"leave-to":{transform:"scale(0.95)"}},"fade-zoom":{enter:{opacity:0,transform:"scale(0.95)"},"enter-to":{opacity:1,transform:"scale(1)"},leave:{opacity:1,transform:"scale(1)"},"leave-to":{opacity:0,transform:"scale(0.95)"}}}},f7c5:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}}},f85d:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}}},f896:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("abe7")),i=r(A("7288")),a={submitConsume:function(e){return n.default.post("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk"),e)},getConsumeList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk"),e)},getConsumeDetail:function(e){return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk/").concat(e))},updateConsume:function(e,t){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk/").concat(e),t)},deleteConsume:function(e){return n.default.del("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk/").concat(e))},getConsumeStatistics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("".concat(i.default.getApiBaseUrl(),"/api/Extend/LqXhHyhk/statistics"),e)},cancelConsume:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhhyhk/CancelCardUsageRecord/").concat(e)+"?remarks="+t)},updateConsumeForNoDelete:function(e){return n.default.put("".concat(i.default.getApiBaseUrl(),"/api/Extend/lqxhhyhk/").concat(e.id),e)}};t.default=a},f9fe:function(e,t,A){"use strict";var r=A("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(A("a865")),i={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:n.default.mainColor,autoBack:!1,titleStyle:""}};t.default=i},fb71:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}}}}]);