PageSourceSearch

https://www.freecharge.in/_next/static/chunks/pages/paylater-d3e311b8da6a3be5.js

js freecharge.in collected 2026-09-24 15:21:48 UTC 125,264 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2281,2960,4525,6160,8679,8782,9228,9911],{3563:()=>{},5296:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var s=t(37876),n=t(18847);let l=t.n(n)()(()=>Promise.all([t.e(9923),t.e(3845)]).then(t.t.bind(t,33845,23)),{loadableGenerated:{webpack:()=>[33845]},ssr:!1}),i=e=>(0,s.jsx)(l,{...e})},17712:(e,a,t)=>{e.exports=t(40925)("floor")},33123:()=>{},35930:(e,a,t)=>{"use strict";t.d(a,{A:()=>O});var s=t(44501),n=t(44212),l=t(16724),i=t(14232),r=t(95062),c=t.n(r),o=t(11431),d=t.n(o),u=t(40670),p=t(15574),E=t.n(p),m=t(2171),h=t(76e3),N=t(48795),_=t(58314),x=["_reduxForm","value"],A=t(20169),T=t(81774),I=function(e,a){return e&&function(){for(var t=Array.isArray(e)?e:[e],s=0;s<t.length;s++){var n,l=t[s].apply(t,arguments);if(l)return(n={})[a]=l,n}}};let O=function(e){var a,t,r,o,p,O,D=(a=e.deepEqual,t=e.getIn,r=e.size,o=e.equals,p=e.orderChanged,(O=function(r){function c(){for(var e,a=arguments.length,s=Array(a),n=0;n<a;n++)s[n]=arguments[n];return(e=r.call.apply(r,[this].concat(s))||this).ref=i.createRef(),e.getValue=function(a){return e.props.value&&t(e.props.value,String(a))},e}(0,l.A)(c,r);var d=c.prototype;return d.shouldComponentUpdate=function(e){var t=this,s=this.props.value,
1n=e.value;if(s&&n){var l=o(n,s),i=p(s,n);if((s.length||s.size)!==(n.length||n.size)||l&&i||e.rerenderOnEveryChange&&s.some(function(e,t){return!a(e,n[t])}))return!0}var r=Object.keys(e),c=Object.keys(this.props);return!!(this.props.children||e.children||r.length!==c.length||r.some(function(s){return!~x.indexOf(s)&&!a(t.props[s],e[s])}))},d.getRenderedComponent=function(){return this.ref.current},d.render=function(){var a,t,n,l,r,c,o,d,p,E,m,h,N,_,x,A,T,I,O,D,f,S,C,j,R,y,g,L,b,v=this.props,P=v.component,M=v.forwardRef,F=v.name,U=v._reduxForm,Z=(v.validate,v.warn,v.rerenderOnEveryChange,(0,u.A)(v,["component","forwardRef","name","_reduxForm","validate","warn","rerenderOnEveryChange"])),k=(a=U.form,t=U.sectionPrefix,n=this.getValue,l=e.getIn,r=Z.arrayInsert,c=Z.arrayMove,o=Z.arrayPop,d=Z.arrayPush,p=Z.arrayRemove,E=Z.arrayRemoveAll,m=Z.arrayShift,h=Z.arraySplice,N=Z.arraySwap,_=Z.arrayUnshift,x=Z.asyncError,A=Z.dirty,T=Z.length,I=Z.pristine,O=Z.submitError,Z.state,D=Z.submitFailed,f=Z.submitting,S=Z.syncError,C=Z.syncWarning,j=Z.value,R=Z.props,y=(0,u.A)(Z,["arrayInsert","arrayMove","arrayPop","arrayPush","arrayRemove","arrayRemoveAll","arrayShift","arraySplice","arraySwap","arrayUnshift","asyncError","dirty","length","pristine","submitError","state","submitFailed","submitting","syncError","syncWarning","value","props"]),g=S||x||O,L=t?F.replace(t+".",""):F,b=(0,s.A)({fields:{_isFieldArray:!0,forEach:function(e){return(j||[]).forEach(function(a,t){return e(L+"["+t+"]",t,b.fields)})},get:n,getAll:function(){return j},insert:r,length:T,map:function(e){return(j||[]).map(function(a,t){return e(L+"["+t+"]",t,b.fields)})},move:c,name:F,pop:function(){return o(),l(j,String(T-1))},push:d,reduce:function(e,a){return(j||[]).reduce(function(a,t,s){return e(a,L+"["+s+"]",s,b.fields)},a)},remove:p,removeAll:E,shift:function(){return m(),l(j,"0")},splice:h,swap:N,unshift:_},meta:{dirty:A,error:g,form:a,warning:C,invalid:!!g,pristine:I,submitting:f,submitFailed:D,valid:!g}},R,{},y));return M&&(k.ref=this.ref),(0,i.createElement)(P,k)},(0,n.A)(c,[{key:"dirty",get:function(){return this.props.dirty}},{key:"pristine",get:function(){return this.props.pristine}},{key:"value",get:function(){return this.props.value}}]),c}(i.Component)).propTypes={component:_.A,props:c().object,rerenderOnEveryChange:c().bool},O.defaultProps={rerenderOnEveryChange:!1},(0,m.Ng)(function(e,s){var n,l,i=s.name,c=s._reduxForm,o=c.initialValues,d=(0,c.getFormState)(e),u=t(d,"initial."+i)||o&&t(o,i),p=t(d,"values."+i),E=t(d,"submitting"),m=(n=t(d,"syncErrors"),N.A.getIn(n,i+"._error")),h=(l=t(d,"syncWarnings"),t(l,i+"._warning")),_=a(p,u);return{asyncError:t(d,"asyncErrors."+i+"._error"),dirty:!_,pristine:_,state:t(d,"fields."+i),submitError:t(d,"submitErrors."+i+"._error"),submitFailed:t(d,"submitFailed"),submitting:E,syncError:m,syncWarning:h,value:p,length:r(p)}},function(e,a){var t=a.name,s=a._reduxForm,n=s.arrayInsert,l=s.arrayMove,i=s.arrayPop,r=s.arrayPush,c=s.arrayRemove,o=s.arrayRemoveAll,d=s.arrayShift,u=s.arraySplice,p=s.arraySwap,m=s.arrayUnshift;return E()({arrayInsert:n,arrayMove:l,arrayPop:i,arrayPush:r,arrayRemove:c,arrayRemoveAll:o,arrayShift:d,arraySplice:u,arraySwap:p,arrayUnshift:m},function(a){return(0,h.zH)(a.bind(null,t),e)})},void 0,{forwardRef:!0})(O)),f=function(e){function a(a){var t;if((t=e.call(this,a)||this).ref=i.createRef(),!a._reduxForm)throw Error("FieldArray must be inside a component decorated with reduxForm()");return t}(0,l.A)(a,e);var t=a.prototype;return t.componentDidMount=function(){var e=this;this.props._reduxForm.register(this.name,"FieldArray",function(){return I(e.props.validate,"_error")},function(){return I(e.props.warn,"_warning")})},t.componentDidUpdate=function(e){var a=(0,A.A)(e,e.name),t=(0,A.A)(this.props,this.props.name);a!==t&&(this.props._reduxForm.unregister(a),this.props._reduxForm.register(t,"FieldArray"))},t.componentWillUnmount=function(){this.props._reduxForm.unregister(this.name)},t.getRenderedComponent=function(){return d()(this.props.forwardRef,"If you want to access getRenderedComponent(), you must specify a forwardRef prop to FieldArray"),this.ref&&this.ref.current.getRenderedComponent()},t.render=function(){return(0,i.createElement)(D,(0,s.A)({},this.props,{name:this.name,ref:this.ref}))},(0,n.A)(a,[{key:"name",get:function(){return(0,A.A)(this.props,this.props.name)}},{key:"dirty",get:function(){return!this.ref||this.ref.current.dirty}},{key:"pristine",get:function(){return!!(this.ref&&this.ref.current.pristine)}},{key:"value",get:function(){return this.ref?this.ref.current.value:void 0}}]),a}(i.Component);return f.propTypes={name:c().string.isRequired,component:_.A,props:c().object,validate:c().oneOfType([c().func,c().arrayOf(c().func)]),warn:c().oneOfType([c().func,c().arrayOf(c().func)]),forwardRef:c().bool,_reduxForm:c().object},(0,T.Po)(f)}(N.A)}
1,36079:(e,a,t)=>{"use strict";t.d(a,{A:()=>S});var s=t(37876),n=t(14232),l=t(95062),i=t.n(l),r=t(22372),c=t.n(r),o=t(16968),d=t.n(o),u=t(61568),p=t.n(u),E=t(40123),m=t.n(E),h=t(57410),N=t.n(h),_=t(19850),x=t.n(_);t(3563);var A=t(65894),T=t(95118),I=t(62238);let O={SUCCESS:"".concat(I.Cp,"/input/success-tick.png"),MOBILE_FAILURE:"".concat(I.Cp,"/icons/unfilled-tab-mobile.svg"),DESKTOP_SELECTED_FAILURE:"".concat(I.Cp,"/radio/radio_dot_active.png"),DESKTOP_UNSELECTED_FAILURE:"".concat(I.Cp,"/radio/radio_dot_inactive.png")};var D=t(82572);let f=e=>{let{cardData:a={},isMobile:t=!1,selectedCardId:l=null,postCardClickHandler:i,customClass:r="",minHeight:o=400,isPopupShown:u=!1,closePopUpOnBack:E=!1,togglePopupHandler:h=N(),showHeaderCollapseSection:_=!1,renderCollapseSection:I=N()}=e,[f,S]=(0,n.useState)(l),[C,j]=(0,n.useState)(u),R=O.SUCCESS,y=e=>t?O.MOBILE_FAILURE:e?O.DESKTOP_SELECTED_FAILURE:O.DESKTOP_UNSELECTED_FAILURE,g=(e,a)=>e.uniqueId===f||!t&&!f&&0===a,L=f?c()(a.list,["uniqueId",f])[0]:a.list[0],b=e=>{x()(i)&&i(e),S(e.uniqueId),t&&(j(!0),x()(h)&&h(!0,e.uniqueId,e))},v=e=>(0,s.jsxs)("div",{className:"card-content",children:[(0,s.jsxs)("div",{className:"content-header",children:[e.cardImage&&(0,s.jsx)(D.A,{className:"card-img",src:e.cardImage,title:e.heading,alt:e.heading}),(0,s.jsx)("span",{className:"heading",children:e.heading})]}),(0,s.jsx)("div",{className:"content-area",children:e.content})]});return(0,n.useEffect)(()=>{S(l)},[l]),(0,n.useEffect)(()=>{j(u)},[u]),(0,s.jsxs)("div",{style:{minHeight:t?0:"".concat(o,"px")},className:"vertical-card-container ".concat(r," ").concat(_?"with-collapse-section":""),children:[_&&(0,s.jsx)("div",{className:"cards-collapse-section",children:I()}),(0,s.jsxs)("div",{className:"cards-head-section",children:[a.headerText&&!t&&(0,s.jsx)("div",{className:"cards-header",children:a.headerText}),d()(a.list,(e,a)=>(0,s.jsxs)("div",{id:e.uniqueId,className:"card-item"+(g(e,a)?" active":""),onClick:b.bind(void 0,e),children:[e.cardImage&&t&&(0,s.jsx)(D.A,{className:"card-img",src:e.cardImage,title:e.heading,alt:e.heading}),(0,s.jsxs)("div",{className:"card-info-area".concat(e.cardImage?"":" no-img"),children:[(0,s.jsx)("p",{className:"heading",children:e.heading}),(0,s.jsx)("p",{className:"sub-heading",children:e.subHeading}),t&&(0,s.jsx)("p",{className:"status-desc",children:e.statusDesc})]}),"success"===p()(e.status)&&(0,s.jsx)(D.A,{className:"status-img",src:e.successImageUrl||R,onError:T.mO.bind(void 0,R)}),"pending"===p()(e.status)&&(0,s.jsx)(D.A,{className:"status-img",src:e.failureImageUrl||y(g(e,a)),onError:T.mO.bind(void 0,y(g(e,a)))})]},a))]}),t&&!m()(a.list)&&(0,s.jsx)(A.default,{isPopUpShown:C,layoutId:3,wrapperClass:"vertical-card-popup",popUpContent:C?v(L):null,closeClickHandler:()=>{x()(h)&&h(!1,f,{}),j(!1)},minHeight:"200px",closePopUpOnBack:E}),!t&&!m()(a.list)&&v(L)]})};f.propTypes={cardData:i().object,selectedCardId:i().oneOfType([i().string,i().number]),postCardClickHandler:i().func,customClass:i().string,minHeight:i().number};let S=f},41028:(e,a,t)=>{"use strict";t.d(a,{m6:()=>d,oM:()=>c,qB:()=>o});var s=t(40123),n=t.n(s),l=t(93359),i=t(62462);let r={paylater:{onClick:i.b4.onLandingCtaClick},"axis-bank-freecharge-plus-credit-card":{onClick:i.rf.onLandingCtaClick},"digital-fixed-deposit":{onClick:i.ZC.onLandingCtaClick}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t)(0,l.MZ)(i.Ye.LINK_CLICK,{pageName:i.Jd.ctaClick(t,a)});else{let t=r[e];if(n()(t))return;(0,l.MZ)(i.Ye.LINK_CLICK,{pageName:t.onClick(a),...s})}},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,l.MZ)(i.Ye.PAGE_LOAD,{pageName:i.Jd.pageLoad(e)})},d=(e,a)=>{(0,l.MZ)(i.Ye.LINK_CLICK,{pageName:i.Jd.ctaClick(e,a)})}},47447:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var s=t(37876);t(14232);var n=t(95062),l=t.n(n);t(65980);let i={NO_DATA_IMAGE:"no data image"};var r=t(82572);let c=e=>{let{imagePath:a,title:t,infoText:n,layoutId:l=1}=e;return(0,s.jsxs)("div",{className:"no-data-container layout-".concat(l),children:[(0,s.jsx)(r.A,{className:"no-data-image",src:a,alt:i.NO_DATA_IMAGE}),t&&(0,s.jsx)("p",{className:"no-data-title",children:t}),n&&(0,s.jsx)("p",{className:"no-data-text",children:n})]})};c.propTypes={imagePath:l().string,title:l().string,infoText:l().oneOfType([l().str
1ing,l().element])};let o=c},49531:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var s=t(14232);let n=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],a=(0,s.useCallback)(e=>{e.preventDefault(),e.returnValue=""},[]),t=()=>{window.addEventListener("beforeunload",a)},n=()=>{window.removeEventListener("beforeunload",a)};return(0,s.useEffect)(()=>{if(e)return t(),n},[e]),{addListenerHandler:t,removeListenerHandler:n}}},52939:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>aW,default:()=>aK});var s=t(37876),n=t(14232),l=t(89099),i=t.n(l),r=t(76e3),c=t(2171),o=t(75390),d=t(40131),u=t(7766),p=t.n(u),E=t(57410),m=t.n(E),h=t(88635),N=t(16968),_=t.n(N),x=t(40123),A=t.n(x),T=t(73284),I=t(37138),O=t.n(I),D=t(91650),f=t.n(D),S=t(13985),C=t(39736),j=t(54022),R=t(82572);let y=e=>{let{platform:a,data:t,dashboard:l=!1}=e;return(0,s.jsx)(S.default,{slideWidth:l?C.nk[a]:C.Yp[a],wrapperClass:"spotlight-layout pay-later-slider",sliderClass:"spotlight-slider",showArrows:a!==j.Z.MOBILE,autoplay:!0,children:_()(t,function(e){let{imageAltText:a="",dl:t="",image:l=""}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=O()(f()(l,"/")[f()(l,"/").length-1],/\.jpg|.jpeg|.png|.webp$/,""),c=(0,s.jsx)(R.A,{src:l,alt:a||"".concat(r," image"),title:a||r});return A()(t)?(0,s.jsx)(n.Fragment,{children:c},i):(0,s.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:c},i)})})};var g=t(42146);let L=e=>{let{platform:a}=e;return a===j.Z.MOBILE?(0,s.jsxs)(g.A,{height:620,uniqueKey:"paylater-details",backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",children:[(0,s.jsx)("rect",{x:0,y:0,width:"100%",height:"175"}),(0,s.jsx)("rect",{x:"5%",y:"190",width:"90%",height:"70"}),(0,s.jsx)("rect",{x:"5%",y:"275",width:"60%",height:"20"}),(0,s.jsx)("rect",{x:"5%",y:"300",width:"90%",height:"40"}),(0,s.jsx)("rect",{x:"5%",y:"345",width:"90%",height:"40"}),(0,s.jsx)("rect",{x:"5%",y:"390",width:"90%",height:"40"}),(0,s.jsx)("rect",{x:"5%",y:"435",width:"90%",height:"40"}),(0,s.jsx)("rect",{x:"5%",y:"490",width:"90%",height:"100"})]}):(0,s.jsxs)(g.A,{height:950,uniqueKey:"paylater-details",backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",children:[(0,s.jsx)("rect",{x:0,y:0,width:"100%",height:"400"}),(0,s.jsx)("rect",{x:"5%",y:"430",width:"25%",height:"20"}),(0,s.jsx)("rect",{x:"5%",y:"460",width:"50%",height:"50"}),(0,s.jsx)("rect",{x:"5%",y:"520",width:"50%",height:"50"}),(0,s.jsx)("rect",{x:"5%",y:"580",width:"50%",height:"50"}),(0,s.jsx)("rect",{x:"5%",y:"640",width:"50%",height:"50"}),(0,s.jsx)("rect",{x:"5%",y:"710",width:"24%",height:"80"}),(0,s.jsx)("rect",{x:"31%",y:"710",width:"24%",height:"80"}),(0,s.jsx)("rect",{x:"5%",y:"810",width:"50%",height:"100"})]})};var b=t(95118),v=t(3738),P=t(1052);let M=e=>{let{activeForm:a,platform:t,handleGoBackClick:n,setActiveForm:l,paylaterStaticData:i,removeListenerHandler:r=m(),isMerchant:c=!1}=e;if(A()(i))return(0,s.jsx)(L,{platform:t});let{plIntroDetailV2:{title:o="",tncText:d="",details:u=[],plIntroImages:E={}}}=i,N=p()(i,c?"plMerchantSpotlights":"plSpotlights",[]);return(0,s.jsx)(h.default,{layoutId:4,headerText:C.DZ.HOMEPAGE_HEADER,customAppLayoutClass:"pay-later landing-view",hideSidebar:!0,fluidContainer:!0,showFooter:!1,handleGoBackClick:n,onLogoutHandler:r,children:(0,s.jsxs)("div",{className:"landing-view-content",children:[(0,s.jsxs)("div",{className:"banner-main-wrapper",children:[(0,s.jsxs)("div",{className:"banner-wrapper",children:[(0,s.jsx)(R.A,{src:E[t]&&E[t][0],alt:C.LG.BANNER_IMAGE,title:C.LG.BANNER_IMAGE,className:"banner-img",onError:b.mO.bind(void 0,C.qg[t])}),t!==j.Z.MOBILE&&(0,s.jsx)("div",{className:"login-form-container",children:(0,s.jsxs)("div",{className:"".concat(a,"-form"),children:[(0,s.jsx)(ee,{...e,setActiveForm:l}),(0,s.jsx)(ed,{...e,setActiveForm:l})]})})]}),!A()(N)&&t===j.Z.MOBILE&&(0,s.jsx)(y,{platform:t,data:N}),(0,s.jsxs)("div",{className:"info-section layout-box",children:[(0,s.jsx)("p",{className:"info-heading",children:o}),_()(u,(e,a)=>(0,s.jsxs)("div",{className:"info-benefit",children:[e.iconUrl&&(0,s.jsx)(R.A,{className:"benefit-image",src:e.iconUrl,alt:e.iconAltText}),(0,s.jsxs)("div",{className:"benefit-content",children:[(0,s.jsx)("p",{className:"benefit-title",children:e.title}
1),(0,s.jsx)("p",{className:"benefit-subtitle",children:e.subtitle})]})]},a)),(0,s.jsx)("p",{className:"terms",children:d})]})]}),!A()(N)&&t!==j.Z.MOBILE&&(0,s.jsx)(y,{platform:t,data:N}),(0,s.jsx)(T.A,{platform:t,layoutId:1,data:i.plIntroDetailV2}),t===j.Z.MOBILE&&(0,s.jsxs)("div",{className:"button-area landing",children:[(0,s.jsx)(v.default,{text:C.DZ.HOMEPAGE_BUTTON_LABEL,buttonType:"primary",layoutId:3,customClass:"form-submit-btn",handleClick:()=>{l("pan"),(0,P.ze)(P.BM.GET_STARTED)}}),(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{className:C.LG.AXIS_LOGO,src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]})]})]})})};var F=t(16814),U=t(40452),Z=t(13837),k=t.n(Z),w=t(17518),G=t.n(w),B=t(93072),H=t(65894),X=t(9987),Y=t(23278),V=t(50926);let W={NUMBER_ONLY:/^[0-9]+$/,NUMBER_ONLY_NOT_STARTING_ZERO:/^[1-9][0-9]*$/,ALPHABETS_SPACE_ONLY:/[a-zA-Z ]+/,ALPHABETS_DOT_SPACE_ONLY:/[a-zA-Z. ]+/,APLHA_NUMERIC:/[0-9A-Za-z]+/},K=e=>{let{emailId:a="",fatherName:t="",motherName:s="",maritalStatus:n="",residentType:l="",qualification:i=""}=e,r={};return r.emailId=V.y.REQUIRED(a,"Email Id")||V.y.EMAIL(a),r.fatherName=V.y.REQUIRED(t,"Father's Name"),r.motherName=V.y.REQUIRED(s,"Mother's Name"),r.maritalStatus=V.y.REQUIRED(n,"Marital Status","select"),r.residentType=V.y.REQUIRED(l,"Resident Type","select"),r.qualification=V.y.REQUIRED(i,"Educational Qualification","select"),r},q=e=>{let a={},{emailId:t,maritalStatus:s}=e;return a.emailId=V.y.REQUIRED(t,C.D8.EMPTY_EMAIL_ID,"input")||V.y.EMAIL(t),a.maritalStatus=V.y.REQUIRED(s,C.D8.EMPTY_MARITAL_STATUS,"radio"),a},z=e=>{let{occupationType:a="",occupation:t="",natureOfBusiness:s="",sourceOfFunds:n="",monthlyIncome:l="",businessYears:i="",companyName:r="",corporateEmailId:c=""}=e,o={};return o.occupationType=V.y.REQUIRED(a,"Occupation Type","select"),o.monthlyIncome=V.y.REQUIRED(l,"Monthly Income"),("Salaried"===a||"Self Employed"===a)&&(o.natureOfBusiness=V.y.REQUIRED(s,"Nature of Business","select")),"Salaried"===a&&(o.companyName=V.y.REQUIRED(r,"Company Name"),o.corporateEmailId=V.y.REQUIRED(c,"Corporate Email ID")||V.y.EMAIL(c)),"Self Employed"===a&&(o.occupation=V.y.REQUIRED(t,"Occupation","select"),o.businessYears=V.y.REQUIRED(i,"Business Years")),"Salaried"!==a&&(o.sourceOfFunds=V.y.REQUIRED(n,"Source of Funds","select")),o},Q=e=>{let a={},{occupation:t,sourcesOfIncome:s,otherSourceOfIncome:n,monthlyIncome:l}=e;return a.occupation=V.y.REQUIRED(t,C.D8.EMPTY_OCCUPATIONAL_TYPE,"select"),a.sourcesOfIncome=V.y.REQUIRED(s,C.D8.EMPTY_SOURCE_OF_INCOME,"select"),"Others"===s&&(a.otherSourceOfIncome=V.y.REQUIRED(n,C.D8.EMPTY_SOURCE_OF_INCOME,"input")||(V.y.MATCH_CUSTOM_REGEX(n,W.ALPHABETS_SPACE_ONLY)?C.D8.INVALID_SOURCE_OF_INCOME:void 0)||V.y.MAX_LENGTH(n,20)),a.monthlyIncome=V.y.REQUIRED(l,C.D8.EMPTY_MONTHLY_INCOME,"input")||V.y.MIN_MAX_LENGTH(l,1,8),a},J=e=>{let a={},{mothersName:t,familyStatus:s,familyStatusName:n}=e;return a.mothersName=V.y.REQUIRED(t,C.D8.EMPTY_MOTHER_NAME,"input")||(V.y.MATCH_CUSTOM_REGEX(t,W.ALPHABETS_DOT_SPACE_ONLY)?C.D8.INVALID_MOTHER_NAME:void 0)||V.y.MAX_LENGTH(t,50),a.familyStatus=V.y.REQUIRED(s,C.D8.EMPTY_FAMILY_STATUS,"radio"),a.familyStatusName=V.y.REQUIRED(n,C.D8.EMPTY_FAMILY_STATUS_NAME(s),"input")||(V.y.MATCH_CUSTOM_REGEX(n,W.ALPHABETS_DOT_SPACE_ONLY)?C.D8.INVALID_FAMILY_NAME:void 0)||V.y.MAX_LENGTH(n,50),a};var $=t(5881);let ee=(0,U.A)({form:"panDetailsForm",destroyOnUnmount:!1,validate:e=>{let a={},{panNumber:t}=e;return a.panNumber=V.y.REQUIRED(t,C.D8.EMPTY_PAN_NUMBER,"input")||V.y.IS_VALID_INDIVIDUAL_PAN(t),a}})(e=>{let{extractFormValues:a=m(),valid:t=!1,setPage:i=m(),handleSubmit:r=m(),reduxActions:c=m(),setActiveForm:o=m(),initializeForm:d=m(),payLater:{genericRequestBody:u={},checkUserEligibilityResponse:E={},paylaterStaticData:h={},fetchUserDetailsResponse:N={},error:_={}},auth:{csrfRequestIdentifierToken:x=""},platform:T="",isAccountStatusNotInitiated:I=!1,setPageUnderMaintenance:O=m(),isFullKycExpiredView:D=!1}=e,f=(0,l.useRouter)(),{isLoggedIn:S=!1,setCallback:y=m()}
1=(0,X.A)(),[g,L]=(0,n.useState)(!1),[b,M]=(0,n.useState)(!1),[U,Z]=(0,n.useState)(!1),[w,V]=(0,n.useState)(!1),[W,K]=(0,n.useState)(!1),q=(0,n.useRef)({statusImage:C.RE.INFO_ICON,statusText:C.LG.INFO_ICON,onClick:K.bind(void 0,!0)}),z=p()(f,"query.nc",""),Q=e=>{(0,P.ze)(P.BM.PAN_SUBMIT),S?c.checkUserEligibilityRequest(k()(e.panNumber),x,u,z):y(()=>{L(!0)})};return(0,n.useEffect)(()=>{A()(N)&&c.fetchUserDetailsRequest(x,u)},[S]),(0,n.useEffect)(()=>{if(!A()(N)){let{panInformation:e,isEligible:a}=p()(N,"data",{});if(!A()(e)){let{panNumber:t}=e;V(G()(t)),d("panDetailsForm",{panNumber:t}),a&&Q({panNumber:t})}}},[N]),(0,n.useEffect)(()=>{A()(_)||V(!1)},[_]),(0,n.useEffect)(()=>{!U&&b&&t&&(Z(!0),(0,P.ze)(P.BM.PAN_FIELD_ENTER_STOP))},[t]),(0,n.useEffect)(()=>{if(g&&I){let{panNumber:e=""}=a("panDetailsForm");L(!1),e&&c.checkUserEligibilityRequest(k()(e),x,u,z)}},[g,I]),(0,n.useEffect)(()=>{if(!A()(E))if(p()(E,"data.isEligible",!1))if(Y.hJ)i("profileInfoPage");else{let e=p()(E,"data.userType","NTB"),{value:a=!1,message:t=""}=p()(h,"outage.onboarding.ntb",{}),{value:s=!1,message:n=""}=p()(h,"outage.onboarding.etb",{});"NTB"!==e||D?s?O({message:n}):o("otp"):a?O({message:t}):i("profileInfoPage")}else i("rejectedPage")},[E]),(0,s.jsxs)("form",{className:"enter-pan-form",onSubmit:r(Q),children:[T!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"step-information",children:[(0,s.jsx)(R.A,{src:C.RE.PAN_CARD_ORANGE,alt:C.LG.PAN_CARD_IMAGE}),(0,s.jsxs)("div",{className:"content-section",children:[(0,s.jsx)("h4",{children:C.DZ.LANDING_PAGE_HEADING_TEXT}),(0,s.jsx)("p",{children:C.DZ.LANDING_PAGE_SUB_HEADING_TEXT})]})]}),(0,s.jsxs)("div",{className:"pan-card-details",children:[(0,s.jsx)(F.A,{name:"panNumber",type:"text",component:B.default,placeholder:C.ox.PAN_CARD,wrapperClass:"pan-card-container",layoutId:3,maxLength:10,disabled:w,labelText:C.DZ.PAN_CARD_TEXT,onChange:()=>{b||(M(!0),(0,P.ze)(P.BM.PAN_FIELD_ENTER))},infoElement:D&&(0,s.jsxs)("p",{className:"info-text",children:[C.DZ.FULL_KYC_INFO_TEXT,"\xa0",(0,s.jsx)("b",{children:C.DZ.NEXT_TEXT}),"."]}),actionStatusDetails:q.current}),(0,s.jsxs)("div",{className:"footer ".concat(T===j.Z.MOBILE?"button-area":""),children:[(0,s.jsxs)("div",{className:"mobile-footer-images",children:[(0,s.jsx)(R.A,{src:C.RE.SECURED_PCI_DSS_LOGO,alt:C.LG.SECURED_PCI_DSS_LOGO,title:C.LG.SECURED_PCI_DSS_LOGO,className:"pci-img"}),(0,s.jsx)(R.A,{src:C.RE.SECURED_FOOTER_LOGO,alt:C.LG.SECURED_FOOTER_LOGO,title:C.LG.SECURED_FOOTER_LOGO,className:"secured-img"}),(0,s.jsx)(R.A,{src:C.RE.ISO_FOOTER_LOGO,alt:C.LG.ISO_FOOTER_LOGO,title:C.LG.ISO_FOOTER_LOGO,className:"iso-img"})]}),(0,s.jsxs)("div",{className:"btn-section",children:[(0,s.jsx)(F.A,{name:"submitPanDetails",component:v.default,text:D?C.DZ.NEXT_TEXT:C.DZ.SUBMIT_TEXT,buttonType:"primary",layoutId:3,isDisabled:!t}),(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT}),$.QE]})]}),(0,s.jsx)(H.default,{isPopUpShown:W,layoutId:3,wrapperClass:"dummy-pan-popup",popUpContent:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{children:C.DZ.DUMMY_PAN_CARD_TEXT}),(0,s.jsxs)("div",{className:"image-container",children:[(0,s.jsx)(R.A,{className:"pan-img",src:C.RE.DUMMY_PAN,alt:C.LG.DUMMY_PAN}),(0,s.jsx)(R.A,{className:"arrow-img",src:C.RE.DUMMY_PAN_ARROW,alt:C.LG.DUMMY_PAN_ARROW})]})]}),closeClickHandler:K.bind(void 0,!1),closeOnOuterClick:!0,minHeight:"auto",minWidth:"400px"})]})]})});var ea=t(16027),et=t.n(ea),es=t(26841),en=t(82637),el=t(78242),ei=t(48807),er=t(78074),ec=void 0;let eo=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{platform:a="",resendOtpHandler:t=m(),validateOtpHandler:l=m(),otpBackClickHandler:i=m(),mobileNumber:r="",error:c={},otpFocusHandler:o=m(),isFullKycExpiredView:d=!1}=e,[u,E]=(0,n.useState)(""),[h,N,_]=(0,ei.A)(30);return(0,s.jsxs)("div",{className:"enter-otp-section",children:[(0,s.jsxs)("div",{className:"header-section",children:[a!==j.Z.MOBILE&&(0,s.jsx)(R.A,{src:C.RE.BACK_ICON,alt:C.LG.PAN_CARD_IMAGE,onClick:i}),(0,s.jsx)("h3",{children:d?C.DZ.ENTER_OTP_TEXT:C.DZ.ENTER_YOUR_OTP_TEXT})]}),(0,s.jsx)("p",{className:"verification-code-text",children:d?C.DZ.VERIFICATION_CODE_SENT_TEXT2:C.DZ.VERIFICATION_CODE_SENT_TEXT}),!d&&(0,s.jsxs)("p",{className:"phone-number",children:["+91\xa0",r]}
1),(0,s.jsxs)("div",{className:"otp-details-section",children:[(0,s.jsx)(en.A,{numberOfBoxes:6,onChange:E,layoutId:3,errorMessage:!A()(c)&&c.otpErrorView?p()(c,"response.data.error.errorMessage",C.D8.INVALID_OTP):"",isMasked:!0,maskedCharacter:"●",onFocus:o}),(0,s.jsxs)("div",{className:"timer",children:[(0,s.jsx)("p",{className:"timer-para",children:_?(0,s.jsxs)(s.Fragment,{children:[C.DZ.RESEND_OTP_TEXT,"\xa0",(0,s.jsx)(R.A,{src:C.RE.TIMER_ICON,alt:C.LG.TIMER_ICON}),"\xa0",(0,s.jsx)("span",{children:(0,er.cY)(h)})]}):C.DZ.OTP_NOT_RECEIVED_TEXT}),!_&&(0,s.jsx)("span",{onClick:()=>{t(),N()},className:"resend-otp",children:C.DZ.RESEND_TEXT})]})]}),(0,s.jsxs)("div",{className:"btn-section",children:[(0,s.jsx)(v.default,{text:C.DZ.CANCEL_TEXT,buttonType:"secondary",layoutId:3,type:"button",handleClick:i}),(0,s.jsx)(v.default,{text:C.DZ.VALIDATE_TEXT,buttonType:"primary",layoutId:3,type:"button",handleClick:l.bind(ec,u),isDisabled:6!==et()(u)})]}),a!==j.Z.MOBILE&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"encrypted-text",children:C.DZ.ENCRYPTED_TEXT}),(0,s.jsxs)("div",{className:"footer-images",children:[(0,s.jsx)(R.A,{src:C.RE.SECURED_PCI_DSS_LOGO,alt:C.LG.SECURED_PCI_DSS_LOGO,title:C.LG.SECURED_PCI_DSS_LOGO,className:"pci-img"}),(0,s.jsx)(R.A,{src:C.RE.SECURED_FOOTER_LOGO,alt:C.LG.SECURED_FOOTER_LOGO,title:C.LG.SECURED_FOOTER_LOGO,className:"secured-img"}),(0,s.jsx)(R.A,{src:C.RE.ISO_FOOTER_LOGO,alt:C.LG.ISO_FOOTER_LOGO,title:C.LG.ISO_FOOTER_LOGO,className:"iso-img"})]})]})]})},ed=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{setActiveForm:a=m(),platform:t="",reduxActions:l={},payLater:{genericRequestBody:i={},checkUserEligibilityResponse:r={},sendOtpForPayLaterResponse:c={},verifyOtpForPayLaterResponse:o={},error:d={}},auth:{csrfRequestIdentifierToken:u=""},extractFormValues:E=m(),desiredStatusRef:h,forcedPollUsecaseRef:N,isFullKycExpiredView:_=!1}
1=e,[x,T]=(0,n.useState)(1),[I,O]=(0,n.useState)(!1),D=(0,el.A)(62,{useDebounce:!1}),f=p()(r,"data.cartId",""),S=p()(r,"data.mobileNumber",""),y=E("panDetailsForm"),g=e=>{O(!A()(e))},L=()=>{(0,P.ze)(P.BM.RESEND_OTP_SCREEN),l.resendOtpForPayLaterRequest(f,_?window.location.href:"",u,i)},b=e=>{l.verifyOtpForPayLaterRequest({otp:e,otpId:p()(c,"data.otpId",""),orderId:p()(c,"data.orderId","")},u,i)},M=()=>{l.resetOtpForPayLaterResponse(),T(1)},F=()=>{l.resetPayLaterError()};return(0,n.useEffect)(()=>()=>{l.resetOtpForPayLaterResponse()},[]),(0,n.useEffect)(()=>{2===x&&(0,P.Dc)({pageName:P.v.ENTER_OTP_SCREEN})},[x]),(0,n.useEffect)(()=>{A()(c)||T(2)},[c]),(0,n.useEffect)(()=>{A()(o)||(h.current=["CUSTOMER_VALIDATION_PENDING","FAILED"],N.current=P.v.REVIEW_DETAILS_IN_PROGRESS,l.updateAccountStatus("INPROGRESS"),(0,P.Dc)({pageName:P.v.VERIFY_OTP_SCREEN}))},[o]),(0,s.jsxs)("div",{className:"enter-otp-view",style:{minHeight:t===j.Z.MOBILE&&D?"".concat(D,"px"):""},children:[(0,s.jsxs)("div",{className:"step step-".concat(x),children:[(0,s.jsxs)("div",{className:"user-details-section",children:[(0,s.jsxs)("div",{className:"top-section",children:[(0,s.jsxs)("div",{className:"header-section",children:[(0,s.jsx)(R.A,{src:t===j.Z.MOBILE?C.RE.PROFILE_ICON:C.RE.PAN_CARD_ORANGE,alt:C.LG.PAN_CARD_IMAGE}),(0,s.jsxs)("div",{className:"text-content",children:[(0,s.jsx)("h2",{className:"header-text",children:C.DZ.VERIFY_DETAILS_TEXT}),(0,s.jsx)("p",{className:"para-text",children:C.DZ.AUTHENTICATE_TEXT})]}),t!==j.Z.MOBILE&&(0,s.jsx)("span",{onClick:()=>{l.resetCheckUserEligibilityResponse(),a("pan")},children:C.DZ.EDIT_TEXT})]}),(0,s.jsxs)("div",{className:"user-details",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:C.DZ.PAN_CARD_TEXT}),(0,s.jsx)("span",{children:A()(y)?"":y.panNumber})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:C.DZ.MOBILE_NUMBER_TEXT}),(0,s.jsx)("span",{children:S})]})]}),t!==j.Z.MOBILE&&(0,s.jsx)(es.A,{layoutId:3,options:$.oO,labelField:"text",valueField:"value",wrapperClass:"details-checkbox",checkboxImages:C._r,handleChange:g})]}),(0,s.jsxs)("div",{className:"bottom-section",children:[(0,s.jsxs)("div",{className:"btn-section",children:[t===j.Z.MOBILE&&(0,s.jsx)(es.A,{layoutId:3,options:$.oO,labelField:"text",valueField:"value",wrapperClass:"details-checkbox",checkboxImages:C._r,handleChange:g}),(0,s.jsx)(v.default,{text:C.DZ.VERIFY_OTP_TEXT,buttonType:"primary",layoutId:3,type:"button",handleClick:I?()=>{(0,P.ze)(P.BM.CONFIRM_VERIFY_OTP),l.sendOtpForPayLaterRequest(f,_?window.location.href:"",u,i)}:null,isDisabled:!I}),t!==j.Z.MOBILE&&(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT}),$.QE]}),t!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"footer-images",children:[(0,s.jsx)(R.A,{src:C.RE.SECURED_PCI_DSS_LOGO,alt:C.LG.SECURED_PCI_DSS_LOGO,title:C.LG.SECURED_PCI_DSS_LOGO,className:"pci-img"}),(0,s.jsx)(R.A,{src:C.RE.SECURED_FOOTER_LOGO,alt:C.LG.SECURED_FOOTER_LOGO,title:C.LG.SECURED_FOOTER_LOGO,className:"secured-img"}),(0,s.jsx)(R.A,{src:C.RE.ISO_FOOTER_LOGO,alt:C.LG.ISO_FOOTER_LOGO,title:C.LG.ISO_FOOTER_LOGO,className:"iso-img"})]})]})]}),2===x&&t!==j.Z.MOBILE&&(0,s.jsx)(eo,{platform:t,setStep:T,resendOtpHandler:L,validateOtpHandler:b,otpBackClickHandler:M,mobileNumber:S,error:d,otpFocusHandler:F,isFullKycExpiredView:_})]}),(0,s.jsx)(H.default,{wrapperClass:"pay-later-otp-popup",layoutId:3,isPopUpShown:t===j.Z.MOBILE&&2===x,popUpContent:2===x&&t===j.Z.MOBILE&&(0,s.jsx)(eo,{platform:t,setStep:T,resendOtpHandler:L,validateOtpHandler:b,otpBackClickHandler:M,mobileNumber:S,error:d,otpFocusHandler:F,isFullKycExpiredView:_}),hideCloseButton:!0})]})},eu=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a?C.DZ.FULL_KYC_HEADER_TEXT:"otp"===e?C.DZ.OTP_PAGE_HEADER_TEXT:C.DZ.PROFILE_PAGE_HEADER_TEXT},ep=e=>{let{platform:a="",handleGoBackClick:t=m(),isFullKycExpiredView:l=!1}=e,[i,r]=(0,n.useState)("pan");return((0,n.useEffect)(()=>{let e="";"pan"===i&&(e=P.v.PAN_SCREEN),"otp"===i&&(e=P.v.CONFIRM_PAN_SCREEN),e&&(0,P.Dc)({pageName:e})},[i]),a===j.Z.MOBILE)?(0,s.jsxs)(h.default,{layoutId:4,customAppLayoutClass:"pay-later landing-view enter-".concat(i,"-details"),hideSidebar:!0,showFooter:!1,headerText:eu(i,l),renderMoreOptions:l?null:(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,(0,s.jsx)(R.A,{src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]}),headingText:l?C.DZ.FULL_KYC_HEADING_TEXT:C.DZ.LANDING_PAGE_HEADING_TEXT,subHeadingText:C.DZ.LANDING_PAGE_SUB_HEADING_TEXT,headingIcon:C.RE.PAN_CARD_ORANGE,hideHeadingSection:a!==j.Z.MOBILE||"otp"===i,handleGoBackClick:t,children:["pan"===i&&(0,s.jsx)(ee,{...e,setActiveForm:r}),"otp"===i&&(0,s.jsx)(ed,{...e,setActiveForm:r,isFullKycExpiredView:l})]}):(0,s.jsx)(M,{...e,activeForm:i,setActiveForm:r,isFullKycExpiredView:l})};var eE=t(61568),em=t.n(eE),eh=t(79222),eN=t(66634),e_=t.n(eN),ex=t(36079);let eA={PROFILE_INFO_SCREEN:"Professional Info Page",REDIRECT_TO_AXIS:"Axis Webflow",LAND_AFTER_AXIS:"In Processing"};var eT=t(89415);let eI=e=>
1{let{platform:a="",step:t=0,setStep:l=m(),setPopUpData:i=m(),extractFormValues:r=m(),initializeForm:c=m(),handleGoBackClick:o=m(),payLater:{fetchUserDetailsResponse:d={}},removeListenerHandler:u=m(),reduxActions:E=m(),auth:{fcWalletId:N=""}}=e,x={personalDetailsForm:(0,b.p4)(q(r("personalDetailsForm")||{}),void 0),occupationalDetailsForm:(0,b.p4)(Q(r("occupationalDetailsForm")||{}),void 0),familyDetailsForm:(0,b.p4)(J(r("familyDetailsForm")||{}),void 0)},[T,I]=(0,n.useState)(!1),[O,D]=(0,n.useState)(1),f=e=>{i({type:"Select",...e})},S=(0,n.useMemo)(()=>({headerText:"Type of Profile Details",list:_()($.xr,a=>{let t={};switch(a.componentName){case"PersonalDetails":if(t.content=(0,s.jsx)(eS,{closePopup:I.bind(void 0,!1),...e}),x.personalDetailsForm){let{emailId:e,maritalStatus:a}=r("personalDetailsForm")||{};t.subHeading=(0,b.Oj)("".concat(e," | ").concat(a),18),t={...t,...$.K8}}else t.subHeading=a.subHeading,t={...t,...$.eC};break;case"OccupationalDetails":if(t.content=(0,s.jsx)(eR,{closePopup:I.bind(void 0,!1),handlerSelectClick:f,...e}),x.occupationalDetailsForm){let{occupation:e,monthlyIncome:a}=r("occupationalDetailsForm")||{};t.subHeading=(0,b.Oj)("".concat(e," | ₹ ").concat((0,b.Aw)(a)),18),t={...t,...$.K8}}else t.subHeading=a.subHeading,t={...t,...$.eC};break;case"FamilyDetails":if(t.content=(0,s.jsx)(eL,{closePopup:I.bind(void 0,!1),...e}),x.familyDetailsForm){let{mothersName:e,familyStatusName:a}=r("familyDetailsForm")||{};t.subHeading=(0,b.Oj)("".concat(e," | ").concat(a),18),t={...t,...$.K8}}else t.subHeading=a.subHeading,t={...t,...$.eC}}return{...a,...t}})}),[x]);return(0,n.useEffect)(()=>{let e=p()(d,"data.personalInformation",{});if((0,P.Dc)({pageName:P.v.PROFILE_INFO_SCREEN}),E.passEmsEventRequest(N,eA.PROFILE_INFO_SCREEN),A()(e))a!==j.Z.MOBILE&&(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN,otherDetails:{emailId:!1,maritalStatus:!1}});else{let{emailId:t,maritalStatus:s,occupation:n,monthlyIncome:l,mothersName:i,fathersName:r}=e,o=e_()(em()(s)),d="Unmarried"===o?"Unmarried":"Married"!==o?"Others":o;c("personalDetailsForm",{emailId:t,maritalStatus:d}),c("occupationalDetailsForm",{occupation:(0,eT._5)("value",n,"label"),monthlyIncome:l}),c("familyDetailsForm",{mothersName:i,familyStatus:r&&"Father",familyStatusName:r}),a!==j.Z.MOBILE&&(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN,otherDetails:{emailId:!!t,maritalStatus:!!d}})}},[]),(0,s.jsx)(h.default,{layoutId:4,customAppLayoutClass:"pay-later enter-details-view tab-desktop-container",hideSidebar:!0,showFooter:!1,headerText:C.DZ.PROFILE_PAGE_HEADER_TEXT,totalProgressSteps:2,activeProgressStep:t,hideProgressBar:a!==j.Z.MOBILE,headingText:C.DZ.PROFILE_PAGE_HEADING_TEXT,subHeadingText:C.DZ.PROFILE_PAGE_SUB_HEADING_TEXT,headingIcon:C.RE.PROFILE_ICON,hideHeadingSection:a!==j.Z.MOBILE,handleGoBackClick:o,onLogoutHandler:u,children:(0,s.jsxs)(s.Fragment,{children:[a!==j.Z.MOBILE&&(0,s.jsx)("div",{className:"upper-section",children:(0,s.jsx)(eM,{activeStep:1,stepsList:$.Gg,isDesktop:a===j.Z.DESKTOP})}),(0,s.jsxs)("div",{className:"lower-section",children:[a!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"step-information with-profile-img with-secured-img",children:[(0,s.jsx)("h4",{children:C.DZ.PROFILE_PAGE_HEADING_TEXT}),(0,s.jsx)("p",{children:C.DZ.PROFILE_PAGE_SUB_HEADING_TEXT})]}),(0,s.jsx)(ex.A,{isMobile:a===j.Z.MOBILE,cardData:S,isPopupShown:T,togglePopupHandler:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];I(e)},postCardClickHandler:e=>{let{uniqueId:a=0}=e;D(a);let t=r("personalDetailsForm"),s="";switch(a){case 1:{let{emailId:e,maritalStatus:a}=t||{};s="emailId|".concat(!!e,", maritalStatus|").concat(!!a),(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN,otherDetails:s});break}case 2:{let{occupation:e,sourcesOfIncome:a,monthlyIncome:n}=(t=r("occupationalDetailsForm"))||{};s="occupation|".concat(!!e,", sourcesOfIncome|").concat(!!a,", monthlyIncome|").concat(!!n),(0,P.Dc)({pageName:P.v.PROFESSIONAL_INFO_SCREEN,otherDetails:s});break}case 3:{let{mothersName:e,familyStatusName:a}=(t=r("familyDetailsForm"))||{};s="mothersName|".concat(!!e,", familyStatusName|").concat(!!a),(0,P.Dc)({pageName:P.v.FAMILY_INFO_SCREEN,otherDetails:s});break}default:(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN})}},selectedCardId:O}),(0,s.jsxs)("div",{className:"btn-section button-area",children:[(0,s.jsx)(v.default,{name:"submitDetails",text:C.DZ.CONTINUE_TEXT,handleClick:()=>{l(t+1)},buttonType:"primary",layoutId:3,isDisabled:!(0,b.p4)(x,!0)}),a===j.Z.MOBILE&&(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT}),$.QE]})]})]})})};var eO=t(67121);let eD=e=>{let{platform:a="",extractFormValues:t=m(),handleGoBackClick:l=m(),locationDetail
1s:i,setPopUpData:r=m(),reduxActions:c=m(),auth:{csrfRequestIdentifierToken:o="",setAppFcWithSameSiteResponse:d={},fcWalletId:u=""},payLater:{genericRequestBody:E={},fetchTncDetailsResponse:N={},createCartResponse:x={},recordUserConsentResponse:T={},fetchAccountStatusResponse:I={},submitCustomerDetailsResponse:O={},checkUserEligibilityResponse:D={},paylaterStaticData:f={},error:S={}},isEtbView:y=!1,removeListenerHandler:g=m(),desiredStatusRef:L,undesiredStatusRef:M,forcedPollUsecaseRef:F,setPageUnderMaintenance:U=m()}=e,[Z,w]=(0,n.useState)(null),[G,B]=(0,n.useState)({}),[X,Y]=(0,n.useState)(!1),V=y?p()(I,"data.customerDetails.panNumber",""):p()(D,"data.panInformation.panNumber",""),W=e=>{switch((0,P.ze)(P.BM.REVIEW_DETAILS_EDIT(e)),e){case"PersonalDetails":w({type:"Edit",name:"Personal Details",form:"PersonalDetails"});break;case"OccupationalDetails":w({type:"Edit",name:"Occupational Details",form:"OccupationalDetails"});break;case"FamilyDetails":w({type:"Edit",name:"Family Details",form:"FamilyDetails"});break;default:return null}},K=()=>{let e=y?p()(I,"data.customerDetails",{}):JSON.parse(JSON.stringify({...t("personalDetailsForm"),...t("occupationalDetailsForm"),...t("familyDetailsForm")})),a=_()(y?$.x1:$.A_,a=>{let t={};switch(a.sectionName){case"PersonalDetails":t.fields=[{label:C.DZ.EMAIL_ID,value:e.emailId},{label:C.DZ.MARITAL_STATUS,value:e.maritalStatus}];break;case"OccupationalDetails":t.fields=[{label:C.DZ.OCCUPATION_TYPE,value:e.occupation},{label:C.DZ.SOURCE_OF_INCOME,value:"Others"===e.sourcesOfIncome?e.otherSourceOfIncome:e.sourcesOfIncome},{label:C.DZ.MONTHLY_INCOME,value:"₹"+(0,b.Aw)(e.monthlyIncome)}];break;case"FamilyDetails":t.fields=[{label:C.DZ.MOTHER_NAME,value:e.mothersName},{label:C.DZ.STATUS_NAME(e.familyStatus),value:e.familyStatusName}];break;case"ProfileInformation":t.fields=[{label:C.DZ.CUSTOMER_NAME,value:e.customerName},{label:C.DZ.GENDER,value:e.gender},{label:C.DZ.DOB,value:e.dob},{label:C.DZ.MOBILE_NUMBER,value:e.mobileNumber},{label:C.DZ.EMAIL_ID,value:e.emailId},{label:C.DZ.ACCOUNT_NUMBER,value:e.accountNumber},{label:C.DZ.COMMUNICATION_ADDRESS,value:e.mailingAddress}]}return{...a,...t}});B({completeDetailsObj:e,reviewDetailsList:a})},q=e=>{"button"===e&&K(),w(null)},z=()=>{L.current=["READY","FAILED"],M.current=["NOT_INITIATED"],F.current=P.v.LAND_AFTER_ETB_REVIEW,c.updateAccountStatus("INPROGRESS")};return(0,n.useEffect)(()=>{(0,P.Dc)({pageName:P.v.REVIEW_DETAILS_SCREEN,FPLType:y?"ETB":"NTB"}),c.fetchTncDetailsRequest(o,E),K()},[]),(0,n.useEffect)(()=>{if(!A()(x))if(A()(d))c.setAppFcWithSameSiteRequest();else{let e=x.data;(0,P.Dc)({pageName:P.v.REDIRECT_TO_AXIS}),c.passEmsEventRequest(u,eA.REDIRECT_TO_AXIS),A()(e)||(g(),eO.N7.submitForm({actionUrl:e.redirectionUrl,method:e.httpMethod,fieldDetails:e.params,inNewTab:!1}))}},[x,d]),(0,n.useEffect)(()=>{A()(O)||z()},[O]),(0,n.useEffect)(()=>{if(!A()(T))if(y){let{customerName:e,dob:a,gender:t,panNumber:s,accountNumber:n,mobileNumber:l,emailId:r}=G.completeDetailsObj||{},d={orderId:p()(I,"data.orderId",""),orderSubStateDetails:{customerName:e,dob:a,gender:t,panNumber:s,accountNumber:n,mobileNumber:l,emailId:r},documentList:[{docType:"CONFIRM_CUST_DEMOG_TNC",userAction:"accept",actionData:{action:"PROCEED"}}],requestHeaders:{}};if(!A()(i)){let{lat:e=0,long:a=0}=i;d.latitude="".concat(e),d.longitude="".concat(a),c.submitCustomerDetailsRequest(d,o,E)}}else{let{emailId:e,maritalStatus:a,occupation:t,sourcesOfIncome:s,monthlyIncome:n,mothersName:l,familyStatusName:r,familyStatus:d}=G.completeDetailsObj||{},u={emailId:e,maritalStatus:k()($.m7[a]),occupation:(0,eT._5)("label",t,"value"),sourcesOfIncome:k()(s),monthlyIncome:n,mothersName:l,nationality:"INDIAN"};u["Father"===d?"fathersName":"spouseName"]=r;let m={cartId:p()(D,"data.cartId",""),personalInformation:u,platform:"MSITE"},{value:h=!1,message:N=""}=p()(f,"outage.onboarding.axisRedirection",{});if(h)U({message:N});else if(!A()(i)){let{lat:e=0,long:a=0}=i;m.latitude="".concat(e),m.longitude="".concat(a),c.createCartRequest(m,o,E)}}},[T,i]),(0,n.useEffect)(()=>{"submitCustomerDetailsRequest"===p()(S,"reduxAction","")&&"6052"===p()(S,"response.data.error.errorCode","")&&(c.resetPayLaterError(),z())},[S]),(0,s.jsxs)(h.default,{layoutId:4,customAppLayoutClass:"pay-later review-details-view tab-desktop-container",hideSidebar:!0,showFooter:!1,headerText:C.DZ.REVIEW_PAGE_HEADER_TEXT,handleGoBackClick:l,backIconPath:C.RE.CROSS_ICON,onLogoutHandler:g,children:[(0,s.jsxs)("div",{className:"review-details-content",children:[a!==j.Z.MOBILE&&(0,s.jsx)("div",{className:"upper-section",children:(0,s.jsx)(eM,{activeStep:1,stepsList:$.Gg,isDesktop:a===j.Z.DESKTOP})}
1),(0,s.jsxs)("div",{className:"step-details dashed-border",children:[a!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"step-information with-profile-img",children:[(0,s.jsx)("h4",{children:C.DZ.REVIEW_PAGE_HEADING_TEXT}),(0,s.jsx)("p",{children:C.DZ.REVIEW_PAGE_SUB_HEADING_TEXT})]}),V&&(0,s.jsxs)("div",{className:"pan-details",children:[(0,s.jsx)(R.A,{src:C.RE.PAN_CARD,alt:C.LG.PAN_CARD_IMAGE}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{children:C.DZ.PAN_CARD_TEXT}),(0,s.jsx)("span",{children:V})]})]})]}),!A()(N)&&!A()(G)&&(0,s.jsxs)(s.Fragment,{children:[_()(G.reviewDetailsList,(e,a)=>(0,s.jsxs)("div",{className:e.sectionClassname,children:[(0,s.jsxs)("div",{className:"heading-content",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"header-section",children:[(0,s.jsx)(R.A,{src:e.imageUrl,alt:e.imageAltText}),(0,s.jsx)("h4",{children:e.heading})]}),!A()(e.subHeading)&&(0,s.jsx)("p",{children:e.subHeading})]}),!y&&(0,s.jsx)("span",{onClick:W.bind(void 0,e.sectionName),children:C.DZ.EDIT_TEXT})]}),(0,s.jsx)("div",{className:"form-values",children:_()(e.fields,(e,a)=>(0,s.jsxs)("div",{className:"user-input",children:[(0,s.jsx)("label",{children:e.label}),(0,s.jsx)("span",{className:"".concat(e.label===C.DZ.ACCOUNT_NUMBER?"account-no":""),children:e.value})]},a))})]},a)),(0,s.jsxs)("div",{className:"final-inputs",children:[(0,s.jsx)("div",{className:"checkboxes-section",children:(0,s.jsx)(es.A,{name:"isTnCAccepted",labelField:"text",layoutId:3,valueField:"value",options:y?(0,$.hH)():(0,$.aX)(p()(N,"data.activePolicy.policyDocumentHostUrl","")),wrapperClass:"tnc-checkbox",checkboxImages:C._r,handleChange:e=>{Y(!A()(e)&&et()(e)===(y?1:2))}})}),(0,s.jsxs)("div",{className:"btn-section button-area",children:[(0,s.jsx)(v.default,{name:"submitReviewDetails",text:C.DZ.SUBMIT_TEXT,handleClick:()=>{r({type:"location",layoutId:2,minWidth:550}),(0,P.ze)(P.BM.REVIEW_DETAILS_SUBMIT),c.recordUserConsentRequest(o,E)},buttonType:"primary",layoutId:3,isDisabled:!X}),$.QE]})]})]})]}),(0,s.jsx)(H.default,{isPopUpShown:!A()(Z),popUpContent:(0,s.jsx)(eG,{popUpData:Z,hidePopup:q,isMobile:a===j.Z.MOBILE,handleSelectClick:e=>{r({type:"Select",...e})}}),closeClickHandler:q.bind(void 0,!0),wrapperClass:A()(Z)?"":"pay-later-".concat(em()(Z.type),"-popup"),hideCloseButton:!A()(Z)&&"Edit"===Z.type&&a===j.Z.MOBILE,minWidth:"415px",minHeight:"unset",closeBtnPath:C.RE.POPUP_CLOSE})]})};var ef=t(94525);let eS=(0,U.A)({form:"personalDetailsForm",destroyOnUnmount:!1,validate:q})(e=>{let{valid:a=!1,closePopup:t=m(),handleSubmit:n=m(),isMobileEditMode:l=!1}=e;return(0,s.jsx)("form",{onSubmit:n(()=>{(0,P.ze)(P.BM.PERSONAL_INFO_SUBMIT),t("button")}),children:(0,s.jsxs)("div",{className:"personal-details",children:[(0,s.jsx)(F.A,{name:"emailId",type:"text",component:B.default,maxLength:50,placeholder:C.ox.EMAIL_ID,wrapperClass:"email-id-container",layoutId:3,labelText:C.DZ.EMAIL_ID}),(0,s.jsxs)("div",{className:"marital-status",children:[(0,s.jsx)("label",{children:C.DZ.MARITAL_STATUS}),(0,s.jsx)(F.A,{name:"maritalStatus",component:ef.default,valueField:"value",labelField:"label",options:$.Fk,wrapperClass:"marital-status-container",radioImages:C.P2})]}),(0,s.jsxs)("div",{className:"bottom-section ".concat(l?"mobile-edit-mode":""),children:[(0,s.jsx)(F.A,{name:"submitPersonalDetails",component:v.default,text:C.DZ.ADD_DETAILS_TEXT,buttonType:"primary",layoutId:3,isDisabled:!a}),l&&(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT})]})]})})});var eC=t(1375);let ej="occupationalDetailsForm",eR=(0,r.Zz)((0,c.Ng)(e=>{let{form:a}=e;return{formValues:(0,o.A)(ej)({form:a})}},null),(0,U.A)({form:ej,destroyOnUnmount:!1,validate:Q}))(e=>{let{valid:a=!1,closePopup:t=m(),formValues:n={},handlerSelectClick:l=m(),handleSubmit:i=m(),isMobileEditMode:r=!1,platform:c}=e;return(0,s.jsx)("form",{onSubmit:i(()=>{(0,P.ze)(P.BM.PROFESSIONAL_INFO_SUBMIT),t("button")}),children:(0,s.jsxs)("div",{className:"occupational-details dashed-border",children:[(0,s.jsx)(F.A,{name:"occupation",component:eC.A,data:$.Kf,layoutId:4,wrapperClass:"occupation-type-container",label:C.DZ.OCCUPATION_TYPE,popUpHeading:C.DZ.OCCUPATION_TYPE,hidePopUp:!0,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:l}),(0,s.jsxs)("div",{className:"source-income",children:[(0,s.jsx)(F.A,{name:"sourcesOfIncome",component:eC.A,data:$.bk,layoutId:4,wrapperClass:"source-income-container",label:C.DZ.SOURCE_OF_INCOME,popUpHeading:C.DZ.SOURCE_OF_INCOME,hidePopUp:!0,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:l,platform:c}),"Others"===n.sourcesOfIncome&&(0,s.jsx)(F.A,{name:"otherSourceOfIncome",type:"text",maxLength:20,component:B.default,placeholder:C.ox.SOURCE_OF_INCOME,layoutId:3,pattern:W.ALPHABETS_SPACE_ONLY})]}),(0,s.jsx)(F.A,{name:"monthlyIncome",type:"tel",component:B.default,placeholder:C.ox.MONTHLY_INCOME,wrapperClass:"monthly-income-container",layoutId:3,labelText:C.DZ.MONTHLY_INCOME,pattern:W.NUMBER_ONLY_NOT_STARTING_ZERO,maxLength:8,commaSeparator:!0,prefixContent:"₹",prefixContentPadding:"25px"}),(0,s.jsxs)("div",{className:"bottom-section ".concat(r?"mobile-edit-mode":""),children:[(0,s.jsx)(F.A,{name:"submitOccupationalDetails",component:v.default,text:C.DZ.ADD_DETAILS_TEXT,buttonType:"primary",layoutId:3,isDisabled:!a}),r&&(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT})]})]})})});var ey=t(62238);let eg="familyDetailsForm",eL=(0,r.Zz)((0,c.Ng)(e=>{let{form:a}=e;return{formValues:(0,o.A)(eg)({form:a})}},null),(0,U.A)({form:eg,destroyOnUnmount:!1,validate:J}))(e=>{let{valid:a=!1,closePopup:t=m(),formValues:n={},handleSubmit:l=m(),isMobileEditMode:i=!1}=e;return(0,s.jsx)("form",{onSubmit:l(()=>{(0,P.ze)(P.BM.FAMILY_INFO_SUBMIT),t("button")}),children:(0,s.jsxs)("div",{className:"family-details",children:[(0,s.jsx)(F.A,{name:"mothersName",type:"text",component:B.default,placeholder:C.ox.MOTHER_NAME,wrapperClass:"mother-name-container",layoutId:3,maxLength:50,labelText:C.DZ.MOTHER_NAME,pattern:W.ALPHABETS_DOT_SPACE_ONLY}),(0,s.jsxs)("div",{className:"family-status",children:[(0,s.jsx)("label",{children:C.DZ.FAMILY_STATUS}),(0,s.jsx)(F.A,{name:"familyStatus",component:ef.default,valueField:"value",labelField:"label",options:$.zG,wrapperClass:"family-status-container",radioImages:{ACTIVE:"".concat(ey.Cp,"/radio/radio_dot_active.png"),IN_ACTIVE:"".concat(ey.Cp,"/radio/radio_dot_inactive.png")}})]}),(0,s.jsx)(F.A,{name:"familyStatusName",type:"text",component:B.default,placeholder:A()(n.familyStatus)?C.ox.FAMILY_STATUS:C.ox.STATUS_NAME(n.familyStatus),wrapperClass:"father-name-container",layoutId:3,maxLength:50,disabled:A()(n.familyStatus),pattern:W.ALPHABETS_DOT_SPACE_ONLY}),(0,s.jsxs)("div",{className:"bottom-section ".concat(i?"mobile-edit-mode":""),children:[(0,s.jsx)(F.A,{name:"submitFamilyDetails",component:v.default,text:C.DZ.ADD_DETAILS_TEXT,buttonType:"primary",layoutId:3,isDisabled:!a}),i&&(0,s.jsx)("p",{children:C.DZ.ENCRYPTED_TEXT})]})]})})});var eb=t(95062),ev=t.n(eb);let eP=e=>{let{activeStep:a=0,stepsList:t=[]}=e;return A()(t)?null:(0,s.jsx)("div",{className:"pay-later-step",children:(0,s.jsx)("ul",{children:n.Children.toArray(_()(t,(e,t)=>{let n=t+1===a,l=t+1<a;return(0,s.jsx)("li",{className:"".concat(n?"active-step":""," ").concat(l?"completed-step":""),children:e},"".concat(e,"-").concat(t))}))})})};
1eP.propTypes={activeStep:ev().number,stepsList:ev().array};let eM=eP;var eF=t(35837);let eU=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isMobile:a=!1,hidePopup:t=m()}=e;return(0,P.Dc)({pageName:P.v.NEVER_ALLOW_LOCATION_PERMISSION}),(0,s.jsxs)("div",{className:"location-main-container",children:[(0,s.jsxs)("div",{className:"error-fetch-container",children:[(0,s.jsx)("h3",{children:C.DZ.LOCATION_ERROR_HEADING}),(0,s.jsx)("p",{children:C.DZ.LOCATION_ERROR_TEXT})]}),(0,s.jsx)(R.A,{className:"help-icon",src:a?C.RE.PERMISSION_MOBILE_IMAGE:C.RE.PERMISSION_DESKTOP_IMAGE,alt:C.LG.PERMISSION_IMAGE}),(0,s.jsx)("div",{className:"info-site-container",children:(0,s.jsxs)("span",{className:"site-info-text",children:[C.DZ.SITE_INFO_DETAILS.TEXT1,"\xa0",(0,s.jsx)("b",{children:C.DZ.SITE_INFO_DETAILS.TEXT2}),"\xa0",C.DZ.SITE_INFO_DETAILS.TEXT3,"\xa0",(0,s.jsx)("b",{children:C.DZ.SITE_INFO_DETAILS.TEXT4})]})}),(0,s.jsx)(v.default,{customClass:"location-btn",layoutId:3,buttonType:"primary",text:C.DZ.GOT_IT_TEXT,handleClick:()=>{(0,P.ze)(P.BM.NEVER_ALLOW_LOCATION_PERMISSION_BUTTON),t()}}),(0,s.jsxs)("div",{className:"safe-shield",children:[(0,s.jsx)(R.A,{className:"safe-icon",src:C.RE.SAFE_SHIELD,alt:C.LG.SAFE_SHIELD_ICON}),(0,s.jsx)("span",{className:"safe-text",children:C.DZ.SAFE_SHIELD_TEXT})]})]})},eZ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{retryHandler:a=m(),isMobile:t=!1}=e;return(0,P.Dc)({pageName:P.v.DISALLOW_LOCATION_PERMISSION}),(0,s.jsxs)("div",{className:"location-main-container",children:[(0,s.jsx)(R.A,{className:"error-icon",src:C.RE.LOCATION_ERROR,alt:C.LG.LOCATION_ERROR}),(0,s.jsxs)("div",{className:"error-fetch-container",children:[(0,s.jsx)("h3",{children:C.DZ.LOCATION_ERROR_HEADING}),(0,s.jsx)("p",{children:C.DZ.LOCATION_ERROR_TEXT2})]}),(0,s.jsxs)("div",{className:"safe-shield",children:[(0,s.jsx)(R.A,{className:"safe-icon",src:C.RE.SAFE_SHIELD,alt:C.LG.SAFE_SHIELD_ICON}),(0,s.jsx)("span",{className:"safe-text",children:C.DZ.SAFE_SHIELD_TEXT})]}),(0,s.jsx)("div",{className:"location-info-container",children:(0,s.jsxs)("div",{className:"info-content",children:[t&&(0,s.jsx)(R.A,{className:"location-icon",src:C.RE.LOCATION_ICON,alt:C.LG.LOCATION_ICON}),(0,s.jsxs)("div",{className:"info-container",children:[(0,s.jsx)("h3",{className:"title-text error",children:C.DZ.LOCATION_MANDATORY_TEXT}),(0,s.jsx)("p",{className:"info-text",children:C.DZ.LOCATION_PERMISSION_PARA})]})]})}),(0,s.jsx)(v.default,{customClass:"location-btn",layoutId:3,buttonType:"primary",text:C.DZ.RETRY_TEXT,handleClick:a})]})},ek=e=>{let{isMobile:a=!1,setLocationError:t=m(),setLocationDetails:l=m(),hidePopup:i=m()}=e,[r,c]=(0,n.useState)({}),{setFetchLocation:o}=(0,eF.A)([],l,function(e){let a=p()(e,"code",0);o(!1),t(!0),c({isDetected:!!e&&(1===a||101===a),isGranted:!1})},{preventDefault:!0}),d=(0,n.useMemo)(()=>{let{isDetected:e=!1}=r,t=()=>{(0,P.ze)(P.BM.DISALLOW_LOCATION_PERMISSION_BUTTON),o(!0)};return a?(0,s.jsx)(h.default,{layoutId:4,customAppLayoutClass:"pay-later paylater-location-popup location-error",renderMoreOptions:(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,(0,s.jsx)(R.A,{src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]}),headerText:C.DZ.ERROR_OCCURED_TEXT,handleGoBackClick:i,children:e?(0,s.jsx)(eU,{hidePopup:i,isMobile:a}):(0,s.jsx)(eZ,{retryHandler:t,isMobile:a})}):e?(0,s.jsx)(eU,{hidePopup:i,isMobile:a}):(0,s.jsx)(eZ,{retryHandler:t,isMobile:a})},[r,a]);return A()(r)?((0,P.Dc)({pageName:P.v.ALLOW_LOCATION_PERMISSION}),(0,s.jsxs)("div",{className:"location-main-container",children:[a?(0,s.jsxs)("div",{className:"safe-shield",children:[(0,s.jsx)(R.A,{className:"safe-icon",src:C.RE.SAFE_SHIELD,alt:C.LG.SAFE_SHIELD_ICON}),(0,s.jsx)("span",{className:"safe-text",children:C.DZ.SAFE_SHIELD_TEXT})]}):(0,s.jsx)(R.A,{className:"location-icon",src:C.RE.LOCATION_IMAGE,alt:C.LG.LOCATION_IMAGE}),(0,s.jsxs)("div",{className:"location-info-container",children:[(0,s.jsx)("h1",{className:"info-title",children:C.DZ.LOCATION_PERMISSION_HEADING_TEXT}),(0,s.jsxs)("div",{className:"info-content",children:[a&&(0,s.jsx)(R.A,{className:"location-icon",src:C.RE.LOCATION_ICON,alt:C.LG.LOCATION_ICON}),(0,s.jsxs)("div",{className:"info-container",children:[a&&(0,s.jsx)("h3",{className:"title-text",children:C.DZ.LOCATION_PERMISSION_TEXT}),(0,s.jsx)("p",{className:"info-text",children:C.DZ.LOCATION_PERMISSION_PARA})]})]})]}),(0,s.jsx)(v.default,{customClass:"location-btn",layoutId:3,buttonType:"primary",text:C.DZ.ALLOW_TEXT,handleClick:()=>{(0,P.ze)(P.BM.ALLOW_PERMISSION_BUTTON),o(!0)}}),!a&&(0,s.jsxs)("div",{className:"safe-shield",children:[(0,s.jsx)(R.A,{className:"safe-icon",src:C.RE.SAFE_SHIELD,alt:C.LG.SAFE_SHIELD_ICON}),(0,s.jsx)("span",{className:"safe-text",children:C.DZ.SAFE_SHIELD_TEXT})]})]})):d},ew=e=>{let{popUpData:a={}
1,hidePopup:t=m(),setLocationError:l=m(),setLocationDetails:i=m(),platform:r}=e,c=r===j.Z.MOBILE;if(A()(a))return null;let{type:o=""}=a;switch(o){case"Select":{let{data:e=[],popUpHeading:l="",input:i={}}=a,{value:r="",onChange:c=m()}=i,o=e=>{c(e),t()};return(0,s.jsxs)("div",{className:"pay-later-select",children:[l&&(0,s.jsx)("p",{children:l}),(0,s.jsx)("ul",{children:n.Children.toArray(_()(e,(e,a)=>(0,s.jsx)("li",{onClick:o.bind(void 0,e),className:"".concat(r===e?"active":""),children:e},"".concat(e,"-").concat(a))))})]})}case"location":return(0,s.jsx)(ek,{isMobile:c,setLocationError:l,setLocationDetails:i,hidePopup:t});default:return null}},eG=e=>{let{popUpData:a={},hidePopup:t=m(),isMobile:n=!1,handleSelectClick:l=m()}=e;if(A()(a))return null;let{name:i="",form:r=""}=a;return(0,s.jsx)("div",{className:"pay-later-edit",children:(0,s.jsxs)("div",{className:"top-section",children:[(0,s.jsxs)("div",{className:"header-section",children:[n&&(0,s.jsx)(R.A,{className:"cross-icon",src:C.RE.CROSS_ICON,alt:C.LG.CROSS_ICON,onClick:t.bind(void 0,!0)}),(0,s.jsxs)("h4",{children:[C.DZ.EDIT_TEXT," ",i]}),n&&(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]})]}),(e=>{switch(e){case"PersonalDetails":return(0,s.jsx)(eS,{closePopup:t,isMobileEditMode:n});case"OccupationalDetails":return(0,s.jsx)(eR,{handlerSelectClick:l,closePopup:t,isMobileEditMode:n});case"FamilyDetails":return(0,s.jsx)(eL,{closePopup:t,isMobileEditMode:n});default:return null}})(r)]})})},eB=e=>{let{payLater:{fetchUserDetailsResponse:a={}},isEtbView:t=!1,platform:l}=e,[i,r]=(0,n.useState)(t?2:1),[c,o]=(0,n.useState)(null),[d,u]=(0,n.use
1State)({}),[p,E]=(0,n.useState)(!1);if(!t&&A()(a))return(0,s.jsx)(eh.default,{});let m=()=>{o(null),E(!1)};return(0,s.jsxs)(s.Fragment,{children:[1===i&&(0,s.jsx)(eI,{...e,step:i,setStep:r,setPopUpData:o}),2===i&&(0,s.jsx)(eD,{...e,setStep:r,setPopUpData:o,locationDetails:d,isEtbView:t}),(0,s.jsx)(H.default,{layoutId:p?1:c&&c.layoutId?c.layoutId:2,isPopUpShown:!A()(c),popUpContent:(0,s.jsx)(ew,{popUpData:c,platform:l,setLocationDetails:u,setLocationError:E,hidePopup:m}),closeClickHandler:m,wrapperClass:A()(c)?"":"pay-later-".concat(em()(c.type),"-popup ").concat(p?"location-error":""),minWidth:A()(c)?"50vw":c.minWidth,minHeight:"auto",maxHeight:"initial"})]})};var eH=t(69750),eX=t.n(eH),eY=t(30616);let eV=e=>{let{infoImageUrl:a,infoImageAltText:t=C.LG.ERROR_ICON_ALT,infoHeading:l,infoSubText:r,infoBtnText:c,infoBtnUsecase:o="home",infoBtnHandler:d=m(),isFullPageView:u=!0,customWrapperClass:p,platform:E="",isRejectedView:N=!1,omnitureOnLoadHandler:x,headerText:A="",showBtnSection:T=!0,infoBtnLeadingText:I="",removeListenerHandler:O=m()}=e,D=e=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(R.A,{className:"info-image",src:a,alt:t}),(0,s.jsx)("p",{className:"info-view-heading",children:l}),_()(r,(e,a)=>(0,s.jsx)("p",{className:"info-sub-text",children:e},a)),T&&(0,s.jsx)("div",{className:"btn-section ".concat(e?"btn-section-fixed":""," ").concat("primSec"===o?"flex-btns":""," ").concat(I?"with-leading-text":""),children:(()=>{switch(o){case"ok":case"home":return(0,s.jsxs)(s.Fragment,{children:[I&&(0,s.jsx)("p",{className:"info-btn-leading-text",children:I}),(0,s.jsx)(v.default,{name:"infoBtn",text:c,buttonType:"primary",customClass:"info-btn",handleClick:()=>{"ok"===o?d():i().push("/services")},layoutId:3})]});case"confirm":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.default,{name:"infoBtn",text:c[0],buttonType:"primary",customClass:"info-btn",handleClick:d.bind(void 0,!1,c[0]),layoutId:3}),(0,s.jsx)("p",{className:"info-link",onClick:d.bind(void 0,!0,c[1]),children:c[1]})]});case"primSec":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.default,{name:"infoBtnSec",text:c[0],buttonType:"secondary",customClass:"info-btn secondary",handleClick:d[0],layoutId:3}),(0,s.jsx)(v.default,{name:"infoBtnPrim",text:c[1],buttonType:"primary",customClass:"info-btn primary",handleClick:d[1],layoutId:3})]});default:return null}})()})]});return((0,n.useEffect)(()=>{x?x():(0,P.Dc)({pageName:N?P.v.REJECTED_SCREEN:P.v.ERROR_LANDING_SCREEN,errorMessage:r})},[]),u)?(0,s.jsx)(h.default,{layoutId:4,headerText:A,customAppLayoutClass:"pay-later info-view tab-desktop-container",handleGoBackClick:()=>{i().back()},hideSidebar:!0,onLogoutHandler:O,children:(0,s.jsx)("div",{className:"info-view-content full-page-view ".concat(p||""),children:D(E===j.Z.MOBILE)})}):(0,s.jsx)("div",{className:"info-view-content ".concat(p||""),children:D()})};var eW=t(52198),eK=t(81844);let eq=e=>{let{tncUrl:a=""}=e;return(0,s.jsx)("div",{className:"axis-terms",children:(0,s.jsx)("iframe",{src:a,width:"100%",height:"300px"})})},ez=e=>{let{setStep:a,platform:t="",handleGoBackClick:i=m(),payLater:{genericRequestBody:r={},fetchAccountStatusResponse:c={},performActionResponse:o={},error:d={},paylaterStaticData:u={}},auth:{csrfRequestIdentifierToken:E=""},reduxActions:N,removeListenerHandler:_=m(),setPageUnderMaintenance:x=m(),setPage:T=m()}=e,I={monthlyAmount:p()(c,"data.productDetails.monthlyLimit",0),sanctionedAmount:p()(c,"data.productDetails.sanctionedAmount",0),tenure:Y.Q4?12:p()(c,"data.productDetails.tenure",0),accountNumber:p()(c,"data.productDetails.accountNumber",0)},O=p()(c,"data.productDetails.tnc.metadata.link",""),D=(0,l.useRouter)(),{appConfig:f={}}=(0,eK.A)(!0),[S,y]=(0,n.useState)(!0),[g,L]=(0,n.useState)(!1),[M,F]=(0,n.useState)(""),[U,Z]=(0,n.useState)(!1),k=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=p()(c,"data.productDetails.aadharDetails",{}),s={action:"".concat(e?"DECLINE_OFFER":"ACTIVATE_OFFER"),orderId:p()(c,"data.orderId",""),partnerCode:M||C.DZ.DEFAULT_PARTNER_CODE,documentList:A()(t)?[{docType:"OFFER_TNC",userAction:"active offer",actionData:{action:"PROCEED"}},{docType:"KFS_TNC",userAction:"accept",actionData:{action:"PROCEED"}}]:[{docType:"OFFER_TNC",userAction:"active offer",actionData:{action:"PROCEED"}},{docType:"CONFIRM_ADDHAR_TNC",userAction:"adhaar pop up",actionData:{action:"PROCEED"}},{docType:"KFS_TNC",userAction:"accept",actionData:{action:"PROCEED"}}]};a&&(0,P.ze)(P.BM.AADHAR_POPUP_BUTTON(a)),N.performActionRequest(s,E,r)},w=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.default,{name:"partnerCode",type:"text",labelText:C.DZ.PARTNER_CODE,placeholder:C.ox.DEFAULT_PARTNER_CODE,component:B.default,pattern:W.APLHA_NUMERIC,wrapperClass:"partner-code-text",layoutId:3,maxLength:20,input
1:{value:M,onChange:e=>{F(e)}}}),(0,s.jsxs)("div",{className:"partner-info-icon",children:[(0,s.jsx)(R.A,{src:"".concat(ey.Cp,"/paymentPage/note-info-icon.svg"),alt:C.DZ.PARTNER_NOTE_INFO}),(0,s.jsx)("span",{children:C.DZ.PARTNER_NOTE_INFO})]})]});return(0,n.useEffect)(()=>{if(!A()(o)){let e=p()(o,"data.status","");if("success"===em()(e)){let e=p()(c,"data.orderId",""),t=p()(c,"data.productDetails.monthlyLimit",0),s=p()(c,"data.userType","");if(e&&!U){let a=p()(D,"query",{}),s=(0,b.zM)(eY.kM.PAY_LATER_UTM_PARAMS)||{},n=(A()(a)||1===eX()(a).length&&a.userJourney||a.redirected)&&!A()(s)?s:a;(e=>{if("undefined"!=typeof document){let e=document.createElement("script");e.src="https://sokrati.g2afse.com/track.js",document.head.appendChild(e)}})(0),((e,a)=>{if("undefined"!=typeof document){let t=document.createElement("iframe");t.src="https://trk.getinfo360.com/pixel?adid=61b8868529a8be43556ef46d&sub1=".concat(e,"&sub2=").concat(a),t.style.width="1px",t.style.height="1px",document.body.appendChild(t)}})(e,t),((e,a)=>{if("undefined"!=typeof document&&(0,b.Ke)(e,{utm_campaign:"optimidia_paylater_campaign",utm_source:"Affiliates",utm_medium:"optimidia",cid:"Affiliates"},{utm_campaign:"optimidia_paylater",utm_medium:"aff_optimidia"})){let e=document.createElement("iframe");e.src="https://optimidea.gotrackier.com/pixel?adid=61ade28777e2385b2c6423f7&sub1=".concat(a),e.style.width="1px",e.style.height="1px",document.body.appendChild(e)}})(n,e),((e,a,t)=>{if("undefined"!=typeof document&&(0,b.Ke)(e,{utm_campaign:"zfunds_paylater_campaign",utm_source:"Affiliates",utm_medium:"Aff_Zfunds_239519a72445",cid:"Affiliates"},{utm_medium:"Aff_Zfunds"})){let{utm_medium:s=""}=e||{},n=document.createElement("img"),l=Date.now();n.src="https://n19shpp1fi.execute-api.ap-south-1.amazonaws.com/prod/api/cart/freecharge?order_id=".concat(a,"&amount=").concat(t,"&timestamp=").concat(l,"&utm_medium=").concat(s),n.style.width="0",n.style.height="0",document.body.appendChild(n)}})(n,e,t),Z(!0),(0,b.n5)(eY.kM.PAY_LATER_UTM_PARAMS)}if("LENDINGETB"===s)return void eO.N7.submitForm({actionUrl:p()(o,"data.redirectionUrl"),method:p()(o,"data.httpMethod","POST"),fieldDetails:p()(o,"data.params",{}),inNewTab:!1});if(N.fetchAccountStatusRequest(E,r),!A()(c)&&"ACTIVE"===p()(c,"data.status","")){let e=p()(c,"data.productType","");N.resetPerformActionResponse(),"OVERDRAFT"===e?T($.z3.CREDIT_DETAILS_PAGE):a(2)}}}},[o,c]),(0,n.useEffect)(()=>{"performActionRequest"===p()(d,"reduxAction","")&&(N.resetPayLaterError(),N.fetchAccountStatusRequest(E,r))},[d]),(0,s.jsxs)(h.default,{layoutId:4,headerText:C.DZ.CONFIRMATION_HEADER,customAppLayoutClass:"pay-later confirmed-view tab-desktop-container",renderMoreOptions:(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{className:C.LG.AXIS_LOGO,src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]}),handleGoBackClick:i,backIconPath:"".concat(ey.Cp,"/payLater/cross-icon.svg"),hideSidebar:!0,onLogoutHandler:_,children:[(0,s.jsxs)("div",{className:"confirmed-view-content",children:[(0,s.jsxs)("div",{className:"status-page-desktop-header",children:[(0,s.jsx)(R.A,{src:"".concat(ey.Cp,"/payLater/cross-icon.svg"),className:"close-view-icon",alt:C.LG.CROSS_ICON,onClick:i}),(0,s.jsx)("p",{children:C.DZ.CONFIRMATION_HEADER}),(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{className:"powered-img",src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]})]}),(0,s.jsxs)("div",{className:"confirm-details",children:[t===j.Z.MOBILE&&(0,s.jsxs)(n.Fragment,{children:[(0,s.jsxs)("div",{className:"layout-box",children:[(0,s.jsx)(eJ,{imgUrl:C.RE.CONFIRMED_VIEW_STATUS_LOGO,heading:C.DZ.CONFIRMATION_STATUS_HEADING,subHeading:C.DZ.CONFIRMATION_STATUS_SUBHEADING}),(0,s.jsx)(e$,{balanceDetails:I}),w]}),!A()(p()(c,"data.kfsDetails",{}))&&(0,s.jsx)(eW.A,{kfsDetails:{...p()(c,"data.kfsDetails",{}),monthlyLimit:p()(c,"data.productDetails.monthlyLimit",0)},productType:"BNPL",customClass:"paylater-kfs-wrapper",underlineText:Y.Q4?"":p()(f,"KFS_UNDERLINING_TEXT","")}),(0,s.jsxs)("div",{className:"terms layout-box",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CONFIRMATION_TERMS_HEADING}),(0,s.jsx)("p",{className:"sub-heading",children:C.DZ.CONFIRMATION_TERMS_TEXT})]})]}),t!==j.Z.MOBILE&&(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(eJ,{imgUrl:C.RE.CONFIRMED_VIEW_STATUS_LOGO,heading:C.DZ.CONFIRMATION_
1STATUS_HEADING,subHeading:C.DZ.CONFIRMATION_STATUS_SUBHEADING}),w,(0,s.jsxs)("div",{className:"confirmation-page-balance-terms",children:[(0,s.jsx)(e$,{balanceDetails:I}),(0,s.jsxs)("div",{className:"kfs-and-loan-terms",children:[!A()(p()(c,"data.kfsDetails",{}))&&(0,s.jsx)(eW.A,{kfsDetails:{...p()(c,"data.kfsDetails",{}),monthlyLimit:p()(c,"data.productDetails.monthlyLimit",0)},productType:"BNPL",customClass:"paylater-kfs-wrapper",underlineText:p()(f,"KFS_UNDERLINING_TEXT","")}),(0,s.jsx)(eq,{tncUrl:O})]})]})]}),t===j.Z.MOBILE&&(0,s.jsx)(eq,{tncUrl:O})]})]}),(0,s.jsxs)("div",{className:"play-store-buttons",children:[(0,s.jsx)("a",{href:C.ni.GOOGLE_PLAY,title:C.DZ.GOOGLE_PLAY_LINK_TITLE,target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,P.ze)(P.BM.CONFIRM_STORE_LINK("googlePlay")),children:(0,s.jsx)(R.A,{src:C.RE.CONFIRMATION_ANDROID_APP_STORE,title:C.DZ.GOOGLE_PLAY_ICON_TITLE,alt:C.DZ.GOOGLE_PLAY_ICON_ALT})}),(0,s.jsx)("a",{href:C.ni.APP_STORE,title:C.DZ.APP_STORE_LINK_TITLE,target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,P.ze)(P.BM.CONFIRM_STORE_LINK("appStore")),children:(0,s.jsx)(R.A,{src:C.RE.CONFIRMATION_IOS_APP_STORE,title:C.DZ.APP_STORE_ICON_TITLE,alt:C.DZ.APP_STORE_ICON_ALT})})]}),(0,s.jsxs)("div",{className:"confirmation-footer",children:[(0,s.jsx)(es.A,{name:"userConsent",labelField:"text",layoutId:4,valueField:"value",options:$.P1,checkboxImages:C._r,wrapperClass:"user-consent-checkbox",handleChange:e=>{y(e.length>1)}}),(0,s.jsx)(v.default,{text:C.DZ.CONFIRMATION_ACTIVATE_BUTTON,buttonType:"primary",layoutId:3,customClass:"form-submit-btn",isDisabled:!S,handleClick:()=>{let e=p()(c,"data.productDetails.aadharDetails",{});if(!A()(e))return void L(!0);let{value:a=!1,message:t=""}=p()(u,"outage.onboarding.activation",{});a?x({message:t}):(k(),(0,P.kO)(M||C.DZ.DEFAULT_PARTNER_CODE))}}),$.QE]}),(0,s.jsx)(H.default,{layoutId:3,isPopUpShown:g,popUpContent:g?(0,s.jsx)(eV,{...$.lt.AADHAAR_DETAILS_CHANGED,infoBtnHandler:k,omnitureOnLoadHandler:()=>{(0,P.Dc)({pageName:P.v.AADHAR_POPUP_SCREEN})}}):null,closeClickHandler:L.bind(void 0,!1),minWidth:"415px",minHeight:"unset"})]})},eQ=e=>{let{handleGoBackClick:a=m(),payLater:{fetchAccountStatusResponse:t={}},platform:n,setPage:l=m(),removeListenerHandler:i=m()}=e,r=p()(t,"data.accountDetails.currentLimit",0),{status:c,info:o}=$.X1,{heading:d,notes:u}=o,E=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("a",{href:"https://frch.in/msite",rel:"noopener noreferrer",target:"_blank",children:(0,s.jsx)(R.A,{className:"download-img",src:C.RE.GOOGLE_PLAY_DOWNLOAD,alt:C.LG.GOOGLE_PLAY_DOWNLOAD})}),(0,s.jsxs)("p",{className:"approved-view-download",children:[(0,s.jsx)("span",{className:"bold",children:C.DZ.APPROVED_VIEW_BOLD_DOWNLOAD_TEXT}),C.DZ.APPROVED_VIEW_DOWNLOAD_TEXT]})]});return(0,s.jsxs)(h.default,{layoutId:4,headerText:C.DZ.APPROVED_HEADER,customAppLayoutClass:"pay-later approved-view tab-desktop-container",renderMoreOptions:(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{className:C.LG.AXIS_LOGO,src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]}),handleGoBackClick:a,backIconPath:C.RE.CROSS_ICON,hideSidebar:!0,showFooter:!1,onLogoutHandler:i,children:[(0,s.jsxs)("div",{className:"status-page-desktop-header",children:[(0,s.jsx)(R.A,{src:C.RE.CROSS_ICON,className:"close-view-icon",alt:C.LG.CROSS_ICON,onClick:a}),(0,s.jsx)("p",{children:C.DZ.APPROVED_HEADER}),(0,s.jsxs)("p",{className:"powered-text",children:[C.DZ.POWERED_BY_TEXT,"\xa0",(0,s.jsx)(R.A,{className:"powered-img",src:C.RE.AXIS_LOGO,alt:C.LG.AXIS_LOGO})]})]}),(0,s.jsx)("div",{className:"layout-box status-detail",children:(0,s.jsx)(eJ,{imgUrl:C.RE.CONFIRMED_VIEW_STATUS_LOGO,imageAltText:c.imageAltText,heading:c.heading,subHeading:c.text(r)})}),(0,s.jsxs)("div",{className:"info-section layout-box",children:[(0,s.jsx)("p",{className:"info-heading",children:d}),(0,s.jsx)("div",{className:"info-area-wrapper",children:_()(u,(e,a)=>(0,s.jsxs)("div",{className:"info-note",children:[(0,s.jsx)(R.A,{className:"note-image",src:e.iconUrl,alt:e.iconAltText}),(0,s.jsxs)("div",{className:"note-content",children:[(0,s.jsx)("p",{className:"note-title",children:e.title}),(0,s.jsxs)("p",{className:"note-subtitle",children:[e.subtitle,(0,s.jsx)("span",{children:e.subTitleTextToBold})]})]})]},a))})]}),n===j.Z.MOBILE&&(0,s.jsx)("div",{className:"download-button-area layout-box",children:E}),(0,s.jsxs)("div",{className:"button-area",children:[n!==j.Z.MOBILE&&E,(0,s.jsx)(v.default,{text:C.DZ.APPROVED_BUTTON_LABEL,buttonType:"primary",layoutId:3,customClass:"form-submit-btn",handleClick:l.bind(void 0,"creditDetailsPage")}),$.QE]})]})},eJ=e=>{let{imgUrl:a=C.RE.STATUS_IMAGE,imageAltText:t=C.LG.CONFIRMATION_
1STATUS,heading:n="",subHeading:l=""}=e;return(0,s.jsxs)("div",{className:"status-details-wrapper",children:[(0,s.jsx)(R.A,{src:a,alt:t,title:t}),(0,s.jsx)("p",{className:"heading",children:n}),(0,s.jsx)("p",{className:"sub-heading",children:l})]})},e$=e=>{let{balanceDetails:a=null}=e;return(0,s.jsxs)("div",{className:"balance-details",children:[(0,s.jsxs)("div",{className:"balance-details-area",children:[(0,s.jsxs)("div",{className:"monthly-balance",children:[(0,s.jsx)(R.A,{src:C.RE.BALANCE,alt:C.LG.BALANCE,title:C.LG.BALANCE}),(0,s.jsxs)("div",{className:"monthly-balance-value label-value",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CONFIRMATION_BALANCE_DETAILS_MONTHLY_BALANCE}),(0,s.jsx)("p",{className:"sub-heading amount",children:(0,b.Aw)(a.monthlyAmount)})]})]}),(0,s.jsxs)("div",{className:"amount-account",children:[(0,s.jsxs)("div",{className:"amount-tenure",children:[(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CONFIRMATION_BALANCE_DETAILS_SANCTIONED_BALANCE}),(0,s.jsx)("p",{className:"sub-heading amount",children:(0,b.Aw)(Y.Q4?a.monthlyAmount:a.sanctionedAmount)})]}),(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CONFIRMATION_BALANCE_DETAILS_TENURE}),(0,s.jsx)("p",{className:"sub-heading",children:"".concat(a.tenure," months")})]})]}),!!a.accountNumber&&(0,s.jsxs)("div",{className:"account-number",children:[(0,s.jsx)("p",{className:"account-label",children:C.DZ.CONFIRMATION_ACCOUNT_TEXT}),(0,s.jsxs)("p",{className:"account-value",children:[(0,s.jsx)(R.A,{src:C.RE.AXIS_MINI_LOGO,alt:C.LG.AXIS_LOGO,title:C.LG.AXIS_LOGO}),(0,s.jsx)("span",{children:a.accountNumber})]})]})]})]}),(0,s.jsxs)("div",{className:"balance-static-text",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CONFIRMATION_BALANCE_DETAILS_HEADING}),(0,s.jsx)("p",{className:"sub-heading",children:C.DZ.CONFIRMATION_BALANCE_DETAILS_SUBHEADING})]})]})},e0=e=>{let[a,t]=(0,n.useState)(1);return(0,n.useEffect)(()=>{2===a?(0,P.Dc)({pageName:P.v.SUCCESSFUL_ACTIVATION_SCREEN}):(0,P.Dc)({pageName:P.v.CONFIRM_OFFER_SCREEN})},[a]),(0,s.jsxs)(s.Fragment,{children:[1===a&&(0,s.jsx)(ez,{...e,step:a,setStep:t}),2===a&&(0,s.jsx)(eQ,{...e,setStep:t})]})},e1=e=>{let{payLater:{fetchAccountStatusResponse:a={}}}=e,t=p()(a,"data.creditLineData",{});return(0,s.jsxs)(h.default,{layoutId:4,customAppLayoutClass:"pay-later credit-details-page",headerText:C.DZ.HOMEPAGE_HEADER,handleGoBackClick:b.eO,backIconPath:C.RE.CROSS_ICON,children:[(0,s.jsxs)("div",{className:"congratulations-section",children:[(0,s.jsx)("div",{className:"img-section",children:(0,s.jsx)(R.A,{className:"size-100",src:C.RE.CONGRATULATIONS,alt:C.LG.CONGRATULATIONS})}),(0,s.jsx)("p",{className:"congats-heading",children:C.DZ.CONGRATULATIONS}),(0,s.jsxs)("p",{className:"congats-heading",children:[C.DZ.YOUR_CREDIT_TEXT,(0,er.vv)(t.monthlyODAmount),C.DZ.READY_USE]}),(0,s.jsxs)("div",{className:"credit-line-detail-card",children:[(0,s.jsxs)("div",{className:"section-1",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.CREDIT_LINE_ACCOUNT_DETAILS}),(0,s.jsx)("div",{className:"mb24",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"label",children:C.DZ.LOAN_ACCOUNT_NUMBER}),(0,s.jsx)("p",{className:"value",children:t.od})]})}),(0,s.jsx)("div",{className:"mb24",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"label",children:C.DZ.UPI_PIN}),(0,s.jsx)("p",{className:"value",children:t.digitCode})]})}),(0,s.jsx)("div",{className:"mb24",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"label",children:C.DZ.EXPIRY_DATE}),(0,s.jsx)("p",{className:"value",children:(0,er.ZM)(t.expiryCode)})]})}),(0,s.jsx)("div",{className:"mb24",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"label",children:C.DZ.IFSC_TEXT}),(0,s.jsx)("p",{className:"value",children:C.DZ.IFSC_CODE})]})}),(0,s.jsxs)("div",{className:"mb24",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.MONTHLY_LIMIT}),(0,s.jsxs)("p",{className:"value",children:[C.DZ.RUPEE,(0,er.vv)(t.monthlyODAmount)]})]}),(0,s.jsxs)("div",{className:"mb24",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.DEMAND_DATE}),(0,s.jsx)("p",{className:"value",children:t.demandDate})]})]}),(0,s.jsx)("div",{className:"section-2",children:(0,s.jsx)("ul",{children:(0,s.jsx)("li",{children:C.DZ.INTEREST_INFO})})})]})]}),(0,s.jsx)("div",{className:"button-area",children:(0,s.jsx)(v.default,{text:C.DZ.HOME,buttonType:"primary",layoutId:3,customClass:"form-submit-btn",handleClick:b.eO})})]})},e3=e=>{let{showEmbarrassment:a=!1,setShowEmbarrassment:t=m(),isEtbView:l=!1,isForcedPolling:i=!1,forcedPollingUsecase:r=""}
1=e,[c,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{(0,P.Dc)({pageName:i?r:P.v.DETAILS_IN_PROGRESS,FPLType:l?"ETB":"NTB"})},[]),(0,n.useEffect)(()=>{o(a)},[a]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eV,{...i?$.lt.FORCED_POLLING:$.lt.CONFIRMATION_IN_PROGRESS,...e,showBtnSection:!i}),(0,s.jsx)(H.default,{layoutId:3,isPopUpShown:c,popUpContent:c?(0,s.jsx)(eV,{...$.lt.CONFIRMATION_TAKING_TIME}):null,closeClickHandler:t.bind(void 0,!1),minWidth:"415px",minHeight:"unset"})]})};var e2=t(83923),e4=t.n(e2);let e5=e=>{let{isUserKycEligible:a=!1,handleExpiredFullKyc:t=m()}=e;return(0,s.jsxs)("div",{className:"kyc-expired-view",children:[(0,s.jsx)(R.A,{className:"expiry-img",src:C.RE.KYC_EXPIRED_ICON,alt:C.LG.KYC_EXPIRED_ICON}),(0,s.jsx)("p",{className:"content-heading",children:C.DZ.KYC_EXPIRED_HEADING}),(0,s.jsx)("p",{className:"content-subheading",children:C.DZ.KYC_EXPIRED_SUBHEADING}),a&&(0,s.jsxs)("div",{className:"btn-section",children:[(0,s.jsxs)("div",{className:"offer-info-section",children:[(0,s.jsx)(R.A,{src:C.RE.OFFER_PERSON_ICON,alt:C.LG.OFFER_PERSON_ICON}),$.v6]}),(0,s.jsx)("p",{className:"btn-leading-text",children:C.DZ.KYC_EXPIRED_CTA_LEADING_TEXT}),(0,s.jsx)(v.default,{name:"ctaBtn",text:C.DZ.KYC_EXPIRED_CTA_TEXT,buttonType:"primary",customClass:"cta-btn",handleClick:t,layoutId:3}),$.QE]})]})},e6=e=>{let{layoutId:a=1,platform:t,handleClick:l,transaction:r=null}=e,[c,o]=(0,n.useState)(null),d=em()(r.txnStatus),u="TRANSLATOR_REFUND"===r.globalTxnType?"₹".concat(parseInt(r.totalAmount,10)||0):"₹".concat(parseInt(r.payLaterAmount||r.totalAmount,10)||0);return t===j.Z.MOBILE?(0,s.jsxs)("div",{className:"transaction-item layout-".concat(a),onClick:l,children:[(0,s.jsxs)("div",{className:"txn-detailed-name",children:[(0,s.jsx)(R.A,{src:r.fulfillmentServiceProviderLogo||"",title:r.title,alt:r.title,onError:b.mO.bind(void 0,C.ot.TRANSACTION_LOGO)}),(0,s.jsxs)("div",{className:"name-timestamp",children:[(0,s.jsx)("p",{className:"name",children:e_()(e4()(r.title))}),(0,s.jsx)("p",{className:"timestamp",children:"".concat((0,er.fk)(r.timestamp),", ").concat((0,er.en)(r.timestamp,!0))})]})]}),(0,s.jsxs)("div",{className:"amount-status",children:[(0,s.jsx)("p",{className:"amount",children:u}),(0,s.jsx)("p",{className:"status ".concat(d),children:d})]})]}):(0,s.jsxs)("tr",{className:"transaction-item layout-".concat(a),children:[(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:"txn-detailed-name",children:[(0,s.jsx)(R.A,{src:r.fulfillmentServiceProviderLogo||"",title:r.title,alt:r.title,onError:b.mO.bind(void 0,C.ot.TRANSACTION_LOGO)}),(0,s.jsx)("p",{className:"name",children:e_()(e4()(r.title))})]})}),(0,s.jsx)("td",{className:"timestamp",children:"".concat((0,er.fk)(r.timestamp),", ").concat((0,er.en)(r.timestamp,!0))}),(0,s.jsx)("td",{children:r.globalTxnId}),(0,s.jsx)("td",{children:r.txnDetail}),(0,s.jsx)("td",{className:"status ".concat(d),children:d}),(0,s.jsx)("td",{className:"amount",children:u}),(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:"need-help-wrapper",tabIndex:"0",onBlur:()=>o(null),children:[(0,s.jsx)(R.A,{className:"need-help",src:c===r.globalTxnId?C.RE.TRANSACTIONS_ACTION_ACTIVE:C.RE.TRANSACTIONS_ACTION,title:C.LG.NEED_HELP,alt:C.LG.NEED_HELP,onClick:()=>o(r.globalTxnId)}),(0,s.jsx)(v.default,{text:C.DZ.TRANSACTIONS_NEED_HELP,buttonType:"secondary",customClass:"need-help-button  ".concat(c!==r.globalTxnId?"opaque":""),handleClick:()=>{i().push("/help-support?txnId=".concat(r.globalTxnId,"&txnType=").concat(r.globalTxnType,"&chatbotUsecase=PAYLATER"))}})]})})]})};var e8=t(22372),e9=t.n(e8),e7=t(47447);let ae=e=>{let{platform:a,title:t="",layoutId:n=1,recentsFilterData:l=!1,transactionsData:i=null,handleTabClick:r,setViewAllPage:c}=e,o=e9()(i,e=>!!parseInt(e.totalAmount,10)||!!parseInt(e.payLaterAmount,10)),d=l?e9()(o,(e,t)=>t<$.Dg[a]):o,u=_()($.x5,(e,a)=>(0,s.jsx)("th",{children:e},a));return A()(i)?(0,s.jsx)(e7.A,{imagePath:C.RE.NO_TRANSACTIONS,title:C.DZ.NO_TRANSACTIONS,layoutId:2}):(0,s.jsxs)("div",{className:"recent-transactions transactions layout-".concat(n," ").concat(et()(i)<=$.Dg[a]&&"no-last-border"||""),children:[(0,s.jsx)("p",{className:"heading layout-".concat(n),children:t||C.DZ.RECENTS_TRANSACTION}),a===j.Z.MOBILE?_()(d,(e,t)=>(0,s.jsx)(e6,{transaction:e,layoutId:n,platform:a,handleClick:()=>{(0,P.Dc)({pageName:P.v.DASHBOARD_TRANSACTIONS_DETAILS_SCREEN}),r("activeTransaction",e)}},t)):(0,s.jsxs)("table",{children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:u})}),(0,s.jsx)("tbody",{children:_()(d,(e,t)=>(0,s.jsx)(e6,{transaction:e,layoutId:n,platform:a},t))})]}),1===n&&et()(i)>$.Dg[a]&&(0,s.jsx)("p",{className:"view-all",onClick:()=>{(0,P.ze)(P.BM.DASHBOARD_CTA("transactions:ViewAll")),c()},children:C.DZ.VIEW_ALL})]})},aa=e=>{let{moduleName:a="",platform:t}=e;switch(a){case"balanceSection":return t===j.Z.MOBILE?(0,s.jsxs)(g.A,{height:360,backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",uniqueKey:"balanceSectionLoaderMobile",children:[(0,s.jsx)("rect",{x:"4%",y:"15",height:"25",width:"40%"}),(0,s.jsx)("rect",{x:"4%",y:"45",height:"15",width:"70%"}),(0,s.jsx)("rect",{x:"4%",y:"65",height:"30",width:"60%"}),(0,s.jsx)("rect",{x:"4%",y:"105",height:"60",width:"92%"}),(0,s.jsx)("rect",{x:"4%",y:"180",height:"20",width:"70%"}),(0,s.jsx)("rect",{x:"4%",y:"205",height:"130",width:"92%"}),(0,s.jsx)("rect",{x:"4%",y:"340",height:"20",width:"60%"})]}):(0,s.jsxs)(g.A,{height:290,uniqueKey:"balanceSectionLoader",backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",children:[(0,s.jsx)("rect",{x:"1%",y:"35",height:"30",width:"20%"}),(0,s.jsx)("rect",{x:"1%",y:"80",height:"15",width:"30%"}),(0,s.jsx)("rect",{x:"1%",y:"100",height:"30",width:"20%"}),(0,s.jsx)("rect",{x:"1%",y:"136",height:"130",width:"43%"}),(0,s.jsx)("rect",{x:"56%",y:"55",height:"20",width:"30%"}),(0,s.jsx)("rect",{x:"56%",y:"80",height:"160",width:"40%"}),(0,s.jsx)("rect",{x:"56%",y:"246",height:"20",width:"30%"})]});case"merchantSlider":return t===j.Z.MOBILE?(0,s.jsxs)(g.A,{height:390,backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",uniqueKey:"loan-detail
1s",children:[(0,s.jsx)("rect",{x:"4%",y:"15",width:"92%",height:"30"}),(0,s.jsx)("rect",{x:"4%",y:"60",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"36%",y:"60",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"68%",y:"60",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"4%",y:"200",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"36%",y:"200",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"68%",y:"200",width:"28%",height:"130"}),(0,s.jsx)("rect",{x:"36%",y:"345",width:"28%",height:"25"})]}):(0,s.jsxs)(g.A,{height:240,backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",uniqueKey:"loan-details",children:[(0,s.jsx)("rect",{x:"1%",y:"25",width:"37%",height:"20"}),(0,s.jsx)("rect",{x:"90%",y:"25",width:"10%",height:"20"}),(0,s.jsx)("rect",{x:"1%",y:"65",width:"14%",height:"130"}),(0,s.jsx)("rect",{x:"18%",y:"65",width:"14%",height:"130"}),(0,s.jsx)("rect",{x:"35%",y:"65",width:"14%",height:"130"}),(0,s.jsx)("rect",{x:"51%",y:"65",width:"14%",height:"130"}),(0,s.jsx)("rect",{x:"68%",y:"65",width:"14%",height:"130"}),(0,s.jsx)("rect",{x:"85%",y:"65",width:"14%",height:"130"})]});case"spotlightSlider":return t===j.Z.MOBILE?(0,s.jsxs)(g.A,{height:60,backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",uniqueKey:"spotlight-slider",children:[(0,s.jsx)("rect",{x:"4%",y:"0",width:"70%",height:"60"}),(0,s.jsx)("rect",{x:"76%",y:"0",width:"20%",height:"60"})]}):(0,s.jsxs)(g.A,{height:100,backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",uniqueKey:"spotlight-slider",children:[(0,s.jsx)("rect",{x:"1%",y:"0",width:"44%",height:"100"}),(0,s.jsx)("rect",{x:"46%",y:"0",width:"44%",height:"100"}),(0,s.jsx)("rect",{x:"91%",y:"0",width:"8%",height:"100"})]});default:return null}};var at=void 0;let as=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;switch(e){case"activeTransaction":return t?(0,s.jsxs)("div",{className:"transaction-details",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.TRANSACTION_DETAILS_HEADING}),(0,s.jsxs)("div",{className:"detail-wrapper",children:[(0,s.jsxs)("div",{className:"merchant-info",children:[(0,s.jsx)(R.A,{src:t.fulfillmentServiceProviderLogo||0,title:t.title,alt:t.title,onError:b.mO.bind(at,C.ot.TRANSACTION_LOGO)}),(0,s.jsx)("p",{className:"merchant-name",children:e_()(e4()(t.title))})]}),(0,s.jsx)("p",{className:"amount",children:"TRANSLATOR_REFUND"===t.globalTxnType?"₹".concat(parseInt(t.totalAmount,10)||0):"₹".concat(parseInt(t.payLaterAmount||t.totalAmount,10)||0)})]}),(0,s.jsxs)("div",{className:"type-status",children:[(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.TRANSACTION_DETAILS_TYPE}),(0,s.jsx)("p",{className:"value",children:t.txnDetail})]}),(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.STATUS}),(0,s.jsx)("p",{className:"value status ".concat(em()(t.txnStatus)),children:em()(t.txnStatus)})]})]}),(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.DATE}),(0,s.jsx)("p",{className:"value",children:"".concat((0,er.fk)(t.timestamp),", ").concat((0,er.en)(t.timestamp,!0))})]}),(0,s.jsxs)("div",{className:"label-value",children:[(0,s.jsx)("p",{className:"label",children:C.DZ.TRANSACTION_DETAILS_ID}),(0,s.jsx)("p",{className:"value",children:t.globalTxnId})]}),(0,s.jsx)(v.default,{text:C.DZ.TRANSACTIONS_NEED_HELP,buttonType:"secondary",customClass:"need-help-button",handleClick:()=>i().push("/help-support?txnId=".concat(t.globalTxnId,"&txnType=").concat(t.globalTxnType,"&chatbotUsecase=PAYLATER"))})]}):null;case"howItWorks":return(0,s.jsxs)("div",{className:"how-it-works",children:[(0,s.jsxs)("div",{className:"label-area",children:[a===j.Z.MOBILE&&(0,s.jsx)("span",{className:"back-arrow",onClick:n}),(0,s.jsx)("span",{children:C.DZ.HOW_TO_LABEL})]}),(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:[(0,s.jsx)(R.A,{src:C.RE.HOW_TO_STEP_ONE(a),alt:C.LG.HOW_TO_STEP_ONE,title:C.LG.HOW_TO_STEP_ONE}),(0,s.jsxs)("div",{className:"steps-content-area",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.HOW_TO_STEPS_LABELS(1)}),(0,s.jsx)("p",{className:"sub-heading",children:C.DZ.HOW_TO_STEP_ONE_CONTENT})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(R.A,{src:C.RE.HOW_TO_STEP_TWO(a),alt:C.LG.HOW_TO_STEP_TWO,title:C.LG.HOW_TO_STEP_TWO}),(0,s.jsxs)("div",{className:"steps-content-area",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.HOW_TO_STEPS_LABELS(2)}),(0,s.jsx)("p",{className:"sub-heading",children:C.DZ.HOW_TO_STEP_TWO_CONTENT})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(R.A,{src:C.RE.HOW_TO_STEP_THREE(a),alt:C.LG.HOW_TO_STEP_THREE,title:C.LG.HOW_TO_STEP_THREE}),(0,s.jsxs)("div",{className:"steps-content-area",children:[(0,s.jsx)("p",{className:"heading",children:C.DZ.HOW_TO_STEPS_LABELS(3)}),(0,s.jsxs)("p",{className:"sub-heading",children:[" ",C.DZ.HOW_TO_STEP_THREE_CONTENT]})]})]})]})]});case"paymentInProgress":return(0,s.jsx)(eV,{...$.lt.PAYMENT_IN_PROGRESS,infoBtnHandler:n});default:return null}},an=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"activeTransaction":return{layoutId:3,wrapperClass:"",hideCloseButton:!1,minWidth:"auto",maxHeight:"auto"};case"howItWorks":return{layoutId:a===j.Z.MOBILE?1:3,wrapperClass:"how-works-steps-popup",hideCloseButton:a===j.Z.MOBILE,minWidth:a!==j.Z.MOBILE?"75%":"auto",maxHeight:"100%"};case"paymentInProgress":return{layoutId:3,wrapperClass:"",hideCloseButton:!1,minWidth:"415px",maxHeight:"auto"};default:return{}}};var al=t(81993);let ai=e=>
1{let{platform:a,setViewAllPage:t,reduxActions:l=m(),handleGoBackClick:r,checkoutId:{checkoutIdResponse:c={},error:o={}},auth:{csrfRequestIdentifierToken:d="",fullProfileDetails:u={}},payLater:{genericRequestBody:E={},billDetailsForPayLaterResponse:N={},transactionsList:x=null,paylaterStaticData:I={},error:O={},kycExpiry:D={}},setPageUnderMaintenance:f=m(),isMerchant:S=!1,setPage:g=m()}=e,[L,M]=(0,n.useState)(""),[F,U]=(0,n.useState)(null),[Z,k]=(0,n.useState)(!1),[w,G]=(0,n.useState)({}),[B,X]=(0,n.useState)(!1),[V,W]=(0,n.useState)(!1),K=p()(I,S?"plMerchantSpotlights":"plSpotlights",[]),q=p()(I,"dashboard.usageRbiPoints",$.Op),{appConfig:z={}}=(0,eK.A)(),Q=(0,s.jsxs)("div",{className:"dashboard-balance-section",children:[(0,s.jsxs)("p",{children:[C.DZ.USED_BALANCE_TEXT,"\xa0\xa0",(0,s.jsx)("span",{children:w.usedBalance})]}),(0,s.jsxs)("div",{className:"balance-bar",children:[(0,s.jsx)("div",{className:"balance-range",children:(0,s.jsx)("span",{style:{backgroundColor:"#43c769",width:w.usedBalanceRange,padding:"0%"===w.usedBalanceRange?"5px 0":"5px"}})}),(0,s.jsxs)("div",{className:"balance-amount",children:[(0,s.jsx)("span",{children:"0"}),(0,s.jsx)("span",{children:w.monthlyUserLimit})]})]})]}),J=(e,a)=>{switch(e){case"activeTransaction":U(a);break;case"howItWorks":(0,P.ze)(P.BM.DASHBOARD_CTA(C.DZ.HOW_TO_USE))}M(e)},ee=e=>{switch(e){case"activeTransaction":U(null);break;case"paymentInProgress":l.resetCheckoutIdError()}M("")};return(0,n.useEffect)(()=>{if(!A()(c)&&"SUCCESS"===p()(c,"data.status","")){let e=p()(c,"data.checkoutId","");e&&i().push("/payment-page?utilityType=paylater&lookupId=1&checkoutId="+e,"/payment-page/paylater/1/"+e)}},[c]),(0,n.useEffect)(()=>(l.fetchBillDetailsForPayLaterRequest(d,E),A()(x)&&l.getTransactionsRequest(d,E,!1),()=>{l.resetCheckoutIdError()}),[]),(0,n.useEffect)(()=>{if(!A()(N)){let e=em()(p()(N,"data.demandStatus","")),a=p()(N,"data.demandGenerationDetails",{}),t="success"===e,s=p()(N,"data.accountBalance.currentBalance",0),n=p()(N,"data.monthlyUserLimit",0),l="".concat((0,er.tX)(p()(N,"data.demandCycle.demandStartDate",""),{keepSameFormat:!0})),i="".concat((0,er.tX)(p()(N,"data.demandCycle.demandDueDate",""),{keepSameFormat:!0})),r="".concat((0,er.tX)(p()(N,"data.demandCycle.demandEndDate",""),{keepSameFormat:!0})),c=(0,er.V4)(n-s,2,!0),o=p()(N,"data.demandCycle.overDueByDays",2),d={currentBalance:(0,b.Aw)(s)||0,monthlyUserLimit:(0,b.Aw)(n)||0,usedBalance:c,billStartDate:t?l:"",demandStartDate:l,demandDueDate:i,billingCycle:"".concat(l," - ").concat(r),usedBalanceRange:parseInt(c/n*100,10)+"%",isDemandStatusSuccess:t,dueAmount:(0,b.Aw)(a.totalDueAmount)||0,dueAmountUnformatted:a.totalDueAmount||0,usedAmount:(0,b.Aw)(a.totalPrincipalDue)||(0,b.Aw)(a.principalAmount)||0,interestAmount:(0,b.Aw)(a.totalInterestDue)||0,convenience:a.invoiceMetadata&&(0,b.Aw)(a.invoiceMetadata.commission)||0,lateFee:(0,b.Aw)(a.totalPenaltyDue)||0,bounceCharges:(0,b.Aw)(a.totalBounceChargesDue)||0,reversedInterestAmount:(0,b.Aw)(a.interestAmount)||0,btnText:A()(a)?C.DZ.USE_NOW_TEXT:o>0?C.DZ.CLEAR_DUES_TEXT:C.DZ.PAY_NOW_TEXT,isBtnDisabled:!!A()(a)&&0>=parseFloat(s),overDueByDays:o};G(d),(0,P.Dc)({pageName:P.v.DASHBOARD_SCREEN,FPLDashboardView:t?o?"Overdue":"Due":"Onboarded"})}},[N]),(0,n.useEffect)(()=>{A()(o)||"CC-1027"===p()(o,"error.errorCode","")&&J("paymentInProgress")},[o]),(0,n.useEffect)(()=>{A()(O)||"6061"===String(p()(O,"error.errorCode",""))&&(X(!0),l.fetchUserKycEligibilityRequest(d,E))},[O]),(0,n.useEffect)(()=>{"ELIGIBLE"===p()(D,"data.fullKycUserStatus")&&W(!0)},[D]),(0,s.jsxs)(h.default,{layoutId:4,customAppLayoutClass:"pay-later dashboard-page",headerText:C.DZ.HOMEPAGE_HEADER,handleGoBackClick:r,children:[A()(K)||a!==j.Z.MOBILE?a===j.Z.MOBILE&&(0,s.jsx)(aa,{moduleName:"spotlightSlider",platform:a}):(0,s.jsx)(y,{platform:a,data:K,dashboard:!0}),B?(0,s.jsx)(e5,{isUserKycEligible:V,handleExpiredFullKyc:()=>{g("expiredFullKyc")}}):(0,s.jsx)(n.Fragment,{children:A()(w)?(0,s.jsx)(aa,{moduleName:"balanceSection",platform:a}):(0,s.jsxs)("div",{className:"user-balance-details",children:[(0,s.jsxs)("div",{className:"amount-section-area",children:[(0,s.jsxs)("h2",{className:"section-heading",children:[C.DZ.HELLO_CUSTOMER,(0,s.jsx)("b",{className:"paylater-user",children:e_()(e4()(u.firstName))}),","]}),w.isDemandStatusSuccess?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"text-content bill-generated",children:C.DZ.BILL_GENERATED_TEXT}),w.overDueByDays?(0,s.jsxs)("div",{className:"overdue-details",children:[(0,s.jsx)("span",{className:"overdue-label",children:C.DZ.OVERDUE_TEXT}),(0,s.jsx)("span",{className:"overdue-value",children:C.DZ.OVERDUE_VALUE(w.overDueByDays)})]}):null,a===j.Z.DESKTOP&&Q]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("label",{className:"text-content",children:C.DZ.PAYLATER_BALANCE_TEXT}
1),(0,s.jsx)("span",{className:"available-balance",children:w.currentBalance}),Q]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"bill-details",children:[(0,s.jsxs)("p",{className:"billing-cycle",children:[(0,s.jsx)("span",{className:"billing-cycle-label",children:C.DZ.BILLING_CYCLE_TEXT}),(0,s.jsx)("span",{className:"separator"}),(0,s.jsx)("span",{className:"billing-cycle-value",children:w.billingCycle})]}),(0,s.jsxs)("div",{className:"amount-details-section",children:[(0,s.jsxs)("div",{className:"top-section-area ".concat(w.isDemandStatusSuccess?"show-arrow":""," ").concat(w.isDemandStatusSuccess&&Z?"expanded":""),children:[(0,s.jsxs)("div",{onClick:k.bind(void 0,!Z),className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.AMOUNT_DUE_TEXT}),(0,s.jsx)("span",{children:w.dueAmount})]}),w.isDemandStatusSuccess&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.AMOUNT_USED_TEXT}),(0,s.jsx)("span",{children:w.usedAmount})]}),!!w.interestAmount&&(0,s.jsxs)("div",{className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.INTEREST_TEXT}),(0,s.jsx)("span",{children:w.interestAmount})]}),!!w.convenience&&(0,s.jsxs)("div",{className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.CONVENIENCE_FEE}),(0,s.jsx)("span",{children:w.convenience})]}),!!w.lateFee&&(0,s.jsxs)("div",{className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.TOTAL_LATE_FEE}),(0,s.jsx)("span",{children:w.lateFee})]}),!!w.bounceCharges&&(0,s.jsxs)("div",{className:"amount-details",children:[(0,s.jsx)("label",{children:C.DZ.TOTAL_BOUNCE_CHARGES}),(0,s.jsx)("span",{children:w.bounceCharges})]}),!!w.interestAmount&&(0,s.jsxs)("div",{className:"interest-details",children:[(0,s.jsx)(R.A,{src:C.RE.CASHBACK,alt:C.LG.CASHBACK_ICON}),(0,s.jsx)("p",{children:C.DZ.INTEREST_AMOUNT_TEXT}),(0,s.jsx)("span",{children:w.interestAmount})]})]})]}),(0,s.jsxs)("div",{className:"bottom-section",children:[(0,s.jsxs)("div",{className:"due-date",children:[(0,s.jsx)("label",{children:C.DZ.DUE_DATE_TEXT}),(0,s.jsx)("span",{children:w.demandDueDate})]}),(0,s.jsx)(v.default,{text:w.btnText,buttonType:"secondary",type:"button",isDisabled:w.isBtnDisabled,handleClick:()=>(e=>{if((0,P.ze)(P.BM.DASHBOARD_CTA(e)),e===C.DZ.USE_NOW_TEXT)return void i().push("/services");let{value:a=!1,message:t=""}=p()(I,"outage.resumption.repayment",{});if(a)f({message:t});else if(z.ENABLE_BBPS_PAYMENT_MODE){let e=p()(N,"data.loanId",""),a=C.DZ.BBPS_LOAN_PAYMENT_TYPE;(0,b.xX)("push",b.$U.billerSelectionPageUrl(al.Cs.LOAN_PAYMENT,a,1,"&fieldName=".concat(C.DZ.BBPS_LOAN_PARAMETER_NAME,"&fieldValue=").concat(e)),b.$U.billerSelectionPageAs(al.Cs.LOAN_PAYMENT,a,"?fieldName=".concat(C.DZ.BBPS_LOAN_PARAMETER_NAME,"&fieldValue=").concat(e)))}else l.createPayLaterCheckoutIdRequest(Number(w.dueAmountUnformatted),d,Y.Ff&&(0,b.kZ)()?(0,b.kZ)():"")})(w.btnText)})]})]})]}),(0,s.jsxs)("ul",{className:"paylater-usage-info",children:[_()(A()(q)?$.Op:q,(e,a)=>(0,s.jsx)("li",{children:e},a)),(0,s.jsx)("li",{children:$.QE})]}),(0,s.jsx)("span",{className:"paylater-use",onClick:J.bind(void 0,"howItWorks"),children:C.DZ.HOW_TO_USE}),(0,s.jsx)("span",{className:"paylater-use payment-method",onClick:()=>{i().push("/accountSettings?useCase=userPreferences")},children:C.DZ.PREFERRED_PAYMENT_METHOD})]})]})}),A()(K)||a===j.Z.MOBILE?a!==j.Z.MOBILE&&(0,s.jsx)(aa,{moduleName:"spotlightSlider",platform:a}):(0,s.jsx)(y,{platform:a,data:K,dashboard:!0}),A()(p()(I,"plIntroDetailV2"))?(0,s.jsx)(aa,{moduleName:"merchantSlider",platform:a}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(T.A,{title:C.DZ.DASHBOARD_MERCHANT_HEADER,platform:a,layoutId:2,data:I.plIntroDetailV2,viewAllLink:C.Gl,viewAllClickHandler:e=>{let{expanded:a=!1}=e;(0,P.ze)(P.BM.DASHBOARD_CTA(a?"merchants:ViewLess":"merchants:ViewAll"))}})}),!A()(x)&&!!x.list.length&&(0,s.jsx)(ae,{platform:a,transactionsData:x.list,recentsFilterData:!0,setViewAllPage:t,handleTabClick:J}),(0,s.jsx)(H.default,{isPopUpShown:et()(L)>0,wrapperClass:an(L,a).wrapperClass,layoutId:an(L,a).layoutId,popUpContent:as(L,a,F,ee),hideCloseButton:an(L,a).hideCloseButton,closeClickHandler:ee.bind(void 0,L,a),minWidth:an(L,a).minWidth,minHeight:"auto",maxHeight:an(L,a).maxHeight})]})};var ar=t(37114),ac=t.n(ar),ao=t(19478),ad=t(69127);let au=e=>{let{platform:a="",reduxActions:t,goBackClick:l,auth:{csrfRequestIdentifierToken:i=""},payLater:{genericRequestBody:r={},transactionsLoaded:c=!1,transactionsList:o={},allTransactionsFetched:d=!1}}
1=e,[u,p]=(0,n.useState)(null),[E,m]=(0,n.useState)("ALL"),{isFetching:N,setIsFetching:_,removeListenerHandler:x}=(0,ad.A)(function(){d?ac()(o.list)&&t.getTransactionsRequest(i,r,!0,o.cursor,20,"ALL"===E?null:E):x()}),T=(e,a)=>{p(a)},I=e=>{m($.wM[e]),e&&(0,P.Dc)({pageName:P.v.DASHBOARD_TRANSACTIONS_SCREEN(C.Dq[e-1])})};return(0,n.useEffect)(()=>{(0,P.Dc)({pageName:P.v.DASHBOARD_TRANSACTIONS_SCREEN(C.Dq[0])})},[]),(0,n.useEffect)(()=>{A()(o)?c?N&&_(!1):t.getTransactionsRequest(i,r,!1):N&&_(!1)},[o]),(0,s.jsxs)(h.default,{layoutId:4,customAppLayoutClass:"pay-later dashboard-page transactions",showFooter:!1,headerText:C.DZ.TRANSACTIONS_PAGE_HEADING,handleGoBackClick:l,children:[a!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"desktop-heading-wrapper",children:[(0,s.jsx)(R.A,{src:C.RE.BACK_ICON,title:C.LG.TRANSACTIONS_BACK,alt:C.LG.TRANSACTIONS_BACK,onClick:l}),(0,s.jsx)("p",{className:"desktop-transactions-heading",children:C.DZ.TRANSACTIONS_PAGE_DESKTOP_HEADING})]}),(0,s.jsx)(ao.A,{tabLabels:$.Nk,onTabClick:I,onTabChange:I,wrapperClass:"transaction-tabs",limitBorderToText:a!==j.Z.MOBILE,tabContent:[(0,s.jsx)(ae,{title:C.DZ.TRANSACTIONS_ALL_TRANSACTIONS,layoutId:2,handleTabClick:T,transactionsData:o.list,platform:a},1),(0,s.jsx)(ae,{title:C.DZ.TRANSACTIONS_RECEIVED_TRANSACTIONS,layoutId:2,handleTabClick:T,transactionsData:(0,b.HO)("paymentDirection","CREDIT",o.list),platform:a},2),(0,s.jsx)(ae,{title:C.DZ.TRANSACTIONS_SPENT_TRANSACTIONS,layoutId:2,handleTabClick:T,transactionsData:(0,b.HO)("paymentDirection","DEBIT",o.list),platform:a},3)]}),d&&N&&(0,s.jsx)("div",{className:"thv-skeleton"}),(0,s.jsx)(H.default,{isPopUpShown:!A()(o)&&!A()(u),layoutId:3,popUpContent:as("activeTransaction",a,u),closeClickHandler:()=>p(null),minWidth:"auto",minHeight:"auto"})]})};var ap=t(36827),aE=t.n(ap),am=t(10239),ah=t.n(am),aN=t(12914);let a_=e=>{let{seoData:a={},paylaterStaticData:t={},platform:r="",reduxActions:c={},isEtbUser:o=!1,isMerchantUser:d=!1,seoReducer:u={},reviewsReducer:E={}}=e,m=(0,l.useRouter)(),{isLoggedIn:h=!1,actions:N={}}=(0,X.A)(),_=!!p()(m,"query.redirected",e.redirected||!1),[x,T]=(0,n.use
1State)(_?{}:o?a.etb:d?a.merchant:a.ntb),I=!!p()(m,"query.nc",!1),O=A()(t)?[]:p()(t,I?"plMerchantSpotlights":"plSpotlights",[]);return((0,n.useEffect)(()=>{A()(x)&&(o&&!A()(a.etb)?T(a.etb):d&&!A()(a.merchant)?T(a.merchant):o||A()(a.ntb)||T(a.ntb))},[a]),(0,n.useEffect)(()=>{if(_){let e=p()(m,"query",{});(0,eT.B7)(e,"replace",!1)}else(0,P.Dc)({pageName:P.v.WELCOME_SCREEN}),A()(t)&&c.getPaylaterStaticDataRequest(),(o&&A()(a.etb)||d&&A()(a.merchant)||!o&&!d&&A()(a.ntb))&&c.getPaylaterSeoDataRequest(o?"Etb":d?"Merchant":"")},[]),A()(x.main))?(0,s.jsx)(eh.default,{}):(0,s.jsx)(aN.default,{productDetailsJson:x,offers:O,className:"notranslate",platform:r,seoReducer:u,reviewsReducer:E,ctaClickHandler:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{authenticate:a=!1,link:t,text:s=""}=e;if((0,P.Mm)(s),!aE()(t)){let{asPath:e="",urlPath:s=e}=t,n=p()(m,"query",{});delete n.etbUser,delete n.merchantUser;let l=A()(n)?"":(0,b.EY)(n,!1),r=A()(n)?"":(0,b.EY)(n,!1),c="".concat(s).concat(A()(l)?"":ah()(s,"?")?"&":"?").concat(l),o="".concat(e).concat(A()(r)?"":ah()(e,"?")?"&":"?").concat(r);!h&&a?N.showPopup(c,o):i().push(c,o,{shallow:!0})}}})};var ax=t(93007),aA=t.n(ax),aT=t(49531),aI=t(32836),aO=t.n(aI),aD=t(41946),af=t.n(aD),aS=t(74103),aC=t(8069),aj=t(22846);let aR="kycExpiryOccupationalDetailsForm",ay=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("SUCCESS"===p()(e,"data.data.status","")){let{data:a={}}=p()(e,"data",{});return{response:a}}},ag=()=>({error:{companies:[]}}),aL=(0,r.Zz)((0,c.Ng)(e=>{let{form:a}=e;return{formValues:(0,o.A)(aR)({form:a})}},null),(0,U.A)({form:aR,destroyOnUnmount:!1,validate:z}))(e=>{let{valid:a=!1,closePopup:t=m(),formValues:l={},handleSelectClick:i=m(),handleSubmit:r=m(),change:c,platform:o,payLater:{genericRequestBody:d={}},auth:{csrfRequestIdentifierToken:u=""}}=e,[E,h]=(0,n.useState)((0,eT.Tk)(l.occupationType||"Salaried")),[N,_]=(0,n.use
1State)((0,eT.bL)(l.occupationType||"Salaried")),[x,T]=(0,n.useState)([]),{response:I={},error:O={},fetchIntercept:D=m()}=(0,aj.A)({onSuccess:ay,onError:ag}),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("occupationType"===e){let{natureOfBusiness:e="",sourceOfFunds:t=""}=l,s=(0,eT.Tk)(a),n=(0,eT.bL)(a);!af()(s,E)&&(h(s),A()(s)||ah()(s,e)||c("natureOfBusiness",aO()(s))),!af()(n,N)&&(_(n),A()(n)||ah()(n,t)||c("sourceOfFunds",aO()(n)))}};return(0,n.useEffect)(()=>{A()(I)||T(p()(I,"companies",[])),A()(O)||T([])},[I,O]),(0,s.jsx)("form",{onSubmit:r(()=>{(0,P.ze)(P.BM.PROFESSIONAL_INFO_SUBMIT),t("button")}),children:(0,s.jsxs)("div",{className:"occupational-details dashed-border",children:[(0,s.jsx)(F.A,{name:"occupationType",component:eC.A,data:$.fO,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_OCCUPATION_TYPE,label:C.DZ.OCCUPATION_TYPE,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:i,hidePopUp:!0,onChange:f.bind(void 0,"occupationType"),defaultSelected:l.occupationType}),"Self Employed"===l.occupationType&&(0,s.jsx)(F.A,{name:"occupation",component:eC.A,data:$.y$,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_OCCUPATION,label:C.DZ.OCCUPATION,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:i,hidePopUp:!0,onChange:f.bind(void 0,"occupation"),defaultSelected:l.occupation}),!A()(N)&&(0,s.jsx)(F.A,{name:"sourceOfFunds",component:eC.A,data:N,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_SOURCE_OF_FUNDS,label:C.DZ.SOURCE_OF_FUNDS,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:i,hidePopUp:!0,onChange:f.bind(void 0,"sourceOfFunds"),defaultSelected:l.sourceOfFunds}),(0,s.jsx)(F.A,{name:"monthlyIncome",component:B.default,type:"tel",placeholder:C.ox.MONTHLY_INCOME_2,labelText:C.DZ.MONTHLY_INCOME,layoutId:3,prefixContentPadding:"24px",prefixContent:"₹",pattern:W.NUMBER_ONLY,commaSeparator:!0,defaultValue:l.monthlyIncome}),!A()(E)&&(0,s.jsx)(F.A,{name:"natureOfBusiness",component:eC.A,data:E,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_NATURE_OF_BUSINESS,label:C.DZ.NATURE_OF_BUSINESS,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:i,hidePopUp:!0,onChange:f.bind(void 0,"natureOfBusiness"),defaultSelected:l.natureOfBusiness}),"Self Employed"===l.occupationType&&(0,s.jsx)(F.A,{name:"businessYears",type:"tel",component:B.default,placeholder:C.ox.SELECT_NUMBER_OF_YEARS,pattern:W.NUMBER_ONLY,layoutId:3,labelText:C.DZ.NUMBER_OF_YEARS,defaultValue:l.businessYears}),"Salaried"===l.occupationType&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F.A,{name:"companyName",component:aS.A,callbackFunc:(e,a,t)=>{D(aC.s22,"POST",{csrfRequestIdentifier:u},{...d,searchQuery:e,recordsPerPage:t,pageNumber:a},{isRawData:!0})},listData:x,onEmptyValue:()=>{A()(x)||T([])},infiniteScrollThreshold:20,suggestionResultsLimit:6,enableInfiniteScroll:!0,layoutId:2,suggestionListItemKey:"employerName",inputProps:{name:"companyName",labelText:C.DZ.COMPANY_NAME,placeholder:C.ox.COMPANY_NAME,layoutId:3},onOptionSelection:e=>{let{value:a={}}=e;A()(a)||c("companyObj",a)},defaultValue:l.companyName}),(0,s.jsx)(F.A,{name:"corporateEmailId",component:B.default,type:"email",placeholder:C.ox.CORPORATE_EMAIL_ID,labelText:C.DZ.CORPORATE_EMAIL_ID,layoutId:3,defaultValue:l.corporateEmailId})]}),o===j.Z.MOBILE&&(0,s.jsx)("div",{className:"bottom-section",children:(0,s.jsx)(F.A,{name:"submitOccupationalDetails",component:v.default,text:C.DZ.CONTINUE_TEXT,buttonType:"primary",layoutId:3,isDisabled:!a})})]})})}),ab=(0,U.A)({form:"kycExpiryPersonalDetailsForm",destroyOnUnmount:!1,validate:K})(e=>{let{valid:a=!1,closePopup:t=m(),handleSubmit:n=m(),handleSelectClick:l=m(),platform:i=""}=e;return(0,s.jsx)("form",{onSubmit:n(()=>{(0,P.ze)(P.BM.PERSONAL_INFO_SUBMIT),t("button")}),children:(0,s.jsxs)("div",{className:"personal-details",children:[(0,s.jsx)(F.A,{name:"emailId",type:"text",component:B.default,maxLength:50,placeholder:C.ox.EMAIL_ID,wrapperClass:"email-id-container",layoutId:3,labelText:C.DZ.EMAIL_ID}),(0,s.jsx)(F.A,{name:"fatherName",type:"text",component:B.default,placeholder:C.ox.FATHER_NAME,layoutId:3,labelText:C.DZ.FATHER_NAME}),(0,s.jsx)(F.A,{name:"motherName",type:"text",component:B.default,placeholder:C.ox.MOTHER_NAME,layoutId:3,labelText:C.DZ.MOTHER_NAME}),(0,s.jsxs)("div",{className:"marital-status",children:[(0,s.jsx)("label",{children:C.DZ.MARITAL_STATUS}),(0,s.jsx)(F.A,{name:"maritalStatus",component:ef.default,valueField:"value",labelField:"label",options:$.Fk,defaultSelected:aO()($.Fk).value,wrapperClass:"marital-status-container",radioImages:C.P2})]}),(0,s.jsx)(F.A,{name:"residentType",component:eC.A,data:$.H1,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_RESIDENT_TYPE,label:C.DZ.RESIDENT_TYPE,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:l,hidePopUp:!0}),(0,s.jsx)(F.A,{name:"qualification",component:eC.A,data:$.Ni,layoutId:4,closePopUpOnOuterClick:!0,popUpHeading:C.DZ.SELECT_EDUCATIONAL_QUALIFICATION,label:C.DZ.EDUCATIONAL_QUALIFICATION,requiredFieldOnClick:["data","popUpHeading","input"],handleClick:l,hidePopUp:!0}),i===j.Z.MOBILE&&(0,s.jsx)("div",{className:"bottom-section",children:(0,s.jsx)(F.A,{name:"submitPersonalDetails",component:v.default,text:C.DZ.CONTINUE_TEXT,buttonType:"primary",layoutId:3,isDisabled:!a})})]})})}),av=e=>{let{activeStep:a=0,stepsList:t=[]}=e;return A()(t)?null:(0,s.jsx)("div",{className:"pay-later-step",children:(0,s.jsx)("ul",{children:n.Children.toArray(_()(t,(e,t)=>{let n=t+1===a,l=t+1<a;return(0,s.jsx)("li",{className:"".concat(n?"active-step":""," ").concat(l?"completed-step":""),children:e},"".concat(e,"-").concat(t))}))})})};av.propTypes={activeStep:ev().number,stepsList:ev().array};let aP=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{slug:t=""}=a;
1if("tnc-details"===t||"submit-details"===t){let t=p()(e,"data",{});if(!A()(t))return{response:t,additionalData:a}}return{}},aM=e=>{let{platform:a="",setPopUpData:t=m(),extractFormValues:l=m(),handleGoBackClick:i=m(),payLater:{genericRequestBody:r={},recordUserConsentResponse:c={},fetchAccountStatusResponse:o={},submitCustomerDetailsResponse:d={}},removeListenerHandler:u=m(),reduxActions:E={},auth:{fcWalletId:N="",csrfRequestIdentifierToken:x=""},locationDetails:T={},desiredStatusRef:I,undesiredStatusRef:O,forcedPollUsecaseRef:D,initializeForm:f=m()}=e,S={personalDetailsForm:(0,b.p4)(K(l("kycExpiryPersonalDetailsForm")||{}),void 0),occupationalDetailsForm:(0,b.p4)(z(l("kycExpiryOccupationalDetailsForm")||{}),void 0)},[R,y]=(0,n.useState)(!1),[g,L]=(0,n.useState)(1),[M,F]=(0,n.useState)(!1),[U,Z]=(0,n.useState)(),w=(0,el.A)(128),{response:G={},slug:B="",fetchIntercept:H=m()}=(0,aj.A)({onSuccess:aP}),X=e=>{t({type:"Select",...e})},Y=()=>{t({type:"location",layoutId:2,minWidth:550}),E.recordUserConsentRequest(x,r)},V=(0,n.useMemo)(()=>({headerText:"Type of Profile Details",list:_()($.kV,a=>{let t={};switch(a.componentName){case"PersonalDetails":if(t.content=(0,s.jsx)(ab,{closePopup:y.bind(void 0,!1),handleSelectClick:X,...e}),S.personalDetailsForm){let{emailId:e,maritalStatus:a}=l("kycExpiryPersonalDetailsForm")||{};t.subHeading=(0,b.Oj)("".concat(e," | ").concat(a),18),t={...t,...$.K8}}else t.subHeading=a.subHeading,t={...t,...$.eC};break;case"OccupationalDetails":if(t.content=(0,s.jsx)(aL,{closePopup:y.bind(void 0,!1),handleSelectClick:X,...e}),S.occupationalDetailsForm){let{occupationType:e,monthlyIncome:a}=l("kycExpiryOccupationalDetailsForm")||{};t.subHeading=(0,b.Oj)("".concat(e," | ₹ ").concat((0,b.Aw)(a)),18),t={...t,...$.K8}}else t.subHeading=a.subHeading,t={...t,...$.eC}}return{...a,...t}})}),[S]);return(0,n.useEffect)(()=>{(0,P.Dc)({pageName:P.v.PROFILE_INFO_SCREEN}),E.passEmsEventRequest(N,eA.PROFILE_INFO_SCREEN),a!==j.Z.MOBILE&&(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN,otherDetails:{emailId:!1,maritalStatus:!1}});let{emailId:e=""}=p()(o,"data.customerDetails",{});f("kycExpiryPersonalDetailsForm",{emailId:e}),H(aC.i6k,"POST",{csrfRequestIdentifier:x,fctenant:"fctenant1"},{...r,documentType:"TNC"},{isRawData:!0,showToast:!0,showLoader:!0,additionalData:{slug:"tnc-details"}})},[]),(0,n.useEffect)(()=>{if(!A()(G)&&"tnc-details"===B){let e=p()(G,"data.activePolicy.policyDocumentHostUrl")||"";e&&Z(e)}},[G]),(0,n.useEffect)(()=>{if(!A()(c)&&!A()(T)){let{lat:e=0,long:a=0}=T,{emailId:t,fatherName:s,motherName:n,maritalStatus:i,residentType:c,qualification:d}=l("kycExpiryPersonalDetailsForm"),{occupationType:u,occupation:m,sourceOfFunds:h,monthlyIncome:N,natureOfBusiness:_,businessYears:A,companyName:I,companyObj:O,corporateEmailId:D}=l("kycExpiryOccupationalDetailsForm"),{customerName:f,dob:S,gender:C,panNumber:j,accountNumber:R,mobileNumber:y,emailId:g}=p()(o,"data.customerDetails",{}),L={occupationType:u,monthlyIncome:N};("Salaried"===u||"Self Employed"===u)&&(L.natureOfBusiness=_),"Salaried"===u?(L.companyName=I,L.companyCategory=p()(O,"category"),L.corporateEmailId=D,L.sourcesOfIncome="Salary"):L.sourcesOfIncome=h,"Self Employed"===u&&(L.occupation=m,L.numberOfYearsInBusiness=A);let b={orderId:p()(o,"data.orderId",""),orderSubStateDetails:{customerName:f,dob:S,gender:C,panNumber:j,accountNumber:R,mobileNumber:y,emailId:g},personalDetails:{maritalStatus:k()($.m7[i]),emailId:t,mothersName:n,fathersName:s,residentType:$.nJ[c],educationalQualification:$.h4[d]},professionalDetails:L,documentList:[{docType:"LENDING_USER_CONFIRM_CUST_DEMOG_TNC",userAction:"accept",actionData:{action:"PROCEED"}}],latitude:"".concat(e),longitude:"".concat(a),userType:"LENDINGETB",requestHeaders:{}};E.submitCustomerDetailsRequest(b,x,r)}},[c,T]),(0,n.useEffect)(()=>{A()(d)||(I.current=["READY","FAILED"],O.current=["NOT_INITIATED"],D.current=P.v.LAND_AFTER_ETB_REVIEW,E.updateAccountStatus("INPROGRESS"))},[d]),(0,s.jsx)(h.default,{layoutId:4,customAppLayoutClass:"pay-later expired-full-kyc-profile-info-page tab-desktop-container",hideSidebar:!0,showFooter:!1,headerText:C.DZ.EXPIRED_KYC_USER_DETAILS_HEADER_TEXT,headingText:C.DZ.EXPIRED_KYC_USER_DETAILS_HEADING_TEXT,subHeadingText:C.DZ.EXPIRED_KYC_USER_DETAILS_SUB_HEADING_TEXT,headingIcon:C.RE.PROFILE_ICON,hideHeadingSection:a!==j.Z.MOBILE,handleGoBackClick:i,onLogoutHandler:u,children:(0,s.jsxs)(s.Fragment,{children:[a!==j.Z.MOBILE&&(0,s.jsx)("div",{className:"upper-section",children:(0,s.jsx)(av,{activeStep:1,stepsList:$.Gg,isDesktop:a===j.Z.DESKTOP})}),(0,s.jsxs)("div",{className:"lower-section",style:{minHeight:a===j.Z.MOBILE&&w||""},children:[a!==j.Z.MOBILE&&(0,s.jsxs)("div",{className:"step-information with-profile-img with-secured-img",children:[(0,s.jsx)("h4",{children:C.DZ.EXPIRED_KYC_USER_DETAILS_HEADING_TEXT}),(0,s.jsx)("p",{children:C.DZ.EXPIRED_KYC_USER_DETAILS_SUB_HEADING_TEXT})]}),(0,s.jsx)(ex.A,{isMobile:a===j.Z.MOBILE,cardData:V,isPopupShown:R,togglePopupHandler:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];y(e)},postCardClickHandler:e=>{let{uniqueId:a=0}=e;L(a);
1let t=l("kycExpiryPersonalDetailsForm"),s="";switch(a){case 1:{let{emailId:e,maritalStatus:a}=t||{};s="emailId|".concat(!!e,", maritalStatus|").concat(!!a),(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN,otherDetails:s});break}case 2:{let{occupation:e,sourcesOfIncome:a,monthlyIncome:n}=(t=l("kycExpiryOccupationalDetailsForm"))||{};s="occupation|".concat(!!e,", sourcesOfIncome|").concat(!!a,", monthlyIncome|").concat(!!n),(0,P.Dc)({pageName:P.v.PROFESSIONAL_INFO_SCREEN,otherDetails:s});break}default:(0,P.Dc)({pageName:P.v.PERSONAL_INFO_SCREEN})}},selectedCardId:g}),(0,s.jsxs)("div",{className:"bottom-area",children:[(0,s.jsx)("div",{className:"checkboxes-section",children:(0,s.jsx)(es.A,{name:"isTnCAccepted",labelField:"text",layoutId:3,valueField:"value",options:(0,$.cw)(U),wrapperClass:"tnc-checkbox",checkboxImages:C._r,handleChange:e=>{F(!A()(e)&&1===et()(e))}})}),(0,s.jsxs)("div",{className:"btn-section",children:[(0,s.jsx)(v.default,{name:"submitDetails",text:C.DZ.CONTINUE_TEXT,handleClick:()=>{t({type:"axisTnc",layoutId:2,onContinueClick:Y,minWidth:415})},buttonType:"primary",layoutId:3,isDisabled:!(0,b.p4)(S,!0)||!M}),$.QE]})]})]})]})})},aF=e=>{let{onContinueClick:a=m()}=e,[t,l]=(0,n.useState)();return(0,s.jsxs)("div",{className:"axis-tnc-section",children:[(0,s.jsx)("h3",{children:C.DZ.AXIS_TNC_POPUP_HEADING}),(0,s.jsxs)("div",{className:"safe-hands",children:[(0,s.jsx)(R.A,{src:C.RE.SECURED_SHIELD_BLUE,alt:C.LG.SECURED_SHIELD_BLUE}),(0,s.jsx)("p",{children:C.DZ.AXIS_TNC_POPUP_SAFE_HANDS})]}),(0,s.jsx)("div",{className:"checkboxes-section",children:(0,s.jsx)(es.A,{name:"isAxisTncAccepted",labelField:"text",layoutId:3,valueField:"value",options:$.sL,wrapperClass:"tnc-checkbox",checkboxImages:C._r,handleChange:e=>{l(!A()(e)&&1===et()(e))}})}),(0,s.jsx)("div",{className:"btn-section",children:(0,s.jsx)(v.default,{name:"submitDetails",text:C.DZ.CONTINUE_TEXT,handleClick:a,buttonType:"primary",layoutId:3,isDisabled:!t})})]})},aU=e=>{let{popUpData:a={},hidePopup:t=m(),setLocationError:l=m(),setLocationDetails:i=m(),platform:r}=e,c=r===j.Z.MOBILE;if(A()(a))return null;let{type:o=""}=a;switch(o){case"Select":{let{data:e=[],popUpHeading:l="",input:i={}}=a,{value:r="",onChange:c=m()}=i,o=e=>{c(e),t()};return(0,s.jsxs)("div",{className:"pay-later-select",children:[l&&(0,s.jsx)("p",{children:l}),(0,s.jsx)("ul",{children:n.Children.toArray(_()(e,(e,a)=>(0,s.jsx)("li",{onClick:o.bind(void 0,e),className:"".concat(r===e?"active":""),children:e},"".concat(e,"-").concat(a))))})]})}case"location":return(0,s.jsx)(ek,{isMobile:c,setLocationError:l,setLocationDetails:i,hidePopup:t});case"axisTnc":return(0,s.jsx)(aF,{...a});default:return null}},aZ=e=>{let{platform:a=""}=e,[t,l]=(0,n.useState)(null),[i,r]=(0,n.useState)({}),[c,o]=(0,n.useState)(!1),d=()=>{l(null),o(!1)};return(0,s.jsxs)("div",{children:[(0,s.jsx)(aM,{...e,locationDetails:i,setPopUpData:l}),(0,s.jsx)(H.default,{layoutId:c?1:t&&t.layoutId?t.layoutId:2,isPopUpShown:!A()(t),popUpContent:(0,s.jsx)(aU,{popUpData:t,platform:a,setLocationDetails:r,setLocationError:o,hidePopup:d}),closeClickHandler:d,wrapperClass:A()(t)?"":"pay-later-".concat(em()(t.type),"-popup ").concat(c?"location-error":""),minWidth:A()(t)?"50vw":t.minWidth,minHeight:"auto",maxHeight:"initial"})]})};var ak=t(3725);let aw=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=p()(e,"data",{});if(!A()(t))return{response:t,additionalData:a}},aG=e=>{let{payLater:{genericRequestBody:a={},fetchAccountStatusResponse:t={}},auth:{csrfRequestIdentifierToken:l=""}}=e,i=(0,c.wA)(),{response:r={},fetchIntercept:o=m()}=(0,aj.A)({onSuccess:aw});return(0,n.useEffect)(()=>{A()(r)||eO.N7.submitForm({actionUrl:p()(r,"data.redirectionUrl"),method:p()(r,"data.httpMethod","POST"),fieldDetails:p()(r,"data.params",{}),inNewTab:!1})},[r]),(0,n.useEffect)(()=>{let e=Date.now().toString().slice(-6),s={action:"RESUME_FULL_KYC",orderId:p()(t,"data.orderId"),...a};return o(aC.OwB,"POST",{csrfRequestIdentifier:l,fctenant:"fctenant1"},s,{isRawData:!0,showToast:!0}
1),i(ak.o.showLoader(e,C.DZ.RESUME_FULL_KYC_TEXT,0)),()=>{i(ak.o.hideLoader(e))}},[]),(0,s.jsx)(eh.default,{})},aB=e=>{let{auth:{csrfRequestIdentifierToken:a="",isLoggedIn:t=!1,fcWalletId:r=""},payLater:{genericRequestBody:c={},fetchAccountStatusResponse:o={},paylaterStaticData:d={},error:u={}},reduxActions:E}=e,[m,h]=(0,n.useState)(""),[N,_]=(0,n.useState)({}),[x,T]=(0,n.useState)(!1),[I,O]=(0,n.useState)(!1),D=(0,n.useRef)(""),f=(0,n.useRef)(""),S=(0,n.useRef)(),C=(0,n.useRef)(),j=(0,n.useRef)(),R=(0,l.useRouter)(),{removeListenerHandler:y}=(0,aT.A)("dashboardPage"!==m&&"rejectedPage"!==m&&"expiredFullKycStatusPage"!==m),g=!!p()(R,"query.redirected",!1),L=p()(R,"query.status",""),v=!!p()(R,"query.nc",!1),M=()=>{i().back()},F=()=>{f.current="END_POLL"},U=e=>{let{message:a}=e;aA()(a)&&(A()(e9()(a,e=>et()(e)))||_({underMaintenancePage:{infoSubText:a}})),h("underMaintenancePage")};if((0,n.useEffect)(()=>{let e=p()(R,"query")||{};return A()(e)||g||1===eX()(e).length&&e.userJourney||(0,b.w6)(eY.kM.PAY_LATER_UTM_PARAMS,e),A()(d)&&E.getPaylaterStaticDataRequest(),g&&((0,P.Dc)({...{pageName:P.v.LAND_AFTER_AXIS,FPLType:"NTB"},...L?{FPLeKYCStatus:"error"===L?"fail":L}:{}}),E.passEmsEventRequest(r,eA.LAND_AFTER_AXIS)),()=>{F(),E.resetCheckUserEligibilityResponse(),E.resetFetchUserDetailsResponse(),E.resetCheckoutId(),E.resetPayLaterError()}},[]),(0,n.useEffect)(()=>{t?E.fetchAccountStatusRequest(a,c):h("landingPage")},[t]),(0,n.useEffect)(()=>{if(!A()(o)){let e=p()(o,"data.status","INPROGRESS");if(e)switch(S.current=C&&C.current&&!ah()(C.current,e)?"INPROGRESS":e,S.current=j&&j.current&&ah()(j.current,e)?"FAILED":S.current,S.current){case"INPROGRESS":h($.z3[S.current]),x||((0,b.p2)(()=>{E.fetchAccountStatusRequest(a,c)},()=>"INPROGRESS"!==S.current||!!f&&"END_POLL"===f.current,e=>{e&&O(!0),C&&(C.current=null),j&&(j.current=null),D&&(D.current=""),f&&f.current&&(f.current=""),T(!1)},$.cq,$.J5,$.vr),T(!0));break;case"ACTIVE":if("OVERDRAFT"===p()(o,"data.productType","")){h($.z3.CREDIT_DETAILS_PAGE);break}"confirmationPage"!==m&&h($.z3[e]);break;case"CUSTOMER_VALIDATION_PENDING":{let e=$.z3[S.current];"LENDINGETB"===p()(o,"data.userType")&&(e="profileInfoPageExpiredFullKyc"),h(e);break}case"CLOSED":case"NOT_INITIATED":case"FAILED":case"FETCH_AND_RESUME_FULL_KYC_INITIATED":case"FETCH_AND_RESUME_FULL_KYC_PENDING":case"FETCH_AND_RESUME_FULL_KYC_COMPLETED":case"FETCH_AND_RESUME_FULL_KYC_FAILED":case"READY":h($.z3[S.current])}}},[o]),(0,n.useEffect)(()=>{if(!A()(u)){let{reduxAction:e="",errorView:a=!1}=u;"fetchAccountStatusRequest"===e&&F(),a&&h("errorPage")}},[u]),m)switch(m){case"profileInfoPage":return(0,s.jsx)(eB,{...e,handleGoBackClick:M,isEtbView:"CUSTOMER_VALIDATION_PENDING"===S.current,removeListenerHandler:y,desiredStatusRef:C,undesiredStatusRef:j,forcedPollUsecaseRef:D,setPageUnderMaintenance:U});case"profileInfoPageExpiredFullKyc":return(0,s.jsx)(aZ,{...e,handleGoBackClick:M,removeListenerHandler:y,desiredStatusRef:C,undesiredStatusRef:j,forcedPollUsecaseRef:D,setPageUnderMaintenance:U});case"landingPage":case"expiredFullKyc":return(0,s.jsx)(ep,{...e,handleGoBackClick:M,setPage:h,paylaterStaticData:d,removeListenerHandler:y,isAccountStatusNotInitiated:"NOT_INITIATED"===S.current,desiredStatusRef:C,forcedPollUsecaseRef:D,setPageUnderMaintenance:U,isMerchant:v,isFullKycExpiredView:"expiredFullKyc"===m});case"progressPage":return(0,s.jsx)(e3,{...e,isEtbView:"CUSTOMER_VALIDATION_PENDING"===S.current||C&&C.current,isForcedPolling:C&&C.current,forcedPollingUsecase:D&&D.current,setShowEmbarrassment:O,showEmbarrassment:I,removeListenerHandler:y});case"rejectedPage":return(0,s.jsx)(eV,{...$.lt.REJECTED,...e,removeListenerHandler:y});case"transactionsPage":return(0,s.jsx)(au,{...e,goBackClick:h.bind(void 0,"dashboardPage")});case"creditDetailsPage":return(0,s.jsx)(e1,{...e});case"dashboardPage":{let{value:a=!1,message:t=""}=p()(d,"outage.resumption.dashboard",{});if(a)return U({message:t}),null;return(0,s.jsx)(ai,{...e,handleGoBackClick:M,setViewAllPage:h.bind(void 0,"transactionsPage"),setPageUnderMaintenance:U,isMerchant:v,setPage:h})}case"failedPage":return(0,s.jsx)(eV,{...$.lt.FAILED,...e,removeListenerHandler:y});case"confirmationPage":return(0,s.jsx)(e0,{...e,handleGoBackClick:M,setPage:h,removeListenerHandler:y,setPageUnderMaintenance:U});case"errorPage":return(0,s.jsx)(eV,{...$.lt.ERROR_OCCURRED,...{infoSubText:[p()(u,"response.data.error.errorMessage",$.lt.ERROR_OCCURRED.infoSubText)]},...e,removeListenerHandler:y});case"underMaintenancePage":return(0,s.jsx)(eV,{...$.lt.UNDER_MAINTENANCE,...N[m]||{},...e,removeListenerHandler:y});case"resumeFullKycPage":return(0,s.jsx)(aG,{...e});case"expiredFullKycStatusPage":return(0,s.jsx)(eV,{...$.lt.EXPIRY_KYC_STATUS($.ih[S.current]),...e,removeListenerHandler:y});default:return null}return(0,s.jsx)(eh.default,{})};var aH=t(89853),aX=t(26068),aY=t(44003),aV=t(52145);t(33123);var aW=!0;let aK=(0,c.Ng)(e=>{let{app:a,auth:t,payLater:s,form:n,checkoutId:l,seoReducer:i,reviews:r}=e;return{extractFormValues:e=>(0,o.A)(e)({form:n}),platform:a.platform,auth:t,payLater:s,checkoutId:l,seoReducer:i,reviewsReducer:r}},e=>({reduxActions:(0,r.zH)({...aH.o,...aY.o,...aX.o,...aV.o},e),initializeForm:(a,t)=>e((0,d.n_)(a,t))}))(e=>{let{payLater:a={},platform:t="",reduxActions:n={},seoReducer:i={},reviewsReducer:r={}}=e,{seoData:c={},paylaterStaticData:o={}}=a,d=(0,l.useRouter)(),u=!!p()(d,"query.userJourney",e.userJourney||!1),E=!!p()(d,"query.etbUser",e.etbUser||!1),m=!!p()(d,"query.merchantUser",e.merchantUser||!1);return u?(0,s.jsx)(aB,{...e}):(0,s.jsx)(a_,{seoData:c,paylaterStaticData:o,platform:t,reduxActions:n,isEtbUser:E,isMerchantUser:m,seoReducer:i,reviewsReducer:r})})},65980:()=>{},68658:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/paylater",function(){return t(52939)}])},78242:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var s=t(14232),n=t(4917);let l=t.n(n)()((e,a)=>{a(window.innerHeight-e)},500),i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{changeOnResize:t=!1,useDebounce:n=!0}
1=a,[i,r]=(0,s.useState)(0),c=()=>{n?l(e,r):r(window.innerHeight-e)};return(0,s.useEffect)(()=>(c(),t&&window.addEventListener("resize",c),()=>{n&&l.cancel(),t&&window.removeEventListener("resize",c)}),[]),i}},81334:(e,a,t)=>{var s=t(93007);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return s(e)?e:[e]}},81993:(e,a,t)=>{"use strict";t.d(a,{AE:()=>n,Cs:()=>o,N7:()=>l,O6:()=>s,SL:()=>i,Wc:()=>u,dO:()=>c,jK:()=>d,yC:()=>r});let s=3e3,n=2e3,l=15,i=3e3,r=2e3,c=15,o={RENTALS:"rentals",EDUCATION_FEE_CC:"education-fees-cc",LPG_CYLINDER:"cylinder-gas-booking",FASTAG:"fastag-recharge",LOAN_PAYMENT:"online-emi-payment",MUNICIPAL_TAX:"municipal-tax-payments",DTH_RECHARGE:"dth",OMS_ELECTRICITY:"electricity",OMS_BROADBAND:"broadband",OMS_LANDLINE:"landline",OMS_PIPED_GAS:"gas",OMS_WATER:"water",SUBSCRIPTION:"subscriptions",MOBILE_POSTPAID:"postpaid-bill-payments",MOBILE_RECHARGE:"mobile-recharge",OMS_ADD_MONEY:"addMoney",HOUSING_SOCIETY:"housing-society",CABLE_TV:"cable-tv-recharge",EDUCATION_FEES:"education-fees",GOOGLE_PLAY:"google-play",CREDIT_CARD:"credit-card-bill-payment",OMS_INSURANCE:"insurance-bill-payment",CLUB_ASSOCIATIONS:"clubs-and-associations",PRS_SUBSCRIPTION:"subscription",GIFT_CARD:"gift-cards",NCMC:"ncmc-recharge",RENTAL:"rental-bill-payments",PREPAID_METER:"prepaid-meter-recharge",HOSPITAL_PATHOLOGY:"hospital-and-pathology",RECURRING_DEPOSIT:"recurring-deposit",EV_RECHARGE:"ev-recharge",FLEET_RECHARGE:"fleet-recharge",NPS:"nps",HOSPITAL_PAYMENT:"hospital-bill-payments",SAVE_CARD:"save-card",DONATION:"donation",E_CHALLAN:"traffic-fines",MUNICIPAL_SERVICES_PAYMENTS:"municipal-services-payments"},d=["cylinder-gas-booking","fastag-recharge","online-emi-payment","municipal-tax-payments","dth","electricity","broadband","landline","gas","water","subscriptions","postpaid-bill-payments","mobile-recharge","education-fees","cable-tv-recharge","housing-society","google-play","credit-card-bill-payment","insurance-bill-payment","clubs-and-associations"],u=["save-card"]},94525:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>S});var s=t(37876),n=t(14232),l=t(98477),i=t(21626),r=t(95062),c=t.n(r),o=t(62238),d=t(93007),u=t.n(d),p=t(16968),E=t.n(p),m=t(57410),h=t.n(m);let N=null,_=i.Ay.label.withConfig({shouldForwardProp:e=>!["active","isDisabled"].includes(e)}).withConfig({componentId:"sc-a4fcb1a6-0"})(["align-items:center;color:#5c5c5c;display:flex;font-size:14px;font-family:",";margin-right:45px;opacity:",";position:relative;cursor:pointer;&:last-child{margin-right:0;}"],e=>e.active?"sspBold":"sspRegular",e=>e.isDisabled?"0.7":"1"),x=i.Ay.input.withConfig({componentId:"sc-a4fcb1a6-1"})(["cursor:pointer;opacity:0;margin:0;position:absolute;"]),A=i.Ay.img.withConfig({componentId:"sc-a4fcb1a6-2"})(["margin-right:7px;width:20px;"]),T=i.Ay.span.withConfig({componentId:"sc-a4fcb1a6-3"})([""]),I=i.Ay.div.withConfig({componentId:"sc-a4fcb1a6-4"})(["align-items:center;display:flex;padding:0 7px;&.label-right{","{","{order:1;}","{order:2;}}}"],_,T,A),O=i.Ay.span.withConfig({componentId:"sc-a4fcb1a6-5"})(["color:#ff0000;display:block;font-size:12px;margin:10px 0 5px;text-transform:capitalize;"]),D={ACTIVE:"".concat(o.Cp,"/radio/radio_active.png"),IN_ACTIVE:"".concat(o.Cp,"/radio/radio_inactive.png")},f=e=>{let{input:a,meta:i,wrapperClass:r="",className:c="",options:d=[],valueField:p="",labelField:m="",name:f="",isDisabledKey:S="",labelClassNameKey:C="",isRequired:j=!1,handleChange:R=()=>{},hideErrors:y=!1,rePositionErrors:g=!1,rePositionErrorsElement:L,errorMessage:b="",defaultSelected:v="",radioImages:P=D,radioPlacement:M="left",onClickHandler:F=h(),layoutId:U,emsRadio:Z=""}=e,[k,w]=(0,n.useState)(v),G=(0,n.useCallback)((e,a)=>{"function"==typeof R&&R(e,a)},[R]),B=()=>2===U?{ACTIVE:"".concat(o.Cp,"/radio/radio_active_neo_banking_2.svg"),IN_ACTIVE:"".concat(o.Cp,"/radio/radio_inactive_neo_banking_2.svg")}:P||{ACTIVE:"".concat(o.Cp,"/radio/radio_active.png"),IN_ACTIVE:"".concat(o.Cp,"/radio/radio_inactive.png")},H=(e,s)=>{let{target:{value:n}}=s;n!==k&&(w(n),a&&a.onChange(n,e),G(n,e));let{triggerEmsEvent:l,EMS_EVENT_TYPES:i}=(N||(N=t(94509)),N);l({eventType:i.USER_INPUT_ACTION,eventName:(null==a?void 0:a.name)||f,eventData:{radioGroup:(null==a?void 0:a.name)||f||"",selectedValue:n,optionLabel:m||""}})};return(0,n.useEffect)(()=>{let e=(null==a?void 0:a.value)||v||"";e!==k&&w(e),v&&(null==a?void 0:a.value)!==v&&(a&&a.onChange(v),G(v))},[v,null==a?void 0:a.value]),(0,n.useEffect)(()=>{d&&d.length||(a&&a.onChange(""),G(""))},[d,a,G]),(0,s.jsxs)("div",{className:"radios-wrapper",children:[(0,s.jsx)(I,{className:"".concat(r," label-").concat(M),children:d.length&&d.map((e,t)=>{let n="".concat(p?e[p]:e),l=m?e[m]:e,i=!!S&&e[S],r=C&&e[C]||"";return(0,s.jsxs)(_,{active:k===n,isDisabled:i,className:"".concat(r," ").concat(k===n?"is-active":""),children:[(0,s.jsx)(x,{className:c,type:"radio",name:a&&a.name?a.name:f,value:n,checked:k===n,onChange:H.bind(void 0,e),required:j,disabled:i,onClick:F}),(0,s.jsx)(A,{className:"custom-icon",src:k===n?B().ACTIVE:B().IN_ACTIVE,alt:k===n?"Checked Option":"Unchecked Option"}),l&&(0,s.jsx)(T,{className:"label-text",children:l})]},"radio-label-".concat(t).concat(i?" disabled":""))})}),!y&&!g&&b&&(u()(b)?E()(b,e=>(0,s.jsx)(O,{className:"error-message",children:e})):(0,s.jsx)(O,{className:"error-message",children:b})),!y&&!g&&i&&i.touched&&i.error&&(0,s.jsx)(O,{className:"error-message",children:i.error}),g&&L&&b&&l.createPortal((0,s.jsx)(O,{className:"error-message",children:b}),L),g&&L&&i&&i.touched&&i.error&&l.createPortal((0,s.jsx)(O,{className:"error-message",children:i.error}),L)]})};f.propTypes={options:c().arrayOf(c().oneOfType([c().object,c().string])),labelField:c().string,valueField:c().oneOfType([c().number,c().string]),handleChange:c().func,input:c().object,meta:c().object,wrapperClass:c().string,className:c().string,isDisabledKey:c().string,isRequired:c().bool,name:c().string,errorMessage:c().oneOfType([c().string,c().array]),hideErrors:c().bool,rePositionErrors:c().bool,rePositionErrorsElement:c().element,defaultSelected:c().oneOfType([c().number,c().string]),radioImages:c().shape({ACTIVE:c().string,IN_ACTIVE:c().string}),radioPlacement:c().oneOf(["left","right"]),onClickHandler:c().func};let S=f},97899:(e,a,t)=>{"use strict";t.d(a,{t:()=>n});var s=t(62238);let n={ACTIVE:"".concat(s.Cp,"/radio/checkbox_active.png"),IN_ACTIVE:"".concat(s.Cp,"/radio/radio_inactive_neo_banking.png")}}},e=>{e.O(0,[470,452,75,5627,7440,9067,9979,9129,8635,4023,9811,5667,3985,8493,3461,2914,9668,947,1438,2198,636,6593,8792],()=>e(e.s=68658)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.