{"version":3,"sources":["components/loading/Loading.jsx","context/GlobalContext.jsx","configs/constants.js","configs/policies.js","components/HOC/withAPIRequest.js","pages/common/meta/Meta.jsx","pages/common/login/Login.jsx","configs/utility.js","pages/admin/admin-campaign-details/AdminCampaignDetails.jsx","pages/common/home/Home.jsx","components/PrivateRoute.js","components/PublicRoute.js","pages/superadmin/superadmin-create-user/SuperadminCreateUser.jsx","pages/superadmin/superadmin-settings/SuperAdminSettings.jsx","pages/superadmin/superadmin-edit-user/SuperadminEditUser.jsx","pages/superadmin/superadmin-users/SuperadminUsers.jsx","components/progressBar/ProgressBar.jsx","pages/admin/admin-campaigns/AdminCampaigns.jsx","components/fileUploader/FileUploader.jsx","pages/requester/requester-campaign-details/RequesterCampaignDetails.jsx","pages/donor/donor-campaign-details/DonorCampaignDetails.jsx","pages/admin/admin-create-campaign/AdminCreateCampaign.jsx","pages/admin/admin-edit-campaign/AdminEditCampaign.jsx","pages/admin/admin-create-requester/AdminCreateRequester.jsx","pages/admin/admin-dashboard/AdminDashboard.jsx","pages/admin/admin-donor-details/AdminDonorDetails.jsx","pages/admin/admin-donors/AdminDonors.jsx","pages/admin/admin-requester-details/AdminRequesterDetails.jsx","pages/admin/admin-requesters/AdminRequesters.jsx","pages/admin/admin-settings/AdminSettings.jsx","pages/admin/admin-campaign-dashboard/AdminCampaignDashboard.jsx","pages/admin/admin-donotion-summary/AdminDonotionSummary.jsx","pages/admin/admin-campaign-donor-details/AdminCampaignDonorDetails.jsx","pages/requester/requester-dashboard/RequesterDashboard.jsx","pages/requester/requester-settings/RequesterSettings.jsx","pages/requester/requester-campaigns/RequesterCampaigns.jsx","pages/requester/requester-donor-summary/RequesterDonorSummary.jsx","pages/requester/requester-donor-details/RequesterDonorDetails.jsx","pages/requester/requester-payment-options/RequesterPaymentOptions.jsx","pages/donor/donor-register/DonorRegister.jsx","pages/donor/donor-register-confirmed/DonorRegisterConfirmed.jsx","pages/donor/donation-confirmations-campaign/DonationConfirmationCampaign.jsx","pages/donor/donor-campaigns/DonorCampaigns.jsx","pages/donor/donor-all-campaigns/DonorAllCampaings.jsx","pages/donor/donor-settings/DonorSettings.jsx","pages/common/campaign-details/CampaignDetails.jsx","pages/common/campaigns/Campaigns.jsx","pages/common/change-email/ChangeEmail.jsx","pages/common/change-password/ChangePassword.jsx","pages/common/chat/Chat.jsx","pages/common/forgot-password/ForgotPassword.jsx","pages/common/notifications/Notifications.jsx","pages/common/reset-password/ResetPassword.jsx","pages/admin/admin-resources/AdminResources.jsx","App.routes.js","pages/common/change-personal-details/ChangePersonalDetails.jsx","pages/common/policies/Policies.jsx","components/initialOperations/InitialOperations.jsx","components/header/Header.jsx","components/header/HeaderPublic.jsx","components/sidebar/Sidebar.jsx","components/footer/Footer.jsx","components/contact-us-popup/Contact.jsx","components/layout/Layout.jsx","App.js","reportWebVitals.js","serviceWorker.js","index.js"],"names":["Loading","state","className","onClick","e","preventDefault","stopPropagation","Component","GlobalContext","React","createContext","GlobalContextProvider","props","useState","user","setUser","loading","setLoading","featuredCampaings","setFeaturedCampaings","addToast","useToasts","Provider","value","setLoggedInUser","flag","setNotifications","notification","text","appearance","type","autoDismiss","children","BASE_URL","API","LOGIN","REGISTER_USER","FORGOT_PASSWORD","RESET_PASSWORD","VERIFY_TOKEN","REGISTER_DONOR","DONOR_REQUESTER_ALL_CAMPAIGN","DONOR_CAMPAIGN","SAVE_FAVOURITE_CAMPAIGN","GET_FAVOURITE_CAMPAIGN","GET_DONATED_CAMPAIGN_DETAIL","CONFIRM_DONAR_DONATION","STRIPE_PAYMENT","STRIPE_PAYMENT_SUCCESS","CHANGE_PASSWORD","CHANGE_EMAIL","GET_USER_PROFILE","UPDATE_PROFILE_PIC","REQUESTERS","REQUESTER_DETAILS","DONORS","DELETE_DONORS","CAMPAIGN_SUMMARY","REGISTER_REQUESTER","DONOR_DETAILS","RESOURCES","UPDATE_USER_STATUS","USERS_LIST","UPDATE_ADMIN","REGISTER_ADMIN","REGISTER_ADMIN_V1","RESEND_REQUESTER_INVITATION","CAMPAIGN_RESOURCES_OPEN_SUMMARY","CAMPAIGN_RESOURCES_SUMMARY","CAMPAIGN_RESOURCES_DONATION_SUMMARY","CAMPAIGN_RESOURCES_DONOR_DETAILS","CAMPAIGNS","SAVE_CAMPAIGN","CAMPAIGN_DETAILS","GET_CHAT_LIST","GET_CHAT_MESSAGES","CHAT_START","NEW_MESSAGE","CAMPAIGN_RESOURCE_STATUS_UPDATE","UPDATE_PENDING_QUANTITY","SEND_FEEDBACK_MESSAGE","DONATE_WITHOUT_CHAT","FILE_UPLOAD","PUBLIC_FEATURED_CAMPAIGNS","PUBLIC_LATEST_CAMPAIGNS","PUBLIC_CONTACT_US","PUBLIC_CAMPAIGN_DETAILS","PAYMENT_OPTIONS_TYPES","PAYMENT_OPTION_SAVE","USER_PAYMENT_OPTIONS_REQUESTOR","USER_PAYMENT_OPTIONS","REQUESTERS_GREETINGS","USER_BY_ID","CAMPAIGN_UNIQUE_RESOURCES","GET_LATEST_VERSION","AXIOS_METHOD_TYPES","CAMPAIGN_STATUS","id","USER_STATUS","RESOURCE_STATUS","USER_ROLE","TIPS","POLICY_CONTENT","privacy","title","browserTitle","content","terms","cookie","disclaimer","dmca","acceptableUse","axios","require","default","withAPIRequest","globalContext","useContext","commonAPIRequest","callback","hideErrorNotification","api","method","params","token","AuthToken","headers","Authorization","config","url","data","then","response","Status","StatusId","includes","msg","Message","catch","error","toString","Meta","Helmet","name","history","useHistory","useParams","useEffect","verifyToken","verificationToken","serviceParams","result","Data","push","getRoutingString","role","initialValues","email","password","IsChecked","validationSchema","Yup","shape","required","min","onSubmit","values","setSubmitting","Email","Password","localStorage","setItem","JSON","stringify","User","Role","callLoginAPI","errors","touched","handleBlur","handleChange","isSubmitting","style","color","backgroundColor","height","paddingTop","paddingLeft","marginBottom","onChange","onBlur","placeholder","href","checked","class","to","target","rel","userType","convertQueryStringToObj","queryString","arr","slice","split","i","length","key","timeSince","date","console","log","seconds","Math","floor","Date","interval","isAccordionClose","currentAccordienID","timeoutTemp","getCampaignShareableURL","campaignId","window","location","host","sortByName","list","filter","IsFeatured","getLetterInitials","str","_name","x","charAt","toUpperCase","getRecipientName","Name","UserName","IsPrivacy","IsAnonymous","campaigns","setCampaigns","setTimeout","$","each","owlCarousel","this","loop","items","margin","autoplay","autoplayTimeout","smartSpeed","dots","nav","navSpeed","xsDevice","xsDeviceNav","xsDeviceDots","smDevice","smDeviceNav","smDeviceDots","smDevice2","smDeviceNav2","smDeviceDots2","mdDevice","centerMode","HoverPause","mdDeviceNav","mdDeviceDots","lazyLoad","center","autoplayHoverPause","navText","responsiveClass","responsive","getAllCampaings","random","display","src","alt","map","campaign","index","RequesterName","ImageLink","Id","width","frameBorder","allow","allowFullScreen","moment","EndDate","format","frameborder","withRouter","component","rest","isLogin","render","PublicRoute","FirstName","LastName","Phone","parseInt","goBack","registerUser","SuperAdminSettings","getUser","enableReinitialize","updateUser","defaultValue","PhoneNumber","find","users","setUsers","getUsers","userRole","alignSelf","fontSize","item","RoleName","StatusName","ProgressBar","bgcolor","isCash","pendingNo","totalNo","widthPercentage","fillerStyles","minWidth","borderRadius","textAlign","progressBarLabelColor","campaignData","setCampaignData","donors","setDonors","files","setFiles","chatList","setChatList","chatDataMsg","setChatDataMsg","chatMsg","setChatMsg","chatUsers","setChatUsers","getCampaignDetails","getChatList","Donors","OtherFiles","status","getChatDataMsg","clearInterval","hash","ChatMessages","ChatId","ChatUsers","setInterval","tabindex","dangerouslySetInnerHTML","__html","FacebookShareButton","TwitterShareButton","scope","Resources","Quantity","PendingQuantity","IsCash","Story","VideoLink","video","Description","updateResourceStatus","file","Title","FilePath","download","ResourcesName","IsConfirmed","allowZeroExpanded","event","uuid","borderWidth","SenderId","ProfilePic","SentOn","concat","reverse","flexDirection","justifyContent","alignItems","Feedbacks","DonorName","FeedbackText","FeedbackBy","search","setStatus","setcampaigns","callRequesterAPI","AddedByName","AddedOn","MyDropzone","stripePromise","icon","isMultiple","onDrop","useCallback","acceptedFiles","Object","assign","preview","URL","createObjectURL","useDropzone","accept","multiple","getRootProps","getInputProps","isDragActive","requesters","setRequesters","resource","setResource","errorR","setErrorR","resources","setResources","errorResources","setErrorResources","isSubmitButtonDisabled","setIsSubmitButtonDisabled","campaignStatus","setCampaignStatus","images","setImages","pdf","setPdf","fileTitle","setFileTitle","resourceName","useRef","resourceDescription","resourceQuantity","setResourceType","hasError","setHasError","init","pop","callSaveCampaignAPI","handleChangeResource","removeResourcesId","convertToISODateTimeFormat","dateString","toISOString","handleResourceInputChange","fieldName","newValue","_resources","parse","onCrossBtnTap","onFileCrossBtnTap","RequesterId","Image","IsVideoAsCampaignImage","max","_params","_values","validation","formData","FormData","forEach","append","FileUrl","uploadCampaignImage","setFieldValue","handleSubmit","rows","maxlength","currentTarget","float","marginLeft","placeholderText","ref","current","_resource","uuidv4","addResource","isEditable","splice","deleteResource","saveEditedResource","resourceId","editResourceRow","keys","disabled","userImage","formValues","setFormValues","endDate","getCampaignData","document","getElementById","setCurrentRequester","requesterName","requesterArray","uploadImage","imageFormData","otherFilesFormData","otherFilesUrl","cb","imageUrl","maxLength","image","reader","FileReader","addEventListener","readAsDataURL","imageHandler","callRegisterRequesterAPI","summary","setSummary","getCampaignSummaryAPI","OpenCampaigns","PendingCampaigns","FeaturedCampaigns","CompletedCampaigns","donorDetails","setDonorDetails","campaignResources","setCampaignResources","requesterStatus","setRequesterStatus","getDonorDetails","CampaignResources","updateStatus","statusId","UserId","pathname","profilePic","userId","ResourceName","CampaignName","CampaignId","UpdatedOn","selectedDonor","setSelectedDonor","closeButton","callDonorsAPI","Campaigns","click","callDeleteDonorAPI","requesterDetails","setRequesterDetails","campaignList","setCampaignList","getRequesterDetails","CampaignList","isRecipientDetail","setIsRecipientDetail","selectedRecipient","setSelectedRecipient","UserPaymentOption","PaymentPlatformName","PaymentUrl","PaymentPlatformId","option","IsJoined","callResendInviteRequesterAPI","AdminSettings","overallsummary","setOverAllSummary","formRef","getCampaignOpenSummaryAPI","startDate","PaymentStatus","StartDate","innerRef","resetForm","handleReset","SummaryConfirmedCash","SummaryConfirmedCashUsers","donationSummary","SetDonationSummary","queryStringToObj","getCampaignResourcesDonationSummary","IsOpen","replace","ChatName","colspan","DonorId","RequesterDashboard","RequesterSettings","myUserRole","queryParam","useLocation","getRequesterCampaigns","cursor","campaignDetails","setCampaignDetails","currentId","setCurrentId","sendMsgText","setSendMsgText","feedback","setFeedback","chatId","setChatId","myUserID","onAccordinChange","_currentId","hideModal","getElementsByClassName","onTextChange","selectedQuantity","quantity","_campaignData","handleQuantityChange","Array","from","count","dangerouslySetExpanded","onSendBtnTap","tabIndex","feedbackMessage","CreatedOn","$id","sendFeedbackMessage","donorSummary","SetDonorSummary","getDonors","CampaignResourcesName","donorId","sendGreetings","RequesterDonorDetails","paymentOptions","setPaymentOptions","paymentUrl","setPaymentUrl","userPaymentOptions","setUserPaymentOptions","setPlaceholder","selectedPaymentOptions","setSelectedPaymentOptions","getUserPaymentOptions","savePaymentOption","paymentList","deletePaymentMessage","paymentOptionList","getPaymentOptions","ids","urlNewValue","findPaymentUrl","isSelected","PaymentPlatformLogo","payment","toLowerCase","onPaymentOptionSelect","trim","borderColor","_userPaymentOptions","handleUrlInputChange","newUrl","test","_url","handleRowUrlSave","handleRowCloseEdit","handleRowEdit","firstname","lastname","phone","callRegisterAPI","DonorRegisterConfirmed","action","paymentStatus","showDonateBtn","setShowDonateBtn","requestorPaymentOptions","setRequestorPaymentOptions","donatAmount","setDonatAmount","isAnonymous","setIsAnonymous","isCommited","SetIsCommited","favoriteCompaigns","setFavoriteCompaign","getFavouriteCampaignDetails","donationData","getItem","CampaignResourceId","removeItem","isUrlValid","userInput","match","isNotLoading","IsFavourite","handleSelection","userPayents","campData","shift","checkoutOptions","sessionId","loadStripe","stripe","redirectToCheckout","open","resize","fontWeight","padding","callSaveFavouriteCampaignAPI","RequesterUserName","IsRecipientAnonymous","handleDonate","position","zIndex","border","donatedDetail","setDonatedDetail","getDonatedCampaignDetails","campaingId","_data","resourceDetail","handleDonationConfirm","ChatResourceId","CampaignStatusName","initialCampaign","setInitialCampaign","favouriteCompaigns","setFavouriteCompaigns","getResource","filterResource","Set","uniqueCampaigns","DonorSettings","Page","changeEmailHandler","changePasswordHandler","OldPassword","NewPassword","ConfirmPassword","oneOf","Chat","callForgotPasswordAPI","Notifications","setToken","_token","callResetPasswordAPI","initialResourceList","setInitialResourceList","activePage","setActivePage","totalPages","setTotalPages","totalItems","setTotalItems","pageSize","setPageSize","filterId","setFilterId","pageNumber","ResultData","TotalPages","RowCount","PageSize","ResourceStatus","ResourceStatusName","CampaignEndDate","totalItemsCount","itemsCountPerPage","pageRangeDisplayed","innerClass","itemClass","linkClass","activeLinkClass","mainRoutes","path","Home","requireAuth","Login","CampaignDetails","ChangeEmail","ChangePassword","ForgotPassword","ResetPassword","RequesterCampaigns","RequesterCampaignDetails","RequesterDonorSummary","RequesterPaymentOptions","SuperadminUsers","SuperadminCreateUser","SuperadminEditUser","AdminDashboard","AdminCampaigns","AdminCampaignDetails","AdminCreateCampaign","AdminEditCampaign","AdminRequesters","AdminRequesterDetails","AdminCreateRequester","AdminDonors","AdminDonorDetails","AdminResources","AdminCampaignDashboard","AdminDonotionSummary","AdminCampaignDonorDetails","DonorRegister","DonorCampaigns","DonorCampaignDetails","DonationConfirmationCampaign","DonorAllCampaings","readyToLoadPage","setReadyToLoadPage","isAdmin","uploadFile","updateProfilePic","fileUrl","ProfilePicUrl","_user","AppRoutes","route","exact","InitialOperations","logoutTimeout","setAppLoaded","listen","scrollTo","autoLogoutInit","autoLogout","currentURL","clearLogoutTimeout","setLogoutTimeout","clearTimeout","resetTimeout","Header","isSticky","setShowSidebarAction","showSidebar","setShowSidebar","arrow_down","arrow_span","close_button","on","t","menu","siblings","parent","arrow_target","hasClass","removeClass","html","addClass","a","menu_height","animate","queue","duration","window_width","css","Sidebar","menuItems","setMenuItems","isMobile","setIsMobile","innerWidth","_menuItems","undefined","version","setVersion","callLatestVersionAPI","showContactUs","currentYear","getFullYear","previousItem","reload","show","setShow","visibility","opacity","onClose","Subject","Layout","showPublicHeader","setShowPublicHeader","setSticky","setVisibility","_userType","handleScroll","getBoundingClientRect","top","removeEventListener","HeaderPublic","Contact","scroll","left","behavior","App","process","appLoaded","basename","Consumer","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","Boolean","hostname","ReactDOM","StrictMode","navigator","serviceWorker","ready","registration","unregister"],"mappings":"4tEAGMA,EAAO,iKACA,OADA,oCACXC,MAAQ,CAAC,EAAC,EAmBT,OAnBS,mCACV,WACE,OACE,qBACEC,UAAU,yBACVC,QAAS,SAACC,GAERA,EAAEC,iBACFD,EAAEE,iBACJ,EAAE,SAEF,qBAAKJ,UAAU,sBAAqB,SAClC,sBAAKA,UAAU,UAAS,UACtB,qBAAKA,UAAU,mBACf,qBAAKA,UAAU,yBAKzB,KAAC,EApBU,CAASK,aAuBPP,I,QCtBFQ,EAAgBC,IAAMC,gBAEtBC,EAAwB,SAACC,GACpC,MAAwBC,mBAAS,MAAK,mBAA/BC,EAAI,KAAEC,EAAO,KACpB,EAA8BF,oBAAS,GAAM,mBAAtCG,EAAO,KAAEC,EAAU,KAC1B,EAAkDJ,mBAAS,IAAG,mBAAvDK,EAAiB,KAAEC,EAAoB,KACtCC,EAAaC,sBAAbD,SAiBR,OACE,cAACZ,EAAcc,SAAQ,CACrBC,MAAO,CACLT,OACAE,UACAE,oBACAM,gBAVkB,SAACV,GACvBC,EAAQD,EACV,EASMG,WAfgB,SAACQ,GACrBR,EAAWQ,EACb,EAcMC,iBAvBmB,SAACC,GACxBP,EAASO,EAAaC,KAAM,CAC1BC,WAAYF,EAAaG,KACzBC,aAAa,GAEjB,EAmBMZ,qBAAsBA,GACtB,SAEDP,EAAMoB,UAGb,E,8BC1CaC,G,OAAW,wCAIXC,EAAM,CAEfC,MAAM,GAAD,OAAKF,EAAQ,eAGlBG,cAAc,GAAD,OAAKH,EAAQ,sBAC1BI,gBAAgB,GAAD,OA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AAM,2BACNje,UAAW4e,GACXT,aAAa,GAEjB,CACIF,KAAM,2BACNje,UAAWmV,GACXgJ,aAAa,GAEjB,CACIF,KAAM,6BACNje,UAAW6e,GACXV,aAAa,GAEjB,CACIF,KAAM,oBACNje,UAAW8e,GACXX,aAAa,GAEjB,CACIF,KAAM,0BACNje,UAAW+e,GACXZ,aAAa,GAEjB,CACIF,KAAM,uBACNje,UAAWW,GACXwd,aAAa,GAEjB,CACIF,KAAM,4BACNje,UAAWgf,GACXb,aAAa,GAEjB,CACIF,KAAM,mBACNje,UAAWif,GACXd,aAAa,GAEjB,CACIF,KAAM,mBACNje,UAAWkf,GACXf,aAAa,GAEjB,CACIF,KAAM,iCACNje,UAAWmf,GACXhB,aAAa,GAEjB,CACIF,KAAM,yBACNje,UAAWof,GACXjB,aAAa,GAEjB,CACIF,KAAM,8BACNje,UAAWqf,GACXlB,aAAa,GAEjB,CACIF,KAAM,oBACNje,UAAWsf,GACXnB,aAAa,GAEjB,CACIF,KAAM,kCACNje,UAAWuf,GACXpB,aAAa,GAEjB,CACIF,KAAM,0BACNje,UAAWwf,GACXrB,aAAa,GAEjB,CACIF,KAAM,gBACNje,UAAWyf,GACXtB,aAAa,GAEjB,CACIF,KAAM,2BACNje,UAAW0f,GACXvB,aAAa,GAEjB,CACIF,KAAM,kBACNje,UAAWkR,GACXiN,aAAa,GAEjB,CACIF,KAAM,mBACNje,UAAW2f,GACXxB,aAAa,GAEjB,CACIF,KAAM,4BACNje,UAAW4f,GACXzB,aAAa,GAEjB,CACIF,KAAM,0BACNje,UAAW6f,GACX1B,aAAa,GAEjB,CACIF,KAAM,gCACNje,UAAW8f,GACX3B,aAAa,GAEjB,CACIF,KAAM,kBACNje,UAAW+f,GACX5B,aAAa,GAEjB,CACIF,KAAM,4BACNje,UAAWyX,GACX0G,aAAa,GAEjB,CACIF,KAAM,mBACNje,UAAWggB,GACX7B,aAAa,GAEjB,CACIF,KAAM,8CACNje,UAAWigB,GACX9B,aAAa,GAEj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,uNAExB,MAAkCp3B,oBAAS,GAAM,mBAA1Cq3B,EAAS,KAAE1E,EAAY,KAE9B,OACE,cAAC,gBAAa,UACZ,cAAC,EAAqB,UACpB,eAAC,IAAM,CAAC2E,SAAS,IAAG,UAClB,cAAC,GAAiB,CAAC3E,aAAcA,IAChC0E,GAAa,cAAC13B,EAAc43B,SAAQ,UAClC,SAAAhxB,GAAa,OACZ,qCACGA,EAAcpG,SAAW,cAAC,EAAO,IAClC,cAAC,GAAM,UAAC,cAACmyB,GAAS,CAAC/rB,cAAeA,QACjC,UAOjB,CChCA,IAYeixB,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqBpwB,MAAK,YAAkD,IAA/CqwB,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAM,EAANA,OAAQC,EAAO,EAAPA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EACV,GAEJ,ECEoBO,QACW,cAA7BhrB,OAAOC,SAASgrB,UAEe,UAA7BjrB,OAAOC,SAASgrB,UAEhBjrB,OAAOC,SAASgrB,SAASxN,MACvB,2DCXNyN,IAASrmB,OACP,cAAC,IAAMsmB,WAAU,UACf,cAAChB,GAAG,MAEN3Y,SAASC,eAAe,SDsHpB,kBAAmB2Z,WACrBA,UAAUC,cAAcC,MAAMhxB,MAAK,SAAAixB,GACjCA,EAAaC,YACf,IClHJhB,I","file":"static/js/main.a1b93205.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport \"./Loading.scss\";\n\nclass Loading extends Component {\n state = {};\n render() {\n return (\n {\n // to prevent a click when loading is show. But not working :(\n e.preventDefault();\n e.stopPropagation();\n }}\n >\n
\n
\n
\n
\n
\n
\n \n );\n }\n}\n\nexport default Loading;\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useState } from \"react\";\nimport { useToasts } from \"react-toast-notifications\";\n\nexport const GlobalContext = React.createContext();\n\nexport const GlobalContextProvider = (props) => {\n const [user, setUser] = useState(null);\n const [loading, setLoading] = useState(false);\n const [featuredCampaings, setFeaturedCampaings] = useState([]);\n const { addToast } = useToasts();\n\n const setNotifications = (notification) => {\n addToast(notification.text, {\n appearance: notification.type,\n autoDismiss: true,\n }); // Appearance: success, error, warning and info\n };\n\n const handleLoading = (flag) => {\n setLoading(flag);\n };\n\n const setLoggedInUser = (user) => {\n setUser(user);\n };\n\n return (\n \n {props.children}\n \n );\n};\n","export const BASE_URL = 'https://everyhumanneeds.com:1111/api'; // live\n// export const BASE_URL = 'http://18.225.32.241:81/api'; // staging\n// export const BASE_URL = 'http://127.0.0.1:8080/api'; // local\n\nexport const API = {\n // Auth\n LOGIN: `${BASE_URL}/Auth/login`,\n\n // Auth\n REGISTER_USER: `${BASE_URL}/Auth/RegisterUser`,\n FORGOT_PASSWORD: `${BASE_URL}/Auth/ForgotPassword`,\n RESET_PASSWORD: `${BASE_URL}/Auth/ResetPassword`,\n VERIFY_TOKEN: `${BASE_URL}/Auth/VerifyEmail?code=`,\n\n //Donor\n REGISTER_DONOR:`${BASE_URL}/Auth/RegisterUser`,\n DONOR_REQUESTER_ALL_CAMPAIGN: `${BASE_URL}/Donor/GetDonorsInRequesterAllCampaigns?RequesterId=`,\n DONOR_CAMPAIGN: `${BASE_URL}/Donor/GetDonorDetails`,\n SAVE_FAVOURITE_CAMPAIGN: `${BASE_URL}/Donor/SaveFavouriteCampaign`,\n GET_FAVOURITE_CAMPAIGN: `${BASE_URL}/Donor/GetFavoriteCampaign`,\n GET_DONATED_CAMPAIGN_DETAIL: `${BASE_URL}/Donor/GetDonatedCampaignDetail?token=`,\n CONFIRM_DONAR_DONATION: `${BASE_URL}/Donor/ConfirmDonorDonation`,\n STRIPE_PAYMENT:`${BASE_URL}/Payment/CreateCheckoutSession`,\n STRIPE_PAYMENT_SUCCESS:`${BASE_URL}/Payment/RetrieveCheckoutSession`,\n\n // Settings\n CHANGE_PASSWORD: `${BASE_URL}/Settings/ChangePassword`,\n CHANGE_EMAIL: `${BASE_URL}/Settings/ChangeEmail`,\n GET_USER_PROFILE: `${BASE_URL}/Settings/GetUserProfile`,\n UPDATE_PROFILE_PIC: `${BASE_URL}/Settings/UpdateProfilePic`,\n\n // Admin\n REQUESTERS: `${BASE_URL}/Admin/GetRequesters`,\n REQUESTER_DETAILS: `${BASE_URL}/Requester/GetRequesterDetails?userId=`,\n DONORS: `${BASE_URL}/Admin/GetDonors`,\n DELETE_DONORS: `${BASE_URL}/Admin/DeleteDonor`,\n CAMPAIGN_SUMMARY: `${BASE_URL}/Admin/GetCampaignSummary`,\n REGISTER_REQUESTER: `${BASE_URL}/Admin/RegisterRequester`,\n DONOR_DETAILS: `${BASE_URL}/Donor/GetDonorDetails?userId=`,\n RESOURCES: `${BASE_URL}/Admin/GetAllCampaignResources?PageIndex=`,\n UPDATE_USER_STATUS: `${BASE_URL}/Admin/UpdateUserStatus`,\n USERS_LIST: `${BASE_URL}/Admin/GetUsers?roleId=`,\n UPDATE_ADMIN: `${BASE_URL}/Admin/UpdateUser`,\n REGISTER_ADMIN: `${BASE_URL}/Auth/RegisterUser`,\n REGISTER_ADMIN_V1: `${BASE_URL}/Admin/RegisterUser`,\n RESEND_REQUESTER_INVITATION: `${BASE_URL}/Admin/ResendRequesterInvitation`,\n CAMPAIGN_RESOURCES_OPEN_SUMMARY: `${BASE_URL}/Admin/GetOpenCampaignResourcesSummary`,\n CAMPAIGN_RESOURCES_SUMMARY: `${BASE_URL}/Admin/GetCampaignResourcesSummary`,\n CAMPAIGN_RESOURCES_DONATION_SUMMARY: `${BASE_URL}/Admin/GetCampaignResourcesDonationSummary`,\n CAMPAIGN_RESOURCES_DONOR_DETAILS: `${BASE_URL}/Admin/GetCampaignResourcesDonorDetails`,\n\n // Campaign\n CAMPAIGNS: `${BASE_URL}/Campaign/GetCampaigns`,\n SAVE_CAMPAIGN: `${BASE_URL}/Campaign/SaveCampaign`,\n CAMPAIGN_DETAILS: `${BASE_URL}/Campaign/GetCampaignById?campaignId=`,\n GET_CHAT_LIST: `${BASE_URL}/Chat/GetChatList?campaignId=`,\n GET_CHAT_MESSAGES: `${BASE_URL}/Chat/GetChatMessages?ChatId=`,\n CHAT_START: `${BASE_URL}/Chat/Start`,\n NEW_MESSAGE: `${BASE_URL}/Chat/NewMessage`,\n CAMPAIGN_RESOURCE_STATUS_UPDATE: `${BASE_URL}/CampaignResource/UpdateStatus`,\n UPDATE_PENDING_QUANTITY: `${BASE_URL}/CampaignResource/UpdatePendingQuantity`,\n SEND_FEEDBACK_MESSAGE: `${BASE_URL}/FeedBack/FeedbackCreate`,\n DONATE_WITHOUT_CHAT: `${BASE_URL}/Chat/DonateWithoutChat`,\n\n // Generic\n FILE_UPLOAD: `${BASE_URL}/Generic/FileUpload`,\n PUBLIC_FEATURED_CAMPAIGNS: `${BASE_URL}/Public/GetFeaturedCampaigns`,\n PUBLIC_LATEST_CAMPAIGNS: `${BASE_URL}/Public/GetCampaigns`,\n PUBLIC_CONTACT_US: `${BASE_URL}/Public/ContactUs`,\n PUBLIC_CAMPAIGN_DETAILS: `${BASE_URL}/Public/GetCampaignById?campaignId=`,\n PAYMENT_OPTIONS_TYPES: `${BASE_URL}/Settings/GetPaymentPlatformTypes`,\n PAYMENT_OPTION_SAVE: `${BASE_URL}/Settings/SaveUserPaymentOptions`,\n USER_PAYMENT_OPTIONS_REQUESTOR: `${BASE_URL}/Settings/GetUserPaymentOptions`,\n USER_PAYMENT_OPTIONS: `${BASE_URL}/Settings/GetUserPaymentOptions?userId=`,\n REQUESTERS_GREETINGS: `${BASE_URL}/Requester/SendThankYouNote`,\n USER_BY_ID : `${BASE_URL}/Admin/GetUserById?userId=`,\n CAMPAIGN_UNIQUE_RESOURCES : `${ BASE_URL }/CampaignResource/GetUniqueCampaignResourceNames`,\n GET_LATEST_VERSION : `${BASE_URL}/Public/GetLatestVersion`,\n}\n\nexport const AXIOS_METHOD_TYPES = {\n GET: 'get',\n POST: 'post',\n PUT: 'put',\n DELETE: 'delete'\n}\n\nexport const CAMPAIGN_STATUS = [\n { id: 1, text: \"Needs Approval\" },\n { id: 2, text: \"Approved\" },\n { id: 4, text: \"Completed\" },\n { id: 0, text: \"Featured\" },\n]\n\nexport const USER_STATUS = [\n { id: 2, text: \"Active\" },\n { id: 4, text: \"InActive\" },\n]\n\nexport const RESOURCE_STATUS = [\n { id: 1, text: \"Close\" },\n { id: 2, text: \"Open\" },\n { id: 3, text: \"Pending\" },\n]\n\nexport const USER_ROLE = [\n { id : 2 , text : \"Church Admin\" } ,\n { id : 1 , text : \"Super Admin\" } ,\n { id : 3 , text : \"Donor\" } ,\n { id : 4 , text : \"Requester\" } ]\n\nexport const TIPS = `\nRequester Communication:
\nKeep all your communication about transactions on this site. Beware of those who ask you to communicate with you outside of this site.\nDo not give out personal information, even for shipping.\n\n
\n
\n\n\nCash options:
\nDo not send cash back to donors.\nMake sure your donation handle is correct.\n\n
\n
\n\nSafe location:
\nUsually, the Requester suggests where to meet. If it’s a small item, we recommend meeting at a Community MeetUp Spot or other well-lit, public location, like a grocery store or cafe.\n\n
\n
\n\nDonator:
\nNever give more than the listed need.\nDo not expect the Requester to return any donation.\n\n
\n
\n\nEveryone Beware of scams:
\nThe other person sends you a link that requires you to log in to get your donation.\n
Scammers may create fake websites that look like EveryHumanNeeds and ask you to log in with your email and password. \n
Never click on these.\nWhen you use EveryHumanNeeds messaging system, you never need to give out your email address or phone number. Giving out personal information is how fraud and identity theft can start.\n
The person or the post tells you about an \"investment opportunity\" or an \"easy way to make money\" by sending money.`\n","const POLICY_CONTENT = {\n privacy: {\n title: 'Privacy policy',\n browserTitle: 'Privacy policy',\n content: `
\n\n

 

\n \n

