{"version":3,"sources":["components/members/accountSettings/elements/onceOffPayment.module.css","components/members/forward/customForm.module.css","../node_modules/pdfjs-dist/build sync","components/public/login.module.css","components/members/inbox/mail/elements/selectFolderModal.module.css","components/members/accountSettings/elements/settings.module.css","components/members/accountSettings/elements/paymentForm.module.css","components/members/accountSettings/accountSettings.module.css","components/members/forward/serviceSelect.module.css","components/members/support/support.module.css","components/public/publicTopNav/publicTopNav.module.css","components/members/inbox/mail/elements/emailModal.module.css","components/public/loginChoice.module.css","components/members/inbox/mail/elements/mailItem.module.css","components/members/inbox/inbox.module.css","components/members/accountSettings/elements/addresses.module.css","components/members/accountSettings/elements/verification.module.css","hooks/useStripe.js","components/members/accountSettings/elements/additionalNames.module.css","components/members/paymentRequired/paymentRequired.module.css","components/members/forward/forward.module.css","components/members/inbox/forwardLog/forwardLog.module.css","styles/dropdownContainer.module.css","components/members/inbox/mail/mail.module.css","components/registration/chooseAddress.module.css","components/members/verifications/photoVerification.module.css","components/members/forward/elements/service.module.css","context/globalContext.js","security/securityHelper.js","components/members/topnav/index.js","utilities/systemFolderUtility.js","components/members/inbox/folders/index.js","components/members/inbox/mail/elements/MailIcon.js","utilities/mailStatusUtility.js","utilities/mailActionUtility.js","components/members/inbox/mail/elements/MailItem.js","components/members/inbox/mail/elements/ReturnToSenderModal.js","components/members/inbox/mail/elements/RescanModal.js","components/members/inbox/mail/elements/ConfirmModal.js","components/members/inbox/mail/elements/SelectFolderItem.js","components/members/inbox/mail/elements/SelectFolderModal.js","components/members/inbox/mail/elements/EmailModal.js","components/members/inbox/mail/index.js","services/mailService.js","components/members/inbox/preview/index.js","components/members/inbox/forwardLog/elements/PendingForwardItem.js","components/members/inbox/forwardLog/elements/ForwardedItem.js","components/members/inbox/forwardLog/ForwardLog.js","services/forwardService.js","components/members/inbox/addToForwardModal/AddToForwardModal.js","components/members/inbox/index.js","components/members/accountSettings/elements/Settings.js","components/members/accountSettings/elements/Addresses.jsx","components/members/accountSettings/elements/ResetPasswordModal.js","components/members/accountSettings/elements/Security.js","components/members/accountSettings/elements/CloseAccount.jsx","components/members/accountSettings/elements/PauseAccount.jsx","components/members/accountSettings/elements/Verification.js","enums/verificationEnum.js","utilities/paymentUtility.js","utilities/currencyUtility.js","components/members/accountSettings/elements/PaymentForm.js","config.js","components/members/accountSettings/elements/OnceOffPayment.js","components/registration/PlanElement.jsx","commonComponents/Confirm.js","components/registration/ChoosePlan.jsx","components/members/accountSettings/elements/ChoosePlanWrapper.jsx","components/members/accountSettings/elements/AdditionalNames.js","components/members/accountSettings/elements/Notifications.jsx","components/members/accountSettings/elements/AuditLog.jsx","components/members/accountSettings/elements/Transactions.jsx","components/members/accountSettings/elements/StorageMetrics.js","components/members/accountSettings/elements/Actions.jsx","enums/autoAction.js","components/members/accountSettings/index.js","components/members/verifications/WizardNav.js","components/members/verifications/PhotoVerificationUpload.js","components/members/verifications/PhotoVerificationComplete.js","components/members/verifications/PhotoVerification.js","components/members/forward/SelectAddress.js","utilities/logoUtility.js","components/elements/GrowingTextArea.js","components/members/forward/elements/Service.js","components/members/forward/ServiceSelect.js","components/members/forward/CustomForm.js","components/members/forward/Sent.js","components/members/forward/Sending.js","components/members/forward/Error.js","components/members/forward/index.js","services/supportService.js","components/members/support/support.jsx","components/members/paymentRequired/PaymentRequired.js","components/public/publicTopNav/PublicTopNav.jsx","components/public/LoginGuard.jsx","utilities/arrayUtility.js","utilities/guidUtility.js","components/registration/AddressElement.jsx","components/registration/AddressRow.jsx","components/registration/ChooseAddress.jsx","components/registration/PaymentWrapper.jsx","components/registration/Signup.jsx","hooks/useWindowSize.js","components/registration/RegistrationComplete.jsx","components/public/Homepage.jsx","hooks/useEventListener.js","components/public/Login.jsx","components/public/LoginChoice.jsx","components/public/ForgotPassword.jsx","components/public/ResetPassword.jsx","components/public/EmailVerification.jsx","components/public/EmailGuard.jsx","components/public/Authorise.jsx","components/public/TermsAndConditions.jsx","auth0/PrivateRoute.js","App.js","context/accountContext/accountActions.js","context/accountContext/accountReducer.js","enums/registrationStatus.js","context/accountContext/accountActionTypes.js","context/accountContext/useAccount.js","context/alertContext/alertActionTypes.js","context/alertContext/alertActions.js","context/alertContext/alertReducer.js","context/alertContext/useAlert.js","context/dialogContext/useDialog.js","context/accountSettingsContext/accountSettingsActionTypes.js","context/accountSettingsContext/accountSettingsReducer.js","context/accountSettingsContext/useAccountSettings.js","context/accountSettingsContext/accountSettingsActions.js","utilities/fileUtility.js","context/mailContext/mailActions.js","context/mailContext/mailReducer.js","context/mailContext/mailActionTypes.js","context/mailContext/useMail.js","context/foldersContext/foldersActionTypes.js","context/foldersContext/foldersActions.js","context/foldersContext/foldersReducer.js","context/foldersContext/useFolders.js","context/addressContext/addressActionTypes.js","context/addressContext/addressActions.js","context/addressContext/addressReducer.js","context/addressContext/useAddress.js","context/auditContext/auditActionTypes.js","context/auditContext/auditActions.js","context/auditContext/auditReducer.js","context/auditContext/useAudit.js","context/globalEvents.js","context/forwardContext/forwardActions.js","context/forwardContext/forwardReducer.js","context/forwardContext/forwardActionTypes.js","context/forwardContext/useForward.js","context/verificationContext/verificationActionTypes.js","utilities/imageUtility.js","context/verificationContext/verificationActions.js","context/verificationContext/verificationReducer.js","context/verificationContext/useVerification.js","context/paymentContext/paymentActions.js","context/paymentContext/paymentReducer.js","context/paymentContext/usePayment.js","context/locationContext/locationActionTypes.js","context/locationContext/locationActions.js","context/locationContext/locationReducer.js","context/locationContext/useLocation.js","context/planContext/planActionTypes.js","context/planContext/planActions.js","context/planContext/planReducer.js","context/planContext/usePlan.js","context/additionalNames/additionalNamesActionTypes.js","context/additionalNames/additionalNamesActions.js","context/additionalNames/additionalNamesReducer.js","context/additionalNames/useAdditionalNames.js","context/transactionContext/transactionActionTypes.js","context/transactionContext/transactionActions.js","context/transactionContext/transactionReducer.js","context/transactionContext/useTransaction.js","context/loginContext/loginActions.js","context/loginContext/loginReducer.js","context/loginContext/useLogin.js","context/storageMetrics/storageActionTypes.js","context/storageMetrics/storageActions.js","context/storageMetrics/storageReducer.js","context/storageMetrics/useStorage.js","context/GlobalState.js","serviceWorker.js","i18n.js","index.js","components/registration/SignupSteps.js","components/members/topnav/TopNav.module.css","components/registration/planElement.module.css","components/members/inbox/folders/folders.module.css","components/members/inbox/preview/preview.module.css","styles/sidebar.module.css","components/members/accountSettings/elements/actions.module.css"],"names":["module","exports","webpackEmptyContext","req","e","Error","code","keys","resolve","id","useStripe","apiKey","useState","cardElements","setCardElements","stripe","setStripe","useEffect","global","Stripe","elements","style","base","fontFamily","fontSmoothing","fontSize","padding","border","color","invalid","iconColor","cardNumber","create","on","focused","d","cardNumberChange","mount","cardExpiry","cardExpiryChange","cardCvc","initalize","a","Promise","reject","createToken","then","result","error","React","createContext","account","localStorage","setItem","JSON","stringify","window","location","href","removeItem","TopNav","props","globalContext","useContext","GlobalContext","useTranslation","t","alerts","fetch","fetchAlerts","onMarkRead","event","stopPropagation","markRead","onGoto","page","history","push","console","log","Navbar","bg","expand","className","Styles","navbar","navbarBrand","onClick","preventDefault","src","process","webpageDetails","webpageName","alt","mobileMenuButton","events","publish","unreadAlerts","response","filter","alert","read","length","currentAlert","Alert","variant","url","alertId","onClickAlert","message","type","aria-label","aria-hidden","renderAlerts","icon","supportIcon","Dropdown","dropdown","Toggle","as","clientIcon","peer","hideOnMobile","input","firstName","lastName","substring","renderName","balance","Menu","Item","securityHelper","folderId","name","IosListBoxOutline","IosSendOutline","IosTrashOutline","IosArchiveOutline","Folders","editMode","setEditMode","newFolder","setNewFolder","saving","setSaving","wrapperDivRef","useRef","showLeftNavInMobileView","setShowLeftNavInMobileView","current","scrollTop","scrollHeight","subscribe","onNewFolderKeyUp","keyCode","onSaveFolder","folders","addFolder","renderFolders","folderArray","map","folder","FolderIcon","IosFolderOpenOutline","isSystemFolder","Nav","key","setSelectedFolder","onFolderClicked","selectedFolder","folderWrapper","highlightColor","fontsize","folderDelete","onDeleteConfirmed","deleteFolder","dialog","setDialog","visible","systemFolders","body","onConfirm","onDeleteFolder","SideBarStyles","sidebarMenu","mobileOpen","height","ref","autoHide","autoHideTimeout","leftNav","loading","spin","list","placeholder","value","onChange","target","onKeyUp","renderNewFolder","Button","folderButton","cancelButton","addButton","MailIcon","imgsrc","mailType","mailAction","status","mailStatusUtility","getFriendlyName","mailStatus","mailActionUtility","showScan","mailList","i","mailItem","mailActions","showForwardShred","allowForward","showCancel","showOpenScan","showDownload","MailItem","item","mailName","setMailName","editable","setEditable","onNameChangeBlured","onUpdateName","mailId","forwardRef","children","editNameButton","mailListItem","active","mailActive","Row","nameSpan","setActive","peers","checkbox","mailWrapper","join","peerGreed","nameLine","shape","mailItemCheck","animation","checked","isChecked","nameInput","onBlur","unread","disabled","saveNameButton","contextButton","onRescan","onCancel","emailDdate","format","dateScanned","weight","mailIdSmallScreen","mailMessage","blurb","mailStatusLabel","StatusIcon","data-toggle","data-placement","title","ReturnToSenderModal","reason","setReason","saveReturnToSender","setShowReturnToSender","Modal","show","Header","Title","Body","Footer","RescanModel","save","saveRescan","setShowRescan","ConfirmModal","setLoading","onReject","SelectFolderItem","styles","folderLabel","SelectFolderModal","modalBody","Fragment","onFolderSelected","onClose","EmailModal","email","setEmail","subject","setSubject","setBody","sending","setSending","onEmail","size","Form","Group","controlId","Label","Control","emailBody","Mail","showReturnToSender","loadingForward","setLoadingForward","showFolderSelect","setShowFolderSelect","confirm","setConfirm","searchQuery","setSearchQuery","downloading","setDownloading","showEmailModal","setShowEmailModal","showRescan","plan","plans","getAll","currentPlan","useMemo","planId","currentSelectedMail","selectedMailList","mail","moveToFolder","clearSelected","onMailClicked","index","indexOf","splice","setSelectedMailList","mailIds","returnToSender","markPendingRescan","onDownload","downloadBulk","onDelete","recycle","onShred","markPendingShred","onScan","markPendingScan","onCancelByEllipse","cancelPending","updateName","onForward","searchKeyDown","search","emailList","emailActionContainer","emailAction","ButtonGroup","parcelForwardOnly","showOnMobile","toolbarButton","mobileActionButton","searchContainer","searchWrapper","searchIcon","searchInput","onKeyDown","mailItemSection","Col","xs","mailCol","noMail","activeMail","activeItem","setActiveMail","RescanModal","fetchMail","cancelToken","axios","method","data","catch","forwardMail","addressDto","pdfjs","GlobalWorkerOptions","workerSrc","version","Inbox","numberOfPages","setNumberOfPages","pageNumber","setPageNumber","loadingMail","counter","internalCounter","loader","setInterval","clearInterval","width","ProgressBar","now","label","previewWrapper","file","onLoadSuccess","numPages","pdfDocument","object-fit","pdfPage","pagerSection","instructionWrapper","instructions","instructionsIcons","paddingRight","PendingForwardItem","setChecked","forwardItem","logRow","forward","address","street","city","postcode","state","country","toLowerCase","service","numberOfItems","showOurFee","ausPostFee","toFixed","hotsnailFee","ForwardedItem","dateSection","moment","dateSent","detailSection","forwardDetails","trackingNumber","ForwardLog","selectedItems","setSelectedItems","getLog","renderHeading","headingName","sectionHeading","onCancelForward","selectedId","forwardId","cancelForward","forwardList","forwardWrapper","pending","toolbar","newSelectedItems","onChecked","getPendingForwards","addToPendingForward","AddToForwardModal","forwards","selectedForward","setSelectedForward","onAppendLoading","setOnAppendLoading","onCreatingNew","setOnCreatingNew","onAppendForward","onCreatePendingForward","selectedMail","setSelectedMail","pendingForwards","setPendingForwards","showAddToForwardModal","setShowAddToForwardModal","previewMailId","setPreviewMailId","setSelectedFolderState","setShowForwardShred","setShowScan","setShowCancel","setShowDownload","showVerificationWarning","setShowVerificationWarning","setLoadingMail","getFolders","getFolder","getMail","cancel","CancelToken","c","mailService","updateMailList","idVerified","smsVerified","onSetActiveMail","forwardService","setMailIds","markPendingForward","renderMailSection","Toast","delay","autohide","position","top","left","zIndex","inboxWrapper","renderContent","Settings","saved","setSaved","password","setPassword","repeatPassword","setRepeatPassword","repeatPasswordInvalid","setRepeatPasswordInvalid","user","phoneNumber","setPhoneNumber","setFirstName","setLastName","companyName","setCompanyName","accountName","setAccountName","address1","setAddress1","address2","setAddress2","setCity","setPostcode","setState","setCountry","language","setLanguage","validated","setValidated","valid","setValid","emailAvailable","setEmailAvailable","formRef","onEmailBlur","isEmailAvailable","available","onSave","accountUser","signup","accountSignup","updateAccount","onSaved","setTimeout","customValidate","onChangeLanguage","lng","onSubmit","checkValidity","noValidate","settingWrapper","languageSelect","FormControl","required","Feedback","md","isInvalid","readOnly","saveButton","Addresses","getUserLocations","getLocations","userLocations","locationId","userCode","suburb","addressNote","note","renderAddresses","ResetPassword","currentPassword","setCurrentPassword","password1","setPassword1","password2","setPassword2","errorMessage","setErrorMessage","successMessage","setSuccessMessage","changePassword","Security","showReset","setShowReset","onToggleMfa","mfaEnabled","enableLoginGuard","updateLoginGuard","ResetPasswordModal","CloseAccount","showConfirm","setShowConfirm","closeInput","setCloseInput","closeAccount","InputGroup","Append","PauseAccount","accountPaused","mailHeld","unpause","pause","Verification","showSmsCode","setShowSmsCode","smsCode","setSmsCode","sendingMsg","setSendingMsg","mobileNumber","setMobileNumber","showIncorrectCode","setShowIncorrectCode","warningMsg","setWarningMsg","verification","getVerificationStatus","getVerification","onSendSms","smsVerification","success","onVerify","verifySms","onRedoIdVerification","deleteIdVerification","isMobileVerified","verifications","isIdVerified","idVerification","verificationCode","deleteLink","text","clearNumber","replace","num","Math","round","PaymentForm","nameOnCard","setNameOnCard","setCardNumber","expiry","setExpiry","autoTopUpSaving","setAutoTopUpSaving","autoTopUpAmount","minimumMailDeposit","autoTopUp","setAutoTopUpAmountState","setCvc","focus","setFocus","issuer","setIssuer","stripeElements","setError","brand","setAutoTopUpAmount","amount","updateAutoTopup","getPlan","tokenId","token","payment","updatePayment","afterSave","clear","lg","paymentWrapper","role","includeAutoTopup","htmlFor","parseFloat","nextValue","Payment","fns","cardType","clearValue","slice","trim","formatCreditCardNumber","formatExpirationDate","prevValue","allValues","maxLength","number","formatCVC","onFocus","cvc","preview","paymentDetailsTable","currencyUtility","setupFee","getTodaysCharge","autoTopUpSelect","showMonthlyCharge","monthlyFee","getMonthlyCharge","billingDate","setAmount","Accordion","accordion","Card","eventKey","paymentIcon","Collapse","paypalButton","maxWidth","shippingPreference","options","disableFunding","clientId","currency","onSuccess","details","verifyPaypal","orderID","Table","PlanElement","col","planBox","panel","mostPopular","cnrflash","cnrflashInner","cnrflashLabel","dangerouslySetInnerHTML","__html","panelHeading","panelBody","thePrice","envelopeScan","contentScan","forwardParcel","Confirm","confirmButton","onHide","ChoosePlan","activePlan","setActivePlan","public","sort","b","order","choosePlan","showWarning","getContentScan","perLetter","perPage","getForwardParcel","parcelForwardPercent","parcelForward","numberOfCols","Container","planName","letterForward","ChoosePlanWrapper","AdditionalNames","newName","setNewName","additionalNames","getNames","onSaveName","saveName","deleteName","striped","bordered","hover","nameTable","names","colSpan","textAlign","additionalNameId","renderNames","Notifications","Check","checkboxLabel","emailActionNotification","updateEmailActionNotificationChange","includePdf","updateIncludePdf","seperateAlerts","updateSendSeperate","AuditLog","hasMore","setHasMore","pageStart","loadMore","newPage","audit","getAudit","more","element","getScrollParent","document","getElementById","useWindow","auditLog","auditId","dateTime","renderAuditLog","Transactions","transactions","getTransactions","transaction","transactionId","date","description","renderTransaction","StorageMetrics","storage","getMetrics","renderLabel","count","letterType","metrics","storedEnvelopesWithinFreePeriod","storedEnvelopesOutsideFreePeriod","forwardedEnvelopes","shreddedEnvelopes","storedParcelsWithinFreePeriod","storedParcelsOutsideFreePeriod","forwardedParcels","destroyedParcels","Actions","onToggleAction","action","autoAction","updateAutoAction","cursor","AccountSettings","accountSettings","navigation","setNavigation","i18n","onPageChange","onPaymentUpdated","onLanguageChange","useCallback","Cookies","set","changeLanguage","settingsWrapper","Link","includeAutoActions","includeAdditionalNames","includeChoosePayments","settings","settingsInnerWrapper","setNav","showClosed","OnceOffPayment","renderPage","WizardNav","navs","nav","activeIndex","setActiveNav","PhotoVerificationUpload","uploadProgress","setUploadProgress","uploading","setUploading","base64","photoSide","onDrop","acceptedFiles","onUpload","progressEvent","progress","loaded","total","useDropzone","accept","getRootProps","getInputProps","isDragActive","dropzone","progressbar","animated","idPreview","deleteButton","PhotoVerificationComplete","alertType","PhotoVerification","navigationIndex","setNavigiationIndex","idType","setIdType","idTypeChosen","setIdTypeChosen","getVerificationCode","side","deleteId","onUploadProgress","uploadId","getNavigation","navigationArray","front","back","selfie","onPrev","nextIndex","responsiveContainer","offset","span","sm","wizardContainer","wizard","selectContainer","licenseImage","idTypeChoiceButtons","wizardFooter","showNext","SelectAddress","activeTab","setActiveTab","showNewAddress","setShowNewAddress","selectedAddress","setSelectedAddress","internationalEnabled","setInternationalEnabled","fullName","street2","setAddress","countryOptions","countryList","domestic","addressId","international","lenght","onSaveAddress","newAddress","add","savedAddress","onRemoveAddress","removeAddress","remove","getAddress","parseInt","tab","backSection","forwardTitle","onBack","forwardBody","addressBody","onNext","addressModal","newAddressTitle","contactNumber","forwardingCompany","GrowingTextArea","rows","setRows","previousRows","currentRows","Service","showFeatures","setShowFeatures","notes","setNotes","selectedOptions","setSelectedOptions","price","serviceContainer","dhlBorder","australiaPostBorder","renderBorderColor","logoUtility","forwardingLogo","estimateTime","deliveryTimes","subPrice","priceContainer","featureSection","nonStandardOptions","option","newSelectedOptions","onOptionsChanged","renderOptions","sendButton","serviceCode","forwardLog","ServiceSelect","calculate","mailSection","sericeContainer","serviceList","services","forwardFee","renderServices","CustomForm","whatIsIt","setWhatIsIt","unitValue","setUnitValue","whyAreYouSending","setWhyAreYouSending","otherReason","setOtherReason","showError","setShowError","doesParcelContainDangerous","setDoesParcelContainDangerous","whatIfParcelCantBeDelivered","setWhatIfParcelCantBeDelivered","setAccept","customForm","customContainer","split","match","unitValueDecimal","sentWrapper","sentContainer","sentImg","Sending","errorContainer","onTryAgain","PAGES","Forward","currentPage","setCurrentPage","setForwardDetails","forwardFormSaved","setForwardFormSaved","saveForward","forwardForm","isDomestic","isParcel","Sent","Support","setMessage","sendSuccess","setSendSuccess","sendFail","setSendFail","gotoMembers","unsubscribe","onSend","supportService","supportWrapper","PaymentRequired","section","LoginGuard","PublicTopNav","reduce","rv","x","r","random","toString","AddressElement","offSet","checkboxId","guidUtility","addressElementWrapper","addressCard","onSelect","addressLabel","class","addressComment","AddressRow","locations","selectedLocations","ChooseAddress","setSelectedLocations","idList","saveLocations","groupedLocations","arrayUtility","setSelected","newSelectedLocations","renderLocations","backButton","PaymentWrapper","setShowNext","showNextButton","activePayment","registrationComplete","Signup","REGISTER_STEP","activeStep","setActiveStep","stepTitles","setStepTitles","isClient","getSize","innerWidth","undefined","innerHeight","windowSize","setWindowSize","handleResize","addEventListener","removeEventListener","useWindowSize","queryString","qs","parse","ignoreQueryPrefix","outerWidth","signupSettings","fullWidth","mobileWidth","onSignupComplete","onPlanSaved","getNextStep","CHOOSE_PLAN","outterWrapper","wrapper","fadeInDown","formContent","fadeIn","first","logo","hotsnailIcon","steps","nextStep","CHOOSE_ADDRESS_STEP","CHOOSE_PAYMENT_STEP","RegistrationComplete","HomePage","login","fourth","signUpButton","useEventListener","eventName","handler","savedHandler","eventListener","Login","setLogin","loginFailed","setLoginFailed","validationFailed","setValidationFailed","keepMeSignedIn","setKeepMeSignedIn","showMessage","setShowMessage","showLoginGuard","setShowLoginGuard","showIncorrectLoginGuard","setShowIncorrectLoginGuard","loginGuard","setLoginGuard","handleClick","onLogin","doLogin","load","query","redirect","localeSelect","second","third","formFooter","underlineHover","LoginChoice","loginStyles","v1Button","v2Button","ForgotPassword","passwordSent","setPasswordSent","sendResetPassword","onReset","resetCode","reset","resetPassword","backgroundColor","EmailVerification","encodeURIComponent","q","submitEmailVerification","submitVerification","marginTop","Spinner","EmailGuard","setSuccess","authCode","TermsAndConditions","saveTermsAndConditions","withRouter","Component","component","path","componentProps","rest","getAccount","fn","termsAndConditionsSigned","render","createHistory","App","get","navigator","Helmet","exact","Homepage","Authorise","PhotoVerificationWizard","Account","_pause","_unpause","_updateIncludePdf","include","_updateSendSeperate","sendSeperate","_updateEmailActionNotificationChange","notify","_verifyPayPal","orderId","_saveTermsAndConditions","Html","XMLSerializer","serializeToString","_changePassword","oldPassword","newPassword","_resetPassword","_sendResetPassword","_isEmailAvailable","_updateAutoTopup","_closeAccount","_registrationComplete","creditExempt","_getAccount","_verifySms","verificationStatus","_updateLoginGuard","enabled","_choosePlan","_accountSignup","_updateAccount","_updateAutoAction","_updateAutoTopUp","payload","registrationStatus","_chosePlan","accountReducer","TermsAndConditionsSigned","useAccount","useReducer","dispatch","jwtResponse","mobileVerification","creditCardExempt","accountActions","_fetch","_markRead","loginReducer","useAlert","alertReducer","alertDispatch","useDialog","accountSettingsReducer","useAccountSettings","accountSettingsDispatch","_email","mailIdList","_markPendingRescan","_updateName","_moveToFolder","_returnToSender","returnToSenderDto","MailIds","Reason","_cancelPending","_markPendingScan","_markPendingShred","_recycle","_search","_getFolder","_downloadBulk","open","_mailHeld","_pendingRescan","_mailMovedFolder","newItem","_markPendingForward","mailReducer","sortedList","Date","useMail","shredded","rescanned","recycled","pendingScanList","cancelPendingList","returnedToSenderList","movedIds","_deleteFolder","_addFolder","_getFolders","folderReducer","folderDispatch","folderName","_remove","_add","_removeAddress","domesticList","internationalList","addressReducer","useAddress","addresses","addressDispatch","addressList","_getAudit","pageSize","auditReducer","newAuditLog","concat","useAudit","auditDispatch","_handlers","func","args","forEach","_cancelForward","forwardIdList","_getLog","_calculate","forwardReducer","useForward","forwardActions","reader","FileReader","readAsDataURL","onload","onerror","_submitEmailVerification","_emailVerification","_getVerificationStatus","_deleteIdVerification","_smsVerification","_getVerificationCode","_uploadId","formData","FormData","append","headers","res","verificationReducer","mobileVerified","useVerification","randomCode","imageUtility","emailVerification","verificationActions","_updatePayment","cardName","sourceToken","chargeNow","paymentReducer","usePayment","_getUserLocations","_saveLocations","locationIds","_getAll","locationReducer","useLocation","locationActions","planReducer","usePlan","planDispatch","_deleteName","additionalId","_saveName","_getNames","newState","_addName","additionalNamesReducer","useAdditionalNamesSettings","additionalNamesDispatch","object","_getTransaction","transactionReducer","useTransaction","transactionDispatch","_login","keepLoggedIn","jwtUser","EmailAddress","Password","KeepLoggedIn","LoginReducer","useLogin","username","_getMetrics","metricsReducer","useStorage","storageReducer","storageDispatch","GlobalState","stateHooks","useFolders","useAdditionalNames","useTransactions","globalEvents","Provider","Boolean","hostname","use","Backend","LanguageDetector","initReactI18next","init","debug","keySeparator","interpolation","escapeValue","backend","loadPath","library","faSpinner","faCaretSquareRight","faCaretSquareLeft","faQuestionCircle","faChevronDown","faCheck","faPaperPlane","faArrowLeft","faUser","faLock","faCamera","faUsers","faCreditCard","faFileInvoiceDollar","faListAlt","faClipboardCheck","faMinusCircle","faClipboardList","faEnvelopeOpenText","faMagic","faArrowsAlt","faTimesCircle","faCheckDouble","faTimes","faCloudDownloadAlt","faClock","faMapMarkedAlt","faPen","faEllipsisV","faTag","faRedo","faBell","faMoneyCheckAlt","faChartPie","faMoneyBillWave","faCheckCircle","faArchive","faPauseCircle","faExclamationCircle","faMailBulk","faShare","faTrashAlt","faUndoAlt","HotsnailTheme","lazy","ParcelforwardingTheme","ThemeSelector","Suspense","fallback","interceptors","config","ReactDOM","serviceWorker","ready","registration","unregister"],"mappings":"yFACAA,EAAOC,QAAU,CAAC,YAAc,oCAAoC,UAAY,oC,oBCAhFD,EAAOC,QAAU,CAAC,WAAa,+BAA+B,YAAc,gCAAgC,gBAAkB,oCAAoC,WAAa,iC,kBCD/K,SAASC,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BF,EAAOC,QAAUC,EACjBA,EAAoBO,GAAK,K,mBCPzBT,EAAOC,QAAU,CAAC,QAAU,uBAAuB,YAAc,2BAA2B,WAAa,0BAA0B,SAAW,wBAAwB,OAAS,sBAAsB,MAAQ,qBAAqB,WAAa,0BAA0B,OAAS,sBAAsB,MAAQ,qBAAqB,OAAS,sBAAsB,MAAQ,qBAAqB,OAAS,sBAAsB,eAAiB,8BAA8B,aAAe,4BAA4B,MAAQ,qBAAqB,aAAe,4BAA4B,aAAe,8B,oBCAjlBD,EAAOC,QAAU,CAAC,YAAc,uCAAuC,UAAY,uC,oBCAnFD,E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,KACC,kBAAC,GAAD,KACE,kBAAC,GAAD,QAGH9Y,SAASC,eAAe,SFbnB,kBAAmBiZ,WACrBA,UAAU+Q,cAAcC,MAAMh6C,MAAK,SAAAi6C,GACjCA,EAAaC,iB,gCGnInB,wIAAO,IAAMrY,EAAgB,EAChBsC,EAAsB,EACtBX,EAAc,EACdY,EAAsB,G,mBCFnClnC,EAAOC,QAAU,CAAC,OAAS,uBAAuB,YAAc,4BAA4B,iBAAmB,iCAAiC,SAAW,yBAAyB,WAAa,2BAA2B,kBAAkB,gCAAgC,OAAS,uBAAuB,gBAAgB,8BAA8B,KAAO,qBAAqB,QAAU,wBAAwB,KAAO,qBAAqB,MAAQ,sBAAsB,YAAc,4BAA4B,aAAe,+B,mBCA7gBD,EAAOC,QAAU,CAAC,MAAQ,2BAA2B,UAAY,+BAA+B,QAAU,6BAA6B,SAAW,8BAA8B,SAAW,8BAA8B,cAAgB,mCAAmC,cAAgB,mCAAmC,aAAe,kCAAkC,OAAS,8B,mBCAzXD,EAAOC,QAAU,CAAC,aAAa,4BAA4B,OAAS,wBAAwB,cAAgB,+BAA+B,aAAe,8BAA8B,aAAe,8BAA8B,UAAY,2BAA2B,aAAe,gC,mBCA3RD,EAAOC,QAAU,CAAC,eAAiB,gCAAgC,YAAc,6BAA6B,QAAU,yBAAyB,aAAe,8BAA8B,QAAU,yBAAyB,OAAS,wBAAwB,kBAAoB,mCAAmC,mBAAqB,oCAAoC,aAAe,gC,mBCAjYD,EAAOC,QAAU,CAAC,YAAc,6BAA6B,WAAa,8B,mBCA1ED,EAAOC,QAAU,CAAC,YAAc,6BAA6B,SAAW,6B","file":"static/js/main.5162f28b.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentIcon\":\"onceOffPayment_paymentIcon__1KYvM\",\"accordion\":\"onceOffPayment_accordion__1w7k2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"customForm\":\"customForm_customForm__1ypBk\",\"mailSection\":\"customForm_mailSection__2_QXe\",\"customContainer\":\"customForm_customContainer__3_sO_\",\"sendButton\":\"customForm_sendButton__2sDAH\"};","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 109;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"login_wrapper__3wmR8\",\"formContent\":\"login_formContent__1TQNR\",\"formFooter\":\"login_formFooter__22bsA\",\"inactive\":\"login_inactive__1YxK3\",\"active\":\"login_active__2c6gm\",\"login\":\"login_login__1geur\",\"fadeInDown\":\"login_fadeInDown__1KRKt\",\"fadeIn\":\"login_fadeIn__2qjwx\",\"first\":\"login_first__IF2-a\",\"second\":\"login_second__2zUEt\",\"third\":\"login_third__hjxz-\",\"fourth\":\"login_fourth__3wsCS\",\"underlineHover\":\"login_underlineHover__1bcxV\",\"hotsnailIcon\":\"login_hotsnailIcon__3LOEy\",\"alert\":\"login_alert__3rZ-z\",\"signUpButton\":\"login_signUpButton__19vko\",\"localeSelect\":\"login_localeSelect__2coXm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"folderLabel\":\"selectFolderModal_folderLabel__3_oHE\",\"modalBody\":\"selectFolderModal_modalBody__1bEdZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"saveButton\":\"settings_saveButton__2VgFc\",\"settingForm\":\"settings_settingForm__2jE5H\",\"settingWrapper\":\"settings_settingWrapper__3IMHr\",\"emailInput\":\"settings_emailInput__PPdBp\",\"emailVerify\":\"settings_emailVerify__JJ8ed\",\"languageSelect\":\"settings_languageSelect__129fA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentWrapper\":\"paymentForm_paymentWrapper__3KV6q\",\"creditCardImage\":\"paymentForm_creditCardImage__2YBz2\",\"paymentDetailsTable\":\"paymentForm_paymentDetailsTable__3gDz8\",\"autoTopUpSelect\":\"paymentForm_autoTopUpSelect__3mf3c\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"settingsWrapper\":\"accountSettings_settingsWrapper__3395-\",\"settings\":\"accountSettings_settings__1fazR\",\"settingsInnerWrapper\":\"accountSettings_settingsInnerWrapper__1lJdJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mailSection\":\"serviceSelect_mailSection__2Q7-9\",\"forwardTitle\":\"serviceSelect_forwardTitle__3_isv\",\"sericeContainer\":\"serviceSelect_sericeContainer__StsRa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"supportWrapper\":\"support_supportWrapper__3hTno\",\"supportIcon\":\"support_supportIcon__16snS\",\"message\":\"support_message__XYexo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"navbar\":\"publicTopNav_navbar__2Ut5Y\",\"navbarBrand\":\"publicTopNav_navbarBrand__BXIWS\",\"mobileMenuButton\":\"publicTopNav_mobileMenuButton__2ZUoY\",\"clientIcon\":\"publicTopNav_clientIcon__1BBcy\",\"dropdown-toggle\":\"publicTopNav_dropdown-toggle__WwjIy\",\"dropdown\":\"publicTopNav_dropdown__SkXaA\",\"client\":\"publicTopNav_client___hZ4V\",\"dropdown-menu\":\"publicTopNav_dropdown-menu__2rvgg\",\"show\":\"publicTopNav_show__3R2v9\",\"divider\":\"publicTopNav_divider__2RHPS\",\"peer\":\"publicTopNav_peer__3vTQN\",\"alert\":\"publicTopNav_alert__1f6pi\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalBody\":\"emailModal_modalBody__1q0TR\",\"emailBody\":\"emailModal_emailBody__2LJrT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v1Button\":\"loginChoice_v1Button__3uACr\",\"v2Button\":\"loginChoice_v2Button__37eY4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mailListItem\":\"mailItem_mailListItem__3h_2h\",\"saving\":\"mailItem_saving__dMHHl\",\"peers\":\"mailItem_peers__2jC5E\",\"peer\":\"mailItem_peer__3vOhw\",\"checkbox\":\"mailItem_checkbox__1GZIM\",\"peerGreed\":\"mailItem_peerGreed__3cS0X\",\"moreAction\":\"mailItem_moreAction__2YyHd\",\"moreActionToggle\":\"mailItem_moreActionToggle__JcyNL\",\"mailStatus\":\"mailItem_mailStatus__1jVGo\",\"editNameButton\":\"mailItem_editNameButton__134NH\",\"emailDate\":\"mailItem_emailDate__5D_2T\",\"emailList\":\"mailItem_emailList__2LyR9\",\"mailMessage\":\"mailItem_mailMessage__1jDgH\",\"StatusIcon\":\"mailItem_StatusIcon__L7zrU\",\"checkmark\":\"mailItem_checkmark__XuGnx\",\"mailWrapper\":\"mailItem_mailWrapper__mW85Q\",\"nameInput\":\"mailItem_nameInput__1gnRy\",\"nameSpan\":\"mailItem_nameSpan__I9L1J\",\"mailStatusLabel\":\"mailItem_mailStatusLabel__1qg0g\",\"mailItemCheck\":\"mailItem_mailItemCheck__19WSc\",\"dropdown\":\"mailItem_dropdown__KM3KJ\",\"mailItem\":\"mailItem_mailItem__1QPAp\",\"saveNameButton\":\"mailItem_saveNameButton__2-qPJ\",\"unread\":\"mailItem_unread__a_Gg5\",\"mailActive\":\"mailItem_mailActive__2hCI9\",\"contextButton\":\"mailItem_contextButton__3reGc\",\"mailId\":\"mailItem_mailId__2PsUp\",\"mailIdSmallScreen\":\"mailItem_mailIdSmallScreen__3YLDr\",\"nameLine\":\"mailItem_nameLine__1dg50\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inboxWrapper\":\"inbox_inboxWrapper__1Mlef\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addressNote\":\"addresses_addressNote__2ndS7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"deleteLink\":\"verification_deleteLink__1_xLL\"};","import { useState, useEffect } from \"react\";\r\n\r\nfunction useStripe(apiKey) {\r\n const [cardElements, setCardElements] = useState({});\r\n const [stripe, setStripe] = useState({});\r\n\r\n useEffect(() => {\r\n const initalize = () => {\r\n let stripe = global.Stripe(apiKey);\r\n setStripe(stripe);\r\n let elements = stripe.elements();\r\n let style = {\r\n base: {\r\n fontFamily: 'Raleway, sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif',\r\n fontSmoothing: 'antialiased',\r\n fontSize: '16px',\r\n padding: '5px',\r\n border: '1px solid black',\r\n '::placeholder': {\r\n color: '#aab7c4'\r\n }\r\n },\r\n invalid: {\r\n iconColor: '#fa755a'\r\n }\r\n };\r\n let cardNumber = elements.create('cardNumber', { style: style });\r\n cardNumber.on('focus', (e) => { setCardElements(cardElements => { return { ...cardElements, focused: 'number' } }) });\r\n cardNumber.on('change', (e, d) => setCardElements(cardElements => { return { ...cardElements, cardNumberChange: e } }));\r\n cardNumber.mount('#card-numbers');\r\n\r\n let cardExpiry = elements.create('cardExpiry', {\r\n style: style,\r\n });\r\n cardExpiry.on('focus', (e) => { setCardElements(cardElements => { return { ...cardElements, focused: 'expiry' } }) });\r\n cardExpiry.on('change', (e, d) => { setCardElements(cardElements => { return { ...cardElements, cardExpiryChange: e } }) });\r\n cardExpiry.mount('#card-expiry');\r\n\r\n let cardCvc = elements.create('cardCvc', {\r\n style: style,\r\n });\r\n cardCvc.on('focus', (e) => { setCardElements(cardElements => { return { ...cardElements, focused: 'cvc' } }) });\r\n cardCvc.mount('#card-cvc');\r\n\r\n setCardElements({ cardNumber, cardExpiry, cardCvc });\r\n }\r\n\r\n initalize();\r\n // eslint-disable-next-line \r\n }, []);\r\n\r\n const unSubscribe = () => {\r\n \r\n }\r\n\r\n const createToken = async () => {\r\n return new Promise((resolve, reject) => {\r\n stripe.createToken(cardElements.cardNumber).then(function (result) {\r\n if (result.error) {\r\n // Inform the user if there was an error.\r\n // var errorElement = document.getElementById('card-errors');\r\n // errorElement.textContent = result.error.message;\r\n reject(result);\r\n } else {\r\n // Send the token to your server.\r\n resolve(result);\r\n }\r\n }\r\n )\r\n })\r\n };\r\n\r\n return [cardElements, createToken, unSubscribe];\r\n}\r\n\r\nexport default useStripe;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"nameTable\":\"additionalNames_nameTable__qv8nG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"section\":\"paymentRequired_section__1zcaZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"address\":\"forward_address__-Bb3A\",\"forwardBody\":\"forward_forwardBody__3wAzu\",\"tab\":\"forward_tab__1DSxa\",\"addressBody\":\"forward_addressBody__2D-Ol\",\"newAddress\":\"forward_newAddress__37Fqp\",\"newAddressTitle\":\"forward_newAddressTitle__1X4F_\",\"sentWrapper\":\"forward_sentWrapper__2Jlhc\",\"sentImg\":\"forward_sentImg__185Y-\",\"errorContainer\":\"forward_errorContainer__8U1F3\",\"sentContainer\":\"forward_sentContainer__pGILB\",\"disabled\":\"forward_disabled__23KEb\",\"addressModal\":\"forward_addressModal__3WFuu\",\"backSection\":\"forward_backSection__2rJsF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"forwardWrapper\":\"forwardLog_forwardWrapper__175si\",\"forwardList\":\"forwardLog_forwardList__2IYm2\",\"forwardListItem\":\"forwardLog_forwardListItem__1lO_a\",\"sectionHeading\":\"forwardLog_sectionHeading__3ah-B\",\"forwardItem\":\"forwardLog_forwardItem__1Tv3m\",\"checkSection\":\"forwardLog_checkSection__7YBkm\",\"dateSection\":\"forwardLog_dateSection__pd63r\",\"detailSection\":\"forwardLog_detailSection__275t0\",\"forwardDetails\":\"forwardLog_forwardDetails__3-Y7k\",\"toolbar\":\"forwardLog_toolbar__3jZDJ\",\"toolbarButton\":\"forwardLog_toolbarButton__1yLU4\",\"logRow\":\"forwardLog_logRow__3ARf8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"outterWrapper\":\"dropdownContainer_outterWrapper__MJna8\",\"wizardContainerWrapper\":\"dropdownContainer_wizardContainerWrapper__2Bo3V\",\"wizardContainer\":\"dropdownContainer_wizardContainer__PkXzs\",\"wrapper\":\"dropdownContainer_wrapper__3IzsY\",\"formContent\":\"dropdownContainer_formContent__30GpA\",\"formFooter\":\"dropdownContainer_formFooter__TAh3p\",\"inactive\":\"dropdownContainer_inactive__ZHRxV\",\"active\":\"dropdownContainer_active__X6_U6\",\"fadeInDown\":\"dropdownContainer_fadeInDown__l9cj7\",\"fadeIn\":\"dropdownContainer_fadeIn__3ME16\",\"first\":\"dropdownContainer_first__gwY0T\",\"second\":\"dropdownContainer_second__2fKEJ\",\"third\":\"dropdownContainer_third__9ojKJ\",\"fourth\":\"dropdownContainer_fourth__3Uant\",\"underlineHover\":\"dropdownContainer_underlineHover__2aQPH\",\"hotsnailIcon\":\"dropdownContainer_hotsnailIcon__6E79y\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"emailList\":\"mail_emailList__1em6y\",\"emailList-item\":\"mail_emailList-item__2Okdy\",\"emailActionContainer\":\"mail_emailActionContainer__11SbN\",\"emailAction\":\"mail_emailAction__vqyfw\",\"actionImg\":\"mail_actionImg__3hBlk\",\"email-content\":\"mail_email-content__2EkPq\",\"moreAction\":\"mail_moreAction__2TKOC\",\"tab-content\":\"mail_tab-content__2daC1\",\"searchContainer\":\"mail_searchContainer__2ORn9\",\"searchIcon\":\"mail_searchIcon__2u6M7\",\"searchWrapper\":\"mail_searchWrapper__3QbI7\",\"searchInput\":\"mail_searchInput__1uOgj\",\"styledCheckbox\":\"mail_styledCheckbox__zKEXx\",\"mailItemSection\":\"mail_mailItemSection__2495B\",\"noMail\":\"mail_noMail__ZI1Yw\",\"mobileActionButton\":\"mail_mobileActionButton__1Ekwf\",\"showOnMobile\":\"mail_showOnMobile__ciTyQ\",\"mailCol\":\"mail_mailCol__frSEI\",\"hideOnMobile\":\"mail_hideOnMobile__MIfv9\",\"dropdown\":\"mail_dropdown__2Flgn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"state\":\"chooseAddress_state__1FfHh\",\"addressLabel\":\"chooseAddress_addressLabel__2Pk5H\",\"alert\":\"chooseAddress_alert__3r_Gc\",\"saveButton\":\"chooseAddress_saveButton__2hQ19\",\"backButton\":\"chooseAddress_backButton__Cz5vA\",\"locations\":\"chooseAddress_locations__24jJh\",\"addressComment\":\"chooseAddress_addressComment__3pjzX\",\"addressCard\":\"chooseAddress_addressCard__1_cx7\",\"addressElementWrapper\":\"chooseAddress_addressElementWrapper__3zpWD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wizard\":\"photoVerification_wizard__3bi2p\",\"wizardFooter\":\"photoVerification_wizardFooter__2Bgg9\",\"dropzone\":\"photoVerification_dropzone__jTuZ7\",\"progressbar\":\"photoVerification_progressbar__2rmcW\",\"idPreview\":\"photoVerification_idPreview__NrRme\",\"selectContainer\":\"photoVerification_selectContainer__36F6G\",\"idTypeChoiceButtons\":\"photoVerification_idTypeChoiceButtons__3JEQJ\",\"licenseImage\":\"photoVerification_licenseImage__1YgS0\",\"deleteButton\":\"photoVerification_deleteButton__d_k8j\",\"responsiveContainer\":\"photoVerification_responsiveContainer__3GV82\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"serviceContainer\":\"service_serviceContainer__19ANn\",\"australiaPostBorder\":\"service_australiaPostBorder__2Mm7g\",\"dhlBorder\":\"service_dhlBorder__SN7dG\",\"subPrice\":\"service_subPrice__3Csj6\",\"price\":\"service_price__2TVqL\",\"priceContainer\":\"service_priceContainer__2QwEL\",\"featureSection\":\"service_featureSection__z5_Ye\",\"forwardingLogo\":\"service_forwardingLogo__24iRf\",\"estimateTime\":\"service_estimateTime__zEOl0\",\"sendButton\":\"service_sendButton__1uv7p\"};","import React from 'react';\r\n\r\nexport default React.createContext({\r\n});\r\n","const AUTH_KEY = 'hsAuth';\r\n\r\nexport default {\r\n\tsaveToken: (account) => {\r\n\t\tif (!account) {\r\n\t\t\twindow.location.href = '/login';\r\n\t\t} else {\r\n\t\t\tif (account === null) {\r\n\t\t\t\tlocalStorage.setItem(AUTH_KEY, null);\r\n\t\t\t} else {\r\n\t\t\t\tlocalStorage.setItem(AUTH_KEY, JSON.stringify(account));\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tgetAccount: () => {\r\n\t\tvar account = JSON.parse(localStorage.getItem(AUTH_KEY));\r\n\t\treturn account;\r\n\t},\r\n\t// isAuthenticated: () => {\r\n\t// \tvar jwtResponse = JSON.parse(localStorage.getItem(AUTH_KEY));\r\n\t// \tif (jwtResponse === null) {\r\n\t// \t\treturn false;\r\n\t// \t}\r\n\t// \tif (new Date() > jwtResponse.expireDate) {\r\n\t// \t\treturn false;\r\n\t// \t}\r\n\t// \treturn true;\r\n\t// },\r\n\tlogout: () => {\r\n\t\tlocalStorage.removeItem(AUTH_KEY);\r\n\t}\r\n};\r\n","import React, { useContext, useEffect } from \"react\";\r\nimport { Dropdown, Navbar, Alert } from \"react-bootstrap\";\r\nimport GlobalContext from \"context/globalContext\";\r\nimport securityHelper from \"security/securityHelper\";\r\nimport IosMenu from \"react-ionicons/lib/IosMenu\";\r\nimport Styles from \"./TopNav.module.css\";\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nconst MAX_NAME_LENGTH = 20;\r\n\r\nconst TopNav = props => {\r\n const globalContext = useContext(GlobalContext);\r\n const [ t ] = useTranslation();\r\n \r\n /* Use Effects */\r\n useEffect(() => {\r\n const fetchAlerts = async () => {\r\n globalContext.alerts.fetch();\r\n };\r\n\r\n fetchAlerts();\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n /* Events */\r\n\r\n const onMarkRead = async (event, id) => {\r\n if (event) { \r\n event.stopPropagation();\r\n }\r\n globalContext.alerts.markRead(id);\r\n };\r\n\r\n const onMobileMenuButtonClick = () => {\r\n globalContext.events.publish(\"mobileMenuClick\");\r\n };\r\n\r\n const onGoto = page => {\r\n switch (page) {\r\n case \"Inbox\":\r\n props.history.push(\"/Members/\");\r\n break;\r\n case \"Account\":\r\n props.history.push(\"/Members/Account\");\r\n break;\r\n\r\n default:\r\n console.log(\"On Goto, Nothing Happens\");\r\n break;\r\n }\r\n };\r\n\r\n const onLogout = () => {\r\n securityHelper.logout();\r\n window.location.href = `/api/account/logout`\r\n }\r\n\r\n const onClickAlert = (event, alert) => {\r\n if (alert.url) {\r\n props.history.push(alert.url);\r\n }\r\n onMarkRead(null, alert.alertId);\r\n };\r\n\r\n const onSupport = () => {\r\n props.history.push(\"/Members/Support\")\r\n }\r\n\r\n /* Render Methods */\r\n\r\n const renderName = () => {\r\n const truncate = (input) => input.length > MAX_NAME_LENGTH ? `${input.substring(0, MAX_NAME_LENGTH)}..` : input;\r\n return truncate(`${globalContext?.account?.response?.account?.firstName} ${globalContext?.account?.response?.account?.lastName}`); \r\n }\r\n\r\n const renderAlerts = () => {\r\n var unreadAlerts = globalContext.alerts.response.filter(\r\n alert => !alert.read\r\n );\r\n if (unreadAlerts.length > 0) {\r\n let currentAlert = unreadAlerts[0];\r\n return (\r\n onClickAlert(e, currentAlert)}\r\n >\r\n {t(currentAlert.message)}\r\n onMarkRead(e, currentAlert.alertId)}\r\n >\r\n ×\r\n \r\n \r\n );\r\n }\r\n };\r\n\r\n return (\r\n \r\n {\r\n e.preventDefault(); \r\n onGoto(\"Inbox\");\r\n }\r\n } >\r\n \r\n \r\n onMobileMenuButtonClick()}\r\n />\r\n {renderAlerts()}\r\n\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n \"Name\"\r\n
\r\n
\r\n \r\n {renderName()} {`(${globalContext?.account?.response?.account?.balance})`}\r\n \r\n
\r\n
\r\n \r\n onGoto(\"Inbox\")}>{t('Inbox')}\r\n onGoto(\"Account\")}>\r\n {t('Account')}\r\n \r\n onLogout()}>\r\n {t('Logout')}\r\n \r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\nexport default TopNav;\r\n","import IosListBoxOutline from \"react-ionicons/lib/IosListBoxOutline\";\r\nimport IosTrashOutline from \"react-ionicons/lib/IosTrashOutline\";\r\nimport IosSendOutline from \"react-ionicons/lib/IosSendOutline\";\r\nimport IosArchiveOutline from \"react-ionicons/lib/IosArchiveOutline\";\r\n\r\nexport default [\r\n { folderId: -4, name: \"Inbox\", icon: IosListBoxOutline },\r\n { folderId: -2, name: \"Forward Log\", icon: IosSendOutline },\r\n { folderId: -1, name: \"Deleted Items\", icon: IosTrashOutline },\r\n { folderId: -5, name: \"All Stored Items\", icon: IosArchiveOutline }\r\n ];","import React, { useState, useContext, useEffect, useRef } from 'react';\r\nimport { Nav, Button } from 'react-bootstrap';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport GlobalContext from 'context/globalContext';\r\nimport IosFolderOpenOutline from 'react-ionicons/lib/IosFolderOpenOutline';\r\nimport IosClose from 'react-ionicons/lib/IosClose';\r\nimport systemFolders from 'utilities/systemFolderUtility';\r\nimport Styles from './folders.module.css';\r\nimport SideBarStyles from 'styles/sidebar.module.css';\r\nimport { Scrollbars } from 'react-custom-scrollbars';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nimport './folders.css';\r\n\r\nconst Folders = (props) => {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ editMode, setEditMode ] = useState(false);\r\n\tconst [ newFolder, setNewFolder ] = useState('');\r\n\tconst [ saving, setSaving ] = useState(false);\r\n\tconst wrapperDivRef = useRef(null);\r\n\tconst [ t ] = useTranslation();\r\n\r\n\t//On mobile view, the left nav is only shown when the mobile menu button in topnav is clicked\r\n\tconst [ showLeftNavInMobileView, setShowLeftNavInMobileView ] = useState(false);\r\n\r\n\tuseEffect(\r\n\t\t() => {\r\n\t\t\tif (editMode) {\r\n\t\t\t\twrapperDivRef.current.scrollTop = wrapperDivRef.current.scrollHeight;\r\n\t\t\t}\r\n\t\t},\r\n\t\t[ editMode ]\r\n\t);\r\n\r\n\tglobalContext.events.subscribe('mobileMenuClick', (e) => setShowLeftNavInMobileView(!showLeftNavInMobileView));\r\n\r\n\t/* Events */\r\n\tconst onDeleteFolder = (e, folderId) => {\r\n\t\tconst onDeleteConfirmed = async () => {\r\n\t\t\tawait globalContext.folders.deleteFolder(folderId);\r\n\t\t\tsetNewFolder('');\r\n\t\t\tsetEditMode(false);\r\n\t\t\tglobalContext.dialog.setDialog({ visible: false });\r\n\t\t\tprops.setSelectedFolder(systemFolders[0]);\r\n\t\t};\r\n\r\n\t\tglobalContext.dialog.setDialog({\r\n\t\t\tvisible: true,\r\n\t\t\tbody: t('Are you sure you want to delete this folder?'),\r\n\t\t\tonConfirm: onDeleteConfirmed\r\n\t\t});\r\n\t};\r\n\r\n\tconst onNewFolderKeyUp = async (e) => {\r\n\t\tif (e.keyCode === 13) {\r\n\t\t\tonSaveFolder();\r\n\t\t}\r\n\t};\r\n\r\n\tconst onSaveFolder = async () => {\r\n\t\tif (!saving) {\r\n\t\t\tsetSaving(true);\r\n\t\t\tif (newFolder) {\r\n\t\t\t\tawait globalContext.folders.addFolder(newFolder);\r\n\t\t\t}\r\n\t\t\tsetNewFolder('');\r\n\t\t\tsetEditMode(false);\r\n\t\t\tsetSaving(false);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onSetEditMode = (show) => {\r\n\t\tsetNewFolder('');\r\n\t\tsetEditMode(!editMode);\r\n\t};\r\n\r\n\tconst onFolderClicked = (folder) => {\r\n\t\tprops.setSelectedFolder(folder);\r\n\t\tsetShowLeftNavInMobileView(false);\r\n\t};\r\n\r\n\t/* Render Methods */\r\n\r\n\tconst renderFolders = (folderArray) => {\r\n\t\tif (!folderArray) return;\r\n\t\treturn folderArray.map((folder) => {\r\n\t\t\tconst FolderIcon = folder.icon || IosFolderOpenOutline;\r\n\t\t\tconst isSystemFolder = !!folder.icon;\r\n\t\t\treturn (\r\n\t\t\t\t onFolderClicked(folder)}>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t{!isSystemFolder && editMode ? (\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tonDeleteFolder(e, folder.folderId);\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t''\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t{!isSystemFolder ? folder.name : t(folder.name)}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t});\r\n\t};\r\n\r\n\tconst renderNewFolder = () => {\r\n\t\tif (editMode) {\r\n\t\t\treturn (\r\n\t\t\t\t
\r\n\t\t\t\t\t setNewFolder(e.target.value)}\r\n\t\t\t\t\t\tonKeyUp={onNewFolderKeyUp}\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t{renderNewFolder()}\r\n\t\t\t\t onSetEditMode(!editMode)}\r\n\t\t\t\t>\r\n\t\t\t\t\t{editMode ? t('Cancel') : t('Add/Delete Folder')}\r\n\t\t\t\t\r\n\t\t\t\t{editMode && (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{saving ? : t('Save')}\r\n\t\t\t\t\t\r\n\t\t\t\t)}\r\n\t\t\t\r\n\t\t
\r\n\t);\r\n};\r\nexport default Folders;\r\n","import React from 'react';\r\n\r\nconst MailIcon = (props) => {\r\n\r\n\tlet imgsrc = '';\r\n\tif (props.mailType === 0) {\r\n\t\t//\"Letter\"\r\n\t\tif (props.mailAction === 2) {\r\n\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/shred.png`;\r\n\t\t} \r\n\t\telse if (props.mailAction === 3){\r\n\t\t\timgsrc= `${process.env.PUBLIC_URL}/images/returnToSender.png`;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tswitch (props.status) {\r\n\t\t\t\tcase 2: \r\n\t\t\t\t\t//\"UnopenedScan:\r\n\t\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/envelope.png`;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3: \r\n\t\t\t\t\t//\"OpenedAndScanned\"\r\n\t\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/store.png`;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 4:\r\n\t\t\t\t\t//Forwarded\r\n\t\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/fowarded.png`;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 6:\r\n\t\t\t\t\t//Shredded\r\n\t\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/shred.png`;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 7:\r\n\t\t\t\t\timgsrc= `${process.env.PUBLIC_URL}/images/returnToSender.png`;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/envelope.png`;\r\n\r\n\t\t\t\t// PendingScan,\r\n\t\t\t\t// PendingForward,\r\n\t\t\t\t// PendingShred,\r\n\t\t\t\t// Forwarded,\r\n\t\t\t\t// Shredded\r\n\t\t\t}\r\n\t\t}\r\n\t} else {\r\n\t\tswitch (props.status) {\r\n\t\t\tcase 2: \r\n\t\t\t\t//\"UnopenedScan:\r\n\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/parcel_store.png`;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3: \r\n\t\t\t\t//\"OpenedAndScanned\"\r\n\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/parcel_store.png`;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\t//Forwarded\r\n\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/parcel_forward.png`;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 6:\r\n\t\t\t\t//Shredded\r\n\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/parcel_shred.png`;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 7:\r\n\t\t\t\timgsrc= `${process.env.PUBLIC_URL}/images/returnToSender.png`;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\timgsrc = `${process.env.PUBLIC_URL}/images/box.png`;\r\n\t\t}\r\n\t}\r\n\treturn {props.status};\r\n};\r\n\r\nexport default MailIcon;\r\n","const mailStatusUtility = {\r\n getFriendlyName: (mailStatus, mailAction) => {\r\n if (mailAction === 2){\r\n return \"Shredded\";\r\n }\r\n else if (mailAction === 3){\r\n return \"Returned to sender\";\r\n }\r\n switch (mailStatus) {\r\n case 2:\r\n return \"Unopened\";\r\n case 3:\r\n return \"Opened and scanned\";\r\n case 4:\r\n return \"Forwarded\";\r\n case 5:\r\n case 6:\r\n return \"Shredded\"\r\n case 7:\r\n return \"Returned to sender\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n};\r\n\r\nexport default mailStatusUtility;\r\n","import mailStatusUtility from \"./mailStatusUtility\";\r\n\r\nconst mailActionUtility = {\r\n getFriendlyName: mailAction => {\r\n switch (mailAction) {\r\n case 0:\r\n return \"Pending Scan\";\r\n case 1:\r\n return \"Pending Forward\";\r\n case 4:\r\n return \"Pending Rescan\";\r\n default:\r\n return \"\";\r\n }\r\n },\r\n showScan: mailList => {\r\n for (let i = 0; i < mailList.length; i++) {\r\n let mailItem = mailList[i];\r\n let mailStatus = mailStatusUtility.getFriendlyName(mailItem.status);\r\n //Dont show scan if there is a pending action\r\n if (mailStatus === \"Unopened\" && !mailItem.mailActions){\r\n return true;\r\n }\r\n }\r\n return false;\r\n },\r\n showForwardShred: mailList => {\r\n let allowForward = false;\r\n for (let i = 0; i < mailList.length; i++) {\r\n let mailItem = mailList[i];\r\n let mailStatus = mailStatusUtility.getFriendlyName(mailItem.status);\r\n \r\n //Dont show forward or shred if there is a pending action\r\n if (mailItem.mailActions){\r\n return false;\r\n }\r\n\r\n switch (mailStatus) {\r\n case \"Unopened\":\r\n case \"Opened and scanned\":\r\n allowForward = true;\r\n break;\r\n default: \r\n break;\r\n }\r\n }\r\n return allowForward;\r\n },\r\n showCancel: mailList => {\r\n for (let i = 0; i < mailList.length; i++) {\r\n if (mailList[i].mailActions) return true;\r\n }\r\n return false;\r\n },\r\n showOpenScan: mailList => {\r\n let allowForward = false;\r\n for (let i = 0; i < mailList.length; i++) {\r\n let mailItem = mailList[i];\r\n let mailStatus = mailStatusUtility.getFriendlyName(mailItem.status);\r\n switch (mailStatus) {\r\n case \"Unopened\":\r\n case \"Opened and scanned\":\r\n allowForward = true;\r\n break;\r\n default:\r\n allowForward = false;\r\n }\r\n }\r\n return allowForward;\r\n },\r\n showDownload: mailList => {\r\n return mailList.length > 0;\r\n }\r\n};\r\n\r\nexport default mailActionUtility;\r\n","import React, { useState } from 'react';\r\nimport { Row, Dropdown } from 'react-bootstrap';\r\nimport Moment from 'react-moment';\r\nimport MailIcon from './MailIcon';\r\nimport mailStatusUtility from 'utilities/mailStatusUtility';\r\nimport { Checkbox } from 'pretty-checkbox-react';\r\nimport Styles from './mailItem.module.css';\r\nimport mailActionUtility from 'utilities/mailActionUtility';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nconst MailItem = (props) => {\r\n\tconst [ mailName, setMailName ] = useState(props.item.name);\r\n\tconst [ saving, setSaving ] = useState(false);\r\n\tconst [ editable, setEditable ] = useState(false);\r\n\tconst [ t ] = useTranslation();\r\n\r\n\tconst onNameChangeBlured = async () => {\r\n\t\tsetSaving(true);\r\n\t\tawait props.onUpdateName(props.item.mailId, mailName);\r\n\t\tsetSaving(false);\r\n\t\tsetEditable(false);\r\n\t};\r\n\r\n\tconst onEditableClick = (e) => {\r\n\t\te.stopPropagation();\r\n\t\tsetEditable(!editable);\r\n\t};\r\n\r\n\tconst onClick = (e) => {\r\n\t\tif (e.target.type === 'checkbox' || e.target.className === Styles.nameSpan) {\r\n\t\t\tprops.onClick(props.item);\r\n\t\t}else{\r\n\t\t\tprops.setActive(props.item)\r\n\t\t}\r\n\t};\r\n\r\n\tconst onCancel = () => {\r\n\t\tprops.onCancel(props.item.mailId);\r\n\t};\r\n\r\n\tconst onCheckedChanged = (e) => {\r\n\t\t//This is handled by onclick above.\r\n\t\t//Only put here to prevent warning1\r\n\t};\r\n\r\n\tconst mailOnFile = () => {\r\n\t\treturn props.item.status === 2 || props.item.status === 3;\r\n\t};\r\n\r\n\tconst pendingAction = () => {\r\n\t\treturn !(props.item.mailActions === null);\r\n\t};\r\n\r\n\t//Ellipsis Button ***************THIS IS CAUSING BUG ******************8\r\n\tconst CustomDropdownButton = React.forwardRef(({ children, onClick }, ref) => (\r\n\t\t// eslint-disable-next-line\r\n\t\t {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tonClick(e);\r\n\t\t\t}}\r\n\t\t>\r\n\t\t\t\r\n\t\t\r\n\t));\r\n\r\n\treturn (\r\n\t\t
  • \r\n\t\t\t{/* */}\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tanimation=\"jelly\"\r\n\t\t\t\t\t\t\t\t\t\t\tchecked={props.isChecked}\r\n\t\t\t\t\t\t\t\t\t\t\tonChange={onCheckedChanged}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t{!editable ? (\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t\t\t\t setMailName(e.target.value)}\r\n\t\t\t\t\t\t\t\t\t\t\t\tonBlur={(e) => onNameChangeBlured()}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t{!editable ? (\r\n\t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\t\t\t\t{' '}\r\n\t\t\t\t\t\t\t\t\t\t\t{props.item.dateScanned}\r\n\t\t\t\t\t\t\t\t\t\t{' '}\r\n\t\t\t\t\t\t\t\t\t\t|{props.item.weight}g\r\n\t\t\t\t\t\t\t\t\t\t| Mail Id: {props.item.mailId}\r\n\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t{props.item.blurb}\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\tMail Id: {props.item.mailId}\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t{t(mailStatusUtility.getFriendlyName(props.item.status, props.item.mailActions))}\r\n\t\t\t\t\t\t\t{props.item.mailActions !== null &&\r\n\t\t\t\t\t\t\tprops.item.mailActions !== 2 &&\r\n\t\t\t\t\t\t\tprops.item.mailActions !== 3 ? (\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{' '}\r\n\t\t\t\t\t\t\t\t\t|{' '}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{t(mailActionUtility.getFriendlyName(props.item.mailActions))}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t''\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t{/*
    */}\r\n\t\t
  • \r\n\t);\r\n};\r\n\r\nexport default MailItem;\r\n","import React, { useState } from 'react';\r\nimport { Button, Modal } from 'react-bootstrap';\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\n\r\n\r\nfunction ReturnToSenderModal(props) {\r\n\tconst [ reason, setReason ] = useState('');\r\n\tconst [ saving, setSaving ] = useState(false);\r\n\r\n\tconst saveReturnToSender = async () => {\r\n\t\tif (!saving) {\r\n setSaving(true);\r\n await props.saveReturnToSender(reason);\r\n\t\t\tsetSaving(false);\r\n\t\t\tprops.setShowReturnToSender(false);\r\n\t\t}\r\n };\r\n \r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\tReturn to sender\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t

    Why would you like this item returned to sender?

    \r\n\t\t\t\t

    \r\n\t\t\t\t\t\r\n \r\n \r\n {!props.domestic && \r\n <>\r\n \r\n Unit Value\r\n \r\n \r\n \r\n \r\n \r\n Why are you sending this parcel?\r\n \r\n setWhyAreYouSending(e.target.value)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {whyAreYouSending === \"Other\" && (\r\n \r\n Other reason\r\n \r\n setOtherReason(e.target.value)}\r\n >\r\n \r\n \r\n )}\r\n \r\n}\r\n \r\n \r\n Does this parcel contain dangerous or prohibited items?\r\n \r\n \r\n \r\n setDoesParcelContainDangerous(e.target.checked)\r\n }\r\n >\r\n {\" \"} \r\n \r\n setDoesParcelContainDangerous(!e.target.checked)\r\n }\r\n >\r\n {\" \"}\r\n \r\n

    \r\n \r\n Explosives, flammables (e.g. perfume, nail polish),\r\n corrosives and aerosols are examples of items considered\r\n dangerous and unsuitable for sending from Australia.\r\n \r\n

    \r\n \r\n \r\n \r\n What if this parcel can't be delivered?\r\n \r\n \r\n setWhatIfParcelCantBeDelivered(\"Return to Sender\")\r\n }\r\n >\r\n {\" \"} \r\n \r\n setWhatIfParcelCantBeDelivered(\"Treat as abandoned\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n I confirm that the information given in this form is true,\r\n complete and accurate?\r\n setAccept(e.target.checked)}\r\n >\r\n \r\n \r\n \r\n \r\n {accept && (\r\n \r\n Send\r\n
    \r\n \r\n )}\r\n \r\n \r\n {showError &&\r\n \r\n \r\n You must include a description\r\n \r\n \r\n}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CustomForm;\r\n","import React from \"react\";\r\nimport { Row, Col, Container, Button } from \"react-bootstrap\";\r\nimport SfaAnimation from \"sppro-sfa-animations\";\r\nimport Styles from \"./forward.module.css\";\r\n\r\nconst CustomForm = props => {\r\n return (\r\n \r\n \r\n
    \r\n
    \r\n \"Sent\"\r\n \r\n \r\n \r\n \r\n

    \r\n Your mail will be posted within 1 business day\r\n

    \r\n \r\n
    \r\n \r\n \r\n \r\n Back to inbox\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default CustomForm;\r\n","import React from \"react\";\r\nimport { Row, Col, Container } from \"react-bootstrap\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport Styles from \"./forward.module.css\";\r\n\r\nfunction Sending(props) {\r\n return (\r\n \r\n \r\n
    \r\n
    \r\n \"Sent\"\r\n \r\n \r\n \r\n

    \r\n Creating transaction...\r\n

    \r\n

    please do not close or refresh the page..

    \r\n \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n )\r\n}\r\n\r\nexport default Sending;","import React, { useContext } from \"react\";\r\nimport { Row, Col, Container, Button } from \"react-bootstrap\";\r\nimport Styles from \"./forward.module.css\";\r\nimport GlobalContext from \"context/globalContext\";\r\n\r\nfunction Error(props) {\r\n const globalContext = useContext(GlobalContext);\r\n\r\n const onUpdatePaymentMethod = () => {\r\n globalContext.accountSettings.setNav(\"payment-method\");\r\n props.history.push(\"/Members/Account\");\r\n }\r\n\r\n const onMakeManualPayment = () => {\r\n globalContext.accountSettings.setNav(\"once-off-payment\");\r\n props.history.push(\"/Members/Account\");\r\n }\r\n\r\n return (\r\n \r\n \r\n
    \r\n
    \r\n \"Sent\"\r\n \r\n \r\n \r\n

    \r\n Your account has insufficient funds and there was an error charging your credit card.\r\n Manually top up your account, update your credit card or try again.\r\n

    \r\n \r\n
    \r\n \r\n \r\n \r\n Update Payment Method\r\n \r\n \r\n Make a manual payment\r\n \r\n\r\n \r\n Try again\r\n \r\n \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n )\r\n}\r\n\r\nexport default Error;","import React, { useState, useContext } from 'react';\r\nimport TopNav from 'components/members/topnav';\r\nimport SelectAddress from './SelectAddress';\r\nimport ServiceSelect from './ServiceSelect';\r\nimport CustomForm from './CustomForm';\r\nimport Sent from './Sent';\r\nimport mailService from 'services/mailService';\r\nimport Sending from './Sending';\r\nimport Error from './Error';\r\nimport GlobalContext from 'context/globalContext';\r\n\r\nconst PAGES = {\r\n\tselectAddress: 'selectAddress',\r\n\tserviceSelect: 'serviceSelect',\r\n\tcustomForm: 'customForm',\r\n\tsent: 'sent',\r\n\terror: 'error',\r\n\tsending: 'sending'\r\n};\r\n\r\nconst Forward = (props) => {\r\n\tconst [ currentPage, setCurrentPage ] = useState(PAGES.selectAddress);\r\n\tconst [ forwardDetails, setForwardDetails ] = useState({});\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ forwardFormSaved, setForwardFormSaved ] = useState();\r\n\r\n\tif (!globalContext.forward.response.mailIds || globalContext.forward.response.mailIds.length === 0) {\r\n\t\tprops.history.push('/Members');\r\n\t}\r\n\r\n\tconst saveForward = async (forwardForm) => {\r\n\t\tsetCurrentPage(PAGES.sending);\r\n\t\tvar success = await mailService.forwardMail(forwardForm);\r\n\t\tif (success) {\r\n\t\t\tsetCurrentPage(PAGES.sent);\r\n\t\t} else {\r\n\t\t\t//incase they click try again\r\n\t\t\tsetForwardFormSaved(forwardForm);\r\n\t\t\tsetCurrentPage(PAGES.error);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onSelectAddressNext = (selectedAddress) => {\r\n\t\tsetForwardDetails({ addressId: parseInt(selectedAddress) });\r\n\t\tsetCurrentPage(PAGES.serviceSelect);\r\n\t};\r\n\r\n\tconst onSelectAddressBack = () => {\r\n\t\tprops.history.push('/Members');\r\n\t};\r\n\r\n\tconst onServiceSelectNext = (service) => {\r\n\t\tsetForwardDetails({ ...forwardDetails, ...service });\r\n\t\t\r\n\t\tif (!globalContext.forward?.response?.list.service[0]?.isDomestic || globalContext.forward?.response?.list.service[0]?.isParcel) {\r\n\t\t\tsetCurrentPage(PAGES.customForm);\r\n\t\t} else {\r\n\t\t\tsaveForward({\r\n\t\t\t\t...forwardDetails,\r\n\t\t\t\tmailIds: globalContext.forward.response.mailIds.map((mail) => mail.mailId),\r\n\t\t\t\t...service\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\r\n\tconst onServiceSelectBack = () => {\r\n\t\tsetCurrentPage(PAGES.selectAddress);\r\n\t};\r\n\r\n\tconst onCustomFormNext = (customForm) => {\r\n\t\t// setForwardDetails({...forwardDetails, customForm});\r\n\t\tsaveForward({\r\n\t\t\t...forwardDetails,\r\n\t\t\tmailIds: globalContext.forward.response.mailIds.map((mail) => mail.mailId),\r\n\t\t\tcustomForm\r\n\t\t});\r\n\t};\r\n\r\n\tconst onCustomFormBack = () => {\r\n\t\tsetCurrentPage(PAGES.serviceSelect);\r\n\t};\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t{currentPage === PAGES.selectAddress && (\r\n\t\t\t\t\r\n\t\t\t)}\r\n\r\n\t\t\t{currentPage === PAGES.serviceSelect && (\r\n\t\t\t\t\r\n\t\t\t)}\r\n\r\n\t\t\t{currentPage === PAGES.customForm && }\r\n\r\n\t\t\t{currentPage === PAGES.sending && }\r\n\r\n\t\t\t{currentPage === PAGES.error && (\r\n\t\t\t\t saveForward(forwardFormSaved)} />\r\n\t\t\t)}\r\n\r\n\t\t\t{currentPage === PAGES.sent && props.history.push('/Members')} />}\r\n\t\t\r\n\t);\r\n};\r\nexport default Forward;\r\n","import axios from 'axios';\r\n\r\nexport default {\r\n\temail: async (email, subject, message) => {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\taxios({\r\n\t\t\t\turl: `/api/Support/Email?webpage=${window.webpageDetails.webpageName}`,\r\n\t\t\t\tdata: {email, subject, message},\r\n\t\t\t\tmethod: 'POST'\r\n\t\t\t})\r\n\t\t\t\t.then((response) => {\r\n\t\t\t\t\tresolve(response.data);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((response) => {\r\n\t\t\t\t\tconsole.log('Error emailing support', response);\r\n\t\t\t\t\treject();\r\n\t\t\t\t});\r\n\t\t});\r\n\t}\r\n};\r\n","import React, { useState, useContext, useEffect } from 'react';\r\nimport TopNav from 'components/members/topnav';\r\nimport { Row, Col, Container, Form, Button, Alert } from 'react-bootstrap';\r\nimport styles from './support.module.css';\r\nimport GlobalContext from 'context/globalContext';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport supportService from 'services/supportService';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nfunction Support(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tvar [ email, setEmail ] = useState(globalContext.account.response.account.email);\r\n\tvar [ subject, setSubject ] = useState('');\r\n\tvar [ message, setMessage ] = useState('');\r\n\tvar [ sending, setSending ] = useState(false);\r\n\tvar [ sendSuccess, setSendSuccess ] = useState(false);\r\n\tvar [ sendFail, setSendFail ] = useState(false);\r\n\tconst [ t ] = useTranslation();\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tconst gotoMembers = () => props.history.push(\"/members\");\r\n\r\n\t\tglobalContext.events.subscribe('mobileMenuClick', gotoMembers );\r\n\t\treturn () => {\r\n\t\t\tglobalContext.events.unsubscribe('mobileMenuClick', gotoMembers );\r\n\t\t\t\r\n\t\t}\r\n\t}, []);\r\n\t\r\n\r\n\tconst onSend = async () => {\r\n\t\tif (!sending) {\r\n\t\t\ttry {\r\n\t\t\t\tsetSendFail(false);\r\n\t\t\t\tsetSendSuccess(false);\r\n\t\t\t\tsetSending(true);\r\n\t\t\t\tawait supportService.email(email, subject, message);\r\n\t\t\t\tsetSendSuccess(true);\r\n\t\t\t\tsetSubject(\"\");\r\n\t\t\t\tsetMessage(\"\");\r\n\t\t\t\tsetSending(false);\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tsetSendSuccess(false);\r\n\t\t\t\t}, 3000);\r\n\t\t\t} catch (ex) {\r\n\t\t\t\tsetSending(false);\r\n\t\t\t\tsetSendFail(true);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\"support\"\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t

    {t('Get in touch')}

    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t('Best contact')}\r\n\t\t\t\t\t\t\t setEmail(e.target.value)}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t('Subject')}\r\n\t\t\t\t\t\t\t setSubject(e.target.value)}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t('Message')}\r\n\t\t\t\t\t\t\t setMessage(e.target.value)}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t{sendSuccess && (\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{t('Email has been sent')}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t\t{sendFail && (\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{t('Unable to send email. Please send directly to')} {window.webpageDetails.email}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t\t \t\r\n\t\t\t\t\t\t\tView our instructional video by clicking here\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default Support;\r\n","import React from 'react';\r\nimport { Container } from 'react-bootstrap';\r\nimport PaymentForm from 'components/members/accountSettings/elements/PaymentForm';\r\nimport styles from './paymentRequired.module.css';\r\n\r\nconst PaymentRequired = (props) => {\r\n\r\n\tconst onAfterSave = (result) => {\r\n\t\twindow.location.href = \"/Members\";\r\n\t};\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t

    Payment Required

    \r\n\t\t\t
    You must update your credit card before continuing
    \r\n\t\t\t;\r\n\t\t
    \r\n\t);\r\n};\r\n\r\nexport default PaymentRequired;\r\n","import React, { useContext } from \"react\";\r\nimport { Navbar } from \"react-bootstrap\";\r\nimport GlobalContext from \"context/globalContext\";\r\nimport IosMenu from \"react-ionicons/lib/IosMenu\";\r\nimport Styles from \"./publicTopNav.module.css\";\r\n\r\nconst TopNav = props => {\r\n const globalContext = useContext(GlobalContext);\r\n\r\n /* Events */\r\n const onMobileMenuButtonClick = () => {\r\n globalContext.events.publish(\"mobileMenuClick\");\r\n };\r\n\r\n const onGoto = page => {\r\n switch (page) {\r\n case \"Account\":\r\n props.history.push(\"/Members/Account\");\r\n break;\r\n default:\r\n console.log(\"On Goto, Nothing Happens\");\r\n break;\r\n }\r\n };\r\n\r\n /* Render Methods */\r\n\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default TopNav;\r\n","import React from \"react\";\r\nimport PublicTopNav from \"components/public/publicTopNav/PublicTopNav.jsx\";\r\nimport { Container, Alert } from \"react-bootstrap\";\r\n\r\nfunction LoginGuard(props) {\r\n return (\r\n \r\n \r\n \r\n \r\n

    Login Guard Verification Required

    \r\n

    \r\n We noticed that you're attempting to log in from an unauthenticated\r\n browser.\r\n

    \r\n

    \r\n Before you can access your account you will need to verify your\r\n browser. A link has been sent to your email, please open the link in\r\n this browser to complete browser verification.\r\n

    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default LoginGuard;\r\n","export default {\r\n\tfindWithAttr: (array, attr, value) => {\r\n\t\tfor (var i = 0; i < array.length; i += 1) {\r\n\t\t\tif (array[i][attr] === value) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn -1;\r\n\t},\r\n\tgroupBy: (xs, key) => {\r\n\t\treturn xs.reduce(function(rv, x) {\r\n\t\t\t(rv[x[key]] = rv[x[key]] || []).push(x);\r\n\t\t\treturn rv;\r\n\t\t}, {});\r\n\t}\r\n};\r\n","export default {\r\n randomGuid: () => {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\r\n var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);\r\n return v.toString(16);\r\n });\r\n }\r\n \r\n}","import React from 'react';\r\nimport { Col, Card } from 'react-bootstrap';\r\nimport guidUtility from 'utilities/guidUtility';\r\nimport styles from './chooseAddress.module.css';\r\n\r\nfunction AddressElement(props) {\r\n\tvar offSet = props.index !== 0 && props.index % 2 === 0 ? 2 : 0;\r\n\tvar checkboxId = guidUtility.randomGuid();\r\n\r\n\tconst onChange = (e) => {\r\n\t\tprops.onSelect(props.id, e.target.checked);\r\n\t};\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\tNote: {props.note}\r\n\t\t\t\t\t
    \r\n\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\r\n\t);\r\n}\r\n\r\nexport default AddressElement;\r\n","import React from 'react';\r\nimport { Col, Row } from 'react-bootstrap';\r\nimport AddressElement from './AddressElement';\r\nimport styles from './chooseAddress.module.css';\r\n\r\nfunction AddressRow(props) {\r\n\tconsole.log(\"props\", props);\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t

    {props.state}

    \r\n\t\t\t\r\n\t\t\t{props.locations.map((location, index) => (\r\n -1}\r\n\t\t\t\tnote={location.note}\r\n\r\n\t\t\t\t/>\r\n\t\t\t))}\r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default AddressRow;\r\n","import React, { useContext, useEffect, useState } from 'react';\r\nimport { Col, Row, Button, Alert } from 'react-bootstrap';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport GlobalContext from 'context/globalContext';\r\nimport arrayUtility from 'utilities/arrayUtility';\r\nimport AddressRow from './AddressRow';\r\nimport styles from './chooseAddress.module.css';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nfunction ChooseAddress(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ selectedLocations, setSelectedLocations ] = useState([]);\r\n\tconst [ saving, setSaving ] = useState(false);\r\n\tconst [ t ] = useTranslation();\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tconst getLocations = async () => {\r\n\t\t\tglobalContext.location.getAll();\r\n\t\t\tglobalContext.location.getUserLocations();\r\n\t\t};\r\n\t\tgetLocations();\r\n\t}, []);\r\n\r\n\tuseEffect(\r\n\t\t() => {\r\n\t\t\tif (globalContext.location.response.userLocations) {\r\n\t\t\t\tvar idList = globalContext.location.response.userLocations.map((location) => location.locationId);\r\n\t\t\t\tsetSelectedLocations(idList);\r\n\t\t\t}\r\n\t\t},\r\n\t\t[ globalContext.location.response ]\r\n\t);\r\n\r\n\tif (!globalContext.location.response.locations) {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n\r\n\tconst onSave = async () => {\r\n\t\tsetSaving(true);\r\n\t\tawait globalContext.location.saveLocations(selectedLocations);\r\n\t\tsetSaving(false);\r\n\t\tif (props.onSaved){\r\n\t\t\tprops.onSaved();\r\n\t\t}\r\n\t};\r\n\r\n\tconst groupedLocations = arrayUtility.groupBy(globalContext.location.response.locations, 'state');\r\n\r\n\tconst setSelected = (id, checked) => {\r\n\t\tvar newSelectedLocations = [ ...selectedLocations ];\r\n\t\tif (checked) {\r\n\t\t\tnewSelectedLocations.push(id);\r\n\t\t} else {\r\n\t\t\tnewSelectedLocations = newSelectedLocations.filter((a) => a !== id);\r\n\t\t}\r\n\t\tsetSelectedLocations(newSelectedLocations);\r\n\t};\r\n\r\n\tconst renderLocations = () => {\r\n\t\tlet rows = [];\r\n\t\tlet index = 0;\r\n\t\tfor (let state in groupedLocations) {\r\n\t\t\trows.push(\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\t\treturn rows;\r\n\t};\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t

    {t('Available Addresses')}

    \r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tPlease note - The PO Box has the fastest mail processing. Street address for courier services available by request after registration. \r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{renderLocations()}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{selectedLocations.length > 0 && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t)}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default ChooseAddress;\r\n","import React, { useContext, useEffect, useState } from 'react';\r\nimport PaymentForm from 'components/members/accountSettings/elements/PaymentForm';\r\nimport { Col, Row, Button } from 'react-bootstrap';\r\nimport GlobalContext from 'context/globalContext';\r\nimport styles from './chooseAddress.module.css';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nfunction PaymentWrapper(props) {\r\n\tconst [ showNext, setShowNext ] = useState(false);\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ loading, setLoading ] = useState(false);\r\n\tconst showNextButton = showNext || globalContext.account.response.account.activePayment;\r\n\tconst [ t ] = useTranslation();\r\n\r\n\tuseEffect(() => {\r\n\t\tif (!globalContext.plan.response.plans) {\r\n\t\t\tglobalContext.plan.getAll();\r\n\t\t}\r\n\t}, []);\r\n\r\n\tconst onNext = async () => {\r\n\t\tif (!loading) {\r\n\t\t\tsetLoading(true);\r\n\t\t\tawait globalContext.account.registrationComplete();\r\n\t\t\tprops.onSaved();\r\n\t\t\tsetLoading(false);\r\n\t\t}\r\n\t};\r\n\r\n\tif (!globalContext.plan.response.plans) {\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t {\r\n\t\t\t\t\tsetShowNext(true);\r\n\t\t\t\t\tonNext();\r\n\t\t\t\t}}\r\n\t\t\t\tsignup={true}\r\n\t\t\t/>\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{showNextButton && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t)}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t);\r\n}\r\n\r\nexport default PaymentWrapper;\r\n","import React, { useState, useContext } from 'react';\r\nimport Stepper from 'react-stepper-horizontal-sppro';\r\nimport Settings from 'components/members/accountSettings/elements/Settings';\r\nimport ChooseAddress from './ChooseAddress.jsx';\r\nimport PaymentWrapper from './PaymentWrapper.jsx';\r\nimport ChoosePlan from './ChoosePlan';\r\nimport styles from 'styles/dropdownContainer.module.css';\r\nimport { useEffect } from 'react';\r\nimport useWindowSize from 'hooks/useWindowSize';\r\nimport GlobalContext from 'context/globalContext';\r\nimport qs from 'qs';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nimport { REGISTER_STEP, CHOOSE_ADDRESS_STEP, CHOOSE_PLAN, CHOOSE_PAYMENT_STEP } from './SignupSteps';\r\n\r\nfunction Signup(props) {\r\n\tconst [ activeStep, setActiveStep ] = useState(REGISTER_STEP);\r\n\tconst [ stepTitles, setStepTitles ] = useState([]);\r\n\tconst [ firstName, setFirstName ] = useState('');\r\n\tconst [ lastName, setLastName ] = useState('');\r\n\tconst [ email, setEmail ] = useState('');\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst size = useWindowSize();\r\n\tconst [ t ] = useTranslation();\r\n\r\n\tuseEffect(() => {\r\n\t\tvar queryString = qs.parse(window.location.search, { ignoreQueryPrefix: true });\r\n\t\tif (queryString.firstName) {\r\n\t\t\tsetFirstName(queryString.firstName);\r\n\t\t\tsetLastName(queryString.lastName);\r\n\t\t\tsetEmail(queryString.email);\r\n\t\t}\r\n\t}, []);\r\n\r\n\tuseEffect(\r\n\t\t() => {\r\n\t\t\tif (window.outerWidth >= 768) {\r\n\t\t\t\tsetStepTitles(window.webpageDetails.signupSettings.fullWidth);\r\n\t\t\t} else {\r\n\t\t\t\tsetStepTitles(window.webpageDetails.signupSettings.mobileWidth);\r\n\t\t\t}\r\n\t\t},\r\n\t\t[ size ]\r\n\t);\r\n\r\n\tconst onSignupComplete = async () => {\r\n\t\twindow.location.href = '/Signup-Complete';\r\n\t};\r\n\r\n\tconst onPlanSaved = async () => {\r\n\t\tif (window.location.search.indexOf('noCreditCard') > -1) {\r\n\t\t\tawait globalContext.account.registrationComplete(true);\r\n\t\t\twindow.location.href = '/Signup-Complete';\r\n\t\t} else {\r\n\t\t\tsetActiveStep(window.webpageDetails.signupSettings.getNextStep(CHOOSE_PLAN));\r\n\t\t}\r\n\t};\r\n\r\n\tconst renderSteps = () => {\r\n\t\treturn stepTitles.map((a) => {\r\n\t\t\treturn { title: t(a) };\r\n\t\t});\r\n\t};\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t{activeStep === REGISTER_STEP && (\r\n\t\t\t\t\t\t {\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tlet nextStep = window.webpageDetails.signupSettings.getNextStep(REGISTER_STEP);\r\n\t\t\t\t\t\t\t\tsetActiveStep(nextStep);\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\tsignup={true}\r\n\t\t\t\t\t\t\tuser={{ firstName, lastName, email }}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t{activeStep === CHOOSE_ADDRESS_STEP && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tsetActiveStep(REGISTER_STEP)}\r\n\t\t\t\t\t\t\tonSaved={() => setActiveStep(CHOOSE_PLAN)}\r\n\t\t\t\t\t\t\tsignup={true}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t{activeStep === CHOOSE_PLAN && onPlanSaved()} signup={true} />}\r\n\r\n\t\t\t\t\t{activeStep === CHOOSE_PAYMENT_STEP && (\r\n\t\t\t\t\t\t setActiveStep(CHOOSE_ADDRESS_STEP)}\r\n\t\t\t\t\t\t\tonSaved={() => onSignupComplete()}\r\n\t\t\t\t\t\t\tsignup={true}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default Signup;\r\n","import { useState, useEffect } from 'react';\r\n\r\nexport default function useWindowSize() {\r\n const isClient = typeof window === 'object';\r\n \r\n function getSize() {\r\n return {\r\n width: isClient ? window.innerWidth : undefined,\r\n height: isClient ? window.innerHeight : undefined\r\n };\r\n }\r\n \r\n const [windowSize, setWindowSize] = useState(getSize);\r\n \r\n useEffect(() => {\r\n if (!isClient) {\r\n return false;\r\n }\r\n \r\n function handleResize() {\r\n setWindowSize(getSize());\r\n }\r\n \r\n window.addEventListener('resize', handleResize);\r\n return () => window.removeEventListener('resize', handleResize);\r\n }, []); // Empty array ensures that effect is only run on mount and unmount\r\n \r\n return windowSize;\r\n }","import React from 'react';\r\nimport PublicTopNav from 'components/public/publicTopNav/PublicTopNav.jsx';\r\nimport { Container, Alert } from 'react-bootstrap';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nfunction RegistrationComplete(props) {\r\n\tconst [ t ] = useTranslation();\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t

    {t('Signup Complete')}

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{t('Thank you for registering. You will receive an email with your addresses, if you do not receive it shortly, check your junk folder.')}\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{t('While you can start sending us mail immediately, you will need to verify your identity through the simple automated process in your account before accessing or forwarding received mail.')}\r\n\t\t\t\t\t

    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default RegistrationComplete;\r\n","import React, { useState, useContext, useCallback } from 'react';\r\nimport styles from './login.module.css';\r\n\r\nfunction HomePage(props) {\r\n\tconst onLogin = () => {\r\n props.history.push(\"/members\");\r\n };\r\n\r\n const onSignup = () => {\r\n props.history.push(\"/Signup\");\r\n };\r\n\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\"Hotsnail\r\n\t\t\t\t
    \r\n\r\n\t\t\t\t
    \r\n\t\t\t\t\t\r\n \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default HomePage;\r\n","import { useRef, useEffect } from 'react';\r\n// Hook\r\nfunction useEventListener(eventName, handler, element = window){\r\n // Create a ref that stores handler\r\n const savedHandler = useRef();\r\n \r\n // Update ref.current value if handler changes.\r\n // This allows our effect below to always get latest handler ...\r\n // ... without us needing to pass it in effect deps array ...\r\n // ... and potentially cause effect to re-run every render.\r\n useEffect(() => {\r\n savedHandler.current = handler;\r\n }, [handler]);\r\n \r\n useEffect(\r\n () => {\r\n // Make sure element supports addEventListener\r\n // On \r\n const isSupported = element && element.addEventListener;\r\n if (!isSupported) return;\r\n \r\n // Create event listener that calls handler function stored in ref\r\n const eventListener = event => savedHandler.current(event);\r\n \r\n // Add event listener\r\n element.addEventListener(eventName, eventListener);\r\n \r\n // Remove event listener on cleanup\r\n return () => {\r\n element.removeEventListener(eventName, eventListener);\r\n };\r\n },\r\n [eventName, element] // Re-run if eventName or element changes\r\n );\r\n };\r\n\r\n export default useEventListener;","import React, { useState, useContext, useCallback, useEffect } from 'react';\r\nimport GlobalContext from 'context/globalContext';\r\nimport { Alert, Form } from 'react-bootstrap';\r\nimport qs from 'qs';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport styles from './login.module.css';\r\nimport useEventListener from 'hooks/useEventListener';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nconst DEFAULT_REDIRECT = '/Members';\r\n\r\nfunction Login(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [login, setLogin] = useState('');\r\n\tconst [password, setPassword] = useState('');\r\n\tconst [loginFailed, setLoginFailed] = useState(false);\r\n\tconst [validationFailed, setValidationFailed] = useState(true);\r\n\tconst [loading, setLoading] = useState(false);\r\n\tconst [keepMeSignedIn, setKeepMeSignedIn] = useState(false);\r\n\tconst [t] = useTranslation();\r\n\tconst [showMessage, setShowMessage] = useState(\"\");\r\n\tconst [showLoginGuard, setShowLoginGuard] = useState(false);\r\n\tconst [showIncorrectLoginGuard, setShowIncorrectLoginGuard] = useState(false);\r\n\tconst [loginGuard, setLoginGuard] = useState(\"\");\r\n\tconst handleClick = useCallback(\r\n\t\t(e) => {\r\n\t\t\tif (e.key === 'Enter') {\r\n\t\t\t\tonLogin();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\r\n\t\t[login, password]\r\n\t);\r\n\r\n\tuseEffect(() => {\r\n\t\tsetShowMessage(qs.parse(props?.location?.search, { ignoreQueryPrefix: true }).message);\r\n\r\n\t}, []);\r\n\r\n\tuseEventListener('keypress', handleClick);\r\n\r\n\tconst onLoginChange = (e) => {\r\n\t\tsetLogin(e.target.value);\r\n\t\tsetValidationFailed(true);\r\n\t};\r\n\r\n\tconst onPasswordChange = (e) => {\r\n\t\tsetPassword(e.target.value);\r\n\t\tsetValidationFailed(true);\r\n\t};\r\n\r\n\tconst onLogin = async () => {\r\n\t\tif (!loading) {\r\n\t\t\tsetLoading(true);\r\n\t\t\tif (!login || !password) {\r\n\t\t\t\tsetValidationFailed(false);\r\n\t\t\t} else {\r\n\t\t\t\tlet response = await globalContext.login.doLogin(login, password, loginGuard, keepMeSignedIn);\r\n\t\t\t\tif (response === null) {\r\n\t\t\t\t\tsetLoginFailed(true);\r\n\t\t\t\t\tsetLoading(false);\r\n\t\t\t\t} \r\n\t\t\t\telse if (response === 'loginGuardRequired') {\r\n\t\t\t\t\tif (showLoginGuard || showIncorrectLoginGuard) {\r\n\t\t\t\t\t\tsetShowIncorrectLoginGuard(true)\r\n\t\t\t\t\t\tsetShowLoginGuard(false);\r\n\t\t\t\t\t\tsetLoading(false);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsetShowLoginGuard(true);\r\n\t\t\t\t\t\tsetLoading(false);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tglobalContext.account.load(response);\r\n\r\n\t\t\t\t\tif (response?.language) {\r\n\t\t\t\t\t\tprops.setLanguage(response.language);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tsetLoginFailed(false);\r\n\t\t\t\t\tvar query = qs.parse(props?.location?.search, { ignoreQueryPrefix: true });\r\n\r\n\t\t\t\t\tvar redirect = query.redirect;\r\n\r\n\t\t\t\t\tif (redirect) {\r\n\t\t\t\t\t\twindow.location.href = redirect;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tprops.history.push(DEFAULT_REDIRECT);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\"Hotsnail\r\n\t\t\t\t
    \r\n\r\n\t\t\t\t
    \r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{(showLoginGuard || showIncorrectLoginGuard) &&\r\n\t\t\t\t\t\t setLoginGuard(e.target.value)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t setKeepMeSignedIn(e.target.checked)} />\r\n\t\t\t\t\t\r\n\t\t\t\t\t{loginFailed && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t(\"Incorrect email or password\")}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t)}\r\n\t\t\t\t\t{!validationFailed && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t('Email and password can not be blank')}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t)}\r\n\t\t\t\t\t{showMessage &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{t(showMessage)}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{showLoginGuard &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\tUnrecognized device
    A code has been emailed to you\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t}\r\n\t\t\t\t\t{showIncorrectLoginGuard &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\tIncorrect login guard code
    Please check your email and try again\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default Login;\r\n","import React, { useState, useContext, useCallback } from 'react';\r\nimport loginStyles from './login.module.css';\r\nimport styles from './loginChoice.module.css';\r\n\r\nfunction LoginChoice(props) {\r\n\r\n\tconst onLogin = () => {\r\n\t\tprops.history.push('/Login');\r\n\t};\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t window.location.href = \"https://secure.hotsnail.com.au/\" }\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tHotSnail Classic
    (Read only)\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\r\n Version 2 \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default LoginChoice;\r\n","import React, { useState, useContext } from 'react';\r\nimport GlobalContext from 'context/globalContext';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport styles from './login.module.css';\r\n\r\nfunction ForgotPassword(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n const [loading, setLoading] = useState(false);\r\n\tconst [ login, setLogin ] = useState('');\r\n const [ passwordSent, setPasswordSent] = useState(false);\r\n\r\n const onSend = async () => {\r\n if (!loading){\r\n setLoading(true);\r\n await globalContext.account.sendResetPassword(login);\r\n setLoading(false);\r\n setPasswordSent(true);\r\n }\r\n\r\n }\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\"Hotsnail\r\n\t\t\t\t
    \r\n {!passwordSent ? (\r\n\t\t\t\t
    \r\n\t\t\t\t\t setLogin(e.target.value) }\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n )\r\n : (\r\n
    \r\n A reset link has been sent to {login}. If you do not receive it in 5 minutes please check your junk folder\r\n
    \r\n )}\r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default ForgotPassword;\r\n","import React, { useState, useContext } from 'react';\r\nimport GlobalContext from 'context/globalContext';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport qs from 'qs';\r\nimport styles from './login.module.css';\r\n\r\nfunction ResetPassword(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ loading, setLoading ] = useState(false);\r\n\tconst [ password, setPassword ] = useState('');\r\n\tconst [ password2, setPassword2 ] = useState('');\r\n\tconst [ passwordSent, setPasswordSent ] = useState(false);\r\n\r\n\tconst onReset = async () => {\r\n\t\tif (!loading) {\r\n\t\t\tif (password === password2) {\r\n//\t\t\t\ttry {\r\n\t\t\t\t\tsetLoading(true);\r\n\t\t\t\t\tvar resetCode = qs.parse(window.location.search, { ignoreQueryPrefix: true }).reset;\r\n\t\t\t\t\tvar email = qs.parse(window.location.search, { ignoreQueryPrefix: true }).email;\r\n\t\t\t\t\tawait globalContext.account.resetPassword(email, password, resetCode);\r\n\t\t\t\t\tsetLoading(false);\r\n\t\t\t\t\tsetPasswordSent(true);\r\n//\t\t\t\t} catch (ex) {\r\n// alert(\"Unable to reset password\");\r\n// }\r\n\t\t\t} else {\r\n\t\t\t\talert('Passwords do not match');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\"Hotsnail\r\n\t\t\t\t
    \r\n\t\t\t\t{!passwordSent ? (\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t setPassword(e.target.value)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t setPassword2(e.target.value)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t) : (\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\tYour password has been reset, click here to login\r\n\t\t\t\t\t
    \r\n\t\t\t\t)}\r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default ResetPassword;\r\n","/* Will Be redireced to this page from email, it will send verificaion code ot api and then \r\nredirect automatically */\r\n\r\nimport React, { useEffect, useContext, useState } from 'react';\r\nimport PublicTopNav from 'components/public/publicTopNav/PublicTopNav.jsx';\r\nimport { Container, Spinner } from 'react-bootstrap';\r\nimport GlobalContext from 'context/globalContext';\r\nimport qs from 'qs';\r\n\r\nfunction EmailVerification(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst [ message, setMessage ] = useState('');\r\n\r\n\tuseEffect(() => {\r\n\t\tconst submitVerification = async () => {\r\n\t\t\tvar code = encodeURIComponent(qs.parse(props.location.search, { ignoreQueryPrefix: true }).q);\r\n\t\t\tvar approved = await globalContext.verification.submitEmailVerification(code);\r\n\t\t\tif (approved) {\r\n\t\t\t\twindow.location.href = '/Members/';\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage('Invalid code. Email has not been approved');\r\n\t\t\t}\r\n\t\t};\r\n\t\tsubmitVerification();\r\n\t}, []);\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t{!message && }\r\n\t\t\t\t\t{message}\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default EmailVerification;\r\n","import React from \"react\";\r\nimport PublicTopNav from \"components/public/publicTopNav/PublicTopNav.jsx\";\r\nimport { Container, Alert } from \"react-bootstrap\";\r\n\r\nfunction EmailGuard(props) {\r\n return (\r\n \r\n \r\n \r\n \r\n

    Email Verification Required

    \r\n

    \r\n Your email address has not been verified, to verify your email address check your \r\n inbox. If you do not find the email, also check your junk/spam folder.\r\n

    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default EmailGuard;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport PublicTopNav from \"components/public/publicTopNav/PublicTopNav.jsx\";\r\nimport { Container, Alert } from \"react-bootstrap\";\r\nimport qs from \"qs\";\r\nimport axios from \"axios\";\r\nimport * as config from 'config.js';\r\n\r\nfunction LoginGuard(props) {\r\n const [success, setSuccess] = useState(null);\r\n\r\n useEffect(() => {\r\n var authCode = qs.parse(props.location.search, { ignoreQueryPrefix: true })\r\n .q;\r\n axios({\r\n url: `/api/Login/LoginGuardAuthorise?q=${authCode}`,\r\n method: \"POST\"\r\n })\r\n .then(response => {\r\n setSuccess(response.data);\r\n if (response.data === true){\r\n props.history.push(\"/login?message=Your%20browser%20is%20authenticated.%20You%20may%20now%20login.\"); \r\n }\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting account\", response);\r\n });\r\n }, []);\r\n\r\n return (\r\n \r\n \r\n \r\n {success === null && \"Loading...\"}\r\n {success === false && \"Error. Authentication is invalid or has expired.\"}\r\n {success === true &&
    Redirecting browser. If your browser does not redirect automatically click here
    }\r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default LoginGuard;\r\n","import React, { useState, useContext } from 'react';\r\nimport { Form, Button } from 'react-bootstrap';\r\nimport styles from 'styles/dropdownContainer.module.css';\r\nimport GlobalContext from 'context/globalContext';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\n\r\nfunction TermsAndConditions(props) {\r\n\tconst [ checked, setChecked ] = useState(false);\r\n\tconst [ saving, setSaving] = useState(false);\r\n\tconst globalContext = useContext(GlobalContext);\r\n\r\n\tconst onSave = async () => {\r\n\t\tsetSaving(true);\r\n\t\tawait globalContext.account.saveTermsAndConditions();\r\n\t\tsetSaving(false);\r\n\t\twindow.location.href = \"/members\";\r\n\t}\r\n\r\n\treturn (\r\n\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tTerms and Conditions \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tPlease read the terms and conditions carefully before using {window.webpageDetails.webpageName}. By applying for services\r\n\t\t\t\t\t\tat {window.webpageDetails.webpageName}, you are accepting the terms and conditions of this contract.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    Definitions

    \r\n\t\t\t\t\t

    By “You”, we mean the person who submitted the application.

    \r\n\t\t\t\t\t

    {window.webpageDetails.webpageName} is a business of Digital Blitz Pty Ltd ACN 111 323 445

    \r\n\t\t\t\t\t

    Applicable rates are identified on {window.webpageDetails.webpageName} website under “Plans and Pricing”.

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} online mail management interface is located at www.{window.webpageDetails.webpageName}.com.au after a successful\r\n\t\t\t\t\t\tlogin.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tGeneral\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} is a mail processing service and online mail management tool. {window.webpageDetails.webpageName} will not\r\n\t\t\t\t\t\tknowingly accept, forward or be held responsible for any illegal, damaged or hazardous mail\r\n\t\t\t\t\t\tbelonging to or being sent to you. {window.webpageDetails.webpageName} reserves the right to refuse acceptance of such\r\n\t\t\t\t\t\titems and cancel the contract immediately without refund. It is your responsibility to ensure\r\n\t\t\t\t\t\tthat this type of mail is not posted to {window.webpageDetails.webpageName}.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tPlans and Options\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIt is your responsibility to choose the appropriate plan for your service and your pre-paid\r\n\t\t\t\t\t\tcredit will be charged accordingly.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    Online plan changed take effect immediately.

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tPayment Terms\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tYou are required to pay for all services in advance by pre-paid credit, when the pre-paid credit\r\n\t\t\t\t\t\tbalance becomes less than zero further mail items will be locked until payment is received. If\r\n\t\t\t\t\t\tpayment is not received within 14 days {window.webpageDetails.webpageName} will discontinue scanning items until the\r\n\t\t\t\t\t\tpre-paid credit balance is paid.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tPre-paid credit\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tYour pre-paid credit is your running balance which should always be kept above zero. All charges\r\n\t\t\t\t\t\tincurred will be deducted from the pre-paid credit’s balance. Your pre-paid credit can be\r\n\t\t\t\t\t\treviewed and topped up on the {window.webpageDetails.webpageName} online management website. Pre-Paid credit is\r\n\t\t\t\t\t\tnon-refundable and expires 12 months after purchase. The minimum amount you can top up your\r\n\t\t\t\t\t\tpre-paid credit is $20\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    Automatic Top up of pre-paid credit

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} utilises stripe for credit card payments. When your balance falls below the amount\r\n\t\t\t\t\t\trequired to process your request(s) or maintain the service(s) provided to you, this will\r\n\t\t\t\t\t\ttrigger an automatic top up of your account of the amount you have specified in your account\r\n\t\t\t\t\t\tsettings in the {window.webpageDetails.webpageName} online management interface.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tForwarding to Us\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIt is your responsibility to ensure that all mail is forwarded to {window.webpageDetails.webpageName} and we take\r\n\t\t\t\t\t\tabsolutely no responsibility for mail which does not reach our PO Box. Once mail is received by\r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} we will process according to options you have selected on our website, which may\r\n\t\t\t\t\t\tinclude opening, scanning, forwarding, storing or shredding.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tForwarding to you\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tMail which you request to have forwarded will be sent via Australia Post regular service. Mail\r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} sends on your behalf is not sent by express or registered mail, unless specifically\r\n\t\t\t\t\t\trequested. Mail lost in transit is not the responsibility of {window.webpageDetails.webpageName}, however {window.webpageDetails.webpageName}\r\n\t\t\t\t\t\tendeavours to located lost items through Australia Post. Please refer to Australia Posts website\r\n\t\t\t\t\t\tat http://auspost.com.au for postage guidelines and restricted items.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tScanning\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} only opens your mail if you select the Scan everything plan or request a specific item\r\n\t\t\t\t\t\tscanned on the “selective scanning” plan as preconfigured on the {window.webpageDetails.webpageName} online mail management\r\n\t\t\t\t\t\tinterface or during your account setup.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you choose “forward only” mail items will be stored or forwarded according to the options you\r\n\t\t\t\t\t\thave selected during account setup or on the {window.webpageDetails.webpageName} website and your pre-paid credit will be\r\n\t\t\t\t\t\tcharged according to the applicable rates.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you select the “selective scanning” option on the {window.webpageDetails.webpageName} website, both sides of your\r\n\t\t\t\t\t\tenvelope will be scanned and uploaded to your account and we will charge your pre-paid credit\r\n\t\t\t\t\t\taccording to the applicable rates.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you select the “Scan Everything” option on the {window.webpageDetails.webpageName} website, {window.webpageDetails.webpageName} will open your mail\r\n\t\t\t\t\t\tand scan both sides of each page inside the mail item and your pre-paid credit will be charged\r\n\t\t\t\t\t\taccording to the applicable rates.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tNon-Scannable items will be photographed by Digital Camera and the image will be uploaded to\r\n\t\t\t\t\t\tyour {window.webpageDetails.webpageName} online account.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tStoring\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tAll mail is stored securely for 30 days for free and after that time storage fees will apply.\r\n\t\t\t\t\t\tThe Storage fees are listed under “Plans and Pricing” on the {window.webpageDetails.webpageName} website. Long term secure\r\n\t\t\t\t\t\tstorage fees are deducted monthly from your pre-paid credit as per applicable rates.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tShredding\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} will shred mail which you request to be shredded either manually or automatically from\r\n\t\t\t\t\t\tthe {window.webpageDetails.webpageName} online mail management interface or during your initial account setup.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tConsent to open mail \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you choose either “selective scanning” or “scan everything” plans, then you consent to\r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} opening your mail.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tConsent to shred mail\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you request for your mail to be shredded either manually or automatically from either the\r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} web interface or during your account setup, you consent to {window.webpageDetails.webpageName} shredding your\r\n\t\t\t\t\t\tmail. You consent to {window.webpageDetails.webpageName} shredding your mail if your account is automatically terminated\r\n\t\t\t\t\t\tdue to insufficient fund for more than 90 days.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIndemnity\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tYou indemnify and hold {window.webpageDetails.webpageName} void from and against any and all claims, demands, actions,\r\n\t\t\t\t\t\tproceedings/or causes of action, and all damages, liabilities, costs or expenses relating to or\r\n\t\t\t\t\t\tarising from the provision of the services by {window.webpageDetails.webpageName}.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\tIdentification\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} reserves the right require proof of account holder identity at any time. \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tLaw and Jurisdiction\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tThe law of Queensland, Australia governs this contract. The parties submit to the non-exclusive\r\n\t\t\t\t\t\tjurisdiction of the courts of Queensland governing this contract and any courts, which may hear\r\n\t\t\t\t\t\tappeals from those courts in respect of any proceedings in connection with this contract.\r\n\t\t\t\t\t

    \r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tInternational Mail \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} reserves the right to open and inspect the contents of any incoming or outgoing\r\n\t\t\t\t\t\tinternational mail.\r\n\t\t\t\t\t

    \r\n\r\n\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tAccount Termination\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\t{window.webpageDetails.webpageName} reserves the right to cancel or suspend accounts at any time. Cancelled accounts will\r\n\t\t\t\t\t\thave their mail returned to sender.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tCancellation\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tAt the end of your contract all mail being stored will be returned to an address nominated by\r\n\t\t\t\t\t\tyou at your expense. If you do not provide {window.webpageDetails.webpageName} with an address, {window.webpageDetails.webpageName} will send the mail\r\n\t\t\t\t\t\tback to the address listed on the contract and future items will be marked 'Return to Sender'.\r\n\t\t\t\t\t\tIf you do not have credit in your pre-paid credit, the items will be sent via receiver pays COD.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tYou may cancel this service at any time however you must do so in writing and give {window.webpageDetails.webpageName} 30\r\n\t\t\t\t\t\tdays’ notice of your intention to do so. Prepaid credit is non-refundable.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tAutomatic Account Termination\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tIf you leave your account in negative balance for more than 90 days, and the credit card applied\r\n\t\t\t\t\t\tto your {window.webpageDetails.webpageName} account is unavailable or unable to top up the account we will automatically\r\n\t\t\t\t\t\tterminate your account and shred all your mail. All future mail we receive on your behalf will\r\n\t\t\t\t\t\tbe returned to sender.\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\tDownload terms and conditions\r\n\t\t\t\t\t

    \r\n\t\t\t\t\t\r\n\t\t\t\t\t\t setChecked(!checked)}\r\n\t\t\t\t\t\t\tlabel=\"I agree to the above terms and conditions\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t{checked && (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t)}\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t);\r\n}\r\n\r\nexport default TermsAndConditions;\r\n","import React, { useEffect, useContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport securityHelper from \"security/securityHelper\";\r\nimport { Route, withRouter } from 'react-router-dom';\r\nimport GlobalContext from 'context/globalContext';\r\n// import Registration from 'components/registration/Registration.jsx';\r\nimport PaymentRequired from 'components/members/paymentRequired/PaymentRequired';\r\nimport TermsAndConditions from 'components/public/TermsAndConditions';\r\n// import LoadingOverlay from 'react-loading-overlay';\r\n// import * as registrationStatus from 'enums/registrationStatus';\r\n\r\nconst PrivateRoute = ({ component: Component, path, location, componentProps, ...rest }) => {\t\r\n\t// const [ accountLoaded, setAccountLoaded ] = useState(false);\r\n\tconst globalContext = useContext(GlobalContext);\r\n\r\n\tuseEffect(\r\n\t\t() => {\r\n\t\t\tconst fn = async () => {\r\n\t\t\t\t// if (!securityHelper.isAuthenticated()) {\r\n\t\t\t\t// \twindow.location.href = \"/Login\";\t\t\t\r\n\t\t\t\t// }\r\n\t\t\t\t// else {\r\n\t\t\t\tif (!globalContext?.account?.response?.account){\r\n\t\t\t\t\t\tawait globalContext.account.getAccount();\r\n\t\t\t\t\t}\r\n\t\t\t\t// }\r\n\t\t\t};\r\n\t\t\tfn();\r\n\t\t},\r\n\t\t[ path, location ]\r\n\t);\r\n\r\n\tconst render = (props) => {\r\n\t\treturn globalContext?.account?.response?.account ? \r\n\t\t\t : \r\n\t\t\tnull;\r\n\t};\r\n\r\n// \t//Loading Account\r\n// \tif (!globalContext.account.response.account || !globalContext.plan.response.plans) {\r\n// \t\treturn ;\r\n// \t} else if (globalContext.account.response.account.registrationStatus !== registrationStatus.Registered) {\r\n// \t\t//Send user to Registration pages\r\n// \t\treturn ;\r\n// \t} \t\r\n\r\n\r\n\tif (globalContext?.account?.response?.account?.activePayment === false){\r\n\t\treturn ;\r\n\t}else if (globalContext?.account?.response?.account?.termsAndConditionsSigned === false){\r\n\t\treturn ;\r\n\t}\r\n\t//Send user to private route\r\n\treturn ;\r\n};\r\n\r\nPrivateRoute.propTypes = {\r\n\tcomponent: PropTypes.oneOfType([ PropTypes.element, PropTypes.func ]).isRequired,\r\n\tpath: PropTypes.oneOfType([ PropTypes.string, PropTypes.arrayOf(PropTypes.string) ]).isRequired\r\n};\r\n\r\nexport default withRouter(PrivateRoute);\r\n","import React, { useContext, useEffect, useState, useCallback } from 'react';\r\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\r\nimport Inbox from './components/members/inbox';\r\nimport Account from './components/members/accountSettings';\r\nimport PhotoVerificationWizard from './components/members/verifications/PhotoVerification';\r\nimport GlobalContext from 'context/globalContext';\r\nimport Confirm from './commonComponents/Confirm';\r\nimport Forward from './components/members/forward/';\r\nimport Support from 'components/members/support/support';\r\nimport PaymentRequired from './components/members/paymentRequired/PaymentRequired';\r\nimport LoginGuard from './components/public/LoginGuard';\r\nimport Signup from 'components/registration/Signup.jsx';\r\nimport RegistrationComplete from 'components/registration/RegistrationComplete';\r\nimport Homepage from 'components/public/Homepage';\r\nimport Login from 'components/public/Login';\r\nimport LoginChoice from 'components/public/LoginChoice';\r\nimport ForgotPassword from 'components/public/ForgotPassword';\r\nimport ResetPassword from 'components/public/ResetPassword';\r\nimport EmailVerification from './components/public/EmailVerification';\r\nimport EmailGuard from './components/public/EmailGuard.jsx';\r\nimport Authorise from './components/public/Authorise';\r\nimport PrivateRoute from 'auth0/PrivateRoute';\r\nimport { createBrowserHistory as createHistory } from 'history';\r\nimport './App.css';\r\nimport TermsAndConditions from 'components/public/TermsAndConditions';\r\nimport { Helmet } from 'react-helmet';\r\nimport { useTranslation } from 'react-i18next';\r\nimport Cookies from 'js-cookie';\r\n\r\nconst history = createHistory();\r\n\r\nfunction App(props) {\r\n\tconst globalContext = useContext(GlobalContext);\r\n\tconst { t, i18n } = useTranslation();\r\n\tconst [ language, setLanguage ] = useState('en');\r\n\r\n\r\n\tuseEffect(\r\n\t\t() => {\r\n\t\t\tlet lng = Cookies.get('locale') || 'en';\r\n\r\n\t\t\tif (!Cookies.get('locale')){\r\n\t\t\t\tlng = navigator.language;\r\n\t\t\t}\r\n\t\r\n\t\t\tif (language !== lng) {\r\n\t\t\t\ti18n.changeLanguage(lng);\r\n\t\t\t\tsetLanguage(lng);\r\n\t\t\t}\r\n\t\t},\r\n\t\t[ language, i18n ]\r\n\t);\r\n\r\n\tconst onLanguageChange = useCallback(\r\n\t\t(lng) => {\r\n\t\t\tCookies.set('locale', lng);\r\n\t\t\ti18n.changeLanguage(lng);\r\n\t\t\tsetLanguage(lng);\r\n\t\t},\r\n\t\t[ i18n ]\r\n\t);\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{window.webpageDetails.webpageName}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t }\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t }\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t);\r\n}\r\n\r\nexport default App;\r\n","import axios from \"axios\";\r\nimport securityHelper from \"security/securityHelper\";\r\nimport {\r\n GET_ACCOUNT,\r\n CHOOSE_PLAN,\r\n UPDATE_LOGIN_GUARD,\r\n VERIFY_SMS,\r\n REGISTRATION_COMPLETE,\r\n UPDATE_AUTO_ACTION,\r\n UPDATE_AUTO_TOPUP,\r\n UPDATE_TERMS_AND_CONDITIONS,\r\n UPDATE_EMAIL_NOTIFICATION,\r\n UPDATE_INCLUDE_PDF,\r\n UPDATE_SEND_SEPERATE,\r\n UNPAUSE_ACCOUNT,\r\n PAUSE_ACCOUNT\r\n} from \"./accountActionTypes\";\r\n\r\nexport default dispatch => {\r\n const load = async(account) => {\r\n dispatch({\r\n payload: account,\r\n type: GET_ACCOUNT\r\n });\r\n };\r\n\r\n const verifyPaypal = async(orderId) => {\r\n var account = await _verifyPayPal(orderId);\r\n load(account);\r\n }\r\n\r\n const getAccount = async() => {\r\n var account = await _getAccount();\r\n securityHelper.saveToken(account);\r\n load(account);\r\n }\r\n\r\n const updateAccount = async (accountUser) => {\r\n var jwtResponse = await _updateAccount(accountUser);\r\n\t\tsecurityHelper.saveToken(jwtResponse);\r\n\t\tload(jwtResponse);\r\n };\r\n\r\n const isEmailAvailable = async (email) => {\r\n return await _isEmailAvailable(email);\r\n }\r\n\r\n const accountSignup = async(accountUser) => {\r\n var jwtResponse = await _accountSignup(accountUser);\r\n securityHelper.saveToken(jwtResponse);\r\n load(jwtResponse);\r\n }\r\n\r\n const choosePlan = async (planId) => {\r\n await _choosePlan(planId);\r\n dispatch({\r\n payload: planId,\r\n type: CHOOSE_PLAN\r\n });\r\n };\r\n\r\n const updateLoginGuard = async (enabled) => {\r\n await _updateLoginGuard(enabled);\r\n dispatch({\r\n payload: enabled,\r\n type: UPDATE_LOGIN_GUARD\r\n });\r\n };\r\n\r\n const updateAutoAction = async(autoAction) => {\r\n await _updateAutoAction(autoAction);\r\n dispatch({\r\n payload: autoAction,\r\n type: UPDATE_AUTO_ACTION\r\n })\r\n }\r\n\r\n const verifySms = async (code) => {\r\n var mobileVerification = await _verifySms(code);\r\n dispatch({\r\n payload: mobileVerification,\r\n type: VERIFY_SMS\r\n });\r\n return mobileVerification;\r\n };\r\n\r\n const registrationComplete = async (creditCardExempt) => {\r\n await _registrationComplete(creditCardExempt);\r\n dispatch({\r\n type: REGISTRATION_COMPLETE\r\n })\r\n }\r\n\r\n const closeAccount = async() => {\r\n await _closeAccount(); \r\n }\r\n\r\n \r\n const updateAutoTopup = async (amount) => {\r\n await _updateAutoTopup(amount);\r\n dispatch({\r\n type: UPDATE_AUTO_TOPUP,\r\n payload: amount\r\n })\r\n }\r\n\r\n const sendResetPassword = async (email) => {\r\n await _sendResetPassword(email);\r\n }\r\n\r\n const resetPassword = async(email, newPassword, resetCode) => {\r\n await _resetPassword(email, newPassword, resetCode);\r\n }\r\n\r\n const changePassword = async(oldPassword, newPassword) => {\r\n return await _changePassword(oldPassword, newPassword);\r\n }\r\n\r\n const updateIncludePdf = async (include) => {\r\n await _updateIncludePdf(include);\r\n dispatch({\r\n type: UPDATE_INCLUDE_PDF,\r\n payload: include\r\n })\r\n }\r\n\r\n const updateSendSeperate = async (sendSeperate) => {\r\n await _updateSendSeperate(sendSeperate);\r\n dispatch({\r\n type: UPDATE_SEND_SEPERATE,\r\n payload: sendSeperate\r\n })\r\n }\r\n\r\n const updateEmailActionNotificationChange = async (notify) => {\r\n await _updateEmailActionNotificationChange(notify);\r\n dispatch({\r\n type: UPDATE_EMAIL_NOTIFICATION,\r\n payload: notify\r\n });\r\n\r\n }\r\n\r\n const saveTermsAndConditions = async() => {\r\n await _saveTermsAndConditions();\r\n dispatch({\r\n type: UPDATE_TERMS_AND_CONDITIONS\r\n })\r\n }\r\n\r\n const unpause = async() => {\r\n await _unpause();\r\n dispatch({\r\n type: UNPAUSE_ACCOUNT\r\n })\r\n }\r\n\r\n const pause = async() => {\r\n await _pause();\r\n dispatch({\r\n type: PAUSE_ACCOUNT\r\n })\r\n }\r\n\r\n return { \r\n isEmailAvailable,\r\n load, \r\n updateAccount, \r\n choosePlan, \r\n updateLoginGuard, \r\n verifySms, \r\n registrationComplete,\r\n updateAutoAction,\r\n closeAccount,\r\n updateAutoTopup,\r\n accountSignup,\r\n getAccount,\r\n sendResetPassword,\r\n resetPassword, \r\n changePassword,\r\n saveTermsAndConditions,\r\n verifyPaypal,\r\n updateEmailActionNotificationChange,\r\n updateIncludePdf,\r\n updateSendSeperate,\r\n unpause,\r\n pause\r\n };\r\n};\r\n\r\nconst _pause = () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/pause`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error pausing account\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\n\r\nconst _unpause = () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/Unpause`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error unpausing account\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nconst _updateIncludePdf = (include) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateIncludePdf?include=${include}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error updating include pdf\", response);\r\n reject();\r\n });\r\n }); \r\n}\r\n\r\nconst _updateSendSeperate = (sendSeperate) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/updateSeperateAlerts?sendSeperate=${sendSeperate}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error updating setting send seperate\", response);\r\n reject();\r\n });\r\n }); \r\n}\r\n\r\nconst _updateEmailActionNotificationChange = (notify) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateEmailActionNotificaion?notify=${notify}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error updating email notificatino\", response);\r\n reject();\r\n });\r\n }); \r\n}\r\n\r\n\r\nconst _verifyPayPal = (orderId) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/paypal/verify?orderId=${orderId}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"error verifying paypal transaction\", response);\r\n reject();\r\n });\r\n })\r\n}\r\n\r\nconst _saveTermsAndConditions = () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/TermsAndConditions/SaveTermsAndConditions`,\r\n data: {Html: new XMLSerializer().serializeToString(document)},\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"error saving terms and conditions\", response);\r\n reject();\r\n });\r\n })\r\n}\r\n\r\nconst _changePassword = (oldPassword, newPassword) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/ChangePassword?oldPassword=${encodeURIComponent(oldPassword)}&newPassword=${encodeURIComponent(newPassword)}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"error changing password\", response);\r\n reject();\r\n });\r\n })\r\n}\r\n\r\nconst _resetPassword = (email, newPassword, resetCode) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/ResetPassword?email=${encodeURIComponent(email)}&newPassword=${encodeURIComponent(newPassword)}&resetCode=${encodeURIComponent(resetCode)}&webpage=${window.webpageDetails.webpageName}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error getting reseting password\", response);\r\n reject();\r\n });\r\n });\r\n\r\n}\r\n\r\nconst _sendResetPassword = (email) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/SendResetPassword?email=${email}&webpage=${window.webpageDetails.webpageName}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"error getting reseting password\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nconst _isEmailAvailable = (email) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Registration/IsEmailAvailable?email=${email}&webpage=${window.webpageDetails.webpageName}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"error getting isEmailAvailable\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nconst _updateAutoTopup = async (amount) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateAutoTopup?amount=${amount}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error updating topup amount\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\n\r\nconst _closeAccount = async() => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/CloseAccount`,\r\n method: \"post\",\r\n }).then(response => {\r\n resolve();\r\n });\r\n });\r\n\r\n}\r\n\r\nconst _registrationComplete = async (creditExempt) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Registration/RegistrationComplete?x=${!!creditExempt}&webpage=${window.webpageDetails.webpageName}`,\r\n method: \"post\",\r\n }).then(response => {\r\n resolve();\r\n });\r\n });\r\n};\r\n\r\nconst _getAccount = async () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/account/GetAccount`,\r\n method: \"post\",\r\n }).then(response => {\r\n resolve(response.data);\r\n });\r\n });\r\n}\r\n\r\n\r\nconst _verifySms = async (code) => {\r\n\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/verification/verifysms?code=${code}`,\r\n method: \"post\",\r\n }).then(response => {\r\n resolve(response?.data?.verificationStatus === 1);\r\n });\r\n });\r\n};\r\n\r\nconst _updateLoginGuard = async (enabled) => {\r\n\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateLoginGuard?enabled=${enabled}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting account\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _choosePlan = async (planId) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/ChoosePlan?planId=${planId}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting account\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _accountSignup = (accountUser) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Registration/Signup?webpage=${window.webpageDetails.webpageName}`,\r\n method: \"POST\",\r\n data: accountUser,\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting account\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nconst _updateAccount = async (accountUser) => {\r\n\r\n \r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateAccount?webpage=${window.webpageDetails.webpageName}`,\r\n method: \"POST\",\r\n data: accountUser,\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting account\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _updateAutoAction = async (autoAction) => {\r\n\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Account/UpdateAutoAction?autoAction=${autoAction}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve();\r\n })\r\n .catch(response => {\r\n console.log(\"Error setting AutoAction\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\n","import * as registrationStatus from 'enums/registrationStatus';\r\nimport {\r\n\tLOGIN,\r\n\tGET_ACCOUNT,\r\n\tCHOOSE_PLAN,\r\n\tUPDATE_LOGIN_GUARD,\r\n\tVERIFY_SMS,\r\n\tREGISTRATION_COMPLETE,\r\n\tUPDATE_AUTO_ACTION,\r\n\tUPDATE_AUTO_TOPUP,\r\n\tUPDATE_TERMS_AND_CONDITIONS,\r\n\tUPDATE_EMAIL_NOTIFICATION,\r\n\tUPDATE_INCLUDE_PDF,\r\n\tUPDATE_SEND_SEPERATE,\r\n\tUNPAUSE_ACCOUNT,\r\n\tPAUSE_ACCOUNT\r\n} from './accountActionTypes';\r\n\r\nconst accountReducer = (state, action) => {\r\n\tswitch (action.type) {\r\n\t\tcase LOGIN:\r\n\t\t\treturn { ...state, login: action.payload };\r\n\t\tcase GET_ACCOUNT:\r\n\t\t\treturn { ...state, account: action.payload };\r\n\t\tcase UPDATE_LOGIN_GUARD:\r\n\t\t\tlet account = state.account;\r\n\t\t\taccount.enableLoginGuard = action.payload;\r\n\t\t\treturn { ...state, account };\r\n\t\tcase CHOOSE_PLAN:\r\n\t\t\treturn _chosePlan(state, action);\r\n\t\tcase VERIFY_SMS:\r\n\t\t\treturn _verifySms(state, action);\r\n\t\tcase REGISTRATION_COMPLETE:\r\n\t\t\treturn _registrationComplete(state, action);\r\n\t\tcase UPDATE_AUTO_ACTION:\r\n\t\t\treturn _updateAutoAction(state, action);\r\n\t\tcase UPDATE_AUTO_TOPUP:\r\n\t\t\treturn _updateAutoTopUp(state, action);\r\n\t\tcase UPDATE_TERMS_AND_CONDITIONS:\r\n\t\t\treturn { ...state, account: { ...state.account, TermsAndConditionsSigned: true } };\r\n\t\tcase UPDATE_EMAIL_NOTIFICATION:\r\n\t\t\treturn { ...state, account: { ...state.account, emailActionNotification: action.payload } };\r\n\t\tcase UPDATE_INCLUDE_PDF:\r\n\t\t\treturn { ...state, account: { ...state.account, includePdf: action.payload } };\r\n\t\tcase UPDATE_SEND_SEPERATE:\r\n\t\t\treturn { ...state, account: { ...state.account, seperateAlerts: action.payload }};\r\n\t\tcase UNPAUSE_ACCOUNT:\r\n\t\t\treturn { ...state, account: { ...state.account, status: \"Active\"}};\r\n\t\tcase PAUSE_ACCOUNT:\r\n\t\t\treturn { ...state, account: { ...state.account, status: \"On Hold\"}};\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n\r\nconst _updateAutoTopUp = (state, action) => {\r\n\treturn { ...state, account: { ...state.account, autoTopUpAmount: action.payload } };\r\n};\r\n\r\nconst _updateAutoAction = (state, action) => {\r\n\tlet newState = {\r\n\t\t...state,\r\n\t\taccount: { ...state.account, autoAction: action.payload }\r\n\t};\r\n\treturn newState;\r\n};\r\n\r\nconst _registrationComplete = (state, action) => {\r\n\tlet newState = {\r\n\t\t...state,\r\n\t\taction: {\r\n\t\t\t...state.account,\r\n\t\t\tregistrationStatus: registrationStatus.Registered\r\n\t\t}\r\n\t};\r\n\treturn newState;\r\n};\r\n\r\nconst _chosePlan = (state, action) => {\r\n\tlet newState = {\r\n\t\t...state,\r\n\t\taccount: { ...state.account, planId: action.payload }\r\n\t};\r\n\treturn newState;\r\n};\r\n\r\nconst _verifySms = (state, action) => {\r\n\tlet newState = {\r\n\t\t...state,\r\n\t\taccount: { ...state.account, smsVerified: action.payload }\r\n\t};\r\n\treturn newState;\r\n};\r\n\r\nexport default accountReducer;\r\n","export const UserProfile = 0;\r\nexport const ChooseAddress = 1;\r\nexport const Registered = 2;\r\n","export const LOGIN = \"LOGIN\";\r\nexport const GET_ACCOUNT = \"GET_ACCOUNT\";\r\nexport const CHOOSE_PLAN = \"CHOOSE_PLAN\";\r\nexport const UPDATE_LOGIN_GUARD = \"UPDATE_LOGIN_GUARD\";\r\nexport const VERIFY_SMS = \"VERIFY_SMS\";\r\nexport const REGISTRATION_COMPLETE = \"REGISTRATION_COMPLETE\";\r\nexport const UPDATE_AUTO_ACTION = \"UPDATE_AUTO_ACTION\";\r\nexport const CLOSE_ACCOUNT = \"CLOSE_ACCOUNT\";\r\nexport const UPDATE_AUTO_TOPUP = \"UPDATE_AUTO_TOPUP\";\r\nexport const UPDATE_TERMS_AND_CONDITIONS = \"UPDATE_TERMS_AND_CONDITIONS\";\r\nexport const UPDATE_EMAIL_NOTIFICATION = \"UPDATE_EMAIL_NOTIFICATION\";\r\nexport const UPDATE_INCLUDE_PDF = \"UPDATE_INCLUDE_PDF\";\r\nexport const UPDATE_SEND_SEPERATE = \"UPDATE_SEND_SEPERATE\";\r\nexport const UNPAUSE_ACCOUNT = \"UNPAUSE_ACCOUNT\";\r\nexport const PAUSE_ACCOUNT = \"PAUSE_ACCOUNT\";\r\n","import { useReducer } from \"react\";\r\nimport accountActions from \"./accountActions\";\r\nimport accountReducer from \"./accountReducer\";\r\n\r\nexport default function useAccount() {\r\n const [account, accountDispatch] = useReducer(accountReducer, {});\r\n const {\r\n login,\r\n isEmailAvailable,\r\n load,\r\n updateAccount,\r\n choosePlan,\r\n updateLoginGuard,\r\n verifySms,\r\n registrationComplete,\r\n updateAutoAction,\r\n closeAccount,\r\n updateAutoTopup,\r\n accountSignup,\r\n getAccount,\r\n sendResetPassword,\r\n resetPassword,\r\n changePassword,\r\n saveTermsAndConditions,\r\n verifyPaypal,\r\n updateEmailActionNotificationChange,\r\n updateIncludePdf,\r\n updateSendSeperate,\r\n unpause,\r\n pause\r\n } = accountActions(accountDispatch);\r\n\r\n return {\r\n response: account,\r\n login,\r\n isEmailAvailable,\r\n load,\r\n updateAccount,\r\n choosePlan,\r\n updateLoginGuard,\r\n verifySms,\r\n registrationComplete,\r\n updateAutoAction,\r\n closeAccount,\r\n updateAutoTopup,\r\n accountSignup,\r\n getAccount, \r\n sendResetPassword,\r\n resetPassword,\r\n changePassword,\r\n saveTermsAndConditions,\r\n verifyPaypal,\r\n updateEmailActionNotificationChange,\r\n updateIncludePdf,\r\n updateSendSeperate,\r\n unpause,\r\n pause\r\n };\r\n}\r\n","export const FETCH_ALERTS = \"FETCH_ALERTS\";\r\nexport const MARK_READ = \"MARK_READ\";\r\n","import { FETCH_ALERTS, MARK_READ } from \"./alertActionTypes\";\r\nimport axios from \"axios\";\r\n\r\nexport default dispatch => {\r\n const fetch = async () => {\r\n var alerts = await _fetch();\r\n dispatch({ type: FETCH_ALERTS, payload: alerts });\r\n };\r\n\r\n const markRead = async (id) => {\r\n if (id > 0) {\r\n await _markRead(id);\r\n }\r\n\r\n dispatch({ type: MARK_READ, payload: id });\r\n };\r\n return { fetch, markRead };\r\n};\r\n\r\nconst _fetch = async () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Alert`,\r\n method: \"GET\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting alerts\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _markRead = async (alertId) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Alert?alertId=${alertId}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error marking read\", response);\r\n reject();\r\n });\r\n });\r\n}","import {\r\n FETCH_ALERTS,\r\n MARK_READ\r\n} from \"./alertActionTypes\";\r\n\r\nconst loginReducer = (alerts, action) => {\r\n switch (action.type) {\r\n case FETCH_ALERTS:\r\n return action.payload;\r\n case MARK_READ:\r\n return markRead(alerts, action.payload);\r\n default:\r\n return alerts;\r\n }\r\n};\r\n\r\nconst markRead = (alerts, id) => {\r\n return alerts.map(alert => {\r\n if (alert.alertId !== id){ return alert }\r\n return { ...alert, read: true };\r\n })\r\n};\r\n\r\nexport default loginReducer;\r\n","import { useReducer } from \"react\";\r\nimport alertActions from \"./alertActions\";\r\nimport alertReducer from \"./alertReducer\";\r\n\r\nexport default function useAlert() {\r\n const [alerts, alertDispatch] = useReducer(alertReducer, []);\r\n const { fetch, markRead } = alertActions(alertDispatch)\r\n\r\n return {\r\n response: alerts,\r\n fetch,\r\n markRead\r\n };\r\n}\r\n","import { useState } from \"react\";\r\n\r\nexport default function useDialog() {\r\n const [dialog, setDialog] = useState({visible: false, title: \"\", body: \"\", onConfirm: null, onCancel: null});\r\n\r\n return {\r\n response: dialog,\r\n setDialog\r\n };\r\n}\r\n","export const SET_NAV = \"SET_NAV\";\r\n","import {\r\n SET_NAV,\r\n} from \"./accountSettingsActionTypes\";\r\n\r\nconst accountSettingsReducer = (state, action) => {\r\n switch (action.type) {\r\n case SET_NAV:\r\n return {...state, navigation: action.payload };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default accountSettingsReducer;\r\n","import { useReducer } from \"react\";\r\nimport accountSettingsActions from \"./accountSettingsActions\";\r\nimport accountSettingsReducer from \"./accountSettingsReducer\";\r\n\r\nexport default function useAccountSettings() {\r\n const [accountSettings, accountSettingsDispatch] = useReducer(accountSettingsReducer, {navigation: \"account\"});\r\n const { setNav } = accountSettingsActions(accountSettingsDispatch);\r\n\r\n return {\r\n response: accountSettings,\r\n setNav\r\n };\r\n}\r\n","import {\r\n SET_NAV,\r\n} from \"./accountSettingsActionTypes\";\r\n\r\n\r\nexport default dispatch => {\r\n const setNav = (nav) => {\r\n dispatch({ type: SET_NAV, payload: nav });\r\n }\r\n return { setNav };\r\n};\r\n","export default {\r\n\tgetFileNameFromContentDisposition: (contentDisposition) => {\r\n\t\tlet filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\r\n\t\tlet matches = filenameRegex.exec(contentDisposition);\r\n\t\tif (matches != null && matches[1]) {\r\n\t\t\tlet filename = matches[1].replace(/['\"]/g, '');\r\n\t\t\treturn filename;\r\n\t\t} else {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n};\r\n","import axios from 'axios';\r\nimport fileUtility from 'utilities/fileUtility';\r\nimport {\r\n\tGET_FOLDER,\r\n\tMARK_PENDING_SHRED,\r\n\tMARK_PENDING_SCAN,\r\n\tCANCEL_PENDING,\r\n\tMARK_RETURN_TO_SENDER,\r\n\tMAIL_MOVED_FOLDER,\r\n\tRECYCLE,\r\n\tMARK_PENDING_RESCAN,\r\n\tDOWNLOAD_BULK,\r\n\tMAIL_HELD,\r\n\tMARK_PENDING_FORWARD\r\n} from './mailActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\tconst getFolder = async (folder) => {\r\n\t\tlet response = await _getFolder(folder);\r\n\t\tdispatch({\r\n\t\t\ttype: GET_FOLDER,\r\n\t\t\tpayload: response.data\r\n\t\t});\r\n\t};\r\n\r\n\tconst search = async (query) => {\r\n\t\tlet response = await _search(query);\r\n\t\tdispatch({\r\n\t\t\ttype: GET_FOLDER,\r\n\t\t\tpayload: response.data\r\n\t\t});\r\n\t};\r\n\r\n\tconst email = async (email, subject, body, mailIdList) => {\r\n\t\tawait _email(email, subject, body, mailIdList);\r\n\t};\r\n\r\n\tconst downloadBulk = async (mailIdList) => {\r\n\t\tawait _downloadBulk(mailIdList);\r\n\t\tdispatch({\r\n\t\t\ttype: DOWNLOAD_BULK,\r\n\t\t\tpayload: mailIdList\r\n\t\t})\r\n\t};\r\n\r\n\tconst markPendingShred = async (mailIdList) => {\r\n\t\tvar shredded = await _markPendingShred(mailIdList);\r\n\t\tdispatch({\r\n\t\t\ttype: MARK_PENDING_SHRED,\r\n\t\t\tpayload: shredded\r\n\t\t});\r\n\t};\r\n\r\n\tconst markPendingRescan = async (mailId, reason) => {\r\n\t\tvar rescanned = await _markPendingRescan(mailId, reason);\r\n\t\tdispatch({\r\n\t\t\ttype: MARK_PENDING_RESCAN,\r\n\t\t\tpayload: rescanned\r\n\t\t});\r\n\t};\r\n\r\n\tconst recycle = async (mailIdList) => {\r\n\t\tvar recycled = await _recycle(mailIdList);\r\n\r\n\t\tdispatch({\r\n\t\t\ttype: RECYCLE,\r\n\t\t\tpayload: recycled\r\n\t\t});\r\n\t};\r\n\t\r\n\tconst markPendingScan = async (mailIdList) => {\r\n\t\tlet pendingScanList = await _markPendingScan(mailIdList);\r\n\t\tdispatch({\r\n\t\t\ttype: MARK_PENDING_SCAN,\r\n\t\t\tpayload: pendingScanList\r\n\t\t});\r\n\t};\r\n\r\n\tconst markPendingForward = async (mailIdList) => {\r\n\t\tdispatch({\r\n\t\t\ttype: MARK_PENDING_FORWARD,\r\n\t\t\tpayload: mailIdList\r\n\t\t});\r\n\t};\r\n\r\n\tconst cancelPending = async (mailIdList) => {\r\n\t\tlet cancelPendingList = await _cancelPending(mailIdList);\r\n\t\tdispatch({\r\n\t\t\ttype: CANCEL_PENDING,\r\n\t\t\tpayload: cancelPendingList\r\n\t\t});\r\n\t};\r\n\r\n\tconst returnToSender = async (mailIdList, reason) => {\r\n\t\tlet returnedToSenderList = await _returnToSender(mailIdList, reason);\r\n\t\tdispatch({\r\n\t\t\ttype: MARK_RETURN_TO_SENDER,\r\n\t\t\tpayload: returnedToSenderList\r\n\t\t});\r\n\t};\r\n\r\n\tconst moveToFolder = async (mailIdList, folderId) => {\r\n\t\tlet movedIds = await _moveToFolder(mailIdList, folderId);\r\n\t\tdispatch({\r\n\t\t\ttype: MAIL_MOVED_FOLDER,\r\n\t\t\tpayload: movedIds\r\n\t\t});\r\n\t};\r\n\r\n\tconst updateName = async (mailId, name) => {\r\n\t\tawait _updateName(mailId, name);\r\n\t};\r\n\r\n\tconst mailHeld = async() => {\r\n\t\tvar mailHeld = await _mailHeld();\r\n\r\n\t\tdispatch({\r\n\t\t\ttype: MAIL_HELD,\r\n\t\t\tpayload: mailHeld\r\n\t\t})\r\n\t}\r\n\r\n\treturn {\r\n\t\tgetFolder,\r\n\t\tdownloadBulk,\r\n\t\tmarkPendingShred,\r\n\t\tmarkPendingScan,\r\n\t\tcancelPending,\r\n\t\treturnToSender,\r\n\t\tmoveToFolder,\r\n\t\tupdateName,\r\n\t\trecycle,\r\n\t\tsearch,\r\n\t\tmarkPendingRescan,\r\n\t\temail,\r\n\t\tmailHeld,\r\n\t\tmarkPendingForward\r\n\t};\r\n};\r\n\r\nconst _email = async (email, subject, body, mailIdList) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Email/Send?webpage=${window.webpageDetails.webpageName}`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: {\r\n\t\t\t\temail: email,\r\n\t\t\t\tsubject: subject,\r\n\t\t\t\tbody: body,\r\n\t\t\t\tmailIds: mailIdList\r\n\t\t\t}\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error emailing', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _markPendingRescan = async (mailId, reason) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/Rescan?mailId=${mailId}&reason=${reason}`,\r\n\t\t\tmethod: 'POST'\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error requesting rescan', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _updateName = async (mailId, name) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/RenameMail?mailId=${mailId}&mailName=${name}`,\r\n\t\t\tmethod: 'POST'\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking as shred', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _moveToFolder = async (mailIdList, folderId) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/MoveToFolder?folderId=${folderId}`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: mailIdList\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking as shred', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _returnToSender = async (mailIdList, reason) => {\r\n\tlet returnToSenderDto = { MailIds: mailIdList, Reason: reason };\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/ReturnToSender/MarkReturnToSender`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: returnToSenderDto\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking return to sender', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _cancelPending = async (mailIdList) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/CancelPending`,\r\n\t\t\tmethod: 'POST',\r\n\r\n\t\t\tdata: mailIdList\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking as shred', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _markPendingScan = async (mailIdList) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/MarkPendingScan`,\r\n\t\t\tmethod: 'POST',\r\n\r\n\t\t\tdata: mailIdList\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking as shred', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _markPendingShred = async (mailIdList) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/MarkPendingShred`,\r\n\t\t\tmethod: 'POST',\r\n\r\n\t\t\tdata: mailIdList\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error marking as shred', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _recycle = async (mailIdList) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/Recycle`,\r\n\t\t\tmethod: 'POST',\r\n\r\n\t\t\tdata: mailIdList\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error recycling', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _search = async (query) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/mail/search?query=${query}`,\r\n\t\t\tmethod: 'GET'\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting mail list', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _getFolder = async (folder) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Mail?folder=${folder}`,\r\n\t\t\tmethod: 'GET'\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting mail list', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _downloadBulk = async (mailIdList) => {\r\n\tvar queryString = mailIdList.map((a) => `mailId=${a}`).join('&');\r\n\twindow.open(`/api/mail/DownloadBulk?${queryString}`, '_blank');\r\n};\r\n\r\nconst _mailHeld = () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t axios({\r\n\t\turl: `/api/mail/MailHeld`,\r\n\t\tmethod: \"GET\",\r\n\t })\r\n\t\t.then(response => {\r\n\t\t resolve(response.data);\r\n\t\t})\r\n\t\t.catch(response => {\r\n\t\t console.log(\"error getting mailheld\", response);\r\n\t\t reject();\r\n\t\t});\r\n\t}); \r\n }\r\n ","import {\r\n\tGET_FOLDER,\r\n\tMARK_PENDING_SHRED,\r\n\tMARK_PENDING_SCAN,\r\n\tCANCEL_PENDING,\r\n\tMARK_RETURN_TO_SENDER,\r\n\tMAIL_MOVED_FOLDER,\r\n\tRECYCLE,\r\n\tMARK_PENDING_RESCAN,\r\n\tDOWNLOAD_BULK,\r\n\tMAIL_HELD,\r\n\tMARK_PENDING_FORWARD\r\n} from './mailActionTypes';\r\nimport mailStatusUtility from 'utilities/mailStatusUtility';\r\n\r\nconst mailReducer = (state, action) => {\r\n\tswitch (action.type) {\r\n\t\tcase GET_FOLDER:\r\n\t\t\tvar sortedList = action.payload.sort((a, b) => {\r\n\t\t\t\treturn new Date(b.dateScanned) - new Date(a.dateScanned);\r\n\t\t\t});\r\n\t\t\treturn { ...state, list: sortedList };\r\n\t\tcase DOWNLOAD_BULK:\r\n\t\t\treturn _downloadBulk(state, action);\r\n\t\tcase MARK_PENDING_SHRED:\r\n\t\t\treturn _markPendingShred(state, action);\r\n\t\tcase MARK_PENDING_SCAN:\r\n\t\t\treturn _markPendingScan(state, action);\r\n\t\tcase CANCEL_PENDING:\r\n\t\t\treturn _cancelPending(state, action);\r\n\t\tcase MARK_RETURN_TO_SENDER:\r\n\t\t\treturn _returnToSender(state, action);\r\n\t\tcase MAIL_MOVED_FOLDER:\r\n\t\t\treturn _mailMovedFolder(state, action);\r\n\t\tcase RECYCLE:\r\n\t\t\treturn _mailMovedFolder(state, action);\r\n\t\tcase MARK_PENDING_RESCAN:\r\n\t\t\treturn _pendingRescan(state, action);\r\n\t\tcase MAIL_HELD:\r\n\t\t\treturn {...state, mailHeld: action.payload}\r\n\t\tcase MARK_PENDING_FORWARD:\r\n\t\t\treturn _markPendingForward(state, action);\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n\r\nconst _downloadBulk = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tmail.read = true;\r\n\t\t}\r\n\t\treturn mail;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n}\r\n\r\n\r\nconst _pendingRescan = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tif (action.payload.mailId === mail.mailId) {\r\n\t\t\treturn action.payload;\r\n\t\t}\r\n\t\treturn mail;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\n//Remove mail from the current folder\r\nconst _mailMovedFolder = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.filter((mail) => action.payload.indexOf(mail.mailId) === -1);\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nconst _returnToSender = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tlet newItem = mail;\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tnewItem.mailActions = 3;\r\n\t\t}\r\n\t\treturn newItem;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nconst _cancelPending = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tlet newItem = mail;\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tnewItem.mailActions = null;\r\n\t\t}\r\n\t\treturn newItem;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nconst _markPendingScan = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tlet newItem = mail;\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tnewItem.mailActions = 0;\r\n\t\t}\r\n\t\treturn newItem;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nconst _markPendingForward = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tlet newItem = mail;\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tnewItem.mailActions = 1;\r\n\t\t}\r\n\t\treturn newItem;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nconst _markPendingShred = (state, action) => {\r\n\tlet mailList = [ ...state.list ];\r\n\tmailList = mailList.map((mail) => {\r\n\t\tlet newItem = mail;\r\n\t\tif (action.payload.indexOf(mail.mailId) > -1) {\r\n\t\t\tnewItem.status = 6;\r\n\t\t}\r\n\t\treturn newItem;\r\n\t});\r\n\treturn { ...state, list: mailList };\r\n};\r\n\r\nexport default mailReducer;\r\n","export const GET_FOLDER = \"GET_FOLDER\";\r\nexport const MARK_PENDING_SHRED = \"MARK_PENDING_SHRED\";\r\nexport const MARK_PENDING_SCAN = \"MARK_PENDING_SCAN\";\r\nexport const CANCEL_PENDING = \"CANCEL_PENDING\";\r\nexport const MARK_RETURN_TO_SENDER = \"MARK_RETURN_TO_SENDER\";\r\nexport const MAIL_MOVED_FOLDER = \"MAIL_MOVED_FOLDER\";\r\nexport const RECYCLE = \"RECYCLE\";\r\nexport const MARK_PENDING_RESCAN = \"MARK_PENDING_RESCAN\";\r\nexport const DOWNLOAD_BULK = \"DOWNLOAD_BULK\";\r\nexport const MAIL_HELD = \"MAIL_HELD\";\r\nexport const MARK_PENDING_FORWARD = \"MARK_PENDING_FORWARD\";\r\n","import { useReducer } from 'react';\r\nimport mailActions from './mailActions';\r\nimport mailReducer from './mailReducer';\r\n\r\nexport default function useMail() {\r\n\tconst [ mail, mailDispatch ] = useReducer(mailReducer, {});\r\n const { \r\n getFolder,\r\n downloadBulk,\r\n markPendingShred, \r\n markPendingScan, \r\n\tcancelPending,\r\n\treturnToSender,\r\n\tmoveToFolder,\r\n\tupdateName, \r\n\trecycle,\r\n\tsearch,\r\n\tmarkPendingRescan,\r\n\temail,\r\n\tmailHeld,\r\n\tmarkPendingForward } = mailActions(mailDispatch);\r\n\r\n\treturn {\r\n\t\tresponse: mail,\r\n\t\tgetFolder,\r\n\t\tdownloadBulk,\r\n\t\tmarkPendingShred,\r\n\t\tmarkPendingScan,\r\n\t\tcancelPending,\r\n\t\treturnToSender,\r\n\t\tmoveToFolder,\r\n\t\tupdateName,\r\n\t\trecycle,\r\n\t\tsearch,\r\n\t\tmarkPendingRescan,\r\n\t\temail,\r\n\t\tmailHeld,\r\n\t\tmarkPendingForward\r\n\t};\r\n}\r\n","export const GET_FOLDERS = \"GET_FOLDERS\";\r\nexport const LOADING_FOLDERS = \"LOADING_FOLDERS\";\r\nexport const ADD_FOLDER = \"ADD_FOLDER\";\r\nexport const DELETE_FOLDER = \"DELETE_FOLDER\";\r\n","import axios from 'axios';\r\nimport { GET_FOLDERS, LOADING_FOLDERS, ADD_FOLDER, DELETE_FOLDER } from './foldersActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\tconst getFolders = async () => {\r\n\t\tdispatch({\r\n\t\t\ttype: LOADING_FOLDERS\r\n\t\t});\r\n\t\tlet response = await _getFolders();\r\n\t\tdispatch({\r\n\t\t\ttype: GET_FOLDERS,\r\n\t\t\tpayload: response.data\r\n\t\t});\r\n\t};\r\n\r\n\tconst addFolder = async (folderName) => {\r\n\t\treturn new Promise(async (resolve, reject) => {\r\n\t\t\tvar folder = await _addFolder(folderName);\r\n\t\t\tdispatch({\r\n\t\t\t\ttype: ADD_FOLDER,\r\n\t\t\t\tpayload: folder\r\n\t\t\t});\r\n\t\t\tresolve();\r\n\t\t});\r\n\t};\r\n\r\n\tconst deleteFolder = async (folderId) => {\r\n\t\tawait _deleteFolder(folderId);\r\n\t\tdispatch({\r\n\t\t\ttype: DELETE_FOLDER,\r\n\t\t\tpayload: folderId\r\n\t\t});\r\n\t};\r\n\r\n\treturn { getFolders, addFolder, deleteFolder };\r\n};\r\n\r\nconst _deleteFolder = async (folderId) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Folder?folderId=${folderId}`,\r\n\t\t\tmethod: 'DELETE',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting folder list', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _addFolder = async (name) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Folder?folderName=${name}`,\r\n\t\t\tmethod: 'POST',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting folder list', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _getFolders = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Folder`,\r\n\t\t\tmethod: 'GET',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting folder list', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n","import {\r\n GET_FOLDERS,\r\n LOADING_FOLDERS,\r\n ADD_FOLDER,\r\n DELETE_FOLDER\r\n} from \"./foldersActionTypes\";\r\n\r\nconst mailReducer = (state, action) => {\r\n switch (action.type) {\r\n case LOADING_FOLDERS:\r\n return { ...state, loading: true}\r\n case GET_FOLDERS:\r\n return { ...state, loading: false, list: action.payload } \r\n case ADD_FOLDER:\r\n return addFolder(state, action);\r\n case DELETE_FOLDER:\r\n return deleteFolder(state, action);\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst deleteFolder = (state, action) => {\r\n let list = [...state.list];\r\n list = list.filter(item => item.folderId !== action.payload);\r\n return {...state, list}\r\n}\r\n\r\nconst addFolder = (state, action) => {\r\n let list = [...state.list];\r\n list.push(action.payload);\r\n return { ...state, list};\r\n}\r\n\r\nexport default mailReducer;\r\n","import { useReducer } from \"react\";\r\nimport folderActions from \"./foldersActions\";\r\nimport folderReducer from \"./foldersReducer\";\r\n\r\nexport default function useMail() {\r\n const [folders, folderDispatch] = useReducer(folderReducer, {});\r\n const { getFolders, addFolder, deleteFolder } = folderActions(folderDispatch);\r\n\r\n return {\r\n response: folders,\r\n getFolders,\r\n addFolder,\r\n deleteFolder\r\n };\r\n}\r\n","export const FETCH_ADDRESSES = \"FETCH_ADDRESSES\";\r\nexport const ADD_ADDRESS = \"ADD_ADDRESS\";\r\nexport const REMOVE_ADDRESS = \"REMOVE_ADDRESS\";","import axios from 'axios';\r\nimport { FETCH_ADDRESSES, ADD_ADDRESS, REMOVE_ADDRESS } from './addressActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\tconst fetch = async () => {\r\n\t\tlet addressList = await _fetch();\r\n\t\tdispatch({\r\n\t\t\ttype: FETCH_ADDRESSES,\r\n\t\t\tpayload: addressList.data\r\n\t\t});\r\n\t};\r\n\r\n\tconst add = async (address) => {\r\n\t\taddress = await _add(address);\r\n\t\tdispatch({\r\n\t\t\ttype: ADD_ADDRESS,\r\n\t\t\tpayload: address\r\n\t\t});\r\n\t\treturn address;\r\n\t};\r\n\r\n\tconst remove = async(addressId) => {\r\n\t\tawait _remove(addressId);\r\n\t\tdispatch({\r\n\t\t\ttype: REMOVE_ADDRESS,\r\n\t\t\tpayload: addressId\r\n\t\t})\r\n\t}\r\n\r\n\treturn { fetch, add, remove };\r\n};\r\n\r\nconst _remove = async(addressId) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Address?addressId=${addressId}`,\r\n\t\t\tmethod: 'DELETE',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error deleting address', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n}\r\n\r\nconst _fetch = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Address`,\r\n\t\t\tmethod: 'GET',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting address', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _add = async (address) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Address`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: address\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting address', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n","import { FETCH_ADDRESSES, ADD_ADDRESS, REMOVE_ADDRESS } from './addressActionTypes';\r\n\r\nconst addressReducer = (state, action) => {\r\n\tswitch (action.type) {\r\n\t\tcase FETCH_ADDRESSES:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdomestic: action.payload.filter((a) => a.domestic),\r\n\t\t\t\tinternational: action.payload.filter((a) => !a.domestic),\r\n\t\t\t\tloaded: true\r\n\t\t\t};\r\n\t\tcase ADD_ADDRESS:\r\n\t\t\tlet domesticList = [ ...state.domestic ];\r\n\t\t\tlet internationalList = [ ...state.international ];\r\n\r\n\t\t\tif (action.payload.domestic) {\r\n\t\t\t\tdomesticList = domesticList.filter((a) => a.addressId !== action.payload.addressId);\r\n\t\t\t\tdomesticList.push(action.payload);\r\n\t\t\t} else {\r\n\t\t\t\tinternationalList = internationalList.filter((a) => a.addressId !== action.payload.addressId);\r\n\t\t\t\tinternationalList.push(action.payload);\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdomestic: domesticList,\r\n\t\t\t\tinternational: internationalList\r\n\t\t\t};\r\n\t\tcase REMOVE_ADDRESS:\r\n\t\t\treturn _removeAddress(state, action);\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n\r\nconst _removeAddress = (state, action) => {\r\n\tlet domesticList = [ ...state.domestic ];\r\n\tlet internationalList = [ ...state.international ];\r\n\tdomesticList = domesticList.filter((a) => parseInt(a.addressId) !== parseInt(action.payload));\r\n\tinternationalList = internationalList.filter((a) => parseInt(a.addressId) !== parseInt(action.payload));\r\n\treturn {\r\n\t\t...state,\r\n\t\tdomestic: domesticList,\r\n\t\tinternational: internationalList\r\n\t};\r\n};\r\n\r\nexport default addressReducer;\r\n","import { useReducer } from \"react\";\r\nimport alertActions from \"./addressActions\";\r\nimport addressReducer from \"./addressReducer\";\r\n\r\nexport default function useAddress() {\r\n const [addresses, addressDispatch] = useReducer(addressReducer, []);\r\n const { fetch, add, remove } = alertActions(addressDispatch)\r\n\r\n return {\r\n response: addresses,\r\n fetch,\r\n add,\r\n remove\r\n };\r\n}\r\n","export const GET_AUDIT = \"GET_AUDIT\";","import axios from 'axios';\r\nimport { GET_AUDIT } from './auditActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\r\n const getAudit = async(page, pageSize) => {\r\n var auditLog = await _getAudit(page, pageSize);\r\n dispatch({\r\n payload: { log: auditLog, page: page },\r\n type: GET_AUDIT\r\n });\r\n return auditLog.length > 0;\r\n };\r\n return { getAudit };\r\n};\r\n\r\nconst _getAudit = async (page, pageSize) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Audit?page=${page}&pageSize=${pageSize}`,\r\n method: 'GET',\r\n })\r\n .then((response) => {\r\n resolve(response.data);\r\n })\r\n .catch((response) => {\r\n console.log('Error getting audit', response);\r\n reject();\r\n });\r\n });\r\n}","import {\r\n GET_AUDIT\r\n} from \"./auditActionTypes\";\r\n\r\nconst auditReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_AUDIT:\r\n let newAuditLog = state?.auditLog || [];\r\n //Reset audit log if getting from page 0\r\n if (action.payload.page === 0) {\r\n newAuditLog = [];\r\n }\r\n newAuditLog = newAuditLog.concat(action.payload.log);\r\n return {...state, auditLog: newAuditLog };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default auditReducer;","import { useReducer } from \"react\";\r\nimport auditActions from \"./auditActions\";\r\nimport auditReducer from \"./auditReducer\";\r\n\r\nexport default function useAudit() {\r\n const [audit, auditDispatch] = useReducer(auditReducer, {});\r\n const { getAudit } = auditActions(auditDispatch);\r\n\r\n return {\r\n response: audit,\r\n getAudit\r\n };\r\n}","//Global event handler, allows events to be subscribed, unsubscribed and published(triggered)\r\nconst _handlers = {}\r\n\r\nexport default {\r\n subscribe (event, handler) {\r\n if (!_handlers[event]) _handlers[event] = []\r\n _handlers[event].push(handler)\r\n },\r\n unsubscribe (event, handler) {\r\n if (!_handlers[event]) return\r\n _handlers[event] = _handlers[event].filter(func => func !== handler)\r\n },\r\n publish (event, ...args) {\r\n if (!_handlers[event]) return\r\n _handlers[event].forEach(handler => {\r\n if (typeof handler === 'function') {\r\n handler(...args)\r\n }\r\n })\r\n }\r\n}","import axios from \"axios\";\r\nimport {\r\n GET_SERVICES,\r\n SET_MAILIDS,\r\n GET_LOG,\r\n CANCEL_FORWARD\r\n} from \"./forwardActionTypes\";\r\n\r\nexport default dispatch => {\r\n const setMailIds = mailIds => {\r\n dispatch({\r\n type: SET_MAILIDS,\r\n payload: mailIds\r\n });\r\n };\r\n\r\n const getLog = async () => {\r\n let log = await _getLog();\r\n dispatch({\r\n type: GET_LOG,\r\n payload: log\r\n });\r\n };\r\n\r\n const calculate = async (mailIds, addressId) => {\r\n let response = await _calculate(mailIds, addressId);\r\n dispatch({\r\n type: GET_SERVICES,\r\n payload: {\r\n service: response.data\r\n }\r\n });\r\n };\r\n\r\n const cancelForward = async (forwardIdList) => {\r\n await _cancelForward(forwardIdList);\r\n dispatch({\r\n type: CANCEL_FORWARD,\r\n payload: forwardIdList\r\n });\r\n };\r\n\r\n return { calculate, setMailIds, getLog, cancelForward };\r\n};\r\n\r\nconst _cancelForward = async (forwardIdList) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/forward/cancel`,\r\n method: \"DELETE\",\r\n data: forwardIdList,\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting folder list\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _getLog = async () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/forward/log`,\r\n method: \"GET\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting folder list\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\nconst _calculate = async (mailIds, addressId) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/forward/Calculate`,\r\n method: \"POST\",\r\n data: {\r\n addressId: parseInt(addressId),\r\n mailIds\r\n }\r\n })\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting folder list\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n","import {\r\n GET_SERVICES,\r\n SET_MAILIDS,\r\n GET_LOG,\r\n CANCEL_FORWARD\r\n} from \"./forwardActionTypes\";\r\n\r\nconst forwardReducer = (state, action) => {\r\n switch (action.type) {\r\n case SET_MAILIDS:\r\n return { ...state, mailIds: action.payload };\r\n case GET_SERVICES:\r\n return {\r\n ...state,\r\n list: action.payload,\r\n };\r\n case GET_LOG:\r\n return { ...state, log: action.payload };\r\n case CANCEL_FORWARD:\r\n return _cancelForward(state, action);\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst _cancelForward = (state, action) => {\r\n let log = { ...state.log };\r\n log.pending = log.pending.filter(\r\n a => action.payload.indexOf(a.forwardId) === -1\r\n );\r\n return { ...state, log };\r\n};\r\n\r\nexport default forwardReducer;\r\n","export const GET_FOLDERS = \"GET_FOLDERS\";\r\nexport const GET_SERVICES = \"GET_SERVICES\";\r\nexport const SET_MAILIDS = \"SET_MAILIDS\";\r\nexport const GET_LOG = \"GET_LOG\";\r\nexport const CANCEL_FORWARD = \"FORWARD\";","import { useReducer } from \"react\";\r\nimport forwardActions from \"./forwardActions\";\r\nimport forwardReducer from \"./forwardReducer\";\r\n\r\nexport default function useForward() {\r\n const [forward, forwardDispatch] = useReducer(forwardReducer, {});\r\n const { calculate, setMailIds, getLog, cancelForward } = forwardActions(forwardDispatch);\r\n\r\n return {\r\n response: forward,\r\n calculate,\r\n setMailIds,\r\n getLog, \r\n cancelForward\r\n };\r\n}\r\n","export const UPLOAD_ID = \"UPLOAD_ID\";\r\nexport const GET_VERIFICATION_CODE = \"GET_VERIFICATION_CODE\";\r\nexport const VERIFY_SMS = \"VERIFY_SMS\";\r\nexport const GET_MOBILE_VERIFICATION = \"GET_MOBILE_VERIFICATION\";\r\nexport const GET_VERIFICATION_STATUS = \"GET_VERIFICATION_STATUS\";\r\nexport const DELETE_ID = \"DELETE_ID\";\r\nexport const DELETE_VERIFICATION = \"DELETE_VERIFICATION\";\r\n","export default {\r\n toBase64: file =>\r\n new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.readAsDataURL(file);\r\n reader.onload = () => {\r\n resolve(reader.result);\r\n };\r\n reader.onerror = error => reject(error);\r\n })\r\n};\r\n","import axios from 'axios';\r\nimport {\r\n\tUPLOAD_ID,\r\n\tGET_VERIFICATION_CODE,\r\n\tGET_VERIFICATION_STATUS,\r\n\tVERIFY_SMS,\r\n\tDELETE_ID,\r\n\tDELETE_VERIFICATION\r\n} from './verificationActionTypes';\r\nimport imageUtility from 'utilities/imageUtility';\r\n\r\nexport default (dispatch) => {\r\n\tconst verifySms = () => {\r\n\t\tdispatch({\r\n\t\t\ttype: VERIFY_SMS\r\n\t\t});\r\n\t};\r\n\r\n\tconst uploadId = async (file, photoSide, randomCode, uploadProgress) => {\r\n\t\tawait _uploadId(file, photoSide, randomCode, uploadProgress);\r\n\t\tvar base64 = await imageUtility.toBase64(file);\r\n\t\tdispatch({\r\n\t\t\ttype: UPLOAD_ID,\r\n\t\t\tpayload: { photoSide, base64 }\r\n\t\t});\r\n\t};\r\n\r\n\tconst deleteId = (photoSide) => {\r\n\t\tdispatch({\r\n\t\t\ttype: DELETE_ID,\r\n\t\t\tpayload: photoSide\r\n\t\t});\r\n\t};\r\n\r\n\tconst deleteIdVerification = async () => {\r\n\t\tawait _deleteIdVerification();\r\n\t\tdispatch({\r\n\t\t\ttype: DELETE_VERIFICATION\r\n\t\t});\r\n\t};\r\n\r\n\tconst getVerificationCode = async () => {\r\n\t\tvar verificationCode = await _getVerificationCode();\r\n\t\tdispatch({\r\n\t\t\ttype: GET_VERIFICATION_CODE,\r\n\t\t\tpayload: verificationCode\r\n\t\t});\r\n\t};\r\n\r\n\tconst smsVerification = async (mobileNumber) => {\r\n\t\treturn await _smsVerification(encodeURIComponent(mobileNumber));\r\n\r\n\t};\r\n\r\n\tconst getVerificationStatus = async () => {\r\n\t\tvar response = await _getVerificationStatus();\r\n\t\tdispatch({\r\n\t\t\ttype: GET_VERIFICATION_STATUS,\r\n\t\t\tpayload: response\r\n\t\t});\r\n\t};\r\n\r\n\tconst emailVerification = async () => {\r\n\t\tawait _emailVerification();\r\n\t};\r\n\r\n\tconst submitEmailVerification = async (code) => {\r\n\t\treturn await _submitEmailVerification(code);\r\n\t};\r\n\r\n\treturn {\r\n\t\tuploadId,\r\n\t\tgetVerificationCode,\r\n\t\tsmsVerification,\r\n\t\tgetVerificationStatus,\r\n\t\temailVerification,\r\n\t\tsubmitEmailVerification,\r\n\t\tverifySms,\r\n\t\tdeleteId,\r\n\t\tdeleteIdVerification\r\n\t};\r\n};\r\n\r\nconst _submitEmailVerification = async (code) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/EmailVerification/SubmitVerification?q=${code}`,\r\n\t\t\tmethod: 'post'\r\n\t\t}).then((response) => {\r\n\t\t\tresolve(response.data);\r\n\t\t});\r\n\t});\r\n};\r\n\r\nconst _emailVerification = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/EmailVerification/SendVerification?webpage=${window.webpageDetails.webpageName}`,\r\n\t\t\tmethod: 'post'\r\n\t\t}).then((response) => {\r\n\t\t\tresolve(response.data);\r\n\t\t});\r\n\t});\r\n};\r\n\r\nconst _getVerificationStatus = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: '/api/verification/getverification',\r\n\t\t\tmethod: 'get'\r\n\t\t}).then((response) => {\r\n\t\t\tresolve(response.data);\r\n\t\t});\r\n\t});\r\n};\r\n\r\nconst _deleteIdVerification = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/verification/deleteVerification`,\r\n\t\t\tmethod: 'delete'\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve();\r\n\t\t\t})\r\n\t\t\t.catch((error) => {\r\n\t\t\t\tconsole.log('error', error);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _smsVerification = async (mobileNumber) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/verification/Sms?mobileNumber=${mobileNumber}`,\r\n\t\t\tmethod: 'post'\r\n\t\t}).then((response) => {\r\n\t\t\tresolve(response.data);\r\n\t\t});\r\n\t});\r\n};\r\n\r\nconst _getVerificationCode = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: '/api/verification/generaterandomcode',\r\n\t\t\tmethod: 'get'\r\n\t\t}).then((response) => {\r\n\t\t\tresolve(response.data);\r\n\t\t});\r\n\t});\r\n};\r\n\r\nconst _uploadId = async (file, photoSide, uploadProgress) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tconst formData = new FormData();\r\n\t\tformData.append('file', file);\r\n\t\taxios({\r\n\t\t\tmethod: 'post',\r\n\t\t\turl: `/api/verification/upload?photoSide=${photoSide}`,\r\n\t\t\tdata: formData,\r\n\t\t\theaders: {\r\n\t\t\t\t'Content-Type': 'multipart/form-data'\r\n\t\t\t},\r\n\t\t\tonUploadProgress: uploadProgress\r\n\t\t})\r\n\t\t\t.then((res) => {\r\n\t\t\t\tresolve(res);\r\n\t\t\t})\r\n\t\t\t.catch(function(error) {\r\n\t\t\t\tconsole.log('error', error);\r\n\t\t\t});\r\n\t});\r\n};\r\n","import * as verificationEnum from 'enums/verificationEnum';\r\nimport {\r\n\tUPLOAD_ID,\r\n\tGET_VERIFICATION_CODE,\r\n\tVERIFY_SMS,\r\n\tGET_MOBILE_VERIFICATION,\r\n\tGET_VERIFICATION_STATUS,\r\n\tDELETE_ID,\r\n\tDELETE_VERIFICATION\r\n} from './verificationActionTypes';\r\n\r\nconst verificationReducer = (state, action) => {\r\n\tswitch (action.type) {\r\n\t\tcase UPLOAD_ID:\r\n\t\t\treturn { ...state, [action.payload.photoSide]: action.payload.base64 };\r\n\t\tcase DELETE_ID:\r\n\t\t\treturn {...state, [action.payload]: null};\r\n\t\tcase GET_VERIFICATION_CODE:\r\n\t\t\treturn { ...state, verificationCode: action.payload };\r\n\t\tcase GET_MOBILE_VERIFICATION:\r\n\t\t\treturn { ...state, mobileVerified: action.payload };\r\n\t\tcase GET_VERIFICATION_STATUS:\r\n\t\t\t\treturn { ...state, verifications: action.payload };\t\r\n\t\tcase DELETE_VERIFICATION:\r\n\t\t\treturn { ...state, front: null, back: null, selfie: null, verifications: {...state.verifications, idVerification: 0 } };\r\n\t\tcase VERIFY_SMS:\r\n\t\t\treturn { ...state, verifications: { ...state.verifications, smsVerification: verificationEnum.Accepted } };\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n\r\nexport default verificationReducer;\r\n","import { useReducer } from 'react';\r\nimport verificationActions from './verificationActions';\r\nimport verificationReducer from './verificationReducer';\r\n\r\nexport default function useVerification() {\r\n\tconst [ verification, verifiactionDispatch ] = useReducer(verificationReducer);\r\n\tconst {\r\n\t\tuploadId,\r\n\t\tgetVerificationCode,\r\n\t\tsmsVerification,\r\n\t\tverifySms,\r\n\t\tgetVerificationStatus,\r\n\t\temailVerification,\r\n\t\tsubmitEmailVerification,\r\n\t\tdeleteId,\r\n\t\tdeleteIdVerification\r\n\t} = verificationActions(verifiactionDispatch);\r\n\r\n\treturn {\r\n\t\tresponse: verification,\r\n\t\tuploadId,\r\n\t\tgetVerificationCode,\r\n\t\tsmsVerification,\r\n\t\tverifySms,\r\n\t\tgetVerificationStatus,\r\n\t\temailVerification,\r\n\t\tsubmitEmailVerification,\r\n\t\tdeleteId,\r\n\t\tdeleteIdVerification\r\n\t};\r\n}\r\n","import axios from \"axios\";\r\n\r\nexport default dispatch => {\r\n const updatePayment = async (cardName, autoTopUpAmount, sourceToken, chargeNow) => {\r\n return await _updatePayment(cardName, autoTopUpAmount, sourceToken, chargeNow);\r\n \r\n };\r\n\r\n return { updatePayment };\r\n};\r\n\r\n\r\nconst _updatePayment = async (cardName, autoTopUpAmount, sourceToken, chargeNow) => {\r\n\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Payment/UpdateCard`,\r\n method: \"POST\",\r\n data: {cardName, autoTopUpAmount, sourceToken, chargeNow},\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error updating payment\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\n","// import {\r\n// UPDATE_PAYMENT\r\n// } from \"./paymentActionTypes\";\r\n\r\nconst paymentReducer = (state, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default paymentReducer;\r\n","import { useReducer } from \"react\";\r\nimport paymentActions from \"./paymentActions\";\r\nimport paymentReducer from \"./paymentReducer\";\r\n\r\nexport default function usePayment() {\r\n const [payment, paymentDispatch] = useReducer(paymentReducer, {});\r\n const { updatePayment } = paymentActions(paymentDispatch);\r\n\r\n return {\r\n response: payment,\r\n updatePayment\r\n };\r\n}\r\n","export const GET_LOCATIONS = \"GET_LOCATIONS\";\r\nexport const GET_USER_LOCATIONS = \"GET_USER_LOCATIONS\";","import axios from 'axios';\r\nimport { GET_LOCATIONS, GET_USER_LOCATIONS } from './locationActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\tconst getAll = async () => {\r\n\t\tlet locations = await _getAll();\r\n\t\tdispatch({\r\n\t\t\ttype: GET_LOCATIONS,\r\n\t\t\tpayload: locations\r\n\t\t});\r\n\t};\r\n\r\n\tconst getUserLocations = async () => {\r\n\t\tvar locations = await _getUserLocations();\r\n\t\tdispatch({\r\n\t\t\tpayload: locations,\r\n\t\t\ttype: GET_USER_LOCATIONS\r\n\t\t})\r\n\t};\r\n\r\n\r\n\tconst saveLocations = async (locationIds) => {\r\n\t\tawait _saveLocations(locationIds);\r\n\t};\r\n\r\n\treturn { getAll, saveLocations, getUserLocations };\r\n};\r\n\r\nconst _getUserLocations = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Account/GetLocations`,\r\n\t\t\tmethod: 'GET',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting account', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\t\r\n}\r\n\r\n\r\nconst _saveLocations = async (locationIds) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Account/AddLocations`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: locationIds,\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error adding Locations', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n\r\nconst _getAll = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\taxios({\r\n\t\t\turl: `/api/Location/GetAll?webpage=${window.webpageDetails.webpageName}`,\r\n\t\t\tmethod: 'GET',\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tresolve(response.data);\r\n\t\t\t})\r\n\t\t\t.catch((response) => {\r\n\t\t\t\tconsole.log('Error getting location', response);\r\n\t\t\t\treject();\r\n\t\t\t});\r\n\t});\r\n};\r\n","import {\r\n GET_LOCATIONS,\r\n GET_USER_LOCATIONS\r\n} from \"./locationActionTypes\";\r\n\r\nconst locationReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_LOCATIONS:\r\n return { ...state, locations : action.payload }\r\n case GET_USER_LOCATIONS:\r\n return { ...state, userLocations: action.payload }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default locationReducer;\r\n","import { useReducer } from \"react\";\r\nimport locationActions from \"./locationActions\";\r\nimport locationReducer from \"./locationReducer\";\r\n\r\nexport default function useLocation() {\r\n const [location, locationDispatch] = useReducer(locationReducer, {});\r\n const { getAll, saveLocations, getUserLocations } = locationActions(locationDispatch);\r\n\r\n return {\r\n response: location,\r\n getAll,\r\n saveLocations,\r\n getUserLocations\r\n };\r\n}\r\n","export const GET_ALL = \"GET_ALL\";","import axios from \"axios\";\r\nimport {\r\n GET_ALL,\r\n} from \"./planActionTypes\";\r\n\r\nexport default dispatch => {\r\n const getAll = async () => {\r\n var plans = await _getAll();\r\n dispatch({\r\n type: GET_ALL,\r\n payload: plans\r\n })\r\n };\r\n return { getAll };\r\n};\r\n\r\nconst _getAll = async () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Plan/GetAll?webpage=${window.webpageDetails.webpageName}`,\r\n method: \"GET\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error geting all\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\n","import {\r\n GET_ALL,\r\n} from \"./planActionTypes\";\r\n\r\nconst planReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_ALL:\r\n return { plans: action.payload }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default planReducer;\r\n","import { useReducer } from \"react\";\r\nimport planActions from \"./planActions\";\r\nimport planReducer from \"./planReducer\";\r\n\r\nexport default function usePlan() {\r\n const [plan, planDispatch] = useReducer(planReducer, {response: []});\r\n const { getAll } = planActions(planDispatch);\r\n\r\n return {\r\n response: plan,\r\n getAll\r\n };\r\n}\r\n","export const GET_NAMES = \"GET_NAMES\";\r\nexport const ADD_NAME = \"ADD_NAME\";\r\nexport const DELETE_NAME = \"DELETE_NAME\";","import axios from 'axios';\r\nimport {\r\n GET_NAMES,\r\n ADD_NAME,\r\n DELETE_NAME\r\n} from \"./additionalNamesActionTypes\";\r\n\r\n\r\nexport default dispatch => {\r\n const getNames = async() => {\r\n var names = await _getNames();\r\n dispatch({ type: GET_NAMES, payload: names });\r\n }\r\n\r\n const saveName = async(name) => {\r\n var response = await _saveName(name);\r\n if (response.success) {\r\n dispatch({ type: ADD_NAME, payload: response.object });\r\n }\r\n return response;\r\n }\r\n\r\n const deleteName = async(additionalId) => {\r\n var response = await _deleteName(additionalId);\r\n if (response.success) {\r\n dispatch({ type: DELETE_NAME, payload: additionalId });\r\n }\r\n }\r\n\r\n return { getNames, saveName, deleteName };\r\n};\r\n\r\nconst _deleteName = async (additionalId) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/AdditionalName?additionalNameId=${additionalId}`,\r\n method: \"DELETE\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting address\", response);\r\n reject();\r\n });\r\n });\r\n\r\n}\r\n\r\nconst _saveName = async (name) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/AdditionalName?name=${encodeURIComponent(name)}`,\r\n method: \"POST\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting address\", response);\r\n reject();\r\n });\r\n });\r\n}\r\n\r\nconst _getNames = async () => {\r\n\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/AdditionalName`,\r\n method: \"GET\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting address\", response);\r\n reject();\r\n });\r\n });\r\n}","import {\r\n GET_NAMES,\r\n ADD_NAME,\r\n DELETE_NAME\r\n} from \"./additionalNamesActionTypes\";\r\n\r\nconst additionalNamesReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_NAMES:\r\n return {...state, names: action.payload };\r\n case ADD_NAME:\r\n return _addName(state, action);\r\n case DELETE_NAME:\r\n return _deleteName(state, action);\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst _deleteName = (state, action) => {\r\n let newState = {...state };\r\n newState.names = newState.names.filter(name => name.additionalNameId !== action.payload);\r\n return newState;\r\n}\r\n\r\nconst _addName = (state, action) => {\r\n let newState = {...state };\r\n newState.names.push(action.payload);\r\n return newState;\r\n}\r\nexport default additionalNamesReducer;","import { useReducer } from \"react\";\r\nimport additionalNamesActions from \"./additionalNamesActions\";\r\nimport additionalNamesReducer from \"./additionalNamesReducer\";\r\n\r\nexport default function useAdditionalNamesSettings() {\r\n const [names, additionalNamesDispatch] = useReducer(additionalNamesReducer, {});\r\n const { getNames, saveName, deleteName } = additionalNamesActions(additionalNamesDispatch);\r\n\r\n return {\r\n response: names,\r\n getNames,\r\n saveName,\r\n deleteName\r\n };\r\n}","export const GET_TRANSACTION = \"GET_TRANSACTION\";","import axios from 'axios';\r\nimport { GET_TRANSACTION } from './transactionActionTypes';\r\n\r\nexport default (dispatch) => {\r\n\r\n const getTransactions = async(page, pageSize) => {\r\n var transactions = await _getTransaction(page, pageSize);\r\n dispatch({\r\n payload: { log: transactions, page: page },\r\n type: GET_TRANSACTION\r\n });\r\n return transactions.length > 0;\r\n };\r\n return { getTransactions };\r\n};\r\n\r\nconst _getTransaction = async (page, pageSize) => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/Transaction?page=${page}&pageSize=${pageSize}`,\r\n method: 'GET',\r\n })\r\n .then((response) => {\r\n resolve(response.data);\r\n })\r\n .catch((response) => {\r\n console.log('Error getting audit', response);\r\n reject();\r\n });\r\n });\r\n}","import { GET_TRANSACTION } from \"./transactionActionTypes\";\r\n\r\nconst transactionReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_TRANSACTION:\r\n let transactions = state?.transactions || [];\r\n //Reset audit log if getting from page 0\r\n if (action.payload.page === 0) {\r\n transactions = [];\r\n }\r\n transactions = transactions.concat(action.payload.log);\r\n return { ...state, transactions: transactions };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default transactionReducer;\r\n","import { useReducer } from \"react\";\r\nimport transactionActions from \"./transactionActions\";\r\nimport transactionReducer from \"./transactionReducer\";\r\n\r\nexport default function useTransaction() {\r\n const [transactions, transactionDispatch] = useReducer(transactionReducer, {});\r\n const { getTransactions } = transactionActions(transactionDispatch);\r\n\r\n return {\r\n response: transactions,\r\n getTransactions\r\n };\r\n}","import axios from 'axios';\r\nimport securityHelper from \"security/securityHelper\";\r\n\r\nexport default (dispatch) => {\r\n\tconst doLogin = async (username, password, loginGuard, keepLoggedIn) => {\r\n\t\tvar account = await _login(username, password, loginGuard, keepLoggedIn);\r\n\r\n\t\tif (!account) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tif (account === 'loginGuardRequired'){\r\n\t\t\treturn 'loginGuardRequired';\r\n\t\t}\r\n\r\n\t\tsecurityHelper.saveToken(account);\r\n\r\n\t\treturn account;\r\n\t};\r\n\r\n\treturn { doLogin };\r\n};\r\n\r\nconst _login = (email, password, loginGuard, keepLoggedIn) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tlet jwtUser = { EmailAddress: email, Password: password, KeepLoggedIn: keepLoggedIn, loginGuard: loginGuard };\r\n\t\taxios({\r\n\t\t\turl: `/api/Login?webpage=${window.webpageDetails.webpageName}`,\r\n\t\t\tmethod: 'POST',\r\n\t\t\tdata: jwtUser\r\n\t\t})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tif (response.data === 'loginGuardRequired') {\r\n\t\t\t\t\tresolve('loginGuardRequired');\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tresolve(response?.data.account);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.catch((error) => {\r\n\t\t\t\tconsole.log(\"error\", error);\r\n\t\t\t\tresolve(null)\r\n\t\t\t});\r\n\t});\r\n};\r\n","import {\r\n\tLOGIN\r\n} from './loginActionTypes';\r\n\r\nconst LoginReducer = (state, action) => {\r\n\tswitch (action.type) {\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n\r\nexport default LoginReducer;","import { useReducer } from \"react\";\r\nimport loginActions from \"./loginActions\";\r\nimport loginReducer from \"./loginReducer\";\r\n\r\nexport default function useLogin() {\r\n const [login, loginDispatch] = useReducer(loginReducer, {});\r\n const {\r\n doLogin,\r\n } = loginActions(loginDispatch);\r\n\r\n return {\r\n response: login,\r\n doLogin,\r\n };\r\n}\r\n","export const GET_METRICS = \"GET_METRICS\";","import axios from \"axios\";\r\nimport {\r\n GET_METRICS,\r\n} from \"./storageActionTypes\";\r\n\r\nexport default dispatch => {\r\n const getMetrics = async () => {\r\n var metrics = await _getMetrics();\r\n dispatch({\r\n type: GET_METRICS,\r\n payload: metrics\r\n })\r\n };\r\n return { getMetrics };\r\n};\r\n\r\nconst _getMetrics = async () => {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url: `/api/StorageMetrics/GetMetrics`,\r\n method: \"GET\",\r\n })\r\n .then(response => {\r\n resolve(response.data);\r\n })\r\n .catch(response => {\r\n console.log(\"Error getting metrics\", response);\r\n reject();\r\n });\r\n });\r\n};\r\n\r\n","import {\r\n GET_METRICS,\r\n} from \"./storageActionTypes\";\r\n\r\nconst metricsReducer = (state, action) => {\r\n switch (action.type) {\r\n case GET_METRICS:\r\n return { metrics: action.payload }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default metricsReducer;\r\n","import { useReducer } from \"react\";\r\nimport storageActions from \"./storageActions\";\r\nimport storageReducer from \"./storageReducer\";\r\n\r\nexport default function useStorage() {\r\n const [storage, storageDispatch] = useReducer(storageReducer, {response: []});\r\n const { getMetrics } = storageActions(storageDispatch);\r\n\r\n return {\r\n response: storage,\r\n getMetrics\r\n };\r\n}\r\n","import React, { useState } from \"react\";\r\nimport GlobalContext from \"./globalContext\";\r\nimport useAccount from \"./accountContext/useAccount\";\r\nimport useAlert from \"./alertContext/useAlert\";\r\nimport useDialog from \"./dialogContext/useDialog\";\r\nimport useAccountSettings from \"./accountSettingsContext/useAccountSettings\";\r\nimport useMail from \"./mailContext/useMail\";\r\nimport useFolders from \"./foldersContext/useFolders\";\r\nimport useAddress from \"./addressContext/useAddress\";\r\nimport useAudit from \"./auditContext/useAudit\";\r\nimport countryList from \"./country.json\";\r\nimport globalEvents from \"./globalEvents\";\r\nimport useForward from \"./forwardContext/useForward\";\r\nimport useVerification from \"./verificationContext/useVerification\";\r\nimport usePayment from \"./paymentContext/usePayment\";\r\nimport useLocation from \"./locationContext/useLocation\";\r\nimport usePlan from \"./planContext/usePlan\";\r\nimport useAdditionalNames from \"./additionalNames/useAdditionalNames\";\r\nimport useTransactions from \"./transactionContext/useTransaction\";\r\nimport useLogin from \"./loginContext/useLogin\";\r\nimport useStorage from \"./storageMetrics/useStorage\";\r\n\r\nconst GlobalState = props => {\r\n const [loading, setLoading] = useState(false);\r\n\r\n const stateHooks = {\r\n account: useAccount(),\r\n alerts: useAlert(),\r\n dialog: useDialog(),\r\n mail: useMail(),\r\n folders: useFolders(),\r\n accountSettings: useAccountSettings(),\r\n address: useAddress(),\r\n forward: useForward(),\r\n verification: useVerification(),\r\n payment: usePayment(),\r\n location: useLocation(),\r\n plan: usePlan(),\r\n audit: useAudit(),\r\n additionalNames: useAdditionalNames(),\r\n transactions: useTransactions(),\r\n login: useLogin(),\r\n storage: useStorage(),\r\n countryList: countryList,\r\n loading: loading,\r\n setLoading: setLoading,\r\n events: globalEvents\r\n }\r\n\r\n return ( {props.children} \r\n \r\n );\r\n};\r\n\r\nexport default GlobalState;","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `/members/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import i18n from 'i18next';\r\nimport { initReactI18next } from 'react-i18next';\r\n\r\nimport Backend from 'i18next-http-backend';\r\nimport LanguageDetector from 'i18next-browser-languagedetector';\r\n\r\ni18n\r\n\t.use(Backend)\r\n\t.use(LanguageDetector)\r\n\t.use(initReactI18next) // passes i18n down to react-i18next\r\n\t.init({\r\n\t\tlng: 'en',\r\n\t\tdebug:false,\r\n\t\tkeySeparator: false, // we do not use keys in form messages.welcome\r\n\r\n\t\tinterpolation: {\r\n\t\t\tescapeValue: false // react already safes from xss\r\n\t\t},\r\n\t\tbackend: {\r\n\t\t\t// for all available options read the backend's repository readme file\r\n\t\t\tloadPath: '/members/locales/{{lng}}/{{ns}}.json'\r\n\t\t }\r\n\t});\r\n\r\nexport default i18n;\r\n","import React, { Suspense } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport App from './App';\r\nimport { library } from '@fortawesome/fontawesome-svg-core';\r\nimport GlobalState from './context/GlobalState';\r\nimport axios from 'axios';\r\nimport * as serviceWorker from './serviceWorker';\r\nimport 'pretty-checkbox/dist/pretty-checkbox.min.css';\r\nimport 'sweetalert2/dist/sweetalert2.css';\r\nimport './i18n';\r\nimport {\r\n\tfaSpinner,\r\n\tfaCaretSquareRight,\r\n\tfaCaretSquareLeft,\r\n\tfaQuestionCircle,\r\n\tfaChevronDown,\r\n\tfaCheck,\r\n\tfaPaperPlane,\r\n\tfaArrowLeft,\r\n\tfaUser,\r\n\tfaLock,\r\n\tfaCamera,\r\n\tfaUsers,\r\n\tfaCreditCard,\r\n\tfaFileInvoiceDollar,\r\n\tfaListAlt,\r\n\tfaClipboardCheck,\r\n\tfaMinusCircle,\r\n\tfaClipboardList,\r\n\tfaEnvelopeOpenText,\r\n\tfaMagic,\r\n\tfaArrowsAlt,\r\n\tfaTimesCircle,\r\n\tfaCheckDouble,\r\n\tfaTimes,\r\n\tfaCloudDownloadAlt,\r\n\tfaClock,\r\n\tfaMapMarkedAlt,\r\n\tfaPen,\r\n\tfaEllipsisV,\r\n\tfaTag,\r\n\tfaRedo,\r\n\tfaBell,\r\n\tfaMoneyCheckAlt,\r\n\tfaChartPie,\r\n\tfaMoneyBillWave,\r\n\tfaCheckCircle,\r\n\tfaArchive,\r\n\tfaPauseCircle,\r\n\tfaExclamationCircle,\r\n\tfaMailBulk,\r\n\tfaShare,\r\n\tfaTrashAlt,\r\n\tfaUndoAlt\r\n} from '@fortawesome/free-solid-svg-icons';\r\nlibrary.add([\r\n\tfaSpinner,\r\n\tfaCaretSquareRight,\r\n\tfaCaretSquareLeft,\r\n\tfaQuestionCircle,\r\n\tfaChevronDown,\r\n\tfaCheck,\r\n\tfaPaperPlane,\r\n\tfaArrowLeft,\r\n\tfaUser,\r\n\tfaLock,\r\n\tfaCamera,\r\n\tfaUsers,\r\n\tfaCreditCard,\r\n\tfaFileInvoiceDollar,\r\n\tfaListAlt,\r\n\tfaClipboardCheck,\r\n\tfaMinusCircle,\r\n\tfaClipboardList,\r\n\tfaEnvelopeOpenText,\r\n\tfaMagic,\r\n\tfaArrowsAlt,\r\n\tfaTimesCircle,\r\n\tfaCheckDouble,\r\n\tfaTimes,\r\n\tfaCloudDownloadAlt,\r\n\tfaClock,\r\n\tfaMapMarkedAlt,\r\n\tfaPen,\r\n\tfaEllipsisV,\r\n\tfaTag,\r\n\tfaRedo,\r\n\tfaBell,\r\n\tfaMoneyCheckAlt,\r\n\tfaChartPie,\r\n\tfaMoneyBillWave,\r\n\tfaCheckCircle,\r\n\tfaArchive,\r\n\tfaPauseCircle,\r\n\tfaExclamationCircle,\r\n\tfaMailBulk,\r\n\tfaShare,\r\n\tfaTrashAlt,\r\n\tfaUndoAlt\r\n]);\r\n\r\nconst HotsnailTheme = React.lazy(() => import('./themes/hotsnail'));\r\nconst ParcelforwardingTheme = React.lazy(() => import('./themes/parcelforwarding'));\r\n\r\nconst ThemeSelector = ({ children }) => {\r\n\treturn (\r\n\t\t\r\n\t\t\t}>\r\n\t\t\t\t{window.location.hostname.indexOf('parcel') > -1 && (\r\n\t\t\t\t\t{children}\r\n\t\t\t\t)}\r\n\t\t\t\t{window.location.hostname.indexOf('parcel') === -1 && {children}}\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\naxios.interceptors.response.use(\r\n\t(response) => {\r\n\t\treturn response;\r\n\t},\r\n\t(error) => {\r\n\t\tconsole.log('error', error);\r\n\t\tif (!error.response) {\r\n\t\t\treturn null;\r\n\t\t} else if (error.response.status === 401) {\r\n\t\t\tif (error.response.config.url.indexOf('/api/Login') === -1) {\r\n\t\t\t\twindow.location.href = '/login';\r\n\t\t\t} else {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn error;\r\n\t}\r\n);\r\n\r\nReactDOM.render(\r\n\t\r\n\t\t\r\n\t\t\t\t\r\n\t\t\r\n\t,\r\n\tdocument.getElementById('root')\r\n);\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n","export const REGISTER_STEP = 0;\r\nexport const CHOOSE_ADDRESS_STEP = 1;\r\nexport const CHOOSE_PLAN = 2;\r\nexport const CHOOSE_PAYMENT_STEP = 3;\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"navbar\":\"TopNav_navbar__2bRMX\",\"navbarBrand\":\"TopNav_navbarBrand__3wDi6\",\"mobileMenuButton\":\"TopNav_mobileMenuButton__1ecIJ\",\"dropdown\":\"TopNav_dropdown__3o87O\",\"clientIcon\":\"TopNav_clientIcon__2SpyI\",\"dropdown-toggle\":\"TopNav_dropdown-toggle__8ZIw-\",\"client\":\"TopNav_client__1DMks\",\"dropdown-menu\":\"TopNav_dropdown-menu__3jZDt\",\"show\":\"TopNav_show__pqfgl\",\"divider\":\"TopNav_divider__i-Ump\",\"peer\":\"TopNav_peer__Y-1sD\",\"alert\":\"TopNav_alert__BEzcF\",\"supportIcon\":\"TopNav_supportIcon__caofA\",\"hideOnMobile\":\"TopNav_hideOnMobile__-jfgL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panel\":\"planElement_panel__3Haug\",\"panelBody\":\"planElement_panelBody__1dEzt\",\"planBox\":\"planElement_planBox__2oqpG\",\"thePrice\":\"planElement_thePrice__3VArU\",\"cnrflash\":\"planElement_cnrflash__t23Kb\",\"cnrflashInner\":\"planElement_cnrflashInner__wwzBZ\",\"cnrflashLabel\":\"planElement_cnrflashLabel__3bV3a\",\"panelHeading\":\"planElement_panelHeading__2Fs0p\",\"active\":\"planElement_active__26MWB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"add-folder\":\"folders_add-folder__3xxM6\",\"folder\":\"folders_folder__2kel6\",\"folderWrapper\":\"folders_folderWrapper__1rzjY\",\"folderButton\":\"folders_folderButton__3tSjF\",\"folderDelete\":\"folders_folderDelete__3I53s\",\"addButton\":\"folders_addButton__12Nab\",\"cancelButton\":\"folders_cancelButton__ZQxOj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"previewWrapper\":\"preview_previewWrapper__22wd4\",\"pdfDocument\":\"preview_pdfDocument__2hTBf\",\"pdfPage\":\"preview_pdfPage__3sGyR\",\"pagerSection\":\"preview_pagerSection__3Xf-1\",\"loading\":\"preview_loading__zk47j\",\"loader\":\"preview_loader__NMKZ-\",\"instructionsIcons\":\"preview_instructionsIcons__2_p4G\",\"instructionWrapper\":\"preview_instructionWrapper__1MgZb\",\"instructions\":\"preview_instructions__2Leot\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sidebarMenu\":\"sidebar_sidebarMenu__3nRNm\",\"mobileOpen\":\"sidebar_mobileOpen__m6dxd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"notSelected\":\"actions_notSelected__C2vTR\",\"selected\":\"actions_selected__2Tjlg\"};"],"sourceRoot":""}