(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{1172:function(t,e,o){var content=o(1853);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(24).default)("b6cb714e",content,!0,{sourceMap:!1})},1687:function(t,e,o){"use strict";o.r(e);var r=o(102),n=o(8),c=(o(69),o(22),o(135),o(188),o(797),o(64),o(21)),l=o(189),d=o(29),f={props:{options:{default:function(){return{couponType:"vip"}},type:Object},oldPrice:{}},data:function(){return{showAlert:!1,bonusList:[],activityList:[],isLogin:!1,checkItem:{}}},mixins:[l.a],filters:{statusTxt:function(t){return{0:"待使用",3:"立即领取"}[t.status]}},methods:{judgeAppNuxt:d.A,changeShowAlert:function(t){this.showAlert=t},gainCoupon:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(o,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.judgeLogin();case 2:if(!e.sent){e.next=7;break}t.isLogin=!0,Object(c.t)({status:0,usable:t.options.couponType}).then((function(e){e.code||e.data.length&&(t.bonusList=e.data),o()})).catch((function(){o()})),e.next=8;break;case 7:o();case 8:case"end":return e.stop()}}),e)})));return function(t,o){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})))()}},computed:{couponList:function(){var t=this,e=Object(r.a)(this.bonusList),o=[],n=[];return e.map((function(e){Number(e.minUsable)<=100*t.oldPrice?o.push(e):n.push(e)})),o.sort((function(t,e){return e.amount===t.amount?e.expire3)){if(x)return!0;if(z)return z<603;var code,t,e,o,r="";for(code=65;code<76;code++){switch(t=String.fromCharCode(code),code){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(o=0;o<47;o++)y.push({k:t+o,v:e})}for(y.sort((function(a,b){return b.v-a.v})),o=0;ov(o)?1:-1}}(t)),o=d(n),r=0;r