This privacy policy\n ("Policy") describes how the personally identifiable information\n ("Personal Information") you may provide on the everyhumaneeds.com\n website ("Website" or "Service") and any of its related\n products and services (collectively, "Services") is collected,\n protected and used. It also describes the choices available to you regarding\n our use of your Personal Information and how you can access and update this\n information. This Policy is a legally binding agreement between you\n ("User", "you" or "your") and Zion Church\n ("Zion Church", "we", "us" or "our").\n By accessing and using the Website and Services, you acknowledge that you have\n read, understood, and agree to be bound by the terms of this Policy. This\n Policy does not apply to the practices of companies that we do not own or\n control, or to individuals that we do not employ or manage.

\n \n

Automatic\n collection of information

\n \n

When you open the\n Website, our servers automatically record information that your browser sends.\n This data may include information such as your device's IP address, browser\n type and version, operating system type and version, language preferences or\n the webpage you were visiting before you came to the Website and Services,\n pages of the Website and Services that you visit, the time spent on those\n pages, information you search for on the Website, access times and dates, and\n other statistics.

\n \n

Information collected\n automatically is used only to identify potential cases of abuse and establish\n statistical information regarding the usage and traffic of the Website and\n Services. This statistical information is not otherwise aggregated in such a\n way that would identify any particular user of the system.

\n \n

Collection\n of personal information

\n \n

You can access and\n use the Website and Services without telling us who you are or revealing any\n information by which someone could identify you as a specific, identifiable\n individual. If, however, you wish to use some of the features on the Website,\n you may be asked to provide certain Personal Information (for example, your\n name and e-mail address). We receive and store any information you knowingly\n provide to us when you create an account, publish content, or fill any online\n forms on the Website. When required, this information may include the\n following:

\n \n

       Personal\n details such as name, country of residence, etc.

\n \n

       Contact\n information such as email address, address, etc.

\n \n

       Payment\n information such as credit card details, bank details, etc.

\n \n

       Geolocation\n data such as latitude and longitude.

\n \n

       Information\n about other individuals such as your family members, friends, etc.

\n \n

      \n Any other materials you willingly submit to\n us such as articles, images, feedback, etc.

\n \n

Some of the\n information we collect is directly from you via the Website and Services.\n However, we may also collect Personal Information about you from other sources\n such as public databases, social media platforms, third-party data providers,\n and our joint marketing partners. Personal Information we collect from other sources\n may include demographic information, such as age and gender, device\n information, such as IP addresses, location, such as city and state, and online\n behavioral data, such as information about your use of social media websites,\n page view information and search results and links. You can choose not to\n provide us with your Personal Information, but then you may not be able to take\n advantage of some of the features on the Website. Users who are uncertain about\n what information is mandatory are welcome to contact us.

\n \n

Use\n and processing of collected information

\n \n

In order to make the\n Website and Services available to you, or to meet a legal obligation, we may\n need to collect and use certain Personal Information. If you do not provide the\n information that we request, we may not be able to provide you with the\n requested products or services. Any of the information we collect from you may\n be used for the following purposes:

\n \n

       Improve\n products and services

\n \n

       Respond\n to inquiries and offer support

\n \n

       Request\n user feedback

\n \n

       Improve\n user experience

\n \n

       Post\n customer testimonials

\n \n

       Enforce\n terms and conditions and policies

\n \n

       Protect\n from abuse and malicious users

\n \n

       Respond\n to legal requests and prevent harm

\n \n

      \n Run and operate the Website and Services

\n \n

Processing your\n Personal Information depends on how you interact with the Website and Services,\n where you are located in the world and if one of the following applies: (i) you\n have given your consent for one or more specific purposes; this, however, does\n not apply, whenever the processing of Personal Information is subject to\n European data protection law; (ii) provision of information is necessary for\n the performance of an agreement with you and/or for any pre-contractual\n obligations thereof; (iii) processing is necessary for compliance with a legal\n obligation to which you are subject; (iv) processing is related to a task that\n is carried out in the public interest or in the exercise of official authority\n vested in us; (v) processing is necessary for the purposes of the legitimate\n interests pursued by us or by a third party.

\n \n

Note that under some\n legislations we may be allowed to process information until you object to such\n processing (by opting out), without having to rely on consent or any other of\n the following legal bases below. In any case, we will be happy to clarify the\n specific legal basis that applies to the processing, and in particular whether\n the provision of Personal Information is a statutory or contractual\n requirement, or a requirement necessary to enter into a contract.

\n \n

Managing\n information

\n \n

You are able to\n delete certain Personal Information we have about you. The Personal Information\n you can delete may change as the Website and Services change. When you delete\n Personal Information, however, we may maintain a copy of the unrevised Personal\n Information in our records for the duration necessary to comply with our\n obligations to our affiliates and partners, and for the purposes described\n below. If you would like to delete your Personal Information or permanently\n delete your account, you can do so by contacting us.

\n \n

Disclosure\n of information

\n \n

Depending on the\n requested Services or as necessary to complete any transaction or provide any\n service you have requested, we may share your information with your consent\n with our trusted third parties that work with us, any other affiliates and\n subsidiaries we rely upon to assist in the operation of the Website and\n Services available to you. We do not share Personal Information with\n unaffiliated third parties. These service providers are not authorized to use\n or disclose your information except as necessary to perform services on our\n behalf or comply with legal requirements. We may share your Personal\n Information for these purposes only with third parties whose privacy policies\n are consistent with ours or who agree to abide by our policies with respect to\n Personal Information. These third parties are given Personal Information they\n need only in order to perform their designated functions, and we do not\n authorize them to use or disclose Personal Information for their own marketing\n or other purposes.

\n \n

We will disclose any\n Personal Information we collect, use or receive if required or permitted by\n law, such as to comply with a subpoena, or similar legal process, and when we\n believe in good faith that disclosure is necessary to protect our rights,\n protect your safety or the safety of others, investigate fraud, or respond to a\n government request.

\n \n

Retention\n of information

\n \n

We will retain and\n use your Personal Information for the period necessary to comply with our legal\n obligations, resolve disputes, and enforce our agreements unless a longer\n retention period is required or permitted by law. We may use any aggregated\n data derived from or incorporating your Personal Information after you update\n or delete it, but not in a manner that would identify you personally. Once the\n retention period expires, Personal Information shall be deleted. Therefore, the\n right to access, the right to erasure, the right to rectification and the right\n to data portability cannot be enforced after the expiration of the retention\n period.

\n \n

The\n rights of users

\n \n

You may exercise\n certain rights regarding your information processed by us. In particular, you\n have the right to do the following: (i) you have the right to withdraw consent\n where you have previously given your consent to the processing of your\n information; (ii) you have the right to object to the processing of your\n information if the processing is carried out on a legal basis other than\n consent; (iii) you have the right to learn if information is being processed by\n us, obtain disclosure regarding certain aspects of the processing and obtain a\n copy of the information undergoing processing; (iv) you have the right to\n verify the accuracy of your information and ask for it to be updated or\n corrected; (v) you have the right, under certain circumstances, to restrict the\n processing of your information, in which case, we will not process your\n information for any purpose other than storing it; (vi) you have the right,\n under certain circumstances, to obtain the erasure of your Personal Information\n from us; (vii) you have the right to receive your information in a structured,\n commonly used and machine readable format and, if technically feasible, to have\n it transmitted to another controller without any hindrance. This provision is\n applicable provided that your information is processed by automated means and\n that the processing is based on your consent, on a contract which you are part\n of or on pre-contractual obligations thereof.

\n \n

Privacy\n of children

\n \n

We do not knowingly\n collect any Personal Information from children under the age of 18. If you are\n under the age of 18, please do not submit any Personal Information through the\n Website and Services. We encourage parents and legal guardians to monitor their\n children's Internet usage and to help enforce this Policy by instructing their\n children never to provide Personal Information through the Website and Services\n without their permission. If you have reason to believe that a child under the\n age of 18 has provided Personal Information to us through the Website and\n Services, please contact us. You must also be old enough to consent to the\n processing of your Personal Information in your country (in some countries we\n may allow your parent or guardian to do so on your behalf).

\n \n

Cookies

\n \n

The Website and\n Services use "cookies" to help personalize your online experience. A\n cookie is a text file that is placed on your hard disk by a web page server.\n Cookies cannot be used to run programs or deliver viruses to your computer.\n Cookies are uniquely assigned to you, and can only be read by a web server in\n the domain that issued the cookie to you.

\n \n

We may use cookies to\n collect, store, and track information for statistical purposes to operate the Website\n and Services. You have the ability to accept or decline cookies. Most web\n browsers automatically accept cookies, but you can usually modify your browser\n setting to decline cookies if you prefer. If you choose to decline cookies, you\n may not be able to fully experience the features of the Website and Services. Click here to\n learn more about cookies and how they work.

\n \n

Do\n Not Track signals

\n \n

Some browsers\n incorporate a Do Not Track feature that signals to websites you visit that you\n do not want to have your online activity tracked. Tracking is not the same as\n using or collecting information in connection with a website. For these\n purposes, tracking refers to collecting personally identifiable information\n from consumers who use or visit a website or online service as they move across\n different websites over time. How browsers communicate the Do Not Track signal\n is not yet uniform. As a result, the Website and Services are not yet set up to\n interpret or respond to Do Not Track signals communicated by your browser. Even\n so, as described in more detail throughout this Policy, we limit our use and\n collection of your personal information.

\n \n

Email\n marketing

\n \n

We offer electronic\n newsletters to which you may voluntarily subscribe at any time. We are\n committed to keeping your e-mail address confidential and will not disclose\n your email address to any third parties except as allowed in the information\n use and processing section. We will maintain the information sent via e-mail in\n accordance with applicable laws and regulations.

\n \n

In compliance with\n the CAN-SPAM Act, all e-mails sent from us will clearly state who the e-mail is\n from and provide clear information on how to contact the sender. You may choose\n to stop receiving our newsletter or marketing emails by following the\n unsubscribe instructions included in these emails or by contacting us. However,\n you will continue to receive essential transactional emails.

\n \n

Links\n to other resources

\n \n

The Website and\n Services contain links to other resources that are not owned or controlled by\n us. Please be aware that we are not responsible for the privacy practices of\n such other resources or third parties. We encourage you to be aware when you\n leave the Website and Services and to read the privacy statements of each and\n every resource that may collect Personal Information.

\n \n

Information\n security

\n \n

We secure information\n you provide on computer servers in a controlled, secure environment, protected\n from unauthorized access, use, or disclosure. We maintain reasonable\n administrative, technical, and physical safeguards in an effort to protect\n against unauthorized access, use, modification, and disclosure of Personal\n Information in its control and custody. However, no data transmission over the\n Internet or wireless network can be guaranteed. Therefore, while we strive to\n protect your Personal Information, you acknowledge that (i) there are security\n and privacy limitations of the Internet which are beyond our control; (ii) the\n security, integrity, and privacy of any and all information and data exchanged\n between you and the Website and Services cannot be guaranteed; and (iii) any\n such information and data may be viewed or tampered with in transit by a third\n party, despite best efforts.

\n \n

Data\n breach

\n \n

In the event we\n become aware that the security of the Website and Services has been compromised\n or users Personal Information has been disclosed to unrelated third parties as\n a result of external activity, including, but not limited to, security attacks\n or fraud, we reserve the right to take reasonably appropriate measures,\n including, but not limited to, investigation and reporting, as well as\n notification to and cooperation with law enforcement authorities. In the event\n of a data breach, we will make reasonable efforts to notify affected\n individuals if we believe that there is a reasonable risk of harm to the user\n as a result of the breach or if notice is otherwise required by law. When we\n do, we will post a notice on the Website, send you an email.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Policy or its terms relating to the Website and Services from\n time to time in our discretion and will notify you of any material changes to\n the way in which we treat Personal Information. When we do, we will revise the\n updated date at the bottom of this page. We may also provide notice to you in\n other ways in our discretion, such as through contact information you have\n provided. Any updated version of this Policy will be effective immediately upon\n the posting of the revised Policy unless otherwise specified. Your continued\n use of the Website and Services after the effective date of the revised Policy\n (or such other act specified at that time) will constitute your consent to\n those changes. However, we will not, without your consent, use your Personal\n Information in a manner materially different than what was stated at the time\n your Personal Information was collected.

\n \n

Acceptance\n of this policy

\n \n

You acknowledge that\n you have read this Policy and agree to all its terms and conditions. By\n accessing and using the Website and Services you agree to be bound by this\n Policy. If you do not agree to abide by the terms of this Policy, you are not\n authorized to access or use the Website and Services.

\n \n

Contacting\n us

\n \n

If you would like to\n contact us to understand more about this Policy or wish to contact us\n concerning any matter relating to individual rights and your Personal\n Information, you may send an email to support@everyhumanneeds.com.

\n \n

This document was last updated on April 26,\n 2021

\n \n

 

\n \n
`\n },\n terms: {\n title: 'Terms and conditions',\n browserTitle: 'Terms and conditions',\n content: `
\n\n

These terms and\n conditions ("Agreement") set forth the general terms and conditions\n of your use of the everyhumaneeds.com\n website ("Website"), "EveryHumanNeeds" mobile application\n ("Mobile Application") and any of their related products and services\n (collectively, "Services"). This Agreement is legally binding between\n you ("User", "you" or "your") and Zion Church\n ("Zion Church", "we", "us" or "our").\n By accessing and using the Services, you acknowledge that you have read,\n understood, and agree to be bound by the terms of this Agreement. If you are\n entering into this Agreement on behalf of a business or other legal entity, you\n represent that you have the authority to bind such entity to this Agreement, in\n which case the terms "User", "you" or "your"\n shall refer to such entity. If you do not have such authority, or if you do not\n agree with the terms of this Agreement, you must not accept this Agreement and\n may not access and use the Services. You acknowledge that this Agreement is a\n contract between you and Zion Church, even though it is electronic and is not\n physically signed by you, and it governs your use of the Services.

\n \n

Accounts\n and membership

\n \n

You must be at least\n 18 years of age to use the Services. By using the Services and by agreeing to\n this Agreement you warrant and represent that you are at least 18 years of age.\n If you create an account on the Services, you are responsible for maintaining\n the security of your account and you are fully responsible for all activities\n that occur under the account and any other actions taken in connection with it.\n We may, but have no obligation to, monitor and review new accounts before you\n may sign in and start using the Services. Providing false contact information\n of any kind may result in the termination of your account. You must immediately\n notify us of any unauthorized uses of your account or any other breaches of\n security. We will not be liable for any acts or omissions by you, including any\n damages of any kind incurred as a result of such acts or omissions. We may\n suspend, disable, or delete your account (or any part thereof) if we determine\n that you have violated any provision of this Agreement or that your conduct or\n content would tend to damage our reputation and goodwill. If we delete your\n account for the foregoing reasons, you may not re-register for our Services. We\n may block your email address and Internet protocol address to prevent further\n registration.

\n \n

User\n content

\n \n

We do not own any\n data, information or material (collectively, "Content") that you\n submit on the Services in the course of using the Service. You shall have sole\n responsibility for the accuracy, quality, integrity, legality, reliability,\n appropriateness, and intellectual property ownership or right to use of all\n submitted Content. We may, but have no obligation to, monitor and review the\n Content on the Services submitted or created using our Services by you. You grant\n us permission to access, copy, distribute, store, transmit, reformat, display\n and perform the Content of your user account solely as required for the purpose\n of providing the Services to you. Without limiting any of those representations\n or warranties, we have the right, though not the obligation, to, in our own\n sole discretion, refuse or remove any Content that, in our reasonable opinion,\n violates any of our policies or is in any way harmful or objectionable. You\n also grant us the license to use, reproduce, adapt, modify, publish or\n distribute the Content created by you or stored in your user account for\n commercial, marketing or any similar purpose.

\n \n

Backups

\n \n

We are not\n responsible for the Content residing on the Services. In no event shall we be\n held liable for any loss of any Content. It is your sole responsibility to\n maintain appropriate backup of your Content. Notwithstanding the foregoing, on\n some occasions and in certain circumstances, with absolutely no obligation, we\n may be able to restore some or all of your data that has been deleted as of a\n certain date and time when we may have backed up data for our own purposes. We\n make no guarantee that the data you need will be available.

\n \n

Links\n to other resources

\n \n

Although the Services\n may link to other resources (such as websites, mobile applications, etc.), we\n are not, directly or indirectly, implying any approval, association,\n sponsorship, endorsement, or affiliation with any linked resource, unless\n specifically stated herein. We are not responsible for examining or evaluating,\n and we do not warrant the offerings of, any businesses or individuals or the\n content of their resources. We do not assume any responsibility or liability\n for the actions, products, services, and content of any other third parties.\n You should carefully review the legal statements and other conditions of use of\n any resource which you access through a link on the Services. Your linking to\n any other off-site resources is at your own risk.

\n \n

Prohibited\n uses

\n \n

In addition to other\n terms as set forth in the Agreement, you are prohibited from using the Services\n or Content: (a) for any unlawful purpose; (b) to solicit others to perform or\n participate in any unlawful acts; (c) to violate any international, federal,\n provincial or state regulations, rules, laws, or local ordinances; (d) to\n infringe upon or violate our intellectual property rights or the intellectual\n property rights of others; (e) to harass, abuse, insult, harm, defame, slander,\n disparage, intimidate, or discriminate based on gender, sexual orientation,\n religion, ethnicity, race, age, national origin, or disability; (f) to submit\n false or misleading information; (g) to upload or transmit viruses or any other\n type of malicious code that will or may be used in any way that will affect the\n functionality or operation of the Services, third party products and services,\n or the Internet; (h) to spam, phish, pharm, pretext, spider, crawl, or scrape;\n (i) for any obscene or immoral purpose; or (j) to interfere with or circumvent\n the security features of the Services, third party products and services, or\n the Internet. We reserve the right to terminate your use of the Services for\n violating any of the prohibited uses.

\n \n

Disclaimer\n of warranty

\n \n

You agree that such\n Service is provided on an "as is" and "as available" basis\n and that your use of the Services is solely at your own risk. We expressly\n disclaim all warranties of any kind, whether express or implied, including but\n not limited to the implied warranties of merchantability, fitness for a particular\n purpose and non-infringement. We make no warranty that the Services will meet\n your requirements, or that the Service will be uninterrupted, timely, secure,\n or error-free; nor do we make any warranty as to the results that may be\n obtained from the use of the Service or as to the accuracy or reliability of\n any information obtained through the Service or that defects in the Service\n will be corrected. You understand and agree that any material and/or data\n downloaded or otherwise obtained through the use of Service is done at your own\n discretion and risk and that you will be solely responsible for any damage or\n loss of data that results from the download of such material and/or data. We\n make no warranty regarding any goods or services purchased or obtained through\n the Service or any transactions entered into through the Service unless stated\n otherwise. No advice or information, whether oral or written, obtained by you\n from us or through the Service shall create any warranty not expressly made\n herein.

\n \n

Limitation\n of liability

\n \n

To the fullest extent\n permitted by applicable law, in no event will Zion Church, its affiliates,\n directors, officers, employees, agents, suppliers or licensors be liable to any\n person for any indirect, incidental, special, punitive, cover or consequential\n damages (including, without limitation, damages for lost profits, revenue,\n sales, goodwill, use of content, impact on business, business interruption,\n loss of anticipated savings, loss of business opportunity) however caused,\n under any theory of liability, including, without limitation, contract, tort,\n warranty, breach of statutory duty, negligence or otherwise, even if the liable\n party has been advised as to the possibility of such damages or could have\n foreseen such damages. To the maximum extent permitted by applicable law, the\n aggregate liability of Zion Church and its affiliates, officers, employees,\n agents, suppliers and licensors relating to the services will be limited to an\n amount greater of one dollar or any amounts actually paid in cash by you to\n Zion Church for the prior one month period prior to the first event or\n occurrence giving rise to such liability. The limitations and exclusions also\n apply if this remedy does not fully compensate you for any losses or fails of\n its essential purpose.

\n \n

Indemnification

\n \n

You agree to\n indemnify and hold Zion Church and its affiliates, directors, officers,\n employees, agents, suppliers and licensors harmless from and against any\n liabilities, losses, damages or costs, including reasonable attorneys' fees,\n incurred in connection with or arising from any third party allegations,\n claims, actions, disputes, or demands asserted against any of them as a result\n of or relating to your Content, your use of the Services or any willful\n misconduct on your part.

\n \n

Dispute\n resolution

\n \n

The formation,\n interpretation, and performance of this Agreement and any disputes arising out\n of it shall be governed by the substantive and procedural laws of Maryland,\n United States without regard to its rules on conflicts or choice of law and, to\n the extent applicable, the laws of United States. The exclusive jurisdiction\n and venue for actions related to the subject matter hereof shall be the courts\n located in Maryland, United States, and you hereby submit to the personal\n jurisdiction of such courts. You hereby waive any right to a jury trial in any\n proceeding arising out of or related to this Agreement. The United Nations\n Convention on Contracts for the International Sale of Goods does not apply to\n this Agreement.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Agreement or its terms relating to the Services at any time,\n effective upon posting of an updated version of this Agreement on the Services.\n When we do, we will post a notification within the Services. Continued use of\n the Services after any such changes shall constitute your consent to such\n changes.

\n \n

Acceptance\n of these terms

\n \n

You acknowledge that\n you have read this Agreement and agree to all its terms and conditions. By\n accessing and using the Services you agree to be bound by this Agreement. If\n you do not agree to abide by the terms of this Agreement, you are not\n authorized to access or use the Services.

\n \n

Contacting\n us

\n \n

If you would like to\n contact us to understand more about this Agreement or wish to contact us\n concerning any matter relating to it, you may send an email to\n support@everyhumanneeds.com.

\n \n

This document was last updated on April 26,\n 2021

\n \n

 

\n \n
`\n },\n cookie: {\n title: 'Cookie policy',\n browserTitle: 'Cookie policy',\n content: `
\n \n

This cookie policy\n ("Policy") describes what cookies are and how and they're being used\n by the everyhumaneeds.com\n website ("Website" or "Service") and any of its related\n products and services (collectively, "Services"). This Policy is a\n legally binding agreement between you ("User", "you" or\n "your") and Zion Church ("Zion Church", "we",\n "us" or "our"). You should read this Policy so you can\n understand the types of cookies we use, the information we collect using\n cookies and how that information is used. It also describes the choices\n available to you regarding accepting or declining the use of cookies. For\n further information on how we use, store and keep your personal data secure,\n see our privacy policy.

\n \n

What\n are cookies?

\n \n

Cookies are small\n pieces of data stored in text files that are saved on your computer or other\n devices when websites are loaded in a browser. They are widely used to remember\n you and your preferences, either for a single visit (through a "session\n cookie") or for multiple repeat visits (using a "persistent\n cookie").

\n \n

Session cookies are\n temporary cookies that are used during the course of your visit to the Website,\n and they expire when you close the web browser.

\n \n

Persistent cookies\n are used to remember your preferences within our Website and remain on your\n desktop or mobile device even after you close your browser or restart your\n computer. They ensure a consistent and efficient experience for you while\n visiting the Website and Services.

\n \n

Cookies may be set by\n the Website ("first-party cookies"), or by third parties, such as\n those who serve content or provide advertising or analytics services on the\n Website ("third party cookies"). These third parties can recognize\n you when you visit our website and also when you visit certain other websites. Click here to\n learn more about cookies and how they work.

\n \n

What\n type of cookies do we use?

\n \n

Necessary\n cookies

\n \n

Necessary cookies\n allow us to offer you the best possible experience when accessing and\n navigating through our Website and using its features. For example, these\n cookies let us recognize that you have created an account and have logged into\n that account to access the content.

\n \n

Functionality\n cookies

\n \n

Functionality cookies\n let us operate the Website and Services in accordance with the choices you\n make. For example, we will recognize your username and remember how you\n customized the Website and Services during future visits.

\n \n

Do\n we use web beacons or tracking pixels?

\n \n

Our emails may\n contain a "web beacon" (or "tracking pixel") to tell us\n whether our emails are opened and verify any clicks through to links or\n advertisements within the email.

\n \n

We may use this\n information for purposes including determining which of our emails are more\n interesting to users and to query whether users who do not open our emails wish\n to continue receiving them.

\n \n

The pixel will be\n deleted when you delete the email. If you do not wish the pixel to be\n downloaded to your device, you should read the email in plain text view or with\n images disabled.

\n \n

What\n are your cookie options?

\n \n

If you don't like the\n idea of cookies or certain types of cookies, you can change your browser's\n settings to delete cookies that have already been set and to not accept new\n cookies. Visit internetcookies.com to\n learn more about how to do this.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Policy or its terms relating to the Website and Services at any\n time, effective upon posting of an updated version of this Policy on the\n Website. When we do, we will revise the updated date at the bottom of this\n page. Continued use of the Website and Services after any such changes shall\n constitute your consent to such changes.

\n \n

Acceptance\n of this policy

\n \n

You acknowledge that\n you have read this Policy and agree to all its terms and conditions. By\n accessing and using the Website and Services you agree to be bound by this\n Policy. If you do not agree to abide by the terms of this Policy, you are not\n authorized to access or use the Website and Services.

\n \n

Contacting\n us

\n \n

If you would like to\n contact us to understand more about this Policy or wish to contact us\n concerning any matter relating to our use of cookies, you may send an email to\n support@everyhumanneeds.com.

\n \n

This document was last updated on April 26,\n 2021

\n \n

 

\n \n
`\n },\n disclaimer: {\n title: 'Disclaimer',\n browserTitle: 'Disclaimer',\n content: `
\n\n

This disclaimer\n ("Disclaimer") sets forth the general guidelines, disclosures, and\n terms of your use of the everyhumaneeds.com\n website ("Website" or "Service") and any of its related\n products and services (collectively, "Services"). This Disclaimer is\n a legally binding agreement between you ("User", "you" or\n "your") and Zion Church ("Zion Church", "we",\n "us" or "our"). By accessing and using the Website and\n Services, you acknowledge that you have read, understood, and agree to be bound\n by the terms of this Disclaimer. If you are entering into this Disclaimer on\n behalf of a business or other legal entity, you represent that you have the\n authority to bind such entity to this Disclaimer, in which case the terms\n "User", "you" or "your" shall refer to such\n entity. If you do not have such authority, or if you do not agree with the\n terms of this Disclaimer, you must not accept this Disclaimer and may not\n access and use the Website and Services. You acknowledge that this Disclaimer\n is a contract between you and Zion Church, even though it is electronic and is\n not physically signed by you, and it governs your use of the Website and\n Services.

\n \n

Representation

\n \n

Any views or opinions\n represented on the Website belong solely to Zion Church, its content creators\n and employees, and do not represent those of people, institutions or\n organizations that Zion Church may or may not be associated with in professional\n or personal capacity unless explicitly stated. Any views or opinions are not\n intended to malign any religion, ethnic group, club, organization, company, or\n individual.

\n \n

Content\n and postings

\n \n

You may not modify,\n print or copy any part of the Website and Services. Inclusion of any part of\n the Website and Services in another work, whether in printed or electronic or\n another form or inclusion of any part of the Website and Services on another\n resource by embedding, framing or otherwise without the express permission of\n Zion Church is prohibited.

\n \n

You may submit new\n content and comment on the existing content on the Website. By uploading or\n otherwise making available any information to Zion Church, you grant Zion\n Church the unlimited, perpetual right to distribute, display, publish,\n reproduce, reuse and copy the information contained therein. You may not\n impersonate any other person through the Website and Services. You may not post\n content that is defamatory, fraudulent, obscene, threatening, invasive of another\n person's privacy rights or that is otherwise unlawful. You may not post content\n that infringes on the intellectual property rights of any other person or\n entity. You may not post any content that includes any computer virus or other\n code designed to disrupt, damage, or limit the functioning of any computer\n software or hardware. By submitting or posting content on the Website, you\n grant Zion Church the right to edit and, if necessary, remove any content at\n any time and for any reason.

\n \n

Compensation\n and sponsorship

\n \n

Some of the links on\n the Website may be "affiliate links". This means if you click on the\n link and purchase an item, Zion Church will receive an affiliate commission.

\n \n

Not\n legal advice

\n \n

The information\n provided on the Website is for general information purposes only and is not an\n alternative to legal advice from your lawyer, other professional services\n provider, or expert. It is not intended to provide legal advice or opinions of\n any kind. You should not act, or refrain from acting, based solely upon the\n information provided on the Website without first seeking appropriate legal or\n other professional advice. If you have any specific questions about any legal\n matter, you should consult your lawyer, other professional services provider,\n or expert. You should never delay seeking legal advice, disregard legal advice,\n or commence or discontinue any legal action because of the information on the\n Website.

\n \n

The information on\n the Website is provided for your convenience only. This information may have no\n evidentiary value and should be checked against official sources before it is\n used for any purposes. It is your responsibility to determine whether this\n information is admissible in a given judicial or administrative proceeding and\n whether there are any other evidentiary or filing requirements. Your use of\n this information is at your own risk.

\n \n

Not\n financial advice

\n \n

The information on\n the Website is provided for your convenience only and is not intended to be\n treated as financial, investment, tax, or other advice. Nothing contained on\n the Website constitutes a solicitation, recommendation, endorsement, or offer\n by Zion Church, its agents, employees, contractors, and any affiliated\n companies to buy or sell any securities or other financial instruments.

\n \n

All content on this\n site is the information of a general nature and does not address the\n circumstances of any particular individual or entity. Nothing on the Website\n constitutes professional and/or financial advice, nor does any information on\n the Website constitute a comprehensive or complete statement of the matters\n discussed or the law relating thereto. You alone assume the sole responsibility\n of evaluating the merits and risks associated with the use of any information\n or other content on the Website before making any decisions based on such\n information. You agree not to hold Zion Church, its agents, employees,\n contractors, and any affiliated companies liable for any possible claim for\n damages arising from any decision you make based on the information made available\n to you through the Website.

\n \n

Reviews\n and testimonials

\n \n

Testimonials are\n received in various forms through a variety of submission methods. The\n testimonials are not necessarily representative of all of those who will use\n Website and Services, and Zion Church is not responsible for the opinions or\n comments available on the Website, and does not necessarily share them. All\n opinions expressed are strictly the views of the reviewers.

\n \n

Some testimonials may\n have been edited for clarity, or shortened in cases where the original\n testimonial included extraneous information of no relevance to the general\n public. Testimonials may be reviewed for authenticity before they are available\n for public viewing.

\n \n

Indemnification\n and warranties

\n \n

While we have made\n every attempt to ensure that the information contained on the Website is\n correct, Zion Church is not responsible for any errors or omissions, or for the\n results obtained from the use of this information. All information on the\n Website is provided "as is", with no guarantee of completeness,\n accuracy, timeliness or of the results obtained from the use of this\n information, and without warranty of any kind, express or implied. In no event\n will Zion Church, or its partners, employees or agents, be liable to you or\n anyone else for any decision made or action taken in reliance on the\n information on the Website, or for any consequential, special or similar\n damages, even if advised of the possibility of such damages.

\n \n

Furthermore, as with\n any business, your results may vary and will be based on your individual\n capacity, experience, expertise, and level of desire. There are no guarantees\n concerning the level of success you may experience. There is no guarantee that\n you will make any income at all and you accept the risk that the earnings and\n income statements differ by individual. Each individual’s success depends on\n his or her background, dedication, desire and motivation. The use of the\n information on the Website and Services should be based on your own due\n diligence and you agree that Zion Church is not liable for any success or\n failure of your business that is directly or indirectly related to the purchase\n and use of our information, products, and services reviewed or advertised on\n the Website. Information contained on the Website are subject to change at any\n time and without warning.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Disclaimer or its terms relating to the Website and Services at\n any time, effective upon posting of an updated version of this Disclaimer on the\n Website. When we do, we will revise the updated date at the bottom of this\n page. Continued use of the Website and Services after any such changes shall\n constitute your consent to such changes.

\n \n

Acceptance\n of this disclaimer

\n \n

You acknowledge that\n you have read this Disclaimer and agree to all its terms and conditions. By\n accessing and using the Website and Services you agree to be bound by this\n Disclaimer. If you do not agree to abide by the terms of this Disclaimer, you\n are not authorized to access or use the Website and Services.

\n \n

Contacting\n us

\n \n

If you would like to\n contact us to understand more about this Disclaimer or wish to contact us\n concerning any matter relating to it, you may send an email to\n support@everyhumanneeds.com.

\n \n

This document was last updated on April 26,\n 2021

\n \n

 

\n \n
`\n },\n dmca: {\n title: 'DMCA policy',\n browserTitle: 'DMCA policy',\n content: `
\n \n

This Digital\n Millennium Copyright Act policy ("Policy") applies to the everyhumaneeds.com\n website ("Website" or "Service") and any of its related\n products and services (collectively, "Services") and outlines how\n Zion Church ("Zion Church", "we", "us" or\n "our") addresses copyright infringement notifications and how you\n ("you" or "your") may submit a copyright infringement\n complaint.

\n \n

Protection of\n intellectual property is of utmost importance to us and we ask our users and\n their authorized agents to do the same. It is our policy to expeditiously\n respond to clear notifications of alleged copyright infringement that comply\n with the United States Digital Millennium Copyright Act ("DMCA") of\n 1998, the text of which can be found at the U.S. Copyright Office website.

\n \n

What\n to consider before submitting a copyright complaint

\n \n

Before submitting a\n copyright complaint to us, consider whether the use could be considered fair\n use. Fair use states that brief excerpts of copyrighted material may, under\n certain circumstances, be quoted verbatim for purposes such as criticism, news\n reporting, teaching, and research, without the need for permission from or\n payment to the copyright holder.

\n \n

Please note that if\n you are unsure whether the material you are reporting is in fact infringing,\n you may wish to contact an attorney before filing a notification with us.

\n \n

The DMCA requires you\n to provide your personal information in the copyright infringement\n notification. If you are concerned about the privacy of your personal\n information, you may wish to hire an agent to\n report infringing material for you.

\n \n

Notifications\n of infringement

\n \n

If you are a\n copyright owner or an agent thereof, and you believe that any material\n available on our Services infringes your copyrights, then you may submit a\n written copyright infringement notification ("Notification") using\n the contact details below pursuant to the DMCA by providing us with the\n following information:

\n \n

       Identification\n of the copyrighted work that you claim has been infringed, or, if multiple\n copyrighted works are covered by this Notification, you may provide a\n representative list of the copyrighted works that you claim have been\n infringed.

