(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["store-page-tuangouquan-coupon~store-page-tuangouquan-couponCenter-couponQrCode~user-info-page-user-i~a0f69d04"],{1851:function(t,e,o){"use strict";var r=o("8bdb"),n=o("84d6"),i=o("1cb5");r({target:"Array",proto:!0},{fill:n}),i("fill")},"277e":function(t,e,o){(function(r){var n,i,a=o("dd7e").default,u=o("46c5").default,s=o("5014").default,d=o("bdbb").default;o("4085"),o("aa9c"),o("7a76"),o("c9b5"),o("a03a"),o("64aa"),o("bf0f"),o("2797"),o("dc8a"),o("ab80"),o("4626"),o("5ac7"),o("1851"),function(r,a){"object"==d(e)&&"undefined"!=typeof t?t.exports=a():(n=a,i="function"===typeof n?n.call(e,o,e,t):n,void 0===i||(t.exports=i))}("undefined"!==typeof window&&window,(function(){function t(t){this.mode=o.MODE_8BIT_BYTE,this.data=t}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}t.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,o)},setupPositionProbePattern:function(t,e){for(var o=-1;o<=7;o++)if(!(t+o<=-1||this.moduleCount<=t+o))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+o][e+r]=0<=o&&o<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var t=0,e=0,o=0;o<8;o++){this.makeImpl(!0,o);var r=n.getLostPoint(this);(0==o||t>r)&&(t=r,e=o)}return e},createMovieClip:function(t,e,o){var r=t.createEmptyMovieClip(e,o);this.make();for(var n=0;n>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=r}for(o=0;o<18;o++)r=!t&&1==(e>>o&1),this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=r},setupTypeInfo:function(t,e){for(var o=this.errorCorrectLevel<<3|e,r=n.getBCHTypeInfo(o),i=0;i<15;i++){var a=!t&&1==(r>>i&1);i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a}for(i=0;i<15;i++)a=!t&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var o=-1,r=this.moduleCount-1,i=7,a=0,u=this.moduleCount-1;u>0;u-=2)for(6==u&&u--;;){for(var s=0;s<2;s++)if(null==this.modules[r][u-s]){var d=!1;a>>i&1)),n.getMask(e,r,u-s)&&(d=!d),this.modules[r][u-s]=d,-1==--i&&(a++,i=7)}if((r+=o)<0||this.moduleCount<=r){r-=o,o=-o;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,o,r){for(var i=g.getRSBlocks(t,o),a=new c,u=0;u8*d)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*d+")");for(a.getLengthInBits()+4<=8*d&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*d||(a.put(e.PAD0,8),a.getLengthInBits()>=8*d));)a.put(e.PAD1,8);return e.createBytes(a,i)},e.createBytes=function(t,e){for(var o=0,r=0,i=0,a=new Array(e.length),u=new Array(e.length),s=0;s=0?f.get(m):0}}var p=0;for(c=0;c=0;)e^=n.G15<=0;)e^=n.G18<>>=1;return e},getPatternPosition:function(t){return n.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,o){switch(t){case 0:return(e+o)%2==0;case 1:return e%2==0;case 2:return o%3==0;case 3:return(e+o)%3==0;case 4:return(Math.floor(e/2)+Math.floor(o/3))%2==0;case 5:return e*o%2+e*o%3==0;case 6:return(e*o%2+e*o%3)%2==0;case 7:return(e*o%3+(e+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new l([1],0),o=0;o5&&(o+=3+i-5)}for(r=0;r=256;)t-=255;return i.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},d=0;d<8;d++)i.EXP_TABLE[d]=1<1?1:t<0?0:t}},foregroundImageWidth:{get:function(){return void 0===c?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*c:c},set:function(t){c=Number(t)}},foregroundImageHeight:{get:function(){return void 0===m?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*m:m},set:function(t){m=Number(t)}},foregroundImageX:{get:function(){return void 0===p?this.dynamicSize/2-this.foregroundImageWidth/2:this.useDynamicSize?this.dynamicSize/this.size*p:p},set:function(t){p=Number(t)}},foregroundImageY:{get:function(){return void 0===v?this.dynamicSize/2-this.foregroundImageHeight/2:this.useDynamicSize?this.dynamicSize/this.size*v:v},set:function(t){v=Number(t)}},foregroundImagePadding:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*b:b},set:function(t){b=Number(t)}},foregroundImageBorderRadius:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*y:y},set:function(t){y=Number(t)}},foregroundImageShadowOffsetX:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*C:C},set:function(t){C=Number(t)}},foregroundImageShadowOffsetY:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*w:w},set:function(t){w=Number(t)}},foregroundImageShadowBlur:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*k:k},set:function(t){k=Number(t)}},foregroundPadding:{get:function(){return I},set:function(t){I=t>1?1:t<0?0:t}},positionProbeBackgroundColor:{get:function(){return B||this.backgroundColor},set:function(t){B=t}},positionProbeForegroundColor:{get:function(){return S||this.foregroundColor},set:function(t){S=t}},separatorColor:{get:function(){return L||this.backgroundColor},set:function(t){L=t}},positionAdjustBackgroundColor:{get:function(){return P||this.backgroundColor},set:function(t){P=t}},positionAdjustForegroundColor:{get:function(){return x||this.foregroundColor},set:function(t){x=t}},timingBackgroundColor:{get:function(){return E||this.backgroundColor},set:function(t){E=t}},timingForegroundColor:{get:function(){return T||this.foregroundColor},set:function(t){T=t}},typeNumberBackgroundColor:{get:function(){return D||this.backgroundColor},set:function(t){D=t}},typeNumberForegroundColor:{get:function(){return A||this.foregroundColor},set:function(t){A=t}},darkBlockColor:{get:function(){return O||this.foregroundColor},set:function(t){O=t}},canvasContext:{get:function(){if(void 0===_)throw console.error("[uQRCode]: use drawCanvas, you need to set the canvasContext!"),new f.Error("use drawCanvas, you need to set the canvasContext!");return _},set:function(t){_=h(t)}}}),f.plugins.forEach((function(t){return t(f,o,!1)})),t&&this.setOptions(t),e&&(this.canvasContext=h(e))}return l.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),o=0;o>>7-t%8&1)},put:function(t,e){for(var o=0;o>>e-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.errorCorrectLevel=r,f.errorCorrectLevel=e.errorCorrectLevel,f.Error=function(t){this.errMsg="[uQRCode]: "+t},f.plugins=[],f.use=function(t){"function"==typeof t&&f.plugins.push(t)},f.prototype.loadImage=function(t){return Promise.resolve(t)},f.prototype.setOptions=function(t){var e,o,r,n,i,a,u,d,l,g,c,h,f,m,p,v,b,y,C,w,k,I,B,S,L,P,x,E,T,D,A,O,_,N,M,z,R,F,j,H,X,Y,G,W,K,Q,U,J,q,V,Z,$,tt,et,ot,rt,nt=this;t&&(Object.keys(t).forEach((function(e){nt[e]=t[e]})),function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var n in t=r?e:s({},e),o){var i=o[n];null!=i&&(i.constructor==Object?t[n]=this.deepReplace(t[n],i):i.constructor!=String||i?t[n]=i:t[n]=t[n])}}(this,{data:t.data||t.text,dataEncode:t.dataEncode,size:t.size,useDynamicSize:t.useDynamicSize,typeNumber:t.typeNumber,errorCorrectLevel:t.errorCorrectLevel,margin:t.margin,areaColor:t.areaColor,backgroundColor:t.backgroundColor||(null===(e=t.background)||void 0===e?void 0:e.color),backgroundImageSrc:t.backgroundImageSrc||(null===(o=t.background)||void 0===o||null===(r=o.image)||void 0===r?void 0:r.src),backgroundImageWidth:t.backgroundImageWidth||(null===(n=t.background)||void 0===n||null===(i=n.image)||void 0===i?void 0:i.width),backgroundImageHeight:t.backgroundImageHeight||(null===(a=t.background)||void 0===a||null===(u=a.image)||void 0===u?void 0:u.height),backgroundImageX:t.backgroundImageX||(null===(d=t.background)||void 0===d||null===(l=d.image)||void 0===l?void 0:l.x),backgroundImageY:t.backgroundImageY||(null===(g=t.background)||void 0===g||null===(c=g.image)||void 0===c?void 0:c.y),backgroundImageAlpha:t.backgroundImageAlpha||(null===(h=t.background)||void 0===h||null===(f=h.image)||void 0===f?void 0:f.alpha),backgroundImageBorderRadius:t.backgroundImageBorderRadius||(null===(m=t.background)||void 0===m||null===(p=m.image)||void 0===p?void 0:p.borderRadius),backgroundPadding:t.backgroundPadding,foregroundColor:t.foregroundColor||(null===(v=t.foreground)||void 0===v?void 0:v.color),foregroundImageSrc:t.foregroundImageSrc||(null===(b=t.foreground)||void 0===b||null===(y=b.image)||void 0===y?void 0:y.src),foregroundImageWidth:t.foregroundImageWidth||(null===(C=t.foreground)||void 0===C||null===(w=C.image)||void 0===w?void 0:w.width),foregroundImageHeight:t.foregroundImageHeight||(null===(k=t.foreground)||void 0===k||null===(I=k.image)||void 0===I?void 0:I.height),foregroundImageX:t.foregroundImageX||(null===(B=t.foreground)||void 0===B||null===(S=B.image)||void 0===S?void 0:S.x),foregroundImageY:t.foregroundImageY||(null===(L=t.foreground)||void 0===L||null===(P=L.image)||void 0===P?void 0:P.y),foregroundImagePadding:t.foregroundImagePadding||(null===(x=t.foreground)||void 0===x||null===(E=x.image)||void 0===E?void 0:E.padding),foregroundImageBackgroundColor:t.foregroundImageBackgroundColor||(null===(T=t.foreground)||void 0===T||null===(D=T.image)||void 0===D?void 0:D.backgroundColor),foregroundImageBorderRadius:t.foregroundImageBorderRadius||(null===(A=t.foreground)||void 0===A||null===(O=A.image)||void 0===O?void 0:O.borderRadius),foregroundImageShadowOffsetX:t.foregroundImageShadowOffsetX||(null===(_=t.foreground)||void 0===_||null===(N=_.image)||void 0===N?void 0:N.shadowOffsetX),foregroundImageShadowOffsetY:t.foregroundImageShadowOffsetY||(null===(M=t.foreground)||void 0===M||null===(z=M.image)||void 0===z?void 0:z.shadowOffsetY),foregroundImageShadowBlur:t.foregroundImageShadowBlur||(null===(R=t.foreground)||void 0===R||null===(F=R.image)||void 0===F?void 0:F.shadowBlur),foregroundImageShadowColor:t.foregroundImageShadowColor||(null===(j=t.foreground)||void 0===j||null===(H=j.image)||void 0===H?void 0:H.shadowColor),foregroundPadding:t.foregroundPadding,positionProbeBackgroundColor:t.positionProbeBackgroundColor||(null===(X=t.positionProbe)||void 0===X?void 0:X.backgroundColor)||(null===(Y=t.positionDetection)||void 0===Y?void 0:Y.backgroundColor),positionProbeForegroundColor:t.positionProbeForegroundColor||(null===(G=t.positionProbe)||void 0===G?void 0:G.foregroundColor)||(null===(W=t.positionDetection)||void 0===W?void 0:W.foregroundColor),separatorColor:t.separatorColor||(null===(K=t.separator)||void 0===K?void 0:K.color),positionAdjustBackgroundColor:t.positionAdjustBackgroundColor||(null===(Q=t.positionAdjust)||void 0===Q?void 0:Q.backgroundColor)||(null===(U=t.alignment)||void 0===U?void 0:U.backgroundColor),positionAdjustForegroundColor:t.positionAdjustForegroundColor||(null===(J=t.positionAdjust)||void 0===J?void 0:J.foregroundColor)||(null===(q=t.alignment)||void 0===q?void 0:q.foregroundColor),timingBackgroundColor:t.timingBackgroundColor||(null===(V=t.timing)||void 0===V?void 0:V.backgroundColor),timingForegroundColor:t.timingForegroundColor||(null===(Z=t.timing)||void 0===Z?void 0:Z.foregroundColor),typeNumberBackgroundColor:t.typeNumberBackgroundColor||(null===($=t.typeNumber)||void 0===$?void 0:$.backgroundColor)||(null===(tt=t.versionInformation)||void 0===tt?void 0:tt.backgroundColor),typeNumberForegroundColor:t.typeNumberForegroundColor||(null===(et=t.typeNumber)||void 0===et?void 0:et.foregroundColor)||(null===(ot=t.versionInformation)||void 0===ot?void 0:ot.foregroundColor),darkBlockColor:t.darkBlockColor||(null===(rt=t.darkBlock)||void 0===rt?void 0:rt.color)},!0))},f.prototype.make=function(){var t=this.foregroundColor,o=this.backgroundColor,r=this.typeNumber,n=this.errorCorrectLevel,i=this.data,a=this.dataEncode,u=this.size,s=this.margin,d=this.useDynamicSize;if(t===o)throw console.error("[uQRCode]: foregroundColor and backgroundColor cannot be the same!"),new f.Error("foregroundColor and backgroundColor cannot be the same!");a&&(i=function(t){t=t.toString();for(var e,o="",r=0;r=1&&e<=127?o+=t.charAt(r):e>2047?(o+=String.fromCharCode(224|e>>12&15),o+=String.fromCharCode(128|e>>6&63),o+=String.fromCharCode(128|e>>0&63)):(o+=String.fromCharCode(192|e>>6&31),o+=String.fromCharCode(128|e>>0&63));return o}(i));var l=new e(r,n);l.addData(i),l.make(),this.base=l,this.typeNumber=l.typeNumber,this.modules=l.modules,this.moduleCount=l.moduleCount,this.dynamicSize=d?Math.ceil((u-2*s)/l.moduleCount)*l.moduleCount+2*s:u,function(t){var e=t.dynamicSize,o=t.margin,r=t.backgroundColor,n=t.backgroundPadding,i=t.foregroundColor,a=t.foregroundPadding,u=t.modules,s=t.moduleCount,d=(e-2*o)/s,l=d,g=0;n>0&&(l-=2*(g=l*n/2));var c=d,h=0;a>0&&(c-=2*(h=c*a/2));for(var f=0;fr-9-1&&v<9||v>r-9-1&&p<9||g.forEach((function(t){var e=o[p+t[0]][v+t[1]];e.type.push("positionAdjust"),e.type.includes("timing")?1==t[2]?e.color=a==n?s:a:e.color=a==n&&u==i?d:u:e.color=1==t[2]?a:u}))}}(this),function(t){for(var e=t.modules,o=t.moduleCount,r=t.timingForegroundColor,n=t.timingBackgroundColor,i=o-16,a=0;a0)return this.drawModules;var t=this.drawModules=[],e=this.modules,o=this.moduleCount,r=this.dynamicSize,n=this.areaColor,i=this.backgroundImageSrc,a=this.backgroundImageX,u=this.backgroundImageY,s=this.backgroundImageWidth,d=this.backgroundImageHeight,l=this.backgroundImageAlpha,g=this.backgroundImageBorderRadius,c=this.foregroundImageSrc,h=this.foregroundImageX,f=this.foregroundImageY,m=this.foregroundImageWidth,p=this.foregroundImageHeight,v=this.foregroundImagePadding,b=this.foregroundImageBackgroundColor,y=this.foregroundImageBorderRadius,C=this.foregroundImageShadowOffsetX,w=this.foregroundImageShadowOffsetY,k=this.foregroundImageShadowBlur,I=this.foregroundImageShadowColor;n&&t.push({name:"area",type:"area",color:n,x:0,y:0,width:r,height:r}),i&&t.push({name:"backgroundImage",type:"image",imageSrc:i,mappingName:"backgroundImageSrc",x:a,y:u,width:s,height:d,alpha:l,borderRadius:g});for(var B=0;Bt||0>e||t>=o||e>=o)&&this.modules[t][e].isBlack},f.prototype.drawCanvas=function(t){var e=this,o=this.isMaked,r=this.canvasContext,n=(this.useDynamicSize,this.dynamicSize,this.foregroundColor,this.foregroundPadding,this.backgroundColor,this.backgroundPadding,this.drawReserve);this.margin;if(!o)return console.error("[uQRCode]: please execute the make method first!"),Promise.reject(new f.Error("please execute the make method first!"));var i=this.getDrawModules(),s=function(){var o=u(a().mark((function o(u,s){var d,l,g,c,h,m,p,v,b,y,C,w,k,I;return a().wrap((function(o){while(1)switch(o.prev=o.next){case 0:o.prev=0,r.draw(t),d=0;case 3:if(!(d0&&(r.beginPath(),r.moveTo(g+v,c),r.arcTo(g+h,c,g+h,c+m,v),r.arcTo(g+h,c+m,g,c+m,v),r.arcTo(g,c+m,g,c,v),r.arcTo(g,c,g+h,c,v),r.closePath(),r.setStrokeStyle("rgba(0,0,0,0)"),r.stroke(),r.clip()),o.prev=16,o.next=19,e.loadImage(l.imageSrc);case 19:p=o.sent,r.drawImage(p,g,c,h,m),o.next=26;break;case 23:throw o.prev=23,o.t1=o["catch"](16),console.error("[uQRCode]: ".concat(l.mappingName," invalid!")),new f.Error("".concat(l.mappingName," invalid!"));case 26:o.next=44;break;case 28:if("foregroundImage"!==l.name){o.next=44;break}return g=Math.round(l.x),c=Math.round(l.y),h=Math.round(l.width),m=Math.round(l.height),b=Math.round(l.padding),h<2*(v=Math.round(l.borderRadius))&&(v=h/2),m<2*v&&(v=m/2),y=g-b,C=c-b,w=h+2*b,k=m+2*b,I=Math.round(w/h*v),w<2*I&&(I=w/2),k<2*I&&(I=k/2),r.save(),r.setShadow(l.shadowOffsetX,l.shadowOffsetY,l.shadowBlur,l.shadowColor),I>0?(r.beginPath(),r.moveTo(y+I,C),r.arcTo(y+w,C,y+w,C+k,I),r.arcTo(y+w,C+k,y,C+k,I),r.arcTo(y,C+k,y,C,I),r.arcTo(y,C,y+w,C,I),r.closePath(),r.setFillStyle(l.backgroundColor),r.fill()):(r.setFillStyle(l.backgroundColor),r.fillRect(y,C,w,k)),r.restore(),r.save(),I>0?(r.beginPath(),r.moveTo(y+I,C),r.arcTo(y+w,C,y+w,C+k,I),r.arcTo(y+w,C+k,y,C+k,I),r.arcTo(y,C+k,y,C,I),r.arcTo(y,C,y+w,C,I),r.closePath(),r.setFillStyle(b>0?l.backgroundColor:"rgba(0,0,0,0)"),r.fill()):(r.setFillStyle(b>0?l.backgroundColor:"rgba(0,0,0,0)"),r.fillRect(y,C,w,k)),r.restore(),v>0&&(r.beginPath(),r.moveTo(g+v,c),r.arcTo(g+h,c,g+h,c+m,v),r.arcTo(g+h,c+m,g,c+m,v),r.arcTo(g,c+m,g,c,v),r.arcTo(g,c,g+h,c,v),r.closePath(),r.setStrokeStyle("rgba(0,0,0,0)"),r.stroke(),r.clip()),o.prev=34,o.next=37,e.loadImage(l.imageSrc);case 37:p=o.sent,r.drawImage(p,g,c,h,m),o.next=44;break;case 41:throw o.prev=41,o.t2=o["catch"](34),console.error("[uQRCode]: ".concat(l.mappingName," invalid!")),new f.Error("".concat(l.mappingName," invalid!"));case 44:n&&r.draw(!0),r.restore();case 45:d++,o.next=3;break;case 48:r.draw(!0),setTimeout(u,150),o.next=54;break;case 51:o.prev=51,o.t3=o["catch"](0),s(o.t3);case 54:case"end":return o.stop()}}),o,null,[[0,51],[16,23],[34,41]])})));return function(t,e){return o.apply(this,arguments)}}();return new Promise((function(t,e){s(t,e)}))},f.prototype.draw=function(t){return this.drawCanvas(t)},f.prototype.register=function(t){t&&t(f,this,!0)},f}))}).call(this,o("0ee4"))},4085:function(t,e,o){"use strict";var r=o("8bdb"),n=o("85c1");r({global:!0,forced:n.globalThis!==n},{globalThis:n})},4550:function(t,e,o){o("6a54");var r=o("8bcf");t.exports=function(t,e,o){return e=r(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"46c5":function(t,e,o){function r(t,e,o,r,n,i,a){try{var u=t[i](a),s=u.value}catch(d){return void o(d)}u.done?e(s):Promise.resolve(s).then(r,n)}o("bf0f"),t.exports=function(t){return function(){var e=this,o=arguments;return new Promise((function(n,i){var a=t.apply(e,o);function u(t){r(a,n,i,u,s,"next",t)}function s(t){r(a,n,i,u,s,"throw",t)}u(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},5014:function(t,e,o){o("dc8a"),o("01a2"),o("8f71"),o("bf0f"),o("9a2c"),o("aa9c"),o("2797"),o("a644"),o("a03a"),o("6a54");var r=o("4550");function n(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}t.exports=function(t){for(var e=1;e=0;--r){var n=this.tryEntries[r],a=n.completion;if("root"===n.tryLoc)return o("end");if(n.tryLoc<=this.prev){var u=i.call(n,"catchLoc"),s=i.call(n,"finallyLoc");if(u&&s){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),P(o),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var r=o.completion;if("throw"===r.type){var n=r.arg;P(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,o){return this.delegate={iterator:E(t),resultName:e,nextLoc:o},"next"===this.method&&(this.arg=void 0),f}},e}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports}}]);