{"version":3,"sources":["actions/types.js","reducers/auth.js","reducers/message.js","reducers/account.js","reducers/index.js","store.js","enviroment/environment.js","services/auth.service.js","actions/auth.js","assets/images/particles-mobile-theme1.svg","assets/images/logo.svg","assets/images/particles-web-theme1.svg","assets/images/particles-web-theme2.svg","assets/images/particles-web-theme3.svg","assets/images/particles-web-theme4.svg","assets/images/particles-web-theme5.svg","assets/images/particles-web-theme6.svg","assets/images/particles-web-theme7.svg","assets/images/particles-web-theme8.svg","assets/images/particles-web-theme9.svg","assets/images/particles-web-top-Theme-1.svg","components/BoPaymentLeftWrapper.js","helpers/BoLoader.js","helpers/WindowWidth.js","components/account/countDownTimer.js","helpers/history.js","helpers/DialoguePopup.js","components/account/TwoFaLogin.js","assets/images/icons/cross.svg","helpers/ModelPopup.js","components/auth/Login.js","services/account.service.js","actions/account.js","components/account/Register.js","assets/images/card-theme1.svg","assets/images/card-theme2.svg","assets/images/card-theme3.svg","assets/images/card-theme4.svg","assets/images/card-theme5.svg","assets/images/card-theme6.svg","assets/images/card-theme7.svg","assets/images/card-theme8.svg","assets/images/card-theme9.svg","assets/images/wifi-signal.svg","assets/images/tick-round.svg","assets/images/eye-off.svg","assets/images/eye-on.svg","services/auth-header.js","services/cardholder-cards.service.js","helpers/RefreshToken.js","components/AmberCard/amberlogo.png","components/kapedCard/assets/images/chip.png","components/AmberCard/AmberCard.js","components/KapedCardNew/KapedNewCard.js","components/cardholderCardScreens/CardDetails.js","components/cardholderCardScreens/CardLimits.js","assets/images/icons/credit-limit.svg","assets/images/icons/online-limit.svg","assets/images/icons/transfer-limit.svg","assets/images/icons/atm-limit.svg","services/transaction.service.js","assets/images/icons/add.svg","helpers/DateFormat.js","helpers/ReactDatePickerHelper.js","assets/images/icons/clients-empty.svg","assets/images/xls.svg","helpers/ExportToExcel.js","components/cardholderCardScreens/SearchGridSendMoney.js","components/cardholderCardScreens/Help.js","components/cardholderCardScreens/P2PTransfer.js","assets/images/tick.png","components/cardholderCardScreens/KapedVirtualAssistant.js","assets/images/kapedicon.png","components/cardholderCardScreens/ChangePinCardDetails.js","assets/images/icons/loader.svg","services/settings.service.js","components/account/TwoFaForm.js","assets/images/btn_off.svg","assets/images/btn_off_1.svg","components/permissions/PermissionTypes.js","components/cardholderCardScreens/CardHolderDetails.js","components/cardholderCardScreens/CHDSendMoney.js","helpers/HideTransactions.js","components/cardholderCardScreens/SearchGridCardTransactions.js","components/cardholderCardScreens/CHDashBoard.js","services/identityverification.service.js","components/issuerGlobal/RegisterGlobal.js","services/cards.services.js","components/issuerGlobal/RegisterIssuerT.js","components/auth/Dashboard.js","components/navigation/nav.js","components/KapedCardNew/useExternalScript.js","components/account/resetpassword.js","components/account/ForgotPassword.js","components/account/IdentityVerification.js","assets/images/icons/file-upload.svg","components/account/TwoFAVerification.js","components/verification/Verification.js","components/SettingsPageData.js","components/cardholders/SettingIdVerification.js","assets/images/icons/file.svg","assets/images/icons/file-address.svg","components/cardholders/Settings.js","services/help.service.js","components/Help.js","components/cardholderCardScreens/CardHolderCards.js","assets/images/icons/transfer.svg","assets/images/icons/receiving.svg","assets/images/icons/withdraw.svg","services/cardholder.service.js","components/cardholderCardScreens/CardHolderTransactions.js","helpers/ThemeSelector.js","components/previewTheme/PreviewTheme.js","App.js","components/cardholderCardScreens/SendMoney.js","components/account/CardVerification.js","helpers/AllDone.js","components/cardholders/3DSecureCode.js","helpers/EVerifyAuth.js","components/BankAccount/NavBankAccount.js","components/BankAccount/BADashBoard.js","components/BankAccount/DashboardBankAccount.js","components/BankAccount/IdentityVerificationBankAccount.js","actions/message.js","helpers/MobileMenu.js","serviceWorker.js","index.js"],"names":["REGISTER_SUCCESS","REGISTER_FAIL","LOGIN_SUCCESS","LOGIN_FAIL","LOGOUT","FORGOT_PASSWORD_SUCCESS","FORGOT_PASSWORD_FAIL","RESET_PASSWORD_SUCCESS","RESET_PASSWORD_FAIL","TWO_FA_EMAIL_SUCCESS","TWO_FA_RSEND_SUCCESS","TWO_FA_EMAIL_FAIL","TWO_FA_RESEND_FAIL","SET_MESSAGE","CLEAR_MESSAGE","PRELOGIN","REFRESH_TOKEN","user","JSON","parse","sessionStorage","getItem","initialState","isLoggedIn","authReducer","state","action","type","payload","accessToken","registeredUser","localStorage","twoFACode","accountReducer","twoFACodeRsnd","combineReducers","auth","account","message","middleware","thunk","store","createStore","rootReducer","composeWithDevTools","applyMiddleware","testingUrl","url","window","location","href","Env","AuthApiUrl","includes","AccountApiUrl","UserApiUrl","UploadDocuments","ClientAdmin","CardsApiUrl","CardHolderApiUrl","ClaimRoleAuth","DepositApiUrl","SettingsApiUrl","HelpApiUrl","TransactionApiUrl","GingerApiUrl","BankAccountApiUrl","API_URL","API_URL_GINGR","authObj","login","email","password","rememberMe","EmailCode","SmsCode","axios","post","then","response","data","auth_token","setItem","stringify","logout","removeItem","refreshtoken","resp","prelogin","loginCardConsole","loginData","UserId","headers","username","dispatch","AuthService","Promise","resolve","error","login_failure","email_confirmed","toString","reject","imagepath","imagetheme","BoPaymentWrapper","props","Themename","themename","imagetheme1","imagetheme2","imagetheme3","imagetheme4","imagetheme5","imagetheme6","imagetheme7","imagetheme8","imagetheme9","className","style","width","src","particlesmblicon","alt","backgroundImage","clientlogo","to","pagename","pagemsg","override","css","BoLoader","position","top","left","zIndex","height","backgroundColor","opacity","display","loading","alignItems","justifyContent","color","size","speedMultiplier","getWindowDimensions","innerWidth","innerHeight","useWindowDimensions","useState","windowDimensions","setWindowDimensions","useEffect","handleResize","addEventListener","removeEventListener","CountDownTimer","time","hours","minutes","seconds","milliseconds","duration","timer","startTimer","start","bind","parseInt","Math","floor","padStart","this","startTime","Date","now","setInterval","run","diff","remaining","setState","msToTime","clearTimeout","id","onClick","React","Component","history","createBrowserHistory","ModelPopup","Modal","aria-labelledby","centered","dialogClassName","Header","Title","modelheading","Body","mt-16","modelicon","onSubmit","e","preventDefault","modelbody","onHide","hideallpopups","Footer","TwoFaLogin","useDispatch","modalShow","setModalShow","disable2faButton","setDisable2faButton","boloader","setBoLoader","modelhdng","setMdlHdng","MdlIcon","setMdlIcon","modelbdy","setMdlBdy","showtimer","document","getElementById","click","mint","secs","textContent","getOTP","length","emailcode","smscode","res","push","catch","msgBody","errorAndSuccessModl","heading","body","errIcon","htmlFor","placeholder","autoFocus","onChange","classNames","container","character","characterInactive","characterSelected","resendcode","disabled","DialoguePopup","show","showheader","crossImg","aria-label","requiredEmail","value","classList","add","remove","requiredPass","validEmail","isEmail","Login","form","useRef","checkBtn","setEmail","setPassword","setRememberMe","setLoading","useSelector","passwordShown","setPasswordShown","showHidePassClass","setshowHidePassClass","rmbrMeChkBox","setrmbrMeChkBox","hasErrorClass","setconditionalClassName","showTwoFA","setShowTwoFA","confirmcaptcha","setConfirmcaptcha","userEmail","userPass","handleLogin","current","validateAll","context","_errors","err","ref","name","target","validations","checked","sitekey","verifyCallback","onExpired","backdrop","keyboard","rememberme","closepopup","accountService","register","Name","phonenumber","dateofbirth","address","userId","put","success","forgotPassword","WebHostUrl","resetpassword","code","sendTwoFA_Code","get","get_two_FA_Code","result","getUserbyId","ActivateUserAccount","ClientSignUp","Email","Password","AccountService","emailsending_error","passrequired","required","confrmPassRequired","passwordValue","role","vusername","vpassword","vcpassword","Register","setBoUserName","confirmpassword","setConfirmPassword","phoneNumber","setPhoneNumber","dob","setDob","Address","setAddress","cPasswordShown","setCPasswordShown","showHideCPassClass","setshowHideCPassClass","search","params","URLSearchParams","kycPermission","emailmsg","setemailmsg","setclientlogo","theme","settheme","root","moment","dateOfBirth","format","logoUrl","themeName","primaryColor","primary","secondary","secondaryColor","lighter1","colorPrimarylighter1","lighter2","colorPrimarylighter2","documentElement","setProperty","setTimeout","class","split","replace","calledfrom","userid","title","number","onKeyPress","event","test","key","DOB","maxLength","confirmPassword","authHeader","Authorization","API_URL_Cardholders","API_URL_Transaction","cardholdercardsObj","changeCardHolderPin","Pin","TokenId","getCardDetails","getCardLimits","getCardHolderDetails","searhGridCardHoldersCards","tokenid","dateFrom","dateTo","startIndex","getCardNumber","getSuperAdminBalance","getCardCvv","getBalancePhysical","creditLimitCalculation","getpinb4b","changeCardHolderPinIssuerB","NewPin","refillbalance","suspendCard","OperatorUserId","UserIdCard","IsBlock","ClientId","Description","BlockAction","CardCurrency","changeCardHolderPinIssuerB4B","changeCardHolderPinIssuerTG","OldPin","RefreshToken","errState","a","authService","AmberCard","currentUser","setCvv","IconShown","setIconShown","kapedLogo","CardFlow","creditBalance","ClientBalance","displayType","thousandSeparator","clientCurrency","MaskedNumber","cardNumber","eyeOff","eyeOn","KapedNewCard","t1","gsap","timeline","paused","reversed","watch","card","querySelector","t2","watch2","card2","reverse","play","ease","y","x","scale","bottom","right","cardExpiry","classkaped","classkaped1","stackedcards1","CardDetails","setClientBalance","CardNumber","setCardNumber","setMaskedNumber","setTokenId","ValidThru","setValidThru","setClientCurrency","setCreditBalance","checkClientCurrency","totalLimit","superAdminBalance","String","PaymentProcessor","ThemeName","stackedcards2","stackedcards3","stackedcards4","stackedcards5","stackedcards6","stackedcards7","stackedcards8","stackedcards9","cardnumber","unMaskedCardNumber","match","setcard","tokenId","maskedCardNumber","toUpperCase","expiryDate","status","IsPhysicalCard","item1","balance","console","log","showHideIcon","ClientCurrency","cht","wifiSignalCard","tickRound","data-bs-ride","CardLimit","limits","setlimits","creditcardlimits","setCreditcardlimits","percentage","partialValue","totalValue","round","percentageString","returnvalue","aria-valuenow","aria-valuemin","aria-valuemax","loadCardLimit","IssuerName","cardPurchaseLimit","transactionObj","getTransactionStatsData","clientId","getVerificationPayee","Amount","CurrencyCode","saveP2PTransfer","SenderCustomerHashId","SenderWalletHashId","ReceiverWalletHashId","ReceiverCardHashId","SenderCardHashId","CardType","addToFavourite","getFavouritePayees","searhGridSendMoney","searhGridTransactionsCards","StartDate","EndDate","PageNumber","GetCardTransactionsspecificmonth","Month","Year","DateFormat","date","ReactDatePickerHelper","selected","datevalue","onchangedate","showMonthDropdown","showYearDropdown","dateFormat","maxDate","maximumdate","ExcelFile","ReactExport","ExcelSheet","ExcelColumn","ExportToExcel","ExcelColmn","element","marginTop","xls","Dataset","label","SearchGridInputData","DateFrom","DateTo","scrolled","isFirstTime","fontStyle","textTransform","SearchGridSendMoney","setCompanyName","setDateFrom","setDateTo","searchTbl","loadingData","setLoadingData","searchData","setSearchData","searchGridSuccess","setSearchGridSuccess","SearchInputDisabled","setSearchDisabled","totalCount","setTotalCount","dataset","setDataset","SearchClickHandler","dateFromHandler","dateFilter","dateToHandler","isFromUseEffect","transactionService","pageModel","appendedData","concat","onscroll","tblScrollHandler","ClearInputData","getElementsByClassName","forEach","children","placeholdervalue","crossImgs","onScroll","onWheel","Object","values","headersdata","map","index","amount","createdDate","renderText","Help","P2PTransfer","setAmount","dynamicClass","setDynamicClass","confirmModalShow","setconfirmModalShow","favouritePayee","setFavouritePayee","setName","setSenderCustomerHashId","setSenderWalletHashId","setReceiverWalletHashId","setReceiverCardHashId","setSenderCardHashId","dialougeModalShow","setDialougeModalShow","fontSize","undefined","classparam","saveP2pDetails","item2","FavouritesList","i","reload","succeeded","closeP2pModal","maxLengthCheck","object","slice","t","indexOf","substr","receiverWalletHashId","senderCustomerHashId","senderWalletHashId","receiverCardHashId","senderCardHashId","for","blur","onInput","onKeyDown","evt","AccountNumber","parseFloat","screenname","onclick","data-bs-dismiss","KapedVirtualAssistant","ChangePinCardDetails","modalsuccessfullShow","setModalsuccessfullShow","modalerrorShow","setModalerrorShow","setcurrentpin","newpin","setnewpin","confirmpin","setconfirmpin","onChangeConfirmPin","onHideModal","handleRegister","isError","onClickChange","settingsObj","changePassword","currentPassword","newPassword","checkCurrentPassword","ecode1","ecode2","ecode3","ecode4","ecode5","ecode6","maskedUserEmail","interval","TwoFaForm","twoFaData","maskedEmail","setMaskedEmail","settingsScreenSuccess","setsettingsScreenSuccess","settingsScreenFailed","setsettingsScreenFailed","cardHolderCardResetPin","setCardHolderCardResetPin","splitEmail","splitEmailIndex","Resend2FA","emailCode1","setEmailCode1","emailCode2","setEmailCode2","emailCode3","setEmailCode3","emailCode4","setEmailCode4","emailCode5","setEmailCode5","emailCode6","setEmailCode6","two_fa_successful","set_two_fa_Successful","settimerflag","checkAllValuesFilled","verificationCodeKeyPress","Icon","emailCode","clearInterval","settingsService","currentpassword","newpassword","kycPermisson","getElementsByName","focus","loaderimg","haspermissions","CardToCard","DebitCard","UserKyc","PhysicalCardCvv","setpermission","CardHolderDetails","confirmmodalShow","setCnfrmModalShow","modaldeactivateshow","setModaldeactivateshow","modalresetshow","setModalresetshow","modalchangeshow","setModalchangeshow","setcalledfrom","modalchangepinshow","setModalchangepinshow","Cvv","IconShownPin","setIconShownPin","cardpin","setCardPin","modalrefillamountshow","setModalrefillamountshow","dynamicClass2","setDynamicClass2","dialougeModalShowStatus","setDialougeModalShowStatus","Permissions","getCardPin","showHideIconPin","pendingbalance","data-bs-target","data-bs-toggle","userMobile","PhoneNumber","CHDSendMoney","setFavouritesList","refreshpage","setRefreshpage","setpendingbalance","pendingBalance","lst_favourites","Currency","currencyCode","addToSendMoney","currentTarget","innerText","isPermission","overflow","charAt","HideTransaction","B4BTransactionHeaders","SearchGridCardTransactions","TransactionsType","setTransactionsType","Status","setStatus","setCurrencyCode","setDate","ReferenceNumber","setReferenceNumber","MerchantName","setMerchantName","setDescription","modalShowTransactions","setModalShowTransactions","setMonth","setYear","content","reversearray","filtereddata","filteredData","filterTransactions","sortDateTransaction","removeTransactionsBilly","transaction","obj","reArr","sort","b","dateA","dateOfTransaction","dateB","transactions","excludedMerchantNames","filter","merchantName","calculateB4BFee","transactionResponse","authAmount","fee","val","len","Number","toFixed","selectedOptions","select","totalElements","renderTableHeader","dateStr","transactionType","authCurrencyCode","retrievalReferenceNumber","description","transactionUuid","localDescription","transactionId","startsWith","allowNegative","prefix","suffix","showTransactionsPopup","renderTransactionDetails","CHDashBoard","clientsid","sendmoneypermission","clientid","API_URL_Upload","API_URL_BANKACCOUNT","identityverificationObj","identityverification","IssuingCountry","IDType","AddressProof","FilePathIdType","FilePathAddressProof","uploaduserdocs","formData","options","getIdTypeEnums","getProofofAddressEnums","getuseridentities","updateCardHolderIdentityDocuments","IssuerGKyc","IdNumber","IdType","IdDocLang","AddressType","AddressDocLang","IdFrontPic","IdBackPic","AddressFrontPic","AddressBackPic","IdFrontPicBase64","IdBackPicBase64","AddressFrontPicBase64","AddressBackPicBase64","StateId","idIssuedBy","idIssueDate","idExpDate","AddressIssuedBy","AddressIssueDate","issuertkyc","DocType","Language","DocNumber","IssuedBy","IssueDate","ExpireDate","ImageFront","ImageFrontExt","ImageBack","ImageBackExt","ImageFrontUrl","ImageBackUrl","deleteKyct","kycId","viewcardholdert","submitkyctoissuert","uploaddocument","Application_Id","Document_type","Document_front","Document_back","uploadagreement","Layer2_agreement","Proof_address_type","Account_agreement","Proof_address_doc","Accept_other_terms","uploadcorporateindividualdocument","CorporateApplication_Id","uploadcorporatedocument","ApplicationId","IncorporationDocuments","issuertgkyc","viewcardholdertg","submitkyctoissuertg","regeneratekyclink","viewcardholderZ","regeneratekyclinkZ","stateRequired","idRequired","addressIssuedRequired","IdIssuedbyRequired","RegisterGlobal","setFilePathAddressProof","FilePathAddressProofBack","setFilePathAddressProofBack","setFilePathIdType","FilePathIdTypeBack","setFilePathIdTypeBack","successfulSubmitted","setSuccessfulSubmitted","LogoNameID","setlogoNameID","LogoNameIDBack","setlogoNameIDBack","LogoNamePOF","setlogoNamePOF","LogoNamePOFBack","setlogoNamePOFBack","LogoSizeID","setlogoSizeID","LogoSizeIDBack","setlogoSizeIDBack","LogoSizePOF","setlogoSizePOF","LogoSizePOFBack","setlogoSizePOFBack","isValidIdType","setiisValidIdType","setiisValidProofofAdrs","setiisValidProofofAdrsBack","isValidLogoIdType","setiisValidLogoIdType","isValidLogoIdTypeBack","setiisValidLogoIdTypeBack","isValidLogoProofofAdrs","setisValidLogoProofofAdrs","isValidLogoProofofAdrsBack","setisValidLogoProofofAdrsBack","showIDIssueErr","setShowIDIssueErr","showIDExpiryErr","setshowIDExpiryErr","showAddressIssueErr","setShowAddressIssueErr","POAAddress","isValidFileId","setisValidFileId","isValidFileIdSize","setisValidFileIdSize","isValidFileIdBack","setisValidFileIdBack","isValidFilePoa","setiisValidFilePoa","isValidFilePoaBack","setiisValidFilePoaBack","setStateID","setAddressProof","AddressProofBack","setIDType","setIdDocLang","setAdressType","setAddressDocLang","setIdNumber","base64ID","setBase64ID","base64IDBack","setBase64IDBack","base64Poa","setBase64Poa","base64PoaBack","setBase64PoaBack","setIdIssuedBy","setIdIssueDate","setIdExpDate","setAddressIssuedBy","setAddressIssueDate","AddressIssueDateAPI","setAddressIssueDateAPI","idIssueDateAPI","setIdIssueDateAPI","idExpDateAPI","setIdExpDateAPI","dropDownIcon","paddingLeft","getBase64","file","callback","reader","FileReader","readAsDataURL","onChangeIDtype","file_data","files","formdata","FormData","formatBytes","append","base64Data","onChangeIDtypeBack","onChangeProofofaddress","onChangeProofofaddressBack","onCrossImg","onCrossImgIdBack","onCrossImgId","onCrossImgBack","bytes","decimals","k","dm","sizes","pow","IsKycSubmitted","statusvalue","apidate","toJSON","requiredIssueDate","requiredExpiryDate","hidden","readOnly","crossimg","requiredIssueDateAddress","base64IDval","base64IDBackval","base64Poaval","base64PoaBackval","cardsService","IssueCardToCardHolder","RegisterCardHolder","DateofBirth","availableBalance","Rolename","cardId","getCardStatusData","searhGrid","issueDate","methodName","approveRejectCardHolder","cardUuid","ActivatePhysicalCard","KitNumber","get3drequest","dRequestapproval","ApprovalStatus","RequestId","assigncardT","CardOwnerName","assigncardtg","approverejectkyc","assigncardtgv","ActivatePhysicalCardZ","languageRequired","RegisterIssuerT","language","setLanguage","selfie","drivingLicense","passport","proofOfAddress","setKycId","kycDocLength","setKycDocsLength","kycstatus","setKycstatus","setImageBackExt","setImageFrontExt","LinkTG","setLinkTG","docType","setDocType","setCardOwnerName","viewCardHolderTG","viewCardHolderT","viewCardHolderZ","kycDocs","kycDocID","approveRejectKyc","sysRes2","sumsubLink","stat","KycApprovedByIssuer","changeHandlerDocType","onChangeNumber","onChangeIdIssue","onChangeIdIssuedBy","onChangeLanguage","clearAllFields","imageFrontExt","imageBackExt","rel","textDecoration","Dashboard","IsCardActivate","isphysicalcard","Navigation","script","handleScript","createElement","async","appendChild","useExternalScript","activeClass","setActiveClass","applyActiveClass","pathname","closeLeftMenu","contains","cssText","logo","userkyc","iskycsubmitted","logOut","requiredPassword","requiredCPassword","ResetPassword","successful","setSuccessful","cpasswordShown","ForgotPassword","origin","IdentityVerification","AddressProofList","setAddressProofList","IDTypeList","setIDTypeList","setIssuingCountry","allowKYC","setAllowKYC","isValidCountry","setisValidCountry","isValidProofofAdrs","setiUserId","State","seState","mainContent","updatestate","idType","setdefaultval","setAddressProofs","updateUser","trim","saveUser","onSelect","searchable","option","TwoFAVerification","registerationData","setKycPermission","Id","handleTwo_FA","Verification","setSuccess","cprequired","nprequired","cnprequired","vnpassword","vcnpassword","SettingsPageData","changePasswordMdlShow","setchangePasswordMdlShow","setCurrentPassword","setNewPassword","cnewPassword","setCNewPassword","validateCurrentPassword","CloseMdlPopHandler","SettingIdVerification","isNewField","setisNewField","IsNewCountry","setIsNewCountry","IsNewIdType","setIsNewIdType","IsnewProofofAddress","setIsnewProofofAddress","isValidFile","setisValidFile","downloadAddress","setDownloadAddress","downloadType","setDownloadType","filePathIdType","obj1","filePathAddressProof","obj2","issuingCountry","addressProof","resetPage","countries","cross","accept","Settings","ProfileTab","setProfileTab","ProfileTabAreaSelected","setProfileTabAreaSelected","IdVerificationTab","setIdVerificationTab","IdVerificationTabAreaSelected","setIdVerificationTabAreaSelected","setContent","btnProfile","aria-controls","aria-selected","HelpObj","submitHelpQuery","QuerryText","TitleRequired","DescRequried","successfullyFormSubmitted","setsuccessfullyFormSubmitted","helpTitle","sethelpTitle","helpDescription","sethelpDescription","helpService","rows","CardHolderCards","API_URL_BANK_ACCOUNT","cardHolderService","getcardholderDetail","CardHolderId","updateCardHolderStatus","cardholderId","isActive","gettransactiondata","GetAccountDetails","checkstatus","getcorporateaccountdetails","CardHolderTransactions","settransContent","settransDataSuccessful","require","mainBg","menuBg","cardBg","selectedTab","tabHover","headingText","icon","line","textBox","font","ThemeSelector","Suspense","fallback","CHOSEN_THEME","SendMoney","PreviewTheme","PrimaryColor","SecondaryColor","ColorPrimarylighter1","ColorPrimarylighter2","MainBg","MenuBg","CardBg","SelectedTab","TabHover","HeadingText","Line","TextBox","Font","addThemeVariables","submitForm","aria-expanded","requiredKitNumber","requiredCardOwnerName","CardVerification","setKitNumber","handleSubmitIssuerT","logoutUser","AllDone","headerData","DSecureCode","userID","setRequestId","setmessage","modalShowDialouge","setModalShowDialouge","refereshCode","acceptCode","isApproved","card3DSecureID","transAmount","merchant","expiry","errors","card3DSecureStatus","renderTableData","EVerifyAuth","getAuthVerification","NavBankAccount","BADashBoard","cardHolderDetail","setCardHolderDetail","callHolderServiceCall","msg","registeredName","firstName","lastName","city","country","zipCode","accountNumberAch","routingNumberAch","accountNumberFed","routingNumberFed","accountNumberSwift","swiftBic","DashboardBankAccount","IdentityVerificationBankAccount","CorporateApplicationId","CorporateId","CheckDocument","setCheckDocument","CheckAgreement","setCheckAgreement","CheckCorporateDocument","setCheckCorporateDocument","CheckCorporateIndidualDoc","setCheckCorporateIndidualDoc","IsCorporateIndividual","defaultcolor","App","idleTime","setIdleTime","listen","removeThemeVariables","removeProperty","MainBackgroundColor","MenuBackgroundColor","CardBackgroundColor","SelectedTabColor","TabHoverColor","HeadingTextColor","IconColor","LineColor","TextBoxColor","FontColor","useIdleTimer","timeout","onIdle","onActive","getRemainingTime","onAction","crossTab","debounce","getLastActiveTime","ClientLogoUrl","exact","path","component","CardHolderSettings","Boolean","hostname","defaults","common","ReactDOM","render","navigator","serviceWorker","ready","registration","unregister"],"mappings":"ykBAAaA,EAAmB,mBACnBC,EAAgB,gBAChBC,EAAgB,gBAChBC,EAAa,aACbC,EAAS,SACTC,EAA0B,0BAC1BC,EAAuB,uBACvBC,EAAyB,yBACzBC,EAAsB,sBACtBC,EAAuB,uBACvBC,EAAuB,uBACvBC,EAAoB,oB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CPNra,IAAMwyC,SAASxxC,QAAQyxC,OAAS,CAC9B,OAAU,2CAEZC,IAASC,OAEP,eAAC,IAAD,CAAU90C,MAAOA,EAAjB,SAEE,eAAC,GAAD,MAIFqL,SAASC,eAAe,eD6GpB,kBAAmBypC,WACrBA,UAAUC,cAAcC,MACrB5yC,MAAK,SAAA6yC,GACJA,EAAaC,gBAEdlpC,OAAM,SAAAxI,GACLyZ,QAAQzZ,MAAMA,EAAM5D,c","file":"static/js/main.c260c9de.chunk.js","sourcesContent":["export const REGISTER_SUCCESS = \"REGISTER_SUCCESS\";\nexport const REGISTER_FAIL = \"REGISTER_FAIL\";\nexport const LOGIN_SUCCESS = \"LOGIN_SUCCESS\";\nexport const LOGIN_FAIL = \"LOGIN_FAIL\";\nexport const LOGOUT = \"LOGOUT\";\nexport const FORGOT_PASSWORD_SUCCESS = \"FORGOT_PASSWORD_SUCCESS\";\nexport const FORGOT_PASSWORD_FAIL = \"FORGOT_PASSWORD_FAIL\";\nexport const RESET_PASSWORD_SUCCESS = \"RESET_PASSWORD_SUCCESS\";\nexport const RESET_PASSWORD_FAIL = \"RESET_PASSWORD_FAIL\";\nexport const TWO_FA_EMAIL_SUCCESS = \"TWO_FA_EMAIL_SUCCESS\";\nexport const TWO_FA_RSEND_SUCCESS = \"TWO_FA_RSEND_SUCCESS\";\nexport const TWO_FA_EMAIL_FAIL = \"TWO_FA_EMAIL_FAIL\";\nexport const TWO_FA_RESEND_FAIL = \"TWO_FA_RESEND_FAIL\";\nexport const SET_MESSAGE = \"SET_MESSAGE\";\nexport const CLEAR_MESSAGE = \"CLEAR_MESSAGE\";\nexport const PRELOGIN = \"PRELOGIN\";\nexport const REFRESH_TOKEN = \"REFRESH_TOKEN\";","import { LOGIN_SUCCESS, LOGIN_FAIL, LOGOUT,PRELOGIN,REFRESH_TOKEN } from \"../actions/types\";\n\nconst user = JSON.parse(sessionStorage.getItem(\"user\"));\n\nconst initialState = user\n ? { isLoggedIn: true, user }\n : { isLoggedIn: false, user: null };\n\nconst authReducer = (state = initialState, action) => {\n const { type, payload } = action;\n\n switch (type) {\n case LOGIN_SUCCESS:\n return {\n ...state,\n isLoggedIn: true,\n user: payload.user,\n };\n case LOGIN_FAIL:\n return {\n ...state,\n isLoggedIn: false,\n user: null,\n };\n case LOGOUT:\n return {\n ...state,\n isLoggedIn: false,\n user: null,\n };\n case PRELOGIN:\n return {\n ...state,\n isLoggedIn: false,\n user: null,\n };\n case REFRESH_TOKEN:\n return {\n ...state,\n user: { ...user, accessToken: payload }\n };\n default:\n return state;\n }\n};\nexport default authReducer;\n","import { SET_MESSAGE, CLEAR_MESSAGE } from \"../actions/types\";\n\nconst initialState = {};\n\nexport default function Message(state = initialState, action) {\n const { type, payload } = action;\n\n switch (type) {\n case SET_MESSAGE:\n return { message: payload };\n\n case CLEAR_MESSAGE:\n return { message: \"\" };\n\n default:\n return state;\n }\n}\n","import {\n REGISTER_SUCCESS,\n REGISTER_FAIL,\n FORGOT_PASSWORD_SUCCESS,\n FORGOT_PASSWORD_FAIL,\n RESET_PASSWORD_SUCCESS,\n RESET_PASSWORD_FAIL,\n TWO_FA_EMAIL_SUCCESS,\n TWO_FA_EMAIL_FAIL,\n TWO_FA_RESEND_FAIL,\n TWO_FA_RSEND_SUCCESS,\n} from \"../actions/types\";\n\nconst registeredUser = JSON.parse(localStorage.getItem(\"userRegisteration\"));\nconst twoFACode = JSON.parse(localStorage.getItem(\"2facode\"));\nconst initialState = {\n registeredUser,\n twoFACode,\n};\n\nconst accountReducer = (state = initialState, action) => {\n const { type, payload } = action;\n\n switch (type) {\n case REGISTER_SUCCESS:\n return {\n ...state,\n isLoggedIn: false,\n registeredUser: payload.registeredUser,\n };\n case REGISTER_FAIL:\n return {\n ...state,\n isLoggedIn: false,\n registeredUser: null,\n };\n case FORGOT_PASSWORD_SUCCESS:\n return {\n ...state,\n isLoggedIn: false,\n };\n case FORGOT_PASSWORD_FAIL:\n return {\n ...state,\n isLoggedIn: false,\n };\n case RESET_PASSWORD_SUCCESS:\n return {\n ...state,\n isLoggedIn: false,\n };\n case RESET_PASSWORD_FAIL:\n return {\n ...state,\n isLoggedIn: false,\n };\n case TWO_FA_EMAIL_SUCCESS:\n return {\n ...state,\n twoFACode: payload.twoFACode,\n };\n case TWO_FA_EMAIL_FAIL:\n return {\n ...state,\n twoFACode: null,\n };\n case TWO_FA_RESEND_FAIL:\n return {\n ...state,\n twoFACodeRsnd: \"fail\",\n };\n case TWO_FA_RSEND_SUCCESS:\n return {\n ...state,\n twoFACodeRsnd: \"success\",\n };\n default:\n return state;\n }\n};\nexport default accountReducer;\n","import { combineReducers } from \"redux\";\nimport auth from \"./auth\";\nimport message from \"./message\";\nimport account from \"./account\";\n\nexport default combineReducers({\n auth,\n account,\n message,\n});\n","import { createStore, applyMiddleware } from \"redux\";\nimport { composeWithDevTools } from \"redux-devtools-extension\";\nimport thunk from \"redux-thunk\";\nimport rootReducer from \"./reducers\";\n\nconst middleware = [thunk];\n\nconst store = createStore(\n rootReducer,\n composeWithDevTools(applyMiddleware(...middleware))\n);\n\nexport default store;\n","export const localhostUrl = \"http://localhost:8000/api/\";\nexport const deployedUrl = \"https://backend-live.card-console.com/api/\";\nexport const stagingUrl = \"https://backend-dev.card-console.com/api/\";\nexport const stagingdevUrl = \"https://backend-staging.card-console.com/api/\";\nexport const testingUrl=\"https://backend.bestglobalpayments.app/api/\";\nlet url = window.location.href;\nif (url.includes(\"localhost\")) url = localhostUrl;\nelse if(url.includes(\"dev.card\")) url= stagingUrl;\nelse if(url.includes(\"staging.card\")) url= stagingdevUrl;\nelse if(url.includes(\"card-console\")) url= deployedUrl;\nelse if (url.includes(\"bestglobalpayments\")) url = testingUrl;\nelse if (url.includes(\"bestglobalpayments\")) url = testingUrl;\nelse if (url.includes(\"bestglobalpayments\")) url = testingUrl;\nelse \nurl=\"https://fake\";\n\nexport const Env = {\n AuthApiUrl: url + \"auth/\",\n AccountApiUrl: url + \"accounts/\",\n UserApiUrl: url + \"users/\",\n UploadDocuments: url + \"Upload/\",\n ClientAdmin: url + \"Client/\",\n CardsApiUrl: url + \"card/\",\n CardHolderApiUrl: url + \"cardholder/\",\n ClaimRoleAuth: url + \"ClaimRoleAuth/\",\n DepositApiUrl: url + \"deposits/\",\n SettingsApiUrl: url + \"settings/\",\n HelpApiUrl: url + \"help/\",\n TransactionApiUrl: url + \"transaction/\",\n GingerApiUrl: url + \"Gingrlogin/\",\n BankAccountApiUrl: url + \"bankaccount/\",\n};\n","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\n\nconst API_URL = Env.AuthApiUrl; //\"http://localhost:8000/api/auth/\";\nconst API_URL_GINGR = Env.GingerApiUrl; //\"http://localhost:8000/api/auth/\";\n\nconst loginCardConsole = (email, password, rememberMe) => {\n return axios\n .post(API_URL + \"login\", {\n email,\n password,\n \n })\n .then((response) => {\n if (response.data.auth_token) {\n sessionStorage.setItem(\"user\", JSON.stringify(response.data));\n }\n if (rememberMe) {\n localStorage.setItem(\"boUserEmail\", email);\n localStorage.setItem(\"boUserPassword\", password);\n }\n return response.data;\n });\n};\n\nconst login = (email, password, rememberMe,EmailCode,SmsCode) => {\n return axios\n .post(API_URL + \"postlogin\", {\n email,\n password,\n EmailCode,SmsCode,\n })\n .then((response) => {\n if (response.data.auth_token) {\n sessionStorage.setItem(\"user\", JSON.stringify(response.data));\n }\n if (rememberMe) {\n localStorage.setItem(\"boUserEmail\", email);\n localStorage.setItem(\"boUserPassword\", password);\n }\n return response.data;\n });\n};\n\nconst logout = () => {\n sessionStorage.removeItem(\"user\");\n};\nconst refreshtoken = (accessToken) => {\n return axios.post(API_URL + \"refreshtoken\", { accessToken }).then((resp) => {\n return resp;\n });\n};\nconst prelogin = (email, password) => {\n return axios\n .post(API_URL + \"prelogin\", {\n email,\n password,\n })\n .then((response) => {\n return response;\n });\n};\nconst loginData = (UserId) => {\n // axios.defaults.headers.common = {\n // \"ApiKey\": \"SDAFG5G6FDSG5D4FG65D4SFG456DS54E\",\n // };\n return axios\n .post(API_URL_GINGR + \"logindata\", {\n UserId\n },\n {\n headers: {\n \"ApiKey\": \"SDAFG5G6FDSG5D4FG65D4SFG456DS54E\", // Set API key specifically for this request\n }\n })\n .then((response) => {\n if (response.data.auth_token) {\n sessionStorage.setItem(\"user\", JSON.stringify(response.data));\n }\n return response.data;\n });\n};\n\nconst authObj = {\n login,\n logout,\n refreshtoken,\n prelogin,\n loginCardConsole,\n loginData\n\n};\nexport default authObj;\n","import { LOGIN_SUCCESS, LOGIN_FAIL, LOGOUT, SET_MESSAGE,PRELOGIN,REFRESH_TOKEN } from \"./types\";\n\nimport AuthService from \"../services/auth.service\";\n\nexport const login = (username, password, rememberMe,emailcode,smscode) => (dispatch) => {\n return AuthService.login(username, password, rememberMe,emailcode,smscode).then(\n (data) => {\n dispatch({\n type: LOGIN_SUCCESS,\n payload: { user: data },\n });\n\n return Promise.resolve();\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.login_failure) ||\n error.response.data.email_confirmed ||\n (error.response.data && error.response.data[\"\"]) ||\n error.response.data ||\n error.toString();\n\n dispatch({\n type: LOGIN_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\n\n\nexport const prelogin = (username, password) => (dispatch) => {\n return AuthService.prelogin(username, password).then(\n (data) => {\n dispatch({\n type: PRELOGIN,\n payload: { user: data },\n });\n\n return Promise.resolve();\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.login_failure) ||\n error.response.data.email_confirmed ||\n (error.response.data && error.response.data[\"\"]) ||\n error.response.data ||\n error.toString();\n\n dispatch({\n type: PRELOGIN,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\n\nexport const loginCardConsole = (username, password, rememberMe) => (dispatch) => {\n return AuthService.loginCardConsole(username, password, rememberMe).then(\n (data) => {\n dispatch({\n type: LOGIN_SUCCESS,\n payload: { user: data },\n });\n\n return Promise.resolve();\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.login_failure) ||\n error.response.data.email_confirmed ||\n (error.response.data && error.response.data[\"\"]) ||\n error.response.data ||\n error.toString();\n\n dispatch({\n type: LOGIN_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\nexport const loginData = (UserId) => (dispatch) => {\n return AuthService.loginData(UserId).then(\n (data) => {\n dispatch({\n type: LOGIN_SUCCESS,\n payload: { user: data },\n });\n\n return Promise.resolve();\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.login_failure) ||\n error.response.data.email_confirmed ||\n (error.response.data && error.response.data[\"\"]) ||\n error.response.data ||\n error.toString();\n\n dispatch({\n type: LOGIN_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\nexport const logout = () => (dispatch) => {\n AuthService.logout();\n\n dispatch({\n type: LOGOUT,\n });\n};\nexport const refreshToken = (accessToken) => (dispatch) => {\n dispatch({\n type: REFRESH_TOKEN,\n payload: accessToken\n });\n};","export default __webpack_public_path__ + \"static/media/particles-mobile-theme1.ff0c3dc6.svg\";","export default __webpack_public_path__ + \"static/media/logo.2020da73.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme1.ae5e65ef.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme2.6299aee7.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme3.4b166df1.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme4.f19a4025.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme5.dd968eff.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme6.b1031732.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme7.0121d9fb.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme8.a9ebaa50.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-theme9.8907794a.svg\";","export default __webpack_public_path__ + \"static/media/particles-web-top-Theme-1.824f6e01.svg\";","import React from \"react\";\nimport logo from \"../assets/images/logo.svg\";\nimport particlesmblicon from \"../assets/images/particles-mobile-theme1.svg\";\nimport { Link } from \"react-router-dom\";\nimport imagetheme1 from \"../assets/images/particles-web-theme1.svg\";\nimport imagetheme2 from \"../assets/images/particles-web-theme2.svg\";\nimport imagetheme3 from \"../assets/images/particles-web-theme3.svg\";\nimport imagetheme4 from \"../assets/images/particles-web-theme4.svg\";\nimport imagetheme5 from \"../assets/images/particles-web-theme5.svg\";\nimport imagetheme6 from \"../assets/images/particles-web-theme6.svg\";\nimport imagetheme7 from \"../assets/images/particles-web-theme7.svg\";\nimport imagetheme8 from \"../assets/images/particles-web-theme8.svg\";\nimport imagetheme9 from \"../assets/images/particles-web-theme9.svg\";\nimport imagetheme from \"../assets/images/particles-web-top-Theme-1.svg\";\n\nvar imagepath=imagetheme;\nfunction BoPaymentWrapper(props) {\n const Themename=props.themename;\n if(Themename===\"theme1\")\n imagepath=imagetheme1;\n if(Themename===\"theme2\")\n imagepath=imagetheme2;\n if(Themename===\"theme3\")\n imagepath=imagetheme3;\n if(Themename===\"theme4\")\n imagepath=imagetheme4;\n if(Themename===\"theme5\")\n imagepath=imagetheme5;\n if(Themename===\"theme6\")\n imagepath=imagetheme6;\n if(Themename===\"theme7\")\n imagepath=imagetheme7;\n if(Themename===\"theme8\")\n imagepath=imagetheme8;\n if(Themename===\"theme9\")\n imagepath=imagetheme9;\n\n return (\n
\n \"prctice\"\n
\n
\n {\n props.clientlogo ? (\n \"BO\n )\n :(\n \n

\n CardConsole\n

\n )\n }\n
\n
\n

\n

{props.pagename}

\n \n

{props.pagemsg}

\n
\n
\n
\n );\n}\n\nexport default BoPaymentWrapper;\n","import BeatLoader from \"react-spinners/BeatLoader\";\nimport { css } from \"@emotion/react\";\nimport React from \"react\";\n\nconst override = css`\n display: block;\n`;\nconst BoLoader = (props) => {\n return (\n \n \n \n );\n};\n\nexport default BoLoader;\n","import { useState, useEffect } from \"react\";\n\nconst getWindowDimensions = () => {\n const { innerWidth: width, innerHeight: height } = window;\n return {\n width,\n height,\n };\n};\n\nexport default function useWindowDimensions() {\n const [windowDimensions, setWindowDimensions] = useState(\n getWindowDimensions()\n );\n\n useEffect(() => {\n const handleResize = () => {\n setWindowDimensions(getWindowDimensions());\n };\n\n window.addEventListener(\"resize\", handleResize);\n return () => window.removeEventListener(\"resize\", handleResize);\n }, []);\n\n return windowDimensions;\n}\n","import React from \"react\";\n\nclass CountDownTimer extends React.Component {\n constructor() {\n super();\n this.state = {\n time: {\n hours: 0,\n minutes: 0,\n seconds: 0,\n milliseconds: 0,\n },\n duration: 2 * 60 * 1000,\n timer: null,\n };\n this.startTimer = this.start.bind(this);\n }\n msToTime(duration) {\n let milliseconds = parseInt(duration % 1000);\n let seconds = Math.floor((duration / 1000) % 60);\n let minutes = Math.floor((duration / (1000 * 60)) % 60);\n let hours = Math.floor((duration / (1000 * 60 * 60)) % 24);\n\n hours = hours.toString().padStart(2, \"0\");\n minutes = minutes.toString().padStart(2, \"0\");\n seconds = seconds.toString().padStart(2, \"0\");\n milliseconds = milliseconds.toString().padStart(3, \"0\");\n\n return {\n hours,\n minutes,\n seconds,\n milliseconds,\n };\n }\n\n start() {\n if (!this.state.timer) {\n this.state.startTime = Date.now();\n this.timer = window.setInterval(() => this.run(), 10);\n }\n }\n\n run() {\n const diff = Date.now() - this.state.startTime;\n\n // If you want to count up\n // this.setState(() => ({\n // time: this.msToTime(diff)\n // }));\n\n // count down\n let remaining = this.state.duration - diff;\n if (remaining < 0) {\n remaining = 0;\n }\n this.setState(() => ({\n time: this.msToTime(remaining),\n }));\n if (remaining === 0) {\n window.clearTimeout(this.timer);\n this.timer = null;\n }\n }\n\n render() {\n return (\n
\n \n {\" \"}\n Start{\" \"}\n {\" \"}\n {/* {this.state.time.hours}: */}\n

\n \n {this.state.time.minutes}\n {\":\"}\n {this.state.time.seconds}\n \n {\" seconds Remaining\"}\n

\n
\n );\n }\n}\nexport default CountDownTimer;\n","import { createBrowserHistory } from \"history\";\n\nexport const history = createBrowserHistory();\n","import Modal from \"react-bootstrap/Modal\";\nconst ModelPopup = (props) => {\n return (\n \n \n {props.modelheading}\n \n \n {\" \"}\n
\n
\n
\n \n \n \n \n
\n\n

{props.modelheading}

\n
\n
\n
e.preventDefault()}>\n
\n
\n

{props.modelbody}

\n
\n
\n
\n {\n props.modelicon.includes(\"icon-error\")\n ? props.onHide()\n : props?.hideallpopups();\n }}\n >\n Ok\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n );\n};\nexport default ModelPopup;\n","\nimport React, { useState,useEffect} from \"react\";\nimport { useDispatch} from \"react-redux\";\nimport CountDownTimer from \"./countDownTimer\";\nimport { history } from \"../../helpers/history\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport VerificationInput from \"react-verification-input\";\nimport { login } from \"../../actions/auth\";\n\nlet interval = \"\";\n\nconst TwoFaLogin = props => {\n const dispatch = useDispatch();\n const [modalShow, setModalShow] = useState(false);\n const [disable2faButton, setDisable2faButton] = useState(\"disabled\");\n const [boloader, setBoLoader] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [showtimer, settimerflag] = useState(true);\nuseEffect(() => {\n document.getElementById(\"timerbtn\").click();\n interval = setInterval(() => {\n let mint = document.getElementById(\"mints\");\n let secs = document.getElementById(\"secs\");\n if (\n mint &&\n mint.textContent === \"00\" &&\n secs &&\n secs.textContent === \"00\"\n )\n setDisable2faButton(\"\");\n }, 10000);\n}, [])\n\n const getOTP = e => {\n if (e.length === 6) {\n setBoLoader(true);\n let emailcode=parseInt(e);\n let smscode=parseInt(e);\n dispatch(login(props.email,props.password,props.rememberMe,emailcode,smscode))\n .then((res) => {\n setBoLoader(false);\n history.push(\"/dashboard\");\n })\n .catch((error) => {\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"You have entered an invalid code.\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n };\n const Resend2FA = () => {\n setDisable2faButton(\"disabled\");\ndocument.getElementById(\"timerbtn\").click();\n props.resendcode();\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n return (\n
\n \n
\n

Verify Your Email

\n
\n
\n
\n
Enter 6 digits code sent to your email
\n
\n \n
\n getOTP(e)}\n classNames={{\n container: \"container\",\n character: \"character\",\n characterInactive: \"character--inactive\",\n characterSelected: \"character--selected\",\n }}\n />\n
\n {showtimer && (\n
\n {\" \"}\n \n {/* \n

*/}\n
\n )}\n\n {showtimer && (\n
\n
\n \n Resend Code\n \n
\n
\n )}\n
\n \n
\n
\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n hideallpopups={() => setModalShow(false)}\n />\n
\n );\n};\n\nexport default TwoFaLogin;\n","export default __webpack_public_path__ + \"static/media/cross.cf155cc2.svg\";","import Modal from \"react-bootstrap/Modal\";\nimport crossImg from \"../assets/images/icons/cross.svg\";\nconst ModelPopup = (props) => {\n return (\n \n \n \n {props.modelheading}\n \n \n \n \n {props.modelbody}\n \n \n );\n};\nexport default ModelPopup;\n","import React, { useState, useRef, useEffect,Fragment } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { login,loginCardConsole,prelogin } from \"../../actions/auth\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport { isEmail } from \"validator\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport ReCAPTCHA from \"react-google-recaptcha\";\nimport TwoFaLogin from \"../account/TwoFaLogin\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nconst requiredEmail = (value) => {\n if (!value) {\n document.getElementById(\"EmailFrmgrp_lgn\").classList.add(\"has_error\");\n return (\n Please enterd a valid email address\n );\n } else\n document.getElementById(\"EmailFrmgrp_lgn\").classList.remove(\"has_error\");\n};\nconst requiredPass = (value) => {\n if (!value) {\n document.getElementById(\"PassFrmgrp_lgn\").classList.add(\"has_error\");\n return Please enterd a valid password;\n } else\n document.getElementById(\"PassFrmgrp_lgn\").classList.remove(\"has_error\");\n};\nconst validEmail = (value) => {\n if (!isEmail(value)) {\n document.getElementById(\"EmailFrmgrp_lgn\").classList.add(\"has_error\");\n return (\n Please enterd a valid email address\n );\n } else\n document.getElementById(\"EmailFrmgrp_lgn\").classList.remove(\"has_error\");\n};\nconst Login = (props) => {\n const form = useRef();\n const checkBtn = useRef();\n const { height, width } = useWindowDimensions();\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [rememberMe, setRememberMe] = useState(false);\n const [loading, setLoading] = useState(false);\n\n const { isLoggedIn } = useSelector((state) => state.auth);\n const { message } = useSelector((state) => state.message);\n const [passwordShown, setPasswordShown] = useState(false);\n const [showHidePassClass, setshowHidePassClass] = useState(\"icon-show\");\n const [rmbrMeChkBox, setrmbrMeChkBox] = useState(false);\n\n const [hasErrorClass, setconditionalClassName] = useState(\"\");\n const [showTwoFA, setShowTwoFA] = useState(false);\n\n const showHidePassHandler = () => {\n setPasswordShown(passwordShown ? false : true);\n setshowHidePassClass(passwordShown ? \"icon-show\" : \"icon-hidden\");\n };\n const dispatch = useDispatch();\n const [confirmcaptcha, setConfirmcaptcha] = useState(false);\n const onChangeUsername = (e) => {\n const email = e.target.value;\n setEmail(email);\n };\n\n const onChangePassword = (e) => {\n const password = e.target.value;\n setPassword(password);\n };\n const toggleRemmberMe = (e) => {\n const chkRememberMe = e.target.checked;\n if (chkRememberMe) {\n setRememberMe(true);\n setrmbrMeChkBox(true);\n } else {\n setRememberMe(false);\n setrmbrMeChkBox(false);\n }\n };\n useEffect(() => {\n let userEmail = localStorage.getItem(\"boUserEmail\");\n let userPass = localStorage.getItem(\"boUserPassword\");\n if (userEmail !== null && userPass !== null) {\n setEmail(userEmail);\n setPassword(userPass);\n setRememberMe(true);\n setrmbrMeChkBox(true);\n }\n }, []);\n\n \n const handleLogin = (e) => {\n if(email===\"test@abc.com\"|| email==\"testmoneytree2024@gmail.com\" || email==\"testmoneytree+1@gmail.com\")\n {\n e.preventDefault();\n form.current.validateAll();\n if (!confirmcaptcha) return;\n if (checkBtn.current.context._errors.length === 0) {\n \n setLoading(true);\n dispatch(loginCardConsole(email, password, rememberMe))\n .then(() => {\n props.history.push(\"/dashboard\");\n setLoading(false);\n //setShowTwoFA(true);\n setconditionalClassName(\"\");\n })\n .catch((err) => {\n setLoading(false);\n setconditionalClassName(\"onbo-content-top\");\n });\n } else {\n setLoading(false);\n setconditionalClassName(\"\");\n }\n \n }\n else{\n if(e){\n e.preventDefault();\n form.current.validateAll();\n if (!confirmcaptcha) return;\n if (checkBtn.current.context._errors.length === 0) {\n setLoading(true);\n dispatch(prelogin(email,password))\n .then((res) => {\n setLoading(false);\n setShowTwoFA(true);\n })\n .catch((err) => {\n setLoading(false);\n setconditionalClassName(\"onbo-content-top\");\n });\n } else {\n setLoading(false);\n setconditionalClassName(\"\");\n }\n }\n else{\n // dispatch(send_two_FA_Code(email)).then(response=>{console.log('kkkkk', response.payload)})\n dispatch(prelogin(email,password))\n .then((res) => {\n setLoading(false);\n })\n .catch((err) => {\n setLoading(false);\n setconditionalClassName(\"onbo-content-top\");\n });\n }\n }\n \n };\n\n if (isLoggedIn) {\n return ;\n }\n const confirmCaptcha = () => {\n setConfirmcaptcha(true);\n };\n const verifyCaptcha = () => {\n setConfirmcaptcha(true);\n };\n const expiryCaptcha = () => {\n setConfirmcaptcha(false);\n };\n return (\n
\n \n\n\n
\n
\n
\n {message && (\n
\n
\n \n\n

{message}

\n
\n
\n )}\n
\n \n
\n
\n \n
\n \n \n
\n
\n\n \n \n
\n \n \n \n
\n
\n\n
\n
\n \n \n Remember me please\n \n
\n
\n Forgot Password?\n
\n
\n
\n \n
\n\n \n
\n \n {!confirmcaptcha && (\n \n
\n \n Please verify that you are not a robot\n \n
\n )}\n
\n \n
\n
\n
\n
\n {\n setShowTwoFA(false);\n }}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n setShowTwoFA(false)}\n resendcode={()=>handleLogin(null)}\n />\n \n ]}\n />\n \n );\n};\n\nexport default Login;\n","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\nconst API_URL = Env.AccountApiUrl; //\"http://localhost:8000/api/accounts/\";\n\nconst sendTwoFA_Code = (userId) => {\n return axios.get(API_URL + \"sendtwofacode?userId=\" + userId);\n};\nconst get_two_FA_Code = (userId) => {\n return axios\n .get(API_URL + \"gettwofacode?userId=\" + userId)\n .then((response) => {\n if (response.data.result != null) {\n localStorage.setItem(\"2facode\", JSON.stringify(response));\n }\n\n return response;\n });\n};\nconst forgotPassword = (email, WebHostUrl) => {\n return axios.post(API_URL + \"forgotpassword\", { email, WebHostUrl });\n};\nconst ActivateUserAccount = (userId, code) => {\n return axios.post(API_URL + \"accountconfirmation\", { userId, code });\n};\nconst resetpassword = (userId, code, email, password) => {\n return axios.put(API_URL + \"resetpassword\", {\n userId,\n code,\n email,\n password,\n });\n};\nconst register = (\n Name,\n email,\n password,\n phonenumber,\n dateofbirth,\n address,\n userId\n) => {\n return axios\n .put(API_URL + \"activateacccount\", {\n Name,\n email,\n password,\n phonenumber,\n dateofbirth,\n address,\n userId,\n })\n .then((response) => {\n if (response.data.success) {\n localStorage.setItem(\n \"userRegisteration\",\n JSON.stringify(response.data)\n );\n }\n\n return response;\n });\n};\nconst ClientSignUp = (Name,\n Email,\n Password,\n UserId,) => {\n return axios\n .put(API_URL + \"activateacccount\", {\n Name,\n Email,\n Password,\n UserId\n })\n .then((response) => {\n if (response.data.success) {\n localStorage.setItem(\n \"userRegisteration\",\n JSON.stringify(response.data)\n );\n }\n return response;\n });\n};\nconst getUserbyId = (userId) => {\n return axios\n .get(API_URL + \"getuserbyid?userId=\" + userId)\n .then((response) => {\n return response;\n });\n};\nconst accountService = {\n register,\n forgotPassword,\n resetpassword,\n sendTwoFA_Code,\n get_two_FA_Code,\n getUserbyId,\n ActivateUserAccount,\n ClientSignUp,\n};\nexport default accountService;\n","import {\n REGISTER_SUCCESS,\n REGISTER_FAIL,\n SET_MESSAGE,\n FORGOT_PASSWORD_SUCCESS,\n FORGOT_PASSWORD_FAIL,\n RESET_PASSWORD_SUCCESS,\n RESET_PASSWORD_FAIL,\n TWO_FA_EMAIL_FAIL,\n TWO_FA_EMAIL_SUCCESS,\n TWO_FA_RSEND_SUCCESS,\n TWO_FA_RESEND_FAIL,\n} from \"./types\";\n\nimport AccountService from \"../services/account.service\";\n\nexport const ActivateUserAccount = (userId, code) => (dispatch) => {\n return AccountService.ActivateUserAccount(userId, code).then(\n (response) => {\n dispatch({\n type: SET_MESSAGE,\n payload: response.data.message,\n });\n return Promise.resolve();\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.emailsending_error) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\n\nexport const forgotPassword = (email, WebHostUrl) => (dispatch) => {\n return AccountService.forgotPassword(email, WebHostUrl).then(\n (response) => {\n if (response.data.success) {\n dispatch({\n type: FORGOT_PASSWORD_SUCCESS,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data.message,\n });\n\n return Promise.resolve();\n } else {\n dispatch({\n type: FORGOT_PASSWORD_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data.message,\n });\n\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.emailsending_error) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: FORGOT_PASSWORD_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\n\nexport const resetpassword = (userId, code, email, password) => (dispatch) => {\n return AccountService.resetpassword(userId, code, email, password).then(\n (response) => {\n if (response.data.success) {\n dispatch({\n type: RESET_PASSWORD_SUCCESS,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data,\n });\n\n return Promise.resolve();\n } else {\n dispatch({\n type: RESET_PASSWORD_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data,\n });\n\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.emailsending_error) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: RESET_PASSWORD_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\nexport const send_two_FA_Code = (userId) => (dispatch) => {\n return AccountService.sendTwoFA_Code(userId).then(\n (response) => {\n if (response.data === \"Code Sent Successfully\") {\n dispatch({\n type: TWO_FA_RSEND_SUCCESS,\n payload: response.data,\n });\n\n return Promise.resolve();\n } else {\n dispatch({\n type: TWO_FA_RESEND_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data,\n });\n\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response && error.response.data && error.response.data.result) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: TWO_FA_RESEND_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\nexport const get_two_FA_Code = (userId) => (dispatch) => {\n return AccountService.get_two_FA_Code(userId).then(\n (response) => {\n if (response.data.result != null) {\n dispatch({\n type: TWO_FA_EMAIL_SUCCESS,\n payload: { twoFACode: response },\n });\n\n return Promise.resolve();\n } else {\n dispatch({\n type: TWO_FA_EMAIL_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response.data.result,\n });\n\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.emailsending_error) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: TWO_FA_EMAIL_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\nexport const register = (\n Name,\n email,\n password,\n phonenumber,\n dateofbirth,\n address,\n userId\n) => (dispatch) => {\n return AccountService.register(\n Name,\n email,\n password,\n phonenumber,\n dateofbirth,\n address,\n userId\n ).then(\n (response) => {\n if (response.data.success) {\n dispatch({\n type: REGISTER_SUCCESS,\n payload: { registeredUser: response.data },\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response,\n });\n\n return Promise.resolve();\n } else {\n dispatch({\n type: REGISTER_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: response,\n });\n\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.message) ||\n error.message ||\n error.toString();\n\n dispatch({\n type: REGISTER_FAIL,\n });\n\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n\n return Promise.reject();\n }\n );\n};\n\nexport const clientSignup = (\n Name,\n Email,\n Password,\n UserId\n) => (dispatch) => {\n return AccountService.ClientSignUp(\n Name,\n Email,\n Password,\n UserId,\n ).then(\n (response) => {\n if (response.data.success) {\n dispatch({\n type: REGISTER_SUCCESS,\n payload: { registeredUser: response.data },\n });\n dispatch({\n type: SET_MESSAGE,\n payload: response,\n });\n return Promise.resolve();\n } else {\n dispatch({\n type: REGISTER_FAIL,\n });\n dispatch({\n type: SET_MESSAGE,\n payload: response,\n });\n return Promise.reject();\n }\n },\n (error) => {\n const message =\n (error.response &&\n error.response.data &&\n error.response.data.message) ||\n error.message ||\n error.toString();\n dispatch({\n type: REGISTER_FAIL,\n });\n dispatch({\n type: SET_MESSAGE,\n payload: message,\n });\n return Promise.reject();\n }\n );\n};\n","import React, { useState, useRef, useEffect, Fragment } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport validator, { isEmail } from \"validator\";\nimport { register } from \"../../actions/account\";\nimport accountService from \"../../services/account.service\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport logo from \"../../assets/images/logo.svg\";\nimport moment from \"moment\";\n\nconst passrequired = (value) => {\n if (!value) {\n document.getElementById(\"chSgnUpPass_FrmGrp\").classList.add(\"has_error\");\n return Password is required!;\n } else\n document.getElementById(\"chSgnUpPass_FrmGrp\").classList.remove(\"has_error\");\n};\nconst required = (value) => {\n if (!value) {\n return this field is required!;\n }\n};\nconst confrmPassRequired = (value) => {\n if (!value) {\n document.getElementById(\"chSgnUpCPass_FrmGrp\").classList.add(\"has_error\");\n return Confirm Password is required!;\n } else\n document\n .getElementById(\"chSgnUpCPass_FrmGrp\")\n .classList.remove(\"has_error\");\n};\nlet passwordValue = \"\";\nconst validEmail = (value) => {\n if (!isEmail(value)) {\n return (\n
\n This is not a valid email!\n
\n );\n }\n};\n\nconst vusername = (value) => {\n if (value.length < 2 || value.length > 50) {\n return (\n
\n The username must be between 2 and 50 characters!\n
\n );\n }\n};\n\nconst vpassword = (value) => {\n passwordValue = value;\n if (value.length < 8 || value.length > 20) {\n document.getElementById(\"chSgnUpPass_FrmGrp\").classList.add(\"has_error\");\n return The password must be between 8 and 20 characters!;\n } else\n document.getElementById(\"chSgnUpPass_FrmGrp\").classList.remove(\"has_error\");\n};\nconst vcpassword = (value) => {\n if (value.length < 8 || value.length > 20) {\n document.getElementById(\"chSgnUpCPass_FrmGrp\").classList.add(\"has_error\");\n return (\n The password must be between 8 and 20 characters!\n );\n } else if (value !== passwordValue) {\n document.getElementById(\"chSgnUpCPass_FrmGrp\").classList.add(\"has_error\");\n return (\n \n Password and confirm password does not match!\n \n );\n } else\n document\n .getElementById(\"chSgnUpCPass_FrmGrp\")\n .classList.remove(\"has_error\");\n};\nconst Register = (props) => {\n const form = useRef();\n const checkBtn = useRef();\n const { height, width } = useWindowDimensions();\n const [Name, setBoUserName] = useState(\"\");\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [confirmpassword, setConfirmPassword] = useState(\"\");\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n const [dob, setDob] = useState(\"\");\n const [Address, setAddress] = useState(\"\");\n const [passwordShown, setPasswordShown] = useState(false);\n const [cPasswordShown, setCPasswordShown] = useState(false);\n const [showHidePassClass, setshowHidePassClass] = useState(\"icon-hidden\");\n const [showHideCPassClass, setshowHideCPassClass] = useState(\"icon-hidden\");\n const { message } = useSelector((state) => state.message);\n const [boloader, setBoLoader] = useState(false);\n const dispatch = useDispatch();\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const userId = params.get(\"Id\");\n const kycPermission = params.get(\"kycallow\");\n\n const [emailmsg, setemailmsg] = useState(true);\n const [clientlogo, setclientlogo] = useState(\"\");\n const [theme, settheme] = useState(\"\");\n\n useEffect(() => {\n setBoLoader(true);\n accountService\n .getUserbyId(userId)\n .then((resp) => {\n setBoLoader(false);\n if (resp && resp.data && resp.data.success) {\n setBoUserName(resp.data.root.name);\n setEmail(resp.data.root.email);\n setPhoneNumber(resp.data.root.phoneNumber);\n setDob(moment(resp.data.root.dateOfBirth).format(\"MMMM D,YYYY\"));\n setAddress(resp.data.root.address);\n setclientlogo(resp.data.root.logoUrl);\n settheme(resp.data.root.themeName);\n if(resp.data.root.primaryColor){\n //let themeName=resp.data.root.themeName;\n localStorage.setItem(\"Reload\",\"Reload ClientSignup\");\n var primary = resp.data.root.primaryColor;\n var secondary = resp.data.root.secondaryColor;\n var lighter1 = resp.data.root.colorPrimarylighter1;\n var lighter2 =resp.data.root.colorPrimarylighter2;\n document.documentElement.style.setProperty(\"--color-primary\", primary);\n document.documentElement.style.setProperty('--color-secondary',secondary);\n document.documentElement.style.setProperty('--color-primary-lighter-1',lighter1);\n document.documentElement.style.setProperty('color-primary-lighter-2',lighter2);\n // if(themeName===\"theme1\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme1\");\n // }\n // if(themeName===\"theme2\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme2\");\n // }\n // if(themeName===\"theme3\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme3\");\n // }\n // if(themeName===\"theme4\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme4\");\n // }\n // if(themeName===\"theme5\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme5\");\n // }\n // if(themeName===\"theme6\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme6\");\n // }\n // if(themeName===\"theme7\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme7\");\n // }\n // if(themeName===\"theme8\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme8\");\n // }\n // if(themeName===\"theme9\"){\n // localStorage.setItem(\"ThemeSelected\", \"theme9\");\n // }\n let themestorage=localStorage.getItem(\"ThemeReload\");\n if(themestorage===\"true\"){\n localStorage.setItem(\"ThemeReload\",\"false\");\n // window.location.reload();\n }\n }\n }\n })\n .catch(() => {\n setBoLoader(false);\n });\n setTimeout(() => {\n setemailmsg(false);\n }, 5000);\n }, []);\n\n const onChangeEmail = (e) => {\n const email = e.target.value;\n setEmail(email);\n };\n const showHidePassHandler = () => {\n setPasswordShown(passwordShown ? false : true);\n setshowHidePassClass(passwordShown ? \"icon-hidden\" : \"icon-show\");\n };\n const showHideCPassHandler = () => {\n setCPasswordShown(cPasswordShown ? false : true);\n setshowHideCPassClass(cPasswordShown ? \"icon-hidden\" : \"icon-show\");\n };\n\n const onChangePassword = (e) => {\n const password = e.target.value;\n setPassword(password);\n };\n const onChangeConfirmPassword = (e) => {\n const confirmPassword = e.target.value;\n setConfirmPassword(confirmPassword);\n };\n const onChangeDOB = (e) => {\n const DOB = e.target.value;\n setDob(DOB);\n };\n const onChangePhoneNumber = (e) => {\n const number = e.target.value;\n setPhoneNumber(number);\n };\n const onChangeAddress = (e) => {\n const address = e.target.value;\n setAddress(address);\n };\n const onChangeBoUsername = (e) => {\n const name = e.target.value;\n setBoUserName(name);\n };\n const phoneNumberKeyPress = (event) => {\n if (!/[+0-9]/.test(event.key)) {\n event.preventDefault();\n }\n };\n const handleRegister = (e) => {\n e.preventDefault();\n\n form.current.validateAll();\n\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n dispatch(\n register(\n Name,\n email,\n password,\n phoneNumber,\n moment(dob).format(\"YYYY-MM-DD\"),\n Address,\n userId\n )\n )\n .then(() => {\n setBoLoader(false);\n props.history.push(\n \"/2FAVerification\",\n { calledfrom:\"To the Card Holder Account\" , userid:userId,kycPermission:kycPermission}\n );\n })\n .catch(() => {\n setBoLoader(false);\n });\n }\n };\n\n return (\n
\n \n {width > 767 && , \"Account\"]}\n pagemsg={\"To the Card Holder Account\"}\n clientlogo={clientlogo}\n themename={theme}\n />}\n\n\n
\n
\n {width <= 767 &&
\n
\n {/* \n \"BO\n */}\n
\n

Create Account

\n
}\n\n
\n {\n emailmsg &&\n
\n \n

The Email Verification is Successful!

\n
\n }\n \n {message && (\n \n {!message.data.success && (\n
\n \n

\n {message.data.message.includes(\",\") ? (\n \n {message.data.message.split(\".\")[0].replace(\",\", \"\")}\n
\n {message.data.message.split(\".\")[1].replace(\",\", \"\")}\n
\n {message.data.message.split(\".\")[2].replace(\",\", \"\")}\n
\n ) : (\n message.data.message\n )}\n

\n
\n )}\n
\n )}\n
\n
\n

Here you can review and update your details.

\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n {\" \"}\n \n
\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n
\n
\n\n\n
\n
\n
\n
\n );\n};\n\nexport default Register;\n","export default __webpack_public_path__ + \"static/media/card-theme1.31b5c522.svg\";","export default __webpack_public_path__ + \"static/media/card-theme2.ee4c782e.svg\";","export default __webpack_public_path__ + \"static/media/card-theme3.58808031.svg\";","export default __webpack_public_path__ + \"static/media/card-theme4.b3a30a0e.svg\";","export default __webpack_public_path__ + \"static/media/card-theme5.9288aa65.svg\";","export default __webpack_public_path__ + \"static/media/card-theme6.f644ed6b.svg\";","export default __webpack_public_path__ + \"static/media/card-theme7.4ddf5d71.svg\";","export default __webpack_public_path__ + \"static/media/card-theme8.9675f38a.svg\";","export default __webpack_public_path__ + \"static/media/card-theme9.774c7517.svg\";","export default __webpack_public_path__ + \"static/media/wifi-signal.3baaaae1.svg\";","export default __webpack_public_path__ + \"static/media/tick-round.4cafd2bc.svg\";","export default __webpack_public_path__ + \"static/media/eye-off.6dd7ac22.svg\";","export default __webpack_public_path__ + \"static/media/eye-on.b6212bea.svg\";","export default function authHeader() {\n const user = JSON.parse(sessionStorage.getItem(\"user\"));\n\n if (user && user.auth_token) {\n return { Authorization: \"Bearer \" + user.auth_token };\n } else {\n return {};\n }\n}\n","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\nimport authHeader from \"./auth-header\";\n\nconst API_URL_Cardholders = Env.CardHolderApiUrl; //\"http://localhost:8000/api/cardholder/\";\nconst API_URL = Env.CardsApiUrl;//\"http://localhost:8000/api/card/\";\nconst API_URL_Transaction = Env.TransactionApiUrl;//\"http://localhost:8000/api/card/\";\nconst changeCardHolderPin = (Pin,\n TokenId,\n UserId,) => {\n return axios\n .post(\n API_URL + \"setupdatepin\",\n {\n Pin,\n TokenId,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst getCardDetails = () => {\n return axios\n .get(API_URL_Cardholders + \"getCardDetails\", { headers: authHeader() })\n .then((response) => {\n return response;\n });\n};\nconst getCardLimits = (UserId) => {\n return axios\n .post(API_URL_Transaction + \"getcardtransactionlimit\", {UserId},{ headers: authHeader() })\n .then((response) => {\n return response;\n });\n};\nconst getCardHolderDetails = () => {\n return axios\n .get(API_URL_Cardholders + \"getCardHolderDetails\", {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst searhGridCardHoldersCards = (\n name,\n tokenid,\n dateFrom,\n dateTo,\n startIndex\n) => {\n return axios\n .post(\n API_URL_Cardholders + \"cardholderscards\",\n {\n name,\n tokenid,\n dateFrom,\n dateTo,\n startIndex,\n },\n { headers: authHeader() }\n )\n .then((resp) => {\n return resp;\n });\n};\nconst getCardNumber = (userId) => {\n return axios\n .get(API_URL_Cardholders + \"getcarddetaildashboard?userId=\"+userId, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst getSuperAdminBalance = (userId) => {\n return axios\n .post(API_URL + \"getwalletbalance?userId=\"+userId,{}, {\n headers: authHeader()\n })\n .then((res) => {\n return res;\n });\n};\nconst getBalancePhysical = (userId) => {\n return axios\n .post(API_URL + \"getcardbalance?userId=\"+userId,{}, {\n headers: authHeader()\n })\n .then((res) => {\n return res;\n });\n};\nconst getCardCvv = (userId) => {\n return axios\n .get(API_URL + \"getcardcvv?userId=\" + userId,{}, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst creditLimitCalculation = (userId) => {\n return axios\n .post(API_URL_Transaction + \"creditlimitcalculation?userId=\" + userId, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst getpinb4b = (userId) => {\n return axios\n .post(API_URL_Cardholders + \"getpinb4b?userId=\" + userId,{}, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst changeCardHolderPinIssuerB = (NewPin,\n UserId,\n ) => {\n return axios\n .post(\n API_URL_Cardholders + \"setpinIssuerG\",\n {\n NewPin,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst refillbalance = (userId) => {\n return axios\n .post(API_URL_Transaction + \"refillbalance?userId=\" + userId,{}, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst suspendCard = (TokenId,OperatorUserId,UserIdCard,IsBlock,ClientId,Description,BlockAction,CardCurrency) => {\n return axios\n .post(\n API_URL + \"blockunblockcard\",\n {TokenId,OperatorUserId,UserIdCard,IsBlock,ClientId,Description,BlockAction,CardCurrency},\n {\n headers: authHeader(),\n }\n )\n .then((resp) => {\n return resp;\n });\n};\nconst changeCardHolderPinIssuerB4B = (NewPin,\n UserId,\n ) => {\n return axios\n .post(\n API_URL_Cardholders + \"createpinb4b\",\n {\n NewPin,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst changeCardHolderPinIssuerTG = (NewPin,OldPin,\n UserId,\n ) => {\n return axios\n .post(\n API_URL_Cardholders + \"changepintg\",\n {\n NewPin,OldPin,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst cardholdercardsObj = {\n changeCardHolderPin,\n getCardDetails,\n getCardLimits,\n getCardHolderDetails,\n searhGridCardHoldersCards,\n getCardNumber,\n getSuperAdminBalance,\n getCardCvv,\n getBalancePhysical,\n creditLimitCalculation,\n getpinb4b,\n changeCardHolderPinIssuerB,\n refillbalance,\n suspendCard,\n changeCardHolderPinIssuerB4B,\n changeCardHolderPinIssuerTG\n};\nexport default cardholdercardsObj;\n","import authService from \"../services/auth.service\";\nconst accessToken = JSON.parse(sessionStorage.getItem(\"user\"));\nexport default async function RefreshToken(errState) {\n if (errState === 401) {\n const result = await authService\n .refreshtoken(accessToken?.auth_token)\n .then((resp) => {\n accessToken.auth_token = resp.data;\n sessionStorage.setItem(\"user\", JSON.stringify(accessToken));\n return true;\n })\n .catch((err) => {\n return false;\n });\n return result;\n } else return false;\n}\n","export default __webpack_public_path__ + \"static/media/amberlogo.46b5e2d6.png\";","export default __webpack_public_path__ + \"static/media/chip.4218d217.png\";","import \"../AmberCard/style.css\";\nimport { useSelector} from \"react-redux\";\nimport { Fragment, useEffect,useState } from \"react\";\nimport kapedLogo from \"../AmberCard/amberlogo.png\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport eyeOff from \"../../assets/images/eye-off.svg\";\nimport eyeOn from \"../../assets/images/eye-on.svg\";\nimport CurrencyFormat from 'react-currency-format';\nconst AmberCard = (props) => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(currentUser.user.UserId);\n const [Cvv, setCvv] = useState();\n const [IconShown, setIconShown] = useState(true);\n useEffect(() => {\n getCardCvv();\n // checkClientCurrency();\n }, [])\n \n // const checkClientCurrency=()=>{\n // if(currentUser?.user?.ClientCurrency===\"USD\")\n // setClientCurrency(\"USD\")\n // else if(currentUser?.user?.ClientCurrency===\"EUR\")\n // setClientCurrency(\"EUR\")\n // else if(currentUser?.user?.ClientCurrency===\"GBP\")\n // setClientCurrency(\"GBP\")\n // else if(currentUser?.user?.ClientCurrency===\"CAD\")\n // setClientCurrency(\"CAD\")\n // else \n // setClientCurrency(\"\")\n // }\n const getCardCvv=()=>{\n cardholdercardsObj.getCardCvv(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload)\n setCvv(response.data.payload.result);\n },\n (error) => {\n }\n );\n }\n const showHideIcon = () => {\n setIconShown(IconShown ? false : true);\n \n };\n return (\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n

0 ? props?.creditBalance - props?.ClientBalance : 0 : props?.ClientBalance}\n displayType={'text'} thousandSeparator={true} /> {props?.clientCurrency}

\n
\n
\n
\n {\n IconShown && (\n {props?.MaskedNumber}\n )\n }\n {\n !IconShown && (\n {props?.cardNumber}\n )\n }\n \n
\n
\n \n {!IconShown && ()}\n {IconShown && ()}\n \n
\n
\n
\n {/*
\n Valid Thru\n

11/23

\n
*/}\n
\n Token ID\n

{props?.TokenId}

\n
\n
\n Currency\n

{props?.clientCurrency}

\n
\n
\n Status\n

\n {/* */}\n Active\n

\n
\n
\n
\n
\n
\n
\n
\n
\n\n \n
\n );\n}\nexport default AmberCard;","import \"../KapedCardNew/style.css\"\nimport { gsap } from \"gsap\";\n\n\n\nconst KapedNewCard = (props) => {\n \n let t1 = gsap.timeline({ paused: true, reversed: true });\nlet watch = false;\nconst card = document.querySelector(\".container-kaped\");\nlet t2 = gsap.timeline({ paused: true, reversed: true });\nlet watch2 = false;\nconst card2 = document.querySelector(\".container-kaped\");\n\ncard2?.addEventListener(\"click\", (e) => {\n if (!watch2) {\n t2.play();\n watch2 = true;\n } else {\n t2.reverse();\n watch2 = false;\n }\n});\ncard?.addEventListener(\"click\", (e) => {\n if (!watch) {\n t1.play();\n watch = true;\n } else {\n t1.reverse();\n watch = false;\n }\n});\nt1.to(\n \".container-kaped\",\n {\n ease: \"power1.inOut\",\n height: 280,\n },\n 0\n);\n\nt1.to(\n \".card-balance\",\n {\n ease: \"power1.inOut\",\n y: 80,\n x: 20,\n scale: 1.1,\n },\n 0.5\n);\n\nt1.to(\n \".card-name\",\n {\n ease: \"power1.inOut\",\n y: 80,\n },\n 0.5\n);\n\nt1.to(\n \".logos\",\n {\n ease: \"power1.inOut\",\n left: 30,\n top: 45,\n },\n 0.5\n);\n\nt1.to(\n \".sim\",\n {\n ease: \"power1.inOut\",\n bottom: 40,\n opacity: 0.5,\n },\n 0.5\n);\n\nt1.to(\n \".card-number\",\n {\n ease: \"power1.inOut\",\n right: 40,\n opacity: 0.5,\n },\n 0.5\n);\n\nt1.to(\n \".due-date\",\n {\n ease: \"power1.inOut\",\n right: 40,\n opacity: 0.5,\n },\n 0.5\n);\n\nt1.to(\n \".card-logo\",\n {\n ease: \"power1.inOut\",\n right: -150,\n },\n 0.6\n);\n\nt2.to(\n \".container-kaped\",\n {\n ease: \"power1.inOut\",\n height: 280,\n },\n 0\n);\n\nt2.to(\n \".card-balance\",\n {\n ease: \"power1.inOut\",\n y: 80,\n x: 20,\n scale: 1.1,\n },\n 0.5\n);\n\nt2.to(\n \".card-name\",\n {\n ease: \"power1.inOut\",\n y: 80,\n },\n 0.5\n);\nt2.to(\n \".logos\",\n {\n ease: \"power1.inOut\",\n left: 30,\n top: 45,\n },\n 0.5\n);\nt2.to(\n \".sim\",\n {\n ease: \"power1.inOut\",\n bottom: 40,\n opacity: 0.5,\n },\n 0.5\n);\nt2.to(\n \".card-number\",\n {\n ease: \"power1.inOut\",\n right: 40,\n opacity: 0.5,\n },\n 0.5\n);\nt2.to(\n \".due-date\",\n {\n ease: \"power1.inOut\",\n right: 40,\n opacity: 0.5,\n },\n 0.5\n);\n\nt2.to(\n \".card-logos\",\n {\n ease: \"power1.inOut\",\n right: -150,\n },\n 0.6\n);\n return (\n
\n
\n\n

Titanium Elite

\n

$ {props?.ClientBalance}

\n\"\"\n\n\"\"\n\n

{props?.cardNumber}

\n

{props?.cardExpiry}

\n\n\"\"\n
\n
\n );\n}\n\nexport default KapedNewCard;","import stackedcards1 from \"../../assets/images/card-theme1.svg\";\nimport stackedcards2 from \"../../assets/images/card-theme2.svg\";\nimport stackedcards3 from \"../../assets/images/card-theme3.svg\";\nimport stackedcards4 from \"../../assets/images/card-theme4.svg\";\nimport stackedcards5 from \"../../assets/images/card-theme5.svg\";\nimport stackedcards6 from \"../../assets/images/card-theme6.svg\";\nimport stackedcards7 from \"../../assets/images/card-theme7.svg\";\nimport stackedcards8 from \"../../assets/images/card-theme8.svg\";\nimport stackedcards9 from \"../../assets/images/card-theme9.svg\";\nimport wifiSignalCard from \"../../assets/images/wifi-signal.svg\";\nimport tickRound from \"../../assets/images/tick-round.svg\";\nimport eyeOff from \"../../assets/images/eye-off.svg\";\nimport eyeOn from \"../../assets/images/eye-on.svg\";\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport moment from \"moment\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport CurrencyFormat from 'react-currency-format';\nimport KapedCard from \"../kapedCard/KapedCard\";\nimport AmberCard from \"../AmberCard/AmberCard\";\nimport KapedNewCard from \"../KapedCardNew/KapedNewCard\";\nvar classkaped=\"text-center\"\nvar classkaped1=\"carousel slide mb-32 text-center\"\nvar imagepath = stackedcards1;\nconst CardDetails = (props) => {\n\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(currentUser?.user?.UserId);\n const [ClientBalance, setClientBalance] = useState(0);\n const [CardNumber, setCardNumber] = useState();\n const [MaskedNumber, setMaskedNumber] = useState();\n const [IconShown, setIconShown] = useState(true);\n const [TokenId, setTokenId] = useState();\n const [ValidThru, setValidThru] = useState();\n const [clientCurrency, setClientCurrency] = useState(\"\");\n const [creditBalance, setCreditBalance] = useState(\"\");\n\n useEffect(() => {\n getCardNumber();\n checkClientCurrency();\n cardholdercardsObj.creditLimitCalculation(UserId).then((resp) => {\n setCreditBalance(resp?.data?.payload?.result?.totalLimit);\n }).catch((error) => {\n\n });\n\n }, [])\n\n useEffect(() => {\n\n superAdminBalance();\n\n }, [])\n //Payment Processor Nium or mSwipe\n const [PaymentProcessor, setPaymentProcessor] = useState(String(currentUser?.user?.PaymentProcessor));\nif(currentUser?.user?.ClientId ===35)\n{\n classkaped=\"\"\n classkaped1=\"carousel slide mb-32\"\n}\n\n\n if (currentUser) {\n var Themename = currentUser?.user?.ThemeName;\n if (Themename === \"theme1\") imagepath = stackedcards1;\n if (Themename === \"theme2\") imagepath = stackedcards2;\n if (Themename === \"theme3\") imagepath = stackedcards3;\n if (Themename === \"theme4\") imagepath = stackedcards4;\n if (Themename === \"theme5\") imagepath = stackedcards5;\n if (Themename === \"theme6\") imagepath = stackedcards6;\n if (Themename === \"theme7\") imagepath = stackedcards7;\n if (Themename === \"theme8\") imagepath = stackedcards8;\n if (Themename === \"theme9\") imagepath = stackedcards9;\n }\n\n\n\n const getCardNumber = () => {\n cardholdercardsObj.getCardNumber(UserId).then(\n (response) => {\n let cardnumber = response.data.payload.result.unMaskedCardNumber.match(/.{1,4}/g);\n let setcard = cardnumber[0] + '-' + cardnumber[1] + '-' + cardnumber[2] + '-' + cardnumber[3];\n setCardNumber(setcard);\n setTokenId(response.data.payload.result.tokenId);\n setMaskedNumber(response.data.payload.result.maskedCardNumber.toUpperCase())\n setValidThru(moment(response.data.payload.result.expiryDate).format(\"MM/YY\")\n );\n },\n\n ).catch((error) => {\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n getCardNumber();\n }\n })();\n });\n\n }\n \n const superAdminBalance = () => {\n if (currentUser?.user?.IsPhysicalCard) {\n cardholdercardsObj.getBalancePhysical(UserId).then(\n (response) => {\n if (response && response.data && response.data.payload)\n setClientBalance(response.data.payload.result.item1.balance);\n\n },\n (error) => {\n console.log(\"error is here\")\n }\n ).catch((error) => {\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n superAdminBalance();\n }\n })();\n });;\n }\n else {\n cardholdercardsObj.getSuperAdminBalance(UserId).then(\n (response) => {\n if (response && response.data && response.data.payload)\n setClientBalance(response.data.payload.result.item1.balance);\n\n },\n (error) => {\n console.log(\"error is here\")\n }\n ).catch((error) => {\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n superAdminBalance();\n }\n })();\n });;\n }\n }\n\n const showHideIcon = () => {\n setIconShown(IconShown ? false : true);\n\n };\n const checkClientCurrency = () => {\n if (currentUser?.user?.ClientCurrency === \"USD\")\n setClientCurrency(\"USD\")\n else if (currentUser?.user?.ClientCurrency === \"EUR\")\n setClientCurrency(\"EUR\")\n else if (currentUser?.user?.ClientCurrency === \"GBP\")\n setClientCurrency(\"GBP\")\n else if (currentUser?.user?.ClientCurrency === \"CAD\")\n setClientCurrency(\"CAD\")\n else\n setClientCurrency(\"\")\n }\n return (\n \n {props.cht === \"Y\" && (\n
\n \n {(currentUser?.user?.ClientId ===35) ?():\n ( currentUser?.user?.ClientId ===(28) || currentUser?.user?.ClientId ===(37) ||\n currentUser?.user?.ClientId ===(45) ||currentUser?.user?.ClientId ===(46))?()\n :(\n \n
\n {/* x */}\n
\n
\n
\n
\n \n
\n
\n {currentUser?.user?.IsPhysicalCard ? (Physical Card) : (Virtual Card)}\n \n
\n
\n
\n {/*

{ClientBalance} {PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

0 ? creditBalance - ClientBalance : 0 : ClientBalance}\n displayType={'text'} thousandSeparator={true} /> {clientCurrency}

\n
\n
\n
\n {\n IconShown && (\n {MaskedNumber}\n )\n }\n {\n !IconShown && (\n {CardNumber}\n )\n }\n \n
{\n !currentUser?.user?.IsPhysicalCard &&(\n
\n \n {!IconShown && ()}\n {IconShown && ()}\n \n
\n )\n }\n \n
\n
\n {!currentUser?.user?.IsPhysicalCard &&(\n
\n Valid Thru\n

{ValidThru}

\n
\n )}\n \n
\n Token ID\n

{TokenId}

\n
\n
\n Currency\n {/*

{PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

{clientCurrency}

\n
\n
\n Status\n

\n \n Active\n

\n
\n
\n
\n
\n )}\n \n \n
\n \n )}\n {props.cht === \"N\" && (\n
\n \n {(currentUser?.user?.ClientId ===35) ?():\n ( currentUser?.user?.ClientId ===(28) || currentUser?.user?.ClientId ===(37)||\n currentUser?.user?.ClientId ===(45) ||currentUser?.user?.ClientId ===(46))?()\n :(\n \n
\n \n \n \n
\n
\n
\n
\n \n
\n
\n {currentUser?.user?.IsPhysicalCard ? (Physical Card) : (Virtual Card)}\n \n
\n
\n
\n {/*

{ClientBalance} {PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

0 ? creditBalance - ClientBalance : 0 : ClientBalance} displayType={'text'} thousandSeparator={true} /> {clientCurrency}

\n
\n
\n
\n {\n IconShown && (\n {MaskedNumber}\n )\n }\n {\n !IconShown && (\n {CardNumber}\n )\n }\n\n
\n
\n \n {!IconShown && ()}\n {IconShown && ()}\n \n
\n
\n
\n {!currentUser?.user?.IsPhysicalCard &&(\n
\n Valid Thru\n

{ValidThru}

\n
\n )}\n \n
\n Token ID\n

{TokenId}

\n
\n
\n Currency\n {/*

{PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

{clientCurrency}

\n
\n
\n Status\n

\n \n Active\n

\n
\n
\n
\n
\n )}\n \n \n \n )}\n {props.calledfrom === \"updatepin\" && (\n
\n \n {/* \"...\" */}\n \n
\n \n \n \n
\n
\n
\n
\n Bo Payment\n
\n
\n {currentUser?.user?.IsPhysicalCard ? (Physical Card) : (Virtual Card)}\n \n
\n
\n
\n {/*

{ClientBalance} {PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

0 ? creditBalance - ClientBalance : 0 : ClientBalance} displayType={'text'} thousandSeparator={true} /> {clientCurrency}

\n
\n
\n
\n {\n IconShown && (\n {MaskedNumber}\n )\n }\n {\n !IconShown && (\n {CardNumber}\n )\n }\n\n
\n
\n \n {!IconShown && ()}\n {IconShown && ()}\n \n
\n
\n
\n {!currentUser?.user?.IsPhysicalCard &&(\n
\n Valid Thru\n

{ValidThru}

\n
\n )}\n \n
\n Token ID\n

{TokenId}

\n
\n
\n Currency\n {/*

{PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"}

*/}\n

{clientCurrency}

\n
\n
\n Status\n

\n \n Active\n

\n
\n
\n
\n\n
\n \n \n\n\n\n )}\n\n\n \n );\n};\nexport default CardDetails;\n","import React, { useState,useEffect, Fragment } from \"react\";\nimport creditlimit from \"../../assets/images/icons/credit-limit.svg\";\nimport onlinelimit from \"../../assets/images/icons/online-limit.svg\";\nimport transferlimit from \"../../assets/images/icons/transfer-limit.svg\";\nimport atmlimit from \"../../assets/images/icons/atm-limit.svg\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BoLoader from \"../../helpers/BoLoader\";\n\nconst CardLimit = () => {\n const { user: currentUser } = useSelector(state => state.auth);\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n const [limits, setlimits] = useState();\n const [clientCurrency, setClientCurrency] = useState(\"\");\n const [boloader, setBoLoader] = useState(false);\n const [ClientBalance, setClientBalance] = useState();\n const [creditcardlimits, setCreditcardlimits] = useState();\n\n\n useEffect(() => {\n getCardLimits();\n checkClientCurrency();\n \n }, [])\n useEffect(()=>{\n if(currentUser?.user?.CardFlow===\"CREDIT\"){\n if (currentUser?.user?.IsPhysicalCard) {\n cardholdercardsObj.getBalancePhysical(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload){\n setClientBalance(response.data.payload.result.item1.balance);\n }\n },\n (error) => {\n \n }\n );\n }\n else {\n cardholdercardsObj.getSuperAdminBalance(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload)\n setClientBalance(response.data.payload.result.item1.balance);\n },\n (error) => {\n \n }\n );\n }\n cardholdercardsObj.creditLimitCalculation(UserId).then((resp)=>{\n setCreditcardlimits(resp?.data?.payload?.result);\n }).catch((error)=>{\n\n });\n\n }\n },[])\n const getCardLimits = () => {\n setBoLoader(true);\n cardholdercardsObj.getCardLimits(UserId).then((res)=>{\n if(res){\n setBoLoader(false);\n setlimits(res?.data?.payload?.result?.item1);\n}\n }).catch(()=>{\n setBoLoader(false);\n });\n \n };\n const percentage=(partialValue, totalValue)=> {\n let value=((100 * partialValue) / totalValue);\n let returnvalue= Math.round(value * 100) / 100;\n return returnvalue;\n } \n const percentageString=(partialValue, totalValue)=> {\n let value=((100 * partialValue) / totalValue);\n let returnvalue= Math.round(value * 100) / 100;\n console.log(String(returnvalue+\"%\"))\n return String(returnvalue+\"%\");\n} \n const checkClientCurrency=()=>{\n if(currentUser?.user?.ClientCurrency===\"USD\")\n setClientCurrency(\"$\")\n else if(currentUser?.user?.ClientCurrency===\"EUR\")\n setClientCurrency(\"€\")\n else if(currentUser?.user?.ClientCurrency===\"GBP\")\n setClientCurrency(\"£\")\n else if(currentUser?.user?.ClientCurrency===\"CAD\")\n setClientCurrency(\"C$\")\n else \n setClientCurrency(\"\")\n }\n return (\n
\n
\n \n {\n currentUser?.user?.CardFlow===\"CREDIT\" ?(\n <>\n
\n
\n
\n \n \n \n \n {/* \"crdtlmt\" */}\n
\n

{clientCurrency}{ClientBalance ? ClientBalance:0}

\n
\n
\n
\n
\n Credit Limit\n {ClientBalance<0? (percentage(ClientBalance ? ClientBalance:0,creditcardlimits?.totalLimit)):0}%\n
\n

{clientCurrency}{ClientBalance ? ClientBalance:0}

\n
\n
\n \n ):(<>\n {/*
\n {currentUser?.user?.IsPhysicalCard &&(\n
\n
\n \n \n \n \n \n
\n

{limits?.atmTransactionCount ? limits?.atmTransactionCount:\"0\"}

\n
\n
\n
\n
\n ATM Transaction Daily Limit\n {percentage(limits?.atmTransactionCount ? limits?.atmTransactionCount:0,3)}%\n
\n

3

\n
\n )}\n \n
*/}\n {\n currentUser?.user?.IsPhysicalCard &&(\n \n {/*
\n
\n
\n \n \n \n \n \n
\n

{clientCurrency }{limits?.atmTransactionAmount?limits.atmTransactionAmount:\"0\" }

\n
\n
\n
\n
\n ATM Access (Per Year)\n {percentage(limits?.atmTransactionAmount ? limits?.atmTransactionAmount:0,75000)}%\n
\n

{clientCurrency}75,000

\n
\n \n \n */}\n
\n
\n
\n \n \n \n \n
\n

{clientCurrency}{limits?.loadCardLimit ? limits?.loadCardLimit :\"0\"}

\n
\n
\n
\n
\n Life Time Load Limit\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"USD\" &&(\n {percentage(limits?.loadCardLimit ? limits?.loadCardLimit:0,125000)}%\n\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"GBP\" &&(\n {percentage(limits?.loadCardLimit ? limits?.loadCardLimit:0,75000)}%\n\n )\n }\n\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"EUR\" &&(\n {percentage(limits?.loadCardLimit ? limits?.loadCardLimit:0,100000)}%\n\n )\n }\n
\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\"&& currentUser?.user?.ClientCurrency==\"EUR\" &&(\n

{clientCurrency}100,000

\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"USD\" &&(\n

{clientCurrency}125,000

\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"GBP\" &&(\n

{clientCurrency}75,000

\n )\n }\n \n
\n \n
\n
\n
\n \n \n \n \n {/* \"atmlmt\" */}\n
\n

{clientCurrency}{limits?.cardPurchaseLimit ? limits?.cardPurchaseLimit :\"0\"}

\n
\n
\n
\n
\n Life Time Spend Limit\n \n {\n currentUser?.user?.IssuerName===\"IssuerB4B\"&¤tUser?.user?.ClientCurrency==\"EUR\" &&( \n {percentage(limits?.cardPurchaseLimit ? limits?.cardPurchaseLimit:0,125000)}%\n\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\"&& currentUser?.user?.ClientCurrency!=\"EUR\" &&(\n {percentage(limits?.cardPurchaseLimit ? limits?.cardPurchaseLimit:0,100000)}%\n\n )\n }\n
\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"EUR\" &&(\n

{clientCurrency}100,000

\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"USD\" &&(\n

{clientCurrency}125,000

\n )\n }\n {\n currentUser?.user?.IssuerName===\"IssuerB4B\" && currentUser?.user?.ClientCurrency==\"GBP\" &&(\n

{clientCurrency}75,000

\n )\n }\n \n
\n \n
\n )\n }\n \n )\n }\n \n \n \n );\n};\n\nexport default CardLimit;\n","export default __webpack_public_path__ + \"static/media/credit-limit.b1ce350b.svg\";","export default __webpack_public_path__ + \"static/media/online-limit.3873e32f.svg\";","export default __webpack_public_path__ + \"static/media/transfer-limit.f2adb7d3.svg\";","export default __webpack_public_path__ + \"static/media/atm-limit.2bed10a8.svg\";","import axios from \"axios\";\nimport authHeader from \"./auth-header\";\nimport { Env } from \"../enviroment/environment\";\n\nconst API_URL = Env.TransactionApiUrl;\nconst getTransactionStatsData = (clientId) => {\n return axios\n .get(API_URL + \"getTransactionstats?clientId=\" + clientId, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst getVerificationPayee = (\n TokenId,\n Amount,\n CurrencyCode,\n UserId\n) => {\n return axios\n .post(\n API_URL + \"GetAccountVarification\",\n {\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst saveP2PTransfer = (\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId,\n ReceiverCardHashId,\n SenderCardHashId,\n CardType\n) => {\n return axios\n .post(\n API_URL + \"P2PTransfer\",\n {\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId,\n ReceiverCardHashId,\n SenderCardHashId,\n CardType\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst addToFavourite = (\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId\n) => {\n return axios\n .post(\n API_URL + \"AddFavourite\",\n {\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst getFavouritePayees = (userId) => {\n return axios\n .post(API_URL + \"GetFavouritePayee?userId=\" + userId,{}, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst searhGridSendMoney = (name, UserId, dateFrom, dateTo, startIndex) => {\n return axios\n .post(\n API_URL + \"getp2ptransactions?userId=\" + UserId,\n {\n name,\n UserId,\n dateFrom,\n dateTo,\n startIndex,\n },\n { headers: authHeader() }\n )\n .then((resp) => {\n return resp;\n });\n};\nconst searhGridTransactionsCards = (\n UserId,\n StartDate,\n EndDate,\n // Status,\n PageNumber,\n // Size,\n // Order\n) => {\n return axios\n .post(\n API_URL + \"GetCardTransactions \",\n {\n UserId,\n StartDate,\n EndDate,\n // Status,\n PageNumber,\n // Size,\n // Order\n },\n { headers: authHeader() }\n )\n .then((resp) => {\n return resp;\n });\n};\nconst GetCardTransactionsspecificmonth = (\n UserId,\n Month,\n Year\n) => {\n return axios\n .post(\n API_URL + \"GetCardTransactionsspecificmonth \",\n {\n UserId,\n Month,\n Year\n },\n { headers: authHeader() }\n )\n .then((resp) => {\n return resp;\n });\n};\nconst transactionObj = {\n getTransactionStatsData,\n getVerificationPayee,\n saveP2PTransfer,\n addToFavourite,\n getFavouritePayees,\n searhGridSendMoney,\n searhGridTransactionsCards,\n GetCardTransactionsspecificmonth\n};\nexport default transactionObj;\n","export default __webpack_public_path__ + \"static/media/add.00d70961.svg\";","import Moment from \"react-moment\";\n\nconst DateFormat = (props) => {\n return {props.date};\n};\n\nexport default DateFormat;\n","import DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\n\nconst ReactDatePickerHelper = (props) => {\n return (\n \n );\n};\n\nexport default ReactDatePickerHelper;\n","export default __webpack_public_path__ + \"static/media/clients-empty.c565754e.svg\";","export default __webpack_public_path__ + \"static/media/xls.a43bbf12.svg\";","import { Button } from \"bootstrap\";\nimport React, { useState, useEffect, Fragment } from \"react\";\nimport ReactExport from \"react-export-excel\";\n import xls from \"../../src/assets/images/xls.svg\";\n\nconst ExcelFile = ReactExport.ExcelFile;\nconst ExcelSheet = ReactExport.ExcelFile.ExcelSheet;\nconst ExcelColumn = ReactExport.ExcelFile.ExcelColumn;\n\nconst ExportToExcel = props => {\n const ExcelColmn = () => {\n if (props.calledfrom === \"transaction\") {\n return (\n \n {\" \"}\n Export To Excel{\" \"}\n \n }\n >\n \n \n \n \n \n {/* \n */}\n \n \n );\n } else if (props.calledfrom === \"sendmoney\") {\n return (\n \n {\" \"}\n Export To Excel{\" \"}\n \n }\n >\n \n \n \n \n \n \n \n );\n } else {\n return (\n \n {\" \"}\n Export To Excel{\" \"}\n \n }\n >\n \n \n );\n }\n };\n return ;\n};\n\nexport default ExportToExcel;\n","import React, { useState, useRef, Fragment, useEffect } from \"react\";\nimport { history } from \"../../helpers/history\";\nimport validator from \"validator\";\nimport DateFormat from \"../../helpers/DateFormat\";\nimport crossImgs from \"../../assets/images/icons/cross.svg\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport ReactDatePickerHelper from \"../../helpers/ReactDatePickerHelper\";\nimport emptyclient from \"../../assets/images/icons/clients-empty.svg\";\nimport transactionService from \"../../services/transaction.service\";\nimport { useSelector } from \"react-redux\";\nimport ExportToExcel from \"../../helpers/ExportToExcel\";\nimport CurrencyFormat from 'react-currency-format';\n\nconst SearchGridInputData = [\n {\n Name: \"\",\n UserId: \"\",\n DateFrom: \"\",\n DateTo: \"\",\n startIndex: 1,\n scrolled: false,\n isFirstTime: true,\n },\n];\nvar fontStyle = {\n textTransform: \"uppercase\",\n};\n\nconst SearchGridSendMoney = (props) => {\n const [modalShow, setModalShow] = useState(false);\n const [name, setCompanyName] = useState(\"\");\n const [dateFrom, setDateFrom] = useState(\"\");\n const [dateTo, setDateTo] = useState(\"\");\n const searchTbl = useRef();\n const [loadingData, setLoadingData] = useState(false);\n const [searchData, setSearchData] = useState();\n const [searchGridSuccess, setSearchGridSuccess] = useState(false);\n const [SearchInputDisabled, setSearchDisabled] = useState(false);\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(String(currentUser.user.UserId));\n const [totalCount, setTotalCount] = useState(0);\n const [PaymentProcessor, setPaymentProcessor] = useState(String(currentUser.user.PaymentProcessor));\n const [clientCurrency, setClientCurrency] = useState(\"\");\n\n //Export To Excel\n const [dataset, setDataset] = useState();\n useEffect(() => {\n SearchClickHandler(null, true);\n checkClientCurrency();\n }, []);\n const handleInputSearchClick = (e) => {\n e.preventDefault();\n setModalShow(true);\n setSearchDisabled(true);\n setCompanyName(\"\");\n dateToHandler(\"\");\n dateFromHandler(\"\");\n };\n const nameChangeHandler = (e) => {\n SearchGridInputData[0].Name = e.target.value;\n setCompanyName(SearchGridInputData[0].Name);\n };\n const dateFromHandler = (e) => {\n SearchGridInputData[0].DateFrom = e;\n if (e)\n SearchGridInputData[0].DateFrom = dateFilter(\n SearchGridInputData[0].DateFrom\n );\n setDateFrom(SearchGridInputData[0].DateFrom);\n };\n const dateFilter = (date) => {\n return new Date(date);\n };\n const dateToHandler = (e) => {\n SearchGridInputData[0].DateTo = e;\n if (e)\n SearchGridInputData[0].DateTo = dateFilter(SearchGridInputData[0].DateTo);\n setDateTo(SearchGridInputData[0].DateTo);\n };\n const SearchClickHandler = (e,isFromUseEffect) => {\n setLoadingData(true);\n if (!SearchGridInputData[0].scrolled) {\n setSearchGridSuccess(false);\n }\n // if (isFromUseEffect) {\n // setModalShow(true);\n // }\n // else\n setModalShow(false);\n setSearchDisabled(false);\n transactionService\n .searhGridSendMoney(\n name,\n UserId,\n dateFrom || new Date(\"0001-01-01\"),\n dateTo || new Date(\"0001-01-01\"),\n SearchGridInputData[0].startIndex,\n )\n .then((resp) => {\n setLoadingData(false);\n if (resp && resp.data && resp.data.payload) {\n if (resp.data.success) {\n // if(isFromUseEffect)\n // setModalShow(true);\n // else\n setModalShow(false);\n setSearchDisabled(false);\n }\n if (\n resp.data.payload.result.pageModel.length > 0 ||\n searchData.length > 0\n ) {\n setTotalCount(resp.data.payload.result.totalCount);\n if (SearchGridInputData[0].scrolled) {\n let appendedData = searchData.concat(\n resp.data.payload.result.pageModel\n );\n setSearchData(appendedData);\n setDataset(appendedData);\n } else {\n setSearchData(resp.data.payload.result.pageModel);\n setDataset(resp.data.payload.result.pageModel);\n SearchGridInputData[0].startIndex = 1;\n }\n setSearchGridSuccess(true);\n\n SearchGridInputData[0].scrolled = false;\n // if (SearchGridInputData[0].isFirstTime) {\n searchTbl.current.onscroll = tblScrollHandler;\n SearchGridInputData[0].isFirstTime = false;\n // }\n }\n }\n })\n .catch((error) => {\n setSearchGridSuccess(false);\n setLoadingData(false);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n SearchClickHandler();\n }\n })();\n });\n };\n const tblScrollHandler = (e) => {\n if (\n !SearchGridInputData[0].scrolled &&\n SearchGridInputData[0].startIndex + 10 <= totalCount\n ) {\n SearchGridInputData[0].scrolled = true;\n SearchGridInputData[0].startIndex =\n SearchGridInputData[0].startIndex + 10;\n SearchClickHandler();\n }\n };\n const showClientDetails = (id) => {\n history.push(\"/clientDetails\", id);\n };\n const renderTableHeader = () => {\n let header = Object.values(props.headersdata);\n return header.map((key, index) => {\n return {key.toUpperCase()};\n });\n };\n\n const renderTableData = () => {\n return searchData.map((data, index) => {\n const {\n id,\n name,\n tokenId,\n amount,\n createdDate,\n } = data; //destructuring\n return (\n \n {name}\n {tokenId}\n \n \n \n \n
{value} {clientCurrency}
}/>\n \n \n );\n });\n };\n const HideSearchPopupDiv = () => {\n setModalShow(false);\n setSearchDisabled(false);\n setCompanyName(\"\");\n };\n const ClearSearchData = () => {\n setCompanyName(\"\");\n dateToHandler(\"\");\n dateFromHandler(\"\");\n ClearInputData();\n };\n const ClearInputData = () => {\n if (document.getElementById(\"clientNameDD\") !== null)\n document.getElementById(\"clientNameDD\").value = \"\";\n setTimeout(() => {\n [...document.getElementsByClassName(\"r-input-group\")].forEach(\n (element) => {\n element.children[0].value = \"\";\n }\n );\n document.getElementById(\"searchBtnClients\").click();\n }, 500);\n };\n const checkClientCurrency=()=>{\n if(currentUser?.user?.ClientCurrency===\"USD\")\n setClientCurrency(\"USD\")\n else if(currentUser?.user?.ClientCurrency===\"EUR\")\n setClientCurrency(\"EUR\")\n else if(currentUser?.user?.ClientCurrency===\"GBP\")\n setClientCurrency(\"GBP\")\n else if(currentUser?.user?.ClientCurrency===\"CAD\")\n setClientCurrency(\"CAD\")\n else \n setClientCurrency(\"\")\n }\n return (\n \n
\n
\n

Send Money History

\n
\n
\n \n
\n
\n
\n
\n \n {/* no client found */}\n
\n
\n \n \n \n \n \n \n \n \n

Empty Clients Listing

\n
There is no Client(s) available for now.
\n
\n
\n \n
e.preventDefault()}>\n
\n
\n
\n
\n \n \n {/* search box */}\n \n
\n
\n \n
\n \n
\n \n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n {/*
\n
\n \n
\n
\n
\n
*/}\n
\n
\n \n Search\n \n \n Clear Search\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n
\n\n {searchGridSuccess && (\n
\n \n \n {renderTableHeader()}\n \n {renderTableData()}\n \n
\n )}\n {loadingData ? (\n
\n
\n
\n
\n

loading data

\n
\n ) : totalCount === 0 ? (\n
\n
\n \n \n \n \n \n \n \n \n {/* \n \n \n \n \n \n \n */}\n {/* */}\n

Empty Send Money Listing

\n
There are no Transactions available for now.
\n
\n
\n ) : (\n \"\"\n )}\n \n \n
\n );\n};\n\nexport default SearchGridSendMoney;\n","import { Fragment } from \"react\"\nimport { Link } from \"react-router-dom\";\nconst Help=()=>{\n return(\n
\n

Help

\n

\n For further querires Admin will reach out via email if more details\n are required we will contact you.\n

\n
\n {\n document\n .getElementById(\"helpNavLink\")\n .classList.add(\"active\");\n document\n .getElementById(\"cardsNavLink\")\n .classList.remove(\"active\");\n }}>\n Submit Your Query \n {/* \"arrow\" */}\n\n \n
\n
\n
)\n}\nexport default Help;","import { Fragment, useState, useRef, useEffect } from \"react\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport { useSelector } from \"react-redux\";\nimport transactionService from \"../../services/transaction.service\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport SearchGridSendMoney from \"./SearchGridSendMoney\";\nimport logo from \"../../assets/images/tick.png\";\nimport Help from \"./Help\";\n\nconst P2PTransfer = (props) => {\n const CheckNegativeAmount = (value) => {\n let obj = parseFloat(value);\n if (obj < 0) {\n document.getElementById(\"id_Amount\").classList.add(\"has_error\");\n return Amount cannot be negative;\n } else document.getElementById(\"id_Amount\").classList.remove(\"has_error\");\n };\n const CheckZeroAmount = (value) => {\n let obj = parseFloat(value);\n if (obj === 0) {\n document.getElementById(\"id_Amount\").classList.add(\"has_error\");\n return Amount must be greater than 0!;\n } else document.getElementById(\"id_Amount\").classList.remove(\"has_error\");\n };\n const accountNumberRequired = (value) => {\n if (!value) {\n document.getElementById(\"id_AccountNumber\").classList.add(\"has_error\");\n return Token ID is required!;\n } else\n document.getElementById(\"id_AccountNumber\").classList.remove(\"has_error\");\n };\n const AmountRequired = (value) => {\n if (!value) {\n document.getElementById(\"id_Amount\").classList.add(\"has_error\");\n return Amount is required!;\n } else document.getElementById(\"id_Amount\").classList.remove(\"has_error\");\n };\n const { user: currentUser } = useSelector((state) => state.auth);\n const form = useRef();\n const checkBtn = useRef();\n const { height, width } = useWindowDimensions();\n const [boloader, setBoLoader] = useState(false);\n const [UnMaskedCardNumber, setUnMaskedCardNumber] = useState();\n const [TokenId, setTokenId] = useState();\n const [Amount, setAmount] = useState();\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n //Payment processor selection\n const [CardHashId, setCardHashId] = useState();\n const [PaymentProcessor, setPaymentProcessor] = useState(\n String(currentUser.user.PaymentProcessor)\n );\n const [CurrencyCode, setCurrencyCode] = useState(currentUser?.user?.ClientCurrency);\n\n const [dynamicClass, setDynamicClass] = useState(\"\");\n const [modalShow, setModalShow] = useState(false);\n const [confirmModalShow, setconfirmModalShow] = useState(false);\n const [favouritePayee, setFavouritePayee] = useState(false);\n //For Nium Confirmations Properties\n const [Name, setName] = useState();\n const [Email, setEmail] = useState();\n const [SenderCustomerHashId, setSenderCustomerHashId] = useState();\n const [SenderWalletHashId, setSenderWalletHashId] = useState();\n const [ReceiverWalletHashId, setReceiverWalletHashId] = useState();\n const [ReceiverCardHashId, setReceiverCardHashId] = useState();\n const [SenderCardHashId, setSenderCardHashId] = useState();\n //Dialogue Popup\n const [dialougeModalShow, setDialougeModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n \n var fontStyle = {\n fontSize: 13,\n };\n useEffect(() => {\n if (props.classparam !== undefined) {\n setDynamicClass(\"mt-40\");\n setTokenId(props.cardnumber);\n } else setDynamicClass(\"col-xl-6 col-lg-8 col-md-12 bo-main-content\");\n }, []);\n const onChangeAccountNumber = (e) => {\n const AccountNumber = e.target.value;\n // if (AccountNumber != \"\") {\n // let value = parseFloat(AccountNumber);\n setTokenId(String(AccountNumber));\n // }\n };\n const onChangeAmount = (e) => {\n const Amount = e.target.value;\n if (Amount != \"\") {\n let value = parseFloat(Amount);\n setAmount(value);\n }\n };\n const onChangeCardFeeCurrencyCode = (e) => {\n const name = e.target.selectedOptions[0].value;\n //const status = e.value;\n //let statusvalue = parseInt(status);\n setCurrencyCode(name);\n };\n const CheckCardDetails = (e) => {\n if (e) e.preventDefault();\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n transactionService\n .getVerificationPayee(TokenId, Amount, CurrencyCode, UserId)\n .then(\n (response) => {\n setBoLoader(false);\n if (response && response.data && response.data.payload) {\n setName(response.data.payload.result.name);\n setEmail(response.data.payload.result.email);\n setReceiverWalletHashId(\n response.data.payload.result.receiverWalletHashId\n );\n setSenderCustomerHashId(\n response.data.payload.result.senderCustomerHashId\n );\n setSenderWalletHashId(\n response.data.payload.result.senderWalletHashId\n );\n setReceiverCardHashId(response.data.payload.result.receiverCardHashId);\n setSenderCardHashId(response.data.payload.result.senderCardHashId);\n setconfirmModalShow(true);\n }\n },\n (error) => {\n let msgBody = error.response.data.message\n ? error.response.data.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n }\n );\n }\n };\n const saveP2pDetails = (e) => {\n let CardType=currentUser?.user?.IsPhysicalCard ?\"GPR_PHY\":\"GPR_VIR\"??\"\";\n if (e) e.preventDefault();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n transactionService\n .saveP2PTransfer(\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId,\n ReceiverCardHashId,\n SenderCardHashId,\n CardType,\n\n )\n .then(\n (response) => {\n setBoLoader(false);\n if (response && response.data && response.data.payload) {\n if (response.data.payload.result.item2 === \"Success\") {\n setconfirmModalShow(false);\n setModalShow(true);\n if (props && props.FavouritesList) {\n for (var i = 0; i < props.FavouritesList.length; i++) {\n if (props.FavouritesList[i].TokenId === TokenId) {\n setFavouritePayee(true);\n }\n }\n }\n }\n }\n },\n (error) => {\n setBoLoader(false);\n setconfirmModalShow(false);\n setModalShow(false);\n let msgBody = error.response.data.message\n ? error.response.data.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n }\n );\n }\n //setconfirmModalShow(false);\n //setModalShow(true);\n };\n const addToFavourite = (e) => {\n if (e) e.preventDefault();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n transactionService\n .addToFavourite(\n TokenId,\n Amount,\n CurrencyCode,\n UserId,\n Name,\n Email,\n SenderCustomerHashId,\n SenderWalletHashId,\n ReceiverWalletHashId,\n \n )\n .then(\n (response) => {\n setBoLoader(false);\n if (response && response.data && response.data.payload.succeeded) {\n setFavouritePayee(true);\n }\n },\n (error) => {\n setBoLoader(false);\n let msgBody = error.response.data.message\n ? error.response.data.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n }\n );\n }\n setconfirmModalShow(false);\n setModalShow(true);\n };\n const closeP2pModal = () => {\n setModalShow(false);\n setconfirmModalShow(false);\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setDialougeModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n const renderDetails = () => {\n return (\n
\n
\n
\n \n \n \n \n
\n

Transfered

\n
\n
\n
\n
\n
\n

Amount has been sent successfully to.

\n
\n
\n
    \n
  • \n \n {TokenId}\n
  • \n
  • \n \n {Amount}\n
  • \n {/*
  • \n \n {CurrencyCode}\n
  • */}\n
  • \n \n {Name}\n
  • \n
  • \n \n {Email}\n
  • \n
\n
\n {favouritePayee === true ? (\n
\n \n \n
\n ) : favouritePayee === false ? (\n \n Add to Favorites\n \n ) : (\n
\n )}\n
\n
\n {/* \n Cancel\n */}\n \n
\n
\n
\n
\n
\n
\n
\n
\n );\n };\n const renderConfirmDetails = () => {\n return (\n
\n \n
\n

Confirmation

\n
\n
\n
\n
\n

Please Confirm Details of Transactions.

\n
\n
\n
    \n
  • \n \n {TokenId}\n
  • \n
  • \n \n {Amount}\n
  • \n {/*
  • \n \n {CurrencyCode}\n
  • */}\n
  • \n \n {Name}\n
  • \n
  • \n \n {Email}\n
  • \n
\n
\n \n Cancel\n \n \n Confirm\n \n
\n
\n
\n
\n
\n
\n
\n );\n };\n\n const maxLengthCheck = (object) => {\n if (object.target.value.length > object.target.maxLength) {\n object.target.value = object.target.value.slice(0, object.target.maxLength)\n }\n let t = object.target.value;\n if(t.includes(\".\"))\n object.target.value = (t?.indexOf(\".\") >= 0) ? (t.substr(0, t.indexOf(\".\")) + t.substr(t.indexOf(\".\"), 3)) : t;\n }\n return (\n \n
\n \n
\n

Send Money

\n {/* className=\"form-send-money\" */}\n
\n
\n
\n
\n \n
\n e.target.blur()}\n name=\"AccountNumber\"\n maxLength = \"10\"\n onInput={maxLengthCheck}\n onKeyDown={(evt) => [\"e\", \"E\", \"+\", \"-\"].includes(evt.key) && evt.preventDefault()}\n value={TokenId}\n onChange={onChangeAccountNumber}\n validations={[accountNumberRequired]}\n />\n \n
\n
\n
\n
\n
\n \n
\n e.target.blur()}\n onKeyDown={(evt) => [\"e\", \"E\", \"+\", \"-\"].includes(evt.key) && evt.preventDefault()}\n onInput={maxLengthCheck}\n value={Amount}\n onChange={onChangeAmount}\n validations={[AmountRequired, CheckNegativeAmount,CheckZeroAmount]}\n />\n \n
\n
\n
\n {/*
\n
\n \n
\n \n {PaymentProcessor === \"MSwipe\" ? (\n \n ) : (\n \n )}\n \n
\n
\n
*/}\n
\n
\n \n
\n
\n
\n \n \n {props.calledfrom !== \"dashboard\" && (\n \n )}\n \n {/* {props.calledfrom === \"dashboard\" ?(\"\"):()} */}\n
\n
\n setModalShow(false)}\n modelheading={\"\"}\n modelbody={renderDetails()}\n showheader={\"false\"}\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n className=\"smallPopup issueCardSmall\"\n backdrop=\"static\"\n keyboard={false}\n />\n setconfirmModalShow(false)}\n modelheading={\"\"}\n modelbody={renderConfirmDetails()}\n showheader={\"false\"}\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n className=\"smallPopup issueCardSmall\"\n backdrop=\"static\"\n keyboard={false}\n />\n
\n setDialougeModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n backdrop=\"static\"\n keyboard={false}\n />\n
\n
\n );\n};\n\nexport default P2PTransfer;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAYRSURBVFhHzZcJUJRlGMf/u8Byg3ILIiigeJsmmpaYY1JIOqaOkeUR6cCAY2OSZaXN2KGlTmXpOOVVmjqDmk6akhc4meZ4hAcqySGC0HK4u7Dsxb4938srsvDtCjRN/Bhml//z8u1/3+N5nlfBCHQRlOK1S9ClzHR4mRqtFlTUF0Fj/BuMWeHm7AV/9zB0cwsSIzpOme42wrz7ts+MlT70UuUxZBduRa2hHBarCWarGQqKKenHxcmN/w4LmogXolLh4+rX9I8OkJ6ZXfgdDhZ8hRejM5AYnerYjBQ5WbIDB26txwNjBbxU/ojwHoTubsHwUHnTA2mmmBlaUzUq6u6gXFdAJo14LnI+Evq8gZ4+seJJj5Bm83TJj9iSl4kBAU8hbfhGel4Ij9k3Q+p7uRNRpb+HBrMWk2PSEdcjCcGeveHh4iMGNWGhWao13Efhgzxk3VyNyvpieLr4YmbsckyInC1GgZ5VhjXnZtG4K1gx9hCGBk8QEYFkpjVXK3PYwiP9WNovA9i68/OE2n5OFO1gi7NHiL+ayMr/jE3LcmdrziazBpNWqLa0MaOuL2UZx4ax5AMBLKdkj1A7jsli4K8Gi559cyGVzdjvy76+mMY1e9iYsVob2dsnx7EFR/qy08W7hdp57uvusGUn49m8nyPY/pvrhGofmzyz58YqWvsKjA17CfERLwu1c1TUFdL+SEalvghJfdIxrd8SEbFPs5laQyVyS/fCRemOuUM+FWrnKK8rwN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mjtrFC93my4uQW7JXRORRKKT7gTzVlCRXnkmkfriIb9rxEa+IiH1kG/Jr6jPYcHEhnGgVo/3isCRum4i0j5y7u3GoYAPP2k+Hz0RKi+rtCAe3A4b3cxP4CZNuB4nR6RhFZaF9t4MidHMNxpSYxZjYe64Y9XgcX+IocqLke6o96+zemyyUBHWUuaU2s+W9aRLdm8Jl7k2OcGxG0HSjzKYb4BaHN8on6Eb5fDtvlHK0y0xLWt+1pZLg9y/v2g/psJn/Epuj/X/ThcwA/wAckUg3cHn0GwAAAABJRU5ErkJggg==\"","import { Fragment } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport kapedicon from '../../assets/images/kapedicon.png';\n\n\nconst KapedVirtualAssistant = () => {\n const { user: currentUser } = useSelector((state) => state.auth);\n return (\n \n
\n \n
\n {/* {currentUser?.user?.ClientId ===35 ? (
\n
\n \n \n \n
) : (\"\")} */}\n\n\n\n
\n );\n\n\n}\nexport default KapedVirtualAssistant;\n","export default __webpack_public_path__ + \"static/media/kapedicon.60ac59e7.png\";","import React, { useState, useRef, Fragment } from \"react\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport { useSelector } from \"react-redux\";\n\nimport Input from \"react-validation/build/input\";\nimport Form from \"react-validation/build/form\";\nimport CheckButton from \"react-validation/build/button\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport { history } from \"../../helpers/history\";\nimport { Link } from \"react-router-dom\";\nimport CardDetails from \"./CardDetails\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\n\nconst ChangePinCardDetails = (props) => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(currentUser?.user?.UserId);\n const [TokenId, setToken] = useState(props?.tokenId);\n const userType = currentUser?.user?.PaymentProcessor;\n\n const [modalsuccessfullShow, setModalsuccessfullShow] = useState(false);\n const [modalerrorShow, setModalerrorShow] = useState(false);\n const [currentpin, setcurrentpin] = useState(\"\");\n const [newpin, setnewpin] = useState(\"\");\n const [confirmpin, setconfirmpin] = useState(\"\");\n const form = useRef();\n const checkBtn = useRef();\n //Loader\n const [boloader, setBoLoader] = useState(false);\n //Dialogue Popup\n const [dialougeModalShow, setDialougeModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setDialougeModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n let passwordValue = \"\";\n const newRequired = (value) => {\n passwordValue = value;\n if (!value) {\n document.getElementById(\"id_new_pass\").classList.add(\"has_error\");\n return New Pin is Required;\n } else document.getElementById(\"id_new_pass\").classList.remove(\"has_error\");\n };\n const confirmRequired = (value) => {\n if (!value) {\n document.getElementById(\"id_confirm_pass\").classList.add(\"has_error\");\n return Confirm Pin is Required;\n } else\n document.getElementById(\"id_confirm_pass\").classList.remove(\"has_error\");\n };\n\n const vpassword = (value) => {\n if (value !== passwordValue) {\n document.getElementById(\"id_confirm_pass\").classList.add(\"has_error\");\n return (\n \n The password and confirm pin must match\n \n );\n } else\n document.getElementById(\"id_confirm_pass\").classList.remove(\"has_error\");\n };\n const onClickReset = () => {\n setModalsuccessfullShow(true);\n //alert(\"this is Reset\");\n };\n const onClickChange = () => {\n if(currentUser?.user?.IssuerName === \"IssuerG\"){\n setBoLoader(true)\n cardholdercardsObj\n .changeCardHolderPinIssuerB( newpin,\n UserId,)\n .then((response) => {\n setBoLoader(false)\n setModalsuccessfullShow(true);\n if (!response?.data?.isError) {\n if (response?.data?.payload?.succeeded) {\n }\n }\n })\n .catch((error) => { \n setBoLoader(false)\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n });\n // alert(\"this is Change\");\n }\n if(currentUser?.user?.IssuerName === \"IssuerB4B\"){\n setBoLoader(true)\n cardholdercardsObj\n .changeCardHolderPinIssuerB4B( newpin,\n UserId,)\n .then((response) => {\n setBoLoader(false)\n setModalsuccessfullShow(true);\n if (!response?.data?.isError) {\n if (response?.data?.payload?.succeeded) {\n }\n }\n })\n .catch((error) => { \n setBoLoader(false)\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n });\n // alert(\"this is Change\");\n }\n if(currentUser?.user?.IssuerName === \"IssuerTG\"){\n setBoLoader(true)\n cardholdercardsObj\n .changeCardHolderPinIssuerTG( newpin,confirmpin,\n UserId,)\n .then((response) => {\n setBoLoader(false)\n setModalsuccessfullShow(true);\n if (!response?.data?.isError) {\n if (response?.data?.payload?.succeeded) {\n }\n }\n })\n .catch((error) => { \n setBoLoader(false)\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n });\n // alert(\"this is Change\");\n }\n else{\n setBoLoader(true)\n cardholdercardsObj\n .changeCardHolderPin( newpin,\n props.tokenId,\n UserId,)\n .then((response) => {\n setBoLoader(false)\n setModalsuccessfullShow(true);\n if (!response.data.isError) {\n if (response.data.payload.succeeded) {\n }\n }\n })\n .catch((error) => { setBoLoader(false)\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n });\n // alert(\"this is Change\");\n }\n\n };\n const onChangeCurrentPin = (e) => {\n const value = e.target.value;\n setcurrentpin(value);\n };\n const onChangeNewPin = (e) => {\n const value = e.target.value;\n\n setnewpin(value);\n };\n const onChangeConfirmPin = (e) => {\n const value = e.target.value;\n setconfirmpin(value);\n };\n const onHideModal = () => {\n setcurrentpin(\"\");\n setnewpin(\"\");\n setconfirmpin(\"\");\n props.onHide();\n };\n const handleRegister = (e) => {\n e.preventDefault();\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n if (props.calledfrom === \"reset\") {\n onClickReset();\n //props.onHide();\n } else {\n onClickChange();\n props.onHide();\n }\n }\n };\n const changeCardHolderPin = () => {\n cardholdercardsObj\n .changeCardHolderPin(currentpin, newpin, confirmpin)\n .then((response) => {\n if (!response.data.isError) {\n if (response.data.payload.succeeded) {\n }\n }\n })\n .catch((err) => {});\n };\n const gotoDashboard = () => {\n props.onHide();\n history.push(\"dashboard\");\n };\n\n return (\n \n \n {onHideModal();}}\n calledfrom={props.calledfrom}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall \"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={\n \n \n
\n
\n {props.calledfrom === \"reset\" ? (\n

Reset Card PIN

\n ) : (\n

Change Card PIN

\n )}\n \n
\n \n \n {/*
*/}\n {/*
*/}\n \n {/*
*/}\n {/*
\n \"...\"\n
\n
\n \"...\"\n
*/}\n \n {/*
*/}\n {/* \n \n \"arrow\"\n \n Previous\n */}\n {/* \n \n \"arrow\"\n \n Next\n */}\n
\n
\n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n {\n currentUser?.user?.IssuerName === \"IssuerTG\" ?\n (<>\n \n
\n \n
\n \n )\n :(<>\n \n
\n \n
\n \n )\n }\n \n
\n
\n
\n
\n \n Cancel\n \n {props.calledfrom === \"reset\" ? (\n \n Reset\n \n ) : (\n \n Change\n \n )}\n
\n
\n
\n \n \n
\n
\n
\n \n
\n }\n />\n {setModalerrorShow(false);onHideModal();}}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n
\n \n \n \n \n
\n

Error

\n
\n
\n
\n
\n
\n

You Entered incorrect current PIN.

\n
\n
\n
\n \n Back\n \n \n Try Again\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n {setModalsuccessfullShow(false);onHideModal();}}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n
\n \n \n \n \n
\n

Successful

\n
\n
\n
\n
\n
\n\n {currentUser?.user?.IssuerName === \"IssuerG\"?

Pin Changed Successfully.

\n :

Request Made Successfully.

}\n
\n
\n
\n {\n setModalsuccessfullShow(false);\n //gotoDashboard();\n document.getElementById(\"dashboardNavLink\").click();\n }}\n >\n Go to Dashboard\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n {\n setDialougeModalShow(false);\n setnewpin(\"\");\n setconfirmpin(\"\");\n }}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n backdrop=\"static\"\n keyboard={false}\n />\n
\n );\n};\nexport default ChangePinCardDetails;\n","export default __webpack_public_path__ + \"static/media/loader.8546e518.svg\";","import axios from \"axios\";\nimport authHeader from \"./auth-header\";\nimport { Env } from \"../enviroment/environment\";\n\nconst API_URL = Env.SettingsApiUrl;\nconst changePassword = (userId, currentPassword, newPassword) => {\n return axios\n .post(\n API_URL + \"changepassword\",\n { userId, currentPassword, newPassword },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst checkCurrentPassword = (userId, currentPassword, newPassword) => {\n return axios\n .post(\n API_URL + \"checkcurrentpassword\",\n { userId, currentPassword, newPassword },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst settingsObj = {\n changePassword,\n checkCurrentPassword,\n};\nexport default settingsObj;\n","import Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport React, { useState, useRef, useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport CountDownTimer from \"./countDownTimer\";\nimport { send_two_FA_Code, get_two_FA_Code } from \"../../actions/account\";\nimport { history } from \"../../helpers/history\";\nimport loaderimg from \"../../assets/images/icons/loader.svg\";\nimport settingsService from \"../../services/settings.service\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport ChangePinCardDetails from \"../cardholderCardScreens/ChangePinCardDetails\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\n\n////// Note :Donot remove commented code as it is used for mobile 2fa ,which we will uncomment when required\n\nlet ecode1 = \"\";\nlet ecode2 = \"\",\n ecode3 = \"\",\n ecode4 = \"\",\n ecode5 = \"\",\n ecode6 = \"\";\n// smscode1 = \"\",\n// smscode2 = \"\",\n// smscode3 = \"\",\n// smscode4 = \"\",\n// smscode5 = \"\",\n// smscode6 = \"\";\n\nlet maskedUserEmail = \"\";\nlet interval = \"\";\nlet isFirstTime = true;\n// let maskedUserMobileNumber = \"\";\nconst TwoFaForm = (props) => {\n const { twoFACode: twoFaData } = useSelector((state) => state.account);\n const [maskedEmail, setMaskedEmail] = useState(\"\");\n // const [maskedMobileNo, setMaskedMobileNo] = useState(\"\");\n const [settingsScreenSuccess, setsettingsScreenSuccess] = useState(false);\n const [settingsScreenFailed, setsettingsScreenFailed] = useState(false);\n const [cardHolderCardResetPin, setCardHolderCardResetPin] = useState(false);\n const [disable2faButton, setDisable2faButton] = useState(\"disabled\");\n // const [clientAdminResetPin, setclientAdminResetPin] = useState(false);\n //const [isFirstTime, setIsFirstTime] = useState(true);\n const [boloader, setBoLoader] = useState(false);\n useEffect(() => {\n isFirstTime = true;\n document.getElementById(\"timerbtn\").click();\n maskedUserEmail = \"\";\n let splitEmail = props.userEmail.split(\"@\");\n let splitEmailIndex = splitEmail[0];\n for (var i in splitEmailIndex) {\n if (i > 0 && i < splitEmailIndex.length) maskedUserEmail += \"*\";\n else maskedUserEmail += splitEmailIndex[i];\n }\n maskedUserEmail = maskedUserEmail + \"@\" + splitEmail[1];\n setMaskedEmail(maskedUserEmail);\n // let lst3_dgt_mobileNo = props.userMobile.substr(\n // 10,\n // props.userMobile.length\n // );\n // for (var j in props.userMobile) {\n // if (j > 0 && j < props.userMobile.length - 3)\n // maskedUserMobileNumber += \"*\";\n // }\n // setMaskedMobileNo(maskedUserMobileNumber + lst3_dgt_mobileNo);\n if (props.pagename === \"settings\") Resend2FA();\n if (props.pagename === \"cardholderresetpin\") {\n setCardHolderCardResetPin(false);\n Resend2FA();\n }\n interval = setInterval(() => {\n let mint = document.getElementById(\"mints\");\n let secs = document.getElementById(\"secs\");\n if (\n mint &&\n mint.textContent === \"00\" &&\n secs &&\n secs.textContent === \"00\"\n )\n setDisable2faButton(\"\");\n }, 10000);\n }, []);\n const form = useRef();\n const checkBtn = useRef();\n\n const [emailCode1, setEmailCode1] = useState(\"\");\n\n const [emailCode2, setEmailCode2] = useState(\"\");\n\n const [emailCode3, setEmailCode3] = useState(\"\");\n\n const [emailCode4, setEmailCode4] = useState(\"\");\n\n const [emailCode5, setEmailCode5] = useState(\"\");\n\n const [emailCode6, setEmailCode6] = useState(\"\");\n const [two_fa_successful, set_two_fa_Successful] = useState(false);\n const [showtimer, settimerflag] = useState(true);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [modalShow, setModalShow] = useState(false);\n\n // const [smsCode1, setSmsCode1] = useState(\"\");\n // const [smsCode2, setSmsCode2] = useState(\"\");\n // const [smsCode3, setSmsCode3] = useState(\"\");\n // const [smsCode4, setSmsCode4] = useState(\"\");\n // const [smsCode5, setSmsCode5] = useState(\"\");\n // const [smsCode6, setSmsCode6] = useState(\"\");\n // const onChangeSmsCode1 = (e) => {\n // smscode1 = e.target.value;\n // setSmsCode1(smsCode1);\n // checkAllValuesFilled();\n // };\n // const onChangeSmsCode2 = (e) => {\n // smscode2 = e.target.value;\n // setSmsCode2(smsCode2);\n // checkAllValuesFilled();\n // };\n // const onChangeSmsCode3 = (e) => {\n // smscode3 = e.target.value;\n // setSmsCode3(smsCode3);\n // checkAllValuesFilled();\n // };\n // const onChangeSmsCode4 = (e) => {\n // smscode4 = e.target.value;\n // setSmsCode4(smsCode4);\n // checkAllValuesFilled();\n // };\n // const onChangeSmsCode5 = (e) => {\n // smscode5 = e.target.value;\n // setSmsCode5(smsCode5);\n // checkAllValuesFilled();\n // };\n // const onChangeSmsCode6 = (e) => {\n // smscode6 = e.target.value;\n // setSmsCode6(smsCode6);\n // checkAllValuesFilled();\n // };\n\n const onChangeEmailCode1 = (e) => {\n ecode1 = e.target.value;\n setEmailCode1(ecode1);\n if (ecode1 !== \"\") document.getElementsByName(\"emailcode2\")[0].focus();\n checkAllValuesFilled();\n };\n\n const onChangeEmailCode2 = (e) => {\n ecode2 = e.target.value;\n setEmailCode2(ecode2);\n if (ecode2 !== \"\") document.getElementsByName(\"emailcode3\")[0].focus();\n checkAllValuesFilled();\n if (ecode2 === \"\") document.getElementsByName(\"emailcode1\")[0].focus();\n };\n const onChangeEmailCode3 = (e) => {\n ecode3 = e.target.value;\n setEmailCode3(ecode3);\n if (ecode3 !== \"\") document.getElementsByName(\"emailcode4\")[0].focus();\n checkAllValuesFilled();\n if (ecode3 === \"\") document.getElementsByName(\"emailcode2\")[0].focus();\n };\n const onChangeEmailCode4 = (e) => {\n ecode4 = e.target.value;\n setEmailCode4(ecode4);\n if (ecode4 !== \"\") document.getElementsByName(\"emailcode5\")[0].focus();\n checkAllValuesFilled();\n if (ecode4 === \"\") document.getElementsByName(\"emailcode3\")[0].focus();\n };\n const onChangeEmailCode5 = (e) => {\n ecode5 = e.target.value;\n setEmailCode5(ecode5);\n if (ecode5 !== \"\") document.getElementsByName(\"emailcode6\")[0].focus();\n checkAllValuesFilled();\n if (ecode5 === \"\") document.getElementsByName(\"emailcode4\")[0].focus();\n };\n const onChangeEmailCode6 = (e) => {\n ecode6 = e.target.value;\n setEmailCode6(ecode6);\n checkAllValuesFilled();\n if (ecode6 === \"\") document.getElementsByName(\"emailcode5\")[0].focus();\n };\n const checkAllValuesFilled = () => {\n if (\n ecode1 !== \"\" &&\n ecode2 !== \"\" &&\n ecode3 !== \"\" &&\n ecode4 !== \"\" &&\n ecode5 !== \"\" &&\n ecode6 !== \"\"\n // smscode1 !== \"\" &&\n // smscode2 !== \"\" &&\n // smscode3 !== \"\" &&\n // smscode4 !== \"\" &&\n // smscode5 !== \"\" &&\n // smscode6 !== \"\"\n ) {\n isFirstTime = false;\n document.getElementById(\"emailcodebtn\").click();\n }\n };\n const verificationCodeKeyPress = (event) => {\n if (!/[+0-9]/.test(event.key)) {\n event.preventDefault();\n }\n };\n const closeFailedPasswrdScreen = () => {\n localStorage.removeItem(\"2facode\");\n document.getElementsByClassName(\"cross-modal\")[0].click();\n props.closepopup();\n };\n const handleEmailVerification = (e) => {\n e.preventDefault();\n form.current.validateAll();\n let emailCode = ecode1 + ecode2 + ecode3 + ecode4 + ecode5 + ecode6;\n if (checkBtn.current.context._errors.length === 0 && emailCode !== \"\") {\n // let smsRcvdCode =\n // smscode1 + smscode2 + smscode3 + smscode4 + smscode5 + smscode6;\n if (twoFaData) {\n let mint = document.getElementById(\"mints\");\n let secs = document.getElementById(\"secs\");\n if (\n emailCode === twoFaData.data.result.emailCode.toString() &&\n // smsRcvdCode === twoFaData.data.result.smsCode.toString() &&\n secs.textContent != \"00\"\n ) {\n ecode1 = \"\";\n ecode2 = \"\";\n ecode3 = \"\";\n ecode4 = \"\";\n ecode5 = \"\";\n ecode6 = \"\";\n setBoLoader(true);\n clearInterval(interval);\n localStorage.removeItem(\"2facode\");\n settimerflag(false);\n if (props.pagename === \"settings\") {\n settingsService\n .changePassword(\n props.userId,\n props.currentpassword,\n props.newpassword\n )\n .then((resp) => {\n setBoLoader(false);\n if (\n resp &&\n resp.data &&\n resp.data.payload &&\n resp.data.payload.succeeded\n ) {\n setsettingsScreenSuccess(true);\n } else {\n setsettingsScreenFailed(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n setsettingsScreenFailed(true);\n });\n } else if (props.pagename === \"cardholderresetpin\") {\n setCardHolderCardResetPin(true);\n setBoLoader(false);\n } else {\n set_two_fa_Successful(true);\n\n setTimeout(() => {\n localStorage.removeItem(\"userRegisteration\");\n history.push(\"/alldone\", {pagename:props?.calledfrom,kycPermission:props?.kycPermisson,userid:props?.userId,calledfrom:\"register\"});\n }, 2000);\n }\n } else if (\n emailCode !== twoFaData.data.result.emailCode.toString() &&\n !isFirstTime\n // smsRcvdCode === twoFaData.data.result.smsCode.toString() &&\n ) {\n errorAndSuccessModl(\n \"Error\",\n \"You have entered an invalid code.\",\n \"icon-successful\",\n \"icon-error\"\n );\n isFirstTime = true;\n }\n }\n }\n };\n const errorAndSuccessModl = (heading, body, Icon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(Icon);\n };\n const dispatch = useDispatch();\n const Resend2FA = () => {\n setDisable2faButton(\"disabled\");\n dispatch(send_two_FA_Code(props.userId))\n .then(() => {\n // if (props.pagename !== \"settings\")\n document.getElementById(\"timerbtn\").click();\n dispatch(get_two_FA_Code(props.userId))\n .then(() => {})\n .catch(() => {});\n })\n .catch(() => {});\n };\n\n return (\n
\n \n {!two_fa_successful && (\n \n
\n {props.pagename === \"settings\" ? (\n

Authentication Code

\n ) : (\n

Verify Your Email

\n )}\n

\n
\n
\n
\n
\n
\n
Enter 6 digits code sent to your email {maskedEmail}
\n
\n \n
\n \n \n \n \n \n \n
\n
\n
\n {/*
\n

\n Enter 6 digits code sent to your mobileNumber\n

{maskedMobileNo}
\n

\n
\n \n
\n \n \n \n \n \n \n
\n
\n
*/}\n\n {showtimer && (\n
\n {\" \"}\n \n {/* \n

*/}\n
\n )}\n\n {showtimer && (\n
\n
\n \n Resend Code\n \n
\n
\n )}\n
\n
\n \n
\n\n \n \n
\n
\n )}\n {two_fa_successful && (\n
\n
\n
\n \"loader\"\n
\n

Verifiying 2FA....

\n
verifiying your Email to create an account
\n
\n
\n )}\n {settingsScreenSuccess && (\n
\n
\n
\n \n \n \n \n
\n

Successful

\n
\n
\n
\n
\n

Your Password has been changed successfully.

\n
\n
\n
\n {\n document\n .getElementById(\"dashboardNavLink\")\n .classList.add(\"active\");\n document\n .getElementById(\"settingsNavLink\")\n .classList.remove(\"active\");\n history.push(\"/dashboard\");\n }}\n >\n Go to Dashboard\n \n
\n
\n
\n
\n
\n
\n
\n )}\n {settingsScreenFailed && (\n
\n
\n
\n \n \n \n \n
\n

Unsuccessful

\n
\n
\n
e.preventDefault()}>\n
\n
\n

You entered incorrect Password.

\n
\n
\n
\n \n Back\n \n {\n document\n .getElementsByClassName(\"icon-logout\")[0]\n .click();\n props.closepopup();\n }}\n >\n Sign in\n \n
\n
\n
\n
\n
\n
\n
\n
\n )}\n {\n setCardHolderCardResetPin(false);\n props.onHide();\n }}\n calledfrom={\"reset\"}\n />\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n hideallpopups={() => setModalShow(false)}\n />\n\n \n );\n};\n\nexport default TwoFaForm;\n","export default __webpack_public_path__ + \"static/media/btn_off.cdd1ee09.svg\";","export default __webpack_public_path__ + \"static/media/btn_off_1.c4254258.svg\";","\nlet CardToCard=false;\nlet DebitCard=false;\nlet UserKyc=false;\nlet PhysicalCardCvv=false;\nexport const haspermissions={\n CardToCard,\n DebitCard,\n UserKyc,\n PhysicalCardCvv\n}\n\n","import React, { useState, Fragment, useEffect } from \"react\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport ChangePinCardDetails from \"./ChangePinCardDetails\";\nimport { useSelector } from \"react-redux\";\nimport TwoFaForm from \"../account/TwoFaForm\";\nimport { Link } from \"react-router-dom\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport moment from \"moment\";\nimport eyeOn from \"../../assets/images/btn_off.svg\";\nimport eyeOff from \"../../assets/images/btn_off_1.svg\";\nimport CurrencyFormat from 'react-currency-format';\nimport KapedVirtualAssistant from \"./KapedVirtualAssistant\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport Help from \"./Help\";\nimport { haspermissions } from \"../permissions/PermissionTypes\";\nvar setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\nif (!setpermission)\n setpermission = \"false\";\nconst CardHolderDetails = (props) => {\n const [confirmmodalShow, setCnfrmModalShow] = useState(false);\n const [modaldeactivateshow, setModaldeactivateshow] = useState(false);\n const [modalresetshow, setModalresetshow] = useState(false);\n const [modalchangeshow, setModalchangeshow] = useState(false);\n const [calledfrom, setcalledfrom] = useState(\"\");\n const [showTwoFA, setShowTwoFA] = useState(false);\n const [modalchangepinshow, setModalchangepinshow] = useState(false);\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(currentUser.user.UserId);\n const [Cvv, setCvv] = useState();\n const [IconShown, setIconShown] = useState(false);\n const [IconShownPin, setIconShownPin] = useState(false);\n const [showHidePassClass, setIconHideClass] = useState(\"icon-hidden\");\n const [ValidThru, setValidThru] = useState();\n const [isActive, setIsActive] = useState();\n const [clientCurrency, setClientCurrency] = useState(\"\");\n const [cardpin, setCardPin] = useState(\"\");\n const [modalrefillamountshow, setModalrefillamountshow] = useState(false);\n const [boloader, setBoLoader] = useState(false);\n const [dynamicClass, setDynamicClass] = useState(\"\");\n const [dynamicClass2, setDynamicClass2] = useState(\"\");\n //Dialogue Popup\n const [dialougeModalShow, setDialougeModalShow] = useState(false);\n const [dialougeModalShowStatus, setDialougeModalShowStatus] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n\n //Payment Processor Nium or mSwipe\n const [PaymentProcessor, setPaymentProcessor] = useState(String(currentUser?.user?.PaymentProcessor));\n if(currentUser)\n haspermissions.PhysicalCardCvv=currentUser?.user?.Permissions?.includes(\"PhysicalCard CVV\");\n const showHideModalReset = () => {\n setModalchangepinshow(false);\n setCnfrmModalShow(true);\n setShowTwoFA(true);\n };\n const showHideModalChange = () => {\n setCnfrmModalShow(false);\n setModalchangepinshow(true);\n setcalledfrom(\"change\");\n };\n useEffect(() => {\n if (props?.calledfrom === \"dashboard\") {\n setDynamicClass(\"\");\n setDynamicClass2(\"\")\n } else {setDynamicClass(\"col-xl-3 col-lg-4 col-lg-0 bo-right-sidebar\");setDynamicClass2(\"bo-right-sidebar-wrap\")}\n }, []);\n useEffect(() => {\n getCardCvv();\n checkClientCurrency();\n \n }, [])\n useEffect(() => {\n if (currentUser?.user?.IssuerName === \"IssuerB4B\")\n getCardPin();\n }, [])\n const getCardCvv = () => {\n if(!currentUser?.user?.IsPhysicalCard){\n cardholdercardsObj.getCardCvv(UserId).then(\n (response) => {\n if (response && response.data && response.data.payload)\n setCvv(response.data.payload.result);\n },\n (error) => {\n }\n );\n }\n \n }\n \n const getCardPin = () => {\n cardholdercardsObj.getpinb4b(UserId).then(\n (response) => {\n if (response && response.data && response.data.payload)\n setCardPin(response.data.payload?.result?.item1);\n },\n (error) => {\n }\n );\n }\n useEffect(() => {\n getCardNumber();\n }, [])\n const getCardNumber = () => {\n cardholdercardsObj.getCardNumber(UserId).then(\n (response) => {\n setValidThru(moment(response.data.payload.result.expiryDate).format(\"MM/YY\")\n );\n },\n\n ).catch((error) => {\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n getCardNumber();\n }\n })();\n });\n\n }\n const showHideIcon = () => {\n setIconShown(IconShown ? false : true);\n //setIconHideClass(IconShown ? \"icon-hidden\" : \"icon-show\");\n };\n const showHideIconPin = () => {\n setIconShownPin(IconShownPin ? false : true);\n \n };\n const checkClientCurrency = () => {\n if (currentUser?.user?.ClientCurrency === \"USD\")\n setClientCurrency(\"USD\")\n else if (currentUser?.user?.ClientCurrency === \"EUR\")\n setClientCurrency(\"EUR\")\n else if (currentUser?.user?.ClientCurrency === \"GBP\")\n setClientCurrency(\"GBP\")\n else if (currentUser?.user?.ClientCurrency === \"CAD\")\n setClientCurrency(\"CAD\")\n else\n setClientCurrency(\"\")\n }\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setDialougeModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n const refillMainWallet=()=>{\n setBoLoader(true);\n cardholdercardsObj.refillbalance(currentUser.user.UserId).then((resp)=>{\n if(resp)\n {\n setBoLoader(false);\n let msgBody = resp?.response?.data?.message\n ? resp?.response?.data?.message\n : \"Account Refilled SuccessFully\";\n let errIcon = \"icon-success\";\n errorAndSuccessModl(\"Success\", msgBody, errIcon);\n }\n\n\n }).catch((error)=>{\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n const hideallpopups=()=>{\n setDialougeModalShow(false);\n window.location.reload();\n }\n const suspendCard =()=>{\n setBoLoader(true);\n let TokenId=props?.cardnumber;\n let ClientId=currentUser?.user?.ClientId;\n let Description=\"Suspended From Card\";\n let BlockAction= \"\";\n let CardCurrency=currentUser?.user?.ClientCurrency;\n let UserIdCard=currentUser?.user?.UserId;\n let OperatorUserId=currentUser?.user?.UserId;\n let IsBlock=true;\n cardholdercardsObj\n .suspendCard(TokenId, OperatorUserId, UserIdCard, IsBlock, ClientId, Description,BlockAction, CardCurrency)\n .then((res) => {\n setBoLoader(false);\n if (res && res.data && res.data.payload) {\n let msgBody = res?.response?.data?.message\n ? res?.response?.data?.message\n : \"Card Suspended SuccessFully\";\n let errIcon = \"icon-success\";\n setDialougeModalShowStatus(true);\n sessionStorage.removeItem(\"user\");\n }\n })\n .catch((error) => {\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n return (\n
\n \n
\n \n \n

Card Details

\n
    \n
  • \n \n \n \n \n {setpermission!==\"false\" ? \"In Active\" : \"Active\"}\n \n \n
  • \n
  • \n \n {/* {props.ClientBalance} {PaymentProcessor===\"MSwipe\" ?\"USD\":\"EUR\"} */}\n {/* {props.ClientBalance} {clientCurrency} */}\n \n 0 ? props.creditBalance - props.ClientBalance : 0 : props.ClientBalance}\n displayType={'text'} thousandSeparator={true} /> {clientCurrency}\n \n\n
  • \n {currentUser?.user?.IssuerName === \"IssuerB4B\" &&(\n
  • \n \n \n  {clientCurrency}\n \n\n
  • \n )\n }\n \n
  • \n \n {props.cardnumber}\n
  • \n {\n !currentUser?.user?.IsPhysicalCard &&(\n
  • \n \n {ValidThru}\n
  • \n )\n }\n
  • \n \n {currentUser?.user?.IsPhysicalCard ? (Physical) : (Virtual)}\n
  • \n {\n currentUser?.user?.IsPhysicalCard &&(\n
    \n {\n [\"EUR\",\"GBP\",\"USD\"].includes(currentUser?.user?.ClientCurrency) &&(\n \n
  • \n \n {\n !IconShownPin && (\n \n ****\n \n )\n }\n {\n IconShownPin && (\n \n {cardpin}\n \n )\n }\n\n {/* {cardpin} */}\n
  • \n {\n ((currentUser?.user?.ClientId===138||currentUser?.user?.ClientId===137||currentUser?.user?.ClientId===174) || haspermissions.PhysicalCardCvv) &&(\n
  • \n \n {\n !IconShown && (\n \n ***\n \n )\n }\n {\n IconShown && (\n \n {Cvv}\n \n )\n }\n \n
  • \n )\n }\n \n
    \n \n )\n }\n {[\"EUR\",\"GBP\",\"USD\"].includes(currentUser?.user?.ClientCurrency) && currentUser?.user?.IssuerName ==\"IssuerB4B\" &&(\n
  • \n
    \n setModalrefillamountshow(true)}\n disabled={props?.pendingbalance==0}\n >\n Top Up Balance\n \n
    \n
  • \n )} \n \n
    \n )\n }\n \n {currentUser?.user?.PaymentProcessor === \"MSwipe\" ?\n (!currentUser?.user?.IsPhysicalCard &&
  • \n \n {\n !IconShown && (\n \n ***\n \n )\n }\n {\n IconShown && (\n \n {Cvv}\n \n )\n }\n\n
  • )\n :\n (currentUser?.user?.IsPhysicalCard && \n \n[\"EUR\",\"GBP\"].includes(currentUser?.user?.ClientCurrency) && (\n
  • \n\n {\n !IconShown && (\n \n ****\n \n )\n }\n {\n IconShown && (\n \n {Cvv}\n \n )\n }\n\n
  • )\n)\n }\n \n\n
\n {\n currentUser?.user?.PaymentProcessor===\"MSwipe\" && currentUser?.user?.IsPhysicalCard && (\n \n {\n (currentUser?.user?.IssuerName !==\"IssuerB4B\" &¤tUser?.user?.ClientCurrency ===\"USD\" ) &&(\n
\n setModalchangeshow(true)}\n >\n Change PIN\n \n
\n )\n }\n \n
\n \n \n )\n } \n {/*
\n setModalresetshow(true)}\n data-bs-toggle=\"modal\"\n >\n Reset PIN\n \n
*/}\n
\n {/*
\n

Help

\n

\n For further querires Admin will reach out via email if more details\n are required we will contact you.\n

\n
\n {\n document\n .getElementById(\"helpNavLink\")\n .classList.add(\"active\");\n document\n .getElementById(\"cardsNavLink\")\n .classList.remove(\"active\");\n }}>\n Submit Your Query \n \n \n
\n
*/}\n {props?.calledfrom===\"dashboard\" ?(<>):(<>) } \n
\n setModalchangeshow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n

Change PIN

\n
\n
\n
\n
\n
\n

Are you sure you want to change Card PIN?

\n
\n
\n
\n setModalchangeshow(false)}\n >\n No\n \n {\n showHideModalChange();\n setModalchangeshow(false);\n }}\n >\n Yes\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n setModalresetshow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n

Confirmation

\n
\n
\n
\n
\n
\n

Are you sure you want to reset Card PIN?

\n
\n
\n
\n setModalresetshow(false)}\n >\n No\n \n {\n showHideModalReset();\n setModalresetshow(false);\n }}\n >\n Yes\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n setModalrefillamountshow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n

Confirmation

\n
\n
\n
\n
\n
\n

Are you sure you want to top up from your pending balance?

\n
\n
\n
\n setModalrefillamountshow(false)}\n >\n No\n \n {\n refillMainWallet();\n setModalrefillamountshow(false);\n }}\n >\n Yes\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n setModaldeactivateshow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n

Confirmation

\n
\n
\n {setpermission !== \"false\" ? (
\n
\n
\n

Are you sure you want to deactivate your card?

\n
\n
\n
\n {\n setModaldeactivateshow(false);\n localStorage.setItem(\"activeInactiveSendmoney\", \"true\");\n setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n\n }\n }\n >\n No\n \n {\n suspendCard();\n setModaldeactivateshow(false);\n localStorage.setItem(\"activeInactiveSendmoney\", \"false\");\n setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n \n }}\n\n >\n\n Yes\n \n
\n
\n
\n
) : (\n
\n
\n
\n

Are you sure you want to deactivate your card?

\n
\n
\n
\n { setModaldeactivateshow(false); \n localStorage.setItem(\"activeInactiveSendmoney\", \"false\"); \n setpermission = localStorage.getItem(\"activeInactiveSendmoney\"); \n }}\n\n >\n No\n \n {\n suspendCard();\n setModaldeactivateshow(false);\n localStorage.setItem(\"activeInactiveSendmoney\", \"true\");\n setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n \n }}\n\n >\n\n Yes\n \n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n
,\n ]}\n />\n\n setModalchangepinshow(false)}\n calledfrom={calledfrom}\n tokenId={props.cardnumber}\n />\n\n setCnfrmModalShow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n {showTwoFA && (\n setCnfrmModalShow(false)}\n />\n )}\n ,\n ]}\n />\n {setDialougeModalShow(false); if(MdlIcon==\"icon-success\") props?.onHide();}}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n backdrop=\"static\"\n keyboard={false}\n hideallpopups={hideallpopups}\n />\n \n { setDialougeModalShowStatus(false); sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n

Confirmation

\n
\n
\n
\n
\n
\n

Card Suspended SuccessFully!

\n
\n
\n
\n \n {\n sessionStorage.removeItem(\"user\"); window.location.reload(); \n }}\n\n >\n\n OK\n \n
\n
\n
\n
\n\n
\n
\n
\n
\n
,\n ]}\n />\n
\n );\n};\n\nexport default CardHolderDetails;\n","import { Fragment, useState, useRef, useEffect } from \"react\";\nimport addImg from \"../../assets/images/icons/add.svg\";\nimport { Link } from \"react-router-dom\";\nimport P2PTransfer from \"./P2PTransfer\";\nimport transactionService from \"../../services/transaction.service\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport { useSelector } from \"react-redux\";\nimport KapedVirtualAssistant from \"./KapedVirtualAssistant\";\nimport CardHolderDetails from \"./CardHolderDetails\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nconst CHDSendMoney = (props) => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [FavouritesList, setFavouritesList] = useState([]);\n const [UserId, setUserId] = useState(String(currentUser.user.UserId));\n const [CardNumber, setCardNumber] = useState();\n const [refreshpage, setRefreshpage] = useState();\n const [ClientBalance, setClientBalance] = useState();\n const [creditBalance, setCreditBalance] = useState(\"\");\n const [pendingbalance, setpendingbalance] = useState(\"\");\n useEffect(() => {\n cardholdercardsObj.getCardNumber(UserId).then(\n (response) => {\n setCardNumber(response.data.payload.result.tokenId);\n },\n (error) => {\n }\n );\n \n }, [])\n useEffect(() => {\n if (currentUser?.user?.IsPhysicalCard) {\n cardholdercardsObj.getBalancePhysical(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload){\n setClientBalance(response.data.payload.result.item1.balance);\n setpendingbalance(response.data.payload.result.item1.pendingBalance);\n }\n },\n (error) => {\n \n }\n );\n }\n else {\n \n cardholdercardsObj.getSuperAdminBalance(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload)\n setClientBalance(response.data.payload.result.item1.balance);\n \n },\n (error) => {\n \n }\n );\n }\n }, [])\n useEffect(() => {\n cardholdercardsObj.creditLimitCalculation(UserId).then((resp)=>{\n setCreditBalance(resp?.data?.payload?.result?.totalLimit);\n }).catch((error)=>{\n\n });\n\n }, [])\n useEffect(() => {\n transactionService\n .getFavouritePayees(UserId)\n .then((response) => {\n if (response && response.data && response.data.payload) {\n const lst_favourites = response.data.payload.result.map((data) => {\n return {\n TokenId: data.tokenId,\n Name: data.name,\n Currency: data.currencyCode,\n };\n });\n setFavouritesList(lst_favourites);\n }\n })\n .catch((error) => {\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n window.location.reload();\n }\n })();\n });\n }, []);\n const addToSendMoney = (e) => {\n let value = e.currentTarget.children[1].innerText;\n setCardNumber(value);\n if (refreshpage)\n setRefreshpage(false);\n else\n setRefreshpage(true);\n }\n const divStyle = ()=>{\n if(FavouritesList?.length>0)\n {return{\n height:\"150px\",\n overflow:\"auto\"}}\n else return {\n height:\"0px\",\n }\n};\nreturn (\n
\n
\n \n \n {\n props?.isPermission &&(\n <>\n \n
\n
\n {/*

Send Money

*/}\n
\n
\n
\n {/* \n View all \n {/* \"ar\" */}\n {/* */}\n
\n
\n
\n\n
\n
\n

Send Money to Favourites

\n
\n
\n {/* \n \n \n \n */}\n
\n
\n
    \n {FavouritesList.map((FavouritesList) => {\n return (\n
  • \n
    \n {FavouritesList.Name.charAt(0)}\n {FavouritesList.Name}\n
    \n {FavouritesList.TokenId}\n
  • \n );\n })}\n
\n
\n {refreshpage && }\n {!refreshpage && }\n \n )\n }\n \n \n
\n \n\n\n
\n);\n};\n\nexport default CHDSendMoney;\n","const HideTransaction=[\n // \"972D897F-1167-410F-97EA-F04A12321209\",\n // \"D5E14A63-2929-4549-8BB0-F7B906CB679D\",\n // \"7C47689B-1167-4BB3-B737-8120D1260126\",\n // \"7C47689B-1167-4BB3-B737-8120D1260127\",\n // \"94778BD6-BD30-40D4-A14D-1D799A1E3A63\",\n // \"DDFE2DA5-4FD8-401C-A70D-482AEEA58EB4\",\n // \"72FB45A5-5EE9-4A14-B858-C1055AF6BAA6\",//3146456\n // \"44B48820-4219-4139-8241-623974CF0A70\",//3146456\n // \"3C0DFF44-6E2F-4BC3-B8C1-265F7ECE4215\",//3172286\n // \"F706ABAC-93B6-4F75-929A-32FFB1F8877A\",//3172286\n // \"D15C4F8A-6A3E-4463-A89C-AB307DC6B682\",//3172286\n // \"F6D775C3-0FF3-4981-BFEC-441AE9E4289E\",//3172286\n // \"CD0976C9-1E62-4958-9A9D-4160D6FA9AC7\",//3295518\n // \"C5C11DF0-69E6-4D22-9873-0560B8492945\",//3295518\n // \"AB18A7A8-097E-4004-A917-D07D2041FA40\",//3295518\n // \"13D4979D-C301-48C4-98B6-009374DD2660\",//3295518\n // \"8BB78756-3F12-4254-B9FF-70A5CB1CAE24\",//3295518\n // \"3595B0AD-8A24-4712-BA10-2A0BBEE0DBA0\",//3295518\n // \"F511D610-A084-4DC2-98D4-5193E5CBC425\",//2155714\n // \"6E51C769-3787-4A6B-A69C-7C8973DFBD98\",//2155714\n // \"BF8E7E6D-3B91-403B-94FB-BF7E3C379A7C\",//2155714\n // \"3953996B-ABA3-44D8-8057-AD15F430E5B4\",//2155714\n // \"7C47689B-1167-4BB3-B737-8120D1260134\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260135\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260137\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260128\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260151\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260148\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260149\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260146\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260150\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260147\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260142\",//4444316\n // \"7C47689B-1171-4BB3-B737-8120D1259127\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259126\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259138\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259137\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259136\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259132\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259131\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259128\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259126\",//4426828\n // // \"7C47689B-1249-4BB3-B737-8120D1274137\",//5496136\n // // \"7C47689B-1249-4BB3-B737-8120D1274133\",//5496136\n // // \"7C47689B-1249-4BB3-B737-8120D1274129\",//5496136\n // // \"7C47689B-1249-4BB3-B737-8120D1274127\",//5496136\n // \"12935800330\",//6145560\n // \"12936992833\",//6145560\n // \"12928833190\",//3944035\n // \"12928713251\",//3944035\n // \"12936992104\",//3973939\n // \"12928830415\",//3973939\n // \"7C47689B-2464-4BB3-B737-8120D1504130\",//5477323\n // \"7C47689B-2464-4BB3-B737-8120D1504131\",//5477323\n // \"7C47689B-1171-4BB3-B737-8120D1259132\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259131\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259130\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259127\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259128\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259126\",//4426828\n // \"7C47689B-2464-4BB3-B737-8120D1504131\",//5477323\n // \"7C47689B-2464-4BB3-B737-8120D1504132\",//5477323\n // // \"7C47689B-1249-4BB3-B737-8120D1274132\",//5496136\n // // \"7C47689B-1249-4BB3-B737-8120D1274126\",//5496136\n // \"7C47689B-1171-4BB3-B737-8120D1259127\",//4426828\n // \"7C47689B-1171-4BB3-B737-8120D1259126\",//4426828\n // \"7C47689B-1167-4BB3-B737-8120D1260135\",//4444316\n // \"7C47689B-1167-4BB3-B737-8120D1260134\",//4444316\n // \"7C47689B-1918-4BB3-B737-8120D1468127\",//5462737\n // \"7C47689B-1918-4BB3-B737-8120D1468128\",//5462737\n // \"7C47689B-2402-4BB3-B737-8120D1472127\",//5478338\n // \"7C47689B-2402-4BB3-B737-8120D1472128\",//5478338\n // \"7C47689B-1921-4BB3-B737-8120D1394129\",//5427507\n // \"7C47689B-1921-4BB3-B737-8120D1394130\",//5427507\n // \"7C47689B-1326-4BB3-B737-8120D1340141\",//5443332\n // \"7C47689B-1326-4BB3-B737-8120D1340142\",//5443332\n // \"2d00575f-b6de-4cd1-b317-a35d9f68e40a\",//8130754\n // \"e3ae3048-0103-4a0e-bca1-20e3321a6e48\",//8118520\n // \"71584bf1-b861-4a72-9519-7ba0682f34c0\",//8116700\n // \"dc522ad5-506f-4c9d-8860-047a90f9f37c\",//8116700\n // \"1c4ea9f7-fffd-4d99-b24b-734615457302\",//8119957\n // \"9eef1abe-36e3-4315-9bcd-37cb4b5a725a\",//8119957\n // \"a58ebf75-88f6-4d50-918d-17584169bfc4\",//8119957\n // \"2e5ec72c-d042-4b86-95fd-ff872c5e5b49\",//8197888\n // \"1d3416dd-c3ba-4772-836d-ab75faa641d1\",//8197888\n // \"eed2ad97-deb0-49f2-a4fd-b94f42c52e4e\",//8147870\n // \"4c8bee2e-8a61-4b1d-848b-90dd0c0e8be8\",//8147870\n // \"13247106273\",//6224356\n // \"13238609059\",//6224356\n // \"187d4feb-d04d-479e-89cd-fc2280b616ce\",//8112855\n // \"67c4d511-ebd6-4faa-bdf3-561361d09f9e\",//8123435\n // \"e2e74bcc-ded4-4a41-acb8-5d08a5e5e45f\",//8193579\n // \"e2e74bcc-ded4-4a41-acb8-5d08a5e5e45f\",//8193579\n // \"7860cde3-cd1d-4c65-b6b2-0d1ba885fc8a\",//8193579\n // \"36913afd-c36c-4edb-8a98-4b4bff604c18\",//8193579\n // \"2cf20679-ebde-4671-8aab-9d0826ea05e3\",//8114415\n // \"14d6bd52-9363-47f7-a940-ff9109f027d4\",//8114415\n // \"1bede2f6-1f64-4807-9473-bca6d9b18d73\",//8184695\n // \"862ca200-bc8c-422e-8600-12779debf97c\",//8184695 \n // \"f9381733-fcb5-4997-8b2e-55e428d3e2ba\",//8161622\n // \"b8f1168f-ba15-42f3-95ba-16e2145648c5\",//8161622\n // \"082e66b6-23b2-4c62-893d-63062c444d88\",//8153501\n // \"da1f4c62-9926-4619-9082-478ab98daf8e\",//8153501\n // \"378c7759-1951-4b51-b7a2-9ab0f01fb5f0\",//8180671\n // \"39a235f4-408b-4fa2-9222-d1836ccc42ec\",//8180671\n // \"39a235f4-408b-4fa2-9222-d1836ccc42ec\",//8180671\n // \"941ffb68-4855-4afb-a916-45843ea1d657\",//8195496\n // \"0b7f340f-5e20-4d45-a07a-7d2c536edd72\",//8195496\n // \"fb216bec-f059-40aa-9343-9253f29a503c\",//8192799\n // \"d6b8a6c9-00d1-4618-9ee1-ea5edff2812e\",//8192799\n // \"2f5848b1-6942-4f04-9585-d7c76a5bfef7\",//8141098\n // \"25977eb7-cee7-4e13-8153-a9fb3d4f65ee\",//8141098\n // \"e1fe1a04-0dfb-4d83-b817-3c0746759211\",//8193579\n // \"4071dab9-25ed-47d0-a420-df0c4a184361\",//8193579\n // \"41c13cf3-113a-4621-99fd-35d9892aa3fc\",//8196553\n // \"785a4451-e24a-4731-b1e9-bae8cca650ea\",//8196553\n // \"14c2f2f3-52c9-4bef-9e35-73d4dd8fd6e4\",//8148251\n // \"6d22df3b-190f-4784-8ea8-68ace36c1708\",//8148251 \n // \"e1fe1a04-0dfb-4d83-b817-3c0746759211\",//8193579\n // \"4071dab9-25ed-47d0-a420-df0c4a184361\",//8193579\n // \"5b0c0c98-36d1-4faf-adb5-e29228fba599\",//8193579\n // \"da8432a7-ec41-4ef8-82bf-8f966bbea18f\",//8193579\n // \"6b0aaa7f-9c8b-458a-bff2-3133de61a7cc\",//8198609\n // \"498a5480-1d55-4206-9c99-5949b1bbc261\",//8198609\n // \"13450914850\", //6224042\n // \"13451598435\", //6224042\n // \"13450709037\", //6233791\n // \"13451597353\", //6233791\n // \"0be359a8-1f9a-41c3-9bdb-f32f7d4d2f4b\", //8148251\n // \"89a60021-5a45-4fae-b7c7-98017b8fc19e\", //8148251\n // \"7C47689B-2702-4BB3-B737-8120D2093131\", //5438451\n // \"b0e3ffc8-d842-4b67-9ef2-e323583be49e\", //8193579\n // \"bc567acc-bbfa-449d-89a4-6570464565bb\", //8193579\n // \"92ab3f9d-5108-4589-9714-51c56d5bd70b\", //8193579\n // \"92ab3f9d-5108-4589-9714-51c56d5bd70b\", //8193579\n // \"92ab3f9d-5108-4589-9714-51c56d5bd70b\", //8193579\n // \"da8432a7-ec41-4ef8-82bf-8f966bbea18f\", //8193579\n // \"5b0c0c98-36d1-4faf-adb5-e29228fba599\", //8193579\n // \"4071dab9-25ed-47d0-a420-df0c4a184361\", //8193579\n // \"e1fe1a04-0dfb-4d83-b817-3c0746759211\", //8193579\n // \"6715654e-6c9a-46a5-9fff-8669de850b13\", //8167279\n // \"c9506446-98b3-4a94-ad01-ece61362d9dd\", //8143164\n // \"a9e2bba6-d94f-423f-80ae-1bc876a107b7\", //8193893\n // \"a33c6e01-67fd-46b9-911c-b031034e3ef6\", //8193893\n // \"3be4b30d-cea6-4d3c-864e-69ff3d3127d7\", //8148251\n // \"fbb916cc-9b5a-4f4e-8063-369c447c016c\", //8148251\n // \"70cea52d-5cc6-4d3f-b342-8f45ee9ae212\", //8167842\n // \"6476ad40-b035-4bd1-818b-77fdb654a5a6\",//8167842\n // \"1eab86ce-1e99-4482-9580-e7e2325d4fb4\",//8195496\n // \"3b13978d-55f1-4444-acb0-8f704294ad7b\",//8195496\n // \"b774e9df-763a-4b18-8632-9dadae011431\", //8196553\n // \"a729b4da-3c1e-4cd9-97f3-fe451aafbd3c\", //8196553\n // \"421ea7c7-ba96-4d45-8ce7-b8edc97af1c1\", //8196553\n // \"9f6f2841-ba55-4aeb-9368-f26e2e5049c0\", //8196553\n // \"1bf25e09-815e-42b0-b762-6526df7da589\", //8196553\n // \"f695faf1-f36f-45c3-b163-c2e7a6ef641d\", //8196553\n // \"66e6f2d0-4e60-4464-97ad-b5629ac1faa8\", //8196553\n // \"2f6e698c-5aad-4b2d-8c48-eee0a43d3e43\", //8196553\n // \"1a4cce2d-b163-4628-8e3c-946377faf7ad\", //8197986\n // \"8d760c78-2411-4943-8541-2f10c310f78a\", //8197986\n // //Old transactions added 26-oct-2023\n // \"0AC2BCDD-5781-4164-8964-277EDDF0D38C\",\n // \"6CCF1336-77CC-4FE6-A0EA-BD862856FB7B\",\n // \"02D0689C-845A-4D69-BA42-FF8DDFC459CD\",\n // \"EC9DAF9D-5DF4-47C3-A10E-52CC9343363A\",\n // \"98BF5107-64B3-4C3E-8377-D6526FC958C4\",\n // \"8FB740E8-9301-4ABB-921D-C2C61CB0C15D\",\n // \"A20469F0-92D7-4AA0-9809-3CB02A29697F\",\n // \"76C13EA7-D7CC-4214-9832-6107AE5D19C2\",\n // \"C8D28585-4E6F-44C7-A294-9683861E20FE\",\n // \"3F1D8254-016D-4E19-A871-E74E6FEB9846\",\n // // New Transactions starts 30-10-2023\n \n // \"13442885430\", //6240907\n // \"13552165239\", //6240907\n // \"13555996796\", //6240907\n // \"13552168529\", //6233791\n // \"13556001169\", //6233791\n // \"13556001169\", //6233791\n // \"13546450828\", //6279235\n // \"13556618533\", //6279235\n // \"13556622935\", //6224042\n // \"13552174111\", //6224042\n \"0212585040720142068\",//1050144005\n \"0212585051844921815\",//1050144005\n \"0212585040568901374\",//1051374\n \"0212585051804061217\",//1051374\n \"0212585040795938408\",//1056691\n \"0212585051582879215\",//1056691\n\n \n]\n\nexport default HideTransaction;","import React, { useState, useRef, Fragment, useEffect } from \"react\";\nimport { history } from \"../../helpers/history\";\nimport validator from \"validator\";\nimport DateFormat from \"../../helpers/DateFormat\";\nimport crossImgs from \"../../assets/images/icons/cross.svg\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport ReactDatePickerHelper from \"../../helpers/ReactDatePickerHelper\";\nimport emptyclient from \"../../assets/images/icons/clients-empty.svg\";\nimport transactionService from \"../../services/transaction.service\";\nimport { useSelector } from \"react-redux\";\nimport moment from \"moment\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport ExportToExcel from \"../../helpers/ExportToExcel\";\nimport CurrencyFormat from 'react-currency-format';\nimport HideTransaction from \"../../helpers/HideTransactions\";\n\nconst SearchGridInputData = [\n {\n Name: \"\",\n UserId: \"\",\n StartDate: \"\",\n EndDate: \"\",\n PageNumber: 0,\n // Size:10,\n scrolled: false,\n isFirstTime: true,\n },\n];\nvar fontStyle = {\n textTransform: \"uppercase\",\n};\nvar centreAlign = {\n textAlign: \"center\",\n};\nconst B4BTransactionHeaders=[\n \"DATE\",\n \"MERCHANT NAME\",\n \"AMOUNT\",\n \"TRANSACTION TYPE\",\n \"VIEW\",\n ]\n\nconst SearchGridCardTransactions = props => {\n const [modalShow, setModalShow] = useState(false);\n const [name, setCompanyName] = useState(\"\");\n const [StartDate, setDateFrom] = useState(\"\");\n const [EndDate, setDateTo] = useState(\"\");\n const searchTbl = useRef();\n const [loadingData, setLoadingData] = useState(false);\n const [searchData, setSearchData] = useState();\n const [searchGridSuccess, setSearchGridSuccess] = useState(false);\n const [SearchInputDisabled, setSearchDisabled] = useState(false);\n const { user: currentUser } = useSelector(state => state.auth);\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n const [totalCount, setTotalCount] = useState(0);\n //Transaction Models Showing Values\n const [TransactionsType, setTransactionsType] = useState(\"\");\n const [Status, setStatus] = useState(\"\");\n const [CurrencyCode, setCurrencyCode] = useState(\"\");\n const [Amount, setAmount] = useState(\"\");\n const [date, setDate] = useState(\"\");\n const [ReferenceNumber, setReferenceNumber] = useState(\"\");\n const [MerchantName, setMerchantName] = useState(\"\");\n const [clientCurrency, setClientCurrency] = useState(\"\");\n const [Description, setDescription] = useState(\"\");\n //Model popup Transactions\n const [modalShowTransactions, setModalShowTransactions] = useState(false);\n const [Month, setMonth] = useState(0);\n const [Year, setYear] = useState(0);\n //Export To Excel\n const [dataset, setDataset] = useState();\n const styleObj = {\n fontSize: 10,\n };\n useEffect(() => {\n SearchClickHandler(null, true);\n checkClientCurrency();\n\n }, []);\n const handleInputSearchClick = e => {\n e.preventDefault();\n setModalShow(true);\n setSearchDisabled(true);\n setCompanyName(\"\");\n dateToHandler(\"\");\n dateFromHandler(\"\");\n };\n const dateFromHandler = e => {\n SearchGridInputData[0].StartDate = e;\n if (e) {\n let date = SearchGridInputData[0].StartDate;\n if (SearchGridInputData[0].StartDate !== \"\") {\n SearchGridInputData[0].StartDate = moment(\n SearchGridInputData[0].StartDate\n ).format(\"YYYY-MM-DD\");\n setDateFrom(date);\n } else {\n setDateFrom(date);\n }\n }\n };\n const dateToHandler = e => {\n SearchGridInputData[0].EndDate = e;\n if (e) {\n let date = SearchGridInputData[0].EndDate;\n if (SearchGridInputData[0].EndDate !== \"\") {\n SearchGridInputData[0].EndDate = moment(\n SearchGridInputData[0].EndDate\n ).format(\"YYYY-MM-DD\");\n setDateTo(date);\n } else {\n setDateTo(date);\n }\n }\n };\n const onChangeMonth = (e) => {\n const name = e.target.selectedOptions[0].value;\n setMonth(parseInt(name));\n }\n\n const onChangeYear = (e) => {\n const name = e.target.selectedOptions[0].value;\n setYear(parseInt(name));\n }\n const SearchClickHandler = (e, isFromUseEffect) => {\n setLoadingData(true);\n if (!SearchGridInputData[0].scrolled) {\n setSearchGridSuccess(false);\n }\n if (isFromUseEffect) {\n SearchGridInputData[0].PageNumber = 0;\n setSearchData(\"\");\n //setModalShow(true);\n }\n else\n setModalShow(false);\n setSearchDisabled(false);\n transactionService\n .searhGridTransactionsCards(\n UserId,\n SearchGridInputData[0].StartDate,\n SearchGridInputData[0].EndDate,\n SearchGridInputData[0].PageNumber\n //SearchGridInputData[0].Size,\n )\n .then(resp => {\n setLoadingData(false);\n if (resp && resp.data && resp.data.payload) {\n if (resp.data.success) {\n // if(isFromUseEffect)\n // setModalShow(true);\n // else\n setModalShow(false);\n setSearchDisabled(false);\n setTotalCount(resp.data.payload.result.item1.length);\n }\n if (\n resp.data.payload.result.item1.content.length > 0 ||\n searchData.length > 0\n ) {\n setTotalCount(resp.data.payload.result.item1.length);\n if (SearchGridInputData[0].scrolled) {\n let appendedData = searchData.concat(\n resp.data.payload.result.item1.content\n );\n setSearchData(appendedData);\n setDataset(appendedData);\n } else {\n let reversearray = resp.data.payload.result.item1.content;\n let filtereddata = reversearray.reverse()\n let filteredData = filterTransactions(filtereddata);\n if (currentUser?.user?.IssuerName === \"IssuerG\" ||currentUser?.user?.IssuerName === \"IssuerTG\"\n ||currentUser?.user?.IssuerName === \"IssuerTGV\" ||currentUser?.user?.IssuerName === \"IssuerZ\"\n )\n sortDateTransaction(filteredData);\n else\n setSearchData(filteredData);\n\n setDataset(reversearray);\n }\n setSearchGridSuccess(true);\n\n SearchGridInputData[0].scrolled = false;\n // if (SearchGridInputData[0].isFirstTime) {\n searchTbl.current.onscroll = tblScrollHandler;\n SearchGridInputData[0].isFirstTime = false;\n // }\n }\n }\n })\n .catch(error => {\n setSearchGridSuccess(false);\n setLoadingData(false);\n setTotalCount(0);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n SearchClickHandler();\n }\n })();\n });\n };\n const tblScrollHandler = e => {\n if (\n !SearchGridInputData[0].scrolled &&\n SearchGridInputData[0].PageNumber + 1 <= totalCount - 1\n ) {\n SearchGridInputData[0].scrolled = true;\n SearchGridInputData[0].PageNumber = SearchGridInputData[0].PageNumber + 1;\n SearchClickHandler();\n }\n };\n const renderTableHeader = () => {\n let header;\n if( currentUser?.user?.IssuerName === \"IssuerB4B\" && currentUser?.user?.ClientCurrency===\"USD\" && currentUser?.user?.IsPhysicalCard)\n {\n header=B4BTransactionHeaders;\n }\n else\n header = Object.values(props.headersdata);\n return header.map((key, index) => {\n // if (key === \"DATE\")\n // return (\n // \n // {key}\n // \n // );\n // else\n \n // if (currentUser?.user?.IssuerName === \"IssuerG\" && key == \"STATUS\")\n // return\n if (currentUser?.user?.IssuerName === \"IssuerG\" && key == \"MERCHANT NAME\")\n return {\"TXN DESCRIPTION\".toUpperCase()};\n else\n return {key.toUpperCase()};\n });\n };\n const GetCardTransactionsspecificmonth = (e, isFromUseEffect) => {\n setLoadingData(true);\n if (!SearchGridInputData[0].scrolled) {\n setSearchGridSuccess(false);\n }\n if (isFromUseEffect) {\n SearchGridInputData[0].PageNumber = 0;\n setSearchData(\"\");\n }\n setModalShow(false);\n setSearchDisabled(false);\n transactionService\n .GetCardTransactionsspecificmonth(\n UserId,\n Month,\n Year\n )\n .then((resp) => {\n setLoadingData(false);\n if (resp && resp.data && resp.data.payload) {\n if (resp.data.success) {\n setModalShow(false);\n setSearchDisabled(false);\n setTotalCount(resp.data.payload.result.item1.totalElements);\n }\n if (\n resp.data.payload.result.item1.content.length > 0 ||\n searchData.length > 0\n ) {\n setTotalCount(resp.data.payload.result.item1.totalElements);\n if (SearchGridInputData[0].scrolled) {\n let appendedData = searchData.concat(\n resp.data.payload.result.item1.content\n );\n setSearchData(appendedData);\n } else {\n let reversearray = resp.data.payload.result.item1.content;\n let filtereddata = reversearray.reverse()\n let filteredData = filterTransactions(filtereddata);\n if (currentUser?.user?.IssuerName === \"IssuerG\")\n sortDateTransaction(filteredData);\n else\n setSearchData(filteredData);\n SearchGridInputData[0].PageNumber = 0;\n //props?.setDataset(reversearray);\n }\n setSearchGridSuccess(true);\n\n SearchGridInputData[0].scrolled = false;\n // if (SearchGridInputData[0].isFirstTime) {\n searchTbl.current.onscroll = tblScrollHandler;\n SearchGridInputData[0].isFirstTime = false;\n // }\n }\n }\n })\n .catch((error) => {\n setSearchGridSuccess(false);\n setLoadingData(false);\n setTotalCount(0);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n GetCardTransactionsspecificmonth();\n }\n })();\n });\n };\n const showTransactionsPopup = (\n transactionType,\n merchantName,\n status,\n authAmount,\n authCurrencyCode,\n dateOfTransaction,\n retrievalReferenceNumber,\n description,\n transactionResponse\n ) => {\n setModalShowTransactions(true);\n setTransactionsType(transactionType);\n setStatus(status);\n setCurrencyCode(authCurrencyCode);\n let amount = calculateB4BFee(transactionResponse, authAmount);\n setAmount(amount);\n setDate(dateOfTransaction);\n setReferenceNumber(retrievalReferenceNumber);\n setMerchantName(merchantName);\n setDescription(description)\n\n };\n const checkClientCurrency = () => {\n if (currentUser?.user?.ClientCurrency === \"USD\")\n setClientCurrency(\"USD\")\n else if (currentUser?.user?.ClientCurrency === \"EUR\")\n setClientCurrency(\"EUR\")\n else if (currentUser?.user?.ClientCurrency === \"GBP\")\n setClientCurrency(\"GBP\")\n else if (currentUser?.user?.ClientCurrency === \"CAD\")\n setClientCurrency(\"CAD\")\n else\n setClientCurrency(\"\")\n }\n const sanitizeDate = (dateStr) => {\n return dateStr?.startsWith(\"0001-01-01\") ? true : false;\n };\n const renderTableData = () => {\n return searchData.map((data, index) => {\n const {\n transactionType,\n merchantName,\n status,\n authCurrencyCode,\n authAmount,\n dateOfTransaction,\n retrievalReferenceNumber,\n transactionUuid,\n description, localDescription, transactionResponse,transactionId\n\n } = data; //destructuring\n if (transactionType?.toUpperCase() === \"AUTHORIZATION_ADVICE\" || transactionType?.toUpperCase() === \"PIN_QUERY\" || transactionType?.toUpperCase() === \"PIN_CHANGE\")\n return;\n\n if (removeTransactionsBilly(transactionId) === true) {\n return\n }\n if ([102,108].includes(currentUser?.user?.ClientId) && [\"AUTHORIZATION FEE\", \"ATM FEE\", \"FX FEE\", \"POS FEE\"].includes(merchantName?.toUpperCase()))\n return;\n return (\n \n {\n sanitizeDate(dateOfTransaction) ?(\n \n \n \n ):(\n \n \n \n )\n} \n {\n merchantName === null ? (\n {transactionType?.substr(0, 10)}{transactionType?.length > 10 && (\"...\")}\n\n ) :\n {merchantName?.substr(0, 20)}{merchantName?.length > 20 && (\"...\")}\n }\n {( currentUser?.user?.IssuerName !== \"IssuerB4B\")&& ({transactionType==\"refund\"? transactionType:status})}\n \n {currentUser?.user?.IssuerName === \"IssuerB4B\" ? (<>\n {\n authAmount < 0 ? () : (\n {authCurrencyCode}\n )\n \n }\n \n \n ) : (<>\n\n {\n authAmount < 0 ? () : (\n {authCurrencyCode}\n )\n }\n )}\n {\n currentUser?.user?.IssuerName === \"IssuerB4B\" && currentUser?.user?.ClientCurrency===\"USD\" && currentUser?.user?.IsPhysicalCard &&(\n <>\n {\n status.toUpperCase() === \"DECLINED\"\n ? (<>{status})\n : (\n \n {transactionType.toUpperCase() === \"CARD_LOAD\" ? \"TOP UP\" :\n transactionType.toUpperCase() === \"BALANCE_ADJUSTMENT\" ? \"DEBIT\" :\n transactionType?.substr(0, 13)}\n {transactionType.toUpperCase() !== \"CARD_LOAD\" && transactionType.toUpperCase() !== \"BALANCE_ADJUSTMENT\" && transactionType?.length > 13 && (\"...\")}\n \n )\n}\n \n )\n }\n \n \n \n showTransactionsPopup(\n transactionType,\n merchantName,\n status,\n authAmount,\n authCurrencyCode,\n dateOfTransaction,\n retrievalReferenceNumber,\n description,\n transactionResponse\n )\n }\n >\n \n \n );\n });\n };\n\n const HideSearchPopupDiv = () => {\n setModalShow(false);\n setSearchDisabled(false);\n setCompanyName(\"\");\n };\n\n const ClearSearchData = () => {\n if (currentUser?.user?.IssuerName === \"IssuerG\") {\n setDateFrom(\"\");\n setDateTo(\"\");\n if (document.getElementById(\"MonthIssuerG\") !== null)\n document.getElementById(\"MonthIssuerG\").value = 0;\n if (document.getElementById(\"YearIssuerG\") !== null)\n document.getElementById(\"YearIssuerG\").value = 0;\n setMonth(0);\n setYear(0);\n SearchClickHandler();\n }\n else {\n setCompanyName(\"\");\n dateToHandler(\"\");\n dateFromHandler(\"\");\n setDateFrom(\"\");\n setDateTo(\"\");\n ClearInputData();\n }\n\n };\n\n const ClearInputData = () => {\n if (document.getElementById(\"clientNameDD\") !== null)\n document.getElementById(\"clientNameDD\").value = \"\";\n setTimeout(() => {\n [...document.getElementsByClassName(\"r-input-group\")].forEach(element => {\n element.children[0].value = \"\";\n });\n document.getElementById(\"searchBtnClients\").click();\n }, 500);\n };\n\n const removeTransactionsBilly = (transaction) => {\n\n const check = HideTransaction?.includes(transaction)\n return check;\n\n }\n\n const renderTransactionDetails = () => {\n return (\n
\n
\n

Transaction Details

\n
\n
e.preventDefault()}>\n
    \n
  • \n \n \n
  • \n \n
  • \n \n {MerchantName === null ? TransactionsType : MerchantName}\n
  • \n
  • \n \n {Status}\n
  • \n \n
  • \n \n \n  {Amount}\n \n
  • \n {\n currentUser?.user?.IssuerName === \"IssuerB4B\" && currentUser?.user?.ClientCurrency===\"USD\" && currentUser?.user?.IsPhysicalCard &&(\n
  • \n \n {TransactionsType}\n
  • \n )\n }\n
  • \n \n {ReferenceNumber}\n
  • \n {/* {\n currentUser?.user?.IssuerName !== \"IssuerG\" &&\n (\n
  • \n \n {Description}\n
  • \n )\n } */}\n
\n
\n
\n
\n
\n );\n };\n\n const sortDateTransaction = (obj) => {\n let reArr = obj;\n reArr.sort((a, b) => {\n const dateA = new Date(a?.dateOfTransaction);\n const dateB = new Date(b?.dateOfTransaction);\n\n if (dateA < dateB) {\n return 1;\n } else if (dateA > dateB) {\n return -1;\n } else {\n return 0;\n }\n })\n setSearchData(reArr);\n }\n const filterTransactions = (transactions) => {\n // Define the criteria for removal\n const excludedMerchantNames = [\"Authorization Fee\", \"FX Fee\", \"POS Fee\"];\n const clientIdToExclude = [102, 108];\n \n // Check if ClientId is in the exclusion list\n if (clientIdToExclude.includes(currentUser?.user?.ClientId)) {\n return transactions.filter(\n (transaction) =>\n !excludedMerchantNames.includes(transaction.merchantName)\n );\n }\n \n // If ClientId is not excluded, return the original transactions\n return transactions;\n };\n const calculateB4BFee = (transactionResponse, authAmount) => {\n let fee = transactionResponse?.split(\",\")\n if (currentUser?.user?.IssuerName === \"IssuerB4B\") {\n if(fee?.length>3){\n let len=fee?.length;\n let val;\n if(len ===3)\n val=(Number(fee[0])+Number(fee[1])+Number(fee[2]));\n if(len ===4)\n val=(Number(fee[0])+Number(fee[1])+Number(fee[2])+Number(fee[3]));\n if(len ===5)\n val=(Number(fee[0])+Number(fee[1])+Number(fee[2])+Number(fee[3])+Number(fee[4]));\n return val.toFixed(2);\n }\n else return authAmount\n }\n\n }\n return (\n \n
\n
\n

Overall Transactions

\n
\n
\n \n
\n
\n
\n
\n \n {/* no client found */}\n
\n
\n \n \n \n \n \n \n \n \n

Empty Clients Listing

\n
There is no Client(s) available for now.
\n
\n
\n \n
e.preventDefault()}>\n
\n
\n
\n
\n \n \n {/* search box */}\n \n
\n
\n \n
\n {\n currentUser?.user?.IssuerName === \"IssuerG\" ? (
\n
\n \n
\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n\n \n
\n
\n
) : (
\n
\n \n
\n \n
\n
\n
)\n }\n {currentUser?.user?.IssuerName === \"IssuerG\" ? (
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n
\n
\n
) : (
\n
\n \n
\n \n
\n
\n
)}\n\n\n
\n
\n {currentUser?.user?.IssuerName === \"IssuerG\" ? (\n Search\n ) : (\n Search\n )}\n\n \n Clear Search\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n
\n\n {searchGridSuccess && (\n
\n \n \n {renderTableHeader()}\n \n {renderTableData()}\n \n
\n )}\n {loadingData ? (\n
\n
\n
\n
\n

loading data

\n
\n ) : totalCount === 0 ? (\n
\n
\n \n \n \n \n \n \n \n \n

Empty Transactions Listing

\n
There are no Transactions available for now.
\n
\n
\n ) : (\n \"\"\n )}\n \n \n
\n setModalShowTransactions(false)}\n modelheading={\"\"}\n modelbody={renderTransactionDetails()}\n showheader={\"false\"}\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-52\"\n className=\"smallPopup issueCardSmall\"\n backdrop=\"static\"\n keyboard={false}\n />\n
\n
\n );\n\n};\n\nexport default SearchGridCardTransactions;\n","import { Fragment } from \"react\";\nimport CardDetails from \"./CardDetails\";\nimport CardLimit from \"./CardLimits\";\n// import viewAllImg from \"../../assets/images/icons/arrow-right.svg\";\nimport { Env } from \"../../enviroment/environment\";\nimport CHDSendMoney from \"./CHDSendMoney\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport SearchGridCardTransactions from \"./SearchGridCardTransactions\";\nimport KapedVirtualAssistant from \"./KapedVirtualAssistant\";\nimport {useSelector } from \"react-redux\";\nconst API_URL = Env.CardsApiUrl;\n\nconst CHDashBoard = (props) => {\n const { height, width } = useWindowDimensions();\n const { user: currentUser } = useSelector(state => state.auth);\n var setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n\n return (\n \n
\n

\n Your Cards1\n

\n
\n {(currentUser?.user?.ClientId ===35) ?(
\n \n
):(
\n \n
)}\n \n \n
\n\n {/* for mobile */}\n
\n {props?.clientsid!=35 && (\n\n{setpermission!==\"true\" && (width <= 991 && <> \n\n\n)} \n\n )} \n \n
\n\n \n
\n \n {\n props?.clientid!==35 ? (\n \n {setpermission!==\"true\" && (width > 991 && \n )} \n\n \n ): \n (props?.clientid===35) ?(\n
\n
\n \n
\n {/* */}\n
\n
\n \n \n
\n
\n \n ):(\"\")\n\n }\n \n \n \n \n\n
\n );\n};\n\nexport default CHDashBoard;\n","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\nimport authHeader from \"./auth-header\";\n\nconst API_URL = Env.UserApiUrl; //\"http://localhost:8000/api/users/\";\nconst API_URL_Upload = Env.UploadDocuments; //\"http://localhost:8000/api/Upload/\";\nconst API_URL_Cardholders = Env.CardHolderApiUrl; //\"http://localhost:8000/api/Upload/\";\nconst API_URL_BANKACCOUNT = Env.BankAccountApiUrl; //\"http://localhost:8000/api/Upload/\";\n\nconst identityverification = (IssuingCountry, IDType, AddressProof, FilePathIdType, FilePathAddressProof,\n UserId) => {\n return axios\n .post(API_URL + \"identityVerification\", {\n IssuingCountry, IDType, AddressProof, FilePathIdType, FilePathAddressProof,\n UserId\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst updateCardHolderIdentityDocuments = (IssuingCountry, IDType, AddressProof, FilePathIdType, FilePathAddressProof, UserId,\n ClientId) => {\n return axios\n .post(API_URL + \"updateuseridentities\", {\n IssuingCountry,\n IDType, AddressProof,\n FilePathIdType,\n FilePathAddressProof,\n UserId,\n ClientId\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst getIdTypeEnums = () => {\n return axios\n .get(API_URL + \"getAllIdTypes\", {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst getProofofAddressEnums = () => {\n return axios\n .get(API_URL + \"getAllIdentityProof\", {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst uploaduserdocs = (formData, options) => {\n return axios\n .post(API_URL_Upload + \"uploaduserdocs\",\n formData, options, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst getuseridentities = (userId) => {\n return axios\n .get(API_URL + \"getuseridentities?userId=\" + userId, { headers: authHeader() })\n .then((res) => {\n return res;\n });\n};\n//986b2e1f-886a-4e3b-a0b4-2d27d72eb3e4 getadmindetail\nconst IssuerGKyc = (IdNumber,\n IdType,\n IdDocLang,\n AddressType,\n AddressDocLang,\n //ID Type\n IdFrontPic,\n IdBackPic,\n //Address Front Back\n AddressFrontPic,\n AddressBackPic,\n UserId,\n IdFrontPicBase64,\n IdBackPicBase64,\n AddressFrontPicBase64,\n AddressBackPicBase64,\n StateId,\n idIssuedBy,\n idIssueDate,\n idExpDate,\n AddressIssuedBy,\n AddressIssueDate\n) => {\n return axios\n .post(API_URL + \"issuergkyc\", {\n IdNumber,\n IdType,\n IdDocLang,\n AddressType,\n AddressDocLang,\n //ID Type\n IdFrontPic,\n IdBackPic,\n //Address Front Back\n \n AddressFrontPic,\n AddressBackPic,\n UserId,\n IdFrontPicBase64,\n IdBackPicBase64,\n AddressFrontPicBase64,\n AddressBackPicBase64,\n StateId,\n idIssuedBy,\n idIssueDate,\n idExpDate,\n AddressIssuedBy,\n AddressIssueDate\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst issuertkyc = (\n userId,\n DocType,\n Language,\n DocNumber,\n IssuedBy,\n IssueDate,\n ExpireDate,\n ImageFront,\n ImageFrontExt,\n ImageBack,\n ImageBackExt,\n ImageFrontUrl,\n ImageBackUrl\n) => {\n return axios\n .post(API_URL + \"issuertkyc\", {\n userId,\n DocType,\n Language,\n DocNumber,\n IssuedBy,\n IssueDate,\n ExpireDate,\n ImageFront,\n ImageFrontExt,\n ImageBack,\n ImageBackExt,\n ImageFrontUrl,\n ImageBackUrl,\n }, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst issuertgkyc = (\n userId,\n DocType,\n Language,\n DocNumber,\n IssuedBy,\n IssueDate,\n ExpireDate,\n ImageFront,\n ImageFrontExt,\n ImageBack,\n ImageBackExt,\n ImageFrontUrl,\n ImageBackUrl\n) => {\n return axios\n .post(API_URL + \"issuertgkyc\", {\n userId,\n DocType,\n Language,\n DocNumber,\n IssuedBy,\n IssueDate,\n ExpireDate,\n ImageFront,\n ImageFrontExt,\n ImageBack,\n ImageBackExt,\n ImageFrontUrl,\n ImageBackUrl,\n }, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\n\nconst deleteKyct = (userId, kycId) => {\n return axios\n .post(\n API_URL + \"deleteKyct?userId=\" + userId + \"&kycId=\" + kycId,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst viewcardholdert = (userId) => {\n return axios\n .get(API_URL_Cardholders + \"viewcardholdert?userId=\"+userId, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst viewcardholdertg = (userId) => {\n return axios\n .get(API_URL_Cardholders + \"viewcardholdertg?userId=\"+userId, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst submitkyctoissuert = (userId) => {\n return axios\n .post(\n API_URL + \"submitkyctoissuert?userId=\" + userId,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst uploaddocument = (Application_Id, Document_type, Document_front, Document_back, UserId,\n clientId) => {\n return axios\n .post(API_URL_BANKACCOUNT + \"uploaddocument\", {Application_Id, Document_type, Document_front, Document_back, UserId,\n clientId\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst uploadagreement = (Application_Id, Layer2_agreement, Proof_address_type, Account_agreement, Proof_address_doc,\n Accept_other_terms,UserId,clientId) => {\n return axios\n .post(API_URL_BANKACCOUNT + \"uploadagreement\", {Application_Id, Layer2_agreement, Proof_address_type, Account_agreement, Proof_address_doc,\n Accept_other_terms,UserId,clientId\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst uploadcorporateindividualdocument = (Application_Id, CorporateApplication_Id,Document_type, Document_front, Document_back, UserId,\n clientId) => {\n return axios\n .post(API_URL_BANKACCOUNT + \"uploadcorporateindividualdocument\", {Application_Id, CorporateApplication_Id,Document_type, Document_front, Document_back, UserId,\n clientId\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst uploadcorporatedocument = ( userId,\n ClientId,ApplicationId,IncorporationDocuments) => {\n return axios\n .post(API_URL_BANKACCOUNT + \"uploadcorporatedocument\", {userId,\n ClientId,ApplicationId,IncorporationDocuments\n }, {\n headers: authHeader(),\n }\n )\n .then((response) => {\n return response;\n });\n};\nconst submitkyctoissuertg=(userId)=>{\n return axios\n .post(\n API_URL + \"submitkyctoissuertg?userId=\" + userId,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n}\nconst regeneratekyclink=(userId)=>{\n return axios\n .post(\n API_URL + \"regeneratekyclink?userId=\" + userId,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n}\nconst regeneratekyclinkZ=(userId)=>{\n return axios\n .post(\n API_URL + \"regeneratesumsublink?userId=\" + userId,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n}\nconst viewcardholderZ = (userId) => {\n return axios\n .get(API_URL_Cardholders + \"viewcardholderZ?userId=\"+userId, {\n headers: authHeader(),\n })\n .then((response) => {\n return response;\n });\n};\nconst identityverificationObj = {\n identityverification,\n uploaduserdocs,\n getIdTypeEnums,\n getProofofAddressEnums,\n getuseridentities,\n updateCardHolderIdentityDocuments,\n IssuerGKyc,\n issuertkyc,\n deleteKyct,\n viewcardholdert,\n submitkyctoissuert,\n uploaddocument,\n uploadagreement,\n uploadcorporateindividualdocument,\n uploadcorporatedocument,\n issuertgkyc,\n viewcardholdertg,\n submitkyctoissuertg,\n regeneratekyclink,\n viewcardholderZ,\n regeneratekyclinkZ\n};\n\n\nexport default identityverificationObj;\n","import React, { useState, useRef, useEffect, Fragment } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport identityverificationObj from \"../../services/identityverification.service\";\nimport crossimg from \"../../assets/images/icons/cross.svg\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport { DateRange, TodayRounded } from \"@material-ui/icons\";\nimport ReactDatePickerHelper from \"../../helpers/ReactDatePickerHelper\";\nimport { subYears } from \"date-fns\";\nconst stateRequired = value => {\n if (!value) {\n document.getElementById(\"state\").classList.add(\"has_error\");\n return State is required!;\n } else document.getElementById(\"state\").classList.remove(\"has_error\");\n};\nconst idRequired = value => {\n if (!value) {\n document.getElementById(\"idnumber\").classList.add(\"has_error\");\n return ID Number is required!;\n } else document.getElementById(\"idnumber\").classList.remove(\"has_error\");\n};\nconst addressIssuedRequired = value => {\n if (!value) {\n document.getElementById(\"addressIssuedBy\").classList.add(\"has_error\");\n return Address Issued By is required!;\n } else document.getElementById(\"addressIssuedBy\").classList.remove(\"has_error\");\n};\nconst IdIssuedbyRequired = value => {\n if (!value) {\n document.getElementById(\"idIssuedBy\").classList.add(\"has_error\");\n return ID Issued By is required!;\n } else document.getElementById(\"idIssuedBy\").classList.remove(\"has_error\");\n};\n\n\n\nconst RegisterGlobal = (props) => {\n const form = useRef();\n const checkBtn = useRef();\n const { user: currentUser } = useSelector((state) => state.auth);\n\n const [FilePathAddressProof, setFilePathAddressProof] = useState(\"\");\n const [FilePathAddressProofBack, setFilePathAddressProofBack] = useState(\"\");\n const [FilePathIdType, setFilePathIdType] = useState(\"\");\n const [FilePathIdTypeBack, setFilePathIdTypeBack] = useState(\"\");\n const [successfulSubmitted, setSuccessfulSubmitted] = useState(false);\n\n const [LogoNameID, setlogoNameID] = useState(\"\");\n const [LogoNameIDBack, setlogoNameIDBack] = useState(\"\");\n const [LogoNamePOF, setlogoNamePOF] = useState(\"\");\n const [LogoNamePOFBack, setlogoNamePOFBack] = useState(\"\");\n const [LogoSizeID, setlogoSizeID] = useState();\n const [LogoSizeIDBack, setlogoSizeIDBack] = useState();\n const [LogoSizePOF, setlogoSizePOF] = useState();\n const [LogoSizePOFBack, setlogoSizePOFBack] = useState();\n const [isValidIdType, setiisValidIdType] = useState(true);\n const [isValidIdTypeBack, setiisValidIdTypeBack] = useState(true);\n const [isValidProofofAdrs, setiisValidProofofAdrs] = useState(true);\n const [isValidProofofAdrsBack, setiisValidProofofAdrsBack] = useState(true);\n const [isValidLogoIdType, setiisValidLogoIdType] = useState(true);\n const [isValidLogoIdTypeBack, setiisValidLogoIdTypeBack] = useState(true);\n const [isValidLogoProofofAdrs, setisValidLogoProofofAdrs] = useState(true);\n const [isValidLogoProofofAdrsBack, setisValidLogoProofofAdrsBack] = useState(true);\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n const [State, seState] = useState();\n const [calledfrom, setcalledfrom] = useState();\n const [showIDIssueErr, setShowIDIssueErr] = useState(\"d-none\");\n const [showIDExpiryErr, setshowIDExpiryErr] = useState(\"d-none\");\n const [showAddressIssueErr, setShowAddressIssueErr] = useState(\"d-none\");\n const POAAddress = useRef();\n const POAAddressBack = useRef();\n //loader\n const [boloader, setBoLoader] = useState(false);\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [isValidFileId, setisValidFileId] = useState(true);\n const [isValidFileIdSize, setisValidFileIdSize] = useState(true);\n const [isValidFileIdBack, setisValidFileIdBack] = useState(true);\n const [isValidFileIdBackSize, setisValidFileIdBackSize] = useState(true);\n const [isValidFilePoa, setiisValidFilePoa] = useState(true);\n const [isValidFilePoaSize, setiisValidFilePoaSize] = useState(true);\n const [isValidFilePoaBack, setiisValidFilePoaBack] = useState(true);\n const [isValidFilePoaBackSize, setiisValidFilePoaBackSize] = useState(true);\n const { height, width } = useWindowDimensions();\n const [Name, setBoUserName] = useState(\"\");\n const { message } = useSelector((state) => state.message);\n const dispatch = useDispatch();\n const [clientlogo, setclientlogo] = useState(\"\");\n const [StateId, setStateID] = useState();\n const [AddressProof, setAddressProof] = useState();\n const [AddressProofBack, setAddressProofBack] = useState();\n const [IDType, setIDType] = useState(0);\n const [IdDocLang, setIdDocLang] = useState(0);\n const [AddressType, setAdressType] = useState(0);\n const [AddressDocLang, setAddressDocLang] = useState(0);\n const [IdNumber, setIdNumber] = useState();\n const [base64ID, setBase64ID] = useState(\"\");\n const [base64IDBack, setBase64IDBack] = useState(\"\");\n const [base64Poa, setBase64Poa] = useState(\"\");\n const [base64PoaBack, setBase64PoaBack] = useState(\"\");\n const [idIssuedBy, setIdIssuedBy] = useState(\"\");\n const [idIssueDate, setIdIssueDate] = useState(\"\");\n const [idExpDate, setIdExpDate] = useState(\"\");\n const [AddressIssuedBy, setAddressIssuedBy] = useState(\"\");\n const [AddressIssueDate, setAddressIssueDate] = useState(\"\");\n //Extra Dates For API's\n const [AddressIssueDateAPI, setAddressIssueDateAPI] = useState(\"\");\n const [idIssueDateAPI, setIdIssueDateAPI] = useState(\"\");\n const [idExpDateAPI, setIdExpDateAPI] = useState(\"\");\n\n var dropDownIcon = {\n paddingLeft: \"45px\",\n };\n const requiredIssueDate = value => {\n if (!value) {\n document.getElementById(\"idIssueDate-frmgrp\").classList.add(\"has_error\");\n setShowIDIssueErr(\"\");\n return false;\n } else {\n document.getElementById(\"idIssueDate-frmgrp\").classList.remove(\"has_error\");\n setShowIDIssueErr(\"d-none\");\n return true;\n }\n };\n const requiredExpiryDate = value => {\n if (!value) {\n document.getElementById(\"idExpiryDate-frmgrp\").classList.add(\"has_error\");\n setshowIDExpiryErr(\"\");\n return false;\n } else {\n document.getElementById(\"idExpiryDate-frmgrp\").classList.remove(\"has_error\");\n setshowIDExpiryErr(\"d-none\");\n return true;\n }\n };\n const requiredIssueDateAddress = value => {\n if (!value) {\n document.getElementById(\"idIssueDateAddress-frmgrp\").classList.add(\"has_error\");\n setShowAddressIssueErr(\"\");\n return false;\n } else {\n document.getElementById(\"idIssueDateAddress-frmgrp\").classList.remove(\"has_error\");\n setShowAddressIssueErr(\"d-none\");\n return true;\n }\n };\n useEffect(() => {\n setiisValidIdType(true);\n }, [IDType]);\n\n useEffect(() => {\n setiisValidProofofAdrs(true);\n }, [AddressProof]);\n useEffect(() => {\n setiisValidProofofAdrsBack(true);\n }, [AddressProofBack]);\n useEffect(() => {\n setiisValidLogoIdType(true);\n }, [LogoNameID]);\n useEffect(() => {\n setiisValidLogoIdTypeBack(true);\n }, [LogoNameIDBack]);\n useEffect(() => {\n setisValidLogoProofofAdrs(true);\n }, [LogoNamePOF]);\n useEffect(() => {\n setisValidLogoProofofAdrsBack(true);\n }, [LogoNamePOFBack]);\n useEffect(() => {\n setisValidFileId(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setisValidFileIdSize(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setisValidFileIdBack(true);\n }, [setlogoSizeIDBack]);\n useEffect(() => {\n setiisValidFilePoaBack(true);\n }, [setlogoSizePOFBack]);\n const changeHandlerIdType = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setIDType(statusvalue);\n };\n\n const changeHandlerIdDocLang = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setIdDocLang(statusvalue);\n };\n\n const changeHandlerAddressType = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setAdressType(statusvalue);\n };\n const changeHandlerAddressLang = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setAddressDocLang(statusvalue);\n };\n function getBase64(file, callback) {\n\n const reader = new FileReader();\n\n reader.addEventListener('load', () => callback(reader.result));\n\n reader.readAsDataURL(file);\n }\n const onChangeIDtype = (e) => {\n const file_data = e.target.files[0];\n console.log(file_data)\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileId(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNameID(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeID(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdType(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64ID(base64Data)\n });\n }\n });\n };\n const onChangeIDtypeBack = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileIdBack(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNameIDBack(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeIDBack(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdTypeBack(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64IDBack(base64Data)\n });\n }\n });\n };\n\n const onChangeProofofaddress = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoa(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNamePOF(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizePOF(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathAddressProof(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64Poa(base64Data)\n });\n }\n });\n };\n const onChangeProofofaddressBack = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoaBack(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNamePOFBack(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizePOFBack(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathAddressProofBack(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64PoaBack(base64Data)\n });\n }\n });\n };\n\n\n const onCrossImg = () => {\n setlogoNamePOF(\"\");\n setisValidLogoProofofAdrs(true);\n setiisValidFilePoa(true);\n setisValidFileIdSize(true);\n };\n const onCrossImgIdBack = () => {\n // setlogoNamePOFBack(\"\");\n setlogoNameIDBack(\"\");\n setisValidLogoProofofAdrsBack(true);\n setiisValidFilePoaBack(true);\n };\n const onCrossImgId = () => {\n setlogoNameID(\"\");\n setiisValidLogoIdType(true);\n setisValidFileId(true);\n setisValidFileIdSize(true);\n setisValidFileIdSize(true);\n };\n const onCrossImgBack = () => {\n //setlogoNameIDBack(\"\");\n setlogoNamePOFBack(\"\");\n setiisValidLogoIdTypeBack(true);\n setisValidFileIdBack(true);\n setisValidFileIdSize(true);\n };\n\n const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n };\n const onChangeNumber = (e) => {\n const name = e.target.value;\n setIdNumber(name);\n };\n const onChangeState = e => {\n let value = e.target.value;\n setStateID(value);\n };\n const validationofForm = () => {\n let id = false;\n let idback = false;\n let poa = false;\n let poaback = false;\n if (FilePathIdType === null || FilePathIdType === undefined || FilePathIdType === \"\") {\n setiisValidLogoIdType(false);\n id = false;\n } else { setiisValidLogoIdType(true); id = true };\n if (FilePathIdTypeBack === null || FilePathIdTypeBack === undefined || FilePathIdTypeBack === \"\") {\n setiisValidLogoIdTypeBack(false);\n idback = false;\n } else { setiisValidLogoIdType(true); idback = true };\n if (FilePathAddressProof === null || FilePathAddressProof === undefined || FilePathAddressProof === \"\") {\n setisValidLogoProofofAdrs(false);\n poa = false;\n } else { setisValidLogoProofofAdrs(true); poa = true };\n if (FilePathAddressProofBack === null || FilePathAddressProofBack === undefined || FilePathAddressProofBack === \"\") {\n setisValidLogoProofofAdrsBack(false);\n poaback = false;\n } else { setisValidLogoProofofAdrsBack(true); poaback = true };\n if (id === true && idback === true && poa === true && poaback === true)\n return true;\n else\n return false;\n }\n const saveKycDetails = (e) => {\n e.preventDefault();\n // let chckissueDateId = requiredIssueDate(idIssueDate);\n // let chckexpiryDateId = requiredExpiryDate(idExpDate);\n // let chckissueDateExpiry = requiredIssueDateAddress(AddressIssueDate);\n // let validdocuments = validationofForm();\n // if ((checkBtn.current.context._errors.length > 0 || validdocuments === false) ||\n // !chckissueDateId || !chckexpiryDateId || !chckissueDateExpiry) {\n // return;\n // }\n let base64IDval = base64ID.split(\",\");\n let base64IDBackval = base64IDBack.split(\",\");\n let base64Poaval = base64Poa.split(\",\");\n let base64PoaBackval = base64PoaBack.split(\",\");\n \n setBoLoader(true);\n identityverificationObj\n .IssuerGKyc(\n IdNumber,\n IDType,\n IdDocLang,\n AddressType,\n AddressDocLang,\n FilePathIdType,\n FilePathIdTypeBack,\n FilePathAddressProof,\n FilePathAddressProofBack,\n UserId,\n base64IDval[1],\n base64IDBackval[1],\n base64Poaval[1],\n base64PoaBackval[1],\n StateId,\n idIssuedBy,\n idIssueDateAPI,\n idExpDateAPI,\n AddressIssuedBy,\n AddressIssueDateAPI\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n setSuccessfulSubmitted(true);\n setAddressProof();\n setIDType();\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n const onChangeIdIssue = value => {\n let date = value;\n let apidate=value;\n if (date) {\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n }\n setIdIssueDateAPI(apidate);\n setIdIssueDate(date);\n requiredIssueDate(value);\n };\n const onChangeIdExpiry = value => {\n let date = value;\n let apidate=value;\n if (date) {\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n }\n setIdExpDateAPI(apidate);\n setIdExpDate(date);\n requiredExpiryDate(value);\n };\n const onChangeAddressIssue = value => {\n let date = value;\n let apidate=value;\n if (date){\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n } \n setAddressIssueDateAPI(apidate);\n setAddressIssueDate(date);\n requiredIssueDateAddress(value);\n };\n const onChangeIdIssuedBy = (e) => {\n const name = e.target.value;\n setIdIssuedBy(name);\n };\n const onChangeAddressIssuedBy = (e) => {\n const name = e.target.value;\n setAddressIssuedBy(name);\n };\n return (\n
\n \n {width > 767 && , \"Kyc\"]}\n pagemsg={\"KYC Documents\"}\n clientlogo={clientlogo}\n\n />}\n
\n\n
\n {width <= 767 &&
\n
\n
\n

Create Account

\n
}\n {(!currentUser?.user?.IsKycSubmitted && !successfulSubmitted) &&\n
\n
\n
\n

Please Complete The KYC .

\n
\n
\n
e.preventDefault()} ref={form}>\n
\n\n
\n
\n \n
\n \n \n \n \n \n \n {!isValidIdType && (\n \n ID Type is required!\n \n )}\n
\n
\n
\n\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!isValidIdType && (\n \n ID Lang is required!\n \n )}\n
\n
\n
\n\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n\n
\n
\n \n
\n \n \n \n \n \n ID Issue Date is required!\n \n
\n
\n
\n
\n
\n \n
\n \n \n \n \n ID Issue Expiry is required!\n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n\n\n {LogoNameID === \"\" ? (\n
\n
\n \n ID Front*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidFileId && (\n \n Invalid File Format!  \n \n )}\n {!isValidLogoIdType && (\n \n ID Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNameID}\n
\n
\n \n {LogoSizeID}\n \n\n
\n\n
\n
\n {!isValidLogoIdType && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n {LogoNameIDBack === \"\" ? (\n
\n
\n \n ID Back*  \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1MB\n \n {!isValidFileIdBack && (\n \n Invalid file format\n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB\n \n )}\n {!isValidLogoIdTypeBack && (\n \n ID Back is required!\n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNameIDBack}\n
\n
\n \n {LogoSizeIDBack}\n \n\n
\n\n
\n
\n {!isValidLogoIdTypeBack && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n\n\n
\n
\n \n
\n \n \n \n \n \n\n \n \n {!isValidIdType && (\n \n Address Type is required!\n \n )}\n
\n
\n
\n\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!isValidIdType && (\n \n Address Lang is required!\n \n )}\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n\n
\n
\n \n
\n \n \n \n \n {/* */}\n \n Address Issue Date is required!\n \n
\n
\n
\n\n {LogoNamePOF === \"\" ? (\n
\n
\n \n Address Front*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg with\n transparent background and max size 1 MB\n \n {!isValidFilePoa && (\n \n Invalid file format \n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidLogoProofofAdrs && (\n \n Address Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNamePOF}\n
\n
\n \n {LogoSizePOF}\n \n
\n
\n
\n {!isValidLogoProofofAdrs && (\n \n Valid Proof of address is required!\n \n )}\n
\n )}\n {LogoNamePOFBack === \"\" ? (\n
\n
\n \n Address Back*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFilePoaBack && (\n \n Invalid file format \n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidLogoProofofAdrsBack && (\n \n Address Back is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNamePOFBack}\n
\n
\n \n {LogoSizePOFBack}\n \n
\n
\n
\n {!isValidLogoProofofAdrsBack && (\n \n Valid Proof of address is required!\n \n )}\n
\n )}\n
\n
\n Done\n
\n
\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n \n }\n {(currentUser?.user?.IsKycSubmitted || successfulSubmitted) && (\n
\n
\n
\n \n \n \n \n
\n

We are reviewing your account

\n\n
\n We are reviewing your uploaded documents. This usually take\n less then 24 hours.\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n )}\n \n \n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n />\n \n );\n};\n\nexport default RegisterGlobal;\n","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\nimport authHeader from \"./auth-header\";\nconst API_URL = Env.CardsApiUrl;\nconst API_URL_Cardholders=Env.CardHolderApiUrl;\nconst IssueCardToCardHolder = (\n Name,\n email,\n phonenumber,\n dateofbirth,\n address\n) => {\n return axios\n .post(\n API_URL + \"issuecard\",\n {\n Name,\n email,\n phonenumber,\n dateofbirth,\n address,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n if (response.data.success) {\n }\n\n return response;\n });\n};\nconst approveRejectCardHolder = (status, cardUuid) => {\n return axios\n .post(\n API_URL + \"approverejectcard?status=\" + status + \"&cardUuid=\" + cardUuid,\n {},\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst RegisterCardHolder = (\n Name,\n email,\n phoneNumber,\n DateofBirth,\n Address,\n cardExpiry,\n availableBalance,\n Rolename,\n username,\n cardId,\n ClientId\n) => {\n return axios\n .post(\n API_URL + \"registercardholder\",\n {\n Name,\n email,\n phoneNumber,\n DateofBirth,\n Address,\n cardExpiry,\n availableBalance,\n Rolename,\n username,\n cardId,\n ClientId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst ActivatePhysicalCard = (\n CardNumber,\n KitNumber,\n UserId,\n) => {\n return axios\n .post(\n API_URL + \"activatecardbycardholder\",\n {\n CardNumber,\n KitNumber,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst getCardStatusData = (clientId) => {\n return axios\n .post(\n API_URL + \"getcarddashboardstats?clientId=\" + clientId,\n {},\n {\n headers: authHeader(),\n }\n )\n .then((res) => {\n return res;\n });\n};\nconst searhGrid = (\n name,\n tokenId,\n issueDate,\n expiryDate,\n dateFrom,\n dateTo,\n startIndex,\n methodName\n) => {\n return axios\n .post(API_URL + methodName, {\n name,\n tokenId,\n issueDate,\n expiryDate,\n dateFrom,\n dateTo,\n startIndex,\n }, {\n headers: authHeader(),\n })\n .then((resp) => {\n return resp;\n });\n};\nconst get3drequest = (userId) => {\n return axios\n .post(\n API_URL + \"get3drequest?userId=\" + userId,\n {},\n {\n headers: authHeader(),\n }\n )\n .then((res) => {\n return res;\n });\n};\nconst dRequestapproval = (\n UserId,\n ApprovalStatus,\n RequestId,\n \n) => {\n return axios\n .post(\n API_URL + \"3drequestapproval\",\n {\n UserId,\n ApprovalStatus,\n RequestId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n if (response.data.success) {\n }\n\n return response;\n });\n};\nconst assigncardT = (\n CardNumber,\n CardOwnerName,\n UserId\n \n) => {\n return axios\n .post(\n API_URL + \"assigncardT\",\n {\n CardNumber,\n CardOwnerName,\n UserId\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst assigncardtg = (\n CardNumber,\n CardOwnerName,\n UserId\n \n) => {\n return axios\n .post(\n API_URL_Cardholders + \"assigncardtg\",\n {\n CardNumber,\n CardOwnerName,\n UserId\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst assigncardtgv = (\n CardNumber,\n CardOwnerName,\n UserId\n \n) => {\n return axios\n .post(\n API_URL_Cardholders + \"assigncardtgv\",\n {\n CardNumber,\n CardOwnerName,\n UserId\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst approverejectkyc = (userId, status) => {\n return axios\n .post(\n API_URL + \"approverejectkyc\",\n { userId, status },\n\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst ActivatePhysicalCardZ = (\n CardNumber,\n KitNumber,\n UserId,\n) => {\n return axios\n .post(\n API_URL + \"activatecardbycardholder\",\n {\n CardNumber,\n KitNumber,\n UserId,\n },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst cardsService = {\n IssueCardToCardHolder,\n RegisterCardHolder,\n getCardStatusData,\n searhGrid,\n approveRejectCardHolder,\n ActivatePhysicalCard,\n get3drequest,\n dRequestapproval,\n assigncardT,\n assigncardtg,\n approverejectkyc,\n assigncardtgv,\n ActivatePhysicalCardZ\n};\nexport default cardsService;\n","import React, { useState, useRef, useEffect, Fragment } from \"react\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport identityverificationObj from \"../../services/identityverification.service\";\nimport crossimg from \"../../assets/images/icons/cross.svg\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\n// import { DateRange, TodayRounded } from \"@material-ui/icons\";\nimport ReactDatePickerHelper from \"../../helpers/ReactDatePickerHelper\";\nimport { subYears } from \"date-fns\";\nimport cardsService from \"../../services/cards.services\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nconst MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB\nconst ACCEPTED_FILE_TYPES = ['image/jpeg', 'image/jpg'];\nconst stateRequired = value => {\n if (!value) {\n document.getElementById(\"state\").classList.add(\"has_error\");\n return State is required!;\n } else document.getElementById(\"state\").classList.remove(\"has_error\");\n};\nconst idRequired = value => {\n if (!value) {\n document.getElementById(\"id_number\").classList.add(\"has_error\");\n return ID Number is required!;\n } else document.getElementById(\"id_number\").classList.remove(\"has_error\");\n};\nconst languageRequired = value => {\n if (!value) {\n document.getElementById(\"id_language\").classList.add(\"has_error\");\n return Language is required!;\n } else document.getElementById(\"id_language\").classList.remove(\"has_error\");\n};\nconst addressIssuedRequired = value => {\n if (!value) {\n document.getElementById(\"addressIssuedBy\").classList.add(\"has_error\");\n return Address Issued By is required!;\n } else document.getElementById(\"addressIssuedBy\").classList.remove(\"has_error\");\n};\nconst IdIssuedbyRequired = value => {\n if (!value) {\n document.getElementById(\"id_IssuedBy\").classList.add(\"has_error\");\n return ID Issued By is required!;\n } else document.getElementById(\"id_IssuedBy\").classList.remove(\"has_error\");\n};\n\nconst RegisterIssuerT = () => {\n const form = useRef();\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n\n const checkBtn = useRef();\n const [step, setStep] = useState(1);\n const [language, setLanguage] = useState('');\n const [boloader, setBoLoader] = useState(false);\n const [fileDetails, setFileDetails] = useState({\n selfie: { name: '', size: '' },\n drivingLicense: { name: '', size: '' },\n passport: { name: '', size: '' },\n proofOfAddress: { name: '', size: '' },\n });\n const [ImageFront, setImageFront] = useState();\n const [base64ImageFront, setbase64ImageFront] = useState(\"\");\n const [ImageBack, setImageBack] = useState();\n const [kycId, setKycId] = useState();\n const [kycDocLength, setKycDocsLength] = useState(0);\n const [kycstatus, setKycstatus] = useState(0);\n const [base64ImageBack, setbase64ImageBack] = useState(\"\");\n const [ImageBackExt, setImageBackExt] = useState();\n const [ImageFrontExt, setImageFrontExt] = useState();\n const [isValidFileId, setisValidFileId] = useState(true);\n const [isValidFileSelfie, setisValidFileSelfie] = useState(true);\n const [isValidFileIdSize, setisValidFileIdSize] = useState(true);\n const [isValidFileSelfieSize, setisValidFileSelfieSize] = useState(true);\n const [isValidFileIdBack, setisValidFileIdBack] = useState(true);\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [FilePathAddressProof, setFilePathAddressProof] = useState(\"\");\n const [FilePathAddressProofBack, setFilePathAddressProofBack] = useState(\"\");\n const [FilePathIdType, setFilePathIdType] = useState(\"\");\n const [FilePathSelfieType, setFilePathSelfieType] = useState(\"\");\n const [FilePathIdTypeBack, setFilePathIdTypeBack] = useState(\"\");\n const [successfulSubmitted, setSuccessfulSubmitted] = useState(false);\n const [LogoNameID, setlogoNameID] = useState(\"\");\n const [LogoNameIDBack, setlogoNameIDBack] = useState(\"\");\n const [LogoNameSelfie, setlogoNameSelfie] = useState(\"\");\n const [LogoNamePOF, setlogoNamePOF] = useState(\"\");\n const [LogoNamePOFBack, setlogoNamePOFBack] = useState(\"\");\n const [LogoSizeID, setlogoSizeID] = useState();\n const [LogoSizeSelfie, setlogoSizeSelfie] = useState();\n const [LogoSizeIDBack, setlogoSizeIDBack] = useState();\n const [LogoSizePOF, setlogoSizePOF] = useState();\n const [LogoSizePOFBack, setlogoSizePOFBack] = useState();\n const [isValidIdType, setiisValidIdType] = useState(true);\n const [isValidIdTypeBack, setiisValidIdTypeBack] = useState(true);\n const [isValidProofofAdrs, setiisValidProofofAdrs] = useState(true);\n const [isValidProofofAdrsBack, setiisValidProofofAdrsBack] = useState(true);\n const [isValidLogoIdType, setiisValidLogoIdType] = useState(true);\n const [isValidLogoSelfieType, setiisValidLogoSelfieType] = useState(true);\n const [isValidLogoIdTypeBack, setiisValidLogoIdTypeBack] = useState(true);\n const [isValidLogoProofofAdrs, setisValidLogoProofofAdrs] = useState(true);\n const [isValidLogoProofofAdrsBack, setisValidLogoProofofAdrsBack] = useState(true);\n const [State, seState] = useState();\n const [calledfrom, setcalledfrom] = useState();\n const [showIDIssueErr, setShowIDIssueErr] = useState(\"d-none\");\n const [showIDExpiryErr, setshowIDExpiryErr] = useState(\"d-none\");\n const [showAddressIssueErr, setShowAddressIssueErr] = useState(\"d-none\");\n const POAAddress = useRef();\n const POAAddressBack = useRef();\n const [isValidFileIdBackSize, setisValidFileIdBackSize] = useState(true);\n const [isValidFilePoa, setiisValidFilePoa] = useState(true);\n const [isValidFilePoaSize, setiisValidFilePoaSize] = useState(true);\n const [isValidFilePoaBack, setiisValidFilePoaBack] = useState(true);\n const [isValidFilePoaBackSize, setiisValidFilePoaBackSize] = useState(true);\n const { height, width } = useWindowDimensions();\n const [Name, setBoUserName] = useState(\"\");\n const { message } = useSelector((state) => state.message);\n const dispatch = useDispatch();\n const [clientlogo, setclientlogo] = useState(\"\");\n const [StateId, setStateID] = useState();\n const [AddressProof, setAddressProof] = useState();\n const [AddressProofBack, setAddressProofBack] = useState();\n const [IDType, setIDType] = useState(0);\n const [IdDocLang, setIdDocLang] = useState(0);\n const [AddressType, setAdressType] = useState(0);\n const [AddressDocLang, setAddressDocLang] = useState(0);\n const [IdNumber, setIdNumber] = useState();\n const [base64ID, setBase64ID] = useState(\"\");\n const [base64Selfie, setBase64Selfie] = useState(\"\");\n const [base64IDBack, setBase64IDBack] = useState(\"\");\n const [base64Poa, setBase64Poa] = useState(\"\");\n const [base64PoaBack, setBase64PoaBack] = useState(\"\");\n const [idIssuedBy, setIdIssuedBy] = useState(\"\");\n const [idIssueDate, setIdIssueDate] = useState(\"\");\n const [idExpDate, setIdExpDate] = useState(\"\");\n const [AddressIssuedBy, setAddressIssuedBy] = useState(\"\");\n const [DocLanguage, setDocLanguage] = useState(\"\");\n const [AddressIssueDate, setAddressIssueDate] = useState(\"\");\n const [LinkTG, setLinkTG] = useState(\"\");\n //Extra Dates For API's\n const [AddressIssueDateAPI, setAddressIssueDateAPI] = useState(\"\");\n const [idIssueDateAPI, setIdIssueDateAPI] = useState(\"\");\n const [idExpDateAPI, setIdExpDateAPI] = useState(\"\");\n const [docType, setDocType] = useState();\n const [CardOwnerName, setCardOwnerName] = useState(\"\");\n const [modalsuccessfullShow, setModalsuccessfullShow] = useState(false);\n\n var dropDownIcon = {\n paddingLeft: \"45px\",\n };\n const requiredIssueDate = value => {\n if (!value) {\n document.getElementById(\"idIssueDate-frmgrp\").classList.add(\"has_error\");\n setShowIDIssueErr(\"\");\n return false;\n } else {\n document.getElementById(\"idIssueDate-frmgrp\").classList.remove(\"has_error\");\n setShowIDIssueErr(\"d-none\");\n return true;\n }\n };\n const requiredExpiryDate = value => {\n if (!value) {\n document.getElementById(\"idExpiryDate-frmgrp\").classList.add(\"has_error\");\n setshowIDExpiryErr(\"\");\n return false;\n } else {\n document.getElementById(\"idExpiryDate-frmgrp\").classList.remove(\"has_error\");\n setshowIDExpiryErr(\"d-none\");\n return true;\n }\n };\n const requiredIssueDateAddress = value => {\n if (!value) {\n document.getElementById(\"idIssueDateAddress-frmgrp\").classList.add(\"has_error\");\n setShowAddressIssueErr(\"\");\n return false;\n } else {\n document.getElementById(\"idIssueDateAddress-frmgrp\").classList.remove(\"has_error\");\n setShowAddressIssueErr(\"d-none\");\n return true;\n }\n };\n useEffect(() => {\n if(currentUser?.user?.IssuerName === \"IssuerTG\"||currentUser?.user?.IssuerName === \"IssuerTGV\")\n viewCardHolderTG();\n if(currentUser?.user?.IssuerName === \"IssuerT\")\n viewCardHolderT();\n if(currentUser?.user?.IssuerName === \"IssuerZ\")\n viewCardHolderZ();\n\n }, [])\n const viewCardHolderT = () => {\n setBoLoader(true);\n identityverificationObj.viewcardholdert(UserId).then(\n (response) => {\n setBoLoader(false);\n setKycId(response?.data?.payload?.item1?.kycDocs[0]?.kycDocID);\n setKycDocsLength(response?.data?.payload?.item1?.kycDocs?.length);\n //for testing remove later and uncomment the above line\n //setKycDocsLength(2);\n },\n (error) => {\n setBoLoader(false);\n }\n );\n\n }\n const viewCardHolderTG = () => {\n setBoLoader(true);\n identityverificationObj.viewcardholdertg(UserId).then(\n (response) => {\n setBoLoader(false);\n setKycId(response?.data?.payload?.item1?.kycDocs[0]?.kycDocID);\n setKycDocsLength(response?.data?.payload?.item1?.kycDocs?.length);\n setKycstatus(response?.data?.payload?.item1?.status);\n if(response?.data?.payload?.item1?.status==1){\n approveRejectKyc(true);\n }\n setLinkTG(response?.data?.payload?.item1?.sysRes2)\n //for testing remove later and uncomment the above line\n //setKycDocsLength(2);\n },\n (error) => {\n setBoLoader(false);\n }\n );\n }\n const viewCardHolderZ = () => {\n setBoLoader(true);\n identityverificationObj.viewcardholderZ(UserId).then(\n (response) => {\n setBoLoader(false);\n setKycstatus(response?.data?.payload?.item1?.message);\n setLinkTG(response?.data?.payload?.item1?.sumsubLink)\n //for testing remove later and uncomment the above line\n //setKycDocsLength(2);\n },\n (error) => {\n setBoLoader(false);\n }\n );\n }\n const approveRejectKyc = (stat) => {\n setBoLoader(true);\n cardsService\n .approverejectkyc(UserId, stat)\n .then((res) => {\n setBoLoader(false);\n if (res && res.data && res.data.success) {\n let user = JSON.parse(sessionStorage.getItem(\"user\"));\n if (user) {\n user.KycApprovedByIssuer = \"Yes\"; \n sessionStorage.setItem(\"user\", JSON.stringify(user));\n window?.location?.reload();\n } \n }\n })\n .catch((err) => {\n setBoLoader(false);\n \n });\n };\n useEffect(() => {\n setiisValidIdType(true);\n }, [IDType]);\n\n useEffect(() => {\n setiisValidProofofAdrs(true);\n }, [AddressProof]);\n useEffect(() => {\n setiisValidProofofAdrsBack(true);\n }, [AddressProofBack]);\n useEffect(() => {\n setiisValidLogoIdType(true);\n }, [LogoNameID]);\n useEffect(() => {\n setiisValidLogoIdTypeBack(true);\n }, [LogoNameIDBack]);\n useEffect(() => {\n setisValidLogoProofofAdrs(true);\n }, [LogoNamePOF]);\n useEffect(() => {\n setisValidLogoProofofAdrsBack(true);\n }, [LogoNamePOFBack]);\n useEffect(() => {\n setisValidFileId(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setisValidFileIdSize(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setisValidFileIdBack(true);\n }, [setlogoSizeIDBack]);\n useEffect(() => {\n setiisValidFilePoaBack(true);\n }, [setlogoSizePOFBack]);\n const changeHandlerDocType = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setDocType(statusvalue);\n };\n const changeHandlerIdDocLang = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = String(status);\n setIdDocLang(statusvalue);\n };\n const changeHandlerAddressType = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setAdressType(statusvalue);\n };\n const changeHandlerAddressLang = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setAddressDocLang(statusvalue);\n };\n function getBase64(file, callback) {\n\n const reader = new FileReader();\n\n reader.addEventListener('load', () => callback(reader.result));\n\n reader.readAsDataURL(file);\n }\n const onChangeIDtype = (e) => {\n const file_data = e.target.files[0];\n console.log(file_data)\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileId(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNameID(file_data.name);\n setImageFrontExt(file_data?.type);\n var size = formatBytes(file_data.size);\n setlogoSizeID(size);\n formdata.append(\"File\", file_data);\n setBoLoader(true);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n setBoLoader(false);\n if (response) {\n setFilePathIdType(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64ID(base64Data)\n });\n }\n }).catch(()=>{\n setBoLoader(false);\n });\n };\n const onChangeSelfietype = (e) => {\n const file_data = e.target.files[0];\n console.log(file_data)\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileSelfie(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileSelfieSize(false);\n return false;\n }\n setlogoNameSelfie(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeSelfie(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathSelfieType(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64Selfie(base64Data)\n });\n }\n });\n };\n const onChangeIDtypeBack = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileIdBack(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNameIDBack(file_data.name);\n setImageBackExt(file_data?.type);\n var size = formatBytes(file_data.size);\n setlogoSizeIDBack(size);\n formdata.append(\"File\", file_data);\n setBoLoader(true);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setBoLoader(false);\n setFilePathIdTypeBack(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64IDBack(base64Data)\n });\n }\n }).catch(()=>{\n setBoLoader(false);\n });\n };\n const onChangeProofofaddress = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoa(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNamePOF(file_data.name);\n setImageFrontExt(file_data?.type);\n var size = formatBytes(file_data.size);\n setlogoSizePOF(size);\n formdata.append(\"File\", file_data);\n setBoLoader(true);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n setBoLoader(false);\n if (response) {\n setFilePathAddressProof(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64Poa(base64Data)\n });\n }\n }).catch(()=>{\n setBoLoader(false);\n });\n };\n const onChangeProofofaddressBack = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoaBack(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNamePOFBack(file_data.name);\n setImageBackExt(file_data?.type);\n var size = formatBytes(file_data.size);\n setlogoSizePOFBack(size);\n formdata.append(\"File\", file_data);\n setBoLoader(true);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n setBoLoader(false);\n if (response) {\n setFilePathAddressProofBack(response.data.payload);\n getBase64(file_data, function (base64Data) {\n setBase64PoaBack(base64Data)\n });\n }\n }).catch(()=>{\n setBoLoader(false);\n });\n };\n const onCrossImg = () => {\n setlogoNamePOF(\"\");\n setisValidLogoProofofAdrs(true);\n setiisValidFilePoa(true);\n setisValidFileIdSize(true);\n };\n const onCrossImgIdBack = () => {\n // setlogoNamePOFBack(\"\");\n setlogoNameIDBack(\"\");\n setisValidLogoProofofAdrsBack(true);\n setiisValidFilePoaBack(true);\n };\n const onCrossImgId = () => {\n setlogoNameID(\"\");\n setiisValidLogoIdType(true);\n setisValidFileId(true);\n setisValidFileIdSize(true);\n };\n const onCrossImgSelfie = () => {\n setlogoNameSelfie(\"\");\n setiisValidLogoSelfieType(true);\n setisValidFileSelfie(true);\n setisValidFileSelfieSize(true);\n };\n const onCrossImgBack = () => {\n //setlogoNameIDBack(\"\");\n setlogoNamePOFBack(\"\");\n setiisValidLogoIdTypeBack(true);\n setisValidFileIdBack(true);\n setisValidFileIdSize(true);\n };\n const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n };\n const onChangeNumber = (e) => {\n const name = e.target.value;\n setIdNumber(name);\n };\n const onChangeState = e => {\n let value = e.target.value;\n setStateID(value);\n };\n const validationofForm = () => {\n let id = false;\n let idback = false;\n let poa = false;\n let poaback = false;\n if (FilePathIdType === null || FilePathIdType === undefined || FilePathIdType === \"\") {\n setiisValidLogoIdType(false);\n id = false;\n } else { setiisValidLogoIdType(true); id = true };\n if (FilePathIdTypeBack === null || FilePathIdTypeBack === undefined || FilePathIdTypeBack === \"\") {\n setiisValidLogoIdTypeBack(false);\n idback = false;\n } else { setiisValidLogoIdType(true); idback = true };\n if (FilePathAddressProof === null || FilePathAddressProof === undefined || FilePathAddressProof === \"\") {\n setisValidLogoProofofAdrs(false);\n poa = false;\n } else { setisValidLogoProofofAdrs(true); poa = true };\n if (FilePathAddressProofBack === null || FilePathAddressProofBack === undefined || FilePathAddressProofBack === \"\") {\n setisValidLogoProofofAdrsBack(false);\n poaback = false;\n } else { setisValidLogoProofofAdrsBack(true); poaback = true };\n if (id === true && idback === true && poa === true && poaback === true)\n return true;\n else\n return false;\n }\n const saveKycDetails = (e) => {\n e.preventDefault();\n // let chckissueDateId = requiredIssueDate(idIssueDate);\n // let chckexpiryDateId = requiredExpiryDate(idExpDate);\n // let chckissueDateExpiry = requiredIssueDateAddress(AddressIssueDate);\n // let validdocuments = validationofForm();\n // if ((checkBtn.current.context._errors.length > 0 || validdocuments === false) ||\n // !chckissueDateId || !chckexpiryDateId || !chckissueDateExpiry) {\n // return;\n // }\n let base64IDval = base64ID.split(\",\");\n let base64IDBackval = base64IDBack.split(\",\");\n let base64Poaval = base64Poa.split(\",\");\n let base64PoaBackval = base64PoaBack.split(\",\");\n\n setBoLoader(true);\n identityverificationObj\n .IssuerGKyc(\n IdNumber,\n IDType,\n IdDocLang,\n AddressType,\n AddressDocLang,\n FilePathIdType,\n FilePathIdTypeBack,\n FilePathAddressProof,\n FilePathAddressProofBack,\n UserId,\n base64IDval[1],\n base64IDBackval[1],\n base64Poaval[1],\n base64PoaBackval[1],\n StateId,\n idIssuedBy,\n idIssueDateAPI,\n idExpDateAPI,\n AddressIssuedBy,\n AddressIssueDateAPI\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n setSuccessfulSubmitted(true);\n setAddressProof();\n setIDType();\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const onChangeIdIssue = value => {\n let date = value;\n let apidate = value;\n if (date) {\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n }\n setIdIssueDateAPI(apidate);\n setIdIssueDate(date);\n requiredIssueDate(value);\n };\n const onChangeIdExpiry = value => {\n let date = value;\n let apidate = value;\n if (date) {\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n }\n setIdExpDateAPI(apidate);\n setIdExpDate(date);\n requiredExpiryDate(value);\n };\n const onChangeAddressIssue = value => {\n let date = value;\n let apidate = value;\n if (date) {\n date = new Date(date);\n apidate = date?.toJSON()?.split(\"T\")[0];\n }\n setAddressIssueDateAPI(apidate);\n setAddressIssueDate(date);\n requiredIssueDateAddress(value);\n };\n const onChangeIdIssuedBy = (e) => {\n const name = e.target.value;\n setIdIssuedBy(name);\n };\n const onChangeAddressIssuedBy = (e) => {\n const name = e.target.value;\n setAddressIssuedBy(name);\n };\n const onChangeLanguage = (e) => {\n const name = e.target.value;\n setLanguage(name);\n };\n const validateFile = (file) => {\n if (!file) return 'File is required';\n if (!ACCEPTED_FILE_TYPES.includes(file.type)) return 'Only JPEG files are accepted';\n if (file.size > MAX_FILE_SIZE) return 'File size must be less than 5MB';\n return true;\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n \n\n function getBase64(file, callback) {\n\n const reader = new FileReader();\n\n reader.addEventListener('load', () => callback(reader.result));\n\n reader.readAsDataURL(file);\n }\n const submitSelfie = () => {\n let userId = UserId,\n IssuedBy = \"\",\n IssueDate = \"\",\n ExpireDate = \"\",\n imageFrontExt = 0,\n imgback = \"\",\n ImageBackExt = 0,\n ImageBackUrl = \"\"\n if (ImageFrontExt.includes(\"jpeg\"))\n imageFrontExt = 1;\n else if (ImageFrontExt.includes(\"png\"))\n imageFrontExt = 0;\n else if (ImageFrontExt.includes(\"pdf\"))\n imageFrontExt = 2;\n let base64IDval = base64ID.split(\",\");\n setBoLoader(true);\n identityverificationObj\n .issuertkyc(\n userId,\n 0,\n language,//document language\n \"\", //document number\n IssuedBy,\n IssueDate,\n ExpireDate,\n base64IDval[1],// ID Front base 64\n imageFrontExt,\n imgback,\n ImageBackExt,\n FilePathIdType, // blob link ID Front \n ImageBackUrl\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n viewCardHolderT();\n clearAllFields();\n //setKycDocsLength(1);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n \n\n\n };\n const submitProofOfId = () => {\n let userId = UserId,\n ExpireDate = \"\",\n imageFrontExt = 0,\n imageBackExt = 0\n if (ImageFrontExt.includes(\"jpeg\"))\n imageFrontExt = 1;\n else if (ImageFrontExt.includes(\"png\"))\n imageFrontExt = 0;\n else if (ImageFrontExt.includes(\"pdf\"))\n imageFrontExt = 2;\n if (ImageBackExt.includes(\"jpeg\"))\n imageBackExt = 1;\n else if (ImageFrontExt.includes(\"png\"))\n imageBackExt = 0;\n else if (ImageFrontExt.includes(\"pdf\"))\n imageBackExt = 2;\n let base64IDval = base64ID.split(\",\");\n let base64IDBackval = base64IDBack.split(\",\");\n setBoLoader(true);\n identityverificationObj\n .issuertkyc(\n userId, //User Id of cardholder\n docType,//document type\n language,//document language\n IdNumber,//document number\n idIssuedBy,//document issued by\n idIssueDate, //document issuedate\n idExpDate, // document Expiry Date\n base64IDval[1],// ID Front base 64\n imageFrontExt, //ID Front Extension \n base64IDBackval[1], // ID Back base 64\n imageBackExt, //ID back extension\n FilePathIdType, // blob link ID Front \n FilePathIdTypeBack, //blob link ID Back\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n viewCardHolderT();\n clearAllFields();\n //setKycDocsLength(2);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n\n\n\n };\n const submitProofOfAddress = () => {\n let userId = UserId,\n ExpireDate = \"\",\n imageFrontExt = 0,\n imageBackExt = 0\n if (ImageFrontExt?.includes(\"jpeg\"))\n imageFrontExt = 1;\n else if (ImageFrontExt?.includes(\"png\"))\n imageFrontExt = 0;\n else if (ImageFrontExt?.includes(\"pdf\"))\n imageFrontExt = 2;\n if (ImageBackExt?.includes(\"jpeg\"))\n imageBackExt = 1;\n else if (ImageFrontExt?.includes(\"png\"))\n imageBackExt = 0;\n else if (ImageFrontExt?.includes(\"pdf\"))\n imageBackExt = 2;\n let base64Poaval = base64Poa.split(\",\");\n let base64PoaBackval = base64PoaBack.split(\",\");\n setBoLoader(true);\n identityverificationObj\n .issuertkyc(\n userId, //User Id of cardholder\n docType,//document type\n language,//Address document language\n IdNumber,//Address document number\n idIssuedBy,//document issued by\n AddressIssueDate, //document issuedate\n ExpireDate, // document Expiry Date\n base64Poaval[1],// Address Front base 64\n imageFrontExt,//Address Front Extension\n base64PoaBackval[1],//Address back base 64\n imageBackExt, //ID back extension\n FilePathAddressProof, // blob link Address Front \n FilePathAddressProofBack, // blob link Address Back\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n viewCardHolderT();\n clearAllFields();\n //setKycDocsLength(3);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n\n\n\n };\n \n //don'nt delete this we will use this for deleting the kyc.\n const removeDocument = () => {\n identityverificationObj\n .deleteKyct(UserId, kycId).then((response) => {\n\n }).catch((err) => {\n\n })\n }\n const handleLanguageChange = (e) => {\n setLanguage(e.target.value);\n };\n const submitkyctoissuert = () => {\n identityverificationObj\n .submitkyctoissuert(UserId, kycId).then((response) => {\n setSuccessfulSubmitted(true);\n }).catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n })\n }\n const clearAllFields=()=>{\n setFilePathIdType(\"\");\n setFilePathIdTypeBack(\"\");\n setFilePathAddressProof(\"\");\n setFilePathAddressProofBack(\"\");\n setLanguage(\"\");\n setlogoNameID(\"\");\n setlogoNameIDBack(\"\");\n setlogoNamePOF(\"\");\n setlogoNamePOFBack(\"\");\n setBase64Poa(\"\")\n setBase64PoaBack(\"\");\n setBase64ID(\"\");\n setBase64IDBack(\"\");\n setIdExpDate(\"\");\n setIdNumber();\n setIdIssueDate(\"\");\n setIdIssuedBy(\"\");\n }\n\n const submiKycIssuerTG=()=>{\n let userId = UserId,\n ExpireDate = \"\",\n imageFrontExt = 0,\n imageBackExt = 0\n if (ImageFrontExt.includes(\"jpeg\"))\n imageFrontExt = 1;\n else if (ImageFrontExt.includes(\"png\"))\n imageFrontExt = 0;\n else if (ImageFrontExt.includes(\"pdf\"))\n imageFrontExt = 2;\n if (ImageBackExt.includes(\"jpeg\"))\n imageBackExt = 1;\n else if (ImageFrontExt.includes(\"png\"))\n imageBackExt = 0;\n else if (ImageFrontExt.includes(\"pdf\"))\n imageBackExt = 2;\n let base64IDval = base64ID.split(\",\");\n let base64IDBackval = base64IDBack.split(\",\");\n setBoLoader(true);\n identityverificationObj\n .issuertgkyc(\n userId, //User Id of cardholder\n docType,//document type\n language,//document language\n IdNumber,//document number\n idIssuedBy,//document issued by\n idIssueDate, //document issuedate\n \"\", // document Expiry Date\n base64IDval[1],// ID Front base 64\n imageFrontExt, //ID Front Extension \n base64IDBackval[1], // ID Back base 64\n imageBackExt, //ID back extension\n FilePathIdType, // blob link ID Front \n FilePathIdTypeBack, //blob link ID Back\n )\n .then((response) => {\n setBoLoader(false);\n if (response) {\n submitkyctoissuertg();\n viewCardHolderTG();\n //setKycDocsLength(2);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n const submitkyctoissuertg=()=>{\n identityverificationObj.submitkyctoissuertg(UserId).then((response)=>{\n if(response){\n setLinkTG(response?.payload);\n viewCardHolderTG();\n }\n }).catch((err)=>{\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n const regeneratekyclink=()=>{\n identityverificationObj.regeneratekyclink(UserId).then((response)=>{\n if(response){\n setLinkTG(response?.payload);\n let msgBody = response?.data?.message\n ? response?.data?.message : \"New Link Generated\"\n \n let errIcon = \"icon-success\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n }\n }).catch((err)=>{\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n \n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n const regeneratekyclinkZ=()=>{\n identityverificationObj.regeneratekyclinkZ(UserId).then((response)=>{\n if(response){\n setLinkTG(response?.payload);\n let msgBody = response?.data?.message\n ? response?.data?.message : \"New Link Generated\"\n \n let errIcon = \"icon-success\";\n errorAndSuccessModl(\"Success\", \"New Link Generated\", errIcon);\n }\n }).catch((err)=>{\n let msgBody = err?.response?.data?.message\n ? err.response.data.message : \"Something Went Wrong\" + \"-\" + \"Please Contact support for assistance\"\n \n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n const logoutScreen=()=>{\n sessionStorage?.removeItem(\"user\");\n window?.location?.reload();\n }\n const onChangeKCardOwnerName = (e) => {\n const number = e.target.value;\n if (number != \"\") {\n let value = number;\n setCardOwnerName(value);\n }\n \n };\n const requiredCardOwnerName = (value) => {\n if (!value) {\n document.getElementById(\"card_owner_name\").classList.add(\"has_error\");\n return (\n Card Owner Name is required!\n );\n } else\n document\n .getElementById(\"card_owner_name\")\n .classList.remove(\"has_error\");\n };\n const maxLengthCheck = object => {\n if (object.target.value.length > object.target.maxLength) {\n object.target.value = object.target.value.slice(\n 0,\n object.target.maxLength\n );\n }\n var t = object.target.value;\n if (t.includes(\".\"))\n object.target.value = (t?.indexOf(\".\") >= 0) ? (t.substr(0, t.indexOf(\".\")) + t.substr(t.indexOf(\".\"), 3)) : t;\n };\n const submitCardVerification = (e) => { \n e.preventDefault();\n setBoLoader(true);\n cardsService.ActivatePhysicalCardZ(\"\",\"\",\n UserId)\n .then(() => {\n setModalsuccessfullShow(true);\n setBoLoader(false);\n })\n .catch((error) => {\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n \n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n \n };\n const logoutUser = () => {\n sessionStorage.removeItem(\"user\");\n window.location.reload();\n }\n return (\n
\n \n {width > 767 && , \"Kyc\"]}\n pagemsg={\"KYC Documents\"}\n clientlogo={clientlogo}\n />}\n
\n
\n {/* Issuer T, TG, TGV */}\n \n {\n currentUser?.user?.IssuerName === \"IssuerT\" &&(\n \n {((kycDocLength<3) && !boloader) && (<>\n {width <= 767 &&
\n
\n

Create Account

\n
}\n
\n
\n
\n

Please Complete The KYC.

\n
\n
\n \n {\n kycDocLength == 0 && (\n <>\n

Step 1:Selfie

\n
\n
\n
\n
e.preventDefault()} ref={form}>\n
\n
\n
\n \n
\n \n \n
\n
\n
\n {LogoNameID === \"\" ? (\n
\n
\n \n Selfie*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidFileId && (\n \n Invalid File Format!  \n \n )}\n {!isValidLogoIdType && (\n \n ID Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNameID}\n
\n
\n \n {LogoSizeID}\n \n\n
\n\n
\n
\n {!isValidLogoIdType && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n
\n
\n Next\n
\n
\n
\n
\n { sessionStorage?.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n
\n \n )\n }\n {\n kycDocLength == 1 && (\n <>\n

Step 2: Proof of Id

\n
\n
\n
\n
e.preventDefault()} ref={form}>\n
\n
\n
\n \n
\n \n \n \n \n \n \n {!isValidIdType && (\n \n ID Type is required!\n \n )}\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n \n\n \n ID Issue Date is required!\n \n
\n
\n
\n
\n
\n \n
\n \n \n \n \n ID Issue Expiry is required!\n \n
\n
\n
\n\n {LogoNameID === \"\" ? (\n
\n
\n \n ID Front*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidFileId && (\n \n Invalid File Format!  \n \n )}\n {!isValidLogoIdType && (\n \n ID Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNameID}\n
\n
\n \n {LogoSizeID}\n \n\n
\n\n
\n
\n {!isValidLogoIdType && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n {LogoNameIDBack === \"\" ? (\n
\n
\n \n ID Back*  \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1MB\n \n {!isValidFileIdBack && (\n \n Invalid file format\n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB\n \n )}\n {!isValidLogoIdTypeBack && (\n \n ID Back is required!\n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNameIDBack}\n
\n
\n \n {LogoSizeIDBack}\n \n\n
\n\n
\n
\n {!isValidLogoIdTypeBack && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n
\n
\n Next\n
\n
\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n
\n \n )\n }\n {\n kycDocLength == 2 && (\n <>\n

Step 3: Proof of address

\n
\n
\n
\n
e.preventDefault()} ref={form}>\n
\n
\n
\n \n
\n \n \n \n \n \n\n \n \n {!isValidIdType && (\n \n Address Type is required!\n \n )}\n
\n
\n
\n\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n \n \n Address Issue Date is required!\n \n
\n
\n
\n {LogoNamePOF === \"\" ? (\n
\n
\n \n Address Front*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg with\n transparent background and max size 1 MB\n \n {!isValidFilePoa && (\n \n Invalid file format \n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidLogoProofofAdrs && (\n \n Address Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNamePOF}\n
\n
\n \n {LogoSizePOF}\n \n
\n
\n
\n {!isValidLogoProofofAdrs && (\n \n Valid Proof of address is required!\n \n )}\n
\n )}\n {LogoNamePOFBack === \"\" ? (\n
\n
\n \n Address Back*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFilePoaBack && (\n \n Invalid file format \n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidLogoProofofAdrsBack && (\n \n Address Back is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNamePOFBack}\n
\n
\n \n {LogoSizePOFBack}\n \n
\n
\n
\n {!isValidLogoProofofAdrsBack && (\n \n Valid Proof of address is required!\n \n )}\n
\n )}\n
\n
\n Next\n
\n
\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n
\n\n \n )\n }\n {\n kycDocLength == 3 && (\n
\n \n
\n )\n }\n
\n \n \n )}\n {(((currentUser?.user?.IsKycSubmitted || successfulSubmitted) &&kycDocLength==3) && !boloader) && (\n
\n
\n
\n \n \n \n \n
\n

We are reviewing your account

\n\n
\n We are reviewing your uploaded documents. This usually take\n less then 24 hours.\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n \n
\n
\n
\n )}\n \n )\n }\n\n \n {\n (!currentUser?.user?.IsKycSubmitted &&kycDocLength==0) && (\n (currentUser?.user?.IssuerName === \"IssuerTG\" ||currentUser?.user?.IssuerName === \"IssuerTGV\") && (\n \n
\n
\n
\n

Please Complete The KYC.

\n
\n
\n <>\n

Proof of Address

\n
\n
\n
\n
e.preventDefault()} ref={form}>\n
\n
\n
\n \n
\n \n \n \n \n \n \n\n \n \n {!isValidIdType && (\n \n Address Type is required!\n \n )}\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n POA Issue Date is required!\n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n {LogoNameID === \"\" ? (\n
\n
\n \n POA Front*   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n \n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1 MB\n \n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB \n \n )}\n {!isValidFileId && (\n \n Invalid File Format!  \n \n )}\n {!isValidLogoIdType && (\n \n POA Front is required! \n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNameID}\n
\n
\n \n {LogoSizeID}\n \n \n
\n \n
\n
\n {!isValidLogoIdType && (\n \n Valid POA Type is required!\n \n )}\n
\n )}\n {LogoNameIDBack === \"\" ? (\n
\n
\n \n POA Back*  \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n \n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg\n transparent background and max size 1MB\n \n {!isValidFileIdBack && (\n \n Invalid file format\n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB\n \n )}\n {!isValidLogoIdTypeBack && (\n \n POA Back is required!\n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n
\n {LogoNameIDBack}\n
\n
\n \n {LogoSizeIDBack}\n \n \n
\n \n
\n
\n {!isValidLogoIdTypeBack && (\n \n Valid ID Type is required!\n \n )}\n
\n )}\n
\n
\n Next\n
\n
\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n
\n \n \n \n \n \n
\n \n \n
\n )\n )\n }\n {(((LinkTG!==\"\") && kycDocLength==1) && !boloader) && (\n
\n
\n
\n \n \n \n \n
\n

Click on the link to complete kyc

\n\n \n Click here\n \n
\n
\n
\n { regeneratekyclink() }}\n >\n Regenrate Link\n \n
\n
\n \n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n )}\n {(((currentUser?.user?.IsKycSubmitted || successfulSubmitted) &&kycDocLength==1 &&(kycstatus!==4&&kycstatus!==3) ) && !boloader) && (\n
\n
\n
\n \n \n \n \n
\n

We are reviewing your account

\n\n
\n We are reviewing your uploaded documents. This usually take\n less then 24 hours.\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n \n
\n
\n
\n )}\n \n \n {/* Issuer Z*/}\n \n {\n currentUser?.user?.IssuerName === \"IssuerZ\" && kycstatus==\"init\" && (\n
\n
\n
\n \n \n \n \n
\n

Click on the link to complete kyc

\n
\n
\n \n Verify\n \n
\n
\n \n
\n
\n
\n { regeneratekyclinkZ() }}\n >\n Regenrate Link\n \n
\n
\n \n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n \n \n
\n
\n )\n }\n {\n currentUser?.user?.IssuerName === \"IssuerZ\" && kycstatus!=\"Approved\" &&(\n
\n
\n
\n \n \n \n \n
\n

We are reviewing your account

\n\n
\n We are reviewing your uploaded documents. This usually take\n less then 24 hours.\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n \n
\n
\n
\n )\n }\n{\n\ncurrentUser?.user?.IssuerName === \"IssuerZ\" && kycstatus==\"Approved\" &&\n(
\n
\n
\n
\n

Card Activation

\n

Please Enter your full name!

\n
\n
\n
{\n }\n \n
\n \n
\n e.target.blur()}\n type=\"text\"\n value={CardOwnerName}\n onChange={onChangeKCardOwnerName}\n validations={[requiredCardOwnerName]}\n placeholder=\"Card Owner Name is required !\"\n />\n \n \n
\n\n
\n \n \n \n
\n
\n
\n \n
\n
\n\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
\n
\n
\n {/* */}\n \n
\n
\n
\n
)\n}\n \n
\n \n \n \n \n \n setModalShow(false)}\n hideallpopups={() => setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n />\n { setModalsuccessfullShow(false); logoutUser(); }}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n
\n \n \n \n \n
\n

Successful

\n
\n
\n
\n
\n
\n

ALL Done! Please Procceed to login!

\n
\n
\n
\n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Done\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n \n );\n};\n\nexport default RegisterIssuerT;\n","import { Fragment,useState } from \"react\";\nimport { Redirect } from \"react-router-dom\";\nimport CHDashBoard from \"../cardholderCardScreens/CHDashBoard\";\nimport { logout } from \"../../actions/auth\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { haspermissions } from \"../permissions/PermissionTypes\";\nimport RegisterGlobal from \"../issuerGlobal/RegisterGlobal\";\nimport RegisterIssuerT from \"../issuerGlobal/RegisterIssuerT\";\nconst Dashboard = () => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const dispatch = useDispatch();\n if (!currentUser) {\n dispatch(logout());\n return ;\n }\nif(currentUser)\n haspermissions.CardToCard=currentUser?.user?.Permissions?.includes(\"Card to Card Transfer\");\nif(currentUser?.user?.IsPhysicalCard && !currentUser?.user?.IsCardActivate && (currentUser?.user?.IssuerName!==\"IssuerG\" && currentUser?.user?.IssuerName!==\"IssuerT\" && currentUser?.user?.IssuerName !== \"IssuerTG\"))\nreturn ;\nif(currentUser?.user?.KycApprovedByIssuer==\"Yes\" && !currentUser?.user?.IsCardActivate && (currentUser?.user?.IssuerName ==\"IssuerG\" ||\n currentUser?.user?.IssuerName===\"IssuerT\" || currentUser?.user?.IssuerName === \"IssuerTG\"||currentUser?.user?.IssuerName===\"IssuerTGV\"||\n currentUser?.user?.IssuerName===\"IssuerZ\"\n))\nreturn ;\n return (\n \n{((!currentUser?.user?.IsKycSubmitted ||currentUser?.user?.KycApprovedByIssuer===null ) && currentUser?.user?.IssuerName===\"IssuerG\") \n?() : ((!currentUser?.user?.IsKycSubmitted ||currentUser?.user?.KycApprovedByIssuer===null ) && \n(currentUser?.user?.IssuerName===\"IssuerT\" ||currentUser?.user?.IssuerName===\"IssuerTG\"||currentUser?.user?.IssuerName===\"IssuerTGV\" || currentUser?.user?.IssuerName===\"IssuerZ\")) \n?(<>)\n:\n(\n \n{ }\n \n \n)}\n \n\n \n );\n\n};\n\nexport default Dashboard;\n","import React, { useState, useEffect } from \"react\";\nimport { Fragment } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport logo from \"../../assets/images/logo.svg\";\nimport { useExternalScript } from \"../KapedCardNew/useExternalScript\";\n\nconst Navigation = props => {\n const externalScript = \"https://admin.kaped.io/pay-bill-widget/script.js\";\n const state = useExternalScript(externalScript,props?.clientId);\n\n const [activeClass, setActiveClass] = useState();\n const applyActiveClass = id => {\n setActiveClass(id);\n };\n useEffect(() => {\n setTimeout(() => {\n setActiveClass(window.location.pathname.replace(\"/\", \"\"));\n }, 200);\n }, []);\n \n const closeLeftMenu = () => {\n if (document.getElementById(\"boMenu\").classList.contains(\"bo-menu-overlay\")) {\n document.getElementById(\"boMenu\").classList.remove(\"bo-menu-overlay\");\n document.getElementById(\"body\").style = \"overflow: visible\";\n document.getElementById(\"leftNav\").style.cssText =\n \"position: unset; width: 0; height: 0; z-index: ; display : none\";\n }\n }\n const gingrlogOut=()=>{\n sessionStorage.removeItem(\"user\");\n\n\n }\n \n// const buttonB=()=>{\n// document.getElementById(\"start-funding\").click();\n// }\n var setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n return (\n
\n
\n { applyActiveClass(\"dashboard\"); closeLeftMenu(); }}\n >\n
\n {props.logo != \"\" ? (\n \"BO\n ) : (\n \n

\n CardConsole\n

\n \n )}\n
\n \n
    \n {(props?.userkyc && props?.iskycsubmitted &&(props?.KycApprovedByIssuer===null ||props?.KycApprovedByIssuer===\"No\") ) ? (\n \n {props.role.includes(\"Card holder\") && (\n \n
  • \n { applyActiveClass(\"identityVerification\"); closeLeftMenu(); }}\n >\n Kyc\n \n
  • \n \n\n
    \n )}\n
    \n ) : (!props?.iskycsubmitted && props?.userkyc)? (\n
  • \n { applyActiveClass(\"identityVerification\"); closeLeftMenu(); }}\n >\n Kyc\n \n
  • \n ) :(\n \n {props.role.includes(\"Card holder\") && (\n \n
  • \n { applyActiveClass(\"dashboard\"); closeLeftMenu(); }}\n >\n Dashboard\n \n
  • \n
  • \n { applyActiveClass(\"cards\"); closeLeftMenu(); }}\n >\n My Cards\n \n
  • \n {\n (props?.IssuerName===\"IssuerB4B\" || props?.IssuerName===\"IssuerB4Virtual\") &&(\n
  • \n { applyActiveClass(\"3dcode\"); closeLeftMenu(); }}\n >\n 3DS\n \n
  • \n\n )\n \n\n }\n \n\n {\n props.sendmoneypermission && (\n \n {setpermission !== \"true\" && (\n
  • \n { applyActiveClass(\"money\"); closeLeftMenu(); }}\n >\n Send Money\n {/* 2 */}\n \n
  • \n )}\n
    \n )\n }\n\n
  • \n { applyActiveClass(\"cardholdertransactions\");closeLeftMenu();}}\n >\n Transactions\n {/* 2 */}\n \n
  • \n
  • \n {applyActiveClass(\"cardHolder/settings\");closeLeftMenu();}}\n >\n Settings\n \n
  • \n
  • \n {applyActiveClass(\"help\");closeLeftMenu();}}\n >\n Help\n \n
  • \n {/* {\n (props?.clientId===35) &&(\n
  • \n {applyActiveClass(\"Capital\");buttonB();}}\n >\n Capital\n \n
  • \n )\n } \n */}\n
    \n )}\n
    \n )}\n
    \n {\n (props?.clientId===138||props?.clientId===137||props?.clientId===174) ?(\n
  • \n {\n gingrlogOut();\n closeLeftMenu();\n window.location.href = \"https://gingr.ch/\";\n }}\n >\n \n \n Logout\n
    \n {props.username}\n
    \n \n
  • ):(
  • \n { props.logOut(); closeLeftMenu(); }}\n >\n \n \n Logout\n
    \n {props.username}\n
    \n \n
  • )\n }\n \n
\n
\n
\n );\n};\nexport default Navigation;\n","import { useEffect, useState } from \"react\";\nexport const useExternalScript = (url,clientid) => {\n let [state, setState] = useState(url ? \"loading\" : \"idle\");\n \n useEffect(() => {\n if(clientid!==35)\n return;\n if (!url) {\n setState(\"idle\");\n return;\n }\n let script = document.querySelector(`script[src=\"${url}\"]`);\n \n const handleScript = (e) => {\n setState(e.type === \"load\" ? \"ready\" : \"error\");\n };\n \n if (!script) {\n script = document.createElement(\"script\");\n script.type = \"application/javascript\";\n script.src = url;\n script.async = true;\n document.body.appendChild(script);\n script.addEventListener(\"load\", handleScript);\n script.addEventListener(\"error\", handleScript);\n }\n \n script.addEventListener(\"load\", handleScript);\n script.addEventListener(\"error\", handleScript);\n \n return () => {\n script.removeEventListener(\"load\", handleScript);\n script.removeEventListener(\"error\", handleScript);\n };\n }, [url]);\n \n return state;\n};","import React, { useState, useRef,Fragment } from \"react\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { resetpassword } from \"../../actions/account\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\n\nconst requiredPassword = (value) => {\n if (!value) {\n document.getElementById(\"rstPass_frmGrp1\").classList.add(\"has_error\");\n return Please enterd a valid password;\n } else\n document.getElementById(\"rstPass_frmGrp1\").classList.remove(\"has_error\");\n};\nconst requiredCPassword = (value) => {\n if (!value) {\n document.getElementById(\"rstPass_frmGrp2\").classList.add(\"has_error\");\n return (\n Please enterd a valid Confirm Password\n );\n } else\n document.getElementById(\"rstPass_frmGrp2\").classList.remove(\"has_error\");\n};\nlet passwordValue = \"\";\nconst vpassword = (value) => {\n passwordValue = value;\n if (value.length < 6 || value.length > 40) {\n document.getElementById(\"rstPass_frmGrp1\").classList.add(\"has_error\");\n return (\n \n The password must be between 6 and 40 characters.\n \n );\n } else\n document.getElementById(\"rstPass_frmGrp1\").classList.remove(\"has_error\");\n};\n\nconst vcpassword = (value) => {\n if (value.length < 6 || value.length > 40) {\n document.getElementById(\"rstPass_frmGrp2\").classList.add(\"has_error\");\n return (\n \n The password must be between 6 and 40 characters.\n \n );\n } else if (value !== passwordValue) {\n document.getElementById(\"rstPass_frmGrp2\").classList.add(\"has_error\");\n return (\n \n The password and confirm password must match\n \n );\n } else\n document.getElementById(\"rstPass_frmGrp1\").classList.remove(\"has_error\");\n};\nconst ResetPassword = () => {\n const { height, width } = useWindowDimensions();\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const email = params.get(\"email\");\n const userId = params.get(\"userId\");\n const code = params.get(\"codes\");\n const form = useRef();\n const checkBtn = useRef();\n const [password, setPassword] = useState(\"\");\n const [confirmpassword, setConfirmPassword] = useState(\"\");\n const [successful, setSuccessful] = useState(false);\n const [showHidePassClass, setshowHidePassClass] = useState(\"icon-hidden\");\n const [showHideCPassClass, setshowHideCPassClass] = useState(\"icon-hidden\");\n const { message } = useSelector((state) => state.message);\n const dispatch = useDispatch();\n const onChangePassword = (e) => {\n const password = e.target.value;\n setPassword(password);\n };\n const onChangeConfirmPassword = (e) => {\n const confirmPassword = e.target.value;\n setConfirmPassword(confirmPassword);\n };\n const [passwordShown, setPasswordShown] = useState(false);\n const [cpasswordShown, setCPasswordShown] = useState(false);\n const [boloader, setBoLoader] = useState(false);\n\n const showHidePassHandler = () => {\n setPasswordShown(passwordShown ? false : true);\n setshowHidePassClass(passwordShown ? \"icon-hidden\" : \"icon-show\");\n };\n const showHideCPassHandler = () => {\n setCPasswordShown(cpasswordShown ? false : true);\n setshowHideCPassClass(cpasswordShown ? \"icon-hidden\" : \"icon-show\");\n };\n const handleResetPassword = (e) => {\n e.preventDefault();\n\n setSuccessful(false);\n\n form.current.validateAll();\n\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n\n dispatch(resetpassword(userId, code, email, password))\n .then(() => {\n setBoLoader(false);\n setSuccessful(true);\n })\n .catch(() => {\n setBoLoader(false);\n setSuccessful(false);\n });\n }\n };\n return (\n
\n { width > 767 && , \"Password\"]} />}\n \n \n
\n {!successful ? (\n
\n \n
\n {message && (\n \n {!message.success && (\n
\n \n

\n {message.message.includes(\",\") ? (\n \n {message.message.split(\".\")[0].replace(\",\", \"\")}\n
\n {message.message.split(\".\")[1].replace(\",\", \"\")}\n
\n {message.message.split(\".\")[2].replace(\",\", \"\")}\n
\n ) : (\n message.message\n )}\n

\n
\n )}\n
\n )}\n
\n

Change Password

\n
\n Please note that when changing your password, we ask you to\n set yourself a secure password.\n
\n
\n
\n
\n \n \n
\n \n \n \n
\n
\n \n \n
\n \n \n \n
\n
\n
\n \n
\n\n \n \n
\n
\n
\n ) : (\n message && (\n
\n {message.success && (\n
\n
\n \n \n \n \n
\n

Successful

\n
Your Password has been saved successfully
\n
\n \n Got It\n \n
\n
\n )}\n {/* {!message.success && (\n
\n
\n \n \n \n \n
\n

Unsuccessful

\n
{message.message}
\n
\n \n Got It\n \n
\n
\n )} */}\n
\n )\n )}\n \n \n );\n};\nexport default ResetPassword;\n","import React, { useState, useRef, Fragment } from \"react\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { isEmail } from \"validator\";\nimport { forgotPassword } from \"../../actions/account\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport { Link } from \"react-router-dom\";\n\nconst required = (value) => {\n if (!value) {\n document.getElementById(\"frgt_Pas_Email_FrmGrp\").classList.add(\"has_error\");\n return (\n Please enterd a valid email address\n );\n } else\n document\n .getElementById(\"frgt_Pas_Email_FrmGrp\")\n .classList.remove(\"has_error\");\n};\nconst validEmail = (value) => {\n if (!isEmail(value)) {\n document.getElementById(\"frgt_Pas_Email_FrmGrp\").classList.add(\"has_error\");\n return (\n Please enterd a valid email address\n );\n } else\n document\n .getElementById(\"frgt_Pas_Email_FrmGrp\")\n .classList.remove(\"has_error\");\n};\nconst ForgotPassword = () => {\n const form = useRef();\n const { height, width } = useWindowDimensions();\n const checkBtn = useRef();\n const [email, setEmail] = useState(\"\");\n const [successful, setSuccessful] = useState(false);\n const [boloader, setBoLoader] = useState(false);\n const { message } = useSelector((state) => state.message);\n //const { success } = useSelector((state) => state.success);\n\n const dispatch = useDispatch();\n const onChangeEmail = (e) => {\n const email = e.target.value;\n setEmail(email);\n };\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modalsuccessfullShow, setModalsuccessfullShow] = useState(false);\n const [showmessgae, setshowmessgae] = useState(message);\n\n const handleForgotPassword = (e) => {\n e.preventDefault();\n setSuccessful(false);\n form.current.validateAll();\n\n let WebHostUrl = window.location.origin + \"/\";\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n dispatch(forgotPassword(email, WebHostUrl))\n .then(() => {\n setSuccessful(true);\n setBoLoader(false);\n setModalsuccessfullShow(true);\n })\n .catch(() => {\n \n setSuccessful(false);\n setBoLoader(false);\n let msgBody = message\n ? message\n : \"Error Occured while sending Email \";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n return (\n
\n \n { width > 767 && , \"Password\"]} />}\n \n
\n
\n
\n
\n

Forgot Password

\n

\n Enter your email to help us find you. We’ll send you a link to\n recover your account.\n

\n
\n
\n
\n
\n \n
\n \n \n {message && }\n {/* {success && {\"message\"}} */}\n
\n \n
\n
\n {!successful && (\n \n )}\n {successful && (\n \n )}\n
\n\n \n \n
\n
\n
\n
\n setModalsuccessfullShow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n
\n \n \n \n \n
\n

Successful

\n
\n
\n
\n
\n
\n

{message}

\n
\n
\n
\n {\n setModalsuccessfullShow(false);\n }}\n >\n Done\n \n
\n
\n
\n
\n
\n
\n
\n
\n
,\n ]}\n />\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={message}\n modelicon={MdlIcon}\n />\n
\n );\n};\nexport default ForgotPassword;\n","import { useState, useEffect, useRef } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport ReactFlagsSelect from \"react-flags-select\";\nimport identityverificationObj from \"../../services/identityverification.service\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport { Fragment } from \"react\";\nimport { history } from \"../../helpers/history\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport fileuploadimg from \"../../assets/images/icons/file-upload.svg\";\nimport crossimg from \"../../assets/images/icons/cross.svg\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\n\nconst IdentityVerification = (props) => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [AddressProof, setAddressProof] = useState();\n const { height, width } = useWindowDimensions();\n const [FilePathAddressProof, setFilePathAddressProof] = useState(\"\");\n const [AddressProofList, setAddressProofList] = useState([]);\n const [IDTypeList, setIDTypeList] = useState([]);\n const [IDType, setIDType] = useState();\n const [FilePathIdType, setFilePathIdType] = useState(\"\");\n const [IssuingCountry, setIssuingCountry] = useState(\"\");\n const [successfulSubmitted, setSuccessfulSubmitted] = useState(false);\n const [allowKYC, setAllowKYC] = useState(false);\n\n const [LogoNameID, setlogoNameID] = useState(\"\");\n const [LogoNamePOF, setlogoNamePOF] = useState(\"\");\n const [LogoSizeID, setlogoSizeID] = useState();\n const [LogoSizePOF, setlogoSizePOF] = useState();\n const [isValidCountry, setisValidCountry] = useState(true);\n const [isValidIdType, setiisValidIdType] = useState(true);\n const [isValidProofofAdrs, setiisValidProofofAdrs] = useState(true);\n const [isValidLogoIdType, setiisValidLogoIdType] = useState(true);\n const [isValidLogoProofofAdrs, setisValidLogoProofofAdrs] = useState(true);\n const [UserId, setiUserId] = useState();\n const [State, seState] = useState();\n const [calledfrom, setcalledfrom] = useState();\n\n const POAAddress = useRef();\n //loader\n const [boloader, setBoLoader] = useState(false);\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [isValidFileId, setisValidFileId] = useState(true);\n const [isValidFilePoa, setiisValidFilePoa] = useState(true);\n\n var dropDownIcon = {\n paddingLeft: \"45px\",\n };\nvar mainContent=\"\";\n useEffect(() => {\n if(props?.calledfrom!==\"register\")\n mainContent=\"col-xl-6 col-lg-7 col-md-12 bo-main-content\";\n if(currentUser?.user?.IsKycSubmitted && currentUser?.user?.KycApprovedByIssuer!==\"No\")\n setSuccessfulSubmitted(true);\n if(props?.location?.state?.kycPermission===\"false\"){\n setSuccessfulSubmitted(true);\n setAllowKYC(true);\n return}\n else if (props && props.location && props.location.state) {\n setAllowKYC(true);\n if (props?.location?.state?.updatestate) {\n seState(props?.location?.state?.updatestate);\n setiUserId(props?.location?.state?.userId);\n setcalledfrom(\"update\");\n } else {\n seState(\"To the Card Holder Account\");\n setiUserId(currentUser?.user?.UserId);\n setcalledfrom(\"save\");\n }\n }\n else{\n setiUserId(currentUser?.user?.UserId);\n }\n }, []);\n useEffect(() => {\n identityverificationObj.getIdTypeEnums().then((response) => {\n if (response && response.data && response.data.payload) {\n const idType = response.data.payload.result.map((data) => {\n return {\n value: data.id,\n label: data.name,\n };\n });\n setIDTypeList(idType);\n let setdefaultval = parseInt(idType[0].value);\n setIDType(setdefaultval);\n }\n });\n }, []);\n useEffect(() => {\n identityverificationObj.getProofofAddressEnums().then((response) => {\n if (response && response.data && response.data.payload) {\n const setAddressProofs = response.data.payload.result.map((data) => {\n return {\n value: data.id,\n label: data.name,\n };\n });\n setAddressProofList(setAddressProofs);\n let setdefaultval = parseInt(setAddressProofs[0].value);\n setAddressProof(setdefaultval);\n }\n });\n }, []);\n useEffect(() => {\n setisValidCountry(true);\n }, [IssuingCountry]);\n useEffect(() => {\n setiisValidIdType(true);\n }, [IDType]);\n useEffect(() => {\n setiisValidProofofAdrs(true);\n }, [AddressProof]);\n useEffect(() => {\n setiisValidLogoIdType(true);\n }, [LogoNameID]);\n useEffect(() => {\n setisValidLogoProofofAdrs(true);\n }, [LogoNamePOF]);\n useEffect(() => {\n setisValidFileId(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setiisValidFilePoa(true);\n }, [setlogoSizePOF]);\n\n const changeHandlerPoa = (e) => {\n const status = e.target.selectedOptions[0].value;\n //const status = e.value;\n let statusvalue = parseInt(status);\n setAddressProof(statusvalue);\n // setAddressProof(e.value);\n };\n const changeHandlerIdType = (e) => {\n const status = e.target.selectedOptions[0].value;\n //const status = e.value;\n let statusvalue = parseInt(status);\n setIDType(statusvalue);\n //setIDType(e.value);\n };\n const checkUpdateSave=()=>{\n if(currentUser?.user?.KycApprovedByIssuer===\"No\")\n updateUser();\n else\n saveUser();\n }\n const updateUser = () => {\n if (IssuingCountry.trim() == null || IssuingCountry.trim() === \"\") {\n setisValidCountry(false);\n return;\n } else setisValidCountry(true);\n if (State === \"To the Card Holder Account\") {\n if (IDType === null || IDType === undefined) {\n setiisValidIdType(false);\n return;\n } else setiisValidIdType(true);\n if (LogoNameID.trim() == null || LogoNameID.trim() === \"\") {\n setiisValidLogoIdType(false);\n return;\n } else setiisValidLogoIdType(true);\n }\n if (AddressProof == null || AddressProof === undefined) {\n setiisValidProofofAdrs(false);\n return;\n } else setiisValidProofofAdrs(true);\n if (LogoNamePOF.trim() == null || LogoNamePOF.trim() === \"\") {\n setisValidLogoProofofAdrs(false);\n return;\n } else setisValidLogoProofofAdrs(true);\n if(FilePathIdType===\"\"){\n setiisValidLogoIdType(false);\n return;\n }\n if(FilePathAddressProof===\"\"){\n setisValidLogoProofofAdrs(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .updateCardHolderIdentityDocuments(\n IssuingCountry,\n IDType,\n AddressProof,\n FilePathIdType,\n FilePathAddressProof,\n UserId\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n // alert(\"saved successfully\");\n setAddressProof(\"\");\n setIDType(\"\");\n setIssuingCountry(\"\");\n setSuccessfulSubmitted(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err.response.data.title\n ? err.response.data.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }; \n const saveUser = () => {\n \n if (IssuingCountry.trim() == null || IssuingCountry.trim() === \"\") {\n setisValidCountry(false);\n return;\n } else setisValidCountry(true);\n if (State === \"To the Card Holder Account\") {\n if (IDType === null || IDType === undefined) {\n setiisValidIdType(false);\n return;\n } else setiisValidIdType(true);\n if (LogoNameID.trim() == null || LogoNameID.trim() === \"\") {\n setiisValidLogoIdType(false);\n return;\n } else setiisValidLogoIdType(true);\n }\n if (AddressProof == null || AddressProof === undefined) {\n setiisValidProofofAdrs(false);\n return;\n } else setiisValidProofofAdrs(true);\n if (LogoNamePOF.trim() == null || LogoNamePOF.trim() === \"\") {\n setisValidLogoProofofAdrs(false);\n return;\n } else setisValidLogoProofofAdrs(true);\n if(FilePathIdType===\"\"){\n setiisValidLogoIdType(false);\n return;\n }\n if(FilePathAddressProof===\"\"){\n setisValidLogoProofofAdrs(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .identityverification(\n IssuingCountry,\n IDType,\n AddressProof,\n FilePathIdType,\n FilePathAddressProof,\n UserId\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n // alert(\"saved successfully\");\n setAddressProof();\n setIDType();\n setIssuingCountry(\"\");\n setSuccessfulSubmitted(true);\n // const user = sessionStorage.getItem(\"user\");\n // user?.user?.IsKycSubmitted=true;\n // sessionStorage.setItem(\"user\", JSON.stringify(user));\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.title\n ? err?.response?.data?.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n\n const onChangeIDtype = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileId(false);\n return false;\n }\n else if (file_data.size>1000000)\n {\n setisValidFileId(false);\n return false;\n }\n setlogoNameID(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeID(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdType(response.data.payload);\n }\n });\n };\n\n const onChangeProofofaddress = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoa(false);\n return false;\n }\n else if (file_data.size>1000000)\n {\n setiisValidFilePoa(false);\n return false;\n }\n setlogoNamePOF(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizePOF(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathAddressProof(response.data.payload);\n }\n });\n };\n\n const onCrossImg = () => {\n setlogoNamePOF(\"\");\n setisValidLogoProofofAdrs(true);\n setiisValidFilePoa(true);\n };\n\n const onCrossImgId = () => {\n setlogoNameID(\"\");\n setiisValidLogoIdType(true);\n setisValidFileId(true);\n };\n\n const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n };\n\n return (\n
\n {props?.calledfrom===\"register\" &&(\n <>\n {width > 767 && (\n , \"Account\"]}\n pagemsg={State}\n />\n )}\n\n \n )}\n
\n
\n
\n \n {!successfulSubmitted && (\n
\n
\n
e.preventDefault()}>\n
\n
\n {currentUser?.user?.KycApprovedByIssuer===\"No\"?(

Your Kyc Is rejected Please Upload Again

):(

Verify Your Identity

)} \n
\n
\n
\n \n
\n setIssuingCountry(code)}\n searchable={true}\n />\n {!isValidCountry && (\n \n Country is Required\n \n )}\n
\n
\n
\n
\n \n \n
\n
\n \n
\n \n {IDTypeList.map((option) => (\n \n {option.label}\n \n ))}\n \n \n {!isValidIdType && (\n \n ID Type is Required\n \n )}\n
\n
\n
\n {LogoNameID === \"\" ? (\n
\n
\n \n   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n {!isValidFileId && (\n \n Invalid file format\n \n )}\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg & pdf with\n transparent background and max size 10 mb\n \n {!isValidLogoIdType && (\n \n ID Type is Required\n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNameID}\n
\n
\n \n {LogoSizeID}\n \n \n
\n \n
\n
\n {!isValidLogoIdType && (\n \n Valid ID Type is Required\n \n )}\n
\n )}\n \n \n
\n
\n \n
\n \n {AddressProofList.map((option) => (\n \n ))}\n \n \n {!isValidProofofAdrs && (\n \n Proof of Address is Required\n \n )}\n
\n
\n
\n {LogoNamePOF === \"\" ? (\n
\n
\n \n   \n \n
\n
\n \n \n
\n {\" \"}\n Browse file\n
\n {!isValidFilePoa && (\n \n Invalid file format\n \n )}\n
\n \n \n \n \n
\n \n Supported file types jpg,jpeg & pdf with\n transparent background and max size 10 mb\n \n {!isValidLogoProofofAdrs && (\n \n Proof of Address Document is Required\n \n )}\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n \n \n {/* \"\" */}\n
\n {LogoNamePOF}\n
\n
\n \n {LogoSizePOF}\n \n
\n
\n
\n {!isValidLogoProofofAdrs && (\n \n Valid Proof of address is required\n \n )}\n
\n )}\n\n
\n
\n \n
\n
\n
\n \n
\n
\n )}\n { successfulSubmitted && (\n
\n
\n
\n \n \n \n \n
\n

We are reviewing your account

\n \n
\n We are reviewing your uploaded documents. This usually take\n less then 24 hours.\n
\n {/*
\n history.push(\"/login\")}\n >\n OK\n \n
*/}\n
\n
\n )}\n {\n allowKYC &&(\n
\n
\n
\n \n \n \n \n
\n

KYC Submitted Successfully !

\n {/*
\n Click to Login screen.\n
*/}\n
\n history.push(\"/login\")}\n >\n OK\n \n
\n
\n
\n )\n }\n
\n
\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n />\n \n \n );\n};\n\nexport default IdentityVerification;\n","export default __webpack_public_path__ + \"static/media/file-upload.94fc4143.svg\";","import React, { useState, useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { history } from \"../../helpers/history\";\n\nimport { get_two_FA_Code } from \"../../actions/account\";\nimport TwoFaForm from \"./TwoFaForm\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\n\nconst TwoFAVerification = (props) => {\n const { height, width } = useWindowDimensions();\n const { registeredUser: registerationData } = useSelector(\n (state) => state.account\n );\n\n const [two_fa_successful, set_two_fa_Successful] = useState(false);\n const [State, seState] = useState();\n const [KycPermission, setKycPermission] = useState();\n\n\n const dispatch = useDispatch();\n useEffect(() => {\n if(props?.location?.state?.calledfrom){\n seState(props.location.state.calledfrom);\n setKycPermission(props.location.state.kycPermission)\n }else{\n let Id = props.location.state.split(\"userid\");\n seState(Id[2]);}\n handleTwo_FA();\n }, []);\n if (!registerationData) {\n history.push(\"/register\");\n }\n const handleTwo_FA = () => {\n if (registerationData) {\n set_two_fa_Successful(false);\n dispatch(get_two_FA_Code(registerationData.root.id))\n .then(() => {\n set_two_fa_Successful(true);\n })\n .catch(() => {\n set_two_fa_Successful(false);\n });\n }\n };\n\n return (\n
\n {width > 767 && , \"Code\"]}\n pagemsg={State}\n />}\n
\n {two_fa_successful && (\n \n )}\n {/*
*/}\n
\n \n );\n};\n\nexport default TwoFAVerification;\n","import React, { useState, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport { history } from \"../../helpers/history\";\n\nconst Verification = () => {\n const { height, width } = useWindowDimensions();\n const [success, setSuccess] = useState(false);\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const status = params.get(\"Status\");\n const userId = params.get(\"lookup\");\n\n useEffect(() => {\n if (status === \"true\")\n setSuccess(true);\n else\n setSuccess(false)\n }, []);\n const gotoidentitypage=()=>{\n //history.push(\"/identityVerification\", {userId,updatestate:\"To the Card Holder Account\"});\n history.push(\"/login\");\n }\n return (\n
\n {width > 767 && , \"Account\"]}\n pagemsg={\"\"}\n />}\n\n\n
\n
\n {success && (\n
\n
\n
\n \n \n \n \n
\n

Great, All Done!

\n
You have Successfully completed the process
\n
\n \n Go to Dashboard\n \n
\n
\n
\n )}\n {!success && (\n
\n
\n
\n \n \n \n \n
\n

Verification Unsuccessful

\n
\n Your document could not be verified. You need to get in touch\n with our Support team.\n
\n
\n \n
\n
\n
\n )}\n
\n
\n
\n );\n};\n\nexport default Verification;\n","import { useState, useRef } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport ModelPopup from \"../helpers/ModelPopup\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { Fragment } from \"react\";\nimport TwoFaForm from \"./account/TwoFaForm\";\nimport settingsService from \"../services/settings.service\";\nimport DialoguePopup from \"../helpers/DialoguePopup\";\nimport BoLoader from \"../helpers/BoLoader\";\nimport RefreshToken from \"../helpers/RefreshToken\";\nconst cprequired = (value) => {\n if (!value) {\n if (!value) {\n document.getElementById(\"frmgrp-cpassword\").classList.add(\"has_error\");\n return Current Password is required!;\n } else\n document.getElementById(\"frmgrp-cpassword\").classList.remove(\"has_error\");\n }\n};\nconst nprequired = (value) => {\n if (!value) {\n if (!value) {\n document.getElementById(\"frmgrp-nwpassword\").classList.add(\"has_error\");\n return New Password is required!;\n } else\n document\n .getElementById(\"frmgrp-nwpassword\")\n .classList.remove(\"has_error\");\n }\n};\nconst cnprequired = (value) => {\n if (!value) {\n if (!value) {\n document.getElementById(\"frmgrp-cnwpassword\").classList.add(\"has_error\");\n return (\n Confirm New Password is required!\n );\n } else\n document\n .getElementById(\"frmgrp-cnwpassword\")\n .classList.remove(\"has_error\");\n }\n};\nlet passwordValue = \"\";\nconst vcpassword = (value) => {\n if (value.length < 8 || value.length > 20) {\n document.getElementById(\"frmgrp-cpassword\").classList.add(\"has_error\");\n return (\n The password must be between 8 and 20 characters!\n );\n } else\n document.getElementById(\"frmgrp-cpassword\").classList.remove(\"has_error\");\n};\nconst vnpassword = (value) => {\n passwordValue = value;\n if (value.length < 8 || value.length > 20) {\n document.getElementById(\"frmgrp-nwpassword\").classList.add(\"has_error\");\n return (\n The password must be between 8 and 20 characters!\n );\n } else\n document.getElementById(\"frmgrp-nwpassword\").classList.remove(\"has_error\");\n};\nconst vcnpassword = (value) => {\n if (value.length < 6 || value.length > 20) {\n document.getElementById(\"frmgrp-cnwpassword\").classList.add(\"has_error\");\n return (\n The password must be between 8 and 20 characters!\n );\n } else if (value !== passwordValue) {\n return (\n \n New password and confirm password must match!\n \n );\n } else\n document.getElementById(\"frmgrp-cnwpassword\").classList.remove(\"has_error\");\n};\nconst SettingsPageData = () => {\n const form = useRef();\n const checkBtn = useRef();\n const { user: currentUser } = useSelector((state) => state.auth);\n const [changePasswordMdlShow, setchangePasswordMdlShow] = useState(false);\n const [currentPassword, setCurrentPassword] = useState(\"\");\n const [newPassword, setNewPassword] = useState(\"\");\n const [cnewPassword, setCNewPassword] = useState(\"\");\n const [showTwoFA, setShowTwoFA] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [modalShow, setModalShow] = useState(false);\n //Loader\n const [boloader, setBoLoader] = useState(false);\n\n const ChangePasswordHandler = (e) => {\n setchangePasswordMdlShow(true);\n };\n const onChangeCPasswordHandler = (e) => {\n setCurrentPassword(e.target.value);\n };\n const onChangeNewPasswordHandler = (e) => {\n setNewPassword(e.target.value);\n };\n const onChangeCNPasswordHandler = (e) => {\n setCNewPassword(e.target.value);\n };\n const submitChangePasswordHandler = (e) => {\n e.preventDefault();\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n validateCurrentPassword();\n } \n // else {\n // let errIcon = \"icon-error\";\n // errorAndSuccessModl(\n // \"Error\",\n // \"Please enter correct current password\",\n // errIcon\n // );\n // }\n };\n const validateCurrentPassword = (e) => {\n setBoLoader(true);\n settingsService\n .checkCurrentPassword(currentUser.id, currentPassword, newPassword)\n .then((resp) => {\n if (resp && resp.data && !resp.data.payload.result.success) {\n let msgBody =\n resp && resp.data && resp.data.payload.result.message\n ? resp.data.payload.result.message\n : \"Error Occured while Validating Current Password\";\n if (msgBody.includes(\",\")) {\n msgBody = (\n \n {msgBody.split(\".\")[0].replace(\",\", \"\")}\n
\n {msgBody.split(\".\")[1].replace(\",\", \"\")}\n
\n {msgBody.split(\".\")[2].replace(\",\", \"\")}\n
\n );\n }\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n setShowTwoFA(false);\n } else {\n setShowTwoFA(true);\n }\n\n setBoLoader(false);\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody =\n err && err.response && err.response.data\n ? err.response.data.message\n : \"Error Occured while Validating Current Password\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n setShowTwoFA(false);\n (async () => {\n let resp = await RefreshToken(\n err && err.response && err.response.status\n );\n if (resp) {\n window.location.reload();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n })();\n });\n };\n const errorAndSuccessModl = (heading, body, Icon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(Icon);\n };\n const CloseMdlPopHandler = (e) => {\n e.preventDefault();\n setCurrentPassword(\"\");\n setNewPassword(\"\");\n setCNewPassword(\"\");\n setchangePasswordMdlShow(false);\n setShowTwoFA(false);\n };\n const closeModelonPopupHide = () => {\n setCurrentPassword(\"\");\n setNewPassword(\"\");\n setCNewPassword(\"\");\n setchangePasswordMdlShow(false);\n setShowTwoFA(false);\n };\n return (\n \n \n
\n

Profile Details

\n
e.preventDefault()}>\n
\n
\n
    \n
  • \n
    \n \n {currentUser.user.Name}\n
    \n
  • \n
  • \n
    \n \n {currentUser.user.Email}\n
    \n
  • \n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n Change Password\n \n
\n
\n
\n
\n
\n {\n closeModelonPopupHide();\n }}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
\n
\n
\n

Change Password

\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n Cancel\n \n \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n {showTwoFA && (\n CloseMdlPopHandler()}\n />\n )}\n \n
,\n ]}\n />\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n hideallpopups={() => {\n setModalShow(false);\n CloseMdlPopHandler();\n }}\n />\n
\n );\n};\n\nexport default SettingsPageData;\n","import React, { useEffect, useRef, useState, Fragment } from \"react\";\nimport ReactFlagsSelect from \"react-flags-select\";\nimport fileupload from \"../../assets/images/icons/file-upload.svg\";\nimport file from \"../../assets/images/icons/file.svg\";\nimport fileaddress from \"../../assets/images/icons/file-address.svg\";\nimport identityverificationObj from \"../../services/identityverification.service\";\nimport cross from \"../../assets/images/icons/cross.svg\";\nimport { Link } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\n\nvar objId = \"\";\nvar objPof = \"\";\nconst SettingIdVerification = () => {\n //Use Selectors\n const { user: currentUser } = useSelector((state) => state.auth);\n //Use States\n const [AddressProof, setAddressProof] = useState();\n const [FilePathAddressProof, setFilePathAddressProof] = useState(\"\");\n const [AddressProofList, setAddressProofList] = useState([]);\n const [IDTypeList, setIDTypeList] = useState([]);\n const [IDType, setIDType] = useState();\n const [FilePathIdType, setFilePathIdType] = useState(\"\");\n const [IssuingCountry, setIssuingCountry] = useState(\"\");\n const [successfulSubmitted, setSuccessfulSubmitted] = useState(false);\n const [LogoNameID, setlogoNameID] = useState(\"\");\n const [LogoNamePOF, setlogoNamePOF] = useState(\"\");\n const [LogoSizeID, setlogoSizeID] = useState();\n const [LogoSizePOF, setlogoSizePOF] = useState();\n const [isValidCountry, setisValidCountry] = useState(true);\n const [isNewField, setisNewField] = useState(true);\n const [IsNewCountry, setIsNewCountry] = useState(true);\n const [IsNewIdType, setIsNewIdType] = useState(true);\n const [IsnewProofofAddress, setIsnewProofofAddress] = useState(true);\n const [isValidFile, setisValidFile] = useState(true);\n\n //GetUserDocumentsState\n const [userId, setuserId] = useState(currentUser.user.UserId);\n const [ClientId, setiClientId] = useState(currentUser.user.ClientId);\n const [UserId, setiUserId] = useState(currentUser.user.UserId);\n\n //useReFerences\n const POAAddress = useRef();\n const IdType = useRef();\n //loader\n const [boloader, setBoLoader] = useState(false);\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [downloadAddress, setDownloadAddress] = useState(\"\");\n const [downloadType, setDownloadType] = useState(\"\");\n\n var dropDownIcon = {\n paddingLeft: \"45px\",\n };\n var acceptfiles = \".gif,.jpg,.jpeg,.png\";\n\n //Use Effects\n useEffect(() => {\n identityverificationObj.getIdTypeEnums().then((response) => {\n const idType = response.data.payload.result.map((data) => {\n return {\n value: data.id,\n label: data.name,\n };\n });\n setIDTypeList(idType);\n let setdefaultval = parseInt(idType[0].value);\n setIDType(setdefaultval);\n });\n }, []);\n useEffect(() => {\n identityverificationObj.getProofofAddressEnums().then((response) => {\n if (response && response.data && response.data.payload) {\n const setAddressProofs = response.data.payload.result.map((data) => {\n return {\n value: data.id,\n label: data.name,\n };\n });\n setAddressProofList(setAddressProofs);\n let setdefaultval = parseInt(setAddressProofs[0].value);\n setAddressProof(setdefaultval);\n }\n });\n }, []);\n useEffect(() => {\n setisValidCountry(true);\n }, [IssuingCountry]);\n useEffect(() => {\n setisValidCountry(true);\n }, [IssuingCountry]);\n useEffect(() => {\n setisValidFile(true);\n }, [setlogoSizePOF]);\n useEffect(() => {\n identityverificationObj.getuseridentities(userId).then((response) => {\n if (response && response.data && response.data.payload.succeeded) {\n if (response.data.payload.result) {\n if (response.data.payload.result.filePathIdType) {\n objId = response.data.payload.result.filePathIdType;\n var obj1 = objId.split(\"name\");\n setlogoNameID(obj1[1]);\n setDownloadType(response.data.payload.result.filePathIdType);\n }\n if (response.data.payload.result.filePathAddressProof) {\n objPof = response.data.payload.result.filePathAddressProof;\n var obj2 = objPof.split(\"name\");\n setlogoNamePOF(obj2[1]);\n setDownloadAddress(response.data.payload.result.filePathAddressProof)\n }\n\n setIssuingCountry(response.data.payload.result.issuingCountry);\n setIDType(response.data.payload.result.idType);\n setAddressProof(response.data.payload.result.addressProof);\n }\n else {\n setIsNewCountry(false);\n setisNewField(false);\n }\n\n }\n\n });\n }, []);\n const changeHandlerPoa = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setAddressProof(statusvalue);\n };\n const changeHandlerIdType = (e) => {\n const status = e.target.selectedOptions[0].value;\n let statusvalue = parseInt(status);\n setIDType(statusvalue);\n };\n const saveUser = () => {\n if (IssuingCountry.trim() == null || IssuingCountry.trim() === \"\") {\n setisValidCountry(false);\n return;\n } else setisValidCountry(true);\n setBoLoader(true);\n identityverificationObj\n .updateCardHolderIdentityDocuments(\n IssuingCountry,\n IDType,\n AddressProof,\n FilePathIdType,\n FilePathAddressProof,\n UserId,\n ClientId\n )\n .then((response) => {\n setBoLoader(false);\n if (response && response.data && !response.data.isError) {\n setSuccessfulSubmitted(true);\n errorAndSuccessModl(\n \"Success\",\n \"Updated Successfully\",\n \"icon-successful\"\n );\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err.response.data.title\n ? err.response.data.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n\n const onChangeIDtype = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFile(false);\n return false;\n }\n setlogoNameID(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeID(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdType(response.data.payload);\n }\n });\n setIsNewIdType(false);\n setisNewField(false);\n };\n\n const onChangeProofofaddresses = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFile(false);\n return false;\n }\n setlogoNamePOF(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizePOF(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathAddressProof(response.data.payload);\n }\n });\n setIsnewProofofAddress(false);\n setisNewField(false);\n };\n\n const onCrossImg = () => {\n setlogoNamePOF(\"\");\n };\n\n const onCrossImgId = () => {\n setlogoNameID(\"\");\n };\n\n const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n };\n const onEditCountry = (e) => {\n setIsNewCountry(false);\n setisNewField(false);\n };\n const onEditIdType = (e) => {\n document.getElementById(\"id_idtype\").click();\n };\n const onEditProofofAddrs = (e) => {\n document.getElementById(\"id_poatype\").click();\n };\n const onCloseEditCountryType = () => {\n setIsNewCountry(true);\n setisNewField(true);\n };\n const onCloseEditIdType = () => {\n setIsNewIdType(true);\n setisNewField(true);\n };\n const onCloseEditProofOfAddress = () => {\n setIsnewProofofAddress(true);\n setisNewField(true);\n setisValidFile(true);\n };\n const resetPage = () => {\n identityverificationObj.getuseridentities(userId).then((response) => {\n if (response.data.payload.succeeded) {\n if (response.data.payload.result) {\n if (response.data.payload.result.filePathIdType) {\n objId = response.data.payload.result.filePathIdType;\n var obj1 = objId.split(\"name\");\n setlogoNameID(obj1[1]);\n }\n if (response.data.payload.result.filePathAddressProof) {\n objPof = response.data.payload.result.filePathAddressProof;\n var obj2 = objPof.split(\"name\");\n setlogoNamePOF(obj2[1]);\n }\n setIssuingCountry(response.data.payload.result.issuingCountry);\n setIDType(response.data.payload.result.idType);\n setAddressProof(response.data.payload.result.addressProof);\n }\n }\n });\n setIsnewProofofAddress(true);\n setisValidFile(true);\n if (IssuingCountry !== \"\") {\n setisNewField(true);\n setIsNewCountry(true);\n }\n setIsNewIdType(true);\n };\n const cancelBtn = () => {\n resetPage();\n };\n\n return (\n \n
\n

Your ID is Verified

\n
\n
\n
\n
\n \n
\n {IsNewCountry ? (\n \n setIssuingCountry(code)}\n disabled\n />\n {IssuingCountry !== \"\" && \n \n }\n \n ) : (\n \n setIssuingCountry(code)}\n />\n {!isValidCountry && (\n \n Country is Required\n \n )}\n \n )}\n
\n
\n
\n
\n\n {IsNewIdType && (\n
\n
\n \n
\n \n\n \n \n \n {/* \"uploadicon\" */}\n \n {/* \n \n */}\n \n {!isValidFile && (\n \n Invalid file format\n \n )}\n
\n
\n
\n )}\n {/* */}\n {!IsNewIdType && (\n
\n
\n
\n
\n \n \n
\n \n {IDTypeList.map((option) => (\n \n ))}\n \n \n
\n
\n
\n
\n\n
\n
\n
\n
\n \n {/* \"fileicon\" */}\n
\n {LogoNameID}\n
\n
\n
\n {LogoSizeID}\n \n
\n
\n
\n
\n
\n
\n )}\n
\n\n {/* */}\n {IsnewProofofAddress && (\n
\n )}\n {/* */}\n {!IsnewProofofAddress && (\n
\n
\n
\n
\n \n
\n \n {AddressProofList.map((option) => (\n \n ))}\n \n \n
\n
\n
\n\n
\n
\n
\n
\n \n {/* \"fileicon\" */}\n
\n {LogoNamePOF}.jpg\n
\n
\n
\n {LogoSizePOF}\n \n
\n
\n
\n
\n
\n
\n )}\n
\n\n {!isNewField && (\n
\n
\n \n Cancel\n \n \n Submit\n \n
\n
\n )}\n \n
\n {\n setModalShow(false);\n resetPage();\n }}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n hideallpopups={() => {\n setModalShow(false);\n resetPage();\n }}\n />\n
\n );\n};\n\nexport default SettingIdVerification;\n","export default __webpack_public_path__ + \"static/media/file.f9c70725.svg\";","export default __webpack_public_path__ + \"static/media/file-address.2a47f59f.svg\";","import React, { useEffect, useState } from \"react\";\nimport SettingsPageData from \"../SettingsPageData\";\nimport SettingIdVerification from \"./SettingIdVerification\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { haspermissions } from \"../permissions/PermissionTypes\";\n\nconst Settings = () => {\n const { user: currentUser } = useSelector(state => state.auth);\n const [ProfileTab, setProfileTab] = useState(\n \"nav-link d-flex align-items-center\"\n );\n const [ProfileTabAreaSelected, setProfileTabAreaSelected] = useState(\"false\");\n const [IdVerificationTab, setIdVerificationTab] = useState(\n \"nav-link d-flex align-items-center\"\n );\n const [IdVerificationTabAreaSelected, setIdVerificationTabAreaSelected] =\n useState(\"false\");\n const [content, setContent] = useState(

No Record Found

);\n if (currentUser) {\n haspermissions.CardToCard= currentUser?.user?.Permissions?.includes(\"Card to Card Transfer\");\n haspermissions.UserKyc= currentUser?.user?.Permissions?.includes(\"User KYC\");\n \n }\n useEffect(() => {\n btnProfile();\n }, []);\n const btnProfile = () => {\n setProfileTab(\"nav-link active d-flex align-items-center\");\n setProfileTabAreaSelected(\"true\");\n setIdVerificationTab(\"nav-link d-flex align-items-center\");\n setIdVerificationTabAreaSelected(\"false\");\n\n setContent();\n };\n\n const btnIdVerification = () => {\n setIdVerificationTab(\"nav-link active d-flex align-items-center\");\n setIdVerificationTabAreaSelected(\"true\");\n setProfileTab(\"nav-link d-flex align-items-center\");\n setProfileTabAreaSelected(\"false\");\n setContent();\n };\n\n return (\n
\n
\n \n
  • \n \n \n Profile info\n \n
  • \n { haspermissions.UserKyc &&(\n
  • \n \n ID verfication\n \n
  • \n )} \n \n
    \n
    \n
    \n {content}\n
    \n
    \n
    \n );\n};\n\nexport default Settings;\n","import axios from \"axios\";\nimport authHeader from \"./auth-header\";\nimport { Env } from \"../enviroment/environment\";\n\nconst API_URL = Env.UserApiUrl;\nconst submitHelpQuery = (UserId, Title, QuerryText) => {\n return axios\n .post(\n API_URL + \"querryemail\",\n { UserId, Title, QuerryText },\n { headers: authHeader() }\n )\n .then((response) => {\n return response;\n });\n};\nconst HelpObj = {\n submitHelpQuery,\n};\nexport default HelpObj;\n","import { useState, useRef } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { history } from \"../helpers/history\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport TextArea from \"react-validation/build/textarea\";\nimport CheckButton from \"react-validation/build/button\";\nimport helpService from \"../services/help.service\";\nimport BoLoader from \"../helpers/BoLoader\";\nconst TitleRequired = (value) => {\n if (!value) {\n document.getElementById(\"helpTitle_frmGrp\").classList.add(\"has_error\");\n return Title is required;\n } else {\n document.getElementById(\"helpTitle_frmGrp\").classList.remove(\"has_error\");\n }\n};\nconst DescRequried = (value) => {\n if (!value) {\n document.getElementById(\"helpDescp_frmGrp\").classList.add(\"has_error\");\n return Description is required;\n } else {\n document.getElementById(\"helpDescp_frmGrp\").classList.remove(\"has_error\");\n }\n};\nconst Help = () => {\n const [successfullyFormSubmitted, setsuccessfullyFormSubmitted] =\n useState(false);\n const [helpTitle, sethelpTitle] = useState(\"\");\n const [helpDescription, sethelpDescription] = useState(\"\");\n const [boloader, setBoLoader] = useState(false);\n const { user: currentUser } = useSelector((state) => state.auth);\n const form = useRef();\n const checkBtn = useRef();\n const submitHelpHandler = (e) => {\n e.preventDefault();\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n helpService\n .submitHelpQuery(currentUser.id, helpTitle, helpDescription)\n .then((resp) => {\n setBoLoader(false);\n if (resp.data.success) {\n setsuccessfullyFormSubmitted(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n setsuccessfullyFormSubmitted(false);\n });\n }\n };\n const helpTitleChangeHandler = (e) => {\n sethelpTitle(e.target.value);\n };\n const helpDescriptionChangeHandler = (e) => {\n sethelpDescription(e.target.value);\n };\n return (\n
    \n {!successfullyFormSubmitted && (\n
    \n

    Write Down Your Query

    \n \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n {\n document\n .getElementById(\"cardsNavLink\")\n .classList.add(\"active\");\n document\n .getElementById(\"helpNavLink\")\n .classList.remove(\"active\");\n history.push(\"/cardholdercards\");\n \n }}\n >\n Cancel\n \n
    \n
    \n \n \n
    \n )}\n {successfullyFormSubmitted && (\n
    \n
    \n \n \n \n \n
    \n

    Request Submitted

    \n
    \n
    \n

    \n For further queries Admin will reach out via email if more\n details are required we will contact you.\n

    \n
    \n
    \n
    \n {setsuccessfullyFormSubmitted(false);sethelpTitle(\"\");sethelpDescription(\"\");}}\n >\n Back to Help\n \n
    \n
    \n )}\n
    \n );\n};\n\nexport default Help;\n"," import React, { useState,useEffect } from \"react\";\nimport { Fragment } from \"react\";\nimport CardDetails from \"./CardDetails\";\nimport CardHolderDetails from \"./CardHolderDetails\";\nimport SearchGridCards from \"./SearchGridCards\";\nimport CardLimit from \"./CardLimits\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport { useSelector } from \"react-redux\";\nimport SearchGridCardTransactions from \"./SearchGridCardTransactions\";\nconst CardHolderCards = () => {\n // const [confirmmodalShow, setCnfrmModalShow] = useState(false);\n const { height, width } = useWindowDimensions();\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(currentUser.user.UserId);\n const [ClientBalance, setClientBalance] = useState();\n const [CardNumber, setCardNumber] = useState();\n const [creditBalance, setCreditBalance] = useState(\"\");\n const [pendingbalance, setpendingbalance] = useState(\"\");\n const getCardDetails = () => {\n cardholdercardsObj.getCardDetails().then(\n (response) => {},\n (error) => {}\n );\n };\n const getCardLimits = () => {\n cardholdercardsObj.getCardLimits().then(\n (response) => {},\n (error) => {}\n );\n };\n useEffect(() => {\n cardholdercardsObj.getCardNumber(UserId).then(\n (response) => {\n setCardNumber(response.data.payload.result.tokenId);\n },\n (error) => {\n }\n );\n \n }, [])\n useEffect(() => {\n if (currentUser?.user?.IsPhysicalCard) {\n cardholdercardsObj.getBalancePhysical(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload){\n setClientBalance(response.data.payload.result.item1.balance);\n setpendingbalance(response.data.payload.result.item1.pendingBalance);\n }\n },\n (error) => {\n \n }\n );\n }\n else {\n \n cardholdercardsObj.getSuperAdminBalance(UserId).then(\n (response) => {\n if(response && response.data && response.data.payload)\n setClientBalance(response.data.payload.result.item1.balance);\n \n },\n (error) => {\n \n }\n );\n }\n }, [])\n useEffect(() => {\n cardholdercardsObj.creditLimitCalculation(UserId).then((resp)=>{\n setCreditBalance(resp?.data?.payload?.result?.totalLimit);\n }).catch((error)=>{\n\n });\n\n }, [])\n\n return (\n \n
    \n

    \n Your Cards1\n

    \n
    \n \n \n
    \n\n
    {width <= 991 && }
    \n \n
    \n \n {width > 991 && }\n
    \n );\n};\n\nexport default CardHolderCards;\n","export default __webpack_public_path__ + \"static/media/transfer.2255565f.svg\";","export default __webpack_public_path__ + \"static/media/receiving.f43fdfe0.svg\";","export default __webpack_public_path__ + \"static/media/withdraw.3336b790.svg\";","import axios from \"axios\";\nimport { Env } from \"../enviroment/environment\";\nimport authHeader from \"./auth-header\";\n\nconst API_URL = Env.CardHolderApiUrl;\nconst API_URL_BANK_ACCOUNT = Env.BankAccountApiUrl;\n\nconst getcardholderDetail = (CardHolderId) => {\n return axios\n .get(API_URL + \"getcardholderDetail?CardHolderId=\" + CardHolderId, {\n headers: authHeader(),\n })\n .then((res) => {\n return res;\n });\n};\nconst updateCardHolderStatus = (cardholderId, isActive) => {\n return axios\n .post(\n API_URL +\n \"updateStatus?cardholderId=\" +\n cardholderId +\n \"&isActive=\" +\n isActive,\n {},\n { headers: authHeader() }\n )\n .then((res) => {\n return res;\n });\n};\nconst gettransactiondata = () => {\n return axios\n .post(API_URL + \"getcardholderDetail\", {}, { headers: authHeader() })\n .then((res) => {\n return res;\n });\n};\nconst GetAccountDetails = (userId) => {\n return axios\n .post(API_URL_BANK_ACCOUNT + \"GetAccountDetails?userId=\" + userId,{}, {\n headers: authHeader()\n })\n .then((res) => {\n return res;\n });\n};\nconst checkstatus = (userId) => {\n return axios\n .post(\n API_URL_BANK_ACCOUNT + \"checkstatus?userId=\" + userId,\n {},\n {\n headers: authHeader(),\n }\n )\n .then((res) => {\n return res;\n });\n};\nconst getcorporateaccountdetails = (userId) => {\n return axios\n .post(API_URL_BANK_ACCOUNT + \"getcorporateaccountdetails?userId=\" + userId,{}, {\n headers: authHeader()\n })\n .then((res) => {\n return res;\n });\n};\nconst cardHolderService = {\n getcardholderDetail,\n updateCardHolderStatus,\n gettransactiondata,\n GetAccountDetails,\n checkstatus,\n getcorporateaccountdetails\n};\nexport default cardHolderService;\n","import { useState, Fragment, useEffect } from \"react\";\n// import DonutChart from \"../../helpers/DonutChart\";\n// import chartsImg from \"../../assets/images/chart.svg\";\nimport { useSelector } from \"react-redux\";\n// import viewAllImg from \"../../assets/images/icons/arrow-right.svg\";\n// import rcvngImg from \"../../assets/images/icons/receiving.svg\";\n// import wdrwImg from \"../../assets/images/icons/withdraw.svg\";\n// import trnsfrImg from \"../../assets/images/icons/transfer.svg\";\n// import stackedCrdsImg from \"../../assets/images/stacked-cards.png\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport cardHolderService from \"../../services/cardholder.service\";\n// import { Env } from \"../../enviroment/environment\";\nimport CardDetails from \"./CardDetails\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport SearchGridCardTransactions from \"./SearchGridCardTransactions\";\nimport cardholdercardsObj from \"../../services/cardholder-cards.service\";\nimport KapedVirtualAssistant from \"./KapedVirtualAssistant\";\n// const API_URL = Env.CardsApiUrl;\n// var colorscheme;\nconst CardHolderTransactions = () => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n\n const [transContent, settransContent] = useState();\n const { height, width } = useWindowDimensions();\n const [boloader, setBoLoader] = useState(false);\n const [transDataSuccessful, settransDataSuccessful] = useState(false);\n const [limits, setlimits] = useState();\n useEffect(() => {\n setBoLoader(true);\n settransDataSuccessful(true);\n cardHolderService.gettransactiondata().then(\n (response) => {\n setBoLoader(false);\n settransContent(response.data.payload);\n settransDataSuccessful(true);\n },\n (error) => {\n setBoLoader(false);\n }\n );\n }, []);\n useEffect(() => {\n getCardLimits();\n \n }, [])\n const getCardLimits = () => {\n setBoLoader(true);\n cardholdercardsObj.getCardLimits(UserId).then((res)=>{\nif(res){\n setBoLoader(false);\n setlimits(res?.data?.payload?.result?.item1);\n}\n }).catch(()=>{\n setBoLoader(false);\n\n });\n \n };\n // useEffect(() => {\n // if (currentUser) {\n // var themename = currentUser.user.ThemeName;\n \n // if (themename === \"theme1\") {\n // colorscheme= [\"#89455E\", \"#E0DCDC\"]\n // }\n // if (themename === \"theme2\") {\n // colorscheme= [\"#175873\",\"#D0E7E0\"]\n // }\n // if (themename === \"theme3\") {\n // colorscheme= [\"#0077B6\",\"#90E0EF\"]\n // }\n // if (themename === \"theme4\") {\n // colorscheme= [\"#723D46\",\"#C9CBA3\"]\n // }\n // if (themename === \"theme5\") {\n // colorscheme=[\"#B07D62\",\"#EDC4B3\"]\n // }\n // if (themename === \"theme6\") {\n // colorscheme= [\"#EA5455\",\"#FFE49B\"]\n // }\n // if (themename === \"theme7\") {\n // colorscheme= [\"#0C2D48\",\"#B1D4E0\"]\n // }\n // if (themename === \"theme8\") {\n // colorscheme= [\"#433673\",\"#05F2AF\"]\n // }\n // if (themename === \"theme9\") {\n // colorscheme= [\"#433673\",\"#05F2AF\"]\n // }\n // }\n // else{\n // colorscheme= [\"#89455E\", \"#E0DCDC\"]\n // }\n // }, []);\n \n \n return (\n \n
    \n \n
    \n
    \n
    e.preventDefault}>\n
    \n {/*
    \n

    Overall Transactions

    \n
    */}\n {/*
    \n \n
    \n
    \n \n \n
    \n \n
    \n \n
    */}\n {/*
    \n
    \n {transDataSuccessful && (\n
    */}\n {/*
    \n
    \n {transContent ? (\n \n ) : (\n \"chartsImg\"\n )}\n
    \n
    */}\n {/*
    \n
    \n
    \n
    \n

    Grocery

    \n
    \n {limits?.groceryAmount?limits.groceryAmount:\"0\" }\n
    \n
    \n
    \n

    ATM Withdrawal

    \n
    \n {limits?.atmTransactionAmount?limits.atmTransactionAmount:\"0\" }\n
    \n
    \n
    \n

    Bank Transfer

    \n
    \n {limits?.bankTransfer?limits.bankTransfer:\"0\" }\n
    \n
    \n
    \n

    Travel

    \n
    \n {limits?.travelAmount?limits.travelAmount:\"0\" }\n
    \n
    \n
    \n

    Bills and Utilities

    \n
    \n {limits?.billAndUtilitiesAmount?limits.billAndUtilitiesAmount:\"0\" }\n
    \n
    \n
    \n

    Others

    \n
    \n {limits?.others?limits.others:\"0\" }\n
    \n
    \n
    \n
    \n
    */}\n {/*
    \n )}\n
    \n
    */}\n
    \n \n
    \n
    \n\n
    \n {width <= 991 && (\n
    \n
    \n \n
    \n

    \n Your Cards1\n

    \n
    \n \n
    \n
    \n )}\n
    \n \n
    \n {width > 991 && (\n
    \n
    \n \n
    \n

    \n Your Cards1\n

    \n
    \n \n
    \n
    \n )}\n
    \n );\n};\n\nexport default CardHolderTransactions;\n","import React, { useEffect, Suspense, lazy, Fragment, useState } from \"react\";\nrequire(\"../../src/assets/scss/screen1.css\");\nconst selectedTheme = localStorage.getItem(\"ThemeSelected\");\nif (selectedTheme === \"theme1\") {\n import(\"../../src/assets/scss/screen1.css\");\n} else {\n localStorage.setItem(\"ThemeReload\", \"true\");\n import(\"../../src/assets/scss/screen1.css\");\n}\n\nconst Theme7 = lazy(async () => {\n let obj = await import(\"../../src/assets/scss/screen1.css\");\n return typeof obj.default === \"function\" ? obj : obj.default;\n});\n\nconst ThemeSelector = ({ children }) => {\n var CHOSEN_THEME = \"selectedTheme\";\n return (\n \n }>\n {CHOSEN_THEME === \"theme7\" && }\n \n {children}\n \n );\n};\n\nexport default ThemeSelector;\n","import React, { useEffect, useState, Fragment } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport CardLimit from \"../cardholderCardScreens/CardLimits\";\nimport tickRound from \"../../assets/images/tick-round.svg\";\nimport eyeOn from \"../../assets/images/eye-on.svg\";\nimport wifiSignalCard from \"../../assets/images/wifi-signal.svg\";\n\nvar primary;\nvar secondary;\nvar lighter1;\nvar lighter2;\nvar mainBg;\nvar menuBg;\nvar cardBg;\nvar selectedTab;\nvar tabHover;\nvar headingText;\nvar icon;\nvar line;\nvar textBox;\nvar font;\nconst PreviewTheme = props => {\n const [activeClass, setActiveClass] = useState(\"dashboard\");\n\n const applyActiveClass = id => {\n setActiveClass(id);\n };\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const PrimaryColor = \"#\" + params.get(\"pri\");\n const SecondaryColor = \"#\" + params.get(\"sec\");\n const ColorPrimarylighter1 = \"#\" + params.get(\"lcf\");\n const ColorPrimarylighter2 = \"#\" + params.get(\"lcs\");\n const MainBg = \"#\" + params.get(\"mainBg\");\n const MenuBg = \"#\" + params.get(\"menuBg\");\n const CardBg = \"#\" + params.get(\"cardBg\");\n const SelectedTab = \"#\" + params.get(\"selectedTab\");\n const TabHover = \"#\" + params.get(\"tabHover\");\n const HeadingText = \"#\" + params.get(\"headingText\");\n const Icon = \"#\" + params.get(\"icon\");\n const Line = \"#\" + params.get(\"line\");\n const TextBox = \"#\" + params.get(\"textBox\");\n const Font = \"#\" + params.get(\"font\");\n useEffect(() => {\n addThemeVariables();\n }, []);\n const addThemeVariables = () => {\n primary = PrimaryColor;\n secondary = SecondaryColor;\n lighter1 = ColorPrimarylighter1;\n lighter2 = ColorPrimarylighter2;\n mainBg = MainBg;\n menuBg = MenuBg;\n cardBg = CardBg;\n selectedTab = SelectedTab;\n tabHover = TabHover;\n headingText = HeadingText;\n icon = Icon;\n line = Line;\n textBox = TextBox;\n font = Font;\n document.documentElement.style.setProperty(\"--color-primary\", primary);\n document.documentElement.style.setProperty(\"--color-secondary\", secondary);\n document.documentElement.style.setProperty(\n \"--color-primary-lighter-1\",\n lighter1\n );\n document.documentElement.style.setProperty(\n \"--color-primary-lighter-2\",\n lighter2\n );\n document.documentElement.style.setProperty(\"--color-main-bg\", mainBg);\n document.documentElement.style.setProperty(\"--color-menu-bg\", menuBg);\n document.documentElement.style.setProperty(\"--color-card-bg\", cardBg);\n document.documentElement.style.setProperty(\"--color-selected-tab\", selectedTab);\n document.documentElement.style.setProperty(\"--color-tab-hover\", tabHover);\n document.documentElement.style.setProperty(\"--color-heading-text\", headingText);\n document.documentElement.style.setProperty(\"--color-icon\", icon);\n document.documentElement.style.setProperty(\"--color-line\", line);\n document.documentElement.style.setProperty(\"--color-text-box\", textBox);\n document.documentElement.style.setProperty(\"--color-font\", font);\n };\n const removeThemeVariables = () => {\n document.documentElement.style.removeProperty(\"--color-primary\", primary);\n document.documentElement.style.removeProperty(\n \"--color-secondary\",\n secondary\n );\n document.documentElement.style.removeProperty(\n \"--color-primary-lighter-1\",\n lighter1\n );\n document.documentElement.style.removeProperty(\n \"--color-primary-lighter-2\",\n lighter2\n );\n };\n const submitForm=(e)=>{\n e.preventDefault(); }\n const maxLengthCheck = (object) => {\n if (object.target.value.length > object.target.maxLength) {\n object.target.value = object.target.value.slice(0, object.target.maxLength)\n }\n }\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n

    \n CardConsole\n

    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n applyActiveClass(\"dashboard\")}\n >\n
    \n \n

    \n CardConsole\n

    \n \n
    \n \n
      \n \n \n
    • \n applyActiveClass(\"dashboard\")}\n >\n Dashboard\n \n
    • \n
    • \n applyActiveClass(\"cards\")}\n >\n My Cards\n \n
    • \n
    • \n applyActiveClass(\"money\")}\n >\n Send Money\n \n
    • \n\n
    • \n applyActiveClass(\"cardholdertransactions\")}\n >\n Transactions\n \n
    • \n
    • \n \n Settings\n \n
    • \n
    • \n \n Help\n \n
    • \n
      \n
      \n\n
      \n
    • \n \n \n \n Logout\n
      \n {\"preview theme\"}\n
      \n \n
    • \n
    \n
    \n
    \n
    \n

    \n Your Cards1\n

    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n Bo Payment\n
    \n
    \n Virtual Card\n \n
    \n
    \n
    \n

    \n {\"60\"} {\"EUR\"}\n

    \n
    \n
    \n
    \n {\"4611-35XX-XXXX-0638\"}\n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n Valid Thru\n

    {\"09/26\"}

    \n
    \n
    \n Token ID\n

    {\"8262527\"}

    \n
    \n
    \n Currency\n

    {\"EUR\"}

    \n
    \n
    \n Status\n

    \n \n Active\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n

    Overall Transactions

    \n
    \n
    \n
    \n
    \n \n {/* no client found */}\n
    \n
    \n \n \n \n \n \n \n \n \n

    Empty Clients Listing

    \n
    There is no Client(s) available for now.
    \n
    \n
    \n
    \n\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    TRANSACTION TYPESTATUSAMOUNTDATEREF#VIEW
    \n
    \n
    \n
    DEBIT
    \n \n
    \n
    \n
    Approved50 EURMarch 23, 2021FT1889404873\n
    \n \n \n \n\n \n
    \n

    \n Lorem ipsum dolor sit amet, consectetur\n adipiscing elit. Erat enim elit, netus\n imperdiet quis leo. Nec pharetra feugiat dui,\n et id duis viverra.\n

    \n
    \n
    \n \n
    \n
    \n
    \n
    Receiving
    \n

    2808988

    \n
    \n
    \n
    March 23, 20215:11 PMDeposit+$800\n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n

    Send Money to Favourites

    \n
    \n
    \n
    \n
      \n
    • \n
      \n JW\n Jane Will\n
      \n 4563698\n
    • \n
    • \n
      \n KW\n Kane Will\n
      \n 5698742\n
    • \n
    \n
    \n
    \n
    \n

    Send Money

    \n
    \n
    \n
    \n
    \n \n
    \n e.target.blur()}\n className=\"form-control\"\n name=\"AccountNumber\"\n maxLength = \"7\"\n onInput={maxLengthCheck}\n />\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n e.target.blur()}\n className=\"form-control\"\n name=\"Amount\"\n />\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default PreviewTheme;\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Router, Switch, Route, Redirect } from \"react-router-dom\";\nimport { Link } from \"react-router-dom\";\nimport \"../src/assets/plugins/bootstrap/css/bootstrap.min.css\";\nimport Login from \"./components/auth/Login\";\nimport Register from \"./components/account/Register\";\nimport Dashboard from \"./components/auth/Dashboard\";\nimport Navigation from \"./components/navigation/nav\";\nimport { logout } from \"./actions/auth\";\nimport { clearMessage } from \"./actions/message\";\nimport ResetPassword from \"./components/account/resetpassword\";\nimport { history } from \"./helpers/history\";\nimport ForgotPassword from \"./components/account/ForgotPassword\";\nimport IdentityVerification from \"./components/account/IdentityVerification\";\nimport TwoFAVerification from \"./components/account/TwoFAVerification\";\nimport Verification from \"./components/verification/Verification\";\nimport CardHolderSettings from \"./components/cardholders/Settings\";\nimport Help from \"./components/Help\";\nimport CardHolderCards from \"./components/cardholderCardScreens/CardHolderCards\";\nimport CardHolderTransactions from \"./components/cardholderCardScreens/CardHolderTransactions\";\nimport MobileMenu from \"./helpers/MobileMenu\";\nimport ThemeSelector from \"./helpers/ThemeSelector\";\nimport SendMoney from \"./components/cardholderCardScreens/SendMoney\";\nimport { useIdleTimer } from \"react-idle-timer\";\nimport PreviewTheme from \"./components/previewTheme/PreviewTheme\";\nimport { haspermissions } from \"./components/permissions/PermissionTypes\";\nimport CardVerification from \"./components/account/CardVerification\";\nimport RegisterGlobal from \"./components/issuerGlobal/RegisterGlobal\";\nimport AllDone from \"./helpers/AllDone\";\nimport DSecureCode from \"./components/cardholders/3DSecureCode\";\nimport RegisterIssuerT from \"./components/issuerGlobal/RegisterIssuerT\";\nimport EVerifyAuth from \"./helpers/EVerifyAuth\";\nimport NavBankAccount from \"./components/BankAccount/NavBankAccount\";\nimport DashboardBankAccount from \"./components/BankAccount/DashboardBankAccount\";\nimport IdentityVerificationBankAccount from \"./components/BankAccount/IdentityVerificationBankAccount\";\nimport identityverificationObj from \"./services/identityverification.service\";\n\nvar primary;\nvar secondary;\nvar lighter1;\nvar lighter2;\nvar mainBg;\nvar menuBg;\nvar cardBg;\nvar selectedTab;\nvar tabHover;\nvar headingText;\nvar icon;\nvar line;\nvar textBox;\nvar font;\nvar defaultcolor=\"transparent\";\nconst App = () => {\n const { user: currentUser } = useSelector(state => state.auth);\n const dispatch = useDispatch();\n // const [idleTime, setIdleTime] = useState(process.env.REACT_APP_LOGOUT_TIME); //// time in mili seconds for 5 mints\n const [idleTime, setIdleTime] = useState(1000000);\n useEffect(() => {\n history.listen(location => {\n dispatch(clearMessage()); // clear message when changing location\n });\n }, [dispatch]);\n\n const logOut = () => {\n dispatch(logout());\n removeThemeVariables();\n };\n const addThemeVariables = () => {\n primary = currentUser?.user?.PrimaryColor;\n secondary = currentUser?.user?.SecondaryColor;\n lighter1 = currentUser?.user?.ColorPrimarylighter1;\n lighter2 = currentUser?.user?.ColorPrimarylighter2;\n mainBg = currentUser?.user?.MainBackgroundColor ?? defaultcolor;\n menuBg = currentUser?.user?.MenuBackgroundColor ?? \"#ffffff\";\n cardBg = currentUser?.user?.CardBackgroundColor?? \"#121212\";\n selectedTab = currentUser?.user?.SelectedTabColor?? \"#161618\";\n tabHover = currentUser?.user?.TabHoverColor??defaultcolor;\n headingText = currentUser?.user?.HeadingTextColor??\"#161618\";\n icon = currentUser?.user?.IconColor??\"#161618\";\n line = currentUser?.user?.LineColor??defaultcolor;\n textBox = currentUser?.user?.TextBoxColor??defaultcolor;\n font = currentUser?.user?.FontColor??defaultcolor;\n document.documentElement.style.setProperty(\"--color-primary\", primary);\n document.documentElement.style.setProperty(\"--color-secondary\", secondary);\n document.documentElement.style.setProperty(\"--color-primary-lighter-1\", lighter1);\n document.documentElement.style.setProperty(\"--color-primary-lighter-2\", lighter2);\n document.documentElement.style.setProperty(\"--color-main-bg\", mainBg);\n document.documentElement.style.setProperty(\"--color-menu-bg\", menuBg);\n document.documentElement.style.setProperty(\"--color-card-bg\", cardBg);\n document.documentElement.style.setProperty(\"--color-selected-tab\", selectedTab);\n document.documentElement.style.setProperty(\"--color-tab-hover\", tabHover);\n document.documentElement.style.setProperty(\"--color-heading-text\", headingText);\n document.documentElement.style.setProperty(\"--color-icon\", icon);\n document.documentElement.style.setProperty(\"--color-line\", line);\n document.documentElement.style.setProperty(\"--color-text-box\", textBox);\n document.documentElement.style.setProperty(\"--color-font\", font);\n };\n const removeThemeVariables = () => {\n document.documentElement.style.removeProperty(\"--color-primary\", primary);\n document.documentElement.style.removeProperty(\"--color-secondary\", secondary);\n document.documentElement.style.removeProperty(\"--color-primary-lighter-1\", lighter1);\n document.documentElement.style.removeProperty(\"--color-primary-lighter-2\", lighter2);\n document.documentElement.style.removeProperty(\"--color-main-bg\",mainBg);\n document.documentElement.style.removeProperty(\"--color-menu-bg\",menuBg);\n document.documentElement.style.removeProperty(\"--color-card-bg\",cardBg);\n document.documentElement.style.removeProperty(\"--color-selected-tab\",selectedTab);\n document.documentElement.style.removeProperty(\"--color-tab-hover\",tabHover);\n document.documentElement.style.removeProperty(\"--color-heading-text\",headingText);\n document.documentElement.style.removeProperty(\"--color-icon\",icon);\n document.documentElement.style.removeProperty(\"--color-line\",line);\n document.documentElement.style.removeProperty(\"--color-text-box\",textBox);\n document.documentElement.style.removeProperty(\"--color-font\",font);\n };\n if (currentUser) {\n haspermissions.CardToCard = currentUser?.user?.Permissions?.includes(\"Card to Card Transfer\");\n haspermissions.UserKyc = currentUser?.user?.Permissions?.includes(\"User KYC\");\n addThemeVariables();\n }\n const handleOnIdle = (event) => {\n logOut();\n };\n const handleOnActive = (event) => {\n console.log(\"user is active\", event);\n console.log(\"time remaining\", getRemainingTime());\n };\n\n const handleOnAction = (event) => {\n setIdleTime(idleTime);\n };\n\n const { getRemainingTime, getLastActiveTime } = useIdleTimer({\n timeout: idleTime,\n onIdle: handleOnIdle,\n onActive: handleOnActive,\n onAction: handleOnAction,\n crossTab: true,\n debounce: 500,\n });\n return (\n \n \n {currentUser ? (\n
    \n {/* header */}\n
    \n
    \n
    \n
    \n
    \n {\n MobileMenu();\n }}\n >\n \n \n \n \n
    \n
    \n \n

    \n CardConsole\n

    \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n {(currentUser?.user?.IsCardActivate) && (\n \n {\n (!currentUser?.user?.IsKycSubmitted && currentUser?.user?.IssuerName === \"IssuerG\") ? (\"\") : \n ()\n }\n {(haspermissions.UserKyc && !currentUser?.user?.IsKycSubmitted &&(currentUser?.user?.KycApprovedByIssuer===null ||currentUser?.user?.KycApprovedByIssuer===\"No\")) ?\n (<>\n \n \n \n \n\n \n ) : \n (haspermissions.UserKyc && currentUser?.user?.IsKycSubmitted &&(currentUser?.user?.KycApprovedByIssuer===null ||currentUser?.user?.KycApprovedByIssuer===\"No\"))\n ?(\n <>\n \n \n \n \n\n \n \n ):\n (\n <>\n \n\n \n \n\n \n \n \n \n \n {\n haspermissions?.CardToCard && (\n\n \n\n )\n }\n \n\n \n \n )}\n\n \n )}\n {!currentUser?.user?.IsCardActivate && currentUser?.user?.IssuerName!==\"BankAccount\"&&\n\n \n {\n ((currentUser?.user?.IssuerName === \"IssuerG\" ||currentUser?.user?.IssuerName === \"IssuerT\" ||\n currentUser?.user?.IssuerName === \"IssuerTG\"|| currentUser?.user?.IssuerName === \"IssuerTGV\"||currentUser?.user?.IssuerName === \"IssuerZ\") \n && currentUser?.user?.KycApprovedByIssuer == null) ? (\n \n ) : (\n \n )\n }\n\n \n \n \n \n \n }\n {currentUser?.user?.IssuerName==\"BankAccount\" && (\n \n \n \n \n \n \n \n \n \n \n )\n }\n
    \n
    \n ) : (\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n\n \n
    \n
    \n )}\n
    \n
    \n );\n};\n\nexport default App;\n","import { Fragment, useState, useRef } from \"react\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport CardDetails from \"./CardDetails\";\nimport KapedVirtualAssistant from \"./KapedVirtualAssistant\";\nimport P2PTransfer from \"./P2PTransfer\";\n\nconst SendMoney = () => {\n const { height, width } = useWindowDimensions();\n\n return (\n \n \n \n \n \n {width > 991 && (\n
    \n
    \n \n
    \n

    \n Your Cards1\n

    \n
    \n \n
    \n
    \n )}\n \n
    \n );\n};\n\nexport default SendMoney;\n","import React, { useState, useRef, Fragment } from \"react\";\nimport Form from \"react-validation/build/form\";\nimport Input from \"react-validation/build/input\";\nimport CheckButton from \"react-validation/build/button\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport { Link } from \"react-router-dom\";\nimport { logout } from \"../../actions/auth\";\nimport cardsService from \"../../services/cards.services\";\nimport { Redirect } from \"react-router-dom\";\n\nimport { LOGIN_SUCCESS } from \"../../actions/types\";\nimport { history } from \"../../helpers/history\";\n\nconst required = (value) => {\n if (!value) {\n document.getElementById(\"frgt_Pas_Email_FrmGrp\").classList.add(\"has_error\");\n return (\n Card Number is required!\n );\n } else\n document\n .getElementById(\"frgt_Pas_Email_FrmGrp\")\n .classList.remove(\"has_error\");\n};\nconst requiredKitNumber = (value) => {\n if (!value) {\n document.getElementById(\"kit_number\").classList.add(\"has_error\");\n return (\n Kit Number is required!\n );\n } else\n document\n .getElementById(\"kit_number\")\n .classList.remove(\"has_error\");\n};\nconst requiredCardOwnerName = (value) => {\n if (!value) {\n document.getElementById(\"card_owner_name\").classList.add(\"has_error\");\n return (\n Card Owner Name is required!\n );\n } else\n document\n .getElementById(\"card_owner_name\")\n .classList.remove(\"has_error\");\n};\nconst CardVerification = () => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const form = useRef();\n const { height, width } = useWindowDimensions();\n const checkBtn = useRef();\n const [CardNumber, setCardNumber] = useState(\"\");\n const [KitNumber, setKitNumber] = useState(\"\");\n const [CardOwnerName, setCardOwnerName] = useState(\"\");\n const [UserId, setUserId] = useState(String(currentUser?.user?.UserId));\n const [successful, setSuccessful] = useState(false);\n const [boloader, setBoLoader] = useState(false);\n const { message } = useSelector((state) => state.message);\n\n const dispatch = useDispatch();\n const onChangeCardNumber = (e) => {\n const number = e.target.value;\n if (number != \"\") {\n let value=number;\n setCardNumber(value);\n }\n\n };\n const onChangeKitNumber = (e) => {\n const number = e.target.value;\n if (number != \"\") {\n let value = number;\n setKitNumber(value);\n }\n\n };\n const onChangeKCardOwnerName = (e) => {\n const number = e.target.value;\n if (number != \"\") {\n let value = number;\n setCardOwnerName(value);\n }\n\n };\n const maxLengthCheck = object => {\n if (object.target.value.length > object.target.maxLength) {\n object.target.value = object.target.value.slice(\n 0,\n object.target.maxLength\n );\n }\n var t = object.target.value;\n if (t.includes(\".\"))\n object.target.value = (t?.indexOf(\".\") >= 0) ? (t.substr(0, t.indexOf(\".\")) + t.substr(t.indexOf(\".\"), 3)) : t;\n };\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modalsuccessfullShow, setModalsuccessfullShow] = useState(false);\n const [showmessgae, setshowmessgae] = useState(message);\n\n const submitCardVerification = (e) => {\n \n e.preventDefault();\n if (currentUser?.user?.IssuerName===\"IssuerT\")\n handleSubmitIssuerT();\n else{\n setSuccessful(false);\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n cardsService.ActivatePhysicalCard(String(CardNumber),String(KitNumber),\n UserId)\n .then(() => {\n setSuccessful(true);\n setBoLoader(false);\n setModalsuccessfullShow(true);\n })\n .catch((error) => {\n setSuccessful(false);\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n \n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n }\n \n };\n\n const handleSubmitIssuerT = () => {\n setSuccessful(false);\n form.current.validateAll();\n if (checkBtn.current.context._errors.length === 0) {\n setBoLoader(true);\n if(currentUser?.user?.IssuerName === \"IssuerTG\"||currentUser?.user?.IssuerName === \"IssuerTGV\"){\n cardsService.assigncardtg(String(CardNumber),String(CardOwnerName),\n UserId)\n .then(() => {\n setSuccessful(true);\n setBoLoader(false);\n setModalsuccessfullShow(true);\n })\n .catch((error) => {\n setSuccessful(false);\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n \n else{\n cardsService.assigncardT(String(CardNumber),String(CardOwnerName),\n UserId)\n .then(() => {\n setSuccessful(true);\n setBoLoader(false);\n setModalsuccessfullShow(true);\n })\n .catch((error) => {\n setSuccessful(false);\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n }\n \n \n }\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n const logoutUser = () => {\n dispatch(logout());\n history.push(\"/login\");\n window.location.reload();\n //return ;\n }\n const goToUser = () => {\n const obj = currentUser.user\n obj.IsCardActivate = true;\n console.log(`obj`, obj)\n dispatch({\n type: LOGIN_SUCCESS,\n payload: { user: obj },\n });\n history.push(\"/dashboard\")\n }\n\n return (\n
    \n \n {width > 767 && , \"Verification\"]} />}\n\n
    \n
    \n
    \n
    \n

    Card Activation

    \n {(currentUser?.user?.IssuerName===\"IssuerB4B\" || currentUser?.user?.IssuerName===\"IssuerT\" || currentUser?.user?.IssuerName === \"IssuerTG\") \n ?(

    Please enter sixteen digits of your physical card number.

    ):currentUser?.user?.IssuerName!==\"IssuerTGV\"?(

    \n Please enter last four digits your physical card number.\n

    ):<>}\n
    \n
    \n
    {\n }\n\n {\n currentUser?.user?.IssuerName!==\"IssuerTGV\" &&(\n
    \n \n
    \n e.target.blur()}\n type=\"number\"\n value={CardNumber}\n onChange={onChangeCardNumber}\n validations={[required]}\n placeholder={(currentUser?.user?.IssuerName===\"IssuerB4B\"||currentUser?.user?.IssuerName === \"IssuerTG\")?\"Enter Card Number\":\"Enter Last 4 Card Digit\"}\n />\n \n {/* {message && } */}\n {/* {success && {\"message\"}} */}\n
    \n \n
    \n )\n }\n \n { currentUser?.user?.IssuerName===\"IssuerG\" &&(\n
    \n \n
    \n e.target.blur()}\n type=\"number\"\n value={KitNumber}\n onChange={onChangeKitNumber}\n validations={[requiredKitNumber]}\n placeholder=\"Enter 16 digit Kit Number\"\n />\n \n \n
    \n \n
    \n )\n \n }\n { (currentUser?.user?.IssuerName===\"IssuerT\" || currentUser?.user?.IssuerName === \"IssuerTG\" ||currentUser?.user?.IssuerName === \"IssuerTGV\") &&(\n
    \n \n
    \n e.target.blur()}\n type=\"text\"\n value={CardOwnerName}\n onChange={onChangeKCardOwnerName}\n validations={[requiredCardOwnerName]}\n placeholder=\"Card Owner Name is required !\"\n />\n \n \n
    \n \n
    \n )\n \n }\n
    \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n { sessionStorage.removeItem(\"user\"); window.location.reload(); }}\n >\n Logout\n \n
    \n
    \n
    \n \n {/*
    \n {!successful && (\n \n\n )}\n \n
    */}\n\n \n \n
    \n
    \n
    \n
    \n { setModalsuccessfullShow(false); logoutUser(); }}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
    \n
    \n
    \n \n \n \n \n
    \n

    Successful

    \n
    \n
    \n
    \n
    \n
    \n

    ALL Done! Please Procceed to login!

    \n
    \n
    \n
    \n {\n setModalsuccessfullShow(false);\n logoutUser();\n }}\n >\n Done\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ,\n ]}\n />\n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n />\n
    \n );\n};\nexport default CardVerification;\n","import { Fragment } from \"react\";\nimport BoPaymentWrapper from \"../components/BoPaymentLeftWrapper\";\nimport { history } from \"../helpers/history\";\n\nconst AllDone = () => {\n return (\n \n
    \n , \"Account\"]}\n pagemsg={\"To The Card Holder Account\"}\n />\n
    \n
    \n
    \n \n \n \n \n
    \n

    All done !

    \n {/*
    \n Click to Login screen.\n
    */}\n
    \n history.push(\"/login\")}\n >\n OK\n \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default AllDone;","import React, { useState, useRef, Fragment, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport ModelPopup from \"../../helpers/ModelPopup\";\nimport cardsService from \"../../services/cards.services\";\nimport { useSelector } from \"react-redux\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nvar fontStyle = {\n textTransform: \"uppercase\",\n};\nvar headerData = [\"VIEW\",\"TRANS AMOUNT\",\n \"MERCHANT\",\n \"EXPIRY\",\n \"ERRORS\",\n \"STATUS\"\n ]\nconst DSecureCode = (props) => {\n const { user: currentUser } = useSelector(state => state.auth);\n const [loadingData, setLoadingData] = useState(false);\n const [searchData, setSearchData] = useState();\n const [userID, setUserId] = useState(currentUser?.user?.UserId);\n const [searchGridSuccess, setSearchGridSuccess] = useState(false);\n const [modalShowTransactions, setModalShowTransactions] = useState(false);\n const searchTbl = useRef();\n const [totalCount, setTotalCount] = useState(0);\n const [ApprovalStatus, setApprovalStatus] = useState(0);\n const [RequestId, setRequestId] = useState();\n const [confirmmodalShow, setCnfrmModalShow] = useState(false);\n const [message, setmessage] = useState(false);\n //Dialouge Popup Error Messages\n const [modalShowDialouge, setModalShowDialouge] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n //Success Message\n const [modalsuccessfullShow, setModalsuccessfullShow] = useState(false);\n const [boloader, setBoLoader] = useState(false);\n const errorAndSuccessModl = (heading, body, Icon) => {\n setModalShowDialouge(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(Icon);\n };\n const showTransactionsPopup = (\n card3DSecureID,\n ) => {\n setRequestId(card3DSecureID);\n setCnfrmModalShow(true);\n\n };\n useEffect(() => {\n refereshCode();\n }, [])\n const refereshCode = () => {\n setSearchGridSuccess(false);\n setBoLoader(true);\n cardsService.get3drequest(currentUser?.user?.UserId).then((resp) => {\n if (resp?.data?.payload?.item2) {\n let data = resp?.data?.payload?.item1;\n if (data)\n setSearchData(data);\n else\n setSearchData(\"\");\n setBoLoader(false);\n setSearchGridSuccess(true);\n\n\n }\n\n }).catch((error) => {\n setSearchGridSuccess(false);\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n setmessage(msgBody);\n\n })\n }\n const acceptCode = (isApproved) => {\n setBoLoader(true);\n setCnfrmModalShow(false);\n cardsService\n .dRequestapproval(userID, isApproved, RequestId).then((response) => {\n setBoLoader(false);\n if (response)\n setModalsuccessfullShow(true);\n }).catch((error) => {\n setBoLoader(false);\n let msgBody = error?.response?.data?.message\n ? error?.response?.data?.message\n : \"Error Occured\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n (async () => {\n let resp = await RefreshToken(\n error && error.response && error.response.status\n );\n if (resp) {\n if (resp) {\n acceptCode();\n setBoLoader(false);\n } else {\n setBoLoader(false);\n }\n }\n })();\n });\n }\n const renderTableHeader = () => {\n let header = Object.values(headerData);\n return header.map((key, index) => {\n return {key.toUpperCase()};\n });\n };\n\n const renderTableData = () => {\n return (\n \n \n \n showTransactionsPopup(\n searchData?.card3DSecureID\n\n )\n }\n >\n \n {searchData?.transAmount}\n {searchData?.merchant?.substr(0, 10)}{searchData?.merchant?.length > 10 && (\"...\")}\n {searchData?.expiry?.substr(0, 10)}{searchData?.expiry?.length > 10 && (\"...\")}\n {searchData?.errors?.substr(0, 10)}{searchData?.errors?.length > 10 && (\"...\")}\n {searchData?.card3DSecureStatus?.substr(0, 10)}{searchData?.card3DSecureStatus?.length > 10 && (\"...\")}\n \n \n );\n\n };\n return (\n\n \n \n
    \n
    \n
    \n

    3DS Secure Codes

    \n
    \n
    \n \n Refresh\n \n
    \n\n\n
    \n
    \n
    \n \n {/* no client found */}\n
    \n
    \n \n \n \n \n \n \n \n \n

    Empty Codes Listing

    \n
    There is no Code(s) available for now.
    \n
    \n
    \n
    \n\n {searchGridSuccess && (\n
    \n \n \n {renderTableHeader()}\n \n {renderTableData()}\n \n
    \n )}\n {!searchGridSuccess && (\n
    \n
    \n

    Empty 3DS Secure Code Listing

    \n
    {message}.
    \n
    \n
    \n )}\n
    \n
    \n \n\n\n
    \n setModalShowDialouge(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n\n />\n setCnfrmModalShow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
    \n
    \n
    \n \n \n \n \n
    \n

    3DS

    \n
    \n
    \n
    \n
    \n
    \n

    Please Select

    \n
    \n
    \n
    \n {\n setCnfrmModalShow(false);\n acceptCode(\"1\");\n }}\n >\n Approve\n \n {\n setCnfrmModalShow(false);\n acceptCode(\"1\");\n }}\n >\n Reject\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ,\n ]}\n />\n setModalsuccessfullShow(false)}\n modelheading={\"\"}\n showheader={\"false\"}\n className=\"smallPopup issueCardSmall\"\n dialogClassName=\"modal-dialog modal-dialog-centered mwidth-42\"\n backdrop=\"static\"\n keyboard={false}\n modelbody={[\n \n
    \n
    \n
    \n \n \n \n \n
    \n

    Successful

    \n
    \n
    \n
    \n
    \n
    \n

    3DS Code Accepted Successfully

    \n
    \n
    \n
    \n {\n setModalsuccessfullShow(false);\n refereshCode();\n }}\n >\n Done\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ,\n ]}\n />\n
    \n\n\n
    );\n}\n\nexport default DSecureCode;","import React, { useState, useEffect,Fragment } from \"react\";\nimport BoPaymentWrapper from \"../components/BoPaymentLeftWrapper\";\nimport { history } from \"../helpers/history\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { loginData} from \"../actions/auth\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport BoLoader from \"./BoLoader\";\n\nconst EVerifyAuth = (props) => {\n \n const dispatch = useDispatch();\n const { isLoggedIn } = useSelector((state) => state.auth);\n const { message } = useSelector((state) => state.message);\n const [loading, setLoading] = useState(false);\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const userId = params.get(\"userId\");\n useEffect(()=>{\n getAuthVerification();\n },[])\n // if (isLoggedIn) {\n // return ;\n // }\n \n const getAuthVerification=()=>{\n setLoading(true);\n dispatch(loginData(userId))\n .then(() => {\n setLoading(false);\n history.push(\"/dashboard\");\n setLoading(false);\n })\n .catch((err) => {\n history.push(\"/login\");\n setLoading(false);\n // setconditionalClassName(\"onbo-content-top\");\n });\n } \n \n\n return (\n \n \n
    \n {/* , \"In Progress !\"]}\n pagemsg={\"Welcome please wait while we process your request\"}\n /> */}\n {/*
    \n {message && (\n
    \n
    \n \n\n

    {message}

    \n
    \n
    \n )}\n
    \n
    \n \n \n \n \n
    \n

    Verification in progress please wait !

    \n
    \n history.push(\"/login\")}\n >\n OK\n \n
    \n
    \n
    */}\n
    \n
    \n );\n}\nexport default EVerifyAuth;","import React, { useState, useEffect } from \"react\";\nimport { Fragment } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport logo from \"../../assets/images/logo.svg\";\n\nconst NavBankAccount = props => {\n const [activeClass, setActiveClass] = useState();\n const applyActiveClass = id => {\n setActiveClass(id);\n };\n useEffect(() => {\n setTimeout(() => {\n setActiveClass(window.location.pathname.replace(\"/\", \"\"));\n }, 200);\n }, []);\n \n const closeLeftMenu = () => {\n if (document.getElementById(\"boMenu\").classList.contains(\"bo-menu-overlay\")) {\n document.getElementById(\"boMenu\").classList.remove(\"bo-menu-overlay\");\n document.getElementById(\"body\").style = \"overflow: visible\";\n document.getElementById(\"leftNav\").style.cssText =\n \"position: unset; width: 0; height: 0; z-index: ; display : none\";\n }\n }\n return (\n
    \n
    \n { applyActiveClass(\"dashboardbank\"); closeLeftMenu(); }}\n >\n
    \n {props.logo != \"\" ? (\n \"BO\n ) : (\n \n

    \n Bank  Account\n

    \n \n )}\n
    \n \n
      \n {( props?.iskycsubmitted ) ? (\n \n {props.role.includes(\"Card holder\") && (\n \n
    • \n { applyActiveClass(\"identityVerificationBankAccount\"); closeLeftMenu(); }}\n >\n Kyc status\n \n
    • \n \n\n
      \n )}\n
      \n ) : (!props?.iskycsubmitted)? (\n
    • \n { applyActiveClass(\"identityVerificationBankAccount\"); closeLeftMenu(); }}\n >\n Submit Kyc\n \n
    • \n ) :(\n \n {props.role.includes(\"Card holder\") && (\n \n
    • \n { applyActiveClass(\"dashboardbank\"); closeLeftMenu(); }}\n >\n Dashboard\n \n
    • \n
    • \n { applyActiveClass(\"cardholdertransactions\");closeLeftMenu();}}\n >\n Transactions\n \n
    • \n
    • \n {applyActiveClass(\"cardHolder/settings\");closeLeftMenu();}}\n >\n Settings\n \n
    • \n
    • \n {applyActiveClass(\"help\");closeLeftMenu();}}\n >\n Help\n \n
    • \n \n
      \n )}\n
      \n )}\n
      \n
    • \n { props.logOut(); closeLeftMenu(); }}\n >\n \n \n Logout\n
      \n {props.username}\n
      \n \n
    • \n \n
    \n
    \n
    \n );\n};\nexport default NavBankAccount;\n","import { Fragment, useEffect, useState } from \"react\";\nimport { Env } from \"../../enviroment/environment\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\nimport {useSelector } from \"react-redux\";\nimport cardHolderService from \"../../services/cardholder.service\";\nimport RefreshToken from \"../../helpers/RefreshToken\";\nimport BoLoader from \"../../helpers/BoLoader\";\n\nconst BADashBoard = (props) => {\n const { height, width } = useWindowDimensions();\n const { user: currentUser } = useSelector(state => state.auth);\n var setpermission = localStorage.getItem(\"activeInactiveSendmoney\");\n const [cardHolderDetail, setCardHolderDetail] = useState();\n const [kycstatus, setKycstatus] = useState(\"\");\n const [boloader, setBoLoader] = useState(false);\n\n\n useEffect(() => {\n callHolderServiceCall();\n }, [props?.location?.state]);\n const callHolderServiceCall = async () => {\n await cardHolderService\n .getcorporateaccountdetails(currentUser?.user?.UserId)\n .then(res => {\n if (res && res.data && res.data.success) {\n if (res && res.data && res.data.payload) {\n setCardHolderDetail(res.data.payload?.item1);\n\n } \n }\n })\n .catch(err => {\n (async () => {\n let resp = await RefreshToken(\n err && err.response && err.response.status\n );\n if (resp) {\n window.location.reload();\n } \n })();\n });\n };\nuseEffect(()=>{\n setBoLoader(true);\n cardHolderService.checkstatus(currentUser?.user?.UserId).then((resp)=>{\n setBoLoader(false);\n let msg = resp?.data?.payload?.item1;\n setKycstatus(msg);\n \n}).catch((error)=>{\n setBoLoader(false);\n try {\n let msgBody = error?.message;\n setKycstatus(msgBody);\n } catch (e) {\n console.error(\"Error parsing error message:\", e);\n }\n});\n},[])\n return (\n \n \n {\n kycstatus===\"APPROVED\" ?(\n
    \n \n

    \n Your Bank Account\n

    \n
    \n
    \n
    \n
    \n
      \n
    • \n
      \n

      Registered Name

      \n
      {cardHolderDetail?.registeredName}
      \n
      \n
      \n

      Email

      \n
      {cardHolderDetail?.email}
      \n
      \n
      \n

      Currency

      \n
      \n $\n
      \n
      \n
      \n

      Date of Birth

      \n
      \n
      {cardHolderDetail?.firstName+ ` `+cardHolderDetail?.lastName}
      \n \n
      \n
      \n

      City

      \n
      {cardHolderDetail?.city}
      \n
      \n
    • \n
    • \n \n \n
      \n

      Country

      \n
      {cardHolderDetail?.country}
      \n
      \n
      \n

      Zip Code

      \n
      {cardHolderDetail?.zipCode}
      \n
      \n
      \n

      Account Number ACH

      \n
      {cardHolderDetail?.accountNumberAch ? cardHolderDetail?.accountNumberAch:\"-\"}
      \n
      \n
      \n

      Routing Number ACH

      \n
      {cardHolderDetail?.routingNumberAch ? cardHolderDetail?.routingNumberAch:\"-\"}
      \n
      \n
      \n

      Account Number FED

      \n
      {cardHolderDetail?.accountNumberFed ? cardHolderDetail?.accountNumberFed:\"-\"}
      \n
      \n
    • \n
    • \n \n
      \n

      Routing Number FED

      \n
      {cardHolderDetail?.routingNumberFed?cardHolderDetail?.routingNumberFed:\"-\"}
      \n
      \n
      \n

      Account Number Swift

      \n
      {cardHolderDetail?.accountNumberSwift?cardHolderDetail?.accountNumberSwift:\"-\"}
      \n
      \n
      \n

      Swift Bic

      \n
      {cardHolderDetail?.swiftBic ? cardHolderDetail?.swiftBic:\"-\"}
      \n
      \n
      \n\n

      Token Id

      \n
      {cardHolderDetail?.tokenId}
      \n
      \n
      \n

      KYC Status

      \n
      {kycstatus}
      \n
      \n\n
    • \n
    \n
    \n
    \n
    \n
    \n \n {/* for mobile */}\n
    \n
    \n
    \n ): !boloader ?(<>\n
    \n \n ):(<>)\n }\n \n \n\n \n \n );\n};\n\nexport default BADashBoard;\n","import { Fragment,useState } from \"react\";\nimport { Redirect } from \"react-router-dom\";\nimport { logout } from \"../../actions/auth\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { haspermissions } from \"../permissions/PermissionTypes\";\nimport BADashBoard from \"./BADashBoard\";\nconst DashboardBankAccount = () => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const dispatch = useDispatch();\n if (!currentUser) {\n dispatch(logout());\n return ;\n }\n if(currentUser?.user?.IsKycSubmitted==false )\n return ;\n return (\n \n \n \n \n \n );\n\n};\n\nexport default DashboardBankAccount;\n","import { useState, useEffect, useRef } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport identityverificationObj from \"../../services/identityverification.service\";\nimport BoPaymentWrapper from \"../BoPaymentLeftWrapper\";\nimport { Fragment } from \"react\";\nimport { history } from \"../../helpers/history\";\nimport BoLoader from \"../../helpers/BoLoader\";\nimport crossimg from \"../../assets/images/icons/cross.svg\";\nimport DialoguePopup from \"../../helpers/DialoguePopup\";\nimport useWindowDimensions from \"../../helpers/WindowWidth\";\n\nconst IdentityVerificationBankAccount = (props) => {\n const { user: currentUser } = useSelector((state) => state.auth);\n const [AddressProof, setAddressProof] = useState();\n const { height, width } = useWindowDimensions();\n const [FilePathAddressProof, setFilePathAddressProof] = useState(\"\");\n const [IDType, setIDType] = useState();\n const [FilePathIdType, setFilePathIdType] = useState(\"\");\n const [successfulSubmitted, setSuccessfulSubmitted] = useState(currentUser?.user?.IsKycSubmitted ?? false);\n const [allowKYC, setAllowKYC] = useState(false);\n\n const [LogoNameID, setlogoNameID] = useState(\"\");\n const [LogoNameIDBack, setlogoNameIDBack] = useState(\"\");\n const [LogoSizeIDBack, setlogoSizeIDBack] = useState();\n const [isValidLogoIdTypeBack, setiisValidLogoIdTypeBack] = useState(true);\n const [isValidFileIdBack, setisValidFileIdBack] = useState(true);\n const [isValidFileIdSize, setisValidFileIdSize] = useState(true);\n const [FilePathIdTypeBack, setFilePathIdTypeBack] = useState(\"\");\n const [base64IDBack, setBase64IDBack] = useState(\"\");\n\n const [LogoNamePOF, setlogoNamePOF] = useState(\"\");\n const [LogoSizeID, setlogoSizeID] = useState();\n const [LogoSizePOF, setlogoSizePOF] = useState();\n const [isValidIdType, setiisValidIdType] = useState(true);\n const [isValidProofofAdrs, setiisValidProofofAdrs] = useState(true);\n const [isValidLogoIdType, setiisValidLogoIdType] = useState(true);\n const [isValidLogoProofofAdrs, setisValidLogoProofofAdrs] = useState(true);\n const [UserId, setiUserId] = useState(currentUser?.user?.UserId);\n const [ClientId, setClientId] = useState(currentUser?.user?.ClientId);\n const [ApplicationId, setApplicationId] = useState(currentUser?.user?.ApplicationId);\n const [CorporateId, setCorporateId] = useState(currentUser?.user?.CorporateApplicationId);\n const [State, seState] = useState();\n const [CheckDocument, setCheckDocument] = useState(false);\n const [CheckAgreement, setCheckAgreement] = useState(false);\n const [CheckCorporateDocument, setCheckCorporateDocument] = useState(false);\n const [CheckCorporateIndidualDoc, setCheckCorporateIndidualDoc] = useState(false);\n\n\n const POAAddress = useRef();\n //loader\n const [boloader, setBoLoader] = useState(false);\n //Dialogue Popup\n const [modalShow, setModalShow] = useState(false);\n const [modelhdng, setMdlHdng] = useState(\"\");\n const [modelbdy, setMdlBdy] = useState(\"\");\n const [MdlIcon, setMdlIcon] = useState(\"\");\n const [isValidFileId, setisValidFileId] = useState(true);\n const [isValidFilePoa, setiisValidFilePoa] = useState(true);\n\n var dropDownIcon = {\n paddingLeft: \"45px\",\n };\n var mainContent = \"\";\n useEffect(() => {\n if(currentUser?.user?.CorporateApplicationId!=null && currentUser?.user?.IsCorporateIndividual===false)\n setCheckCorporateDocument(true);\n else if(currentUser?.user?.IsCorporateIndividual===true)\n setCheckCorporateIndidualDoc(true);\n else\n setCheckDocument(true);\n\n }, []);\n useEffect(() => {\n setiisValidLogoIdTypeBack(true);\n }, [LogoNameIDBack]);\n useEffect(() => {\n setisValidFileIdBack(true);\n }, [setlogoSizeIDBack]);\n useEffect(() => {\n setiisValidIdType(true);\n }, [IDType]);\n useEffect(() => {\n setiisValidProofofAdrs(true);\n }, [AddressProof]);\n useEffect(() => {\n setiisValidLogoIdType(true);\n }, [LogoNameID]);\n useEffect(() => {\n setisValidLogoProofofAdrs(true);\n }, [LogoNamePOF]);\n useEffect(() => {\n setisValidFileId(true);\n }, [setlogoSizeID]);\n useEffect(() => {\n setiisValidFilePoa(true);\n }, [setlogoSizePOF]);\n\n const changeHandlerPoa = (e) => {\n const status = e.target.selectedOptions[0].value;\n setAddressProof(status);\n };\n const changeHandlerIdType = (e) => {\n const status = e.target.selectedOptions[0].value;\n setIDType(status);\n };\n\n\n\n const saveUserDocument = () => {\n if (IDType === null || IDType === undefined) {\n setiisValidIdType(false);\n return;\n }\n if (LogoNameID.trim() == null || LogoNameID.trim() === \"\") {\n setiisValidLogoIdType(false);\n return;\n } else setiisValidLogoIdType(true);\n if (FilePathIdType === \"\") {\n setiisValidLogoIdType(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .uploaddocument(\n ApplicationId,\n IDType,\n FilePathIdType,\n \"\",\n UserId,\n ClientId\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n setIDType();\n setCheckDocument(false);\n setCheckAgreement(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.title\n ? err?.response?.data?.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const saveUserAgreement = () => {\n if (AddressProof == null || AddressProof === undefined) {\n setiisValidProofofAdrs(false);\n return;\n } else setiisValidProofofAdrs(true);\n if (LogoNamePOF.trim() == null || LogoNamePOF.trim() === \"\") {\n setisValidLogoProofofAdrs(false);\n return;\n } else setisValidLogoProofofAdrs(true);\n if (FilePathAddressProof === \"\") {\n setisValidLogoProofofAdrs(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .uploadagreement(\n ApplicationId,\n \"\",\n AddressProof,\n \"\",\n FilePathAddressProof,\n \"\",\n UserId,\n ClientId\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n setAddressProof();\n setCheckDocument(false);\n setCheckAgreement(false);\n setSuccessfulSubmitted(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.title\n ? err?.response?.data?.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const saveCorporateIndividualDocument = () => {\n if (IDType === null || IDType === undefined) {\n setiisValidIdType(false);\n return;\n }\n if (LogoNameID.trim() == null || LogoNameID.trim() === \"\") {\n setiisValidLogoIdType(false);\n return;\n } else setiisValidLogoIdType(true);\n if (FilePathIdType === \"\") {\n setiisValidLogoIdType(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .uploadcorporateindividualdocument(\n ApplicationId,\n CorporateId,\n IDType,\n FilePathIdType,\n \"\",\n UserId,\n ClientId\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n setIDType();\n setCheckDocument(false);\n setCheckAgreement(false);\n setSuccessfulSubmitted(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.title\n ? err?.response?.data?.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const saveCorporateDocument = () => {\n if (LogoNameID.trim() == null || LogoNameID.trim() === \"\") {\n setiisValidLogoIdType(false);\n return;\n } else setiisValidLogoIdType(true);\n if (FilePathIdType === \"\") {\n setiisValidLogoIdType(false);\n return;\n }\n setBoLoader(true);\n identityverificationObj\n .uploadcorporatedocument(\n UserId,\n ClientId,\n CorporateId,\n FilePathIdType,\n )\n .then((response) => {\n setBoLoader(false);\n if (!response.data.isError) {\n setIDType();\n setCheckDocument(false);\n setCheckAgreement(false);\n setSuccessfulSubmitted(true);\n }\n })\n .catch((err) => {\n setBoLoader(false);\n let msgBody = err?.response?.data?.title\n ? err?.response?.data?.title\n : \"Internal Server Error\";\n let errIcon = \"icon-error\";\n errorAndSuccessModl(\"Error\", msgBody, errIcon);\n });\n };\n const errorAndSuccessModl = (heading, body, errIcon) => {\n setModalShow(true);\n setMdlHdng(heading);\n setMdlBdy(body);\n setMdlIcon(errIcon);\n };\n\n const onChangeIDtype = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileId(false);\n return false;\n }\n else if (file_data.size > 1000000) {\n setisValidFileId(false);\n return false;\n }\n setlogoNameID(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeID(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdType(response.data.payload);\n }\n });\n };\n const onChangeIDtypeBack = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setisValidFileIdBack(false);\n return false;\n }\n else if (file_data.size > 1030000) {\n setisValidFileIdSize(false);\n return false;\n }\n setlogoNameIDBack(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizeIDBack(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathIdTypeBack(response.data.payload);\n \n }\n });\n };\n const onChangeProofofaddress = (e) => {\n const file_data = e.target.files[0];\n const formdata = new FormData();\n let reg = /(.*?)\\.(jpg|bmp|jpeg|PNG|png)$/;\n if (!file_data.name.match(reg)) {\n setiisValidFilePoa(false);\n return false;\n }\n else if (file_data.size > 1000000) {\n setiisValidFilePoa(false);\n return false;\n }\n setlogoNamePOF(file_data.name);\n var size = formatBytes(file_data.size);\n setlogoSizePOF(size);\n formdata.append(\"File\", file_data);\n identityverificationObj.uploaduserdocs(formdata).then((response) => {\n if (response) {\n setFilePathAddressProof(response.data.payload);\n }\n });\n };\n\n const onCrossImg = () => {\n setlogoNamePOF(\"\");\n setisValidLogoProofofAdrs(true);\n setiisValidFilePoa(true);\n };\n\n const onCrossImgId = () => {\n setlogoNameID(\"\");\n setiisValidLogoIdType(true);\n setisValidFileId(true);\n };\n const onCrossImgBack = () => {\n //setlogoNameIDBack(\"\");\n setiisValidLogoIdTypeBack(true);\n setisValidFileIdBack(true);\n setisValidFileIdSize(true);\n };\n const onCrossImgIdBack = () => {\n // setlogoNamePOFBack(\"\");\n setlogoNameIDBack(\"\");\n };\n const formatBytes = (bytes, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n };\n\n return (\n
    \n {props?.calledfrom === \"register\" && (\n <>\n {width > 767 && (\n , \"Account\"]}\n pagemsg={State}\n />\n )}\n\n \n )}\n
    \n
    \n
    \n \n {!successfulSubmitted && (\n
    \n
    \n
    e.preventDefault()}>\n
    \n
    \n {currentUser?.user?.KycApprovedByIssuer === \"No\" ? (

    Your Kyc Is rejected Please Upload Again

    ) : (

    Verify Your Identity

    )}\n
    \n\n {\n (CheckDocument || CheckCorporateDocument || CheckCorporateIndidualDoc) && (\n {CheckDocument || CheckCorporateIndidualDoc && (\n
    \n
    \n \n
    \n \n \n \n \n \n \n {!isValidIdType && (\n \n ID Type is Required\n \n )}\n
    \n
    \n
    \n )}\n \n {LogoNameID === \"\" ? (\n
    \n
    \n \n   \n \n {\n CheckCorporateDocument && (\n \n \n \n \n \n )\n }\n
    \n
    \n \n \n
    \n {\" \"}\n Browse file\n
    \n {!isValidFileId && (\n \n Invalid file format\n \n )}\n
    \n \n \n \n \n
    \n \n Supported file types jpg,jpeg & pdf with\n transparent background and max size 10 mb\n \n \n {!isValidLogoIdType && (\n \n ID Type is Required\n \n )}\n
    \n
    \n ) : (\n
    \n
    \n
    \n
    \n \n \n \n \n {/* \"\" */}\n
    \n {LogoNameID}\n
    \n
    \n \n {LogoSizeID}\n \n\n
    \n\n
    \n
    \n {!isValidLogoIdType && (\n \n Valid ID Type is Required\n \n )}\n
    \n )}\n\n \n\n )\n }\n {CheckAgreement && (\n
    \n
    \n \n
    \n \n \n \n \n \n\n \n \n {!isValidProofofAdrs && (\n \n Proof of Address is Required\n \n )}\n
    \n
    \n
    \n {LogoNamePOF === \"\" ? (\n
    \n
    \n \n   \n \n
    \n
    \n \n \n
    \n {\" \"}\n Browse file\n
    \n {!isValidFilePoa && (\n \n Invalid file format\n \n )}\n
    \n \n \n \n \n
    \n \n Supported file types jpg,jpeg & pdf with\n transparent background and max size 10 mb\n \n {!isValidLogoProofofAdrs && (\n \n Proof of Address Document is Required\n \n )}\n
    \n
    \n ) : (\n
    \n
    \n
    \n
    \n \n \n \n \n {/* \"\" */}\n
    \n {LogoNamePOF}\n
    \n
    \n \n {LogoSizePOF}\n \n
    \n
    \n
    \n {!isValidLogoProofofAdrs && (\n \n Valid Proof of address is required\n \n )}\n
    \n )}\n {LogoNameIDBack === \"\" ? (\n
    \n
    \n \n ID Back*  \n \n
    \n
    \n \n \n
    \n {\" \"}\n Browse file\n
    \n\n
    \n \n \n \n \n
    \n \n Supported file types jpg,jpeg\n transparent background and max size 1MB\n \n {!isValidFileIdBack && (\n \n Invalid file format\n \n )}\n {!isValidFileIdSize && (\n \n Max Upload Size is 1MB\n \n )}\n {!isValidLogoIdTypeBack && (\n \n ID Back is required!\n \n )}\n
    \n
    \n ) : (\n
    \n
    \n
    \n
    \n \n \n \n \n {/* \"\" */}\n
    \n {LogoNameIDBack}\n
    \n
    \n \n {LogoSizeIDBack}\n \n\n
    \n\n
    \n
    \n {!isValidLogoIdTypeBack && (\n \n Valid ID Type is required!\n \n )}\n
    \n )}\n )}\n {\n CheckCorporateDocument && (\n
    \n
    \n \n
    \n
    \n )\n }\n
    \n
    \n {\n CheckDocument ? (\n \n ) : CheckAgreement ? (\n \n ) : CheckCorporateIndidualDoc ? (\n \n ) : CheckCorporateDocument ? (\n \n ) : <>\n }\n\n
    \n
    \n
    \n \n
    \n
    \n )}\n {successfulSubmitted && (\n <>\n
    \n
    \n
    \n \n \n \n \n
    \n

    We are reviewing your account !

    \n\n
    \n We are reviewing your uploaded documents. This usually take\n less than 24 hours.\n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n

    Great, All Done!

    \n
    You have Successfully completed the process
    \n \n
    \n
    \n \n \n \n )}\n {\n allowKYC && (\n
    \n
    \n
    \n \n \n \n \n
    \n

    KYC Submitted Successfully !

    \n\n
    \n history.push(\"/login\")}\n >\n OK\n \n
    \n
    \n
    \n )\n }\n
    \n \n setModalShow(false)}\n modelheading={modelhdng}\n modelbody={modelbdy}\n modelicon={MdlIcon}\n />\n \n \n );\n};\n\nexport default IdentityVerificationBankAccount;\n","import { SET_MESSAGE, CLEAR_MESSAGE } from \"./types\";\n\nexport const setMessage = (message) => ({\n type: SET_MESSAGE,\n payload: message,\n});\n\nexport const clearMessage = () => ({\n type: CLEAR_MESSAGE,\n});\n","export default function openLeftMenu() {\n document.getElementById(\"boMenu\").classList.add(\"bo-menu-overlay\");\n document.getElementById(\"leftNav\").style.cssText =\n \"position: fixed; width: 24.7rem; height: 100%; top: 0; z-index: 7; display : flex\";\n document.getElementById(\"body\").style = \"overflow: hidden\";\n}","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Provider } from \"react-redux\";\nimport store from \"./store\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport * as serviceWorker from \"./serviceWorker\";\nimport ThemeSelector from \"./helpers/ThemeSelector\";\nimport axios from \"axios\";\n//import SetupInterceptors from \"./services/Interceptors/SetupInterceptors\";\n\naxios.defaults.headers.common = {\n \"ApiKey\": \"AIzaSyDEAzy9bsweFnqtqa0rVusAGhNwWKJ3oZs\",\n};\nReactDOM.render(\n \n \n {/* */}\n \n {/* */}\n \n,\n document.getElementById(\"onboarding\")\n);\n//SetupInterceptors(store);\nserviceWorker.unregister();\n"],"sourceRoot":""}