(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["store-page-tuangouquan-coupon"],{"08a4":function(t,i,e){"use strict";e.r(i);var o=e("f069"),r=e("436a");for(var n in r)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return r[t]}))}(n);var s=e("828b"),a=Object(s["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);i["default"]=a.exports},"1d56":function(t,i,e){var o=e("a609");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=e("967d").default;r("50213f9a",o,!0,{sourceMap:!1,shadowMode:!1})},"1e87":function(t,i,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.deepClone=function t(i){if([null,void 0,NaN,!1].includes(i))return i;if("object"!==(0,r.default)(i)&&"function"!==typeof i)return i;var e=function(t){return"[object Array]"===Object.prototype.toString.call(t)}(i)?[]:{};for(var o in i)i.hasOwnProperty(o)&&(e[o]="object"===(0,r.default)(i[o])?t(i[o]):i[o]);return e},i.getUUid=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(e=e||o.length,t)for(var n=0;nr[0]&&s[1]>12&15),o+=String.fromCharCode(128|i>>6&63)):o+=String.fromCharCode(192|i>>6&31),o+=String.fromCharCode(128|i>>0&63));return o},m=function(t){var i=u(Number(t.width)),e=u(Number(t.height)),o=p("pixelRatio"),r=i*o,n=e*o;return"MP-ALIPAY"==t.source&&(i=r,e=n),console.log(i,e),new Promise((function(o){"[object String]"==Object.prototype.toString.call(t.id)?uni.canvasToTempFilePath({canvasId:t.id,width:i,height:e,destWidth:r,destHeight:n,fileType:t.type||"jpg",quality:t.quality||1,complete:function(t){o(t)}},t.ctx):"[object Object]"==Object.prototype.toString.call(t.id)&&t.id.toTempFilePath(0,0,i,e,r,n,t.type||"png",1,(function(t){o(t)}))}))},w=function(t,i,e,o){return e=t.createLinearGradient(0,0,i,e),1===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(1,o[0])),2===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(1,o[1])),3===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.5,o[1]),e.addColorStop(1,o[2])),4===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.35,o[1]),e.addColorStop(.7,o[2]),e.addColorStop(1,o[3])),5===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.35,o[1]),e.addColorStop(.6,o[2]),e.addColorStop(.8,o[3]),e.addColorStop(1,o[4])),6===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.25,o[1]),e.addColorStop(.45,o[2]),e.addColorStop(.65,o[3]),e.addColorStop(.85,o[4]),e.addColorStop(1,o[5])),7===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.15,o[1]),e.addColorStop(.35,o[2]),e.addColorStop(.45,o[3]),e.addColorStop(.65,o[4]),e.addColorStop(.85,o[5]),e.addColorStop(1,o[6])),8===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.1,o[1]),e.addColorStop(.25,o[2]),e.addColorStop(.45,o[3]),e.addColorStop(.65,o[4]),e.addColorStop(.85,o[5]),e.addColorStop(.9,o[6]),e.addColorStop(1,o[7])),9===o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.2,o[1]),e.addColorStop(.3,o[2]),e.addColorStop(.5,o[3]),e.addColorStop(.6,o[4]),e.addColorStop(.7,o[5]),e.addColorStop(.8,o[6]),e.addColorStop(.9,o[7]),e.addColorStop(1,o[8])),10<=o.length&&(e.addColorStop(0,o[0]),e.addColorStop(.1,o[1]),e.addColorStop(.2,o[2]),e.addColorStop(.3,o[3]),e.addColorStop(.4,o[4]),e.addColorStop(.5,o[5]),e.addColorStop(.6,o[6]),e.addColorStop(.7,o[7]),e.addColorStop(.85,o[8]),e.addColorStop(1,o[9])),e},k=function(){function t(t){void 0===t&&(t=2),this.strinbuf=[],this.eccbuf=[],this.qrframe=[],this.framask=[],this.rlens=[],this.genpoly=[],this.ecclevel=2,this.N1=3,this.N2=3,this.N3=40,this.N4=10,this.neccblk2=0,this.width=0,this.neccblk1=0,this.datablkw=0,this.eccblkwid=0,this.ecclevel=t}return t.prototype.setmask=function(t,i){var e=null;i>=1,this.framask[e+=t]=1},t.prototype.getWidth=function(){return this.width},t.prototype.putalign=function(t,i){this.qrframe[t+this.width*i]=1;for(var e=-2;e<2;e++)this.qrframe[t+e+this.width*(i-2)]=1,this.qrframe[t-2+this.width*(i+e+1)]=1,this.qrframe[t+2+this.width*(i+e)]=1,this.qrframe[t+e+1+this.width*(i+2)]=1;for(e=0;e<2;e++)this.setmask(t-1,i+e),this.setmask(t+1,i-e),this.setmask(t-e,i-1),this.setmask(t+e,i+1)},t.prototype.modnn=function(t){for(;255<=t;)t=((t-=255)>>8)+(255&t);return t},t.prototype.appendrs=function(t,i,e,o){for(var r,n=0;n>=1,this.framask[e+=t]},t.prototype.badruns=function(t){for(var i=0,e=0;e<=t;e++)5<=this.rlens[e]&&(i+=this.N1+this.rlens[e]-5);for(e=3;e=4*this.rlens[e]||3*this.rlens[e+3]>=4*this.rlens[e])&&(i+=this.N3);return i},t.prototype.toNum=function(t){return 0===t?1:0},t.prototype.applymask=function(t){switch(t){case 0:for(var i=0;i>1&1,e=0;e>r-12:i>>r)?(this.qrframe[5-v+this.width*(2-g+this.width-11)]=1,this.qrframe[2-g+this.width-11+this.width*(5-v)]=1):(this.setmask(5-v,2-g+this.width-11),this.setmask(2-g+this.width-11,5-v));for(g=0;g>4;this.strinbuf[2]|=255&f<<4,this.strinbuf[1]=f>>4,this.strinbuf[0]=64|f>>12}else{for(this.strinbuf[p+1]=0,this.strinbuf[p+2]=0;p--;)i=this.strinbuf[p],this.strinbuf[p+2]|=255&i<<4,this.strinbuf[p+1]=i>>4;this.strinbuf[1]|=255&f<<4,this.strinbuf[0]=64|f>>4}for(p=f+3-(u<10?1:0);p>=1)1&n&&(this.qrframe[this.width-1-y+8*this.width]=1,y<6?this.qrframe[8+this.width*y]=1:this.qrframe[8+this.width*(y+1)]=1);for(y=0;y<7;y++,n>>=1)1&n&&(this.qrframe[8+this.width*(this.width-7+y)]=1,y?this.qrframe[6-y+8*this.width]=1:this.qrframe[7+8*this.width]=1);return this.qrframe},t.prototype.badcheck=function(){for(var t=0,i=0,e=0,o=0,r=0,n=0,s=0,a=0;athis.width*this.width;)c-=this.width*this.width,d++;for(t+=d*this.N4,h=0;hn+1?e[n+1]:-1;r=r.concat(function(t,e,o){var r=[],n=-1;if(P(t,o))5==o&&(-1==e?(n=100,o=4):P(e,o)||(o=P(e,3)?(n=101,3):(n=100,4)));else if(-1==e||P(e,o))n=98;else switch(o){case 3:n=100,o=4;break;case 4:n=101,o=3}return-1!=n?(r.push(n),r.push(x(t))):5==o?r.push(x(t,e)):r.push(x(t)),i.currcs=o,r}(s,a,i.currcs));5==i.currcs&&n++}for(var h=r[0],c=1;c