PageSourceSearch

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

js piramalfinance.com collected 2026-09-24 12:10:17 UTC 5,347 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknachApp=self.webpackChunknachApp||[]).push([[131],{50131:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});var i=a(85893),n=a(4065),o=a(25675),r=a.n(o),l=a(35329);let d=e=>{let{title:t,isSelected:a,onPress:n,bgColor:o}=e;return Object.keys(l.Z).length>0?(0,i.jsx)("div",{onClick:n,style:{backgroundColor:"white",alignSelf:"center"},children:(0,i.jsxs)("div",{className:"flex h-14",children:[(0,i.jsxs)("div",{style:{width:"15%"},children:[(0,i.jsx)("div",{style:{position:"absolute",borderColor:"#F66F4B",borderTopLeftRadius:6,height:38,width:38,borderTopWidth:1.2,borderTopStyle:"solid",borderLeftWidth:1.2,borderLeftStyle:"solid"}}),(0,i.jsx)("div",{style:{position:"absolute",borderColor:"#F66F4B",borderBottomRightRadius:6,height:38,width:38,borderRightWidth:1.2,borderRightStyle:"solid",borderBottomWidth:1.2,borderBottomStyle:"solid",margin:16}}),(0,i.jsx)("div",{style:{padding:5},children:(0,i.jsx)("div",{style:{height:42,padding:8,width:40,backgroundColor:o,borderRadius:5,marginLeft:2},children:(0,i.jsx)(r(),{unoptimized:!0,src:l.Z.pinLink,height:"40",width:"40",alt:"pin icon"})})})]}),(0,i.jsxs)("div",{style:{width:"80%",borderTopWidth:1.2,borderTopStyle:"solid",borderRightWidth:1.2,borderRightStyle:"solid",borderBottomWidth:1.2,borderBottomStyle:"solid",borderTopRightRadius:6,borderBottomRightRadius:6,marginLeft:12,display:"flex",borderColor:"#4C5C68",flexDirection:"row"},children:[(0,i.jsx)("div",{className:"flex items-center w-full",children:(0,i.jsx)("div",{className:"nunito-Light flex pl-2.5",children:(0,i.jsxs)("div",{className:"nunito-Regular line-clamp-2 text-sm font-normal capitalize w-52",style:{color:"#2E3D3E"},children:[" ",t]})})}),(0,i.jsx)("div",{className:"flex justify-end items-center pr-4",children:a?(0,i.jsx)("img",{className:"w-6",src:l.Z.tick,alt:"pin icon"}):null})]})]})}):null};var s=a(54410),c=a(20646),h=a(42598),u=a(49693),p=a(94130),m=a(31955),N=a(32837),v=a(62025);let y=(e,t,a,n,o)=>(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"leading-4 text-md text-black nunito-Regular mb-4",children:c.default.physicalNachTexts.FILES}),(0,i.jsx)("div",{className:"leading-4 text-xs text-gray-50 nunito-Regular mb-4",children:c.default.physicalNachTexts.FILES_SUBTEXT}),t.map((t,n)=>(0,i.jsx)("div",{className:"pt-4 pb-2 relative",children:(0,i.jsx)(d,{image:l.Z.eSignDoc,title:t.documentName?t.documentName:"",isSelected:!1,bgColor:"#FFEDE8",image1:l.Z.pinLink,onDelete:()=>a(t),onPress:()=>e()})},n)),(0,i.jsx)(s.Z,{type:"primary",onClick:()=>o(),classNames:"w-11/12 h-12 absolute py-0 px-4 bottom-4 shareButtonBorder text-sm  rounded-xl nunito",children:c.default.physicalNachTexts.CONTINUE})]});var b=e=>{var t,a,i;let{logger:o}=(0,v.Z)(N.eA),r=(0,h.useRouter)(),l=Object.fromEntries(new URLSearchParams(window.location.search).entries()),[d,s]=(0,n.useState)(),c=m.Z.get("physicalNachDocumentId");localStorage.getItem("device");let b=async()=>{s(await p.S.getDocumentsPreview(c,e.token))};return(0,n.useEffect)(()=>{b()},[]),y(()=>{r.push({pathname:"/loanApplicationFlow/documentFlow/previewPage",query:{prop:c}})},[{documentName:null!==(t=null==d?void 0:d.fileName)&&void 0!==t?t:"NACH MANDATE",documentCategory:"NACH",documentType:null!==(a=null==d?void 0:d.fileExtension)&&void 0!==a?a:".pdf",documentStorageId:null!==(i=null==d?void 0:d.dssDocId)&&void 0!==i?i:"0"}],()=>{},b,()=>{r.push({pathname:u.Z.physicalNachStatus,query:{id:null==l?void 0:l.id,autopayType:r.query.autopayType}})})}},94130:function(e,t,a){a.d(t,{S:function(){return p}});var i=a(87066),n=a(18664),o=a(13276),r=a(12552),l=a(83454);let d=async(e,t,a,o)=>{var d;let s=t?i.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):r.Z,c=await s.post("".concat(n.T5.downloadPhysicalNach,"/").concat(e),a,{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}}).catch(e=>(o(!1),e));if(200==c.status)return{fileBlob:c.data.fileBlob,fileName:"NACH MANDATE.pdf",format:".pdf"};throw null==c?void 0:null===(d=c.response)||void 0===d?void 0:d.data},s=async(e,t)=>{let a=e?i.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(e)}}):r.Z,o=await a.get("".concat(n.T5.downloadPhysicalNach,"/").concat(t),{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}});return null==o?void 0:o.data},c=async(e,t,a,o,d)=>{let s=a?i.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(a)}}):r.Z;return await s.put("".concat(n.T5.downloadPhysicalNach,"/document-upload/").concat(t||e),o,{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}}).catch(e=>(d(!1),e))};async function h(e,t){let a=t?i.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):r.Z;return(await a.get("".concat(n.T5.previewPhysicalNach).concat(e),{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}})).data}async function u(e,t){try{let a=t?i.Z.create({baseURL:l.env.NGINX_API_URL,headers:{Authorization:"Bearer ".concat(t)}}):r.Z;return(await a.post("".concat(n.T5.sendLink),{...e},{headers:{apikey:l.env.NACH_NGINX_API_KEY,Environment:l.env.ENV_KEY}})).data}catch(e){throw Error("")}}let p=(0,o.W)({downloadNachFile:d,uploadNachFile:c,getPhysicalNachStatus:s,getDocumentsPreview:h,switchNach:u})}}]);
2//# sourceMappingURL=131.d71ac2ad577cb7f6-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.