1(this["webpackJsonpskote-react-hook"]=this["webpackJsonpskote-react-hook"]||[]).push([[0],{281:function(e){e.exports=JSON.parse('{"Mega Menu":"Mega-Men\xfc","Search":"Suche","Menu":"Speisekarte","Dashboards":"Dashboards","Dashboard":"Dashboard","Default":"Standard","Saas":"Sass","Crypto":"Krypto","Apps":"Apps","Calendar":"Kalender","New":"Neu","Chat":"Plaudern","Ecommerce":"E-Commerce","Products":"Produkte","Product Detail":"Produktdetail","Customers":"Kunden","Cart":"Wagen","Checkout":"Auschecken","Shops":"Gesch\xe4fte","Add Product":"Produkt hinzuf\xfcgen","Wallet":"Brieftasche","Buy/Sell":"Kaufen Verkaufen","Exchange":"Austausch","Lending":"Ausleihe","Orders":"Auftr\xe4ge","KYC Application":"KYC-Anwendung","ICO Landing":"ICO Landung","Email":"Email","Inbox":"Posteingang","Read Email":"E-Mail lesen","Invoices":"Rechnungen","Invoice List":"Rechnungsliste","Invoice Detail":"Rechnungsdetail","Projects":"Projekte","Projects Grid":"Projektraster","Projects List":"Projektliste","Project Overview":"Projekt\xfcbersicht","Create New":"Erstelle neu","Tasks":"Aufgaben","Task List":"Aufgabenliste","Kanban Board":"Kanban Board","Create Task":"Aufgabe erstellen","Blog":"Blog","File Manager":"Dateimanager","Blog List":"Blog-Liste","Blog Grid":"Blog-Raster","Blog Details":"Blog-Details","Templates":"Vorlage","Basic Action":"Grundlegende Aktion","Alert Email":"Benachrichtigungs-E-Mail","Billing Email":"Abrechnung per E-Mail","Login 2":"Anmeldung 2","Register 2":"Registrieren 2","Recover Password":"Passwort wiederherstellen","Recover Password 2":"Passwort wiederherstellen 2","Lock Screen 2":"Bildschirm sperren 2","Confirm Mail":"Mail best\xe4tigen","Confirm Mail 2":"Mail best\xe4tigen 2","Email verification":"E-Mail-Verifizierung","Email verification 2":"E-Mail-Verifizierung 2","Two step verification":"\xdcberpr\xfcfung in zwei Schritten","Two step verification 2":"\xdcberpr\xfcfung in zwei Schritten 2","Contacts":"Kontakte","User Grid":"User Grid","User List":"Benutzerliste","Profile":"Profil","Authentication":"Authentifizierung","Login":"Anmeldung","Register":"Registrieren","Forget Password":"Passwort vergessen","Utility":"N\xfctzlichkeit","Starter Page":"Startseite","Maintenance":"Instandhaltung","Coming Soon":"Demn\xe4chst","Timeline":"Zeitleiste","FAQs":"FAQs","Pricing":"Preisgestaltung","Error 404":"Fehler 404","Error 500":"Fehler 500","Components":"Komponenten","UI Elements":"UI-Elemente","Alerts":"Warnungen","Buttons":"Tasten","Cards":"Karten","Carousel":"Karussell","Dropdowns":"Dropdowns","Grid":"Gitter","Images":"Bilder","Lightbox":"Leuchtkasten","Placeholders":"Platzhalter","OffCanvas":"OffCanvas","Toasts":"Toasts","Modals":"Modale","Range Slider":"Range Slider","Session Timeout":"Session-Timeout","Progress Bars":"Fortschrittsbalken","Sweet-Alert":"Sweet-Alert","Tabs & Accordions":"Tabs & Akkordeons","Typography":"Typografie","Video":"Video","General":"Allgemeines","Colors":"Farben","Rating":"Bewertung","Notifications":"Benachrichtigungen","Image Cropper":"Bild Cropper","Forms":"Formen","Form Elements":"Formularelemente","Form Layouts":"Formularlayout","Form Validation":"Formularvalidierung","Form Advanced":"Formular erweitert","Form Editors":"Formulareditoren","Form File Upload":"Hochladen von Formulardateien","Form Xeditable":"Formular Xeditable","Form Repeater":"Form Repeater","Form Wizard":"Formzauberer","Form Mask":"Formularmaske","Tables":"Tabellen","Basic Tables":"Grundtabellen","Data Tables":"Datentabellen","Responsive Table":"Antworttabelle","Editable Table":"Bearbeitbare Tabelle","Charts":"Diagramme","Apex charts":"Apex-Diagramme","Chartist Chart":"Chartist Diagramm","Chartjs Chart":"Chartjs Diagramm","E Chart":"E Diagramm","Sparkline Chart":"Sparkline-Diagramm","Toast UI Chart":"Toast UI Chart","Icons":"Symbole","Boxicons":"Boxicons","Material Design":"Material Design","Dripicons":"Dripicons","Font awesome":"Schriftart fantastisch","Maps":"Karten","Google Maps":"Google Maps","Vector Maps":"Vektorkarten","Level 1.1":"Stufe 1.1","Multi Level":"Multi Level","Level 1.2":"Stufe 1.2","Level 2.1":"Stufe 2.1","Level 2.2":"Stufe 2.2","My Wallet":"Bildschirm sperren","Settings":"die Einstellungen","Lock Screen":"Bildschirm sperren","Logout":"Ausloggen","View all":"Alle ansehen","Your order is placed":"Ihre Bestellung wird aufgegeben","If several languages coalesce the grammar":"Wenn mehrere Sprachen die Grammatik verschmelzen","3 min ago":"Vor 3 min","It will seem like simplified English":"Es wird wie vereinfachtes Englisch erscheinen","1 hours ago":"Vor 1 Stunde","Your item is shipped":"Ihr Artikel wird versendet","As a skeptical Cambridge friend of mine occidental":"","UI Components":"UI-Komponenten","Applications":"Anwendungen","Extra Pages":"Zus\xe4tzliche Seiten","Horizontal layout":"Horizontales Layout","Light Sidebar":"Leichte Seitenleiste","Compact Sidebar":"Kompakte Seitenleiste"}')},282:function(e){e.exports=JSON.parse('{"Mega Menu":"Mega Menu","Search":"Ricerca","Menu":"Men\xf9","Dashboards":"cruscotti","Dashboard":"Pannello di controllo","Default":"Predefinita","Saas":"Sass","Crypto":"Crypto","Apps":"applicazioni","Calendar":"Calendario","New":"Nuova","Chat":"Chiacchierare","Ecommerce":"ecommerce","Products":"Prodotti","Product Detail":"Dettagli del prodotto","Customers":"I clienti","Cart":"Carrello","Checkout":"Check-out","Shops":"negozi","Add Product":"Aggiungi prodotto","Wallet":"Portafoglio","Buy/Sell":"C
1omprare vendere","Exchange":"Scambio","Lending":"prestito","Blog":"Blog","File Manager":"File Manager","Blog List":"Elenco blog","Blog Grid":"Blog Grid","Blog Details":"Dettagli del blog","Template":"Modella","Basic Action":"Azione di base","Alert Email":"Email di avviso","Billing Email":"Email di fatturazione","Login 2":"Accedi 2","Register 2":"Registrati 2","Recover Password":"Recupera la password","Recover Password 2":"Recupera password 2","Lock Screen 2":"Schermata di blocco 2","Confirm Mail":"Conferma posta","Confirm Mail 2":"Conferma posta 2","Email verification":"Verifica email","Email verification 2":"Verifica email 2","Two step verification":"Verifica in due passaggi","Two step verification 2":"Verifica in due passaggi 2","Orders":"Ordini","KYC Application":"Applicazione KYC","ICO Landing":"Atterraggio ICO","Email":"E-mail","Read Email":"Leggi l\'email","Inbox":"Posta in arrivo","Invoices":"Fatture","Invoice List":"Elenco fatture","Invoice Detail":"Dettaglio fattura","Projects":"progetti","Projects Grid":"Griglia dei progetti","Projects List":"Elenco dei progetti","Project Overview":"Panoramica del progetto","Create New":"Creare nuovo","Tasks":"Compiti","Task List":"Elenco delle attivit\xe0","Kanban Board":"Kanban Board","Create Task":"Crea attivit\xe0","Contacts":"Contatti","User Grid":"Griglia utente","User List":"lista degli utenti","Profile":"Profilo","Authentication":"Autenticazione","Login":"Accesso","Register":"Registrati","Forget Password":"Dimenticare la password","Utility":"Utilit\xe0","Starter Page":"Pagina iniziale","Maintenance":"Manutenzione","Coming Soon":"Prossimamente","Timeline":"Sequenza temporale","FAQs":"FAQs","Pricing":"Prezzi","Error 404":"Errore 404","Error 500":"Errore 500","Components":"componenti","UI Elements":"Elementi dell\'interfaccia utente","Alerts":"avvisi","Buttons":"pulsanti","Cards":"Carte","Carousel":"Giostra","Dropdowns":"menu a discesa","Grid":"Griglia","Images":"immagini","Lightbox":"ID","Placeholders":"segnaposto","OffCanvas":"Fuori tela","Toasts":"brindisi","Modals":"Modals","Range Slider":"Cursore gamma","Session Timeout":"Timeout della sessione","Progress Bars":"Indicatori di stato","Sweet-Alert":"Sweet-Alert","Tabs & Accordions":"Schede e fisarmoniche","Typography":"Tipografia","Video":"Video","General":"Generale","Colors":"Colori","Rating":"Valutazione","Notifications":"notifiche","Image Cropper":"Image Cropper","Forms":"Le forme","Form Elements":"Elementi della forma","Form Validation":"Convalida del modulo","Form Advanced":"Modulo avanzato","Form Layouts":"Layout del modulo","Form Editors":"Redattori di moduli","Form File Upload":"Caricamento file modulo","Form Xeditable":"Modulo Xeditable","Form Repeater":"Ripetitore di moduli","Form Wizard":"Procedura guidata modulo","Form Mask":"Maschera di forma","Tables":"tabelle","Basic Tables":"Tabelle di base","Data Tables":"Tabelle dati","Responsive Table":"Tabella reattiva","Editable Table":"Tabella modificabile","Charts":"Grafici","Apex charts":"Grafici apicali","Chartist Chart":"Chart Chartist","Chartjs Chart":"Grafico di Chartjs","E Chart":"E Chart","Sparkline Chart":"Grafico sparkline","Toast UI Chart":"Grafico dell\'interfaccia utente di Toast","Icons":"Icone","Boxicons":"Boxicons","Material Design":"Design materiale","Dripicons":"Dripicons","Font awesome":"Carattere fantastico","Maps":"Mappe","Google Maps":"Google Maps","Vector Maps":"Mappe vettoriali","Level 1.1":"Livello 1.1","Multi Level":"Multi livello","Level 1.2":"Livello 1.2","Level 2.1":"Livello 2.1","Level 2.2":"Livello 2.2","My Wallet":"Il mio portafoglio","Settings":"impostazioni","Lock screen":"Blocca schermo","Logout":"Disconnettersi","View all":"Mostra tutto","Your order is placed":"Il tuo ordine \xe8 stato effettuato","If several languages coalesce the grammar":"Se diverse lingue fondono la grammatica","3 min ago":"3 min fa","It will seem like simplified English":"Sembrer\xe0 un inglese semplificato","1 hours ago":"1 ora fa","Your item is shipped":"Il tuo articolo viene spedito","As a skeptical Cambridge friend of mine occidental":"Come un mio scettico amico di Cambridge occidentale","UI Components":"Componenti dell\'interfaccia utente","Applications":"applicazioni","Extra Pages":"Pagine extra","Horizontal layout":"Layout orizzontale","Light Sidebar":"Barra laterale leggera","Compact Sidebar":"Barra laterale compatta"}')},283:function(e){e.exports=JSON.parse('{"Mega Menu":"\u041c\u0435\u0433\u0430 \u041c\u0435\u043d\u044e","Search":"\u041f\u043e\u0438\u0441\u043a","Menu":"Menu","Dashboards":"\u0421\u0432\u043e\u0434\u043a\u0438","Dashboard":"\u041f\u0440\u0438\u0431\u043e\u0440\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c","Default":"\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","Saas":"\u0441\u0430\u0430\u0441","Crypto":"\u043a\u0440\u0438\u043f\u0442\u043e-","Apps":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b","New":"Nuova","Calendar":"\u
1041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c","Chat":"\u0427\u0430\u0442","Ecommerce":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u044f","Products":"\u0422\u043e\u0432\u0430\u0440\u044b","Product Detail":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0435","Orders":"\u0437\u0430\u043a\u0430\u0437\u044b","Customers":"\u041a\u043b\u0438\u0435\u043d\u0442\u044b","Cart":"\u0442\u0435\u043b\u0435\u0433\u0430","Checkout":"\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u0432\u044b\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f","Shops":"\u041c\u0430\u0433\u0430\u0437\u0438\u043d\u044b","Add Product":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442","Blog":"\u0411\u043b\u043e\u0433","File Manager":"\u0424\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440","Blog List":"\u0421\u043f\u0438\u0441\u043e\u043a \u0431\u043b\u043e\u0433\u043e\u0432","Blog Grid":"\u0411\u043b\u043e\u0433 \u0421\u0435\u0442\u043a\u0430","Blog Details":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0431\u043b\u043e\u0433\u0430","Templates":"\u0428\u0430\u0431\u043b\u043e\u043d","Basic Action":"\u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435","Alert Email":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u0435","Billing Email":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430 \u0434\u043b\u044f \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0447\u0435\u0442\u043e\u0432","Login 2":"\u041b\u043e\u0433\u0438\u043d 2","Register 2":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440 2","Recover Password":"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","Recover Password 2":"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c 2","Lock Screen 2":"\u042d\u043a\u0440\u0430\u043d \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 2","Confirm Mail":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u0443","Confirm Mail 2":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u0443 2","Email verification":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b","Email verification 2":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b 2","Two step verification":"\u0414\u0432\u0443\u0445\u044d\u0442\u0430\u043f\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430","Two step verification 2":"\u0414\u0432\u0443\u0445\u044d\u0442\u0430\u043f\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 2","Wallet":"\u0411\u0443\u043c\u0430\u0436\u043d\u0438\u043a","Buy/Sell":"\u041a\u0443\u043f\u0438 \u043f\u0440\u043e\u0434\u0430\u0439","Exchange":"\u043e\u0431\u043c\u0435\u043d","Lending":"\u043a\u0440\u0435\u0434\u0438\u0442\u043e\u0432\u0430\u043d\u0438\u0435","KYC Application":"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 KYC","ICO Landing":"ICO Landing","Email":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e","Read Email":"\u0427\u0438\u0442\u0430\u0442\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0443\u044e \u043f\u043e\u0447\u0442\u0443","Inbox":"\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435","Invoices":"\u0421\u0447\u0435\u0442\u0430-\u0444\u0430\u043a\u0442\u0443\u0440\u044b","Invoice List":"\u
10421\u043f\u0438\u0441\u043e\u043a \u0441\u0447\u0435\u0442\u043e\u0432","Invoice Detail":"\u0414\u0435\u0442\u0430\u043b\u044c \u0441\u0447\u0435\u0442\u0430","Projects":"\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","Projects Grid":"\u0421\u0435\u0442\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","Projects List":"\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","Project Overview":"\u041e\u0431\u0437\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430","Create New":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u043e\u0435","Tasks":"\u0417\u0430\u0434\u0430\u043d\u0438\u044f","Task List":"\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u043d\u0438\u0439","Kanban Board":"\u041a\u0430\u043d\u0431\u0430\u043d \u041f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435","Create Task":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443","Contacts":"\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b","User Grid":"\u0421\u0435\u0442\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","User List":"\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","Profile":"\u041f\u0440\u043e\u0444\u0438\u043b\u044c","Authentication":"\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f","Login":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f","Register":"\u0440\u0435\u0433\u0438\u0441\u0442\u0440","Forget Password":"\u0417\u0430\u0431\u044b\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","Utility":"\u0423\u0442\u0438\u043b\u0438\u0442\u0430","Starter Page":"\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Maintenance":"\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435","Coming Soon":"\u0421\u043a\u043e\u0440\u043e \u0431\u0443\u0434\u0435\u0442","Timeline":"\u041b\u0435\u043d\u0442\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439","FAQs":"\u0412\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0442\u0432\u0435\u0442\u044b","Pricing":"\u0446\u0435\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435","Error 404":"\u041e\u0448\u0438\u0431\u043a\u0430 404","Error 500":"\u041e\u0448\u0438\u0431\u043a\u0430 500","Components":"\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b","UI Elements":"\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430","Alerts":"\u041e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f","Buttons":"\u041a\u043d\u043e\u043f\u043a\u0438","Cards":"\u041e\u0442\u043a\u0440\u044b\u0442\u043a\u0438","Carousel":"\u043a\u0430\u0440\u0443\u0441\u0435\u043b\u044c","Dropdowns":"Dropdowns","Grid":"\u0441\u0435\u0442\u043a\u0430","Images":"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438","Lightbox":"Lightbox","Placeholders":"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0438","OffCanvas":"OffCanvas","Toasts":"\u0422\u043e\u0441\u0442\u044b","Modals":"\u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438","Range Slider":"\u041f\u043e\u043b\u0437\u0443\u043d\u043e\u043a \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430","Session Timeout":"\u0422\u0430\u0439\u043c-\u0430\u0443\u0442 \u0441\u0435\u0430\u043d\u0441\u0430","Progress Bars":"\u041f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 \u0411\u0430\u0440\u044b","Sweet-Alert":"Sweet-\u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u0435","Tabs & Accordions":"\u0412\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u0410\u043a\u043a\u043e\u0440\u0434\u0435\u043e\u043d\u044b","Typography":"\u0422\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0438\u044f","Video":"\u0432\u0438\u0434\u0435\u043e","General":"\u0433\u0435\u043d\u0435\u0440\u0430\u043b\u044c\u043d\u044b\u0439","Colors":"\u0426\u0432\u0435\u0442\u0430","Rating":"\u
10420\u0435\u0439\u0442\u0438\u043d\u0433","Notifications":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f","Image Cropper":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u041a\u0440\u043e\u043f\u043f\u0435\u0440","Forms":"\u0444\u043e\u0440\u043c\u044b","Form Elements":"\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c\u044b","Form Validation":"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u043e\u0440\u043c\u044b","Form Advanced":"\u0424\u043e\u0440\u043c\u0430 Advanced","Form Editors":"\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u0444\u043e\u0440\u043c","Form File Upload":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0444\u043e\u0440\u043c\u044b","Form Layouts":"\u041c\u0430\u043a\u0435\u0442 \u0444\u043e\u0440\u043c\u044b","Form Xeditable":"\u0424\u043e\u0440\u043c\u0430 Xeditable","Form Repeater":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435\u043b\u044c \u0444\u043e\u0440\u043c\u044b","Form Wizard":"\u041c\u0430\u0441\u0442\u0435\u0440 \u0444\u043e\u0440\u043c","Form Mask":"\u0424\u043e\u0440\u043c\u0430 \u041c\u0430\u0441\u043a\u0430","Tables":"\u0442\u0430\u0431\u043b\u0438\u0446\u044b","Basic Tables":"\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b","Data Tables":"\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u0430\u043d\u043d\u044b\u0445","Responsive Table":"\u041e\u0442\u0437\u044b\u0432\u0447\u0438\u0432\u044b\u0439 \u0441\u0442\u043e\u043b","Editable Table":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430","Charts":"\u0413\u0440\u0430\u0444\u0438\u043a\u0438","Apex charts":"\u0410\u043f\u0435\u043a\u0441 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b","Chartist Chart":"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0447\u0430\u0440\u0442\u0438\u0441\u0442\u0430","Chartjs Chart":"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 Chartjs","E Chart":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430","Sparkline Chart":"Sparkline Chart","Toast UI Chart":"\u0422\u043e\u0441\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441","Icons":"\u0418\u043a\u043e\u043d\u043a\u0438","Boxicons":"\u0411\u043e\u043a\u0441\u0438\u043a\u043e\u043d\u044b","Material Design":"\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0414\u0438\u0437\u0430\u0439\u043d","Dripicons":"Dripicons","Font awesome":"\u0428\u0440\u0438\u0444\u0442 \u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0438\u0439","Maps":"\u041a\u0430\u0440\u0442\u044b","Google Maps":"\u041a\u0430\u0440\u0442\u044b \u0413\u0443\u0433\u043b","Vector Maps":"\u0412\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b","Level 1.1":"\u0423\u0440\u043e\u0432\u0435\u043d\u044c 1.1","Multi Level":"\u041c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439","Level 1.2":"\u0423\u0440\u043e\u0432\u0435\u043d\u044c 1.2","Level 2.1":"\u0423\u0440\u043e\u0432\u0435\u043d\u044c 2.1","Level 2.2":"\u0423\u0440\u043e\u0432\u0435\u043d\u044c 2.2","My Wallet":"\u041c\u043e\u0439 \u0431\u0443\u043c\u0430\u0436\u043d\u0438\u043a","Settings":"\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","Lock screen":"\u042d\u043a\u0440\u0430\u043d \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438","Logout":"\u0412\u044b\u0439\u0442\u0438","View all":"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435","Your order is placed":"\u0412\u0430\u0448 \u0437\u0430\u043a\u0430\u0437 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d","If several languages coalesce the grammar":"\u0415\u0441\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0437\u044b\u043a\u043e\u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442 \u0433\u0440\u0430\u043c\u043c\u0430\u0442\u0438\u043a\u0443","3 min ago":"3 \u043c\u0438\u043d. \u041d\u0430\u0437\u0430\u0434","It will seem like simplified English":"\u042d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439","1 hours ago":"1 \u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434","Your item is shipped":"\u0412\u0430\u0448 \u0442\u043e\u0432\u0430\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d","As a skeptical Cambridge friend of mine occidental":"\u041a\u0430\u043a \u0441\u043a\u0435\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u0439 \u0434\u0440\u0443\u0433 \u0438\u0437 \u041a\u0435\u043c\u0431\u0440\u0438\u0434\u0436\u0430","UI Components":"UI \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b","Applications":"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f","Extra Pages":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b","Horizontal layout":"\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435","Light Sidebar":"\u041b\u
10435\u0433\u043a\u0430\u044f \u0431\u043e\u043a\u043e\u0432\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c","Compact Sidebar":"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f \u0431\u043e\u043a\u043e\u0432\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c"}')},284:function(e){e.exports=JSON.parse('{"Mega Menu":"Mega men\xfa","Search":"Buscar","Menu":"Men\xfa","Dashboards":"Cuadros de mando","Dashboard":"Tablero","Default":"Defecto","Saas":"Saas","Crypto":"Cripto","Apps":"Aplicaciones","Calendar":"Calendario","New":"Nuova","Chat":"Charla","Products":"Productos","Ecommerce":"Comercio electr\xf3nico","Product Detail":"Detalle del producto","Orders":"Pedidos","Customers":"Clientes","Cart":"Carro","Checkout":"Revisa","Shops":"Tiendas","Add Product":"A\xf1adir Producto","Wallet":"Billetera","Buy/Sell":"Compra venta","Blog":"Blog","File Manager":"Administradora de archivos","Blog List":"Lista de blogs","Blog Grid":"Blog Grid","Blog Details":"Detalles del blog","Templates":"Modelo","Basic Action":"Acci\xf3n b\xe1sica","Alert Email":"Correo electr\xf3nico de alerta","Billing Email":"Correo Electr\xf3nico de Facturas","Login 2":"Login 2","Register 2":"Iniciar sesi\xf3n 2","Recover Password":"Recuperar contrase\xf1a","Recover Password 2":"Recuperar contrase\xf1a 2","Lock Screen 2":"Bloquear pantalla 2","Confirm Mail":"Confirmar correo","Confirm Mail 2":"Confirmar correo 2","Email verification":"Verificacion de email","Email verification 2":"Verificacion de email 2","Two step verification":"Verificaci\xf3n de dos pasos","Two step verification 2":"Verificaci\xf3n de dos pasos 2","Exchange":"Intercambiar","Lending":"Pr\xe9stamo","KYC Application":"Solicitud KYC","ICO Landing":"Aterrizaje ICO","Email":"Correo electr\xf3nico","Read Email":"Leer el correo electr\xf3nico","Inbox":"Bandeja de entrada","Invoices":"Facturas","Invoice List":"Lista de facturas","Invoice Detail":"Detalle de factura","Projects":"progetti","Projects Grid":"Griglia dei progetti","Projects List":"Elenco dei progetti","Project Overview":"Panoramica del progetto","Create New":"Creare nuovo","Tasks":"Compiti","Task List":"Elenco delle attivit\xe0","Kanban Board":"Kanban Board","Create Task":"Crea attivit\xe0","Contacts":"Contatti","User Grid":"Griglia utente","User List":"lista degli utenti","Profile":"Proyectos","Authentication":"Autenticaci\xf3n","Login":"Iniciar sesi\xf3n","Register":"Registrarse","Forget Password":"Contrase\xf1a olvidada","Utility":"Utilidad","Starter Page":"P\xe1gina de inicio","Maintenance":"Mantenimiento","Coming Soon":"Pr\xf3ximamente","Timeline":"Cronograma","FAQs":"Preguntas frecuentes","Pricing":"Precios","Error 404":"error 404","Error 500":"Error 500","Components":"Componentes","UI Elements":"Elementos de la IU","Alerts":"Alertas","Buttons":"Botones","Cards":"Tarjetas","Carousel":"Carrusel","Dropdowns":"Listas deplegables","Grid":"Cuadr\xedcula","Images":"Im\xe1genes","Modals":"Modals","Lightbox":"Caja ligera","Placeholders":"Marcadores de posici\xf3n","OffCanvas":"OffCanvas","Toasts":"Tostadas","Range Slider":"Control deslizante de rango","Session Timeout":"Hora de t\xe9rmino de la sesi\xf3n","Progress Bars":"Barras de progreso","Sweet-Alert":"Alerta dulce","Tabs & Accordions":"Pesta\xf1as y acordeones","Typography":"Tipograf\xeda","Video":"V\xeddeo","General":"General","Colors":"Colores","Rating":"Clasificaci\xf3n","Notifications":"Notificaciones","Image Cropper":"Recortador de imagen","Forms":"Formas","Form Elements":"Elementos de formulario","Form Validation":"Validaci\xf3n de formulario","Form Advanced":"Formulario avanzado","Form Editors":"Editores de formularios","Form Layouts":"Dise\xf1os de formulario","Form File Upload":"Subir archivo de formulario","Form Xeditable":"Formulario Xeditable","Form Repeater":"Repetidor de forma","Form Wizard":"Asistente de formulario","Form Mask":"M\xe1scara de forma","Tables":"Mesas","Basic Tables":"Tablas B\xe1sicas","Data Tables":"Tablas de datos","Responsive Table":"Mesa receptiva","Editable Table":"Tabla editable","Charts":"Gr\xe1ficos","Apex charts":"Tablas de Apex","Chartist Chart":"Gr\xe1fico Chartist","Chartjs Chart":"Gr\xe1fico de Chartjs","E Chart":"Gr\xe1fico E","Sparkline Chart":"Gr\xe1fico de minigr\xe1fico","Toast UI Chart":"Toast UI Chart","Icons":"\xcdconos","Boxicons":"Boxicones","Material Design":"Dise\xf1o de materiales","Dripicons":"Dripicons","Font awesome":"Font awesome","Maps":"Mapas","Google Maps":"mapas de Google","Vector Maps":"Mapas vectoriales","Level 1.1":"Nivel 1.1","Multi Level":"Multi nivel","Level 1.2":"Nivel 1.2","Level 2.1":"Nivel 2.1","Level 2.2":"Nivel 2.2","My Wallet":"Mi billetera","Settings":"Configuraciones","Lock screen":"Bloquear pantalla","Logout":"Cerrar sesi\xf3n","View all":"Ver todo","Your order is placed":"Su pedido es realizado","If several languages coalesce the grammar":"Si varios idiomas fusionan la gram\xe1tica","3 min ago":"Hace 3 minutos","It will seem like simplified English":"Parecer\xe1 un ingl\xe9s simplificado","1 hours ago":"Hace 1 hora","Your item is shipped":"Su art\xedculo es enviado","As a skeptical Cambridge friend of mine occidental":"Como esc\xe9ptico amigo mio de Cambridge occidental","UI Components":"Componentes de la IU","Applications":"Aplicaciones","Extra Pages":"P\xe1ginas extra","Horizontal layout":"Dise\xf1o horizontal","Light Sidebar":"Barra lateral ligera","Compact Sidebar":"Barra lateral compacta"}')},285:function(e){e.exports=JSON.parse('{"Mega Menu":"Mega Menu","Search":"Search","Menu":"Menu","Dashboards":"Dashboards","Dashboard":"Dashboard","Default":"Default","Saas":"Saas","Crypto":"Crypto","Apps":"Apps","Calendar":"Calendar","New":"New","Chat":"Chat","Ecommerce":"Ecommerce","Products":"Products","Product Detail":"Product Detail","Orders":"Orders","Customers":"Customers","Cart":"Cart","Checkout":"Checkout","Shops":"Shops","Add Product":"Add Product","Wallet":"Wallet","Buy/Sell":"Buy/Sell","Exchange":"Exchange","Lending":"Lending","KYC Application":"KYC Application","ICO Landing":"ICO Landing","Email":"Email","Inbox":"Inbox","Read Email":"Read Email","Invoices":"Invoices","Invoice List":"Invoice List","Invoice Detail":"Invoice Detail","Projects":"Projects","Projects Grid":"Projects Grid","Projects List":"Projects List","Project Overview":"Project Overview","Create New":"Create New","Tasks":"Tasks","Task List":"Task List","Blog":"Blog","File Manager":"File Manager","Blog List":"Blog List","Blog Grid":"Blog Grid","Blog Details":"Blog Details","Templates":"Templates","Basic Action":"Basic Action","Alert Email"
1:"Alert Email","Billing Email":"Billing Email","Login 2":"Login 2","Register 2":"Register 2","Recover Password":"Recover Password","Recover Password 2":"Recover Password 2","Lock Screen 2":"Lock Screen 2","Confirm Mail":"Confirm Mail","Confirm Mail 2":"Confirm Mail 2","Email verification":"Email verification","Email verification 2":"Email verification 2","Two step verification":"Two Step verification","Two step verification 2":"Two Step verification 2","Kanban Board":"Kanban Board","Create Task":",Create Task","Contacts":"Contacts","User Grid":"User Grid","User List":"User List","Profile":"Profile","Authentication":"Authentication","Login":"Login","Register":"Register","Forget Password":"Forget Password","Utility":"Utility","Starter Page":"Starter Page","Maintenance":"Maintenance","Coming Soon":"Coming Soon","Timeline":"Timeline","FAQs":"FAQs","Pricing":"Pricing","Error 404":"Error 404","Error 500":"Error 500","Components":"Components","UI Elements":"UI Elements","Alerts":"Alerts","Buttons":"Buttons","Cards":"Cards","Carousel":"Carousel","Dropdowns":"Dropdowns","Grid":"Grid","Images":"Images","Lightbox":"Lightbox","Placeholders":"Placeholders","OffCanvas":"OffCanvas","Toasts":"Toasts","Modals":"Modals","Range Slider":"Range Slider","Session Timeout":"Session Timeout","Progress Bars":"Progress Bars","Sweet-Alert":"Sweet-Alert","Tabs & Accordions":"Tabs & Accordions","Typography":"Typography","Video":"Video","General":"General","Colors":"Colors","Rating":"Rating","Notifications":"Notifications","Image Cropper":"Image Cropper","Forms":"Forms","Form Elements":"Form Elements","Form Validation":"Form Validation","Form Layouts":"Form Layouts","Form Advanced":"Form Advanced","Form Editors":"Form Editors","Form File Upload":"Form File Upload","Form Xeditable":"Form Xeditable","Form Repeater":"Form Repeater","Form Wizard":"Form Wizard","Form Mask":"Form Mask","Tables":"Tables","Basic Tables":"Basic Tables","Data Tables":"Data Tables","Responsive Table":"Responsive Table","Editable Table":"Editable Table","Charts":"Charts","Apex charts":"Apex charts","Chartist Chart":"Chartist Chart","Chartjs Chart":"Chartjs Chart","E Chart":"E Chart","Sparkline Chart":"Sparkline Chart","Toast UI Chart":"Toast UI Chart","Icons":"Icons","Boxicons":"Boxicons","Material Design":"Material Design","Dripicons":"Dripicons","Font awesome":"Font awesome","Maps":"Maps","Google Maps":"Google Maps","Vector Maps":"Vector Maps","Level 1.1":"Level 1.1","Multi Level":"Multi Level","Level 1.2":"Level 1.2","Level 2.1":"Level 2.1","Level 2.2":"Level 2.2","My Wallet":"My Wallet","Settings":"Settings","Lock screen":"Lock screen","View all":"View all","Logout":"Logout","Your order is placed":"Your order is placed","It will seem like simplified English":"It will seem like simplified English","Your item is shipped":"Your item is shipped","If several languages coalesce the grammar":"If several languages coalesce the grammar","3 min ago":"3 min ago","As a skeptical Cambridge friend of mine occidental":"As a skeptical Cambridge friend of mine occidental","1 hours ago":"1 hours ago","UI Components":"UI Components","Applications":"Applications","Extra Pages":"Extra Pages","Horizontal layout":"Horizontal layout","Light Sidebar":"Light Sidebar","Compact Sidebar":"Compact Sidebar"}')},542:function(e,t,a){},543:function(e,t,a){},547:function(e,t,a){"use strict";a.r(t);var r=a(2),n=a.n(r),s=a(53),c=a.n(s),o=a(11),l=a(39),i=a(24),d=a(6),u=a(10),h=a(43),b=a.n(h),m=a(1),j=a(23),p=a.n(j),x=a(555),O=a(3),f=a.n(O),v=a(8),g="https://oaom.jsblpune.bank.in/JSBOnlineAccountAPI",y=p.a.create({baseURL:g});function N(e){return A.apply(this,arguments)}function A(){return A=Object(v.a)(f.a.mark((function e(t){var a,r=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,y.get(t,Object(d.a)({},a)).then((function(e){return e.data}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),A.apply(this,arguments)}function k(e,t){return C.apply(this,arguments)}function C(){return C=Object(v.a)(f.a.mark((function e(t,a){var r,n=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>2&&void 0!==n[2]?n[2]:{},e.abrupt("return",y.post(t,Object(d.a)({},a),Object(d.a)({},r)).then((function(e){return e.data})));case 3:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function w(e,t){return S.apply(this,arguments)}function S(){return S=Object(v.a)(f.a.mark((function e(t,a){var r,n=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>2&&void 0!==n[2]?n[2]:{},e.abrupt("return",y.put(t,Object(d.a)({},a),Object(d.a)({},r)).then((function(e){return e.data})));case 2:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function P(e){return T.apply(this,arguments)}function T(){return T=Object(v.a)(f.a.mark((function e(t){var a,r=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,y.delete(t,Object(d.a)({},a)).then((function(e){return e.data}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}y.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}));var I="/api/Branch",E="/messages",B="/comments-product-action";function D(){var e=JSON.parse(localStorage.getItem("authCustomer"));return e?{Authorization:"Bearer "+e.token}:{}}var F=function(e){return p.a.post("/post-fake-register",e).then((function(e){if(e.status>=200||e.status<=299)return e.data;throw e.data}
1)).catch((function(e){var t;if(e.response&&e.response.status)switch(e.response.status){case 404:t="Sorry! the page you are looking for could not be found";break;case 500:t="Sorry! something went wrong, please contact our support team";break;case 401:t="Invalid credentials";break;default:t=e[1]}throw t}))},R=function(e){return k("/post-fake-login",e)},L=function(e){return k("/fake-forget-pwd",e)},M=function(e){return k("/post-fake-profile",e)},q=function(e){return k("/social-login",e)},V=function(){return N("/products")},W=function(){return k("/api/State/GetAll",{},{headers:D()})},U=function(){return k("/api/Occupation/GetAll",{},{headers:D()})},G=function(){return k("/api/RelatedPersonType/GetAll",{},{headers:D()})},Y=function(){return k("/api/Education/GetAll",{},{headers:D()})},K=function(){return k("/api/OccupationDetails/GetAll",{},{headers:D()})},z=function(){return k("/api/AssetDetails/GetAll",{},{headers:D()})},J=function(){return k("/api/OtherBankAccounts/GetAll",{},{headers:D()})},Q=function(){return k("/api/AccountType/GetAll",{},{headers:D()})},H=function(){return k("/api/EntityType/GetAll",{},{headers:D()})},Z=function(){return k("/api/Location/GetAll",{},{headers:D()})},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return N("".concat(I,"/").concat(e),{params:{LocationId:e}})},_=function(){return k("/api/POI/GetAll",{},{headers:D()})},ee=function(){return k("/api/Registration/GetCustomerReasonList",{},{headers:D()})},te=function(){return g},ae=function(){return g+"/api/OTP/GetOTP"},re=function(){return g+"/api/Branch/GetAll"},ne=function(){return g+"/api/Registration/UpdatePersonalDetails"},se=function(){return g+"/api/Registration/UpdateFamilyDetails"},ce=function(){return g+"/api/Registration/UpdateDetailOfRelatedPerson"},oe=function(){return g+"/api/Registration/UpdateAdditionalDetails"},le=function(){return g+"/api/Registration/UpdateTechnoProducts"},ie=function(){return g+"/api/Registration/UpdateNominationDetails"},de=function(){return g+"/api/Registration/SubmitAccount"},ue=function(){return g+"/api/Registration/UpdateFormNo60"},he=function(){return g+"/api/Registration/UpdateAccountHolderStatus"},be=function(e){return N("".concat("/product","/").concat(e),{params:{id:e}})},me=function(){return N("/events")},je=function(e){return k("/add/event",e)},pe=function(e){return w("/update/event",e)},xe=function(e){return P("/delete/event",{headers:{event:e}})},Oe=function(){return N("/categories")},fe=function(){return N("/chats")},ve=function(){return N("/groups")},ge=function(){return N("/contacts")},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return N("".concat(E,"/").concat(e),{params:{roomId:e}})},Ne=function(e){return k("/add/messages",e)},Ae=function(){return N("/orders")},ke=function(e){return k("/add/order",e)},Ce=function(e){return w("/update/order",e)},we=function(e){return P("/delete/order",{headers:{order:e}})},Se=function(){return N("/cart")},Pe=function(){return N("/customers")},Te=function(e){return k("/add/customer",e)},Ie=function(e){return w("/update/customer",e)},Ee=function(e){return P("/delete/customer",{headers:{customer:e}})},Be=function(){return N("/shops")},De=function(){return N("/wallet")},Fe=function(){return N("/crypto/orders")},Re=function(){return N("/invoices")},Le=function(e){return N("".concat("/invoice","/").concat(e),{params:{id:e}})},Me=function(){return N("/projects")},qe=function(e){return N("".concat("/project","/").concat(e),{params:{id:e}})},$e=function(){return N("/tasks")},Ve=function(){return N("/users")},We=function(e){return k("/add/user",e)},Ue=function(e){return w("/update/user",e)},Ge=function(e){return P("/delete/user",{headers:{user:e}})},Ye=function(e){return k("/add/project",e)},Ke=function(e){return w("/update/project",e)},ze=function(e){return P("/delete/project",{headers:{project:e}})},Je=function(){return N("/user")},Qe=function(){return N("/inboxmails")},He=function(e){return k("/add/inboxmail",e)},Ze=function(e){return P("/delete/inboxmail",{headers:{inboxmail:e}})},Xe=function(){return N("/starredmails")},_e=function(){return N("/importantmails")},et=function(){return N("/sentmails")},tt=function(){return N("/trashmails")},at=function(){return N("/draftmails")},rt=function(){return N("/weekly-data")},nt=function(){return N("/yearly-data")},st=function(){return N("/monthly-data")},ct=function(e){return N("".concat("/top-selling-data","/").concat(e),{params:{month:e}})},ot=function(e){return N("".concat("/earning-charts-data","/").concat(e),{params:{month:e}})},lt=function(){return N("/comments-product")},it=function(e,t){return k("".concat(B,"/").concat(t,"/").concat(e),{params:{commentId:e,productId:t}})},dt=function(e,t,a){return k("".concat(B,"/").concat(t,"/").concat(e,"/").concat(a),{params:{commentId:e,productId:t,replyId:a}})},ut=function(e,t,a){return k("".concat("/comments-product-add-reply","/").concat(t,"/").concat(e),{params:{commentId:e,productId:t,replyText:a}})},ht=function(e,t){return k("".concat("/comments-product-add-comment","/").concat(e),{params:{productId:e,commentText:t}})},bt=a(25),mt=a.n(bt),jt=(a(61),a(12)),pt=a(44),xt=a.p+"static/media/banner.c30f7354.jpg",Ot=a(290),ft=a(0);var vt=function(e){return e.loading?Object(ft.jsx)(Ot.a,{color:"#00BFFF",height:80,width:80}):Object(ft.jsx)("div",{style:{textAlign:"center",marginTop:"250px"}})},gt=a(95),yt=function(e){Object(i.c)();var t=Object(l.useHistory)(),a=Object(r.useState)(!1),s=Object(u.a)(a,2),c=(s[0],s[1],Object(r.useState)(null)),h=Object(u.a)(c,2),j=h[0],x=h[1],O=Object(r.useState)(!1),f=Object(u.a)(O,2),v=f[0],y=f[1];Object(r.useEffect)((function(){if(e&&e.isLANEnv){var t=e.isLANEnv,a=e.persistAuthDetail
1sForLan;t&&a&&(y(t),x(a))}}),[e]);var N=Object(pt.a)({enableReinitialize:!0,initialValues:{username:"",password:"",showPassword:!1},validationSchema:jt.c({username:jt.d().required("User Name required"),password:jt.d().required("Password required")}),onSubmit:function(e){}}),A=Object(r.useState)("swing"),k=Object(u.a)(A,2),C=k[0],w=(k[1],Object(r.useState)("linear")),S=Object(u.a)(w,2),P=S[0],T=(S[1],Object(r.useState)("fadeIn")),I=Object(u.a)(T,2),E=I[0],B=(I[1],Object(r.useState)("fadeOut")),F=Object(u.a)(B,2),R=F[0],L=(F[1],Object(r.useState)(300)),M=Object(u.a)(L,2),q=M[0],$=(M[1],Object(r.useState)(1e3)),V=Object(u.a)($,2),W=V[0],U=(V[1],Object(r.useState)(2e3)),G=Object(u.a)(U,2),Y=G[0],K=(G[1],Object(r.useState)(1e3)),z=Object(u.a)(K,2),J=z[0];z[1];var Q={color:"black"},H=Object(r.useState)(!1),Z=Object(u.a)(H,2),X=Z[0],_=Z[1],ee=Object(r.useState)(""),te=Object(u.a)(ee,2),ae=(te[0],te[1],Object(r.useState)(!1)),re=Object(u.a)(ae,2),ne=re[0],se=re[1];function ce(){_(!X),document.body.classList.add("no_padding")}function oe(a,r){var n={username:a,password:r};se(!0),p.a.post(g+"/api/BranchLogin/CheckLogin",n,{headers:D()}).then((function(a){var r;null!=a.data&&("OK"==a.data.responseCode?(console.log("Branch Login Success",a.data),v?null===e||void 0===e||e.setAuthDetails(Object(d.a)(Object(d.a)({},j),{},{userName:a.data.emp.username,branchCode:a.data.emp.lbrcode,branchName:a.data.emp.lbrname.replace('"',"").replace('"',"")})):(localStorage.setItem("branchToken",JSON.stringify(a.data.token)),localStorage.setItem("userName",JSON.stringify(a.data.emp.username)),localStorage.setItem("branchCode",JSON.stringify(a.data.emp.lbrcode)),localStorage.setItem("branchName",JSON.stringify(a.data.emp.lbrname).replace('"',"").replace('"',"")),localStorage.setItem("isAdmin",JSON.stringify(a.data.emp.isAdmin)),localStorage.setItem("usedesc",JSON.stringify(a.data.emp.usedesc).replace('"',"").replace('"',"")),t.push("/CustomerList"))):(r=a.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:Y,extendedTimeOut:J,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:C,hideEasing:P,showMethod:E,hideMethod:R,showDuration:q,hideDuration:W},mt.a.error(r,"Error"))),se(!1)}),(function(e){console.log(e.response),se(!1)}))}return Object(r.useEffect)((function(){!0===ne?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[ne]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Branch Login"})}),Object(ft.jsx)("div",{className:"home-btn d-none d-sm-block",children:Object(ft.jsx)(o.b,{to:"/",className:"text-dark",children:Object(ft.jsx)("i",{className:"fas fa-home h2"})})}),Object(ft.jsx)("div",{className:"account-pages my-5 pt-sm-5",children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{className:"justify-content-center",children:[Object(ft.jsx)(m.f,{md:6,lg:5,xl:4,children:Object(ft.jsxs)(m.c,{className:"overflow-hidden",style:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px",width:"99%",backgroundColor:"rgb(247 242 242)"},children:[Object(ft.jsx)("div",{className:"bg-primary bg-soft",children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xs:12,children:Object(ft.jsx)("img",{src:xt,alt:"",className:"img-fluid",style:{width:"100%"}})})})}),Object(ft.jsx)(m.d,{className:"pt-0",children:Object(ft.jsx)("div",{className:"p-2",children:Object(ft.jsxs)(m.m,{className:"form-horizontal",onSubmit:function(e){return e.preventDefault(),N.handleSubmit(),!1},children:[Object(ft.jsx)("div",{className:"mb-3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.r,{className:"form-label",style:{color:"black"},children:"User Name"}),Object(ft.jsx)("span",{style:{color:"red",fontWeight:"bold"},children:"*"}),Object(ft.jsx)(m.p,{autoFocus:!0,id:"txtUserName",maxLength:"10",name:"username",value:N.values.username||"",type:"text",min:"1",placeholder:"User Name",className:"form-control",style:Q,onChange:N.handleChange,onBlur:N.handleBlur,invalid:!(!N.touched.username||!N.errors.username),autocomplete:"off"}),N.touched.username&&N.errors.username?Object(ft.jsx)(m.n,{type:"invalid",children:N.errors.username}):null]})}),Object(ft.jsx)("div",{className:"mb-3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.r,{className:"form-label",style:{color:"black"},children:"Password"}),Object(ft.jsx)("span",{style:{color:"red",fontWeight:"bold"},children:"*"}),Object(ft.jsx)(m.p,{id:"txtPassword",name:"password",value:N.values.password||"",type:"password",maxLength:"16",placeholder:"Password",className:"form-control",style:Q,onChange:N.handleChange,onBlur:N.handleBlur,invalid:!(!N.touched.password||!N.errors.password),autocomplete:"off"}),N.touched.password&&N.errors.password?Object(ft.jsx)(m.n,{type:"invalid",children:N.errors.password}):null]})}),Object(ft.jsxs)("div",{className:"mt-3 d-grid",children:[Object(ft.jsx)("button",{style:{backgroundColor:"#9a084f",fontSize:"larger",borderRadius:"0.75rem"},className:"btn btn-primary btn-block",type:"submit",onClick:function(){""!=N.values.username&&""!=N.values.password&&oe(N.values.username,N.values.password)},"data-toggle":"modal",children:"Login"}),Object(ft.jsx)(m.s,{autoFocus:!1,isOpen:X,toggle:function(){ce()},backdrop:"static",id:"staticBackdrop",className:"modal-dialog modal-dialog-centered"})]})]})})})]})}),Object(ft.jsx)("footer",{style:{backgroundColor:"#333333",color:"white",height:"50px",position:"absolute",bottom:"0"},children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{style:{marginTop:"15p
1x"},md:6,children:" \xa9 2022 all rights reserved"}),Object(ft.jsx)(m.f,{style:{marginTop:"15px"},md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Powered by ZingWorks LLP"})})]})})})]})})})]})},Nt=a(277),At=function(e){var t,a,r,s,c,l,i,d,u,h,j,p,x=e.cardBackground,O=e.textboxRounded,f=e.validation,v=e.error,g=e.chkNumeric,y=e.GetOTP,N=e.ResendOTP,A=e.VerifyOTP,k=e.modal_backdrop,C=e.tog_backdrop,w=e.handleOnChange;return Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Login"})}),Object(ft.jsx)("div",{className:"home-btn d-none d-sm-block",children:Object(ft.jsx)(o.b,{to:"/",className:"text-dark",children:Object(ft.jsx)("i",{className:"fas fa-home h2"})})}),Object(ft.jsx)("div",{className:"account-pages my-5 pt-sm-5",children:Object(ft.jsx)(m.h,{children:Object(ft.jsxs)(m.v,{className:"justify-content-center",children:[Object(ft.jsx)(m.f,{md:8,lg:6,xl:5,children:Object(ft.jsxs)(m.c,{className:"overflow-hidden",style:x,children:[Object(ft.jsx)("div",{className:"bg-primary bg-soft",children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xs:12,children:Object(ft.jsx)("img",{src:xt,alt:"",className:"img-fluid",style:{width:"100%"}})})})}),Object(ft.jsxs)(m.d,{className:"pt-0",children:[Object(ft.jsxs)("div",{style:{textAlign:"center"},children:[Object(ft.jsx)("label",{style:{color:"black",fontWeight:"bold",fontSize:"x-large"},children:"Let\u2019s get started!"}),Object(ft.jsx)("br",{}),Object(ft.jsx)("label",{style:{color:"black",fontSize:"smaller"},children:"To get an instant Account"})]}),Object(ft.jsx)("br",{}),Object(ft.jsx)("div",{className:"p-2",children:Object(ft.jsxs)(m.m,{className:"form-horizontal",onSubmit:function(e){return e.preventDefault(),null===f||void 0===f||f.handleSubmit(),!1},children:[v?Object(ft.jsx)(m.a,{color:"danger",children:v}):null,Object(ft.jsx)("div",{className:"mb-3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.r,{className:"form-label",style:{color:"black"},children:"Mobile Number"}),Object(ft.jsx)("span",{style:{color:"red",fontWeight:"bold"},children:"*"}),Object(ft.jsx)(m.p,{autoFocus:!0,id:"txtMobileNo",maxLength:"10",name:"mobilenumber",value:(null===f||void 0===f||null===(t=f.values)||void 0===t?void 0:t.mobilenumber)||"",type:"text",min:"1",placeholder:"Mobile Number",className:"form-control",style:O,onChange:function(e){g(e)},onBlur:null===f||void 0===f?void 0:f.handleBlur,invalid:!(!(null===f||void 0===f||null===(a=f.touched)||void 0===a?void 0:a.mobilenumber)||!(null===f||void 0===f||null===(r=f.errors)||void 0===r?void 0:r.mobilenumber)),autoComplete:"off"}),(null===f||void 0===f||null===(s=f.touched)||void 0===s?void 0:s.mobilenumber)&&(null===f||void 0===f||null===(c=f.errors)||void 0===c?void 0:c.mobilenumber)?Object(ft.jsx)(m.n,{type:"invalid",children:null===f||void 0===f||null===(l=f.errors)||void 0===l?void 0:l.mobilenumber}):null]})}),Object(ft.jsx)("div",{className:"mb-3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.r,{className:"form-label",style:{color:"black"},children:"Email"}),Object(ft.jsx)(m.p,{id:"txtEmail",maxLength:"50",name:"email",value:(null===f||void 0===f||null===(i=f.values)||void 0===i?void 0:i.email)||"",type:"email",placeholder:"Email",className:"form-control",style:O,onChange:null===f||void 0===f?void 0:f.handleChange,onBlur:null===f||void 0===f?void 0:f.handleBlur,invalid:!(!(null===f||void 0===f||null===(d=f.touched)||void 0===d?void 0:d.email)||!(null===f||void 0===f||null===(u=f.errors)||void 0===u?void 0:u.email)),autocomplete:"off"}),(null===f||void 0===f||null===(h=f.touched)||void 0===h?void 0:h.email)&&(null===f||void 0===f||null===(j=f.errors)||void 0===j?void 0:j.email)?Object(ft.jsx)(m.n,{type:"invalid",children:null===f||void 0===f||null===(p=f.errors)||void 0===p?void 0:p.email}):null]})}),Object(ft.jsx)("br",{}),Object(ft.jsx)("div",{children:Object(ft.jsxs)("label",{style:{color:"red"},children:[" ","PLEASE KEEP YOUR COPY OF PROOF OF IDENTITY (POI) & PROOF OF ADDRESS (POA) READY WITH YOU TO UPLOAD"]})}),Object(ft.jsxs)("div",{className:"mt-3 d-grid",children:[Object(ft.jsx)("button",{style:{backgroundColor:"#9a084f",fontSize:"larger",borderRadius:"0.75rem"},className:"btn btn-primary btn-block",type:"submit",onClick:function(){y()},"data-toggle":"modal",children:"Get OTP"}),Object(ft.jsxs)(m.s,{autoFocus:!1,isOpen:k,toggle:function(){C()},backdrop:"static",id:"staticBackdrop",className:"modal-dialog modal-dialog-centered",children:[Object(ft.jsxs)("div",{className:"modal-body",style:{textAlign:"center"},children:[Object(ft.jsx)("h5",{className:"modal-title",id:"staticBackdropLabel",style:{color:"black"},children:"Enter OTP sent on your mobile number"}),Object(ft.jsx)("br",{}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xs:12,children:Object(ft.jsxs)(m.o,{className:"verification",children:[Object(ft.jsx)("label",{htmlFor:"digit1-input",className:"sr-only",children:"Dight 1"}
1),Object(ft.jsx)(Nt.a,{characters:4,className:"form-control form-control-lg text-center",allowedCharacters:"^[0-9]",password:!0,inputStyle:{width:"76px",height:"42px",padding:"8px",borderRadius:"8px",fontSize:"16px",textAlign:"center",marginRight:"15px",border:"1px solid #ced4da",textTransform:"uppercase"},onChange:w})]})})})]}),Object(ft.jsx)("div",{style:{textAlign:"center"},children:Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"12",children:[Object(ft.jsx)(m.r,{children:"Don\u2019t receive the OTP?"}),Object(ft.jsx)("a",{style:{marginLeft:"10px",color:"red",fontSize:"larger"},onClick:function(){N()},"data-toggle":"modal",children:"Resend OTP"})]})})}),Object(ft.jsx)("div",{children:Object(ft.jsx)("div",{className:"modal-footer",children:Object(ft.jsx)("button",{className:"btn btn-primary btn-block",style:{backgroundColor:"#9a084f",width:"100px",borderRadius:"0.75rem",fontSize:"15px"},type:"submit",id:"verify",onClick:function(){A()},children:"Verify"})})})]})]})]})})]})]})}),Object(ft.jsx)("footer",{className:"sm-12",style:{backgroundColor:"#333333",color:"white",height:"40px",position:"absolute",bottom:"0"},children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{style:{marginTop:"15px"},md:6,children:[" ","\xa9 ",(new Date).getFullYear()," all rights reserved"]}),Object(ft.jsx)(m.f,{style:{marginTop:"15px"},md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Powered by ZingWorks LLP"})})]})})})]})})})]})},kt=Object(l.withRouter)((function(e){Object(i.c)();var t=Object(l.useHistory)(),a=Object(r.useState)(!1),n=Object(u.a)(a,2),s=(n[0],n[1]),c=window.location.hostname.includes("oaomlan"),o=Object(r.useState)({normalLogin:!0,branchLogin:!1}),h=Object(u.a)(o,2),b=h[0],m=h[1],j=Object(r.useState)(null),O=Object(u.a)(j,2),f=O[0],v=O[1],y=Object(pt.a)({enableReinitialize:!0,initialValues:{mobilenumber:"",email:"",one:"",two:"",three:"",four:""},validationSchema:jt.c({mobilenumber:jt.d().required("Mobile Number required"),email:jt.d().email("Must be a valid Email").max(50)}),onSubmit:function(e){}}),N=Object(i.d)((function(e){return{error:e.Login.error}})).error;var A=Object(r.useState)("swing"),k=Object(u.a)(A,2),C=k[0],w=(k[1],Object(r.useState)("linear")),S=Object(u.a)(w,2),P=S[0],T=(S[1],Object(r.useState)("fadeIn")),I=Object(u.a)(T,2),E=I[0],B=(I[1],Object(r.useState)("fadeOut")),F=Object(u.a)(B,2),R=F[0],L=(F[1],Object(r.useState)(300)),M=Object(u.a)(L,2),q=M[0],V=(M[1],Object(r.useState)(1e3)),W=Object(u.a)(V,2),U=W[0],G=(W[1],Object(r.useState)(2e3)),Y=Object(u.a)(G,2),K=Y[0],z=(Y[1],Object(r.useState)(1e3)),J=Object(u.a)(z,2),Q=J[0];J[1];function H(e){mt.a.options={positionClass:"toast-top-center",timeOut:K,extendedTimeOut:Q,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:C,hideEasing:P,showMethod:E,hideMethod:R,showDuration:q,hideDuration:U},mt.a.success(e,"Information")}function Z(e){mt.a.options={positionClass:"toast-top-center",timeOut:K,extendedTimeOut:Q,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:C,hideEasing:P,showMethod:E,hideMethod:R,showDuration:q,hideDuration:U},mt.a.error(e,"Error")}var X=Object(r.useState)(!1),_=Object(u.a)(X,2),ee=_[0],te=_[1],re=Object(r.useState)(""),ne=Object(u.a)(re,2),se=ne[0],ce=ne[1];function oe(){te(!ee),document.body.classList.add("no_padding")}function le(){var e={MobileNo:c?null===f||void 0===f?void 0:f.mobileNo:$("#txtMobileNo").val()};p.a.post(g+"/api/Registration/CheckCustomerExists",e,{headers:D()}).then((function(e){1==e.data?t.push("/Status"):0==e.data&&t.push("/CreateNewAccount")}),(function(e){console.log(e.response)}))}function ie(e){e?(localStorage.setItem("authCustomer",JSON.stringify(e)),le()):Z("Authentication details are not available.")}var de=Object(r.useState)(),ue=Object(u.a)(de,2),he=ue[0],be=ue[1],me={cardBackground:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px",width:"99%"},textboxRounded:{color:"black"},validation:y,error:N,chkNumeric:function(e){var t=e.target.value;if(""==t)y.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&(y.handleChange(e),"1"==e.target.id?($("#2").val(""),$("#2").focus()):"2"==e.target.id?($("#3").val(""),$("#3").focus()):"3"==e.target.id?($("#4").val(""),$("#4").focus()):"4"==e.target.id&&$("#verify").focus())}},GetOTP:function(){if((y.touched.mobilenumber&&""==y.errors.mobilenumber||y.touched.mobilenumber&&void 0==y.errors.mobilenumber)&&""==y.errors.email||void 0==y.errors.email)if(10!=y.values.mobilenumber.toString().length)Z("Please enter 10 digit Mobile number!"),$("#txtMobileNo").focus();else{var e=Object(x.a)(),t={Guid:e,MobileNo:$("#txtMobileNo").val(),Email:$("#txtEmail").val(),loginViaLAN:c};s(!0),p.a.post(ae(),t,{headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"}}).then((function(t){"OK"==t.data.responseCode&&(s(!1),ce(e),oe(),H("OTP is sent on your Mobile Number!"))}))}},ResendOTP:function(){if(y.touched.mobilenumber&&""==y.errors.mobilenumber||y.touched.mobilenumber&&void 0==y.errors.mobilenumber)if(10!=y.values.mobilenumber.toString().length)Z("Please enter 10 digit Mobile number!");else{var e=Object(x.a)(),t={Guid:e,MobileNo:$("#txtMobileNo").val(),Email:$("#txtEmail").val(),loginViaLAN:c};p.a.post(ae(),t).then((function(t){"OK"==t.data.responseCode&&(ce(e),oe(),H("OTP is sent on your Mobile Number!"),te(!0))}))}},VerifyOTP:function(){if(null!=he)if(4==he.length){var e=he,t={Guid:se,MobileNo:$("#txtMobileNo").val(),Email:$("#txtEmail").val(),OTP:e};p.a.post(g+"/api/OTP/VerifyOTP",t).then((function(e){1==e.data.returnSuccess?c?(console.log("LAN environment detected, redirecting to BranchLogin"),v(e.data),m({normalLogin:!1,branchLogin:!0})):ie(e.data):0==e.data.returnSuccess&&Z(e.data.returnMessage)}))}else Z("Please enter OTP!");else Z("Please enter OTP!")},modal_backdrop:ee,tog_backdrop:oe,handleOnChange:function(e){be(e),4==e.length&&$("#verify").focus()}};return c?c&&b.normalLogin?Object(ft.jsx)(At,Object(d.a)({},me)):c&&b.branchLogin?Object(ft.jsx)(yt,{isLANEnv:c,persistAuthDetail
1sForLan:f,setAuthDetails:function(e){return ie(e)}}):void 0:Object(ft.jsx)(At,Object(d.a)({},me))})),Ct=a(22),wt=a(34),St=a.n(wt),Pt=function(){var e=Object(r.useState)([]),t=Object(u.a)(e,2),a=t[0],s=t[1],c=Object(r.useState)(!1),o=Object(u.a)(c,2),i=o[0],d=o[1],h=Object(r.useState)("swing"),j=Object(u.a)(h,2),x=j[0],O=(j[1],Object(r.useState)("linear")),f=Object(u.a)(O,2),v=f[0],y=(f[1],Object(r.useState)("fadeIn")),N=Object(u.a)(y,2),A=N[0],k=(N[1],Object(r.useState)("fadeOut")),C=Object(u.a)(k,2),w=C[0],S=(C[1],Object(r.useState)(300)),P=Object(u.a)(S,2),T=P[0],I=(P[1],Object(r.useState)(1e3)),E=Object(u.a)(I,2),B=E[0],F=(E[1],Object(r.useState)(2e3)),R=Object(u.a)(F,2),L=R[0],M=(R[1],Object(r.useState)(1e3)),q=Object(u.a)(M,2),$=q[0],V=(q[1],Object(r.useState)(!1)),W=Object(u.a)(V,2),U=W[0],G=W[1],Y=Object(r.useState)(""),K=Object(u.a)(Y,2),z=K[0],J=K[1],Q=Object(r.useState)(""),H=Object(u.a)(Q,2),Z=(H[0],H[1]);var X=Object(l.useHistory)();function _(){d(!i),document.body.classList.add("no_padding")}function ee(){var e={MobileNo:JSON.parse(localStorage.getItem("authCustomer")).mobileNo};G(!0),p.a.post(g+"/api/Registration/GetAllCustomerAccountList",e,{headers:D()}).then((function(e){s(e.data),G(!1)}),(function(e){console.log(e.response)}))}function ae(e,t){var r=Object(Ct.a)(a);r.splice(e,1),s(r);var n={RegistrationId:t};p.a.post(g+"/api/Registration/DeleteCustomerAccount",n,{headers:D()}).then((function(e){var t;t=e.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:L,extendedTimeOut:$,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:x,hideEasing:v,showMethod:A,hideMethod:w,showDuration:T,hideDuration:B},mt.a.success(t,"Information"),d(!1)}),(function(e){var t;t=e.response,mt.a.options={positionClass:"toast-top-center",timeOut:L,extendedTimeOut:$,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:x,hideEasing:v,showMethod:A,hideMethod:w,showDuration:T,hideDuration:B},mt.a.error(t,"Error")}))}return Object(r.useEffect)((function(){!0===U?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[U]),Object(r.useEffect)((function(){localStorage.removeItem("registrationHoldersId"),ee()}),[]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Status"})}),Object(ft.jsx)(m.h,{fluid:!0,style:{overflow:"hidden"},children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{children:Object(ft.jsx)(m.d,{style:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px"},children:Object(ft.jsxs)("div",{className:"table-responsive",style:{overflow:"hidden"},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("h4",{className:"card-title",style:{fontSize:"17px",color:"#941116",fontWeight:"bold"},children:"See Your Status"})}),Object(ft.jsx)(m.f,{children:Object(ft.jsx)("div",{style:{textAlign:"right"},children:Object(ft.jsx)("input",{type:"Button",style:{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},className:"btn btn-success mt-3 mt-lg-0",value:"Generate Form",onClick:function(){localStorage.removeItem("registrationId"),localStorage.removeItem("registrationHoldersId"),X.push("/CreateNewAccount")}})})})]}),Object(ft.jsx)("br",{}),Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)("table",{id:"dynamic-table",className:"table table-striped table-bordered table-hover table-condensed bootstrap-datatable datatable dataTable mb-0",style:{textAlign:"center"},children:[Object(ft.jsx)("thead",{children:Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Last updated"}),Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Reference No."}),Object(ft.jsx)("th",{style:{width:"30%",border:"1px solid lightgrey"},children:"Customer Name"}),Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Account Type"}),Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Entity Type"}),Object(ft.jsx)("th",{style:{width:"10%",border:"1px solid lightgrey"},children:"Number of Holder"}),Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Status"}),Object(ft.jsx)("th",{style:{width:"10%",border:"1px solid lightgrey"},children:"Form Filled By"}),Object(ft.jsx)("th",{style:{width:"8%",border:"1px solid lightgrey"},children:"Action"})]})}),Object(ft.jsxs)("tbody",{children:[a.map((function(e,t){return"Completed"===e.status?Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.lastUpdated}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.referenceNo}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.customerName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.accountTypeName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.entityTypeName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.holdersCount}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:Object(ft.jsx)("label",{style:{color:"green",fontWeight:"bold"},children:e.status})}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.formFillBy}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:Object(ft.jsx)("button",{type:"button",className:"btn btn-primary",onClick:function(){!function(e,t){var a=te()+"/RegistrationPrintPDF/"+t+".pdf";p()({url:a,method:"GET",responseType:"blob",headers:D()}).then((function(t){var a=window.URL.createObjectURL(new Blob([t.data])),r=document.createElement("a");r.href=a,r.setAttribute("download",e+".pdf"),document.body.appendChild(r),r.click()}))}(e.referenceNo,e.id)},children:Object(ft.jsx)("i",{className:"bx bx-download"})})})]},t):null})),a.map((function(e,t){return"Partially Filled"===e.status?Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.lastUpdated}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.referenceNo}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.customerName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.accountTypeName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.entityTypeName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.holdersCount}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:Object(ft.jsx)("label",{style:{color:"red",fontWeight:"bold"},children:e.status})}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.formFillBy}),Object(ft.jsxs)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},className:"d-flex flex-wrap gap-1",children:[Object(ft.jsx)("button",{type:"button",className:"btn btn-success",onClick:function(){var t;t=e.id,localStorage.setItem("registrationId",t.toString()),X.push("/CreateNewAccount")},children:Object(ft.jsx)("i",{className:"mdi mdi-pencil"})}),Object(ft.jsxs)("button",{type:"button",className:"btn btn-danger",onClick:function(){_(),J(t),Z(e.id)},"data-toggle":"modal",children:[" ",Object(ft.jsx)("i",{className:"mdi mdi-trash-can"})]}),Object(ft.jsxs)(m.s,{isOpen:i,toggle:function(){_()},backdrop:"static",id:"staticBackdrop",children:[Object(ft.jsxs)("div",{className:"modal-header",children:[Object(ft.jsx)("h5",{className:"modal-title",id:"staticBackdropLabel",children:"Confirmation"}),Object(ft.jsx)("button",{type:"button",className:"btn-close",onClick:function(){d(!1)},"aria-label":"Close"})]}),Object(ft.jsx)("div",{className:"modal-body",children:Object(ft.jsx)("p",{children:"Are you sure you want to delete the selected account?"})}),Object(ft.jsxs)("div",{className:"modal-footer",children:[Object(ft.jsx)("button",{type:"button",className:"btn btn-primary",onClick:function(){ae(z,e.id)},children:"Yes"}),Object(ft.jsx)("button",{type:"button",className:"btn btn-light",onClick:function(){d(!1)},children:"No"})]})]})]})]},t):null}))]})]})})]})})})})})})]})},Tt=(a(427),a(429),a(48)),It=a.n(Tt),Et=(a(150),function(e){var t=e.RegistrationId,a={color:"black"},s={color:"red",fontWeight:"bold"},c=Object(r.useState)([]),o=Object(u.a)(c,2),l=(o[0],o[1],Object(r.useState)("swing")),i=Object(u.a)(l,2),d=i[0],h=(i[1],Object(r.useState)("linear")),b=Object(u.a)(h,2),j=b[0],x=(b[1],Object(r.useState)("fadeIn")),O=Object(u.a)(x,2),f=O[0],v=(O[1],Object(r.useState)("fadeOut")),y=Object(u.a)(v,2),N=y[0],A=(y[1],Object(r.useState)(300)),k=Object(u.a)(A,2),C=k[0],w=(k[1],Object(r.useState)(1e3)),S=Object(u.a)(w,2),P=S[0],T=(S[1],Object(r.useState)(2e3)),I=Object(u.a)(T,2),E=I[0],B=(I[1],Object(r.useState)(1e3)),F=Object(u.a)(B,2),R=F[0],L=(F[1],Object(r.useState)(!1)),M=Object(u.a)(L,2),q=M[0],V=M[1];function W(e){mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.error(e,"Error")}var U=Object(r.useState)([]),G=Object(u.a)(U,2),Y=G[0],K=G[1],z=Object(pt.a)({enableReinitialize:!0,initialValues:{nameofnominee:null==Y.nomineeName?"":Y.nomineeName,address:null==Y.nomineeAddress?"":Y.nomineeAddress,relationshipwithdepositor:null==Y.relationship?"":Y.relationship,minordob:null==Y.minorDOB?"":Y.minorDOB,guardianname:null==Y.guardianName?"":Y.guardianName,guardianaddress:null==Y.guardianAddress?"":Y.guardianAddress,guardianrelation:null==Y.guardianRelation?"":Y.guardianRelation}
1,validationSchema:jt.c({nameofnominee:jt.d().required("Name of nominee required").matches(/^[A-Za-z ]+$/,"Enter character only!"),address:jt.d().required("Address required"),minordob:jt.d().required("Date of Birth required"),guardianname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),guardianrelation:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),relationshipwithdepositor:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!")}),onSubmit:function(e){}});var J={RegistrationId:"",NameOfNominee:"",Address:"",RelationshipWithDepositor:"",PercentOfShare:""};function Q(e){var t=new Date($("#txtminordob").val()),a=new Date,r=Math.floor((a-t)/315576e5);if(r<18){if(""==$("#txtguardianname").val().trim())return W("Please enter Guardian Name"),void $("#txtguardianname").focus();if(""==$("#txtguardianaddress").val().trim())return W("Please enter Guardian Address"),void $("#txtguardianaddress").focus();if(""==$("#txtguardianrelation").val().trim())return W("Please enter Guardian Relation"),void $("#txtguardianrelation").focus()}J.RegistrationId=e,J.NomineeName=$("#txtnameofnominee").val().trim(),J.NomineeAddress=$("#txtaddress").val().trim(),J.Relationship=$("#txtrelationshipwithdepositor").val().trim(),J.MinorDOB=$("#txtminordob").val().trim(),r<18?(J.GuardianName=$("#txtguardianname").val().trim(),J.GuardianAddress=$("#txtguardianaddress").val().trim(),J.GuardianRelation=$("#txtguardianrelation").val().trim()):(J.GuardianName="",J.GuardianAddress="",J.GuardianRelation=""),V(!0),p.a.post(ie(),J,{headers:D()}).then((function(e){var t;"OK"==e.data.responseCode?(t=e.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.success(t,"Information"),V(!1)):(W(e.data.responseMessage),V(!1))}))}return Object(r.useEffect)((function(){!0===q?(document.getElementById("preloaderNominee").style.display="block",document.getElementById("statusNominee").style.display="block"):(document.getElementById("preloaderNominee").style.display="none",document.getElementById("statusNominee").style.display="none")}),[q]),Object(r.useEffect)((function(){!function(){var e={RegistrationId:t};p.a.post(g+"/api/Registration/GetCustomerNominationDetails",e,{headers:D()}).then((function(e){K(e.data[0]),e.data.length>0&&function(e){if(z.values.guardianname="",z.values.guardianaddress="",z.values.guardianrelation="",""!=e){var t=new Date(e),a=new Date;Math.floor((a-t)/315576e5)<18?($("#txtguardianname").prop("disabled",!1),$("#txtguardianaddress").prop("disabled",!1),$("#txtguardianrelation").prop("disabled",!1)):($("#txtguardianname").prop("disabled",!0),$("#txtguardianaddress").prop("disabled",!0),$("#txtguardianrelation").prop("disabled",!0))}}(e.data[0].minorDOB)}),(function(e){console.log(e.response)}))}()}),[]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloaderNominee",children:Object(ft.jsx)("div",{id:"statusNominee",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(m.v,{style:{backgroundColor:"white"},children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.m,{style:{borderRadius:8,flex:1,padding:"15px"},className:"needs-validation",onSubmit:function(e){return e.preventDefault(),z.handleSubmit(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Name of Nominee"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"nameofnominee",placeholder:"Name of Nominee",type:"text",className:"form-control",id:"txtnameofnominee",maxLength:"200",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.nameofnominee||"",style:{textTransform:"capitalize"},invalid:!!(z.errors&&z.errors.nameofnominee&&z.touched&&z.touched.nameofnominee),autoComplete:"off"}),z.errors&&z.errors.nameofnominee&&z.touched&&z.touched.nameofnominee?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.nameofnominee}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Address"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"address",placeholder:"Address",type:"text",className:"form-control",id:"txtaddress",maxLength:"500",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.address||"",invalid:!!(z.errors&&z.errors.address&&z.touched&&z.touched.address),autoComplete:"off"}),z.errors&&z.errors.address&&z.touched&&z.touched.address?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.address}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Relationship with the depositor if any"}),Object(ft.jsx)(m.p,{name:"relationshipwithdepositor",placeholder:"Relationship with the depositor",type:"text",className:"form-control",id:"txtrelationshipwithdepositor",maxLength:"50",autoComplete:"off",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.relationshipwithdepositor||"",invalid:!(!z.touched.relationshipwithdepositor||!z.errors.relationshipwithdepositor),autocomplete:"off"}),z.touched.relationshipwithdepositor&&z.errors.relationshipwithdepositor?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.relationshipwithdepositor}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:a,children:"Date of Birth"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)("div",{className:z.touched.minordob&&z.errors.minordob?"flatpickr-error-style":"flatpickr",children:Object(ft.jsx)(It.a,{id:"txtminordob",name:"minordob",placeholder:"Date of Birth",className:"form-control flatpickr ".concat(z.touched.minordob&&z.errors.minordob?"is-invalid":""),onBlur:z.handleBlur,onChange:function(e,t){Object(u.a)(e,1)[0];z.setFieldValue("minordob",t),function(e){if(""!=e){var t=new Date(e),a=new Date;Math.floor((a-t)/315576e5)<18?($("#txtguardianname").prop("disabled",!1),$("#txtguardianaddress").prop("disabled",!1),$("#txtguardianrelation").prop("disabled",!1)):($("#txtguardianname").prop("disabled",!0),$("#txtguardianaddress").prop("disabled",!0),$("#txtguardianrelation").prop("disabled",!0),$("#txtguardianname").prop("clear",!0))}}(t)},options:{dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"},value:z.values.minordob||""})}),Object(ft.jsx)("div",{children:z.touched.minordob&&z.errors.minordob?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.minordob}):null})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Guardian Name"}),Object(ft.jsx)(m.p,{name:"guardianname",placeholder:"Guardian Name",type:"text",className:"form-control",id:"txtguardianname",maxLength:"100",autoComplete:"off",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.guardianname||"",style:{textTransform:"capitalize"},invalid:!(!z.touched.guardianname||!z.errors.guardianname),autocomplete:"off"}),z.touched.guardianname&&z.errors.guardianname?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.guardianname}):null]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Guardian Address"}),Object(ft.jsx)(m.p,{name:"guardianaddress",placeholder:"Guardian Address",type:"text",className:"form-control",id:"txtguardianaddress",maxLength:"200",autoComplete:"off",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.guardianaddress||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Guardian Relation"}),Object(ft.jsx)(m.p,{name:"guardianrelation",placeholder:"Guardian Relation",type:"text",className:"form-control",id:"txtguardianrelation",maxLength:"50",autoComplete:"off",onChange:z.handleChange,onBlur:z.handleBlur,value:z.values.guardianrelation||"",invalid:!(!z.touched.guardianrelation||!z.errors.guardianrelation),autocomplete:"off"}),z.touched.guardianrelation&&z.errors.guardianrelation?Object(ft.jsx)(m.n,{type:"invalid",children:z.errors.guardianrelation}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"1"}
1),Object(ft.jsx)(m.f,{lg:"10"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){var e;(e=[{nameofnominee:void 0==z.errors.nameofnominee?z.values.nameofnominee:"",address:z.values.address,minordob:z.values.minordob,guardianname:void 0==z.errors.guardianname?0==z.values.guardianname.length?"guardianname":z.values.guardianname:"",guardianrelation:void 0==z.errors.guardianrelation?0==z.values.guardianrelation.length?"guardianrelation":z.values.guardianrelation:"",relationshipwithdepositor:void 0==z.errors.relationshipwithdepositor?0==z.values.relationshipwithdepositor.length?"relationshipwithdepositor":z.values.relationshipwithdepositor:""}],Object.keys(e[0]).map((function(t){return""===e[0][t]||void 0===e[0][t]})).includes(!0))||Q(t)},children:"Save"})})]})]})})})})]})}),Bt=function(e){var t=e.RegistrationId,a={color:"black"},s=Object(r.useState)([]),c=Object(u.a)(s,2),o=(c[0],c[1],Object(r.useState)("swing")),l=Object(u.a)(o,2),i=l[0],d=(l[1],Object(r.useState)("linear")),h=Object(u.a)(d,2),b=h[0],j=(h[1],Object(r.useState)("fadeIn")),x=Object(u.a)(j,2),O=x[0],f=(x[1],Object(r.useState)("fadeOut")),v=Object(u.a)(f,2),y=v[0],N=(v[1],Object(r.useState)(300)),A=Object(u.a)(N,2),k=A[0],C=(A[1],Object(r.useState)(1e3)),w=Object(u.a)(C,2),S=w[0],P=(w[1],Object(r.useState)(2e3)),T=Object(u.a)(P,2),I=T[0],E=(T[1],Object(r.useState)(1e3)),B=Object(u.a)(E,2),F=B[0];B[1];var R={RegistrationId:"",DebitCard:"",SMSBanking:"",MobileBanking:"",StatementOnEmail:"",AadhaarCardSeeding:"",InterntBanking:""};function L(e){var t,a,r,n,s,c="false";t=$("#switchdebitcard").prop("checked")?"true":"false",a=$("#switchsmsbanking").prop("checked")?"true":"false",r=$("#switchmobilebanking").prop("checked")?"true":"false",n=$("#switchemail").prop("checked")?"true":"false",s=$("#switchaadhaarcard").prop("checked")?"true":"false",c=$("#switchinternetbanking").prop("checked")?"true":"false",R.RegistrationId=e,R.DebitCard=t,R.SMSBanking=a,R.MobileBanking=r,R.StatementOnEmail=n,R.AadhaarCardSeeding=s,R.InterntBanking=c,p.a.post(le(),R,{headers:D()}).then((function(e){var t;"OK"==e.data.responseCode?(t=e.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:I,extendedTimeOut:F,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:i,hideEasing:b,showMethod:O,hideMethod:y,showDuration:k,hideDuration:S},mt.a.success(t,"Information")):function(e){mt.a.options={positionClass:"toast-top-center",timeOut:I,extendedTimeOut:F,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:i,hideEasing:b,showMethod:O,hideMethod:y,showDuration:k,hideDuration:S},mt.a.error(e,"Error")}(e.data.responseMessage)}))}return Object(r.useEffect)((function(){!function(){var e={RegistrationId:t};p.a.post(g+"/api/Registration/GetCustomerTechnoProductsDetails",e,{headers:D()}).then((function(e){var t;(t=e.data).length>0&&(t[0].debitCard?$("#switchdebitcard").prop("checked",!0):$("#switchdebitcard").prop("checked",!1),t[0].smsBanking?$("#switchsmsbanking").prop("checked",!0):$("#switchsmsbanking").prop("checked",!1),t[0].mobileBanking?$("#switchmobilebanking").prop("checked",!0):$("#switchmobilebanking").prop("checked",!1),t[0].statementOnEmail?$("#switchemail").prop("checked",!0):$("#switchemail").prop("checked",!1),t[0].aadhaarCardSeeding?$("#switchaadhaarcard").prop("checked",!0):$("#switchaadhaarcard").prop("checked",!1),t[0].interntBanking?$("#switchinternetbanking").prop("checked",!0):$("#switchinternetbanking").prop("checked",!1))}),(function(e){console.log(e.response)}))}()}),[]),Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(m.v,{style:{backgroundColor:"white"},children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.m,{style:{borderRadius:8,flex:1,padding:"15px"},className:"needs-validation",onSubmit:function(e){return e.preventDefault(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"Debit Cum ATM Card"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchdebitcard"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"SMS banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchsmsbanking"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"Mobile banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchmobilebanking"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"Statement on E-mail Id"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchemail"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"Aadhaar card seeding"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchaadhaarcard"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:a,children:"Internet banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchinternetbanking"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"11",children:[Object(ft.jsxs)(m.v,{style:a,children:["Note",Object(ft.jsx)("br",{}),"1. The Mobile Number and E-mail ID mentioned will be registered for the SMS, Mobile Banking and Statement on E-mail ID facility. (If opted by the customer)"]}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:a,children:"2. The service charges for the techno products will be applicable as per the rules and regulations of the bank."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:a,children:"3. If the answer to point no 5 if yes, kindly fill a separate Aadhar Seeding Form."}),Object(ft.jsx)("br",{})]}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){L(t)},children:"Save"})})]})]})})})})})},Dt=function(e){var t=e.RegistrationId,a={color:"black"},s={color:"red",fontWeight:"bold"};$(".d-block").flatpickr({dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"});var c=Object(r.useState)([]),o=Object(u.a)(c,2),l=(o[0],o[1],Object(r.useState)("swing")),i=Object(u.a)(l,2),d=i[0],h=(i[1],Object(r.useState)("linear")),b=Object(u.a)(h,2),j=b[0],x=(b[1],Object(r.useState)("fadeIn")),O=Object(u.a)(x,2),f=O[0],v=(O[1],Object(r.useState)("fadeOut")),y=Object(u.a)(v,2),N=y[0],A=(y[1],Object(r.useState)(300)),k=Object(u.a)(A,2),C=k[0],w=(k[1],Object(r.useState)(1e3)),S=Object(u.a)(w,2),P=S[0],T=(S[1],Object(r.useState)(2e3)),I=Object(u.a)(T,2),E=I[0],B=(I[1],Object(r.useState)(1e3)),F=Object(u.a)(B,2),R=F[0];F[1];function L(e){mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.error(e,"Error")}function M(e){G.values.periodyear="",G.values.periodmonth="",G.values.perioddays="",""!=e.target.value&&($("#rbautorenewalyes").prop("checked")?($("#txtperiodyear").prop("disabled",!1),$("#txtperiodmonth").prop("disabled",!1),$("#txtperioddays").prop("disabled",!1)):$("#rbautorenewalno").prop("checked")&&($("#txtperiodyear").prop("disabled",!0),$("#txtperiodmonth").prop("disabled",!0),$("#txtperioddays").prop("disabled",!0)))}var q=Object(r.useState)([]),V=Object(u.a)(q,2),W=V[0],U=V[1],G=Object(pt.a)({enableReinitialize:!0,initialValues:{depositamount:null==W.depositAmount?"":W.depositAmount,tenureyear:null==W.tenureYear?"":W.tenureYear,tenuremonth:null==W.tenureMonths?"":W.tenureMonths,tenuredays:null==W.tenureDays?""
1:W.tenureDays,bankname:null==W.bankName?"":W.bankName,branchname:null==W.branchName?"":W.branchName,accountnumber:null==W.accountNo?"":W.accountNo,ifsc:null==W.ifsc?"":W.ifsc,periodyear:null==W.periodYear||$("#rbautorenewalno").prop("checked")?"":W.periodYear,periodmonth:null==W.periodMonths||$("#rbautorenewalno").prop("checked")?"":W.periodMonths,perioddays:null==W.periodDays||$("#rbautorenewalno").prop("checked")?"":W.periodDays,tdsmembershipno:null==W.tdsMembershipNo?"":W.tdsMembershipNo},validationSchema:jt.c({depositamount:jt.d().required("Deposit Amount required"),tenureyear:jt.d().required("Years required"),tenuremonth:jt.d().required("Months required"),tenuredays:jt.d().required("Days required"),bankname:jt.d().required("Bank Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),branchname:jt.d().required("Branch Name required"),accountnumber:jt.d().required("Account Number required"),ifsc:jt.d().required("IFSC required")}),onSubmit:function(e){}});var Y={RegistrationId:"",DepositAmount:"",TenureYear:"",TenureMonths:"",TenureDays:"",InterestPayout:"",InterestPayoutMode:"",BankName:"",BranchName:"",AccountNo:"",IFSC:"",IsAutoRenewal:"",PeriodYear:"",PeriodMonths:"",PeriodDays:"",TDSMembershipNo:""};function K(e){var t=e.target.value;if(""==t)G.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&G.handleChange(e)}}function z(e){if($("#rbautorenewalyes").prop("checked")){if(""==$("#txtperiodyear").val().trim())return L("Please enter Period Year"),void $("#txtperiodyear").focus();if(""==$("#txtperiodmonth").val().trim())return L("Please enter Period Month"),void $("#txtperiodmonth").focus();if(""==$("#txtperioddays").val().trim())return L("Please enter Period Days"),void $("#txtperioddays").focus()}Y.RegistrationId=e,Y.DepositAmount=$("#txtdepositamount").val().trim(),Y.TenureYear=$("#txttenureyear").val().trim(),Y.TenureMonths=$("#txttenuremonth").val().trim(),Y.TenureDays=$("#txttenuredays").val().trim(),$("#rbmonthly").prop("checked")?Y.InterestPayout="Monthly":$("#rbquarterly").prop("checked")?Y.InterestPayout="Quarterly":$("#rbhalfyearly").prop("checked")?Y.InterestPayout="Half Yearly":$("#rbyearly").prop("checked")?Y.InterestPayout="Yearly":$("#rbonmaturity").prop("checked")&&(Y.InterestPayout="On Maturity"),$("#rbstandinginstructions").prop("checked")?Y.InterestPayoutMode="Standing Instructions":$("#rbecs").prop("checked")?Y.InterestPayoutMode="ECS":$("#rbpayorder").prop("checked")&&(Y.InterestPayoutMode="Pay Order"),Y.BankName=$("#txtbankname").val().trim(),Y.BranchName=$("#txtbranchname").val().trim(),Y.AccountNo=$("#txtaccountnumber").val().trim(),Y.IFSC=$("#txtifsc").val().trim(),$("#rbautorenewalyes").prop("checked")?Y.IsAutoRenewal="true":$("#rbautorenewalno").prop("checked")&&(Y.IsAutoRenewal="false"),$("#rbautorenewalyes").prop("checked")?(Y.PeriodYear=$("#txtperiodyear").val().trim(),Y.PeriodMonths=$("#txtperiodmonth").val().trim(),Y.PeriodDays=$("#txtperioddays").val().trim()):(Y.PeriodYear="",Y.PeriodMonths="",Y.PeriodDays=""),Y.TDSMembershipNo=$("#txttdsmembershipno").val().trim(),p.a.post(g+"/api/Registration/UpdateFDDetails",Y,{headers:D()}).then((function(e){var t;"OK"==e.data.responseCode?(t=e.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.success(t,"Information")):L(e.data.responseMessage)}))}return Object(r.useEffect)((function(){!function(){var e={RegistrationId:t};p.a.post(g+"/api/Registration/GetFDDetails",e,{headers:D()}).then((function(e){e.data.length>0&&(!function(e){null!=e.interestPayout&&("Monthly"==e.interestPayout?$("#rbmonthly").prop("checked",!0):"Quarterly"==e.interestPayout?$("#rbquarterly").prop("checked",!0):"Half Yearly"==e.interestPayout?$("#rbhalfyearly").prop("checked",!0):"Yearly"==e.interestPayout&&$("#rbyearly").prop("checked",!0));null!=e.interestPayoutMode&&("Standing Instructions"==e.interestPayoutMode?$("#rbstandinginstructions").prop("checked",!0):"ECS"==e.interestPayoutMode?$("#rbecs").prop("checked",!0):"Pay Order"==e.interestPayoutMode&&$("#rbpayorder").prop("checked",!0));null!=e.isAutoRenewal&&(1==e.isAutoRenewal?$("#rbautorenewalyes").prop("checked",!0):0==e.isAutoRenewal&&$("#rbautorenewalno").prop("checked",!0))}(e.data[0]),U(e.data[0]),$("#rbautorenewalyes").prop("checked")?($("#txtperiodyear").prop("disabled",!1),$("#txtperiodmonth").prop("disabled",!1),$("#txtperioddays").prop("disabled",!1)):$("#rbautorenewalno").prop("checked")&&($("#txtperiodyear").prop("disabled",!0),$("#txtperiodmonth").prop("disabled",!0),$("#txtperioddays").prop("disabled",!0)))}),(function(e){console.log(e.response)}))}()}),[]),Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(m.v,{style:{backgroundColor:"white"},children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.m,{style:{borderRadius:8,flex:1,padding:"15px"},className:"needs-validation",onSubmit:function(e){return e.preventDefault(),G.handleSubmit(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Deposit Amount"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"depositamount",placeholder:"Deposit Amount",type:"text",className:"form-control",id:"txtdepositamount",maxLength:"10",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.depositamount||"",invalid:!!(G.errors&&G.errors.depositamount&&G.touched&&G.touched.depositamount),autoComplete:"off"}),G.errors&&G.errors.depositamount&&G.touched&&G.touched.depositamount?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.depositamount}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Year"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"tenureyear",placeholder:"Years",type:"text",className:"form-control",id:"txttenureyear",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenureyear||"",invalid:!!(G.errors&&G.errors.tenureyear&&G.touched&&G.touched.tenureyear),autoComplete:"off"}),G.errors&&G.errors.tenureyear&&G.touched&&G.touched.tenureyear?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenureyear}):null]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Month"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)(m.p,{name:"tenuremonth",placeholder:"Months",type:"text",className:"form-control",id:"txttenuremonth",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenuremonth||"",invalid:!!(G.errors&&G.errors.tenuremonth&&G.touched&&G.touched.tenuremonth),autoComplete:"off"}),G.errors&&G.errors.tenuremonth&&G.touched&&G.touched.tenuremonth?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenuremonth}):null]})]}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Days"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)(m.p,{name:"tenuredays",placeholder:"Days",type:"text",className:"form-control",id:"txttenuredays",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenuredays||"",invalid:!!(G.errors&&G.errors.tenuredays&&G.touched&&G.touched.tenuredays),autoComplete:"off"}),G.errors&&G.errors.tenuredays&&G.touched&&G.touched.tenuredays?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenuredays}):null]})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{style:a,children:"Interest Payout"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbmonthly",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Monthly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbquarterly",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Quarterly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",style:{width:"110%"},children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbhalfyearly",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Half Yearly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbyearly",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Yearly"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbonmaturity",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"On Maturity"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{style:a,children:"Mode of Interest"}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbstandinginstructions",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Standing Instructions"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbecs",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"ECS"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbpayorder",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Pay Order"})]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)("label",{style:a,children:"Details of bank account in
1which interest payout/amount payable on maturity desired to be deposited"})})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Bank Name"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"bankname",placeholder:"Bank Name",type:"text",className:"form-control",id:"txtbankname",maxLength:"100",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.bankname||"",invalid:!!(G.errors&&G.errors.bankname&&G.touched&&G.touched.bankname),autoComplete:"off"}),G.errors&&G.errors.bankname&&G.touched&&G.touched.bankname?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.bankname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Branch Name"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"branchname",placeholder:"Branch Name",type:"text",className:"form-control",id:"txtbranchname",maxLength:"100",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.branchname||"",invalid:!!(G.errors&&G.errors.branchname&&G.touched&&G.touched.branchname),autoComplete:"off"}),G.errors&&G.errors.branchname&&G.touched&&G.touched.branchname?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.branchname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Account Number"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"accountnumber",placeholder:"Account Number",type:"text",className:"form-control",id:"txtaccountnumber",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.accountnumber||"",invalid:!!(G.errors&&G.errors.accountnumber&&G.touched&&G.touched.accountnumber),autoComplete:"off"}),G.errors&&G.errors.accountnumber&&G.touched&&G.touched.accountnumber?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.accountnumber}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"IFSC"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"ifsc",placeholder:"IFSC",type:"text",className:"form-control",id:"txtifsc",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.ifsc||"",invalid:!!(G.errors&&G.errors.ifsc&&G.touched&&G.touched.ifsc),autoComplete:"off"}),G.errors&&G.errors.ifsc&&G.touched&&G.touched.ifsc?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.ifsc}):null]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Auto renewal"}),Object(ft.jsxs)(m.f,{lg:"3",style:{display:"flex",marginTop:"10px"},children:[Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"autorenewal",id:"rbautorenewalyes",value:"option1",onClick:function(e){M(e),G.handleChange(e)},defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]}),Object(ft.jsxs)("div",{className:"form-check mb-3",style:{marginLeft:"10px"},children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"autorenewal",id:"rbautorenewalno",value:"option1",onClick:function(e){M(e),G.handleChange(e)}}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"No"})]})]})]}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Period Year"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"periodyear",placeholder:"Years",type:"text",className:"form-control",id:"txtperiodyear",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.periodyear||"",autoComplete:"off"})]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Period Month"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)(m.p,{name:"periodmonth",placeholder:"Months",type:"text",className:"form-control",id:"txtperiodmonth",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.periodmonth||"",autoComplete:"off"})})]}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Period Days"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)(m.p,{name:"perioddays",placeholder:"Days",type:"text",className:"form-control",id:"txtperioddays",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.perioddays||"",autoComplete:"off"})})]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"12",children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)("label",{style:a,children:"About TDS: Deduct 15G/15H/Membership Number"})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.p,{name:"tdsmembershipno",placeholder:"Membership Number",type:"text",className:"form-control",id:"txttdsmembershipno",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.tdsmembershipno||"",autoComplete:"off"})})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"1"}
1),Object(ft.jsx)(m.f,{lg:"10"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){var e;(e=[{depositamount:G.values.depositamount,tenureyear:G.values.tenureyear,tenuremonth:G.values.tenuremonth,tenuredays:G.values.tenuredays,bankname:void 0==G.errors.bankname?G.values.bankname:"",branchname:G.values.branchname,accountnumber:G.values.accountnumber,ifsc:G.values.ifsc}],Object.keys(e[0]).map((function(t){return""===e[0][t]||void 0===e[0][t]})).includes(!0))||z(t)},children:"Save"})})]}),Object(ft.jsx)(m.v,{})]})})})})})},Ft=function(e){var t=e.RegistrationId,a={color:"black"},s={color:"red",fontWeight:"bold"};$(".d-block").flatpickr({dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"});var c=Object(r.useState)([]),o=Object(u.a)(c,2),l=(o[0],o[1],Object(r.useState)("swing")),i=Object(u.a)(l,2),d=i[0],h=(i[1],Object(r.useState)("linear")),b=Object(u.a)(h,2),j=b[0],x=(b[1],Object(r.useState)("fadeIn")),O=Object(u.a)(x,2),f=O[0],v=(O[1],Object(r.useState)("fadeOut")),y=Object(u.a)(v,2),N=y[0],A=(y[1],Object(r.useState)(300)),k=Object(u.a)(A,2),C=k[0],w=(k[1],Object(r.useState)(1e3)),S=Object(u.a)(w,2),P=S[0],T=(S[1],Object(r.useState)(2e3)),I=Object(u.a)(T,2),E=I[0],B=(I[1],Object(r.useState)(1e3)),F=Object(u.a)(B,2),R=F[0];F[1];function L(e){mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.error(e,"Error")}function M(e){G.values.periodyearrd="",G.values.periodmonthrd="",G.values.perioddaysrd="",""!=e.target.value&&($("#rbautorenewalyesrd").prop("checked")?($("#txtperiodyearrd").prop("disabled",!1),$("#txtperiodmonthrd").prop("disabled",!1),$("#txtperioddaysrd").prop("disabled",!1)):$("#rbautorenewalnord").prop("checked")&&($("#txtperiodyearrd").prop("disabled",!0),$("#txtperiodmonthrd").prop("disabled",!0),$("#txtperioddaysrd").prop("disabled",!0)))}var q=Object(r.useState)([]),V=Object(u.a)(q,2),W=V[0],U=V[1],G=Object(pt.a)({enableReinitialize:!0,initialValues:{depositamountrd:null==W.depositAmount?"":W.depositAmount,tenureyearrd:null==W.tenureYear?"":W.tenureYear,tenuremonthrd:null==W.tenureMonths?"":W.tenureMonths,tenuredaysrd:null==W.tenureDays?""
1:W.tenureDays,banknamerd:null==W.bankName?"":W.bankName,branchnamerd:null==W.branchName?"":W.branchName,accountnumberrd:null==W.accountNo?"":W.accountNo,ifscrd:null==W.ifsc?"":W.ifsc,periodyearrd:null==W.periodYear||$("#rbautorenewalnord").prop("checked")?"":W.periodYear,periodmonthrd:null==W.periodMonths||$("#rbautorenewalnord").prop("checked")?"":W.periodMonths,perioddaysrd:null==W.periodDays||$("#rbautorenewalnord").prop("checked")?"":W.periodDays,debitaccountno:null==W.debitAccountNo?"":W.debitAccountNo,rdamount:null==W.rdAmount?"":W.rdAmount,rdmonths:null==W.rdMonths?"":W.rdMonths},validationSchema:jt.c({depositamountrd:jt.d().required("Deposit Amount required"),tenureyearrd:jt.d().required("Years required"),tenuremonthrd:jt.d().required("Months required"),tenuredaysrd:jt.d().required("Days required"),banknamerd:jt.d().required("Bank Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),branchnamerd:jt.d().required("Branch Name required"),accountnumberrd:jt.d().required("Account Number required"),ifscrd:jt.d().required("IFSC required"),debitaccountno:jt.d().required("Debit Account Number required"),rdamount:jt.d().required("Amount required"),rdmonths:jt.d().required("Number of Months required")}),onSubmit:function(e){}});var Y={RegistrationId:"",DepositAmount:"",TenureYear:"",TenureMonths:"",TenureDays:"",InterestPayout:"",InterestPayoutMode:"",BankName:"",BranchName:"",AccountNo:"",IFSC:"",IsAutoRenewal:"",PeriodYear:"",PeriodMonths:"",PeriodDays:"",DebitAccountNo:"",RDAmount:"",RDMonths:""};function K(e){var t=e.target.value;if(""==t)G.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&G.handleChange(e)}}function z(e){if($("#rbautorenewalyesrd").prop("checked")){if(""==$("#txtperiodyearrd").val().trim())return L("Please enter Period Year"),void $("#txtperiodyearrd").focus();if(""==$("#txtperiodmonthrd").val().trim())return L("Please enter Period Month"),void $("#txtperiodmonthrd").focus();if(""==$("#txtperioddaysrd").val().trim())return L("Please enter Period Days"),void $("#txtperioddaysrd").focus()}Y.RegistrationId=e,Y.DepositAmount=$("#txtdepositamountrd").val().trim(),Y.TenureYear=$("#txttenureyearrd").val().trim(),Y.TenureMonths=$("#txttenuremonthrd").val().trim(),Y.TenureDays=$("#txttenuredaysrd").val().trim(),$("#rbmonthlyrd").prop("checked")?Y.InterestPayout="Monthly":$("#rbquarterlyrd").prop("checked")?Y.InterestPayout="Quarterly":$("#rbhalfyearlyrd").prop("checked")?Y.InterestPayout="Half Yearly":$("#rbyearlyrd").prop("checked")?Y.InterestPayout="Yearly":$("#rbonmaturityrd").prop("checked")&&(Y.InterestPayout="On Maturity"),$("#rbstandinginstructionsrd").prop("checked")?Y.InterestPayoutMode="Standing Instructions":$("#rbecsrd").prop("checked")?Y.InterestPayoutMode="ECS":$("#rbpayorderrd").prop("checked")&&(Y.InterestPayoutMode="Pay Order"),Y.BankName=$("#txtbanknamerd").val().trim(),Y.BranchName=$("#txtbranchnamerd").val().trim(),Y.AccountNo=$("#txtaccountnumberrd").val().trim(),Y.IFSC=$("#txtifscrd").val().trim(),$("#rbautorenewalyesrd").prop("checked")?Y.IsAutoRenewal="true":$("#rbautorenewalnord").prop("checked")&&(Y.IsAutoRenewal="false"),$("#rbautorenewalyesrd").prop("checked")?(Y.PeriodYear=$("#txtperiodyearrd").val().trim(),Y.PeriodMonths=$("#txtperiodmonthrd").val().trim(),Y.PeriodDays=$("#txtperioddaysrd").val().trim()):(Y.PeriodYear="",Y.PeriodMonths="",Y.PeriodDays=""),Y.DebitAccountNo=$("#txtdebitaccountno").val().trim(),Y.RDAmount=$("#txtrdamount").val().trim(),Y.RDMonths=$("#txtrdmonths").val().trim(),p.a.post(g+"/api/Registration/UpdateRDDetails",Y,{headers:D()}).then((function(e){var t;"OK"==e.data.responseCode?(t=e.data.responseMessage,mt.a.options={positionClass:"toast-top-center",timeOut:E,extendedTimeOut:R,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:d,hideEasing:j,showMethod:f,hideMethod:N,showDuration:C,hideDuration:P},mt.a.success(t,"Information")):L(e.data.responseMessage)}))}return Object(r.useEffect)((function(){!function(){var e={RegistrationId:t};p.a.post(g+"/api/Registration/GetRDDetails",e,{headers:D()}).then((function(e){e.data.length>0&&(!function(e){null!=e.interestPayout&&("Monthly"==e.interestPayout?$("#rbmonthlyrd").prop("checked",!0):"Quarterly"==e.interestPayout?$("#rbquarterlyrd").prop("checked",!0):"Half Yearly"==e.interestPayout?$("#rbhalfyearlyrd").prop("checked",!0):"Yearly"==e.interestPayout&&$("#rbyearlyrd").prop("checked",!0));null!=e.interestPayoutMode&&("Standing Instructions"==e.interestPayoutMode?$("#rbstandinginstructionsrd").prop("checked",!0):"ECS"==e.interestPayoutMode?$("#rbecsrd").prop("checked",!0):"Pay Order"==e.interestPayoutMode&&$("#rbpayorderrd").prop("checked",!0));null!=e.isAutoRenewal&&(1==e.isAutoRenewal?$("#rbautorenewalyesrd").prop("checked",!0):0==e.isAutoRenewal&&$("#rbautorenewalnord").prop("checked",!0))}(e.data[0]),U(e.data[0]),$("#rbautorenewalyesrd").prop("checked")?($("#txtperiodyearrd").prop("disabled",!1),$("#txtperiodmonthrd").prop("disabled",!1),$("#txtperioddaysrd").prop("disabled",!1)):$("#rbautorenewalnord").prop("checked")&&($("#txtperiodyearrd").prop("disabled",!0),$("#txtperiodmonthrd").prop("disabled",!0),$("#txtperioddaysrd").prop("disabled",!0)))}),(function(e){console.log(e.response)}))}()}),[]),Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(m.v,{style:{backgroundColor:"white"},children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.m,{style:{borderRadius:8,flex:1,padding:"15px"},className:"needs-validation",onSubmit:function(e){return e.preventDefault(),G.handleSubmit(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Deposit Amount"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"depositamountrd",placeholder:"Deposit Amount",type:"text",className:"form-control",id:"txtdepositamountrd",maxLength:"10",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.depositamountrd||"",invalid:!!(G.errors&&G.errors.depositamountrd&&G.touched&&G.touched.depositamountrd),autoComplete:"off"}),G.errors&&G.errors.depositamountrd&&G.touched&&G.touched.depositamountrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.depositamountrd}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Year"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"tenureyearrd",placeholder:"Years",type:"text",className:"form-control",id:"txttenureyearrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenureyearrd||"",invalid:!!(G.errors&&G.errors.tenureyearrd&&G.touched&&G.touched.tenureyearrd),autoComplete:"off"}),G.errors&&G.errors.tenureyearrd&&G.touched&&G.touched.tenureyearrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenureyearrd}):null]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Month"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)(m.p,{name:"tenuremonthrd",placeholder:"Months",type:"text",className:"form-control",id:"txttenuremonthrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenuremonthrd||"",invalid:!!(G.errors&&G.errors.tenuremonthrd&&G.touched&&G.touched.tenuremonthrd),autoComplete:"off"}),G.errors&&G.errors.tenuremonthrd&&G.touched&&G.touched.tenuremonthrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenuremonthrd}):null]})]}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Tenure Days"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)(m.p,{name:"tenuredaysrd",placeholder:"Days",type:"text",className:"form-control",id:"txttenuredaysrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.tenuredaysrd||"",invalid:!!(G.errors&&G.errors.tenuredaysrd&&G.touched&&G.touched.tenuredaysrd),autoComplete:"off"}),G.errors&&G.errors.tenuredaysrd&&G.touched&&G.touched.tenuredaysrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.tenuredaysrd}):null]})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{style:a,children:"Interest Payout"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbmonthlyrd",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Monthly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbquarterlyrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Quarterly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",style:{width:"110%"},children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbhalfyearlyrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Half Yearly"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbyearlyrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Yearly"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestpayout",id:"rbonmaturityrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"On Maturity"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{style:a,children:"Mode of Interest"}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbstandinginstructionsrd",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Standing Instructions"})]})}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbecsrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"ECS"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"interestmode",id:"rbpayorderrd",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Pay Order"})]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)("label",{style:a,children:"Details of bank account in
1which interest payout/amount payable on maturity desired to be deposited"})})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Bank Name"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"banknamerd",placeholder:"Bank Name",type:"text",className:"form-control",id:"txtbanknamerd",maxLength:"100",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.banknamerd||"",invalid:!!(G.errors&&G.errors.banknamerd&&G.touched&&G.touched.banknamerd),autoComplete:"off"}),G.errors&&G.errors.banknamerd&&G.touched&&G.touched.banknamerd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.banknamerd}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Branch Name"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"branchnamerd",placeholder:"Branch Name",type:"text",className:"form-control",id:"txtbranchnamerd",maxLength:"100",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.branchnamerd||"",invalid:!!(G.errors&&G.errors.branchnamerd&&G.touched&&G.touched.branchnamerd),autoComplete:"off"}),G.errors&&G.errors.branchnamerd&&G.touched&&G.touched.branchnamerd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.branchnamerd}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Account Number"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"accountnumberrd",placeholder:"Account Number",type:"text",className:"form-control",id:"txtaccountnumberrd",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.accountnumberrd||"",invalid:!!(G.errors&&G.errors.accountnumberrd&&G.touched&&G.touched.accountnumberrd),autoComplete:"off"}),G.errors&&G.errors.accountnumberrd&&G.touched&&G.touched.accountnumberrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.accountnumberrd}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"IFSC"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"ifscrd",placeholder:"IFSC",type:"text",className:"form-control",id:"txtifscrd",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.ifscrd||"",invalid:!!(G.errors&&G.errors.ifscrd&&G.touched&&G.touched.ifscrd),autoComplete:"off"}),G.errors&&G.errors.ifscrd&&G.touched&&G.touched.ifscrd?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.ifscrd}):null]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Auto renewal"}),Object(ft.jsxs)(m.f,{lg:"3",style:{display:"flex",marginTop:"10px"},children:[Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"autorenewal",id:"rbautorenewalyesrd",value:"option1",onClick:function(e){M(e),G.handleChange(e)},defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]}),Object(ft.jsxs)("div",{className:"form-check mb-3",style:{marginLeft:"10px"},children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"autorenewal",id:"rbautorenewalnord",value:"option1",onClick:function(e){M(e),G.handleChange(e)}}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"No"})]})]})]}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Period Year"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"periodyearrd",placeholder:"Years",type:"text",className:"form-control",id:"txtperiodyearrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.periodyearrd||"",autoComplete:"off"})]})}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Period Month"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)(m.p,{name:"periodmonthrd",placeholder:"Months",type:"text",className:"form-control",id:"txtperiodmonthrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.periodmonthrd||"",autoComplete:"off"})})]}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:a,children:"Period Days"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.o,{className:"mb-4",children:Object(ft.jsx)(m.p,{name:"perioddaysrd",placeholder:"Days",type:"text",className:"form-control",id:"txtperioddaysrd",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.perioddaysrd||"",autoComplete:"off"})})]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("label",{style:a,children:"Instructions for deduction of RD installment"})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Debit SB/CA/CC/ A/c Number"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"debitaccountno",placeholder:"Debit Account Number",type:"text",className:"form-control",id:"txtdebitaccountno",maxLength:"20",onChange:G.handleChange,onBlur:G.handleBlur,value:G.values.debitaccountno||"",invalid:!!(G.errors&&G.errors.debitaccountno&&G.touched&&G.touched.debitaccountno),autoComplete:"off"}),G.errors&&G.errors.debitaccountno&&G.touched&&G.touched.debitaccountno?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.debitaccountno}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Amount"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"rdamount",placeholder:"Amount",type:"text",className:"form-control",id:"txtrdamount",maxLength:"10",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.rdamount||"",invalid:!!(G.errors&&G.errors.rdamount&&G.touched&&G.touched.rdamount),autoComplete:"off"}),G.errors&&G.errors.rdamount&&G.touched&&G.touched.rdamount?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.rdamount}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:a,children:"Number of Months"}),Object(ft.jsx)("span",{style:s,children:"*"}),Object(ft.jsx)(m.p,{name:"rdmonths",placeholder:"Number of Months",type:"text",className:"form-control",id:"txtrdmonths",maxLength:"2",onChange:function(e){K(e)},onBlur:G.handleBlur,value:G.values.rdmonths||"",invalid:!!(G.errors&&G.errors.rdmonths&&G.touched&&G.touched.rdmonths),autoComplete:"off"}),G.errors&&G.errors.rdmonths&&G.touched&&G.touched.rdmonths?Object(ft.jsx)(m.n,{type:"invalid",children:G.errors.rdmonths}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"1"}
1),Object(ft.jsx)(m.f,{lg:"10"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){var e;(e=[{depositamountrd:G.values.depositamountrd,tenureyearrd:G.values.tenureyearrd,tenuremonthrd:G.values.tenuremonthrd,tenuredaysrd:G.values.tenuredaysrd,banknamerd:void 0==G.errors.banknamerd?G.values.banknamerd:"",branchnamerd:G.values.branchnamerd,accountnumberrd:G.values.accountnumberrd,ifscrd:G.values.ifscrd,debitaccountno:G.values.debitaccountno,rdamount:G.values.rdamount,rdmonths:G.values.rdmonths}],Object.keys(e[0]).map((function(t){return""===e[0][t]||void 0===e[0][t]})).includes(!0))||z(t)},children:"Save"})})]}),Object(ft.jsx)(m.v,{})]})})})})})},Rt=a(13),Lt=a.n(Rt),Mt="CHANGE_LAYOUT",qt="CHANGE_LAYOUT_WIDTH",$t="CHANGE_SIDEBAR_THEME",Vt="CHANGE_SIDEBAR_THEME_IMAGE",Wt="CHANGE_SIDEBAR_TYPE",Ut="CHANGE_TOPBAR_THEME",Gt="SHOW_SIDEBAR",Yt="TOGGLE_LEFTMENU",Kt="SHOW_RIGHT_SIDEBAR",zt="CHANGE_PRELOADER",Jt=function(e){return{type:Mt,payload:e}},Qt=function(e){return{type:qt,payload:e}},Ht=function(e){return{type:$t,payload:e}},Zt=function(e){return{type:Vt,payload:e}},Xt=function(e,t){return{type:Wt,payload:{sidebarType:e,isMobile:t}}},_t=function(e){return{type:Ut,payload:e}},ea=function(e){return{type:Kt,payload:e}},ta=function(e){return{type:Yt,payload:e}},aa="register_user",ra="register_user_successfull",na="register_user_failed",sa=function(e){return{type:ra,payload:e}},ca=function(e){return{type:na,payload:e}},oa="LOGIN_USER",la="LOGIN_SUCCESS",ia="LOGOUT_USER",da="LOGOUT_USER_SUCCESS",ua="LOGIN_API_ERROR",ha="SOCIAL_LOGIN",ba=function(e){return{type:la,payload:e}},ma=function(e){return{type:ua,payload:e}},ja="FORGET_PASSWORD",pa="FORGET_PASSWORD_SUCCESS",xa="FORGET_PASSWORD_ERROR",Oa=function(e){return{type:pa,payload:e}},fa="EDIT_PROFILE",va="PROFILE_SUCCESS",ga="PROFILE_ERROR",ya="RESET_PROFILE_FLAG",Na=function(e){return{type:va,payload:e}},Aa=function(e){return{type:ga,payload:e}},ka="GET_PRODUCTS",Ca="GET_PRODUCTS_SUCCESS",wa="GET_PRODUCTS_FAIL",Sa="GET_PRODUCT_DETAIL",Pa="GET_PRODUCT_DETAIL_SUCCESS",Ta="GET_PRODUCT_DETAIL_FAIL",Ia="GET_PRODUCT_COMMENTS",Ea="GET_PRODUCT_COMMENTS_SUCCESS",Ba="GET_PRODUCT_COMMENTS_FAIL",Da="ON_LIKE_COMMENT",Fa="ON_LIKE_COMMENT_SUCCESS",Ra="ON_LIKE_REPLY",La="ON_LIKE_REPLY_SUCCESS",Ma="ON_ADD_REPLY",qa="ON_ADD_REPLY_SUCCESS",$a="ON_ADD_COMMENT",Va="ON_ADD_COMMENT_SUCCESS",Wa="GET_ORDERS",Ua="GET_ORDERS_SUCCESS",Ga="GET_ORDERS_FAIL",Ya="ADD_NEW_ORDER",Ka="ADD_ORDER_SUCCESS",za="ADD_ORDER_FAIL",Ja="UPDATE_ORDER",Qa="UPDATE_ORDER_SUCCESS",Ha="UPDATE_ORDER_FAIL",Za="DELETE_ORDER",Xa="DELETE_ORDER_SUCCESS",_a="DELETE_ORDER_FAIL",er="GET_CART_DATA",tr="GET_CART_DATA_SUCCESS",ar="GET_CART_DATA_FAIL",rr="GET_CUSTOMERS",nr="GET_CUSTOMERS_SUCCESS",sr="GET_CUSTOMERS_FAIL",cr="ADD_NEW_CUSTOMER",or="ADD_CUSTOMER_SUCCESS",lr="ADD_CUSTOMER_FAIL",ir="UPDATE_CUSTOMER",dr="UPDATE_CUSTOMER_SUCCESS",ur="UPDATE_CUSTOMER_FAIL",hr="DELETE_CUSTOMER",br="DELETE_CUSTOMER_SUCCESS",mr="DELETE_CUSTOMER_FAIL",jr="GET_SHOPS",pr="GET_SHOPS_SUCCESS",xr="GET_SHOPS_FAIL",Or=function(e){return{type:wa,payload:e}},fr=function(e){return{type:Ta,payload:e}},vr=function(e){return{type:Ga,payload:e}},gr=function(e){return{type:Ka,payload:e}},yr=function(e){return{type:za,payload:e}},Nr=function(e){return{type:Qa,payload:e}},Ar=function(e){return{type:Ha,payload:e}},kr=function(e){return{type:Xa,payload:e}},Cr=function(e){return{type:_a,payload:e}},wr=function(e){return{type:ar,payload:e}},Sr=function(e){return{type:sr,payload:e}},Pr=function(e){return{type:or,payload:e}},Tr=function(e){return{type:lr,payload:e}},Ir=function(e){return{type:dr,payload:e}},Er=function(e){return{type:ur,payload:e}},Br=function(e){return{type:br,payload:e}},Dr=function(e){return{type:mr,payload:e}},Fr=function(e){return{type:xr,payload:e}},Rr=function(e){return{type:Ba,payload:e}},Lr=function(e){return{type:"ON_LIKE_COMMENT_FAIL",payload:e}},Mr=function(e){return{type:"ON_LIKE_REPLY_FAIL",payload:e}},qr=function(e){return{type:"ON_ADD_REPLY_FAIL",payload:e}},$r=function(e){return{type:"ON_ADD_COMMENT_FAIL",payload:e}},Vr="GET_EVENTS",Wr="GET_EVENTS_SUCCESS",Ur="GET_EVENTS_FAIL",Gr="ADD_NEW_EVENT",Yr="ADD_EVENT_SUCCESS",Kr="ADD_EVENT_FAIL",zr="UPDATE_EVENT",Jr="UPDATE_EVENT_SUCCESS",Qr="UPDATE_EVENT_FAIL",Hr="DELETE_EVENT",Zr="DELETE_EVENT_SUCCESS",Xr="DELETE_EVENT_FAIL",_r="GET_CATEGORIES",en="GET_CATEGORIES_SUCCESS",tn="GET_CATEGORIES_FAIL",an=function(e){return{type:Ur,payload:e}}
1,rn=function(e){return{type:Yr,payload:e}},nn=function(e){return{type:Kr,payload:e}},sn=function(e){return{type:Jr,payload:e}},cn=function(e){return{type:Qr,payload:e}},on=function(e){return{type:Zr,payload:e}},ln=function(e){return{type:Xr,payload:e}},dn=function(e){return{type:tn,payload:e}},un="GET_CHATS",hn="GET_CHATS_SUCCESS",bn="GET_CHATS_FAIL",mn="GET_GROUPS",jn="GET_GROUPS_SUCCESS",pn="GET_GROUPS_FAIL",xn="GET_CONTACTS",On="GET_CONTACTS_SUCCESS",fn="GET_CONTACTS_FAIL",vn="GET_MESSAGES",gn="GET_MESSAGES_SUCCESS",yn="GET_MESSAGES_FAIL",Nn="POST_ADD_MESSAGE",An="POST_ADD_MESSAGE_SUCCESS",kn="POST_ADD_MESSAGE_FAIL",Cn=function(e){return{type:bn,payload:e}},wn=function(e){return{type:pn,payload:e}},Sn=function(e){return{type:fn,payload:e}},Pn=function(e){return{type:yn,payload:e}},Tn=function(e){return{type:An,payload:e}},In=function(e){return{type:kn,payload:e}},En="GET_WALLET",Bn="GET_WALLET_SUCCESS",Dn="GET_WALLET_FAIL",Fn="GET_CRYPTO_ORDERS",Rn="GET_CRYPTO_ORDERS_SUCCESS",Ln="GET_CRYPTO_ORDERS_FAIL",Mn=function(e){return{type:Dn,payload:e}},qn=function(e){return{type:Ln,payload:e}},$n="GET_INVOICES",Vn="GET_INVOICES_SUCCESS",Wn="GET_INVOICES_FAIL",Un="GET_INVOICE_DETAIL",Gn="GET_INVOICE_DETAIL_SUCCESS",Yn="GET_INVOICE_DETAIL_FAIL",Kn=function(e){return{type:Wn,payload:e}},zn=function(e){return{type:Yn,payload:e}},Jn="GET_PROJECTS",Qn="GET_PROJECTS_SUCCESS",Hn="GET_PROJECTS_FAIL",Zn="GET_PROJECT_DETAIL",Xn="GET_PROJECT_DETAIL_SUCCESS",_n="GET_PROJECT_DETAIL_FAIL",es="ADD_NEW_PROJECT",ts="ADD_PROJECT_SUCCESS",as="ADD_PROJECT_FAIL",rs="UPDATE_PROJECT",ns="UPDATE_PROJECT_SUCCESS",ss="UPDATE_PROJECT_FAIL",cs="DELETE_PROJECT",os="DELETE_PROJECT_SUCCESS",ls="DELETE_PROJECT_FAIL",is=function(e){return{type:ts,payload:e}},ds=function(e){return{type:as,payload:e}},us=function(e){return{type:ns,payload:e}},hs=function(e){return{type:ss,payload:e}},bs=function(e){return{type:os,payload:e}},ms=function(e){return{type:ls,payload:e}},js=function(e){return{type:Hn,payload:e}},ps=function(e){return{type:_n,payload:e}},xs="GET_TASKS",Os="GET_TASKS_SUCCESS",fs="GET_TASKS_FAIL",vs=function(e){return{type:fs,payload:e}},gs="GET_USERS",ys="GET_USERS_SUCCESS",Ns="GET_USERS_FAIL",As="GET_USER_PROFILE",ks="GET_USER_PROFILE_SUCCESS",Cs="GET_USER_PROFILE_FAIL",ws="ADD_NEW_USER",Ss="ADD_USER_SUCCESS",Ps="ADD_USER_FAIL",Ts="UPDATE_USER",Is="UPDATE_USER_SUCCESS",Es="UPDATE_USER_FAIL",Bs="DELETE_USER",Ds="DELETE_USER_SUCCESS",Fs="DELETE_USER_FAIL",Rs=function(e){return{type:Ss,payload:e}},Ls=function(e){return{type:Ps,payload:e}},Ms=function(e){return{type:Ns,payload:e}},qs=function(e){return{type:Cs,payload:e}},$s=function(e){return{type:Is,payload:e}},Vs=function(e){return{type:Es,payload:e}},Ws=function(e){return{type:Ds,payload:e}},Us=function(e){return{type:Fs,payload:e}},Gs="GET_INBOX_MAILS",Ys="GET_INBOX_MAILS_SUCCESS",Ks="GET_INBOX_MAILS_FAIL",zs="ADD_NEW_INBOX_MAIL",Js="ADD_INBOX_MAIL_SUCCESS",Qs="ADD_INBOX_MAIL_FAIL",Hs="DELETE_INBOX_MAIL",Zs="DELETE_INBOX_MAIL_SUCCESS",Xs="DELETE_INBOX_MAIL_FAIL",_s="GET_STARRED_MAILS",ec="GET_STARRED_MAILS_SUCCESS",tc="GET_STARRED_MAILS_FAIL",ac="GET_IMPORTANT_MAILS",rc="GET_IMPORTANT_MAILS_SUCCESS",nc="GET_IMPORTANT_MAILS_FAIL",sc="GET_SENT_MAILS",cc="GET_SENT_MAILS_SUCCESS",oc="GET_SENT_MAILS_FAIL",lc="GET_DRAFT_MAILS",ic="GET_DRAFT_MAILS_SUCCESS",dc="GET_DRAFT_MAILS_FAIL",uc="GET_TRASH_MAILS",hc="GET_TRASH_MAILS_SUCCESS",bc="GET_TRASH_MAILS_FAIL",mc=function(e){return{type:Ks,payload:e}},jc=function(e){return{type:Js,payload:e}},pc=function(e){return{type:Qs,payload:e}},xc=function(e){return{type:Zs,payload:e}},Oc=function(e){return{type:Xs,payload:e}},fc=function(e){return{type:tc,payload:e}},vc=function(e){return{type:nc,payload:e}},gc=function(e){return{type:dc,payload:e}},yc=function(e){return{type:oc,payload:e}},Nc=function(e){return{type:bc,payload:e}},Ac="API_SUCCESS",kc="API_FAIL",Cc="GET_CHARTS_DATA",wc=function(e,t){return{type:kc,payload:{actionType:e,error:t}}},Sc="API_SUCCESS",Pc="API_FAIL",Tc="GET_TOP_SELLING_PRODUCT",Ic="GET_EARNING_DATA",Ec=function(e,t){return{type:Sc,payload:{actionType:e,data:t}}},Bc=function(e,t){return{type:Pc,payload:{actionType:e,error:t}}}
1,Dc="GET_STATE",Fc="GET_STATE_SUCCESS",Rc=" GET_STATE_FAIL",Lc="GET_OCCUPATION",Mc="GET_OCCUPATION_SUCCESS",qc="GET_OCCUPATION_FAIL",$c="GET_RELATEDPERSONTYPE",Vc="GET_RELATEDPERSONTYPE_SUCCESS",Wc="GET_RELATEDPERSONTYPE_FAIL",Uc="GET_EDUCATION",Gc="GET_EDUCATION_SUCCESS",Yc="GET_EDUCATION_FAIL",Kc="GET_OCCUPATIONDETAILS",zc="GET_OCCUPATIONDETAILS_SUCCESS",Jc="GET_OCCUPATIONDETAILS_FAIL",Qc="GET_ASSETDETAILS",Hc="GET_ASSETDETAILS_SUCCESS",Zc="GET_ASSETDETAILS_FAIL",Xc="GET_OTHERBANKACCOUNTS",_c="GET_OTHERBANKACCOUNTS_SUCCESS",eo="GET_OTHERBANKACCOUNTS_FAIL",to="GET_ACCOUNTTYPE",ao="GET_ACCOUNTTYPE_SUCCESS",ro="GET_ACCOUNTTYPE_FAIL",no="GET_ENTITYTYPE",so="GET_ENTITYTYPE_SUCCESS",co="GET_ENTITYTYPE_FAIL",oo="GET_LOCATION",lo="GET_LOCATION_SUCCESS",io="GET_LOCATION_FAIL",uo="GET_BRANCH",ho="GET_BRANCH_SUCCESS",bo="GET_BRANCH_FAIL",mo="GET_POI",jo="GET_POI_SUCCESS",po="GET_POI_FAIL",xo="GET_REASON_TO_BECOME_CUSTOMER",Oo="GET_REASON_TO_BECOME_CUSTOMER_SUCCESS",fo="GET_REASON_TO_BECOME_CUSTOMER_FAIL",vo=function(){return{type:Dc}},go=function(e){return{type:Rc,payload:e}},yo=function(){return{type:Lc}},No=function(e){return{type:qc,payload:e}},Ao=function(){return{type:$c}},ko=function(e){return{type:Wc,payload:e}},Co=function(){return{type:Uc}},wo=function(e){return{type:Yc,payload:e}},So=function(){return{type:Kc}},Po=function(e){return{type:Jc,payload:e}},To=function(){return{type:Qc}},Io=function(e){return{type:Zc,payload:e}},Eo=function(){return{type:Xc}},Bo=function(e){return{type:eo,payload:e}},Do=function(){return{type:to}},Fo=function(e){return{type:ro,payload:e}},Ro=function(){return{type:no}},Lo=function(e){return{type:co,payload:e}},Mo=function(){return{type:oo}},qo=function(e){return{type:io,payload:e}},$o=function(e){return{type:bo,payload:e}},Vo=function(){return{type:mo}},Wo=function(e){return{type:po,payload:e}},Uo=function(){return{type:xo}},Go=function(e){return{type:fo,payload:e}},Yo=function(){var e="",t=Object(i.c)(),a=Object(r.useState)([]),s=Object(u.a)(a,2),c=s[0],o=s[1],d=Object(r.useState)(""),h=Object(u.a)(d,2),j=h[0],x=h[1],O=Object(r.useState)(""),f=Object(u.a)(O,2),v=f[0],y=f[1],N=Object(i.d)((function(e){return{accountTypeData:e.Registration.accountTypeData}})).accountTypeData,A=Object(i.d)((function(e){return{entityTypeData:e.Registration.entityTypeData}})).entityTypeData,k=Object(i.d)((function(e){return{locationData:e.Registration.locationData}})).locationData;var C=Object(r.useState)([]),w=Object(u.a)(C,2),S=w[0],P=w[1],T=Object(r.useState)(!1),I=Object(u.a)(T,2),E=I[0],B=I[1],F=Object(r.useState)("swing"),R=Object(u.a)(F,2),L=R[0],M=(R[1],Object(r.useState)("linear")),q=Object(u.a)(M,2),$=q[0],V=(q[1],Object(r.useState)("fadeIn")),W=Object(u.a)(V,2),U=W[0],G=(W[1],Object(r.useState)("fadeOut")),Y=Object(u.a)(G,2),K=Y[0],z=(Y[1],Object(r.useState)(300)),J=Object(u.a)(z,2),Q=J[0],H=(J[1],Object(r.useState)(1e3)),Z=Object(u.a)(H,2),X=Z[0],_=(Z[1],Object(r.useState)(2e3)),ee=Object(u.a)(_,2),ae=ee[0],ne=(ee[1],Object(r.useState)(1e3)),se=Object(u.a)(ne,2),ce=se[0],oe=(se[1],Object(r.useState)(!1)),le=Object(u.a)(oe,2),ie=le[0],ue=le[1];function he(e){mt.a.options={positionClass:"toast-top-center",timeOut:ae,extendedTimeOut:ce,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:L,hideEasing:$,showMethod:U,hideMethod:K,showDuration:Q,hideDuration:X},mt.a.success(e,"Information")}function be(e){mt.a.options={positionClass:"toast-top-center",timeOut:ae,extendedTimeOut:ce,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:L,hideEasing:$,showMethod:U,hideMethod:K,showDuration:Q,hideDuration:X},mt.a.error(e,"Error")}var me=window.location.hostname.includes("oaomlan"),je=JSON.parse(localStorage.getItem("authCustomer"));e=localStorage.getItem("registrationId");var pe={Mobile:je.mobileNo,Email:"",AccountTypeId:"",EntityTypeId:"",LocationId:"",BranchId:"",NoOfHolders:""};function xe(){B(!E),document.body.classList.add("no_padding")}function Oe(){pe.AccountTypeId=St()("#ddlaccounttype").val(),pe.EntityTypeId=St()("#ddlentitytype").val(),pe.LocationId=St()("#ddllocation").val(),pe.BranchId=St()("#ddlbranch").val(),pe.NoOfHolders=St()("#txtNoOfHolders").val(),p.a.post(g+"/api/Registration/CreateNewAccount",pe,{headers:D()}).then((function(t){"OK"==t.data.responseCode?(localStorage.setItem("registrationId",t.data.registrationId.toString()),e=localStorage.getItem("registrationId"),ve(t.data.registrationId.toString())):be(t.data.responseMessage)}))}
1function fe(){var t={RegistrationId:e,branchUserName:me?null===je||void 0===je?void 0:je.userName:null};try{ue(!0),p.a.post(de(),t,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(!function(e){var t=te()+"/RegistrationPrintPDF/"+localStorage.getItem("registrationId")+".pdf";p()({url:t,method:"GET",responseType:"blob",headers:D()}).then((function(t){var a=window.URL.createObjectURL(new Blob([t.data])),r=document.createElement("a");r.href=a,r.setAttribute("download",e),document.body.appendChild(r),r.click()}))}(e.data.fileName),ue(!1),localStorage.setItem("ReferenceNo",e.data.referenceNo),Qe.push("/success")):(be(e.data.responseMessage),ue(!1))})).catch((function(e){console.log(e),ue(!1)}))}catch(a){console.log(a)}}function ve(e){var t={RegistrationId:e};ue(!0),p.a.post(g+"/api/Registration/GetCustomerAccountHolderList",t,{headers:D()}).then((function(e){e.data.length>0&&function(e){var t={LocationId:e.toString()};p.a.post(re(),t,{headers:D()}).then((function(e){o(e.data)}),(function(e){console.log(e.response)}))}(e.data[0].locationId),P(e.data),ye(),ue(!1)}),(function(e){console.log(e.response),ue(!1)}))}Object(r.useEffect)((function(){!0===ie?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[ie]),Object(r.useEffect)((function(){localStorage.removeItem("registrationHoldersId"),t(Do()),t(Ro()),t(Mo()),ve(e),function(){var t={RegistrationId:e};p.a.post(g+"/api/Registration/GetCustomerAccountOperationsDetails",t,{headers:D()}).then((function(e){var t;(t=e.data).length>0&&("Self"==t[0].accountOperations?St()("#rbself").prop("checked",!0):"Either or survivor"==t[0].accountOperations?St()("#rbeither").prop("checked",!0):"Former or survivor"==t[0].accountOperations?St()("#rbformer").prop("checked",!0):"Anyone or survivor"==t[0].accountOperations?St()("#rbanyone").prop("checked",!0):"Jointly by all"==t[0].accountOperations&&St()("#rbjointly").prop("checked",!0)),ye()}),(function(e){console.log(e.response)}))}()}),[t]);var ge={RegistrationId:"",AccountOperations:""};function ye(){1==parseInt(St()("#txtNoOfHolders").val())?(St()("#rbeither").prop("disabled",!0),St()("#rbformer").prop("disabled",!0),St()("#rbanyone").prop("disabled",!0),St()("#rbjointly").prop("disabled",!0),St()("#rbself").prop("checked",!0)):(St()("#rbeither").prop("disabled",!1),St()("#rbformer").prop("disabled",!1),St()("#rbanyone").prop("disabled",!1),St()("#rbjointly").prop("disabled",!1))}function Ne(){var t="";St()("#rbself").prop("checked")?t="Self":St()("#rbeither").prop("checked")?t="Either or survivor":St()("#rbformer").prop("checked")?t="Former or survivor":St()("#rbanyone").prop("checked")?t="Anyone or survivor":St()("#rbjointly").prop("checked")&&(t="Jointly by all"),ge.AccountOperations=t,ge.RegistrationId=e,p.a.post(g+"/api/Registration/UpdateAccountOperation",ge,{headers:D()}).then((function(e){"OK"==e.data.responseCode?he(e.data.responseMessage):be(e.data.responseMessage)}))}var Ae=Object(pt.a)({enableReinitialize:!0,initialValues:{accounttype:0==S.length?"":S[0].accountTypeId,entitytype:"1",location:0==S.length?"":S[0].locationId,branch:0==S.length?"":S[0].branchId,noofholders:0==S.length?1:S.length},validationSchema:jt.c({accounttype:jt.d().required("Form Type required"),entitytype:jt.d().required("Entity Type required"),location:jt.d().required("Location required"),branch:jt.d().required("Branch required")}),onSubmit:function(e){}}),ke=Object(r.useState)(!0),Ce=Object(u.a)(ke,2),we=Ce[0],Se=Ce[1],Pe=Object(r.useState)(!1),Te=Object(u.a)(Pe,2),Ie=Te[0],Ee=Te[1],Be=Object(r.useState)(!1),De=Object(u.a)(Be,2),Fe=De[0],Re=De[1],Le=Object(r.useState)(!1),Me=Object(u.a)(Le,2),qe=Me[0],$e=Me[1],Ve=Object(r.useState)(!1),We=Object(u.a)(Ve,2),Ue=We[0],Ge=We[1],Ye={color:"black"},Ke={color:"red",fontWeight:"bold"},ze={marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},Je={borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px",width:"99%"},Qe=Object(l.useHistory)();function He(e,t){var a=Object(Ct.a)(S);a.splice(e,1),P(a);var r={RegistrationId:localStorage.getItem("registrationId"),RegistrationHolderId:t.toString()};p.a.post(g+"/api/Registration/DeleteCustomerAccountHolder",r,{headers:D()}).then((function(e){he(e.data.responseMessage),B(!1),ye()}),(function(e){be(e.response)}))}function Ze(){var t={RegistrationId:e};p.a.post(g+"/api/Registration/AddApplicantHolder",t,{headers:D()}).then((function(t){ve(e)}),(function(e){be(e.response)}))}var Xe=5===Ae.values.accounttype;return Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Create New Account"})}),Object(ft.jsx)(m.h,{fluid:!0,style:{overflow:"hidden"},children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsxs)("div",{className:"table-responsive",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.m,{onSubmit:function(e){return e.preventDefault(),Ae.handleSubmit(),!1},children:Object(ft.jsx)(m.c,{children:Object(ft.jsxs)(m.d,{style:Je,children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"-15px"},children:Object(ft.jsx)("label",{style:{fontSize:"17px",color:"#941116",fontWeight:"bold"},children:"Primary details"})})}),me&&Object(ft.jsx)(m.f,{lg:"4",className:"text-end",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"-15px"},children:Object(ft.jsxs)("label",{style:{fontSize:"17px",color:"#941116",fontWeight:"bold"},children:["Branch User Name - ",null===je||void 0===je?void 0:je.userName]})})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Ye,children:"Form Type"}),Object(ft.jsx)("span",{style:Ke,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"accounttype",id:"ddlaccounttype",onChange:Ae.handleChange,value:Ae.values.accounttype||"",invalid:!!(Ae.errors&&Ae.errors.accounttype&&Ae.touched&&Ae.touched.accounttype),disabled:S.length>0,children:[Object(ft.jsx)("option",{value:"",children:"Form Type"}),N.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.accountTypeName},e.id)}))]}),Ae.errors&&Ae.errors.accounttype&&Ae.touched&&Ae.touched.accounttype?Object(ft.jsx)(m.n,{type:"invalid",children:Ae.errors.accounttype}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Ye,children:"Entity Type"}),Object(ft.jsx)("span",{style:Ke,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"entitytype",id:"ddlentitytype",onChange:Ae.handleChange,value:Ae.values.entitytype||"",invalid:!!(Ae.errors&&Ae.errors.entitytype&&Ae.touched&&Ae.touched.entitytype),disabled:!0,children:[Object(ft.jsx)("option",{value:"",children:"Entity Type"}),A.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.entityTypeName},e.id)}))]}),Ae.errors&&Ae.errors.entitytype&&Ae.touched&&Ae.touched.entitytype?Object(ft.jsx)(m.n,{type:"invalid",children:Ae.errors.entitytype}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Ye,children:"Location"}),Object(ft.jsx)("span",{style:Ke,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"location",id:"ddllocation",onChange:function(e){Ae.handleChange(e),function(e){var t={LocationId:e.target.value};p.a.post(re(),t,{headers:D()}).then((function(e){o(e.data)}),(function(e){console.log(e.response)}))}(e)},value:Ae.values.location||"",invalid:!!(Ae.errors&&Ae.errors.location&&Ae.touched&&Ae.touched.location),disabled:S.length>0,children:[Object(ft.jsx)("option",{value:"",children:"Location"}),k.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.locationName},e.id)}))]}),Ae.errors&&Ae.errors.location&&Ae.touched&&Ae.touched.location?Object(ft.jsx)(m.n,{type:"invalid",children:Ae.errors.location}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Ye,children:"Branch"}
1),Object(ft.jsx)("span",{style:Ke,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"branch",id:"ddlbranch",onChange:Ae.handleChange,value:Ae.values.branch||"",invalid:!!(Ae.errors&&Ae.errors.branch&&Ae.touched&&Ae.touched.branch),disabled:S.length>0,children:[Object(ft.jsx)("option",{value:"",children:"Branch"}),c.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.branchName},e.id)}))]}),Ae.errors&&Ae.errors.branch&&Ae.touched&&Ae.touched.branch?Object(ft.jsx)(m.n,{type:"invalid",children:Ae.errors.branch}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Ye,children:"Number of Holders "}),Object(ft.jsx)(m.p,{name:"noofholders",placeholder:"No of Holders",type:"text",className:"form-control",id:"txtNoOfHolders",maxLength:"3",value:Ae.values.noofholders||"",disabled:!0})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"btnBack",style:{marginLeft:"115px",backgroundColor:"rgb(154, 8, 79)",fontSize:"small",borderRadius:"0.5rem"},onClick:function(){Qe.push("/Status")},children:"Back"}),Object(ft.jsx)(m.b,{id:"btnCreate",style:ze,type:"submit",disabled:S.length>0,onClick:function(){var e;(e=[{accounttype:Ae.values.accounttype,entitytype:Ae.values.entitytype,location:Ae.values.location,branch:Ae.values.branch,noofholders:Ae.values.noofholders}],Object.keys(e[0]).map((function(t){return""===e[0][t]||void 0===e[0][t]})).includes(!0))||Oe()},children:"Generate Details"})]})]})]})})})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("div",{style:{visibility:""==e||void 0==e?"collapse":"visible",marginTop:"-25px"},children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{style:Je,children:Object(ft.jsxs)(m.d,{children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"-15px"},children:Object(ft.jsx)("label",{style:{fontSize:"17px",color:"#941116",fontWeight:"bold"},children:"Account holders status"})})}),!Xe&&Object(ft.jsx)(m.f,{lg:"4",style:{textAlign:"right"},children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"-15px"},children:Object(ft.jsx)(m.b,{id:"btnAdd",style:{marginLeft:"55px",backgroundColor:"rgb(154, 8, 79)",fontSize:"small",borderRadius:"0.5rem"},onClick:function(){return Ze()},children:"Add new applicant"})})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.y,{id:"dtAccountHolders",className:"table table-striped table-bordered table-hover table-condensed bootstrap-datatable datatable dataTable",style:{textAlign:"center"},children:[Object(ft.jsx)("thead",{children:Object(ft.jsxs)("tr",{align:"center",children:[Object(ft.jsx)("th",{style:{width:"10%",border:"1px solid lightgrey"},children:"Last Update"}),Object(ft.jsx)("th",{style:{border:"1px solid lightgrey"},children:"Account Holder Name"}),Object(ft.jsx)("th",{style:{width:"10%",border:"1px solid lightgrey"},children:"Status"}),Object(ft.jsx)("th",{style:{width:"8%",border:"1px solid lightgrey"},children:"Action"})]})}),Object(ft.jsx)("tbody",{children:S.map((function(e,t){return Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.lastUpdated}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:e.customerName}),Object(ft.jsx)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},children:Object(ft.jsx)("label",{style:{color:"Completed"==e.status?"green":"red",fontWeight:"bold"},children:e.status})}),Object(ft.jsxs)("td",{style:{border:"1px solid lightgrey",verticalAlign:"middle"},className:"d-flex flex-wrap gap-1",children:[Object(ft.jsx)("button",{type:"button",className:"btn btn-success",onClick:function(){var t,a;t=e.holderSrNo,a=e.registrationHoldersId,"1"==t?(localStorage.setItem("registrationHoldersId",a),Qe.push("/FirstHolder",{accountType:Ae.values.accounttype})):(localStorage.setItem("registrationHoldersId",a),Qe.push("/OtherHolder",{accountType:Ae.values.accounttype}))},children:Object(ft.jsx)("i",{className:"mdi mdi-pencil"})}),Object(ft.jsxs)("button",{type:"button",className:"btn btn-danger",onClick:function(){xe(),x(t),y(e.registrationHoldersId)},"data-toggle":"modal",disabled:1==e.holderSrNo,children:[" ",Object(ft.jsx)("i",{className:"mdi mdi-trash-can"})]}),Object(ft.jsxs)(m.s,{isOpen:E,toggle:function(){xe()},backdrop:"static",id:"staticBackdrop",children:[Object(ft.jsxs)("div",{className:"modal-header",children:[Object(ft.jsx)("h5",{className:"modal-title",id:"staticBackdropLabel",children:"Confirmation"}),Object(ft.jsx)("button",{type:"button",className:"btn-close",onClick:function(){B(!1)},"aria-label":"Close"})]}),Object(ft.jsx)("div",{className:"modal-body",children:Object(ft.jsx)("p",{children:"Are you sure you want to delete the selected account holder?"})}),Object(ft.jsxs)("div",{className:"modal-footer",children:[Object(ft.jsx)("button",{type:"button",className:"btn btn-primary",onClick:function(){He(j,v)},children:"Yes"}),Object(ft.jsx)("button",{type:"button",className:"btn btn-light",onClick:function(){B(!1)},children:"No"})]})]})]})]},t)}))})]})})]})})})})})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("div",{style:{visibility:""==e||void 0==e?"collapse":"visible"},children:Object(ft.jsx)(m.v,{style:{backgroundColor:"white"},children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsxs)("div",{className:"accordion",id:"accordion",children:[!Xe&&Object(ft.jsxs)("div",{className:"accordion-item",children:[Object(ft.jsx)("h2",{className:"accordion-header",id:"headingOne",children:Object(ft.jsx)("button",{className:Lt()("accordion-button","fw-medium",{collapsed:!we}),type:"button",onClick:function(){Se(!we),Ee(!1),Re(!1),$e(!1),Ge(!1)},style:{cursor:"pointer"},children:"Nomination form DA-1"})}),Object(ft.jsx)(m.g,{isOpen:we,className:"accordion-collapse",children:Object(ft.jsx)("div",{className:"accordion-body",children:Object(ft.jsx)("div",{className:"text-muted",children:Object(ft.jsx)(Et,{RegistrationId:e})})})})]}),Object(ft.jsxs)("div",{className:"accordion-item",children:[Object(ft.jsx)("h2",{className:"accordion-header",id:"headingTwo",children:Object(ft.jsx)("button",{className:Lt()("accordion-button","fw-medium",{collapsed:!Ie}),type:"button",onClick:function(){Ee(!Ie),Se(!1),Re(!1),$e(!1),Ge(!1)},style:{cursor:"pointer"},children:"Techno based products requirement"})}),Object(ft.jsx)(m.g,{isOpen:Ie,className:"accordion-collapse",children:Object(ft.jsx)("div",{className:"accordion-body",children:Object(ft.jsx)(Bt,{RegistrationId:e})})})]}),!Xe&&Object(ft.jsxs)("div",{className:"accordion-item",children:[Object(ft.jsx)("h2",{className:"accordion-header",id:"headingThree",children:Object(ft.jsx)("button",{className:Lt()("accordion-button","fw-medium",{collapsed:!Fe}),type:"button",onClick:function(){Re(!Fe),Se(!1),Ee(!1),$e(!1),Ge(!1)},style:{cursor:"pointer"},children:"Instruction for account operations"})}),Object(ft.jsx)(m.g,{isOpen:Fe,className:"accordion-collapse",children:Object(ft.jsx)("div",{className:"accordion-body",children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.m,{style:{borderRadius:8,flex:1,padding:"15px"},className:"needs-validation",onSubmit:function(e){return e.preventDefault(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",i
1d:"rbself",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:Ye,className:"form-check-label",htmlFor:"exampleRadios1",children:"Self"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbeither",value:"option1"}),Object(ft.jsx)("label",{style:Ye,className:"form-check-label",htmlFor:"exampleRadios1",children:"Either or survivor"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbformer",value:"option1"}),Object(ft.jsx)("label",{style:Ye,className:"form-check-label",htmlFor:"exampleRadios1",children:"Former or survivor"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbanyone",value:"option1"}),Object(ft.jsx)("label",{style:Ye,className:"form-check-label",htmlFor:"exampleRadios1",children:"Anyone or survivor"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbjointly",value:"option1"}),Object(ft.jsx)("label",{style:Ye,className:"form-check-label",htmlFor:"exampleRadios1",children:"Jointly by all"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"11"}),Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsx)(m.b,{id:"firstN",style:ze,type:"submit",onClick:function(){Ne()},children:"Save"})})]})]})})})})]}),Object(ft.jsxs)("div",{className:"accordion-item",style:{visibility:"2"!=Ae.values.accounttype?"hidden":"visible",display:"2"!=Ae.values.accounttype?"none":"block"},children:[Object(ft.jsx)("h2",{className:"accordion-header",id:"headingFour",children:Object(ft.jsx)("button",{className:Lt()("accordion-button","fw-medium",{collapsed:!qe}),type:"button",onClick:function(){$e(!qe),Se(!1),Ee(!1),Re(!1),Ge(!1)},style:{cursor:"pointer"},children:"FD"})}),Object(ft.jsx)(m.g,{isOpen:qe,className:"accordion-collapse",children:Object(ft.jsx)("div",{className:"accordion-body",children:Object(ft.jsx)(Dt,{RegistrationId:e})})})]}),Object(ft.jsxs)("div",{className:"accordion-item",style:{visibility:"3"!=Ae.values.accounttype?"hidden":"visible",display:"3"!=Ae.values.accounttype?"none":"block"},children:[Object(ft.jsx)("h2",{className:"accordion-header",id:"headingFive",children:Object(ft.jsx)("button",{className:Lt()("accordion-button","fw-medium",{collapsed:!Ue}),type:"button",onClick:function(){Ge(!Ue),Se(!1),Ee(!1),Re(!1),$e(!1)},style:{cursor:"pointer"},children:"RD"})}),Object(ft.jsx)(m.g,{isOpen:Ue,className:"accordion-collapse",children:Object(ft.jsx)("div",{className:"accordion-body",children:Object(ft.jsx)(Ft,{RegistrationId:e})})})]})]})})})})})}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:{marginBottom:"35px"},children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("div",{style:{visibility:""==e||void 0==e?"collapse":"visible",textAlign:"right"},children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.b,{id:"btnSubmit",style:ze,type:"submit",onClick:function(){fe()},children:"Submit"})})})})})})]})})})})]})},Ko=a(278),zo=a.n(Ko),Jo=a(556),Qo=a(187),Ho=a(280),Zo=a(112),Xo={gr:{translation:a(281)},it:{translation:a(282)},rs:{translation:a(283)},sp:{translation:a(284)},eng:{translation:a(285)}};localStorage.getItem("I18N_LANGUAGE")||localStorage.setItem("I18N_LANGUAGE","en"),Qo.a.use(Ho.a).use(Zo.e).init({resources:Xo,lng:localStorage.getItem("I18N_LANGUAGE")||"en",fallbackLng:"en",keySeparator:!1,interpolation:{escapeValue:!1}});var _o=Qo.a,el={sp:{label:"Spanish",flag:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/2wBDAQQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/wAARCAAqAEADASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAUIBgQBAv/EACkQAAIBAgQFBAMBAAAAAAAAAAECAwAEBQYREhUWVZTRExRRUiIxQXH/xAAaAQACAwEBAAAAAAAAAAAAAAAABgEDBwQC/8QAKREAAgEDAgUDBQEAAAAAAAAAAQIDAAQRIVQFEhMUkhWRkwYWNFNxgf/aAAwDAQACEQMRAD8AyzSSSMWZ2ZmbVmJJJJ/przc32aq04BgXRrDtk8V8PguW4Y5JrrDcNggiR3eR7eMKqqNST+NZfH9WxSukcdhKzuQqgMNSa2b1+ID8Z/epO3N9mo3N9mqlbC7yLiF/Lh8WHwRS+pshe5w4QpK2u3buK/idw0Aan/AMC6NYdsniui6+omsigueHSLzZ5SJFIOP5Xo8dVTyvZyqcA4bTQ/0VJe5vs1G5vs1VpwDAujWHbJ4o4BgXRrDtk8VyfeFvspPIVHr8W3f3qS9zfZq9WSSNgyuysraqwJBBH9FVnwDAujWHbJ4o4BgXRrDtk8UfeFvspPIUevRbZ/enFYLMM/D0ZbLD8QtPd3UbX07e3kUxsCm5VjaRwGAGm5K3tZWe1fFbO4w9cCTCgzBzcL6Tes4kDEuI2JJPyaW+ENbIl7JcdPRY+UO4U5LjUAnXFLkcqxTwBwSjNhsAkf7iluRsTytMbuC6ksPd2uIMDLd7bZxbFQFKkiMFtQdRWlshavcXN9Dhl5BLcNtmmlkt2icwnaoURO5BA+wFZmfIqJbotpiVuXnhMd0TAwOpZ9HTQjcdH0/KtLbPuugnLiWuxHT32sReZQw2hthLf5rTJxm74XcWkkNrFbo8VmoEglQu7FkY5xy5Oh0ql2w5m7h5Wm
1kcEBHVUQEkDBNOKKKKQKsooooooqT+aMx9cv8AuH80c0Zj65f9w/mubEY40v75ERVVbiVVAGgAB/Qrl2r8Cto7S120PxrT6IoSAehH4LTPmjMfXL/uH80c0Zj65f8AcP5pZtX4FG1fgUdpa7aH41qejD+mPwWmfNGY+uX/AHD+aOaMx9cv+4fzSzavwKNq/Ao7S120PxrR0Yf0x+C0z5ozH1y/7h/NHNGY+uX/AHD+aWbV+BXVh0cb39ijorK1xErAjUEE/o0dna7aH41qDFCBnoR+C1//2Q=="},gr:{label:"German",flag:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/2wBDAQQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/wAARCAAqAEADASIAAhEBAxEB/8QAGAABAQEBAQAAAAAAAAAAAAAAAAcCBQH/xAAlEAABAgILAQEAAAAAAAAAAAABAAIDUQUREhYXVFWjpNLiITL/xAAYAQEBAQEBAAAAAAAAAAAAAAAABwEDBf/EACURAAACCQUBAQAAAAAAAAAAAAABAgMEBREVVKPRFBZVkpTSUf/aAAwDAQACEQMRAD8AiL4sWI98SJFe57nEucSSST9JJK8tOmV3bs03kdyH2S7NN5Hch9l31bLVKe5D1JA/eEb/ADLMDhWnTKWnTK7t2abyO5D7Jdmm8juQ+yaxlqlPcgkD94Rv8yzA4Vp0ylp0yu7dmm8juQ+yXZpvI7kPsmsZapT3IJA/eEb/ADLMDhWnTK9ZFiw3siQ4r2va4FrgSCCPoIIXcuzTeR3IfZLs03kdyH2TVstUp7kEgfvCN/mWYFWRVjC8a5xfaYXjXOL7UunzqqraeBft0uKutLPkSdFWMLxrnF9phe
1Nc4vtJ86qq2ngN0uKutLPkSdFWMLxrnF9pheNc4vtJ86qq2ngN0uKutLPkSdFWMLxrnF9pheNc4vtJ86qq2ngN0uKutLPkVpFt/wC3iRSoSU5SRgZlER+Iwi3UJJUJLIBEYRbqEkqEkgERhFuoSRn7YJlaSMTIv0wiP//Z"},it:{label:"Italian",flag:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/2wBDAQQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/wAARCAAqAEADASIAAhEBAxEB/8QAGwAAAgIDAQAAAAAAAAAAAAAAAAgCBwEDBAX/xAAjEAACAQMEAgMBAAAAAAAAAAABAgADBzYEEXSxUbISIUQW/8QAFwEBAQEBAAAAAAAAAAAAAAAABwYFCP/EACcRAAIAAgkEAwAAAAAAAAAAAAABAgMEBQYHETM0dII1NrHBEiEx/9oADAMBAAIRAxEAPwD1mdmYu7sWLbkk7kkyO58yMJzKT5ZtqSf6at9/gre6xi4ulqcmrcCr7rGLjRYXoS3Ez0atDyeTCLPdnKl+/wAVLtozEWa7OVrwqPbShrPTc4RGu77he1m+UVlufMyrupDK5UqdwQdiCJiEnh2aT+mjuhCEFzi4s21OTVuBV91jFxdLU5NW4FX3WMXGiwnQluJno1aFk8mEWa7OVrwqPbRmYs12crXhUe2lDWem5wiNd33C9rN8orKEISeHc7oT0NaiJrdWiIFUVXAAGwABmj4r4EGYocG1icWliWpyatwKvusYuLvazJq3Cq+yxiozWF6EtxM9GrQsnkyMWa7OVrwqPbRm4tF18qXhUu2lDWem5wiNd33A9rN8oq6E27DxOnRIj63So6AqatMEEbg7mTw6RR/GFvD8WJ//2Q=="},rs:{label:"Russian",flag:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/2wBDAQQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/wAARCAAqAEADASIAAhEBAxEB/8QAGQABAAMBAQAAAAAAAAAAAAAAAAMGBwQI/8QAIxAAAgACCwEAAAAAAAAAAAAAAAECBAcRFhdRVFajpNPiA//EABoBAQACAwEAAAAAAAAAAAAAAAABBgIEBwj/xAAmEQAAAwUJAQEAAAAAAAAAAAAAAQIDBhZUowQRExRSVZPR0hIx/9oADAMBAAIRAxEAPwD3UDLL6qM9S8Oa6xfVRnqXhzXWbeQt0k341dDDERrIamDLL6qM9S8Oa6xfVRnqXhzXWMhbpJvxq6DERrIamDLL6qM9S8Oa6xfVRnqXhzXWMhbpJvxq6DERrIamDLL6qM9S8Oa6xfVRnqXhzXWMhbpJvxq6DERrIeBgXOySz+16Fkln9r0WmLHfn6TXyLBAD27TXY+xTAXOySz+16Fkln9r0Isd+fpNfIQA9u012PsUwFzsks/tehZJZ/a9CLHfn6TXyEAPbtNdj7FMBc7JLP7XoWSWf2vQix35+k18hAD27TXY+xcwd07BBBOzUEECUK+v0SSVSVTOapYHGR6SSv6Iju/SIxECWpYCpYATeIgS1LAVLABeIgS1LA6ZKCCOdlYI4E4X9fmmmq062BCl/KTO78K8f//Z"},en:{label:"English",flag:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/2wBDAQQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFz/wAARCAAqAEADASIAAhEBAxEB/8QAGwAAAgIDAQAAAAAAAAAAAAAAAAcDBgEEBQj/xAA1EAABAgIHBwIFAwUAAAAAAAABAgQAAwUGBxESFlYTFBVRk6HTMVciI5GS0hdBYiElRVKC/8QAGgEAAgMBAQAAAAAAAAAAAAAAAAYBBQcDBP/EADERAAAEAwMKBQUAAAAAAAAAAAABAgMEBRESIZETFBUWUVRWkpPSBjIzZoExQVNk0f/aAAwDAQACEQMRAD8AoRouTPo5m9mKnNJ0yS7nrcOydi8VLWAJbYpQSV88X7x0zV9nxZcnc6RwCcuVwr/KACRtNqRgw4L+0RtEhtQzadMG6hwwfoTOegOJLoiYkYGyMB2MwemOO0W39wNF7k62ofTF8Mxp4okbpftN6wXGX++CNHU4ojWRKOlFl8VFeK23oNotqsrcmbj3A7/JxFoz3kkLQ6vReFD+MWWqNDUPx+r8mlHDpk0cSX22fkjd5+xKwhTclIOH+lxjUbqQuXIfCdLmIbIohK3siQENGhxH4XkjB89Q/wBo6lW10QxrDVt/TlFOXFGzUUkpSpaxu7n4lpC20v5eySk+qY8UzWapfHktRWci5W15fTreLCUm4U0lxtG7lM5as5EiNytovJauqHXlazfWk76p/CDK1m+tJ31T+EGYbK9KPPtHlgzDZXpR59o8sZRRjZCYrG1VnXuTkhAZWs31pO+qfwjKas2cJIUmuk4KBvBBSCCP+IxmGyvSjz7R5YMw2V6UefaPLBRj9TFYKzo7j1k5IQI9FS6/MWqGrGpdJSXCpLhs8nYDOTPlzFAgJSQQjliTG2aqVzLhUn9P6T4Nty4Sw+PGJhlbPFt8OP8AlHpHglrOp2HbwwcEtZ1Ow7eGHHWmIP6y06/P9GZaswnEkr6jnYPNMuq9ooSifOqdSUykWwaJYuRKwiQlqSQlSAnDNv5qixVQoGu9DViomnBUN4HTdDsuVzQrZz1uMVygj0Rdf6CHpwS1nU7Dt4YOCWs6nYdvDHJ/xJEPsvM6PUjKINFpJXlUqbR2h/DsEw+y8ufyp1KFpUaFuu2VU+x0QIs0V90IjprgzRX3QiOmuJeCWs6nYdvDBwS1nU7Dt4YW6vbYrlQGazKPbvXihFmivuhEdNcGaK+6ER01xLwS1nU7Dt4YOCWs6nYdvDBV7bFcqAWZR7d68UK1lep3uIrrIgyvU73EV1kQqXqEIeukIQAkTZgAAuAuMa1w5RW5w3uyMVB/TI5goiPWOLvL8THYG/lep3uIrrIgyvU73EV1kQoLhyguHKDOW92RioToGYcRxfSY7A38r1O9xFdZEGV6ne4iusiFBcOUFw5QZy3uyMVA0DMOI4vpMdgb+V6ne4iusiDK9TvcRXWRCguHKNlkhC3rVC0ApM2WCCLwbzBnDe7IxUIVI5glJnrHF3FX0mOwf//Z"}},tl=Object(Jo.a)()((function(){var e=Object(r.useState)(""),t=Object(u.a)(e,2),a=t[0],n=t[1],s=Object(r.useState)(!1),c=Object(u.a)(s,2),o=c[0],l=c[1];Object(r.useEffect)((function(){var e=localStorage.getItem("I18N_LANGUAGE");n(e)}),[]);return Object(ft.jsx)(ft.Fragment,{children:Object(ft.jsxs)(m.i,{isOpen:o,toggle:function(){l(!o)},className:"d-inline-block",children:[Object(ft.jsx)(m.l,{className:"btn header-item ",tag:"button",children:Object(ft.jsx)("img",{src:Object(gt.get)(el,"".concat(a,".flag")),alt:"Skote",height:"16",className:"me-1"})}),Object(ft.jsx)(m.k,{className:"language-switch dropdown-menu-end",children:Object(gt.map
1)(Object.keys(el),(function(e){return Object(ft.jsxs)(m.j,{onClick:function(){return t=e,_o.changeLanguage(t),localStorage.setItem("I18N_LANGUAGE",t),void n(t);var t},className:"notify-item ".concat(a===e?"active":"none"),children:[Object(ft.jsx)("img",{src:Object(gt.get)(el,"".concat(e,".flag")),alt:"Skote",className:"me-1",height:"12"}),Object(ft.jsx)("span",{className:"align-middle",children:Object(gt.get)(el,"".concat(e,".label"))})]},e)}))})]})})})),al=a(137),rl=a.p+"static/media/avatar-3.2cfd5ba6.jpg",nl=a.p+"static/media/avatar-4.b23e41d9.jpg",sl=Object(Jo.a)()((function(e){var t=Object(r.useState)(!1),a=Object(u.a)(t,2),s=a[0],c=a[1];return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsxs)(m.i,{isOpen:s,toggle:function(){return c(!s)},className:"dropdown d-inline-block",tag:"li",children:[Object(ft.jsxs)(m.l,{className:"btn header-item noti-icon",tag:"button",id:"page-header-notifications-dropdown",children:[Object(ft.jsx)("i",{className:"bx bx-bell bx-tada"}),Object(ft.jsx)("span",{className:"badge bg-danger rounded-pill",children:"3"})]}),Object(ft.jsxs)(m.k,{className:"dropdown-menu dropdown-menu-lg dropdown-menu-end p-0",children:[Object(ft.jsx)("div",{className:"p-3",children:Object(ft.jsxs)(m.v,{className:"align-items-center",children:[Object(ft.jsx)(m.f,{children:Object(ft.jsxs)("h6",{className:"m-0",children:[" ",e.t("Notifications")," "]})}),Object(ft.jsx)("div",{className:"col-auto",children:Object(ft.jsxs)("a",{href:"#",className:"small",children:[" ","View All"]})})]})}),Object(ft.jsxs)(al.a,{style:{height:"230px"},children:[Object(ft.jsx)(o.b,{to:"",className:"text-reset notification-item",children:Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsx)("div",{className:"avatar-xs me-3",children:Object(ft.jsx)("span",{className:"avatar-title bg-primary rounded-circle font-size-16",children:Object(ft.jsx)("i",{className:"bx bx-cart"})})}),Object(ft.jsxs)("div",{className:"flex-grow-1",children:[Object(ft.jsx)("h6",{className:"mt-0 mb-1",children:e.t("Your order is placed")}),Object(ft.jsxs)("div",{className:"font-size-12 text-muted",children:[Object(ft.jsx)("p",{className:"mb-1",children:e.t("If several languages coalesce the grammar")}),Object(ft.jsxs)("p",{className:"mb-0",children:[Object(ft.jsx)("i",{className:"mdi mdi-clock-outline"})," ",e.t("3 min ago")," "]})]})]})]})}),Object(ft.jsx)(o.b,{to:"",className:"text-reset notification-item",children:Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsx)("img",{src:rl,className:"me-3 rounded-circle avatar-xs",alt:"user-pic"}),Object(ft.jsxs)("div",{className:"flex-grow-1",children:[Object(ft.jsx)("h6",{className:"mt-0 mb-1",children:"James Lemire"}),Object(ft.jsxs)("div",{className:"font-size-12 text-muted",children:[Object(ft.jsx)("p",{className:"mb-1",children:e.t("It will seem like simplified English")+"."}),Object(ft.jsxs)("p",{className:"mb-0",children:[Object(ft.jsx)("i",{className:"mdi mdi-clock-outline"}),e.t("1 hours ago")," "]})]})]})]})}),Object(ft.jsx)(o.b,{to:"",className:"text-reset notification-item",children:Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsx)("div",{className:"avatar-xs me-3",children:Object(ft.jsx)("span",{className:"avatar-title bg-success rounded-circle font-size-16",children:Object(ft.jsx)("i",{className:"bx bx-badge-check"})})}),Object(ft.jsxs)("div",{className:"flex-grow-1",children:[Object(ft.jsx)("h6",{className:"mt-0 mb-1",children:e.t("Your item is shipped")}),Object(ft.jsxs)("div",{className:"font-size-12 text-muted",children:[Object(ft.jsx)("p",{className:"mb-1",children:e.t("If several languages coalesce the grammar")}),Object(ft.jsxs)("p",{className:"mb-0",children:[Object(ft.jsx)("i",{className:"mdi mdi-clock-outline"})," ",e.t("3 min ago")]})]})]})]})}),Object(ft.jsx)(o.b,{to:"",className:"text-reset notification-item",children:Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsx)("img",{src:nl,className:"me-3 rounded-circle avatar-xs",alt:"user-pic"}),Object(ft.jsxs)("div",{className:"flex-grow-1",children:[Object(ft.jsx)("h6",{className:"mt-0 mb-1",children:"Salena Layfield"}),Object(ft.jsxs)("div",{className:"font-size-12 text-muted",children:[Object(ft.jsx)("p",{className:"mb-1",children:e.t("As a skeptical Cambridge friend of mine occidental")+"."}),Object(ft.jsxs)("p",{className:"mb-0",children:[Object(ft.jsx)("i",{className:"mdi mdi-clock-outline"}),e.t("1 hours ago")," "]})]})]})]})})]}),Object(ft.jsx)("div",{className:"p-2 border-top d-grid",children:Object(ft.jsxs)(o.b,{className:"btn btn-sm btn-link font-size-14 text-center",to:"#",children:[Object(ft.jsx)("i",{className:"mdi mdi-arrow-right-circle me-1"})," ",Object(ft.jsx)("span",{children:e.t("View More..")},"t-view-more")]})})]})]})})})),cl=a.p+"static/media/avatar-1.3921191a.jpg",ol=Object(l.withRouter)(Object(i.b)((function(e){var t=e.Profile;return{error:t.error,success:t.success}}),{})(Object(Jo.a)()((function(e){var t=Object(r.useState)(!1),a=Object(u.a)(t,2),s=a[0],c=a[1],l=Object(r.useState)("Admin"),i=Object(u.a)(l,2),d=i[0],h=i[1];return Object(r.useEffect)((function(){if(localStorage.getItem("authUser")){var e=JSON.parse(localStorage.getItem("authUser"));h(e.username)}}),[e.success]),Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsxs)(m.i,{isOpen:s,toggle:function(){return c(!s)},className:"d-inline-block",children:[Object(ft.jsxs)(m.l,{className:"btn header-item ",id:"page-header-user-dropdown",tag:"button",children:[Object(ft.jsx)("img",{className:"rounded-circle header-profile-user",src:cl,alt:"Header Avatar"}),Object(ft.jsx)("span",{className:"d-none d-xl-inline-block ms-2 me-1",children:d}),Object(ft.jsx)("i",{className:"mdi mdi-chevron-down d-none d-xl-inline-block"})]}),Object(ft.jsxs)(m.k,{className:"dropdown-menu-end",children:[Object(ft.jsxs)(m.j,{tag:"a",href:"/profile",children:[" ",Object(ft.jsx)("i",{className:"bx bx-user font-size-16 align-middle me-1"}),e.t("Profile")," "]}),Object(ft.jsxs)(m.j,{tag:"a",href:"/crypto-wallet",children:[Object(ft.jsx)("i",{className:"bx bx-wallet font-size-16 align-middle me-1"}),e.t("My Wallet")]}),Object(ft.jsxs)(m.j,{tag:"a",href:"#",children:[Object(ft.jsx)("span",{className:"badge bg-success float-end",children:"11"}),Object(ft.jsx)("i",{className:"bx bx-wrench font-size-16 align-middle me-1"}),e.t("Settings")]}),Object(ft.jsxs)(m.j,{tag:"a",href:"auth-lock-screen",children:[Object(ft.jsx)("i",{className:"bx bx-lock-open font-size-16 align-middle me-1"}),e.t("Lock screen")]}),Object(ft.jsx)("div",{className:"dropdown-divider"}),Object(ft.jsxs)(o.b,{to:"/logout",className:"dropdown-item",children:[Object(ft.jsx)("i",{className:"bx bx-power-off font-size-16 align-middle me-1 text-danger"}),Object(ft.jsx)("span",{children:e.t("Logout")})]})]})]})})})))),ll=a.p+"static/media/megamenu-img.8b069df4.png",il=a.p+"static/media/logo.9901a8a0.svg",dl=a.p+"static/media/logo-light.f0fb0325.svg",ul=Object(i.b)((function(e){var t=e.Layout;return{layoutType:t.layoutType,showRightSidebar:t.showRightSidebar,leftMenu:t.leftMenu,leftSideBarType:t.leftSideBarType}}),{showRightSidebarAction:ea,toggleLeftmenu:ta,changeSidebarType:Xt})(Object(Jo.a)()((function(){var e=Object(r.useState)(!1),t=Object(u.a)(e,2),a=(t[0],t[1],Ob
1ject(r.useState)(!1)),s=Object(u.a)(a,2),c=(s[0],s[1],Object(r.useState)(!1)),o=Object(u.a)(c,2);o[0],o[1];return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("header",{id:"page-topbar",children:Object(ft.jsx)("div",{className:"navbar-header",children:Object(ft.jsx)("div",{style:{width:"100%",backgroundColor:"#9a084f"},children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("div",{children:Object(ft.jsx)("img",{className:"img-fluid.max-width: 100%;height:auto",style:{height:"70px"},src:xt,alt:"Banner"})})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("div",{children:Object(ft.jsx)("label",{style:{fontSize:"25px",color:"white"},children:"Online Account Application"})})})]})})})})})}))),hl=function(){return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("footer",{className:"footer",style:{backgroundColor:"#333333",color:"white",height:"50px"},children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{md:6,children:" \xa9 2022 all rights reserved"}),Object(ft.jsx)(m.f,{md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Powered by ZingWorks LLP"})})]})})})})};var bl=function(e){var t=e.rowsData,a=e.deletePoiRows,r=e.handleChange,n=(e.handleCheckChange,e.handleUploadChange),s=e.errorMessage;function c(e){var a={RegistrationId:localStorage.getItem("registrationId"),Id:e};t.length>1&&p.a.post(g+"/api/Registration/DeleteCustomerPOI",a,{headers:D()}).then((function(e){}))}$(".maxFuture").flatpickr({dateFormat:"d-M-Y",minDate:"today",disableMobile:"true"});var o=["image/png","image/jpeg","image/jpg"];return t.map((function(e,t){var l=e.poiid,i=e.SelectedProofofIdentity,d=e.EnterNumber,u=e.POIPOA,h=e.Expiry,b=(e.Upload,e.poifilepath),j=e.poifilepathurl;e.Delete;return Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("td",{children:Object(ft.jsx)("label",{children:i})}),Object(ft.jsx)("td",{children:Object(ft.jsx)("input",{type:"text",value:d,name:"EnterNumber",className:"form-control",id:"txtPOI.".concat(t),onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){return r(t,e)},maxLength:"20",autoComplete:"off"})}),Object(ft.jsx)("td",{children:Object(ft.jsx)("label",{children:u})}),Object(ft.jsx)("td",{children:Object(ft.jsx)("input",{type:"text",value:h,id:"txtexpiry.".concat(t),name:"Expiry",placeholder:"Expity Date",className:"form-control maxFuture flatpickr",onSelect:function(e){return r(t,e)},disabled:"UID-Aadhaar No."==i||"Voter ID"==i})}),Object(ft.jsxs)("td",{style:{display:"flex"},children:[Object(ft.jsx)(m.p,{multiple:"",type:"file",style:{marginTop:"3px",width:"85%"},name:"Upload",accept:".jpg,.jpeg,.png",id:"fileUpload.".concat(t),onChange:function(e){var a=e.target,r=e.target.files[0];o.includes(r.type)?n(t,e):(s("Kindly upload document in JPG,JPEG,PNG format only"),a.value="")},onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()}}),Object(ft.jsx)("a",{id:"lnkPOIFileDownload",href:j,name:"poifilepath",target:"_blank",rel:"noreferrer",style:{visibility:""==b?"hidden":"visible",fontSize:"medium",fontWeight:"bold",marginLeft:"10px",marginTop:"10px"},children:Object(ft.jsx)("i",{className:"bx bx-show",style:{fontSize:"xx-large",marginTop:"-5px"}})})]}),Object(ft.jsx)("td",{children:Object(ft.jsx)("button",{className:"btn btn-danger",onClick:function(e){e.preventDefault(),a(t),c(l)},children:Object(ft.jsx)("i",{className:"mdi mdi-trash-can"})})})]},t)}))},ml=function(){var e=function(){var e=Object(v.a)(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,new Promise((function(e,a){var r=new FileReader;
1r.readAsDataURL(t),r.onload=function(){return e(r.result)},r.onerror=function(e){return a(e)}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=Object(l.useHistory)(),a=Object(r.useState)([]),s=Object(u.a)(a,2),c=s[0],o=s[1],d=Object(r.useState)("swing"),h=Object(u.a)(d,2),j=h[0],x=(h[1],Object(r.useState)("linear")),O=Object(u.a)(x,2),y=O[0],N=(O[1],Object(r.useState)("fadeIn")),A=Object(u.a)(N,2),k=A[0],C=(A[1],Object(r.useState)("fadeOut")),w=Object(u.a)(C,2),S=w[0],P=(w[1],Object(r.useState)(300)),T=Object(u.a)(P,2),I=T[0],E=(T[1],Object(r.useState)(1e3)),B=Object(u.a)(E,2),F=B[0],R=(B[1],Object(r.useState)(2e3)),L=Object(u.a)(R,2),M=L[0],q=(L[1],Object(r.useState)(1e3)),V=Object(u.a)(q,2),W=V[0];V[1];function U(e){mt.a.options={positionClass:"toast-top-center",timeOut:M,extendedTimeOut:W,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:j,hideEasing:y,showMethod:k,hideMethod:S,showDuration:I,hideDuration:F},mt.a.error(e,"Error")}var G=Object(i.c)(),Y=Object(i.d)((function(e){return{stateData:e.Registration.stateData}})).stateData,K=Object(i.d)((function(e){return{occupationData:e.Registration.occupationData}})).occupationData,z=(Object(i.d)((function(e){return{relatedPersonTypeData:e.Registration.relatedPersonTypeData}})).relatedPersonTypeData,Object(i.d)((function(e){return{educationData:e.Registration.educationData}})).educationData),J=Object(i.d)((function(e){return{occupationDetailsData:e.Registration.occupationDetailsData}})).occupationDetailsData,Q=Object(i.d)((function(e){return{assetDetailsData:e.Registration.assetDetailsData}})).assetDetailsData,H=Object(i.d)((function(e){return{otherBankAccountsData:e.Registration.otherBankAccountsData}})).otherBankAccountsData,Z=Object(i.d)((function(e){return{accountTypeData:e.Registration.accountTypeData}})).accountTypeData,X=Object(i.d)((function(e){return{entityTypeData:e.Registration.entityTypeData}})).entityTypeData,_=Object(i.d)((function(e){return{locationData:e.Registration.locationData}})).locationData,ee=(Object(i.d)((function(e){return{branchData:e.Registration.branchData}})).branchData,Object(i.d)((function(e){return{poiData:e.Registration.poiData}})).poiData);function te(e){var t=e.target.value;if(""==t)st.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&st.handleChange(e)}}var ae=Object(r.useState)([]),ne=Object(u.a)(ae,2),he=ne[0],be=ne[1],me=Object(r.useState)([]),je=Object(u.a)(me,2),pe=(je[0],je[1],function(e){var t=Object(Ct.a)(he);t.splice(e,1),be(t)}),xe=function(e,t){var a=t.target,r=a.name,n=a.value,s=Object(Ct.a)(he);s[e][r]=n,be(s)},Oe=function(e,t,a){var r=t.target,n=r.name,s=r.checked,c=Object(Ct.a)(he);"POI"==n&&("POI"!={POIPOA:a}&&"Both"!={POIPOA:a}||(c[e][n]=s)),be(c)},fe=function(e,t){var a=t.target,r=a.name,n=(a.value,Object(Ct.a)(he));n[e][r]=t.target.files[0],be(n)},ve=n.a.useState(""),ge=Object(u.a)(ve,2),ye=ge[0],Ne=ge[1],Ae=Object(r.useState)([]),ke=Object(u.a)(Ae,2);ke[0],ke[1];
1var Ce=JSON.parse(localStorage.getItem("authCustomer")),we={personalchoose:"",firstname:"",middlename:"",lastname:"",phoneno:Ce.mobileNo,email:Ce.email,gender:"",occupation:"",dob:"",maritalstatus:"2",nationality:"1",communicationaddress:"",communicationstate:"",communicationcity:"",communicationpincode:"",permanentaddress:"",permanentstate:"",permanentcity:"",permanentpincode:"",poi:"",pan:"",panfile:""},Se=Object(r.useState)([{id:1}]),Pe=Object(u.a)(Se,2),Te=(Pe[0],Pe[1],[]),Ie=[],Ee={POI:"",POINo:"",POIPOA:"",IsPOI:"",IsPOA:"",ExpiryDate:"",Base64POI:""},Be={Title:"",FirstName:"",MiddleName:"",LastName:"",DOB:"",Gender:"",Nationality:"",Occupation:"",Mobile:"",Email:"",MartialStatus:"",LocalAddress1:"",LocalAddress2:"",LocalAddress3:"",LocalCity:"",LocalPin:"",LocalState:"",PermanentAddress1:"",PermanentAddress2:"",PermanentAddress3:"",PermanentCity:"",PermanentPin:"",PermanentState:"",PAN:"",Base64PAN:"",registrationHoldersPOI:Ie},De={AccountTypeId:"",EntityTypeId:"",LocationId:"",BranchId:"",registrationHolders:Te},Fe={RegistrationId:"",FatherTitle:"",FatherFirstName:"",FatherMiddleName:"",FatherLastName:"",MotherTitle:"",MotherFirstName:"",MotherMiddleName:"",MotherLastName:"",MaidenTitle:"",MaidenFirstName:"",MaidenMiddleName:"",MaidenLastName:""},Re={RegistrationId:"",RelatedPersonTitle:"",RelatedPeronFirstName:"",RelatedPeronMiddleName:"",RelatedPeronLastName:"",RelatedPersonCustomerRelation:"",RelatedPersonType:"",RelatedPersonPANNo:"",RelatedPersonAadhaarNo:"",RelatedPersonCourtOrder
1No:""},Le={RegistrationId:"",DeclarantDocuments:"",DeclarantTransactionParticulars:"",DeclarantAmountofTransaction:"",DeclarantAssessedTax:"",DetailsOfIncomeTax:"",ReasonForNoPan:""},Me={RegistrationId:"",FundsExpectedOrigin:"",FundsUtilisationExpected:"",OtherBankAccounts:"",Turnover:"",AverageIncome:"",AverageBalance:"",Education:"",Religion:"",OccupationDetails:"",LineOfBusiness:"",BusinessName:"",BusinessStartDate:"",BusinessAddress1:"",BusinessAddress2:"",BusinessAddress3:"",BusinessTelNo:"",BusinessMobileNo:"",BusinessAnnualIncome:"",BusinessIncomeSource:"",BusinessWealthSource:"",BusinessEstimatedValue:"",BusinessAssetDetails:"",BornNonIndia:"",TaxResidenceNonIndia:"",BusinessVehicleType:"",BusinessCarPurchaseYear:"",BusinessCarMaker:"",InterestedIn:""},qe={RegistrationId:"",DebitCard:"",SMSBanking:"",MobileBanking:"",StatementOnEmail:"",AadhaarCardSeeding:"",InterntBanking:""},$e={RegistrationId:"",NatureofDeposit:"",DistinguishingNo:"",AdditionalDetails:"",NomineeFirstName:"",NomineeMiddleName:"",NomineeLastName:"",NomineeAddress1:"",NomineeAddress2:"",NomineeAddress3:"",Relationship:"",Age:"",MinorDOB:"",AccountOperations:""};function Ve(a){if(1==a){if(""==$("#txtPancard1").val().trim()&&0==$("#chkPAN1").prop("checked"))return $("#txtPancard1").focus(),void U("Please enter PAN No. or check Form60!");0==$("#chkPAN1").prop("checked")?$("#navForm60").css("background-color","lightgrey"):$("#navForm60").css("background-color","");var r=new Date($("#txtdob1").val()),n=new Date;Math.floor((n-r)/315576e5)>18?$("#navRelatedPerson").css("background-color","lightgrey"):$("#navRelatedPerson").css("background-color","");var s=!1;if(0==he.length)return U("Please add atleast one POI document!"),s=!1;he.map((function(e){return 0==e.EnterNumber.trim().length?(U("Please enter Document Number for "+e.SelectedProofofIdentity+"!"),s=!1):0==e.POI&&0==e.POA?(U("Please select either POI or POA for "+e.SelectedProofofIdentity+"!"),s=!1):0==e.Upload.length?(U("Please uplaod document for "+e.SelectedProofofIdentity+"!"),s=!1):s=!0}));if(null!=localStorage.getItem("RegistrationId"))nt(a+1);else if(s){De.AccountTypeId=$("#ddlaccounttype").val(),De.EntityTypeId=$("#ddlentitytype").val(),De.LocationId=$("#ddllocation").val(),De.BranchId=$("#ddlbranch").val();for(var c=Object(Ct.a)(Ge),o=1;o<=c.length;o++)(Be={}).Title=$("#ddlpersonalchoose"+o).val(),Be.FirstName=$("#txtFirstName"+o).val().trim(),Be.MiddleName=$("#txtMiddleName"+o).val().trim(),Be.LastName=$("#txtLastName"+o).val().trim(),Be.DOB=$("#txtdob"+o).val(),Be.Gender=$("#ddlgender"+o).val(),Be.Nationality=$("#ddlnationality"+
1o).val(),Be.Occupation=$("#ddloccupation"+o).val().trim(),Be.Mobile=$("#txtPhoneno"+o).val().trim(),Be.Email=$("#txtEmailID"+o).val().trim(),Be.MartialStatus=$("#ddlmaratialstatus"+o).val(),Be.LocalAddress1=$("#txtCommunicationAddress1"+o).val().trim(),Be.LocalAddress2=$("#txtCommunicationAddress2"+o).val().trim(),Be.LocalAddress3=$("#txtCommunicationAddress3"+o).val().trim(),Be.LocalCity=$("#txtCommunicationCity"+o).val().trim(),Be.LocalPin=$("#txtCommunicationPincode"+o).val().trim(),Be.LocalState=$("#ddlCommunicationState"+o).val(),Be.PermanentAddress1=$("#txtPermanentAddress1"+o).val().trim(),Be.PermanentAddress2=$("#txtPermanentAddress2"+o).val().trim(),Be.PermanentAddress3=$("#txtPermanentAddress3"+o).val().trim(),Be.PermanentCity=$("#txtPermanentCity"+o).val().trim(),Be.PermanentPin=$("#txtPermanentPincode"+o).val().trim(),Be.PermanentState=$("#ddlPermanentState"+o).val(),Be.PAN=$("#txtPancard"+o).val(),he.map((function(t){e(t.Upload).then((function(e){(Ee={}).Base64POI=e,Ee.POI=t.SelectedProofofIdentity,Ee.POINo=t.EnterNumber,Ee.IsPOI=1==t.POI?"POI"==t.POIPOA?"true":"false":"POA & POI"==t.POIPOA?"true":"false",Ee.IsPOA=1==t.POA?"POA"==t.POIPOA?"true":"false":"POA & POI"==t.POIPOA?"true":"false",Ee.ExpiryDate=t.Expiry,Ie.push(Ee)}))})),Be.registrationHoldersPOI=Ie,Te.push(Be);e(ye).then((function(e){Be.Base64PAN=e,p.a.post(g+"/api/Registration/Registration",De,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(localStorage.setItem("RegistrationId",e.data.registrationId),localStorage.setItem("ReferenceNo",e.data.referenceNo),nt(a+1)):U(e.data.responseMessage)}))}))}}else if(2==a)Fe.RegistrationId=localStorage.getItem("RegistrationId"),Fe.FatherTitle=$("#ddlfatherchoose :selected").text(),Fe.FatherFirstName=$("#txtFatherFirstName").val().trim(),Fe.FatherMiddleName=$("#txtFatherMiddleName").val().trim(),Fe.FatherLastName=$("#txtFatherLastName").val().trim(),Fe.MotherTitle=$("#ddlmotherchoose :selected").text(),Fe.MotherFirstName=$("#txtMotherFirstName").val().trim(),Fe.MotherMiddleName=$("#txtMotherMiddleName").val().trim(),Fe.MotherLastName=$("#txtMotherLastName").val().trim(),Fe.MaidenTitle=$("#ddlmaidenchoose :selected").text(),Fe.MaidenFirstName=$("#txtMaidenFirstName").val().trim(),Fe.MaidenMiddleName=$("#txtMaidenMiddleName").val().trim(),Fe.MaidenLastName=$("#txtMaidenLastName").val().trim(),p.a.post(se(),Fe,{headers:D()}).then((function(e){if("OK"==e.data.responseCode){var t=new Date($("#txtdob1").val()),r=new Date,n=Math.floor((r-t)/315576e5);n>18&&0==$("#chkPAN1").prop("checked")?nt(a+3):n>18&&1==$("#chkPAN1").prop("checked")?nt(a+2):n<18&&nt(a+1)}else U(e.data.responseMessage)}));else if(3==a){var l="";1==$("#chkguardian").prop("checked")?l+="Guardian of Minor, ":l.replace("Guardian of Minor, "),1==$("#chkassignee").prop("checked")?l+="Assignee, ":l.replace("Assignee, "),1==$("#chkauthorized").prop("checked")?l+="Authorized representative, ":l.replace("Authorized representative, "),Re.RegistrationId=localStorage.getItem("RegistrationId"),Re.RelatedPersonTitle=$("#ddlrelatedpersonchoose :selected").text(),Re.RelatedPeronFirstName=$("#txtrelatedpersonfirstname").val().trim(),Re.RelatedPeronMiddleName=$("#txtrelatedpersonmiddlename").val().trim(),Re.RelatedPeronLastName=$("#txtrelatedpersonlastname").val().trim(),Re.RelatedPersonCustomerRelation=$("#txtcustomerrelation").val().trim(),Re.RelatedPersonType=l,Re.RelatedPersonPANNo=$("#txtRelatedPan").val().trim(),Re.RelatedPersonAadhaarNo=$("#txtRelatedAadhaar").val().trim(),Re.RelatedPersonCourtOrder
1No=$("#txtRelatedCourtOrderNo").val().trim(),p.a.post(ce(),Re,{headers:D()}).then((function(e){"OK"==e.data.responseCode?1==$("#chkPAN1").prop("checked")?nt(a+1):0==$("#chkPAN1").prop("checked")&&nt(a+2):U(e.data.responseMessage)}))}else if(4==a){var i=!1;$("#rbaccessedtaxyes").prop("checked")?i=!0:$("#rbaccessedtaxno").prop("checked")&&(i=!1),Le.RegistrationId=localStorage.getItem("RegistrationId"),Le.DeclarantDocuments="",Le.DeclarantTransactionParticulars=$("#txttransactionparticulars").val().trim(),Le.DeclarantAmountofTransaction=$("#txttransactionsamount").val().trim(),Le.DeclarantAssessedTax=i,Le.DetailsOfIncomeTax=$("#txtdetailsofincometax").val().trim(),Le.ReasonForNoPan=$("#txtreasonfornopan").val().trim(),p.a.post(ue(),Le,{headers:D()}).then((function(e){"OK"==e.data.responseCode?nt(a+1):U(e.data.responseMessage)}))}else if(5==a){if("Businessman"==$("#ddloccupationdetails :selected").text()){if(""==$("#txtlineofnusiness").val().trim())return $("#txtlineofnusiness").focus(),void U("Line of Business is required!");if(""==$("#txtbusinessname").val().trim())return $("#txtbusinessname").focus(),void U("Business Name is required!");if(""==$("#txtstartbusinessdate").val().trim())return $("#txtstartbusinessdate").focus(),void U("Date of starting business is required!");if(""==$("#txtbussinessaddress1").val().trim())return $("#txtbussinessaddress1").focus(),void U("Address1 required!");if(""==$("#txtbussinessaddress2").val().trim())return $("#txtbussinessaddress2").focus(),void U("Address2 required!");if(""==$("#txtbussinessaddress3").val().trim())return $("#txtbussinessaddress3").focus(),void U("Address3 required!")}if($("#rbtwowheeler").prop("checked")){if(""==$("#txttwowheelermonth").val().trim())return $("#txttwowheelermonth").focus(),void U("Two Wheeler month is required!");if(""==$("#txttwowheeleryear").val().trim())return $("#txttwowheeleryear").focus(),void U("Two Wheeler year is required!");if(parseInt($("#txttwowheelermonth").val().trim())>12)return $("#txttwowheelermonth").focus(),void U("Two Wheeler month should be valid!");if(parseInt($("#txttwowheeleryear").val().trim())>2050)return $("#txttwowheeleryear").focus(),void U("Two Wheeler year should be valid!")}else if($("#rbcar").prop("checked")){if(""==$("#txtcarmonth").val().trim())return $("#txtcarmonth").focus(),void U("Car month is required!");if(""==$("#txtcaryear").val().trim())return $("#txtcaryear").focus(),void U("Car year is required!");if(parseInt($("#txtcarmonth").val().trim())>12)return $("#txtcarmonth").focus(),void U("Car month should be valid!");if(parseInt($("#txtcaryear").val().trim())>2050)return $("#txtcaryear").focus(),void U("Car year should be valid!")}else if($("#rbother").prop("checked")){if(""==$("#txtothermonth").val().trim())return $("#txtothermonth").focus(),void U("Other month is required!");if(""==$("#txtotheryear").val().trim())return $("#txtotheryear").focus(),void U("Other year is required!");if(parseInt($("#txtothermonth").val().trim())>12)return $("#txtothermonth").focus(),void U("Other month should be valid!");if(parseInt($("#txtotheryear").val().trim())>2050)return $("#txtotheryear").focus(),void U("Other year should be valid!")}var d="",u="",h="",b="",m="";$("#rbbornyes").prop("checked")?d="true":$("#rbbornno").prop("checked")&&(d="false"),$("#rbtaxresidenceyes").prop("checked")?u="true":$("#rbtaxresidenceno").prop("checked")&&(u="false"),$("#rbtwowheeler").prop("checked")?(h="Two Wheeler",b=$("#txttwowheelermonth").val()+"-"+$("#txttwowheeleryear").val()):$("#rbcar").prop("checked")?(h="Car",b=$("#txtcarmonth").val()+"-"+$("#txtcaryear").val()):$("#rbother").prop("checked")&&(h="Other",b=$("#txtothermonth").val()+"-"+$("#txtotheryear").val()),$("#chkmutualfunds").prop("checked")&&(m+="Mutual Funds, "),$("#chkhealthinsurance").prop("checked")&&(m+="Health Insurance, "),$("#chkgeneralinsurance").prop("checked")&&(m+="General Insurance, "),$("#chkdemat").prop("checked")&&(m+="Demat, "),$("#chkpmsby").prop("checked")&&(m+="Pradhan Mantri Suraksha Bima Yojana (PMSBY), "),$("#chkpmjjby").prop("checked")&&(m+="Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY), "),Me.RegistrationId=localStorage.getItem("RegistrationId"),Me.FundsExpectedOrigin=$("#ddlfundsforcredit :selected").text(),Me.FundsUtilisationExpected=$("#ddlfundsbydebit :selected").text(),Me.OtherBankAccounts=$("#ddlotherbanksaccounts :selected").text(),Me.Turnover=$("#txtturnover").val().trim(),Me.AverageIncome=$("#txtaverageincome").val().trim(),Me.AverageBalance=$("#txtexpectedincome").val().trim(),Me.Education=$("#ddleducation :selected").text(),Me.Religion=$("#ddlreligion :selected").text(),Me.OccupationDetail
1s=$("#ddloccupationdetails :selected").text(),Me.LineOfBusiness=$("#txtlineofnusiness").val().trim(),Me.BusinessName=$("#txtbusinessname").val().trim(),Me.BusinessStartDate=$("#txtstartbusinessdate").val(),Me.BusinessAddress1=$("#txtbussinessaddress1").val().trim(),Me.BusinessAddress2=$("#txtbussinessaddress2").val().trim(),Me.BusinessAddress3=$("#txtbussinessaddress3").val().trim(),Me.BusinessTelNo=$("#txtofficecontact").val().trim(),Me.BusinessMobileNo=$("#txtofficemobileno").val().trim(),Me.BusinessAnnualIncome=$("#ddlannualincome :selected").text(),Me.BusinessIncomeSource=$("#txtsourceofincome").val().trim(),Me.BusinessWealthSource=$("#txtsourceofwealth").val().trim(),Me.BusinessEstimatedValue=$("#ddlestimatedvalue :selected").text(),Me.BusinessAssetDetails=$("#ddlassetdetails :selected").text(),Me.BornNonIndia=d,Me.TaxResidenceNonIndia=u,Me.BusinessVehicleType=h,Me.BusinessCarPurchaseYear=b,Me.BusinessCarMaker=$("#txtcarmaker").val().trim(),Me.InterestedIn=m,p.a.post(oe(),Me,{headers:D()}).then((function(e){"OK"==e.data.responseCode?nt(a+1):U(e.data.responseMessage)}))}else if(6==a){var j,x,O,f,v,y="false";j=$("#switchdebitcard").prop("checked")?"true":"false",x=$("#switchsmsbanking").prop("checked")?"true":"false",O=$("#switchmobilebanking").prop("checked")?"true":"false",f=$("#switchemail").prop("checked")?"true":"false",v=$("#switchaadhaarcard").prop("checked")?"true":"false",y=$("#switchinternetbanking").prop("checked")?"true":"false",qe.RegistrationId=localStorage.getItem("RegistrationId"),qe.DebitCard=j,qe.SMSBanking=x,qe.MobileBanking=O,qe.StatementOnEmail=f,qe.AadhaarCardSeeding=v,qe.InterntBanking=y,p.a.post(le(),qe,{headers:D()}).then((function(e){"OK"==e.data.responseCode?nt(a+1):U(e.data.responseMessage)}))}else if(7==a){var N="";$("#rbself").prop("checked")?N="Self":$("#rbeither").prop("checked")?N="Either or surviver":$("#rbformer").prop("checked")?N="Former or surviver":$("#rbanyone").prop("checked")?N="Anyone or surviver":$("#rbjointly").prop("checked")&&(N="Jointly by all"),$e.RegistrationId=localStorage.getItem("RegistrationId"),$e.NatureofDeposit=$("#txtnatureofdeposit").val().trim(),$e.DistinguishingNo=$("#txtdistinguishingnumber").val().trim(),$e.AdditionalDetails=$("#txtadditionaldetails").val().trim(),$e.NomineeFirstName=$("#txtnomineefirstname").val().trim(),$e.NomineeMiddleName=$("#txtnomineemiddlename").val().trim(),$e.NomineeLastName=$("#txtnomineelastname").val().trim(),$e.NomineeAddress1=$("#txtnomineeaddress1").val().trim(),$e.NomineeAddress2=$("#txtnomineeaddress2").val().trim(),$e.NomineeAddress3=$("#txtnomineeaddress3").val().trim(),$e.Relationship=$("#txtnomineerelationship").val().trim(),$e.Age=$("#txtnomineeage").val().trim(),$e.MinorDOB=$("#txtnomineeminordob").val(),$e.AccountOperations=N,p.a.post(ie(),$e,{headers:D()}).then((function(e){"OK"==e.data.responseCode?nt(a+1):U(e.data.responseMessage)}))}else if(8==a){var A={RegistrationId:localStorage.getItem("RegistrationId")};try{p.a.post(de(),A,{headers:D()}).then((function(e){"OK"==e.data.responseCode?function(e){var a="RegistrationPrintPDF/"+e;p.a.get(a,{responseType:"blob"}).then((function(a){zo()(a.data,e),t.push("/success")}))}(localStorage.getItem("ReferenceNo")+".pdf"):U(e.data.responseMessage)})).catch((function(e){console.log(e)}))}catch(k){console.log(k)}}}Object(r.useEffect)((function(){G(vo()),G(yo()),G(Ao()),G(Co()),G(So()),G(To()),G(Eo()),G(Do()),G(Ro()),G(Mo()),G({type:uo}),G(Vo())}),[G]);var We=Object(r.useState)([{id:1}]),Ue=Object(u.a)(We,2),Ge=Ue[0],Ye=Ue[1],Ke=Object(r.useState)(1),ze=Object(u.a)(Ke,2),Je=(ze[0],ze[1],Object(r.useState)(1)),Qe=Object(u.a)(Je,2),He=Qe[0],Ze=Qe[1],Xe=Object(r.useState)([1]),_e=Object(u.a)(Xe,2),et=(_e[0],_e[1],Object(r.useState)([1])),tt=Object(u.a)(et,2),at=tt[0],rt=tt[1];function nt(e){if(He!==e){var t=[].concat(Object(Ct.a)(at),[e]);e>=1&&e<=8&&(Ze(e),rt(t))}}var st=Object(pt.a)({enableReinitialize:!0,initialValues:{accounttype:"1",entitytype:"1",location:"",branch:"",fatherchoose:"",fatherlastname:"",fatherfirstname:"",motherchoose:"",motherlastname:"",motherfirstname:"",maidenchoose:"",maidenlastname:"",maidenfirstname:"",users:[we,{personalchoose:"",firstname:"",middlename:"",lastname:"",phoneno:"",email:"",gender:"",occupation:"",dob:"",maritalstatus:"2",nationality:"1",communicationaddress:"",communicationstate:"",communicationcity:"",communicationpincode:"",permanentaddress:"",permanentstate:"",permanentcity:"",permanentpincode:"",poi:"",pan:"",panfile:""}],pancard:"",mobileno:"",adharcard:"",mobilenumber:"",relatedpers
1onchoose:"",relatedpersonlastname:"",relatedpersonfirstname:"",relatedpersonrelation:"",relatedpersonpan:"",relatedpersonaadhar:"",transactionparticulars:"",transactionsamount:"",detailsofincometax:"",reasonfornopan:"",nomineenatureofdeposit:"",nomineedistinguishingnumber:"",nomineelastname:"",nomineefirstname:"",nomineeaddress1:"",nomineerelation:"",annualactivity:"",averageincome:"",expectedincome:"",officecontact:"",officemobileno:"",twowheelermonth:"",twowheeleryear:"",carmonth:"",caryear:"",anyothermonth:"",anyotheryear:""},validationSchema:jt.c({accounttype:jt.d().required("Form Type required"),entitytype:jt.d().required("Entity Type required"),location:jt.d().required("Location required"),branch:jt.d().required("Branch required"),fatherchoose:jt.d().required("Father Title required"),fatherlastname:jt.d().required("Father Last Name required"),fatherfirstname:jt.d().required("Father First name required"),motherchoose:jt.d().required("Mother Title required"),motherlastname:jt.d().required("Mother Last name required"),motherfirstname:jt.d().required("Mother First name required"),maidenchoose:jt.d().required("Maiden Title required"),maidenlastname:jt.d().required("Maiden Last name required"),maidenfirstname:jt.d().required("Maiden First name required"),users:jt.a().of(jt.c().shape({personalchoose:jt.d().required("Title required"),firstname:jt.d().required("First Name required"),middlename:jt.d().required("Middle Name required"),lastname:jt.d().required("Last Name required"),phoneno:jt.d().required("Phone No. required"),gender:jt.d().required("Gender required"),dob:jt.d().required("Date of Birth required"),maritalstatus:jt.d().required("Maratial Status required"),nationality:jt.d().required("Nationality required"),occupation:jt.d().required("Occupation required"),communicationaddress:jt.d().required("Address 1 required"),communicationstate:jt.d().required("State required"),communicationcity:jt.d().required("City required"),communicationpincode:jt.b().required("Pincode required"),permanentaddress:jt.d().required("Address 1 required"),permanentstate:jt.d().required("State required"),permanentcity:jt.d().required("City required"),permanentpincode:jt.b().required("Pincode required"),poi:jt.d().required("POI required"),poipoa:jt.d().required("POI/POA required"),pan:jt.d().required("PAN No. required"),panfile:jt.d().required("PAN document required")})),pancard:jt.d().required("Please Enter A Valid PAN No"),mobileno:jt.b().required("10 Digit Mobile Number"),adharcard:jt.b().required("Please enter your ADHAR No"),mobilenumber:jt.b().required(" Enter His Full Name"),relatedpersonchoose:jt.d().required("Title required"),relatedpersonlastname:jt.d().required("Last Name required"),relatedpersonfirstname:jt.d().required("First Name required"),relatedpersonrelation:jt.d().required("Customer Relation required"),relatedpersonpan:jt.d().required("PAN required"),relatedpersonaadhar:jt.d().required("Aadhaar required"),transactionparticulars:jt.d().required("Transaction Particulars required"),transactionsamount:jt.d().required("Amount of Transactions required"),detailsofincometax:jt.d().required("Details of income required"),reasonfornopan:jt.d().required("Reason for not having PAN required"),nomineenatureofdeposit:jt.d().required("Nature of deposit required"),nomineedistinguishingnumber:jt.d().required("Distinguishing number required"),nomineelastname:jt.d().required("Last Name required"),nomineefirstname:jt.d().required("First Name required"),nomineeaddress1:jt.d().required("Address1 required"),nomineerelation:jt.d().required("Relation required")}),onSubmit:function(e){}});function ct(e){return Object.keys(e[0]).map((function(t){return(""===e[0][t]||void 0===e[0][t])&&(!("pan"==t&&""==e[0][t]&&$("#chkPAN1").prop("checked")||"panfile"==t&&""==e[0][t]&&$("#chkPAN1").prop("checked"))&&"email"!=t)})).includes(!0)}$(".d-block").flatpickr({dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"}),$(".maxFuture").flatpickr({dateFormat:"d-M-Y",disableMobile:"true"});var ot={color:"#9a084f",fontWeight:"bold"},lt={color:"black"},it={borderRadius:8,flex:1,padding:"15px"},dt={marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},ut={color:"red",fontWeight:"bold"};return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsxs)("div",{className:"page-content",children:[Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Registration"})}),Object(ft.jsxs)(m.h,{fluid:!0,children:[Object(ft.jsx)(m.v,{style:{marginTop:"-80px"},children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("div",{style:{width:"100%",backgroundColor:"#9a084f"}})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{children:Object(ft.jsx)(m.d,{children:Object(ft.jsxs)("div",{className:"vertical-wizard wizard clearfix vertical",children:[Object(ft.jsx)("div",{className:"steps clearfix",children:Object(ft.jsxs)("ul",{children:[Object(ft.jsx)(m.t,{className:Lt()({current:1===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:1===He}),onClick:function(){nt(1)},disabled:!(at||[]).includes(1),children:[Object(ft.jsx)("span",{className:"number",children:"1"})," Personal Details"]}
1)}),Object(ft.jsx)(m.t,{className:Lt()({current:2===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:2===He}),onClick:function(){nt(2)},disabled:!(at||[]).includes(2),children:[Object(ft.jsx)("span",{className:"number",children:"2"})," ",Object(ft.jsx)("span",{children:"Family Details"})]})}),Object(ft.jsx)(m.t,{className:Lt()({current:3===He}),children:Object(ft.jsxs)(m.u,{id:"navRelatedPerson",className:(Lt()({active:3===He}),"done"),onClick:function(){nt(3)},disabled:!(at||[]).includes(3),children:[Object(ft.jsx)("span",{className:"number",children:"3"})," Realated person"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:4===He}),children:Object(ft.jsxs)(m.u,{id:"navForm60",className:(Lt()({active:4===He}),"done"),onClick:function(){nt(4)},disabled:!(at||[]).includes(4),children:[Object(ft.jsx)("span",{className:"number",children:"4"})," Form no 60/61"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:5===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:5===He}),onClick:function(){nt(5)},disabled:!(at||[]).includes(5),children:[Object(ft.jsx)("span",{className:"number",children:"5"})," Additional Details"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:6===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:6===He}),onClick:function(){nt(6)},disabled:!(at||[]).includes(6),children:[Object(ft.jsx)("span",{className:"number",children:"6"})," Techno products"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:7===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:7===He}),onClick:function(){nt(7)},disabled:!(at||[]).includes(7),children:[Object(ft.jsx)("span",{className:"number",children:"7"})," Nomination"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:8===He}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:8===He}),onClick:function(){nt(8)},disabled:!(at||[]).includes(8),children:[Object(ft.jsx)("span",{className:"number",children:"8"})," Applicant Declaration"]})})]})}),Object(ft.jsx)("div",{className:"content clearfix",style:{marginTop:"-13px"},children:Object(ft.jsxs)(m.w,{activeTab:He,className:"body",children:[Object(ft.jsxs)(m.x,{tabId:1,children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)(m.c,{style:{borderRadius:8,flex:1},children:Object(ft.jsxs)(m.d,{children:[Object(ft.jsx)(m.e,{className:"h4",style:ot,children:"Primary details"}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Form Type"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"accounttype",id:"ddlaccounttype",onChange:st.handleChange,value:st.values.accounttype||"",invalid:!!(st.errors&&st.errors.accounttype&&st.touched&&st.touched.accounttype),disabled:!0,children:[Object(ft.jsx)("option",{value:"",children:"Form Type"}),Z.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.accountTypeName},e.id)}))]}),st.errors&&st.errors.accounttype&&st.touched&&st.touched.accounttype?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.accounttype}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Entity Type"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"entitytype",id:"ddlentitytype",onChange:st.handleChange,value:st.values.entitytype||"",invalid:!!(st.errors&&st.errors.entitytype&&st.touched&&st.touched.entitytype),disabled:!0,children:[Object(ft.jsx)("option",{value:"",children:"Entity Type"}),X.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.entityTypeName},e.id)}))]}),st.errors&&st.errors.entitytype&&st.touched&&st.touched.entitytype?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.entitytype}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Location"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"location",id:"ddllocation",onChange:function(e){st.handleChange(e),function(e){var t={LocationId:e.target.value};p.a.post(re(),t,{headers:D()}).then((function(e){o(e.data)}),(function(e){console.log(e.response)}))}(e)},value:st.values.location||"",invalid:!!(st.errors&&st.errors.location&&st.touched&&st.touched.location),children:[Object(ft.jsx)("option",{value:"",children:"Location"}),_.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.locationName},e.id)}))]}),st.errors&&st.errors.location&&st.touched&&st.touched.location?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.location}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Branch"}
1),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"branch",id:"ddlbranch",onChange:st.handleChange,value:st.values.branch||"",invalid:!!(st.errors&&st.errors.branch&&st.touched&&st.touched.branch),children:[Object(ft.jsx)("option",{value:"",children:"Branch"}),c.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.branchName},e.id)}))]}),st.errors&&st.errors.branch&&st.touched&&st.touched.branch?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.branch}):null]})})]})]})})})}),Object(ft.jsxs)(m.m,{style:it,className:"registration needs-validation",encType:"multipart/form-data",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsxs)(m.m,{className:"repeater",encType:"multipart/form-data",children:[(Ge||[]).map((function(e,t){return Object(ft.jsxs)("div",{style:{borderColor:"black",padding:"10px"},children:[Object(ft.jsx)(m.r,{children:Object(ft.jsxs)("h5",{style:ot,children:["Personal details ",e.id]})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Title"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".personalchoose"),id:"ddlpersonalchoose"+e.id,onChange:st.handleChange,value:st.values.users[t].personalchoose||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].personalchoose&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].personalchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].personalchoose&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].personalchoose?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].personalchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".lastname"),placeholder:"Last Name",type:"text",className:"form-control",id:"txtLastName"+e.id,maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].lastname||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].lastname&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].lastname)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].lastname&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].lastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].lastname}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".firstname"),placeholder:"First Name",type:"text",className:"form-control",id:"txtFirstName"+e.id,maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].firstname||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].firstname&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].firstname)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].firstname&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].firstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].firstname}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Middle Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".middlename"),placeholder:"Middle Name",type:"text",className:"form-control",id:"txtMiddleName"+e.id,maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].middlename||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].middlename&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].middlename)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].middlename&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].middlename?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].middlename}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Birth Date"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.q,{children:[Object(ft.jsx)(m.p,{id:"txtdob"+e.id,name:"users.".concat(t,".dob"),placeholder:"Birth Date",type:"text",className:"form-control d-block flatpickr",onSelect:st.handleChange,value:st.values.users[t].dob||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].dob&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].dob)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].dob&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].dob?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].dob}):null]})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Gender"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"users.".concat(t,".gender"),className:"form-select",id:"ddlgender"+e.id,onChange:st.handleChange,value:st.values.users[t].gender||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].gender&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].gender),children:[Object(ft.jsx)("option",{value:"",children:"Gender"}),Object(ft.jsx)("option",{value:"1",children:"Male"}),Object(ft.jsx)("option",{value:"2",children:"Female"}),Object(ft.jsx)("option",{value:"3",children:"Transgender"})]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].gender&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].gender?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].gender}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Nationality"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".nationality"),id:"ddlnationality"+e.id,onChange:st.handleChange,value:st.values.users[t].nationality||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].nationality&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].nationality),children:[Object(ft.jsx)("option",{value:"",children:"Nationality"}),Object(ft.jsx)("option",{value:"1",children:"Indian"}),Object(ft.jsx)("option",{value:"2",children:"NRI/PIO"}),Object(ft.jsx)("option",{value:"3",children:"Others"})]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].nationality&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].nationality?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].nationality}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Occupation"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".occupation"),id:"ddloccupation"+e.id,onChange:st.handleChange,value:st.values.users[t].occupation||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].occupation&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].occupation),children:[Object(ft.jsx)("option",{value:"",children:"Occupation"}),K.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationName},e.id)}))]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].occupation&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].occupation?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].occupation}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mobile"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".phoneno"),placeholder:"Mobile",type:"text",className:"form-control",id:"txtPhoneno"+e.id,maxLength:"10",onChange:function(e){te(e)},onBlur:st.handleBlur,value:st.values.users[t].phoneno||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].phoneno&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].phoneno)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].phoneno&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].phoneno?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].phoneno}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Email"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".email"),placeholder:"Email",type:"text",className:"form-control",id:"txtEmailID"+e.id,onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].email||"",maxLength:"100"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Marital Status"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"users.".concat(t,".maritalstatus"),defaultValue:2,className:"form-select",id:"ddlmaratialstatus"+e.id,onChange:st.handleChange,value:st.values.users[t].maritalstatus||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].maritalstatus&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].maritalstatus),children:[Object(ft.jsx)("option",{value:"",children:"Marital status"}),Object(ft.jsx)("option",{value:"1",children:"Married"}),Object(ft.jsx)("option",{value:"2",children:"Unmarried"})]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].maritalstatus&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].maritalstatus?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].maritalstatus}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.r,{style:lt,children:"Communication Address"})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Address 1"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".communicationaddress"),placeholder:"Address 1",type:"text",className:"form-control",id:"txtCommunicationAddress1"+e.id,maxLength:"300",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].communicationaddress||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationaddress&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationaddress)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationaddress&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationaddress?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].communicationaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".communicationaddress2"),placeholder:"Address 2",type:"text",className:"form-control",id:"txtCommunicationAddress2"+e.id,maxLength:"300"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Addrress 3"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".communicationaddress3"),placeholder:"Address 3",type:"text",className:"form-control",id:"txtCommunicationAddress3"+e.id,maxLength:"300"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"City"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".communicationcity"),placeholder:"City",type:"text",className:"form-control",id:"txtCommunicationCity"+e.id,maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].communicationcity||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationcity&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationcity)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationcity&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationcity?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].communicationcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Pin"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".communicationpincode"),placeholder:"Pin",type:"text",className:"form-control",id:"txtCommunicationPincode"+e.id,maxLength:"6",onChange:function(e){te(e)},onBlur:st.handleBlur,value:st.values.users[t].communicationpincode||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationpincode&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationpincode)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationpincode&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationpincode?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].communicationpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"State"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".communicationstate"),id:"ddlCommunicationState"+e.id,onChange:st.handleChange,value:st.values.users[t].communicationstate||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationstate&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),Y.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].communicationstate&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].communicationstate?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].communicationstate}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkSameAs"+e.id,onClick:function(){!function(e){if($("#chkSameAs"+e).prop("checked")){var t=$("#txtCommunicationAddress1"+e).val(),a=$("#txtCommunicationAddress2"+e).val(),r=$("#txtCommunicationAddress3"+e).val(),n=$("#txtCommunicationCity"+e).val(),s=$("#txtCommunicationPincode"+e).val(),c=$("#ddlCommunicationState"+e).val();$("#txtPermanentAddress1"+e).val(t),$("#txtPermanentAddress2"+e).val(a),$("#txtPermanentAddress3"+e).val(r),$("#txtPermanentCity"+e).val(n),$("#txtPermanentPincode"+e).val(s),$("#ddlPermanentState"+e).val(c),st.values.users[e-1].permanentaddress=t,st.values.users[e-1].permanentstate=c,st.values.users[e-1].pe
1rmanentcity=n,st.values.users[e-1].permanentpincode=s}else $("#txtPermanentAddress1"+e).val(""),$("#txtPermanentAddress2"+e).val(""),$("#txtPermanentAddress3"+e).val(""),$("#txtPermanentCity"+e).val(""),$("#txtPermanentPincode"+e).val(""),$("#ddlPermanentState"+e).val("")}(e.id)}}),Object(ft.jsxs)(m.r,{style:lt,className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Same as above"]})]})})})}),Object(ft.jsx)(m.r,{style:lt,children:"Permanent Address"})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Address 1"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".permanentaddress"),placeholder:"Address 1",type:"text",className:"form-control",id:"txtPermanentAddress1"+e.id,maxLength:"300",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].permanentaddress||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentaddress&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentaddress)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentaddress&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentaddress?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].permanentaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".permanentaddress2"),placeholder:"Address 2",type:"text",className:"form-control",id:"txtPermanentAddress2"+e.id,maxLength:"300"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Address 3"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".permanentaddress3"),placeholder:"Address 3",type:"text",className:"form-control",id:"txtPermanentAddress3"+e.id,maxLength:"300"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"City"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".permanentcity"),placeholder:"City",type:"text",className:"form-control",id:"txtPermanentCity"+e.id,maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.users[t].permanentcity||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentcity&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentcity)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentcity&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentcity?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].permanentcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Pin"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"users.".concat(t,".permanentpincode"),placeholder:"Pin",type:"text",className:"form-control",id:"txtPermanentPincode"+e.id,maxLength:"6",onChange:function(e){te(e)},onBlur:st.handleBlur,value:st.values.users[t].permanentpincode||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentpincode&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentpincode)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentpincode&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentpincode?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].permanentpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"State"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".permanentstate"),id:"ddlPermanentState"+e.id,onChange:st.handleChange,value:st.values.users[t].permanentstate||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentstate&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),Y.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].permanentstate&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].permanentstate?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].permanentstate}):null]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:lt,children:Object(ft.jsx)("b",{children:"PAN"})}),Object(ft.jsx)(m.p,{placeholder:"PAN No.",type:"text",className:"form-control",id:"txtPancard"+e.id,maxLength:"10",name:"users.".concat(t,".pan"),onChange:st.handleChange,value:st.values.users[t].pan||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].pan&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched&&st.touched.users&&st.touched.users[t]&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched.users[t].pan)}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].pan&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched&&st.touched.users&&st.touched.users[t]&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched.users[t].pan?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].pan}):null,Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkPAN"+e.id,onClick:function(){return t=e.id,void(1==$("#chkPAN".concat(t)).prop("checked")?($("#txtPancard".concat(t)).attr("disabled","disabled"),$("#Upload".concat(t)).attr("disabled","disabled"),$("#txtPancard".concat(t)).val("")):($("#txtPancard".concat(t)).removeAttr("disabled"),$("#Upload".concat(t)).removeAttr("disabled")));var t}}),Object(ft.jsx)("small",{style:{marginLeft:"5px"},children:"Fill Form 60/61 if PAN is not available"})]}),Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{children:"Upload PAN"}),Object(ft.jsx)(m.p,{multiple:"",id:"Upload"+e.id,name:"users.".concat(t,".panfile"),type:"file",accept:".jpg,.jpeg,.pdf",value:st.values.users[t].panfile||"",onChange:function(e){st.handleChange(e),Ne(e.target.files[0])},invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].panfile&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched&&st.touched.users&&st.touched.users[t]&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched.users[t].panfile)}
1),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].panfile&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched&&st.touched.users&&st.touched.users[t]&&!$("#chkPAN".concat(e.id)).prop("checked")&&st.touched.users[t].panfile?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].panfile}):null]})]}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h5",{style:lt,children:"POI(Proof of Identity) & POA(Proof of Address) Form"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Proof of Identity"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".poi"),id:"ddlPOI"+e.id,onChange:st.handleChange,value:st.values.users[t].poi||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].poi&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].poi),children:[Object(ft.jsx)("option",{value:"",children:"Proof Of Identity"}),ee.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.poi},e.id)}))]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].poi&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].poi?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].poi}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{children:"POI/POA"}),Object(ft.jsx)("span",{}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"users.".concat(t,".poipoa"),id:"ddlPOIPOA"+e.id,onChange:st.handleChange,value:st.values.users[t].poipoa||"",invalid:!!(st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].poipoa&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].poipoa),children:[Object(ft.jsx)("option",{value:"",children:"Choose"}),Object(ft.jsx)("option",{value:"1",children:"POA"}),Object(ft.jsx)("option",{value:"2",children:"POI"}),Object(ft.jsx)("option",{value:"3",children:"POA & POI"})]}),st.errors&&st.errors.users&&st.errors.users[t]&&st.errors.users[t].poipoa&&st.touched&&st.touched.users&&st.touched.users[t]&&st.touched.users[t].poipoa?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.users[t].poipoa}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"25px"},children:Object(ft.jsx)(m.b,{id:"btnAdd"+e.id,style:dt,onClick:function(){return function(e){if(""==$("#ddlPOI".concat(e," option:selected")).val()&&""==$("#ddlPOIPOA".concat(e," option:selected")).val())return U("Please select Proof of Identity!"),$("#ddlPOI".concat(e)).focus(),void $("#ddlPOIPOA".concat(e)).focus();var t={SelectedProofofIdentity:$("#ddlPOI1 option:selected").text(),EnterNumber:"",POIPOA:$("#ddlPOIPOA1 option:selected").text(),Expiry:"",Upload:"",Delete:""};be([].concat(Object(Ct.a)(he),[t]))}(e.id)},children:"Add"})})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)(m.c,{children:Object(ft.jsx)(m.d,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.y,{className:"align-middle mb-0",id:"tbPOI"+e.id,children:[Object(ft.jsx)("thead",{children:Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("th",{children:"SelectedProofofIdentity"}),Object(ft.jsx)("th",{children:"Enter Number"}),Object(ft.jsx)("th",{children:"POI/POA"}),Object(ft.jsx)("th",{children:"Expiry"}),Object(ft.jsx)("th",{children:"Upload"}),Object(ft.jsx)("th",{children:"Delete"})]})}),Object(ft.jsx)("tbody",{children:Object(ft.jsx)(bl,{rowsData:he,deletePoiRows:pe,handleChange:xe,handleCheckChange:Oe,handleUploadChange:fe,formRow:e.id})})]})})})})})})]},t)})),Object(ft.jsx)("br",{})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)("div",{style:{textAlign:"right"},children:Object(ft.jsx)("input",{type:"Button",style:{visibility:"hidden"},className:"btn btn-success mt-3 mt-lg-0",value:"+Add Applicant",onClick:function(){return function(){st.values.users.length;var e=Object(Ct.a)(Ge);e.push({id:e.length+1}),Ye(e),console.log(Ge)}()}})})}),Object(ft.jsx)(m.f,{lg:"7"}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"90px",backgroundColor:"#9a084f",fontSize:"larger",borderRadius:"0.50rem"},className:8===He?"next disabled":"next",type:"submit",onClick:function(){var e=ct(st.values.getDetails),t=ct([{accounttype:st.values.accounttype,entitytype:st.values.entitytype,location:st.values.location,branch:st.values.branch}]);e||t||Ve(He)},children:"Save & Next"})})]})]})]}),Object(ft.jsx)(m.x,{tabId:2,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Family details (only for First Holder)"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Father/Spouse Title"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fatherchoose",id:"ddlfatherchoose",onChange:st.handleChange,value:st.values.fatherchoose||"",invalid:!(!st.touched.fatherchoose||!st.errors.fatherchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),st.touched.fatherchoose&&st.errors.fatherchoose?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.fatherchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Father/Spouse Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"fatherlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtFatherLastName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.fatherlastname||"",invalid:!(!st.touched.fatherlastname||!st.errors.fatherlastname)}),st.touched.fatherlastname&&st.errors.fatherlastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.fatherlastname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Father/Spouse First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"fatherfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtFatherFirstName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.fatherfirstname||"",invalid:!(!st.touched.fatherfirstname||!st.errors.fatherfirstname)}),st.touched.fatherfirstname&&st.errors.fatherfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.fatherfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Father/Spouse Middle Name"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtFatherMiddleName",name:"fathermiddlelame",placeholder:"Middle Name",maxLength:"50"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mother Title"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"motherchoose",id:"ddlmotherchoose",onChange:st.handleChange,value:st.values.motherchoose||"",invalid:!(!st.touched.motherchoose||!st.errors.motherchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),st.touched.motherchoose&&st.errors.motherchoose?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.motherchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mother Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"motherlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtMotherLastName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.motherlastname||"",invalid:!(!st.touched.motherlastname||!st.errors.motherlastname)}),st.touched.motherlastname&&st.errors.motherlastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.motherlastname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mother First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"motherfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtMotherFirstName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.motherfirstname||"",invalid:!(!st.touched.motherfirstname||!st.errors.motherfirstname)}),st.touched.fatherfirstname&&st.errors.motherfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.motherfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mother Middle Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtMotherMiddleName",name:"mothermiddlename",placeholder:"Middle Name",maxLength:"50"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Maiden Title"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"maidenchoose",id:"ddlmaidenchoose",onChange:st.handleChange,value:st.values.maidenchoose||"",invalid:!(!st.touched.maidenchoose||!st.errors.maidenchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),st.touched.maidenchoose&&st.errors.maidenchoose?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.maidenchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Maiden Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"maidenlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtMaidenLastName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.maidenlastname||"",invalid:!(!st.touched.maidenlastname||!st.errors.maidenlastname)}),st.touched.maidenlastname&&st.errors.maidenlastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.maidenlastname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Maiden First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"maidenfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtMaidenFirstName",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.maidenfirstname||"",invalid:!(!st.touched.maidenfirstname||!st.errors.maidenfirstname)}),st.touched.maidenfirstname&&st.errors.maidenfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.maidenfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Maiden Middle Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtMaidenMiddleName",name:"maidenmiddlename",placeholder:"Middle Name",maxLength:"50"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){nt(He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){ct([{fatherchoose:st.values.fatherchoose,fatherlastname:st.values.fatherlastname,fatherfirstname:st.values.fatherfirstname,motherchoose:st.values.motherchoose,motherlastname:st.values.motherlastname,motherfirstname:st.values.motherfirstname,maidenchoose:st.values.maidenchoose,maidenlastname:st.values.maidenlastname,maidenfirstname:st.values.maidenfirstname}])||Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:3,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Detail of related person/Guardian (same as ID proof)"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Title"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"relatedpers
1onchoose",id:"ddlrelatedpersonchoose",onChange:st.handleChange,value:st.values.relatedpersonchoose||"",invalid:!(!st.touched.relatedpersonchoose||!st.errors.relatedpersonchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),st.touched.relatedpersonchoose&&st.errors.relatedpersonchoose?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtrelatedpersonlastname",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.relatedpersonlastname||"",invalid:!(!st.touched.relatedpersonlastname||!st.errors.relatedpersonlastname)}),st.touched.relatedpersonlastname&&st.errors.relatedpersonlastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonlastname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtrelatedpersonfirstname",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.relatedpersonfirstname||"",invalid:!(!st.touched.relatedpersonfirstname||!st.errors.relatedpersonfirstname)}),st.touched.relatedpersonfirstname&&st.errors.relatedpersonfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Middle Name"}),Object(ft.jsx)(m.p,{name:"relatedpersonmiddlename",placeholder:"Middle Name",type:"text",className:"form-control",id:"txtrelatedpersonmiddlename",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.relatedpersonmiddlename||""})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Customer Relation"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonrelation",placeholder:"Customer Relation",type:"text",className:"form-control",id:"txtcustomerrelation",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.relatedpersonrelation||"",invalid:!(!st.touched.relatedpersonrelation||!st.errors.relatedpersonrelation)}),st.touched.relatedpersonrelation&&st.errors.relatedpersonrelation?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonrelation}):null]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Related person type"}),Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkguardian"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Guardian of Minor"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkassignee"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Assignee"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkauthorized"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Authorized representative"]})]})})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"PAN"}),Object(ft.jsx)("span",{style:ut,children:"*"}
1),Object(ft.jsx)(m.p,{name:"relatedpersonpan",placeholder:"PAN",type:"text",className:"form-control",id:"txtRelatedPan",maxLength:"10",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.relatedpersonpan||"",invalid:!(!st.touched.relatedpersonpan||!st.errors.relatedpersonpan)}),st.touched.relatedpersonpan&&st.errors.relatedpersonpan?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonpan}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Aadhar"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonaadhar",placeholder:"Aadhar",type:"text",className:"form-control",id:"txtRelatedAadhaar",maxLength:"12",onChange:function(e){te(e)},onBlur:st.handleBlur,value:st.values.relatedpersonaadhar||"",invalid:!(!st.touched.relatedpersonaadhar||!st.errors.relatedpersonaadhar)}),st.touched.relatedpersonaadhar&&st.errors.relatedpersonaadhar?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.relatedpersonaadhar}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Court Order Number"}),Object(ft.jsx)(m.p,{name:"relatedcourt",placeholder:"Court Order Number",type:"text",className:"form-control",id:"txtRelatedCourtOrder
1No",maxLength:"50",onChange:function(e){te(e)},onBlur:st.handleBlur,value:st.values.relatedcourt||""})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){nt(He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){ct([{relatedpersonchoose:st.values.relatedpersonchoose,relatedpersonlastname:st.values.relatedpersonlastname,relatedpersonfirstname:st.values.relatedpersonfirstname,relatedpersonrelation:st.values.relatedpersonrelation,relatedpersonpan:st.values.relatedpersonpan,relatedpersonaadhar:st.values.relatedpersonaadhar}])||Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:4,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Form no 60/61"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Transaction Particulars"}),Object(ft.jsx)(m.p,{name:"transactionparticulars",placeholder:"Transaction Particulars",type:"text",className:"form-control",id:"txttransactionparticulars",maxLength:"100",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.transactionparticulars||"",invalid:!!(st.errors&&st.errors.transactionparticulars&&st.touched&&st.touched.transactionparticulars)}),st.errors&&st.errors.transactionparticulars&&st.touched&&st.touched.transactionparticulars?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.transactionparticulars}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Amount of Transactions"}),Object(ft.jsx)(m.p,{name:"transactionsamount",placeholder:"Amount of Transactions",type:"text",className:"form-control",id:"txttransactionsamount",maxLength:"15",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.transactionsamount||"",invalid:!!(st.errors&&st.errors.transactionsamount&&st.errors.transactionsamount&&st.touched&&st.touched.transactionsamount)}),st.errors&&st.errors.transactionsamount&&st.touched&&st.touched.transactionsamount?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.transactionsamount}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Details of income Tax ward/circle/range"}),Object(ft.jsx)(m.p,{name:"detailsofincometax",placeholder:"Details Of Income Tax",type:"text",className:"form-control",id:"txtdetailsofincometax",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.detailsofincometax||"",invalid:!!(st.errors&&st.errors.detailsofincometax&&st.touched&&st.touched.detailsofincometax)}),st.errors&&st.errors.detailsofincometax&&st.touched&&st.touched.detailsofincometax?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.detailsofincometax}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Reason for not having PAN"}),Object(ft.jsx)(m.p,{name:"reasonfornopan",placeholder:"Reason For No PAN",type:"text",className:"form-control",id:"txtreasonfornopan",maxLength:"200",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.reasonfornopan||"",invalid:!!(st.errors&&st.errors.reasonfornopan&&st.touched&&st.touched.reasonfornopan)}),st.errors&&st.errors.reasonfornopan&&st.touched&&st.touched.reasonfornopan?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.reasonfornopan}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("h4",{style:lt,className:"font-size-14 mb-4",children:"Are you assessed to tax?"}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",i
1d:"rbaccessedtaxyes",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbaccessedtaxno",value:"option2"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){var e=new Date($("#txtdob1").val()),t=new Date;nt(Math.floor((t-e)/315576e5)>18?He-2:He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){ct([{transactionparticulars:st.values.transactionparticulars,transactionsamount:st.values.transactionsamount,detailsofincometax:st.values.detailsofincometax,reasonfornopan:st.values.reasonfornopan}])||Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:5,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Additional mandatory details related to customer"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Expected origin of funds for credit."}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsforcredit",id:"ddlfundsforcredit",children:[Object(ft.jsx)("option",{value:"",children:"Funds for credit to Account"}),Object(ft.jsx)("option",{value:"1",children:"Local"}),Object(ft.jsx)("option",{value:"2",children:"Forign Inward Remittances"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Expected Utlisation of funds by debit. "}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsbydebit",id:"ddlfundsbydebit",children:[Object(ft.jsx)("option",{value:"",children:"Funds by debit to Account"}),Object(ft.jsx)("option",{value:"0",children:" Remittances aboard "}),Object(ft.jsx)("option",{value:"1",children:"Local"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Any accounts with other banks"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"otherbankaccounts",id:"ddlotherbanksaccounts",children:[Object(ft.jsx)("option",{value:"",children:"Any Other Bank Accounts"}),H.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.otherBankAccount},e.id)}))]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Annual activity/ A/c turnover"}),Object(ft.jsx)(m.p,{name:"annualactivity",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtturnover",maxLength:"15",onChange:function(e){te(e)},value:st.values.annualactivity||""})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Average income"}),Object(ft.jsx)(m.p,{name:"averageincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtaverageincome",maxLength:"15",onChange:function(e){te(e)},value:st.values.averageincome||""})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Expected average balance "}),Object(ft.jsx)(m.p,{name:"expectedincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtexpectedincome",maxLength:"15",onChange:function(e){te(e)},value:st.values.expectedincome||""})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Education"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"education",id:"ddleducation",children:[Object(ft.jsx)("option",{value:"",children:"Education"}),z.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.education},e.id)}))]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Religion "}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"religion",id:"ddlreligion",children:[Object(ft.jsx)("option",{value:"",children:"Religion"}),Object(ft.jsx)("option",{value:"1",children:"Hindu"}),Object(ft.jsx)("option",{value:"2",children:"Buddhist"}),Object(ft.jsx)("option",{value:"3",children:"Sikh"}
1),Object(ft.jsx)("option",{value:"4",children:"Other"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Occupation Details"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"occupationdetails",id:"ddloccupationdetails",children:[Object(ft.jsx)("option",{value:"",children:"Occupation Details"}),J.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationDetails},e.id)}))]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Line of Business"}),Object(ft.jsx)(m.p,{name:"lineofnusiness",placeholder:"Line of Business",type:"text",className:"form-control",id:"txtlineofnusiness",maxLength:"100"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Bussiness Name"}),Object(ft.jsx)(m.p,{name:"businessname",placeholder:"Business Name",type:"text",className:"form-control",id:"txtbusinessname",maxLength:"100"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Date of starting Business"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{className:"form-control d-block flatpickr",placeholder:"Date of starting Business",id:"txtstartbusinessdate",options:{altInput:!0,dateFormat:"d-M-Y",maxDate:"today"}})})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Office/ Business Address1"}),Object(ft.jsx)(m.p,{name:"bussinessaddress1",placeholder:"Address1",type:"text",className:"form-control",id:"txtbussinessaddress1",maxLength:"300"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Office/ Business Address2"}),Object(ft.jsx)(m.p,{name:"bussinessaddress2",placeholder:"Address2",type:"text",className:"form-control",id:"txtbussinessaddress2",maxLength:"300"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Office/ Business Address3"}),Object(ft.jsx)(m.p,{name:"bussinessaddress3",placeholder:"Address3",type:"text",className:"form-control",id:"txtbussinessaddress3",maxLength:"300"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Office Contact"}),Object(ft.jsx)(m.p,{name:"officecontact",placeholder:"Office Contact",type:"text",className:"form-control",id:"txtofficecontact",maxLength:"20",onChange:function(e){te(e)},value:st.values.officecontact||""})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Mobile No."}),Object(ft.jsx)(m.p,{name:"officemobileno",placeholder:"Mobile No.",type:"text",className:"form-control",id:"txtofficemobileno",maxLength:"10",onChange:function(e){te(e)},value:st.values.officemobileno||""})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Annual Income"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"education",id:"ddlannualincome",children:[Object(ft.jsx)("option",{value:"0",children:" below 50000 "}),Object(ft.jsx)("option",{value:"1",children:"50000 to 100000"}),Object(ft.jsx)("option",{value:"2",children:" 100000 to 500000"}),Object(ft.jsx)("option",{value:"3",children:"500000 to 1000000"}),Object(ft.jsx)("option",{value:"5",children:"Above 1000000"})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Source of Income"}),Object(ft.jsx)(m.p,{name:"sourceofincome",placeholder:"Source of Income",type:"text",className:"form-control",id:"txtsourceofincome"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Source of Wealth"}),Object(ft.jsx)(m.p,{name:"sourceofhealth",placeholder:"Source of Wealth",type:"text",className:"form-control",id:"txtsourceofwealth"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Estimated Total value of Asset"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"estimatedvalue",id:"ddlestimatedvalue",children:[Object(ft.jsx)("option",{value:"0",children:" below 50000 "}),Object(ft.jsx)("option",{value:"1",children:"50000 to 100000"}),Object(ft.jsx)("option",{value:"2",children:" 100000 to 500000"}),Object(ft.jsx)("option",{value:"3",children:"500000 to 1000000"}),Object(ft.jsx)("option",{value:"5",children:"Above 1000000"})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Asset Details"}
1),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"assetdetails",id:"ddlassetdetails",children:[Object(ft.jsx)("option",{value:"",children:"Assets Details"}),Q.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.assetDetails},e.id)}))]})]})}),Object(ft.jsxs)(m.f,{lg:"10",children:[Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("label",{style:lt,children:"As per forign account tax compliance act (FATCA)"})}),Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("div",{className:"mt-4",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are tax residence of any country other than india"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceyes",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceno",value:"option2"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]})})})}),Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("div",{className:"mt-4",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are born in any country other than India"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-2",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornyes",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornno",value:"option2"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]})})})})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:lt,children:"Vehicle Type"}),Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"vehicletype",id:"rbtwowheeler",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Two Wheeler"})]})]})}),Object(ft.jsx)(m.f,{lg:"8",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{style:lt,children:"Year of Purchase"}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"twowheelermonth",placeholder:"MM",type:"text",className:"form-control",id:"txttwowheelermonth",maxLength:"2",onChange:function(e){te(e)},value:st.values.twowheelermonth||""})})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"twowheeleryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txttwowheeleryear",maxLength:"4",onChange:function(e){te(e)},value:st.values.twowheeleryear||""})})})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"vehicletype",id:"rbcar",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Car"})]})})}),Object(ft.jsx)(m.f,{lg:"8",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"carmonth",placeholder:"MM",type:"text",className:"form-control",id:"txtcarmonth",maxLength:"2",onChange:function(e){te(e)},value:st.values.carmonth||""})})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"caryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtcaryear",maxLength:"4",onChange:function(e){te(e)},value:st.values.caryear||""})})})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"vehicletype",id:"rbother",value:"option1"}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"exampleRadios1",children:"Other"})]})})}),Object(ft.jsx)(m.f,{lg:"8",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"anyothermonth",placeholder:"MM",type:"text",className:"form-control",id:"txtothermonth",maxLength:"2",onChange:function(e){te(e)},value:st.values.anyothermonth||""})})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"anyotheryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtotheryear",maxLength:"4",onChange:function(e){te(e)},value:st.values.anyotheryear||""})})})]})})]})]}),Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("label",{style:lt,children:"Whether you are interested in (Optional)"})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkmutualfunds"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Mutual Funds"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkhealthinsurance"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Health Insurance"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkgeneralinsurance"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","General Insurance"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkdemat"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Demat"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmsby"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Suraksha Bima Yojana (PMSBY)"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmjjby"}),Object(ft.jsxs)(m.r,{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY)"]})]})})]})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)("label",{style:lt,children:"Car maker"})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.p,{name:"carmaker",placeholder:"Car maker",type:"text",className:"form-control",id:"txtcarmaker",maxLength:"50"})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){var e=new Date($("#txtdob1").val()),t=new Date,a=Math.floor((t-e)/315576e5);1==$("#chkPAN1").prop("checked")?nt(He-1):a>18&&0==$("#chkPAN1").prop("checked")?nt(He-3):a<18&&0==$("#chkPAN1").prop("checked")&&nt(He-2)}
1,children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:6,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Techno based products requirement"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"Debit Cum ATM Card"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchdebitcard",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"SMS banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchsmsbanking",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"Mobile banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchmobilebanking",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"Statement on E-mail Id"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchemail",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"Adhhar card seeding"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchaadhaarcard",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:lt,children:"Internet banking"})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check form-switch mb-3",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input",id:"switchinternetbanking",defaultChecked:!0}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"customSwitch2"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){nt(He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:7,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Instruction for account operations"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"1",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",i
1d:"rbself",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Self"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbeither",value:"option1"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Either or surviver"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbformer",value:"option1"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Former or surviver"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbanyone",value:"option1"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Anyone or surviver"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbjointly",value:"option1"}),Object(ft.jsx)("label",{style:lt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Jointly by all"})]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:ot,children:"Nomination form DA-1"})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:lt,children:"Nature of deposit"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineenatureofdeposit",placeholder:"Nature of deposit",type:"text",className:"form-control",id:"txtnatureofdeposit",maxLength:"100",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineenatureofdeposit||"",invalid:!!(st.errors&&st.errors.nomineenatureofdeposit&&st.touched&&st.touched.nomineenatureofdeposit)}),st.errors&&st.errors.nomineenatureofdeposit&&st.touched&&st.touched.nomineenatureofdeposit?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineenatureofdeposit}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Distinguishing number"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineedistinguishingnumber",placeholder:"Distinguishing number",type:"text",className:"form-control",id:"txtdistinguishingnumber",maxLength:"30",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineedistinguishingnumber||"",invalid:!!(st.errors&&st.errors.nomineedistinguishingnumber&&st.touched&&st.touched.nomineedistinguishingnumber)}),st.errors&&st.errors.nomineedistinguishingnumber&&st.touched&&st.touched.nomineedistinguishingnumber?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineedistinguishingnumber}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Additional details if any"}),Object(ft.jsx)(m.p,{name:"additionaldetails",placeholder:"Additional details",type:"text",className:"form-control",id:"txtadditionaldetails",maxLength:"300"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:lt,children:"Last Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineelastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtnomineelastname",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineelastname||"",invalid:!!(st.errors&&st.errors.nomineelastname&&st.touched&&st.touched.nomineelastname)}),st.errors&&st.errors.nomineelastname&&st.touched&&st.touched.nomineelastname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineelastname}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"First Name"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineefirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtnomineefirstname",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineefirstname||"",invalid:!!(st.errors&&st.errors.nomineefirstname&&st.touched&&st.touched.nomineefirstname)}),st.errors&&st.errors.nomineefirstname&&st.touched&&st.touched.nomineefirstname?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineefirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Middle Name"}),Object(ft.jsx)(m.p,{name:"nomineemiddlename",placeholder:"Middle Name",type:"text",className:"form-control",id:"txtnomineemiddlename",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineemiddlename||"",maxLength:"50"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:lt,children:"Address1"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineeaddress1",placeholder:"Address1",type:"text",className:"form-control",id:"txtnomineeaddress1",maxLength:"300",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineeaddress1||"",invalid:!!(st.errors&&st.errors.nomineeaddress1&&st.touched&&st.touched.nomineeaddress1)}),st.errors&&st.errors.nomineeaddress1&&st.touched&&st.touched.nomineeaddress1?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineeaddress1}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Address2"}),Object(ft.jsx)(m.p,{name:"nomineeaddress2",placeholder:"Address2",type:"text",className:"form-control",id:"txtnomineeaddress2",onCh
1ange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineeaddress2||"",maxLength:"300"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Address3"}),Object(ft.jsx)(m.p,{name:"nomineeaddress3",placeholder:"Address3",type:"text",className:"form-control",id:"txtnomineeaddress3",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineeaddress3||"",maxLength:"300"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"7",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{style:lt,children:"Relationship with depositor"}),Object(ft.jsx)("span",{style:ut,children:"*"}),Object(ft.jsx)(m.p,{name:"nomineerelation",placeholder:"Relationship with depositor",type:"text",className:"form-control",id:"txtnomineerelationship",maxLength:"50",onChange:st.handleChange,onBlur:st.handleBlur,value:st.values.nomineerelation||"",invalid:!!(st.errors&&st.errors.nomineerelation&&st.touched&&st.touched.nomineerelation)}),st.errors&&st.errors.nomineerelation&&st.touched&&st.touched.nomineerelation?Object(ft.jsx)(m.n,{type:"invalid",children:st.errors.nomineerelation}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"Age"}),Object(ft.jsx)(m.p,{name:"nomineeage",placeholder:"Age",type:"text",className:"form-control",id:"txtnomineeage",onBlur:st.handleBlur,value:st.values.nomineeage||"",maxLength:"2",onChange:function(e){te(e)}})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-4",children:[Object(ft.jsx)("label",{children:"If nominee is a minor"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{name:"nomineeminordob",className:"form-control d-block flatpickr",placeholder:"Birth Date",id:"txtnomineeminordob",options:{altInput:!0,dateFormat:"d-M-Y",maxDate:"today"}})})]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"4"})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){nt(He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,className:8===He?"next disabled":"next",type:"submit",onClick:function(){ct([{nomineenatureofdeposit:st.values.nomineenatureofdeposit,nomineedistinguishingnumber:st.values.nomineedistinguishingnumber,nomineelastname:st.values.nomineelastname,nomineefirstname:st.values.nomineefirstname,nomineeaddress1:st.values.nomineeaddress1,nomineerelation:st.values.nomineerelation}])||Ve(He)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:8,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:it,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),st.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{style:lt,children:"1. I hereby declare that the details furnished above are true and correct to the beat of my knowledge and belief and I undertake to inform you of any changes therein, immediately. In case any of the above information is found to be false or untrue or misleading or misrepresenting, I am aware that I may be held liable for it. We hereby confirm that My/Our latest photograph has been affixed above and I/Wa have submitted a self-attested"}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"2. Photocopy KYC document in support of P01 & POA. The information provided by us/me on this Form, its true, correct and complete. I/We also confirm that I/We are swam of the FATCA/CRS Terms and Conditions and hereby accept the same."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"3. I/We certify that the information provided by ma/us In the Form, its supporting Annexure as well as in the document any evidence provided by malus are, to the best of my knowledge and belief true, correct and complete and that I/We have not withheld any material information that may affect the assessment/categorization of the account as a Reportable account or other wise."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"4. I/We permit/authorize the Bank to collect, store, communicate and process information relating to the account and all transactions therein, by the Bank and any of its affiliates wherever situated including sharing, transfer and disclosure between them and to the authorities in and/or outside India of any confidential information for compliance with any law or regulation whether domestic or foreign."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"5. I/We also agree that my/our failure to disclosed any material fact known to melus, now or in future, may invali
1date my/our application and the Bank would be within its rights to put restrictions in the operations of my/our account or dose it or report to any regulator and/or any authority designated by the Government of India (GO)/RBI for the purpose or take any other action as may be deemed appropriate by the Bank if the deficiency is not remedied by me/uswithin the stipulated period,"}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"6. I/We hereby accept and acknowledge that the Bank shall have the right and authority to carry out investigations from the information available in public domain for confirming the information provided by me to the Bank."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"7. Should there be any change in information/incorrect provided by melua, I/We declare and undertake the responsibility to intimate the Bank within 30 days the date of change with supporting documentary evidence."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"8. It shall be my/ourresponalbilliesto educate my self/ourself and to comply at all the times with relevant laws relating to reporting under section 285BAoftheAct road with the Rules there under."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"9. I/We also agree to finish such information and/ordocuments as the Bank may require from time to time on account of any change in law either in India or abroad in this subject matter herein."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"10. We shall indemnify the Bank for any loss that may arise to the Bank on account of providing incorrect or incomplete information"}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"11. The detail provided by melus in the form is as per the notified miss I 14G to 114H of the Income Tax Act 1962."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"12 . I/Wa have read, understood and hereby accept & agree to the Terms & Conditions given for all the products & services"}
1),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"13. I hereby consent to receiving information from Central KYC Resgistry through on the above registered number/email address"}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:lt,children:"14. Policy for Limiting Liability of customers in Unauthorised Electronic Banking transactions is available with the Branch."}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"9"}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsx)(m.b,{id:"firstP",style:dt,className:-1===He?"previous disabled":"previous",onClick:function(){nt(He-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:dt,type:"submit",onClick:function(){Ve(He)},children:"Submit"})]})]})]})})})]})})]})})})})}),Object(ft.jsx)(hl,{})]})]})})},jl=a(14),pl=function(){var e=Object(l.useHistory)(),t=Object(r.useState)(""),a=Object(u.a)(t,2),s=a[0],c=a[1];return Object(r.useEffect)((function(){c(localStorage.getItem("ReferenceNo")),localStorage.clear()}),[]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Success"})}),Object(ft.jsx)("div",{className:"account-pages my-5 pt-sm-5",children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{className:"justify-content-center",children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.c,{className:"overflow-hidden",style:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px",marginLeft:"150px",marginRight:"150px"},children:[Object(ft.jsx)("div",{className:"navbar-header",children:Object(ft.jsx)("div",{style:{width:"110%",backgroundColor:"#9a084f"},children:Object(ft.jsx)("div",{children:Object(ft.jsx)("img",{className:"img-fluid",style:Object(jl.a)({height:"80px",maxWidth:"103%"},"height","auto"),src:xt,alt:"Banner"})})})}),Object(ft.jsx)("br",{}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.d,{className:"pt-0",children:Object(ft.jsxs)("div",{style:{textAlign:"center",fontSize:"x-large",fontWeight:"bold",height:"250px"},children:[Object(ft.jsx)("label",{className:"mdi mdi-check-circle-outline text-success display-4"}),Object(ft.jsx)("label",{style:{fontSize:"18px"},children:" Your form has been submitted successfully!"}),Object(ft.jsx)("label",{style:{fontSize:"17px"},children:" Reference No. : "}),Object(ft.jsx)("label",{style:{fontWeight:"bold",marginLeft:"10px",fontSize:"17px"},children:s}),Object(ft.jsx)("br",{}),Object(ft.jsxs)("label",{style:{fontSize:"18px"},children:["Go to ",Object(ft.jsx)("a",{style:{color:"blue"},onClick:function(){e.push("/login")},children:"Login"})]})]})})]})}),Object(ft.jsx)("footer",{style:{backgroundColor:"#333333",color:"white",height:"50px",position:"absolute",bottom:"0"},children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{style:{marginTop:"15px"},md:6,children:" \xa9 2022 all rights reserved"}),Object(ft.jsx)(m.f,{style:{marginTop:"15px"},md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Powered by ZingWorks LLP"})})]})})})]})})})]})},xl=a(136),Ol=function(){var e,t,a,s,c,o,h,j,x,O,y,N,A,k,C,w,S,P,T,I,E,B,F,R,L,M,q,V,W,U,G,Y,K,z,J,Q,H,Z,X,_,ee,ae,re,le,ie,de=function(){var e=Object(v.a)(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,a){var r=new FileReader;
1r.readAsDataURL(t),r.onload=function(){return e(r.result)},r.onerror=function(e){return a(e)}}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=Object(l.useHistory)(),me=Object(xl.useLocation)(),je=Object(r.useState)([]),pe=Object(u.a)(je,2),xe=(pe[0],pe[1],Object(r.useState)("swing")),Oe=Object(u.a)(xe,2),fe=Oe[0],ve=(Oe[1],Object(r.useState)("linear")),ge=Object(u.a)(ve,2),ye=ge[0],Ne=(ge[1],Object(r.useState)("fadeIn")),Ae=Object(u.a)(Ne,2),ke=Ae[0],Ce=(Ae[1],Object(r.useState)("fadeOut")),we=Object(u.a)(Ce,2),Se=we[0],Pe=(we[1],Object(r.useState)(300)),Te=Object(u.a)(Pe,2),Ie=Te[0],Ee=(Te[1],Object(r.useState)(1e3)),Be=Object(u.a)(Ee,2),De=Be[0],Fe=(Be[1],Object(r.useState)(2e3)),Re=Object(u.a)(Fe,2),Le=Re[0],Me=(Re[1],Object(r.useState)(1e3)),qe=Object(u.a)(Me,2),$e=qe[0],Ve=(qe[1],Object(r.useState)([])),We=Object(u.a)(Ve,2),Ue=We[0],Ge=We[1],Ye=Object(r.useState)(""),Ke=Object(u.a)(Ye,2),ze=Ke[0],Je=Ke[1],Qe=Object(r.useState)(""),He=Object(u.a)(Qe,2),Ze=He[0],Xe=(He[1],Object(r.useState)("")),_e=Object(u.a)(Xe,2),et=(_e[0],_e[1],Object(r.useState)(!1)),tt=Object(u.a)(et,2),at=tt[0],rt=tt[1],nt=Object(r.useState)(new Date),st=Object(u.a)(nt,2),ct=(st[0],st[1],Object(r.useState)({taxNonIndia:!1,bornNonIndia:!1})),ot=Object(u.a)(ct,2),lt=ot[0],it=ot[1],dt=Object(r.useState)(null),ut=Object(u.a)(dt,2),ht=ut[0],bt=ut[1],xt=Object(r.useState)(null),Ot=Object(u.a)(xt,2),vt=Ot[0],gt=Ot[1],yt=[{label:"Annual Income",value:""},{label:"Upto 100000",value:1},{label:"100001 to 500000",value:2},{label:"500001 to 1000000",value:3},{label:"1000001 to 2500000",value:4},{label:"Above 2500000",value:5}];function Nt(e){return!(!e||!1===/^([A-Z]){5}([0-9]){4}([A-Z]){1}?$/.test(e))}function At(e){var t=new RegExp("^[2-9]{1}[0-9]{3}[0-9]{4}[0-9]{4}$");if(e&&!1!==t.test(e)){if(12!=e.length)return!1;var a={d:[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],p:[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],j:[0,4,3,2,1,5,6,7,8,9],check:function(e){var t=0;return e.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(e,r){t=a.d[t][a.p[r%8][parseInt(e,10)]]})),t},get:function(e){var t=0;return e.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(e,r){t=a.d[t][a.p[(r+1)%8][parseInt(e,10)]]})),a.j[t]}};return String.prototype.verhoeffCheck=function(){var e=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],t=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]];return function(){var a=0;return this.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(r,n){a=e[a][t[n%8][parseInt(r,10)]]})),0===a}}(),0===a.check(e)}return!1}function kt(){var e=new Date(Ra.values.dob),t=new Date,a=t.getFullYear()-e.getFullYear();return t.getMonth()>e.getMonth()||t.getMonth()===e.getMonth()&&t.getDate()>=e.getDate()||a--,a}function wt(e){mt.a.options={positionClass:"toast-top-center",timeOut:Le,extendedTimeOut:$e,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:fe,hideEasing:ye,showMethod:ke,hideMethod:Se,showDuration:Ie,hideDuration:De},mt.a.error(e,"Error")}Object(r.useEffect)((function(){if(Object.keys(me)&&(null===me||void 0===me?void 0:me.state)){console.log("Location State:",me.state);var e=(null===me||void 0===me?void 0:me.state).accountType;bt(e||null)}}),[me]);var St=Object(i.d)((function(e){return{otherBankAccountsData:e.Registration.otherBankAccountsData}})).otherBankAccountsData,Pt=Object(i.d)((function(e){return{educationData:e.Registration.educationData}})).educationData,Tt=(Object(i.d)((function(e){return{occupationDetail
1sData:e.Registration.occupationDetailsData}})).occupationDetailsData,Object(i.d)((function(e){return{assetDetailsData:e.Registration.assetDetailsData}})).assetDetailsData,Object(i.c)()),Et=Object(i.d)((function(e){return{stateData:e.Registration.stateData}})).stateData,Bt=Object(i.d)((function(e){return{occupationData:e.Registration.occupationData}})).occupationData,Dt=Object(i.d)((function(e){return{poiData:e.Registration.poiData}})).poiData,Ft=Object(i.d)((function(e){return{reasonToBecomeCustomer:e.Registration.reasonToBecomeCustomer}})).reasonToBecomeCustomer;function Rt(e){var t=e.target.value;if(""==t)Ra.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&Ra.handleChange(e)}}var Mt,qt,$t,Vt=Object(r.useState)([]),Wt=Object(u.a)(Vt,2),Ut=Wt[0],Gt=Wt[1],Yt=document.location.hostname.includes("oaomlan"),Kt=!(5!==ht||!Yt),zt={nationalityMap:{indian:"1","nri/pio":"2",others:"3"},genderMap:{1:"1",2:"2",3:"3"},titleMap:{mr:"1",mrs:"2",miss:"3"},maritalStatusMap:{married:"1",unmarried:"2",divorce:"3"},occupationMap:($t=Bt,$t.reduce((function(e,t){var a;return e[null===(a=t.occupationName)||void 0===a?void 0:a.toLowerCase()]=t.id,e}),{})),poiMap:{"UID-Aadhaar No.":"uid",Passport:"passport",License:"license","Voter ID":"voterID",Others:"others"},educationMap:(qt=Pt,qt.reduce((function(e,t){var a;return e[null===(a=t.education)||void 0===a?void 0:a.toLowerCase()]=t.id,e}),{})),stateMap:(Mt=Et,Mt.reduce((function(e,t){var a;return e[null===(a=t.stateName)||void 0===a?void 0:a.toLowerCase()]=t.id,e}),{})),religionMap:{hindu:"Hindu",muslim:"Muslim",buddhist:"Buddhist",sikh:"Sikh",jain:"Jain",christian:"Christian"},casteMap:{"open category":"Open Category","sc (scheduled castes)":"SC (Scheduled Castes)","st (scheduled tribes)":"ST (Scheduled Tribes)"}},Jt=zt.nationalityMap,Qt=zt.maritalStatusMap,Ht=zt.genderMap,Zt=zt.occupationMap,Xt=zt.poiMap,_t=zt.titleMap,ea=zt.educationMap,ta=zt.religionMap,aa=zt.casteMap,ra=zt.stateMap,na=n.a.useState(""),sa=Object(u.a)(na,2),ca=sa[0],oa=sa[1],la=n.a.useState(""),ia=Object(u.a)(la,2),da=ia[0],ua=ia[1],ha=["image/png","image/jpeg","image/jpg"];var ba=[],ma={POI:"",POINo:"",IsPOI:"",IsPOA:"",ExpiryDate:"",Base64POI:""},ja={Title:"",FirstName:"",MiddleName:"",LastName:"",DOB:"",Gender:"",Nationality:"",Occupation:"",Mobile:"",Email:"",MartialStatus:"",LocalAddress1:"",LocalAddress2:"",LocalAddress3:"",LocalCity:"",LocalPin:"",LocalState:"",PermanentAddress1:"",PermanentAddress2:"",PermanentAddress3:"",PermanentCity:"",PermanentPin:"",PermanentState:"",PAN:"",Base64PAN:"",registrationHoldersPOI:ba},pa={RegistrationId:localStorage.getItem("registrationId"),objRegistrationHolders:ja},xa={RegistrationId:"",FatherTitle:"",FatherFirstName:"",FatherMiddleName:"",FatherLastName:"",MotherTitle:"",MotherFirstName:"",MotherMiddleName:"",MotherLastName:"",MaidenTitle:"",MaidenFirstName:"",MaidenMiddleName:"",MaidenLastName:""},Oa={RegistrationId:"",RelatedPersonTitle:"",RelatedPeronFirstName:"",RelatedPeronMiddleName:"",RelatedPeronLastName:"",RelatedPersonCustomerRelation:"",RelatedPersonType:"",RelatedPersonPANNo:"",RelatedPersonAadhaarNo:"",RelatedPersonCourtOrder
1No:""},fa={RegistrationId:"",DeclarantDocuments:"",DeclarantTransactionParticulars:"",DeclarantAmountofTransaction:"",DeclarantAssessedTax:"",DetailsOfIncomeTax:"",ReasonForNoPan:""},va={RegistrationId:"",FundsExpectedOrigin:"",FundsUtilisationExpected:"",OtherBankAccounts:"",Turnover:"",AverageIncome:"",AverageBalance:"",Education:"",Religion:"",OccupationDetails:"",LineOfBusiness:"",BusinessName:"",BusinessStartDate:"",BusinessAddress1:"",BusinessAddress2:"",BusinessAddress3:"",BusinessTelNo:"",BusinessMobileNo:"",BusinessAnnualIncome:"",BusinessIncomeSource:"",BusinessWealthSource:"",BusinessEstimatedValue:"",BusinessAssetDetails:"",BornNonIndia:"",TaxResidenceNonIndia:"",BusinessVehicleType:"",BusinessCarPurchaseYear:"",BusinessCarMaker:"",InterestedIn:"",CustomerReasonId:""},ga=localStorage.getItem("registrationHoldersId");function ya(e,t){""!=ca&&""!=da?(rt(!0),de(ca).then((function(a){ja.Base64Photo=a,de(da).then((function(a){ja.Base64PAN=a,p.a.post(ne(),e,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(Da(t+1),rt(!1)):(wt(e.data.responseMessage),rt(!1))}))}))}))):""!=ca&&""==da?(rt(!0),ja.Base64PAN="",de(ca).then((function(a){ja.Base64Photo=a,p.a.post(ne(),e,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(Da(t+1),rt(!1)):(wt(e.data.responseMessage),rt(!1))}))}))):""==ca&&""!=da?(rt(!0),ja.Base64Photo="",de(da).then((function(a){ja.Base64PAN=a,p.a.post(ne(),e,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(Da(t+1),rt(!1)):(wt(e.data.responseMessage),rt(!1))}))}))):""==ca&&""==da&&(rt(!0),ja.Base64Photo="",ja.Base64PAN="",p.a.post(ne(),e,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(Da(t+1),rt(!1)):(wt(e.data.responseMessage),rt(!1))})))}function Na(e){var t=new Date;if(1==e){if($("#txtPhoneno").val().length>0&&10!=$("#txtPhoneno").val().length)return $("#txtPhoneno").focus(),void wt("Please enter 10 digit Mobile number!");if(""==$("#txtPancard").val().trim()&&0==$("#chkPAN").prop("checked"))return $("#txtPancard").focus(),void wt("Please enter PAN No. or check Form60!");if(0==$("#chkPAN").prop("checked")?$("#navForm60").css("background-color","lightgrey"):$("#navForm60").css("background-color",""),0==$("#chkPAN").prop("checked")&&!Nt($("#txtPancard").val().trim()))return wt("Please enter valid PAN Number!"),void $("#txtPancard").focus();(r=kt())>=18?$("#navRelatedPerson").css("background-color","lightgrey"):$("#navRelatedPerson").css("background-color","");var a=!1;if(0==Ut.length)return wt("Please add atleast one POI/POA document!"),a=!1;if(Ut.map((function(e){return 0==e.EnterNumber.trim().length?(wt("Please enter Document Number for "+e.SelectedProofofIdentity+"!"),a=!1):5!==ht&&0==e.Upload.length&&0==e.poifilepath.length?(wt("Please uplaod document for "+e.SelectedProofofIdentity+"!"),a=!1):a=!0})),Ut.map((function(e){if(e.EnterNumber.trim().length>0){if("Passport"==e.SelectedProofofIdentity&&!function(e){var t=new RegExp("^[A-PR-WY][1-9]\\d\\s?\\d{4}[1-9]$");return!(!e||!1===t.test(e))}(e.EnterNumber))return wt("Please enter valid Passport Number!"),a=!1;if("UID-Aadhaar No."==e.SelectedProofofIdentity&&!At(e.EnterNumber))return wt("Please enter valid Aadhaar Number!"),a=!1;if("License"==e.SelectedProofofIdentity&&!function(e){var t=new RegExp("^(([A-Z]{2}[0-9]{2})( )|([A-Z]{2}-[0-9]{2}))((19|20)[0-9][0-9])[0-9]{7}$");return!(!e||!1===t.test(e))}(e.EnterNumber))return wt("Please enter valid License Number!"),a=!1}})),void 0==Ut.find((function(e){return"POA & POI"==e.POIPOA}))){if(void 0==Ut.find((function(e){return"POI"==e.POIPOA})))return wt("Please add POI document!"),a=!1;if(void 0==Ut.find((function(e){return"POA"==e.POIPOA})))return wt("Please add POA document!"),a=!1}var r=kt(),n="true";1==$("#chkPAN").prop("checked")&&(n="false"),a&&((ja={}).Id=ga,ja.Title=$("#ddlpersonalchoose").val(),ja.FirstName=$("#txtFirstName").val().trim(),ja.MiddleName=$("#txtMiddleName").val().trim(),ja.LastName=$("#txtLastName").val().trim(),ja.DOB=$("#txtdob").val(),ja.Gender=$("#ddlgender").val(),ja.Nationality=$("#ddlnationality").val(),ja.Occupation=$("#ddloccupation").val().trim(),ja.Mobile=$("#txtPhoneno").val().trim(),ja.Email=$("#txtEmailID").val().trim(),ja.MartialStatus=$("#ddlmaratialstatus").val(),ja.LocalAddress1=$("#txtCommunicationAddress1").val().trim(),ja.LocalAddress2=$("#txtCommunicationAddress2").val().trim(),ja.LocalAddress3=$("#txtCommunicationAddress3").val().trim(),ja.LocalCity=$("#txtCommunicationCity").val().trim(),ja.LocalPin=$("#txtCommunicationPincode").val().trim(),ja.LocalState=$("#ddlCommunicationState").val(),ja.PermanentAddress1=$("#txtPermanentAddress1").val().trim(),ja.PermanentAddress2=$("#txtPermanentAddress2").val().trim(),ja.PermanentAddress3=$("#txtPermanentAddress3").val().trim(),ja.PermanentCity=$("#txtPermanentCity").val().trim(),ja.PermanentPin=$("#txtPermanentPincode").val().trim(),ja.PermanentState=$("#ddlPermanentState").val(),ja.PAN=$("#txtPancard").val(),ja.IsMinor=r<18?"true":"false",ja.isPAN=n,ja.CustomerId=$("#txtCustomerID").val().trim(),ja.CKYCNo=$("#txtCKYCNumber").val().trim(),ja.mobileNoBelongsTo=Ra.values.mobilenobelongsTo,Ut.map((function(t){""!=t.Upload?de(t.Upload).then((function(a){(ma={}).POIId=t.poiid,ma.Base64POI=a,ma.POI=t.SelectedProofofIdentity,ma.POINo=t.EnterNumber,ma.POIPOA=t.POIPOA,ma.ExpiryDate=t.Expiry,ba.push(ma),ba.length==Ut.length&&(ja.registrationHoldersPOI=ba,pa.objRegistrationHolders=ja,ya(pa,e))})):((ma={}).POIId=t.poiid,ma.Base64POI="",ma.POI=t.SelectedProofofIdentity,ma.POINo=t.EnterNumber,ma.POIPOA=t.POIPOA,ma.ExpiryDate=t.Expiry,ba.push(ma),ba.length==Ut.length&&(ja.registrationHoldersPOI=ba,pa.objRegistrationHolders=ja,ya(pa,e)))})))}else if(2==e)xa.RegistrationId=localStorage.getItem("registrationId"),xa.FatherTitle=$("#ddlfatherchoose :selected").text(),xa.FatherFirstName=$("#txtFatherFirstName").val().trim(),xa.FatherMiddleName=$("#txtFatherMiddleName").val().trim(),xa.FatherLastName=$("#txtFatherLastName").val().trim(),xa.MotherTitle=$("#ddlmotherchoose :selected").text(),xa.MotherFirstName=$("#txtMotherFirstName").val().trim(),xa.MotherMiddleName=$("#txtMotherMiddleName").val().trim(),xa.MotherLastName=$("#txtMotherLastName").val().trim(),xa.MaidenTitle=$
1("#ddlmaidenchoose :selected").text(),xa.MaidenFirstName=$("#txtMaidenFirstName").val().trim(),xa.MaidenMiddleName=$("#txtMaidenMiddleName").val().trim(),xa.MaidenLastName=$("#txtMaidenLastName").val().trim(),rt(!0),p.a.post(se(),xa,{headers:D()}).then((function(t){"OK"==t.data.responseCode?kt()>=18?0==$("#chkPAN").prop("checked")?(Da(e+3),rt(!1)):(Da(e+2),rt(!1)):(Da(e+1),rt(!1)):(wt(t.data.responseMessage),rt(!1))}));else if(3==e){if(!Nt($("#txtRelatedPan").val().trim()))return wt("Please enter valid PAN Number!"),void $("#txtPancard").focus();if($("#txtRelatedAadhaar").val().trim().length>0&&!At($("#txtRelatedAadhaar").val().trim()))return void wt("Please enter valid Aadhaar Number!");var s="";1==$("#rbguardian").prop("checked")?s="Natural Guardian":1==$("#rbassignee").prop("checked")?s="Assignee":1==$("#rbauthorized").prop("checked")?s="Authorized representative":1==$("#rblegalguardian").prop("checked")&&(s="Legal Guardian"),Oa.RegistrationId=localStorage.getItem("registrationId"),Oa.RelatedPersonTitle=$("#ddlrelatedpersonchoose :selected").text(),Oa.RelatedPeronFirstName=$("#txtrelatedpersonfirstname").val().trim(),Oa.RelatedPeronMiddleName=$("#txtrelatedpersonmiddlename").val().trim(),Oa.RelatedPeronLastName=$("#txtrelatedpersonlastname").val().trim(),Oa.RelatedPersonCustomerRelation=$("#txtcustomerrelation").val().trim(),Oa.RelatedPersonType=s,Oa.RelatedPersonPANNo=$("#txtRelatedPan").val().trim(),Oa.RelatedPersonAadhaarNo=$("#txtRelatedAadhaar").val().trim(),Oa.RelatedPersonCourtOrder
1No=$("#txtRelatedCourtOrderNo").val().trim(),rt(!0),p.a.post(ce(),Oa,{headers:D()}).then((function(t){"OK"==t.data.responseCode?1==$("#chkPAN").prop("checked")?(Da(e+1),rt(!1)):0==$("#chkPAN").prop("checked")&&(Da(e+2),rt(!1)):(wt(t.data.responseMessage),rt(!1))}))}else if(4==e){var c=!1;$("#rbaccessedtaxyes").prop("checked")?c=!0:$("#rbaccessedtaxno").prop("checked")&&(c=!1),fa.RegistrationId=localStorage.getItem("registrationId"),fa.RegistrationHolderId=ga,fa.DeclarantDocuments="",fa.DeclarantTransactionParticulars=$("#txttransactionparticulars").val().trim(),fa.DeclarantAmountofTransaction=$("#txttransactionsamount").val().trim(),fa.DeclarantAssessedTax=c,fa.DetailsOfIncomeTax=$("#txtdetailsofincometax").val().trim(),fa.ReasonForNoPan=$("#txtreasonfornopan").val().trim(),rt(!0),p.a.post(ue(),fa,{headers:D()}).then((function(t){"OK"==t.data.responseCode?(Da(e+1),rt(!1)):(wt(t.data.responseMessage),rt(!1))}))}else if(5==e){var o;if("Businessman"==$("#ddloccupationdetails :selected").text()){if(""==$("#txtlineofnusiness").val().trim())return $("#txtlineofnusiness").focus(),void wt("Line of Business is required!");if(""==$("#txtbusinessname").val().trim())return $("#txtbusinessname").focus(),void wt("Business Name is required!");if(""==$("#txtstartbusinessdate").val().trim())return $("#txtstartbusinessdate").focus(),void wt("Date of starting business is required!");if(""==$("#txtbussinessaddress1").val().trim())return $("#txtbussinessaddress1").focus(),void wt("Address1 required!");if(""==$("#txtbussinessaddress2").val().trim())return $("#txtbussinessaddress2").focus(),void wt("Address2 required!")}if($("#txtofficemobileno").val().length>0&&10!=$("#txtofficemobileno").val().length)return $("#txtofficemobileno").focus(),void wt("Please enter 10 digit Mobile number!");if($("#chktwowheeler").prop("checked")){if(""==$("#txttwowheeleryear").val().trim())return $("#txttwowheeleryear").focus(),void wt("Two Wheeler year is required!");if(parseInt($("#txttwowheeleryear").val().trim())>t.getFullYear())return $("#txttwowheeleryear").focus(),void wt("Two Wheeler year should be valid!")}if($("#chkcar").prop("checked")){if(""==$("#txtcaryear").val().trim())return $("#txtcaryear").focus(),void wt("Car year is required!");if(parseInt($("#txtcaryear").val().trim())>t.getFullYear())return $("#txtcaryear").focus(),void wt("Car year should be valid!")}if($("#chkother").prop("checked")){if(""==$("#txtotheryear").val().trim())return $("#txtotheryear").focus(),void wt("Other year is required!");if(parseInt($("#txtotheryear").val().trim())>t.getFullYear())return $("#txtotheryear").focus(),void wt("Other year should be valid!")}var l="",i="",d="",u="",h="",b="",m="",j="",x="",O="";$("#rbbornyes").prop("checked")?l="true":$("#rbbornno").prop("checked")&&(l="false"),$("#rbtaxresidenceyes").prop("checked")?i="true":$("#rbtaxresidenceno").prop("checked")&&(i="false"),$("#chktwowheeler").prop("checked")&&(d="Two Wheeler",b=$("#txttwowheeleryear").val()),$("#chkcar").prop("checked")&&(u="Car",m=$("#txtcaryear").val()),$("#chkother").prop("checked")&&(h="Other",j=$("#txtotheryear").val()),$("#chkcommercialproperty").prop("checked")&&(O+="Commercial Property, "),$("#chkhouse").prop("checked")&&(O+="House, "),$("#chkplot").prop("checked")&&(O+="Plot, "),$("#chkothers").prop("checked")&&(O+="Others, "),$("#chktwowheeler").prop("checked")&&(d="Two Wheeler"),$("#chkcar").prop("checked")&&(u="Car"),$("#chkother").prop("checked")&&(h="Other"),$("#chkmutualfunds").prop("checked")&&(x+="Mutual Funds, "),$("#chkhealthinsurance").prop("checked")&&(x+="Health Insurance, "),$("#chkgeneralinsurance").prop("checked")&&(x+="General Insurance, "),$("#chkdemat").prop("checked")&&(x+="Demat, "),$("#chkpmsby").prop("checked")&&(x+="Pradhan Mantri Suraksha Bima Yojana (PMSBY), "),$("#chkpmjjby").prop("checked")&&(x+="Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY), "),va.RegistrationId=localStorage.getItem("registrationId"),va.RegistrationHolderId=ga,va.FundsExpectedOrigin=$("#ddlfundsforcredit :selected").text(),va.FundsUtilisationExpected=$("#ddlfundsbydebit :selected").text(),va.OtherBankAccounts=$("#ddlotherbanksaccounts :selected").text(),va.Turnover=$("#txtturnover").val().trim(),va.AverageIncome=$("#txtaverageincome").val().trim(),va.AverageBalance=$("#txtexpectedincome").val().trim(),va.Education=$("#ddleducation :selected").text(),va.Religion=$("#ddlreligion :selected").text(),va.OccupationDetail
1s=$("#ddloccupationdetails :selected").text(),va.LineOfBusiness=$("#txtlineofnusiness").val().trim(),va.BusinessName=$("#txtbusinessname").val().trim(),va.BusinessStartDate=$("#txtstartbusinessdate").val(),va.BusinessAddress1=$("#txtbussinessaddress1").val().trim(),va.BusinessAddress2=$("#txtbussinessaddress2").val().trim(),va.BusinessAddress3=$("#txtbussinessaddress3").val().trim(),va.BusinessTelNo=$("#txtofficecontact").val().trim(),va.BusinessMobileNo=$("#txtofficemobileno").val().trim(),va.BusinessAnnualIncome=$("#ddlannualincome :selected").text(),va.BusinessIncomeSource=$("#txtsourceofincome").val().trim(),va.BusinessWealthSource=$("#txtsourceofwealth").val().trim(),va.BusinessEstimatedValue=$("#ddlestimatedvalue :selected").text(),va.BusinessAssetDetails=O,va.BornNonIndia=l,va.TaxResidenceNonIndia=i,va.BusinessVehicleTwoWheeler=d,va.BusinessVehicleCar=u,va.BusinessVehicleOther=h,va.BusinessTwoWheelerPurchaseYear=b,va.BusinessCarPurchaseYear=m,va.BusinessOtherPurchaseYear=j,va.BusinessCarMaker=$("#txtcarmaker").val().trim(),va.InterestedIn=x,va.caste=$("#caste :selected").text(),va.CustomerReasonId=null===(o=Ra.values.customerreasonid)||void 0===o?void 0:o.toString(),rt(!0),p.a.post(oe(),va,{headers:D()}).then((function(t){"OK"==t.data.responseCode?(Da(e+1),rt(!1)):(wt(t.data.responseMessage),rt(!1))}))}else if(6==e)if(1==$("#chkTerms").prop("checked")){var f={RegistrationId:localStorage.getItem("registrationId"),RegistrationHolderId:ga};rt(!0),p.a.post(he(),f,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(be.push("/CreateNewAccount"),rt(!1)):(wt(e.data.responseMessage),rt(!1))}))}else wt("Please select Terms & conditions"),$("#chkTerms").focus()}Object(r.useEffect)((function(){!0===at?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[at]),Object(r.useEffect)((function(){Tt(Uo()),Tt(yo()),Tt(Co()),Tt(vo()),Tt(Ao()),Tt(Vo()),Tt(So()),Tt(To()),Tt(Eo()),function(){var e={RegistrationId:localStorage.getItem("registrationId"),RegistrationHolderId:ga};rt(!0),p.a.post(g+"/api/Registration/GetFirstAccountHolderDetails",e,{headers:D()}).then((function(e){if(0!=e.data.length&&null!=e.data[0].relatedPersonType&&(-1!=e.data[0].relatedPersonType.indexOf("Natural Guardian")&&($("#rbguardian").prop("checked",!0),$("#rbassignee").prop("checked",!1),$("#rbauthorized").prop("checked",!1),$("#rblegalguardian").prop("checked",!1)),-1!=e.data[0].relatedPersonType.indexOf("Assignee")&&($("#rbassignee").prop("checked",!0),$("#rbguardian").prop("checked",!1),$("#rbauthorized").prop("checked",!1),$("#rblegalguardian").prop("checked",!1)),-1!=e.data[0].relatedPersonType.indexOf("Authorized representative")&&($("#rbauthorized").prop("checked",!0),$("#rbguardian").prop("checked",!1),$("#rbassignee").prop("checked",!1),$("#rblegalguardian").prop("checked",!1)),-1!=e.data[0].relatedPersonType.indexOf("Legal Guardian")&&($("#rblegalguardian").prop("checked",!0),$("#rbauthorized").prop("checked",!1),$("#rbguardian").prop("checked",!1),$("#rbassignee").prop("checked",!1))),0!=e.data.length&&null!=e.data[0].declarantAssessedTax&&(1==e.data[0].declarantAssessedTax?($("#rbaccessedtaxyes").prop("checked",!0),$("#rbaccessedtaxno").prop("checked",!1)):0==e.data[0].declarantAssessedTax&&($("#rbaccessedtaxyes").prop("checked",!1),$("#rbaccessedtaxno").prop("checked",!0))),0!=e.data.length&&null!=e.data[0].isPAN&&(0==e.data[0].isPAN?($("#chkPAN").prop("checked",!0),$("#txtPancard").attr("disabled","disabled"),$("#Upload").attr("disabled","disabled"),$("#txtPancard").val("")):1==e.data[0].isPAN&&($("#chkPAN").prop("checked",!1),$("#txtPancard").removeAttr("disabled"),$("#Upload").removeAttr("disabled"))),0==e.data.length)return Ge(e.data),Ma(e.data),void rt(!1);e.data.length>0&&(""!=e.data[0].photoFilePath&&($("#lnkPhotoDownload").css("visibility","visible"),$("#lnkPhotoDownload").prop("href",te()+"/Photo/"+e.data[0].photoFilePath)),""!=e.data[0].panFilePath&&($("#lnkPANDownload").css("visibility","visible"),$("#lnkPANDownload").prop("href",te()+"/POIFiles/"+e.data[0].panFilePath)),console.log("ALL DATA => ",e.data[0]),function(e){null!=e&&(null==e.fundsExpectedOrigin||""==e.fundsExpectedOrigin?$("#ddlfundsforcredit option:selected").val(1):$("#ddlfundsforcredit option:selected").text(e.fundsExpectedOrigin),null==e.fundsUtilisationExpected||""==e.fundsUtilisationExpected?$("#ddlfundsbydebit option:selected").val(1):$("#ddlfundsbydebit option:selected").text(e.fundsUtilisationExpected),null==e.otherBankAccounts||""==e.otherBankAccounts?$("#ddlotherbanksaccounts option:selected").val(1):$("#ddlotherbanksaccounts option:selected").text(e.otherBankAccounts),$("#txtturnover").val(e.turnover),$("#txtaverageincome").val(e.averageIncome),$("#txtexpectedincome").val(e.averageBalance),null==e.education||""==e.education?$("#ddleducation option:selected").val(1):$("#ddleducation option:selected").text(e.education),$("#txtlineofnusiness").val(e.lineOfBusiness),$("#txtstartbusinessdate").val(e.businessStartDate),$("#txtbussinessaddress1").val(e.businessAddress1),$("#txtbussinessaddress2").val(e.businessAddress2),$("#txtbussinessaddress3").val(e.businessAddress3),$("#txtofficecontact").val(e.businessTelNo),$("#txtofficemobileno").val(e.businessMobileNo),$("#txtsourceofwealth").val(e.businessWealthSource),null==e.businessEstimatedValue||""==e.businessEstimatedValue?$("#ddlestimatedvalue option:selected").val(1):$("#ddlestimatedvalue option:selected").text(e.businessEstimatedValue),null!=e.businessAssetDetails&&e.businessAssetDetails.length>0&&(e.businessAssetDetails.includes("Commercial Property")?$("#chkcommercialproperty").prop("checked",!0):$("#chkcommercialproperty").prop("checked",!1),e.businessAssetDetails.includes("House")?$("#chk
1house").prop("checked",!0):$("#chkhouse").prop("checked",!1),e.businessAssetDetails.includes("Plot")?$("#chkplot").prop("checked",!0):$("#chkplot").prop("checked",!1),e.businessAssetDetails.includes("Others")?$("#chkothers").prop("checked",!0):$("#chkothers").prop("checked",!1)),null!=e.taxResidenceNonIndia&&(1==e.taxResidenceNonIndia?($("#rbtaxresidenceyes").prop("checked",!0),$("#rbtaxresidenceno").prop("checked",!1)):0==e.taxResidenceNonIndia&&($("#rbtaxresidenceyes").prop("checked",!1),$("#rbtaxresidenceno").prop("checked",!0))),null!=e.bornNonIndia&&(1==e.bornNonIndia?($("#rbbornyes").prop("checked",!0),$("#rbbornno").prop("checked",!1)):0==e.bornNonIndia&&($("#rbbornyes").prop("checked",!1),$("#rbbornno").prop("checked",!0))),null!=e.businessVehicleTwoWheeler&&e.businessVehicleTwoWheeler.length>0&&(e.businessVehicleTwoWheeler.includes("Two Wheeler")?($("#chktwowheeler").prop("checked",!0),$("#twowheeleryear").val(e.businessTwoWheelerPurchaseYear)):$("#chktwowheeler").prop("checked",!1)),null!=e.businessVehicleCar&&e.businessVehicleCar.length>0&&(e.businessVehicleCar.includes("Car")?($("#chkcar").prop("checked",!0),$("#txtcaryear").val(e.businessCarPurchaseYear)):$("#chkcar").prop("checked",!1)),null!=e.businessVehicleOther&&e.businessVehicleOther.length>0&&(e.businessVehicleOther.includes("Other")?($("#chkother").prop("checked",!0),$("#txtotheryear").val(e.businessOtherPurchaseYear)):$("#chkother").prop("checked",!1)),null!=e.interestedIn&&e.interestedIn.length>0&&(e.interestedIn.includes("Mutual Funds")?$("#chkmutualfunds").prop("checked",!0):$("#chkmutualfunds").prop("checked",!1),e.interestedIn.includes("Health Insurance")?$("#chkhealthinsurance").prop("checked",!0):$("#chkhealthinsurance").prop("checked",!1),e.interestedIn.includes("General Insurance")?$("#chkgeneralinsurance").prop("checked",!0):$("#chkgeneralinsurance").prop("checked",!1),e.interestedIn.includes("Demat")?$("#chkdemat").prop("checked",!0):$("#chkdemat").prop("checked",!1),e.interestedIn.includes("Pradhan Mantri Suraksha Bima Yojana (PMSBY)")?$("#chkpmsby").prop("checked",!0):$("#chkpmsby").prop("checked",!1),e.interestedIn.includes("Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY)")?$("#chkpmjjby").prop("checked",!0):$("#chkpmjjby").prop("checked",!1)),$("#txtcarmaker").val(e.businessCarMaker))}(e.data[0]),Ge(e.data[0]),Ma(e.data),rt(!1)),rt(!1)}),(function(e){console.log(e.response),rt(!1)}))}()}),[Tt]);var Aa=Object(r.useState)(1),ka=Object(u.a)(Aa,2),Ca=ka[0],wa=ka[1],Sa=Object(r.useState)([1]),Pa=Object(u.a)(Sa,2),Ta=Pa[0],Ia=Pa[1],Ea=Object(r.useState)(null),Ba=Object(u.a)(Ea,2);Ba[0],Ba[1];function Da(e){if(Ca!==e){var t=kt(),a=[].concat(Object(Ct.a)(Ta),[e]);if(t>=18){var r=[].concat(Object(Ct.a)(Ta),[e]).filter((function(e){return 3!==e}));a=Object(Ct.a)(r)}e>=1&&e<=6&&(wa(e),console.log("modifiedSteps => ",a),Ia(a))}}var Fa=JSON.parse(localStorage.getItem("authCustomer")),Ra=Object(pt.a)({enableReinitialize:!0,initialValues:{personalchoose:null!==(e=_t[null===vt||void 0===vt||null===(t=vt.title)||void 0===t?void 0:t.toLowerCase()])&&void 0!==e?e:null==Ue.title?"":Ue.title,firstname:null!==(a=null===vt||void 0===vt?void 0:vt.firstName)&&void 0!==a?a:null==Ue.firstName?"":Ue.firstName,middlename:null!==(s=null===vt||void 0===vt?void 0:vt.middleName)&&void 0!==s?s:null==Ue.middleName?"":Ue.middleName,lastname:null!==(c=null===vt||void 0===vt?void 0:vt.lastName)&&void 0!==c?c:null==Ue.lastName?"":Ue.lastName,phoneno:null!==(o=null===vt||void 0===vt?void 0:vt.mobile)&&void 0!==o?o:null==Ue.mobile?Fa.mobileNo:Ue.mobile,mobilenobelongsTo:null==Ue.mobileNoBelongsTo?"":Ue.mobileNoBelongsTo,email:null!==(h=null===vt||void 0===vt?void 0:vt.eMail)&&void 0!==h?h:null==Ue.email?null==Fa.email?"":Fa.email:Ue.email,gender:null!==(j=Ht[null===vt||void 0===vt?void 0:vt.genderId])&&void 0!==j?j:null==Ue.gender?"":Ue.gender,occupation:null!==(x=Zt[null===vt||void 0===vt||null===(O=vt.occupation)||void 0===O?void 0:O.toLowerCase()])&&void 0!==x?x:null==Ue.occupation?"":Ue.occupation,dob:null!==(y=null===vt||void 0===vt?void 0:vt.dob)&&void 0!==y?y:null==Ue.dob?"":Ue.dob,maritalstatus:null!==(N=Qt[null===vt||void 0===vt||null===(A=vt.maritalStatus)||void 0===A?void 0:A.toLowerCase()])&&void 0!==N?N:0==Ue.length||null==Ue.dob?"2":Ue.maritalStatus,nationality:null!==(k=Jt[null===vt||void 0===vt||null===(C=vt.nationality)||void 0===C?void 0:C.toLowerCase()])&&void 0!==k?k:0==Ue.length||null==Ue.dob?"1":Ue.nationality,communicationaddress:null!==(w=null===vt||void 0===vt?void 0:vt.localAddress1)&&void 0!==w?w:null==Ue.localAddress1?"":Ue.localAddress1,communicationaddress2:null!==(S=null===vt||void 0===vt?void 0:vt.localAddress2)&&void 0!==S?S:null==Ue.localAddress2?"":Ue.localAddress2,communicationaddress3:null!==(P=null===vt||void 0===vt?void 0:vt.localAddress3)&&void 0!==P?P:null==Ue.localAddress3?"":Ue.localAddress3,communicationstate:null!==(T=ra[null===vt||void 0===vt||null===(I=vt.localState)||void 0===I?void 0:I.toLowerCase()])&&void 0!==T?T:null==Ue.localState?"":Ue.localState,communicationcity:null!==(E=null===vt||void 0===vt?void 0:vt.localCity)&&void 0!==E?E:null==Ue.localCity?"":Ue.localCity,communicationpincode:null!==(B=null===vt||void 0===vt?void 0:vt.localPin)&&void 0!==B?B:null==Ue.localPin?"":Ue.localPin,permanentaddress:null==Ue.permanentAddress1?"":Ue.permanentAddress1,permanentaddress2:null==Ue.permanentAddress2?"":Ue.permanentAddress2,permanentaddress3:null==Ue.permanentAddress3?"":Ue.permanentAddress3,permanentstate:null==Ue.permanentState?"":Ue.permanentState,permanentcity:null==Ue.permanentCity?"":Ue.permanentCity,permanentpincode:null==Ue.permanentPin?"":Ue.permanentPin,poi:"",poipoa:"",pan:null!==(F=null===vt||void 0===vt?void 0:vt.pan)&&void 0!==F?F:null==Ue.pan?"":Ue.pan,panfile:"",poifilePath:null==Ue.poiFilePath?"":Ue.poiFilePath,customerid:null!==(R=null===vt||void 0===vt?void 0:vt.customerNo)&&void 0!==R?R:null==Ue.customerId?"":Ue.customerId,ckycno:null==Ue.ckycNo?"":Ue.ckycNo,photofile:"",photofilepath:null==Ue.photo
1FilePath?"":Ue.photoFilePath,fatherchoose:null!==(L=_t[null===vt||void 0===vt||null===(M=vt.fatherNameTitle)||void 0===M?void 0:M.toLowerCase()])&&void 0!==L?L:null==Ue.fatherTitle?"":Ue.fatherTitle,fatherlastname:null!==(q=null===vt||void 0===vt?void 0:vt.fatherLastName)&&void 0!==q?q:null==Ue.fatherLastName?"":Ue.fatherLastName,fatherfirstname:null!==(V=null===vt||void 0===vt?void 0:vt.fatherFirstName)&&void 0!==V?V:null==Ue.fatherFirstName?"":Ue.fatherFirstName,fathermiddlename:null!==(W=null===vt||void 0===vt?void 0:vt.fatherMiddleName)&&void 0!==W?W:null==Ue.fatherMiddleName?"":Ue.fatherMiddleName,motherchoose:null!==(U=_t[null===vt||void 0===vt||null===(G=vt.motherNameTitle)||void 0===G?void 0:G.toLowerCase()])&&void 0!==U?U:null==Ue.motherTitle?"":Ue.motherTitle,motherlastname:null!==(Y=null===vt||void 0===vt?void 0:vt.motherLastName)&&void 0!==Y?Y:null==Ue.motherLastName?"":Ue.motherLastName,motherfirstname:null!==(K=null===vt||void 0===vt?void 0:vt.motherFirstName)&&void 0!==K?K:null==Ue.motherFirstName?"":Ue.motherFirstName,mothermiddlename:null!==(z=null===vt||void 0===vt?void 0:vt.motherMiddleName)&&void 0!==z?z:null==Ue.motherMiddleName?"":Ue.motherMiddleName,maidenchoose:null!==(J=_t[null===vt||void 0===vt||null===(Q=vt.maidenTitle)||void 0===Q?void 0:Q.toLowerCase()])&&void 0!==J?J:null==Ue.maidenTitle?"":Ue.maidenTitle,maidenlastname:null!==(H=null===vt||void 0===vt?void 0:vt.maidenLastName)&&void 0!==H?H:null==Ue.maidenLastName?"":Ue.maidenLastName,maidenfirstname:null!==(Z=null===vt||void 0===vt?void 0:vt.maidenFirstName)&&void 0!==Z?Z:null==Ue.maidenFirstName?"":Ue.maidenFirstName,maidenmiddlename:null!==(X=null===vt||void 0===vt?void 0:vt.maidenMiddleName)&&void 0!==X?X:null==Ue.maidenMiddleName?"":Ue.maidenMiddleName,relatedpersonchoose:null==Ue.relatedPersonTitle?"":Ue.relatedPersonTitle,relatedpersonlastname:null==Ue.relatedPeronLastName?"":Ue.relatedPeronLastName,relatedpersonfirstname:null==Ue.relatedPeronFirstName?"":Ue.relatedPeronFirstName,relatedpersonmiddlename:null==Ue.relatedPeronMiddleName?"":Ue.relatedPeronMiddleName,relatedpersonrelation:null==Ue.relatedPersonCustomerRelation?"":Ue.relatedPersonCustomerRelation,relatedpersonpan:null==Ue.relatedPersonPANNo?"":Ue.relatedPersonPANNo,relatedpersonaadhar:null==Ue.relatedPersonAadhaarNo?"":Ue.relatedPersonAadhaarNo,relatedcourt:null==Ue.relatedPersonCourtOrder
1No?"":Ue.relatedPersonCourtOrderNo,transactionparticulars:null==Ue.declarantTransactionParticulars?"":Ue.declarantTransactionParticulars,transactionsamount:null==Ue.declarantAmountofTransaction?"":Ue.declarantAmountofTransaction,detailsofincometax:null==Ue.detailsOfIncomeTax?"":Ue.detailsOfIncomeTax,reasonfornopan:null==Ue.reasonForNoPan?"":Ue.reasonForNoPan,annualactivity:null==Ue.turnover?"":Ue.turnover,averageincome:null==Ue.averageIncome?"":Ue.averageIncome,expectedincome:null==Ue.averageBalance?"":Ue.averageBalance,officecontact:null==Ue.businessTelNo?"":Ue.businessTelNo,officemobileno:null==Ue.businessMobileNo?"":Ue.businessMobileNo,twowheeleryear:"Two Wheeler"==Ue.businessVehicleTwoWheeler?null==Ue.businessTwoWheelerPurchaseYear?"":Ue.businessTwoWheelerPurchaseYear:"",caryear:"Car"==Ue.businessVehicleCar?null==Ue.businessCarPurchaseYear?"":Ue.businessCarPurchaseYear:"",anyotheryear:"Other"==Ue.businessVehicleOther?null==Ue.businessOtherPurchaseYear?"":Ue.businessOtherPurchaseYear:"",annualincome:null==Ue.businessAnnualIncome?"":yt.filter((function(e){return e.label===Ue.businessAnnualIncome}))[0].value,customerreasonid:null==Ue.reason?"":null===Ft||void 0===Ft?void 0:Ft.filter((function(e){return e.reason===Ue.reason}))[0].id,occupationdetails:null!==(_=Zt[null===vt||void 0===vt||null===(ee=vt.occupation)||void 0===ee?void 0:ee.toLowerCase()])&&void 0!==_?_:"",caste:null!==(ae=aa[null===vt||void 0===vt||null===(re=vt.caste)||void 0===re?void 0:re.toLowerCase()])&&void 0!==ae?ae:null==Ue.caste?"":Ue.caste,religion:null!==(le=ta[null===vt||void 0===vt||null===(ie=vt.religion)||void 0===ie?void 0:ie.toLowerCase()])&&void 0!==le?le:null==Ue.religion?"":Ue.religion,businessname:null==Ue.businessName?"":Ue.businessName,sourceofincome:null==Ue.businessIncomeSource?"":Ue.businessIncomeSource},validationSchema:jt.c({personalchoose:jt.d().required("Title required"),firstname:jt.d().required("First Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),middlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),lastname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),phoneno:jt.d().required("Phone No. required"),mobilenobelongsTo:jt.d().required("Mobile No. belongs to required"),gender:jt.d().required("Gender required"),dob:jt.d().required("Date of Birth required"),maritalstatus:jt.d().required("Maratial Status required"),nationality:jt.d().required("Nationality required"),occupation:jt.d().required("Occupation required"),communicationaddress:jt.d().required("Address 1 required"),communicationstate:jt.d().required("State required"),communicationcity:jt.d().required("City required").matches(/^[A-Za-z ]+$/,"Enter character only!"),communicationpincode:jt.b().required("Pincode required"),permanentaddress:jt.d().required("Address 1 required"),permanentstate:jt.d().required("State required"),permanentcity:jt.d().required("City required").matches(/^[A-Za-z ]+$/,"Enter character only!"),permanentpincode:jt.b().required("Pincode required"),poi:jt.d().required("POI required"),poipoa:jt.d().required("POI/POA required"),pan:jt.d().required("PAN No. required"),panfile:ht&&5===ht?jt.d():jt.d().required("PAN document required"),photofile:ht&&5===ht?jt.d():jt.d().required("Photo required"),fatherchoose:jt.d().required("Father Title required"),fatherlastname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),fatherfirstname:jt.d().required("Father First name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),fathermiddlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),motherchoose:jt.d().required("Mother Title required"),motherlastname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),motherfirstname:jt.d().required("Mother First Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),mothermiddlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),maidenchoose:jt.d().required("Maiden Title required"),maidenlastname:jt.d().required("Maiden Last Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),maidenfirstname:jt.d().required("Maiden First Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),maidenmiddlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),relatedpers
1onchoose:jt.d().required("Title required"),relatedpersonlastname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),relatedpersonfirstname:jt.d().required("First Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),relatedpersonmiddlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),relatedpersonrelation:jt.d().required("Customer Relation required").matches(/^[A-Za-z ]+$/,"Enter character only!"),relatedpersonpan:jt.d().required("PAN required"),relatedpersonaadhar:jt.d().required("Aadhaar required"),transactionparticulars:jt.d().required("Transaction Particulars required"),transactionsamount:jt.d().required("Amount of Transactions required"),detailsofincometax:jt.d().required("Details of income required"),reasonfornopan:jt.d().required("Reason for not having PAN required"),annualactivity:jt.d().required("Annual activity/ A/c turnover required"),averageincome:jt.d().required("Average income required"),expectedincome:jt.d().required("Expected average balance required"),annualincome:jt.b().required("Annual income required"),officemobileno:jt.d(),customerreasonid:jt.d().required("Reason required"),occupationdetails:jt.d().required("Occupation details required"),caste:jt.d().required("Case required"),religion:jt.d().required("Religion required"),businessname:jt.d().required("Name of the employer/firm/institution required"),sourceofincome:jt.d().required("Source of income required")}),onSubmit:function(e){}}),La=function(e){if(Kt){var t={customerId:null===e||void 0===e?void 0:e.toString()};p.a.post(g+"/api/Registration/GetCustomerDataByCustomerId",t,{headers:D()}).then((function(e){var t=e.data,a=e.status;if(t&&200===a){var r,n=t.averageIncome,s=t.education,c=t.pan;gt(t),Ra.setFieldValue("averageincome",n),za(n);var o=null!==(r=ea[null===s||void 0===s?void 0:s.toLowerCase()])&&void 0!==r?r:"";o?$("#ddleducation").val(o):$("#ddleducation").val(1),c&&""!==c&&null!==c||($("#chkPAN").prop("checked",!0),$("#txtPancard").val(""),$("#txtPancard").attr("disabled","disabled"),$("#Upload").attr("disabled","disabled"))}})).catch((function(e){console.error("Error fetching customer data by customer ID:",e)}))}};function Ma(e){var t=[];e.length>0&&null!=e[0].poi&&(e.map((function(e){var a={poiid:e.poiId.toString(),SelectedProofofIdentity:e.poi,EnterNumber:e.poiNo,POIPOA:e.poipoa,Expiry:null==e.expiryDate?"":e.expiryDate,Upload:"",poifilepath:e.poiFilePath,poifilepathurl:te()+"/POIFiles/"+e.poiFilePath,Delete:""};t.push(a)})),Gt(t))}Object(r.useEffect)((function(){if((null===Bt||void 0===Bt?void 0:Bt.length)&&(null===Ue||void 0===Ue?void 0:Ue.occupationDetails)){var e=Bt.find((function(e){return e.occupationName===Ue.occupationDetails}));(null===e||void 0===e?void 0:e.id)&&Ra.setFieldValue("occupationdetails",String(e.id))}}),[Bt,Ue]);function qa(e){var t=Object.keys(e[0]).map((function(t){return(""===e[0][t]||void 0===e[0][t])&&(!("pan"==t&&""==e[0][t]&&$("#chkPAN").prop("checked")||"panfile"==t&&""==e[0][t]&&$("#chkPAN").prop("checked"))&&(!("panfile"==t&&""!=Ra.values.poifilePath&&!$("#chkPAN").prop("checked"))&&(("photofile"!=t||""==Ra.values.photofilepath)&&("panfile"==t&&""==Ra.values.poifilePath&&!$("#chkPAN").prop("checked")||("photofile"==t&&""==Ra.values.photofilepath||"email"!=t)))))})).includes(!0);return 1===Ca&&t&&function(){if(Ra.submitCount>0&&Object.keys(Ra.errors).length>0){var e=Object.keys(Ra.errors)[0],t=document.querySelector('[name="'.concat(e,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"center"})}}(),5===Ca&&t&&function(){if(Ra.submitCount>0&&Object.keys(Ra.errors).length>0){var e=["annualactivity","averageincome","expectedincome","officemobileno","annualincome","customerreasonid"].find((function(e){return Ra.errors[e]}));if(e){var t=document.querySelector('[name="'.concat(e,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"center"})}}}(),t}var $a={color:"#9a084f",fontWeight:"bold"},Va={color:"black"},Wa={borderRadius:8,flex:1,padding:"15px"},Ua={marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},Ga={color:"red",fontWeight:"bold"},Ya=function(e){var t=null===e||void 0===e?void 0:e.target,a=t.name,r="self"===a?"Self":"familymembers"===a?"Family Members":"Others";if(t.checked){var n=Object(d.a)(Object(d.a)({},e),{},{target:Object(d.a)(Object(d.a)({},e.target),{},{name:"mobilenobelongsTo",value:r})});Ra.handleChange(n)}},Ka=function(){var e={taxNonIndia:!!$("#rbtaxresidenceyes").prop("checked"),bornNonIndia:!!$("#rbbornyes").prop("checked")};it(e)};function za(e){var t=function(e){if(!e||isNaN(e)||e<0)return{annualIncomeValue:"",annualTurnover:0};for(var t=12*e,a=2*t,r=yt[yt.length-1].value,n=1;n<yt.length;n++){var s=yt[n],c=s.label,o=s.value;if(c.includes("Upto")){if(t<=parseInt(c.match(/\d+/)[0])){r=o;break}}else if(c.includes("to")){var l=c.match(/\d+/g).map(Number),i=Object(u.a)(l,2),d=i[0],h=i[1];if(t>=d&&t<=h){r=o;break}}else if(c.includes("Above")&&t>parseInt(c.match(/\d+/)[0])){r=o;break}}return{annualIncomeValue:r,annualTurnover:a}}(e),a=t.annualIncomeValue,r=t.annualTurnover;Ra.setFieldValue("annualincome",a),Ra.setFieldValue("annualactivity",r)}return Object(r.useEffect)((function(){return $("#rbtaxresidenceyes, #rbbornyes").on("change",Ka),setTimeout((function(){Ka()}
1),200),function(){$("#rbtaxresidenceyes, #rbbornyes").off("change",Ka)}}),[]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-First Holder"})}),Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{style:{height:"96%"},children:Object(ft.jsx)(m.d,{style:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px",height:"95%",width:"100%"},children:Object(ft.jsxs)("div",{className:"wizard clearfix",children:[Object(ft.jsx)("div",{className:"steps clearfix",style:{marginTop:"-15px"},children:Object(ft.jsxs)("ul",{children:[Object(ft.jsx)(m.t,{className:Lt()({current:1===Ca}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:1===Ca}),onClick:function(){Da(1)},disabled:!(Ta||[]).includes(1),children:[Object(ft.jsx)("span",{className:"number",children:"1"})," Personal Details"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:2===Ca}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:2===Ca}),onClick:function(){Da(2)},disabled:!(Ta||[]).includes(2),children:[Object(ft.jsx)("span",{className:"number",children:"2"})," ",Object(ft.jsx)("span",{children:"Family Details"})]})}),Object(ft.jsx)(m.t,{className:Lt()({current:3===Ca}),children:Object(ft.jsxs)(m.u,{id:"navRelatedPerson",className:(Lt()({active:3===Ca}),"done"),onClick:function(){Da(3)},disabled:!(Ta||[]).includes(3),children:[Object(ft.jsx)("span",{className:"number",children:"3"})," Related person"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:4===Ca}),children:Object(ft.jsxs)(m.u,{id:"navForm60",className:(Lt()({active:4===Ca}),"done"),onClick:function(){Da(4)},disabled:!(Ta||[]).includes(4),children:[Object(ft.jsx)("span",{className:"number",children:"4"})," Form no 60/61"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:5===Ca}),children:Object(ft.jsxs)(m.u,{className:(Lt()({active:5===Ca}),"done"),onClick:function(){Da(5)},disabled:!(Ta||[]).includes(5),children:[Object(ft.jsx)("span",{className:"number",children:"5"})," Additional Details"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:6===Ca}),children:Object(ft.jsxs)(m.u,{className:(Lt()({active:6===Ca}),"done"),onClick:function(){Da(6)},disabled:!(Ta||[]).includes(6),children:[Object(ft.jsx)("span",{className:"number",children:"6"}),"Declaration"]})})]})}),Object(ft.jsx)("div",{className:"content clearfix",style:{marginTop:"-20px",width:"100%"},children:Object(ft.jsxs)(m.w,{activeTab:Ca,className:"body",children:[Object(ft.jsx)(m.x,{tabId:1,children:Object(ft.jsxs)(m.m,{style:Wa,className:"registration needs-validation",encType:"multipart/form-data",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsxs)(m.m,{className:"needs-validation",style:{width:"100%"},encType:"multipart/form-data",children:[Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Customer ID"}),Object(ft.jsx)(m.p,{name:"customerid",placeholder:"Customer ID",type:"text",className:"form-control",id:"txtCustomerID",maxLength:"20",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:function(e){Ra.handleBlur(e),Ra.values.customerid&&La(Ra.values.customerid)},value:Ra.values.customerid||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"CKYC Number"}),Object(ft.jsx)(m.p,{name:"ckycno",placeholder:"CKYC Number",type:"text",className:"form-control",id:"txtCKYCNumber",maxLength:"20",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.ckycno||"",autocomplete:"off"})]})}),Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:Va,children:"Upload Photo"}),5!==ht&&Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"80%"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"}
1),Object(ft.jsx)(m.p,{multiple:"",id:"UploadPhoto",name:"photofile",type:"file",accept:".jpg,.jpeg,.png",value:Ra.values.photofile||"",onChange:function(e){var t=null===e||void 0===e?void 0:e.target.files[0];ha.includes(null===t||void 0===t?void 0:t.type)?(Ra.handleChange(e),oa(e.target.files[0])):(wt("Kindly upload document in JPG,JPEG,PNG format only"),Ra.setFieldValue("photofile",""))},invalid:!(!Ra.touched.photofile||!Ra.errors.photofile||""!=Ra.values.photofilepath)}),Ra.touched.photofile&&Ra.errors.photofile&&""==Ra.values.photofilepath?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.photofile}):null]}),Object(ft.jsx)(m.f,{lg:"2",style:{marginTop:"35px",fontSize:"medium",fontWeight:"bold"},children:Object(ft.jsx)("a",{id:"lnkPhotoDownload",href:"",target:"_blank",rel:"noreferrer",style:{visibility:"hidden"},children:Object(ft.jsx)("i",{className:"bx bx-show",style:{fontSize:"xx-large",marginTop:"-5px"}})})})]})}),Object(ft.jsxs)("div",{children:[Object(ft.jsx)(m.r,{children:Object(ft.jsx)("h5",{style:$a,children:"Personal details"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Title"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"personalchoose",id:"ddlpersonalchoose",onChange:Ra.handleChange,value:Ra.values.personalchoose||"",invalid:!(!Ra.touched.personalchoose||!Ra.errors.personalchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."}),Object(ft.jsx)("option",{value:"4",children:"Smt."}),Object(ft.jsx)("option",{value:"5",children:"Ms."}),Object(ft.jsx)("option",{value:"6",children:"Master"})]}),Ra.touched.personalchoose&&Ra.errors.personalchoose?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.personalchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Last Name"}),Object(ft.jsx)(m.p,{name:"lastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtLastName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.lastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"First Name"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"firstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtFirstName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.firstname||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.firstname||!Ra.errors.firstname),autocomplete:"off"}),Ra.touched.firstname&&Ra.errors.firstname?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.firstname}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Middle Name"}),Object(ft.jsx)(m.p,{name:"middlename",placeholder:"Middle Name",type:"text",className:"form-control",id:"txtMiddleName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.middlename||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Gender"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"gender",className:"form-select",id:"ddlgender",onChange:Ra.handleChange,value:Ra.values.gender||"",invalid:!(!Ra.touched.gender||!Ra.errors.gender),children:[Object(ft.jsx)("option",{value:"",children:"Gender"}),Object(ft.jsx)("option",{value:"1",children:"Male"}),Object(ft.jsx)("option",{value:"2",children:"Female"}),Object(ft.jsx)("option",{value:"3",children:"Transgender"})]}),Ra.touched.gender&&Ra.errors.gender?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.gender}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Birth Date"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)("div",{className:Ra.touched.dob&&Ra.errors.dob?"flatpickr-error-style":"flatpickr",children:Object(ft.jsx)(It.a,{id:"txtdob",name:"dob",placeholder:"Birth Date",className:"form-control flatpickr ".concat(Ra.touched.dob&&Ra.errors.dob?"is-invalid":""),onBlur:Ra.handleBlur,onChange:function(e,t){Object(u.a)(e,1)[0];Ra.setFieldValue("dob",t)},options:{dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"},value:Ra.values.dob||""})}),Object(ft.jsx)("div",{children:Ra.touched.dob&&Ra.errors.dob?Object(ft.jsx)("span",{style:{fontSize:"11px"},className:"text-danger",children:Ra.errors.dob}):null})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Marital Status"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"maritalstatus",defaultValue:2,className:"form-select",id:"ddlmaratialstatus",onChange:Ra.handleChange,value:Ra.values.maritalstatus||"",invalid:!(!Ra.touched.maritalstatus||!Ra.errors.maritalstatus),children:[Object(ft.jsx)("option",{value:"",children:"Marital status"}),Object(ft.jsx)("option",{value:"1",children:"Married"}),Object(ft.jsx)("option",{value:"2",children:"Unmarried"}),Object(ft.jsx)("option",{value:"3",children:"Divorce"})]}),Ra.touched.maritalstatus&&Ra.errors.maritalstatus?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.maritalstatus}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Email"}),Object(ft.jsx)(m.p,{name:"email",placeholder:"Email",type:"text",className:"form-control",id:"txtEmailID",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){Ra.handleChange(e),function(e){var t=e.target.value;t&&!1!==/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(t)?Je(""):Je("Enter valid Email!")}
1(e)},onBlur:Ra.handleBlur,value:Ra.values.email||"",maxLength:"100",autocomplete:"off"}),Object(ft.jsx)("h10",{style:{color:"red",fontSize:"80%"},children:ze})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Nationality"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"nationality",id:"ddlnationality",onChange:Ra.handleChange,value:Ra.values.nationality||"",invalid:!(!Ra.touched.nationality||!Ra.errors.nationality),children:[Object(ft.jsx)("option",{value:"",children:"Nationality"}),Object(ft.jsx)("option",{value:"1",children:"Indian"}),Object(ft.jsx)("option",{value:"2",children:"NRI/PIO"}),Object(ft.jsx)("option",{value:"3",children:"Others"})]}),Ra.touched.nationality&&Ra.errors.nationality?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.nationality}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Occupation"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"occupation",id:"ddloccupation",onChange:function(e){var t=e.target.value;Ra.handleChange(e),Ra.setFieldValue("occupationdetails",t)},value:Ra.values.occupation||"",invalid:!(!Ra.touched.occupation||!Ra.errors.occupation),children:[Object(ft.jsx)("option",{value:"",children:"Occupation"}),Bt.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationName},e.id)}))]}),Ra.touched.occupation&&Ra.errors.occupation?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.occupation}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mobile"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.q,{children:[Object(ft.jsx)("div",{className:"input-group-text",children:"+91"}),Object(ft.jsx)(m.p,{name:"phoneno",placeholder:"Mobile",type:"text",className:"form-control",id:"txtPhoneno",disabled:!Kt,maxLength:"10",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.phoneno||"",invalid:!(!Ra.touched.phoneno||!Ra.errors.phoneno),autocomplete:"off"})]}),Ra.touched.phoneno&&Ra.errors.phoneno?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.phoneno}):null]})}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsxs)(m.o,{children:[Object(ft.jsx)("label",{style:Va,children:"Mobile No belongs to"}),Object(ft.jsx)("span",{style:Ga,children:"*"})]}),Object(ft.jsxs)("div",{className:"d-flex align-items-center gap-3",children:[Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"self",id:"chkself",onChange:Ya,onBlur:Ra.handleBlur,checked:"Self"===Ra.values.mobilenobelongsTo,invalid:!(!Ra.touched.mobilenobelongsTo||!Ra.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Self"})]}),Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"familymembers",id:"chkfamilymembers",onChange:Ya,onBlur:Ra.handleBlur,checked:"Family Members"===Ra.values.mobilenobelongsTo,invalid:!(!Ra.touched.mobilenobelongsTo||!Ra.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Family Members"})]}),Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"others",id:"chkothers",onChange:Ya,onBlur:Ra.handleBlur,checked:"Others"===Ra.values.mobilenobelongsTo,invalid:!(!Ra.touched.mobilenobelongsTo||!Ra.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Others"})]})]}),Ra.touched.mobilenobelongsTo&&Ra.errors.mobilenobelongsTo?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.mobilenobelongsTo}):null]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.r,{style:Va,children:"Communication Address"})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 1"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationaddress",placeholder:"Address 1",type:"text",className:"form-control",id:"txtCommunicationAddress1",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.communicationaddress||"",invalid:!(!Ra.touched.communicationaddress||!Ra.errors.communicationaddress),autocomplete:"off"}),Ra.touched.communicationaddress&&Ra.errors.communicationaddress?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.communicationaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"communicationaddress2",placeholder:"Address 2",type:"text",className:"form-control",id:"txtCommunicationAddress2",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.communicationaddress2||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 3"}),Object(ft.jsx)(m.p,{name:"communicationaddress3",placeholder:"Address 3",type:"text",className:"form-control",id:"txtCommunicationAddress3",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.communicationaddress3||"",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"City"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationcity",placeholder:"City",type:"text",className:"form-control",id:"txtCommunicationCity",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.communicationcity||"",invalid:!(!Ra.touched.communicationcity||!Ra.errors.communicationcity),autocomplete:"off"}),Ra.touched.communicationcity&&Ra.errors.communicationcity?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.communicationcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Pin"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationpincode",placeholder:"Pin",type:"text",className:"form-control",id:"txtCommunicationPincode",maxLength:"6",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.communicationpincode||"",invalid:!(!Ra.touched.communicationpincode||!Ra.errors.communicationpincode),autocomplete:"off"}),Ra.touched.communicationpincode&&Ra.errors.communicationpincode?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.communicationpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"State"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"communicationstate",id:"ddlCommunicationState",onCh
1ange:Ra.handleChange,value:Ra.values.communicationstate||"",invalid:!(!Ra.touched.communicationstate||!Ra.errors.communicationstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),Et.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),Ra.touched.communicationstate&&Ra.errors.communicationstate?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.communicationstate}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkSameAs",onClick:function(){!function(){if($("#chkSameAs").prop("checked")){var e=$("#txtCommunicationAddress1").val(),t=$("#txtCommunicationAddress2").val(),a=$("#txtCommunicationAddress3").val(),r=$("#txtCommunicationCity").val(),n=$("#txtCommunicationPincode").val(),s=$("#ddlCommunicationState").val();$("#txtPermanentAddress1").val(e),$("#txtPermanentAddress2").val(t),$("#txtPermanentAddress3").val(a),$("#txtPermanentCity").val(r),$("#txtPermanentPincode").val(n),$("#ddlPermanentState").val(s),Ra.values.permanentaddress=e,Ra.values.permanentaddress2=t,Ra.values.permanentaddress3=a,Ra.values.permanentstate=s,Ra.values.permanentcity=r,Ra.values.permanentpincode=n,Ra.setFieldTouched("permanentaddress",""),Ra.setFieldTouched("permanentaddress2",""),Ra.setFieldTouched("permanentaddress3",""),Ra.setFieldTouched("permanentstate",""),Ra.setFieldTouched("permanentcity",""),Ra.setFieldTouched("permanentpincode","")}else $("#txtPermanentAddress1").val(""),$("#txtPermanentAddress2").val(""),$("#txtPermanentAddress3").val(""),$("#txtPermanentCity").val(""),$("#txtPermanentPincode").val(""),$("#ddlPermanentState").val(""),Ra.values.permanentaddress="",Ra.values.permanentaddress2="",Ra.values.permanentaddress3="",Ra.values.permanentstate="",Ra.values.permanentcity="",Ra.values.permanentpincode=""}()}}),Object(ft.jsxs)(m.r,{style:Va,className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Same as above"]})]})})})}),Object(ft.jsx)(m.r,{style:Va,children:"Permanent Address"})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 1"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentaddress",placeholder:"Address 1",type:"text",className:"form-control",id:"txtPermanentAddress1",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.permanentaddress||"",invalid:!(!Ra.touched.permanentaddress||!Ra.errors.permanentaddress),autocomplete:"off"}),Ra.touched.permanentaddress&&Ra.errors.permanentaddress?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.permanentaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"permanentaddress2",placeholder:"Address 2",type:"text",className:"form-control",id:"txtPermanentAddress2",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.permanentaddress2||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Address 3"}),Object(ft.jsx)(m.p,{name:"permanentaddress3",placeholder:"Address 3",type:"text",className:"form-control",id:"txtPermanentAddress3",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.permanentaddress3||"",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"City"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentcity",placeholder:"City",type:"text",className:"form-control",id:"txtPermanentCity",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.permanentcity||"",invalid:!(!Ra.touched.permanentcity||!Ra.errors.permanentcity),autocomplete:"off"}),Ra.touched.permanentcity&&Ra.errors.permanentcity?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.permanentcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Pin"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentpincode",placeholder:"Pin",type:"text",className:"form-control",id:"txtPermanentPincode",maxLength:"6",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.permanentpincode||"",invalid:!(!Ra.touched.permanentpincode||!Ra.errors.permanentpincode),autocomplete:"off"}),Ra.touched.permanentpincode&&Ra.errors.permanentpincode?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.permanentpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"State"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"permanentstate",id:"ddlPermanentState",onCh
1ange:Ra.handleChange,value:Ra.values.permanentstate||"",invalid:!(!Ra.touched.permanentstate||!Ra.errors.permanentstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),Et.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),Ra.touched.permanentstate&&Ra.errors.permanentstate?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.permanentstate}):null]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:Va,children:"PAN"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{placeholder:"PAN No.",type:"text",className:"form-control",id:"txtPancard",maxLength:"10",name:"pan",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:Ra.handleChange,value:Ra.values.pan||"",invalid:!(!Ra.errors.pan||$("#chkPAN").prop("checked")||!Ra.touched.pan||$("#chkPAN").prop("checked")),autocomplete:"off"}),Object(ft.jsx)("h10",{style:{color:"red",fontSize:"80%"},children:Ze}),Ra.errors.pan&&!$("#chkPAN").prop("checked")&&Ra.touched.pan&&!$("#chkPAN").prop("checked")?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.pan}):null,Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkPAN",onClick:function(){1==$("#chkPAN").prop("checked")?($("#txtPancard").attr("disabled","disabled"),$("#Upload").attr("disabled","disabled"),$("#txtPancard").val("")):($("#txtPancard").removeAttr("disabled"),$("#Upload").removeAttr("disabled"))}}),Object(ft.jsx)("small",{style:{marginLeft:"5px"},children:"Fill Form 60/61 if PAN is not available"})]}),Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:Va,children:"Upload PAN"}),5!==ht&&Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"85%"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"}),Object(ft.jsx)(m.p,{multiple:"",id:"Upload",name:"panfile",type:"file",accept:".jpg,.jpeg,.png",value:Ra.values.panfile||"",onChange:function(e){var t=null===e||void 0===e?void 0:e.target.files[0];ha.includes(null===t||void 0===t?void 0:t.type)?(Ra.handleChange(e),ua(e.target.files[0])):(wt("Kindly upload document in JPG,JPEG,PNG format only"),Ra.setFieldValue("panfile",""))},invalid:!(!Ra.errors.panfile||$("#chkPAN").prop("checked")||""!=Ra.values.poifilePath||!Ra.touched.panfile||$("#chkPAN").prop("checked"))}),Ra.errors.panfile&&!$("#chkPAN").prop("checked")&&""==Ra.values.poifilePath&&Ra.touched.panfile&&!$("#chkPAN").prop("checked")?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.panfile}):null]}),Object(ft.jsx)(m.f,{lg:"4",style:{marginTop:"35px",fontSize:"medium",fontWeight:"bold"},children:Object(ft.jsx)("a",{id:"lnkPANDownload",href:"",target:"_blank",rel:"noreferrer",style:{visibility:"hidden"},children:Object(ft.jsx)("i",{className:"bx bx-show",style:{fontSize:"xx-large",marginTop:"-5px"}})})})]}),Object(ft.jsx)("br",{}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h5",{style:$a,children:"POI(Proof of Identity) & POA(Proof of Address) Form"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Proof of Identity"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"poi",id:"ddlPOI",onChange:Ra.handleChange,value:Ra.values.poi||"",invalid:!(!Ra.touched.poi||!Ra.errors.poi||0!=Ut.length),children:[Object(ft.jsx)("option",{value:"",children:"Proof Of Identity"}),Dt.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.poi},e.id)}))]}),Ra.touched.poi&&Ra.errors.poi&&0==Ut.length?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.poi}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"POI/POA"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"poipoa",id:"ddlPOIPOA",onChange:Ra.handleChange,value:Ra.values.poipoa||"",invalid:!(!Ra.touched.poipoa||!Ra.errors.poipoa||0!=Ut.length),children:[Object(ft.jsx)("option",{value:"",children:"Choose"}),Object(ft.jsx)("option",{value:"1",children:"POA"}),Object(ft.jsx)("option",{value:"2",children:"POI"}),Object(ft.jsx)("option",{value:"3",children:"POA & POI"})]}),Ra.touched.poipoa&&Ra.errors.poipoa&&0==Ut.length?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.poipoa}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"25px"},children:Object(ft.jsx)(m.b,{id:"btnAdd",style:Ua,onClick:function(){return function(){if(""==$("#ddlPOI option:selected").val())return wt("Please select Proof of Identity!"),void $("#ddlPOI").focus();if(""==$("#ddlPOIPOA option:selected").val())return wt("Please select POI/POA!"),void $("#ddlPOIPOA").focus();if(Ut.some((function(e){return e.SelectedProofofIdentity===$("#ddlPOI option:selected").text()})))wt($("#ddlPOI option:selected").text()+" is already exists!");else{var e=Kt&&vt?vt[Xt[$("#ddlPOI option:selected").text()]]:"",t={poiid:"",SelectedProofofIdentity:$("#ddlPOI option:selected").text(),EnterNumber:e||"",POIPOA:$("#ddlPOIPOA option:selected").text(),Expiry:"",Upload:"",poifilepath:"",poifilepathurl:"",Delete:""};Gt([].concat(Object(Ct.a)(Ut),[t]))}}()},children:"Add"})})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)(m.c,{children:Object(ft.jsx)(m.d,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.y,{className:"align-middle mb-0",id:"tbPOI",children:[Object(ft.jsx)("thead",{children:Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("th",{children:"POI"}),Object(ft.jsx)("th",{children:"Enter Number"}),Object(ft.jsx)("th",{children:"POI/POA"}),Object(ft.jsx)("th",{children:"Expiry"}),Object(ft.jsxs)("th",{children:["Upload ",Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"85%",fontWeight:"400"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"})]}),Object(ft.jsx)("th",{children:"Delete"})]})}),Object(ft.jsx)("tbody",{children:Object(ft.jsx)(bl,{rowsData:Ut,deletePoiRows:function(e){if(Ut.length>1){var t=Object(Ct.a)(Ut);t.splice(e,1),console.log("rows",t),Gt(t)}else 1==Ut.length&&wt("Atleast one POI/POA document is Compulsory!")},handleChange:function(e,t){var a=t.target,r=a.name,n=a.value,s=Object(Ct.a)(Ut);s[e][r]=n,Gt(s)},handleCheckChange:function(e,t){var a=t.target,r=a.name,n=a.checked,s=Object(Ct.a)(Ut);s[e][r]=n,Gt(s)},handleUploadChange:function(e,t){var a=t.target,r=a.name,n=(a.value,Object(Ct.a)(Ut));n[e][r]=t.target.files[0],Gt(n)},errorMessage:wt})})]})})})})})})]}),Object(ft.jsx)("br",{})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"btnBack",style:{marginLeft:"115px",backgroundColor:"rgb(154, 8, 79)",fontSize:"small",borderRadius:"0.5rem"},onClick:function(){be.push("/CreateNewAccount")},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"15px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){var e={personalchoose:Ra.values.personalchoose,firstname:void 0==Ra.errors.firstname?Ra.values.firstname:"",phoneno:Ra.values.phoneno,mobilenobelongsTo:Ra.values.mobilenobelongsTo,gender:Ra.values.gender,occupation:Ra.values.occupation,dob:Ra.values.dob,maritalstatus:Ra.values.maritalstatus,nationality:Ra.values.nationality,communicationaddress:Ra.values.communicationaddress,communicationstate:Ra.values.communicationstate,communicationcity:void 0==Ra.errors.communicationcity?Ra.values.communicationcity:"",communicationpincode:Ra.values.communicationpincode,permanentaddress:Ra.values.permanentaddress,permanentstate:Ra.values.permanentstate,permanentcity:void 0==Ra.errors.permanentcity?Ra.values.permanentcity:"",permanentpincode:Ra.values.permanentpincode,pan:Ra.values.pan,panfile:Ra.values.panfile,photofile:Ra.values.photofile};5===ht&&(delete e.panfile,delete e.photofile),console.log("formData => ",e,ht),qa([e])||Na(Ca)},children:"Save & Next"})]})]})]})}),Object(ft.jsx)(m.x,{tabId:2,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:Wa,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:$a,children:"Family details (only for First Holder)"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Father Title"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fatherchoose",id:"ddlfatherchoose",onChange:Ra.handleChange,value:Ra.values.fatherchoose||"",invalid:!(!Ra.touched.fatherchoose||!Ra.errors.fatherchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),Ra.touched.fatherchoose&&Ra.errors.fatherchoose?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.fatherchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Father Last Name"}),Object(ft.jsx)(m.p,{name:"fatherlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtFatherLastName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.fatherlastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Father First Name"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"fatherfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtFatherFirstName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.fatherfirstname||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.fatherfirstname||!Ra.errors.fatherfirstname),autocomplete:"off"}),Ra.touched.fatherfirstname&&Ra.errors.fatherfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.fatherfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Father Middle Name"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtFatherMiddleName",name:"fathermiddlename",placeholder:"Middle Name",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.fathermiddlename||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.fathermiddlename||!Ra.errors.fathermiddlename),autocomplete:"off"}),Ra.touched.fathermiddlename&&Ra.errors.fathermiddlename?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.fathermiddlename}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mother Title"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"motherchoose",id:"ddlmotherchoose",onChange:Ra.handleChange,value:Ra.values.motherchoose||"",invalid:!(!Ra.touched.motherchoose||!Ra.errors.motherchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),Ra.touched.motherchoose&&Ra.errors.motherchoose?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.motherchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mother Last Name"}),Object(ft.jsx)(m.p,{name:"motherlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtMotherLastName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.motherlastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mother First Name"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"motherfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtMotherFirstName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.motherfirstname||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.motherfirstname||!Ra.errors.motherfirstname),autocomplete:"off"}),Ra.touched.fatherfirstname&&Ra.errors.motherfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.motherfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mother Middle Name"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtMotherMiddleName",name:"mothermiddlename",placeholder:"Middle Name",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.mothermiddlename||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.mothermiddlename||!Ra.errors.mothermiddlename),autocomplete:"off"}),Ra.touched.mothermiddlename&&Ra.errors.mothermiddlename?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.mothermiddlename}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Spouse Title"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"maidenchoose",id:"ddlmaidenchoose",onChange:Ra.handleChange,value:Ra.values.maidenchoose||"",children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Spouse Last Name"}),Object(ft.jsx)(m.p,{name:"maidenlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtMaidenLastName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.maidenlastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Spouse First Name"}),Object(ft.jsx)(m.p,{name:"maidenfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtMaidenFirstName",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.maidenfirstname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Spouse Middle Name"}),Object(ft.jsx)(m.p,{type:"text",className:"form-control",id:"txtMaidenMiddleName",name:"maidenmiddlename",placeholder:"Middle Name",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.maidenmiddlename||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:Ua,className:-1===Ca?"previous disabled":"previous",onClick:function(){Da(Ca-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:Ua,type:"submit",onClick:function(){qa([{fatherchoose:Ra.values.fatherchoose,fatherfirstname:void 0==Ra.errors.fatherfirstname?Ra.values.fatherfirstname:"",fathermiddlename:void 0==Ra.errors.fathermiddlename?0==Ra.values.fathermiddlename.length?"fathermiddlename":Ra.values.fathermiddlename:"",motherchoose:Ra.values.motherchoose,motherfirstname:void 0==Ra.errors.motherfirstname?Ra.values.motherfirstname:"",mothermiddlename:void 0==Ra.errors.mothermiddlename?0==Ra.values.mothermiddlename.length?"mothermiddlename":Ra.
1values.mothermiddlename:""}])||Na(Ca)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:3,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:Wa,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:$a,children:"Detail of related person/Guardian (same as ID proof)"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Title"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"relatedpersonchoose",id:"ddlrelatedpersonchoose",onChange:Ra.handleChange,value:Ra.values.relatedpersonchoose||"",invalid:!(!Ra.touched.relatedpersonchoose||!Ra.errors.relatedpersonchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."})]}),Ra.touched.relatedpersonchoose&&Ra.errors.relatedpersonchoose?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Last Name"}),Object(ft.jsx)(m.p,{name:"relatedpersonlastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtrelatedpersonlastname",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.relatedpersonlastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"First Name"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonfirstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtrelatedpersonfirstname",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.relatedpersonfirstname||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.relatedpersonfirstname||!Ra.errors.relatedpersonfirstname),autocomplete:"off"}),Ra.touched.relatedpersonfirstname&&Ra.errors.relatedpersonfirstname?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonfirstname}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Middle Name"}),Object(ft.jsx)(m.p,{name:"relatedpersonmiddlename",placeholder:"Middle Name",type:"text",className:"form-control",id:"txtrelatedpersonmiddlename",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.relatedpersonmiddlename||"",style:{textTransform:"capitalize"},invalid:!(!Ra.touched.relatedpersonmiddlename||!Ra.errors.relatedpersonmiddlename),autocomplete:"off"}),Ra.touched.relatedpersonmiddlename&&Ra.errors.relatedpersonmiddlename?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonmiddlename}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Customer Relation"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"relatedpersonrelation",placeholder:"Customer Relation",type:"text",className:"form-control",id:"txtcustomerrelation",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.relatedpersonrelation||"",invalid:!(!Ra.touched.relatedpersonrelation||!Ra.errors.relatedpersonrelation),autocomplete:"off"}),Ra.touched.relatedpersonrelation&&Ra.errors.relatedpersonrelation?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonrelation}):null]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Related person type"}),Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"persontype",id:"rbguardian",value:"option1"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios",children:"Natural Guardian"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"persontype",id:"rbassignee",value:"option2"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios2",children:"Assignee"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"persontype",id:"rbauthorized",value:"option3"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios3",children:"Authorized representative"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"persontype",id:"rblegalguardian",value:"option4"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios3",children:"Legal Guardian"})]})})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"PAN"}),Object(ft.jsx)("span",{style:Ga,children:"*"}
1),Object(ft.jsx)(m.p,{name:"relatedpersonpan",placeholder:"PAN",type:"text",className:"form-control",id:"txtRelatedPan",maxLength:"10",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.relatedpersonpan||"",invalid:!(!Ra.touched.relatedpersonpan||!Ra.errors.relatedpersonpan),autocomplete:"off"}),Object(ft.jsx)("h10",{style:{color:"red",fontSize:"80%"},children:Ze}),Ra.touched.relatedpersonpan&&Ra.errors.relatedpersonpan?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonpan}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Aadhar"}),Object(ft.jsx)(m.p,{name:"relatedpersonaadhar",placeholder:"Aadhar",type:"text",className:"form-control",id:"txtRelatedAadhaar",maxLength:"12",onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.relatedpersonaadhar||"",autocomplete:"off"}),Ra.touched.relatedpersonaadhar&&Ra.errors.relatedpersonaadhar?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.relatedpersonaadhar}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Court Order Number"}),Object(ft.jsx)(m.p,{name:"relatedcourt",placeholder:"Court Order Number",type:"text",className:"form-control",id:"txtRelatedCourtOrder
1No",maxLength:"50",onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.relatedcourt||"",autocomplete:"off"})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:Ua,className:-1===Ca?"previous disabled":"previous",onClick:function(){Da(Ca-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:Ua,type:"submit",onClick:function(){qa([{relatedpersonchoose:Ra.values.relatedpersonchoose,relatedpersonfirstname:void 0==Ra.errors.relatedpersonfirstname?Ra.values.relatedpersonfirstname:"",relatedpersonmiddlename:void 0==Ra.errors.relatedpersonmiddlename?0==Ra.values.relatedpersonmiddlename.length?"relatedpersonmiddlename":Ra.values.relatedpersonmiddlename:"",relatedpersonrelation:void 0==Ra.errors.relatedpersonrelation?Ra.values.relatedpersonrelation:"",relatedpersonpan:Ra.values.relatedpersonpan}])||Na(Ca)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:4,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:Wa,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:$a,children:"Form no 60/61"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Transaction Particulars"}),Object(ft.jsx)(m.p,{name:"transactionparticulars",placeholder:"Transaction Particulars",type:"text",className:"form-control",id:"txttransactionparticulars",maxLength:"100",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.transactionparticulars||"",invalid:!!(Ra.errors&&Ra.errors.transactionparticulars&&Ra.touched&&Ra.touched.transactionparticulars),autocomplete:"off"}),Ra.errors&&Ra.errors.transactionparticulars&&Ra.touched&&Ra.touched.transactionparticulars?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.transactionparticulars}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Amount of Transactions"}),Object(ft.jsx)(m.p,{name:"transactionsamount",placeholder:"Amount of Transactions",type:"text",className:"form-control",id:"txttransactionsamount",maxLength:"15",onChange:function(e){Rt(e)},onBlur:Ra.handleBlur,value:Ra.values.transactionsamount||"",invalid:!!(Ra.errors&&Ra.errors.transactionsamount&&Ra.errors.transactionsamount&&Ra.touched&&Ra.touched.transactionsamount),autocomplete:"off"}),Ra.errors&&Ra.errors.transactionsamount&&Ra.touched&&Ra.touched.transactionsamount?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.transactionsamount}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Details of income Tax ward/circle/range"}),Object(ft.jsx)(m.p,{name:"detailsofincometax",placeholder:"Details Of Income Tax",type:"text",className:"form-control",id:"txtdetailsofincometax",maxLength:"50",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.detailsofincometax||"",invalid:!!(Ra.errors&&Ra.errors.detailsofincometax&&Ra.touched&&Ra.touched.detailsofincometax),autocomplete:"off"}),Ra.errors&&Ra.errors.detailsofincometax&&Ra.touched&&Ra.touched.detailsofincometax?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.detailsofincometax}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Reason for not having PAN"}),Object(ft.jsx)(m.p,{name:"reasonfornopan",placeholder:"Reason For No PAN",type:"text",className:"form-control",id:"txtreasonfornopan",maxLength:"200",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.reasonfornopan||"",invalid:!!(Ra.errors&&Ra.errors.reasonfornopan&&Ra.touched&&Ra.touched.reasonfornopan),autocomplete:"off"}),Ra.errors&&Ra.errors.reasonfornopan&&Ra.touched&&Ra.touched.reasonfornopan?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.reasonfornopan}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("h4",{style:Va,className:"font-size-14 mb-4",children:"Are you assessed to tax?"}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",i
1d:"rbaccessedtaxyes",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbaccessedtaxno",value:"option2"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:Ua,className:-1===Ca?"previous disabled":"previous",onClick:function(){Da(kt()>=18?Ca-2:Ca-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:Ua,type:"submit",onClick:function(){qa([{transactionparticulars:Ra.values.transactionparticulars,transactionsamount:Ra.values.transactionsamount,detailsofincometax:Ra.values.detailsofincometax,reasonfornopan:Ra.values.reasonfornopan}])||Na(Ca)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:5,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:Wa,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Expected origin of funds for credit."}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsforcredit",id:"ddlfundsforcredit",children:[Object(ft.jsx)("option",{value:"",children:"Funds for credit to Account"}),Object(ft.jsx)("option",{value:"1",children:"Local"}),Object(ft.jsx)("option",{value:"2",children:"Foreign Inward Remittances"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Expected Utilisation of funds by debit. "}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsbydebit",id:"ddlfundsbydebit",children:[Object(ft.jsx)("option",{value:"",children:"Funds by debit to Account"}),Object(ft.jsx)("option",{value:"0",children:"Remittances aboard"}),Object(ft.jsx)("option",{value:"1",children:"Local"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Any accounts with other banks"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"otherbankaccounts",id:"ddlotherbanksaccounts",children:[Object(ft.jsx)("option",{value:"",children:"Any Other Bank Accounts"}),St.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.otherBankAccount},e.id)}))]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Monthly Income"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"averageincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtaverageincome",maxLength:"15",onChange:function(e){var t=e.target.value;Rt(e),za(t)},value:Ra.values.averageincome||"",autocomplete:"off",invalid:!(!Ra.touched.averageincome||!Ra.errors.averageincome)}),Ra.touched.averageincome&&Ra.errors.averageincome?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.averageincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Annual Income"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{type:"select",className:"form-select",name:"annualincome",id:"ddlannualincome",onChange:Ra.handleChange,value:Ra.values.annualincome||"",invalid:!(!Ra.touched.annualincome||!Ra.errors.annualincome),children:yt.map((function(e){return Object(ft.jsx)("option",{value:e.value,children:e.label},e.value)}))}),Ra.touched.annualincome&&Ra.errors.annualincome?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.annualincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Annual activity/ A/c turnover"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"annualactivity",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtturnover",maxLength:"15",onChange:function(e){Rt(e)},value:Ra.values.annualactivity||"",autocomplete:"off",invalid:!(!Ra.touched.annualactivity||!Ra.errors.annualactivity)}),Ra.touched.annualactivity&&Ra.errors.annualactivity?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.annualactivity}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Education"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"education",id:"ddleducation",children:[Object(ft.jsx)("option",{value:"",children:"Education"}),Pt.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.education},e.id)}))]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Religion "}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"religion",id:"ddlreligion",value:Ra.values.religion||"",onChange:Ra.handleChange,invali
1d:!(!Ra.touched.religion||!Ra.errors.religion),children:[Object(ft.jsx)("option",{value:"",children:"Religion"}),Object(ft.jsx)("option",{value:"Hindu",children:"Hindu"}),Object(ft.jsx)("option",{value:"Muslim",children:"Muslim"}),Object(ft.jsx)("option",{value:"Buddhist",children:"Buddhist"}),Object(ft.jsx)("option",{value:"Sikh",children:"Sikh"}),Object(ft.jsx)("option",{value:"Jain",children:"Jain"}),Object(ft.jsx)("option",{value:"Christian",children:"Christian"})]}),Ra.touched.religion&&Ra.errors.religion?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.religion}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Caste"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"caste",id:"caste",value:Ra.values.caste||"",onChange:Ra.handleChange,invalid:!(!Ra.touched.caste||!Ra.errors.caste),children:[Object(ft.jsx)("option",{value:"",children:"Caste"}),Object(ft.jsx)("option",{value:"Open Category",children:"Open Category"}),Object(ft.jsx)("option",{value:"SC (Scheduled Castes)",children:"SC (Scheduled Castes)"}),Object(ft.jsx)("option",{value:"ST (Scheduled Tribes)",children:"ST (Scheduled Tribes)"}),Object(ft.jsx)("option",{value:"OBC",children:"OBC"})]}),Ra.touched.caste&&Ra.errors.caste?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.caste}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Occupation Details"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"occupationdetails",id:"ddloccupationdetails",value:Ra.values.occupationdetails||"",onChange:Ra.handleChange,onBlur:Ra.handleBlur,invalid:!(!Ra.touched.occupationdetails||!Ra.errors.occupationdetails),children:[Object(ft.jsx)("option",{value:"",children:"Occupation Details"}),Bt.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationName},e.id)}))]}),Ra.touched.occupationdetails&&Ra.errors.occupationdetails?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.occupationdetails}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Professional Details"}),Object(ft.jsx)(m.p,{name:"lineofnusiness",placeholder:"Professional Details",type:"text",className:"form-control",id:"txtlineofnusiness",maxLength:"100",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Name of the Employer/Firm/Institution"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"businessname",placeholder:"Name of the Employer/Firm/Institution",type:"text",className:"form-control",id:"txtbusinessname",maxLength:"100",autocomplete:"off",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.businessname||"",invalid:!(!Ra.touched.businessname||!Ra.errors.businessname)}),Ra.touched.businessname&&Ra.errors.businessname?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.businessname}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Date of starting Business"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{className:"form-control d-block flatpickr",placeholder:"Date of starting Business",id:"txtstartbusinessdate",options:{altInput:!0,dateFormat:"d-M-Y",maxDate:"today",disableMobile:"true"}})})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Office/ Business Address1"}),Object(ft.jsx)(m.p,{name:"bussinessaddress1",placeholder:"Address1",type:"text",className:"form-control",id:"txtbussinessaddress1",maxLength:"300",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Office/ Business Address2"}),Object(ft.jsx)(m.p,{name:"bussinessaddress2",placeholder:"Address2",type:"text",className:"form-control",id:"txtbussinessaddress2",maxLength:"300",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Office/ Business Address3"}),Object(ft.jsx)(m.p,{name:"bussinessaddress3",placeholder:"Address3",type:"text",className:"form-control",id:"txtbussinessaddress3",maxLength:"300",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Office Contact"}),Object(ft.jsx)(m.p,{name:"officecontact",placeholder:"Office Contact",type:"text",className:"form-control",id:"txtofficecontact",maxLength:"20",onChange:function(e){Rt(e)},value:Ra.values.officecontact||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Mobile No."}),Object(ft.jsxs)(m.q,{children:[Object(ft.jsx)("div",{className:"input-group-text",children:"+91"}),Object(ft.jsx)(m.p,{name:"officemobileno",placeholder:"Mobile No.",type:"text",className:"form-control",id:"txtofficemobileno",maxLength:"10",onChange:function(e){Rt(e)},value:Ra.values.officemobileno||"",autocomplete:"off"})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Expected average balance "}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"expectedincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtexpectedincome",maxLength:"15",onChange:function(e){Rt(e)},value:Ra.values.expectedincome||"",autocomplete:"off",invalid:!(!Ra.touched.expectedincome||!Ra.errors.expectedincome)}),Ra.touched.expectedincome&&Ra.errors.expectedincome?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.expectedincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Source of Income"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsx)(m.p,{name:"sourceofincome",placeholder:"Source of Income",type:"text",className:"form-control",id:"txtsourceofincome",autocomplete:"off",onChange:Ra.handleChange,onBlur:Ra.handleBlur,value:Ra.values.sourceofincome||"",invalid:!(!Ra.touched.sourceofincome||!Ra.errors.sourceofincome)}),Ra.touched.sourceofincome&&Ra.errors.sourceofincome?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.sourceofincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Source of Wealth"}),Object(ft.jsx)(m.p,{name:"sourceofhealth",placeholder:"Source of Wealth",type:"text",className:"form-control",id:"txtsourceofwealth",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Estimated Total value of Asset"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"estimatedvalue",id:"ddlestimatedvalue",children:[Object(ft.jsx)("option",{value:"",children:"Estimated Total value of Asset"}),Object(ft.jsx)("option",{value:"1",children:"Upto 100000"}),Object(ft.jsx)("option",{value:"2",children:"100001 to 500000"}),Object(ft.jsx)("option",{value:"3",children:"500001 to 1000000"}),Object(ft.jsx)("option",{value:"4",children:"1000001 to 2500000"}),Object(ft.jsx)("option",{value:"5",children:"Above 2500000"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:Va,children:"Reason to become Customer"}),Object(ft.jsx)("span",{style:Ga,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"customerreasonid",id:"ddlcustomerreasonid",onChange:Ra.handleChange,value:Ra.values.customerreasonid||"",invalid:!(!Ra.touched.customerreasonid||!Ra.errors.customerreasonid),children:[Object(ft.jsx)("option",{value:"",children:"Reason to become Customer"}),Ft.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.reason},e.id)}))]}),Ra.touched.customerreasonid&&Ra.errors.customerreasonid?Object(ft.jsx)(m.n,{type:"invalid",children:Ra.errors.customerreasonid}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"12",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("label",{style:Va,children:"Assets Details "})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkcommercialproperty"}
1),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Commercial Property"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkhouse"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","House"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkplot"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Plot"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkothers"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Others"]})]})})]}),Object(ft.jsx)("br",{})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("label",{style:Va,children:"As per forign account tax compliance act (FATCA)"})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"mt-4",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are tax residence of any country other than india"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceyes",value:"option1"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceno",value:"option2",defaultChecked:!0,onChange:Ka}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]}),Object(ft.jsx)("label",{style:{visibility:lt.taxNonIndia?"visible":"hidden",color:"black"},children:"Note - Please fill FATCA Declaration form separately"})]})})})})]}),Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("label",{children:" "})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"mt-4",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are born in any country other than India"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-2",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornyes",value:"option1"}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornno",value:"option2",defaultChecked:!0,onChange:Ka}),Object(ft.jsx)("label",{style:Va,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]}),Object(ft.jsx)("label",{style:{visibility:lt.bornNonIndia?"visible":"hidden",color:"black"},children:"Note - Please fill FATCA Declaration form separately"})]})})})})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("label",{style:Va,children:"Vehicle Type"})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("label",{style:Va,children:"Year of Purchase"})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chktwowheeler"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Two Wheeler"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"twowheeleryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txttwowheeleryear",maxLength:"4",onChange:function(e){Rt(e)},value:Ra.values.twowheeleryear||"",autocomplete:"off"})})})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkcar"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Car"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"caryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtcaryear",maxLength:"4",onChange:function(e){Rt(e)},value:Ra.values.caryear||"",autocomplete:"off"})})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkother"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Other"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"anyotheryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtotheryear",maxLength:"4",onChange:function(e){Rt(e)},value:Ra.values.anyotheryear||"",autocomplete:"off"})})})]}),Object(ft.jsx)("br",{})]})})}),Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("label",{style:Va,children:"Whether you are interested in (Optional)"})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkmutualfunds"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Mutual Funds"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkhealthinsurance"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Health Insurance"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkgeneralinsurance"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","General Insurance"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkdemat"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Demat"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmsby"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Suraksha Bima Yojana (PMSBY)"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmjjby"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY)"]})]})})]})]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:Va,children:"Vehicle maker"})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)(m.p,{name:"carmaker",placeholder:"Vehicle maker",type:"text",className:"form-control",id:"txtcarmaker",maxLength:"50",autocomplete:"off"})})]})})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:Ua,className:-1===Ca?"previous disabled":"previous",onClick:function(){var e=kt();1==$("#chkPAN").prop("checked")?Da(Ca-1):0==$("#chkPAN").prop("checked")&&Da(e<18?Ca-2:Ca-3)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:Ua,type:"submit",onClick:function(){qa([{annualactivity:Ra.values.annualactivity,averageincome:Ra.values.averageincome,expectedincome:Ra.values.expectedincome,annualincome:Ra.values.annualincome,customerreasonid:Ra.values.customerreasonid,caste:Ra.values.caste,religion:Ra.values.religion,occupationdetails:Ra.values.occupationdetails,businessname:Ra.values.businessname,sourceofincome:Ra.values.sourceofincome}])||Na(Ca)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:6,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:Wa,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),Ra.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{style:Va,children:"1. I hereby declare that the details furnished above are true and correct to the best of my knowledge and belief and I undertake to inform the Bank of any changes therein, immediately. In case any of the above information is found to be false, untrue, misleading, or misrepresenting, I am aware that I may be held liable for it."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"2. I hereby confirm that my latest photograph has been affixed above and I have submitted a self-attested photocopy KYC document in support of POI& POA The information provided by me in this Form, is true, correct, and complete. I also confirm that I am aware of the FATCA/ CRS Terms and Conditions and hereby accept the same."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"3. I certify that the Information provided by me in this Form, it's supporting Annexure as well as in the document any evidence provided by me are, to the best of my knowledge and belief true, correct, and complete and that I have not withheld any material information that may affect the assessment/categorization of the account as a Reportable account or otherwise."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"4. I permit/authorize the Bank to collect, store, communicate and process information relating to the account and all transaction therein, by the Bank and any of its affiliates wherever situated including sharing, transfer, and disclosure between them and to the authorities in and/or outside India of any confidential information for compliance with any law or regulation whether domestic or foreign at the time force."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"5. I also agree that my failure to disclose any material fact known to me, now or in future, may invali
1date my application, Bank would be within its rights to put restrictions in the operations of my/our account or dose it or report to any regulator and/or any authority designated by the Government of India (GOI)/RBI for the purpose or take any other action as may be deemed appropriate by the Bank if the deficiency is not remedied by me within the stipulated period."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"6. I hereby accept and acknowledge that the Bank shall have the right and authority to conduct investigations from the available in public domain for confirming the information provided by me to the Bank."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"7. Any change in my KYC information and documents accordingly, viz, Name/Address/Communication Details/ constitution/ Occupation/ Business/ Income source/ Annual Income-Turnover Range/ Transaction range/ etc., the same will be communicated to the Bank supporting with necessary documents, within 30 days from such change came into existence."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"8. It shall be my responsibility to educate myself and to comply at all the times with relevant laws relating to reporting under section 285BA of the Act read with the Rules there under."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"9. I also agree to finish such information and/or documents as the Bank may require from time to time on account of any change in law either in India or abroad in this subject matter herein."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"10. I shall indemnify the Bank for any loss that may arise to the Bank on account of providing incorrect or incomplete information."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"11. The details provided by me in the form are as per the notified Rules 114G to 114H of the Income Tax Act, 1962."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"12. I hereby authorize Janata Sahakari Bank Ltd., Pune to share my information including KYC details with Central KYC Registry (CKYCR)."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"13. I give my explicit consent and authorized Janata Sahakari Bank Ltd. Pune, to download my KYC records from Central KYC Records Registry (CKYCRR) for Updation and or verification purpose."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"14. Policy for Limiting Liability of Customers in unauthorized Electronic Banking transactions is available with the branch."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"15. I hereby authorize Janata Sahakari Bank Ltd., Pune to verify the documents provided by me (i. e. My document(s)) using any online or offline mode (for KYC/AML and other purpose)."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"16. I have read, understood, and hereby accept & agree to all the Terms & Conditions given for all the products & services that I have requested or provided to me."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"17. I have used my ATM Card regularly and hereby give my consent to Re-Carding the same after expiry of the card, please renew my debit card & debit the required charges to my account maintaining with you."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"18. I agree to abide to changes in any rules & regulation in banking and accordingly give my consent/undertaking/declaration concerned."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:Va,children:"19. I hereby declare that I am the individual who is NOT or have NOT been entrusted domestically with prominent public functions, for example, heads of state or of government, senior politicians, members of parliament, senior government, judicial or military officials, senior executives of state-owned corporations, important political party officials. Also, I have not any concern with any Politically Exposed Person/s."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"8",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkTerms"}),Object(ft.jsx)("label",{style:Va,children:Object(ft.jsx)("b",{children:" \xa0I agree to above terms and conditions. "})})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:Ua,className:-1===Ca?"previous disabled":"previous",onClick:function(){Da(Ca-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:Ua,type:"submit",onClick:function(){Na(Ca)},children:"Save"})]})]})]})})})]})})]})})})})})})]})},fl=a(4),vl=function(){return Object(ft.jsx)(ft.Fragment,{})};vl.propTypes={srcPath:a.n(fl).a.string};var gl=vl,yl=function(){var e=function(){var e=Object(v.a)(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,a){var r=new FileReader;
1r.readAsDataURL(t),r.onload=function(){return e(r.result)},r.onerror=function(e){return a(e)}}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=Object(l.useHistory)(),a=Object(xl.useLocation)(),s=Object(r.useState)([]),c=Object(u.a)(s,2),o=(c[0],c[1],Object(r.useState)("swing")),h=Object(u.a)(o,2),j=h[0],x=(h[1],Object(r.useState)("linear")),O=Object(u.a)(x,2),y=O[0],N=(O[1],Object(r.useState)("fadeIn")),A=Object(u.a)(N,2),k=A[0],C=(A[1],Object(r.useState)("fadeOut")),w=Object(u.a)(C,2),S=w[0],P=(w[1],Object(r.useState)(300)),T=Object(u.a)(P,2),I=T[0],E=(T[1],Object(r.useState)(1e3)),B=Object(u.a)(E,2),F=B[0],R=(B[1],Object(r.useState)(2e3)),L=Object(u.a)(R,2),M=L[0],q=(L[1],Object(r.useState)(1e3)),V=Object(u.a)(q,2),W=V[0],U=(V[1],Object(r.useState)(null)),G=Object(u.a)(U,2),Y=G[0],K=G[1],z=[{label:"Annual Income",value:""},{label:"Upto 100000",value:1},{label:"100001 to 500000",value:2},{label:"500001 to 1000000",value:3},{label:"1000001 to 2500000",value:4},{label:"Above 2500000",value:5}];function J(e){mt.a.options={positionClass:"toast-top-center",timeOut:M,extendedTimeOut:W,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:j,hideEasing:y,showMethod:k,hideMethod:S,showDuration:I,hideDuration:F},mt.a.error(e,"Error")}var Q=Object(i.d)((function(e){return{otherBankAccountsData:e.Registration.otherBankAccountsData}})).otherBankAccountsData,H=Object(i.d)((function(e){return{educationData:e.Registration.educationData}})).educationData,Z=(Object(i.d)((function(e){return{occupationDetailsData:e.Registration.occupationDetailsData}})).occupationDetailsData,Object(i.d)((function(e){return{assetDetailsData:e.Registration.assetDetailsData}})).assetDetailsData,Object(i.c)()),X=Object(i.d)((function(e){return{stateData:e.Registration.stateData}})).stateData,_=Object(i.d)((function(e){return{occupationData:e.Registration.occupationData}})).occupationData,ee=Object(i.d)((function(e){return{poiData:e.Registration.poiData}})).poiData,ae=Object(i.d)((function(e){return{reasonToBecomeCustomer:e.Registration.reasonToBecomeCustomer}})).reasonToBecomeCustomer;function re(e){var t=e.target.value;if(""==t)ct.handleChange(e);else if("undefined"!==typeof t){new RegExp(/^[0-9\b]+$/).test(t)&&ct.handleChange(e)}}var se=Object(r.useState)([]),ce=Object(u.a)(se,2),le=ce[0],ie=ce[1],de=n.a.useState(""),be=Object(u.a)(de,2),me=be[0],je=be[1],pe=n.a.useState(""),xe=Object(u.a)(pe,2),Oe=xe[0],fe=xe[1],ve=Object(r.useState)([]),ge=Object(u.a)(ve,2),ye=ge[0],Ne=ge[1],Ae=Object(r.useState)(""),ke=Object(u.a)(Ae,2),Ce=ke[0],we=ke[1],Se=Object(r.useState)(""),Pe=Object(u.a)(Se,2),Te=Pe[0],Ie=Pe[1],Ee=Object(r.useState)(!1),Be=Object(u.a)(Ee,2),De=Be[0],Fe=Be[1],Re=Object(r.useState)({taxNonIndia:!1,bornNonIndia:!1}),Le=Object(u.a)(Re,2),Me=Le[0],qe=Le[1];var $e=["image/png","image/jpeg","image/jpg"];JSON.parse(localStorage.getItem("authCustomer"));var Ve=[],We={POI:"",POINo:"",IsPOI:"",IsPOA:"",ExpiryDate:"",Base64POI:""},Ue={Title:"",FirstName:"",MiddleName:"",LastName:"",DOB:"",Gender:"",Nationality:"",Occupation:"",Mobile:"",Email:"",MartialStatus:"",LocalAddress1:"",LocalAddress2:"",LocalAddress3:"",LocalCity:"",LocalPin:"",LocalState:"",PermanentAddress1:"",PermanentAddress2:"",PermanentAddress3:"",PermanentCity:"",PermanentPin:"",PermanentState:"",PAN:"",Base64PAN:"",registrationHoldersPOI:Ve},Ge={RegistrationId:localStorage.getItem("registrationId"),objRegistrationHolders:Ue},Ye={RegistrationId:"",DeclarantDocuments:"",DeclarantTransactionParticulars:"",DeclarantAmountofTransaction:"",DeclarantAssessedTax:"",DetailsOfIncomeTax:"",ReasonForNoPan:""},Ke={RegistrationId:"",FundsExpectedOrigin:"",FundsUtilisationExpected:"",OtherBankAccounts:"",Turnover:"",AverageIncome:"",AverageBalance:"",Education:"",Religion:"",OccupationDetails:"",LineOfBusiness:"",BusinessName:"",BusinessStartDate:"",BusinessAddress1:"",BusinessAddress2:"",BusinessAddress3:"",BusinessTelNo:"",BusinessMobileNo:"",BusinessAnnualIncome:"",BusinessIncomeSource:"",BusinessWealthSource:"",BusinessEstimatedValue:"",BusinessAssetDetails:"",BornNonIndia:"",TaxResidenceNonIndia:"",BusinessVehicleType:"",BusinessCarPurchaseYear:"",BusinessCarMaker:"",InterestedIn:"",CustomerReasonId:""},ze=localStorage.getItem("registrationHoldersId");function Je(){var e={RegistrationId:localStorage.getItem("registrationId"),RegistrationHolderId:ze};Fe(!0),p.a.post(g+"/api/Registration/GetOtherHolderDetails",e,{headers:D()}).then((function(e){if(0!=e.data.length&&null!=e.data[0].declarantAssessedTax&&(1==e.data[0].declarantAssessedTax?($("#rbaccessedtaxyes").prop("checked",!0),$("#rbaccessedtaxno").prop("checked",!1)):0==e.data[0].declarantAssessedTax&&($("#rbaccessedtaxyes").prop("checked",!1),$("#rbaccessedtaxno").prop("checked",!0))),0!=e.data.length&&null!=e.data[0].isPAN&&(0==e.data[0].isPAN?($("#chkPAN").prop("checked",!0),$("#txtPancard").attr("disabled","disabled"),$("#Upload").attr("disabled","disabled"),$("#txtPancard").val("")):1==e.data[0].isPAN&&($("#chkPAN").prop("checked",!1),$("#txtPancard").removeAttr("disabled"),$("#Upload").removeAttr("disabled"))),0==e.data.length)return Ne(e.data),ot(e.data),void Fe(!1);e.data.length>0&&(""!=e.data[0].photoFilePath&&($("#lnkPhotoDownload").css("visibility","visible"),$("#lnkPhotoDownload").prop("href",te()+"/Photo/"+e.data[0].photoFilePath)),""!=e.data[0].panFilePath&&($("#lnkPANDownload").css("visibility","visible"),$("#lnkPANDownload").prop("href",te()+"/POIFiles/"+e.data[0].panFilePath)),function(e){null!=e&&(null==e.fundsExpectedOrigin||""==e.fundsExpectedOrigin?$("#ddlfundsforcredit option:selected").val(1):$("#ddlfundsforcredit option:selected").text(e.fundsExpectedOrigin),null==e.fundsUtilisationExpected||""==e.fundsUtilisationExpected?$("#ddlfundsbydebit option:selected").val(1):$("#ddlfundsbydebit option:selected").text(e.fundsUtilisationExpected),null==e.otherBankAccounts||""==e.otherBankAccounts?$("#ddlotherbanksaccounts option:selected").val(1):$("#ddlotherbanksaccounts option:selected").text(e.otherBankAccounts),$("#txtturnover").val(e.turnover),$("#txtaverageincome").val(e.averageIncome),$("#txtexpectedincome").val(e.averageBalance),null==e.education||""==e.education?$("#ddleducation option:selected").val(1):$("#ddleducation option:selected").text(e.education),$("#txtlineofnusiness").val(e.lineOfBusiness),$("#txtstartbusinessdate").val(e.businessStartDate),$("#txtbussinessaddress1").val(e.businessAddress1),$("#txtbussinessaddress2").val(e.businessAddress2),$("#txtbussinessaddress3").val(e.businessAddress3),$("#txtofficecontact").val(e.businessTelNo),$("#txtofficemobileno").val(e.businessMobileNo),$("#txtsourceofwealth").val(e.businessWealthSource),null==e.businessEstimatedValue||""==e.businessEstimatedValue?$("#ddlestimatedvalue option:selected").val(1):$("#ddlestimatedvalue option:selected").text(e.businessEstimatedValue),null!=e.businessAssetDetails&&e.businessAssetDetails.length>0&&(e.businessAssetDetails.includes("Commercial Property")?$("#chkcommercialproperty").prop("checked",!0):$("#chkcommercialproperty").prop("checked",!1),e.businessAssetDetails.includes("House")?$("#chk
1house").prop("checked",!0):$("#chkhouse").prop("checked",!1),e.businessAssetDetails.includes("Plot")?$("#chkplot").prop("checked",!0):$("#chkplot").prop("checked",!1),e.businessAssetDetails.includes("Others")?$("#chkothers").prop("checked",!0):$("#chkothers").prop("checked",!1)),null!=e.taxResidenceNonIndia&&(1==e.taxResidenceNonIndia?($("#rbtaxresidenceyes").prop("checked",!0),$("#rbtaxresidenceno").prop("checked",!1)):0==e.taxResidenceNonIndia&&($("#rbtaxresidenceyes").prop("checked",!1),$("#rbtaxresidenceno").prop("checked",!0))),null!=e.bornNonIndia&&(1==e.bornNonIndia?($("#rbbornyes").prop("checked",!0),$("#rbbornno").prop("checked",!1)):0==e.bornNonIndia&&($("#rbbornyes").prop("checked",!1),$("#rbbornno").prop("checked",!0))),null!=e.businessVehicleTwoWheeler&&e.businessVehicleTwoWheeler.length>0&&(e.businessVehicleTwoWheeler.includes("Two Wheeler")?($("#chktwowheeler").prop("checked",!0),$("#twowheeleryear").val(e.businessTwoWheelerPurchaseYear)):$("#chktwowheeler").prop("checked",!1)),null!=e.businessVehicleCar&&e.businessVehicleCar.length>0&&(e.businessVehicleCar.includes("Car")?($("#chkcar").prop("checked",!0),$("#txtcaryear").val(e.businessCarPurchaseYear)):$("#chkcar").prop("checked",!1)),null!=e.businessVehicleOther&&e.businessVehicleOther.length>0&&(e.businessVehicleOther.includes("Other")?($("#chkother").prop("checked",!0),$("#txtotheryear").val(e.businessOtherPurchaseYear)):$("#chkother").prop("checked",!1)),null!=e.interestedIn&&e.interestedIn.length>0&&(e.interestedIn.includes("Mutual Funds")?$("#chkmutualfunds").prop("checked",!0):$("#chkmutualfunds").prop("checked",!1),e.interestedIn.includes("Health Insurance")?$("#chkhealthinsurance").prop("checked",!0):$("#chkhealthinsurance").prop("checked",!1),e.interestedIn.includes("General Insurance")?$("#chkgeneralinsurance").prop("checked",!0):$("#chkgeneralinsurance").prop("checked",!1),e.interestedIn.includes("Demat")?$("#chkdemat").prop("checked",!0):$("#chkdemat").prop("checked",!1),e.interestedIn.includes("Pradhan Mantri Suraksha Bima Yojana (PMSBY)")?$("#chkpmsby").prop("checked",!0):$("#chkpmsby").prop("checked",!1),e.interestedIn.includes("Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY)")?$("#chkpmjjby").prop("checked",!0):$("#chkpmjjby").prop("checked",!1)),$("#txtcarmaker").val(e.businessCarMaker))}(e.data[0]),Ne(e.data[0]),ot(e.data),Fe(!1)),Fe(!1)}),(function(e){J(e.response),Fe(!1)}))}function Qe(t,a){""!=me&&""!=Oe?(Fe(!0),e(me).then((function(r){Ue.Base64Photo=r,e(Oe).then((function(e){Ue.Base64PAN=e,p.a.post(ne(),t,{headers:D()}).then((function(e){"OK"==e.data.responseCode?1==$("#chkPAN").prop("checked")?(st(a+1),Fe(!1)):0==$("#chkPAN").prop("checked")&&(st(a+2),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}))}))):""!=me&&""==Oe?(Fe(!0),Ue.Base64PAN="",e(me).then((function(e){Ue.Base64Photo=e,p.a.post(ne(),t,{headers:D()}).then((function(e){"OK"==e.data.responseCode?1==$("#chkPAN").prop("checked")?(st(a+1),Fe(!1)):0==$("#chkPAN").prop("checked")&&(st(a+2),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}))):""==me&&""!=Oe?(Fe(!0),Ue.Base64Photo="",e(Oe).then((function(e){Ue.Base64PAN=e,p.a.post(ne(),t,{headers:D()}).then((function(e){"OK"==e.data.responseCode?1==$("#chkPAN").prop("checked")?(st(a+1),Fe(!1)):0==$("#chkPAN").prop("checked")&&(st(a+2),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}))):""==me&&""==Oe&&(Fe(!0),Ue.Base64Photo="",Ue.Base64PAN="",p.a.post(ne(),t,{headers:D()}).then((function(e){"OK"==e.data.responseCode?1==$("#chkPAN").prop("checked")?(st(a+1),Fe(!1)):0==$("#chkPAN").prop("checked")&&(st(a+2),Fe(!1)):(J(e.data.responseMessage),Fe(!1))})))}function He(a){var r=new Date;if(1==a){if($("#txtPhoneno").val().length>0&&10!=$("#txtPhoneno").val().length)return $("#txtPhoneno").focus(),void J("Please enter 10 digit Mobile number!");if(""==$("#txtPancard").val().trim()&&0==$("#chkPAN").prop("checked"))return $("#txtPancard").focus(),void J("Please enter PAN No. or check Form60!");if(0==$("#chkPAN").prop("checked")?$("#navForm60").css("background-color","lightgrey"):$("#navForm60").css("background-color",""),0==$("#chkPAN").prop("checked")&&!function(e){if(e&&!1!==/^([A-Z]){5}([0-9]){4}([A-Z]){1}?$/.test(e))return Ie(""),!0;Ie("Enter valid PAN number!")}($("#txtPancard").val().trim()))return J("Please enter valid PAN Number!"),void $("#txtPancard").focus();var n=!1;if(0==le.length)return J("Please add atleast one POI/POA document!"),n=!1;if(le.map((function(e){return 0==e.EnterNumber.trim().length?(J("Please enter Document Number for "+e.SelectedProofofIdentity+"!"),n=!1):5!==Y&&0==e.Upload.length&&0==e.poifilepath.length?(J("Please uplaod document for "+e.SelectedProofofIdentity+"!"),n=!1):n=!0})),le.map((function(e){if(e.EnterNumber.trim().length>0){if("Passport"==e.SelectedProofofIdentity&&!function(e){var t=new RegExp("^[A-PR-WY][1-9]\\d\\s?\\d{4}[1-9]$");return!(!e||!1===t.test(e))}(e.EnterNumber))return J("Please enter valid Passport Number!"),n=!1;if("UID-Aadhaar No."==e.SelectedProofofIdentity&&!function(e){var t=new RegExp("^[2-9]{1}[0-9]{3}[0-9]{4}[0-9]{4}$");if(e&&!1!==t.test(e)){if(12!=e.length)return!1;var a={d:[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],p:[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],j:[0,4,3,2,1,5,6,7,8,9],check:function(e){var t=0;return e.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(e,r){t=a.d[t][a.p[r%8][parseInt(e,10)]]})),t},get:function(e){var t=0;return e.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(e,r){t=a.d[t][a.p[(r+1)%8][parseInt(e,10)]]})),a.j[t]}};return String.prototype.verhoeffCheck=function(){var e=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],t=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]];return function(){var a=0;return this.replace(/\D+/g,"").split("").reverse().join("").replace(/[\d]/g,(function(r,n){a=e[a][t[n%8][parseInt(r,10)]]})),0===a}}(),0===a.check(e)}return!1}(e.EnterNumber))return J("Please enter valid Aadhaar Number!"),n=!1;if("License"==e.SelectedProofofIdentity&&!function(e){var t=new RegExp("^(([A-Z]{2}[0-9]{2})( )|([A-Z]{2}-[0-9]{2}))((19|20)[0-9][0-9])[0-9]{7}$");return!(!e||!1===t.test(e))}(e.EnterNumber))return J("Please enter valid License Number!"),n=!1}})),void 0==le.find((function(e){return"POA & POI"==e.POIPOA}))){if(void 0==le.find((function(e){return"POI"==e.POIPOA})))return J("Please add POI document!"),n=!1;if(void 0==le.find((function(e){return"POA"==e.POIPOA})))return J("Please add POA document!"),n=!1}var s=function(){var e=new Date(ct.values.dob),t=new Date,a=t.getFullYear()-e.getFullYear();return t.getMonth()>e.getMonth()||t.getMonth()===e.getMonth()&&t.getDate()>=e.getDate()||a--,a}(),c="true";1==$("#chkPAN").prop("checked")&&(c="false"),n&&((Ue={}).Id=ze,Ue.Title=$("#ddlpersonalchoose").val(),Ue.FirstName=$("#txtFirstName").val().trim(),Ue.MiddleName=$("#txtMiddleName").val().trim(),Ue.LastName=$("#txtLastName").val().trim(),Ue.DOB=$("#txtdob").val(),Ue.Gender=$("#ddlgender").val(),Ue.Nationality=$("#ddlnationality").val(),Ue.Occupation=$("#ddloccupation").val().trim(),Ue.Mobile=$("#txtPhoneno").val().trim(),Ue.Email=$("#txtEmailID").val().trim(),Ue.MartialStatus=$("#ddlmaratialstatus").val(),Ue.LocalAddress1=$("#txtCommunicationAddress1").val().trim(),Ue.LocalAddress2=$("#txtCommunicationAddress2").val().trim(),Ue.LocalAddress3=$("#txtCommunicationAddress3").val().trim(),Ue.LocalCity=$("#txtCommunicationCity").val().trim(),Ue.LocalPin=$("#txtCommunicationPincode").val().trim(),Ue.LocalState=$("#ddlCommunicationState").val(),Ue.PermanentAddress1=$("#txtPermanentAddress1").val().trim(),Ue.PermanentAddress2=$("#txtPermanentAddress2").val().trim(),Ue.PermanentAddress3=$("#txtPermanentAddress3").val().trim(),Ue.PermanentCity=$("#txtPermanentCity").val().trim(),Ue.PermanentPin=$("#txtPermanentPincode").val().trim(),Ue.PermanentState=$("#ddlPermanentState").val(),Ue.PAN=$("#txtPancard").val(),Ue.IsMinor=s<18?"true":"false",Ue.isPAN=c,Ue.CustomerId=$("#txtCustomerID").val().trim(),Ue.CKYCNo=$("#txtCKYCNumber").val().trim(),Ue.mobileNoBelongsTo=ct.values.mobilenobelongsTo,le.map((function(t){""!=t.Upload?e(t.Upload).then((function(e){(We={}).POIId=t.poiid,We.Base64POI=e,We.POI=t.SelectedProofofIdentity,We.POINo=t.EnterNumber,We.POIPOA=t.POIPOA,We.ExpiryDate=t.Expiry,Ve.push(We),Ve.length==le.length&&(Ue.registrationHoldersPOI=Ve,Ge.objRegistrationHolders=Ue,Qe(Ge,a))})):((We={}).POIId=t.poiid,We.Base64POI="",We.POI=t.SelectedProofofIdentity,We.POINo=t.EnterNumber,We.POIPOA=t.POIPOA,We.ExpiryDate=t.Expiry,Ve.push(We),Ve.length==le.length&&(Ue.registrationHoldersPOI=Ve,Ge.objRegistrationHolders=Ue,Qe(Ge,a)))})))}else if(2==a){var o=!1;$("#rbaccessedtaxyes").prop("checked")?o=!0:$("#rbaccessedtaxno").prop("checked")&&(o=!1),Ye.RegistrationId=localStorage.getItem("registrationId"),Ye.RegistrationHolderId=ze,Ye.DeclarantDocuments="",Ye.DeclarantTransactionParticulars=$("#txttransactionparticulars").val().trim(),Ye.DeclarantAmountofTransaction=$("#txttransactionsamount").val().trim(),Ye.DeclarantAssessedTax=o,Ye.DetailsOfIncomeTax=$("#txtdetailsofincometax").val().trim(),Ye.ReasonForNoPan=$("#txtreasonfornopan").val().trim(),Fe(!0),p.a.post(ue(),Ye,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(st(a+1),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}else if(3==a){var l;
1if("Businessman"==$("#ddloccupationdetails :selected").text()){if(""==$("#txtlineofnusiness").val().trim())return $("#txtlineofnusiness").focus(),void J("Line of Business is required!");if(""==$("#txtbusinessname").val().trim())return $("#txtbusinessname").focus(),void J("Business Name is required!");if(""==$("#txtstartbusinessdate").val().trim())return $("#txtstartbusinessdate").focus(),void J("Date of starting business is required!");if(""==$("#txtbussinessaddress1").val().trim())return $("#txtbussinessaddress1").focus(),void J("Address1 required!");if(""==$("#txtbussinessaddress2").val().trim())return $("#txtbussinessaddress2").focus(),void J("Address2 required!")}if($("#chktwowheeler").prop("checked")){if(""==$("#txttwowheeleryear").val().trim())return $("#txttwowheeleryear").focus(),void J("Two Wheeler year is required!");if(parseInt($("#txttwowheeleryear").val().trim())>r.getFullYear())return $("#txttwowheeleryear").focus(),void J("Two Wheeler year should be valid!")}if($("#chkcar").prop("checked")){if(""==$("#txtcaryear").val().trim())return $("#txtcaryear").focus(),void J("Car year is required!");if(parseInt($("#txtcaryear").val().trim())>r.getFullYear())return $("#txtcaryear").focus(),void J("Car year should be valid!")}if($("#chkother").prop("checked")){if(""==$("#txtotheryear").val().trim())return $("#txtotheryear").focus(),void J("Other year is required!");if(parseInt($("#txtotheryear").val().trim())>r.getFullYear())return $("#txtotheryear").focus(),void J("Other year should be valid!")}var i="",d="",u="",h="",b="",m="",j="",x="",O="",f="";$("#rbbornyes").prop("checked")?i="true":$("#rbbornno").prop("checked")&&(i="false"),$("#rbtaxresidenceyes").prop("checked")?d="true":$("#rbtaxresidenceno").prop("checked")&&(d="false"),$("#chktwowheeler").prop("checked")&&(u="Two Wheeler",m=$("#txttwowheeleryear").val()),$("#chkcar").prop("checked")&&(h="Car",j=$("#txtcaryear").val()),$("#chkother").prop("checked")&&(b="Other",x=$("#txtotheryear").val()),$("#chkcommercialproperty").prop("checked")&&(f+="Commercial Property, "),$("#chkhouse").prop("checked")&&(f+="House, "),$("#chkplot").prop("checked")&&(f+="Plot, "),$("#chkothers").prop("checked")&&(f+="Others, "),$("#chktwowheeler").prop("checked")&&(u="Two Wheeler"),$("#chkcar").prop("checked")&&(h="Car"),$("#chkother").prop("checked")&&(b="Other"),$("#chkmutualfunds").prop("checked")&&(O+="Mutual Funds, "),$("#chkhealthinsurance").prop("checked")&&(O+="Health Insurance, "),$("#chkgeneralinsurance").prop("checked")&&(O+="General Insurance, "),$("#chkdemat").prop("checked")&&(O+="Demat, "),$("#chkpmsby").prop("checked")&&(O+="Pradhan Mantri Suraksha Bima Yojana (PMSBY), "),$("#chkpmjjby").prop("checked")&&(O+="Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY), "),Ke.RegistrationId=localStorage.getItem("registrationId"),Ke.RegistrationHolderId=ze,Ke.FundsExpectedOrigin=$("#ddlfundsforcredit :selected").text(),Ke.FundsUtilisationExpected=$("#ddlfundsbydebit :selected").text(),Ke.OtherBankAccounts=$("#ddlotherbanksaccounts :selected").text(),Ke.Turnover=$("#txtturnover").val().trim(),Ke.AverageIncome=$("#txtaverageincome").val().trim(),Ke.AverageBalance=$("#txtexpectedincome").val().trim(),Ke.Education=$("#ddleducation :selected").text(),Ke.Religion=$("#ddlreligion :selected").text(),Ke.OccupationDetails=$("#ddloccupationdetails :selected").text(),Ke.LineOfBusiness=$("#txtlineofnusiness").val().trim(),Ke.BusinessName=$("#txtbusinessname").val().trim(),Ke.BusinessStartDate=$("#txtstartbusinessdate").val(),Ke.BusinessAddress1=$("#txtbussinessaddress1").val().trim(),Ke.BusinessAddress2=$("#txtbussinessaddress2").val().trim(),Ke.BusinessAddress3=$("#txtbussinessaddress3").val().trim(),Ke.BusinessTelNo=$("#txtofficecontact").val().trim(),Ke.BusinessMobileNo=$("#txtofficemobileno").val().trim(),Ke.BusinessAnnualIncome=$("#ddlannualincome :selected").text(),Ke.BusinessIncomeSource=$("#txtsourceofincome").val().trim(),Ke.BusinessWealthSource=$("#txtsourceofwealth").val().trim(),Ke.BusinessEstimatedValue=$("#ddlestimatedvalue :selected").text(),Ke.BusinessAssetDetails=f,Ke.BornNonIndia=i,Ke.TaxResidenceNonIndia=d,Ke.BusinessVehicleTwoWheeler=u,Ke.BusinessVehicleCar=h,Ke.BusinessVehicleOther=b,Ke.BusinessTwoWheelerPurchaseYear=m,Ke.BusinessCarPurchaseYear=j,Ke.BusinessOtherPurchaseYear=x,Ke.BusinessCarMaker=$("#txtcarmaker").val().trim(),Ke.InterestedIn=O,Ke.caste=$("#caste :selected").text(),Ke.CustomerReasonId=null===(l=ct.values.customerreasonid)||void 0===l?void 0:l.toString(),Fe(!0),p.a.post(oe(),Ke,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(st(a+1),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}else if(4==a)if(1==$("#chkTerms").prop("checked")){var v={RegistrationId:localStorage.getItem("registrationId"),RegistrationHolderId:ze};Fe(!0),p.a.post(he(),v,{headers:D()}).then((function(e){"OK"==e.data.responseCode?(t.push("/CreateNewAccount"),Fe(!1)):(J(e.data.responseMessage),Fe(!1))}))}else J("Please select Terms & conditions"),$("#chkTerms").focus()}Object(r.useEffect)((function(){!0===De?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[De]),Object(r.useEffect)((function(){Z(Uo()),Z(vo()),Z(yo()),Z(Vo()),Z(Co()),Z(So()),Z(To()),Z(Eo()),Je()}),[Z]);var Ze=Object(r.useState)(1),Xe=Object(u.a)(Ze,2),_e=Xe[0],et=Xe[1],tt=Object(r.useState)([1]),at=Object(u.a)(tt,2),rt=at[0],nt=at[1];function st(e){if(_e!==e){var t=!1,a=[].concat(Object(Ct.a)(rt),[e]);
1if(1==$("#chkPAN").prop("checked")&&(t=!0),!t){var r=[].concat(Object(Ct.a)(rt),[e]).filter((function(e){return 2!==e}));a=Object(Ct.a)(r)}e>=1&&e<=4&&(et(e),nt(a))}}var ct=Object(pt.a)({enableReinitialize:!0,initialValues:{personalchoose:null==ye.title?"":ye.title,firstname:null==ye.firstName?"":ye.firstName,middlename:null==ye.middleName?"":ye.middleName,lastname:null==ye.lastName?"":ye.lastName,phoneno:null==ye.mobile?"":ye.mobile,mobilenobelongsTo:null==ye.mobileNoBelongsTo?"":ye.mobileNoBelongsTo,email:null==ye.email?"":ye.email,gender:null==ye.gender?"":ye.gender,occupation:null==ye.occupation?"":ye.occupation,dob:null==ye.dob?"":ye.dob,maritalstatus:0==ye.length||null==ye.dob?"2":ye.maritalStatus,nationality:0==ye.length||null==ye.dob?"1":ye.nationality,communicationaddress:null==ye.localAddress1?"":ye.localAddress1,communicationaddress2:null==ye.localAddress2?"":ye.localAddress2,communicationaddress3:null==ye.localAddress3?"":ye.localAddress3,communicationstate:null==ye.localState?"":ye.localState,communicationcity:null==ye.localCity?"":ye.localCity,communicationpincode:null==ye.localPin?"":ye.localPin,permanentaddress:null==ye.permanentAddress1?"":ye.permanentAddress1,permanentaddress2:null==ye.permanentAddress2?"":ye.permanentAddress2,permanentaddress3:null==ye.permanentAddress3?"":ye.permanentAddress3,permanentstate:null==ye.permanentState?"":ye.permanentState,permanentcity:null==ye.permanentCity?"":ye.permanentCity,permanentpincode:null==ye.permanentPin?"":ye.permanentPin,poi:"",poipoa:"",pan:null==ye.pan?"":ye.pan,panfile:"",poifilePath:null==ye.poiFilePath?"":ye.poiFilePath,customerid:null==ye.customerId?"":ye.customerId,ckycno:null==ye.ckycNo?"":ye.ckycNo,photofile:"",photofilepath:null==ye.photoFilePath?"":ye.photoFilePath,fatherchoose:null==ye.fatherTitle?"":ye.fatherTitle,fatherlastname:null==ye.fatherLastName?"":ye.fatherLastName,fatherfirstname:null==ye.fatherFirstName?"":ye.fatherFirstName,fathermiddlelame:null==ye.fatherMiddleName?"":ye.fatherMiddleName,motherchoose:null==ye.motherTitle?"":ye.motherTitle,motherlastname:null==ye.motherLastName?"":ye.motherLastName,motherfirstname:null==ye.motherFirstName?"":ye.motherFirstName,mothermiddlename:null==ye.motherMiddleName?"":ye.motherMiddleName,maidenchoose:null==ye.maidenTitle?"":ye.maidenTitle,maidenlastname:null==ye.maidenLastName?"":ye.maidenLastName,maidenfirstname:null==ye.maidenFirstName?"":ye.maidenFirstName,maidenmiddlename:null==ye.maidenMiddleName?"":ye.maidenMiddleName,relatedpersonchoose:null==ye.relatedPersonTitle?"":ye.relatedPersonTitle,relatedpersonlastname:null==ye.relatedPeronLastName?"":ye.relatedPeronLastName,relatedpersonfirstname:null==ye.relatedPeronFirstName?"":ye.relatedPeronFirstName,relatedpersonmiddlename:null==ye.relatedPeronMiddleName?"":ye.relatedPeronMiddleName,relatedpersonrelation:null==ye.relatedPersonCustomerRelation?"":ye.relatedPersonCustomerRelation,relatedpersonpan:null==ye.relatedPersonPANNo?"":ye.relatedPersonPANNo,relatedpersonaadhar:null==ye.relatedPersonAadhaarNo?"":ye.relatedPersonAadhaarNo,relatedcourt:null==ye.relatedPersonCourtOrder
1No?"":ye.relatedPersonCourtOrderNo,transactionparticulars:null==ye.declarantTransactionParticulars?"":ye.declarantTransactionParticulars,transactionsamount:null==ye.declarantAmountofTransaction?"":ye.declarantAmountofTransaction,detailsofincometax:null==ye.detailsOfIncomeTax?"":ye.detailsOfIncomeTax,reasonfornopan:null==ye.reasonForNoPan?"":ye.reasonForNoPan,annualactivity:null==ye.turnover?"":ye.turnover,averageincome:null==ye.averageIncome?"":ye.averageIncome,expectedincome:null==ye.averageBalance?"":ye.averageBalance,officecontact:null==ye.businessTelNo?"":ye.businessTelNo,officemobileno:null==ye.businessMobileNo?"":ye.businessMobileNo,twowheeleryear:"Two Wheeler"==ye.businessVehicleTwoWheeler?null==ye.businessTwoWheelerPurchaseYear?"":ye.businessTwoWheelerPurchaseYear:"",caryear:"Car"==ye.businessVehicleCar?null==ye.businessCarPurchaseYear?"":ye.businessCarPurchaseYear:"",anyotheryear:"Other"==ye.businessVehicleOther?null==ye.businessOtherPurchaseYear?"":ye.businessOtherPurchaseYear:"",annualincome:null==ye.businessAnnualIncome?"":z.filter((function(e){return e.label===ye.businessAnnualIncome}))[0].value,customerreasonid:null==ye.reason?"":null===ae||void 0===ae?void 0:ae.filter((function(e){return e.reason===ye.reason}))[0].id,occupationdetails:"",caste:null==ye.caste?"":ye.caste,religion:null==ye.religion?"":ye.religion,businessname:null==ye.businessName?"":ye.businessName,sourceofincome:null==ye.businessIncomeSource?"":ye.businessIncomeSource},validationSchema:jt.c({personalchoose:jt.d().required("Title required"),firstname:jt.d().required("First Name required").matches(/^[A-Za-z ]+$/,"Enter character only!"),middlename:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),lastname:jt.d().matches(/^[A-Za-z ]+$/,"Enter character only!"),phoneno:jt.d().required("Phone No. required"),mobilenobelongsTo:jt.d().required("Mobile No. belongs to required"),gender:jt.d().required("Gender required"),dob:jt.d().required("Date of Birth required"),maritalstatus:jt.d().required("Maratial Status required"),nationality:jt.d().required("Nationality required"),occupation:jt.d().required("Occupation required"),communicationaddress:jt.d().required("Address 1 required"),communicationstate:jt.d().required("State required"),communicationcity:jt.d().required("City required").matches(/^[A-Za-z ]+$/,"Enter character only!"),communicationpincode:jt.b().required("Pincode required"),permanentaddress:jt.d().required("Address 1 required"),permanentstate:jt.d().required("State required"),permanentcity:jt.d().required("City required").matches(/^[A-Za-z ]+$/,"Enter character only!"),permanentpincode:jt.b().required("Pincode required"),poi:jt.d().required("POI required"),poipoa:jt.d().required("POI/POA required"),pan:jt.d().required("PAN No. required"),panfile:Y&&5===Y?jt.d():jt.d().required("PAN document required"),photofile:Y&&5===Y?jt.d():jt.d().required("Photo required"),transactionparticulars:jt.d().required("Transaction Particulars required"),transactionsamount:jt.d().required("Amount of Transactions required"),detailsofincometax:jt.d().required("Details of income required"),reasonfornopan:jt.d().required("Reason for not having PAN required"),annualactivity:jt.d().required("Annual activity/ A/c turnover required"),averageincome:jt.d().required("Average income required"),expectedincome:jt.d().required("Expected average balance required"),annualincome:jt.d().required("Annual income required"),officemobileno:jt.d(),customerreasonid:jt.d().required("Reason required"),occupationdetails:jt.d().required("Occupation details required"),caste:jt.d().required("Case required"),religion:jt.d().required("Religion required"),businessname:jt.d().required("Name of the employer/firm/institution required"),sourceofincome:jt.d().required("Source of income required")}),onSubmit:function(e){}});function ot(e){var t=[];e.length>0&&null!=e[0].poi&&(e.map((function(e){var a={poiid:e.poiId.toString(),SelectedProofofIdentity:e.poi,EnterNumber:e.poiNo,POIPOA:e.poipoa,Expiry:null==e.expiryDate?"":e.expiryDate,Upload:"",poifilepath:e.poiFilePath,poifilepathurl:te()+"/POIFiles/"+e.poiFilePath,Delete:""};t.push(a)})),ie(t))}Object(r.useEffect)((function(){if((null===_||void 0===_?void 0:_.length)&&(null===ye||void 0===ye?void 0:ye.occupationDetail
1s)){var e=_.find((function(e){return e.occupationName===ye.occupationDetails}));(null===e||void 0===e?void 0:e.id)&&ct.setFieldValue("occupationdetails",String(e.id))}}),[_,ye]),Object(r.useEffect)((function(){if(Object.keys(a)&&(null===a||void 0===a?void 0:a.state)){var e=(null===a||void 0===a?void 0:a.state).accountType;K(e||null)}}),[a]);function lt(e){var t=Object.keys(e[0]).map((function(t){return(""===e[0][t]||void 0===e[0][t])&&(!("pan"==t&&""==e[0][t]&&$("#chkPAN").prop("checked")||"panfile"==t&&""==e[0][t]&&$("#chkPAN").prop("checked"))&&(!("panfile"==t&&""!=ct.values.poifilePath&&!$("#chkPAN").prop("checked"))&&(("photofile"!=t||""==ct.values.photofilepath)&&("panfile"==t&&""==ct.values.poifilePath&&!$("#chkPAN").prop("checked")||("photofile"==t&&""==ct.values.photofilepath||"email"!=t)))))})).includes(!0);return 1===_e&&t&&function(){if(ct.submitCount>0&&Object.keys(ct.errors).length>0){var e=Object.keys(ct.errors)[0],t=document.querySelector('[name="'.concat(e,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"center"})}}(),3===_e&&t&&function(){if(ct.submitCount>0&&Object.keys(ct.errors).length>0){var e=["annualactivity","averageincome","expectedincome","officemobileno","annualincome","customerreasonid"].find((function(e){return ct.errors[e]}));if(e){var t=document.querySelector('[name="'.concat(e,'"]'));t&&t.scrollIntoView({behavior:"smooth",block:"center"})}}}(),t}var it={color:"#9a084f",fontWeight:"bold"},dt={color:"black"},ut={borderRadius:8,flex:1,padding:"15px"},ht={marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},bt={color:"red",fontWeight:"bold"},xt=function(e){var t=null===e||void 0===e?void 0:e.target,a=t.name,r="self"===a?"Self":"familymembers"===a?"Family Members":"Others";if(t.checked){var n=Object(d.a)(Object(d.a)({},e),{},{target:Object(d.a)(Object(d.a)({},e.target),{},{name:"mobilenobelongsTo",value:r})});ct.handleChange(n)}},Ot=function(){var e={taxNonIndia:!!$("#rbtaxresidenceyes").prop("checked"),bornNonIndia:!!$("#rbbornyes").prop("checked")};qe(e)};return Object(r.useEffect)((function(){return $("#rbtaxresidenceyes, #rbbornyes").on("change",Ot),setTimeout((function(){Ot()}),200),function(){$("#rbtaxresidenceyes, #rbbornyes").off("change",Ot)}}),[]),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Other Holder"})}),Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{style:{width:"100%"},children:Object(ft.jsx)(m.d,{children:Object(ft.jsxs)("div",{className:"wizard clearfix",children:[Object(ft.jsx)("div",{className:"steps clearfix",style:{marginTop:"-15px"},children:Object(ft.jsxs)("ul",{children:[Object(ft.jsx)(m.t,{className:Lt()({current:1===_e}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:1===_e}),onClick:function(){st(1)},disabled:!(rt||[]).includes(1),children:[Object(ft.jsx)("span",{className:"number",children:"1"})," Personal Details"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:2===_e}),children:Object(ft.jsxs)(m.u,{id:"navForm60",className:Lt()({active:2===_e}),onClick:function(){st(2)},disabled:!(rt||[]).includes(2),children:[Object(ft.jsx)("span",{className:"number",children:"2"})," ",Object(ft.jsx)("span",{children:"Form no 60/61"})]})}),Object(ft.jsx)(m.t,{className:Lt()({current:3===_e}),children:Object(ft.jsxs)(m.u,{className:(Lt()({active:3===_e}),"done"),onClick:function(){st(3)},disabled:!(rt||[]).includes(3),children:[Object(ft.jsx)("span",{className:"number",children:"3"})," Additional Details"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:4===_e}),children:Object(ft.jsxs)(m.u,{className:(Lt()({active:4===_e}),"done"),onClick:function(){st(4)},disabled:!(rt||[]).includes(4),children:[Object(ft.jsx)("span",{className:"number",children:"4"}),"Declaration"]})})]})}),Object(ft.jsx)("div",{className:"content clearfix",style:{marginTop:"-20px",width:"100%"},children:Object(ft.jsxs)(m.w,{activeTab:_e,className:"body",children:[Object(ft.jsx)(m.x,{tabId:1,children:Object(ft.jsxs)(m.m,{style:ut,className:"registration needs-validation",encType:"multipart/form-data",onSubmit:function(e){return e.preventDefault(),ct.handleSubmit(),!1},children:[Object(ft.jsxs)(m.m,{className:"needs-validation",style:{width:"100%"},encType:"multipart/form-data",children:[Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Customer ID"}),Object(ft.jsx)(m.p,{name:"customerid",placeholder:"Customer ID",type:"text",className:"form-control",id:"txtCustomerID",maxLength:"20",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.customerid||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"CKYC Number"}),Object(ft.jsx)(m.p,{name:"ckycno",placeholder:"CKYC Number",type:"text",className:"form-control",id:"txtCKYCNumber",maxLength:"20",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.ckycno||"",autocomplete:"off"})]})}),Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:dt,children:"Upload Photo"}
1),5!==Y&&Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"80%"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"}),Object(ft.jsx)(m.p,{multiple:"",id:"UploadPhoto",name:"photofile",type:"file",accept:".jpg,.jpeg,.png",value:ct.values.photofile||"",onChange:function(e){var t=null===e||void 0===e?void 0:e.target.files[0];$e.includes(null===t||void 0===t?void 0:t.type)?(ct.handleChange(e),je(e.target.files[0])):(J("Kindly upload document in JPG,JPEG,PNG format only"),ct.setFieldValue("photofile",""))},invalid:!(!ct.touched.photofile||!ct.errors.photofile||""!=ct.values.photofilepath)}),ct.touched.photofile&&ct.errors.photofile&&""==ct.values.photofilepath?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.photofile}):null]}),Object(ft.jsx)(m.f,{lg:"2",style:{marginTop:"35px",fontSize:"medium",fontWeight:"bold"},children:Object(ft.jsx)("a",{id:"lnkPhotoDownload",href:"",target:"_blank",rel:"noreferrer",style:{visibility:"hidden"},onClick:function(){},children:Object(ft.jsx)("i",{className:"bx bx-show",style:{fontSize:"xx-large",marginTop:"-5px"}})})})]})}),Object(ft.jsxs)("div",{style:{borderColor:"black",padding:"10px"},children:[Object(ft.jsx)(m.r,{children:Object(ft.jsx)("h5",{style:it,children:"Personal details"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Title"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"personalchoose",id:"ddlpersonalchoose",onChange:ct.handleChange,value:ct.values.personalchoose||"",invalid:!(!ct.touched.personalchoose||!ct.errors.personalchoose),children:[Object(ft.jsx)("option",{value:"",children:"Title"}),Object(ft.jsx)("option",{value:"1",children:"Mr."}),Object(ft.jsx)("option",{value:"2",children:"Mrs."}),Object(ft.jsx)("option",{value:"3",children:"Miss."}),Object(ft.jsx)("option",{value:"4",children:"Smt."}),Object(ft.jsx)("option",{value:"5",children:"Ms."}),Object(ft.jsx)("option",{value:"6",children:"Master"})]}),ct.touched.personalchoose&&ct.errors.personalchoose?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.personalchoose}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Last Name"}),Object(ft.jsx)(m.p,{name:"lastname",placeholder:"Last Name",type:"text",className:"form-control",id:"txtLastName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.lastname||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"First Name"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"firstname",placeholder:"First Name",type:"text",className:"form-control",id:"txtFirstName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.firstname||"",style:{textTransform:"capitalize"},invalid:!(!ct.touched.firstname||!ct.errors.firstname),autocomplete:"off"}),ct.touched.firstname&&ct.errors.firstname?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.firstname}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Middle Name"}),Object(ft.jsx)(m.p,{name:"middlename",placeholder:"Middle Name",type:"text",className:"form-control",id:"txtMiddleName",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.middlename||"",style:{textTransform:"capitalize"},autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Gender"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"gender",className:"form-select",id:"ddlgender",onChange:ct.handleChange,value:ct.values.gender||"",invalid:!(!ct.touched.gender||!ct.errors.gender),children:[Object(ft.jsx)("option",{value:"",children:"Gender"}),Object(ft.jsx)("option",{value:"1",children:"Male"}),Object(ft.jsx)("option",{value:"2",children:"Female"}),Object(ft.jsx)("option",{value:"3",children:"Transgender"})]}),ct.touched.gender&&ct.errors.gender?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.gender}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Birth Date"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)("div",{className:ct.touched.dob&&ct.errors.dob?"flatpickr-error-style":"flatpickr",children:Object(ft.jsx)(It.a,{id:"txtdob",name:"dob",placeholder:"Birth Date",className:"form-control flatpickr ".concat(ct.touched.dob&&ct.errors.dob?"is-invalid":""),onBlur:ct.handleBlur,onChange:function(e,t){Object(u.a)(e,1)[0];ct.setFieldValue("dob",t)},options:{dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"},value:ct.values.dob||""})}),Object(ft.jsx)("div",{children:ct.touched.dob&&ct.errors.dob?Object(ft.jsx)("span",{style:{fontSize:"11px"},className:"text-danger",children:ct.errors.dob}):null})]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Marital Status"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",name:"maritalstatus",defaultValue:2,className:"form-select",id:"ddlmaratialstatus",onChange:ct.handleChange,value:ct.values.maritalstatus||"",invalid:!(!ct.touched.maritalstatus||!ct.errors.maritalstatus),children:[Object(ft.jsx)("option",{value:"",children:"Marital status"}),Object(ft.jsx)("option",{value:"1",children:"Married"}),Object(ft.jsx)("option",{value:"2",children:"Unmarried"}),Object(ft.jsx)("option",{value:"3",children:"Divorce"})]}),ct.touched.maritalstatus&&ct.errors.maritalstatus?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.maritalstatus}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:" mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Email"}),Object(ft.jsx)(m.p,{name:"email",placeholder:"Email",type:"text",className:"form-control",id:"txtEmailID",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){ct.handleChange(e),function(e){var t=e.target.value;t&&!1!==/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(t)?we(""):we("Enter valid Email!")}
1(e)},onBlur:ct.handleBlur,value:ct.values.email||"",maxLength:"100",autocomplete:"off"}),Object(ft.jsx)("h10",{style:{color:"red",fontSize:"80%"},children:Ce})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Nationality"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"nationality",id:"ddlnationality",onChange:ct.handleChange,value:ct.values.nationality||"",invalid:!(!ct.touched.nationality||!ct.errors.nationality),children:[Object(ft.jsx)("option",{value:"",children:"Nationality"}),Object(ft.jsx)("option",{value:"1",children:"Indian"}),Object(ft.jsx)("option",{value:"2",children:"NRI/PIO"}),Object(ft.jsx)("option",{value:"3",children:"Others"})]}),ct.touched.nationality&&ct.errors.nationality?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.nationality}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Occupation"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"occupation",id:"ddloccupation",onChange:function(e){var t=e.target.value;ct.handleChange(e),ct.setFieldValue("occupationdetails",t)},value:ct.values.occupation||"",invalid:!(!ct.touched.occupation||!ct.errors.occupation),children:[Object(ft.jsx)("option",{value:"",children:"Occupation"}),_.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationName},e.id)}))]}),ct.touched.occupation&&ct.errors.occupation?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.occupation}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Mobile"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.q,{children:[Object(ft.jsx)("div",{className:"input-group-text",children:"+91"}),Object(ft.jsx)(m.p,{name:"phoneno",placeholder:"Mobile",type:"text",className:"form-control",id:"txtPhoneno",maxLength:"10",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){re(e)},onBlur:ct.handleBlur,value:ct.values.phoneno||"",invalid:!(!ct.touched.phoneno||!ct.errors.phoneno),autocomplete:"off"})]}),ct.touched.phoneno&&ct.errors.phoneno?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.phoneno}):null]})}),Object(ft.jsxs)(m.f,{lg:"3",children:[Object(ft.jsxs)(m.o,{children:[Object(ft.jsx)("label",{style:dt,children:"Mobile No belongs to"}),Object(ft.jsx)("span",{style:bt,children:"*"})," ",ct.touched.mobilenobelongsTo&&ct.errors.mobilenobelongsTo?Object(ft.jsx)("label",{className:"text-danger",style:{fontSize:"11px"},children:"(Required)"}):null]}),Object(ft.jsxs)("div",{className:"d-flex align-items-center gap-4",children:[Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"self",id:"chkself",onChange:xt,onBlur:ct.handleBlur,checked:"Self"===ct.values.mobilenobelongsTo,invalid:!(!ct.touched.mobilenobelongsTo||!ct.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Self"})]}),Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"familymembers",id:"chkfamilymembers",onChange:xt,onBlur:ct.handleBlur,checked:"Family Members"===ct.values.mobilenobelongsTo,invalid:!(!ct.touched.mobilenobelongsTo||!ct.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Family Members"})]}),Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",name:"others",id:"chkothers",onChange:xt,onBlur:ct.handleBlur,checked:"Others"===ct.values.mobilenobelongsTo,invalid:!(!ct.touched.mobilenobelongsTo||!ct.errors.mobilenobelongsTo)}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:"Others"})]})]})]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.r,{style:dt,children:"Communication Address"})})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 1"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationaddress",placeholder:"Address 1",type:"text",className:"form-control",id:"txtCommunicationAddress1",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.communicationaddress||"",invalid:!(!ct.touched.communicationaddress||!ct.errors.communicationaddress),autocomplete:"off"}),ct.touched.communicationaddress&&ct.errors.communicationaddress?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.communicationaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"communicationaddress2",placeholder:"Address 2",type:"text",className:"form-control",id:"txtCommunicationAddress2",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.communicationaddress2||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 3"}),Object(ft.jsx)(m.p,{name:"communicationaddress3",placeholder:"Address 3",type:"text",className:"form-control",id:"txtCommunicationAddress3",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.communicationaddress3||"",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"City"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationcity",placeholder:"City",type:"text",className:"form-control",id:"txtCommunicationCity",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.communicationcity||"",invalid:!(!ct.touched.communicationcity||!ct.errors.communicationcity),autocomplete:"off"}),ct.touched.communicationcity&&ct.errors.communicationcity?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.communicationcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Pin"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"communicationpincode",placeholder:"Pin",type:"text",className:"form-control",id:"txtCommunicationPincode",maxLength:"6",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){re(e)},onBlur:ct.handleBlur,value:ct.values.communicationpincode||"",invalid:!(!ct.touched.communicationpincode||!ct.errors.communicationpincode),autocomplete:"off"}),ct.touched.communicationpincode&&ct.errors.communicationpincode?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.communicationpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"State"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"communicationstate",id:"ddlCommunicationState",onCh
1ange:ct.handleChange,value:ct.values.communicationstate||"",invalid:!(!ct.touched.communicationstate||!ct.errors.communicationstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),X.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),ct.touched.communicationstate&&ct.errors.communicationstate?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.communicationstate}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkSameAs",onClick:function(){!function(){if($("#chkSameAs").prop("checked")){var e=$("#txtCommunicationAddress1").val(),t=$("#txtCommunicationAddress2").val(),a=$("#txtCommunicationAddress3").val(),r=$("#txtCommunicationCity").val(),n=$("#txtCommunicationPincode").val(),s=$("#ddlCommunicationState").val();$("#txtPermanentAddress1").val(e),$("#txtPermanentAddress2").val(t),$("#txtPermanentAddress3").val(a),$("#txtPermanentCity").val(r),$("#txtPermanentPincode").val(n),$("#ddlPermanentState").val(s),ct.values.permanentaddress=e,ct.values.permanentaddress2=t,ct.values.permanentaddress3=a,ct.values.permanentstate=s,ct.values.permanentcity=r,ct.values.permanentpincode=n,ct.setFieldTouched("permanentaddress",""),ct.setFieldTouched("permanentaddress2",""),ct.setFieldTouched("permanentaddress3",""),ct.setFieldTouched("permanentstate",""),ct.setFieldTouched("permanentcity",""),ct.setFieldTouched("permanentpincode","")}else $("#txtPermanentAddress1").val(""),$("#txtPermanentAddress2").val(""),$("#txtPermanentAddress3").val(""),$("#txtPermanentCity").val(""),$("#txtPermanentPincode").val(""),$("#ddlPermanentState").val(""),ct.values.permanentaddress="",ct.values.permanentaddress2="",ct.values.permanentaddress3="",ct.values.permanentstate="",ct.values.permanentcity="",ct.values.permanentpincode=""}()}}),Object(ft.jsxs)(m.r,{style:dt,className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Same as above"]})]})})})}),Object(ft.jsx)(m.r,{style:dt,children:"Permanent Address"})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 1"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentaddress",placeholder:"Address 1",type:"text",className:"form-control",id:"txtPermanentAddress1",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.permanentaddress||"",invalid:!(!ct.touched.permanentaddress||!ct.errors.permanentaddress),autocomplete:"off"}),ct.touched.permanentaddress&&ct.errors.permanentaddress?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.permanentaddress}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 2"}),Object(ft.jsx)(m.p,{name:"permanentaddress2",placeholder:"Address 2",type:"text",className:"form-control",id:"txtPermanentAddress2",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.permanentaddress2||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Address 3"}),Object(ft.jsx)(m.p,{name:"permanentaddress3",placeholder:"Address 3",type:"text",className:"form-control",id:"txtPermanentAddress3",maxLength:"300",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.permanentaddress3||"",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"City"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentcity",placeholder:"City",type:"text",className:"form-control",id:"txtPermanentCity",maxLength:"50",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.permanentcity||"",invalid:!(!ct.touched.permanentcity||!ct.errors.permanentcity),autocomplete:"off"}),ct.touched.permanentcity&&ct.errors.permanentcity?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.permanentcity}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Pin"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"permanentpincode",placeholder:"Pin",type:"text",className:"form-control",id:"txtPermanentPincode",maxLength:"6",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:function(e){re(e)},onBlur:ct.handleBlur,value:ct.values.permanentpincode||"",invalid:!(!ct.touched.permanentpincode||!ct.errors.permanentpincode),autocomplete:"off"}),ct.touched.permanentpincode&&ct.errors.permanentpincode?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.permanentpincode}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"State"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"permanentstate",id:"ddlPermanentState",onCh
1ange:ct.handleChange,value:ct.values.permanentstate||"",invalid:!(!ct.touched.permanentstate||!ct.errors.permanentstate),children:[Object(ft.jsx)("option",{value:"",children:"State"}),X.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.stateName},e.id)}))]}),ct.touched.permanentstate&&ct.errors.permanentstate?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.permanentstate}):null]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:dt,children:"PAN"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{placeholder:"PAN No.",type:"text",className:"form-control",id:"txtPancard",maxLength:"10",name:"pan",onKeyPress:function(e){"Enter"===e.key&&e.preventDefault()},onChange:ct.handleChange,value:ct.values.pan||"",invalid:!(!ct.errors.pan||$("#chkPAN").prop("checked")||!ct.touched.pan||$("#chkPAN").prop("checked")),autocomplete:"off"}),Object(ft.jsx)("h10",{style:{color:"red",fontSize:"80%"},children:Te}),ct.errors.pan&&!$("#chkPAN").prop("checked")&&ct.touched.pan&&!$("#chkPAN").prop("checked")?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.pan}):null,Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkPAN",onClick:function(){1==$("#chkPAN").prop("checked")?($("#txtPancard").attr("disabled","disabled"),$("#Upload").attr("disabled","disabled"),$("#txtPancard").val("")):($("#txtPancard").removeAttr("disabled"),$("#Upload").removeAttr("disabled"))}}),Object(ft.jsx)("small",{style:{marginLeft:"5px"},children:"Fill Form 60/61 if PAN is not available"})]}),Object(ft.jsxs)(m.f,{lg:"4",children:[Object(ft.jsx)("label",{style:dt,children:"Upload PAN"}),5!==Y&&Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"85%"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"}),Object(ft.jsx)(m.p,{multiple:"",id:"Upload",name:"panfile",type:"file",accept:".jpg,.jpeg,.png",value:ct.values.panfile||"",onChange:function(e){var t=null===e||void 0===e?void 0:e.target.files[0];$e.includes(null===t||void 0===t?void 0:t.type)?(ct.handleChange(e),fe(e.target.files[0])):(J("Kindly upload document in JPG,JPEG,PNG format only"),ct.setFieldValue("panfile",""))},invalid:!(!ct.errors.panfile||$("#chkPAN").prop("checked")||""!=ct.values.poifilePath||!ct.touched.panfile||$("#chkPAN").prop("checked"))}),ct.errors.panfile&&!$("#chkPAN").prop("checked")&&""==ct.values.poifilePath&&ct.touched.panfile&&!$("#chkPAN").prop("checked")?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.panfile}):null]}),Object(ft.jsx)(m.f,{lg:"4",style:{marginTop:"35px",fontSize:"medium",fontWeight:"bold"},children:Object(ft.jsx)("a",{id:"lnkPANDownload",href:"",target:"_blank",rel:"noreferrer",style:{visibility:"hidden"},children:Object(ft.jsx)("i",{className:"bx bx-show",style:{fontSize:"xx-large",marginTop:"-5px"}})})})]}),Object(ft.jsx)("br",{}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h5",{style:it,children:"POI(Proof of Identity) & POA(Proof of Address) Form"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Proof of Identity"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"poi",id:"ddlPOI",onChange:ct.handleChange,value:ct.values.poi||"",invalid:!(!ct.touched.poi||!ct.errors.poi||0!=le.length),children:[Object(ft.jsx)("option",{value:"",children:"Proof Of Identity"}),ee.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.poi},e.id)}))]}),ct.touched.poi&&ct.errors.poi&&0==le.length?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.poi}):null]})}),Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{children:"POI/POA"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"poipoa",id:"ddlPOIPOA",onChange:ct.handleChange,value:ct.values.poipoa||"",invalid:!(!ct.touched.poipoa||!ct.errors.poipoa||0!=le.length),children:[Object(ft.jsx)("option",{value:"",children:"Choose"}),Object(ft.jsx)("option",{value:"1",children:"POA"}),Object(ft.jsx)("option",{value:"2",children:"POI"}),Object(ft.jsx)("option",{value:"3",children:"POA & POI"})]}),ct.touched.poipoa&&ct.errors.poipoa&&0==le.length?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.poipoa}):null]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.o,{className:"mb-3",style:{marginTop:"25px"},children:Object(ft.jsx)(m.b,{id:"btnAdd",style:ht,onClick:function(){return function(){if(""==$("#ddlPOI option:selected").val())return J("Please select Proof of Identity!"),void $("#ddlPOI").focus();if(""==$("#ddlPOIPOA option:selected").val())return J("Please select POI/POA!"),void $("#ddlPOIPOA").focus();if(le.some((function(e){return e.SelectedProofofIdentity===$("#ddlPOI option:selected").text()})))J($("#ddlPOI option:selected").text()+" is already exists!");else{var e={poiid:"",SelectedProofofIdentity:$("#ddlPOI option:selected").text(),EnterNumber:"",POIPOA:$("#ddlPOIPOA option:selected").text(),Expiry:"",Upload:"",poifilepath:"",poifilepathurl:"",Delete:""};ie([].concat(Object(Ct.a)(le),[e]))}}()},children:"Add"})})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{children:Object(ft.jsx)(m.c,{children:Object(ft.jsx)(m.d,{children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsxs)(m.y,{className:"align-middle mb-0",id:"tbPOI",children:[Object(ft.jsx)("thead",{children:Object(ft.jsxs)("tr",{children:[Object(ft.jsx)("th",{children:"POI"}),Object(ft.jsx)("th",{children:"Enter Number"}),Object(ft.jsx)("th",{children:"POI/POA"}),Object(ft.jsx)("th",{children:"Expiry"}),Object(ft.jsxs)("th",{children:["Upload ",Object(ft.jsx)("small",{style:{marginLeft:"3px",fontSize:"85%",fontWeight:"400"},children:"(Kindly upload document in JPG,JPEG,PNG format only)"})]}),Object(ft.jsx)("th",{children:"Delete"})]})}),Object(ft.jsx)("tbody",{children:Object(ft.jsx)(bl,{rowsData:le,deletePoiRows:function(e){if(le.length>1){var t=Object(Ct.a)(le);t.splice(e,1),ie(t)}else 1==le.length&&J("Atleast one POI/POA document is Compulsory!")},handleChange:function(e,t){var a=t.target,r=a.name,n=a.value,s=Object(Ct.a)(le);s[e][r]=n,ie(s)},handleCheckChange:function(e,t){var a=t.target,r=a.name,n=a.checked,s=Object(Ct.a)(le);s[e][r]=n,ie(s)},handleUploadChange:function(e,t){var a=t.target,r=a.name,n=(a.value,Object(Ct.a)(le));n[e][r]=t.target.files[0],ie(n)},errorMessage:J})})]})})})})})})]}),Object(ft.jsx)("br",{})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"btnBack",style:{marginLeft:"115px",backgroundColor:"rgb(154, 8, 79)",fontSize:"small",borderRadius:"0.5rem"},onClick:function(){t.push("/CreateNewAccount")},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:{marginLeft:"15px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"},type:"submit",onClick:function(){var e={personalchoose:ct.values.personalchoose,firstname:void 0==ct.errors.firstname?ct.values.firstname:"",phoneno:ct.values.phoneno,mobilenobelongsTo:ct.values.mobilenobelongsTo,gender:ct.values.gender,occupation:ct.values.occupation,dob:ct.values.dob,maritalstatus:ct.values.maritalstatus,nationality:ct.values.nationality,communicationaddress:ct.values.communicationaddress,communicationstate:ct.values.communicationstate,communicationcity:void 0==ct.errors.communicationcity?ct.values.communicationcity:"",communicationpincode:ct.values.communicationpincode,permanentaddress:ct.values.permanentaddress,permanentstate:ct.values.permanentstate,permanentcity:void 0==ct.errors.permanentcity?ct.values.permanentcity:"",permanentpincode:ct.values.permanentpincode,pan:ct.values.pan,panfile:ct.values.panfile,photofile:ct.values.photofile};5===Y&&(delete e.panfile,delete e.photofile),lt([e])||He(_e)},children:"Save & Next"})]})]})]})}),Object(ft.jsx)(m.x,{tabId:2,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:ut,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),ct.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("h4",{style:it,children:"Form no 60/61"})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Transaction Particulars"}),Object(ft.jsx)(m.p,{name:"transactionparticulars",placeholder:"Transaction Particulars",type:"text",className:"form-control",id:"txttransactionparticulars",maxLength:"100",onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.transactionparticulars||"",invalid:!!(ct.errors&&ct.errors.transactionparticulars&&ct.touched&&ct.touched.transactionparticulars),autocomplete:"off"}),ct.errors&&ct.errors.transactionparticulars&&ct.touched&&ct.touched.transactionparticulars?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.transactionparticulars}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Amount of Transactions"}),Object(ft.jsx)(m.p,{name:"transactionsamount",placeholder:"Amount of Transactions",type:"text",className:"form-control",id:"txttransactionsamount",maxLength:"15",onChange:function(e){re(e)},onBlur:ct.handleBlur,value:ct.values.transactionsamount||"",invalid:!!(ct.errors&&ct.errors.transactionsamount&&ct.errors.transactionsamount&&ct.touched&&ct.touched.transactionsamount),autocomplete:"off"}),ct.errors&&ct.errors.transactionsamount&&ct.touched&&ct.touched.transactionsamount?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.transactionsamount}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Details of income Tax ward/circle/range"}),Object(ft.jsx)(m.p,{name:"detailsofincometax",placeholder:"Details Of Income Tax",type:"text",className:"form-control",id:"txtdetailsofincometax",maxLength:"50",onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.detailsofincometax||"",invalid:!!(ct.errors&&ct.errors.detailsofincometax&&ct.touched&&ct.touched.detailsofincometax),autocomplete:"off"}),ct.errors&&ct.errors.detailsofincometax&&ct.touched&&ct.touched.detailsofincometax?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.detailsofincometax}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Reason for not having PAN"}),Object(ft.jsx)(m.p,{name:"reasonfornopan",placeholder:"Reason For No PAN",type:"text",className:"form-control",id:"txtreasonfornopan",maxLength:"200",onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.reasonfornopan||"",invalid:!!(ct.errors&&ct.errors.reasonfornopan&&ct.touched&&ct.touched.reasonfornopan),autocomplete:"off"}),ct.errors&&ct.errors.reasonfornopan&&ct.touched&&ct.touched.reasonfornopan?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.reasonfornopan}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("h4",{style:dt,className:"font-size-14 mb-4",children:"Are you assessed to tax?"}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",i
1d:"rbaccessedtaxyes",value:"option1",defaultChecked:!0}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"exampleRadios",id:"rbaccessedtaxno",value:"option2"}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:ht,className:-1===_e?"previous disabled":"previous",onClick:function(){st(_e-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:ht,type:"submit",onClick:function(){lt([{transactionparticulars:ct.values.transactionparticulars,transactionsamount:ct.values.transactionsamount,detailsofincometax:ct.values.detailsofincometax,reasonfornopan:ct.values.reasonfornopan}])||He(_e)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:3,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:ut,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),ct.handleSubmit(),!1},children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Expected origin of funds for credit."}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsforcredit",id:"ddlfundsforcredit",children:[Object(ft.jsx)("option",{value:"",children:"Funds for credit to Account"}),Object(ft.jsx)("option",{value:"1",children:"Local"}),Object(ft.jsx)("option",{value:"2",children:"Foreign Inward Remittances"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Expected Utilisation of funds by debit. "}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"fundsbydebit",id:"ddlfundsbydebit",children:[Object(ft.jsx)("option",{value:"",children:"Funds by debit to Account"}),Object(ft.jsx)("option",{value:"0",children:"Remittances aboard"}),Object(ft.jsx)("option",{value:"1",children:"Local"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Any accounts with other banks"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"otherbankaccounts",id:"ddlotherbanksaccounts",children:[Object(ft.jsx)("option",{value:"",children:"Any Other Bank Accounts"}),Q.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.otherBankAccount},e.id)}))]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Monthly Income"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"averageincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtaverageincome",maxLength:"15",onChange:function(e){var t=e.target.value;re(e);var a=function(e){if(!e||isNaN(e)||e<0)return{annualIncomeValue:"",annualTurnover:0};for(var t=12*e,a=2*t,r=z[z.length-1].value,n=1;n<z.length;n++){var s=z[n],c=s.label,o=s.value;if(c.includes("Upto")){if(t<=parseInt(c.match(/\d+/)[0])){r=o;break}}else if(c.includes("to")){var l=c.match(/\d+/g).map(Number),i=Object(u.a)(l,2),d=i[0],h=i[1];if(t>=d&&t<=h){r=o;break}}else if(c.includes("Above")&&t>parseInt(c.match(/\d+/)[0])){r=o;break}}return{annualIncomeValue:r,annualTurnover:a}}(t),r=a.annualIncomeValue,n=a.annualTurnover;ct.setFieldValue("annualincome",r),ct.setFieldValue("annualactivity",n)},value:ct.values.averageincome||"",autocomplete:"off",invalid:!(!ct.touched.averageincome||!ct.errors.averageincome)}),ct.touched.averageincome&&ct.errors.averageincome?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.averageincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Annual Income"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{type:"select",className:"form-select",name:"annualincome",id:"ddlannualincome",onChange:ct.handleChange,value:ct.values.annualincome||"",invalid:!(!ct.touched.annualincome||!ct.errors.annualincome),children:z.map((function(e){return Object(ft.jsx)("option",{value:e.value,children:e.label},e.value)}))}),ct.touched.annualincome&&ct.errors.annualincome?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.annualincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Annual activity/ A/c turnover"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"annualactivity",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtturnover",maxLength:"15",onChange:function(e){re(e)},value:ct.values.annualactivity||"",autocomplete:"off",invalid:!(!ct.touched.annualactivity||!ct.errors.annualactivity)}),ct.touched.annualactivity&&ct.errors.annualactivity?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.annualactivity}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Education"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"education",id:"ddleducation",children:[Object(ft.jsx)("option",{value:"",children:"Education"}),H.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.education},e.id)}))]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Religion "}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"religion",id:"ddlreligion",value:ct.values.religion||"",onChange:ct.handleChange,invali
1d:!(!ct.touched.religion||!ct.errors.religion),children:[Object(ft.jsx)("option",{value:"",children:"Religion"}),Object(ft.jsx)("option",{value:"Hindu",children:"Hindu"}),Object(ft.jsx)("option",{value:"Muslim",children:"Muslim"}),Object(ft.jsx)("option",{value:"Buddhist",children:"Buddhist"}),Object(ft.jsx)("option",{value:"Sikh",children:"Sikh"}),Object(ft.jsx)("option",{value:"Jain",children:"Jain"}),Object(ft.jsx)("option",{value:"Christian",children:"Christian"})]}),ct.touched.religion&&ct.errors.religion?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.religion}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Caste"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"caste",id:"caste",value:ct.values.caste||"",onChange:ct.handleChange,invalid:!(!ct.touched.caste||!ct.errors.caste),children:[Object(ft.jsx)("option",{value:"",children:"Caste"}),Object(ft.jsx)("option",{value:"Open Category",children:"Open Category"}),Object(ft.jsx)("option",{value:"SC (Scheduled Castes)",children:"SC (Scheduled Castes)"}),Object(ft.jsx)("option",{value:"ST (Scheduled Tribes)",children:"ST (Scheduled Tribes)"}),Object(ft.jsx)("option",{value:"OBC",children:"OBC"})]}),ct.touched.caste&&ct.errors.caste?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.caste}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Occupation Details"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"occupationdetails",id:"ddloccupationdetails",value:ct.values.occupationdetails||"",onChange:ct.handleChange,onBlur:ct.handleBlur,invalid:!(!ct.touched.occupationdetails||!ct.errors.occupationdetails),children:[Object(ft.jsx)("option",{value:"",children:"Occupation Details"}),_.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.occupationName},e.id)}))]}),ct.touched.occupationdetails&&ct.errors.occupationdetails?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.occupationdetails}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Professional Details"}),Object(ft.jsx)(m.p,{name:"lineofnusiness",placeholder:"Professional Details",type:"text",className:"form-control",id:"txtlineofnusiness",maxLength:"100",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Name of the Employer/Firm/Institution"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"businessname",placeholder:"Name of the Employer/Firm/Institution",type:"text",className:"form-control",id:"txtbusinessname",maxLength:"100",autocomplete:"off",onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.businessname||"",invalid:!(!ct.touched.businessname||!ct.errors.businessname)}),ct.touched.businessname&&ct.errors.businessname?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.businessname}):null]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Date of starting Business"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{className:"form-control d-block flatpickr",placeholder:"Date of starting Business",id:"txtstartbusinessdate",options:{altInput:!0,dateFormat:"d-M-Y",maxDate:"today",disableMobile:"true"}})})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Office/ Business Address1"}),Object(ft.jsx)(m.p,{name:"bussinessaddress1",placeholder:"Address1",type:"text",className:"form-control",id:"txtbussinessaddress1",maxLength:"300",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Office/ Business Address2"}),Object(ft.jsx)(m.p,{name:"bussinessaddress2",placeholder:"Address2",type:"text",className:"form-control",id:"txtbussinessaddress2",maxLength:"300",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Office/ Business Address3"}),Object(ft.jsx)(m.p,{name:"bussinessaddress3",placeholder:"Address3",type:"text",className:"form-control",id:"txtbussinessaddress3",maxLength:"300",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Office Contact"}),Object(ft.jsx)(m.p,{name:"officecontact",placeholder:"Office Contact",type:"text",className:"form-control",id:"txtofficecontact",maxLength:"20",onChange:function(e){re(e)},value:ct.values.officecontact||"",autocomplete:"off"})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Mobile No."}),Object(ft.jsxs)(m.q,{children:[Object(ft.jsx)("div",{className:"input-group-text",children:"+91"}),Object(ft.jsx)(m.p,{name:"officemobileno",placeholder:"Mobile No.",type:"text",className:"form-control",id:"txtofficemobileno",maxLength:"10",onChange:function(e){re(e)},value:ct.values.officemobileno||"",autocomplete:"off"})]})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Expected average balance "}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"expectedincome",placeholder:"Rs.0000000",type:"text",className:"form-control",id:"txtexpectedincome",maxLength:"15",onChange:function(e){re(e)},value:ct.values.expectedincome||"",autocomplete:"off",invalid:!(!ct.touched.expectedincome||!ct.errors.expectedincome)}),ct.touched.expectedincome&&ct.errors.expectedincome?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.expectedincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Source of Income"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsx)(m.p,{name:"sourceofincome",placeholder:"Source of Income",type:"text",className:"form-control",id:"txtsourceofincome",autocomplete:"off",onChange:ct.handleChange,onBlur:ct.handleBlur,value:ct.values.sourceofincome||"",invalid:!(!ct.touched.sourceofincome||!ct.errors.sourceofincome)}),ct.touched.sourceofincome&&ct.errors.sourceofincome?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.sourceofincome}):null]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Source of Wealth"}),Object(ft.jsx)(m.p,{name:"sourceofhealth",placeholder:"Source of Wealth",type:"text",className:"form-control",id:"txtsourceofwealth",autocomplete:"off"})]})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Estimated Total value of Asset"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"estimatedvalue",id:"ddlestimatedvalue",children:[Object(ft.jsx)("option",{value:"",children:"Estimated Total value of Asset"}),Object(ft.jsx)("option",{value:"1",children:"Upto 100000"}),Object(ft.jsx)("option",{value:"2",children:"100001 to 500000"}),Object(ft.jsx)("option",{value:"3",children:"500001 to 1000000"}),Object(ft.jsx)("option",{value:"4",children:"1000001 to 2500000"}),Object(ft.jsx)("option",{value:"5",children:"Above 2500000"})]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsxs)(m.o,{className:"mb-3",children:[Object(ft.jsx)("label",{style:dt,children:"Reason to become Customer"}),Object(ft.jsx)("span",{style:bt,children:"*"}),Object(ft.jsxs)(m.p,{type:"select",className:"form-select",name:"customerreasonid",id:"ddlcustomerreasonid",onChange:ct.handleChange,value:ct.values.customerreasonid||"",invalid:!(!ct.touched.customerreasonid||!ct.errors.customerreasonid),children:[Object(ft.jsx)("option",{value:"",children:"Reason to become Customer"}),ae.map((function(e,t){return Object(ft.jsx)("option",{value:e.id,children:e.reason},e.id)}))]}),ct.touched.customerreasonid&&ct.errors.customerreasonid?Object(ft.jsx)(m.n,{type:"invalid",children:ct.errors.customerreasonid}):null]})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"12",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("label",{style:dt,children:"Assets Details "})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkcommercialproperty"}
1),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Commercial Property"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkhouse"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","House"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkplot"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Plot"]})]})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkothers"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Others"]})]})})]}),Object(ft.jsx)("br",{})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("label",{style:dt,children:"As per forign account tax compliance act (FATCA)"})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"mt-4",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are tax residence of any country other than india"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceyes",value:"option1"}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios1",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"taxresidence",id:"rbtaxresidenceno",value:"option2",defaultChecked:!0,onChange:Ot}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]}),Object(ft.jsx)("label",{style:{visibility:Me.taxNonIndia?"visible":"hidden",color:"black"},children:"Note - Please fill FATCA Declaration form separately"})]})})})})]}),Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)("label",{children:" "})})}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",style:{marginTop:"-25px"},children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsxs)("div",{className:"mt-4",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)("label",{children:"If you are born in any country other than India"}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check mb-3",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornyes",value:"option1"}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios",children:"Yes"})]})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)("input",{className:"form-check-input",type:"radio",name:"born",id:"rbbornno",value:"option2",defaultChecked:!0,onChange:Ot}),Object(ft.jsx)("label",{style:dt,className:"form-check-label",htmlFor:"exampleRadios2",children:"No"})]})})]}),Object(ft.jsx)("label",{style:{visibility:Me.bornNonIndia?"visible":"hidden",color:"black"},children:"Note - Please fill FATCA Declaration form separately"})]})})})})]})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("label",{style:dt,children:"Vehicle Type"})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)("label",{style:dt,children:"Year of Purchase"})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chktwowheeler"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Two Wheeler"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"twowheeleryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txttwowheeleryear",maxLength:"4",onChange:function(e){re(e)},value:ct.values.twowheeleryear||"",autocomplete:"off"})})})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkcar"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Car"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"caryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtcaryear",maxLength:"4",onChange:function(e){re(e)},value:ct.values.caryear||"",autocomplete:"off"})})})]}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkother"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Other"]})]})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)(m.o,{className:"mb-3",children:Object(ft.jsx)(m.p,{name:"anyotheryear",placeholder:"YYYY",type:"text",className:"form-control",id:"txtotheryear",maxLength:"4",onChange:function(e){re(e)},value:ct.values.anyotheryear||"",autocomplete:"off"})})})]}),Object(ft.jsx)("br",{})]})})}),Object(ft.jsxs)(m.f,{lg:"6",children:[Object(ft.jsx)(m.v,{children:Object(ft.jsx)("label",{style:dt,children:"Whether you are interested in (Optional)"})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkmutualfunds"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Mutual Funds"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkhealthinsurance"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Health Insurance"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkgeneralinsurance"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","General Insurance"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkdemat"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Demat"]})]})})]}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmsby"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Suraksha Bima Yojana (PMSBY)"]})]})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)("div",{className:"form-check",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkpmjjby"}),Object(ft.jsxs)("label",{className:"form-check-label",htmlFor:"invalidCheck",children:[" ","Pradhan Mantri Jeevan Jyoti Bima Yojana (PMJJBY)"]})]})})]})]})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"3",children:Object(ft.jsx)("label",{style:dt,children:"Vehicle maker"})}),Object(ft.jsx)(m.f,{lg:"6",children:Object(ft.jsx)(m.p,{name:"carmaker",placeholder:"Vehicle maker",type:"text",className:"form-control",id:"txtcarmaker",maxLength:"50",autocomplete:"off"})})]})})}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:ht,className:-1===_e?"previous disabled":"previous",onClick:function(){1==$("#chkPAN").prop("checked")?st(_e-1):0==$("#chkPAN").prop("checked")&&st(_e-2)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:ht,type:"submit",onClick:function(){lt([{annualactivity:ct.values.annualactivity,averageincome:ct.values.averageincome,expectedincome:ct.values.expectedincome,annualincome:ct.values.annualincome,customerreasonid:ct.values.customerreasonid,caste:ct.values.caste,religion:ct.values.religion,occupationdetails:ct.values.occupationdetails,businessname:ct.values.businessname,sourceofincome:ct.values.sourceofincome}])||He(_e)},children:"Save & Next"})]})]})]})})}),Object(ft.jsx)(m.x,{tabId:4,children:Object(ft.jsx)("div",{children:Object(ft.jsxs)(m.m,{style:ut,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),ct.handleSubmit(),!1},children:[Object(ft.jsx)(m.v,{style:dt,children:"1. I hereby declare that the details furnished above are true and correct to the best of my knowledge and belief and I undertake to inform the Bank of any changes therein, immediately. In case any of the above information is found to be false, untrue, misleading, or misrepresenting, I am aware that I may be held liable for it."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"2. I hereby confirm that my latest photograph has been affixed above and I have submitted a self-attested photocopy KYC document in support of POI& POA The information provided by me in this Form, is true, correct, and complete. I also confirm that I am aware of the FATCA/ CRS Terms and Conditions and hereby accept the same."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"3. I certify that the Information provided by me in this Form, it's supporting Annexure as well as in the document any evidence provided by me are, to the best of my knowledge and belief true, correct, and complete and that I have not withheld any material information that may affect the assessment/categorization of the account as a Reportable account or otherwise."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"4. I permit/authorize the Bank to collect, store, communicate and process information relating to the account and all transaction therein, by the Bank and any of its affiliates wherever situated including sharing, transfer, and disclosure between them and to the authorities in and/or outside India of any confidential information for compliance with any law or regulation whether domestic or foreign at the time force."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"5. I also agree that my failure to disclose any material fact known to me, now or in future, may invali
1date my application, Bank would be within its rights to put restrictions in the operations of my/our account or dose it or report to any regulator and/or any authority designated by the Government of India (GOI)/RBI for the purpose or take any other action as may be deemed appropriate by the Bank if the deficiency is not remedied by me within the stipulated period."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"6. I hereby accept and acknowledge that the Bank shall have the right and authority to conduct investigations from the available in public domain for confirming the information provided by me to the Bank."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"7. Any change in my KYC information and documents accordingly, viz, Name/Address/Communication Details/ constitution/ Occupation/ Business/ Income source/ Annual Income-Turnover Range/ Transaction range/ etc., the same will be communicated to the Bank supporting with necessary documents, within 30 days from such change came into existence."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"8. It shall be my responsibility to educate myself and to comply at all the times with relevant laws relating to reporting under section 285BA of the Act read with the Rules there under."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"9. I also agree to finish such information and/or documents as the Bank may require from time to time on account of any change in law either in India or abroad in this subject matter herein."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"10. I shall indemnify the Bank for any loss that may arise to the Bank on account of providing incorrect or incomplete information."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"11. The details provided by me in the form are as per the notified Rules 114G to 114H of the Income Tax Act, 1962."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"12. I hereby authorize Janata Sahakari Bank Ltd., Pune to share my information including KYC details with Central KYC Registry (CKYCR)."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"13. I give my explicit consent and authorized Janata Sahakari Bank Ltd. Pune, to download my KYC records from Central KYC Records Registry (CKYCRR) for Updation and or verification purpose."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"14. Policy for Limiting Liability of Customers in unauthorized Electronic Banking transactions is available with the branch."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"15. I hereby authorize Janata Sahakari Bank Ltd., Pune to verify the documents provided by me (i. e. My document(s)) using any online or offline mode (for KYC/AML and other purpose)."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"16. I have read, understood, and hereby accept & agree to all the Terms & Conditions given for all the products & services that I have requested or provided to me."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"17. I have used my ATM Card regularly and hereby give my consent to Re-Carding the same after expiry of the card, please renew my debit card & debit the required charges to my account maintaining with you."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"18. I agree to abide to changes in any rules & regulation in banking and accordingly give my consent/undertaking/declaration concerned."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{style:dt,children:"19. I hereby declare that I am the individual who is NOT or have NOT been entrusted domestically with prominent public functions, for example, heads of state or of government, senior politicians, members of parliament, senior government, judicial or military officials, senior executives of state-owned corporations, important political party officials. Also, I have not any concern with any Politically Exposed Person/s."}),Object(ft.jsx)("br",{}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{lg:"8",children:[Object(ft.jsx)(m.p,{type:"checkbox",className:"form-check-input",id:"chkTerms"}),Object(ft.jsx)("label",{style:dt,children:Object(ft.jsx)("b",{children:" \xa0I agree to above terms and conditions. "})})]})}),Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"8"}),Object(ft.jsxs)(m.f,{lg:"4",style:{textAlign:"right"},children:[Object(ft.jsx)(m.b,{id:"firstP",style:ht,className:-1===_e?"previous disabled":"previous",onClick:function(){st(_e-1)},children:"Back"}),Object(ft.jsx)(m.b,{id:"firstN",style:ht,type:"submit",onClick:function(){He(_e)},children:"Save"})]})]})]})})})]})})]})})})})})})]})};function Nl(){var e=JSON.parse(localStorage.getItem("branchToken"));return e?{Authorization:"Bearer "+e}:{}}var Al=a(138),kl=a.n(Al),Cl=a(71),wl=a.n(Cl),Sl=a(113),Pl=a.n(Sl),Tl=a(186),Il=a.n(Tl),El=function(e){var t={color:"#9a084f",fontWeight:"bold"},a={borderRadius:8,flex:1,padding:"15px"},s=(Object(l.useHistory)(),Object(r.useState)([])),c=Object(u.a)(s,2),o=c[0],h=c[1],j=Object(r.useState)("swing"),x=Object(u.a)(j,2),O=x[0],f=(x[1],Object(r.useState)("linear")),v=Object(u.a)(f,2),y=v[0],N=(v[1],Object(r.useState)("fadeIn")),A=Object(u.a)(N,2),k=A[0],C=(A[1],Object(r.useState)("fadeOut")),w=Object(u.a)(C,2),S=w[0],P=(w[1],Object(r.useState)(300)),T=Object(u.a)(P,2),I=T[0],E=(T[1],Object(r.useState)(1e3)),B=Object(u.a)(E,2),D=B[0],F=(B[1],Object(r.useState)(2e3)),R=Object(u.a)(F,2),L=R[0],M=(R[1],Object(r.useState)(1e3)),q=Object(u.a)(M,2),V=q[0],W=(q[1],Ob
1ject(r.useState)([])),U=Object(u.a)(W,2),G=U[0],Y=U[1],K=Object(r.useState)(!1),z=Object(u.a)(K,2),J=(z[0],z[1],Sl.Search.SearchBar),Q=[{dataField:"lastUpdated",order:"desc"}],H=o.filter((function(e){return"Partially Filled"===e.status})).map((function(e){return Object(d.a)(Object(d.a)({},e),{},{mobileNoMismatch:e.mobileNoMismatch?"Yes":!1===e.mobileNoMismatch?"No":""})})),Z={sizePerPage:10,totalSize:H.length,custom:!0},X=function(e){return[{dataField:"referenceNo",text:"View/Download",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"},formatter:function(e,t){return Object(ft.jsxs)("div",{children:[Object(ft.jsx)("button",{type:"button",color:"primary",className:"btn btn-primary",onClick:function(){!function(e){var t=te()+"/RegistrationPrintPDF/"+e+".pdf",a=$("<a target='_blank' rel='noreferrer'/>");a.attr("target","_blank"),a.attr("href",t),$("body").append(a),a[0].click(),$("body").remove(a)}(t.id)},children:Object(ft.jsx)("i",{className:"bx bx-show"})}),"\xa0\xa0",Object(ft.jsx)("button",{type:"button",color:"primary",className:"btn btn-primary",onClick:function(){!function(e,t){var a=te()+"/RegistrationPrintPDF/"+t+".pdf";p()({url:a,method:"GET",responseType:"blob",headers:Nl()}).then((function(t){var a=window.URL.createObjectURL(new Blob([t.data])),r=document.createElement("a");r.href=a,r.setAttribute("download",e+".pdf"),document.body.appendChild(r),r.click()}))}(t.referenceNo,t.id)},children:Object(ft.jsx)("i",{className:"bx bx-download"})})]})}},{dataField:"lastUpdated",text:"Last updated",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"referenceNo",text:"Reference No.",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNo",text:"Mobile Number",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNoMismatch",text:"Mobile No. Mismatch",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerName",text:"Customer Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"accountTypeName",text:"Account Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"entityTypeName",text:"Entity Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"holdersCount",text:"Number of Holder",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}}]},_=function(){var e=Il()().format("DD-MMM-YYYY");return{fromDate_:Il()().subtract(15,"days").format("DD-MMM-YYYY"),toDate_:e}}(),ee=_.fromDate_,ae=_.toDate_,re=o.filter((function(e){return"Completed"===e.status})).map((function(e){return Object(d.a)(Object(d.a)({},e),{},{mobileNoMismatch:e.mobileNoMismatch?"Yes":!1===e.mobileNoMismatch?"No":""})})),ne={sizePerPage:10,totalSize:re.length,custom:!0};function se(e){mt.a.options={positionClass:"toast-top-center",timeOut:L,extendedTimeOut:V,closeButton:!0,debug:!1,progressBar:!1,preventDuplicates:!1,newestOnTop:!1,showEasing:O,hideEasing:y,showMethod:k,hideMethod:S,showDuration:I,hideDuration:D},mt.a.error(e,"Error")}var ce=function(e){return[{dataField:"viewPoi",text:"View POI",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"},formatter:function(e,t){var a=null===t||void 0===t?void 0:t.poiFilePath;return Object(ft.jsxs)("div",{children:[Object(ft.jsx)("button",{type:"button",color:"primary",className:"btn btn-primary",onClick:function(){!function(e){var t=te()+"/POIFiles/"+e;window.open(t,"_blank")}(a)},children:Object(ft.jsx)("i",{className:"bx bx-show"})}),"\xa0\xa0"]})}},{dataField:"referenceNo",text:"Reference No.",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"locationName",text:"Location Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"branchName",text:"Branch Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerId",text:"Customer Id",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"ckycNo",text:"CKYC No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerTitle",text:"Customer Title",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerName",text:"Customer Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localAddress1",text:"Local Address 1",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localAddress2",text:"Local Address 2",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localAddress3",text:"Local Address 3",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localCity",text:"Local City",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localPin",text:"Local Pin",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"localState",text:"Local State",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permanentAddress1",text:"Permanent Address 1",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permanentAddress2",text:"Permanent Address 2",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permanentAddress3",text:"Permanent Address 3",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permanentCity",text:"Permanent City",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permanentPin",text:"Permanent Pin",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"permenantState",text:"Permanent State",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobile",text:"Mobile",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"email",text:"Email",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"pan",text:"PAN",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"poi",text:"POI",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"poiNo",text:"POI No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"dob",text:"DOB",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"gender",text:"Gender",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"nationality",text:"Nationality",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"maritalStatus",text:"Marital Status",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNoBelongsTo",text:"Mobile No Belongs To",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"occupation",text:"Occupation",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"fatherTitle",text:"Father Title",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"fatherName",text:"Father Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"motherTitle",text:"Mother Title",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"motherName",text:"Mother Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"maidenTitle",text:"Maiden Title",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"maidenName",text:"Maiden Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relatedPersonName",text:"Related Person Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relatedPersonCustomerRelation",text:"Related Person Customer Relation",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relatedPersonType",text:"Related Person Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relatedPersonPANNo",text:"Related Person PAN No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}}
1,{dataField:"relatedPersonAadhaarNo",text:"Related Person Aadhaar No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relatedPersonCourtOrderNo",text:"Related Person Court Order No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"declarantTransactionParticulars",text:"Declarant Transaction Particulars",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"declarantAmountofTransaction",text:"Declarant Amount Of Transaction",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"declarantAssessedTax",text:"Declarant Assessed Tax",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"detailsOfIncomeTax",text:"Details Of Income Tax",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"reasonForNoPan",text:"Reason For No PAN",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"debitCard",text:"Debit Card",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"smsBanking",text:"SMS Banking",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileBanking",text:"Mobile Banking",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"statementOnEmail",text:"Statement On Email",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"aadhaarCardSeeding",text:"Aadhaar Card Seeding",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"interntBanking",text:"Internet Banking",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"fundsExpectedOrigin",text:"Funds Expected Origin",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"fundsUtilisationExpected",text:"Funds Utilisation Expected",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"otherBankAccounts",text:"Other Bank Accounts",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"turnover",text:"Turnover",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"averageIncome",text:"Average Income",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"averageBalance",text:"Average Balance",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"education",text:"Education",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"religion",text:"Religion",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"occupationDetails",text:"Occupation Details",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"lineOfBusiness",text:"Line Of Business",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessName",text:"Business Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessStartDate",text:"Business Start Date",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessAddress",text:"Business Address",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessTelNo",text:"Business Tel No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessMobileNo",text:"Business Mobile No",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessAnnualIncome",text:"Business Annual Income",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessIncomeSource",text:"Business Income Source",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessWealthSource",text:"Business Wealth Source",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessEstimatedValue",text:"Business Estimated Value",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessAssetDetails",text:"Business Asset Details",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"businessCarMaker",text:"Business Car Maker",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"caste",text:"Caste",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerReason",text:"Customer Reason",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"vehicleType",text:"Vehicle Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"purchaseYear",text:"Purchase Year",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"bornNonIndia",text:"Born Non India",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"taxResidenceNonIndia",text:"Tax Residence Non India",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"interestedIn",text:"Interested In",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"nomineeName",text:"Nominee Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"nomineeAddress",text:"Nominee Address",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"relationship",text:"Relationship",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"minorDOB",text:"Minor DOB",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"guardianName",text:"Guardian Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"guardianAddress",text:"Guardian Address",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"guardianRelation",text:"Guardian Relation",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}}]},oe={sizePerPage:10,totalSize:G.length,custom:!0},le=(Object(i.c)(),{marginLeft:"20px",backgroundColor:"#9a084f",fontSize:"small",borderRadius:"0.50rem"});var ie=JSON.parse(localStorage.getItem("userName")),de=JSON.parse(localStorage.getItem("usedesc")),ue=(JSON.parse(localStorage.getItem("password")),Object(r.useState)(ie)),he=Object(u.a)(ue,2),be=(he[0],he[1],Object(r.useState)(!1)),me=Object(u.a)(be,2),je=me[0],pe=me[1],xe=Object(r.useState)({fromDate:ee,toDate:ae}),Oe=Object(u.a)(xe,2),fe=Oe[0],ve=Oe[1],ge=Object(r.useState)(null),ye=Object(u.a)(ge,2),Ne=ye[0],Ae=ye[1],ke=Object(r.useState)("DATE"),Ce=Object(u.a)(ke,2),we=Ce[0],Se=Ce[1];function Pe(e){var t={BranchCode:e,fromDate:fe.fromDate,toDate:fe.toDate};null!=t&&(pe(!0),p.a.post(g+"/api/Registration/GetAllBranchLoginCu
1stomerList",t,{headers:Nl()}).then((function(e){var t;h(e.data),pe(!1),0===(null===(t=e.data)||void 0===t?void 0:t.length)&&se("No records available")}),(function(e){console.log(e.response),pe(!1)})))}function Te(){var e={ReferenceNo:Ne};null!==(null===e||void 0===e?void 0:e.ReferenceNo)?(pe(!0),p.a.post(g+"/api/Registration/GetRegistrationDetailsByRefNo",e,{headers:Nl()}).then((function(e){var t;h(e.data),pe(!1),0===(null===(t=e.data)||void 0===t?void 0:t.length)&&se("No records available")}),(function(e){console.log(e.response),pe(!1)}))):se("Please enter the Reference Number")}function Ie(){var e={fromDate:fe.fromDate,toDate:fe.toDate};pe(!0),p.a.post(g+"/api/Registration/GetCustomerProfileDetails",e,{headers:Nl()}).then((function(e){var t;Y(e.data),pe(!1),0===(null===(t=e.data)||void 0===t?void 0:t.length)&&se("No records available")}),(function(e){console.log(e.response),pe(!1)}))}Object(r.useEffect)((function(){!0===je?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block"):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[je]),Object(r.useEffect)((function(){var e=JSON.parse(localStorage.getItem("isAdmin")),t=localStorage.getItem("branchCode");Pe(e?"":t)}),[]);var Ee=Object(r.useState)(1),Be=Object(u.a)(Ee,2),De=Be[0],Fe=Be[1],Re=Object(r.useState)([1]),Le=Object(u.a)(Re,2),Me=Le[0],qe=Le[1];function $e(e){if(De!==e){var t=[].concat(Object(Ct.a)(Me),[e]);e>=1&&e<=2&&(Fe(e),qe(t))}}var Ve=Object(r.useState)(!1),We=Object(u.a)(Ve,2),Ue=(We[0],We[1],function(e,t){ve((function(a){return Object(d.a)(Object(d.a)({},a),{},Object(jl.a)({},t,e))}))}),Ge=function(e,t){var a=(null===e||void 0===e?void 0:e.target).checked,r=JSON.parse(localStorage.getItem("isAdmin")),n=localStorage.getItem("branchCode");a&&"REF-NO"===t?Se("REF-NO"):a&&"DETAILED_REPORT"===t?(Se("DETAILED_REPORT"),$("#refNoCheckbox").prop("checked",!1)):a||(Se("DATE"),Ae(null),Pe(r?"":n))},Ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat((new Date).getTime(),".csv");if(e&&e.length){var a=[{label:"Last updated",key:"lastUpdated"},{label:"Reference No.",key:"referenceNo",isReference:!0},{label:"Mobile Number",key:"mobileNo"},{label:"Mobile No. Mismatch",key:"mobileNoMismatch"},{label:"Customer Name",key:"customerName"},{label:"Account Type",key:"accountTypeName"},{label:"Entity Type",key:"entityTypeName"},{label:"Number of Holder",key:"holdersCount"}],r=a.map((function(e){return e.label})).join(",")+"\n",n=e.map((function(e){return a.map((function(t){var a,r=null!==(a=e[t.key])&&void 0!==a?a:"";return t.isReference?'"=""'.concat(r,'"""'):'"'.concat(String(r).replace(/"/g,'""'),'"')})).join(",")})).join("\n"),s=r+n,c=new Blob([s],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a");o.href=URL.createObjectURL(c),o.setAttribute("download",t),document.body.appendChild(o),o.click(),document.body.removeChild(o)}else se("No data to export")};return Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsx)(b.a,{children:Object(ft.jsx)("title",{children:"JSB-Customer Details"})}),Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)(m.c,{style:{borderRadius:15,flex:1,marginTop:"20px",boxShadow:"#504f4f6b 5px 5px 20px"},children:Object(ft.jsxs)(m.d,{children:[Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsx)("h4",{className:"card-title",style:{fontSize:"17px",color:"#941116",fontWeight:"bold"},children:localStorage.getItem("branchName")})}),Object(ft.jsx)(m.f,{lg:"12",children:Object(ft.jsxs)("div",{className:"d-flex gap-3",children:[Object(ft.jsxs)("div",{children:[Object(ft.jsx)(m.p,{type:"checkbox",id:"refNoCheckbox",className:"form-check-input",disabled:"DETAILED_REPORT"===we,onChange:function(e){return Ge(e,"REF-NO")}}),Object(ft.jsx)("label",{style:{color:"black"},children:"\xa0Search By Reference Number"})]}),[735,737].includes(Number(de))&&Object(ft.jsxs)("div",{children:[Object(ft.jsx)(m.p,{type:"checkbox",id:"detailedReportCheckbox",className:"form-check-input",onChange:function(e){return Ge(e,"DETAILED_REPORT")}}),Object(ft.jsx)("label",{style:{color:"black"},children:"\xa0Get Customer Profile Details"})]})]})}),"DATE"===we||"DETAILED_REPORT"===we?Object(ft.jsxs)(ft.Fragment,{children:[Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:{color:"black"},children:"From Date"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{className:"form-control d-block flatpickr",placeholder:"From Date",value:fe.fromDate,onChange:function(e,t,a,r){Ue(t,"fromDate")},options:{dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"}})})]}),Object(ft.jsxs)(m.f,{lg:"2",children:[Object(ft.jsx)("label",{style:{color:"black"},children:"To Date"}),Object(ft.jsx)(m.q,{children:Object(ft.jsx)(It.a,{className:"form-control d-block flatpickr",placeholder:"To Date",value:fe.toDate,onChange:function(e,t,a,r){Ue(t,"toDate")},options:{dateFormat:"d-M-Y",altFormat:"F j, Y",maxDate:"today",disableMobile:"true"}})})]})]}):Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsxs)("div",{className:"position-relative",children:[Object(ft.jsx)(m.p,{type:"text",id:"ReferenceNo",className:"form-control",maxLength:"15",placeholder:"Enter Reference Number",value:null!==Ne&&void 0!==Ne?Ne:"",onChange:function(e){var t=e.target.value.replace(/\D/g,"");Ae(""===t?null:t)}}),Ne&&Object(ft.jsx)("button",{type:"button",className:"btn position-absolute top-50 end-0 translate-middle-y me-2 p-0 border-0 bg-transparent fs-3",onClick:function(){return Ae(null)},"aria-label":"Clear",style:{color:"#9a084f"}
1,children:"\xd7"})]})}),Object(ft.jsx)(m.f,{lg:"2",className:"d-flex align-items-end",children:Object(ft.jsx)(m.b,{style:le,onClick:function(){var e=localStorage.getItem("branchCode"),t=JSON.parse(localStorage.getItem("isAdmin"));"REF-NO"===we?Te():"DETAILED_REPORT"===we?Ie():Pe(t?"":e)},children:"Search"})})]}),Object(ft.jsx)("br",{}),"DATE"===we||"REF-NO"===we?Object(ft.jsxs)("div",{className:"wizard clearfix",children:[Object(ft.jsx)("div",{className:"steps clearfix",children:Object(ft.jsxs)("ul",{children:[Object(ft.jsx)(m.t,{className:Lt()({current:1===De}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:1===De}),onClick:function(){$e(1)},children:[Object(ft.jsx)("span",{className:"number",children:"1"})," Completed forms"]})}),Object(ft.jsx)(m.t,{className:Lt()({current:2===De}),children:Object(ft.jsxs)(m.u,{className:Lt()({active:2===De}),onClick:function(){$e(2)},children:[Object(ft.jsx)("span",{className:"number",children:"2"})," ",Object(ft.jsx)("span",{children:"Partially Filled Forms"})]})})]})}),Object(ft.jsxs)("div",{className:"content clearfix",style:{marginTop:"-17px",width:"101%"},children:[Object(ft.jsx)("br",{}),Object(ft.jsx)("br",{}),Object(ft.jsxs)(m.w,{activeTab:De,className:"body",children:[Object(ft.jsx)(m.x,{tabId:1,children:Object(ft.jsx)("div",{children:Object(ft.jsx)(Cl.PaginationProvider,{pagination:wl()(ne),keyField:"id",columns:X(),data:re,children:function(e){var r=e.paginationProps,s=e.paginationTableProps;return Object(ft.jsx)(Pl.a,{keyField:"id",data:re,columns:X(),bootstrap4:!0,search:!0,children:function(e){return Object(ft.jsxs)(m.m,{style:a,className:"registration needs-validation",encType:"multipart/form-data",onSubmit:function(e){return e.preventDefault(),!1},children:[Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsxs)(m.v,{className:"mb-2",children:[Object(ft.jsx)(m.f,{md:"8",children:Object(ft.jsx)(m.r,{children:Object(ft.jsx)("h5",{style:t,children:"Customer Details"})})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsx)("div",{className:"search-box me-2 mb-2 d-inline-block",children:Object(ft.jsxs)("div",{className:"position-relative",children:[Object(ft.jsx)(J,Object(d.a)({autoComplete:"off",style:{width:"100%",float:"right"}},e.searchProps)),Object(ft.jsx)("i",{className:"bx bx-search-alt search-icon"})]})})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.b,{style:le,onClick:function(){return Ye(re,"Completed_Forms.csv")},children:"Export CSV"})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xl:"12",children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsx)(kl.a,Object(d.a)(Object(d.a)({keyField:"id",responsive:!0,classes:"table align-middle table-nowrap table-check text-center table-striped table-hover",style:{textAlign:"center"},defaultSorted:Q},e.baseProps),s))})})})]}),Object(ft.jsx)("div",{className:"pagination pagination-rounded justify-content-end",children:Object(ft.jsx)(Cl.PaginationListStandalone,Object(d.a)({},r))})]})}})}})})}),Object(ft.jsx)(m.x,{tabId:2,children:Object(ft.jsx)("div",{children:Object(ft.jsx)(Cl.PaginationProvider,{pagination:wl()(Z),keyField:"id",columns:[{dataField:"lastUpdated",text:"Last updated",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"referenceNo",text:"Reference No.",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNo",text:"Mobile Number",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNoMismatch",text:"Mobile No. Mismatch",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerName",text:"Customer Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"accountTypeName",text:"Account Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"entityTypeName",text:"Entity Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"holdersCount",text:"Number of Holder",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}}],data:H,children:function(e){var r=e.paginationProps,s=e.paginationTableProps;
1return Object(ft.jsx)(Pl.a,{keyField:"id",data:H,columns:[{dataField:"lastUpdated",text:"Last updated",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"referenceNo",text:"Reference No.",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNo",text:"Mobile Number",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"mobileNoMismatch",text:"Mobile No. Mismatch",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"customerName",text:"Customer Name",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"accountTypeName",text:"Account Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"entityTypeName",text:"Entity Type",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}},{dataField:"holdersCount",text:"Number of Holder",sort:!0,style:{textAlign:"center",border:"1px solid lightgrey"}}],bootstrap4:!0,search:!0,children:function(e){return Object(ft.jsxs)(m.m,{style:a,className:"needs-validation",onSubmit:function(e){return e.preventDefault(),validation.handleSubmit(),!1},children:[Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsxs)(m.v,{className:"mb-2",children:[Object(ft.jsx)(m.f,{md:"8",children:Object(ft.jsx)(m.r,{children:Object(ft.jsx)("h5",{style:t,children:"Customer Details"})})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsx)("div",{className:"search-box me-2 mb-2 d-inline-block",children:Object(ft.jsxs)("div",{className:"position-relative",children:[Object(ft.jsx)(J,Object(d.a)({autoComplete:"off",style:{width:"100%",float:"right"}},e.searchProps)),Object(ft.jsx)("i",{className:"bx bx-search-alt search-icon"})]})})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.b,{style:le,onClick:function(){return Ye(H,"Partially_Filled_Forms.csv")},children:"Export CSV"})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xl:"12",children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsx)(kl.a,Object(d.a)(Object(d.a)({keyField:"id",responsive:!0,search:"true",classes:"table align-middle table-nowrap table-check text-center table-striped table-hover",style:{textAlign:"center"},defaultSorted:Q},e.baseProps),s))})})})]}),Object(ft.jsx)("div",{className:"pagination pagination-rounded justify-content-end",children:Object(ft.jsx)(Cl.PaginationListStandalone,Object(d.a)({},r))})]})}})}})})})]})]})]}):Object(ft.jsx)("div",{children:Object(ft.jsx)(Cl.PaginationProvider,{pagination:wl()(oe),keyField:"id",columns:ce(),data:G,children:function(e){var r=e.paginationProps,s=e.paginationTableProps;return Object(ft.jsx)(Pl.a,{keyField:"id",data:G,columns:ce(),bootstrap4:!0,search:!0,children:function(e){return Object(ft.jsxs)(m.m,{style:a,className:"registration needs-validation",encType:"multipart/form-data",onSubmit:function(e){return e.preventDefault(),!1},children:[Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsxs)(m.v,{className:"mb-2",children:[Object(ft.jsx)(m.f,{md:"8",children:Object(ft.jsx)(m.r,{children:Object(ft.jsx)("h5",{style:t,children:"Get Customer Profile Details"})})}),Object(ft.jsx)(m.f,{md:"2",children:Object(ft.jsx)("div",{className:"search-box me-2 mb-2 d-inline-block",children:Object(ft.jsxs)("div",{className:"position-relative",children:[Object(ft.jsx)(J,Object(d.a)({autoComplete:"off",style:{width:"100%",float:"right"}},e.searchProps)),Object(ft.jsx)("i",{className:"bx bx-search-alt search-icon"})]})})}),Object(ft.jsx)(m.f,{lg:"2",children:Object(ft.jsx)(m.b,{style:le,onClick:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"".concat((new Date).getTime(),".csv");if(e&&e.length){var a=ce().filter((function(e){return"viewPoi"!==e.dataField})).map((function(e){return{label:e.text,key:e.dataField,isReference:"referenceNo"===e.dataField}})),r=a.map((function(e){return e.label})).join(",")+"\n",n=e.map((function(e){return a.map((function(t){var a,r=null!==(a=e[t.key])&&void 0!==a?a:"";return t.isReference?'"=""'.concat(r,'"""'):'"'.concat(String(r).replace(/"/g,'""'),'"')})).join(",")})).join("\n"),s=new Blob([r+n],{type:"text/csv;charset=utf-8;"}),c=document.createElement("a");c.href=URL.createObjectURL(s),c.setAttribute("download",t),document.body.appendChild(c),c.click(),document.body.removeChild(c)}else se("No data to export")}(G,"Customer_Profile_Details.csv")},children:"Export CSV"})})]}),Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{xl:"12",children:Object(ft.jsx)("div",{className:"table-responsive",children:Object(ft.jsx)(kl.a,Object(d.a)(Object(d.a)({keyField:"id",responsive:!0,classes:"table align-middle table-nowrap table-check text-center table-striped table-hover",style:{textAlign:"center"}},e.baseProps),s))})})})]}),Object(ft.jsx)("div",{className:"pagination pagination-rounded justify-content-end",children:Object(ft.jsx)(Cl.PaginationListStandalone,Object(d.a)({},r))})]})}})}})})]})})})})})]})},Bl=[{path:"/Registration",component:ml},{path:"/Status",component:Pt},{path:"/CreateNewAccount",component:Yo},{path:"/FirstHolder",component:Ol},{path:"/OtherHolder",component:yl},{path:"/",exact:!0,component:function(){return Object(ft.jsx)(l.Redirect,{to:"/Status"})}}],Dl=[{path:"/login",component:kt},{path:"/BranchLogin",component:yt},{path:"/success",component:pl},{path:"/FormLoader",component:vt},{path:"/CustomerList",component:El},{path:"/ShowPhoto",component:gl}],Fl=a(292),Rl=["component","layout","isAuthProtected"],Ll=function(e){var t=e.component,a=e.layout,r=e.isAuthProtected,n=Object(Fl.a)(e,Rl);return Object(ft.jsx)(l.Route,Object(d.a)(Object(d.a)({},n),{},{render:function(e){return r&&!localStorage.getItem("authCustomer")?Object(ft.jsx)(l.Redirect,{to:{pathname:"/login",state:{from:e.location}}}):Object(ft.jsx)(a,{children:Object(ft.jsx)(t,Object(d.a)({},e))})}}))},Ml=Object(l.withRouter)((function(e){var t=Object(i.c)(),a=Object(i.d)((function(e){return{isPreloader:e.Layout.isPreloader,leftSideBarThemeImage:e.L
1ayout.leftSideBarThemeImage,leftSideBarType:e.Layout.leftSideBarType,layoutWidth:e.Layout.layoutWidth,topbarTheme:e.Layout.topbarTheme,showRightSidebar:e.Layout.showRightSidebar,leftSideBarTheme:e.Layout.leftSideBarTheme}})),s=a.isPreloader,c=a.leftSideBarThemeImage,o=a.layoutWidth,l=a.leftSideBarType,d=a.topbarTheme,u=(a.showRightSidebar,a.leftSideBarTheme);/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);return Object(r.useEffect)((function(){!0===s?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block",setTimeout((function(){document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none"}),2500)):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[s]),Object(r.useEffect)((function(){window.scrollTo(0,0)}),[]),Object(r.useEffect)((function(){t(Jt("vertical"))}),[t]),Object(r.useEffect)((function(){u&&t(Ht(u))}),[u,t]),Object(r.useEffect)((function(){c&&t(Zt(c))}),[c,t]),Object(r.useEffect)((function(){o&&t(Qt(o))}),[o,t]),Object(r.useEffect)((function(){l&&t(Xt(l))}),[l,t]),Object(r.useEffect)((function(){d&&t(_t(d))}),[d,t]),document.body.classList.toggle("vertical-collpsed"),Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsxs)("div",{id:"layout-wrapper",children:[Object(ft.jsx)(ul,{}),Object(ft.jsx)("div",{className:"main-content",children:e.children}),Object(ft.jsx)(hl,{})]})]})})),ql=Object(l.withRouter)(Object(i.b)((function(e){return{leftMenu:e.Layout.leftMenu}}),{})(Object(Jo.a)()((function(e){var t=Object(r.useState)(!1),a=Object(u.a)(t,2),s=a[0],c=a[1],l=Object(r.useState)(!1),i=Object(u.a)(l,2),d=i[0],h=i[1],b=Object(r.useState)(!1),j=Object(u.a)(b,2),p=j[0],x=j[1],O=Object(r.useState)(!1),f=Object(u.a)(O,2),v=f[0],g=f[1],y=Object(r.useState)(!1),N=Object(u.a)(y,2),A=N[0],k=N[1],C=Object(r.useState)(!1),w=Object(u.a)(C,2),S=w[0],P=w[1],T=Object(r.useState)(!1),I=Object(u.a)(T,2),E=I[0],B=I[1],D=Object(r.useState)(!1),F=Object(u.a)(D,2),R=F[0],L=F[1],M=Object(r.useState)(!1),q=Object(u.a)(M,2),$=q[0],V=q[1],W=Object(r.useState)(!1),U=Object(u.a)(W,2),G=U[0],Y=U[1],K=Object(r.useState)(!1),z=Object(u.a)(K,2),J=z[0],Q=z[1],H=Object(r.useState)(!1),Z=Object(u.a)(H,2),X=Z[0],_=Z[1],ee=Object(r.useState)(!1),te=Object(u.a)(ee,2),ae=te[0],re=te[1],ne=Object(r.useState)(!1),se=Object(u.a)(ne,2),ce=se[0],oe=se[1],le=Object(r.useState)(!1),ie=Object(u.a)(le,2),de=ie[0],ue=ie[1],he=Object(r.useState)(!1),be=Object(u.a)(he,2),me=be[0],je=be[1],pe=Object(r.useState)(!1),xe=Object(u.a)(pe,2),Oe=xe[0],fe=xe[1],ve=Object(r.useState)(!1),ge=Object(u.a)(ve,2),ye=ge[0],Ne=ge[1],Ae=Object(r.useState)(!1),ke=Object(u.a)(Ae,2),Ce=ke[0],we=ke[1],Se=Object(r.useState)(!1),Pe=Object(u.a)(Se,2),Te=Pe[0],Ie=Pe[1];return Object(r.useEffect)((function(){for(var t=null,a=document.getElementById("navigation").getElementsByTagName("a"),r=0;r<a.length;++r)if(e.location.pathname===a[r].pathname){t=a[r];break}t&&function(e){e.classList.add("active");var t=e.parentElement;if(t){t.classList.add("active");var a=t.parentElement;a.classList.add("active");var r=a.parentElement;if(r){r.classList.add("active");var n=r.parentElement;if(n){n.classList.add("active");var s=n.parentElement;if(s){s.classList.add("active");var c=s.parentElement;c&&c.classList.add("active")}}}}}(t)})),Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("div",{className:"topnav",children:Object(ft.jsx)("div",{className:"container-fluid",children:Object(ft.jsx)("nav",{className:"navbar navbar-light navbar-expand-lg topnav-menu",id:"navigation",children:Object(ft.jsx)(m.g,{isOpen:e.leftMenu,className:"navbar-collapse",id:"topnav-menu-content",children:Object(ft.jsxs)("ul",{className:"navbar-nav",children:[Object(ft.jsxs)("li",{className:"nav-item dropdown",children:[Object(ft.jsxs)(o.b,{className:"nav-link dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),c(!s)},to:"/dashboard",children:[Object(ft.jsx)("i",{className:"bx bx-home-circle me-2"}),e.t("Dashboard")," ",e.menuOpen,Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:s}),children:[Object(ft.jsx)(o.b,{to:"/dashboard",className:"dropdown-item",children:e.t("Default")}),Object(ft.jsx)(o.b,{to:"/dashboard-saas",className:"dropdown-item",children:e.t("Sa
1as")}),Object(ft.jsx)(o.b,{to:"/dashboard-crypto",className:"dropdown-item",children:e.t("Crypto")}),Object(ft.jsx)(o.b,{to:"/blog",className:"dropdown-item",children:e.t("Blog")})]})]}),Object(ft.jsxs)("li",{className:"nav-item dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",onClick:function(e){e.preventDefault(),h(!d)},className:"nav-link dropdown-toggle arrow-none",children:[Object(ft.jsx)("i",{className:"bx bx-tone me-2"}),e.t("UI Elements")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsx)("div",{className:Lt()("dropdown-menu mega-dropdown-menu dropdown-menu-left dropdown-mega-menu-xl",{show:d}),children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:4,children:Object(ft.jsxs)("div",{children:[Object(ft.jsx)(o.b,{to:"/ui-alerts",className:"dropdown-item",children:e.t("Alerts")}),Object(ft.jsx)(o.b,{to:"/ui-buttons",className:"dropdown-item",children:e.t("Buttons")}),Object(ft.jsx)(o.b,{to:"/ui-cards",className:"dropdown-item",children:e.t("Cards")}),Object(ft.jsx)(o.b,{to:"/ui-carousel",className:"dropdown-item",children:e.t("Carousel")}),Object(ft.jsx)(o.b,{to:"/ui-dropdowns",className:"dropdown-item",children:e.t("Dropdowns")}),Object(ft.jsx)(o.b,{to:"/ui-grid",className:"dropdown-item",children:e.t("Grid")}),Object(ft.jsx)(o.b,{to:"/ui-images",className:"dropdown-item",children:e.t("Images")}),Object(ft.jsx)(o.b,{to:"/ui-lightbox",className:"dropdown-item",children:e.t("Lightbox")})]})}),Object(ft.jsx)(m.f,{lg:4,children:Object(ft.jsxs)("div",{children:[Object(ft.jsx)(o.b,{to:"/ui-modals",className:"dropdown-item",children:e.t("Modals")}),Object(ft.jsx)(o.b,{to:"/ui-offcanvas",className:"dropdown-item",children:e.t("Offcanvas")}),Object(ft.jsx)(o.b,{to:"/ui-rangeslider",className:"dropdown-item",children:e.t("Range Slider")}),Object(ft.jsx)(o.b,{to:"/ui-session-timeout",className:"dropdown-item",children:e.t("Session Timeout")}),Object(ft.jsx)(o.b,{to:"/ui-progressbars",className:"dropdown-item",children:e.t("Progress Bars")}),Object(ft.jsx)(o.b,{to:"/ui-placeholders",className:"dropdown-item",children:e.t("Placeholders")}),Object(ft.jsx)(o.b,{to:"/ui-sweet-alert",className:"dropdown-item",children:e.t("Sweet-Alert")}),Object(ft.jsx)(o.b,{to:"/ui-tabs-accordions",className:"dropdown-item",children:e.t("Tabs & Accordions")})]})}),Object(ft.jsx)(m.f,{lg:4,children:Object(ft.jsxs)("div",{children:[Object(ft.jsx)(o.b,{to:"/ui-typography",className:"dropdown-item",children:e.t("Typography")}),Object(ft.jsx)(o.b,{to:"/ui-toasts",className:"dropdown-item",children:e.t("Toasts")}),Object(ft.jsx)(o.b,{to:"/ui-video",className:"dropdown-item",children:e.t("Video")}),Object(ft.jsx)(o.b,{to:"/ui-general",className:"dropdown-item",children:e.t("General")}),Object(ft.jsx)(o.b,{to:"/ui-colors",className:"dropdown-item",children:e.t("Colors")}),Object(ft.jsx)(o.b,{to:"/ui-rating",className:"dropdown-item",children:e.t("Rating")}),Object(ft.jsx)(o.b,{to:"/ui-notifications",className:"dropdown-item",children:e.t("Notifications")}),Object(ft.jsx)(o.b,{to:"/ui-breadcrumb",className:"dropdown-item",children:e.t("Breadcrumb")})]})})]})})]}),Object(ft.jsxs)("li",{className:"nav-item dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",onClick:function(e){e.preventDefault(),x(!p)},className:"nav-link dropdown-togglez arrow-none",children:[Object(ft.jsx)("i",{className:"bx bx-customize me-2"}),e.t("Apps")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:p}),children:[Object(ft.jsx)(o.b,{to:"/calendar",className:"dropdown-item",children:e.t("Calendar")}),Object(ft.jsx)(o.b,{to:"/chat",className:"dropdown-item",children:e.t("Chat")}),Object(ft.jsx)(o.b,{to:"/apps-filemanager",className:"dropdown-item",children:e.t("File Manager")}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),g(!v)},children:[e.t("Email")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:v}),children:[Object(ft.jsx)(o.b,{to:"/email-inbox",className:"dropdown-item",children:e.t("Inbox")}),Object(ft.jsx)(o.b,{to:"/email-read",className:"dropdown-item",children:e.t("Read Email")}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{className:"dropdown-item dropdown-toggle arrow-none",to:"/#",onClick:function(e){e.preventDefault(),g(!v)},children:[Object(ft.jsx)("span",{children:"Templates"},"t-email-templates")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:v}),children:[Object(ft.jsx)(o.b,{to:"/email-template-basic",className:"dropdown-item",children:e.t("Basic Action")}),Object(ft.jsx)(o.b,{to:"/email-template-alert",className:"dropdown-item",children:e.t("Alert Email")}),Object(ft.jsx)(o.b,{to:"/email-template-billing",className:"dropdown-item",children:e.t("Billing Email")})]})]})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),k(!A)},children:[e.t(" Ecommerce")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:A}),children:[Object(ft.jsx)(o.b,{to:"/ecommerce-products",className:"dropdown-item",children:e.t("Products")}),Object(ft.jsx)(o.b,{to:"/ecommerce-product-detail/1",className:"dropdown-item",children:e.t("Product Detail")}),Object(ft.jsx)(o.b,{to:"/ecommerce-orders",className:"dropdown-item",children:e.t("Orders")}),Object(ft.jsx)(o.b,{to:"/ecommerce-customers",className:"dropdown-item",children:e.t("Customers")}),Object(ft.jsx)(o.b,{to:"/ecommerce-cart",className:"dropdown-item",children:e.t("Cart")}),Object(ft.jsx)(o.b,{to:"/ecommerce-checkout",className:"dropdown-item",children:e.t("Checkout")}),Object(ft.jsx)(o.b,{to:"/ecommerce-shops",className:"dropdown-item",children:e.t("Shops")}
1),Object(ft.jsx)(o.b,{to:"/ecommerce-add-product",className:"dropdown-item",children:e.t("Add Product")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),P(!S)},children:[e.t("Crypto")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:S}),children:[Object(ft.jsx)(o.b,{to:"/crypto-wallet",className:"dropdown-item",children:e.t("Wallet")}),Object(ft.jsx)(o.b,{to:"/crypto-buy-sell",className:"dropdown-item",children:e.t("Buy/Sell")}),Object(ft.jsx)(o.b,{to:"/crypto-exchange",className:"dropdown-item",children:e.t("Exchange")}),Object(ft.jsx)(o.b,{to:"/crypto-lending",className:"dropdown-item",children:e.t("Lending")}),Object(ft.jsx)(o.b,{to:"/crypto-orders",className:"dropdown-item",children:e.t("Orders")}),Object(ft.jsx)(o.b,{to:"/crypto-kyc-application",className:"dropdown-item",children:e.t("KYC Application")}),Object(ft.jsx)(o.b,{to:"/crypto-ico-landing",className:"dropdown-item",children:e.t("ICO Landing")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),B(!E)},children:[e.t("Projects")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:E}),children:[Object(ft.jsx)(o.b,{to:"/projects-grid",className:"dropdown-item",children:e.t("Projects Grid")}),Object(ft.jsx)(o.b,{to:"/projects-list",className:"dropdown-item",children:e.t("Projects List")}),Object(ft.jsx)(o.b,{to:"/projects-overview",className:"dropdown-item",children:e.t("Project Overview")}),Object(ft.jsx)(o.b,{to:"/projects-create",className:"dropdown-item",children:e.t("Create New")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),L(!R)},children:[e.t("Tasks")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:R}),children:[Object(ft.jsx)(o.b,{to:"/tasks-list",className:"dropdown-item",children:e.t("Task List")}),Object(ft.jsx)(o.b,{to:"/tasks-kanban",className:"dropdown-item",children:e.t("Kanban Board")}),Object(ft.jsx)(o.b,{to:"/tasks-create",className:"dropdown-item",children:e.t("Create Task")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),V(!$)},children:[e.t("Contacts")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:$}),children:[Object(ft.jsx)(o.b,{to:"/contacts-grid",className:"dropdown-item",children:e.t("User Grid")}),Object(ft.jsx)(o.b,{to:"/contacts-list",className:"dropdown-item",children:e.t("User List")}),Object(ft.jsx)(o.b,{to:"/contacts-profile",className:"dropdown-item",children:e.t("Profile")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),Y(!G)},children:[e.t("Blog")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:G}),children:[Object(ft.jsx)(o.b,{to:"/blog-list",className:"dropdown-item",children:e.t("Blog List")}),Object(ft.jsx)(o.b,{to:"/blog-grid",className:"dropdown-item",children:e.t("Blog Grid")}),Object(ft.jsx)(o.b,{to:"/blog-details",className:"dropdown-item",children:e.t("Blog Details")})]})]})]})]}),Object(ft.jsxs)("li",{className:"nav-item dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"nav-link dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),Q(!J)},children:[Object(ft.jsx)("i",{className:"bx bx-collection me-2"}),e.t("Components")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:J}),children:[Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),_(!X)},children:[e.t("Forms")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:X}),children:[Object(ft.jsx)(o.b,{to:"/form-elements",className:"dropdown-item",children:e.t("Form Elements")}),Object(ft.jsx)(o.b,{to:"/form-layouts",className:"dropdown-item",children:e.t("Form Layouts")}),Object(ft.jsx)(o.b,{to:"/form-validation",className:"dropdown-item",children:e.t("Form Validation")}),Object(ft.jsx)(o.b,{to:"/form-advanced",className:"dropdown-item",children:e.t("Form Advanced")}),Object(ft.jsx)(o.b,{to:"/form-editors",className:"dropdown-item",children:e.t("Form Editors")}),Object(ft.jsxs)(o.b,{to:"/form-uploads",className:"dropdown-item",children:[e.t("Form File Upload")," "]}),Object(ft.jsx)(o.b,{to:"/form-xeditable",className:"dropdown-item",children:e.t("Form Xeditable")}),Object(ft.jsx)(o.b,{to:"/form-repeater",className:"dropdown-item",children:e.t("Form Repeater")}),Object(ft.jsx)(o.b,{to:"/form-wizard",className:"dropdown-item",children:e.t("Form Wizard")}),Object(ft.jsx)(o.b,{to:"/form-mask",className:"dropdown-item",children:e.t("Form Mask")}),Object(ft.jsx)(o.b,{to:"/dual-listbox",className:"dropdown-item",children:e.t("Transfer List")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),re(!ae)},children:[e.t("Tables")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:ae}),children:[Object(ft.jsx)(o.b,{to:"/tables-basic",className:"dropdown-item",children:e.t("Basic Tables")}),Object(ft.jsx)(o.b,{to:"/tables-datatable",className:"dropdown-item",children:e.t("Data Tables")}),Object(ft.jsx)(o.b,{to:"/tables-responsive",className:"dropdown-item",children:e.t("Responsive Table")}),Object(ft.jsx)(o.b,{to:"/tables-editable",className:"dropdown-item",children:e.t("Editable Table")}),Object(ft.jsx)(o.b,{to:"/tables-dragndrop",className:"dropdown-item",children:e.t("Drag & Drop Table")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),oe(!ce)},children:[e.t("Charts")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:ce}),children:[Object(ft.jsxs)(o.b,{to:"/apex-charts",className:"dropdown-item",children:[" ",e.t("Apex charts")]}),Object(ft.jsxs)(o.b,{to:"/chartist-charts",className:"dropdown-item",children:[" ",e.t("Chartjs Chart")]}),Object(ft.jsxs)(o.b,{to:"/e-charts",className:"dropdown-item",children:[" ",e.t("E Chart")]}),Object(ft.jsxs)(o.b,{to:"/sparkline-charts",className:"dropdown-item",children:[" ",e.t("Sparkline Chart")]}),Object(ft.jsx)(o.b,{to:"/charts-knob",className:"dropdown-item",children:e.t("Knob Chart")}),Object(ft.jsx)(o.b,{to:"/re-charts",className:"dropdown-item",children:e.t("Re Chart")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),ue(!de)},children:[e.t("Icons")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:de}),children:[Object(ft.jsx)(o.b,{to:"/icons-boxicons",className:"dropdown-item",children:e.t("Boxicons")}),Object(ft.jsx)(o.b,{to:"/icons-materialdesign",className:"dropdown-item",children:e.t("Material Design")}),Object(ft.jsx)(o.b,{to:"/icons-dripicons",className:"dropdown-item",children:e.t("Dripicons")}),Object(ft.jsxs)(o.b,{to:"/icons-fontawesome",className:"dropdown-item",children:[e.t("Font awesome")," "]})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),je(!me)},children:[e.t("Maps")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:me}),children:[Object(ft.jsxs)(o.b,{to:"/maps-google",className:"dropdown-item",children:[e.t("Google Maps")," "]}),Object(ft.jsxs)(o.b,{to:"/maps-vector",className:"dropdown-item",children:[e.t("Vector Maps")," "]}),Object(ft.jsxs)(o.b,{to:"/maps-leaflet",className:"dropdown-item",children:[e.t("Leaflet Maps")," "]})]})]})]})]}),Object(ft.jsxs)("li",{className:"nav-item dropdown",children:[Object(ft.jsxs)(o.b,{className:"nav-link dropdown-toggle arrow-none",to:"/#",onClick:function(e){e.preventDefault(),fe(!Oe)},children:[Object(ft.jsx)("i",{className:"bx bx-file me-2"}),e.t("Extra pages")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:Oe}),children:[Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),Ne(!ye)},children:[e.t("Invoices")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:ye}),children:[Object(ft.jsx)(o.b,{to:"/invoices-list",className:"dropdown-item",children:e.t("Invoice List")}),Object(ft.jsx)(o.b,{to:"/invoices-detail",className:"dropdown-item",children:e.t("Invoice Detail")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{to:"/#",className:"dropdown-item dropdown-toggle arrow-none",onClick:function(e){e.preventDefault(),we(!Ce)},children:[e.t("Authentication")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:Ce}),children:[Object(ft.jsx)(o.b,{to:"/pages-login",className:"dropdown-item",children:e.t("Login")}),Object(ft.jsx)(o.b,{to:"/pages-login-2",className:"dropdown-item",children:e.t("Login 2")}),Object(ft.jsx)(o.b,{to:"/pages-register",className:"dropdown-item",children:e.t("Register")}),Object(ft.jsx)(o.b,{to:"/pages-register-2",className:"dropdown-item",children:e.t("Register 2")}),Object(ft.jsx)(o.b,{to:"/page-recoverpw",className:"dropdown-item",children:e.t("Recover Password")}),Object(ft.jsx)(o.b,{to:"/page-recoverpw-2",className:"dropdown-item",children:e.t("Recover Password 2")}),Object(ft.jsx)(o.b,{to:"/auth-lock-screen",className:"dropdown-item",children:e.t("Lock Screen")}),Object(ft.jsx)(o.b,{to:"/auth-lock-screen-2",className:"dropdown-item",children:e.t("Lock Screen 2")}),Object(ft.jsx)(o.b,{to:"/page-confirm-mail",className:"dropdown-item",children:e.t("Confirm Mail")}),Object(ft.jsx)(o.b,{to:"/page-confirm-mail-2",className:"dropdown-item",children:e.t("Confirm Mail 2")}),Object(ft.jsx)(o.b,{to:"/auth-email-verification",className:"dropdown-item",children:e.t("Email Verification")}),Object(ft.jsx)(o.b,{to:"/auth-email-verification-2",className:"dropdown-item",children:e.t("Email Verification 2")}),Object(ft.jsx)(o.b,{to:"/auth-two-step-verification",className:"dropdown-item",children:e.t("Two Step Verification")}),Object(ft.jsx)(o.b,{to:"/auth-two-step-verification-2",className:"dropdown-item",children:e.t("Two Step Verification 2")})]})]}),Object(ft.jsxs)("div",{className:"dropdown",children:[Object(ft.jsxs)(o.b,{className:"dropdown-item dropdown-toggle arrow-none",to:"/#",onClick:function(e){e.preventDefault(),Ie(!Te)},children:[e.t("Utility")," ",Object(ft.jsx)("div",{className:"arrow-down"})]}),Object(ft.jsxs)("div",{className:Lt()("dropdown-menu",{show:Te}),children:[Object(ft.jsx)(o.b,{to:"/pages-starter",className:"dropdown-item",children:e.t("Starter Page")}),Object(ft.jsx)(o.b,{to:"/pages-maintenance",className:"dropdown-item",children:e.t("Maintenance")}),Object(ft.jsx)(o.b,{to:"/pages-comingsoon",className:"dropdown-item",children:e.t("Coming Soon")}),Object(ft.jsx)(o.b,{to:"/pages-timeline",className:"dropdown-item",children:e.t("Timeline")}),Object(ft.jsx)(o.b,{to:"/pages-faqs",className:"dropdown-item",children:e.t("FAQs")}),Object(ft.jsx)(o.b,{to:"/pages-pricing",className:"dropdown-item",children:e.t("Pricing")}),Object(ft.jsx)(o.b,{to:"/pages-404",className:"dropdown-item",children:e.t("Error 404")}),Object(ft.jsx)(o.b,{to:"/pages-500",className:"dropdown-item",children:e.t("Error 500")})]})]})]})]})]})})})})})})})))),$l=Object(i.b)((function(e){var t=e.Layout;return{layoutType:t.layoutType,showRightSidebar:t.showRightSidebar,leftMenu:t.leftMenu}}),{showRightSidebarAction:ea,toggleLeftmenu:ta})(Object(Jo.a)()((function(e){var t=Object(r.useState)(!1),a=Object(u.a)(t,2),s=a[0],c=a[1],l=Object(r.useState)(!1),i=Object(u.a)(l,2),d=i[0],h=i[1],b=Object(r.useState)(!1),j=Object(u.a)(b,2),p=j[0],x=j[1];return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("header",{id:"page-topbar",children:Object(ft.jsxs)("div",{className:"navbar-header",children:[Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsxs)("div",{className:"navbar-brand-box",children:[Object(ft.jsxs)(o.b,{to:"/",className:"logo logo-dark",children:[Object(ft.jsx)("span",{className:"logo-sm",children:Object(ft.jsx)("img",{src:il,alt:"",height:"22"})}),Object(ft.jsx)("span",{className:"logo-lg",children:Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABVoAAAEsCAMAAAAFLfgaAAAAh1BMVEVHcEwAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKSwAHiEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADqLUDqLUDqLUDqLUDqLUDqLUDqLUAAAADqLUAAAADqLUAAAAAAAADqLUAAAADqLUejGU1AAAAK3RSTlMA0KAfEO/mQH+/YN81L6twj08UCQS9uTn59EiYJk334
1sY0jqdUG1lhtrB5HJuulAAAJMFJREFUeNrtnWljnDoPhVnDFgLMTJvJ0iTN0oRL/v/ve9u+t7dNswySZdmGcz63AzH2gziS5ShS05d/Hu+urq7uHv95iCAIgiBzPdxeXz3/0vXNlx2GBIIgyFC3188vdfNli1GBIAjia/f15vm17mALQBAE8fX16vktXX0x/+msKC/GpzEp71OMMwRBIKsEW08vjqZfysdvsBggCAJZTdnanuynF4oHjDYEQevQw/tk/Z7MMvjhLp9eKdlgwCEIWoNunz/SLfdnt8n0luJLjDgEQSsIWq8/ROvVVyZZx+ltNS3GHIKgxeuf52cLYeu7ZJ2mGJ4ABEErD1qfr66FyTpNJxh1CIIWrsfnQ2IUCXxI1mmqMewQBC1bNwfR+ihN1qmBJQBB0LJ1fRCtN9JknaYO4w5B0MrRek3cQ3WYrFOMtloQBAGtJLKeHCTrtD/FwEMQtG60XpHQOiNm/a4SAw9BEKJWYbJOCQYegiBErcJknSr0wIIgCFGrMFmnOMPIQxCEqHUeWU9mknVqgFYIgtaN1pu5lVLzyQq0QhC0bMntxiKQFV4rBEHL1qMUWmf7rOjQAkHQ4nWo89XzzM5XJLKirhWCoJU7AvP6tVLcgO8qMO4QBC1Zuy/PAqcMEMkaw2qFIGjhbL37EK13FsgKPwCCoMXr4xNd51ReUcnapBh1CIKWri9XZuUBVLKiXSsEQatgqy5ZP6NbKwRBa45b5xyLRSbrEewACIJWzNZrKzHrEdpgQxC0Fn29+xuuV3dzKqToZEVJKwRB64Lr1Z9gtVHPCrJCELQ27XaPt//fmnVz+892VqqJTNYcZIUgaH3aPvzU3H8NskIQBElz2BZZd2198SmO46f+2yWGGYIgkFXAZ9101f6//3P2+R79BiAIAlkNybqrm797uZyvZESL/4TKX5+fDlwtKEA3IH2r7Wu/4ONeiqEsqyp+6ySGaizLocBRNy5xWpZJVTVvTeefjweYhQIh63Hz9nkvSwzj2rqv8lmn3SQlAKurrCiTKp95GFFSFvjMgPwm6+nRew1eN8tauUNfEQewGUv7EVJBUOby4hY/zrOiHJuJqrwqh8yPB6Ohg6+S1ON781o7ZbJO0+flJLPaMp6Yqizj1eVBETVrRBLpVx772fwIAHpbeJ0808GGy6XH9yYXYLZ12V/05X0q1nBqq07WaeqXwdUhacwmTj7W2RLR2vJgJjgWbVcJLOy4bIHWVaD1+PdreF91abBknfYLSBi0fSMyeazR1R1as5z1nkl9ezQ/vZtkAFqXjtb2ZP9yKvabQMk6TU+hg7WOBefPOCwLrbyxaf3j6q+F1gKtC0brrjx7/Ua9D89nXcIpsFmZC8+gpkyXg9aENQS1yJMRfeX98Xy6DGhdKFo3o40rOyOrcMZCVWliZRIlxULQ6i6F1Sa5vUUu93yAVp/Qmr5nyl8E6Ab8DANCLcDKemvTqBqWgFZmCksA6ZXlZR7XQOvi0LqJbSTbHZI1WEegzG1OpKYOHq3MFJbx93bdKCz0RiTlCLT6g9bNRwbSNzZZE4dkDfMg2ML6+o2LwNHK8jrzNgSw/rzTMgNal4PW9MMvnYaZANk5JauZk+HIC0g0JlPVhoxWnl1SBwLWn8ugBlqXgtY0tgGp3YlTsk4nCFnf9XiyYNHKS2H1YTwXKdsGaPUErYfIOp1xOkxvHZN1GkMja683n/IhULS2LKO1Mrpk5WDBm31ZAK1+oDWNbVzeOVlDi1qzWHVGjVmIaM1Y8WNj8LdmvaMlb/JlAbR6gdbNjCUdk/sJuM1gCXwEaqvNlaeUwMFj+mhlBZAmKayhcbbmDb4sgFYf0LqZFSxRJyc9g3UuTdawKgTqPMBJpY5WXgTJR1Q2OiUSu+8w0OoBWtN5n6HfbJNVPGadptOQyOpkVpmaAtporZXXzpA7RhI3cAVa3aN1JlmJ1/eCrE0Gsh40erKQ0MrzTNjZTJ1KOCtvP6DVOVrnkpVWfuUFWUMqa62dzaumDQetvBQW++3RNl5QifWEgFbXaJ1NVlK2feuBzzpN+1OQ1XKKRxmtvBRWGuBDMc4ZAK2O0TqfrJSuQTsvyBpQ6ZXbRWzCVlW08lJYzMt6YQb8t/gyoDUstBLISihk8sMNmM7aUMjaOp72BmzVRCvvBcSsElGuMT5oaqRAa0hopZB1/hT1JGYNp/IqdZ2FNjjWRBGtvBRWonkxj15/QKtLtJLIOnth+ELWYPpg+xAfsTM9emhVTWENvpGV3LEFaHWIVhpZ57aV3npC1qdgzsr2wtOrvEcrL4XFI2s9+agaaA0DrTSyzs0JkWPWMztk/RxMSevgSaLEc7TyUljtgshKYyvQ6gytRLJO53bImq+drFke4LrVR2ut+DeVk6/qgVb/0Uola7UDWa2o8mXu88oElNCqmcJKJn+VAK2+o5VK1nlBK8gaqh3wM+PjL1qZKayFxaykuBVodYNWMlkvQNZl2wHEz01ltLJCe14HiXryWzXQ6jNayWStNjbIuvoMlm8hUuEpWlkpLJ7B4TtZZ7MVaHWBVjJZm0sbZJ0Xsx4vmaypX9M/9hOtg00EhUbWuX8Y0OoArZcgqy9KQpv/LtDKS2H1epdS1rxwHGjVRyudrK07si7aDfAtaOVU2NtHK2+zGqtFaxoCWWduSwZa1dHqCVnhsxoHrc1Y1sUfD6courIyhEPiH1pZB6iw9rd61pHF7K8DWrXRmoZE1mW7ASblAXE/vPOnpnXSGMyy1De0slYcL4WVTKEoAVq9Q6snGSyQ9Yc6brhaHgBg2+cWF60qWnkprEHzcbhQB7R6hlZksHwSL7qsZhGq5oauqVdo5eWVWEulmEJSAbR6hdZL6npDBsuiWntgNYBr4hNaee4na3+r9OaNpqr68pf6qhL2cQ8mHIFWTbRewmf1SYxCeNrJySWLFqlHaNVLYfEu9eYzqvq6eOsWsqI2TjP+1qESiIosyqs4Jv96LYrWSlS1Olljhz7r4mNWjh9APTY5ja2/wq2ilZfCYp2YIGO05kl9KBoxTDNS7FaLo13ILwfSw/ZrJachkXX5MSvDD2AsJkbSu/EGrbwUFmvVS1S0xuXcuoS0E7AH+IfuAK2y8iRmRQaLHSdp7dwcPEErL4XFC+aMWzs2PY10aWccu1ZAqx9kbUBWv1RpkJXD1tEPtCqmsIztgIpT7VWY1tF2QOtyyXoBn5UtrSwmna2ZF2jlpbB4XpmZHZBwP83T3ujCwpYA0Lp4sq4iZqWWUVZKc5YaH1tDKy+FxZsJoxOw/gzNjUqORqB1mWSNyGSd9dm0jpiV+g1qsn5HiyvWFlp5KSzeKYMmJz1UppFjamILFEArYlaLPusmRLISc/eJyaXIx5+4RysvhcW0o/kJpWYQmAkFv1ygAVqdqg0pg0WOWZ9mxqy7zfF919Xnl9sQs1hmsRF1D+fgGq28FFavsKZfXjBzQBUZBx5oXQ5Z3boBaff07y/v44ti58FjUTXVEmuMsoNWlvnJtKPZO1wbOb603MA1z4DW1WewXJL170xs9c05XDN7pabm+Igdo5UVxTWZymvn9+tO1OLvmXeRAK3hkDVdHFnr1z/7dOn4udC+0TPVeUu5ng20snpQ8Vq08k96kN5nWjOD5xRoDcUNWBxZszfDkqPzgNBqvu+GGLYOLtGaaqawmEFrXrhfqtJhK9AKspLIuvn89n/e106fDGki9crXy2uHaOWlsLj5HF7Q2rQWpgTz/JgUaAVZnZD13Uz8fggGrQIfn7O93XzsKNyQRysrjGTn+VhXi+1UUmesTgYJ0Aqyfig7e7CyT+//wFEbClolJnIij1UraO1UWZd6RFYu6FOgFWTV91k/ffQTn3YrQusgj1UbaFVNYfFYFlvc/Zc4DFuBVrdkDWp36+aTndSHgCpttEa5OFYtoJWXwmJbO5lnZOWxNQNaVUXvfL0in1Vllcih1eaibZLa5ItSFq28TE6ns5x15gzDby2BVk3tPoGsh2fp/Yqi1locq/Jo
1ZXmNBh/E9Hqn3PbbmPF2aYBWb728ZfqsM+g1rgitmThWxdGqm8LitLLN7ac+GRtva6BVT5f56sk6J2xvnHXNIu2Sl9n5E0tjVRqtvBRWqvR+U3Pn6YemVUCrnnoLZF1UBsveFLEwkRLBOSGIVWG08lJYBmEkvfKqV5kb9GA6BVrVclhHwcSsdvqzziSruxoB2u4ooRUrjFVZtPJSWLXxu4ayTnz8pBFLZAGt8u+9oNyAJ6EMlmhy1bYXLrJxLEst/B1yaNVOYdGTWHmqNDnIvcsboFUraD1BbYBPX3jGL78q8lViaOWlsExunWztdmqjSr61FmhVejJNIGQ9dpfBchy1EhdPsXS08lJYRpVQ1DBZ8/1G9SoSoFUpJMqFyRotrjZAPRD5S8Q0cJMtG62sFJZhJRT1kqnisFIrsHKgVcnI288n65yk0ELdgO/6FgSTJtFu8h6iVT+FRY+TdT9wqFUCBdDq2efEmn3W79ofO3tGVJh0S0YrK4XVay0SJ98NlepgAK3Ss2Z5PuuGtMG3cXe866gbo3mNVlYKy9T6bPwefmJQ3QCtXhkC6/ZZv+vCHZPoOCmXitaWQ1bTKDJVR5fdsDUFWjX0bR62ZvmsSyary8Q7IyWeZItEa+YghUV+tdW+T5AOaNXQ8Swjr7JD1ns7ZJ21B4v4pv/kEkoMoMTtEtHKSmEZb6IYPQ9aqWHrCLRqKOvdxayzyHrsPoP1Q05PdR05RCmzxaGVlcIqVW/cTRJxIN1hDrT68lSqdVddOXZaI04Tjp/hU70wtLKGwTxEo31u507eaLREWwG0amjbyMSs1E0h+3t3ZM3Izb83TqHEO6Z5muJhSWhlpbAEOv3Teji4qSqm2cEl0OrFU6mskPUsJLI2ro3LmMlWryJXQ7TyUlgC+6JodoybqUI7uWsEWnWeSuNtBsuHetbvOjp2TaV6Yqsp02WglfV6kVjXJKTHjgaXxP8caNXR/WJqA56s+Kzuyco6TvSPIGVYAFpZKSyJlFKqfkVLKRPBylagdab6pVRdLZWsTLD8EaYkbeBoZcXtSXjQ0omtB6BVR7sTXZ81qAyWF2TlNdJ7aQz0bcBodZXCoq7j2Nnokl6+JdCqpO07bP0EsvpBVoNElj90NUArL4UlUwZVaTJLyY6vgFa1uPXNm73Y2iCrUzcgVLKaJLJ8oasBWlkvFqG/NHdwTdt2fA606un81extZiEQPquSmklITTL4j1YB1QEiS+27JgNaFU2B+sWzibsNyOoRWYnZlENZrTpbOlqlSvdJLvfocIKQvh4LoFXVFSj6T81+mvZHVX++tfA8XfusIZOV3DnuoN3WpUtGq1g+ieTEuGxCTnr31kCrNl2z9PIy3eysvCmRwTJSK46fpi+Wila5Rv/l5BYjdpyLcj1oLSWk/mDJZJ11vhT2YAlMqNnWwJAtEK25XDppDCZCopit43rQKiLtyg+yz+qSrFXoZBW3BP5bZkrGa3gpLOqgV06nx6h3p0ArYtYlkZVX3TnPmdQwXvUWQi9415Qxd3uWLgU4OdDqMVrt+KzH8Fk17VZNuqqtg9HVXbs9SpdUywC0+otWOzErMlgfqrY6fyzTVa04QNLfIDVnKZxODtKtpkCrr2gNiaybpZDVNlunKbbou4aXwqKGgo7bN+q9BYBWf8iKDFYgbJ2mpAgbrbJ7zRS/so0VA63ho9UOWbEHywu2Tk2XhYtW4UVAORmlcTw1KBO9A1q9RCvxYHa3PuuyyBpFRa4wlWyEriprIHG4iivHMyNRYwXQakntGTJYDtXGGpOpEXddg0thhYbWEmgNHa1PIKtTZZXKdMr7NDS05mm4uAJagdZ7L3zWpxX6rGyvm/15nYaFVvllPAaEVkqDlhFo9Q+tu8+oDXCuIQ8PrvZv1sLJ4FVAaKVUM1RAq39obffybkAag6w0pfEUGlyDS2FR0VoDrUCr2t81j6y09kKr9lldzK8yCwOtpWO0FkAr0KrlPs0kaw2ycj4f1ALXfAgCrTZWMdAKtGqhNYvFyZo1cAM8n2JVGgJa5QsEgkJrCrQGjdY0lyYrdQcCyPr7YYxac0sgcFW4y3jVaI2A1qDRejk7i7WvLUxfkPWvj8BKa3aNmf9oFe3UCrQCrbpolY5ZiSUH8FldwbVp/UfrNACtQGuoaD0TJistiQWyOoRr5z9aZVsKhoXWDGgNGq2bRpispCO2Pm/gBrzluSY6WwiSzHe0SncRQIUA0KqF1l0lTNaIEGKurfM1IWLpGhVwpb6jVXjjANAKtGqhdVaQSSEroYMvMlgfadAoFzD44NZaBrUrtA5AK9BqtIKFyTofrfBZD/kCZeMxudTqxFpHaEUPAaDV7NPz4PLd01ZfDLIKvvgSb9mqtg6aDGgFWgNE68E/jEjWue1f4bPOfPXVsZ9s1VsIo5tVjH6tQKvhZ2cjStaZzUfhsxKeUBd7yFbFldA5WcUj0Aq0mqkTJWv0DWQNja6152iVW88hHeDSA62hozU6kSRrdJkLkTUDWbXoWniO1jxzsIpjxw8cJ7qGj9ZNLEjWOWYrMlie0ZXTY0p1LUhFkJTU0BQQWgug1Uu0RpexRNXVL92LkBUZrHeyWlbKXWPP0Sq1GEhozdw+6gloDR+tUfrmG/LonPVj2wo+q1W6Dhb2wfaeo1WogL+d3FKE8pgpt9oCrZ6iNdqWr9u0PF0yf+wcZLWtoW9c263Kq0GoL7abwgTPvQug1aqOx5fNAON6x/6tHj6rfbWlqPE
1a24RUXL1Qo3KDxnfdO32+HdC6ELR+h2sf/6Jrkwxbkxj4E8gaXFqrswipv9ZjxmKrCOkoX0Nuq696vTsFWu3bApfnXVl231pDA3/37vf8EzJYvqa1qAVOJm5Dy7rDWhmtudMnWwGtC0KrnDaf3/yTEvis/tK11EMrbzVJNGohXTh1+VgVUQG0hqRd+focl7Nujn2LmNURXYlhq1mOjHWSgkBf7E47TOaKlMXq1oPWCIpO/wpc9yezgg7ErM5811IRrRmrfizRJVbi8Hl2kx7vgNbQAtci+Z2uaC7mERAZLL7a3qzetVFEK41xcnFkZm9AZEX6DMmA1rVpU3QXJ+NJ353OfPggq5lqo3LXQRGtpAy4VG38d5HePg7NVpKVEwGtEHxWj+E6aqI1YhkYxn2xK9UgWce4qIBWCD6rfZV8WyDVRGuaW8e/abDsrmUr6TZ7oBUSjllPMWhvMaviorXTRGtUq2xtMLqosw4tjWZwDbQuXPBZxdQxA9dYFa0R7+Avs8VN263gyhGg3WULtEIgq9LSZFZipapozVh3adgXm/TWceUIkPyAPAJaIQc+68PXLzc/9fXrdj3DmSW2v7YlAk3ehlezrA1tnjlyBHK98QBaOdo9PNze/dDtw8NKyfr17ub5P93cPqwHrp1laol8w7Nu0myfYmnrXSOoQXfbJtBKBevj3W+qXN097tZH1oc/RuD/w7AiuA4cw1UZrRFvg65JX2zaXgU3uwZoq6EAWnX1eP0XVq4f1+azvhqCH5Hrl/UYrgy2Fspo5W14NeqLrUdxrlJbr0OgVUBf715T5fl2XWS9fX5Tj2CrxMelELB5G15N+mLTQkIXTVsT5TsEWilkvXqTKjdfV+QGvENWsFUmJS4VC/Nayhl0Tukm3c9teqShWugLtEqQ9bvXaMzWbdoeH19uduGSdU1sre2Fg2J44m1w4FecEssS9MNW4sumBVo9IOvzlRlbN/VJfDZN0/6o6k+F6Lr5pE3WNbGVXIOlj1behleDvtiN32ErcTyaCGhV0+76A6oY+K2XFy8eusnBhK581l/GyM5vILad1DYgcpqoVUcrsdTov+mXKb1utMNW4u0lQKuePsYKN2J74zzt6jhMsj4/e1wmUJRVLnV+KcMSKPTRyuwvyGYKFeW6RQKt/t0BrcZ2gEnEdvmWJbY3tdA3bsj6fOMlVdO6j8WnEPHzt3OAVl5/QX7+hhjJN6pbsojWcx4BrWq6O4AVVth6/M4KNetnpp/B8jZsbbuxkU1O8MLW0gVaW147Ge4YUQ1ozVPqaq3YHWilB60HIzbGVvrTo/f+1D5IsnoVtmZFWdn7Cs0CQCuzvyA3nBy0GK7gjQ9AqzdB6/PzgyBZTcrqMndk9QataZ3EFj4H/tQYAFqZG165jamIJomc8y0+Dk0EtHqE1ltJsvKrYBxlsPxxBIpuzBVWM61MsnKD1qxhsZX5qd4rXce6HSDzBgZaZfyA5+c7Klk//kh5YroBTsnqGK3ZUB4K2cVyJ0UIaG
1X2F2Su9FTpOmTDnew5p0BrwGg9PfS8zwPzWR2jta2TOSGaWIP7NAi0MvsLMvtik0sSco3DXemtweMIaPUJrc+kHVkfugHssNU1WR2htSjHuYFJInbRMNDK3PDKK+inp81ihQosuuFcA63horU4OvxGvwzMZ3WD1qEnwSNfG1p5/QWZbiP9Won1CULfOZFHQKuadsJonUFWRpEAmayNNFkdoDV3EpFQ0do7QyuzvyCv/IjRb8s2WxkFaCXQGmzUWuQ2Jt3GeczqAq3UD97KCVpLd2hlbnhl2aAp40K1b2SdUqDVr6j1RpisU0zbO+vcZ3WD1tLRwgkHrcwNr6xcTuIZWzlkTSKg1a+o9U6YrNNRFhxZb/SfTO1o5RThoJXXX5A1UJyw1SJbWdvRUqBVUw/XYmid5bP+0NkmMDfACVpTR0unsEMPK1WhvP6CLORVPrGVRdYqAlpVJbbRdTZZSWjNvCCrk9qr3E3YSjMiCqdoZX2n83YEFmoBsiWyylEOaBVyBK7ntWcp5pOAULftCVlvXDyZ0c3ioV22dYvWjGm3MqpOeXW0iYX6Vt77pIqAVs8cgX+kyTrFs3tpeeGzutowQN9vJLLZhhYsR27Ryu0vyIgmmVtrY+l9WRmvNc2UAq3a+kciaKWQdToJjax3Th4MI3MiULhII0jjGq3MDa+cBmy8YHHKZenSNpPWywRotRq2zjt3kETW2dPaF7JeP7h5MoxFZD6TacWilXO0MvsLMnqqphNTkn2wOu5NpECrvr4YB2w0su5PLfmsjR2yOmvNwiiJz02tPeL20d49Wpn9BRl9sUsu1mKp3thp5QPegdbZelQl69xIx5MM1vOVs6ZXHHfPtC0IER+1e7RyN7yOtl878mTr2DeQZ0CrC21vjMh6nttYjpbcgAOHLPpEVpYjwO6kz6NH6wFaudEkHXc1G61TY86YouJfvo6AVjdsfbzSI+u8+gBLZJ2xQ8IfsvI2ySeKVyS0UrLpGDOZQ1/2BnCbKjNXIE1Mrh0Brc781istss7rhG2JrIfKIfwiK7PeZ+R//A32QmSbzGN+qdO/ktvJREnqBqyiOSyglRy4vtqVdffVCllnJT4s+axRdh1IButf6RXE/58c1IfZ+YFW7obX2O6yfiN65JGmNQOr9FFdQCuRrQ//XL8A684KWcedQ7LOaqHoTczKN/eYpZRWj1qy+6XO6y/I6Isdm0Fuajrqey+rTa8ZR0CrYz18fbz5qbuv88AanZ8Rn/LnORPLlhswp2GCV2TldLfnxyl0slKOXrZcncvED7kvdjsZa6wJdB2S3PiCLdAanEIja3QTGFkNSinpH9W51aDPMlqZG17pfbHLSUBjNwd3aT1KXKyMgNbgyEqdzk+zyPrJGllJaPWBrCallLTGIFlvORyyjFaud0L3peNJRPlYFu9fOyu6sZG5UBytGa2lqIqgyZrZI+uOUnrlBVmNgqS8nI+NmrOOKX6AdbRyt/iTa9XSfBJTXiVlVxS/X1FtUdRlUkleIl01WmVVekrWz47JemBLr5dkNQlbpymfWe7DLEbvvEIrc8MrvZp+mELSEAGtgaGV7LM6dwOi3ZfgyGo8keKDOZOsZjJpyrxCKzfDRO+L3QdE1j4CWgNDa4BkJUSt/pDVLGz9qeqDnElmkCmhfUrbRyu3K5Qzu1VBcQS0BoZWS2StrJJ19jZXj8hqtHH9D0+vrIvXmZLEiBGpb2jl7kMd9V93SsozoDUwtJILdZ7mNA7I7MassysEvCKr2cb1v2KYqqp+JDrHqjIPvIhA0kArF3nkvthtGGzN2whoDQutZLKOmRdknYdWz8gqUaVuQ4V/aOX2F6QX1ddBoNXSgbJAqz2yngVK1llmq29kdTqXpJxWJbRyh4reF7teL1mB1sDIulEg65xurf6R1c+0SeolWrlDRe+6l3hP1iQCWsNCK52sc3xW2xmsf3UXIllFq9SFRC7qUUIrd6jKxbHVGlmB1qDIquEG/NBjiGT1sEqdnnpWQit7qIqFsdUeWYFWkJURtvpJVv+q1Ol7fLTQyh0qRp1Ssk6yAq0huQFqZI0ebsKLWX+o8mrhMg7gUkNrxrRbGdX1ySrJCrRaIeveSgarUiPrh5aAx2RlA8OKGAdN66GVXXTaL4etVskKtFrQPZWsJ1vfyPrB8Vg+k9WvVBZnveihlbvhldPJJFkhWYFWC2QN3Gf9mK1+k9WnHUBd5DdaI2ZfBE7/vc5DsnYR0BoWWslkPfGSrFH0+FYrgRvPyeoPW3kxkSZauf0FOec1+rd3oI6A1rDQuhiyRtHD3d9bB65ud1EEts4R80x7TbSy9wYnAb/xfoXebQS0hoXWRfis/2oXfb37I3K9ur59iEKQD6uYexK3KlrZy48T8aU+ZRjjNAJaw0KrJbK6iFn/r+3j4831D918+RKFIvermEtWZbRyi9VYMV/mTzIrySKgNSy0LilmDVmua7DYZNVGK7e/YMP6A2s/TIG8VpmEQKugzpfjs4YupxHSyA+KlNHK3vA6sq7W+mAKxG0EtAaG1rQBWb2Rw5S0Sb2kNlrZe4M73cvJqdeagUCrnE4W5rOGrbZxNLGM6iXV0cpuxciM/YrGKVibIgJag0PrPXxWvwxXJ6ZAbrZK9NHK3b/GPVAqcxm49lkEtIaH1gpk9UyDftqkMly7+mhlWycV94LOHNeq1Zx9QKuUiAcOncwpvofPGljgajypHKCVnfLj/7FOSgWUCgOAVnG00r5zEpBVRarWnkDu2QVa2aVq/BvI9Bd+mUVAa5Bo3ZHWcIIMltoM14qQcokZ5QKt7A2vucGeplT3gyJJ9Sce0Co0Pc/EyQqfNSRXYBRZvE7Qym5MFZtcVBGuDsAKtMqlTKTdAMSsYlJYxJXQ4nCDVm5/QcMiUSW4OgEr0CqmWpis8FkDgmsjliFxhFbuhldOX+yXz8W2XZM7AivQ6uCbCmR1A9fcf7A6Qyu1vuU3uUwzd1lpM9HYqCevgFZ3aIUb4Mpz7aws4kp0WbhCK3slxubsGkZLS3wcXM43oFXZEABZHWqQ9gXyXvhz0xla2YfhSpwwlXbyuwjiLnU72YBW3S8qkNVx6FoLnqc9yhehu0Mr+8BGmUFoe8lviqZvnU81oFV1Zs7zWVF1ZdV1rUd/oyJ3aGX3FxQ7C6UVil3jrvVhngGtmh9UyGB5ErsOZjFSPtaW0iMO0cpu+Ndkgg8mMQtem6TOPJlkQKvinwKyehW89jEPqzaDooog6dvIxoqn2osHM8V9nXo0wWqHj5J4eWFJ+2SXBx2BC/isvqnoEoL70lTlkGLQdB5MXxHM36rvCgzaYpWIkBU+q378WnTlWH30IVpVfTlg7ar7NkVdJtVHIWxcJWVdZBiqZetA2HqBDJbvaouiKF+oLooCcaoHL7+i6Mo/1eHBrEmlOVnhBkAQBL3UbgRZIQiCpLWJ4bNCEARJK30Hjj3ICkEQxNabbZfPZh2fjKorCIKg91S/KuKpZiGQ7LM288i6LeryIrko6+MdHg4EQcFqU/7puO6r+1lIs5TBOr1o9r/uJC5bPB0IgoLVtuirJj/Lj5qnrp0XK9rxWY+f9i+diQSlgBAEhazssm3T7dx/bYWsu3L/egN8h0cDQdBaPAQbZN08vd1jdIPxhiBoFRGuDZ/1vTqwKYbjCkEQyMoj6/b9H23AVgiCFq/diY0M1kdtjWN4AhAELV2lDbIO1k+KgyAI8ljF3gJZdwfatN9j3CEIWrQd8MnGHqz7Q0ddbDHyEAQtWOdW+gZ8PvQ7CFshCFqyTmyQ9fAxXSNGHoKg5SrNbfS6qg//Ena8QhC0XA1WugjOOFAejgAEQctVb4Os0dPhHysx9hAELVajDbIeKr36eaIMxh6CoMWqskDWaDsDrchjQRC0XMUWyDoragVaIQgCWknnYM3ZhnCCsYcgaLH6ZIGsUXRx+Bd7jD0EQYvVhQ2yRt3hn8RpAxAELVe1DbJGp4dbvhQYewiCFqvWBlln5LEa9GeBIGjBqiyQdYYjAKsVgqAlq7NB1t3m6OMf3R9j5CEIWrA2jUR/ViqxUXoFQdCaw9YjZni5+9BoyC8x7hAELVq7JwtkjaLLBpVXEAStWB9A8MjAEj3N0ZoFgqAV610IHhklm4r3UlknKLyCIGgFegeCTWsYDr/tt16ArBAErcMTeAuCT8ZnrOzKs9cZrBrDDUHQSrTt/g5cm24n8Lvtycstr2cJzsSCIGhFSss/s1lxtxH63bZvftF1H5couoIgaG2R63l5EjdHTXxSFpJ26Pa4Li8u+rJudxhkCIL80f8Aj0/cBu5v2ckAAAAASUVORK5CYII=",alt:"",height:"17"})})]}),Object(ft.jsxs)(o.b,{to:"/",className:"logo logo-light",children:[Object(ft.jsx)("span",{className:"logo-sm",children:Object(ft.jsx)("img",{src:dl,alt:"",height:"22"})}),Object(ft.jsx)("span",{className:"logo-lg",children:Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABVoAAAEsCAMAAAAFLfgaAAAAmVBMVEVHcEz6/f/3/P/////5/P/////8/v/////////////////////s9v/4/P/////s9v/s9v/s9v/s9v/W7vfs9v/s9v/s9v/////s9v/////s9v/s9v/s9v/s9v/s9v8DqLXs9v/s9v/s9v/s9v/s9v8DqLXs9v8DqLUDqLUDqLUDqLUDqLUDqLUDqLUDqLUDqLXs9v////8DqLX3TEEvAAAAMHRSTlMAH3GfEO9hQH+/zzDNUd+P8foJA8DaGK+aj4LouK9JbaY8XDUmwi0OpNkwi17tG0QYgRLwAAAkHElEQVR42u3d6VbjyLIFYM2DZQkbY4wwUBTzXDLv/3AHqO4+VAFYEZkZmSntvc66909ju2TpcyhyUBBI5e7Hj/vHx8fbHz9+BQiCIIh6Fg+3j8//5fbHNQ4JgiCIYh5un//M7Y8nHBUEQRCFXN88f8ztnZ4XTy5egmOMIMjoZL18/jT36qzmOzvL7iV7OzsXuzjSCIJAVmVbk8NZ9//Ml9kCBxtBkNHLqmhrtu7+yvIchxtBkFFkcfP8TfhjWclR9zGzAxSuCIKMIXeP39F6y6Vwf9p9mlPYiiDI2IvW5+cHpqzL7ouc4pgjCDL8ovV7WZ9vWS2Br2rWN1sxUwBBkJEXrc/PnNmt38nadREOO4Igw871Nlmfb+gvmnwra7dOcNwRBBl0fmyl9VJzzfqSQxx3BEEGna39APp6162ydut9HHgEQYac+620PhN3GNwuK8pWBEFAK43WPrJ2Uxx4BEEGnIVuWpM+snZTdAQQBEHVqlnWrqtx5BEEQdWqsxvwmhMcegRBULVqlhW0IgiCqlW7rKAVQZBBZ/u81se+81qT/rKCVgRBBh19q7EosoJWBEEGHW17COxTZMUMAQRBhk2rpp2vaLIu8YRXBEFG3RHot18rTdZuD8cdQZBhl62P39P6o8+LJDRZuwMcdwRBhp2H7+cHXBuQdRbisCMIMvBcqnZaqbJ2OzjoCIIMPU+3X8t63+Pv9
16mydihaEQQZs619Jl7RZT3DIUcQZAS5vuXLSu4GYHoAgiBjtvWxTzeALusUDx1EEGQstv54ZD0TC7IiCIJ8mcVfuD7ePvT5s33IiiAI8q2u17/ub/7pBNw/LSArgiCIpjy9ped/bLQbEJ5hdywEQUYYY7KeZ9PpdN110+m0vsJxRhAEsqrLen70/m/mRxl6CAiCQFY1Wavjj383lh0I8/+C5Woufzs5DgZiLoZGsKr1J385j4Z8xdZFUZaTzceU5aoo6hxFu01OiyIuy+aTbyd9+3rALOJHzXow+/yPB2lrlbVluumRMi4ArPD5nb+Q2uvL+f314DYDcVvWL/98YLYmdVtuaGlWhfkKKScksfnmBm/OX1RdNRtq0rKoEze+GIls/SkJHf5skHWotlbFZMNMaZhXymfR/Uky1hGJdf/ksb+bl0xaU7xuHEux7QMXDn82Tdndrw/+Sb3vr6yD2Yiwjhu1EyddGZwyYZHWioeZxmNRRaWGC3tSVKB1BLQusun83XDQTmhJ1n1lWQexjqtqGy0njzFd7dGapKzfmdC1r+atdxPXoHXgtJ79jeBs58KGrOo160sy32HNJhrPn1U9LFp5x6Zyz9V/zG8r0DpcWi92PntM9Ymnsnq+zWtSpJrPoKYIh0NrzDoEWn5tE60/ee++nygBrcOk9Xxm4sFU1mTtZh6veQ1jIydRnA+EVntDWFWcmrvI9X0/oNUhWs/XJh76Z09Wj5/7krTGTqOyHgKtzCEsDaSXhi/zSQZah0br17Kq2GpnBOvfl/JU1iI1eSI1mfe0MoewlO+3s0bgQm+0DDmCVmdordbf3Vpf+Cirp7Tmxq/fSe45raxeZ1r5AOvbJy0S0DoYWqvZd0bNl0xZ9+x1AzylNYklTqay8plWXrsk8wTWN1wz0DoQWs9nW5Ridehs9lnfJjfseydrLnUBt4m3tPKGsFo/vhddbRvQ6gatW2Xtprv+ydrNa99kbQULo9pTWitWo7VUesvSwgWvdmcBWp2g9bsRLP6yUbt9Vh8bAslE9IxaJT7SmrDqx0bh35q0li55lTsL0OoCrVc9ZKVPErAvq2+0VqnwKZXmHtLKKiBVhrDqxto1r3BnAVodoLXqI2t3ROwIWB7B+t1r9UrWLPXwpBKnlVdB8olKVlZFKkPQ6i2t2/usv0Nb2rQ7tS9rd+yVrFbOKtWmgDStmfC1U6eWSeIWrqDVOq3n655Okaa2Ji7I2v2ErFujuMmeMK28nsmKXbLGDqDE+/UDrbZp7S0riVYH+qyvEwRyyNpjgKfyh1beEBb716NqnFCJ9Q2BVsu0XvWWlUIro89qQNZubwFZDQ/xCNPKG8IKPfxS/kwEWn2jteovK4FWR2T1qB9g9yJWsVWUVt4QFvNtnWgG/Js4Aa1e0VrNOgO0ujA3wK+itbJ82ivYKkkr7weI+Yw04TnGW5saIWj1iNbzNUWqvjMEnJgb0HXdzJuiNbQ9Cq3wWBNBWnlDWLHkmzn08wdaLdJKk3Wv5y2JGyNYXbc+90VWF+oj9kiPHK2iQ1i1a7KSd2wBrfZorUiydgdWZd2hvqpHD8ZyoqdXOk8rbwiLJ2u2cTEZaPWC1iuarPN+36uhESy6rMe7vshaOzJQ4jitvCGsakCy0mwFrbZoJdasXZcYktVIn7U79mYIK0k9vG7lac0E/03FxtW0oNV5Ws+psp72qQJ3IavMfa470wSEaJUcwoo37iYGrY7TSpZ13Wd+gCsjWD7JWrtz8k/cpZU5hDWwmpVUt4JWK7SSuwG9no3qTp/VH1mT1MfLVpxWVmnP26I127idDLQ6TOsVWdY+7QC6rEtDsgb+xK0SKXeUVtYQFq/B4bqsvW0FrRZoZciKmtVMQrdO/4mbtNYmCfJN1r7/MNAqT+u5EVkxgjWEEZPCRVp5Q1it3Fs5Od4IWsVprVCzomj98qpN3KOVt1iNtUVr6IOsPZclg1ZpWiHrYIrWZlVk+bsKJs+jolTEIXaPVtYDVFjrWx3bkUXtXwdahWl1pc+KESy16QGTtv7i8gqzWGUD59A1WllXHG8IK974khi0ukYrRrBcSsQtV4stAFZtavCiFaWVN4RVS34dNhKBVrdovZp5NII1eFkDXnVZ9hIq45auoVO08saVWJdKvvEpOWh1iVb0WZ1KZQ5WBVxjl2jldT9Z61t1L95oyrIt/k1blpr7uFsHHEGrIK3oBrgVxkR42pOTC5YWoUO0yg1h8d7q0++obLP8s4+Q5JnyMGP/KRAlOZSf4gn51TOttJZakw1E1iVk5fYDqI9NDifGf8KN0sobwmI9MUFPozWNs20DaIrDjJR2q8GjbeBZyaQv26kLGbJ63w9gXEyMQe/GGVp5Q1isq17HjNZJ0XdeQhhpaA/wH7oDWm3L2gMrjGAJzg+QWrlZO0IrbwiLV8wpb+3YtDTpwki5di1BK2RFn1XD1cxsCNFtXblBq+AQlnI7oOTM9spV59FGoBXdAMiqPITLHsWk25o4QStvCIt1iBTbATH31jxsld5Yc0sAtKLPOghZc7G7P/JgUOYCrbwhLN5TBldWYH27hpSmHK1AK2SFrIr3oCrX78rgFWuKVt4QFu8pgypPeihVK8dQpS2Qg1b0WSHrX6FdUbHKW5Eff2KfVt4QFrMdzR9QamoNZ0LOny7QgFbIarvPenF1evyaw4t9N76WUqxopa/hrG3TyhvCagWu6T/fMLGgit51RKAVI1gqsiaHp///i9lO7UKdK9pUi40ZZYZWVvOT2Y5mr3Bt9PlScQvXNAGt6LPak/Xk72OwV1v/XhJzU03V+ZhYppVVxTWJyM8Oe2nc92mZnyIGrZZy4cjTWizKuns8//iHke22AO0ePRE9bynvZ4JW1h5UvC1a+U960L3ONGMWzyFoxQiWHVnPlvxP5Aqt6utuiGVrbZPWUHIIi1m0pvptqRrLZStoxQjWf7L2eIT3mZL25kI6kVrh90szi7TyhrC44zm8orWpDJwSzOfHhKAVsrokazdfht7QquHms3dvN11FFDf008oqI9njfKx3myRGzomktFq2glaMYBG6Ac4+SKvYCJ/IsX5WjdAaiVoXOiQrF/oQtGIEyylZu3k2Jlpr/ayaoFV0CItnmTlZeZ8nBq0YwXJK1q5bJ/a+nlKa1iDVzqoBWnlDWOy5aYljsvJsTUCrZKqBy7qrLmvXRZ7QavKibeJM5Y5SL628kZxI5nKWkJW1c2wBWiWzN2hZj7TI2i3HVLVm2lnVTyur16hwQ0yf75SavtNh/Lo0oFUwh46MYIVGZNVTs3bd7HxEtCbaWdVOq+wQFmcr27QyfmYwFt5moFUs+2s3RrDMyHq00COrzY7ASuaO930mulnVTStvCCsU+n3TiNiWXh75U5Wg1dmi1a9uQI8PW/d7qR1r31AhdMv7Lq1uVjXTyhvCUigj6TOvWpFzg15Mh6BVKmuMYPXK3A9aU01XrGZW9dLKG8LKlH9rKL0HF29ptA1kgdYeOZnp3+TEpxGsuu+LzfygdaNlp67ExPIzfbRKD2HRB7FSqfV75L3LG9DqZD/AUM0aWpP1rHOfVtpNXxm4Gm208oawVD46ubUr15nPBdsioNVYP6DPek+vRrDqzgNaiRdPPnRaeUNYSjOhqGWy5O9bK1m9g9b+maEb4DqtxGHgJhk2rawhLMWZUNS3lNzOhzoDKwWtztE6vBGsOeVz+mHSRutu8g7SKj+ERa+TC9HjSp0lkINWx2gdXs1KkdXmSlcqJtGQaWUNYSnOhGrdvm8oRQ8GaNVN6/F4R7DeYnHvq5VsjeY0rawhLNXWZ+P24ScW1Q1odYpWv0awNPdZu65b79ozic5JMVRaK46sqlVkKE6X2bI1BK0SmWusWY9MyLo4pMu60C5rd2TRJMaQeJwMktbEwhAW+actc/0EiUCrRHbQZ+21FuunTZQYoEyqIdLKGsJSXkSxcrxopZatK9AqcrMJWV0vWhnN1remQDI4WllDWIXoB7cziFjTynjQKpHz2QhHsGryq55bRSnjkLJpsoHRyjoM6iUa7XY7tfKLRhtoy0GrRJYOy8rpsxqRNVpYRYn3mObNZlIPiVbWEJaGnf5pezjYmVUcyRbyoLVXReTuCFbgxgiW1TmtCj1G1ypXRVp5Q1ga1kXR2jF2etyJbCUPWnt9KUsrsnrUZ7UvK7Mj8BvXIhwGrayfFx3XNYn0iaWDS/I/Ba0i+X65J2R1QFbW40TfFSn1AGhlDWHp+OpC8Xc0P5AVglaRnI6qz+qjrExY3pUpceU5ray6PfYPLZnaugatItmfujg3wJkRLCcqvnyjmqatPKbV1hAW9TqeWDu6pB/fArRathUjWN2hI43KyWbju64KtPKGsPRMgyolzRJqx5egVaqVdzwAWYfbDVAcyHJFVwVaWT8smv6lqYX3NN2OT0Gr3FjWx6cNLM+sjWChz/oxzUZTmrh2n1YNyTwkS+y+JgGtYtmN/sR1fdDrr1CzSqXWqE4aZ8nQadU1dZ/U5V5ZPEHajZx3oJX28xydzudv+sznB9kuZHWmz8ro+fVot0XhkGnVNp5E6sTY/C2uBUt60Eoez9oPD05PT/b3g2AxOFk7n2vWgDlIvqXxmg+VVn0b/Rcbu4yY6VwU46G10BHlf8Tij/+HmtWtFAYISuM6GSCtqb7hpJU3FRKl2boaD61aIjvzw9AaLPRZpVoC/11mQo1X/4awqAe9tHp6rOQ+KWh1TFbUrIq3f
1KmpM2ci0XiVuxBajZ+acsztPkuXAk4KWp2lFbIOot0qqavYdbCy9ant3umQ5jKAVldpHfgIlpuyals4YEdXsckBOvsbpM1ZcqsnB+mjhqDVTVpRsw7S1heWDPZd/RvCopaClrdvlPsVAK2QdWCymrd1s4lzv2nVu9ZM8C5bORPQ6jutCWQdsq2bJkr8pVXzRUB5Mkpj+dSgTGaIQKuLtB46IuveCGUNgjwVOJVMlK4i10Bs8SouLZ8ZsZgVoNVMfs6osl7Yk7UbmqxBUE0kTqZGe9fVuyEs32gtQKvftJK3vkY3QHdDphQ5ndI29I3WNPSXK9A6elpzyGo9rdAZFYd+0ar/Ml55RCtlg5YVaHWOVmrR2kvWCLISr6LUP1zNf1gDTwYvPaKVMpuhBK3O0frTgKzhEiNYxISTjW+4ejeERaU1A62gVYzWXiNY+yZkXZwMWVbR86tI/KC1sExrDlpBq0JIc1rXvSqeQ9SsnFRihWtae0GriasYtIJWKVqnursBQbJGn9X1U6wMfaBV/wQBr2gNQetYaO0nK7loRc36/4tp5VHhKjGtddS0BqB1JLT2lHWx1i/ryThkfb0JLKXOrlXiPq1ad2oFraDVTVp7jWC94jCDrF7g2lTu07qpQStoHTit656yBjuYG+ALrpH7tOrdUtAvWhPQOgZal71HFA5Rs6r3XGOZJQRx4jqtuncRwAwB0CpF61KzrCRaIeuXFUvUiMAVuk6r5oUDoBW0StEaaZY1mUJWPaklpgso3HBLXQaZLVpr0ApaFXKucQTr7V4WsurrCxSNw3KJzROrLNGKPQRAq0p6bM+yJsgaLHYgq87SNXbWVrHroElAK2j1j9btI/qUmpXQa4WsPTss2cRNW+UuhJWdqxj7tYJWpezPtPVZKbRCVkJjIJo4aKvglRBZuYpXoBW0GixbqbL2pHUvgazu6Jo5Tqu+69mnB7i0oNVzWr99oCuxG/D6cjPI6p2uueO0pomFq3hi+QvHE119pzXY/RLD+Zosa7A4QjfAO105e0yJXgu6KkjK0NDGI1pz0OoircGZlrkB/yaDrEZHtYxMd504Tquui4FEa2L3q96AVu9pDc6Wevqsv0urGWQ1q2ttYB1s6zitmibwVxu7ilC+ZspHrUCrm7QGu0efUDZlroKM5uizmk7d6l5NkDtOq6Z9se1MTHC8dwFaTebk71pzmi24r7UHWQVSFVobrxOTSE3KP9KIfEDlT91a/X4j0DoMWoPk8Pg9rGe7/Je6WqMb4N+wVmQQqb+ux4RlqxbpKGNDdmdftXKfFLQazSIIrqrjo7ecXO0qvdbFGrJ6N6xFneCk0m2oWJ8wE6Y1tfrNlqB1ILRqzRe2zjPI6q6uhRytvKtJx0YtpDcObX6tglSAVp9s/XRvwT6jvJDVlq7EslVtjIz1JAUN+2JH0mUyN6RRrGg8tOJiD84+4Hp8Almd7rsWgrQmrPljsaxYscXvM9rIeQdavcpi/+A9ruuDXt8JZFVI1arNd20EaaUZp6+OTMwdEL0h3YYkoHVc2b04OHoZGHv93/l+AFkFkilNd60FaSWNgOuaG/8S0q+PxWYrqZUTgFYEsjqM60qS1oDVwFDeF7sULZJlGhclaEUgq/kU/LZAKElrmBrnX7VYtrdlK+ljtqAVgawCCUsurZEkrUEmsrRB6U2t7dDSSBbXoBWyQtZ+iZiF60SU1oD34C+1i5u2WsFWR4D2KSvQikBWoUtzYrwjoEHDhPUpFffFTn3oCJD6AWkAWhELst79unzLr7vFiI5nEpu+29ZRaPIWvKqN2pQ+dARSueMBWjm5fnq4ecuvp8U4ZX26uXz+L5c3T2NqChhWS8s9POtDqq1TLEz91mhMLbtsE7QSc3d/+46V+6fxyXp9//xXxoRrzWm4CtMa8BboquyLTVurYGfVAK2yzkGrLKw3f6ny6C6uhmR9uHz+kNuHETVcGbbmwrTyFrwq7Ystpzg3oamfQ9CqnsXD4yesPI1K1h/Pn+YHbNVyc6kJbN6CV5V9sWkloY1NW2PhTwhaCbLefKrK4z1kha2ahsR11cK8LeUUdk6JNrK32+QktA8YgVbrsr5E1db9i4vs+Pjg4iLxVlb1g+BRMnPloDaeeAsc+DNOidMS5MtW4o9NBVrFcn3zNSsqJdviZOe/La6XO4d6dD2ZScs6qrqVPAdLnlbegleFfbEbt8tW4vFoAtAqlu9YeeT3W+u/Hie4jjTM6JKvWV+bzteu38hHupYBkYeJKnFaiVON/quvE6GfG+myNRZrjYBWYm159/gdK5fcVsAnz2k9/ikv6466rG6XrXlRprqeX8poCeTytDL3F2SbQqVcdpJAJf/pQGtPWi+/Z+UX61V/fvpElvmJl7K6WraGWTvRfgoRb38jC7Ty9hfkj98QK/lGdEkWsfWcBqBVKr+2sMIpWxfRF9LNa1lZD7XI6mLZWkWrRu/gBK9sLWzQWvG2k+EeI2oDWvIpddlGvB8AWvUUrayyNfrSOpW61cYI1r9lq0uqJnlRmrsLTTyglbm/ILecrKUMF+iN16BVrNO6lZV7jbKq2JrP7HQDnKI1zOLP74ZbbW+x8oBW5oJX7sZU1CcxTMTOB+pxaALQKpXttD5ea5S16/Z2mbLO7cnqRkcgj1apwNVMmyZZ2qE14T13hnmr3m4cbQmQq/cWtIpVrTfbWbnWKWtP8TT0WXXKapvWpC62DVdoGzvJfaCVub8g80oPhd6H3HAn95xD0CqW2+2s3GmVtZtd+CerTVqrLO5Tomnb4D70glbm/oLMfbHJUxJSiYe70rcGnwSgVSyX21m50Spr1zG6rSczu7LaojUvVn0Lk1jbm/pBK3PBK29CP33YbCIwA4vecM5Aq7e09pC12/NqBMsarXVLwiMdG628/QWZ3Ub6e8XGTxD6yok0AK1O0XqvV9ZuSb1Zyue2ZbVBa2qlIqHS2lqjlbm/IG/6EWO/LdO2MiagFaDV16o16gdf7Z2sNmgtRW51VWkt7NHKXPDKaoOGjDfKXJN1E4JWt2i90ywrsdlqvc/6GgsPGygsXTj+0Mpc8Moay4kds5UjaxyAVsHc6pt81VfW7syvPqulJQOZpSsn94dW3v6CrAPFKVsN2spajhaCVsncb18y8KRZ1m7pm6xWaA0tXTq5GT2MzArl7S/IIq90yVaWrGUAWiWjbaFrf1kptLoh67OVhw+mdspWWiMit0or6z6dty92LlYgG5JVn3KgtVeuL/WwQpC16/9b7sIIlrVNBVd2Lh7a21Z2aU2Y7VbGrFPePNrYwPxW3u9JGYBWtzoCl9pl7T+M5UjNaqdoZaw30rLYhlYsB3Zp5e4vyKgmmUtrJ7rXZSW8rWk2IWgVztOjhj0FSbL2nnx14oisl3Z2wmaMnGiYuEgTpLFNK3PBK2dfbF6xuEn16lLxNqbR2ZoArVrK1nv9svbdV9CVmvX5ydI3w7iI1M/k1tBdprF/BbOIqyR+6rTO1Ff5JdFZtILWnll8223tNT2AJms3Xfgl64Otr4YxJT5Vbe0Rl4+29mll7i/I2Be74LI20bU3dli6wDto7T2S9XVL4PFOv6zdgU8jWBZlZXX3VLcFIfKR2aeVu+B1ZfpnR79sEfsDpAlotZEHUVlnvW5NDNWs14/+yMrqCLB30ufpUTlAK7eapHOXsWndNOrG5CX/7bMAtFrJr0s5WfsRaEjWPut63ZGVt0g+FnxHwlZKJjvGTHPol70CbptSrSsQxirvHYBWWz2Bz8i5NSJrF1qU9ZdXsjLn+6z4N3+1uRLZpHnMO3X6XXK1UUkc2oFV6xgWaCUXrn/fKd/+uDYia58NBH4akvX60itZ2fuPcG0lTxKN3KCVu+B1Yvay/qR65ElTqcGq+1FdoJWUxdMfXYF+sNJlnfeS1cwI1gutnsnKbe4xp1IafdSS2Tt13v6CjH2xJ2rIbZqI+ruXZKrvOQlAq+Xc3V3+zsNdv0ny9Jq1zxMGTHUD+uxF45asnN3t+XUKXVbKo5cNz85l8kPeF7vaKGeVEXSt41T5DSvQar1yJf73dFmniU1ZgxvfZFWYSkm/qU6NFn2GaWUueKXvi11sNGQV9eEuzFY63qwIQKtn8U5WWtXqgqwqUylpG4MkreFyyPSaMmbvhN6Xnmy0JF0V+dfvneTRqtHzRpNgzLQWWpP7LOtPg7I+UUaxfrjx+6VQJKVFfzYyznVM6QcYp5W7xJ88Vy1MN9qSlnER5fn/f6KqPM+KuNT5FuGoadWbArJ+0Uv2T1aVsnWzSXtO92FORo+copW54JU+m77e+JQ6AK1+0epfN4BEqyuyKp9Ik61jJknGvfNMnKKVO8JE3xe79UjWNgCtftHqo6wEWt2RVa1s/T2Z8psxk0RhpIR2K22eVu6uUNbarQKZBKDVL1q9lLX/igGHZFVauP6up1dk+ceRkljJiNA1WrnrUFfyP3dCSRPQ6hetDFn3LfdZKTMEnJJVbeH6XzVMWZavA52rslQvvIggSdDKJY+8L3blh61pFYBWr2ily3qQuCBrz3mtjsmqY5a6ieTu0crdX5A+qT7zglZDD5QFre7IetZjNYKArP2ara7JavVc0jdpSYRW7qGi74udjVdW0OqSrE7UrEFwfeujrG4Om4RO0so9VPRd92LnZY0D0OoVrR7L2qfZ6qKsWmep25rUI0Qr91AVg7PVmKygFbJ+zK9HH2V1cJY6fehZiFb2ocoHZqs5WUErZP0kP7yU1b1Z6vQ1PlK0cg8VY55SPE5ZQatHss6lZN0ytdVZWXXOwNIRxgO4xGhNmO1Wxuz6eJSyglbUrNRJAg7LygbDSBgPmpajlT3ptB2OrUZlBa2Q9dM8eCmrW0NZnOtFjlbuglfOTibxCGUFrZCVZqvbsrq0AigK3KY1YO6LwNl/L3JQ1igArV7ROhBZX2z9rN96+RAEsNVgTSRJK3d/Qc7zGt1bO5AFoNUrWgcjaxAsPi54vbkOAtjaK8xn2kvSyl4bHHv8i/dv6V0FoNUnWheZI7IeaPnn3N28X5d1e3MXeBEXrmLuk7hFaWVffpyKL3RphHESBqDVK1oHVLP+k18Pl7evuXx4CLyJ/auYK6swrdzJaqyaL3FnMCtOAtDqFa3Dk9XT2J6DxZZVmlbu/oIN6x+YudEUSDORkxC06gu9G5AZkfUgQKxWSCt+USRMK3vB64r1bpULTYFJFYBWv2hNlkPqs/oei0PSKvMlpWllrw2OZN9OX1qpMxC0assRZHVqMKuxdGIpzZcUp5W9FSOz9ssbq7A2eQBafaOVvMQffVbDDVcrTYFU7SqRp5W7fo37QKnEZuHaJgFo9Y7WI9SsrqWWHzYpFa9deVrZrZOS+4bWOq5lJXn2gVZNyef6R7DOIatnhavySWWBVvaQH/8fa2WqgNDEANCqm9ZDyOpiRFt7GsaebdDKnqrG/wCJ/IVfJAFo9ZHWZI1ZV26mkKqQUh1nlA1a2QteU4U1TaHsDUUcyp94oFVL9iHryLsCKy0XrxVa2RtTTVTeVBBXC7CCVm20ziGrsxG4iEtNF4cdWrn7CypOEhXC1QqsoNUGreizDg3XRtsIiSVauQteOfti/
1/m9mG7XpJZgBa0WaIWsdnBN3YfVGq1BzpVLdeQuKUwONDbig1eg1R6t6AbY6rlGRi7iUutlYYtW9pU4UberXhm6xFe1zfMNtArTClktptbdF0hbzbeb1mhlPwxXxxOmwkj/KoJJFNo92UCrLK2Q1XLpmml8nvZK/yR0e7SyH9io5yBUrc57iqatrJ9qoFWUVvRZHei6Zit3qyJ7tLL3F9T2LJRKU+06iSoXzjPQqieLHcjqUe1aq9VI6SozNDxikVb2hn9NovGLidWK1ybOEkdOMtCqKYeQ1bfitZ3wWDVZFJWE6P4YyarkJXPii9lM2ix06ATLLH6VxLfXHM19sqs5+qz+JY9iQu+1KYs6xEGT+WLaktD8Ldsox0Ebag5Qs/pav+ZRsSq/uxEty7aoce2K923yrIjL70rYSRkXWZ7gUA06FzPI6nmqPM+LP5LleY461YEfvzyPiveJ8MWMJ4sDyIogCKLd1lPIiiAIov22ZQ5ZEQRBdOdkDlkRBEF05+fxZwTOe8m6NiXr7msW+HIQBPE3hx+F3Nu3KOvP7GD2mml2hi8HQRBvc773p4DTs11r3YAkWv5uUbz93+XpOb4eBEG87QocTpe/+VtPd372uhM3Iut+tPy7M3G6i68HQRBvs1u/Zb/nf25E1nD5yd9N0RZAEMTjLN7+11PWtZSsr3+6jy8HQZARRFTWrpvCVgRBRiDrTFTWF1uxmwWCIENPYmRuwPK7F4hw1BEEGXZ2dwzIuoi+fYU5xrIQBBl2ciPzWbe8xhztVgRBBp09E2uw6m2vcogDjyDIkIvWuQFZk+m2l5mhbEUQBEUrbd+Aq+0vhIeRIAgy3CRrE3td9RgZO8axRxBksImM7CI47UErNhlEEAS0kna+7tFlmFc4+AiCDDWZkWcK9GngYn9BBEGGmt2lkae1gFYEQcYcwiJXynOwQCuCIKOmdW5CVtCKIMi4GwLHRp7dOgWtCIKMOZkJWYPD7a+4DHHwEQQZavpNvjolvuqF/pdEEATxJ+Faf836Quv20bEdHHsEQYabqQFZ+6x0RT8AQZAB58zIrXu4beYBnuGCIMiQczUz0hTdVrbWOPIIggw5B0aGm/a/bzRMcdwRBBl0FlMjA/kn326EjXYAgiADz8ncyBSpCE90RRAEtmqffBpBVgRBxtwS+MrWU7WXjSArgiCoW7UvmLr6rI27hKwIgowkVwcf5mDNTtRfNsk+7Ad7hBEsBEFGi+ty50pLr2E3W76riNcZHuSKIMi4chFNZ//k8Ezj655Hv194J4p2cZQRBHEn/wP5SsviMkkArwAAAABJRU5ErkJggg==",alt:"",height:"19"})})]})]}),Object(ft.jsx)("button",{type:"button",className:"btn btn-sm px-3 font-size-16 d-lg-none header-item","data-toggle":"collapse",onClick:function(){e.toggleLeftmenu(!e.leftMenu)},"data-target":"#topnav-menu-content",children:Object(ft.jsx)("i",{className:"fa fa-fw fa-bars"})}),Object(ft.jsx)("form",{className:"app-search d-none d-lg-block",children:Object(ft.jsxs)("div",{className:"position-relative",children:[Object(ft.jsx)("input",{type:"text",className:"form-control",placeholder:"Search..."}),Object(ft.jsx)("span",{className:"bx bx-search-alt"})]})}),Object(ft.jsxs)(m.i,{className:"dropdown-mega d-none d-lg-block ms-2",isOpen:s,toggle:function(){return c(!s)},children:[Object(ft.jsxs)(m.l,{className:"btn header-item ",caret:!0,tag:"button",children:[e.t("Mega Menu")," ",Object(ft.jsx)("i",{className:"mdi mdi-chevron-down"})]}),Object(ft.jsx)(m.k,{className:"dropdown-megamenu",children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{sm:8,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{md:4,children:[Object(ft.jsx)("h5",{className:"font-size-14 mt-0",children:e.t("UI Components")}),Object(ft.jsxs)("ul",{className:"list-unstyled megamenu-list",children:[Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Lightbox")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Range Slider")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Sweet Alert")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Rating")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Forms")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Tables")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Charts")})})]})]}),Object(ft.jsxs)(m.f,{md:4,children:[Object(ft.jsx)("h5",{className:"font-size-14 mt-0",children:e.t("Applications")}),Object(ft.jsxs)("ul",{className:"list-unstyled megamenu-list",children:[Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Ecommerce")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Calendar")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Email")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Projects")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Tasks")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Contacts")})})]})]}),Object(ft.jsxs)(m.f,{md:4,children:[Object(ft.jsx)("h5",{className:"font-size-14 mt-0",children:e.t("Extra Pages")}),Object(ft.jsxs)("ul",{className:"list-unstyled megamenu-list",children:[Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Light Sidebar")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Compact Sidebar")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Horizontal layout")})}),Object(ft.jsx)("li",{children:Object(ft.jsxs)(o.b,{to:"#",children:[" ",e.t("Maintenance")]})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Coming Soon")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Timeline")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("FAQs")})})]})]})]})}),Object(ft.jsx)(m.f,{sm:4,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{sm:6,children:[Object(ft.jsx)("h5",{className:"font-size-14 mt-0",children:e.t("UI Components")}),Object(ft.jsxs)("ul",{className:"list-unstyled megamenu-list",children:[Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Lightbox")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Range Slider")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Sweet Alert")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Rating")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Forms")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Tables")})}),Object(ft.jsx)("li",{children:Object(ft.jsx)(o.b,{to:"#",children:e.t("Charts")})})]})]}),Object(ft.jsx)(m.f,{sm:5,children:Object(ft.jsx)("div",{children:Object(ft.jsx)("img",{src:ll,alt:"",className:"img-fluid mx-auto d-block"})})})]})})]})})]})]}),Object(ft.jsxs)("div",{className:"d-flex",children:[Object(ft.jsxs)("div",{className:"dropdown d-inline-block d-lg-none ms-2",children:[Object(ft.jsx)("button",{type:"button",className:"btn header-item noti-icon ",id:"page-header-search-dropdown",onClick:function(){return h(!d)},children:Object(ft.jsx)("i",{className:"mdi mdi-magnify"})}),Object(ft.jsx)("div",{className:d?"dropdown-menu dropdown-menu-lg dropdown-menu-end p-0 show":"dropdown-menu dropdown-menu-lg dropdown-menu-end p-0","aria-labelledby":"page-header-search-dropdown",children:Object(ft.jsx)("form",{className:"p-3",children:Object(ft.jsx)("div",{className:"form-group m-0",children:Object(ft.jsxs)("div",{className:"input-group",children:[Object(ft.jsx)("input",{type:"text",className:"form-control",placeholder:e.t("Search")+"...","aria-label":"Recipient's username"}),Object(ft.jsx)("div",{className:"input-group-append",children:Object(ft.jsx)("button",{className:"btn btn-primary",type:"submit",children:Object(ft.jsx)("i",{className:"mdi mdi-magnify"})})})]})})})})]}),Object(ft.jsx)(tl,{}),Object(ft.jsxs)(m.i,{className:"d-none d-lg-inline-block ms-1",isOpen:p,toggle:function(){x(!p
1)},children:[Object(ft.jsx)(m.l,{className:"btn header-item noti-icon ",caret:!0,tag:"button",children:Object(ft.jsx)("i",{className:"bx bx-customize"})}),Object(ft.jsx)(m.k,{className:"dropdown-menu-lg dropdown-menu-end",children:Object(ft.jsxs)("div",{className:"px-lg-2",children:[Object(ft.jsxs)(m.v,{className:"no-gutters",children:[Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAeCAMAAACR41cYAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAJ/UExURUdwTCEgIB8fHyAfHyAfHyAfHyAfHx8eHiAfHx8eHiAfHyAfHyAfHx8eHiAfH5jU5h8eHiAfHyAfHyAfHx8eHh8eHiAfHyAfIAQBAxgWFiEhISEgIAwCACAgIB0bGi40NhkVFCAfH5za8FBncENVXKTm95vZ8Jza8J7c8R0bGhMTEx0cHCAfHyEgH73//yEgIJ7c8QAAAIfF6TM7PwwJCh4cHHm45SAfHyAfH5za8CAfH5za8Jza8Jza8Jza8CAfH5za8G6VokRVWxIKCJza8JvY7pza8DtITTlFSZ3b8AMHCgAABJza8ElBPDA4PFVLRK3z/zEvLRcXGEVBPTA5PJza8AADB5vZ74XD6QIAAIrJ67T+/4HA6BAIByAfH4zK7IrI6zE4O7D5/yAfHwEAACIgIJza8BUWGAACBhoaGvXLsQ0PEZ/g957c8RATFf/oy1p4hfzRticqLIC+6Jrm///jxiMiIvDEq//Xu/bHq//fxG5eVRgXF////P/z0P/22lNHQv/gv//877H5/xcTEhUOC76cicyolCcjIf/avdivlpvY7mZaUQMHC1lNRfrNsPTJr//o0v/cwf3WuHtnXIshF4VuYvTEqfrcyM+oqOrW1PTm4v716zM7PqHf8v/t1SkpJsD//1RueGebxaPn/IXK/TVIV3OapbmXheK0mNuymv/GrdWZhu/Tx+u7pI54adymkf/658+dlMifn+S1mafq+7uhizYvLeLCufLs7/rk1mNVTf/NrtOskqeHd8aXlXFgVv/kwZU1LNW1neK9tJAuJsCMirJwa+nKv9zFx2CRtVuKronG6naszSUnKUZaZG+TmUFPU3agr3GkxIu8xSfH+3sAAABzdFJOUwD97RwqJTMat/4VL6DlCwmSOh2qV77yhGEIms8njIj9+xEk6wESA6CMcwRtUGQlwnjIs9iu9u3fsS5e3hvwhB66hguP9eJfotdT9nPf4o7mPNW62Kc/5MnTMeRzzcTG3/LkYv////////////////////54WQMpAAACTklEQVQYGXXABVMiYRgA4BdYdhkExa5TR8Xuvu7u7v5g2V06XFGxO7C72+vu7s74Qaczd87sIg/85yeUJMMCsUK+FFzIEEISvwSZxF8iSwpEczyBT4L4xMAXhniE4CIQ8QRgwCMWID458PgipEYag0ZD07TGYHCgOcuBI1GIWA3lqEcOrVbrUNdXUzSLfIHDB7EG7fXGi411tRdq6y7dedrl1KjTgGMNop3PSm+WGO35+fkNHSUlpT0U8geO4ABneUX7w9tXWxmGKXzU/7HyyX2tBLhCVT0vh/q7b7W3MW1Fb169H6p4TIXAP1IRQfiIMV/qRUXl8+4HHUwnY//w9l1lZ7kzHBP7EIRICpg3juMemLd2zGwcHOjrLbjB9PYNDI72sgYc88Bx3BsDQiSN9FQCpFDFxrKyVvO1KwXmwtGy0i4qBUDpGSkVEbDA73D5vYIGo/2y3Vhkfl28PQl4NoQABAdl79vV0lzc3LLnwP4dBPB4rbNkwbwM1byMRHAVk7qe3gIAyWpWIBCwKAgWFTS8dfdBQY5cIMsRsv6wuARLhIU+rUBhKCQgFNwIPrYkTR6uVqjD80LBvWxhIFKgsLxT4IYy9XyWJbo6ujo64tyJvbGwiM1H9OM/kalmosb0bXhct2m1F/DExpG6KZPqxy/Vd9XsrGriro5cEQVcUSSp05s+T0XU/HGM6T6Z9DqSjAcur7Vkk77KNjnzu+rrzKStSt9ErloGfOk7yRGr1Tb9ZdpmtY6QG+NWgivlofTMk2dyz+YeP5oZvy0GFvwFlSbPVswTomsAAAAASUVORK5CYII=",alt:"Github"}),Object(ft.jsx)("span",{children:"GitHub"})]})}),Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAdCAMAAABopjdHAAAAwFBMVEVHcEwAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4MAT4Mri5Y4AAAAP3RSTlMAIwhydxy28hIWIc+je6u9P/b9BUziKJcMxKdZAjyMXjfXu8Hm1eou2t0z+rKRRq+A7my6Qp/M34PrU1YPiL7YsJ9AAAABbUlEQVQYGW3Bh3aiQAAF0EedoSMiYu+isdcka7Lv//9qYTib3eR4LwB9b9yilWBtefeN2NFR6h3WJOfeLIqizn3REiQXgdaEMSdb5uiaWTLXc+mOH5+XOSlGaJDJDN+NSJ7QILn0zcegcJ2SpWUvaZcleFROk44d+jf/MF1sWHlHl895OPI5GyM+10bML97US/iXiazB2jIo8uJtzlqSQptQWZ6hxzoMQaU1gGVTCfUsbPnaR0hllkG2WUkCmCQDmFRuEk2TlcSESdJAQCVoAj0q4YfWXrRduaXyC0BKRQRAARwFK5sxAGdL5X0YW/HniUrkomQNWVt11lQ2swFq4+GK/7RsA7XrzkKWGu3Q/h3Z4c7YQw5yVHpiYTpAX1quJZuATKO1hsqLR+H556smc6mNH0c74dZBxbFZEuv77DLtTARLZx2Vvs+f4j6UIX+yUCte+V03R60/PvA/ouvii7N/m742yESsLrtejsofWqVrkBSdwYAAAAAASUVORK5CYII=",alt:"bitbucket"}),Object(ft.jsx)("span",{children:"Bitbucket"})]})}),Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAA0lBMVEVHcEzEI2HDI2HDI2HEI2HDI2HDI2HEI2HDImHDI2HDI2HDImDDI2HEI2HDI2HDI2HDI2HEI2HDI2HDI2HDI2HDI2HDI2HDI2HDI2HDI2HDI2HEJGLDI2HDI2HDI2HqTInxU5C9HFq7GlnyVJHEI2HpS4jwUY/BIV/tTou3FlTCImDzVZK6GVfUNXPfP32+HVziQ4DaOnjrTYrFJWO/Hl3MLGrKKmjAH17uUI3cPXrXN3XSMnC1FFLoSYf1V5T4WpfPLm3mR4TIKGbQMG7wU5DqS4gW3fYwAAAAH3RSTlMAlnPA0mVNzNyLQuQo7zUfxPFVXWx6pPMCRX/1A3yvLDJKvgAAAk1JREFUGBllwIV2GmkUAOAbIUD8bCrp2v1dx10ZBmbf/5WW0DZtTz/44X518fzwef3pwyP87uZKiJhRSlns1iv41f2Vpk
173bdumYVUwff0FfvKS07rUNJz4wrlJwpqJj/Dug2D5vNsHrPUS0Sx+rgqxhW/+EKxsuMpEoKWSiCj5rqTiTzh7EqzkSkof0WBPMkRpfORYIW7hzZrmjZKIGd8HrPUSCe8Cmx7pA5zcOpp4iYhSSRfkxvOxtDacUNeXALBmR45n0reUhSaMh7jlxnfsAeDJ0YRjZoxaiG8OsXBDsB95JtWs9S2s4spz1Rg5R+mxcrWu99Gi8ETt6RYu6qrr92WV18wOVuSFyHYZZojIU/YMVzkdBmstK0QVtpgUQTepE0KmhG5go8uwD8M0SkZD/LQrg7zrj8c+TJO0voMNjSa1ELIoY3jT9rlzwWCtHQZbizu4oinHN7LhyYENTNeHtG3bri+F28AFCwmeyKXpmaWHJAxytVsIX3YpfYZVcTAGUfLxYIND1ExzwVqOJ7ynW3hycUJQ8lnbuGu8yZrSlipDbEanvwCsWe8lH7XViTcSkXc2Hw1Kn7LPrwA3ukimLB/c6PGNSmIaEakyV/wDJ9e08v2gR49nBnPbEeP37K9XOLkX9UHTyP+HXy29LdWuY+4Gzl5EHKQTfsfTIDcp01v46vVSFOXsVYZnZK5FVegLeLcStAjnhpNlIZwkoo7dFn7yuNasLrs2itq0dE5sbuBXL2tHGY1jyqjeXP4Nv3m8/LS+u7v+9+MtvPsfo0R0DDqUOxMAAAAASUVORK5CYII=",alt:"dribbble"}),Object(ft.jsx)("span",{children:"Dribbble"})]})})]}),Object(ft.jsxs)(m.v,{className:"no-gutters",children:[Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAhCAMAAABkz+JgAAAAxlBMVEVHcEwAfuYAfuYAfuYAfuYAfecAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuUAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAf+UAfuYAfuYAfuYAfuYAfuYAfuYAfuYAf+YAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuYAfuUAfuYAgOcAfuYAfeYAf+YAfuYAfuZXV9ysAAAAQXRSTlMACxEy+QLr/PX+2xgHGh58vjZgQeTHDu1k6RWMKIbTudej4Jipy0cFcPPvL3MkTBNn0HfFVq5Q6LVrOh8GnFk8kkQ6JVUAAAGsSURBVBgZfcEHgppAAAXQjw4Mgi5iD/Yu9o6uW/Lvf6kgiowmm/cQq3y1G0g0hvMKXuTaksESMdei2LhQaWuTIbOQxZW+9xnyJys8NMqCEVHXAYybPiNyOMNNZW3wYWBjVZeMmVsPocVOMiE3bl4yITdpYFSlShyKXZ8qs4ZcmYrSKIvxd4+KzQXQ+oJ31X4OV5VmlXdyYCM0rklGrLSOG/0tz4jcZnGz7JEMnCwS2sQiWSroiHlDnlY6nngDGjMo3tseXun9dyi8jiyn8MzeyamLh31A0ndSSKQmPZJBLYuI7kheZaouYpcWI7KJK+9T8M7sL3CVq5uMHS5ArkOFudeB4pSK0gWjElXiMOoKqn6tgVReMpEZvuUzTMjWBSGt1mMs8zmrp+uCselcw01uJxkRzqXDanouGJFlGw/jQsCQUThaJIPC0WAoOKeg0k6SRnHpM+I0LMrWAs/m6a/urCl4I7ru6ewV8KxtLO0uE3m7OG3j2dmXFlWdKZt44bYEVZlOEX/RagYTxsTGv1S6Pm/MfAM/+CiWeWUds/jZh1Oi8VvDf+mLbVrHsz8x4n90MIcLhQAAAABJRU5ErkJggg==",alt:"dropbox"}),Object(ft.jsx)("span",{children:"Dropbox"})]})}),Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAjCAMAAADCMPhoAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAJAUExURUdwTGVPRGVPRHVeUGVPRGVPRGRPRWVPRGVPRGVPRGRQRWVPRWVPRGVPRGVPRGRPRWVPRGVPRGVPRGVPRGVPRGBVUmVPRGVPRGtUR2VPRGVPRGVPRGVPRGVPRGVPRGVPRF9LQ3NZSZ6IdmVPRGNVT3poX2VPRGVPRHlhRl9gZIFnR2VPRJBpTP3rzvTSqxIgNEme1yyDwhUiNY5oTGZQRGlSRfzoyf3qzffbuPXixZpzVfTVsGBMQ/PQqXpbSIRiSnFWRvjlyP///39fSW1URrKUeIhkSkM8Pe/Np4tmSyx8tvrgvv37+ZRtT5ZwUuPDn1VHQ595WnNYR5FqTVKCo2NOQ/vlxdrBpCEpN9y7mPXUrj1IWZV7ZzWKxqqTfunIo/PRq7mafsm/ubipoP338LispLyrmKWNeFtlcPzy55yBa/PNo9e2lCcsOO3AkO7Gm1lZXhUpQi6CvsilgzA8TaeCY0SZ05yDbysuOTExOvbYs/HdwaqHaeDBnc62nGJqeOXQtBspPLKch8ytj/327fjz7sO3r35sWb+yqbOObk5jdmNdXzR7sPHJnfDbvUVujVd1inhxcVJgb7+aeerXvDZ5qo2Aeyg0Rh9PdkhphShzq/fixBxFaRk1UZ97XjpznjZCUzQzO15LQydrnq6Vf829sPnn06GGcIRlTy4+UqCeoPLv7s7Hw+Hd2+zp546UnqCjpc62e7uoayhfiqmRSHWAjlBTROa+T9KxTFKFqe/HTp+XXllwgsW4a5e0njlHS3QagBcAAAArdFJOUwChif0QVMAFATnZ3hjoM8j3bbLSKPesC/SV9JpILoBY8Pz9kf3wgnaT/pqvGFBIAAACu0lEQVQ4y3WU5VsiURTGCZFBxcCu7ebOXBiQRgQBRbBwLbCwde3uWN1Ht7u7w+3u/df23mGYhcf1/fp776k5Z3i8CIklObm8rZWbndr9c+2QmCeOF22P34Tj+Ae/KX79/vHlQObeK+dPViRERWBCtOewQqH48/3rx3cvFmkIYX90RPLMbgVWyef3b/0Qc0hLw3hUwjmGN3741A1Z0bFhPBaHV0w8fP5mGdJI2DCV/Y/HMLzx1r1Fum7qvslkKuqH9A4xlz/67ATiI8P+MXraJA9quiiJC7DthFKJyoP+5TqM1XmWQq9dncZxyZBSqWwsgWN0EcJ5hSqA5eSaJGJOIUMJfRVWIOwCQVWV7UxnDaILiI8M05h7ASg1GEqrQFm9r1bGGmSXkeEahCi+HQCDdYbCMg8MxrCGVMRvQFiH8qPsZ3ynB44wluJww21IV6MCAHAYzYMMpuqbk1kD/7ry7oNqxOX5ACxQ6HlfOXovLE/gxjTkRbFdankhAKP4ce8kpXMbizNEoTkUoNpG51AEFSgzI4Oj13jJMa/R7+IHDfssoNJMNaARokDHWyjKWKMlrVqS1DYJgkW4QMBnRgacA1T21ZAh6RrisEFgAXMa3Roy2F2gcl4TwtqZZmEcW0NVYCmAP6HTUBziGl1LoC24MsRu1B9QMX1e1CGm17h1LStd6683pESw0aSMAm8eM8nxmyT56HFra+vLVx6bzXY0NCyxgFkSFSidJa0rT3ra23t6PDbPuj6LuwnWAGpJsulY++qqx7bR0WntEnFLkYYNFgDGSXK2s62jo61zQe+eD9/rRLxNTgD0bBc1bl+zMCXsMiQ4hN0JHCGHtl64P+L2RNihtqju1FoxXuqSC4jI442XYoe6IP/Z06ZJoTwradN5E/xEOafolP/9INIFyYxHKpNs+RMhUnIk4T+Gv3cNvzi99G5fAAAAAElFTkSuQmCC",alt:"mail_chimp"}),Object(ft.jsx)("span",{children:"Mail Chimp"})]})}),Object(ft.jsx)(m.f,{children:Object(ft.jsxs)(o.b,{className:"dropdown-icon-item",to:"#",children:[Object(ft.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAACplBMVEVHcEz//////
1//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////60uX///////////////////////////////9uytzmmQDpqCA+uZHgFWPkkQAWjnjODgjIAQNVwdYarX3XADfcAEj5/f3cAE7L7PN/1e7ppAuw49I2t42G1bjjFnJkyuXsqyX22qE8uJDyn75zzN70qcViegRUgh/ZAT245ddB2aIzACb34LAFgmbMAgpFsrj//vTS7/QVqnr+/PrppxwwvIzvw2Puu1BKvdT+8PXI7OEOqHaS1+XfA15cw9f96r7E6vFcz/pLdARCvZTw+fbfDV9lhhv/ryHpU4zhGmj2vtH7AlgdtIEYDjGm3+oKlG8bk3zrtwmd2+ggl4FSwpoIimozpJrIkgDe9PrPJQB12v/rtiT8//8rpoR/0N6v4/LtwBxSwtvlO3vI6+pgxqVGu9MLp3NzzLC95++Zkxzwibb/GW0bfWb33qvumwD+c6cUACE3ADAvs4k5UVo3EDnvzCxsxK/kfUb96vnSNgD+rBznnh81r4zUEil7ysTpf4H384miwZjWOxfcag395/cPjW714Hn3ynT6nABVvc9gx+D44rVkx9rbWhfkjxzmS4V3ih1Lj03fFV7TDCJmnV5staHhK2njMHNuxc0nn4Jv0e+wVX9dqo3sFmem6P9Eu9JtAC/IvG1Jfhxym1BsgQqh5/9AEjyoAErufqr01pXrsDYoDjQ4Gj0cy47Alw5wLFTuAVp6z7PYJWp43rueFVRmEkb0ZprVAEUgt4QsiG94nZYsIT9Gx5y9/+uQ18Ci3coAom6/ICZyAAAAKXRSTlMAP9pMoGFRR+eup71y+9DzuF0xoyLgFQKyWWadV4P2w5b+kQivDFtcxZCJTt8AAAKlSURBVBgZdcCDU2QBGADwrxXaai/76oTvvbdmNnezbetqsjHZOtu2bdvGf3K1u9NMN9cPFmPzOOtZsBQ6jiX5IxP+z5bjLxKJnprCP+wtGSwAsMJnpB9J4Vq2I8MeFliiZziuBLDBZJKixrNR5eaGxmBgrupNTx9ANoDj2HhxMXn3YZAsJUNlDno8z/4Ar7g0S1sWL4Z6NfQgtNuXIPpyeKC3zFMuEMR5861Vsbfu590LDbnYQpxIcbMDPXqBl1d+Yl1sZ5As90ZIUVHIhdxuWRUagZ4Test3tB+M9s0irl0pCgnNC+3obEIT0FlHw6Zd9WJxZIM7QRC5Z/PODDVmc5wtQIeNg0G+R8XianEt4SvLatnb6Fd85LA1GJjl9GUR7g311eLIaPeq2LaYbR6Uh1+8EVhZrAIA04yUIMI9OlJcu2ETzksiKYrMNuMickwAaDm3ZbJjxNV2QWIdzosgqdaaQwcCT196gubAxsGODDeVd0V+gDwN522s2b5/X6laqVYMcwCYNOQzzMLlAkGcN87ZsnmrRCoN8xGWhpWYwhwrG3AqCJgWJGowNbjERyGNkkh2+hQqFYE0MOC/f6kJGL0+olRmnpNIJNIodWZPMNJBh+7KDx+deTF5p1woFPqcl0qjmnevQBc66Lhi2ad3Wu3U80fCm4XqTEXzyVMee0wtQI8VXxKmLP9YOTtb+bhcfXm4rLWry8Mvxgj0lgUrCoUjHyqntJOvJ8qQtjyJpCgywhj0eIEKofDNZ+33ma8/2rhGsPq4KCFBFMEFPYfUnjBl6cS3Co3mS5ozAAuTRaLkeBYY2GFgcCr+rBAI5G/5awCM0d8fGbCAacxgmxR4TefLe9EGAJhcLhMWs8Vff9L7Pa1hCSb4eyAc2bAUBzOOCx0W+QuvxroExNCXxAAAAABJRU5ErkJggg==",alt:"slack"}),Object(ft.jsx)("span",{children:"Slack"})]})})]})]})})]}),Object(ft.jsx)("div",{className:"dropdown d-none d-lg-inline-block ms-1",children:Object(ft.jsx)("button",{type:"button",className:"btn header-item noti-icon ",onClick:function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)},"data-toggle":"fullscreen",children:Object(ft.jsx)("i",{className:"bx bx-fullscreen"})})}),Object(ft.jsx)(sl,{}),Object(ft.jsx)(ol,{}),Object(ft.jsx)("div",{className:"dropdown d-inline-block",children:Object(ft.jsx)("button",{onClick:function(){e.showRightSidebarAction(!e.showRightSidebar)},type:"button",className:"btn header-item noti-icon right-bar-toggle ",children:Object(ft.jsx)("i",{className:"bx bx-cog bx-spin"})})})]})]})})})}))),Vl=function(){return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("footer",{className:"footer",children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{md:6,children:[(new Date).getFullYear()," "]}),Object(ft.jsx)(m.f,{md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Design & Develop by Themesbrand"})})]})})})})},Wl=(a(542),a.p+"static/media/img1.5d30e3f4.jpg"),Ul=a.p+"static/media/img2.f153f12d.jpg",Gl=a.p+"static/media/img3.38bebc7d.jpg",Yl=a.p+"static/media/img4.508ca487.jpg",Kl=a.p+"static/media/layout-1.d6de7ba6.jpg",zl=a.p+"static/media/layout-2.39f5fc81.jpg",Jl=a.p+"static/media/layout-3.ab7913ef.jpg",Ql="horizontal",Hl="vertical",Zl="fluid",Xl="boxed",_l="scrollable",ei="light",ti="dark",ai="colored",ri="none",ni="img1",si="img2",ci="img3",oi="img4",li="default",ii="compact",di="icon",ui="light",hi="colored",bi="dark",mi="winter",ji="ladylip",pi="plumplate",xi="strongbliss",Oi="greatwhale",fi=Object(i.b)((function(e){return Object(d.a)({},e.Layout)}),{changeLayout:Jt,changeSidebarTheme:Ht,changeSidebarThemeImage:Zt,changeSidebarType:Xt,changeLayoutWidth:Qt,changeTopbarTheme:_t,changePreloader:function(e){return{type:zt,payload:e}},showRightSidebarAction:ea})((function(e){return Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{className:"right-bar",id:"right-bar",children:Object(ft.jsx)(al.a,{style:{height:"900px"},children:Object(ft.jsxs)("div",{"data-simplebar":!0,className:"h-100",children:[Object(ft.jsxs)("div",{className:"rightbar-title px-3 py-4",children:[Object(ft.jsx)(o.b,{to:"#",onClick:function(t){t.preventDefault(),e.showRightSidebarAction(!1)},className:"right-bar-toggle float-end",children:Object(ft.jsx)("i",{className:"mdi mdi-close noti-icon"})}),Object(ft.jsx)("h5",{className:"m-0",children:"Settings"})]}),Object(ft.jsx)("hr",{className:"my-0"}),Object(ft.jsxs)("div",{className:"p-4",children:[Object(ft.jsxs)("div",{className:"radio-toolbar",children:[Object(ft.jsx)("span",{className:"mb-2 d-block",children:"Layouts"}
1),Object(ft.jsx)("input",{type:"radio",id:"radioVertical",name:"radioFruit",value:Hl,checked:e.layoutType===Hl,onChange:function(t){t.target.checked&&e.changeLayout(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"radioVertical",children:"Vertical"}),Object(ft.jsx)("input",{type:"radio",id:"radioHorizontal",name:"radioFruit",value:Ql,checked:e.layoutType===Ql,onChange:function(t){t.target.checked&&e.changeLayout(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"radioHorizontal",children:"Horizontal"})]}),Object(ft.jsx)("hr",{className:"mt-1"}),Object(ft.jsxs)("div",{className:"radio-toolbar",children:[Object(ft.jsx)("span",{className:"mb-2 d-block",id:"radio-title",children:"Layout Width"}),Object(ft.jsx)("input",{type:"radio",id:"radioFluid",name:"radioWidth",value:Zl,checked:e.layoutWidth===Zl,onChange:function(t){t.target.checked&&e.changeLayoutWidth(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"radioFluid",children:"Fluid"}),Object(ft.jsx)("input",{type:"radio",id:"radioBoxed",name:"radioWidth",value:Xl,checked:e.layoutWidth===Xl,onChange:function(t){t.target.checked&&e.changeLayoutWidth(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"radioBoxed",className:"me-2",children:"Boxed"}),Object(ft.jsx)("input",{type:"radio",id:"radioscrollable",name:"radioscrollable",value:_l,checked:e.layoutWidth===_l,onChange:function(t){t.target.checked&&e.changeLayoutWidth(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"radioscrollable",children:"Scrollable"})]}),Object(ft.jsx)("hr",{className:"mt-1"}),Object(ft.jsxs)("div",{className:"radio-toolbar",children:[Object(ft.jsx)("span",{className:"mb-2 d-block",id:"radio-title",children:"Topbar Theme"}),Object(ft.jsx)("input",{type:"radio",id:"radioThemeLight",name:"radioTheme",value:ei,checked:e.topbarTheme===ei,onChange:function(t){t.target.checked&&e.changeTopbarTheme(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"radioThemeLight",children:"Light"}),Object(ft.jsx)("input",{type:"radio",id:"radioThemeDark",name:"radioTheme",value:ti,checked:e.topbarTheme===ti,onChange:function(t){t.target.checked&&e.changeTopbarTheme(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"radioThemeDark",children:"Dark"}),"vertical"===e.layoutType?null:Object(ft.jsxs)(ft.Fragment,{children:[Object(ft.jsx)("input",{type:"radio",id:"radioThemeColored",name:"radioTheme",value:ai,checked:e.topbarTheme===ai,onChange:function(t){t.target.checked&&e.changeTopbarTheme(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"radioThemeColored",children:"Colored"})," "]})]}),"vertical"===e.layoutType?Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("hr",{className:"mt-1"}),Object(ft.jsxs)("div",{className:"radio-toolbar",children:[Object(ft.jsxs)("span",{className:"mb-2 d-block",id:"radio-title",children:["Left Sidebar Type"," "]}),Object(ft.jsx)("input",{type:"radio",id:"sidebarDefault",name:"sidebarType",value:li,checked:e.leftSideBarType===li,onChange:function(t){t.target.checked&&e.changeSidebarType(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"sidebarDefault",children:"Default"}),Object(ft.jsx)("input",{type:"radio",id:"sidebarCompact",name:"sidebarType",value:ii,checked:e.leftSideBarType===ii,onChange:function(t){t.target.checked&&e.changeSidebarType(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"sidebarCompact",children:"Compact"}),Object(ft.jsx)("input",{type:"radio",id:"sidebarIcon",name:"sidebarType",value:di,checked:e.leftSideBarType===di,onChange:function(t){t.target.checked&&e.changeSidebarType(t.target.value)}}),Object(ft.jsx)("label",{className:"me-1",htmlFor:"sidebarIcon",children:"Icon"})]}),Object(ft.jsx)("hr",{className:"mt-1"}),Object(ft.jsxs)("div",{className:"radio-toolbar coloropt-radio",children:[Object(ft.jsx)("span",{className:"mb-2 d-block",id:"radio-title",children:"Left Sidebar Color Options"}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{children:[Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemelight",name:"leftsidebarTheme",value:ui,checked:e.leftSideBarTheme===ui,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemelight",className:"bg-light rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemedark",name:"leftsidebarTheme",value:bi,checked:e.leftSideBarTheme===bi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemedark",className:"bg-dark rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemecolored",name:"leftsidebarTheme",value:hi,checked:e.leftSideBarTheme===hi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemecolored",className:"bg-colored rounded-circle wh-30 me-1"})]})}),Object(ft.jsx)(m.v,{children:Object(ft.jsxs)(m.f,{children:[Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemewinter",name:"leftsidebarTheme",value:mi,checked:e.leftSideBarTheme===mi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemewinter",className:"gradient-winter rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemeladylip",name:"leftsidebarTheme",value:ji,checked:e.leftSideBarTheme===ji,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemeladylip",className:"gradient-lady-lip rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemeplumplate",name:"leftsidebarTheme",value:pi,checked:e.leftSideBarTheme===pi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemeplumplate",className:"gradient-plum-plate rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemestrongbliss",name:"leftsidebarTheme",value:xi,checked:e.leftSideBarTheme===xi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemestrongbliss",className:"gradient-strong-bliss rounded-circle wh-30 me-1"}),Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemesgreatwhale",name:"leftsidebarTheme",value:Oi,checked:e.leftSideBarTheme===Oi,onChange:function(t){t.target.checked&&e.changeSidebarTheme(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemesgreatwhale",className:"gradient-strong-great-whale rounded-circle wh-30 me-1"})]})})]}),Object(ft.jsxs)("div",{className:"radio-toolbar imgopt-radio",children:[Object(ft.jsx)("span",{className:"mb-2 d-block",i
1d:"radio-bgimg",children:"Left Sidebar Bg Image"}),Object(ft.jsxs)("div",{className:"d-flex gap-2 flex-wrap",children:[Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemebgimg1",name:"leftsidebarThemeImage",value:ni,checked:e.leftSideBarThemeImage===ni,onChange:function(t){t.target.checked&&e.changeSidebarThemeImage(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemebgimg1",children:Object(ft.jsx)("img",{alt:"sidebar bg image",width:"90",className:"themesideimage rounded",src:Wl})})," ",Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemebgimg2",name:"leftsidebarThemeImage",value:si,checked:e.leftSideBarThemeImage===si,onChange:function(t){t.target.checked&&e.changeSidebarThemeImage(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemebgimg2",children:Object(ft.jsx)("img",{alt:"sidebar bg image",width:"90",className:"themesideimage rounded",src:Ul})})," ",Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemebgimg3",name:"leftsidebarThemeImage",value:ci,checked:e.leftSideBarThemeImage===ci,onChange:function(t){t.target.checked&&e.changeSidebarThemeImage(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemebgimg3",children:Object(ft.jsx)("img",{alt:"sidebar bg image",width:"90",className:"themesideimage rounded",src:Gl})})," ",Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemebgimg4",name:"leftsidebarThemeImage",value:oi,checked:e.leftSideBarThemeImage===oi,onChange:function(t){t.target.checked&&e.changeSidebarThemeImage(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemebgimg4",children:Object(ft.jsx)("img",{alt:"sidebar bg image",width:"90",className:"themesideimage rounded",src:Yl})})," ",Object(ft.jsx)("input",{type:"radio",id:"leftsidebarThemenone",name:"leftsidebarThemeImage",value:ri,checked:e.leftSideBarThemeImage===ri,onChange:function(t){t.target.checked&&e.changeSidebarThemeImage(t.target.value)}}),Object(ft.jsx)("label",{htmlFor:"leftsidebarThemenone",children:Object(ft.jsx)("div",{style:{width:"40px",height:"80px"},children:Object(ft.jsx)("div",{className:"bg-light border px-2 h-100 shadow-none",children:Object(ft.jsx)("div",{className:"verticalcontent",children:"None"})})})})," "]})]}),Object(ft.jsx)("hr",{className:"mt-1"})]}):null,Object(ft.jsxs)(m.o,{children:[Object(ft.jsx)("span",{className:"mb-2 d-block",id:"radio-title",children:"Preloader"}),Object(ft.jsxs)("div",{className:"form-check form-switch",children:[Object(ft.jsx)("input",{type:"checkbox",className:"form-check-input checkbox",id:"checkbox_1",checked:e.isPreloader,onChange:function(){e.changePreloader(!e.isPreloader)}}),Object(ft.jsx)("label",{className:"form-check-label",htmlFor:"checkbox_1",children:"Preloader"})]})]}),Object(ft.jsx)("h6",{className:"text-center",children:"Choose Layouts"}
1),Object(ft.jsx)("div",{className:"mb-2",children:Object(ft.jsx)(o.b,{to:"//skote-v-light.react.themesbrand.com",target:"_blank",children:Object(ft.jsx)("img",{src:Kl,className:"img-fluid img-thumbnail",alt:""})})}),Object(ft.jsx)("div",{className:"mb-2",children:Object(ft.jsx)(o.b,{to:"//skote-v-dark.react.themesbrand.com",target:"_blank",children:Object(ft.jsx)("img",{src:zl,className:"img-fluid img-thumbnail",alt:""})})}),Object(ft.jsx)("div",{className:"mb-2",children:Object(ft.jsx)(o.b,{to:"//skote-v-rtl.react.themesbrand.com",target:"_blank",children:Object(ft.jsx)("img",{src:Jl,className:"img-fluid img-thumbnail",alt:""})})}),Object(ft.jsxs)(o.b,{to:"//1.envato.market/skotereact",className:"btn btn-primary btn-block mt-3",target:"_blank",children:[Object(ft.jsx)("i",{className:"mdi mdi-cart ms-1"})," Purchase Now"]})]})]})})}),Object(ft.jsx)("div",{className:"rightbar-overlay"})]})})),vi=Object(l.withRouter)((function(e){var t=Object(i.c)(),a=Object(i.d)((function(e){return{topbarTheme:e.Layout.topbarTheme,layoutWidth:e.Layout.layoutWidth,isPreloader:e.Layout.isPreloader,showRightSidebar:e.Layout.showRightSidebar}})),s=a.topbarTheme,c=a.layoutWidth,o=a.isPreloader,l=a.showRightSidebar;Object(r.useEffect)((function(){var t=e.location.pathname,a=t.charAt(1).toUpperCase()+t.slice(2);document.title=a+" | JSB Online Account"}),[e.location.pathname]),Object(r.useEffect)((function(){window.scrollTo(0,0)}),[]);var d=function(e){var a=document.getElementById("right-bar");a&&a.contains(e.target)||t(ea(!1))};Object(r.useEffect)((function(){t(Jt("horizontal"))}),[t]),Object(r.useEffect)((function(){document.body.addEventListener("click",d,!0),!0===o?(document.getElementById("preloader").style.display="block",document.getElementById("status").style.display="block",setTimeout((function(){document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none"}),2500)):(document.getElementById("preloader").style.display="none",document.getElementById("status").style.display="none")}),[o]),Object(r.useEffect)((function(){s&&t(_t(s))}),[t,s]),Object(r.useEffect)((function(){c&&t(Qt(c))}),[t,c]);var h=Object(r.useState)(!1),b=Object(u.a)(h,2),m=b[0],j=b[1];return Object(ft.jsxs)(n.a.Fragment,{children:[Object(ft.jsx)("div",{id:"preloader",children:Object(ft.jsx)("div",{id:"status",children:Object(ft.jsxs)("div",{className:"spinner-chase",children:[Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"}),Object(ft.jsx)("div",{className:"chase-dot"})]})})}),Object(ft.jsxs)("div",{id:"layout-wrapper",children:[Object(ft.jsx)($l,{theme:s,isMenuOpened:m,openLeftMenuCallBack:function(){j(!m)}}),Object(ft.jsx)(ql,{menuOpen:m}),Object(ft.jsx)("div",{className:"main-content",children:e.children}),Object(ft.jsx)(Vl,{})]}),l?Object(ft.jsx)(fi,{}):null]})})),gi=function(){var e=Object(l.useHistory)();return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)(m.f,{className:"navbar-header",lg:"12",children:Object(ft.jsx)("div",{style:{width:"102%",backgroundColor:"#9a084f",height:"70px",marginLeft:"-20px",overflow:"hidden",top:"0px",position:"relative"},children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"5",sm:"2",children:Object(ft.jsx)("img",{className:"img-fluid.max-width: 100%;height:auto",style:{height:"70px",marginLeft:"20px"},src:xt,alt:"Banner"})}),Object(ft.jsx)(m.f,{lg:"4",sm:"2",children:Object(ft.jsx)("label",{style:{fontSize:"25px",color:"white",marginTop:"15px"},children:"Online Account Application"})}),Object(ft.jsx)(m.f,{lg:"3",sm:"2",style:{textAlign:"right"},children:Object(ft.jsxs)("button",{type:"button",className:"btn",style:{color:"white",fontSize:"large",marginTop:"10px"},onClick:function(){localStorage.clear(),e.push("/login")},children:[Object(ft.jsx)("span",{className:"bx bx-log-in",style:{fontSize:"x-large",marginTop:"5px",paddingRight:"5px"}}),Object(ft.jsx)("label",{style:{marginTop:"10px",fontSize:"larger"},children:" Logout "})]})})]})})})})})},yi=function(){var e=JSON.parse(localStorage.getItem("userName")),t=Object(r.useState)(!1),a=Object(u.a)(t,2),s=a[0],c=a[1],o=Object(r.useState)(e),i=Object(u.a)(o,2),d=i[0],h=(i[1],Object(l.useHistory)());return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(m.v,{children:Object(ft.jsx)("div",{style:{width:"100%",backgroundColor:"#9a084f"}
1,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsx)(m.f,{lg:"5",children:Object(ft.jsx)("div",{children:Object(ft.jsx)("img",{className:"img-fluid.max-width: 100%;height:auto",style:{height:"70px"},src:xt,alt:"Banner"})})}),Object(ft.jsx)(m.f,{lg:"4",children:Object(ft.jsx)("div",{children:Object(ft.jsx)("label",{style:{fontSize:"25px",color:"white",marginTop:"15px"},children:"Online Account Application"})})}),Object(ft.jsx)(m.f,{lg:"3",style:{textAlign:"right"},children:Object(ft.jsxs)(m.i,{isOpen:s,toggle:function(){return c(!s)},style:{color:"white",fontSize:"large"},children:[Object(ft.jsxs)(m.l,{className:"btn header-item ",id:"page-header-user-dropdown",tag:"button",style:{color:"white",fontSize:"large"},children:[Object(ft.jsx)("label",{style:{fontSize:"15px",color:"white"},children:d}),Object(ft.jsx)("i",{className:"mdi mdi-chevron-down d-none d-xl-inline-block"})]}),Object(ft.jsxs)(m.k,{className:"dropdown-menu-end",children:[Object(ft.jsx)("div",{className:"dropdown-divider"}),Object(ft.jsxs)("button",{type:"button",className:"btn",style:{color:"black",fontSize:"medium"},onClick:function(){localStorage.clear(),h.push("/BranchLogin")},children:[Object(ft.jsx)("span",{className:"bx bx-log-in",style:{fontSize:"xx-large"}})," Logout"]})]})]})})]})})})})},Ni=function(){return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)("footer",{className:"footer",style:{backgroundColor:"#333333",color:"white",marginLeft:"-250px",width:"100%",padding:"0px",height:"40px"},children:Object(ft.jsx)(m.h,{fluid:!0,children:Object(ft.jsxs)(m.v,{children:[Object(ft.jsxs)(m.f,{style:{marginTop:"15px"},md:6,children:[" \xa9 ",(new Date).getFullYear()," all rights reserved"]}),Object(ft.jsx)(m.f,{style:{marginTop:"15px"},md:6,children:Object(ft.jsx)("div",{className:"text-sm-end d-none d-sm-block",children:"Powered by ZingWorks LLP"})})]})})})})},Ai=Object(l.withRouter)((function(e){var t=e.match.url;return oncontextmenu=function(){return!1},Object(r.useEffect)((function(){window.scrollTo(0,0)}),[]),Object(ft.jsxs)(n.a.Fragment,{children:["/customerlist"==t.toLowerCase()?Object(ft.jsx)(yi,{}):"/login"==t.toLowerCase()||"/success"==t.toLowerCase()||"/branchlogin"==t.toLowerCase()?Object(ft.jsx)(ft.Fragment,{}):Object(ft.jsx)(gi,{}),e.children,"/login"==t.toLowerCase()||"/success"==t.toLowerCase()||"/branchlogin"==t.toLowerCase()?Object(ft.jsx)(ft.Fragment,{}):Object(ft.jsx)(Ni,{})]})})),ki=(a(543),a(544),Object(i.b)((function(e){return{layout:e.Layout}}),null)((function(e){!function(){var t=vi;if("horizontal"===e.layout.layoutType)t=vi;else t=Ml}();return Object(ft.jsx)(n.a.Fragment,{children:Object(ft.jsx)(o.a,{basename:"/JSBOnline",children:Object(ft.jsxs)(l.Switch,{children:[Dl.map((function(e,t){return Object(ft.jsx)(Ll,{path:e.path,layout:Ai,component:e.component,isAuthProtected:!1,exact:!0},t)}
1)),Bl.map((function(e,t){return Object(ft.jsx)(Ll,{path:e.path,layout:Ai,component:e.component,isAuthProtected:!0,exact:!0},t)}))]})})})})));Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var Ci=a(80),wi=a(291),Si={layoutType:Hl,layoutWidth:Zl,leftSideBarTheme:bi,leftSideBarThemeImage:ri,leftSideBarType:li,topbarTheme:ei,isPreloader:!1,showRightSidebar:!1,isMobile:!1,showSidebar:!1,leftMenu:!1},Pi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Si,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Mt:return Object(d.a)(Object(d.a)({},e),{},{layoutType:t.payload});case zt:return Object(d.a)(Object(d.a)({},e),{},{isPreloader:t.payload});case qt:return Object(d.a)(Object(d.a)({},e),{},{layoutWidth:t.payload});case $t:return Object(d.a)(Object(d.a)({},e),{},{leftSideBarTheme:t.payload});case Vt:return Object(d.a)(Object(d.a)({},e),{},{leftSideBarThemeImage:t.payload});case Wt:return Object(d.a)(Object(d.a)({},e),{},{leftSideBarType:t.payload.sidebarType});case Ut:return Object(d.a)(Object(d.a)({},e),{},{topbarTheme:t.payload});case Kt:return Object(d.a)(Object(d.a)({},e),{},{showRightSidebar:t.payload});case Gt:return Object(d.a)(Object(d.a)({},e),{},{showSidebar:t.payload});case Yt:return Object(d.a)(Object(d.a)({},e),{},{leftMenu:t.payload});default:return e}},Ti={error:"",loading:!1},Ii=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ti,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case oa:e=Object(d.a)(Object(d.a)({},e),{},{loading:!0});break;case la:e=Object(d.a)(Object(d.a)({},e),{},{loading:!1});break;case ia:case da:e=Object(d.a)({},e);break;case ua:e=Object(d.a)(Object(d.a)({},e),{},{error:t.payload,loading:!1});break;default:e=Object(d.a)({},e)}return e},Ei={registrationError:null,message:null,loading:!1,user:null},Bi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case aa:e=Object(d.a)(Object(d.a)({},e),{},{loading:!0,registrationError:null});break;case ra:e=Object(d.a)(Object(d.a)({},e),{},{loading:!1,user:t.payload,registrationError:null});break;case na:e=Object(d.a)(Object(d.a)({},e),{},{user:null,loading:!1,registrationError:t.payload});break;default:e=Object(d.a)({},e)}return e},Di={forgetSuccessMsg:null,forgetError:null},Fi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Di,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ja:e=Object(d.a)(Object(d.a)({},e),{},{forgetSuccessMsg:null,forgetError:null});break;case pa:e=Object(d.a)(Object(d.a)({},e),{},{forgetSuccessMsg:t.payload});break;case xa:e=Object(d.a)(Object(d.a)({},e),{},{forgetError:t.payload});break;default:e=Object(d.a)({},e)}return e},Ri={error:"",success:""},Li=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ri,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case fa:e=Object(d.a)({},e);break;case va:e=Object(d.a)(Object(d.a)({},e),{},{success:t.payload});break;case ga:e=Object(d.a)(Object(d.a)({},e),{},{error:t.payload});break;case ya:e=Object(d.a)(Object(d.a)({},e),{},{success:null});break;default:e=Object(d.a)({},e)}return e},Mi={products:[],product:{},orders:[],cartData:{},customers:[],shops:[],error:{},productComments:[]},qi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mi,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ca:return Object(d.a)(Object(d.a)({},e),{},{products:t.payload});case wa:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Pa:return Object(d.a)(Object(d.a)({},e),{},{product:t.payload});case Ta:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Ua:return Object(d.a)(Object(d.a)({},e),{},{orders:t.payload});case Ga:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Ka:return Object(d.a)(Object(d.a)({},e),{},{orders:[].concat(Object(Ct.a)(e.orders),[t.payload])});case za:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Qa:return Object(d.a)(Object(d.a)({},e),{},{orders:e.orders.map((function(e){return e.id===t.payload.id.toString()?Object(d.a)({order:e},t.payload):e}))});case Ha:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Xa:return Object(d.a)(Object(d.a)({},e),{},{orders:e.orders.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case _a:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case tr:return Object(d.a)(Object(d.a)({},e),{},{cartData:t.payload});case ar:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case nr:return Object(d.a)(Object(d.a)({},e),{},{customers:t.payload});case sr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case or:return Object(d.a)(Object(d.a)({},e),{},{customers:[].concat(Object(Ct.a)(e.customers),[t.payload])});case lr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case dr:return Object(d.a)(Object(d.a)({},e),{},{customers:e.customers.map((function(e){return e.id.toString()===t.payload.id.toString()?Object(d.a)({customer:e},t.payload):e}))});case ur:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case br:return Object(d.a)(Object(d.a)({},e),{},{customers:e.customers.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case mr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case pr:return Object(d.a)(Object(d.a)({},e),{},{shops:t.payload});case xr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Ea:case Fa:case La:case qa:case Va:return Object(d.a)(Object(d.a)({},e),{}
1,{productComments:t.payload});case Ba:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},$i={events:[],categories:[],error:{}},Vi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Wr:return Object(d.a)(Object(d.a)({},e),{},{events:t.payload});case Ur:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Yr:return Object(d.a)(Object(d.a)({},e),{},{events:[].concat(Object(Ct.a)(e.events),[t.payload])});case Kr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Jr:return Object(d.a)(Object(d.a)({},e),{},{events:e.events.map((function(e){return e.id.toString()===t.payload.id.toString()?Object(d.a)({event:e},t.payload):e}))});case Qr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Zr:return Object(d.a)(Object(d.a)({},e),{},{events:e.events.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case Xr:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case en:return Object(d.a)(Object(d.a)({},e),{},{categories:t.payload});case tn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Wi={chats:[],groups:[],contacts:[],messages:[],error:{}},Ui=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wi,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case hn:return Object(d.a)(Object(d.a)({},e),{},{chats:t.payload});case bn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case jn:return Object(d.a)(Object(d.a)({},e),{},{groups:t.payload});case pn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case On:return Object(d.a)(Object(d.a)({},e),{},{contacts:t.payload});case fn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case gn:return Object(d.a)(Object(d.a)({},e),{},{messages:t.payload});case yn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case An:return Object(d.a)(Object(d.a)({},e),{},{messages:[].concat(Object(Ct.a)(e.messages),[t.payload])});case kn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Gi={wallet:{},orders:[]},Yi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gi,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Bn:return Object(d.a)(Object(d.a)({},e),{},{wallet:t.payload});case Dn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Rn:return Object(d.a)(Object(d.a)({},e),{},{orders:t.payload});case Ln:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Ki={invoices:[],invoiceDetail:{},error:{}},zi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ki,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Vn:return Object(d.a)(Object(d.a)({},e),{},{invoices:t.payload});case Wn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Gn:return Object(d.a)(Object(d.a)({},e),{},{invoiceDetail:t.payload});case Yn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Ji={projects:[],projectDetail:{},error:{}},Qi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ji,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Qn:return Object(d.a)(Object(d.a)({},e),{},{projects:t.payload});case Hn:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ts:return Object(d.a)(Object(d.a)({},e),{},{projects:[].concat(Object(Ct.a)(e.projects),[t.payload])});case as:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Xn:return Object(d.a)(Object(d.a)({},e),{},{projectDetail:t.payload});case ns:return Object(d.a)(Object(d.a)({},e),{},{projects:e.projects.map((function(e){return e.id.toString()===t.payload.id.toString()?Object(d.a)({project:e},t.payload):e}))});case ss:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case os:return Object(d.a)(Object(d.a)({},e),{},{projects:e.projects.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case ls:case _n:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Hi={tasks:[],error:{}},Zi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hi,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Os:return Object(d.a)(Object(d.a)({},e),{},{tasks:t.payload});case fs:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},Xi={users:[],userProfile:{},error:{}},_i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xi,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ys:return Object(d.a)(Object(d.a)({},e),{},{users:t.payload});case Ns:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Ss:return Object(d.a)(Object(d.a)({},e),{},{users:[].concat(Object(Ct.a)(e.users),[t.payload])});case Ps:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ks:return Object(d.a)(Object(d.a)({},e),{},{userProfile:t.payload});case Is:return Object(d.a)(Object(d.a)({},e),{},{users:e.users.map((function(e){return e.id.toString()===t.payload.id.toString()?Object(d.a)({user:e},t.payload):e}))});case Es:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Ds:return Object(d.a)(Object(d.a)({},e),{},{users:e.users.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case Fs:case Cs:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},ed={inboxmails:[],starredmails:[],importantmails:[],draftmails:[],sentmails:[],trashmails:[],error:{}},td=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ed,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ys:return Object(d.a)(Object(d.a)({},e),{},{inboxmails:t.payload});case Ks:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Js:return Object(d.a)(Object(d.a)({},e),{},{inboxmails:[].concat(Object(Ct.a)(e.inboxmails),[t.payload])});case Qs:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Zs:return Object(d.a)(Object(d.a)({},e),{},{inboxmails:e.inboxmails.filter((function(e){return e.id.toString()!==t.payload.id.toString()}))});case Xs:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ec:return Object(d.a)(Object(d.a)({},e),{},{starredmails:t.payload});case tc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case rc:return Object(d.a)(Object(d.a)({},e),{},{importantmails:t.payload});case nc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case hc:return Object(d.a)(Object(d.a)({},e),{},{trashmails:t.payload});case bc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ic:return Object(d.a)(Object(d.a)({},e),{},{draftmails:t.payload});case dc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case cc:return Object(d.a)(Object(d.a)({},e),{},{sentmails:t.payload});case oc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},ad={chartsData:[]},rd=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ad,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ac:return t.payload.actionType===Cc?Object(d.a)(Object(d.a)({},e),{},{chartsData:t.payload.data}):e;case kc:return t.payload.actionType===Cc?Object(d.a)(Object(d.a)({},e),{},{chartsDataError:t.payload.error}):e;default:return e}},nd={sellingData:[],earningChartData:[]},sd=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nd,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Sc:switch(t.payload.actionType){case Tc:return Object(d.a)(Object(d.a)({},e),{},{sellingData:t.payload.data});case Ic:return Object(d.a)(Object(d.a)({},e),{},{earningChartData:t.payload.data});default:return e}case Pc:switch(t.payload.actionType){case Tc:return Object(d.a)(Object(d.a)({},e),{},{sellingDataError:t.payload.error});case Ic:return Object(d.a)(Object(d.a)({},e),{},{earningChartDataError:t.payload.error});default:return e}default:return e}},cd={stateData:[],occupationData:[],relatedPersonTypeData:[],educationData:[],occupationDetail
1sData:[],assetDetailsData:[],otherBankAccountsData:[],accountTypeData:[],entityTypeData:[],locationData:[],branchData:[],poiData:[],reasonToBecomeCustomer:[]},od=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cd,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Fc:return Object(d.a)(Object(d.a)({},e),{},{stateData:t.payload});case Rc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Mc:return Object(d.a)(Object(d.a)({},e),{},{occupationData:t.payload});case qc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Vc:return Object(d.a)(Object(d.a)({},e),{},{relatedPersonTypeData:t.payload});case Wc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Gc:return Object(d.a)(Object(d.a)({},e),{},{educationData:t.payload});case Yc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case zc:return Object(d.a)(Object(d.a)({},e),{},{occupationDetailsData:t.payload});case Jc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Hc:return Object(d.a)(Object(d.a)({},e),{},{assetDetailsData:t.payload});case Zc:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case _c:return Object(d.a)(Object(d.a)({},e),{},{otherBankAccountsData:t.payload});case eo:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ao:return Object(d.a)(Object(d.a)({},e),{},{accountTypeData:t.payload});case ro:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case so:return Object(d.a)(Object(d.a)({},e),{},{entityTypeData:t.payload});case co:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case lo:return Object(d.a)(Object(d.a)({},e),{},{locationData:t.payload});case io:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case ho:return Object(d.a)(Object(d.a)({},e),{},{branchData:t.payload});case bo:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case jo:return Object(d.a)(Object(d.a)({},e),{},{poiData:t.payload});case po:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});case Oo:return Object(d.a)(Object(d.a)({},e),{},{reasonToBecomeCustomer:t.payload});case fo:return Object(d.a)(Object(d.a)({},e),{},{error:t.payload});default:return e}},ld=Object(Ci.b)({Layout:Pi,Login:Ii,Account:Bi,ForgetPassword:Fi,Profile:Li,ecommerce:qi,calendar:Vi,chat:Ui,mails:td,crypto:Yi,invoices:zi,projects:Qi,tasks:Zi,contacts:_i,Dashboard:rd,DashboardSaas:sd,Registration:od}),id=a(5),dd=(a(7),a(9),a(46),a(545),a(549),null),ud=function(){return dd},hd=f.a.mark(jd),bd=f.a.mark(pd),md=f.a.mark(xd);ud();
1function jd(e){var t,a,r,n;return f.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=e.payload.user,s.prev=1,s.next=10;break;case 5:return a=s.sent,s.next=8,Object(id.d)(sa(a));case 8:case 16:s.next=24;break;case 10:s.next=18;break;case 13:return r=s.sent,s.next=16,Object(id.d)(sa(r));case 18:return s.next=21,Object(id.b)(F,t);case 21:return n=s.sent,s.next=24,Object(id.d)(sa(n));case 24:s.next=30;break;case 26:return s.prev=26,s.t0=s.catch(1),s.next=30,Object(id.d)(ca(s.t0));case 30:case"end":return s.stop()}}),hd,null,[[1,26]])}function pd(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(aa,jd);case 2:case"end":return e.stop()}}),bd)}function xd(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(pd)]);case 2:case"end":return e.stop()}}),md)}var Od=xd,fd=f.a.mark(Nd),vd=f.a.mark(Ad),gd=f.a.mark(kd),yd=f.a.mark(Cd);ud();function Nd(e){var t,a,r,n,s,c;return f.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=e.payload,a=t.user,r=t.history,o.prev=1,o.next=11;break;case 6:return n=o.sent,o.next=9,Object(id.d)(ba(n));case 9:case 18:o.next=27;break;case 11:o.next=20;break;case 14:return s=o.sent,localStorage.setItem("authUser",JSON.stringify(s)),o.next=18,Object(id.d)(ba(s));case 20:return o.next=23,Object(id.b)(R,{email:a.email,password:a.password});case 23:return c=o.sent,localStorage.setItem("authUser",JSON.stringify(c)),o.next=27,Object(id.d)(ba(c));case 27:r.push("/dashboard"),o.next=34;break;case 30:return o.prev=30,o.t0=o.catch(1),o.next=34,Object(id.d)(ma(o.t0));case 34:case"end":return o.stop()}}),fd,null,[[1,30]])}function Ad(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:t=e.payload.history,a.prev=1,localStorage.removeItem("authUser"),a.next=9;break;case 6:return a.sent,a.next=9,Object(id.d)({type:da,payload:{}});case 9:t.push("/login"),a.next=16;break;case 12:return a.prev=12,a.t0=a.catch(1),a.next=16,Object(id.d)(ma(a.t0));case 16:case"end":return a.stop()}}),vd,null,[[1,12]])}function kd(e){var t,a,r,n,s;return f.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:t=e.payload,a=t.data,r=t.history,t.type,c.prev=1,c.next=12;break;case 6:return n=c.sent,localStorage.setItem("authUser",JSON.stringify(n)),c.next=10,Object(id.d)(ba(n));case 10:c.next=18;break;case 12:return c.next=14,Object(id.b)(q,a);case 14:return s=c.sent,localStorage.setItem("authUser",JSON.stringify(s)),c.next=18,Object(id.d)(ba(s));case 18:r.push("/dashboard"),c.next=25;break;case 21:return c.prev=21,c.t0=c.catch(1),c.next=25,Object(id.d)(ma(c.t0));case 25:case"end":return c.stop()}}),gd,null,[[1,21]])}function Cd(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(oa,Nd);case 2:return e.next=4,Object(id.f)(ha,kd);case 4:return e.next=6,Object(id.e)(ia,Ad);case 6:case"end":return e.stop()}}),yd)}var wd=Cd,Sd=f.a.mark(Id),Pd=f.a.mark(Ed),Td=f.a.mark(Bd);ud();function Id(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t=e.payload,a=t.user,t.history,r.prev=1,r.next=11;break;case 5:if(!r.sent){r.next=9;break}return r.next=9,Object(id.d)(Oa("Reset link are sended to your mailbox, check there first"));case 9:case 18:r.next=26;break;case 11:r.next=20;break;case 14:if(!r.sent){r.next=18;break}return r.next=18,Object(id.d)(Oa("Reset link are sended to your mailbox, check there first"));case 20:return r.next=22,Object(id.b)(L,"/fake-forget-pwd",{email:a.email});case 22:if(!r.sent){r.next=26;break}return r.next=26,Object(id.d)(Oa("Reset link are sended to your mailbox, check there first"));case 26:r.next=32;break;case 28:return r.prev=28,r.t0=r.catch(1),r.next=32,Object(id.d)((n=r.t0,{type:xa,payload:n}));case 32:case"end":return r.stop()}var n}),Sd,null,[[1,28]])}function Ed(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(ja,Id);case 2:case"end":return e.stop()}}),Pd)}function Bd(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(Ed)]);case 2:case"end":return e.stop()}}),Td)}var Dd=Bd,Fd=f.a.mark(Md),Rd=f.a.mark(qd),Ld=f.a.mark($d);ud();function Md(e){var t,a,r,n;return f.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=e.payload.user,s.prev=1,s.next=10;break;case 5:return a=s.sent,s.next=8,Object(id.d)(Na(a));case 8:case 16:s.next=24;break;case 10:s.next=18;break;case 13:return r=s.sent,s.next=16,Object(id.d)(Na(r));case 18:return s.next=21,Object(id.b)(M,{username:t.username,idx:t.idx});case 21:return n=s.sent,s.next=24,Object(id.d)(Na(n));case 24:s.next=30;break;case 26:return s.prev=26,s.t0=s.catch(1),s.next=30,Object(id.d)(Aa(s.t0));case 30:case"end":return s.stop()}}),Fd,null,[[1,26]])}function qd(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(fa,Md);case 2:case"end":return e.stop()}}),Rd)}function $d(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(qd)]);case 2:case"end":return e.stop()}}),Ld)}var Vd=$d,Wd=f.a.mark(su),Ud=f.a.mark(cu),Gd=f.a.mark(ou),Yd=f.a.mark(lu),Kd=f.a.mark(iu),zd=f.a.mark(du),Jd=f.a.mark(uu),Qd=f.a.mark(hu),Hd=f.a.mark(bu),Zd=f.a.mark(mu),Xd=f.a.mark(ju),_d=f.a.mark(pu),eu=f.a.mark(xu),tu=f.a.mark(Ou),au=f.a.mark(fu);function ru(e,t){return document.body&&document.body.setAttribute(e,t),!0}function nu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toggle";switch(t){case"add":document.body&&document.body.classList.add(e);break;case"remove":document.body&&document.body.classList.remove(e);break;default:document.body&&document.body.classList.toggle(e)}return!0}function su(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t=e.payload,a.prev=1,"horizontal"!==t){a.next=10;break}return a.next=5,Object(id.d)(_t("dark"));case 5:document.body.removeAttribute("data-sidebar"),document.body.removeAttribute("data-sidebar-image"),document.body.removeAttribute("data-sidebar-size"),a.next=12;break;case 10:return a.next=12,Object(id.d)(_t("light"));case 12:return a.next=14,Object(id.b)(ru,"data-layout",t);case 14:a.next=18;break;case 16:a.prev=16,a.t0=a.catch(1);case 18:case"end":return a.stop()}}),Wd,null,[[1,16]])}function cu(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t=e.payload,a.prev=1,"boxed"!==t){a.next=11;break}return a.next=5,Object(id.d)(Xt("icon"));case 5:return a.next=7,Object(id.b)(ru,"data-layout-size",t);case 7:return a.next=9,Object(id.b)(ru,"data-layout-scrollable",!1);case 9:a.next=24;break;case 11:if("scrollable"!==t){a.next=18;break}return a.next=14,Object(id.d)(Xt("default"));case 14:return a.next=16,Object(id.b)(ru,"data-layout-scrollable",!0);case 16:a.next=24;break;case 18:return a.next=20,Object(id.d)(Xt("default"));case 20:return a.next=22,Object(id.b)(ru,"data-layout-size",t);case 22:return a.next=24,Object(id.b)(ru,"data-layout-scrollable",!1);case 24:a.next=28;break;case 26:a.prev=26,a.t0=a.catch(1);case 28:case"end":return a.stop()}}),Ud,null,[[1,26]])}function ou(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,Object(id.b)(ru,"data-sidebar",t);case 4:a.next=8;break;case 6:a.prev=6,a.t0=a.catch(1);case 8:case"end":return a.stop()}}),Gd,null,[[1,6]])}function lu(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,Object(id.b)(ru,"data-sidebar-image",t);case 4:a.next=8;break;case 6:a.prev=6,a.t0=a.catch(1);case 8:case"end":return a.stop()}}),Yd,null,[[1,6]])}function iu(e){var t;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,a.prev=1,a.next=4,Object(id.b)(ru,"data-topbar",t);case 4:a.next=8;break;case 6:a.prev=6,a.t0=a.catch(1);case 8:case"end":return a.stop()}}),Kd,null,[[1,6]])}function du(e){var t,a,r;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.payload,a=t.sidebarType,r=t.isMobile,n.prev=1,n.t0=a,n.next="compact"===n.t0?5:"icon"===n.t0?12:"condensed"===n.t0?19:37;break;case 5:return n.next=7,Object(id.b)(ru,"data-sidebar-size","small");case 7:return n.next=9,Object(id.b)(nu,"sidebar-enable","remove");case 9:return n.next=11,Object(id.b)(nu,"vertical-collpsed","remove");case 11:return n.abrupt("break",45);case 12:return n.next=14,Object(id.b)(ru,"data-sidebar-size","");case 14:return n.next=16,Object(id.b)(ru,"data-keep-enlarged","true");case 16:return n.next=18,Object(id.b)(nu,"vertical-collpsed","add");case 18:return n.abrupt("break",45);case 19:return n.next=21,Object(id.b)(nu,"sidebar-enable","add");case 21:if(!(window.screen.width>=992)){n.next=32;break}return n.next=24,Object(id.b)(nu,"vertical-collpsed","remove");case 24:return n.next=26,Object(id.b)(nu,"sidebar-enable","remove");case 26:return n.next=28,Object(id.b)(nu,"vertical-collpsed","add");case 28:return n.next=30,Object(id.b)(nu,"sidebar-enable","add");case 30:n.next=36;break;case 32:return n.next=34,Object(id.b)(nu,"sidebar-enable","add");case 34:return n.next=36,Object(id.b)(nu,"vertical-collpsed","add");case 36:return n.abrupt("break",45);case 37:return n.next=39,Object(id.b)(ru,"data-sidebar-size","");case 39:return n.next=41,Object(id.b)(nu,"sidebar-enable","remove");case 41:if(r){n.next=44;break}return n.next=44,Object(id.b)(nu,"vertical-collpsed","remove");case 44:return n.abrupt("break",45);case 45:n.next=49;break;case 47:n.prev=47,n.t1=n.catch(1);case 49:case"end":return n.stop()}}),zd,null,[[1,47]])}function uu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(id.b)(nu,"right-bar-enabled","add");case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),Jd,null,[[0,5]])}function hu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Mt,su);case 2:case"end":return e.stop()}}),Qd)}function bu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(qt,cu);case 2:case"end":return e.stop()}}),Hd)}function mu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)($t,ou);case 2:case"end":return e.stop()}}),Zd)}function ju(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Vt,lu);case 2:case"end":return e.stop()}}),Xd)}function pu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Wt,du);case 2:case"end":return e.stop()}}),_d)}function xu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Ut,iu);case 2:case"end":return e.stop()}}),eu)}function Ou(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Kt,uu);case 2:case"end":return e.stop()}}),tu)}function fu(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(hu),Object(id.c)(bu),Object(id.c)(mu),Object(id.c)(ju),Object(id.c)(pu),Object(id.c)(Ou),Object(id.c)(xu)]);case 2:case"end":return e.stop()}}),au)}var vu=fu,gu=f.a.mark(qu),yu=f.a.mark($u),Nu=f.a.mark(Vu),Au=f.a.mark(Wu),ku=f.a.mark(Uu),Cu=f.a.mark(Gu),wu=f.a.mark(Yu),Su=f.a.mark(Ku),Pu=f.a.mark(zu),Tu=f.a.mark(Ju),Iu=f.a.mark(Qu),Eu=f.a.mark(Hu),Bu=f.a.mark(Zu),Du=f.a.mark(Xu),Fu=f.a.mark(_u),Ru=f.a.mark(eh),Lu=f.a.mark(th),Mu=f.a.mark(ah);function qu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(V);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Ca,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Or(t.t0)
1);case 12:case"end":return t.stop()}}),gu,null,[[0,8]])}function $u(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.productId,r.prev=1,r.next=4,Object(id.b)(be,t);case 4:return a=r.sent,r.next=7,Object(id.d)({type:Pa,payload:a});case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(fr(r.t0));case 13:case"end":return r.stop()}}),yu,null,[[1,9]])}function Vu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Ae);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Ua,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(vr(t.t0));case 12:case"end":return t.stop()}}),Nu,null,[[0,8]])}function Wu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Se);case 3:return e=t.sent,t.next=6,Object(id.d)({type:tr,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(wr(t.t0));case 12:case"end":return t.stop()}}),Au,null,[[0,8]])}function Uu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Pe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:nr,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Sr(t.t0));case 12:case"end":return t.stop()}}),ku,null,[[0,8]])}function Gu(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ie,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Ir(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Er(r.t0));case 13:case"end":return r.stop()}}),Cu,null,[[1,9]])}function Yu(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ee,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Br(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Dr(r.t0));case 13:case"end":return r.stop()}}),wu,null,[[1,9]])}function Ku(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Te,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Pr(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Tr(r.t0));case 13:case"end":return r.stop()}}),Su,null,[[1,9]])}function zu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Be);case 3:return e=t.sent,t.next=6,Object(id.d)({type:pr,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Fr(t.t0));case 12:case"end":return t.stop()}}),Pu,null,[[0,8]])}function Ju(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ce,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Nr(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Ar(r.t0));case 13:case"end":return r.stop()}}),Tu,null,[[1,9]])}function Qu(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(we,t);case 4:return a=r.sent,console.log("response",a),r.next=8,Object(id.d)(kr(a));case 8:r.next=15;break;case 10:return r.prev=10,r.t0=r.catch(1),console.log("error",r.t0),r.next=15,Object(id.d)(Cr(r.t0));case 15:case"end":return r.stop()}}),Iu,null,[[1,10]])}function Hu(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(ke,t);case 4:return a=r.sent,r.next=7,Object(id.d)(gr(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(yr(r.t0));case 13:case"end":return r.stop()}}),Eu,null,[[1,9]])}function Zu(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(lt);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Ea,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Rr(t.t0));case 12:case"end":return t.stop()}}),Bu,null,[[0,8]])}function Xu(e){var t,a,r,n;return f.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,a=t.commentId,r=t.productId,s.prev=1,s.next=4,Object(id.b)(it,a,r);case 4:return n=s.sent,s.next=7,Object(id.d)({type:Fa,payload:n});case 7:s.next=13;break;case 9:return s.prev=9,s.t0=s.catch(1),s.next=13,Object(id.d)(Lr(s.t0));case 13:case"end":return s.stop()}}),Du,null,[[1,9]])}function _u(e){var t,a,r,n,s;return f.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload,a=t.commentId,r=t.productId,n=t.replyId,c.prev=1,c.next=4,Object(id.b)(dt,a,r,n);case 4:return s=c.sent,c.next=7,Object(id.d)({type:La,payload:s});case 7:c.next=13;break;case 9:return c.prev=9,c.t0=c.catch(1),c.next=13,Object(id.d)(Mr(c.t0));case 13:case"end":return c.stop()}}),Fu,null,[[1,9]])}function eh(e){var t,a,r,n,s;return f.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload,a=t.commentId,r=t.productId,n=t.replyText,c.prev=1,c.next=4,Object(id.b)(ut,a,r,n);case 4:return s=c.sent,c.next=7,Object(id.d)({type:qa,payload:s});case 7:c.next=13;break;case 9:return c.prev=9,c.t0=c.catch(1),c.next=13,Object(id.d)(qr(c.t0));case 13:case"end":return c.stop()}}),Ru,null,[[1,9]])}function th(e){var t,a,r,n;return f.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,a=t.productId,r=t.commentText,s.prev=1,s.next=4,Object(id.b)(ht,a,r);case 4:return n=s.sent,s.next=7,Object(id.d)({type:Va,payload:n});case 7:s.next=13;break;case 9:return s.prev=9,s.t0=s.catch(1),s.next=13,Object(id.d)($r(s.t0));case 13:case"end":return s.stop()}}),Lu,null,[[1,9]])}function ah(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(ka,qu);case 2:return e.next=4,Object(id.e)(Sa,$u);case 4:return e.next=6,Object(id.e)(Wa,Vu);case 6:return e.next=8,Object(id.e)(er,Wu);case 8:return e.next=10,Object(id.e)(rr,Uu);case 10:return e.next=12,Object(id.e)(cr,Ku);case 12:return e.next=14,Object(id.e)(ir,Gu);case 14:return e.next=16,Object(id.e)(hr,Yu);case 16:return e.next=18,Object(id.e)(jr,zu);case 18:return e.next=20,Object(id.e)(Ya,Hu);case 20:return e.next=22,Object(id.e)(Ja,Ju);case 22:return e.next=24,Object(id.e)(Za,Qu);case 24:return e.next=26,Object(id.e)(Ia,Zu);case 26:return e.next=28,Object(id.e)(Da,Xu);case 28:return e.next=30,Object(id.e)(Ra,_u);case 30:return e.next=32,Object(id.e)(Ma,eh);case 32:return e.next=34,Object(id.e)($a,th);case 34:case"end":return e.stop()}}),Mu)}var rh=ah,nh=f.a.mark(dh),sh=f.a.mark(uh),ch=f.a.mark(hh),oh=f.a.mark(bh),lh=f.a.mark(mh),ih=f.a.mark(jh);function dh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(me);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Wr,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(an(t.t0));case 12:case"end":return t.stop()}}),nh,null,[[0,8]])}function uh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(je,t);case 4:return a=r.sent,r.next=7,Object(id.d)(rn(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(nn(r.t0));case 13:case"end":return r.stop()}}),sh,null,[[1,9]])}function hh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(pe,t);case 4:return a=r.sent,r.next=7,Object(id.d)(sn(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(cn(r.t0));case 13:case"end":return r.stop()}}),ch,null,[[1,9]])}function bh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(xe,t);case 4:return a=r.sent,r.next=7,Object(id.d)(on(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(ln(r.t0));case 13:case"end":return r.stop()}}),oh,null,[[1,9]])}function mh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Oe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:en,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(dn(t.t0));case 12:case"end":return t.stop()}}),lh,null,[[0,8]])}function jh(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Vr,dh);case 2:return e.next=4,Object(id.e)(Gr,uh);case 4:return e.next=6,Object(id.e)(zr,hh);case 6:return e.next=8,Object(id.e)(Hr,bh);case 8:return e.next=10,Object(id.e)(_r,mh);case 10:case"end":return e.stop()}}),ih)}var ph=jh,xh=f.a.mark(Nh),Oh=f.a.mark(Ah),fh=f.a.mark(kh),vh=f.a.mark(Ch),gh=f.a.mark(wh),yh=f.a.mark(Sh);function Nh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(fe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:hn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Cn(t.t0));case 12:case"end":return t.stop()}}),xh,null,[[0,8]])}function Ah(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(ve);case 3:return e=t.sent,t.next=6,Object(id.d)({type:jn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(wn(t.t0));case 12:case"end":return t.stop()}}),Oh,null,[[0,8]])}function kh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(ge);case 3:return e=t.sent,t.next=6,Object(id.d)({type:On,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Sn(t.t0));case 12:case"end":return t.stop()}}),fh,null,[[0,8]])}function Ch(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.roomId,r.prev=1,r.next=4,Object(id.b)(ye,t);case 4:return a=r.sent,r.next=7,Object(id.d)({type:gn,payload:a});case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Pn(r.t0)
1);case 13:case"end":return r.stop()}}),vh,null,[[1,9]])}function wh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.message,r.prev=1,r.next=4,Object(id.b)(Ne,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Tn(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(In(r.t0));case 13:case"end":return r.stop()}}),gh,null,[[1,9]])}function Sh(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(un,Nh);case 2:return e.next=4,Object(id.e)(mn,Ah);case 4:return e.next=6,Object(id.e)(xn,kh);case 6:return e.next=8,Object(id.e)(vn,Ch);case 8:return e.next=10,Object(id.e)(Nn,wh);case 10:case"end":return e.stop()}}),yh)}var Ph=Sh,Th=f.a.mark(Bh),Ih=f.a.mark(Dh),Eh=f.a.mark(Fh);function Bh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(De);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Bn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Mn(t.t0));case 12:case"end":return t.stop()}}),Th,null,[[0,8]])}function Dh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Fe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Rn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(qn(t.t0));case 12:case"end":return t.stop()}}),Ih,null,[[0,8]])}function Fh(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(En,Bh);case 2:return e.next=4,Object(id.e)(Fn,Dh);case 4:case"end":return e.stop()}}),Eh)}var Rh=Fh,Lh=f.a.mark($h),Mh=f.a.mark(Vh),qh=f.a.mark(Wh);function $h(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Re);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Vn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Kn(t.t0));case 12:case"end":return t.stop()}}),Lh,null,[[0,8]])}function Vh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.invoiceId,r.prev=1,r.next=4,Object(id.b)(Le,t);case 4:return a=r.sent,r.next=7,Object(id.d)({type:Gn,payload:a});case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(zn(r.t0));case 13:case"end":return r.stop()}}),Mh,null,[[1,9]])}function Wh(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)($n,$h);case 2:return e.next=4,Object(id.e)(Un,Vh);case 4:case"end":return e.stop()}}),qh)}var Uh=Wh,Gh=f.a.mark(Hh),Yh=f.a.mark(Zh),Kh=f.a.mark(Xh),zh=f.a.mark(_h),Jh=f.a.mark(eb),Qh=f.a.mark(tb);function Hh(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Me);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Qn,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(js(t.t0));case 12:case"end":return t.stop()}}),Gh,null,[[0,8]])}function Zh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.projectId,r.prev=1,r.next=4,Object(id.b)(qe,t);case 4:return a=r.sent,r.next=7,Object(id.d)({type:Xn,payload:a});case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(ps(r.t0));case 13:case"end":return r.stop()}}),Yh,null,[[1,9]])}function Xh(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ke,t);case 4:return a=r.sent,r.next=7,Object(id.d)(us(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(hs(r.t0));case 13:case"end":return r.stop()}}),Kh,null,[[1,9]])}function _h(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(ze,t);case 4:return a=r.sent,r.next=7,Object(id.d)(bs(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(ms(r.t0));case 13:case"end":return r.stop()}}),zh,null,[[1,9]])}function eb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ye,t);case 4:return a=r.sent,r.next=7,Object(id.d)(is(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(ds(r.t0));case 13:case"end":return r.stop()}}),Jh,null,[[1,9]])}function tb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Jn,Hh);case 2:return e.next=4,Object(id.e)(Zn,Zh);case 4:return e.next=6,Object(id.e)(es,eb);case 6:return e.next=8,Object(id.e)(rs,Xh);case 8:return e.next=10,Object(id.e)(cs,_h);case 10:case"end":return e.stop()}}),Qh)}var ab=tb,rb=f.a.mark(sb),nb=f.a.mark(cb);
1function sb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)($e);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Os,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(vs(t.t0));case 12:case"end":return t.stop()}}),rb,null,[[0,8]])}function cb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(xs,sb);case 2:case"end":return e.stop()}}),nb)}var ob=cb,lb=f.a.mark(xb),ib=f.a.mark(Ob),db=f.a.mark(fb),ub=f.a.mark(vb),hb=f.a.mark(gb),bb=f.a.mark(yb),mb=f.a.mark(Nb),jb=f.a.mark(Ab),pb=f.a.mark(kb);function xb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Qe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Ys,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(mc(t.t0));case 12:case"end":return t.stop()}}),lb,null,[[0,8]])}function Ob(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Xe);case 3:return e=t.sent,t.next=6,Object(id.d)({type:ec,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(fc(t.t0));case 12:case"end":return t.stop()}}),ib,null,[[0,8]])}function fb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(_e);case 3:return e=t.sent,t.next=6,Object(id.d)({type:rc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(vc(t.t0));case 12:case"end":return t.stop()}}),db,null,[[0,8]])}function vb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(at);case 3:return e=t.sent,t.next=6,Object(id.d)({type:ic,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(gc(t.t0));case 12:case"end":return t.stop()}}),ub,null,[[0,8]])}function gb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(et);case 3:return e=t.sent,t.next=6,Object(id.d)({type:cc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(yc(t.t0));case 12:case"end":return t.stop()}}),hb,null,[[0,8]])}function yb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(tt);case 3:return e=t.sent,t.next=6,Object(id.d)({type:hc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Nc(t.t0));case 12:case"end":return t.stop()}}),bb,null,[[0,8]])}function Nb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(He,t);case 4:return a=r.sent,r.next=7,Object(id.d)(jc(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(pc(r.t0));case 13:case"end":return r.stop()}}),mb,null,[[1,9]])}function Ab(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ze,t);case 4:return a=r.sent,r.next=7,Object(id.d)(xc(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Oc(r.t0));case 13:case"end":return r.stop()}}),jb,null,[[1,9]])}function kb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Gs,xb);case 2:return e.next=4,Object(id.e)(_s,Ob);case 4:return e.next=6,Object(id.e)(ac,fb);case 6:return e.next=8,Object(id.e)(lc,vb);case 8:return e.next=10,Object(id.e)(sc,gb);case 10:return e.next=12,Object(id.e)(uc,yb);case 12:return e.next=14,Object(id.e)(zs,Nb);case 14:return e.next=16,Object(id.e)(Hs,Ab);case 16:case"end":return e.stop()}}),pb)}var Cb=kb,wb=f.a.mark(Bb),Sb=f.a.mark(Db),Pb=f.a.mark(Fb),Tb=f.a.mark(Rb),Ib=f.a.mark(Lb),Eb=f.a.mark(Mb);function Bb(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Ve);case 3:return e=t.sent,t.next=6,Object(id.d)({type:ys,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Ms(t.t0));case 12:case"end":return t.stop()}}),wb,null,[[0,8]])}function Db(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Je);case 3:return e=t.sent,t.next=6,Object(id.d)({type:ks,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(qs(t.t0));case 12:case"end":return t.stop()}}),Sb,null,[[0,8]])}function Fb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ue,t);case 4:return a=r.sent,r.next=7,Object(id.d)($s(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Vs(r.t0));case 13:case"end":return r.stop()}}),Pb,null,[[1,9]])}function Rb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(Ge,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Ws(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Us(r.t0));case 13:case"end":return r.stop()}}),Tb,null,[[1,9]])}
1function Lb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(We,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Rs(a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Ls(r.t0));case 13:case"end":return r.stop()}}),Ib,null,[[1,9]])}function Mb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(gs,Bb);case 2:return e.next=4,Object(id.e)(As,Db);case 4:return e.next=6,Object(id.e)(ws,Lb);case 6:return e.next=8,Object(id.e)(Ts,Fb);case 8:return e.next=10,Object(id.e)(Bs,Rb);case 10:case"end":return e.stop()}}),Eb)}var qb=Mb,$b=f.a.mark(Ub),Vb=f.a.mark(Gb),Wb=f.a.mark(Yb);function Ub(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=e.payload,r.prev=1,"monthly"!=t){r.next=6;break}return r.next=5,Object(id.b)(rt,t);case 5:a=r.sent;case 6:if("yearly"!=t){r.next=10;break}return r.next=9,Object(id.b)(nt,t);case 9:a=r.sent;case 10:if("weekly"!=t){r.next=14;break}return r.next=13,Object(id.b)(st,t);case 13:a=r.sent;case 14:return r.next=16,Object(id.d)({type:Ac,payload:{actionType:Cc,data:a}});case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(1),r.next=22,Object(id.d)(wc(Cc,r.t0));case 22:case"end":return r.stop()}}),$b,null,[[1,18]])}function Gb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Cc,Ub);case 2:case"end":return e.stop()}}),Vb)}function Yb(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(Gb)]);case 2:case"end":return e.stop()}}),Wb)}var Kb=Yb,zb=f.a.mark(Xb),Jb=f.a.mark(_b),Qb=f.a.mark(em),Hb=f.a.mark(tm),Zb=f.a.mark(am);function Xb(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(ct,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Ec(Tc,a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Bc(Tc,r.t0));case 13:case"end":return r.stop()}}),zb,null,[[1,9]])}function _b(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,Object(id.b)(ot,t);case 4:return a=r.sent,r.next=7,Object(id.d)(Ec(Ic,a));case 7:r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,Object(id.d)(Bc(Ic,r.t0));case 13:case"end":return r.stop()}}),Jb,null,[[1,9]])}function em(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Tc,Xb);case 2:case"end":return e.stop()}}),Qb)}function tm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Ic,_b);case 2:case"end":return e.stop()}}),Hb)}function am(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=id.a,e.t1=[Object(id.c)(em)],e.next=4,Object(id.a)([Object(id.c)(tm)]);case 4:return e.t2=e.sent,e.next=7,(0,e.t0)(e.t1,e.t2);case 7:case"end":return e.stop()}}),Zb)}var rm=am,nm=f.a.mark(Tm),sm=f.a.mark(Im),cm=f.a.mark(Em),om=f.a.mark(Bm),lm=f.a.mark(Dm),im=f.a.mark(Fm),dm=f.a.mark(Rm),um=f.a.mark(Lm),hm=f.a.mark(Mm),bm=f.a.mark(qm),mm=f.a.mark($m),jm=f.a.mark(Vm),pm=f.a.mark(Wm),xm=f.a.mark(Um),Om=f.a.mark(Gm),fm=f.a.mark(Ym),vm=f.a.mark(Km),gm=f.a.mark(zm),ym=f.a.mark(Jm),Nm=f.a.mark(Qm),Am=f.a.mark(Hm),km=f.a.mark(Zm),Cm=f.a.mark(Xm),wm=f.a.mark(_m),Sm=f.a.mark(ej),Pm=f.a.mark(tj);function Tm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(W);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Fc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(go(t.t0));case 12:case"end":return t.stop()}}),nm,null,[[0,8]])}function Im(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(U);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Mc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(No(t.t0));case 12:case"end":return t.stop()}}),sm,null,[[0,8]])}function Em(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(G);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Vc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(ko(t.t0));case 12:case"end":return t.stop()}}),cm,null,[[0,8]])}function Bm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Y);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Gc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(wo(t.t0));case 12:case"end":return t.stop()}}),om,null,[[0,8]])}function Dm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(K);case 3:return e=t.sent,t.next=6,Object(id.d)({type:zc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Po(t.t0));case 12:case"end":return t.stop()}}),lm,null,[[0,8]])}function Fm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(z);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Hc,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Io(t.t0));case 12:case"end":return t.stop()}}),im,null,[[0,8]])}function Rm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(J);case 3:return e=t.sent,t.next=6,Object(id.d)({type:_c,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Bo(t.t0));case 12:case"end":return t.stop()}}),dm,null,[[0,8]])}function Lm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Q);case 3:return e=t.sent,t.next=6,Object(id.d)({type:ao,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Fo(t.t0));case 12:case"end":return t.stop()}}),um,null,[[0,8]])}function Mm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(H);case 3:return e=t.sent,t.next=6,Object(id.d)({type:so,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Lo(t.t0));case 12:case"end":return t.stop()}}),hm,null,[[0,8]])}function qm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(Z);case 3:return e=t.sent,t.next=6,Object(id.d)({type:lo,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(qo(t.t0));case 12:case"end":return t.stop()}}),bm,null,[[0,8]])}function $m(e){var t,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.LocationId,r.prev=1,r.next=5,Object(id.b)(X,t);case 5:return a=r.sent,r.next=8,Object(id.d)({type:ho,payload:a});case 8:r.next=14;break;case 10:return r.prev=10,r.t0=r.catch(1),r.next=14,Object(id.d)($o(r.t0));case 14:case"end":return r.stop()}}),mm,null,[[1,10]])}function Vm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(_);case 3:return e=t.sent,t.next=6,Object(id.d)({type:jo,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Wo(t.t0));case 12:case"end":return t.stop()}}),jm,null,[[0,8]])}function Wm(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(id.b)(ee);case 3:return e=t.sent,t.next=6,Object(id.d)({type:Oo,payload:e});case 6:t.next=12;break;case 8:return t.prev=8,t.t0=t.catch(0),t.next=12,Object(id.d)(Go(t.t0));case 12:case"end":return t.stop()}}),pm,null,[[0,8]])}function Um(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Dc,Tm);case 2:case"end":return e.stop()}}),xm)}function Gm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Lc,Im);case 2:case"end":return e.stop()}}),Om)}function Ym(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)($c,Em);case 2:case"end":return e.stop()}}),fm)}function Km(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Uc,Bm);case 2:case"end":return e.stop()}}),vm)}function zm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Kc,Dm);case 2:case"end":return e.stop()}}),gm)}function Jm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Qc,Fm);case 2:case"end":return e.stop()}}),ym)}function Qm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(Xc,Rm);case 2:case"end":return e.stop()}}),Nm)}function Hm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(to,Lm);case 2:case"end":return e.stop()}}),Am)}function Zm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(no,Mm);case 2:case"end":return e.stop()}}),km)}function Xm(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(oo,qm);case 2:case"end":return e.stop()}}),Cm)}function _m(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(mo,Vm);case 2:case"end":return e.stop()}}),wm)}function ej(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.e)(xo,Wm);case 2:case"end":return e.stop()}}),Sm)}function tj(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(Um)]);case 2:return e.next=4,Object(id.a)([Object(id.c)(Gm)]);case 4:return e.next=6,Object(id.a)([Object(id.c)(Ym)]);case 6:return e.next=8,Object(id.a)([Object(id.c)(Km)]);case 8:return e.next=10,Object(id.a)([Object(id.c)(zm)]);case 10:return e.next=12,Object(id.a)([Object(id.c)(Jm)]);case 12:return e.next=14,Object(id.a)([Object(id.c)(Qm)]);case 14:return e.next=16,Object(id.a)([Object(id.c)(Hm)]);case 16:return e.next=18,Object(id.a)([Object(id.c)(Zm)]);case 18:return e.next=20,Object(id.a)([Object(id.c)(Xm)]);case 20:return e.next=22,Object(id.e)(uo,$m);case 22:return e.next=24,Object(id.a)([Object(id.c)(_m)]);case 24:return e.next=26,Object(id.a)([Object(id.c)(ej)]);case 26:case"end":return e.stop()}}),Pm)}var aj=tj,rj=f.a.mark(nj);function nj(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(id.a)([Object(id.c)(Od),Object(id.c)(wd),Object(id.c)(Dd),Object(id.c)(Vd),Object(id.c)(vu),Object(id.c)(rh),Object(id.c)(ph),Object(id.c)(Ph),Object(id.c)(Cb),Object(id.c)(Rh),Object(id.c)(Uh),Object(id.c)(ab),Object(id.c)(ob),Object(id.c)(qb),Object(id.c)(Kb),Object(id.c)(rm),Object(id.c)(aj)]);case 2:case"end":return e.stop()}}),rj)}var sj=Object(wi.a)(),cj=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Ci.c,oj=Object(Ci.d)(ld,cj(Object(Ci.a)(sj)));sj.run(nj);var lj=oj,ij=Object(ft.jsx)(i.a,{store:lj,children:Object(ft.jsx)(o.a,{base
1name:"/JSBOnline",children:Object(ft.jsx)(ki,{})})});c.a.render(ij,document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[547,1,2]]]); 2//# sourceMappingURL=main.3cb0521d.chunk.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.