1"use strict";(self.webpackChunkgatsby_web=self.webpackChunkgatsby_web||[]).push([[2671],{27357:function(e,t,l){var a=l(96540),n=l(65754);t.A=({text:e,textColor:t,tailwindStyle:l,children:r,render:o})=>{if(!1===o)return null;const i={color:t};return a.createElement("p",{id:n.Z6,style:i,className:`text-base //sm:text-base md:text-lg md:leading-5 //lg:text-2xl font-poppinsRegular ${l}`},e,r)}},45708:function(e,t,l){var a=l(96540),n=l(65944);t.A=({handleChange:e,value:t,tailwindStyle:l,required:r,name:o})=>a.createElement("input",{className:`${n.m8} my-auto self-center ${l}`,type:"checkbox",name:o,value:!0,checked:!0===t,onChange:e,required:r})},66244:function(e,t,l){l.d(t,{A:function(){return r}});var a=l(96540),n=l.p+"static/Loader-c57c027a1751bec8a92f744fb80889da.gif";var r=({isLoading:e=!0,tailwindStyle:t})=>e?a.createElement("img",{src:n,alt:"Loading...",className:t}):null},81239:function(e,t,l){var a=l(96540),n=l(65754);t.A=({text:e,textColor:t,tailwindStyle:l})=>a.createElement("p",{id:n.mW,style:{color:t},className:`text-xs sm:text-sm lg:text-base font-poppinsMedium ${l}`},e)},84562:function(e,t,l){var a=l(96540),n=l(65754);t.A=({text:e,textColor:t,tailwindStyle:l,children:r})=>{if(!e)return;const o={color:t};return a.createElement("p",{id:n.Sm,style:o,className:`text-base sm:text-lg md:text-xl font-poppinsMedium ${l}`},e,r)}},95468:function(e,t,l){l.d(t,{A:function(){return O}});var a=l(96540),n=l(24727);var r=({containerData:e,children:t})=>{const{backgroundImage:l}=e;return a.createElement("div",{className:"relative"},a.createElement(n.A,{img:l,tailwindStyle:"absolute left-0 top-0 w-full h-full"}),a.createElement("div",{className:"relative w-[90%] mx-auto pt-[22vw] sm:pt-[30vw] md:pt-[14vw] md:pb-[5vw]"},t))};var o=({headerData:e,tailwindStyle:t})=>a.createElement("div",{className:t},a.createElement("p",{className:`text-2xl leading-7 md:text-[3vw] lg:text-[4vw] lg:leading-[4.2vw] font-poppinsBold text-[${null==e?void 0:e.headingColor}] mb-3 md:mb-[2vw]`},null==e?void 0:e.heading),a.createElement("p",{className:`text-md leading-4 md:text-[2vw] lg:text-[1.5vw] lg:leading-[1.8vw] font-poppinsMedium lg:max-w-[40vw] text-[${null==e?void 0:e.descriptionColor}]`},null==e?void 0:e.description));var i=({children:e})=>a.createElement("div",{className:"flex flex-col md:flex-row justify-between gap-4 md:gap-[2vw] mt-4 md:mt-[2vw]"},e),d=l(24794),c=l(24942);var m=({linkButtonsData:e,keyword:t})=>{const{0:l,1:n}=(0,a.useState)(null);if(!e&&t)return null;const{activeBackgroundColor:r,activeLabelColor:o,backgroundColor:i,labelColor:m,links:u}=e,s=()=>{n(null)};return a.createElement("div",{className:"w-full md:w-[31%] h-fit flex flex-col bg-white rounded-lg md:rounded-[1vw] shadow-md"},null==u?void 0:u.map((e,v)=>{var x,b;const w=((e,t,a)=>(null==e?void 0:e.keyword)===t?{backgroundColor:r,color:o,borderRadius:"1vw"}:a===l?{backgroundColor:"#454DA0",color:"#FFFFFF"}
1:{backgroundColor:i,color:m,onmouseover:"color='#FFFFFF';backgroundColor='#454DA0'"})(e,t,v);return a.createElement(d.Link,{style:w,className:"w-full rounded-lg md:rounded-[1vw] p-2 md:py-[1vw] md:px-[2vw] text-xs sm:text:sm md:text-[1.2vw] md:leading-[1.4vw] font-poppinsSemibold "+(v!==(null==u?void 0:u.length)-1?"mb-1":"mb-0"),key:null==e?void 0:e.id,to:null!=e&&null!==(x=e.ifPdf)&&void 0!==x&&x.url?c.XV+(null==e||null===(b=e.ifPdf)||void 0===b?void 0:b.url):null==e?void 0:e.href,target:null==e?void 0:e.target,onMouseOver:()=>{n(v)},onMouseOut:s},null==e?void 0:e.label)}))},u=l(83740),s=l(60240);var v=({overviewData:e})=>{var t,l,n,r,o;let i=null==e||null===(t=e.points)||void 0===t||null===(l=t.data)||void 0===l||null===(n=l.points)||void 0===n?void 0:n.split("\n");const{0:d,1:c}=(0,a.useState)(!1);return a.createElement("div",null,a.createElement(u.A,{text:null==e?void 0:e.heading,textColor:null==e?void 0:e.headingColor,tailwindStyle:"my-3 md:my-[1vw]"}),(null==e?void 0:e.description)&&a.createElement(s.A,{text:null==e?void 0:e.description,textColor:null==e?void 0:e.descriptionColor,tailwindStyle:"mt-2 md:mt-[1vw]"}),(null==e||null===(r=e.points)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.points)&&a.createElement(a.Fragment,null,!d&&a.createElement(s.A,{text:i[0],textColor:null==e?void 0:e.descriptionColor,tailwindStyle:"mt-2 md:mt-[1vw]"}),d&&i.map((t,l)=>a.createElement(s.A,{key:l,text:t,textColor:e.descriptionColor,tailwindStyle:"mt-2 md:mt-[1vw]"})),a.createElement("div",{className:"flex justify-end mt-2"},d?a.createElement("div",{onClick:()=>{c(!1)},className:"text-red font-poppinsMedium text-lg"},"Read Less..."):a.createElement("div",{onClick:()=>{c(!0)},className:"text-red font-poppinsMedium text-lg"},"Read More..."))))},x=l(50905),b=l(27357),w=l(84562);var p=({tableData:e})=>{var t,l,n,r,o,i,d,c;return e?a.createElement("div",{className:""},a.createElement(x.A,{text:null==e?void 0:e.heading,textColor:null==e?void 0:e.headingColor,tailwindStyle:"my-3 md:my-[1vw] text-center"}),a.createElement("div",{className:"flex mt-3"},a.createElement(w.A,{text:null==e||null===(t=e.tabularData)||void 0===t||null===(l=t.tableHead)||void 0===l?void 0:l.field_1,textColor:null==e||null===(n=e.tabularData)||void 0===n?void 0:n.tableHeadTextColor,tailwindStyle:"text-center border-b border-t border-black w-[50%] py-3"}),a.createElement(w.A,{text:null==e||null===(r=e.tabularData)||void 0===r||null===(o=r.tableHead)||void 0===o?void 0:o.field_2,textColor:null==e||null===(i=e.tabularData)||void 0===i?void 0:i.tableHeadTextColor,tailwindStyle:"text-center border-b border-t border-black w-[50%] "})),a.createElement("div",null,null==e||null===(d=e.tabularData)||void 0===d||null===(c=d.tableBody)||void 0===c?void 0:c.map((t,l)=>{var n,r;return a.createElement("div",{className:"flex borber border-black"},a.createElement(b.A,{text:null==t?void 0:t.field_1,textColor:null==e||null===(n=e.tabularData)||void 0===n?void 0:n.tableBodyTextColor,tailwindStyle:"text-left border-b border-black w-[50%] p-2"}),a.createElement(b.A,{text:null==t?void 0:t.field_2,textColor:null==e||null===(r=e.tabularData)||void 0===r?void 0:r.tableBodyTextColor,tailwindStyle:"text-left border-b border-black w-[50%] p-2"}))}))):null};var E=({linkData:e})=>a.createElement("div",null,e.map((e,t)=>a.createElement("div",null,a.createElement("a",{href:null==e?void 0:e.href}," ",a.createElement(b.A,{text:null==e?void 0:e.label,textColor:null==e?void 0:e.labelColor,tailwindStyle:"py-2 2xl:py-[0.5vw]"}))))),h=l(76049);var y=({elem:e,isAuthorized:t,render:l})=>{var n;if(!1===l)return null;const r={background:`linear-gradient(to right, ${e.backgroundColor_1}, ${e.backgroundColor_2})`};return a.createElement("div",{className:"flex justify-center 2xl:py-[1vw] py-5"},a.createElement("button",{className:"rounded-full bg-gradient-to-r xs:px-3 lg:px-[1vw] xs:py-2 lg:py-[1vh] text-white font-bold",style:r,type:"submit"},a.createElement("div",{className:"flex flex-row text-xs lg:text-[1vw] lg:leading-[4vh] justify-between items-center"},a.createElement("p",null,e.label),a.createElement("img",{src:(0,c.ZX)(null==e||null===(n=e.icon)||void 0===n?void 0:n.url),alt:"btn",className:"xs:ml-2 lg:ml-[2vw] text-white lg:w-[0.6vw] h-[1em] "}))))};var f=({formLinkTextData:e})=>a.createElement("div",{className:"2xl:py-[1vw] py-3 2xl:text-[1vw] font-poppinsRegular text-md"},a.createElement("span",null,a.createElement("span",null,null==e?void 0:e.desc_1),a.createElement("span",null,null==e?void 0:e.linkDescription.map(e=>a.createElement("a",{href:e.href,className:`text-[${null==e?void 0:e.labelColor}]`},e.label))),a.createElement("span",null,null==e?void 0:e.desc_2))),A=l(11676),g=l(45708),N=l(26730);var k=({formValues:e,handleChange:t,stateList:l,authorizedText:n})=>a.createElement("div",{className:"font-poppinsRegular 2xl:text-[1vw] text-md"},a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Name:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.name,handleValue:t,inputType:"text",placeholder:"Enter Your Name *",required:!0,name:"name",minLength:3,maxLength:33}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Age:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.age,handleValue:t,inputType:"number",placeholder:"Enter Your Age *",required:!0,name:"age",minLength:1,maxLength:2}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Qualification:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.qualification,handleValue:t,inputType:"text",placeholder:"Enter Your Qualification *",required:!0,name:"qualification",minLength:2,maxLength:100}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Profession:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.profession,handleValue:t,inputType:"text",placeholder:"Enter Your Profession *",required:!0,name:"profession",minLength:2,maxLength:50}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Why are you interested:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.interest,handleValue:t,inputType:"text",placeholder:"Enter Your Interest *",required:!0,name:"interest",minLength:2,maxLength:350}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Location:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.location,handleValue:t,inputType:"text",placeholder:"Enter Your Location *",required:!0,name:"location",minLength:2,maxLength:256}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"State:")),a.createElement("div",{className:"w-[50%]"},a.createElement(N.A,{tailwindStyle:"backdrop-blur-xl bg-white/40 ",value:e.state,handleValue:t,required:!0,name:"state",data:{name:(null==l?void 0:l.placeholder)||"Select Your State *",options:null==l?void 0:l.options}}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Address:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.address,handleValue:t,inputType:"text",placeholder:"Enter Your Address *",required:!0,name:"address",minLength:2,maxLength:256}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Your Area Pincode:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.pincode,handleValue:t,inputType:"text",placeholder:"Enter Your Area Pincode *",required:!0,name:"pincode",minLength:6,maxLength:6}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement("div",{className:"w-[50%]"},a.createElement("label",null,"Contact No:")),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:e.contact,handleValue:t,inputType:"text",placeholder:"Enter Your Contact *",required:!0,name:"contact",minLength:10,maxLength:10}))),a.createElement("div",{className:"flex gap-[1vw] items-center 2xl:my-[0.5vw] my-2 md:my-[2vw]"},a.createElement(g.A,{required:!0,name:"isAuthorized",handleChange:t,value:null==e?void 0:e.isAuthorized,tailwindStyle:"//mt-[.5vw] lg:w-4 xl:w-[1vw] border-2 border-[#65C299]"}),a.createElement(b.A,{text:n,textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] "}," "))),C=l(19623),S=l(87715),D=l(66244);const B=["name","qualification","profession","interest"],L=["location","address"],T={age:2,contact:10,pincode:6};var _=({formData:e})=>{var t,l;const{0:n,1:r}=(0,a.useState)({name:"",age:"",qualification:"",profession:"",interest:"",location:"",address:"",contact:"",pincode:"",state:"",isAuthorized:!1}),[o,i]=a.useState(!1),d=async e=>{e.preventDefault();const t={name:null==n?void 0:n.name,age:null==n?void 0:n.age,qualification:null==n?void 0:n.qualification,profession:null==n?void 0:n.profession,reasonForInterest:null==n?void 0:n.interest,location:null==n?void 0:n.location,address:null==n?void 0:n.address,contactNo:null==n?void 0:n.contact,pincode:null==n?void 0:n.pincode,state:null==n?void 0:n.state};i(!0);try{var l;let e=await(0,C.bE)(S.Z8,t);var a;if(e=await e.json(),i(!1),200==(null===(l=e)||void 0===l?void 0:l.statusCode))alert(`Thank you ${n.name} for applying. Your reference number is ${null===(a=e)||void 0===a?void 0:a.data}. We will get back to you soon.`),r({name:"",age:"",qualification:"",profession:"",interest:"",location:"",address:"",contact:"",pincode:"",state:"",isAuthorized:!1})}catch(o){i(!1),alert("Something went wrong, Please try again.")}};return a.createElement("form",{onSubmit:d,className:"border-2 border-white rounded-md md:rounded-[4vw] 2xl:p-[1.5vw] p-4 2xl:my-[1vw]"},a.createElement(h.A,{text:null==e||null===(t=e.heading)||void 0===t?void 0:t.heading,textColor:null==e||null===(l=e.heading)||void 0===l?void 0:l.headingColor,tailwindStyle:"py-3"}),a.createElement(k,{formValues:n,authorizedText:null==e?void 0:e.authorizedText,stateList:null==e?void 0:e.stateList,handleChange:e=>{const{name:t,value:l,type:a,checked:o}=e.target;if("checkbox"===a)return void r({...n,[t]:o});let i=l;
1T[t]?i=l.replace(/\D/g,"").slice(0,T[t]):B.includes(t)?i=l.replace(/[^a-zA-Z\s]/g,""):L.includes(t)&&(i=l.replace(/[^a-zA-Z0-9/\s]/g,"")),r(e=>({...e,[t]:i}))}}),a.createElement(y,{elem:null==e?void 0:e.button,handleSubmit:d,render:!1===o}),a.createElement(D.A,{isLoading:o,tailwindStyle:"mx-auto md:my-[2vw]"}),a.createElement(f,{formLinkTextData:null==e?void 0:e.linkText}))};var q=({outreachBankingData:e})=>e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.overviewSection}),a.createElement(p,{tableData:null==e?void 0:e.table}),a.createElement(b.A,{text:null==e?void 0:e.tableBottomText,textColor:"#2A2A2A",tailwindStyle:"py-3"}),a.createElement(E,{linkData:null==e?void 0:e.links}),a.createElement(_,{formData:null==e?void 0:e.form})):null,z=l(81239);var V=({tableData:e})=>{var t,l,n,r,o,i,d,c,m,u,s,v,x;if(!e)return null;const w={position:"sticky",top:0,background:"#f3f4f6",zIndex:2};return a.createElement("div",{className:"mt-6 xl:mt-[2vw] bg-white overflow-x-auto "},a.createElement("div",{style:{maxHeight:"80vh",overflowY:"auto",width:"100%"}},a.createElement("table",{className:"//w-full table-fixed border border-black border-collapse //min-w-[1000px]"},a.createElement("thead",{className:"bg-gray-100"},a.createElement("tr",null,a.createElement("th",{style:w,className:"//w-[8%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(t=e.tableHead)||void 0===t?void 0:t.field_1,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[20%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(l=e.tableHead)||void 0===l?void 0:l.field_2,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[15%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(n=e.tableHead)||void 0===n?void 0:n.field_3,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[15%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(r=e.tableHead)||void 0===r?void 0:r.field_4,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(o=e.tableHead)||void 0===o?void 0:o.field_5,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(i=e.tableHead)||void 0===i?void 0:i.field_6,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(d=e.tableHead)||void 0===d?void 0:d.field_7,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(c=e.tableHead)||void 0===c?void 0:c.field_8,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(m=e.tableHead)||void 0===m?void 0:m.field_9,textColor:"#2A2A2A"})),a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(u=e.tableHead)||void 0===u?void 0:u.field_10,textColor:"#2A2A2A"})),(null==e||null===(s=e.tableHead)||void 0===s?void 0:s.field_11)&&a.createElement("th",{style:w,className:"//w-[14%] border border-black p-2 text-left"},a.createElement(z.A,{text:null==e||null===(v=e.tableHead)||void 0===v?void 0:v.field_11,textColor:"#2A2A2A"})))),a.createElement("tbody",null,null==e||null===(x=e.tableBody)||void 0===x?void 0:x.map((e,t)=>a.createElement("tr",{key:t},a.createElement("td",{className:"//w-[8%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_1,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[20%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_2,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[15%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_3,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[15%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_4,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_5,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_6,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_7,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_8,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_9,textColor:"#2A2A2A"})),a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_10,textColor:"#2A2A2A"})),(null==e?void 0:e.field_11)&&a.createElement("td",{className:"//w-[14%] border border-black p-2 text-left"},a.createElement(b.A,{text:null==e?void 0:e.field_11,textColor:"#2A2A2A"}))))))))};var F=({outreachBankingData:e})=>e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.overviewSection}),a.createElement(V,{tableData:null==e?void 0:e.table})):null;var H=({outreachBankingData:e})=>e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.overviewSection}),a.createElement(_,{formData:null==e?void 0:e.form})):null;var $=({outreachBankingData:e})=>e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.overviewSection})):null,Y=l(27573);var P=({outreachBankingData:e})=>e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.overviewSection}),a.createElement(u.A,{text:null==e?void 0:e.heading,textColor:null==e?void 0:e.headingColor,tailwindStyle:"my-3 md:my-[1vw] 2xl:my-[2vw]"}),a.createElement(Y.A,{faqsData:null==e?void 0:e.accordion})):null;var M=({category:e,authorizedText:t,form:l,handleChange:n,cityBranchData:r,branches:o})=>
1{const[i,d]=a.useState([]);return a.useEffect(()=>{var t;e=null===(t=e)||void 0===t?void 0:t.map(({text:e})=>({label:e,value:e})),d(e)},[]),a.createElement("div",{className:"w-full"},a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Name:",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:l.name,handleValue:n,inputType:"text",placeholder:"Enter Your Name *",required:!0,name:"name",minLength:3,maxLength:33}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Email:",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:l.email,handleValue:n,inputType:"email",placeholder:"Enter Your Email id *",required:!0,name:"email"}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Mobile Number:",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:l.phone,handleValue:n,inputType:"tel",placeholder:"Enter Your Mobile Number *",required:!0,name:"phone",minLength:10,maxLength:10}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Date of Birth:",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(A.A,{tailwindStyle:"backdrop-blur-xl bg-white/40",value:l.dob,handleValue:n,inputType:"date",placeholder:"Date of Birth *",required:!0,name:"dob"}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Select your City :",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(N.A,{tailwindStyle:"backdrop-blur-xl bg-white/40 ",value:null==l?void 0:l.city,handleValue:n,required:!1,name:"city",data:{name:null==r?void 0:r.placeholder,options:null==r?void 0:r.options}}))),a.createElement("div",{className:"flex 2xl:py-[1vw] py-2"},a.createElement(b.A,{text:"Select your Nearest Branch : :",textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] w-[50%] "}),a.createElement("div",{className:"w-[50%]"},a.createElement(N.A,{tailwindStyle:"backdrop-blur-xl bg-white/40 ",value:null==l?void 0:l.branch,handleValue:n,required:!1,name:"branch",data:{name:"Select Branch",options:o}}))),a.createElement("div",{className:"flex gap-[1vw] items-center 2xl:my-[0.5vw] my-2"},a.createElement(g.A,{required:!0,name:"isAuthorized",handleChange:n,value:null==l?void 0:l.isAuthorized,tailwindStyle:"//mt-[.5vw] lg:w-4 xl:w-[1vw] border-2 border-[#65C299]"}),a.createElement(b.A,{text:t,textColor:"#2A2A2A",tailwindStyle:"//xl:max-w-[25vw] "}," ")))},I=l(23864);var Z=({outreachBankingData:e,cityBranchData:t})=>{const{0:l,1:n}=(0,a.useState)({name:"",email:"",phone:"",dob:"",city:"",branch:"",isAuthorized:!1}),[r,o]=a.useState(!1),[i,d]=a.useState([]);return e?a.createElement("div",{className:"w-full md:w-[65%]"},a.createElement(v,{overviewData:null==e?void 0:e.heading}),a.createElement("form",{onSubmit:async e=>{e.preventDefault();const t=Object.values(l).some(e=>""===e),a=/^[6-9]\d{9}$/.test(null==l?void 0:l.phone);if(t)return void alert("Please fill in all fields before submitting");if(!a)return void alert("Please enter valid phone number");if(null==l||!l.isAuthorized)return void alert("Please authorize before submitting the form");const r={name:null==l?void 0:l.name,emailId:null==l?void 0:l.email,mobileNumber:null==l?void 0:l.phone,dateOfBirth:null==l?void 0:l.date,city:null==l?void 0:l.city,branch:null==l?void 0:l.branch,category:null==l?void 0:l.category,authorise:null==l?void 0:l.isAuthorized};o(!0);try{var i;let e=await(0,C.bE)(S.US,r);var d;if(e=await e.json(),o(!1),200==(null===(i=e)||void 0===i?void 0:i.statusCode))alert(`Thank you ${null==l?void 0:l.name} for applying. Your reference number is ${null===(d=e)||void 0===d?void 0:d.data}
1. We will get back to you soon.`),n({name:"",email:"",phone:"",dob:"",city:"",branch:"",isAuthorized:!1})}catch(c){o(!1),alert("Something went wrong, please try again.")}},className:"w-full 2xl:my-[2vw] my-6 border-2 rounded-md md:rounded-[2vw] md:px-[2vw] md:py-[1vw]"},a.createElement(M,{city:null==e?void 0:e.cityList,branch:null==e?void 0:e.branchList,category:null==e?void 0:e.categoryList,authorizedText:null==e?void 0:e.authorizedText,form:l,handleChange:e=>{let{name:t,value:a,type:r,checked:o}=e.target;var i,c;if("checkbox"!==r)if("city"===t)a=JSON.parse(a),d(null===(i=a)||void 0===i?void 0:i.branches),n({...l,[t]:null===(c=a)||void 0===c?void 0:c.city});else if("dob"===t)n({...l,[t]:a});else{(0,I.TT)(r,t,a)&&n({...l,[t]:a})}else n({...l,[t]:o})},cityBranchData:t,branches:i}),a.createElement(D.A,{isLoading:r,tailwindStyle:"mx-auto md:my-[2vw]"}),a.createElement(y,{elem:null==e?void 0:e.submitButton,isAuthorized:null==l?void 0:l.isAuthorized,render:!1===r}))):null},j=l(41358);var R=({outreachBankingData:e,containerData:t,linkButtonsData:l,keyword:n,cityBranchData:d})=>e?a.createElement(r,{containerData:t},a.createElement(o,{headerData:null==e?void 0:e.headerSection,tailwindStyle:"md:max-w-[80vw]"}),a.createElement(i,null,a.createElement(m,{linkButtonsData:l,keyword:n}),((e,t,l)=>{switch(e){case j.lvS:return a.createElement(q,{outreachBankingData:t});case j.$dc:return a.createElement(F,{outreachBankingData:t});case j.FHP:return a.createElement(H,{outreachBankingData:t});case j.TKs:return a.createElement($,{outreachBankingData:t});case j.Z3g:return a.createElement(P,{outreachBankingData:t});case j.f1V:return a.createElement(Z,{outreachBankingData:t,cityBranchData:l})}})(n,e,d))):null;var O=({keyword:e})=>{const{data:t,cityBranchData:l}=(()=>{var e,t,l,a,n,r,o,i;const c=(0,d.useStaticQuery)("338013346");return{data:(null===(e=c.allStrapiGetInTouch)||void 0===e||null===(t=e.nodes)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.keyword)===j.px$))||(null===(l=c.allStrapiGetInTouch)||void 0===l||null===(a=l.nodes)||void 0===a?void 0:a[0]),cityBranchData:null===(n=c.allStrapiForm)||void 0===n||null===(r=n.nodes)||void 0===r||null===(o=r.find(e=>(null==e?void 0:e.keyword)===j.ZdT))||void 0===o||null===(i=o.formSection)||void 0===i?void 0:i.cityBranchSection}})(),{backgroundImage:n,linkButtonsSection:r,outreachBanking:o,pointOfPresence:i,equitasBC:c,bcProducts:m,grievanceRedressal:u,outreachForm:s}=t,v={backgroundImage:n};return a.createElement(a.Fragment,null,a.createElement(R,{outreachBankingData:(e=>{switch(e){case j.lvS:return o;case j.$dc:return i;case j.FHP:return c;case j.TKs:return m;case j.Z3g:return u;case j.f1V:return s}})(e),containerData:v,linkButtonsData:r,keyword:e,cityBranchData:l}))}}}]); 2//# sourceMappingURL=207b4b17d4f992f5803ef191088fe98848b8720b-72c19a6777b02bc6912c.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.