PageSourceSearch

https://cdn.piramalfinance.com/nach-web/1.0.915/_next/static/chunks/3586.cf8a768e92be0040-fed.js

js piramalfinance.com collected 2026-09-24 12:10:41 UTC 19,647 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknachApp=self.webpackChunknachApp||[]).push([[3586],{66720:function(e,t,n){n.d(t,{O:function(){return o}});var a=n(85893),r=n(25675),i=n.n(r),s=n(35329),l=n(20646);let o=e=>{let{children:t,imgSrc:n,imgHeight:r=130,imgWidth:o=110,header:c,subheader:d,withBorder:u=!1,withReload:h=!1,isSuccessHeader:m,imgAlt:x="",onReload:_}=e,{imgAltText:f}=l.default,E=m||u&&!h?"text-green-100":"";return(0,a.jsxs)("div",{className:" relative status-conatiner-section pb-5 flex flex-col items-center nunito-Regular ".concat(!0===u?"styled-border mt-6":""),children:[h&&(0,a.jsx)("div",{className:"image-reload absolute self-end mr-4 mt-4",onClick:_,children:(0,a.jsx)(i(),{src:s.Z.reload,width:20,height:20,alt:"reload"})}),(0,a.jsx)("div",{className:"image-container mt-6 ",children:(0,a.jsx)(i(),{src:n,alt:x||f.icon,height:r,width:o})}),(0,a.jsx)("div",{className:"header text-large nunito-Regular font-bold mt-6 ".concat(E),children:c}),(0,a.jsx)("div",{className:"sub-header w-80 nunito-Regular text-center text-sm m-2 text-piramalblue-100",children:d}),t]})}},23533:function(e,t,n){n.d(t,{a:function(){return _}});var a=n(85893);n(4065);var r=n(186),i=n(25675),s=n.n(i),l=n(97182),o=n(35329),c=n(20646);let d=r.ZP.div.withConfig({componentId:"sc-67383ba5-0"})(["background-color:",";"],e=>{let{theme:t}=e;return t.backgroundColor2}),u=r.ZP.div.withConfig({componentId:"sc-67383ba5-1"})(["position:absolute;top:8px;left:0;right:0;display:flex;justify-content:center;"]),h=r.ZP.div.withConfig({componentId:"sc-67383ba5-2"})(["height:50px"]),m=r.ZP.div.withConfig({componentId:"sc-67383ba5-3"})(["margin-top:2.5625rem;font-size:1.125rem;font-weight:800;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal;text-align:center;color:",";"],e=>{let{theme:t}=e;return t.textColor}),x=r.ZP.div.withConfig({componentId:"sc-67383ba5-4"})(["margin-top:0.5rem;font-size:0.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:normal;text-align:center;color:",";"],e=>{let{theme:t}=e;return t.piramalWhite170}),_=e=>{let{headingText:t,subHeadingText:n="",general:r=!1,imgLogo:i}=e,{imgAltText:_}=c.default;return(0,a.jsx)(d,{className:"absolute w-full h-full flex  justify-center px-8 items-center ".concat(r?"bg-white-100":""),children:(0,a.jsxs)("div",{"data-testid":"loader",className:"flex flex-col relative pt-6",children:[(0,a.jsx)(u,{children:(0,a.jsx)(l.Z,{style:{color:"#253746"},size:"5rem",thickness:2})}),(0,a.jsx)(h,{className:"flex justify-center",children:(0,a.jsx)(s(),{src:i||o.Z.logo,alt:_.logo,width:50,height:50})}),(0,a.jsx)(m,{children:t}),(0,a.jsx)(x,{children:n})]})})}},2008:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(85893);n(4065);var r=n(72992),i=n(33146);function s(e){let{error:t,onClose:n}=e;return t?(0,a.jsx)(i.Z,{sx:{width:"100%"},spacing:2,children:(0,a.jsx)(r.Z,{onClose:n,severity:"error",children:t})}):null}},5499:function(e,t,n){var a=n(87066),r=n(4065),i=n(13276),s=n(62025),l=n(32837),o=n(70914),c=n(83454);let d=()=>({baseURL:c.env.NGINX_API_URL});t.Z=function(e,t){let{url:n,method:u,headers:h=null,body:m=null}=e,{logger:x}=(0,s.Z)(l.eA),[_,f]=(0,r.useState)(null),[E,R]=(0,r.useState)(),[N,p]=(0,r.useState)(!t),g=async()=>{await (0,i.d)();let e=a.Z.create(d()),t={...h,apikey:c.env.NACH_NGINX_API_KEY,Environment:c.env.ENV_KEY};switch(u){case"get":return await e.get(n,{headers:t});case"post":return await e.post(n,m,{headers:t});case"put":return await e.put(n,m,{headers:t});case"delete":return await e.delete(n,{headers:t});case"patch":return await e.patch(n,m,{headers:t});default:throw Error('Unsupported method "'.concat(u,'"'))}},A=async()=>{t&&p(!0);try{let{data:e}=await g();f(e)}catch(e){x(l.hU.ERROR,(0,o.OZ)(e,null)),R(e)}finally{p(!1)}};return((0,r.useEffect)(()=>{t||A()},[]),t)?{response:_,errors:E,loading:N,fetchData:A}:{response:_,errors:E,loading:N}}},43586:function(e,t,n){n.r(t),n.d(t,{default:function(){return F}});var a,r,i,s=n(85893),l=n(4065);let o=e=>{let t,{onResend:n,initialTimer:a,title:r,isQueryFlow:i}=e,[o,c]=(0,l.useState)(a),d=()=>setTimeout(()=>{c(e=>e-1)},1e3);return(0,l.useEffect)(()=>{let e=o>0?d():"";return()=>{clearInterval(e)}},[o]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{className:"text-piramalorange-100",children:o?(t=Number(o).toString())&&t.length<2?"00:0".concat(t):"00:".concat(t):!i&&(0,s.jsx)("a",{className:"cursor-pointer underline font-bold disabled:no-underline disabled:font-normal disabled:text-neutral-40",style:{color:"#F26941"},onClick:()=>{n(),c(a)},children:r})})})};var c=n(20646),d=n(35329),u=n(66720),h=n(50821);function m(e){let{children:t,status:n,onReload:a,mobileNumber:r,applicationReferenceNo:i,isLADSLEFeatureEnabled:l}=e,{enachText:o,LIMIT_ENHANCEMENT:m}=c.default;return"SUCCESS"===n?(0,s.jsx)(u.O,{imgSrc:d.Z.nachProcessing,imgHeight:113,imgWidth:117,header:o.HEADER4,subheader:l?(0,h.G)(i||"",o.SUBHEADER4,m.SUBHEADER4):o.SUBHEADER4,withBorder:!0,children:""}):"FAILURE"===n?(0,s.jsx)(u.O,{imgSrc:d.Z.nachFailed,imgHeight:113,imgWidth:117,header:o.HEADER3,subheader:o.SUBHEADER3,withBorder:!0,withReload:!0,onReload:a,children:t}):"PROCESSING"===n?(0,s.jsx)(u.O,{imgSrc:d.Z.nachProcessing,imgHeight:113,imgWidth:117,header:o.HEADER2,subheader:o.SUBHEADER2,withBorder:!0,withReload:!0,onReload:a,children:t}):"PENDING"===n?(0,s.jsx)(u.O,{imgSrc:d.Z.nachIcon,imgHeight:67,imgWidth:207,header:o.HEADER,subheader:o.SUBHEADER+(r||"mobile"),withBorder:!0,withReload:!0,onReload:a,children:t}):null}var x=n(42598),_=n(23640),f=n(2008),E=n(5499),R=n(23533),N=n(54410),p=n(51303),g=n(31887),A=n(25675),C=n.n(A),O=(e,t,n,a,r,i,l)=>{let o=(0,x.useRouter)(),c=Object.fromEntries(new URLSearchParams(window.location.search).entries()),u=()=>{o.push({pathname:n,query:{id:null==c?void 0:c.id,status:null==c?void 0:c.status,autopayType:null==a?void 0:a.autopayType,selectedNach:null==a?void 0:a.selectedNach}})};return(0,s.jsx)("div",{children:(0,s.jsxs)(p.Z,{isOpen:t,className:"siteContainer",onClose:()=>e(!1),children:[(0,s.jsx)(p.Z.Container,{style:{maxHeight:"240px",height:"240px",paddingTop:10},children:(0,s.jsxs)(p.Z.Content,{children:[(0,s.jsxs)("div",{className:"justify-between flex",style:g.iq.BorderBottomRF,children:[(0,s.jsx)("div",{style:g.iq.textRF,children:r}),(0,s.jsx)("div",{onClick:()=>e(!1),children:(0,s.jsx)(C(),{unoptimized:!0,src:d.Z.circleClose,height:20,width:20,alt:"close"})})]}),(0,s.jsx)("div",{className:"m-2 p-10 m-10",children:(0,s.jsx)("div",{style:g.iq.textRF,className:"text-base  nunito-Light",children:i})}),(0,s.jsx)("div",{style:g.iq.bottomBg,children:(0,s.jsx)("div",{style:g.iq.bottomButton,children:(0,s.jsx)(N.Z,{type:"primary",onClick:()=>u(),classNames:"px-6 mx-4 h-12 w-11/12 bottom-6 absolute shareButtonBorder text-sm  roun
1ded-xl nunito",children:l})})})]})}),(0,s.jsx)(p.Z.Backdrop,{})]})})},v=n(49693),S=n(72992),L=n(33146);function b(e){let{success:t}=e,[n,a]=l.useState(!0),r=()=>{a(!1)};return t?(0,s.jsx)(L.Z,{sx:{width:"100%"},spacing:2,children:n&&(0,s.jsx)(S.Z,{onClose:()=>r(),severity:"success",children:t})}):null}(a=r||(r={}))[a.error=0]="error",a[a.warning=1]="warning",a[a.info=2]="info",a[a.success=3]="success";let I=e=>{let t,n,a;switch(e){case 0:t="bg-valentineRed-40",n="border-valentineRed-40",a="text-valentineRed-120";break;case 3:t="bg-emeraldGreen-10",n="border-emeraldGreen-40",a="text-emeraldGreen-140";break;case 1:t="bg-texasYellow-10",n="border-[#B3E8C5]",a="text-texasYellow-140";break;case 2:t="bg-successBackground",n="border-[#B3E8C5]",a="text-[#277742]";break;default:t="bg-darkLavender-10",n="border-[#B3E8C5]",a="text-darkLavender-140"}return{bgColor:t,borderColor:n,textColor:a}};var y=(0,l.memo)(e=>{let{severity:t,msg:n,showBanner:a,onCloseNotificationBanner:r=()=>{}}=e;(0,l.useEffect)(()=>{let e=setTimeout(()=>{r()},5e3);return()=>{clearTimeout(e)}});let{bgColor:i,textColor:o,borderColor:c}=I(t);return a&&(0,s.jsx)("div",{className:"grid items-center ".concat(i," mt-9 fixed z-10 top-0 left-1/2 -translate-x-1/2 rounded-lg border-solid border ").concat(c),children:(0,s.jsx)("div",{className:'"text-xs px-4 '.concat(o),children:n})})}),j=e=>{let{link:t}=e,[n,a]=(0,l.useState)(!1),i=()=>{navigator.clipboard.writeText(t),a(!0)};return(0,s.jsxs)("div",{className:"flex flex-COL w-[328px] h-[48px] left-[35px] bg-[#FFFFFF] shadow-[0_8px_24px_-6px_rgba(0,0,0,0.16)] rounded-lg mt-2 ml-4",children:[(0,s.jsx)("p",{className:"w-[228px] h-[32px] left-[24px] ml-2 rounded-lg bg-[#EBEEF0] mt-2 mb-2",children:(0,s.jsx)("p",{className:"left-[32px] w-[183px] mt-2 ml-2 h-[16px] truncate nunito-Light font-normal text-xs leading-7 flex items-center  underline text-[#365069] not-italic",children:t})}),(0,s.jsx)("button",{className:"flex flex-col  justify-center items-center mt-2 ml-2 pt-2 pb-2 pr-3 pl-4 w-[76px] mb-2 h-[32px] bg-[#F26841] rounded-lg ",onClick:()=>i(),children:(0,s.jsx)("p",{className:"w-[52px] h-[16px] nunito-Light not-italic flex items-center text-center flex-none order-[0px] flex-grow-0 text-xs text-[#FFFFFF] font-bold leading-4",children:"Copy link"})}),(0,s.jsx)(y,{severity:r.success,msg:"Link Copied successfully",showBanner:n,onCloseNotificationBanner:()=>{a(!1)}})]})},w=n(18664),B=e=>{let{message:t,img:n,imageClasses:a,messageClasses:r,notificationContainerClasses:i,showReactMessage:l=!1,reactMessage:o,showImage:c=!0}=e;return!l&&null==t||l&&null===o?null:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"notification-container flex justify-start border border-texasYellow-40 bg-texasYellow-10 p-4 gap-2 ".concat(i),children:[c&&(0,s.jsx)("div",{className:" ".concat(a),"data-testid":"display-notification-image",children:(0,s.jsx)(C(),{height:28,width:28,src:n,alt:"info"})}),l?o:(0,s.jsx)("span",{className:"description mx-2 ".concat(r),"data-testid":"show-notification-message",children:t})]})})},T=()=>(0,s.jsxs)("div",{className:"text-[#333333]",children:[(0,s.jsx)("span",{className:"nunito-Bold text-sm leading-5",children:"eNACH can't be modified or deleted"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{className:"nunito-Regular text-xs leading-4",children:"Use Physical NACH journey incase if there is any change or modification needed"})]}),P=()=>(0,s.jsxs)("div",{className:"text-[#333333]",children:[(0,s.jsx)("span",{className:"nunito-Bold text-sm leading-5",children:"Reusing Your Existing eNACH Mandate"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{className:"nunito-Regular text-xs leading-4",children:"The NACH mandate you previously set up will apply to this journey."})]});(i||(i={})).SUCCESS="SUCCESS";var H=n(32837),U=n(94130),G=n(59702),Z=n(62025),D=n(83454),F=e=>{let{payload:t,token:n,homePath:a,mobileNumber:r,showSwitchToPhysicalNach:u,isQueryFlow:p,isRetriggerNach:g,isRetryAllowed:A=!0,switchNach:C=!1,switchPayload:S,selectedNach:L}=e,{logger:I}=(0,Z.Z)(H.eA),{nachContainerText:y,generalText:F}=c.default,k=(0,x.useRouter)(),M=k.query.id,[Y,K]=(0,l.useState)(!1),[W,z]=(0,l.useState)(!1),[X,q]=(0,l.useState)(null),[V,Q]=(0,l.useState)(!1),{errors:J,loading:$,response:ee,fetchData:et}=(0,E.Z)(_.t.getEmandateStatus(M,n),!0),{errors:en,loading:ea,response:er,fetchData:ei}=(0,E.Z)(_.t.sendNachRequest(t,n),!0),es=async()=>{z(!0);try{let e=await U.S.switchNach(S,n);if((null==e?void 0:e.nachId)&&M)k.push({pathname:v.Z.nachHome,query:{id:M,autopayType:"postLogin",edit:!0}});else throw Error(H.Qe)}catch(e){z(!1),q(H.Qe)}},el=async()=>{try{let e=await G._g.getFCSFlagTreatment(H.KQ.featureCodeForLADSLE,M);Q((null==e?void 0:e.treatment)===H.KQ.Treatment1)}catch(e){Q(!1)}};(0,l.useEffect)(()=>{C&&es()},[C]),(0,l.useEffect)(()=>{M&&el()},[M]);let eo=()=>
1{if(ee){let{status:e}=ee,{mandateStatus:t}=ee;return"NACH_SUBMITED"===t?"NACH_SUBMITED":"CREATED"===e?"PROCESSING":e}return k.query.status},ec=async()=>{et&&et()},ed=async()=>{ei&&ei()},eu=()=>{"string"==typeof a?k.push({pathname:a}):"object"==typeof a&&k.push(a)};return $||ea||W?(0,s.jsx)(R.a,{general:!0,subHeadingText:"Loading...please wait",headingText:""}):(0,s.jsxs)("div",{className:"enach-container h-3/6",children:[(0,s.jsx)(f.Z,{error:(null==J?void 0:J.message)||(null==en?void 0:en.message)||X||""}),(0,s.jsx)("div",{className:"leading-4 text-xs text-gray-50 nunito-Regular",children:V?(0,h.G)((null==t?void 0:t.applicationReferenceNo)||"",y.SUBHEADING,c.default.LIMIT_ENHANCEMENT.SUBHEADING):y.SUBHEADING}),(null==er?void 0:er.shortUrl)&&(0,s.jsx)(b,{success:"Link sent successfully"}),(null==er?void 0:er.message)&&(0,s.jsx)(f.Z,{error:null==er?void 0:er.message}),(0,s.jsxs)("div",{className:"enach-container relative flex flex-col bottom-0",children:[(0,s.jsx)(m,{status:eo(),mobileNumber:r,onReload:ec,applicationReferenceNo:(null==t?void 0:t.applicationReferenceNo)||"",isLADSLEFeatureEnabled:V,children:(0,s.jsx)(o,{isQueryFlow:p,onResend:ed,title:F.RESEND_LINK,initialTimer:"PENDING"===eo()?15:0})}),(0,s.jsx)(j,{link:(null==er?void 0:er.shortUrl)?null==er?void 0:er.shortUrl:D.env.APP_URL?D.env.APP_URL+"/nach/autopay/login":w.Gi})]}),u&&("FAILURE"==eo()||"PROCESSING"==eo()||eo()==H.Ye.PENDING||eo()==H.Ye.SUCCESS)&&(0,s.jsxs)("div",{className:"absolute bottom-0 pb-5 flex items-center flex-row ",children:[(0,s.jsx)(N.Z,{type:"secondary",classNames:"mr-4 bottom-0 w-44",onClick:()=>{K(!0)},disabled:g,children:y.PHYSICAL_NACH_ALT}),(0,s.jsx)(N.Z,{type:"primary",onClick:eu,classNames:" bottom-0 w-44",children:y.CONTINUE})]}),!1===u&&"SUCCESS"===eo()&&(0,s.jsx)("div",{className:"absolute bottom-0 pb-5 flex items-center flex-row ",children:(0,s.jsx)(N.Z,{type:"primary",onClick:eu,classNames:" bottom-0 w-90",children:y.CONTINUE})}),O(K,Y,v.Z.physicalNachRoute,{...k.query,selectedNach:L},c.default.physicalNachTexts.SWITCH_TO_PHYSICAL_NACH.HEADER,c.default.physicalNachTexts.SWITCH_TO_PHYSICAL_NACH.SUBHEADER,c.default.physicalNachTexts.SWITCH_TO_PHYSICAL_NACH.ACTION),eo()===i.SUCCESS&&!A&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"pt-4",children:(0,s.jsx)(B,{img:d.Z.blueInfo,notificationContainerClasses:"bg-[#E9F3FD] border-none",messageClasses:"text-piramalBlue-100",showReactMessage:!0,reactMessage:V&&(0,h.F)((null==t?void 0:t.applicationReferenceNo)||"")?(0,s.jsx)(P,{}):(0,s.jsx)(T,{})})})})]})}},31887:function(e,t,n){n.d(t,{O9:function(){return r},iq:function(){return i}});let a={fontFamily:"Nunito-Bold"},r={COLORS_ORANGE:"#EC613D",COLORS_PIRAMAL_ORANGE_100_BASE:"#fa4616",COLORS_PIRAMAL_ORANGE_80:"#f26941",COLORS_PIRAMAL_ORANGE_60:"#f37e62",COLORS_PIRAMAL_ORANGE_90:"#FF663E",COLORS_PIRAMAL_ORANGE_95:"#F7714E",COLORS_PIRAMAL_ORANGE_110:"#F66F4B",COLORS_PIRAMAL_BLUE_100_BASE:"#253746",COLORS_PIRAMAL_WHITE_100:"#ffffff",COLORS_PIRAMAL_WHITE_110:"#e6e6e6",COLORS_PIRAMAL_WHITE_120:"#cccccc",COLORS_PIRAMAL_WHITE_130:"#b3b3b3",COLORS_PIRAMAL_WHITE_190:"#3b3b3b",COLORS_PIRAMAL_WHITE_180:"#D3D7DA",COLORS_BLURBLUE_10:"#222C2D",COLORS_PIRAMAL_WHITE_210:"#4C5C68",COLORS_PIRAMAL_WHITE_150:"#808080",COLORS_PIRAMAL_WHITE_170:"#4d4d4d",COLORS_PIRAMAL_WHITE_220:"#2E3D3E",COLORS_PIRAMAL_WHITE_200:"#000000",COLORS_ORANGE_0:"#ffffff",COLORS_ORANGE_10:"#ffede8",COLORS_ORANGE_20:"#fedad0",COLORS_ORANGE_200:"#000000",COLORS_ORANGE_300:"#EC613D",COLORS_LITE_ORANGE:"#FBCEC1",COLORS_GREEN_60:"#76cb84",COLORS_RED_100_BASE:"#e14046",COLORS_GREEN_100_BASE:"#1ba832",COLORS_YELLOW_100_BASE:"#f6c236",COLORS_BLUE_60:"#66aaea",COLORS_BLUE_40:"#E6F1FC",COLORS_CUSTOM_BACKGROUND_1:"#f5f5f5",COLOR_GRANDIENT_DUE_NOTIFICATION:["#cc4341","#d67d7d"],COLOR_TOPBAR:"#1d3449",COLORS_RED_60:"#ed8c90",COLORS_GREEN_90:"#32B147",COLORS_BLACK_90:"#2E3D3E",COLORS_BACKGROUND:"#E2E2E2",COLORS_BLACK_0:"#000000",Colors_Red_100:"#E14046",COLORS_RADIOBUTTON_BORDER:"#929BA3",COLORS_GRAY:"#929BA3",COLORS_PIRAMAL_GRAY_60:"#BEC3C8",COLORS_BLURBLUE_0:"#253746"},i={boldText:{fontSize:12,...a},bottomBg:{paddingTop:24,backgroundColor:"white"},bottomButton:{width:"100%",position:"absolute",bottom:0,backgroundColor:"white",paddingHorizontal:16},BorderBottomRF:{borderBottomColor:r.COLORS_PIRAMAL_WHITE_210,borderBottomWidth:1,borderBottomStyle:"solid",padding:16},textRF:{fontSize:14,color:r.COLORS_BLACK_90,paddingTop:4},errorMessageText:{fontSize:13,color:"#E14046",fontWeight:400,paddingTop:8,fontStyle:"italic"},buttonText:{fontSize:16,...a}}},23640:function(e,t,n){n.d(t,{t:function(){return s}});var a=n(18664),r=n(83454);let i=function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r={method:e,url:t,headers:n};return a&&(r.body=a),r},s={sendNachRequest:(e,t)=>
1{let n={apikey:r.env.NACH_NGINX_API_KEY,Environment:r.env.ENV_KEY,Authorization:"Bearer ".concat(t)};return i("post",a.T5.sendLink,n,e)},getEmandateStatus:(e,t)=>{let n={apikey:r.env.NACH_NGINX_API_KEY,Environment:r.env.ENV_KEY,Authorization:"Bearer ".concat(t)};return i("get","".concat(a.T5.emandateStatus,"/").concat(e),n)}}},94130:function(e,t,n){n.d(t,{S:function(){return m}});var a=n(87066),r=n(18664),i=n(13276),s=n(12552),l=n(83454);let o=async(e,t,n,i)=>{var o;let c=t?a.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):s.Z,d=await c.post("".concat(r.T5.downloadPhysicalNach,"/").concat(e),n,{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}}).catch(e=>(i(!1),e));if(200==d.status)return{fileBlob:d.data.fileBlob,fileName:"NACH MANDATE.pdf",format:".pdf"};throw null==d?void 0:null===(o=d.response)||void 0===o?void 0:o.data},c=async(e,t)=>{let n=e?a.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(e)}}):s.Z,i=await n.get("".concat(r.T5.downloadPhysicalNach,"/").concat(t),{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}});return null==i?void 0:i.data},d=async(e,t,n,i,o)=>{let c=n?a.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(n)}}):s.Z;return await c.put("".concat(r.T5.downloadPhysicalNach,"/document-upload/").concat(t||e),i,{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}}).catch(e=>(o(!1),e))};async function u(e,t){let n=t?a.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):s.Z;return(await n.get("".concat(r.T5.previewPhysicalNach).concat(e),{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}})).data}async function h(e,t){try{let n=t?a.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):s.Z;return(await n.post("".concat(r.T5.sendLink),{...e},{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}})).data}catch(e){throw Error("")}}let m=(0,i.W)({downloadNachFile:o,uploadNachFile:d,getPhysicalNachStatus:c,getDocumentsPreview:u,switchNach:h})},50821:function(e,t,n){n.d(t,{F:function(){return a},G:function(){return r}});let a=e=>!!e&&/^LADSSA.{6}LE\d+$/.test(e),r=(e,t,n)=>a(e)?n:t},70914:function(e,t,n){n.d(t,{OZ:function(){return s},UK:function(){return i},xj:function(){return l}});var a=n(96486),r=n.n(a);let i=e=>{var t,n;let a,r,i;a=null===(t=window.navigator)||void 0===t?void 0:t.userAgent,r=null===(n=window.location)||void 0===n?void 0:n.href,i=new URLSearchParams(window.location.search).get("id");let s={...e,userAgent:a,hostUrl:r};return i?{...s,orderId:i}:s},s=(e,t)=>{let{url:n="",data:a="",method:i}=r().get(e,"response.config",""),{status:s=""}=r().get(e,"response","");return{requestedUrl:n,payload:a,status:s,method:i,...t}},l=(e,t)=>
1({errorMessage:(null==e?void 0:e.message)?null==e?void 0:e.message:String(e),errorStack:(null==e?void 0:e.stack)?null==e?void 0:e.stack:null,errorName:(null==e?void 0:e.name)?null==e?void 0:e.name:null,fullError:JSON.stringify(e,(e=>{try{return e&&"object"==typeof e?Object.getOwnPropertyNames(e):void 0}catch(e){return}})(e)),...t})}}]);
2//# sourceMappingURL=3586.cf8a768e92be0040-fed.js.map

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.