\n \n

       Identification\n of the infringing material and information you claim is infringing (or the\n subject of infringing activity), including at a minimum, if applicable, the URL\n or URLs of the web pages where the allegedly infringing material may be found.

\n \n

       Information\n reasonably sufficient to permit us to contact you, such as an address,\n telephone number, and, if available, an e-mail address.

\n \n

       A\n statement that you have a good faith belief that use of the material in the\n manner complained of is not authorized by the copyright owner, the copyright\n owner's agent, or the law.

\n \n

       A\n statement that the information in the notification is accurate, and under\n penalty of perjury that you are authorized to act on behalf of the owner of an\n exclusive right that is allegedly infringed.

\n \n

      \n A physical or electronic signature (typing\n your full name will suffice) of the copyright owner or a person authorized to\n act on their behalf.

\n \n

All such\n Notifications must comply with the DMCA requirements. You may refer to a DMCA takedown notice generator\n or other similar services to avoid making mistake and ensure compliance of your\n Notification.

\n \n

Filing a DMCA\n complaint is the start of a pre-defined legal process. Your complaint will be\n reviewed for accuracy, validity, and completeness. If your complaint has\n satisfied these requirements, our response may include the removal or\n restriction of access to allegedly infringing material.

\n \n

If we remove or\n restrict access to materials or terminate an account in response to a\n Notification of alleged infringement, we will make a good faith effort to\n contact the affected user with information concerning the removal or\n restriction of access.

\n \n

Notwithstanding\n anything to the contrary contained in any portion of this Policy, Zion Church\n reserves the right to take no action upon receipt of a DMCA copyright\n infringement notification if it fails to comply with all the requirements of\n the DMCA for such notifications.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Policy or its terms relating to the Website and Services at any\n time, effective upon posting of an updated version of this Policy on the\n Website. When we do, we will revise the updated date at the bottom of this\n page.

\n \n

Reporting\n copyright infringement

\n \n

If you would like to\n notify us of the infringing material or activity, you may send an email to\n support@everyhumanneeds.com.

\n \n

This document was last updated on April 26,\n 2021

\n \n

 

\n \n
`\n },\n acceptableUse: {\n title: 'Acceptable use policy',\n browserTitle: 'Acceptable use policy',\n content: `
\n \n

This acceptable use\n policy ("Policy") sets forth the general guidelines and acceptable\n and prohibited uses of the everyhumanneeds.com\n website ("Website" or "Service") and any of its related\n products and services (collectively, "Services"). This Policy is a\n legally binding agreement between you ("User", "you" or\n "your") and Zion Church ("Zion Church", "we",\n "us" or "our"). By accessing and using the Website and\n Services, you acknowledge that you have read, understood, and agree to be bound\n by the terms of this Agreement. If you are entering into this Agreement on\n behalf of a business or other legal entity, you represent that you have the authority\n to bind such entity to this Agreement, in which case the terms\n "User", "you" or "your" shall refer to such\n entity. If you do not have such authority, or if you do not agree with the\n terms of this Agreement, you must not accept this Agreement and may not access\n and use the Website and Services. You acknowledge that this Agreement is a\n contract between you and Zion Church, even though it is electronic and is not\n physically signed by you, and it governs your use of the Website and Services.

\n \n

Prohibited\n activities and uses

\n \n

You may not use the\n Website and Services to publish content or engage in activity that is illegal\n under applicable law, that is harmful to others, or that would subject us to\n liability, including, without limitation, in connection with any of the\n following, each of which is prohibited under this Policy:

\n \n

       Distributing\n malware or other malicious code.

\n \n

       Disclosing\n sensitive personal information about others.

\n \n

       Collecting,\n or attempting to collect, personal information about third parties without\n their knowledge or consent.

\n \n

       Distributing\n pornography or adult related content.

\n \n

       Promoting\n or facilitating prostitution or any escort services.

\n \n

       Hosting,\n distributing or linking to child pornography or content that is harmful to\n minors.

\n \n

       Promoting\n or facilitating gambling, violence, terrorist activities or selling weapons or\n ammunition.

\n \n

       Engaging\n in the unlawful distribution of controlled substances, drug contraband or\n prescription medications.

\n \n

       Managing\n payment aggregators or facilitators such as processing payments on behalf of\n other businesses or charities.

\n \n

       Facilitating\n pyramid schemes or other models intended to seek payments from public actors.

\n \n

       Threatening\n harm to persons or property or otherwise harassing behavior.

\n \n

       Infringing\n the intellectual property or other proprietary rights of others.

\n \n

      \n Facilitating, aiding, or encouraging any of\n the above activities through the Website and Services.

\n \n

System\n abuse

\n \n

Any User in violation\n of the Website and Services security is subject to criminal and civil\n liability, as well as immediate account termination. Examples include, but are\n not limited to the following:

\n \n

       Use\n or distribution of tools designed for compromising security of the Website and\n Services.

\n \n

       Intentionally\n or negligently transmitting files containing a computer virus or corrupted\n data.

\n \n

       Accessing\n another network without permission, including to probe or scan for\n vulnerabilities or breach security or authentication measures.

\n \n

      \n Unauthorized scanning or monitoring of data\n on any network or system without proper authorization of the owner of the\n system or network.

\n \n

Service\n resources

\n \n

You may not consume\n excessive amounts of the resources of the Website and Services or use the\n Website and Services in any way which results in performance issues or which\n interrupts the Services for other Users. Prohibited activities that contribute\n to excessive use, include without limitation:

\n \n

       Deliberate\n attempts to overload the Website and Services and broadcast attacks (i.e.\n denial of service attacks).

\n \n

      \n Engaging in any other activities that degrade\n the usability and performance of the Website and Services.

\n \n

No\n spam policy

\n \n

You may not use the\n Website and Services to send spam or bulk unsolicited messages. We maintain a\n zero tolerance policy for use of the Website and Services in any manner\n associated with the transmission, distribution or delivery of any bulk e-mail,\n including unsolicited bulk or unsolicited commercial e-mail, or the sending,\n assisting, or commissioning the transmission of commercial e-mail that does not\n comply with the U.S. CAN-SPAM Act of 2003 ("SPAM").

\n \n

Your products or\n services advertised via SPAM (i.e. Spamvertised) may not be used in conjunction\n with the Website and Services. This provision includes, but is not limited to,\n SPAM sent via fax, phone, postal mail, email, instant messaging, or newsgroups.

\n \n

Defamation\n and objectionable content

\n \n

We value the freedom\n of expression and encourage Users to be respectful with the content they post.\n We are not a publisher of User content and are not in a position to investigate\n the veracity of individual defamation claims or to determine whether certain\n material, which we may find objectionable, should be censored. However, we\n reserve the right to moderate, disable or remove any content to prevent harm to\n others or to us or the Website and Services, as determined in our sole\n discretion.

\n \n

Copyrighted\n content

\n \n

Copyrighted material\n must not be published via the Website and Services without the explicit permission\n of the copyright owner or a person explicitly authorized to give such\n permission by the copyright owner. Upon receipt of a claim for copyright\n infringement, or a notice of such violation, we may, at our discretion, run an\n investigation and, upon confirmation, may remove the infringing material from\n the Website and Services. We may terminate the Service of Users with repeated\n copyright infringements. Further procedures may be carried out if necessary. We\n will assume no liability to any User of the Website and Services for the\n removal of any such material. If you believe your copyright is being infringed\n by a person or persons using the Website and Services, please get in touch with\n us to report copyright infringement.

\n \n

Security

\n \n

You take full\n responsibility for maintaining reasonable security precautions for your\n account. You are responsible for protecting and updating any login account\n provided to you for the Website and Services. You must protect the\n confidentiality of your login details, and you should change your password\n periodically.

\n \n

Enforcement

\n \n

We reserve our right\n to be the sole arbiter in determining the seriousness of each infringement and\n to immediately take corrective actions, including but not limited to:

\n \n

       Suspending\n or terminating your Service with or without notice upon any violation of this\n Policy. Any violations may also result in the immediate suspension or\n termination of your account.

\n \n

       Disabling\n or removing any content which is prohibited by this Policy, including to\n prevent harm to others or to us or the Website and Services, as determined by\n us in our sole discretion.

\n \n

       Reporting\n violations to law enforcement as determined by us in our sole discretion.

\n \n

      \n A failure to respond to an email from our\n abuse team within 2 days, or as otherwise specified in the communication to\n you, may result in the suspension or termination of your account.

\n \n

Suspended and\n terminated User accounts due to violations will not be re-activated.

\n \n

Nothing contained in\n this Policy shall be construed to limit our actions or remedies in any way with\n respect to any of the prohibited activities. We reserve the right to take any\n and all additional actions we may deem appropriate with respect to such\n activities, including without limitation taking action to recover the costs and\n expenses of identifying offenders and removing them from the Website and\n Services, and levying cancellation charges to cover our costs. In addition, we\n reserve at all times all rights and remedies available to us with respect to\n such activities at law or in equity.

\n \n

Reporting\n violations

\n \n

If you have\n discovered and would like to report a violation of this Policy, please contact\n us immediately. We will investigate the situation and provide you with full\n assistance.

\n \n

Changes\n and amendments

\n \n

We reserve the right\n to modify this Policy or its terms relating to the Website and Services at any\n time, effective upon posting of an updated version of this Policy on the\n Website. When we do, we will post a notification on the main page of the\n Website. Continued use of the Website and Services after any such changes shall\n constitute your consent to such changes.

\n \n

Acceptance\n of this policy

\n \n

You acknowledge that\n you have read this Policy and agree to all its terms and conditions. By\n accessing and using the Website and Services you agree to be bound by this\n Policy. If you do not agree to abide by the terms of this Policy, you are not\n authorized to access or use the Website and Services.

\n \n

Contacting\n us

\n \n

If you would like to\n contact us to understand more about this Policy or wish to contact us\n concerning any matter relating to it, you may send an email to\n support@everyhumanneeds.com.

\n \n

This document was last updated on October 8,\n 2020

\n \n

 

