{"version":3,"sources":["firebase.js","utils/axios.js","services/getHelpData.js","hooks/useGetHelpData.js","Context.js","Components/LoadingStep.js","Components/SuspenseImg.js","Components/Layout/AppLayout.js","Components/ButtonApp.js","Components/ProgressHeader.js","Components/AddMore.js","Components/ModalApp.js","Components/InputBox.js","Components/SelectBox.js","Components/PageHeader.js","hooks/useInput.js","Components/PhoneInput.js","services/registerValidation.js","services/registerPhoneOtp.js","Pages/CreateAccount/CreateAccount.js","Components/DocumentStatus.js","utils/utils.js","utils/formatText.js","Components/Documents.js","Components/EditInfo.js","Components/InputCurrencyBox.js","Components/InputDate.js","Components/LogicField.js","config/handlers.js","config/Renderer.js","Components/PickButton.js","Components/PickGroupButton.js","Components/SignContract.js","Components/StepDescription.js","Components/InputCheckBox.js","Components/InputAddressBox.js","Components/InfoLink.js","config/config.js","services/getMe.js","hooks/useGetMe.js","services/saveStep.js","Pages/BankAccount/BankAccount.js","Pages/CompanyInformation/CompanyInformation.js","services/sendOTP.js","services/sendEmailOTP.js","services/signContract.js","Pages/Contract/Contract.js","Pages/Documentation/Documentation.js","Components/DescriptionItem.js","assets/images/front3.png","assets/images/back3.png","Components/Upload.js","services/uploadDocumentId.js","Pages/DocumentsInstructions/DocumentsInstructions.js","Pages/FinancialInfomation/FinancialInfomation.js","assets/images/mark.png","assets/images/logo.png","Components/RefferCode.js","Pages/Home/CarouselDots.js","assets/images/slider/01-700X1000_Mod.png","assets/images/slider/02-700X1000_Mod.png","assets/images/slider/03-700X1000_Mod.png","Pages/Home/Splash.js","Pages/Home/Home.js","Pages/LegalRepresentative/LegalRepresentative.js","services/loginPhoneOtp.js","Pages/OTP/Otp.js","Pages/PartnersAndShareholders/PartnersAndShareholders.js","services/uploadSelfie.js","Pages/Selfie/Selfie.js","Pages/ShareCertification/ShareCertificaction.js","Pages/SuccessScreen.js","services/RegisterUser.js","services/registerEmailOtp.js","services/login.js","Pages/VerifyPhone/VerifyPhone.js","Pages/VerifyEmail/VerifyEmail.js","Pages/WrongRequest.js","router/history.js","Pages/UnrelatedActivities/UnrelatedActivities.js","router/AppRouter.js","App.js","assets/fonts/Montserrat-Bold.ttf","assets/fonts/Montserrat-Regular.ttf","assets/fonts/Montserrat-SemiBold.ttf","assets/fonts/Montserrat-Medium.ttf","GlobalStyles.js","theme.js","index.js"],"names":["firebase","initializeApp","apiKey","process","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId","firebaseAnalytics","analytics","axiosApiInstance","axios","create","baseURL","headers","responseType","axiosFilesIntance","interceptors","request","use","a","cfg","sessionStorage","getItem","token","Authorization","error","Promise","reject","response","console","log","originalRequest","config","status","_retry","refreshToken","post","data","id_token","setItem","refresh_token","appEndpointWithToken","appEndpointWithFiles","appEndpoint","Accept","gethelpData","profile","step","get","params","res","useGetHelpData","noProfile","useState","helpData","setHelpData","useEffect","then","catch","err","Context","createContext","children","auth","setAuth","desktopImg","setDesktopImg","formCompleted","setFormCompleted","checkCompletedStep","setCheckCompletedStep","isClaro","setIsClaro","isHome","setIsHome","value","onSignOut","signOut","Provider","Consumer","LoadingStep","Box","minHeight","width","display","alignItems","justifyContent","flexDirection","Typography","style","fontSize","fontFamily","color","align","CircularProgress","marginTop","size","imgCache","__cache","read","src","this","resolve","img","Image","onload","setTimeout","clearImg","SuspenseImg","rest","alt","position","height","AppLayout","tablet","useMediaQuery","desktop","useContext","location","useLocation","pathname","background","fallback","bottom","padding","zIndex","href","target","overflowX","textAlign","useStyles","makeStyles","button","textTransform","boxShadow","borderRadius","buttonOutlined","borderWidth","border","ButtonApp","text","onClick","variant","disabled","marginBottom","loading","label","classes","Button","className","toLowerCase","boxModal","maxHeight","overflowY","backgroundColor","left","top","ProgressHeader","title","onBack","progress","steps","open","setOpen","lowerEndMobiles","otherlowerEndMobiles","setLoading","history","useHistory","document","body","overflow","onFinish","push","checkIfIsSubmitted","stepu","Object","keys","find","name","htmlColor","cursor","minWidth","LinearProgress","AnimatePresence","motion","div","initial","y","animate","transition","duration","exit","fontsize","map","index","borderBottom","paddingBottom","includes","to","description","AddMore","order","componentToDuplicate","marginRight","theme","modal","paper","palette","spacing","maxWidth","outline","ModalApp","handleClose","type","Modal","onClose","closeAfterTransition","BackdropComponent","Backdrop","BackdropProps","timeout","Fade","in","margin","BootstrapTooltip","props","handleTooltipClose","Tooltip","arrow","placement","disableFocusListener","disableHoverListener","disableTouchListener","Input","styled","input","capitalize","uppercase","Wrapper","Label","isCurrency","InputBox","onChange","disable","isVerified","id","placeHolder","inputStyles","labelStyles","containerStyles","maxLength","minLenght","suffix","hint","disabledMargin","helperText","openTooltip","setOpenTooltip","placeholder","autoComplete","htmlFor","marginLeft","right","dangerouslySetInnerHTML","__html","BootstrapInputFillled","withStyles","root","transitions","join","borderColor","InputBase","BootstrapInputOutlined","SelectBox","options","relatedData","outlined","selectKey","selectValue","selectText","withMargin","NativeSelect","selectMenu","IconComponent","ExpandMoreIcon","defaultValue","option","zone_id","city","parent_zone_id","PageHeader","useInput","initialValue","submitting","setValue","setError","e","PhoneInputBox","country","masks","co","specialLabel","phone","inputStyle","registerValidation","first_name","second_name","first_last_name","second_last_name","companyName","documentId","expeditionDate","nit","ciiu","refferCode","uid","userEmail","terms","referral_code","document_type","signupKeys","email","document_id","expedition_date","company_name","registerPhoneOtp","dataRegisterPhoneOtp","moment","locale","months","split","monthsShort","weekdays","weekdaysShort","weekdaysMin","container","common","black","textDecoration","CreateAccount","checked","setChecked","setTerms","phoneNumber","setPhoneNumber","isSubmitting","setIsSubmitting","setExpeditionDate","state","accountType","documentType","user","desktop_img","format_date","add","format","onSignupUser","RecaptchaVerifier","subtract","length","slice","isSignup","localStorage","JSON","stringify","toast","success","autoClose","hideProgressBar","closeOnClick","pauseOnHover","draggable","undefined","errorKeys","errors","message","key","visibility","match","utils","DateFnsUtils","es","keyboardIcon","icon","KeyboardButtonProps","date","help_text","help_ciiu","invalid_ciiu_link","without","rel","PhoneInput","Checkbox","disableRipple","inputProps","privacy_policy","DocumentStatus","statusText","converFromByteToMb","bytes","decimals","toFixed","formatTxt","str","n","certificateWrapper","documentImg","deleteButton","BoxContainer","Documents","onChangeFile","onResetState","isLoading","showCertificate","setShowCertificate","image","setImage","ref","React","useRef","file","reader","FileReader","event","_event$target","result","onerror","abort","readAsDataURL","readFile","original","tagName","current","click","acceptedFiles","maxFileSize","fl","filesLimit","dropzoneText","showPreviewsInDropzone","Icon","EditInfo","isEdit","EditComponent","componentEdit","Intl","NumberFormat","toString","replace","InputCurrencyBox","prefix","InputDate","disableFuture","maxYear","minYear","minDate","Date","getFullYear","calendar","format_value","maxDate","LogicField","field","fieldToCompare","operator","otherState","onCompare","parseInt","Error","isNaN","handleOnChangeInput","setState","zoneId","selectedOptions","getAttribute","trim","prevState","groupId","handleChangeCheckbox","handleChangeCode","code","handleOnChangeInputCurrency","handleOnChangePhoneInput","handleOnChangeFile","handleDeleteFile","handleBooleanOnChange","handleOnChangeDate","setDefaultState","comps","otherObjs","preRenderState","comp","onChangeCloneStateKeys","components","setComponents","componentsToClone","componentsCopy","componentsChanged","componentsKeysReplaced","forEach","component","nestedOptions","fields","nestedComponent","indexComponent","replaceStateKeys","arr1","Map","item","values","sort","b","Renderer","orderComponents","items","configWithProps","Component","mapPropsToConfig","notSelected","selected","PickButton","RenderNestedComponents","help","nestedComponents","setNestedComponents","setNestedComponentsDefaultState","onSetNestedComponents","componetsToAdd","slicedCurrent","componentsCloned","useMemo","getConfig","componentsFromServer","PickGroupButton","labelAlign","helpOptions","SignContract","inputMode","cd","StepDescription","paddingLeft","InputCheckBox","defaultChecked","InputAddressBox","InfoLink","onCheckOptionalProps","optionsObj","componentState","onAddPropsToComponent","componentEnhanced","setDefaultComponentState","hasOptionalProps","canRenderNestedComponents","componentHasState","optionalProps","groupField","zone","newOptions","getHandlerForEditInfoComponent","GetComponentFOrEditInfo","componentName","getMe","useGetMe","me","setMe","loadingMe","onSaveStep","obj","hasFiles","BankAccount","oldState","setOldState","step_9","step_7","el","flexGrow","view","CompanyInformation","step_4","step_5","sendOTP","sendEmailOTP","signContract","Contract","codeSent","setCodeSent","step_10","timer","showCountdown","setShowCountdown","useCountdownTimer","autostart","onExpire","setActions","actions","onReset","countdown","start","reset","pause","isRunning","Documentation","step_3","stateKeys","counter","newFile","imgData","FormData","append","saveStep","DescriptionItem","objectFit","Upload","maxFiles","callback","isWebCamActive","includeMobileCam","setWebcamPic","includePlaholder","inputCapture","webcamRef","capture","useCallback","imageSrc","getScreenshot","audio","screenshotFormat","videoConstraints","facingMode","onTakePhoto","dataUri","onCapture","idealFacingMode","backPlaceHolder","frontPlaceHolder","maxNumber","dataURLKey","imageList","onImageUpload","dragProps","onImageRemoveAll","onImageUpdate","onImageRemove","isDragging","uploadDocumentId","frontImageId","backImageId","documentsIdData","DocumentInstructions","documentStep","setDocumentStep","frontImage","setFrontImage","backImage","setBackImage","setStatus","step_1","onConfirmImgs","list","data_url","renderDocumentSteps","FinancialInformation","step_6","stateFormatted","refferText","RefferCode","handleRefferCode","showRefferCode","onChangeRefferCode","DotButton","restProps","images","Array","from","img01","img02","img03","objectPosition","lowEnd","lineHeight","letterSpacing","Splash","setShowSplash","useEmblaCarousel","loop","Autoplay","emblaRef","emblaApi","selectedIndex","setSelectedIndex","scrollSnaps","setScrollSnaps","onDotButtonClick","scrollTo","onInit","scrollSnapList","onSelect","selectedScrollSnap","on","useDotButton","flex","backgroundImage","_","concat","logo","Home","setShowRefferCode","setAccountType","showSplash","logEvent","mark","fontWeight","LegalRepresentative","loginPhoneOtp","Otp","onSendVerificationMessage","signInPhone","PartnersAndShareholders","form","uploadSelfie","selfie","selfieData","selfieImg","Selfie","selfieStep","setSelfieStep","setSelfie","step_2","selfieHelpData","webcamPic","hasCamera","setHasCamera","navigator","mediaDevices","getUserMedia","video","dataurl","filename","arr","mime","bstr","atob","u8arr","Uint8Array","charCodeAt","File","dataURLtoFile","onUploadSelfie","renderSelfieState","ShareCertification","step_8","SuccessScreen","step_11","clear","renderIcon","registerUser","sign_in_type","otp","is_claro_ref","registerEmailOtp","dataRegisterEmailOtp","loginOtp","dataLoginOtp","inputCode","VerifyPhone","setCode","pageAction","URLSearchParams","window","search","logAction","action","parse","onResendVerificationCode","onSendVerificationCodeEmail","token_type","access_token","finally","VerifyEmail","onSignInWithEmailLink","userLink","signInWithEmailLink","getIdToken","userUid","WrongRequest","role","createBrowserHistory","UnrelatedActivities","NoMatch","PrivateRoute","render","AuthRoute","loadingAuth","default","AppRouter","path","exact","App","regex","exec","getQueryParams","claro","stepsKeys","request_id","Boolean","GlobalStyles","createGlobalStyle","Bold","Regular","Semibold","Medium","createTheme","primary","main","contrastText","secondary","red","A400","typography","newestOnTop","rtl","pauseOnFocusLoss","ThemeProvider","CssBaseline","querySelector"],"mappings":"wPAeAA,IAASC,cAVqB,CAC5BC,OAAQC,0CACRC,WAAYD,sCACZE,UAAWF,sBACXG,cAAeH,kCACfI,kBAAmBJ,eACnBK,MAAOL,4CACPM,cAAeN,iBAKV,IAAMO,EAAoBV,IAASW,Y,kDCN1C,IAgBMC,EAAmBC,IAAMC,OAhBhB,CACbC,QAASZ,iCACTa,QAAS,CACP,eAAgB,oBAElBC,aAAc,SAaVC,EAAoBL,IAAMC,OAVb,CACjBC,QAASZ,iCACTa,QAAS,CACP,eAAgB,uBAElBC,aAAc,SAUhBL,EAAiBO,aAAaC,QAAQC,IAAtC,+BAAAC,EAAA,MACE,WAAOC,GAAP,eAAAD,EAAA,sEACsBE,eAAeC,QAAQ,oBAD7C,cACQC,EADR,UAGIH,EAAIP,QAAQW,cAAgBD,GAHhC,kBAKSH,GALT,2CADF,uDAQE,SAACK,GACCC,QAAQC,OAAOF,MAInBhB,EAAiBO,aAAaY,SAASV,KACrC,SAACU,GAAD,OAAcA,IADhB,+BAAAT,EAAA,MAEE,WAAgBM,GAAhB,eAAAN,EAAA,yDACIU,QAAQC,IAAI,mBAAoBL,GAC5BM,EAAkBN,EAAMO,OACzBP,EAAMG,SAHb,yCAIWF,QAAQC,OAAO,kBAJ1B,UAMgC,MAA1BF,EAAMG,SAASK,QA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B5lB,QAAS,CACP6lB,QAAS,CACPC,KAAM,UACNC,aAAc,QAEhBC,UAAW,CACTF,KAAM,WAERrxB,MAAO,CACLqxB,KAAMG,KAAIC,MAEZzrB,WAAY,CACViqB,QAAS,QAEX9oB,KAAM,CACJiqB,QAAS,UACTG,UAAW,UACXljB,KAAM,UACN/G,SAAU,YAGdoqB,WAAY,CACVxtB,WAAY,CACV,cACA,gBACA,qBACA,aACA,SACA,mBACA,QACA,aACA,sBACA,mBACA,qBACAmL,KAAK,Q,OC5BXygB,iBACE,eAAC,EAAD,WACE,cAAC,GAAD,IACA,cAAC,IAAD,CACExqB,SAAS,YACTiQ,UAAW,IACXC,iBAAiB,EACjBmc,aAAa,EACblc,cAAY,EACZmc,KAAK,EACLC,kBAAgB,EAChBlc,WAAS,EACTD,cAAY,IAEd,eAACoc,EAAA,EAAD,CAAe1mB,MAAOA,GAAtB,UACE,cAAC2mB,EAAA,EAAD,IACA,cAAC,GAAD,UAGJ/oB,SAASgpB,cAAc,Y","file":"static/js/main.dcd4de71.chunk.js","sourcesContent":["import firebase from 'firebase';\nimport 'firebase/functions';\nimport 'firebase/firestore';\nimport 'firebase/analytics';\n\nexport const firebaseConfig = {\n apiKey: process.env.REACT_APP_API_KEY,\n authDomain: process.env.REACT_APP_AUTH_DOMAIN,\n projectId: process.env.REACT_APP_PROJECT_ID,\n storageBucket: process.env.REACT_APP_STORAGE_BUCKET,\n messagingSenderId: process.env.REACT_APP_MESSAGING_SENDER_ID,\n appId: process.env.REACT_APP_ID,\n measurementId: process.env.REACT_APP_MEASUREMENT_ID,\n};\n\nfirebase.initializeApp(firebaseConfig);\n\nexport const firebaseAnalytics = firebase.analytics();\n\nexport const signInWithPhoneNumber = (phoneNumber, appVerifier) => {\n return firebase\n .auth()\n .signInWithPhoneNumber(phoneNumber, appVerifier)\n .then((confirmationResult) => {\n window.confirmationResult = confirmationResult;\n })\n .catch((err) => err);\n};\n\nexport const signInWithEmail = (userEmail, userLink) => {\n return firebase\n .auth()\n .sendSignInLinkToEmail(userEmail, userLink)\n .then((confirmationResult) => {\n window.confirmationResult = confirmationResult;\n })\n .catch((err) => {\n // console.log(err)\n });\n};\n\nexport const signInWithEmailLink = (userEmail, userLink) => {\n return firebase\n .auth()\n .signInWithEmailLink(userEmail, userLink)\n .then((result) => {\n // console.log('signInWithEmailLink', result);\n localStorage.setItem('_uid', result.user.uid);\n\n result.user.getIdToken().then((token) => {\n sessionStorage.setItem('pay-mobile-token', token);\n });\n sessionStorage.setItem('pay-mobile-refreshToken', result.user.refreshToken);\n\n })\n .catch((err) => {\n // console.log(err)\n });\n};\n\nexport const onAuthStateChanged = (callback) =>\n firebase.auth().onAuthStateChanged(callback);\n\nexport const signOut = () => firebase.auth().signOut();\n","import axios from 'axios';\n\nfunction resetToken() {\n return axios.create({\n baseURL: `https://securetoken.googleapis.com/v1/token?key=${process.env.REACT_APP_API_KEY}`,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n });\n}\n\nconst config = {\n baseURL: process.env.REACT_APP_ENDPOINT,\n headers: {\n 'content-type': 'application/json',\n },\n responseType: 'json',\n};\n\nconst fileConfig = {\n baseURL: process.env.REACT_APP_ENDPOINT,\n headers: {\n 'content-type': 'multipart/form-data',\n },\n responseType: 'json',\n};\n\nconst axiosApiInstance = axios.create(config);\n\nconst axiosFilesIntance = axios.create(fileConfig);\n\n// axiosFilesIntance.defaults.headers.post['Content-Type'] = 'multipart/form-data';\n// axiosFilesIntance.defaults.baseURL = process.env.REACT_APP_ENDPOINT;\n\naxiosApiInstance.interceptors.request.use(\n async (cfg) => {\n const token = await sessionStorage.getItem('pay-mobile-token');\n if (token) {\n cfg.headers.Authorization = token;\n }\n return cfg;\n },\n (error: any) => {\n Promise.reject(error);\n }\n);\n\naxiosApiInstance.interceptors.response.use(\n (response) => response,\n async function (error) {\n console.log('axiosApiInstance', error);\n const originalRequest = error.config;\n if (!error.response) {\n return Promise.reject('Network Error');\n }\n if (error.response.status === 401 && !originalRequest._retry) {\n originalRequest._retry = true;\n\n return Promise.reject(error);\n }\n return Promise.reject(error);\n }\n);\naxiosFilesIntance.interceptors.request.use(\n async (cfg) => {\n const token = await sessionStorage.getItem('pay-mobile-token');\n if (token) {\n cfg.headers.Authorization = token;\n }\n return cfg;\n },\n (error: any) => {\n Promise.reject(error);\n }\n);\n\naxiosFilesIntance.interceptors.response.use(\n (response) => response,\n async function (error) {\n const originalRequest = error.config;\n if (!error.response) {\n return Promise.reject('Network Error');\n }\n if (error.response.status === 401 && !originalRequest._retry) {\n console.log('-> axiosFilesIntance');\n originalRequest._retry = true;\n const refreshToken = sessionStorage.getItem('pay-mobile-refreshToken');\n const { data } = await resetToken().post(\n '',\n `grant_type=refresh_token&refresh_token=${refreshToken}`\n );\n originalRequest.headers['Authorization'] = data.id_token;\n\n sessionStorage.setItem('pay-mobile-token', data.id_token);\n sessionStorage.setItem('pay-mobile-refreshToken', data.refresh_token);\n\n return axios(originalRequest);\n }\n return Promise.reject(error);\n }\n);\n\nexport const appEndpointWithToken = () => axiosApiInstance;\nexport const appEndpointWithFiles = () => axiosFilesIntance;\n\nexport const appEndpoint = () =>\n axios.create({\n baseURL: process.env.REACT_APP_ENDPOINT,\n headers: {\n Accept: 'application/json',\n 'content-type': 'application/json',\n },\n });\n","import { appEndpoint } from '../utils/axios';\n\nconst gethelpData = async (profile, step) => {\n const URL = '/help';\n const config = {};\n\n if (profile) {\n config.profile = profile;\n }\n\n if (step) {\n config.step = step;\n }\n try {\n const res = await appEndpoint().get(URL, { params: config });\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default gethelpData;\n","import { useEffect, useState } from 'react';\nimport gethelpData from '../services/getHelpData';\n\nconst useGetHelpData = (profile, step, noProfile) => {\n const [helpData, setHelpData] = useState([]);\n useEffect(() => {\n if (profile) {\n gethelpData(profile, step)\n .then((res) => setHelpData(res.data))\n .catch((err) => console.log(err));\n }\n if (noProfile) {\n gethelpData()\n .then((res) => setHelpData(res.data))\n .catch((err) => console.log(err));\n }\n }, [profile]);\n\n return {\n ...helpData,\n };\n};\n\nexport default useGetHelpData;\n","import React, { createContext, useState } from 'react';\nimport { signOut } from './firebase';\nimport useGetHelpData from './hooks/useGetHelpData';\n\nexport const Context = createContext();\n\nconst Provider = ({ children }) => {\n const helpData = useGetHelpData();\n const [auth, setAuth] = useState(false);\n const [desktopImg, setDesktopImg] = useState('');\n const [formCompleted, setFormCompleted] = useState(false);\n const [checkCompletedStep, setCheckCompletedStep] = useState(true);\n const [isClaro, setIsClaro] = useState(false);\n const [isHome, setIsHome] = useState(true);\n\n const value = {\n helpData,\n auth,\n desktopImg,\n formCompleted,\n checkCompletedStep,\n setAuth,\n setDesktopImg,\n setFormCompleted,\n setCheckCompletedStep,\n isClaro,\n setIsClaro,\n isHome,\n setIsHome,\n onSignOut: () => {\n signOut().then(() => {\n setFormCompleted(false);\n setAuth(false);\n });\n },\n };\n return {children};\n};\n\nexport default {\n Provider,\n Consumer: Context.Consumer,\n};\n","import { Box, CircularProgress, Typography } from '@material-ui/core';\nimport React from 'react';\n\nconst LoadingStep = () => {\n return (\n \n \n Cargando\n \n \n \n );\n};\n\nexport default LoadingStep;\n","import React from 'react';\n\nconst imgCache = {\n __cache: {},\n read(src) {\n if (!src) {\n return;\n }\n\n if (!this.__cache[src]) {\n this.__cache[src] = new Promise((resolve) => {\n const img = new Image();\n img.onload = () => {\n this.__cache[src] = true;\n resolve(this.__cache[src]);\n };\n img.src = src;\n setTimeout(() => resolve({}), 7000);\n }).then((img) => {\n this.__cache[src] = true;\n });\n }\n\n if (this.__cache[src] instanceof Promise) {\n throw this.__cache[src];\n }\n return this.__cache[src];\n },\n clearImg: (src) => {\n delete this.__cache[src];\n },\n};\n\nexport const SuspenseImg = ({ src, ...rest }) => {\n imgCache.read(src);\n\n return (\n \n );\n};\n","import {Box, Typography, useMediaQuery} from '@material-ui/core';\nimport React, {Suspense, useContext, useEffect} from 'react';\nimport {Context} from '../../Context';\nimport LoadingStep from '../LoadingStep';\nimport {SuspenseImg} from '../SuspenseImg';\nimport {useLocation} from \"react-router-dom\";\n\nconst AppLayout = ({children}) => {\n const tablet = useMediaQuery('(min-width: 600px)');\n const desktop = useMediaQuery('(min-width: 1200px)');\n const {desktopImg, isHome, setIsHome} = useContext(Context);\n const location = useLocation();\n useEffect(() => {\n if (location.pathname !== '/') {\n setIsHome(false);\n }\n }, []);\n if (desktop) {\n return (\n \n \n }>\n \n \n \n \n {children}\n \n \n Powered by © BioCredit Colombia. todos los derechos\n reservados 2021\n \n \n \n );\n }\n\n if (tablet) {\n return \n {children}\n \n \n Powered by © BioCredit Colombia. todos los derechos\n reservados 2021\n \n \n ;\n }\n\n return \n {children}\n {\n \n Powered by © BioCredit Colombia. todos los derechos\n reservados 2021\n \n }\n ;\n};\n\nexport default AppLayout;\n","import { Button, makeStyles } from '@material-ui/core';\nimport React from 'react';\nimport CircularProgress from '@material-ui/core/CircularProgress';\n\nconst useStyles = makeStyles(() => ({\n button: {\n textTransform: 'capitalize',\n color: '#fff',\n background: '#5d62f1 !important',\n boxShadow: '0 3px 6px #66788033',\n borderRadius: 120,\n width: '100%',\n '& .MuiButton-label': {\n fontSize: 14,\n fontFamily: 'App-semi-bold',\n },\n height: 42,\n },\n\n buttonOutlined: {\n textTransform: 'capitalize',\n color: '#5d62f1',\n borderWidth: 2,\n borderRadius: 120,\n border: '1px solid #5d62f1',\n background: 'transparent !important',\n width: '100%',\n '& .MuiButton-label': {\n fontSize: 14,\n fontFamily: 'App-semi-bold',\n },\n\n height: 42,\n },\n}));\n\nconst ButtonApp = ({\n text,\n onClick,\n color = 'primary',\n variant = 'contained',\n disabled,\n marginTop = 0,\n marginBottom = 25,\n loading,\n label,\n}) => {\n const classes = useStyles();\n return (\n null : onClick}\n style={{ marginTop, marginBottom }}\n >\n {loading ? (\n \n ) : (\n text.toLowerCase() || label\n )}\n \n );\n};\n\nexport default ButtonApp;\n","import {\n Box,\n LinearProgress,\n makeStyles,\n Typography,\n useMediaQuery,\n} from '@material-ui/core';\nimport ArrowBackIosIcon from '@material-ui/icons/ArrowBackIos';\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\nimport React, { useContext, useEffect, useState } from 'react';\nimport { motion, AnimatePresence } from 'framer-motion';\nimport CancelIcon from '@material-ui/icons/Cancel';\nimport CheckIcon from '@material-ui/icons/Check';\nimport ScheduleIcon from '@material-ui/icons/Schedule';\nimport { Link, useHistory } from 'react-router-dom';\nimport ButtonApp from './ButtonApp';\nimport { Context } from '../Context';\n\nconst useStyles = makeStyles(() => ({\n boxModal: {\n minHeight: '100vh',\n maxHeight: '100vh',\n overflowY: 'auto',\n width: '100%',\n padding: 24,\n backgroundColor: 'rgba(255,255,255,1)',\n position: 'fixed',\n zIndex: 10,\n left: 0,\n bottom: 0,\n top: 0,\n },\n}));\n\nconst ProgressHeader = ({ title, onBack, progress, steps }) => {\n const [open, setOpen] = useState(false);\n const lowerEndMobiles = useMediaQuery('(max-height: 568px)');\n const otherlowerEndMobiles = useMediaQuery('(max-height: 670px)');\n const { onSignOut } = useContext(Context);\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n\n useEffect(() => {\n if (open) {\n document.body.style.overflow = 'hidden';\n } else {\n document.body.style.overflow = 'unset';\n }\n }, [open]);\n\n const onFinish = async () => {\n setLoading('pending');\n try {\n setTimeout(() => {\n onSignOut();\n setOpen(false);\n history.push('/');\n setLoading('resolved');\n }, 1500);\n } catch (error) {\n setLoading('rejected');\n }\n };\n\n const checkIfIsSubmitted = () => {\n const stepKeys = Object.keys(steps);\n\n const stepu = stepKeys.find(\n (step) => steps[step].name === 'view_signature'\n );\n\n if (steps[stepu]?.status?.name === 'complete') {\n return true;\n }\n return false;\n };\n\n const classes = useStyles();\n return (\n \n \n {typeof onBack === 'function' ? (\n \n ) : (\n \n )}\n\n \n {title}\n \n\n setOpen(true)}\n />\n \n {progress && (\n \n \n \n \n \n \n \n )}\n\n \n {open && (\n \n \n \n Lista de chequeo de registro\n \n setOpen(false)}\n />\n \n\n {Object.keys(steps).map((step, index) => (\n \n {checkIfIsSubmitted() ? (\n <>\n {steps[step].status?.name !== 'incomplete' && (\n \n {steps[step].title}\n \n )}\n \n ) : (\n <>\n {['document_id', 'selfie', 'documentation'].includes(\n steps[step].name\n ) ? (\n \n {steps[step].title}\n \n ) : (\n <>\n {steps[step].status?.name !== 'incomplete' && (\n \n \n {steps[step].title}\n \n \n )}\n\n {steps[step].status?.name === 'incomplete' && (\n \n {steps[step].title}\n \n )}\n \n )}\n \n )}\n\n {steps[step].status?.name === 'complete' && (\n \n )}\n {steps[step].status?.name !== 'complete' && (\n \n \n \n {steps[step].status?.description}\n \n \n )}\n \n ))}\n\n \n \n )}\n \n \n );\n};\n\nexport default ProgressHeader;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\n\nconst AddMore = ({ title, order, onClick, componentToDuplicate }) => {\n return (\n onClick(componentToDuplicate)}\n >\n \n \n {title}\n \n \n );\n};\n\nexport default AddMore;\n","import React from 'react';\nimport NotificationImportantIcon from '@material-ui/icons/NotificationImportant';\nimport { Backdrop, Box, Fade, makeStyles, Modal } from '@material-ui/core';\n\nconst useStyles = makeStyles((theme) => ({\n modal: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n paper: {\n backgroundColor: theme.palette.background.paper,\n padding: theme.spacing(3, 4, 3),\n borderRadius: 8,\n minWidth: 300,\n maxWidth: 350,\n outline: 0,\n },\n}));\nconst ModalApp = ({ open, handleClose, children, type }) => {\n const classes = useStyles();\n const renderType = () => {\n if (type === 'warning') {\n return (\n \n \n \n \n \n );\n }\n\n return null;\n };\n return (\n \n \n
\n {renderType()}\n {children}\n
\n
\n \n );\n};\n\nexport default ModalApp;\n","import {Box, Tooltip, Typography} from '@material-ui/core';\nimport React, {useState} from 'react';\nimport styled from 'styled-components';\nimport CheckIcon from '@material-ui/icons/Check';\nimport HelpIcon from \"@material-ui/icons/Help\";\n\nfunction InputBox ({\n value,\n onChange,\n type,\n disable,\n loading,\n isVerified,\n id,\n label,\n placeHolder,\n inputStyles,\n labelStyles,\n capitalize,\n uppercase,\n containerStyles,\n maxLength,\n minLenght,\n error,\n suffix,\n hint,\n disabledMargin = true,\n helperText\n}) {\n\n const [openTooltip, setOpenTooltip] = useState(false);\n\n return (\n \n \n\n {label && (\n \n )}\n \n {error}\n \n\n\n {\n helperText\n ?\n \n setOpenTooltip(!openTooltip)}\n />\n \n : ''\n }\n\n \n\n {suffix && (\n \n \n {suffix}\n \n \n )}\n\n {isVerified && (\n \n \n \n Verificado\n \n \n )}\n\n {hint && (\n \n \n )}\n );\n}\n\n\nexport function BootstrapTooltip(props) {\n const { title, open, handleTooltipClose } = props;\n return (\n \n );\n};\n\nexport const Input = styled.input`\n font-size: 14px;\n padding: 10px 15px 10px 15px;\n display: block;\n color: #273240;\n width: 100%;\n border: none;\n font-family: 'App-font-medium';\n border-bottom: 1px solid #6f778280;\n outline: none;\n ${(props) => props.capitalize && `text-transform: capitalize`};\n\n ${(props) => props.uppercase && `text-transform: uppercase`};\n :focus {\n outline: none;\n }\n ::placeholder {\n color: #6f7782;\n }\n`;\n\nexport const Wrapper = styled.div`\n position: relative;\n width: 100%;\n & input:focus + label {\n top: -15px;\n }\n`;\n\nexport const Label = styled.label`\n color: #6f7782;\n font-size: 12px;\n font-family: 'App-regular';\n position: absolute;\n pointer-events: none;\n left: ${(props) => (props.isCurrency ? '12px' : '5px')};\n top: 10px;\n transition: 0.2s ease all;\n ${(props) => props.value && `top: -15px`};\n`;\n\nexport default InputBox;\n","import {\n InputBase,\n NativeSelect,\n Typography,\n withStyles,\n} from '@material-ui/core';\nimport React from 'react';\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\n\nlet zone_id;\nlet test;\n\nconst BootstrapInputFillled = withStyles((theme, value) => ({\n root: {\n width: '100%',\n\n height: 40,\n },\n input: {\n borderRadius: 120,\n color: '#6F778280',\n position: 'relative',\n backgroundColor: '#f8f8f9',\n border: '1px solid #f8f8f9',\n fontSize: 13,\n height: 20,\n padding: '7px 26px 7px 18px',\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n fontFamily: [\n 'App-regular',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n '&:focus': {\n borderRadius: 4,\n borderColor: '#f8f8f9',\n backgroundColor: '#f8f8f9',\n },\n },\n}))(InputBase);\n\nconst BootstrapInputOutlined = withStyles((theme) => ({\n root: {\n width: '100%',\n height: 40,\n '& svg': {\n right: 10,\n },\n },\n input: {\n color: '#273240',\n borderRadius: 120,\n position: 'relative',\n backgroundColor: 'transparent',\n border: '1px solid #6F778280',\n fontSize: 13,\n height: 25,\n padding: '7px 26px 7px 18px',\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n // Use the system font instead of the default Roboto font.\n fontFamily: [\n 'App-regular',\n 'App-font-medium',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n '&:focus': {\n borderRadius: 120,\n borderColor: '#6F778280',\n backgroundColor: 'transparent',\n },\n '&::placeholder': {\n color: '#6F778280',\n },\n },\n}))(InputBase);\n\nconst onchageZone = (event) => {\n\n // console.log('entra al onchange: ');\n zone_id = event.target.value;\n\n // console.log(zone_id);\n\n}\n\n\nfunction changeZone(event) {\n zone_id = event.target.value;\n}\n\nvar SelectBox = ({\n id,\n value,\n onChange,\n options,\n relatedData,\n outlined = true,\n selectKey,\n selectValue = 'value',\n selectText = 'text',\n label,\n withMargin = true,\n disable\n }) => {\n\n if(relatedData === 'zones'){\n test = <>\n \n {label}\n \n\n \n ) : (\n \n )\n }\n onChange={onChange}\n value={value}\n IconComponent={ExpandMoreIcon}\n style={{\n textTransform: 'capitalize',\n marginBottom: withMargin ? 25 : 0,\n }}\n defaultValue={`Seleccione una opción.`}\n >\n \n\n {options?.map((option, index) => (\n \n {option.name}\n \n ))}\n \n ;\n } else if(relatedData === 'cities') {\n\n test = <>\n \n {label}\n \n\n \n ) : (\n \n )\n }\n onChange={onChange}\n value={value}\n IconComponent={ExpandMoreIcon}\n style={{\n textTransform: 'capitalize',\n marginBottom: withMargin ? 25 : 0,\n }}\n defaultValue={`Seleccione una opción.`}\n >\n \n\n {options?.map((option, index) => (\n \n {option.city}\n \n ))}\n\n \n ;\n } else {\n test = <>\n \n {label}\n \n\n \n ) : (\n \n )\n }\n onChange={onChange}\n value={value}\n IconComponent={ExpandMoreIcon}\n style={{\n textTransform: 'capitalize',\n marginBottom: withMargin ? 25 : 0,\n }}\n defaultValue={`Seleccione una opción.`}\n >\n \n\n {typeof options?.[0] === 'string'\n ? options.map((option, index) => (\n \n {option}\n \n ))\n : options?.map((option, index) => (\n \n {option[selectText]}\n \n ))}\n \n ;\n }\n return ( test );\n};\n\nexport default SelectBox;\n","import { Typography } from '@material-ui/core';\nimport React from 'react';\nimport ArrowBackIosIcon from '@material-ui/icons/ArrowBackIos';\nconst PageHeader = ({ onClick }) => {\n return (\n \n \n \n Volver\n \n \n );\n};\n\nexport default PageHeader;\n","import { useState, useEffect } from 'react';\n\nconst useInput = (initialValue = '', submitting) => {\n const [value, setValue] = useState(initialValue);\n const [error, setError] = useState('');\n\n useEffect(() => {\n if (!value && submitting) {\n setError('Este campo es requerido');\n }\n }, [submitting, value]);\n\n const onChange = (e) => {\n setValue(e.target.value);\n if (value !== e.target.value) {\n setError('');\n }\n };\n\n return {\n value,\n error,\n onChange,\n setError,\n setValue,\n };\n};\n\nexport default useInput;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport PhoneInput from 'react-phone-input-2';\n\nconst PhoneInputBox = ({\n value,\n onChange,\n label = 'Número de teléfono',\n error,\n}) => {\n return (\n \n {label && (\n \n {label}\n \n )}\n onChange(phone)}\n inputStyle={{\n padding: '18.5px 14px 8.5px 58px',\n border: 0,\n borderRadius: 0,\n outline: 0,\n borderBottom: '1px solid #6f778280',\n fontFamily: 'App-font-medium',\n width: '100%',\n }}\n />\n {error && (\n \n Este campo es requerido\n \n )}\n \n );\n};\n\nexport default PhoneInputBox;\n","import { appEndpoint } from '../utils/axios';\n\nconst registerValidation = async (\n profile,\n first_name,\n second_name,\n first_last_name,\n second_last_name,\n companyName,\n documentId,\n expeditionDate,\n nit,\n ciiu,\n refferCode,\n uid,\n phone,\n userEmail,\n terms,\n referral_code,\n document_type\n) => {\n const signupKeys = {\n ciiu,\n phone,\n email: userEmail,\n terms,\n uid,\n profile,\n referral_code,\n };\n\n if (profile === 'natural') {\n console.log('natural', expeditionDate);\n signupKeys.first_name = first_name;\n signupKeys.second_name = second_name;\n signupKeys.first_last_name = first_last_name;\n signupKeys.second_last_name = second_last_name;\n signupKeys.document_id = documentId;\n signupKeys.expedition_date = expeditionDate;\n signupKeys.document_type = document_type;\n }\n\n if (profile === 'legal') {\n signupKeys.company_name = companyName;\n signupKeys.nit = nit;\n }\n\n try {\n const res = await appEndpoint().post('/register-validation', signupKeys);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default registerValidation;\n","import { appEndpoint } from '../utils/axios';\n\nconst registerPhoneOtp = async (phone) => {\n const dataRegisterPhoneOtp = {\n phone\n }\n try {\n const res = await appEndpoint().post('/register-phone-otp', dataRegisterPhoneOtp);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default registerPhoneOtp;","import { Box, Checkbox, makeStyles, Tooltip, Typography, } from '@material-ui/core';\nimport React, { useContext, useEffect, useState } from 'react';\nimport ButtonApp from '../../Components/ButtonApp';\nimport ModalApp from '../../Components/ModalApp';\nimport PersonIcon from '@material-ui/icons/Person';\nimport InputBox from '../../Components/InputBox';\nimport SelectBox from '../../Components/SelectBox';\nimport HelpIcon from '@material-ui/icons/Help';\nimport InfoIcon from '@material-ui/icons/Info';\nimport firebase from 'firebase';\n\nimport 'react-phone-input-2/lib/material.css';\nimport PageHeader from '../../Components/PageHeader';\nimport BusinessCenterIcon from '@material-ui/icons/BusinessCenter';\nimport useInput from '../../hooks/useInput';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport PhoneInputBox from '../../Components/PhoneInput';\nimport { toast } from 'react-toastify';\nimport { Context } from '../../Context';\nimport registerValidation from '../../services/registerValidation';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport registerPhoneOtp from \"../../services/registerPhoneOtp\";\n\nimport 'date-fns';\nimport DateFnsUtils from \"@date-io/date-fns\";\nimport { es } from \"date-fns/locale\";\nimport { KeyboardDatePicker, MuiPickersUtilsProvider } from \"@material-ui/pickers\";\nimport CalendarTodayIcon from \"@material-ui/icons/CalendarToday\";\nimport moment from \"moment\";\nimport 'moment/min/locales';\n\nmoment.locale('es', {\n months:\n 'Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre'.split(\n '_'\n ),\n monthsShort:\n 'Enero._Feb._Mar_Abr._May_Jun_Jul._Ago_Sept._Oct._Nov._Dec.'.split('_'),\n weekdays: 'Domingo_Lunes_Martes_Miercoles_Jueves_Viernes_Sabado'.split('_'),\n weekdaysShort: 'Dom._Lun._Mar._Mier._Jue._Vier._Sab.'.split('_'),\n weekdaysMin: 'Do_Lu_Ma_Mi_Ju_Vi_Sa'.split('_'),\n});\n\n\nconst useStyles = makeStyles((theme) => ({\n container: {\n padding: 25,\n minHeight: '100vh',\n },\n arrow: {\n color: theme.palette.common.black,\n },\n\n text: {\n fontFamily: 'App-bold',\n textDecoration: 'underline',\n fontSize: 12,\n display: 'inline',\n },\n}));\n\nexport function BootstrapTooltip(props) {\n const {title, open, handleTooltipClose} = props;\n return (\n \n );\n}\n\nconst CreateAccount = () => {\n const [open, setOpen] = useState(true);\n const [openTooltip, setOpenTooltip] = useState(false);\n const [checked, setChecked] = useState(false);\n const [terms, setTerms] = useState(false);\n const location = useLocation();\n const classes = useStyles();\n const [phoneNumber, setPhoneNumber] = useState('');\n const [isSubmitting, setIsSubmitting] = useState(false);\n const userEmail = useInput('', isSubmitting);\n const nit = useInput('', isSubmitting);\n const companyName = useInput('', isSubmitting);\n const name = useInput('', isSubmitting);\n const first_name = useInput('', isSubmitting);\n const first_last_name = useInput('', isSubmitting);\n const second_last_name = useInput('', isSubmitting);\n const second_name = useInput('', isSubmitting);\n const documentId = useInput('', isSubmitting);\n const [expeditionDate, setExpeditionDate] = useState('01-01-1900');\n const ciiu = useInput('', isSubmitting);\n const {accountType, referral_code} = location.state;\n const documentType = useInput('', isSubmitting);\n const helpData = useGetHelpData(accountType);\n const {setDesktopImg, isClaro} = useContext(Context);\n const [loading, setLoading] = useState(false);\n const history = useHistory();\n let user = {name: ''};\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n let value = '1900-01-01';\n let format_date = moment(value).add(1, 'days').format('YYYY-MM-DD');\n\n\n const onSignupUser = async () => {\n const appVerifier = new firebase.auth.RecaptchaVerifier('recaptcha', {\n size: 'invisible',\n });\n\n\n let expedition_date = moment(expeditionDate).subtract(1, 'days').format('YYYY-MM-DD');\n setExpeditionDate(expedition_date);\n if (accountType === 'Persona Jurídica') {\n if (!nit.value || !companyName.value || !phoneNumber) {\n return;\n }\n if (nit.value.length < 9) {\n nit.setError('Ingrese un NIT valido.');\n return;\n } else {\n nit.setError('');\n }\n } else if (accountType === 'Persona Natural') {\n if (!first_name.value || !first_last_name.value || !second_last_name.value || !documentId.value || !phoneNumber) {\n return;\n }\n } else if (documentId.value.length < 6) {\n documentId.setError('El documento tiene que tener minimo 6 digitos');\n return;\n }\n\n if (accountType === 'Persona Jurídica' && !ciiu.value) {\n // toast.error('Seleccione un CIU');\n return;\n }\n\n if (!userEmail.value.length) {\n userEmail.setError('Ingrese un correo electrónico');\n return;\n }\n\n try {\n setIsSubmitting(true);\n setLoading(true);\n\n await registerValidation(\n accountType === 'Persona Jurídica' ? 'legal' : 'natural',\n first_name.value,\n second_name.value,\n first_last_name.value,\n second_last_name.value,\n companyName.value,\n documentId.value,\n expedition_date,\n nit.value,\n ciiu.value,\n null,\n null,\n phoneNumber.slice(2),\n userEmail.value,\n checked,\n referral_code,\n documentType.value,\n isClaro\n );\n\n user = {\n phoneNumber,\n companyName: companyName.value,\n first_name: first_name.value,\n second_name: second_name.value,\n first_last_name: first_last_name.value,\n second_last_name: second_last_name.value,\n documentId: documentId.value,\n expedition_date: expedition_date,\n documentType: documentType.value,\n nit: nit.value,\n profile: accountType === 'Persona Jurídica' ? 'legal' : 'natural',\n ciiu: ciiu.value,\n email: userEmail.value,\n terms: checked,\n referral_code,\n isSignup: true,\n };\n\n localStorage.setItem('user-data', JSON.stringify(user));\n\n //await signInWithPhoneNumber(`+${phoneNumber}`, appVerifier);\n\n\n registerPhoneOtp(phoneNumber.slice(2))\n .then((res) => {\n toast.success(`Código de verificación enviado al celular exitosamente`);\n setLoading('resolved');\n history.push('/verify', {\n phoneNumber,\n companyName: companyName.value,\n first_name: first_name.value,\n second_name: second_name.value,\n first_last_name: first_last_name.value,\n second_last_name: second_last_name.value,\n documentId: documentId.value,\n expedition_date: expedition_date,\n documentType: documentType.value,\n nit: nit.value,\n profile: accountType === 'Persona Jurídica' ? 'legal' : 'natural',\n ciiu: ciiu.value,\n email: userEmail.value,\n terms: checked,\n referral_code,\n isSignup: true,\n });\n setLoading(false);\n\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n\n } catch (error) {\n const errorKeys = Object.keys(error?.errors);\n\n let message = '';\n\n for (const key of errorKeys) {\n message += `⋅ ${key} - ${error?.errors[key]}\n `;\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading(false);\n }\n };\n\n return (\n \n
\n history.push('/')}/>\n \n Crear Cuenta\n \n\n \n Cree su cuenta para continuar con el proceso\n \n \n \n {accountType === 'Persona Jurídica' ? (\n \n ) : (\n \n )}\n \n \n {accountType || 'Persona Natural'}\n \n \n {accountType === 'Persona Jurídica' ? (\n <>\n \n {\n if (e.target.value.length === 0) {\n nit.setValue('');\n }\n if (e.target.value.match(/^[0-9-/+]+$/g)) {\n nit.onChange(e);\n }\n }}\n containerStyles={{marginTop: 30}}\n error={nit.error}\n />\n \n ) : (\n <>\n \n \n \n \n\n \n \n Tipo de documento\n \n \n \n\n {(documentType.value == 'ps' || documentType.value == 'pep') ? (\n\n {\n documentId.onChange(e);\n }}\n label=\"Documento de identificación\"\n containerStyles={{marginTop: 30}}\n error={documentId.error}\n />\n\n ) : (\n {\n if (e.target.value.length === 0) {\n documentId.setValue('');\n }\n if (e.target.value.match(/[0-9]$/g)) {\n documentId.onChange(e);\n }\n }}\n label=\"Documento de identificación\"\n containerStyles={{marginTop: 30}}\n error={documentId.error}\n />\n )}\n\n\n \n <> }\n placeholder=\"dd/mm/yyyy\"\n format=\"dd/MM/yyyy\"\n icon={}\n KeyboardButtonProps={{\n 'aria-label': 'change date',\n }}\n onChange={(date) => setExpeditionDate(moment(date).add(1, 'days').format('YYYY-MM-DD'))}\n error={false}\n helperText={null}\n />\n \n\n \n )}\n {accountType === 'Persona Jurídica' && (\n <>\n \n Sector económico (CIIU)\n \n\n \n {\n if (e.target.value.length === 0) {\n ciiu.setValue('');\n }\n if (e.target.value.match(/[0-9]$/g)) {\n ciiu.onChange(e);\n }\n }}\n // label=\"Documento de identificación\"\n containerStyles={{marginTop: 30}}\n error={ciiu.error}\n />\n \n setOpenTooltip(!openTooltip)}\n />\n \n \n \n \n \n \n Sectores económicos no permitidos (CIIU)\n \n \n \n \n )}\n\n \n \n \n setChecked(!checked)}\n disableRipple\n color=\"primary\"\n inputProps={{'aria-label': 'primary checkbox'}}\n style={{marginRight: 12, padding: 0}}\n />\n \n Acepto las políticas de{' '}\n \n \n privacidad y tratamiento de datos personales.\n \n {' '}\n \n \n \n setTerms(!terms)}\n disableRipple\n color=\"primary\"\n inputProps={{'aria-label': 'primary checkbox'}}\n style={{marginRight: 12, padding: 0}}\n />\n \n Acepto los{' '}\n \n \n términos y condiciones\n \n {' '}de uso.\n \n \n \n\n setOpen(false)} type=\"warning\">\n \n Antes de continuar asegúrese de tener a mano los siguientes documentos\n que serán necesarios para completar la solicitud:\n \n {accountType === 'Persona Jurídica' && (\n \n El proceso lo debe ejecutar el representante legal.\n \n )}\n\n \n - Identificación / Cédula de Identidad\n \n \n - Rut (Registro único tributario)\n \n \n - {isClaro ? 'Número de deposito bajo monto' : 'Número de cuenta bancaria'}\n \n\n setOpen(false)}\n marginTop={30}\n />\n \n \n );\n};\n\nexport default CreateAccount;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport QueryBuilderIcon from '@material-ui/icons/QueryBuilder';\n\nconst DocumentStatus = ({\n status = 'pending',\n statusText = 'Pendiente por Verificar',\n background,\n color,\n}) => {\n const getColorByStatus = () => {\n switch (status) {\n case 'pending': {\n return {\n background: '#FF9D0119',\n color: '#FF9D00',\n };\n }\n\n default: {\n return {\n background: '#FF9D0119',\n color: '#FF9D00',\n };\n }\n }\n };\n\n return (\n \n \n Estado:\n \n \n \n \n {statusText}\n \n \n \n );\n};\n\nexport default DocumentStatus;\n","export const converFromByteToMb = (bytes, decimals = 2) => {\n return (bytes / 1000000).toFixed(decimals);\n};\n\nexport const dataURLtoFile = (dataurl, filename) => {\n let arr = dataurl.split(','),\n mime = arr[0].match(/:(.*?);/)[1],\n bstr = atob(arr[1]),\n n = bstr.length,\n u8arr = new Uint8Array(n);\n\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n);\n }\n\n return new File([u8arr], filename, { type: mime });\n};\n\n\nexport const getQueryParams = () => {\n const params = {};\n const search = window.location.search;\n const regex = /[?&]([^=#]+)=([^&#]*)/g;\n let match;\n\n while ((match = regex.exec(search))) {\n params[match[1]] = match[2];\n }\n\n return params;\n}\n","const formatTxt = (str, n) => {\n if (!str) {\n return '';\n }\n if (str.length > n) {\n return `${str.slice(0, n)}...`;\n }\n return str;\n};\n\nexport default formatTxt;\n","import { Box, Button, makeStyles, Typography } from '@material-ui/core';\nimport React, { useEffect, useState } from 'react';\nimport AccountBalanceIcon from '@material-ui/icons/AccountBalance';\nimport { BootstrapTooltip } from '../Pages/CreateAccount/CreateAccount';\nimport HelpIcon from '@material-ui/icons/Help';\nimport KeyboardArrowRightIcon from '@material-ui/icons/KeyboardArrowRight';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport DocumentStatus from './DocumentStatus';\nimport ImageUploading from 'react-images-uploading';\nimport { converFromByteToMb } from '../utils/utils';\nimport { DropzoneArea } from 'material-ui-dropzone';\nimport styled from 'styled-components';\nimport PictureAsPdfIcon from '@material-ui/icons/PictureAsPdf';\nimport formatTxt from '../utils/formatText';\n\nfunction readFile(file) {\n return new Promise(function (resolve, reject) {\n const reader = new FileReader();\n\n reader.onload = function (event) {\n let _event$target;\n\n resolve(\n event === null || event === void 0\n ? void 0\n : (_event$target = event.target) === null || _event$target === void 0\n ? void 0\n : _event$target.result\n );\n };\n\n reader.onerror = function (event) {\n reader.abort();\n reject(event);\n };\n\n reader.readAsDataURL(file);\n });\n}\n\nconst useStyles = makeStyles(() => ({\n certificateWrapper: {\n border: '1px solid #6F778240',\n borderRadius: 4,\n padding: 15,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n minWidth: 300,\n width: '100%',\n height: 60,\n cursor: 'pointer',\n },\n\n documentImg: {\n width: 71,\n height: 95,\n marginRight: 10,\n },\n\n deleteButton: {\n border: '1px solid #FF3939',\n color: '#FF3939',\n borderRadius: 120,\n padding: '6px 16px',\n fontSize: 12,\n fontFamily: 'App-font-medium',\n },\n}));\n\nconst Documents = ({\n value,\n title,\n onChange: onChangeFile,\n helperText,\n onResetState,\n status,\n isLoading,\n}) => {\n const classes = useStyles();\n const [openTooltip, setOpenTooltip] = useState(false);\n const [showCertificate, setShowCertificate] = useState(false);\n const [image, setImage] = useState(null);\n const ref = React.useRef();\n\n useEffect(() => {\n if (value) {\n setShowCertificate(true);\n }\n }, [value]);\n\n const onChange = (file) => {\n onChangeFile(file[0]);\n\n if (file[0].type !== 'application/pdf') {\n readFile(file[0]).then((res) => setImage(res));\n }\n setShowCertificate(true);\n };\n\n const onDeleteImage = () => {\n onResetState();\n setShowCertificate(false);\n };\n\n if (showCertificate) {\n return (\n \n \n {value?.type === 'application/pdf' ||\n value?.name?.includes('.pdf') ? (\n \n ) : (\n \n )}\n \n \n {formatTxt(value?.file?.name || value?.name, 15)}\n \n \n {converFromByteToMb(value?.size)} mb\n \n \n \n \n Imagen subida exitosamente\n \n \n \n Eliminar\n \n \n \n \n \n );\n }\n\n return (\n \n {\n if (['svg', 'path'].includes(e.target.tagName)) {\n return;\n }\n ref.current.click();\n }}\n >\n \n \n \n \n \n {title}\n \n \n Tamaño máximo 10MB\n \n \n \n {/* \n {({\n imageList,\n onImageUpload,\n onImageRemoveAll,\n onImageUpdate,\n onImageRemove,\n isDragging,\n dragProps,\n }) => (\n \n )}\n */}\n \n {\n if (fl.length > 0) {\n onChange(fl);\n }\n // if (fl[0]) {\n // readFile(fl[0]).then((res) => setImgBs64(res));\n // }\n // setImage(fl);\n }}\n filesLimit={1}\n dropzoneText=\"\"\n showPreviewsInDropzone={false}\n Icon={() => (\n \n )}\n />\n \n \n \n \n setOpenTooltip(!openTooltip)}\n />\n \n \n );\n};\n\nconst BoxContainer = styled(Box)`\n .MuiDropzoneArea-root {\n height: 25px !important;\n\n min-height: 24px !important;\n max-height: 150px;\n width: 24px !important;\n border-color: transparent !important;\n background-color: transparent !important;\n outline: 0 !important;\n .MuiDropzoneArea-textContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n }\n }\n`;\n\nexport default Documents;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport moment from 'moment';\n\nconst EditInfo = (props) => {\n const { label, value, margin, isEdit, EditComponent, type, componentEdit } =\n props;\n\n const renderValue = () => {\n if (type === 'date') {\n return value ? moment(`${value}`).format('YYYY-MM-DD') : value;\n } else if (componentEdit === 'InputCurrencyBox' && value) {\n return new Intl.NumberFormat('de-DE').format(\n value?.toString().replace(/[\\D\\s\\._\\-]+/g, '')\n );\n } else {\n return value;\n }\n };\n return (\n \n {isEdit ? (\n \n ) : (\n \n \n {label}\n \n\n \n {/* {typeof value === 'object'\n ? moment(`${value}`).format('YYYY-MM-DDT00:00:00Z')\n : value} */}\n {renderValue()}\n \n \n )}\n \n );\n};\n\nexport default EditInfo;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport { Input, Label, Wrapper } from './InputBox';\n\nconst InputCurrencyBox = ({\n label,\n inputStyles,\n labelStyles,\n value,\n id,\n onChange,\n disable,\n minLenght,\n maxLength,\n placeHolder,\n disabledMargin = true,\n error,\n containerStyles,\n prefix = '$',\n}) => {\n return (\n \n {prefix && (\n \n \n {prefix}\n \n \n )}\n \n {label && (\n \n )}\n \n {error}\n \n \n );\n};\n\nexport default InputCurrencyBox;\n","import React from 'react';\nimport 'date-fns';\nimport DateFnsUtils from '@date-io/date-fns';\nimport {\n KeyboardDatePicker,\n MuiPickersUtilsProvider,\n} from '@material-ui/pickers';\nimport CalendarTodayIcon from '@material-ui/icons/CalendarToday';\nimport moment from 'moment';\nimport { es } from 'date-fns/locale';\nimport 'moment/min/locales';\n\nmoment.locale('es', {\n months:\n 'Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre'.split(\n '_'\n ),\n monthsShort:\n 'Enero._Feb._Mar_Abr._May_Jun_Jul._Ago_Sept._Oct._Nov._Dec.'.split('_'),\n weekdays: 'Domingo_Lunes_Martes_Miercoles_Jueves_Viernes_Sabado'.split('_'),\n weekdaysShort: 'Dom._Lun._Mar._Mier._Jue._Vier._Sab.'.split('_'),\n weekdaysMin: 'Do_Lu_Ma_Mi_Ju_Vi_Sa'.split('_'),\n});\n\nfunction InputDate({\n value = null,\n onChange,\n label,\n disableFuture = true,\n minYear: maxYear,\n disable,\n}) {\n const minDate = moment(`01/01/${new Date().getFullYear()}`)\n .subtract(maxYear, 'years')\n .calendar();\n if (value === null || value === undefined){\n value = '1900-01-01';\n }\n let format_value = moment(value).add(1,'days').format('YYYY-MM-DD');\n return (\n \n <> }\n placeholder=\"dd/mm/yyyy\"\n maxDate={maxYear ? minDate : Date()}\n disableFuture={disableFuture}\n format=\"dd/MM/yyyy\"\n icon={}\n KeyboardButtonProps={{\n 'aria-label': 'change date',\n }}\n />\n \n );\n}\n\nexport default InputDate;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\n\nconst LogicField = ({ label, field, fieldToCompare, operator, otherState }) => {\n const onCompare = () => {\n switch (operator) {\n case '+':\n return (\n parseInt(otherState[`field_${field}`]?.replace(/\\./g, '')) ||\n 0 +\n parseInt(\n otherState[`field_${fieldToCompare}`]?.replace(/\\./g, '')\n ) ||\n 0\n );\n case '-':\n return (\n parseInt(otherState[`field_${field}`]?.replace(/\\./g, '')) -\n parseInt(otherState[`field_${fieldToCompare}`]?.replace(/\\./g, ''))\n );\n case '*':\n return (\n parseInt(otherState[`field_${field}`]?.replace(/\\./g, '')) ||\n 0 *\n parseInt(\n otherState[`field_${fieldToCompare}`]?.replace(/\\./g, '')\n ) ||\n 0\n );\n case '/':\n return (\n parseInt(otherState[`field_${field}`]?.replace(/\\./g, '')) ||\n 0 /\n parseInt(\n otherState[`field_${fieldToCompare}`]?.replace(/\\./g, '')\n ) ||\n 0\n );\n\n default:\n throw new Error('Unsupported Logic Operator');\n }\n };\n\n return (\n \n {label && (\n \n {label}\n \n )}\n \n {otherState?.isEdit && (\n \n $\n \n )}\n \n {new Intl.NumberFormat('de-DE').format(\n isNaN(onCompare()) ? 0 : onCompare()\n )}\n \n \n \n );\n};\n\nexport default LogicField;\n","import moment from 'moment';\nexport const handleOnChangeInput = (field, setState, type) => {\n return (event) => {\n\n const {value} = event.target;\n let zoneId = null;\n if(event.target.selectedOptions) {\n zoneId = event.target.selectedOptions[0].getAttribute('data-zone-id');\n }\n\n if (type.trim() === 'numeric') {\n if (value.length === 0) {\n setState((prevState) => ({\n ...prevState,\n [field]: ''\n }));\n }\n if (value.match(/[0-9]$/g)) {\n setState((prevState) => ({\n ...prevState,\n [field]: value\n }));\n }\n } else {\n let groupId = 0;\n if (field.includes(\"[\")) {\n groupId = field?.split('_')[1]\n .split('[')[1]\n .split(']')[0] || 0;\n }\n\n if (zoneId != null) {\n setState((prevState) => ({\n ...prevState,\n [field]: value,\n ['special_' + groupId]: {'zone': zoneId, 'field': field, 'group_id': groupId},\n ['zoneId']: zoneId\n }));\n } else {\n setState((prevState) => ({\n ...prevState,\n [field]: value\n }));\n }\n\n }\n };\n};\n\nexport const handleChangeCheckbox = (field, setState) => (event) => {\n const { checked } = event.target;\n\n console.log('handleChangeCheckbox', event.target.checked, field, checked);\n\n setState((prevState) => ({\n ...prevState,\n [field]: checked,\n }));\n};\n\nexport const handleChangeCode = (field, setState) => (code) => {\n setState((prevState) => ({\n ...prevState,\n [field]: code,\n }));\n};\nexport const handleOnChangeInputCurrency = (field, setState) => (event) => {\n const { value } = event.target;\n\n setState((prevState) => ({\n ...prevState,\n [field]: value,\n }));\n};\nexport const handleOnChangePhoneInput = (field, setState) => (phone) => {\n setState((prevState) => ({\n ...prevState,\n [field]: phone,\n }));\n};\n\nexport const handleOnChangeFile = (field, setState) => (file) => {\n setState((prevState) => ({\n ...prevState,\n [field]: file,\n }));\n};\n\nexport const handleDeleteFile = (field, setState) => () => {\n setState((prevState) => ({\n ...prevState,\n [field]: null,\n }));\n};\n\nexport const handleBooleanOnChange = (field, setState) => (option) => {\n setState((prevState) => ({\n ...prevState,\n [field]: option,\n }));\n};\n\nexport const handleOnChangeDate = (field, setState) => (date) => {\n setState((prevState) => ({\n ...prevState,\n [field]: moment(date).format('YYYY-MM-DD'),\n }));\n};\n\nexport const setDefaultState = (comps, state, setState, otherObjs = {}) => {\n const preRenderState = {};\n for (const comp of comps) {\n if (comp?.value) {\n preRenderState[comp.name] = comp.value;\n }\n }\n\n setState({ ...state, ...preRenderState, ...otherObjs });\n};\n\nexport const setNestedComponentsDefaultState = (comps, setState) => {\n const preRenderState = {};\n for (const comp of comps) {\n if (comp?.value) {\n preRenderState[comp.name] = comp.value;\n }\n }\n setState((prevState) => ({\n ...prevState,\n ...preRenderState,\n }));\n};\n\nconst replaceStateKeys = (componentsToClone, components, position) => {\n const componentsKeysReplaced = [];\n components.forEach((component) => {\n const nestedOptions = [];\n if (componentsToClone.includes(component?.id?.toString())) {\n if (component?.options?.length > 0) {\n component?.options?.forEach((option, index) => {\n const fields = option?.fields;\n option?.fields?.forEach((nestedComponent, indexComponent) => {\n if (componentsToClone.includes(nestedComponent.id.toString())) {\n fields[indexComponent] = {\n ...nestedComponent,\n name: `${nestedComponent.name?.split('[')[0]}[${\n parseInt(position) + 1\n }]`,\n order: parseInt(fields.order)\n };\n }\n });\n nestedOptions[index] = { ...option, fields };\n });\n }\n\n // console.log('replaceStateKeys: ', component, component.order, parseInt(position), component.order + (100 * (parseInt(position) + 1)));\n\n componentsKeysReplaced.push({\n ...component,\n name: `${component.name?.split('[')[0]}[${parseInt(position) + 1}]`,\n options: nestedOptions,\n order: parseInt(component.order) + (100 * (parseInt(position) + 1))\n });\n }\n });\n\n return componentsKeysReplaced;\n};\n\nexport const onChangeCloneStateKeys =\n (components, setComponents) => (componentsToClone) => {\n const componentsCopy = components.slice(0, components.length - 1);\n const positionKey =\n componentsCopy[componentsCopy.length - 1]?.name\n ?.split('_')[1]\n .split('[')[1]\n .split(']')[0] || 0;\n\n let componentsChanged = replaceStateKeys(\n componentsToClone,\n componentsCopy,\n positionKey\n );\n\n const arr1 = [...new Map(componentsChanged.map(item => [item['name'], item])).values()]\n\n componentsChanged = arr1;\n\n componentsChanged = componentsChanged.slice(0);\n componentsChanged.sort(function(a,b) {\n return a.order - b.order;\n });\n\n setComponents(componentsChanged);\n };\n","import React, { Fragment } from 'react';\n\nconst mapPropsToConfig = (config) => {\n const configWithProps = [];\n config.forEach((item) => {\n if (item.component) {\n const { component, ...props } = item;\n\n configWithProps.push({\n ...props,\n Component: component,\n });\n }\n });\n\n return configWithProps;\n};\n\nexport const onOrderComponents = (components) =>\n components.sort((a, b) => {\n if (a.order > b.order) {\n return 1;\n } else if (a.order < b.order) {\n return -1;\n } else {\n return 0;\n }\n });\n\nexport const Renderer = ({ config, orderComponents = true }) => {\n if (!config) {\n throw new Error('You are calling Renderer with no config.');\n }\n\n const configWithProps = mapPropsToConfig(config);\n const renderComponents = (items) => {\n if (!orderComponents) {\n return items.map((item) => {\n const { Component, ...props } = item;\n\n return (\n \n \n \n );\n });\n }\n\n const componentsOrdered = onOrderComponents(items);\n\n return componentsOrdered.map((item) => {\n const { Component, ...props } = item;\n\n return (\n \n \n \n );\n });\n };\n\n return renderComponents(configWithProps);\n};\n","import { Button, makeStyles } from '@material-ui/core';\nimport React from 'react';\n\nconst useStyles = makeStyles(() => ({\n notSelected: {\n textTransform: 'capitalize',\n border: '1px solid #6F778226',\n borderRadius: 120,\n color: '#273240',\n padding: '0 44px',\n background: '#6F778219 !important',\n minWidth: 'fit-content',\n '& .MuiButton-label': {\n fontSize: 14,\n fontFamily: 'App-regular',\n },\n height: 42,\n },\n\n selected: {\n textTransform: 'capitalize',\n color: '#fff',\n borderWidth: 2,\n borderRadius: 120,\n padding: '0 44px',\n background: '#5D62F1 !important',\n minWidth: 'fit-content',\n\n '& .MuiButton-label': {\n fontSize: 14,\n fontFamily: 'App-regular',\n },\n height: 42,\n },\n}));\n\nconst PickButton = ({\n onClick,\n marginTop,\n marginBottom,\n text,\n value,\n selected,\n}) => {\n const classes = useStyles();\n return (\n \n {text}\n \n );\n};\n\nexport default PickButton;\n","import { Box, Typography } from '@material-ui/core';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { getConfig } from '../config/config';\nimport { setNestedComponentsDefaultState } from '../config/handlers';\nimport { Renderer } from '../config/Renderer';\nimport PickButton from './PickButton';\n\nconst RenderNestedComponents = ({ state, setState, components, help }) => {\n const [nestedComponents, setNestedComponents] = useState(components);\n\n useEffect(() => {\n setNestedComponentsDefaultState(components, setState);\n }, [nestedComponents]);\n\n const onSetNestedComponents = (componetsToAdd) => {\n const slicedCurrent = nestedComponents.slice(\n 0,\n nestedComponents.length - 1\n );\n const componentsCloned = [\n ...slicedCurrent,\n ...componetsToAdd,\n nestedComponents[nestedComponents.length - 1],\n ];\n\n setNestedComponents(componentsCloned);\n };\n\n const config = useMemo(() => {\n return getConfig({\n state,\n setState,\n componentsFromServer: nestedComponents,\n help,\n setNestedComponents: onSetNestedComponents,\n });\n }, [nestedComponents, state, setState, onSetNestedComponents]);\n\n return (\n \n \n \n );\n};\n\nconst PickGroupButton = ({\n value,\n onChange,\n label,\n description,\n labelAlign = 'center',\n options,\n selectValue,\n selectKey,\n selectText,\n state,\n setState,\n helpOptions,\n}) => {\n return (\n \n \n {label}\n \n {description && (\n \n {description}\n \n )}\n \n {typeof options?.[0] === 'string'\n ? options.map((option, index) => (\n onChange(option[selectValue])}\n selected={value}\n />\n ))\n : options?.map((option, index) => (\n onChange(option[selectValue])}\n selected={value}\n />\n ))}\n \n 0 ? 40 : 40 }}>\n {typeof options?.[0] === 'string'\n ? options.map((option, index) => (\n \n {value === option[selectValue] &&\n option?.fields?.length > 0 && (\n \n )}\n \n ))\n : options?.map((option, index) => (\n \n {value === option[selectValue] &&\n option?.fields?.length > 0 && (\n \n )}\n \n ))}\n \n \n );\n};\n\nexport default PickGroupButton;\n","import { Box } from '@material-ui/core';\nimport React from 'react';\nimport ReactCodeInput from 'react-code-input';\n\nconst inputStyle = {\n background: '#6F778205',\n border: '1px solid #6F778240',\n height: 44,\n width: 44,\n borderRadius: 8,\n fontFamily: 'App-semi-bold',\n fontSize: 20,\n color: '#273240',\n outline: 'none',\n\n textAlign: 'center',\n};\n\nconst SignContract = ({ value, onChange }) => {\n return (\n \n {\n onChange(cd);\n }}\n />\n \n );\n};\n\nexport default SignContract;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\n\nconst StepDescription = ({ title, value, label }) => (\n \n {title && (\n \n {title}\n \n )}\n \n {value}\n \n\n \n
\n
\n
\n);\n\nexport default StepDescription;\n","import {Box, Checkbox, Typography} from '@material-ui/core';\nimport React, {useState} from 'react';\nimport {Input} from \"./InputBox\";\nimport {handleChangeCheckbox} from \"../config/handlers\";\n\nconst InputCheckBox = ({ id, onChange, label, value }) => (\n\n \n\n \n\n \n {label}\n \n\n \n);\n\nexport default InputCheckBox;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\nimport styled from 'styled-components';\nimport CheckIcon from '@material-ui/icons/Check';\n\nimport {\n InputBase,\n NativeSelect,\n withStyles,\n} from '@material-ui/core';\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\n\nlet fieldAddress;\n\n\nconst BootstrapInputFillled = withStyles((theme, value) => ({\n root: {\n width: '100%',\n\n height: 40,\n },\n input: {\n borderRadius: 120,\n color: '#6F778280',\n position: 'relative',\n backgroundColor: '#f8f8f9',\n border: '1px solid #f8f8f9',\n fontSize: 13,\n height: 20,\n padding: '7px 26px 7px 18px',\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n fontFamily: [\n 'App-regular',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n '&:focus': {\n borderRadius: 4,\n borderColor: '#f8f8f9',\n backgroundColor: '#f8f8f9',\n },\n },\n}))(InputBase);\n\nconst BootstrapInputOutlined = withStyles((theme) => ({\n root: {\n width: '100%',\n height: 40,\n '& svg': {\n right: 10,\n },\n },\n input: {\n color: '#273240',\n borderRadius: 120,\n position: 'relative',\n backgroundColor: 'transparent',\n border: '1px solid #6F778280',\n fontSize: 13,\n height: 25,\n padding: '7px 26px 7px 18px',\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n // Use the system font instead of the default Roboto font.\n fontFamily: [\n 'App-regular',\n 'App-font-medium',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n '&:focus': {\n borderRadius: 120,\n borderColor: '#6F778280',\n backgroundColor: 'transparent',\n },\n '&::placeholder': {\n color: '#6F778280',\n },\n },\n}))(InputBase);\n\n\nvar InputAddressBox = ({\n id,\n value,\n onChange,\n options,\n relatedData,\n outlined = true,\n selectKey,\n selectValue = 'value',\n selectText = 'text',\n label,\n withMargin = true,\n type,\n disable,\n loading,\n isVerified,\n placeHolder,\n inputStyles,\n labelStyles,\n capitalize,\n uppercase,\n containerStyles,\n maxLength,\n minLenght,\n error,\n suffix,\n disabledMargin = true,\n }) => {\n\n if(options.length > 0) {\n\n fieldAddress = <>\n \n \n {label}\n \n\n \n ) : (\n \n )\n }\n onChange={onChange}\n value={value}\n IconComponent={ExpandMoreIcon}\n style={{\n textTransform: 'capitalize',\n marginBottom: withMargin ? 25 : 0,\n }}\n defaultValue={`Seleccione una opción.`}\n >\n \n\n {typeof options?.[0] === 'string'\n ? options.map((option, index) => (\n \n {option}\n \n ))\n : options?.map((option, index) => (\n \n {option[selectText]}\n \n ))}\n\n \n \n ;\n } else {\n fieldAddress = <>\n \n\n \n {label && (\n \n )}\n \n {error}\n \n\n {suffix && (\n \n \n {suffix}\n \n \n )}\n\n\n \n ;\n }\n return ( fieldAddress );\n};\n\nexport default InputAddressBox;\n\n\n\nexport const Input = styled.input`\n font-size: 14px;\n padding: 10px 15px 10px 15px;\n color: #273240;\n width: 100%;\n border: none;\n font-family: 'App-font-medium';\n border-bottom: 1px solid #6f778280;\n outline: none;\n margin: auto;\n ${(props) => props.capitalize && `text-transform: capitalize`};\n\n ${(props) => props.uppercase && `text-transform: uppercase`};\n :focus {\n outline: none;\n }\n ::placeholder {\n color: #6f7782;\n }\n`;\n\nexport const Wrapper = styled.div`\n position: relative;\n width: 21%;\n display: inline-block;\n margin: 0 5px;\n & input:focus + label {\n top: -15px;\n }\n`;\n\nexport const Label = styled.label`\n color: #6f7782;\n font-size: 12px;\n font-family: 'App-regular';\n position: absolute;\n pointer-events: none;\n left: ${(props) => (props.isCurrency ? '12px' : '5px')};\n top: 10px;\n transition: 0.2s ease all;\n ${(props) => props.value && `top: -15px`};\n`;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\n\nconst InfoLink = ({ helperText, value, label }) => (\n \n\n \n {helperText}\n \n\n \n);\n\nexport default InfoLink;\n","import AddMore from '../Components/AddMore';\nimport ButtonApp from '../Components/ButtonApp';\nimport Documents from '../Components/Documents';\nimport EditInfo from '../Components/EditInfo';\nimport InputBox from '../Components/InputBox';\nimport InputCurrencyBox from '../Components/InputCurrencyBox';\nimport InputDate from '../Components/InputDate';\nimport LogicField from '../Components/LogicField';\nimport PhoneInputBox from '../Components/PhoneInput';\nimport PickGroupButton from '../Components/PickGroupButton';\nimport SelectBox from '../Components/SelectBox';\nimport SignContract from '../Components/SignContract';\nimport StepDescription from '../Components/StepDescription';\nimport {\n handleOnChangeInput,\n handleBooleanOnChange,\n handleOnChangeDate,\n handleOnChangePhoneInput,\n handleOnChangeInputCurrency,\n handleOnChangeFile,\n handleDeleteFile,\n handleChangeCode,\n onChangeCloneStateKeys, handleChangeCheckbox,\n} from './handlers';\nimport InputCheckBox from \"../Components/InputCheckBox\";\nimport InputAddressBox from \"../Components/InputAddressBox\";\nimport InfoLink from \"../Components/InfoLink\";\n\nconst onCheckOptionalProps = (relatedData, optionsObj, componentState) => {\n if (!relatedData) {\n return null;\n }\n return { options: optionsObj[relatedData] };\n};\n\nconst onAddPropsToComponent = ({\n Component,\n onChange,\n componentState,\n EditComponent,\n componentEnhanced,\n onResetState,\n setDefaultComponentState,\n setState,\n onClick,\n hasOptionalProps,\n canRenderNestedComponents,\n componentHasState = true,\n optionalProps = null,\n isLoading,\n help,\n }) => {\n if (typeof onClick === 'function') {\n componentEnhanced.onClick = onClick;\n componentEnhanced.component = Component;\n } else if (componentHasState) {\n componentEnhanced.value = componentState[componentEnhanced.name];\n\n componentEnhanced.component = Component;\n componentEnhanced.onResetState =\n typeof onResetState === 'function'\n ? onResetState(componentEnhanced.name, setState)\n : () => {};\n componentEnhanced.onChange =\n typeof onChange === 'function'\n ? onChange(componentEnhanced.name, setState, componentEnhanced.type)\n : () => {};\n if (EditComponent) {\n componentEnhanced.EditComponent = EditComponent;\n componentEnhanced.isEdit = componentState.isEdit;\n }\n\n if (hasOptionalProps) {\n if(componentEnhanced.relatedData == 'cities' && hasOptionalProps.options) {\n // console.log('componentState', componentState, componentEnhanced, componentEnhanced.name.includes(\"[\"));\n\n let groupId = 0;\n if(componentEnhanced.name.includes(\"[\")) {\n groupId = componentEnhanced.name?.split('_')[1]\n .split('[')[1]\n .split(']')[0] || 0;\n }\n\n let groupField = componentState['special_'+groupId];\n let zone_id = groupField ? groupField.zone : null;\n let newOptions = [];\n //console.log('componentState', componentState, componentEnhanced, zone_id);\n\n hasOptionalProps.options.forEach((option) => {\n if(option['zone_id'] == zone_id) {\n option['parent_zone_id'] = zone_id;\n newOptions.push(option);\n }\n });\n componentEnhanced.options = newOptions;\n\n } else if(componentEnhanced.relatedData == 'zones' && hasOptionalProps.options) {\n let newOptions = [];\n\n hasOptionalProps.options.forEach((option) => {\n newOptions.push(option);\n });\n\n componentEnhanced.options = newOptions;\n } else {\n componentEnhanced.options = hasOptionalProps.options;\n }\n }\n\n if (canRenderNestedComponents) {\n componentEnhanced.state = componentState;\n componentEnhanced.setState = setState;\n }\n componentEnhanced.isLoading = isLoading;\n\n if (help) {\n componentEnhanced.helpOptions = help;\n }\n } else {\n componentEnhanced.component = Component;\n componentEnhanced.otherState = componentState;\n // console.log(componentState);\n // componentEnhanced.isEdit = componentState.isEdit;\n }\n};\n\nconst getHandlerForEditInfoComponent = (component) => {\n switch (component) {\n case 'InputBox':\n return handleOnChangeInput;\n\n case 'InputDate':\n return handleOnChangeDate;\n\n case 'InputCurrencyBox':\n return handleOnChangeInput;\n\n case 'BooleanOptions':\n return handleBooleanOnChange;\n\n case 'SelectBox':\n return handleOnChangeInput;\n\n case 'PhoneInputBox':\n return handleOnChangePhoneInput;\n\n default:\n return null;\n }\n};\n\nconst GetComponentFOrEditInfo = (componentName) => {\n switch (componentName) {\n case 'InputBox':\n return InputBox;\n\n case 'InputDate':\n return InputDate;\n\n case 'InputCurrencyBox':\n return InputCurrencyBox;\n\n case 'BooleanOptions':\n return PickGroupButton;\n\n case 'SelectBox':\n return SelectBox;\n\n case 'PhoneInputBox':\n return PhoneInputBox;\n\n default:\n return null;\n }\n};\n\nexport const getConfig = ({\n componentsFromServer = [],\n state,\n setState,\n help,\n setNestedComponents,\n isLoading = false,\n }) => {\n\n return componentsFromServer.map((component) => {\n const componentEnhanced = { ...component };\n switch (component.componentName) {\n case 'LogicField':\n onAddPropsToComponent({\n Component: LogicField,\n componentState: state,\n componentEnhanced,\n componentHasState: false,\n });\n break;\n case 'AddPartner':\n onAddPropsToComponent({\n Component: AddMore,\n componentEnhanced,\n componentHasState: false,\n onClick: onChangeCloneStateKeys(\n componentsFromServer,\n setNestedComponents\n ),\n });\n break;\n case 'InputBox':\n onAddPropsToComponent({\n Component: InputBox,\n onChange: handleOnChangeInput,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n case 'Address':\n onAddPropsToComponent({\n Component: InputAddressBox,\n onChange: handleOnChangeInput,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n case 'StepDescription':\n onAddPropsToComponent({\n Component: StepDescription,\n componentEnhanced,\n componentHasState: false,\n });\n break;\n case 'InfoLink':\n onAddPropsToComponent({\n Component: InfoLink,\n componentEnhanced,\n componentHasState: false,\n });\n break;\n case 'SignContract':\n onAddPropsToComponent({\n Component: SignContract,\n onChange: handleChangeCode,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n case 'InputCurrencyBox':\n onAddPropsToComponent({\n Component: InputCurrencyBox,\n onChange: handleOnChangeInputCurrency,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n\n case 'BooleanOptions':\n onAddPropsToComponent({\n Component: PickGroupButton,\n onChange: handleBooleanOnChange,\n componentState: state,\n componentEnhanced,\n setState,\n help,\n canRenderNestedComponents: true,\n });\n break;\n case 'PickGroupButton':\n onAddPropsToComponent({\n Component: PickGroupButton,\n onChange: handleBooleanOnChange,\n componentState: state,\n componentEnhanced,\n setState,\n help,\n canRenderNestedComponents: true,\n });\n break;\n\n case 'Document':\n onAddPropsToComponent({\n Component: Documents,\n onChange: handleOnChangeFile,\n componentState: state,\n componentEnhanced,\n onResetState: handleDeleteFile,\n setState,\n isLoading,\n });\n break;\n case 'SelectBox':\n // console.log('SelectBox', componentEnhanced.relatedData);\n onAddPropsToComponent({\n Component: SelectBox,\n onChange: handleOnChangeInput,\n componentState: state,\n hasOptionalProps: onCheckOptionalProps(\n componentEnhanced.relatedData,\n help,\n state\n ),\n componentEnhanced,\n setState,\n });\n break;\n case 'InputDate':\n onAddPropsToComponent({\n Component: InputDate,\n onChange: handleOnChangeDate,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n case 'PhoneInputBox':\n onAddPropsToComponent({\n Component: PhoneInputBox,\n onChange: handleOnChangePhoneInput,\n componentState: state,\n componentEnhanced,\n setState,\n });\n break;\n case 'EditInfo':\n onAddPropsToComponent({\n Component: EditInfo,\n onChange: getHandlerForEditInfoComponent(\n componentEnhanced?.componentEdit\n ),\n EditComponent: GetComponentFOrEditInfo(\n componentEnhanced?.componentEdit\n ),\n componentState: state,\n componentEnhanced,\n setState,\n canRenderNestedComponents: true,\n hasOptionalProps: onCheckOptionalProps(\n componentEnhanced.relatedData,\n help\n ),\n });\n break;\n case 'ButtonApp':\n onAddPropsToComponent({\n Component: ButtonApp,\n componentEnhanced,\n onClick: () => {},\n });\n break;\n case 'InputCheckBox':\n onAddPropsToComponent({\n Component: InputCheckBox,\n onChange: handleChangeCheckbox,\n componentEnhanced,\n componentState: state,\n setState,\n });\n break;\n\n default:\n return
Unsopported Component
;\n }\n\n return componentEnhanced;\n });\n};\n","import {appEndpointWithToken} from '../utils/axios';\n\nconst getMe = async () => {\n try {\n return await appEndpointWithToken().get('/me');\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default getMe;\n","import { useContext, useEffect, useState } from 'react';\nimport { Context } from '../Context';\nimport getMe from '../services/getMe';\nimport { useHistory } from 'react-router-dom';\n\nconst useGetMe = () => {\n const [me, setMe] = useState([]);\n const { onSignOut } = useContext(Context);\n const [loading, setLoading] = useState(false);\n const history = useHistory();\n useEffect(() => {\n setLoading(true);\n getMe()\n .then((res) => {\n setMe(res.data);\n setLoading(false);\n })\n .catch((err) => {\n console.log('getMe1: ', err);\n if (err.message === 'Unauthenticated.') {\n onSignOut();\n history.push('/');\n }\n setLoading(false);\n });\n }, []);\n\n return {\n me,\n setMe,\n loadingMe: loading,\n };\n};\n\nexport default useGetMe;\n","import { appEndpointWithFiles, appEndpointWithToken } from '../utils/axios';\n\nconst onSaveStep = async (obj, hasFiles) => {\n try {\n if (hasFiles) {\n const { data } = await appEndpointWithFiles().post('/save-step', obj);\n return data;\n }\n const { data } = await appEndpointWithToken().post('/save-step', obj);\n return data;\n } catch (error) {\n throw error;\n }\n};\n\nexport default onSaveStep;\n","import {Box, Typography} from '@material-ui/core';\nimport {useHistory} from 'react-router-dom';\nimport React, {useContext, useEffect, useMemo, useState} from 'react';\nimport {toast} from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport {getConfig} from '../../config/config';\nimport {setDefaultState} from '../../config/handlers';\nimport {Renderer} from '../../config/Renderer';\nimport {Context} from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst BankAccount = () => {\n const {me, loadingMe} = useGetMe();\n const [oldState, setOldState] = useState({});\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n const helpData = useGetHelpData(\n me?.user?.profile,\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_9?.name\n : me?.steps?.step_7?.name\n );\n const {setDesktopImg} = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n useEffect(() => {\n if (me) {\n if (\n me?.user?.profile === 'Persona Juridica' &&\n me?.steps?.step_9?.order === 9\n ) {\n setDefaultState(me?.steps?.step_9?.body, state, setState);\n return;\n }\n if (me?.steps?.step_7?.order === 7) {\n setDefaultState(me?.steps?.step_7?.body, state, setState);\n }\n }\n }, [me]);\n\n useEffect(() => {\n setOldState(state);\n }, [state]);\n\n const config = useMemo(() => {\n if (me) {\n const result = getConfig({\n state,\n setState,\n componentsFromServer:\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_9?.body\n : me?.steps?.step_7?.body,\n });\n\n if (oldState['field_168'] !== state['field_168']) {\n if (state['field_168'] === 'otras') {\n result.forEach((el) => {\n if (el.id === 73) {\n el.disable = false;\n el.value = ''\n state['field_73'] = '';\n }\n if (el.id === 74) {\n el.label = 'Número de cuenta bancaria'\n }\n })\n } else {\n result.forEach((el) => {\n if (el.id === 73) {\n el.disable = true;\n const value = el.options.find((option) => option.id === 147)?.value;\n el.value = value;\n state['field_73'] = value;\n }\n if (el.id === 74) {\n el.label = 'Digita tú número de depósito de bajo monto'\n }\n })\n }\n }\n return result;\n }\n }, [state, me]);\n\n\n const saveStep = () => {\n setLoading('pending');\n\n onSaveStep({...state, view: 'bank_account'})\n .then((data) => {\n setLoading('resolved');\n\n me.user.profile === 'Persona Natural'\n ? history.push('/unrelated_activities')\n : history.push('/submitted')\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key, index) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n if (!error) {\n toast.error(err);\n }\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n \n me.user.profile === 'Persona Natural'\n ? history.push('/financial_information')\n : history.push('/unrelated_activities')\n }\n steps={me?.steps}\n />\n\n \n \n \n saveStep()}\n />\n \n );\n};\n\nexport default BankAccount;","import { Box, CircularProgress, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst CompanyInformation = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const helpData = useGetHelpData(me?.user?.profile, me?.user?.profile === 'Persona Natural' ? me?.steps?.step_4?.name : me?.steps?.step_5?.name);\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n useEffect(() => {\n if (me) {\n if(me?.user?.profile === 'Persona Natural') {\n if (me?.steps?.step_4?.order === 4) {\n setDefaultState(me?.steps?.step_4?.body, state, setState, {\n isEdit: false,\n });\n }\n } else {\n if (me?.steps?.step_5?.order === 5) {\n setDefaultState(me?.steps?.step_5?.body, state, setState, {\n isEdit: false,\n });\n }\n }\n\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.user?.profile === 'Persona Natural' ? me?.steps?.step_4?.body : me?.steps?.step_5?.body,\n help: helpData,\n });\n }\n }, [state, me, helpData]);\n\n const saveStep = () => {\n setLoading('pending');\n onSaveStep({ ...state, view: 'company_information' })\n .then((data) => {\n setLoading('resolved');\n history.push('/financial_information');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n // console.log(error);\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n \n history.push('/documentation')}\n steps={me?.steps}\n />\n \n \n \n \n {/* setState({ ...state, isEdit: !state.isEdit })}\n /> */}\n {!state.isEdit && (\n \n )}\n \n );\n};\n\nexport default CompanyInformation;\n","import { appEndpointWithToken } from '../utils/axios';\n\nconst sendOTP = async () => {\n try {\n const res = await appEndpointWithToken().post('/send-otp');\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default sendOTP;\n","import { appEndpointWithToken } from '../utils/axios';\n\nconst sendEmailOTP = async () => {\n try {\n const res = await appEndpointWithToken().post('/email-send-otp');\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default sendEmailOTP;\n","import { appEndpointWithToken } from '../utils/axios';\n\nconst signContract = async (token) => {\n try {\n const { data } = await appEndpointWithToken().post('/verify-otp', token);\n return data;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default signContract;\n","import { Box, Typography, makeStyles } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport sendOTP from '../../services/sendOTP';\nimport sendEmailOTP from '../../services/sendEmailOTP';\nimport signContract from '../../services/signContract';\nimport {useCountdownTimer} from \"use-countdown-timer\";\n\nconst useStyles = makeStyles((theme) => ({\n text: {\n fontFamily: 'App-bold',\n textDecoration: 'underline',\n fontSize: 12,\n display: 'inline',\n },\n}));\n\nconst Contract = () => {\n const classes = useStyles();\n const {me, loadingMe} = useGetMe();\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n const [codeSent, setCodeSent] = useState(false);\n const history = useHistory();\n const helpData = useGetHelpData(\n me?.user?.profile,\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_10?.name\n : me?.steps?.step_9?.name\n );\n\n const {setDesktopImg} = useContext(Context);\n\n const [timer] = useState(1000 * 60)\n const [showCountdown, setShowCountdown] = useState(true)\n const { countdown, start, reset, pause, isRunning } = useCountdownTimer({\n timer,\n autostart: true,\n onExpire: () => {\n setActions((actions) => [...actions, 'Expire Callback']);\n console.log('onExpire');\n setShowCountdown(false);\n },\n onReset: () => {\n setActions((actions) => [...actions, 'Reset Callback']);\n console.log('onReset');\n },\n })\n const [actions, setActions] = useState([])\n\n const logAction = (message: string, action: () => void) => {\n setActions((actions) => [...actions, message])\n action()\n }\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n useEffect(() => {\n const onSendOtp = () => {\n if (codeSent) {\n return;\n }\n setCodeSent(true);\n setLoading('pending');\n sendOTP()\n .then((res) => {\n toast.success(`código de verificación enviado exitosamente`);\n setLoading('resolved');\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n if (me) {\n onSendOtp();\n }\n }, [me, codeSent]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer:\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_10?.body\n : me?.steps?.step_9?.body,\n });\n }\n }, [state, me]);\n\n const onSignContract = () => {\n const token = {token: state['field_85']};\n setLoading('pending');\n signContract(token)\n .then((res) => {\n // console.log('res', res);\n if (res.status) {\n history.push('/submitted');\n } else {\n toast.error(res.message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n }\n setLoading('resolved');\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n const onEmailOtp = () => {\n sendEmailOTP()\n .then((res) => {\n toast.success(`código de verificación enviado al correo exitosamente`);\n setLoading('resolved');\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n }\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n history.push('/bank_account')}\n steps={me?.steps}\n />\n \n \n \n Firma de contrato\n \n \n Te hemos enviado un código de verificación al celular{' '}\n \n {/* {me?.user?.phone?.replace(\n /(\\d{2})(\\d{3})(\\d{3})(\\d{4})/g,\n '$1 $2 $3 $4'\n )} */}\n {me?.user?.phone?.replace(/(\\d{3})(\\d{3})(\\d{4})/g, '$1 $2 $3')}\n {' '}\n {/*y al correo{' '}\n \n {me?.user?.email}\n */}\n \n\n \n\n
\n {showCountdown ?\n Se habilitará un nuevo codigo en: {countdown/1000} \n :\n
\n\n \n ¿No te llego el código de verificación al número celular?
\n \n Enviar código al Correo Electrónico\n \n
\n\n
\n }\n\n
\n\n\n\n\n\n\n\n\n\n \n Al introducir el código de verificación y dar click en “Firmar” se\n aceptan los términos y condiciones indicados{' '}\n \n aquí.\n \n \n {/* \n \n Ver contrato\n \n */}\n
\n
\n\n\n\n \n \n );\n};\n\nexport default Contract;\n","import { Box } from '@material-ui/core';\nimport { getConfig } from '../../config/config';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport useGetMe from '../../hooks/useGetMe';\nimport { Renderer } from '../../config/Renderer';\nimport { setDefaultState } from '../../config/handlers';\nimport ButtonApp from '../../Components/ButtonApp';\nimport { useHistory } from 'react-router-dom';\nimport onSaveStep from '../../services/saveStep';\nimport { toast } from 'react-toastify';\nimport LoadingStep from '../../Components/LoadingStep';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\n\nconst Documentation = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n const { desktop_img } = useGetHelpData(\n me?.user?.profile,\n me?.steps?.step_3?.name\n );\n\n const history = useHistory();\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (desktop_img) {\n setDesktopImg(desktop_img);\n }\n }, [desktop_img]);\n\n useEffect(() => {\n if (me) {\n if (me?.steps?.step_3?.order === 3) {\n setDefaultState(me?.steps?.step_3?.body, state, setState);\n }\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.steps?.step_3?.body,\n isLoading: loading === 'pending',\n });\n }\n }, [state, me, loading]);\n\n const saveStep = () => {\n const stateKeys = Object.keys(state);\n let counter = 0;\n let newFile = 0;\n stateKeys.forEach((key) => {\n if (state[key]?.['size']) {\n newFile = newFile + 1;\n }\n if (state[key]?.['original']) {\n counter = counter + 1;\n }\n });\n\n console.log(stateKeys, state, counter);\n\n if (counter === 0 && newFile === 0) {\n toast.error(\n 'Para que los cambios se guarden debe ajuntar un archivo.'\n );\n return;\n }\n\n if (counter === 1) {\n me.user.profile === 'Persona Natural'\n ? history.push('/company_information')\n : history.push('/legal_representative');\n return;\n }\n\n setLoading('pending');\n const imgData = new FormData();\n\n stateKeys.forEach((key) => {\n imgData.append(key, state[key]);\n });\n\n imgData.append('view', 'documentation');\n onSaveStep(imgData, true)\n .then((data) => {\n setLoading('resolved');\n me.user.profile === 'Persona Natural'\n ? history.push('/company_information')\n : history.push('/legal_representative');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n let message = '';\n\n for (const key of errorKeys) {\n message += `⋅ ${key} - ${err.response?.data?.errors[key][0]}\n `;\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n history.push('/selfie')}\n />\n \n \n \n saveStep()}\n />\n \n );\n};\n\nexport default Documentation;\n","import { Box, Typography } from '@material-ui/core';\nimport React from 'react';\n\nconst DescriptionItem = ({ step, description }) => {\n return (\n \n \n \n {step}\n \n \n {description}\n \n );\n};\n\nexport default DescriptionItem;\n","export default __webpack_public_path__ + \"static/media/front3.3d032fc8.png\";","export default __webpack_public_path__ + \"static/media/back3.3d869714.png\";","import { Box, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport ButtonApp from './ButtonApp';\nimport CloseIcon from '@material-ui/icons/Close';\nimport ImageUploading from 'react-images-uploading';\nimport frontPlaceHolder from '../assets/images/front3.png';\nimport backPlaceHolder from '../assets/images/back3.png';\nimport Webcam from 'react-webcam';\nimport Camera from 'react-html5-camera-photo';\nimport 'react-html5-camera-photo/build/css/index.css';\n\nconst useStyles = makeStyles((theme) => ({\n title: {\n fontSize: 16,\n fontFamily: 'App-semi-bold',\n color: '#fff',\n // flexGrow: 1,\n width: 250,\n },\n image: {\n width: '100%',\n height: 240,\n objectFit: 'contain',\n },\n}));\n\nconst Upload = ({\n image,\n setImage,\n maxFiles = 1,\n callback,\n isWebCamActive = false,\n includeMobileCam = false,\n setWebcamPic,\n onClose,\n description,\n includePlaholder,\n inputCapture\n}) => {\n const classes = useStyles();\n const webcamRef = React.useRef(null);\n\n const onChange = (image) => {\n setImage(image[0]);\n\n if (callback) {\n callback();\n }\n };\n\n const capture = React.useCallback(() => {\n const imageSrc = webcamRef.current.getScreenshot();\n setWebcamPic(imageSrc);\n callback();\n }, [webcamRef]);\n\n const onCapture = (dataUri) => {\n setWebcamPic(dataUri);\n callback();\n };\n\n if (image) {\n return <>;\n }\n\n return (\n \n \n\n \n {isWebCamActive && (\n <>\n \n \n {description}\n \n \n )}\n\n {includeMobileCam && (\n {\n onCapture(dataUri);\n }}\n idealFacingMode=\"user\"\n />\n )}\n\n {includePlaholder === 'back' && (\n \"404\"\n )}\n {includePlaholder === 'front' && (\n \"404\"\n )}\n \n\n {includeMobileCam ? (\n <>\n ) : (\n \n {({\n imageList,\n onImageUpload,\n onImageRemoveAll,\n onImageUpdate,\n onImageRemove,\n isDragging,\n dragProps,\n }) => (\n \n )}\n \n )}\n \n );\n};\n\nexport default Upload;\n","import { appEndpointWithFiles } from '../utils/axios';\n\nconst uploadDocumentId = async (frontImageId, backImageId) => {\n const documentsIdData = new FormData();\n documentsIdData.append('front_image', frontImageId);\n documentsIdData.append('back_image', backImageId);\n\n try {\n const res = await appEndpointWithFiles().post(\n '/save-document-id',\n documentsIdData\n );\n return res;\n } catch (error) {\n throw error;\n }\n};\n\nexport default uploadDocumentId;\n","import { Box, makeStyles, Typography } from '@material-ui/core';\nimport React, { useContext, useEffect, useState } from 'react';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport DescriptionItem from '../../Components/DescriptionItem';\nimport ButtonApp from '../../Components/ButtonApp';\nimport Upload from '../../Components/Upload';\nimport uploadDocumentId from '../../services/uploadDocumentId';\nimport { toast } from 'react-toastify';\nimport useGetMe from '../../hooks/useGetMe';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport LoadingStep from '../../Components/LoadingStep';\nimport { Context } from '../../Context';\nimport { useHistory } from 'react-router-dom';\n\nconst useStyles = makeStyles((theme) => ({\n text: {\n marginTop: 36,\n fontSize: 14,\n fontFamily: 'App-semi-bold',\n marginBottom: 24,\n },\n\n documentImg: {\n width: '100%',\n margin: '0 auto',\n height: 152,\n objectFit: 'contain',\n display: 'flex',\n },\n\n description: {\n fontSize: 12,\n marginTop: 20,\n padding: '0 40px',\n },\n}));\n\nconst DocumentInstructions = () => {\n const classes = useStyles();\n const history = useHistory();\n const [documentStep, setDocumentStep] = useState('init');\n const [frontImage, setFrontImage] = useState(null);\n const [backImage, setBackImage] = useState(null);\n const [status, setStatus] = useState('idle');\n const { me, loadingMe } = useGetMe();\n const { document_id, desktop_img } = useGetHelpData(\n me?.user?.profile,\n me?.steps?.step_1?.name\n );\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (desktop_img) {\n setDesktopImg(desktop_img);\n }\n }, [desktop_img]);\n\n const onConfirmImgs = () => {\n setStatus('pending');\n uploadDocumentId(frontImage.file, backImage.file)\n .then((res) => {\n setStatus('resolved');\n\n toast.success('Los documentos se han guardado satisfactoriamente.');\n history.push('/selfie');\n })\n .catch((err) => {\n setStatus('rejected');\n toast.error(err.response.data.message);\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n const renderDocumentSteps = () => {\n if (documentStep === 'init') {\n return (\n <>\n \n \n {document_id?.title}\n \n\n \n\n \n {document_id?.text}\n \n\n \n {document_id?.list?.map((step, index) => (\n \n ))}\n \n \n setDocumentStep('front-image')}\n />\n \n );\n }\n\n if (documentStep === 'front-image') {\n return (\n \n \n frontImage\n ? setDocumentStep('front-image-preview')\n : setDocumentStep('init')\n }\n image={frontImage}\n setImage={setFrontImage}\n callback={() => {\n // if (backImage) {\n // setDocumentStep('documents-preview');\n // } else {\n // setDocumentStep('back-image');\n // }\n setDocumentStep('front-image-preview');\n }}\n includePlaholder=\"front\"\n description=\"Escanee la parte delantera de su identificación\"\n inputCapture={'environment'}\n />\n\n \n Escanee la parte delantera de su identificación\n \n \n );\n }\n\n if (documentStep === 'front-image-preview') {\n return (\n <>\n \n {frontImage && (\n \n \n \n )}\n {\n setDocumentStep('front-image');\n setFrontImage(null);\n }}\n />\n \n {\n setDocumentStep('back-image');\n }}\n />\n \n );\n }\n if (documentStep === 'back-image') {\n return (\n \n setDocumentStep('front-image-preview')}\n image={backImage}\n setImage={setBackImage}\n callback={() => setDocumentStep('documents-preview')}\n includePlaholder=\"back\"\n description=\"Escanee la parte posterior de su identificación\"\n inputCapture={'environment'}\n />\n \n Escanea la parte posterior de tu identificación\n \n\n {frontImage && (\n \n \n \n )}\n {backImage && (\n \n \n \n )}\n \n );\n }\n if (documentStep === 'documents-preview') {\n return (\n <>\n \n \n Escanee la parte posterior de su identificación\n \n\n \n \n \n {\n setDocumentStep('front-image');\n setFrontImage(null);\n }}\n />\n\n \n \n \n {\n setDocumentStep('back-image');\n setBackImage(null);\n }}\n />\n \n \n \n );\n }\n };\n\n return (\n \n \n {renderDocumentSteps()}\n \n );\n};\n\nexport default DocumentInstructions;\n","import { Box, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst FinancialInformation = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n const helpData = useGetHelpData(me?.user?.profile, me?.user?.profile === 'Persona Natural' ? me?.steps?.step_5?.name : me?.steps?.step_6?.name);\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n useEffect(() => {\n if (me) {\n if (me?.user?.profile === 'Persona Natural') {\n if (me?.steps?.step_5?.order === 5) {\n setDefaultState(me?.steps?.step_5?.body, state, setState, {\n isEdit: false,\n });\n }\n } else {\n if (me?.steps?.step_6?.order === 6) {\n setDefaultState(me?.steps?.step_6?.body, state, setState, {\n isEdit: false,\n });\n }\n }\n\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.user?.profile === 'Persona Natural' ? me?.steps?.step_5?.body : me?.steps?.step_6?.body,\n });\n }\n }, [state, me]);\n\n const saveStep = () => {\n setLoading('pending');\n console.log(state);\n const stateKeys = Object.keys(state);\n console.log(stateKeys);\n const stateFormatted = {};\n stateKeys.forEach((key) => {\n if (typeof state[key] === 'string' && state[key].includes('.')) {\n if (!isNaN(parseInt(state[key]?.split('.').join('')))) {\n stateFormatted[key] = parseInt(state[key].split('.').join(''));\n } else {\n stateFormatted[key] = state[key];\n }\n } else if (typeof state[key] === 'string') {\n stateFormatted[key] = state[key];\n }\n });\n console.log(stateFormatted);\n onSaveStep({ ...stateFormatted, view: 'financial_information' })\n .then((data) => {\n setLoading('resolved');\n if (me.user.profile === 'Persona Natural') {\n history.push('/bank_account');\n } else {\n history.push('/partners_and_shareholders');\n }\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n \n history.push('/company_information')}\n steps={me?.steps}\n />\n \n \n \n \n {/* setState({ ...state, isEdit: !state.isEdit })}\n /> */}\n {!state.isEdit && (\n saveStep()}\n loading={loading === 'pending'}\n />\n )}\n \n );\n};\n\nexport default FinancialInformation;\n","export default __webpack_public_path__ + \"static/media/mark.725710de.png\";","export default __webpack_public_path__ + \"static/media/logo.47132099.png\";","import { Box, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport InputBox from './InputBox';\nimport RedeemIcon from '@material-ui/icons/Redeem';\n\nconst useStyles = makeStyles(() => ({\n refferText: {\n fontSize: 12,\n color: '#6F7782',\n fontFamily: 'App-font-medium',\n textDecoration: 'underline',\n },\n}));\nconst RefferCode = ({\n handleRefferCode,\n showRefferCode,\n refferCode,\n onChangeRefferCode,\n}) => {\n const classes = useStyles();\n return (\n <>\n \n \n \n Si tiene un código de referido, ingréselo aquí.\n \n \n\n {showRefferCode && (\n \n \n Ingresa el código para redimirlo\n \n\n \n \n )}\n \n );\n};\n\nexport default RefferCode;\n","import React, { useCallback, useEffect, useState } from 'react'\n\nexport const useDotButton = (emblaApi) => {\n const [selectedIndex, setSelectedIndex] = useState(0)\n const [scrollSnaps, setScrollSnaps] = useState([])\n\n const onDotButtonClick = useCallback(\n (index) => {\n if (!emblaApi) return\n emblaApi.scrollTo(index)\n },\n [emblaApi]\n )\n\n const onInit = useCallback((emblaApi) => {\n setScrollSnaps(emblaApi.scrollSnapList())\n }, [])\n\n const onSelect = useCallback((emblaApi) => {\n setSelectedIndex(emblaApi.selectedScrollSnap())\n }, [])\n\n useEffect(() => {\n if (!emblaApi) return\n\n onInit(emblaApi)\n onSelect(emblaApi)\n emblaApi.on('reInit', onInit).on('reInit', onSelect).on('select', onSelect)\n }, [emblaApi, onInit, onSelect])\n\n return {\n selectedIndex,\n scrollSnaps,\n onDotButtonClick\n }\n}\n\nexport const DotButton = (props) => {\n const { children, ...restProps } = props\n\n return (\n \n )\n}\n","export default __webpack_public_path__ + \"static/media/01-700X1000_Mod.a0c40edd.png\";","export default __webpack_public_path__ + \"static/media/02-700X1000_Mod.241597c6.png\";","export default __webpack_public_path__ + \"static/media/03-700X1000_Mod.a5b21177.png\";","import {\n Box,\n Button,\n makeStyles,\n useMediaQuery,\n} from '@material-ui/core';\nimport React from 'react';\n// import greenMark from '../../assets/images/greenMark.png';\nimport useEmblaCarousel from 'embla-carousel-react'\nimport Autoplay from 'embla-carousel-autoplay'\nimport {DotButton, useDotButton} from './CarouselDots'\nimport './embla.css'\n\nimport img01 from '../../assets/images/slider/01-700X1000_Mod.png';\nimport img02 from '../../assets/images/slider/02-700X1000_Mod.png';\nimport img03 from '../../assets/images/slider/03-700X1000_Mod.png';\n\nconst slides = Array.from(Array(5).keys())\n\nconst images = [\n img01,\n img02,\n img03,\n ]\n\nconst useStyles = makeStyles(() => ({\n img: {\n width: '100%',\n maxHeight: 300,\n objectFit: 'contain',\n position: 'absolute',\n bottom: 0,\n right: 0,\n objectPosition: 'right',\n zIndex: 0,\n },\n lowEnd: {\n width: '100%',\n maxHeight: 200,\n height: 200,\n objectFit: 'contain',\n position: 'absolute',\n bottom: 0,\n right: 0,\n objectPosition: 'right',\n zIndex: 0,\n },\n\n text: {\n fontSize: 30,\n color: '#fff',\n fontFamily: 'App-bold',\n lineHeight: 1,\n },\n\n description: {\n fontSize: 14,\n color: '#fff',\n fontFamily: 'App-regular',\n marginBottom: 20,\n },\n step: {\n fontSize: 14,\n color: '#fff',\n fontFamily: 'App-semi-bold',\n zIndex: 1,\n },\n\n button: {\n textTransform: 'capitalize',\n color: '#5d62f1',\n background: '#fff !important',\n boxShadow: '0 3px 6px #66788033',\n borderRadius: 120,\n width: 250,\n '& .MuiButton-label': {\n fontSize: 13,\n fontFamily: 'App-bold',\n letterSpacing: '5px',\n },\n height: 42,\n },\n}));\n\nconst steps = [\n 'Verificamos su identidad.',\n 'Actualiza la información de su comercio.',\n 'Elige la cuenta en la que quiere recibir su plata.',\n 'firma los términos y condiciones',\n];\n\nexport default function Splash({ setShowSplash }) {\n const [emblaRef, emblaApi] = useEmblaCarousel({loop: true}, [Autoplay()])\n const { selectedIndex, scrollSnaps, onDotButtonClick } =\n useDotButton(emblaApi)\n useMediaQuery('(max-height: 568px)');\n useMediaQuery('(min-width: 768px)');\n const classes = useStyles();\n\n return (\n \n \n
\n
\n
\n {images.map((img) => (\n
\n
\n
\n
\n
\n ))}\n
\n
\n
\n {scrollSnaps.map((_, index) => (\n onDotButtonClick(index)}\n className={'embla__dot'.concat(\n index === selectedIndex ? ' embla__dot--selected' : ''\n )}\n />\n ))}\n
\n
\n
\n
\n \n setShowSplash(false)}\n >\n CONTINUAR\n \n \n \n \n );\n}\n","import {Box, Button, makeStyles, Typography} from '@material-ui/core';\nimport React, {useContext, useEffect, useState} from 'react';\nimport {firebaseAnalytics} from '../../firebase';\nimport mark from '../../assets/images/mark.png';\nimport logo from '../../assets/images/logo.png';\nimport SelectBox from '../../Components/SelectBox';\nimport ButtonApp from '../../Components/ButtonApp';\nimport RefferCode from '../../Components/RefferCode';\nimport useInput from '../../hooks/useInput';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport {Context} from '../../Context';\nimport Splash from './Splash';\nimport {useHistory} from 'react-router';\n\nconst useStyles = makeStyles(() => ({\n img: {\n width: '100%',\n maxHeight: 330,\n objectFit: 'cover',\n },\n\n logo: {\n width: 200,\n height: 70,\n objectFit: 'contain',\n },\n refferText: {\n fontSize: 12,\n color: '#6F7782',\n fontFamily: 'App-font-medium',\n },\n button: {\n textTransform: 'capitalize',\n color: '#fff',\n boxShadow: 'unset',\n borderRadius: 120,\n width: '100%',\n '& .MuiButton-label': {\n fontSize: 14,\n fontFamily: 'App-semi-bold',\n },\n marginTop: 40,\n height: 42,\n marginBottom: 20,\n },\n}));\n\nconst Home = () => {\n const classes = useStyles();\n const [showRefferCode, setShowRefferCode] = useState(false);\n const [accountType, setAccountType] = useState(null);\n const [showSplash, setShowSplash] = useState(true);\n const refferCode = useInput('');\n const {setDesktopImg, isClaro, setIsHome} = useContext(Context);\n const helpData = useGetHelpData(null, null, true);\n const history = useHistory();\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n useEffect(() => {\n setIsHome(true);\n firebaseAnalytics.logEvent('home-page');\n }, []);\n\n const handleContinue = () => {\n if (accountType) {\n history.push('/signup', {\n accountType,\n referral_code: refferCode.value,\n });\n }\n };\n\n const hideSplash = () => {\n setShowSplash(false);\n setIsHome(false);\n }\n\n if (showSplash) {\n return ;\n }\n\n return (\n \n \"mark\"\n \n \"logo\"\n \n \n \n Cuéntenos con qué perfil de negocio quiere empezar a cobrar con\n tarjeta.\n \n\n setAccountType(e.target.value)}\n />\n\n setShowRefferCode(!showRefferCode)}\n showRefferCode={showRefferCode}\n refferCode={refferCode.value}\n onChangeRefferCode={refferCode.onChange}\n />\n\n \n \n history.push('/otp')}>\n Retomar registro\n \n \n \n \n );\n};\n\nexport default Home;\n","import { Box, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst LegalRepresentative = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const helpData = useGetHelpData(me?.user?.profile, me?.steps?.step_4?.name);\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n useEffect(() => {\n if (me) {\n if (me?.steps?.step_4?.order === 4) {\n setDefaultState(me?.steps?.step_4?.body, state, setState, {\n isEdit: false,\n });\n }\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.steps?.step_4?.body,\n help: helpData,\n });\n }\n }, [state, me, helpData]);\n\n // console.log('Aqui: ', helpData, config);\n\n const saveStep = () => {\n setLoading('pending');\n onSaveStep({ ...state, view: 'legal_representative' })\n .then((data) => {\n setLoading('resolved');\n history.push('/company_information');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n \n history.push('/bank_account')}\n steps={me?.steps}\n />\n \n \n \n \n\n {!state.isEdit && (\n \n )}\n \n );\n};\n\nexport default LegalRepresentative;\n","import { appEndpoint } from '../utils/axios';\n\nconst loginPhoneOtp = async (phone) => {\n const dataRegisterPhoneOtp = {\n phone\n }\n try {\n const res = await appEndpoint().post('/login-phone-otp', dataRegisterPhoneOtp);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default loginPhoneOtp;","import { Box, Typography } from '@material-ui/core';\nimport React, { useState } from 'react';\nimport ButtonApp from '../../Components/ButtonApp';\nimport PageHeader from '../../Components/PageHeader';\nimport PhoneInputBox from '../../Components/PhoneInput';\nimport firebase from 'firebase';\nimport {signInWithEmail, signInWithPhoneNumber} from '../../firebase';\nimport { useHistory } from 'react-router-dom';\nimport InputBox from \"../../Components/InputBox\";\nimport useInput from \"../../hooks/useInput\";\nimport sendEmailOTP from \"../../services/sendEmailOTP\";\nimport {toast} from \"react-toastify\";\nimport validateUser from \"../../services/validateUser\";\nimport registerPhoneOtp from \"../../services/registerPhoneOtp\";\nimport loginPhoneOtp from \"../../services/loginPhoneOtp\";\n\nconst Otp = () => {\n const [phoneNumber, setPhoneNumber] = useState('');\n const [isSubmitting, setIsSubmitting] = useState(false);\n const userEmail = useInput('', isSubmitting);\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n let user = {name: ''};\n const onSendVerificationMessage = async () => {\n\n try {\n user = {\n phoneNumber,\n companyName: '',\n documentId: '',\n documentType: '',\n nit: '',\n profile: '',\n ciiu: '',\n email: userEmail.value,\n terms: '',\n referral_code: '',\n isSignup: false,\n };\n\n localStorage.setItem('user-data', JSON.stringify(user));\n\n await signInPhone();\n\n } catch (error) {\n // console.log(error);\n }\n };\n\n const signInPhone = async () => {\n\n loginPhoneOtp(phoneNumber.slice(2))\n .then((res) => {\n toast.success(`Código de verificación enviado al celular`);\n history.push('/verify?action=signIn', {\n phoneNumber,\n isSignup: false,\n });\n })\n .catch((err) => {\n let message = err;\n if ('errors' in err) {\n message = Object.keys(err.errors)\n .map((key) => `${err.errors[key]}`)\n .join('\\n');\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n });\n\n }\n\n const signInEmail = async () => {\n const appVerifier = new firebase.auth.RecaptchaVerifier('recaptcha-otp', {\n size: 'invisible',\n });\n\n const actionCodeSettings = {\n // URL you want to redirect back to. The domain (www.example.com) for this\n // URL must be in the authorized domains list in the Firebase Console.\n // url: 'https://unete.paymovil.co/verify-email',\n url: process.env.REACT_APP_VERIFY_EMAIL_URL,\n // This must be true.\n handleCodeInApp: true\n };\n\n try {\n await signInWithEmail(\n user.email,\n actionCodeSettings\n );\n toast.success(`Se ha enviado un link al correo electrónico para iniciar sesión`, {\n position: 'top-right',\n autoClose: 6000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n } catch (error) {\n // console.log(error);\n }\n }\n\n\n return (\n \n
\n history.push('/')} />\n\n \n \n Ingresa tu número de teléfono y correo electrónico\n \n \n Por favor ingresa tu número de teléfono y correo electrónico registrados previamente para reanudar el proceso de\n vinculación.\n \n \n\n \n \n \n );\n};\n\nexport default Otp;\n","import { Box, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst PartnersAndShareholders = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n const helpData = useGetHelpData(me?.user?.profile, me?.steps?.step_7?.name);\n const history = useHistory();\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n useEffect(() => {\n if (me) {\n if (me?.steps?.step_7?.order === 7) {\n setDefaultState(me?.steps?.step_7?.body, state, setState);\n }\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.steps?.step_7?.body,\n help: helpData,\n });\n }\n }, [state, me]);\n\n // console.log('Aqui: ', helpData, config);\n\n\n const saveStep = () => {\n setLoading('pending');\n const form = new FormData();\n const stateKeys = Object.keys(state);\n stateKeys.forEach((key) => {\n form.append(key, state[key]);\n });\n form.append('view', 'partners_and_shareholders');\n onSaveStep(form)\n .then((data) => {\n setLoading('resolved');\n history.push('/unrelated_activities');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key, index) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n history.push('/financial_information')}\n steps={me?.steps}\n />\n \n \n saveStep()}\n />\n \n \n );\n};\n\nexport default PartnersAndShareholders;\n","import { appEndpointWithFiles } from '../utils/axios';\n\nconst uploadSelfie = async (selfie) => {\n const selfieData = new FormData();\n selfieData.append('selfie', selfie);\n\n try {\n const res = await appEndpointWithFiles().post('/save-selfie', selfieData);\n return res;\n } catch (error) {\n throw error;\n }\n};\n\nexport default uploadSelfie;\n","import { Box, makeStyles, Typography, useMediaQuery } from '@material-ui/core';\nimport React, { useContext, useEffect, useRef, useState } from 'react';\nimport ProgressHeader from '../../Components/ProgressHeader';\n// import selfieImg from '../../assets/images/selfie.png';\n// import Webcam from 'webcam-easy';\nimport DescriptionItem from '../../Components/DescriptionItem';\nimport ButtonApp from '../../Components/ButtonApp';\nimport Upload from '../../Components/Upload';\nimport uploadSelfie from '../../services/uploadSelfie';\nimport { toast } from 'react-toastify';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport { useHistory } from 'react-router-dom';\nimport useGetMe from '../../hooks/useGetMe';\nimport { dataURLtoFile } from '../../utils/utils';\nimport LoadingStep from '../../Components/LoadingStep';\nimport { Context } from '../../Context';\nimport Webcam from 'react-webcam';\n\nconst useStyles = makeStyles((theme) => ({\n text: {\n marginTop: 36,\n fontSize: 14,\n fontFamily: 'App-semi-bold',\n marginBottom: 24,\n },\n\n selfieImg: {\n width: 234,\n margin: '0 auto',\n height: 152,\n objectFit: 'cover',\n display: 'flex',\n },\n\n description: {\n fontSize: 12,\n marginTop: 32,\n padding: '0 40px',\n },\n}));\n\nconst Selfie = () => {\n const classes = useStyles();\n const [selfieStep, setSelfieStep] = useState('init');\n const [selfie, setSelfie] = useState(null);\n const [status, setStatus] = useState('idle');\n const { me, loadingMe } = useGetMe();\n const { selfie: selfieHelpData, desktop_img } = useGetHelpData(\n me?.user?.profile,\n me?.steps?.step_2?.name\n );\n const history = useHistory();\n const [webcamPic, setWebcamPic] = useState(null);\n const desktop = useMediaQuery('(min-width: 1300px)');\n\n const [hasCamera, setHasCamera] = useState(false);\n const { setDesktopImg } = useContext(Context);\n\n useEffect(() => {\n navigator.mediaDevices\n .getUserMedia({ audio: false, video: true })\n .then(setHasCamera(true))\n .catch((err) => console.log(err));\n }, []);\n\n useEffect(() => {\n if (desktop_img) {\n setDesktopImg(desktop_img);\n }\n }, [desktop_img]);\n\n useEffect(() => {\n if (webcamPic) {\n const file = dataURLtoFile(webcamPic, 'webcam-img');\n setSelfie({ file, data_url: webcamPic });\n }\n }, [webcamPic]);\n\n const onUploadSelfie = () => {\n setStatus('pending');\n uploadSelfie(selfie.file)\n .then((res) => {\n toast.success(res.data.message);\n history.push('/documentation');\n setStatus('resolved');\n })\n .catch((err) => {\n toast.error(err.response.data.message);\n setStatus('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n const renderSelfieState = () => {\n if (selfieStep === 'init') {\n return (\n <>\n \n \n {selfieHelpData?.title}\n \n\n \n\n \n {selfieHelpData?.text}\n \n\n \n {selfieHelpData?.list?.map((step, index) => (\n \n ))}\n \n \n setSelfieStep('selfie-image')}\n />\n \n );\n }\n if (selfieStep === 'selfie-image') {\n return (\n <>\n \n setSelfieStep('selfie-preview')}\n onClose={() => setSelfieStep('init')}\n description=\" Prepárate para la selfie!\"\n inputCapture={'user'}\n />\n \n Prepárate para la selfie!\n \n \n \n );\n }\n if (selfieStep === 'selfie-preview') {\n return (\n <>\n \n \n Esta es tu selfie!\n \n \n \n \n \n {\n setSelfieStep('selfie-image');\n setSelfie(null);\n }}\n />\n \n \n );\n }\n };\n\n return (\n \n history.push('/document_id')}\n />\n\n {renderSelfieState()}\n \n );\n};\n\nexport default Selfie;\n","import { Box } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst ShareCertification = () => {\n const { me, loadingMe } = useGetMe();\n const [state, setState] = useState({});\n const [loading, setLoading] = useState('idle');\n\n const history = useHistory();\n\n useEffect(() => {\n if (me) {\n if (me?.steps?.step_8?.order === 8) {\n setDefaultState(me?.steps?.step_8?.body, state, setState);\n }\n }\n }, [me]);\n\n const saveStep = () => {\n setLoading('pending');\n const stateKeys = Object.keys(state);\n const imgData = new FormData();\n\n stateKeys.forEach((key) => {\n imgData.append(key, state[key]);\n });\n\n imgData.append('view', 'share_certification');\n onSaveStep(imgData, true)\n .then((data) => {\n setLoading('resolved');\n history.push('/unrelated_activities');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n let message = '';\n\n for (const key of errorKeys) {\n message += `⋅ ${key} - ${err.response?.data?.errors[key][0]}\n `;\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.steps?.step_8?.body,\n isLoading: loading === 'pending',\n });\n }\n }, [state, me, loading]);\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n history.push('/partners_and_shareholders')}\n steps={me?.steps}\n />\n \n \n \n saveStep()}\n />\n \n );\n};\n\nexport default ShareCertification;\n","import { Box, Typography } from '@material-ui/core';\nimport React, { useContext, useEffect, useState } from 'react';\nimport ProgressHeader from '../Components/ProgressHeader';\nimport useGetMe from '../hooks/useGetMe';\nimport CheckCircleOutlineIcon from '@material-ui/icons/CheckCircleOutline';\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\nimport LoadingStep from '../Components/LoadingStep';\nimport ButtonApp from '../Components/ButtonApp';\nimport { Context } from '../Context';\nimport { useHistory } from 'react-router-dom';\nimport useGetHelpData from '../hooks/useGetHelpData';\n\nconst SuccessScreen = () => {\n const {me, loadingMe} = useGetMe();\n const {onSignOut, setDesktopImg} = useContext(Context);\n const [loading, setLoading] = useState('idle');\n const helpData = useGetHelpData(\n me?.user?.profile,\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_11?.name\n : me?.steps?.step_10?.name\n );\n const history = useHistory();\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n const success =\n me?.user?.profile === 'Persona Juridica'\n ? me?.steps?.step_11\n : me?.steps?.step_10;\n\n const renderIcon = (icon) => {\n switch (icon) {\n case 'success':\n return (\n \n );\n case 'error':\n return (\n \n );\n\n default:\n break;\n }\n };\n\n const onFinish = async () => {\n setLoading('pending');\n try {\n setTimeout(() => {\n onSignOut();\n localStorage.clear();\n history.push('/');\n setLoading('resolved');\n }, 1500);\n } catch (error) {\n setLoading('rejected');\n }\n };\n\n if (loadingMe) {\n return ;\n }\n\n\n return (\n \n \n \n \n {success?.title}\n \n {renderIcon(success?.icon)}\n \n {success?.value}\n \n \n \n \n );\n};\n\nexport default SuccessScreen;\n","import {appEndpoint} from '../utils/axios';\n\nconst registerUser = async (\n profile,\n first_name,\n second_name,\n first_last_name,\n second_last_name,\n companyName,\n documentId,\n expedition_date,\n nit,\n ciiu,\n refferCode,\n phone,\n email,\n terms,\n sign_in_type,\n referral_code,\n document_type,\n otp,\n isClaro\n) => {\n const signupKeys = {\n ciiu,\n first_name,\n second_name,\n first_last_name,\n second_last_name,\n expedition_date,\n phone,\n email,\n terms,\n profile,\n referral_code,\n sign_in_type,\n otp,\n is_claro_ref: isClaro ? 1 : 0\n };\n\n if (profile === 'natural') {\n signupKeys.document_id = documentId;\n signupKeys.document_type = document_type;\n }\n\n if (profile === 'legal') {\n signupKeys.company_name = companyName;\n signupKeys.nit = nit;\n }\n\n try {\n const res = await appEndpoint().post('/register', signupKeys);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default registerUser;\n","import { appEndpoint } from '../utils/axios';\n\nconst registerEmailOtp = async (email) => {\n const dataRegisterEmailOtp = {\n email\n }\n try {\n const res = await appEndpoint().post('/register-email-otp', dataRegisterEmailOtp);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default registerEmailOtp;","import { appEndpoint } from '../utils/axios';\n\nconst loginOtp = async (phone, otp) => {\n const dataLoginOtp = {\n phone,\n otp\n }\n try {\n const res = await appEndpoint().post('/login', dataLoginOtp);\n return res;\n } catch (error) {\n throw error.response.data;\n }\n};\n\nexport default loginOtp;","import { Box, makeStyles, Typography } from '@material-ui/core';\n\nimport React, { useContext, useState } from 'react';\nimport ReactCodeInput from 'react-code-input';\nimport ButtonApp from '../../Components/ButtonApp';\nimport PageHeader from '../../Components/PageHeader';\nimport { toast } from 'react-toastify';\nimport registerUser from '../../services/RegisterUser';\nimport getMe from '../../services/getMe';\nimport { Context } from '../../Context';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport registerPhoneOtp from \"../../services/registerPhoneOtp\";\nimport registerEmailOtp from \"../../services/registerEmailOtp\";\nimport loginPhoneOtp from \"../../services/loginPhoneOtp\";\nimport loginOtp from \"../../services/login\";\n\nimport { useCountdownTimer } from 'use-countdown-timer'\n\n\nconst useStyles = makeStyles((theme) => ({\n container: {\n padding: 25,\n flexDirection: 'column',\n display: 'flex',\n minHeight: '100vh',\n },\n inputCode: {},\n}));\n\nconst inputStyle = {\n background: '#6F778205',\n border: '1px solid #6F778240',\n height: 44,\n width: 44,\n borderRadius: 8,\n fontFamily: 'App-semi-bold',\n fontSize: 20,\n color: '#273240',\n outline: 'none',\n textAlign: 'center',\n};\n\nconst VerifyPhone = () => {\n const classes = useStyles();\n const [code, setCode] = useState('');\n const location = useLocation();\n const [status, setStatus] = useState('idle');\n const {setAuth, setFormCompleted, setCheckCompletedStep, isClaro} =\n useContext(Context);\n const history = useHistory();\n let userData;\n let pageAction = (new URLSearchParams(window.location.search)).get(\"action\");\n const [actions, setActions] = useState([])\n const [timer] = useState(1000 * 60)\n\n const [showCountdown, setShowCountdown] = useState(true)\n const {countdown, start, reset, pause, isRunning} = useCountdownTimer({\n timer,\n autostart: true,\n onExpire: () => {\n setActions((actions) => [...actions, 'Expire Callback']);\n console.log('onExpire');\n setShowCountdown(false);\n },\n onReset: () => {\n setActions((actions) => [...actions, 'Reset Callback']);\n console.log('onReset');\n },\n })\n\n\n const logAction = (message, action) => {\n setActions((actions) => [...actions, message])\n action()\n }\n\n userData = JSON.parse(localStorage.getItem('user-data'));\n\n const {\n phoneNumber,\n email,\n companyName,\n nit,\n profile,\n first_name,\n second_name,\n first_last_name,\n second_last_name,\n documentId,\n expedition_date,\n referral_code,\n ciiu,\n terms,\n isSignup,\n documentType,\n } = userData;\n\n /*const setCodeData = (event) => {\n code = event;\n console.log('setCodeData', code);\n }*/\n const onResendVerificationCode = async () => {\n //resetCountDown = true;\n\n if (pageAction == 'signIn') {\n loginPhoneOtp(phoneNumber.slice(2))\n .then((res) => {\n toast.success(`Código de verificación enviado al celular exitosamente`);\n\n logAction('Start', start);\n setShowCountdown(true);\n\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n });\n\n\n } else {\n registerPhoneOtp(phoneNumber.slice(2))\n .then((res) => {\n toast.success(`Código de verificación enviado al celular exitosamente`);\n\n logAction('Start', start);\n setShowCountdown(true);\n\n })\n .catch((err) => {\n toast.error(err, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n });\n }\n };\n\n const onSendVerificationCodeEmail = async () => {\n\n registerEmailOtp(email)\n .then((res) => {\n console.log(res);\n toast.success(`Su codigo de verificación se envio satisfactoriamente al correo`, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n\n })\n .catch((err) => {\n console.log(err);\n toast.error(err.message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n });\n };\n\n const onConfirmCode = () => {\n setStatus('pending');\n\n console.log('onConfirmCode', code);\n\n let otp = code;\n if (isSignup) {\n registerUser(\n profile,\n first_name,\n second_name,\n first_last_name,\n second_last_name,\n companyName,\n documentId,\n expedition_date,\n nit,\n ciiu,\n null,\n phoneNumber.slice(2),\n email,\n terms,\n 'phone',\n referral_code,\n documentType,\n otp,\n isClaro\n )\n .then((res) => {\n console.log(res);\n toast.success(`El usuario se ha creado satisfactoriamente`, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setAuth(true);\n\n sessionStorage.setItem('pay-mobile-token', res.data.token.token_type + ' ' + res.data.token.access_token);\n //sessionStorage.setItem('pay-mobile-refreshToken', user.refreshToken);\n\n history.push('/document_id');\n setCheckCompletedStep(false);\n }).catch((err) => {\n const errorKeys = Object.keys(err?.errors);\n\n let message = '';\n\n for (const key of errorKeys) {\n message += `⋅ ${key} - ${err?.errors[key]}\n `;\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n //onSignOut();\n setStatus('rejected');\n });\n } else {\n loginOtp(phoneNumber.slice(2), otp)\n .then((res) => {\n console.log(res);\n\n sessionStorage.setItem('pay-mobile-token', res.data.token.token_type + ' ' + res.data.token.access_token);\n\n getMe()\n .then((res) => {\n const steps = res?.data?.steps;\n const keys = Object.keys(steps);\n setCheckCompletedStep(false);\n setAuth(true);\n for (const key of keys) {\n if (steps[key]?.status?.name === 'incomplete') {\n if (steps[key]?.title === 'Tu solicitud esta siendo procesada') {\n history.push('/submitted');\n return;\n }\n console.log(steps[key], key);\n history.push(`/${steps[key]?.name}`);\n return;\n } else if (\n steps[keys[keys.length - 1]]?.status?.name === 'complete' ||\n steps[key]?.title === 'Tu solicitud esta siendo procesada'\n ) {\n console.log('2:', steps, key);\n setFormCompleted(true);\n history.push('/submitted');\n }\n }\n })\n .catch((err) => {\n toast.error(err.message);\n }).finally(() => {\n setStatus('resolved');\n });\n\n })\n .catch((err) => {\n console.log(err);\n toast.error(err.message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setStatus('resolved');\n })\n }\n\n };\n\n return (\n \n \n
\n {\n if (isSignup) {\n history.push('/signup', {\n accountType:\n profile === 'legal' ? 'Persona Jurídica' : 'Persona Natural',\n referral_code,\n });\n } else {\n history.push('/');\n }\n }}\n />\n\n \n Le enviamos un mensaje de texto con su código.\n \n\n \n Por favor verifique sus SMS y coloque el código de 6 dígitos que\n enviamos al número\n \n\n \n +\n {phoneNumber?.replace(/(\\d{2})(\\d{3})(\\d{3})(\\d{4})/g, '$1 $2 $3 $4')}\n \n\n \n {\n setCode(cd);\n }}\n />\n \n\n\n
\n {showCountdown ?\n Se habilitará un nuevo codigo en: {countdown / 1000} \n :\n
\n \n ¿No ha recibido el código?\n \n \n Reenviar código al celular\n \n\n {pageAction != 'signIn' ? (\n
\n \n ¿No te llego el código de verificación al número celular?
\n\n
\n \n Enviar al Correo Electrónico\n \n
\n\n ) : (\n ''\n )}\n\n
\n }\n\n
\n\n \n\n \n \n );\n};\n\nexport default VerifyPhone;\n","import { Box, makeStyles, Typography } from '@material-ui/core';\n\nimport React, { useContext, useState } from 'react';\nimport ButtonApp from '../../Components/ButtonApp';\nimport { signInWithEmailLink } from '../../firebase';\nimport { toast } from 'react-toastify';\nimport registerUser from '../../services/RegisterUser';\nimport getMe from '../../services/getMe';\nimport { Context } from '../../Context';\nimport { useHistory } from 'react-router-dom';\n\nconst useStyles = makeStyles(() => ({\n container: {\n padding: 25,\n flexDirection: 'column',\n display: 'flex',\n minHeight: '100vh',\n },\n inputCode: {},\n}));\n\nconst VerifyEmail = () => {\n const classes = useStyles();\n const [status, setStatus] = useState('idle');\n const { setAuth, setFormCompleted, onSignOut, setCheckCompletedStep, isClaro } =\n useContext(Context);\n const history = useHistory();\n let userData;\n let apiKey = (new URLSearchParams(window.location.search)).get(\"apiKey\");\n userData = JSON.parse(localStorage.getItem('user-data'));\n\n const {\n phoneNumber,\n email,\n companyName,\n nit,\n profile,\n name,\n documentId,\n referral_code,\n ciiu,\n terms,\n isSignup,\n documentType,\n } = userData;\n\n const onSignInWithEmailLink = async () => {\n setStatus('pending');\n\n if((apiKey !== '' && apiKey != null)) {\n\n try {\n await signInWithEmailLink(\n email,\n window.location.href\n );\n\n } catch (error) {\n console.log(error);\n }\n\n if(isSignup) {\n setTimeout(() => {\n let userUid = localStorage.getItem('_uid');\n\n registerUser(\n profile,\n name,\n companyName,\n documentId,\n nit,\n ciiu,\n null,\n userUid,\n phoneNumber.slice(2),\n email,\n terms,\n 'email',\n referral_code,\n documentType,\n isClaro\n )\n .then((res) => {\n toast.success(`El usuario se ha creado satisfactoriamente`, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setStatus('resolved');\n setAuth(true);\n\n history.push('/document_id');\n setCheckCompletedStep(false);\n })\n .catch((err) => {\n const errorKeys = Object.keys(err?.errors);\n\n let message = '';\n\n for (const key of errorKeys) {\n message += `⋅ ${key} - ${err?.errors[key]} \n `;\n }\n toast.error(message, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n onSignOut();\n setStatus('rejected');\n\n history.push('/verify');\n });\n }, 2000);\n } else {\n getMe()\n .then((res) => {\n const steps = res?.data?.steps;\n const keys = Object.keys(steps);\n setStatus('resolved');\n setCheckCompletedStep(false);\n for (const key of keys) {\n if (steps[key]?.status?.name === 'incomplete') {\n if (\n steps[key]?.title === 'Tu solicitud esta siendo procesada'\n ) {\n history.push('/submitted');\n return;\n }\n history.push(`/${steps[key]?.name}`);\n return;\n } else if (\n steps[keys[keys.length - 1]]?.status?.name === 'complete' ||\n steps[key]?.title === 'Tu solicitud esta siendo procesada'\n ) {\n setFormCompleted(true);\n history.push('/submitted');\n }\n }\n\n setAuth(true);\n })\n .catch((err) => {\n toast.error(err.message);\n });\n }\n\n }\n\n }\n\n return (\n \n \n\n \n Validación de la información\n \n\n \n Continúa con la validación de la información haciendo click en el siguiente botón\n \n\n \n\n \n \n );\n};\n\nexport default VerifyEmail;\n","import { Box, makeStyles, Typography } from '@material-ui/core';\nimport NotificationImportantIcon from '@material-ui/icons/NotificationImportant';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../Components/ButtonApp';\nimport { Context } from '../Context';\nimport getMe from '../services/getMe';\n\nconst useStyles = makeStyles(() => ({\n text: {\n fontSize: 14,\n fontFamily: 'App-bold',\n color: '#273240',\n marginTop: 32,\n marginBottom: 24,\n },\n}));\n\nconst WrongRequest = ({ auth }) => {\n const [loading, setLoading] = useState(false);\n const { onSignOut } = useContext(Context);\n const classes = useStyles();\n\n const history = useHistory();\n return (\n \n \n \n \n \n No pudimos procesar tu solicitud\n \n {\n setLoading(true);\n getMe()\n .then((res) => {\n const steps = res?.data?.steps;\n const keys = Object.keys(steps);\n // setAuth(true);\n for (const key of keys) {\n if (steps[key]?.status?.name === 'incomplete') {\n if (\n steps[key]?.title === 'Tu solicitud esta siendo procesada'\n ) {\n history.push('/submitted');\n return;\n }\n history.push(`/${steps[key]?.name}`);\n return;\n } else {\n history.push('/submitted');\n }\n }\n setLoading(false);\n })\n .catch((err) => {\n onSignOut();\n history.push('/');\n toast.error(err.message);\n setLoading(false);\n });\n // history.push(auth ? '/documentation' : '/')\n }}\n />\n \n );\n};\n\nexport default WrongRequest;\n","import { createBrowserHistory } from 'history';\n\nconst history = createBrowserHistory();\nexport default history;\n","import { Box, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport React, { useContext, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport ButtonApp from '../../Components/ButtonApp';\nimport LoadingStep from '../../Components/LoadingStep';\nimport ProgressHeader from '../../Components/ProgressHeader';\nimport { getConfig } from '../../config/config';\nimport { setDefaultState } from '../../config/handlers';\nimport { Renderer } from '../../config/Renderer';\nimport { Context } from '../../Context';\nimport useGetHelpData from '../../hooks/useGetHelpData';\nimport useGetMe from '../../hooks/useGetMe';\nimport onSaveStep from '../../services/saveStep';\n\nconst UnrelatedActivities = () => {\n const {me, loadingMe} = useGetMe();\n const [state, setState] = useState({});\n const helpData = useGetHelpData(me?.user?.profile, me?.user?.profile === 'Persona Natural' ? me?.steps?.step_8?.name : me?.steps?.step_8?.name);\n const [loading, setLoading] = useState('idle');\n const history = useHistory();\n\n const {setDesktopImg} = useContext(Context);\n\n useEffect(() => {\n if (helpData?.desktop_img) {\n setDesktopImg(helpData?.desktop_img);\n }\n }, [helpData?.desktop_img]);\n\n useEffect(() => {\n if (me) {\n if (me?.user?.profile === 'Persona Natural') {\n if (me?.steps?.step_8?.order === 8) {\n setDefaultState(me?.steps?.step_8?.body, state, setState, {\n isEdit: false,\n });\n }\n } else {\n if (me?.steps?.step_8?.order === 8) {\n setDefaultState(me?.steps?.step_8?.body, state, setState, {\n isEdit: false,\n });\n }\n }\n\n }\n }, [me]);\n\n const config = useMemo(() => {\n if (me) {\n return getConfig({\n state,\n setState,\n componentsFromServer: me?.user?.profile === 'Persona Natural' ? me?.steps?.step_8?.body : me?.steps?.step_8?.body,\n help: helpData,\n });\n }\n }, [state, me, helpData]);\n\n // console.log('Aqui: ', helpData, config);\n\n const saveStep = () => {\n setLoading('pending');\n onSaveStep({...state, view: 'unrelated_activities'})\n .then((data) => {\n setLoading('resolved');\n me?.user?.profile === 'Persona Natural' ? history.push('/submitted') : history.push('/bank_account');\n })\n .catch((err) => {\n const errorKeys = Object.keys(err.response?.data?.errors);\n\n const error = errorKeys.map((key) => (\n {`⋅ ${key} - ${err.response?.data?.errors[key][0]}`}\n ));\n\n toast.error({error}, {\n position: 'top-right',\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n setLoading('rejected');\n });\n };\n\n if (loadingMe) {\n return ;\n }\n\n return (\n \n \n \n me?.user?.profile === 'Persona Natural' ? history.push('/bank_account') : history.push('/partners_and_shareholders')\n }\n steps={me?.steps}\n />\n \n \n \n \n\n {!state.isEdit && (\n \n )}\n \n );\n};\n\nexport default UnrelatedActivities;\n","import React, {useContext} from 'react';\nimport {BrowserRouter, Redirect, Route, Router, Switch, useLocation,} from 'react-router-dom';\nimport AppLayout from '../Components/Layout/AppLayout';\n\nimport BankAccount from '../Pages/BankAccount/BankAccount';\nimport CompanyInformation from '../Pages/CompanyInformation/CompanyInformation';\nimport Contract from '../Pages/Contract/Contract';\nimport CreateAccount from '../Pages/CreateAccount/CreateAccount';\nimport Documentation from '../Pages/Documentation/Documentation';\nimport DocumentInstructions from '../Pages/DocumentsInstructions/DocumentsInstructions';\nimport FinancialInformation from '../Pages/FinancialInfomation/FinancialInfomation';\nimport Home from '../Pages/Home/Home';\nimport LegalRepresentative from '../Pages/LegalRepresentative/LegalRepresentative';\nimport Otp from '../Pages/OTP/Otp';\nimport PartnersAndShareholders from '../Pages/PartnersAndShareholders/PartnersAndShareholders';\nimport Selfie from '../Pages/Selfie/Selfie';\nimport ShareCertification from '../Pages/ShareCertification/ShareCertificaction';\nimport SuccessScreen from '../Pages/SuccessScreen';\nimport VerifyPhone from '../Pages/VerifyPhone/VerifyPhone';\nimport VerifyEmail from '../Pages/VerifyEmail/VerifyEmail';\nimport WrongRequest from '../Pages/WrongRequest';\n\nimport history from './history';\nimport UnrelatedActivities from \"../Pages/UnrelatedActivities/UnrelatedActivities\";\nimport {Context} from \"../Context\";\n\nfunction NoMatch() {\n let location = useLocation();\n\n return (\n
\n

\n No Found for {location.pathname}\n

\n
\n );\n}\n\nfunction PrivateRoute({auth, formCompleted, children, ...rest}) {\n return (\n {\n if (auth && !formCompleted) {\n return children;\n } else if (auth && formCompleted) {\n return ;\n } else {\n return (\n \n );\n }\n }}\n />\n );\n}\n\nfunction AuthRoute({auth, loadingAuth, children, ...rest}) {\n return (\n {\n if (auth) {\n return ;\n }\n return children;\n }}\n />\n );\n}\n\nconst AppRouter = ({auth, formCompleted}) => {\n const {isClaro} = useContext(Context);\n\n return (\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 {!isClaro && \n \n }\n \n \n );\n};\n\nexport default AppRouter;\n","import { Box, CircularProgress, Typography } from '@material-ui/core';\nimport React, { useContext, useEffect, useState } from 'react';\nimport { Context } from './Context';\nimport AppRouter from './router/AppRouter';\nimport getMe from './services/getMe';\nimport { getQueryParams } from \"./utils/utils\";\n\nconst App = () => {\n const {auth, setAuth, formCompleted, setFormCompleted, checkCompletedStep, setIsClaro} =\n useContext(Context);\n\n const [loading, setLoading] = useState(true);\n const params = getQueryParams()\n\n let token = null;\n console.log('start app.js');\n useEffect(() => {\n token = sessionStorage.getItem('pay-mobile-token');\n const isClaro = localStorage.getItem('isClaro')\n\n if (params.claro || isClaro) {\n setIsClaro(true)\n localStorage.setItem('isClaro', params.claro)\n }\n\n if (token != null) {\n if (checkCompletedStep) {\n getMe().then(({data}) => {\n const stepsKeys = Object.keys(data.steps);\n const {user: {request_id: {is_claro_ref}}} = data\n console.log(is_claro_ref)\n setIsClaro(Boolean(is_claro_ref))\n if (\n data.steps[stepsKeys[stepsKeys.length - 1]]?.status?.name ===\n 'complete'\n ) {\n setFormCompleted(true);\n }\n });\n }\n\n setAuth(true);\n setLoading(false);\n } else {\n setLoading(false);\n }\n\n\n /*onAuthStateChanged((user) => {\n console.log('onAuthStateChanged app.js');\n\n if (user) {\n console.log('App onAuthStateChanged: ', user);\n user.getIdToken().then((token) => {\n sessionStorage.setItem('pay-mobile-token', token);\n sessionStorage.setItem('pay-mobile-refreshToken', user.refreshToken);\n });\n\n if (checkCompletedStep) {\n getMe().then(({ data }) => {\n const stepsKeys = Object.keys(data.steps);\n if (\n data.steps[stepsKeys[stepsKeys.length - 1]]?.status?.name ===\n 'complete'\n ) {\n setFormCompleted(true);\n }\n });\n }\n\n setAuth(true);\n setLoading(false);\n } else {\n setLoading(false);\n }\n });*/\n // eslint-disable-next-line\n }, []);\n\n if (loading) {\n return (\n \n \n Cargando\n \n \n \n );\n }\n\n return ;\n};\n\nexport default App;\n","export default __webpack_public_path__ + \"static/media/Montserrat-Bold.079ca05d.ttf\";","export default __webpack_public_path__ + \"static/media/Montserrat-Regular.3cd78665.ttf\";","export default __webpack_public_path__ + \"static/media/Montserrat-SemiBold.fa8441f3.ttf\";","export default __webpack_public_path__ + \"static/media/Montserrat-Medium.e2d60bc4.ttf\";","import { createGlobalStyle } from 'styled-components';\nimport Bold from './assets/fonts/Montserrat-Bold.ttf';\nimport Regular from './assets/fonts/Montserrat-Regular.ttf';\nimport Semibold from './assets/fonts/Montserrat-SemiBold.ttf';\nimport Medium from './assets/fonts/Montserrat-Medium.ttf';\n\nconst GlobalStyles = createGlobalStyle`\n html {\n box-sizing: border-box;\n }\n\n @font-face {\n font-family: 'App-bold';\n src: url(${Bold}) format('opentype');\n }\n @font-face {\n font-family: 'App-regular';\n src: url(${Regular}) format('opentype');\n }\n @font-face {\n font-family: 'App-semi-bold';\n src: url(${Semibold}) format('opentype');\n }\n @font-face {\n font-family: 'App-font-medium';\n src: url(${Medium}) format('opentype');\n }\n\n *, *:before, *:after {\n box-sizing: inherit\n }\n\n body {\n\n background: white;\n\n margin: 0 auto;\n overscroll-behavior: none;\n width: 100%;\n font-family: \"Roboto\";\n }\n\n ul, li, h1, h2, h3, p, button {\n margin: 0;\n }\n\n\n button {\n background: #ffffff00;\n border: 0;\n outline: 0;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type=number] {\n -moz-appearance: textfield;\n }\n\n ul {\n padding: 0;\n }\n \n a { \n text-decoration: none;\n color: #393939\n }\n\n .MuiNativeSelect-icon {\n right: 10px;\n }\n\n .MuiButton-contained.Mui-disabled {\n color: #6F7782 !important;\n background-color: #6F778240 !important;\n }\n\n .react-tel-input .form-control:focus {\n box-shadow: unset !important;\n }\n\n .Toastify__toast {\n width: 312px;\n margin: 0 0 0 auto;\n font-family: 'App-regular';\n @media screen and (max-width: 768px) {\n margin-top: 20px;\n }\n }\n\n .MuiLinearProgress-colorPrimary {\n background-color: #6F778241 !important;\n }\n\n .react-code-input {\n display: flex !important;\n width: 100% !important;\n justify-content: space-between;\n }\n .MuiNativeSelect-selectMenu {\n background: blue\n }\n\n #outer-circle {\n top: 107px !important\n }\n\n .Toastify__toast--success {\n background: #00e39c;\n }\n`;\n\nexport default GlobalStyles;\n","import { red } from '@material-ui/core/colors';\nimport { createTheme } from '@material-ui/core/styles';\n\nconst theme = createTheme({\n palette: {\n primary: {\n main: '#5d62f1',\n contrastText: '#fff',\n },\n secondary: {\n main: '#19857b',\n },\n error: {\n main: red.A400,\n },\n background: {\n default: '#fff',\n },\n text: {\n primary: '#273240',\n secondary: '#6F7782',\n hint: '#6F7782',\n disabled: '#6F7782',\n },\n },\n typography: {\n fontFamily: [\n 'App-regular',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n },\n});\n\nexport default theme;\n","import { CssBaseline, ThemeProvider } from '@material-ui/core';\nimport React from 'react';\nimport { render } from 'react-dom';\nimport App from './App';\nimport GlobalStyles from './GlobalStyles';\nimport theme from './theme';\nimport Context from './Context';\nimport { ToastContainer } from 'react-toastify';\nimport 'react-toastify/dist/ReactToastify.css';\n\nrender(\n \n \n \n \n \n \n \n ,\n document.querySelector('#root')\n);\n"],"sourceRoot":""}