{"version":3,"sources":["redux/reducers/cookiesStorage.js","utils/utilityFunctions.js","api/apiSecurity.js","api/urls.js","screens/common/PreLoader.js","screens/error/ErrorStyles.js","assets/dashboardlayout/kuda-logo.svg","redux/reducers/onboardingReducer.js","redux/reducers/utilReducer.js","redux/reducers/editTradeNameReducer.js","redux/reducers/accountLimitReducer.js","redux/reducers/connectK4bAccountReducer.js","redux/reducers/businessTransactionsReducer.js","redux/reducers/customersReducer.js","redux/reducers/modalsReducer.js","redux/reducers/goLiveReducer.js","redux/reducers/testConsoleReducer.js","redux/reducers/webhooksReducer.js","redux/reducers/updateUserReducer.js","redux/reducers/errorHandlerReducer.js","redux/reducers/cardsReducer.js","redux/reducers/UploadReducer.js","redux/reducers/index.js","redux/ConfigureStore.js","redux/actions/actionTypes.js","reportWebVitals.js","screens/error/GeneralError.js","screens/common/ErrorBoundary.js","index.js"],"names":["loadState","serializedState","Cookies","get","JSON","parse","err","saveState","state","stringify","set","getReference","text","possible","i","charAt","Math","floor","random","length","base64ToHex","str","bin","atob","replace","hex","tmp","charCodeAt","toString","join","getRandomInt","min","max","ceil","formatCurrency","value","Intl","NumberFormat","style","currency","format","formatMoney","amount","options","minimumFractionDigits","yesterday","Date","setDate","getDate","formattedyesterday","toISOString","slice","localStorage","setItem","getYesterday","today","formattedToday","getToday","rsaEncryption","password","crypto","require","key","process","padding","constants","RSA_PKCS1_PADDING","publicEncrypt","Buffer","from","aesEncryption","data","CryptoJS","salt","aesKey","PBKDF2","keySize","iterations","iv","encrypted","AES","encrypt","pad","Pkcs7","mode","CBC","encryptedHex","aesDecryption","decrypted","decrypt","enc","Utf8","urls","baseUrl","signup","login","resetPassword","setPassword","regeneratekeys","updateTestWebhookUrl","updateLiveWebhookUrl","emailCheck","initiateResetPassword","completeResetPassword","connectKudaAccount","goLiveRequest","uploadDocument","getClientDocument","updateLive","updateClient","getK4BAccounts","acceptCustomerBusAccOption","verifyOTP","generateApiToken","sendEmail","updateTokenExpiry","getTokenExpiry","updateTestBillWebhookUrl","updateLiveBillWebhookUrl","loginSendOtp","validateOtp","getFilteredMainAccountTransactions","getMainAccountTransactions","getSubAccountTransactions","getFilteredSubaccountsTransactions","getSubAccounts","createSubaccount","getSubaccountsRevenue","getSubaccountsCreated","getSubAccountsInflow","getSubAccountsOutflow","getBalance","getStatement","getTransactionLimit","setTransactionLimit","getVirtualTransactionLimit","setVirtualTransactionLimit","getMainAccountTransactionInflow","getMainAccountTransactionOutflow","getVirtualAccountBalance","searchSubAccount","testConsole","checkCardAccessPermission","checkCardApprovalStatus","requestCard","fetchCards","downloadGuidlines","userToken","token","axios","create","baseURL","headers","Authorization","LoaderContainer","styled","div","PreLoader","className","ErrorContainer","section","initialState","isLoggedIn","results","loading","status","newVerify","message","verifyToken","menuOpen","error","initiialState","businessAccountTransaction","filteredBusinessAccountTransaction","mainAccountBalance","recordsInStore","subaccounts","subaccountsRevenue","subaccountsCreated","subaccountTransactions","subaccountInflow","subaccountOutflow","transactionsRecordsInStore","subAccountsInStore","inflowRecordsInStore","outflowRecordsInStore","createsubMessage","iniitialState","modalOpenConnectk4b","modalOpenConnecting","modalOpenGoLiveRequest","modalOpenFeedback","bankListData","nameEnquiryData","createVirtualAccountData","retrieveVirtualAccountData","singleFundTransferData","virtualAccountFundTransferData","transactionStatusQueryData","retreiveVirtualAccountBalanceData","retreiveTransactionLogsData","mainAccountTransactionsData","mainAccountFilteredTransactionsData","virtualAccountTransactionsData","virtualAccountFilteredTransactionsData","fundVirtualAccountData","withdrawVirtualAccountData","retreiveMainAccountBalanceData","retrieveSpendAndSaveTransactionsData","createPlainSavingsData","getPlainSavingsData","getAllCustomerPlainSavingsData","getAllPlainSavingsData","updatePlainSavingsData","plainSavingsTransactionsData","retrievePlainSavingsTransactionsData","createOpenFlexibleSaveData","createClosedFlexibleSaveData","retrieveFlexibleSaveData","retrieveAllCustomerFlexibleSaveData","retrieveAllFlexibleSaveData","withdrawFromFlexibleSaveData","retrieveAllFlexibleSaveTransactionsData","createFixedSavingsData","getFixedSavingsData","getAllCustomerFixedSavingsData","getAllFixedSavingsData","completeFixedSavingsWithdrawalData","retrieveFixedSavingsTransactionsData","switchServiceType","action","serviceType","isOnLive","clientStatus","accountNumber","isTINUploaded","isCACUploaded","isLiveStatus","showErrorModal","errorType","errorCode","reviewStatus","rootReducer","combineReducers","type","types","util","payload","businessTransactions","customerTransactions","totalRecordsInStore","modals","tradeName","accountLimit","connectK4bAccount","golive","webhooks","updateUser","errorHandler","cards","configureStore","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","createStore","applyMiddleware","thunk","reduxImmutableStateInvariant","REGISTER_INPROGRESS","REGISTER_SUCCESS","REGISTER_FAILURE","UPDATE_CLIENT_INPROGRESS","UPDATE_CLIENT_SUCCESS","UPDATE_CLIENT_FAILURE","LOGIN_INPROGRESS","LOGIN_FAILURE","LOGIN_SUCCESS","RESET_LOGIN_STATE","LOGIN_SEND_OTP_INPROGRESS","LOGIN_SEND_OTP_FAILURE","LOGIN_SEND_OTP_SUCCESS","LOGIN_VALIDATE_OTP_INPROGRESS","LOGIN_VALIDATE_OTP_FAILURE","LOGIN_VALIDATE_OTP_SUCCESS","SIGN_OUT","MENU_TOGGLE","DOCUMENTS_UPLOAD_API_CALL_INPROGRESS","DOCUMENTS_UPLOAD_API_FAILURE","DOCUMENTS_UPLOAD_SUCCESS","GET_DOCUMENTS_SUCCESS","CONNECT_KUDA_ACCOUNT_API_CALL_INPROGRESS","CONNECT_KUDA_ACCOUNT_API_CALL_FAILURE","CONNECT_KUDA_ACCOUNT_SUCCESS","GET_ACCOUNT_DATA","UPDATE_ACCOUNT_DATA","UPDATE_ACCOUNT_DATA_FAILURE","UPDATE_ACCOUNT_DATA_IN_PROGESS","GO_LIVE_REQUEST_API_CALL_INPROGRESS","GO_LIVE_REQUEST_API_CALL_FAILURE","GO_LIVE_REQUEST_SUCCESS","PUBLISH_TO_TEST_CONSOLE_API_CALL_INPROGRESS","PUBLISH_TO_TEST_CONSOLE_API_CALL_FAILURE","PUBLISH_TO_TEST_CONSOLE_SUCCESS","RESET_TEST_CONSOLE","UPDATE_TEST_WEBHOOK_URL_API_CALL_INPROGRESS","UPDATE_TEST_WEBHOOK_URL_API_CALL_SUCCESS","UPDATE_TEST_WEBHOOK_URL_API_CALL_FAILURE","UPDATE_LIVE_WEBHOOK_URL_API_CALL_INPROGRESS","UPDATE_LIVE_WEBHOOK_URL_API_CALL_SUCCESS","UPDATE_LIVE_WEBHOOK_URL_API_CALL_FAILURE","GET_TRANSACTION_LIMIT_INPROGRESS","GET_TRANSACTION_LIMIT_FAILURE","GET_TRANSACTION_LIMIT_SUCCESS","SET_TRANSACTION_LIMIT_INPROGRESS","SET_TRANSACTION_LIMIT_FAILURE","SET_TRANSACTION_LIMIT_SUCCESS","EDIT_TRADE_NAME_IN_PROGRESS","EDIT_TRADE_NAME_SUCCESS","EDIT_TRADE_NAME_FAILURE","GET_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS","GET_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE","GET_MAINACCOUNT_TRANSACTIONS_SUCCESS","GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS","GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE","GET_FILTERED_MAINACCOUNT_TRANSACTIONS_SUCCESS","GET_SUBACCOUNTS_CREATED_API_CALL_INPROGRESS","GET_SUBACCOUNTS_CREATED_API_CALL_FAILURE","GET_SUBACCOUNTS_CREATED_SUCCESS","GET_SUBACCOUNTS_REVENUE_API_CALL_INPROGRESS","GET_SUBACCOUNTS_REVENUE_API_CALL_FAILURE","GET_SUBACCOUNTS_REVENUE_SUCCESS","GET_SUBACCOUNT_INFLOW_API_CALL_INPROGRESS","GET_SUBACCOUNT_INFLOW_API_CALL_FAILURE","GET_SUBACCOUNT_INFLOW_SUCCESS","GET_SUBACCOUNT_OUTFLOW_API_CALL_INPROGRESS","GET_SUBACCOUNT_OUTFLOW_API_CALL_FAILURE","GET_SUBACCOUNT_OUTFLOW_SUCCESS","GET_SUBACCOUNTS_API_CALL_INPROGRESS","GET_SUBACCOUNTS_API_CALL_FAILURE","GET_SUBACCOUNTS_SUCCESS","GET_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS","GET_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE","GET_SUBACCOUNT_TRANSACTIONS_SUCCESS","GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS","GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE","GET_FILTERED_SUBACCOUNT_TRANSACTIONS_SUCCESS","OPEN_CONNECT_K4B_MODAL","OPEN_CONNECTING_K4B_MODAL","OPEN_GO_LIVE_REQUEST","OPEN_FEEDBACK_MODAL","CREATE_SUBACCOUNT_API_CALL_INPROGRESS","CREATE_SUBACCOUNT_API_CALL_FAILURE","CREATE_SUBACCOUNT_SUCCESS","GET_ACCOUNT_BALANCE_INPROGRESS","GET_ACCOUNT_BALANCE_SUCCESS","GET_ACCOUNT_BALANCE_FAILURE","HTTP_500_ERROR","HTTP_401_ERROR","HTTP_OTHER_ERROR","CARD_START","CARD_FAIL","CHECK_CARD_PERMISSION","CHECK_CARD_APPROVAL_STATUS","REQUEST_CARD","FETCH_CARDS","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","GeneralError","src","kudaLogo","alt","onClick","location","reload","ErrorBoundary","errorInfo","this","setState","props","children","Component","App","lazy","persistedState","store","subscribe","throttle","getState","Sentry","dsn","SENTRY_DSN","integrations","Integrations","BrowserTracing","release","DD_VERSION","tracesSampleRate","datadogRum","init","applicationId","DATADOG_APPLICATION_ID","clientToken","DATADOG_CLIENT_TOKEN","site","service","DD_SERVICE","env","DD_ENV","version","sampleRate","trackInteractions","allowedTracingOrigins","ReactDOM","render","fallback","document","getElementById"],"mappings":"0HAAA,yFAEaA,EAAY,WACvB,IACE,IAAMC,EAAkB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AC,WAAD,CAAU8B,SAAU,cAACzQ,EAAA,EAAD,IAApB,SACE,cAAC,EAAD,UACE,cAAC,IAAD,UACE,cAACwO,EAAD,YAKRkC,SAASC,eAAe,SAM1B1D,M","file":"static/js/main.036d6d03.chunk.js","sourcesContent":["import Cookies from \"js-cookie\";\n\nexport const loadState = () => {\n try {\n const serializedState = Cookies.get(\"state\");\n if (serializedState === null) {\n return undefined;\n }\n return JSON.parse(serializedState);\n } catch (err) {\n return undefined;\n }\n};\n\nexport const saveState = (state) => {\n try {\n const serializedState = JSON.stringify(state);\n Cookies.set(\"state\", serializedState);\n } catch (err) {}\n};\n","import Cookies from \"js-cookie\";\n\nexport const getReference = () => {\n let text = \"\";\n let possible =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.=\";\n for (let i = 0; i < 15; i++)\n text += possible.charAt(Math.floor(Math.random() * possible.length));\n return text;\n};\n\nexport const hexToBase64 = (str) => {\n return btoa(\n String.fromCharCode.apply(\n null,\n str\n .replace(/\\r|\\n/g, \"\")\n .replace(/([\\da-fA-F]{2}) ?/g, \"0x$1 \")\n .replace(/ +$/, \"\")\n .split(\" \")\n )\n );\n};\n\nexport const base64ToHex = (str) => {\n for (\n var i = 0, bin = atob(str.replace(/[ \\r\\n]+$/, \"\")), hex = [];\n i < bin.length;\n ++i\n ) {\n var tmp = bin.charCodeAt(i).toString(16);\n if (tmp.length === 1) tmp = \"0\" + tmp;\n hex[hex.length] = tmp;\n }\n return hex.join(\"\");\n};\n\nexport const fallbackCopyTextToClipboard = (text) => {\n var textArea = document.createElement(\"textarea\");\n textArea.value = text;\n textArea.style.position = \"fixed\"; //avoid scrolling to bottom\n document.body.appendChild(textArea);\n textArea.focus();\n textArea.select();\n\n try {\n document.execCommand(\"copy\");\n } catch (err) {\n console.error(\"Fallback: Oops, unable to copy\", err);\n }\n\n document.body.removeChild(textArea);\n};\n\nexport const copyTextToClipboard = (text) => {\n if (!navigator.clipboard) {\n fallbackCopyTextToClipboard(text);\n return;\n }\n navigator.clipboard.writeText(text).then(\n function () {},\n function (err) {\n console.error(\"Async: Could not copy text: \", err);\n }\n );\n};\n\nexport function getYesterday() {\n let yesterday = new Date();\n yesterday.setDate(yesterday.getDate() - 1);\n let formattedyesterday = yesterday.toISOString().slice(0, 10);\n localStorage.setItem(\"yesterday\", formattedyesterday);\n}\n\nexport function getToday() {\n let today = new Date();\n today.setDate(today.getDate());\n let formattedToday = today.toISOString().slice(0, 10);\n localStorage.setItem(\"today\", formattedToday);\n}\nexport const getHumanDate = (isoformat) => {\n var readable = new Date(isoformat); // When we pass the ISO format to the JS Date constructor, the return is \"Fri Jul 04 2014 21:06:08 GMT-0400 (Eastern Daylight Time)\"\n var m = readable.getMonth(); // returns 6 (note that this number is one less than the number of the month in isoformat)\n var d = readable.getDate(); // returns 15\n var y = readable.getFullYear(); // returns 2012\n // we define an array of the months in a year\n var months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ];\n // we get the text name of the month by using the value of m to find the corresponding month name\n var mlong = months[m];\n return mlong + \" \" + d + \", \" + y;\n};\n\nexport function tokenHasExpired() {\n const tokenExpiresIn = Cookies.get(\"tokenExpiry\");\n const currentTime = Date.now();\n // if (!tokenExpiresIn) {\n // return;\n // }\n if (currentTime < tokenExpiresIn) {\n return true;\n }\n if (currentTime > tokenExpiresIn) {\n Cookies.remove(\"tokenExpiry\");\n // Cookies.remove(\"userToken\");\n return false;\n }\n}\n\nexport function getRandomInt(min, max) {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min)) + min; //The maximum is exclusive and the minimum is inclusive\n}\n\nexport function formatCurrency(value) {\n return new Intl.NumberFormat(\"en-NG\", {\n style: \"currency\",\n currency: \"NGN\",\n }).format(value);\n}\n\n\ngetYesterday();\ngetToday();\n\n\nexport function formatMoney(amount) {\n const options = {\n style: \"currency\",\n currency: \"NGN\",\n minimumFractionDigits: 2,\n };\n // if its a whole, naira amount, leave off the .00\n if (amount % 100 === 0) options.minimumFractionDigits = 0;\n amount = amount / 100;\n const formatter = new Intl.NumberFormat(\"en-NG\", options);\n return formatter.format(amount);\n}","import { base64ToHex } from '../utils/utilityFunctions';\n\nexport const rsaEncryption = (password) => {\n const crypto = require('crypto');\n const publicKeyString = `${process.env.REACT_APP_PUBLIC_KEY}`;\n let key = {\n key: publicKeyString,\n padding: crypto.constants.RSA_PKCS1_PADDING,\n };\n let encryptedValue = crypto\n .publicEncrypt(key, Buffer.from(password))\n .toString('base64');\n return encryptedValue;\n};\n\nexport const aesEncryption = (data, key) => {\n var CryptoJS = require('crypto-js');\n var keySize = 256;\n var iterations = 1000;\n var salt = `${process.env.REACT_APP_PFD}`;\n var aesKey = CryptoJS.PBKDF2(key, salt, {\n keySize: keySize / 32,\n iterations: iterations,\n });\n\n var iv = CryptoJS.PBKDF2(key, salt, {\n keySize: keySize / 64,\n iterations: iterations,\n });\n\n var encrypted = CryptoJS.AES.encrypt(data, aesKey, {\n iv: iv,\n padding: CryptoJS.pad.Pkcs7,\n mode: CryptoJS.mode.CBC,\n });\n\n var encryptedHex = base64ToHex(encrypted.toString());\n var base64String = Buffer.from(encryptedHex, 'hex').toString('base64');\n return base64String;\n};\n\nexport const aesDecryption = (data, key) => {\n var CryptoJS = require('crypto-js');\n var keySize = 256;\n var iterations = 1000;\n var salt = `${process.env.REACT_APP_PFD}`;\n\n var aesKey = CryptoJS.PBKDF2(key, salt, {\n keySize: keySize / 32,\n iterations: iterations,\n });\n\n var iv = CryptoJS.PBKDF2(key, salt, {\n keySize: keySize / 64,\n iterations: iterations,\n });\n\n var decrypted = CryptoJS.AES.decrypt(data, aesKey, {\n iv: iv,\n padding: CryptoJS.pad.Pkcs7,\n mode: CryptoJS.mode.CBC,\n });\n\n decrypted = decrypted.toString(CryptoJS.enc.Utf8);\n return decrypted;\n};\n","import axios from \"axios\";\nimport Cookies from \"js-cookie\";\nimport { aesDecryption } from \"./apiSecurity\";\nexport const urls = {\n // base url\n baseUrl: \"https://kudaopenapidashboard-api.inkuda.com\",\n\n // api client\n signup: \"/api/APIClient/createaccount\",\n login: \"/api/APIClient/login\",\n resetPassword: \"/api/APIClient/resetpassword\",\n setPassword: \"/api/APIClient/setpassword\",\n regeneratekeys: \"/api/APIClient/regeneratekeys\",\n updateTestWebhookUrl: \"/api/APIClient/updatetestwebhookurl\",\n updateLiveWebhookUrl: \"/api/APIClient/updatelivewebhookurl\",\n emailCheck: \"/api/APIClient/EmailCheck\",\n initiateResetPassword: \"/api/APIClient/InitiatePasswordReset\",\n completeResetPassword: \"/api/APIClient/CompletePasswordReset\",\n connectKudaAccount: \"/api/APIClient/addaccountnumber\",\n goLiveRequest: \"/api/APIClient/golive\",\n uploadDocument: \"/api/APIClient/uploaddocument\",\n getClientDocument: \"/api/APIClient/getclientdocument\",\n updateLive: \"/api/APIClient/updatelive\",\n updateClient: \"/api/APIClient/UpdateClient\",\n getK4BAccounts: \"/api/APIClient/getkudabusinessaccounts\",\n acceptCustomerBusAccOption:\n \"/api/APIClient/AcceptCustomerBusinessAccountOption\",\n verifyOTP: \"/api/APIClient/VefifyOTP\",\n generateApiToken: \"/api/APIClient/GenerateClientApiKey\",\n sendEmail: \"/api/APIClient/SendEmail\",\n updateTokenExpiry: \"/api/APIClient/UpdateClientTokenExpiry\",\n getTokenExpiry: \"/api/APIClient/GetClientTokenExpiryTime\",\n updateTestBillWebhookUrl: \"/api/APIClient/UpdateTestBillWebHookUrl\",\n updateLiveBillWebhookUrl: \"/api/APIClient/UpdateLiveBillWebHookUrl\",\n loginSendOtp: \"/api/APIClient/SendOtp\",\n validateOtp: \"/api/APIClient/ValidateOTP\",\n\n // dashboard APIs\n getFilteredMainAccountTransactions:\n \"/api/Dashboard/getfilteredmainaccounttransactions\",\n getMainAccountTransactions: \"/api/Dashboard/getmainaccounttransactions\",\n getSubAccountTransactions: \"/api/Dashboard/getsubaccounttransactions\",\n getFilteredSubaccountsTransactions:\n \"/api/Dashboard/getfilteredsubaccounttransactions\",\n getSubAccounts: \"/api/Dashboard/getsubaccounts\",\n createSubaccount: \"/api/Dashboard/createsubaccount\",\n getSubaccountsRevenue: \"/api/Dashboard/getsubaccountrevenue\",\n getSubaccountsCreated: \"/api/Dashboard/getsubaccountcreated\",\n getSubAccountsInflow: \"/api/Dashboard/getsubaccountinflow\",\n getSubAccountsOutflow: \"/api/Dashboard/getsubaccountoutflow\",\n getBalance: \"/api/Dashboard/getbalance\",\n getStatement: \"/api/Dashboard/getstatement\",\n getTransactionLimit: \"/api/Dashboard/GetTransactionLimit\",\n setTransactionLimit: \"/api/Dashboard/setdailyinterbanklimit\",\n getVirtualTransactionLimit:\n \"/api/Dashboard/GetVirtualAccountTransactionLimit\",\n setVirtualTransactionLimit:\n \"/api/Dashboard/SetVirtualAccountDailyInterbankLimit\",\n getMainAccountTransactionInflow: \"/api/Dashboard/getmainaccountinflow\",\n getMainAccountTransactionOutflow: \"/api/Dashboard/getmainaccountoutflow\",\n getVirtualAccountBalance: \"/api/Dashboard/getvirtualaccountbalance\",\n searchSubAccount: \"/api/Dashboard/SearchSubAccount\",\n\n // test console\n testConsole: \"/api/TestConsole/test\",\n\n // cards APIs\n checkCardAccessPermission: \"/api/APIClient/CheckCardAccessPermission\",\n checkCardApprovalStatus: \"/api/APIClient/CheckCardDesignApprovalStatus\",\n requestCard: \"/api/Dashboard/RequestCard\",\n fetchCards: \"/api/Dashboard/GetCustomerCards\",\n downloadGuidlines: \"/api/ApiClient/GetCardDesignGuide\",\n};\n\nconst userToken = Cookies.get(\"userToken\");\nconst token = aesDecryption(\n `${userToken}`,\n `${process.env.REACT_APP_ENCRYPTION_KEY}`\n);\n\nexport const AuthAxios = axios.create({\n baseURL: urls.baseUrl,\n headers: {\n Authorization: `Bearer ${token}`,\n \"X-Frame-Options\": \"DENY\",\n },\n});\n\n// https://kudaopenapidashboard-api.inkuda.com\n\n// https://kuda-openapidashboard-uat.kudabank.com\n\n// https://kudaopenapidashboard-api.azurewebsites.net\n","import React from \"react\";\nimport styled from \"styled-components\";\n\nconst PreLoader = () => {\n return (\n <LoaderContainer>\n <span className=\"spinner\"></span>\n </LoaderContainer>\n );\n};\n\nconst LoaderContainer = styled.div`\n width: 100%;\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nexport default PreLoader;\n","import styled from \"styled-components\";\n\nexport const ErrorContainer = styled.section`\n width: 100%;\n\n .error__top-section {\n width: 100%;\n height: 70px;\n background: #40196d;\n padding-left: 32px;\n display: flex;\n align-items: center;\n }\n .error__body-section {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: calc(100vh - 70px);\n .error__icon {\n margin-bottom: 36px;\n }\n h5 {\n font-weight: 900;\n font-size: 28px;\n line-height: 34px;\n text-align: center;\n color: #121212;\n }\n button {\n background: #40196d;\n border-radius: 10px;\n height: 48px;\n width: 183px;\n border-radius: 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 25px;\n text-align: center;\n color: #ffffff;\n margin-top: 36px;\n cursor: pointer;\n }\n }\n`;\n","export default __webpack_public_path__ + \"static/media/kuda-logo.8f11085d.svg\";","import * as types from \"../actions/actionTypes\";\nconst initialState = {\n isLoggedIn: false,\n results: [],\n loading: false,\n token: \"\",\n status: false,\n newVerify: \"\",\n message: \"\",\n verifyToken: \"\",\n};\n\nexport function loginReducer(state = initialState, action) {\n switch (action.type) {\n case types.REGISTER_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.REGISTER_SUCCESS:\n return {\n ...state,\n loading: false,\n isLoggedIn: true,\n status: action.status,\n token: action.token,\n results: action.data,\n message: action.message,\n };\n case types.REGISTER_FAILURE:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.UPDATE_CLIENT_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.UPDATE_CLIENT_SUCCESS:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.UPDATE_CLIENT_FAILURE:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.LOGIN_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.LOGIN_SUCCESS:\n return {\n ...state,\n isLoggedIn: true,\n results: action.data,\n loading: false,\n token: action.token,\n };\n case types.LOGIN_FAILURE:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.RESET_LOGIN_STATE:\n return {\n ...state,\n loading: false,\n message: \"\",\n status: false,\n };\n case types.SIGN_OUT:\n return {\n ...state,\n isLoggedIn: false,\n results: [],\n };\n default:\n return state;\n }\n}\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n menuOpen: false,\n};\nexport function utilReducer(state = initialState, action) {\n switch (action.type) {\n case types.MENU_TOGGLE:\n return {\n ...state,\n menuOpen: action.payload,\n };\n default:\n return state;\n }\n}\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n message: \"\",\n loading: false,\n data: {},\n error: null,\n status: false\n}\n\nexport default function tradeNameReducer (state = initialState, action) {\n switch (action.type) {\n case types.EDIT_TRADE_NAME_FAILURE:\n return {\n ...state,\n error: action.error,\n loading: false\n };\n case types.EDIT_TRADE_NAME_IN_PROGRESS:\n return {\n ...state,\n loading: true\n };\n case types.EDIT_TRADE_NAME_SUCCESS:\n return {\n ...state,\n loading: false,\n message: action.message,\n data: action.data,\n status: action.status\n }\n default:\n return state\n }\n}","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n getTransactionLimit: {\n data: {},\n message: {},\n loading: false,\n status: false\n },\n setTransactionLimit: {\n data: {},\n message: {},\n loading: false,\n status: false\n }\n}\n\nexport default function accountLimitReducer (state = initialState, action) {\n switch (action.type) {\n case types.GET_TRANSACTION_LIMIT_INPROGRESS:\n return {\n ...state,\n getTransactionLimit: {\n loading: true\n }\n }\n case types.GET_TRANSACTION_LIMIT_FAILURE:\n return {\n ...state,\n getTransactionLimit: {\n loading: false,\n message: action.error,\n status: action.status\n }\n }\n case types.GET_TRANSACTION_LIMIT_SUCCESS:\n return {\n ...state,\n getTransactionLimit: {\n loading: false,\n message: action.error,\n status: action.status,\n data: action.data\n }\n }\n case types.SET_TRANSACTION_LIMIT_INPROGRESS:\n return {\n ...state,\n setTransactionLimit: {\n loading: true\n }\n }\n case types.SET_TRANSACTION_LIMIT_FAILURE:\n return {\n ...state,\n setTransactionLimit: {\n loading: false,\n message: action.error,\n status: action.status\n }\n }\n case types.SET_TRANSACTION_LIMIT_SUCCESS:\n return {\n ...state,\n setTransactionLimit: {\n loading: false,\n data: action.data,\n status: action.status,\n message: action.message\n }\n }\n default:\n return state\n }\n}","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n data: {},\n message: \"\",\n error: {},\n loading: false,\n status: false\n}\n\nexport default function ConnectK4bAccountReducer (state = initialState, action) {\n switch (action.type) {\n case types.CONNECT_KUDA_ACCOUNT_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.CONNECT_KUDA_ACCOUNT_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n message: action.error\n };\n case types.CONNECT_KUDA_ACCOUNT_SUCCESS:\n return {\n ...state,\n data: action.data,\n status: action.status,\n message: action.message,\n loading: false\n };\n default:\n return state\n }\n}","import * as types from \"../actions/actionTypes\";\n\nconst initiialState = {\n businessAccountTransaction: [],\n filteredBusinessAccountTransaction: [],\n mainAccountBalance: 0,\n loading: false,\n recordsInStore: 0,\n};\n\nexport const businessTransactionsReducer = (state = initiialState, action) => {\n switch (action.type) {\n case types.GET_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_MAINACCOUNT_TRANSACTIONS_SUCCESS:\n return {\n ...state,\n businessAccountTransaction: action.data,\n recordsInStore: action.recordsInStore,\n loading: false,\n };\n case types.GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_FILTERED_MAINACCOUNT_TRANSACTIONS_SUCCESS:\n return {\n ...state,\n filteredBusinessAccountTransaction: action.data,\n recordsInStore: action.recordsInStore,\n loading: false,\n };\n case types.GET_ACCOUNT_BALANCE_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_ACCOUNT_BALANCE_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_ACCOUNT_BALANCE_SUCCESS:\n return {\n ...state,\n loading: false,\n mainAccountBalance: action.data,\n };\n default:\n return state;\n }\n};\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n subaccounts: [],\n subaccountsRevenue: 0,\n subaccountsCreated: 0,\n subaccountTransactions: [],\n subaccountInflow: [],\n subaccountOutflow: [],\n transactionsRecordsInStore: 0,\n subAccountsInStore: 0,\n inflowRecordsInStore: 0,\n outflowRecordsInStore: 0,\n recordsInStore: 0,\n status: false,\n loading: false,\n message: \"\",\n createsubMessage: \"\",\n data: {},\n error: {},\n};\n\nexport const customerReducer = (state = initialState, action) => {\n switch (action.type) {\n case types.GET_SUBACCOUNTS_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_SUBACCOUNTS_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_SUCCESS:\n return {\n ...state,\n subaccounts: action.data,\n subAccountsInStore: action.recordsInStore,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.GET_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNT_TRANSACTIONS_SUCCESS:\n return {\n ...state,\n recordsInStore: action.recordsInStore,\n subaccountTransactions: action.data,\n loading: false,\n };\n case types.GET_SUBACCOUNT_INFLOW_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_SUBACCOUNT_INFLOW_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNT_INFLOW_SUCCESS:\n return {\n ...state,\n subaccountInflow: action.data,\n inflowRecordsInStore: action.recordsInStore,\n loading: false,\n };\n case types.GET_SUBACCOUNT_OUTFLOW_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_SUBACCOUNT_OUTFLOW_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNT_OUTFLOW_SUCCESS:\n return {\n ...state,\n subaccountOutflow: action.data,\n outflowRecordsInStore: action.recordsInStore,\n loading: false,\n };\n case types.GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_FILTERED_SUBACCOUNT_TRANSACTIONS_SUCCESS:\n return {\n ...state,\n loading: false,\n subaccountTransactions: action.data,\n recordsInStore: action.totalRecordsInStore,\n };\n case types.CREATE_SUBACCOUNT_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.CREATE_SUBACCOUNT_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n status: action.status,\n createsubMessage: action.error.message,\n };\n case types.CREATE_SUBACCOUNT_SUCCESS:\n return {\n ...state,\n data: action.data,\n status: action.status,\n createsubMessage: action.message,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_REVENUE_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_REVENUE_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_REVENUE_SUCCESS:\n return {\n ...state,\n subaccountsRevenue: action.data,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_CREATED_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.GET_SUBACCOUNTS_CREATED_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.GET_SUBACCOUNTS_CREATED_SUCCESS:\n return {\n ...state,\n subaccountsCreated: action.data,\n loading: false,\n };\n default:\n return state;\n }\n};\n","import * as types from \"../actions/actionTypes\";\n\nconst iniitialState = {\n modalOpenConnectk4b: false,\n modalOpenConnecting: false,\n modalOpenGoLiveRequest: false,\n modalOpenFeedback: false,\n};\n\nexport const modalsReducer = (state = iniitialState, action) => {\n switch (action.type) {\n case types.OPEN_CONNECT_K4B_MODAL:\n return {\n ...state,\n modalOpenConnectk4b: action.payload,\n };\n case types.OPEN_CONNECTING_K4B_MODAL:\n return {\n ...state,\n modalOpenConnecting: action.payload,\n };\n case types.OPEN_GO_LIVE_REQUEST:\n return {\n ...state,\n modalOpenGoLiveRequest: action.payload,\n };\n case types.OPEN_FEEDBACK_MODAL:\n return {\n ...state,\n modalOpenFeedback: action.payload,\n };\n default:\n return state;\n }\n};\n//\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n data: {},\n loading: false,\n status: false,\n message: \"\"\n}\n\nexport default function GoLiveReducer (state = initialState, action) {\n switch (action.type) {\n case types.GO_LIVE_REQUEST_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true\n }\n case types.GO_LIVE_REQUEST_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n message: action.message,\n status: false\n }\n case types.GO_LIVE_REQUEST_SUCCESS:\n return {\n ...state,\n loading: false,\n message: action.message,\n data: action.data,\n status: action.status\n }\n default:\n return state;\n }\n}","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n bankListData: [],\n nameEnquiryData: [],\n createVirtualAccountData: [],\n retrieveVirtualAccountData: [],\n singleFundTransferData: [],\n virtualAccountFundTransferData: [],\n transactionStatusQueryData: [],\n retreiveVirtualAccountBalanceData: [],\n retreiveTransactionLogsData: [],\n mainAccountTransactionsData: [],\n mainAccountFilteredTransactionsData: [],\n virtualAccountTransactionsData: [],\n virtualAccountFilteredTransactionsData: [],\n fundVirtualAccountData: [],\n withdrawVirtualAccountData: [],\n retreiveMainAccountBalanceData: [],\n retrieveSpendAndSaveTransactionsData: [],\n createPlainSavingsData: [],\n getPlainSavingsData: [],\n getAllCustomerPlainSavingsData: [],\n getAllPlainSavingsData: [],\n updatePlainSavingsData: [],\n plainSavingsTransactionsData: [],\n retrievePlainSavingsTransactionsData: [],\n createOpenFlexibleSaveData: [],\n createClosedFlexibleSaveData: [],\n retrieveFlexibleSaveData: [],\n retrieveAllCustomerFlexibleSaveData: [],\n retrieveAllFlexibleSaveData: [],\n withdrawFromFlexibleSaveData: [],\n retrieveAllFlexibleSaveTransactionsData: [],\n createFixedSavingsData: [],\n getFixedSavingsData: [],\n getAllCustomerFixedSavingsData: [],\n getAllFixedSavingsData: [],\n completeFixedSavingsWithdrawalData: [],\n retrieveFixedSavingsTransactionsData: []\n}\n\nexport default function TestConsoleReducer(\n state = initialState,\n action\n) {\n switch (action.type) {\n case types.PUBLISH_TO_TEST_CONSOLE_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.PUBLISH_TO_TEST_CONSOLE_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.PUBLISH_TO_TEST_CONSOLE_SUCCESS:\n return switchServiceType(state, action)\n case types.RESET_TEST_CONSOLE:\n return {\n results: [],\n };\n default:\n return state;\n }\n}\n\nfunction switchServiceType (state, action) {\n switch (action.serviceType) {\n case \"BANK_LIST\":\n return {\n ...state,\n bankListData: action.data,\n loading: false,\n };\n case \"NAME_ENQUIRY\":\n return {\n ...state,\n nameEnquiryData: action.data,\n loading: false,\n };\n case \"RETRIEVE_VIRTUAL_ACCOUNT_BALANCE\":\n return {\n ...state,\n retreiveVirtualAccountBalanceData: action.data,\n loading: false,\n };\n case \"SINGLE_FUND_TRANSFER\":\n return {\n ...state,\n singleFundTransferData: action.data,\n loading: false,\n };\n case \"TRANSACTION_STATUS_QUERY\":\n return {\n ...state,\n transactionStatusQueryData: action.data,\n loading: false,\n };\n case \"ADMIN_CREATE_VIRTUAL_ACCOUNT\":\n return {\n ...state,\n createVirtualAccountData: action.data,\n loading: false,\n };\n case \"ADMIN_RETRIEVE_SINGLE_VIRTUAL_ACCOUNT\":\n return {\n ...state,\n retrieveVirtualAccountData: action.data,\n loading: false,\n };\n case \"VIRTUAL_ACCOUNT_FUND_TRANSFER\":\n return {\n ...state,\n virtualAccountFundTransferData: action.data,\n loading: false,\n };\n case \"RETRIEVE_TRANSACTION_LOGS\":\n return {\n ...state,\n retreiveTransactionLogsData: action.data,\n loading: false,\n };\n case \"ADMIN_MAIN_ACCOUNT_TRANSACTIONS\":\n return {\n ...state,\n mainAccountTransactionsData: action.data,\n loading: false,\n }\n case \"ADMIN_MAIN_ACCOUNT_FILTERED_TRANSACTIONS\":\n return {\n ...state,\n mainAccountFilteredTransactionsData: action.data,\n loading: false,\n }\n case \"ADMIN_VIRTUAL_ACCOUNT_TRANSACTIONS\":\n return {\n ...state,\n virtualAccountTransactionsData: action.data,\n loading: false,\n }\n case \"ADMIN_VIRTUAL_ACCOUNT_FILTERED_TRANSACTIONS\":\n return {\n ...state,\n virtualAccountFilteredTransactionsData: action.data,\n loading: false,\n }\n case \"FUND_VIRTUAL_ACCOUNT\":\n return {\n ...state,\n fundVirtualAccountData: action.data,\n loading: false,\n }\n case \"WITHDRAW_VIRTUAL_ACCOUNT\":\n return {\n ...state,\n withdrawVirtualAccountData: action.data,\n loading: false,\n }\n case \"ADMIN_RETRIEVE_MAIN_ACCOUNT_BALANCE\":\n return {\n ...state,\n retreiveMainAccountBalanceData: action.data,\n loading: false,\n }\n case \"RETRIEVE_SPEND_AND_SAVE_TRANSACTIONS\":\n return {\n ...state,\n retrieveSpendAndSaveTransactionsData: action.data,\n loading: false,\n }\n case \"CREATE_PLAIN_SAVINGS\": \n return {\n ...state,\n createPlainSavingsData: action.data,\n loading: false,\n }\n case \"GET_PLAIN_SAVINGS\":\n return {\n ...state,\n getAllCustomerPlainSavingsData: action.data,\n loading: false,\n }\n case \"GET_ALL_PLAIN_SAVINGS\":\n return {\n ...state,\n getAllPlainSavingsData: action.data,\n loading: false,\n }\n case \"GET_ALL_CUSTOMER_PLAIN_SAVINGS\":\n return {\n ...state,\n getPlainSavingsData: action.data,\n loading: false,\n }\n case \"UPDATE_PLAIN_SAVINGS\": \n return {\n ...state,\n updatePlainSavingsData: action.data,\n loading: false,\n }\n case \"PLAIN_SAVINGS_TRANSACTIONS\":\n return {\n ...state,\n plainSavingsTransactionsData: action.data,\n loading: false,\n }\n case \"RETRIEVE_PLAIN_SAVINGS_TRANSACTIONS\":\n return {\n ...state,\n retrievePlainSavingsTransactionsData: action.data,\n loading: false,\n }\n case \"CREATE_OPEN_FLEXIBLE_SAVE\":\n return {\n ...state,\n createOpenFlexibleSaveData: action.data,\n loading: false,\n }\n case \"CREATE_CLOSED_FLEXIBLE_SAVE\":\n return {\n ...state,\n createClosedFlexibleSaveData: action.data,\n loading: false,\n }\n case \"GET_OPEN_FLEXIBLE_SAVE\":\n case \"GET_CLOSED_FLEXIBLE_SAVE\":\n return {\n ...state,\n retrieveFlexibleSaveData: action.data,\n loading: false,\n }\n case \"GET_ALL_CUSTOMER_OPEN_FLEXIBLE_SAVE\":\n case \"GET_ALL_CUSTOMER_CLOSED_FLEXIBLE_SAVE\":\n return {\n ...state,\n retrieveAllCustomerFlexibleSaveData: action.data,\n loading: false,\n }\n case \"GET_ALL_OPEN_FLEXIBLE_SAVE\":\n case \"GET_ALL_CLOSED_FLEXIBLE_SAVE\":\n return {\n ...state,\n retrieveAllFlexibleSaveData: action.data,\n loading: false,\n }\n case \"COMPLETE_OPEN_FLEXIBLE_SAVE_WITHDRAWAL\":\n case \"COMPLETE_CLOSED_FLEXIBLE_SAVE_WITHDRAWAL\":\n return {\n ...state,\n withdrawFromFlexibleSaveData: action.data,\n loading: false,\n }\n case \"RETRIEVE_OPEN_FLEXIBLE_SAVINGS_TRANSACTIONS\":\n case \"RETRIEVE_CLOSED_FLEXIBLE_SAVINGS_TRANSACTIONS\":\n return {\n ...state,\n retrieveAllFlexibleSaveTransactionsData: action.data,\n loading: false,\n }\n case \"CREATE_FIXED_SAVINGS\":\n return {\n ...state,\n createFixedSavingsData: action.data,\n loading: false,\n }\n case \"GET_FIXED_SAVINGS\":\n return {\n ...state,\n getFixedSavingsData: action.data,\n loading: false,\n }\n case \"GET_ALL_CUSTOMER_FIXED_SAVINGS\":\n return {\n ...state,\n getAllCustomerFixedSavingsData: action.data,\n loading: false,\n }\n case \"GET_ALL_FIXED_SAVINGS\":\n return {\n ...state,\n getAllFixedSavingsData: action.data,\n loading: false,\n }\n case \"COMPLETE_FIXED_SAVINGS_WITHDRAWAL\":\n return {\n ...state,\n completeFixedSavingsWithdrawalData: action.data,\n loading: false,\n }\n case \"RETRIEVE_FIXED_SAVINGS_TRANSACTIONS\":\n return {\n ...state,\n retrieveFixedSavingsTransactionsData: action.data,\n loading: false,\n }\n default:\n break;\n }\n}","import * as types from \"../actions/actionTypes\"\n\nconst initialState = {\n loading: false,\n status: \"\",\n message: \"\"\n}\n\nexport default function WebhooksReducer (state = initialState, action ) {\n switch (action.type) {\n case types.UPDATE_LIVE_WEBHOOK_URL_API_CALL_INPROGRESS:\n case types.UPDATE_TEST_WEBHOOK_URL_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true\n }\n case types.UPDATE_LIVE_WEBHOOK_URL_API_CALL_FAILURE:\n case types.UPDATE_TEST_WEBHOOK_URL_API_CALL_FAILURE:\n return {\n ...state,\n loading: false,\n message: action.message\n }\n case types.UPDATE_LIVE_WEBHOOK_URL_API_CALL_SUCCESS:\n case types.UPDATE_TEST_WEBHOOK_URL_API_CALL_SUCCESS:\n return {\n ...state,\n loading: false,\n status: action.data.status,\n message: action.data.message\n }\n default:\n return state\n }\n}","import * as types from '../actions/actionTypes';\n\nconst initialState = {\n isOnLive: false,\n clientStatus: 1,\n accountNumber: \"\",\n isTINUploaded: false,\n isCACUploaded: false,\n isLiveStatus: false,\n message: \"\",\n};\n\nexport default function UpdateUserReducer (state = initialState, action) {\n switch (action.type) {\n case types.GET_ACCOUNT_DATA:\n return {\n ...state,\n isOnLive: action.isOnLive,\n clientStatus: action.clientStatus,\n accountNumber: action.accountNumber,\n isTINUploaded: action.isTINUploaded,\n isCACUploaded: action.isCACUploaded\n }\n case types.UPDATE_ACCOUNT_DATA_IN_PROGESS:\n return {\n ...state,\n loading: true,\n }\n case types.UPDATE_ACCOUNT_DATA:\n return {\n ...state,\n loading: false,\n message: action.message,\n isLiveStatus: false,\n };\n case types.UPDATE_ACCOUNT_DATA_FAILURE:\n return {\n ...state,\n loading: false,\n message: action.message,\n isLiveStatus: false,\n };\n default:\n return state\n }\n}","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n showErrorModal: false,\n errorType: null,\n message: \"\",\n errorCode: null,\n};\nexport const errorHandlerReducer = (state = initialState, action) => {\n switch (action.type) {\n case types.HTTP_401_ERROR:\n return {\n ...state,\n showErrorModal: true,\n message: action.message,\n errorCode: action.errorCode\n };\n case types.HTTP_500_ERROR:\n return {\n ...state,\n showErrorModal: true,\n message: action.message,\n errorCode: action.errorCode,\n };\n case types.HTTP_OTHER_ERROR:\n return {\n ...state,\n showErrorModal: true,\n message: action.message,\n errorCode: action.errorCode,\n };\n default:\n return state;\n }\n};\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n checkCardAccessPermission: {},\n loading: false,\n status: false,\n reviewStatus: null,\n message: \"\",\n data: [],\n};\n\nexport const cardsReducer = (state = initialState, action) => {\n switch (action.type) {\n case types.CARD_START:\n return {\n ...state,\n loading: true,\n };\n case types.CARD_FAIL:\n return {\n ...state,\n loading: false,\n };\n case types.CHECK_CARD_PERMISSION:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.CHECK_CARD_APPROVAL_STATUS:\n return {\n ...state,\n loading: false,\n reviewStatus: action.status,\n message: action.message,\n };\n case types.REQUEST_CARD:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.FETCH_CARDS:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n data: action.data,\n };\n default:\n return state;\n }\n};\n","import * as types from \"../actions/actionTypes\";\n\nconst initialState = {\n loading: false,\n status: false,\n message: \"\",\n data: \"\",\n};\n\nexport const UploadReducer = (state = initialState, action) => {\n switch (action.type) {\n case types.DOCUMENTS_UPLOAD_API_CALL_INPROGRESS:\n return {\n ...state,\n loading: true,\n };\n case types.DOCUMENTS_UPLOAD_API_FAILURE:\n return {\n ...state,\n loading: false,\n };\n case types.DOCUMENTS_UPLOAD_SUCCESS:\n return {\n ...state,\n loading: false,\n status: action.status,\n message: action.message,\n };\n case types.GET_DOCUMENTS_SUCCESS:\n return {\n ...state,\n loading: false,\n status: action.status,\n data: action.data,\n };\n default:\n return state;\n }\n};\n","import { combineReducers } from \"redux\";\nimport { loginReducer } from \"./onboardingReducer\";\nimport { utilReducer } from \"./utilReducer\";\nimport tradeNameReducer from \"./editTradeNameReducer\";\nimport accountLimitReducer from \"./accountLimitReducer\";\nimport ConnectK4bAccountReducer from \"./connectK4bAccountReducer\";\nimport { businessTransactionsReducer } from \"./businessTransactionsReducer\";\nimport { customerReducer } from \"./customersReducer\";\nimport { modalsReducer } from \"./modalsReducer\";\nimport GoLiveReducer from \"./goLiveReducer\";\nimport TestConsoleReducer from \"./testConsoleReducer\";\nimport WebhooksReducer from \"./webhooksReducer\";\nimport UpdateUserReducer from \"./updateUserReducer\";\nimport { errorHandlerReducer } from \"./errorHandlerReducer\";\nimport { cardsReducer } from \"./cardsReducer\";\nimport { UploadReducer } from \"./UploadReducer\";\n\nconst rootReducer = combineReducers({\n login: loginReducer,\n util: utilReducer,\n businessTransactions: businessTransactionsReducer,\n customerTransactions: customerReducer,\n modals: modalsReducer,\n tradeName: tradeNameReducer,\n accountLimit: accountLimitReducer,\n connectK4bAccount: ConnectK4bAccountReducer,\n golive: GoLiveReducer,\n testConsole: TestConsoleReducer,\n webhooks: WebhooksReducer,\n updateUser: UpdateUserReducer,\n errorHandler: errorHandlerReducer,\n cards: cardsReducer,\n uploadDocument: UploadReducer\n});\n\nexport default rootReducer;\n","import { createStore, applyMiddleware, compose } from \"redux\";\nimport reduxImmutableStateInvariant from \"redux-immutable-state-invariant\";\nimport thunk from \"redux-thunk\";\nimport rootReducer from \"./reducers\";\n\nexport default function configureStore(initialState) {\n const composeEnhancers =\n window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\n\n return createStore(\n rootReducer,\n initialState,\n composeEnhancers(applyMiddleware(thunk, reduxImmutableStateInvariant()))\n );\n}\n","// onboarding Actions\nexport const REGISTER_INPROGRESS = \"REGISTER_START\";\nexport const REGISTER_SUCCESS = \"REGISTER_SUCCESS\";\nexport const REGISTER_FAILURE = \"REGISTER_FAILURE\";\n\nexport const UPDATE_CLIENT_INPROGRESS = \"UPDATE_CLIENT_INPROGRESS\";\nexport const UPDATE_CLIENT_SUCCESS = \"UPDATE_CLIENT_SUCCESS\";\nexport const UPDATE_CLIENT_FAILURE = \"UPDATE_CLIENT_FAILURE\";\n\nexport const LOGIN_INPROGRESS = \"LOGIN_INPROGRESS\";\nexport const LOGIN_FAILURE = \"LOGIN_FAILURE\";\nexport const LOGIN_SUCCESS = \"LOGIN_SUCCESS\";\nexport const RESET_LOGIN_STATE = \"RESET_LOGIN_STATE\";\n\nexport const LOGIN_SEND_OTP_INPROGRESS = \"LOGIN_SEND_OTP_INPROGRESS\";\nexport const LOGIN_SEND_OTP_FAILURE = \"LOGIN_SEND_OTP_FAILURE\";\nexport const LOGIN_SEND_OTP_SUCCESS = \"LOGIN_SEND_OTP_SUCCESS\";\n\nexport const LOGIN_VALIDATE_OTP_INPROGRESS = \"LOGIN_VALIDATE_OTP_INPROGRESS\";\nexport const LOGIN_VALIDATE_OTP_FAILURE = \"LOGIN_VALIDATE_OTP_FAILURE\";\nexport const LOGIN_VALIDATE_OTP_SUCCESS = \"LOGIN_VALIDATE_OTP_SUCCESS\";\n\nexport const SIGN_OUT = \"SIGN_OUT\";\n\nexport const MENU_TOGGLE = \"MENU_TOGGLE\";\n\n// DOCUMENTS_UPLOAD ACTIONS\nexport const DOCUMENTS_UPLOAD_API_CALL_INPROGRESS =\n \"DOCUMENTS_UPLOAD_API_CALL_INPROGRESS\";\nexport const DOCUMENTS_UPLOAD_API_FAILURE = \"DOCUMENTS_UPLOAD_API_FAILURE\";\nexport const DOCUMENTS_UPLOAD_SUCCESS = \"DOCUMENTS_UPLOADED_SUCCESS\";\nexport const GET_DOCUMENTS_SUCCESS = \"GET_DOCUMENTS_SUCCESS\";\n\n// CONNECT_KUDA_ACCOUNT ACTIONS\nexport const CONNECT_KUDA_ACCOUNT_API_CALL_INPROGRESS =\n \"CONNECT_KUDA_ACCOUNT_API_CALL_INPROGRESS\";\nexport const CONNECT_KUDA_ACCOUNT_API_CALL_FAILURE =\n \"CONNECT_KUDA_ACCOUNT_API_CALL_FAILURE\";\nexport const CONNECT_KUDA_ACCOUNT_SUCCESS = \"CONNECT_KUDA_ACCOUNT_SUCCESS\";\n\n// ACCOUNT_STATUS ACTIONS\nexport const GET_ACCOUNT_DATA = \"GET_ACCOUNT_DATA\";\nexport const UPDATE_ACCOUNT_DATA = \"UPDATE_ACCOUNT_DATA\";\nexport const UPDATE_ACCOUNT_DATA_FAILURE = \"UPDATE_ACCOUNT_DATA_FAILURE\";\nexport const UPDATE_ACCOUNT_DATA_IN_PROGESS = \"UPDATE_ACCOUNT_DATA_IN_PROGESS\";\n\n// GET_API_KEYS ACTIONS\nexport const REGENERATE_KEYS_API_CALL_INPROGRESS =\n \"REGENERATE_KEYS_API_CALL_INPROGRESS\";\nexport const REGENERATE_KEYS_API_CALL_FAILURE =\n \"REGENERATE_KEYS_API_CALL_FAILURE\";\nexport const REGENERATE_KEYS_API_SUCCESS = \"REGENERATE_KEYS_API_CALL_SUCCESS\";\n\n// GO_LIVE_REQUEST ACTIONS\nexport const GO_LIVE_REQUEST_API_CALL_INPROGRESS =\n \"GO_LIVE_REQUEST_API_CALL_INPROGRESS\";\nexport const GO_LIVE_REQUEST_API_CALL_FAILURE =\n \"GO_LIVE_REQUEST_API_CALL_FAILURE\";\nexport const GO_LIVE_REQUEST_SUCCESS = \"GO_LIVE_REQUEST_SUCCESS\";\n\nexport const PUBLISH_TO_TEST_CONSOLE_API_CALL_INPROGRESS =\n \"PUBLISH_TO_TEST_CONSOLE_API_CALL_INPROGRESS\";\nexport const PUBLISH_TO_TEST_CONSOLE_API_CALL_FAILURE =\n \"PUBLISH_TO_TEST_CONSOLE_API_CALL_FAILURE\";\nexport const PUBLISH_TO_TEST_CONSOLE_SUCCESS =\n \"PUBLISH_TO_TEST_CONSOLE_SUCCESS\";\nexport const RESET_TEST_CONSOLE = \"RESET_TEST_CONSOLE\";\n\nexport const UPDATE_TEST_WEBHOOK_URL_API_CALL_INPROGRESS =\n \"UPDATE_TEST_WEBHOOK_URL_API_CALL_INPROGRESS\";\nexport const UPDATE_TEST_WEBHOOK_URL_API_CALL_SUCCESS =\n \"UPDATE_TEST_WEBHOOK_URL_API_CALL_SUCCESS\";\nexport const UPDATE_TEST_WEBHOOK_URL_API_CALL_FAILURE =\n \"UPDATE_TEST_WEBHOOK_URL_API_CALL_FAILURE\";\n\nexport const UPDATE_LIVE_WEBHOOK_URL_API_CALL_INPROGRESS =\n \"UPDATE_LIVE_WEBHOOK_URL_API_CALL_INPROGRESS\";\nexport const UPDATE_LIVE_WEBHOOK_URL_API_CALL_SUCCESS =\n \"UPDATE_LIVE_WEBHOOK_URL_API_CALL_SUCCESS\";\nexport const UPDATE_LIVE_WEBHOOK_URL_API_CALL_FAILURE =\n \"UPDATE_LIVE_WEBHOOK_URL_API_CALL_FAILURE\";\n\nexport const UPDATE_USER_TO_LIVE_OR_TEST_INPROGRESS =\n \"UPDATE_USER_TO_LIVE_OR_TEST_INPROGRESS\";\nexport const UPDATE_USER_TO_LIVE_OR_TEST_SUCCESS =\n \"UPDATE_USER_TO_LIVE_OR_TEST_SUCCESS\";\nexport const UPDATE_USER_TO_LIVE_OR_TEST_FAILURE =\n \"UPDATE_USER_TO_LIVE_OR_TEST_INPROGRESS\";\n\nexport const GET_TRANSACTION_LIMIT_INPROGRESS =\n \"GET_TRANSACTION_LIMIT_INPROGRESS\";\nexport const GET_TRANSACTION_LIMIT_FAILURE = \"GET_TRANSACTION_LIMIT_FAILURE\";\nexport const GET_TRANSACTION_LIMIT_SUCCESS = \"GET_TRANSACTION_LIMIT_SUCCESS\";\n\nexport const SET_TRANSACTION_LIMIT_INPROGRESS =\n \"SET_TRANSACTION_LIMIT_INPROGRESS\";\nexport const SET_TRANSACTION_LIMIT_FAILURE = \"SET_TRANSACTION_LIMIT_FAILURE\";\nexport const SET_TRANSACTION_LIMIT_SUCCESS = \"SET_TRANSACTION_LIMIT_SUCCESS\";\n\nexport const GET_ACCOUNT_STATEMENT_IN_PROGRESS =\n \"GET_ACCOUNT_STATEMENT_IN_PROGRESS\";\nexport const GET_ACCOUNT_STATEMENT_SUCCESS = \"GET_ACCOUNT_STATEMENT_SUCCES\";\nexport const GET_ACCOUNT_STATEMENT_FAILURE = \"GET_ACCOUNT_STATEMENT_FAILURE\";\n\nexport const EDIT_TRADE_NAME_IN_PROGRESS = \"EDIT_TRADE_NAME_IN_PROGRESS\";\nexport const EDIT_TRADE_NAME_SUCCESS = \"EDIT_TRADE_NAME_SUCCESS\";\nexport const EDIT_TRADE_NAME_FAILURE = \"EDIT_TRADE_NAME_FAILURE\";\n\nexport const EDIT_ACCOUNT_NAME_IN_PROGRESS = \"EDIT_ACCOUNT_NAME_IN_PROGRESS\";\nexport const EDIT_ACCOUNT_NAME_SUCCESS = \"EDIT_ACCOUNT_NAME_SUCCESS\";\nexport const EDIT_ACCOUNT_NAME_FAILURE = \"EDIT_ACCOUNT_NAME_FAILURE\";\n// GET_MAINACCOUNT_TRANSACTIONS ACTIONS\nexport const GET_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS =\n \"GET_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS\";\nexport const GET_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE =\n \"GET_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE\";\nexport const GET_MAINACCOUNT_TRANSACTIONS_SUCCESS =\n \"GET_MAINACCOUNT_TRANSACTIONS_SUCCESS\";\n\n// GET_FILTERED_MAINACCOUNT_TRANSACTIONS ACTIONS\nexport const GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS =\n \"GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS\";\nexport const GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE =\n \"GET_FILTERED_MAINACCOUNT_TRANSACTIONS_API_CALL_FAILURE\";\nexport const GET_FILTERED_MAINACCOUNT_TRANSACTIONS_SUCCESS =\n \"GET_FILTERED_MAINACCOUNT_TRANSACTIONS_SUCCESS\";\n\n// SUBACCOUNT CREATED ACTIONS\nexport const GET_SUBACCOUNTS_CREATED_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNTS_CREATED_API_CALL_INPROGRESS\";\n\nexport const GET_SUBACCOUNTS_CREATED_API_CALL_FAILURE =\n \"GET_SUBACCOUNTS_CREATED_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNTS_CREATED_SUCCESS =\n \"GET_SUBACCOUNTS_CREATED_SUCCESS\";\n\n// SUBACCOUNT REVENUE ACTIONS\nexport const GET_SUBACCOUNTS_REVENUE_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNTS_REVENUE_API_CALL_INPROGRESS\";\nexport const GET_SUBACCOUNTS_REVENUE_API_CALL_FAILURE =\n \"GET_SUBACCOUNTS_REVENUE_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNTS_REVENUE_SUCCESS =\n \"GET_SUBACCOUNTS_REVENUE_SUCCESS\";\n\n// GET_SUBACCOUNT_INFLOW ACTIONS\nexport const GET_SUBACCOUNT_INFLOW_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNT_INFLOW_API_CALL_INPROGRESS\";\nexport const GET_SUBACCOUNT_INFLOW_API_CALL_FAILURE =\n \"GET_SUBACCOUNT_INFLOW_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNT_INFLOW_SUCCESS = \"GET_SUBACCOUNT_INFLOW_SUCCESS\";\n\n// GET_SUBACCOUNT_OUTFLOW ACTIONS\nexport const GET_SUBACCOUNT_OUTFLOW_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNT_OUTFLOW_API_CALL_INPROGRESS\";\nexport const GET_SUBACCOUNT_OUTFLOW_API_CALL_FAILURE =\n \"GET_SUBACCOUNT_OUTFLOW_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNT_OUTFLOW_SUCCESS = \"GET_SUBACCOUNT_OUTFLOW_SUCCESS\";\n\n// GET_SUBACCOUNTS ACTIONS\nexport const GET_SUBACCOUNTS_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNTS_API_CALL_INPROGRESS\";\nexport const GET_SUBACCOUNTS_API_CALL_FAILURE =\n \"GET_SUBACCOUNTS_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNTS_SUCCESS = \"GET_SUBACCOUNTS_SUCCESS\";\n\n// GET_SUBACCOUNT_TRANSACTIONS ACTIONS\nexport const GET_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS =\n \"GET_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS\";\nexport const GET_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE =\n \"GET_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE\";\nexport const GET_SUBACCOUNT_TRANSACTIONS_SUCCESS =\n \"GET_SUBACCOUNT_TRANSACTIONS_SUCCESS\";\n\n// GET_FILTERED_SUBACCOUNT_TRANSACTIONS ACTIONS\nexport const GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS =\n \"GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_INPROGRESS\";\nexport const GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE =\n \"GET_FILTERED_SUBACCOUNT_TRANSACTIONS_API_CALL_FAILURE\";\nexport const GET_FILTERED_SUBACCOUNT_TRANSACTIONS_SUCCESS =\n \"GET_FILTERED_SUBACCOUNT_TRANSACTIONS_SUCCESS\";\n\n// MODAL_ACTIONS\nexport const OPEN_CONNECT_K4B_MODAL = \"OPEN_CONNECT_K4B_MODAL\";\nexport const OPEN_CONNECTING_K4B_MODAL = \"OPEN_CONNECTING_K4B_MODAL\";\nexport const OPEN_GO_LIVE_REQUEST = \"OPEN_GO_LIVE_REQUEST\";\nexport const OPEN_FEEDBACK_MODAL = \"OPEN_FEEDBACK_MODAL\";\n\n// CREATE_SUBACCOUNT ACTIONS\nexport const CREATE_SUBACCOUNT_API_CALL_INPROGRESS =\n \"CREATE_SUBACCOUNT_API_CALL_INPROGRESS\";\nexport const CREATE_SUBACCOUNT_API_CALL_FAILURE =\n \"CREATE_SUBACCOUNT_API_CALL_FAILURE\";\nexport const CREATE_SUBACCOUNT_SUCCESS = \"CREATE_SUBACCOUNT_SUCCESS\";\n\n// main account balance\nexport const GET_ACCOUNT_BALANCE_INPROGRESS = \"GET_ACCOUNT_BALANCE_INPROGRESS\";\nexport const GET_ACCOUNT_BALANCE_SUCCESS = \"GET_ACCOUNT_BALANCE_SUCCESS\";\nexport const GET_ACCOUNT_BALANCE_FAILURE = \"GET_ACCOUNT_BALANCE_FAILURE\";\n\n// Error actions\nexport const HTTP_500_ERROR = \"HTTP_500_ERROR\";\nexport const HTTP_401_ERROR = \"HTTP_401_ERROR\";\nexport const HTTP_OTHER_ERROR = \"HTTP_OTHER_ERROR\";\n\n// card actions\nexport const CARD_START = \"CARD_START\";\nexport const CARD_FAIL = \"CARD_FAIL\";\nexport const CARD_SUCCESS = \"CARD_SUCCESS\";\n\nexport const CHECK_CARD_PERMISSION = \"CHECK_CARD_PERMISSION\";\nexport const CHECK_CARD_APPROVAL_STATUS = \"CHECK_CARD_APPROVAL_STATUS\";\nexport const REQUEST_CARD = \"REQUEST_CARD\";\nexport const FETCH_CARDS = \"FETCH_CARDS\";\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from \"react\";\nimport { ErrorContainer } from \"./ErrorStyles\";\nimport kudaLogo from \"../../assets/dashboardlayout/kuda-logo.svg\";\n\nconst GeneralError = () => {\n\n const handleGoBack = () => {\n window.location.reload();\n };\n return (\n <ErrorContainer>\n <div className=\"error__top-section\">\n <img src={kudaLogo} alt=\"whitekuda logo\" />\n </div>\n <div className=\"error__body-section\">\n <h5>Something went wrong</h5>\n <button onClick={handleGoBack}>Try Again</button>\n </div>\n </ErrorContainer>\n );\n};\n\nexport default GeneralError;\n","import React, { Component } from 'react';\nimport GeneralError from '../error/GeneralError';\n\nexport default class ErrorBoundary extends Component {\n state = {\n error: null,\n errorInfo: null,\n };\n\n componentDidCatch(error, errorInfo) {\n this.setState({\n error,\n errorInfo,\n });\n }\n\n render() {\n if (!this.state.errorInfo) {\n return this.props.children;\n }\n return <GeneralError />\n }\n}\n","import React, { Suspense, lazy } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\n// import App from \"./App\";\nimport reportWebVitals from \"./reportWebVitals\";\nimport { BrowserRouter as Router } from \"react-router-dom\";\nimport configureStore from \"./redux/ConfigureStore\";\nimport { Provider } from \"react-redux\";\n// import { loadConfig } from \"./utils/appInit\";\nimport * as Sentry from \"@sentry/react\";\nimport { Integrations } from \"@sentry/tracing\";\nimport { datadogRum } from \"@datadog/browser-rum\";\nimport { urls } from \"./api/urls\";\n\nimport { loadState, saveState } from \"./redux/reducers/cookiesStorage\";\nimport throttle from \"lodash/throttle\";\nimport PreLoader from \"./screens/common/PreLoader\";\nimport ErrorBoundary from \"./screens/common/ErrorBoundary\";\n\nconst App = lazy(() => import(\"./App\"));\nconst persistedState = loadState();\nconst store = configureStore(persistedState);\n\nstore.subscribe(\n throttle(() => {\n saveState({\n login: store.getState().login,\n });\n }, 1000)\n);\n\n// loadConfig();\nSentry.init({\n dsn: process.env.SENTRY_DSN,\n integrations: [new Integrations.BrowserTracing()],\n release: window.DD_VERSION,\n // We recommend adjusting this value in production, or using tracesSampler\n // for finer control\n tracesSampleRate: 0.9,\n});\n\ndatadogRum.init({\n applicationId: window.DATADOG_APPLICATION_ID,\n clientToken: window.DATADOG_CLIENT_TOKEN,\n site: \"datadoghq.com\",\n service: window.DD_SERVICE,\n env: window.DD_ENV,\n version: window.DD_VERSION,\n sampleRate: 90,\n trackInteractions: true,\n allowedTracingOrigins: [urls.baseUrl],\n});\n\nReactDOM.render(\n <Provider store={store}>\n <Suspense fallback={<PreLoader />}>\n <ErrorBoundary>\n <Router>\n <App />\n </Router>\n </ErrorBoundary>\n </Suspense>\n </Provider>,\n document.getElementById(\"root\")\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}