\n \n
`\n }\n}\n\nexport default POLICY_CONTENT;","import React, { useContext } from 'react';\nimport { GlobalContext } from '../../context/GlobalContext'\nconst axios = require('axios').default;\n\nexport function withAPIRequest(Component) {\n const WithAPIRequest = (props) => {\n const globalContext = useContext(GlobalContext);\n\n const commonAPIRequest = ({ api, method, params }, callback, hideErrorNotification) => {\n // let user = JSON.parse(localStorage.getItem('user'))\n let token = globalContext.user ? globalContext.user.AuthToken : null\n let headers = { Authorization: `Bearer ${token}` }\n let config = {\n method: method,\n url: api,\n headers: headers\n }\n\n params && (config.data = params)\n\n axios(config).then((response) => {\n if (response.data.Status.StatusId === 1) {\n callback(response.data)\n } else {\n if (api.includes('GetCampaigns') || api.includes('GetFeaturedCampaigns')) {\n let msg = response.data.Status.Message;\n hideErrorNotification !== true && globalContext.setNotifications({\n type: 'success',\n text: msg === 'No records found' ? 'No campaigns found' : msg\n });\n } else {\n hideErrorNotification !== true && globalContext.setNotifications({\n type: 'error',\n text: response.data.Status.Message\n });\n }\n callback(null);\n }\n }).catch((error) => {\n globalContext.setNotifications({\n type: 'error',\n text: error.toString()\n })\n callback(null);\n })\n }\n\n return (\n \n );\n }\n\n return WithAPIRequest;\n}\n\n","import React from \"react\";\nimport { Helmet } from \"react-helmet\";\n\nconst Meta = ( { content , title = \"\" } ) => {\n\n return (\n
\n \n EHN | { title }\n \n \n
\n )\n}\n\nexport default Meta;","import React, { useContext, useEffect } from \"react\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport \"./Login.scss\";\nimport { useHistory, Link, Redirect, useParams } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport POLICY_CONTENT from '../../../configs/policies';\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst Login = (props) => {\n\n let history = useHistory();\n let { token } = useParams();\n const globalContext = useContext(GlobalContext);\n useEffect(() => {\n if (token) verifyToken(token);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const verifyToken = (verificationToken) => {\n let serviceParams = {\n api: `${API.VERIFY_TOKEN}${verificationToken}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Data) {\n globalContext.setNotifications({\n type: \"success\",\n text: result && result.Status.Message,\n })\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result && result.Status.Message,\n })\n props.history.push(\"/\");\n }\n }\n });\n };\n\n const callLoginAPI = (email, password) => {\n let serviceParams = {\n api: API.LOGIN,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n Email: email,\n Password: password,\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n localStorage.setItem(\"user\", JSON.stringify(result.Data));\n globalContext.setLoggedInUser(result.Data);\n if (result.Status.StatusId === 1) {\n history.push(getRoutingString(result.Data.User.Role));\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n }\n }\n });\n };\n\n const getRoutingString = (role) => {\n switch (role) {\n case 1:\n return \"/superadmin-users\";\n case 2:\n return \"/admin-dashboard\";\n case 3:\n return \"/donor-all-campaings\";\n case 4:\n return \"/requester-campaigns?status=1\";\n default:\n return \"/\";\n }\n };\n\n return (\n <>\n \n {globalContext.user === null ? (\n
\n
\n
\n
\n
\n

Login

\n
\n
\n {\n if (values.IsChecked) {\n callLoginAPI(values.email, values.password);\n }\n }}\n >\n {({\n values,\n errors,\n touched,\n handleBlur,\n handleChange,\n isSubmitting,\n }) => (\n
\n
\n {!values.IsChecked && touched.IsChecked && (\n \n Please accept Terms & Privacy Policy\n
\n )}\n
\n
\n \n {errors.email && touched.email && (\n {errors.email}\n )}\n
\n
\n \n {errors.password && touched.email && (\n {errors.password}\n )}\n
\n
\n\n
\n \n\n
\n \n
\n
\n\n
\n \n
\n \n \n )}\n \n\n
\n history.push(\"/forgot-password\")}\n >\n Forgot password\n

\n history.push(\"/donor-register\")}\n >\n Create an account\n

\n
\n
\n
\n
\n
\n ) : (\n \n )}\n \n );\n}\n\nexport default withAPIRequest(Login);\n","export const userType = (id) => {\n let type = null\n switch (id) {\n case 1:\n type = \"superadmin\"\n break;\n case 2:\n type = \"admin\"\n break;\n case 3:\n type = \"donor\"\n break;\n case 4:\n type = \"requester\"\n break;\n default:\n }\n return type\n}\n\nexport const formatDate = (value) => {\n const date = new Date(value).toLocaleDateString()\n return date.split(\"/\").join(\".\")\n}\n\nexport const convertQueryStringToObj = (queryString) => {\n const arr = queryString.slice(1).split(/&|=/); // remove the \"?\", \"&\" and \"=\"\n let params = {};\n\n for (let i = 0; i < arr.length; i += 2) {\n const key = arr[i], value = arr[i + 1];\n params[key] = value; // build the object = { limit: \"10\", page:\"1\", status:\"APPROVED\" }\n }\n return params;\n}\n\nexport const setCarousel = () => {\n setTimeout(() => {\n window.$('.rs-carousel').each(function () {\n var owlCarousel = window.$(this),\n loop = owlCarousel.data('loop'),\n items = owlCarousel.data('items'),\n margin = owlCarousel.data('margin'),\n // stagePadding = owlCarousel.data('stage-padding'),\n autoplay = owlCarousel.data('autoplay'),\n autoplayTimeout = owlCarousel.data('autoplay-timeout'),\n smartSpeed = owlCarousel.data('smart-speed'),\n dots = owlCarousel.data('dots'),\n nav = owlCarousel.data('nav'),\n navSpeed = owlCarousel.data('nav-speed'),\n xsDevice = owlCarousel.data('mobile-device'),\n xsDeviceNav = owlCarousel.data('mobile-device-nav'),\n xsDeviceDots = owlCarousel.data('mobile-device-dots'),\n smDevice = owlCarousel.data('ipad-device'),\n smDeviceNav = owlCarousel.data('ipad-device-nav'),\n smDeviceDots = owlCarousel.data('ipad-device-dots'),\n smDevice2 = owlCarousel.data('ipad-device2'),\n smDeviceNav2 = owlCarousel.data('ipad-device-nav2'),\n smDeviceDots2 = owlCarousel.data('ipad-device-dots2'),\n mdDevice = owlCarousel.data('md-device'),\n centerMode = owlCarousel.data('center-mode'),\n HoverPause = owlCarousel.data('hoverpause'),\n mdDeviceNav = owlCarousel.data('md-device-nav'),\n mdDeviceDots = owlCarousel.data('md-device-dots');\n owlCarousel.owlCarousel({\n loop: (loop ? true : false),\n items: (items ? items : 4),\n lazyLoad: true,\n center: (centerMode ? true : false),\n autoplayHoverPause: (HoverPause ? true : false),\n margin: (margin ? margin : 0),\n //stagePadding: (stagePadding ? stagePadding : 0),\n autoplay: (autoplay ? true : false),\n autoplayTimeout: (autoplayTimeout ? autoplayTimeout : 1000),\n smartSpeed: (smartSpeed ? smartSpeed : 250),\n dots: (dots ? true : false),\n nav: (nav ? true : false),\n navText: [\"\", \"\"],\n navSpeed: (navSpeed ? true : false),\n responsiveClass: true,\n responsive: {\n 0: {\n items: (xsDevice ? xsDevice : 1),\n nav: (xsDeviceNav ? true : false),\n dots: (xsDeviceDots ? true : false),\n center: false,\n },\n 576: {\n items: (smDevice2 ? smDevice2 : 2),\n nav: (smDeviceNav2 ? true : false),\n dots: (smDeviceDots2 ? true : false),\n center: false,\n },\n 768: {\n items: (smDevice ? smDevice : 3),\n nav: (smDeviceNav ? true : false),\n dots: (smDeviceDots ? true : false),\n center: false,\n },\n 992: {\n items: (mdDevice ? mdDevice : 4),\n nav: (mdDeviceNav ? true : false),\n dots: (mdDeviceDots ? true : false),\n }\n }\n });\n });\n }, 500);\n}\n\nexport function timeSince(date) {\n console.log('date :>> ', date);\n\n var seconds = Math.floor((new Date() - date) / 1000);\n\n var interval = seconds / 31536000;\n\n if (interval > 1) {\n return Math.floor(interval) + \" years ago\";\n }\n interval = seconds / 2592000;\n if (interval > 1) {\n return Math.floor(interval) + \" months ago\";\n }\n interval = seconds / 86400;\n if (interval > 1) {\n return Math.floor(interval) + \" days ago\";\n }\n interval = seconds / 3600;\n if (interval > 1) {\n return Math.floor(interval) + \" hours ago\";\n }\n interval = seconds / 60;\n if (interval > 1) {\n return Math.floor(interval) + \" minutes ago\";\n }\n return Math.floor(seconds) + \" seconds ago\";\n}\n\nexport const getCampaignShareableURL = (campaignId) => {\n var url = window.location.href;\n var arr = url.split(\"/\");\n var host = arr[0] + \"//\" + arr[2];\n\n let result = `${host}/#/campaign-details/${campaignId}`\n return result;\n}\n\nexport const sortByName = ( list , name ) => {\n return [ ...list.filter( ( { IsFeatured } ) => {\n return IsFeatured === name;\n } ) , ...list.filter( ( { IsFeatured } ) => {\n return IsFeatured !== name;\n } ) ];\n}\n\nexport const setHomepagePublicMenuMobile = (params) => {\n setTimeout(() => {\n //Defines variables\t\n\tvar arrow_up = '';\n\tvar arrow_down = '';\n\tvar arrow_span = '' + arrow_down + '';\n\tvar close_button = '
Close
';\n\t\n\t//Insert all arrow down span element\n\twindow.$('.nav-menu .rs-mega-menu').append(arrow_span);\n\twindow.$('.nav-menu > .menu-item-has-children').append(arrow_span);\n\twindow.$('.nav-menu > .menu-item-has-children .sub-menu > .menu-item-has-children').append(arrow_span);\n\t\n\t//Insert all close button element\n\twindow.$('.nav-menu .menu-item-has-children .sub-menu').append(close_button);\n\twindow.$('.nav-menu .rs-mega-menu .mega-menu').append(close_button);\n\n\t/*-----------------------------------------------------------------------------------*/\n\t/*\tOPEN SUB MENU FUNCTION\n\t/*-----------------------------------------------------------------------------------*/\n\twindow.$('span.rs-menu-parent').on('click', function(e){\n\t\te.preventDefault();\n\t\t\n\t\tvar t = window.$(this);\n\t\tvar menu = t.siblings('ul');\t\n\t\tvar parent = t.parent('li');\n\t\tvar siblings = parent.siblings('li');\n\t\tvar arrow_target = 'span.rs-menu-parent';\n\t\t\n\t\tif (menu.hasClass('sub-menu')) { \n // eslint-disable-next-line\n\t\t\tvar menu = t.siblings('ul.sub-menu'); \n\t\t} else if(menu.hasClass('mega-menu')) {\n // eslint-disable-next-line\n\t\t\tvar menu = t.siblings('ul.mega-menu');\n\t\t}\n\t\t\n\t\tif (menu.hasClass('visible')) {\n\t\t\tsetTimeout(function() { menu.removeClass('visible'); }, 10);\t\n\t\t\tt.html(arrow_down);\t\t\n\t\t} else {\n\t\t\tsetTimeout(function() { menu.addClass('visible'); }, 10);\n\t\t\tt.html(arrow_up);\n\t\t}\n\t\t\t\n\t\t/*-------------------------------------*/\n\t\t/*\tCLOSE MENUS\n\t\t/*-------------------------------------*/\n\t\t\t\n\t\t//Close sub menus\n\t\tparent.find('ul.visible').removeClass('visible');\t\n\t\t\n\t\t//Close sub menus parents\n\t\tparent.siblings('li').children('ul').removeClass('visible');\t\n\t\t\n\t\t//Close sub menus child parents \n\t\tsiblings.find('ul.visible').removeClass('visible');\t\n\t\t\n\t\t/*-------------------------------------*/\n\t\t/*\tINSERT ARROW DOWN\n\t\t/*-------------------------------------*/\t\n\t\t\n\t\t//Insert arrow down in sub menus\n\t\tparent.children('ul').find(arrow_target).html(arrow_down);\n\t\t\n\t\t//Insert arrow down in sub menus parents\n\t\tsiblings.children(arrow_target).html(arrow_down);\n\t\t\n\t\t//Insert arrow down in sub menus child parents \n\t\tsiblings.find(arrow_target).html(arrow_down);\n\t}); \n\t\n\t/*-----------------------------------------------------------------------------------*/\n\t/*\tCLOSE BUTTON\n\t/*-----------------------------------------------------------------------------------*/ \n\twindow.$('ul.nav-menu div.sub-menu-close').on('click', function(e){\n\t e.preventDefault();\n\t\t \n\t var a = window.$(this).parent('ul'); \n\t a.removeClass('visible');\n\t a.siblings('span.rs-menu-parent').html(arrow_down);\n\t}); \n\t\n\t/*-----------------------------------------------------------------------------------*/\n\t/*\tEFFECTS ON MENU TOGGLE\n\t/*-----------------------------------------------------------------------------------*/ \n\twindow.$('a.rs-menu-toggle').on('click', function(e){\n\t\te.preventDefault();\t\n\t\tvar menu_height = window.$('.rs-menu ul').height();\n\t\tif (window.$('a.rs-menu-toggle').hasClass('rs-menu-toggle-open')) {\t\t\n\t\t\twindow.$('a.rs-menu-toggle').removeClass('rs-menu-toggle-open').addClass('rs-menu-toggle-close');\n\t\t\twindow.$('.rs-menu').animate({height:'0px'},{queue:false, duration:300}).addClass('rs-menu-close');\t\n\t\t} else {\t\t\t\n\t\t\twindow.$('a.rs-menu-toggle').removeClass('rs-menu-toggle-close').addClass('rs-menu-toggle-open');\n\t\t\twindow.$('.rs-menu').animate({height:menu_height},{queue:false, duration:300}).removeClass('rs-menu-close');\n\t\t}\n\t});\t\n\t\n\t/*-----------------------------------------------------------------------------------*/\n\t/*\tCLOSE MENUS ON RESIZE\n\t/*-----------------------------------------------------------------------------------*/ \n\tvar window_width = 0;\n\t \n\twindow.$(window).on('load', function () {\t\n\t\twindow_width = window.$(window).width();\n\t\twindow.$('.rs-menu').addClass( \"rs-menu-close\" );\n\t});\n\t\n\twindow.$(window).resize( function(){ \n\t\tif(window_width !== window.$(window).width()){\t\t\n\t\t\twindow.$('.visible').removeClass('visible');\t\n\t\t\twindow.$('.rs-menu-toggle').removeClass('rs-menu-toggle-open').addClass( \"rs-menu-toggle-close\" );\t\n\t\t\twindow.$('.rs-menu').css( \"height\", \"0\" ).addClass( \"rs-menu-close\" );\t\t\n\t\t\n\t\t\twindow.$('span.rs-menu-parent').html( arrow_down );\t\t\n\t\t\twindow_width = window.$(window).width();\t\n\t\t}\n\t});\t\n }, 500);\n \n}\n\nexport const getLetterInitials = (str) => {\n const name = str.split(\" \")\n console.log(name)\n let _name = \"\";\n for(let x = 0; x < name.length; x++) {\n _name = _name + name[x].charAt(0)\n }\n return _name.toUpperCase();\n}\n\nexport const getRecipientName=(Name, UserName, IsPrivacy, IsAnonymous)=>{\n if(IsAnonymous&&UserName){\n return[UserName,false]\n }\n if(IsPrivacy){\n return[getLetterInitials(Name),Name]\n }\n return[Name,false]\n}","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState, useContext, useEffect } from \"react\";\nimport { useParams } from \"react-router\";\nimport \"./AdminCampaignDetails.scss\";\nimport { API, AXIOS_METHOD_TYPES, RESOURCE_STATUS, TIPS } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Vimeo from \"@u-wave/react-vimeo\";\nimport {\n Accordion,\n AccordionItem,\n AccordionItemHeading,\n AccordionItemButton,\n AccordionItemPanel,\n} from 'react-accessible-accordion';\nimport { timeSince, getCampaignShareableURL } from '../../../configs/utility';\nimport { FacebookShareButton, TwitterShareButton } from 'react-share';\nimport moment from 'moment';\nimport Meta from \"../../common/meta/Meta\";\nimport ProgressBar from '../../../components/progressBar/ProgressBar';\n\nlet isAccordionClose;\nlet currentAccordienID;\nlet timeoutTemp;\n\nconst AdminCampaignDetailsPage = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [campaignData, setCampaignData] = useState(null);\n const [donors, setDonors] = useState([]);\n const [files, setFiles] = useState([]);\n const { id } = useParams();\n const [chatList, setChatList] = useState(null);\n const [chatDataMsg, setChatDataMsg] = useState(null);\n const [chatMsg, setChatMsg] = useState(\"Loading...\");\n const [chatUsers, setChatUsers] = useState(null);\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n getCampaignDetails(id);\n getChatList();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n }, []);\n\n const getChatList = () => {\n let serviceParams = {\n api: `${API.GET_CHAT_LIST}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setChatList(result.Data);\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n const onAccordinChange = (event) => {\n if (event.length) {\n isAccordionClose = false;\n currentAccordienID = event[0]\n setChatDataMsg(null);\n getChatDataMsg();\n } else {\n clearInterval(timeoutTemp);\n isAccordionClose = true;\n }\n }\n\n const getCampaignDetails = (id) => {\n let serviceParams = {\n api: `${API.CAMPAIGN_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setCampaignData(result.Data);\n setDonors(result.Data.Donors);\n setFiles(result.Data.OtherFiles);\n return;\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.status.Message : \"Data not found\",\n });\n }\n });\n };\n\n const getChatDataMsg = () => {\n if (timeoutTemp) {\n clearInterval(timeoutTemp);\n }\n let currentURL = window.location.hash\n let found = currentURL.includes(\"#/admin-campaign-details\");\n if (found && !isAccordionClose) {\n let serviceParams = {\n api: `${API.GET_CHAT_MESSAGES}${currentAccordienID}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n setChatMsg(\"Loading...\")\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n if (result.Data.ChatMessages.length === 0) {\n setChatMsg(\"No Message Found\")\n }\n if (result.Data.ChatMessages.length && result.Data.ChatMessages[0].ChatId === currentAccordienID) {\n setChatUsers(result.Data.ChatUsers);\n setChatDataMsg(result.Data.ChatMessages);\n timeoutTemp = setInterval(() => {\n getChatDataMsg()\n }, 20000);\n }\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n } else {\n return\n }\n }\n\n const updateResourceStatus = (params) => {\n let serviceParams = {\n api: API.CAMPAIGN_RESOURCE_STATUS_UPDATE,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n getCampaignDetails(id);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n };\n\n return (\n
\n \n { globalContext.user.User.Role === 2 ? campaignData &&
\n
\n\n
\n
\n
\n
\n
EveryHumanNeeds Use Tips
\n \n
\n
\n
\n
\n\n
\n
\n
\n
\n\n
\n
\n

{campaignData.Name} Details

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

Campaign Status:

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

End date:

\n
\n
\n

{moment(new Date(campaignData.EndDate)).format('MM/DD/YYYY')}

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

Tips:

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

\n Share Story \n

\n
\n
\n
    \n
  • \n } />\n
  • \n
  • \n } />\n
  • \n
\n
\n
\n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Resources.map((item, index) => {\n // // debugger\n return(\n \n \n \n )}))\n :null}\n \n \n
Summary
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

\n

Recipient:

\n

\n
    \n
  • \n {campaignData?.RequesterName}\n
  • \n
\n
\n
\n

\n

Campaign Story:

\n

\n
    \n
  • \n {campaignData?.Story}\n
  • \n
\n
\n
\n
\n
\n {campaignData && parseInt(campaignData.VideoLink) ? (\n \n ) : null}\n
\n
\n
\n
\n

Resources Needed

\n
\n
\n \n \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Resources.map((item, index) => (\n \n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
AmountResource NameResource Details Status
\n

{item.IsCash && '$'}{item.PendingQuantity}

\n
\n

{item.Name}

\n
\n

{item.Description}

\n
\n
\n \n {RESOURCE_STATUS.find((status) => status.id === item.Status).text || 'N/A'}\n \n \n {RESOURCE_STATUS.map((status, index) =>\n \n updateResourceStatus({\n Id: item.Id,\n Status: status.id\n })\n }\n > {status.text}\n \n )}\n
\n \n
\n No Resources Found\n \n
\n
\n
\n
\n {files && files.length ?
\n
\n

Files

\n {files\n ? files.map((file, index) => (\n \n

{file ? file.Title : \"\"}

\n \n View\n \n
\n ))\n : null}\n
: null}\n
\n {\n props.history.push(`/admin-edit-campaign/id/${id}`);\n }}\n >\n Edit Campaign\n \n
\n
\n
\n
\n

List of Donors

\n
\n \n \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n donors && donors.map(\n (\n { FirstName, LastName, Email, ResourcesName,IsConfirmed },\n index\n ) => (\n \n \n \n \n \n \n )\n )\n ) : (\n \n \n \n )}\n \n
NameEmailAmountStatus
\n

{FirstName + \" \" + LastName}

\n
\n

{Email}

\n
\n

{ResourcesName}

\n
\n

{IsConfirmed?'Confirmed':'Pending'}

\n
\n No Donors Found\n
\n
\n
\n
\n {chatList && chatList.length ?
\n
\n
\n

Messages

\n Tips:\n \n
\n \n {chatList && chatList.map((item, index) => (\n \n \n \n
\n
\n
\n

{item.Name}

\n
\n
\n
\n
\n
\n \n
\n {chatUsers && chatDataMsg && chatDataMsg.map((item) => {\n return (\n
\n { chatUsers.find((user) => user.Id === item.SenderId).Role !== 4 ?
\n
user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
\n
\n
\n

\n {chatUsers.find((user) => user.Id === item.SenderId).FirstName} (Donor): {item.Message}\n

\n {timeSince(new Date(item.SentOn.concat('Z')))}\n
\n
\n
: null}\n { chatUsers.find((user) => user.Id === item.SenderId).Role === 4 ?
\n
\n
user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
\n
\n

{chatUsers.find((user) => user.Id === item.SenderId).FirstName} (Requestor): {item.Message}

\n {timeSince(new Date(item.SentOn.concat('Z')))}\n
\n
\n
: null}\n
\n )\n }).reverse()}\n {(!chatDataMsg) ?
{chatMsg}
: null}
\n
\n
\n ))}\n
\n
: null}\n {campaignData && campaignData.Feedbacks && campaignData.Feedbacks.length ?
\n
\n
\n

Feedback

\n
\n \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Feedbacks && campaignData.Feedbacks.map(\n (\n { RequesterName, DonorName, FeedbackText, FeedbackBy },\n index\n ) => (\n \n \n \n \n \n )\n )\n ) : (\n \n \n \n )}\n \n
Feedback byFeedback toFeedback
\n

{FeedbackBy === 1 ? RequesterName : DonorName}

\n
\n

{FeedbackBy === 1 ? DonorName : RequesterName}

\n
\n

{FeedbackText}

\n
\n No Feedback Found\n
\n
\n
\n
: null}\n
\n
\n
\n
\n
\n
:
Access Deined
}\n \n );\n}\n\nexport default withAPIRequest(AdminCampaignDetailsPage);\n","/* eslint-disable jsx-a11y/iframe-has-title */\n/* eslint-disable jsx-a11y/img-redundant-alt */\n/* eslint-disable jsx-a11y/alt-text */\n/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useEffect, useContext, useState } from \"react\";\nimport moment from \"moment\";\nimport { Link } from \"react-router-dom\";\nimport { HashLink } from \"react-router-hash-link\";\nimport Meta from \"../../common/meta/Meta\";\nimport { setCarousel,getLetterInitials } from \"../../../configs/utility\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport \"./Home.scss\";\n\nconst Home = (props) => {\n const globalContext = useContext(GlobalContext);\n const [campaigns, setCampaigns] = useState([]);\n const [email, setEmail] = useState(\"\");\n\n useEffect(() => {\n setCarousel();\n getAllCampaings();\n }, []);\n\n const handleNewsletterSubs = (e) => {\n e.preventDefault();\n\n globalContext.setNotifications({\n type: \"info\",\n text: \"Submitted successfully.\",\n });\n\n setEmail(\"\");\n };\n\n const getAllCampaings = () => {\n let serviceParams = {\n api: API.PUBLIC_LATEST_CAMPAIGNS,\n method: AXIOS_METHOD_TYPES.POST,\n params: { Status: [2, 0] },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setCampaigns(result.Data ? result.Data : []);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (\n
\n \n
\n
\n \n
\n
\n
\n \n empowering people to love{\" \"}\n
\n \n their neighbour by providing everyday human needs.\n \n \n \n Want To Give\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \"\"\n
\n
\n

\n 5,320 online courses\n

\n

Enjoy a variety of fresh topics

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

\n Expert instruction\n

\n

Find the right instructor

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

\n Lifetime access\n

\n

Learn on your schedule

\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n0
\n \n
\n
\n
\n
\n

About us

\n

What is Every Human Needs?

\n
\n Every Human Needs (EHN) is a platform that connects\n generosity with those who need a little grace and resources.\n Being founded by the belief that people matter to God, EHN\n seeks to provide encouragement by meeting the everyday human\n needs of love, care and support through tangible items and\n acts of service. There are men and women all around the\n world who are generous at their core and in times of crisis\n are often looking for ways to help serve the basic human\n needs of their community. If that is you, join us by{\" \"}\n \n Clicking here{\" \"}\n \n
\n
\n
\n
\n
\n \n \n
\n \n
Our Campaigns
\n

Featured Stories

\n
\n
\n {globalContext.featuredCampaings.map((campaign, index) => (\n
\n
\n \n
\n
\n

\n \n {campaign.Name}\n \n

\n \n View Details\n \n
\n
\n
\n
\n ))}\n
\n
\n \n View All Campaigns{\" \"}\n \n
\n \n \n \n
\n
\n
Every Human Needs
\n

A Little Encouragement

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

Latest Campaigns

\n
\n
\n \n \n \n \n \n \n \n \n {campaigns.map((campaign, index) => (\n \n \n \n \n \n ))}\n \n
Name \n End date
\n \n {campaign.Name}\n \n \n {campaign.IsFeatured && (\n \n )}\n \n {moment(campaign.EndDate).format(\"MM/DD/YYYY\")}\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \"\"\n
\n

\n Subscribe to Newsletter\n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n \n );\n};\n\nexport default withAPIRequest(Home);\n","import React from 'react';\nimport { withRouter } from \"react-router-dom\";\nimport { Route, Redirect } from 'react-router-dom';\nimport { GlobalContext } from '../context/GlobalContext';\n\nconst PrivateRoute = ({ component: Component, ...rest }) => {\n const globalContext = React.useContext(GlobalContext);\n const isLogin = globalContext.user !== null;\n\n return (\n {\n return (\n isLogin ?\n \n : \n )\n }} />\n );\n};\n\nexport default withRouter(PrivateRoute);\n\n","import React from 'react';\nimport {\n Route,\n // Redirect \n} from 'react-router-dom';\n\nconst PublicRoute = ({ component: Component, ...rest }) => {\n return (\n (\n \n )} />\n );\n};\n\nexport default PublicRoute;\n\n","import React , { useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { API , AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { Form , Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport \"./SuperadminCreateUser.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst SuperadminCreateUser = ( props ) => {\n\n const globalContext = useContext( GlobalContext );\n let history = useHistory();\n const registerUser = ( params ) => {\n let serviceParams = {\n api : API.REGISTER_ADMIN_V1 ,\n method : AXIOS_METHOD_TYPES.POST ,\n params : params ,\n };\n\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n globalContext.setLoading( false );\n if ( result ) {\n if ( result.Status.StatusId === 1 ) {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"success\" ,\n text : result.Status.Message ? result.Status.Message : \"User created successfully!\" ,\n } );\n history.goBack();\n } else {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"error\" ,\n text : result.Status.Message ,\n } );\n }\n }\n } );\n };\n\n return (\n
\n \n
\n
\n
\n
\n

Add New User

\n
\n {\n values[ \"Phone\" ] = values[ \"Phone\" ].toString();\n values[ \"Role\" ] = parseInt( values[ \"Role\" ] );\n registerUser( values );\n setSubmitting( false );\n } }\n >\n { ( { values , errors , touched , handleChange , handleBlur } ) => (\n
\n
\n
\n \n { errors.FirstName &&\n touched.FirstName &&\n errors.FirstName } \n
\n
\n \n { errors.LastName &&\n touched.LastName &&\n errors.LastName }\n
\n
\n \n { errors.Email &&\n touched.Email &&\n errors.Email }\n
\n
\n \n { errors.Phone &&\n touched.Phone &&\n errors.Phone }\n
\n
\n \n \n \n \n \n \n { errors.Role &&\n touched.Role &&\n errors.Role }\n
\n
\n \n
\n
\n
\n ) }\n \n
\n
\n
\n
\n );\n}\n\nexport default withAPIRequest( SuperadminCreateUser );","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport \"./SuperAdminSettings.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst SuperAdminSettings = ( props ) => {\n\n let history = useHistory();\n\n return (\n
\n \n
\n
\n
\n
\n

Superadmin Settings

\n
\n
\n
\n
    \n
  • \n history.push( \"/change-email\" ) }\n >\n
    \n
    \n \n \n \n

    Change Email

    \n
    \n
    \n
\n \n
  • \n history.push( \"/change-password\" ) }\n >\n
    \n
    \n \n \n \n

    Change Password

    \n
    \n
    \n
  • \n \n \n
    \n
    \n
    \n
    \n \n \n );\n}\n\nexport default SuperAdminSettings;\n","import React , { useContext , useEffect , useState } from \"react\";\nimport { useHistory , useParams } from \"react-router-dom\";\nimport { API , AXIOS_METHOD_TYPES , USER_STATUS } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { Form , Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./SuperadminEditUser.scss\";\n\nconst SuperadminEditUser = ( props ) => {\n\n const globalContext = useContext( GlobalContext );\n const [ user , setUser ] = useState( null );\n let history = useHistory();\n\n const { id } = useParams();\n useEffect( () => {\n getUser( id );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n } , [] );\n\n const getUser = ( id ) => {\n let serviceParams = {\n api : API.USER_BY_ID + id ,\n method : AXIOS_METHOD_TYPES.GET ,\n };\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n globalContext.setLoading( false );\n if ( result ) {\n if ( result.Status.StatusId === 1 ) {\n setUser( result.Data );\n } else {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"error\" ,\n text : result.Status.Message ,\n } );\n }\n }\n } );\n }\n const updateUser = ( params ) => {\n let serviceParams = {\n api : API.UPDATE_ADMIN ,\n method : AXIOS_METHOD_TYPES.POST ,\n params : params ,\n };\n\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n globalContext.setLoading( false );\n if ( result ) {\n if ( result.Status.StatusId === 1 ) {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"success\" ,\n text : result.Status.Message ,\n } );\n history.goBack();\n } else {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"error\" ,\n text : result.Status.Message ,\n } );\n }\n }\n } );\n };\n\n return (\n
    \n \n { user &&
    \n
    \n
    \n
    \n

    Edit User

    \n
    \n {\n values[ \"Phone\" ] = values[ \"Phone\" ].toString();\n values[ \"Status\" ] = parseInt( values[ \"Status\" ] );\n updateUser( values );\n setSubmitting( false );\n } }\n >\n { ( { values , errors , touched , handleChange , handleBlur } ) => (\n
    \n
    \n
    \n \n { errors.FirstName &&\n touched.FirstName &&\n errors.FirstName } \n
    \n
    \n \n { errors.LastName &&\n touched.LastName &&\n errors.LastName }\n
    \n
    \n \n { errors.Email &&\n touched.Email &&\n errors.Email }\n
    \n
    \n \n { errors.PhoneNumber &&\n touched.PhoneNumber &&\n errors.PhoneNumber }\n
    \n
    \n \n {values.Email === 'ematthews@zionchurch.org' ?\n :\n \n }\n { values.Email !== 'ematthews@zionchurch.org' &&\n USER_STATUS.map( ( { id , text } , index ) => (\n id !== user.Status &&\n \n ) )\n }\n \n { errors.Role &&\n touched.Role &&\n errors.Role }\n
    \n
    \n \n
    \n
    \n
    \n ) }\n \n
    \n
    \n
    }\n
    \n )\n}\n\nexport default withAPIRequest( SuperadminEditUser );\n","import React , { useContext , useEffect , useState } from \"react\";\nimport { Link , useHistory } from \"react-router-dom\";\nimport { API , AXIOS_METHOD_TYPES , USER_ROLE } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./SuperadminUsers.scss\";\n\nconst SuperadminUsers = ( props ) => {\n\n const globalContext = useContext( GlobalContext );\n let history = useHistory();\n const [ users , setUsers ] = useState( [] );\n const getUsers = ( userRole ) => {\n let serviceParams = {\n api : API.USERS_LIST + userRole ,\n method : AXIOS_METHOD_TYPES.GET ,\n };\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n globalContext.setLoading( false );\n if ( result ) {\n if ( result.Status.StatusId === 1 ) {\n setUsers( result.Data );\n } else {\n globalContext.setNotifications( {\n id : Math.random() ,\n type : \"error\" ,\n text : result.Status.Message ,\n } );\n }\n }\n } );\n }\n\n useEffect( () => {\n ( async () => {\n await getUsers( 2 );\n } )();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n } , [] );\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    List of Users

    \n
    \n
    \n {\n e.preventDefault();\n getUsers( e.target.value );\n } }\n >\n { USER_ROLE.map( ( item , index ) => (\n \n ) ) }\n \n
    \n
    \n \n Add New\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n { users.map( ( {\n FirstName ,\n LastName ,\n Email ,\n RoleName ,\n StatusName ,\n Phone ,\n Id\n } , index ) => (\n \n \n \n \n \n \n ) ) }\n \n
    User NameEmailPhoneAction
    \n

    { `${ FirstName } ${ LastName }` }

    \n
    \n

    { Email }

    \n
    \n

    { Phone || \"N/A\" }

    \n
    \n \n history.push(\n `/superadmin-edit-user/${ Id }`\n )\n }\n >\n View Details\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default withAPIRequest( SuperadminUsers );\n","import React, { Component } from \"react\";\nimport \"./ProgressBar.scss\";\n\nconst ProgressBar = (props) => {\n \n const { bgcolor,name,isCash,pendingNo,totalNo,index } = props;\n \n const widthPercentage= ()=> 100-((pendingNo/totalNo)*100);\n const colors = [\"#2cba05\",\"#50a04b\",\"#010a72\", \"#2cba05\", \"#4169E1\", \"#FA8072\", \"#800080\", \"#2578af\",\"#2c7f75\",\"#262077\",\"#000a1a\"];\n // debugger\n const fillerStyles = {\n height: '20px',\n width: `${widthPercentage() }%`,\n minWidth:`13%`,\n backgroundColor: colors[index%10+1],\n borderRadius: 'inherit',\n textAlign: 'right'\n }\n const progressBarLabelColor= {\n color:widthPercentage()? 'white':'white',\n }\n\n return (\n
    \n

    {name}

    \n
    \n
    \n
    \n {isCash?(`$`+(totalNo-pendingNo)):totalNo-pendingNo}\n
    \n
    \n

    {(isCash?\"$\":\"\")+totalNo}

    \n
    \n
    \n );\n };\n \n export default ProgressBar;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState, useContext, useEffect } from \"react\";\nimport \"./AdminCampaigns.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n API,\n AXIOS_METHOD_TYPES,\n CAMPAIGN_STATUS,\n} from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { convertQueryStringToObj, sortByName } from \"../../../configs/utility\";\nimport Meta from \"../../common/meta/Meta\";\nimport moment from \"moment\";\n\nconst AdminCampaigns = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n const [status, setStatus] = useState(\n parseInt(convertQueryStringToObj(props.location.search).status)\n );\n const [campaigns, setcampaigns] = useState([]);\n\n let history = useHistory();\n\n useEffect(() => {\n setcampaigns([]);\n let params = status === 0 ? { IsFeatured: true } : { Status: [status] };\n callRequesterAPI(params);\n }, [status]);\n\n const callRequesterAPI = (params) => {\n let serviceParams = {\n api: API.CAMPAIGNS,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setcampaigns(result.Data ? sortByName(result.Data,true) : []);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    List of Campaigns

    \n
    \n
    \n {\n e.preventDefault();\n setStatus( parseInt( e.target.value ) );\n } }\n >\n { CAMPAIGN_STATUS.map( ( item , index ) => (\n \n ) ) }\n \n
    \n
    \n history.push( \"/admin-create-campaign\" ) }\n style={ { color : \"#fff\" } }\n >\n Add New\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n { campaigns.map( ( {\n IsFeatured ,\n RequesterName ,\n AddedByName ,\n AddedOn ,\n Name ,\n StatusName ,\n EndDate ,\n Id\n } , index ) => (\n \n \n \n \n \n \n \n \n \n ))}\n \n
    Recipient NameLast Action/DateCampaign NameCampaign StatusEnding dateNotesAction
    \n

    { RequesterName }

    \n
    \n

    { `${\n AddedByName.split( \" \" )[ 0 ]\n } - ${ moment( AddedOn ).format(\n \"MM/DD/YYYY\"\n ) }` }

    \n
    \n
    \n
    \n

    { Name }

    \n
    \n
    \n { IsFeatured && \n { \"Featured\" }\n }\n
    \n
    \n
    \n

    { StatusName }

    \n
    \n

    \n { moment( EndDate ).format( \"MM/DD/YYYY\" ) }\n

    \n
    \n

    \n

    \n \n history.push(\n `/admin-campaign-details/id/${ Id }`\n )\n }\n >\n View Details\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n}\n\nexport default withAPIRequest( AdminCampaigns );\n","import React, { useCallback } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\nimport \"./FileUploader.scss\";\n\nfunction MyDropzone({ icon, setFiles, placeholder, type, onChange, isMultiple = false }) {\n const onDrop = useCallback((acceptedFiles) => {\n isMultiple ? onChange(acceptedFiles) : setFiles(acceptedFiles.map(file => Object.assign(file, {\n preview: URL.createObjectURL(file)\n })));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDrop,\n accept: type,\n multiple: isMultiple\n });\n\n return (\n
    \n \n {isDragActive ? (\n

    Drop the files here ...

    \n ) : (\n

    {icon && icon} {placeholder}

    \n )}\n
    \n );\n}\n\nexport default MyDropzone;","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useParams } from \"react-router\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { API, AXIOS_METHOD_TYPES, RESOURCE_STATUS, TIPS } from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport \"./RequesterCampaignDetails.scss\";\nimport Vimeo from \"@u-wave/react-vimeo\";\nimport { Form, Formik } from \"formik\";\nimport {\n Accordion,\n AccordionItem,\n AccordionItemHeading,\n AccordionItemButton,\n AccordionItemPanel,\n} from 'react-accessible-accordion';\nimport { timeSince, getCampaignShareableURL } from '../../../configs/utility';\nimport { FacebookShareButton, TwitterShareButton } from 'react-share';\nimport Meta from \"../../common/meta/Meta\";\nimport moment from 'moment';\nimport * as Yup from \"yup\";\n\nlet isAccordionClose;\nlet currentAccordienID;\nlet timeoutTemp;\n\nconst RequesterCampaignDetails = (props) => {\n\n const [campaignDetails, setCampaignDetails] = useState({});\n const globalContext = useContext(GlobalContext);\n const [files, setFiles] = useState([]);\n const [donors, setDonors] = useState([]);\n const { id } = useParams();\n const [chatList, setChatList] = useState(null);\n const [currentId, setCurrentId] = useState(null);\n const [chatDataMsg, setChatDataMsg] = useState(null);\n const [sendMsgText, setSendMsgText] = useState(null);\n const [feedback, setFeedback] = useState(null);\n const [chatId, setChatId] = useState(null);\n const [chatMsg, setChatMsg] = useState(\"Loading...\");\n const myUserID = globalContext.user.User.Id;\n const [chatUsers, setChatUsers] = useState(null);\n const userRole = globalContext.user.User.Role\n useEffect(() => {\n (async () => await getCampaignDetails(id))();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const onAccordinChange = (event) => {\n if (event.length && currentId !== event[0]) {\n isAccordionClose = false;\n setCurrentId(event[0]);\n currentAccordienID = event[0]\n setChatDataMsg(null);\n getChatDataMsg();\n setSendMsgText('');\n } else {\n clearInterval(timeoutTemp);\n isAccordionClose = true;\n setCurrentId([]);\n }\n }\n\n const getChatList = () => {\n let serviceParams = {\n api: `${API.GET_CHAT_LIST}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setChatList(result.Data);\n setChatId(result.Data[0]?.Id);\n result.Data[0] && onAccordinChange([result.Data[0]?.Id])\n\n // CODE TO OPEN THE FIRST CHAT BY DEFAULT\n let _currentId = result.Data.length ? result.Data[0].Id : null;\n if (_currentId) {\n setCurrentId(_currentId);\n currentAccordienID = _currentId;\n setChatDataMsg(null);\n getChatDataMsg();\n setSendMsgText('');\n }\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n const getChatDataMsg = () => {\n if (timeoutTemp) {\n clearInterval(timeoutTemp);\n }\n let currentURL = window.location.hash\n let found = currentURL.includes(\"#/requester-campaign-details\");\n if (found && !isAccordionClose) {\n let serviceParams = {\n api: `${API.GET_CHAT_MESSAGES}${currentAccordienID}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n setChatMsg(\"Loading...\")\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n if (result.Data.ChatMessages.length === 0) {\n setChatMsg(\"No Message Found\")\n }\n if (result.Data.ChatMessages.length && result.Data.ChatMessages[0].ChatId === currentAccordienID) {\n setChatUsers(result.Data.ChatUsers);\n setChatDataMsg(result.Data.ChatMessages);\n timeoutTemp = setInterval(() => {\n getChatDataMsg()\n }, 20000);\n }\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n } else {\n return\n }\n }\n\n const onSendBtnTap = () => {\n if (sendMsgText && currentId) {\n let serviceParams = {\n api: API.NEW_MESSAGE,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"ChatId\": currentId,\n \"Message\": sendMsgText\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n getChatDataMsg()\n setSendMsgText('');\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n }\n }\n\n const sendFeedbackMessage = (feedback) => {\n delete feedback.CreatedOn;\n delete feedback.Id;\n delete feedback.$id;\n delete feedback.Name;\n feedback['UserId'] = myUserID\n feedback['RequesterId'] = campaignDetails.RequesterId;\n let serviceParams = {\n api: API.SEND_FEEDBACK_MESSAGE,\n method: AXIOS_METHOD_TYPES.POST,\n params: feedback\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n hideModal();\n globalContext.setNotifications({\n type: \"success\",\n text: result ? result.Status.Message : \"Feedback sent successfully.\",\n });\n } else {\n hideModal();\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n }\n\n const hideModal = () => {\n document.getElementById(\"exampleModal\").style.display = \"none\";\n document.getElementsByClassName(\"modal-backdrop\")[0].style.display = \"none\";\n }\n\n const onTextChange = (event) => {\n setSendMsgText(event.target.value);\n }\n\n const getCampaignDetails = async (id) => {\n let serviceParams = {\n api: `${API.CAMPAIGN_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n result.Data.Resources.map((item) => { item.selectedQuantity = item.Quantity; return null; });\n setCampaignDetails(result.Data);\n setDonors(result.Data.Donors);\n setFiles(result.Data.OtherFiles);\n getChatList();\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n };\n\n const updateResourceStatus = (params) => {\n let serviceParams = {\n api: API.CAMPAIGN_RESOURCE_STATUS_UPDATE,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n (async () => await getCampaignDetails(id))();\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Error while updating\",\n });\n }\n });\n };\n\n const handleQuantityChange = (quantity, index, resourceId) => {\n let _campaignData = JSON.parse(JSON.stringify(campaignDetails));\n _campaignData.Resources[index].selectedQuantity = parseInt(quantity);\n setCampaignDetails(_campaignData);\n\n let serviceParams = {\n api: API.UPDATE_PENDING_QUANTITY,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"Id\": resourceId,\n \"PendingQuantity\": parseInt(quantity)\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n // (async ()=> await getCampaignDetails(id))();\n }\n });\n }\n\n return (\n
    \n \n {userRole === 4 ?
    \n
    \n {campaignDetails &&
    \n
    \n\n
    \n
    \n
    \n
    \n
    EveryHumanNeeds Use Tips
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n

    {campaignDetails.Name} Details

    \n
    \n\n
    \n
    \n {/* Campaign Status */}\n
    \n
    \n
    \n

    Campaign Status:

    \n
    \n
    \n \n
    \n
    \n
    \n\n {/* Campaign End Date */}\n
    \n
    \n
    \n

    End date:

    \n
    \n
    \n

    {moment(new Date(campaignDetails.EndDate)).format('MM/DD/YYYY')}

    \n
    \n
    \n
    \n\n {/* Tips */}\n {/*
    \n
    \n

    Tips:

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

    \n Share Story \n

    \n
    \n
    \n
      \n
    • \n } />\n
    • \n
    • \n } />\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n

    Story:

    \n

    \n
      \n
    • \n {campaignDetails?.Story}\n
    • \n
    \n
    \n
    \n
    \n
    \n {campaignDetails && parseInt(campaignDetails.VideoLink) ? (\n \n ) : null}\n
    \n
    \n
    \n
    \n

    Resources needed

    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {campaignDetails && campaignDetails.Resources ? (\n campaignDetails.Resources.map(\n (campaign, index) => (\n \n \n \n \n \n \n \n )\n )\n ) : (\n \n \n \n \n )}\n \n
    Resource NameResource Details QuantityResource TypeStatus
    \n

    {campaign.Name}

    \n
    \n

    {campaign.Description}

    \n
    {campaign.Status !== 2 ?

    {campaign.Quantity}

    : { handleQuantityChange(e.target.value, index, campaign.Id) }} >\n {Array.from(Array(campaign.Quantity).keys()).map(count => (\n \n ))}\n }\n

    {campaign.IsCash ? 'Cash' : 'Non cash'}

    \n
    \n \n {RESOURCE_STATUS.find((status) => status.id === campaign.Status).text || 'N/A'}\n \n \n {RESOURCE_STATUS.map((status, index) =>\n \n )}\n
    \n \n
    \n

    \n

    \n

    No resources found

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

    List of Donors

    \n
    \n \n \n \n \n \n \n \n \n \n {campaignDetails && campaignDetails.Resources ? (\n donors && donors.map(\n (\n { FirstName, LastName, Email, ResourcesName,IsAnonymous },\n index\n ) => (\n \n \n \n \n \n )\n )\n ) : (\n \n \n \n )}\n \n
    NameEmailDonation Amount
    \n

    {!IsAnonymous?`${FirstName} ${LastName}`:\"Anonymous\"}

    \n
    \n

    {!IsAnonymous?`${Email}`:\"Anonymous\"}

    \n
    \n

    {ResourcesName}

    \n
    \n No Donors Found\n
    \n
    \n
    \n {files && files.length ?
    \n
    \n

    Files

    \n {files\n ? files.map((file, index) => (\n \n

    {file && file.Title}

    \n \n View\n \n
    \n ))\n : null}\n
    : null}\n
    \n {chatList && chatList.length ?
    \n
    \n
    \n

    Messages

    \n Tips:\n \n
    \n {chatId && \n {chatList && chatList.map((item, index) => (\n \n \n \n
    \n
    \n
    \n

    {item.Name}

    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n {chatDataMsg && chatDataMsg.map((item, index) => {\n return (\n
    \n { myUserID !== item.SenderId ?
    \n
    user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
    \n
    \n
    \n

    \n {item.Message}\n

    \n {timeSince(new Date(item.SentOn.concat('Z')))}\n
    \n
    \n
    : null}\n { myUserID === item.SenderId ?
    \n
    \n
    user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
    \n
    \n

    {item.Message}

    \n {timeSince(new Date(item.SentOn.concat('Z')))}\n
    \n
    \n
    : null}\n
    \n )\n }).reverse()}\n {(!chatDataMsg) ?
    {chatMsg}
    : null}\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n ))}\n }\n
    : null}\n
    \n
    \n
    \n
    \n
    \n
    \n
    }\n
    \n
    \n
    \n
    \n
    \n
    Feedback
    \n \n
    \n
    \n
    \n
    \n {\n feedback['FeedbackText'] = values.feedbackMessage;\n sendFeedbackMessage(feedback)\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n \n {errors.feedbackMessage &&\n touched.feedbackMessage &&\n errors.feedbackMessage}\n
    \n \n
    \n \n )}\n \n
    \n
    \n
    \n
    \n
    \n
    \n :
    Access Deined
    }\n \n );\n};\n\nexport default withAPIRequest(RequesterCampaignDetails);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\n// import {Elements} from '@stripe/react-stripe-js';\nimport {loadStripe} from '@stripe/stripe-js';\n// import StripeCheckout from 'react-stripe-checkout';\n// import {PaymentElement} from '@stripe/react-stripe-js';\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { useParams } from \"react-router\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API, AXIOS_METHOD_TYPES, RESOURCE_STATUS, TIPS } from \"../../../configs/constants\";\nimport Vimeo from \"@u-wave/react-vimeo\";\nimport {\n Accordion,\n AccordionItem,\n AccordionItemHeading,\n AccordionItemButton,\n AccordionItemPanel,\n} from 'react-accessible-accordion';\nimport { timeSince, getCampaignShareableURL,getLetterInitials } from '../../../configs/utility';\nimport { FacebookShareButton, TwitterShareButton } from 'react-share';\n\nimport { getRecipientName } from '../../../configs/utility';\nimport moment from 'moment';\nimport \"./DonorCampaignDetails.scss\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport Meta from \"../../common/meta/Meta\";\nimport ProgressBar from '../../../components/progressBar/ProgressBar';\nimport { useHistory } from 'react-router-dom';\n\nlet isAccordionClose;\nlet currentAccordienID;\nlet timeoutTemp;\nlet stripePromise;\n\nconst getStripe = () => {\n // const pub_key = \"pk_test_Cqq3spRmmgTA5bbyL4VawRLd\" // Test Publishable Key\n const pub_key = \"pk_live_DYVDRhwwGFy0WdtWYuwd74AO\" // Live Publishable Key\n // const pub_key = \"pk_test_nQsocdwas51hX0KqrF57MPQv00qaUqnPmB\" // Himanshu Test Publishable Key\n\n if (!stripePromise) {\n stripePromise = loadStripe(pub_key);\n }\n\n return stripePromise;\n};\n\nconst DonorCampaignDetails = (props) => {\n\n const history = useHistory()\n const globalContext = useContext(GlobalContext);\n const [campaignData, setCampaignData] = useState(null);\n const [chatList, setChatList] = useState(null);\n const { id, paymentStatus } = useParams();\n const [showDonateBtn, setShowDonateBtn] = useState(false);\n const [currentId, setCurrentId] = useState(null);\n const [chatDataMsg, setChatDataMsg] = useState(null);\n const [sendMsgText, setSendMsgText] = useState(null);\n const [feedback, setFeedback] = useState(null);\n const [chatMsg, setChatMsg] = useState(\"Loading...\");\n const [requestorPaymentOptions, setRequestorPaymentOptions] = useState([]);\n const myUserID = globalContext.user.User.Id;\n const [chatUsers, setChatUsers] = useState(null);\n const [donatAmount, setDonatAmount] = useState(0);\n const [isAnonymous, setIsAnonymous] = useState(false);\n const [isCommited, SetIsCommited] = useState(false);\n const [favoriteCompaigns, setFavoriteCompaign] = useState(false);\n\n // useEffect(() => {\n // if (paymentStatus == 'success') {\n // let result = campaignData.Resources.filter(resource => resource.Id === id).shift();\n // let serviceParams = {\n // api: API.DONATE_WITHOUT_CHAT,\n // method: AXIOS_METHOD_TYPES.POST,\n // params: {\n // \"CampaignId\": result.CampaignId,\n // \"Resources\": \n // [\n // {\n // \"CampaignResourceId\": result.Id,\n // \"Quantity\": parseInt(donatAmount),\n // \"IsAnonymous\":isAnonymous\n // }\n // ]\n // },\n // };\n\n // if (requestorPaymentOptions.length > 0) {\n // if(!isCommited) {\n // props.commonAPIRequest(serviceParams, (result) => {\n // SetIsCommited(!isCommited);\n // if (result && result.Status.StatusId === 1) {\n // getCampaignDetails(true);\n // globalContext.setNotifications({\n // type: \"success\",\n // text: \"amount commited\",\n // });\n // }\n // })\n // } else {\n // globalContext.setNotifications({\n // type: \"error\",\n // text: \"You Just committed the ammount, please refresh\"\n // });\n // }\n // } else {\n // globalContext.setNotifications({\n // type: \"info\",\n // text: \"Payment link is not ready yet. Please check again soon.\"\n // });\n // }\n // // globalContext.setNotifications({\n // // type: \"success\",\n // // text: \"Payment Done Successfully!\",\n // // });\n // }\n\n // if (paymentStatus == 'canceled') {\n // window.close();\n // globalContext.setNotifications({\n // type: \"error\",\n // text: \"Payment Cancelled!\",\n // });\n // }\n // if (paymentStatus == 'success') {\n // globalContext.setNotifications({\n // type: \"success\",\n // text: \"Payment Successful!\",\n // });\n // }\n // }, []);\n\n useEffect(() => {\n getCampaignDetails();\n getChatList();\n getFavouriteCampaignDetails();\n const donationData = JSON.parse(localStorage.getItem(\"donationData\"));\n if (paymentStatus == 'success' && donationData) {\n let serviceParams = {\n api: API.DONATE_WITHOUT_CHAT,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"CampaignId\": donationData.CampaignId,\n \"Resources\": \n [\n {\n \"CampaignResourceId\": donationData.CampaignResourceId,\n \"Quantity\": donationData.Quantity,\n \"IsAnonymous\":donationData.IsAnonymous\n }\n ]\n },\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n SetIsCommited(!isCommited);\n if (result && result.Status.StatusId === 1) {\n getCampaignDetails(true);\n globalContext.setNotifications({\n type: \"success\",\n text: \"Payment Successful!\",\n });\n }\n localStorage.removeItem(\"donationData\");\n })\n\n }else if (paymentStatus == 'canceled') {\n // window.close();\n localStorage.removeItem(\"donationData\");\n globalContext.setNotifications({\n type: \"error\",\n text: \"Payment Cancelled!\",\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const isUrlValid = (userInput)=> {\n var res = userInput.match(/(http(s)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)/g);\n if(res == null)\n return false;\n else\n return true;\n}\n\n const validURL = /(http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!\\-\\/]))?/\n const validURL2 = /(http(s)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)/g\n\n const getUserPaymentOptions = (_campaignData) => {\n let serviceParams = {\n api: `${API.USER_PAYMENT_OPTIONS + _campaignData.RequesterId}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n const {\n Data,\n Status: { StatusId, Message },\n } = result;\n globalContext.setLoading(false);\n if (result && StatusId === 1) {\n setRequestorPaymentOptions(Data);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: Data ? Message : \"Not able to find any payment option for the Requester\",\n });\n }\n });\n };\n\n const getCampaignDetails = (isNotLoading) => {\n let serviceParams = {\n api: `${API.CAMPAIGN_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n if (!isNotLoading) {\n globalContext.setLoading(true);\n }\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n result.Data.Resources.map((item) => { item.selectedQuantity = item.PendingQuantity; return null; });\n setCampaignData(result.Data);\n setTimeout(() => { getUserPaymentOptions(result.Data); }, 500);\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n const getChatList = () => {\n let serviceParams = {\n api: `${API.GET_CHAT_LIST}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setChatList(result.Data);\n\n\n // CODE TO OPEN THE FIRST CHAT BY DEFAULT\n let _currentId = result.Data.length ? result.Data[0].Id : null;\n if (_currentId) {\n setCurrentId(_currentId);\n currentAccordienID = _currentId;\n setChatDataMsg(null);\n getChatDataMsg();\n setSendMsgText('');\n }\n return;\n }\n });\n };\n\n const callSaveFavouriteCampaignAPI = (params) => {\n let serviceParams = {\n api: API.SAVE_FAVOURITE_CAMPAIGN,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n \n } else {\n \n }\n },true);\n };\n\n \nconst getFavouriteCampaignDetails = () => {\n \n let serviceParams = {\n api: `${API.GET_FAVOURITE_CAMPAIGN}?campaignId=${id}`,\n method: AXIOS_METHOD_TYPES.GET\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n // // debugger\n if (result && result.Status.StatusId === 1) {\n if(result.Data.length &&result.Data[0].IsFavourite)\n {\n setFavoriteCompaign(result.Data[0].IsFavourite)\n }\n }\n },true);\n };\n\n\n const handleSelection = async (e, index) => {\n let _campaignData = JSON.parse(JSON.stringify(campaignData));\n _campaignData.Resources[index].isSelected = e.target.checked;\n _campaignData.Resources[index].selectedQuantity = _campaignData.Resources[index].PendingQuantity;\n\n let totalSelected = _campaignData.Resources.filter((item) => item.isSelected);\n totalSelected.length ? setShowDonateBtn(true) : setShowDonateBtn(false);\n\n setCampaignData(_campaignData);\n }\n\n // const handleDonate = () => {\n // let _resources = [];\n // campaignData.Resources.forEach((resource) => {\n // if (resource.isSelected) {\n // _resources.push({\n // CampaignResourceId: resource.Id,\n // Quantity: resource.selectedQuantity\n // })\n // }\n // })\n\n // let serviceParams = {\n // api: API.STRIPE_PAYMENT,\n // method: AXIOS_METHOD_TYPES.POST,\n // params: {\n // \"resourceID\": id,\n // \"resourceName\": \"Stripe Campaign\",\n // \"amount\": \"100\"\n // }\n // };\n\n // globalContext.setLoading(true);\n // props.commonAPIRequest(serviceParams, (result) => {\n // globalContext.setLoading(false);\n // console.log('payment response: ', result);\n // window.open(result.Data);\n // });\n // }\n\n const handleDonate = () => {\n let _resources = [];\n campaignData.Resources.forEach((resource) => {\n if (resource.isSelected) {\n _resources.push({\n CampaignResourceId: resource.Id,\n Quantity: resource.selectedQuantity\n })\n }\n })\n\n let serviceParams = {\n api: API.CHAT_START,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"CampaignId\": id,\n \"Resources\": _resources\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n let _campaignData = JSON.parse(JSON.stringify(campaignData));\n _campaignData.Resources.forEach((item) => {\n if (item.isSelected) {\n document.getElementById(item.Id).checked = false;\n }\n })\n getCampaignDetails();\n setShowDonateBtn(false);\n getChatList();\n return;\n }\n });\n }\n\n\n const onAccordinChange = (event) => {\n if (event.length && currentId !== event[0]) {\n isAccordionClose = false;\n setCurrentId(event[0]);\n currentAccordienID = event[0]\n setChatDataMsg(null);\n getChatDataMsg();\n setSendMsgText('');\n } else {\n clearInterval(timeoutTemp);\n isAccordionClose = true;\n setCurrentId([]);\n }\n }\n\n const getChatDataMsg = () => {\n if (timeoutTemp) {\n clearInterval(timeoutTemp);\n }\n let currentURL = window.location.hash\n let found = currentURL.includes(\"#/donor-campaign-details\");\n if (found && !isAccordionClose) {\n let serviceParams = {\n api: `${API.GET_CHAT_MESSAGES}${currentAccordienID}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n setChatMsg(\"Loading...\")\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n if (result.Data.ChatMessages.length === 0) {\n setChatMsg(\"No Message Found\")\n }\n if (result.Data.ChatMessages.length && result.Data.ChatMessages[0].ChatId === currentAccordienID) {\n setChatUsers(result.Data.ChatUsers);\n setChatDataMsg(result.Data.ChatMessages);\n timeoutTemp = setInterval(() => {\n getChatDataMsg()\n }, 20000);\n }\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n } else {\n return\n }\n }\n\n const onSendBtnTap = () => {\n if (sendMsgText && currentId) {\n let serviceParams = {\n api: API.NEW_MESSAGE,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"ChatId\": currentId,\n \"Message\": sendMsgText\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n getChatDataMsg()\n setSendMsgText('');\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n }\n }\n\n const sendFeedbackMessage = (feedback) => {\n delete feedback.CreatedOn;\n delete feedback.Id;\n delete feedback.$id;\n delete feedback.Name;\n feedback['UserId'] = myUserID\n feedback['RequesterId'] = campaignData.RequesterId;\n let serviceParams = {\n api: API.SEND_FEEDBACK_MESSAGE,\n method: AXIOS_METHOD_TYPES.POST,\n params: feedback\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n hideModal();\n globalContext.setNotifications({\n type: \"success\",\n text: result ? result.Status.Message : \"Feedback sent successfully.\",\n });\n } else {\n hideModal();\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n }\n\n const hideModal = () => {\n document.getElementById(\"exampleModal\").style.display = \"none\";\n document.getElementsByClassName(\"modal-backdrop\")[0].style.display = \"none\";\n }\n const handleIsAnonymous=()=>{\n setIsAnonymous(!isAnonymous)\n }\n\n const onTextChange = (event) => {\n setSendMsgText(event.target.value);\n }\n\n const handleQuantityChange = (quantity, index) => {\n let _campaignData = JSON.parse(JSON.stringify(campaignData));\n _campaignData.Resources[index].selectedQuantity = parseInt(quantity);\n setCampaignData(_campaignData);\n }\n\n // const onToken = (token) => {\n // fetch('/save-stripe-token', {\n // method: 'POST',\n // body: JSON.stringify(token),\n // }).then(response => {\n // response.json().then(data => {\n // alert(`We are in business, ${data.email}`);\n // });\n // });\n // }\n\n const userPayents = async (id) => {\n\n let _resources = [];\n campaignData.Resources.forEach((resource) => {\n if (resource.isSelected) {\n _resources.push({\n CampaignResourceId: resource.Id,\n Quantity: resource.selectedQuantity\n })\n }\n })\n\n console.log(campaignData);\n let campData = campaignData.Resources.filter(resource => resource.Id === id).shift();\n\n let serviceParams = {\n api: API.STRIPE_PAYMENT,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"resourceID\": campData.CampaignId,\n \"resourceName\": campaignData.Name,\n \"amount\": parseInt(donatAmount) * 100\n }\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, async (result) => {\n console.log('payment response: ', result);\n const checkoutOptions = {\n sessionId: result.Data\n };\n const donationData = {\n \"CampaignId\": campData.CampaignId,\n \"CampaignResourceId\": campData.Id,\n \"Quantity\": parseInt(donatAmount),\n \"IsAnonymous\":isAnonymous\n }\n localStorage.setItem(\"donationData\", JSON.stringify(donationData));\n const stripe = await getStripe();\n const { error } = await stripe.redirectToCheckout(checkoutOptions)\n if(error){\n localStorage.removeItem(\"donationData\");\n globalContext.setNotifications({\n type: \"error\",\n text: \"Something went wrong, Please try again.\",\n });\n }\n });\n }\n\n \n return (\n
    \n \n {campaignData &&
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    EveryHumanNeeds Use Tips
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    */}\n
    \n
    \n
    \n
    \n {/*
    Please select the amount you would like to give and a giving method from the listed options
    */}\n {/*
    Thank you for your commitment. Please use one of the given method from the listed options to honor your commitment.
    */}\n
    We appreciate your generosity. Please note: 100% of donation goes to recipient. Gifts to individuals are not tax-deductible. To proceed, copy the recipient’s giving information and paste it in the respective applications - CashApp, PayPal, Venmo, Zelle.
    Check your inbox for commitment information.
    \n \n \n
    \n
    \n {(requestorPaymentOptions && requestorPaymentOptions.length) ?
    \n {requestorPaymentOptions.map((item, index) => (\n {\n if (isUrlValid(item.PaymentUrl)) {\n window.open(item.PaymentUrl, '_blank');\n }\n }}\n >\n \"\"{\": \"}\n {item.PaymentUrl}\n
    \n ))}\n
    : null}\n
    \n
    \n

    Note: Put a EHN memo on your donation to allow the recipient to know where the donation is coming from when they see it in their account.

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {/*
    Please select the amount you would like to give and a giving method from the listed options
    */}\n {/*
    Thank you for your commitment. Please use one of the given method from the listed options to honor your commitment.
    */}\n
    By checking this box your name is not visible to the recipients on the EveryHumanNeeds site, but monetary donations are done through third party apps and may not be anonymous.
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n\n
    \n

    {campaignData.Name} Details

    \n
    \n\n
    \n
    \n {/* Campaign Status */}\n
    \n
    \n
    \n

    Campaign Status:

    \n
    \n
    \n \n
    \n
    \n
    \n\n {/* Campaign End Date */}\n
    \n
    \n
    \n

    End date:

    \n
    \n
    \n

    {moment(new Date(campaignData.EndDate)).format('MM/DD/YYYY')}

    \n
    \n
    \n
    \n\n {/* Tips */}\n {/*
    \n
    \n

    Tips:

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

    \n {\n // // debugger\n var body={\n CampaignId:id,\n IsFavourite:!favoriteCompaigns\n }\n callSaveFavouriteCampaignAPI(body)\n setFavoriteCompaign(!favoriteCompaigns)\n }} />\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {campaignData && campaignData.IsPrivacy ?\n
    \n

    {getLetterInitials(campaignData.RequesterName)}

    \n
    :\n campaignData && campaignData.IsVideoAsCampaignImage ?\n campaignData && parseInt(campaignData.VideoLink) ? (\n \n ) : \n :\n }\n\n \n
    \n
    \n
    \n

    \n Share Story \n

    \n
    \n
    \n
      \n
    • \n } />\n
    • \n
    • \n } />\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Resources.map((item, index) => {\n // // debugger\n return(\n \n \n \n )}))\n :null}\n \n \n
    Summary
    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n

    \n

    Recipient:

    \n

    \n
      \n
    • \n {campaignData&&getRecipientName(campaignData.RequesterName,campaignData.RequesterUserName,campaignData.IsPrivacy,campaignData.IsRecipientAnonymous)[0]}\n
    • \n
    \n
    \n
    \n
    \n
    \n

    \n

    Story:

    \n

    \n
      \n
    • \n {campaignData?.Story}\n
    • \n
    \n
    \n
    \n
    \n
    \n {campaignData && parseInt(campaignData.VideoLink) && !campaignData.IsVideoAsCampaignImage ? (\n \n ) : null}\n
    \n
    \n {campaignData.OtherFiles && campaignData.OtherFiles.length ?
    \n
    \n

    Files

    \n {campaignData.OtherFiles\n ? campaignData.OtherFiles.map((file, index) => (\n \n

    {file ? file.Title : \"\"}

    \n \n View\n \n
    \n ))\n : null}\n
    : null}\n
    \n
    \n
    \n

    Resources needed

    \n {showDonateBtn && { handleDonate(); }}>\n Donate\n }\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Resources.map((item, index) => (\n \n \n \n \n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    SelectResource NameAmount NeededDescriptionTypeStatusDonation amount
    \n {!item.IsCash &&
    \n { handleSelection(e, index) }} disabled={item.Status !== 2} />\n
    }\n
    \n

    {item.Name}

    \n
    \n {(item.IsCash === false && item.isSelected) ? { handleQuantityChange(e.target.value, index) }} >\n {Array.from(Array(item.PendingQuantity).keys()).map(count => ())}\n :

    {item.IsCash && '$'}{item.PendingQuantity}

    }\n
    \n

    {item.Description}

    \n

    {item.IsCash === true ? 'Cash' : 'Non cash'}

    {RESOURCE_STATUS.find((status) => status.id === item.Status).text || 'N/A'}

    \n {item.IsCash ?
    \n
    \n \n
    \n
    \n $\n { setDonatAmount(event.target.value) }} />\n
    \n \n {/* \n 0 && \"dropdown\"}\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n // data-toggle=\"modal\"\n // data-target={!!requestorPaymentOptions.length && \"#exampleModal2\"}\n disabled={(item.Status !== 2 || donatAmount <= 0 || item.PendingQuantity < donatAmount || isCommited)}\n onClick={() => userPayents(item.Id)}\n style={{margin: \"0rem .5rem\"}}\n >\n { isCommited ? \"Commited\" : \"Commit\" }\n \n */}\n userPayents(item.Id)}\n style={{margin: \"0rem .5rem\"}}\n >\n { isCommited ? \"Donated\" : \"Donate\" }\n \n {/* 0 && \"dropdown\"}\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n data-toggle=\"modal\"\n data-target={!!requestorPaymentOptions.length && \"#exampleModal2\"}\n disabled={(item.Status !== 2 || donatAmount <= 0 || item.PendingQuantity < donatAmount || isCommited)}\n onClick={() => userPayents(item.Id)}\n style={{margin: \"0rem .5rem\"}}\n >\n { isCommited ? \"Commited\" : \"Commit\" }\n {\"Pay $\" + item.Quantity}\n */}\n {(requestorPaymentOptions && !!requestorPaymentOptions.length) ? \n {requestorPaymentOptions.map((item, index) => (\n { window.open(item.PaymentUrl, '_blank'); }}\n >\n {item.PaymentPlatformName}1\n \n ))}\n
    : null}\n :
    -
    }\n
    \n No Resources Found\n \n
    \n
    \n {chatList && chatList?.length !== 0 &&
    \n
    \n {/*
    \n

    Messages

    \n Tips:\n \n
    */}\n \n {chatList && chatList.map((item, index) => (\n \n \n \n
    \n
    \n
    \n

    {item.Name}

    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n {chatUsers && chatDataMsg && chatDataMsg.map((item, index) => {\n return (\n
    \n { myUserID !== item.SenderId ?
    \n
    user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
    \n
    \n
    \n

    \n {item.Message}\n

    \n {timeSince(new Date(item.SentOn.concat('Z')))}\n
    \n
    \n
    : null}\n { myUserID === item.SenderId ?
    \n
    \n
    user.Id === item.SenderId).ProfilePic} alt=\"profile\" />
    \n
    \n

    {item.Message}

    \n {timeSince(new Date(item.SentOn.concat('Z')))}\n
    \n
    \n
    : null}\n
    \n )\n }).reverse()}\n {(!chatDataMsg) ?
    {chatMsg}
    : null}\n {!chatDataMsg &&
    To get started, send a message to the requester
    }\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n ))}\n \n
    }\n
    \n
    \n
    \n
    \n
    \n \n }\n
    \n
    \n
    \n
    \n
    Feedback
    \n \n
    \n
    \n
    \n
    \n {\n feedback['FeedbackText'] = values.feedbackMessage;\n sendFeedbackMessage(feedback)\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n \n {errors.feedbackMessage &&\n touched.feedbackMessage &&\n errors.feedbackMessage}\n
    \n \n
    \n \n )}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\n\nexport default withAPIRequest(DonorCampaignDetails);","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useState, useContext, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n API,\n AXIOS_METHOD_TYPES,\n CAMPAIGN_STATUS,\n} from \"../../../configs/constants\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Uploader from \"../../../components/fileUploader/FileUploader\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport \"./AdminCreateCampaign.scss\";\nimport Meta from \"../../common/meta/Meta\";\nimport moment from \"moment\";\n\nconst AdminCreateCampaign = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [requesters, setRequesters] = useState([]);\n const [resource, setResource] = useState(null);\n const [errorR, setErrorR] = useState(false);\n const [resources, setResources] = useState([]);\n const [errorResources, setErrorResources] = useState(false);\n const [isSubmitButtonDisabled, setIsSubmitButtonDisabled] = useState(false);\n const [campaignStatus, setCampaignStatus] = useState([]);\n const [images, setImages] = useState([]);\n const [pdf, setPdf] = useState([]);\n const [fileTitle, setFileTitle] = useState(\"\");\n const resourceName = useRef(null);\n const resourceDescription = useRef(null);\n const resourceQuantity = useRef(null);\n // const resourceType = useState(null);\n const [resourceType, setResourceType] = useState('select');\n let history = useHistory();\n const [hasError, setHasError] = useState(false);\n \n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n init();\n }\n }, []);\n\n useEffect(() => {\n if (resources.length === 0) setErrorResources(true);\n else setErrorResources(false);\n }, [resources]);\n\n const init = () => {\n callRequesterAPI();\n let arr = [...CAMPAIGN_STATUS];\n arr.pop();\n setCampaignStatus(arr);\n };\n\n const callRequesterAPI = () => {\n let serviceParams = {\n api: API.REQUESTERS,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setRequesters(result.Data.requesters);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n }\n });\n };\n\n const uploadCampaignImage = (params) => {\n globalContext.setLoading(true);\n const formData = new FormData();\n images.forEach((file) => {\n formData.append(file.name, file);\n });\n pdf.forEach((file) => {\n formData.append(file.name, file);\n });\n if (images.length === 0) {\n callSaveCampaignAPI(params);\n } else {\n let serviceParams = {\n api: API.FILE_UPLOAD,\n method: AXIOS_METHOD_TYPES.POST,\n params: formData,\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n delete params[\"Image\"];\n params[\"ImageLink\"] = result.Data[0].FileUrl;\n if (result.Data[1]) {\n params[\"OtherFiles\"] = [{\n Title: fileTitle,\n FilePath: result.Data[1].FileUrl,\n },\n ];\n }\n callSaveCampaignAPI(params);\n } else {\n globalContext.setLoading(false);\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n }\n };\n\n const callSaveCampaignAPI = (params) => {\n let serviceParams = {\n api: API.SAVE_CAMPAIGN,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n globalContext.setNotifications({\n type: \"success\",\n text: result\n ? result.Status.Message\n : \"Campaign Created Successfully\",\n });\n history.goBack();\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Error while saving campaign\",\n });\n }\n });\n };\n\n const handleChangeResource = (e) => {\n e.preventDefault();\n switch (e.target.name) {\n case \"resourceQuantity\":\n if (parseInt(e.target.value) <= 0) {\n globalContext.setNotifications({\n type: \"warning\",\n text: \"Resource Quantity Should Greater Than 1\",\n });\n } else {\n setResource({ ...resource, Quantity: e.target.value });\n }\n break;\n case \"resourceType\":\n setResource({ ...resource, IsCash: e.target.value });\n setResourceType(e.target.value);\n break;\n case \"resourceName\":\n setResource({ ...resource, Name: e.target.value });\n break;\n case \"resourceDescription\":\n setResource({ ...resource, Description: e.target.value });\n break;\n default:\n }\n setErrorR(false);\n };\n\n const addResource = () => {\n if (\n resourceName.current.value === '' ||\n resourceDescription.current.value === '' ||\n resourceQuantity.current.value <= 0 \n // || resourceType === 'select'\n ) {\n setErrorR(\"Missing resource data\");\n } else {\n let _resource = { ...resource, Id: uuidv4(), IsCash: true };\n const _resources = [...resources, _resource];\n setResources(_resources);\n resourceName.current.value = \"\";\n resourceDescription.current.value = \"\";\n resourceQuantity.current.value = \"\";\n setResourceType('select');\n }\n };\n\n const deleteResource = (id) => {\n let _resources = [...resources];\n for (let i = 0; _resources.length; i++) {\n if (_resources[i].Id === id) {\n _resources.splice(i, 1);\n break;\n }\n }\n setResources(_resources);\n };\n\n const validation = (values) => {\n let _values = { ...values };\n if (errorResources) return false;\n else {\n _values[\"RequesterId\"] = parseInt(_values[\"RequesterId\"]);\n _values[\"Status\"] = parseInt(_values[\"Status\"]);\n _values[\"EndDate\"] = convertToISODateTimeFormat(_values[\"EndDate\"]);\n _values[\"Resources\"] = removeResourcesId([...resources]);\n return _values;\n }\n };\n\n const removeResourcesId = (arr) => {\n for (let i = 0; i < arr.length; i++) {\n delete arr[i].Id;\n }\n return arr;\n };\n\n const convertToISODateTimeFormat = (dateString) => {\n const d = new Date(dateString);\n return d.toISOString();\n };\n\n const editResourceRow = (resourceId) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources.map((item, index) => {\n if (item.Id === resourceId) {\n item.isEditable = true;\n } else {\n item.isEditable = false;\n }\n return null;\n });\n\n setResources(_resources);\n }\n\n const saveEditedResource = (index) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources[index].isEditable = false;\n setResources(_resources);\n }\n\n const handleResourceInputChange = (index, fieldName, newValue) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources[index][fieldName] = newValue;\n setResources(_resources);\n }\n\n const onCrossBtnTap = () => {\n setImages([])\n }\n const onFileCrossBtnTap = () => {\n setPdf([])\n }\n\n return (\n
    \n \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    Add new campaign

    \n
    \n \n
    \n history.push( \"/admin-create-requester\" ) }\n style={ { color : \"#fff\" } }\n >\n Add a Recipient\n \n
    \n
    \n
    \n {\n const _params = validation(values);\n if (_params !== false) {\n setIsSubmitButtonDisabled(true)\n uploadCampaignImage(_params)\n };\n setSubmitting(true);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n isSubmitting,\n setFieldValue,\n handleSubmit\n }) => (\n
    \n
    \n
    \n \n \n {requesters.map((item, index) => (\n \n ))}\n \n {errors.RequesterId &&\n touched.RequesterId &&\n errors.RequesterId}\n
    \n\n
    \n \n {errors.Name && touched.Name && errors.Name}\n
    \n
    \n \n \n {errors.Story && touched.Story && errors.Story}\n \n
    \n
    \n \n {errors.VideoLink &&\n touched.VideoLink &&\n errors.VideoLink}\n
    \n \n
    \n
    \n \n
    \n \n \n {campaignStatus.map((item, index) => (\n \n ))}\n \n {errors.Status && touched.Status && errors.Status}\n
    \n
    \n }\n />\n {pdf ? (\n pdf.map((file, index) => (\n
    \n
  • {file.name}
  • \n \n
    \n ))\n ) : (\n

    Select File

    \n )}\n
    \n
    \n setFileTitle(e.target.value)}\n onBlur={handleBlur}\n value={fileTitle}\n className=\"from-control\"\n type=\"text\"\n id=\"FileTitle\"\n name=\"FileTitle\"\n placeholder=\"File Title\"\n required=\"\"\n />\n
    \n
    \n }\n />\n {images ? (\n images.map((file, index) => (\n
    \n
  • {file.name}
  • \n \n
    \n ))\n ) : (\n

    Select File

    \n )}\n
    \n \n
    \n
    \n
    \n {\n setFieldValue(\n \"EndDate\",\n moment(e).format(\"MM/DD/YYYY\"),\n handleChange(moment(e).format(\"MM/DD/YYYY\"))\n );\n }}\n onBlur={handleBlur}\n placeholderText=\"End date\"\n className=\"from-control\"\n id=\"EndDate\"\n name=\"EndDate\"\n />\n {errors.EndDate && touched.EndDate && errors.EndDate}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n {/*
    \n \n
    */}\n
    \n \n
    \n
    \n addResource()}\n >\n Add Resource\n
    \n
    \n
    \n {errorR && errorR}\n
    \n
    \n
    \n \n \n \n \n \n \n {/* */}\n \n \n \n \n \n {resources && resources.length > 0 ? (\n resources.map((resource, index) => (\n \n \n\n \n\n\n\n \n\n\n {/* */}\n\n\n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    AmountResource NameDescriptionTypeDeleteEdit
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Quantity', e.target.value) }}\n className=\"from-control\"\n type=\"text\"\n value={resource.Quantity}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    :

    {resource.IsCash.toString() === 'true' && '$'}{resource.Quantity}

    }\n
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Name', e.target.value) }}\n className=\"from-control \"\n type=\"text\"\n value={resource.Name}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    :

    {resource.Name}

    }\n
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Description', e.target.value) }}\n className=\"from-control \"\n type=\"text\"\n value={resource.Description}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    :

    {resource.Description}

    }\n
    \n {resource.isEditable === true ?
    \n \n
    :

    {resource.IsCash.toString() === 'true' ? 'Cash' : 'Non cash'}

    }\n
    \n \n deleteResource(resource.Id)\n }\n >\n Delete\n \n \n {\n resource.isEditable ? saveEditedResource(index) : editResourceRow(resource.Id)\n }\n }\n >\n {resource.isEditable ? 'Save' : 'Edit'}\n \n
    \n Resource not found\n \n
    \n
    \n
    \n {errorResources}\n
    \n
    \n \n
    \n
    \n {(hasError && !!Object.keys(errors).length) &&\n
    Unable to submit. Please check the errors on the form above.
    }\n {\n setHasError(errors.RequesterId || errors.Name || errors.Story || errors.Status || errors.EndDate);\n if (resources.length === 0) {\n setErrorR('Please add at least one resource')\n } else {\n setErrorR('')\n }\n handleSubmit();\n }}\n disabled={isSubmitButtonDisabled}\n >Submit\n
    \n
    \n \n )}\n \n
    \n
    \n
    :
    Access Deined
    }\n \n );\n}\n\nexport default withAPIRequest(AdminCreateCampaign);","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useContext, useEffect, useRef, useState } from \"react\";\nimport { useParams } from \"react-router\";\nimport { API, AXIOS_METHOD_TYPES, CAMPAIGN_STATUS, } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport Uploader from \"../../../components/fileUploader/FileUploader\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport { Form, Formik } from \"formik\";\nimport moment from \"moment\";\nimport DatePicker from \"react-datepicker\";\nimport * as Yup from \"yup\";\nimport \"./AdminEditCampaign.scss\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst AdminEditCampaign = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const userImage = useRef();\n const { id } = useParams();\n const [requesters, setRequesters] = useState([]);\n const [resource, setResource] = useState(null);\n const [errorR, setErrorR] = useState(false);\n const [resources, setResources] = useState([]);\n const [resourceType, setResourceType] = useState('select');\n const errorResources = false;\n // eslint-disable-next-line \n const [files, setFiles] = useState([]);\n const [fileTitle, setFileTitle] = useState(\"\");\n const [formValues, setFormValues] = useState({\n RequesterId: \"\",\n Name: \"\",\n Story: \"\",\n VideoLink: \"\",\n Image: null,\n Status: \"\",\n EndDate: \"\",\n Resources: [],\n IsFeatured: false,\n OtherFiles: []\n });\n let endDate = \"\";\n const resourceQuantity = useRef();\n const resourceName = useRef();\n const resourceDescription = useRef();\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n (async () => {\n await getCampaignData(id);\n })();\n }\n \n }, []);\n\n const getCampaignData = async (id) => {\n let serviceParams = {\n api: `${API.CAMPAIGN_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n // debugger\n setFormValues({\n RequesterId: result.Data.RequesterId,\n Name: result.Data.Name,\n Story: result.Data.Story,\n VideoLink: result.Data.VideoLink,\n Image: result.Data.ImageLink,\n Status: result.Data.Status,\n EndDate: result.Data.EndDate,\n IsFeatured: result.Data.IsFeatured,\n IsPrivacy: result.Data.IsPrivacy,\n IsVideoAsCampaignImage: result.Data.IsVideoAsCampaignImage,\n OtherFiles: result.Data.OtherFiles ? result.Data.OtherFiles[0] : [],\n Resources: result.Data.Resources ? result.Data.Resources : [],\n });\n setFileTitle(result.Data.OtherFiles && result.Data.OtherFiles.length > 0 ? result.Data.OtherFiles[0].Title : \"\")\n endDate = result.Data.EndDate;\n document.getElementById(\"EndDate\").value = moment(endDate).format(\"DD/MM/YYYY\");\n document.getElementById(\"IsFeatured\").checked = result.Data.IsFeatured;\n setCurrentRequester(result.Data.RequesterName);\n setResources(result.Data.Resources ? [...result.Data.Resources] : []);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n };\n\n const setCurrentRequester = async (requesterName) => {\n await callRequesterAPI(requesterName);\n };\n\n const callRequesterAPI = async (requesterName) => {\n let serviceParams = {\n api: API.REQUESTERS,\n method: AXIOS_METHOD_TYPES.GET,\n };\n globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n let requesterArray = result.Data.requesters;\n setRequesters([...requesterArray]);\n globalContext.setLoading(false);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n };\n\n const uploadCampaignImage = async (params) => {\n params.Id = id;\n if (typeof params.Image === \"string\") {\n globalContext.setLoading(true);\n params[\"ImageLink\"] = params.Image;\n delete params[\"Image\"];\n if (params.OtherFiles.length > 0) {\n const formData = new FormData();\n formData.append(\"OtherFiles\", params.OtherFiles[0]);\n formData.append(\"Directory\", \"OtherFiles\");\n uploadImage(formData, (result) => {\n params[\"OtherFiles\"] = [{\n Title: fileTitle,\n FilePath: result,\n }]\n callSaveCampaignAPI(params);\n });\n } else {\n if (formValues['OtherFiles']?.length > 0) {\n params[\"OtherFiles\"] = [formValues['OtherFiles']];\n }\n callSaveCampaignAPI(params);\n }\n } else {\n globalContext.setLoading(true);\n const imageFormData = new FormData();\n params.Image && imageFormData.append(\"ImageLink\", params.Image);\n if (params.OtherFiles && params.OtherFiles.length > 0) {\n const otherFilesFormData = new FormData();\n otherFilesFormData.append(\"OtherFiles\", params.OtherFiles[0]);\n otherFilesFormData.append(\"Directory\", \"OtherFiles\");\n uploadImage(otherFilesFormData, (otherFilesUrl) => {\n params[\"OtherFiles\"] = [{\n Title: fileTitle,\n FilePath: otherFilesUrl,\n }]\n if (params.Image) {\n uploadImage(imageFormData, (result) => {\n params[\"ImageLink\"] = result;\n callSaveCampaignAPI(params);\n });\n } else {\n callSaveCampaignAPI(params);\n }\n });\n } else {\n if (params.Image) {\n uploadImage(imageFormData, (result) => {\n params[\"ImageLink\"] = result;\n callSaveCampaignAPI(params);\n });\n } else {\n callSaveCampaignAPI(params);\n }\n }\n }\n };\n\n const uploadImage = (formData, cb) => {\n let imageUrl = \"\";\n let serviceParams = {\n api: API.FILE_UPLOAD,\n method: AXIOS_METHOD_TYPES.POST,\n params: formData,\n };\n props.commonAPIRequest(serviceParams, (result) => {\n if (result) {\n if (result && result.Status.StatusId === 1) {\n imageUrl = result.Data[0].FileUrl;\n cb(imageUrl);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n } else {\n globalContext.setLoading(false);\n }\n });\n return imageUrl;\n }\n\n const callSaveCampaignAPI = (params) => {\n // debugger\n let serviceParams = {\n api: API.SAVE_CAMPAIGN,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n globalContext.setLoading(false);\n props.history.push(`/admin-campaign-details/id/${id}`);\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: result ? result.Status.Message : \"Campaign details Edited Successfully\",\n });\n } else {\n globalContext.setLoading(false);\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Data not found\",\n });\n }\n });\n };\n\n const handleChangeResource = (e) => {\n e.preventDefault();\n switch (e.target.name) {\n case \"resourceQuantity\":\n setResource({ ...resource, Quantity: e.target.value });\n break;\n case \"resourceName\":\n setResource({ ...resource, Name: e.target.value });\n break;\n case \"resourceDescription\":\n setResource({ ...resource, Description: e.target.value });\n break;\n case \"resourceType\":\n setResource({ ...resource, IsCash: e.target.value });\n setResourceType(e.target.value);\n break;\n default:\n }\n setErrorR(false);\n };\n\n const addResource = () => {\n if (\n resourceName.current.value === '' ||\n resourceDescription.current.value === '' ||\n resourceQuantity.current.value === '' \n // || resourceType === 'select'\n ) {\n setErrorR(\"Missing resource data\");\n } else {\n let _resource = { ...resource, Id: uuidv4(), IsCash: true };\n const _resources = [...resources, _resource];\n setResources(_resources);\n resourceQuantity.current.value = \"\";\n resourceDescription.current.value = \"\";\n resourceName.current.value = \"\";\n // setResourceType('select');\n }\n };\n\n const deleteResource = (id) => {\n let _resources = [...resources];\n for (let i = 0; _resources.length; i++) {\n if (_resources[i].Id === id) {\n _resources.splice(i, 1);\n break;\n }\n }\n setResources(_resources);\n };\n\n const validation = (values) => {\n let _values = { ...values };\n if (errorResources) return false;\n else {\n _values[\"RequesterId\"] = parseInt(_values[\"RequesterId\"]);\n _values[\"Status\"] = parseInt(_values[\"Status\"]);\n _values[\"EndDate\"] = convertToISODateTimeFormat(_values[\"EndDate\"]);\n _values[\"Resources\"] = removeResourcesId([...resources]);\n return _values;\n }\n };\n\n const removeResourcesId = (arr) => {\n for (let i = 0; i < arr.length; i++) {\n delete arr[i].Id;\n }\n return arr;\n };\n\n const convertToISODateTimeFormat = (dateString) => {\n const d = new Date(dateString);\n return d.toISOString();\n };\n\n const imageHandler = (e) => {\n let reader = new FileReader();\n reader.addEventListener(\n \"load\",\n function () {\n userImage.current.src = reader.result;\n },\n false\n );\n if (e) {\n reader.readAsDataURL(e);\n }\n };\n\n const editResourceRow = (resourceId) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources.map((item, index) => {\n if (item.Id === resourceId) {\n item.isEditable = true;\n } else {\n item.isEditable = false;\n }\n return null;\n });\n\n setResources(_resources);\n }\n\n const saveEditedResource = (index) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources[index].isEditable = false;\n setResources(_resources);\n }\n\n const handleResourceInputChange = (index, fieldName, newValue) => {\n let _resources = JSON.parse(JSON.stringify(resources));\n _resources[index][fieldName] = newValue;\n setResources(_resources);\n }\n// debugger\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    Edit campaign

    \n
    \n {\n // debugger\n const _params = validation(values);\n if (_params !== false) uploadCampaignImage(_params);\n setSubmitting(false);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n setFieldValue,\n handleSubmit\n }) => (\n \n
    \n
    \n
    \n \n {requesters.map((item, index) => (\n \n ))}\n \n {errors.RequesterId &&\n touched.RequesterId &&\n errors.RequesterId}\n
    \n
    \n \n {errors.Name && touched.Name && errors.Name}\n
    \n
    \n \n {errors.Story && touched.Story && errors.Story}\n
    \n
    \n {\n setFieldValue(\n \"VideoLink\",\n e.currentTarget.value\n );\n }}\n onBlur={handleBlur}\n defaultValue={formValues.VideoLink}\n className=\"from-control\"\n type=\"text\"\n id=\"VideoLink\"\n name=\"VideoLink\"\n placeholder=\"video (Vimeo Id)\"\n />\n \n
    \n \n
    \n
    \n
    \n \n {CAMPAIGN_STATUS.map((item, index) => (\n \n ))}\n \n {errors.Status && touched.Status && errors.Status}\n
    \n
    \n {\n setFieldValue(\n \"OtherFiles\",\n file\n );\n }}\n type=\".pdf ,image/jpeg, image/png\"\n icon={}\n />\n {values.OtherFiles[0] && values.OtherFiles[0].name}\n
    \n
    \n setFileTitle(e.target.value)}\n onBlur={handleBlur}\n value={fileTitle || \"\"}\n className=\"from-control\"\n type=\"text\"\n id=\"FileTitle\"\n name=\"FileTitle\"\n placeholder=\"File Title\"\n required=\"\"\n />\n
    \n
    \n
    \n \"user-dp\"\n\n
    \n
    \n {\n setFieldValue(\n \"Image\",\n image[0]\n );\n imageHandler(image[0]);\n }}\n type=\",image/jpeg, image/png\"\n icon={}\n />\n {values.Image ? values.Image.name : \"\"}\n
    \n
    \n \n
    \n
    \n
    \n {\n setFieldValue(\n \"EndDate\",\n moment(e).format(\"MM/DD/YYYY\"),\n handleChange(moment(e).format(\"MM/DD/YYYY\"))\n );\n }}\n onBlur={handleBlur}\n placeholderText=\"End date\"\n className=\"from-control\"\n id=\"EndDate\"\n name=\"EndDate\"\n />\n {errors.EndDate && touched.EndDate && errors.EndDate}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n {/*
    \n \n
    */}\n
    \n \n
    \n \n
    \n addResource()}\n >\n Add Resource\n
    \n
    \n
    \n {errorR && errorR}\n
    \n
    \n
    \n \n \n \n \n \n \n {/* */}\n \n \n \n \n \n {resources && resources.length > 0 ? (\n resources.map((resource, index) => (\n \n \n\n \n\n\n\n \n\n\n {/* */}\n\n\n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    AmountResource NameDescriptionTypeDeleteEdit
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Quantity', e.target.value) }}\n className=\"from-control\"\n type=\"text\"\n value={resource.Quantity}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    : '$'+resource.Quantity } {/*

    {resource.IsCash.toString() === 'true' && '$'}{resource.Quantity}

    } */}\n
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Name', e.target.value) }}\n className=\"from-control \"\n type=\"text\"\n value={resource.Name}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    :

    {resource.Name}

    }\n
    \n {resource.isEditable === true ?
    \n { handleResourceInputChange(index, 'Description', e.target.value) }}\n className=\"from-control \"\n type=\"text\"\n value={resource.Description}\n placeholder=\"Enter here\"\n required=\"\"\n />\n
    :

    {resource.Description}

    }\n
    \n {resource.isEditable === true ?
    \n \n
    :

    {resource.IsCash.toString() === 'true' ? 'Cash' : 'Non cash'}

    }\n
    \n \n deleteResource(resource.Id)\n }\n >\n Delete\n \n \n {\n resource.isEditable ? saveEditedResource(index) : editResourceRow(resource.Id)\n }\n }\n >\n {resource.isEditable ? 'Save' : 'Edit'}\n \n
    \n Resource not found\n \n
    \n
    \n
    \n {errorResources ? \"No resource\" : null}\n
    \n
    \n \n
    \n
    \n {\n if (resources.length === 0) {\n setErrorR('Please add at least one resource');\n } else {\n setErrorR('');\n handleSubmit();\n }\n }}\n value=\"Submit\"\n />\n
    \n
    \n \n )}\n \n
    \n
    \n
    :
    Access Deined
    }\n \n );\n}\n\nexport default withAPIRequest(AdminEditCampaign);\n","import React, { useContext } from \"react\";\nimport * as Yup from \"yup\";\nimport { Form, Formik } from \"formik\";\nimport { useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./AdminCreateRequester.scss\";\n\nconst AdminCreateRequester = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n let history = useHistory();\n\n const callRegisterRequesterAPI = (params) => {\n let serviceParams = {\n api: API.REGISTER_REQUESTER,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n history.goBack();\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (\n
    \n \n {globalContext.user.User.Role === 2 ? (\n
    \n
    \n
    \n
    \n

    Add New Recipient

    \n
    \n {\n values[\"Phone\"] = values[\"Phone\"].toString();\n callRegisterRequesterAPI(values);\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur,setFieldValue }) => (\n
    \n
    \n
    \n \n {errors.FirstName &&\n touched.FirstName &&\n errors.FirstName}\n
    \n
    \n \n {errors.LastName && touched.LastName && errors.LastName}\n
    \n
    \n {\n // debugger\n setFieldValue(\n \"UserName\",\n e.currentTarget.value\n );\n }}\n onBlur={handleBlur}\n value={values.UserName}\n />\n
    \n \n
    \n
    \n\n
    \n \n {errors.Email && touched.Email && errors.Email}\n
    \n
    \n \n {errors.Phone && touched.Phone && errors.Phone}\n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n
    \n
    \n ) : (\n \n Access Deined\n
    \n )}\n \n );\n}\n\nexport default withAPIRequest( AdminCreateRequester );\n","/* eslint-disable array-callback-return */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React , { useContext , useEffect , useState } from \"react\";\nimport \"./AdminDashboard.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { API , AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst AdminDashboard = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n const [summary, setSummary] = useState([]);\n let history = useHistory();\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n getCampaignSummaryAPI();\n }\n },[]);\n\n const getCampaignSummaryAPI = () => {\n let serviceParams = {\n api: API.CAMPAIGN_SUMMARY,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setSummary(result.Data);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (
    \n { globalContext.user.User.Role === 2 ?
    \n \n
    \n

    Admin Dashboard

    \n
    \n
    \n history.push(\"/admin-campaigns?status=2\")}\n className=\"col-xl-3 col-lg-6 col-md-12 col-12 \"\n >\n
    \n
    \n

    Open Campaigns

    \n
    {summary && summary.OpenCampaigns}
    \n
    \n
    \n
    \n history.push(\"/admin-campaigns?status=1\")}\n className=\"col-xl-3 col-lg-6 col-md-12 col-12 \"\n >\n
    \n
    \n

    Pending Campaigns

    \n
    {summary && summary.PendingCampaigns}
    \n
    \n
    \n
    \n history.push(\"/admin-campaigns?status=0\")}\n className=\"col-xl-3 col-lg-6 col-md-12 col-12 \"\n >\n
    \n
    \n

    Featured Campaigns

    \n
    {summary && summary.FeaturedCampaigns}
    \n
    \n
    \n
    \n history.push(\"/admin-campaigns?status=4\")}\n className=\"col-xl-3 col-lg-6 col-md-12 col-12 \"\n >\n
    \n
    \n

    Completed Campaigns

    \n
    {summary && summary.CompletedCampaigns}
    \n
    \n
    \n \n \n :
    Access Deined
    }\n );\n}\n\nexport default withAPIRequest( AdminDashboard );\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useParams } from \"react-router\";\nimport { Link } from \"react-router-dom\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport {\n API,\n AXIOS_METHOD_TYPES,\n USER_STATUS,\n} from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./AdminDonorDetails.scss\";\n\nconst AdminDonorDetails = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const { id } = useParams();\n const [donorDetails, setDonorDetails] = useState({});\n const [campaignResources, setCampaignResources] = useState([]);\n const [requesterStatus, setRequesterStatus] = useState(\"\");\n\n useEffect(() => {\n if (globalContext.user.User.Role === 2) {\n (async () => {\n await getDonorDetails(id);\n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n }, []);\n\n const getDonorDetails = async (id) => {\n let serviceParams = {\n api: `${API.DONOR_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setRequesterStatus(result.Data.StatusName);\n setDonorDetails(result.Data);\n setCampaignResources(result.Data.CampaignResources);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Details not found\",\n });\n }\n });\n };\n\n const updateStatus = async (statusId) => {\n let serviceParams = {\n api: `${API.UPDATE_USER_STATUS}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n UserId: id,\n Status: statusId,\n },\n };\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n USER_STATUS.forEach(({ id, text }) => {\n if (id === statusId) {\n setRequesterStatus(text);\n globalContext.setNotifications({\n type: \"success\",\n text: \"Status Updated Successfully\",\n });\n return;\n }\n });\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Error While Updating Status\",\n });\n }\n });\n };\n\n return (\n
    \n \n {globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    {`${donorDetails.FirstName} ${donorDetails.LastName}`}

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n Update profile image\n
    \n
    \n
    \n
    \n
    \n
    \n

    \n Status\n

    \n
    \n \n
    \n
    \n

    \n Email\n

    \n

    {donorDetails ? donorDetails.Email : \"\"}

    \n
    \n
    \n
    \n

    List of Campaign resources

    \n
    \n \n \n \n \n \n \n \n \n \n \n {campaignResources ? (\n campaignResources.map(\n (\n {\n ResourceName,\n CampaignName,\n StatusName,\n UpdatedOn,\n CampaignId,\n IsConfirmed\n },\n index\n ) => (\n \n \n \n \n \n \n )\n )\n ) : (\n \n \n \n )}\n \n
    Resource NameCampaign Name Status Action
    \n

    {ResourceName}

    \n
    \n

    {CampaignName}

    \n
    \n

    {IsConfirmed ? 'Confirmed' : 'Pending'}

    \n
    \n \n View\n {\" \"}\n\n
    \n

    Campaigns not found

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n \n );\n};\n\nexport default withAPIRequest(AdminDonorDetails);\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useState, useContext, useEffect,useRef } from \"react\";\nimport \"./AdminDonors.scss\";\nimport { Link } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport moment from \"moment\";\n\nconst AdminDonors = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [donors, setDonors] = useState([]);\n const [selectedDonor, setSelectedDonor] = useState(null);\n const closeButton= useRef(null);\n\n useEffect(() => {\n if (globalContext.user.User.Role === 2) {\n callDonorsAPI()\n }\n }, []);\n\n const callDonorsAPI = () => {\n let serviceParams = {\n api: API.DONORS,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setDonors(result.Data);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n const callDeleteDonorAPI = () => {\n // debugger\n let serviceParams = {\n api: `${API.DELETE_DONORS}?userId=${selectedDonor.Id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n\n globalContext.setLoading(false);\n closeButton.current.click();\n if (result) {\n \n if (result.Status.StatusId === 1) {\n callDonorsAPI();\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text:'Donor deleted successfully' ,\n });\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: \"Error while deleting donor\"\n });\n }\n }\n });\n };\n return (\n
    \n \n {globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n
    \n
    Delete Donor
    \n \n
    \n
    \n {selectedDonor && !selectedDonor.Campaigns ?\n <>\n
    \n\n

    You are about to delete all {`${selectedDonor.FirstName} ${selectedDonor.LastName}`} data?

    \n\n
    \n
    \n {\n callDeleteDonorAPI()\n }}\n value=\"Delete\"\n />\n
    \n \n : \n selectedDonor?

    {`${selectedDonor.FirstName} ${selectedDonor.LastName}`} can not be deleted.

    :null\n }\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n

    List of Donors

    \n
    \n\n
    \n
    \n
    \n
    \n \n {/* table-striped table-borderless */}\n \n \n \n \n \n \n \n \n \n {donors.map((item, index) => (\n \n \n \n \n \n \n ))}\n \n
    Donor NameCampaignsDateAction
    \n {\" \"}\n

    {`${item.FirstName} ${item.LastName}`}

    {\" \"}\n
    \n {item.Campaigns && (\n
    \n {item.Campaigns.map((campaign) => (\n
    \n {campaign.CampaignName}\n
    \n ))}\n
    \n )}\n
    \n {\" \"}\n

    \n {moment(item.AddedOn).format(\"MM/DD/YYYY\")}\n

    {\" \"}\n
    \n {\" \"}\n\n \n View\n {\" \"}\n {\n setSelectedDonor(item);\n }}\n >\n \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n}\n\nexport default withAPIRequest(AdminDonors);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useParams } from \"react-router\";\nimport { Link } from \"react-router-dom\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport {\n API,\n AXIOS_METHOD_TYPES,\n USER_STATUS,\n} from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport moment from \"moment\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./AdminRequesterDetails.scss\";\n\nconst AdminRequesterDetails = (props) => {\n const globalContext = useContext(GlobalContext);\n const { id } = useParams();\n const [requesterDetails, setRequesterDetails] = useState({});\n const [requesterStatus, setRequesterStatus] = useState(\"\");\n const [campaignList, setCampaignList] = useState([]);\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n (async () => {\n await getRequesterDetails(id);\n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n \n }, []);\n\n const getRequesterDetails = async (id) => {\n let serviceParams = {\n api: `${API.REQUESTER_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setRequesterDetails(result.Data);\n setRequesterStatus(result.Data.StatusName);\n setCampaignList(result.Data.CampaignList);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Details not found\",\n });\n }\n });\n };\n\n const updateStatus = async (statusId) => {\n const status = {\n UserId: id,\n Status: statusId,\n };\n let serviceParams = {\n api: `${API.UPDATE_USER_STATUS}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: status,\n };\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n USER_STATUS.forEach(({ id, text }) => {\n if (id === statusId) {\n setRequesterStatus(text);\n globalContext.setNotifications({\n type: \"success\",\n text: \"Status Updated Successfully\",\n });\n return;\n }\n });\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Error While Updating Status\",\n });\n }\n });\n };\n\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    { `${ requesterDetails.FirstName } ${ requesterDetails.LastName }` }

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n Update profile image\n
    \n
    \n
    \n
    \n
    \n
    \n

    \n Status: \n

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

    \n Added on: \n

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

    \n User Name: \n

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

    \n Anonymous: \n

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

    \n Email: \n

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

    \n Phone: \n

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

    Campaign List

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {campaignList ? (\n campaignList.map((campaign, index) => (\n \n \n \n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    Campaign Name Recipient NameAdded onEnds OnStatusAction
    \n

    {campaign.Name}

    \n
    \n

    {campaign.RequesterName}

    \n
    \n

    \n {moment(campaign.AddedOn).format(\n \"MM/DD/YYYY\"\n )}\n

    \n
    \n

    \n {moment(campaign.EndDate).format(\n \"MM/DD/YYYY\"\n )}\n

    \n
    \n

    {campaign.StatusName}

    \n
    \n \n props.history.push(\n `/admin-campaign-details/id/${campaign.Id}`\n )\n } className=\"btn col-12 no-wrap table-sitebtn mb-2\">\n {'View'}\n \n
    No Campaigns Found\n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n \n );\n};\n\nexport default withAPIRequest(AdminRequesterDetails);\n","/* eslint-disable array-callback-return */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React , { useContext , useEffect , useState } from \"react\";\nimport \"./AdminRequesters.scss\";\nimport { Link , useHistory } from \"react-router-dom\";\nimport { API , AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport moment from \"moment\";\n\nconst AdminRequesters = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n const [isRecipientDetail, setIsRecipientDetail] = useState(false);\n const [requesters, setRequesters] = useState([]);\n const [selectedRecipient, setSelectedRecipient] = useState(null);\n let history = useHistory();\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n callRequesterAPI()\n }\n }, []);\n\n const callRequesterAPI = () => {\n let serviceParams = {\n api: API.REQUESTERS,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setRequesters(result.Data.requesters);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n const callResendInviteRequesterAPI = (Id) => {\n // debugger\n let serviceParams = {\n api: API.RESEND_REQUESTER_INVITATION,\n method: AXIOS_METHOD_TYPES.POST,\n params:{Id:Id}\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: \"Invitation resent to recipient\"\n });\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n
    \n
    Recipient Details
    \n \n
    \n
    \n
    \n
    \n

    \n Name: \n

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

    \n Email: \n

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

    \n Phone: \n

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

    \n Payment: \n

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n {selectedRecipient&&selectedRecipient.UserPaymentOption.map(\n (item, index) => (\n \n \n \n \n \n )\n )}\n \n
    Platform NameURL
    \n

    {item.PaymentPlatformName}

    \n
    \n

    {item.PaymentUrl}

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

    List of Recipients

    \n
    \n
    \n history.push( \"/admin-create-requester\" ) }\n >\n Add New\n \n
    \n
    \n
    \n \n
    \n {!isRecipientDetail ?\n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {requesters.map((item, index) => (\n \n \n \n \n \n \n \n ))}\n \n
    NameCampaignStatusCampaign DateAction
    \n

    \n {item.FirstName} {item.LastName}\n

    \n
    \n {!item.IsJoined &&\n <>\n \n callResendInviteRequesterAPI(item.Id)}\n >\n Resend Invite\n \n \n }\n {item.Campaigns && (\n
    \n {item.Campaigns.map((campaign, index) => (\n
    \n {campaign.CampaignName}\n
    \n ))}\n
    \n )}\n
    \n

    {item.StatusName}

    \n
    \n

    {moment(item.AddedOn).format(\"MM/DD/YYYY\")}

    \n
    \n \n View\n \n {item.StatusName === \"Active\" && \n +\n }\n
    \n
    \n
    \n
    \n
    \n :
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {requesters.map((item, index) => (\n \n \n \n \n \n \n \n \n ))}\n \n
    NameEmailPhonePayment OptionsAction
    \n

    \n {item.FirstName} {item.LastName}\n

    \n
    \n {item.Email}\n \n {item.Phone}\n \n {item.UserPaymentOption && (\n
    \n {item.UserPaymentOption.map((option, index) => (\n \n
    {\n setSelectedRecipient(item)\n }}>\n {option.PaymentPlatformName}\n
    \n ))}\n
    \n )}\n
    \n \n View\n \n \n
    \n
    \n
    \n
    \n
    }\n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n}\n\nexport default withAPIRequest( AdminRequesters );\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./AdminSettings.scss\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\n\n\nconst AdminSettings = ( props ) => {\n const globalContext = useContext(GlobalContext);\n\n let history = useHistory();\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    Admin Settings

    \n
    \n
    \n
    \n
      \n
    • \n history.push(\"/change-email\")}\n >\n
      \n
      \n \n \n \n

      Change Email

      \n
      \n
      \n
    \n \n
  • \n history.push(\"/change-password\")}\n >\n
    \n
    \n \n \n \n

    Change Password

    \n
    \n
    \n
  • \n \n \n
    \n
    \n
    \n
    \n :
    Access Deined
    }\n \n );\n}\n\nexport default AdminSettings;\n","/* eslint-disable array-callback-return */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState, useRef } from \"react\";\nimport \"./AdminCampaignDashboard.scss\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport moment from \"moment\";\nimport { Link } from \"react-router-dom\";\n\nconst AdminCampaignDashboard = (props) => {\n const globalContext = useContext(GlobalContext);\n const [summary, setSummary] = useState([]);\n const [overallsummary, setOverAllSummary] = useState([]);\n const formRef = useRef();\n\n useEffect(() => {\n if (globalContext.user.User.Role === 2) {\n getCampaignOpenSummaryAPI(null, null, 1);\n }\n }, []);\n\n const getCampaignOpenSummaryAPI = (\n startDate = null,\n endDate = null,\n status = null\n ) => {\n getCampaignSummaryAPI(startDate, endDate);\n let serviceParams = {\n api: API.CAMPAIGN_RESOURCES_OPEN_SUMMARY,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n PaymentStatus: status,\n StartDate: startDate,\n EndDate: endDate,\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setSummary(result.Data);\n } else {\n }\n }\n });\n };\n const getCampaignSummaryAPI = (startDate, endDate) => {\n let serviceParams = {\n api: API.CAMPAIGN_RESOURCES_SUMMARY,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n StartDate: startDate,\n EndDate: endDate,\n },\n };\n\n globalContext.setLoading(false);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setOverAllSummary(result.Data);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n const getTitle = (type, isUser) => {\n var status = formRef.current.values.Status;\n //type=1 Cash\n if (type == 1 && !isUser) {\n return `Open Campaigns${\n status == 1 ? \" Confirmed \" : status == 0 ? \" Non Confirmed \" : \"\"\n } Committed - Cash`;\n }\n if (type == 2 && !isUser) {\n return `Open Campaigns${\n status == 1 ? \" Confirmed \" : status == 0 ? \" Non Confirmed \" : \"\"\n } Committed - Resources`;\n }\n\n if (type == 1 && isUser) {\n return `Open Campaigns Cash${\n status == 1 ? \" Confirmed \" : status == 0 ? \" Non Confirmed \" : \"\"\n } Committed - Users`;\n }\n if (type == 2 && isUser) {\n return `Open Campaigns Resources${\n status == 1 ? \" Confirmed \" : status == 0 ? \" Non Confirmed \" : \"\"\n } Committed - Users `;\n }\n };\n\n return (\n
    \n {globalContext.user.User.Role === 2 ? (\n
    \n \n
    \n

    Campaigns Dashboard

    \n
    \n
    \n {\n debugger;\n getCampaignOpenSummaryAPI(\n values.StartDate,\n values.EndDate,\n values.Status\n );\n getCampaignSummaryAPI(values.StartDate, values.EndDate);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n isSubmitting,\n setFieldValue,\n handleSubmit,\n handleReset,\n }) => (\n
    \n
    \n
    \n {\n setFieldValue(\n \"StartDate\",\n moment(e).format(\"MM/DD/YYYY\"),\n handleChange(moment(e).format(\"MM/DD/YYYY\"))\n );\n }}\n onBlur={handleBlur}\n placeholderText=\"Start date\"\n className=\"from-control\"\n id=\"StartDate\"\n name=\"StartDate\"\n />\n\n \n {errors.EndDate && touched.EndDate && errors.EndDate}\n \n
    \n
    \n {\n setFieldValue(\n \"EndDate\",\n moment(e).format(\"MM/DD/YYYY\"),\n handleChange(moment(e).format(\"MM/DD/YYYY\"))\n );\n }}\n onBlur={handleBlur}\n placeholderText=\"End date\"\n className=\"from-control\"\n id=\"EndDate\"\n name=\"EndDate\"\n />\n \n {errors.EndDate && touched.EndDate && errors.EndDate}\n \n
    \n {/*
    \n \n \n \n \n \n \n {errors.Status && touched.Status && errors.Status}\n \n
    */}\n
    \n {\n handleSubmit();\n }}\n style={{ color: \"#fff\" }}\n >\n Search\n \n
    \n
    \n {\n handleReset();\n getCampaignOpenSummaryAPI(null, null, 1);\n }}\n style={{ color: \"#fff\" }}\n >\n Clear\n \n
    \n
    \n
    \n )}\n \n
    \n {/*
    \n
    Open Campaigns
    \n
    \n
    \n
    \n \n
    \n
    \n

    Cash Committed

    \n
    \n $\n {summary && summary.CashOpenCampaingQuantity\n ? summary.CashOpenCampaingQuantity\n : \"-\"}\n
    \n
    \n
    \n \n
    \n\n \n \n
    \n
    \n

    Cash Committed Users

    \n
    \n {summary && summary.CashCommittedUsers\n ? summary.CashCommittedUsers\n : \"-\"}\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n

    Resources Committed

    \n
    \n {summary && summary.NonCashOpenCampaingQuantity\n ? summary.NonCashOpenCampaingQuantity\n : \"-\"}\n
    \n
    \n
    \n \n
    \n\n \n \n
    \n
    \n

    Resources Committed Users

    \n
    \n {summary && summary.NonCashCommittedUsers\n ? summary.NonCashCommittedUsers\n : \"-\"}\n
    \n
    \n
    \n \n
    \n */}\n {/*
    \n
    Overall Committed Resources
    \n
    \n
    \n
    Cash
    \n
    */}\n
    \n \n \n
    \n
    \n {/*

    Confirmed Committment - Cash

    */}\n

    Donations

    \n
    \n $\n {overallsummary && overallsummary.SummaryConfirmedCash\n ? overallsummary.SummaryConfirmedCash\n : \"-\"}\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n {/*

    Confirmed Committment Users - Cash

    */}\n

    Donators

    \n
    \n {overallsummary &&\n overallsummary.SummaryConfirmedCashUsers\n ? overallsummary.SummaryConfirmedCashUsers\n : \"-\"}\n
    \n
    \n
    \n \n \n {/* \n \n
    \n
    \n

    Non Confirmed Committment - Cash

    \n
    \n $\n {overallsummary && overallsummary.SummaryNonConfirmedCash\n ? overallsummary.SummaryNonConfirmedCash\n : \"-\"}\n
    \n
    \n
    \n \n \n \n \n
    \n
    \n

    Non Confirmed Committment Users - Cash

    \n
    \n {overallsummary &&\n overallsummary.SummaryNonConfirmedCashUsers\n ? overallsummary.SummaryNonConfirmedCashUsers\n : \"-\"}\n
    \n
    \n
    \n \n \n \n
    \n
    Other Resources
    \n
    \n\n
    \n \n \n
    \n
    \n

    Confirmed Committment - Resources

    \n
    \n {overallsummary && overallsummary.SummaryConfirmedNonCash\n ? overallsummary.SummaryConfirmedNonCash\n : \"-\"}\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n

    Confirmed Committment Users - Resources

    \n
    \n {overallsummary &&\n overallsummary.SummaryConfirmedNonCashUsers\n ? overallsummary.SummaryConfirmedNonCashUsers\n : \"-\"}\n
    \n
    \n
    \n \n \n \n \n
    \n
    \n

    Non Confrimed Committment - Resources

    \n
    \n {overallsummary &&\n overallsummary.SummaryNonConfirmedNonCash\n ? overallsummary.SummaryNonConfirmedNonCash\n : \"-\"}\n
    \n
    \n
    \n \n \n \n \n
    \n
    \n

    Non Confrimed Committment Users - Resources

    \n
    \n {overallsummary &&\n overallsummary.SummaryNonConfirmedNonCashUsers\n ? overallsummary.SummaryNonConfirmedNonCashUsers\n : \"-\"}\n
    \n
    \n
    \n \n */}\n \n \n ) : (\n \n Access Deined\n \n )}\n \n );\n};\n\nexport default withAPIRequest(AdminCampaignDashboard);\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport moment from \"moment\";\nimport \"./AdminDonotionSummary.scss\";\nimport Meta from \"../../common/meta/Meta\";\nimport { convertQueryStringToObj, sortByName } from \"../../../configs/utility\";\n\nconst AdminDonotionSummary = (props) => {\n const [donationSummary, SetDonationSummary] = useState([]);\n const globalContext = useContext(GlobalContext);\n const userRole = globalContext.user.User.Role;\n const [queryStringToObj, setQueryStringToObj] = useState(\n convertQueryStringToObj(props.location.search)\n );\n\n useEffect(() => {\n getCampaignResourcesDonationSummary();\n }, []);\n\n const getCampaignResourcesDonationSummary = () => {\n let serviceParams = {\n api: `${API.CAMPAIGN_RESOURCES_DONATION_SUMMARY}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n PaymentStatus: queryStringToObj.PaymentStatus,\n StartDate: queryStringToObj.StartDate,\n EndDate: queryStringToObj.EndDate,\n IsCash: queryStringToObj.IsCash,\n IsOpen: queryStringToObj.IsOpen,\n },\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n SetDonationSummary(result.Data);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.status.Message : \"Data not found\",\n });\n }\n });\n };\n\n return (\n
    \n \n {userRole === 2 ? (\n
    \n
    \n
    \n
    \n
    \n

    \n {queryStringToObj.title && queryStringToObj.title.replace(/%20/g, \" \")}{\" \"}\n

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n {donationSummary &&\n donationSummary.map(\n (\n {\n DonorName,\n RequesterName,\n CampaignName,\n ResourceName,\n Quantity,\n ChatName,\n IsCash,\n },\n index\n ) => (\n \n \n \n \n\n \n \n )\n )}\n \n \n \n \n \n \n \n
    Donor NameRecipient NameCampaign NameAmount
    \n

    {DonorName}

    \n
    \n

    {RequesterName}

    \n
    \n
    \n {CampaignName}\n
    \n
    \n

    \n {IsCash\n ? ChatName\n : `${Quantity} ${ResourceName}`}\n

    \n
    \n

    Total

    \n
    \n

    {queryStringToObj.Name}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n \n Access Deined\n
    \n )}\n \n );\n};\n\nexport default withAPIRequest(AdminDonotionSummary);\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport moment from \"moment\";\nimport \"./AdminCampaignDonorDetails.scss\";\nimport Meta from \"../../common/meta/Meta\";\nimport { convertQueryStringToObj, sortByName } from \"../../../configs/utility\";\nimport { Link } from \"react-router-dom\";\n\nconst AdminDonorDetails = (props) => {\n const [donationSummary, SetDonationSummary] = useState([]);\n const globalContext = useContext(GlobalContext);\n const userRole = globalContext.user.User.Role;\n const [queryStringToObj, setQueryStringToObj] = useState(\n convertQueryStringToObj(props.location.search)\n );\n\n useEffect(() => {\n getCampaignResourcesDonationSummary();\n }, []);\n\n const getCampaignResourcesDonationSummary = () => {\n let serviceParams = {\n api: `${API.CAMPAIGN_RESOURCES_DONOR_DETAILS}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n PaymentStatus: queryStringToObj.PaymentStatus,\n StartDate: queryStringToObj.StartDate,\n EndDate: queryStringToObj.EndDate,\n IsCash: queryStringToObj.IsCash,\n IsOpen: queryStringToObj.IsOpen,\n },\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n SetDonationSummary(result.Data);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.status.Message : \"Data not found\",\n });\n }\n });\n };\n\n return (\n
    \n \n {userRole === 2 ? (\n
    \n
    \n
    \n
    \n
    \n

    \n {queryStringToObj.title &&\n queryStringToObj.title.replace(/%20/g, \" \")}{\" \"}\n

    \n
    \n
    \n
    \n
    \n
    \n \n {/* table-striped table-borderless */}\n \n \n \n \n \n \n \n \n {donationSummary&&donationSummary.map((item, index) => (\n \n \n \n \n \n ))}\n \n
    Donor NameCampaignsAction
    \n {\" \"}\n

    {`${item.DonorName} `}

    {\" \"}\n
    \n {item.Campaigns && (\n
    \n {item.Campaigns.map((campaign) => (\n
    \n {campaign.CampaignName}\n
    \n ))}\n
    \n )}\n
    \n {\" \"}\n \n View\n {\" \"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n \n Access Deined\n
    \n )}\n \n );\n};\n\nexport default withAPIRequest(AdminDonorDetails);\n","import React from \"react\";\nimport \"./RequesterDashboard.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst RequesterDashboard = ( props ) => {\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n
    \n

    \n Every Human Needs\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default RequesterDashboard;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext } from \"react\";\nimport \"./RequesterSettings.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport Meta from \"../../common/meta/Meta\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\n\n\nconst RequesterSettings = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const myUserRole = globalContext.user.User.Role;\n \n let history = useHistory();\n return (\n
    \n \n { myUserRole === 4 ?
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Requester Settings

    \n
    \n
    \n
    \n
      \n
    • \n history.push(\"/change-email\")}\n >\n
      \n
      \n \n \n \n

      Change Email

      \n
      \n
      \n
    \n \n
  • \n history.push(\"/change-password\")}\n >\n
    \n
    \n \n \n \n

    Change Password

    \n
    \n
    \n
  • \n \n
  • \n history.push(\"/change-personal-details\")}\n >\n
    \n
    \n \n \n \n

    Change Profile Image

    \n
    \n
    \n
  • \n \n \n
    \n
    \n
    \n
    \n
    \n \n :
    Access Deined
    }\n \n );\n};\n\nexport default RequesterSettings;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport \"./RequesterCampaigns.scss\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { sortByName } from \"../../../configs/utility\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst RequesterCampaigns = (props) => {\n\n const queryParam = useLocation().search.split(\"=\").pop();\n const globalContext = useContext(GlobalContext);\n const [status] = useState(queryParam);\n const [campaigns, setcampaigns] = useState([]);\n const history = useHistory();\n const myUserRole = globalContext.user.User.Role;\n\n useEffect(() => {\n if(myUserRole === 4){\n setcampaigns([]);\n let params = {\n RequesterId: globalContext.user.User.Id\n };\n getRequesterCampaigns(params);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n }, [status]);\n\n const getRequesterCampaigns = async (params) => {\n const serviceParams = {\n api: API.CAMPAIGNS,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setcampaigns(result.Data ? sortByName(result.Data,true) : []);\n }\n });\n };\n\n return (\n
    \n \n { myUserRole === 4 ?
    \n
    \n
    \n
    \n
    \n

    Recipient Campaigns

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n {campaigns ? (\n campaigns.map((campaign, index) => (\n \n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    Campaign NameCampaign StatusResources NeededAction
    \n
    \n
    \n

    { campaign.Name }

    \n
    \n
    \n { campaign.IsFeatured && \n { \"Featured\" }\n }\n
    \n
    \n
    \n

    { campaign.StatusName }

    \n
    \n
    \n { campaign && campaign.Resources\n ? campaign.Resources.map(\n ( resource , index ) => (\n \n { resource.Name }\n
    \n )\n )\n : \"N/A\" }\n \n
    \n \n history.push(\n `/requester-campaign-details/${ campaign.Id }`\n )\n }\n >\n View Details\n \n
    \n \n

    No Campaigns found

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n};\n\nexport default withAPIRequest(RequesterCampaigns);\n","import React , { useContext , useEffect , useState } from \"react\";\nimport { API , AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport moment from \"moment\";\nimport \"./RequesterDonorSummary.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst RequesterDonorSummary = ( props ) => {\n\n const [ donorSummary , SetDonorSummary ] = useState( [] );\n const globalContext = useContext( GlobalContext );\n const userRole = globalContext.user.User.Role\n\n useEffect( () => {\n if(userRole === 4){\n getDonors();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n } , [] );\n\n const getDonors = () => {\n let serviceParams = {\n api : `${ API.DONOR_REQUESTER_ALL_CAMPAIGN }14` ,\n method : AXIOS_METHOD_TYPES.GET ,\n };\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n globalContext.setLoading( false );\n if ( result && result.Status.StatusId === 1 ) {\n SetDonorSummary( result.Data );\n } else {\n globalContext.setNotifications( {\n type : \"error\" ,\n text : result ? result.status.Message : \"Data not found\" ,\n } );\n }\n } );\n }\n\n const sendGreetings = ( donorId ) => {\n let serviceParams = {\n api : `${ API.REQUESTERS_GREETINGS }` ,\n method : AXIOS_METHOD_TYPES.POST ,\n params : {\n DonorId : donorId ,\n Title : \"Thank You\" ,\n Message : \"Thank you for your donation\"\n }\n };\n globalContext.setLoading( true );\n props.commonAPIRequest( serviceParams , ( result ) => {\n if ( result ) {\n const { Status : { Message , StatusId } } = result;\n if ( StatusId === 1 ) {\n globalContext.setNotifications( {\n type : \"success\" ,\n text : Message ? Message : \"Thank you for your donation\" ,\n } );\n globalContext.setLoading( false );\n } else {\n globalContext.setNotifications( {\n type : \"error\" ,\n text : result ? result.status.Message : \"Data not found\" ,\n } );\n }\n }\n\n } );\n }\n\n return (\n
    \n \n {userRole === 4 ?
    \n
    \n
    \n
    \n
    \n

    Requester Donor Summary

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n { donorSummary.map( ( {\n AddedOn ,\n FirstName ,\n LastName ,\n Id ,\n CampaignResourcesName\n } , index ) => (\n \n \n \n \n \n \n \n ) ) }\n \n
    Donor NameDateContribution\n Send Thank You
    \n

    { `${ FirstName } ${ LastName }` }

    \n
    \n

    { moment( AddedOn ).format( \"MM/DD/YYYY\" ) }

    \n
    \n

    { CampaignResourcesName }

    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n}\n\nexport default withAPIRequest( RequesterDonorSummary );\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport \"./RequesterDonorDetails.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst RequesterDonorDetails = ( props ) => {\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Donor Details

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

    John Doe

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

    \n {\" \"}\n Status{\" \"}\n

    \n Approved \n
    \n
    \n

    \n {\" \"}\n Day left in Campaign{\" \"}\n

    \n
    \n {\" \"}\n 30 Days\n
    \n
    \n
    \n

    \n {\" \"}\n Share Your Campaign {\" \"}\n

    \n \n
    \n
    \n

    \n {\" \"}\n Duis pretium gravida enim, vel maximus ligula fermentum a.\n Sed rhoncus eget ex id egestas. Nam nec nisl placerat,\n tempus erat a, condimentum metus. Curabitur nulla nisi,\n lacinia at lobortis at, suscipit at nibh. Proin quis\n lectus finibus, mollis purus vitae, rutrum neque.\n Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Etiam sed cursus metus,\n vel viverra mi. Mauris aliquet egestas eros ac placerat.\n Proin condimentum ligula at diam euismod fringilla et quis\n lacus.\n

    \n
    \n
    \n

    List of resources needed

    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    Resource NameResource Details Status
    \n {\" \"}\n

    Shirt

    {\" \"}\n
    \n

    XL

    \n
    \n
    \n \n Open\n \n \n \n
    \n \n
    \n {\" \"}\n

    Shirt

    {\" \"}\n
    \n

    XL

    \n
    \n
    \n \n Closed\n \n \n \n
    \n \n
    \n {\" \"}\n

    Shirt

    {\" \"}\n
    \n

    XL

    \n
    \n
    \n \n Closed\n \n \n \n
    \n \n
    \n {\" \"}\n

    Shirt

    {\" \"}\n
    \n

    XL

    \n
    \n
    \n \n Closed\n \n\n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    List of Campaigns

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    Recipient NameLast Action/DateCampaign NameCampaign StatusEnding dateNotesAction
    \n {\" \"}\n

    Holly Brown

    {\" \"}\n
    \n {\" \"}\n

    Cynde - 12/23/2020

    {\" \"}\n
    \n {\" \"}\n

    Homeless

    {\" \"}\n
    \n {\" \"}\n

    Needs Approval

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n

    \n {\" \"}\n \"\"\n

    {\" \"}\n
    \n {\" \"}\n \n View More\n {\" \"}\n
    \n {\" \"}\n

    Holly Brown

    {\" \"}\n
    \n {\" \"}\n

    Cynde - 12/23/2020

    {\" \"}\n
    \n {\" \"}\n

    Homeless

    {\" \"}\n
    \n {\" \"}\n

    Needs Approval

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n

    {\" \"}\n
    \n {\" \"}\n \n View More\n {\" \"}\n
    \n {\" \"}\n

    Holly Brown

    {\" \"}\n
    \n {\" \"}\n

    Cynde - 12/23/2020

    {\" \"}\n
    \n {\" \"}\n

    Homeless

    {\" \"}\n
    \n {\" \"}\n

    Needs Approval

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n

    {\" \"}\n
    \n {\" \"}\n \n View More\n {\" \"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    List of Donations

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    Donor NameCampaign NameCampaign DateAction
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n \n View\n \n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n \n View\n \n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n \n View\n \n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n \n View\n \n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    Jon Deo

    {\" \"}\n
    \n {\" \"}\n

    14.10.2020

    {\" \"}\n
    \n {\" \"}\n \n View\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default RequesterDonorDetails;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport \"./RequesterPaymentOptions.scss\";\n\nconst RequesterPaymentOptions = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [paymentOptions, setPaymentOptions] = useState([]);\n const [paymentUrl, setPaymentUrl] = useState(\"\");\n const [userPaymentOptions, setUserPaymentOptions] = useState([]);\n const [placeholder, setPlaceholder] = useState(\"\");\n const [selectedPaymentOptions, setSelectedPaymentOptions] = useState({\n PaymentPlatformId: null,\n PaymentUrl: \"\",\n });\n const userRole = globalContext.user.User.Role\n\n\n useEffect(() => {\n if(userRole === 4){\n getUserPaymentOptions();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n }, []);\n\n const savePaymentOption = (paymentList, deletePaymentMessage) => {\n const paymentOptionList = [];\n let { PaymentPlatformId, PaymentUrl } = selectedPaymentOptions;\n PaymentUrl = PaymentUrl !== \"\" ? PaymentUrl : paymentUrl\n if (!paymentList) {\n if (\n paymentUrl === \"\" ||\n PaymentPlatformId === null ||\n PaymentUrl === \"\"\n ) {\n globalContext.setNotifications({\n type: \"warning\",\n text:\n paymentUrl === \"\"\n ? \"Please Enter Payment Url\"\n : \"Please Select a Payment Option\" &&\n PaymentPlatformId === null &&\n \"Please Select a Payment Option\",\n });\n return;\n }\n }\n userPaymentOptions.forEach(({ PaymentPlatformId, PaymentUrl }) => {\n paymentOptionList.push({\n PaymentPlatformId: PaymentPlatformId,\n PaymentUrl: PaymentUrl,\n });\n });\n selectedPaymentOptions.PaymentUrl = paymentUrl;\n paymentOptionList.push(selectedPaymentOptions);\n let serviceParams = {\n api: `${API.PAYMENT_OPTION_SAVE}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: paymentList ? paymentList : paymentOptionList,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n const {\n Status: { StatusId, Message },\n } = result;\n globalContext.setLoading(false);\n if (result && StatusId === 1) {\n setPaymentUrl(\"\");\n getUserPaymentOptions();\n globalContext.setNotifications({\n type: \"success\",\n text: result && deletePaymentMessage ? deletePaymentMessage : Message,\n });\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: result ? Message : \"Data not found\",\n });\n }\n });\n };\n const getPaymentOptions = async (ids) => {\n let serviceParams = {\n api: `${API.PAYMENT_OPTIONS_TYPES}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, async (result) => {\n const {\n Data,\n Status: { StatusId, Message },\n } = result;\n globalContext.setLoading(false);\n if (Data && StatusId === 1) {\n const paymentOptionList = [];\n Data.forEach((item) => {\n if (ids.includes(item.PaymentPlatformId)) {\n item[\"isSelected\"] = true;\n paymentOptionList.push(item);\n } else {\n item[\"isSelected\"] = false;\n paymentOptionList.push(item);\n }\n });\n setPaymentOptions(paymentOptionList);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: Data ? Message : \"Data not found\",\n });\n }\n });\n };\n const getUserPaymentOptions = () => {\n let serviceParams = {\n api: `${API.USER_PAYMENT_OPTIONS + 21}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n const {\n Data,\n Status: { StatusId, Message },\n } = result;\n globalContext.setLoading(false);\n if (result && StatusId === 1) {\n const paymentOptionList = [];\n Data.forEach((item) => {\n item.urlNewValue = item.PaymentUrl;\n paymentOptionList.push(item.PaymentPlatformId);\n });\n getPaymentOptions(paymentOptionList);\n setUserPaymentOptions(Data);\n } else {\n globalContext.setNotifications({\n type: \"error\",\n text: Data ? Message : \"Data not found\",\n });\n }\n });\n };\n const deletePaymentOptions = (id, isSelected) => {\n userPaymentOptions.forEach((item, index) => {\n if (item.PaymentPlatformId === id) {\n userPaymentOptions.splice(index, 1);\n savePaymentOption(\n userPaymentOptions,\n \"Payment option deleted successfully\"\n );\n setPaymentUrl(\"\");\n setSelectedPaymentOptions({\n PaymentPlatformId: null,\n PaymentUrl: \"\",\n });\n return;\n }\n })\n };\n\n const onPaymentOptionSelect = (payment, PaymentPlatformName) => {\n setPlaceholder(`https://www.${PaymentPlatformName.replace(/\\s+/g, '')}.com`.toLowerCase());\n setSelectedPaymentOptions(payment);\n setPaymentUrl(selectedPaymentOptions.PaymentUrl);\n };\n\n const findPaymentUrl = (id) => {\n const url = userPaymentOptions.filter((item) => {\n return id === item.PaymentPlatformId;\n })\n return url.length > 0 ? url[0].PaymentUrl : \"\";\n }\n\n const handleRowEdit = (id) => {\n let _userPaymentOptions = JSON.parse(JSON.stringify(userPaymentOptions));\n _userPaymentOptions.map((item, index) => {\n if (item.PaymentPlatformId === id) {\n item.isEditable = true;\n } else {\n item.isEditable = false;\n item.urlNewValue = _userPaymentOptions[index].PaymentUrl;\n }\n return null;\n });\n setUserPaymentOptions(_userPaymentOptions);\n }\n\n const handleUrlInputChange = (id, newValue) => {\n let _userPaymentOptions = JSON.parse(JSON.stringify(userPaymentOptions));\n _userPaymentOptions.map((item) => {\n if (item.PaymentPlatformId === id) {\n item.urlNewValue = newValue;\n }\n\n return null;\n });\n setUserPaymentOptions(_userPaymentOptions);\n }\n\n const handleRowUrlSave = (index) => {\n let newUrl = userPaymentOptions[index].urlNewValue;\n\n if (newUrl && /\\S+/.test(newUrl)) {\n let paymentOptionList = [];\n userPaymentOptions.forEach(({ PaymentPlatformId, PaymentUrl }) => {\n let _url = userPaymentOptions[index].PaymentPlatformId === PaymentPlatformId ? newUrl : PaymentUrl;\n paymentOptionList.push({\n PaymentPlatformId: PaymentPlatformId,\n PaymentUrl: _url,\n });\n });\n\n let serviceParams = {\n api: `${API.PAYMENT_OPTION_SAVE}`,\n method: AXIOS_METHOD_TYPES.POST,\n params: paymentOptionList,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setPaymentUrl(\"\");\n getUserPaymentOptions();\n globalContext.setNotifications({\n type: \"success\",\n text: result.Status.Message,\n });\n }\n });\n }\n else {\n globalContext.setNotifications({\n type: \"error\",\n text: 'Please enter a URL'\n });\n }\n\n }\n\n const handleRowCloseEdit = (index) => {\n let _userPaymentOptions = JSON.parse(JSON.stringify(userPaymentOptions));\n _userPaymentOptions[index].isEditable = false;\n _userPaymentOptions[index].urlNewValue = _userPaymentOptions[index].PaymentUrl;\n setUserPaymentOptions(_userPaymentOptions);\n }\n\n return (\n globalContext.user.User.Role === 4 ? paymentOptions && (\n
    \n \n {userRole === 4 ?
    \n
    \n
    \n
    \n
    \n

    Payment Options

    \n

    Choose payment method below

    \n
    \n
    \n
    \n
      \n {paymentOptions.map(\n ({\n id,\n isSelected,\n PaymentPlatformId,\n PaymentPlatformLogo,\n PaymentPlatformName,\n }, index) => (\n \n onPaymentOptionSelect({\n PaymentPlatformId: PaymentPlatformId,\n PaymentUrl: isSelected ? `${isSelected ? findPaymentUrl(PaymentPlatformId) : PaymentPlatformLogo}` : \"\",\n }, PaymentPlatformName)\n }\n >\n \n \n )\n )}\n
    \n
    \n
    \n
    \n
    \n
    {`Enter the URL, email or identifier for the selected platform.`}
    \n { setPaymentUrl(e.target.value) }}\n className=\"from-control\"\n type=\"text\"\n value={paymentUrl}\n id=\"Name\"\n name=\"Name\"\n placeholder=\"Enter here\"\n required=\"\"\n style={{borderWidth:1, borderColor:'#f18d1f'}}\n />\n
    \n
    \n
    \n savePaymentOption()}\n >\n Save\n \n
    \n
    \n \n
    \n
    \n {userPaymentOptions.length !== 0 && (\n
    \n
    \n

    Payment

    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n {userPaymentOptions.map(\n (item, index) => (\n \n \n \n \n \n \n )\n )}\n \n
    Platform NameURLEditDelete
    \n

    {item.PaymentPlatformName}

    \n
    \n {item.isEditable === true ?
    \n { handleUrlInputChange(item.PaymentPlatformId, e.target.value) }}\n className=\"from-control rowEditUrlInput\"\n type=\"text\"\n value={item.urlNewValue}\n name=\"Name\"\n placeholder=\"Enter here\"\n required=\"\"\n style={{borderWidth:1, borderColor:'#f18d1f'}}\n />\n { handleRowUrlSave(index) }} className=\"fa fa-check\" />\n { handleRowCloseEdit(index) }} className=\"fa fa-close\" />\n
    :

    {item.PaymentUrl}

    }\n\n
    \n { handleRowEdit(item.PaymentPlatformId) }} className=\"fa fa-pencil pl-3 cursor\" />\n \n { deletePaymentOptions(item.PaymentPlatformId, false) }} className=\"fa fa-trash pl-3 cursor\" />\n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n ) :

    Access Denied

    \n

    You do not have required permission to see this page.

    \n );\n}\n\nexport default withAPIRequest(RequesterPaymentOptions);","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext } from \"react\";\nimport \"./DonorRegister.scss\";\nimport { useHistory, Link } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport POLICY_CONTENT from '../../../configs/policies';\n\nconst DonorRegister = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n let history = useHistory();\n\n const callRegisterAPI = (email, password, firstname, lastname, phone) => {\n let serviceParams = {\n api: API.REGISTER_DONOR,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n FirstName: firstname,\n LastName: lastname,\n Email: email,\n Password: password,\n Role: 3,\n },\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n history.push(\"/donor-register-confirmed\");\n } else {\n history.push(\"/\");\n }\n }\n });\n };\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Donor Registration

    \n
    \n
    \n {\n if (values.IsChecked) {\n callRegisterAPI(\n values.email,\n values.password,\n values.firstname,\n values.lastname,\n values.phone\n );\n }\n }}\n >\n {({\n values,\n errors,\n touched,\n handleBlur,\n handleChange,\n isSubmitting,\n }) => (\n
    \n
    \n {!values.IsChecked && touched.IsChecked && (\n \n Please accept Terms & Privacy Policy\n
    \n )}\n
    \n
    \n \n {errors.firstname && touched.firstname && (\n \n {errors.firstname}\n \n )}\n
    \n
    \n \n {errors.lastname && touched.lastname && (\n \n {errors.lastname}\n \n )}\n
    \n
    \n \n {errors.email && touched.email && (\n {errors.email}\n )}\n
    \n
    \n \n {errors.password && touched.email && (\n \n {errors.password}\n \n )}\n
    \n
    \n \n\n
    \n \n
    \n
    \n
    \n
    \n \n
    \n

    \n \n {\" \"}\n Check your inbox for you profile confirmation link\n \n

    \n

    \n {\" \"}\n Already have an account? \n Login\n {\" \"}\n

    \n \n \n )}\n \n
    \n
    \n
    \n \n );\n}\n\nexport default withAPIRequest(DonorRegister);\n","import React from \"react\";\nimport \"./DonorRegisterConfirmed.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst DonorRegisterConfirmed = ( props ) => {\n\n let history = useHistory();\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Profile Confirmation

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

    \n Congratulation\n

    \n

    \n Email sent for verification. Please verify your account.\n

    \n
    \n
    \n
    \n history.push(\"/Login\")}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default DonorRegisterConfirmed;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { useParams } from \"react-router\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API, AXIOS_METHOD_TYPES, RESOURCE_STATUS, TIPS } from \"../../../configs/constants\";\nimport Vimeo from \"@u-wave/react-vimeo\";\nimport {\n Accordion,\n AccordionItem,\n AccordionItemHeading,\n AccordionItemButton,\n AccordionItemPanel,\n} from 'react-accessible-accordion';\nimport { timeSince, getCampaignShareableURL, getLetterInitials } from '../../../configs/utility';\nimport { FacebookShareButton, TwitterShareButton } from 'react-share';\n\nimport { getRecipientName } from '../../../configs/utility';\nimport moment from 'moment';\nimport \"./DonationConfirmationCampaign.scss\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport Meta from \"../../common/meta/Meta\";\nimport ProgressBar from '../../../components/progressBar/ProgressBar'\nlet isAccordionClose;\nlet currentAccordienID;\nlet timeoutTemp;\n\nconst DonationConfirmationCampaign = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [campaignData, setCampaignData] = useState(null);\n const [chatList, setChatList] = useState(null);\n const { id } = useParams();\n const [showDonateBtn, setShowDonateBtn] = useState(false);\n const [currentId, setCurrentId] = useState(null);\n const [chatDataMsg, setChatDataMsg] = useState(null);\n const [sendMsgText, setSendMsgText] = useState(null);\n const [feedback, setFeedback] = useState(null);\n const [chatMsg, setChatMsg] = useState(\"Loading...\");\n const [requestorPaymentOptions, setRequestorPaymentOptions] = useState([]);\n const myUserID = globalContext.user.User.Id;\n const [chatUsers, setChatUsers] = useState(null);\n const [donatAmount, setDonatAmount] = useState(0);\n const [isAnonymous, setIsAnonymous] = useState(false);\n const [isCommited, SetIsCommited] = useState(false);\n const [favoriteCompaigns, setFavoriteCompaign] = useState(false);\n const [donatedDetail, setDonatedDetail] = useState({});\n\n useEffect(() => {\n getDonatedCampaignDetails();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n\n\n const getDonatedCampaignDetails = () => {\n debugger\n let serviceParams = {\n api: `${API.GET_DONATED_CAMPAIGN_DETAIL}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n debugger\n setDonatedDetail(result.Data);\n if (result.Data.length && result.Data[0].CampaignId) {\n getCampaignDetails(result.Data[0].CampaignId)\n }\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n const getCampaignDetails = (campaingId) => {\n let serviceParams = {\n api: `${API.CAMPAIGN_DETAILS}${campaingId}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n result.Data.Resources.map((item) => { item.selectedQuantity = item.PendingQuantity; return null; });\n setCampaignData(result.Data);\n setTimeout(() => { }, 500);\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n\n const handleDonationConfirm = (id, quantity) => {\n let _resources = [];\n\n let serviceParams = {\n api: API.CONFIRM_DONAR_DONATION,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n \"Id\": id,\n \"Quantity\": quantity\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n getDonatedCampaignDetails();\n if (result && result.Status.StatusId === 1) {\n \n globalContext.setNotifications({\n type: \"success\",\n text: result ? result.Status.Message : \"Donation Confirmed.\",\n });\n } else {\n \n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"Error in confirming Donation.\",\n });\n }\n });\n }\n\n const handleQuantityChange = (quantity, index) => {\n debugger\n let _data = JSON.parse(JSON.stringify(donatedDetail));\n _data[index].Quantity = parseInt(quantity);\n setDonatedDetail(_data);\n }\n\n\n return (\n
    \n \n {campaignData&&donatedDetail&&globalContext.user.User.Id &&donatedDetail.length&&donatedDetail[0].DonorId==globalContext.user.User.Id &&
    \n
    \n\n
    \n
    \n
    \n
    \n
    EveryHumanNeeds Use Tips
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n\n
    \n
    \n\n
    \n

    {campaignData.Name}

    \n
    \n\n
    \n
    \n {/* Campaign Status */}\n
    \n
    \n
    \n

    Campaign Status:

    \n
    \n
    \n \n
    \n
    \n
    \n\n {/* Campaign End Date */}\n
    \n
    \n
    \n

    End date:

    \n
    \n
    \n

    {moment(new Date(campaignData.EndDate)).format('MM/DD/YYYY')}

    \n
    \n
    \n
    \n\n {/* Tips */}\n {/*
    \n
    \n

    Tips:

    \n \n
    \n
    */}\n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {campaignData && campaignData.IsPrivacy ?\n
    \n

    {getLetterInitials(campaignData.RequesterName)}

    \n
    :\n campaignData && campaignData.IsVideoAsCampaignImage ?\n campaignData && parseInt(campaignData.VideoLink) ? (\n \n ) : \n :\n }\n\n\n
    \n
    \n
    \n

    \n Share Story \n

    \n
    \n
    \n
      \n
    • \n } />\n
    • \n
    • \n } />\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n

    Recipient:

    \n

    \n
      \n
    • \n {campaignData && getRecipientName(campaignData.RequesterName, campaignData.RequesterUserName, campaignData.IsPrivacy, campaignData.IsRecipientAnonymous)[0]}\n
    • \n
    \n
    \n
    \n {/*
    \n
    \n

    \n

    Campaign Story:

    \n

    \n
      \n
    • \n {campaignData?.Story}\n
    • \n
    \n
    \n
    */}\n
    \n
    \n\n
      \n \n {donatedDetail && donatedDetail.length?\n
    • Thank you for your commitment and generious donation for {campaignData.Name} campaign.
    • :null}\n \n \n
    \n
      \n \n {donatedDetail && donatedDetail.length&& !donatedDetail.find(x=>x.IsConfirmed)?\n
    • Please confirm your donation.
    • :null}\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n \n \n \n\n \n \n \n \n \n \n {donatedDetail && donatedDetail.length ? (\n\n donatedDetail.map((item, index) => {\n debugger\n var resourceDetail = campaignData && campaignData.Resources ? campaignData.Resources.find(x => x.Id == item.CampaignResourceId) : null;\n if (resourceDetail) {\n return (\n\n \n\n \n\n \n \n\n\n \n )\n }\n\n }\n )\n ) : (\n \n \n \n )}\n\n \n
    Resource NameDonated Quantity
    \n

    {resourceDetail.Name}

    \n
    \n {(resourceDetail.IsCash === false ?\n !item.IsConfirmed?\n {\n debugger\n handleQuantityChange(event.target.value,index);\n }} >\n {Array.from(Array(item.Quantity).keys()).map(count => ())}\n :item.Quantity\n :\n !item.IsConfirmed?\n <>\n
    \n $\n { \n debugger\n handleQuantityChange(event.target.value,index);\n }} />\n\n
    \n :'$'+item.Quantity\n )}\n
    \n {\n handleDonationConfirm(item.ChatResourceId, item.Quantity)\n }}\n style={{ margin: \"0rem .5rem\" }}\n >\n {item.IsConfirmed?'Confirmed':'Confirm'}\n\n \n
    \n No Resources Found\n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    }\n\n
    \n );\n}\n\nexport default withAPIRequest(DonationConfirmationCampaign);","/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useContext, useEffect, useState } from 'react';\nimport './DonorCampaigns.scss';\nimport { API, AXIOS_METHOD_TYPES } from '../../../configs/constants';\nimport { withAPIRequest } from '../../../components/HOC/withAPIRequest';\nimport { GlobalContext } from '../../../context/GlobalContext';\nimport { Link } from 'react-router-dom';\nimport Meta from \"../../common/meta/Meta\";\n\nconst DonorCampaigns = (props) => {\n\n\tconst globalContext = useContext(GlobalContext);\n\tconst [CampaignList, setCampaignList] = useState();\n\n\tuseEffect(() => {\n\t\tgetDonorDetails();\n\t}, []);\n\n\tconst getDonorDetails = () => {\n\t\tlet userId = globalContext.user.User.Id;\n\t\tlet serviceParams = {\n\t\t\tapi: `${API.DONOR_CAMPAIGN}?userId=${userId}`,\n\t\t\tmethod: AXIOS_METHOD_TYPES.GET,\n\t\t}\n\t\tglobalContext.setLoading(true);\n\t\tprops.commonAPIRequest(serviceParams, (result) => {\n\t\t\tglobalContext.setLoading(false);\n\t\t\tif (result) {\n\t\t\t\tsetCampaignList(result.Data.CampaignResources)\n\t\t\t}\n\t\t});\n\t}\n\n\treturn (\n\t\t
    \n\t\t\t\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Donor Campaigns

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{CampaignList && CampaignList.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn ( \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    Donation AmountCampaign NameCampaign StatusAction

    {item.ResourceName}

    {item.CampaignName}

    {item.CampaignStatusName}

    View
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t)\n}\n\nexport default withAPIRequest(DonorCampaigns);\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable jsx-a11y/img-redundant-alt */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { sortByName,getLetterInitials,getRecipientName } from '../../../configs/utility';\nimport moment from \"moment\";\nimport \"./DonorAllCampaigns.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst DonorAllCampaigns = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [campaigns, setcampaigns] = useState([]);\n const [initialCampaign, setInitialCampaign] = useState([]);\n const [resources, setResources] = useState([]);\n const [favouriteCompaigns, setFavouriteCompaigns] = useState([]);\n let history = useHistory();\n\n useEffect(() => {\n setcampaigns([]);\n let params = { Status: [2] }\n callRequesterAPI(params);\n getResource();\n getFavouriteCampaignDetails();\n }, []);\n\n const callRequesterAPI = (params) => {\n let serviceParams = {\n api: API.CAMPAIGNS,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setcampaigns(result.Data ? sortByName(result.Data, true) : []);\n setInitialCampaign(result.Data ? sortByName(result.Data, true) : []);\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n const getResource = () => {\n let serviceParams = {\n api: API.CAMPAIGN_UNIQUE_RESOURCES,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n setResources(result.Data)\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n const getFavouriteCampaignDetails = () => {\n \n let serviceParams = {\n api: `${API.GET_FAVOURITE_CAMPAIGN}?campaignId=`,\n method: AXIOS_METHOD_TYPES.GET\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n // // debugger\n if (result && result.Status.StatusId === 1) {\n setFavouriteCompaigns(result.Data)\n }\n },true);\n };\n\n\n\n const filterResource = async (name) => {\n // // debugger\n if(name === 'all'){\n setcampaigns(initialCampaign);\n }\n else if(name === 'favourite'){\n const campaigns = []\n await initialCampaign.forEach((item) => {\n // // debugger\n if (favouriteCompaigns&&favouriteCompaigns.filter(x=>x.CampaignId==item.Id&&x.IsFavourite).length)\n {\n campaigns.push(item);\n }\n \n });\n const uniqueCampaigns = await [...new Set(campaigns.map(item => item))];\n setcampaigns(uniqueCampaigns)\n }\n else {\n const campaigns = []\n await initialCampaign.forEach((item) => {\n let arr = item.Resources;\n arr.forEach((e, index) => {\n if (e.Name === name) campaigns.push(item);\n })\n });\n const uniqueCampaigns = await [...new Set(campaigns.map(item => item))];\n setcampaigns(uniqueCampaigns)\n }\n };\n\n return (\n
    \n \n
    \n \n
    \n \n

    Featured Campaigns

    \n
    \n
    \n {globalContext.featuredCampaings.map((campaign, index) => (\n
    \n
    \n
    \n {campaign.IsPrivacy?\n

    {getLetterInitials(campaign.RequesterName)}

    :\n \n \"default-image\"\n }\n
    \n
    \n
    \n

    \n \n {campaign.Name}\n \n

    \n \n View Details\n
    \n
    \n
    \n
    \n ))}\n
    \n
    \n
    \n \n \n \"default-image\"\n \n
    \n
    \n
    \n
    \n

    All Campaigns

    \n
    \n {\n e.preventDefault();\n filterResource(e.target.value);\n }}\n >\n \n \n \n \n \n \n {resources.map((item, index) => (\n <>\n \n \n ))}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n {campaigns.map(({\n IsFeatured,\n RequesterName,\n AddedByName,\n AddedOn,\n Name,\n StatusName,\n EndDate,\n Resources,\n Id,\n IsPrivacy,\n RequesterUserName,\n IsRecipientAnonymous\n }, index) => (\n \n \n \n \n \n \n \n \n \n ))}\n \n
    Recipient NameCampaign NameResourcesCampaign StatusEnding dateAction
    \n x.CampaignId==Id&&x.IsFavourite).length?\"fa-heart\":\"fa-heart-o\")} \n style={{}}\n />\n \n

    \n {getRecipientName(RequesterName,RequesterUserName,IsPrivacy,IsRecipientAnonymous)[0]}\n

    \n
    \n
    \n
    \n

    {Name}

    \n
    \n
    \n {IsFeatured && \n {\"Featured\"}\n }\n
    \n
    \n
    \n
    \n {Resources && Resources\n ? Resources.map(\n (resource, index) => (\n \n {resource.Name}\n \n )\n )\n : \"N/A\"}\n
    \n
    \n

    {StatusName}

    \n
    \n

    \n {moment(EndDate).format(\"MM/DD/YYYY\")}\n

    \n
    \n \n history.push(\n `/donor-campaign-details/${Id}`\n )\n }\n >\n View Details >>\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\n\nexport default withAPIRequest(DonorAllCampaigns);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport \"./DonorSettings.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst DonorSettings = ( props ) => {\n\n let history = useHistory();\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Donor Settings

    \n
    \n
    \n
    \n
      \n
    • \n history.push(\"/change-email\")}\n >\n
      \n
      \n \n \n \n

      Change Email

      \n
      \n
      \n
    \n \n
  • \n history.push(\"/change-password\")}\n >\n
    \n
    \n \n \n \n

    Change Password

    \n
    \n
    \n
  • \n \n
  • \n history.push(\"/change-personal-details\")}\n >\n
    \n
    \n \n \n \n

    Change Profile Image

    \n
    \n
    \n
  • \n \n \n
    \n
    \n
    \n \n \n \n );\n}\n\nexport default DonorSettings;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable jsx-a11y/alt-text */\nimport React , { useContext , useEffect , useState } from \"react\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport Vimeo from \"@u-wave/react-vimeo\";\nimport \"./CampaignDetails.scss\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API , AXIOS_METHOD_TYPES , RESOURCE_STATUS, TIPS } from \"../../../configs/constants\";\nimport { useParams } from \"react-router\";\nimport { FacebookShareButton , TwitterShareButton } from 'react-share';\nimport { getCampaignShareableURL,getLetterInitials,getRecipientName } from '../../../configs/utility';\nimport Meta from \"../../common/meta/Meta\";\nimport moment from 'moment';\n\nconst CampaignDetails = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [campaignData, setCampaignData] = useState(null);\n const { id } = useParams();\n\n useEffect(() => {\n getCampaignDetails();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const getCampaignDetails = () => {\n let serviceParams = {\n api: `${API.PUBLIC_CAMPAIGN_DETAILS}${id}`,\n method: AXIOS_METHOD_TYPES.GET,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n setCampaignData(result.Data);\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: result ? result.Status.Message : \"No data found\",\n });\n });\n };\n\n return (\n
    \n \n {campaignData &&
    \n
    \n\n
    \n
    \n
    \n
    \n
    EveryHumanNeeds Use Tips
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n

    {campaignData.Name} Details

    \n
    \n\n
    \n
    \n {/* Campaign Status */}\n
    \n
    \n
    \n

    Campaign Status:

    \n
    \n
    \n \n
    \n
    \n
    \n\n {/* Campaign End Date */}\n
    \n
    \n
    \n

    End date:

    \n
    \n
    \n

    {moment(new Date(campaignData.EndDate)).format('MM/DD/YYYY')}

    \n
    \n
    \n
    \n\n {/* Tips */}\n {/*
    \n
    \n

    Tips:

    \n \n
    \n
    */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {campaignData && campaignData.IsPrivacy ?\n
    \n

    {getLetterInitials(campaignData.RequesterName)}

    \n
    \n :\n campaignData && campaignData.IsVideoAsCampaignImage ?\n campaignData && parseInt(campaignData.VideoLink) \n ? (\n \n ) : \n :\n \n }\n
    \n
    \n
    \n

    \n Share Story \n

    \n
    \n
    \n
      \n
    • \n } />\n
    • \n
    • \n } />\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n

    Recipient:

    \n

    \n
      \n
    • \n {campaignData&&getRecipientName(campaignData.RequesterName,campaignData.RequesterUserName,campaignData.IsPrivacy,campaignData.IsRecipientAnonymous)[0]}\n
    • \n
    \n
    \n
    \n
    \n
    \n

    \n

    Campaign Story:

    \n

    \n
      \n
    • \n { campaignData?.Story }\n
    • \n
    \n
    \n
    \n
    \n
    \n {campaignData && parseInt(campaignData.VideoLink) && !campaignData.IsVideoAsCampaignImage ? (\n \n ) : null}\n
    \n
    \n
    \n
    \n

    Resources Needed

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n {campaignData && campaignData.Resources ? (\n campaignData.Resources.map((item, index) => (\n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    Resource NameResource Details Status
    \n

    {item.Name}

    \n
    \n

    {item.Description}

    \n
    \n

    \n { RESOURCE_STATUS.find( ( status ) => status.id === item.Status ).text || 'N/A' }\n

    \n
    \n No Resources Found\n
    \n
    \n
    \n
    \n { campaignData?.OtherFiles?.length > 0 ?
    \n
    \n

    Files

    \n { campaignData?.OtherFiles\n ? campaignData?.OtherFiles.map( ( file , index ) => (\n \n

    { file ? file.Title : \"\" }

    \n \n View\n \n
    \n ) )\n : null }\n
    : null }\n
    \n
    \n
    \n
    \n
    \n
    \n }\n \n );\n};\n\nexport default withAPIRequest(CampaignDetails);\n","import React from \"react\";\nimport \"./Campaigns.scss\";\n\nfunction Page(props) {\n return
    TBD
    ;\n}\n\nexport default Page;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useContext } from \"react\";\nimport \"./ChangeEmail.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\n\nconst ChangeEmail = (props) => {\n const globalContext = useContext(GlobalContext);\n let history = useHistory();\n\n const changeEmailHandler = async (params) => {\n let serviceParams = {\n api: API.CHANGE_EMAIL,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n localStorage.setItem(\"user\", null);\n globalContext.setLoggedInUser(null);\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: \"Your Email is updated.\",\n });\n history.push(\"/login\");\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result ? result.Status.Message : \"Error while updating email\",\n });\n }\n });\n };\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Change Email

    \n
    \n {\n changeEmailHandler(values);\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n
    \n
    \n \n {errors.Email && touched.Email && errors.Email}\n
    \n\n
    \n \n {errors.Password && touched.Password && errors.Password}\n
    \n
    \n
    \n \n history.goBack()}\n >\n Back\n
    \n
    \n
    \n
    \n \n )}\n \n
    \n
    \n
    \n \n );\n};\n\nexport default withAPIRequest(ChangeEmail);\n","import React, { useContext } from \"react\";\nimport \"./ChangePassword.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\n\nconst ChangePassword = (props) => {\n const globalContext = useContext(GlobalContext);\n let history = useHistory();\n\n const changePasswordHandler = async (params) => {\n let serviceParams = {\n api: API.CHANGE_PASSWORD,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n await globalContext.setLoading(true);\n await props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n localStorage.setItem(\"user\", null);\n globalContext.setLoggedInUser(null);\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: \"Your password is updated.\",\n });\n history.push('/login')\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result\n ? result.Status.Message\n : \"Error while updating password.\",\n });\n }\n });\n };\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Change Password

    \n
    \n {\n delete values[\"ConfirmPassword\"];\n changePasswordHandler(values);\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n
    \n
    \n \n {errors.OldPassword &&\n touched.OldPassword &&\n errors.OldPassword}\n
    \n
    \n \n {errors.NewPassword &&\n touched.NewPassword &&\n errors.NewPassword}\n \n
    \n
    \n \n {errors.ConfirmPassword &&\n touched.ConfirmPassword &&\n errors.ConfirmPassword}\n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n );\n};\n\nexport default withAPIRequest(ChangePassword);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport \"./Chat.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst Chat = ( props ) => {\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Recipient Campaign Details

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

    Chat List

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Alex Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Sandra Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Lisa Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Group Text{\" \"}\n Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Jennifer{\" \"}\n Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Travis Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n Lisa Dec 25\n
    \n

    \n Test, which is a new approach to have all\n solutions astrology under one roof.\n

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

    Title here

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n

    \n Test which is a new approach to have all\n solutions\n

    \n \n {\" \"}\n 11:01 AM | June 9\n \n
    \n
    \n \n \n \n Delete\n \n \n Edit\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n Test which is a new approach to have all solutions\n

    \n \n {\" \"}\n 11:01 AM | June 9\n \n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n

    Test, which is a new approach to have

    \n \n {\" \"}\n 11:01 AM | Yesterday\n \n
    \n
    \n
    \n
    \n
    \n

    Apollo University, Delhi, India Test

    \n 11:01 AM | Today\n
    \n
    \n
    \n
    \n {\" \"}\n {\" \"}\n
    \n
    \n
    \n

    \n We work directly with our designers and\n suppliers, and sell direct to you, which means\n quality, exclusive products, at a price anyone\n can afford.\n

    \n \n {\" \"}\n 11:01 AM | Today\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n );\n}\n\nexport default Chat;\n","import React, { useContext } from \"react\";\nimport \"./ForgotPassword.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport Meta from \"../../common/meta/Meta\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\n\nconst ForgotPassword = ( props ) => {\n\n const globalContext = useContext(GlobalContext);\n let history = useHistory();\n\n const callForgotPasswordAPI = (params) => {\n let serviceParams = {\n api: API.FORGOT_PASSWORD,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n history.goBack();\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: \"Please check your inbox to reset password\",\n });\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Forgot password

    \n
    \n
    \n {\n callForgotPasswordAPI(values);\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n
    \n
    \n \n {errors.Email && touched.Email && errors.Email}\n
    \n
    \n
    \n \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n );\n}\n\nexport default withAPIRequest( ForgotPassword );\n","import React from \"react\";\nimport \"./Notifications.scss\";\nimport Meta from \"../../common/meta/Meta\";\n\nconst Notifications = ( props ) => {\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Notification

    \n
    \n
      \n
    • \n
      \n

      \n \n Jesse Davidson {\" \"}\n commented on your videos{\" \"}\n

      \n
      \n
      Just Now
      \n
        \n
      • \n \n
      • \n
      • \n \n
      • \n
      \n
      \n
      \n
    • \n
    • \n
      \n

      \n \n Jesse Davidson {\" \"}\n commented on your videos{\" \"}\n

      \n
      \n
      Just Now
      \n
        \n
      • \n \n
      • \n
      • \n \n
      • \n
      \n
      \n
      \n
    • \n
    • \n
      \n

      \n \n Jesse Davidson {\" \"}\n commented on your videos{\" \"}\n

      \n
      \n
      Just Now
      \n
        \n
      • \n \n
      • \n
      • \n \n
      • \n
      \n
      \n
      \n
    • \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default Notifications;\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useContext, useEffect, useState } from \"react\";\nimport \"./ResetPassword.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { Form, Formik } from \"formik\";\nimport Meta from \"../../common/meta/Meta\";\nimport * as Yup from \"yup\";\n\nfunction Page(props) {\n const globalContext = useContext(GlobalContext);\n const [token, setToken] = useState(null);\n\n let history = useHistory();\n\n useEffect(() => {\n let _token = props.location.search.split(\"t=\")[1];\n if (_token) setToken(_token);\n }, []);\n\n const callResetPasswordAPI = (params) => {\n let serviceParams = {\n api: API.RESET_PASSWORD,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n history.push(\"/login\");\n globalContext.setNotifications({\n id: Math.random(),\n type: \"success\",\n text: \"Your password is updated.\",\n });\n } else {\n globalContext.setNotifications({\n id: Math.random(),\n type: \"error\",\n text: result.Status.Message,\n });\n }\n }\n });\n };\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Reset password

    \n
    \n
    \n {\n delete values[\"ConfirmPassword\"];\n values[\"PasswordResetCode\"] = token;\n callResetPasswordAPI(values);\n setSubmitting(false);\n }}\n >\n {({ values, errors, touched, handleChange, handleBlur }) => (\n
    \n
    \n
    \n {/* */}\n \n {errors.NewPassword &&\n touched.NewPassword &&\n errors.NewPassword}\n
    \n
    \n {/* */}\n \n {errors.ConfirmPassword &&\n touched.ConfirmPassword &&\n errors.ConfirmPassword}\n
    \n
    \n
    \n \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n );\n}\n\nexport default withAPIRequest(Page);\n","import React , { useContext , useEffect , useState } from \"react\";\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport { API , AXIOS_METHOD_TYPES } from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\nimport Meta from \"../../common/meta/Meta\";\nimport moment from \"moment\";\nimport Pagination from \"react-js-pagination\";\nimport \"./AdminResources.scss\";\n\nconst AdminResource = (props) => {\n\n const globalContext = useContext(GlobalContext);\n const [resources, setResources] = useState([]);\n const [initialResourceList, setInitialResourceList] = useState([]);\n const [activePage, setActivePage] = useState(1);\n const [totalPages, setTotalPages] = useState(1);\n const [totalItems, setTotalItems] = useState(1);\n const [pageSize, setPageSize] = useState(0);\n const [filterId, setFilterId] = useState(null);\n\n useEffect(() => {\n if(globalContext.user.User.Role === 2 ){\n getResource(1);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }\n }, []);\n\n const getResource = (pageNumber) => {\n let serviceParams = {\n api: `${API.RESOURCES}${pageNumber}`,\n method: AXIOS_METHOD_TYPES.GET\n };\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, ({ Status: { StatusId, Message }, Data: { ResultData, TotalPages, RowCount, PageSize } }) => {\n globalContext.setLoading(false);\n if (ResultData && StatusId === 1) {\n filterId ? filterResource( filterId ) : setResources( ResultData );\n setInitialResourceList(ResultData);\n setTotalPages(TotalPages);\n setTotalItems(RowCount);\n setPageSize(PageSize);\n return;\n }\n globalContext.setNotifications({\n type: \"error\",\n text: ResultData ? Message : \"Data not found\",\n });\n });\n };\n const handlePageChange = (pageNumber) => {\n setActivePage(pageNumber)\n getResource(pageNumber);\n }\n\n const filterResource = (id) => {\n setFilterId( id );\n setResources(id === \"All\" ? initialResourceList : initialResourceList.filter(({ ResourceStatus }) => ResourceStatus === id));\n };\n\n return (\n
    \n \n { globalContext.user.User.Role === 2 ?
    \n
    \n
    \n
    \n

    List of Resources

    \n {\n e.preventDefault();\n filterResource(e.target.value === \"All\" ? \"All\" : parseInt(e.target.value));\n }}\n >\n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n {resources.map(\n (\n {\n ResourceName,\n CampaignName,\n RequesterName,\n ResourceStatusName,\n CampaignEndDate,\n },\n index\n ) => (\n \n \n \n \n \n \n \n )\n )}\n \n
    Resources nameCampaign nameRecipient NameStatusCampaign Date
    \n

    {ResourceName}

    \n
    \n

    {CampaignName}

    \n
    \n

    {RequesterName}

    \n
    \n

    {ResourceStatusName}

    \n
    \n

    \n {moment(CampaignEndDate).format(\"MM/DD/YYYY\")}\n

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    :
    Access Deined
    }\n
    \n );\n};\n\nexport default withAPIRequest(AdminResource);","import React from 'react';\nimport {\n // Route, \n Switch\n} from 'react-router-dom';\n\nimport Login from \"./pages/common/login/Login.jsx\";\nimport Home from './pages/common/home/Home';\nimport PrivateRoute from './components/PrivateRoute';\nimport PublicRoute from './components/PublicRoute';\nimport SuperadminCreateUser from './pages/superadmin/superadmin-create-user/SuperadminCreateUser';\nimport SuperAdminSettings from './pages/superadmin/superadmin-settings/SuperAdminSettings';\nimport SuperadminEditUser from './pages/superadmin/superadmin-edit-user/SuperadminEditUser';\nimport SuperadminUsers from './pages/superadmin/superadmin-users/SuperadminUsers';\nimport AdminCampaignDetails from './pages/admin/admin-campaign-details/AdminCampaignDetails';\nimport AdminCampaigns from './pages/admin/admin-campaigns/AdminCampaigns';\nimport AdminCreateCampaign from './pages/admin/admin-create-campaign/AdminCreateCampaign';\nimport AdminEditCampaign from './pages/admin/admin-edit-campaign/AdminEditCampaign';\nimport AdminCreateRequester from './pages/admin/admin-create-requester/AdminCreateRequester';\nimport AdminDashboard from './pages/admin/admin-dashboard/AdminDashboard';\nimport AdminDonorDetails from './pages/admin/admin-donor-details/AdminDonorDetails';\nimport AdminDonors from './pages/admin/admin-donors/AdminDonors';\nimport AdminRequesterDetails from './pages/admin/admin-requester-details/AdminRequesterDetails';\nimport AdminRequesters from './pages/admin/admin-requesters/AdminRequesters';\nimport AdminSettings from './pages/admin/admin-settings/AdminSettings';\nimport AdminCampaignDashboard from './pages/admin/admin-campaign-dashboard/AdminCampaignDashboard';\nimport AdminDonotionSummary from './pages/admin/admin-donotion-summary/AdminDonotionSummary';\nimport AdminCampaignDonorDetails from './pages/admin/admin-campaign-donor-details/AdminCampaignDonorDetails';\nimport RequesterDashboard from './pages/requester/requester-dashboard/RequesterDashboard'\nimport RequesterSettings from './pages/requester/requester-settings/RequesterSettings'\nimport RequesterCampaigns from './pages/requester/requester-campaigns/RequesterCampaigns'\nimport RequesterCampaignDetails from './pages/requester/requester-campaign-details/RequesterCampaignDetails'\nimport RequesterDonorSummary from './pages/requester/requester-donor-summary/RequesterDonorSummary'\nimport RequesterDonorDetails from './pages/requester/requester-donor-details/RequesterDonorDetails'\nimport RequesterPaymentOptions from './pages/requester/requester-payment-options/RequesterPaymentOptions'\nimport DonorRegister from './pages/donor/donor-register/DonorRegister';\nimport DonorRegisterConfirmed from './pages/donor/donor-register-confirmed/DonorRegisterConfirmed';\nimport DonorCampaignDetails from './pages/donor/donor-campaign-details/DonorCampaignDetails';\nimport DonationConfirmationCampaign from './pages/donor/donation-confirmations-campaign/DonationConfirmationCampaign';\nimport DonorCampaigns from './pages/donor/donor-campaigns/DonorCampaigns';\nimport DonorAllCampaings from './pages/donor/donor-all-campaigns/DonorAllCampaings'\nimport DonorSettings from './pages/donor/donor-settings/DonorSettings';\n// import AboutUs from './pages/common/about-us/AboutUs';\nimport CampaignDetails from './pages/common/campaign-details/CampaignDetails';\nimport Campaigns from './pages/common/campaigns/Campaigns';\nimport ChangeEmail from './pages/common/change-email/ChangeEmail';\nimport ChangePassword from './pages/common/change-password/ChangePassword';\nimport Chat from './pages/common/chat/Chat';\nimport ForgotPassword from './pages/common/forgot-password/ForgotPassword';\nimport Notifications from './pages/common/notifications/Notifications';\nimport ResetPassword from './pages/common/reset-password/ResetPassword';\nimport AdminResources from './pages/admin/admin-resources/AdminResources.jsx';\nimport ChangePersonalDetails from './pages/common/change-personal-details/ChangePersonalDetails';\nimport Policies from './pages/common/policies/Policies';\n\n// import { setLogout } from './utils';\n\nconst mainRoutes = [\n {\n path: '/',\n component: Home,\n requireAuth: false\n },\n {\n path: '/login',\n component: Login,\n requireAuth: false\n },\n {\n path: '/login/:token',\n component: Login,\n requireAuth: false\n },\n // {\n // path: '/about-us',\n // component: AboutUs,\n // requireAuth: false\n // },\n {\n path: '/campaign-details/:id',\n component: CampaignDetails,\n requireAuth: false\n },\n {\n path: '/campaigns',\n component: Campaigns,\n requireAuth: false\n },\n {\n path: '/change-email',\n component: ChangeEmail,\n requireAuth: false\n },\n {\n path: '/change-password',\n component: ChangePassword,\n requireAuth: false\n },\n {\n path: '/chat',\n component: Chat,\n requireAuth: false\n },\n {\n path: '/forgot-password',\n component: ForgotPassword,\n requireAuth: false\n },\n {\n path: '/notifications',\n component: Notifications,\n requireAuth: true\n },\n {\n path: '/reset-password',\n component: ResetPassword,\n requireAuth: false\n },\n {\n path: '/requester-dashboard',\n component: RequesterDashboard,\n requireAuth: true\n },\n {\n path: '/requester-settings',\n component: RequesterSettings,\n requireAuth: true\n },\n {\n path: '/requester-campaigns',\n component: RequesterCampaigns,\n requireAuth: true\n },\n {\n path: '/requester-campaign-details/:id',\n component: RequesterCampaignDetails,\n requireAuth: true\n },\n {\n path: '/requester-donor-summary',\n component: RequesterDonorSummary,\n requireAuth: true\n },\n {\n path: '/requester-donor-details',\n component: RequesterDonorDetails,\n requireAuth: true\n },\n {\n path: '/requester-payment-options',\n component: RequesterPaymentOptions,\n requireAuth: true\n },\n {\n path: '/superadmin-users',\n component: SuperadminUsers,\n requireAuth: true\n },\n {\n path: '/superadmin-create-user',\n component: SuperadminCreateUser,\n requireAuth: true\n },\n {\n path: '/superadmin-settings',\n component: SuperAdminSettings,\n requireAuth: true\n },\n {\n path: '/superadmin-edit-user/:id',\n component: SuperadminEditUser,\n requireAuth: true\n },\n {\n path: '/admin-dashboard',\n component: AdminDashboard,\n requireAuth: true\n },\n {\n path: '/admin-campaigns',\n component: AdminCampaigns,\n requireAuth: true\n },\n {\n path: '/admin-campaign-details/id/:id',\n component: AdminCampaignDetails,\n requireAuth: true\n },\n {\n path: '/admin-create-campaign',\n component: AdminCreateCampaign,\n requireAuth: true\n },\n {\n path: '/admin-edit-campaign/id/:id',\n component: AdminEditCampaign,\n requireAuth: true\n },\n {\n path: '/admin-requesters',\n component: AdminRequesters,\n requireAuth: true\n },\n {\n path: '/admin-requester-details/id/:id',\n component: AdminRequesterDetails,\n requireAuth: true\n },\n {\n path: '/admin-create-requester',\n component: AdminCreateRequester,\n requireAuth: true\n },\n {\n path: '/admin-donors',\n component: AdminDonors,\n requireAuth: true\n },\n {\n path: '/admin-donor-details/:id',\n component: AdminDonorDetails,\n requireAuth: true\n },\n {\n path: '/admin-settings',\n component: AdminSettings,\n requireAuth: true\n },\n {\n path: '/admin-resources',\n component: AdminResources,\n requireAuth: true\n },\n {\n path: '/admin-campaign-dashboard',\n component: AdminCampaignDashboard,\n requireAuth: true\n },\n {\n path: '/admin-donotion-summary',\n component: AdminDonotionSummary,\n requireAuth: true\n },\n {\n path: '/admin-campaign-donor-details',\n component: AdminCampaignDonorDetails,\n requireAuth: true\n },\n {\n path: '/donor-register',\n component: DonorRegister,\n requireAuth: false\n },\n {\n path: '/donor-register-confirmed',\n component: DonorRegisterConfirmed,\n requireAuth: false\n },\n {\n path: '/donor-campaigns',\n component: DonorCampaigns,\n requireAuth: true\n },\n {\n path: '/donor-campaign-details/:id/:paymentStatus?',\n component: DonorCampaignDetails,\n requireAuth: true\n },\n {\n path: '/donation-confirmations-campaign/:id',\n component: DonationConfirmationCampaign,\n requireAuth: true\n },\n {\n path: '/donor-settings',\n component: DonorSettings,\n requireAuth: true\n },\n {\n path: '/donor-all-campaings',\n component: DonorAllCampaings,\n requireAuth: true\n },\n {\n path: '/change-personal-details',\n component: ChangePersonalDetails,\n requireAuth: true\n },\n {\n path: '/policies/:id',\n component: Policies,\n requireAuth: false\n },\n]\n\nconst prepareRoutes = () => {\n let body = mainRoutes.map((route, index) => {\n if (route.requireAuth) {\n return \n } else {\n return \n }\n })\n\n return body;\n}\n\nexport function AppRoutes(props) {\n return {prepareRoutes()}\n}","import React, { useState, useContext, useEffect } from \"react\";\nimport Uploader from \"../../../components/fileUploader/FileUploader\";\nimport './ChangePersonalDetails.scss';\nimport { GlobalContext } from \"../../../context/GlobalContext\";\nimport {\n API,\n AXIOS_METHOD_TYPES\n} from \"../../../configs/constants\";\nimport { withAPIRequest } from \"../../../components/HOC/withAPIRequest\";\n\nconst ChangePersonalDetails = (props) => {\n const globalContext = useContext(GlobalContext);\n const [images, setImages] = useState([]);\n const [readyToLoadPage, setReadyToLoadPage] = useState(false);\n const isAdmin = globalContext.user.User.Role === 2;\n\n useEffect(() => {\n if (isAdmin && !props.location.state) {\n props.history.push('/login')\n } else {\n setReadyToLoadPage(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n const handleSubmit = (params) => {\n if (images.length) {\n uploadFile((fileUrl) => {\n if (fileUrl) {\n updateProfilePic(fileUrl) // file url\n }\n })\n } else {\n globalContext.setNotifications({\n type: \"warning\",\n text: 'Please select a file'\n });\n }\n }\n\n const uploadFile = (callback) => {\n const formData = new FormData();\n images.forEach((file) => {\n formData.append(file.name, file);\n });\n\n let serviceParams = {\n api: API.FILE_UPLOAD,\n method: AXIOS_METHOD_TYPES.POST,\n params: formData,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n if (result && result.Status.StatusId === 1) {\n callback(result.Data[0].FileUrl);\n } else {\n globalContext.setLoading(false);\n callback(null);\n }\n })\n }\n\n const updateProfilePic = (fileUrl) => {\n let serviceParams = {\n api: API.UPDATE_PROFILE_PIC,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n ProfilePicUrl: fileUrl\n },\n };\n\n if (isAdmin) {\n serviceParams.params.UserId = props.location.state.userId;\n }\n\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result && result.Status.StatusId === 1) {\n // Update local storage value for profile pic\n let _user = JSON.parse(JSON.stringify(globalContext.user));\n _user.User.ProfilePic = fileUrl;\n globalContext.setLoggedInUser(_user)\n\n globalContext.setNotifications({\n type: \"success\",\n text: result.Status.Message\n });\n }\n })\n }\n\n const getPreviewImage = () => {\n if (images.length) {\n return images[0].preview;\n } else {\n return isAdmin ? props.location.state.profilePic : globalContext.user.User.ProfilePic;\n }\n }\n\n return (
    \n {readyToLoadPage &&
    \n
    \n
    \n
    \n

    Change Profile Image

    \n
    \n
    \n
    \n \"profile\"\n
    \n\n
    \n }\n />\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    }\n\n
    );\n}\n\nexport default withAPIRequest(ChangePersonalDetails);","import React from \"react\";\nimport Meta from \"../../common/meta/Meta\";\nimport POLICY_CONTENT from '../../../configs/policies';\nimport { useParams } from \"react-router\";\n\nconst Policies = () => {\n const { id } = useParams();\n\n return (
    \n \n
    \n
    \n
    \n
    \n

    {POLICY_CONTENT[id].title}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    );\n}\n\nexport default Policies;","/* eslint-disable react-hooks/exhaustive-deps */\nimport { useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { GlobalContext } from \"../../context/GlobalContext\";\n\nconst InitialOperations = ({ setAppLoaded }) => {\n const globalContext = useContext(GlobalContext);\n const history = useHistory();\n let logoutTimeout;\n\n useEffect(() => {\n history.listen((location, action) => {\n window.scrollTo(0, 0);\n });\n\n // Set logged in user\n let user = JSON.parse(localStorage.getItem(\"user\"));\n globalContext.setLoggedInUser(user);\n\n // App is ready to load\n setAppLoaded(true);\n autoLogoutInit();\n }, []);\n const autoLogout = () => {\n let currentURL = window.location.hash\n if (currentURL !== '#/' && currentURL !== '#/login' && currentURL !== '#/#latestCampaigns' && !currentURL.includes('#/campaign-details/')) {\n clearLogoutTimeout()\n localStorage.setItem(\"user\", null);\n globalContext.setLoggedInUser(null);\n history.push(\"/\");\n globalContext.setNotifications({\n type: \"success\",\n text: \"Logged out successfully\",\n });\n }\n }\n \n const setLogoutTimeout = () => {\n logoutTimeout = setTimeout(autoLogout, 900000);\n }\n const clearLogoutTimeout = () => {\n if (logoutTimeout) clearTimeout(logoutTimeout);\n }\n \n const resetTimeout = () => {\n clearLogoutTimeout();\n setLogoutTimeout();\n }\n \n const autoLogoutInit = () => {\n const events = [\n \"load\",\n \"mousemove\",\n \"mousedown\",\n \"click\",\n \"scroll\",\n \"keypress\"\n ];\n \n events.map((event) => {\n window.addEventListener(event, resetTimeout);\n return null;\n })\n setLogoutTimeout()\n }\n return null;\n};\n\nexport default InitialOperations;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport \"./Header.scss\";\n\nconst Header = ({\n isSticky,\n setShowSidebarAction,\n isLogin,\n userType,\n globalContext,\n showSidebar\n}) => {\n const user = globalContext.user;\n let history = useHistory();\n\n const handleClickBurgurIcon = (e) => {\n e.preventDefault();\n setShowSidebarAction();\n };\n\n const goToHome = () => {\n /* if (globalContext.user) {\n let role = user.User.Role;\n switch (role) {\n case 1:\n history.push(\"/superadmin-users\");\n break;\n case 2:\n history.push(\"/admin-dashboard\");\n break;\n case 3:\n history.push(\"/donor-all-campaings\");\n break;\n case 4:\n history.push(\"/requester-dashboard\");\n break;\n default:\n }\n } else {*/\n history.push(\"/\");\n //}\n };\n\n const logoutHandler = () => {\n localStorage.setItem(\"user\", null);\n globalContext.setLoggedInUser(null);\n history.push(\"/\");\n globalContext.setNotifications({\n type: \"success\",\n text: \"Logged out successfully\",\n });\n };\n\n return (\n <>\n
    \n {/*Header Start*/}\n \n {/* Menu Start */}\n
    \n
    \n
    \n
    \n
    \n {isLogin && (\n
    \n {\" \"}\n {!showSidebar ? '☰' :
    }{\" \"}\n
    \n )}\n
    \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n
    \n
    \n \n {isLogin && (\n
    \n \n {user.User.Role==3? \n \n \"Profile\n \n :null}\n
    \n
    {user.User.FirstName}
    \n \n \n Logout\n \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n {/* Menu End */}\n \n {/*Header End*/}\n \n
    \n \n );\n};\n\nexport default Header;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable jsx-a11y/alt-text */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useContext, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport \"./Header.scss\";\nimport { withAPIRequest } from \"../../components/HOC/withAPIRequest\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../configs/constants\";\nimport {setHomepagePublicMenuMobile} from '../../configs/utility';\nimport { GlobalContext } from \"../../context/GlobalContext\";\nimport { HashLink } from \"react-router-hash-link\";\nimport { useState } from \"react\";\n\nfunction Header(props) {\n const globalContext = useContext(GlobalContext);\n\n const [showSidebar, setShowSidebar] = useState(false);\n\n useEffect(() => {\n setHomepagePublicMenuMobile();\n callRequesterAPI({ PageSize: 6 });\n }, []);\n\n const callRequesterAPI = (params) => {\n let serviceParams = {\n api: API.PUBLIC_FEATURED_CAMPAIGNS,\n method: AXIOS_METHOD_TYPES.POST,\n params: params,\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n globalContext.setFeaturedCampaings(result.Data ? result.Data : []);\n }\n }\n }, true);\n };\n\n const handleClickBurgurIcon = (e) => {\n e.preventDefault();\n setShowSidebar(!showSidebar);\n };\n\n return (\n
    \n {/*Header Start*/}\n
    \n {/* Menu Start */}\n
    \n
    \n
    \n \n
    \n
    \n
    \n {(\n
    \n {\" \"}\n {!showSidebar ? (\n \n ☰\n \n ) : (\n \n
    \n
    \n )}{\" \"}\n
    \n )}\n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n \n
    {\" \"}\n {/* //.main-menu */}\n \n \n Want To Give\n \n
    \n
    \n
    \n \n {/*
    */}\n
    \n
    \n
    \n {/* Menu End */}\n \n {/*Header End*/}\n \n );\n}\n\nexport default withAPIRequest(Header);\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom\";\nimport nav from \"../../configs/nav.json\";\nimport \"./Sidebar.scss\";\nimport { userType } from \"../../configs/utility\";\nimport { GlobalContext } from \"../../context/GlobalContext\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nfunction Sidebar({ showSidebar = true, setShowSidebarAction }) {\n const [menuItems, setMenuItems] = React.useState([]);\n const [isMobile, setIsMobile] = React.useState([]);\n\n const globalContext = React.useContext(GlobalContext);\n const location = useLocation();\n\n React.useEffect(() => {\n window.addEventListener('resize', () => {\n window.innerWidth < 768 ? setIsMobile(true) : setIsMobile(false);\n })\n }, []);\n\n React.useEffect(() => {\n if (globalContext.user) {\n const _menuItems = nav[userType(globalContext.user.User.Role)];\n setMenuItems(_menuItems !== undefined ? _menuItems : []);\n }\n }, [location, globalContext.user]);\n\n return (\n {isMobile && setShowSidebarAction(!showSidebar)}}\n className={`sidebar-nav ${showSidebar ? \"addSidebar\" : \"\"}`}\n >\n {menuItems.length > 0 && (\n
      \n {menuItems.map((item) => (\n
    • \n {item.text}\n
    • \n ))}\n
    \n )}\n \n );\n}\n\nexport default Sidebar;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\n/* eslint-disable jsx-a11y/alt-text */\nimport React,{useState,useEffect} from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { HashLink } from \"react-router-hash-link\";\n\nimport { API, AXIOS_METHOD_TYPES } from \"../../configs/constants\";\nimport { withAPIRequest } from \"../../components/HOC/withAPIRequest\";\n\nfunction Footer(props) {\n const [version,setVersion]=useState();\n useEffect(()=>{\n callLatestVersionAPI();\n },[null])\n const {showContactUs}=props\n\n const currentYear=new Date().getFullYear();\n\n const aboutUsTap = () => {\n window.scroll({\n top: 800,\n left: 0,\n behavior: \"smooth\",\n });\n }\n\n \n const callLatestVersionAPI = (params) => {\n let serviceParams = {\n api: API.GET_LATEST_VERSION,\n method: AXIOS_METHOD_TYPES.GET\n };\n\n props.commonAPIRequest(serviceParams, (result) => {\n if (result) {\n if (result.Status.StatusId === 1) {\n if(result.Data&&result.Data.Name){\n var previousItem =localStorage.getItem(\"version\")\n localStorage.setItem(\"version\",result.Data.Name)\n if(previousItem&&previousItem!=result.Data.Name){\n window.location.reload(true);\n }\n }\n setVersion(result.Data)\n } else {\n }\n }\n },true);\n };\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n

    About Us

    \n

    \n ​​Connecting generosity with those in need of a little grace and resources.\n

    \n
    \n {/*

    Address

    \n */}\n
    \n
    \n

    Quick Links

    \n
      \n
    • \n Home\n
    • \n
    • \n About us\n
    • \n
    • \n \n Featured Stories\n \n
    • \n
    • \n {\n e.preventDefault()\n showContactUs(true)\n }\n }>Contact us\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    © {currentYear} All Rights Reserved. {version&&version.Name?\"Version \"+version.Name:\"\"}

    \n
    \n
    \n
    \n
      \n
    • \n Privacy policy\n
    • \n
    • \n Terms of use\n
    • \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default withAPIRequest(Footer);\n","import { useEffect, useState,useContext,useRef } from \"react\";\nimport { Form, Formik } from \"formik\";\nimport * as Yup from \"yup\";\nimport \"./ContactUs.scss\";\nimport { API, AXIOS_METHOD_TYPES } from \"../../configs/constants\";\nimport { withAPIRequest } from \"../HOC/withAPIRequest\";\nimport { GlobalContext } from \"../../context/GlobalContext\";\n\nimport PropTypes from \"prop-types\";\nconst ContactUsPopup = (props) => {\n const [show, setShow] = useState(false);\n const formRef=useRef();\n\n const closeHandler = (e) => {\n setShow(false);\n props.onClose(false);\n formRef.current?.resetForm()\n };\n\n useEffect(() => {\n setShow(props.show);\n // debugger\n }, [props.show]);\n\n\n const globalContext = useContext(GlobalContext);\n const [email, setEmail] = useState(\"\");\n\n const callLoginAPI = (params, resetForm) => {\n // debugger\n let serviceParams = {\n api: API.PUBLIC_CONTACT_US,\n method: AXIOS_METHOD_TYPES.POST,\n params: {\n Name: params.Name,\n Email: params.Email,\n Phone: params.Phone,\n Subject: params.Subject,\n Message: params.Message,\n },\n };\n\n globalContext.setLoading(true);\n props.commonAPIRequest(serviceParams, (result) => {\n globalContext.setLoading(false);\n if (result) {\n if (result.Status.StatusId === 1) {\n resetForm();\n globalContext.setNotifications({\n type: \"success\",\n text: result.Status.Message,\n });\n setShow(false);\n props.onClose(false);\n }\n }\n });\n };\n\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    Get In Touch
    \n
    \n
    \n
    \n \n ×\n \n
    \n \n
    \n
    \n
    \n
    \n

    Someone will respond to you within 48 hours.

    \n\n
    \n
    \n * required\n
    \n
    \n {\n callLoginAPI(values, resetForm);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleBlur,\n handleChange,\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n \n \n\n
    \n
    \n \n \n {errors.Email && errors.Email==\"Invalid email\" && touched.Email && (\n {errors.Email}\n )}\n
    \n
    \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n};\n\nContactUsPopup.propTypes = {\n title: PropTypes.string.isRequired,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired\n};\n\nexport default withAPIRequest(ContactUsPopup);\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useState, useEffect, useRef, useContext } from \"react\";\nimport \"./Layout.scss\";\nimport Header from \"../header/Header.jsx\";\nimport HeaderPublic from \"../header/HeaderPublic\";\nimport Sidebar from \"../sidebar/Sidebar.jsx\";\nimport Footer from \"../footer/Footer.jsx\";\nimport { useLocation } from \"react-router-dom\";\nimport { GlobalContext } from \"../../context/GlobalContext\";\nimport { userType } from \"../../configs/utility\";\nimport ContactUsPopUp from \"../contact-us-popup/Contact\"\n\nfunction Layout({ children }) {\n const [showSidebar, setShowSidebar] = useState(false);\n const [showPublicHeader, setShowPublicHeader] = useState(true);\n const [isSticky, setSticky] = useState(false);\n const [visibility, setVisibility] = useState(false);\n\n\n const globalContext = useContext(GlobalContext);\n const location = useLocation();\n const ref = useRef();\n const _userType =\n globalContext.user && userType(globalContext.user.User.Role);\n\n const handleScroll = () => {\n if (ref.current) {\n setSticky(ref.current.getBoundingClientRect().top < 0);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"scroll\", handleScroll);\n\n return () => {\n window.removeEventListener(\"scroll\", () => handleScroll);\n };\n }, []);\n\n useEffect(() => {\n if ([\"/\", \"/about-us\"].includes(location.pathname)) {\n setShowPublicHeader(true);\n } else {\n setShowPublicHeader(false);\n }\n }, [location.pathname]);\n\n const setShowSidebarAction = () => {\n setShowSidebar(!showSidebar);\n };\n\n const scrollUp = () => {\n window.scroll({\n top: 0,\n left: 0,\n behavior: \"smooth\",\n });\n };\n\n const popupCloseHandler = () => {\n setVisibility(false);\n };\n\n return (\n
    \n {showPublicHeader ? (\n \n ) : (\n \n )}\n \n \n \n \n {globalContext.user && (\n \n )}\n {children}\n
    \n